]> git.saurik.com Git - wxWidgets.git/blob - configure
make log messages more readable
[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-postscript use wxPostscriptDC device context (default for gtk+)
1036 --enable-prologio not available; see contrib
1037 --enable-resources not available; see contrib
1038 --enable-clipboard use wxClipboard class
1039 --enable-dnd use Drag'n'Drop classes
1040 --enable-metafile use win32 metafiles
1041 --enable-controls use all usual controls
1042 --enable-accel use accelerators
1043 --enable-button use wxButton class
1044 --enable-bmpbutton use wxBitmapButton class
1045 --enable-bmpcombobox use wxBitmapComboBox class
1046 --enable-calendar use wxCalendarCtrl class
1047 --enable-caret use wxCaret class
1048 --enable-checkbox use wxCheckBox class
1049 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1050 --enable-choice use wxChoice class
1051 --enable-choicebook use wxChoicebook class
1052 --enable-colourpicker use wxColourPickerCtrl class
1053 --enable-combobox use wxComboBox class
1054 --enable-comboctrl use wxComboCtrl class
1055 --enable-datepick use wxDatePickerCtrl class
1056 --enable-dirpicker use wxDirPickerCtrl class
1057 --enable-display use wxDisplay class
1058 --enable-filepicker use wxFilePickerCtrl class
1059 --enable-fontpicker use wxFontPickerCtrl class
1060 --enable-gauge use wxGauge class
1061 --enable-grid use wxGrid class
1062 --enable-dataviewctrl, use wxDataViewCtrl class
1063 --enable-hyperlink use wxHyperlinkCtrl class
1064 --enable-imaglist use wxImageList class
1065 --enable-listbook use wxListbook class
1066 --enable-listbox use wxListBox class
1067 --enable-listctrl use wxListCtrl class
1068 --enable-notebook use wxNotebook class
1069 --enable-odcombobox use wxOwnerDrawnComboBox class
1070 --enable-radiobox use wxRadioBox class
1071 --enable-radiobtn use wxRadioButton class
1072 --enable-sash use wxSashWindow class
1073 --enable-scrollbar use wxScrollBar class and scrollable windows
1074 --enable-slider use wxSlider class
1075 --enable-spinbtn use wxSpinButton class
1076 --enable-spinctrl use wxSpinCtrl class
1077 --enable-splitter use wxSplitterWindow class
1078 --enable-statbmp use wxStaticBitmap class
1079 --enable-statbox use wxStaticBox class
1080 --enable-statline use wxStaticLine class
1081 --enable-stattext use wxStaticText class
1082 --enable-statusbar use wxStatusBar class
1083 --enable-tabdialog use wxTabControl class
1084 --enable-textctrl use wxTextCtrl class
1085 --enable-togglebtn use wxToggleButton class
1086 --enable-toolbar use wxToolBar class
1087 --enable-tbarnative use native wxToolBar class
1088 --enable-treebook use wxTreebook class
1089 --enable-toolbook use wxToolbook class
1090 --enable-treectrl use wxTreeCtrl class
1091 --enable-tipwindow use wxTipWindow class
1092 --enable-popupwin use wxPopUpWindow class
1093 --enable-commondlg use all common dialogs
1094 --enable-choicedlg use wxChoiceDialog
1095 --enable-coldlg use wxColourDialog
1096 --enable-filedlg use wxFileDialog
1097 --enable-finddlg use wxFindReplaceDialog
1098 --enable-fontdlg use wxFontDialog
1099 --enable-dirdlg use wxDirDialog
1100 --enable-msgdlg use wxMessageDialog
1101 --enable-numberdlg use wxNumberEntryDialog
1102 --enable-splash use wxSplashScreen
1103 --enable-textdlg use wxTextDialog
1104 --enable-tipdlg use startup tips
1105 --enable-progressdlg use wxProgressDialog
1106 --enable-wizarddlg use wxWizard
1107 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1108 --enable-miniframe use wxMiniFrame class
1109 --enable-tooltips use wxToolTip class
1110 --enable-splines use spline drawing code
1111 --enable-mousewheel use mousewheel
1112 --enable-validators use wxValidator and derived classes
1113 --enable-busyinfo use wxBusyInfo
1114 --enable-joystick use wxJoystick
1115 --enable-metafiles use wxMetaFile (Win32 only)
1116 --enable-dragimage use wxDragImage
1117 --enable-accessibility enable accessibility support
1118 --enable-dccache cache temporary wxDC objects (Win32 only)
1119 --enable-palette use wxPalette class
1120 --enable-image use wxImage class
1121 --enable-gif use gif images (GIF file format)
1122 --enable-pcx use pcx images (PCX file format)
1123 --enable-iff use iff images (IFF file format)
1124 --enable-pnm use pnm images (PNM file format)
1125 --enable-xpm use xpm images (XPM file format)
1126 --enable-icocur use Windows ICO and CUR formats
1127 --enable-official_build official build of wxWidgets (win32 DLL only)
1128 --enable-vendor=VENDOR vendor name (win32 DLL only)
1129 --disable-largefile omit support for large files
1130 --disable-gtktest do not try to compile and run a test GTK+ program
1131 --disable-gtktest Do not try to compile and run a test GTK program
1132 --disable-sdltest Do not try to compile and run a test SDL program
1133 --enable-omf use OMF object format (OS/2)
1134 --disable-dependency-tracking
1135 don't use dependency tracking even if the compiler
1136 can
1137 --disable-precomp-headers
1138 don't use precompiled headers even if compiler can
1139
1140 Optional Packages:
1141 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1142 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1143 --without-subdirs don't generate makefiles for samples/demos/...
1144 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1145 --with-motif use Motif/Lesstif
1146 --with-mac use Mac OS X
1147 --with-cocoa use Cocoa
1148 --with-wine use Wine
1149 --with-msw use MS-Windows
1150 --with-pm use OS/2 Presentation Manager
1151 --with-mgl use SciTech MGL
1152 --with-directfb use DirectFB
1153 --with-microwin use MicroWindows
1154 --with-x11 use X11
1155 --with-libpng use libpng (PNG image format)
1156 --with-libjpeg use libjpeg (JPEG file format)
1157 --with-libtiff use libtiff (TIFF file format)
1158 --with-libxpm use libxpm (XPM file format)
1159 --with-libmspack use libmspack (CHM help files loading)
1160 --with-sdl use SDL for audio on Unix
1161 --with-gnomeprint use GNOME print for printing under GNOME
1162 --with-gnomevfs use GNOME VFS for associating MIME types
1163 --with-hildon use Hildon framework for Nokia 770
1164 --with-opengl use OpenGL (or Mesa)
1165 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1166 --with-regex enable support for wxRegEx class
1167 --with-zlib use zlib for LZW compression
1168 --with-odbc use the IODBC and wxODBC classes
1169 --with-expat enable XML support using expat parser
1170 --with-flavour=NAME specify a name to identify this build
1171 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1172 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1173 --with-x use the X Window System
1174 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1175 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1176 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1177 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1178 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1179
1180 Some influential environment variables:
1181 CC C compiler command
1182 CFLAGS C compiler flags
1183 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1184 nonstandard directory <lib dir>
1185 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1186 headers in a nonstandard directory <include dir>
1187 CPP C preprocessor
1188 CXX C++ compiler command
1189 CXXFLAGS C++ compiler flags
1190 CXXCPP C++ preprocessor
1191 PKG_CONFIG path to pkg-config utility
1192 DIRECTFB_CFLAGS
1193 C compiler flags for DIRECTFB, overriding pkg-config
1194 DIRECTFB_LIBS
1195 linker flags for DIRECTFB, overriding pkg-config
1196 PANGOX_CFLAGS
1197 C compiler flags for PANGOX, overriding pkg-config
1198 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1199 PANGOFT2_CFLAGS
1200 C compiler flags for PANGOFT2, overriding pkg-config
1201 PANGOFT2_LIBS
1202 linker flags for PANGOFT2, overriding pkg-config
1203 PANGOXFT_CFLAGS
1204 C compiler flags for PANGOXFT, overriding pkg-config
1205 PANGOXFT_LIBS
1206 linker flags for PANGOXFT, overriding pkg-config
1207 LIBGNOMEPRINTUI_CFLAGS
1208 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1209 LIBGNOMEPRINTUI_LIBS
1210 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1211 GNOMEVFS_CFLAGS
1212 C compiler flags for GNOMEVFS, overriding pkg-config
1213 GNOMEVFS_LIBS
1214 linker flags for GNOMEVFS, overriding pkg-config
1215 HILDON_CFLAGS
1216 C compiler flags for HILDON, overriding pkg-config
1217 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1218 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1219 GST_LIBS linker flags for GST, overriding pkg-config
1220
1221 Use these variables to override the choices made by `configure' or to help
1222 it to find libraries and programs with nonstandard names/locations.
1223
1224 Report bugs to <wx-dev@lists.wxwidgets.org>.
1225 _ACEOF
1226 fi
1227
1228 if test "$ac_init_help" = "recursive"; then
1229 # If there are subdirs, report their specific --help.
1230 ac_popdir=`pwd`
1231 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1232 test -d $ac_dir || continue
1233 ac_builddir=.
1234
1235 if test "$ac_dir" != .; then
1236 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1237 # A "../" for each directory in $ac_dir_suffix.
1238 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1239 else
1240 ac_dir_suffix= ac_top_builddir=
1241 fi
1242
1243 case $srcdir in
1244 .) # No --srcdir option. We are building in place.
1245 ac_srcdir=.
1246 if test -z "$ac_top_builddir"; then
1247 ac_top_srcdir=.
1248 else
1249 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1250 fi ;;
1251 [\\/]* | ?:[\\/]* ) # Absolute path.
1252 ac_srcdir=$srcdir$ac_dir_suffix;
1253 ac_top_srcdir=$srcdir ;;
1254 *) # Relative path.
1255 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1256 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1257 esac
1258
1259 # Do not use `cd foo && pwd` to compute absolute paths, because
1260 # the directories may not exist.
1261 case `pwd` in
1262 .) ac_abs_builddir="$ac_dir";;
1263 *)
1264 case "$ac_dir" in
1265 .) ac_abs_builddir=`pwd`;;
1266 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1267 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1268 esac;;
1269 esac
1270 case $ac_abs_builddir in
1271 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1272 *)
1273 case ${ac_top_builddir}. in
1274 .) ac_abs_top_builddir=$ac_abs_builddir;;
1275 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1276 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1277 esac;;
1278 esac
1279 case $ac_abs_builddir in
1280 .) ac_abs_srcdir=$ac_srcdir;;
1281 *)
1282 case $ac_srcdir in
1283 .) ac_abs_srcdir=$ac_abs_builddir;;
1284 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1285 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1286 esac;;
1287 esac
1288 case $ac_abs_builddir in
1289 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1290 *)
1291 case $ac_top_srcdir in
1292 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1293 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1294 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1295 esac;;
1296 esac
1297
1298 cd $ac_dir
1299 # Check for guested configure; otherwise get Cygnus style configure.
1300 if test -f $ac_srcdir/configure.gnu; then
1301 echo
1302 $SHELL $ac_srcdir/configure.gnu --help=recursive
1303 elif test -f $ac_srcdir/configure; then
1304 echo
1305 $SHELL $ac_srcdir/configure --help=recursive
1306 elif test -f $ac_srcdir/configure.ac ||
1307 test -f $ac_srcdir/configure.in; then
1308 echo
1309 $ac_configure --help
1310 else
1311 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1312 fi
1313 cd "$ac_popdir"
1314 done
1315 fi
1316
1317 test -n "$ac_init_help" && exit 0
1318 if $ac_init_version; then
1319 cat <<\_ACEOF
1320 wxWidgets configure 2.7.0
1321 generated by GNU Autoconf 2.59
1322
1323 Copyright (C) 2003 Free Software Foundation, Inc.
1324 This configure script is free software; the Free Software Foundation
1325 gives unlimited permission to copy, distribute and modify it.
1326 _ACEOF
1327 exit 0
1328 fi
1329 exec 5>config.log
1330 cat >&5 <<_ACEOF
1331 This file contains any messages produced by compilers while
1332 running configure, to aid debugging if configure makes a mistake.
1333
1334 It was created by wxWidgets $as_me 2.7.0, which was
1335 generated by GNU Autoconf 2.59. Invocation command line was
1336
1337 $ $0 $@
1338
1339 _ACEOF
1340 {
1341 cat <<_ASUNAME
1342 ## --------- ##
1343 ## Platform. ##
1344 ## --------- ##
1345
1346 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1347 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1348 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1349 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1350 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1351
1352 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1353 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1354
1355 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1356 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1357 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1358 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1359 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1360 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1361 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1362
1363 _ASUNAME
1364
1365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1366 for as_dir in $PATH
1367 do
1368 IFS=$as_save_IFS
1369 test -z "$as_dir" && as_dir=.
1370 echo "PATH: $as_dir"
1371 done
1372
1373 } >&5
1374
1375 cat >&5 <<_ACEOF
1376
1377
1378 ## ----------- ##
1379 ## Core tests. ##
1380 ## ----------- ##
1381
1382 _ACEOF
1383
1384
1385 # Keep a trace of the command line.
1386 # Strip out --no-create and --no-recursion so they do not pile up.
1387 # Strip out --silent because we don't want to record it for future runs.
1388 # Also quote any args containing shell meta-characters.
1389 # Make two passes to allow for proper duplicate-argument suppression.
1390 ac_configure_args=
1391 ac_configure_args0=
1392 ac_configure_args1=
1393 ac_sep=
1394 ac_must_keep_next=false
1395 for ac_pass in 1 2
1396 do
1397 for ac_arg
1398 do
1399 case $ac_arg in
1400 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1401 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1402 | -silent | --silent | --silen | --sile | --sil)
1403 continue ;;
1404 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1405 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1406 esac
1407 case $ac_pass in
1408 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1409 2)
1410 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1411 if test $ac_must_keep_next = true; then
1412 ac_must_keep_next=false # Got value, back to normal.
1413 else
1414 case $ac_arg in
1415 *=* | --config-cache | -C | -disable-* | --disable-* \
1416 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1417 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1418 | -with-* | --with-* | -without-* | --without-* | --x)
1419 case "$ac_configure_args0 " in
1420 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1421 esac
1422 ;;
1423 -* ) ac_must_keep_next=true ;;
1424 esac
1425 fi
1426 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1427 # Get rid of the leading space.
1428 ac_sep=" "
1429 ;;
1430 esac
1431 done
1432 done
1433 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1434 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1435
1436 # When interrupted or exit'd, cleanup temporary files, and complete
1437 # config.log. We remove comments because anyway the quotes in there
1438 # would cause problems or look ugly.
1439 # WARNING: Be sure not to use single quotes in there, as some shells,
1440 # such as our DU 5.0 friend, will then `close' the trap.
1441 trap 'exit_status=$?
1442 # Save into config.log some information that might help in debugging.
1443 {
1444 echo
1445
1446 cat <<\_ASBOX
1447 ## ---------------- ##
1448 ## Cache variables. ##
1449 ## ---------------- ##
1450 _ASBOX
1451 echo
1452 # The following way of writing the cache mishandles newlines in values,
1453 {
1454 (set) 2>&1 |
1455 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1456 *ac_space=\ *)
1457 sed -n \
1458 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1459 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1460 ;;
1461 *)
1462 sed -n \
1463 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1464 ;;
1465 esac;
1466 }
1467 echo
1468
1469 cat <<\_ASBOX
1470 ## ----------------- ##
1471 ## Output variables. ##
1472 ## ----------------- ##
1473 _ASBOX
1474 echo
1475 for ac_var in $ac_subst_vars
1476 do
1477 eval ac_val=$`echo $ac_var`
1478 echo "$ac_var='"'"'$ac_val'"'"'"
1479 done | sort
1480 echo
1481
1482 if test -n "$ac_subst_files"; then
1483 cat <<\_ASBOX
1484 ## ------------- ##
1485 ## Output files. ##
1486 ## ------------- ##
1487 _ASBOX
1488 echo
1489 for ac_var in $ac_subst_files
1490 do
1491 eval ac_val=$`echo $ac_var`
1492 echo "$ac_var='"'"'$ac_val'"'"'"
1493 done | sort
1494 echo
1495 fi
1496
1497 if test -s confdefs.h; then
1498 cat <<\_ASBOX
1499 ## ----------- ##
1500 ## confdefs.h. ##
1501 ## ----------- ##
1502 _ASBOX
1503 echo
1504 sed "/^$/d" confdefs.h | sort
1505 echo
1506 fi
1507 test "$ac_signal" != 0 &&
1508 echo "$as_me: caught signal $ac_signal"
1509 echo "$as_me: exit $exit_status"
1510 } >&5
1511 rm -f core *.core &&
1512 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1513 exit $exit_status
1514 ' 0
1515 for ac_signal in 1 2 13 15; do
1516 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1517 done
1518 ac_signal=0
1519
1520 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1521 rm -rf conftest* confdefs.h
1522 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1523 echo >confdefs.h
1524
1525 # Predefined preprocessor variables.
1526
1527 cat >>confdefs.h <<_ACEOF
1528 #define PACKAGE_NAME "$PACKAGE_NAME"
1529 _ACEOF
1530
1531
1532 cat >>confdefs.h <<_ACEOF
1533 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1534 _ACEOF
1535
1536
1537 cat >>confdefs.h <<_ACEOF
1538 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1539 _ACEOF
1540
1541
1542 cat >>confdefs.h <<_ACEOF
1543 #define PACKAGE_STRING "$PACKAGE_STRING"
1544 _ACEOF
1545
1546
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1549 _ACEOF
1550
1551
1552 # Let the site file select an alternate cache file if it wants to.
1553 # Prefer explicitly selected file to automatically selected ones.
1554 if test -z "$CONFIG_SITE"; then
1555 if test "x$prefix" != xNONE; then
1556 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1557 else
1558 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1559 fi
1560 fi
1561 for ac_site_file in $CONFIG_SITE; do
1562 if test -r "$ac_site_file"; then
1563 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1564 echo "$as_me: loading site script $ac_site_file" >&6;}
1565 sed 's/^/| /' "$ac_site_file" >&5
1566 . "$ac_site_file"
1567 fi
1568 done
1569
1570 if test -r "$cache_file"; then
1571 # Some versions of bash will fail to source /dev/null (special
1572 # files actually), so we avoid doing that.
1573 if test -f "$cache_file"; then
1574 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1575 echo "$as_me: loading cache $cache_file" >&6;}
1576 case $cache_file in
1577 [\\/]* | ?:[\\/]* ) . $cache_file;;
1578 *) . ./$cache_file;;
1579 esac
1580 fi
1581 else
1582 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1583 echo "$as_me: creating cache $cache_file" >&6;}
1584 >$cache_file
1585 fi
1586
1587 # Check that the precious variables saved in the cache have kept the same
1588 # value.
1589 ac_cache_corrupted=false
1590 for ac_var in `(set) 2>&1 |
1591 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1592 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1593 eval ac_new_set=\$ac_env_${ac_var}_set
1594 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1595 eval ac_new_val="\$ac_env_${ac_var}_value"
1596 case $ac_old_set,$ac_new_set in
1597 set,)
1598 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1599 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1600 ac_cache_corrupted=: ;;
1601 ,set)
1602 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1603 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1604 ac_cache_corrupted=: ;;
1605 ,);;
1606 *)
1607 if test "x$ac_old_val" != "x$ac_new_val"; then
1608 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1609 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1610 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1611 echo "$as_me: former value: $ac_old_val" >&2;}
1612 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1613 echo "$as_me: current value: $ac_new_val" >&2;}
1614 ac_cache_corrupted=:
1615 fi;;
1616 esac
1617 # Pass precious variables to config.status.
1618 if test "$ac_new_set" = set; then
1619 case $ac_new_val in
1620 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1621 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1622 *) ac_arg=$ac_var=$ac_new_val ;;
1623 esac
1624 case " $ac_configure_args " in
1625 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1626 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1627 esac
1628 fi
1629 done
1630 if $ac_cache_corrupted; then
1631 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1632 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1633 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1634 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1635 { (exit 1); exit 1; }; }
1636 fi
1637
1638 ac_ext=c
1639 ac_cpp='$CPP $CPPFLAGS'
1640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1643
1644
1645
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 ac_aux_dir=
1674 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1675 if test -f $ac_dir/install-sh; then
1676 ac_aux_dir=$ac_dir
1677 ac_install_sh="$ac_aux_dir/install-sh -c"
1678 break
1679 elif test -f $ac_dir/install.sh; then
1680 ac_aux_dir=$ac_dir
1681 ac_install_sh="$ac_aux_dir/install.sh -c"
1682 break
1683 elif test -f $ac_dir/shtool; then
1684 ac_aux_dir=$ac_dir
1685 ac_install_sh="$ac_aux_dir/shtool install -c"
1686 break
1687 fi
1688 done
1689 if test -z "$ac_aux_dir"; then
1690 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1691 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1692 { (exit 1); exit 1; }; }
1693 fi
1694 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1695 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1696 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1697
1698 # Make sure we can run config.sub.
1699 $ac_config_sub sun4 >/dev/null 2>&1 ||
1700 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1701 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1702 { (exit 1); exit 1; }; }
1703
1704 echo "$as_me:$LINENO: checking build system type" >&5
1705 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1706 if test "${ac_cv_build+set}" = set; then
1707 echo $ECHO_N "(cached) $ECHO_C" >&6
1708 else
1709 ac_cv_build_alias=$build_alias
1710 test -z "$ac_cv_build_alias" &&
1711 ac_cv_build_alias=`$ac_config_guess`
1712 test -z "$ac_cv_build_alias" &&
1713 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1714 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1715 { (exit 1); exit 1; }; }
1716 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1717 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1718 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1719 { (exit 1); exit 1; }; }
1720
1721 fi
1722 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1723 echo "${ECHO_T}$ac_cv_build" >&6
1724 build=$ac_cv_build
1725 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1726 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1727 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1728
1729
1730 echo "$as_me:$LINENO: checking host system type" >&5
1731 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1732 if test "${ac_cv_host+set}" = set; then
1733 echo $ECHO_N "(cached) $ECHO_C" >&6
1734 else
1735 ac_cv_host_alias=$host_alias
1736 test -z "$ac_cv_host_alias" &&
1737 ac_cv_host_alias=$ac_cv_build_alias
1738 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1739 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1740 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1741 { (exit 1); exit 1; }; }
1742
1743 fi
1744 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1745 echo "${ECHO_T}$ac_cv_host" >&6
1746 host=$ac_cv_host
1747 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1748 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1749 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1750
1751
1752 echo "$as_me:$LINENO: checking target system type" >&5
1753 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1754 if test "${ac_cv_target+set}" = set; then
1755 echo $ECHO_N "(cached) $ECHO_C" >&6
1756 else
1757 ac_cv_target_alias=$target_alias
1758 test "x$ac_cv_target_alias" = "x" &&
1759 ac_cv_target_alias=$ac_cv_host_alias
1760 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1761 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1762 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1763 { (exit 1); exit 1; }; }
1764
1765 fi
1766 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1767 echo "${ECHO_T}$ac_cv_target" >&6
1768 target=$ac_cv_target
1769 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1770 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1771 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1772
1773
1774 # The aliases save the names the user supplied, while $host etc.
1775 # will get canonicalized.
1776 test -n "$target_alias" &&
1777 test "$program_prefix$program_suffix$program_transform_name" = \
1778 NONENONEs,x,x, &&
1779 program_prefix=${target_alias}-
1780
1781
1782
1783 wx_major_version_number=2
1784 wx_minor_version_number=7
1785 wx_release_number=0
1786 wx_subrelease_number=1
1787
1788 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1789 WX_VERSION=$WX_RELEASE.$wx_release_number
1790 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1791
1792 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1793
1794
1795
1796
1797 USE_UNIX=1
1798 USE_OS2=0
1799 USE_WIN32=0
1800 USE_DOS=0
1801 USE_BEOS=0
1802 USE_MAC=0
1803
1804 USE_AIX=
1805 USE_BSD= USE_DARWIN= USE_FREEBSD=
1806 USE_GNU= USE_HPUX=
1807 USE_LINUX=
1808 USE_NETBSD=
1809 USE_OPENBSD=
1810 USE_OSF= USE_SGI=
1811 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1812 USE_ULTRIX=
1813 USE_UNIXWARE=
1814
1815 USE_ALPHA=
1816
1817 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1818
1819 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1820
1821 DEFAULT_wxUSE_COCOA=0
1822 DEFAULT_wxUSE_GTK=0
1823 DEFAULT_wxUSE_MAC=0
1824 DEFAULT_wxUSE_MGL=0
1825 DEFAULT_wxUSE_MICROWIN=0
1826 DEFAULT_wxUSE_MOTIF=0
1827 DEFAULT_wxUSE_MSW=0
1828 DEFAULT_wxUSE_PM=0
1829 DEFAULT_wxUSE_X11=0
1830 DEFAULT_wxUSE_DFB=0
1831
1832 DEFAULT_DEFAULT_wxUSE_COCOA=0
1833 DEFAULT_DEFAULT_wxUSE_GTK=0
1834 DEFAULT_DEFAULT_wxUSE_MAC=0
1835 DEFAULT_DEFAULT_wxUSE_MGL=0
1836 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1837 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1838 DEFAULT_DEFAULT_wxUSE_MSW=0
1839 DEFAULT_DEFAULT_wxUSE_PM=0
1840 DEFAULT_DEFAULT_wxUSE_X11=0
1841 DEFAULT_DEFAULT_wxUSE_DFB=0
1842
1843 PROGRAM_EXT=
1844 SO_SUFFIX=so
1845 SAMPLES_RPATH_FLAG=
1846 SAMPLES_RPATH_POSTLINK=
1847
1848 DEFAULT_STD_FLAG=yes
1849
1850 case "${host}" in
1851 *-hp-hpux* )
1852 USE_HPUX=1
1853 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1854 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1855 SO_SUFFIX=sl
1856 cat >>confdefs.h <<\_ACEOF
1857 #define __HPUX__ 1
1858 _ACEOF
1859
1860
1861 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1862 ;;
1863 *-*-linux* )
1864 USE_LINUX=1
1865 cat >>confdefs.h <<\_ACEOF
1866 #define __LINUX__ 1
1867 _ACEOF
1868
1869 TMP=`uname -m`
1870 if test "x$TMP" = "xalpha"; then
1871 USE_ALPHA=1
1872 cat >>confdefs.h <<\_ACEOF
1873 #define __ALPHA__ 1
1874 _ACEOF
1875
1876 fi
1877 DEFAULT_DEFAULT_wxUSE_GTK=1
1878 ;;
1879 *-*-gnu* | *-*-k*bsd*-gnu )
1880 USE_GNU=1
1881 TMP=`uname -m`
1882 if test "x$TMP" = "xalpha"; then
1883 USE_ALPHA=1
1884 cat >>confdefs.h <<\_ACEOF
1885 #define __ALPHA__ 1
1886 _ACEOF
1887
1888 fi
1889 DEFAULT_DEFAULT_wxUSE_GTK=1
1890 ;;
1891 *-*-irix5* | *-*-irix6* )
1892 USE_SGI=1
1893 USE_SVR4=1
1894 cat >>confdefs.h <<\_ACEOF
1895 #define __SGI__ 1
1896 _ACEOF
1897
1898 cat >>confdefs.h <<\_ACEOF
1899 #define __SVR4__ 1
1900 _ACEOF
1901
1902 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1903 ;;
1904 *-*-solaris2* )
1905 USE_SUN=1
1906 USE_SOLARIS=1
1907 USE_SVR4=1
1908 cat >>confdefs.h <<\_ACEOF
1909 #define __SUN__ 1
1910 _ACEOF
1911
1912 cat >>confdefs.h <<\_ACEOF
1913 #define __SOLARIS__ 1
1914 _ACEOF
1915
1916 cat >>confdefs.h <<\_ACEOF
1917 #define __SVR4__ 1
1918 _ACEOF
1919
1920 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1921 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1922 ;;
1923 *-*-sunos4* )
1924 USE_SUN=1
1925 USE_SUNOS=1
1926 USE_BSD=1
1927 cat >>confdefs.h <<\_ACEOF
1928 #define __SUN__ 1
1929 _ACEOF
1930
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __SUNOS__ 1
1933 _ACEOF
1934
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __BSD__ 1
1937 _ACEOF
1938
1939 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1940 ;;
1941 *-*-freebsd*)
1942 USE_BSD=1
1943 USE_FREEBSD=1
1944 cat >>confdefs.h <<\_ACEOF
1945 #define __FREEBSD__ 1
1946 _ACEOF
1947
1948 cat >>confdefs.h <<\_ACEOF
1949 #define __BSD__ 1
1950 _ACEOF
1951
1952 DEFAULT_DEFAULT_wxUSE_GTK=1
1953 ;;
1954 *-*-openbsd*|*-*-mirbsd*)
1955 USE_BSD=1
1956 USE_OPENBSD=1
1957 cat >>confdefs.h <<\_ACEOF
1958 #define __OPENBSD__ 1
1959 _ACEOF
1960
1961 cat >>confdefs.h <<\_ACEOF
1962 #define __BSD__ 1
1963 _ACEOF
1964
1965 DEFAULT_DEFAULT_wxUSE_GTK=1
1966 ;;
1967 *-*-netbsd*)
1968 USE_BSD=1
1969 USE_NETBSD=1
1970 cat >>confdefs.h <<\_ACEOF
1971 #define __NETBSD__ 1
1972 _ACEOF
1973
1974 cat >>confdefs.h <<\_ACEOF
1975 #define __BSD__ 1
1976 _ACEOF
1977
1978 DEFAULT_DEFAULT_wxUSE_GTK=1
1979 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1980
1981 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1982 ;;
1983 *-*-osf* )
1984 USE_ALPHA=1
1985 USE_OSF=1
1986 cat >>confdefs.h <<\_ACEOF
1987 #define __ALPHA__ 1
1988 _ACEOF
1989
1990 cat >>confdefs.h <<\_ACEOF
1991 #define __OSF__ 1
1992 _ACEOF
1993
1994 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1995 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1996 ;;
1997 *-*-dgux5* )
1998 USE_ALPHA=1
1999 USE_SVR4=1
2000 cat >>confdefs.h <<\_ACEOF
2001 #define __ALPHA__ 1
2002 _ACEOF
2003
2004 cat >>confdefs.h <<\_ACEOF
2005 #define __SVR4__ 1
2006 _ACEOF
2007
2008 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2009 ;;
2010 *-*-sysv5* )
2011 USE_SYSV=1
2012 USE_SVR4=1
2013 cat >>confdefs.h <<\_ACEOF
2014 #define __SYSV__ 1
2015 _ACEOF
2016
2017 cat >>confdefs.h <<\_ACEOF
2018 #define __SVR4__ 1
2019 _ACEOF
2020
2021 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2022 ;;
2023 *-*-aix* )
2024 USE_AIX=1
2025 USE_SYSV=1
2026 USE_SVR4=1
2027 SO_SUFFIX=a
2028 cat >>confdefs.h <<\_ACEOF
2029 #define __AIX__ 1
2030 _ACEOF
2031
2032 cat >>confdefs.h <<\_ACEOF
2033 #define __SYSV__ 1
2034 _ACEOF
2035
2036 cat >>confdefs.h <<\_ACEOF
2037 #define __SVR4__ 1
2038 _ACEOF
2039
2040 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2041 ;;
2042
2043 *-*-*UnixWare*)
2044 USE_SYSV=1
2045 USE_SVR4=1
2046 USE_UNIXWARE=1
2047 cat >>confdefs.h <<\_ACEOF
2048 #define __UNIXWARE__ 1
2049 _ACEOF
2050
2051 ;;
2052
2053 *-*-cygwin* | *-*-mingw32* )
2054 SO_SUFFIX=dll
2055 PROGRAM_EXT=".exe"
2056 DEFAULT_DEFAULT_wxUSE_MSW=1
2057 DEFAULT_STD_FLAG=no
2058 ;;
2059
2060 *-pc-msdosdjgpp )
2061 USE_UNIX=0
2062 USE_DOS=1
2063 cat >>confdefs.h <<\_ACEOF
2064 #define __DOS__ 1
2065 _ACEOF
2066
2067 PROGRAM_EXT=".exe"
2068 DEFAULT_DEFAULT_wxUSE_MGL=1
2069 ;;
2070
2071 *-pc-os2_emx | *-pc-os2-emx )
2072 cat >>confdefs.h <<\_ACEOF
2073 #define __EMX__ 1
2074 _ACEOF
2075
2076 USE_OS2=1
2077 cat >>confdefs.h <<\_ACEOF
2078 #define __OS2__ 1
2079 _ACEOF
2080
2081 PROGRAM_EXT=".exe"
2082 DEFAULT_DEFAULT_wxUSE_PM=1
2083 CXX=gcc
2084 LDFLAGS="$LDFLAGS -Zcrtdll"
2085 ac_executable_extensions=".exe"
2086 export ac_executable_extensions
2087 ac_save_IFS="$IFS"
2088 IFS='\\'
2089 ac_TEMP_PATH=
2090 for ac_dir in $PATH; do
2091 IFS=$ac_save_IFS
2092 if test -z "$ac_TEMP_PATH"; then
2093 ac_TEMP_PATH="$ac_dir"
2094 else
2095 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2096 fi
2097 done
2098 export PATH="$ac_TEMP_PATH"
2099 unset ac_TEMP_PATH
2100 DEFAULT_STD_FLAG=no
2101 ;;
2102
2103 *-*-darwin* )
2104 USE_BSD=1
2105 USE_DARWIN=1
2106 SO_SUFFIX=dylib
2107 cat >>confdefs.h <<\_ACEOF
2108 #define __BSD__ 1
2109 _ACEOF
2110
2111 cat >>confdefs.h <<\_ACEOF
2112 #define __DARWIN__ 1
2113 _ACEOF
2114
2115 cat >>confdefs.h <<\_ACEOF
2116 #define TARGET_CARBON 1
2117 _ACEOF
2118
2119 DEFAULT_DEFAULT_wxUSE_MAC=1
2120 DEFAULT_STD_FLAG=no
2121 ;;
2122 powerpc-apple-macos* )
2123 USE_UNIX=0
2124 ac_cv_c_bigendian=yes
2125 SO_SUFFIX=shlib
2126 DEFAULT_DEFAULT_wxUSE_MAC=1
2127 DEFAULT_STD_FLAG=no
2128 ;;
2129
2130 *-*-beos* )
2131 USE_BEOS=1
2132 cat >>confdefs.h <<\_ACEOF
2133 #define __BEOS__ 1
2134 _ACEOF
2135
2136 ;;
2137
2138 *)
2139 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2140 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2141 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2142 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2143
2144 DEFAULT_DEFAULT_wxUSE_X11=1
2145 DEFAULT_wxUSE_SHARED=no
2146 esac
2147
2148
2149
2150
2151 wx_arg_cache_file="configarg.cache"
2152 echo "loading argument cache $wx_arg_cache_file"
2153 rm -f ${wx_arg_cache_file}.tmp
2154 touch ${wx_arg_cache_file}.tmp
2155 touch ${wx_arg_cache_file}
2156
2157
2158 DEBUG_CONFIGURE=0
2159 if test $DEBUG_CONFIGURE = 1; then
2160 DEFAULT_wxUSE_UNIVERSAL=no
2161 DEFAULT_wxUSE_STL=no
2162
2163 DEFAULT_wxUSE_NANOX=no
2164
2165 DEFAULT_wxUSE_THREADS=yes
2166
2167 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2168 DEFAULT_wxUSE_OPTIMISE=no
2169 DEFAULT_wxUSE_PROFILE=no
2170 DEFAULT_wxUSE_NO_DEPS=no
2171 DEFAULT_wxUSE_NO_RTTI=no
2172 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2173 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2174 DEFAULT_wxUSE_RPATH=yes
2175 DEFAULT_wxUSE_PERMISSIVE=no
2176 DEFAULT_wxUSE_DEBUG_FLAG=yes
2177 DEFAULT_wxUSE_DEBUG_INFO=yes
2178 DEFAULT_wxUSE_DEBUG_GDB=yes
2179 DEFAULT_wxUSE_MEM_TRACING=no
2180 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2181 DEFAULT_wxUSE_DMALLOC=no
2182 DEFAULT_wxUSE_APPLE_IEEE=no
2183
2184 DEFAULT_wxUSE_EXCEPTIONS=no
2185 DEFAULT_wxUSE_LOG=yes
2186 DEFAULT_wxUSE_LOGWINDOW=no
2187 DEFAULT_wxUSE_LOGGUI=no
2188 DEFAULT_wxUSE_LOGDIALOG=no
2189
2190 DEFAULT_wxUSE_GUI=yes
2191 DEFAULT_wxUSE_CONTROLS=no
2192
2193 DEFAULT_wxUSE_REGEX=no
2194 DEFAULT_wxUSE_XML=no
2195 DEFAULT_wxUSE_EXPAT=no
2196 DEFAULT_wxUSE_ZLIB=no
2197 DEFAULT_wxUSE_LIBPNG=no
2198 DEFAULT_wxUSE_LIBJPEG=no
2199 DEFAULT_wxUSE_LIBTIFF=no
2200 DEFAULT_wxUSE_LIBXPM=no
2201 DEFAULT_wxUSE_LIBMSPACK=no
2202 DEFAULT_wxUSE_LIBSDL=no
2203 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2204 DEFAULT_wxUSE_LIBGNOMEVFS=no
2205 DEFAULT_wxUSE_LIBHILDON=no
2206 DEFAULT_wxUSE_ODBC=no
2207 DEFAULT_wxUSE_OPENGL=no
2208
2209 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2210 DEFAULT_wxUSE_STACKWALKER=no
2211 DEFAULT_wxUSE_DEBUGREPORT=no
2212 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2213 DEFAULT_wxUSE_STD_IOSTREAM=no
2214 DEFAULT_wxUSE_STD_STRING=no
2215 DEFAULT_wxUSE_CMDLINE_PARSER=no
2216 DEFAULT_wxUSE_DATETIME=no
2217 DEFAULT_wxUSE_TIMER=no
2218 DEFAULT_wxUSE_STOPWATCH=no
2219 DEFAULT_wxUSE_FILE=no
2220 DEFAULT_wxUSE_FFILE=no
2221 DEFAULT_wxUSE_STDPATHS=no
2222 DEFAULT_wxUSE_TEXTBUFFER=no
2223 DEFAULT_wxUSE_TEXTFILE=no
2224 DEFAULT_wxUSE_SOUND=no
2225 DEFAULT_wxUSE_MEDIACTRL=no
2226 DEFAULT_wxUSE_GSTREAMER8=no
2227 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2228 DEFAULT_wxUSE_INTL=no
2229 DEFAULT_wxUSE_CONFIG=no
2230 DEFAULT_wxUSE_FONTMAP=no
2231 DEFAULT_wxUSE_STREAMS=no
2232 DEFAULT_wxUSE_SOCKETS=no
2233 DEFAULT_wxUSE_OLE=no
2234 DEFAULT_wxUSE_DATAOBJ=no
2235 DEFAULT_wxUSE_DIALUP_MANAGER=no
2236 DEFAULT_wxUSE_JOYSTICK=no
2237 DEFAULT_wxUSE_DYNLIB_CLASS=no
2238 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2239 DEFAULT_wxUSE_LONGLONG=no
2240 DEFAULT_wxUSE_GEOMETRY=no
2241
2242 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2243 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2244 DEFAULT_wxUSE_POSTSCRIPT=no
2245
2246 DEFAULT_wxUSE_CLIPBOARD=no
2247 DEFAULT_wxUSE_TOOLTIPS=no
2248 DEFAULT_wxUSE_DRAG_AND_DROP=no
2249 DEFAULT_wxUSE_DRAGIMAGE=no
2250 DEFAULT_wxUSE_SPLINES=no
2251 DEFAULT_wxUSE_MOUSEWHEEL=no
2252
2253 DEFAULT_wxUSE_MDI=no
2254 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2255 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2256 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2257
2258 DEFAULT_wxUSE_RESOURCES=no
2259 DEFAULT_wxUSE_CONSTRAINTS=no
2260 DEFAULT_wxUSE_IPC=no
2261 DEFAULT_wxUSE_HELP=no
2262 DEFAULT_wxUSE_MS_HTML_HELP=no
2263 DEFAULT_wxUSE_WXHTML_HELP=no
2264 DEFAULT_wxUSE_TREELAYOUT=no
2265 DEFAULT_wxUSE_METAFILE=no
2266 DEFAULT_wxUSE_MIMETYPE=no
2267 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2268 DEFAULT_wxUSE_PROTOCOL=no
2269 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2270 DEFAULT_wxUSE_PROTOCOL_FTP=no
2271 DEFAULT_wxUSE_PROTOCOL_FILE=no
2272 DEFAULT_wxUSE_URL=no
2273 DEFAULT_wxUSE_VARIANT=no
2274
2275 DEFAULT_wxUSE_COMMONDLGS=no
2276 DEFAULT_wxUSE_CHOICEDLG=no
2277 DEFAULT_wxUSE_COLOURDLG=no
2278 DEFAULT_wxUSE_DIRDLG=no
2279 DEFAULT_wxUSE_FILEDLG=no
2280 DEFAULT_wxUSE_FINDREPLDLG=no
2281 DEFAULT_wxUSE_FONTDLG=no
2282 DEFAULT_wxUSE_MSGDLG=no
2283 DEFAULT_wxUSE_NUMBERDLG=no
2284 DEFAULT_wxUSE_TEXTDLG=no
2285 DEFAULT_wxUSE_SPLASH=no
2286 DEFAULT_wxUSE_STARTUP_TIPS=no
2287 DEFAULT_wxUSE_PROGRESSDLG=no
2288 DEFAULT_wxUSE_WIZARDDLG=no
2289
2290 DEFAULT_wxUSE_MENUS=no
2291 DEFAULT_wxUSE_MINIFRAME=no
2292 DEFAULT_wxUSE_HTML=no
2293 DEFAULT_wxUSE_RICHTEXT=no
2294 DEFAULT_wxUSE_XRC=no
2295 DEFAULT_wxUSE_AUI=no
2296 DEFAULT_wxUSE_WEBKIT=no
2297 DEFAULT_wxUSE_FILESYSTEM=no
2298 DEFAULT_wxUSE_FS_INET=no
2299 DEFAULT_wxUSE_FS_ZIP=no
2300 DEFAULT_wxUSE_BUSYINFO=no
2301 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2302 DEFAULT_wxUSE_ZIPSTREAM=no
2303 DEFAULT_wxUSE_VALIDATORS=no
2304
2305 DEFAULT_wxUSE_ACCEL=no
2306 DEFAULT_wxUSE_BUTTON=no
2307 DEFAULT_wxUSE_BMPBUTTON=no
2308 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2309 DEFAULT_wxUSE_CALCTRL=no
2310 DEFAULT_wxUSE_CARET=no
2311 DEFAULT_wxUSE_CHECKBOX=no
2312 DEFAULT_wxUSE_CHECKLST=no
2313 DEFAULT_wxUSE_CHOICE=no
2314 DEFAULT_wxUSE_CHOICEBOOK=no
2315 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2316 DEFAULT_wxUSE_COMBOBOX=no
2317 DEFAULT_wxUSE_COMBOCTRL=no
2318 DEFAULT_wxUSE_DATEPICKCTRL=no
2319 DEFAULT_wxUSE_DISPLAY=no
2320 DEFAULT_wxUSE_DIRPICKERCTRL=no
2321 DEFAULT_wxUSE_FILEPICKERCTRL=no
2322 DEFAULT_wxUSE_FONTPICKERCTRL=no
2323 DEFAULT_wxUSE_GAUGE=no
2324 DEFAULT_wxUSE_GRID=no
2325 DEFAULT_wxUSE_HYPERLINKCTRL=no
2326 DEFAULT_wxUSE_DATAVIEWCTRL=no
2327 DEFAULT_wxUSE_IMAGLIST=no
2328 DEFAULT_wxUSE_LISTBOOK=no
2329 DEFAULT_wxUSE_LISTBOX=no
2330 DEFAULT_wxUSE_LISTCTRL=no
2331 DEFAULT_wxUSE_NOTEBOOK=no
2332 DEFAULT_wxUSE_ODCOMBOBOX=no
2333 DEFAULT_wxUSE_RADIOBOX=no
2334 DEFAULT_wxUSE_RADIOBTN=no
2335 DEFAULT_wxUSE_SASH=no
2336 DEFAULT_wxUSE_SCROLLBAR=no
2337 DEFAULT_wxUSE_SLIDER=no
2338 DEFAULT_wxUSE_SPINBTN=no
2339 DEFAULT_wxUSE_SPINCTRL=no
2340 DEFAULT_wxUSE_SPLITTER=no
2341 DEFAULT_wxUSE_STATBMP=no
2342 DEFAULT_wxUSE_STATBOX=no
2343 DEFAULT_wxUSE_STATLINE=no
2344 DEFAULT_wxUSE_STATTEXT=no
2345 DEFAULT_wxUSE_STATUSBAR=yes
2346 DEFAULT_wxUSE_TAB_DIALOG=no
2347 DEFAULT_wxUSE_TEXTCTRL=no
2348 DEFAULT_wxUSE_TOGGLEBTN=no
2349 DEFAULT_wxUSE_TOOLBAR=no
2350 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2351 DEFAULT_wxUSE_TREEBOOK=no
2352 DEFAULT_wxUSE_TOOLBOOK=no
2353 DEFAULT_wxUSE_TREECTRL=no
2354 DEFAULT_wxUSE_POPUPWIN=no
2355 DEFAULT_wxUSE_TIPWINDOW=no
2356
2357 DEFAULT_wxUSE_UNICODE=no
2358 DEFAULT_wxUSE_UNICODE_MSLU=no
2359 DEFAULT_wxUSE_WCSRTOMBS=no
2360
2361 DEFAULT_wxUSE_PALETTE=no
2362 DEFAULT_wxUSE_IMAGE=no
2363 DEFAULT_wxUSE_GIF=no
2364 DEFAULT_wxUSE_PCX=no
2365 DEFAULT_wxUSE_PNM=no
2366 DEFAULT_wxUSE_IFF=no
2367 DEFAULT_wxUSE_XPM=no
2368 DEFAULT_wxUSE_ICO_CUR=no
2369 DEFAULT_wxUSE_ACCESSIBILITY=no
2370
2371 DEFAULT_wxUSE_MONOLITHIC=no
2372 DEFAULT_wxUSE_PLUGINS=no
2373 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2374 else
2375 DEFAULT_wxUSE_UNIVERSAL=no
2376 DEFAULT_wxUSE_STL=no
2377
2378 DEFAULT_wxUSE_NANOX=no
2379
2380 DEFAULT_wxUSE_THREADS=yes
2381
2382 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2383 DEFAULT_wxUSE_OPTIMISE=yes
2384 DEFAULT_wxUSE_PROFILE=no
2385 DEFAULT_wxUSE_NO_DEPS=no
2386 DEFAULT_wxUSE_NO_RTTI=no
2387 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2388 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2389 DEFAULT_wxUSE_RPATH=yes
2390 DEFAULT_wxUSE_PERMISSIVE=no
2391 DEFAULT_wxUSE_DEBUG_FLAG=no
2392 DEFAULT_wxUSE_DEBUG_INFO=no
2393 DEFAULT_wxUSE_DEBUG_GDB=no
2394 DEFAULT_wxUSE_MEM_TRACING=no
2395 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2396 DEFAULT_wxUSE_DMALLOC=no
2397 DEFAULT_wxUSE_APPLE_IEEE=yes
2398
2399 DEFAULT_wxUSE_EXCEPTIONS=yes
2400 DEFAULT_wxUSE_LOG=yes
2401 DEFAULT_wxUSE_LOGWINDOW=yes
2402 DEFAULT_wxUSE_LOGGUI=yes
2403 DEFAULT_wxUSE_LOGDIALOG=yes
2404
2405 DEFAULT_wxUSE_GUI=yes
2406
2407 DEFAULT_wxUSE_REGEX=yes
2408 DEFAULT_wxUSE_XML=yes
2409 DEFAULT_wxUSE_EXPAT=yes
2410 DEFAULT_wxUSE_ZLIB=yes
2411 DEFAULT_wxUSE_LIBPNG=yes
2412 DEFAULT_wxUSE_LIBJPEG=yes
2413 DEFAULT_wxUSE_LIBTIFF=yes
2414 DEFAULT_wxUSE_LIBXPM=yes
2415 DEFAULT_wxUSE_LIBMSPACK=yes
2416 DEFAULT_wxUSE_LIBSDL=no
2417 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2418 DEFAULT_wxUSE_LIBGNOMEVFS=no
2419 DEFAULT_wxUSE_LIBHILDON=no
2420 DEFAULT_wxUSE_ODBC=no
2421 DEFAULT_wxUSE_OPENGL=no
2422
2423 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2424 DEFAULT_wxUSE_STACKWALKER=yes
2425 DEFAULT_wxUSE_DEBUGREPORT=yes
2426 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2427 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2428 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2429 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2430 DEFAULT_wxUSE_DATETIME=yes
2431 DEFAULT_wxUSE_TIMER=yes
2432 DEFAULT_wxUSE_STOPWATCH=yes
2433 DEFAULT_wxUSE_FILE=yes
2434 DEFAULT_wxUSE_FFILE=yes
2435 DEFAULT_wxUSE_STDPATHS=yes
2436 DEFAULT_wxUSE_TEXTBUFFER=yes
2437 DEFAULT_wxUSE_TEXTFILE=yes
2438 DEFAULT_wxUSE_SOUND=yes
2439 DEFAULT_wxUSE_MEDIACTRL=no
2440 DEFAULT_wxUSE_GSTREAMER8=no
2441 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2442 DEFAULT_wxUSE_INTL=yes
2443 DEFAULT_wxUSE_CONFIG=yes
2444 DEFAULT_wxUSE_FONTMAP=yes
2445 DEFAULT_wxUSE_STREAMS=yes
2446 DEFAULT_wxUSE_SOCKETS=yes
2447 DEFAULT_wxUSE_OLE=yes
2448 DEFAULT_wxUSE_DATAOBJ=yes
2449 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2450 DEFAULT_wxUSE_JOYSTICK=yes
2451 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2452 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2453 DEFAULT_wxUSE_LONGLONG=yes
2454 DEFAULT_wxUSE_GEOMETRY=yes
2455
2456 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2457 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2458 DEFAULT_wxUSE_POSTSCRIPT=yes
2459
2460 DEFAULT_wxUSE_CLIPBOARD=yes
2461 DEFAULT_wxUSE_TOOLTIPS=yes
2462 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2463 DEFAULT_wxUSE_DRAGIMAGE=yes
2464 DEFAULT_wxUSE_SPLINES=yes
2465 DEFAULT_wxUSE_MOUSEWHEEL=yes
2466
2467 DEFAULT_wxUSE_MDI=yes
2468 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2469 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2470 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2471
2472 DEFAULT_wxUSE_RESOURCES=no
2473 DEFAULT_wxUSE_CONSTRAINTS=yes
2474 DEFAULT_wxUSE_IPC=yes
2475 DEFAULT_wxUSE_HELP=yes
2476 DEFAULT_wxUSE_MS_HTML_HELP=yes
2477 DEFAULT_wxUSE_WXHTML_HELP=yes
2478 DEFAULT_wxUSE_TREELAYOUT=yes
2479 DEFAULT_wxUSE_METAFILE=yes
2480 DEFAULT_wxUSE_MIMETYPE=yes
2481 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2482 DEFAULT_wxUSE_PROTOCOL=yes
2483 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2484 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2485 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2486 DEFAULT_wxUSE_URL=yes
2487 DEFAULT_wxUSE_VARIANT=yes
2488
2489 DEFAULT_wxUSE_COMMONDLGS=yes
2490 DEFAULT_wxUSE_CHOICEDLG=yes
2491 DEFAULT_wxUSE_COLOURDLG=yes
2492 DEFAULT_wxUSE_DIRDLG=yes
2493 DEFAULT_wxUSE_FILEDLG=yes
2494 DEFAULT_wxUSE_FINDREPLDLG=yes
2495 DEFAULT_wxUSE_FONTDLG=yes
2496 DEFAULT_wxUSE_MSGDLG=yes
2497 DEFAULT_wxUSE_NUMBERDLG=yes
2498 DEFAULT_wxUSE_TEXTDLG=yes
2499 DEFAULT_wxUSE_SPLASH=yes
2500 DEFAULT_wxUSE_STARTUP_TIPS=yes
2501 DEFAULT_wxUSE_PROGRESSDLG=yes
2502 DEFAULT_wxUSE_WIZARDDLG=yes
2503
2504 DEFAULT_wxUSE_MENUS=yes
2505 DEFAULT_wxUSE_MINIFRAME=yes
2506 DEFAULT_wxUSE_HTML=yes
2507 DEFAULT_wxUSE_RICHTEXT=yes
2508 DEFAULT_wxUSE_XRC=yes
2509 DEFAULT_wxUSE_AUI=yes
2510 DEFAULT_wxUSE_WEBKIT=yes
2511 DEFAULT_wxUSE_FILESYSTEM=yes
2512 DEFAULT_wxUSE_FS_INET=yes
2513 DEFAULT_wxUSE_FS_ZIP=yes
2514 DEFAULT_wxUSE_BUSYINFO=yes
2515 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2516 DEFAULT_wxUSE_ZIPSTREAM=yes
2517 DEFAULT_wxUSE_VALIDATORS=yes
2518
2519 DEFAULT_wxUSE_ACCEL=yes
2520 DEFAULT_wxUSE_BUTTON=yes
2521 DEFAULT_wxUSE_BMPBUTTON=yes
2522 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2523 DEFAULT_wxUSE_CALCTRL=yes
2524 DEFAULT_wxUSE_CARET=yes
2525 DEFAULT_wxUSE_CHECKBOX=yes
2526 DEFAULT_wxUSE_CHECKLST=yes
2527 DEFAULT_wxUSE_CHOICE=yes
2528 DEFAULT_wxUSE_CHOICEBOOK=yes
2529 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2530 DEFAULT_wxUSE_COMBOBOX=yes
2531 DEFAULT_wxUSE_COMBOCTRL=yes
2532 DEFAULT_wxUSE_DATEPICKCTRL=yes
2533 DEFAULT_wxUSE_DISPLAY=yes
2534 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2535 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2536 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2537 DEFAULT_wxUSE_GAUGE=yes
2538 DEFAULT_wxUSE_GRID=yes
2539 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2540 DEFAULT_wxUSE_DATAVIEWCTRL=no
2541 DEFAULT_wxUSE_IMAGLIST=yes
2542 DEFAULT_wxUSE_LISTBOOK=yes
2543 DEFAULT_wxUSE_LISTBOX=yes
2544 DEFAULT_wxUSE_LISTCTRL=yes
2545 DEFAULT_wxUSE_NOTEBOOK=yes
2546 DEFAULT_wxUSE_ODCOMBOBOX=yes
2547 DEFAULT_wxUSE_RADIOBOX=yes
2548 DEFAULT_wxUSE_RADIOBTN=yes
2549 DEFAULT_wxUSE_SASH=yes
2550 DEFAULT_wxUSE_SCROLLBAR=yes
2551 DEFAULT_wxUSE_SLIDER=yes
2552 DEFAULT_wxUSE_SPINBTN=yes
2553 DEFAULT_wxUSE_SPINCTRL=yes
2554 DEFAULT_wxUSE_SPLITTER=yes
2555 DEFAULT_wxUSE_STATBMP=yes
2556 DEFAULT_wxUSE_STATBOX=yes
2557 DEFAULT_wxUSE_STATLINE=yes
2558 DEFAULT_wxUSE_STATTEXT=yes
2559 DEFAULT_wxUSE_STATUSBAR=yes
2560 DEFAULT_wxUSE_TAB_DIALOG=no
2561 DEFAULT_wxUSE_TEXTCTRL=yes
2562 DEFAULT_wxUSE_TOGGLEBTN=yes
2563 DEFAULT_wxUSE_TOOLBAR=yes
2564 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2565 DEFAULT_wxUSE_TREEBOOK=yes
2566 DEFAULT_wxUSE_TOOLBOOK=yes
2567 DEFAULT_wxUSE_TREECTRL=yes
2568 DEFAULT_wxUSE_POPUPWIN=yes
2569 DEFAULT_wxUSE_TIPWINDOW=yes
2570
2571 DEFAULT_wxUSE_UNICODE=no
2572 DEFAULT_wxUSE_UNICODE_MSLU=yes
2573 DEFAULT_wxUSE_WCSRTOMBS=no
2574
2575 DEFAULT_wxUSE_PALETTE=yes
2576 DEFAULT_wxUSE_IMAGE=yes
2577 DEFAULT_wxUSE_GIF=yes
2578 DEFAULT_wxUSE_PCX=yes
2579 DEFAULT_wxUSE_IFF=no
2580 DEFAULT_wxUSE_PNM=yes
2581 DEFAULT_wxUSE_XPM=yes
2582 DEFAULT_wxUSE_ICO_CUR=yes
2583 DEFAULT_wxUSE_ACCESSIBILITY=no
2584
2585 DEFAULT_wxUSE_MONOLITHIC=no
2586 DEFAULT_wxUSE_PLUGINS=no
2587 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2588
2589 DEFAULT_wxUSE_GTK2=yes
2590 fi
2591
2592
2593
2594
2595 for toolkit in `echo $ALL_TOOLKITS`; do
2596 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2597 if test "x$LINE" != "x" ; then
2598 has_toolkit_in_cache=1
2599 eval "DEFAULT_$LINE"
2600 eval "CACHE_$toolkit=1"
2601
2602 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2603 if test "x$LINE" != "x" ; then
2604 eval "DEFAULT_$LINE"
2605 fi
2606 fi
2607 done
2608
2609
2610
2611 enablestring=
2612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2613 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2614 no_cache=0
2615 # Check whether --enable-gui or --disable-gui was given.
2616 if test "${enable_gui+set}" = set; then
2617 enableval="$enable_gui"
2618
2619 if test "$enableval" = yes; then
2620 ac_cv_use_gui='wxUSE_GUI=yes'
2621 else
2622 ac_cv_use_gui='wxUSE_GUI=no'
2623 fi
2624
2625 else
2626
2627 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2628 if test "x$LINE" != x ; then
2629 eval "DEFAULT_$LINE"
2630 else
2631 no_cache=1
2632 fi
2633
2634 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2635
2636 fi;
2637
2638 eval "$ac_cv_use_gui"
2639 if test "$no_cache" != 1; then
2640 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2641 fi
2642
2643 if test "$wxUSE_GUI" = yes; then
2644 echo "$as_me:$LINENO: result: yes" >&5
2645 echo "${ECHO_T}yes" >&6
2646 else
2647 echo "$as_me:$LINENO: result: no" >&5
2648 echo "${ECHO_T}no" >&6
2649 fi
2650
2651
2652 enablestring=
2653 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2654 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2655 no_cache=0
2656 # Check whether --enable-monolithic or --disable-monolithic was given.
2657 if test "${enable_monolithic+set}" = set; then
2658 enableval="$enable_monolithic"
2659
2660 if test "$enableval" = yes; then
2661 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2662 else
2663 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2664 fi
2665
2666 else
2667
2668 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2669 if test "x$LINE" != x ; then
2670 eval "DEFAULT_$LINE"
2671 else
2672 no_cache=1
2673 fi
2674
2675 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2676
2677 fi;
2678
2679 eval "$ac_cv_use_monolithic"
2680 if test "$no_cache" != 1; then
2681 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2682 fi
2683
2684 if test "$wxUSE_MONOLITHIC" = yes; then
2685 echo "$as_me:$LINENO: result: yes" >&5
2686 echo "${ECHO_T}yes" >&6
2687 else
2688 echo "$as_me:$LINENO: result: no" >&5
2689 echo "${ECHO_T}no" >&6
2690 fi
2691
2692
2693 enablestring=
2694 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2695 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2696 no_cache=0
2697 # Check whether --enable-plugins or --disable-plugins was given.
2698 if test "${enable_plugins+set}" = set; then
2699 enableval="$enable_plugins"
2700
2701 if test "$enableval" = yes; then
2702 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2703 else
2704 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2705 fi
2706
2707 else
2708
2709 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2710 if test "x$LINE" != x ; then
2711 eval "DEFAULT_$LINE"
2712 else
2713 no_cache=1
2714 fi
2715
2716 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2717
2718 fi;
2719
2720 eval "$ac_cv_use_plugins"
2721 if test "$no_cache" != 1; then
2722 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2723 fi
2724
2725 if test "$wxUSE_PLUGINS" = yes; then
2726 echo "$as_me:$LINENO: result: yes" >&5
2727 echo "${ECHO_T}yes" >&6
2728 else
2729 echo "$as_me:$LINENO: result: no" >&5
2730 echo "${ECHO_T}no" >&6
2731 fi
2732
2733
2734 withstring=without
2735 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2736 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2737 no_cache=0
2738
2739 # Check whether --with-subdirs or --without-subdirs was given.
2740 if test "${with_subdirs+set}" = set; then
2741 withval="$with_subdirs"
2742
2743 if test "$withval" = yes; then
2744 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2745 else
2746 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2747 fi
2748
2749 else
2750
2751 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2752 if test "x$LINE" != x ; then
2753 eval "DEFAULT_$LINE"
2754 else
2755 no_cache=1
2756 fi
2757
2758 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2759
2760 fi;
2761
2762 eval "$ac_cv_use_subdirs"
2763 if test "$no_cache" != 1; then
2764 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2765 fi
2766
2767 if test "$wxWITH_SUBDIRS" = yes; then
2768 echo "$as_me:$LINENO: result: yes" >&5
2769 echo "${ECHO_T}yes" >&6
2770 else
2771 echo "$as_me:$LINENO: result: no" >&5
2772 echo "${ECHO_T}no" >&6
2773 fi
2774
2775
2776 if test "$wxUSE_GUI" = "yes"; then
2777
2778
2779 enablestring=
2780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2781 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2782 no_cache=0
2783 # Check whether --enable-universal or --disable-universal was given.
2784 if test "${enable_universal+set}" = set; then
2785 enableval="$enable_universal"
2786
2787 if test "$enableval" = yes; then
2788 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2789 else
2790 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2791 fi
2792
2793 else
2794
2795 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2796 if test "x$LINE" != x ; then
2797 eval "DEFAULT_$LINE"
2798 else
2799 no_cache=1
2800 fi
2801
2802 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2803
2804 fi;
2805
2806 eval "$ac_cv_use_universal"
2807 if test "$no_cache" != 1; then
2808 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2809 fi
2810
2811 if test "$wxUSE_UNIVERSAL" = yes; then
2812 echo "$as_me:$LINENO: result: yes" >&5
2813 echo "${ECHO_T}yes" >&6
2814 else
2815 echo "$as_me:$LINENO: result: no" >&5
2816 echo "${ECHO_T}no" >&6
2817 fi
2818
2819
2820 # Check whether --with-gtk or --without-gtk was given.
2821 if test "${with_gtk+set}" = set; then
2822 withval="$with_gtk"
2823 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2824 fi;
2825
2826 # Check whether --with-motif or --without-motif was given.
2827 if test "${with_motif+set}" = set; then
2828 withval="$with_motif"
2829 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2830 fi;
2831
2832 # Check whether --with-mac or --without-mac was given.
2833 if test "${with_mac+set}" = set; then
2834 withval="$with_mac"
2835 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2836 fi;
2837
2838 # Check whether --with-cocoa or --without-cocoa was given.
2839 if test "${with_cocoa+set}" = set; then
2840 withval="$with_cocoa"
2841 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2842 fi;
2843
2844 # Check whether --with-wine or --without-wine was given.
2845 if test "${with_wine+set}" = set; then
2846 withval="$with_wine"
2847 wxUSE_WINE="$withval" CACHE_WINE=1
2848 fi;
2849
2850 # Check whether --with-msw or --without-msw was given.
2851 if test "${with_msw+set}" = set; then
2852 withval="$with_msw"
2853 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2854 fi;
2855
2856 # Check whether --with-pm or --without-pm was given.
2857 if test "${with_pm+set}" = set; then
2858 withval="$with_pm"
2859 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2860 fi;
2861
2862 # Check whether --with-mgl or --without-mgl was given.
2863 if test "${with_mgl+set}" = set; then
2864 withval="$with_mgl"
2865 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2866 fi;
2867
2868 # Check whether --with-directfb or --without-directfb was given.
2869 if test "${with_directfb+set}" = set; then
2870 withval="$with_directfb"
2871 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2872 fi;
2873
2874 # Check whether --with-microwin or --without-microwin was given.
2875 if test "${with_microwin+set}" = set; then
2876 withval="$with_microwin"
2877 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2878 fi;
2879
2880 # Check whether --with-x11 or --without-x11 was given.
2881 if test "${with_x11+set}" = set; then
2882 withval="$with_x11"
2883 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2884 fi;
2885
2886 enablestring=
2887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2888 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2889 no_cache=0
2890 # Check whether --enable-nanox or --disable-nanox was given.
2891 if test "${enable_nanox+set}" = set; then
2892 enableval="$enable_nanox"
2893
2894 if test "$enableval" = yes; then
2895 ac_cv_use_nanox='wxUSE_NANOX=yes'
2896 else
2897 ac_cv_use_nanox='wxUSE_NANOX=no'
2898 fi
2899
2900 else
2901
2902 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2903 if test "x$LINE" != x ; then
2904 eval "DEFAULT_$LINE"
2905 else
2906 no_cache=1
2907 fi
2908
2909 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2910
2911 fi;
2912
2913 eval "$ac_cv_use_nanox"
2914 if test "$no_cache" != 1; then
2915 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2916 fi
2917
2918 if test "$wxUSE_NANOX" = yes; then
2919 echo "$as_me:$LINENO: result: yes" >&5
2920 echo "${ECHO_T}yes" >&6
2921 else
2922 echo "$as_me:$LINENO: result: no" >&5
2923 echo "${ECHO_T}no" >&6
2924 fi
2925
2926
2927 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2928 if test "${enable_gtk2+set}" = set; then
2929 enableval="$enable_gtk2"
2930 wxUSE_GTK2="$enableval"
2931 fi;
2932
2933 enablestring=
2934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2935 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2936 no_cache=0
2937 # Check whether --enable-gpe or --disable-gpe was given.
2938 if test "${enable_gpe+set}" = set; then
2939 enableval="$enable_gpe"
2940
2941 if test "$enableval" = yes; then
2942 ac_cv_use_gpe='wxUSE_GPE=yes'
2943 else
2944 ac_cv_use_gpe='wxUSE_GPE=no'
2945 fi
2946
2947 else
2948
2949 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2950 if test "x$LINE" != x ; then
2951 eval "DEFAULT_$LINE"
2952 else
2953 no_cache=1
2954 fi
2955
2956 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2957
2958 fi;
2959
2960 eval "$ac_cv_use_gpe"
2961 if test "$no_cache" != 1; then
2962 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2963 fi
2964
2965 if test "$wxUSE_GPE" = yes; then
2966 echo "$as_me:$LINENO: result: yes" >&5
2967 echo "${ECHO_T}yes" >&6
2968 else
2969 echo "$as_me:$LINENO: result: no" >&5
2970 echo "${ECHO_T}no" >&6
2971 fi
2972
2973
2974
2975 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2976 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2977 no_cache=0
2978
2979 # Check whether --with-libpng or --without-libpng was given.
2980 if test "${with_libpng+set}" = set; then
2981 withval="$with_libpng"
2982
2983 if test "$withval" = yes; then
2984 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2985 elif test "$withval" = no; then
2986 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2987 elif test "$withval" = sys; then
2988 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2989 elif test "$withval" = builtin; then
2990 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2991 else
2992 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2993 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2994 { (exit 1); exit 1; }; }
2995 fi
2996
2997 else
2998
2999 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3000 if test "x$LINE" != x ; then
3001 eval "DEFAULT_$LINE"
3002 else
3003 no_cache=1
3004 fi
3005
3006 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3007
3008 fi;
3009
3010 eval "$ac_cv_use_libpng"
3011 if test "$no_cache" != 1; then
3012 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3013 fi
3014
3015 if test "$wxUSE_LIBPNG" = yes; then
3016 echo "$as_me:$LINENO: result: yes" >&5
3017 echo "${ECHO_T}yes" >&6
3018 elif test "$wxUSE_LIBPNG" = no; then
3019 echo "$as_me:$LINENO: result: no" >&5
3020 echo "${ECHO_T}no" >&6
3021 elif test "$wxUSE_LIBPNG" = sys; then
3022 echo "$as_me:$LINENO: result: system version" >&5
3023 echo "${ECHO_T}system version" >&6
3024 elif test "$wxUSE_LIBPNG" = builtin; then
3025 echo "$as_me:$LINENO: result: builtin version" >&5
3026 echo "${ECHO_T}builtin version" >&6
3027 else
3028 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3029 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3030 { (exit 1); exit 1; }; }
3031 fi
3032
3033
3034 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3035 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3036 no_cache=0
3037
3038 # Check whether --with-libjpeg or --without-libjpeg was given.
3039 if test "${with_libjpeg+set}" = set; then
3040 withval="$with_libjpeg"
3041
3042 if test "$withval" = yes; then
3043 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3044 elif test "$withval" = no; then
3045 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3046 elif test "$withval" = sys; then
3047 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3048 elif test "$withval" = builtin; then
3049 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3050 else
3051 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3052 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3053 { (exit 1); exit 1; }; }
3054 fi
3055
3056 else
3057
3058 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3059 if test "x$LINE" != x ; then
3060 eval "DEFAULT_$LINE"
3061 else
3062 no_cache=1
3063 fi
3064
3065 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3066
3067 fi;
3068
3069 eval "$ac_cv_use_libjpeg"
3070 if test "$no_cache" != 1; then
3071 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3072 fi
3073
3074 if test "$wxUSE_LIBJPEG" = yes; then
3075 echo "$as_me:$LINENO: result: yes" >&5
3076 echo "${ECHO_T}yes" >&6
3077 elif test "$wxUSE_LIBJPEG" = no; then
3078 echo "$as_me:$LINENO: result: no" >&5
3079 echo "${ECHO_T}no" >&6
3080 elif test "$wxUSE_LIBJPEG" = sys; then
3081 echo "$as_me:$LINENO: result: system version" >&5
3082 echo "${ECHO_T}system version" >&6
3083 elif test "$wxUSE_LIBJPEG" = builtin; then
3084 echo "$as_me:$LINENO: result: builtin version" >&5
3085 echo "${ECHO_T}builtin version" >&6
3086 else
3087 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3088 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3089 { (exit 1); exit 1; }; }
3090 fi
3091
3092
3093 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3094 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3095 no_cache=0
3096
3097 # Check whether --with-libtiff or --without-libtiff was given.
3098 if test "${with_libtiff+set}" = set; then
3099 withval="$with_libtiff"
3100
3101 if test "$withval" = yes; then
3102 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3103 elif test "$withval" = no; then
3104 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3105 elif test "$withval" = sys; then
3106 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3107 elif test "$withval" = builtin; then
3108 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3109 else
3110 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3111 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3112 { (exit 1); exit 1; }; }
3113 fi
3114
3115 else
3116
3117 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3118 if test "x$LINE" != x ; then
3119 eval "DEFAULT_$LINE"
3120 else
3121 no_cache=1
3122 fi
3123
3124 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3125
3126 fi;
3127
3128 eval "$ac_cv_use_libtiff"
3129 if test "$no_cache" != 1; then
3130 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3131 fi
3132
3133 if test "$wxUSE_LIBTIFF" = yes; then
3134 echo "$as_me:$LINENO: result: yes" >&5
3135 echo "${ECHO_T}yes" >&6
3136 elif test "$wxUSE_LIBTIFF" = no; then
3137 echo "$as_me:$LINENO: result: no" >&5
3138 echo "${ECHO_T}no" >&6
3139 elif test "$wxUSE_LIBTIFF" = sys; then
3140 echo "$as_me:$LINENO: result: system version" >&5
3141 echo "${ECHO_T}system version" >&6
3142 elif test "$wxUSE_LIBTIFF" = builtin; then
3143 echo "$as_me:$LINENO: result: builtin version" >&5
3144 echo "${ECHO_T}builtin version" >&6
3145 else
3146 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3147 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3148 { (exit 1); exit 1; }; }
3149 fi
3150
3151
3152 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3153 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3154 no_cache=0
3155
3156 # Check whether --with-libxpm or --without-libxpm was given.
3157 if test "${with_libxpm+set}" = set; then
3158 withval="$with_libxpm"
3159
3160 if test "$withval" = yes; then
3161 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3162 elif test "$withval" = no; then
3163 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3164 elif test "$withval" = sys; then
3165 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3166 elif test "$withval" = builtin; then
3167 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3168 else
3169 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3170 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3171 { (exit 1); exit 1; }; }
3172 fi
3173
3174 else
3175
3176 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3177 if test "x$LINE" != x ; then
3178 eval "DEFAULT_$LINE"
3179 else
3180 no_cache=1
3181 fi
3182
3183 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3184
3185 fi;
3186
3187 eval "$ac_cv_use_libxpm"
3188 if test "$no_cache" != 1; then
3189 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3190 fi
3191
3192 if test "$wxUSE_LIBXPM" = yes; then
3193 echo "$as_me:$LINENO: result: yes" >&5
3194 echo "${ECHO_T}yes" >&6
3195 elif test "$wxUSE_LIBXPM" = no; then
3196 echo "$as_me:$LINENO: result: no" >&5
3197 echo "${ECHO_T}no" >&6
3198 elif test "$wxUSE_LIBXPM" = sys; then
3199 echo "$as_me:$LINENO: result: system version" >&5
3200 echo "${ECHO_T}system version" >&6
3201 elif test "$wxUSE_LIBXPM" = builtin; then
3202 echo "$as_me:$LINENO: result: builtin version" >&5
3203 echo "${ECHO_T}builtin version" >&6
3204 else
3205 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3206 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3207 { (exit 1); exit 1; }; }
3208 fi
3209
3210
3211 withstring=
3212 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3213 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3214 no_cache=0
3215
3216 # Check whether --with-libmspack or --without-libmspack was given.
3217 if test "${with_libmspack+set}" = set; then
3218 withval="$with_libmspack"
3219
3220 if test "$withval" = yes; then
3221 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3222 else
3223 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3224 fi
3225
3226 else
3227
3228 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3229 if test "x$LINE" != x ; then
3230 eval "DEFAULT_$LINE"
3231 else
3232 no_cache=1
3233 fi
3234
3235 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3236
3237 fi;
3238
3239 eval "$ac_cv_use_libmspack"
3240 if test "$no_cache" != 1; then
3241 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3242 fi
3243
3244 if test "$wxUSE_LIBMSPACK" = yes; then
3245 echo "$as_me:$LINENO: result: yes" >&5
3246 echo "${ECHO_T}yes" >&6
3247 else
3248 echo "$as_me:$LINENO: result: no" >&5
3249 echo "${ECHO_T}no" >&6
3250 fi
3251
3252
3253 withstring=
3254 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3255 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3256 no_cache=0
3257
3258 # Check whether --with-sdl or --without-sdl was given.
3259 if test "${with_sdl+set}" = set; then
3260 withval="$with_sdl"
3261
3262 if test "$withval" = yes; then
3263 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3264 else
3265 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3266 fi
3267
3268 else
3269
3270 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3271 if test "x$LINE" != x ; then
3272 eval "DEFAULT_$LINE"
3273 else
3274 no_cache=1
3275 fi
3276
3277 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3278
3279 fi;
3280
3281 eval "$ac_cv_use_sdl"
3282 if test "$no_cache" != 1; then
3283 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3284 fi
3285
3286 if test "$wxUSE_LIBSDL" = yes; then
3287 echo "$as_me:$LINENO: result: yes" >&5
3288 echo "${ECHO_T}yes" >&6
3289 else
3290 echo "$as_me:$LINENO: result: no" >&5
3291 echo "${ECHO_T}no" >&6
3292 fi
3293
3294
3295 withstring=
3296 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3297 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3298 no_cache=0
3299
3300 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3301 if test "${with_gnomeprint+set}" = set; then
3302 withval="$with_gnomeprint"
3303
3304 if test "$withval" = yes; then
3305 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3306 else
3307 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3308 fi
3309
3310 else
3311
3312 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3313 if test "x$LINE" != x ; then
3314 eval "DEFAULT_$LINE"
3315 else
3316 no_cache=1
3317 fi
3318
3319 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3320
3321 fi;
3322
3323 eval "$ac_cv_use_gnomeprint"
3324 if test "$no_cache" != 1; then
3325 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3326 fi
3327
3328 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3329 echo "$as_me:$LINENO: result: yes" >&5
3330 echo "${ECHO_T}yes" >&6
3331 else
3332 echo "$as_me:$LINENO: result: no" >&5
3333 echo "${ECHO_T}no" >&6
3334 fi
3335
3336
3337 withstring=
3338 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3339 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3340 no_cache=0
3341
3342 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3343 if test "${with_gnomevfs+set}" = set; then
3344 withval="$with_gnomevfs"
3345
3346 if test "$withval" = yes; then
3347 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3348 else
3349 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3350 fi
3351
3352 else
3353
3354 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3355 if test "x$LINE" != x ; then
3356 eval "DEFAULT_$LINE"
3357 else
3358 no_cache=1
3359 fi
3360
3361 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3362
3363 fi;
3364
3365 eval "$ac_cv_use_gnomevfs"
3366 if test "$no_cache" != 1; then
3367 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3368 fi
3369
3370 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3371 echo "$as_me:$LINENO: result: yes" >&5
3372 echo "${ECHO_T}yes" >&6
3373 else
3374 echo "$as_me:$LINENO: result: no" >&5
3375 echo "${ECHO_T}no" >&6
3376 fi
3377
3378
3379 withstring=
3380 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3381 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3382 no_cache=0
3383
3384 # Check whether --with-hildon or --without-hildon was given.
3385 if test "${with_hildon+set}" = set; then
3386 withval="$with_hildon"
3387
3388 if test "$withval" = yes; then
3389 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3390 else
3391 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3392 fi
3393
3394 else
3395
3396 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3397 if test "x$LINE" != x ; then
3398 eval "DEFAULT_$LINE"
3399 else
3400 no_cache=1
3401 fi
3402
3403 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3404
3405 fi;
3406
3407 eval "$ac_cv_use_hildon"
3408 if test "$no_cache" != 1; then
3409 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3410 fi
3411
3412 if test "$wxUSE_LIBHILDON" = yes; then
3413 echo "$as_me:$LINENO: result: yes" >&5
3414 echo "${ECHO_T}yes" >&6
3415 else
3416 echo "$as_me:$LINENO: result: no" >&5
3417 echo "${ECHO_T}no" >&6
3418 fi
3419
3420
3421 withstring=
3422 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3423 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3424 no_cache=0
3425
3426 # Check whether --with-opengl or --without-opengl was given.
3427 if test "${with_opengl+set}" = set; then
3428 withval="$with_opengl"
3429
3430 if test "$withval" = yes; then
3431 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3432 else
3433 ac_cv_use_opengl='wxUSE_OPENGL=no'
3434 fi
3435
3436 else
3437
3438 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3439 if test "x$LINE" != x ; then
3440 eval "DEFAULT_$LINE"
3441 else
3442 no_cache=1
3443 fi
3444
3445 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3446
3447 fi;
3448
3449 eval "$ac_cv_use_opengl"
3450 if test "$no_cache" != 1; then
3451 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3452 fi
3453
3454 if test "$wxUSE_OPENGL" = yes; then
3455 echo "$as_me:$LINENO: result: yes" >&5
3456 echo "${ECHO_T}yes" >&6
3457 else
3458 echo "$as_me:$LINENO: result: no" >&5
3459 echo "${ECHO_T}no" >&6
3460 fi
3461
3462
3463 fi
3464
3465
3466 withstring=
3467 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3468 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3469 no_cache=0
3470
3471 # Check whether --with-dmalloc or --without-dmalloc was given.
3472 if test "${with_dmalloc+set}" = set; then
3473 withval="$with_dmalloc"
3474
3475 if test "$withval" = yes; then
3476 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3477 else
3478 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3479 fi
3480
3481 else
3482
3483 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x ; then
3485 eval "DEFAULT_$LINE"
3486 else
3487 no_cache=1
3488 fi
3489
3490 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3491
3492 fi;
3493
3494 eval "$ac_cv_use_dmalloc"
3495 if test "$no_cache" != 1; then
3496 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3497 fi
3498
3499 if test "$wxUSE_DMALLOC" = yes; then
3500 echo "$as_me:$LINENO: result: yes" >&5
3501 echo "${ECHO_T}yes" >&6
3502 else
3503 echo "$as_me:$LINENO: result: no" >&5
3504 echo "${ECHO_T}no" >&6
3505 fi
3506
3507
3508 echo "$as_me:$LINENO: checking for --with-regex" >&5
3509 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3510 no_cache=0
3511
3512 # Check whether --with-regex or --without-regex was given.
3513 if test "${with_regex+set}" = set; then
3514 withval="$with_regex"
3515
3516 if test "$withval" = yes; then
3517 ac_cv_use_regex='wxUSE_REGEX=yes'
3518 elif test "$withval" = no; then
3519 ac_cv_use_regex='wxUSE_REGEX=no'
3520 elif test "$withval" = sys; then
3521 ac_cv_use_regex='wxUSE_REGEX=sys'
3522 elif test "$withval" = builtin; then
3523 ac_cv_use_regex='wxUSE_REGEX=builtin'
3524 else
3525 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3526 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3527 { (exit 1); exit 1; }; }
3528 fi
3529
3530 else
3531
3532 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3533 if test "x$LINE" != x ; then
3534 eval "DEFAULT_$LINE"
3535 else
3536 no_cache=1
3537 fi
3538
3539 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3540
3541 fi;
3542
3543 eval "$ac_cv_use_regex"
3544 if test "$no_cache" != 1; then
3545 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3546 fi
3547
3548 if test "$wxUSE_REGEX" = yes; then
3549 echo "$as_me:$LINENO: result: yes" >&5
3550 echo "${ECHO_T}yes" >&6
3551 elif test "$wxUSE_REGEX" = no; then
3552 echo "$as_me:$LINENO: result: no" >&5
3553 echo "${ECHO_T}no" >&6
3554 elif test "$wxUSE_REGEX" = sys; then
3555 echo "$as_me:$LINENO: result: system version" >&5
3556 echo "${ECHO_T}system version" >&6
3557 elif test "$wxUSE_REGEX" = builtin; then
3558 echo "$as_me:$LINENO: result: builtin version" >&5
3559 echo "${ECHO_T}builtin version" >&6
3560 else
3561 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3562 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3563 { (exit 1); exit 1; }; }
3564 fi
3565
3566
3567 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3568 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3569 no_cache=0
3570
3571 # Check whether --with-zlib or --without-zlib was given.
3572 if test "${with_zlib+set}" = set; then
3573 withval="$with_zlib"
3574
3575 if test "$withval" = yes; then
3576 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3577 elif test "$withval" = no; then
3578 ac_cv_use_zlib='wxUSE_ZLIB=no'
3579 elif test "$withval" = sys; then
3580 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3581 elif test "$withval" = builtin; then
3582 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3583 else
3584 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3585 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3586 { (exit 1); exit 1; }; }
3587 fi
3588
3589 else
3590
3591 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3592 if test "x$LINE" != x ; then
3593 eval "DEFAULT_$LINE"
3594 else
3595 no_cache=1
3596 fi
3597
3598 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3599
3600 fi;
3601
3602 eval "$ac_cv_use_zlib"
3603 if test "$no_cache" != 1; then
3604 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3605 fi
3606
3607 if test "$wxUSE_ZLIB" = yes; then
3608 echo "$as_me:$LINENO: result: yes" >&5
3609 echo "${ECHO_T}yes" >&6
3610 elif test "$wxUSE_ZLIB" = no; then
3611 echo "$as_me:$LINENO: result: no" >&5
3612 echo "${ECHO_T}no" >&6
3613 elif test "$wxUSE_ZLIB" = sys; then
3614 echo "$as_me:$LINENO: result: system version" >&5
3615 echo "${ECHO_T}system version" >&6
3616 elif test "$wxUSE_ZLIB" = builtin; then
3617 echo "$as_me:$LINENO: result: builtin version" >&5
3618 echo "${ECHO_T}builtin version" >&6
3619 else
3620 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3621 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3622 { (exit 1); exit 1; }; }
3623 fi
3624
3625
3626 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3627 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3628 no_cache=0
3629
3630 # Check whether --with-odbc or --without-odbc was given.
3631 if test "${with_odbc+set}" = set; then
3632 withval="$with_odbc"
3633
3634 if test "$withval" = yes; then
3635 ac_cv_use_odbc='wxUSE_ODBC=yes'
3636 elif test "$withval" = no; then
3637 ac_cv_use_odbc='wxUSE_ODBC=no'
3638 elif test "$withval" = sys; then
3639 ac_cv_use_odbc='wxUSE_ODBC=sys'
3640 elif test "$withval" = builtin; then
3641 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3642 else
3643 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3644 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3645 { (exit 1); exit 1; }; }
3646 fi
3647
3648 else
3649
3650 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3651 if test "x$LINE" != x ; then
3652 eval "DEFAULT_$LINE"
3653 else
3654 no_cache=1
3655 fi
3656
3657 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3658
3659 fi;
3660
3661 eval "$ac_cv_use_odbc"
3662 if test "$no_cache" != 1; then
3663 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3664 fi
3665
3666 if test "$wxUSE_ODBC" = yes; then
3667 echo "$as_me:$LINENO: result: yes" >&5
3668 echo "${ECHO_T}yes" >&6
3669 elif test "$wxUSE_ODBC" = no; then
3670 echo "$as_me:$LINENO: result: no" >&5
3671 echo "${ECHO_T}no" >&6
3672 elif test "$wxUSE_ODBC" = sys; then
3673 echo "$as_me:$LINENO: result: system version" >&5
3674 echo "${ECHO_T}system version" >&6
3675 elif test "$wxUSE_ODBC" = builtin; then
3676 echo "$as_me:$LINENO: result: builtin version" >&5
3677 echo "${ECHO_T}builtin version" >&6
3678 else
3679 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3680 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3681 { (exit 1); exit 1; }; }
3682 fi
3683
3684
3685 echo "$as_me:$LINENO: checking for --with-expat" >&5
3686 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3687 no_cache=0
3688
3689 # Check whether --with-expat or --without-expat was given.
3690 if test "${with_expat+set}" = set; then
3691 withval="$with_expat"
3692
3693 if test "$withval" = yes; then
3694 ac_cv_use_expat='wxUSE_EXPAT=yes'
3695 elif test "$withval" = no; then
3696 ac_cv_use_expat='wxUSE_EXPAT=no'
3697 elif test "$withval" = sys; then
3698 ac_cv_use_expat='wxUSE_EXPAT=sys'
3699 elif test "$withval" = builtin; then
3700 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3701 else
3702 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3703 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3704 { (exit 1); exit 1; }; }
3705 fi
3706
3707 else
3708
3709 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3710 if test "x$LINE" != x ; then
3711 eval "DEFAULT_$LINE"
3712 else
3713 no_cache=1
3714 fi
3715
3716 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3717
3718 fi;
3719
3720 eval "$ac_cv_use_expat"
3721 if test "$no_cache" != 1; then
3722 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3723 fi
3724
3725 if test "$wxUSE_EXPAT" = yes; then
3726 echo "$as_me:$LINENO: result: yes" >&5
3727 echo "${ECHO_T}yes" >&6
3728 elif test "$wxUSE_EXPAT" = no; then
3729 echo "$as_me:$LINENO: result: no" >&5
3730 echo "${ECHO_T}no" >&6
3731 elif test "$wxUSE_EXPAT" = sys; then
3732 echo "$as_me:$LINENO: result: system version" >&5
3733 echo "${ECHO_T}system version" >&6
3734 elif test "$wxUSE_EXPAT" = builtin; then
3735 echo "$as_me:$LINENO: result: builtin version" >&5
3736 echo "${ECHO_T}builtin version" >&6
3737 else
3738 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3739 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3740 { (exit 1); exit 1; }; }
3741 fi
3742
3743
3744
3745
3746 enablestring=
3747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3748 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3749 no_cache=0
3750 # Check whether --enable-shared or --disable-shared was given.
3751 if test "${enable_shared+set}" = set; then
3752 enableval="$enable_shared"
3753
3754 if test "$enableval" = yes; then
3755 ac_cv_use_shared='wxUSE_SHARED=yes'
3756 else
3757 ac_cv_use_shared='wxUSE_SHARED=no'
3758 fi
3759
3760 else
3761
3762 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3763 if test "x$LINE" != x ; then
3764 eval "DEFAULT_$LINE"
3765 else
3766 no_cache=1
3767 fi
3768
3769 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3770
3771 fi;
3772
3773 eval "$ac_cv_use_shared"
3774 if test "$no_cache" != 1; then
3775 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3776 fi
3777
3778 if test "$wxUSE_SHARED" = yes; then
3779 echo "$as_me:$LINENO: result: yes" >&5
3780 echo "${ECHO_T}yes" >&6
3781 else
3782 echo "$as_me:$LINENO: result: no" >&5
3783 echo "${ECHO_T}no" >&6
3784 fi
3785
3786
3787 enablestring=
3788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3789 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3790 no_cache=0
3791 # Check whether --enable-optimise or --disable-optimise was given.
3792 if test "${enable_optimise+set}" = set; then
3793 enableval="$enable_optimise"
3794
3795 if test "$enableval" = yes; then
3796 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3797 else
3798 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3799 fi
3800
3801 else
3802
3803 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3804 if test "x$LINE" != x ; then
3805 eval "DEFAULT_$LINE"
3806 else
3807 no_cache=1
3808 fi
3809
3810 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3811
3812 fi;
3813
3814 eval "$ac_cv_use_optimise"
3815 if test "$no_cache" != 1; then
3816 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3817 fi
3818
3819 if test "$wxUSE_OPTIMISE" = yes; then
3820 echo "$as_me:$LINENO: result: yes" >&5
3821 echo "${ECHO_T}yes" >&6
3822 else
3823 echo "$as_me:$LINENO: result: no" >&5
3824 echo "${ECHO_T}no" >&6
3825 fi
3826
3827
3828 enablestring=
3829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3830 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3831 no_cache=0
3832 # Check whether --enable-debug or --disable-debug was given.
3833 if test "${enable_debug+set}" = set; then
3834 enableval="$enable_debug"
3835
3836 if test "$enableval" = yes; then
3837 ac_cv_use_debug='wxUSE_DEBUG=yes'
3838 else
3839 ac_cv_use_debug='wxUSE_DEBUG=no'
3840 fi
3841
3842 else
3843
3844 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3845 if test "x$LINE" != x ; then
3846 eval "DEFAULT_$LINE"
3847 else
3848 no_cache=1
3849 fi
3850
3851 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3852
3853 fi;
3854
3855 eval "$ac_cv_use_debug"
3856 if test "$no_cache" != 1; then
3857 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3858 fi
3859
3860 if test "$wxUSE_DEBUG" = yes; then
3861 echo "$as_me:$LINENO: result: yes" >&5
3862 echo "${ECHO_T}yes" >&6
3863 else
3864 echo "$as_me:$LINENO: result: no" >&5
3865 echo "${ECHO_T}no" >&6
3866 fi
3867
3868
3869 enablestring=
3870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3871 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3872 no_cache=0
3873 # Check whether --enable-stl or --disable-stl was given.
3874 if test "${enable_stl+set}" = set; then
3875 enableval="$enable_stl"
3876
3877 if test "$enableval" = yes; then
3878 ac_cv_use_stl='wxUSE_STL=yes'
3879 else
3880 ac_cv_use_stl='wxUSE_STL=no'
3881 fi
3882
3883 else
3884
3885 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3886 if test "x$LINE" != x ; then
3887 eval "DEFAULT_$LINE"
3888 else
3889 no_cache=1
3890 fi
3891
3892 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3893
3894 fi;
3895
3896 eval "$ac_cv_use_stl"
3897 if test "$no_cache" != 1; then
3898 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3899 fi
3900
3901 if test "$wxUSE_STL" = yes; then
3902 echo "$as_me:$LINENO: result: yes" >&5
3903 echo "${ECHO_T}yes" >&6
3904 else
3905 echo "$as_me:$LINENO: result: no" >&5
3906 echo "${ECHO_T}no" >&6
3907 fi
3908
3909 if test "$USE_OS2" = "1"; then
3910 DEFAULT_wxUSE_OMF=no
3911
3912 enablestring=
3913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3914 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3915 no_cache=0
3916 # Check whether --enable-omf or --disable-omf was given.
3917 if test "${enable_omf+set}" = set; then
3918 enableval="$enable_omf"
3919
3920 if test "$enableval" = yes; then
3921 ac_cv_use_omf='wxUSE_OMF=yes'
3922 else
3923 ac_cv_use_omf='wxUSE_OMF=no'
3924 fi
3925
3926 else
3927
3928 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3929 if test "x$LINE" != x ; then
3930 eval "DEFAULT_$LINE"
3931 else
3932 no_cache=1
3933 fi
3934
3935 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3936
3937 fi;
3938
3939 eval "$ac_cv_use_omf"
3940 if test "$no_cache" != 1; then
3941 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3942 fi
3943
3944 if test "$wxUSE_OMF" = yes; then
3945 echo "$as_me:$LINENO: result: yes" >&5
3946 echo "${ECHO_T}yes" >&6
3947 else
3948 echo "$as_me:$LINENO: result: no" >&5
3949 echo "${ECHO_T}no" >&6
3950 fi
3951
3952 fi
3953
3954 if test "$wxUSE_DEBUG" = "yes"; then
3955 DEFAULT_wxUSE_DEBUG_FLAG=yes
3956 DEFAULT_wxUSE_DEBUG_INFO=yes
3957 BUILD=debug
3958 elif test "$wxUSE_DEBUG" = "no"; then
3959 DEFAULT_wxUSE_DEBUG_FLAG=no
3960 DEFAULT_wxUSE_DEBUG_INFO=no
3961 BUILD=release
3962 fi
3963
3964
3965 enablestring=
3966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3967 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3968 no_cache=0
3969 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3970 if test "${enable_debug_flag+set}" = set; then
3971 enableval="$enable_debug_flag"
3972
3973 if test "$enableval" = yes; then
3974 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3975 else
3976 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3977 fi
3978
3979 else
3980
3981 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3982 if test "x$LINE" != x ; then
3983 eval "DEFAULT_$LINE"
3984 else
3985 no_cache=1
3986 fi
3987
3988 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3989
3990 fi;
3991
3992 eval "$ac_cv_use_debug_flag"
3993 if test "$no_cache" != 1; then
3994 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3995 fi
3996
3997 if test "$wxUSE_DEBUG_FLAG" = yes; then
3998 echo "$as_me:$LINENO: result: yes" >&5
3999 echo "${ECHO_T}yes" >&6
4000 else
4001 echo "$as_me:$LINENO: result: no" >&5
4002 echo "${ECHO_T}no" >&6
4003 fi
4004
4005
4006 enablestring=
4007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4008 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4009 no_cache=0
4010 # Check whether --enable-debug_info or --disable-debug_info was given.
4011 if test "${enable_debug_info+set}" = set; then
4012 enableval="$enable_debug_info"
4013
4014 if test "$enableval" = yes; then
4015 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4016 else
4017 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4018 fi
4019
4020 else
4021
4022 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4023 if test "x$LINE" != x ; then
4024 eval "DEFAULT_$LINE"
4025 else
4026 no_cache=1
4027 fi
4028
4029 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4030
4031 fi;
4032
4033 eval "$ac_cv_use_debug_info"
4034 if test "$no_cache" != 1; then
4035 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4036 fi
4037
4038 if test "$wxUSE_DEBUG_INFO" = yes; then
4039 echo "$as_me:$LINENO: result: yes" >&5
4040 echo "${ECHO_T}yes" >&6
4041 else
4042 echo "$as_me:$LINENO: result: no" >&5
4043 echo "${ECHO_T}no" >&6
4044 fi
4045
4046
4047 enablestring=
4048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4049 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4050 no_cache=0
4051 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4052 if test "${enable_debug_gdb+set}" = set; then
4053 enableval="$enable_debug_gdb"
4054
4055 if test "$enableval" = yes; then
4056 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4057 else
4058 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4059 fi
4060
4061 else
4062
4063 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4064 if test "x$LINE" != x ; then
4065 eval "DEFAULT_$LINE"
4066 else
4067 no_cache=1
4068 fi
4069
4070 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4071
4072 fi;
4073
4074 eval "$ac_cv_use_debug_gdb"
4075 if test "$no_cache" != 1; then
4076 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4077 fi
4078
4079 if test "$wxUSE_DEBUG_GDB" = yes; then
4080 echo "$as_me:$LINENO: result: yes" >&5
4081 echo "${ECHO_T}yes" >&6
4082 else
4083 echo "$as_me:$LINENO: result: no" >&5
4084 echo "${ECHO_T}no" >&6
4085 fi
4086
4087
4088 enablestring=
4089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4090 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4091 no_cache=0
4092 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4093 if test "${enable_debug_cntxt+set}" = set; then
4094 enableval="$enable_debug_cntxt"
4095
4096 if test "$enableval" = yes; then
4097 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4098 else
4099 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4100 fi
4101
4102 else
4103
4104 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x ; then
4106 eval "DEFAULT_$LINE"
4107 else
4108 no_cache=1
4109 fi
4110
4111 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4112
4113 fi;
4114
4115 eval "$ac_cv_use_debug_cntxt"
4116 if test "$no_cache" != 1; then
4117 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4118 fi
4119
4120 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4121 echo "$as_me:$LINENO: result: yes" >&5
4122 echo "${ECHO_T}yes" >&6
4123 else
4124 echo "$as_me:$LINENO: result: no" >&5
4125 echo "${ECHO_T}no" >&6
4126 fi
4127
4128
4129 enablestring=
4130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4131 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4132 no_cache=0
4133 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4134 if test "${enable_mem_tracing+set}" = set; then
4135 enableval="$enable_mem_tracing"
4136
4137 if test "$enableval" = yes; then
4138 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4139 else
4140 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4141 fi
4142
4143 else
4144
4145 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4146 if test "x$LINE" != x ; then
4147 eval "DEFAULT_$LINE"
4148 else
4149 no_cache=1
4150 fi
4151
4152 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4153
4154 fi;
4155
4156 eval "$ac_cv_use_mem_tracing"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4159 fi
4160
4161 if test "$wxUSE_MEM_TRACING" = yes; then
4162 echo "$as_me:$LINENO: result: yes" >&5
4163 echo "${ECHO_T}yes" >&6
4164 else
4165 echo "$as_me:$LINENO: result: no" >&5
4166 echo "${ECHO_T}no" >&6
4167 fi
4168
4169
4170 enablestring=
4171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4172 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4173 no_cache=0
4174 # Check whether --enable-profile or --disable-profile was given.
4175 if test "${enable_profile+set}" = set; then
4176 enableval="$enable_profile"
4177
4178 if test "$enableval" = yes; then
4179 ac_cv_use_profile='wxUSE_PROFILE=yes'
4180 else
4181 ac_cv_use_profile='wxUSE_PROFILE=no'
4182 fi
4183
4184 else
4185
4186 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4187 if test "x$LINE" != x ; then
4188 eval "DEFAULT_$LINE"
4189 else
4190 no_cache=1
4191 fi
4192
4193 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4194
4195 fi;
4196
4197 eval "$ac_cv_use_profile"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4200 fi
4201
4202 if test "$wxUSE_PROFILE" = yes; then
4203 echo "$as_me:$LINENO: result: yes" >&5
4204 echo "${ECHO_T}yes" >&6
4205 else
4206 echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6
4208 fi
4209
4210
4211 enablestring=
4212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4213 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4214 no_cache=0
4215 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4216 if test "${enable_no_rtti+set}" = set; then
4217 enableval="$enable_no_rtti"
4218
4219 if test "$enableval" = yes; then
4220 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4221 else
4222 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4223 fi
4224
4225 else
4226
4227 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4228 if test "x$LINE" != x ; then
4229 eval "DEFAULT_$LINE"
4230 else
4231 no_cache=1
4232 fi
4233
4234 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4235
4236 fi;
4237
4238 eval "$ac_cv_use_no_rtti"
4239 if test "$no_cache" != 1; then
4240 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4241 fi
4242
4243 if test "$wxUSE_NO_RTTI" = yes; then
4244 echo "$as_me:$LINENO: result: yes" >&5
4245 echo "${ECHO_T}yes" >&6
4246 else
4247 echo "$as_me:$LINENO: result: no" >&5
4248 echo "${ECHO_T}no" >&6
4249 fi
4250
4251
4252 enablestring=
4253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4254 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4255 no_cache=0
4256 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4257 if test "${enable_no_exceptions+set}" = set; then
4258 enableval="$enable_no_exceptions"
4259
4260 if test "$enableval" = yes; then
4261 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4262 else
4263 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4264 fi
4265
4266 else
4267
4268 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4269 if test "x$LINE" != x ; then
4270 eval "DEFAULT_$LINE"
4271 else
4272 no_cache=1
4273 fi
4274
4275 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4276
4277 fi;
4278
4279 eval "$ac_cv_use_no_exceptions"
4280 if test "$no_cache" != 1; then
4281 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4282 fi
4283
4284 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4285 echo "$as_me:$LINENO: result: yes" >&5
4286 echo "${ECHO_T}yes" >&6
4287 else
4288 echo "$as_me:$LINENO: result: no" >&5
4289 echo "${ECHO_T}no" >&6
4290 fi
4291
4292
4293 enablestring=
4294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4295 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4296 no_cache=0
4297 # Check whether --enable-permissive or --disable-permissive was given.
4298 if test "${enable_permissive+set}" = set; then
4299 enableval="$enable_permissive"
4300
4301 if test "$enableval" = yes; then
4302 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4303 else
4304 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4305 fi
4306
4307 else
4308
4309 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4310 if test "x$LINE" != x ; then
4311 eval "DEFAULT_$LINE"
4312 else
4313 no_cache=1
4314 fi
4315
4316 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4317
4318 fi;
4319
4320 eval "$ac_cv_use_permissive"
4321 if test "$no_cache" != 1; then
4322 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4323 fi
4324
4325 if test "$wxUSE_PERMISSIVE" = yes; then
4326 echo "$as_me:$LINENO: result: yes" >&5
4327 echo "${ECHO_T}yes" >&6
4328 else
4329 echo "$as_me:$LINENO: result: no" >&5
4330 echo "${ECHO_T}no" >&6
4331 fi
4332
4333
4334 enablestring=
4335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4336 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4337 no_cache=0
4338 # Check whether --enable-no_deps or --disable-no_deps was given.
4339 if test "${enable_no_deps+set}" = set; then
4340 enableval="$enable_no_deps"
4341
4342 if test "$enableval" = yes; then
4343 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4344 else
4345 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4346 fi
4347
4348 else
4349
4350 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4351 if test "x$LINE" != x ; then
4352 eval "DEFAULT_$LINE"
4353 else
4354 no_cache=1
4355 fi
4356
4357 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4358
4359 fi;
4360
4361 eval "$ac_cv_use_no_deps"
4362 if test "$no_cache" != 1; then
4363 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4364 fi
4365
4366 if test "$wxUSE_NO_DEPS" = yes; then
4367 echo "$as_me:$LINENO: result: yes" >&5
4368 echo "${ECHO_T}yes" >&6
4369 else
4370 echo "$as_me:$LINENO: result: no" >&5
4371 echo "${ECHO_T}no" >&6
4372 fi
4373
4374
4375 enablestring=
4376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4377 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4378 no_cache=0
4379 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4380 if test "${enable_universal_binary+set}" = set; then
4381 enableval="$enable_universal_binary"
4382
4383 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4384
4385 else
4386
4387 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4388 if test "x$LINE" != x ; then
4389 eval "DEFAULT_$LINE"
4390 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4391 else
4392 no_cache=1
4393 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4394 fi
4395
4396 fi;
4397
4398 eval "$wx_cv_use_universal_binary"
4399 if test "$no_cache" != 1; then
4400 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4401 fi
4402
4403 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4404 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4405
4406
4407
4408 enablestring=enable
4409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4410 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4411 no_cache=0
4412 # Check whether --enable-compat24 or --disable-compat24 was given.
4413 if test "${enable_compat24+set}" = set; then
4414 enableval="$enable_compat24"
4415
4416 if test "$enableval" = yes; then
4417 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4418 else
4419 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4420 fi
4421
4422 else
4423
4424 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4425 if test "x$LINE" != x ; then
4426 eval "DEFAULT_$LINE"
4427 else
4428 no_cache=1
4429 fi
4430
4431 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4432
4433 fi;
4434
4435 eval "$ac_cv_use_compat24"
4436 if test "$no_cache" != 1; then
4437 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4438 fi
4439
4440 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4441 echo "$as_me:$LINENO: result: yes" >&5
4442 echo "${ECHO_T}yes" >&6
4443 else
4444 echo "$as_me:$LINENO: result: no" >&5
4445 echo "${ECHO_T}no" >&6
4446 fi
4447
4448
4449 enablestring=disable
4450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4451 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4452 no_cache=0
4453 # Check whether --enable-compat26 or --disable-compat26 was given.
4454 if test "${enable_compat26+set}" = set; then
4455 enableval="$enable_compat26"
4456
4457 if test "$enableval" = yes; then
4458 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4459 else
4460 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4461 fi
4462
4463 else
4464
4465 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4466 if test "x$LINE" != x ; then
4467 eval "DEFAULT_$LINE"
4468 else
4469 no_cache=1
4470 fi
4471
4472 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4473
4474 fi;
4475
4476 eval "$ac_cv_use_compat26"
4477 if test "$no_cache" != 1; then
4478 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4479 fi
4480
4481 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4482 echo "$as_me:$LINENO: result: yes" >&5
4483 echo "${ECHO_T}yes" >&6
4484 else
4485 echo "$as_me:$LINENO: result: no" >&5
4486 echo "${ECHO_T}no" >&6
4487 fi
4488
4489
4490
4491 enablestring=
4492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4493 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4494 no_cache=0
4495 # Check whether --enable-rpath or --disable-rpath was given.
4496 if test "${enable_rpath+set}" = set; then
4497 enableval="$enable_rpath"
4498
4499 if test "$enableval" = yes; then
4500 ac_cv_use_rpath='wxUSE_RPATH=yes'
4501 else
4502 ac_cv_use_rpath='wxUSE_RPATH=no'
4503 fi
4504
4505 else
4506
4507 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4508 if test "x$LINE" != x ; then
4509 eval "DEFAULT_$LINE"
4510 else
4511 no_cache=1
4512 fi
4513
4514 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4515
4516 fi;
4517
4518 eval "$ac_cv_use_rpath"
4519 if test "$no_cache" != 1; then
4520 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4521 fi
4522
4523 if test "$wxUSE_RPATH" = yes; then
4524 echo "$as_me:$LINENO: result: yes" >&5
4525 echo "${ECHO_T}yes" >&6
4526 else
4527 echo "$as_me:$LINENO: result: no" >&5
4528 echo "${ECHO_T}no" >&6
4529 fi
4530
4531
4532
4533
4534
4535 enablestring=
4536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4537 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4538 no_cache=0
4539 # Check whether --enable-intl or --disable-intl was given.
4540 if test "${enable_intl+set}" = set; then
4541 enableval="$enable_intl"
4542
4543 if test "$enableval" = yes; then
4544 ac_cv_use_intl='wxUSE_INTL=yes'
4545 else
4546 ac_cv_use_intl='wxUSE_INTL=no'
4547 fi
4548
4549 else
4550
4551 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4552 if test "x$LINE" != x ; then
4553 eval "DEFAULT_$LINE"
4554 else
4555 no_cache=1
4556 fi
4557
4558 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4559
4560 fi;
4561
4562 eval "$ac_cv_use_intl"
4563 if test "$no_cache" != 1; then
4564 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4565 fi
4566
4567 if test "$wxUSE_INTL" = yes; then
4568 echo "$as_me:$LINENO: result: yes" >&5
4569 echo "${ECHO_T}yes" >&6
4570 else
4571 echo "$as_me:$LINENO: result: no" >&5
4572 echo "${ECHO_T}no" >&6
4573 fi
4574
4575
4576 enablestring=
4577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4579 no_cache=0
4580 # Check whether --enable-config or --disable-config was given.
4581 if test "${enable_config+set}" = set; then
4582 enableval="$enable_config"
4583
4584 if test "$enableval" = yes; then
4585 ac_cv_use_config='wxUSE_CONFIG=yes'
4586 else
4587 ac_cv_use_config='wxUSE_CONFIG=no'
4588 fi
4589
4590 else
4591
4592 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4593 if test "x$LINE" != x ; then
4594 eval "DEFAULT_$LINE"
4595 else
4596 no_cache=1
4597 fi
4598
4599 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4600
4601 fi;
4602
4603 eval "$ac_cv_use_config"
4604 if test "$no_cache" != 1; then
4605 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4606 fi
4607
4608 if test "$wxUSE_CONFIG" = yes; then
4609 echo "$as_me:$LINENO: result: yes" >&5
4610 echo "${ECHO_T}yes" >&6
4611 else
4612 echo "$as_me:$LINENO: result: no" >&5
4613 echo "${ECHO_T}no" >&6
4614 fi
4615
4616
4617
4618 enablestring=
4619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4620 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4621 no_cache=0
4622 # Check whether --enable-protocols or --disable-protocols was given.
4623 if test "${enable_protocols+set}" = set; then
4624 enableval="$enable_protocols"
4625
4626 if test "$enableval" = yes; then
4627 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4628 else
4629 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4630 fi
4631
4632 else
4633
4634 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4635 if test "x$LINE" != x ; then
4636 eval "DEFAULT_$LINE"
4637 else
4638 no_cache=1
4639 fi
4640
4641 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4642
4643 fi;
4644
4645 eval "$ac_cv_use_protocols"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4648 fi
4649
4650 if test "$wxUSE_PROTOCOL" = yes; then
4651 echo "$as_me:$LINENO: result: yes" >&5
4652 echo "${ECHO_T}yes" >&6
4653 else
4654 echo "$as_me:$LINENO: result: no" >&5
4655 echo "${ECHO_T}no" >&6
4656 fi
4657
4658
4659 enablestring=
4660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4662 no_cache=0
4663 # Check whether --enable-ftp or --disable-ftp was given.
4664 if test "${enable_ftp+set}" = set; then
4665 enableval="$enable_ftp"
4666
4667 if test "$enableval" = yes; then
4668 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4669 else
4670 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4671 fi
4672
4673 else
4674
4675 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x ; then
4677 eval "DEFAULT_$LINE"
4678 else
4679 no_cache=1
4680 fi
4681
4682 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4683
4684 fi;
4685
4686 eval "$ac_cv_use_ftp"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4689 fi
4690
4691 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4692 echo "$as_me:$LINENO: result: yes" >&5
4693 echo "${ECHO_T}yes" >&6
4694 else
4695 echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6
4697 fi
4698
4699
4700 enablestring=
4701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4703 no_cache=0
4704 # Check whether --enable-http or --disable-http was given.
4705 if test "${enable_http+set}" = set; then
4706 enableval="$enable_http"
4707
4708 if test "$enableval" = yes; then
4709 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4710 else
4711 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4712 fi
4713
4714 else
4715
4716 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4717 if test "x$LINE" != x ; then
4718 eval "DEFAULT_$LINE"
4719 else
4720 no_cache=1
4721 fi
4722
4723 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4724
4725 fi;
4726
4727 eval "$ac_cv_use_http"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4730 fi
4731
4732 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4733 echo "$as_me:$LINENO: result: yes" >&5
4734 echo "${ECHO_T}yes" >&6
4735 else
4736 echo "$as_me:$LINENO: result: no" >&5
4737 echo "${ECHO_T}no" >&6
4738 fi
4739
4740
4741 enablestring=
4742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4744 no_cache=0
4745 # Check whether --enable-fileproto or --disable-fileproto was given.
4746 if test "${enable_fileproto+set}" = set; then
4747 enableval="$enable_fileproto"
4748
4749 if test "$enableval" = yes; then
4750 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4751 else
4752 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4753 fi
4754
4755 else
4756
4757 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x ; then
4759 eval "DEFAULT_$LINE"
4760 else
4761 no_cache=1
4762 fi
4763
4764 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4765
4766 fi;
4767
4768 eval "$ac_cv_use_fileproto"
4769 if test "$no_cache" != 1; then
4770 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4771 fi
4772
4773 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4774 echo "$as_me:$LINENO: result: yes" >&5
4775 echo "${ECHO_T}yes" >&6
4776 else
4777 echo "$as_me:$LINENO: result: no" >&5
4778 echo "${ECHO_T}no" >&6
4779 fi
4780
4781
4782 enablestring=
4783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4785 no_cache=0
4786 # Check whether --enable-sockets or --disable-sockets was given.
4787 if test "${enable_sockets+set}" = set; then
4788 enableval="$enable_sockets"
4789
4790 if test "$enableval" = yes; then
4791 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4792 else
4793 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4794 fi
4795
4796 else
4797
4798 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x ; then
4800 eval "DEFAULT_$LINE"
4801 else
4802 no_cache=1
4803 fi
4804
4805 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4806
4807 fi;
4808
4809 eval "$ac_cv_use_sockets"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4812 fi
4813
4814 if test "$wxUSE_SOCKETS" = yes; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6
4817 else
4818 echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4820 fi
4821
4822
4823 enablestring=
4824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4826 no_cache=0
4827 # Check whether --enable-ole or --disable-ole was given.
4828 if test "${enable_ole+set}" = set; then
4829 enableval="$enable_ole"
4830
4831 if test "$enableval" = yes; then
4832 ac_cv_use_ole='wxUSE_OLE=yes'
4833 else
4834 ac_cv_use_ole='wxUSE_OLE=no'
4835 fi
4836
4837 else
4838
4839 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4840 if test "x$LINE" != x ; then
4841 eval "DEFAULT_$LINE"
4842 else
4843 no_cache=1
4844 fi
4845
4846 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4847
4848 fi;
4849
4850 eval "$ac_cv_use_ole"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4853 fi
4854
4855 if test "$wxUSE_OLE" = yes; then
4856 echo "$as_me:$LINENO: result: yes" >&5
4857 echo "${ECHO_T}yes" >&6
4858 else
4859 echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6
4861 fi
4862
4863
4864 enablestring=
4865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4867 no_cache=0
4868 # Check whether --enable-dataobj or --disable-dataobj was given.
4869 if test "${enable_dataobj+set}" = set; then
4870 enableval="$enable_dataobj"
4871
4872 if test "$enableval" = yes; then
4873 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4874 else
4875 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4876 fi
4877
4878 else
4879
4880 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4881 if test "x$LINE" != x ; then
4882 eval "DEFAULT_$LINE"
4883 else
4884 no_cache=1
4885 fi
4886
4887 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4888
4889 fi;
4890
4891 eval "$ac_cv_use_dataobj"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4894 fi
4895
4896 if test "$wxUSE_DATAOBJ" = yes; then
4897 echo "$as_me:$LINENO: result: yes" >&5
4898 echo "${ECHO_T}yes" >&6
4899 else
4900 echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6
4902 fi
4903
4904
4905
4906 enablestring=
4907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4908 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4909 no_cache=0
4910 # Check whether --enable-ipc or --disable-ipc was given.
4911 if test "${enable_ipc+set}" = set; then
4912 enableval="$enable_ipc"
4913
4914 if test "$enableval" = yes; then
4915 ac_cv_use_ipc='wxUSE_IPC=yes'
4916 else
4917 ac_cv_use_ipc='wxUSE_IPC=no'
4918 fi
4919
4920 else
4921
4922 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4923 if test "x$LINE" != x ; then
4924 eval "DEFAULT_$LINE"
4925 else
4926 no_cache=1
4927 fi
4928
4929 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4930
4931 fi;
4932
4933 eval "$ac_cv_use_ipc"
4934 if test "$no_cache" != 1; then
4935 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4936 fi
4937
4938 if test "$wxUSE_IPC" = yes; then
4939 echo "$as_me:$LINENO: result: yes" >&5
4940 echo "${ECHO_T}yes" >&6
4941 else
4942 echo "$as_me:$LINENO: result: no" >&5
4943 echo "${ECHO_T}no" >&6
4944 fi
4945
4946
4947
4948 enablestring=
4949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4950 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4951 no_cache=0
4952 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4953 if test "${enable_apple_ieee+set}" = set; then
4954 enableval="$enable_apple_ieee"
4955
4956 if test "$enableval" = yes; then
4957 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4958 else
4959 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4960 fi
4961
4962 else
4963
4964 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4965 if test "x$LINE" != x ; then
4966 eval "DEFAULT_$LINE"
4967 else
4968 no_cache=1
4969 fi
4970
4971 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4972
4973 fi;
4974
4975 eval "$ac_cv_use_apple_ieee"
4976 if test "$no_cache" != 1; then
4977 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4978 fi
4979
4980 if test "$wxUSE_APPLE_IEEE" = yes; then
4981 echo "$as_me:$LINENO: result: yes" >&5
4982 echo "${ECHO_T}yes" >&6
4983 else
4984 echo "$as_me:$LINENO: result: no" >&5
4985 echo "${ECHO_T}no" >&6
4986 fi
4987
4988
4989 enablestring=
4990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4991 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4992 no_cache=0
4993 # Check whether --enable-arcstream or --disable-arcstream was given.
4994 if test "${enable_arcstream+set}" = set; then
4995 enableval="$enable_arcstream"
4996
4997 if test "$enableval" = yes; then
4998 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4999 else
5000 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5001 fi
5002
5003 else
5004
5005 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5006 if test "x$LINE" != x ; then
5007 eval "DEFAULT_$LINE"
5008 else
5009 no_cache=1
5010 fi
5011
5012 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5013
5014 fi;
5015
5016 eval "$ac_cv_use_arcstream"
5017 if test "$no_cache" != 1; then
5018 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5019 fi
5020
5021 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5022 echo "$as_me:$LINENO: result: yes" >&5
5023 echo "${ECHO_T}yes" >&6
5024 else
5025 echo "$as_me:$LINENO: result: no" >&5
5026 echo "${ECHO_T}no" >&6
5027 fi
5028
5029
5030 enablestring=
5031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5032 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5033 no_cache=0
5034 # Check whether --enable-backtrace or --disable-backtrace was given.
5035 if test "${enable_backtrace+set}" = set; then
5036 enableval="$enable_backtrace"
5037
5038 if test "$enableval" = yes; then
5039 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5040 else
5041 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5042 fi
5043
5044 else
5045
5046 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5047 if test "x$LINE" != x ; then
5048 eval "DEFAULT_$LINE"
5049 else
5050 no_cache=1
5051 fi
5052
5053 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5054
5055 fi;
5056
5057 eval "$ac_cv_use_backtrace"
5058 if test "$no_cache" != 1; then
5059 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5060 fi
5061
5062 if test "$wxUSE_STACKWALKER" = yes; then
5063 echo "$as_me:$LINENO: result: yes" >&5
5064 echo "${ECHO_T}yes" >&6
5065 else
5066 echo "$as_me:$LINENO: result: no" >&5
5067 echo "${ECHO_T}no" >&6
5068 fi
5069
5070
5071 enablestring=
5072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5073 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5074 no_cache=0
5075 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5076 if test "${enable_catch_segvs+set}" = set; then
5077 enableval="$enable_catch_segvs"
5078
5079 if test "$enableval" = yes; then
5080 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5081 else
5082 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5083 fi
5084
5085 else
5086
5087 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5088 if test "x$LINE" != x ; then
5089 eval "DEFAULT_$LINE"
5090 else
5091 no_cache=1
5092 fi
5093
5094 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5095
5096 fi;
5097
5098 eval "$ac_cv_use_catch_segvs"
5099 if test "$no_cache" != 1; then
5100 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5101 fi
5102
5103 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5104 echo "$as_me:$LINENO: result: yes" >&5
5105 echo "${ECHO_T}yes" >&6
5106 else
5107 echo "$as_me:$LINENO: result: no" >&5
5108 echo "${ECHO_T}no" >&6
5109 fi
5110
5111
5112 enablestring=
5113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5114 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5115 no_cache=0
5116 # Check whether --enable-cmdline or --disable-cmdline was given.
5117 if test "${enable_cmdline+set}" = set; then
5118 enableval="$enable_cmdline"
5119
5120 if test "$enableval" = yes; then
5121 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5122 else
5123 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5124 fi
5125
5126 else
5127
5128 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5129 if test "x$LINE" != x ; then
5130 eval "DEFAULT_$LINE"
5131 else
5132 no_cache=1
5133 fi
5134
5135 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5136
5137 fi;
5138
5139 eval "$ac_cv_use_cmdline"
5140 if test "$no_cache" != 1; then
5141 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5142 fi
5143
5144 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5145 echo "$as_me:$LINENO: result: yes" >&5
5146 echo "${ECHO_T}yes" >&6
5147 else
5148 echo "$as_me:$LINENO: result: no" >&5
5149 echo "${ECHO_T}no" >&6
5150 fi
5151
5152
5153 enablestring=
5154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5155 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5156 no_cache=0
5157 # Check whether --enable-datetime or --disable-datetime was given.
5158 if test "${enable_datetime+set}" = set; then
5159 enableval="$enable_datetime"
5160
5161 if test "$enableval" = yes; then
5162 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5163 else
5164 ac_cv_use_datetime='wxUSE_DATETIME=no'
5165 fi
5166
5167 else
5168
5169 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5170 if test "x$LINE" != x ; then
5171 eval "DEFAULT_$LINE"
5172 else
5173 no_cache=1
5174 fi
5175
5176 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5177
5178 fi;
5179
5180 eval "$ac_cv_use_datetime"
5181 if test "$no_cache" != 1; then
5182 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5183 fi
5184
5185 if test "$wxUSE_DATETIME" = yes; then
5186 echo "$as_me:$LINENO: result: yes" >&5
5187 echo "${ECHO_T}yes" >&6
5188 else
5189 echo "$as_me:$LINENO: result: no" >&5
5190 echo "${ECHO_T}no" >&6
5191 fi
5192
5193
5194 enablestring=
5195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5196 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5197 no_cache=0
5198 # Check whether --enable-debugreport or --disable-debugreport was given.
5199 if test "${enable_debugreport+set}" = set; then
5200 enableval="$enable_debugreport"
5201
5202 if test "$enableval" = yes; then
5203 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5204 else
5205 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5206 fi
5207
5208 else
5209
5210 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5211 if test "x$LINE" != x ; then
5212 eval "DEFAULT_$LINE"
5213 else
5214 no_cache=1
5215 fi
5216
5217 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5218
5219 fi;
5220
5221 eval "$ac_cv_use_debugreport"
5222 if test "$no_cache" != 1; then
5223 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5224 fi
5225
5226 if test "$wxUSE_DEBUGREPORT" = yes; then
5227 echo "$as_me:$LINENO: result: yes" >&5
5228 echo "${ECHO_T}yes" >&6
5229 else
5230 echo "$as_me:$LINENO: result: no" >&5
5231 echo "${ECHO_T}no" >&6
5232 fi
5233
5234
5235 enablestring=
5236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5237 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5238 no_cache=0
5239 # Check whether --enable-dialupman or --disable-dialupman was given.
5240 if test "${enable_dialupman+set}" = set; then
5241 enableval="$enable_dialupman"
5242
5243 if test "$enableval" = yes; then
5244 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5245 else
5246 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5247 fi
5248
5249 else
5250
5251 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5252 if test "x$LINE" != x ; then
5253 eval "DEFAULT_$LINE"
5254 else
5255 no_cache=1
5256 fi
5257
5258 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5259
5260 fi;
5261
5262 eval "$ac_cv_use_dialupman"
5263 if test "$no_cache" != 1; then
5264 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5265 fi
5266
5267 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5268 echo "$as_me:$LINENO: result: yes" >&5
5269 echo "${ECHO_T}yes" >&6
5270 else
5271 echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6
5273 fi
5274
5275
5276 enablestring=
5277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5278 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5279 no_cache=0
5280 # Check whether --enable-dynlib or --disable-dynlib was given.
5281 if test "${enable_dynlib+set}" = set; then
5282 enableval="$enable_dynlib"
5283
5284 if test "$enableval" = yes; then
5285 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5286 else
5287 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5288 fi
5289
5290 else
5291
5292 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5293 if test "x$LINE" != x ; then
5294 eval "DEFAULT_$LINE"
5295 else
5296 no_cache=1
5297 fi
5298
5299 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5300
5301 fi;
5302
5303 eval "$ac_cv_use_dynlib"
5304 if test "$no_cache" != 1; then
5305 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5306 fi
5307
5308 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5309 echo "$as_me:$LINENO: result: yes" >&5
5310 echo "${ECHO_T}yes" >&6
5311 else
5312 echo "$as_me:$LINENO: result: no" >&5
5313 echo "${ECHO_T}no" >&6
5314 fi
5315
5316
5317 enablestring=
5318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5319 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5320 no_cache=0
5321 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5322 if test "${enable_dynamicloader+set}" = set; then
5323 enableval="$enable_dynamicloader"
5324
5325 if test "$enableval" = yes; then
5326 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5327 else
5328 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5329 fi
5330
5331 else
5332
5333 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5334 if test "x$LINE" != x ; then
5335 eval "DEFAULT_$LINE"
5336 else
5337 no_cache=1
5338 fi
5339
5340 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5341
5342 fi;
5343
5344 eval "$ac_cv_use_dynamicloader"
5345 if test "$no_cache" != 1; then
5346 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5347 fi
5348
5349 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5350 echo "$as_me:$LINENO: result: yes" >&5
5351 echo "${ECHO_T}yes" >&6
5352 else
5353 echo "$as_me:$LINENO: result: no" >&5
5354 echo "${ECHO_T}no" >&6
5355 fi
5356
5357
5358 enablestring=
5359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5361 no_cache=0
5362 # Check whether --enable-exceptions or --disable-exceptions was given.
5363 if test "${enable_exceptions+set}" = set; then
5364 enableval="$enable_exceptions"
5365
5366 if test "$enableval" = yes; then
5367 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5368 else
5369 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5370 fi
5371
5372 else
5373
5374 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5375 if test "x$LINE" != x ; then
5376 eval "DEFAULT_$LINE"
5377 else
5378 no_cache=1
5379 fi
5380
5381 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5382
5383 fi;
5384
5385 eval "$ac_cv_use_exceptions"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5388 fi
5389
5390 if test "$wxUSE_EXCEPTIONS" = yes; then
5391 echo "$as_me:$LINENO: result: yes" >&5
5392 echo "${ECHO_T}yes" >&6
5393 else
5394 echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6
5396 fi
5397
5398
5399 enablestring=
5400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5402 no_cache=0
5403 # Check whether --enable-ffile or --disable-ffile was given.
5404 if test "${enable_ffile+set}" = set; then
5405 enableval="$enable_ffile"
5406
5407 if test "$enableval" = yes; then
5408 ac_cv_use_ffile='wxUSE_FFILE=yes'
5409 else
5410 ac_cv_use_ffile='wxUSE_FFILE=no'
5411 fi
5412
5413 else
5414
5415 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x ; then
5417 eval "DEFAULT_$LINE"
5418 else
5419 no_cache=1
5420 fi
5421
5422 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5423
5424 fi;
5425
5426 eval "$ac_cv_use_ffile"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5429 fi
5430
5431 if test "$wxUSE_FFILE" = yes; then
5432 echo "$as_me:$LINENO: result: yes" >&5
5433 echo "${ECHO_T}yes" >&6
5434 else
5435 echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6
5437 fi
5438
5439
5440 enablestring=
5441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5443 no_cache=0
5444 # Check whether --enable-file or --disable-file was given.
5445 if test "${enable_file+set}" = set; then
5446 enableval="$enable_file"
5447
5448 if test "$enableval" = yes; then
5449 ac_cv_use_file='wxUSE_FILE=yes'
5450 else
5451 ac_cv_use_file='wxUSE_FILE=no'
5452 fi
5453
5454 else
5455
5456 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5457 if test "x$LINE" != x ; then
5458 eval "DEFAULT_$LINE"
5459 else
5460 no_cache=1
5461 fi
5462
5463 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5464
5465 fi;
5466
5467 eval "$ac_cv_use_file"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5470 fi
5471
5472 if test "$wxUSE_FILE" = yes; then
5473 echo "$as_me:$LINENO: result: yes" >&5
5474 echo "${ECHO_T}yes" >&6
5475 else
5476 echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6
5478 fi
5479
5480
5481 enablestring=
5482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5483 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5484 no_cache=0
5485 # Check whether --enable-filesystem or --disable-filesystem was given.
5486 if test "${enable_filesystem+set}" = set; then
5487 enableval="$enable_filesystem"
5488
5489 if test "$enableval" = yes; then
5490 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5491 else
5492 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5493 fi
5494
5495 else
5496
5497 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x ; then
5499 eval "DEFAULT_$LINE"
5500 else
5501 no_cache=1
5502 fi
5503
5504 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5505
5506 fi;
5507
5508 eval "$ac_cv_use_filesystem"
5509 if test "$no_cache" != 1; then
5510 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5511 fi
5512
5513 if test "$wxUSE_FILESYSTEM" = yes; then
5514 echo "$as_me:$LINENO: result: yes" >&5
5515 echo "${ECHO_T}yes" >&6
5516 else
5517 echo "$as_me:$LINENO: result: no" >&5
5518 echo "${ECHO_T}no" >&6
5519 fi
5520
5521
5522 enablestring=
5523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5525 no_cache=0
5526 # Check whether --enable-fontmap or --disable-fontmap was given.
5527 if test "${enable_fontmap+set}" = set; then
5528 enableval="$enable_fontmap"
5529
5530 if test "$enableval" = yes; then
5531 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5532 else
5533 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5534 fi
5535
5536 else
5537
5538 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5541 else
5542 no_cache=1
5543 fi
5544
5545 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5546
5547 fi;
5548
5549 eval "$ac_cv_use_fontmap"
5550 if test "$no_cache" != 1; then
5551 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5552 fi
5553
5554 if test "$wxUSE_FONTMAP" = yes; then
5555 echo "$as_me:$LINENO: result: yes" >&5
5556 echo "${ECHO_T}yes" >&6
5557 else
5558 echo "$as_me:$LINENO: result: no" >&5
5559 echo "${ECHO_T}no" >&6
5560 fi
5561
5562
5563 enablestring=
5564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5565 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5566 no_cache=0
5567 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5568 if test "${enable_fs_inet+set}" = set; then
5569 enableval="$enable_fs_inet"
5570
5571 if test "$enableval" = yes; then
5572 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5573 else
5574 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5575 fi
5576
5577 else
5578
5579 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x ; then
5581 eval "DEFAULT_$LINE"
5582 else
5583 no_cache=1
5584 fi
5585
5586 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5587
5588 fi;
5589
5590 eval "$ac_cv_use_fs_inet"
5591 if test "$no_cache" != 1; then
5592 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5593 fi
5594
5595 if test "$wxUSE_FS_INET" = yes; then
5596 echo "$as_me:$LINENO: result: yes" >&5
5597 echo "${ECHO_T}yes" >&6
5598 else
5599 echo "$as_me:$LINENO: result: no" >&5
5600 echo "${ECHO_T}no" >&6
5601 fi
5602
5603
5604 enablestring=
5605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5606 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5607 no_cache=0
5608 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5609 if test "${enable_fs_zip+set}" = set; then
5610 enableval="$enable_fs_zip"
5611
5612 if test "$enableval" = yes; then
5613 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5614 else
5615 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5616 fi
5617
5618 else
5619
5620 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x ; then
5622 eval "DEFAULT_$LINE"
5623 else
5624 no_cache=1
5625 fi
5626
5627 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5628
5629 fi;
5630
5631 eval "$ac_cv_use_fs_zip"
5632 if test "$no_cache" != 1; then
5633 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5634 fi
5635
5636 if test "$wxUSE_FS_ZIP" = yes; then
5637 echo "$as_me:$LINENO: result: yes" >&5
5638 echo "${ECHO_T}yes" >&6
5639 else
5640 echo "$as_me:$LINENO: result: no" >&5
5641 echo "${ECHO_T}no" >&6
5642 fi
5643
5644
5645 enablestring=
5646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5647 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5648 no_cache=0
5649 # Check whether --enable-geometry or --disable-geometry was given.
5650 if test "${enable_geometry+set}" = set; then
5651 enableval="$enable_geometry"
5652
5653 if test "$enableval" = yes; then
5654 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5655 else
5656 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5657 fi
5658
5659 else
5660
5661 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x ; then
5663 eval "DEFAULT_$LINE"
5664 else
5665 no_cache=1
5666 fi
5667
5668 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5669
5670 fi;
5671
5672 eval "$ac_cv_use_geometry"
5673 if test "$no_cache" != 1; then
5674 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5675 fi
5676
5677 if test "$wxUSE_GEOMETRY" = yes; then
5678 echo "$as_me:$LINENO: result: yes" >&5
5679 echo "${ECHO_T}yes" >&6
5680 else
5681 echo "$as_me:$LINENO: result: no" >&5
5682 echo "${ECHO_T}no" >&6
5683 fi
5684
5685
5686 enablestring=
5687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5688 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5689 no_cache=0
5690 # Check whether --enable-log or --disable-log was given.
5691 if test "${enable_log+set}" = set; then
5692 enableval="$enable_log"
5693
5694 if test "$enableval" = yes; then
5695 ac_cv_use_log='wxUSE_LOG=yes'
5696 else
5697 ac_cv_use_log='wxUSE_LOG=no'
5698 fi
5699
5700 else
5701
5702 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5705 else
5706 no_cache=1
5707 fi
5708
5709 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5710
5711 fi;
5712
5713 eval "$ac_cv_use_log"
5714 if test "$no_cache" != 1; then
5715 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5716 fi
5717
5718 if test "$wxUSE_LOG" = yes; then
5719 echo "$as_me:$LINENO: result: yes" >&5
5720 echo "${ECHO_T}yes" >&6
5721 else
5722 echo "$as_me:$LINENO: result: no" >&5
5723 echo "${ECHO_T}no" >&6
5724 fi
5725
5726
5727 enablestring=
5728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5729 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5730 no_cache=0
5731 # Check whether --enable-longlong or --disable-longlong was given.
5732 if test "${enable_longlong+set}" = set; then
5733 enableval="$enable_longlong"
5734
5735 if test "$enableval" = yes; then
5736 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5737 else
5738 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5739 fi
5740
5741 else
5742
5743 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5746 else
5747 no_cache=1
5748 fi
5749
5750 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5751
5752 fi;
5753
5754 eval "$ac_cv_use_longlong"
5755 if test "$no_cache" != 1; then
5756 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5757 fi
5758
5759 if test "$wxUSE_LONGLONG" = yes; then
5760 echo "$as_me:$LINENO: result: yes" >&5
5761 echo "${ECHO_T}yes" >&6
5762 else
5763 echo "$as_me:$LINENO: result: no" >&5
5764 echo "${ECHO_T}no" >&6
5765 fi
5766
5767
5768 enablestring=
5769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5770 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5771 no_cache=0
5772 # Check whether --enable-mimetype or --disable-mimetype was given.
5773 if test "${enable_mimetype+set}" = set; then
5774 enableval="$enable_mimetype"
5775
5776 if test "$enableval" = yes; then
5777 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5778 else
5779 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5780 fi
5781
5782 else
5783
5784 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5785 if test "x$LINE" != x ; then
5786 eval "DEFAULT_$LINE"
5787 else
5788 no_cache=1
5789 fi
5790
5791 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5792
5793 fi;
5794
5795 eval "$ac_cv_use_mimetype"
5796 if test "$no_cache" != 1; then
5797 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5798 fi
5799
5800 if test "$wxUSE_MIMETYPE" = yes; then
5801 echo "$as_me:$LINENO: result: yes" >&5
5802 echo "${ECHO_T}yes" >&6
5803 else
5804 echo "$as_me:$LINENO: result: no" >&5
5805 echo "${ECHO_T}no" >&6
5806 fi
5807
5808
5809 enablestring=
5810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5811 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5812 no_cache=0
5813 # Check whether --enable-mslu or --disable-mslu was given.
5814 if test "${enable_mslu+set}" = set; then
5815 enableval="$enable_mslu"
5816
5817 if test "$enableval" = yes; then
5818 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5819 else
5820 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5821 fi
5822
5823 else
5824
5825 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5826 if test "x$LINE" != x ; then
5827 eval "DEFAULT_$LINE"
5828 else
5829 no_cache=1
5830 fi
5831
5832 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5833
5834 fi;
5835
5836 eval "$ac_cv_use_mslu"
5837 if test "$no_cache" != 1; then
5838 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5839 fi
5840
5841 if test "$wxUSE_UNICODE_MSLU" = yes; then
5842 echo "$as_me:$LINENO: result: yes" >&5
5843 echo "${ECHO_T}yes" >&6
5844 else
5845 echo "$as_me:$LINENO: result: no" >&5
5846 echo "${ECHO_T}no" >&6
5847 fi
5848
5849
5850 enablestring=
5851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5852 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5853 no_cache=0
5854 # Check whether --enable-snglinst or --disable-snglinst was given.
5855 if test "${enable_snglinst+set}" = set; then
5856 enableval="$enable_snglinst"
5857
5858 if test "$enableval" = yes; then
5859 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5860 else
5861 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5862 fi
5863
5864 else
5865
5866 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5867 if test "x$LINE" != x ; then
5868 eval "DEFAULT_$LINE"
5869 else
5870 no_cache=1
5871 fi
5872
5873 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5874
5875 fi;
5876
5877 eval "$ac_cv_use_snglinst"
5878 if test "$no_cache" != 1; then
5879 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5880 fi
5881
5882 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5883 echo "$as_me:$LINENO: result: yes" >&5
5884 echo "${ECHO_T}yes" >&6
5885 else
5886 echo "$as_me:$LINENO: result: no" >&5
5887 echo "${ECHO_T}no" >&6
5888 fi
5889
5890
5891 enablestring=
5892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5893 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5894 no_cache=0
5895 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5896 if test "${enable_std_iostreams+set}" = set; then
5897 enableval="$enable_std_iostreams"
5898
5899 if test "$enableval" = yes; then
5900 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5901 else
5902 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5903 fi
5904
5905 else
5906
5907 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5908 if test "x$LINE" != x ; then
5909 eval "DEFAULT_$LINE"
5910 else
5911 no_cache=1
5912 fi
5913
5914 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5915
5916 fi;
5917
5918 eval "$ac_cv_use_std_iostreams"
5919 if test "$no_cache" != 1; then
5920 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5921 fi
5922
5923 if test "$wxUSE_STD_IOSTREAM" = yes; then
5924 echo "$as_me:$LINENO: result: yes" >&5
5925 echo "${ECHO_T}yes" >&6
5926 else
5927 echo "$as_me:$LINENO: result: no" >&5
5928 echo "${ECHO_T}no" >&6
5929 fi
5930
5931
5932 enablestring=
5933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5934 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5935 no_cache=0
5936 # Check whether --enable-std_string or --disable-std_string was given.
5937 if test "${enable_std_string+set}" = set; then
5938 enableval="$enable_std_string"
5939
5940 if test "$enableval" = yes; then
5941 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5942 else
5943 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5944 fi
5945
5946 else
5947
5948 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x ; then
5950 eval "DEFAULT_$LINE"
5951 else
5952 no_cache=1
5953 fi
5954
5955 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5956
5957 fi;
5958
5959 eval "$ac_cv_use_std_string"
5960 if test "$no_cache" != 1; then
5961 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5962 fi
5963
5964 if test "$wxUSE_STD_STRING" = yes; then
5965 echo "$as_me:$LINENO: result: yes" >&5
5966 echo "${ECHO_T}yes" >&6
5967 else
5968 echo "$as_me:$LINENO: result: no" >&5
5969 echo "${ECHO_T}no" >&6
5970 fi
5971
5972
5973 enablestring=
5974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5976 no_cache=0
5977 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5978 if test "${enable_stdpaths+set}" = set; then
5979 enableval="$enable_stdpaths"
5980
5981 if test "$enableval" = yes; then
5982 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5983 else
5984 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5985 fi
5986
5987 else
5988
5989 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5990 if test "x$LINE" != x ; then
5991 eval "DEFAULT_$LINE"
5992 else
5993 no_cache=1
5994 fi
5995
5996 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5997
5998 fi;
5999
6000 eval "$ac_cv_use_stdpaths"
6001 if test "$no_cache" != 1; then
6002 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6003 fi
6004
6005 if test "$wxUSE_STDPATHS" = yes; then
6006 echo "$as_me:$LINENO: result: yes" >&5
6007 echo "${ECHO_T}yes" >&6
6008 else
6009 echo "$as_me:$LINENO: result: no" >&5
6010 echo "${ECHO_T}no" >&6
6011 fi
6012
6013
6014 enablestring=
6015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6016 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6017 no_cache=0
6018 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6019 if test "${enable_stopwatch+set}" = set; then
6020 enableval="$enable_stopwatch"
6021
6022 if test "$enableval" = yes; then
6023 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6024 else
6025 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6026 fi
6027
6028 else
6029
6030 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6031 if test "x$LINE" != x ; then
6032 eval "DEFAULT_$LINE"
6033 else
6034 no_cache=1
6035 fi
6036
6037 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6038
6039 fi;
6040
6041 eval "$ac_cv_use_stopwatch"
6042 if test "$no_cache" != 1; then
6043 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6044 fi
6045
6046 if test "$wxUSE_STOPWATCH" = yes; then
6047 echo "$as_me:$LINENO: result: yes" >&5
6048 echo "${ECHO_T}yes" >&6
6049 else
6050 echo "$as_me:$LINENO: result: no" >&5
6051 echo "${ECHO_T}no" >&6
6052 fi
6053
6054
6055 enablestring=
6056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6057 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6058 no_cache=0
6059 # Check whether --enable-streams or --disable-streams was given.
6060 if test "${enable_streams+set}" = set; then
6061 enableval="$enable_streams"
6062
6063 if test "$enableval" = yes; then
6064 ac_cv_use_streams='wxUSE_STREAMS=yes'
6065 else
6066 ac_cv_use_streams='wxUSE_STREAMS=no'
6067 fi
6068
6069 else
6070
6071 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6072 if test "x$LINE" != x ; then
6073 eval "DEFAULT_$LINE"
6074 else
6075 no_cache=1
6076 fi
6077
6078 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6079
6080 fi;
6081
6082 eval "$ac_cv_use_streams"
6083 if test "$no_cache" != 1; then
6084 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6085 fi
6086
6087 if test "$wxUSE_STREAMS" = yes; then
6088 echo "$as_me:$LINENO: result: yes" >&5
6089 echo "${ECHO_T}yes" >&6
6090 else
6091 echo "$as_me:$LINENO: result: no" >&5
6092 echo "${ECHO_T}no" >&6
6093 fi
6094
6095
6096 enablestring=
6097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6098 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6099 no_cache=0
6100 # Check whether --enable-system_options or --disable-system_options was given.
6101 if test "${enable_system_options+set}" = set; then
6102 enableval="$enable_system_options"
6103
6104 if test "$enableval" = yes; then
6105 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6106 else
6107 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6108 fi
6109
6110 else
6111
6112 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6113 if test "x$LINE" != x ; then
6114 eval "DEFAULT_$LINE"
6115 else
6116 no_cache=1
6117 fi
6118
6119 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6120
6121 fi;
6122
6123 eval "$ac_cv_use_system_options"
6124 if test "$no_cache" != 1; then
6125 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6126 fi
6127
6128 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6129 echo "$as_me:$LINENO: result: yes" >&5
6130 echo "${ECHO_T}yes" >&6
6131 else
6132 echo "$as_me:$LINENO: result: no" >&5
6133 echo "${ECHO_T}no" >&6
6134 fi
6135
6136
6137 enablestring=
6138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6139 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6140 no_cache=0
6141 # Check whether --enable-textbuf or --disable-textbuf was given.
6142 if test "${enable_textbuf+set}" = set; then
6143 enableval="$enable_textbuf"
6144
6145 if test "$enableval" = yes; then
6146 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6147 else
6148 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6149 fi
6150
6151 else
6152
6153 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6154 if test "x$LINE" != x ; then
6155 eval "DEFAULT_$LINE"
6156 else
6157 no_cache=1
6158 fi
6159
6160 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6161
6162 fi;
6163
6164 eval "$ac_cv_use_textbuf"
6165 if test "$no_cache" != 1; then
6166 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6167 fi
6168
6169 if test "$wxUSE_TEXTBUFFER" = yes; then
6170 echo "$as_me:$LINENO: result: yes" >&5
6171 echo "${ECHO_T}yes" >&6
6172 else
6173 echo "$as_me:$LINENO: result: no" >&5
6174 echo "${ECHO_T}no" >&6
6175 fi
6176
6177
6178 enablestring=
6179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6180 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6181 no_cache=0
6182 # Check whether --enable-textfile or --disable-textfile was given.
6183 if test "${enable_textfile+set}" = set; then
6184 enableval="$enable_textfile"
6185
6186 if test "$enableval" = yes; then
6187 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6188 else
6189 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6190 fi
6191
6192 else
6193
6194 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6195 if test "x$LINE" != x ; then
6196 eval "DEFAULT_$LINE"
6197 else
6198 no_cache=1
6199 fi
6200
6201 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6202
6203 fi;
6204
6205 eval "$ac_cv_use_textfile"
6206 if test "$no_cache" != 1; then
6207 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6208 fi
6209
6210 if test "$wxUSE_TEXTFILE" = yes; then
6211 echo "$as_me:$LINENO: result: yes" >&5
6212 echo "${ECHO_T}yes" >&6
6213 else
6214 echo "$as_me:$LINENO: result: no" >&5
6215 echo "${ECHO_T}no" >&6
6216 fi
6217
6218
6219 enablestring=
6220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6221 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6222 no_cache=0
6223 # Check whether --enable-timer or --disable-timer was given.
6224 if test "${enable_timer+set}" = set; then
6225 enableval="$enable_timer"
6226
6227 if test "$enableval" = yes; then
6228 ac_cv_use_timer='wxUSE_TIMER=yes'
6229 else
6230 ac_cv_use_timer='wxUSE_TIMER=no'
6231 fi
6232
6233 else
6234
6235 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6236 if test "x$LINE" != x ; then
6237 eval "DEFAULT_$LINE"
6238 else
6239 no_cache=1
6240 fi
6241
6242 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6243
6244 fi;
6245
6246 eval "$ac_cv_use_timer"
6247 if test "$no_cache" != 1; then
6248 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6249 fi
6250
6251 if test "$wxUSE_TIMER" = yes; then
6252 echo "$as_me:$LINENO: result: yes" >&5
6253 echo "${ECHO_T}yes" >&6
6254 else
6255 echo "$as_me:$LINENO: result: no" >&5
6256 echo "${ECHO_T}no" >&6
6257 fi
6258
6259
6260 enablestring=
6261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6262 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6263 no_cache=0
6264 # Check whether --enable-unicode or --disable-unicode was given.
6265 if test "${enable_unicode+set}" = set; then
6266 enableval="$enable_unicode"
6267
6268 if test "$enableval" = yes; then
6269 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6270 else
6271 ac_cv_use_unicode='wxUSE_UNICODE=no'
6272 fi
6273
6274 else
6275
6276 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6277 if test "x$LINE" != x ; then
6278 eval "DEFAULT_$LINE"
6279 else
6280 no_cache=1
6281 fi
6282
6283 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6284
6285 fi;
6286
6287 eval "$ac_cv_use_unicode"
6288 if test "$no_cache" != 1; then
6289 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6290 fi
6291
6292 if test "$wxUSE_UNICODE" = yes; then
6293 echo "$as_me:$LINENO: result: yes" >&5
6294 echo "${ECHO_T}yes" >&6
6295 else
6296 echo "$as_me:$LINENO: result: no" >&5
6297 echo "${ECHO_T}no" >&6
6298 fi
6299
6300
6301 enablestring=
6302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6303 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6304 no_cache=0
6305 # Check whether --enable-sound or --disable-sound was given.
6306 if test "${enable_sound+set}" = set; then
6307 enableval="$enable_sound"
6308
6309 if test "$enableval" = yes; then
6310 ac_cv_use_sound='wxUSE_SOUND=yes'
6311 else
6312 ac_cv_use_sound='wxUSE_SOUND=no'
6313 fi
6314
6315 else
6316
6317 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6318 if test "x$LINE" != x ; then
6319 eval "DEFAULT_$LINE"
6320 else
6321 no_cache=1
6322 fi
6323
6324 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6325
6326 fi;
6327
6328 eval "$ac_cv_use_sound"
6329 if test "$no_cache" != 1; then
6330 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6331 fi
6332
6333 if test "$wxUSE_SOUND" = yes; then
6334 echo "$as_me:$LINENO: result: yes" >&5
6335 echo "${ECHO_T}yes" >&6
6336 else
6337 echo "$as_me:$LINENO: result: no" >&5
6338 echo "${ECHO_T}no" >&6
6339 fi
6340
6341
6342 enablestring=
6343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6344 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6345 no_cache=0
6346 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6347 if test "${enable_mediactrl+set}" = set; then
6348 enableval="$enable_mediactrl"
6349
6350 if test "$enableval" = yes; then
6351 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6352 else
6353 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6354 fi
6355
6356 else
6357
6358 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x ; then
6360 eval "DEFAULT_$LINE"
6361 else
6362 no_cache=1
6363 fi
6364
6365 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6366
6367 fi;
6368
6369 eval "$ac_cv_use_mediactrl"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6372 fi
6373
6374 if test "$wxUSE_MEDIACTRL" = yes; then
6375 echo "$as_me:$LINENO: result: yes" >&5
6376 echo "${ECHO_T}yes" >&6
6377 else
6378 echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6
6380 fi
6381
6382
6383 enablestring=
6384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6385 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6386 no_cache=0
6387 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6388 if test "${enable_gstreamer8+set}" = set; then
6389 enableval="$enable_gstreamer8"
6390
6391 if test "$enableval" = yes; then
6392 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6393 else
6394 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6395 fi
6396
6397 else
6398
6399 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6400 if test "x$LINE" != x ; then
6401 eval "DEFAULT_$LINE"
6402 else
6403 no_cache=1
6404 fi
6405
6406 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6407
6408 fi;
6409
6410 eval "$ac_cv_use_gstreamer8"
6411 if test "$no_cache" != 1; then
6412 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6413 fi
6414
6415 if test "$wxUSE_GSTREAMER8" = yes; then
6416 echo "$as_me:$LINENO: result: yes" >&5
6417 echo "${ECHO_T}yes" >&6
6418 else
6419 echo "$as_me:$LINENO: result: no" >&5
6420 echo "${ECHO_T}no" >&6
6421 fi
6422
6423
6424 enablestring=
6425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6426 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6427 no_cache=0
6428 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6429 if test "${enable_printfposparam+set}" = set; then
6430 enableval="$enable_printfposparam"
6431
6432 if test "$enableval" = yes; then
6433 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6434 else
6435 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6436 fi
6437
6438 else
6439
6440 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6441 if test "x$LINE" != x ; then
6442 eval "DEFAULT_$LINE"
6443 else
6444 no_cache=1
6445 fi
6446
6447 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6448
6449 fi;
6450
6451 eval "$ac_cv_use_printfposparam"
6452 if test "$no_cache" != 1; then
6453 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6454 fi
6455
6456 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6457 echo "$as_me:$LINENO: result: yes" >&5
6458 echo "${ECHO_T}yes" >&6
6459 else
6460 echo "$as_me:$LINENO: result: no" >&5
6461 echo "${ECHO_T}no" >&6
6462 fi
6463
6464
6465 enablestring=
6466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6468 no_cache=0
6469 # Check whether --enable-zipstream or --disable-zipstream was given.
6470 if test "${enable_zipstream+set}" = set; then
6471 enableval="$enable_zipstream"
6472
6473 if test "$enableval" = yes; then
6474 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6475 else
6476 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6477 fi
6478
6479 else
6480
6481 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6482 if test "x$LINE" != x ; then
6483 eval "DEFAULT_$LINE"
6484 else
6485 no_cache=1
6486 fi
6487
6488 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6489
6490 fi;
6491
6492 eval "$ac_cv_use_zipstream"
6493 if test "$no_cache" != 1; then
6494 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6495 fi
6496
6497 if test "$wxUSE_ZIPSTREAM" = yes; then
6498 echo "$as_me:$LINENO: result: yes" >&5
6499 echo "${ECHO_T}yes" >&6
6500 else
6501 echo "$as_me:$LINENO: result: no" >&5
6502 echo "${ECHO_T}no" >&6
6503 fi
6504
6505
6506
6507 enablestring=
6508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6509 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6510 no_cache=0
6511 # Check whether --enable-url or --disable-url was given.
6512 if test "${enable_url+set}" = set; then
6513 enableval="$enable_url"
6514
6515 if test "$enableval" = yes; then
6516 ac_cv_use_url='wxUSE_URL=yes'
6517 else
6518 ac_cv_use_url='wxUSE_URL=no'
6519 fi
6520
6521 else
6522
6523 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6524 if test "x$LINE" != x ; then
6525 eval "DEFAULT_$LINE"
6526 else
6527 no_cache=1
6528 fi
6529
6530 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6531
6532 fi;
6533
6534 eval "$ac_cv_use_url"
6535 if test "$no_cache" != 1; then
6536 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6537 fi
6538
6539 if test "$wxUSE_URL" = yes; then
6540 echo "$as_me:$LINENO: result: yes" >&5
6541 echo "${ECHO_T}yes" >&6
6542 else
6543 echo "$as_me:$LINENO: result: no" >&5
6544 echo "${ECHO_T}no" >&6
6545 fi
6546
6547
6548 enablestring=
6549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6550 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6551 no_cache=0
6552 # Check whether --enable-variant or --disable-variant was given.
6553 if test "${enable_variant+set}" = set; then
6554 enableval="$enable_variant"
6555
6556 if test "$enableval" = yes; then
6557 ac_cv_use_variant='wxUSE_VARIANT=yes'
6558 else
6559 ac_cv_use_variant='wxUSE_VARIANT=no'
6560 fi
6561
6562 else
6563
6564 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6565 if test "x$LINE" != x ; then
6566 eval "DEFAULT_$LINE"
6567 else
6568 no_cache=1
6569 fi
6570
6571 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6572
6573 fi;
6574
6575 eval "$ac_cv_use_variant"
6576 if test "$no_cache" != 1; then
6577 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6578 fi
6579
6580 if test "$wxUSE_VARIANT" = yes; then
6581 echo "$as_me:$LINENO: result: yes" >&5
6582 echo "${ECHO_T}yes" >&6
6583 else
6584 echo "$as_me:$LINENO: result: no" >&5
6585 echo "${ECHO_T}no" >&6
6586 fi
6587
6588
6589 enablestring=
6590 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6591 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6592 no_cache=0
6593 # Check whether --enable-protocol or --disable-protocol was given.
6594 if test "${enable_protocol+set}" = set; then
6595 enableval="$enable_protocol"
6596
6597 if test "$enableval" = yes; then
6598 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6599 else
6600 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6601 fi
6602
6603 else
6604
6605 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6606 if test "x$LINE" != x ; then
6607 eval "DEFAULT_$LINE"
6608 else
6609 no_cache=1
6610 fi
6611
6612 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6613
6614 fi;
6615
6616 eval "$ac_cv_use_protocol"
6617 if test "$no_cache" != 1; then
6618 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6619 fi
6620
6621 if test "$wxUSE_PROTOCOL" = yes; then
6622 echo "$as_me:$LINENO: result: yes" >&5
6623 echo "${ECHO_T}yes" >&6
6624 else
6625 echo "$as_me:$LINENO: result: no" >&5
6626 echo "${ECHO_T}no" >&6
6627 fi
6628
6629
6630 enablestring=
6631 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6632 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6633 no_cache=0
6634 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6635 if test "${enable_protocol_http+set}" = set; then
6636 enableval="$enable_protocol_http"
6637
6638 if test "$enableval" = yes; then
6639 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6640 else
6641 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6642 fi
6643
6644 else
6645
6646 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6647 if test "x$LINE" != x ; then
6648 eval "DEFAULT_$LINE"
6649 else
6650 no_cache=1
6651 fi
6652
6653 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6654
6655 fi;
6656
6657 eval "$ac_cv_use_protocol_http"
6658 if test "$no_cache" != 1; then
6659 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6660 fi
6661
6662 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6663 echo "$as_me:$LINENO: result: yes" >&5
6664 echo "${ECHO_T}yes" >&6
6665 else
6666 echo "$as_me:$LINENO: result: no" >&5
6667 echo "${ECHO_T}no" >&6
6668 fi
6669
6670
6671 enablestring=
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6674 no_cache=0
6675 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6676 if test "${enable_protocol_ftp+set}" = set; then
6677 enableval="$enable_protocol_ftp"
6678
6679 if test "$enableval" = yes; then
6680 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6681 else
6682 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6683 fi
6684
6685 else
6686
6687 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x ; then
6689 eval "DEFAULT_$LINE"
6690 else
6691 no_cache=1
6692 fi
6693
6694 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6695
6696 fi;
6697
6698 eval "$ac_cv_use_protocol_ftp"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6701 fi
6702
6703 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6706 else
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6709 fi
6710
6711
6712 enablestring=
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6715 no_cache=0
6716 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6717 if test "${enable_protocol_file+set}" = set; then
6718 enableval="$enable_protocol_file"
6719
6720 if test "$enableval" = yes; then
6721 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6722 else
6723 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6724 fi
6725
6726 else
6727
6728 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x ; then
6730 eval "DEFAULT_$LINE"
6731 else
6732 no_cache=1
6733 fi
6734
6735 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6736
6737 fi;
6738
6739 eval "$ac_cv_use_protocol_file"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6742 fi
6743
6744 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6747 else
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6750 fi
6751
6752
6753
6754
6755
6756 enablestring=
6757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6758 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6759 no_cache=0
6760 # Check whether --enable-threads or --disable-threads was given.
6761 if test "${enable_threads+set}" = set; then
6762 enableval="$enable_threads"
6763
6764 if test "$enableval" = yes; then
6765 ac_cv_use_threads='wxUSE_THREADS=yes'
6766 else
6767 ac_cv_use_threads='wxUSE_THREADS=no'
6768 fi
6769
6770 else
6771
6772 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6773 if test "x$LINE" != x ; then
6774 eval "DEFAULT_$LINE"
6775 else
6776 no_cache=1
6777 fi
6778
6779 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6780
6781 fi;
6782
6783 eval "$ac_cv_use_threads"
6784 if test "$no_cache" != 1; then
6785 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6786 fi
6787
6788 if test "$wxUSE_THREADS" = yes; then
6789 echo "$as_me:$LINENO: result: yes" >&5
6790 echo "${ECHO_T}yes" >&6
6791 else
6792 echo "$as_me:$LINENO: result: no" >&5
6793 echo "${ECHO_T}no" >&6
6794 fi
6795
6796
6797 if test "$wxUSE_GUI" = "yes"; then
6798
6799
6800
6801 enablestring=
6802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6803 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6804 no_cache=0
6805 # Check whether --enable-docview or --disable-docview was given.
6806 if test "${enable_docview+set}" = set; then
6807 enableval="$enable_docview"
6808
6809 if test "$enableval" = yes; then
6810 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6811 else
6812 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6813 fi
6814
6815 else
6816
6817 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6818 if test "x$LINE" != x ; then
6819 eval "DEFAULT_$LINE"
6820 else
6821 no_cache=1
6822 fi
6823
6824 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6825
6826 fi;
6827
6828 eval "$ac_cv_use_docview"
6829 if test "$no_cache" != 1; then
6830 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6831 fi
6832
6833 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6834 echo "$as_me:$LINENO: result: yes" >&5
6835 echo "${ECHO_T}yes" >&6
6836 else
6837 echo "$as_me:$LINENO: result: no" >&5
6838 echo "${ECHO_T}no" >&6
6839 fi
6840
6841
6842 enablestring=
6843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6844 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6845 no_cache=0
6846 # Check whether --enable-help or --disable-help was given.
6847 if test "${enable_help+set}" = set; then
6848 enableval="$enable_help"
6849
6850 if test "$enableval" = yes; then
6851 ac_cv_use_help='wxUSE_HELP=yes'
6852 else
6853 ac_cv_use_help='wxUSE_HELP=no'
6854 fi
6855
6856 else
6857
6858 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6859 if test "x$LINE" != x ; then
6860 eval "DEFAULT_$LINE"
6861 else
6862 no_cache=1
6863 fi
6864
6865 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6866
6867 fi;
6868
6869 eval "$ac_cv_use_help"
6870 if test "$no_cache" != 1; then
6871 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6872 fi
6873
6874 if test "$wxUSE_HELP" = yes; then
6875 echo "$as_me:$LINENO: result: yes" >&5
6876 echo "${ECHO_T}yes" >&6
6877 else
6878 echo "$as_me:$LINENO: result: no" >&5
6879 echo "${ECHO_T}no" >&6
6880 fi
6881
6882
6883 enablestring=
6884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6885 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6886 no_cache=0
6887 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6888 if test "${enable_mshtmlhelp+set}" = set; then
6889 enableval="$enable_mshtmlhelp"
6890
6891 if test "$enableval" = yes; then
6892 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6893 else
6894 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6895 fi
6896
6897 else
6898
6899 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6900 if test "x$LINE" != x ; then
6901 eval "DEFAULT_$LINE"
6902 else
6903 no_cache=1
6904 fi
6905
6906 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6907
6908 fi;
6909
6910 eval "$ac_cv_use_mshtmlhelp"
6911 if test "$no_cache" != 1; then
6912 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6913 fi
6914
6915 if test "$wxUSE_MS_HTML_HELP" = yes; then
6916 echo "$as_me:$LINENO: result: yes" >&5
6917 echo "${ECHO_T}yes" >&6
6918 else
6919 echo "$as_me:$LINENO: result: no" >&5
6920 echo "${ECHO_T}no" >&6
6921 fi
6922
6923
6924 enablestring=
6925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6926 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6927 no_cache=0
6928 # Check whether --enable-html or --disable-html was given.
6929 if test "${enable_html+set}" = set; then
6930 enableval="$enable_html"
6931
6932 if test "$enableval" = yes; then
6933 ac_cv_use_html='wxUSE_HTML=yes'
6934 else
6935 ac_cv_use_html='wxUSE_HTML=no'
6936 fi
6937
6938 else
6939
6940 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6941 if test "x$LINE" != x ; then
6942 eval "DEFAULT_$LINE"
6943 else
6944 no_cache=1
6945 fi
6946
6947 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6948
6949 fi;
6950
6951 eval "$ac_cv_use_html"
6952 if test "$no_cache" != 1; then
6953 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6954 fi
6955
6956 if test "$wxUSE_HTML" = yes; then
6957 echo "$as_me:$LINENO: result: yes" >&5
6958 echo "${ECHO_T}yes" >&6
6959 else
6960 echo "$as_me:$LINENO: result: no" >&5
6961 echo "${ECHO_T}no" >&6
6962 fi
6963
6964
6965 enablestring=
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6968 no_cache=0
6969 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6970 if test "${enable_htmlhelp+set}" = set; then
6971 enableval="$enable_htmlhelp"
6972
6973 if test "$enableval" = yes; then
6974 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6975 else
6976 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6977 fi
6978
6979 else
6980
6981 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x ; then
6983 eval "DEFAULT_$LINE"
6984 else
6985 no_cache=1
6986 fi
6987
6988 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6989
6990 fi;
6991
6992 eval "$ac_cv_use_htmlhelp"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6995 fi
6996
6997 if test "$wxUSE_WXHTML_HELP" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999 echo "${ECHO_T}yes" >&6
7000 else
7001 echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6
7003 fi
7004
7005
7006 enablestring=
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7009 no_cache=0
7010 # Check whether --enable-xrc or --disable-xrc was given.
7011 if test "${enable_xrc+set}" = set; then
7012 enableval="$enable_xrc"
7013
7014 if test "$enableval" = yes; then
7015 ac_cv_use_xrc='wxUSE_XRC=yes'
7016 else
7017 ac_cv_use_xrc='wxUSE_XRC=no'
7018 fi
7019
7020 else
7021
7022 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x ; then
7024 eval "DEFAULT_$LINE"
7025 else
7026 no_cache=1
7027 fi
7028
7029 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7030
7031 fi;
7032
7033 eval "$ac_cv_use_xrc"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7036 fi
7037
7038 if test "$wxUSE_XRC" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7041 else
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7044 fi
7045
7046
7047 enablestring=
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7050 no_cache=0
7051 # Check whether --enable-aui or --disable-aui was given.
7052 if test "${enable_aui+set}" = set; then
7053 enableval="$enable_aui"
7054
7055 if test "$enableval" = yes; then
7056 ac_cv_use_aui='wxUSE_AUI=yes'
7057 else
7058 ac_cv_use_aui='wxUSE_AUI=no'
7059 fi
7060
7061 else
7062
7063 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x ; then
7065 eval "DEFAULT_$LINE"
7066 else
7067 no_cache=1
7068 fi
7069
7070 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7071
7072 fi;
7073
7074 eval "$ac_cv_use_aui"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7077 fi
7078
7079 if test "$wxUSE_AUI" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7082 else
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7085 fi
7086
7087
7088 enablestring=
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7091 no_cache=0
7092 # Check whether --enable-constraints or --disable-constraints was given.
7093 if test "${enable_constraints+set}" = set; then
7094 enableval="$enable_constraints"
7095
7096 if test "$enableval" = yes; then
7097 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7098 else
7099 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7100 fi
7101
7102 else
7103
7104 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x ; then
7106 eval "DEFAULT_$LINE"
7107 else
7108 no_cache=1
7109 fi
7110
7111 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7112
7113 fi;
7114
7115 eval "$ac_cv_use_constraints"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7118 fi
7119
7120 if test "$wxUSE_CONSTRAINTS" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122 echo "${ECHO_T}yes" >&6
7123 else
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7126 fi
7127
7128
7129 enablestring=
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7132 no_cache=0
7133 # Check whether --enable-printarch or --disable-printarch was given.
7134 if test "${enable_printarch+set}" = set; then
7135 enableval="$enable_printarch"
7136
7137 if test "$enableval" = yes; then
7138 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7139 else
7140 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7141 fi
7142
7143 else
7144
7145 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x ; then
7147 eval "DEFAULT_$LINE"
7148 else
7149 no_cache=1
7150 fi
7151
7152 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7153
7154 fi;
7155
7156 eval "$ac_cv_use_printarch"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7159 fi
7160
7161 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163 echo "${ECHO_T}yes" >&6
7164 else
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7167 fi
7168
7169
7170 enablestring=
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7173 no_cache=0
7174 # Check whether --enable-mdi or --disable-mdi was given.
7175 if test "${enable_mdi+set}" = set; then
7176 enableval="$enable_mdi"
7177
7178 if test "$enableval" = yes; then
7179 ac_cv_use_mdi='wxUSE_MDI=yes'
7180 else
7181 ac_cv_use_mdi='wxUSE_MDI=no'
7182 fi
7183
7184 else
7185
7186 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x ; then
7188 eval "DEFAULT_$LINE"
7189 else
7190 no_cache=1
7191 fi
7192
7193 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7194
7195 fi;
7196
7197 eval "$ac_cv_use_mdi"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7200 fi
7201
7202 if test "$wxUSE_MDI" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204 echo "${ECHO_T}yes" >&6
7205 else
7206 echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6
7208 fi
7209
7210
7211 enablestring=
7212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7214 no_cache=0
7215 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7216 if test "${enable_mdidoc+set}" = set; then
7217 enableval="$enable_mdidoc"
7218
7219 if test "$enableval" = yes; then
7220 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7221 else
7222 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7223 fi
7224
7225 else
7226
7227 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7228 if test "x$LINE" != x ; then
7229 eval "DEFAULT_$LINE"
7230 else
7231 no_cache=1
7232 fi
7233
7234 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7235
7236 fi;
7237
7238 eval "$ac_cv_use_mdidoc"
7239 if test "$no_cache" != 1; then
7240 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7241 fi
7242
7243 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7244 echo "$as_me:$LINENO: result: yes" >&5
7245 echo "${ECHO_T}yes" >&6
7246 else
7247 echo "$as_me:$LINENO: result: no" >&5
7248 echo "${ECHO_T}no" >&6
7249 fi
7250
7251
7252 enablestring=
7253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7255 no_cache=0
7256 # Check whether --enable-loggui or --disable-loggui was given.
7257 if test "${enable_loggui+set}" = set; then
7258 enableval="$enable_loggui"
7259
7260 if test "$enableval" = yes; then
7261 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7262 else
7263 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7264 fi
7265
7266 else
7267
7268 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x ; then
7270 eval "DEFAULT_$LINE"
7271 else
7272 no_cache=1
7273 fi
7274
7275 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7276
7277 fi;
7278
7279 eval "$ac_cv_use_loggui"
7280 if test "$no_cache" != 1; then
7281 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7282 fi
7283
7284 if test "$wxUSE_LOGGUI" = yes; then
7285 echo "$as_me:$LINENO: result: yes" >&5
7286 echo "${ECHO_T}yes" >&6
7287 else
7288 echo "$as_me:$LINENO: result: no" >&5
7289 echo "${ECHO_T}no" >&6
7290 fi
7291
7292
7293 enablestring=
7294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7295 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7296 no_cache=0
7297 # Check whether --enable-logwin or --disable-logwin was given.
7298 if test "${enable_logwin+set}" = set; then
7299 enableval="$enable_logwin"
7300
7301 if test "$enableval" = yes; then
7302 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7303 else
7304 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7305 fi
7306
7307 else
7308
7309 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7310 if test "x$LINE" != x ; then
7311 eval "DEFAULT_$LINE"
7312 else
7313 no_cache=1
7314 fi
7315
7316 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7317
7318 fi;
7319
7320 eval "$ac_cv_use_logwin"
7321 if test "$no_cache" != 1; then
7322 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7323 fi
7324
7325 if test "$wxUSE_LOGWINDOW" = yes; then
7326 echo "$as_me:$LINENO: result: yes" >&5
7327 echo "${ECHO_T}yes" >&6
7328 else
7329 echo "$as_me:$LINENO: result: no" >&5
7330 echo "${ECHO_T}no" >&6
7331 fi
7332
7333
7334 enablestring=
7335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7336 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7337 no_cache=0
7338 # Check whether --enable-logdialog or --disable-logdialog was given.
7339 if test "${enable_logdialog+set}" = set; then
7340 enableval="$enable_logdialog"
7341
7342 if test "$enableval" = yes; then
7343 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7344 else
7345 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7346 fi
7347
7348 else
7349
7350 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7351 if test "x$LINE" != x ; then
7352 eval "DEFAULT_$LINE"
7353 else
7354 no_cache=1
7355 fi
7356
7357 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7358
7359 fi;
7360
7361 eval "$ac_cv_use_logdialog"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7364 fi
7365
7366 if test "$wxUSE_LOGDIALOG" = yes; then
7367 echo "$as_me:$LINENO: result: yes" >&5
7368 echo "${ECHO_T}yes" >&6
7369 else
7370 echo "$as_me:$LINENO: result: no" >&5
7371 echo "${ECHO_T}no" >&6
7372 fi
7373
7374
7375 enablestring=
7376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7377 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7378 no_cache=0
7379 # Check whether --enable-webkit or --disable-webkit was given.
7380 if test "${enable_webkit+set}" = set; then
7381 enableval="$enable_webkit"
7382
7383 if test "$enableval" = yes; then
7384 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7385 else
7386 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7387 fi
7388
7389 else
7390
7391 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x ; then
7393 eval "DEFAULT_$LINE"
7394 else
7395 no_cache=1
7396 fi
7397
7398 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7399
7400 fi;
7401
7402 eval "$ac_cv_use_webkit"
7403 if test "$no_cache" != 1; then
7404 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7405 fi
7406
7407 if test "$wxUSE_WEBKIT" = yes; then
7408 echo "$as_me:$LINENO: result: yes" >&5
7409 echo "${ECHO_T}yes" >&6
7410 else
7411 echo "$as_me:$LINENO: result: no" >&5
7412 echo "${ECHO_T}no" >&6
7413 fi
7414
7415
7416 enablestring=
7417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7418 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7419 no_cache=0
7420 # Check whether --enable-html or --disable-html was given.
7421 if test "${enable_html+set}" = set; then
7422 enableval="$enable_html"
7423
7424 if test "$enableval" = yes; then
7425 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7426 else
7427 ac_cv_use_html='wxUSE_RICHTEXT=no'
7428 fi
7429
7430 else
7431
7432 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x ; then
7434 eval "DEFAULT_$LINE"
7435 else
7436 no_cache=1
7437 fi
7438
7439 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7440
7441 fi;
7442
7443 eval "$ac_cv_use_html"
7444 if test "$no_cache" != 1; then
7445 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7446 fi
7447
7448 if test "$wxUSE_RICHTEXT" = yes; then
7449 echo "$as_me:$LINENO: result: yes" >&5
7450 echo "${ECHO_T}yes" >&6
7451 else
7452 echo "$as_me:$LINENO: result: no" >&5
7453 echo "${ECHO_T}no" >&6
7454 fi
7455
7456
7457
7458 enablestring=
7459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7460 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7461 no_cache=0
7462 # Check whether --enable-postscript or --disable-postscript was given.
7463 if test "${enable_postscript+set}" = set; then
7464 enableval="$enable_postscript"
7465
7466 if test "$enableval" = yes; then
7467 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7468 else
7469 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7470 fi
7471
7472 else
7473
7474 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7475 if test "x$LINE" != x ; then
7476 eval "DEFAULT_$LINE"
7477 else
7478 no_cache=1
7479 fi
7480
7481 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7482
7483 fi;
7484
7485 eval "$ac_cv_use_postscript"
7486 if test "$no_cache" != 1; then
7487 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7488 fi
7489
7490 if test "$wxUSE_POSTSCRIPT" = yes; then
7491 echo "$as_me:$LINENO: result: yes" >&5
7492 echo "${ECHO_T}yes" >&6
7493 else
7494 echo "$as_me:$LINENO: result: no" >&5
7495 echo "${ECHO_T}no" >&6
7496 fi
7497
7498
7499
7500
7501
7502 enablestring=
7503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7504 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7505 no_cache=0
7506 # Check whether --enable-prologio or --disable-prologio was given.
7507 if test "${enable_prologio+set}" = set; then
7508 enableval="$enable_prologio"
7509
7510 if test "$enableval" = yes; then
7511 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7512 else
7513 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7514 fi
7515
7516 else
7517
7518 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7519 if test "x$LINE" != x ; then
7520 eval "DEFAULT_$LINE"
7521 else
7522 no_cache=1
7523 fi
7524
7525 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7526
7527 fi;
7528
7529 eval "$ac_cv_use_prologio"
7530 if test "$no_cache" != 1; then
7531 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7532 fi
7533
7534 if test "$wxUSE_PROLOGIO" = yes; then
7535 echo "$as_me:$LINENO: result: yes" >&5
7536 echo "${ECHO_T}yes" >&6
7537 else
7538 echo "$as_me:$LINENO: result: no" >&5
7539 echo "${ECHO_T}no" >&6
7540 fi
7541
7542
7543 enablestring=
7544 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7545 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7546 no_cache=0
7547 # Check whether --enable-resources or --disable-resources was given.
7548 if test "${enable_resources+set}" = set; then
7549 enableval="$enable_resources"
7550
7551 if test "$enableval" = yes; then
7552 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7553 else
7554 ac_cv_use_resources='wxUSE_RESOURCES=no'
7555 fi
7556
7557 else
7558
7559 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7560 if test "x$LINE" != x ; then
7561 eval "DEFAULT_$LINE"
7562 else
7563 no_cache=1
7564 fi
7565
7566 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7567
7568 fi;
7569
7570 eval "$ac_cv_use_resources"
7571 if test "$no_cache" != 1; then
7572 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7573 fi
7574
7575 if test "$wxUSE_RESOURCES" = yes; then
7576 echo "$as_me:$LINENO: result: yes" >&5
7577 echo "${ECHO_T}yes" >&6
7578 else
7579 echo "$as_me:$LINENO: result: no" >&5
7580 echo "${ECHO_T}no" >&6
7581 fi
7582
7583
7584
7585
7586 enablestring=
7587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7588 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7589 no_cache=0
7590 # Check whether --enable-clipboard or --disable-clipboard was given.
7591 if test "${enable_clipboard+set}" = set; then
7592 enableval="$enable_clipboard"
7593
7594 if test "$enableval" = yes; then
7595 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7596 else
7597 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7598 fi
7599
7600 else
7601
7602 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7603 if test "x$LINE" != x ; then
7604 eval "DEFAULT_$LINE"
7605 else
7606 no_cache=1
7607 fi
7608
7609 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7610
7611 fi;
7612
7613 eval "$ac_cv_use_clipboard"
7614 if test "$no_cache" != 1; then
7615 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7616 fi
7617
7618 if test "$wxUSE_CLIPBOARD" = yes; then
7619 echo "$as_me:$LINENO: result: yes" >&5
7620 echo "${ECHO_T}yes" >&6
7621 else
7622 echo "$as_me:$LINENO: result: no" >&5
7623 echo "${ECHO_T}no" >&6
7624 fi
7625
7626
7627 enablestring=
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7630 no_cache=0
7631 # Check whether --enable-dnd or --disable-dnd was given.
7632 if test "${enable_dnd+set}" = set; then
7633 enableval="$enable_dnd"
7634
7635 if test "$enableval" = yes; then
7636 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7637 else
7638 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7639 fi
7640
7641 else
7642
7643 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x ; then
7645 eval "DEFAULT_$LINE"
7646 else
7647 no_cache=1
7648 fi
7649
7650 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7651
7652 fi;
7653
7654 eval "$ac_cv_use_dnd"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7657 fi
7658
7659 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7662 else
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7665 fi
7666
7667
7668 enablestring=
7669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7670 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7671 no_cache=0
7672 # Check whether --enable-metafile or --disable-metafile was given.
7673 if test "${enable_metafile+set}" = set; then
7674 enableval="$enable_metafile"
7675
7676 if test "$enableval" = yes; then
7677 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7678 else
7679 ac_cv_use_metafile='wxUSE_METAFILE=no'
7680 fi
7681
7682 else
7683
7684 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7685 if test "x$LINE" != x ; then
7686 eval "DEFAULT_$LINE"
7687 else
7688 no_cache=1
7689 fi
7690
7691 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7692
7693 fi;
7694
7695 eval "$ac_cv_use_metafile"
7696 if test "$no_cache" != 1; then
7697 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7698 fi
7699
7700 if test "$wxUSE_METAFILE" = yes; then
7701 echo "$as_me:$LINENO: result: yes" >&5
7702 echo "${ECHO_T}yes" >&6
7703 else
7704 echo "$as_me:$LINENO: result: no" >&5
7705 echo "${ECHO_T}no" >&6
7706 fi
7707
7708
7709
7710
7711
7712 enablestring=
7713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7715 no_cache=0
7716 # Check whether --enable-controls or --disable-controls was given.
7717 if test "${enable_controls+set}" = set; then
7718 enableval="$enable_controls"
7719
7720 if test "$enableval" = yes; then
7721 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7722 else
7723 ac_cv_use_controls='wxUSE_CONTROLS=no'
7724 fi
7725
7726 else
7727
7728 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7729 if test "x$LINE" != x ; then
7730 eval "DEFAULT_$LINE"
7731 else
7732 no_cache=1
7733 fi
7734
7735 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7736
7737 fi;
7738
7739 eval "$ac_cv_use_controls"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7742 fi
7743
7744 if test "$wxUSE_CONTROLS" = yes; then
7745 echo "$as_me:$LINENO: result: yes" >&5
7746 echo "${ECHO_T}yes" >&6
7747 else
7748 echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6
7750 fi
7751
7752
7753 if test "$wxUSE_CONTROLS" = "yes"; then
7754 DEFAULT_wxUSE_ACCEL=yes
7755 DEFAULT_wxUSE_BMPBUTTON=yes
7756 DEFAULT_wxUSE_BUTTON=yes
7757 DEFAULT_wxUSE_CALCTRL=yes
7758 DEFAULT_wxUSE_CARET=yes
7759 DEFAULT_wxUSE_COMBOBOX=yes
7760 DEFAULT_wxUSE_CHECKBOX=yes
7761 DEFAULT_wxUSE_CHECKLISTBOX=yes
7762 DEFAULT_wxUSE_CHOICE=yes
7763 DEFAULT_wxUSE_CHOICEBOOK=yes
7764 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7765 DEFAULT_wxUSE_COMBOBOX=yes
7766 DEFAULT_wxUSE_DATEPICKCTRL=yes
7767 DEFAULT_wxUSE_DISPLAY=yes
7768 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7769 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7770 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7771 DEFAULT_wxUSE_GAUGE=yes
7772 DEFAULT_wxUSE_GRID=yes
7773 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7774 DEFAULT_wxUSE_DATAVIEWCTRL=no
7775 DEFAULT_wxUSE_IMAGLIST=yes
7776 DEFAULT_wxUSE_LISTBOOK=yes
7777 DEFAULT_wxUSE_LISTBOX=yes
7778 DEFAULT_wxUSE_LISTCTRL=yes
7779 DEFAULT_wxUSE_NOTEBOOK=yes
7780 DEFAULT_wxUSE_RADIOBOX=yes
7781 DEFAULT_wxUSE_RADIOBTN=yes
7782 DEFAULT_wxUSE_SASH=yes
7783 DEFAULT_wxUSE_SCROLLBAR=yes
7784 DEFAULT_wxUSE_SLIDER=yes
7785 DEFAULT_wxUSE_SPINBTN=yes
7786 DEFAULT_wxUSE_SPINCTRL=yes
7787 DEFAULT_wxUSE_SPLITTER=yes
7788 DEFAULT_wxUSE_STATBMP=yes
7789 DEFAULT_wxUSE_STATBOX=yes
7790 DEFAULT_wxUSE_STATLINE=yes
7791 DEFAULT_wxUSE_STATUSBAR=yes
7792 DEFAULT_wxUSE_TAB_DIALOG=yes
7793 DEFAULT_wxUSE_TOGGLEBTN=yes
7794 DEFAULT_wxUSE_TOOLBAR=yes
7795 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7796 DEFAULT_wxUSE_TOOLTIPS=yes
7797 DEFAULT_wxUSE_TREEBOOK=yes
7798 DEFAULT_wxUSE_TOOLBOOK=yes
7799 DEFAULT_wxUSE_TREECTRL=yes
7800 DEFAULT_wxUSE_POPUPWIN=yes
7801 DEFAULT_wxUSE_TIPWINDOW=yes
7802 elif test "$wxUSE_CONTROLS" = "no"; then
7803 DEFAULT_wxUSE_ACCEL=no
7804 DEFAULT_wxUSE_BMPBUTTON=no
7805 DEFAULT_wxUSE_BUTTON=no
7806 DEFAULT_wxUSE_CALCTRL=no
7807 DEFAULT_wxUSE_CARET=no
7808 DEFAULT_wxUSE_COMBOBOX=no
7809 DEFAULT_wxUSE_CHECKBOX=no
7810 DEFAULT_wxUSE_CHECKLISTBOX=no
7811 DEFAULT_wxUSE_CHOICE=no
7812 DEFAULT_wxUSE_CHOICEBOOK=no
7813 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7814 DEFAULT_wxUSE_COMBOBOX=no
7815 DEFAULT_wxUSE_DATEPICKCTRL=no
7816 DEFAULT_wxUSE_DISPLAY=no
7817 DEFAULT_wxUSE_DIRPICKERCTRL=no
7818 DEFAULT_wxUSE_FILEPICKERCTRL=no
7819 DEFAULT_wxUSE_FONTPICKERCTRL=no
7820 DEFAULT_wxUSE_GAUGE=no
7821 DEFAULT_wxUSE_GRID=no
7822 DEFAULT_wxUSE_HYPERLINKCTRL=no
7823 DEFAULT_wxUSE_DATAVIEWCTRL=no
7824 DEFAULT_wxUSE_IMAGLIST=no
7825 DEFAULT_wxUSE_LISTBOOK=no
7826 DEFAULT_wxUSE_LISTBOX=no
7827 DEFAULT_wxUSE_LISTCTRL=no
7828 DEFAULT_wxUSE_NOTEBOOK=no
7829 DEFAULT_wxUSE_RADIOBOX=no
7830 DEFAULT_wxUSE_RADIOBTN=no
7831 DEFAULT_wxUSE_SASH=no
7832 DEFAULT_wxUSE_SCROLLBAR=no
7833 DEFAULT_wxUSE_SLIDER=no
7834 DEFAULT_wxUSE_SPINBTN=no
7835 DEFAULT_wxUSE_SPINCTRL=no
7836 DEFAULT_wxUSE_SPLITTER=no
7837 DEFAULT_wxUSE_STATBMP=no
7838 DEFAULT_wxUSE_STATBOX=no
7839 DEFAULT_wxUSE_STATLINE=no
7840 DEFAULT_wxUSE_STATUSBAR=no
7841 DEFAULT_wxUSE_TAB_DIALOG=no
7842 DEFAULT_wxUSE_TOGGLEBTN=no
7843 DEFAULT_wxUSE_TOOLBAR=no
7844 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7845 DEFAULT_wxUSE_TOOLTIPS=no
7846 DEFAULT_wxUSE_TREEBOOK=no
7847 DEFAULT_wxUSE_TOOLBOOK=no
7848 DEFAULT_wxUSE_TREECTRL=no
7849 DEFAULT_wxUSE_POPUPWIN=no
7850 DEFAULT_wxUSE_TIPWINDOW=no
7851 fi
7852
7853
7854 enablestring=
7855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7856 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7857 no_cache=0
7858 # Check whether --enable-accel or --disable-accel was given.
7859 if test "${enable_accel+set}" = set; then
7860 enableval="$enable_accel"
7861
7862 if test "$enableval" = yes; then
7863 ac_cv_use_accel='wxUSE_ACCEL=yes'
7864 else
7865 ac_cv_use_accel='wxUSE_ACCEL=no'
7866 fi
7867
7868 else
7869
7870 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7871 if test "x$LINE" != x ; then
7872 eval "DEFAULT_$LINE"
7873 else
7874 no_cache=1
7875 fi
7876
7877 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7878
7879 fi;
7880
7881 eval "$ac_cv_use_accel"
7882 if test "$no_cache" != 1; then
7883 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7884 fi
7885
7886 if test "$wxUSE_ACCEL" = yes; then
7887 echo "$as_me:$LINENO: result: yes" >&5
7888 echo "${ECHO_T}yes" >&6
7889 else
7890 echo "$as_me:$LINENO: result: no" >&5
7891 echo "${ECHO_T}no" >&6
7892 fi
7893
7894
7895 enablestring=
7896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7897 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7898 no_cache=0
7899 # Check whether --enable-button or --disable-button was given.
7900 if test "${enable_button+set}" = set; then
7901 enableval="$enable_button"
7902
7903 if test "$enableval" = yes; then
7904 ac_cv_use_button='wxUSE_BUTTON=yes'
7905 else
7906 ac_cv_use_button='wxUSE_BUTTON=no'
7907 fi
7908
7909 else
7910
7911 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7912 if test "x$LINE" != x ; then
7913 eval "DEFAULT_$LINE"
7914 else
7915 no_cache=1
7916 fi
7917
7918 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7919
7920 fi;
7921
7922 eval "$ac_cv_use_button"
7923 if test "$no_cache" != 1; then
7924 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7925 fi
7926
7927 if test "$wxUSE_BUTTON" = yes; then
7928 echo "$as_me:$LINENO: result: yes" >&5
7929 echo "${ECHO_T}yes" >&6
7930 else
7931 echo "$as_me:$LINENO: result: no" >&5
7932 echo "${ECHO_T}no" >&6
7933 fi
7934
7935
7936 enablestring=
7937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7938 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7939 no_cache=0
7940 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7941 if test "${enable_bmpbutton+set}" = set; then
7942 enableval="$enable_bmpbutton"
7943
7944 if test "$enableval" = yes; then
7945 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7946 else
7947 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7948 fi
7949
7950 else
7951
7952 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7953 if test "x$LINE" != x ; then
7954 eval "DEFAULT_$LINE"
7955 else
7956 no_cache=1
7957 fi
7958
7959 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7960
7961 fi;
7962
7963 eval "$ac_cv_use_bmpbutton"
7964 if test "$no_cache" != 1; then
7965 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7966 fi
7967
7968 if test "$wxUSE_BMPBUTTON" = yes; then
7969 echo "$as_me:$LINENO: result: yes" >&5
7970 echo "${ECHO_T}yes" >&6
7971 else
7972 echo "$as_me:$LINENO: result: no" >&5
7973 echo "${ECHO_T}no" >&6
7974 fi
7975
7976
7977 enablestring=
7978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
7979 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
7980 no_cache=0
7981 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
7982 if test "${enable_bmpcombobox+set}" = set; then
7983 enableval="$enable_bmpcombobox"
7984
7985 if test "$enableval" = yes; then
7986 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
7987 else
7988 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
7989 fi
7990
7991 else
7992
7993 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
7994 if test "x$LINE" != x ; then
7995 eval "DEFAULT_$LINE"
7996 else
7997 no_cache=1
7998 fi
7999
8000 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8001
8002 fi;
8003
8004 eval "$ac_cv_use_bmpcombobox"
8005 if test "$no_cache" != 1; then
8006 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8007 fi
8008
8009 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8010 echo "$as_me:$LINENO: result: yes" >&5
8011 echo "${ECHO_T}yes" >&6
8012 else
8013 echo "$as_me:$LINENO: result: no" >&5
8014 echo "${ECHO_T}no" >&6
8015 fi
8016
8017
8018 enablestring=
8019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8020 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8021 no_cache=0
8022 # Check whether --enable-calendar or --disable-calendar was given.
8023 if test "${enable_calendar+set}" = set; then
8024 enableval="$enable_calendar"
8025
8026 if test "$enableval" = yes; then
8027 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8028 else
8029 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8030 fi
8031
8032 else
8033
8034 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8035 if test "x$LINE" != x ; then
8036 eval "DEFAULT_$LINE"
8037 else
8038 no_cache=1
8039 fi
8040
8041 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8042
8043 fi;
8044
8045 eval "$ac_cv_use_calendar"
8046 if test "$no_cache" != 1; then
8047 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8048 fi
8049
8050 if test "$wxUSE_CALCTRL" = yes; then
8051 echo "$as_me:$LINENO: result: yes" >&5
8052 echo "${ECHO_T}yes" >&6
8053 else
8054 echo "$as_me:$LINENO: result: no" >&5
8055 echo "${ECHO_T}no" >&6
8056 fi
8057
8058
8059 enablestring=
8060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8061 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8062 no_cache=0
8063 # Check whether --enable-caret or --disable-caret was given.
8064 if test "${enable_caret+set}" = set; then
8065 enableval="$enable_caret"
8066
8067 if test "$enableval" = yes; then
8068 ac_cv_use_caret='wxUSE_CARET=yes'
8069 else
8070 ac_cv_use_caret='wxUSE_CARET=no'
8071 fi
8072
8073 else
8074
8075 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8076 if test "x$LINE" != x ; then
8077 eval "DEFAULT_$LINE"
8078 else
8079 no_cache=1
8080 fi
8081
8082 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8083
8084 fi;
8085
8086 eval "$ac_cv_use_caret"
8087 if test "$no_cache" != 1; then
8088 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8089 fi
8090
8091 if test "$wxUSE_CARET" = yes; then
8092 echo "$as_me:$LINENO: result: yes" >&5
8093 echo "${ECHO_T}yes" >&6
8094 else
8095 echo "$as_me:$LINENO: result: no" >&5
8096 echo "${ECHO_T}no" >&6
8097 fi
8098
8099
8100 enablestring=
8101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8102 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8103 no_cache=0
8104 # Check whether --enable-checkbox or --disable-checkbox was given.
8105 if test "${enable_checkbox+set}" = set; then
8106 enableval="$enable_checkbox"
8107
8108 if test "$enableval" = yes; then
8109 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8110 else
8111 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8112 fi
8113
8114 else
8115
8116 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8117 if test "x$LINE" != x ; then
8118 eval "DEFAULT_$LINE"
8119 else
8120 no_cache=1
8121 fi
8122
8123 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8124
8125 fi;
8126
8127 eval "$ac_cv_use_checkbox"
8128 if test "$no_cache" != 1; then
8129 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8130 fi
8131
8132 if test "$wxUSE_CHECKBOX" = yes; then
8133 echo "$as_me:$LINENO: result: yes" >&5
8134 echo "${ECHO_T}yes" >&6
8135 else
8136 echo "$as_me:$LINENO: result: no" >&5
8137 echo "${ECHO_T}no" >&6
8138 fi
8139
8140
8141 enablestring=
8142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8143 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8144 no_cache=0
8145 # Check whether --enable-checklst or --disable-checklst was given.
8146 if test "${enable_checklst+set}" = set; then
8147 enableval="$enable_checklst"
8148
8149 if test "$enableval" = yes; then
8150 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8151 else
8152 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8153 fi
8154
8155 else
8156
8157 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8158 if test "x$LINE" != x ; then
8159 eval "DEFAULT_$LINE"
8160 else
8161 no_cache=1
8162 fi
8163
8164 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8165
8166 fi;
8167
8168 eval "$ac_cv_use_checklst"
8169 if test "$no_cache" != 1; then
8170 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8171 fi
8172
8173 if test "$wxUSE_CHECKLST" = yes; then
8174 echo "$as_me:$LINENO: result: yes" >&5
8175 echo "${ECHO_T}yes" >&6
8176 else
8177 echo "$as_me:$LINENO: result: no" >&5
8178 echo "${ECHO_T}no" >&6
8179 fi
8180
8181
8182 enablestring=
8183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8184 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8185 no_cache=0
8186 # Check whether --enable-choice or --disable-choice was given.
8187 if test "${enable_choice+set}" = set; then
8188 enableval="$enable_choice"
8189
8190 if test "$enableval" = yes; then
8191 ac_cv_use_choice='wxUSE_CHOICE=yes'
8192 else
8193 ac_cv_use_choice='wxUSE_CHOICE=no'
8194 fi
8195
8196 else
8197
8198 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8199 if test "x$LINE" != x ; then
8200 eval "DEFAULT_$LINE"
8201 else
8202 no_cache=1
8203 fi
8204
8205 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8206
8207 fi;
8208
8209 eval "$ac_cv_use_choice"
8210 if test "$no_cache" != 1; then
8211 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8212 fi
8213
8214 if test "$wxUSE_CHOICE" = yes; then
8215 echo "$as_me:$LINENO: result: yes" >&5
8216 echo "${ECHO_T}yes" >&6
8217 else
8218 echo "$as_me:$LINENO: result: no" >&5
8219 echo "${ECHO_T}no" >&6
8220 fi
8221
8222
8223 enablestring=
8224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8225 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8226 no_cache=0
8227 # Check whether --enable-choicebook or --disable-choicebook was given.
8228 if test "${enable_choicebook+set}" = set; then
8229 enableval="$enable_choicebook"
8230
8231 if test "$enableval" = yes; then
8232 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8233 else
8234 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8235 fi
8236
8237 else
8238
8239 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8240 if test "x$LINE" != x ; then
8241 eval "DEFAULT_$LINE"
8242 else
8243 no_cache=1
8244 fi
8245
8246 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8247
8248 fi;
8249
8250 eval "$ac_cv_use_choicebook"
8251 if test "$no_cache" != 1; then
8252 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8253 fi
8254
8255 if test "$wxUSE_CHOICEBOOK" = yes; then
8256 echo "$as_me:$LINENO: result: yes" >&5
8257 echo "${ECHO_T}yes" >&6
8258 else
8259 echo "$as_me:$LINENO: result: no" >&5
8260 echo "${ECHO_T}no" >&6
8261 fi
8262
8263
8264 enablestring=
8265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8266 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8267 no_cache=0
8268 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8269 if test "${enable_colourpicker+set}" = set; then
8270 enableval="$enable_colourpicker"
8271
8272 if test "$enableval" = yes; then
8273 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8274 else
8275 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8276 fi
8277
8278 else
8279
8280 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8281 if test "x$LINE" != x ; then
8282 eval "DEFAULT_$LINE"
8283 else
8284 no_cache=1
8285 fi
8286
8287 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8288
8289 fi;
8290
8291 eval "$ac_cv_use_colourpicker"
8292 if test "$no_cache" != 1; then
8293 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8294 fi
8295
8296 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8297 echo "$as_me:$LINENO: result: yes" >&5
8298 echo "${ECHO_T}yes" >&6
8299 else
8300 echo "$as_me:$LINENO: result: no" >&5
8301 echo "${ECHO_T}no" >&6
8302 fi
8303
8304
8305 enablestring=
8306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8307 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8308 no_cache=0
8309 # Check whether --enable-combobox or --disable-combobox was given.
8310 if test "${enable_combobox+set}" = set; then
8311 enableval="$enable_combobox"
8312
8313 if test "$enableval" = yes; then
8314 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8315 else
8316 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8317 fi
8318
8319 else
8320
8321 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8322 if test "x$LINE" != x ; then
8323 eval "DEFAULT_$LINE"
8324 else
8325 no_cache=1
8326 fi
8327
8328 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8329
8330 fi;
8331
8332 eval "$ac_cv_use_combobox"
8333 if test "$no_cache" != 1; then
8334 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8335 fi
8336
8337 if test "$wxUSE_COMBOBOX" = yes; then
8338 echo "$as_me:$LINENO: result: yes" >&5
8339 echo "${ECHO_T}yes" >&6
8340 else
8341 echo "$as_me:$LINENO: result: no" >&5
8342 echo "${ECHO_T}no" >&6
8343 fi
8344
8345
8346 enablestring=
8347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8348 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8349 no_cache=0
8350 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8351 if test "${enable_comboctrl+set}" = set; then
8352 enableval="$enable_comboctrl"
8353
8354 if test "$enableval" = yes; then
8355 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8356 else
8357 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8358 fi
8359
8360 else
8361
8362 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8363 if test "x$LINE" != x ; then
8364 eval "DEFAULT_$LINE"
8365 else
8366 no_cache=1
8367 fi
8368
8369 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8370
8371 fi;
8372
8373 eval "$ac_cv_use_comboctrl"
8374 if test "$no_cache" != 1; then
8375 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8376 fi
8377
8378 if test "$wxUSE_COMBOCTRL" = yes; then
8379 echo "$as_me:$LINENO: result: yes" >&5
8380 echo "${ECHO_T}yes" >&6
8381 else
8382 echo "$as_me:$LINENO: result: no" >&5
8383 echo "${ECHO_T}no" >&6
8384 fi
8385
8386
8387 enablestring=
8388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8389 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8390 no_cache=0
8391 # Check whether --enable-datepick or --disable-datepick was given.
8392 if test "${enable_datepick+set}" = set; then
8393 enableval="$enable_datepick"
8394
8395 if test "$enableval" = yes; then
8396 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8397 else
8398 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8399 fi
8400
8401 else
8402
8403 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8404 if test "x$LINE" != x ; then
8405 eval "DEFAULT_$LINE"
8406 else
8407 no_cache=1
8408 fi
8409
8410 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8411
8412 fi;
8413
8414 eval "$ac_cv_use_datepick"
8415 if test "$no_cache" != 1; then
8416 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8417 fi
8418
8419 if test "$wxUSE_DATEPICKCTRL" = yes; then
8420 echo "$as_me:$LINENO: result: yes" >&5
8421 echo "${ECHO_T}yes" >&6
8422 else
8423 echo "$as_me:$LINENO: result: no" >&5
8424 echo "${ECHO_T}no" >&6
8425 fi
8426
8427
8428 enablestring=
8429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8430 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8431 no_cache=0
8432 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8433 if test "${enable_dirpicker+set}" = set; then
8434 enableval="$enable_dirpicker"
8435
8436 if test "$enableval" = yes; then
8437 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8438 else
8439 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8440 fi
8441
8442 else
8443
8444 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8445 if test "x$LINE" != x ; then
8446 eval "DEFAULT_$LINE"
8447 else
8448 no_cache=1
8449 fi
8450
8451 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8452
8453 fi;
8454
8455 eval "$ac_cv_use_dirpicker"
8456 if test "$no_cache" != 1; then
8457 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8458 fi
8459
8460 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8461 echo "$as_me:$LINENO: result: yes" >&5
8462 echo "${ECHO_T}yes" >&6
8463 else
8464 echo "$as_me:$LINENO: result: no" >&5
8465 echo "${ECHO_T}no" >&6
8466 fi
8467
8468
8469 enablestring=
8470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8471 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8472 no_cache=0
8473 # Check whether --enable-display or --disable-display was given.
8474 if test "${enable_display+set}" = set; then
8475 enableval="$enable_display"
8476
8477 if test "$enableval" = yes; then
8478 ac_cv_use_display='wxUSE_DISPLAY=yes'
8479 else
8480 ac_cv_use_display='wxUSE_DISPLAY=no'
8481 fi
8482
8483 else
8484
8485 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8486 if test "x$LINE" != x ; then
8487 eval "DEFAULT_$LINE"
8488 else
8489 no_cache=1
8490 fi
8491
8492 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8493
8494 fi;
8495
8496 eval "$ac_cv_use_display"
8497 if test "$no_cache" != 1; then
8498 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8499 fi
8500
8501 if test "$wxUSE_DISPLAY" = yes; then
8502 echo "$as_me:$LINENO: result: yes" >&5
8503 echo "${ECHO_T}yes" >&6
8504 else
8505 echo "$as_me:$LINENO: result: no" >&5
8506 echo "${ECHO_T}no" >&6
8507 fi
8508
8509
8510 enablestring=
8511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8512 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8513 no_cache=0
8514 # Check whether --enable-filepicker or --disable-filepicker was given.
8515 if test "${enable_filepicker+set}" = set; then
8516 enableval="$enable_filepicker"
8517
8518 if test "$enableval" = yes; then
8519 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8520 else
8521 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8522 fi
8523
8524 else
8525
8526 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8527 if test "x$LINE" != x ; then
8528 eval "DEFAULT_$LINE"
8529 else
8530 no_cache=1
8531 fi
8532
8533 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8534
8535 fi;
8536
8537 eval "$ac_cv_use_filepicker"
8538 if test "$no_cache" != 1; then
8539 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8540 fi
8541
8542 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8543 echo "$as_me:$LINENO: result: yes" >&5
8544 echo "${ECHO_T}yes" >&6
8545 else
8546 echo "$as_me:$LINENO: result: no" >&5
8547 echo "${ECHO_T}no" >&6
8548 fi
8549
8550
8551 enablestring=
8552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8553 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8554 no_cache=0
8555 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8556 if test "${enable_fontpicker+set}" = set; then
8557 enableval="$enable_fontpicker"
8558
8559 if test "$enableval" = yes; then
8560 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8561 else
8562 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8563 fi
8564
8565 else
8566
8567 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8568 if test "x$LINE" != x ; then
8569 eval "DEFAULT_$LINE"
8570 else
8571 no_cache=1
8572 fi
8573
8574 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8575
8576 fi;
8577
8578 eval "$ac_cv_use_fontpicker"
8579 if test "$no_cache" != 1; then
8580 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8581 fi
8582
8583 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8584 echo "$as_me:$LINENO: result: yes" >&5
8585 echo "${ECHO_T}yes" >&6
8586 else
8587 echo "$as_me:$LINENO: result: no" >&5
8588 echo "${ECHO_T}no" >&6
8589 fi
8590
8591
8592 enablestring=
8593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8594 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8595 no_cache=0
8596 # Check whether --enable-gauge or --disable-gauge was given.
8597 if test "${enable_gauge+set}" = set; then
8598 enableval="$enable_gauge"
8599
8600 if test "$enableval" = yes; then
8601 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8602 else
8603 ac_cv_use_gauge='wxUSE_GAUGE=no'
8604 fi
8605
8606 else
8607
8608 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8609 if test "x$LINE" != x ; then
8610 eval "DEFAULT_$LINE"
8611 else
8612 no_cache=1
8613 fi
8614
8615 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8616
8617 fi;
8618
8619 eval "$ac_cv_use_gauge"
8620 if test "$no_cache" != 1; then
8621 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8622 fi
8623
8624 if test "$wxUSE_GAUGE" = yes; then
8625 echo "$as_me:$LINENO: result: yes" >&5
8626 echo "${ECHO_T}yes" >&6
8627 else
8628 echo "$as_me:$LINENO: result: no" >&5
8629 echo "${ECHO_T}no" >&6
8630 fi
8631
8632
8633 enablestring=
8634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8635 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8636 no_cache=0
8637 # Check whether --enable-grid or --disable-grid was given.
8638 if test "${enable_grid+set}" = set; then
8639 enableval="$enable_grid"
8640
8641 if test "$enableval" = yes; then
8642 ac_cv_use_grid='wxUSE_GRID=yes'
8643 else
8644 ac_cv_use_grid='wxUSE_GRID=no'
8645 fi
8646
8647 else
8648
8649 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8650 if test "x$LINE" != x ; then
8651 eval "DEFAULT_$LINE"
8652 else
8653 no_cache=1
8654 fi
8655
8656 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8657
8658 fi;
8659
8660 eval "$ac_cv_use_grid"
8661 if test "$no_cache" != 1; then
8662 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8663 fi
8664
8665 if test "$wxUSE_GRID" = yes; then
8666 echo "$as_me:$LINENO: result: yes" >&5
8667 echo "${ECHO_T}yes" >&6
8668 else
8669 echo "$as_me:$LINENO: result: no" >&5
8670 echo "${ECHO_T}no" >&6
8671 fi
8672
8673
8674 enablestring=
8675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8676 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8677 no_cache=0
8678 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8679 if test "${enable_dataviewctrl+set}" = set; then
8680 enableval="$enable_dataviewctrl"
8681
8682 if test "$enableval" = yes; then
8683 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8684 else
8685 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8686 fi
8687
8688 else
8689
8690 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8691 if test "x$LINE" != x ; then
8692 eval "DEFAULT_$LINE"
8693 else
8694 no_cache=1
8695 fi
8696
8697 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8698
8699 fi;
8700
8701 eval "$ac_cv_use_dataviewctrl"
8702 if test "$no_cache" != 1; then
8703 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8704 fi
8705
8706 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8707 echo "$as_me:$LINENO: result: yes" >&5
8708 echo "${ECHO_T}yes" >&6
8709 else
8710 echo "$as_me:$LINENO: result: no" >&5
8711 echo "${ECHO_T}no" >&6
8712 fi
8713
8714
8715 enablestring=
8716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8717 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8718 no_cache=0
8719 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8720 if test "${enable_hyperlink+set}" = set; then
8721 enableval="$enable_hyperlink"
8722
8723 if test "$enableval" = yes; then
8724 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8725 else
8726 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8727 fi
8728
8729 else
8730
8731 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8732 if test "x$LINE" != x ; then
8733 eval "DEFAULT_$LINE"
8734 else
8735 no_cache=1
8736 fi
8737
8738 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8739
8740 fi;
8741
8742 eval "$ac_cv_use_hyperlink"
8743 if test "$no_cache" != 1; then
8744 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8745 fi
8746
8747 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8748 echo "$as_me:$LINENO: result: yes" >&5
8749 echo "${ECHO_T}yes" >&6
8750 else
8751 echo "$as_me:$LINENO: result: no" >&5
8752 echo "${ECHO_T}no" >&6
8753 fi
8754
8755
8756 enablestring=
8757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8758 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8759 no_cache=0
8760 # Check whether --enable-imaglist or --disable-imaglist was given.
8761 if test "${enable_imaglist+set}" = set; then
8762 enableval="$enable_imaglist"
8763
8764 if test "$enableval" = yes; then
8765 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8766 else
8767 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8768 fi
8769
8770 else
8771
8772 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8773 if test "x$LINE" != x ; then
8774 eval "DEFAULT_$LINE"
8775 else
8776 no_cache=1
8777 fi
8778
8779 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8780
8781 fi;
8782
8783 eval "$ac_cv_use_imaglist"
8784 if test "$no_cache" != 1; then
8785 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8786 fi
8787
8788 if test "$wxUSE_IMAGLIST" = yes; then
8789 echo "$as_me:$LINENO: result: yes" >&5
8790 echo "${ECHO_T}yes" >&6
8791 else
8792 echo "$as_me:$LINENO: result: no" >&5
8793 echo "${ECHO_T}no" >&6
8794 fi
8795
8796
8797 enablestring=
8798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8799 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8800 no_cache=0
8801 # Check whether --enable-listbook or --disable-listbook was given.
8802 if test "${enable_listbook+set}" = set; then
8803 enableval="$enable_listbook"
8804
8805 if test "$enableval" = yes; then
8806 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8807 else
8808 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8809 fi
8810
8811 else
8812
8813 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8814 if test "x$LINE" != x ; then
8815 eval "DEFAULT_$LINE"
8816 else
8817 no_cache=1
8818 fi
8819
8820 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8821
8822 fi;
8823
8824 eval "$ac_cv_use_listbook"
8825 if test "$no_cache" != 1; then
8826 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8827 fi
8828
8829 if test "$wxUSE_LISTBOOK" = yes; then
8830 echo "$as_me:$LINENO: result: yes" >&5
8831 echo "${ECHO_T}yes" >&6
8832 else
8833 echo "$as_me:$LINENO: result: no" >&5
8834 echo "${ECHO_T}no" >&6
8835 fi
8836
8837
8838 enablestring=
8839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8840 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8841 no_cache=0
8842 # Check whether --enable-listbox or --disable-listbox was given.
8843 if test "${enable_listbox+set}" = set; then
8844 enableval="$enable_listbox"
8845
8846 if test "$enableval" = yes; then
8847 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8848 else
8849 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8850 fi
8851
8852 else
8853
8854 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8855 if test "x$LINE" != x ; then
8856 eval "DEFAULT_$LINE"
8857 else
8858 no_cache=1
8859 fi
8860
8861 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8862
8863 fi;
8864
8865 eval "$ac_cv_use_listbox"
8866 if test "$no_cache" != 1; then
8867 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8868 fi
8869
8870 if test "$wxUSE_LISTBOX" = yes; then
8871 echo "$as_me:$LINENO: result: yes" >&5
8872 echo "${ECHO_T}yes" >&6
8873 else
8874 echo "$as_me:$LINENO: result: no" >&5
8875 echo "${ECHO_T}no" >&6
8876 fi
8877
8878
8879 enablestring=
8880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8881 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8882 no_cache=0
8883 # Check whether --enable-listctrl or --disable-listctrl was given.
8884 if test "${enable_listctrl+set}" = set; then
8885 enableval="$enable_listctrl"
8886
8887 if test "$enableval" = yes; then
8888 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8889 else
8890 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8891 fi
8892
8893 else
8894
8895 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8896 if test "x$LINE" != x ; then
8897 eval "DEFAULT_$LINE"
8898 else
8899 no_cache=1
8900 fi
8901
8902 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8903
8904 fi;
8905
8906 eval "$ac_cv_use_listctrl"
8907 if test "$no_cache" != 1; then
8908 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8909 fi
8910
8911 if test "$wxUSE_LISTCTRL" = yes; then
8912 echo "$as_me:$LINENO: result: yes" >&5
8913 echo "${ECHO_T}yes" >&6
8914 else
8915 echo "$as_me:$LINENO: result: no" >&5
8916 echo "${ECHO_T}no" >&6
8917 fi
8918
8919
8920 enablestring=
8921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8922 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8923 no_cache=0
8924 # Check whether --enable-notebook or --disable-notebook was given.
8925 if test "${enable_notebook+set}" = set; then
8926 enableval="$enable_notebook"
8927
8928 if test "$enableval" = yes; then
8929 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8930 else
8931 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8932 fi
8933
8934 else
8935
8936 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8937 if test "x$LINE" != x ; then
8938 eval "DEFAULT_$LINE"
8939 else
8940 no_cache=1
8941 fi
8942
8943 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8944
8945 fi;
8946
8947 eval "$ac_cv_use_notebook"
8948 if test "$no_cache" != 1; then
8949 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8950 fi
8951
8952 if test "$wxUSE_NOTEBOOK" = yes; then
8953 echo "$as_me:$LINENO: result: yes" >&5
8954 echo "${ECHO_T}yes" >&6
8955 else
8956 echo "$as_me:$LINENO: result: no" >&5
8957 echo "${ECHO_T}no" >&6
8958 fi
8959
8960
8961 enablestring=
8962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8963 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8964 no_cache=0
8965 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8966 if test "${enable_odcombobox+set}" = set; then
8967 enableval="$enable_odcombobox"
8968
8969 if test "$enableval" = yes; then
8970 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
8971 else
8972 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
8973 fi
8974
8975 else
8976
8977 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8978 if test "x$LINE" != x ; then
8979 eval "DEFAULT_$LINE"
8980 else
8981 no_cache=1
8982 fi
8983
8984 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8985
8986 fi;
8987
8988 eval "$ac_cv_use_odcombobox"
8989 if test "$no_cache" != 1; then
8990 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8991 fi
8992
8993 if test "$wxUSE_ODCOMBOBOX" = yes; then
8994 echo "$as_me:$LINENO: result: yes" >&5
8995 echo "${ECHO_T}yes" >&6
8996 else
8997 echo "$as_me:$LINENO: result: no" >&5
8998 echo "${ECHO_T}no" >&6
8999 fi
9000
9001
9002 enablestring=
9003 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9004 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9005 no_cache=0
9006 # Check whether --enable-radiobox or --disable-radiobox was given.
9007 if test "${enable_radiobox+set}" = set; then
9008 enableval="$enable_radiobox"
9009
9010 if test "$enableval" = yes; then
9011 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9012 else
9013 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9014 fi
9015
9016 else
9017
9018 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9019 if test "x$LINE" != x ; then
9020 eval "DEFAULT_$LINE"
9021 else
9022 no_cache=1
9023 fi
9024
9025 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9026
9027 fi;
9028
9029 eval "$ac_cv_use_radiobox"
9030 if test "$no_cache" != 1; then
9031 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9032 fi
9033
9034 if test "$wxUSE_RADIOBOX" = yes; then
9035 echo "$as_me:$LINENO: result: yes" >&5
9036 echo "${ECHO_T}yes" >&6
9037 else
9038 echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6
9040 fi
9041
9042
9043 enablestring=
9044 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9046 no_cache=0
9047 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9048 if test "${enable_radiobtn+set}" = set; then
9049 enableval="$enable_radiobtn"
9050
9051 if test "$enableval" = yes; then
9052 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9053 else
9054 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9055 fi
9056
9057 else
9058
9059 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9060 if test "x$LINE" != x ; then
9061 eval "DEFAULT_$LINE"
9062 else
9063 no_cache=1
9064 fi
9065
9066 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9067
9068 fi;
9069
9070 eval "$ac_cv_use_radiobtn"
9071 if test "$no_cache" != 1; then
9072 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9073 fi
9074
9075 if test "$wxUSE_RADIOBTN" = yes; then
9076 echo "$as_me:$LINENO: result: yes" >&5
9077 echo "${ECHO_T}yes" >&6
9078 else
9079 echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6
9081 fi
9082
9083
9084 enablestring=
9085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9086 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9087 no_cache=0
9088 # Check whether --enable-sash or --disable-sash was given.
9089 if test "${enable_sash+set}" = set; then
9090 enableval="$enable_sash"
9091
9092 if test "$enableval" = yes; then
9093 ac_cv_use_sash='wxUSE_SASH=yes'
9094 else
9095 ac_cv_use_sash='wxUSE_SASH=no'
9096 fi
9097
9098 else
9099
9100 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9101 if test "x$LINE" != x ; then
9102 eval "DEFAULT_$LINE"
9103 else
9104 no_cache=1
9105 fi
9106
9107 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9108
9109 fi;
9110
9111 eval "$ac_cv_use_sash"
9112 if test "$no_cache" != 1; then
9113 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9114 fi
9115
9116 if test "$wxUSE_SASH" = yes; then
9117 echo "$as_me:$LINENO: result: yes" >&5
9118 echo "${ECHO_T}yes" >&6
9119 else
9120 echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6
9122 fi
9123
9124
9125 enablestring=
9126 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9127 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9128 no_cache=0
9129 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9130 if test "${enable_scrollbar+set}" = set; then
9131 enableval="$enable_scrollbar"
9132
9133 if test "$enableval" = yes; then
9134 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9135 else
9136 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9137 fi
9138
9139 else
9140
9141 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9142 if test "x$LINE" != x ; then
9143 eval "DEFAULT_$LINE"
9144 else
9145 no_cache=1
9146 fi
9147
9148 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9149
9150 fi;
9151
9152 eval "$ac_cv_use_scrollbar"
9153 if test "$no_cache" != 1; then
9154 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9155 fi
9156
9157 if test "$wxUSE_SCROLLBAR" = yes; then
9158 echo "$as_me:$LINENO: result: yes" >&5
9159 echo "${ECHO_T}yes" >&6
9160 else
9161 echo "$as_me:$LINENO: result: no" >&5
9162 echo "${ECHO_T}no" >&6
9163 fi
9164
9165
9166 enablestring=
9167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9169 no_cache=0
9170 # Check whether --enable-slider or --disable-slider was given.
9171 if test "${enable_slider+set}" = set; then
9172 enableval="$enable_slider"
9173
9174 if test "$enableval" = yes; then
9175 ac_cv_use_slider='wxUSE_SLIDER=yes'
9176 else
9177 ac_cv_use_slider='wxUSE_SLIDER=no'
9178 fi
9179
9180 else
9181
9182 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9183 if test "x$LINE" != x ; then
9184 eval "DEFAULT_$LINE"
9185 else
9186 no_cache=1
9187 fi
9188
9189 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9190
9191 fi;
9192
9193 eval "$ac_cv_use_slider"
9194 if test "$no_cache" != 1; then
9195 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9196 fi
9197
9198 if test "$wxUSE_SLIDER" = yes; then
9199 echo "$as_me:$LINENO: result: yes" >&5
9200 echo "${ECHO_T}yes" >&6
9201 else
9202 echo "$as_me:$LINENO: result: no" >&5
9203 echo "${ECHO_T}no" >&6
9204 fi
9205
9206
9207 enablestring=
9208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9210 no_cache=0
9211 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9212 if test "${enable_spinbtn+set}" = set; then
9213 enableval="$enable_spinbtn"
9214
9215 if test "$enableval" = yes; then
9216 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9217 else
9218 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9219 fi
9220
9221 else
9222
9223 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9224 if test "x$LINE" != x ; then
9225 eval "DEFAULT_$LINE"
9226 else
9227 no_cache=1
9228 fi
9229
9230 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9231
9232 fi;
9233
9234 eval "$ac_cv_use_spinbtn"
9235 if test "$no_cache" != 1; then
9236 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9237 fi
9238
9239 if test "$wxUSE_SPINBTN" = yes; then
9240 echo "$as_me:$LINENO: result: yes" >&5
9241 echo "${ECHO_T}yes" >&6
9242 else
9243 echo "$as_me:$LINENO: result: no" >&5
9244 echo "${ECHO_T}no" >&6
9245 fi
9246
9247
9248 enablestring=
9249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9251 no_cache=0
9252 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9253 if test "${enable_spinctrl+set}" = set; then
9254 enableval="$enable_spinctrl"
9255
9256 if test "$enableval" = yes; then
9257 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9258 else
9259 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9260 fi
9261
9262 else
9263
9264 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9265 if test "x$LINE" != x ; then
9266 eval "DEFAULT_$LINE"
9267 else
9268 no_cache=1
9269 fi
9270
9271 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9272
9273 fi;
9274
9275 eval "$ac_cv_use_spinctrl"
9276 if test "$no_cache" != 1; then
9277 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9278 fi
9279
9280 if test "$wxUSE_SPINCTRL" = yes; then
9281 echo "$as_me:$LINENO: result: yes" >&5
9282 echo "${ECHO_T}yes" >&6
9283 else
9284 echo "$as_me:$LINENO: result: no" >&5
9285 echo "${ECHO_T}no" >&6
9286 fi
9287
9288
9289 enablestring=
9290 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9292 no_cache=0
9293 # Check whether --enable-splitter or --disable-splitter was given.
9294 if test "${enable_splitter+set}" = set; then
9295 enableval="$enable_splitter"
9296
9297 if test "$enableval" = yes; then
9298 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9299 else
9300 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9301 fi
9302
9303 else
9304
9305 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9306 if test "x$LINE" != x ; then
9307 eval "DEFAULT_$LINE"
9308 else
9309 no_cache=1
9310 fi
9311
9312 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9313
9314 fi;
9315
9316 eval "$ac_cv_use_splitter"
9317 if test "$no_cache" != 1; then
9318 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9319 fi
9320
9321 if test "$wxUSE_SPLITTER" = yes; then
9322 echo "$as_me:$LINENO: result: yes" >&5
9323 echo "${ECHO_T}yes" >&6
9324 else
9325 echo "$as_me:$LINENO: result: no" >&5
9326 echo "${ECHO_T}no" >&6
9327 fi
9328
9329
9330 enablestring=
9331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9333 no_cache=0
9334 # Check whether --enable-statbmp or --disable-statbmp was given.
9335 if test "${enable_statbmp+set}" = set; then
9336 enableval="$enable_statbmp"
9337
9338 if test "$enableval" = yes; then
9339 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9340 else
9341 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9342 fi
9343
9344 else
9345
9346 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9347 if test "x$LINE" != x ; then
9348 eval "DEFAULT_$LINE"
9349 else
9350 no_cache=1
9351 fi
9352
9353 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9354
9355 fi;
9356
9357 eval "$ac_cv_use_statbmp"
9358 if test "$no_cache" != 1; then
9359 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9360 fi
9361
9362 if test "$wxUSE_STATBMP" = yes; then
9363 echo "$as_me:$LINENO: result: yes" >&5
9364 echo "${ECHO_T}yes" >&6
9365 else
9366 echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6
9368 fi
9369
9370
9371 enablestring=
9372 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9373 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9374 no_cache=0
9375 # Check whether --enable-statbox or --disable-statbox was given.
9376 if test "${enable_statbox+set}" = set; then
9377 enableval="$enable_statbox"
9378
9379 if test "$enableval" = yes; then
9380 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9381 else
9382 ac_cv_use_statbox='wxUSE_STATBOX=no'
9383 fi
9384
9385 else
9386
9387 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9388 if test "x$LINE" != x ; then
9389 eval "DEFAULT_$LINE"
9390 else
9391 no_cache=1
9392 fi
9393
9394 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9395
9396 fi;
9397
9398 eval "$ac_cv_use_statbox"
9399 if test "$no_cache" != 1; then
9400 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9401 fi
9402
9403 if test "$wxUSE_STATBOX" = yes; then
9404 echo "$as_me:$LINENO: result: yes" >&5
9405 echo "${ECHO_T}yes" >&6
9406 else
9407 echo "$as_me:$LINENO: result: no" >&5
9408 echo "${ECHO_T}no" >&6
9409 fi
9410
9411
9412 enablestring=
9413 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9414 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9415 no_cache=0
9416 # Check whether --enable-statline or --disable-statline was given.
9417 if test "${enable_statline+set}" = set; then
9418 enableval="$enable_statline"
9419
9420 if test "$enableval" = yes; then
9421 ac_cv_use_statline='wxUSE_STATLINE=yes'
9422 else
9423 ac_cv_use_statline='wxUSE_STATLINE=no'
9424 fi
9425
9426 else
9427
9428 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9429 if test "x$LINE" != x ; then
9430 eval "DEFAULT_$LINE"
9431 else
9432 no_cache=1
9433 fi
9434
9435 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9436
9437 fi;
9438
9439 eval "$ac_cv_use_statline"
9440 if test "$no_cache" != 1; then
9441 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9442 fi
9443
9444 if test "$wxUSE_STATLINE" = yes; then
9445 echo "$as_me:$LINENO: result: yes" >&5
9446 echo "${ECHO_T}yes" >&6
9447 else
9448 echo "$as_me:$LINENO: result: no" >&5
9449 echo "${ECHO_T}no" >&6
9450 fi
9451
9452
9453 enablestring=
9454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9456 no_cache=0
9457 # Check whether --enable-stattext or --disable-stattext was given.
9458 if test "${enable_stattext+set}" = set; then
9459 enableval="$enable_stattext"
9460
9461 if test "$enableval" = yes; then
9462 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9463 else
9464 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9465 fi
9466
9467 else
9468
9469 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9470 if test "x$LINE" != x ; then
9471 eval "DEFAULT_$LINE"
9472 else
9473 no_cache=1
9474 fi
9475
9476 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9477
9478 fi;
9479
9480 eval "$ac_cv_use_stattext"
9481 if test "$no_cache" != 1; then
9482 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9483 fi
9484
9485 if test "$wxUSE_STATTEXT" = yes; then
9486 echo "$as_me:$LINENO: result: yes" >&5
9487 echo "${ECHO_T}yes" >&6
9488 else
9489 echo "$as_me:$LINENO: result: no" >&5
9490 echo "${ECHO_T}no" >&6
9491 fi
9492
9493
9494 enablestring=
9495 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9496 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9497 no_cache=0
9498 # Check whether --enable-statusbar or --disable-statusbar was given.
9499 if test "${enable_statusbar+set}" = set; then
9500 enableval="$enable_statusbar"
9501
9502 if test "$enableval" = yes; then
9503 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9504 else
9505 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9506 fi
9507
9508 else
9509
9510 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9511 if test "x$LINE" != x ; then
9512 eval "DEFAULT_$LINE"
9513 else
9514 no_cache=1
9515 fi
9516
9517 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9518
9519 fi;
9520
9521 eval "$ac_cv_use_statusbar"
9522 if test "$no_cache" != 1; then
9523 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9524 fi
9525
9526 if test "$wxUSE_STATUSBAR" = yes; then
9527 echo "$as_me:$LINENO: result: yes" >&5
9528 echo "${ECHO_T}yes" >&6
9529 else
9530 echo "$as_me:$LINENO: result: no" >&5
9531 echo "${ECHO_T}no" >&6
9532 fi
9533
9534
9535 enablestring=
9536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9538 no_cache=0
9539 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9540 if test "${enable_tabdialog+set}" = set; then
9541 enableval="$enable_tabdialog"
9542
9543 if test "$enableval" = yes; then
9544 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9545 else
9546 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9547 fi
9548
9549 else
9550
9551 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9552 if test "x$LINE" != x ; then
9553 eval "DEFAULT_$LINE"
9554 else
9555 no_cache=1
9556 fi
9557
9558 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9559
9560 fi;
9561
9562 eval "$ac_cv_use_tabdialog"
9563 if test "$no_cache" != 1; then
9564 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9565 fi
9566
9567 if test "$wxUSE_TAB_DIALOG" = yes; then
9568 echo "$as_me:$LINENO: result: yes" >&5
9569 echo "${ECHO_T}yes" >&6
9570 else
9571 echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6
9573 fi
9574
9575
9576 enablestring=
9577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9578 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9579 no_cache=0
9580 # Check whether --enable-textctrl or --disable-textctrl was given.
9581 if test "${enable_textctrl+set}" = set; then
9582 enableval="$enable_textctrl"
9583
9584 if test "$enableval" = yes; then
9585 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9586 else
9587 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9588 fi
9589
9590 else
9591
9592 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9593 if test "x$LINE" != x ; then
9594 eval "DEFAULT_$LINE"
9595 else
9596 no_cache=1
9597 fi
9598
9599 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9600
9601 fi;
9602
9603 eval "$ac_cv_use_textctrl"
9604 if test "$no_cache" != 1; then
9605 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9606 fi
9607
9608 if test "$wxUSE_TEXTCTRL" = yes; then
9609 echo "$as_me:$LINENO: result: yes" >&5
9610 echo "${ECHO_T}yes" >&6
9611 else
9612 echo "$as_me:$LINENO: result: no" >&5
9613 echo "${ECHO_T}no" >&6
9614 fi
9615
9616
9617 enablestring=
9618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9619 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9620 no_cache=0
9621 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9622 if test "${enable_togglebtn+set}" = set; then
9623 enableval="$enable_togglebtn"
9624
9625 if test "$enableval" = yes; then
9626 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9627 else
9628 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9629 fi
9630
9631 else
9632
9633 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9634 if test "x$LINE" != x ; then
9635 eval "DEFAULT_$LINE"
9636 else
9637 no_cache=1
9638 fi
9639
9640 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9641
9642 fi;
9643
9644 eval "$ac_cv_use_togglebtn"
9645 if test "$no_cache" != 1; then
9646 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9647 fi
9648
9649 if test "$wxUSE_TOGGLEBTN" = yes; then
9650 echo "$as_me:$LINENO: result: yes" >&5
9651 echo "${ECHO_T}yes" >&6
9652 else
9653 echo "$as_me:$LINENO: result: no" >&5
9654 echo "${ECHO_T}no" >&6
9655 fi
9656
9657
9658 enablestring=
9659 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9660 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9661 no_cache=0
9662 # Check whether --enable-toolbar or --disable-toolbar was given.
9663 if test "${enable_toolbar+set}" = set; then
9664 enableval="$enable_toolbar"
9665
9666 if test "$enableval" = yes; then
9667 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9668 else
9669 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9670 fi
9671
9672 else
9673
9674 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9675 if test "x$LINE" != x ; then
9676 eval "DEFAULT_$LINE"
9677 else
9678 no_cache=1
9679 fi
9680
9681 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9682
9683 fi;
9684
9685 eval "$ac_cv_use_toolbar"
9686 if test "$no_cache" != 1; then
9687 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9688 fi
9689
9690 if test "$wxUSE_TOOLBAR" = yes; then
9691 echo "$as_me:$LINENO: result: yes" >&5
9692 echo "${ECHO_T}yes" >&6
9693 else
9694 echo "$as_me:$LINENO: result: no" >&5
9695 echo "${ECHO_T}no" >&6
9696 fi
9697
9698
9699 enablestring=
9700 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9701 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9702 no_cache=0
9703 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9704 if test "${enable_tbarnative+set}" = set; then
9705 enableval="$enable_tbarnative"
9706
9707 if test "$enableval" = yes; then
9708 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9709 else
9710 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9711 fi
9712
9713 else
9714
9715 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9716 if test "x$LINE" != x ; then
9717 eval "DEFAULT_$LINE"
9718 else
9719 no_cache=1
9720 fi
9721
9722 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9723
9724 fi;
9725
9726 eval "$ac_cv_use_tbarnative"
9727 if test "$no_cache" != 1; then
9728 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9729 fi
9730
9731 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9732 echo "$as_me:$LINENO: result: yes" >&5
9733 echo "${ECHO_T}yes" >&6
9734 else
9735 echo "$as_me:$LINENO: result: no" >&5
9736 echo "${ECHO_T}no" >&6
9737 fi
9738
9739
9740 enablestring=
9741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9742 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9743 no_cache=0
9744 # Check whether --enable-treebook or --disable-treebook was given.
9745 if test "${enable_treebook+set}" = set; then
9746 enableval="$enable_treebook"
9747
9748 if test "$enableval" = yes; then
9749 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9750 else
9751 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9752 fi
9753
9754 else
9755
9756 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9757 if test "x$LINE" != x ; then
9758 eval "DEFAULT_$LINE"
9759 else
9760 no_cache=1
9761 fi
9762
9763 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9764
9765 fi;
9766
9767 eval "$ac_cv_use_treebook"
9768 if test "$no_cache" != 1; then
9769 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9770 fi
9771
9772 if test "$wxUSE_TREEBOOK" = yes; then
9773 echo "$as_me:$LINENO: result: yes" >&5
9774 echo "${ECHO_T}yes" >&6
9775 else
9776 echo "$as_me:$LINENO: result: no" >&5
9777 echo "${ECHO_T}no" >&6
9778 fi
9779
9780
9781 enablestring=
9782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9784 no_cache=0
9785 # Check whether --enable-toolbook or --disable-toolbook was given.
9786 if test "${enable_toolbook+set}" = set; then
9787 enableval="$enable_toolbook"
9788
9789 if test "$enableval" = yes; then
9790 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9791 else
9792 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9793 fi
9794
9795 else
9796
9797 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9798 if test "x$LINE" != x ; then
9799 eval "DEFAULT_$LINE"
9800 else
9801 no_cache=1
9802 fi
9803
9804 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9805
9806 fi;
9807
9808 eval "$ac_cv_use_toolbook"
9809 if test "$no_cache" != 1; then
9810 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9811 fi
9812
9813 if test "$wxUSE_TOOLBOOK" = yes; then
9814 echo "$as_me:$LINENO: result: yes" >&5
9815 echo "${ECHO_T}yes" >&6
9816 else
9817 echo "$as_me:$LINENO: result: no" >&5
9818 echo "${ECHO_T}no" >&6
9819 fi
9820
9821
9822 enablestring=
9823 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9824 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9825 no_cache=0
9826 # Check whether --enable-treectrl or --disable-treectrl was given.
9827 if test "${enable_treectrl+set}" = set; then
9828 enableval="$enable_treectrl"
9829
9830 if test "$enableval" = yes; then
9831 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9832 else
9833 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9834 fi
9835
9836 else
9837
9838 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9839 if test "x$LINE" != x ; then
9840 eval "DEFAULT_$LINE"
9841 else
9842 no_cache=1
9843 fi
9844
9845 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9846
9847 fi;
9848
9849 eval "$ac_cv_use_treectrl"
9850 if test "$no_cache" != 1; then
9851 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9852 fi
9853
9854 if test "$wxUSE_TREECTRL" = yes; then
9855 echo "$as_me:$LINENO: result: yes" >&5
9856 echo "${ECHO_T}yes" >&6
9857 else
9858 echo "$as_me:$LINENO: result: no" >&5
9859 echo "${ECHO_T}no" >&6
9860 fi
9861
9862
9863 enablestring=
9864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9865 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9866 no_cache=0
9867 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9868 if test "${enable_tipwindow+set}" = set; then
9869 enableval="$enable_tipwindow"
9870
9871 if test "$enableval" = yes; then
9872 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9873 else
9874 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9875 fi
9876
9877 else
9878
9879 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9880 if test "x$LINE" != x ; then
9881 eval "DEFAULT_$LINE"
9882 else
9883 no_cache=1
9884 fi
9885
9886 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9887
9888 fi;
9889
9890 eval "$ac_cv_use_tipwindow"
9891 if test "$no_cache" != 1; then
9892 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9893 fi
9894
9895 if test "$wxUSE_TIPWINDOW" = yes; then
9896 echo "$as_me:$LINENO: result: yes" >&5
9897 echo "${ECHO_T}yes" >&6
9898 else
9899 echo "$as_me:$LINENO: result: no" >&5
9900 echo "${ECHO_T}no" >&6
9901 fi
9902
9903
9904 enablestring=
9905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9906 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9907 no_cache=0
9908 # Check whether --enable-popupwin or --disable-popupwin was given.
9909 if test "${enable_popupwin+set}" = set; then
9910 enableval="$enable_popupwin"
9911
9912 if test "$enableval" = yes; then
9913 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9914 else
9915 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9916 fi
9917
9918 else
9919
9920 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9921 if test "x$LINE" != x ; then
9922 eval "DEFAULT_$LINE"
9923 else
9924 no_cache=1
9925 fi
9926
9927 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9928
9929 fi;
9930
9931 eval "$ac_cv_use_popupwin"
9932 if test "$no_cache" != 1; then
9933 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9934 fi
9935
9936 if test "$wxUSE_POPUPWIN" = yes; then
9937 echo "$as_me:$LINENO: result: yes" >&5
9938 echo "${ECHO_T}yes" >&6
9939 else
9940 echo "$as_me:$LINENO: result: no" >&5
9941 echo "${ECHO_T}no" >&6
9942 fi
9943
9944
9945
9946
9947 enablestring=
9948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9949 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9950 no_cache=0
9951 # Check whether --enable-commondlg or --disable-commondlg was given.
9952 if test "${enable_commondlg+set}" = set; then
9953 enableval="$enable_commondlg"
9954
9955 if test "$enableval" = yes; then
9956 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9957 else
9958 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9959 fi
9960
9961 else
9962
9963 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9964 if test "x$LINE" != x ; then
9965 eval "DEFAULT_$LINE"
9966 else
9967 no_cache=1
9968 fi
9969
9970 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9971
9972 fi;
9973
9974 eval "$ac_cv_use_commondlg"
9975 if test "$no_cache" != 1; then
9976 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9977 fi
9978
9979 if test "$wxUSE_COMMONDLGS" = yes; then
9980 echo "$as_me:$LINENO: result: yes" >&5
9981 echo "${ECHO_T}yes" >&6
9982 else
9983 echo "$as_me:$LINENO: result: no" >&5
9984 echo "${ECHO_T}no" >&6
9985 fi
9986
9987
9988 enablestring=
9989 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9990 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9991 no_cache=0
9992 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9993 if test "${enable_choicedlg+set}" = set; then
9994 enableval="$enable_choicedlg"
9995
9996 if test "$enableval" = yes; then
9997 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9998 else
9999 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10000 fi
10001
10002 else
10003
10004 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10005 if test "x$LINE" != x ; then
10006 eval "DEFAULT_$LINE"
10007 else
10008 no_cache=1
10009 fi
10010
10011 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10012
10013 fi;
10014
10015 eval "$ac_cv_use_choicedlg"
10016 if test "$no_cache" != 1; then
10017 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10018 fi
10019
10020 if test "$wxUSE_CHOICEDLG" = yes; then
10021 echo "$as_me:$LINENO: result: yes" >&5
10022 echo "${ECHO_T}yes" >&6
10023 else
10024 echo "$as_me:$LINENO: result: no" >&5
10025 echo "${ECHO_T}no" >&6
10026 fi
10027
10028
10029 enablestring=
10030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10031 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10032 no_cache=0
10033 # Check whether --enable-coldlg or --disable-coldlg was given.
10034 if test "${enable_coldlg+set}" = set; then
10035 enableval="$enable_coldlg"
10036
10037 if test "$enableval" = yes; then
10038 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10039 else
10040 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10041 fi
10042
10043 else
10044
10045 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10046 if test "x$LINE" != x ; then
10047 eval "DEFAULT_$LINE"
10048 else
10049 no_cache=1
10050 fi
10051
10052 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10053
10054 fi;
10055
10056 eval "$ac_cv_use_coldlg"
10057 if test "$no_cache" != 1; then
10058 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10059 fi
10060
10061 if test "$wxUSE_COLOURDLG" = yes; then
10062 echo "$as_me:$LINENO: result: yes" >&5
10063 echo "${ECHO_T}yes" >&6
10064 else
10065 echo "$as_me:$LINENO: result: no" >&5
10066 echo "${ECHO_T}no" >&6
10067 fi
10068
10069
10070 enablestring=
10071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10072 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10073 no_cache=0
10074 # Check whether --enable-filedlg or --disable-filedlg was given.
10075 if test "${enable_filedlg+set}" = set; then
10076 enableval="$enable_filedlg"
10077
10078 if test "$enableval" = yes; then
10079 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10080 else
10081 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10082 fi
10083
10084 else
10085
10086 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10087 if test "x$LINE" != x ; then
10088 eval "DEFAULT_$LINE"
10089 else
10090 no_cache=1
10091 fi
10092
10093 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10094
10095 fi;
10096
10097 eval "$ac_cv_use_filedlg"
10098 if test "$no_cache" != 1; then
10099 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10100 fi
10101
10102 if test "$wxUSE_FILEDLG" = yes; then
10103 echo "$as_me:$LINENO: result: yes" >&5
10104 echo "${ECHO_T}yes" >&6
10105 else
10106 echo "$as_me:$LINENO: result: no" >&5
10107 echo "${ECHO_T}no" >&6
10108 fi
10109
10110
10111 enablestring=
10112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10113 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10114 no_cache=0
10115 # Check whether --enable-finddlg or --disable-finddlg was given.
10116 if test "${enable_finddlg+set}" = set; then
10117 enableval="$enable_finddlg"
10118
10119 if test "$enableval" = yes; then
10120 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10121 else
10122 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10123 fi
10124
10125 else
10126
10127 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10128 if test "x$LINE" != x ; then
10129 eval "DEFAULT_$LINE"
10130 else
10131 no_cache=1
10132 fi
10133
10134 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10135
10136 fi;
10137
10138 eval "$ac_cv_use_finddlg"
10139 if test "$no_cache" != 1; then
10140 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10141 fi
10142
10143 if test "$wxUSE_FINDREPLDLG" = yes; then
10144 echo "$as_me:$LINENO: result: yes" >&5
10145 echo "${ECHO_T}yes" >&6
10146 else
10147 echo "$as_me:$LINENO: result: no" >&5
10148 echo "${ECHO_T}no" >&6
10149 fi
10150
10151
10152 enablestring=
10153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10154 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10155 no_cache=0
10156 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10157 if test "${enable_fontdlg+set}" = set; then
10158 enableval="$enable_fontdlg"
10159
10160 if test "$enableval" = yes; then
10161 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10162 else
10163 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10164 fi
10165
10166 else
10167
10168 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10169 if test "x$LINE" != x ; then
10170 eval "DEFAULT_$LINE"
10171 else
10172 no_cache=1
10173 fi
10174
10175 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10176
10177 fi;
10178
10179 eval "$ac_cv_use_fontdlg"
10180 if test "$no_cache" != 1; then
10181 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10182 fi
10183
10184 if test "$wxUSE_FONTDLG" = yes; then
10185 echo "$as_me:$LINENO: result: yes" >&5
10186 echo "${ECHO_T}yes" >&6
10187 else
10188 echo "$as_me:$LINENO: result: no" >&5
10189 echo "${ECHO_T}no" >&6
10190 fi
10191
10192
10193 enablestring=
10194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10195 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10196 no_cache=0
10197 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10198 if test "${enable_dirdlg+set}" = set; then
10199 enableval="$enable_dirdlg"
10200
10201 if test "$enableval" = yes; then
10202 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10203 else
10204 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10205 fi
10206
10207 else
10208
10209 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10210 if test "x$LINE" != x ; then
10211 eval "DEFAULT_$LINE"
10212 else
10213 no_cache=1
10214 fi
10215
10216 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10217
10218 fi;
10219
10220 eval "$ac_cv_use_dirdlg"
10221 if test "$no_cache" != 1; then
10222 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10223 fi
10224
10225 if test "$wxUSE_DIRDLG" = yes; then
10226 echo "$as_me:$LINENO: result: yes" >&5
10227 echo "${ECHO_T}yes" >&6
10228 else
10229 echo "$as_me:$LINENO: result: no" >&5
10230 echo "${ECHO_T}no" >&6
10231 fi
10232
10233
10234 enablestring=
10235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10236 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10237 no_cache=0
10238 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10239 if test "${enable_msgdlg+set}" = set; then
10240 enableval="$enable_msgdlg"
10241
10242 if test "$enableval" = yes; then
10243 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10244 else
10245 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10246 fi
10247
10248 else
10249
10250 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10251 if test "x$LINE" != x ; then
10252 eval "DEFAULT_$LINE"
10253 else
10254 no_cache=1
10255 fi
10256
10257 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10258
10259 fi;
10260
10261 eval "$ac_cv_use_msgdlg"
10262 if test "$no_cache" != 1; then
10263 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10264 fi
10265
10266 if test "$wxUSE_MSGDLG" = yes; then
10267 echo "$as_me:$LINENO: result: yes" >&5
10268 echo "${ECHO_T}yes" >&6
10269 else
10270 echo "$as_me:$LINENO: result: no" >&5
10271 echo "${ECHO_T}no" >&6
10272 fi
10273
10274
10275 enablestring=
10276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10277 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10278 no_cache=0
10279 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10280 if test "${enable_numberdlg+set}" = set; then
10281 enableval="$enable_numberdlg"
10282
10283 if test "$enableval" = yes; then
10284 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10285 else
10286 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10287 fi
10288
10289 else
10290
10291 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10292 if test "x$LINE" != x ; then
10293 eval "DEFAULT_$LINE"
10294 else
10295 no_cache=1
10296 fi
10297
10298 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10299
10300 fi;
10301
10302 eval "$ac_cv_use_numberdlg"
10303 if test "$no_cache" != 1; then
10304 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10305 fi
10306
10307 if test "$wxUSE_NUMBERDLG" = yes; then
10308 echo "$as_me:$LINENO: result: yes" >&5
10309 echo "${ECHO_T}yes" >&6
10310 else
10311 echo "$as_me:$LINENO: result: no" >&5
10312 echo "${ECHO_T}no" >&6
10313 fi
10314
10315
10316 enablestring=
10317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10318 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10319 no_cache=0
10320 # Check whether --enable-splash or --disable-splash was given.
10321 if test "${enable_splash+set}" = set; then
10322 enableval="$enable_splash"
10323
10324 if test "$enableval" = yes; then
10325 ac_cv_use_splash='wxUSE_SPLASH=yes'
10326 else
10327 ac_cv_use_splash='wxUSE_SPLASH=no'
10328 fi
10329
10330 else
10331
10332 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10333 if test "x$LINE" != x ; then
10334 eval "DEFAULT_$LINE"
10335 else
10336 no_cache=1
10337 fi
10338
10339 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10340
10341 fi;
10342
10343 eval "$ac_cv_use_splash"
10344 if test "$no_cache" != 1; then
10345 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10346 fi
10347
10348 if test "$wxUSE_SPLASH" = yes; then
10349 echo "$as_me:$LINENO: result: yes" >&5
10350 echo "${ECHO_T}yes" >&6
10351 else
10352 echo "$as_me:$LINENO: result: no" >&5
10353 echo "${ECHO_T}no" >&6
10354 fi
10355
10356
10357 enablestring=
10358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10359 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10360 no_cache=0
10361 # Check whether --enable-textdlg or --disable-textdlg was given.
10362 if test "${enable_textdlg+set}" = set; then
10363 enableval="$enable_textdlg"
10364
10365 if test "$enableval" = yes; then
10366 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10367 else
10368 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10369 fi
10370
10371 else
10372
10373 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10374 if test "x$LINE" != x ; then
10375 eval "DEFAULT_$LINE"
10376 else
10377 no_cache=1
10378 fi
10379
10380 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10381
10382 fi;
10383
10384 eval "$ac_cv_use_textdlg"
10385 if test "$no_cache" != 1; then
10386 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10387 fi
10388
10389 if test "$wxUSE_TEXTDLG" = yes; then
10390 echo "$as_me:$LINENO: result: yes" >&5
10391 echo "${ECHO_T}yes" >&6
10392 else
10393 echo "$as_me:$LINENO: result: no" >&5
10394 echo "${ECHO_T}no" >&6
10395 fi
10396
10397
10398 enablestring=
10399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10400 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10401 no_cache=0
10402 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10403 if test "${enable_tipdlg+set}" = set; then
10404 enableval="$enable_tipdlg"
10405
10406 if test "$enableval" = yes; then
10407 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10408 else
10409 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10410 fi
10411
10412 else
10413
10414 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10415 if test "x$LINE" != x ; then
10416 eval "DEFAULT_$LINE"
10417 else
10418 no_cache=1
10419 fi
10420
10421 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10422
10423 fi;
10424
10425 eval "$ac_cv_use_tipdlg"
10426 if test "$no_cache" != 1; then
10427 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10428 fi
10429
10430 if test "$wxUSE_STARTUP_TIPS" = yes; then
10431 echo "$as_me:$LINENO: result: yes" >&5
10432 echo "${ECHO_T}yes" >&6
10433 else
10434 echo "$as_me:$LINENO: result: no" >&5
10435 echo "${ECHO_T}no" >&6
10436 fi
10437
10438
10439 enablestring=
10440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10441 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10442 no_cache=0
10443 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10444 if test "${enable_progressdlg+set}" = set; then
10445 enableval="$enable_progressdlg"
10446
10447 if test "$enableval" = yes; then
10448 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10449 else
10450 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10451 fi
10452
10453 else
10454
10455 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10456 if test "x$LINE" != x ; then
10457 eval "DEFAULT_$LINE"
10458 else
10459 no_cache=1
10460 fi
10461
10462 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10463
10464 fi;
10465
10466 eval "$ac_cv_use_progressdlg"
10467 if test "$no_cache" != 1; then
10468 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10469 fi
10470
10471 if test "$wxUSE_PROGRESSDLG" = yes; then
10472 echo "$as_me:$LINENO: result: yes" >&5
10473 echo "${ECHO_T}yes" >&6
10474 else
10475 echo "$as_me:$LINENO: result: no" >&5
10476 echo "${ECHO_T}no" >&6
10477 fi
10478
10479
10480 enablestring=
10481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10482 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10483 no_cache=0
10484 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10485 if test "${enable_wizarddlg+set}" = set; then
10486 enableval="$enable_wizarddlg"
10487
10488 if test "$enableval" = yes; then
10489 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10490 else
10491 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10492 fi
10493
10494 else
10495
10496 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10497 if test "x$LINE" != x ; then
10498 eval "DEFAULT_$LINE"
10499 else
10500 no_cache=1
10501 fi
10502
10503 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10504
10505 fi;
10506
10507 eval "$ac_cv_use_wizarddlg"
10508 if test "$no_cache" != 1; then
10509 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10510 fi
10511
10512 if test "$wxUSE_WIZARDDLG" = yes; then
10513 echo "$as_me:$LINENO: result: yes" >&5
10514 echo "${ECHO_T}yes" >&6
10515 else
10516 echo "$as_me:$LINENO: result: no" >&5
10517 echo "${ECHO_T}no" >&6
10518 fi
10519
10520
10521
10522
10523 enablestring=
10524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10525 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10526 no_cache=0
10527 # Check whether --enable-menus or --disable-menus was given.
10528 if test "${enable_menus+set}" = set; then
10529 enableval="$enable_menus"
10530
10531 if test "$enableval" = yes; then
10532 ac_cv_use_menus='wxUSE_MENUS=yes'
10533 else
10534 ac_cv_use_menus='wxUSE_MENUS=no'
10535 fi
10536
10537 else
10538
10539 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10540 if test "x$LINE" != x ; then
10541 eval "DEFAULT_$LINE"
10542 else
10543 no_cache=1
10544 fi
10545
10546 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10547
10548 fi;
10549
10550 eval "$ac_cv_use_menus"
10551 if test "$no_cache" != 1; then
10552 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10553 fi
10554
10555 if test "$wxUSE_MENUS" = yes; then
10556 echo "$as_me:$LINENO: result: yes" >&5
10557 echo "${ECHO_T}yes" >&6
10558 else
10559 echo "$as_me:$LINENO: result: no" >&5
10560 echo "${ECHO_T}no" >&6
10561 fi
10562
10563
10564 enablestring=
10565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10566 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10567 no_cache=0
10568 # Check whether --enable-miniframe or --disable-miniframe was given.
10569 if test "${enable_miniframe+set}" = set; then
10570 enableval="$enable_miniframe"
10571
10572 if test "$enableval" = yes; then
10573 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10574 else
10575 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10576 fi
10577
10578 else
10579
10580 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10581 if test "x$LINE" != x ; then
10582 eval "DEFAULT_$LINE"
10583 else
10584 no_cache=1
10585 fi
10586
10587 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10588
10589 fi;
10590
10591 eval "$ac_cv_use_miniframe"
10592 if test "$no_cache" != 1; then
10593 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10594 fi
10595
10596 if test "$wxUSE_MINIFRAME" = yes; then
10597 echo "$as_me:$LINENO: result: yes" >&5
10598 echo "${ECHO_T}yes" >&6
10599 else
10600 echo "$as_me:$LINENO: result: no" >&5
10601 echo "${ECHO_T}no" >&6
10602 fi
10603
10604
10605 enablestring=
10606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10607 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10608 no_cache=0
10609 # Check whether --enable-tooltips or --disable-tooltips was given.
10610 if test "${enable_tooltips+set}" = set; then
10611 enableval="$enable_tooltips"
10612
10613 if test "$enableval" = yes; then
10614 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10615 else
10616 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10617 fi
10618
10619 else
10620
10621 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10622 if test "x$LINE" != x ; then
10623 eval "DEFAULT_$LINE"
10624 else
10625 no_cache=1
10626 fi
10627
10628 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10629
10630 fi;
10631
10632 eval "$ac_cv_use_tooltips"
10633 if test "$no_cache" != 1; then
10634 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10635 fi
10636
10637 if test "$wxUSE_TOOLTIPS" = yes; then
10638 echo "$as_me:$LINENO: result: yes" >&5
10639 echo "${ECHO_T}yes" >&6
10640 else
10641 echo "$as_me:$LINENO: result: no" >&5
10642 echo "${ECHO_T}no" >&6
10643 fi
10644
10645
10646 enablestring=
10647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10648 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10649 no_cache=0
10650 # Check whether --enable-splines or --disable-splines was given.
10651 if test "${enable_splines+set}" = set; then
10652 enableval="$enable_splines"
10653
10654 if test "$enableval" = yes; then
10655 ac_cv_use_splines='wxUSE_SPLINES=yes'
10656 else
10657 ac_cv_use_splines='wxUSE_SPLINES=no'
10658 fi
10659
10660 else
10661
10662 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10663 if test "x$LINE" != x ; then
10664 eval "DEFAULT_$LINE"
10665 else
10666 no_cache=1
10667 fi
10668
10669 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10670
10671 fi;
10672
10673 eval "$ac_cv_use_splines"
10674 if test "$no_cache" != 1; then
10675 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10676 fi
10677
10678 if test "$wxUSE_SPLINES" = yes; then
10679 echo "$as_me:$LINENO: result: yes" >&5
10680 echo "${ECHO_T}yes" >&6
10681 else
10682 echo "$as_me:$LINENO: result: no" >&5
10683 echo "${ECHO_T}no" >&6
10684 fi
10685
10686
10687 enablestring=
10688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10689 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10690 no_cache=0
10691 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10692 if test "${enable_mousewheel+set}" = set; then
10693 enableval="$enable_mousewheel"
10694
10695 if test "$enableval" = yes; then
10696 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10697 else
10698 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10699 fi
10700
10701 else
10702
10703 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10704 if test "x$LINE" != x ; then
10705 eval "DEFAULT_$LINE"
10706 else
10707 no_cache=1
10708 fi
10709
10710 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10711
10712 fi;
10713
10714 eval "$ac_cv_use_mousewheel"
10715 if test "$no_cache" != 1; then
10716 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10717 fi
10718
10719 if test "$wxUSE_MOUSEWHEEL" = yes; then
10720 echo "$as_me:$LINENO: result: yes" >&5
10721 echo "${ECHO_T}yes" >&6
10722 else
10723 echo "$as_me:$LINENO: result: no" >&5
10724 echo "${ECHO_T}no" >&6
10725 fi
10726
10727
10728 enablestring=
10729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10730 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10731 no_cache=0
10732 # Check whether --enable-validators or --disable-validators was given.
10733 if test "${enable_validators+set}" = set; then
10734 enableval="$enable_validators"
10735
10736 if test "$enableval" = yes; then
10737 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10738 else
10739 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10740 fi
10741
10742 else
10743
10744 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10745 if test "x$LINE" != x ; then
10746 eval "DEFAULT_$LINE"
10747 else
10748 no_cache=1
10749 fi
10750
10751 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10752
10753 fi;
10754
10755 eval "$ac_cv_use_validators"
10756 if test "$no_cache" != 1; then
10757 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10758 fi
10759
10760 if test "$wxUSE_VALIDATORS" = yes; then
10761 echo "$as_me:$LINENO: result: yes" >&5
10762 echo "${ECHO_T}yes" >&6
10763 else
10764 echo "$as_me:$LINENO: result: no" >&5
10765 echo "${ECHO_T}no" >&6
10766 fi
10767
10768
10769 enablestring=
10770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10771 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10772 no_cache=0
10773 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10774 if test "${enable_busyinfo+set}" = set; then
10775 enableval="$enable_busyinfo"
10776
10777 if test "$enableval" = yes; then
10778 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10779 else
10780 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10781 fi
10782
10783 else
10784
10785 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10786 if test "x$LINE" != x ; then
10787 eval "DEFAULT_$LINE"
10788 else
10789 no_cache=1
10790 fi
10791
10792 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10793
10794 fi;
10795
10796 eval "$ac_cv_use_busyinfo"
10797 if test "$no_cache" != 1; then
10798 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10799 fi
10800
10801 if test "$wxUSE_BUSYINFO" = yes; then
10802 echo "$as_me:$LINENO: result: yes" >&5
10803 echo "${ECHO_T}yes" >&6
10804 else
10805 echo "$as_me:$LINENO: result: no" >&5
10806 echo "${ECHO_T}no" >&6
10807 fi
10808
10809
10810 enablestring=
10811 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10812 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10813 no_cache=0
10814 # Check whether --enable-joystick or --disable-joystick was given.
10815 if test "${enable_joystick+set}" = set; then
10816 enableval="$enable_joystick"
10817
10818 if test "$enableval" = yes; then
10819 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10820 else
10821 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10822 fi
10823
10824 else
10825
10826 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10827 if test "x$LINE" != x ; then
10828 eval "DEFAULT_$LINE"
10829 else
10830 no_cache=1
10831 fi
10832
10833 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10834
10835 fi;
10836
10837 eval "$ac_cv_use_joystick"
10838 if test "$no_cache" != 1; then
10839 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10840 fi
10841
10842 if test "$wxUSE_JOYSTICK" = yes; then
10843 echo "$as_me:$LINENO: result: yes" >&5
10844 echo "${ECHO_T}yes" >&6
10845 else
10846 echo "$as_me:$LINENO: result: no" >&5
10847 echo "${ECHO_T}no" >&6
10848 fi
10849
10850
10851 enablestring=
10852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10853 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10854 no_cache=0
10855 # Check whether --enable-metafile or --disable-metafile was given.
10856 if test "${enable_metafile+set}" = set; then
10857 enableval="$enable_metafile"
10858
10859 if test "$enableval" = yes; then
10860 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10861 else
10862 ac_cv_use_metafile='wxUSE_METAFILE=no'
10863 fi
10864
10865 else
10866
10867 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10868 if test "x$LINE" != x ; then
10869 eval "DEFAULT_$LINE"
10870 else
10871 no_cache=1
10872 fi
10873
10874 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10875
10876 fi;
10877
10878 eval "$ac_cv_use_metafile"
10879 if test "$no_cache" != 1; then
10880 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10881 fi
10882
10883 if test "$wxUSE_METAFILE" = yes; then
10884 echo "$as_me:$LINENO: result: yes" >&5
10885 echo "${ECHO_T}yes" >&6
10886 else
10887 echo "$as_me:$LINENO: result: no" >&5
10888 echo "${ECHO_T}no" >&6
10889 fi
10890
10891
10892 enablestring=
10893 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10894 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10895 no_cache=0
10896 # Check whether --enable-dragimage or --disable-dragimage was given.
10897 if test "${enable_dragimage+set}" = set; then
10898 enableval="$enable_dragimage"
10899
10900 if test "$enableval" = yes; then
10901 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10902 else
10903 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10904 fi
10905
10906 else
10907
10908 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10909 if test "x$LINE" != x ; then
10910 eval "DEFAULT_$LINE"
10911 else
10912 no_cache=1
10913 fi
10914
10915 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10916
10917 fi;
10918
10919 eval "$ac_cv_use_dragimage"
10920 if test "$no_cache" != 1; then
10921 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10922 fi
10923
10924 if test "$wxUSE_DRAGIMAGE" = yes; then
10925 echo "$as_me:$LINENO: result: yes" >&5
10926 echo "${ECHO_T}yes" >&6
10927 else
10928 echo "$as_me:$LINENO: result: no" >&5
10929 echo "${ECHO_T}no" >&6
10930 fi
10931
10932
10933 enablestring=
10934 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10935 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10936 no_cache=0
10937 # Check whether --enable-accessibility or --disable-accessibility was given.
10938 if test "${enable_accessibility+set}" = set; then
10939 enableval="$enable_accessibility"
10940
10941 if test "$enableval" = yes; then
10942 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10943 else
10944 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10945 fi
10946
10947 else
10948
10949 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10950 if test "x$LINE" != x ; then
10951 eval "DEFAULT_$LINE"
10952 else
10953 no_cache=1
10954 fi
10955
10956 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10957
10958 fi;
10959
10960 eval "$ac_cv_use_accessibility"
10961 if test "$no_cache" != 1; then
10962 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10963 fi
10964
10965 if test "$wxUSE_ACCESSIBILITY" = yes; then
10966 echo "$as_me:$LINENO: result: yes" >&5
10967 echo "${ECHO_T}yes" >&6
10968 else
10969 echo "$as_me:$LINENO: result: no" >&5
10970 echo "${ECHO_T}no" >&6
10971 fi
10972
10973
10974 if test "$wxUSE_MSW" = "1"; then
10975
10976 enablestring=
10977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10978 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10979 no_cache=0
10980 # Check whether --enable-dccache or --disable-dccache was given.
10981 if test "${enable_dccache+set}" = set; then
10982 enableval="$enable_dccache"
10983
10984 if test "$enableval" = yes; then
10985 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10986 else
10987 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10988 fi
10989
10990 else
10991
10992 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10993 if test "x$LINE" != x ; then
10994 eval "DEFAULT_$LINE"
10995 else
10996 no_cache=1
10997 fi
10998
10999 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11000
11001 fi;
11002
11003 eval "$ac_cv_use_dccache"
11004 if test "$no_cache" != 1; then
11005 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11006 fi
11007
11008 if test "$wxUSE_DC_CACHEING" = yes; then
11009 echo "$as_me:$LINENO: result: yes" >&5
11010 echo "${ECHO_T}yes" >&6
11011 else
11012 echo "$as_me:$LINENO: result: no" >&5
11013 echo "${ECHO_T}no" >&6
11014 fi
11015
11016 fi
11017
11018
11019
11020 enablestring=
11021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11022 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11023 no_cache=0
11024 # Check whether --enable-palette or --disable-palette was given.
11025 if test "${enable_palette+set}" = set; then
11026 enableval="$enable_palette"
11027
11028 if test "$enableval" = yes; then
11029 ac_cv_use_palette='wxUSE_PALETTE=yes'
11030 else
11031 ac_cv_use_palette='wxUSE_PALETTE=no'
11032 fi
11033
11034 else
11035
11036 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11037 if test "x$LINE" != x ; then
11038 eval "DEFAULT_$LINE"
11039 else
11040 no_cache=1
11041 fi
11042
11043 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11044
11045 fi;
11046
11047 eval "$ac_cv_use_palette"
11048 if test "$no_cache" != 1; then
11049 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11050 fi
11051
11052 if test "$wxUSE_PALETTE" = yes; then
11053 echo "$as_me:$LINENO: result: yes" >&5
11054 echo "${ECHO_T}yes" >&6
11055 else
11056 echo "$as_me:$LINENO: result: no" >&5
11057 echo "${ECHO_T}no" >&6
11058 fi
11059
11060
11061 enablestring=
11062 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11063 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11064 no_cache=0
11065 # Check whether --enable-image or --disable-image was given.
11066 if test "${enable_image+set}" = set; then
11067 enableval="$enable_image"
11068
11069 if test "$enableval" = yes; then
11070 ac_cv_use_image='wxUSE_IMAGE=yes'
11071 else
11072 ac_cv_use_image='wxUSE_IMAGE=no'
11073 fi
11074
11075 else
11076
11077 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11078 if test "x$LINE" != x ; then
11079 eval "DEFAULT_$LINE"
11080 else
11081 no_cache=1
11082 fi
11083
11084 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11085
11086 fi;
11087
11088 eval "$ac_cv_use_image"
11089 if test "$no_cache" != 1; then
11090 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11091 fi
11092
11093 if test "$wxUSE_IMAGE" = yes; then
11094 echo "$as_me:$LINENO: result: yes" >&5
11095 echo "${ECHO_T}yes" >&6
11096 else
11097 echo "$as_me:$LINENO: result: no" >&5
11098 echo "${ECHO_T}no" >&6
11099 fi
11100
11101
11102 enablestring=
11103 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11104 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11105 no_cache=0
11106 # Check whether --enable-gif or --disable-gif was given.
11107 if test "${enable_gif+set}" = set; then
11108 enableval="$enable_gif"
11109
11110 if test "$enableval" = yes; then
11111 ac_cv_use_gif='wxUSE_GIF=yes'
11112 else
11113 ac_cv_use_gif='wxUSE_GIF=no'
11114 fi
11115
11116 else
11117
11118 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11119 if test "x$LINE" != x ; then
11120 eval "DEFAULT_$LINE"
11121 else
11122 no_cache=1
11123 fi
11124
11125 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11126
11127 fi;
11128
11129 eval "$ac_cv_use_gif"
11130 if test "$no_cache" != 1; then
11131 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11132 fi
11133
11134 if test "$wxUSE_GIF" = yes; then
11135 echo "$as_me:$LINENO: result: yes" >&5
11136 echo "${ECHO_T}yes" >&6
11137 else
11138 echo "$as_me:$LINENO: result: no" >&5
11139 echo "${ECHO_T}no" >&6
11140 fi
11141
11142
11143 enablestring=
11144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11145 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11146 no_cache=0
11147 # Check whether --enable-pcx or --disable-pcx was given.
11148 if test "${enable_pcx+set}" = set; then
11149 enableval="$enable_pcx"
11150
11151 if test "$enableval" = yes; then
11152 ac_cv_use_pcx='wxUSE_PCX=yes'
11153 else
11154 ac_cv_use_pcx='wxUSE_PCX=no'
11155 fi
11156
11157 else
11158
11159 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11160 if test "x$LINE" != x ; then
11161 eval "DEFAULT_$LINE"
11162 else
11163 no_cache=1
11164 fi
11165
11166 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11167
11168 fi;
11169
11170 eval "$ac_cv_use_pcx"
11171 if test "$no_cache" != 1; then
11172 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11173 fi
11174
11175 if test "$wxUSE_PCX" = yes; then
11176 echo "$as_me:$LINENO: result: yes" >&5
11177 echo "${ECHO_T}yes" >&6
11178 else
11179 echo "$as_me:$LINENO: result: no" >&5
11180 echo "${ECHO_T}no" >&6
11181 fi
11182
11183
11184 enablestring=
11185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11186 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11187 no_cache=0
11188 # Check whether --enable-iff or --disable-iff was given.
11189 if test "${enable_iff+set}" = set; then
11190 enableval="$enable_iff"
11191
11192 if test "$enableval" = yes; then
11193 ac_cv_use_iff='wxUSE_IFF=yes'
11194 else
11195 ac_cv_use_iff='wxUSE_IFF=no'
11196 fi
11197
11198 else
11199
11200 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11201 if test "x$LINE" != x ; then
11202 eval "DEFAULT_$LINE"
11203 else
11204 no_cache=1
11205 fi
11206
11207 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11208
11209 fi;
11210
11211 eval "$ac_cv_use_iff"
11212 if test "$no_cache" != 1; then
11213 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11214 fi
11215
11216 if test "$wxUSE_IFF" = yes; then
11217 echo "$as_me:$LINENO: result: yes" >&5
11218 echo "${ECHO_T}yes" >&6
11219 else
11220 echo "$as_me:$LINENO: result: no" >&5
11221 echo "${ECHO_T}no" >&6
11222 fi
11223
11224
11225 enablestring=
11226 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11227 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11228 no_cache=0
11229 # Check whether --enable-pnm or --disable-pnm was given.
11230 if test "${enable_pnm+set}" = set; then
11231 enableval="$enable_pnm"
11232
11233 if test "$enableval" = yes; then
11234 ac_cv_use_pnm='wxUSE_PNM=yes'
11235 else
11236 ac_cv_use_pnm='wxUSE_PNM=no'
11237 fi
11238
11239 else
11240
11241 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11242 if test "x$LINE" != x ; then
11243 eval "DEFAULT_$LINE"
11244 else
11245 no_cache=1
11246 fi
11247
11248 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11249
11250 fi;
11251
11252 eval "$ac_cv_use_pnm"
11253 if test "$no_cache" != 1; then
11254 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11255 fi
11256
11257 if test "$wxUSE_PNM" = yes; then
11258 echo "$as_me:$LINENO: result: yes" >&5
11259 echo "${ECHO_T}yes" >&6
11260 else
11261 echo "$as_me:$LINENO: result: no" >&5
11262 echo "${ECHO_T}no" >&6
11263 fi
11264
11265
11266 enablestring=
11267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11268 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11269 no_cache=0
11270 # Check whether --enable-xpm or --disable-xpm was given.
11271 if test "${enable_xpm+set}" = set; then
11272 enableval="$enable_xpm"
11273
11274 if test "$enableval" = yes; then
11275 ac_cv_use_xpm='wxUSE_XPM=yes'
11276 else
11277 ac_cv_use_xpm='wxUSE_XPM=no'
11278 fi
11279
11280 else
11281
11282 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11283 if test "x$LINE" != x ; then
11284 eval "DEFAULT_$LINE"
11285 else
11286 no_cache=1
11287 fi
11288
11289 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11290
11291 fi;
11292
11293 eval "$ac_cv_use_xpm"
11294 if test "$no_cache" != 1; then
11295 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11296 fi
11297
11298 if test "$wxUSE_XPM" = yes; then
11299 echo "$as_me:$LINENO: result: yes" >&5
11300 echo "${ECHO_T}yes" >&6
11301 else
11302 echo "$as_me:$LINENO: result: no" >&5
11303 echo "${ECHO_T}no" >&6
11304 fi
11305
11306
11307 enablestring=
11308 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11309 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11310 no_cache=0
11311 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11312 if test "${enable_ico_cur+set}" = set; then
11313 enableval="$enable_ico_cur"
11314
11315 if test "$enableval" = yes; then
11316 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11317 else
11318 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11319 fi
11320
11321 else
11322
11323 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11324 if test "x$LINE" != x ; then
11325 eval "DEFAULT_$LINE"
11326 else
11327 no_cache=1
11328 fi
11329
11330 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11331
11332 fi;
11333
11334 eval "$ac_cv_use_ico_cur"
11335 if test "$no_cache" != 1; then
11336 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11337 fi
11338
11339 if test "$wxUSE_ICO_CUR" = yes; then
11340 echo "$as_me:$LINENO: result: yes" >&5
11341 echo "${ECHO_T}yes" >&6
11342 else
11343 echo "$as_me:$LINENO: result: no" >&5
11344 echo "${ECHO_T}no" >&6
11345 fi
11346
11347
11348 fi
11349
11350
11351
11352 # Check whether --with-flavour or --without-flavour was given.
11353 if test "${with_flavour+set}" = set; then
11354 withval="$with_flavour"
11355 WX_FLAVOUR="$withval"
11356 fi;
11357
11358
11359
11360 enablestring=
11361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11362 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11363 no_cache=0
11364 # Check whether --enable-official_build or --disable-official_build was given.
11365 if test "${enable_official_build+set}" = set; then
11366 enableval="$enable_official_build"
11367
11368 if test "$enableval" = yes; then
11369 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11370 else
11371 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11372 fi
11373
11374 else
11375
11376 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11377 if test "x$LINE" != x ; then
11378 eval "DEFAULT_$LINE"
11379 else
11380 no_cache=1
11381 fi
11382
11383 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11384
11385 fi;
11386
11387 eval "$ac_cv_use_official_build"
11388 if test "$no_cache" != 1; then
11389 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11390 fi
11391
11392 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11393 echo "$as_me:$LINENO: result: yes" >&5
11394 echo "${ECHO_T}yes" >&6
11395 else
11396 echo "$as_me:$LINENO: result: no" >&5
11397 echo "${ECHO_T}no" >&6
11398 fi
11399
11400 # Check whether --enable-vendor or --disable-vendor was given.
11401 if test "${enable_vendor+set}" = set; then
11402 enableval="$enable_vendor"
11403 VENDOR="$enableval"
11404 fi;
11405 if test "x$VENDOR" = "x"; then
11406 VENDOR="custom"
11407 fi
11408
11409
11410
11411
11412 echo "saving argument cache $wx_arg_cache_file"
11413 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11414
11415
11416
11417 echo "$as_me:$LINENO: checking for toolkit" >&5
11418 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11419
11420 # In Wine, we need to default to MSW, not GTK or MOTIF
11421 if test "$wxUSE_WINE" = "yes"; then
11422 DEFAULT_DEFAULT_wxUSE_GTK=0
11423 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11424 DEFAULT_DEFAULT_wxUSE_MSW=1
11425 wxUSE_SHARED=no
11426 fi
11427
11428
11429 if test "$wxUSE_GUI" = "yes"; then
11430
11431 if test "$USE_BEOS" = 1; then
11432 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11433 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11434 { (exit 1); exit 1; }; }
11435 fi
11436
11437 if test "$TOOLKIT_GIVEN" = 1; then
11438 for toolkit in `echo $ALL_TOOLKITS`; do
11439 var=wxUSE_$toolkit
11440 eval "value=\$${var}"
11441 if test "x$value" = "xno"; then
11442 eval "$var=0"
11443 elif test "x$value" != "x"; then
11444 eval "$var=1"
11445 fi
11446
11447 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11448 eval "wx${toolkit}_VERSION=$value"
11449 fi
11450 done
11451 else
11452 for toolkit in `echo $ALL_TOOLKITS`; do
11453 if test "$has_toolkit_in_cache" != 1; then
11454 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11455 else
11456 var=DEFAULT_wxUSE_$toolkit
11457
11458 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11459 if test "x$version" != "x"; then
11460 eval "wx${toolkit}_VERSION=$version"
11461 fi
11462 fi
11463 eval "wxUSE_$toolkit=\$${var}"
11464 done
11465 fi
11466
11467 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11468 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11469 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11470
11471 case "${host}" in
11472 *-pc-os2_emx | *-pc-os2-emx )
11473 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11474 esac
11475
11476 case "$NUM_TOOLKITS" in
11477 1)
11478 ;;
11479 0)
11480 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11481 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11482 { (exit 1); exit 1; }; }
11483 ;;
11484 *)
11485 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11486 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11487 { (exit 1); exit 1; }; }
11488 esac
11489
11490 # to be removed when --disable-gtk2 isn't needed
11491 if test "x$wxUSE_GTK2" = "xyes"; then
11492 wxGTK_VERSION=2
11493 elif test "x$wxUSE_GTK2" = "xno"; then
11494 wxGTK_VERSION=1
11495 fi
11496
11497 for toolkit in `echo $ALL_TOOLKITS`; do
11498 var=wxUSE_$toolkit
11499 eval "value=\$${var}"
11500 if test "x$value" != x; then
11501 cache_var=CACHE_$toolkit
11502 eval "cache=\$${cache_var}"
11503 if test "$cache" = 1; then
11504 echo "$var=$value" >> ${wx_arg_cache_file}
11505 eval "version=\$wx${toolkit}_VERSION"
11506 if test "x$version" != "x"; then
11507 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11508 fi
11509 fi
11510 if test "$value" = 1; then
11511 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11512 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11513 echo "${ECHO_T}$toolkit_echo" >&6
11514 fi
11515 fi
11516 done
11517 else
11518 if test "x$host_alias" != "x"; then
11519 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11520 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11521 else
11522 echo "$as_me:$LINENO: result: base only" >&5
11523 echo "${ECHO_T}base only" >&6
11524 fi
11525 fi
11526
11527 wants_win32=0
11528 doesnt_want_win32=0
11529 case "${host}" in
11530 *-*-cygwin*)
11531 if test "$wxUSE_MSW" = 1 ; then
11532 wants_win32=1
11533 BAKEFILE_FORCE_PLATFORM=win32
11534 else
11535 doesnt_want_win32=1
11536 fi
11537 ;;
11538 *-*-mingw*)
11539 wants_win32=1
11540 ;;
11541 esac
11542
11543 if test "$wxUSE_WINE" = "yes"; then
11544 wants_win32=1
11545 CC=winegcc
11546 CXX=wineg++
11547 LDFLAGS_GUI="-mwindows"
11548 fi
11549
11550 if test "$wants_win32" = 1 ; then
11551 USE_UNIX=0
11552 USE_WIN32=1
11553 cat >>confdefs.h <<\_ACEOF
11554 #define __WIN32__ 1
11555 _ACEOF
11556
11557 cat >>confdefs.h <<\_ACEOF
11558 #define __WIN95__ 1
11559 _ACEOF
11560
11561 cat >>confdefs.h <<\_ACEOF
11562 #define __WINDOWS__ 1
11563 _ACEOF
11564
11565 cat >>confdefs.h <<\_ACEOF
11566 #define __GNUWIN32__ 1
11567 _ACEOF
11568
11569 cat >>confdefs.h <<\_ACEOF
11570 #define STRICT 1
11571 _ACEOF
11572
11573 cat >>confdefs.h <<\_ACEOF
11574 #define WINVER 0x0400
11575 _ACEOF
11576
11577 fi
11578 if test "$doesnt_want_win32" = 1 ; then
11579 USE_UNIX=1
11580 USE_WIN32=0
11581 fi
11582
11583 if test "$USE_UNIX" = 1 ; then
11584 wxUSE_UNIX=yes
11585 cat >>confdefs.h <<\_ACEOF
11586 #define __UNIX__ 1
11587 _ACEOF
11588
11589 fi
11590
11591
11592 cat >confcache <<\_ACEOF
11593 # This file is a shell script that caches the results of configure
11594 # tests run on this system so they can be shared between configure
11595 # scripts and configure runs, see configure's option --config-cache.
11596 # It is not useful on other systems. If it contains results you don't
11597 # want to keep, you may remove or edit it.
11598 #
11599 # config.status only pays attention to the cache file if you give it
11600 # the --recheck option to rerun configure.
11601 #
11602 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11603 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11604 # following values.
11605
11606 _ACEOF
11607
11608 # The following way of writing the cache mishandles newlines in values,
11609 # but we know of no workaround that is simple, portable, and efficient.
11610 # So, don't put newlines in cache variables' values.
11611 # Ultrix sh set writes to stderr and can't be redirected directly,
11612 # and sets the high bit in the cache file unless we assign to the vars.
11613 {
11614 (set) 2>&1 |
11615 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11616 *ac_space=\ *)
11617 # `set' does not quote correctly, so add quotes (double-quote
11618 # substitution turns \\\\ into \\, and sed turns \\ into \).
11619 sed -n \
11620 "s/'/'\\\\''/g;
11621 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11622 ;;
11623 *)
11624 # `set' quotes correctly as required by POSIX, so do not add quotes.
11625 sed -n \
11626 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11627 ;;
11628 esac;
11629 } |
11630 sed '
11631 t clear
11632 : clear
11633 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11634 t end
11635 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11636 : end' >>confcache
11637 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11638 if test -w $cache_file; then
11639 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11640 cat confcache >$cache_file
11641 else
11642 echo "not updating unwritable cache $cache_file"
11643 fi
11644 fi
11645 rm -f confcache
11646
11647 CFLAGS=${CFLAGS:=}
11648
11649
11650
11651 ac_ext=c
11652 ac_cpp='$CPP $CPPFLAGS'
11653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11656 if test -n "$ac_tool_prefix"; then
11657 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11658 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11659 echo "$as_me:$LINENO: checking for $ac_word" >&5
11660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11661 if test "${ac_cv_prog_CC+set}" = set; then
11662 echo $ECHO_N "(cached) $ECHO_C" >&6
11663 else
11664 if test -n "$CC"; then
11665 ac_cv_prog_CC="$CC" # Let the user override the test.
11666 else
11667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11668 for as_dir in $PATH
11669 do
11670 IFS=$as_save_IFS
11671 test -z "$as_dir" && as_dir=.
11672 for ac_exec_ext in '' $ac_executable_extensions; do
11673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11674 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11676 break 2
11677 fi
11678 done
11679 done
11680
11681 fi
11682 fi
11683 CC=$ac_cv_prog_CC
11684 if test -n "$CC"; then
11685 echo "$as_me:$LINENO: result: $CC" >&5
11686 echo "${ECHO_T}$CC" >&6
11687 else
11688 echo "$as_me:$LINENO: result: no" >&5
11689 echo "${ECHO_T}no" >&6
11690 fi
11691
11692 fi
11693 if test -z "$ac_cv_prog_CC"; then
11694 ac_ct_CC=$CC
11695 # Extract the first word of "gcc", so it can be a program name with args.
11696 set dummy gcc; ac_word=$2
11697 echo "$as_me:$LINENO: checking for $ac_word" >&5
11698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11699 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11700 echo $ECHO_N "(cached) $ECHO_C" >&6
11701 else
11702 if test -n "$ac_ct_CC"; then
11703 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11704 else
11705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11706 for as_dir in $PATH
11707 do
11708 IFS=$as_save_IFS
11709 test -z "$as_dir" && as_dir=.
11710 for ac_exec_ext in '' $ac_executable_extensions; do
11711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11712 ac_cv_prog_ac_ct_CC="gcc"
11713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11714 break 2
11715 fi
11716 done
11717 done
11718
11719 fi
11720 fi
11721 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11722 if test -n "$ac_ct_CC"; then
11723 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11724 echo "${ECHO_T}$ac_ct_CC" >&6
11725 else
11726 echo "$as_me:$LINENO: result: no" >&5
11727 echo "${ECHO_T}no" >&6
11728 fi
11729
11730 CC=$ac_ct_CC
11731 else
11732 CC="$ac_cv_prog_CC"
11733 fi
11734
11735 if test -z "$CC"; then
11736 if test -n "$ac_tool_prefix"; then
11737 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11738 set dummy ${ac_tool_prefix}cc; ac_word=$2
11739 echo "$as_me:$LINENO: checking for $ac_word" >&5
11740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11741 if test "${ac_cv_prog_CC+set}" = set; then
11742 echo $ECHO_N "(cached) $ECHO_C" >&6
11743 else
11744 if test -n "$CC"; then
11745 ac_cv_prog_CC="$CC" # Let the user override the test.
11746 else
11747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11748 for as_dir in $PATH
11749 do
11750 IFS=$as_save_IFS
11751 test -z "$as_dir" && as_dir=.
11752 for ac_exec_ext in '' $ac_executable_extensions; do
11753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11754 ac_cv_prog_CC="${ac_tool_prefix}cc"
11755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11756 break 2
11757 fi
11758 done
11759 done
11760
11761 fi
11762 fi
11763 CC=$ac_cv_prog_CC
11764 if test -n "$CC"; then
11765 echo "$as_me:$LINENO: result: $CC" >&5
11766 echo "${ECHO_T}$CC" >&6
11767 else
11768 echo "$as_me:$LINENO: result: no" >&5
11769 echo "${ECHO_T}no" >&6
11770 fi
11771
11772 fi
11773 if test -z "$ac_cv_prog_CC"; then
11774 ac_ct_CC=$CC
11775 # Extract the first word of "cc", so it can be a program name with args.
11776 set dummy cc; ac_word=$2
11777 echo "$as_me:$LINENO: checking for $ac_word" >&5
11778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11779 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11780 echo $ECHO_N "(cached) $ECHO_C" >&6
11781 else
11782 if test -n "$ac_ct_CC"; then
11783 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11784 else
11785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11786 for as_dir in $PATH
11787 do
11788 IFS=$as_save_IFS
11789 test -z "$as_dir" && as_dir=.
11790 for ac_exec_ext in '' $ac_executable_extensions; do
11791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11792 ac_cv_prog_ac_ct_CC="cc"
11793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11794 break 2
11795 fi
11796 done
11797 done
11798
11799 fi
11800 fi
11801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11802 if test -n "$ac_ct_CC"; then
11803 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11804 echo "${ECHO_T}$ac_ct_CC" >&6
11805 else
11806 echo "$as_me:$LINENO: result: no" >&5
11807 echo "${ECHO_T}no" >&6
11808 fi
11809
11810 CC=$ac_ct_CC
11811 else
11812 CC="$ac_cv_prog_CC"
11813 fi
11814
11815 fi
11816 if test -z "$CC"; then
11817 # Extract the first word of "cc", so it can be a program name with args.
11818 set dummy cc; ac_word=$2
11819 echo "$as_me:$LINENO: checking for $ac_word" >&5
11820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11821 if test "${ac_cv_prog_CC+set}" = set; then
11822 echo $ECHO_N "(cached) $ECHO_C" >&6
11823 else
11824 if test -n "$CC"; then
11825 ac_cv_prog_CC="$CC" # Let the user override the test.
11826 else
11827 ac_prog_rejected=no
11828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11829 for as_dir in $PATH
11830 do
11831 IFS=$as_save_IFS
11832 test -z "$as_dir" && as_dir=.
11833 for ac_exec_ext in '' $ac_executable_extensions; do
11834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11835 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11836 ac_prog_rejected=yes
11837 continue
11838 fi
11839 ac_cv_prog_CC="cc"
11840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11841 break 2
11842 fi
11843 done
11844 done
11845
11846 if test $ac_prog_rejected = yes; then
11847 # We found a bogon in the path, so make sure we never use it.
11848 set dummy $ac_cv_prog_CC
11849 shift
11850 if test $# != 0; then
11851 # We chose a different compiler from the bogus one.
11852 # However, it has the same basename, so the bogon will be chosen
11853 # first if we set CC to just the basename; use the full file name.
11854 shift
11855 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11856 fi
11857 fi
11858 fi
11859 fi
11860 CC=$ac_cv_prog_CC
11861 if test -n "$CC"; then
11862 echo "$as_me:$LINENO: result: $CC" >&5
11863 echo "${ECHO_T}$CC" >&6
11864 else
11865 echo "$as_me:$LINENO: result: no" >&5
11866 echo "${ECHO_T}no" >&6
11867 fi
11868
11869 fi
11870 if test -z "$CC"; then
11871 if test -n "$ac_tool_prefix"; then
11872 for ac_prog in cl
11873 do
11874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11875 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11876 echo "$as_me:$LINENO: checking for $ac_word" >&5
11877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11878 if test "${ac_cv_prog_CC+set}" = set; then
11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11880 else
11881 if test -n "$CC"; then
11882 ac_cv_prog_CC="$CC" # Let the user override the test.
11883 else
11884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11885 for as_dir in $PATH
11886 do
11887 IFS=$as_save_IFS
11888 test -z "$as_dir" && as_dir=.
11889 for ac_exec_ext in '' $ac_executable_extensions; do
11890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11891 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11893 break 2
11894 fi
11895 done
11896 done
11897
11898 fi
11899 fi
11900 CC=$ac_cv_prog_CC
11901 if test -n "$CC"; then
11902 echo "$as_me:$LINENO: result: $CC" >&5
11903 echo "${ECHO_T}$CC" >&6
11904 else
11905 echo "$as_me:$LINENO: result: no" >&5
11906 echo "${ECHO_T}no" >&6
11907 fi
11908
11909 test -n "$CC" && break
11910 done
11911 fi
11912 if test -z "$CC"; then
11913 ac_ct_CC=$CC
11914 for ac_prog in cl
11915 do
11916 # Extract the first word of "$ac_prog", so it can be a program name with args.
11917 set dummy $ac_prog; ac_word=$2
11918 echo "$as_me:$LINENO: checking for $ac_word" >&5
11919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11920 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11921 echo $ECHO_N "(cached) $ECHO_C" >&6
11922 else
11923 if test -n "$ac_ct_CC"; then
11924 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11925 else
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 ac_cv_prog_ac_ct_CC="$ac_prog"
11934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11935 break 2
11936 fi
11937 done
11938 done
11939
11940 fi
11941 fi
11942 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11943 if test -n "$ac_ct_CC"; then
11944 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11945 echo "${ECHO_T}$ac_ct_CC" >&6
11946 else
11947 echo "$as_me:$LINENO: result: no" >&5
11948 echo "${ECHO_T}no" >&6
11949 fi
11950
11951 test -n "$ac_ct_CC" && break
11952 done
11953
11954 CC=$ac_ct_CC
11955 fi
11956
11957 fi
11958
11959
11960 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11961 See \`config.log' for more details." >&5
11962 echo "$as_me: error: no acceptable C compiler found in \$PATH
11963 See \`config.log' for more details." >&2;}
11964 { (exit 1); exit 1; }; }
11965
11966 # Provide some information about the compiler.
11967 echo "$as_me:$LINENO:" \
11968 "checking for C compiler version" >&5
11969 ac_compiler=`set X $ac_compile; echo $2`
11970 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11971 (eval $ac_compiler --version </dev/null >&5) 2>&5
11972 ac_status=$?
11973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974 (exit $ac_status); }
11975 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11976 (eval $ac_compiler -v </dev/null >&5) 2>&5
11977 ac_status=$?
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); }
11980 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11981 (eval $ac_compiler -V </dev/null >&5) 2>&5
11982 ac_status=$?
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }
11985
11986 cat >conftest.$ac_ext <<_ACEOF
11987 /* confdefs.h. */
11988 _ACEOF
11989 cat confdefs.h >>conftest.$ac_ext
11990 cat >>conftest.$ac_ext <<_ACEOF
11991 /* end confdefs.h. */
11992
11993 int
11994 main ()
11995 {
11996
11997 ;
11998 return 0;
11999 }
12000 _ACEOF
12001 ac_clean_files_save=$ac_clean_files
12002 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12003 # Try to create an executable without -o first, disregard a.out.
12004 # It will help us diagnose broken compilers, and finding out an intuition
12005 # of exeext.
12006 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12007 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12008 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12009 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12010 (eval $ac_link_default) 2>&5
12011 ac_status=$?
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); }; then
12014 # Find the output, starting from the most likely. This scheme is
12015 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12016 # resort.
12017
12018 # Be careful to initialize this variable, since it used to be cached.
12019 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12020 ac_cv_exeext=
12021 # b.out is created by i960 compilers.
12022 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12023 do
12024 test -f "$ac_file" || continue
12025 case $ac_file in
12026 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12027 ;;
12028 conftest.$ac_ext )
12029 # This is the source file.
12030 ;;
12031 [ab].out )
12032 # We found the default executable, but exeext='' is most
12033 # certainly right.
12034 break;;
12035 *.* )
12036 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12037 # FIXME: I believe we export ac_cv_exeext for Libtool,
12038 # but it would be cool to find out if it's true. Does anybody
12039 # maintain Libtool? --akim.
12040 export ac_cv_exeext
12041 break;;
12042 * )
12043 break;;
12044 esac
12045 done
12046 else
12047 echo "$as_me: failed program was:" >&5
12048 sed 's/^/| /' conftest.$ac_ext >&5
12049
12050 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12051 See \`config.log' for more details." >&5
12052 echo "$as_me: error: C compiler cannot create executables
12053 See \`config.log' for more details." >&2;}
12054 { (exit 77); exit 77; }; }
12055 fi
12056
12057 ac_exeext=$ac_cv_exeext
12058 echo "$as_me:$LINENO: result: $ac_file" >&5
12059 echo "${ECHO_T}$ac_file" >&6
12060
12061 # Check the compiler produces executables we can run. If not, either
12062 # the compiler is broken, or we cross compile.
12063 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12064 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12065 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12066 # If not cross compiling, check that we can run a simple program.
12067 if test "$cross_compiling" != yes; then
12068 if { ac_try='./$ac_file'
12069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12070 (eval $ac_try) 2>&5
12071 ac_status=$?
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); }; }; then
12074 cross_compiling=no
12075 else
12076 if test "$cross_compiling" = maybe; then
12077 cross_compiling=yes
12078 else
12079 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12080 If you meant to cross compile, use \`--host'.
12081 See \`config.log' for more details." >&5
12082 echo "$as_me: error: cannot run C compiled programs.
12083 If you meant to cross compile, use \`--host'.
12084 See \`config.log' for more details." >&2;}
12085 { (exit 1); exit 1; }; }
12086 fi
12087 fi
12088 fi
12089 echo "$as_me:$LINENO: result: yes" >&5
12090 echo "${ECHO_T}yes" >&6
12091
12092 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12093 ac_clean_files=$ac_clean_files_save
12094 # Check the compiler produces executables we can run. If not, either
12095 # the compiler is broken, or we cross compile.
12096 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12097 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12098 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12099 echo "${ECHO_T}$cross_compiling" >&6
12100
12101 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12102 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12104 (eval $ac_link) 2>&5
12105 ac_status=$?
12106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12107 (exit $ac_status); }; then
12108 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12109 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12110 # work properly (i.e., refer to `conftest.exe'), while it won't with
12111 # `rm'.
12112 for ac_file in conftest.exe conftest conftest.*; do
12113 test -f "$ac_file" || continue
12114 case $ac_file in
12115 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12116 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12117 export ac_cv_exeext
12118 break;;
12119 * ) break;;
12120 esac
12121 done
12122 else
12123 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12124 See \`config.log' for more details." >&5
12125 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12126 See \`config.log' for more details." >&2;}
12127 { (exit 1); exit 1; }; }
12128 fi
12129
12130 rm -f conftest$ac_cv_exeext
12131 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12132 echo "${ECHO_T}$ac_cv_exeext" >&6
12133
12134 rm -f conftest.$ac_ext
12135 EXEEXT=$ac_cv_exeext
12136 ac_exeext=$EXEEXT
12137 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12138 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12139 if test "${ac_cv_objext+set}" = set; then
12140 echo $ECHO_N "(cached) $ECHO_C" >&6
12141 else
12142 cat >conftest.$ac_ext <<_ACEOF
12143 /* confdefs.h. */
12144 _ACEOF
12145 cat confdefs.h >>conftest.$ac_ext
12146 cat >>conftest.$ac_ext <<_ACEOF
12147 /* end confdefs.h. */
12148
12149 int
12150 main ()
12151 {
12152
12153 ;
12154 return 0;
12155 }
12156 _ACEOF
12157 rm -f conftest.o conftest.obj
12158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12159 (eval $ac_compile) 2>&5
12160 ac_status=$?
12161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12162 (exit $ac_status); }; then
12163 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12164 case $ac_file in
12165 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12166 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12167 break;;
12168 esac
12169 done
12170 else
12171 echo "$as_me: failed program was:" >&5
12172 sed 's/^/| /' conftest.$ac_ext >&5
12173
12174 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12175 See \`config.log' for more details." >&5
12176 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12177 See \`config.log' for more details." >&2;}
12178 { (exit 1); exit 1; }; }
12179 fi
12180
12181 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12182 fi
12183 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12184 echo "${ECHO_T}$ac_cv_objext" >&6
12185 OBJEXT=$ac_cv_objext
12186 ac_objext=$OBJEXT
12187 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12188 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12189 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12190 echo $ECHO_N "(cached) $ECHO_C" >&6
12191 else
12192 cat >conftest.$ac_ext <<_ACEOF
12193 /* confdefs.h. */
12194 _ACEOF
12195 cat confdefs.h >>conftest.$ac_ext
12196 cat >>conftest.$ac_ext <<_ACEOF
12197 /* end confdefs.h. */
12198
12199 int
12200 main ()
12201 {
12202 #ifndef __GNUC__
12203 choke me
12204 #endif
12205
12206 ;
12207 return 0;
12208 }
12209 _ACEOF
12210 rm -f conftest.$ac_objext
12211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12212 (eval $ac_compile) 2>conftest.er1
12213 ac_status=$?
12214 grep -v '^ *+' conftest.er1 >conftest.err
12215 rm -f conftest.er1
12216 cat conftest.err >&5
12217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12218 (exit $ac_status); } &&
12219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12221 (eval $ac_try) 2>&5
12222 ac_status=$?
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); }; } &&
12225 { ac_try='test -s conftest.$ac_objext'
12226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12227 (eval $ac_try) 2>&5
12228 ac_status=$?
12229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12230 (exit $ac_status); }; }; then
12231 ac_compiler_gnu=yes
12232 else
12233 echo "$as_me: failed program was:" >&5
12234 sed 's/^/| /' conftest.$ac_ext >&5
12235
12236 ac_compiler_gnu=no
12237 fi
12238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12239 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12240
12241 fi
12242 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12243 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12244 GCC=`test $ac_compiler_gnu = yes && echo yes`
12245 ac_test_CFLAGS=${CFLAGS+set}
12246 ac_save_CFLAGS=$CFLAGS
12247 CFLAGS="-g"
12248 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12249 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12250 if test "${ac_cv_prog_cc_g+set}" = set; then
12251 echo $ECHO_N "(cached) $ECHO_C" >&6
12252 else
12253 cat >conftest.$ac_ext <<_ACEOF
12254 /* confdefs.h. */
12255 _ACEOF
12256 cat confdefs.h >>conftest.$ac_ext
12257 cat >>conftest.$ac_ext <<_ACEOF
12258 /* end confdefs.h. */
12259
12260 int
12261 main ()
12262 {
12263
12264 ;
12265 return 0;
12266 }
12267 _ACEOF
12268 rm -f conftest.$ac_objext
12269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12270 (eval $ac_compile) 2>conftest.er1
12271 ac_status=$?
12272 grep -v '^ *+' conftest.er1 >conftest.err
12273 rm -f conftest.er1
12274 cat conftest.err >&5
12275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12276 (exit $ac_status); } &&
12277 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12279 (eval $ac_try) 2>&5
12280 ac_status=$?
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); }; } &&
12283 { ac_try='test -s conftest.$ac_objext'
12284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12285 (eval $ac_try) 2>&5
12286 ac_status=$?
12287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); }; }; then
12289 ac_cv_prog_cc_g=yes
12290 else
12291 echo "$as_me: failed program was:" >&5
12292 sed 's/^/| /' conftest.$ac_ext >&5
12293
12294 ac_cv_prog_cc_g=no
12295 fi
12296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12297 fi
12298 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12299 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12300 if test "$ac_test_CFLAGS" = set; then
12301 CFLAGS=$ac_save_CFLAGS
12302 elif test $ac_cv_prog_cc_g = yes; then
12303 if test "$GCC" = yes; then
12304 CFLAGS="-g -O2"
12305 else
12306 CFLAGS="-g"
12307 fi
12308 else
12309 if test "$GCC" = yes; then
12310 CFLAGS="-O2"
12311 else
12312 CFLAGS=
12313 fi
12314 fi
12315 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12316 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12317 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12318 echo $ECHO_N "(cached) $ECHO_C" >&6
12319 else
12320 ac_cv_prog_cc_stdc=no
12321 ac_save_CC=$CC
12322 cat >conftest.$ac_ext <<_ACEOF
12323 /* confdefs.h. */
12324 _ACEOF
12325 cat confdefs.h >>conftest.$ac_ext
12326 cat >>conftest.$ac_ext <<_ACEOF
12327 /* end confdefs.h. */
12328 #include <stdarg.h>
12329 #include <stdio.h>
12330 #include <sys/types.h>
12331 #include <sys/stat.h>
12332 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12333 struct buf { int x; };
12334 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12335 static char *e (p, i)
12336 char **p;
12337 int i;
12338 {
12339 return p[i];
12340 }
12341 static char *f (char * (*g) (char **, int), char **p, ...)
12342 {
12343 char *s;
12344 va_list v;
12345 va_start (v,p);
12346 s = g (p, va_arg (v,int));
12347 va_end (v);
12348 return s;
12349 }
12350
12351 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12352 function prototypes and stuff, but not '\xHH' hex character constants.
12353 These don't provoke an error unfortunately, instead are silently treated
12354 as 'x'. The following induces an error, until -std1 is added to get
12355 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12356 array size at least. It's necessary to write '\x00'==0 to get something
12357 that's true only with -std1. */
12358 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12359
12360 int test (int i, double x);
12361 struct s1 {int (*f) (int a);};
12362 struct s2 {int (*f) (double a);};
12363 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12364 int argc;
12365 char **argv;
12366 int
12367 main ()
12368 {
12369 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12370 ;
12371 return 0;
12372 }
12373 _ACEOF
12374 # Don't try gcc -ansi; that turns off useful extensions and
12375 # breaks some systems' header files.
12376 # AIX -qlanglvl=ansi
12377 # Ultrix and OSF/1 -std1
12378 # HP-UX 10.20 and later -Ae
12379 # HP-UX older versions -Aa -D_HPUX_SOURCE
12380 # SVR4 -Xc -D__EXTENSIONS__
12381 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12382 do
12383 CC="$ac_save_CC $ac_arg"
12384 rm -f conftest.$ac_objext
12385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12386 (eval $ac_compile) 2>conftest.er1
12387 ac_status=$?
12388 grep -v '^ *+' conftest.er1 >conftest.err
12389 rm -f conftest.er1
12390 cat conftest.err >&5
12391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12392 (exit $ac_status); } &&
12393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12395 (eval $ac_try) 2>&5
12396 ac_status=$?
12397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12398 (exit $ac_status); }; } &&
12399 { ac_try='test -s conftest.$ac_objext'
12400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12401 (eval $ac_try) 2>&5
12402 ac_status=$?
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); }; }; then
12405 ac_cv_prog_cc_stdc=$ac_arg
12406 break
12407 else
12408 echo "$as_me: failed program was:" >&5
12409 sed 's/^/| /' conftest.$ac_ext >&5
12410
12411 fi
12412 rm -f conftest.err conftest.$ac_objext
12413 done
12414 rm -f conftest.$ac_ext conftest.$ac_objext
12415 CC=$ac_save_CC
12416
12417 fi
12418
12419 case "x$ac_cv_prog_cc_stdc" in
12420 x|xno)
12421 echo "$as_me:$LINENO: result: none needed" >&5
12422 echo "${ECHO_T}none needed" >&6 ;;
12423 *)
12424 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12425 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12426 CC="$CC $ac_cv_prog_cc_stdc" ;;
12427 esac
12428
12429 # Some people use a C++ compiler to compile C. Since we use `exit',
12430 # in C++ we need to declare it. In case someone uses the same compiler
12431 # for both compiling C and C++ we need to have the C++ compiler decide
12432 # the declaration of exit, since it's the most demanding environment.
12433 cat >conftest.$ac_ext <<_ACEOF
12434 #ifndef __cplusplus
12435 choke me
12436 #endif
12437 _ACEOF
12438 rm -f conftest.$ac_objext
12439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12440 (eval $ac_compile) 2>conftest.er1
12441 ac_status=$?
12442 grep -v '^ *+' conftest.er1 >conftest.err
12443 rm -f conftest.er1
12444 cat conftest.err >&5
12445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); } &&
12447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12449 (eval $ac_try) 2>&5
12450 ac_status=$?
12451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12452 (exit $ac_status); }; } &&
12453 { ac_try='test -s conftest.$ac_objext'
12454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12455 (eval $ac_try) 2>&5
12456 ac_status=$?
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); }; }; then
12459 for ac_declaration in \
12460 '' \
12461 'extern "C" void std::exit (int) throw (); using std::exit;' \
12462 'extern "C" void std::exit (int); using std::exit;' \
12463 'extern "C" void exit (int) throw ();' \
12464 'extern "C" void exit (int);' \
12465 'void exit (int);'
12466 do
12467 cat >conftest.$ac_ext <<_ACEOF
12468 /* confdefs.h. */
12469 _ACEOF
12470 cat confdefs.h >>conftest.$ac_ext
12471 cat >>conftest.$ac_ext <<_ACEOF
12472 /* end confdefs.h. */
12473 $ac_declaration
12474 #include <stdlib.h>
12475 int
12476 main ()
12477 {
12478 exit (42);
12479 ;
12480 return 0;
12481 }
12482 _ACEOF
12483 rm -f conftest.$ac_objext
12484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12485 (eval $ac_compile) 2>conftest.er1
12486 ac_status=$?
12487 grep -v '^ *+' conftest.er1 >conftest.err
12488 rm -f conftest.er1
12489 cat conftest.err >&5
12490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12491 (exit $ac_status); } &&
12492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12494 (eval $ac_try) 2>&5
12495 ac_status=$?
12496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12497 (exit $ac_status); }; } &&
12498 { ac_try='test -s conftest.$ac_objext'
12499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12500 (eval $ac_try) 2>&5
12501 ac_status=$?
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); }; }; then
12504 :
12505 else
12506 echo "$as_me: failed program was:" >&5
12507 sed 's/^/| /' conftest.$ac_ext >&5
12508
12509 continue
12510 fi
12511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12512 cat >conftest.$ac_ext <<_ACEOF
12513 /* confdefs.h. */
12514 _ACEOF
12515 cat confdefs.h >>conftest.$ac_ext
12516 cat >>conftest.$ac_ext <<_ACEOF
12517 /* end confdefs.h. */
12518 $ac_declaration
12519 int
12520 main ()
12521 {
12522 exit (42);
12523 ;
12524 return 0;
12525 }
12526 _ACEOF
12527 rm -f conftest.$ac_objext
12528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12529 (eval $ac_compile) 2>conftest.er1
12530 ac_status=$?
12531 grep -v '^ *+' conftest.er1 >conftest.err
12532 rm -f conftest.er1
12533 cat conftest.err >&5
12534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12535 (exit $ac_status); } &&
12536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12538 (eval $ac_try) 2>&5
12539 ac_status=$?
12540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12541 (exit $ac_status); }; } &&
12542 { ac_try='test -s conftest.$ac_objext'
12543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12544 (eval $ac_try) 2>&5
12545 ac_status=$?
12546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547 (exit $ac_status); }; }; then
12548 break
12549 else
12550 echo "$as_me: failed program was:" >&5
12551 sed 's/^/| /' conftest.$ac_ext >&5
12552
12553 fi
12554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12555 done
12556 rm -f conftest*
12557 if test -n "$ac_declaration"; then
12558 echo '#ifdef __cplusplus' >>confdefs.h
12559 echo $ac_declaration >>confdefs.h
12560 echo '#endif' >>confdefs.h
12561 fi
12562
12563 else
12564 echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.$ac_ext >&5
12566
12567 fi
12568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12569 ac_ext=c
12570 ac_cpp='$CPP $CPPFLAGS'
12571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12574
12575
12576
12577 ac_ext=c
12578 ac_cpp='$CPP $CPPFLAGS'
12579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12582
12583 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12584 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12585 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12586 echo $ECHO_N "(cached) $ECHO_C" >&6
12587 else
12588 cat >conftest.$ac_ext <<_ACEOF
12589 /* confdefs.h. */
12590 _ACEOF
12591 cat confdefs.h >>conftest.$ac_ext
12592 cat >>conftest.$ac_ext <<_ACEOF
12593 /* end confdefs.h. */
12594
12595 int
12596 main ()
12597 {
12598
12599 #ifndef __INTEL_COMPILER
12600 choke me
12601 #endif
12602
12603 ;
12604 return 0;
12605 }
12606 _ACEOF
12607 rm -f conftest.$ac_objext
12608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12609 (eval $ac_compile) 2>conftest.er1
12610 ac_status=$?
12611 grep -v '^ *+' conftest.er1 >conftest.err
12612 rm -f conftest.er1
12613 cat conftest.err >&5
12614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615 (exit $ac_status); } &&
12616 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12618 (eval $ac_try) 2>&5
12619 ac_status=$?
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); }; } &&
12622 { ac_try='test -s conftest.$ac_objext'
12623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12624 (eval $ac_try) 2>&5
12625 ac_status=$?
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); }; }; then
12628 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12629 else
12630 echo "$as_me: failed program was:" >&5
12631 sed 's/^/| /' conftest.$ac_ext >&5
12632
12633 bakefile_cv_c_compiler___INTEL_COMPILER=no
12634
12635 fi
12636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12637
12638
12639 fi
12640 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12641 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12642 ac_ext=c
12643 ac_cpp='$CPP $CPPFLAGS'
12644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12647
12648 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12649 :; INTELCC=yes
12650 else
12651 :;
12652 fi
12653
12654
12655 if test "x$GCC" != "xyes"; then
12656 if test "xCC" = "xC"; then
12657 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12658 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12659 if test "${bakefile_cv_c_exto+set}" = set; then
12660 echo $ECHO_N "(cached) $ECHO_C" >&6
12661 else
12662 cat >conftest.$ac_ext <<_ACEOF
12663 /* confdefs.h. */
12664 _ACEOF
12665 cat confdefs.h >>conftest.$ac_ext
12666 cat >>conftest.$ac_ext <<_ACEOF
12667 /* end confdefs.h. */
12668
12669 int
12670 main ()
12671 {
12672
12673 ;
12674 return 0;
12675 }
12676 _ACEOF
12677 rm -f conftest.$ac_objext conftest.$ac_ext.o
12678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12679 (eval $ac_compile) 2>&5
12680 ac_status=$?
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); }; then
12683 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12684 case $ac_file in
12685 conftest.$ac_ext.o)
12686 bakefile_cv_c_exto="-ext o"
12687 ;;
12688 *)
12689 ;;
12690 esac
12691 done
12692 else
12693 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12694 See \`config.log' for more details." >&5
12695 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12696 See \`config.log' for more details." >&2;}
12697 { (exit 1); exit 1; }; }
12698
12699 fi
12700
12701 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12702
12703 fi
12704 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12705 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12706 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12707 if test "c" = "c"; then
12708 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12709 fi
12710 if test "c" = "cxx"; then
12711 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12712 fi
12713 fi
12714
12715 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12716 unset ac_cv_prog_cc_g
12717 ac_test_CFLAGS=${CFLAGS+set}
12718 ac_save_CFLAGS=$CFLAGS
12719 CFLAGS="-g"
12720 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12721 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12722 if test "${ac_cv_prog_cc_g+set}" = set; then
12723 echo $ECHO_N "(cached) $ECHO_C" >&6
12724 else
12725 cat >conftest.$ac_ext <<_ACEOF
12726 /* confdefs.h. */
12727 _ACEOF
12728 cat confdefs.h >>conftest.$ac_ext
12729 cat >>conftest.$ac_ext <<_ACEOF
12730 /* end confdefs.h. */
12731
12732 int
12733 main ()
12734 {
12735
12736 ;
12737 return 0;
12738 }
12739 _ACEOF
12740 rm -f conftest.$ac_objext
12741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12742 (eval $ac_compile) 2>conftest.er1
12743 ac_status=$?
12744 grep -v '^ *+' conftest.er1 >conftest.err
12745 rm -f conftest.er1
12746 cat conftest.err >&5
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); } &&
12749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12751 (eval $ac_try) 2>&5
12752 ac_status=$?
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); }; } &&
12755 { ac_try='test -s conftest.$ac_objext'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12758 ac_status=$?
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; }; then
12761 ac_cv_prog_cc_g=yes
12762 else
12763 echo "$as_me: failed program was:" >&5
12764 sed 's/^/| /' conftest.$ac_ext >&5
12765
12766 ac_cv_prog_cc_g=no
12767 fi
12768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12769 fi
12770 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12771 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12772 if test "$ac_test_CFLAGS" = set; then
12773 CFLAGS=$ac_save_CFLAGS
12774 elif test $ac_cv_prog_cc_g = yes; then
12775 if test "$GCC" = yes; then
12776 CFLAGS="-g -O2"
12777 else
12778 CFLAGS="-g"
12779 fi
12780 else
12781 if test "$GCC" = yes; then
12782 CFLAGS="-O2"
12783 else
12784 CFLAGS=
12785 fi
12786 fi
12787 fi
12788 fi
12789
12790 case `uname -s` in
12791 AIX*)
12792 ac_ext=c
12793 ac_cpp='$CPP $CPPFLAGS'
12794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12797
12798 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12799 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12800 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12801 echo $ECHO_N "(cached) $ECHO_C" >&6
12802 else
12803 cat >conftest.$ac_ext <<_ACEOF
12804 /* confdefs.h. */
12805 _ACEOF
12806 cat confdefs.h >>conftest.$ac_ext
12807 cat >>conftest.$ac_ext <<_ACEOF
12808 /* end confdefs.h. */
12809
12810 int
12811 main ()
12812 {
12813 #ifndef __xlC__
12814 choke me
12815 #endif
12816
12817 ;
12818 return 0;
12819 }
12820 _ACEOF
12821 rm -f conftest.$ac_objext
12822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12823 (eval $ac_compile) 2>conftest.er1
12824 ac_status=$?
12825 grep -v '^ *+' conftest.er1 >conftest.err
12826 rm -f conftest.er1
12827 cat conftest.err >&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); } &&
12830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12833 ac_status=$?
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; } &&
12836 { ac_try='test -s conftest.$ac_objext'
12837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12838 (eval $ac_try) 2>&5
12839 ac_status=$?
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); }; }; then
12842 bakefile_compiler_xlc=yes
12843 else
12844 echo "$as_me: failed program was:" >&5
12845 sed 's/^/| /' conftest.$ac_ext >&5
12846
12847 bakefile_compiler_xlc=no
12848 fi
12849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12850 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12851
12852 fi
12853 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12854 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12855
12856 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12857 ac_ext=c
12858 ac_cpp='$CPP $CPPFLAGS'
12859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12862
12863
12864 ;;
12865
12866 Darwin)
12867 ac_ext=c
12868 ac_cpp='$CPP $CPPFLAGS'
12869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12872
12873 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12874 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12875 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12876 echo $ECHO_N "(cached) $ECHO_C" >&6
12877 else
12878 cat >conftest.$ac_ext <<_ACEOF
12879 /* confdefs.h. */
12880 _ACEOF
12881 cat confdefs.h >>conftest.$ac_ext
12882 cat >>conftest.$ac_ext <<_ACEOF
12883 /* end confdefs.h. */
12884
12885 int
12886 main ()
12887 {
12888 #ifndef __MWERKS__
12889 choke me
12890 #endif
12891
12892 ;
12893 return 0;
12894 }
12895 _ACEOF
12896 rm -f conftest.$ac_objext
12897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12898 (eval $ac_compile) 2>conftest.er1
12899 ac_status=$?
12900 grep -v '^ *+' conftest.er1 >conftest.err
12901 rm -f conftest.er1
12902 cat conftest.err >&5
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); } &&
12905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12907 (eval $ac_try) 2>&5
12908 ac_status=$?
12909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12910 (exit $ac_status); }; } &&
12911 { ac_try='test -s conftest.$ac_objext'
12912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12913 (eval $ac_try) 2>&5
12914 ac_status=$?
12915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12916 (exit $ac_status); }; }; then
12917 bakefile_compiler_mwerks=yes
12918 else
12919 echo "$as_me: failed program was:" >&5
12920 sed 's/^/| /' conftest.$ac_ext >&5
12921
12922 bakefile_compiler_mwerks=no
12923 fi
12924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12925 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
12926
12927 fi
12928 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12929 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12930
12931 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12932 ac_ext=c
12933 ac_cpp='$CPP $CPPFLAGS'
12934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12937
12938
12939 ac_ext=c
12940 ac_cpp='$CPP $CPPFLAGS'
12941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12944
12945 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12946 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12947 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12949 else
12950 cat >conftest.$ac_ext <<_ACEOF
12951 /* confdefs.h. */
12952 _ACEOF
12953 cat confdefs.h >>conftest.$ac_ext
12954 cat >>conftest.$ac_ext <<_ACEOF
12955 /* end confdefs.h. */
12956
12957 int
12958 main ()
12959 {
12960 #ifndef __xlC__
12961 choke me
12962 #endif
12963
12964 ;
12965 return 0;
12966 }
12967 _ACEOF
12968 rm -f conftest.$ac_objext
12969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12970 (eval $ac_compile) 2>conftest.er1
12971 ac_status=$?
12972 grep -v '^ *+' conftest.er1 >conftest.err
12973 rm -f conftest.er1
12974 cat conftest.err >&5
12975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12976 (exit $ac_status); } &&
12977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12979 (eval $ac_try) 2>&5
12980 ac_status=$?
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); }; } &&
12983 { ac_try='test -s conftest.$ac_objext'
12984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12985 (eval $ac_try) 2>&5
12986 ac_status=$?
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); }; }; then
12989 bakefile_compiler_xlc=yes
12990 else
12991 echo "$as_me: failed program was:" >&5
12992 sed 's/^/| /' conftest.$ac_ext >&5
12993
12994 bakefile_compiler_xlc=no
12995 fi
12996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12997 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12998
12999 fi
13000 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13001 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13002
13003 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13004 ac_ext=c
13005 ac_cpp='$CPP $CPPFLAGS'
13006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13009
13010
13011 ;;
13012
13013 IRIX*)
13014
13015
13016 ac_ext=c
13017 ac_cpp='$CPP $CPPFLAGS'
13018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13021
13022 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13023 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13024 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13025 echo $ECHO_N "(cached) $ECHO_C" >&6
13026 else
13027 cat >conftest.$ac_ext <<_ACEOF
13028 /* confdefs.h. */
13029 _ACEOF
13030 cat confdefs.h >>conftest.$ac_ext
13031 cat >>conftest.$ac_ext <<_ACEOF
13032 /* end confdefs.h. */
13033
13034 int
13035 main ()
13036 {
13037
13038 #ifndef _SGI_COMPILER_VERSION
13039 choke me
13040 #endif
13041
13042 ;
13043 return 0;
13044 }
13045 _ACEOF
13046 rm -f conftest.$ac_objext
13047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13048 (eval $ac_compile) 2>conftest.er1
13049 ac_status=$?
13050 grep -v '^ *+' conftest.er1 >conftest.err
13051 rm -f conftest.er1
13052 cat conftest.err >&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); } &&
13055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13057 (eval $ac_try) 2>&5
13058 ac_status=$?
13059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 (exit $ac_status); }; } &&
13061 { ac_try='test -s conftest.$ac_objext'
13062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13063 (eval $ac_try) 2>&5
13064 ac_status=$?
13065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13066 (exit $ac_status); }; }; then
13067 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13068 else
13069 echo "$as_me: failed program was:" >&5
13070 sed 's/^/| /' conftest.$ac_ext >&5
13071
13072 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13073
13074 fi
13075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13076
13077
13078 fi
13079 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13080 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13081 ac_ext=c
13082 ac_cpp='$CPP $CPPFLAGS'
13083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13086
13087 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13088 :; SGICC=yes
13089 else
13090 :;
13091 fi
13092
13093
13094 ;;
13095
13096 HP-UX*)
13097
13098
13099 ac_ext=c
13100 ac_cpp='$CPP $CPPFLAGS'
13101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13104
13105 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13106 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13107 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13108 echo $ECHO_N "(cached) $ECHO_C" >&6
13109 else
13110 cat >conftest.$ac_ext <<_ACEOF
13111 /* confdefs.h. */
13112 _ACEOF
13113 cat confdefs.h >>conftest.$ac_ext
13114 cat >>conftest.$ac_ext <<_ACEOF
13115 /* end confdefs.h. */
13116
13117 int
13118 main ()
13119 {
13120
13121 #ifndef __HP_cc
13122 choke me
13123 #endif
13124
13125 ;
13126 return 0;
13127 }
13128 _ACEOF
13129 rm -f conftest.$ac_objext
13130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13131 (eval $ac_compile) 2>conftest.er1
13132 ac_status=$?
13133 grep -v '^ *+' conftest.er1 >conftest.err
13134 rm -f conftest.er1
13135 cat conftest.err >&5
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); } &&
13138 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140 (eval $ac_try) 2>&5
13141 ac_status=$?
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; } &&
13144 { ac_try='test -s conftest.$ac_objext'
13145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13146 (eval $ac_try) 2>&5
13147 ac_status=$?
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; }; then
13150 bakefile_cv_c_compiler___HP_cc=yes
13151 else
13152 echo "$as_me: failed program was:" >&5
13153 sed 's/^/| /' conftest.$ac_ext >&5
13154
13155 bakefile_cv_c_compiler___HP_cc=no
13156
13157 fi
13158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13159
13160
13161 fi
13162 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13163 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13164 ac_ext=c
13165 ac_cpp='$CPP $CPPFLAGS'
13166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13169
13170 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13171 :; HPCC=yes
13172 else
13173 :;
13174 fi
13175
13176
13177 ;;
13178
13179 OSF1)
13180
13181
13182 ac_ext=c
13183 ac_cpp='$CPP $CPPFLAGS'
13184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13187
13188 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13189 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13190 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13191 echo $ECHO_N "(cached) $ECHO_C" >&6
13192 else
13193 cat >conftest.$ac_ext <<_ACEOF
13194 /* confdefs.h. */
13195 _ACEOF
13196 cat confdefs.h >>conftest.$ac_ext
13197 cat >>conftest.$ac_ext <<_ACEOF
13198 /* end confdefs.h. */
13199
13200 int
13201 main ()
13202 {
13203
13204 #ifndef __DECC
13205 choke me
13206 #endif
13207
13208 ;
13209 return 0;
13210 }
13211 _ACEOF
13212 rm -f conftest.$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>conftest.er1
13215 ac_status=$?
13216 grep -v '^ *+' conftest.er1 >conftest.err
13217 rm -f conftest.er1
13218 cat conftest.err >&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5
13224 ac_status=$?
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; } &&
13227 { ac_try='test -s conftest.$ac_objext'
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13230 ac_status=$?
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13233 bakefile_cv_c_compiler___DECC=yes
13234 else
13235 echo "$as_me: failed program was:" >&5
13236 sed 's/^/| /' conftest.$ac_ext >&5
13237
13238 bakefile_cv_c_compiler___DECC=no
13239
13240 fi
13241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13242
13243
13244 fi
13245 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13246 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13247 ac_ext=c
13248 ac_cpp='$CPP $CPPFLAGS'
13249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13252
13253 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13254 :; COMPAQCC=yes
13255 else
13256 :;
13257 fi
13258
13259
13260 ;;
13261
13262 SunOS)
13263
13264
13265 ac_ext=c
13266 ac_cpp='$CPP $CPPFLAGS'
13267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13270
13271 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13272 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13273 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13274 echo $ECHO_N "(cached) $ECHO_C" >&6
13275 else
13276 cat >conftest.$ac_ext <<_ACEOF
13277 /* confdefs.h. */
13278 _ACEOF
13279 cat confdefs.h >>conftest.$ac_ext
13280 cat >>conftest.$ac_ext <<_ACEOF
13281 /* end confdefs.h. */
13282
13283 int
13284 main ()
13285 {
13286
13287 #ifndef __SUNPRO_C
13288 choke me
13289 #endif
13290
13291 ;
13292 return 0;
13293 }
13294 _ACEOF
13295 rm -f conftest.$ac_objext
13296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13297 (eval $ac_compile) 2>conftest.er1
13298 ac_status=$?
13299 grep -v '^ *+' conftest.er1 >conftest.err
13300 rm -f conftest.er1
13301 cat conftest.err >&5
13302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13303 (exit $ac_status); } &&
13304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13306 (eval $ac_try) 2>&5
13307 ac_status=$?
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); }; } &&
13310 { ac_try='test -s conftest.$ac_objext'
13311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13312 (eval $ac_try) 2>&5
13313 ac_status=$?
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; }; then
13316 bakefile_cv_c_compiler___SUNPRO_C=yes
13317 else
13318 echo "$as_me: failed program was:" >&5
13319 sed 's/^/| /' conftest.$ac_ext >&5
13320
13321 bakefile_cv_c_compiler___SUNPRO_C=no
13322
13323 fi
13324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13325
13326
13327 fi
13328 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13329 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13330 ac_ext=c
13331 ac_cpp='$CPP $CPPFLAGS'
13332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13335
13336 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13337 :; SUNCC=yes
13338 else
13339 :;
13340 fi
13341
13342
13343 ;;
13344 esac
13345 fi
13346
13347
13348
13349 ac_ext=c
13350 ac_cpp='$CPP $CPPFLAGS'
13351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13354 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13355 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13356 # On Suns, sometimes $CPP names a directory.
13357 if test -n "$CPP" && test -d "$CPP"; then
13358 CPP=
13359 fi
13360 if test -z "$CPP"; then
13361 if test "${ac_cv_prog_CPP+set}" = set; then
13362 echo $ECHO_N "(cached) $ECHO_C" >&6
13363 else
13364 # Double quotes because CPP needs to be expanded
13365 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13366 do
13367 ac_preproc_ok=false
13368 for ac_c_preproc_warn_flag in '' yes
13369 do
13370 # Use a header file that comes with gcc, so configuring glibc
13371 # with a fresh cross-compiler works.
13372 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13373 # <limits.h> exists even on freestanding compilers.
13374 # On the NeXT, cc -E runs the code through the compiler's parser,
13375 # not just through cpp. "Syntax error" is here to catch this case.
13376 cat >conftest.$ac_ext <<_ACEOF
13377 /* confdefs.h. */
13378 _ACEOF
13379 cat confdefs.h >>conftest.$ac_ext
13380 cat >>conftest.$ac_ext <<_ACEOF
13381 /* end confdefs.h. */
13382 #ifdef __STDC__
13383 # include <limits.h>
13384 #else
13385 # include <assert.h>
13386 #endif
13387 Syntax error
13388 _ACEOF
13389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13391 ac_status=$?
13392 grep -v '^ *+' conftest.er1 >conftest.err
13393 rm -f conftest.er1
13394 cat conftest.err >&5
13395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396 (exit $ac_status); } >/dev/null; then
13397 if test -s conftest.err; then
13398 ac_cpp_err=$ac_c_preproc_warn_flag
13399 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13400 else
13401 ac_cpp_err=
13402 fi
13403 else
13404 ac_cpp_err=yes
13405 fi
13406 if test -z "$ac_cpp_err"; then
13407 :
13408 else
13409 echo "$as_me: failed program was:" >&5
13410 sed 's/^/| /' conftest.$ac_ext >&5
13411
13412 # Broken: fails on valid input.
13413 continue
13414 fi
13415 rm -f conftest.err conftest.$ac_ext
13416
13417 # OK, works on sane cases. Now check whether non-existent headers
13418 # can be detected and how.
13419 cat >conftest.$ac_ext <<_ACEOF
13420 /* confdefs.h. */
13421 _ACEOF
13422 cat confdefs.h >>conftest.$ac_ext
13423 cat >>conftest.$ac_ext <<_ACEOF
13424 /* end confdefs.h. */
13425 #include <ac_nonexistent.h>
13426 _ACEOF
13427 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13428 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13429 ac_status=$?
13430 grep -v '^ *+' conftest.er1 >conftest.err
13431 rm -f conftest.er1
13432 cat conftest.err >&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); } >/dev/null; then
13435 if test -s conftest.err; then
13436 ac_cpp_err=$ac_c_preproc_warn_flag
13437 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13438 else
13439 ac_cpp_err=
13440 fi
13441 else
13442 ac_cpp_err=yes
13443 fi
13444 if test -z "$ac_cpp_err"; then
13445 # Broken: success on invalid input.
13446 continue
13447 else
13448 echo "$as_me: failed program was:" >&5
13449 sed 's/^/| /' conftest.$ac_ext >&5
13450
13451 # Passes both tests.
13452 ac_preproc_ok=:
13453 break
13454 fi
13455 rm -f conftest.err conftest.$ac_ext
13456
13457 done
13458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13459 rm -f conftest.err conftest.$ac_ext
13460 if $ac_preproc_ok; then
13461 break
13462 fi
13463
13464 done
13465 ac_cv_prog_CPP=$CPP
13466
13467 fi
13468 CPP=$ac_cv_prog_CPP
13469 else
13470 ac_cv_prog_CPP=$CPP
13471 fi
13472 echo "$as_me:$LINENO: result: $CPP" >&5
13473 echo "${ECHO_T}$CPP" >&6
13474 ac_preproc_ok=false
13475 for ac_c_preproc_warn_flag in '' yes
13476 do
13477 # Use a header file that comes with gcc, so configuring glibc
13478 # with a fresh cross-compiler works.
13479 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13480 # <limits.h> exists even on freestanding compilers.
13481 # On the NeXT, cc -E runs the code through the compiler's parser,
13482 # not just through cpp. "Syntax error" is here to catch this case.
13483 cat >conftest.$ac_ext <<_ACEOF
13484 /* confdefs.h. */
13485 _ACEOF
13486 cat confdefs.h >>conftest.$ac_ext
13487 cat >>conftest.$ac_ext <<_ACEOF
13488 /* end confdefs.h. */
13489 #ifdef __STDC__
13490 # include <limits.h>
13491 #else
13492 # include <assert.h>
13493 #endif
13494 Syntax error
13495 _ACEOF
13496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13497 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13498 ac_status=$?
13499 grep -v '^ *+' conftest.er1 >conftest.err
13500 rm -f conftest.er1
13501 cat conftest.err >&5
13502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13503 (exit $ac_status); } >/dev/null; then
13504 if test -s conftest.err; then
13505 ac_cpp_err=$ac_c_preproc_warn_flag
13506 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13507 else
13508 ac_cpp_err=
13509 fi
13510 else
13511 ac_cpp_err=yes
13512 fi
13513 if test -z "$ac_cpp_err"; then
13514 :
13515 else
13516 echo "$as_me: failed program was:" >&5
13517 sed 's/^/| /' conftest.$ac_ext >&5
13518
13519 # Broken: fails on valid input.
13520 continue
13521 fi
13522 rm -f conftest.err conftest.$ac_ext
13523
13524 # OK, works on sane cases. Now check whether non-existent headers
13525 # can be detected and how.
13526 cat >conftest.$ac_ext <<_ACEOF
13527 /* confdefs.h. */
13528 _ACEOF
13529 cat confdefs.h >>conftest.$ac_ext
13530 cat >>conftest.$ac_ext <<_ACEOF
13531 /* end confdefs.h. */
13532 #include <ac_nonexistent.h>
13533 _ACEOF
13534 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13535 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13536 ac_status=$?
13537 grep -v '^ *+' conftest.er1 >conftest.err
13538 rm -f conftest.er1
13539 cat conftest.err >&5
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); } >/dev/null; then
13542 if test -s conftest.err; then
13543 ac_cpp_err=$ac_c_preproc_warn_flag
13544 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13545 else
13546 ac_cpp_err=
13547 fi
13548 else
13549 ac_cpp_err=yes
13550 fi
13551 if test -z "$ac_cpp_err"; then
13552 # Broken: success on invalid input.
13553 continue
13554 else
13555 echo "$as_me: failed program was:" >&5
13556 sed 's/^/| /' conftest.$ac_ext >&5
13557
13558 # Passes both tests.
13559 ac_preproc_ok=:
13560 break
13561 fi
13562 rm -f conftest.err conftest.$ac_ext
13563
13564 done
13565 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13566 rm -f conftest.err conftest.$ac_ext
13567 if $ac_preproc_ok; then
13568 :
13569 else
13570 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13571 See \`config.log' for more details." >&5
13572 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13573 See \`config.log' for more details." >&2;}
13574 { (exit 1); exit 1; }; }
13575 fi
13576
13577 ac_ext=c
13578 ac_cpp='$CPP $CPPFLAGS'
13579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13582
13583
13584 echo "$as_me:$LINENO: checking for egrep" >&5
13585 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13586 if test "${ac_cv_prog_egrep+set}" = set; then
13587 echo $ECHO_N "(cached) $ECHO_C" >&6
13588 else
13589 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13590 then ac_cv_prog_egrep='grep -E'
13591 else ac_cv_prog_egrep='egrep'
13592 fi
13593 fi
13594 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13595 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13596 EGREP=$ac_cv_prog_egrep
13597
13598
13599 if test $ac_cv_c_compiler_gnu = yes; then
13600 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13601 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13602 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13603 echo $ECHO_N "(cached) $ECHO_C" >&6
13604 else
13605 ac_pattern="Autoconf.*'x'"
13606 cat >conftest.$ac_ext <<_ACEOF
13607 /* confdefs.h. */
13608 _ACEOF
13609 cat confdefs.h >>conftest.$ac_ext
13610 cat >>conftest.$ac_ext <<_ACEOF
13611 /* end confdefs.h. */
13612 #include <sgtty.h>
13613 Autoconf TIOCGETP
13614 _ACEOF
13615 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13616 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13617 ac_cv_prog_gcc_traditional=yes
13618 else
13619 ac_cv_prog_gcc_traditional=no
13620 fi
13621 rm -f conftest*
13622
13623
13624 if test $ac_cv_prog_gcc_traditional = no; then
13625 cat >conftest.$ac_ext <<_ACEOF
13626 /* confdefs.h. */
13627 _ACEOF
13628 cat confdefs.h >>conftest.$ac_ext
13629 cat >>conftest.$ac_ext <<_ACEOF
13630 /* end confdefs.h. */
13631 #include <termio.h>
13632 Autoconf TCGETA
13633 _ACEOF
13634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13635 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13636 ac_cv_prog_gcc_traditional=yes
13637 fi
13638 rm -f conftest*
13639
13640 fi
13641 fi
13642 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13643 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13644 if test $ac_cv_prog_gcc_traditional = yes; then
13645 CC="$CC -traditional"
13646 fi
13647 fi
13648
13649
13650 ac_ext=cc
13651 ac_cpp='$CXXCPP $CPPFLAGS'
13652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13655
13656
13657 CXXFLAGS=${CXXFLAGS:=}
13658
13659
13660
13661 ac_ext=cc
13662 ac_cpp='$CXXCPP $CPPFLAGS'
13663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13666 if test -n "$ac_tool_prefix"; then
13667 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13668 do
13669 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13670 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13671 echo "$as_me:$LINENO: checking for $ac_word" >&5
13672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13673 if test "${ac_cv_prog_CXX+set}" = set; then
13674 echo $ECHO_N "(cached) $ECHO_C" >&6
13675 else
13676 if test -n "$CXX"; then
13677 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13678 else
13679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13680 for as_dir in $PATH
13681 do
13682 IFS=$as_save_IFS
13683 test -z "$as_dir" && as_dir=.
13684 for ac_exec_ext in '' $ac_executable_extensions; do
13685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13686 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13688 break 2
13689 fi
13690 done
13691 done
13692
13693 fi
13694 fi
13695 CXX=$ac_cv_prog_CXX
13696 if test -n "$CXX"; then
13697 echo "$as_me:$LINENO: result: $CXX" >&5
13698 echo "${ECHO_T}$CXX" >&6
13699 else
13700 echo "$as_me:$LINENO: result: no" >&5
13701 echo "${ECHO_T}no" >&6
13702 fi
13703
13704 test -n "$CXX" && break
13705 done
13706 fi
13707 if test -z "$CXX"; then
13708 ac_ct_CXX=$CXX
13709 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13710 do
13711 # Extract the first word of "$ac_prog", so it can be a program name with args.
13712 set dummy $ac_prog; ac_word=$2
13713 echo "$as_me:$LINENO: checking for $ac_word" >&5
13714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13715 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13716 echo $ECHO_N "(cached) $ECHO_C" >&6
13717 else
13718 if test -n "$ac_ct_CXX"; then
13719 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13720 else
13721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13722 for as_dir in $PATH
13723 do
13724 IFS=$as_save_IFS
13725 test -z "$as_dir" && as_dir=.
13726 for ac_exec_ext in '' $ac_executable_extensions; do
13727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13728 ac_cv_prog_ac_ct_CXX="$ac_prog"
13729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13730 break 2
13731 fi
13732 done
13733 done
13734
13735 fi
13736 fi
13737 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13738 if test -n "$ac_ct_CXX"; then
13739 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13740 echo "${ECHO_T}$ac_ct_CXX" >&6
13741 else
13742 echo "$as_me:$LINENO: result: no" >&5
13743 echo "${ECHO_T}no" >&6
13744 fi
13745
13746 test -n "$ac_ct_CXX" && break
13747 done
13748 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13749
13750 CXX=$ac_ct_CXX
13751 fi
13752
13753
13754 # Provide some information about the compiler.
13755 echo "$as_me:$LINENO:" \
13756 "checking for C++ compiler version" >&5
13757 ac_compiler=`set X $ac_compile; echo $2`
13758 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13759 (eval $ac_compiler --version </dev/null >&5) 2>&5
13760 ac_status=$?
13761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13762 (exit $ac_status); }
13763 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13764 (eval $ac_compiler -v </dev/null >&5) 2>&5
13765 ac_status=$?
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }
13768 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13769 (eval $ac_compiler -V </dev/null >&5) 2>&5
13770 ac_status=$?
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }
13773
13774 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13775 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13776 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13777 echo $ECHO_N "(cached) $ECHO_C" >&6
13778 else
13779 cat >conftest.$ac_ext <<_ACEOF
13780 /* confdefs.h. */
13781 _ACEOF
13782 cat confdefs.h >>conftest.$ac_ext
13783 cat >>conftest.$ac_ext <<_ACEOF
13784 /* end confdefs.h. */
13785
13786 int
13787 main ()
13788 {
13789 #ifndef __GNUC__
13790 choke me
13791 #endif
13792
13793 ;
13794 return 0;
13795 }
13796 _ACEOF
13797 rm -f conftest.$ac_objext
13798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13799 (eval $ac_compile) 2>conftest.er1
13800 ac_status=$?
13801 grep -v '^ *+' conftest.er1 >conftest.err
13802 rm -f conftest.er1
13803 cat conftest.err >&5
13804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13805 (exit $ac_status); } &&
13806 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13808 (eval $ac_try) 2>&5
13809 ac_status=$?
13810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811 (exit $ac_status); }; } &&
13812 { ac_try='test -s conftest.$ac_objext'
13813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13814 (eval $ac_try) 2>&5
13815 ac_status=$?
13816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13817 (exit $ac_status); }; }; then
13818 ac_compiler_gnu=yes
13819 else
13820 echo "$as_me: failed program was:" >&5
13821 sed 's/^/| /' conftest.$ac_ext >&5
13822
13823 ac_compiler_gnu=no
13824 fi
13825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13826 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13827
13828 fi
13829 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13830 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13831 GXX=`test $ac_compiler_gnu = yes && echo yes`
13832 ac_test_CXXFLAGS=${CXXFLAGS+set}
13833 ac_save_CXXFLAGS=$CXXFLAGS
13834 CXXFLAGS="-g"
13835 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13836 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13837 if test "${ac_cv_prog_cxx_g+set}" = set; then
13838 echo $ECHO_N "(cached) $ECHO_C" >&6
13839 else
13840 cat >conftest.$ac_ext <<_ACEOF
13841 /* confdefs.h. */
13842 _ACEOF
13843 cat confdefs.h >>conftest.$ac_ext
13844 cat >>conftest.$ac_ext <<_ACEOF
13845 /* end confdefs.h. */
13846
13847 int
13848 main ()
13849 {
13850
13851 ;
13852 return 0;
13853 }
13854 _ACEOF
13855 rm -f conftest.$ac_objext
13856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13857 (eval $ac_compile) 2>conftest.er1
13858 ac_status=$?
13859 grep -v '^ *+' conftest.er1 >conftest.err
13860 rm -f conftest.er1
13861 cat conftest.err >&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); } &&
13864 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13866 (eval $ac_try) 2>&5
13867 ac_status=$?
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); }; } &&
13870 { ac_try='test -s conftest.$ac_objext'
13871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13872 (eval $ac_try) 2>&5
13873 ac_status=$?
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); }; }; then
13876 ac_cv_prog_cxx_g=yes
13877 else
13878 echo "$as_me: failed program was:" >&5
13879 sed 's/^/| /' conftest.$ac_ext >&5
13880
13881 ac_cv_prog_cxx_g=no
13882 fi
13883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13884 fi
13885 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13886 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13887 if test "$ac_test_CXXFLAGS" = set; then
13888 CXXFLAGS=$ac_save_CXXFLAGS
13889 elif test $ac_cv_prog_cxx_g = yes; then
13890 if test "$GXX" = yes; then
13891 CXXFLAGS="-g -O2"
13892 else
13893 CXXFLAGS="-g"
13894 fi
13895 else
13896 if test "$GXX" = yes; then
13897 CXXFLAGS="-O2"
13898 else
13899 CXXFLAGS=
13900 fi
13901 fi
13902 for ac_declaration in \
13903 '' \
13904 'extern "C" void std::exit (int) throw (); using std::exit;' \
13905 'extern "C" void std::exit (int); using std::exit;' \
13906 'extern "C" void exit (int) throw ();' \
13907 'extern "C" void exit (int);' \
13908 'void exit (int);'
13909 do
13910 cat >conftest.$ac_ext <<_ACEOF
13911 /* confdefs.h. */
13912 _ACEOF
13913 cat confdefs.h >>conftest.$ac_ext
13914 cat >>conftest.$ac_ext <<_ACEOF
13915 /* end confdefs.h. */
13916 $ac_declaration
13917 #include <stdlib.h>
13918 int
13919 main ()
13920 {
13921 exit (42);
13922 ;
13923 return 0;
13924 }
13925 _ACEOF
13926 rm -f conftest.$ac_objext
13927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13928 (eval $ac_compile) 2>conftest.er1
13929 ac_status=$?
13930 grep -v '^ *+' conftest.er1 >conftest.err
13931 rm -f conftest.er1
13932 cat conftest.err >&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); } &&
13935 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13937 (eval $ac_try) 2>&5
13938 ac_status=$?
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); }; } &&
13941 { ac_try='test -s conftest.$ac_objext'
13942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13943 (eval $ac_try) 2>&5
13944 ac_status=$?
13945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946 (exit $ac_status); }; }; then
13947 :
13948 else
13949 echo "$as_me: failed program was:" >&5
13950 sed 's/^/| /' conftest.$ac_ext >&5
13951
13952 continue
13953 fi
13954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13955 cat >conftest.$ac_ext <<_ACEOF
13956 /* confdefs.h. */
13957 _ACEOF
13958 cat confdefs.h >>conftest.$ac_ext
13959 cat >>conftest.$ac_ext <<_ACEOF
13960 /* end confdefs.h. */
13961 $ac_declaration
13962 int
13963 main ()
13964 {
13965 exit (42);
13966 ;
13967 return 0;
13968 }
13969 _ACEOF
13970 rm -f conftest.$ac_objext
13971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13972 (eval $ac_compile) 2>conftest.er1
13973 ac_status=$?
13974 grep -v '^ *+' conftest.er1 >conftest.err
13975 rm -f conftest.er1
13976 cat conftest.err >&5
13977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13978 (exit $ac_status); } &&
13979 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13981 (eval $ac_try) 2>&5
13982 ac_status=$?
13983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984 (exit $ac_status); }; } &&
13985 { ac_try='test -s conftest.$ac_objext'
13986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13987 (eval $ac_try) 2>&5
13988 ac_status=$?
13989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13990 (exit $ac_status); }; }; then
13991 break
13992 else
13993 echo "$as_me: failed program was:" >&5
13994 sed 's/^/| /' conftest.$ac_ext >&5
13995
13996 fi
13997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13998 done
13999 rm -f conftest*
14000 if test -n "$ac_declaration"; then
14001 echo '#ifdef __cplusplus' >>confdefs.h
14002 echo $ac_declaration >>confdefs.h
14003 echo '#endif' >>confdefs.h
14004 fi
14005
14006 ac_ext=cc
14007 ac_cpp='$CXXCPP $CPPFLAGS'
14008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14011
14012
14013
14014 ac_ext=cc
14015 ac_cpp='$CXXCPP $CPPFLAGS'
14016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14019
14020 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14021 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14022 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14023 echo $ECHO_N "(cached) $ECHO_C" >&6
14024 else
14025 cat >conftest.$ac_ext <<_ACEOF
14026 /* confdefs.h. */
14027 _ACEOF
14028 cat confdefs.h >>conftest.$ac_ext
14029 cat >>conftest.$ac_ext <<_ACEOF
14030 /* end confdefs.h. */
14031
14032 int
14033 main ()
14034 {
14035
14036 #ifndef __INTEL_COMPILER
14037 choke me
14038 #endif
14039
14040 ;
14041 return 0;
14042 }
14043 _ACEOF
14044 rm -f conftest.$ac_objext
14045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14046 (eval $ac_compile) 2>conftest.er1
14047 ac_status=$?
14048 grep -v '^ *+' conftest.er1 >conftest.err
14049 rm -f conftest.er1
14050 cat conftest.err >&5
14051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14052 (exit $ac_status); } &&
14053 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14055 (eval $ac_try) 2>&5
14056 ac_status=$?
14057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 (exit $ac_status); }; } &&
14059 { ac_try='test -s conftest.$ac_objext'
14060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14061 (eval $ac_try) 2>&5
14062 ac_status=$?
14063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14064 (exit $ac_status); }; }; then
14065 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14066 else
14067 echo "$as_me: failed program was:" >&5
14068 sed 's/^/| /' conftest.$ac_ext >&5
14069
14070 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14071
14072 fi
14073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14074
14075
14076 fi
14077 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14078 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14079 ac_ext=cc
14080 ac_cpp='$CXXCPP $CPPFLAGS'
14081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14084
14085 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14086 :; INTELCXX=yes
14087 else
14088 :;
14089 fi
14090
14091
14092 if test "x$GCXX" != "xyes"; then
14093 if test "xCXX" = "xC"; then
14094 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14095 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14096 if test "${bakefile_cv_cxx_exto+set}" = set; then
14097 echo $ECHO_N "(cached) $ECHO_C" >&6
14098 else
14099 cat >conftest.$ac_ext <<_ACEOF
14100 /* confdefs.h. */
14101 _ACEOF
14102 cat confdefs.h >>conftest.$ac_ext
14103 cat >>conftest.$ac_ext <<_ACEOF
14104 /* end confdefs.h. */
14105
14106 int
14107 main ()
14108 {
14109
14110 ;
14111 return 0;
14112 }
14113 _ACEOF
14114 rm -f conftest.$ac_objext conftest.$ac_ext.o
14115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14116 (eval $ac_compile) 2>&5
14117 ac_status=$?
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); }; then
14120 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14121 case $ac_file in
14122 conftest.$ac_ext.o)
14123 bakefile_cv_cxx_exto="-ext o"
14124 ;;
14125 *)
14126 ;;
14127 esac
14128 done
14129 else
14130 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14131 See \`config.log' for more details." >&5
14132 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14133 See \`config.log' for more details." >&2;}
14134 { (exit 1); exit 1; }; }
14135
14136 fi
14137
14138 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14139
14140 fi
14141 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14142 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14143 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14144 if test "cxx" = "c"; then
14145 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14146 fi
14147 if test "cxx" = "cxx"; then
14148 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14149 fi
14150 fi
14151
14152 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14153 unset ac_cv_prog_cc_g
14154 ac_test_CFLAGS=${CFLAGS+set}
14155 ac_save_CFLAGS=$CFLAGS
14156 CFLAGS="-g"
14157 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14158 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14159 if test "${ac_cv_prog_cc_g+set}" = set; then
14160 echo $ECHO_N "(cached) $ECHO_C" >&6
14161 else
14162 cat >conftest.$ac_ext <<_ACEOF
14163 /* confdefs.h. */
14164 _ACEOF
14165 cat confdefs.h >>conftest.$ac_ext
14166 cat >>conftest.$ac_ext <<_ACEOF
14167 /* end confdefs.h. */
14168
14169 int
14170 main ()
14171 {
14172
14173 ;
14174 return 0;
14175 }
14176 _ACEOF
14177 rm -f conftest.$ac_objext
14178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14179 (eval $ac_compile) 2>conftest.er1
14180 ac_status=$?
14181 grep -v '^ *+' conftest.er1 >conftest.err
14182 rm -f conftest.er1
14183 cat conftest.err >&5
14184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); } &&
14186 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14188 (eval $ac_try) 2>&5
14189 ac_status=$?
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); }; } &&
14192 { ac_try='test -s conftest.$ac_objext'
14193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14194 (eval $ac_try) 2>&5
14195 ac_status=$?
14196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14197 (exit $ac_status); }; }; then
14198 ac_cv_prog_cc_g=yes
14199 else
14200 echo "$as_me: failed program was:" >&5
14201 sed 's/^/| /' conftest.$ac_ext >&5
14202
14203 ac_cv_prog_cc_g=no
14204 fi
14205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14206 fi
14207 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14208 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14209 if test "$ac_test_CFLAGS" = set; then
14210 CFLAGS=$ac_save_CFLAGS
14211 elif test $ac_cv_prog_cc_g = yes; then
14212 if test "$GCC" = yes; then
14213 CFLAGS="-g -O2"
14214 else
14215 CFLAGS="-g"
14216 fi
14217 else
14218 if test "$GCC" = yes; then
14219 CFLAGS="-O2"
14220 else
14221 CFLAGS=
14222 fi
14223 fi
14224 fi
14225 fi
14226
14227 case `uname -s` in
14228 AIX*)
14229 ac_ext=cc
14230 ac_cpp='$CXXCPP $CPPFLAGS'
14231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14234
14235 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14236 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14237 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14238 echo $ECHO_N "(cached) $ECHO_C" >&6
14239 else
14240 cat >conftest.$ac_ext <<_ACEOF
14241 /* confdefs.h. */
14242 _ACEOF
14243 cat confdefs.h >>conftest.$ac_ext
14244 cat >>conftest.$ac_ext <<_ACEOF
14245 /* end confdefs.h. */
14246
14247 int
14248 main ()
14249 {
14250 #ifndef __xlC__
14251 choke me
14252 #endif
14253
14254 ;
14255 return 0;
14256 }
14257 _ACEOF
14258 rm -f conftest.$ac_objext
14259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14260 (eval $ac_compile) 2>conftest.er1
14261 ac_status=$?
14262 grep -v '^ *+' conftest.er1 >conftest.err
14263 rm -f conftest.er1
14264 cat conftest.err >&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14269 (eval $ac_try) 2>&5
14270 ac_status=$?
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; } &&
14273 { ac_try='test -s conftest.$ac_objext'
14274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14275 (eval $ac_try) 2>&5
14276 ac_status=$?
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; }; then
14279 bakefile_compiler_xlc=yes
14280 else
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.$ac_ext >&5
14283
14284 bakefile_compiler_xlc=no
14285 fi
14286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14287 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14288
14289 fi
14290 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14291 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14292
14293 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14294 ac_ext=cc
14295 ac_cpp='$CXXCPP $CPPFLAGS'
14296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14299
14300
14301 ;;
14302
14303 Darwin)
14304 ac_ext=cc
14305 ac_cpp='$CXXCPP $CPPFLAGS'
14306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14309
14310 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14311 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14312 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14313 echo $ECHO_N "(cached) $ECHO_C" >&6
14314 else
14315 cat >conftest.$ac_ext <<_ACEOF
14316 /* confdefs.h. */
14317 _ACEOF
14318 cat confdefs.h >>conftest.$ac_ext
14319 cat >>conftest.$ac_ext <<_ACEOF
14320 /* end confdefs.h. */
14321
14322 int
14323 main ()
14324 {
14325 #ifndef __MWERKS__
14326 choke me
14327 #endif
14328
14329 ;
14330 return 0;
14331 }
14332 _ACEOF
14333 rm -f conftest.$ac_objext
14334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14335 (eval $ac_compile) 2>conftest.er1
14336 ac_status=$?
14337 grep -v '^ *+' conftest.er1 >conftest.err
14338 rm -f conftest.er1
14339 cat conftest.err >&5
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); } &&
14342 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14344 (eval $ac_try) 2>&5
14345 ac_status=$?
14346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14347 (exit $ac_status); }; } &&
14348 { ac_try='test -s conftest.$ac_objext'
14349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14350 (eval $ac_try) 2>&5
14351 ac_status=$?
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; }; then
14354 bakefile_compiler_mwerks=yes
14355 else
14356 echo "$as_me: failed program was:" >&5
14357 sed 's/^/| /' conftest.$ac_ext >&5
14358
14359 bakefile_compiler_mwerks=no
14360 fi
14361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14362 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14363
14364 fi
14365 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14366 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14367
14368 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14369 ac_ext=cc
14370 ac_cpp='$CXXCPP $CPPFLAGS'
14371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14374
14375
14376 ac_ext=cc
14377 ac_cpp='$CXXCPP $CPPFLAGS'
14378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14381
14382 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14383 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14384 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14385 echo $ECHO_N "(cached) $ECHO_C" >&6
14386 else
14387 cat >conftest.$ac_ext <<_ACEOF
14388 /* confdefs.h. */
14389 _ACEOF
14390 cat confdefs.h >>conftest.$ac_ext
14391 cat >>conftest.$ac_ext <<_ACEOF
14392 /* end confdefs.h. */
14393
14394 int
14395 main ()
14396 {
14397 #ifndef __xlC__
14398 choke me
14399 #endif
14400
14401 ;
14402 return 0;
14403 }
14404 _ACEOF
14405 rm -f conftest.$ac_objext
14406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14407 (eval $ac_compile) 2>conftest.er1
14408 ac_status=$?
14409 grep -v '^ *+' conftest.er1 >conftest.err
14410 rm -f conftest.er1
14411 cat conftest.err >&5
14412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14413 (exit $ac_status); } &&
14414 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14416 (eval $ac_try) 2>&5
14417 ac_status=$?
14418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14419 (exit $ac_status); }; } &&
14420 { ac_try='test -s conftest.$ac_objext'
14421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14422 (eval $ac_try) 2>&5
14423 ac_status=$?
14424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14425 (exit $ac_status); }; }; then
14426 bakefile_compiler_xlc=yes
14427 else
14428 echo "$as_me: failed program was:" >&5
14429 sed 's/^/| /' conftest.$ac_ext >&5
14430
14431 bakefile_compiler_xlc=no
14432 fi
14433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14434 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14435
14436 fi
14437 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14438 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14439
14440 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14441 ac_ext=cc
14442 ac_cpp='$CXXCPP $CPPFLAGS'
14443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14446
14447
14448 ;;
14449
14450 IRIX*)
14451
14452
14453 ac_ext=cc
14454 ac_cpp='$CXXCPP $CPPFLAGS'
14455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14458
14459 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14460 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14461 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14462 echo $ECHO_N "(cached) $ECHO_C" >&6
14463 else
14464 cat >conftest.$ac_ext <<_ACEOF
14465 /* confdefs.h. */
14466 _ACEOF
14467 cat confdefs.h >>conftest.$ac_ext
14468 cat >>conftest.$ac_ext <<_ACEOF
14469 /* end confdefs.h. */
14470
14471 int
14472 main ()
14473 {
14474
14475 #ifndef _SGI_COMPILER_VERSION
14476 choke me
14477 #endif
14478
14479 ;
14480 return 0;
14481 }
14482 _ACEOF
14483 rm -f conftest.$ac_objext
14484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14485 (eval $ac_compile) 2>conftest.er1
14486 ac_status=$?
14487 grep -v '^ *+' conftest.er1 >conftest.err
14488 rm -f conftest.er1
14489 cat conftest.err >&5
14490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14491 (exit $ac_status); } &&
14492 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14494 (eval $ac_try) 2>&5
14495 ac_status=$?
14496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14497 (exit $ac_status); }; } &&
14498 { ac_try='test -s conftest.$ac_objext'
14499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14500 (eval $ac_try) 2>&5
14501 ac_status=$?
14502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14503 (exit $ac_status); }; }; then
14504 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14505 else
14506 echo "$as_me: failed program was:" >&5
14507 sed 's/^/| /' conftest.$ac_ext >&5
14508
14509 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14510
14511 fi
14512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14513
14514
14515 fi
14516 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14517 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14518 ac_ext=cc
14519 ac_cpp='$CXXCPP $CPPFLAGS'
14520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14523
14524 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14525 :; SGICXX=yes
14526 else
14527 :;
14528 fi
14529
14530
14531 ;;
14532
14533 HP-UX*)
14534
14535
14536 ac_ext=cc
14537 ac_cpp='$CXXCPP $CPPFLAGS'
14538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14541
14542 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14543 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14544 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14545 echo $ECHO_N "(cached) $ECHO_C" >&6
14546 else
14547 cat >conftest.$ac_ext <<_ACEOF
14548 /* confdefs.h. */
14549 _ACEOF
14550 cat confdefs.h >>conftest.$ac_ext
14551 cat >>conftest.$ac_ext <<_ACEOF
14552 /* end confdefs.h. */
14553
14554 int
14555 main ()
14556 {
14557
14558 #ifndef __HP_aCC
14559 choke me
14560 #endif
14561
14562 ;
14563 return 0;
14564 }
14565 _ACEOF
14566 rm -f conftest.$ac_objext
14567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14568 (eval $ac_compile) 2>conftest.er1
14569 ac_status=$?
14570 grep -v '^ *+' conftest.er1 >conftest.err
14571 rm -f conftest.er1
14572 cat conftest.err >&5
14573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14574 (exit $ac_status); } &&
14575 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14577 (eval $ac_try) 2>&5
14578 ac_status=$?
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); }; } &&
14581 { ac_try='test -s conftest.$ac_objext'
14582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14583 (eval $ac_try) 2>&5
14584 ac_status=$?
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); }; }; then
14587 bakefile_cv_cxx_compiler___HP_aCC=yes
14588 else
14589 echo "$as_me: failed program was:" >&5
14590 sed 's/^/| /' conftest.$ac_ext >&5
14591
14592 bakefile_cv_cxx_compiler___HP_aCC=no
14593
14594 fi
14595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14596
14597
14598 fi
14599 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14600 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14601 ac_ext=cc
14602 ac_cpp='$CXXCPP $CPPFLAGS'
14603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14606
14607 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14608 :; HPCXX=yes
14609 else
14610 :;
14611 fi
14612
14613
14614 ;;
14615
14616 OSF1)
14617
14618
14619 ac_ext=cc
14620 ac_cpp='$CXXCPP $CPPFLAGS'
14621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14624
14625 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14626 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14627 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14628 echo $ECHO_N "(cached) $ECHO_C" >&6
14629 else
14630 cat >conftest.$ac_ext <<_ACEOF
14631 /* confdefs.h. */
14632 _ACEOF
14633 cat confdefs.h >>conftest.$ac_ext
14634 cat >>conftest.$ac_ext <<_ACEOF
14635 /* end confdefs.h. */
14636
14637 int
14638 main ()
14639 {
14640
14641 #ifndef __DECCXX
14642 choke me
14643 #endif
14644
14645 ;
14646 return 0;
14647 }
14648 _ACEOF
14649 rm -f conftest.$ac_objext
14650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14651 (eval $ac_compile) 2>conftest.er1
14652 ac_status=$?
14653 grep -v '^ *+' conftest.er1 >conftest.err
14654 rm -f conftest.er1
14655 cat conftest.err >&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } &&
14658 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14661 ac_status=$?
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; } &&
14664 { ac_try='test -s conftest.$ac_objext'
14665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14666 (eval $ac_try) 2>&5
14667 ac_status=$?
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); }; }; then
14670 bakefile_cv_cxx_compiler___DECCXX=yes
14671 else
14672 echo "$as_me: failed program was:" >&5
14673 sed 's/^/| /' conftest.$ac_ext >&5
14674
14675 bakefile_cv_cxx_compiler___DECCXX=no
14676
14677 fi
14678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14679
14680
14681 fi
14682 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14683 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14684 ac_ext=cc
14685 ac_cpp='$CXXCPP $CPPFLAGS'
14686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14689
14690 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14691 :; COMPAQCXX=yes
14692 else
14693 :;
14694 fi
14695
14696
14697 ;;
14698
14699 SunOS)
14700
14701
14702 ac_ext=cc
14703 ac_cpp='$CXXCPP $CPPFLAGS'
14704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14707
14708 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14709 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14710 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14711 echo $ECHO_N "(cached) $ECHO_C" >&6
14712 else
14713 cat >conftest.$ac_ext <<_ACEOF
14714 /* confdefs.h. */
14715 _ACEOF
14716 cat confdefs.h >>conftest.$ac_ext
14717 cat >>conftest.$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14719
14720 int
14721 main ()
14722 {
14723
14724 #ifndef __SUNPRO_CC
14725 choke me
14726 #endif
14727
14728 ;
14729 return 0;
14730 }
14731 _ACEOF
14732 rm -f conftest.$ac_objext
14733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14734 (eval $ac_compile) 2>conftest.er1
14735 ac_status=$?
14736 grep -v '^ *+' conftest.er1 >conftest.err
14737 rm -f conftest.er1
14738 cat conftest.err >&5
14739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14740 (exit $ac_status); } &&
14741 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14743 (eval $ac_try) 2>&5
14744 ac_status=$?
14745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14746 (exit $ac_status); }; } &&
14747 { ac_try='test -s conftest.$ac_objext'
14748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14749 (eval $ac_try) 2>&5
14750 ac_status=$?
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); }; }; then
14753 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14754 else
14755 echo "$as_me: failed program was:" >&5
14756 sed 's/^/| /' conftest.$ac_ext >&5
14757
14758 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14759
14760 fi
14761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14762
14763
14764 fi
14765 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14766 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14767 ac_ext=cc
14768 ac_cpp='$CXXCPP $CPPFLAGS'
14769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14772
14773 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14774 :; SUNCXX=yes
14775 else
14776 :;
14777 fi
14778
14779
14780 ;;
14781 esac
14782 fi
14783
14784
14785
14786 if test -n "$ac_tool_prefix"; then
14787 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14788 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14789 echo "$as_me:$LINENO: checking for $ac_word" >&5
14790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14791 if test "${ac_cv_prog_RANLIB+set}" = set; then
14792 echo $ECHO_N "(cached) $ECHO_C" >&6
14793 else
14794 if test -n "$RANLIB"; then
14795 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14796 else
14797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14798 for as_dir in $PATH
14799 do
14800 IFS=$as_save_IFS
14801 test -z "$as_dir" && as_dir=.
14802 for ac_exec_ext in '' $ac_executable_extensions; do
14803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14804 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14806 break 2
14807 fi
14808 done
14809 done
14810
14811 fi
14812 fi
14813 RANLIB=$ac_cv_prog_RANLIB
14814 if test -n "$RANLIB"; then
14815 echo "$as_me:$LINENO: result: $RANLIB" >&5
14816 echo "${ECHO_T}$RANLIB" >&6
14817 else
14818 echo "$as_me:$LINENO: result: no" >&5
14819 echo "${ECHO_T}no" >&6
14820 fi
14821
14822 fi
14823 if test -z "$ac_cv_prog_RANLIB"; then
14824 ac_ct_RANLIB=$RANLIB
14825 # Extract the first word of "ranlib", so it can be a program name with args.
14826 set dummy ranlib; ac_word=$2
14827 echo "$as_me:$LINENO: checking for $ac_word" >&5
14828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14829 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14830 echo $ECHO_N "(cached) $ECHO_C" >&6
14831 else
14832 if test -n "$ac_ct_RANLIB"; then
14833 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14834 else
14835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14836 for as_dir in $PATH
14837 do
14838 IFS=$as_save_IFS
14839 test -z "$as_dir" && as_dir=.
14840 for ac_exec_ext in '' $ac_executable_extensions; do
14841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14842 ac_cv_prog_ac_ct_RANLIB="ranlib"
14843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14844 break 2
14845 fi
14846 done
14847 done
14848
14849 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
14850 fi
14851 fi
14852 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14853 if test -n "$ac_ct_RANLIB"; then
14854 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14855 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14856 else
14857 echo "$as_me:$LINENO: result: no" >&5
14858 echo "${ECHO_T}no" >&6
14859 fi
14860
14861 RANLIB=$ac_ct_RANLIB
14862 else
14863 RANLIB="$ac_cv_prog_RANLIB"
14864 fi
14865
14866
14867 if test -n "$ac_tool_prefix"; then
14868 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14869 set dummy ${ac_tool_prefix}ar; ac_word=$2
14870 echo "$as_me:$LINENO: checking for $ac_word" >&5
14871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14872 if test "${ac_cv_prog_AR+set}" = set; then
14873 echo $ECHO_N "(cached) $ECHO_C" >&6
14874 else
14875 if test -n "$AR"; then
14876 ac_cv_prog_AR="$AR" # Let the user override the test.
14877 else
14878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14879 for as_dir in $PATH
14880 do
14881 IFS=$as_save_IFS
14882 test -z "$as_dir" && as_dir=.
14883 for ac_exec_ext in '' $ac_executable_extensions; do
14884 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14885 ac_cv_prog_AR="${ac_tool_prefix}ar"
14886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14887 break 2
14888 fi
14889 done
14890 done
14891
14892 fi
14893 fi
14894 AR=$ac_cv_prog_AR
14895 if test -n "$AR"; then
14896 echo "$as_me:$LINENO: result: $AR" >&5
14897 echo "${ECHO_T}$AR" >&6
14898 else
14899 echo "$as_me:$LINENO: result: no" >&5
14900 echo "${ECHO_T}no" >&6
14901 fi
14902
14903 fi
14904 if test -z "$ac_cv_prog_AR"; then
14905 ac_ct_AR=$AR
14906 # Extract the first word of "ar", so it can be a program name with args.
14907 set dummy ar; ac_word=$2
14908 echo "$as_me:$LINENO: checking for $ac_word" >&5
14909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14910 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14911 echo $ECHO_N "(cached) $ECHO_C" >&6
14912 else
14913 if test -n "$ac_ct_AR"; then
14914 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14915 else
14916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14917 for as_dir in $PATH
14918 do
14919 IFS=$as_save_IFS
14920 test -z "$as_dir" && as_dir=.
14921 for ac_exec_ext in '' $ac_executable_extensions; do
14922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14923 ac_cv_prog_ac_ct_AR="ar"
14924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14925 break 2
14926 fi
14927 done
14928 done
14929
14930 fi
14931 fi
14932 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14933 if test -n "$ac_ct_AR"; then
14934 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14935 echo "${ECHO_T}$ac_ct_AR" >&6
14936 else
14937 echo "$as_me:$LINENO: result: no" >&5
14938 echo "${ECHO_T}no" >&6
14939 fi
14940
14941 AR=$ac_ct_AR
14942 else
14943 AR="$ac_cv_prog_AR"
14944 fi
14945
14946 if test "x$AR" = "x" ; then
14947 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14948 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14949 { (exit 1); exit 1; }; }
14950 fi
14951
14952 # Find a good install program. We prefer a C program (faster),
14953 # so one script is as good as another. But avoid the broken or
14954 # incompatible versions:
14955 # SysV /etc/install, /usr/sbin/install
14956 # SunOS /usr/etc/install
14957 # IRIX /sbin/install
14958 # AIX /bin/install
14959 # AmigaOS /C/install, which installs bootblocks on floppy discs
14960 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14961 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14962 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14963 # OS/2's system install, which has a completely different semantic
14964 # ./install, which can be erroneously created by make from ./install.sh.
14965 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14966 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14967 if test -z "$INSTALL"; then
14968 if test "${ac_cv_path_install+set}" = set; then
14969 echo $ECHO_N "(cached) $ECHO_C" >&6
14970 else
14971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14972 for as_dir in $PATH
14973 do
14974 IFS=$as_save_IFS
14975 test -z "$as_dir" && as_dir=.
14976 # Account for people who put trailing slashes in PATH elements.
14977 case $as_dir/ in
14978 ./ | .// | /cC/* | \
14979 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14980 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
14981 /usr/ucb/* ) ;;
14982 *)
14983 # OSF1 and SCO ODT 3.0 have their own names for install.
14984 # Don't use installbsd from OSF since it installs stuff as root
14985 # by default.
14986 for ac_prog in ginstall scoinst install; do
14987 for ac_exec_ext in '' $ac_executable_extensions; do
14988 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14989 if test $ac_prog = install &&
14990 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14991 # AIX install. It has an incompatible calling convention.
14992 :
14993 elif test $ac_prog = install &&
14994 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14995 # program-specific install script used by HP pwplus--don't use.
14996 :
14997 else
14998 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14999 break 3
15000 fi
15001 fi
15002 done
15003 done
15004 ;;
15005 esac
15006 done
15007
15008
15009 fi
15010 if test "${ac_cv_path_install+set}" = set; then
15011 INSTALL=$ac_cv_path_install
15012 else
15013 # As a last resort, use the slow shell script. We don't cache a
15014 # path for INSTALL within a source directory, because that will
15015 # break other packages using the cache if that directory is
15016 # removed, or if the path is relative.
15017 INSTALL=$ac_install_sh
15018 fi
15019 fi
15020 echo "$as_me:$LINENO: result: $INSTALL" >&5
15021 echo "${ECHO_T}$INSTALL" >&6
15022
15023 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15024 # It thinks the first close brace ends the variable substitution.
15025 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15026
15027 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15028
15029 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15030
15031
15032 case ${INSTALL} in
15033 /* ) # Absolute
15034 ;;
15035 ?:* ) # Drive letter, considered as absolute.
15036 ;;
15037 *)
15038 INSTALL=`pwd`/${INSTALL} ;;
15039 esac
15040
15041
15042 case "${host}" in
15043
15044 *-*-darwin* )
15045 INSTALL_PROGRAM="cp -fp"
15046 INSTALL_DATA="cp -fp"
15047 ;;
15048 *)
15049 ;;
15050 esac
15051
15052 if test -n "$ac_tool_prefix"; then
15053 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15054 set dummy ${ac_tool_prefix}strip; ac_word=$2
15055 echo "$as_me:$LINENO: checking for $ac_word" >&5
15056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15057 if test "${ac_cv_prog_STRIP+set}" = set; then
15058 echo $ECHO_N "(cached) $ECHO_C" >&6
15059 else
15060 if test -n "$STRIP"; then
15061 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15062 else
15063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15064 for as_dir in $PATH
15065 do
15066 IFS=$as_save_IFS
15067 test -z "$as_dir" && as_dir=.
15068 for ac_exec_ext in '' $ac_executable_extensions; do
15069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15070 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15072 break 2
15073 fi
15074 done
15075 done
15076
15077 fi
15078 fi
15079 STRIP=$ac_cv_prog_STRIP
15080 if test -n "$STRIP"; then
15081 echo "$as_me:$LINENO: result: $STRIP" >&5
15082 echo "${ECHO_T}$STRIP" >&6
15083 else
15084 echo "$as_me:$LINENO: result: no" >&5
15085 echo "${ECHO_T}no" >&6
15086 fi
15087
15088 fi
15089 if test -z "$ac_cv_prog_STRIP"; then
15090 ac_ct_STRIP=$STRIP
15091 # Extract the first word of "strip", so it can be a program name with args.
15092 set dummy strip; ac_word=$2
15093 echo "$as_me:$LINENO: checking for $ac_word" >&5
15094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15095 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15096 echo $ECHO_N "(cached) $ECHO_C" >&6
15097 else
15098 if test -n "$ac_ct_STRIP"; then
15099 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15100 else
15101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15102 for as_dir in $PATH
15103 do
15104 IFS=$as_save_IFS
15105 test -z "$as_dir" && as_dir=.
15106 for ac_exec_ext in '' $ac_executable_extensions; do
15107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15108 ac_cv_prog_ac_ct_STRIP="strip"
15109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15110 break 2
15111 fi
15112 done
15113 done
15114
15115 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15116 fi
15117 fi
15118 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15119 if test -n "$ac_ct_STRIP"; then
15120 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15121 echo "${ECHO_T}$ac_ct_STRIP" >&6
15122 else
15123 echo "$as_me:$LINENO: result: no" >&5
15124 echo "${ECHO_T}no" >&6
15125 fi
15126
15127 STRIP=$ac_ct_STRIP
15128 else
15129 STRIP="$ac_cv_prog_STRIP"
15130 fi
15131
15132
15133 if test "$wxUSE_WINE" = "yes"; then
15134 if test -n "$ac_tool_prefix"; then
15135 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15136 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15137 echo "$as_me:$LINENO: checking for $ac_word" >&5
15138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15139 if test "${ac_cv_prog_WINDRES+set}" = set; then
15140 echo $ECHO_N "(cached) $ECHO_C" >&6
15141 else
15142 if test -n "$WINDRES"; then
15143 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15144 else
15145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15146 for as_dir in $PATH
15147 do
15148 IFS=$as_save_IFS
15149 test -z "$as_dir" && as_dir=.
15150 for ac_exec_ext in '' $ac_executable_extensions; do
15151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15152 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15154 break 2
15155 fi
15156 done
15157 done
15158
15159 fi
15160 fi
15161 WINDRES=$ac_cv_prog_WINDRES
15162 if test -n "$WINDRES"; then
15163 echo "$as_me:$LINENO: result: $WINDRES" >&5
15164 echo "${ECHO_T}$WINDRES" >&6
15165 else
15166 echo "$as_me:$LINENO: result: no" >&5
15167 echo "${ECHO_T}no" >&6
15168 fi
15169
15170 fi
15171 if test -z "$ac_cv_prog_WINDRES"; then
15172 ac_ct_WINDRES=$WINDRES
15173 # Extract the first word of "wrc", so it can be a program name with args.
15174 set dummy wrc; ac_word=$2
15175 echo "$as_me:$LINENO: checking for $ac_word" >&5
15176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15177 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15178 echo $ECHO_N "(cached) $ECHO_C" >&6
15179 else
15180 if test -n "$ac_ct_WINDRES"; then
15181 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15182 else
15183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15184 for as_dir in $PATH
15185 do
15186 IFS=$as_save_IFS
15187 test -z "$as_dir" && as_dir=.
15188 for ac_exec_ext in '' $ac_executable_extensions; do
15189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15190 ac_cv_prog_ac_ct_WINDRES="wrc"
15191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15192 break 2
15193 fi
15194 done
15195 done
15196
15197 fi
15198 fi
15199 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15200 if test -n "$ac_ct_WINDRES"; then
15201 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15202 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15203 else
15204 echo "$as_me:$LINENO: result: no" >&5
15205 echo "${ECHO_T}no" >&6
15206 fi
15207
15208 WINDRES=$ac_ct_WINDRES
15209 else
15210 WINDRES="$ac_cv_prog_WINDRES"
15211 fi
15212
15213 RESCOMP="$WINDRES"
15214 else
15215 case "${host}" in
15216 *-*-cygwin* | *-*-mingw32* )
15217 if test -n "$ac_tool_prefix"; then
15218 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15219 set dummy ${ac_tool_prefix}windres; ac_word=$2
15220 echo "$as_me:$LINENO: checking for $ac_word" >&5
15221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15222 if test "${ac_cv_prog_WINDRES+set}" = set; then
15223 echo $ECHO_N "(cached) $ECHO_C" >&6
15224 else
15225 if test -n "$WINDRES"; then
15226 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15227 else
15228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15229 for as_dir in $PATH
15230 do
15231 IFS=$as_save_IFS
15232 test -z "$as_dir" && as_dir=.
15233 for ac_exec_ext in '' $ac_executable_extensions; do
15234 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15235 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15237 break 2
15238 fi
15239 done
15240 done
15241
15242 fi
15243 fi
15244 WINDRES=$ac_cv_prog_WINDRES
15245 if test -n "$WINDRES"; then
15246 echo "$as_me:$LINENO: result: $WINDRES" >&5
15247 echo "${ECHO_T}$WINDRES" >&6
15248 else
15249 echo "$as_me:$LINENO: result: no" >&5
15250 echo "${ECHO_T}no" >&6
15251 fi
15252
15253 fi
15254 if test -z "$ac_cv_prog_WINDRES"; then
15255 ac_ct_WINDRES=$WINDRES
15256 # Extract the first word of "windres", so it can be a program name with args.
15257 set dummy windres; ac_word=$2
15258 echo "$as_me:$LINENO: checking for $ac_word" >&5
15259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15260 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15261 echo $ECHO_N "(cached) $ECHO_C" >&6
15262 else
15263 if test -n "$ac_ct_WINDRES"; then
15264 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15265 else
15266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15267 for as_dir in $PATH
15268 do
15269 IFS=$as_save_IFS
15270 test -z "$as_dir" && as_dir=.
15271 for ac_exec_ext in '' $ac_executable_extensions; do
15272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15273 ac_cv_prog_ac_ct_WINDRES="windres"
15274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15275 break 2
15276 fi
15277 done
15278 done
15279
15280 fi
15281 fi
15282 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15283 if test -n "$ac_ct_WINDRES"; then
15284 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15285 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15286 else
15287 echo "$as_me:$LINENO: result: no" >&5
15288 echo "${ECHO_T}no" >&6
15289 fi
15290
15291 WINDRES=$ac_ct_WINDRES
15292 else
15293 WINDRES="$ac_cv_prog_WINDRES"
15294 fi
15295
15296 RESCOMP="$WINDRES"
15297 if test -n "$ac_tool_prefix"; then
15298 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15299 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15300 echo "$as_me:$LINENO: checking for $ac_word" >&5
15301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15302 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15303 echo $ECHO_N "(cached) $ECHO_C" >&6
15304 else
15305 if test -n "$DLLTOOL"; then
15306 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15307 else
15308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15309 for as_dir in $PATH
15310 do
15311 IFS=$as_save_IFS
15312 test -z "$as_dir" && as_dir=.
15313 for ac_exec_ext in '' $ac_executable_extensions; do
15314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15315 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15317 break 2
15318 fi
15319 done
15320 done
15321
15322 fi
15323 fi
15324 DLLTOOL=$ac_cv_prog_DLLTOOL
15325 if test -n "$DLLTOOL"; then
15326 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15327 echo "${ECHO_T}$DLLTOOL" >&6
15328 else
15329 echo "$as_me:$LINENO: result: no" >&5
15330 echo "${ECHO_T}no" >&6
15331 fi
15332
15333 fi
15334 if test -z "$ac_cv_prog_DLLTOOL"; then
15335 ac_ct_DLLTOOL=$DLLTOOL
15336 # Extract the first word of "dlltool", so it can be a program name with args.
15337 set dummy dlltool; ac_word=$2
15338 echo "$as_me:$LINENO: checking for $ac_word" >&5
15339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15340 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15341 echo $ECHO_N "(cached) $ECHO_C" >&6
15342 else
15343 if test -n "$ac_ct_DLLTOOL"; then
15344 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15345 else
15346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15347 for as_dir in $PATH
15348 do
15349 IFS=$as_save_IFS
15350 test -z "$as_dir" && as_dir=.
15351 for ac_exec_ext in '' $ac_executable_extensions; do
15352 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15353 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15355 break 2
15356 fi
15357 done
15358 done
15359
15360 fi
15361 fi
15362 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15363 if test -n "$ac_ct_DLLTOOL"; then
15364 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15365 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15366 else
15367 echo "$as_me:$LINENO: result: no" >&5
15368 echo "${ECHO_T}no" >&6
15369 fi
15370
15371 DLLTOOL=$ac_ct_DLLTOOL
15372 else
15373 DLLTOOL="$ac_cv_prog_DLLTOOL"
15374 fi
15375
15376 ;;
15377 esac
15378 fi
15379
15380 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15381 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15382 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15383 echo $ECHO_N "(cached) $ECHO_C" >&6
15384 else
15385
15386 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15387 egrep -s GNU > /dev/null); then
15388 wx_cv_prog_makeisgnu="yes"
15389 else
15390 wx_cv_prog_makeisgnu="no"
15391 fi
15392
15393 fi
15394 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15395 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15396
15397 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15398 IF_GNU_MAKE=""
15399 else
15400 IF_GNU_MAKE="#"
15401 fi
15402
15403
15404
15405 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15406 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15407 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15408 if test "${wx_cv_prog_makevpath+set}" = set; then
15409 echo $ECHO_N "(cached) $ECHO_C" >&6
15410 else
15411
15412 cat - << EOF > confMake
15413 check : file
15414 cp \$? \$@
15415 cp \$? final_file
15416 EOF
15417
15418 if test ! -d sub ; then
15419 mkdir sub
15420 fi
15421 echo dummy > sub/file
15422 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15423 RESULT=$?
15424 rm -f sub/file check final_file confMake
15425 rmdir sub
15426 if test "$RESULT" = 0; then
15427 wx_cv_prog_makevpath="yes"
15428 else
15429 wx_cv_prog_makevpath="no"
15430 fi
15431
15432 fi
15433 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15434 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15435
15436 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15437 { { echo "$as_me:$LINENO: error:
15438 You need a make-utility that is able to use the variable
15439 VPATH correctly.
15440 If your version of make does not support VPATH correctly,
15441 please install GNU-make (possibly as gmake), and start
15442 configure with the following command:
15443 export MAKE=gmake; ./configure for sh-type shells
15444 setenv MAKE gmake; ./configure for csh-type shells
15445 Also please do remember to use gmake in this case every time
15446 you are trying to compile.
15447 " >&5
15448 echo "$as_me: error:
15449 You need a make-utility that is able to use the variable
15450 VPATH correctly.
15451 If your version of make does not support VPATH correctly,
15452 please install GNU-make (possibly as gmake), and start
15453 configure with the following command:
15454 export MAKE=gmake; ./configure for sh-type shells
15455 setenv MAKE gmake; ./configure for csh-type shells
15456 Also please do remember to use gmake in this case every time
15457 you are trying to compile.
15458 " >&2;}
15459 { (exit 1); exit 1; }; }
15460 fi fi
15461 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15462 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15463 LN_S=$as_ln_s
15464 if test "$LN_S" = "ln -s"; then
15465 echo "$as_me:$LINENO: result: yes" >&5
15466 echo "${ECHO_T}yes" >&6
15467 else
15468 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15469 echo "${ECHO_T}no, using $LN_S" >&6
15470 fi
15471
15472
15473
15474
15475 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15476 CXXFLAGS="-qunique $CXXFLAGS"
15477 fi
15478
15479 case "${host}" in
15480 powerpc-*-darwin* )
15481 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15482 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15483 cat >conftest.$ac_ext <<_ACEOF
15484 /* confdefs.h. */
15485 _ACEOF
15486 cat confdefs.h >>conftest.$ac_ext
15487 cat >>conftest.$ac_ext <<_ACEOF
15488 /* end confdefs.h. */
15489
15490 int
15491 main ()
15492 {
15493 #ifndef __POWERPC__
15494 choke me for lack of PowerPC
15495 #endif
15496
15497 ;
15498 return 0;
15499 }
15500 _ACEOF
15501 rm -f conftest.$ac_objext
15502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15503 (eval $ac_compile) 2>conftest.er1
15504 ac_status=$?
15505 grep -v '^ *+' conftest.er1 >conftest.err
15506 rm -f conftest.er1
15507 cat conftest.err >&5
15508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509 (exit $ac_status); } &&
15510 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15512 (eval $ac_try) 2>&5
15513 ac_status=$?
15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515 (exit $ac_status); }; } &&
15516 { ac_try='test -s conftest.$ac_objext'
15517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15518 (eval $ac_try) 2>&5
15519 ac_status=$?
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); }; }; then
15522 echo "$as_me:$LINENO: result: yes" >&5
15523 echo "${ECHO_T}yes" >&6
15524 else
15525 echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.$ac_ext >&5
15527
15528 echo "$as_me:$LINENO: result: no" >&5
15529 echo "${ECHO_T}no" >&6
15530 cat >>confdefs.h <<\_ACEOF
15531 #define __POWERPC__ 1
15532 _ACEOF
15533
15534
15535 fi
15536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15537 ;;
15538 esac
15539
15540 case "${host}" in
15541 *-*-darwin* )
15542 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15543 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15544 cat >conftest.$ac_ext <<_ACEOF
15545 /* confdefs.h. */
15546 _ACEOF
15547 cat confdefs.h >>conftest.$ac_ext
15548 cat >>conftest.$ac_ext <<_ACEOF
15549 /* end confdefs.h. */
15550 #include <CoreFoundation/CFBase.h>
15551
15552 int
15553 main ()
15554 {
15555
15556 ;
15557 return 0;
15558 }
15559 _ACEOF
15560 rm -f conftest.$ac_objext
15561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15562 (eval $ac_compile) 2>conftest.er1
15563 ac_status=$?
15564 grep -v '^ *+' conftest.er1 >conftest.err
15565 rm -f conftest.er1
15566 cat conftest.err >&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); } &&
15569 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15571 (eval $ac_try) 2>&5
15572 ac_status=$?
15573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15574 (exit $ac_status); }; } &&
15575 { ac_try='test -s conftest.$ac_objext'
15576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15577 (eval $ac_try) 2>&5
15578 ac_status=$?
15579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15580 (exit $ac_status); }; }; then
15581 echo "$as_me:$LINENO: result: yes" >&5
15582 echo "${ECHO_T}yes" >&6
15583 else
15584 echo "$as_me: failed program was:" >&5
15585 sed 's/^/| /' conftest.$ac_ext >&5
15586
15587 echo "$as_me:$LINENO: result: no" >&5
15588 echo "${ECHO_T}no" >&6
15589 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15590 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15591 cat >conftest.$ac_ext <<_ACEOF
15592 /* confdefs.h. */
15593 _ACEOF
15594 cat confdefs.h >>conftest.$ac_ext
15595 cat >>conftest.$ac_ext <<_ACEOF
15596 /* end confdefs.h. */
15597 #define __CF_USE_FRAMEWORK_INCLUDES__
15598 #include <CoreFoundation/CFBase.h>
15599
15600 int
15601 main ()
15602 {
15603
15604 ;
15605 return 0;
15606 }
15607 _ACEOF
15608 rm -f conftest.$ac_objext
15609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15610 (eval $ac_compile) 2>conftest.er1
15611 ac_status=$?
15612 grep -v '^ *+' conftest.er1 >conftest.err
15613 rm -f conftest.er1
15614 cat conftest.err >&5
15615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15616 (exit $ac_status); } &&
15617 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15619 (eval $ac_try) 2>&5
15620 ac_status=$?
15621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15622 (exit $ac_status); }; } &&
15623 { ac_try='test -s conftest.$ac_objext'
15624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15625 (eval $ac_try) 2>&5
15626 ac_status=$?
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); }; }; then
15629 echo "$as_me:$LINENO: result: yes" >&5
15630 echo "${ECHO_T}yes" >&6
15631 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15632 else
15633 echo "$as_me: failed program was:" >&5
15634 sed 's/^/| /' conftest.$ac_ext >&5
15635
15636 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15637 See \`config.log' for more details." >&5
15638 echo "$as_me: error: no. CoreFoundation not available.
15639 See \`config.log' for more details." >&2;}
15640 { (exit 1); exit 1; }; }
15641
15642 fi
15643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15644
15645
15646 fi
15647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15648 ;;
15649 esac
15650
15651 case "${host}" in
15652 *-pc-os2_emx | *-pc-os2-emx )
15653 ac_ext=c
15654 ac_cpp='$CPP $CPPFLAGS'
15655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15658
15659 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15660 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15661 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15662 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15663 echo $ECHO_N "(cached) $ECHO_C" >&6
15664 else
15665 ac_check_lib_save_LIBS=$LIBS
15666 LIBS="-lcExt $LIBS"
15667 cat >conftest.$ac_ext <<_ACEOF
15668 /* confdefs.h. */
15669 _ACEOF
15670 cat confdefs.h >>conftest.$ac_ext
15671 cat >>conftest.$ac_ext <<_ACEOF
15672 /* end confdefs.h. */
15673
15674 /* Override any gcc2 internal prototype to avoid an error. */
15675 #ifdef __cplusplus
15676 extern "C"
15677 #endif
15678 /* We use char because int might match the return type of a gcc2
15679 builtin and then its argument prototype would still apply. */
15680 char drand48 ();
15681 int
15682 main ()
15683 {
15684 drand48 ();
15685 ;
15686 return 0;
15687 }
15688 _ACEOF
15689 rm -f conftest.$ac_objext conftest$ac_exeext
15690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15691 (eval $ac_link) 2>conftest.er1
15692 ac_status=$?
15693 grep -v '^ *+' conftest.er1 >conftest.err
15694 rm -f conftest.er1
15695 cat conftest.err >&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); } &&
15698 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15700 (eval $ac_try) 2>&5
15701 ac_status=$?
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); }; } &&
15704 { ac_try='test -s conftest$ac_exeext'
15705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15706 (eval $ac_try) 2>&5
15707 ac_status=$?
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); }; }; then
15710 ac_cv_lib_cExt_drand48=yes
15711 else
15712 echo "$as_me: failed program was:" >&5
15713 sed 's/^/| /' conftest.$ac_ext >&5
15714
15715 ac_cv_lib_cExt_drand48=no
15716 fi
15717 rm -f conftest.err conftest.$ac_objext \
15718 conftest$ac_exeext conftest.$ac_ext
15719 LIBS=$ac_check_lib_save_LIBS
15720 fi
15721 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15722 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15723 if test $ac_cv_lib_cExt_drand48 = yes; then
15724 LIBS="$LIBS -lcExt"
15725 fi
15726
15727 else
15728 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15729 fi
15730 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15731 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15732 if test "${wx_cv_gccversion+set}" = set; then
15733 echo $ECHO_N "(cached) $ECHO_C" >&6
15734 else
15735
15736 if test "$cross_compiling" = yes; then
15737 wx_cv_gccversion="EMX2"
15738
15739 else
15740 cat >conftest.$ac_ext <<_ACEOF
15741 /* confdefs.h. */
15742 _ACEOF
15743 cat confdefs.h >>conftest.$ac_ext
15744 cat >>conftest.$ac_ext <<_ACEOF
15745 /* end confdefs.h. */
15746
15747 #include <stdio.h>
15748
15749 int main()
15750 {
15751 FILE *f=fopen("conftestval", "w");
15752 if (!f) exit(1);
15753 fprintf(f,
15754 #if (__GNUC__ < 3)
15755 "EMX2"
15756 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15757 "EMX3"
15758 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15759 "Innotek5"
15760 #else
15761 "Innotek6"
15762 #endif
15763 );
15764 exit(0);
15765 }
15766
15767 _ACEOF
15768 rm -f conftest$ac_exeext
15769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15770 (eval $ac_link) 2>&5
15771 ac_status=$?
15772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15773 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15775 (eval $ac_try) 2>&5
15776 ac_status=$?
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); }; }; then
15779 wx_cv_gccversion=`cat conftestval`
15780 else
15781 echo "$as_me: program exited with status $ac_status" >&5
15782 echo "$as_me: failed program was:" >&5
15783 sed 's/^/| /' conftest.$ac_ext >&5
15784
15785 ( exit $ac_status )
15786 wx_cv_gccversion="EMX2"
15787 fi
15788 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15789 fi
15790
15791 fi
15792 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15793 echo "${ECHO_T}$wx_cv_gccversion" >&6
15794 ac_ext=cc
15795 ac_cpp='$CXXCPP $CPPFLAGS'
15796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15799
15800 if test "$wx_cv_gccversion" = "EMX2"; then
15801 LIBS="$LIBS -lstdcpp"
15802 LDFLAGS="$LDFLAGS -Zsysv-signals"
15803 else
15804 if test "$wx_cv_gccversion" = "EMX3"; then
15805 LIBS="$LIBS -lstdcxx -lgcc"
15806 LDFLAGS="$LDFLAGS -Zsysv-signals"
15807 else
15808 LIBS="$LIBS -lstdc++"
15809 fi
15810 fi
15811 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15812 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15813 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15814 wxUSE_OMF=yes
15815 enable_omf=yes
15816 fi
15817 ;;
15818 *)
15819
15820 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15821 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15822 if test "${ac_cv_string_strcasecmp+set}" = set; then
15823 echo $ECHO_N "(cached) $ECHO_C" >&6
15824 else
15825
15826 cat >conftest.$ac_ext <<_ACEOF
15827 /* confdefs.h. */
15828 _ACEOF
15829 cat confdefs.h >>conftest.$ac_ext
15830 cat >>conftest.$ac_ext <<_ACEOF
15831 /* end confdefs.h. */
15832
15833 #include <string.h>
15834
15835 int
15836 main ()
15837 {
15838
15839 strcasecmp("foo", "bar");
15840
15841 ;
15842 return 0;
15843 }
15844 _ACEOF
15845 rm -f conftest.$ac_objext conftest$ac_exeext
15846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15847 (eval $ac_link) 2>conftest.er1
15848 ac_status=$?
15849 grep -v '^ *+' conftest.er1 >conftest.err
15850 rm -f conftest.er1
15851 cat conftest.err >&5
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); } &&
15854 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15856 (eval $ac_try) 2>&5
15857 ac_status=$?
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); }; } &&
15860 { ac_try='test -s conftest$ac_exeext'
15861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15862 (eval $ac_try) 2>&5
15863 ac_status=$?
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); }; }; then
15866 ac_cv_string_strcasecmp=yes
15867 else
15868 echo "$as_me: failed program was:" >&5
15869 sed 's/^/| /' conftest.$ac_ext >&5
15870
15871 ac_cv_string_strcasecmp=no
15872
15873 fi
15874 rm -f conftest.err conftest.$ac_objext \
15875 conftest$ac_exeext conftest.$ac_ext
15876
15877 fi
15878 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15879 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15880
15881 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
15882 cat >>confdefs.h <<\_ACEOF
15883 #define HAVE_STRCASECMP_IN_STRING_H 1
15884 _ACEOF
15885
15886 else
15887 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15888 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15889 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15890 echo $ECHO_N "(cached) $ECHO_C" >&6
15891 else
15892
15893 cat >conftest.$ac_ext <<_ACEOF
15894 /* confdefs.h. */
15895 _ACEOF
15896 cat confdefs.h >>conftest.$ac_ext
15897 cat >>conftest.$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15899
15900 #include <strings.h>
15901
15902 int
15903 main ()
15904 {
15905
15906 strcasecmp("foo", "bar");
15907
15908 ;
15909 return 0;
15910 }
15911 _ACEOF
15912 rm -f conftest.$ac_objext conftest$ac_exeext
15913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15914 (eval $ac_link) 2>conftest.er1
15915 ac_status=$?
15916 grep -v '^ *+' conftest.er1 >conftest.err
15917 rm -f conftest.er1
15918 cat conftest.err >&5
15919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920 (exit $ac_status); } &&
15921 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15923 (eval $ac_try) 2>&5
15924 ac_status=$?
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); }; } &&
15927 { ac_try='test -s conftest$ac_exeext'
15928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15929 (eval $ac_try) 2>&5
15930 ac_status=$?
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); }; }; then
15933 ac_cv_strings_strcasecmp=yes
15934 else
15935 echo "$as_me: failed program was:" >&5
15936 sed 's/^/| /' conftest.$ac_ext >&5
15937
15938 ac_cv_strings_strcasecmp=no
15939
15940 fi
15941 rm -f conftest.err conftest.$ac_objext \
15942 conftest$ac_exeext conftest.$ac_ext
15943
15944 fi
15945 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15946 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15947
15948 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
15949 cat >>confdefs.h <<\_ACEOF
15950 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15951 _ACEOF
15952
15953 else
15954 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15955 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15956 { (exit 1); exit 1; }; }
15957 fi
15958 fi
15959
15960 ;;
15961 esac
15962
15963
15964 ac_ext=cc
15965 ac_cpp='$CXXCPP $CPPFLAGS'
15966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15969 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15970 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15971 if test -z "$CXXCPP"; then
15972 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15973 echo $ECHO_N "(cached) $ECHO_C" >&6
15974 else
15975 # Double quotes because CXXCPP needs to be expanded
15976 for CXXCPP in "$CXX -E" "/lib/cpp"
15977 do
15978 ac_preproc_ok=false
15979 for ac_cxx_preproc_warn_flag in '' yes
15980 do
15981 # Use a header file that comes with gcc, so configuring glibc
15982 # with a fresh cross-compiler works.
15983 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15984 # <limits.h> exists even on freestanding compilers.
15985 # On the NeXT, cc -E runs the code through the compiler's parser,
15986 # not just through cpp. "Syntax error" is here to catch this case.
15987 cat >conftest.$ac_ext <<_ACEOF
15988 /* confdefs.h. */
15989 _ACEOF
15990 cat confdefs.h >>conftest.$ac_ext
15991 cat >>conftest.$ac_ext <<_ACEOF
15992 /* end confdefs.h. */
15993 #ifdef __STDC__
15994 # include <limits.h>
15995 #else
15996 # include <assert.h>
15997 #endif
15998 Syntax error
15999 _ACEOF
16000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16001 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16002 ac_status=$?
16003 grep -v '^ *+' conftest.er1 >conftest.err
16004 rm -f conftest.er1
16005 cat conftest.err >&5
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); } >/dev/null; then
16008 if test -s conftest.err; then
16009 ac_cpp_err=$ac_cxx_preproc_warn_flag
16010 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16011 else
16012 ac_cpp_err=
16013 fi
16014 else
16015 ac_cpp_err=yes
16016 fi
16017 if test -z "$ac_cpp_err"; then
16018 :
16019 else
16020 echo "$as_me: failed program was:" >&5
16021 sed 's/^/| /' conftest.$ac_ext >&5
16022
16023 # Broken: fails on valid input.
16024 continue
16025 fi
16026 rm -f conftest.err conftest.$ac_ext
16027
16028 # OK, works on sane cases. Now check whether non-existent headers
16029 # can be detected and how.
16030 cat >conftest.$ac_ext <<_ACEOF
16031 /* confdefs.h. */
16032 _ACEOF
16033 cat confdefs.h >>conftest.$ac_ext
16034 cat >>conftest.$ac_ext <<_ACEOF
16035 /* end confdefs.h. */
16036 #include <ac_nonexistent.h>
16037 _ACEOF
16038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16040 ac_status=$?
16041 grep -v '^ *+' conftest.er1 >conftest.err
16042 rm -f conftest.er1
16043 cat conftest.err >&5
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); } >/dev/null; then
16046 if test -s conftest.err; then
16047 ac_cpp_err=$ac_cxx_preproc_warn_flag
16048 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16049 else
16050 ac_cpp_err=
16051 fi
16052 else
16053 ac_cpp_err=yes
16054 fi
16055 if test -z "$ac_cpp_err"; then
16056 # Broken: success on invalid input.
16057 continue
16058 else
16059 echo "$as_me: failed program was:" >&5
16060 sed 's/^/| /' conftest.$ac_ext >&5
16061
16062 # Passes both tests.
16063 ac_preproc_ok=:
16064 break
16065 fi
16066 rm -f conftest.err conftest.$ac_ext
16067
16068 done
16069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16070 rm -f conftest.err conftest.$ac_ext
16071 if $ac_preproc_ok; then
16072 break
16073 fi
16074
16075 done
16076 ac_cv_prog_CXXCPP=$CXXCPP
16077
16078 fi
16079 CXXCPP=$ac_cv_prog_CXXCPP
16080 else
16081 ac_cv_prog_CXXCPP=$CXXCPP
16082 fi
16083 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16084 echo "${ECHO_T}$CXXCPP" >&6
16085 ac_preproc_ok=false
16086 for ac_cxx_preproc_warn_flag in '' yes
16087 do
16088 # Use a header file that comes with gcc, so configuring glibc
16089 # with a fresh cross-compiler works.
16090 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16091 # <limits.h> exists even on freestanding compilers.
16092 # On the NeXT, cc -E runs the code through the compiler's parser,
16093 # not just through cpp. "Syntax error" is here to catch this case.
16094 cat >conftest.$ac_ext <<_ACEOF
16095 /* confdefs.h. */
16096 _ACEOF
16097 cat confdefs.h >>conftest.$ac_ext
16098 cat >>conftest.$ac_ext <<_ACEOF
16099 /* end confdefs.h. */
16100 #ifdef __STDC__
16101 # include <limits.h>
16102 #else
16103 # include <assert.h>
16104 #endif
16105 Syntax error
16106 _ACEOF
16107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16109 ac_status=$?
16110 grep -v '^ *+' conftest.er1 >conftest.err
16111 rm -f conftest.er1
16112 cat conftest.err >&5
16113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114 (exit $ac_status); } >/dev/null; then
16115 if test -s conftest.err; then
16116 ac_cpp_err=$ac_cxx_preproc_warn_flag
16117 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16118 else
16119 ac_cpp_err=
16120 fi
16121 else
16122 ac_cpp_err=yes
16123 fi
16124 if test -z "$ac_cpp_err"; then
16125 :
16126 else
16127 echo "$as_me: failed program was:" >&5
16128 sed 's/^/| /' conftest.$ac_ext >&5
16129
16130 # Broken: fails on valid input.
16131 continue
16132 fi
16133 rm -f conftest.err conftest.$ac_ext
16134
16135 # OK, works on sane cases. Now check whether non-existent headers
16136 # can be detected and how.
16137 cat >conftest.$ac_ext <<_ACEOF
16138 /* confdefs.h. */
16139 _ACEOF
16140 cat confdefs.h >>conftest.$ac_ext
16141 cat >>conftest.$ac_ext <<_ACEOF
16142 /* end confdefs.h. */
16143 #include <ac_nonexistent.h>
16144 _ACEOF
16145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16146 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16147 ac_status=$?
16148 grep -v '^ *+' conftest.er1 >conftest.err
16149 rm -f conftest.er1
16150 cat conftest.err >&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); } >/dev/null; then
16153 if test -s conftest.err; then
16154 ac_cpp_err=$ac_cxx_preproc_warn_flag
16155 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16156 else
16157 ac_cpp_err=
16158 fi
16159 else
16160 ac_cpp_err=yes
16161 fi
16162 if test -z "$ac_cpp_err"; then
16163 # Broken: success on invalid input.
16164 continue
16165 else
16166 echo "$as_me: failed program was:" >&5
16167 sed 's/^/| /' conftest.$ac_ext >&5
16168
16169 # Passes both tests.
16170 ac_preproc_ok=:
16171 break
16172 fi
16173 rm -f conftest.err conftest.$ac_ext
16174
16175 done
16176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16177 rm -f conftest.err conftest.$ac_ext
16178 if $ac_preproc_ok; then
16179 :
16180 else
16181 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16182 See \`config.log' for more details." >&5
16183 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16184 See \`config.log' for more details." >&2;}
16185 { (exit 1); exit 1; }; }
16186 fi
16187
16188 ac_ext=cc
16189 ac_cpp='$CXXCPP $CPPFLAGS'
16190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16193
16194
16195 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16196 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16197 if test "${ac_cv_header_stdc+set}" = set; then
16198 echo $ECHO_N "(cached) $ECHO_C" >&6
16199 else
16200 cat >conftest.$ac_ext <<_ACEOF
16201 /* confdefs.h. */
16202 _ACEOF
16203 cat confdefs.h >>conftest.$ac_ext
16204 cat >>conftest.$ac_ext <<_ACEOF
16205 /* end confdefs.h. */
16206 #include <stdlib.h>
16207 #include <stdarg.h>
16208 #include <string.h>
16209 #include <float.h>
16210
16211 int
16212 main ()
16213 {
16214
16215 ;
16216 return 0;
16217 }
16218 _ACEOF
16219 rm -f conftest.$ac_objext
16220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16221 (eval $ac_compile) 2>conftest.er1
16222 ac_status=$?
16223 grep -v '^ *+' conftest.er1 >conftest.err
16224 rm -f conftest.er1
16225 cat conftest.err >&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); } &&
16228 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16230 (eval $ac_try) 2>&5
16231 ac_status=$?
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); }; } &&
16234 { ac_try='test -s conftest.$ac_objext'
16235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16236 (eval $ac_try) 2>&5
16237 ac_status=$?
16238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16239 (exit $ac_status); }; }; then
16240 ac_cv_header_stdc=yes
16241 else
16242 echo "$as_me: failed program was:" >&5
16243 sed 's/^/| /' conftest.$ac_ext >&5
16244
16245 ac_cv_header_stdc=no
16246 fi
16247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16248
16249 if test $ac_cv_header_stdc = yes; then
16250 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16251 cat >conftest.$ac_ext <<_ACEOF
16252 /* confdefs.h. */
16253 _ACEOF
16254 cat confdefs.h >>conftest.$ac_ext
16255 cat >>conftest.$ac_ext <<_ACEOF
16256 /* end confdefs.h. */
16257 #include <string.h>
16258
16259 _ACEOF
16260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16261 $EGREP "memchr" >/dev/null 2>&1; then
16262 :
16263 else
16264 ac_cv_header_stdc=no
16265 fi
16266 rm -f conftest*
16267
16268 fi
16269
16270 if test $ac_cv_header_stdc = yes; then
16271 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16272 cat >conftest.$ac_ext <<_ACEOF
16273 /* confdefs.h. */
16274 _ACEOF
16275 cat confdefs.h >>conftest.$ac_ext
16276 cat >>conftest.$ac_ext <<_ACEOF
16277 /* end confdefs.h. */
16278 #include <stdlib.h>
16279
16280 _ACEOF
16281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16282 $EGREP "free" >/dev/null 2>&1; then
16283 :
16284 else
16285 ac_cv_header_stdc=no
16286 fi
16287 rm -f conftest*
16288
16289 fi
16290
16291 if test $ac_cv_header_stdc = yes; then
16292 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16293 if test "$cross_compiling" = yes; then
16294 :
16295 else
16296 cat >conftest.$ac_ext <<_ACEOF
16297 /* confdefs.h. */
16298 _ACEOF
16299 cat confdefs.h >>conftest.$ac_ext
16300 cat >>conftest.$ac_ext <<_ACEOF
16301 /* end confdefs.h. */
16302 #include <ctype.h>
16303 #if ((' ' & 0x0FF) == 0x020)
16304 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16305 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16306 #else
16307 # define ISLOWER(c) \
16308 (('a' <= (c) && (c) <= 'i') \
16309 || ('j' <= (c) && (c) <= 'r') \
16310 || ('s' <= (c) && (c) <= 'z'))
16311 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16312 #endif
16313
16314 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16315 int
16316 main ()
16317 {
16318 int i;
16319 for (i = 0; i < 256; i++)
16320 if (XOR (islower (i), ISLOWER (i))
16321 || toupper (i) != TOUPPER (i))
16322 exit(2);
16323 exit (0);
16324 }
16325 _ACEOF
16326 rm -f conftest$ac_exeext
16327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16328 (eval $ac_link) 2>&5
16329 ac_status=$?
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16333 (eval $ac_try) 2>&5
16334 ac_status=$?
16335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16336 (exit $ac_status); }; }; then
16337 :
16338 else
16339 echo "$as_me: program exited with status $ac_status" >&5
16340 echo "$as_me: failed program was:" >&5
16341 sed 's/^/| /' conftest.$ac_ext >&5
16342
16343 ( exit $ac_status )
16344 ac_cv_header_stdc=no
16345 fi
16346 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16347 fi
16348 fi
16349 fi
16350 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16351 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16352 if test $ac_cv_header_stdc = yes; then
16353
16354 cat >>confdefs.h <<\_ACEOF
16355 #define STDC_HEADERS 1
16356 _ACEOF
16357
16358 fi
16359
16360 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16371 inttypes.h stdint.h unistd.h
16372 do
16373 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16374 echo "$as_me:$LINENO: checking for $ac_header" >&5
16375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16377 echo $ECHO_N "(cached) $ECHO_C" >&6
16378 else
16379 cat >conftest.$ac_ext <<_ACEOF
16380 /* confdefs.h. */
16381 _ACEOF
16382 cat confdefs.h >>conftest.$ac_ext
16383 cat >>conftest.$ac_ext <<_ACEOF
16384 /* end confdefs.h. */
16385 $ac_includes_default
16386
16387 #include <$ac_header>
16388 _ACEOF
16389 rm -f conftest.$ac_objext
16390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16391 (eval $ac_compile) 2>conftest.er1
16392 ac_status=$?
16393 grep -v '^ *+' conftest.er1 >conftest.err
16394 rm -f conftest.er1
16395 cat conftest.err >&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); } &&
16398 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16400 (eval $ac_try) 2>&5
16401 ac_status=$?
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); }; } &&
16404 { ac_try='test -s conftest.$ac_objext'
16405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16406 (eval $ac_try) 2>&5
16407 ac_status=$?
16408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); }; }; then
16410 eval "$as_ac_Header=yes"
16411 else
16412 echo "$as_me: failed program was:" >&5
16413 sed 's/^/| /' conftest.$ac_ext >&5
16414
16415 eval "$as_ac_Header=no"
16416 fi
16417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16418 fi
16419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16422 cat >>confdefs.h <<_ACEOF
16423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16424 _ACEOF
16425
16426 fi
16427
16428 done
16429
16430
16431
16432 for ac_header in stdlib.h
16433 do
16434 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16436 echo "$as_me:$LINENO: checking for $ac_header" >&5
16437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16439 echo $ECHO_N "(cached) $ECHO_C" >&6
16440 fi
16441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16442 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16443 else
16444 # Is the header compilable?
16445 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16446 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16447 cat >conftest.$ac_ext <<_ACEOF
16448 /* confdefs.h. */
16449 _ACEOF
16450 cat confdefs.h >>conftest.$ac_ext
16451 cat >>conftest.$ac_ext <<_ACEOF
16452 /* end confdefs.h. */
16453 $ac_includes_default
16454 #include <$ac_header>
16455 _ACEOF
16456 rm -f conftest.$ac_objext
16457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16458 (eval $ac_compile) 2>conftest.er1
16459 ac_status=$?
16460 grep -v '^ *+' conftest.er1 >conftest.err
16461 rm -f conftest.er1
16462 cat conftest.err >&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); } &&
16465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16467 (eval $ac_try) 2>&5
16468 ac_status=$?
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); }; } &&
16471 { ac_try='test -s conftest.$ac_objext'
16472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16473 (eval $ac_try) 2>&5
16474 ac_status=$?
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); }; }; then
16477 ac_header_compiler=yes
16478 else
16479 echo "$as_me: failed program was:" >&5
16480 sed 's/^/| /' conftest.$ac_ext >&5
16481
16482 ac_header_compiler=no
16483 fi
16484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16486 echo "${ECHO_T}$ac_header_compiler" >&6
16487
16488 # Is the header present?
16489 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16490 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16491 cat >conftest.$ac_ext <<_ACEOF
16492 /* confdefs.h. */
16493 _ACEOF
16494 cat confdefs.h >>conftest.$ac_ext
16495 cat >>conftest.$ac_ext <<_ACEOF
16496 /* end confdefs.h. */
16497 #include <$ac_header>
16498 _ACEOF
16499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16500 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16501 ac_status=$?
16502 grep -v '^ *+' conftest.er1 >conftest.err
16503 rm -f conftest.er1
16504 cat conftest.err >&5
16505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16506 (exit $ac_status); } >/dev/null; then
16507 if test -s conftest.err; then
16508 ac_cpp_err=$ac_cxx_preproc_warn_flag
16509 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16510 else
16511 ac_cpp_err=
16512 fi
16513 else
16514 ac_cpp_err=yes
16515 fi
16516 if test -z "$ac_cpp_err"; then
16517 ac_header_preproc=yes
16518 else
16519 echo "$as_me: failed program was:" >&5
16520 sed 's/^/| /' conftest.$ac_ext >&5
16521
16522 ac_header_preproc=no
16523 fi
16524 rm -f conftest.err conftest.$ac_ext
16525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16526 echo "${ECHO_T}$ac_header_preproc" >&6
16527
16528 # So? What about this header?
16529 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16530 yes:no: )
16531 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16532 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16533 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16534 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16535 ac_header_preproc=yes
16536 ;;
16537 no:yes:* )
16538 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16539 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16540 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16541 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16542 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16543 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16544 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16545 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16547 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16548 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16549 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16550 (
16551 cat <<\_ASBOX
16552 ## ----------------------------------------- ##
16553 ## Report this to wx-dev@lists.wxwidgets.org ##
16554 ## ----------------------------------------- ##
16555 _ASBOX
16556 ) |
16557 sed "s/^/$as_me: WARNING: /" >&2
16558 ;;
16559 esac
16560 echo "$as_me:$LINENO: checking for $ac_header" >&5
16561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16563 echo $ECHO_N "(cached) $ECHO_C" >&6
16564 else
16565 eval "$as_ac_Header=\$ac_header_preproc"
16566 fi
16567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16569
16570 fi
16571 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16572 cat >>confdefs.h <<_ACEOF
16573 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16574 _ACEOF
16575
16576 fi
16577
16578 done
16579
16580
16581 for ac_header in malloc.h
16582 do
16583 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16585 echo "$as_me:$LINENO: checking for $ac_header" >&5
16586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16588 echo $ECHO_N "(cached) $ECHO_C" >&6
16589 fi
16590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16592 else
16593 # Is the header compilable?
16594 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16595 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16596 cat >conftest.$ac_ext <<_ACEOF
16597 /* confdefs.h. */
16598 _ACEOF
16599 cat confdefs.h >>conftest.$ac_ext
16600 cat >>conftest.$ac_ext <<_ACEOF
16601 /* end confdefs.h. */
16602 $ac_includes_default
16603 #include <$ac_header>
16604 _ACEOF
16605 rm -f conftest.$ac_objext
16606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16607 (eval $ac_compile) 2>conftest.er1
16608 ac_status=$?
16609 grep -v '^ *+' conftest.er1 >conftest.err
16610 rm -f conftest.er1
16611 cat conftest.err >&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); } &&
16614 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616 (eval $ac_try) 2>&5
16617 ac_status=$?
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; } &&
16620 { ac_try='test -s conftest.$ac_objext'
16621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16622 (eval $ac_try) 2>&5
16623 ac_status=$?
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); }; }; then
16626 ac_header_compiler=yes
16627 else
16628 echo "$as_me: failed program was:" >&5
16629 sed 's/^/| /' conftest.$ac_ext >&5
16630
16631 ac_header_compiler=no
16632 fi
16633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16634 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16635 echo "${ECHO_T}$ac_header_compiler" >&6
16636
16637 # Is the header present?
16638 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16639 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16640 cat >conftest.$ac_ext <<_ACEOF
16641 /* confdefs.h. */
16642 _ACEOF
16643 cat confdefs.h >>conftest.$ac_ext
16644 cat >>conftest.$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16646 #include <$ac_header>
16647 _ACEOF
16648 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16649 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16650 ac_status=$?
16651 grep -v '^ *+' conftest.er1 >conftest.err
16652 rm -f conftest.er1
16653 cat conftest.err >&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); } >/dev/null; then
16656 if test -s conftest.err; then
16657 ac_cpp_err=$ac_cxx_preproc_warn_flag
16658 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16659 else
16660 ac_cpp_err=
16661 fi
16662 else
16663 ac_cpp_err=yes
16664 fi
16665 if test -z "$ac_cpp_err"; then
16666 ac_header_preproc=yes
16667 else
16668 echo "$as_me: failed program was:" >&5
16669 sed 's/^/| /' conftest.$ac_ext >&5
16670
16671 ac_header_preproc=no
16672 fi
16673 rm -f conftest.err conftest.$ac_ext
16674 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16675 echo "${ECHO_T}$ac_header_preproc" >&6
16676
16677 # So? What about this header?
16678 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16679 yes:no: )
16680 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16681 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16683 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16684 ac_header_preproc=yes
16685 ;;
16686 no:yes:* )
16687 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16688 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16689 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16690 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16691 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16692 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16693 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16694 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16696 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16697 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16698 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16699 (
16700 cat <<\_ASBOX
16701 ## ----------------------------------------- ##
16702 ## Report this to wx-dev@lists.wxwidgets.org ##
16703 ## ----------------------------------------- ##
16704 _ASBOX
16705 ) |
16706 sed "s/^/$as_me: WARNING: /" >&2
16707 ;;
16708 esac
16709 echo "$as_me:$LINENO: checking for $ac_header" >&5
16710 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16711 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16712 echo $ECHO_N "(cached) $ECHO_C" >&6
16713 else
16714 eval "$as_ac_Header=\$ac_header_preproc"
16715 fi
16716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16717 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16718
16719 fi
16720 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16721 cat >>confdefs.h <<_ACEOF
16722 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16723 _ACEOF
16724
16725 fi
16726
16727 done
16728
16729
16730 for ac_header in unistd.h
16731 do
16732 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16734 echo "$as_me:$LINENO: checking for $ac_header" >&5
16735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16737 echo $ECHO_N "(cached) $ECHO_C" >&6
16738 fi
16739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16741 else
16742 # Is the header compilable?
16743 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16745 cat >conftest.$ac_ext <<_ACEOF
16746 /* confdefs.h. */
16747 _ACEOF
16748 cat confdefs.h >>conftest.$ac_ext
16749 cat >>conftest.$ac_ext <<_ACEOF
16750 /* end confdefs.h. */
16751 $ac_includes_default
16752 #include <$ac_header>
16753 _ACEOF
16754 rm -f conftest.$ac_objext
16755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16756 (eval $ac_compile) 2>conftest.er1
16757 ac_status=$?
16758 grep -v '^ *+' conftest.er1 >conftest.err
16759 rm -f conftest.er1
16760 cat conftest.err >&5
16761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16762 (exit $ac_status); } &&
16763 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16765 (eval $ac_try) 2>&5
16766 ac_status=$?
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); }; } &&
16769 { ac_try='test -s conftest.$ac_objext'
16770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16771 (eval $ac_try) 2>&5
16772 ac_status=$?
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); }; }; then
16775 ac_header_compiler=yes
16776 else
16777 echo "$as_me: failed program was:" >&5
16778 sed 's/^/| /' conftest.$ac_ext >&5
16779
16780 ac_header_compiler=no
16781 fi
16782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16784 echo "${ECHO_T}$ac_header_compiler" >&6
16785
16786 # Is the header present?
16787 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16788 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16789 cat >conftest.$ac_ext <<_ACEOF
16790 /* confdefs.h. */
16791 _ACEOF
16792 cat confdefs.h >>conftest.$ac_ext
16793 cat >>conftest.$ac_ext <<_ACEOF
16794 /* end confdefs.h. */
16795 #include <$ac_header>
16796 _ACEOF
16797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16798 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16799 ac_status=$?
16800 grep -v '^ *+' conftest.er1 >conftest.err
16801 rm -f conftest.er1
16802 cat conftest.err >&5
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); } >/dev/null; then
16805 if test -s conftest.err; then
16806 ac_cpp_err=$ac_cxx_preproc_warn_flag
16807 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16808 else
16809 ac_cpp_err=
16810 fi
16811 else
16812 ac_cpp_err=yes
16813 fi
16814 if test -z "$ac_cpp_err"; then
16815 ac_header_preproc=yes
16816 else
16817 echo "$as_me: failed program was:" >&5
16818 sed 's/^/| /' conftest.$ac_ext >&5
16819
16820 ac_header_preproc=no
16821 fi
16822 rm -f conftest.err conftest.$ac_ext
16823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16824 echo "${ECHO_T}$ac_header_preproc" >&6
16825
16826 # So? What about this header?
16827 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16828 yes:no: )
16829 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16830 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16832 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16833 ac_header_preproc=yes
16834 ;;
16835 no:yes:* )
16836 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16837 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16838 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16839 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16840 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16841 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16842 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16843 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16844 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16845 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16846 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16847 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16848 (
16849 cat <<\_ASBOX
16850 ## ----------------------------------------- ##
16851 ## Report this to wx-dev@lists.wxwidgets.org ##
16852 ## ----------------------------------------- ##
16853 _ASBOX
16854 ) |
16855 sed "s/^/$as_me: WARNING: /" >&2
16856 ;;
16857 esac
16858 echo "$as_me:$LINENO: checking for $ac_header" >&5
16859 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16861 echo $ECHO_N "(cached) $ECHO_C" >&6
16862 else
16863 eval "$as_ac_Header=\$ac_header_preproc"
16864 fi
16865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16867
16868 fi
16869 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16870 cat >>confdefs.h <<_ACEOF
16871 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16872 _ACEOF
16873
16874 fi
16875
16876 done
16877
16878
16879 for ac_header in wchar.h
16880 do
16881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16883 echo "$as_me:$LINENO: checking for $ac_header" >&5
16884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16886 echo $ECHO_N "(cached) $ECHO_C" >&6
16887 fi
16888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16889 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16890 else
16891 # Is the header compilable?
16892 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16893 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16894 cat >conftest.$ac_ext <<_ACEOF
16895 /* confdefs.h. */
16896 _ACEOF
16897 cat confdefs.h >>conftest.$ac_ext
16898 cat >>conftest.$ac_ext <<_ACEOF
16899 /* end confdefs.h. */
16900 $ac_includes_default
16901 #include <$ac_header>
16902 _ACEOF
16903 rm -f conftest.$ac_objext
16904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16905 (eval $ac_compile) 2>conftest.er1
16906 ac_status=$?
16907 grep -v '^ *+' conftest.er1 >conftest.err
16908 rm -f conftest.er1
16909 cat conftest.err >&5
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); } &&
16912 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16914 (eval $ac_try) 2>&5
16915 ac_status=$?
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); }; } &&
16918 { ac_try='test -s conftest.$ac_objext'
16919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16920 (eval $ac_try) 2>&5
16921 ac_status=$?
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); }; }; then
16924 ac_header_compiler=yes
16925 else
16926 echo "$as_me: failed program was:" >&5
16927 sed 's/^/| /' conftest.$ac_ext >&5
16928
16929 ac_header_compiler=no
16930 fi
16931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16932 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16933 echo "${ECHO_T}$ac_header_compiler" >&6
16934
16935 # Is the header present?
16936 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16937 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16938 cat >conftest.$ac_ext <<_ACEOF
16939 /* confdefs.h. */
16940 _ACEOF
16941 cat confdefs.h >>conftest.$ac_ext
16942 cat >>conftest.$ac_ext <<_ACEOF
16943 /* end confdefs.h. */
16944 #include <$ac_header>
16945 _ACEOF
16946 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16947 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16948 ac_status=$?
16949 grep -v '^ *+' conftest.er1 >conftest.err
16950 rm -f conftest.er1
16951 cat conftest.err >&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } >/dev/null; then
16954 if test -s conftest.err; then
16955 ac_cpp_err=$ac_cxx_preproc_warn_flag
16956 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16957 else
16958 ac_cpp_err=
16959 fi
16960 else
16961 ac_cpp_err=yes
16962 fi
16963 if test -z "$ac_cpp_err"; then
16964 ac_header_preproc=yes
16965 else
16966 echo "$as_me: failed program was:" >&5
16967 sed 's/^/| /' conftest.$ac_ext >&5
16968
16969 ac_header_preproc=no
16970 fi
16971 rm -f conftest.err conftest.$ac_ext
16972 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16973 echo "${ECHO_T}$ac_header_preproc" >&6
16974
16975 # So? What about this header?
16976 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16977 yes:no: )
16978 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16979 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16981 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16982 ac_header_preproc=yes
16983 ;;
16984 no:yes:* )
16985 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16986 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16987 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16988 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16989 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16990 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16991 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16992 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16993 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16994 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16995 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16996 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16997 (
16998 cat <<\_ASBOX
16999 ## ----------------------------------------- ##
17000 ## Report this to wx-dev@lists.wxwidgets.org ##
17001 ## ----------------------------------------- ##
17002 _ASBOX
17003 ) |
17004 sed "s/^/$as_me: WARNING: /" >&2
17005 ;;
17006 esac
17007 echo "$as_me:$LINENO: checking for $ac_header" >&5
17008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17010 echo $ECHO_N "(cached) $ECHO_C" >&6
17011 else
17012 eval "$as_ac_Header=\$ac_header_preproc"
17013 fi
17014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17016
17017 fi
17018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17019 cat >>confdefs.h <<_ACEOF
17020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17021 _ACEOF
17022
17023 fi
17024
17025 done
17026
17027
17028 if test "$ac_cv_header_wchar_h" != "yes"; then
17029
17030 for ac_header in wcstr.h
17031 do
17032 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17034 echo "$as_me:$LINENO: checking for $ac_header" >&5
17035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17037 echo $ECHO_N "(cached) $ECHO_C" >&6
17038 fi
17039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17041 else
17042 # Is the header compilable?
17043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17045 cat >conftest.$ac_ext <<_ACEOF
17046 /* confdefs.h. */
17047 _ACEOF
17048 cat confdefs.h >>conftest.$ac_ext
17049 cat >>conftest.$ac_ext <<_ACEOF
17050 /* end confdefs.h. */
17051 $ac_includes_default
17052 #include <$ac_header>
17053 _ACEOF
17054 rm -f conftest.$ac_objext
17055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17056 (eval $ac_compile) 2>conftest.er1
17057 ac_status=$?
17058 grep -v '^ *+' conftest.er1 >conftest.err
17059 rm -f conftest.er1
17060 cat conftest.err >&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); } &&
17063 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17065 (eval $ac_try) 2>&5
17066 ac_status=$?
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); }; } &&
17069 { ac_try='test -s conftest.$ac_objext'
17070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17071 (eval $ac_try) 2>&5
17072 ac_status=$?
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); }; }; then
17075 ac_header_compiler=yes
17076 else
17077 echo "$as_me: failed program was:" >&5
17078 sed 's/^/| /' conftest.$ac_ext >&5
17079
17080 ac_header_compiler=no
17081 fi
17082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17083 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17084 echo "${ECHO_T}$ac_header_compiler" >&6
17085
17086 # Is the header present?
17087 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17088 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17089 cat >conftest.$ac_ext <<_ACEOF
17090 /* confdefs.h. */
17091 _ACEOF
17092 cat confdefs.h >>conftest.$ac_ext
17093 cat >>conftest.$ac_ext <<_ACEOF
17094 /* end confdefs.h. */
17095 #include <$ac_header>
17096 _ACEOF
17097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17098 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17099 ac_status=$?
17100 grep -v '^ *+' conftest.er1 >conftest.err
17101 rm -f conftest.er1
17102 cat conftest.err >&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); } >/dev/null; then
17105 if test -s conftest.err; then
17106 ac_cpp_err=$ac_cxx_preproc_warn_flag
17107 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17108 else
17109 ac_cpp_err=
17110 fi
17111 else
17112 ac_cpp_err=yes
17113 fi
17114 if test -z "$ac_cpp_err"; then
17115 ac_header_preproc=yes
17116 else
17117 echo "$as_me: failed program was:" >&5
17118 sed 's/^/| /' conftest.$ac_ext >&5
17119
17120 ac_header_preproc=no
17121 fi
17122 rm -f conftest.err conftest.$ac_ext
17123 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17124 echo "${ECHO_T}$ac_header_preproc" >&6
17125
17126 # So? What about this header?
17127 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17128 yes:no: )
17129 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17130 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17132 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17133 ac_header_preproc=yes
17134 ;;
17135 no:yes:* )
17136 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17137 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17138 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17139 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17140 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17141 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17142 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17143 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17146 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17147 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17148 (
17149 cat <<\_ASBOX
17150 ## ----------------------------------------- ##
17151 ## Report this to wx-dev@lists.wxwidgets.org ##
17152 ## ----------------------------------------- ##
17153 _ASBOX
17154 ) |
17155 sed "s/^/$as_me: WARNING: /" >&2
17156 ;;
17157 esac
17158 echo "$as_me:$LINENO: checking for $ac_header" >&5
17159 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17161 echo $ECHO_N "(cached) $ECHO_C" >&6
17162 else
17163 eval "$as_ac_Header=\$ac_header_preproc"
17164 fi
17165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17166 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17167
17168 fi
17169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17170 cat >>confdefs.h <<_ACEOF
17171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17172 _ACEOF
17173
17174 fi
17175
17176 done
17177
17178 fi
17179
17180
17181 for ac_header in fnmatch.h
17182 do
17183 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17185 echo "$as_me:$LINENO: checking for $ac_header" >&5
17186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17188 echo $ECHO_N "(cached) $ECHO_C" >&6
17189 fi
17190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17191 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17192 else
17193 # Is the header compilable?
17194 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17195 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17196 cat >conftest.$ac_ext <<_ACEOF
17197 /* confdefs.h. */
17198 _ACEOF
17199 cat confdefs.h >>conftest.$ac_ext
17200 cat >>conftest.$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17202 $ac_includes_default
17203 #include <$ac_header>
17204 _ACEOF
17205 rm -f conftest.$ac_objext
17206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17207 (eval $ac_compile) 2>conftest.er1
17208 ac_status=$?
17209 grep -v '^ *+' conftest.er1 >conftest.err
17210 rm -f conftest.er1
17211 cat conftest.err >&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); } &&
17214 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17216 (eval $ac_try) 2>&5
17217 ac_status=$?
17218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17219 (exit $ac_status); }; } &&
17220 { ac_try='test -s conftest.$ac_objext'
17221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17222 (eval $ac_try) 2>&5
17223 ac_status=$?
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); }; }; then
17226 ac_header_compiler=yes
17227 else
17228 echo "$as_me: failed program was:" >&5
17229 sed 's/^/| /' conftest.$ac_ext >&5
17230
17231 ac_header_compiler=no
17232 fi
17233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17234 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17235 echo "${ECHO_T}$ac_header_compiler" >&6
17236
17237 # Is the header present?
17238 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17239 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17240 cat >conftest.$ac_ext <<_ACEOF
17241 /* confdefs.h. */
17242 _ACEOF
17243 cat confdefs.h >>conftest.$ac_ext
17244 cat >>conftest.$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17246 #include <$ac_header>
17247 _ACEOF
17248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17249 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17250 ac_status=$?
17251 grep -v '^ *+' conftest.er1 >conftest.err
17252 rm -f conftest.er1
17253 cat conftest.err >&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); } >/dev/null; then
17256 if test -s conftest.err; then
17257 ac_cpp_err=$ac_cxx_preproc_warn_flag
17258 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17259 else
17260 ac_cpp_err=
17261 fi
17262 else
17263 ac_cpp_err=yes
17264 fi
17265 if test -z "$ac_cpp_err"; then
17266 ac_header_preproc=yes
17267 else
17268 echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.$ac_ext >&5
17270
17271 ac_header_preproc=no
17272 fi
17273 rm -f conftest.err conftest.$ac_ext
17274 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17275 echo "${ECHO_T}$ac_header_preproc" >&6
17276
17277 # So? What about this header?
17278 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17279 yes:no: )
17280 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17281 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17282 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17283 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17284 ac_header_preproc=yes
17285 ;;
17286 no:yes:* )
17287 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17288 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17289 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17290 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17291 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17292 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17293 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17294 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17296 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17297 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17298 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17299 (
17300 cat <<\_ASBOX
17301 ## ----------------------------------------- ##
17302 ## Report this to wx-dev@lists.wxwidgets.org ##
17303 ## ----------------------------------------- ##
17304 _ASBOX
17305 ) |
17306 sed "s/^/$as_me: WARNING: /" >&2
17307 ;;
17308 esac
17309 echo "$as_me:$LINENO: checking for $ac_header" >&5
17310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17311 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17312 echo $ECHO_N "(cached) $ECHO_C" >&6
17313 else
17314 eval "$as_ac_Header=\$ac_header_preproc"
17315 fi
17316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17318
17319 fi
17320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17321 cat >>confdefs.h <<_ACEOF
17322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17323 _ACEOF
17324
17325 fi
17326
17327 done
17328
17329
17330
17331 for ac_header in langinfo.h
17332 do
17333 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17335 echo "$as_me:$LINENO: checking for $ac_header" >&5
17336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17338 echo $ECHO_N "(cached) $ECHO_C" >&6
17339 fi
17340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17342 else
17343 # Is the header compilable?
17344 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17345 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17346 cat >conftest.$ac_ext <<_ACEOF
17347 /* confdefs.h. */
17348 _ACEOF
17349 cat confdefs.h >>conftest.$ac_ext
17350 cat >>conftest.$ac_ext <<_ACEOF
17351 /* end confdefs.h. */
17352 $ac_includes_default
17353 #include <$ac_header>
17354 _ACEOF
17355 rm -f conftest.$ac_objext
17356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17357 (eval $ac_compile) 2>conftest.er1
17358 ac_status=$?
17359 grep -v '^ *+' conftest.er1 >conftest.err
17360 rm -f conftest.er1
17361 cat conftest.err >&5
17362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17363 (exit $ac_status); } &&
17364 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17366 (eval $ac_try) 2>&5
17367 ac_status=$?
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); }; } &&
17370 { ac_try='test -s conftest.$ac_objext'
17371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17372 (eval $ac_try) 2>&5
17373 ac_status=$?
17374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17375 (exit $ac_status); }; }; then
17376 ac_header_compiler=yes
17377 else
17378 echo "$as_me: failed program was:" >&5
17379 sed 's/^/| /' conftest.$ac_ext >&5
17380
17381 ac_header_compiler=no
17382 fi
17383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17385 echo "${ECHO_T}$ac_header_compiler" >&6
17386
17387 # Is the header present?
17388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17390 cat >conftest.$ac_ext <<_ACEOF
17391 /* confdefs.h. */
17392 _ACEOF
17393 cat confdefs.h >>conftest.$ac_ext
17394 cat >>conftest.$ac_ext <<_ACEOF
17395 /* end confdefs.h. */
17396 #include <$ac_header>
17397 _ACEOF
17398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17400 ac_status=$?
17401 grep -v '^ *+' conftest.er1 >conftest.err
17402 rm -f conftest.er1
17403 cat conftest.err >&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } >/dev/null; then
17406 if test -s conftest.err; then
17407 ac_cpp_err=$ac_cxx_preproc_warn_flag
17408 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17409 else
17410 ac_cpp_err=
17411 fi
17412 else
17413 ac_cpp_err=yes
17414 fi
17415 if test -z "$ac_cpp_err"; then
17416 ac_header_preproc=yes
17417 else
17418 echo "$as_me: failed program was:" >&5
17419 sed 's/^/| /' conftest.$ac_ext >&5
17420
17421 ac_header_preproc=no
17422 fi
17423 rm -f conftest.err conftest.$ac_ext
17424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17425 echo "${ECHO_T}$ac_header_preproc" >&6
17426
17427 # So? What about this header?
17428 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17429 yes:no: )
17430 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17431 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17433 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17434 ac_header_preproc=yes
17435 ;;
17436 no:yes:* )
17437 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17439 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17441 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17442 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17443 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17444 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17446 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17447 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17448 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17449 (
17450 cat <<\_ASBOX
17451 ## ----------------------------------------- ##
17452 ## Report this to wx-dev@lists.wxwidgets.org ##
17453 ## ----------------------------------------- ##
17454 _ASBOX
17455 ) |
17456 sed "s/^/$as_me: WARNING: /" >&2
17457 ;;
17458 esac
17459 echo "$as_me:$LINENO: checking for $ac_header" >&5
17460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17462 echo $ECHO_N "(cached) $ECHO_C" >&6
17463 else
17464 eval "$as_ac_Header=\$ac_header_preproc"
17465 fi
17466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17468
17469 fi
17470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17471 cat >>confdefs.h <<_ACEOF
17472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17473 _ACEOF
17474
17475 fi
17476
17477 done
17478
17479
17480 case "${host}" in
17481 *-pc-os2_emx | *-pc-os2-emx )
17482 if test $ac_cv_header_langinfo_h = "yes" \
17483 -a \( "$wx_cv_gccversion" = "EMX2" \
17484 -o "$wx_cv_gccversion" = "EMX3" \
17485 -o "$wx_cv_gccversion" = "Innotek5" \); then
17486 LIBS="$LIBS -lintl"
17487 fi
17488 ;;
17489 esac
17490
17491 if test "$USE_UNIX" = 1 ; then
17492
17493 for ac_header in sys/select.h
17494 do
17495 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17497 echo "$as_me:$LINENO: checking for $ac_header" >&5
17498 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17500 echo $ECHO_N "(cached) $ECHO_C" >&6
17501 fi
17502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17504 else
17505 # Is the header compilable?
17506 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17507 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17508 cat >conftest.$ac_ext <<_ACEOF
17509 /* confdefs.h. */
17510 _ACEOF
17511 cat confdefs.h >>conftest.$ac_ext
17512 cat >>conftest.$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17514 $ac_includes_default
17515 #include <$ac_header>
17516 _ACEOF
17517 rm -f conftest.$ac_objext
17518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17519 (eval $ac_compile) 2>conftest.er1
17520 ac_status=$?
17521 grep -v '^ *+' conftest.er1 >conftest.err
17522 rm -f conftest.er1
17523 cat conftest.err >&5
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } &&
17526 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17528 (eval $ac_try) 2>&5
17529 ac_status=$?
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; } &&
17532 { ac_try='test -s conftest.$ac_objext'
17533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534 (eval $ac_try) 2>&5
17535 ac_status=$?
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); }; }; then
17538 ac_header_compiler=yes
17539 else
17540 echo "$as_me: failed program was:" >&5
17541 sed 's/^/| /' conftest.$ac_ext >&5
17542
17543 ac_header_compiler=no
17544 fi
17545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17547 echo "${ECHO_T}$ac_header_compiler" >&6
17548
17549 # Is the header present?
17550 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17552 cat >conftest.$ac_ext <<_ACEOF
17553 /* confdefs.h. */
17554 _ACEOF
17555 cat confdefs.h >>conftest.$ac_ext
17556 cat >>conftest.$ac_ext <<_ACEOF
17557 /* end confdefs.h. */
17558 #include <$ac_header>
17559 _ACEOF
17560 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17561 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17562 ac_status=$?
17563 grep -v '^ *+' conftest.er1 >conftest.err
17564 rm -f conftest.er1
17565 cat conftest.err >&5
17566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17567 (exit $ac_status); } >/dev/null; then
17568 if test -s conftest.err; then
17569 ac_cpp_err=$ac_cxx_preproc_warn_flag
17570 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17571 else
17572 ac_cpp_err=
17573 fi
17574 else
17575 ac_cpp_err=yes
17576 fi
17577 if test -z "$ac_cpp_err"; then
17578 ac_header_preproc=yes
17579 else
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.$ac_ext >&5
17582
17583 ac_header_preproc=no
17584 fi
17585 rm -f conftest.err conftest.$ac_ext
17586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17587 echo "${ECHO_T}$ac_header_preproc" >&6
17588
17589 # So? What about this header?
17590 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17591 yes:no: )
17592 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17593 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17595 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17596 ac_header_preproc=yes
17597 ;;
17598 no:yes:* )
17599 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17600 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17601 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17602 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17603 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17604 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17605 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17606 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17608 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17609 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17610 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17611 (
17612 cat <<\_ASBOX
17613 ## ----------------------------------------- ##
17614 ## Report this to wx-dev@lists.wxwidgets.org ##
17615 ## ----------------------------------------- ##
17616 _ASBOX
17617 ) |
17618 sed "s/^/$as_me: WARNING: /" >&2
17619 ;;
17620 esac
17621 echo "$as_me:$LINENO: checking for $ac_header" >&5
17622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17624 echo $ECHO_N "(cached) $ECHO_C" >&6
17625 else
17626 eval "$as_ac_Header=\$ac_header_preproc"
17627 fi
17628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17630
17631 fi
17632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17633 cat >>confdefs.h <<_ACEOF
17634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17635 _ACEOF
17636
17637 fi
17638
17639 done
17640
17641 fi
17642
17643
17644 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17645 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17646 if test "${ac_cv_c_const+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17648 else
17649 cat >conftest.$ac_ext <<_ACEOF
17650 /* confdefs.h. */
17651 _ACEOF
17652 cat confdefs.h >>conftest.$ac_ext
17653 cat >>conftest.$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17655
17656 int
17657 main ()
17658 {
17659 /* FIXME: Include the comments suggested by Paul. */
17660 #ifndef __cplusplus
17661 /* Ultrix mips cc rejects this. */
17662 typedef int charset[2];
17663 const charset x;
17664 /* SunOS 4.1.1 cc rejects this. */
17665 char const *const *ccp;
17666 char **p;
17667 /* NEC SVR4.0.2 mips cc rejects this. */
17668 struct point {int x, y;};
17669 static struct point const zero = {0,0};
17670 /* AIX XL C 1.02.0.0 rejects this.
17671 It does not let you subtract one const X* pointer from another in
17672 an arm of an if-expression whose if-part is not a constant
17673 expression */
17674 const char *g = "string";
17675 ccp = &g + (g ? g-g : 0);
17676 /* HPUX 7.0 cc rejects these. */
17677 ++ccp;
17678 p = (char**) ccp;
17679 ccp = (char const *const *) p;
17680 { /* SCO 3.2v4 cc rejects this. */
17681 char *t;
17682 char const *s = 0 ? (char *) 0 : (char const *) 0;
17683
17684 *t++ = 0;
17685 }
17686 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17687 int x[] = {25, 17};
17688 const int *foo = &x[0];
17689 ++foo;
17690 }
17691 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17692 typedef const int *iptr;
17693 iptr p = 0;
17694 ++p;
17695 }
17696 { /* AIX XL C 1.02.0.0 rejects this saying
17697 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17698 struct s { int j; const int *ap[3]; };
17699 struct s *b; b->j = 5;
17700 }
17701 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17702 const int foo = 10;
17703 }
17704 #endif
17705
17706 ;
17707 return 0;
17708 }
17709 _ACEOF
17710 rm -f conftest.$ac_objext
17711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17712 (eval $ac_compile) 2>conftest.er1
17713 ac_status=$?
17714 grep -v '^ *+' conftest.er1 >conftest.err
17715 rm -f conftest.er1
17716 cat conftest.err >&5
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); } &&
17719 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17722 ac_status=$?
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; } &&
17725 { ac_try='test -s conftest.$ac_objext'
17726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17727 (eval $ac_try) 2>&5
17728 ac_status=$?
17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730 (exit $ac_status); }; }; then
17731 ac_cv_c_const=yes
17732 else
17733 echo "$as_me: failed program was:" >&5
17734 sed 's/^/| /' conftest.$ac_ext >&5
17735
17736 ac_cv_c_const=no
17737 fi
17738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17739 fi
17740 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17741 echo "${ECHO_T}$ac_cv_c_const" >&6
17742 if test $ac_cv_c_const = no; then
17743
17744 cat >>confdefs.h <<\_ACEOF
17745 #define const
17746 _ACEOF
17747
17748 fi
17749
17750 echo "$as_me:$LINENO: checking for inline" >&5
17751 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17752 if test "${ac_cv_c_inline+set}" = set; then
17753 echo $ECHO_N "(cached) $ECHO_C" >&6
17754 else
17755 ac_cv_c_inline=no
17756 for ac_kw in inline __inline__ __inline; do
17757 cat >conftest.$ac_ext <<_ACEOF
17758 /* confdefs.h. */
17759 _ACEOF
17760 cat confdefs.h >>conftest.$ac_ext
17761 cat >>conftest.$ac_ext <<_ACEOF
17762 /* end confdefs.h. */
17763 #ifndef __cplusplus
17764 typedef int foo_t;
17765 static $ac_kw foo_t static_foo () {return 0; }
17766 $ac_kw foo_t foo () {return 0; }
17767 #endif
17768
17769 _ACEOF
17770 rm -f conftest.$ac_objext
17771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17772 (eval $ac_compile) 2>conftest.er1
17773 ac_status=$?
17774 grep -v '^ *+' conftest.er1 >conftest.err
17775 rm -f conftest.er1
17776 cat conftest.err >&5
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); } &&
17779 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17781 (eval $ac_try) 2>&5
17782 ac_status=$?
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); }; } &&
17785 { ac_try='test -s conftest.$ac_objext'
17786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17787 (eval $ac_try) 2>&5
17788 ac_status=$?
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); }; }; then
17791 ac_cv_c_inline=$ac_kw; break
17792 else
17793 echo "$as_me: failed program was:" >&5
17794 sed 's/^/| /' conftest.$ac_ext >&5
17795
17796 fi
17797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17798 done
17799
17800 fi
17801 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17802 echo "${ECHO_T}$ac_cv_c_inline" >&6
17803
17804
17805 case $ac_cv_c_inline in
17806 inline | yes) ;;
17807 *)
17808 case $ac_cv_c_inline in
17809 no) ac_val=;;
17810 *) ac_val=$ac_cv_c_inline;;
17811 esac
17812 cat >>confdefs.h <<_ACEOF
17813 #ifndef __cplusplus
17814 #define inline $ac_val
17815 #endif
17816 _ACEOF
17817 ;;
17818 esac
17819
17820
17821 echo "$as_me:$LINENO: checking for char" >&5
17822 echo $ECHO_N "checking for char... $ECHO_C" >&6
17823 if test "${ac_cv_type_char+set}" = set; then
17824 echo $ECHO_N "(cached) $ECHO_C" >&6
17825 else
17826 cat >conftest.$ac_ext <<_ACEOF
17827 /* confdefs.h. */
17828 _ACEOF
17829 cat confdefs.h >>conftest.$ac_ext
17830 cat >>conftest.$ac_ext <<_ACEOF
17831 /* end confdefs.h. */
17832 $ac_includes_default
17833 int
17834 main ()
17835 {
17836 if ((char *) 0)
17837 return 0;
17838 if (sizeof (char))
17839 return 0;
17840 ;
17841 return 0;
17842 }
17843 _ACEOF
17844 rm -f conftest.$ac_objext
17845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17846 (eval $ac_compile) 2>conftest.er1
17847 ac_status=$?
17848 grep -v '^ *+' conftest.er1 >conftest.err
17849 rm -f conftest.er1
17850 cat conftest.err >&5
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); } &&
17853 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17855 (eval $ac_try) 2>&5
17856 ac_status=$?
17857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17858 (exit $ac_status); }; } &&
17859 { ac_try='test -s conftest.$ac_objext'
17860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17861 (eval $ac_try) 2>&5
17862 ac_status=$?
17863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17864 (exit $ac_status); }; }; then
17865 ac_cv_type_char=yes
17866 else
17867 echo "$as_me: failed program was:" >&5
17868 sed 's/^/| /' conftest.$ac_ext >&5
17869
17870 ac_cv_type_char=no
17871 fi
17872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17873 fi
17874 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17875 echo "${ECHO_T}$ac_cv_type_char" >&6
17876
17877 echo "$as_me:$LINENO: checking size of char" >&5
17878 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17879 if test "${ac_cv_sizeof_char+set}" = set; then
17880 echo $ECHO_N "(cached) $ECHO_C" >&6
17881 else
17882 if test "$ac_cv_type_char" = yes; then
17883 # The cast to unsigned long works around a bug in the HP C Compiler
17884 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17885 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17886 # This bug is HP SR number 8606223364.
17887 if test "$cross_compiling" = yes; then
17888 # Depending upon the size, compute the lo and hi bounds.
17889 cat >conftest.$ac_ext <<_ACEOF
17890 /* confdefs.h. */
17891 _ACEOF
17892 cat confdefs.h >>conftest.$ac_ext
17893 cat >>conftest.$ac_ext <<_ACEOF
17894 /* end confdefs.h. */
17895 $ac_includes_default
17896 int
17897 main ()
17898 {
17899 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17900 test_array [0] = 0
17901
17902 ;
17903 return 0;
17904 }
17905 _ACEOF
17906 rm -f conftest.$ac_objext
17907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17908 (eval $ac_compile) 2>conftest.er1
17909 ac_status=$?
17910 grep -v '^ *+' conftest.er1 >conftest.err
17911 rm -f conftest.er1
17912 cat conftest.err >&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); } &&
17915 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17917 (eval $ac_try) 2>&5
17918 ac_status=$?
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); }; } &&
17921 { ac_try='test -s conftest.$ac_objext'
17922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17923 (eval $ac_try) 2>&5
17924 ac_status=$?
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); }; }; then
17927 ac_lo=0 ac_mid=0
17928 while :; do
17929 cat >conftest.$ac_ext <<_ACEOF
17930 /* confdefs.h. */
17931 _ACEOF
17932 cat confdefs.h >>conftest.$ac_ext
17933 cat >>conftest.$ac_ext <<_ACEOF
17934 /* end confdefs.h. */
17935 $ac_includes_default
17936 int
17937 main ()
17938 {
17939 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17940 test_array [0] = 0
17941
17942 ;
17943 return 0;
17944 }
17945 _ACEOF
17946 rm -f conftest.$ac_objext
17947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17948 (eval $ac_compile) 2>conftest.er1
17949 ac_status=$?
17950 grep -v '^ *+' conftest.er1 >conftest.err
17951 rm -f conftest.er1
17952 cat conftest.err >&5
17953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17954 (exit $ac_status); } &&
17955 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17957 (eval $ac_try) 2>&5
17958 ac_status=$?
17959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960 (exit $ac_status); }; } &&
17961 { ac_try='test -s conftest.$ac_objext'
17962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17963 (eval $ac_try) 2>&5
17964 ac_status=$?
17965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17966 (exit $ac_status); }; }; then
17967 ac_hi=$ac_mid; break
17968 else
17969 echo "$as_me: failed program was:" >&5
17970 sed 's/^/| /' conftest.$ac_ext >&5
17971
17972 ac_lo=`expr $ac_mid + 1`
17973 if test $ac_lo -le $ac_mid; then
17974 ac_lo= ac_hi=
17975 break
17976 fi
17977 ac_mid=`expr 2 '*' $ac_mid + 1`
17978 fi
17979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17980 done
17981 else
17982 echo "$as_me: failed program was:" >&5
17983 sed 's/^/| /' conftest.$ac_ext >&5
17984
17985 cat >conftest.$ac_ext <<_ACEOF
17986 /* confdefs.h. */
17987 _ACEOF
17988 cat confdefs.h >>conftest.$ac_ext
17989 cat >>conftest.$ac_ext <<_ACEOF
17990 /* end confdefs.h. */
17991 $ac_includes_default
17992 int
17993 main ()
17994 {
17995 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17996 test_array [0] = 0
17997
17998 ;
17999 return 0;
18000 }
18001 _ACEOF
18002 rm -f conftest.$ac_objext
18003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18004 (eval $ac_compile) 2>conftest.er1
18005 ac_status=$?
18006 grep -v '^ *+' conftest.er1 >conftest.err
18007 rm -f conftest.er1
18008 cat conftest.err >&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); } &&
18011 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18013 (eval $ac_try) 2>&5
18014 ac_status=$?
18015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18016 (exit $ac_status); }; } &&
18017 { ac_try='test -s conftest.$ac_objext'
18018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18019 (eval $ac_try) 2>&5
18020 ac_status=$?
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); }; }; then
18023 ac_hi=-1 ac_mid=-1
18024 while :; do
18025 cat >conftest.$ac_ext <<_ACEOF
18026 /* confdefs.h. */
18027 _ACEOF
18028 cat confdefs.h >>conftest.$ac_ext
18029 cat >>conftest.$ac_ext <<_ACEOF
18030 /* end confdefs.h. */
18031 $ac_includes_default
18032 int
18033 main ()
18034 {
18035 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18036 test_array [0] = 0
18037
18038 ;
18039 return 0;
18040 }
18041 _ACEOF
18042 rm -f conftest.$ac_objext
18043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18044 (eval $ac_compile) 2>conftest.er1
18045 ac_status=$?
18046 grep -v '^ *+' conftest.er1 >conftest.err
18047 rm -f conftest.er1
18048 cat conftest.err >&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } &&
18051 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18053 (eval $ac_try) 2>&5
18054 ac_status=$?
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); }; } &&
18057 { ac_try='test -s conftest.$ac_objext'
18058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18059 (eval $ac_try) 2>&5
18060 ac_status=$?
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); }; }; then
18063 ac_lo=$ac_mid; break
18064 else
18065 echo "$as_me: failed program was:" >&5
18066 sed 's/^/| /' conftest.$ac_ext >&5
18067
18068 ac_hi=`expr '(' $ac_mid ')' - 1`
18069 if test $ac_mid -le $ac_hi; then
18070 ac_lo= ac_hi=
18071 break
18072 fi
18073 ac_mid=`expr 2 '*' $ac_mid`
18074 fi
18075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18076 done
18077 else
18078 echo "$as_me: failed program was:" >&5
18079 sed 's/^/| /' conftest.$ac_ext >&5
18080
18081 ac_lo= ac_hi=
18082 fi
18083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18084 fi
18085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18086 # Binary search between lo and hi bounds.
18087 while test "x$ac_lo" != "x$ac_hi"; do
18088 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18089 cat >conftest.$ac_ext <<_ACEOF
18090 /* confdefs.h. */
18091 _ACEOF
18092 cat confdefs.h >>conftest.$ac_ext
18093 cat >>conftest.$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18095 $ac_includes_default
18096 int
18097 main ()
18098 {
18099 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18100 test_array [0] = 0
18101
18102 ;
18103 return 0;
18104 }
18105 _ACEOF
18106 rm -f conftest.$ac_objext
18107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18108 (eval $ac_compile) 2>conftest.er1
18109 ac_status=$?
18110 grep -v '^ *+' conftest.er1 >conftest.err
18111 rm -f conftest.er1
18112 cat conftest.err >&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); } &&
18115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
18121 { ac_try='test -s conftest.$ac_objext'
18122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18123 (eval $ac_try) 2>&5
18124 ac_status=$?
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); }; }; then
18127 ac_hi=$ac_mid
18128 else
18129 echo "$as_me: failed program was:" >&5
18130 sed 's/^/| /' conftest.$ac_ext >&5
18131
18132 ac_lo=`expr '(' $ac_mid ')' + 1`
18133 fi
18134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18135 done
18136 case $ac_lo in
18137 ?*) ac_cv_sizeof_char=$ac_lo;;
18138 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18139 See \`config.log' for more details." >&5
18140 echo "$as_me: error: cannot compute sizeof (char), 77
18141 See \`config.log' for more details." >&2;}
18142 { (exit 1); exit 1; }; } ;;
18143 esac
18144 else
18145 if test "$cross_compiling" = yes; then
18146 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18147 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18148 { (exit 1); exit 1; }; }
18149 else
18150 cat >conftest.$ac_ext <<_ACEOF
18151 /* confdefs.h. */
18152 _ACEOF
18153 cat confdefs.h >>conftest.$ac_ext
18154 cat >>conftest.$ac_ext <<_ACEOF
18155 /* end confdefs.h. */
18156 $ac_includes_default
18157 long longval () { return (long) (sizeof (char)); }
18158 unsigned long ulongval () { return (long) (sizeof (char)); }
18159 #include <stdio.h>
18160 #include <stdlib.h>
18161 int
18162 main ()
18163 {
18164
18165 FILE *f = fopen ("conftest.val", "w");
18166 if (! f)
18167 exit (1);
18168 if (((long) (sizeof (char))) < 0)
18169 {
18170 long i = longval ();
18171 if (i != ((long) (sizeof (char))))
18172 exit (1);
18173 fprintf (f, "%ld\n", i);
18174 }
18175 else
18176 {
18177 unsigned long i = ulongval ();
18178 if (i != ((long) (sizeof (char))))
18179 exit (1);
18180 fprintf (f, "%lu\n", i);
18181 }
18182 exit (ferror (f) || fclose (f) != 0);
18183
18184 ;
18185 return 0;
18186 }
18187 _ACEOF
18188 rm -f conftest$ac_exeext
18189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18190 (eval $ac_link) 2>&5
18191 ac_status=$?
18192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18193 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18195 (eval $ac_try) 2>&5
18196 ac_status=$?
18197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18198 (exit $ac_status); }; }; then
18199 ac_cv_sizeof_char=`cat conftest.val`
18200 else
18201 echo "$as_me: program exited with status $ac_status" >&5
18202 echo "$as_me: failed program was:" >&5
18203 sed 's/^/| /' conftest.$ac_ext >&5
18204
18205 ( exit $ac_status )
18206 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18207 See \`config.log' for more details." >&5
18208 echo "$as_me: error: cannot compute sizeof (char), 77
18209 See \`config.log' for more details." >&2;}
18210 { (exit 1); exit 1; }; }
18211 fi
18212 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18213 fi
18214 fi
18215 rm -f conftest.val
18216 else
18217 ac_cv_sizeof_char=0
18218 fi
18219 fi
18220 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18221 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18222 cat >>confdefs.h <<_ACEOF
18223 #define SIZEOF_CHAR $ac_cv_sizeof_char
18224 _ACEOF
18225
18226
18227 echo "$as_me:$LINENO: checking for short" >&5
18228 echo $ECHO_N "checking for short... $ECHO_C" >&6
18229 if test "${ac_cv_type_short+set}" = set; then
18230 echo $ECHO_N "(cached) $ECHO_C" >&6
18231 else
18232 cat >conftest.$ac_ext <<_ACEOF
18233 /* confdefs.h. */
18234 _ACEOF
18235 cat confdefs.h >>conftest.$ac_ext
18236 cat >>conftest.$ac_ext <<_ACEOF
18237 /* end confdefs.h. */
18238 $ac_includes_default
18239 int
18240 main ()
18241 {
18242 if ((short *) 0)
18243 return 0;
18244 if (sizeof (short))
18245 return 0;
18246 ;
18247 return 0;
18248 }
18249 _ACEOF
18250 rm -f conftest.$ac_objext
18251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18252 (eval $ac_compile) 2>conftest.er1
18253 ac_status=$?
18254 grep -v '^ *+' conftest.er1 >conftest.err
18255 rm -f conftest.er1
18256 cat conftest.err >&5
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); } &&
18259 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18261 (eval $ac_try) 2>&5
18262 ac_status=$?
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); }; } &&
18265 { ac_try='test -s conftest.$ac_objext'
18266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18267 (eval $ac_try) 2>&5
18268 ac_status=$?
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); }; }; then
18271 ac_cv_type_short=yes
18272 else
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.$ac_ext >&5
18275
18276 ac_cv_type_short=no
18277 fi
18278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18279 fi
18280 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18281 echo "${ECHO_T}$ac_cv_type_short" >&6
18282
18283 echo "$as_me:$LINENO: checking size of short" >&5
18284 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18285 if test "${ac_cv_sizeof_short+set}" = set; then
18286 echo $ECHO_N "(cached) $ECHO_C" >&6
18287 else
18288 if test "$ac_cv_type_short" = yes; then
18289 # The cast to unsigned long works around a bug in the HP C Compiler
18290 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18291 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18292 # This bug is HP SR number 8606223364.
18293 if test "$cross_compiling" = yes; then
18294 # Depending upon the size, compute the lo and hi bounds.
18295 cat >conftest.$ac_ext <<_ACEOF
18296 /* confdefs.h. */
18297 _ACEOF
18298 cat confdefs.h >>conftest.$ac_ext
18299 cat >>conftest.$ac_ext <<_ACEOF
18300 /* end confdefs.h. */
18301 $ac_includes_default
18302 int
18303 main ()
18304 {
18305 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18306 test_array [0] = 0
18307
18308 ;
18309 return 0;
18310 }
18311 _ACEOF
18312 rm -f conftest.$ac_objext
18313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18314 (eval $ac_compile) 2>conftest.er1
18315 ac_status=$?
18316 grep -v '^ *+' conftest.er1 >conftest.err
18317 rm -f conftest.er1
18318 cat conftest.err >&5
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); } &&
18321 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18323 (eval $ac_try) 2>&5
18324 ac_status=$?
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); }; } &&
18327 { ac_try='test -s conftest.$ac_objext'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18330 ac_status=$?
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; }; then
18333 ac_lo=0 ac_mid=0
18334 while :; do
18335 cat >conftest.$ac_ext <<_ACEOF
18336 /* confdefs.h. */
18337 _ACEOF
18338 cat confdefs.h >>conftest.$ac_ext
18339 cat >>conftest.$ac_ext <<_ACEOF
18340 /* end confdefs.h. */
18341 $ac_includes_default
18342 int
18343 main ()
18344 {
18345 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18346 test_array [0] = 0
18347
18348 ;
18349 return 0;
18350 }
18351 _ACEOF
18352 rm -f conftest.$ac_objext
18353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18354 (eval $ac_compile) 2>conftest.er1
18355 ac_status=$?
18356 grep -v '^ *+' conftest.er1 >conftest.err
18357 rm -f conftest.er1
18358 cat conftest.err >&5
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); } &&
18361 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18363 (eval $ac_try) 2>&5
18364 ac_status=$?
18365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18366 (exit $ac_status); }; } &&
18367 { ac_try='test -s conftest.$ac_objext'
18368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18369 (eval $ac_try) 2>&5
18370 ac_status=$?
18371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18372 (exit $ac_status); }; }; then
18373 ac_hi=$ac_mid; break
18374 else
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.$ac_ext >&5
18377
18378 ac_lo=`expr $ac_mid + 1`
18379 if test $ac_lo -le $ac_mid; then
18380 ac_lo= ac_hi=
18381 break
18382 fi
18383 ac_mid=`expr 2 '*' $ac_mid + 1`
18384 fi
18385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18386 done
18387 else
18388 echo "$as_me: failed program was:" >&5
18389 sed 's/^/| /' conftest.$ac_ext >&5
18390
18391 cat >conftest.$ac_ext <<_ACEOF
18392 /* confdefs.h. */
18393 _ACEOF
18394 cat confdefs.h >>conftest.$ac_ext
18395 cat >>conftest.$ac_ext <<_ACEOF
18396 /* end confdefs.h. */
18397 $ac_includes_default
18398 int
18399 main ()
18400 {
18401 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18402 test_array [0] = 0
18403
18404 ;
18405 return 0;
18406 }
18407 _ACEOF
18408 rm -f conftest.$ac_objext
18409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18410 (eval $ac_compile) 2>conftest.er1
18411 ac_status=$?
18412 grep -v '^ *+' conftest.er1 >conftest.err
18413 rm -f conftest.er1
18414 cat conftest.err >&5
18415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416 (exit $ac_status); } &&
18417 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18419 (eval $ac_try) 2>&5
18420 ac_status=$?
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); }; } &&
18423 { ac_try='test -s conftest.$ac_objext'
18424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18425 (eval $ac_try) 2>&5
18426 ac_status=$?
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); }; }; then
18429 ac_hi=-1 ac_mid=-1
18430 while :; do
18431 cat >conftest.$ac_ext <<_ACEOF
18432 /* confdefs.h. */
18433 _ACEOF
18434 cat confdefs.h >>conftest.$ac_ext
18435 cat >>conftest.$ac_ext <<_ACEOF
18436 /* end confdefs.h. */
18437 $ac_includes_default
18438 int
18439 main ()
18440 {
18441 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18442 test_array [0] = 0
18443
18444 ;
18445 return 0;
18446 }
18447 _ACEOF
18448 rm -f conftest.$ac_objext
18449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18450 (eval $ac_compile) 2>conftest.er1
18451 ac_status=$?
18452 grep -v '^ *+' conftest.er1 >conftest.err
18453 rm -f conftest.er1
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } &&
18457 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18459 (eval $ac_try) 2>&5
18460 ac_status=$?
18461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462 (exit $ac_status); }; } &&
18463 { ac_try='test -s conftest.$ac_objext'
18464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18465 (eval $ac_try) 2>&5
18466 ac_status=$?
18467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18468 (exit $ac_status); }; }; then
18469 ac_lo=$ac_mid; break
18470 else
18471 echo "$as_me: failed program was:" >&5
18472 sed 's/^/| /' conftest.$ac_ext >&5
18473
18474 ac_hi=`expr '(' $ac_mid ')' - 1`
18475 if test $ac_mid -le $ac_hi; then
18476 ac_lo= ac_hi=
18477 break
18478 fi
18479 ac_mid=`expr 2 '*' $ac_mid`
18480 fi
18481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18482 done
18483 else
18484 echo "$as_me: failed program was:" >&5
18485 sed 's/^/| /' conftest.$ac_ext >&5
18486
18487 ac_lo= ac_hi=
18488 fi
18489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18490 fi
18491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18492 # Binary search between lo and hi bounds.
18493 while test "x$ac_lo" != "x$ac_hi"; do
18494 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18495 cat >conftest.$ac_ext <<_ACEOF
18496 /* confdefs.h. */
18497 _ACEOF
18498 cat confdefs.h >>conftest.$ac_ext
18499 cat >>conftest.$ac_ext <<_ACEOF
18500 /* end confdefs.h. */
18501 $ac_includes_default
18502 int
18503 main ()
18504 {
18505 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18506 test_array [0] = 0
18507
18508 ;
18509 return 0;
18510 }
18511 _ACEOF
18512 rm -f conftest.$ac_objext
18513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18514 (eval $ac_compile) 2>conftest.er1
18515 ac_status=$?
18516 grep -v '^ *+' conftest.er1 >conftest.err
18517 rm -f conftest.er1
18518 cat conftest.err >&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); } &&
18521 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
18527 { ac_try='test -s conftest.$ac_objext'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18530 ac_status=$?
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; }; then
18533 ac_hi=$ac_mid
18534 else
18535 echo "$as_me: failed program was:" >&5
18536 sed 's/^/| /' conftest.$ac_ext >&5
18537
18538 ac_lo=`expr '(' $ac_mid ')' + 1`
18539 fi
18540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18541 done
18542 case $ac_lo in
18543 ?*) ac_cv_sizeof_short=$ac_lo;;
18544 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18545 See \`config.log' for more details." >&5
18546 echo "$as_me: error: cannot compute sizeof (short), 77
18547 See \`config.log' for more details." >&2;}
18548 { (exit 1); exit 1; }; } ;;
18549 esac
18550 else
18551 if test "$cross_compiling" = yes; then
18552 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18553 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18554 { (exit 1); exit 1; }; }
18555 else
18556 cat >conftest.$ac_ext <<_ACEOF
18557 /* confdefs.h. */
18558 _ACEOF
18559 cat confdefs.h >>conftest.$ac_ext
18560 cat >>conftest.$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562 $ac_includes_default
18563 long longval () { return (long) (sizeof (short)); }
18564 unsigned long ulongval () { return (long) (sizeof (short)); }
18565 #include <stdio.h>
18566 #include <stdlib.h>
18567 int
18568 main ()
18569 {
18570
18571 FILE *f = fopen ("conftest.val", "w");
18572 if (! f)
18573 exit (1);
18574 if (((long) (sizeof (short))) < 0)
18575 {
18576 long i = longval ();
18577 if (i != ((long) (sizeof (short))))
18578 exit (1);
18579 fprintf (f, "%ld\n", i);
18580 }
18581 else
18582 {
18583 unsigned long i = ulongval ();
18584 if (i != ((long) (sizeof (short))))
18585 exit (1);
18586 fprintf (f, "%lu\n", i);
18587 }
18588 exit (ferror (f) || fclose (f) != 0);
18589
18590 ;
18591 return 0;
18592 }
18593 _ACEOF
18594 rm -f conftest$ac_exeext
18595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18596 (eval $ac_link) 2>&5
18597 ac_status=$?
18598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18599 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18601 (eval $ac_try) 2>&5
18602 ac_status=$?
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; }; then
18605 ac_cv_sizeof_short=`cat conftest.val`
18606 else
18607 echo "$as_me: program exited with status $ac_status" >&5
18608 echo "$as_me: failed program was:" >&5
18609 sed 's/^/| /' conftest.$ac_ext >&5
18610
18611 ( exit $ac_status )
18612 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18613 See \`config.log' for more details." >&5
18614 echo "$as_me: error: cannot compute sizeof (short), 77
18615 See \`config.log' for more details." >&2;}
18616 { (exit 1); exit 1; }; }
18617 fi
18618 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18619 fi
18620 fi
18621 rm -f conftest.val
18622 else
18623 ac_cv_sizeof_short=0
18624 fi
18625 fi
18626 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18627 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18628 cat >>confdefs.h <<_ACEOF
18629 #define SIZEOF_SHORT $ac_cv_sizeof_short
18630 _ACEOF
18631
18632
18633 echo "$as_me:$LINENO: checking for void *" >&5
18634 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18635 if test "${ac_cv_type_void_p+set}" = set; then
18636 echo $ECHO_N "(cached) $ECHO_C" >&6
18637 else
18638 cat >conftest.$ac_ext <<_ACEOF
18639 /* confdefs.h. */
18640 _ACEOF
18641 cat confdefs.h >>conftest.$ac_ext
18642 cat >>conftest.$ac_ext <<_ACEOF
18643 /* end confdefs.h. */
18644 $ac_includes_default
18645 int
18646 main ()
18647 {
18648 if ((void * *) 0)
18649 return 0;
18650 if (sizeof (void *))
18651 return 0;
18652 ;
18653 return 0;
18654 }
18655 _ACEOF
18656 rm -f conftest.$ac_objext
18657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18658 (eval $ac_compile) 2>conftest.er1
18659 ac_status=$?
18660 grep -v '^ *+' conftest.er1 >conftest.err
18661 rm -f conftest.er1
18662 cat conftest.err >&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); } &&
18665 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18667 (eval $ac_try) 2>&5
18668 ac_status=$?
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); }; } &&
18671 { ac_try='test -s conftest.$ac_objext'
18672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18673 (eval $ac_try) 2>&5
18674 ac_status=$?
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); }; }; then
18677 ac_cv_type_void_p=yes
18678 else
18679 echo "$as_me: failed program was:" >&5
18680 sed 's/^/| /' conftest.$ac_ext >&5
18681
18682 ac_cv_type_void_p=no
18683 fi
18684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18685 fi
18686 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18687 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18688
18689 echo "$as_me:$LINENO: checking size of void *" >&5
18690 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18691 if test "${ac_cv_sizeof_void_p+set}" = set; then
18692 echo $ECHO_N "(cached) $ECHO_C" >&6
18693 else
18694 if test "$ac_cv_type_void_p" = yes; then
18695 # The cast to unsigned long works around a bug in the HP C Compiler
18696 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18697 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18698 # This bug is HP SR number 8606223364.
18699 if test "$cross_compiling" = yes; then
18700 # Depending upon the size, compute the lo and hi bounds.
18701 cat >conftest.$ac_ext <<_ACEOF
18702 /* confdefs.h. */
18703 _ACEOF
18704 cat confdefs.h >>conftest.$ac_ext
18705 cat >>conftest.$ac_ext <<_ACEOF
18706 /* end confdefs.h. */
18707 $ac_includes_default
18708 int
18709 main ()
18710 {
18711 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18712 test_array [0] = 0
18713
18714 ;
18715 return 0;
18716 }
18717 _ACEOF
18718 rm -f conftest.$ac_objext
18719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18720 (eval $ac_compile) 2>conftest.er1
18721 ac_status=$?
18722 grep -v '^ *+' conftest.er1 >conftest.err
18723 rm -f conftest.er1
18724 cat conftest.err >&5
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); } &&
18727 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18729 (eval $ac_try) 2>&5
18730 ac_status=$?
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); }; } &&
18733 { ac_try='test -s conftest.$ac_objext'
18734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18735 (eval $ac_try) 2>&5
18736 ac_status=$?
18737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18738 (exit $ac_status); }; }; then
18739 ac_lo=0 ac_mid=0
18740 while :; do
18741 cat >conftest.$ac_ext <<_ACEOF
18742 /* confdefs.h. */
18743 _ACEOF
18744 cat confdefs.h >>conftest.$ac_ext
18745 cat >>conftest.$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747 $ac_includes_default
18748 int
18749 main ()
18750 {
18751 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18752 test_array [0] = 0
18753
18754 ;
18755 return 0;
18756 }
18757 _ACEOF
18758 rm -f conftest.$ac_objext
18759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18760 (eval $ac_compile) 2>conftest.er1
18761 ac_status=$?
18762 grep -v '^ *+' conftest.er1 >conftest.err
18763 rm -f conftest.er1
18764 cat conftest.err >&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); } &&
18767 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18769 (eval $ac_try) 2>&5
18770 ac_status=$?
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); }; } &&
18773 { ac_try='test -s conftest.$ac_objext'
18774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18775 (eval $ac_try) 2>&5
18776 ac_status=$?
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); }; }; then
18779 ac_hi=$ac_mid; break
18780 else
18781 echo "$as_me: failed program was:" >&5
18782 sed 's/^/| /' conftest.$ac_ext >&5
18783
18784 ac_lo=`expr $ac_mid + 1`
18785 if test $ac_lo -le $ac_mid; then
18786 ac_lo= ac_hi=
18787 break
18788 fi
18789 ac_mid=`expr 2 '*' $ac_mid + 1`
18790 fi
18791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18792 done
18793 else
18794 echo "$as_me: failed program was:" >&5
18795 sed 's/^/| /' conftest.$ac_ext >&5
18796
18797 cat >conftest.$ac_ext <<_ACEOF
18798 /* confdefs.h. */
18799 _ACEOF
18800 cat confdefs.h >>conftest.$ac_ext
18801 cat >>conftest.$ac_ext <<_ACEOF
18802 /* end confdefs.h. */
18803 $ac_includes_default
18804 int
18805 main ()
18806 {
18807 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18808 test_array [0] = 0
18809
18810 ;
18811 return 0;
18812 }
18813 _ACEOF
18814 rm -f conftest.$ac_objext
18815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18816 (eval $ac_compile) 2>conftest.er1
18817 ac_status=$?
18818 grep -v '^ *+' conftest.er1 >conftest.err
18819 rm -f conftest.er1
18820 cat conftest.err >&5
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); } &&
18823 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18825 (eval $ac_try) 2>&5
18826 ac_status=$?
18827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18828 (exit $ac_status); }; } &&
18829 { ac_try='test -s conftest.$ac_objext'
18830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18831 (eval $ac_try) 2>&5
18832 ac_status=$?
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); }; }; then
18835 ac_hi=-1 ac_mid=-1
18836 while :; do
18837 cat >conftest.$ac_ext <<_ACEOF
18838 /* confdefs.h. */
18839 _ACEOF
18840 cat confdefs.h >>conftest.$ac_ext
18841 cat >>conftest.$ac_ext <<_ACEOF
18842 /* end confdefs.h. */
18843 $ac_includes_default
18844 int
18845 main ()
18846 {
18847 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18848 test_array [0] = 0
18849
18850 ;
18851 return 0;
18852 }
18853 _ACEOF
18854 rm -f conftest.$ac_objext
18855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18856 (eval $ac_compile) 2>conftest.er1
18857 ac_status=$?
18858 grep -v '^ *+' conftest.er1 >conftest.err
18859 rm -f conftest.er1
18860 cat conftest.err >&5
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); } &&
18863 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18865 (eval $ac_try) 2>&5
18866 ac_status=$?
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); }; } &&
18869 { ac_try='test -s conftest.$ac_objext'
18870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18871 (eval $ac_try) 2>&5
18872 ac_status=$?
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); }; }; then
18875 ac_lo=$ac_mid; break
18876 else
18877 echo "$as_me: failed program was:" >&5
18878 sed 's/^/| /' conftest.$ac_ext >&5
18879
18880 ac_hi=`expr '(' $ac_mid ')' - 1`
18881 if test $ac_mid -le $ac_hi; then
18882 ac_lo= ac_hi=
18883 break
18884 fi
18885 ac_mid=`expr 2 '*' $ac_mid`
18886 fi
18887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18888 done
18889 else
18890 echo "$as_me: failed program was:" >&5
18891 sed 's/^/| /' conftest.$ac_ext >&5
18892
18893 ac_lo= ac_hi=
18894 fi
18895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18896 fi
18897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18898 # Binary search between lo and hi bounds.
18899 while test "x$ac_lo" != "x$ac_hi"; do
18900 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18901 cat >conftest.$ac_ext <<_ACEOF
18902 /* confdefs.h. */
18903 _ACEOF
18904 cat confdefs.h >>conftest.$ac_ext
18905 cat >>conftest.$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18907 $ac_includes_default
18908 int
18909 main ()
18910 {
18911 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18912 test_array [0] = 0
18913
18914 ;
18915 return 0;
18916 }
18917 _ACEOF
18918 rm -f conftest.$ac_objext
18919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18920 (eval $ac_compile) 2>conftest.er1
18921 ac_status=$?
18922 grep -v '^ *+' conftest.er1 >conftest.err
18923 rm -f conftest.er1
18924 cat conftest.err >&5
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); } &&
18927 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
18933 { ac_try='test -s conftest.$ac_objext'
18934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18935 (eval $ac_try) 2>&5
18936 ac_status=$?
18937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938 (exit $ac_status); }; }; then
18939 ac_hi=$ac_mid
18940 else
18941 echo "$as_me: failed program was:" >&5
18942 sed 's/^/| /' conftest.$ac_ext >&5
18943
18944 ac_lo=`expr '(' $ac_mid ')' + 1`
18945 fi
18946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18947 done
18948 case $ac_lo in
18949 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18950 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18951 See \`config.log' for more details." >&5
18952 echo "$as_me: error: cannot compute sizeof (void *), 77
18953 See \`config.log' for more details." >&2;}
18954 { (exit 1); exit 1; }; } ;;
18955 esac
18956 else
18957 if test "$cross_compiling" = yes; then
18958 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18959 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18960 { (exit 1); exit 1; }; }
18961 else
18962 cat >conftest.$ac_ext <<_ACEOF
18963 /* confdefs.h. */
18964 _ACEOF
18965 cat confdefs.h >>conftest.$ac_ext
18966 cat >>conftest.$ac_ext <<_ACEOF
18967 /* end confdefs.h. */
18968 $ac_includes_default
18969 long longval () { return (long) (sizeof (void *)); }
18970 unsigned long ulongval () { return (long) (sizeof (void *)); }
18971 #include <stdio.h>
18972 #include <stdlib.h>
18973 int
18974 main ()
18975 {
18976
18977 FILE *f = fopen ("conftest.val", "w");
18978 if (! f)
18979 exit (1);
18980 if (((long) (sizeof (void *))) < 0)
18981 {
18982 long i = longval ();
18983 if (i != ((long) (sizeof (void *))))
18984 exit (1);
18985 fprintf (f, "%ld\n", i);
18986 }
18987 else
18988 {
18989 unsigned long i = ulongval ();
18990 if (i != ((long) (sizeof (void *))))
18991 exit (1);
18992 fprintf (f, "%lu\n", i);
18993 }
18994 exit (ferror (f) || fclose (f) != 0);
18995
18996 ;
18997 return 0;
18998 }
18999 _ACEOF
19000 rm -f conftest$ac_exeext
19001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19002 (eval $ac_link) 2>&5
19003 ac_status=$?
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19007 (eval $ac_try) 2>&5
19008 ac_status=$?
19009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19010 (exit $ac_status); }; }; then
19011 ac_cv_sizeof_void_p=`cat conftest.val`
19012 else
19013 echo "$as_me: program exited with status $ac_status" >&5
19014 echo "$as_me: failed program was:" >&5
19015 sed 's/^/| /' conftest.$ac_ext >&5
19016
19017 ( exit $ac_status )
19018 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19019 See \`config.log' for more details." >&5
19020 echo "$as_me: error: cannot compute sizeof (void *), 77
19021 See \`config.log' for more details." >&2;}
19022 { (exit 1); exit 1; }; }
19023 fi
19024 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19025 fi
19026 fi
19027 rm -f conftest.val
19028 else
19029 ac_cv_sizeof_void_p=0
19030 fi
19031 fi
19032 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19033 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19034 cat >>confdefs.h <<_ACEOF
19035 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19036 _ACEOF
19037
19038
19039 echo "$as_me:$LINENO: checking for int" >&5
19040 echo $ECHO_N "checking for int... $ECHO_C" >&6
19041 if test "${ac_cv_type_int+set}" = set; then
19042 echo $ECHO_N "(cached) $ECHO_C" >&6
19043 else
19044 cat >conftest.$ac_ext <<_ACEOF
19045 /* confdefs.h. */
19046 _ACEOF
19047 cat confdefs.h >>conftest.$ac_ext
19048 cat >>conftest.$ac_ext <<_ACEOF
19049 /* end confdefs.h. */
19050 $ac_includes_default
19051 int
19052 main ()
19053 {
19054 if ((int *) 0)
19055 return 0;
19056 if (sizeof (int))
19057 return 0;
19058 ;
19059 return 0;
19060 }
19061 _ACEOF
19062 rm -f conftest.$ac_objext
19063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19064 (eval $ac_compile) 2>conftest.er1
19065 ac_status=$?
19066 grep -v '^ *+' conftest.er1 >conftest.err
19067 rm -f conftest.er1
19068 cat conftest.err >&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); } &&
19071 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073 (eval $ac_try) 2>&5
19074 ac_status=$?
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); }; } &&
19077 { ac_try='test -s conftest.$ac_objext'
19078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19079 (eval $ac_try) 2>&5
19080 ac_status=$?
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; }; then
19083 ac_cv_type_int=yes
19084 else
19085 echo "$as_me: failed program was:" >&5
19086 sed 's/^/| /' conftest.$ac_ext >&5
19087
19088 ac_cv_type_int=no
19089 fi
19090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19091 fi
19092 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19093 echo "${ECHO_T}$ac_cv_type_int" >&6
19094
19095 echo "$as_me:$LINENO: checking size of int" >&5
19096 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19097 if test "${ac_cv_sizeof_int+set}" = set; then
19098 echo $ECHO_N "(cached) $ECHO_C" >&6
19099 else
19100 if test "$ac_cv_type_int" = yes; then
19101 # The cast to unsigned long works around a bug in the HP C Compiler
19102 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19103 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19104 # This bug is HP SR number 8606223364.
19105 if test "$cross_compiling" = yes; then
19106 # Depending upon the size, compute the lo and hi bounds.
19107 cat >conftest.$ac_ext <<_ACEOF
19108 /* confdefs.h. */
19109 _ACEOF
19110 cat confdefs.h >>conftest.$ac_ext
19111 cat >>conftest.$ac_ext <<_ACEOF
19112 /* end confdefs.h. */
19113 $ac_includes_default
19114 int
19115 main ()
19116 {
19117 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19118 test_array [0] = 0
19119
19120 ;
19121 return 0;
19122 }
19123 _ACEOF
19124 rm -f conftest.$ac_objext
19125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19126 (eval $ac_compile) 2>conftest.er1
19127 ac_status=$?
19128 grep -v '^ *+' conftest.er1 >conftest.err
19129 rm -f conftest.er1
19130 cat conftest.err >&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); } &&
19133 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135 (eval $ac_try) 2>&5
19136 ac_status=$?
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); }; } &&
19139 { ac_try='test -s conftest.$ac_objext'
19140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19141 (eval $ac_try) 2>&5
19142 ac_status=$?
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); }; }; then
19145 ac_lo=0 ac_mid=0
19146 while :; do
19147 cat >conftest.$ac_ext <<_ACEOF
19148 /* confdefs.h. */
19149 _ACEOF
19150 cat confdefs.h >>conftest.$ac_ext
19151 cat >>conftest.$ac_ext <<_ACEOF
19152 /* end confdefs.h. */
19153 $ac_includes_default
19154 int
19155 main ()
19156 {
19157 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19158 test_array [0] = 0
19159
19160 ;
19161 return 0;
19162 }
19163 _ACEOF
19164 rm -f conftest.$ac_objext
19165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19166 (eval $ac_compile) 2>conftest.er1
19167 ac_status=$?
19168 grep -v '^ *+' conftest.er1 >conftest.err
19169 rm -f conftest.er1
19170 cat conftest.err >&5
19171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19172 (exit $ac_status); } &&
19173 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19175 (eval $ac_try) 2>&5
19176 ac_status=$?
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); }; } &&
19179 { ac_try='test -s conftest.$ac_objext'
19180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19181 (eval $ac_try) 2>&5
19182 ac_status=$?
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); }; }; then
19185 ac_hi=$ac_mid; break
19186 else
19187 echo "$as_me: failed program was:" >&5
19188 sed 's/^/| /' conftest.$ac_ext >&5
19189
19190 ac_lo=`expr $ac_mid + 1`
19191 if test $ac_lo -le $ac_mid; then
19192 ac_lo= ac_hi=
19193 break
19194 fi
19195 ac_mid=`expr 2 '*' $ac_mid + 1`
19196 fi
19197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19198 done
19199 else
19200 echo "$as_me: failed program was:" >&5
19201 sed 's/^/| /' conftest.$ac_ext >&5
19202
19203 cat >conftest.$ac_ext <<_ACEOF
19204 /* confdefs.h. */
19205 _ACEOF
19206 cat confdefs.h >>conftest.$ac_ext
19207 cat >>conftest.$ac_ext <<_ACEOF
19208 /* end confdefs.h. */
19209 $ac_includes_default
19210 int
19211 main ()
19212 {
19213 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19214 test_array [0] = 0
19215
19216 ;
19217 return 0;
19218 }
19219 _ACEOF
19220 rm -f conftest.$ac_objext
19221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19222 (eval $ac_compile) 2>conftest.er1
19223 ac_status=$?
19224 grep -v '^ *+' conftest.er1 >conftest.err
19225 rm -f conftest.er1
19226 cat conftest.err >&5
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); } &&
19229 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19231 (eval $ac_try) 2>&5
19232 ac_status=$?
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); }; } &&
19235 { ac_try='test -s conftest.$ac_objext'
19236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19237 (eval $ac_try) 2>&5
19238 ac_status=$?
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); }; }; then
19241 ac_hi=-1 ac_mid=-1
19242 while :; do
19243 cat >conftest.$ac_ext <<_ACEOF
19244 /* confdefs.h. */
19245 _ACEOF
19246 cat confdefs.h >>conftest.$ac_ext
19247 cat >>conftest.$ac_ext <<_ACEOF
19248 /* end confdefs.h. */
19249 $ac_includes_default
19250 int
19251 main ()
19252 {
19253 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19254 test_array [0] = 0
19255
19256 ;
19257 return 0;
19258 }
19259 _ACEOF
19260 rm -f conftest.$ac_objext
19261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19262 (eval $ac_compile) 2>conftest.er1
19263 ac_status=$?
19264 grep -v '^ *+' conftest.er1 >conftest.err
19265 rm -f conftest.er1
19266 cat conftest.err >&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } &&
19269 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19271 (eval $ac_try) 2>&5
19272 ac_status=$?
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); }; } &&
19275 { ac_try='test -s conftest.$ac_objext'
19276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19277 (eval $ac_try) 2>&5
19278 ac_status=$?
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); }; }; then
19281 ac_lo=$ac_mid; break
19282 else
19283 echo "$as_me: failed program was:" >&5
19284 sed 's/^/| /' conftest.$ac_ext >&5
19285
19286 ac_hi=`expr '(' $ac_mid ')' - 1`
19287 if test $ac_mid -le $ac_hi; then
19288 ac_lo= ac_hi=
19289 break
19290 fi
19291 ac_mid=`expr 2 '*' $ac_mid`
19292 fi
19293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19294 done
19295 else
19296 echo "$as_me: failed program was:" >&5
19297 sed 's/^/| /' conftest.$ac_ext >&5
19298
19299 ac_lo= ac_hi=
19300 fi
19301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19302 fi
19303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19304 # Binary search between lo and hi bounds.
19305 while test "x$ac_lo" != "x$ac_hi"; do
19306 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19307 cat >conftest.$ac_ext <<_ACEOF
19308 /* confdefs.h. */
19309 _ACEOF
19310 cat confdefs.h >>conftest.$ac_ext
19311 cat >>conftest.$ac_ext <<_ACEOF
19312 /* end confdefs.h. */
19313 $ac_includes_default
19314 int
19315 main ()
19316 {
19317 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19318 test_array [0] = 0
19319
19320 ;
19321 return 0;
19322 }
19323 _ACEOF
19324 rm -f conftest.$ac_objext
19325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19326 (eval $ac_compile) 2>conftest.er1
19327 ac_status=$?
19328 grep -v '^ *+' conftest.er1 >conftest.err
19329 rm -f conftest.er1
19330 cat conftest.err >&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); } &&
19333 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
19339 { ac_try='test -s conftest.$ac_objext'
19340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19341 (eval $ac_try) 2>&5
19342 ac_status=$?
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); }; }; then
19345 ac_hi=$ac_mid
19346 else
19347 echo "$as_me: failed program was:" >&5
19348 sed 's/^/| /' conftest.$ac_ext >&5
19349
19350 ac_lo=`expr '(' $ac_mid ')' + 1`
19351 fi
19352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19353 done
19354 case $ac_lo in
19355 ?*) ac_cv_sizeof_int=$ac_lo;;
19356 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19357 See \`config.log' for more details." >&5
19358 echo "$as_me: error: cannot compute sizeof (int), 77
19359 See \`config.log' for more details." >&2;}
19360 { (exit 1); exit 1; }; } ;;
19361 esac
19362 else
19363 if test "$cross_compiling" = yes; then
19364 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19365 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19366 { (exit 1); exit 1; }; }
19367 else
19368 cat >conftest.$ac_ext <<_ACEOF
19369 /* confdefs.h. */
19370 _ACEOF
19371 cat confdefs.h >>conftest.$ac_ext
19372 cat >>conftest.$ac_ext <<_ACEOF
19373 /* end confdefs.h. */
19374 $ac_includes_default
19375 long longval () { return (long) (sizeof (int)); }
19376 unsigned long ulongval () { return (long) (sizeof (int)); }
19377 #include <stdio.h>
19378 #include <stdlib.h>
19379 int
19380 main ()
19381 {
19382
19383 FILE *f = fopen ("conftest.val", "w");
19384 if (! f)
19385 exit (1);
19386 if (((long) (sizeof (int))) < 0)
19387 {
19388 long i = longval ();
19389 if (i != ((long) (sizeof (int))))
19390 exit (1);
19391 fprintf (f, "%ld\n", i);
19392 }
19393 else
19394 {
19395 unsigned long i = ulongval ();
19396 if (i != ((long) (sizeof (int))))
19397 exit (1);
19398 fprintf (f, "%lu\n", i);
19399 }
19400 exit (ferror (f) || fclose (f) != 0);
19401
19402 ;
19403 return 0;
19404 }
19405 _ACEOF
19406 rm -f conftest$ac_exeext
19407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19408 (eval $ac_link) 2>&5
19409 ac_status=$?
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19413 (eval $ac_try) 2>&5
19414 ac_status=$?
19415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19416 (exit $ac_status); }; }; then
19417 ac_cv_sizeof_int=`cat conftest.val`
19418 else
19419 echo "$as_me: program exited with status $ac_status" >&5
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19422
19423 ( exit $ac_status )
19424 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19425 See \`config.log' for more details." >&5
19426 echo "$as_me: error: cannot compute sizeof (int), 77
19427 See \`config.log' for more details." >&2;}
19428 { (exit 1); exit 1; }; }
19429 fi
19430 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19431 fi
19432 fi
19433 rm -f conftest.val
19434 else
19435 ac_cv_sizeof_int=0
19436 fi
19437 fi
19438 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19439 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19440 cat >>confdefs.h <<_ACEOF
19441 #define SIZEOF_INT $ac_cv_sizeof_int
19442 _ACEOF
19443
19444
19445 echo "$as_me:$LINENO: checking for long" >&5
19446 echo $ECHO_N "checking for long... $ECHO_C" >&6
19447 if test "${ac_cv_type_long+set}" = set; then
19448 echo $ECHO_N "(cached) $ECHO_C" >&6
19449 else
19450 cat >conftest.$ac_ext <<_ACEOF
19451 /* confdefs.h. */
19452 _ACEOF
19453 cat confdefs.h >>conftest.$ac_ext
19454 cat >>conftest.$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19456 $ac_includes_default
19457 int
19458 main ()
19459 {
19460 if ((long *) 0)
19461 return 0;
19462 if (sizeof (long))
19463 return 0;
19464 ;
19465 return 0;
19466 }
19467 _ACEOF
19468 rm -f conftest.$ac_objext
19469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19470 (eval $ac_compile) 2>conftest.er1
19471 ac_status=$?
19472 grep -v '^ *+' conftest.er1 >conftest.err
19473 rm -f conftest.er1
19474 cat conftest.err >&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); } &&
19477 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19479 (eval $ac_try) 2>&5
19480 ac_status=$?
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); }; } &&
19483 { ac_try='test -s conftest.$ac_objext'
19484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19485 (eval $ac_try) 2>&5
19486 ac_status=$?
19487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 (exit $ac_status); }; }; then
19489 ac_cv_type_long=yes
19490 else
19491 echo "$as_me: failed program was:" >&5
19492 sed 's/^/| /' conftest.$ac_ext >&5
19493
19494 ac_cv_type_long=no
19495 fi
19496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19497 fi
19498 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19499 echo "${ECHO_T}$ac_cv_type_long" >&6
19500
19501 echo "$as_me:$LINENO: checking size of long" >&5
19502 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19503 if test "${ac_cv_sizeof_long+set}" = set; then
19504 echo $ECHO_N "(cached) $ECHO_C" >&6
19505 else
19506 if test "$ac_cv_type_long" = yes; then
19507 # The cast to unsigned long works around a bug in the HP C Compiler
19508 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19509 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19510 # This bug is HP SR number 8606223364.
19511 if test "$cross_compiling" = yes; then
19512 # Depending upon the size, compute the lo and hi bounds.
19513 cat >conftest.$ac_ext <<_ACEOF
19514 /* confdefs.h. */
19515 _ACEOF
19516 cat confdefs.h >>conftest.$ac_ext
19517 cat >>conftest.$ac_ext <<_ACEOF
19518 /* end confdefs.h. */
19519 $ac_includes_default
19520 int
19521 main ()
19522 {
19523 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19524 test_array [0] = 0
19525
19526 ;
19527 return 0;
19528 }
19529 _ACEOF
19530 rm -f conftest.$ac_objext
19531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19532 (eval $ac_compile) 2>conftest.er1
19533 ac_status=$?
19534 grep -v '^ *+' conftest.er1 >conftest.err
19535 rm -f conftest.er1
19536 cat conftest.err >&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); } &&
19539 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19541 (eval $ac_try) 2>&5
19542 ac_status=$?
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); }; } &&
19545 { ac_try='test -s conftest.$ac_objext'
19546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19547 (eval $ac_try) 2>&5
19548 ac_status=$?
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); }; }; then
19551 ac_lo=0 ac_mid=0
19552 while :; do
19553 cat >conftest.$ac_ext <<_ACEOF
19554 /* confdefs.h. */
19555 _ACEOF
19556 cat confdefs.h >>conftest.$ac_ext
19557 cat >>conftest.$ac_ext <<_ACEOF
19558 /* end confdefs.h. */
19559 $ac_includes_default
19560 int
19561 main ()
19562 {
19563 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19564 test_array [0] = 0
19565
19566 ;
19567 return 0;
19568 }
19569 _ACEOF
19570 rm -f conftest.$ac_objext
19571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19572 (eval $ac_compile) 2>conftest.er1
19573 ac_status=$?
19574 grep -v '^ *+' conftest.er1 >conftest.err
19575 rm -f conftest.er1
19576 cat conftest.err >&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); } &&
19579 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19581 (eval $ac_try) 2>&5
19582 ac_status=$?
19583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19584 (exit $ac_status); }; } &&
19585 { ac_try='test -s conftest.$ac_objext'
19586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19587 (eval $ac_try) 2>&5
19588 ac_status=$?
19589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19590 (exit $ac_status); }; }; then
19591 ac_hi=$ac_mid; break
19592 else
19593 echo "$as_me: failed program was:" >&5
19594 sed 's/^/| /' conftest.$ac_ext >&5
19595
19596 ac_lo=`expr $ac_mid + 1`
19597 if test $ac_lo -le $ac_mid; then
19598 ac_lo= ac_hi=
19599 break
19600 fi
19601 ac_mid=`expr 2 '*' $ac_mid + 1`
19602 fi
19603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19604 done
19605 else
19606 echo "$as_me: failed program was:" >&5
19607 sed 's/^/| /' conftest.$ac_ext >&5
19608
19609 cat >conftest.$ac_ext <<_ACEOF
19610 /* confdefs.h. */
19611 _ACEOF
19612 cat confdefs.h >>conftest.$ac_ext
19613 cat >>conftest.$ac_ext <<_ACEOF
19614 /* end confdefs.h. */
19615 $ac_includes_default
19616 int
19617 main ()
19618 {
19619 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19620 test_array [0] = 0
19621
19622 ;
19623 return 0;
19624 }
19625 _ACEOF
19626 rm -f conftest.$ac_objext
19627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19628 (eval $ac_compile) 2>conftest.er1
19629 ac_status=$?
19630 grep -v '^ *+' conftest.er1 >conftest.err
19631 rm -f conftest.er1
19632 cat conftest.err >&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); } &&
19635 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19637 (eval $ac_try) 2>&5
19638 ac_status=$?
19639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19640 (exit $ac_status); }; } &&
19641 { ac_try='test -s conftest.$ac_objext'
19642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19643 (eval $ac_try) 2>&5
19644 ac_status=$?
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); }; }; then
19647 ac_hi=-1 ac_mid=-1
19648 while :; do
19649 cat >conftest.$ac_ext <<_ACEOF
19650 /* confdefs.h. */
19651 _ACEOF
19652 cat confdefs.h >>conftest.$ac_ext
19653 cat >>conftest.$ac_ext <<_ACEOF
19654 /* end confdefs.h. */
19655 $ac_includes_default
19656 int
19657 main ()
19658 {
19659 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19660 test_array [0] = 0
19661
19662 ;
19663 return 0;
19664 }
19665 _ACEOF
19666 rm -f conftest.$ac_objext
19667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19668 (eval $ac_compile) 2>conftest.er1
19669 ac_status=$?
19670 grep -v '^ *+' conftest.er1 >conftest.err
19671 rm -f conftest.er1
19672 cat conftest.err >&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } &&
19675 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19677 (eval $ac_try) 2>&5
19678 ac_status=$?
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); }; } &&
19681 { ac_try='test -s conftest.$ac_objext'
19682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19683 (eval $ac_try) 2>&5
19684 ac_status=$?
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); }; }; then
19687 ac_lo=$ac_mid; break
19688 else
19689 echo "$as_me: failed program was:" >&5
19690 sed 's/^/| /' conftest.$ac_ext >&5
19691
19692 ac_hi=`expr '(' $ac_mid ')' - 1`
19693 if test $ac_mid -le $ac_hi; then
19694 ac_lo= ac_hi=
19695 break
19696 fi
19697 ac_mid=`expr 2 '*' $ac_mid`
19698 fi
19699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19700 done
19701 else
19702 echo "$as_me: failed program was:" >&5
19703 sed 's/^/| /' conftest.$ac_ext >&5
19704
19705 ac_lo= ac_hi=
19706 fi
19707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19708 fi
19709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19710 # Binary search between lo and hi bounds.
19711 while test "x$ac_lo" != "x$ac_hi"; do
19712 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19713 cat >conftest.$ac_ext <<_ACEOF
19714 /* confdefs.h. */
19715 _ACEOF
19716 cat confdefs.h >>conftest.$ac_ext
19717 cat >>conftest.$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19719 $ac_includes_default
19720 int
19721 main ()
19722 {
19723 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19724 test_array [0] = 0
19725
19726 ;
19727 return 0;
19728 }
19729 _ACEOF
19730 rm -f conftest.$ac_objext
19731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19732 (eval $ac_compile) 2>conftest.er1
19733 ac_status=$?
19734 grep -v '^ *+' conftest.er1 >conftest.err
19735 rm -f conftest.er1
19736 cat conftest.err >&5
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); } &&
19739 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
19745 { ac_try='test -s conftest.$ac_objext'
19746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19747 (eval $ac_try) 2>&5
19748 ac_status=$?
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); }; }; then
19751 ac_hi=$ac_mid
19752 else
19753 echo "$as_me: failed program was:" >&5
19754 sed 's/^/| /' conftest.$ac_ext >&5
19755
19756 ac_lo=`expr '(' $ac_mid ')' + 1`
19757 fi
19758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19759 done
19760 case $ac_lo in
19761 ?*) ac_cv_sizeof_long=$ac_lo;;
19762 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19763 See \`config.log' for more details." >&5
19764 echo "$as_me: error: cannot compute sizeof (long), 77
19765 See \`config.log' for more details." >&2;}
19766 { (exit 1); exit 1; }; } ;;
19767 esac
19768 else
19769 if test "$cross_compiling" = yes; then
19770 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19771 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19772 { (exit 1); exit 1; }; }
19773 else
19774 cat >conftest.$ac_ext <<_ACEOF
19775 /* confdefs.h. */
19776 _ACEOF
19777 cat confdefs.h >>conftest.$ac_ext
19778 cat >>conftest.$ac_ext <<_ACEOF
19779 /* end confdefs.h. */
19780 $ac_includes_default
19781 long longval () { return (long) (sizeof (long)); }
19782 unsigned long ulongval () { return (long) (sizeof (long)); }
19783 #include <stdio.h>
19784 #include <stdlib.h>
19785 int
19786 main ()
19787 {
19788
19789 FILE *f = fopen ("conftest.val", "w");
19790 if (! f)
19791 exit (1);
19792 if (((long) (sizeof (long))) < 0)
19793 {
19794 long i = longval ();
19795 if (i != ((long) (sizeof (long))))
19796 exit (1);
19797 fprintf (f, "%ld\n", i);
19798 }
19799 else
19800 {
19801 unsigned long i = ulongval ();
19802 if (i != ((long) (sizeof (long))))
19803 exit (1);
19804 fprintf (f, "%lu\n", i);
19805 }
19806 exit (ferror (f) || fclose (f) != 0);
19807
19808 ;
19809 return 0;
19810 }
19811 _ACEOF
19812 rm -f conftest$ac_exeext
19813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19814 (eval $ac_link) 2>&5
19815 ac_status=$?
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19819 (eval $ac_try) 2>&5
19820 ac_status=$?
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); }; }; then
19823 ac_cv_sizeof_long=`cat conftest.val`
19824 else
19825 echo "$as_me: program exited with status $ac_status" >&5
19826 echo "$as_me: failed program was:" >&5
19827 sed 's/^/| /' conftest.$ac_ext >&5
19828
19829 ( exit $ac_status )
19830 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19831 See \`config.log' for more details." >&5
19832 echo "$as_me: error: cannot compute sizeof (long), 77
19833 See \`config.log' for more details." >&2;}
19834 { (exit 1); exit 1; }; }
19835 fi
19836 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19837 fi
19838 fi
19839 rm -f conftest.val
19840 else
19841 ac_cv_sizeof_long=0
19842 fi
19843 fi
19844 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19845 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19846 cat >>confdefs.h <<_ACEOF
19847 #define SIZEOF_LONG $ac_cv_sizeof_long
19848 _ACEOF
19849
19850
19851 echo "$as_me:$LINENO: checking for size_t" >&5
19852 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19853 if test "${ac_cv_type_size_t+set}" = set; then
19854 echo $ECHO_N "(cached) $ECHO_C" >&6
19855 else
19856 cat >conftest.$ac_ext <<_ACEOF
19857 /* confdefs.h. */
19858 _ACEOF
19859 cat confdefs.h >>conftest.$ac_ext
19860 cat >>conftest.$ac_ext <<_ACEOF
19861 /* end confdefs.h. */
19862 $ac_includes_default
19863 int
19864 main ()
19865 {
19866 if ((size_t *) 0)
19867 return 0;
19868 if (sizeof (size_t))
19869 return 0;
19870 ;
19871 return 0;
19872 }
19873 _ACEOF
19874 rm -f conftest.$ac_objext
19875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19876 (eval $ac_compile) 2>conftest.er1
19877 ac_status=$?
19878 grep -v '^ *+' conftest.er1 >conftest.err
19879 rm -f conftest.er1
19880 cat conftest.err >&5
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); } &&
19883 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19885 (eval $ac_try) 2>&5
19886 ac_status=$?
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); }; } &&
19889 { ac_try='test -s conftest.$ac_objext'
19890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19891 (eval $ac_try) 2>&5
19892 ac_status=$?
19893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19894 (exit $ac_status); }; }; then
19895 ac_cv_type_size_t=yes
19896 else
19897 echo "$as_me: failed program was:" >&5
19898 sed 's/^/| /' conftest.$ac_ext >&5
19899
19900 ac_cv_type_size_t=no
19901 fi
19902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19903 fi
19904 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19905 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19906
19907 echo "$as_me:$LINENO: checking size of size_t" >&5
19908 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19909 if test "${ac_cv_sizeof_size_t+set}" = set; then
19910 echo $ECHO_N "(cached) $ECHO_C" >&6
19911 else
19912 if test "$ac_cv_type_size_t" = yes; then
19913 # The cast to unsigned long works around a bug in the HP C Compiler
19914 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19915 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19916 # This bug is HP SR number 8606223364.
19917 if test "$cross_compiling" = yes; then
19918 # Depending upon the size, compute the lo and hi bounds.
19919 cat >conftest.$ac_ext <<_ACEOF
19920 /* confdefs.h. */
19921 _ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 $ac_includes_default
19926 int
19927 main ()
19928 {
19929 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19930 test_array [0] = 0
19931
19932 ;
19933 return 0;
19934 }
19935 _ACEOF
19936 rm -f conftest.$ac_objext
19937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19938 (eval $ac_compile) 2>conftest.er1
19939 ac_status=$?
19940 grep -v '^ *+' conftest.er1 >conftest.err
19941 rm -f conftest.er1
19942 cat conftest.err >&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); } &&
19945 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19947 (eval $ac_try) 2>&5
19948 ac_status=$?
19949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19950 (exit $ac_status); }; } &&
19951 { ac_try='test -s conftest.$ac_objext'
19952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19953 (eval $ac_try) 2>&5
19954 ac_status=$?
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); }; }; then
19957 ac_lo=0 ac_mid=0
19958 while :; do
19959 cat >conftest.$ac_ext <<_ACEOF
19960 /* confdefs.h. */
19961 _ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19965 $ac_includes_default
19966 int
19967 main ()
19968 {
19969 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19970 test_array [0] = 0
19971
19972 ;
19973 return 0;
19974 }
19975 _ACEOF
19976 rm -f conftest.$ac_objext
19977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19978 (eval $ac_compile) 2>conftest.er1
19979 ac_status=$?
19980 grep -v '^ *+' conftest.er1 >conftest.err
19981 rm -f conftest.er1
19982 cat conftest.err >&5
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); } &&
19985 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19987 (eval $ac_try) 2>&5
19988 ac_status=$?
19989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19990 (exit $ac_status); }; } &&
19991 { ac_try='test -s conftest.$ac_objext'
19992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19993 (eval $ac_try) 2>&5
19994 ac_status=$?
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); }; }; then
19997 ac_hi=$ac_mid; break
19998 else
19999 echo "$as_me: failed program was:" >&5
20000 sed 's/^/| /' conftest.$ac_ext >&5
20001
20002 ac_lo=`expr $ac_mid + 1`
20003 if test $ac_lo -le $ac_mid; then
20004 ac_lo= ac_hi=
20005 break
20006 fi
20007 ac_mid=`expr 2 '*' $ac_mid + 1`
20008 fi
20009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20010 done
20011 else
20012 echo "$as_me: failed program was:" >&5
20013 sed 's/^/| /' conftest.$ac_ext >&5
20014
20015 cat >conftest.$ac_ext <<_ACEOF
20016 /* confdefs.h. */
20017 _ACEOF
20018 cat confdefs.h >>conftest.$ac_ext
20019 cat >>conftest.$ac_ext <<_ACEOF
20020 /* end confdefs.h. */
20021 $ac_includes_default
20022 int
20023 main ()
20024 {
20025 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20026 test_array [0] = 0
20027
20028 ;
20029 return 0;
20030 }
20031 _ACEOF
20032 rm -f conftest.$ac_objext
20033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20034 (eval $ac_compile) 2>conftest.er1
20035 ac_status=$?
20036 grep -v '^ *+' conftest.er1 >conftest.err
20037 rm -f conftest.er1
20038 cat conftest.err >&5
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); } &&
20041 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20043 (eval $ac_try) 2>&5
20044 ac_status=$?
20045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046 (exit $ac_status); }; } &&
20047 { ac_try='test -s conftest.$ac_objext'
20048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049 (eval $ac_try) 2>&5
20050 ac_status=$?
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); }; }; then
20053 ac_hi=-1 ac_mid=-1
20054 while :; do
20055 cat >conftest.$ac_ext <<_ACEOF
20056 /* confdefs.h. */
20057 _ACEOF
20058 cat confdefs.h >>conftest.$ac_ext
20059 cat >>conftest.$ac_ext <<_ACEOF
20060 /* end confdefs.h. */
20061 $ac_includes_default
20062 int
20063 main ()
20064 {
20065 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20066 test_array [0] = 0
20067
20068 ;
20069 return 0;
20070 }
20071 _ACEOF
20072 rm -f conftest.$ac_objext
20073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20074 (eval $ac_compile) 2>conftest.er1
20075 ac_status=$?
20076 grep -v '^ *+' conftest.er1 >conftest.err
20077 rm -f conftest.er1
20078 cat conftest.err >&5
20079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20080 (exit $ac_status); } &&
20081 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20083 (eval $ac_try) 2>&5
20084 ac_status=$?
20085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20086 (exit $ac_status); }; } &&
20087 { ac_try='test -s conftest.$ac_objext'
20088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20089 (eval $ac_try) 2>&5
20090 ac_status=$?
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; }; then
20093 ac_lo=$ac_mid; break
20094 else
20095 echo "$as_me: failed program was:" >&5
20096 sed 's/^/| /' conftest.$ac_ext >&5
20097
20098 ac_hi=`expr '(' $ac_mid ')' - 1`
20099 if test $ac_mid -le $ac_hi; then
20100 ac_lo= ac_hi=
20101 break
20102 fi
20103 ac_mid=`expr 2 '*' $ac_mid`
20104 fi
20105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20106 done
20107 else
20108 echo "$as_me: failed program was:" >&5
20109 sed 's/^/| /' conftest.$ac_ext >&5
20110
20111 ac_lo= ac_hi=
20112 fi
20113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20114 fi
20115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20116 # Binary search between lo and hi bounds.
20117 while test "x$ac_lo" != "x$ac_hi"; do
20118 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20119 cat >conftest.$ac_ext <<_ACEOF
20120 /* confdefs.h. */
20121 _ACEOF
20122 cat confdefs.h >>conftest.$ac_ext
20123 cat >>conftest.$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 $ac_includes_default
20126 int
20127 main ()
20128 {
20129 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20130 test_array [0] = 0
20131
20132 ;
20133 return 0;
20134 }
20135 _ACEOF
20136 rm -f conftest.$ac_objext
20137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20138 (eval $ac_compile) 2>conftest.er1
20139 ac_status=$?
20140 grep -v '^ *+' conftest.er1 >conftest.err
20141 rm -f conftest.er1
20142 cat conftest.err >&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); } &&
20145 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
20151 { ac_try='test -s conftest.$ac_objext'
20152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20153 (eval $ac_try) 2>&5
20154 ac_status=$?
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); }; }; then
20157 ac_hi=$ac_mid
20158 else
20159 echo "$as_me: failed program was:" >&5
20160 sed 's/^/| /' conftest.$ac_ext >&5
20161
20162 ac_lo=`expr '(' $ac_mid ')' + 1`
20163 fi
20164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20165 done
20166 case $ac_lo in
20167 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20168 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20169 See \`config.log' for more details." >&5
20170 echo "$as_me: error: cannot compute sizeof (size_t), 77
20171 See \`config.log' for more details." >&2;}
20172 { (exit 1); exit 1; }; } ;;
20173 esac
20174 else
20175 if test "$cross_compiling" = yes; then
20176 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20177 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20178 { (exit 1); exit 1; }; }
20179 else
20180 cat >conftest.$ac_ext <<_ACEOF
20181 /* confdefs.h. */
20182 _ACEOF
20183 cat confdefs.h >>conftest.$ac_ext
20184 cat >>conftest.$ac_ext <<_ACEOF
20185 /* end confdefs.h. */
20186 $ac_includes_default
20187 long longval () { return (long) (sizeof (size_t)); }
20188 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20189 #include <stdio.h>
20190 #include <stdlib.h>
20191 int
20192 main ()
20193 {
20194
20195 FILE *f = fopen ("conftest.val", "w");
20196 if (! f)
20197 exit (1);
20198 if (((long) (sizeof (size_t))) < 0)
20199 {
20200 long i = longval ();
20201 if (i != ((long) (sizeof (size_t))))
20202 exit (1);
20203 fprintf (f, "%ld\n", i);
20204 }
20205 else
20206 {
20207 unsigned long i = ulongval ();
20208 if (i != ((long) (sizeof (size_t))))
20209 exit (1);
20210 fprintf (f, "%lu\n", i);
20211 }
20212 exit (ferror (f) || fclose (f) != 0);
20213
20214 ;
20215 return 0;
20216 }
20217 _ACEOF
20218 rm -f conftest$ac_exeext
20219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20220 (eval $ac_link) 2>&5
20221 ac_status=$?
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20225 (eval $ac_try) 2>&5
20226 ac_status=$?
20227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20228 (exit $ac_status); }; }; then
20229 ac_cv_sizeof_size_t=`cat conftest.val`
20230 else
20231 echo "$as_me: program exited with status $ac_status" >&5
20232 echo "$as_me: failed program was:" >&5
20233 sed 's/^/| /' conftest.$ac_ext >&5
20234
20235 ( exit $ac_status )
20236 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20237 See \`config.log' for more details." >&5
20238 echo "$as_me: error: cannot compute sizeof (size_t), 77
20239 See \`config.log' for more details." >&2;}
20240 { (exit 1); exit 1; }; }
20241 fi
20242 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20243 fi
20244 fi
20245 rm -f conftest.val
20246 else
20247 ac_cv_sizeof_size_t=0
20248 fi
20249 fi
20250 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20251 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20252 cat >>confdefs.h <<_ACEOF
20253 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20254 _ACEOF
20255
20256
20257
20258 case "${host}" in
20259 arm-*-linux* )
20260 echo "$as_me:$LINENO: checking for long long" >&5
20261 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20262 if test "${ac_cv_type_long_long+set}" = set; then
20263 echo $ECHO_N "(cached) $ECHO_C" >&6
20264 else
20265 cat >conftest.$ac_ext <<_ACEOF
20266 /* confdefs.h. */
20267 _ACEOF
20268 cat confdefs.h >>conftest.$ac_ext
20269 cat >>conftest.$ac_ext <<_ACEOF
20270 /* end confdefs.h. */
20271 $ac_includes_default
20272 int
20273 main ()
20274 {
20275 if ((long long *) 0)
20276 return 0;
20277 if (sizeof (long long))
20278 return 0;
20279 ;
20280 return 0;
20281 }
20282 _ACEOF
20283 rm -f conftest.$ac_objext
20284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20285 (eval $ac_compile) 2>conftest.er1
20286 ac_status=$?
20287 grep -v '^ *+' conftest.er1 >conftest.err
20288 rm -f conftest.er1
20289 cat conftest.err >&5
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); } &&
20292 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20294 (eval $ac_try) 2>&5
20295 ac_status=$?
20296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297 (exit $ac_status); }; } &&
20298 { ac_try='test -s conftest.$ac_objext'
20299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20300 (eval $ac_try) 2>&5
20301 ac_status=$?
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 (exit $ac_status); }; }; then
20304 ac_cv_type_long_long=yes
20305 else
20306 echo "$as_me: failed program was:" >&5
20307 sed 's/^/| /' conftest.$ac_ext >&5
20308
20309 ac_cv_type_long_long=no
20310 fi
20311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20312 fi
20313 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20314 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20315
20316 echo "$as_me:$LINENO: checking size of long long" >&5
20317 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20318 if test "${ac_cv_sizeof_long_long+set}" = set; then
20319 echo $ECHO_N "(cached) $ECHO_C" >&6
20320 else
20321 if test "$ac_cv_type_long_long" = yes; then
20322 # The cast to unsigned long works around a bug in the HP C Compiler
20323 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20324 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20325 # This bug is HP SR number 8606223364.
20326 if test "$cross_compiling" = yes; then
20327 # Depending upon the size, compute the lo and hi bounds.
20328 cat >conftest.$ac_ext <<_ACEOF
20329 /* confdefs.h. */
20330 _ACEOF
20331 cat confdefs.h >>conftest.$ac_ext
20332 cat >>conftest.$ac_ext <<_ACEOF
20333 /* end confdefs.h. */
20334 $ac_includes_default
20335 int
20336 main ()
20337 {
20338 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20339 test_array [0] = 0
20340
20341 ;
20342 return 0;
20343 }
20344 _ACEOF
20345 rm -f conftest.$ac_objext
20346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20347 (eval $ac_compile) 2>conftest.er1
20348 ac_status=$?
20349 grep -v '^ *+' conftest.er1 >conftest.err
20350 rm -f conftest.er1
20351 cat conftest.err >&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } &&
20354 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20356 (eval $ac_try) 2>&5
20357 ac_status=$?
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); }; } &&
20360 { ac_try='test -s conftest.$ac_objext'
20361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20362 (eval $ac_try) 2>&5
20363 ac_status=$?
20364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20365 (exit $ac_status); }; }; then
20366 ac_lo=0 ac_mid=0
20367 while :; do
20368 cat >conftest.$ac_ext <<_ACEOF
20369 /* confdefs.h. */
20370 _ACEOF
20371 cat confdefs.h >>conftest.$ac_ext
20372 cat >>conftest.$ac_ext <<_ACEOF
20373 /* end confdefs.h. */
20374 $ac_includes_default
20375 int
20376 main ()
20377 {
20378 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20379 test_array [0] = 0
20380
20381 ;
20382 return 0;
20383 }
20384 _ACEOF
20385 rm -f conftest.$ac_objext
20386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20387 (eval $ac_compile) 2>conftest.er1
20388 ac_status=$?
20389 grep -v '^ *+' conftest.er1 >conftest.err
20390 rm -f conftest.er1
20391 cat conftest.err >&5
20392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393 (exit $ac_status); } &&
20394 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20396 (eval $ac_try) 2>&5
20397 ac_status=$?
20398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 (exit $ac_status); }; } &&
20400 { ac_try='test -s conftest.$ac_objext'
20401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20402 (eval $ac_try) 2>&5
20403 ac_status=$?
20404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20405 (exit $ac_status); }; }; then
20406 ac_hi=$ac_mid; break
20407 else
20408 echo "$as_me: failed program was:" >&5
20409 sed 's/^/| /' conftest.$ac_ext >&5
20410
20411 ac_lo=`expr $ac_mid + 1`
20412 if test $ac_lo -le $ac_mid; then
20413 ac_lo= ac_hi=
20414 break
20415 fi
20416 ac_mid=`expr 2 '*' $ac_mid + 1`
20417 fi
20418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20419 done
20420 else
20421 echo "$as_me: failed program was:" >&5
20422 sed 's/^/| /' conftest.$ac_ext >&5
20423
20424 cat >conftest.$ac_ext <<_ACEOF
20425 /* confdefs.h. */
20426 _ACEOF
20427 cat confdefs.h >>conftest.$ac_ext
20428 cat >>conftest.$ac_ext <<_ACEOF
20429 /* end confdefs.h. */
20430 $ac_includes_default
20431 int
20432 main ()
20433 {
20434 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20435 test_array [0] = 0
20436
20437 ;
20438 return 0;
20439 }
20440 _ACEOF
20441 rm -f conftest.$ac_objext
20442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20443 (eval $ac_compile) 2>conftest.er1
20444 ac_status=$?
20445 grep -v '^ *+' conftest.er1 >conftest.err
20446 rm -f conftest.er1
20447 cat conftest.err >&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } &&
20450 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20452 (eval $ac_try) 2>&5
20453 ac_status=$?
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); }; } &&
20456 { ac_try='test -s conftest.$ac_objext'
20457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20458 (eval $ac_try) 2>&5
20459 ac_status=$?
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); }; }; then
20462 ac_hi=-1 ac_mid=-1
20463 while :; do
20464 cat >conftest.$ac_ext <<_ACEOF
20465 /* confdefs.h. */
20466 _ACEOF
20467 cat confdefs.h >>conftest.$ac_ext
20468 cat >>conftest.$ac_ext <<_ACEOF
20469 /* end confdefs.h. */
20470 $ac_includes_default
20471 int
20472 main ()
20473 {
20474 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20475 test_array [0] = 0
20476
20477 ;
20478 return 0;
20479 }
20480 _ACEOF
20481 rm -f conftest.$ac_objext
20482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20483 (eval $ac_compile) 2>conftest.er1
20484 ac_status=$?
20485 grep -v '^ *+' conftest.er1 >conftest.err
20486 rm -f conftest.er1
20487 cat conftest.err >&5
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); } &&
20490 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 (eval $ac_try) 2>&5
20493 ac_status=$?
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); }; } &&
20496 { ac_try='test -s conftest.$ac_objext'
20497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498 (eval $ac_try) 2>&5
20499 ac_status=$?
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); }; }; then
20502 ac_lo=$ac_mid; break
20503 else
20504 echo "$as_me: failed program was:" >&5
20505 sed 's/^/| /' conftest.$ac_ext >&5
20506
20507 ac_hi=`expr '(' $ac_mid ')' - 1`
20508 if test $ac_mid -le $ac_hi; then
20509 ac_lo= ac_hi=
20510 break
20511 fi
20512 ac_mid=`expr 2 '*' $ac_mid`
20513 fi
20514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20515 done
20516 else
20517 echo "$as_me: failed program was:" >&5
20518 sed 's/^/| /' conftest.$ac_ext >&5
20519
20520 ac_lo= ac_hi=
20521 fi
20522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20523 fi
20524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20525 # Binary search between lo and hi bounds.
20526 while test "x$ac_lo" != "x$ac_hi"; do
20527 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20528 cat >conftest.$ac_ext <<_ACEOF
20529 /* confdefs.h. */
20530 _ACEOF
20531 cat confdefs.h >>conftest.$ac_ext
20532 cat >>conftest.$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20534 $ac_includes_default
20535 int
20536 main ()
20537 {
20538 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20539 test_array [0] = 0
20540
20541 ;
20542 return 0;
20543 }
20544 _ACEOF
20545 rm -f conftest.$ac_objext
20546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20547 (eval $ac_compile) 2>conftest.er1
20548 ac_status=$?
20549 grep -v '^ *+' conftest.er1 >conftest.err
20550 rm -f conftest.er1
20551 cat conftest.err >&5
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); } &&
20554 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
20560 { ac_try='test -s conftest.$ac_objext'
20561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20562 (eval $ac_try) 2>&5
20563 ac_status=$?
20564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20565 (exit $ac_status); }; }; then
20566 ac_hi=$ac_mid
20567 else
20568 echo "$as_me: failed program was:" >&5
20569 sed 's/^/| /' conftest.$ac_ext >&5
20570
20571 ac_lo=`expr '(' $ac_mid ')' + 1`
20572 fi
20573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20574 done
20575 case $ac_lo in
20576 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20577 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20578 See \`config.log' for more details." >&5
20579 echo "$as_me: error: cannot compute sizeof (long long), 77
20580 See \`config.log' for more details." >&2;}
20581 { (exit 1); exit 1; }; } ;;
20582 esac
20583 else
20584 if test "$cross_compiling" = yes; then
20585 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20586 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20587 { (exit 1); exit 1; }; }
20588 else
20589 cat >conftest.$ac_ext <<_ACEOF
20590 /* confdefs.h. */
20591 _ACEOF
20592 cat confdefs.h >>conftest.$ac_ext
20593 cat >>conftest.$ac_ext <<_ACEOF
20594 /* end confdefs.h. */
20595 $ac_includes_default
20596 long longval () { return (long) (sizeof (long long)); }
20597 unsigned long ulongval () { return (long) (sizeof (long long)); }
20598 #include <stdio.h>
20599 #include <stdlib.h>
20600 int
20601 main ()
20602 {
20603
20604 FILE *f = fopen ("conftest.val", "w");
20605 if (! f)
20606 exit (1);
20607 if (((long) (sizeof (long long))) < 0)
20608 {
20609 long i = longval ();
20610 if (i != ((long) (sizeof (long long))))
20611 exit (1);
20612 fprintf (f, "%ld\n", i);
20613 }
20614 else
20615 {
20616 unsigned long i = ulongval ();
20617 if (i != ((long) (sizeof (long long))))
20618 exit (1);
20619 fprintf (f, "%lu\n", i);
20620 }
20621 exit (ferror (f) || fclose (f) != 0);
20622
20623 ;
20624 return 0;
20625 }
20626 _ACEOF
20627 rm -f conftest$ac_exeext
20628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20629 (eval $ac_link) 2>&5
20630 ac_status=$?
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20634 (eval $ac_try) 2>&5
20635 ac_status=$?
20636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20637 (exit $ac_status); }; }; then
20638 ac_cv_sizeof_long_long=`cat conftest.val`
20639 else
20640 echo "$as_me: program exited with status $ac_status" >&5
20641 echo "$as_me: failed program was:" >&5
20642 sed 's/^/| /' conftest.$ac_ext >&5
20643
20644 ( exit $ac_status )
20645 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20646 See \`config.log' for more details." >&5
20647 echo "$as_me: error: cannot compute sizeof (long long), 77
20648 See \`config.log' for more details." >&2;}
20649 { (exit 1); exit 1; }; }
20650 fi
20651 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20652 fi
20653 fi
20654 rm -f conftest.val
20655 else
20656 ac_cv_sizeof_long_long=0
20657 fi
20658 fi
20659 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20660 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20661 cat >>confdefs.h <<_ACEOF
20662 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20663 _ACEOF
20664
20665
20666 ;;
20667 *-hp-hpux* )
20668 echo "$as_me:$LINENO: checking for long long" >&5
20669 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20670 if test "${ac_cv_type_long_long+set}" = set; then
20671 echo $ECHO_N "(cached) $ECHO_C" >&6
20672 else
20673 cat >conftest.$ac_ext <<_ACEOF
20674 /* confdefs.h. */
20675 _ACEOF
20676 cat confdefs.h >>conftest.$ac_ext
20677 cat >>conftest.$ac_ext <<_ACEOF
20678 /* end confdefs.h. */
20679 $ac_includes_default
20680 int
20681 main ()
20682 {
20683 if ((long long *) 0)
20684 return 0;
20685 if (sizeof (long long))
20686 return 0;
20687 ;
20688 return 0;
20689 }
20690 _ACEOF
20691 rm -f conftest.$ac_objext
20692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20693 (eval $ac_compile) 2>conftest.er1
20694 ac_status=$?
20695 grep -v '^ *+' conftest.er1 >conftest.err
20696 rm -f conftest.er1
20697 cat conftest.err >&5
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); } &&
20700 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20702 (eval $ac_try) 2>&5
20703 ac_status=$?
20704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20705 (exit $ac_status); }; } &&
20706 { ac_try='test -s conftest.$ac_objext'
20707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20708 (eval $ac_try) 2>&5
20709 ac_status=$?
20710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20711 (exit $ac_status); }; }; then
20712 ac_cv_type_long_long=yes
20713 else
20714 echo "$as_me: failed program was:" >&5
20715 sed 's/^/| /' conftest.$ac_ext >&5
20716
20717 ac_cv_type_long_long=no
20718 fi
20719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20720 fi
20721 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20722 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20723
20724 echo "$as_me:$LINENO: checking size of long long" >&5
20725 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20726 if test "${ac_cv_sizeof_long_long+set}" = set; then
20727 echo $ECHO_N "(cached) $ECHO_C" >&6
20728 else
20729 if test "$ac_cv_type_long_long" = yes; then
20730 # The cast to unsigned long works around a bug in the HP C Compiler
20731 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20732 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20733 # This bug is HP SR number 8606223364.
20734 if test "$cross_compiling" = yes; then
20735 # Depending upon the size, compute the lo and hi bounds.
20736 cat >conftest.$ac_ext <<_ACEOF
20737 /* confdefs.h. */
20738 _ACEOF
20739 cat confdefs.h >>conftest.$ac_ext
20740 cat >>conftest.$ac_ext <<_ACEOF
20741 /* end confdefs.h. */
20742 $ac_includes_default
20743 int
20744 main ()
20745 {
20746 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20747 test_array [0] = 0
20748
20749 ;
20750 return 0;
20751 }
20752 _ACEOF
20753 rm -f conftest.$ac_objext
20754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20755 (eval $ac_compile) 2>conftest.er1
20756 ac_status=$?
20757 grep -v '^ *+' conftest.er1 >conftest.err
20758 rm -f conftest.er1
20759 cat conftest.err >&5
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); } &&
20762 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764 (eval $ac_try) 2>&5
20765 ac_status=$?
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); }; } &&
20768 { ac_try='test -s conftest.$ac_objext'
20769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20770 (eval $ac_try) 2>&5
20771 ac_status=$?
20772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20773 (exit $ac_status); }; }; then
20774 ac_lo=0 ac_mid=0
20775 while :; do
20776 cat >conftest.$ac_ext <<_ACEOF
20777 /* confdefs.h. */
20778 _ACEOF
20779 cat confdefs.h >>conftest.$ac_ext
20780 cat >>conftest.$ac_ext <<_ACEOF
20781 /* end confdefs.h. */
20782 $ac_includes_default
20783 int
20784 main ()
20785 {
20786 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20787 test_array [0] = 0
20788
20789 ;
20790 return 0;
20791 }
20792 _ACEOF
20793 rm -f conftest.$ac_objext
20794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20795 (eval $ac_compile) 2>conftest.er1
20796 ac_status=$?
20797 grep -v '^ *+' conftest.er1 >conftest.err
20798 rm -f conftest.er1
20799 cat conftest.err >&5
20800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); } &&
20802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20804 (eval $ac_try) 2>&5
20805 ac_status=$?
20806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20807 (exit $ac_status); }; } &&
20808 { ac_try='test -s conftest.$ac_objext'
20809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20810 (eval $ac_try) 2>&5
20811 ac_status=$?
20812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20813 (exit $ac_status); }; }; then
20814 ac_hi=$ac_mid; break
20815 else
20816 echo "$as_me: failed program was:" >&5
20817 sed 's/^/| /' conftest.$ac_ext >&5
20818
20819 ac_lo=`expr $ac_mid + 1`
20820 if test $ac_lo -le $ac_mid; then
20821 ac_lo= ac_hi=
20822 break
20823 fi
20824 ac_mid=`expr 2 '*' $ac_mid + 1`
20825 fi
20826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20827 done
20828 else
20829 echo "$as_me: failed program was:" >&5
20830 sed 's/^/| /' conftest.$ac_ext >&5
20831
20832 cat >conftest.$ac_ext <<_ACEOF
20833 /* confdefs.h. */
20834 _ACEOF
20835 cat confdefs.h >>conftest.$ac_ext
20836 cat >>conftest.$ac_ext <<_ACEOF
20837 /* end confdefs.h. */
20838 $ac_includes_default
20839 int
20840 main ()
20841 {
20842 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20843 test_array [0] = 0
20844
20845 ;
20846 return 0;
20847 }
20848 _ACEOF
20849 rm -f conftest.$ac_objext
20850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20851 (eval $ac_compile) 2>conftest.er1
20852 ac_status=$?
20853 grep -v '^ *+' conftest.er1 >conftest.err
20854 rm -f conftest.er1
20855 cat conftest.err >&5
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); } &&
20858 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20860 (eval $ac_try) 2>&5
20861 ac_status=$?
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); }; } &&
20864 { ac_try='test -s conftest.$ac_objext'
20865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20866 (eval $ac_try) 2>&5
20867 ac_status=$?
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); }; }; then
20870 ac_hi=-1 ac_mid=-1
20871 while :; do
20872 cat >conftest.$ac_ext <<_ACEOF
20873 /* confdefs.h. */
20874 _ACEOF
20875 cat confdefs.h >>conftest.$ac_ext
20876 cat >>conftest.$ac_ext <<_ACEOF
20877 /* end confdefs.h. */
20878 $ac_includes_default
20879 int
20880 main ()
20881 {
20882 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20883 test_array [0] = 0
20884
20885 ;
20886 return 0;
20887 }
20888 _ACEOF
20889 rm -f conftest.$ac_objext
20890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20891 (eval $ac_compile) 2>conftest.er1
20892 ac_status=$?
20893 grep -v '^ *+' conftest.er1 >conftest.err
20894 rm -f conftest.er1
20895 cat conftest.err >&5
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); } &&
20898 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20900 (eval $ac_try) 2>&5
20901 ac_status=$?
20902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903 (exit $ac_status); }; } &&
20904 { ac_try='test -s conftest.$ac_objext'
20905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20906 (eval $ac_try) 2>&5
20907 ac_status=$?
20908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909 (exit $ac_status); }; }; then
20910 ac_lo=$ac_mid; break
20911 else
20912 echo "$as_me: failed program was:" >&5
20913 sed 's/^/| /' conftest.$ac_ext >&5
20914
20915 ac_hi=`expr '(' $ac_mid ')' - 1`
20916 if test $ac_mid -le $ac_hi; then
20917 ac_lo= ac_hi=
20918 break
20919 fi
20920 ac_mid=`expr 2 '*' $ac_mid`
20921 fi
20922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20923 done
20924 else
20925 echo "$as_me: failed program was:" >&5
20926 sed 's/^/| /' conftest.$ac_ext >&5
20927
20928 ac_lo= ac_hi=
20929 fi
20930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20931 fi
20932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20933 # Binary search between lo and hi bounds.
20934 while test "x$ac_lo" != "x$ac_hi"; do
20935 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20936 cat >conftest.$ac_ext <<_ACEOF
20937 /* confdefs.h. */
20938 _ACEOF
20939 cat confdefs.h >>conftest.$ac_ext
20940 cat >>conftest.$ac_ext <<_ACEOF
20941 /* end confdefs.h. */
20942 $ac_includes_default
20943 int
20944 main ()
20945 {
20946 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20947 test_array [0] = 0
20948
20949 ;
20950 return 0;
20951 }
20952 _ACEOF
20953 rm -f conftest.$ac_objext
20954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20955 (eval $ac_compile) 2>conftest.er1
20956 ac_status=$?
20957 grep -v '^ *+' conftest.er1 >conftest.err
20958 rm -f conftest.er1
20959 cat conftest.err >&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); } &&
20962 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
20968 { ac_try='test -s conftest.$ac_objext'
20969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20970 (eval $ac_try) 2>&5
20971 ac_status=$?
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); }; }; then
20974 ac_hi=$ac_mid
20975 else
20976 echo "$as_me: failed program was:" >&5
20977 sed 's/^/| /' conftest.$ac_ext >&5
20978
20979 ac_lo=`expr '(' $ac_mid ')' + 1`
20980 fi
20981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20982 done
20983 case $ac_lo in
20984 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20985 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20986 See \`config.log' for more details." >&5
20987 echo "$as_me: error: cannot compute sizeof (long long), 77
20988 See \`config.log' for more details." >&2;}
20989 { (exit 1); exit 1; }; } ;;
20990 esac
20991 else
20992 if test "$cross_compiling" = yes; then
20993 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20994 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20995 { (exit 1); exit 1; }; }
20996 else
20997 cat >conftest.$ac_ext <<_ACEOF
20998 /* confdefs.h. */
20999 _ACEOF
21000 cat confdefs.h >>conftest.$ac_ext
21001 cat >>conftest.$ac_ext <<_ACEOF
21002 /* end confdefs.h. */
21003 $ac_includes_default
21004 long longval () { return (long) (sizeof (long long)); }
21005 unsigned long ulongval () { return (long) (sizeof (long long)); }
21006 #include <stdio.h>
21007 #include <stdlib.h>
21008 int
21009 main ()
21010 {
21011
21012 FILE *f = fopen ("conftest.val", "w");
21013 if (! f)
21014 exit (1);
21015 if (((long) (sizeof (long long))) < 0)
21016 {
21017 long i = longval ();
21018 if (i != ((long) (sizeof (long long))))
21019 exit (1);
21020 fprintf (f, "%ld\n", i);
21021 }
21022 else
21023 {
21024 unsigned long i = ulongval ();
21025 if (i != ((long) (sizeof (long long))))
21026 exit (1);
21027 fprintf (f, "%lu\n", i);
21028 }
21029 exit (ferror (f) || fclose (f) != 0);
21030
21031 ;
21032 return 0;
21033 }
21034 _ACEOF
21035 rm -f conftest$ac_exeext
21036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21037 (eval $ac_link) 2>&5
21038 ac_status=$?
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21042 (eval $ac_try) 2>&5
21043 ac_status=$?
21044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21045 (exit $ac_status); }; }; then
21046 ac_cv_sizeof_long_long=`cat conftest.val`
21047 else
21048 echo "$as_me: program exited with status $ac_status" >&5
21049 echo "$as_me: failed program was:" >&5
21050 sed 's/^/| /' conftest.$ac_ext >&5
21051
21052 ( exit $ac_status )
21053 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21054 See \`config.log' for more details." >&5
21055 echo "$as_me: error: cannot compute sizeof (long long), 77
21056 See \`config.log' for more details." >&2;}
21057 { (exit 1); exit 1; }; }
21058 fi
21059 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21060 fi
21061 fi
21062 rm -f conftest.val
21063 else
21064 ac_cv_sizeof_long_long=0
21065 fi
21066 fi
21067 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21068 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21069 cat >>confdefs.h <<_ACEOF
21070 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21071 _ACEOF
21072
21073
21074 if test "$ac_cv_sizeof_long_long" != "0"; then
21075 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21076 fi
21077 ;;
21078 * )
21079 echo "$as_me:$LINENO: checking for long long" >&5
21080 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21081 if test "${ac_cv_type_long_long+set}" = set; then
21082 echo $ECHO_N "(cached) $ECHO_C" >&6
21083 else
21084 cat >conftest.$ac_ext <<_ACEOF
21085 /* confdefs.h. */
21086 _ACEOF
21087 cat confdefs.h >>conftest.$ac_ext
21088 cat >>conftest.$ac_ext <<_ACEOF
21089 /* end confdefs.h. */
21090 $ac_includes_default
21091 int
21092 main ()
21093 {
21094 if ((long long *) 0)
21095 return 0;
21096 if (sizeof (long long))
21097 return 0;
21098 ;
21099 return 0;
21100 }
21101 _ACEOF
21102 rm -f conftest.$ac_objext
21103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21104 (eval $ac_compile) 2>conftest.er1
21105 ac_status=$?
21106 grep -v '^ *+' conftest.er1 >conftest.err
21107 rm -f conftest.er1
21108 cat conftest.err >&5
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); } &&
21111 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21113 (eval $ac_try) 2>&5
21114 ac_status=$?
21115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21116 (exit $ac_status); }; } &&
21117 { ac_try='test -s conftest.$ac_objext'
21118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21119 (eval $ac_try) 2>&5
21120 ac_status=$?
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); }; }; then
21123 ac_cv_type_long_long=yes
21124 else
21125 echo "$as_me: failed program was:" >&5
21126 sed 's/^/| /' conftest.$ac_ext >&5
21127
21128 ac_cv_type_long_long=no
21129 fi
21130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21131 fi
21132 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21133 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21134
21135 echo "$as_me:$LINENO: checking size of long long" >&5
21136 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21137 if test "${ac_cv_sizeof_long_long+set}" = set; then
21138 echo $ECHO_N "(cached) $ECHO_C" >&6
21139 else
21140 if test "$ac_cv_type_long_long" = yes; then
21141 # The cast to unsigned long works around a bug in the HP C Compiler
21142 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21143 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21144 # This bug is HP SR number 8606223364.
21145 if test "$cross_compiling" = yes; then
21146 # Depending upon the size, compute the lo and hi bounds.
21147 cat >conftest.$ac_ext <<_ACEOF
21148 /* confdefs.h. */
21149 _ACEOF
21150 cat confdefs.h >>conftest.$ac_ext
21151 cat >>conftest.$ac_ext <<_ACEOF
21152 /* end confdefs.h. */
21153 $ac_includes_default
21154 int
21155 main ()
21156 {
21157 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21158 test_array [0] = 0
21159
21160 ;
21161 return 0;
21162 }
21163 _ACEOF
21164 rm -f conftest.$ac_objext
21165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21166 (eval $ac_compile) 2>conftest.er1
21167 ac_status=$?
21168 grep -v '^ *+' conftest.er1 >conftest.err
21169 rm -f conftest.er1
21170 cat conftest.err >&5
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); } &&
21173 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21175 (eval $ac_try) 2>&5
21176 ac_status=$?
21177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21178 (exit $ac_status); }; } &&
21179 { ac_try='test -s conftest.$ac_objext'
21180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21181 (eval $ac_try) 2>&5
21182 ac_status=$?
21183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21184 (exit $ac_status); }; }; then
21185 ac_lo=0 ac_mid=0
21186 while :; do
21187 cat >conftest.$ac_ext <<_ACEOF
21188 /* confdefs.h. */
21189 _ACEOF
21190 cat confdefs.h >>conftest.$ac_ext
21191 cat >>conftest.$ac_ext <<_ACEOF
21192 /* end confdefs.h. */
21193 $ac_includes_default
21194 int
21195 main ()
21196 {
21197 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21198 test_array [0] = 0
21199
21200 ;
21201 return 0;
21202 }
21203 _ACEOF
21204 rm -f conftest.$ac_objext
21205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21206 (eval $ac_compile) 2>conftest.er1
21207 ac_status=$?
21208 grep -v '^ *+' conftest.er1 >conftest.err
21209 rm -f conftest.er1
21210 cat conftest.err >&5
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); } &&
21213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21215 (eval $ac_try) 2>&5
21216 ac_status=$?
21217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218 (exit $ac_status); }; } &&
21219 { ac_try='test -s conftest.$ac_objext'
21220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21221 (eval $ac_try) 2>&5
21222 ac_status=$?
21223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21224 (exit $ac_status); }; }; then
21225 ac_hi=$ac_mid; break
21226 else
21227 echo "$as_me: failed program was:" >&5
21228 sed 's/^/| /' conftest.$ac_ext >&5
21229
21230 ac_lo=`expr $ac_mid + 1`
21231 if test $ac_lo -le $ac_mid; then
21232 ac_lo= ac_hi=
21233 break
21234 fi
21235 ac_mid=`expr 2 '*' $ac_mid + 1`
21236 fi
21237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21238 done
21239 else
21240 echo "$as_me: failed program was:" >&5
21241 sed 's/^/| /' conftest.$ac_ext >&5
21242
21243 cat >conftest.$ac_ext <<_ACEOF
21244 /* confdefs.h. */
21245 _ACEOF
21246 cat confdefs.h >>conftest.$ac_ext
21247 cat >>conftest.$ac_ext <<_ACEOF
21248 /* end confdefs.h. */
21249 $ac_includes_default
21250 int
21251 main ()
21252 {
21253 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21254 test_array [0] = 0
21255
21256 ;
21257 return 0;
21258 }
21259 _ACEOF
21260 rm -f conftest.$ac_objext
21261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21262 (eval $ac_compile) 2>conftest.er1
21263 ac_status=$?
21264 grep -v '^ *+' conftest.er1 >conftest.err
21265 rm -f conftest.er1
21266 cat conftest.err >&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); } &&
21269 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21271 (eval $ac_try) 2>&5
21272 ac_status=$?
21273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21274 (exit $ac_status); }; } &&
21275 { ac_try='test -s conftest.$ac_objext'
21276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21277 (eval $ac_try) 2>&5
21278 ac_status=$?
21279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280 (exit $ac_status); }; }; then
21281 ac_hi=-1 ac_mid=-1
21282 while :; do
21283 cat >conftest.$ac_ext <<_ACEOF
21284 /* confdefs.h. */
21285 _ACEOF
21286 cat confdefs.h >>conftest.$ac_ext
21287 cat >>conftest.$ac_ext <<_ACEOF
21288 /* end confdefs.h. */
21289 $ac_includes_default
21290 int
21291 main ()
21292 {
21293 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21294 test_array [0] = 0
21295
21296 ;
21297 return 0;
21298 }
21299 _ACEOF
21300 rm -f conftest.$ac_objext
21301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21302 (eval $ac_compile) 2>conftest.er1
21303 ac_status=$?
21304 grep -v '^ *+' conftest.er1 >conftest.err
21305 rm -f conftest.er1
21306 cat conftest.err >&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); } &&
21309 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21311 (eval $ac_try) 2>&5
21312 ac_status=$?
21313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21314 (exit $ac_status); }; } &&
21315 { ac_try='test -s conftest.$ac_objext'
21316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21317 (eval $ac_try) 2>&5
21318 ac_status=$?
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); }; }; then
21321 ac_lo=$ac_mid; break
21322 else
21323 echo "$as_me: failed program was:" >&5
21324 sed 's/^/| /' conftest.$ac_ext >&5
21325
21326 ac_hi=`expr '(' $ac_mid ')' - 1`
21327 if test $ac_mid -le $ac_hi; then
21328 ac_lo= ac_hi=
21329 break
21330 fi
21331 ac_mid=`expr 2 '*' $ac_mid`
21332 fi
21333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21334 done
21335 else
21336 echo "$as_me: failed program was:" >&5
21337 sed 's/^/| /' conftest.$ac_ext >&5
21338
21339 ac_lo= ac_hi=
21340 fi
21341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21342 fi
21343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21344 # Binary search between lo and hi bounds.
21345 while test "x$ac_lo" != "x$ac_hi"; do
21346 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21347 cat >conftest.$ac_ext <<_ACEOF
21348 /* confdefs.h. */
21349 _ACEOF
21350 cat confdefs.h >>conftest.$ac_ext
21351 cat >>conftest.$ac_ext <<_ACEOF
21352 /* end confdefs.h. */
21353 $ac_includes_default
21354 int
21355 main ()
21356 {
21357 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21358 test_array [0] = 0
21359
21360 ;
21361 return 0;
21362 }
21363 _ACEOF
21364 rm -f conftest.$ac_objext
21365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21366 (eval $ac_compile) 2>conftest.er1
21367 ac_status=$?
21368 grep -v '^ *+' conftest.er1 >conftest.err
21369 rm -f conftest.er1
21370 cat conftest.err >&5
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); } &&
21373 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
21379 { ac_try='test -s conftest.$ac_objext'
21380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21381 (eval $ac_try) 2>&5
21382 ac_status=$?
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); }; }; then
21385 ac_hi=$ac_mid
21386 else
21387 echo "$as_me: failed program was:" >&5
21388 sed 's/^/| /' conftest.$ac_ext >&5
21389
21390 ac_lo=`expr '(' $ac_mid ')' + 1`
21391 fi
21392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21393 done
21394 case $ac_lo in
21395 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21396 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21397 See \`config.log' for more details." >&5
21398 echo "$as_me: error: cannot compute sizeof (long long), 77
21399 See \`config.log' for more details." >&2;}
21400 { (exit 1); exit 1; }; } ;;
21401 esac
21402 else
21403 if test "$cross_compiling" = yes; then
21404 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21405 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21406 { (exit 1); exit 1; }; }
21407 else
21408 cat >conftest.$ac_ext <<_ACEOF
21409 /* confdefs.h. */
21410 _ACEOF
21411 cat confdefs.h >>conftest.$ac_ext
21412 cat >>conftest.$ac_ext <<_ACEOF
21413 /* end confdefs.h. */
21414 $ac_includes_default
21415 long longval () { return (long) (sizeof (long long)); }
21416 unsigned long ulongval () { return (long) (sizeof (long long)); }
21417 #include <stdio.h>
21418 #include <stdlib.h>
21419 int
21420 main ()
21421 {
21422
21423 FILE *f = fopen ("conftest.val", "w");
21424 if (! f)
21425 exit (1);
21426 if (((long) (sizeof (long long))) < 0)
21427 {
21428 long i = longval ();
21429 if (i != ((long) (sizeof (long long))))
21430 exit (1);
21431 fprintf (f, "%ld\n", i);
21432 }
21433 else
21434 {
21435 unsigned long i = ulongval ();
21436 if (i != ((long) (sizeof (long long))))
21437 exit (1);
21438 fprintf (f, "%lu\n", i);
21439 }
21440 exit (ferror (f) || fclose (f) != 0);
21441
21442 ;
21443 return 0;
21444 }
21445 _ACEOF
21446 rm -f conftest$ac_exeext
21447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21448 (eval $ac_link) 2>&5
21449 ac_status=$?
21450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21451 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21453 (eval $ac_try) 2>&5
21454 ac_status=$?
21455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21456 (exit $ac_status); }; }; then
21457 ac_cv_sizeof_long_long=`cat conftest.val`
21458 else
21459 echo "$as_me: program exited with status $ac_status" >&5
21460 echo "$as_me: failed program was:" >&5
21461 sed 's/^/| /' conftest.$ac_ext >&5
21462
21463 ( exit $ac_status )
21464 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21465 See \`config.log' for more details." >&5
21466 echo "$as_me: error: cannot compute sizeof (long long), 77
21467 See \`config.log' for more details." >&2;}
21468 { (exit 1); exit 1; }; }
21469 fi
21470 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21471 fi
21472 fi
21473 rm -f conftest.val
21474 else
21475 ac_cv_sizeof_long_long=0
21476 fi
21477 fi
21478 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21479 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21480 cat >>confdefs.h <<_ACEOF
21481 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21482 _ACEOF
21483
21484
21485 esac
21486
21487 echo "$as_me:$LINENO: checking for wchar_t" >&5
21488 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21489 if test "${ac_cv_type_wchar_t+set}" = set; then
21490 echo $ECHO_N "(cached) $ECHO_C" >&6
21491 else
21492 cat >conftest.$ac_ext <<_ACEOF
21493 /* confdefs.h. */
21494 _ACEOF
21495 cat confdefs.h >>conftest.$ac_ext
21496 cat >>conftest.$ac_ext <<_ACEOF
21497 /* end confdefs.h. */
21498
21499 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21500 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21501 # error "fake wchar_t"
21502 #endif
21503 #ifdef HAVE_WCHAR_H
21504 # ifdef __CYGWIN__
21505 # include <stddef.h>
21506 # endif
21507 # include <wchar.h>
21508 #endif
21509 #ifdef HAVE_STDLIB_H
21510 # include <stdlib.h>
21511 #endif
21512 #include <stdio.h>
21513
21514
21515
21516 int
21517 main ()
21518 {
21519 if ((wchar_t *) 0)
21520 return 0;
21521 if (sizeof (wchar_t))
21522 return 0;
21523 ;
21524 return 0;
21525 }
21526 _ACEOF
21527 rm -f conftest.$ac_objext
21528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21529 (eval $ac_compile) 2>conftest.er1
21530 ac_status=$?
21531 grep -v '^ *+' conftest.er1 >conftest.err
21532 rm -f conftest.er1
21533 cat conftest.err >&5
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); } &&
21536 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21538 (eval $ac_try) 2>&5
21539 ac_status=$?
21540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21541 (exit $ac_status); }; } &&
21542 { ac_try='test -s conftest.$ac_objext'
21543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21544 (eval $ac_try) 2>&5
21545 ac_status=$?
21546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21547 (exit $ac_status); }; }; then
21548 ac_cv_type_wchar_t=yes
21549 else
21550 echo "$as_me: failed program was:" >&5
21551 sed 's/^/| /' conftest.$ac_ext >&5
21552
21553 ac_cv_type_wchar_t=no
21554 fi
21555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21556 fi
21557 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21558 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21559
21560 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21561 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21562 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21563 echo $ECHO_N "(cached) $ECHO_C" >&6
21564 else
21565 if test "$ac_cv_type_wchar_t" = yes; then
21566 # The cast to unsigned long works around a bug in the HP C Compiler
21567 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21568 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21569 # This bug is HP SR number 8606223364.
21570 if test "$cross_compiling" = yes; then
21571 # Depending upon the size, compute the lo and hi bounds.
21572 cat >conftest.$ac_ext <<_ACEOF
21573 /* confdefs.h. */
21574 _ACEOF
21575 cat confdefs.h >>conftest.$ac_ext
21576 cat >>conftest.$ac_ext <<_ACEOF
21577 /* end confdefs.h. */
21578
21579 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21580 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21581 # error "fake wchar_t"
21582 #endif
21583 #ifdef HAVE_WCHAR_H
21584 # ifdef __CYGWIN__
21585 # include <stddef.h>
21586 # endif
21587 # include <wchar.h>
21588 #endif
21589 #ifdef HAVE_STDLIB_H
21590 # include <stdlib.h>
21591 #endif
21592 #include <stdio.h>
21593
21594
21595
21596 int
21597 main ()
21598 {
21599 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21600 test_array [0] = 0
21601
21602 ;
21603 return 0;
21604 }
21605 _ACEOF
21606 rm -f conftest.$ac_objext
21607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21608 (eval $ac_compile) 2>conftest.er1
21609 ac_status=$?
21610 grep -v '^ *+' conftest.er1 >conftest.err
21611 rm -f conftest.er1
21612 cat conftest.err >&5
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); } &&
21615 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21617 (eval $ac_try) 2>&5
21618 ac_status=$?
21619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21620 (exit $ac_status); }; } &&
21621 { ac_try='test -s conftest.$ac_objext'
21622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21623 (eval $ac_try) 2>&5
21624 ac_status=$?
21625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21626 (exit $ac_status); }; }; then
21627 ac_lo=0 ac_mid=0
21628 while :; do
21629 cat >conftest.$ac_ext <<_ACEOF
21630 /* confdefs.h. */
21631 _ACEOF
21632 cat confdefs.h >>conftest.$ac_ext
21633 cat >>conftest.$ac_ext <<_ACEOF
21634 /* end confdefs.h. */
21635
21636 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21637 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21638 # error "fake wchar_t"
21639 #endif
21640 #ifdef HAVE_WCHAR_H
21641 # ifdef __CYGWIN__
21642 # include <stddef.h>
21643 # endif
21644 # include <wchar.h>
21645 #endif
21646 #ifdef HAVE_STDLIB_H
21647 # include <stdlib.h>
21648 #endif
21649 #include <stdio.h>
21650
21651
21652
21653 int
21654 main ()
21655 {
21656 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21657 test_array [0] = 0
21658
21659 ;
21660 return 0;
21661 }
21662 _ACEOF
21663 rm -f conftest.$ac_objext
21664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21665 (eval $ac_compile) 2>conftest.er1
21666 ac_status=$?
21667 grep -v '^ *+' conftest.er1 >conftest.err
21668 rm -f conftest.er1
21669 cat conftest.err >&5
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); } &&
21672 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21674 (eval $ac_try) 2>&5
21675 ac_status=$?
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); }; } &&
21678 { ac_try='test -s conftest.$ac_objext'
21679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21680 (eval $ac_try) 2>&5
21681 ac_status=$?
21682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683 (exit $ac_status); }; }; then
21684 ac_hi=$ac_mid; break
21685 else
21686 echo "$as_me: failed program was:" >&5
21687 sed 's/^/| /' conftest.$ac_ext >&5
21688
21689 ac_lo=`expr $ac_mid + 1`
21690 if test $ac_lo -le $ac_mid; then
21691 ac_lo= ac_hi=
21692 break
21693 fi
21694 ac_mid=`expr 2 '*' $ac_mid + 1`
21695 fi
21696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21697 done
21698 else
21699 echo "$as_me: failed program was:" >&5
21700 sed 's/^/| /' conftest.$ac_ext >&5
21701
21702 cat >conftest.$ac_ext <<_ACEOF
21703 /* confdefs.h. */
21704 _ACEOF
21705 cat confdefs.h >>conftest.$ac_ext
21706 cat >>conftest.$ac_ext <<_ACEOF
21707 /* end confdefs.h. */
21708
21709 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21710 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21711 # error "fake wchar_t"
21712 #endif
21713 #ifdef HAVE_WCHAR_H
21714 # ifdef __CYGWIN__
21715 # include <stddef.h>
21716 # endif
21717 # include <wchar.h>
21718 #endif
21719 #ifdef HAVE_STDLIB_H
21720 # include <stdlib.h>
21721 #endif
21722 #include <stdio.h>
21723
21724
21725
21726 int
21727 main ()
21728 {
21729 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21730 test_array [0] = 0
21731
21732 ;
21733 return 0;
21734 }
21735 _ACEOF
21736 rm -f conftest.$ac_objext
21737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21738 (eval $ac_compile) 2>conftest.er1
21739 ac_status=$?
21740 grep -v '^ *+' conftest.er1 >conftest.err
21741 rm -f conftest.er1
21742 cat conftest.err >&5
21743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744 (exit $ac_status); } &&
21745 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21747 (eval $ac_try) 2>&5
21748 ac_status=$?
21749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21750 (exit $ac_status); }; } &&
21751 { ac_try='test -s conftest.$ac_objext'
21752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21753 (eval $ac_try) 2>&5
21754 ac_status=$?
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); }; }; then
21757 ac_hi=-1 ac_mid=-1
21758 while :; do
21759 cat >conftest.$ac_ext <<_ACEOF
21760 /* confdefs.h. */
21761 _ACEOF
21762 cat confdefs.h >>conftest.$ac_ext
21763 cat >>conftest.$ac_ext <<_ACEOF
21764 /* end confdefs.h. */
21765
21766 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21767 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21768 # error "fake wchar_t"
21769 #endif
21770 #ifdef HAVE_WCHAR_H
21771 # ifdef __CYGWIN__
21772 # include <stddef.h>
21773 # endif
21774 # include <wchar.h>
21775 #endif
21776 #ifdef HAVE_STDLIB_H
21777 # include <stdlib.h>
21778 #endif
21779 #include <stdio.h>
21780
21781
21782
21783 int
21784 main ()
21785 {
21786 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21787 test_array [0] = 0
21788
21789 ;
21790 return 0;
21791 }
21792 _ACEOF
21793 rm -f conftest.$ac_objext
21794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21795 (eval $ac_compile) 2>conftest.er1
21796 ac_status=$?
21797 grep -v '^ *+' conftest.er1 >conftest.err
21798 rm -f conftest.er1
21799 cat conftest.err >&5
21800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21801 (exit $ac_status); } &&
21802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21804 (eval $ac_try) 2>&5
21805 ac_status=$?
21806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807 (exit $ac_status); }; } &&
21808 { ac_try='test -s conftest.$ac_objext'
21809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21810 (eval $ac_try) 2>&5
21811 ac_status=$?
21812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21813 (exit $ac_status); }; }; then
21814 ac_lo=$ac_mid; break
21815 else
21816 echo "$as_me: failed program was:" >&5
21817 sed 's/^/| /' conftest.$ac_ext >&5
21818
21819 ac_hi=`expr '(' $ac_mid ')' - 1`
21820 if test $ac_mid -le $ac_hi; then
21821 ac_lo= ac_hi=
21822 break
21823 fi
21824 ac_mid=`expr 2 '*' $ac_mid`
21825 fi
21826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21827 done
21828 else
21829 echo "$as_me: failed program was:" >&5
21830 sed 's/^/| /' conftest.$ac_ext >&5
21831
21832 ac_lo= ac_hi=
21833 fi
21834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21835 fi
21836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21837 # Binary search between lo and hi bounds.
21838 while test "x$ac_lo" != "x$ac_hi"; do
21839 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21840 cat >conftest.$ac_ext <<_ACEOF
21841 /* confdefs.h. */
21842 _ACEOF
21843 cat confdefs.h >>conftest.$ac_ext
21844 cat >>conftest.$ac_ext <<_ACEOF
21845 /* end confdefs.h. */
21846
21847 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21848 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21849 # error "fake wchar_t"
21850 #endif
21851 #ifdef HAVE_WCHAR_H
21852 # ifdef __CYGWIN__
21853 # include <stddef.h>
21854 # endif
21855 # include <wchar.h>
21856 #endif
21857 #ifdef HAVE_STDLIB_H
21858 # include <stdlib.h>
21859 #endif
21860 #include <stdio.h>
21861
21862
21863
21864 int
21865 main ()
21866 {
21867 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21868 test_array [0] = 0
21869
21870 ;
21871 return 0;
21872 }
21873 _ACEOF
21874 rm -f conftest.$ac_objext
21875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21876 (eval $ac_compile) 2>conftest.er1
21877 ac_status=$?
21878 grep -v '^ *+' conftest.er1 >conftest.err
21879 rm -f conftest.er1
21880 cat conftest.err >&5
21881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21882 (exit $ac_status); } &&
21883 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21885 (eval $ac_try) 2>&5
21886 ac_status=$?
21887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21888 (exit $ac_status); }; } &&
21889 { ac_try='test -s conftest.$ac_objext'
21890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21891 (eval $ac_try) 2>&5
21892 ac_status=$?
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); }; }; then
21895 ac_hi=$ac_mid
21896 else
21897 echo "$as_me: failed program was:" >&5
21898 sed 's/^/| /' conftest.$ac_ext >&5
21899
21900 ac_lo=`expr '(' $ac_mid ')' + 1`
21901 fi
21902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21903 done
21904 case $ac_lo in
21905 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21906 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21907 See \`config.log' for more details." >&5
21908 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21909 See \`config.log' for more details." >&2;}
21910 { (exit 1); exit 1; }; } ;;
21911 esac
21912 else
21913 if test "$cross_compiling" = yes; then
21914 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21915 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21916 { (exit 1); exit 1; }; }
21917 else
21918 cat >conftest.$ac_ext <<_ACEOF
21919 /* confdefs.h. */
21920 _ACEOF
21921 cat confdefs.h >>conftest.$ac_ext
21922 cat >>conftest.$ac_ext <<_ACEOF
21923 /* end confdefs.h. */
21924
21925 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21926 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21927 # error "fake wchar_t"
21928 #endif
21929 #ifdef HAVE_WCHAR_H
21930 # ifdef __CYGWIN__
21931 # include <stddef.h>
21932 # endif
21933 # include <wchar.h>
21934 #endif
21935 #ifdef HAVE_STDLIB_H
21936 # include <stdlib.h>
21937 #endif
21938 #include <stdio.h>
21939
21940
21941
21942 long longval () { return (long) (sizeof (wchar_t)); }
21943 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21944 #include <stdio.h>
21945 #include <stdlib.h>
21946 int
21947 main ()
21948 {
21949
21950 FILE *f = fopen ("conftest.val", "w");
21951 if (! f)
21952 exit (1);
21953 if (((long) (sizeof (wchar_t))) < 0)
21954 {
21955 long i = longval ();
21956 if (i != ((long) (sizeof (wchar_t))))
21957 exit (1);
21958 fprintf (f, "%ld\n", i);
21959 }
21960 else
21961 {
21962 unsigned long i = ulongval ();
21963 if (i != ((long) (sizeof (wchar_t))))
21964 exit (1);
21965 fprintf (f, "%lu\n", i);
21966 }
21967 exit (ferror (f) || fclose (f) != 0);
21968
21969 ;
21970 return 0;
21971 }
21972 _ACEOF
21973 rm -f conftest$ac_exeext
21974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21975 (eval $ac_link) 2>&5
21976 ac_status=$?
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21980 (eval $ac_try) 2>&5
21981 ac_status=$?
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); }; }; then
21984 ac_cv_sizeof_wchar_t=`cat conftest.val`
21985 else
21986 echo "$as_me: program exited with status $ac_status" >&5
21987 echo "$as_me: failed program was:" >&5
21988 sed 's/^/| /' conftest.$ac_ext >&5
21989
21990 ( exit $ac_status )
21991 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21992 See \`config.log' for more details." >&5
21993 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21994 See \`config.log' for more details." >&2;}
21995 { (exit 1); exit 1; }; }
21996 fi
21997 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21998 fi
21999 fi
22000 rm -f conftest.val
22001 else
22002 ac_cv_sizeof_wchar_t=0
22003 fi
22004 fi
22005 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22006 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22007 cat >>confdefs.h <<_ACEOF
22008 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22009 _ACEOF
22010
22011
22012 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22013 wxUSE_WCHAR_T=yes
22014 else
22015 wxUSE_WCHAR_T=no
22016 fi
22017
22018 echo "$as_me:$LINENO: checking for va_copy" >&5
22019 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22020 if test "${wx_cv_func_va_copy+set}" = set; then
22021 echo $ECHO_N "(cached) $ECHO_C" >&6
22022 else
22023
22024 cat >conftest.$ac_ext <<_ACEOF
22025
22026 #include <stdarg.h>
22027 void foo(char *f, ...)
22028 {
22029 va_list ap1, ap2;
22030 va_start(ap1, f);
22031 va_copy(ap2, ap1);
22032 va_end(ap2);
22033 va_end(ap1);
22034 }
22035 int main()
22036 {
22037 foo("hi", 17);
22038 return 0;
22039 }
22040 _ACEOF
22041 rm -f conftest.$ac_objext conftest$ac_exeext
22042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22043 (eval $ac_link) 2>conftest.er1
22044 ac_status=$?
22045 grep -v '^ *+' conftest.er1 >conftest.err
22046 rm -f conftest.er1
22047 cat conftest.err >&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); } &&
22050 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22052 (eval $ac_try) 2>&5
22053 ac_status=$?
22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055 (exit $ac_status); }; } &&
22056 { ac_try='test -s conftest$ac_exeext'
22057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22058 (eval $ac_try) 2>&5
22059 ac_status=$?
22060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22061 (exit $ac_status); }; }; then
22062 wx_cv_func_va_copy=yes
22063 else
22064 echo "$as_me: failed program was:" >&5
22065 sed 's/^/| /' conftest.$ac_ext >&5
22066
22067 wx_cv_func_va_copy=no
22068
22069 fi
22070 rm -f conftest.err conftest.$ac_objext \
22071 conftest$ac_exeext conftest.$ac_ext
22072
22073
22074 fi
22075 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22076 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22077
22078 if test $wx_cv_func_va_copy = "yes"; then
22079 cat >>confdefs.h <<\_ACEOF
22080 #define HAVE_VA_COPY 1
22081 _ACEOF
22082
22083 else
22084 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22085 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22086 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22087 echo $ECHO_N "(cached) $ECHO_C" >&6
22088 else
22089
22090 if test "$cross_compiling" = yes; then
22091 wx_cv_type_va_list_lvalue=yes
22092
22093 else
22094 cat >conftest.$ac_ext <<_ACEOF
22095
22096 #include <stdarg.h>
22097 int foo(char *f, ...)
22098 {
22099 va_list ap1, ap2;
22100 va_start(ap1, f);
22101 ap2 = ap1;
22102 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22103 return 1;
22104 va_end(ap2);
22105 va_end(ap1);
22106 return 0;
22107 }
22108 int main()
22109 {
22110 return foo("hi", 17);
22111 }
22112 _ACEOF
22113 rm -f conftest$ac_exeext
22114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22115 (eval $ac_link) 2>&5
22116 ac_status=$?
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22120 (eval $ac_try) 2>&5
22121 ac_status=$?
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); }; }; then
22124 wx_cv_type_va_list_lvalue=yes
22125 else
22126 echo "$as_me: program exited with status $ac_status" >&5
22127 echo "$as_me: failed program was:" >&5
22128 sed 's/^/| /' conftest.$ac_ext >&5
22129
22130 ( exit $ac_status )
22131 wx_cv_type_va_list_lvalue=no
22132 fi
22133 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22134 fi
22135
22136
22137 fi
22138 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22139 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22140
22141 if test $wx_cv_type_va_list_lvalue != "yes"; then
22142 cat >>confdefs.h <<\_ACEOF
22143 #define VA_LIST_IS_ARRAY 1
22144 _ACEOF
22145
22146 fi
22147 fi
22148
22149 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22150 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22151 if test "${wx_cv_have_variadic_macros+set}" = set; then
22152 echo $ECHO_N "(cached) $ECHO_C" >&6
22153 else
22154
22155 cat >conftest.$ac_ext <<_ACEOF
22156 /* confdefs.h. */
22157 _ACEOF
22158 cat confdefs.h >>conftest.$ac_ext
22159 cat >>conftest.$ac_ext <<_ACEOF
22160 /* end confdefs.h. */
22161
22162 #include <stdio.h>
22163 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22164
22165 int
22166 main ()
22167 {
22168
22169 test("%s %d %p", "test", 1, 0);
22170
22171
22172 ;
22173 return 0;
22174 }
22175 _ACEOF
22176 rm -f conftest.$ac_objext
22177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22178 (eval $ac_compile) 2>conftest.er1
22179 ac_status=$?
22180 grep -v '^ *+' conftest.er1 >conftest.err
22181 rm -f conftest.er1
22182 cat conftest.err >&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); } &&
22185 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22187 (eval $ac_try) 2>&5
22188 ac_status=$?
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); }; } &&
22191 { ac_try='test -s conftest.$ac_objext'
22192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22193 (eval $ac_try) 2>&5
22194 ac_status=$?
22195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22196 (exit $ac_status); }; }; then
22197 wx_cv_have_variadic_macros=yes
22198 else
22199 echo "$as_me: failed program was:" >&5
22200 sed 's/^/| /' conftest.$ac_ext >&5
22201
22202 wx_cv_have_variadic_macros=no
22203
22204 fi
22205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22206
22207
22208 fi
22209 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22210 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22211
22212 if test $wx_cv_have_variadic_macros = "yes"; then
22213 cat >>confdefs.h <<\_ACEOF
22214 #define HAVE_VARIADIC_MACROS 1
22215 _ACEOF
22216
22217 fi
22218
22219 # Check whether --enable-largefile or --disable-largefile was given.
22220 if test "${enable_largefile+set}" = set; then
22221 enableval="$enable_largefile"
22222
22223 fi;
22224 if test "$enable_largefile" != no; then
22225 wx_largefile=no
22226
22227 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22228 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22229 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22230 echo $ECHO_N "(cached) $ECHO_C" >&6
22231 else
22232
22233 cat >conftest.$ac_ext <<_ACEOF
22234 /* confdefs.h. */
22235 _ACEOF
22236 cat confdefs.h >>conftest.$ac_ext
22237 cat >>conftest.$ac_ext <<_ACEOF
22238 /* end confdefs.h. */
22239 #define _FILE_OFFSET_BITS 64
22240 #include <sys/types.h>
22241 int
22242 main ()
22243 {
22244 typedef struct {
22245 unsigned int field: sizeof(off_t) == 8;
22246 } wxlf;
22247
22248 ;
22249 return 0;
22250 }
22251 _ACEOF
22252 rm -f conftest.$ac_objext
22253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22254 (eval $ac_compile) 2>conftest.er1
22255 ac_status=$?
22256 grep -v '^ *+' conftest.er1 >conftest.err
22257 rm -f conftest.er1
22258 cat conftest.err >&5
22259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22260 (exit $ac_status); } &&
22261 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22263 (eval $ac_try) 2>&5
22264 ac_status=$?
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); }; } &&
22267 { ac_try='test -s conftest.$ac_objext'
22268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22269 (eval $ac_try) 2>&5
22270 ac_status=$?
22271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22272 (exit $ac_status); }; }; then
22273 ac_cv_sys_file_offset_bits=64
22274 else
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.$ac_ext >&5
22277
22278 ac_cv_sys_file_offset_bits=no
22279 fi
22280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22281
22282
22283 fi
22284 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22285 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22286
22287 if test "$ac_cv_sys_file_offset_bits" != no; then
22288 wx_largefile=yes
22289 cat >>confdefs.h <<_ACEOF
22290 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22291 _ACEOF
22292
22293 fi
22294
22295 if test "x$wx_largefile" != "xyes"; then
22296
22297 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22298 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22299 if test "${ac_cv_sys_large_files+set}" = set; then
22300 echo $ECHO_N "(cached) $ECHO_C" >&6
22301 else
22302
22303 cat >conftest.$ac_ext <<_ACEOF
22304 /* confdefs.h. */
22305 _ACEOF
22306 cat confdefs.h >>conftest.$ac_ext
22307 cat >>conftest.$ac_ext <<_ACEOF
22308 /* end confdefs.h. */
22309 #define _LARGE_FILES 1
22310 #include <sys/types.h>
22311 int
22312 main ()
22313 {
22314 typedef struct {
22315 unsigned int field: sizeof(off_t) == 8;
22316 } wxlf;
22317
22318 ;
22319 return 0;
22320 }
22321 _ACEOF
22322 rm -f conftest.$ac_objext
22323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22324 (eval $ac_compile) 2>conftest.er1
22325 ac_status=$?
22326 grep -v '^ *+' conftest.er1 >conftest.err
22327 rm -f conftest.er1
22328 cat conftest.err >&5
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); } &&
22331 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22333 (eval $ac_try) 2>&5
22334 ac_status=$?
22335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336 (exit $ac_status); }; } &&
22337 { ac_try='test -s conftest.$ac_objext'
22338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22339 (eval $ac_try) 2>&5
22340 ac_status=$?
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); }; }; then
22343 ac_cv_sys_large_files=1
22344 else
22345 echo "$as_me: failed program was:" >&5
22346 sed 's/^/| /' conftest.$ac_ext >&5
22347
22348 ac_cv_sys_large_files=no
22349 fi
22350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22351
22352
22353 fi
22354 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22355 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22356
22357 if test "$ac_cv_sys_large_files" != no; then
22358 wx_largefile=yes
22359 cat >>confdefs.h <<_ACEOF
22360 #define _LARGE_FILES $ac_cv_sys_large_files
22361 _ACEOF
22362
22363 fi
22364
22365 fi
22366
22367 echo "$as_me:$LINENO: checking if large file support is available" >&5
22368 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22369 if test "x$wx_largefile" = "xyes"; then
22370 cat >>confdefs.h <<\_ACEOF
22371 #define HAVE_LARGEFILE_SUPPORT 1
22372 _ACEOF
22373
22374 fi
22375 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22376 echo "${ECHO_T}$wx_largefile" >&6
22377 fi
22378
22379
22380 if test "x$wx_largefile" = "xyes"; then
22381 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22382 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22383
22384 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22385 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22386 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22387 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22388 echo $ECHO_N "(cached) $ECHO_C" >&6
22389 else
22390
22391 cat >conftest.$ac_ext <<_ACEOF
22392 /* confdefs.h. */
22393 _ACEOF
22394 cat confdefs.h >>conftest.$ac_ext
22395 cat >>conftest.$ac_ext <<_ACEOF
22396 /* end confdefs.h. */
22397
22398 int
22399 main ()
22400 {
22401
22402 #ifndef __STDC_EXT__
22403 choke me
22404 #endif
22405
22406 ;
22407 return 0;
22408 }
22409 _ACEOF
22410 rm -f conftest.$ac_objext
22411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22412 (eval $ac_compile) 2>conftest.er1
22413 ac_status=$?
22414 grep -v '^ *+' conftest.er1 >conftest.err
22415 rm -f conftest.er1
22416 cat conftest.err >&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); } &&
22419 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22421 (eval $ac_try) 2>&5
22422 ac_status=$?
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); }; } &&
22425 { ac_try='test -s conftest.$ac_objext'
22426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22427 (eval $ac_try) 2>&5
22428 ac_status=$?
22429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22430 (exit $ac_status); }; }; then
22431 wx_cv_STDC_EXT_required=no
22432 else
22433 echo "$as_me: failed program was:" >&5
22434 sed 's/^/| /' conftest.$ac_ext >&5
22435
22436 wx_cv_STDC_EXT_required=yes
22437
22438 fi
22439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22440
22441
22442 fi
22443 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22444 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22445 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22446 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22447 fi
22448 fi
22449 else
22450 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22451 fi
22452 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22453 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22454 if test "${ac_cv_sys_largefile_source+set}" = set; then
22455 echo $ECHO_N "(cached) $ECHO_C" >&6
22456 else
22457 while :; do
22458 ac_cv_sys_largefile_source=no
22459 cat >conftest.$ac_ext <<_ACEOF
22460 /* confdefs.h. */
22461 _ACEOF
22462 cat confdefs.h >>conftest.$ac_ext
22463 cat >>conftest.$ac_ext <<_ACEOF
22464 /* end confdefs.h. */
22465 #include <stdio.h>
22466 int
22467 main ()
22468 {
22469 return !fseeko;
22470 ;
22471 return 0;
22472 }
22473 _ACEOF
22474 rm -f conftest.$ac_objext
22475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22476 (eval $ac_compile) 2>conftest.er1
22477 ac_status=$?
22478 grep -v '^ *+' conftest.er1 >conftest.err
22479 rm -f conftest.er1
22480 cat conftest.err >&5
22481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22482 (exit $ac_status); } &&
22483 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22485 (eval $ac_try) 2>&5
22486 ac_status=$?
22487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22488 (exit $ac_status); }; } &&
22489 { ac_try='test -s conftest.$ac_objext'
22490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22491 (eval $ac_try) 2>&5
22492 ac_status=$?
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); }; }; then
22495 break
22496 else
22497 echo "$as_me: failed program was:" >&5
22498 sed 's/^/| /' conftest.$ac_ext >&5
22499
22500 fi
22501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22502 cat >conftest.$ac_ext <<_ACEOF
22503 /* confdefs.h. */
22504 _ACEOF
22505 cat confdefs.h >>conftest.$ac_ext
22506 cat >>conftest.$ac_ext <<_ACEOF
22507 /* end confdefs.h. */
22508 #define _LARGEFILE_SOURCE 1
22509 #include <stdio.h>
22510 int
22511 main ()
22512 {
22513 return !fseeko;
22514 ;
22515 return 0;
22516 }
22517 _ACEOF
22518 rm -f conftest.$ac_objext
22519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22520 (eval $ac_compile) 2>conftest.er1
22521 ac_status=$?
22522 grep -v '^ *+' conftest.er1 >conftest.err
22523 rm -f conftest.er1
22524 cat conftest.err >&5
22525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526 (exit $ac_status); } &&
22527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22529 (eval $ac_try) 2>&5
22530 ac_status=$?
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); }; } &&
22533 { ac_try='test -s conftest.$ac_objext'
22534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22535 (eval $ac_try) 2>&5
22536 ac_status=$?
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); }; }; then
22539 ac_cv_sys_largefile_source=1; break
22540 else
22541 echo "$as_me: failed program was:" >&5
22542 sed 's/^/| /' conftest.$ac_ext >&5
22543
22544 fi
22545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22546 break
22547 done
22548 fi
22549 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22550 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22551 if test "$ac_cv_sys_largefile_source" != no; then
22552
22553 cat >>confdefs.h <<_ACEOF
22554 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22555 _ACEOF
22556
22557 fi
22558 rm -f conftest*
22559
22560 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22561 # in glibc 2.1.3, but that breaks too many other things.
22562 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22563 echo "$as_me:$LINENO: checking for fseeko" >&5
22564 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22565 if test "${ac_cv_func_fseeko+set}" = set; then
22566 echo $ECHO_N "(cached) $ECHO_C" >&6
22567 else
22568 cat >conftest.$ac_ext <<_ACEOF
22569 /* confdefs.h. */
22570 _ACEOF
22571 cat confdefs.h >>conftest.$ac_ext
22572 cat >>conftest.$ac_ext <<_ACEOF
22573 /* end confdefs.h. */
22574 #include <stdio.h>
22575 int
22576 main ()
22577 {
22578 return fseeko && fseeko (stdin, 0, 0);
22579 ;
22580 return 0;
22581 }
22582 _ACEOF
22583 rm -f conftest.$ac_objext conftest$ac_exeext
22584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22585 (eval $ac_link) 2>conftest.er1
22586 ac_status=$?
22587 grep -v '^ *+' conftest.er1 >conftest.err
22588 rm -f conftest.er1
22589 cat conftest.err >&5
22590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22591 (exit $ac_status); } &&
22592 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22594 (eval $ac_try) 2>&5
22595 ac_status=$?
22596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22597 (exit $ac_status); }; } &&
22598 { ac_try='test -s conftest$ac_exeext'
22599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22600 (eval $ac_try) 2>&5
22601 ac_status=$?
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); }; }; then
22604 ac_cv_func_fseeko=yes
22605 else
22606 echo "$as_me: failed program was:" >&5
22607 sed 's/^/| /' conftest.$ac_ext >&5
22608
22609 ac_cv_func_fseeko=no
22610 fi
22611 rm -f conftest.err conftest.$ac_objext \
22612 conftest$ac_exeext conftest.$ac_ext
22613 fi
22614 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22615 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22616 if test $ac_cv_func_fseeko = yes; then
22617
22618 cat >>confdefs.h <<\_ACEOF
22619 #define HAVE_FSEEKO 1
22620 _ACEOF
22621
22622 fi
22623
22624 if test "$ac_cv_sys_largefile_source" != no; then
22625 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22626 fi
22627 fi
22628
22629 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22630 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22631 if test "${ac_cv_c_bigendian+set}" = set; then
22632 echo $ECHO_N "(cached) $ECHO_C" >&6
22633 else
22634 ac_cv_c_bigendian=unknown
22635 # See if sys/param.h defines the BYTE_ORDER macro.
22636 cat >conftest.$ac_ext <<_ACEOF
22637 /* confdefs.h. */
22638 _ACEOF
22639 cat confdefs.h >>conftest.$ac_ext
22640 cat >>conftest.$ac_ext <<_ACEOF
22641 /* end confdefs.h. */
22642 #include <sys/types.h>
22643 #include <sys/param.h>
22644 int
22645 main ()
22646 {
22647
22648 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22649 bogus endian macros
22650 #endif
22651 ;
22652 return 0;
22653 }
22654 _ACEOF
22655 rm -f conftest.$ac_objext
22656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22657 (eval $ac_compile) 2>conftest.er1
22658 ac_status=$?
22659 grep -v '^ *+' conftest.er1 >conftest.err
22660 rm -f conftest.er1
22661 cat conftest.err >&5
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); } &&
22664 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22666 (eval $ac_try) 2>&5
22667 ac_status=$?
22668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22669 (exit $ac_status); }; } &&
22670 { ac_try='test -s conftest.$ac_objext'
22671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22672 (eval $ac_try) 2>&5
22673 ac_status=$?
22674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22675 (exit $ac_status); }; }; then
22676 # It does; now see whether it defined to BIG_ENDIAN or not.
22677 cat >conftest.$ac_ext <<_ACEOF
22678 /* confdefs.h. */
22679 _ACEOF
22680 cat confdefs.h >>conftest.$ac_ext
22681 cat >>conftest.$ac_ext <<_ACEOF
22682 /* end confdefs.h. */
22683 #include <sys/types.h>
22684 #include <sys/param.h>
22685 int
22686 main ()
22687 {
22688
22689 #if BYTE_ORDER != BIG_ENDIAN
22690 not big endian
22691 #endif
22692 ;
22693 return 0;
22694 }
22695 _ACEOF
22696 rm -f conftest.$ac_objext
22697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22698 (eval $ac_compile) 2>conftest.er1
22699 ac_status=$?
22700 grep -v '^ *+' conftest.er1 >conftest.err
22701 rm -f conftest.er1
22702 cat conftest.err >&5
22703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704 (exit $ac_status); } &&
22705 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22707 (eval $ac_try) 2>&5
22708 ac_status=$?
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); }; } &&
22711 { ac_try='test -s conftest.$ac_objext'
22712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22713 (eval $ac_try) 2>&5
22714 ac_status=$?
22715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22716 (exit $ac_status); }; }; then
22717 ac_cv_c_bigendian=yes
22718 else
22719 echo "$as_me: failed program was:" >&5
22720 sed 's/^/| /' conftest.$ac_ext >&5
22721
22722 ac_cv_c_bigendian=no
22723 fi
22724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22725 else
22726 echo "$as_me: failed program was:" >&5
22727 sed 's/^/| /' conftest.$ac_ext >&5
22728
22729 fi
22730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22731 if test $ac_cv_c_bigendian = unknown; then
22732 if test "$cross_compiling" = yes; then
22733 ac_cv_c_bigendian=unknown
22734 else
22735 cat >conftest.$ac_ext <<_ACEOF
22736 /* confdefs.h. */
22737 _ACEOF
22738 cat confdefs.h >>conftest.$ac_ext
22739 cat >>conftest.$ac_ext <<_ACEOF
22740 /* end confdefs.h. */
22741 main () {
22742 /* Are we little or big endian? From Harbison&Steele. */
22743 union
22744 {
22745 long l;
22746 char c[sizeof (long)];
22747 } u;
22748 u.l = 1;
22749 exit (u.c[sizeof (long) - 1] == 1);
22750 }
22751 _ACEOF
22752 rm -f conftest$ac_exeext
22753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22754 (eval $ac_link) 2>&5
22755 ac_status=$?
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22760 ac_status=$?
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; }; then
22763 ac_cv_c_bigendian=no
22764 else
22765 echo "$as_me: program exited with status $ac_status" >&5
22766 echo "$as_me: failed program was:" >&5
22767 sed 's/^/| /' conftest.$ac_ext >&5
22768
22769 ( exit $ac_status )
22770 ac_cv_c_bigendian=yes
22771 fi
22772 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22773 fi
22774 fi
22775 fi
22776 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22777 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22778 if test $ac_cv_c_bigendian = unknown; then
22779 { 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
22780 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;}
22781 fi
22782 if test $ac_cv_c_bigendian = yes; then
22783 cat >>confdefs.h <<\_ACEOF
22784 #define WORDS_BIGENDIAN 1
22785 _ACEOF
22786
22787 fi
22788
22789
22790
22791
22792
22793 ac_ext=cc
22794 ac_cpp='$CXXCPP $CPPFLAGS'
22795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22798
22799
22800
22801 for ac_header in iostream
22802 do
22803 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22805 echo "$as_me:$LINENO: checking for $ac_header" >&5
22806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22808 echo $ECHO_N "(cached) $ECHO_C" >&6
22809 fi
22810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22811 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22812 else
22813 # Is the header compilable?
22814 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22815 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22816 cat >conftest.$ac_ext <<_ACEOF
22817 /* confdefs.h. */
22818 _ACEOF
22819 cat confdefs.h >>conftest.$ac_ext
22820 cat >>conftest.$ac_ext <<_ACEOF
22821 /* end confdefs.h. */
22822 $ac_includes_default
22823 #include <$ac_header>
22824 _ACEOF
22825 rm -f conftest.$ac_objext
22826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22827 (eval $ac_compile) 2>conftest.er1
22828 ac_status=$?
22829 grep -v '^ *+' conftest.er1 >conftest.err
22830 rm -f conftest.er1
22831 cat conftest.err >&5
22832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22833 (exit $ac_status); } &&
22834 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22836 (eval $ac_try) 2>&5
22837 ac_status=$?
22838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22839 (exit $ac_status); }; } &&
22840 { ac_try='test -s conftest.$ac_objext'
22841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22842 (eval $ac_try) 2>&5
22843 ac_status=$?
22844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845 (exit $ac_status); }; }; then
22846 ac_header_compiler=yes
22847 else
22848 echo "$as_me: failed program was:" >&5
22849 sed 's/^/| /' conftest.$ac_ext >&5
22850
22851 ac_header_compiler=no
22852 fi
22853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22854 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22855 echo "${ECHO_T}$ac_header_compiler" >&6
22856
22857 # Is the header present?
22858 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22859 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22860 cat >conftest.$ac_ext <<_ACEOF
22861 /* confdefs.h. */
22862 _ACEOF
22863 cat confdefs.h >>conftest.$ac_ext
22864 cat >>conftest.$ac_ext <<_ACEOF
22865 /* end confdefs.h. */
22866 #include <$ac_header>
22867 _ACEOF
22868 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22869 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22870 ac_status=$?
22871 grep -v '^ *+' conftest.er1 >conftest.err
22872 rm -f conftest.er1
22873 cat conftest.err >&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); } >/dev/null; then
22876 if test -s conftest.err; then
22877 ac_cpp_err=$ac_cxx_preproc_warn_flag
22878 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22879 else
22880 ac_cpp_err=
22881 fi
22882 else
22883 ac_cpp_err=yes
22884 fi
22885 if test -z "$ac_cpp_err"; then
22886 ac_header_preproc=yes
22887 else
22888 echo "$as_me: failed program was:" >&5
22889 sed 's/^/| /' conftest.$ac_ext >&5
22890
22891 ac_header_preproc=no
22892 fi
22893 rm -f conftest.err conftest.$ac_ext
22894 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22895 echo "${ECHO_T}$ac_header_preproc" >&6
22896
22897 # So? What about this header?
22898 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22899 yes:no: )
22900 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22901 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22903 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22904 ac_header_preproc=yes
22905 ;;
22906 no:yes:* )
22907 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22908 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22909 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22910 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22911 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22912 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22913 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22914 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22916 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22917 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22918 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22919 (
22920 cat <<\_ASBOX
22921 ## ----------------------------------------- ##
22922 ## Report this to wx-dev@lists.wxwidgets.org ##
22923 ## ----------------------------------------- ##
22924 _ASBOX
22925 ) |
22926 sed "s/^/$as_me: WARNING: /" >&2
22927 ;;
22928 esac
22929 echo "$as_me:$LINENO: checking for $ac_header" >&5
22930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22932 echo $ECHO_N "(cached) $ECHO_C" >&6
22933 else
22934 eval "$as_ac_Header=\$ac_header_preproc"
22935 fi
22936 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22937 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22938
22939 fi
22940 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22941 cat >>confdefs.h <<_ACEOF
22942 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22943 _ACEOF
22944
22945 fi
22946
22947 done
22948
22949
22950 if test "$ac_cv_header_iostream" = "yes" ; then
22951 :
22952 else
22953 cat >>confdefs.h <<\_ACEOF
22954 #define wxUSE_IOSTREAMH 1
22955 _ACEOF
22956
22957 fi
22958
22959 ac_ext=cc
22960 ac_cpp='$CXXCPP $CPPFLAGS'
22961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22964
22965
22966
22967
22968 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22969 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22970 if test "${wx_cv_cpp_bool+set}" = set; then
22971 echo $ECHO_N "(cached) $ECHO_C" >&6
22972 else
22973
22974
22975
22976 ac_ext=cc
22977 ac_cpp='$CXXCPP $CPPFLAGS'
22978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22981
22982
22983 cat >conftest.$ac_ext <<_ACEOF
22984 /* confdefs.h. */
22985 _ACEOF
22986 cat confdefs.h >>conftest.$ac_ext
22987 cat >>conftest.$ac_ext <<_ACEOF
22988 /* end confdefs.h. */
22989
22990
22991 int
22992 main ()
22993 {
22994
22995 bool b = true;
22996
22997 return 0;
22998
22999 ;
23000 return 0;
23001 }
23002 _ACEOF
23003 rm -f conftest.$ac_objext
23004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23005 (eval $ac_compile) 2>conftest.er1
23006 ac_status=$?
23007 grep -v '^ *+' conftest.er1 >conftest.err
23008 rm -f conftest.er1
23009 cat conftest.err >&5
23010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011 (exit $ac_status); } &&
23012 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23014 (eval $ac_try) 2>&5
23015 ac_status=$?
23016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23017 (exit $ac_status); }; } &&
23018 { ac_try='test -s conftest.$ac_objext'
23019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23020 (eval $ac_try) 2>&5
23021 ac_status=$?
23022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23023 (exit $ac_status); }; }; then
23024
23025 wx_cv_cpp_bool=yes
23026
23027 else
23028 echo "$as_me: failed program was:" >&5
23029 sed 's/^/| /' conftest.$ac_ext >&5
23030
23031
23032 wx_cv_cpp_bool=no
23033
23034
23035 fi
23036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23037
23038 ac_ext=cc
23039 ac_cpp='$CXXCPP $CPPFLAGS'
23040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23043
23044
23045 fi
23046 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23047 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23048
23049 if test "$wx_cv_cpp_bool" = "yes"; then
23050 cat >>confdefs.h <<\_ACEOF
23051 #define HAVE_BOOL 1
23052 _ACEOF
23053
23054 fi
23055
23056
23057
23058 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23059 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23060 if test "${wx_cv_explicit+set}" = set; then
23061 echo $ECHO_N "(cached) $ECHO_C" >&6
23062 else
23063
23064
23065
23066 ac_ext=cc
23067 ac_cpp='$CXXCPP $CPPFLAGS'
23068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23071
23072
23073 cat >conftest.$ac_ext <<_ACEOF
23074 /* confdefs.h. */
23075 _ACEOF
23076 cat confdefs.h >>conftest.$ac_ext
23077 cat >>conftest.$ac_ext <<_ACEOF
23078 /* end confdefs.h. */
23079
23080 class Foo { public: explicit Foo(int) {} };
23081
23082 int
23083 main ()
23084 {
23085
23086 return 0;
23087
23088 ;
23089 return 0;
23090 }
23091 _ACEOF
23092 rm -f conftest.$ac_objext
23093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23094 (eval $ac_compile) 2>conftest.er1
23095 ac_status=$?
23096 grep -v '^ *+' conftest.er1 >conftest.err
23097 rm -f conftest.er1
23098 cat conftest.err >&5
23099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23100 (exit $ac_status); } &&
23101 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23103 (eval $ac_try) 2>&5
23104 ac_status=$?
23105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23106 (exit $ac_status); }; } &&
23107 { ac_try='test -s conftest.$ac_objext'
23108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23109 (eval $ac_try) 2>&5
23110 ac_status=$?
23111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112 (exit $ac_status); }; }; then
23113
23114 cat >conftest.$ac_ext <<_ACEOF
23115 /* confdefs.h. */
23116 _ACEOF
23117 cat confdefs.h >>conftest.$ac_ext
23118 cat >>conftest.$ac_ext <<_ACEOF
23119 /* end confdefs.h. */
23120
23121 class Foo { public: explicit Foo(int) {} };
23122 static void TakeFoo(const Foo& foo) { }
23123
23124 int
23125 main ()
23126 {
23127
23128 TakeFoo(17);
23129 return 0;
23130
23131 ;
23132 return 0;
23133 }
23134 _ACEOF
23135 rm -f conftest.$ac_objext
23136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23137 (eval $ac_compile) 2>conftest.er1
23138 ac_status=$?
23139 grep -v '^ *+' conftest.er1 >conftest.err
23140 rm -f conftest.er1
23141 cat conftest.err >&5
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); } &&
23144 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23146 (eval $ac_try) 2>&5
23147 ac_status=$?
23148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23149 (exit $ac_status); }; } &&
23150 { ac_try='test -s conftest.$ac_objext'
23151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23152 (eval $ac_try) 2>&5
23153 ac_status=$?
23154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23155 (exit $ac_status); }; }; then
23156 wx_cv_explicit=no
23157 else
23158 echo "$as_me: failed program was:" >&5
23159 sed 's/^/| /' conftest.$ac_ext >&5
23160
23161 wx_cv_explicit=yes
23162
23163 fi
23164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23165
23166 else
23167 echo "$as_me: failed program was:" >&5
23168 sed 's/^/| /' conftest.$ac_ext >&5
23169
23170 wx_cv_explicit=no
23171
23172 fi
23173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23174
23175 ac_ext=cc
23176 ac_cpp='$CXXCPP $CPPFLAGS'
23177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23180
23181
23182 fi
23183 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23184 echo "${ECHO_T}$wx_cv_explicit" >&6
23185
23186 if test "$wx_cv_explicit" = "yes"; then
23187 cat >>confdefs.h <<\_ACEOF
23188 #define HAVE_EXPLICIT 1
23189 _ACEOF
23190
23191 fi
23192
23193
23194 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23195 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23196 if test "${ac_cv_cxx_const_cast+set}" = set; then
23197 echo $ECHO_N "(cached) $ECHO_C" >&6
23198 else
23199
23200
23201 ac_ext=cc
23202 ac_cpp='$CXXCPP $CPPFLAGS'
23203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23206
23207 cat >conftest.$ac_ext <<_ACEOF
23208 /* confdefs.h. */
23209 _ACEOF
23210 cat confdefs.h >>conftest.$ac_ext
23211 cat >>conftest.$ac_ext <<_ACEOF
23212 /* end confdefs.h. */
23213
23214 int
23215 main ()
23216 {
23217 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23218 ;
23219 return 0;
23220 }
23221 _ACEOF
23222 rm -f conftest.$ac_objext
23223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23224 (eval $ac_compile) 2>conftest.er1
23225 ac_status=$?
23226 grep -v '^ *+' conftest.er1 >conftest.err
23227 rm -f conftest.er1
23228 cat conftest.err >&5
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); } &&
23231 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23233 (eval $ac_try) 2>&5
23234 ac_status=$?
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); }; } &&
23237 { ac_try='test -s conftest.$ac_objext'
23238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23239 (eval $ac_try) 2>&5
23240 ac_status=$?
23241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23242 (exit $ac_status); }; }; then
23243 ac_cv_cxx_const_cast=yes
23244 else
23245 echo "$as_me: failed program was:" >&5
23246 sed 's/^/| /' conftest.$ac_ext >&5
23247
23248 ac_cv_cxx_const_cast=no
23249 fi
23250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23251 ac_ext=cc
23252 ac_cpp='$CXXCPP $CPPFLAGS'
23253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23256
23257
23258 fi
23259 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23260 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23261 if test "$ac_cv_cxx_const_cast" = yes; then
23262
23263 cat >>confdefs.h <<\_ACEOF
23264 #define HAVE_CONST_CAST
23265 _ACEOF
23266
23267 fi
23268
23269 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23270 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23271 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23272 echo $ECHO_N "(cached) $ECHO_C" >&6
23273 else
23274
23275
23276 ac_ext=cc
23277 ac_cpp='$CXXCPP $CPPFLAGS'
23278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23281
23282 cat >conftest.$ac_ext <<_ACEOF
23283 /* confdefs.h. */
23284 _ACEOF
23285 cat confdefs.h >>conftest.$ac_ext
23286 cat >>conftest.$ac_ext <<_ACEOF
23287 /* end confdefs.h. */
23288 #include <typeinfo>
23289 class Base { public : Base () {} virtual void f () = 0;};
23290 class Derived : public Base { public : Derived () {} virtual void f () {} };
23291 class Unrelated { public : Unrelated () {} };
23292 int g (Unrelated&) { return 0; }
23293 int
23294 main ()
23295 {
23296
23297 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23298 ;
23299 return 0;
23300 }
23301 _ACEOF
23302 rm -f conftest.$ac_objext
23303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23304 (eval $ac_compile) 2>conftest.er1
23305 ac_status=$?
23306 grep -v '^ *+' conftest.er1 >conftest.err
23307 rm -f conftest.er1
23308 cat conftest.err >&5
23309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23310 (exit $ac_status); } &&
23311 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23313 (eval $ac_try) 2>&5
23314 ac_status=$?
23315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23316 (exit $ac_status); }; } &&
23317 { ac_try='test -s conftest.$ac_objext'
23318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23319 (eval $ac_try) 2>&5
23320 ac_status=$?
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); }; }; then
23323 ac_cv_cxx_reinterpret_cast=yes
23324 else
23325 echo "$as_me: failed program was:" >&5
23326 sed 's/^/| /' conftest.$ac_ext >&5
23327
23328 ac_cv_cxx_reinterpret_cast=no
23329 fi
23330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23331 ac_ext=cc
23332 ac_cpp='$CXXCPP $CPPFLAGS'
23333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23336
23337
23338 fi
23339 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23340 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23341 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23342
23343 cat >>confdefs.h <<\_ACEOF
23344 #define HAVE_REINTERPRET_CAST
23345 _ACEOF
23346
23347 fi
23348
23349 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23350 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23351 if test "${ac_cv_cxx_static_cast+set}" = set; then
23352 echo $ECHO_N "(cached) $ECHO_C" >&6
23353 else
23354
23355
23356 ac_ext=cc
23357 ac_cpp='$CXXCPP $CPPFLAGS'
23358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23361
23362 cat >conftest.$ac_ext <<_ACEOF
23363 /* confdefs.h. */
23364 _ACEOF
23365 cat confdefs.h >>conftest.$ac_ext
23366 cat >>conftest.$ac_ext <<_ACEOF
23367 /* end confdefs.h. */
23368 #include <typeinfo>
23369 class Base { public : Base () {} virtual void f () = 0; };
23370 class Derived : public Base { public : Derived () {} virtual void f () {} };
23371 int g (Derived&) { return 0; }
23372 int
23373 main ()
23374 {
23375
23376 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23377 ;
23378 return 0;
23379 }
23380 _ACEOF
23381 rm -f conftest.$ac_objext
23382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23383 (eval $ac_compile) 2>conftest.er1
23384 ac_status=$?
23385 grep -v '^ *+' conftest.er1 >conftest.err
23386 rm -f conftest.er1
23387 cat conftest.err >&5
23388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389 (exit $ac_status); } &&
23390 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23392 (eval $ac_try) 2>&5
23393 ac_status=$?
23394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23395 (exit $ac_status); }; } &&
23396 { ac_try='test -s conftest.$ac_objext'
23397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23398 (eval $ac_try) 2>&5
23399 ac_status=$?
23400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23401 (exit $ac_status); }; }; then
23402 ac_cv_cxx_static_cast=yes
23403 else
23404 echo "$as_me: failed program was:" >&5
23405 sed 's/^/| /' conftest.$ac_ext >&5
23406
23407 ac_cv_cxx_static_cast=no
23408 fi
23409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23410 ac_ext=cc
23411 ac_cpp='$CXXCPP $CPPFLAGS'
23412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23415
23416
23417 fi
23418 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23419 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23420 if test "$ac_cv_cxx_static_cast" = yes; then
23421
23422 cat >>confdefs.h <<\_ACEOF
23423 #define HAVE_STATIC_CAST
23424 _ACEOF
23425
23426 fi
23427
23428
23429 if test "x$SUNCXX" = xyes; then
23430 CXXFLAGS="-features=tmplife $CXXFLAGS"
23431 fi
23432
23433 if test "x$SUNCC" = xyes; then
23434 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23435 fi
23436
23437 if test "x$SGICC" = "xyes"; then
23438 CFLAGS="-woff 3970 $CFLAGS"
23439 fi
23440 if test "x$SGICXX" = "xyes"; then
23441 CXXFLAGS="-woff 3970 $CXXFLAGS"
23442 fi
23443
23444 if test "x$HPCC" = "xyes"; then
23445 CFLAGS="+W 2011,2450 $CFLAGS"
23446 fi
23447 if test "x$HPCXX" = "xyes"; then
23448 CXXFLAGS="+W 2340 $CXXFLAGS"
23449 fi
23450
23451 if test "x$COMPAQCXX" = "xyes"; then
23452 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23453 fi
23454
23455 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23456 if test "$wxUSE_UNICODE" = "yes"; then
23457 std_string="std::wstring"
23458 char_type="wchar_t"
23459 else
23460 std_string="std::string"
23461 char_type="char"
23462 fi
23463
23464 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23465 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23466 cat >conftest.$ac_ext <<_ACEOF
23467 /* confdefs.h. */
23468 _ACEOF
23469 cat confdefs.h >>conftest.$ac_ext
23470 cat >>conftest.$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23472 #include <string>
23473 int
23474 main ()
23475 {
23476 $std_string foo;
23477 ;
23478 return 0;
23479 }
23480 _ACEOF
23481 rm -f conftest.$ac_objext
23482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23483 (eval $ac_compile) 2>conftest.er1
23484 ac_status=$?
23485 grep -v '^ *+' conftest.er1 >conftest.err
23486 rm -f conftest.er1
23487 cat conftest.err >&5
23488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489 (exit $ac_status); } &&
23490 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23492 (eval $ac_try) 2>&5
23493 ac_status=$?
23494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23495 (exit $ac_status); }; } &&
23496 { ac_try='test -s conftest.$ac_objext'
23497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23498 (eval $ac_try) 2>&5
23499 ac_status=$?
23500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23501 (exit $ac_status); }; }; then
23502 echo "$as_me:$LINENO: result: yes" >&5
23503 echo "${ECHO_T}yes" >&6
23504 cat >>confdefs.h <<\_ACEOF
23505 #define HAVE_STD_WSTRING 1
23506 _ACEOF
23507
23508 else
23509 echo "$as_me: failed program was:" >&5
23510 sed 's/^/| /' conftest.$ac_ext >&5
23511
23512 echo "$as_me:$LINENO: result: no" >&5
23513 echo "${ECHO_T}no" >&6
23514 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23515 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23516 cat >conftest.$ac_ext <<_ACEOF
23517 /* confdefs.h. */
23518 _ACEOF
23519 cat confdefs.h >>conftest.$ac_ext
23520 cat >>conftest.$ac_ext <<_ACEOF
23521 /* end confdefs.h. */
23522
23523 #ifdef HAVE_WCHAR_H
23524 # ifdef __CYGWIN__
23525 # include <stddef.h>
23526 # endif
23527 # include <wchar.h>
23528 #endif
23529 #ifdef HAVE_STDLIB_H
23530 # include <stdlib.h>
23531 #endif
23532 #include <stdio.h>
23533 #include <string>
23534
23535 int
23536 main ()
23537 {
23538 std::basic_string<$char_type> foo;
23539 const $char_type* dummy = foo.c_str();
23540 ;
23541 return 0;
23542 }
23543 _ACEOF
23544 rm -f conftest.$ac_objext
23545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23546 (eval $ac_compile) 2>conftest.er1
23547 ac_status=$?
23548 grep -v '^ *+' conftest.er1 >conftest.err
23549 rm -f conftest.er1
23550 cat conftest.err >&5
23551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23552 (exit $ac_status); } &&
23553 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23555 (eval $ac_try) 2>&5
23556 ac_status=$?
23557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23558 (exit $ac_status); }; } &&
23559 { ac_try='test -s conftest.$ac_objext'
23560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23561 (eval $ac_try) 2>&5
23562 ac_status=$?
23563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23564 (exit $ac_status); }; }; then
23565 echo "$as_me:$LINENO: result: yes" >&5
23566 echo "${ECHO_T}yes" >&6
23567 else
23568 echo "$as_me: failed program was:" >&5
23569 sed 's/^/| /' conftest.$ac_ext >&5
23570
23571 echo "$as_me:$LINENO: result: no" >&5
23572 echo "${ECHO_T}no" >&6
23573 if test "$wxUSE_STL" = "yes"; then
23574 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23575 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23576 { (exit 1); exit 1; }; }
23577 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23578 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23579 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23580 { (exit 1); exit 1; }; }
23581 else
23582 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23583 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23584 wxUSE_STD_STRING=no
23585 fi
23586
23587
23588 fi
23589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23590
23591 fi
23592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23593 fi
23594
23595 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23596 echo "$as_me:$LINENO: checking for std::istream" >&5
23597 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23598 if test "${ac_cv_type_std__istream+set}" = set; then
23599 echo $ECHO_N "(cached) $ECHO_C" >&6
23600 else
23601 cat >conftest.$ac_ext <<_ACEOF
23602 /* confdefs.h. */
23603 _ACEOF
23604 cat confdefs.h >>conftest.$ac_ext
23605 cat >>conftest.$ac_ext <<_ACEOF
23606 /* end confdefs.h. */
23607 #include <iostream>
23608
23609 int
23610 main ()
23611 {
23612 if ((std::istream *) 0)
23613 return 0;
23614 if (sizeof (std::istream))
23615 return 0;
23616 ;
23617 return 0;
23618 }
23619 _ACEOF
23620 rm -f conftest.$ac_objext
23621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23622 (eval $ac_compile) 2>conftest.er1
23623 ac_status=$?
23624 grep -v '^ *+' conftest.er1 >conftest.err
23625 rm -f conftest.er1
23626 cat conftest.err >&5
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); } &&
23629 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23631 (eval $ac_try) 2>&5
23632 ac_status=$?
23633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23634 (exit $ac_status); }; } &&
23635 { ac_try='test -s conftest.$ac_objext'
23636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23637 (eval $ac_try) 2>&5
23638 ac_status=$?
23639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23640 (exit $ac_status); }; }; then
23641 ac_cv_type_std__istream=yes
23642 else
23643 echo "$as_me: failed program was:" >&5
23644 sed 's/^/| /' conftest.$ac_ext >&5
23645
23646 ac_cv_type_std__istream=no
23647 fi
23648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23649 fi
23650 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23651 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23652 if test $ac_cv_type_std__istream = yes; then
23653
23654 cat >>confdefs.h <<_ACEOF
23655 #define HAVE_STD__ISTREAM 1
23656 _ACEOF
23657
23658
23659 else
23660 wxUSE_STD_IOSTREAM=no
23661 fi
23662 echo "$as_me:$LINENO: checking for std::ostream" >&5
23663 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23664 if test "${ac_cv_type_std__ostream+set}" = set; then
23665 echo $ECHO_N "(cached) $ECHO_C" >&6
23666 else
23667 cat >conftest.$ac_ext <<_ACEOF
23668 /* confdefs.h. */
23669 _ACEOF
23670 cat confdefs.h >>conftest.$ac_ext
23671 cat >>conftest.$ac_ext <<_ACEOF
23672 /* end confdefs.h. */
23673 #include <iostream>
23674
23675 int
23676 main ()
23677 {
23678 if ((std::ostream *) 0)
23679 return 0;
23680 if (sizeof (std::ostream))
23681 return 0;
23682 ;
23683 return 0;
23684 }
23685 _ACEOF
23686 rm -f conftest.$ac_objext
23687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23688 (eval $ac_compile) 2>conftest.er1
23689 ac_status=$?
23690 grep -v '^ *+' conftest.er1 >conftest.err
23691 rm -f conftest.er1
23692 cat conftest.err >&5
23693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694 (exit $ac_status); } &&
23695 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23697 (eval $ac_try) 2>&5
23698 ac_status=$?
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); }; } &&
23701 { ac_try='test -s conftest.$ac_objext'
23702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23703 (eval $ac_try) 2>&5
23704 ac_status=$?
23705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23706 (exit $ac_status); }; }; then
23707 ac_cv_type_std__ostream=yes
23708 else
23709 echo "$as_me: failed program was:" >&5
23710 sed 's/^/| /' conftest.$ac_ext >&5
23711
23712 ac_cv_type_std__ostream=no
23713 fi
23714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23715 fi
23716 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23717 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23718 if test $ac_cv_type_std__ostream = yes; then
23719
23720 cat >>confdefs.h <<_ACEOF
23721 #define HAVE_STD__OSTREAM 1
23722 _ACEOF
23723
23724
23725 else
23726 wxUSE_STD_IOSTREAM=no
23727 fi
23728
23729
23730 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23731 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23732 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23733 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23734 { (exit 1); exit 1; }; }
23735 else
23736 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23737 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23738 fi
23739 fi
23740 fi
23741
23742 if test "$wxUSE_STL" = "yes"; then
23743 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23744 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23745 cat >conftest.$ac_ext <<_ACEOF
23746 /* confdefs.h. */
23747 _ACEOF
23748 cat confdefs.h >>conftest.$ac_ext
23749 cat >>conftest.$ac_ext <<_ACEOF
23750 /* end confdefs.h. */
23751 #include <string>
23752 #include <functional>
23753 #include <algorithm>
23754 #include <vector>
23755 #include <list>
23756 int
23757 main ()
23758 {
23759 std::vector<int> moo;
23760 std::list<int> foo;
23761 std::vector<int>::iterator it =
23762 std::find_if(moo.begin(), moo.end(),
23763 std::bind2nd(std::less<int>(), 3));
23764 ;
23765 return 0;
23766 }
23767 _ACEOF
23768 rm -f conftest.$ac_objext
23769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23770 (eval $ac_compile) 2>conftest.er1
23771 ac_status=$?
23772 grep -v '^ *+' conftest.er1 >conftest.err
23773 rm -f conftest.er1
23774 cat conftest.err >&5
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); } &&
23777 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23779 (eval $ac_try) 2>&5
23780 ac_status=$?
23781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23782 (exit $ac_status); }; } &&
23783 { ac_try='test -s conftest.$ac_objext'
23784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23785 (eval $ac_try) 2>&5
23786 ac_status=$?
23787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788 (exit $ac_status); }; }; then
23789 echo "$as_me:$LINENO: result: yes" >&5
23790 echo "${ECHO_T}yes" >&6
23791 else
23792 echo "$as_me: failed program was:" >&5
23793 sed 's/^/| /' conftest.$ac_ext >&5
23794
23795 echo "$as_me:$LINENO: result: no" >&5
23796 echo "${ECHO_T}no" >&6
23797 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23798 echo "$as_me: error: Basic STL functionality missing" >&2;}
23799 { (exit 1); exit 1; }; }
23800 fi
23801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23802
23803 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23804 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23805 cat >conftest.$ac_ext <<_ACEOF
23806 /* confdefs.h. */
23807 _ACEOF
23808 cat confdefs.h >>conftest.$ac_ext
23809 cat >>conftest.$ac_ext <<_ACEOF
23810 /* end confdefs.h. */
23811 #include <string>
23812 int
23813 main ()
23814 {
23815 std::string foo, bar;
23816 foo.compare(bar);
23817 foo.compare(1, 1, bar);
23818 foo.compare(1, 1, bar, 1, 1);
23819 foo.compare("");
23820 foo.compare(1, 1, "");
23821 foo.compare(1, 1, "", 2);
23822 ;
23823 return 0;
23824 }
23825 _ACEOF
23826 rm -f conftest.$ac_objext
23827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23828 (eval $ac_compile) 2>conftest.er1
23829 ac_status=$?
23830 grep -v '^ *+' conftest.er1 >conftest.err
23831 rm -f conftest.er1
23832 cat conftest.err >&5
23833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834 (exit $ac_status); } &&
23835 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23837 (eval $ac_try) 2>&5
23838 ac_status=$?
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); }; } &&
23841 { ac_try='test -s conftest.$ac_objext'
23842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23843 (eval $ac_try) 2>&5
23844 ac_status=$?
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); }; }; then
23847 echo "$as_me:$LINENO: result: yes" >&5
23848 echo "${ECHO_T}yes" >&6
23849 cat >>confdefs.h <<\_ACEOF
23850 #define HAVE_STD_STRING_COMPARE 1
23851 _ACEOF
23852
23853 else
23854 echo "$as_me: failed program was:" >&5
23855 sed 's/^/| /' conftest.$ac_ext >&5
23856
23857 echo "$as_me:$LINENO: result: no" >&5
23858 echo "${ECHO_T}no" >&6
23859 fi
23860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23861
23862 if test "${ac_cv_header_hash_map+set}" = set; then
23863 echo "$as_me:$LINENO: checking for hash_map" >&5
23864 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23865 if test "${ac_cv_header_hash_map+set}" = set; then
23866 echo $ECHO_N "(cached) $ECHO_C" >&6
23867 fi
23868 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23869 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23870 else
23871 # Is the header compilable?
23872 echo "$as_me:$LINENO: checking hash_map usability" >&5
23873 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23874 cat >conftest.$ac_ext <<_ACEOF
23875 /* confdefs.h. */
23876 _ACEOF
23877 cat confdefs.h >>conftest.$ac_ext
23878 cat >>conftest.$ac_ext <<_ACEOF
23879 /* end confdefs.h. */
23880 $ac_includes_default
23881 #include <hash_map>
23882 _ACEOF
23883 rm -f conftest.$ac_objext
23884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23885 (eval $ac_compile) 2>conftest.er1
23886 ac_status=$?
23887 grep -v '^ *+' conftest.er1 >conftest.err
23888 rm -f conftest.er1
23889 cat conftest.err >&5
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); } &&
23892 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23894 (eval $ac_try) 2>&5
23895 ac_status=$?
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); }; } &&
23898 { ac_try='test -s conftest.$ac_objext'
23899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23900 (eval $ac_try) 2>&5
23901 ac_status=$?
23902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23903 (exit $ac_status); }; }; then
23904 ac_header_compiler=yes
23905 else
23906 echo "$as_me: failed program was:" >&5
23907 sed 's/^/| /' conftest.$ac_ext >&5
23908
23909 ac_header_compiler=no
23910 fi
23911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23912 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23913 echo "${ECHO_T}$ac_header_compiler" >&6
23914
23915 # Is the header present?
23916 echo "$as_me:$LINENO: checking hash_map presence" >&5
23917 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23918 cat >conftest.$ac_ext <<_ACEOF
23919 /* confdefs.h. */
23920 _ACEOF
23921 cat confdefs.h >>conftest.$ac_ext
23922 cat >>conftest.$ac_ext <<_ACEOF
23923 /* end confdefs.h. */
23924 #include <hash_map>
23925 _ACEOF
23926 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23927 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23928 ac_status=$?
23929 grep -v '^ *+' conftest.er1 >conftest.err
23930 rm -f conftest.er1
23931 cat conftest.err >&5
23932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23933 (exit $ac_status); } >/dev/null; then
23934 if test -s conftest.err; then
23935 ac_cpp_err=$ac_cxx_preproc_warn_flag
23936 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23937 else
23938 ac_cpp_err=
23939 fi
23940 else
23941 ac_cpp_err=yes
23942 fi
23943 if test -z "$ac_cpp_err"; then
23944 ac_header_preproc=yes
23945 else
23946 echo "$as_me: failed program was:" >&5
23947 sed 's/^/| /' conftest.$ac_ext >&5
23948
23949 ac_header_preproc=no
23950 fi
23951 rm -f conftest.err conftest.$ac_ext
23952 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23953 echo "${ECHO_T}$ac_header_preproc" >&6
23954
23955 # So? What about this header?
23956 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23957 yes:no: )
23958 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23959 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23960 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23961 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23962 ac_header_preproc=yes
23963 ;;
23964 no:yes:* )
23965 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23966 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23967 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23968 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23969 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23970 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23971 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23972 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23973 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23974 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23975 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23976 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23977 (
23978 cat <<\_ASBOX
23979 ## ----------------------------------------- ##
23980 ## Report this to wx-dev@lists.wxwidgets.org ##
23981 ## ----------------------------------------- ##
23982 _ASBOX
23983 ) |
23984 sed "s/^/$as_me: WARNING: /" >&2
23985 ;;
23986 esac
23987 echo "$as_me:$LINENO: checking for hash_map" >&5
23988 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23989 if test "${ac_cv_header_hash_map+set}" = set; then
23990 echo $ECHO_N "(cached) $ECHO_C" >&6
23991 else
23992 ac_cv_header_hash_map=$ac_header_preproc
23993 fi
23994 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23995 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23996
23997 fi
23998 if test $ac_cv_header_hash_map = yes; then
23999 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24000 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24001 cat >conftest.$ac_ext <<_ACEOF
24002 /* confdefs.h. */
24003 _ACEOF
24004 cat confdefs.h >>conftest.$ac_ext
24005 cat >>conftest.$ac_ext <<_ACEOF
24006 /* end confdefs.h. */
24007 #include <hash_map>
24008 #include <hash_set>
24009 int
24010 main ()
24011 {
24012 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24013 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24014 ;
24015 return 0;
24016 }
24017 _ACEOF
24018 rm -f conftest.$ac_objext
24019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24020 (eval $ac_compile) 2>conftest.er1
24021 ac_status=$?
24022 grep -v '^ *+' conftest.er1 >conftest.err
24023 rm -f conftest.er1
24024 cat conftest.err >&5
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); } &&
24027 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24029 (eval $ac_try) 2>&5
24030 ac_status=$?
24031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 (exit $ac_status); }; } &&
24033 { ac_try='test -s conftest.$ac_objext'
24034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24035 (eval $ac_try) 2>&5
24036 ac_status=$?
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); }; }; then
24039 echo "$as_me:$LINENO: result: yes" >&5
24040 echo "${ECHO_T}yes" >&6
24041 cat >>confdefs.h <<\_ACEOF
24042 #define HAVE_HASH_MAP 1
24043 _ACEOF
24044
24045 cat >>confdefs.h <<\_ACEOF
24046 #define HAVE_STD_HASH_MAP 1
24047 _ACEOF
24048
24049 else
24050 echo "$as_me: failed program was:" >&5
24051 sed 's/^/| /' conftest.$ac_ext >&5
24052
24053 echo "$as_me:$LINENO: result: no" >&5
24054 echo "${ECHO_T}no" >&6
24055 fi
24056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24057
24058 fi
24059
24060
24061
24062 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24063 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24064 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24065 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24066 echo $ECHO_N "(cached) $ECHO_C" >&6
24067 fi
24068 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24069 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24070 else
24071 # Is the header compilable?
24072 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24073 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24074 cat >conftest.$ac_ext <<_ACEOF
24075 /* confdefs.h. */
24076 _ACEOF
24077 cat confdefs.h >>conftest.$ac_ext
24078 cat >>conftest.$ac_ext <<_ACEOF
24079 /* end confdefs.h. */
24080 $ac_includes_default
24081 #include <ext/hash_map>
24082 _ACEOF
24083 rm -f conftest.$ac_objext
24084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24085 (eval $ac_compile) 2>conftest.er1
24086 ac_status=$?
24087 grep -v '^ *+' conftest.er1 >conftest.err
24088 rm -f conftest.er1
24089 cat conftest.err >&5
24090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24091 (exit $ac_status); } &&
24092 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24094 (eval $ac_try) 2>&5
24095 ac_status=$?
24096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24097 (exit $ac_status); }; } &&
24098 { ac_try='test -s conftest.$ac_objext'
24099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24100 (eval $ac_try) 2>&5
24101 ac_status=$?
24102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24103 (exit $ac_status); }; }; then
24104 ac_header_compiler=yes
24105 else
24106 echo "$as_me: failed program was:" >&5
24107 sed 's/^/| /' conftest.$ac_ext >&5
24108
24109 ac_header_compiler=no
24110 fi
24111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24112 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24113 echo "${ECHO_T}$ac_header_compiler" >&6
24114
24115 # Is the header present?
24116 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24117 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24118 cat >conftest.$ac_ext <<_ACEOF
24119 /* confdefs.h. */
24120 _ACEOF
24121 cat confdefs.h >>conftest.$ac_ext
24122 cat >>conftest.$ac_ext <<_ACEOF
24123 /* end confdefs.h. */
24124 #include <ext/hash_map>
24125 _ACEOF
24126 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24127 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24128 ac_status=$?
24129 grep -v '^ *+' conftest.er1 >conftest.err
24130 rm -f conftest.er1
24131 cat conftest.err >&5
24132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24133 (exit $ac_status); } >/dev/null; then
24134 if test -s conftest.err; then
24135 ac_cpp_err=$ac_cxx_preproc_warn_flag
24136 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24137 else
24138 ac_cpp_err=
24139 fi
24140 else
24141 ac_cpp_err=yes
24142 fi
24143 if test -z "$ac_cpp_err"; then
24144 ac_header_preproc=yes
24145 else
24146 echo "$as_me: failed program was:" >&5
24147 sed 's/^/| /' conftest.$ac_ext >&5
24148
24149 ac_header_preproc=no
24150 fi
24151 rm -f conftest.err conftest.$ac_ext
24152 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24153 echo "${ECHO_T}$ac_header_preproc" >&6
24154
24155 # So? What about this header?
24156 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24157 yes:no: )
24158 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24159 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24160 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24161 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24162 ac_header_preproc=yes
24163 ;;
24164 no:yes:* )
24165 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24166 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24167 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24168 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24169 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24170 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24171 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24172 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24173 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24174 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24175 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24176 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24177 (
24178 cat <<\_ASBOX
24179 ## ----------------------------------------- ##
24180 ## Report this to wx-dev@lists.wxwidgets.org ##
24181 ## ----------------------------------------- ##
24182 _ASBOX
24183 ) |
24184 sed "s/^/$as_me: WARNING: /" >&2
24185 ;;
24186 esac
24187 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24188 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24189 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24190 echo $ECHO_N "(cached) $ECHO_C" >&6
24191 else
24192 ac_cv_header_ext_hash_map=$ac_header_preproc
24193 fi
24194 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24195 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24196
24197 fi
24198 if test $ac_cv_header_ext_hash_map = yes; then
24199 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24200 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24201 cat >conftest.$ac_ext <<_ACEOF
24202 /* confdefs.h. */
24203 _ACEOF
24204 cat confdefs.h >>conftest.$ac_ext
24205 cat >>conftest.$ac_ext <<_ACEOF
24206 /* end confdefs.h. */
24207 #include <ext/hash_map>
24208 #include <ext/hash_set>
24209 int
24210 main ()
24211 {
24212 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24213 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24214 ;
24215 return 0;
24216 }
24217 _ACEOF
24218 rm -f conftest.$ac_objext
24219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24220 (eval $ac_compile) 2>conftest.er1
24221 ac_status=$?
24222 grep -v '^ *+' conftest.er1 >conftest.err
24223 rm -f conftest.er1
24224 cat conftest.err >&5
24225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24226 (exit $ac_status); } &&
24227 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24229 (eval $ac_try) 2>&5
24230 ac_status=$?
24231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232 (exit $ac_status); }; } &&
24233 { ac_try='test -s conftest.$ac_objext'
24234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24235 (eval $ac_try) 2>&5
24236 ac_status=$?
24237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24238 (exit $ac_status); }; }; then
24239 echo "$as_me:$LINENO: result: yes" >&5
24240 echo "${ECHO_T}yes" >&6
24241 cat >>confdefs.h <<\_ACEOF
24242 #define HAVE_EXT_HASH_MAP 1
24243 _ACEOF
24244
24245 cat >>confdefs.h <<\_ACEOF
24246 #define HAVE_GNU_CXX_HASH_MAP 1
24247 _ACEOF
24248
24249 else
24250 echo "$as_me: failed program was:" >&5
24251 sed 's/^/| /' conftest.$ac_ext >&5
24252
24253 echo "$as_me:$LINENO: result: no" >&5
24254 echo "${ECHO_T}no" >&6
24255 fi
24256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24257
24258 fi
24259
24260
24261 fi
24262
24263
24264 SEARCH_INCLUDE="\
24265 /usr/local/include \
24266 \
24267 /usr/Motif-2.1/include \
24268 /usr/Motif-1.2/include \
24269 /usr/include/Motif1.2 \
24270 \
24271 /usr/dt/include \
24272 /usr/openwin/include \
24273 \
24274 /usr/include/Xm \
24275 \
24276 /usr/X11R6/include \
24277 /usr/X11R6.4/include \
24278 /usr/X11R5/include \
24279 /usr/X11R4/include \
24280 \
24281 /usr/include/X11R6 \
24282 /usr/include/X11R5 \
24283 /usr/include/X11R4 \
24284 \
24285 /usr/local/X11R6/include \
24286 /usr/local/X11R5/include \
24287 /usr/local/X11R4/include \
24288 \
24289 /usr/local/include/X11R6 \
24290 /usr/local/include/X11R5 \
24291 /usr/local/include/X11R4 \
24292 \
24293 /usr/X11/include \
24294 /usr/include/X11 \
24295 /usr/local/X11/include \
24296 /usr/local/include/X11 \
24297 \
24298 /usr/XFree86/include/X11 \
24299 /usr/pkg/include \
24300 \
24301 /usr/openwin/share/include"
24302
24303 echo "$as_me:$LINENO: checking for libraries directory" >&5
24304 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24305
24306 case "${host}" in
24307 *-*-irix6* )
24308 if test "${wx_cv_std_libpath+set}" = set; then
24309 echo $ECHO_N "(cached) $ECHO_C" >&6
24310 else
24311
24312 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24313 for e in a so sl dylib dll.a; do
24314 libc="$d/libc.$e"
24315 if test -f $libc; then
24316 save_LIBS="$LIBS"
24317 LIBS="$libc"
24318 cat >conftest.$ac_ext <<_ACEOF
24319 int main() { return 0; }
24320 _ACEOF
24321 rm -f conftest.$ac_objext conftest$ac_exeext
24322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24323 (eval $ac_link) 2>conftest.er1
24324 ac_status=$?
24325 grep -v '^ *+' conftest.er1 >conftest.err
24326 rm -f conftest.er1
24327 cat conftest.err >&5
24328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24329 (exit $ac_status); } &&
24330 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24332 (eval $ac_try) 2>&5
24333 ac_status=$?
24334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24335 (exit $ac_status); }; } &&
24336 { ac_try='test -s conftest$ac_exeext'
24337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24338 (eval $ac_try) 2>&5
24339 ac_status=$?
24340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24341 (exit $ac_status); }; }; then
24342 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24343 else
24344 echo "$as_me: failed program was:" >&5
24345 sed 's/^/| /' conftest.$ac_ext >&5
24346
24347 fi
24348 rm -f conftest.err conftest.$ac_objext \
24349 conftest$ac_exeext conftest.$ac_ext
24350 LIBS="$save_LIBS"
24351 if test "x$wx_cv_std_libpath" != "x"; then
24352 break 2
24353 fi
24354 fi
24355 done
24356 done
24357 if test "x$wx_cv_std_libpath" = "x"; then
24358 wx_cv_std_libpath="lib"
24359 fi
24360
24361
24362 fi
24363
24364 ;;
24365
24366 *-*-solaris2* )
24367 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24368 wx_cv_std_libpath="lib/64"
24369 else
24370 wx_cv_std_libpath="lib"
24371 fi
24372 ;;
24373
24374 *-*-linux* )
24375 if test "$ac_cv_sizeof_void_p" = 8 -a \
24376 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24377 wx_cv_std_libpath="lib64"
24378 else
24379 wx_cv_std_libpath="lib"
24380 fi
24381 ;;
24382
24383 *)
24384 wx_cv_std_libpath="lib";
24385 ;;
24386 esac
24387
24388 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24389 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24390
24391 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24392
24393 if test "$build" != "$host" -a "$GCC" = yes; then
24394 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24395 cross_root=`dirname $cross_root`
24396 cross_root=`dirname $cross_root`
24397
24398 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24399 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24400 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24401
24402 if test -z "$PKG_CONFIG_PATH"; then
24403 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24404 export PKG_CONFIG_PATH
24405 fi
24406
24407 if test -z "$x_includes" -o "$x_includes" = NONE; then
24408
24409 ac_find_includes=
24410 for ac_dir in $SEARCH_INCLUDE /usr/include;
24411 do
24412 if test -f "$ac_dir/X11/Intrinsic.h"; then
24413 ac_find_includes=$ac_dir
24414 break
24415 fi
24416 done
24417
24418 x_includes=$ac_find_includes
24419 fi
24420 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24421
24422 ac_find_libraries=
24423 for ac_dir in $SEARCH_LIB;
24424 do
24425 for ac_extension in a so sl dylib dll.a; do
24426 if test -f "$ac_dir/libXt.$ac_extension"; then
24427 ac_find_libraries=$ac_dir
24428 break 2
24429 fi
24430 done
24431 done
24432
24433 x_libraries=$ac_find_libraries
24434 fi
24435 fi
24436 fi
24437
24438
24439 cat >confcache <<\_ACEOF
24440 # This file is a shell script that caches the results of configure
24441 # tests run on this system so they can be shared between configure
24442 # scripts and configure runs, see configure's option --config-cache.
24443 # It is not useful on other systems. If it contains results you don't
24444 # want to keep, you may remove or edit it.
24445 #
24446 # config.status only pays attention to the cache file if you give it
24447 # the --recheck option to rerun configure.
24448 #
24449 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24450 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24451 # following values.
24452
24453 _ACEOF
24454
24455 # The following way of writing the cache mishandles newlines in values,
24456 # but we know of no workaround that is simple, portable, and efficient.
24457 # So, don't put newlines in cache variables' values.
24458 # Ultrix sh set writes to stderr and can't be redirected directly,
24459 # and sets the high bit in the cache file unless we assign to the vars.
24460 {
24461 (set) 2>&1 |
24462 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24463 *ac_space=\ *)
24464 # `set' does not quote correctly, so add quotes (double-quote
24465 # substitution turns \\\\ into \\, and sed turns \\ into \).
24466 sed -n \
24467 "s/'/'\\\\''/g;
24468 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24469 ;;
24470 *)
24471 # `set' quotes correctly as required by POSIX, so do not add quotes.
24472 sed -n \
24473 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24474 ;;
24475 esac;
24476 } |
24477 sed '
24478 t clear
24479 : clear
24480 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24481 t end
24482 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24483 : end' >>confcache
24484 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24485 if test -w $cache_file; then
24486 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24487 cat confcache >$cache_file
24488 else
24489 echo "not updating unwritable cache $cache_file"
24490 fi
24491 fi
24492 rm -f confcache
24493
24494 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24495 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24496 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24497 if test "${wx_cv_lib_glibc21+set}" = set; then
24498 echo $ECHO_N "(cached) $ECHO_C" >&6
24499 else
24500
24501 cat >conftest.$ac_ext <<_ACEOF
24502 /* confdefs.h. */
24503 _ACEOF
24504 cat confdefs.h >>conftest.$ac_ext
24505 cat >>conftest.$ac_ext <<_ACEOF
24506 /* end confdefs.h. */
24507 #include <features.h>
24508 int
24509 main ()
24510 {
24511
24512 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24513 not glibc 2.1
24514 #endif
24515
24516 ;
24517 return 0;
24518 }
24519 _ACEOF
24520 rm -f conftest.$ac_objext
24521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24522 (eval $ac_compile) 2>conftest.er1
24523 ac_status=$?
24524 grep -v '^ *+' conftest.er1 >conftest.err
24525 rm -f conftest.er1
24526 cat conftest.err >&5
24527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24528 (exit $ac_status); } &&
24529 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24531 (eval $ac_try) 2>&5
24532 ac_status=$?
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); }; } &&
24535 { ac_try='test -s conftest.$ac_objext'
24536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24537 (eval $ac_try) 2>&5
24538 ac_status=$?
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); }; }; then
24541
24542 wx_cv_lib_glibc21=yes
24543
24544 else
24545 echo "$as_me: failed program was:" >&5
24546 sed 's/^/| /' conftest.$ac_ext >&5
24547
24548
24549 wx_cv_lib_glibc21=no
24550
24551
24552 fi
24553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24554
24555 fi
24556 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24557 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24558 if test "$wx_cv_lib_glibc21" = "yes"; then
24559 cat >>confdefs.h <<\_ACEOF
24560 #define wxHAVE_GLIBC2 1
24561 _ACEOF
24562
24563 fi
24564 fi
24565
24566 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24567 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24568 cat >>confdefs.h <<\_ACEOF
24569 #define _GNU_SOURCE 1
24570 _ACEOF
24571
24572 fi
24573 fi
24574
24575 have_cos=0
24576 have_floor=0
24577
24578 for ac_func in cos
24579 do
24580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24581 echo "$as_me:$LINENO: checking for $ac_func" >&5
24582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24583 if eval "test \"\${$as_ac_var+set}\" = set"; then
24584 echo $ECHO_N "(cached) $ECHO_C" >&6
24585 else
24586 cat >conftest.$ac_ext <<_ACEOF
24587 /* confdefs.h. */
24588 _ACEOF
24589 cat confdefs.h >>conftest.$ac_ext
24590 cat >>conftest.$ac_ext <<_ACEOF
24591 /* end confdefs.h. */
24592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24594 #define $ac_func innocuous_$ac_func
24595
24596 /* System header to define __stub macros and hopefully few prototypes,
24597 which can conflict with char $ac_func (); below.
24598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24599 <limits.h> exists even on freestanding compilers. */
24600
24601 #ifdef __STDC__
24602 # include <limits.h>
24603 #else
24604 # include <assert.h>
24605 #endif
24606
24607 #undef $ac_func
24608
24609 /* Override any gcc2 internal prototype to avoid an error. */
24610 #ifdef __cplusplus
24611 extern "C"
24612 {
24613 #endif
24614 /* We use char because int might match the return type of a gcc2
24615 builtin and then its argument prototype would still apply. */
24616 char $ac_func ();
24617 /* The GNU C library defines this for functions which it implements
24618 to always fail with ENOSYS. Some functions are actually named
24619 something starting with __ and the normal name is an alias. */
24620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24621 choke me
24622 #else
24623 char (*f) () = $ac_func;
24624 #endif
24625 #ifdef __cplusplus
24626 }
24627 #endif
24628
24629 int
24630 main ()
24631 {
24632 return f != $ac_func;
24633 ;
24634 return 0;
24635 }
24636 _ACEOF
24637 rm -f conftest.$ac_objext conftest$ac_exeext
24638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24639 (eval $ac_link) 2>conftest.er1
24640 ac_status=$?
24641 grep -v '^ *+' conftest.er1 >conftest.err
24642 rm -f conftest.er1
24643 cat conftest.err >&5
24644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24645 (exit $ac_status); } &&
24646 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24648 (eval $ac_try) 2>&5
24649 ac_status=$?
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); }; } &&
24652 { ac_try='test -s conftest$ac_exeext'
24653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24654 (eval $ac_try) 2>&5
24655 ac_status=$?
24656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24657 (exit $ac_status); }; }; then
24658 eval "$as_ac_var=yes"
24659 else
24660 echo "$as_me: failed program was:" >&5
24661 sed 's/^/| /' conftest.$ac_ext >&5
24662
24663 eval "$as_ac_var=no"
24664 fi
24665 rm -f conftest.err conftest.$ac_objext \
24666 conftest$ac_exeext conftest.$ac_ext
24667 fi
24668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24670 if test `eval echo '${'$as_ac_var'}'` = yes; then
24671 cat >>confdefs.h <<_ACEOF
24672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24673 _ACEOF
24674 have_cos=1
24675 fi
24676 done
24677
24678
24679 for ac_func in floor
24680 do
24681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24682 echo "$as_me:$LINENO: checking for $ac_func" >&5
24683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24684 if eval "test \"\${$as_ac_var+set}\" = set"; then
24685 echo $ECHO_N "(cached) $ECHO_C" >&6
24686 else
24687 cat >conftest.$ac_ext <<_ACEOF
24688 /* confdefs.h. */
24689 _ACEOF
24690 cat confdefs.h >>conftest.$ac_ext
24691 cat >>conftest.$ac_ext <<_ACEOF
24692 /* end confdefs.h. */
24693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24695 #define $ac_func innocuous_$ac_func
24696
24697 /* System header to define __stub macros and hopefully few prototypes,
24698 which can conflict with char $ac_func (); below.
24699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24700 <limits.h> exists even on freestanding compilers. */
24701
24702 #ifdef __STDC__
24703 # include <limits.h>
24704 #else
24705 # include <assert.h>
24706 #endif
24707
24708 #undef $ac_func
24709
24710 /* Override any gcc2 internal prototype to avoid an error. */
24711 #ifdef __cplusplus
24712 extern "C"
24713 {
24714 #endif
24715 /* We use char because int might match the return type of a gcc2
24716 builtin and then its argument prototype would still apply. */
24717 char $ac_func ();
24718 /* The GNU C library defines this for functions which it implements
24719 to always fail with ENOSYS. Some functions are actually named
24720 something starting with __ and the normal name is an alias. */
24721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24722 choke me
24723 #else
24724 char (*f) () = $ac_func;
24725 #endif
24726 #ifdef __cplusplus
24727 }
24728 #endif
24729
24730 int
24731 main ()
24732 {
24733 return f != $ac_func;
24734 ;
24735 return 0;
24736 }
24737 _ACEOF
24738 rm -f conftest.$ac_objext conftest$ac_exeext
24739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24740 (eval $ac_link) 2>conftest.er1
24741 ac_status=$?
24742 grep -v '^ *+' conftest.er1 >conftest.err
24743 rm -f conftest.er1
24744 cat conftest.err >&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); } &&
24747 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24749 (eval $ac_try) 2>&5
24750 ac_status=$?
24751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752 (exit $ac_status); }; } &&
24753 { ac_try='test -s conftest$ac_exeext'
24754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24755 (eval $ac_try) 2>&5
24756 ac_status=$?
24757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758 (exit $ac_status); }; }; then
24759 eval "$as_ac_var=yes"
24760 else
24761 echo "$as_me: failed program was:" >&5
24762 sed 's/^/| /' conftest.$ac_ext >&5
24763
24764 eval "$as_ac_var=no"
24765 fi
24766 rm -f conftest.err conftest.$ac_objext \
24767 conftest$ac_exeext conftest.$ac_ext
24768 fi
24769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24771 if test `eval echo '${'$as_ac_var'}'` = yes; then
24772 cat >>confdefs.h <<_ACEOF
24773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24774 _ACEOF
24775 have_floor=1
24776 fi
24777 done
24778
24779 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24780 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24781 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24782 echo "$as_me:$LINENO: result: yes" >&5
24783 echo "${ECHO_T}yes" >&6
24784 else
24785 echo "$as_me:$LINENO: result: no" >&5
24786 echo "${ECHO_T}no" >&6
24787 LIBS="$LIBS -lm"
24788 # use different functions to avoid configure caching
24789 have_sin=0
24790 have_ceil=0
24791
24792 for ac_func in sin
24793 do
24794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24795 echo "$as_me:$LINENO: checking for $ac_func" >&5
24796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24797 if eval "test \"\${$as_ac_var+set}\" = set"; then
24798 echo $ECHO_N "(cached) $ECHO_C" >&6
24799 else
24800 cat >conftest.$ac_ext <<_ACEOF
24801 /* confdefs.h. */
24802 _ACEOF
24803 cat confdefs.h >>conftest.$ac_ext
24804 cat >>conftest.$ac_ext <<_ACEOF
24805 /* end confdefs.h. */
24806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24808 #define $ac_func innocuous_$ac_func
24809
24810 /* System header to define __stub macros and hopefully few prototypes,
24811 which can conflict with char $ac_func (); below.
24812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24813 <limits.h> exists even on freestanding compilers. */
24814
24815 #ifdef __STDC__
24816 # include <limits.h>
24817 #else
24818 # include <assert.h>
24819 #endif
24820
24821 #undef $ac_func
24822
24823 /* Override any gcc2 internal prototype to avoid an error. */
24824 #ifdef __cplusplus
24825 extern "C"
24826 {
24827 #endif
24828 /* We use char because int might match the return type of a gcc2
24829 builtin and then its argument prototype would still apply. */
24830 char $ac_func ();
24831 /* The GNU C library defines this for functions which it implements
24832 to always fail with ENOSYS. Some functions are actually named
24833 something starting with __ and the normal name is an alias. */
24834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24835 choke me
24836 #else
24837 char (*f) () = $ac_func;
24838 #endif
24839 #ifdef __cplusplus
24840 }
24841 #endif
24842
24843 int
24844 main ()
24845 {
24846 return f != $ac_func;
24847 ;
24848 return 0;
24849 }
24850 _ACEOF
24851 rm -f conftest.$ac_objext conftest$ac_exeext
24852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24853 (eval $ac_link) 2>conftest.er1
24854 ac_status=$?
24855 grep -v '^ *+' conftest.er1 >conftest.err
24856 rm -f conftest.er1
24857 cat conftest.err >&5
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); } &&
24860 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24862 (eval $ac_try) 2>&5
24863 ac_status=$?
24864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24865 (exit $ac_status); }; } &&
24866 { ac_try='test -s conftest$ac_exeext'
24867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24868 (eval $ac_try) 2>&5
24869 ac_status=$?
24870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24871 (exit $ac_status); }; }; then
24872 eval "$as_ac_var=yes"
24873 else
24874 echo "$as_me: failed program was:" >&5
24875 sed 's/^/| /' conftest.$ac_ext >&5
24876
24877 eval "$as_ac_var=no"
24878 fi
24879 rm -f conftest.err conftest.$ac_objext \
24880 conftest$ac_exeext conftest.$ac_ext
24881 fi
24882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24884 if test `eval echo '${'$as_ac_var'}'` = yes; then
24885 cat >>confdefs.h <<_ACEOF
24886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24887 _ACEOF
24888 have_sin=1
24889 fi
24890 done
24891
24892
24893 for ac_func in ceil
24894 do
24895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24896 echo "$as_me:$LINENO: checking for $ac_func" >&5
24897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24898 if eval "test \"\${$as_ac_var+set}\" = set"; then
24899 echo $ECHO_N "(cached) $ECHO_C" >&6
24900 else
24901 cat >conftest.$ac_ext <<_ACEOF
24902 /* confdefs.h. */
24903 _ACEOF
24904 cat confdefs.h >>conftest.$ac_ext
24905 cat >>conftest.$ac_ext <<_ACEOF
24906 /* end confdefs.h. */
24907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24909 #define $ac_func innocuous_$ac_func
24910
24911 /* System header to define __stub macros and hopefully few prototypes,
24912 which can conflict with char $ac_func (); below.
24913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24914 <limits.h> exists even on freestanding compilers. */
24915
24916 #ifdef __STDC__
24917 # include <limits.h>
24918 #else
24919 # include <assert.h>
24920 #endif
24921
24922 #undef $ac_func
24923
24924 /* Override any gcc2 internal prototype to avoid an error. */
24925 #ifdef __cplusplus
24926 extern "C"
24927 {
24928 #endif
24929 /* We use char because int might match the return type of a gcc2
24930 builtin and then its argument prototype would still apply. */
24931 char $ac_func ();
24932 /* The GNU C library defines this for functions which it implements
24933 to always fail with ENOSYS. Some functions are actually named
24934 something starting with __ and the normal name is an alias. */
24935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24936 choke me
24937 #else
24938 char (*f) () = $ac_func;
24939 #endif
24940 #ifdef __cplusplus
24941 }
24942 #endif
24943
24944 int
24945 main ()
24946 {
24947 return f != $ac_func;
24948 ;
24949 return 0;
24950 }
24951 _ACEOF
24952 rm -f conftest.$ac_objext conftest$ac_exeext
24953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24954 (eval $ac_link) 2>conftest.er1
24955 ac_status=$?
24956 grep -v '^ *+' conftest.er1 >conftest.err
24957 rm -f conftest.er1
24958 cat conftest.err >&5
24959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24960 (exit $ac_status); } &&
24961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24963 (eval $ac_try) 2>&5
24964 ac_status=$?
24965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24966 (exit $ac_status); }; } &&
24967 { ac_try='test -s conftest$ac_exeext'
24968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24969 (eval $ac_try) 2>&5
24970 ac_status=$?
24971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24972 (exit $ac_status); }; }; then
24973 eval "$as_ac_var=yes"
24974 else
24975 echo "$as_me: failed program was:" >&5
24976 sed 's/^/| /' conftest.$ac_ext >&5
24977
24978 eval "$as_ac_var=no"
24979 fi
24980 rm -f conftest.err conftest.$ac_objext \
24981 conftest$ac_exeext conftest.$ac_ext
24982 fi
24983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24985 if test `eval echo '${'$as_ac_var'}'` = yes; then
24986 cat >>confdefs.h <<_ACEOF
24987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24988 _ACEOF
24989 have_ceil=1
24990 fi
24991 done
24992
24993 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24994 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24995 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24996 echo "$as_me:$LINENO: result: yes" >&5
24997 echo "${ECHO_T}yes" >&6
24998 else
24999 echo "$as_me:$LINENO: result: no" >&5
25000 echo "${ECHO_T}no" >&6
25001 # not sure we should warn the user, crash, etc.
25002 fi
25003 fi
25004
25005
25006
25007 if test "$wxUSE_REGEX" != "no"; then
25008 cat >>confdefs.h <<\_ACEOF
25009 #define wxUSE_REGEX 1
25010 _ACEOF
25011
25012
25013 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25014 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25015 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25016 wxUSE_REGEX=builtin
25017 fi
25018
25019 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25020 if test "${ac_cv_header_regex_h+set}" = set; then
25021 echo "$as_me:$LINENO: checking for regex.h" >&5
25022 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25023 if test "${ac_cv_header_regex_h+set}" = set; then
25024 echo $ECHO_N "(cached) $ECHO_C" >&6
25025 fi
25026 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25027 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25028 else
25029 # Is the header compilable?
25030 echo "$as_me:$LINENO: checking regex.h usability" >&5
25031 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25032 cat >conftest.$ac_ext <<_ACEOF
25033 /* confdefs.h. */
25034 _ACEOF
25035 cat confdefs.h >>conftest.$ac_ext
25036 cat >>conftest.$ac_ext <<_ACEOF
25037 /* end confdefs.h. */
25038 $ac_includes_default
25039 #include <regex.h>
25040 _ACEOF
25041 rm -f conftest.$ac_objext
25042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25043 (eval $ac_compile) 2>conftest.er1
25044 ac_status=$?
25045 grep -v '^ *+' conftest.er1 >conftest.err
25046 rm -f conftest.er1
25047 cat conftest.err >&5
25048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25049 (exit $ac_status); } &&
25050 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25052 (eval $ac_try) 2>&5
25053 ac_status=$?
25054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25055 (exit $ac_status); }; } &&
25056 { ac_try='test -s conftest.$ac_objext'
25057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25058 (eval $ac_try) 2>&5
25059 ac_status=$?
25060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25061 (exit $ac_status); }; }; then
25062 ac_header_compiler=yes
25063 else
25064 echo "$as_me: failed program was:" >&5
25065 sed 's/^/| /' conftest.$ac_ext >&5
25066
25067 ac_header_compiler=no
25068 fi
25069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25070 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25071 echo "${ECHO_T}$ac_header_compiler" >&6
25072
25073 # Is the header present?
25074 echo "$as_me:$LINENO: checking regex.h presence" >&5
25075 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25076 cat >conftest.$ac_ext <<_ACEOF
25077 /* confdefs.h. */
25078 _ACEOF
25079 cat confdefs.h >>conftest.$ac_ext
25080 cat >>conftest.$ac_ext <<_ACEOF
25081 /* end confdefs.h. */
25082 #include <regex.h>
25083 _ACEOF
25084 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25085 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25086 ac_status=$?
25087 grep -v '^ *+' conftest.er1 >conftest.err
25088 rm -f conftest.er1
25089 cat conftest.err >&5
25090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25091 (exit $ac_status); } >/dev/null; then
25092 if test -s conftest.err; then
25093 ac_cpp_err=$ac_cxx_preproc_warn_flag
25094 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25095 else
25096 ac_cpp_err=
25097 fi
25098 else
25099 ac_cpp_err=yes
25100 fi
25101 if test -z "$ac_cpp_err"; then
25102 ac_header_preproc=yes
25103 else
25104 echo "$as_me: failed program was:" >&5
25105 sed 's/^/| /' conftest.$ac_ext >&5
25106
25107 ac_header_preproc=no
25108 fi
25109 rm -f conftest.err conftest.$ac_ext
25110 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25111 echo "${ECHO_T}$ac_header_preproc" >&6
25112
25113 # So? What about this header?
25114 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25115 yes:no: )
25116 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25117 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25118 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25119 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25120 ac_header_preproc=yes
25121 ;;
25122 no:yes:* )
25123 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25124 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25125 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25126 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25127 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25128 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25129 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25130 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25131 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25132 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25133 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25134 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25135 (
25136 cat <<\_ASBOX
25137 ## ----------------------------------------- ##
25138 ## Report this to wx-dev@lists.wxwidgets.org ##
25139 ## ----------------------------------------- ##
25140 _ASBOX
25141 ) |
25142 sed "s/^/$as_me: WARNING: /" >&2
25143 ;;
25144 esac
25145 echo "$as_me:$LINENO: checking for regex.h" >&5
25146 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25147 if test "${ac_cv_header_regex_h+set}" = set; then
25148 echo $ECHO_N "(cached) $ECHO_C" >&6
25149 else
25150 ac_cv_header_regex_h=$ac_header_preproc
25151 fi
25152 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25153 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25154
25155 fi
25156 if test $ac_cv_header_regex_h = yes; then
25157
25158
25159 for ac_func in regcomp re_search
25160 do
25161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25162 echo "$as_me:$LINENO: checking for $ac_func" >&5
25163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25164 if eval "test \"\${$as_ac_var+set}\" = set"; then
25165 echo $ECHO_N "(cached) $ECHO_C" >&6
25166 else
25167 cat >conftest.$ac_ext <<_ACEOF
25168 /* confdefs.h. */
25169 _ACEOF
25170 cat confdefs.h >>conftest.$ac_ext
25171 cat >>conftest.$ac_ext <<_ACEOF
25172 /* end confdefs.h. */
25173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25175 #define $ac_func innocuous_$ac_func
25176
25177 /* System header to define __stub macros and hopefully few prototypes,
25178 which can conflict with char $ac_func (); below.
25179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25180 <limits.h> exists even on freestanding compilers. */
25181
25182 #ifdef __STDC__
25183 # include <limits.h>
25184 #else
25185 # include <assert.h>
25186 #endif
25187
25188 #undef $ac_func
25189
25190 /* Override any gcc2 internal prototype to avoid an error. */
25191 #ifdef __cplusplus
25192 extern "C"
25193 {
25194 #endif
25195 /* We use char because int might match the return type of a gcc2
25196 builtin and then its argument prototype would still apply. */
25197 char $ac_func ();
25198 /* The GNU C library defines this for functions which it implements
25199 to always fail with ENOSYS. Some functions are actually named
25200 something starting with __ and the normal name is an alias. */
25201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25202 choke me
25203 #else
25204 char (*f) () = $ac_func;
25205 #endif
25206 #ifdef __cplusplus
25207 }
25208 #endif
25209
25210 int
25211 main ()
25212 {
25213 return f != $ac_func;
25214 ;
25215 return 0;
25216 }
25217 _ACEOF
25218 rm -f conftest.$ac_objext conftest$ac_exeext
25219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25220 (eval $ac_link) 2>conftest.er1
25221 ac_status=$?
25222 grep -v '^ *+' conftest.er1 >conftest.err
25223 rm -f conftest.er1
25224 cat conftest.err >&5
25225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25226 (exit $ac_status); } &&
25227 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25229 (eval $ac_try) 2>&5
25230 ac_status=$?
25231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25232 (exit $ac_status); }; } &&
25233 { ac_try='test -s conftest$ac_exeext'
25234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25235 (eval $ac_try) 2>&5
25236 ac_status=$?
25237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25238 (exit $ac_status); }; }; then
25239 eval "$as_ac_var=yes"
25240 else
25241 echo "$as_me: failed program was:" >&5
25242 sed 's/^/| /' conftest.$ac_ext >&5
25243
25244 eval "$as_ac_var=no"
25245 fi
25246 rm -f conftest.err conftest.$ac_objext \
25247 conftest$ac_exeext conftest.$ac_ext
25248 fi
25249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25251 if test `eval echo '${'$as_ac_var'}'` = yes; then
25252 cat >>confdefs.h <<_ACEOF
25253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25254 _ACEOF
25255
25256 fi
25257 done
25258
25259 fi
25260
25261
25262
25263 if test "x$ac_cv_func_regcomp" != "xyes"; then
25264 if test "$wxUSE_REGEX" = "sys" ; then
25265 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25266 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25267 { (exit 1); exit 1; }; }
25268 else
25269 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25270 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25271 wxUSE_REGEX=builtin
25272 fi
25273 else
25274 wxUSE_REGEX=sys
25275 cat >>confdefs.h <<\_ACEOF
25276 #define WX_NO_REGEX_ADVANCED 1
25277 _ACEOF
25278
25279 fi
25280 fi
25281 fi
25282
25283
25284 ZLIB_LINK=
25285 if test "$wxUSE_ZLIB" != "no" ; then
25286 cat >>confdefs.h <<\_ACEOF
25287 #define wxUSE_ZLIB 1
25288 _ACEOF
25289
25290
25291 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25292 if test "$USE_DARWIN" = 1; then
25293 system_zlib_h_ok="yes"
25294 else
25295 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25296 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25297 if test "${ac_cv_header_zlib_h+set}" = set; then
25298 echo $ECHO_N "(cached) $ECHO_C" >&6
25299 else
25300 if test "$cross_compiling" = yes; then
25301 unset ac_cv_header_zlib_h
25302
25303 else
25304 cat >conftest.$ac_ext <<_ACEOF
25305 /* confdefs.h. */
25306 _ACEOF
25307 cat confdefs.h >>conftest.$ac_ext
25308 cat >>conftest.$ac_ext <<_ACEOF
25309 /* end confdefs.h. */
25310
25311 #include <zlib.h>
25312 #include <stdio.h>
25313
25314 int main()
25315 {
25316 FILE *f=fopen("conftestval", "w");
25317 if (!f) exit(1);
25318 fprintf(f, "%s",
25319 ZLIB_VERSION[0] == '1' &&
25320 (ZLIB_VERSION[2] > '1' ||
25321 (ZLIB_VERSION[2] == '1' &&
25322 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25323 exit(0);
25324 }
25325
25326 _ACEOF
25327 rm -f conftest$ac_exeext
25328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25329 (eval $ac_link) 2>&5
25330 ac_status=$?
25331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25334 (eval $ac_try) 2>&5
25335 ac_status=$?
25336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25337 (exit $ac_status); }; }; then
25338 ac_cv_header_zlib_h=`cat conftestval`
25339 else
25340 echo "$as_me: program exited with status $ac_status" >&5
25341 echo "$as_me: failed program was:" >&5
25342 sed 's/^/| /' conftest.$ac_ext >&5
25343
25344 ( exit $ac_status )
25345 ac_cv_header_zlib_h=no
25346 fi
25347 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25348 fi
25349
25350 fi
25351 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25352 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25353 if test "${ac_cv_header_zlib_h+set}" = set; then
25354 echo "$as_me:$LINENO: checking for zlib.h" >&5
25355 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25356 if test "${ac_cv_header_zlib_h+set}" = set; then
25357 echo $ECHO_N "(cached) $ECHO_C" >&6
25358 fi
25359 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25360 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25361 else
25362 # Is the header compilable?
25363 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25364 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25365 cat >conftest.$ac_ext <<_ACEOF
25366 /* confdefs.h. */
25367 _ACEOF
25368 cat confdefs.h >>conftest.$ac_ext
25369 cat >>conftest.$ac_ext <<_ACEOF
25370 /* end confdefs.h. */
25371 $ac_includes_default
25372 #include <zlib.h>
25373 _ACEOF
25374 rm -f conftest.$ac_objext
25375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25376 (eval $ac_compile) 2>conftest.er1
25377 ac_status=$?
25378 grep -v '^ *+' conftest.er1 >conftest.err
25379 rm -f conftest.er1
25380 cat conftest.err >&5
25381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25382 (exit $ac_status); } &&
25383 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25385 (eval $ac_try) 2>&5
25386 ac_status=$?
25387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25388 (exit $ac_status); }; } &&
25389 { ac_try='test -s conftest.$ac_objext'
25390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25391 (eval $ac_try) 2>&5
25392 ac_status=$?
25393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25394 (exit $ac_status); }; }; then
25395 ac_header_compiler=yes
25396 else
25397 echo "$as_me: failed program was:" >&5
25398 sed 's/^/| /' conftest.$ac_ext >&5
25399
25400 ac_header_compiler=no
25401 fi
25402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25403 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25404 echo "${ECHO_T}$ac_header_compiler" >&6
25405
25406 # Is the header present?
25407 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25408 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25409 cat >conftest.$ac_ext <<_ACEOF
25410 /* confdefs.h. */
25411 _ACEOF
25412 cat confdefs.h >>conftest.$ac_ext
25413 cat >>conftest.$ac_ext <<_ACEOF
25414 /* end confdefs.h. */
25415 #include <zlib.h>
25416 _ACEOF
25417 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25418 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25419 ac_status=$?
25420 grep -v '^ *+' conftest.er1 >conftest.err
25421 rm -f conftest.er1
25422 cat conftest.err >&5
25423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424 (exit $ac_status); } >/dev/null; then
25425 if test -s conftest.err; then
25426 ac_cpp_err=$ac_cxx_preproc_warn_flag
25427 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25428 else
25429 ac_cpp_err=
25430 fi
25431 else
25432 ac_cpp_err=yes
25433 fi
25434 if test -z "$ac_cpp_err"; then
25435 ac_header_preproc=yes
25436 else
25437 echo "$as_me: failed program was:" >&5
25438 sed 's/^/| /' conftest.$ac_ext >&5
25439
25440 ac_header_preproc=no
25441 fi
25442 rm -f conftest.err conftest.$ac_ext
25443 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25444 echo "${ECHO_T}$ac_header_preproc" >&6
25445
25446 # So? What about this header?
25447 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25448 yes:no: )
25449 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25450 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25451 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25452 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25453 ac_header_preproc=yes
25454 ;;
25455 no:yes:* )
25456 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25457 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25458 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25459 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25460 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25461 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25462 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25463 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25464 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25465 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25466 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25467 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25468 (
25469 cat <<\_ASBOX
25470 ## ----------------------------------------- ##
25471 ## Report this to wx-dev@lists.wxwidgets.org ##
25472 ## ----------------------------------------- ##
25473 _ASBOX
25474 ) |
25475 sed "s/^/$as_me: WARNING: /" >&2
25476 ;;
25477 esac
25478 echo "$as_me:$LINENO: checking for zlib.h" >&5
25479 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25480 if test "${ac_cv_header_zlib_h+set}" = set; then
25481 echo $ECHO_N "(cached) $ECHO_C" >&6
25482 else
25483 ac_cv_header_zlib_h=$ac_header_preproc
25484 fi
25485 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25486 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25487
25488 fi
25489
25490
25491
25492 system_zlib_h_ok=$ac_cv_header_zlib_h
25493 fi
25494
25495 if test "$system_zlib_h_ok" = "yes"; then
25496 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25497 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25498 if test "${ac_cv_lib_z_deflate+set}" = set; then
25499 echo $ECHO_N "(cached) $ECHO_C" >&6
25500 else
25501 ac_check_lib_save_LIBS=$LIBS
25502 LIBS="-lz $LIBS"
25503 cat >conftest.$ac_ext <<_ACEOF
25504 /* confdefs.h. */
25505 _ACEOF
25506 cat confdefs.h >>conftest.$ac_ext
25507 cat >>conftest.$ac_ext <<_ACEOF
25508 /* end confdefs.h. */
25509
25510 /* Override any gcc2 internal prototype to avoid an error. */
25511 #ifdef __cplusplus
25512 extern "C"
25513 #endif
25514 /* We use char because int might match the return type of a gcc2
25515 builtin and then its argument prototype would still apply. */
25516 char deflate ();
25517 int
25518 main ()
25519 {
25520 deflate ();
25521 ;
25522 return 0;
25523 }
25524 _ACEOF
25525 rm -f conftest.$ac_objext conftest$ac_exeext
25526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25527 (eval $ac_link) 2>conftest.er1
25528 ac_status=$?
25529 grep -v '^ *+' conftest.er1 >conftest.err
25530 rm -f conftest.er1
25531 cat conftest.err >&5
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); } &&
25534 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25536 (eval $ac_try) 2>&5
25537 ac_status=$?
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); }; } &&
25540 { ac_try='test -s conftest$ac_exeext'
25541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25542 (eval $ac_try) 2>&5
25543 ac_status=$?
25544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25545 (exit $ac_status); }; }; then
25546 ac_cv_lib_z_deflate=yes
25547 else
25548 echo "$as_me: failed program was:" >&5
25549 sed 's/^/| /' conftest.$ac_ext >&5
25550
25551 ac_cv_lib_z_deflate=no
25552 fi
25553 rm -f conftest.err conftest.$ac_objext \
25554 conftest$ac_exeext conftest.$ac_ext
25555 LIBS=$ac_check_lib_save_LIBS
25556 fi
25557 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25558 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25559 if test $ac_cv_lib_z_deflate = yes; then
25560 ZLIB_LINK=" -lz"
25561 fi
25562
25563 fi
25564
25565 if test "x$ZLIB_LINK" = "x" ; then
25566 if test "$wxUSE_ZLIB" = "sys" ; then
25567 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25568 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25569 { (exit 1); exit 1; }; }
25570 else
25571 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25572 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25573 wxUSE_ZLIB=builtin
25574 fi
25575 else
25576 wxUSE_ZLIB=sys
25577 fi
25578 fi
25579 fi
25580
25581
25582 PNG_LINK=
25583 if test "$wxUSE_LIBPNG" != "no" ; then
25584 cat >>confdefs.h <<\_ACEOF
25585 #define wxUSE_LIBPNG 1
25586 _ACEOF
25587
25588
25589 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25590 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25591 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25592 wxUSE_LIBPNG=sys
25593 fi
25594
25595 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25596 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25597 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25598 wxUSE_LIBPNG=builtin
25599 fi
25600
25601 if test "$wxUSE_MGL" != 1 ; then
25602 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25603 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25604 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25605 if test "${ac_cv_header_png_h+set}" = set; then
25606 echo $ECHO_N "(cached) $ECHO_C" >&6
25607 else
25608 if test "$cross_compiling" = yes; then
25609 unset ac_cv_header_png_h
25610
25611 else
25612 cat >conftest.$ac_ext <<_ACEOF
25613 /* confdefs.h. */
25614 _ACEOF
25615 cat confdefs.h >>conftest.$ac_ext
25616 cat >>conftest.$ac_ext <<_ACEOF
25617 /* end confdefs.h. */
25618
25619 #include <png.h>
25620 #include <stdio.h>
25621
25622 int main()
25623 {
25624 FILE *f=fopen("conftestval", "w");
25625 if (!f) exit(1);
25626 fprintf(f, "%s",
25627 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25628 exit(0);
25629 }
25630
25631 _ACEOF
25632 rm -f conftest$ac_exeext
25633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25634 (eval $ac_link) 2>&5
25635 ac_status=$?
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25639 (eval $ac_try) 2>&5
25640 ac_status=$?
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); }; }; then
25643 ac_cv_header_png_h=`cat conftestval`
25644 else
25645 echo "$as_me: program exited with status $ac_status" >&5
25646 echo "$as_me: failed program was:" >&5
25647 sed 's/^/| /' conftest.$ac_ext >&5
25648
25649 ( exit $ac_status )
25650 ac_cv_header_png_h=no
25651 fi
25652 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25653 fi
25654
25655 fi
25656 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25657 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25658 if test "${ac_cv_header_png_h+set}" = set; then
25659 echo "$as_me:$LINENO: checking for png.h" >&5
25660 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25661 if test "${ac_cv_header_png_h+set}" = set; then
25662 echo $ECHO_N "(cached) $ECHO_C" >&6
25663 fi
25664 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25665 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25666 else
25667 # Is the header compilable?
25668 echo "$as_me:$LINENO: checking png.h usability" >&5
25669 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25670 cat >conftest.$ac_ext <<_ACEOF
25671 /* confdefs.h. */
25672 _ACEOF
25673 cat confdefs.h >>conftest.$ac_ext
25674 cat >>conftest.$ac_ext <<_ACEOF
25675 /* end confdefs.h. */
25676 $ac_includes_default
25677 #include <png.h>
25678 _ACEOF
25679 rm -f conftest.$ac_objext
25680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25681 (eval $ac_compile) 2>conftest.er1
25682 ac_status=$?
25683 grep -v '^ *+' conftest.er1 >conftest.err
25684 rm -f conftest.er1
25685 cat conftest.err >&5
25686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687 (exit $ac_status); } &&
25688 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25690 (eval $ac_try) 2>&5
25691 ac_status=$?
25692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25693 (exit $ac_status); }; } &&
25694 { ac_try='test -s conftest.$ac_objext'
25695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25696 (eval $ac_try) 2>&5
25697 ac_status=$?
25698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699 (exit $ac_status); }; }; then
25700 ac_header_compiler=yes
25701 else
25702 echo "$as_me: failed program was:" >&5
25703 sed 's/^/| /' conftest.$ac_ext >&5
25704
25705 ac_header_compiler=no
25706 fi
25707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25708 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25709 echo "${ECHO_T}$ac_header_compiler" >&6
25710
25711 # Is the header present?
25712 echo "$as_me:$LINENO: checking png.h presence" >&5
25713 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25714 cat >conftest.$ac_ext <<_ACEOF
25715 /* confdefs.h. */
25716 _ACEOF
25717 cat confdefs.h >>conftest.$ac_ext
25718 cat >>conftest.$ac_ext <<_ACEOF
25719 /* end confdefs.h. */
25720 #include <png.h>
25721 _ACEOF
25722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25724 ac_status=$?
25725 grep -v '^ *+' conftest.er1 >conftest.err
25726 rm -f conftest.er1
25727 cat conftest.err >&5
25728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25729 (exit $ac_status); } >/dev/null; then
25730 if test -s conftest.err; then
25731 ac_cpp_err=$ac_cxx_preproc_warn_flag
25732 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25733 else
25734 ac_cpp_err=
25735 fi
25736 else
25737 ac_cpp_err=yes
25738 fi
25739 if test -z "$ac_cpp_err"; then
25740 ac_header_preproc=yes
25741 else
25742 echo "$as_me: failed program was:" >&5
25743 sed 's/^/| /' conftest.$ac_ext >&5
25744
25745 ac_header_preproc=no
25746 fi
25747 rm -f conftest.err conftest.$ac_ext
25748 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25749 echo "${ECHO_T}$ac_header_preproc" >&6
25750
25751 # So? What about this header?
25752 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25753 yes:no: )
25754 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25755 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25756 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25757 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25758 ac_header_preproc=yes
25759 ;;
25760 no:yes:* )
25761 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25762 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25763 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25764 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25765 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25766 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25767 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25768 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25769 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25770 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25771 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25772 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25773 (
25774 cat <<\_ASBOX
25775 ## ----------------------------------------- ##
25776 ## Report this to wx-dev@lists.wxwidgets.org ##
25777 ## ----------------------------------------- ##
25778 _ASBOX
25779 ) |
25780 sed "s/^/$as_me: WARNING: /" >&2
25781 ;;
25782 esac
25783 echo "$as_me:$LINENO: checking for png.h" >&5
25784 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25785 if test "${ac_cv_header_png_h+set}" = set; then
25786 echo $ECHO_N "(cached) $ECHO_C" >&6
25787 else
25788 ac_cv_header_png_h=$ac_header_preproc
25789 fi
25790 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25791 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25792
25793 fi
25794
25795
25796
25797 if test "$ac_cv_header_png_h" = "yes"; then
25798 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25799 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25800 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25801 echo $ECHO_N "(cached) $ECHO_C" >&6
25802 else
25803 ac_check_lib_save_LIBS=$LIBS
25804 LIBS="-lpng -lz -lm $LIBS"
25805 cat >conftest.$ac_ext <<_ACEOF
25806 /* confdefs.h. */
25807 _ACEOF
25808 cat confdefs.h >>conftest.$ac_ext
25809 cat >>conftest.$ac_ext <<_ACEOF
25810 /* end confdefs.h. */
25811
25812 /* Override any gcc2 internal prototype to avoid an error. */
25813 #ifdef __cplusplus
25814 extern "C"
25815 #endif
25816 /* We use char because int might match the return type of a gcc2
25817 builtin and then its argument prototype would still apply. */
25818 char png_check_sig ();
25819 int
25820 main ()
25821 {
25822 png_check_sig ();
25823 ;
25824 return 0;
25825 }
25826 _ACEOF
25827 rm -f conftest.$ac_objext conftest$ac_exeext
25828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25829 (eval $ac_link) 2>conftest.er1
25830 ac_status=$?
25831 grep -v '^ *+' conftest.er1 >conftest.err
25832 rm -f conftest.er1
25833 cat conftest.err >&5
25834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835 (exit $ac_status); } &&
25836 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25838 (eval $ac_try) 2>&5
25839 ac_status=$?
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); }; } &&
25842 { ac_try='test -s conftest$ac_exeext'
25843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25844 (eval $ac_try) 2>&5
25845 ac_status=$?
25846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25847 (exit $ac_status); }; }; then
25848 ac_cv_lib_png_png_check_sig=yes
25849 else
25850 echo "$as_me: failed program was:" >&5
25851 sed 's/^/| /' conftest.$ac_ext >&5
25852
25853 ac_cv_lib_png_png_check_sig=no
25854 fi
25855 rm -f conftest.err conftest.$ac_objext \
25856 conftest$ac_exeext conftest.$ac_ext
25857 LIBS=$ac_check_lib_save_LIBS
25858 fi
25859 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25860 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25861 if test $ac_cv_lib_png_png_check_sig = yes; then
25862 PNG_LINK=" -lpng -lz"
25863 fi
25864
25865 fi
25866
25867 if test "x$PNG_LINK" = "x" ; then
25868 if test "$wxUSE_LIBPNG" = "sys" ; then
25869 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25870 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25871 { (exit 1); exit 1; }; }
25872 else
25873 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25874 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25875 wxUSE_LIBPNG=builtin
25876 fi
25877 else
25878 wxUSE_LIBPNG=sys
25879 fi
25880 fi
25881 fi
25882
25883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25884 fi
25885
25886
25887 JPEG_LINK=
25888 if test "$wxUSE_LIBJPEG" != "no" ; then
25889 cat >>confdefs.h <<\_ACEOF
25890 #define wxUSE_LIBJPEG 1
25891 _ACEOF
25892
25893
25894 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25895 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25896 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25897 wxUSE_LIBJPEG=sys
25898 fi
25899
25900 if test "$wxUSE_MGL" != 1 ; then
25901 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25902 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25903 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25904 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25905 echo $ECHO_N "(cached) $ECHO_C" >&6
25906 else
25907 cat >conftest.$ac_ext <<_ACEOF
25908 /* confdefs.h. */
25909 _ACEOF
25910 cat confdefs.h >>conftest.$ac_ext
25911 cat >>conftest.$ac_ext <<_ACEOF
25912 /* end confdefs.h. */
25913
25914 #undef HAVE_STDLIB_H
25915 #include <stdio.h>
25916 #include <jpeglib.h>
25917
25918 int
25919 main ()
25920 {
25921
25922
25923 ;
25924 return 0;
25925 }
25926 _ACEOF
25927 rm -f conftest.$ac_objext
25928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25929 (eval $ac_compile) 2>conftest.er1
25930 ac_status=$?
25931 grep -v '^ *+' conftest.er1 >conftest.err
25932 rm -f conftest.er1
25933 cat conftest.err >&5
25934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25935 (exit $ac_status); } &&
25936 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25938 (eval $ac_try) 2>&5
25939 ac_status=$?
25940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25941 (exit $ac_status); }; } &&
25942 { ac_try='test -s conftest.$ac_objext'
25943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25944 (eval $ac_try) 2>&5
25945 ac_status=$?
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); }; }; then
25948 ac_cv_header_jpeglib_h=yes
25949 else
25950 echo "$as_me: failed program was:" >&5
25951 sed 's/^/| /' conftest.$ac_ext >&5
25952
25953 ac_cv_header_jpeglib_h=no
25954
25955 fi
25956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25957
25958 fi
25959
25960 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25961 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25962
25963 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25964 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25965 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25966 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25967 echo $ECHO_N "(cached) $ECHO_C" >&6
25968 else
25969 ac_check_lib_save_LIBS=$LIBS
25970 LIBS="-ljpeg $LIBS"
25971 cat >conftest.$ac_ext <<_ACEOF
25972 /* confdefs.h. */
25973 _ACEOF
25974 cat confdefs.h >>conftest.$ac_ext
25975 cat >>conftest.$ac_ext <<_ACEOF
25976 /* end confdefs.h. */
25977
25978 /* Override any gcc2 internal prototype to avoid an error. */
25979 #ifdef __cplusplus
25980 extern "C"
25981 #endif
25982 /* We use char because int might match the return type of a gcc2
25983 builtin and then its argument prototype would still apply. */
25984 char jpeg_read_header ();
25985 int
25986 main ()
25987 {
25988 jpeg_read_header ();
25989 ;
25990 return 0;
25991 }
25992 _ACEOF
25993 rm -f conftest.$ac_objext conftest$ac_exeext
25994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25995 (eval $ac_link) 2>conftest.er1
25996 ac_status=$?
25997 grep -v '^ *+' conftest.er1 >conftest.err
25998 rm -f conftest.er1
25999 cat conftest.err >&5
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); } &&
26002 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26004 (eval $ac_try) 2>&5
26005 ac_status=$?
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); }; } &&
26008 { ac_try='test -s conftest$ac_exeext'
26009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26010 (eval $ac_try) 2>&5
26011 ac_status=$?
26012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26013 (exit $ac_status); }; }; then
26014 ac_cv_lib_jpeg_jpeg_read_header=yes
26015 else
26016 echo "$as_me: failed program was:" >&5
26017 sed 's/^/| /' conftest.$ac_ext >&5
26018
26019 ac_cv_lib_jpeg_jpeg_read_header=no
26020 fi
26021 rm -f conftest.err conftest.$ac_objext \
26022 conftest$ac_exeext conftest.$ac_ext
26023 LIBS=$ac_check_lib_save_LIBS
26024 fi
26025 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26026 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26027 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26028 JPEG_LINK=" -ljpeg"
26029 fi
26030
26031 fi
26032
26033 if test "x$JPEG_LINK" = "x" ; then
26034 if test "$wxUSE_LIBJPEG" = "sys" ; then
26035 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26036 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26037 { (exit 1); exit 1; }; }
26038 else
26039 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26040 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26041 wxUSE_LIBJPEG=builtin
26042 fi
26043 else
26044 wxUSE_LIBJPEG=sys
26045 fi
26046 fi
26047 fi
26048 fi
26049
26050
26051 TIFF_LINK=
26052 TIFF_PREREQ_LINKS=-lm
26053 if test "$wxUSE_LIBTIFF" != "no" ; then
26054 cat >>confdefs.h <<\_ACEOF
26055 #define wxUSE_LIBTIFF 1
26056 _ACEOF
26057
26058
26059 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26060 if test "$wxUSE_LIBJPEG" = "sys"; then
26061 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26062 fi
26063 if test "$wxUSE_ZLIB" = "sys"; then
26064 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26065 fi
26066 if test "${ac_cv_header_tiffio_h+set}" = set; then
26067 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26068 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26069 if test "${ac_cv_header_tiffio_h+set}" = set; then
26070 echo $ECHO_N "(cached) $ECHO_C" >&6
26071 fi
26072 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26073 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26074 else
26075 # Is the header compilable?
26076 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26077 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26078 cat >conftest.$ac_ext <<_ACEOF
26079 /* confdefs.h. */
26080 _ACEOF
26081 cat confdefs.h >>conftest.$ac_ext
26082 cat >>conftest.$ac_ext <<_ACEOF
26083 /* end confdefs.h. */
26084 $ac_includes_default
26085 #include <tiffio.h>
26086 _ACEOF
26087 rm -f conftest.$ac_objext
26088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26089 (eval $ac_compile) 2>conftest.er1
26090 ac_status=$?
26091 grep -v '^ *+' conftest.er1 >conftest.err
26092 rm -f conftest.er1
26093 cat conftest.err >&5
26094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26095 (exit $ac_status); } &&
26096 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26098 (eval $ac_try) 2>&5
26099 ac_status=$?
26100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26101 (exit $ac_status); }; } &&
26102 { ac_try='test -s conftest.$ac_objext'
26103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26104 (eval $ac_try) 2>&5
26105 ac_status=$?
26106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107 (exit $ac_status); }; }; then
26108 ac_header_compiler=yes
26109 else
26110 echo "$as_me: failed program was:" >&5
26111 sed 's/^/| /' conftest.$ac_ext >&5
26112
26113 ac_header_compiler=no
26114 fi
26115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26117 echo "${ECHO_T}$ac_header_compiler" >&6
26118
26119 # Is the header present?
26120 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26121 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26122 cat >conftest.$ac_ext <<_ACEOF
26123 /* confdefs.h. */
26124 _ACEOF
26125 cat confdefs.h >>conftest.$ac_ext
26126 cat >>conftest.$ac_ext <<_ACEOF
26127 /* end confdefs.h. */
26128 #include <tiffio.h>
26129 _ACEOF
26130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26132 ac_status=$?
26133 grep -v '^ *+' conftest.er1 >conftest.err
26134 rm -f conftest.er1
26135 cat conftest.err >&5
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); } >/dev/null; then
26138 if test -s conftest.err; then
26139 ac_cpp_err=$ac_cxx_preproc_warn_flag
26140 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26141 else
26142 ac_cpp_err=
26143 fi
26144 else
26145 ac_cpp_err=yes
26146 fi
26147 if test -z "$ac_cpp_err"; then
26148 ac_header_preproc=yes
26149 else
26150 echo "$as_me: failed program was:" >&5
26151 sed 's/^/| /' conftest.$ac_ext >&5
26152
26153 ac_header_preproc=no
26154 fi
26155 rm -f conftest.err conftest.$ac_ext
26156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26157 echo "${ECHO_T}$ac_header_preproc" >&6
26158
26159 # So? What about this header?
26160 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26161 yes:no: )
26162 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26163 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26164 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26165 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26166 ac_header_preproc=yes
26167 ;;
26168 no:yes:* )
26169 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26170 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26171 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26172 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26173 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26174 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26175 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26176 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26177 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26178 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26179 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26180 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26181 (
26182 cat <<\_ASBOX
26183 ## ----------------------------------------- ##
26184 ## Report this to wx-dev@lists.wxwidgets.org ##
26185 ## ----------------------------------------- ##
26186 _ASBOX
26187 ) |
26188 sed "s/^/$as_me: WARNING: /" >&2
26189 ;;
26190 esac
26191 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26192 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26193 if test "${ac_cv_header_tiffio_h+set}" = set; then
26194 echo $ECHO_N "(cached) $ECHO_C" >&6
26195 else
26196 ac_cv_header_tiffio_h=$ac_header_preproc
26197 fi
26198 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26199 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26200
26201 fi
26202 if test $ac_cv_header_tiffio_h = yes; then
26203
26204 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26205 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26206 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26207 echo $ECHO_N "(cached) $ECHO_C" >&6
26208 else
26209 ac_check_lib_save_LIBS=$LIBS
26210 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26211 cat >conftest.$ac_ext <<_ACEOF
26212 /* confdefs.h. */
26213 _ACEOF
26214 cat confdefs.h >>conftest.$ac_ext
26215 cat >>conftest.$ac_ext <<_ACEOF
26216 /* end confdefs.h. */
26217
26218 /* Override any gcc2 internal prototype to avoid an error. */
26219 #ifdef __cplusplus
26220 extern "C"
26221 #endif
26222 /* We use char because int might match the return type of a gcc2
26223 builtin and then its argument prototype would still apply. */
26224 char TIFFError ();
26225 int
26226 main ()
26227 {
26228 TIFFError ();
26229 ;
26230 return 0;
26231 }
26232 _ACEOF
26233 rm -f conftest.$ac_objext conftest$ac_exeext
26234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26235 (eval $ac_link) 2>conftest.er1
26236 ac_status=$?
26237 grep -v '^ *+' conftest.er1 >conftest.err
26238 rm -f conftest.er1
26239 cat conftest.err >&5
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); } &&
26242 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26244 (eval $ac_try) 2>&5
26245 ac_status=$?
26246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26247 (exit $ac_status); }; } &&
26248 { ac_try='test -s conftest$ac_exeext'
26249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26250 (eval $ac_try) 2>&5
26251 ac_status=$?
26252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253 (exit $ac_status); }; }; then
26254 ac_cv_lib_tiff_TIFFError=yes
26255 else
26256 echo "$as_me: failed program was:" >&5
26257 sed 's/^/| /' conftest.$ac_ext >&5
26258
26259 ac_cv_lib_tiff_TIFFError=no
26260 fi
26261 rm -f conftest.err conftest.$ac_objext \
26262 conftest$ac_exeext conftest.$ac_ext
26263 LIBS=$ac_check_lib_save_LIBS
26264 fi
26265 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26266 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26267 if test $ac_cv_lib_tiff_TIFFError = yes; then
26268 TIFF_LINK=" -ltiff"
26269 fi
26270
26271
26272
26273 fi
26274
26275
26276
26277 if test "x$TIFF_LINK" = "x" ; then
26278 if test "$wxUSE_LIBTIFF" = "sys" ; then
26279 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26280 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26281 { (exit 1); exit 1; }; }
26282 else
26283 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26284 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26285 wxUSE_LIBTIFF=builtin
26286 fi
26287 else
26288 wxUSE_LIBTIFF=sys
26289 fi
26290 fi
26291 fi
26292
26293
26294 if test "$wxUSE_WCHAR_T" != "yes"; then
26295 if test "$wxUSE_EXPAT" != "no"; then
26296 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26297 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26298 wxUSE_EXPAT=no
26299 fi
26300 if test "$wxUSE_XML" != "no"; then
26301 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26302 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26303 wxUSE_XML=no
26304 fi
26305 fi
26306
26307 if test "$wxUSE_EXPAT" != "no"; then
26308 wxUSE_XML=yes
26309 cat >>confdefs.h <<\_ACEOF
26310 #define wxUSE_EXPAT 1
26311 _ACEOF
26312
26313 cat >>confdefs.h <<\_ACEOF
26314 #define wxUSE_XML 1
26315 _ACEOF
26316
26317
26318 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26319 if test "${ac_cv_header_expat_h+set}" = set; then
26320 echo "$as_me:$LINENO: checking for expat.h" >&5
26321 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26322 if test "${ac_cv_header_expat_h+set}" = set; then
26323 echo $ECHO_N "(cached) $ECHO_C" >&6
26324 fi
26325 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26326 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26327 else
26328 # Is the header compilable?
26329 echo "$as_me:$LINENO: checking expat.h usability" >&5
26330 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26331 cat >conftest.$ac_ext <<_ACEOF
26332 /* confdefs.h. */
26333 _ACEOF
26334 cat confdefs.h >>conftest.$ac_ext
26335 cat >>conftest.$ac_ext <<_ACEOF
26336 /* end confdefs.h. */
26337 $ac_includes_default
26338 #include <expat.h>
26339 _ACEOF
26340 rm -f conftest.$ac_objext
26341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26342 (eval $ac_compile) 2>conftest.er1
26343 ac_status=$?
26344 grep -v '^ *+' conftest.er1 >conftest.err
26345 rm -f conftest.er1
26346 cat conftest.err >&5
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); } &&
26349 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26351 (eval $ac_try) 2>&5
26352 ac_status=$?
26353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26354 (exit $ac_status); }; } &&
26355 { ac_try='test -s conftest.$ac_objext'
26356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26357 (eval $ac_try) 2>&5
26358 ac_status=$?
26359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26360 (exit $ac_status); }; }; then
26361 ac_header_compiler=yes
26362 else
26363 echo "$as_me: failed program was:" >&5
26364 sed 's/^/| /' conftest.$ac_ext >&5
26365
26366 ac_header_compiler=no
26367 fi
26368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26369 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26370 echo "${ECHO_T}$ac_header_compiler" >&6
26371
26372 # Is the header present?
26373 echo "$as_me:$LINENO: checking expat.h presence" >&5
26374 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26375 cat >conftest.$ac_ext <<_ACEOF
26376 /* confdefs.h. */
26377 _ACEOF
26378 cat confdefs.h >>conftest.$ac_ext
26379 cat >>conftest.$ac_ext <<_ACEOF
26380 /* end confdefs.h. */
26381 #include <expat.h>
26382 _ACEOF
26383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26384 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26385 ac_status=$?
26386 grep -v '^ *+' conftest.er1 >conftest.err
26387 rm -f conftest.er1
26388 cat conftest.err >&5
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); } >/dev/null; then
26391 if test -s conftest.err; then
26392 ac_cpp_err=$ac_cxx_preproc_warn_flag
26393 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26394 else
26395 ac_cpp_err=
26396 fi
26397 else
26398 ac_cpp_err=yes
26399 fi
26400 if test -z "$ac_cpp_err"; then
26401 ac_header_preproc=yes
26402 else
26403 echo "$as_me: failed program was:" >&5
26404 sed 's/^/| /' conftest.$ac_ext >&5
26405
26406 ac_header_preproc=no
26407 fi
26408 rm -f conftest.err conftest.$ac_ext
26409 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26410 echo "${ECHO_T}$ac_header_preproc" >&6
26411
26412 # So? What about this header?
26413 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26414 yes:no: )
26415 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26416 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26417 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26418 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26419 ac_header_preproc=yes
26420 ;;
26421 no:yes:* )
26422 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26423 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26424 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26425 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26426 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26427 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26428 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26429 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26430 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26431 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26432 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26433 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26434 (
26435 cat <<\_ASBOX
26436 ## ----------------------------------------- ##
26437 ## Report this to wx-dev@lists.wxwidgets.org ##
26438 ## ----------------------------------------- ##
26439 _ASBOX
26440 ) |
26441 sed "s/^/$as_me: WARNING: /" >&2
26442 ;;
26443 esac
26444 echo "$as_me:$LINENO: checking for expat.h" >&5
26445 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26446 if test "${ac_cv_header_expat_h+set}" = set; then
26447 echo $ECHO_N "(cached) $ECHO_C" >&6
26448 else
26449 ac_cv_header_expat_h=$ac_header_preproc
26450 fi
26451 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26452 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26453
26454 fi
26455 if test $ac_cv_header_expat_h = yes; then
26456 found_expat_h=1
26457 fi
26458
26459
26460 if test "x$found_expat_h" = "x1"; then
26461 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26462 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26463 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26464 echo $ECHO_N "(cached) $ECHO_C" >&6
26465 else
26466
26467 cat >conftest.$ac_ext <<_ACEOF
26468 /* confdefs.h. */
26469 _ACEOF
26470 cat confdefs.h >>conftest.$ac_ext
26471 cat >>conftest.$ac_ext <<_ACEOF
26472 /* end confdefs.h. */
26473 #include <expat.h>
26474 int
26475 main ()
26476 {
26477
26478 ;
26479 return 0;
26480 }
26481 _ACEOF
26482 rm -f conftest.$ac_objext
26483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26484 (eval $ac_compile) 2>conftest.er1
26485 ac_status=$?
26486 grep -v '^ *+' conftest.er1 >conftest.err
26487 rm -f conftest.er1
26488 cat conftest.err >&5
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); } &&
26491 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26493 (eval $ac_try) 2>&5
26494 ac_status=$?
26495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496 (exit $ac_status); }; } &&
26497 { ac_try='test -s conftest.$ac_objext'
26498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26499 (eval $ac_try) 2>&5
26500 ac_status=$?
26501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502 (exit $ac_status); }; }; then
26503 wx_cv_expat_is_not_broken=yes
26504 else
26505 echo "$as_me: failed program was:" >&5
26506 sed 's/^/| /' conftest.$ac_ext >&5
26507
26508 wx_cv_expat_is_not_broken=no
26509
26510 fi
26511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26512
26513
26514 fi
26515 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26516 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26517 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26518 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26519 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26520 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26521 echo $ECHO_N "(cached) $ECHO_C" >&6
26522 else
26523 ac_check_lib_save_LIBS=$LIBS
26524 LIBS="-lexpat $LIBS"
26525 cat >conftest.$ac_ext <<_ACEOF
26526 /* confdefs.h. */
26527 _ACEOF
26528 cat confdefs.h >>conftest.$ac_ext
26529 cat >>conftest.$ac_ext <<_ACEOF
26530 /* end confdefs.h. */
26531
26532 /* Override any gcc2 internal prototype to avoid an error. */
26533 #ifdef __cplusplus
26534 extern "C"
26535 #endif
26536 /* We use char because int might match the return type of a gcc2
26537 builtin and then its argument prototype would still apply. */
26538 char XML_ParserCreate ();
26539 int
26540 main ()
26541 {
26542 XML_ParserCreate ();
26543 ;
26544 return 0;
26545 }
26546 _ACEOF
26547 rm -f conftest.$ac_objext conftest$ac_exeext
26548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26549 (eval $ac_link) 2>conftest.er1
26550 ac_status=$?
26551 grep -v '^ *+' conftest.er1 >conftest.err
26552 rm -f conftest.er1
26553 cat conftest.err >&5
26554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26555 (exit $ac_status); } &&
26556 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26558 (eval $ac_try) 2>&5
26559 ac_status=$?
26560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26561 (exit $ac_status); }; } &&
26562 { ac_try='test -s conftest$ac_exeext'
26563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26564 (eval $ac_try) 2>&5
26565 ac_status=$?
26566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26567 (exit $ac_status); }; }; then
26568 ac_cv_lib_expat_XML_ParserCreate=yes
26569 else
26570 echo "$as_me: failed program was:" >&5
26571 sed 's/^/| /' conftest.$ac_ext >&5
26572
26573 ac_cv_lib_expat_XML_ParserCreate=no
26574 fi
26575 rm -f conftest.err conftest.$ac_objext \
26576 conftest$ac_exeext conftest.$ac_ext
26577 LIBS=$ac_check_lib_save_LIBS
26578 fi
26579 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26580 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26581 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26582 EXPAT_LINK=" -lexpat"
26583 fi
26584
26585 fi
26586 fi
26587 if test "x$EXPAT_LINK" = "x" ; then
26588 if test "$wxUSE_EXPAT" = "sys" ; then
26589 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26590 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26591 { (exit 1); exit 1; }; }
26592 else
26593 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26594 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26595 wxUSE_EXPAT=builtin
26596 fi
26597 else
26598 wxUSE_EXPAT=sys
26599 fi
26600 fi
26601 if test "$wxUSE_EXPAT" = "builtin" ; then
26602
26603
26604 subdirs="$subdirs src/expat"
26605
26606 fi
26607 fi
26608
26609
26610
26611 if test "$wxUSE_LIBMSPACK" != "no"; then
26612 if test "${ac_cv_header_mspack_h+set}" = set; then
26613 echo "$as_me:$LINENO: checking for mspack.h" >&5
26614 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26615 if test "${ac_cv_header_mspack_h+set}" = set; then
26616 echo $ECHO_N "(cached) $ECHO_C" >&6
26617 fi
26618 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26619 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26620 else
26621 # Is the header compilable?
26622 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26623 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26624 cat >conftest.$ac_ext <<_ACEOF
26625 /* confdefs.h. */
26626 _ACEOF
26627 cat confdefs.h >>conftest.$ac_ext
26628 cat >>conftest.$ac_ext <<_ACEOF
26629 /* end confdefs.h. */
26630 $ac_includes_default
26631 #include <mspack.h>
26632 _ACEOF
26633 rm -f conftest.$ac_objext
26634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26635 (eval $ac_compile) 2>conftest.er1
26636 ac_status=$?
26637 grep -v '^ *+' conftest.er1 >conftest.err
26638 rm -f conftest.er1
26639 cat conftest.err >&5
26640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26641 (exit $ac_status); } &&
26642 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26644 (eval $ac_try) 2>&5
26645 ac_status=$?
26646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26647 (exit $ac_status); }; } &&
26648 { ac_try='test -s conftest.$ac_objext'
26649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26650 (eval $ac_try) 2>&5
26651 ac_status=$?
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); }; }; then
26654 ac_header_compiler=yes
26655 else
26656 echo "$as_me: failed program was:" >&5
26657 sed 's/^/| /' conftest.$ac_ext >&5
26658
26659 ac_header_compiler=no
26660 fi
26661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26662 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26663 echo "${ECHO_T}$ac_header_compiler" >&6
26664
26665 # Is the header present?
26666 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26667 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26668 cat >conftest.$ac_ext <<_ACEOF
26669 /* confdefs.h. */
26670 _ACEOF
26671 cat confdefs.h >>conftest.$ac_ext
26672 cat >>conftest.$ac_ext <<_ACEOF
26673 /* end confdefs.h. */
26674 #include <mspack.h>
26675 _ACEOF
26676 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26677 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26678 ac_status=$?
26679 grep -v '^ *+' conftest.er1 >conftest.err
26680 rm -f conftest.er1
26681 cat conftest.err >&5
26682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26683 (exit $ac_status); } >/dev/null; then
26684 if test -s conftest.err; then
26685 ac_cpp_err=$ac_cxx_preproc_warn_flag
26686 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26687 else
26688 ac_cpp_err=
26689 fi
26690 else
26691 ac_cpp_err=yes
26692 fi
26693 if test -z "$ac_cpp_err"; then
26694 ac_header_preproc=yes
26695 else
26696 echo "$as_me: failed program was:" >&5
26697 sed 's/^/| /' conftest.$ac_ext >&5
26698
26699 ac_header_preproc=no
26700 fi
26701 rm -f conftest.err conftest.$ac_ext
26702 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26703 echo "${ECHO_T}$ac_header_preproc" >&6
26704
26705 # So? What about this header?
26706 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26707 yes:no: )
26708 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26709 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26710 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26711 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26712 ac_header_preproc=yes
26713 ;;
26714 no:yes:* )
26715 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26716 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26717 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26718 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26719 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26720 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26721 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26722 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26723 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26724 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26725 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26726 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26727 (
26728 cat <<\_ASBOX
26729 ## ----------------------------------------- ##
26730 ## Report this to wx-dev@lists.wxwidgets.org ##
26731 ## ----------------------------------------- ##
26732 _ASBOX
26733 ) |
26734 sed "s/^/$as_me: WARNING: /" >&2
26735 ;;
26736 esac
26737 echo "$as_me:$LINENO: checking for mspack.h" >&5
26738 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26739 if test "${ac_cv_header_mspack_h+set}" = set; then
26740 echo $ECHO_N "(cached) $ECHO_C" >&6
26741 else
26742 ac_cv_header_mspack_h=$ac_header_preproc
26743 fi
26744 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26745 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26746
26747 fi
26748 if test $ac_cv_header_mspack_h = yes; then
26749 found_mspack_h=1
26750 fi
26751
26752
26753 if test "x$found_mspack_h" = "x1"; then
26754 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26755 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26756 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26757 echo $ECHO_N "(cached) $ECHO_C" >&6
26758 else
26759 ac_check_lib_save_LIBS=$LIBS
26760 LIBS="-lmspack $LIBS"
26761 cat >conftest.$ac_ext <<_ACEOF
26762 /* confdefs.h. */
26763 _ACEOF
26764 cat confdefs.h >>conftest.$ac_ext
26765 cat >>conftest.$ac_ext <<_ACEOF
26766 /* end confdefs.h. */
26767
26768 /* Override any gcc2 internal prototype to avoid an error. */
26769 #ifdef __cplusplus
26770 extern "C"
26771 #endif
26772 /* We use char because int might match the return type of a gcc2
26773 builtin and then its argument prototype would still apply. */
26774 char mspack_create_chm_decompressor ();
26775 int
26776 main ()
26777 {
26778 mspack_create_chm_decompressor ();
26779 ;
26780 return 0;
26781 }
26782 _ACEOF
26783 rm -f conftest.$ac_objext conftest$ac_exeext
26784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26785 (eval $ac_link) 2>conftest.er1
26786 ac_status=$?
26787 grep -v '^ *+' conftest.er1 >conftest.err
26788 rm -f conftest.er1
26789 cat conftest.err >&5
26790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791 (exit $ac_status); } &&
26792 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26794 (eval $ac_try) 2>&5
26795 ac_status=$?
26796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26797 (exit $ac_status); }; } &&
26798 { ac_try='test -s conftest$ac_exeext'
26799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26800 (eval $ac_try) 2>&5
26801 ac_status=$?
26802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26803 (exit $ac_status); }; }; then
26804 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26805 else
26806 echo "$as_me: failed program was:" >&5
26807 sed 's/^/| /' conftest.$ac_ext >&5
26808
26809 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26810 fi
26811 rm -f conftest.err conftest.$ac_objext \
26812 conftest$ac_exeext conftest.$ac_ext
26813 LIBS=$ac_check_lib_save_LIBS
26814 fi
26815 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26816 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26817 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26818 MSPACK_LINK=" -lmspack"
26819 fi
26820
26821 fi
26822 if test "x$MSPACK_LINK" = "x" ; then
26823 wxUSE_LIBMSPACK=no
26824 fi
26825 fi
26826
26827 if test "$wxUSE_LIBMSPACK" != "no"; then
26828 cat >>confdefs.h <<\_ACEOF
26829 #define wxUSE_LIBMSPACK 1
26830 _ACEOF
26831
26832 fi
26833
26834
26835
26836 AFMINSTALL=
26837 WIN32INSTALL=
26838
26839 TOOLKIT=
26840 TOOLKIT_INCLUDE=
26841 WIDGET_SET=
26842
26843 if test "$USE_WIN32" = 1 ; then
26844
26845 for ac_header in w32api.h
26846 do
26847 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26849 echo "$as_me:$LINENO: checking for $ac_header" >&5
26850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26852 echo $ECHO_N "(cached) $ECHO_C" >&6
26853 fi
26854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26856 else
26857 # Is the header compilable?
26858 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26859 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26860 cat >conftest.$ac_ext <<_ACEOF
26861 /* confdefs.h. */
26862 _ACEOF
26863 cat confdefs.h >>conftest.$ac_ext
26864 cat >>conftest.$ac_ext <<_ACEOF
26865 /* end confdefs.h. */
26866 $ac_includes_default
26867 #include <$ac_header>
26868 _ACEOF
26869 rm -f conftest.$ac_objext
26870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26871 (eval $ac_compile) 2>conftest.er1
26872 ac_status=$?
26873 grep -v '^ *+' conftest.er1 >conftest.err
26874 rm -f conftest.er1
26875 cat conftest.err >&5
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); } &&
26878 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26880 (eval $ac_try) 2>&5
26881 ac_status=$?
26882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26883 (exit $ac_status); }; } &&
26884 { ac_try='test -s conftest.$ac_objext'
26885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26886 (eval $ac_try) 2>&5
26887 ac_status=$?
26888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26889 (exit $ac_status); }; }; then
26890 ac_header_compiler=yes
26891 else
26892 echo "$as_me: failed program was:" >&5
26893 sed 's/^/| /' conftest.$ac_ext >&5
26894
26895 ac_header_compiler=no
26896 fi
26897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26898 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26899 echo "${ECHO_T}$ac_header_compiler" >&6
26900
26901 # Is the header present?
26902 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26903 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26904 cat >conftest.$ac_ext <<_ACEOF
26905 /* confdefs.h. */
26906 _ACEOF
26907 cat confdefs.h >>conftest.$ac_ext
26908 cat >>conftest.$ac_ext <<_ACEOF
26909 /* end confdefs.h. */
26910 #include <$ac_header>
26911 _ACEOF
26912 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26913 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26914 ac_status=$?
26915 grep -v '^ *+' conftest.er1 >conftest.err
26916 rm -f conftest.er1
26917 cat conftest.err >&5
26918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919 (exit $ac_status); } >/dev/null; then
26920 if test -s conftest.err; then
26921 ac_cpp_err=$ac_cxx_preproc_warn_flag
26922 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26923 else
26924 ac_cpp_err=
26925 fi
26926 else
26927 ac_cpp_err=yes
26928 fi
26929 if test -z "$ac_cpp_err"; then
26930 ac_header_preproc=yes
26931 else
26932 echo "$as_me: failed program was:" >&5
26933 sed 's/^/| /' conftest.$ac_ext >&5
26934
26935 ac_header_preproc=no
26936 fi
26937 rm -f conftest.err conftest.$ac_ext
26938 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26939 echo "${ECHO_T}$ac_header_preproc" >&6
26940
26941 # So? What about this header?
26942 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26943 yes:no: )
26944 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26945 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26947 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26948 ac_header_preproc=yes
26949 ;;
26950 no:yes:* )
26951 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26952 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26953 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26954 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26955 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26956 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26957 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26958 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26961 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26962 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26963 (
26964 cat <<\_ASBOX
26965 ## ----------------------------------------- ##
26966 ## Report this to wx-dev@lists.wxwidgets.org ##
26967 ## ----------------------------------------- ##
26968 _ASBOX
26969 ) |
26970 sed "s/^/$as_me: WARNING: /" >&2
26971 ;;
26972 esac
26973 echo "$as_me:$LINENO: checking for $ac_header" >&5
26974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26976 echo $ECHO_N "(cached) $ECHO_C" >&6
26977 else
26978 eval "$as_ac_Header=\$ac_header_preproc"
26979 fi
26980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26982
26983 fi
26984 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26985 cat >>confdefs.h <<_ACEOF
26986 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26987 _ACEOF
26988
26989 fi
26990
26991 done
26992
26993 if test "${ac_cv_header_windows_h+set}" = set; then
26994 echo "$as_me:$LINENO: checking for windows.h" >&5
26995 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26996 if test "${ac_cv_header_windows_h+set}" = set; then
26997 echo $ECHO_N "(cached) $ECHO_C" >&6
26998 fi
26999 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27000 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27001 else
27002 # Is the header compilable?
27003 echo "$as_me:$LINENO: checking windows.h usability" >&5
27004 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27005 cat >conftest.$ac_ext <<_ACEOF
27006 /* confdefs.h. */
27007 _ACEOF
27008 cat confdefs.h >>conftest.$ac_ext
27009 cat >>conftest.$ac_ext <<_ACEOF
27010 /* end confdefs.h. */
27011 $ac_includes_default
27012 #include <windows.h>
27013 _ACEOF
27014 rm -f conftest.$ac_objext
27015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27016 (eval $ac_compile) 2>conftest.er1
27017 ac_status=$?
27018 grep -v '^ *+' conftest.er1 >conftest.err
27019 rm -f conftest.er1
27020 cat conftest.err >&5
27021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27022 (exit $ac_status); } &&
27023 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27025 (eval $ac_try) 2>&5
27026 ac_status=$?
27027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27028 (exit $ac_status); }; } &&
27029 { ac_try='test -s conftest.$ac_objext'
27030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27031 (eval $ac_try) 2>&5
27032 ac_status=$?
27033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27034 (exit $ac_status); }; }; then
27035 ac_header_compiler=yes
27036 else
27037 echo "$as_me: failed program was:" >&5
27038 sed 's/^/| /' conftest.$ac_ext >&5
27039
27040 ac_header_compiler=no
27041 fi
27042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27043 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27044 echo "${ECHO_T}$ac_header_compiler" >&6
27045
27046 # Is the header present?
27047 echo "$as_me:$LINENO: checking windows.h presence" >&5
27048 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27049 cat >conftest.$ac_ext <<_ACEOF
27050 /* confdefs.h. */
27051 _ACEOF
27052 cat confdefs.h >>conftest.$ac_ext
27053 cat >>conftest.$ac_ext <<_ACEOF
27054 /* end confdefs.h. */
27055 #include <windows.h>
27056 _ACEOF
27057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27059 ac_status=$?
27060 grep -v '^ *+' conftest.er1 >conftest.err
27061 rm -f conftest.er1
27062 cat conftest.err >&5
27063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27064 (exit $ac_status); } >/dev/null; then
27065 if test -s conftest.err; then
27066 ac_cpp_err=$ac_cxx_preproc_warn_flag
27067 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27068 else
27069 ac_cpp_err=
27070 fi
27071 else
27072 ac_cpp_err=yes
27073 fi
27074 if test -z "$ac_cpp_err"; then
27075 ac_header_preproc=yes
27076 else
27077 echo "$as_me: failed program was:" >&5
27078 sed 's/^/| /' conftest.$ac_ext >&5
27079
27080 ac_header_preproc=no
27081 fi
27082 rm -f conftest.err conftest.$ac_ext
27083 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27084 echo "${ECHO_T}$ac_header_preproc" >&6
27085
27086 # So? What about this header?
27087 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27088 yes:no: )
27089 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27090 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27091 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27092 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27093 ac_header_preproc=yes
27094 ;;
27095 no:yes:* )
27096 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27097 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27098 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27099 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27100 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27101 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27102 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27103 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27104 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27105 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27106 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27107 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27108 (
27109 cat <<\_ASBOX
27110 ## ----------------------------------------- ##
27111 ## Report this to wx-dev@lists.wxwidgets.org ##
27112 ## ----------------------------------------- ##
27113 _ASBOX
27114 ) |
27115 sed "s/^/$as_me: WARNING: /" >&2
27116 ;;
27117 esac
27118 echo "$as_me:$LINENO: checking for windows.h" >&5
27119 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27120 if test "${ac_cv_header_windows_h+set}" = set; then
27121 echo $ECHO_N "(cached) $ECHO_C" >&6
27122 else
27123 ac_cv_header_windows_h=$ac_header_preproc
27124 fi
27125 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27126 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27127
27128 fi
27129 if test $ac_cv_header_windows_h = yes; then
27130 :
27131 else
27132
27133 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27134 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27135 { (exit 1); exit 1; }; }
27136
27137 fi
27138
27139
27140
27141 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27142
27143 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27144 LIBS="$LIBS -loleacc"
27145 fi
27146
27147 case "${host}" in
27148 *-*-cygwin* )
27149 LIBS="$LIBS -lkernel32 -luser32"
27150 esac
27151
27152 if test "$wxUSE_ODBC" = "sys" ; then
27153 wxUSE_ODBC = "yes"
27154 fi
27155 if test "$wxUSE_ODBC" = "yes" ; then
27156 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27157 cat >>confdefs.h <<\_ACEOF
27158 #define wxUSE_ODBC 1
27159 _ACEOF
27160
27161 fi
27162
27163 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27164 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27165
27166 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27167
27168 WIN32INSTALL=win32install
27169
27170 echo "$as_me:$LINENO: checking for boolean" >&5
27171 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27172 if test "${ac_cv_type_boolean+set}" = set; then
27173 echo $ECHO_N "(cached) $ECHO_C" >&6
27174 else
27175 cat >conftest.$ac_ext <<_ACEOF
27176 /* confdefs.h. */
27177 _ACEOF
27178 cat confdefs.h >>conftest.$ac_ext
27179 cat >>conftest.$ac_ext <<_ACEOF
27180 /* end confdefs.h. */
27181 #include <windows.h>
27182
27183 int
27184 main ()
27185 {
27186 if ((boolean *) 0)
27187 return 0;
27188 if (sizeof (boolean))
27189 return 0;
27190 ;
27191 return 0;
27192 }
27193 _ACEOF
27194 rm -f conftest.$ac_objext
27195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27196 (eval $ac_compile) 2>conftest.er1
27197 ac_status=$?
27198 grep -v '^ *+' conftest.er1 >conftest.err
27199 rm -f conftest.er1
27200 cat conftest.err >&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); } &&
27203 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27205 (eval $ac_try) 2>&5
27206 ac_status=$?
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); }; } &&
27209 { ac_try='test -s conftest.$ac_objext'
27210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27211 (eval $ac_try) 2>&5
27212 ac_status=$?
27213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27214 (exit $ac_status); }; }; then
27215 ac_cv_type_boolean=yes
27216 else
27217 echo "$as_me: failed program was:" >&5
27218 sed 's/^/| /' conftest.$ac_ext >&5
27219
27220 ac_cv_type_boolean=no
27221 fi
27222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27223 fi
27224 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27225 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27226 if test $ac_cv_type_boolean = yes; then
27227
27228 cat >>confdefs.h <<_ACEOF
27229 #define HAVE_BOOLEAN 1
27230 _ACEOF
27231
27232
27233 fi
27234
27235
27236
27237 for ac_header in pbt.h
27238 do
27239 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27241 echo "$as_me:$LINENO: checking for $ac_header" >&5
27242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27243 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27244 echo $ECHO_N "(cached) $ECHO_C" >&6
27245 fi
27246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27248 else
27249 # Is the header compilable?
27250 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27251 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27252 cat >conftest.$ac_ext <<_ACEOF
27253 /* confdefs.h. */
27254 _ACEOF
27255 cat confdefs.h >>conftest.$ac_ext
27256 cat >>conftest.$ac_ext <<_ACEOF
27257 /* end confdefs.h. */
27258 $ac_includes_default
27259 #include <$ac_header>
27260 _ACEOF
27261 rm -f conftest.$ac_objext
27262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27263 (eval $ac_compile) 2>conftest.er1
27264 ac_status=$?
27265 grep -v '^ *+' conftest.er1 >conftest.err
27266 rm -f conftest.er1
27267 cat conftest.err >&5
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); } &&
27270 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27272 (eval $ac_try) 2>&5
27273 ac_status=$?
27274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27275 (exit $ac_status); }; } &&
27276 { ac_try='test -s conftest.$ac_objext'
27277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27278 (eval $ac_try) 2>&5
27279 ac_status=$?
27280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27281 (exit $ac_status); }; }; then
27282 ac_header_compiler=yes
27283 else
27284 echo "$as_me: failed program was:" >&5
27285 sed 's/^/| /' conftest.$ac_ext >&5
27286
27287 ac_header_compiler=no
27288 fi
27289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27290 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27291 echo "${ECHO_T}$ac_header_compiler" >&6
27292
27293 # Is the header present?
27294 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27295 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27296 cat >conftest.$ac_ext <<_ACEOF
27297 /* confdefs.h. */
27298 _ACEOF
27299 cat confdefs.h >>conftest.$ac_ext
27300 cat >>conftest.$ac_ext <<_ACEOF
27301 /* end confdefs.h. */
27302 #include <$ac_header>
27303 _ACEOF
27304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27306 ac_status=$?
27307 grep -v '^ *+' conftest.er1 >conftest.err
27308 rm -f conftest.er1
27309 cat conftest.err >&5
27310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27311 (exit $ac_status); } >/dev/null; then
27312 if test -s conftest.err; then
27313 ac_cpp_err=$ac_cxx_preproc_warn_flag
27314 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27315 else
27316 ac_cpp_err=
27317 fi
27318 else
27319 ac_cpp_err=yes
27320 fi
27321 if test -z "$ac_cpp_err"; then
27322 ac_header_preproc=yes
27323 else
27324 echo "$as_me: failed program was:" >&5
27325 sed 's/^/| /' conftest.$ac_ext >&5
27326
27327 ac_header_preproc=no
27328 fi
27329 rm -f conftest.err conftest.$ac_ext
27330 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27331 echo "${ECHO_T}$ac_header_preproc" >&6
27332
27333 # So? What about this header?
27334 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27335 yes:no: )
27336 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27337 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27339 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27340 ac_header_preproc=yes
27341 ;;
27342 no:yes:* )
27343 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27344 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27345 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27346 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27347 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27348 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27349 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27350 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27352 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27353 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27354 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27355 (
27356 cat <<\_ASBOX
27357 ## ----------------------------------------- ##
27358 ## Report this to wx-dev@lists.wxwidgets.org ##
27359 ## ----------------------------------------- ##
27360 _ASBOX
27361 ) |
27362 sed "s/^/$as_me: WARNING: /" >&2
27363 ;;
27364 esac
27365 echo "$as_me:$LINENO: checking for $ac_header" >&5
27366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27368 echo $ECHO_N "(cached) $ECHO_C" >&6
27369 else
27370 eval "$as_ac_Header=\$ac_header_preproc"
27371 fi
27372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27374
27375 fi
27376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27377 cat >>confdefs.h <<_ACEOF
27378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27379 _ACEOF
27380
27381 else
27382 cat >>confdefs.h <<\_ACEOF
27383 #define NEED_PBT_H 1
27384 _ACEOF
27385
27386 fi
27387
27388 done
27389
27390 fi
27391
27392 if test "$wxUSE_GUI" = "yes"; then
27393 USE_GUI=1
27394
27395 GUI_TK_LIBRARY=
27396
27397 WXGTK12=
27398 WXGTK127=
27399 WXGTK20=
27400 WXGPE=
27401
27402 if test "$wxUSE_COCOA" = 1 ; then
27403 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27404 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27405 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27406 wxUSE_PRINTING_ARCHITECTURE=no
27407 fi
27408 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27409 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27410 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27411 wxUSE_DRAG_AND_DROP=no
27412 fi
27413 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27414 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27415 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27416 wxUSE_DRAGIMAGE=no
27417 fi
27418 fi
27419
27420 if test "$wxUSE_MSW" = 1 ; then
27421 TOOLKIT=MSW
27422 GUIDIST=MSW_DIST
27423
27424 case "${host}" in
27425 *-*-mingw32* )
27426 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27427 esac
27428 fi
27429
27430 if test "$wxUSE_GTK" = 1; then
27431 ac_ext=c
27432 ac_cpp='$CPP $CPPFLAGS'
27433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27436
27437
27438 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27439 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27440
27441 gtk_version_cached=1
27442 if test "${wx_cv_lib_gtk+set}" = set; then
27443 echo $ECHO_N "(cached) $ECHO_C" >&6
27444 else
27445
27446 gtk_version_cached=0
27447 echo "$as_me:$LINENO: result: " >&5
27448 echo "${ECHO_T}" >&6
27449
27450 GTK_MODULES=
27451 if test "$wxUSE_THREADS" = "yes"; then
27452 GTK_MODULES=gthread
27453 fi
27454
27455 wx_cv_lib_gtk=
27456 if test "x$wxGTK_VERSION" != "x1"
27457 then
27458 case "${host}" in
27459 *-*-solaris2* )
27460 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27461 enable_gtktest=no
27462 fi
27463 esac
27464
27465 # Check whether --enable-gtktest or --disable-gtktest was given.
27466 if test "${enable_gtktest+set}" = set; then
27467 enableval="$enable_gtktest"
27468
27469 else
27470 enable_gtktest=yes
27471 fi;
27472
27473 pkg_config_args=gtk+-2.0
27474 for module in . $GTK_MODULES
27475 do
27476 case "$module" in
27477 gthread)
27478 pkg_config_args="$pkg_config_args gthread-2.0"
27479 ;;
27480 esac
27481 done
27482
27483 no_gtk=""
27484
27485 # Extract the first word of "pkg-config", so it can be a program name with args.
27486 set dummy pkg-config; ac_word=$2
27487 echo "$as_me:$LINENO: checking for $ac_word" >&5
27488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27489 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27490 echo $ECHO_N "(cached) $ECHO_C" >&6
27491 else
27492 case $PKG_CONFIG in
27493 [\\/]* | ?:[\\/]*)
27494 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27495 ;;
27496 *)
27497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27498 for as_dir in $PATH
27499 do
27500 IFS=$as_save_IFS
27501 test -z "$as_dir" && as_dir=.
27502 for ac_exec_ext in '' $ac_executable_extensions; do
27503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27504 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27506 break 2
27507 fi
27508 done
27509 done
27510
27511 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27512 ;;
27513 esac
27514 fi
27515 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27516
27517 if test -n "$PKG_CONFIG"; then
27518 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27519 echo "${ECHO_T}$PKG_CONFIG" >&6
27520 else
27521 echo "$as_me:$LINENO: result: no" >&5
27522 echo "${ECHO_T}no" >&6
27523 fi
27524
27525
27526 if test x$PKG_CONFIG != xno ; then
27527 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27528 :
27529 else
27530 echo "*** pkg-config too old; version 0.7 or better required."
27531 no_gtk=yes
27532 PKG_CONFIG=no
27533 fi
27534 else
27535 no_gtk=yes
27536 fi
27537
27538 min_gtk_version=2.0.0
27539 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27540 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27541
27542 if test x$PKG_CONFIG != xno ; then
27543 ## don't try to run the test against uninstalled libtool libs
27544 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27545 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27546 enable_gtktest=no
27547 fi
27548
27549 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27550 :
27551 else
27552 no_gtk=yes
27553 fi
27554 fi
27555
27556 if test x"$no_gtk" = x ; then
27557 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27558 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27559 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27560 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27561 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27562 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27563 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27564 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27565 if test "x$enable_gtktest" = "xyes" ; then
27566 ac_save_CFLAGS="$CFLAGS"
27567 ac_save_LIBS="$LIBS"
27568 CFLAGS="$CFLAGS $GTK_CFLAGS"
27569 LIBS="$GTK_LIBS $LIBS"
27570 rm -f conf.gtktest
27571 if test "$cross_compiling" = yes; then
27572 echo $ac_n "cross compiling; assumed OK... $ac_c"
27573 else
27574 cat >conftest.$ac_ext <<_ACEOF
27575 /* confdefs.h. */
27576 _ACEOF
27577 cat confdefs.h >>conftest.$ac_ext
27578 cat >>conftest.$ac_ext <<_ACEOF
27579 /* end confdefs.h. */
27580
27581 #include <gtk/gtk.h>
27582 #include <stdio.h>
27583 #include <stdlib.h>
27584
27585 int
27586 main ()
27587 {
27588 int major, minor, micro;
27589 char *tmp_version;
27590
27591 system ("touch conf.gtktest");
27592
27593 /* HP/UX 9 (%@#!) writes to sscanf strings */
27594 tmp_version = g_strdup("$min_gtk_version");
27595 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27596 printf("%s, bad version string\n", "$min_gtk_version");
27597 exit(1);
27598 }
27599
27600 if ((gtk_major_version != $gtk_config_major_version) ||
27601 (gtk_minor_version != $gtk_config_minor_version) ||
27602 (gtk_micro_version != $gtk_config_micro_version))
27603 {
27604 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27605 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27606 gtk_major_version, gtk_minor_version, gtk_micro_version);
27607 printf ("*** was found! If pkg-config was correct, then it is best\n");
27608 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27609 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27610 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27611 printf("*** required on your system.\n");
27612 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27613 printf("*** to point to the correct configuration files\n");
27614 }
27615 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27616 (gtk_minor_version != GTK_MINOR_VERSION) ||
27617 (gtk_micro_version != GTK_MICRO_VERSION))
27618 {
27619 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27620 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27621 printf("*** library (version %d.%d.%d)\n",
27622 gtk_major_version, gtk_minor_version, gtk_micro_version);
27623 }
27624 else
27625 {
27626 if ((gtk_major_version > major) ||
27627 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27628 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27629 {
27630 return 0;
27631 }
27632 else
27633 {
27634 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27635 gtk_major_version, gtk_minor_version, gtk_micro_version);
27636 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27637 major, minor, micro);
27638 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27639 printf("***\n");
27640 printf("*** If you have already installed a sufficiently new version, this error\n");
27641 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27642 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27643 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27644 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27645 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27646 printf("*** so that the correct libraries are found at run-time))\n");
27647 }
27648 }
27649 return 1;
27650 }
27651
27652 _ACEOF
27653 rm -f conftest$ac_exeext
27654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27655 (eval $ac_link) 2>&5
27656 ac_status=$?
27657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27658 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27660 (eval $ac_try) 2>&5
27661 ac_status=$?
27662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27663 (exit $ac_status); }; }; then
27664 :
27665 else
27666 echo "$as_me: program exited with status $ac_status" >&5
27667 echo "$as_me: failed program was:" >&5
27668 sed 's/^/| /' conftest.$ac_ext >&5
27669
27670 ( exit $ac_status )
27671 no_gtk=yes
27672 fi
27673 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27674 fi
27675 CFLAGS="$ac_save_CFLAGS"
27676 LIBS="$ac_save_LIBS"
27677 fi
27678 fi
27679 if test "x$no_gtk" = x ; then
27680 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27681 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27682 wx_cv_lib_gtk=2.0
27683 else
27684 echo "$as_me:$LINENO: result: no" >&5
27685 echo "${ECHO_T}no" >&6
27686 if test "$PKG_CONFIG" = "no" ; then
27687 echo "*** A new enough version of pkg-config was not found."
27688 echo "*** See http://pkgconfig.sourceforge.net"
27689 else
27690 if test -f conf.gtktest ; then
27691 :
27692 else
27693 echo "*** Could not run GTK+ test program, checking why..."
27694 ac_save_CFLAGS="$CFLAGS"
27695 ac_save_LIBS="$LIBS"
27696 CFLAGS="$CFLAGS $GTK_CFLAGS"
27697 LIBS="$LIBS $GTK_LIBS"
27698 cat >conftest.$ac_ext <<_ACEOF
27699 /* confdefs.h. */
27700 _ACEOF
27701 cat confdefs.h >>conftest.$ac_ext
27702 cat >>conftest.$ac_ext <<_ACEOF
27703 /* end confdefs.h. */
27704
27705 #include <gtk/gtk.h>
27706 #include <stdio.h>
27707
27708 int
27709 main ()
27710 {
27711 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27712 ;
27713 return 0;
27714 }
27715 _ACEOF
27716 rm -f conftest.$ac_objext conftest$ac_exeext
27717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27718 (eval $ac_link) 2>conftest.er1
27719 ac_status=$?
27720 grep -v '^ *+' conftest.er1 >conftest.err
27721 rm -f conftest.er1
27722 cat conftest.err >&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); } &&
27725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27727 (eval $ac_try) 2>&5
27728 ac_status=$?
27729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27730 (exit $ac_status); }; } &&
27731 { ac_try='test -s conftest$ac_exeext'
27732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27733 (eval $ac_try) 2>&5
27734 ac_status=$?
27735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27736 (exit $ac_status); }; }; then
27737 echo "*** The test program compiled, but did not run. This usually means"
27738 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27739 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27740 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27741 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27742 echo "*** is required on your system"
27743 echo "***"
27744 echo "*** If you have an old version installed, it is best to remove it, although"
27745 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27746 else
27747 echo "$as_me: failed program was:" >&5
27748 sed 's/^/| /' conftest.$ac_ext >&5
27749
27750 echo "*** The test program failed to compile or link. See the file config.log for the"
27751 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27752 fi
27753 rm -f conftest.err conftest.$ac_objext \
27754 conftest$ac_exeext conftest.$ac_ext
27755 CFLAGS="$ac_save_CFLAGS"
27756 LIBS="$ac_save_LIBS"
27757 fi
27758 fi
27759 GTK_CFLAGS=""
27760 GTK_LIBS=""
27761 :
27762 fi
27763
27764
27765 rm -f conf.gtktest
27766
27767
27768 case "${host}" in
27769 *-*-solaris2* )
27770 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27771 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27772 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27773 fi
27774 if test "$wxUSE_SHARED" != "yes"; then
27775 GTK_LIBS="$GTK_LIBS -lX11"
27776 fi
27777 esac
27778 fi
27779
27780 if test -z "$wx_cv_lib_gtk"; then
27781 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27782
27783 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27784 if test "${with_gtk_prefix+set}" = set; then
27785 withval="$with_gtk_prefix"
27786 gtk_config_prefix="$withval"
27787 else
27788 gtk_config_prefix=""
27789 fi;
27790
27791 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27792 if test "${with_gtk_exec_prefix+set}" = set; then
27793 withval="$with_gtk_exec_prefix"
27794 gtk_config_exec_prefix="$withval"
27795 else
27796 gtk_config_exec_prefix=""
27797 fi;
27798 # Check whether --enable-gtktest or --disable-gtktest was given.
27799 if test "${enable_gtktest+set}" = set; then
27800 enableval="$enable_gtktest"
27801
27802 else
27803 enable_gtktest=yes
27804 fi;
27805
27806 for module in . $GTK_MODULES
27807 do
27808 case "$module" in
27809 gthread)
27810 gtk_config_args="$gtk_config_args gthread"
27811 ;;
27812 esac
27813 done
27814
27815 if test x$gtk_config_exec_prefix != x ; then
27816 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27817 if test x${GTK_CONFIG+set} != xset ; then
27818 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27819 fi
27820 fi
27821 if test x$gtk_config_prefix != x ; then
27822 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27823 if test x${GTK_CONFIG+set} != xset ; then
27824 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27825 fi
27826 fi
27827
27828 # Extract the first word of "gtk-config", so it can be a program name with args.
27829 set dummy gtk-config; ac_word=$2
27830 echo "$as_me:$LINENO: checking for $ac_word" >&5
27831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27832 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27833 echo $ECHO_N "(cached) $ECHO_C" >&6
27834 else
27835 case $GTK_CONFIG in
27836 [\\/]* | ?:[\\/]*)
27837 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27838 ;;
27839 *)
27840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27841 for as_dir in $PATH
27842 do
27843 IFS=$as_save_IFS
27844 test -z "$as_dir" && as_dir=.
27845 for ac_exec_ext in '' $ac_executable_extensions; do
27846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27847 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27849 break 2
27850 fi
27851 done
27852 done
27853
27854 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27855 ;;
27856 esac
27857 fi
27858 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27859
27860 if test -n "$GTK_CONFIG"; then
27861 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27862 echo "${ECHO_T}$GTK_CONFIG" >&6
27863 else
27864 echo "$as_me:$LINENO: result: no" >&5
27865 echo "${ECHO_T}no" >&6
27866 fi
27867
27868 min_gtk_version=1.2.7
27869 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27870 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27871 no_gtk=""
27872 if test "$GTK_CONFIG" = "no" ; then
27873 no_gtk=yes
27874 else
27875 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27876 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27877 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27878 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27879 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27880 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27881 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27882 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27883 if test "x$enable_gtktest" = "xyes" ; then
27884 ac_save_CFLAGS="$CFLAGS"
27885 ac_save_LIBS="$LIBS"
27886 CFLAGS="$CFLAGS $GTK_CFLAGS"
27887 LIBS="$GTK_LIBS $LIBS"
27888 rm -f conf.gtktest
27889 if test "$cross_compiling" = yes; then
27890 echo $ac_n "cross compiling; assumed OK... $ac_c"
27891 else
27892 cat >conftest.$ac_ext <<_ACEOF
27893 /* confdefs.h. */
27894 _ACEOF
27895 cat confdefs.h >>conftest.$ac_ext
27896 cat >>conftest.$ac_ext <<_ACEOF
27897 /* end confdefs.h. */
27898
27899 #include <gtk/gtk.h>
27900 #include <stdio.h>
27901 #include <stdlib.h>
27902
27903 int
27904 main ()
27905 {
27906 int major, minor, micro;
27907 char *tmp_version;
27908
27909 system ("touch conf.gtktest");
27910
27911 /* HP/UX 9 (%@#!) writes to sscanf strings */
27912 tmp_version = g_strdup("$min_gtk_version");
27913 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27914 printf("%s, bad version string\n", "$min_gtk_version");
27915 exit(1);
27916 }
27917
27918 if ((gtk_major_version != $gtk_config_major_version) ||
27919 (gtk_minor_version != $gtk_config_minor_version) ||
27920 (gtk_micro_version != $gtk_config_micro_version))
27921 {
27922 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27923 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27924 gtk_major_version, gtk_minor_version, gtk_micro_version);
27925 printf ("*** was found! If gtk-config was correct, then it is best\n");
27926 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27927 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27928 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27929 printf("*** required on your system.\n");
27930 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27931 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27932 printf("*** before re-running configure\n");
27933 }
27934 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27935 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27936 (gtk_minor_version != GTK_MINOR_VERSION) ||
27937 (gtk_micro_version != GTK_MICRO_VERSION))
27938 {
27939 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27940 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27941 printf("*** library (version %d.%d.%d)\n",
27942 gtk_major_version, gtk_minor_version, gtk_micro_version);
27943 }
27944 #endif /* defined (GTK_MAJOR_VERSION) ... */
27945 else
27946 {
27947 if ((gtk_major_version > major) ||
27948 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27949 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27950 {
27951 return 0;
27952 }
27953 else
27954 {
27955 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27956 gtk_major_version, gtk_minor_version, gtk_micro_version);
27957 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27958 major, minor, micro);
27959 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27960 printf("***\n");
27961 printf("*** If you have already installed a sufficiently new version, this error\n");
27962 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27963 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27964 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27965 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27966 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27967 printf("*** so that the correct libraries are found at run-time))\n");
27968 }
27969 }
27970 return 1;
27971 }
27972
27973 _ACEOF
27974 rm -f conftest$ac_exeext
27975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27976 (eval $ac_link) 2>&5
27977 ac_status=$?
27978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27979 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27981 (eval $ac_try) 2>&5
27982 ac_status=$?
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); }; }; then
27985 :
27986 else
27987 echo "$as_me: program exited with status $ac_status" >&5
27988 echo "$as_me: failed program was:" >&5
27989 sed 's/^/| /' conftest.$ac_ext >&5
27990
27991 ( exit $ac_status )
27992 no_gtk=yes
27993 fi
27994 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27995 fi
27996 CFLAGS="$ac_save_CFLAGS"
27997 LIBS="$ac_save_LIBS"
27998 fi
27999 fi
28000 if test "x$no_gtk" = x ; then
28001 echo "$as_me:$LINENO: result: yes" >&5
28002 echo "${ECHO_T}yes" >&6
28003 wx_cv_lib_gtk=1.2.7
28004 else
28005 echo "$as_me:$LINENO: result: no" >&5
28006 echo "${ECHO_T}no" >&6
28007 if test "$GTK_CONFIG" = "no" ; then
28008 echo "*** The gtk-config script installed by GTK could not be found"
28009 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28010 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28011 echo "*** full path to gtk-config."
28012 else
28013 if test -f conf.gtktest ; then
28014 :
28015 else
28016 echo "*** Could not run GTK test program, checking why..."
28017 CFLAGS="$CFLAGS $GTK_CFLAGS"
28018 LIBS="$LIBS $GTK_LIBS"
28019 cat >conftest.$ac_ext <<_ACEOF
28020 /* confdefs.h. */
28021 _ACEOF
28022 cat confdefs.h >>conftest.$ac_ext
28023 cat >>conftest.$ac_ext <<_ACEOF
28024 /* end confdefs.h. */
28025
28026 #include <gtk/gtk.h>
28027 #include <stdio.h>
28028
28029 int
28030 main ()
28031 {
28032 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28033 ;
28034 return 0;
28035 }
28036 _ACEOF
28037 rm -f conftest.$ac_objext conftest$ac_exeext
28038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28039 (eval $ac_link) 2>conftest.er1
28040 ac_status=$?
28041 grep -v '^ *+' conftest.er1 >conftest.err
28042 rm -f conftest.er1
28043 cat conftest.err >&5
28044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28045 (exit $ac_status); } &&
28046 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28048 (eval $ac_try) 2>&5
28049 ac_status=$?
28050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28051 (exit $ac_status); }; } &&
28052 { ac_try='test -s conftest$ac_exeext'
28053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28054 (eval $ac_try) 2>&5
28055 ac_status=$?
28056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28057 (exit $ac_status); }; }; then
28058 echo "*** The test program compiled, but did not run. This usually means"
28059 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28060 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28061 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28062 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28063 echo "*** is required on your system"
28064 echo "***"
28065 echo "*** If you have an old version installed, it is best to remove it, although"
28066 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28067 echo "***"
28068 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28069 echo "*** came with the system with the command"
28070 echo "***"
28071 echo "*** rpm --erase --nodeps gtk gtk-devel"
28072 else
28073 echo "$as_me: failed program was:" >&5
28074 sed 's/^/| /' conftest.$ac_ext >&5
28075
28076 echo "*** The test program failed to compile or link. See the file config.log for the"
28077 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28078 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28079 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28080 fi
28081 rm -f conftest.err conftest.$ac_objext \
28082 conftest$ac_exeext conftest.$ac_ext
28083 CFLAGS="$ac_save_CFLAGS"
28084 LIBS="$ac_save_LIBS"
28085 fi
28086 fi
28087 GTK_CFLAGS=""
28088 GTK_LIBS=""
28089 :
28090 fi
28091
28092
28093 rm -f conf.gtktest
28094
28095
28096 if test -z "$wx_cv_lib_gtk"; then
28097
28098 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28099 if test "${with_gtk_prefix+set}" = set; then
28100 withval="$with_gtk_prefix"
28101 gtk_config_prefix="$withval"
28102 else
28103 gtk_config_prefix=""
28104 fi;
28105
28106 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28107 if test "${with_gtk_exec_prefix+set}" = set; then
28108 withval="$with_gtk_exec_prefix"
28109 gtk_config_exec_prefix="$withval"
28110 else
28111 gtk_config_exec_prefix=""
28112 fi;
28113 # Check whether --enable-gtktest or --disable-gtktest was given.
28114 if test "${enable_gtktest+set}" = set; then
28115 enableval="$enable_gtktest"
28116
28117 else
28118 enable_gtktest=yes
28119 fi;
28120
28121 for module in . $GTK_MODULES
28122 do
28123 case "$module" in
28124 gthread)
28125 gtk_config_args="$gtk_config_args gthread"
28126 ;;
28127 esac
28128 done
28129
28130 if test x$gtk_config_exec_prefix != x ; then
28131 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28132 if test x${GTK_CONFIG+set} != xset ; then
28133 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28134 fi
28135 fi
28136 if test x$gtk_config_prefix != x ; then
28137 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28138 if test x${GTK_CONFIG+set} != xset ; then
28139 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28140 fi
28141 fi
28142
28143 # Extract the first word of "gtk-config", so it can be a program name with args.
28144 set dummy gtk-config; ac_word=$2
28145 echo "$as_me:$LINENO: checking for $ac_word" >&5
28146 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28147 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28148 echo $ECHO_N "(cached) $ECHO_C" >&6
28149 else
28150 case $GTK_CONFIG in
28151 [\\/]* | ?:[\\/]*)
28152 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28153 ;;
28154 *)
28155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28156 for as_dir in $PATH
28157 do
28158 IFS=$as_save_IFS
28159 test -z "$as_dir" && as_dir=.
28160 for ac_exec_ext in '' $ac_executable_extensions; do
28161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28162 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28164 break 2
28165 fi
28166 done
28167 done
28168
28169 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28170 ;;
28171 esac
28172 fi
28173 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28174
28175 if test -n "$GTK_CONFIG"; then
28176 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28177 echo "${ECHO_T}$GTK_CONFIG" >&6
28178 else
28179 echo "$as_me:$LINENO: result: no" >&5
28180 echo "${ECHO_T}no" >&6
28181 fi
28182
28183 min_gtk_version=1.2.3
28184 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28185 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28186 no_gtk=""
28187 if test "$GTK_CONFIG" = "no" ; then
28188 no_gtk=yes
28189 else
28190 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28191 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28192 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28193 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28194 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28195 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28196 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28197 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28198 if test "x$enable_gtktest" = "xyes" ; then
28199 ac_save_CFLAGS="$CFLAGS"
28200 ac_save_LIBS="$LIBS"
28201 CFLAGS="$CFLAGS $GTK_CFLAGS"
28202 LIBS="$GTK_LIBS $LIBS"
28203 rm -f conf.gtktest
28204 if test "$cross_compiling" = yes; then
28205 echo $ac_n "cross compiling; assumed OK... $ac_c"
28206 else
28207 cat >conftest.$ac_ext <<_ACEOF
28208 /* confdefs.h. */
28209 _ACEOF
28210 cat confdefs.h >>conftest.$ac_ext
28211 cat >>conftest.$ac_ext <<_ACEOF
28212 /* end confdefs.h. */
28213
28214 #include <gtk/gtk.h>
28215 #include <stdio.h>
28216 #include <stdlib.h>
28217
28218 int
28219 main ()
28220 {
28221 int major, minor, micro;
28222 char *tmp_version;
28223
28224 system ("touch conf.gtktest");
28225
28226 /* HP/UX 9 (%@#!) writes to sscanf strings */
28227 tmp_version = g_strdup("$min_gtk_version");
28228 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28229 printf("%s, bad version string\n", "$min_gtk_version");
28230 exit(1);
28231 }
28232
28233 if ((gtk_major_version != $gtk_config_major_version) ||
28234 (gtk_minor_version != $gtk_config_minor_version) ||
28235 (gtk_micro_version != $gtk_config_micro_version))
28236 {
28237 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28238 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28239 gtk_major_version, gtk_minor_version, gtk_micro_version);
28240 printf ("*** was found! If gtk-config was correct, then it is best\n");
28241 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28242 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28243 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28244 printf("*** required on your system.\n");
28245 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28246 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28247 printf("*** before re-running configure\n");
28248 }
28249 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28250 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28251 (gtk_minor_version != GTK_MINOR_VERSION) ||
28252 (gtk_micro_version != GTK_MICRO_VERSION))
28253 {
28254 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28255 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28256 printf("*** library (version %d.%d.%d)\n",
28257 gtk_major_version, gtk_minor_version, gtk_micro_version);
28258 }
28259 #endif /* defined (GTK_MAJOR_VERSION) ... */
28260 else
28261 {
28262 if ((gtk_major_version > major) ||
28263 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28264 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28265 {
28266 return 0;
28267 }
28268 else
28269 {
28270 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28271 gtk_major_version, gtk_minor_version, gtk_micro_version);
28272 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28273 major, minor, micro);
28274 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28275 printf("***\n");
28276 printf("*** If you have already installed a sufficiently new version, this error\n");
28277 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28278 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28279 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28280 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28281 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28282 printf("*** so that the correct libraries are found at run-time))\n");
28283 }
28284 }
28285 return 1;
28286 }
28287
28288 _ACEOF
28289 rm -f conftest$ac_exeext
28290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28291 (eval $ac_link) 2>&5
28292 ac_status=$?
28293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28294 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28296 (eval $ac_try) 2>&5
28297 ac_status=$?
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); }; }; then
28300 :
28301 else
28302 echo "$as_me: program exited with status $ac_status" >&5
28303 echo "$as_me: failed program was:" >&5
28304 sed 's/^/| /' conftest.$ac_ext >&5
28305
28306 ( exit $ac_status )
28307 no_gtk=yes
28308 fi
28309 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28310 fi
28311 CFLAGS="$ac_save_CFLAGS"
28312 LIBS="$ac_save_LIBS"
28313 fi
28314 fi
28315 if test "x$no_gtk" = x ; then
28316 echo "$as_me:$LINENO: result: yes" >&5
28317 echo "${ECHO_T}yes" >&6
28318 wx_cv_lib_gtk=1.2.3
28319 else
28320 echo "$as_me:$LINENO: result: no" >&5
28321 echo "${ECHO_T}no" >&6
28322 if test "$GTK_CONFIG" = "no" ; then
28323 echo "*** The gtk-config script installed by GTK could not be found"
28324 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28325 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28326 echo "*** full path to gtk-config."
28327 else
28328 if test -f conf.gtktest ; then
28329 :
28330 else
28331 echo "*** Could not run GTK test program, checking why..."
28332 CFLAGS="$CFLAGS $GTK_CFLAGS"
28333 LIBS="$LIBS $GTK_LIBS"
28334 cat >conftest.$ac_ext <<_ACEOF
28335 /* confdefs.h. */
28336 _ACEOF
28337 cat confdefs.h >>conftest.$ac_ext
28338 cat >>conftest.$ac_ext <<_ACEOF
28339 /* end confdefs.h. */
28340
28341 #include <gtk/gtk.h>
28342 #include <stdio.h>
28343
28344 int
28345 main ()
28346 {
28347 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28348 ;
28349 return 0;
28350 }
28351 _ACEOF
28352 rm -f conftest.$ac_objext conftest$ac_exeext
28353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28354 (eval $ac_link) 2>conftest.er1
28355 ac_status=$?
28356 grep -v '^ *+' conftest.er1 >conftest.err
28357 rm -f conftest.er1
28358 cat conftest.err >&5
28359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28360 (exit $ac_status); } &&
28361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28363 (eval $ac_try) 2>&5
28364 ac_status=$?
28365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28366 (exit $ac_status); }; } &&
28367 { ac_try='test -s conftest$ac_exeext'
28368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28369 (eval $ac_try) 2>&5
28370 ac_status=$?
28371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28372 (exit $ac_status); }; }; then
28373 echo "*** The test program compiled, but did not run. This usually means"
28374 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28375 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28376 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28377 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28378 echo "*** is required on your system"
28379 echo "***"
28380 echo "*** If you have an old version installed, it is best to remove it, although"
28381 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28382 echo "***"
28383 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28384 echo "*** came with the system with the command"
28385 echo "***"
28386 echo "*** rpm --erase --nodeps gtk gtk-devel"
28387 else
28388 echo "$as_me: failed program was:" >&5
28389 sed 's/^/| /' conftest.$ac_ext >&5
28390
28391 echo "*** The test program failed to compile or link. See the file config.log for the"
28392 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28393 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28394 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28395 fi
28396 rm -f conftest.err conftest.$ac_objext \
28397 conftest$ac_exeext conftest.$ac_ext
28398 CFLAGS="$ac_save_CFLAGS"
28399 LIBS="$ac_save_LIBS"
28400 fi
28401 fi
28402 GTK_CFLAGS=""
28403 GTK_LIBS=""
28404 :
28405 fi
28406
28407
28408 rm -f conf.gtktest
28409
28410 fi
28411 fi
28412 fi
28413
28414 if test -z "$wx_cv_lib_gtk"; then
28415 wx_cv_lib_gtk=none
28416 else
28417 wx_cv_cflags_gtk=$GTK_CFLAGS
28418 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28419 fi
28420
28421
28422 fi
28423
28424
28425 if test "$gtk_version_cached" = 1; then
28426 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28427 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28428 fi
28429
28430 case "$wx_cv_lib_gtk" in
28431 2.0) WXGTK20=1
28432 TOOLKIT_VERSION=2
28433 ;;
28434 1.2.7) WXGTK127=1
28435 WXGTK12=1
28436 ;;
28437 1.2.3) WXGTK12=1
28438 ;;
28439 *) { { echo "$as_me:$LINENO: error:
28440 The development files for GTK+ were not found. For GTK+ 2, please
28441 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28442 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28443 and that the version is 1.2.3 or above. Also check that the
28444 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28445 --libs' are in the LD_LIBRARY_PATH or equivalent.
28446 " >&5
28447 echo "$as_me: error:
28448 The development files for GTK+ were not found. For GTK+ 2, please
28449 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28450 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28451 and that the version is 1.2.3 or above. Also check that the
28452 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28453 --libs' are in the LD_LIBRARY_PATH or equivalent.
28454 " >&2;}
28455 { (exit 1); exit 1; }; }
28456 ;;
28457 esac
28458
28459 if test "$WXGTK20" = 1; then
28460 save_CFLAGS="$CFLAGS"
28461 save_LIBS="$LIBS"
28462 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28463 LIBS="$LIBS $wx_cv_libs_gtk"
28464
28465 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28466 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28467 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28468 echo $ECHO_N "(cached) $ECHO_C" >&6
28469 else
28470 cat >conftest.$ac_ext <<_ACEOF
28471 /* confdefs.h. */
28472 _ACEOF
28473 cat confdefs.h >>conftest.$ac_ext
28474 cat >>conftest.$ac_ext <<_ACEOF
28475 /* end confdefs.h. */
28476 #include <gtk/gtk.h>
28477
28478 int
28479 main ()
28480 {
28481 #ifndef gtk_icon_size_lookup
28482 char *p = (char *) gtk_icon_size_lookup;
28483 #endif
28484
28485 ;
28486 return 0;
28487 }
28488 _ACEOF
28489 rm -f conftest.$ac_objext
28490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28491 (eval $ac_compile) 2>conftest.er1
28492 ac_status=$?
28493 grep -v '^ *+' conftest.er1 >conftest.err
28494 rm -f conftest.er1
28495 cat conftest.err >&5
28496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28497 (exit $ac_status); } &&
28498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28500 (eval $ac_try) 2>&5
28501 ac_status=$?
28502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28503 (exit $ac_status); }; } &&
28504 { ac_try='test -s conftest.$ac_objext'
28505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28506 (eval $ac_try) 2>&5
28507 ac_status=$?
28508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28509 (exit $ac_status); }; }; then
28510 ac_cv_have_decl_gtk_icon_size_lookup=yes
28511 else
28512 echo "$as_me: failed program was:" >&5
28513 sed 's/^/| /' conftest.$ac_ext >&5
28514
28515 ac_cv_have_decl_gtk_icon_size_lookup=no
28516 fi
28517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28518 fi
28519 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28520 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28521 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28522
28523 cat >>confdefs.h <<_ACEOF
28524 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28525 _ACEOF
28526
28527
28528 else
28529 cat >>confdefs.h <<_ACEOF
28530 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28531 _ACEOF
28532
28533 cat >>confdefs.h <<\_ACEOF
28534 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28535 _ACEOF
28536
28537 fi
28538
28539
28540
28541 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28542 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28543 cat >conftest.$ac_ext <<_ACEOF
28544 /* confdefs.h. */
28545 _ACEOF
28546 cat confdefs.h >>conftest.$ac_ext
28547 cat >>conftest.$ac_ext <<_ACEOF
28548 /* end confdefs.h. */
28549
28550 #include <gtk/gtk.h>
28551
28552 int
28553 main ()
28554 {
28555
28556 #if !GTK_CHECK_VERSION(2,6,0)
28557 Not GTK+ 2.6
28558 #endif
28559
28560 ;
28561 return 0;
28562 }
28563 _ACEOF
28564 rm -f conftest.$ac_objext
28565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28566 (eval $ac_compile) 2>conftest.er1
28567 ac_status=$?
28568 grep -v '^ *+' conftest.er1 >conftest.err
28569 rm -f conftest.er1
28570 cat conftest.err >&5
28571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28572 (exit $ac_status); } &&
28573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28575 (eval $ac_try) 2>&5
28576 ac_status=$?
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); }; } &&
28579 { ac_try='test -s conftest.$ac_objext'
28580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28581 (eval $ac_try) 2>&5
28582 ac_status=$?
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); }; }; then
28585
28586 cat >>confdefs.h <<\_ACEOF
28587 #define __WXGTK26__ 1
28588 _ACEOF
28589
28590 cat >>confdefs.h <<\_ACEOF
28591 #define __WXGTK24__ 1
28592 _ACEOF
28593
28594 echo "$as_me:$LINENO: result: yes" >&5
28595 echo "${ECHO_T}yes" >&6
28596 ac_wxgtk26=1
28597
28598 else
28599 echo "$as_me: failed program was:" >&5
28600 sed 's/^/| /' conftest.$ac_ext >&5
28601
28602
28603 echo "$as_me:$LINENO: result: no" >&5
28604 echo "${ECHO_T}no" >&6
28605 ac_wxgtk26=0
28606
28607 fi
28608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28609
28610 if test "$ac_wxgtk26" = 0; then
28611 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28612 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28613 cat >conftest.$ac_ext <<_ACEOF
28614 /* confdefs.h. */
28615 _ACEOF
28616 cat confdefs.h >>conftest.$ac_ext
28617 cat >>conftest.$ac_ext <<_ACEOF
28618 /* end confdefs.h. */
28619
28620 #include <gtk/gtk.h>
28621
28622 int
28623 main ()
28624 {
28625
28626 #if !GTK_CHECK_VERSION(2,4,0)
28627 Not GTK+ 2.4
28628 #endif
28629
28630 ;
28631 return 0;
28632 }
28633 _ACEOF
28634 rm -f conftest.$ac_objext
28635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28636 (eval $ac_compile) 2>conftest.er1
28637 ac_status=$?
28638 grep -v '^ *+' conftest.er1 >conftest.err
28639 rm -f conftest.er1
28640 cat conftest.err >&5
28641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28642 (exit $ac_status); } &&
28643 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28645 (eval $ac_try) 2>&5
28646 ac_status=$?
28647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28648 (exit $ac_status); }; } &&
28649 { ac_try='test -s conftest.$ac_objext'
28650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28651 (eval $ac_try) 2>&5
28652 ac_status=$?
28653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28654 (exit $ac_status); }; }; then
28655
28656 cat >>confdefs.h <<\_ACEOF
28657 #define __WXGTK24__ 1
28658 _ACEOF
28659
28660 echo "$as_me:$LINENO: result: yes" >&5
28661 echo "${ECHO_T}yes" >&6
28662
28663 else
28664 echo "$as_me: failed program was:" >&5
28665 sed 's/^/| /' conftest.$ac_ext >&5
28666
28667
28668 echo "$as_me:$LINENO: result: no" >&5
28669 echo "${ECHO_T}no" >&6
28670
28671 fi
28672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28673 fi
28674
28675 CFLAGS="$save_CFLAGS"
28676 LIBS="$save_LIBS"
28677 else
28678 if test "$wxUSE_UNICODE" = "yes"; then
28679 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28680 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28681 wxUSE_UNICODE=no
28682 fi
28683 fi
28684
28685 ac_ext=cc
28686 ac_cpp='$CXXCPP $CPPFLAGS'
28687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28690
28691
28692 if test "$USE_DARWIN" != 1; then
28693
28694 for ac_func in poll
28695 do
28696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28697 echo "$as_me:$LINENO: checking for $ac_func" >&5
28698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28699 if eval "test \"\${$as_ac_var+set}\" = set"; then
28700 echo $ECHO_N "(cached) $ECHO_C" >&6
28701 else
28702 cat >conftest.$ac_ext <<_ACEOF
28703 /* confdefs.h. */
28704 _ACEOF
28705 cat confdefs.h >>conftest.$ac_ext
28706 cat >>conftest.$ac_ext <<_ACEOF
28707 /* end confdefs.h. */
28708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28710 #define $ac_func innocuous_$ac_func
28711
28712 /* System header to define __stub macros and hopefully few prototypes,
28713 which can conflict with char $ac_func (); below.
28714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28715 <limits.h> exists even on freestanding compilers. */
28716
28717 #ifdef __STDC__
28718 # include <limits.h>
28719 #else
28720 # include <assert.h>
28721 #endif
28722
28723 #undef $ac_func
28724
28725 /* Override any gcc2 internal prototype to avoid an error. */
28726 #ifdef __cplusplus
28727 extern "C"
28728 {
28729 #endif
28730 /* We use char because int might match the return type of a gcc2
28731 builtin and then its argument prototype would still apply. */
28732 char $ac_func ();
28733 /* The GNU C library defines this for functions which it implements
28734 to always fail with ENOSYS. Some functions are actually named
28735 something starting with __ and the normal name is an alias. */
28736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28737 choke me
28738 #else
28739 char (*f) () = $ac_func;
28740 #endif
28741 #ifdef __cplusplus
28742 }
28743 #endif
28744
28745 int
28746 main ()
28747 {
28748 return f != $ac_func;
28749 ;
28750 return 0;
28751 }
28752 _ACEOF
28753 rm -f conftest.$ac_objext conftest$ac_exeext
28754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28755 (eval $ac_link) 2>conftest.er1
28756 ac_status=$?
28757 grep -v '^ *+' conftest.er1 >conftest.err
28758 rm -f conftest.er1
28759 cat conftest.err >&5
28760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28761 (exit $ac_status); } &&
28762 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28764 (eval $ac_try) 2>&5
28765 ac_status=$?
28766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28767 (exit $ac_status); }; } &&
28768 { ac_try='test -s conftest$ac_exeext'
28769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28770 (eval $ac_try) 2>&5
28771 ac_status=$?
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); }; }; then
28774 eval "$as_ac_var=yes"
28775 else
28776 echo "$as_me: failed program was:" >&5
28777 sed 's/^/| /' conftest.$ac_ext >&5
28778
28779 eval "$as_ac_var=no"
28780 fi
28781 rm -f conftest.err conftest.$ac_objext \
28782 conftest$ac_exeext conftest.$ac_ext
28783 fi
28784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28786 if test `eval echo '${'$as_ac_var'}'` = yes; then
28787 cat >>confdefs.h <<_ACEOF
28788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28789 _ACEOF
28790
28791 fi
28792 done
28793
28794 fi
28795
28796 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28797 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28798
28799 AFMINSTALL=afminstall
28800 TOOLKIT=GTK
28801 GUIDIST=GTK_DIST
28802
28803 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28804 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28805 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28806 echo $ECHO_N "(cached) $ECHO_C" >&6
28807 else
28808 ac_check_lib_save_LIBS=$LIBS
28809 LIBS="-lgdk $LIBS"
28810 cat >conftest.$ac_ext <<_ACEOF
28811 /* confdefs.h. */
28812 _ACEOF
28813 cat confdefs.h >>conftest.$ac_ext
28814 cat >>conftest.$ac_ext <<_ACEOF
28815 /* end confdefs.h. */
28816
28817 /* Override any gcc2 internal prototype to avoid an error. */
28818 #ifdef __cplusplus
28819 extern "C"
28820 #endif
28821 /* We use char because int might match the return type of a gcc2
28822 builtin and then its argument prototype would still apply. */
28823 char gdk_im_open ();
28824 int
28825 main ()
28826 {
28827 gdk_im_open ();
28828 ;
28829 return 0;
28830 }
28831 _ACEOF
28832 rm -f conftest.$ac_objext conftest$ac_exeext
28833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28834 (eval $ac_link) 2>conftest.er1
28835 ac_status=$?
28836 grep -v '^ *+' conftest.er1 >conftest.err
28837 rm -f conftest.er1
28838 cat conftest.err >&5
28839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28840 (exit $ac_status); } &&
28841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28843 (eval $ac_try) 2>&5
28844 ac_status=$?
28845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28846 (exit $ac_status); }; } &&
28847 { ac_try='test -s conftest$ac_exeext'
28848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28849 (eval $ac_try) 2>&5
28850 ac_status=$?
28851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28852 (exit $ac_status); }; }; then
28853 ac_cv_lib_gdk_gdk_im_open=yes
28854 else
28855 echo "$as_me: failed program was:" >&5
28856 sed 's/^/| /' conftest.$ac_ext >&5
28857
28858 ac_cv_lib_gdk_gdk_im_open=no
28859 fi
28860 rm -f conftest.err conftest.$ac_objext \
28861 conftest$ac_exeext conftest.$ac_ext
28862 LIBS=$ac_check_lib_save_LIBS
28863 fi
28864 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28865 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28866 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28867 cat >>confdefs.h <<\_ACEOF
28868 #define HAVE_XIM 1
28869 _ACEOF
28870
28871 fi
28872
28873
28874
28875 if test "$wxUSE_GPE" = "yes"; then
28876 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28877 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28878
28879 ac_find_libraries=
28880 for ac_dir in $SEARCH_LIB;
28881 do
28882 for ac_extension in a so sl dylib dll.a; do
28883 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28884 ac_find_libraries=$ac_dir
28885 break 2
28886 fi
28887 done
28888 done
28889
28890 if test "$ac_find_libraries" != "" ; then
28891
28892 if test "$ac_find_libraries" = "default location"; then
28893 ac_path_to_link=""
28894 else
28895 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28896 result=$?
28897 if test $result = 0; then
28898 ac_path_to_link=""
28899 else
28900 ac_path_to_link=" -L$ac_find_libraries"
28901 fi
28902 fi
28903
28904 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28905 WXGPE=1
28906 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28907 echo "${ECHO_T}found in $ac_find_libraries" >&6
28908 else
28909 echo "$as_me:$LINENO: result: not found" >&5
28910 echo "${ECHO_T}not found" >&6
28911 fi
28912
28913 fi
28914 fi
28915
28916 if test "$wxUSE_MGL" = 1; then
28917 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28918 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28919 if test "x$MGL_ROOT" = x ; then
28920 echo "$as_me:$LINENO: result: not found" >&5
28921 echo "${ECHO_T}not found" >&6
28922 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28923 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28924 { (exit 1); exit 1; }; }
28925 else
28926 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28927 echo "${ECHO_T}$MGL_ROOT" >&6
28928 fi
28929
28930 echo "$as_me:$LINENO: checking for libmgl location" >&5
28931 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28932 case "${host}" in
28933 *-*-linux* )
28934 if test "x$wxUSE_SHARED" = xyes ; then
28935 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28936 else
28937 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28938 fi
28939 ;;
28940 *-pc-msdosdjgpp )
28941 mgl_os_candidates="dos32/dj2"
28942 ;;
28943 *)
28944 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28945 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28946 { (exit 1); exit 1; }; }
28947 esac
28948
28949 mgl_lib_type=""
28950 mgl_os=""
28951
28952 for mgl_os_i in $mgl_os_candidates ; do
28953 if test "x$mgl_os" = x ; then
28954 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28955 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28956 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28957 mgl_lib_type=debug
28958 mgl_os=$mgl_os_i
28959 fi
28960 fi
28961 if test "x$mgl_lib_type" = x ; then
28962 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28963 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28964 mgl_lib_type=release
28965 mgl_os=$mgl_os_i
28966 fi
28967 fi
28968 fi
28969 done
28970
28971 if test "x$mgl_os" = x ; then
28972 echo "$as_me:$LINENO: result: not found" >&5
28973 echo "${ECHO_T}not found" >&6
28974 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28975 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28976 { (exit 1); exit 1; }; }
28977 fi
28978 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28979 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28980
28981 wxUSE_UNIVERSAL="yes"
28982
28983 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28984 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28985
28986 AFMINSTALL=afminstall
28987 TOOLKIT=MGL
28988 GUIDIST=MGL_DIST
28989 fi
28990
28991 if test "$wxUSE_DFB" = 1; then
28992
28993
28994 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28995 if test -n "$ac_tool_prefix"; then
28996 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28997 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28998 echo "$as_me:$LINENO: checking for $ac_word" >&5
28999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29000 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29001 echo $ECHO_N "(cached) $ECHO_C" >&6
29002 else
29003 case $PKG_CONFIG in
29004 [\\/]* | ?:[\\/]*)
29005 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29006 ;;
29007 *)
29008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29009 for as_dir in $PATH
29010 do
29011 IFS=$as_save_IFS
29012 test -z "$as_dir" && as_dir=.
29013 for ac_exec_ext in '' $ac_executable_extensions; do
29014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29015 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29017 break 2
29018 fi
29019 done
29020 done
29021
29022 ;;
29023 esac
29024 fi
29025 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29026
29027 if test -n "$PKG_CONFIG"; then
29028 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29029 echo "${ECHO_T}$PKG_CONFIG" >&6
29030 else
29031 echo "$as_me:$LINENO: result: no" >&5
29032 echo "${ECHO_T}no" >&6
29033 fi
29034
29035 fi
29036 if test -z "$ac_cv_path_PKG_CONFIG"; then
29037 ac_pt_PKG_CONFIG=$PKG_CONFIG
29038 # Extract the first word of "pkg-config", so it can be a program name with args.
29039 set dummy pkg-config; ac_word=$2
29040 echo "$as_me:$LINENO: checking for $ac_word" >&5
29041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29042 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29043 echo $ECHO_N "(cached) $ECHO_C" >&6
29044 else
29045 case $ac_pt_PKG_CONFIG in
29046 [\\/]* | ?:[\\/]*)
29047 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29048 ;;
29049 *)
29050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29051 for as_dir in $PATH
29052 do
29053 IFS=$as_save_IFS
29054 test -z "$as_dir" && as_dir=.
29055 for ac_exec_ext in '' $ac_executable_extensions; do
29056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29057 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29059 break 2
29060 fi
29061 done
29062 done
29063
29064 ;;
29065 esac
29066 fi
29067 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29068
29069 if test -n "$ac_pt_PKG_CONFIG"; then
29070 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29071 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29072 else
29073 echo "$as_me:$LINENO: result: no" >&5
29074 echo "${ECHO_T}no" >&6
29075 fi
29076
29077 PKG_CONFIG=$ac_pt_PKG_CONFIG
29078 else
29079 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29080 fi
29081
29082 fi
29083 if test -n "$PKG_CONFIG"; then
29084 _pkg_min_version=0.9.0
29085 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29086 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29087 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29088 echo "$as_me:$LINENO: result: yes" >&5
29089 echo "${ECHO_T}yes" >&6
29090 else
29091 echo "$as_me:$LINENO: result: no" >&5
29092 echo "${ECHO_T}no" >&6
29093 PKG_CONFIG=""
29094 fi
29095
29096 fi
29097
29098 pkg_failed=no
29099 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29100 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29101
29102 if test -n "$PKG_CONFIG"; then
29103 if test -n "$DIRECTFB_CFLAGS"; then
29104 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29105 else
29106 if test -n "$PKG_CONFIG" && \
29107 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29108 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29109 ac_status=$?
29110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29111 (exit $ac_status); }; then
29112 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29113 else
29114 pkg_failed=yes
29115 fi
29116 fi
29117 else
29118 pkg_failed=untried
29119 fi
29120 if test -n "$PKG_CONFIG"; then
29121 if test -n "$DIRECTFB_LIBS"; then
29122 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29123 else
29124 if test -n "$PKG_CONFIG" && \
29125 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29126 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29127 ac_status=$?
29128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29129 (exit $ac_status); }; then
29130 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29131 else
29132 pkg_failed=yes
29133 fi
29134 fi
29135 else
29136 pkg_failed=untried
29137 fi
29138
29139
29140
29141 if test $pkg_failed = yes; then
29142
29143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29144 _pkg_short_errors_supported=yes
29145 else
29146 _pkg_short_errors_supported=no
29147 fi
29148 if test $_pkg_short_errors_supported = yes; then
29149 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29150 else
29151 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29152 fi
29153 # Put the nasty error message in config.log where it belongs
29154 echo "$DIRECTFB_PKG_ERRORS" >&5
29155
29156
29157 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29158 echo "$as_me: error: DirectFB not found." >&2;}
29159 { (exit 1); exit 1; }; }
29160
29161
29162 elif test $pkg_failed = untried; then
29163
29164 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29165 echo "$as_me: error: DirectFB not found." >&2;}
29166 { (exit 1); exit 1; }; }
29167
29168
29169 else
29170 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29171 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29172 echo "$as_me:$LINENO: result: yes" >&5
29173 echo "${ECHO_T}yes" >&6
29174
29175 wxUSE_UNIVERSAL="yes"
29176 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29177 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29178 TOOLKIT=DFB
29179 GUIDIST=DFB_DIST
29180
29181 fi
29182 fi
29183
29184 if test "$wxUSE_MICROWIN" = 1; then
29185 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29186 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29187 if test "x$MICROWINDOWS" = x ; then
29188 echo "$as_me:$LINENO: result: not found" >&5
29189 echo "${ECHO_T}not found" >&6
29190 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29191 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29192 { (exit 1); exit 1; }; }
29193 else
29194 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29195 echo "${ECHO_T}$MICROWINDOWS" >&6
29196 fi
29197
29198 if test -f $MICROWINDOWS/lib/libmwin.a; then
29199 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29200 echo "${ECHO_T}MicroWindows' libraries found." >&6
29201 else
29202 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29203 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29204 { (exit 1); exit 1; }; }
29205 fi
29206
29207 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29208 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29209
29210 wxUSE_UNIVERSAL="yes"
29211
29212 AFMINSTALL=afminstall
29213 TOOLKIT=MICROWIN
29214 GUIDIST=MICROWIN_DIST
29215
29216 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29217 fi
29218
29219 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29220
29221 if test "x$ac_path_x_has_been_run" != xyes; then
29222 echo "$as_me:$LINENO: checking for X" >&5
29223 echo $ECHO_N "checking for X... $ECHO_C" >&6
29224
29225 ac_path_x_has_been_run=yes
29226
29227 # Check whether --with-x or --without-x was given.
29228 if test "${with_x+set}" = set; then
29229 withval="$with_x"
29230
29231 fi;
29232 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29233 if test "x$with_x" = xno; then
29234 # The user explicitly disabled X.
29235 have_x=disabled
29236 else
29237 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29238 # Both variables are already set.
29239 have_x=yes
29240 else
29241 if test "${ac_cv_have_x+set}" = set; then
29242 echo $ECHO_N "(cached) $ECHO_C" >&6
29243 else
29244 # One or both of the vars are not set, and there is no cached value.
29245 ac_x_includes=no ac_x_libraries=no
29246 rm -fr conftest.dir
29247 if mkdir conftest.dir; then
29248 cd conftest.dir
29249 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29250 cat >Imakefile <<'_ACEOF'
29251 acfindx:
29252 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29253 _ACEOF
29254 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29255 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29256 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29257 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29258 for ac_extension in a so sl; do
29259 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29260 test -f $ac_im_libdir/libX11.$ac_extension; then
29261 ac_im_usrlibdir=$ac_im_libdir; break
29262 fi
29263 done
29264 # Screen out bogus values from the imake configuration. They are
29265 # bogus both because they are the default anyway, and because
29266 # using them would break gcc on systems where it needs fixed includes.
29267 case $ac_im_incroot in
29268 /usr/include) ;;
29269 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29270 esac
29271 case $ac_im_usrlibdir in
29272 /usr/lib | /lib) ;;
29273 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29274 esac
29275 fi
29276 cd ..
29277 rm -fr conftest.dir
29278 fi
29279
29280 # Standard set of common directories for X headers.
29281 # Check X11 before X11Rn because it is often a symlink to the current release.
29282 ac_x_header_dirs='
29283 /usr/X11/include
29284 /usr/X11R6/include
29285 /usr/X11R5/include
29286 /usr/X11R4/include
29287
29288 /usr/include/X11
29289 /usr/include/X11R6
29290 /usr/include/X11R5
29291 /usr/include/X11R4
29292
29293 /usr/local/X11/include
29294 /usr/local/X11R6/include
29295 /usr/local/X11R5/include
29296 /usr/local/X11R4/include
29297
29298 /usr/local/include/X11
29299 /usr/local/include/X11R6
29300 /usr/local/include/X11R5
29301 /usr/local/include/X11R4
29302
29303 /usr/X386/include
29304 /usr/x386/include
29305 /usr/XFree86/include/X11
29306
29307 /usr/include
29308 /usr/local/include
29309 /usr/unsupported/include
29310 /usr/athena/include
29311 /usr/local/x11r5/include
29312 /usr/lpp/Xamples/include
29313
29314 /usr/openwin/include
29315 /usr/openwin/share/include'
29316
29317 if test "$ac_x_includes" = no; then
29318 # Guess where to find include files, by looking for a specified header file.
29319 # First, try using that file with no special directory specified.
29320 cat >conftest.$ac_ext <<_ACEOF
29321 /* confdefs.h. */
29322 _ACEOF
29323 cat confdefs.h >>conftest.$ac_ext
29324 cat >>conftest.$ac_ext <<_ACEOF
29325 /* end confdefs.h. */
29326 #include <X11/Xlib.h>
29327 _ACEOF
29328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29329 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29330 ac_status=$?
29331 grep -v '^ *+' conftest.er1 >conftest.err
29332 rm -f conftest.er1
29333 cat conftest.err >&5
29334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29335 (exit $ac_status); } >/dev/null; then
29336 if test -s conftest.err; then
29337 ac_cpp_err=$ac_cxx_preproc_warn_flag
29338 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29339 else
29340 ac_cpp_err=
29341 fi
29342 else
29343 ac_cpp_err=yes
29344 fi
29345 if test -z "$ac_cpp_err"; then
29346 # We can compile using X headers with no special include directory.
29347 ac_x_includes=
29348 else
29349 echo "$as_me: failed program was:" >&5
29350 sed 's/^/| /' conftest.$ac_ext >&5
29351
29352 for ac_dir in $ac_x_header_dirs; do
29353 if test -r "$ac_dir/X11/Xlib.h"; then
29354 ac_x_includes=$ac_dir
29355 break
29356 fi
29357 done
29358 fi
29359 rm -f conftest.err conftest.$ac_ext
29360 fi # $ac_x_includes = no
29361
29362 if test "$ac_x_libraries" = no; then
29363 # Check for the libraries.
29364 # See if we find them without any special options.
29365 # Don't add to $LIBS permanently.
29366 ac_save_LIBS=$LIBS
29367 LIBS="-lX11 $LIBS"
29368 cat >conftest.$ac_ext <<_ACEOF
29369 /* confdefs.h. */
29370 _ACEOF
29371 cat confdefs.h >>conftest.$ac_ext
29372 cat >>conftest.$ac_ext <<_ACEOF
29373 /* end confdefs.h. */
29374 #include <X11/Xlib.h>
29375 int
29376 main ()
29377 {
29378 XrmInitialize ()
29379 ;
29380 return 0;
29381 }
29382 _ACEOF
29383 rm -f conftest.$ac_objext conftest$ac_exeext
29384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29385 (eval $ac_link) 2>conftest.er1
29386 ac_status=$?
29387 grep -v '^ *+' conftest.er1 >conftest.err
29388 rm -f conftest.er1
29389 cat conftest.err >&5
29390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29391 (exit $ac_status); } &&
29392 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29394 (eval $ac_try) 2>&5
29395 ac_status=$?
29396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29397 (exit $ac_status); }; } &&
29398 { ac_try='test -s conftest$ac_exeext'
29399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29400 (eval $ac_try) 2>&5
29401 ac_status=$?
29402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29403 (exit $ac_status); }; }; then
29404 LIBS=$ac_save_LIBS
29405 # We can link X programs with no special library path.
29406 ac_x_libraries=
29407 else
29408 echo "$as_me: failed program was:" >&5
29409 sed 's/^/| /' conftest.$ac_ext >&5
29410
29411 LIBS=$ac_save_LIBS
29412 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29413 do
29414 # Don't even attempt the hair of trying to link an X program!
29415 for ac_extension in a so sl; do
29416 if test -r $ac_dir/libX11.$ac_extension; then
29417 ac_x_libraries=$ac_dir
29418 break 2
29419 fi
29420 done
29421 done
29422 fi
29423 rm -f conftest.err conftest.$ac_objext \
29424 conftest$ac_exeext conftest.$ac_ext
29425 fi # $ac_x_libraries = no
29426
29427 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29428 # Didn't find X anywhere. Cache the known absence of X.
29429 ac_cv_have_x="have_x=no"
29430 else
29431 # Record where we found X for the cache.
29432 ac_cv_have_x="have_x=yes \
29433 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29434 fi
29435 fi
29436
29437 fi
29438 eval "$ac_cv_have_x"
29439 fi # $with_x != no
29440
29441 if test "$have_x" != yes; then
29442 echo "$as_me:$LINENO: result: $have_x" >&5
29443 echo "${ECHO_T}$have_x" >&6
29444 no_x=yes
29445 else
29446 # If each of the values was on the command line, it overrides each guess.
29447 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29448 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29449 # Update the cache value to reflect the command line values.
29450 ac_cv_have_x="have_x=yes \
29451 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29452 # It might be that x_includes is empty (headers are found in the
29453 # standard search path. Then output the corresponding message
29454 ac_out_x_includes=$x_includes
29455 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29456 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29457 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29458 fi
29459
29460 fi
29461 if test "$no_x" = yes; then
29462 # Not all programs may use this symbol, but it does not hurt to define it.
29463
29464 cat >>confdefs.h <<\_ACEOF
29465 #define X_DISPLAY_MISSING 1
29466 _ACEOF
29467
29468 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29469 else
29470 if test -n "$x_includes"; then
29471 X_CFLAGS="$X_CFLAGS -I$x_includes"
29472 fi
29473
29474 # It would also be nice to do this for all -L options, not just this one.
29475 if test -n "$x_libraries"; then
29476 X_LIBS="$X_LIBS -L$x_libraries"
29477 # For Solaris; some versions of Sun CC require a space after -R and
29478 # others require no space. Words are not sufficient . . . .
29479 case `(uname -sr) 2>/dev/null` in
29480 "SunOS 5"*)
29481 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29482 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29483 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29484 cat >conftest.$ac_ext <<_ACEOF
29485 /* confdefs.h. */
29486 _ACEOF
29487 cat confdefs.h >>conftest.$ac_ext
29488 cat >>conftest.$ac_ext <<_ACEOF
29489 /* end confdefs.h. */
29490
29491 int
29492 main ()
29493 {
29494
29495 ;
29496 return 0;
29497 }
29498 _ACEOF
29499 rm -f conftest.$ac_objext conftest$ac_exeext
29500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29501 (eval $ac_link) 2>conftest.er1
29502 ac_status=$?
29503 grep -v '^ *+' conftest.er1 >conftest.err
29504 rm -f conftest.er1
29505 cat conftest.err >&5
29506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29507 (exit $ac_status); } &&
29508 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29510 (eval $ac_try) 2>&5
29511 ac_status=$?
29512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29513 (exit $ac_status); }; } &&
29514 { ac_try='test -s conftest$ac_exeext'
29515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29516 (eval $ac_try) 2>&5
29517 ac_status=$?
29518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29519 (exit $ac_status); }; }; then
29520 ac_R_nospace=yes
29521 else
29522 echo "$as_me: failed program was:" >&5
29523 sed 's/^/| /' conftest.$ac_ext >&5
29524
29525 ac_R_nospace=no
29526 fi
29527 rm -f conftest.err conftest.$ac_objext \
29528 conftest$ac_exeext conftest.$ac_ext
29529 if test $ac_R_nospace = yes; then
29530 echo "$as_me:$LINENO: result: no" >&5
29531 echo "${ECHO_T}no" >&6
29532 X_LIBS="$X_LIBS -R$x_libraries"
29533 else
29534 LIBS="$ac_xsave_LIBS -R $x_libraries"
29535 cat >conftest.$ac_ext <<_ACEOF
29536 /* confdefs.h. */
29537 _ACEOF
29538 cat confdefs.h >>conftest.$ac_ext
29539 cat >>conftest.$ac_ext <<_ACEOF
29540 /* end confdefs.h. */
29541
29542 int
29543 main ()
29544 {
29545
29546 ;
29547 return 0;
29548 }
29549 _ACEOF
29550 rm -f conftest.$ac_objext conftest$ac_exeext
29551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29552 (eval $ac_link) 2>conftest.er1
29553 ac_status=$?
29554 grep -v '^ *+' conftest.er1 >conftest.err
29555 rm -f conftest.er1
29556 cat conftest.err >&5
29557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29558 (exit $ac_status); } &&
29559 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29561 (eval $ac_try) 2>&5
29562 ac_status=$?
29563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29564 (exit $ac_status); }; } &&
29565 { ac_try='test -s conftest$ac_exeext'
29566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29567 (eval $ac_try) 2>&5
29568 ac_status=$?
29569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29570 (exit $ac_status); }; }; then
29571 ac_R_space=yes
29572 else
29573 echo "$as_me: failed program was:" >&5
29574 sed 's/^/| /' conftest.$ac_ext >&5
29575
29576 ac_R_space=no
29577 fi
29578 rm -f conftest.err conftest.$ac_objext \
29579 conftest$ac_exeext conftest.$ac_ext
29580 if test $ac_R_space = yes; then
29581 echo "$as_me:$LINENO: result: yes" >&5
29582 echo "${ECHO_T}yes" >&6
29583 X_LIBS="$X_LIBS -R $x_libraries"
29584 else
29585 echo "$as_me:$LINENO: result: neither works" >&5
29586 echo "${ECHO_T}neither works" >&6
29587 fi
29588 fi
29589 LIBS=$ac_xsave_LIBS
29590 esac
29591 fi
29592
29593 # Check for system-dependent libraries X programs must link with.
29594 # Do this before checking for the system-independent R6 libraries
29595 # (-lICE), since we may need -lsocket or whatever for X linking.
29596
29597 if test "$ISC" = yes; then
29598 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29599 else
29600 # Martyn Johnson says this is needed for Ultrix, if the X
29601 # libraries were built with DECnet support. And Karl Berry says
29602 # the Alpha needs dnet_stub (dnet does not exist).
29603 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29604 cat >conftest.$ac_ext <<_ACEOF
29605 /* confdefs.h. */
29606 _ACEOF
29607 cat confdefs.h >>conftest.$ac_ext
29608 cat >>conftest.$ac_ext <<_ACEOF
29609 /* end confdefs.h. */
29610
29611 /* Override any gcc2 internal prototype to avoid an error. */
29612 #ifdef __cplusplus
29613 extern "C"
29614 #endif
29615 /* We use char because int might match the return type of a gcc2
29616 builtin and then its argument prototype would still apply. */
29617 char XOpenDisplay ();
29618 int
29619 main ()
29620 {
29621 XOpenDisplay ();
29622 ;
29623 return 0;
29624 }
29625 _ACEOF
29626 rm -f conftest.$ac_objext conftest$ac_exeext
29627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29628 (eval $ac_link) 2>conftest.er1
29629 ac_status=$?
29630 grep -v '^ *+' conftest.er1 >conftest.err
29631 rm -f conftest.er1
29632 cat conftest.err >&5
29633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29634 (exit $ac_status); } &&
29635 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29637 (eval $ac_try) 2>&5
29638 ac_status=$?
29639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 (exit $ac_status); }; } &&
29641 { ac_try='test -s conftest$ac_exeext'
29642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29643 (eval $ac_try) 2>&5
29644 ac_status=$?
29645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29646 (exit $ac_status); }; }; then
29647 :
29648 else
29649 echo "$as_me: failed program was:" >&5
29650 sed 's/^/| /' conftest.$ac_ext >&5
29651
29652 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29653 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29654 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29655 echo $ECHO_N "(cached) $ECHO_C" >&6
29656 else
29657 ac_check_lib_save_LIBS=$LIBS
29658 LIBS="-ldnet $LIBS"
29659 cat >conftest.$ac_ext <<_ACEOF
29660 /* confdefs.h. */
29661 _ACEOF
29662 cat confdefs.h >>conftest.$ac_ext
29663 cat >>conftest.$ac_ext <<_ACEOF
29664 /* end confdefs.h. */
29665
29666 /* Override any gcc2 internal prototype to avoid an error. */
29667 #ifdef __cplusplus
29668 extern "C"
29669 #endif
29670 /* We use char because int might match the return type of a gcc2
29671 builtin and then its argument prototype would still apply. */
29672 char dnet_ntoa ();
29673 int
29674 main ()
29675 {
29676 dnet_ntoa ();
29677 ;
29678 return 0;
29679 }
29680 _ACEOF
29681 rm -f conftest.$ac_objext conftest$ac_exeext
29682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29683 (eval $ac_link) 2>conftest.er1
29684 ac_status=$?
29685 grep -v '^ *+' conftest.er1 >conftest.err
29686 rm -f conftest.er1
29687 cat conftest.err >&5
29688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29689 (exit $ac_status); } &&
29690 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29692 (eval $ac_try) 2>&5
29693 ac_status=$?
29694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695 (exit $ac_status); }; } &&
29696 { ac_try='test -s conftest$ac_exeext'
29697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29698 (eval $ac_try) 2>&5
29699 ac_status=$?
29700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29701 (exit $ac_status); }; }; then
29702 ac_cv_lib_dnet_dnet_ntoa=yes
29703 else
29704 echo "$as_me: failed program was:" >&5
29705 sed 's/^/| /' conftest.$ac_ext >&5
29706
29707 ac_cv_lib_dnet_dnet_ntoa=no
29708 fi
29709 rm -f conftest.err conftest.$ac_objext \
29710 conftest$ac_exeext conftest.$ac_ext
29711 LIBS=$ac_check_lib_save_LIBS
29712 fi
29713 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29714 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29715 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29716 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29717 fi
29718
29719 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29720 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29721 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29722 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29723 echo $ECHO_N "(cached) $ECHO_C" >&6
29724 else
29725 ac_check_lib_save_LIBS=$LIBS
29726 LIBS="-ldnet_stub $LIBS"
29727 cat >conftest.$ac_ext <<_ACEOF
29728 /* confdefs.h. */
29729 _ACEOF
29730 cat confdefs.h >>conftest.$ac_ext
29731 cat >>conftest.$ac_ext <<_ACEOF
29732 /* end confdefs.h. */
29733
29734 /* Override any gcc2 internal prototype to avoid an error. */
29735 #ifdef __cplusplus
29736 extern "C"
29737 #endif
29738 /* We use char because int might match the return type of a gcc2
29739 builtin and then its argument prototype would still apply. */
29740 char dnet_ntoa ();
29741 int
29742 main ()
29743 {
29744 dnet_ntoa ();
29745 ;
29746 return 0;
29747 }
29748 _ACEOF
29749 rm -f conftest.$ac_objext conftest$ac_exeext
29750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29751 (eval $ac_link) 2>conftest.er1
29752 ac_status=$?
29753 grep -v '^ *+' conftest.er1 >conftest.err
29754 rm -f conftest.er1
29755 cat conftest.err >&5
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); } &&
29758 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29760 (eval $ac_try) 2>&5
29761 ac_status=$?
29762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29763 (exit $ac_status); }; } &&
29764 { ac_try='test -s conftest$ac_exeext'
29765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29766 (eval $ac_try) 2>&5
29767 ac_status=$?
29768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29769 (exit $ac_status); }; }; then
29770 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29771 else
29772 echo "$as_me: failed program was:" >&5
29773 sed 's/^/| /' conftest.$ac_ext >&5
29774
29775 ac_cv_lib_dnet_stub_dnet_ntoa=no
29776 fi
29777 rm -f conftest.err conftest.$ac_objext \
29778 conftest$ac_exeext conftest.$ac_ext
29779 LIBS=$ac_check_lib_save_LIBS
29780 fi
29781 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29782 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29783 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29784 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29785 fi
29786
29787 fi
29788 fi
29789 rm -f conftest.err conftest.$ac_objext \
29790 conftest$ac_exeext conftest.$ac_ext
29791 LIBS="$ac_xsave_LIBS"
29792
29793 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29794 # to get the SysV transport functions.
29795 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29796 # needs -lnsl.
29797 # The nsl library prevents programs from opening the X display
29798 # on Irix 5.2, according to T.E. Dickey.
29799 # The functions gethostbyname, getservbyname, and inet_addr are
29800 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29801 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29802 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29803 if test "${ac_cv_func_gethostbyname+set}" = set; then
29804 echo $ECHO_N "(cached) $ECHO_C" >&6
29805 else
29806 cat >conftest.$ac_ext <<_ACEOF
29807 /* confdefs.h. */
29808 _ACEOF
29809 cat confdefs.h >>conftest.$ac_ext
29810 cat >>conftest.$ac_ext <<_ACEOF
29811 /* end confdefs.h. */
29812 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29814 #define gethostbyname innocuous_gethostbyname
29815
29816 /* System header to define __stub macros and hopefully few prototypes,
29817 which can conflict with char gethostbyname (); below.
29818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29819 <limits.h> exists even on freestanding compilers. */
29820
29821 #ifdef __STDC__
29822 # include <limits.h>
29823 #else
29824 # include <assert.h>
29825 #endif
29826
29827 #undef gethostbyname
29828
29829 /* Override any gcc2 internal prototype to avoid an error. */
29830 #ifdef __cplusplus
29831 extern "C"
29832 {
29833 #endif
29834 /* We use char because int might match the return type of a gcc2
29835 builtin and then its argument prototype would still apply. */
29836 char gethostbyname ();
29837 /* The GNU C library defines this for functions which it implements
29838 to always fail with ENOSYS. Some functions are actually named
29839 something starting with __ and the normal name is an alias. */
29840 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29841 choke me
29842 #else
29843 char (*f) () = gethostbyname;
29844 #endif
29845 #ifdef __cplusplus
29846 }
29847 #endif
29848
29849 int
29850 main ()
29851 {
29852 return f != gethostbyname;
29853 ;
29854 return 0;
29855 }
29856 _ACEOF
29857 rm -f conftest.$ac_objext conftest$ac_exeext
29858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29859 (eval $ac_link) 2>conftest.er1
29860 ac_status=$?
29861 grep -v '^ *+' conftest.er1 >conftest.err
29862 rm -f conftest.er1
29863 cat conftest.err >&5
29864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29865 (exit $ac_status); } &&
29866 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29868 (eval $ac_try) 2>&5
29869 ac_status=$?
29870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29871 (exit $ac_status); }; } &&
29872 { ac_try='test -s conftest$ac_exeext'
29873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29874 (eval $ac_try) 2>&5
29875 ac_status=$?
29876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29877 (exit $ac_status); }; }; then
29878 ac_cv_func_gethostbyname=yes
29879 else
29880 echo "$as_me: failed program was:" >&5
29881 sed 's/^/| /' conftest.$ac_ext >&5
29882
29883 ac_cv_func_gethostbyname=no
29884 fi
29885 rm -f conftest.err conftest.$ac_objext \
29886 conftest$ac_exeext conftest.$ac_ext
29887 fi
29888 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29889 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29890
29891 if test $ac_cv_func_gethostbyname = no; then
29892 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29893 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29894 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29895 echo $ECHO_N "(cached) $ECHO_C" >&6
29896 else
29897 ac_check_lib_save_LIBS=$LIBS
29898 LIBS="-lnsl $LIBS"
29899 cat >conftest.$ac_ext <<_ACEOF
29900 /* confdefs.h. */
29901 _ACEOF
29902 cat confdefs.h >>conftest.$ac_ext
29903 cat >>conftest.$ac_ext <<_ACEOF
29904 /* end confdefs.h. */
29905
29906 /* Override any gcc2 internal prototype to avoid an error. */
29907 #ifdef __cplusplus
29908 extern "C"
29909 #endif
29910 /* We use char because int might match the return type of a gcc2
29911 builtin and then its argument prototype would still apply. */
29912 char gethostbyname ();
29913 int
29914 main ()
29915 {
29916 gethostbyname ();
29917 ;
29918 return 0;
29919 }
29920 _ACEOF
29921 rm -f conftest.$ac_objext conftest$ac_exeext
29922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29923 (eval $ac_link) 2>conftest.er1
29924 ac_status=$?
29925 grep -v '^ *+' conftest.er1 >conftest.err
29926 rm -f conftest.er1
29927 cat conftest.err >&5
29928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29929 (exit $ac_status); } &&
29930 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29932 (eval $ac_try) 2>&5
29933 ac_status=$?
29934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935 (exit $ac_status); }; } &&
29936 { ac_try='test -s conftest$ac_exeext'
29937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29938 (eval $ac_try) 2>&5
29939 ac_status=$?
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); }; }; then
29942 ac_cv_lib_nsl_gethostbyname=yes
29943 else
29944 echo "$as_me: failed program was:" >&5
29945 sed 's/^/| /' conftest.$ac_ext >&5
29946
29947 ac_cv_lib_nsl_gethostbyname=no
29948 fi
29949 rm -f conftest.err conftest.$ac_objext \
29950 conftest$ac_exeext conftest.$ac_ext
29951 LIBS=$ac_check_lib_save_LIBS
29952 fi
29953 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29954 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29955 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29956 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29957 fi
29958
29959 if test $ac_cv_lib_nsl_gethostbyname = no; then
29960 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29961 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29962 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29963 echo $ECHO_N "(cached) $ECHO_C" >&6
29964 else
29965 ac_check_lib_save_LIBS=$LIBS
29966 LIBS="-lbsd $LIBS"
29967 cat >conftest.$ac_ext <<_ACEOF
29968 /* confdefs.h. */
29969 _ACEOF
29970 cat confdefs.h >>conftest.$ac_ext
29971 cat >>conftest.$ac_ext <<_ACEOF
29972 /* end confdefs.h. */
29973
29974 /* Override any gcc2 internal prototype to avoid an error. */
29975 #ifdef __cplusplus
29976 extern "C"
29977 #endif
29978 /* We use char because int might match the return type of a gcc2
29979 builtin and then its argument prototype would still apply. */
29980 char gethostbyname ();
29981 int
29982 main ()
29983 {
29984 gethostbyname ();
29985 ;
29986 return 0;
29987 }
29988 _ACEOF
29989 rm -f conftest.$ac_objext conftest$ac_exeext
29990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29991 (eval $ac_link) 2>conftest.er1
29992 ac_status=$?
29993 grep -v '^ *+' conftest.er1 >conftest.err
29994 rm -f conftest.er1
29995 cat conftest.err >&5
29996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29997 (exit $ac_status); } &&
29998 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30000 (eval $ac_try) 2>&5
30001 ac_status=$?
30002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003 (exit $ac_status); }; } &&
30004 { ac_try='test -s conftest$ac_exeext'
30005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30006 (eval $ac_try) 2>&5
30007 ac_status=$?
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); }; }; then
30010 ac_cv_lib_bsd_gethostbyname=yes
30011 else
30012 echo "$as_me: failed program was:" >&5
30013 sed 's/^/| /' conftest.$ac_ext >&5
30014
30015 ac_cv_lib_bsd_gethostbyname=no
30016 fi
30017 rm -f conftest.err conftest.$ac_objext \
30018 conftest$ac_exeext conftest.$ac_ext
30019 LIBS=$ac_check_lib_save_LIBS
30020 fi
30021 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30022 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30023 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30024 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30025 fi
30026
30027 fi
30028 fi
30029
30030 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30031 # socket/setsockopt and other routines are undefined under SCO ODT
30032 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30033 # on later versions), says Simon Leinen: it contains gethostby*
30034 # variants that don't use the name server (or something). -lsocket
30035 # must be given before -lnsl if both are needed. We assume that
30036 # if connect needs -lnsl, so does gethostbyname.
30037 echo "$as_me:$LINENO: checking for connect" >&5
30038 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30039 if test "${ac_cv_func_connect+set}" = set; then
30040 echo $ECHO_N "(cached) $ECHO_C" >&6
30041 else
30042 cat >conftest.$ac_ext <<_ACEOF
30043 /* confdefs.h. */
30044 _ACEOF
30045 cat confdefs.h >>conftest.$ac_ext
30046 cat >>conftest.$ac_ext <<_ACEOF
30047 /* end confdefs.h. */
30048 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30050 #define connect innocuous_connect
30051
30052 /* System header to define __stub macros and hopefully few prototypes,
30053 which can conflict with char connect (); below.
30054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30055 <limits.h> exists even on freestanding compilers. */
30056
30057 #ifdef __STDC__
30058 # include <limits.h>
30059 #else
30060 # include <assert.h>
30061 #endif
30062
30063 #undef connect
30064
30065 /* Override any gcc2 internal prototype to avoid an error. */
30066 #ifdef __cplusplus
30067 extern "C"
30068 {
30069 #endif
30070 /* We use char because int might match the return type of a gcc2
30071 builtin and then its argument prototype would still apply. */
30072 char connect ();
30073 /* The GNU C library defines this for functions which it implements
30074 to always fail with ENOSYS. Some functions are actually named
30075 something starting with __ and the normal name is an alias. */
30076 #if defined (__stub_connect) || defined (__stub___connect)
30077 choke me
30078 #else
30079 char (*f) () = connect;
30080 #endif
30081 #ifdef __cplusplus
30082 }
30083 #endif
30084
30085 int
30086 main ()
30087 {
30088 return f != connect;
30089 ;
30090 return 0;
30091 }
30092 _ACEOF
30093 rm -f conftest.$ac_objext conftest$ac_exeext
30094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30095 (eval $ac_link) 2>conftest.er1
30096 ac_status=$?
30097 grep -v '^ *+' conftest.er1 >conftest.err
30098 rm -f conftest.er1
30099 cat conftest.err >&5
30100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30101 (exit $ac_status); } &&
30102 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
30108 { ac_try='test -s conftest$ac_exeext'
30109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30110 (eval $ac_try) 2>&5
30111 ac_status=$?
30112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30113 (exit $ac_status); }; }; then
30114 ac_cv_func_connect=yes
30115 else
30116 echo "$as_me: failed program was:" >&5
30117 sed 's/^/| /' conftest.$ac_ext >&5
30118
30119 ac_cv_func_connect=no
30120 fi
30121 rm -f conftest.err conftest.$ac_objext \
30122 conftest$ac_exeext conftest.$ac_ext
30123 fi
30124 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30125 echo "${ECHO_T}$ac_cv_func_connect" >&6
30126
30127 if test $ac_cv_func_connect = no; then
30128 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30129 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30130 if test "${ac_cv_lib_socket_connect+set}" = set; then
30131 echo $ECHO_N "(cached) $ECHO_C" >&6
30132 else
30133 ac_check_lib_save_LIBS=$LIBS
30134 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30135 cat >conftest.$ac_ext <<_ACEOF
30136 /* confdefs.h. */
30137 _ACEOF
30138 cat confdefs.h >>conftest.$ac_ext
30139 cat >>conftest.$ac_ext <<_ACEOF
30140 /* end confdefs.h. */
30141
30142 /* Override any gcc2 internal prototype to avoid an error. */
30143 #ifdef __cplusplus
30144 extern "C"
30145 #endif
30146 /* We use char because int might match the return type of a gcc2
30147 builtin and then its argument prototype would still apply. */
30148 char connect ();
30149 int
30150 main ()
30151 {
30152 connect ();
30153 ;
30154 return 0;
30155 }
30156 _ACEOF
30157 rm -f conftest.$ac_objext conftest$ac_exeext
30158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30159 (eval $ac_link) 2>conftest.er1
30160 ac_status=$?
30161 grep -v '^ *+' conftest.er1 >conftest.err
30162 rm -f conftest.er1
30163 cat conftest.err >&5
30164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30165 (exit $ac_status); } &&
30166 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30168 (eval $ac_try) 2>&5
30169 ac_status=$?
30170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30171 (exit $ac_status); }; } &&
30172 { ac_try='test -s conftest$ac_exeext'
30173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30174 (eval $ac_try) 2>&5
30175 ac_status=$?
30176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30177 (exit $ac_status); }; }; then
30178 ac_cv_lib_socket_connect=yes
30179 else
30180 echo "$as_me: failed program was:" >&5
30181 sed 's/^/| /' conftest.$ac_ext >&5
30182
30183 ac_cv_lib_socket_connect=no
30184 fi
30185 rm -f conftest.err conftest.$ac_objext \
30186 conftest$ac_exeext conftest.$ac_ext
30187 LIBS=$ac_check_lib_save_LIBS
30188 fi
30189 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30190 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30191 if test $ac_cv_lib_socket_connect = yes; then
30192 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30193 fi
30194
30195 fi
30196
30197 # Guillermo Gomez says -lposix is necessary on A/UX.
30198 echo "$as_me:$LINENO: checking for remove" >&5
30199 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30200 if test "${ac_cv_func_remove+set}" = set; then
30201 echo $ECHO_N "(cached) $ECHO_C" >&6
30202 else
30203 cat >conftest.$ac_ext <<_ACEOF
30204 /* confdefs.h. */
30205 _ACEOF
30206 cat confdefs.h >>conftest.$ac_ext
30207 cat >>conftest.$ac_ext <<_ACEOF
30208 /* end confdefs.h. */
30209 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30211 #define remove innocuous_remove
30212
30213 /* System header to define __stub macros and hopefully few prototypes,
30214 which can conflict with char remove (); below.
30215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30216 <limits.h> exists even on freestanding compilers. */
30217
30218 #ifdef __STDC__
30219 # include <limits.h>
30220 #else
30221 # include <assert.h>
30222 #endif
30223
30224 #undef remove
30225
30226 /* Override any gcc2 internal prototype to avoid an error. */
30227 #ifdef __cplusplus
30228 extern "C"
30229 {
30230 #endif
30231 /* We use char because int might match the return type of a gcc2
30232 builtin and then its argument prototype would still apply. */
30233 char remove ();
30234 /* The GNU C library defines this for functions which it implements
30235 to always fail with ENOSYS. Some functions are actually named
30236 something starting with __ and the normal name is an alias. */
30237 #if defined (__stub_remove) || defined (__stub___remove)
30238 choke me
30239 #else
30240 char (*f) () = remove;
30241 #endif
30242 #ifdef __cplusplus
30243 }
30244 #endif
30245
30246 int
30247 main ()
30248 {
30249 return f != remove;
30250 ;
30251 return 0;
30252 }
30253 _ACEOF
30254 rm -f conftest.$ac_objext conftest$ac_exeext
30255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30256 (eval $ac_link) 2>conftest.er1
30257 ac_status=$?
30258 grep -v '^ *+' conftest.er1 >conftest.err
30259 rm -f conftest.er1
30260 cat conftest.err >&5
30261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30262 (exit $ac_status); } &&
30263 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30265 (eval $ac_try) 2>&5
30266 ac_status=$?
30267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30268 (exit $ac_status); }; } &&
30269 { ac_try='test -s conftest$ac_exeext'
30270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30271 (eval $ac_try) 2>&5
30272 ac_status=$?
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); }; }; then
30275 ac_cv_func_remove=yes
30276 else
30277 echo "$as_me: failed program was:" >&5
30278 sed 's/^/| /' conftest.$ac_ext >&5
30279
30280 ac_cv_func_remove=no
30281 fi
30282 rm -f conftest.err conftest.$ac_objext \
30283 conftest$ac_exeext conftest.$ac_ext
30284 fi
30285 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30286 echo "${ECHO_T}$ac_cv_func_remove" >&6
30287
30288 if test $ac_cv_func_remove = no; then
30289 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30290 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30291 if test "${ac_cv_lib_posix_remove+set}" = set; then
30292 echo $ECHO_N "(cached) $ECHO_C" >&6
30293 else
30294 ac_check_lib_save_LIBS=$LIBS
30295 LIBS="-lposix $LIBS"
30296 cat >conftest.$ac_ext <<_ACEOF
30297 /* confdefs.h. */
30298 _ACEOF
30299 cat confdefs.h >>conftest.$ac_ext
30300 cat >>conftest.$ac_ext <<_ACEOF
30301 /* end confdefs.h. */
30302
30303 /* Override any gcc2 internal prototype to avoid an error. */
30304 #ifdef __cplusplus
30305 extern "C"
30306 #endif
30307 /* We use char because int might match the return type of a gcc2
30308 builtin and then its argument prototype would still apply. */
30309 char remove ();
30310 int
30311 main ()
30312 {
30313 remove ();
30314 ;
30315 return 0;
30316 }
30317 _ACEOF
30318 rm -f conftest.$ac_objext conftest$ac_exeext
30319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30320 (eval $ac_link) 2>conftest.er1
30321 ac_status=$?
30322 grep -v '^ *+' conftest.er1 >conftest.err
30323 rm -f conftest.er1
30324 cat conftest.err >&5
30325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30326 (exit $ac_status); } &&
30327 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30329 (eval $ac_try) 2>&5
30330 ac_status=$?
30331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30332 (exit $ac_status); }; } &&
30333 { ac_try='test -s conftest$ac_exeext'
30334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30335 (eval $ac_try) 2>&5
30336 ac_status=$?
30337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30338 (exit $ac_status); }; }; then
30339 ac_cv_lib_posix_remove=yes
30340 else
30341 echo "$as_me: failed program was:" >&5
30342 sed 's/^/| /' conftest.$ac_ext >&5
30343
30344 ac_cv_lib_posix_remove=no
30345 fi
30346 rm -f conftest.err conftest.$ac_objext \
30347 conftest$ac_exeext conftest.$ac_ext
30348 LIBS=$ac_check_lib_save_LIBS
30349 fi
30350 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30351 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30352 if test $ac_cv_lib_posix_remove = yes; then
30353 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30354 fi
30355
30356 fi
30357
30358 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30359 echo "$as_me:$LINENO: checking for shmat" >&5
30360 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30361 if test "${ac_cv_func_shmat+set}" = set; then
30362 echo $ECHO_N "(cached) $ECHO_C" >&6
30363 else
30364 cat >conftest.$ac_ext <<_ACEOF
30365 /* confdefs.h. */
30366 _ACEOF
30367 cat confdefs.h >>conftest.$ac_ext
30368 cat >>conftest.$ac_ext <<_ACEOF
30369 /* end confdefs.h. */
30370 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30372 #define shmat innocuous_shmat
30373
30374 /* System header to define __stub macros and hopefully few prototypes,
30375 which can conflict with char shmat (); below.
30376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30377 <limits.h> exists even on freestanding compilers. */
30378
30379 #ifdef __STDC__
30380 # include <limits.h>
30381 #else
30382 # include <assert.h>
30383 #endif
30384
30385 #undef shmat
30386
30387 /* Override any gcc2 internal prototype to avoid an error. */
30388 #ifdef __cplusplus
30389 extern "C"
30390 {
30391 #endif
30392 /* We use char because int might match the return type of a gcc2
30393 builtin and then its argument prototype would still apply. */
30394 char shmat ();
30395 /* The GNU C library defines this for functions which it implements
30396 to always fail with ENOSYS. Some functions are actually named
30397 something starting with __ and the normal name is an alias. */
30398 #if defined (__stub_shmat) || defined (__stub___shmat)
30399 choke me
30400 #else
30401 char (*f) () = shmat;
30402 #endif
30403 #ifdef __cplusplus
30404 }
30405 #endif
30406
30407 int
30408 main ()
30409 {
30410 return f != shmat;
30411 ;
30412 return 0;
30413 }
30414 _ACEOF
30415 rm -f conftest.$ac_objext conftest$ac_exeext
30416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30417 (eval $ac_link) 2>conftest.er1
30418 ac_status=$?
30419 grep -v '^ *+' conftest.er1 >conftest.err
30420 rm -f conftest.er1
30421 cat conftest.err >&5
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); } &&
30424 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30426 (eval $ac_try) 2>&5
30427 ac_status=$?
30428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429 (exit $ac_status); }; } &&
30430 { ac_try='test -s conftest$ac_exeext'
30431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30432 (eval $ac_try) 2>&5
30433 ac_status=$?
30434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30435 (exit $ac_status); }; }; then
30436 ac_cv_func_shmat=yes
30437 else
30438 echo "$as_me: failed program was:" >&5
30439 sed 's/^/| /' conftest.$ac_ext >&5
30440
30441 ac_cv_func_shmat=no
30442 fi
30443 rm -f conftest.err conftest.$ac_objext \
30444 conftest$ac_exeext conftest.$ac_ext
30445 fi
30446 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30447 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30448
30449 if test $ac_cv_func_shmat = no; then
30450 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30451 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30452 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30453 echo $ECHO_N "(cached) $ECHO_C" >&6
30454 else
30455 ac_check_lib_save_LIBS=$LIBS
30456 LIBS="-lipc $LIBS"
30457 cat >conftest.$ac_ext <<_ACEOF
30458 /* confdefs.h. */
30459 _ACEOF
30460 cat confdefs.h >>conftest.$ac_ext
30461 cat >>conftest.$ac_ext <<_ACEOF
30462 /* end confdefs.h. */
30463
30464 /* Override any gcc2 internal prototype to avoid an error. */
30465 #ifdef __cplusplus
30466 extern "C"
30467 #endif
30468 /* We use char because int might match the return type of a gcc2
30469 builtin and then its argument prototype would still apply. */
30470 char shmat ();
30471 int
30472 main ()
30473 {
30474 shmat ();
30475 ;
30476 return 0;
30477 }
30478 _ACEOF
30479 rm -f conftest.$ac_objext conftest$ac_exeext
30480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30481 (eval $ac_link) 2>conftest.er1
30482 ac_status=$?
30483 grep -v '^ *+' conftest.er1 >conftest.err
30484 rm -f conftest.er1
30485 cat conftest.err >&5
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); } &&
30488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30490 (eval $ac_try) 2>&5
30491 ac_status=$?
30492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30493 (exit $ac_status); }; } &&
30494 { ac_try='test -s conftest$ac_exeext'
30495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30496 (eval $ac_try) 2>&5
30497 ac_status=$?
30498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30499 (exit $ac_status); }; }; then
30500 ac_cv_lib_ipc_shmat=yes
30501 else
30502 echo "$as_me: failed program was:" >&5
30503 sed 's/^/| /' conftest.$ac_ext >&5
30504
30505 ac_cv_lib_ipc_shmat=no
30506 fi
30507 rm -f conftest.err conftest.$ac_objext \
30508 conftest$ac_exeext conftest.$ac_ext
30509 LIBS=$ac_check_lib_save_LIBS
30510 fi
30511 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30512 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30513 if test $ac_cv_lib_ipc_shmat = yes; then
30514 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30515 fi
30516
30517 fi
30518 fi
30519
30520 # Check for libraries that X11R6 Xt/Xaw programs need.
30521 ac_save_LDFLAGS=$LDFLAGS
30522 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30523 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30524 # check for ICE first), but we must link in the order -lSM -lICE or
30525 # we get undefined symbols. So assume we have SM if we have ICE.
30526 # These have to be linked with before -lX11, unlike the other
30527 # libraries we check for below, so use a different variable.
30528 # John Interrante, Karl Berry
30529 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30530 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30531 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30532 echo $ECHO_N "(cached) $ECHO_C" >&6
30533 else
30534 ac_check_lib_save_LIBS=$LIBS
30535 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30536 cat >conftest.$ac_ext <<_ACEOF
30537 /* confdefs.h. */
30538 _ACEOF
30539 cat confdefs.h >>conftest.$ac_ext
30540 cat >>conftest.$ac_ext <<_ACEOF
30541 /* end confdefs.h. */
30542
30543 /* Override any gcc2 internal prototype to avoid an error. */
30544 #ifdef __cplusplus
30545 extern "C"
30546 #endif
30547 /* We use char because int might match the return type of a gcc2
30548 builtin and then its argument prototype would still apply. */
30549 char IceConnectionNumber ();
30550 int
30551 main ()
30552 {
30553 IceConnectionNumber ();
30554 ;
30555 return 0;
30556 }
30557 _ACEOF
30558 rm -f conftest.$ac_objext conftest$ac_exeext
30559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30560 (eval $ac_link) 2>conftest.er1
30561 ac_status=$?
30562 grep -v '^ *+' conftest.er1 >conftest.err
30563 rm -f conftest.er1
30564 cat conftest.err >&5
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); } &&
30567 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30569 (eval $ac_try) 2>&5
30570 ac_status=$?
30571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30572 (exit $ac_status); }; } &&
30573 { ac_try='test -s conftest$ac_exeext'
30574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30575 (eval $ac_try) 2>&5
30576 ac_status=$?
30577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30578 (exit $ac_status); }; }; then
30579 ac_cv_lib_ICE_IceConnectionNumber=yes
30580 else
30581 echo "$as_me: failed program was:" >&5
30582 sed 's/^/| /' conftest.$ac_ext >&5
30583
30584 ac_cv_lib_ICE_IceConnectionNumber=no
30585 fi
30586 rm -f conftest.err conftest.$ac_objext \
30587 conftest$ac_exeext conftest.$ac_ext
30588 LIBS=$ac_check_lib_save_LIBS
30589 fi
30590 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30591 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30592 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30593 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30594 fi
30595
30596 LDFLAGS=$ac_save_LDFLAGS
30597
30598 fi
30599
30600
30601 if test "$no_x" = "yes"; then
30602 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30603 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30604 { (exit 1); exit 1; }; }
30605 fi
30606
30607 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30608 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30609 AFMINSTALL=afminstall
30610 COMPILED_X_PROGRAM=0
30611
30612 fi
30613
30614 if test "$wxUSE_X11" = 1; then
30615 if test "$wxUSE_NANOX" = "yes"; then
30616 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30617 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30618 if test "x$MICROWIN" = x ; then
30619 echo "$as_me:$LINENO: result: not found" >&5
30620 echo "${ECHO_T}not found" >&6
30621 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30622 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30623 { (exit 1); exit 1; }; }
30624 else
30625 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30626 echo "${ECHO_T}$MICROWIN" >&6
30627 cat >>confdefs.h <<\_ACEOF
30628 #define wxUSE_NANOX 1
30629 _ACEOF
30630
30631 fi
30632 fi
30633
30634 if test "$wxUSE_UNICODE" = "yes"; then
30635
30636 pkg_failed=no
30637 echo "$as_me:$LINENO: checking for PANGOX" >&5
30638 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30639
30640 if test -n "$PKG_CONFIG"; then
30641 if test -n "$PANGOX_CFLAGS"; then
30642 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30643 else
30644 if test -n "$PKG_CONFIG" && \
30645 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30646 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30647 ac_status=$?
30648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30649 (exit $ac_status); }; then
30650 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30651 else
30652 pkg_failed=yes
30653 fi
30654 fi
30655 else
30656 pkg_failed=untried
30657 fi
30658 if test -n "$PKG_CONFIG"; then
30659 if test -n "$PANGOX_LIBS"; then
30660 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30661 else
30662 if test -n "$PKG_CONFIG" && \
30663 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30664 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30665 ac_status=$?
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); }; then
30668 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30669 else
30670 pkg_failed=yes
30671 fi
30672 fi
30673 else
30674 pkg_failed=untried
30675 fi
30676
30677
30678
30679 if test $pkg_failed = yes; then
30680
30681 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30682 _pkg_short_errors_supported=yes
30683 else
30684 _pkg_short_errors_supported=no
30685 fi
30686 if test $_pkg_short_errors_supported = yes; then
30687 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30688 else
30689 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30690 fi
30691 # Put the nasty error message in config.log where it belongs
30692 echo "$PANGOX_PKG_ERRORS" >&5
30693
30694
30695 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30696 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30697 { (exit 1); exit 1; }; }
30698
30699
30700 elif test $pkg_failed = untried; then
30701
30702 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30703 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30704 { (exit 1); exit 1; }; }
30705
30706
30707 else
30708 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30709 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30710 echo "$as_me:$LINENO: result: yes" >&5
30711 echo "${ECHO_T}yes" >&6
30712
30713 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30714 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30715
30716 fi
30717
30718 pkg_failed=no
30719 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30720 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30721
30722 if test -n "$PKG_CONFIG"; then
30723 if test -n "$PANGOFT2_CFLAGS"; then
30724 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30725 else
30726 if test -n "$PKG_CONFIG" && \
30727 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30728 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30729 ac_status=$?
30730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30731 (exit $ac_status); }; then
30732 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30733 else
30734 pkg_failed=yes
30735 fi
30736 fi
30737 else
30738 pkg_failed=untried
30739 fi
30740 if test -n "$PKG_CONFIG"; then
30741 if test -n "$PANGOFT2_LIBS"; then
30742 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30743 else
30744 if test -n "$PKG_CONFIG" && \
30745 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30746 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30747 ac_status=$?
30748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30749 (exit $ac_status); }; then
30750 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30751 else
30752 pkg_failed=yes
30753 fi
30754 fi
30755 else
30756 pkg_failed=untried
30757 fi
30758
30759
30760
30761 if test $pkg_failed = yes; then
30762
30763 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30764 _pkg_short_errors_supported=yes
30765 else
30766 _pkg_short_errors_supported=no
30767 fi
30768 if test $_pkg_short_errors_supported = yes; then
30769 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30770 else
30771 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30772 fi
30773 # Put the nasty error message in config.log where it belongs
30774 echo "$PANGOFT2_PKG_ERRORS" >&5
30775
30776
30777 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30778 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30779 wxUSE_PRINTING_ARCHITECTURE="no"
30780
30781
30782 elif test $pkg_failed = untried; then
30783
30784 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30785 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30786 wxUSE_PRINTING_ARCHITECTURE="no"
30787
30788
30789 else
30790 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30791 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30792 echo "$as_me:$LINENO: result: yes" >&5
30793 echo "${ECHO_T}yes" >&6
30794
30795 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30796 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30797
30798 fi
30799
30800 pkg_failed=no
30801 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30802 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30803
30804 if test -n "$PKG_CONFIG"; then
30805 if test -n "$PANGOXFT_CFLAGS"; then
30806 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30807 else
30808 if test -n "$PKG_CONFIG" && \
30809 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30810 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30811 ac_status=$?
30812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30813 (exit $ac_status); }; then
30814 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30815 else
30816 pkg_failed=yes
30817 fi
30818 fi
30819 else
30820 pkg_failed=untried
30821 fi
30822 if test -n "$PKG_CONFIG"; then
30823 if test -n "$PANGOXFT_LIBS"; then
30824 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30825 else
30826 if test -n "$PKG_CONFIG" && \
30827 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30828 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30829 ac_status=$?
30830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30831 (exit $ac_status); }; then
30832 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30833 else
30834 pkg_failed=yes
30835 fi
30836 fi
30837 else
30838 pkg_failed=untried
30839 fi
30840
30841
30842
30843 if test $pkg_failed = yes; then
30844
30845 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30846 _pkg_short_errors_supported=yes
30847 else
30848 _pkg_short_errors_supported=no
30849 fi
30850 if test $_pkg_short_errors_supported = yes; then
30851 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30852 else
30853 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30854 fi
30855 # Put the nasty error message in config.log where it belongs
30856 echo "$PANGOXFT_PKG_ERRORS" >&5
30857
30858
30859 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30860 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30861
30862
30863 elif test $pkg_failed = untried; then
30864
30865 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30866 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30867
30868
30869 else
30870 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30871 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30872 echo "$as_me:$LINENO: result: yes" >&5
30873 echo "${ECHO_T}yes" >&6
30874
30875 cat >>confdefs.h <<\_ACEOF
30876 #define HAVE_PANGO_XFT 1
30877 _ACEOF
30878
30879 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30880 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30881
30882 fi
30883 save_CXXFLAGS="$CXXFLAGS"
30884 save_LIBS="$LIBS"
30885 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30886 LIBS="$LIBS $PANGOX_LIBS"
30887
30888 for ac_func in pango_font_family_is_monospace
30889 do
30890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30891 echo "$as_me:$LINENO: checking for $ac_func" >&5
30892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30893 if eval "test \"\${$as_ac_var+set}\" = set"; then
30894 echo $ECHO_N "(cached) $ECHO_C" >&6
30895 else
30896 cat >conftest.$ac_ext <<_ACEOF
30897 /* confdefs.h. */
30898 _ACEOF
30899 cat confdefs.h >>conftest.$ac_ext
30900 cat >>conftest.$ac_ext <<_ACEOF
30901 /* end confdefs.h. */
30902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30904 #define $ac_func innocuous_$ac_func
30905
30906 /* System header to define __stub macros and hopefully few prototypes,
30907 which can conflict with char $ac_func (); below.
30908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30909 <limits.h> exists even on freestanding compilers. */
30910
30911 #ifdef __STDC__
30912 # include <limits.h>
30913 #else
30914 # include <assert.h>
30915 #endif
30916
30917 #undef $ac_func
30918
30919 /* Override any gcc2 internal prototype to avoid an error. */
30920 #ifdef __cplusplus
30921 extern "C"
30922 {
30923 #endif
30924 /* We use char because int might match the return type of a gcc2
30925 builtin and then its argument prototype would still apply. */
30926 char $ac_func ();
30927 /* The GNU C library defines this for functions which it implements
30928 to always fail with ENOSYS. Some functions are actually named
30929 something starting with __ and the normal name is an alias. */
30930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30931 choke me
30932 #else
30933 char (*f) () = $ac_func;
30934 #endif
30935 #ifdef __cplusplus
30936 }
30937 #endif
30938
30939 int
30940 main ()
30941 {
30942 return f != $ac_func;
30943 ;
30944 return 0;
30945 }
30946 _ACEOF
30947 rm -f conftest.$ac_objext conftest$ac_exeext
30948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30949 (eval $ac_link) 2>conftest.er1
30950 ac_status=$?
30951 grep -v '^ *+' conftest.er1 >conftest.err
30952 rm -f conftest.er1
30953 cat conftest.err >&5
30954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30955 (exit $ac_status); } &&
30956 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30958 (eval $ac_try) 2>&5
30959 ac_status=$?
30960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30961 (exit $ac_status); }; } &&
30962 { ac_try='test -s conftest$ac_exeext'
30963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30964 (eval $ac_try) 2>&5
30965 ac_status=$?
30966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967 (exit $ac_status); }; }; then
30968 eval "$as_ac_var=yes"
30969 else
30970 echo "$as_me: failed program was:" >&5
30971 sed 's/^/| /' conftest.$ac_ext >&5
30972
30973 eval "$as_ac_var=no"
30974 fi
30975 rm -f conftest.err conftest.$ac_objext \
30976 conftest$ac_exeext conftest.$ac_ext
30977 fi
30978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30980 if test `eval echo '${'$as_ac_var'}'` = yes; then
30981 cat >>confdefs.h <<_ACEOF
30982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30983 _ACEOF
30984
30985 fi
30986 done
30987
30988 CXXFLAGS="$save_CXXFLAGS"
30989 LIBS="$save_LIBS"
30990 fi
30991
30992 wxUSE_UNIVERSAL="yes"
30993
30994 if test "$wxUSE_NANOX" = "yes"; then
30995 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30996 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"
30997 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30998 else
30999 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31000 fi
31001
31002 TOOLKIT=X11
31003 GUIDIST=X11_DIST
31004 fi
31005
31006 if test "$wxUSE_MOTIF" = 1; then
31007 if test "$wxUSE_UNICODE" = "yes"; then
31008 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31009 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31010 { (exit 1); exit 1; }; }
31011 fi
31012
31013 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31014 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31015
31016 ac_find_includes=
31017 for ac_dir in $SEARCH_INCLUDE /usr/include;
31018 do
31019 if test -f "$ac_dir/Xm/Xm.h"; then
31020 ac_find_includes=$ac_dir
31021 break
31022 fi
31023 done
31024
31025 if test "$ac_find_includes" != "" ; then
31026 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31027 echo "${ECHO_T}found in $ac_find_includes" >&6
31028
31029 if test "x$ac_find_includes" = "x/usr/include"; then
31030 ac_path_to_include=""
31031 else
31032 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31033 result=$?
31034 if test $result = 0; then
31035 ac_path_to_include=""
31036 else
31037 ac_path_to_include=" -I$ac_find_includes"
31038 fi
31039 fi
31040
31041 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31042 else
31043 save_CXXFLAGS=$CXXFLAGS
31044 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31045
31046 cat >conftest.$ac_ext <<_ACEOF
31047 /* confdefs.h. */
31048 _ACEOF
31049 cat confdefs.h >>conftest.$ac_ext
31050 cat >>conftest.$ac_ext <<_ACEOF
31051 /* end confdefs.h. */
31052
31053 #include <Xm/Xm.h>
31054
31055 int
31056 main ()
31057 {
31058
31059 int version;
31060 version = xmUseVersion;
31061
31062 ;
31063 return 0;
31064 }
31065 _ACEOF
31066 rm -f conftest.$ac_objext
31067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31068 (eval $ac_compile) 2>conftest.er1
31069 ac_status=$?
31070 grep -v '^ *+' conftest.er1 >conftest.err
31071 rm -f conftest.er1
31072 cat conftest.err >&5
31073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31074 (exit $ac_status); } &&
31075 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31077 (eval $ac_try) 2>&5
31078 ac_status=$?
31079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31080 (exit $ac_status); }; } &&
31081 { ac_try='test -s conftest.$ac_objext'
31082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31083 (eval $ac_try) 2>&5
31084 ac_status=$?
31085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31086 (exit $ac_status); }; }; then
31087
31088 echo "$as_me:$LINENO: result: found in default search path" >&5
31089 echo "${ECHO_T}found in default search path" >&6
31090 COMPILED_X_PROGRAM=1
31091
31092 else
31093 echo "$as_me: failed program was:" >&5
31094 sed 's/^/| /' conftest.$ac_ext >&5
31095
31096
31097 echo "$as_me:$LINENO: result: no" >&5
31098 echo "${ECHO_T}no" >&6
31099 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31100 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31101 { (exit 1); exit 1; }; }
31102
31103
31104 fi
31105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31106
31107 CXXFLAGS=$save_CXXFLAGS
31108 fi
31109
31110
31111 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31112 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31113
31114 ac_find_libraries=
31115 for ac_dir in $SEARCH_LIB;
31116 do
31117 for ac_extension in a so sl dylib dll.a; do
31118 if test -f "$ac_dir/libXm.$ac_extension"; then
31119 ac_find_libraries=$ac_dir
31120 break 2
31121 fi
31122 done
31123 done
31124
31125
31126 if test "x$ac_find_libraries" != "x" ; then
31127 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31128 echo "${ECHO_T}found in $ac_find_libraries" >&6
31129
31130
31131 if test "$ac_find_libraries" = "default location"; then
31132 ac_path_to_link=""
31133 else
31134 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31135 result=$?
31136 if test $result = 0; then
31137 ac_path_to_link=""
31138 else
31139 ac_path_to_link=" -L$ac_find_libraries"
31140 fi
31141 fi
31142
31143 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31144 else
31145 save_CXXFLAGS=$CXXFLAGS
31146 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31147 save_LIBS="$LIBS"
31148 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31149
31150 cat >conftest.$ac_ext <<_ACEOF
31151 /* confdefs.h. */
31152 _ACEOF
31153 cat confdefs.h >>conftest.$ac_ext
31154 cat >>conftest.$ac_ext <<_ACEOF
31155 /* end confdefs.h. */
31156
31157 #include <Xm/Xm.h>
31158
31159 int
31160 main ()
31161 {
31162
31163 int version;
31164 version = xmUseVersion;
31165
31166 ;
31167 return 0;
31168 }
31169 _ACEOF
31170 rm -f conftest.$ac_objext conftest$ac_exeext
31171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31172 (eval $ac_link) 2>conftest.er1
31173 ac_status=$?
31174 grep -v '^ *+' conftest.er1 >conftest.err
31175 rm -f conftest.er1
31176 cat conftest.err >&5
31177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31178 (exit $ac_status); } &&
31179 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
31185 { ac_try='test -s conftest$ac_exeext'
31186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31187 (eval $ac_try) 2>&5
31188 ac_status=$?
31189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31190 (exit $ac_status); }; }; then
31191
31192 echo "$as_me:$LINENO: result: found in default search path" >&5
31193 echo "${ECHO_T}found in default search path" >&6
31194 COMPILED_X_PROGRAM=1
31195
31196 else
31197 echo "$as_me: failed program was:" >&5
31198 sed 's/^/| /' conftest.$ac_ext >&5
31199
31200
31201 echo "$as_me:$LINENO: result: no" >&5
31202 echo "${ECHO_T}no" >&6
31203 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31204 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31205 { (exit 1); exit 1; }; }
31206
31207
31208 fi
31209 rm -f conftest.err conftest.$ac_objext \
31210 conftest$ac_exeext conftest.$ac_ext
31211
31212 CXXFLAGS=$save_CXXFLAGS
31213 LIBS="$save_LIBS"
31214 fi
31215
31216 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31217 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31218 libp_link=""
31219 libsm_ice_link=""
31220 libs_found=0
31221 for libp in "" " -lXp"; do
31222 if test "$libs_found" = "0"; then
31223 for libsm_ice in "" " -lSM -lICE"; do
31224 if test "$libs_found" = "0"; then
31225 save_LIBS="$LIBS"
31226 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31227 save_CXXFLAGS=$CXXFLAGS
31228 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31229
31230 cat >conftest.$ac_ext <<_ACEOF
31231 /* confdefs.h. */
31232 _ACEOF
31233 cat confdefs.h >>conftest.$ac_ext
31234 cat >>conftest.$ac_ext <<_ACEOF
31235 /* end confdefs.h. */
31236
31237 #include <Xm/Xm.h>
31238 #include <Xm/List.h>
31239
31240 int
31241 main ()
31242 {
31243
31244 XmString string = NULL;
31245 Widget w = NULL;
31246 int position = 0;
31247 XmListAddItem(w, string, position);
31248
31249 ;
31250 return 0;
31251 }
31252 _ACEOF
31253 rm -f conftest.$ac_objext conftest$ac_exeext
31254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31255 (eval $ac_link) 2>conftest.er1
31256 ac_status=$?
31257 grep -v '^ *+' conftest.er1 >conftest.err
31258 rm -f conftest.er1
31259 cat conftest.err >&5
31260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261 (exit $ac_status); } &&
31262 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31264 (eval $ac_try) 2>&5
31265 ac_status=$?
31266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31267 (exit $ac_status); }; } &&
31268 { ac_try='test -s conftest$ac_exeext'
31269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31270 (eval $ac_try) 2>&5
31271 ac_status=$?
31272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31273 (exit $ac_status); }; }; then
31274
31275 libp_link="$libp"
31276 libsm_ice_link="$libsm_ice"
31277 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31278 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31279 libs_found=1
31280
31281 else
31282 echo "$as_me: failed program was:" >&5
31283 sed 's/^/| /' conftest.$ac_ext >&5
31284
31285
31286
31287 fi
31288 rm -f conftest.err conftest.$ac_objext \
31289 conftest$ac_exeext conftest.$ac_ext
31290
31291 LIBS="$save_LIBS"
31292 CXXFLAGS=$save_CXXFLAGS
31293 fi
31294 done
31295 fi
31296 done
31297
31298 if test "$libs_found" = "0"; then
31299 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31300 echo "${ECHO_T}can't find the right libraries" >&6
31301 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31302 echo "$as_me: error: can't link a simple motif program" >&2;}
31303 { (exit 1); exit 1; }; }
31304 fi
31305
31306 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31307 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31308 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31309 echo $ECHO_N "(cached) $ECHO_C" >&6
31310 else
31311 ac_check_lib_save_LIBS=$LIBS
31312 LIBS="-lSgm $LIBS"
31313 cat >conftest.$ac_ext <<_ACEOF
31314 /* confdefs.h. */
31315 _ACEOF
31316 cat confdefs.h >>conftest.$ac_ext
31317 cat >>conftest.$ac_ext <<_ACEOF
31318 /* end confdefs.h. */
31319
31320 /* Override any gcc2 internal prototype to avoid an error. */
31321 #ifdef __cplusplus
31322 extern "C"
31323 #endif
31324 /* We use char because int might match the return type of a gcc2
31325 builtin and then its argument prototype would still apply. */
31326 char SgCreateList ();
31327 int
31328 main ()
31329 {
31330 SgCreateList ();
31331 ;
31332 return 0;
31333 }
31334 _ACEOF
31335 rm -f conftest.$ac_objext conftest$ac_exeext
31336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31337 (eval $ac_link) 2>conftest.er1
31338 ac_status=$?
31339 grep -v '^ *+' conftest.er1 >conftest.err
31340 rm -f conftest.er1
31341 cat conftest.err >&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); } &&
31344 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31346 (eval $ac_try) 2>&5
31347 ac_status=$?
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); }; } &&
31350 { ac_try='test -s conftest$ac_exeext'
31351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31352 (eval $ac_try) 2>&5
31353 ac_status=$?
31354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31355 (exit $ac_status); }; }; then
31356 ac_cv_lib_Sgm_SgCreateList=yes
31357 else
31358 echo "$as_me: failed program was:" >&5
31359 sed 's/^/| /' conftest.$ac_ext >&5
31360
31361 ac_cv_lib_Sgm_SgCreateList=no
31362 fi
31363 rm -f conftest.err conftest.$ac_objext \
31364 conftest$ac_exeext conftest.$ac_ext
31365 LIBS=$ac_check_lib_save_LIBS
31366 fi
31367 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31368 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31369 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31370 libsgm_link=" -lSgm"
31371 fi
31372
31373
31374 save_CXXFLAGS=$CXXFLAGS
31375 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31376
31377 echo "$as_me:$LINENO: checking for Motif 2" >&5
31378 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31379 if test "${wx_cv_lib_motif2+set}" = set; then
31380 echo $ECHO_N "(cached) $ECHO_C" >&6
31381 else
31382 cat >conftest.$ac_ext <<_ACEOF
31383 /* confdefs.h. */
31384 _ACEOF
31385 cat confdefs.h >>conftest.$ac_ext
31386 cat >>conftest.$ac_ext <<_ACEOF
31387 /* end confdefs.h. */
31388
31389 #include <Xm/Xm.h>
31390
31391 int
31392 main ()
31393 {
31394
31395 #if XmVersion < 2000
31396 Not Motif 2
31397 #endif
31398
31399 ;
31400 return 0;
31401 }
31402 _ACEOF
31403 rm -f conftest.$ac_objext
31404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31405 (eval $ac_compile) 2>conftest.er1
31406 ac_status=$?
31407 grep -v '^ *+' conftest.er1 >conftest.err
31408 rm -f conftest.er1
31409 cat conftest.err >&5
31410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31411 (exit $ac_status); } &&
31412 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31414 (eval $ac_try) 2>&5
31415 ac_status=$?
31416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31417 (exit $ac_status); }; } &&
31418 { ac_try='test -s conftest.$ac_objext'
31419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31420 (eval $ac_try) 2>&5
31421 ac_status=$?
31422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31423 (exit $ac_status); }; }; then
31424 wx_cv_lib_motif2="yes"
31425 else
31426 echo "$as_me: failed program was:" >&5
31427 sed 's/^/| /' conftest.$ac_ext >&5
31428
31429 wx_cv_lib_motif2="no"
31430 fi
31431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31432 fi
31433 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31434 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31435 if test "$wx_cv_lib_motif2" = "yes"; then
31436 cat >>confdefs.h <<\_ACEOF
31437 #define __WXMOTIF20__ 1
31438 _ACEOF
31439
31440 else
31441 cat >>confdefs.h <<\_ACEOF
31442 #define __WXMOTIF20__ 0
31443 _ACEOF
31444
31445 fi
31446
31447 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31448 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31449 if test "${wx_cv_lib_lesstif+set}" = set; then
31450 echo $ECHO_N "(cached) $ECHO_C" >&6
31451 else
31452 cat >conftest.$ac_ext <<_ACEOF
31453 /* confdefs.h. */
31454 _ACEOF
31455 cat confdefs.h >>conftest.$ac_ext
31456 cat >>conftest.$ac_ext <<_ACEOF
31457 /* end confdefs.h. */
31458
31459 #include <Xm/Xm.h>
31460
31461 int
31462 main ()
31463 {
31464
31465 #if !defined(LesstifVersion) || LesstifVersion <= 0
31466 Not Lesstif
31467 #endif
31468
31469 ;
31470 return 0;
31471 }
31472 _ACEOF
31473 rm -f conftest.$ac_objext
31474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31475 (eval $ac_compile) 2>conftest.er1
31476 ac_status=$?
31477 grep -v '^ *+' conftest.er1 >conftest.err
31478 rm -f conftest.er1
31479 cat conftest.err >&5
31480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31481 (exit $ac_status); } &&
31482 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31484 (eval $ac_try) 2>&5
31485 ac_status=$?
31486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31487 (exit $ac_status); }; } &&
31488 { ac_try='test -s conftest.$ac_objext'
31489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31490 (eval $ac_try) 2>&5
31491 ac_status=$?
31492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31493 (exit $ac_status); }; }; then
31494 wx_cv_lib_lesstif="yes"
31495 else
31496 echo "$as_me: failed program was:" >&5
31497 sed 's/^/| /' conftest.$ac_ext >&5
31498
31499 wx_cv_lib_lesstif="no"
31500 fi
31501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31502
31503 fi
31504 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31505 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31506 if test "$wx_cv_lib_lesstif" = "yes"; then
31507 cat >>confdefs.h <<\_ACEOF
31508 #define __WXLESSTIF__ 1
31509 _ACEOF
31510
31511 else
31512 cat >>confdefs.h <<\_ACEOF
31513 #define __WXLESSTIF__ 0
31514 _ACEOF
31515
31516 fi
31517
31518 CXXFLAGS=$save_CXXFLAGS
31519
31520 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31521 TOOLKIT=MOTIF
31522 GUIDIST=MOTIF_DIST
31523 fi
31524
31525 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31526 if test "$wxUSE_LIBXPM" = "sys"; then
31527 echo "$as_me:$LINENO: checking for Xpm library" >&5
31528 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31529
31530 ac_find_libraries=
31531 for ac_dir in $SEARCH_LIB;
31532 do
31533 for ac_extension in a so sl dylib dll.a; do
31534 if test -f "$ac_dir/libXpm.$ac_extension"; then
31535 ac_find_libraries=$ac_dir
31536 break 2
31537 fi
31538 done
31539 done
31540
31541 if test "$ac_find_libraries" != "" ; then
31542
31543 if test "$ac_find_libraries" = "default location"; then
31544 ac_path_to_link=""
31545 else
31546 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31547 result=$?
31548 if test $result = 0; then
31549 ac_path_to_link=""
31550 else
31551 ac_path_to_link=" -L$ac_find_libraries"
31552 fi
31553 fi
31554
31555 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31556 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31557 echo "${ECHO_T}found in $ac_find_libraries" >&6
31558
31559 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31560 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31561 if test "${wx_cv_x11_xpm_h+set}" = set; then
31562 echo $ECHO_N "(cached) $ECHO_C" >&6
31563 else
31564
31565 save_CXXFLAGS=$CXXFLAGS
31566 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31567
31568 cat >conftest.$ac_ext <<_ACEOF
31569 /* confdefs.h. */
31570 _ACEOF
31571 cat confdefs.h >>conftest.$ac_ext
31572 cat >>conftest.$ac_ext <<_ACEOF
31573 /* end confdefs.h. */
31574
31575 #include <X11/xpm.h>
31576
31577 int
31578 main ()
31579 {
31580
31581 int version;
31582 version = XpmLibraryVersion();
31583
31584 ;
31585 return 0;
31586 }
31587 _ACEOF
31588 rm -f conftest.$ac_objext
31589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31590 (eval $ac_compile) 2>conftest.er1
31591 ac_status=$?
31592 grep -v '^ *+' conftest.er1 >conftest.err
31593 rm -f conftest.er1
31594 cat conftest.err >&5
31595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31596 (exit $ac_status); } &&
31597 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31599 (eval $ac_try) 2>&5
31600 ac_status=$?
31601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31602 (exit $ac_status); }; } &&
31603 { ac_try='test -s conftest.$ac_objext'
31604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31605 (eval $ac_try) 2>&5
31606 ac_status=$?
31607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608 (exit $ac_status); }; }; then
31609 wx_cv_x11_xpm_h=yes
31610 else
31611 echo "$as_me: failed program was:" >&5
31612 sed 's/^/| /' conftest.$ac_ext >&5
31613
31614 wx_cv_x11_xpm_h=no
31615
31616 fi
31617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31618
31619 CXXFLAGS=$save_CXXFLAGS
31620
31621
31622 fi
31623 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31624 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31625
31626 if test $wx_cv_x11_xpm_h = "yes"; then
31627 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31628 cat >>confdefs.h <<\_ACEOF
31629 #define wxHAVE_LIB_XPM 1
31630 _ACEOF
31631
31632 else
31633 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31634 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31635 fi
31636 fi
31637
31638 fi
31639
31640 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31641 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31642 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31643 echo $ECHO_N "(cached) $ECHO_C" >&6
31644 else
31645 ac_check_lib_save_LIBS=$LIBS
31646 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31647 cat >conftest.$ac_ext <<_ACEOF
31648 /* confdefs.h. */
31649 _ACEOF
31650 cat confdefs.h >>conftest.$ac_ext
31651 cat >>conftest.$ac_ext <<_ACEOF
31652 /* end confdefs.h. */
31653
31654 /* Override any gcc2 internal prototype to avoid an error. */
31655 #ifdef __cplusplus
31656 extern "C"
31657 #endif
31658 /* We use char because int might match the return type of a gcc2
31659 builtin and then its argument prototype would still apply. */
31660 char XShapeQueryExtension ();
31661 int
31662 main ()
31663 {
31664 XShapeQueryExtension ();
31665 ;
31666 return 0;
31667 }
31668 _ACEOF
31669 rm -f conftest.$ac_objext conftest$ac_exeext
31670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31671 (eval $ac_link) 2>conftest.er1
31672 ac_status=$?
31673 grep -v '^ *+' conftest.er1 >conftest.err
31674 rm -f conftest.er1
31675 cat conftest.err >&5
31676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31677 (exit $ac_status); } &&
31678 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31680 (eval $ac_try) 2>&5
31681 ac_status=$?
31682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31683 (exit $ac_status); }; } &&
31684 { ac_try='test -s conftest$ac_exeext'
31685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31686 (eval $ac_try) 2>&5
31687 ac_status=$?
31688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31689 (exit $ac_status); }; }; then
31690 ac_cv_lib_Xext_XShapeQueryExtension=yes
31691 else
31692 echo "$as_me: failed program was:" >&5
31693 sed 's/^/| /' conftest.$ac_ext >&5
31694
31695 ac_cv_lib_Xext_XShapeQueryExtension=no
31696 fi
31697 rm -f conftest.err conftest.$ac_objext \
31698 conftest$ac_exeext conftest.$ac_ext
31699 LIBS=$ac_check_lib_save_LIBS
31700 fi
31701 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31702 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31703 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31704
31705 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31706 wxHAVE_XEXT_LIB=1
31707
31708 fi
31709
31710
31711 if test "$wxHAVE_XEXT_LIB" = 1; then
31712 save_CXXFLAGS="$CXXFLAGS"
31713 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31714
31715 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31716 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31717 cat >conftest.$ac_ext <<_ACEOF
31718 /* confdefs.h. */
31719 _ACEOF
31720 cat confdefs.h >>conftest.$ac_ext
31721 cat >>conftest.$ac_ext <<_ACEOF
31722 /* end confdefs.h. */
31723
31724 #include <X11/Xlib.h>
31725 #include <X11/extensions/shape.h>
31726
31727 int
31728 main ()
31729 {
31730
31731 int dummy1, dummy2;
31732 XShapeQueryExtension((Display*)NULL,
31733 (int*)NULL, (int*)NULL);
31734
31735 ;
31736 return 0;
31737 }
31738 _ACEOF
31739 rm -f conftest.$ac_objext
31740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31741 (eval $ac_compile) 2>conftest.er1
31742 ac_status=$?
31743 grep -v '^ *+' conftest.er1 >conftest.err
31744 rm -f conftest.er1
31745 cat conftest.err >&5
31746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31747 (exit $ac_status); } &&
31748 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31750 (eval $ac_try) 2>&5
31751 ac_status=$?
31752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31753 (exit $ac_status); }; } &&
31754 { ac_try='test -s conftest.$ac_objext'
31755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31756 (eval $ac_try) 2>&5
31757 ac_status=$?
31758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31759 (exit $ac_status); }; }; then
31760
31761 cat >>confdefs.h <<\_ACEOF
31762 #define HAVE_XSHAPE 1
31763 _ACEOF
31764
31765 echo "$as_me:$LINENO: result: found" >&5
31766 echo "${ECHO_T}found" >&6
31767
31768 else
31769 echo "$as_me: failed program was:" >&5
31770 sed 's/^/| /' conftest.$ac_ext >&5
31771
31772
31773 echo "$as_me:$LINENO: result: not found" >&5
31774 echo "${ECHO_T}not found" >&6
31775
31776 fi
31777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31778 CXXFLAGS="$save_CXXFLAGS"
31779
31780 fi
31781 fi
31782
31783 if test "$wxUSE_MAC" = 1; then
31784 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31785 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31786 if test "$GCC" = yes; then
31787 echo "$as_me:$LINENO: result: gcc" >&5
31788 echo "${ECHO_T}gcc" >&6
31789 CPPFLAGS_PASCAL="-fpascal-strings"
31790 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31791 echo "$as_me:$LINENO: result: xlc" >&5
31792 echo "${ECHO_T}xlc" >&6
31793 CPPFLAGS_PASCAL="-qmacpstr"
31794 else
31795 echo "$as_me:$LINENO: result: none" >&5
31796 echo "${ECHO_T}none" >&6
31797 fi
31798
31799 if test "x$wxUSE_UNIX" = "xyes"; then
31800 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31801 else
31802 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31803 fi
31804
31805 TOOLKIT=MAC
31806 GUIDIST=MACX_DIST
31807 WXBASEPORT="_carbon"
31808 fi
31809
31810 if test "$wxUSE_COCOA" = 1; then
31811 TOOLKIT=COCOA
31812 GUIDIST=COCOA_DIST
31813 fi
31814
31815 if test "$wxUSE_PM" = 1; then
31816 TOOLKIT=PM
31817 GUIDIST=PM_DIST
31818 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31819 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31820 if test "${wx_cv_spbcdata+set}" = set; then
31821 echo $ECHO_N "(cached) $ECHO_C" >&6
31822 else
31823
31824 cat >conftest.$ac_ext <<_ACEOF
31825 /* confdefs.h. */
31826 _ACEOF
31827 cat confdefs.h >>conftest.$ac_ext
31828 cat >>conftest.$ac_ext <<_ACEOF
31829 /* end confdefs.h. */
31830
31831 #define INCL_PM
31832 #include <os2.h>
31833
31834 int
31835 main ()
31836 {
31837
31838 SPBCDATA test;
31839
31840 ;
31841 return 0;
31842 }
31843 _ACEOF
31844 rm -f conftest.$ac_objext
31845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31846 (eval $ac_compile) 2>conftest.er1
31847 ac_status=$?
31848 grep -v '^ *+' conftest.er1 >conftest.err
31849 rm -f conftest.er1
31850 cat conftest.err >&5
31851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31852 (exit $ac_status); } &&
31853 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31855 (eval $ac_try) 2>&5
31856 ac_status=$?
31857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31858 (exit $ac_status); }; } &&
31859 { ac_try='test -s conftest.$ac_objext'
31860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31861 (eval $ac_try) 2>&5
31862 ac_status=$?
31863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31864 (exit $ac_status); }; }; then
31865 wx_cv_spbcdata=yes
31866 else
31867 echo "$as_me: failed program was:" >&5
31868 sed 's/^/| /' conftest.$ac_ext >&5
31869
31870 wx_cv_spbcdata=no
31871
31872 fi
31873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31874
31875
31876 fi
31877 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31878 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31879
31880 if test $wx_cv_spbcdata = "yes"; then
31881 cat >>confdefs.h <<\_ACEOF
31882 #define HAVE_SPBCDATA 1
31883 _ACEOF
31884
31885 fi
31886 fi
31887
31888 if test "$TOOLKIT" = "PM" ; then
31889 TOOLKIT_DIR="os2"
31890 else
31891 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31892 fi
31893
31894 if test "$wxUSE_UNIVERSAL" = "yes"; then
31895 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31896 WIDGET_SET=univ
31897 fi
31898
31899 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31900 DISTDIR="wx\$(TOOLKIT)"
31901 else
31902 USE_GUI=0
31903
31904 TOOLKIT_DIR="base"
31905
31906 if test "$USE_WIN32" = 1 ; then
31907 TOOLKIT="MSW"
31908 fi
31909
31910 GUIDIST="BASE_DIST"
31911 DISTDIR="wxBase"
31912 fi
31913
31914
31915 if test "$wxUSE_GUI" = "yes"; then
31916 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31917
31918 for ac_header in X11/Xlib.h
31919 do
31920 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31921 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31922 echo "$as_me:$LINENO: checking for $ac_header" >&5
31923 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31924 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31925 echo $ECHO_N "(cached) $ECHO_C" >&6
31926 fi
31927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31928 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31929 else
31930 # Is the header compilable?
31931 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31932 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31933 cat >conftest.$ac_ext <<_ACEOF
31934 /* confdefs.h. */
31935 _ACEOF
31936 cat confdefs.h >>conftest.$ac_ext
31937 cat >>conftest.$ac_ext <<_ACEOF
31938 /* end confdefs.h. */
31939 $ac_includes_default
31940 #include <$ac_header>
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 ac_header_compiler=yes
31964 else
31965 echo "$as_me: failed program was:" >&5
31966 sed 's/^/| /' conftest.$ac_ext >&5
31967
31968 ac_header_compiler=no
31969 fi
31970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31972 echo "${ECHO_T}$ac_header_compiler" >&6
31973
31974 # Is the header present?
31975 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31976 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31977 cat >conftest.$ac_ext <<_ACEOF
31978 /* confdefs.h. */
31979 _ACEOF
31980 cat confdefs.h >>conftest.$ac_ext
31981 cat >>conftest.$ac_ext <<_ACEOF
31982 /* end confdefs.h. */
31983 #include <$ac_header>
31984 _ACEOF
31985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31986 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31987 ac_status=$?
31988 grep -v '^ *+' conftest.er1 >conftest.err
31989 rm -f conftest.er1
31990 cat conftest.err >&5
31991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31992 (exit $ac_status); } >/dev/null; then
31993 if test -s conftest.err; then
31994 ac_cpp_err=$ac_cxx_preproc_warn_flag
31995 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31996 else
31997 ac_cpp_err=
31998 fi
31999 else
32000 ac_cpp_err=yes
32001 fi
32002 if test -z "$ac_cpp_err"; then
32003 ac_header_preproc=yes
32004 else
32005 echo "$as_me: failed program was:" >&5
32006 sed 's/^/| /' conftest.$ac_ext >&5
32007
32008 ac_header_preproc=no
32009 fi
32010 rm -f conftest.err conftest.$ac_ext
32011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32012 echo "${ECHO_T}$ac_header_preproc" >&6
32013
32014 # So? What about this header?
32015 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32016 yes:no: )
32017 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32018 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32019 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32020 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32021 ac_header_preproc=yes
32022 ;;
32023 no:yes:* )
32024 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32025 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32026 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32027 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32028 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32029 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32030 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32031 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32033 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32034 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32035 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32036 (
32037 cat <<\_ASBOX
32038 ## ----------------------------------------- ##
32039 ## Report this to wx-dev@lists.wxwidgets.org ##
32040 ## ----------------------------------------- ##
32041 _ASBOX
32042 ) |
32043 sed "s/^/$as_me: WARNING: /" >&2
32044 ;;
32045 esac
32046 echo "$as_me:$LINENO: checking for $ac_header" >&5
32047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32049 echo $ECHO_N "(cached) $ECHO_C" >&6
32050 else
32051 eval "$as_ac_Header=\$ac_header_preproc"
32052 fi
32053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32055
32056 fi
32057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32058 cat >>confdefs.h <<_ACEOF
32059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32060 _ACEOF
32061
32062 fi
32063
32064 done
32065
32066
32067 for ac_header in X11/XKBlib.h
32068 do
32069 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32070 echo "$as_me:$LINENO: checking for $ac_header" >&5
32071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32073 echo $ECHO_N "(cached) $ECHO_C" >&6
32074 else
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
32082 #if HAVE_X11_XLIB_H
32083 #include <X11/Xlib.h>
32084 #endif
32085
32086
32087 #include <$ac_header>
32088 _ACEOF
32089 rm -f conftest.$ac_objext
32090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32091 (eval $ac_compile) 2>conftest.er1
32092 ac_status=$?
32093 grep -v '^ *+' conftest.er1 >conftest.err
32094 rm -f conftest.er1
32095 cat conftest.err >&5
32096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32097 (exit $ac_status); } &&
32098 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32100 (eval $ac_try) 2>&5
32101 ac_status=$?
32102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 (exit $ac_status); }; } &&
32104 { ac_try='test -s conftest.$ac_objext'
32105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32106 (eval $ac_try) 2>&5
32107 ac_status=$?
32108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32109 (exit $ac_status); }; }; then
32110 eval "$as_ac_Header=yes"
32111 else
32112 echo "$as_me: failed program was:" >&5
32113 sed 's/^/| /' conftest.$ac_ext >&5
32114
32115 eval "$as_ac_Header=no"
32116 fi
32117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32118 fi
32119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32122 cat >>confdefs.h <<_ACEOF
32123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32124 _ACEOF
32125
32126 fi
32127
32128 done
32129
32130 fi
32131 fi
32132
32133
32134
32135 IODBC_C_SRC=""
32136
32137
32138 if test "$TOOLKIT" != "MSW" ; then
32139
32140 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32141
32142 if test "${ac_cv_header_sql_h+set}" = set; then
32143 echo "$as_me:$LINENO: checking for sql.h" >&5
32144 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32145 if test "${ac_cv_header_sql_h+set}" = set; then
32146 echo $ECHO_N "(cached) $ECHO_C" >&6
32147 fi
32148 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32149 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32150 else
32151 # Is the header compilable?
32152 echo "$as_me:$LINENO: checking sql.h usability" >&5
32153 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32154 cat >conftest.$ac_ext <<_ACEOF
32155 /* confdefs.h. */
32156 _ACEOF
32157 cat confdefs.h >>conftest.$ac_ext
32158 cat >>conftest.$ac_ext <<_ACEOF
32159 /* end confdefs.h. */
32160 $ac_includes_default
32161 #include <sql.h>
32162 _ACEOF
32163 rm -f conftest.$ac_objext
32164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32165 (eval $ac_compile) 2>conftest.er1
32166 ac_status=$?
32167 grep -v '^ *+' conftest.er1 >conftest.err
32168 rm -f conftest.er1
32169 cat conftest.err >&5
32170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32171 (exit $ac_status); } &&
32172 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32174 (eval $ac_try) 2>&5
32175 ac_status=$?
32176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32177 (exit $ac_status); }; } &&
32178 { ac_try='test -s conftest.$ac_objext'
32179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32180 (eval $ac_try) 2>&5
32181 ac_status=$?
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); }; }; then
32184 ac_header_compiler=yes
32185 else
32186 echo "$as_me: failed program was:" >&5
32187 sed 's/^/| /' conftest.$ac_ext >&5
32188
32189 ac_header_compiler=no
32190 fi
32191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32192 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32193 echo "${ECHO_T}$ac_header_compiler" >&6
32194
32195 # Is the header present?
32196 echo "$as_me:$LINENO: checking sql.h presence" >&5
32197 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32198 cat >conftest.$ac_ext <<_ACEOF
32199 /* confdefs.h. */
32200 _ACEOF
32201 cat confdefs.h >>conftest.$ac_ext
32202 cat >>conftest.$ac_ext <<_ACEOF
32203 /* end confdefs.h. */
32204 #include <sql.h>
32205 _ACEOF
32206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32208 ac_status=$?
32209 grep -v '^ *+' conftest.er1 >conftest.err
32210 rm -f conftest.er1
32211 cat conftest.err >&5
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); } >/dev/null; then
32214 if test -s conftest.err; then
32215 ac_cpp_err=$ac_cxx_preproc_warn_flag
32216 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32217 else
32218 ac_cpp_err=
32219 fi
32220 else
32221 ac_cpp_err=yes
32222 fi
32223 if test -z "$ac_cpp_err"; then
32224 ac_header_preproc=yes
32225 else
32226 echo "$as_me: failed program was:" >&5
32227 sed 's/^/| /' conftest.$ac_ext >&5
32228
32229 ac_header_preproc=no
32230 fi
32231 rm -f conftest.err conftest.$ac_ext
32232 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32233 echo "${ECHO_T}$ac_header_preproc" >&6
32234
32235 # So? What about this header?
32236 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32237 yes:no: )
32238 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32239 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32240 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32241 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32242 ac_header_preproc=yes
32243 ;;
32244 no:yes:* )
32245 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32246 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32247 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32248 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32249 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32250 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32251 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32252 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32253 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32254 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32255 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32256 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32257 (
32258 cat <<\_ASBOX
32259 ## ----------------------------------------- ##
32260 ## Report this to wx-dev@lists.wxwidgets.org ##
32261 ## ----------------------------------------- ##
32262 _ASBOX
32263 ) |
32264 sed "s/^/$as_me: WARNING: /" >&2
32265 ;;
32266 esac
32267 echo "$as_me:$LINENO: checking for sql.h" >&5
32268 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32269 if test "${ac_cv_header_sql_h+set}" = set; then
32270 echo $ECHO_N "(cached) $ECHO_C" >&6
32271 else
32272 ac_cv_header_sql_h=$ac_header_preproc
32273 fi
32274 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32275 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32276
32277 fi
32278 if test $ac_cv_header_sql_h = yes; then
32279 found_sql_h=1
32280 fi
32281
32282
32283 if test "x$found_sql_h" = "x1" ; then
32284 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32285 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32286 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32287 echo $ECHO_N "(cached) $ECHO_C" >&6
32288 else
32289 ac_check_lib_save_LIBS=$LIBS
32290 LIBS="-liodbc $LIBS"
32291 cat >conftest.$ac_ext <<_ACEOF
32292 /* confdefs.h. */
32293 _ACEOF
32294 cat confdefs.h >>conftest.$ac_ext
32295 cat >>conftest.$ac_ext <<_ACEOF
32296 /* end confdefs.h. */
32297
32298 /* Override any gcc2 internal prototype to avoid an error. */
32299 #ifdef __cplusplus
32300 extern "C"
32301 #endif
32302 /* We use char because int might match the return type of a gcc2
32303 builtin and then its argument prototype would still apply. */
32304 char SQLAllocEnv ();
32305 int
32306 main ()
32307 {
32308 SQLAllocEnv ();
32309 ;
32310 return 0;
32311 }
32312 _ACEOF
32313 rm -f conftest.$ac_objext conftest$ac_exeext
32314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32315 (eval $ac_link) 2>conftest.er1
32316 ac_status=$?
32317 grep -v '^ *+' conftest.er1 >conftest.err
32318 rm -f conftest.er1
32319 cat conftest.err >&5
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); } &&
32322 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32324 (eval $ac_try) 2>&5
32325 ac_status=$?
32326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32327 (exit $ac_status); }; } &&
32328 { ac_try='test -s conftest$ac_exeext'
32329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32330 (eval $ac_try) 2>&5
32331 ac_status=$?
32332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32333 (exit $ac_status); }; }; then
32334 ac_cv_lib_iodbc_SQLAllocEnv=yes
32335 else
32336 echo "$as_me: failed program was:" >&5
32337 sed 's/^/| /' conftest.$ac_ext >&5
32338
32339 ac_cv_lib_iodbc_SQLAllocEnv=no
32340 fi
32341 rm -f conftest.err conftest.$ac_objext \
32342 conftest$ac_exeext conftest.$ac_ext
32343 LIBS=$ac_check_lib_save_LIBS
32344 fi
32345 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32346 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32347 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32348 ODBC_LINK=" -liodbc"
32349 else
32350
32351 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32352 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32353 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32354 echo $ECHO_N "(cached) $ECHO_C" >&6
32355 else
32356 ac_check_lib_save_LIBS=$LIBS
32357 LIBS="-lunixodbc $LIBS"
32358 cat >conftest.$ac_ext <<_ACEOF
32359 /* confdefs.h. */
32360 _ACEOF
32361 cat confdefs.h >>conftest.$ac_ext
32362 cat >>conftest.$ac_ext <<_ACEOF
32363 /* end confdefs.h. */
32364
32365 /* Override any gcc2 internal prototype to avoid an error. */
32366 #ifdef __cplusplus
32367 extern "C"
32368 #endif
32369 /* We use char because int might match the return type of a gcc2
32370 builtin and then its argument prototype would still apply. */
32371 char SQLAllocEnv ();
32372 int
32373 main ()
32374 {
32375 SQLAllocEnv ();
32376 ;
32377 return 0;
32378 }
32379 _ACEOF
32380 rm -f conftest.$ac_objext conftest$ac_exeext
32381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32382 (eval $ac_link) 2>conftest.er1
32383 ac_status=$?
32384 grep -v '^ *+' conftest.er1 >conftest.err
32385 rm -f conftest.er1
32386 cat conftest.err >&5
32387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32388 (exit $ac_status); } &&
32389 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32391 (eval $ac_try) 2>&5
32392 ac_status=$?
32393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32394 (exit $ac_status); }; } &&
32395 { ac_try='test -s conftest$ac_exeext'
32396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32397 (eval $ac_try) 2>&5
32398 ac_status=$?
32399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32400 (exit $ac_status); }; }; then
32401 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32402 else
32403 echo "$as_me: failed program was:" >&5
32404 sed 's/^/| /' conftest.$ac_ext >&5
32405
32406 ac_cv_lib_unixodbc_SQLAllocEnv=no
32407 fi
32408 rm -f conftest.err conftest.$ac_objext \
32409 conftest$ac_exeext conftest.$ac_ext
32410 LIBS=$ac_check_lib_save_LIBS
32411 fi
32412 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32413 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32414 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32415 ODBC_LINK=" -lunixodbc"
32416 else
32417
32418 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32419 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32420 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32421 echo $ECHO_N "(cached) $ECHO_C" >&6
32422 else
32423 ac_check_lib_save_LIBS=$LIBS
32424 LIBS="-lodbc $LIBS"
32425 cat >conftest.$ac_ext <<_ACEOF
32426 /* confdefs.h. */
32427 _ACEOF
32428 cat confdefs.h >>conftest.$ac_ext
32429 cat >>conftest.$ac_ext <<_ACEOF
32430 /* end confdefs.h. */
32431
32432 /* Override any gcc2 internal prototype to avoid an error. */
32433 #ifdef __cplusplus
32434 extern "C"
32435 #endif
32436 /* We use char because int might match the return type of a gcc2
32437 builtin and then its argument prototype would still apply. */
32438 char SQLAllocEnv ();
32439 int
32440 main ()
32441 {
32442 SQLAllocEnv ();
32443 ;
32444 return 0;
32445 }
32446 _ACEOF
32447 rm -f conftest.$ac_objext conftest$ac_exeext
32448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32449 (eval $ac_link) 2>conftest.er1
32450 ac_status=$?
32451 grep -v '^ *+' conftest.er1 >conftest.err
32452 rm -f conftest.er1
32453 cat conftest.err >&5
32454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32455 (exit $ac_status); } &&
32456 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32458 (eval $ac_try) 2>&5
32459 ac_status=$?
32460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32461 (exit $ac_status); }; } &&
32462 { ac_try='test -s conftest$ac_exeext'
32463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32464 (eval $ac_try) 2>&5
32465 ac_status=$?
32466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32467 (exit $ac_status); }; }; then
32468 ac_cv_lib_odbc_SQLAllocEnv=yes
32469 else
32470 echo "$as_me: failed program was:" >&5
32471 sed 's/^/| /' conftest.$ac_ext >&5
32472
32473 ac_cv_lib_odbc_SQLAllocEnv=no
32474 fi
32475 rm -f conftest.err conftest.$ac_objext \
32476 conftest$ac_exeext conftest.$ac_ext
32477 LIBS=$ac_check_lib_save_LIBS
32478 fi
32479 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32480 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32481 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32482 ODBC_LINK=" -lodbc"
32483 fi
32484
32485
32486 fi
32487
32488
32489 fi
32490
32491 fi
32492 if test "x$ODBC_LINK" = "x" ; then
32493 if test "$wxUSE_ODBC" = "sys" ; then
32494 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32495 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32496 { (exit 1); exit 1; }; }
32497 else
32498 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32499 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32500 wxUSE_ODBC=builtin
32501 fi
32502 else
32503 wxUSE_ODBC=sys
32504 fi
32505 fi
32506
32507 if test "$wxUSE_ODBC" = "builtin" ; then
32508 cat >>confdefs.h <<\_ACEOF
32509 #define wxUSE_BUILTIN_IODBC 1
32510 _ACEOF
32511
32512 fi
32513 fi
32514
32515 if test "$wxUSE_ODBC" != "no" ; then
32516 cat >>confdefs.h <<\_ACEOF
32517 #define wxUSE_ODBC 1
32518 _ACEOF
32519
32520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32521
32522 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32523 fi
32524
32525
32526 if test "$wxUSE_DISPLAY" = "yes"; then
32527 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32528 echo "$as_me:$LINENO: checking for Xinerama" >&5
32529 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32530
32531 ac_find_libraries=
32532 for ac_dir in $SEARCH_LIB;
32533 do
32534 for ac_extension in a so sl dylib dll.a; do
32535 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32536 ac_find_libraries=$ac_dir
32537 break 2
32538 fi
32539 done
32540 done
32541
32542 if test "$ac_find_libraries" != "" ; then
32543
32544 if test "$ac_find_libraries" = "default location"; then
32545 ac_path_to_link=""
32546 else
32547 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32548 result=$?
32549 if test $result = 0; then
32550 ac_path_to_link=""
32551 else
32552 ac_path_to_link=" -L$ac_find_libraries"
32553 fi
32554 fi
32555
32556 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32557 LDFLAGS="$LDFLAGS $ac_path_to_link"
32558 fi
32559 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32560 echo "$as_me:$LINENO: result: yes" >&5
32561 echo "${ECHO_T}yes" >&6
32562
32563 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32564 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32565
32566 ac_find_libraries=
32567 for ac_dir in $SEARCH_LIB;
32568 do
32569 for ac_extension in a so sl dylib dll.a; do
32570 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32571 ac_find_libraries=$ac_dir
32572 break 2
32573 fi
32574 done
32575 done
32576
32577 if test "$ac_find_libraries" != "" ; then
32578 echo "$as_me:$LINENO: result: yes" >&5
32579 echo "${ECHO_T}yes" >&6
32580
32581 for ac_header in X11/extensions/xf86vmode.h
32582 do
32583 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32584 echo "$as_me:$LINENO: checking for $ac_header" >&5
32585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32587 echo $ECHO_N "(cached) $ECHO_C" >&6
32588 else
32589 cat >conftest.$ac_ext <<_ACEOF
32590 /* confdefs.h. */
32591 _ACEOF
32592 cat confdefs.h >>conftest.$ac_ext
32593 cat >>conftest.$ac_ext <<_ACEOF
32594 /* end confdefs.h. */
32595
32596 #if HAVE_X11_XLIB_H
32597 #include <X11/Xlib.h>
32598 #endif
32599
32600
32601 #include <$ac_header>
32602 _ACEOF
32603 rm -f conftest.$ac_objext
32604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32605 (eval $ac_compile) 2>conftest.er1
32606 ac_status=$?
32607 grep -v '^ *+' conftest.er1 >conftest.err
32608 rm -f conftest.er1
32609 cat conftest.err >&5
32610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32611 (exit $ac_status); } &&
32612 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32614 (eval $ac_try) 2>&5
32615 ac_status=$?
32616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32617 (exit $ac_status); }; } &&
32618 { ac_try='test -s conftest.$ac_objext'
32619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32620 (eval $ac_try) 2>&5
32621 ac_status=$?
32622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32623 (exit $ac_status); }; }; then
32624 eval "$as_ac_Header=yes"
32625 else
32626 echo "$as_me: failed program was:" >&5
32627 sed 's/^/| /' conftest.$ac_ext >&5
32628
32629 eval "$as_ac_Header=no"
32630 fi
32631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32632 fi
32633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32635 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32636 cat >>confdefs.h <<_ACEOF
32637 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32638 _ACEOF
32639
32640 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32641
32642 fi
32643
32644 done
32645
32646 else
32647 echo "$as_me:$LINENO: result: no" >&5
32648 echo "${ECHO_T}no" >&6
32649 fi
32650
32651 else
32652 echo "$as_me:$LINENO: result: no" >&5
32653 echo "${ECHO_T}no" >&6
32654 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32655 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32656 wxUSE_DISPLAY="no"
32657 fi
32658 elif test "$wxUSE_MSW" = 1; then
32659
32660 for ac_header in ddraw.h
32661 do
32662 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32663 echo "$as_me:$LINENO: checking for $ac_header" >&5
32664 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32666 echo $ECHO_N "(cached) $ECHO_C" >&6
32667 else
32668 cat >conftest.$ac_ext <<_ACEOF
32669 /* confdefs.h. */
32670 _ACEOF
32671 cat confdefs.h >>conftest.$ac_ext
32672 cat >>conftest.$ac_ext <<_ACEOF
32673 /* end confdefs.h. */
32674 #include <windows.h>
32675
32676 #include <$ac_header>
32677 _ACEOF
32678 rm -f conftest.$ac_objext
32679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32680 (eval $ac_compile) 2>conftest.er1
32681 ac_status=$?
32682 grep -v '^ *+' conftest.er1 >conftest.err
32683 rm -f conftest.er1
32684 cat conftest.err >&5
32685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32686 (exit $ac_status); } &&
32687 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32689 (eval $ac_try) 2>&5
32690 ac_status=$?
32691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32692 (exit $ac_status); }; } &&
32693 { ac_try='test -s conftest.$ac_objext'
32694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32695 (eval $ac_try) 2>&5
32696 ac_status=$?
32697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32698 (exit $ac_status); }; }; then
32699 eval "$as_ac_Header=yes"
32700 else
32701 echo "$as_me: failed program was:" >&5
32702 sed 's/^/| /' conftest.$ac_ext >&5
32703
32704 eval "$as_ac_Header=no"
32705 fi
32706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32707 fi
32708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32710 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32711 cat >>confdefs.h <<_ACEOF
32712 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32713 _ACEOF
32714
32715 fi
32716
32717 done
32718
32719 fi
32720 fi
32721
32722
32723 USE_OPENGL=0
32724 if test "$wxUSE_OPENGL" = "yes"; then
32725 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32726 OPENGL_LIBS="-framework OpenGL -framework AGL"
32727 elif test "$wxUSE_MSW" = 1; then
32728 OPENGL_LIBS="-lopengl32 -lglu32"
32729 else
32730
32731
32732 ac_find_includes=
32733 for ac_dir in $SEARCH_INCLUDE /usr/include;
32734 do
32735 if test -f "$ac_dir/GL/gl.h"; then
32736 ac_find_includes=$ac_dir
32737 break
32738 fi
32739 done
32740
32741 if test "$ac_find_includes" != "" ; then
32742 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32743 echo "${ECHO_T}found in $ac_find_includes" >&6
32744
32745 if test "x$ac_find_includes" = "x/usr/include"; then
32746 ac_path_to_include=""
32747 else
32748 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32749 result=$?
32750 if test $result = 0; then
32751 ac_path_to_include=""
32752 else
32753 ac_path_to_include=" -I$ac_find_includes"
32754 fi
32755 fi
32756
32757 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32758 fi
32759
32760 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32761 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32762 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32763 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32764 echo $ECHO_N "(cached) $ECHO_C" >&6
32765 fi
32766 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32767 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32768 else
32769 # Is the header compilable?
32770 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32771 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32772 cat >conftest.$ac_ext <<_ACEOF
32773 /* confdefs.h. */
32774 _ACEOF
32775 cat confdefs.h >>conftest.$ac_ext
32776 cat >>conftest.$ac_ext <<_ACEOF
32777 /* end confdefs.h. */
32778 $ac_includes_default
32779 #include <GL/gl.h>
32780 _ACEOF
32781 rm -f conftest.$ac_objext
32782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32783 (eval $ac_compile) 2>conftest.er1
32784 ac_status=$?
32785 grep -v '^ *+' conftest.er1 >conftest.err
32786 rm -f conftest.er1
32787 cat conftest.err >&5
32788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32789 (exit $ac_status); } &&
32790 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32792 (eval $ac_try) 2>&5
32793 ac_status=$?
32794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32795 (exit $ac_status); }; } &&
32796 { ac_try='test -s conftest.$ac_objext'
32797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32798 (eval $ac_try) 2>&5
32799 ac_status=$?
32800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32801 (exit $ac_status); }; }; then
32802 ac_header_compiler=yes
32803 else
32804 echo "$as_me: failed program was:" >&5
32805 sed 's/^/| /' conftest.$ac_ext >&5
32806
32807 ac_header_compiler=no
32808 fi
32809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32810 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32811 echo "${ECHO_T}$ac_header_compiler" >&6
32812
32813 # Is the header present?
32814 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32815 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32816 cat >conftest.$ac_ext <<_ACEOF
32817 /* confdefs.h. */
32818 _ACEOF
32819 cat confdefs.h >>conftest.$ac_ext
32820 cat >>conftest.$ac_ext <<_ACEOF
32821 /* end confdefs.h. */
32822 #include <GL/gl.h>
32823 _ACEOF
32824 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32825 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32826 ac_status=$?
32827 grep -v '^ *+' conftest.er1 >conftest.err
32828 rm -f conftest.er1
32829 cat conftest.err >&5
32830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831 (exit $ac_status); } >/dev/null; then
32832 if test -s conftest.err; then
32833 ac_cpp_err=$ac_cxx_preproc_warn_flag
32834 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32835 else
32836 ac_cpp_err=
32837 fi
32838 else
32839 ac_cpp_err=yes
32840 fi
32841 if test -z "$ac_cpp_err"; then
32842 ac_header_preproc=yes
32843 else
32844 echo "$as_me: failed program was:" >&5
32845 sed 's/^/| /' conftest.$ac_ext >&5
32846
32847 ac_header_preproc=no
32848 fi
32849 rm -f conftest.err conftest.$ac_ext
32850 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32851 echo "${ECHO_T}$ac_header_preproc" >&6
32852
32853 # So? What about this header?
32854 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32855 yes:no: )
32856 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32857 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32858 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32859 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32860 ac_header_preproc=yes
32861 ;;
32862 no:yes:* )
32863 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32864 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32865 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32866 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32867 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32868 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32869 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32870 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32871 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32872 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32873 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32874 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32875 (
32876 cat <<\_ASBOX
32877 ## ----------------------------------------- ##
32878 ## Report this to wx-dev@lists.wxwidgets.org ##
32879 ## ----------------------------------------- ##
32880 _ASBOX
32881 ) |
32882 sed "s/^/$as_me: WARNING: /" >&2
32883 ;;
32884 esac
32885 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32886 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32887 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32888 echo $ECHO_N "(cached) $ECHO_C" >&6
32889 else
32890 ac_cv_header_GL_gl_h=$ac_header_preproc
32891 fi
32892 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32893 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32894
32895 fi
32896 if test $ac_cv_header_GL_gl_h = yes; then
32897
32898 found_gl=0
32899
32900 echo "$as_me:$LINENO: checking for -lGL" >&5
32901 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32902
32903 ac_find_libraries=
32904 for ac_dir in $SEARCH_LIB;
32905 do
32906 for ac_extension in a so sl dylib dll.a; do
32907 if test -f "$ac_dir/libGL.$ac_extension"; then
32908 ac_find_libraries=$ac_dir
32909 break 2
32910 fi
32911 done
32912 done
32913
32914 if test "$ac_find_libraries" != "" ; then
32915 echo "$as_me:$LINENO: result: yes" >&5
32916 echo "${ECHO_T}yes" >&6
32917
32918
32919 if test "$ac_find_libraries" = "default location"; then
32920 ac_path_to_link=""
32921 else
32922 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32923 result=$?
32924 if test $result = 0; then
32925 ac_path_to_link=""
32926 else
32927 ac_path_to_link=" -L$ac_find_libraries"
32928 fi
32929 fi
32930
32931 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32932 LDFLAGS_GL="$ac_path_to_link"
32933 fi
32934
32935 echo "$as_me:$LINENO: checking for -lGLU" >&5
32936 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32937
32938 ac_find_libraries=
32939 for ac_dir in $SEARCH_LIB;
32940 do
32941 for ac_extension in a so sl dylib dll.a; do
32942 if test -f "$ac_dir/libGLU.$ac_extension"; then
32943 ac_find_libraries=$ac_dir
32944 break 2
32945 fi
32946 done
32947 done
32948
32949 if test "$ac_find_libraries" != "" ; then
32950
32951 if test "$ac_find_libraries" = "default location"; then
32952 ac_path_to_link=""
32953 else
32954 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32955 result=$?
32956 if test $result = 0; then
32957 ac_path_to_link=""
32958 else
32959 ac_path_to_link=" -L$ac_find_libraries"
32960 fi
32961 fi
32962
32963 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32964 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32965 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32966 fi
32967
32968 found_gl=1
32969 OPENGL_LIBS="-lGL -lGLU"
32970 echo "$as_me:$LINENO: result: yes" >&5
32971 echo "${ECHO_T}yes" >&6
32972 else
32973 echo "$as_me:$LINENO: result: no" >&5
32974 echo "${ECHO_T}no" >&6
32975 fi
32976 else
32977 echo "$as_me:$LINENO: result: no" >&5
32978 echo "${ECHO_T}no" >&6
32979 fi
32980
32981 if test "$found_gl" != 1; then
32982 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32983 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
32984
32985 ac_find_libraries=
32986 for ac_dir in $SEARCH_LIB;
32987 do
32988 for ac_extension in a so sl dylib dll.a; do
32989 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32990 ac_find_libraries=$ac_dir
32991 break 2
32992 fi
32993 done
32994 done
32995
32996 if test "$ac_find_libraries" != "" ; then
32997
32998 if test "$ac_find_libraries" = "default location"; then
32999 ac_path_to_link=""
33000 else
33001 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33002 result=$?
33003 if test $result = 0; then
33004 ac_path_to_link=""
33005 else
33006 ac_path_to_link=" -L$ac_find_libraries"
33007 fi
33008 fi
33009
33010 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33011 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33012 echo "$as_me:$LINENO: result: yes" >&5
33013 echo "${ECHO_T}yes" >&6
33014 else
33015 echo "$as_me:$LINENO: result: no" >&5
33016 echo "${ECHO_T}no" >&6
33017 fi
33018 fi
33019
33020 fi
33021
33022
33023
33024 if test "x$OPENGL_LIBS" = "x"; then
33025 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33026 echo "$as_me: error: OpenGL libraries not available" >&2;}
33027 { (exit 1); exit 1; }; }
33028 fi
33029 fi
33030
33031 if test "$wxUSE_OPENGL" = "yes"; then
33032 USE_OPENGL=1
33033 cat >>confdefs.h <<\_ACEOF
33034 #define wxUSE_OPENGL 1
33035 _ACEOF
33036
33037 cat >>confdefs.h <<\_ACEOF
33038 #define wxUSE_GLCANVAS 1
33039 _ACEOF
33040
33041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33042 fi
33043 fi
33044
33045
33046 if test -n "$TOOLKIT" ; then
33047 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33048 fi
33049
33050
33051
33052 if test "$wxUSE_SHARED" = "yes"; then
33053 case "${host}" in
33054 *-pc-msdosdjgpp )
33055 wxUSE_SHARED=no
33056 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33057 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33058 ;;
33059 esac
33060 fi
33061
33062 if test "$wxUSE_SHARED" = "yes"; then
33063
33064
33065 found_versioning=no
33066
33067
33068 if test $found_versioning = no ; then
33069 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33070 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33071 if test "${wx_cv_version_script+set}" = set; then
33072 echo $ECHO_N "(cached) $ECHO_C" >&6
33073 else
33074
33075 echo "VER_1 { *; };" >conftest.sym
33076 echo "int main() { return 0; }" >conftest.cpp
33077
33078 if { ac_try='
33079 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33080 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33082 (eval $ac_try) 2>&5
33083 ac_status=$?
33084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33085 (exit $ac_status); }; } ; then
33086 if test -s conftest.stderr ; then
33087 wx_cv_version_script=no
33088 else
33089 wx_cv_version_script=yes
33090 fi
33091 else
33092 wx_cv_version_script=no
33093 fi
33094
33095 if test $wx_cv_version_script = yes
33096 then
33097 echo "struct B { virtual ~B() { } }; \
33098 struct D : public B { }; \
33099 void F() { D d; }" > conftest.cpp
33100
33101 if { ac_try='
33102 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33103 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33105 (eval $ac_try) 2>&5
33106 ac_status=$?
33107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33108 (exit $ac_status); }; } &&
33109 { ac_try='
33110 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33111 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33113 (eval $ac_try) 2>&5
33114 ac_status=$?
33115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33116 (exit $ac_status); }; }
33117 then
33118 if { ac_try='
33119 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33120 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33122 (eval $ac_try) 2>&5
33123 ac_status=$?
33124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125 (exit $ac_status); }; }
33126 then
33127 wx_cv_version_script=yes
33128 else
33129 wx_cv_version_script=no
33130 fi
33131 fi
33132 fi
33133
33134 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33135 rm -f conftest1.output conftest2.output conftest3.output
33136
33137 fi
33138 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33139 echo "${ECHO_T}$wx_cv_version_script" >&6
33140 if test $wx_cv_version_script = yes ; then
33141 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33142 fi
33143 fi
33144
33145
33146 case "${host}" in
33147 *-*-linux* | *-*-gnu* )
33148 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33149 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33150 ;;
33151
33152 *-*-solaris2* )
33153 if test "$GCC" = yes ; then
33154 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33155
33156 saveLdflags="$LDFLAGS"
33157 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33158 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33159 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33160 cat >conftest.$ac_ext <<_ACEOF
33161 /* confdefs.h. */
33162 _ACEOF
33163 cat confdefs.h >>conftest.$ac_ext
33164 cat >>conftest.$ac_ext <<_ACEOF
33165 /* end confdefs.h. */
33166
33167 int
33168 main ()
33169 {
33170
33171 ;
33172 return 0;
33173 }
33174 _ACEOF
33175 rm -f conftest.$ac_objext conftest$ac_exeext
33176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33177 (eval $ac_link) 2>conftest.er1
33178 ac_status=$?
33179 grep -v '^ *+' conftest.er1 >conftest.err
33180 rm -f conftest.er1
33181 cat conftest.err >&5
33182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33183 (exit $ac_status); } &&
33184 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33186 (eval $ac_try) 2>&5
33187 ac_status=$?
33188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33189 (exit $ac_status); }; } &&
33190 { ac_try='test -s conftest$ac_exeext'
33191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33192 (eval $ac_try) 2>&5
33193 ac_status=$?
33194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33195 (exit $ac_status); }; }; then
33196
33197 echo "$as_me:$LINENO: result: yes" >&5
33198 echo "${ECHO_T}yes" >&6
33199 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33200 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33201
33202 else
33203 echo "$as_me: failed program was:" >&5
33204 sed 's/^/| /' conftest.$ac_ext >&5
33205
33206
33207 echo "$as_me:$LINENO: result: no" >&5
33208 echo "${ECHO_T}no" >&6
33209 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33210 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33211 LDFLAGS="$saveLdflags -Wl,-R,/"
33212 cat >conftest.$ac_ext <<_ACEOF
33213 /* confdefs.h. */
33214 _ACEOF
33215 cat confdefs.h >>conftest.$ac_ext
33216 cat >>conftest.$ac_ext <<_ACEOF
33217 /* end confdefs.h. */
33218
33219 int
33220 main ()
33221 {
33222
33223 ;
33224 return 0;
33225 }
33226 _ACEOF
33227 rm -f conftest.$ac_objext conftest$ac_exeext
33228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33229 (eval $ac_link) 2>conftest.er1
33230 ac_status=$?
33231 grep -v '^ *+' conftest.er1 >conftest.err
33232 rm -f conftest.er1
33233 cat conftest.err >&5
33234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33235 (exit $ac_status); } &&
33236 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33238 (eval $ac_try) 2>&5
33239 ac_status=$?
33240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33241 (exit $ac_status); }; } &&
33242 { ac_try='test -s conftest$ac_exeext'
33243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33244 (eval $ac_try) 2>&5
33245 ac_status=$?
33246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33247 (exit $ac_status); }; }; then
33248
33249 echo "$as_me:$LINENO: result: yes" >&5
33250 echo "${ECHO_T}yes" >&6
33251 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33252 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33253
33254 else
33255 echo "$as_me: failed program was:" >&5
33256 sed 's/^/| /' conftest.$ac_ext >&5
33257
33258
33259 echo "$as_me:$LINENO: result: no" >&5
33260 echo "${ECHO_T}no" >&6
33261
33262 fi
33263 rm -f conftest.err conftest.$ac_objext \
33264 conftest$ac_exeext conftest.$ac_ext
33265
33266 fi
33267 rm -f conftest.err conftest.$ac_objext \
33268 conftest$ac_exeext conftest.$ac_ext
33269 LDFLAGS="$saveLdflags"
33270 else
33271 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
33272 WXCONFIG_RPATH="-R\$libdir"
33273 fi
33274 ;;
33275
33276 *-*-darwin* )
33277 install_name_tool=`which install_name_tool`
33278 if test "$install_name_tool" -a -x "$install_name_tool"; then
33279 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33280 cat <<EOF >change-install-names
33281 #!/bin/sh
33282 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33283 inst_cmd="install_name_tool "
33284 for i in \${libnames} ; do
33285 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33286 done
33287 \${inst_cmd} \${3}
33288 EOF
33289 chmod +x change-install-names
33290 fi
33291 ;;
33292
33293 *-*-cygwin* | *-*-mingw32* )
33294 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33295 ;;
33296
33297 *-*-hpux* )
33298 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
33299 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33300 ;;
33301
33302 esac
33303
33304 if test $wxUSE_RPATH = "no"; then
33305 SAMPLES_RPATH_FLAG=''
33306 SAMPLES_RPATH_POSTLINK=''
33307 WXCONFIG_RPATH=''
33308 fi
33309
33310 SHARED=1
33311
33312 else
33313
33314 config_linkage_component="-static"
33315 SHARED=0
33316
33317 fi
33318
33319
33320 UNICODE=0
33321 lib_unicode_suffix=
33322 WX_CHARTYPE="ansi"
33323 if test "$wxUSE_UNICODE" = "yes"; then
33324 lib_unicode_suffix=u
33325 WX_CHARTYPE="unicode"
33326 UNICODE=1
33327 fi
33328
33329 lib_debug_suffix=
33330 WX_DEBUGTYPE="release"
33331 DEBUG_FLAG=0
33332 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33333 lib_debug_suffix=d
33334 WX_DEBUGTYPE="debug"
33335 DEBUG_FLAG=1
33336 fi
33337
33338 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33339 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33340
33341 DEBUG_INFO=0
33342 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33343 DEBUG_INFO=1
33344 fi
33345
33346 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33347
33348 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33349
33350 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33351
33352 if test "$cross_compiling" = "yes"; then
33353 HOST_SUFFIX="-$host_alias"
33354 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33355 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33356 fi
33357
33358 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33359 if test "${TOOLKIT_DIR}" = "os2"; then
33360 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33361 else
33362 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33363 fi
33364
33365
33366
33367 if test "$wxUSE_COCOA" = 1; then
33368
33369
33370 ac_ext=c
33371 ac_cpp='$CPP $CPPFLAGS'
33372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33375
33376 ac_ext=m
33377
33378 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33379 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33380 cat >conftest.$ac_ext <<_ACEOF
33381 /* confdefs.h. */
33382 _ACEOF
33383 cat confdefs.h >>conftest.$ac_ext
33384 cat >>conftest.$ac_ext <<_ACEOF
33385 /* end confdefs.h. */
33386 #include <AppKit/NSEvent.h>
33387 #include <CoreFoundation/CoreFoundation.h>
33388
33389 int
33390 main ()
33391 {
33392
33393 ;
33394 return 0;
33395 }
33396 _ACEOF
33397 rm -f conftest.$ac_objext
33398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33399 (eval $ac_compile) 2>conftest.er1
33400 ac_status=$?
33401 grep -v '^ *+' conftest.er1 >conftest.err
33402 rm -f conftest.er1
33403 cat conftest.err >&5
33404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33405 (exit $ac_status); } &&
33406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33408 (eval $ac_try) 2>&5
33409 ac_status=$?
33410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33411 (exit $ac_status); }; } &&
33412 { ac_try='test -s conftest.$ac_objext'
33413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33414 (eval $ac_try) 2>&5
33415 ac_status=$?
33416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33417 (exit $ac_status); }; }; then
33418 echo "$as_me:$LINENO: result: no" >&5
33419 echo "${ECHO_T}no" >&6
33420 else
33421 echo "$as_me: failed program was:" >&5
33422 sed 's/^/| /' conftest.$ac_ext >&5
33423
33424 echo "$as_me:$LINENO: result: yes" >&5
33425 echo "${ECHO_T}yes" >&6
33426 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33427 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33428 cat >conftest.$ac_ext <<_ACEOF
33429 /* confdefs.h. */
33430 _ACEOF
33431 cat confdefs.h >>conftest.$ac_ext
33432 cat >>conftest.$ac_ext <<_ACEOF
33433 /* end confdefs.h. */
33434 #define __Point__ 1
33435 #include <AppKit/NSEvent.h>
33436 #include <CoreFoundation/CoreFoundation.h>
33437
33438 int
33439 main ()
33440 {
33441
33442 ;
33443 return 0;
33444 }
33445 _ACEOF
33446 rm -f conftest.$ac_objext
33447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33448 (eval $ac_compile) 2>conftest.er1
33449 ac_status=$?
33450 grep -v '^ *+' conftest.er1 >conftest.err
33451 rm -f conftest.er1
33452 cat conftest.err >&5
33453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33454 (exit $ac_status); } &&
33455 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33457 (eval $ac_try) 2>&5
33458 ac_status=$?
33459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33460 (exit $ac_status); }; } &&
33461 { ac_try='test -s conftest.$ac_objext'
33462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33463 (eval $ac_try) 2>&5
33464 ac_status=$?
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); }; }; then
33467 echo "$as_me:$LINENO: result: yes" >&5
33468 echo "${ECHO_T}yes" >&6
33469 cat >>confdefs.h <<\_ACEOF
33470 #define __Point__ 1
33471 _ACEOF
33472
33473
33474 else
33475 echo "$as_me: failed program was:" >&5
33476 sed 's/^/| /' conftest.$ac_ext >&5
33477
33478 { { echo "$as_me:$LINENO: error: no
33479 See \`config.log' for more details." >&5
33480 echo "$as_me: error: no
33481 See \`config.log' for more details." >&2;}
33482 { (exit 1); exit 1; }; }
33483
33484 fi
33485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33486
33487 fi
33488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33489 ac_ext=cc
33490 ac_cpp='$CXXCPP $CPPFLAGS'
33491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33494
33495 fi
33496
33497 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33498 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33499 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33500
33501 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33502
33503 # Extract the first word of "Rez", so it can be a program name with args.
33504 set dummy Rez; ac_word=$2
33505 echo "$as_me:$LINENO: checking for $ac_word" >&5
33506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33507 if test "${ac_cv_prog_REZ+set}" = set; then
33508 echo $ECHO_N "(cached) $ECHO_C" >&6
33509 else
33510 if test -n "$REZ"; then
33511 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33512 else
33513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33514 for as_dir in $PATH
33515 do
33516 IFS=$as_save_IFS
33517 test -z "$as_dir" && as_dir=.
33518 for ac_exec_ext in '' $ac_executable_extensions; do
33519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33520 ac_cv_prog_REZ="Rez"
33521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33522 break 2
33523 fi
33524 done
33525 done
33526
33527 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33528 fi
33529 fi
33530 REZ=$ac_cv_prog_REZ
33531 if test -n "$REZ"; then
33532 echo "$as_me:$LINENO: result: $REZ" >&5
33533 echo "${ECHO_T}$REZ" >&6
33534 else
33535 echo "$as_me:$LINENO: result: no" >&5
33536 echo "${ECHO_T}no" >&6
33537 fi
33538
33539 # Extract the first word of "DeRez", so it can be a program name with args.
33540 set dummy DeRez; ac_word=$2
33541 echo "$as_me:$LINENO: checking for $ac_word" >&5
33542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33543 if test "${ac_cv_prog_DEREZ+set}" = set; then
33544 echo $ECHO_N "(cached) $ECHO_C" >&6
33545 else
33546 if test -n "$DEREZ"; then
33547 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33548 else
33549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33550 for as_dir in $PATH
33551 do
33552 IFS=$as_save_IFS
33553 test -z "$as_dir" && as_dir=.
33554 for ac_exec_ext in '' $ac_executable_extensions; do
33555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33556 ac_cv_prog_DEREZ="DeRez"
33557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33558 break 2
33559 fi
33560 done
33561 done
33562
33563 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33564 fi
33565 fi
33566 DEREZ=$ac_cv_prog_DEREZ
33567 if test -n "$DEREZ"; then
33568 echo "$as_me:$LINENO: result: $DEREZ" >&5
33569 echo "${ECHO_T}$DEREZ" >&6
33570 else
33571 echo "$as_me:$LINENO: result: no" >&5
33572 echo "${ECHO_T}no" >&6
33573 fi
33574
33575 # Extract the first word of "SetFile", so it can be a program name with args.
33576 set dummy SetFile; ac_word=$2
33577 echo "$as_me:$LINENO: checking for $ac_word" >&5
33578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33579 if test "${ac_cv_prog_SETFILE+set}" = set; then
33580 echo $ECHO_N "(cached) $ECHO_C" >&6
33581 else
33582 if test -n "$SETFILE"; then
33583 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33584 else
33585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33586 for as_dir in $PATH
33587 do
33588 IFS=$as_save_IFS
33589 test -z "$as_dir" && as_dir=.
33590 for ac_exec_ext in '' $ac_executable_extensions; do
33591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33592 ac_cv_prog_SETFILE="SetFile"
33593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33594 break 2
33595 fi
33596 done
33597 done
33598
33599 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33600 fi
33601 fi
33602 SETFILE=$ac_cv_prog_SETFILE
33603 if test -n "$SETFILE"; then
33604 echo "$as_me:$LINENO: result: $SETFILE" >&5
33605 echo "${ECHO_T}$SETFILE" >&6
33606 else
33607 echo "$as_me:$LINENO: result: no" >&5
33608 echo "${ECHO_T}no" >&6
33609 fi
33610
33611
33612 MACSETFILE="\$(SETFILE)"
33613
33614 if test "$wxUSE_MAC" = 1; then
33615 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33616 RESCOMP="$REZ"
33617 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33618 else
33619 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33620 RESCOMP="echo -n \| $REZ"
33621 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33622 fi
33623
33624 else
33625 MACSETFILE="@true"
33626
33627 if test "$wxUSE_PM" = 1; then
33628 RESCOMP="emxbind"
33629 WXCONFIG_RESFLAGS="-ep"
33630
33631 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33632 else
33633 POSTLINK_COMMAND="@true"
33634 fi
33635
33636 fi
33637
33638
33639
33640 echo "$as_me:$LINENO: checking for mode_t" >&5
33641 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33642 if test "${ac_cv_type_mode_t+set}" = set; then
33643 echo $ECHO_N "(cached) $ECHO_C" >&6
33644 else
33645 cat >conftest.$ac_ext <<_ACEOF
33646 /* confdefs.h. */
33647 _ACEOF
33648 cat confdefs.h >>conftest.$ac_ext
33649 cat >>conftest.$ac_ext <<_ACEOF
33650 /* end confdefs.h. */
33651 $ac_includes_default
33652 int
33653 main ()
33654 {
33655 if ((mode_t *) 0)
33656 return 0;
33657 if (sizeof (mode_t))
33658 return 0;
33659 ;
33660 return 0;
33661 }
33662 _ACEOF
33663 rm -f conftest.$ac_objext
33664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33665 (eval $ac_compile) 2>conftest.er1
33666 ac_status=$?
33667 grep -v '^ *+' conftest.er1 >conftest.err
33668 rm -f conftest.er1
33669 cat conftest.err >&5
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); } &&
33672 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33674 (eval $ac_try) 2>&5
33675 ac_status=$?
33676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33677 (exit $ac_status); }; } &&
33678 { ac_try='test -s conftest.$ac_objext'
33679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33680 (eval $ac_try) 2>&5
33681 ac_status=$?
33682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33683 (exit $ac_status); }; }; then
33684 ac_cv_type_mode_t=yes
33685 else
33686 echo "$as_me: failed program was:" >&5
33687 sed 's/^/| /' conftest.$ac_ext >&5
33688
33689 ac_cv_type_mode_t=no
33690 fi
33691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33692 fi
33693 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33694 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33695 if test $ac_cv_type_mode_t = yes; then
33696 :
33697 else
33698
33699 cat >>confdefs.h <<_ACEOF
33700 #define mode_t int
33701 _ACEOF
33702
33703 fi
33704
33705 echo "$as_me:$LINENO: checking for off_t" >&5
33706 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33707 if test "${ac_cv_type_off_t+set}" = set; then
33708 echo $ECHO_N "(cached) $ECHO_C" >&6
33709 else
33710 cat >conftest.$ac_ext <<_ACEOF
33711 /* confdefs.h. */
33712 _ACEOF
33713 cat confdefs.h >>conftest.$ac_ext
33714 cat >>conftest.$ac_ext <<_ACEOF
33715 /* end confdefs.h. */
33716 $ac_includes_default
33717 int
33718 main ()
33719 {
33720 if ((off_t *) 0)
33721 return 0;
33722 if (sizeof (off_t))
33723 return 0;
33724 ;
33725 return 0;
33726 }
33727 _ACEOF
33728 rm -f conftest.$ac_objext
33729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33730 (eval $ac_compile) 2>conftest.er1
33731 ac_status=$?
33732 grep -v '^ *+' conftest.er1 >conftest.err
33733 rm -f conftest.er1
33734 cat conftest.err >&5
33735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33736 (exit $ac_status); } &&
33737 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33739 (eval $ac_try) 2>&5
33740 ac_status=$?
33741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33742 (exit $ac_status); }; } &&
33743 { ac_try='test -s conftest.$ac_objext'
33744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33745 (eval $ac_try) 2>&5
33746 ac_status=$?
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); }; }; then
33749 ac_cv_type_off_t=yes
33750 else
33751 echo "$as_me: failed program was:" >&5
33752 sed 's/^/| /' conftest.$ac_ext >&5
33753
33754 ac_cv_type_off_t=no
33755 fi
33756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33757 fi
33758 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33759 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33760 if test $ac_cv_type_off_t = yes; then
33761 :
33762 else
33763
33764 cat >>confdefs.h <<_ACEOF
33765 #define off_t long
33766 _ACEOF
33767
33768 fi
33769
33770 echo "$as_me:$LINENO: checking for pid_t" >&5
33771 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33772 if test "${ac_cv_type_pid_t+set}" = set; then
33773 echo $ECHO_N "(cached) $ECHO_C" >&6
33774 else
33775 cat >conftest.$ac_ext <<_ACEOF
33776 /* confdefs.h. */
33777 _ACEOF
33778 cat confdefs.h >>conftest.$ac_ext
33779 cat >>conftest.$ac_ext <<_ACEOF
33780 /* end confdefs.h. */
33781 $ac_includes_default
33782 int
33783 main ()
33784 {
33785 if ((pid_t *) 0)
33786 return 0;
33787 if (sizeof (pid_t))
33788 return 0;
33789 ;
33790 return 0;
33791 }
33792 _ACEOF
33793 rm -f conftest.$ac_objext
33794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33795 (eval $ac_compile) 2>conftest.er1
33796 ac_status=$?
33797 grep -v '^ *+' conftest.er1 >conftest.err
33798 rm -f conftest.er1
33799 cat conftest.err >&5
33800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801 (exit $ac_status); } &&
33802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33804 (eval $ac_try) 2>&5
33805 ac_status=$?
33806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33807 (exit $ac_status); }; } &&
33808 { ac_try='test -s conftest.$ac_objext'
33809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33810 (eval $ac_try) 2>&5
33811 ac_status=$?
33812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33813 (exit $ac_status); }; }; then
33814 ac_cv_type_pid_t=yes
33815 else
33816 echo "$as_me: failed program was:" >&5
33817 sed 's/^/| /' conftest.$ac_ext >&5
33818
33819 ac_cv_type_pid_t=no
33820 fi
33821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33822 fi
33823 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33824 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33825 if test $ac_cv_type_pid_t = yes; then
33826 :
33827 else
33828
33829 cat >>confdefs.h <<_ACEOF
33830 #define pid_t int
33831 _ACEOF
33832
33833 fi
33834
33835 echo "$as_me:$LINENO: checking for size_t" >&5
33836 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33837 if test "${ac_cv_type_size_t+set}" = set; then
33838 echo $ECHO_N "(cached) $ECHO_C" >&6
33839 else
33840 cat >conftest.$ac_ext <<_ACEOF
33841 /* confdefs.h. */
33842 _ACEOF
33843 cat confdefs.h >>conftest.$ac_ext
33844 cat >>conftest.$ac_ext <<_ACEOF
33845 /* end confdefs.h. */
33846 $ac_includes_default
33847 int
33848 main ()
33849 {
33850 if ((size_t *) 0)
33851 return 0;
33852 if (sizeof (size_t))
33853 return 0;
33854 ;
33855 return 0;
33856 }
33857 _ACEOF
33858 rm -f conftest.$ac_objext
33859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33860 (eval $ac_compile) 2>conftest.er1
33861 ac_status=$?
33862 grep -v '^ *+' conftest.er1 >conftest.err
33863 rm -f conftest.er1
33864 cat conftest.err >&5
33865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33866 (exit $ac_status); } &&
33867 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33869 (eval $ac_try) 2>&5
33870 ac_status=$?
33871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33872 (exit $ac_status); }; } &&
33873 { ac_try='test -s conftest.$ac_objext'
33874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33875 (eval $ac_try) 2>&5
33876 ac_status=$?
33877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33878 (exit $ac_status); }; }; then
33879 ac_cv_type_size_t=yes
33880 else
33881 echo "$as_me: failed program was:" >&5
33882 sed 's/^/| /' conftest.$ac_ext >&5
33883
33884 ac_cv_type_size_t=no
33885 fi
33886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33887 fi
33888 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33889 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33890 if test $ac_cv_type_size_t = yes; then
33891 :
33892 else
33893
33894 cat >>confdefs.h <<_ACEOF
33895 #define size_t unsigned
33896 _ACEOF
33897
33898 fi
33899
33900 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33901 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33902 if test "${ac_cv_type_uid_t+set}" = set; then
33903 echo $ECHO_N "(cached) $ECHO_C" >&6
33904 else
33905 cat >conftest.$ac_ext <<_ACEOF
33906 /* confdefs.h. */
33907 _ACEOF
33908 cat confdefs.h >>conftest.$ac_ext
33909 cat >>conftest.$ac_ext <<_ACEOF
33910 /* end confdefs.h. */
33911 #include <sys/types.h>
33912
33913 _ACEOF
33914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33915 $EGREP "uid_t" >/dev/null 2>&1; then
33916 ac_cv_type_uid_t=yes
33917 else
33918 ac_cv_type_uid_t=no
33919 fi
33920 rm -f conftest*
33921
33922 fi
33923 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33924 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33925 if test $ac_cv_type_uid_t = no; then
33926
33927 cat >>confdefs.h <<\_ACEOF
33928 #define uid_t int
33929 _ACEOF
33930
33931
33932 cat >>confdefs.h <<\_ACEOF
33933 #define gid_t int
33934 _ACEOF
33935
33936 fi
33937
33938
33939 echo "$as_me:$LINENO: checking for ssize_t" >&5
33940 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33941 if test "${ac_cv_type_ssize_t+set}" = set; then
33942 echo $ECHO_N "(cached) $ECHO_C" >&6
33943 else
33944 cat >conftest.$ac_ext <<_ACEOF
33945 /* confdefs.h. */
33946 _ACEOF
33947 cat confdefs.h >>conftest.$ac_ext
33948 cat >>conftest.$ac_ext <<_ACEOF
33949 /* end confdefs.h. */
33950 $ac_includes_default
33951 int
33952 main ()
33953 {
33954 if ((ssize_t *) 0)
33955 return 0;
33956 if (sizeof (ssize_t))
33957 return 0;
33958 ;
33959 return 0;
33960 }
33961 _ACEOF
33962 rm -f conftest.$ac_objext
33963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33964 (eval $ac_compile) 2>conftest.er1
33965 ac_status=$?
33966 grep -v '^ *+' conftest.er1 >conftest.err
33967 rm -f conftest.er1
33968 cat conftest.err >&5
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); } &&
33971 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
33977 { ac_try='test -s conftest.$ac_objext'
33978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33979 (eval $ac_try) 2>&5
33980 ac_status=$?
33981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982 (exit $ac_status); }; }; then
33983 ac_cv_type_ssize_t=yes
33984 else
33985 echo "$as_me: failed program was:" >&5
33986 sed 's/^/| /' conftest.$ac_ext >&5
33987
33988 ac_cv_type_ssize_t=no
33989 fi
33990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33991 fi
33992 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33993 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
33994 if test $ac_cv_type_ssize_t = yes; then
33995
33996 cat >>confdefs.h <<_ACEOF
33997 #define HAVE_SSIZE_T 1
33998 _ACEOF
33999
34000
34001 fi
34002
34003
34004 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34005 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34006 if test "${wx_cv_size_t_is_uint+set}" = set; then
34007 echo $ECHO_N "(cached) $ECHO_C" >&6
34008 else
34009
34010 cat >conftest.$ac_ext <<_ACEOF
34011 /* confdefs.h. */
34012 _ACEOF
34013 cat confdefs.h >>conftest.$ac_ext
34014 cat >>conftest.$ac_ext <<_ACEOF
34015 /* end confdefs.h. */
34016 #include <stddef.h>
34017 int
34018 main ()
34019 {
34020
34021 return 0; }
34022
34023 struct Foo { void foo(size_t); void foo(unsigned int); };
34024
34025 int bar() {
34026
34027 ;
34028 return 0;
34029 }
34030 _ACEOF
34031 rm -f conftest.$ac_objext
34032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34033 (eval $ac_compile) 2>conftest.er1
34034 ac_status=$?
34035 grep -v '^ *+' conftest.er1 >conftest.err
34036 rm -f conftest.er1
34037 cat conftest.err >&5
34038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34039 (exit $ac_status); } &&
34040 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34042 (eval $ac_try) 2>&5
34043 ac_status=$?
34044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34045 (exit $ac_status); }; } &&
34046 { ac_try='test -s conftest.$ac_objext'
34047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34048 (eval $ac_try) 2>&5
34049 ac_status=$?
34050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34051 (exit $ac_status); }; }; then
34052 wx_cv_size_t_is_uint=no
34053 else
34054 echo "$as_me: failed program was:" >&5
34055 sed 's/^/| /' conftest.$ac_ext >&5
34056
34057 wx_cv_size_t_is_uint=yes
34058
34059 fi
34060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34061
34062
34063 fi
34064 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34065 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34066
34067 if test "$wx_cv_size_t_is_uint" = "yes"; then
34068 cat >>confdefs.h <<\_ACEOF
34069 #define wxSIZE_T_IS_UINT 1
34070 _ACEOF
34071
34072 else
34073 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34074 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34075 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34076 echo $ECHO_N "(cached) $ECHO_C" >&6
34077 else
34078 cat >conftest.$ac_ext <<_ACEOF
34079 /* confdefs.h. */
34080 _ACEOF
34081 cat confdefs.h >>conftest.$ac_ext
34082 cat >>conftest.$ac_ext <<_ACEOF
34083 /* end confdefs.h. */
34084 #include <stddef.h>
34085 int
34086 main ()
34087 {
34088
34089 return 0; }
34090
34091 struct Foo { void foo(size_t); void foo(unsigned long); };
34092
34093 int bar() {
34094
34095 ;
34096 return 0;
34097 }
34098 _ACEOF
34099 rm -f conftest.$ac_objext
34100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34101 (eval $ac_compile) 2>conftest.er1
34102 ac_status=$?
34103 grep -v '^ *+' conftest.er1 >conftest.err
34104 rm -f conftest.er1
34105 cat conftest.err >&5
34106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107 (exit $ac_status); } &&
34108 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34110 (eval $ac_try) 2>&5
34111 ac_status=$?
34112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34113 (exit $ac_status); }; } &&
34114 { ac_try='test -s conftest.$ac_objext'
34115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34116 (eval $ac_try) 2>&5
34117 ac_status=$?
34118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34119 (exit $ac_status); }; }; then
34120 wx_cv_size_t_is_ulong=no
34121 else
34122 echo "$as_me: failed program was:" >&5
34123 sed 's/^/| /' conftest.$ac_ext >&5
34124
34125 wx_cv_size_t_is_ulong=yes
34126
34127 fi
34128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34129
34130 fi
34131 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34132 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34133
34134 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34135 cat >>confdefs.h <<\_ACEOF
34136 #define wxSIZE_T_IS_ULONG 1
34137 _ACEOF
34138
34139 fi
34140 fi
34141
34142
34143 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34144 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34145 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34146 echo $ECHO_N "(cached) $ECHO_C" >&6
34147 else
34148
34149 cat >conftest.$ac_ext <<_ACEOF
34150 /* confdefs.h. */
34151 _ACEOF
34152 cat confdefs.h >>conftest.$ac_ext
34153 cat >>conftest.$ac_ext <<_ACEOF
34154 /* end confdefs.h. */
34155 #include <pwd.h>
34156 int
34157 main ()
34158 {
34159
34160 char *p;
34161 struct passwd *pw;
34162 p = pw->pw_gecos;
34163
34164 ;
34165 return 0;
34166 }
34167 _ACEOF
34168 rm -f conftest.$ac_objext
34169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34170 (eval $ac_compile) 2>conftest.er1
34171 ac_status=$?
34172 grep -v '^ *+' conftest.er1 >conftest.err
34173 rm -f conftest.er1
34174 cat conftest.err >&5
34175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176 (exit $ac_status); } &&
34177 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34179 (eval $ac_try) 2>&5
34180 ac_status=$?
34181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34182 (exit $ac_status); }; } &&
34183 { ac_try='test -s conftest.$ac_objext'
34184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34185 (eval $ac_try) 2>&5
34186 ac_status=$?
34187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34188 (exit $ac_status); }; }; then
34189
34190 wx_cv_struct_pw_gecos=yes
34191
34192 else
34193 echo "$as_me: failed program was:" >&5
34194 sed 's/^/| /' conftest.$ac_ext >&5
34195
34196
34197 wx_cv_struct_pw_gecos=no
34198
34199
34200 fi
34201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34202
34203
34204 fi
34205 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34206 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34207
34208 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34209 cat >>confdefs.h <<\_ACEOF
34210 #define HAVE_PW_GECOS 1
34211 _ACEOF
34212
34213 fi
34214
34215
34216 if test "$wxUSE_WCHAR_T" = "yes"; then
34217 cat >>confdefs.h <<\_ACEOF
34218 #define wxUSE_WCHAR_T 1
34219 _ACEOF
34220
34221
34222 WCSLEN_FOUND=0
34223 WCHAR_LINK=
34224
34225 for ac_func in wcslen
34226 do
34227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34228 echo "$as_me:$LINENO: checking for $ac_func" >&5
34229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34230 if eval "test \"\${$as_ac_var+set}\" = set"; then
34231 echo $ECHO_N "(cached) $ECHO_C" >&6
34232 else
34233 cat >conftest.$ac_ext <<_ACEOF
34234 /* confdefs.h. */
34235 _ACEOF
34236 cat confdefs.h >>conftest.$ac_ext
34237 cat >>conftest.$ac_ext <<_ACEOF
34238 /* end confdefs.h. */
34239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34241 #define $ac_func innocuous_$ac_func
34242
34243 /* System header to define __stub macros and hopefully few prototypes,
34244 which can conflict with char $ac_func (); below.
34245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34246 <limits.h> exists even on freestanding compilers. */
34247
34248 #ifdef __STDC__
34249 # include <limits.h>
34250 #else
34251 # include <assert.h>
34252 #endif
34253
34254 #undef $ac_func
34255
34256 /* Override any gcc2 internal prototype to avoid an error. */
34257 #ifdef __cplusplus
34258 extern "C"
34259 {
34260 #endif
34261 /* We use char because int might match the return type of a gcc2
34262 builtin and then its argument prototype would still apply. */
34263 char $ac_func ();
34264 /* The GNU C library defines this for functions which it implements
34265 to always fail with ENOSYS. Some functions are actually named
34266 something starting with __ and the normal name is an alias. */
34267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34268 choke me
34269 #else
34270 char (*f) () = $ac_func;
34271 #endif
34272 #ifdef __cplusplus
34273 }
34274 #endif
34275
34276 int
34277 main ()
34278 {
34279 return f != $ac_func;
34280 ;
34281 return 0;
34282 }
34283 _ACEOF
34284 rm -f conftest.$ac_objext conftest$ac_exeext
34285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34286 (eval $ac_link) 2>conftest.er1
34287 ac_status=$?
34288 grep -v '^ *+' conftest.er1 >conftest.err
34289 rm -f conftest.er1
34290 cat conftest.err >&5
34291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34292 (exit $ac_status); } &&
34293 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34295 (eval $ac_try) 2>&5
34296 ac_status=$?
34297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34298 (exit $ac_status); }; } &&
34299 { ac_try='test -s conftest$ac_exeext'
34300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34301 (eval $ac_try) 2>&5
34302 ac_status=$?
34303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34304 (exit $ac_status); }; }; then
34305 eval "$as_ac_var=yes"
34306 else
34307 echo "$as_me: failed program was:" >&5
34308 sed 's/^/| /' conftest.$ac_ext >&5
34309
34310 eval "$as_ac_var=no"
34311 fi
34312 rm -f conftest.err conftest.$ac_objext \
34313 conftest$ac_exeext conftest.$ac_ext
34314 fi
34315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34317 if test `eval echo '${'$as_ac_var'}'` = yes; then
34318 cat >>confdefs.h <<_ACEOF
34319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34320 _ACEOF
34321 WCSLEN_FOUND=1
34322 fi
34323 done
34324
34325
34326 if test "$WCSLEN_FOUND" = 0; then
34327 if test "$TOOLKIT" = "MSW"; then
34328 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34329 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34330 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34331 echo $ECHO_N "(cached) $ECHO_C" >&6
34332 else
34333 ac_check_lib_save_LIBS=$LIBS
34334 LIBS="-lmsvcrt $LIBS"
34335 cat >conftest.$ac_ext <<_ACEOF
34336 /* confdefs.h. */
34337 _ACEOF
34338 cat confdefs.h >>conftest.$ac_ext
34339 cat >>conftest.$ac_ext <<_ACEOF
34340 /* end confdefs.h. */
34341
34342 /* Override any gcc2 internal prototype to avoid an error. */
34343 #ifdef __cplusplus
34344 extern "C"
34345 #endif
34346 /* We use char because int might match the return type of a gcc2
34347 builtin and then its argument prototype would still apply. */
34348 char wcslen ();
34349 int
34350 main ()
34351 {
34352 wcslen ();
34353 ;
34354 return 0;
34355 }
34356 _ACEOF
34357 rm -f conftest.$ac_objext conftest$ac_exeext
34358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34359 (eval $ac_link) 2>conftest.er1
34360 ac_status=$?
34361 grep -v '^ *+' conftest.er1 >conftest.err
34362 rm -f conftest.er1
34363 cat conftest.err >&5
34364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34365 (exit $ac_status); } &&
34366 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34368 (eval $ac_try) 2>&5
34369 ac_status=$?
34370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34371 (exit $ac_status); }; } &&
34372 { ac_try='test -s conftest$ac_exeext'
34373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34374 (eval $ac_try) 2>&5
34375 ac_status=$?
34376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34377 (exit $ac_status); }; }; then
34378 ac_cv_lib_msvcrt_wcslen=yes
34379 else
34380 echo "$as_me: failed program was:" >&5
34381 sed 's/^/| /' conftest.$ac_ext >&5
34382
34383 ac_cv_lib_msvcrt_wcslen=no
34384 fi
34385 rm -f conftest.err conftest.$ac_objext \
34386 conftest$ac_exeext conftest.$ac_ext
34387 LIBS=$ac_check_lib_save_LIBS
34388 fi
34389 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34390 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34391 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34392 WCHAR_OK=1
34393 fi
34394
34395 else
34396 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34397 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34398 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34399 echo $ECHO_N "(cached) $ECHO_C" >&6
34400 else
34401 ac_check_lib_save_LIBS=$LIBS
34402 LIBS="-lw $LIBS"
34403 cat >conftest.$ac_ext <<_ACEOF
34404 /* confdefs.h. */
34405 _ACEOF
34406 cat confdefs.h >>conftest.$ac_ext
34407 cat >>conftest.$ac_ext <<_ACEOF
34408 /* end confdefs.h. */
34409
34410 /* Override any gcc2 internal prototype to avoid an error. */
34411 #ifdef __cplusplus
34412 extern "C"
34413 #endif
34414 /* We use char because int might match the return type of a gcc2
34415 builtin and then its argument prototype would still apply. */
34416 char wcslen ();
34417 int
34418 main ()
34419 {
34420 wcslen ();
34421 ;
34422 return 0;
34423 }
34424 _ACEOF
34425 rm -f conftest.$ac_objext conftest$ac_exeext
34426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34427 (eval $ac_link) 2>conftest.er1
34428 ac_status=$?
34429 grep -v '^ *+' conftest.er1 >conftest.err
34430 rm -f conftest.er1
34431 cat conftest.err >&5
34432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34433 (exit $ac_status); } &&
34434 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34436 (eval $ac_try) 2>&5
34437 ac_status=$?
34438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439 (exit $ac_status); }; } &&
34440 { ac_try='test -s conftest$ac_exeext'
34441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34442 (eval $ac_try) 2>&5
34443 ac_status=$?
34444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445 (exit $ac_status); }; }; then
34446 ac_cv_lib_w_wcslen=yes
34447 else
34448 echo "$as_me: failed program was:" >&5
34449 sed 's/^/| /' conftest.$ac_ext >&5
34450
34451 ac_cv_lib_w_wcslen=no
34452 fi
34453 rm -f conftest.err conftest.$ac_objext \
34454 conftest$ac_exeext conftest.$ac_ext
34455 LIBS=$ac_check_lib_save_LIBS
34456 fi
34457 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34458 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34459 if test $ac_cv_lib_w_wcslen = yes; then
34460
34461 WCHAR_LINK=" -lw"
34462 WCSLEN_FOUND=1
34463
34464 fi
34465
34466 fi
34467 fi
34468
34469 if test "$WCSLEN_FOUND" = 1; then
34470 cat >>confdefs.h <<\_ACEOF
34471 #define HAVE_WCSLEN 1
34472 _ACEOF
34473
34474 fi
34475
34476 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34477 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34478 fi
34479
34480 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34481 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34482 if test "${ac_cv_type_mbstate_t+set}" = set; then
34483 echo $ECHO_N "(cached) $ECHO_C" >&6
34484 else
34485 cat >conftest.$ac_ext <<_ACEOF
34486 /* confdefs.h. */
34487 _ACEOF
34488 cat confdefs.h >>conftest.$ac_ext
34489 cat >>conftest.$ac_ext <<_ACEOF
34490 /* end confdefs.h. */
34491 #include <wchar.h>
34492
34493 int
34494 main ()
34495 {
34496 if ((mbstate_t *) 0)
34497 return 0;
34498 if (sizeof (mbstate_t))
34499 return 0;
34500 ;
34501 return 0;
34502 }
34503 _ACEOF
34504 rm -f conftest.$ac_objext
34505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34506 (eval $ac_compile) 2>conftest.er1
34507 ac_status=$?
34508 grep -v '^ *+' conftest.er1 >conftest.err
34509 rm -f conftest.er1
34510 cat conftest.err >&5
34511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34512 (exit $ac_status); } &&
34513 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34515 (eval $ac_try) 2>&5
34516 ac_status=$?
34517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34518 (exit $ac_status); }; } &&
34519 { ac_try='test -s conftest.$ac_objext'
34520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34521 (eval $ac_try) 2>&5
34522 ac_status=$?
34523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34524 (exit $ac_status); }; }; then
34525 ac_cv_type_mbstate_t=yes
34526 else
34527 echo "$as_me: failed program was:" >&5
34528 sed 's/^/| /' conftest.$ac_ext >&5
34529
34530 ac_cv_type_mbstate_t=no
34531 fi
34532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34533 fi
34534 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34535 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34536 if test $ac_cv_type_mbstate_t = yes; then
34537
34538 cat >>confdefs.h <<_ACEOF
34539 #define HAVE_MBSTATE_T 1
34540 _ACEOF
34541
34542
34543 for ac_func in wcsrtombs
34544 do
34545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34546 echo "$as_me:$LINENO: checking for $ac_func" >&5
34547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34548 if eval "test \"\${$as_ac_var+set}\" = set"; then
34549 echo $ECHO_N "(cached) $ECHO_C" >&6
34550 else
34551 cat >conftest.$ac_ext <<_ACEOF
34552 /* confdefs.h. */
34553 _ACEOF
34554 cat confdefs.h >>conftest.$ac_ext
34555 cat >>conftest.$ac_ext <<_ACEOF
34556 /* end confdefs.h. */
34557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34559 #define $ac_func innocuous_$ac_func
34560
34561 /* System header to define __stub macros and hopefully few prototypes,
34562 which can conflict with char $ac_func (); below.
34563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34564 <limits.h> exists even on freestanding compilers. */
34565
34566 #ifdef __STDC__
34567 # include <limits.h>
34568 #else
34569 # include <assert.h>
34570 #endif
34571
34572 #undef $ac_func
34573
34574 /* Override any gcc2 internal prototype to avoid an error. */
34575 #ifdef __cplusplus
34576 extern "C"
34577 {
34578 #endif
34579 /* We use char because int might match the return type of a gcc2
34580 builtin and then its argument prototype would still apply. */
34581 char $ac_func ();
34582 /* The GNU C library defines this for functions which it implements
34583 to always fail with ENOSYS. Some functions are actually named
34584 something starting with __ and the normal name is an alias. */
34585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34586 choke me
34587 #else
34588 char (*f) () = $ac_func;
34589 #endif
34590 #ifdef __cplusplus
34591 }
34592 #endif
34593
34594 int
34595 main ()
34596 {
34597 return f != $ac_func;
34598 ;
34599 return 0;
34600 }
34601 _ACEOF
34602 rm -f conftest.$ac_objext conftest$ac_exeext
34603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34604 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
34624 else
34625 echo "$as_me: failed program was:" >&5
34626 sed 's/^/| /' conftest.$ac_ext >&5
34627
34628 eval "$as_ac_var=no"
34629 fi
34630 rm -f conftest.err conftest.$ac_objext \
34631 conftest$ac_exeext conftest.$ac_ext
34632 fi
34633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34635 if test `eval echo '${'$as_ac_var'}'` = yes; then
34636 cat >>confdefs.h <<_ACEOF
34637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34638 _ACEOF
34639
34640 fi
34641 done
34642
34643 fi
34644
34645 else
34646 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34647 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34648 fi
34649
34650
34651
34652 for ac_func in snprintf vsnprintf
34653 do
34654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34655 echo "$as_me:$LINENO: checking for $ac_func" >&5
34656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34657 if eval "test \"\${$as_ac_var+set}\" = set"; then
34658 echo $ECHO_N "(cached) $ECHO_C" >&6
34659 else
34660 cat >conftest.$ac_ext <<_ACEOF
34661 /* confdefs.h. */
34662 _ACEOF
34663 cat confdefs.h >>conftest.$ac_ext
34664 cat >>conftest.$ac_ext <<_ACEOF
34665 /* end confdefs.h. */
34666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34668 #define $ac_func innocuous_$ac_func
34669
34670 /* System header to define __stub macros and hopefully few prototypes,
34671 which can conflict with char $ac_func (); below.
34672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34673 <limits.h> exists even on freestanding compilers. */
34674
34675 #ifdef __STDC__
34676 # include <limits.h>
34677 #else
34678 # include <assert.h>
34679 #endif
34680
34681 #undef $ac_func
34682
34683 /* Override any gcc2 internal prototype to avoid an error. */
34684 #ifdef __cplusplus
34685 extern "C"
34686 {
34687 #endif
34688 /* We use char because int might match the return type of a gcc2
34689 builtin and then its argument prototype would still apply. */
34690 char $ac_func ();
34691 /* The GNU C library defines this for functions which it implements
34692 to always fail with ENOSYS. Some functions are actually named
34693 something starting with __ and the normal name is an alias. */
34694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34695 choke me
34696 #else
34697 char (*f) () = $ac_func;
34698 #endif
34699 #ifdef __cplusplus
34700 }
34701 #endif
34702
34703 int
34704 main ()
34705 {
34706 return f != $ac_func;
34707 ;
34708 return 0;
34709 }
34710 _ACEOF
34711 rm -f conftest.$ac_objext conftest$ac_exeext
34712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34713 (eval $ac_link) 2>conftest.er1
34714 ac_status=$?
34715 grep -v '^ *+' conftest.er1 >conftest.err
34716 rm -f conftest.er1
34717 cat conftest.err >&5
34718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34719 (exit $ac_status); } &&
34720 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34722 (eval $ac_try) 2>&5
34723 ac_status=$?
34724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34725 (exit $ac_status); }; } &&
34726 { ac_try='test -s conftest$ac_exeext'
34727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34728 (eval $ac_try) 2>&5
34729 ac_status=$?
34730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34731 (exit $ac_status); }; }; then
34732 eval "$as_ac_var=yes"
34733 else
34734 echo "$as_me: failed program was:" >&5
34735 sed 's/^/| /' conftest.$ac_ext >&5
34736
34737 eval "$as_ac_var=no"
34738 fi
34739 rm -f conftest.err conftest.$ac_objext \
34740 conftest$ac_exeext conftest.$ac_ext
34741 fi
34742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34744 if test `eval echo '${'$as_ac_var'}'` = yes; then
34745 cat >>confdefs.h <<_ACEOF
34746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34747 _ACEOF
34748
34749 fi
34750 done
34751
34752
34753 if test "$ac_cv_func_vsnprintf" = "yes"; then
34754 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34755 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34756 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34757 echo $ECHO_N "(cached) $ECHO_C" >&6
34758 else
34759
34760 cat >conftest.$ac_ext <<_ACEOF
34761 /* confdefs.h. */
34762 _ACEOF
34763 cat confdefs.h >>conftest.$ac_ext
34764 cat >>conftest.$ac_ext <<_ACEOF
34765 /* end confdefs.h. */
34766
34767 #include <stdio.h>
34768 #include <stdarg.h>
34769 #ifdef __MSL__
34770 #if __MSL__ >= 0x6000
34771 namespace std {}
34772 using namespace std;
34773 #endif
34774 #endif
34775
34776 int
34777 main ()
34778 {
34779
34780 char *buf;
34781 va_list ap;
34782 vsnprintf(buf, 10u, "%s", ap);
34783
34784 ;
34785 return 0;
34786 }
34787 _ACEOF
34788 rm -f conftest.$ac_objext
34789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34790 (eval $ac_compile) 2>conftest.er1
34791 ac_status=$?
34792 grep -v '^ *+' conftest.er1 >conftest.err
34793 rm -f conftest.er1
34794 cat conftest.err >&5
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); } &&
34797 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34799 (eval $ac_try) 2>&5
34800 ac_status=$?
34801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34802 (exit $ac_status); }; } &&
34803 { ac_try='test -s conftest.$ac_objext'
34804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34805 (eval $ac_try) 2>&5
34806 ac_status=$?
34807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808 (exit $ac_status); }; }; then
34809 wx_cv_func_vsnprintf_decl=yes
34810 else
34811 echo "$as_me: failed program was:" >&5
34812 sed 's/^/| /' conftest.$ac_ext >&5
34813
34814 wx_cv_func_vsnprintf_decl=no
34815
34816 fi
34817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34818
34819
34820 fi
34821 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34822 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34823
34824 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34825 cat >>confdefs.h <<\_ACEOF
34826 #define HAVE_VSNPRINTF_DECL 1
34827 _ACEOF
34828
34829
34830 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34831 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34832 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34833 echo $ECHO_N "(cached) $ECHO_C" >&6
34834 else
34835
34836 cat >conftest.$ac_ext <<_ACEOF
34837 /* confdefs.h. */
34838 _ACEOF
34839 cat confdefs.h >>conftest.$ac_ext
34840 cat >>conftest.$ac_ext <<_ACEOF
34841 /* end confdefs.h. */
34842
34843 #include <stdio.h>
34844 #include <stdarg.h>
34845 #ifdef __MSL__
34846 #if __MSL__ >= 0x6000
34847 namespace std {}
34848 using namespace std;
34849 #endif
34850 #endif
34851
34852 int
34853 main ()
34854 {
34855
34856 char *buf;
34857 va_list ap;
34858 const char *fmt = "%s";
34859 vsnprintf(buf, 10u, fmt, ap);
34860
34861 ;
34862 return 0;
34863 }
34864 _ACEOF
34865 rm -f conftest.$ac_objext
34866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34867 (eval $ac_compile) 2>conftest.er1
34868 ac_status=$?
34869 grep -v '^ *+' conftest.er1 >conftest.err
34870 rm -f conftest.er1
34871 cat conftest.err >&5
34872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34873 (exit $ac_status); } &&
34874 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34876 (eval $ac_try) 2>&5
34877 ac_status=$?
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); }; } &&
34880 { ac_try='test -s conftest.$ac_objext'
34881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34882 (eval $ac_try) 2>&5
34883 ac_status=$?
34884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34885 (exit $ac_status); }; }; then
34886 wx_cv_func_broken_vsnprintf_decl=no
34887 else
34888 echo "$as_me: failed program was:" >&5
34889 sed 's/^/| /' conftest.$ac_ext >&5
34890
34891 wx_cv_func_broken_vsnprintf_decl=yes
34892
34893 fi
34894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34895
34896
34897 fi
34898 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34899 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34900
34901 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34902 cat >>confdefs.h <<\_ACEOF
34903 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34904 _ACEOF
34905
34906 fi
34907 fi
34908 fi
34909
34910 if test "$ac_cv_func_snprintf" = "yes"; then
34911 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34912 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34913 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34914 echo $ECHO_N "(cached) $ECHO_C" >&6
34915 else
34916
34917 cat >conftest.$ac_ext <<_ACEOF
34918 /* confdefs.h. */
34919 _ACEOF
34920 cat confdefs.h >>conftest.$ac_ext
34921 cat >>conftest.$ac_ext <<_ACEOF
34922 /* end confdefs.h. */
34923
34924 #include <stdio.h>
34925 #include <stdarg.h>
34926 #ifdef __MSL__
34927 #if __MSL__ >= 0x6000
34928 namespace std {}
34929 using namespace std;
34930 #endif
34931 #endif
34932
34933 int
34934 main ()
34935 {
34936
34937 char *buf;
34938 snprintf(buf, 10u, "%s", "wx");
34939
34940 ;
34941 return 0;
34942 }
34943 _ACEOF
34944 rm -f conftest.$ac_objext
34945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34946 (eval $ac_compile) 2>conftest.er1
34947 ac_status=$?
34948 grep -v '^ *+' conftest.er1 >conftest.err
34949 rm -f conftest.er1
34950 cat conftest.err >&5
34951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34952 (exit $ac_status); } &&
34953 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34955 (eval $ac_try) 2>&5
34956 ac_status=$?
34957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34958 (exit $ac_status); }; } &&
34959 { ac_try='test -s conftest.$ac_objext'
34960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34961 (eval $ac_try) 2>&5
34962 ac_status=$?
34963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34964 (exit $ac_status); }; }; then
34965 wx_cv_func_snprintf_decl=yes
34966 else
34967 echo "$as_me: failed program was:" >&5
34968 sed 's/^/| /' conftest.$ac_ext >&5
34969
34970 wx_cv_func_snprintf_decl=no
34971
34972 fi
34973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34974
34975
34976 fi
34977 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34978 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
34979
34980 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34981 cat >>confdefs.h <<\_ACEOF
34982 #define HAVE_SNPRINTF_DECL 1
34983 _ACEOF
34984
34985
34986 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34987 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
34988 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34989 echo $ECHO_N "(cached) $ECHO_C" >&6
34990 else
34991
34992 cat >conftest.$ac_ext <<_ACEOF
34993 /* confdefs.h. */
34994 _ACEOF
34995 cat confdefs.h >>conftest.$ac_ext
34996 cat >>conftest.$ac_ext <<_ACEOF
34997 /* end confdefs.h. */
34998
34999 #include <stdio.h>
35000 #include <stdarg.h>
35001 #ifdef __MSL__
35002 #if __MSL__ >= 0x6000
35003 namespace std {}
35004 using namespace std;
35005 #endif
35006 #endif
35007
35008 int
35009 main ()
35010 {
35011
35012 char *buf;
35013 const char *fmt = "%s";
35014 snprintf(buf, 10u, fmt, "wx");
35015
35016 ;
35017 return 0;
35018 }
35019 _ACEOF
35020 rm -f conftest.$ac_objext
35021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35022 (eval $ac_compile) 2>conftest.er1
35023 ac_status=$?
35024 grep -v '^ *+' conftest.er1 >conftest.err
35025 rm -f conftest.er1
35026 cat conftest.err >&5
35027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35028 (exit $ac_status); } &&
35029 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35031 (eval $ac_try) 2>&5
35032 ac_status=$?
35033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35034 (exit $ac_status); }; } &&
35035 { ac_try='test -s conftest.$ac_objext'
35036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35037 (eval $ac_try) 2>&5
35038 ac_status=$?
35039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35040 (exit $ac_status); }; }; then
35041 wx_cv_func_broken_snprintf_decl=no
35042 else
35043 echo "$as_me: failed program was:" >&5
35044 sed 's/^/| /' conftest.$ac_ext >&5
35045
35046 wx_cv_func_broken_snprintf_decl=yes
35047
35048 fi
35049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35050
35051
35052 fi
35053 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35054 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35055
35056 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35057 cat >>confdefs.h <<\_ACEOF
35058 #define HAVE_BROKEN_SNPRINTF_DECL 1
35059 _ACEOF
35060
35061 fi
35062 fi
35063
35064 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35065
35066 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35067 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35068 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35069 echo $ECHO_N "(cached) $ECHO_C" >&6
35070 else
35071
35072 if test "$cross_compiling" = yes; then
35073
35074 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35075 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35076 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35077 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35078 wx_cv_func_snprintf_pos_params=no
35079
35080
35081 else
35082 cat >conftest.$ac_ext <<_ACEOF
35083 /* confdefs.h. */
35084 _ACEOF
35085 cat confdefs.h >>conftest.$ac_ext
35086 cat >>conftest.$ac_ext <<_ACEOF
35087 /* end confdefs.h. */
35088
35089 #include <stdio.h>
35090
35091 int main (void)
35092 {
35093 char buffer[128];
35094 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35095 if (strcmp ("2 3 1", buffer) == 0)
35096 exit (0);
35097 exit (1);
35098 }
35099
35100 _ACEOF
35101 rm -f conftest$ac_exeext
35102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35103 (eval $ac_link) 2>&5
35104 ac_status=$?
35105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35108 (eval $ac_try) 2>&5
35109 ac_status=$?
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); }; }; then
35112 wx_cv_func_snprintf_pos_params=no
35113 else
35114 echo "$as_me: program exited with status $ac_status" >&5
35115 echo "$as_me: failed program was:" >&5
35116 sed 's/^/| /' conftest.$ac_ext >&5
35117
35118 ( exit $ac_status )
35119 wx_cv_func_snprintf_pos_params=yes
35120 fi
35121 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35122 fi
35123
35124
35125 fi
35126 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35127 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35128
35129 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35130 cat >>confdefs.h <<\_ACEOF
35131 #define HAVE_UNIX98_PRINTF 1
35132 _ACEOF
35133
35134 fi
35135 fi
35136 fi
35137
35138 if test "$wxUSE_UNICODE" = yes; then
35139
35140
35141 for ac_func in swprintf
35142 do
35143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35144 echo "$as_me:$LINENO: checking for $ac_func" >&5
35145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35146 if eval "test \"\${$as_ac_var+set}\" = set"; then
35147 echo $ECHO_N "(cached) $ECHO_C" >&6
35148 else
35149 cat >conftest.$ac_ext <<_ACEOF
35150 /* confdefs.h. */
35151 _ACEOF
35152 cat confdefs.h >>conftest.$ac_ext
35153 cat >>conftest.$ac_ext <<_ACEOF
35154 /* end confdefs.h. */
35155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35157 #define $ac_func innocuous_$ac_func
35158
35159 /* System header to define __stub macros and hopefully few prototypes,
35160 which can conflict with char $ac_func (); below.
35161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35162 <limits.h> exists even on freestanding compilers. */
35163
35164 #ifdef __STDC__
35165 # include <limits.h>
35166 #else
35167 # include <assert.h>
35168 #endif
35169
35170 #undef $ac_func
35171
35172 /* Override any gcc2 internal prototype to avoid an error. */
35173 #ifdef __cplusplus
35174 extern "C"
35175 {
35176 #endif
35177 /* We use char because int might match the return type of a gcc2
35178 builtin and then its argument prototype would still apply. */
35179 char $ac_func ();
35180 /* The GNU C library defines this for functions which it implements
35181 to always fail with ENOSYS. Some functions are actually named
35182 something starting with __ and the normal name is an alias. */
35183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35184 choke me
35185 #else
35186 char (*f) () = $ac_func;
35187 #endif
35188 #ifdef __cplusplus
35189 }
35190 #endif
35191
35192 int
35193 main ()
35194 {
35195 return f != $ac_func;
35196 ;
35197 return 0;
35198 }
35199 _ACEOF
35200 rm -f conftest.$ac_objext conftest$ac_exeext
35201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35202 (eval $ac_link) 2>conftest.er1
35203 ac_status=$?
35204 grep -v '^ *+' conftest.er1 >conftest.err
35205 rm -f conftest.er1
35206 cat conftest.err >&5
35207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35208 (exit $ac_status); } &&
35209 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35211 (eval $ac_try) 2>&5
35212 ac_status=$?
35213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35214 (exit $ac_status); }; } &&
35215 { ac_try='test -s conftest$ac_exeext'
35216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35217 (eval $ac_try) 2>&5
35218 ac_status=$?
35219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35220 (exit $ac_status); }; }; then
35221 eval "$as_ac_var=yes"
35222 else
35223 echo "$as_me: failed program was:" >&5
35224 sed 's/^/| /' conftest.$ac_ext >&5
35225
35226 eval "$as_ac_var=no"
35227 fi
35228 rm -f conftest.err conftest.$ac_objext \
35229 conftest$ac_exeext conftest.$ac_ext
35230 fi
35231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35233 if test `eval echo '${'$as_ac_var'}'` = yes; then
35234 cat >>confdefs.h <<_ACEOF
35235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35236 _ACEOF
35237
35238 fi
35239 done
35240
35241
35242 if test "$ac_cv_func_swprintf" = "yes"; then
35243 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35244 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35245 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35246 echo $ECHO_N "(cached) $ECHO_C" >&6
35247 else
35248
35249 cat >conftest.$ac_ext <<_ACEOF
35250 /* confdefs.h. */
35251 _ACEOF
35252 cat confdefs.h >>conftest.$ac_ext
35253 cat >>conftest.$ac_ext <<_ACEOF
35254 /* end confdefs.h. */
35255
35256 #include <stdio.h>
35257 #include <stdarg.h>
35258 #include <wchar.h>
35259
35260 int
35261 main ()
35262 {
35263
35264 wchar_t *buf;
35265 const wchar_t *fmt = L"test";
35266 swprintf(buf, 10u, fmt);
35267
35268 ;
35269 return 0;
35270 }
35271 _ACEOF
35272 rm -f conftest.$ac_objext
35273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35274 (eval $ac_compile) 2>conftest.er1
35275 ac_status=$?
35276 grep -v '^ *+' conftest.er1 >conftest.err
35277 rm -f conftest.er1
35278 cat conftest.err >&5
35279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35280 (exit $ac_status); } &&
35281 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35283 (eval $ac_try) 2>&5
35284 ac_status=$?
35285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35286 (exit $ac_status); }; } &&
35287 { ac_try='test -s conftest.$ac_objext'
35288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35289 (eval $ac_try) 2>&5
35290 ac_status=$?
35291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35292 (exit $ac_status); }; }; then
35293 wx_cv_func_broken_swprintf_decl=no
35294 else
35295 echo "$as_me: failed program was:" >&5
35296 sed 's/^/| /' conftest.$ac_ext >&5
35297
35298 wx_cv_func_broken_swprintf_decl=yes
35299
35300 fi
35301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35302
35303
35304 fi
35305 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35306 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35307
35308 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35309 cat >>confdefs.h <<\_ACEOF
35310 #define HAVE_BROKEN_SWPRINTF_DECL 1
35311 _ACEOF
35312
35313 fi
35314 fi
35315
35316
35317
35318
35319
35320
35321
35322 for ac_func in wputc wputchar putws fputws wprintf vswprintf
35323 do
35324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35325 echo "$as_me:$LINENO: checking for $ac_func" >&5
35326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35327 if eval "test \"\${$as_ac_var+set}\" = set"; then
35328 echo $ECHO_N "(cached) $ECHO_C" >&6
35329 else
35330 cat >conftest.$ac_ext <<_ACEOF
35331 /* confdefs.h. */
35332 _ACEOF
35333 cat confdefs.h >>conftest.$ac_ext
35334 cat >>conftest.$ac_ext <<_ACEOF
35335 /* end confdefs.h. */
35336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35338 #define $ac_func innocuous_$ac_func
35339
35340 /* System header to define __stub macros and hopefully few prototypes,
35341 which can conflict with char $ac_func (); below.
35342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35343 <limits.h> exists even on freestanding compilers. */
35344
35345 #ifdef __STDC__
35346 # include <limits.h>
35347 #else
35348 # include <assert.h>
35349 #endif
35350
35351 #undef $ac_func
35352
35353 /* Override any gcc2 internal prototype to avoid an error. */
35354 #ifdef __cplusplus
35355 extern "C"
35356 {
35357 #endif
35358 /* We use char because int might match the return type of a gcc2
35359 builtin and then its argument prototype would still apply. */
35360 char $ac_func ();
35361 /* The GNU C library defines this for functions which it implements
35362 to always fail with ENOSYS. Some functions are actually named
35363 something starting with __ and the normal name is an alias. */
35364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35365 choke me
35366 #else
35367 char (*f) () = $ac_func;
35368 #endif
35369 #ifdef __cplusplus
35370 }
35371 #endif
35372
35373 int
35374 main ()
35375 {
35376 return f != $ac_func;
35377 ;
35378 return 0;
35379 }
35380 _ACEOF
35381 rm -f conftest.$ac_objext conftest$ac_exeext
35382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35383 (eval $ac_link) 2>conftest.er1
35384 ac_status=$?
35385 grep -v '^ *+' conftest.er1 >conftest.err
35386 rm -f conftest.er1
35387 cat conftest.err >&5
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); } &&
35390 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35392 (eval $ac_try) 2>&5
35393 ac_status=$?
35394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395 (exit $ac_status); }; } &&
35396 { ac_try='test -s conftest$ac_exeext'
35397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35398 (eval $ac_try) 2>&5
35399 ac_status=$?
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); }; }; then
35402 eval "$as_ac_var=yes"
35403 else
35404 echo "$as_me: failed program was:" >&5
35405 sed 's/^/| /' conftest.$ac_ext >&5
35406
35407 eval "$as_ac_var=no"
35408 fi
35409 rm -f conftest.err conftest.$ac_objext \
35410 conftest$ac_exeext conftest.$ac_ext
35411 fi
35412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35414 if test `eval echo '${'$as_ac_var'}'` = yes; then
35415 cat >>confdefs.h <<_ACEOF
35416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35417 _ACEOF
35418
35419 fi
35420 done
35421
35422
35423 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35424 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35425 cat >conftest.$ac_ext <<_ACEOF
35426 /* confdefs.h. */
35427 _ACEOF
35428 cat confdefs.h >>conftest.$ac_ext
35429 cat >>conftest.$ac_ext <<_ACEOF
35430 /* end confdefs.h. */
35431 #include <wchar.h>
35432 int
35433 main ()
35434 {
35435 &_vsnwprintf;
35436 ;
35437 return 0;
35438 }
35439 _ACEOF
35440 rm -f conftest.$ac_objext
35441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35442 (eval $ac_compile) 2>conftest.er1
35443 ac_status=$?
35444 grep -v '^ *+' conftest.er1 >conftest.err
35445 rm -f conftest.er1
35446 cat conftest.err >&5
35447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35448 (exit $ac_status); } &&
35449 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35451 (eval $ac_try) 2>&5
35452 ac_status=$?
35453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35454 (exit $ac_status); }; } &&
35455 { ac_try='test -s conftest.$ac_objext'
35456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35457 (eval $ac_try) 2>&5
35458 ac_status=$?
35459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35460 (exit $ac_status); }; }; then
35461 echo "$as_me:$LINENO: result: yes" >&5
35462 echo "${ECHO_T}yes" >&6
35463 cat >>confdefs.h <<\_ACEOF
35464 #define HAVE__VSNWPRINTF 1
35465 _ACEOF
35466
35467 else
35468 echo "$as_me: failed program was:" >&5
35469 sed 's/^/| /' conftest.$ac_ext >&5
35470
35471 echo "$as_me:$LINENO: result: no" >&5
35472 echo "${ECHO_T}no" >&6
35473 fi
35474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35475 fi
35476
35477 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35478
35479 for ac_func in fnmatch
35480 do
35481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35482 echo "$as_me:$LINENO: checking for $ac_func" >&5
35483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35484 if eval "test \"\${$as_ac_var+set}\" = set"; then
35485 echo $ECHO_N "(cached) $ECHO_C" >&6
35486 else
35487 cat >conftest.$ac_ext <<_ACEOF
35488 /* confdefs.h. */
35489 _ACEOF
35490 cat confdefs.h >>conftest.$ac_ext
35491 cat >>conftest.$ac_ext <<_ACEOF
35492 /* end confdefs.h. */
35493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35495 #define $ac_func innocuous_$ac_func
35496
35497 /* System header to define __stub macros and hopefully few prototypes,
35498 which can conflict with char $ac_func (); below.
35499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35500 <limits.h> exists even on freestanding compilers. */
35501
35502 #ifdef __STDC__
35503 # include <limits.h>
35504 #else
35505 # include <assert.h>
35506 #endif
35507
35508 #undef $ac_func
35509
35510 /* Override any gcc2 internal prototype to avoid an error. */
35511 #ifdef __cplusplus
35512 extern "C"
35513 {
35514 #endif
35515 /* We use char because int might match the return type of a gcc2
35516 builtin and then its argument prototype would still apply. */
35517 char $ac_func ();
35518 /* The GNU C library defines this for functions which it implements
35519 to always fail with ENOSYS. Some functions are actually named
35520 something starting with __ and the normal name is an alias. */
35521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35522 choke me
35523 #else
35524 char (*f) () = $ac_func;
35525 #endif
35526 #ifdef __cplusplus
35527 }
35528 #endif
35529
35530 int
35531 main ()
35532 {
35533 return f != $ac_func;
35534 ;
35535 return 0;
35536 }
35537 _ACEOF
35538 rm -f conftest.$ac_objext conftest$ac_exeext
35539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35540 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
35560 else
35561 echo "$as_me: failed program was:" >&5
35562 sed 's/^/| /' conftest.$ac_ext >&5
35563
35564 eval "$as_ac_var=no"
35565 fi
35566 rm -f conftest.err conftest.$ac_objext \
35567 conftest$ac_exeext conftest.$ac_ext
35568 fi
35569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35571 if test `eval echo '${'$as_ac_var'}'` = yes; then
35572 cat >>confdefs.h <<_ACEOF
35573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35574 _ACEOF
35575
35576 fi
35577 done
35578
35579 fi
35580
35581 if test "$wxUSE_FILE" = "yes"; then
35582
35583 for ac_func in fsync
35584 do
35585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35586 echo "$as_me:$LINENO: checking for $ac_func" >&5
35587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35588 if eval "test \"\${$as_ac_var+set}\" = set"; then
35589 echo $ECHO_N "(cached) $ECHO_C" >&6
35590 else
35591 cat >conftest.$ac_ext <<_ACEOF
35592 /* confdefs.h. */
35593 _ACEOF
35594 cat confdefs.h >>conftest.$ac_ext
35595 cat >>conftest.$ac_ext <<_ACEOF
35596 /* end confdefs.h. */
35597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35599 #define $ac_func innocuous_$ac_func
35600
35601 /* System header to define __stub macros and hopefully few prototypes,
35602 which can conflict with char $ac_func (); below.
35603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35604 <limits.h> exists even on freestanding compilers. */
35605
35606 #ifdef __STDC__
35607 # include <limits.h>
35608 #else
35609 # include <assert.h>
35610 #endif
35611
35612 #undef $ac_func
35613
35614 /* Override any gcc2 internal prototype to avoid an error. */
35615 #ifdef __cplusplus
35616 extern "C"
35617 {
35618 #endif
35619 /* We use char because int might match the return type of a gcc2
35620 builtin and then its argument prototype would still apply. */
35621 char $ac_func ();
35622 /* The GNU C library defines this for functions which it implements
35623 to always fail with ENOSYS. Some functions are actually named
35624 something starting with __ and the normal name is an alias. */
35625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35626 choke me
35627 #else
35628 char (*f) () = $ac_func;
35629 #endif
35630 #ifdef __cplusplus
35631 }
35632 #endif
35633
35634 int
35635 main ()
35636 {
35637 return f != $ac_func;
35638 ;
35639 return 0;
35640 }
35641 _ACEOF
35642 rm -f conftest.$ac_objext conftest$ac_exeext
35643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35644 (eval $ac_link) 2>conftest.er1
35645 ac_status=$?
35646 grep -v '^ *+' conftest.er1 >conftest.err
35647 rm -f conftest.er1
35648 cat conftest.err >&5
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); } &&
35651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
35657 { ac_try='test -s conftest$ac_exeext'
35658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35659 (eval $ac_try) 2>&5
35660 ac_status=$?
35661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35662 (exit $ac_status); }; }; then
35663 eval "$as_ac_var=yes"
35664 else
35665 echo "$as_me: failed program was:" >&5
35666 sed 's/^/| /' conftest.$ac_ext >&5
35667
35668 eval "$as_ac_var=no"
35669 fi
35670 rm -f conftest.err conftest.$ac_objext \
35671 conftest$ac_exeext conftest.$ac_ext
35672 fi
35673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35674 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35675 if test `eval echo '${'$as_ac_var'}'` = yes; then
35676 cat >>confdefs.h <<_ACEOF
35677 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35678 _ACEOF
35679
35680 fi
35681 done
35682
35683 fi
35684
35685
35686 for ac_func in round
35687 do
35688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35689 echo "$as_me:$LINENO: checking for $ac_func" >&5
35690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35691 if eval "test \"\${$as_ac_var+set}\" = set"; then
35692 echo $ECHO_N "(cached) $ECHO_C" >&6
35693 else
35694 cat >conftest.$ac_ext <<_ACEOF
35695 /* confdefs.h. */
35696 _ACEOF
35697 cat confdefs.h >>conftest.$ac_ext
35698 cat >>conftest.$ac_ext <<_ACEOF
35699 /* end confdefs.h. */
35700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35702 #define $ac_func innocuous_$ac_func
35703
35704 /* System header to define __stub macros and hopefully few prototypes,
35705 which can conflict with char $ac_func (); below.
35706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35707 <limits.h> exists even on freestanding compilers. */
35708
35709 #ifdef __STDC__
35710 # include <limits.h>
35711 #else
35712 # include <assert.h>
35713 #endif
35714
35715 #undef $ac_func
35716
35717 /* Override any gcc2 internal prototype to avoid an error. */
35718 #ifdef __cplusplus
35719 extern "C"
35720 {
35721 #endif
35722 /* We use char because int might match the return type of a gcc2
35723 builtin and then its argument prototype would still apply. */
35724 char $ac_func ();
35725 /* The GNU C library defines this for functions which it implements
35726 to always fail with ENOSYS. Some functions are actually named
35727 something starting with __ and the normal name is an alias. */
35728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35729 choke me
35730 #else
35731 char (*f) () = $ac_func;
35732 #endif
35733 #ifdef __cplusplus
35734 }
35735 #endif
35736
35737 int
35738 main ()
35739 {
35740 return f != $ac_func;
35741 ;
35742 return 0;
35743 }
35744 _ACEOF
35745 rm -f conftest.$ac_objext conftest$ac_exeext
35746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35747 (eval $ac_link) 2>conftest.er1
35748 ac_status=$?
35749 grep -v '^ *+' conftest.er1 >conftest.err
35750 rm -f conftest.er1
35751 cat conftest.err >&5
35752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35753 (exit $ac_status); } &&
35754 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35756 (eval $ac_try) 2>&5
35757 ac_status=$?
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); }; } &&
35760 { ac_try='test -s conftest$ac_exeext'
35761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35762 (eval $ac_try) 2>&5
35763 ac_status=$?
35764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765 (exit $ac_status); }; }; then
35766 eval "$as_ac_var=yes"
35767 else
35768 echo "$as_me: failed program was:" >&5
35769 sed 's/^/| /' conftest.$ac_ext >&5
35770
35771 eval "$as_ac_var=no"
35772 fi
35773 rm -f conftest.err conftest.$ac_objext \
35774 conftest$ac_exeext conftest.$ac_ext
35775 fi
35776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35778 if test `eval echo '${'$as_ac_var'}'` = yes; then
35779 cat >>confdefs.h <<_ACEOF
35780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35781 _ACEOF
35782
35783 fi
35784 done
35785
35786 if test "$ac_cv_func_round" = yes; then
35787 echo "$as_me:$LINENO: checking whether round is declared" >&5
35788 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
35789 if test "${ac_cv_have_decl_round+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 #include <math.h>
35799
35800 int
35801 main ()
35802 {
35803 #ifndef round
35804 char *p = (char *) round;
35805 #endif
35806
35807 ;
35808 return 0;
35809 }
35810 _ACEOF
35811 rm -f conftest.$ac_objext
35812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35813 (eval $ac_compile) 2>conftest.er1
35814 ac_status=$?
35815 grep -v '^ *+' conftest.er1 >conftest.err
35816 rm -f conftest.er1
35817 cat conftest.err >&5
35818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35819 (exit $ac_status); } &&
35820 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35822 (eval $ac_try) 2>&5
35823 ac_status=$?
35824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35825 (exit $ac_status); }; } &&
35826 { ac_try='test -s conftest.$ac_objext'
35827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35828 (eval $ac_try) 2>&5
35829 ac_status=$?
35830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35831 (exit $ac_status); }; }; then
35832 ac_cv_have_decl_round=yes
35833 else
35834 echo "$as_me: failed program was:" >&5
35835 sed 's/^/| /' conftest.$ac_ext >&5
35836
35837 ac_cv_have_decl_round=no
35838 fi
35839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35840 fi
35841 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
35842 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
35843 if test $ac_cv_have_decl_round = yes; then
35844
35845 cat >>confdefs.h <<_ACEOF
35846 #define HAVE_DECL_ROUND 1
35847 _ACEOF
35848
35849
35850 else
35851 cat >>confdefs.h <<_ACEOF
35852 #define HAVE_DECL_ROUND 0
35853 _ACEOF
35854
35855
35856 fi
35857
35858
35859 fi
35860
35861
35862 if test "$TOOLKIT" != "MSW"; then
35863
35864
35865
35866
35867
35868 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
35869 if test "${with_libiconv_prefix+set}" = set; then
35870 withval="$with_libiconv_prefix"
35871
35872 for dir in `echo "$withval" | tr : ' '`; do
35873 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35874 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35875 done
35876
35877 fi;
35878
35879 echo "$as_me:$LINENO: checking for iconv" >&5
35880 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
35881 if test "${am_cv_func_iconv+set}" = set; then
35882 echo $ECHO_N "(cached) $ECHO_C" >&6
35883 else
35884
35885 am_cv_func_iconv="no, consider installing GNU libiconv"
35886 am_cv_lib_iconv=no
35887 cat >conftest.$ac_ext <<_ACEOF
35888 /* confdefs.h. */
35889 _ACEOF
35890 cat confdefs.h >>conftest.$ac_ext
35891 cat >>conftest.$ac_ext <<_ACEOF
35892 /* end confdefs.h. */
35893 #include <stdlib.h>
35894 #include <iconv.h>
35895 int
35896 main ()
35897 {
35898 iconv_t cd = iconv_open("","");
35899 iconv(cd,NULL,NULL,NULL,NULL);
35900 iconv_close(cd);
35901 ;
35902 return 0;
35903 }
35904 _ACEOF
35905 rm -f conftest.$ac_objext conftest$ac_exeext
35906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35907 (eval $ac_link) 2>conftest.er1
35908 ac_status=$?
35909 grep -v '^ *+' conftest.er1 >conftest.err
35910 rm -f conftest.er1
35911 cat conftest.err >&5
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); } &&
35914 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35916 (eval $ac_try) 2>&5
35917 ac_status=$?
35918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35919 (exit $ac_status); }; } &&
35920 { ac_try='test -s conftest$ac_exeext'
35921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35922 (eval $ac_try) 2>&5
35923 ac_status=$?
35924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35925 (exit $ac_status); }; }; then
35926 am_cv_func_iconv=yes
35927 else
35928 echo "$as_me: failed program was:" >&5
35929 sed 's/^/| /' conftest.$ac_ext >&5
35930
35931 fi
35932 rm -f conftest.err conftest.$ac_objext \
35933 conftest$ac_exeext conftest.$ac_ext
35934 if test "$am_cv_func_iconv" != yes; then
35935 am_save_LIBS="$LIBS"
35936 LIBS="$LIBS -liconv"
35937 cat >conftest.$ac_ext <<_ACEOF
35938 /* confdefs.h. */
35939 _ACEOF
35940 cat confdefs.h >>conftest.$ac_ext
35941 cat >>conftest.$ac_ext <<_ACEOF
35942 /* end confdefs.h. */
35943 #include <stdlib.h>
35944 #include <iconv.h>
35945 int
35946 main ()
35947 {
35948 iconv_t cd = iconv_open("","");
35949 iconv(cd,NULL,NULL,NULL,NULL);
35950 iconv_close(cd);
35951 ;
35952 return 0;
35953 }
35954 _ACEOF
35955 rm -f conftest.$ac_objext conftest$ac_exeext
35956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35957 (eval $ac_link) 2>conftest.er1
35958 ac_status=$?
35959 grep -v '^ *+' conftest.er1 >conftest.err
35960 rm -f conftest.er1
35961 cat conftest.err >&5
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); } &&
35964 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35966 (eval $ac_try) 2>&5
35967 ac_status=$?
35968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35969 (exit $ac_status); }; } &&
35970 { ac_try='test -s conftest$ac_exeext'
35971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35972 (eval $ac_try) 2>&5
35973 ac_status=$?
35974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35975 (exit $ac_status); }; }; then
35976 am_cv_lib_iconv=yes
35977 am_cv_func_iconv=yes
35978 else
35979 echo "$as_me: failed program was:" >&5
35980 sed 's/^/| /' conftest.$ac_ext >&5
35981
35982 fi
35983 rm -f conftest.err conftest.$ac_objext \
35984 conftest$ac_exeext conftest.$ac_ext
35985 LIBS="$am_save_LIBS"
35986 fi
35987
35988 fi
35989 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35990 echo "${ECHO_T}$am_cv_func_iconv" >&6
35991 if test "$am_cv_func_iconv" = yes; then
35992
35993 cat >>confdefs.h <<\_ACEOF
35994 #define HAVE_ICONV 1
35995 _ACEOF
35996
35997 echo "$as_me:$LINENO: checking if iconv needs const" >&5
35998 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
35999 if test "${wx_cv_func_iconv_const+set}" = set; then
36000 echo $ECHO_N "(cached) $ECHO_C" >&6
36001 else
36002 cat >conftest.$ac_ext <<_ACEOF
36003 /* confdefs.h. */
36004 _ACEOF
36005 cat confdefs.h >>conftest.$ac_ext
36006 cat >>conftest.$ac_ext <<_ACEOF
36007 /* end confdefs.h. */
36008
36009 #include <stdlib.h>
36010 #include <iconv.h>
36011 extern
36012 #ifdef __cplusplus
36013 "C"
36014 #endif
36015 #if defined(__STDC__) || defined(__cplusplus)
36016 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36017 #else
36018 size_t iconv();
36019 #endif
36020
36021 int
36022 main ()
36023 {
36024
36025 ;
36026 return 0;
36027 }
36028 _ACEOF
36029 rm -f conftest.$ac_objext
36030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36031 (eval $ac_compile) 2>conftest.er1
36032 ac_status=$?
36033 grep -v '^ *+' conftest.er1 >conftest.err
36034 rm -f conftest.er1
36035 cat conftest.err >&5
36036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36037 (exit $ac_status); } &&
36038 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36040 (eval $ac_try) 2>&5
36041 ac_status=$?
36042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36043 (exit $ac_status); }; } &&
36044 { ac_try='test -s conftest.$ac_objext'
36045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36046 (eval $ac_try) 2>&5
36047 ac_status=$?
36048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36049 (exit $ac_status); }; }; then
36050 wx_cv_func_iconv_const="no"
36051 else
36052 echo "$as_me: failed program was:" >&5
36053 sed 's/^/| /' conftest.$ac_ext >&5
36054
36055 wx_cv_func_iconv_const="yes"
36056
36057 fi
36058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36059
36060 fi
36061 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36062 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36063
36064 iconv_const=
36065 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36066 iconv_const="const"
36067 fi
36068
36069
36070 cat >>confdefs.h <<_ACEOF
36071 #define ICONV_CONST $iconv_const
36072 _ACEOF
36073
36074 fi
36075 LIBICONV=
36076 if test "$am_cv_lib_iconv" = yes; then
36077 LIBICONV="-liconv"
36078 fi
36079
36080
36081 LIBS="$LIBICONV $LIBS"
36082
36083 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36084
36085 for ac_func in sigaction
36086 do
36087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36088 echo "$as_me:$LINENO: checking for $ac_func" >&5
36089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36090 if eval "test \"\${$as_ac_var+set}\" = set"; then
36091 echo $ECHO_N "(cached) $ECHO_C" >&6
36092 else
36093 cat >conftest.$ac_ext <<_ACEOF
36094 /* confdefs.h. */
36095 _ACEOF
36096 cat confdefs.h >>conftest.$ac_ext
36097 cat >>conftest.$ac_ext <<_ACEOF
36098 /* end confdefs.h. */
36099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36101 #define $ac_func innocuous_$ac_func
36102
36103 /* System header to define __stub macros and hopefully few prototypes,
36104 which can conflict with char $ac_func (); below.
36105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36106 <limits.h> exists even on freestanding compilers. */
36107
36108 #ifdef __STDC__
36109 # include <limits.h>
36110 #else
36111 # include <assert.h>
36112 #endif
36113
36114 #undef $ac_func
36115
36116 /* Override any gcc2 internal prototype to avoid an error. */
36117 #ifdef __cplusplus
36118 extern "C"
36119 {
36120 #endif
36121 /* We use char because int might match the return type of a gcc2
36122 builtin and then its argument prototype would still apply. */
36123 char $ac_func ();
36124 /* The GNU C library defines this for functions which it implements
36125 to always fail with ENOSYS. Some functions are actually named
36126 something starting with __ and the normal name is an alias. */
36127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36128 choke me
36129 #else
36130 char (*f) () = $ac_func;
36131 #endif
36132 #ifdef __cplusplus
36133 }
36134 #endif
36135
36136 int
36137 main ()
36138 {
36139 return f != $ac_func;
36140 ;
36141 return 0;
36142 }
36143 _ACEOF
36144 rm -f conftest.$ac_objext conftest$ac_exeext
36145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36146 (eval $ac_link) 2>conftest.er1
36147 ac_status=$?
36148 grep -v '^ *+' conftest.er1 >conftest.err
36149 rm -f conftest.er1
36150 cat conftest.err >&5
36151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36152 (exit $ac_status); } &&
36153 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36155 (eval $ac_try) 2>&5
36156 ac_status=$?
36157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36158 (exit $ac_status); }; } &&
36159 { ac_try='test -s conftest$ac_exeext'
36160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36161 (eval $ac_try) 2>&5
36162 ac_status=$?
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); }; }; then
36165 eval "$as_ac_var=yes"
36166 else
36167 echo "$as_me: failed program was:" >&5
36168 sed 's/^/| /' conftest.$ac_ext >&5
36169
36170 eval "$as_ac_var=no"
36171 fi
36172 rm -f conftest.err conftest.$ac_objext \
36173 conftest$ac_exeext conftest.$ac_ext
36174 fi
36175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36177 if test `eval echo '${'$as_ac_var'}'` = yes; then
36178 cat >>confdefs.h <<_ACEOF
36179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36180 _ACEOF
36181
36182 fi
36183 done
36184
36185
36186 if test "$ac_cv_func_sigaction" = "no"; then
36187 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36188 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36189 wxUSE_ON_FATAL_EXCEPTION=no
36190 fi
36191
36192 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36193 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36194 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36195 if test "${wx_cv_type_sa_handler+set}" = set; then
36196 echo $ECHO_N "(cached) $ECHO_C" >&6
36197 else
36198
36199 cat >conftest.$ac_ext <<_ACEOF
36200 /* confdefs.h. */
36201 _ACEOF
36202 cat confdefs.h >>conftest.$ac_ext
36203 cat >>conftest.$ac_ext <<_ACEOF
36204 /* end confdefs.h. */
36205 #include <signal.h>
36206 int
36207 main ()
36208 {
36209
36210 extern void testSigHandler(int);
36211
36212 struct sigaction sa;
36213 sa.sa_handler = testSigHandler;
36214
36215 ;
36216 return 0;
36217 }
36218 _ACEOF
36219 rm -f conftest.$ac_objext
36220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36221 (eval $ac_compile) 2>conftest.er1
36222 ac_status=$?
36223 grep -v '^ *+' conftest.er1 >conftest.err
36224 rm -f conftest.er1
36225 cat conftest.err >&5
36226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36227 (exit $ac_status); } &&
36228 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36230 (eval $ac_try) 2>&5
36231 ac_status=$?
36232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233 (exit $ac_status); }; } &&
36234 { ac_try='test -s conftest.$ac_objext'
36235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36236 (eval $ac_try) 2>&5
36237 ac_status=$?
36238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36239 (exit $ac_status); }; }; then
36240
36241 wx_cv_type_sa_handler=int
36242
36243 else
36244 echo "$as_me: failed program was:" >&5
36245 sed 's/^/| /' conftest.$ac_ext >&5
36246
36247
36248 wx_cv_type_sa_handler=void
36249
36250 fi
36251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36252
36253 fi
36254 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36255 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36256
36257 cat >>confdefs.h <<_ACEOF
36258 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36259 _ACEOF
36260
36261 fi
36262 fi
36263
36264 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36265 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36266 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36267 if test "${wx_cv_func_backtrace+set}" = set; then
36268 echo $ECHO_N "(cached) $ECHO_C" >&6
36269 else
36270
36271 cat >conftest.$ac_ext <<_ACEOF
36272 /* confdefs.h. */
36273 _ACEOF
36274 cat confdefs.h >>conftest.$ac_ext
36275 cat >>conftest.$ac_ext <<_ACEOF
36276 /* end confdefs.h. */
36277 #include <execinfo.h>
36278 int
36279 main ()
36280 {
36281
36282 void *trace[1];
36283 char **messages;
36284
36285 backtrace(trace, 1);
36286 messages = backtrace_symbols(trace, 1);
36287
36288 ;
36289 return 0;
36290 }
36291 _ACEOF
36292 rm -f conftest.$ac_objext
36293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36294 (eval $ac_compile) 2>conftest.er1
36295 ac_status=$?
36296 grep -v '^ *+' conftest.er1 >conftest.err
36297 rm -f conftest.er1
36298 cat conftest.err >&5
36299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36300 (exit $ac_status); } &&
36301 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36303 (eval $ac_try) 2>&5
36304 ac_status=$?
36305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36306 (exit $ac_status); }; } &&
36307 { ac_try='test -s conftest.$ac_objext'
36308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36309 (eval $ac_try) 2>&5
36310 ac_status=$?
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); }; }; then
36313 wx_cv_func_backtrace=yes
36314 else
36315 echo "$as_me: failed program was:" >&5
36316 sed 's/^/| /' conftest.$ac_ext >&5
36317
36318 wx_cv_func_backtrace=no
36319
36320 fi
36321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36322
36323
36324 fi
36325 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36326 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36327
36328
36329 if test "$wx_cv_func_backtrace" = "no"; then
36330 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36331 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36332 wxUSE_STACKWALKER=no
36333 else
36334 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36335 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36336 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36337 echo $ECHO_N "(cached) $ECHO_C" >&6
36338 else
36339
36340 cat >conftest.$ac_ext <<_ACEOF
36341 /* confdefs.h. */
36342 _ACEOF
36343 cat confdefs.h >>conftest.$ac_ext
36344 cat >>conftest.$ac_ext <<_ACEOF
36345 /* end confdefs.h. */
36346 #include <cxxabi.h>
36347 int
36348 main ()
36349 {
36350
36351 int rc;
36352 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36353
36354 ;
36355 return 0;
36356 }
36357 _ACEOF
36358 rm -f conftest.$ac_objext conftest$ac_exeext
36359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36360 (eval $ac_link) 2>conftest.er1
36361 ac_status=$?
36362 grep -v '^ *+' conftest.er1 >conftest.err
36363 rm -f conftest.er1
36364 cat conftest.err >&5
36365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36366 (exit $ac_status); } &&
36367 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36369 (eval $ac_try) 2>&5
36370 ac_status=$?
36371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36372 (exit $ac_status); }; } &&
36373 { ac_try='test -s conftest$ac_exeext'
36374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36375 (eval $ac_try) 2>&5
36376 ac_status=$?
36377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36378 (exit $ac_status); }; }; then
36379 wx_cv_func_cxa_demangle=yes
36380 else
36381 echo "$as_me: failed program was:" >&5
36382 sed 's/^/| /' conftest.$ac_ext >&5
36383
36384 wx_cv_func_cxa_demangle=no
36385
36386 fi
36387 rm -f conftest.err conftest.$ac_objext \
36388 conftest$ac_exeext conftest.$ac_ext
36389
36390
36391 fi
36392 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36393 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36394
36395 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36396 cat >>confdefs.h <<\_ACEOF
36397 #define HAVE_CXA_DEMANGLE 1
36398 _ACEOF
36399
36400 fi
36401 fi
36402 fi
36403
36404 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36405 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36406 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36407 wxUSE_STACKWALKER=no
36408 fi
36409
36410
36411
36412
36413 for ac_func in mkstemp mktemp
36414 do
36415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36416 echo "$as_me:$LINENO: checking for $ac_func" >&5
36417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36418 if eval "test \"\${$as_ac_var+set}\" = set"; then
36419 echo $ECHO_N "(cached) $ECHO_C" >&6
36420 else
36421 cat >conftest.$ac_ext <<_ACEOF
36422 /* confdefs.h. */
36423 _ACEOF
36424 cat confdefs.h >>conftest.$ac_ext
36425 cat >>conftest.$ac_ext <<_ACEOF
36426 /* end confdefs.h. */
36427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36429 #define $ac_func innocuous_$ac_func
36430
36431 /* System header to define __stub macros and hopefully few prototypes,
36432 which can conflict with char $ac_func (); below.
36433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36434 <limits.h> exists even on freestanding compilers. */
36435
36436 #ifdef __STDC__
36437 # include <limits.h>
36438 #else
36439 # include <assert.h>
36440 #endif
36441
36442 #undef $ac_func
36443
36444 /* Override any gcc2 internal prototype to avoid an error. */
36445 #ifdef __cplusplus
36446 extern "C"
36447 {
36448 #endif
36449 /* We use char because int might match the return type of a gcc2
36450 builtin and then its argument prototype would still apply. */
36451 char $ac_func ();
36452 /* The GNU C library defines this for functions which it implements
36453 to always fail with ENOSYS. Some functions are actually named
36454 something starting with __ and the normal name is an alias. */
36455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36456 choke me
36457 #else
36458 char (*f) () = $ac_func;
36459 #endif
36460 #ifdef __cplusplus
36461 }
36462 #endif
36463
36464 int
36465 main ()
36466 {
36467 return f != $ac_func;
36468 ;
36469 return 0;
36470 }
36471 _ACEOF
36472 rm -f conftest.$ac_objext conftest$ac_exeext
36473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36474 (eval $ac_link) 2>conftest.er1
36475 ac_status=$?
36476 grep -v '^ *+' conftest.er1 >conftest.err
36477 rm -f conftest.er1
36478 cat conftest.err >&5
36479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36480 (exit $ac_status); } &&
36481 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36483 (eval $ac_try) 2>&5
36484 ac_status=$?
36485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36486 (exit $ac_status); }; } &&
36487 { ac_try='test -s conftest$ac_exeext'
36488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36489 (eval $ac_try) 2>&5
36490 ac_status=$?
36491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36492 (exit $ac_status); }; }; then
36493 eval "$as_ac_var=yes"
36494 else
36495 echo "$as_me: failed program was:" >&5
36496 sed 's/^/| /' conftest.$ac_ext >&5
36497
36498 eval "$as_ac_var=no"
36499 fi
36500 rm -f conftest.err conftest.$ac_objext \
36501 conftest$ac_exeext conftest.$ac_ext
36502 fi
36503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36505 if test `eval echo '${'$as_ac_var'}'` = yes; then
36506 cat >>confdefs.h <<_ACEOF
36507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36508 _ACEOF
36509 break
36510 fi
36511 done
36512
36513
36514 echo "$as_me:$LINENO: checking for statfs" >&5
36515 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36516 if test "${wx_cv_func_statfs+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
36526 #if defined(__BSD__)
36527 #include <sys/param.h>
36528 #include <sys/mount.h>
36529 #else
36530 #include <sys/vfs.h>
36531 #endif
36532
36533 int
36534 main ()
36535 {
36536
36537 long l;
36538 struct statfs fs;
36539 statfs("/", &fs);
36540 l = fs.f_bsize;
36541 l += fs.f_blocks;
36542 l += fs.f_bavail;
36543
36544 ;
36545 return 0;
36546 }
36547 _ACEOF
36548 rm -f conftest.$ac_objext
36549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36550 (eval $ac_compile) 2>conftest.er1
36551 ac_status=$?
36552 grep -v '^ *+' conftest.er1 >conftest.err
36553 rm -f conftest.er1
36554 cat conftest.err >&5
36555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36556 (exit $ac_status); } &&
36557 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36559 (eval $ac_try) 2>&5
36560 ac_status=$?
36561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36562 (exit $ac_status); }; } &&
36563 { ac_try='test -s conftest.$ac_objext'
36564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36565 (eval $ac_try) 2>&5
36566 ac_status=$?
36567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36568 (exit $ac_status); }; }; then
36569 wx_cv_func_statfs=yes
36570 else
36571 echo "$as_me: failed program was:" >&5
36572 sed 's/^/| /' conftest.$ac_ext >&5
36573
36574 wx_cv_func_statfs=no
36575
36576 fi
36577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36578
36579 fi
36580 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36581 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36582
36583 if test "$wx_cv_func_statfs" = "yes"; then
36584 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36585 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36586 if test "${wx_cv_func_statfs_decl+set}" = set; then
36587 echo $ECHO_N "(cached) $ECHO_C" >&6
36588 else
36589 cat >conftest.$ac_ext <<_ACEOF
36590 /* confdefs.h. */
36591 _ACEOF
36592 cat confdefs.h >>conftest.$ac_ext
36593 cat >>conftest.$ac_ext <<_ACEOF
36594 /* end confdefs.h. */
36595
36596 #if defined(__BSD__)
36597 #include <sys/param.h>
36598 #include <sys/mount.h>
36599 #else
36600 #include <sys/vfs.h>
36601 #endif
36602
36603 int
36604 main ()
36605 {
36606
36607 struct statfs fs;
36608 statfs("", &fs);
36609
36610 ;
36611 return 0;
36612 }
36613 _ACEOF
36614 rm -f conftest.$ac_objext
36615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36616 (eval $ac_compile) 2>conftest.er1
36617 ac_status=$?
36618 grep -v '^ *+' conftest.er1 >conftest.err
36619 rm -f conftest.er1
36620 cat conftest.err >&5
36621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36622 (exit $ac_status); } &&
36623 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36625 (eval $ac_try) 2>&5
36626 ac_status=$?
36627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36628 (exit $ac_status); }; } &&
36629 { ac_try='test -s conftest.$ac_objext'
36630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36631 (eval $ac_try) 2>&5
36632 ac_status=$?
36633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 (exit $ac_status); }; }; then
36635 wx_cv_func_statfs_decl=yes
36636 else
36637 echo "$as_me: failed program was:" >&5
36638 sed 's/^/| /' conftest.$ac_ext >&5
36639
36640 wx_cv_func_statfs_decl=no
36641
36642 fi
36643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36644
36645 fi
36646 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36647 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36648
36649 if test "$wx_cv_func_statfs_decl" = "yes"; then
36650 cat >>confdefs.h <<\_ACEOF
36651 #define HAVE_STATFS_DECL 1
36652 _ACEOF
36653
36654 fi
36655
36656 wx_cv_type_statvfs_t="struct statfs"
36657 cat >>confdefs.h <<\_ACEOF
36658 #define HAVE_STATFS 1
36659 _ACEOF
36660
36661 else
36662 echo "$as_me:$LINENO: checking for statvfs" >&5
36663 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36664 if test "${wx_cv_func_statvfs+set}" = set; then
36665 echo $ECHO_N "(cached) $ECHO_C" >&6
36666 else
36667 cat >conftest.$ac_ext <<_ACEOF
36668 /* confdefs.h. */
36669 _ACEOF
36670 cat confdefs.h >>conftest.$ac_ext
36671 cat >>conftest.$ac_ext <<_ACEOF
36672 /* end confdefs.h. */
36673
36674 #include <stddef.h>
36675 #include <sys/statvfs.h>
36676
36677 int
36678 main ()
36679 {
36680
36681 statvfs("/", NULL);
36682
36683 ;
36684 return 0;
36685 }
36686 _ACEOF
36687 rm -f conftest.$ac_objext
36688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36689 (eval $ac_compile) 2>conftest.er1
36690 ac_status=$?
36691 grep -v '^ *+' conftest.er1 >conftest.err
36692 rm -f conftest.er1
36693 cat conftest.err >&5
36694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36695 (exit $ac_status); } &&
36696 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36698 (eval $ac_try) 2>&5
36699 ac_status=$?
36700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36701 (exit $ac_status); }; } &&
36702 { ac_try='test -s conftest.$ac_objext'
36703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36704 (eval $ac_try) 2>&5
36705 ac_status=$?
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); }; }; then
36708 wx_cv_func_statvfs=yes
36709 else
36710 echo "$as_me: failed program was:" >&5
36711 sed 's/^/| /' conftest.$ac_ext >&5
36712
36713 wx_cv_func_statvfs=no
36714
36715 fi
36716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36717
36718 fi
36719 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36720 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36721
36722 if test "$wx_cv_func_statvfs" = "yes"; then
36723 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36724 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36725 if test "${wx_cv_type_statvfs_t+set}" = set; then
36726 echo $ECHO_N "(cached) $ECHO_C" >&6
36727 else
36728 cat >conftest.$ac_ext <<_ACEOF
36729 /* confdefs.h. */
36730 _ACEOF
36731 cat confdefs.h >>conftest.$ac_ext
36732 cat >>conftest.$ac_ext <<_ACEOF
36733 /* end confdefs.h. */
36734
36735 #include <sys/statvfs.h>
36736
36737 int
36738 main ()
36739 {
36740
36741 long l;
36742 statvfs_t fs;
36743 statvfs("/", &fs);
36744 l = fs.f_bsize;
36745 l += fs.f_blocks;
36746 l += fs.f_bavail;
36747
36748 ;
36749 return 0;
36750 }
36751 _ACEOF
36752 rm -f conftest.$ac_objext
36753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36754 (eval $ac_compile) 2>conftest.er1
36755 ac_status=$?
36756 grep -v '^ *+' conftest.er1 >conftest.err
36757 rm -f conftest.er1
36758 cat conftest.err >&5
36759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36760 (exit $ac_status); } &&
36761 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36763 (eval $ac_try) 2>&5
36764 ac_status=$?
36765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36766 (exit $ac_status); }; } &&
36767 { ac_try='test -s conftest.$ac_objext'
36768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36769 (eval $ac_try) 2>&5
36770 ac_status=$?
36771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36772 (exit $ac_status); }; }; then
36773 wx_cv_type_statvfs_t=statvfs_t
36774 else
36775 echo "$as_me: failed program was:" >&5
36776 sed 's/^/| /' conftest.$ac_ext >&5
36777
36778
36779 cat >conftest.$ac_ext <<_ACEOF
36780 /* confdefs.h. */
36781 _ACEOF
36782 cat confdefs.h >>conftest.$ac_ext
36783 cat >>conftest.$ac_ext <<_ACEOF
36784 /* end confdefs.h. */
36785
36786 #include <sys/statvfs.h>
36787
36788 int
36789 main ()
36790 {
36791
36792 long l;
36793 struct statvfs fs;
36794 statvfs("/", &fs);
36795 l = fs.f_bsize;
36796 l += fs.f_blocks;
36797 l += fs.f_bavail;
36798
36799 ;
36800 return 0;
36801 }
36802 _ACEOF
36803 rm -f conftest.$ac_objext
36804 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36805 (eval $ac_compile) 2>conftest.er1
36806 ac_status=$?
36807 grep -v '^ *+' conftest.er1 >conftest.err
36808 rm -f conftest.er1
36809 cat conftest.err >&5
36810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811 (exit $ac_status); } &&
36812 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36814 (eval $ac_try) 2>&5
36815 ac_status=$?
36816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36817 (exit $ac_status); }; } &&
36818 { ac_try='test -s conftest.$ac_objext'
36819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36820 (eval $ac_try) 2>&5
36821 ac_status=$?
36822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36823 (exit $ac_status); }; }; then
36824 wx_cv_type_statvfs_t="struct statvfs"
36825 else
36826 echo "$as_me: failed program was:" >&5
36827 sed 's/^/| /' conftest.$ac_ext >&5
36828
36829 wx_cv_type_statvfs_t="unknown"
36830
36831 fi
36832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36833
36834
36835 fi
36836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36837
36838 fi
36839 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36840 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
36841
36842 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36843 cat >>confdefs.h <<\_ACEOF
36844 #define HAVE_STATVFS 1
36845 _ACEOF
36846
36847 fi
36848 else
36849 wx_cv_type_statvfs_t="unknown"
36850 fi
36851 fi
36852
36853 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36854 cat >>confdefs.h <<_ACEOF
36855 #define WX_STATFS_T $wx_cv_type_statvfs_t
36856 _ACEOF
36857
36858 else
36859 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36860 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36861 fi
36862
36863 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36864
36865
36866 for ac_func in fcntl flock
36867 do
36868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36869 echo "$as_me:$LINENO: checking for $ac_func" >&5
36870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36871 if eval "test \"\${$as_ac_var+set}\" = set"; then
36872 echo $ECHO_N "(cached) $ECHO_C" >&6
36873 else
36874 cat >conftest.$ac_ext <<_ACEOF
36875 /* confdefs.h. */
36876 _ACEOF
36877 cat confdefs.h >>conftest.$ac_ext
36878 cat >>conftest.$ac_ext <<_ACEOF
36879 /* end confdefs.h. */
36880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36882 #define $ac_func innocuous_$ac_func
36883
36884 /* System header to define __stub macros and hopefully few prototypes,
36885 which can conflict with char $ac_func (); below.
36886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36887 <limits.h> exists even on freestanding compilers. */
36888
36889 #ifdef __STDC__
36890 # include <limits.h>
36891 #else
36892 # include <assert.h>
36893 #endif
36894
36895 #undef $ac_func
36896
36897 /* Override any gcc2 internal prototype to avoid an error. */
36898 #ifdef __cplusplus
36899 extern "C"
36900 {
36901 #endif
36902 /* We use char because int might match the return type of a gcc2
36903 builtin and then its argument prototype would still apply. */
36904 char $ac_func ();
36905 /* The GNU C library defines this for functions which it implements
36906 to always fail with ENOSYS. Some functions are actually named
36907 something starting with __ and the normal name is an alias. */
36908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36909 choke me
36910 #else
36911 char (*f) () = $ac_func;
36912 #endif
36913 #ifdef __cplusplus
36914 }
36915 #endif
36916
36917 int
36918 main ()
36919 {
36920 return f != $ac_func;
36921 ;
36922 return 0;
36923 }
36924 _ACEOF
36925 rm -f conftest.$ac_objext conftest$ac_exeext
36926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36927 (eval $ac_link) 2>conftest.er1
36928 ac_status=$?
36929 grep -v '^ *+' conftest.er1 >conftest.err
36930 rm -f conftest.er1
36931 cat conftest.err >&5
36932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36933 (exit $ac_status); } &&
36934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36936 (eval $ac_try) 2>&5
36937 ac_status=$?
36938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36939 (exit $ac_status); }; } &&
36940 { ac_try='test -s conftest$ac_exeext'
36941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36942 (eval $ac_try) 2>&5
36943 ac_status=$?
36944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36945 (exit $ac_status); }; }; then
36946 eval "$as_ac_var=yes"
36947 else
36948 echo "$as_me: failed program was:" >&5
36949 sed 's/^/| /' conftest.$ac_ext >&5
36950
36951 eval "$as_ac_var=no"
36952 fi
36953 rm -f conftest.err conftest.$ac_objext \
36954 conftest$ac_exeext conftest.$ac_ext
36955 fi
36956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36958 if test `eval echo '${'$as_ac_var'}'` = yes; then
36959 cat >>confdefs.h <<_ACEOF
36960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36961 _ACEOF
36962 break
36963 fi
36964 done
36965
36966
36967 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36968 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36969 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36970 wxUSE_SNGLINST_CHECKER=no
36971 fi
36972 fi
36973
36974
36975 for ac_func in timegm
36976 do
36977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36978 echo "$as_me:$LINENO: checking for $ac_func" >&5
36979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36980 if eval "test \"\${$as_ac_var+set}\" = set"; then
36981 echo $ECHO_N "(cached) $ECHO_C" >&6
36982 else
36983 cat >conftest.$ac_ext <<_ACEOF
36984 /* confdefs.h. */
36985 _ACEOF
36986 cat confdefs.h >>conftest.$ac_ext
36987 cat >>conftest.$ac_ext <<_ACEOF
36988 /* end confdefs.h. */
36989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36991 #define $ac_func innocuous_$ac_func
36992
36993 /* System header to define __stub macros and hopefully few prototypes,
36994 which can conflict with char $ac_func (); below.
36995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36996 <limits.h> exists even on freestanding compilers. */
36997
36998 #ifdef __STDC__
36999 # include <limits.h>
37000 #else
37001 # include <assert.h>
37002 #endif
37003
37004 #undef $ac_func
37005
37006 /* Override any gcc2 internal prototype to avoid an error. */
37007 #ifdef __cplusplus
37008 extern "C"
37009 {
37010 #endif
37011 /* We use char because int might match the return type of a gcc2
37012 builtin and then its argument prototype would still apply. */
37013 char $ac_func ();
37014 /* The GNU C library defines this for functions which it implements
37015 to always fail with ENOSYS. Some functions are actually named
37016 something starting with __ and the normal name is an alias. */
37017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37018 choke me
37019 #else
37020 char (*f) () = $ac_func;
37021 #endif
37022 #ifdef __cplusplus
37023 }
37024 #endif
37025
37026 int
37027 main ()
37028 {
37029 return f != $ac_func;
37030 ;
37031 return 0;
37032 }
37033 _ACEOF
37034 rm -f conftest.$ac_objext conftest$ac_exeext
37035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37036 (eval $ac_link) 2>conftest.er1
37037 ac_status=$?
37038 grep -v '^ *+' conftest.er1 >conftest.err
37039 rm -f conftest.er1
37040 cat conftest.err >&5
37041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37042 (exit $ac_status); } &&
37043 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37045 (eval $ac_try) 2>&5
37046 ac_status=$?
37047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37048 (exit $ac_status); }; } &&
37049 { ac_try='test -s conftest$ac_exeext'
37050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37051 (eval $ac_try) 2>&5
37052 ac_status=$?
37053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37054 (exit $ac_status); }; }; then
37055 eval "$as_ac_var=yes"
37056 else
37057 echo "$as_me: failed program was:" >&5
37058 sed 's/^/| /' conftest.$ac_ext >&5
37059
37060 eval "$as_ac_var=no"
37061 fi
37062 rm -f conftest.err conftest.$ac_objext \
37063 conftest$ac_exeext conftest.$ac_ext
37064 fi
37065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37067 if test `eval echo '${'$as_ac_var'}'` = yes; then
37068 cat >>confdefs.h <<_ACEOF
37069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37070 _ACEOF
37071
37072 fi
37073 done
37074
37075
37076
37077
37078 for ac_func in putenv setenv
37079 do
37080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37081 echo "$as_me:$LINENO: checking for $ac_func" >&5
37082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37083 if eval "test \"\${$as_ac_var+set}\" = set"; then
37084 echo $ECHO_N "(cached) $ECHO_C" >&6
37085 else
37086 cat >conftest.$ac_ext <<_ACEOF
37087 /* confdefs.h. */
37088 _ACEOF
37089 cat confdefs.h >>conftest.$ac_ext
37090 cat >>conftest.$ac_ext <<_ACEOF
37091 /* end confdefs.h. */
37092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37094 #define $ac_func innocuous_$ac_func
37095
37096 /* System header to define __stub macros and hopefully few prototypes,
37097 which can conflict with char $ac_func (); below.
37098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37099 <limits.h> exists even on freestanding compilers. */
37100
37101 #ifdef __STDC__
37102 # include <limits.h>
37103 #else
37104 # include <assert.h>
37105 #endif
37106
37107 #undef $ac_func
37108
37109 /* Override any gcc2 internal prototype to avoid an error. */
37110 #ifdef __cplusplus
37111 extern "C"
37112 {
37113 #endif
37114 /* We use char because int might match the return type of a gcc2
37115 builtin and then its argument prototype would still apply. */
37116 char $ac_func ();
37117 /* The GNU C library defines this for functions which it implements
37118 to always fail with ENOSYS. Some functions are actually named
37119 something starting with __ and the normal name is an alias. */
37120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37121 choke me
37122 #else
37123 char (*f) () = $ac_func;
37124 #endif
37125 #ifdef __cplusplus
37126 }
37127 #endif
37128
37129 int
37130 main ()
37131 {
37132 return f != $ac_func;
37133 ;
37134 return 0;
37135 }
37136 _ACEOF
37137 rm -f conftest.$ac_objext conftest$ac_exeext
37138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37139 (eval $ac_link) 2>conftest.er1
37140 ac_status=$?
37141 grep -v '^ *+' conftest.er1 >conftest.err
37142 rm -f conftest.er1
37143 cat conftest.err >&5
37144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37145 (exit $ac_status); } &&
37146 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37148 (eval $ac_try) 2>&5
37149 ac_status=$?
37150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37151 (exit $ac_status); }; } &&
37152 { ac_try='test -s conftest$ac_exeext'
37153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37154 (eval $ac_try) 2>&5
37155 ac_status=$?
37156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37157 (exit $ac_status); }; }; then
37158 eval "$as_ac_var=yes"
37159 else
37160 echo "$as_me: failed program was:" >&5
37161 sed 's/^/| /' conftest.$ac_ext >&5
37162
37163 eval "$as_ac_var=no"
37164 fi
37165 rm -f conftest.err conftest.$ac_objext \
37166 conftest$ac_exeext conftest.$ac_ext
37167 fi
37168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37170 if test `eval echo '${'$as_ac_var'}'` = yes; then
37171 cat >>confdefs.h <<_ACEOF
37172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37173 _ACEOF
37174 break
37175 fi
37176 done
37177
37178
37179 HAVE_SOME_SLEEP_FUNC=0
37180 if test "$USE_BEOS" = 1; then
37181 cat >>confdefs.h <<\_ACEOF
37182 #define HAVE_SLEEP 1
37183 _ACEOF
37184
37185 HAVE_SOME_SLEEP_FUNC=1
37186 fi
37187
37188 if test "$USE_DARWIN" = 1; then
37189 cat >>confdefs.h <<\_ACEOF
37190 #define HAVE_USLEEP 1
37191 _ACEOF
37192
37193 HAVE_SOME_SLEEP_FUNC=1
37194 fi
37195
37196 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37197 POSIX4_LINK=
37198
37199 for ac_func in nanosleep
37200 do
37201 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37202 echo "$as_me:$LINENO: checking for $ac_func" >&5
37203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37204 if eval "test \"\${$as_ac_var+set}\" = set"; then
37205 echo $ECHO_N "(cached) $ECHO_C" >&6
37206 else
37207 cat >conftest.$ac_ext <<_ACEOF
37208 /* confdefs.h. */
37209 _ACEOF
37210 cat confdefs.h >>conftest.$ac_ext
37211 cat >>conftest.$ac_ext <<_ACEOF
37212 /* end confdefs.h. */
37213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37215 #define $ac_func innocuous_$ac_func
37216
37217 /* System header to define __stub macros and hopefully few prototypes,
37218 which can conflict with char $ac_func (); below.
37219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37220 <limits.h> exists even on freestanding compilers. */
37221
37222 #ifdef __STDC__
37223 # include <limits.h>
37224 #else
37225 # include <assert.h>
37226 #endif
37227
37228 #undef $ac_func
37229
37230 /* Override any gcc2 internal prototype to avoid an error. */
37231 #ifdef __cplusplus
37232 extern "C"
37233 {
37234 #endif
37235 /* We use char because int might match the return type of a gcc2
37236 builtin and then its argument prototype would still apply. */
37237 char $ac_func ();
37238 /* The GNU C library defines this for functions which it implements
37239 to always fail with ENOSYS. Some functions are actually named
37240 something starting with __ and the normal name is an alias. */
37241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37242 choke me
37243 #else
37244 char (*f) () = $ac_func;
37245 #endif
37246 #ifdef __cplusplus
37247 }
37248 #endif
37249
37250 int
37251 main ()
37252 {
37253 return f != $ac_func;
37254 ;
37255 return 0;
37256 }
37257 _ACEOF
37258 rm -f conftest.$ac_objext conftest$ac_exeext
37259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37260 (eval $ac_link) 2>conftest.er1
37261 ac_status=$?
37262 grep -v '^ *+' conftest.er1 >conftest.err
37263 rm -f conftest.er1
37264 cat conftest.err >&5
37265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37266 (exit $ac_status); } &&
37267 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37269 (eval $ac_try) 2>&5
37270 ac_status=$?
37271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37272 (exit $ac_status); }; } &&
37273 { ac_try='test -s conftest$ac_exeext'
37274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37275 (eval $ac_try) 2>&5
37276 ac_status=$?
37277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37278 (exit $ac_status); }; }; then
37279 eval "$as_ac_var=yes"
37280 else
37281 echo "$as_me: failed program was:" >&5
37282 sed 's/^/| /' conftest.$ac_ext >&5
37283
37284 eval "$as_ac_var=no"
37285 fi
37286 rm -f conftest.err conftest.$ac_objext \
37287 conftest$ac_exeext conftest.$ac_ext
37288 fi
37289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37291 if test `eval echo '${'$as_ac_var'}'` = yes; then
37292 cat >>confdefs.h <<_ACEOF
37293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37294 _ACEOF
37295 cat >>confdefs.h <<\_ACEOF
37296 #define HAVE_NANOSLEEP 1
37297 _ACEOF
37298
37299 else
37300
37301 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37302 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37303 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37304 echo $ECHO_N "(cached) $ECHO_C" >&6
37305 else
37306 ac_check_lib_save_LIBS=$LIBS
37307 LIBS="-lposix4 $LIBS"
37308 cat >conftest.$ac_ext <<_ACEOF
37309 /* confdefs.h. */
37310 _ACEOF
37311 cat confdefs.h >>conftest.$ac_ext
37312 cat >>conftest.$ac_ext <<_ACEOF
37313 /* end confdefs.h. */
37314
37315 /* Override any gcc2 internal prototype to avoid an error. */
37316 #ifdef __cplusplus
37317 extern "C"
37318 #endif
37319 /* We use char because int might match the return type of a gcc2
37320 builtin and then its argument prototype would still apply. */
37321 char nanosleep ();
37322 int
37323 main ()
37324 {
37325 nanosleep ();
37326 ;
37327 return 0;
37328 }
37329 _ACEOF
37330 rm -f conftest.$ac_objext conftest$ac_exeext
37331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37332 (eval $ac_link) 2>conftest.er1
37333 ac_status=$?
37334 grep -v '^ *+' conftest.er1 >conftest.err
37335 rm -f conftest.er1
37336 cat conftest.err >&5
37337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37338 (exit $ac_status); } &&
37339 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37341 (eval $ac_try) 2>&5
37342 ac_status=$?
37343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37344 (exit $ac_status); }; } &&
37345 { ac_try='test -s conftest$ac_exeext'
37346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37347 (eval $ac_try) 2>&5
37348 ac_status=$?
37349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350 (exit $ac_status); }; }; then
37351 ac_cv_lib_posix4_nanosleep=yes
37352 else
37353 echo "$as_me: failed program was:" >&5
37354 sed 's/^/| /' conftest.$ac_ext >&5
37355
37356 ac_cv_lib_posix4_nanosleep=no
37357 fi
37358 rm -f conftest.err conftest.$ac_objext \
37359 conftest$ac_exeext conftest.$ac_ext
37360 LIBS=$ac_check_lib_save_LIBS
37361 fi
37362 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37363 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37364 if test $ac_cv_lib_posix4_nanosleep = yes; then
37365
37366 cat >>confdefs.h <<\_ACEOF
37367 #define HAVE_NANOSLEEP 1
37368 _ACEOF
37369
37370 POSIX4_LINK=" -lposix4"
37371
37372 else
37373
37374
37375 for ac_func in usleep
37376 do
37377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37378 echo "$as_me:$LINENO: checking for $ac_func" >&5
37379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37380 if eval "test \"\${$as_ac_var+set}\" = set"; then
37381 echo $ECHO_N "(cached) $ECHO_C" >&6
37382 else
37383 cat >conftest.$ac_ext <<_ACEOF
37384 /* confdefs.h. */
37385 _ACEOF
37386 cat confdefs.h >>conftest.$ac_ext
37387 cat >>conftest.$ac_ext <<_ACEOF
37388 /* end confdefs.h. */
37389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37391 #define $ac_func innocuous_$ac_func
37392
37393 /* System header to define __stub macros and hopefully few prototypes,
37394 which can conflict with char $ac_func (); below.
37395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37396 <limits.h> exists even on freestanding compilers. */
37397
37398 #ifdef __STDC__
37399 # include <limits.h>
37400 #else
37401 # include <assert.h>
37402 #endif
37403
37404 #undef $ac_func
37405
37406 /* Override any gcc2 internal prototype to avoid an error. */
37407 #ifdef __cplusplus
37408 extern "C"
37409 {
37410 #endif
37411 /* We use char because int might match the return type of a gcc2
37412 builtin and then its argument prototype would still apply. */
37413 char $ac_func ();
37414 /* The GNU C library defines this for functions which it implements
37415 to always fail with ENOSYS. Some functions are actually named
37416 something starting with __ and the normal name is an alias. */
37417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37418 choke me
37419 #else
37420 char (*f) () = $ac_func;
37421 #endif
37422 #ifdef __cplusplus
37423 }
37424 #endif
37425
37426 int
37427 main ()
37428 {
37429 return f != $ac_func;
37430 ;
37431 return 0;
37432 }
37433 _ACEOF
37434 rm -f conftest.$ac_objext conftest$ac_exeext
37435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37436 (eval $ac_link) 2>conftest.er1
37437 ac_status=$?
37438 grep -v '^ *+' conftest.er1 >conftest.err
37439 rm -f conftest.er1
37440 cat conftest.err >&5
37441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37442 (exit $ac_status); } &&
37443 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
37449 { ac_try='test -s conftest$ac_exeext'
37450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37451 (eval $ac_try) 2>&5
37452 ac_status=$?
37453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37454 (exit $ac_status); }; }; then
37455 eval "$as_ac_var=yes"
37456 else
37457 echo "$as_me: failed program was:" >&5
37458 sed 's/^/| /' conftest.$ac_ext >&5
37459
37460 eval "$as_ac_var=no"
37461 fi
37462 rm -f conftest.err conftest.$ac_objext \
37463 conftest$ac_exeext conftest.$ac_ext
37464 fi
37465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37467 if test `eval echo '${'$as_ac_var'}'` = yes; then
37468 cat >>confdefs.h <<_ACEOF
37469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37470 _ACEOF
37471 cat >>confdefs.h <<\_ACEOF
37472 #define HAVE_USLEEP 1
37473 _ACEOF
37474
37475 else
37476 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37477 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37478
37479 fi
37480 done
37481
37482
37483
37484 fi
37485
37486
37487
37488 fi
37489 done
37490
37491 fi
37492
37493
37494
37495 for ac_func in uname gethostname
37496 do
37497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37498 echo "$as_me:$LINENO: checking for $ac_func" >&5
37499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37500 if eval "test \"\${$as_ac_var+set}\" = set"; then
37501 echo $ECHO_N "(cached) $ECHO_C" >&6
37502 else
37503 cat >conftest.$ac_ext <<_ACEOF
37504 /* confdefs.h. */
37505 _ACEOF
37506 cat confdefs.h >>conftest.$ac_ext
37507 cat >>conftest.$ac_ext <<_ACEOF
37508 /* end confdefs.h. */
37509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37511 #define $ac_func innocuous_$ac_func
37512
37513 /* System header to define __stub macros and hopefully few prototypes,
37514 which can conflict with char $ac_func (); below.
37515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37516 <limits.h> exists even on freestanding compilers. */
37517
37518 #ifdef __STDC__
37519 # include <limits.h>
37520 #else
37521 # include <assert.h>
37522 #endif
37523
37524 #undef $ac_func
37525
37526 /* Override any gcc2 internal prototype to avoid an error. */
37527 #ifdef __cplusplus
37528 extern "C"
37529 {
37530 #endif
37531 /* We use char because int might match the return type of a gcc2
37532 builtin and then its argument prototype would still apply. */
37533 char $ac_func ();
37534 /* The GNU C library defines this for functions which it implements
37535 to always fail with ENOSYS. Some functions are actually named
37536 something starting with __ and the normal name is an alias. */
37537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37538 choke me
37539 #else
37540 char (*f) () = $ac_func;
37541 #endif
37542 #ifdef __cplusplus
37543 }
37544 #endif
37545
37546 int
37547 main ()
37548 {
37549 return f != $ac_func;
37550 ;
37551 return 0;
37552 }
37553 _ACEOF
37554 rm -f conftest.$ac_objext conftest$ac_exeext
37555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37556 (eval $ac_link) 2>conftest.er1
37557 ac_status=$?
37558 grep -v '^ *+' conftest.er1 >conftest.err
37559 rm -f conftest.er1
37560 cat conftest.err >&5
37561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37562 (exit $ac_status); } &&
37563 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37565 (eval $ac_try) 2>&5
37566 ac_status=$?
37567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37568 (exit $ac_status); }; } &&
37569 { ac_try='test -s conftest$ac_exeext'
37570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37571 (eval $ac_try) 2>&5
37572 ac_status=$?
37573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37574 (exit $ac_status); }; }; then
37575 eval "$as_ac_var=yes"
37576 else
37577 echo "$as_me: failed program was:" >&5
37578 sed 's/^/| /' conftest.$ac_ext >&5
37579
37580 eval "$as_ac_var=no"
37581 fi
37582 rm -f conftest.err conftest.$ac_objext \
37583 conftest$ac_exeext conftest.$ac_ext
37584 fi
37585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37587 if test `eval echo '${'$as_ac_var'}'` = yes; then
37588 cat >>confdefs.h <<_ACEOF
37589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37590 _ACEOF
37591 break
37592 fi
37593 done
37594
37595
37596
37597 for wx_func in strtok_r
37598 do
37599 echo "$as_me:$LINENO: checking for $wx_func" >&5
37600 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37601 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37602 echo $ECHO_N "(cached) $ECHO_C" >&6
37603 else
37604
37605 cat >conftest.$ac_ext <<_ACEOF
37606
37607 /* confdefs.h. */
37608 _ACEOF
37609 cat confdefs.h >>conftest.$ac_ext
37610 cat >>conftest.$ac_ext <<_ACEOF
37611 /* end confdefs.h. */
37612
37613 #define _REENTRANT
37614 $ac_includes_default
37615
37616 int
37617 main ()
37618 {
37619
37620 #ifndef $wx_func
37621 &$wx_func;
37622 #endif
37623
37624
37625 ;
37626 return 0;
37627 }
37628
37629 _ACEOF
37630 rm -f conftest.$ac_objext conftest$ac_exeext
37631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37632 (eval $ac_link) 2>conftest.er1
37633 ac_status=$?
37634 grep -v '^ *+' conftest.er1 >conftest.err
37635 rm -f conftest.er1
37636 cat conftest.err >&5
37637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37638 (exit $ac_status); } &&
37639 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37641 (eval $ac_try) 2>&5
37642 ac_status=$?
37643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37644 (exit $ac_status); }; } &&
37645 { ac_try='test -s conftest$ac_exeext'
37646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37647 (eval $ac_try) 2>&5
37648 ac_status=$?
37649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37650 (exit $ac_status); }; }; then
37651 eval wx_cv_func_$wx_func=yes
37652 else
37653 echo "$as_me: failed program was:" >&5
37654 sed 's/^/| /' conftest.$ac_ext >&5
37655
37656 eval wx_cv_func_$wx_func=no
37657 fi
37658 rm -f conftest.err conftest.$ac_objext \
37659 conftest$ac_exeext conftest.$ac_ext
37660
37661 fi
37662 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37663 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37664
37665 if eval test \$wx_cv_func_$wx_func = yes
37666 then
37667 cat >>confdefs.h <<_ACEOF
37668 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37669 _ACEOF
37670
37671
37672 else
37673 :
37674
37675 fi
37676 done
37677
37678
37679 INET_LINK=
37680
37681 for ac_func in inet_addr
37682 do
37683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37684 echo "$as_me:$LINENO: checking for $ac_func" >&5
37685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37686 if eval "test \"\${$as_ac_var+set}\" = set"; then
37687 echo $ECHO_N "(cached) $ECHO_C" >&6
37688 else
37689 cat >conftest.$ac_ext <<_ACEOF
37690 /* confdefs.h. */
37691 _ACEOF
37692 cat confdefs.h >>conftest.$ac_ext
37693 cat >>conftest.$ac_ext <<_ACEOF
37694 /* end confdefs.h. */
37695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37697 #define $ac_func innocuous_$ac_func
37698
37699 /* System header to define __stub macros and hopefully few prototypes,
37700 which can conflict with char $ac_func (); below.
37701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37702 <limits.h> exists even on freestanding compilers. */
37703
37704 #ifdef __STDC__
37705 # include <limits.h>
37706 #else
37707 # include <assert.h>
37708 #endif
37709
37710 #undef $ac_func
37711
37712 /* Override any gcc2 internal prototype to avoid an error. */
37713 #ifdef __cplusplus
37714 extern "C"
37715 {
37716 #endif
37717 /* We use char because int might match the return type of a gcc2
37718 builtin and then its argument prototype would still apply. */
37719 char $ac_func ();
37720 /* The GNU C library defines this for functions which it implements
37721 to always fail with ENOSYS. Some functions are actually named
37722 something starting with __ and the normal name is an alias. */
37723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37724 choke me
37725 #else
37726 char (*f) () = $ac_func;
37727 #endif
37728 #ifdef __cplusplus
37729 }
37730 #endif
37731
37732 int
37733 main ()
37734 {
37735 return f != $ac_func;
37736 ;
37737 return 0;
37738 }
37739 _ACEOF
37740 rm -f conftest.$ac_objext conftest$ac_exeext
37741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37742 (eval $ac_link) 2>conftest.er1
37743 ac_status=$?
37744 grep -v '^ *+' conftest.er1 >conftest.err
37745 rm -f conftest.er1
37746 cat conftest.err >&5
37747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37748 (exit $ac_status); } &&
37749 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37751 (eval $ac_try) 2>&5
37752 ac_status=$?
37753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37754 (exit $ac_status); }; } &&
37755 { ac_try='test -s conftest$ac_exeext'
37756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37757 (eval $ac_try) 2>&5
37758 ac_status=$?
37759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37760 (exit $ac_status); }; }; then
37761 eval "$as_ac_var=yes"
37762 else
37763 echo "$as_me: failed program was:" >&5
37764 sed 's/^/| /' conftest.$ac_ext >&5
37765
37766 eval "$as_ac_var=no"
37767 fi
37768 rm -f conftest.err conftest.$ac_objext \
37769 conftest$ac_exeext conftest.$ac_ext
37770 fi
37771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37773 if test `eval echo '${'$as_ac_var'}'` = yes; then
37774 cat >>confdefs.h <<_ACEOF
37775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37776 _ACEOF
37777 cat >>confdefs.h <<\_ACEOF
37778 #define HAVE_INET_ADDR 1
37779 _ACEOF
37780
37781 else
37782
37783 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37784 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
37785 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37786 echo $ECHO_N "(cached) $ECHO_C" >&6
37787 else
37788 ac_check_lib_save_LIBS=$LIBS
37789 LIBS="-lnsl $LIBS"
37790 cat >conftest.$ac_ext <<_ACEOF
37791 /* confdefs.h. */
37792 _ACEOF
37793 cat confdefs.h >>conftest.$ac_ext
37794 cat >>conftest.$ac_ext <<_ACEOF
37795 /* end confdefs.h. */
37796
37797 /* Override any gcc2 internal prototype to avoid an error. */
37798 #ifdef __cplusplus
37799 extern "C"
37800 #endif
37801 /* We use char because int might match the return type of a gcc2
37802 builtin and then its argument prototype would still apply. */
37803 char inet_addr ();
37804 int
37805 main ()
37806 {
37807 inet_addr ();
37808 ;
37809 return 0;
37810 }
37811 _ACEOF
37812 rm -f conftest.$ac_objext conftest$ac_exeext
37813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37814 (eval $ac_link) 2>conftest.er1
37815 ac_status=$?
37816 grep -v '^ *+' conftest.er1 >conftest.err
37817 rm -f conftest.er1
37818 cat conftest.err >&5
37819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37820 (exit $ac_status); } &&
37821 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37823 (eval $ac_try) 2>&5
37824 ac_status=$?
37825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37826 (exit $ac_status); }; } &&
37827 { ac_try='test -s conftest$ac_exeext'
37828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37829 (eval $ac_try) 2>&5
37830 ac_status=$?
37831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37832 (exit $ac_status); }; }; then
37833 ac_cv_lib_nsl_inet_addr=yes
37834 else
37835 echo "$as_me: failed program was:" >&5
37836 sed 's/^/| /' conftest.$ac_ext >&5
37837
37838 ac_cv_lib_nsl_inet_addr=no
37839 fi
37840 rm -f conftest.err conftest.$ac_objext \
37841 conftest$ac_exeext conftest.$ac_ext
37842 LIBS=$ac_check_lib_save_LIBS
37843 fi
37844 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37845 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
37846 if test $ac_cv_lib_nsl_inet_addr = yes; then
37847 INET_LINK="nsl"
37848 else
37849
37850 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37851 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
37852 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37853 echo $ECHO_N "(cached) $ECHO_C" >&6
37854 else
37855 ac_check_lib_save_LIBS=$LIBS
37856 LIBS="-lresolv $LIBS"
37857 cat >conftest.$ac_ext <<_ACEOF
37858 /* confdefs.h. */
37859 _ACEOF
37860 cat confdefs.h >>conftest.$ac_ext
37861 cat >>conftest.$ac_ext <<_ACEOF
37862 /* end confdefs.h. */
37863
37864 /* Override any gcc2 internal prototype to avoid an error. */
37865 #ifdef __cplusplus
37866 extern "C"
37867 #endif
37868 /* We use char because int might match the return type of a gcc2
37869 builtin and then its argument prototype would still apply. */
37870 char inet_addr ();
37871 int
37872 main ()
37873 {
37874 inet_addr ();
37875 ;
37876 return 0;
37877 }
37878 _ACEOF
37879 rm -f conftest.$ac_objext conftest$ac_exeext
37880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37881 (eval $ac_link) 2>conftest.er1
37882 ac_status=$?
37883 grep -v '^ *+' conftest.er1 >conftest.err
37884 rm -f conftest.er1
37885 cat conftest.err >&5
37886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37887 (exit $ac_status); } &&
37888 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37890 (eval $ac_try) 2>&5
37891 ac_status=$?
37892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37893 (exit $ac_status); }; } &&
37894 { ac_try='test -s conftest$ac_exeext'
37895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37896 (eval $ac_try) 2>&5
37897 ac_status=$?
37898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37899 (exit $ac_status); }; }; then
37900 ac_cv_lib_resolv_inet_addr=yes
37901 else
37902 echo "$as_me: failed program was:" >&5
37903 sed 's/^/| /' conftest.$ac_ext >&5
37904
37905 ac_cv_lib_resolv_inet_addr=no
37906 fi
37907 rm -f conftest.err conftest.$ac_objext \
37908 conftest$ac_exeext conftest.$ac_ext
37909 LIBS=$ac_check_lib_save_LIBS
37910 fi
37911 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37912 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
37913 if test $ac_cv_lib_resolv_inet_addr = yes; then
37914 INET_LINK="resolv"
37915 else
37916
37917 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37918 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
37919 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37920 echo $ECHO_N "(cached) $ECHO_C" >&6
37921 else
37922 ac_check_lib_save_LIBS=$LIBS
37923 LIBS="-lsocket $LIBS"
37924 cat >conftest.$ac_ext <<_ACEOF
37925 /* confdefs.h. */
37926 _ACEOF
37927 cat confdefs.h >>conftest.$ac_ext
37928 cat >>conftest.$ac_ext <<_ACEOF
37929 /* end confdefs.h. */
37930
37931 /* Override any gcc2 internal prototype to avoid an error. */
37932 #ifdef __cplusplus
37933 extern "C"
37934 #endif
37935 /* We use char because int might match the return type of a gcc2
37936 builtin and then its argument prototype would still apply. */
37937 char inet_addr ();
37938 int
37939 main ()
37940 {
37941 inet_addr ();
37942 ;
37943 return 0;
37944 }
37945 _ACEOF
37946 rm -f conftest.$ac_objext conftest$ac_exeext
37947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37948 (eval $ac_link) 2>conftest.er1
37949 ac_status=$?
37950 grep -v '^ *+' conftest.er1 >conftest.err
37951 rm -f conftest.er1
37952 cat conftest.err >&5
37953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37954 (exit $ac_status); } &&
37955 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37957 (eval $ac_try) 2>&5
37958 ac_status=$?
37959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37960 (exit $ac_status); }; } &&
37961 { ac_try='test -s conftest$ac_exeext'
37962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37963 (eval $ac_try) 2>&5
37964 ac_status=$?
37965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37966 (exit $ac_status); }; }; then
37967 ac_cv_lib_socket_inet_addr=yes
37968 else
37969 echo "$as_me: failed program was:" >&5
37970 sed 's/^/| /' conftest.$ac_ext >&5
37971
37972 ac_cv_lib_socket_inet_addr=no
37973 fi
37974 rm -f conftest.err conftest.$ac_objext \
37975 conftest$ac_exeext conftest.$ac_ext
37976 LIBS=$ac_check_lib_save_LIBS
37977 fi
37978 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37979 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
37980 if test $ac_cv_lib_socket_inet_addr = yes; then
37981 INET_LINK="socket"
37982
37983 fi
37984
37985
37986
37987 fi
37988
37989
37990
37991 fi
37992
37993
37994
37995 fi
37996 done
37997
37998
37999
38000 for ac_func in inet_aton
38001 do
38002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38003 echo "$as_me:$LINENO: checking for $ac_func" >&5
38004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38005 if eval "test \"\${$as_ac_var+set}\" = set"; then
38006 echo $ECHO_N "(cached) $ECHO_C" >&6
38007 else
38008 cat >conftest.$ac_ext <<_ACEOF
38009 /* confdefs.h. */
38010 _ACEOF
38011 cat confdefs.h >>conftest.$ac_ext
38012 cat >>conftest.$ac_ext <<_ACEOF
38013 /* end confdefs.h. */
38014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38016 #define $ac_func innocuous_$ac_func
38017
38018 /* System header to define __stub macros and hopefully few prototypes,
38019 which can conflict with char $ac_func (); below.
38020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38021 <limits.h> exists even on freestanding compilers. */
38022
38023 #ifdef __STDC__
38024 # include <limits.h>
38025 #else
38026 # include <assert.h>
38027 #endif
38028
38029 #undef $ac_func
38030
38031 /* Override any gcc2 internal prototype to avoid an error. */
38032 #ifdef __cplusplus
38033 extern "C"
38034 {
38035 #endif
38036 /* We use char because int might match the return type of a gcc2
38037 builtin and then its argument prototype would still apply. */
38038 char $ac_func ();
38039 /* The GNU C library defines this for functions which it implements
38040 to always fail with ENOSYS. Some functions are actually named
38041 something starting with __ and the normal name is an alias. */
38042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38043 choke me
38044 #else
38045 char (*f) () = $ac_func;
38046 #endif
38047 #ifdef __cplusplus
38048 }
38049 #endif
38050
38051 int
38052 main ()
38053 {
38054 return f != $ac_func;
38055 ;
38056 return 0;
38057 }
38058 _ACEOF
38059 rm -f conftest.$ac_objext conftest$ac_exeext
38060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38061 (eval $ac_link) 2>conftest.er1
38062 ac_status=$?
38063 grep -v '^ *+' conftest.er1 >conftest.err
38064 rm -f conftest.er1
38065 cat conftest.err >&5
38066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38067 (exit $ac_status); } &&
38068 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38070 (eval $ac_try) 2>&5
38071 ac_status=$?
38072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38073 (exit $ac_status); }; } &&
38074 { ac_try='test -s conftest$ac_exeext'
38075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38076 (eval $ac_try) 2>&5
38077 ac_status=$?
38078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38079 (exit $ac_status); }; }; then
38080 eval "$as_ac_var=yes"
38081 else
38082 echo "$as_me: failed program was:" >&5
38083 sed 's/^/| /' conftest.$ac_ext >&5
38084
38085 eval "$as_ac_var=no"
38086 fi
38087 rm -f conftest.err conftest.$ac_objext \
38088 conftest$ac_exeext conftest.$ac_ext
38089 fi
38090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38092 if test `eval echo '${'$as_ac_var'}'` = yes; then
38093 cat >>confdefs.h <<_ACEOF
38094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38095 _ACEOF
38096 cat >>confdefs.h <<\_ACEOF
38097 #define HAVE_INET_ATON 1
38098 _ACEOF
38099
38100 else
38101
38102 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38103 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38104 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38105 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38106 echo $ECHO_N "(cached) $ECHO_C" >&6
38107 else
38108 ac_check_lib_save_LIBS=$LIBS
38109 LIBS="-l$INET_LINK $LIBS"
38110 cat >conftest.$ac_ext <<_ACEOF
38111 /* confdefs.h. */
38112 _ACEOF
38113 cat confdefs.h >>conftest.$ac_ext
38114 cat >>conftest.$ac_ext <<_ACEOF
38115 /* end confdefs.h. */
38116
38117 /* Override any gcc2 internal prototype to avoid an error. */
38118 #ifdef __cplusplus
38119 extern "C"
38120 #endif
38121 /* We use char because int might match the return type of a gcc2
38122 builtin and then its argument prototype would still apply. */
38123 char inet_aton ();
38124 int
38125 main ()
38126 {
38127 inet_aton ();
38128 ;
38129 return 0;
38130 }
38131 _ACEOF
38132 rm -f conftest.$ac_objext conftest$ac_exeext
38133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38134 (eval $ac_link) 2>conftest.er1
38135 ac_status=$?
38136 grep -v '^ *+' conftest.er1 >conftest.err
38137 rm -f conftest.er1
38138 cat conftest.err >&5
38139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38140 (exit $ac_status); } &&
38141 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38143 (eval $ac_try) 2>&5
38144 ac_status=$?
38145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38146 (exit $ac_status); }; } &&
38147 { ac_try='test -s conftest$ac_exeext'
38148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38149 (eval $ac_try) 2>&5
38150 ac_status=$?
38151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38152 (exit $ac_status); }; }; then
38153 eval "$as_ac_Lib=yes"
38154 else
38155 echo "$as_me: failed program was:" >&5
38156 sed 's/^/| /' conftest.$ac_ext >&5
38157
38158 eval "$as_ac_Lib=no"
38159 fi
38160 rm -f conftest.err conftest.$ac_objext \
38161 conftest$ac_exeext conftest.$ac_ext
38162 LIBS=$ac_check_lib_save_LIBS
38163 fi
38164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38165 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38166 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38167 cat >>confdefs.h <<\_ACEOF
38168 #define HAVE_INET_ATON 1
38169 _ACEOF
38170
38171 fi
38172
38173
38174 fi
38175 done
38176
38177
38178 if test "x$INET_LINK" != "x"; then
38179 cat >>confdefs.h <<\_ACEOF
38180 #define HAVE_INET_ADDR 1
38181 _ACEOF
38182
38183 INET_LINK=" -l$INET_LINK"
38184 fi
38185
38186 fi
38187
38188
38189
38190 EXTRALIBS_ESD=
38191 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38192 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38193 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38194 echo $ECHO_N "(cached) $ECHO_C" >&6
38195 else
38196 ac_check_lib_save_LIBS=$LIBS
38197 LIBS="-lesd $LIBS"
38198 cat >conftest.$ac_ext <<_ACEOF
38199 /* confdefs.h. */
38200 _ACEOF
38201 cat confdefs.h >>conftest.$ac_ext
38202 cat >>conftest.$ac_ext <<_ACEOF
38203 /* end confdefs.h. */
38204
38205 /* Override any gcc2 internal prototype to avoid an error. */
38206 #ifdef __cplusplus
38207 extern "C"
38208 #endif
38209 /* We use char because int might match the return type of a gcc2
38210 builtin and then its argument prototype would still apply. */
38211 char esd_close ();
38212 int
38213 main ()
38214 {
38215 esd_close ();
38216 ;
38217 return 0;
38218 }
38219 _ACEOF
38220 rm -f conftest.$ac_objext conftest$ac_exeext
38221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38222 (eval $ac_link) 2>conftest.er1
38223 ac_status=$?
38224 grep -v '^ *+' conftest.er1 >conftest.err
38225 rm -f conftest.er1
38226 cat conftest.err >&5
38227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38228 (exit $ac_status); } &&
38229 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38231 (eval $ac_try) 2>&5
38232 ac_status=$?
38233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38234 (exit $ac_status); }; } &&
38235 { ac_try='test -s conftest$ac_exeext'
38236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38237 (eval $ac_try) 2>&5
38238 ac_status=$?
38239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38240 (exit $ac_status); }; }; then
38241 ac_cv_lib_esd_esd_close=yes
38242 else
38243 echo "$as_me: failed program was:" >&5
38244 sed 's/^/| /' conftest.$ac_ext >&5
38245
38246 ac_cv_lib_esd_esd_close=no
38247 fi
38248 rm -f conftest.err conftest.$ac_objext \
38249 conftest$ac_exeext conftest.$ac_ext
38250 LIBS=$ac_check_lib_save_LIBS
38251 fi
38252 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38253 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38254 if test $ac_cv_lib_esd_esd_close = yes; then
38255
38256
38257 for ac_header in esd.h
38258 do
38259 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38260 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38261 echo "$as_me:$LINENO: checking for $ac_header" >&5
38262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38264 echo $ECHO_N "(cached) $ECHO_C" >&6
38265 fi
38266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38267 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38268 else
38269 # Is the header compilable?
38270 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38271 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38272 cat >conftest.$ac_ext <<_ACEOF
38273 /* confdefs.h. */
38274 _ACEOF
38275 cat confdefs.h >>conftest.$ac_ext
38276 cat >>conftest.$ac_ext <<_ACEOF
38277 /* end confdefs.h. */
38278 $ac_includes_default
38279 #include <$ac_header>
38280 _ACEOF
38281 rm -f conftest.$ac_objext
38282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38283 (eval $ac_compile) 2>conftest.er1
38284 ac_status=$?
38285 grep -v '^ *+' conftest.er1 >conftest.err
38286 rm -f conftest.er1
38287 cat conftest.err >&5
38288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38289 (exit $ac_status); } &&
38290 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38292 (eval $ac_try) 2>&5
38293 ac_status=$?
38294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38295 (exit $ac_status); }; } &&
38296 { ac_try='test -s conftest.$ac_objext'
38297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38298 (eval $ac_try) 2>&5
38299 ac_status=$?
38300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38301 (exit $ac_status); }; }; then
38302 ac_header_compiler=yes
38303 else
38304 echo "$as_me: failed program was:" >&5
38305 sed 's/^/| /' conftest.$ac_ext >&5
38306
38307 ac_header_compiler=no
38308 fi
38309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38311 echo "${ECHO_T}$ac_header_compiler" >&6
38312
38313 # Is the header present?
38314 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38315 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38316 cat >conftest.$ac_ext <<_ACEOF
38317 /* confdefs.h. */
38318 _ACEOF
38319 cat confdefs.h >>conftest.$ac_ext
38320 cat >>conftest.$ac_ext <<_ACEOF
38321 /* end confdefs.h. */
38322 #include <$ac_header>
38323 _ACEOF
38324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38325 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38326 ac_status=$?
38327 grep -v '^ *+' conftest.er1 >conftest.err
38328 rm -f conftest.er1
38329 cat conftest.err >&5
38330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38331 (exit $ac_status); } >/dev/null; then
38332 if test -s conftest.err; then
38333 ac_cpp_err=$ac_cxx_preproc_warn_flag
38334 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38335 else
38336 ac_cpp_err=
38337 fi
38338 else
38339 ac_cpp_err=yes
38340 fi
38341 if test -z "$ac_cpp_err"; then
38342 ac_header_preproc=yes
38343 else
38344 echo "$as_me: failed program was:" >&5
38345 sed 's/^/| /' conftest.$ac_ext >&5
38346
38347 ac_header_preproc=no
38348 fi
38349 rm -f conftest.err conftest.$ac_ext
38350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38351 echo "${ECHO_T}$ac_header_preproc" >&6
38352
38353 # So? What about this header?
38354 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38355 yes:no: )
38356 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38360 ac_header_preproc=yes
38361 ;;
38362 no:yes:* )
38363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38367 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38369 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38370 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38373 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38375 (
38376 cat <<\_ASBOX
38377 ## ----------------------------------------- ##
38378 ## Report this to wx-dev@lists.wxwidgets.org ##
38379 ## ----------------------------------------- ##
38380 _ASBOX
38381 ) |
38382 sed "s/^/$as_me: WARNING: /" >&2
38383 ;;
38384 esac
38385 echo "$as_me:$LINENO: checking for $ac_header" >&5
38386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38388 echo $ECHO_N "(cached) $ECHO_C" >&6
38389 else
38390 eval "$as_ac_Header=\$ac_header_preproc"
38391 fi
38392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38394
38395 fi
38396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38397 cat >>confdefs.h <<_ACEOF
38398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38399 _ACEOF
38400
38401 EXTRALIBS_ESD="-lesd"
38402
38403 fi
38404
38405 done
38406
38407
38408 fi
38409
38410
38411
38412 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38413 echo $ECHO_N "checking for known CD-ROM interface... $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 #ifdef __linux__
38421 #include <linux/cdrom.h>
38422 #else
38423 /* For Solaris */
38424 #include <sys/cdio.h>
38425 #endif
38426
38427 int
38428 main ()
38429 {
38430 struct cdrom_tocentry entry, old_entry;
38431 ;
38432 return 0;
38433 }
38434 _ACEOF
38435 rm -f conftest.$ac_objext
38436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38437 (eval $ac_compile) 2>conftest.er1
38438 ac_status=$?
38439 grep -v '^ *+' conftest.er1 >conftest.err
38440 rm -f conftest.er1
38441 cat conftest.err >&5
38442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38443 (exit $ac_status); } &&
38444 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38446 (eval $ac_try) 2>&5
38447 ac_status=$?
38448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38449 (exit $ac_status); }; } &&
38450 { ac_try='test -s conftest.$ac_objext'
38451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38452 (eval $ac_try) 2>&5
38453 ac_status=$?
38454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38455 (exit $ac_status); }; }; then
38456 echo "$as_me:$LINENO: result: yes" >&5
38457 echo "${ECHO_T}yes" >&6
38458 cat >>confdefs.h <<\_ACEOF
38459 #define HAVE_KNOWN_CDROM_INTERFACE 1
38460 _ACEOF
38461
38462 else
38463 echo "$as_me: failed program was:" >&5
38464 sed 's/^/| /' conftest.$ac_ext >&5
38465
38466 echo "$as_me:$LINENO: result: no" >&5
38467 echo "${ECHO_T}no" >&6
38468 fi
38469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38470
38471
38472 cat >confcache <<\_ACEOF
38473 # This file is a shell script that caches the results of configure
38474 # tests run on this system so they can be shared between configure
38475 # scripts and configure runs, see configure's option --config-cache.
38476 # It is not useful on other systems. If it contains results you don't
38477 # want to keep, you may remove or edit it.
38478 #
38479 # config.status only pays attention to the cache file if you give it
38480 # the --recheck option to rerun configure.
38481 #
38482 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38483 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38484 # following values.
38485
38486 _ACEOF
38487
38488 # The following way of writing the cache mishandles newlines in values,
38489 # but we know of no workaround that is simple, portable, and efficient.
38490 # So, don't put newlines in cache variables' values.
38491 # Ultrix sh set writes to stderr and can't be redirected directly,
38492 # and sets the high bit in the cache file unless we assign to the vars.
38493 {
38494 (set) 2>&1 |
38495 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38496 *ac_space=\ *)
38497 # `set' does not quote correctly, so add quotes (double-quote
38498 # substitution turns \\\\ into \\, and sed turns \\ into \).
38499 sed -n \
38500 "s/'/'\\\\''/g;
38501 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38502 ;;
38503 *)
38504 # `set' quotes correctly as required by POSIX, so do not add quotes.
38505 sed -n \
38506 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38507 ;;
38508 esac;
38509 } |
38510 sed '
38511 t clear
38512 : clear
38513 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38514 t end
38515 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38516 : end' >>confcache
38517 if diff $cache_file confcache >/dev/null 2>&1; then :; else
38518 if test -w $cache_file; then
38519 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38520 cat confcache >$cache_file
38521 else
38522 echo "not updating unwritable cache $cache_file"
38523 fi
38524 fi
38525 rm -f confcache
38526
38527
38528 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38529
38530
38531 THREADS_LINK=
38532 THREADS_CXXFLAGS=
38533
38534 if test "$wxUSE_THREADS" = "yes" ; then
38535 if test "$USE_BEOS" = 1; then
38536 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38537 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38538 wxUSE_THREADS="no"
38539 fi
38540 fi
38541
38542 if test "$wxUSE_THREADS" = "yes" ; then
38543
38544
38545 THREAD_OPTS="-pthread"
38546 case "${host}" in
38547 *-*-solaris2* | *-*-sunos4* )
38548 if test "x$GCC" = "xyes"; then
38549 THREAD_OPTS="-pthreads $THREAD_OPTS"
38550 else
38551 THREAD_OPTS="-mt $THREAD_OPTS"
38552 fi
38553 ;;
38554 *-*-freebsd*)
38555 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38556 ;;
38557 *-*-darwin* | *-*-cygwin* )
38558 THREAD_OPTS=""
38559 ;;
38560 *-*-aix*)
38561 THREAD_OPTS="pthreads"
38562 ;;
38563 *-hp-hpux* )
38564 if test "x$GCC" = "xyes"; then
38565 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38566 THREAD_OPTS=""
38567 else
38568 THREAD_OPTS="-mt"
38569 fi
38570 ;;
38571
38572 *-*-irix* )
38573 if test "x$GCC" = "xyes"; then
38574 THREAD_OPTS=""
38575 fi
38576 ;;
38577
38578 *-*-*UnixWare*)
38579 if test "x$GCC" != "xyes"; then
38580 THREAD_OPTS="-Ethread"
38581 fi
38582 ;;
38583 esac
38584
38585 THREAD_OPTS="$THREAD_OPTS pthread none"
38586
38587 THREADS_OK=no
38588 for flag in $THREAD_OPTS; do
38589 case $flag in
38590 none)
38591 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38592 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38593 ;;
38594
38595 -*)
38596 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38597 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38598 THREADS_CXXFLAGS="$flag"
38599 ;;
38600
38601 *)
38602 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38603 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38604 THREADS_LINK="-l$flag"
38605 ;;
38606 esac
38607
38608 save_LIBS="$LIBS"
38609 save_CXXFLAGS="$CXXFLAGS"
38610 LIBS="$THREADS_LINK $LIBS"
38611 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
38612
38613 cat >conftest.$ac_ext <<_ACEOF
38614 /* confdefs.h. */
38615 _ACEOF
38616 cat confdefs.h >>conftest.$ac_ext
38617 cat >>conftest.$ac_ext <<_ACEOF
38618 /* end confdefs.h. */
38619 #include <pthread.h>
38620 int
38621 main ()
38622 {
38623 pthread_create(0,0,0,0);
38624 ;
38625 return 0;
38626 }
38627 _ACEOF
38628 rm -f conftest.$ac_objext conftest$ac_exeext
38629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38630 (eval $ac_link) 2>conftest.er1
38631 ac_status=$?
38632 grep -v '^ *+' conftest.er1 >conftest.err
38633 rm -f conftest.er1
38634 cat conftest.err >&5
38635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38636 (exit $ac_status); } &&
38637 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38639 (eval $ac_try) 2>&5
38640 ac_status=$?
38641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38642 (exit $ac_status); }; } &&
38643 { ac_try='test -s conftest$ac_exeext'
38644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38645 (eval $ac_try) 2>&5
38646 ac_status=$?
38647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38648 (exit $ac_status); }; }; then
38649 THREADS_OK=yes
38650 else
38651 echo "$as_me: failed program was:" >&5
38652 sed 's/^/| /' conftest.$ac_ext >&5
38653
38654 fi
38655 rm -f conftest.err conftest.$ac_objext \
38656 conftest$ac_exeext conftest.$ac_ext
38657
38658 LIBS="$save_LIBS"
38659 CXXFLAGS="$save_CXXFLAGS"
38660
38661 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38662 echo "${ECHO_T}$THREADS_OK" >&6
38663 if test "x$THREADS_OK" = "xyes"; then
38664 break;
38665 fi
38666
38667 THREADS_LINK=""
38668 THREADS_CXXFLAGS=""
38669 done
38670
38671 if test "x$THREADS_OK" != "xyes"; then
38672 wxUSE_THREADS=no
38673 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38674 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38675 else
38676 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
38677 LIBS="$THREADS_LINK $LIBS"
38678
38679 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38680 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
38681 flag=no
38682 case "${host}" in
38683 *-aix*)
38684 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38685 flag="-D_THREAD_SAFE"
38686 ;;
38687 *-freebsd*)
38688 flag="-D_THREAD_SAFE"
38689 ;;
38690 *-hp-hpux* )
38691 flag="-D_REENTRANT"
38692 if test "x$GCC" != "xyes"; then
38693 flag="$flag -D_RWSTD_MULTI_THREAD"
38694 fi
38695 ;;
38696 *solaris* | alpha*-osf*)
38697 flag="-D_REENTRANT"
38698 ;;
38699 esac
38700 echo "$as_me:$LINENO: result: ${flag}" >&5
38701 echo "${ECHO_T}${flag}" >&6
38702 if test "x$flag" != xno; then
38703 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
38704 fi
38705
38706 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
38707 fi
38708 fi
38709
38710 if test "$wxUSE_THREADS" = "yes" ; then
38711
38712 for ac_func in thr_setconcurrency
38713 do
38714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38715 echo "$as_me:$LINENO: checking for $ac_func" >&5
38716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38717 if eval "test \"\${$as_ac_var+set}\" = set"; then
38718 echo $ECHO_N "(cached) $ECHO_C" >&6
38719 else
38720 cat >conftest.$ac_ext <<_ACEOF
38721 /* confdefs.h. */
38722 _ACEOF
38723 cat confdefs.h >>conftest.$ac_ext
38724 cat >>conftest.$ac_ext <<_ACEOF
38725 /* end confdefs.h. */
38726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38728 #define $ac_func innocuous_$ac_func
38729
38730 /* System header to define __stub macros and hopefully few prototypes,
38731 which can conflict with char $ac_func (); below.
38732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38733 <limits.h> exists even on freestanding compilers. */
38734
38735 #ifdef __STDC__
38736 # include <limits.h>
38737 #else
38738 # include <assert.h>
38739 #endif
38740
38741 #undef $ac_func
38742
38743 /* Override any gcc2 internal prototype to avoid an error. */
38744 #ifdef __cplusplus
38745 extern "C"
38746 {
38747 #endif
38748 /* We use char because int might match the return type of a gcc2
38749 builtin and then its argument prototype would still apply. */
38750 char $ac_func ();
38751 /* The GNU C library defines this for functions which it implements
38752 to always fail with ENOSYS. Some functions are actually named
38753 something starting with __ and the normal name is an alias. */
38754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38755 choke me
38756 #else
38757 char (*f) () = $ac_func;
38758 #endif
38759 #ifdef __cplusplus
38760 }
38761 #endif
38762
38763 int
38764 main ()
38765 {
38766 return f != $ac_func;
38767 ;
38768 return 0;
38769 }
38770 _ACEOF
38771 rm -f conftest.$ac_objext conftest$ac_exeext
38772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38773 (eval $ac_link) 2>conftest.er1
38774 ac_status=$?
38775 grep -v '^ *+' conftest.er1 >conftest.err
38776 rm -f conftest.er1
38777 cat conftest.err >&5
38778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38779 (exit $ac_status); } &&
38780 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38782 (eval $ac_try) 2>&5
38783 ac_status=$?
38784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38785 (exit $ac_status); }; } &&
38786 { ac_try='test -s conftest$ac_exeext'
38787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38788 (eval $ac_try) 2>&5
38789 ac_status=$?
38790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38791 (exit $ac_status); }; }; then
38792 eval "$as_ac_var=yes"
38793 else
38794 echo "$as_me: failed program was:" >&5
38795 sed 's/^/| /' conftest.$ac_ext >&5
38796
38797 eval "$as_ac_var=no"
38798 fi
38799 rm -f conftest.err conftest.$ac_objext \
38800 conftest$ac_exeext conftest.$ac_ext
38801 fi
38802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38804 if test `eval echo '${'$as_ac_var'}'` = yes; then
38805 cat >>confdefs.h <<_ACEOF
38806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38807 _ACEOF
38808
38809 fi
38810 done
38811
38812
38813 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38814 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
38815 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38816 echo $ECHO_N "(cached) $ECHO_C" >&6
38817 else
38818
38819 cat >conftest.$ac_ext <<_ACEOF
38820 /* confdefs.h. */
38821 _ACEOF
38822 cat confdefs.h >>conftest.$ac_ext
38823 cat >>conftest.$ac_ext <<_ACEOF
38824 /* end confdefs.h. */
38825 #include <pthread.h>
38826 void ThreadCleanupFunc(void *p);
38827
38828 int
38829 main ()
38830 {
38831
38832 void *p;
38833 pthread_cleanup_push(ThreadCleanupFunc, p);
38834 pthread_cleanup_pop(0);
38835
38836 ;
38837 return 0;
38838 }
38839 _ACEOF
38840 rm -f conftest.$ac_objext
38841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38842 (eval $ac_compile) 2>conftest.er1
38843 ac_status=$?
38844 grep -v '^ *+' conftest.er1 >conftest.err
38845 rm -f conftest.er1
38846 cat conftest.err >&5
38847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38848 (exit $ac_status); } &&
38849 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38851 (eval $ac_try) 2>&5
38852 ac_status=$?
38853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38854 (exit $ac_status); }; } &&
38855 { ac_try='test -s conftest.$ac_objext'
38856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38857 (eval $ac_try) 2>&5
38858 ac_status=$?
38859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38860 (exit $ac_status); }; }; then
38861
38862 wx_cv_func_pthread_cleanup=yes
38863
38864 else
38865 echo "$as_me: failed program was:" >&5
38866 sed 's/^/| /' conftest.$ac_ext >&5
38867
38868
38869 wx_cv_func_pthread_cleanup=no
38870
38871
38872 fi
38873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38874
38875 fi
38876 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38877 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
38878 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38879 cat >>confdefs.h <<\_ACEOF
38880 #define wxHAVE_PTHREAD_CLEANUP 1
38881 _ACEOF
38882
38883 fi
38884
38885
38886 for ac_header in sched.h
38887 do
38888 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38890 echo "$as_me:$LINENO: checking for $ac_header" >&5
38891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38893 echo $ECHO_N "(cached) $ECHO_C" >&6
38894 fi
38895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38897 else
38898 # Is the header compilable?
38899 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38901 cat >conftest.$ac_ext <<_ACEOF
38902 /* confdefs.h. */
38903 _ACEOF
38904 cat confdefs.h >>conftest.$ac_ext
38905 cat >>conftest.$ac_ext <<_ACEOF
38906 /* end confdefs.h. */
38907 $ac_includes_default
38908 #include <$ac_header>
38909 _ACEOF
38910 rm -f conftest.$ac_objext
38911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38912 (eval $ac_compile) 2>conftest.er1
38913 ac_status=$?
38914 grep -v '^ *+' conftest.er1 >conftest.err
38915 rm -f conftest.er1
38916 cat conftest.err >&5
38917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38918 (exit $ac_status); } &&
38919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38921 (eval $ac_try) 2>&5
38922 ac_status=$?
38923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38924 (exit $ac_status); }; } &&
38925 { ac_try='test -s conftest.$ac_objext'
38926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38927 (eval $ac_try) 2>&5
38928 ac_status=$?
38929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38930 (exit $ac_status); }; }; then
38931 ac_header_compiler=yes
38932 else
38933 echo "$as_me: failed program was:" >&5
38934 sed 's/^/| /' conftest.$ac_ext >&5
38935
38936 ac_header_compiler=no
38937 fi
38938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38939 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38940 echo "${ECHO_T}$ac_header_compiler" >&6
38941
38942 # Is the header present?
38943 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38944 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38945 cat >conftest.$ac_ext <<_ACEOF
38946 /* confdefs.h. */
38947 _ACEOF
38948 cat confdefs.h >>conftest.$ac_ext
38949 cat >>conftest.$ac_ext <<_ACEOF
38950 /* end confdefs.h. */
38951 #include <$ac_header>
38952 _ACEOF
38953 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38954 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38955 ac_status=$?
38956 grep -v '^ *+' conftest.er1 >conftest.err
38957 rm -f conftest.er1
38958 cat conftest.err >&5
38959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38960 (exit $ac_status); } >/dev/null; then
38961 if test -s conftest.err; then
38962 ac_cpp_err=$ac_cxx_preproc_warn_flag
38963 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38964 else
38965 ac_cpp_err=
38966 fi
38967 else
38968 ac_cpp_err=yes
38969 fi
38970 if test -z "$ac_cpp_err"; then
38971 ac_header_preproc=yes
38972 else
38973 echo "$as_me: failed program was:" >&5
38974 sed 's/^/| /' conftest.$ac_ext >&5
38975
38976 ac_header_preproc=no
38977 fi
38978 rm -f conftest.err conftest.$ac_ext
38979 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38980 echo "${ECHO_T}$ac_header_preproc" >&6
38981
38982 # So? What about this header?
38983 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38984 yes:no: )
38985 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38986 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38988 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38989 ac_header_preproc=yes
38990 ;;
38991 no:yes:* )
38992 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38993 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38994 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38995 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38996 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38997 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38998 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38999 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39001 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39002 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39003 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39004 (
39005 cat <<\_ASBOX
39006 ## ----------------------------------------- ##
39007 ## Report this to wx-dev@lists.wxwidgets.org ##
39008 ## ----------------------------------------- ##
39009 _ASBOX
39010 ) |
39011 sed "s/^/$as_me: WARNING: /" >&2
39012 ;;
39013 esac
39014 echo "$as_me:$LINENO: checking for $ac_header" >&5
39015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39017 echo $ECHO_N "(cached) $ECHO_C" >&6
39018 else
39019 eval "$as_ac_Header=\$ac_header_preproc"
39020 fi
39021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39023
39024 fi
39025 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39026 cat >>confdefs.h <<_ACEOF
39027 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39028 _ACEOF
39029
39030 fi
39031
39032 done
39033
39034 if test "$ac_cv_header_sched_h" = "yes"; then
39035 echo "$as_me:$LINENO: checking for sched_yield" >&5
39036 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39037 if test "${ac_cv_func_sched_yield+set}" = set; then
39038 echo $ECHO_N "(cached) $ECHO_C" >&6
39039 else
39040 cat >conftest.$ac_ext <<_ACEOF
39041 /* confdefs.h. */
39042 _ACEOF
39043 cat confdefs.h >>conftest.$ac_ext
39044 cat >>conftest.$ac_ext <<_ACEOF
39045 /* end confdefs.h. */
39046 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39048 #define sched_yield innocuous_sched_yield
39049
39050 /* System header to define __stub macros and hopefully few prototypes,
39051 which can conflict with char sched_yield (); below.
39052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39053 <limits.h> exists even on freestanding compilers. */
39054
39055 #ifdef __STDC__
39056 # include <limits.h>
39057 #else
39058 # include <assert.h>
39059 #endif
39060
39061 #undef sched_yield
39062
39063 /* Override any gcc2 internal prototype to avoid an error. */
39064 #ifdef __cplusplus
39065 extern "C"
39066 {
39067 #endif
39068 /* We use char because int might match the return type of a gcc2
39069 builtin and then its argument prototype would still apply. */
39070 char sched_yield ();
39071 /* The GNU C library defines this for functions which it implements
39072 to always fail with ENOSYS. Some functions are actually named
39073 something starting with __ and the normal name is an alias. */
39074 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39075 choke me
39076 #else
39077 char (*f) () = sched_yield;
39078 #endif
39079 #ifdef __cplusplus
39080 }
39081 #endif
39082
39083 int
39084 main ()
39085 {
39086 return f != sched_yield;
39087 ;
39088 return 0;
39089 }
39090 _ACEOF
39091 rm -f conftest.$ac_objext conftest$ac_exeext
39092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39093 (eval $ac_link) 2>conftest.er1
39094 ac_status=$?
39095 grep -v '^ *+' conftest.er1 >conftest.err
39096 rm -f conftest.er1
39097 cat conftest.err >&5
39098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39099 (exit $ac_status); } &&
39100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39102 (eval $ac_try) 2>&5
39103 ac_status=$?
39104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39105 (exit $ac_status); }; } &&
39106 { ac_try='test -s conftest$ac_exeext'
39107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39108 (eval $ac_try) 2>&5
39109 ac_status=$?
39110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39111 (exit $ac_status); }; }; then
39112 ac_cv_func_sched_yield=yes
39113 else
39114 echo "$as_me: failed program was:" >&5
39115 sed 's/^/| /' conftest.$ac_ext >&5
39116
39117 ac_cv_func_sched_yield=no
39118 fi
39119 rm -f conftest.err conftest.$ac_objext \
39120 conftest$ac_exeext conftest.$ac_ext
39121 fi
39122 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39123 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39124 if test $ac_cv_func_sched_yield = yes; then
39125 cat >>confdefs.h <<\_ACEOF
39126 #define HAVE_SCHED_YIELD 1
39127 _ACEOF
39128
39129 else
39130
39131 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39132 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39133 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39134 echo $ECHO_N "(cached) $ECHO_C" >&6
39135 else
39136 ac_check_lib_save_LIBS=$LIBS
39137 LIBS="-lposix4 $LIBS"
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
39145 /* Override any gcc2 internal prototype to avoid an error. */
39146 #ifdef __cplusplus
39147 extern "C"
39148 #endif
39149 /* We use char because int might match the return type of a gcc2
39150 builtin and then its argument prototype would still apply. */
39151 char sched_yield ();
39152 int
39153 main ()
39154 {
39155 sched_yield ();
39156 ;
39157 return 0;
39158 }
39159 _ACEOF
39160 rm -f conftest.$ac_objext conftest$ac_exeext
39161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39162 (eval $ac_link) 2>conftest.er1
39163 ac_status=$?
39164 grep -v '^ *+' conftest.er1 >conftest.err
39165 rm -f conftest.er1
39166 cat conftest.err >&5
39167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39168 (exit $ac_status); } &&
39169 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39171 (eval $ac_try) 2>&5
39172 ac_status=$?
39173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39174 (exit $ac_status); }; } &&
39175 { ac_try='test -s conftest$ac_exeext'
39176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39177 (eval $ac_try) 2>&5
39178 ac_status=$?
39179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180 (exit $ac_status); }; }; then
39181 ac_cv_lib_posix4_sched_yield=yes
39182 else
39183 echo "$as_me: failed program was:" >&5
39184 sed 's/^/| /' conftest.$ac_ext >&5
39185
39186 ac_cv_lib_posix4_sched_yield=no
39187 fi
39188 rm -f conftest.err conftest.$ac_objext \
39189 conftest$ac_exeext conftest.$ac_ext
39190 LIBS=$ac_check_lib_save_LIBS
39191 fi
39192 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39193 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39194 if test $ac_cv_lib_posix4_sched_yield = yes; then
39195 cat >>confdefs.h <<\_ACEOF
39196 #define HAVE_SCHED_YIELD 1
39197 _ACEOF
39198 POSIX4_LINK=" -lposix4"
39199 else
39200 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39201 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39202
39203 fi
39204
39205
39206
39207 fi
39208
39209 fi
39210
39211 HAVE_PRIOR_FUNCS=0
39212 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39213 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39214 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39215 echo $ECHO_N "(cached) $ECHO_C" >&6
39216 else
39217 cat >conftest.$ac_ext <<_ACEOF
39218 /* confdefs.h. */
39219 _ACEOF
39220 cat confdefs.h >>conftest.$ac_ext
39221 cat >>conftest.$ac_ext <<_ACEOF
39222 /* end confdefs.h. */
39223 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39225 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39226
39227 /* System header to define __stub macros and hopefully few prototypes,
39228 which can conflict with char pthread_attr_getschedpolicy (); below.
39229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39230 <limits.h> exists even on freestanding compilers. */
39231
39232 #ifdef __STDC__
39233 # include <limits.h>
39234 #else
39235 # include <assert.h>
39236 #endif
39237
39238 #undef pthread_attr_getschedpolicy
39239
39240 /* Override any gcc2 internal prototype to avoid an error. */
39241 #ifdef __cplusplus
39242 extern "C"
39243 {
39244 #endif
39245 /* We use char because int might match the return type of a gcc2
39246 builtin and then its argument prototype would still apply. */
39247 char pthread_attr_getschedpolicy ();
39248 /* The GNU C library defines this for functions which it implements
39249 to always fail with ENOSYS. Some functions are actually named
39250 something starting with __ and the normal name is an alias. */
39251 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39252 choke me
39253 #else
39254 char (*f) () = pthread_attr_getschedpolicy;
39255 #endif
39256 #ifdef __cplusplus
39257 }
39258 #endif
39259
39260 int
39261 main ()
39262 {
39263 return f != pthread_attr_getschedpolicy;
39264 ;
39265 return 0;
39266 }
39267 _ACEOF
39268 rm -f conftest.$ac_objext conftest$ac_exeext
39269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39270 (eval $ac_link) 2>conftest.er1
39271 ac_status=$?
39272 grep -v '^ *+' conftest.er1 >conftest.err
39273 rm -f conftest.er1
39274 cat conftest.err >&5
39275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39276 (exit $ac_status); } &&
39277 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39279 (eval $ac_try) 2>&5
39280 ac_status=$?
39281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282 (exit $ac_status); }; } &&
39283 { ac_try='test -s conftest$ac_exeext'
39284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39285 (eval $ac_try) 2>&5
39286 ac_status=$?
39287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39288 (exit $ac_status); }; }; then
39289 ac_cv_func_pthread_attr_getschedpolicy=yes
39290 else
39291 echo "$as_me: failed program was:" >&5
39292 sed 's/^/| /' conftest.$ac_ext >&5
39293
39294 ac_cv_func_pthread_attr_getschedpolicy=no
39295 fi
39296 rm -f conftest.err conftest.$ac_objext \
39297 conftest$ac_exeext conftest.$ac_ext
39298 fi
39299 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39300 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39301 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39302 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39303 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39304 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39305 echo $ECHO_N "(cached) $ECHO_C" >&6
39306 else
39307 cat >conftest.$ac_ext <<_ACEOF
39308 /* confdefs.h. */
39309 _ACEOF
39310 cat confdefs.h >>conftest.$ac_ext
39311 cat >>conftest.$ac_ext <<_ACEOF
39312 /* end confdefs.h. */
39313 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39315 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39316
39317 /* System header to define __stub macros and hopefully few prototypes,
39318 which can conflict with char pthread_attr_setschedparam (); below.
39319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39320 <limits.h> exists even on freestanding compilers. */
39321
39322 #ifdef __STDC__
39323 # include <limits.h>
39324 #else
39325 # include <assert.h>
39326 #endif
39327
39328 #undef pthread_attr_setschedparam
39329
39330 /* Override any gcc2 internal prototype to avoid an error. */
39331 #ifdef __cplusplus
39332 extern "C"
39333 {
39334 #endif
39335 /* We use char because int might match the return type of a gcc2
39336 builtin and then its argument prototype would still apply. */
39337 char pthread_attr_setschedparam ();
39338 /* The GNU C library defines this for functions which it implements
39339 to always fail with ENOSYS. Some functions are actually named
39340 something starting with __ and the normal name is an alias. */
39341 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39342 choke me
39343 #else
39344 char (*f) () = pthread_attr_setschedparam;
39345 #endif
39346 #ifdef __cplusplus
39347 }
39348 #endif
39349
39350 int
39351 main ()
39352 {
39353 return f != pthread_attr_setschedparam;
39354 ;
39355 return 0;
39356 }
39357 _ACEOF
39358 rm -f conftest.$ac_objext conftest$ac_exeext
39359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39360 (eval $ac_link) 2>conftest.er1
39361 ac_status=$?
39362 grep -v '^ *+' conftest.er1 >conftest.err
39363 rm -f conftest.er1
39364 cat conftest.err >&5
39365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39366 (exit $ac_status); } &&
39367 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39369 (eval $ac_try) 2>&5
39370 ac_status=$?
39371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39372 (exit $ac_status); }; } &&
39373 { ac_try='test -s conftest$ac_exeext'
39374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39375 (eval $ac_try) 2>&5
39376 ac_status=$?
39377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39378 (exit $ac_status); }; }; then
39379 ac_cv_func_pthread_attr_setschedparam=yes
39380 else
39381 echo "$as_me: failed program was:" >&5
39382 sed 's/^/| /' conftest.$ac_ext >&5
39383
39384 ac_cv_func_pthread_attr_setschedparam=no
39385 fi
39386 rm -f conftest.err conftest.$ac_objext \
39387 conftest$ac_exeext conftest.$ac_ext
39388 fi
39389 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39390 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39391 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39392 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39393 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39394 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39395 echo $ECHO_N "(cached) $ECHO_C" >&6
39396 else
39397 cat >conftest.$ac_ext <<_ACEOF
39398 /* confdefs.h. */
39399 _ACEOF
39400 cat confdefs.h >>conftest.$ac_ext
39401 cat >>conftest.$ac_ext <<_ACEOF
39402 /* end confdefs.h. */
39403 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39405 #define sched_get_priority_max innocuous_sched_get_priority_max
39406
39407 /* System header to define __stub macros and hopefully few prototypes,
39408 which can conflict with char sched_get_priority_max (); below.
39409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39410 <limits.h> exists even on freestanding compilers. */
39411
39412 #ifdef __STDC__
39413 # include <limits.h>
39414 #else
39415 # include <assert.h>
39416 #endif
39417
39418 #undef sched_get_priority_max
39419
39420 /* Override any gcc2 internal prototype to avoid an error. */
39421 #ifdef __cplusplus
39422 extern "C"
39423 {
39424 #endif
39425 /* We use char because int might match the return type of a gcc2
39426 builtin and then its argument prototype would still apply. */
39427 char sched_get_priority_max ();
39428 /* The GNU C library defines this for functions which it implements
39429 to always fail with ENOSYS. Some functions are actually named
39430 something starting with __ and the normal name is an alias. */
39431 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39432 choke me
39433 #else
39434 char (*f) () = sched_get_priority_max;
39435 #endif
39436 #ifdef __cplusplus
39437 }
39438 #endif
39439
39440 int
39441 main ()
39442 {
39443 return f != sched_get_priority_max;
39444 ;
39445 return 0;
39446 }
39447 _ACEOF
39448 rm -f conftest.$ac_objext conftest$ac_exeext
39449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39450 (eval $ac_link) 2>conftest.er1
39451 ac_status=$?
39452 grep -v '^ *+' conftest.er1 >conftest.err
39453 rm -f conftest.er1
39454 cat conftest.err >&5
39455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39456 (exit $ac_status); } &&
39457 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39459 (eval $ac_try) 2>&5
39460 ac_status=$?
39461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39462 (exit $ac_status); }; } &&
39463 { ac_try='test -s conftest$ac_exeext'
39464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39465 (eval $ac_try) 2>&5
39466 ac_status=$?
39467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39468 (exit $ac_status); }; }; then
39469 ac_cv_func_sched_get_priority_max=yes
39470 else
39471 echo "$as_me: failed program was:" >&5
39472 sed 's/^/| /' conftest.$ac_ext >&5
39473
39474 ac_cv_func_sched_get_priority_max=no
39475 fi
39476 rm -f conftest.err conftest.$ac_objext \
39477 conftest$ac_exeext conftest.$ac_ext
39478 fi
39479 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39480 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39481 if test $ac_cv_func_sched_get_priority_max = yes; then
39482 HAVE_PRIOR_FUNCS=1
39483 else
39484 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39485 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39486 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39487 echo $ECHO_N "(cached) $ECHO_C" >&6
39488 else
39489 ac_check_lib_save_LIBS=$LIBS
39490 LIBS="-lposix4 $LIBS"
39491 cat >conftest.$ac_ext <<_ACEOF
39492 /* confdefs.h. */
39493 _ACEOF
39494 cat confdefs.h >>conftest.$ac_ext
39495 cat >>conftest.$ac_ext <<_ACEOF
39496 /* end confdefs.h. */
39497
39498 /* Override any gcc2 internal prototype to avoid an error. */
39499 #ifdef __cplusplus
39500 extern "C"
39501 #endif
39502 /* We use char because int might match the return type of a gcc2
39503 builtin and then its argument prototype would still apply. */
39504 char sched_get_priority_max ();
39505 int
39506 main ()
39507 {
39508 sched_get_priority_max ();
39509 ;
39510 return 0;
39511 }
39512 _ACEOF
39513 rm -f conftest.$ac_objext conftest$ac_exeext
39514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39515 (eval $ac_link) 2>conftest.er1
39516 ac_status=$?
39517 grep -v '^ *+' conftest.er1 >conftest.err
39518 rm -f conftest.er1
39519 cat conftest.err >&5
39520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39521 (exit $ac_status); } &&
39522 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39524 (eval $ac_try) 2>&5
39525 ac_status=$?
39526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39527 (exit $ac_status); }; } &&
39528 { ac_try='test -s conftest$ac_exeext'
39529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39530 (eval $ac_try) 2>&5
39531 ac_status=$?
39532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39533 (exit $ac_status); }; }; then
39534 ac_cv_lib_posix4_sched_get_priority_max=yes
39535 else
39536 echo "$as_me: failed program was:" >&5
39537 sed 's/^/| /' conftest.$ac_ext >&5
39538
39539 ac_cv_lib_posix4_sched_get_priority_max=no
39540 fi
39541 rm -f conftest.err conftest.$ac_objext \
39542 conftest$ac_exeext conftest.$ac_ext
39543 LIBS=$ac_check_lib_save_LIBS
39544 fi
39545 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39546 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39547 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39548
39549 HAVE_PRIOR_FUNCS=1
39550 POSIX4_LINK=" -lposix4"
39551
39552 fi
39553
39554
39555 fi
39556
39557
39558 fi
39559
39560
39561 fi
39562
39563
39564 if test "$HAVE_PRIOR_FUNCS" = 1; then
39565 cat >>confdefs.h <<\_ACEOF
39566 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39567 _ACEOF
39568
39569 else
39570 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39571 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39572 fi
39573
39574 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39575 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39576 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39577 echo $ECHO_N "(cached) $ECHO_C" >&6
39578 else
39579 cat >conftest.$ac_ext <<_ACEOF
39580 /* confdefs.h. */
39581 _ACEOF
39582 cat confdefs.h >>conftest.$ac_ext
39583 cat >>conftest.$ac_ext <<_ACEOF
39584 /* end confdefs.h. */
39585 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39587 #define pthread_cancel innocuous_pthread_cancel
39588
39589 /* System header to define __stub macros and hopefully few prototypes,
39590 which can conflict with char pthread_cancel (); below.
39591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39592 <limits.h> exists even on freestanding compilers. */
39593
39594 #ifdef __STDC__
39595 # include <limits.h>
39596 #else
39597 # include <assert.h>
39598 #endif
39599
39600 #undef pthread_cancel
39601
39602 /* Override any gcc2 internal prototype to avoid an error. */
39603 #ifdef __cplusplus
39604 extern "C"
39605 {
39606 #endif
39607 /* We use char because int might match the return type of a gcc2
39608 builtin and then its argument prototype would still apply. */
39609 char pthread_cancel ();
39610 /* The GNU C library defines this for functions which it implements
39611 to always fail with ENOSYS. Some functions are actually named
39612 something starting with __ and the normal name is an alias. */
39613 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39614 choke me
39615 #else
39616 char (*f) () = pthread_cancel;
39617 #endif
39618 #ifdef __cplusplus
39619 }
39620 #endif
39621
39622 int
39623 main ()
39624 {
39625 return f != pthread_cancel;
39626 ;
39627 return 0;
39628 }
39629 _ACEOF
39630 rm -f conftest.$ac_objext conftest$ac_exeext
39631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39632 (eval $ac_link) 2>conftest.er1
39633 ac_status=$?
39634 grep -v '^ *+' conftest.er1 >conftest.err
39635 rm -f conftest.er1
39636 cat conftest.err >&5
39637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39638 (exit $ac_status); } &&
39639 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39641 (eval $ac_try) 2>&5
39642 ac_status=$?
39643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39644 (exit $ac_status); }; } &&
39645 { ac_try='test -s conftest$ac_exeext'
39646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39647 (eval $ac_try) 2>&5
39648 ac_status=$?
39649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39650 (exit $ac_status); }; }; then
39651 ac_cv_func_pthread_cancel=yes
39652 else
39653 echo "$as_me: failed program was:" >&5
39654 sed 's/^/| /' conftest.$ac_ext >&5
39655
39656 ac_cv_func_pthread_cancel=no
39657 fi
39658 rm -f conftest.err conftest.$ac_objext \
39659 conftest$ac_exeext conftest.$ac_ext
39660 fi
39661 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39662 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
39663 if test $ac_cv_func_pthread_cancel = yes; then
39664 cat >>confdefs.h <<\_ACEOF
39665 #define HAVE_PTHREAD_CANCEL 1
39666 _ACEOF
39667
39668 else
39669 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39670 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39671 fi
39672
39673
39674 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39675 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
39676 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39677 echo $ECHO_N "(cached) $ECHO_C" >&6
39678 else
39679 cat >conftest.$ac_ext <<_ACEOF
39680 /* confdefs.h. */
39681 _ACEOF
39682 cat confdefs.h >>conftest.$ac_ext
39683 cat >>conftest.$ac_ext <<_ACEOF
39684 /* end confdefs.h. */
39685 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39687 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39688
39689 /* System header to define __stub macros and hopefully few prototypes,
39690 which can conflict with char pthread_attr_setstacksize (); below.
39691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39692 <limits.h> exists even on freestanding compilers. */
39693
39694 #ifdef __STDC__
39695 # include <limits.h>
39696 #else
39697 # include <assert.h>
39698 #endif
39699
39700 #undef pthread_attr_setstacksize
39701
39702 /* Override any gcc2 internal prototype to avoid an error. */
39703 #ifdef __cplusplus
39704 extern "C"
39705 {
39706 #endif
39707 /* We use char because int might match the return type of a gcc2
39708 builtin and then its argument prototype would still apply. */
39709 char pthread_attr_setstacksize ();
39710 /* The GNU C library defines this for functions which it implements
39711 to always fail with ENOSYS. Some functions are actually named
39712 something starting with __ and the normal name is an alias. */
39713 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
39714 choke me
39715 #else
39716 char (*f) () = pthread_attr_setstacksize;
39717 #endif
39718 #ifdef __cplusplus
39719 }
39720 #endif
39721
39722 int
39723 main ()
39724 {
39725 return f != pthread_attr_setstacksize;
39726 ;
39727 return 0;
39728 }
39729 _ACEOF
39730 rm -f conftest.$ac_objext conftest$ac_exeext
39731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39732 (eval $ac_link) 2>conftest.er1
39733 ac_status=$?
39734 grep -v '^ *+' conftest.er1 >conftest.err
39735 rm -f conftest.er1
39736 cat conftest.err >&5
39737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39738 (exit $ac_status); } &&
39739 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39741 (eval $ac_try) 2>&5
39742 ac_status=$?
39743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39744 (exit $ac_status); }; } &&
39745 { ac_try='test -s conftest$ac_exeext'
39746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39747 (eval $ac_try) 2>&5
39748 ac_status=$?
39749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39750 (exit $ac_status); }; }; then
39751 ac_cv_func_pthread_attr_setstacksize=yes
39752 else
39753 echo "$as_me: failed program was:" >&5
39754 sed 's/^/| /' conftest.$ac_ext >&5
39755
39756 ac_cv_func_pthread_attr_setstacksize=no
39757 fi
39758 rm -f conftest.err conftest.$ac_objext \
39759 conftest$ac_exeext conftest.$ac_ext
39760 fi
39761 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39762 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
39763 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39764 cat >>confdefs.h <<\_ACEOF
39765 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39766 _ACEOF
39767
39768 fi
39769
39770
39771
39772 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39773 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
39774 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39775 echo $ECHO_N "(cached) $ECHO_C" >&6
39776 else
39777
39778 cat >conftest.$ac_ext <<_ACEOF
39779 /* confdefs.h. */
39780 _ACEOF
39781 cat confdefs.h >>conftest.$ac_ext
39782 cat >>conftest.$ac_ext <<_ACEOF
39783 /* end confdefs.h. */
39784 #include <pthread.h>
39785 int
39786 main ()
39787 {
39788
39789 pthread_mutexattr_t attr;
39790 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39791
39792 ;
39793 return 0;
39794 }
39795 _ACEOF
39796 rm -f conftest.$ac_objext
39797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39798 (eval $ac_compile) 2>conftest.er1
39799 ac_status=$?
39800 grep -v '^ *+' conftest.er1 >conftest.err
39801 rm -f conftest.er1
39802 cat conftest.err >&5
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); } &&
39805 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39807 (eval $ac_try) 2>&5
39808 ac_status=$?
39809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39810 (exit $ac_status); }; } &&
39811 { ac_try='test -s conftest.$ac_objext'
39812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39813 (eval $ac_try) 2>&5
39814 ac_status=$?
39815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39816 (exit $ac_status); }; }; then
39817 wx_cv_type_pthread_mutexattr_t=yes
39818 else
39819 echo "$as_me: failed program was:" >&5
39820 sed 's/^/| /' conftest.$ac_ext >&5
39821
39822 wx_cv_type_pthread_mutexattr_t=no
39823
39824 fi
39825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39826
39827 fi
39828 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39829 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
39830
39831 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39832 cat >>confdefs.h <<\_ACEOF
39833 #define HAVE_PTHREAD_MUTEXATTR_T 1
39834 _ACEOF
39835
39836
39837 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39838 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
39839 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39840 echo $ECHO_N "(cached) $ECHO_C" >&6
39841 else
39842
39843 cat >conftest.$ac_ext <<_ACEOF
39844 /* confdefs.h. */
39845 _ACEOF
39846 cat confdefs.h >>conftest.$ac_ext
39847 cat >>conftest.$ac_ext <<_ACEOF
39848 /* end confdefs.h. */
39849 #include <pthread.h>
39850 int
39851 main ()
39852 {
39853
39854 pthread_mutexattr_t attr;
39855 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39856
39857 ;
39858 return 0;
39859 }
39860 _ACEOF
39861 rm -f conftest.$ac_objext
39862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39863 (eval $ac_compile) 2>conftest.er1
39864 ac_status=$?
39865 grep -v '^ *+' conftest.er1 >conftest.err
39866 rm -f conftest.er1
39867 cat conftest.err >&5
39868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39869 (exit $ac_status); } &&
39870 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39872 (eval $ac_try) 2>&5
39873 ac_status=$?
39874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39875 (exit $ac_status); }; } &&
39876 { ac_try='test -s conftest.$ac_objext'
39877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39878 (eval $ac_try) 2>&5
39879 ac_status=$?
39880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39881 (exit $ac_status); }; }; then
39882 wx_cv_func_pthread_mutexattr_settype_decl=yes
39883 else
39884 echo "$as_me: failed program was:" >&5
39885 sed 's/^/| /' conftest.$ac_ext >&5
39886
39887 wx_cv_func_pthread_mutexattr_settype_decl=no
39888
39889 fi
39890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39891
39892 fi
39893 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39894 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
39895 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39896 cat >>confdefs.h <<\_ACEOF
39897 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39898 _ACEOF
39899
39900 fi
39901 else
39902 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39903 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
39904 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39905 echo $ECHO_N "(cached) $ECHO_C" >&6
39906 else
39907
39908 cat >conftest.$ac_ext <<_ACEOF
39909 /* confdefs.h. */
39910 _ACEOF
39911 cat confdefs.h >>conftest.$ac_ext
39912 cat >>conftest.$ac_ext <<_ACEOF
39913 /* end confdefs.h. */
39914 #include <pthread.h>
39915 int
39916 main ()
39917 {
39918
39919 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39920
39921 ;
39922 return 0;
39923 }
39924 _ACEOF
39925 rm -f conftest.$ac_objext
39926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39927 (eval $ac_compile) 2>conftest.er1
39928 ac_status=$?
39929 grep -v '^ *+' conftest.er1 >conftest.err
39930 rm -f conftest.er1
39931 cat conftest.err >&5
39932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39933 (exit $ac_status); } &&
39934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39936 (eval $ac_try) 2>&5
39937 ac_status=$?
39938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39939 (exit $ac_status); }; } &&
39940 { ac_try='test -s conftest.$ac_objext'
39941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39942 (eval $ac_try) 2>&5
39943 ac_status=$?
39944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39945 (exit $ac_status); }; }; then
39946
39947 wx_cv_type_pthread_rec_mutex_init=yes
39948
39949 else
39950 echo "$as_me: failed program was:" >&5
39951 sed 's/^/| /' conftest.$ac_ext >&5
39952
39953
39954 wx_cv_type_pthread_rec_mutex_init=no
39955
39956
39957 fi
39958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39959
39960 fi
39961 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39962 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
39963 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39964 cat >>confdefs.h <<\_ACEOF
39965 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39966 _ACEOF
39967
39968 else
39969 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39970 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39971 fi
39972 fi
39973 fi
39974
39975 else
39976 if test "$wxUSE_THREADS" = "yes" ; then
39977 case "${host}" in
39978 *-*-mingw32* )
39979 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39980 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
39981 if test "${wx_cv_cflags_mthread+set}" = set; then
39982 echo $ECHO_N "(cached) $ECHO_C" >&6
39983 else
39984
39985 CXXFLAGS_OLD="$CXXFLAGS"
39986 CXXFLAGS="-mthreads $CXXFLAGS"
39987 cat >conftest.$ac_ext <<_ACEOF
39988 /* confdefs.h. */
39989 _ACEOF
39990 cat confdefs.h >>conftest.$ac_ext
39991 cat >>conftest.$ac_ext <<_ACEOF
39992 /* end confdefs.h. */
39993
39994 int
39995 main ()
39996 {
39997
39998 ;
39999 return 0;
40000 }
40001 _ACEOF
40002 rm -f conftest.$ac_objext
40003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40004 (eval $ac_compile) 2>conftest.er1
40005 ac_status=$?
40006 grep -v '^ *+' conftest.er1 >conftest.err
40007 rm -f conftest.er1
40008 cat conftest.err >&5
40009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40010 (exit $ac_status); } &&
40011 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40013 (eval $ac_try) 2>&5
40014 ac_status=$?
40015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40016 (exit $ac_status); }; } &&
40017 { ac_try='test -s conftest.$ac_objext'
40018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40019 (eval $ac_try) 2>&5
40020 ac_status=$?
40021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022 (exit $ac_status); }; }; then
40023 wx_cv_cflags_mthread=yes
40024 else
40025 echo "$as_me: failed program was:" >&5
40026 sed 's/^/| /' conftest.$ac_ext >&5
40027
40028 wx_cv_cflags_mthread=no
40029
40030 fi
40031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40032
40033
40034 fi
40035 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40036 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40037
40038 if test "$wx_cv_cflags_mthread" = "yes"; then
40039 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40040 LDFLAGS="$LDFLAGS -mthreads"
40041 else
40042 CXXFLAGS="$CXXFLAGS_OLD"
40043 fi
40044 ;;
40045 *-pc-os2*emx )
40046 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40047 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40048 LDFLAGS="$LDFLAGS -Zmt"
40049 ;;
40050 esac
40051 fi
40052 fi
40053
40054 echo "$as_me:$LINENO: checking for localtime_r" >&5
40055 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40056 if test "${ac_cv_func_localtime_r+set}" = set; then
40057 echo $ECHO_N "(cached) $ECHO_C" >&6
40058 else
40059 cat >conftest.$ac_ext <<_ACEOF
40060 /* confdefs.h. */
40061 _ACEOF
40062 cat confdefs.h >>conftest.$ac_ext
40063 cat >>conftest.$ac_ext <<_ACEOF
40064 /* end confdefs.h. */
40065 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40067 #define localtime_r innocuous_localtime_r
40068
40069 /* System header to define __stub macros and hopefully few prototypes,
40070 which can conflict with char localtime_r (); below.
40071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40072 <limits.h> exists even on freestanding compilers. */
40073
40074 #ifdef __STDC__
40075 # include <limits.h>
40076 #else
40077 # include <assert.h>
40078 #endif
40079
40080 #undef localtime_r
40081
40082 /* Override any gcc2 internal prototype to avoid an error. */
40083 #ifdef __cplusplus
40084 extern "C"
40085 {
40086 #endif
40087 /* We use char because int might match the return type of a gcc2
40088 builtin and then its argument prototype would still apply. */
40089 char localtime_r ();
40090 /* The GNU C library defines this for functions which it implements
40091 to always fail with ENOSYS. Some functions are actually named
40092 something starting with __ and the normal name is an alias. */
40093 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40094 choke me
40095 #else
40096 char (*f) () = localtime_r;
40097 #endif
40098 #ifdef __cplusplus
40099 }
40100 #endif
40101
40102 int
40103 main ()
40104 {
40105 return f != localtime_r;
40106 ;
40107 return 0;
40108 }
40109 _ACEOF
40110 rm -f conftest.$ac_objext conftest$ac_exeext
40111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40112 (eval $ac_link) 2>conftest.er1
40113 ac_status=$?
40114 grep -v '^ *+' conftest.er1 >conftest.err
40115 rm -f conftest.er1
40116 cat conftest.err >&5
40117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40118 (exit $ac_status); } &&
40119 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40121 (eval $ac_try) 2>&5
40122 ac_status=$?
40123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40124 (exit $ac_status); }; } &&
40125 { ac_try='test -s conftest$ac_exeext'
40126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40127 (eval $ac_try) 2>&5
40128 ac_status=$?
40129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40130 (exit $ac_status); }; }; then
40131 ac_cv_func_localtime_r=yes
40132 else
40133 echo "$as_me: failed program was:" >&5
40134 sed 's/^/| /' conftest.$ac_ext >&5
40135
40136 ac_cv_func_localtime_r=no
40137 fi
40138 rm -f conftest.err conftest.$ac_objext \
40139 conftest$ac_exeext conftest.$ac_ext
40140 fi
40141 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40142 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40143 if test $ac_cv_func_localtime_r = yes; then
40144 cat >>confdefs.h <<\_ACEOF
40145 #define HAVE_LOCALTIME_R 1
40146 _ACEOF
40147
40148 fi
40149
40150 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40151 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40152 if test "${ac_cv_func_gmtime_r+set}" = set; then
40153 echo $ECHO_N "(cached) $ECHO_C" >&6
40154 else
40155 cat >conftest.$ac_ext <<_ACEOF
40156 /* confdefs.h. */
40157 _ACEOF
40158 cat confdefs.h >>conftest.$ac_ext
40159 cat >>conftest.$ac_ext <<_ACEOF
40160 /* end confdefs.h. */
40161 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40163 #define gmtime_r innocuous_gmtime_r
40164
40165 /* System header to define __stub macros and hopefully few prototypes,
40166 which can conflict with char gmtime_r (); below.
40167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40168 <limits.h> exists even on freestanding compilers. */
40169
40170 #ifdef __STDC__
40171 # include <limits.h>
40172 #else
40173 # include <assert.h>
40174 #endif
40175
40176 #undef gmtime_r
40177
40178 /* Override any gcc2 internal prototype to avoid an error. */
40179 #ifdef __cplusplus
40180 extern "C"
40181 {
40182 #endif
40183 /* We use char because int might match the return type of a gcc2
40184 builtin and then its argument prototype would still apply. */
40185 char gmtime_r ();
40186 /* The GNU C library defines this for functions which it implements
40187 to always fail with ENOSYS. Some functions are actually named
40188 something starting with __ and the normal name is an alias. */
40189 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40190 choke me
40191 #else
40192 char (*f) () = gmtime_r;
40193 #endif
40194 #ifdef __cplusplus
40195 }
40196 #endif
40197
40198 int
40199 main ()
40200 {
40201 return f != gmtime_r;
40202 ;
40203 return 0;
40204 }
40205 _ACEOF
40206 rm -f conftest.$ac_objext conftest$ac_exeext
40207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40208 (eval $ac_link) 2>conftest.er1
40209 ac_status=$?
40210 grep -v '^ *+' conftest.er1 >conftest.err
40211 rm -f conftest.er1
40212 cat conftest.err >&5
40213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40214 (exit $ac_status); } &&
40215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40217 (eval $ac_try) 2>&5
40218 ac_status=$?
40219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40220 (exit $ac_status); }; } &&
40221 { ac_try='test -s conftest$ac_exeext'
40222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40223 (eval $ac_try) 2>&5
40224 ac_status=$?
40225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40226 (exit $ac_status); }; }; then
40227 ac_cv_func_gmtime_r=yes
40228 else
40229 echo "$as_me: failed program was:" >&5
40230 sed 's/^/| /' conftest.$ac_ext >&5
40231
40232 ac_cv_func_gmtime_r=no
40233 fi
40234 rm -f conftest.err conftest.$ac_objext \
40235 conftest$ac_exeext conftest.$ac_ext
40236 fi
40237 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40238 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40239 if test $ac_cv_func_gmtime_r = yes; then
40240 cat >>confdefs.h <<\_ACEOF
40241 #define HAVE_GMTIME_R 1
40242 _ACEOF
40243
40244 fi
40245
40246 echo "$as_me:$LINENO: checking for readdir_r" >&5
40247 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40248 if test "${ac_cv_func_readdir_r+set}" = set; then
40249 echo $ECHO_N "(cached) $ECHO_C" >&6
40250 else
40251 cat >conftest.$ac_ext <<_ACEOF
40252 /* confdefs.h. */
40253 _ACEOF
40254 cat confdefs.h >>conftest.$ac_ext
40255 cat >>conftest.$ac_ext <<_ACEOF
40256 /* end confdefs.h. */
40257 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40259 #define readdir_r innocuous_readdir_r
40260
40261 /* System header to define __stub macros and hopefully few prototypes,
40262 which can conflict with char readdir_r (); below.
40263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40264 <limits.h> exists even on freestanding compilers. */
40265
40266 #ifdef __STDC__
40267 # include <limits.h>
40268 #else
40269 # include <assert.h>
40270 #endif
40271
40272 #undef readdir_r
40273
40274 /* Override any gcc2 internal prototype to avoid an error. */
40275 #ifdef __cplusplus
40276 extern "C"
40277 {
40278 #endif
40279 /* We use char because int might match the return type of a gcc2
40280 builtin and then its argument prototype would still apply. */
40281 char readdir_r ();
40282 /* The GNU C library defines this for functions which it implements
40283 to always fail with ENOSYS. Some functions are actually named
40284 something starting with __ and the normal name is an alias. */
40285 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40286 choke me
40287 #else
40288 char (*f) () = readdir_r;
40289 #endif
40290 #ifdef __cplusplus
40291 }
40292 #endif
40293
40294 int
40295 main ()
40296 {
40297 return f != readdir_r;
40298 ;
40299 return 0;
40300 }
40301 _ACEOF
40302 rm -f conftest.$ac_objext conftest$ac_exeext
40303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40304 (eval $ac_link) 2>conftest.er1
40305 ac_status=$?
40306 grep -v '^ *+' conftest.er1 >conftest.err
40307 rm -f conftest.er1
40308 cat conftest.err >&5
40309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40310 (exit $ac_status); } &&
40311 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40313 (eval $ac_try) 2>&5
40314 ac_status=$?
40315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40316 (exit $ac_status); }; } &&
40317 { ac_try='test -s conftest$ac_exeext'
40318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40319 (eval $ac_try) 2>&5
40320 ac_status=$?
40321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40322 (exit $ac_status); }; }; then
40323 ac_cv_func_readdir_r=yes
40324 else
40325 echo "$as_me: failed program was:" >&5
40326 sed 's/^/| /' conftest.$ac_ext >&5
40327
40328 ac_cv_func_readdir_r=no
40329 fi
40330 rm -f conftest.err conftest.$ac_objext \
40331 conftest$ac_exeext conftest.$ac_ext
40332 fi
40333 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40334 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40335 if test $ac_cv_func_readdir_r = yes; then
40336 cat >>confdefs.h <<\_ACEOF
40337 #define HAVE_READDIR_R 1
40338 _ACEOF
40339
40340 fi
40341
40342
40343
40344
40345 ac_ext=c
40346 ac_cpp='$CPP $CPPFLAGS'
40347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40350
40351 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40352 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40353
40354 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40355 echo $ECHO_N "(cached) $ECHO_C" >&6
40356 else
40357
40358
40359 ################################################################
40360
40361 ac_cv_func_which_gethostbyname_r=unknown
40362
40363 #
40364 # ONE ARGUMENT (sanity check)
40365 #
40366
40367 # This should fail, as there is no variant of gethostbyname_r() that takes
40368 # a single argument. If it actually compiles, then we can assume that
40369 # netdb.h is not declaring the function, and the compiler is thereby
40370 # assuming an implicit prototype. In which case, we're out of luck.
40371 #
40372 cat >conftest.$ac_ext <<_ACEOF
40373 /* confdefs.h. */
40374 _ACEOF
40375 cat confdefs.h >>conftest.$ac_ext
40376 cat >>conftest.$ac_ext <<_ACEOF
40377 /* end confdefs.h. */
40378 #include <netdb.h>
40379 int
40380 main ()
40381 {
40382
40383 char *name = "www.gnu.org";
40384 (void)gethostbyname_r(name) /* ; */
40385
40386 ;
40387 return 0;
40388 }
40389 _ACEOF
40390 rm -f conftest.$ac_objext
40391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40392 (eval $ac_compile) 2>conftest.er1
40393 ac_status=$?
40394 grep -v '^ *+' conftest.er1 >conftest.err
40395 rm -f conftest.er1
40396 cat conftest.err >&5
40397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40398 (exit $ac_status); } &&
40399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40401 (eval $ac_try) 2>&5
40402 ac_status=$?
40403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40404 (exit $ac_status); }; } &&
40405 { ac_try='test -s conftest.$ac_objext'
40406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40407 (eval $ac_try) 2>&5
40408 ac_status=$?
40409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40410 (exit $ac_status); }; }; then
40411 ac_cv_func_which_gethostbyname_r=no
40412 else
40413 echo "$as_me: failed program was:" >&5
40414 sed 's/^/| /' conftest.$ac_ext >&5
40415
40416 fi
40417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40418
40419 #
40420 # SIX ARGUMENTS
40421 # (e.g. Linux)
40422 #
40423
40424 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40425
40426 cat >conftest.$ac_ext <<_ACEOF
40427 /* confdefs.h. */
40428 _ACEOF
40429 cat confdefs.h >>conftest.$ac_ext
40430 cat >>conftest.$ac_ext <<_ACEOF
40431 /* end confdefs.h. */
40432 #include <netdb.h>
40433 int
40434 main ()
40435 {
40436
40437 char *name = "www.gnu.org";
40438 struct hostent ret, *retp;
40439 char buf[1024];
40440 int buflen = 1024;
40441 int my_h_errno;
40442 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40443
40444 ;
40445 return 0;
40446 }
40447 _ACEOF
40448 rm -f conftest.$ac_objext
40449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40450 (eval $ac_compile) 2>conftest.er1
40451 ac_status=$?
40452 grep -v '^ *+' conftest.er1 >conftest.err
40453 rm -f conftest.er1
40454 cat conftest.err >&5
40455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456 (exit $ac_status); } &&
40457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40459 (eval $ac_try) 2>&5
40460 ac_status=$?
40461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40462 (exit $ac_status); }; } &&
40463 { ac_try='test -s conftest.$ac_objext'
40464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40465 (eval $ac_try) 2>&5
40466 ac_status=$?
40467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40468 (exit $ac_status); }; }; then
40469 ac_cv_func_which_gethostbyname_r=six
40470 else
40471 echo "$as_me: failed program was:" >&5
40472 sed 's/^/| /' conftest.$ac_ext >&5
40473
40474 fi
40475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40476
40477 fi
40478
40479 #
40480 # FIVE ARGUMENTS
40481 # (e.g. Solaris)
40482 #
40483
40484 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40485
40486 cat >conftest.$ac_ext <<_ACEOF
40487 /* confdefs.h. */
40488 _ACEOF
40489 cat confdefs.h >>conftest.$ac_ext
40490 cat >>conftest.$ac_ext <<_ACEOF
40491 /* end confdefs.h. */
40492 #include <netdb.h>
40493 int
40494 main ()
40495 {
40496
40497 char *name = "www.gnu.org";
40498 struct hostent ret;
40499 char buf[1024];
40500 int buflen = 1024;
40501 int my_h_errno;
40502 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40503
40504 ;
40505 return 0;
40506 }
40507 _ACEOF
40508 rm -f conftest.$ac_objext
40509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40510 (eval $ac_compile) 2>conftest.er1
40511 ac_status=$?
40512 grep -v '^ *+' conftest.er1 >conftest.err
40513 rm -f conftest.er1
40514 cat conftest.err >&5
40515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40516 (exit $ac_status); } &&
40517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40519 (eval $ac_try) 2>&5
40520 ac_status=$?
40521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40522 (exit $ac_status); }; } &&
40523 { ac_try='test -s conftest.$ac_objext'
40524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40525 (eval $ac_try) 2>&5
40526 ac_status=$?
40527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40528 (exit $ac_status); }; }; then
40529 ac_cv_func_which_gethostbyname_r=five
40530 else
40531 echo "$as_me: failed program was:" >&5
40532 sed 's/^/| /' conftest.$ac_ext >&5
40533
40534 fi
40535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40536
40537 fi
40538
40539 #
40540 # THREE ARGUMENTS
40541 # (e.g. AIX, HP-UX, Tru64)
40542 #
40543
40544 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40545
40546 cat >conftest.$ac_ext <<_ACEOF
40547 /* confdefs.h. */
40548 _ACEOF
40549 cat confdefs.h >>conftest.$ac_ext
40550 cat >>conftest.$ac_ext <<_ACEOF
40551 /* end confdefs.h. */
40552 #include <netdb.h>
40553 int
40554 main ()
40555 {
40556
40557 char *name = "www.gnu.org";
40558 struct hostent ret;
40559 struct hostent_data data;
40560 (void)gethostbyname_r(name, &ret, &data) /* ; */
40561
40562 ;
40563 return 0;
40564 }
40565 _ACEOF
40566 rm -f conftest.$ac_objext
40567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40568 (eval $ac_compile) 2>conftest.er1
40569 ac_status=$?
40570 grep -v '^ *+' conftest.er1 >conftest.err
40571 rm -f conftest.er1
40572 cat conftest.err >&5
40573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40574 (exit $ac_status); } &&
40575 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40577 (eval $ac_try) 2>&5
40578 ac_status=$?
40579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40580 (exit $ac_status); }; } &&
40581 { ac_try='test -s conftest.$ac_objext'
40582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40583 (eval $ac_try) 2>&5
40584 ac_status=$?
40585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40586 (exit $ac_status); }; }; then
40587 ac_cv_func_which_gethostbyname_r=three
40588 else
40589 echo "$as_me: failed program was:" >&5
40590 sed 's/^/| /' conftest.$ac_ext >&5
40591
40592 fi
40593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40594
40595 fi
40596
40597 ################################################################
40598
40599
40600 fi
40601
40602 case "$ac_cv_func_which_gethostbyname_r" in
40603 three)
40604 echo "$as_me:$LINENO: result: three" >&5
40605 echo "${ECHO_T}three" >&6
40606 cat >>confdefs.h <<\_ACEOF
40607 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40608 _ACEOF
40609
40610 ;;
40611
40612 five)
40613 echo "$as_me:$LINENO: result: five" >&5
40614 echo "${ECHO_T}five" >&6
40615 cat >>confdefs.h <<\_ACEOF
40616 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40617 _ACEOF
40618
40619 ;;
40620
40621 six)
40622 echo "$as_me:$LINENO: result: six" >&5
40623 echo "${ECHO_T}six" >&6
40624 cat >>confdefs.h <<\_ACEOF
40625 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40626 _ACEOF
40627
40628 ;;
40629
40630 no)
40631 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40632 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40633 ;;
40634
40635 unknown)
40636 echo "$as_me:$LINENO: result: can't tell" >&5
40637 echo "${ECHO_T}can't tell" >&6
40638 ;;
40639
40640 *)
40641 { { echo "$as_me:$LINENO: error: internal error" >&5
40642 echo "$as_me: error: internal error" >&2;}
40643 { (exit 1); exit 1; }; }
40644 ;;
40645 esac
40646
40647 ac_ext=cc
40648 ac_cpp='$CXXCPP $CPPFLAGS'
40649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40652
40653
40654
40655 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40656 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40657 echo "$as_me:$LINENO: checking for gethostbyname" >&5
40658 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
40659 if test "${ac_cv_func_gethostbyname+set}" = set; then
40660 echo $ECHO_N "(cached) $ECHO_C" >&6
40661 else
40662 cat >conftest.$ac_ext <<_ACEOF
40663 /* confdefs.h. */
40664 _ACEOF
40665 cat confdefs.h >>conftest.$ac_ext
40666 cat >>conftest.$ac_ext <<_ACEOF
40667 /* end confdefs.h. */
40668 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40670 #define gethostbyname innocuous_gethostbyname
40671
40672 /* System header to define __stub macros and hopefully few prototypes,
40673 which can conflict with char gethostbyname (); below.
40674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40675 <limits.h> exists even on freestanding compilers. */
40676
40677 #ifdef __STDC__
40678 # include <limits.h>
40679 #else
40680 # include <assert.h>
40681 #endif
40682
40683 #undef gethostbyname
40684
40685 /* Override any gcc2 internal prototype to avoid an error. */
40686 #ifdef __cplusplus
40687 extern "C"
40688 {
40689 #endif
40690 /* We use char because int might match the return type of a gcc2
40691 builtin and then its argument prototype would still apply. */
40692 char gethostbyname ();
40693 /* The GNU C library defines this for functions which it implements
40694 to always fail with ENOSYS. Some functions are actually named
40695 something starting with __ and the normal name is an alias. */
40696 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
40697 choke me
40698 #else
40699 char (*f) () = gethostbyname;
40700 #endif
40701 #ifdef __cplusplus
40702 }
40703 #endif
40704
40705 int
40706 main ()
40707 {
40708 return f != gethostbyname;
40709 ;
40710 return 0;
40711 }
40712 _ACEOF
40713 rm -f conftest.$ac_objext conftest$ac_exeext
40714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40715 (eval $ac_link) 2>conftest.er1
40716 ac_status=$?
40717 grep -v '^ *+' conftest.er1 >conftest.err
40718 rm -f conftest.er1
40719 cat conftest.err >&5
40720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40721 (exit $ac_status); } &&
40722 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40724 (eval $ac_try) 2>&5
40725 ac_status=$?
40726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40727 (exit $ac_status); }; } &&
40728 { ac_try='test -s conftest$ac_exeext'
40729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40730 (eval $ac_try) 2>&5
40731 ac_status=$?
40732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40733 (exit $ac_status); }; }; then
40734 ac_cv_func_gethostbyname=yes
40735 else
40736 echo "$as_me: failed program was:" >&5
40737 sed 's/^/| /' conftest.$ac_ext >&5
40738
40739 ac_cv_func_gethostbyname=no
40740 fi
40741 rm -f conftest.err conftest.$ac_objext \
40742 conftest$ac_exeext conftest.$ac_ext
40743 fi
40744 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40745 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
40746 if test $ac_cv_func_gethostbyname = yes; then
40747 cat >>confdefs.h <<\_ACEOF
40748 #define HAVE_GETHOSTBYNAME 1
40749 _ACEOF
40750
40751 fi
40752
40753 fi
40754 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
40755 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
40756 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40757 echo $ECHO_N "(cached) $ECHO_C" >&6
40758 else
40759
40760 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
40761 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
40762 if test "${ac_cv_func_getservbyname_r+set}" = set; then
40763 echo $ECHO_N "(cached) $ECHO_C" >&6
40764 else
40765 cat >conftest.$ac_ext <<_ACEOF
40766 /* confdefs.h. */
40767 _ACEOF
40768 cat confdefs.h >>conftest.$ac_ext
40769 cat >>conftest.$ac_ext <<_ACEOF
40770 /* end confdefs.h. */
40771 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
40772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40773 #define getservbyname_r innocuous_getservbyname_r
40774
40775 /* System header to define __stub macros and hopefully few prototypes,
40776 which can conflict with char getservbyname_r (); below.
40777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40778 <limits.h> exists even on freestanding compilers. */
40779
40780 #ifdef __STDC__
40781 # include <limits.h>
40782 #else
40783 # include <assert.h>
40784 #endif
40785
40786 #undef getservbyname_r
40787
40788 /* Override any gcc2 internal prototype to avoid an error. */
40789 #ifdef __cplusplus
40790 extern "C"
40791 {
40792 #endif
40793 /* We use char because int might match the return type of a gcc2
40794 builtin and then its argument prototype would still apply. */
40795 char getservbyname_r ();
40796 /* The GNU C library defines this for functions which it implements
40797 to always fail with ENOSYS. Some functions are actually named
40798 something starting with __ and the normal name is an alias. */
40799 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
40800 choke me
40801 #else
40802 char (*f) () = getservbyname_r;
40803 #endif
40804 #ifdef __cplusplus
40805 }
40806 #endif
40807
40808 int
40809 main ()
40810 {
40811 return f != getservbyname_r;
40812 ;
40813 return 0;
40814 }
40815 _ACEOF
40816 rm -f conftest.$ac_objext conftest$ac_exeext
40817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40818 (eval $ac_link) 2>conftest.er1
40819 ac_status=$?
40820 grep -v '^ *+' conftest.er1 >conftest.err
40821 rm -f conftest.er1
40822 cat conftest.err >&5
40823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40824 (exit $ac_status); } &&
40825 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40827 (eval $ac_try) 2>&5
40828 ac_status=$?
40829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40830 (exit $ac_status); }; } &&
40831 { ac_try='test -s conftest$ac_exeext'
40832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40833 (eval $ac_try) 2>&5
40834 ac_status=$?
40835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40836 (exit $ac_status); }; }; then
40837 ac_cv_func_getservbyname_r=yes
40838 else
40839 echo "$as_me: failed program was:" >&5
40840 sed 's/^/| /' conftest.$ac_ext >&5
40841
40842 ac_cv_func_getservbyname_r=no
40843 fi
40844 rm -f conftest.err conftest.$ac_objext \
40845 conftest$ac_exeext conftest.$ac_ext
40846 fi
40847 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
40848 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
40849 if test $ac_cv_func_getservbyname_r = yes; then
40850
40851 cat >conftest.$ac_ext <<_ACEOF
40852 /* confdefs.h. */
40853 _ACEOF
40854 cat confdefs.h >>conftest.$ac_ext
40855 cat >>conftest.$ac_ext <<_ACEOF
40856 /* end confdefs.h. */
40857
40858 # include <netdb.h>
40859
40860 int
40861 main ()
40862 {
40863
40864
40865 char *name;
40866 char *proto;
40867 struct servent *se;
40868 struct servent_data data;
40869 (void) getservbyname_r(name, proto, se, &data);
40870
40871
40872 ;
40873 return 0;
40874 }
40875 _ACEOF
40876 rm -f conftest.$ac_objext
40877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40878 (eval $ac_compile) 2>conftest.er1
40879 ac_status=$?
40880 grep -v '^ *+' conftest.er1 >conftest.err
40881 rm -f conftest.er1
40882 cat conftest.err >&5
40883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40884 (exit $ac_status); } &&
40885 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40887 (eval $ac_try) 2>&5
40888 ac_status=$?
40889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40890 (exit $ac_status); }; } &&
40891 { ac_try='test -s conftest.$ac_objext'
40892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40893 (eval $ac_try) 2>&5
40894 ac_status=$?
40895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40896 (exit $ac_status); }; }; then
40897 ac_cv_func_which_getservbyname_r=four
40898 else
40899 echo "$as_me: failed program was:" >&5
40900 sed 's/^/| /' conftest.$ac_ext >&5
40901
40902
40903 cat >conftest.$ac_ext <<_ACEOF
40904 /* confdefs.h. */
40905 _ACEOF
40906 cat confdefs.h >>conftest.$ac_ext
40907 cat >>conftest.$ac_ext <<_ACEOF
40908 /* end confdefs.h. */
40909
40910 # include <netdb.h>
40911
40912 int
40913 main ()
40914 {
40915
40916 char *name;
40917 char *proto;
40918 struct servent *se, *res;
40919 char buffer[2048];
40920 int buflen = 2048;
40921 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40922
40923 ;
40924 return 0;
40925 }
40926 _ACEOF
40927 rm -f conftest.$ac_objext
40928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40929 (eval $ac_compile) 2>conftest.er1
40930 ac_status=$?
40931 grep -v '^ *+' conftest.er1 >conftest.err
40932 rm -f conftest.er1
40933 cat conftest.err >&5
40934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40935 (exit $ac_status); } &&
40936 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40938 (eval $ac_try) 2>&5
40939 ac_status=$?
40940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40941 (exit $ac_status); }; } &&
40942 { ac_try='test -s conftest.$ac_objext'
40943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40944 (eval $ac_try) 2>&5
40945 ac_status=$?
40946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40947 (exit $ac_status); }; }; then
40948 ac_cv_func_which_getservbyname_r=six
40949 else
40950 echo "$as_me: failed program was:" >&5
40951 sed 's/^/| /' conftest.$ac_ext >&5
40952
40953
40954 cat >conftest.$ac_ext <<_ACEOF
40955 /* confdefs.h. */
40956 _ACEOF
40957 cat confdefs.h >>conftest.$ac_ext
40958 cat >>conftest.$ac_ext <<_ACEOF
40959 /* end confdefs.h. */
40960
40961 # include <netdb.h>
40962
40963 int
40964 main ()
40965 {
40966
40967 char *name;
40968 char *proto;
40969 struct servent *se;
40970 char buffer[2048];
40971 int buflen = 2048;
40972 (void) getservbyname_r(name, proto, se, buffer, buflen)
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=five
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 fi
41006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41007
41008
41009
41010
41011 fi
41012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41013
41014
41015 fi
41016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41017
41018 else
41019 ac_cv_func_which_getservbyname_r=no
41020 fi
41021
41022 fi
41023 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41024 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41025
41026 if test $ac_cv_func_which_getservbyname_r = six; then
41027 cat >>confdefs.h <<\_ACEOF
41028 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41029 _ACEOF
41030
41031 elif test $ac_cv_func_which_getservbyname_r = five; then
41032 cat >>confdefs.h <<\_ACEOF
41033 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41034 _ACEOF
41035
41036 elif test $ac_cv_func_which_getservbyname_r = four; then
41037 cat >>confdefs.h <<\_ACEOF
41038 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41039 _ACEOF
41040
41041
41042 fi
41043
41044
41045 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41046 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41047
41048 for ac_func in getservbyname
41049 do
41050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41051 echo "$as_me:$LINENO: checking for $ac_func" >&5
41052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41053 if eval "test \"\${$as_ac_var+set}\" = set"; then
41054 echo $ECHO_N "(cached) $ECHO_C" >&6
41055 else
41056 cat >conftest.$ac_ext <<_ACEOF
41057 /* confdefs.h. */
41058 _ACEOF
41059 cat confdefs.h >>conftest.$ac_ext
41060 cat >>conftest.$ac_ext <<_ACEOF
41061 /* end confdefs.h. */
41062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41064 #define $ac_func innocuous_$ac_func
41065
41066 /* System header to define __stub macros and hopefully few prototypes,
41067 which can conflict with char $ac_func (); below.
41068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41069 <limits.h> exists even on freestanding compilers. */
41070
41071 #ifdef __STDC__
41072 # include <limits.h>
41073 #else
41074 # include <assert.h>
41075 #endif
41076
41077 #undef $ac_func
41078
41079 /* Override any gcc2 internal prototype to avoid an error. */
41080 #ifdef __cplusplus
41081 extern "C"
41082 {
41083 #endif
41084 /* We use char because int might match the return type of a gcc2
41085 builtin and then its argument prototype would still apply. */
41086 char $ac_func ();
41087 /* The GNU C library defines this for functions which it implements
41088 to always fail with ENOSYS. Some functions are actually named
41089 something starting with __ and the normal name is an alias. */
41090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41091 choke me
41092 #else
41093 char (*f) () = $ac_func;
41094 #endif
41095 #ifdef __cplusplus
41096 }
41097 #endif
41098
41099 int
41100 main ()
41101 {
41102 return f != $ac_func;
41103 ;
41104 return 0;
41105 }
41106 _ACEOF
41107 rm -f conftest.$ac_objext conftest$ac_exeext
41108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41109 (eval $ac_link) 2>conftest.er1
41110 ac_status=$?
41111 grep -v '^ *+' conftest.er1 >conftest.err
41112 rm -f conftest.er1
41113 cat conftest.err >&5
41114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41115 (exit $ac_status); } &&
41116 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41118 (eval $ac_try) 2>&5
41119 ac_status=$?
41120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41121 (exit $ac_status); }; } &&
41122 { ac_try='test -s conftest$ac_exeext'
41123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41124 (eval $ac_try) 2>&5
41125 ac_status=$?
41126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41127 (exit $ac_status); }; }; then
41128 eval "$as_ac_var=yes"
41129 else
41130 echo "$as_me: failed program was:" >&5
41131 sed 's/^/| /' conftest.$ac_ext >&5
41132
41133 eval "$as_ac_var=no"
41134 fi
41135 rm -f conftest.err conftest.$ac_objext \
41136 conftest$ac_exeext conftest.$ac_ext
41137 fi
41138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41140 if test `eval echo '${'$as_ac_var'}'` = yes; then
41141 cat >>confdefs.h <<_ACEOF
41142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41143 _ACEOF
41144 cat >>confdefs.h <<\_ACEOF
41145 #define HAVE_GETSERVBYNAME 1
41146 _ACEOF
41147
41148 fi
41149 done
41150
41151 fi
41152
41153 if test "$wxUSE_THREADS" = "yes"; then
41154 cat >>confdefs.h <<\_ACEOF
41155 #define wxUSE_THREADS 1
41156 _ACEOF
41157
41158
41159 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41160 else
41161 if test "$wx_cv_func_strtok_r" = "yes"; then
41162 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41163 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41164 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41165 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41166 echo "$as_me:$LINENO: result: yes" >&5
41167 echo "${ECHO_T}yes" >&6
41168 else
41169 echo "$as_me:$LINENO: result: no" >&5
41170 echo "${ECHO_T}no" >&6
41171 fi
41172 fi
41173 fi
41174
41175 if test "$WXGTK20" = 1 ; then
41176 cat >>confdefs.h <<_ACEOF
41177 #define __WXGTK20__ $WXGTK20
41178 _ACEOF
41179
41180 WXGTK12=1
41181 fi
41182
41183 if test "$WXGTK12" = 1 ; then
41184 cat >>confdefs.h <<_ACEOF
41185 #define __WXGTK12__ $WXGTK12
41186 _ACEOF
41187
41188 fi
41189
41190 if test "$WXGTK127" = 1 ; then
41191 cat >>confdefs.h <<_ACEOF
41192 #define __WXGTK127__ $WXGTK127
41193 _ACEOF
41194
41195 fi
41196
41197 if test "$WXGPE" = 1 ; then
41198 cat >>confdefs.h <<_ACEOF
41199 #define __WXGPE__ $WXGPE
41200 _ACEOF
41201
41202 fi
41203
41204 DEBUG_CFLAGS=
41205 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41206 DEBUG_CFLAGS="-g"
41207 wxUSE_OPTIMISE=no
41208 fi
41209
41210 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41211 wxUSE_DEBUG_INFO=yes
41212 if test "$GCC" = yes; then
41213 DEBUG_CFLAGS="-ggdb"
41214 fi
41215 fi
41216
41217 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41218 cat >>confdefs.h <<\_ACEOF
41219 #define WXDEBUG 1
41220 _ACEOF
41221
41222 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41223 else
41224 if test "$wxUSE_GTK" = 1 ; then
41225 if test "x$wxGTK_VERSION" = "x1" ; then
41226 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41227 fi
41228 fi
41229 fi
41230
41231 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41232 cat >>confdefs.h <<\_ACEOF
41233 #define wxUSE_MEMORY_TRACING 1
41234 _ACEOF
41235
41236 cat >>confdefs.h <<\_ACEOF
41237 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41238 _ACEOF
41239
41240 cat >>confdefs.h <<\_ACEOF
41241 #define wxUSE_DEBUG_NEW_ALWAYS 1
41242 _ACEOF
41243
41244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41245 fi
41246
41247 if test "$wxUSE_DMALLOC" = "yes" ; then
41248 DMALLOC_LIBS="-ldmallocthcxx"
41249 fi
41250
41251 PROFILE_FLAGS=
41252 if test "$wxUSE_PROFILE" = "yes" ; then
41253 PROFILE_FLAGS=" -pg"
41254 fi
41255
41256 if test "$GCC" = "yes" ; then
41257 if test "$wxUSE_NO_RTTI" = "yes" ; then
41258 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41259 fi
41260 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41261 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41262 fi
41263 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41264 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41265 fi
41266
41267 case "${host}" in
41268 powerpc*-*-aix* )
41269 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41270 ;;
41271 *-hppa* )
41272 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41273 ;;
41274 esac
41275 fi
41276
41277 OPTIMISE_CFLAGS=
41278 if test "$wxUSE_OPTIMISE" = "no" ; then
41279 if test "$GCC" = yes ; then
41280 OPTIMISE_CFLAGS="-O0"
41281 fi
41282 else
41283 if test "$GCC" = yes ; then
41284 case "${host}" in
41285 *-pc-os2_emx | *-pc-os2-emx )
41286 OPTIMISE_CFLAGS="-O2"
41287 ;;
41288 *)
41289 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41290 ;;
41291 esac
41292 else
41293 OPTIMISE_CFLAGS="-O"
41294 fi
41295 fi
41296
41297
41298 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41299 cat >>confdefs.h <<\_ACEOF
41300 #define WXWIN_COMPATIBILITY_2_4 1
41301 _ACEOF
41302
41303
41304 WXWIN_COMPATIBILITY_2_6="yes"
41305 fi
41306
41307 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41308 cat >>confdefs.h <<\_ACEOF
41309 #define WXWIN_COMPATIBILITY_2_6 1
41310 _ACEOF
41311
41312 fi
41313
41314
41315 if test "$wxUSE_GUI" = "yes"; then
41316 cat >>confdefs.h <<\_ACEOF
41317 #define wxUSE_GUI 1
41318 _ACEOF
41319
41320
41321 fi
41322
41323
41324 if test "$wxUSE_UNIX" = "yes"; then
41325 cat >>confdefs.h <<\_ACEOF
41326 #define wxUSE_UNIX 1
41327 _ACEOF
41328
41329 fi
41330
41331
41332 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41333
41334 HAVE_DL_FUNCS=0
41335 HAVE_SHL_FUNCS=0
41336 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41337 if test "$USE_DARWIN" = 1; then
41338 HAVE_DL_FUNCS=1
41339 elif test "$USE_DOS" = 1; then
41340 HAVE_DL_FUNCS=0
41341 else
41342
41343 for ac_func in dlopen
41344 do
41345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41346 echo "$as_me:$LINENO: checking for $ac_func" >&5
41347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41348 if eval "test \"\${$as_ac_var+set}\" = set"; then
41349 echo $ECHO_N "(cached) $ECHO_C" >&6
41350 else
41351 cat >conftest.$ac_ext <<_ACEOF
41352 /* confdefs.h. */
41353 _ACEOF
41354 cat confdefs.h >>conftest.$ac_ext
41355 cat >>conftest.$ac_ext <<_ACEOF
41356 /* end confdefs.h. */
41357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41359 #define $ac_func innocuous_$ac_func
41360
41361 /* System header to define __stub macros and hopefully few prototypes,
41362 which can conflict with char $ac_func (); below.
41363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41364 <limits.h> exists even on freestanding compilers. */
41365
41366 #ifdef __STDC__
41367 # include <limits.h>
41368 #else
41369 # include <assert.h>
41370 #endif
41371
41372 #undef $ac_func
41373
41374 /* Override any gcc2 internal prototype to avoid an error. */
41375 #ifdef __cplusplus
41376 extern "C"
41377 {
41378 #endif
41379 /* We use char because int might match the return type of a gcc2
41380 builtin and then its argument prototype would still apply. */
41381 char $ac_func ();
41382 /* The GNU C library defines this for functions which it implements
41383 to always fail with ENOSYS. Some functions are actually named
41384 something starting with __ and the normal name is an alias. */
41385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41386 choke me
41387 #else
41388 char (*f) () = $ac_func;
41389 #endif
41390 #ifdef __cplusplus
41391 }
41392 #endif
41393
41394 int
41395 main ()
41396 {
41397 return f != $ac_func;
41398 ;
41399 return 0;
41400 }
41401 _ACEOF
41402 rm -f conftest.$ac_objext conftest$ac_exeext
41403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41404 (eval $ac_link) 2>conftest.er1
41405 ac_status=$?
41406 grep -v '^ *+' conftest.er1 >conftest.err
41407 rm -f conftest.er1
41408 cat conftest.err >&5
41409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41410 (exit $ac_status); } &&
41411 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41413 (eval $ac_try) 2>&5
41414 ac_status=$?
41415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41416 (exit $ac_status); }; } &&
41417 { ac_try='test -s conftest$ac_exeext'
41418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41419 (eval $ac_try) 2>&5
41420 ac_status=$?
41421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41422 (exit $ac_status); }; }; then
41423 eval "$as_ac_var=yes"
41424 else
41425 echo "$as_me: failed program was:" >&5
41426 sed 's/^/| /' conftest.$ac_ext >&5
41427
41428 eval "$as_ac_var=no"
41429 fi
41430 rm -f conftest.err conftest.$ac_objext \
41431 conftest$ac_exeext conftest.$ac_ext
41432 fi
41433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41435 if test `eval echo '${'$as_ac_var'}'` = yes; then
41436 cat >>confdefs.h <<_ACEOF
41437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41438 _ACEOF
41439
41440 cat >>confdefs.h <<\_ACEOF
41441 #define HAVE_DLOPEN 1
41442 _ACEOF
41443
41444 HAVE_DL_FUNCS=1
41445
41446 else
41447
41448 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41449 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41450 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41451 echo $ECHO_N "(cached) $ECHO_C" >&6
41452 else
41453 ac_check_lib_save_LIBS=$LIBS
41454 LIBS="-ldl $LIBS"
41455 cat >conftest.$ac_ext <<_ACEOF
41456 /* confdefs.h. */
41457 _ACEOF
41458 cat confdefs.h >>conftest.$ac_ext
41459 cat >>conftest.$ac_ext <<_ACEOF
41460 /* end confdefs.h. */
41461
41462 /* Override any gcc2 internal prototype to avoid an error. */
41463 #ifdef __cplusplus
41464 extern "C"
41465 #endif
41466 /* We use char because int might match the return type of a gcc2
41467 builtin and then its argument prototype would still apply. */
41468 char dlopen ();
41469 int
41470 main ()
41471 {
41472 dlopen ();
41473 ;
41474 return 0;
41475 }
41476 _ACEOF
41477 rm -f conftest.$ac_objext conftest$ac_exeext
41478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41479 (eval $ac_link) 2>conftest.er1
41480 ac_status=$?
41481 grep -v '^ *+' conftest.er1 >conftest.err
41482 rm -f conftest.er1
41483 cat conftest.err >&5
41484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41485 (exit $ac_status); } &&
41486 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41488 (eval $ac_try) 2>&5
41489 ac_status=$?
41490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41491 (exit $ac_status); }; } &&
41492 { ac_try='test -s conftest$ac_exeext'
41493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41494 (eval $ac_try) 2>&5
41495 ac_status=$?
41496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41497 (exit $ac_status); }; }; then
41498 ac_cv_lib_dl_dlopen=yes
41499 else
41500 echo "$as_me: failed program was:" >&5
41501 sed 's/^/| /' conftest.$ac_ext >&5
41502
41503 ac_cv_lib_dl_dlopen=no
41504 fi
41505 rm -f conftest.err conftest.$ac_objext \
41506 conftest$ac_exeext conftest.$ac_ext
41507 LIBS=$ac_check_lib_save_LIBS
41508 fi
41509 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41510 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41511 if test $ac_cv_lib_dl_dlopen = yes; then
41512
41513 cat >>confdefs.h <<\_ACEOF
41514 #define HAVE_DLOPEN 1
41515 _ACEOF
41516
41517 HAVE_DL_FUNCS=1
41518 DL_LINK=" -ldl$DL_LINK"
41519
41520 else
41521
41522
41523 for ac_func in shl_load
41524 do
41525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41526 echo "$as_me:$LINENO: checking for $ac_func" >&5
41527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41528 if eval "test \"\${$as_ac_var+set}\" = set"; then
41529 echo $ECHO_N "(cached) $ECHO_C" >&6
41530 else
41531 cat >conftest.$ac_ext <<_ACEOF
41532 /* confdefs.h. */
41533 _ACEOF
41534 cat confdefs.h >>conftest.$ac_ext
41535 cat >>conftest.$ac_ext <<_ACEOF
41536 /* end confdefs.h. */
41537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41539 #define $ac_func innocuous_$ac_func
41540
41541 /* System header to define __stub macros and hopefully few prototypes,
41542 which can conflict with char $ac_func (); below.
41543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41544 <limits.h> exists even on freestanding compilers. */
41545
41546 #ifdef __STDC__
41547 # include <limits.h>
41548 #else
41549 # include <assert.h>
41550 #endif
41551
41552 #undef $ac_func
41553
41554 /* Override any gcc2 internal prototype to avoid an error. */
41555 #ifdef __cplusplus
41556 extern "C"
41557 {
41558 #endif
41559 /* We use char because int might match the return type of a gcc2
41560 builtin and then its argument prototype would still apply. */
41561 char $ac_func ();
41562 /* The GNU C library defines this for functions which it implements
41563 to always fail with ENOSYS. Some functions are actually named
41564 something starting with __ and the normal name is an alias. */
41565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41566 choke me
41567 #else
41568 char (*f) () = $ac_func;
41569 #endif
41570 #ifdef __cplusplus
41571 }
41572 #endif
41573
41574 int
41575 main ()
41576 {
41577 return f != $ac_func;
41578 ;
41579 return 0;
41580 }
41581 _ACEOF
41582 rm -f conftest.$ac_objext conftest$ac_exeext
41583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41584 (eval $ac_link) 2>conftest.er1
41585 ac_status=$?
41586 grep -v '^ *+' conftest.er1 >conftest.err
41587 rm -f conftest.er1
41588 cat conftest.err >&5
41589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41590 (exit $ac_status); } &&
41591 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41593 (eval $ac_try) 2>&5
41594 ac_status=$?
41595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41596 (exit $ac_status); }; } &&
41597 { ac_try='test -s conftest$ac_exeext'
41598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41599 (eval $ac_try) 2>&5
41600 ac_status=$?
41601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41602 (exit $ac_status); }; }; then
41603 eval "$as_ac_var=yes"
41604 else
41605 echo "$as_me: failed program was:" >&5
41606 sed 's/^/| /' conftest.$ac_ext >&5
41607
41608 eval "$as_ac_var=no"
41609 fi
41610 rm -f conftest.err conftest.$ac_objext \
41611 conftest$ac_exeext conftest.$ac_ext
41612 fi
41613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41615 if test `eval echo '${'$as_ac_var'}'` = yes; then
41616 cat >>confdefs.h <<_ACEOF
41617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41618 _ACEOF
41619
41620 cat >>confdefs.h <<\_ACEOF
41621 #define HAVE_SHL_LOAD 1
41622 _ACEOF
41623
41624 HAVE_SHL_FUNCS=1
41625
41626 else
41627
41628 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41629 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41630 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41631 echo $ECHO_N "(cached) $ECHO_C" >&6
41632 else
41633 ac_check_lib_save_LIBS=$LIBS
41634 LIBS="-lshl_load $LIBS"
41635 cat >conftest.$ac_ext <<_ACEOF
41636 /* confdefs.h. */
41637 _ACEOF
41638 cat confdefs.h >>conftest.$ac_ext
41639 cat >>conftest.$ac_ext <<_ACEOF
41640 /* end confdefs.h. */
41641
41642 /* Override any gcc2 internal prototype to avoid an error. */
41643 #ifdef __cplusplus
41644 extern "C"
41645 #endif
41646 /* We use char because int might match the return type of a gcc2
41647 builtin and then its argument prototype would still apply. */
41648 char dld ();
41649 int
41650 main ()
41651 {
41652 dld ();
41653 ;
41654 return 0;
41655 }
41656 _ACEOF
41657 rm -f conftest.$ac_objext conftest$ac_exeext
41658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41659 (eval $ac_link) 2>conftest.er1
41660 ac_status=$?
41661 grep -v '^ *+' conftest.er1 >conftest.err
41662 rm -f conftest.er1
41663 cat conftest.err >&5
41664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41665 (exit $ac_status); } &&
41666 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41668 (eval $ac_try) 2>&5
41669 ac_status=$?
41670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41671 (exit $ac_status); }; } &&
41672 { ac_try='test -s conftest$ac_exeext'
41673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41674 (eval $ac_try) 2>&5
41675 ac_status=$?
41676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41677 (exit $ac_status); }; }; then
41678 ac_cv_lib_shl_load_dld=yes
41679 else
41680 echo "$as_me: failed program was:" >&5
41681 sed 's/^/| /' conftest.$ac_ext >&5
41682
41683 ac_cv_lib_shl_load_dld=no
41684 fi
41685 rm -f conftest.err conftest.$ac_objext \
41686 conftest$ac_exeext conftest.$ac_ext
41687 LIBS=$ac_check_lib_save_LIBS
41688 fi
41689 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41690 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41691 if test $ac_cv_lib_shl_load_dld = yes; then
41692
41693 HAVE_SHL_FUNCS=1
41694 DL_LINK=" -ldld$DL_LINK"
41695
41696 fi
41697
41698
41699 fi
41700 done
41701
41702
41703 fi
41704
41705
41706 fi
41707 done
41708
41709
41710 if test "$HAVE_DL_FUNCS" = 1; then
41711
41712 for ac_func in dlerror
41713 do
41714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41715 echo "$as_me:$LINENO: checking for $ac_func" >&5
41716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41717 if eval "test \"\${$as_ac_var+set}\" = set"; then
41718 echo $ECHO_N "(cached) $ECHO_C" >&6
41719 else
41720 cat >conftest.$ac_ext <<_ACEOF
41721 /* confdefs.h. */
41722 _ACEOF
41723 cat confdefs.h >>conftest.$ac_ext
41724 cat >>conftest.$ac_ext <<_ACEOF
41725 /* end confdefs.h. */
41726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41728 #define $ac_func innocuous_$ac_func
41729
41730 /* System header to define __stub macros and hopefully few prototypes,
41731 which can conflict with char $ac_func (); below.
41732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41733 <limits.h> exists even on freestanding compilers. */
41734
41735 #ifdef __STDC__
41736 # include <limits.h>
41737 #else
41738 # include <assert.h>
41739 #endif
41740
41741 #undef $ac_func
41742
41743 /* Override any gcc2 internal prototype to avoid an error. */
41744 #ifdef __cplusplus
41745 extern "C"
41746 {
41747 #endif
41748 /* We use char because int might match the return type of a gcc2
41749 builtin and then its argument prototype would still apply. */
41750 char $ac_func ();
41751 /* The GNU C library defines this for functions which it implements
41752 to always fail with ENOSYS. Some functions are actually named
41753 something starting with __ and the normal name is an alias. */
41754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41755 choke me
41756 #else
41757 char (*f) () = $ac_func;
41758 #endif
41759 #ifdef __cplusplus
41760 }
41761 #endif
41762
41763 int
41764 main ()
41765 {
41766 return f != $ac_func;
41767 ;
41768 return 0;
41769 }
41770 _ACEOF
41771 rm -f conftest.$ac_objext conftest$ac_exeext
41772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41773 (eval $ac_link) 2>conftest.er1
41774 ac_status=$?
41775 grep -v '^ *+' conftest.er1 >conftest.err
41776 rm -f conftest.er1
41777 cat conftest.err >&5
41778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41779 (exit $ac_status); } &&
41780 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41782 (eval $ac_try) 2>&5
41783 ac_status=$?
41784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41785 (exit $ac_status); }; } &&
41786 { ac_try='test -s conftest$ac_exeext'
41787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41788 (eval $ac_try) 2>&5
41789 ac_status=$?
41790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41791 (exit $ac_status); }; }; then
41792 eval "$as_ac_var=yes"
41793 else
41794 echo "$as_me: failed program was:" >&5
41795 sed 's/^/| /' conftest.$ac_ext >&5
41796
41797 eval "$as_ac_var=no"
41798 fi
41799 rm -f conftest.err conftest.$ac_objext \
41800 conftest$ac_exeext conftest.$ac_ext
41801 fi
41802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41804 if test `eval echo '${'$as_ac_var'}'` = yes; then
41805 cat >>confdefs.h <<_ACEOF
41806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41807 _ACEOF
41808 cat >>confdefs.h <<\_ACEOF
41809 #define HAVE_DLERROR 1
41810 _ACEOF
41811
41812 else
41813
41814 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41815 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
41816 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41817 echo $ECHO_N "(cached) $ECHO_C" >&6
41818 else
41819 ac_check_lib_save_LIBS=$LIBS
41820 LIBS="-ldl $LIBS"
41821 cat >conftest.$ac_ext <<_ACEOF
41822 /* confdefs.h. */
41823 _ACEOF
41824 cat confdefs.h >>conftest.$ac_ext
41825 cat >>conftest.$ac_ext <<_ACEOF
41826 /* end confdefs.h. */
41827
41828 /* Override any gcc2 internal prototype to avoid an error. */
41829 #ifdef __cplusplus
41830 extern "C"
41831 #endif
41832 /* We use char because int might match the return type of a gcc2
41833 builtin and then its argument prototype would still apply. */
41834 char dlerror ();
41835 int
41836 main ()
41837 {
41838 dlerror ();
41839 ;
41840 return 0;
41841 }
41842 _ACEOF
41843 rm -f conftest.$ac_objext conftest$ac_exeext
41844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41845 (eval $ac_link) 2>conftest.er1
41846 ac_status=$?
41847 grep -v '^ *+' conftest.er1 >conftest.err
41848 rm -f conftest.er1
41849 cat conftest.err >&5
41850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41851 (exit $ac_status); } &&
41852 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41854 (eval $ac_try) 2>&5
41855 ac_status=$?
41856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41857 (exit $ac_status); }; } &&
41858 { ac_try='test -s conftest$ac_exeext'
41859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41860 (eval $ac_try) 2>&5
41861 ac_status=$?
41862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41863 (exit $ac_status); }; }; then
41864 ac_cv_lib_dl_dlerror=yes
41865 else
41866 echo "$as_me: failed program was:" >&5
41867 sed 's/^/| /' conftest.$ac_ext >&5
41868
41869 ac_cv_lib_dl_dlerror=no
41870 fi
41871 rm -f conftest.err conftest.$ac_objext \
41872 conftest$ac_exeext conftest.$ac_ext
41873 LIBS=$ac_check_lib_save_LIBS
41874 fi
41875 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41876 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41877 if test $ac_cv_lib_dl_dlerror = yes; then
41878 cat >>confdefs.h <<\_ACEOF
41879 #define HAVE_DLERROR 1
41880 _ACEOF
41881
41882 fi
41883
41884
41885
41886 fi
41887 done
41888
41889 fi
41890 fi
41891
41892 if test "$HAVE_DL_FUNCS" = 0; then
41893 if test "$HAVE_SHL_FUNCS" = 0; then
41894 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41895 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41896 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41897 wxUSE_DYNAMIC_LOADER=no
41898 wxUSE_DYNLIB_CLASS=no
41899 else
41900 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41901 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41902 fi
41903 fi
41904 fi
41905 fi
41906 fi
41907
41908 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41909 cat >>confdefs.h <<\_ACEOF
41910 #define wxUSE_DYNAMIC_LOADER 1
41911 _ACEOF
41912
41913 fi
41914 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41915 cat >>confdefs.h <<\_ACEOF
41916 #define wxUSE_DYNLIB_CLASS 1
41917 _ACEOF
41918
41919 fi
41920
41921
41922
41923 if test "$wxUSE_PLUGINS" = "yes" ; then
41924 if test "$wxUSE_SHARED" = "no" ; then
41925 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41926 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41927 wxUSE_PLUGINS=no
41928 fi
41929 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41930 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41931 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41932 wxUSE_PLUGINS=no
41933 fi
41934 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41935 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41936 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41937 wxUSE_PLUGINS=no
41938 fi
41939 if test "$wxUSE_PLUGINS" = "yes" ; then
41940 cat >>confdefs.h <<\_ACEOF
41941 #define wxUSE_PLUGINS 1
41942 _ACEOF
41943
41944 fi
41945 fi
41946
41947
41948 if test "$wxUSE_STL" = "yes"; then
41949 cat >>confdefs.h <<\_ACEOF
41950 #define wxUSE_STL 1
41951 _ACEOF
41952
41953 fi
41954
41955 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41956 cat >>confdefs.h <<\_ACEOF
41957 #define wxUSE_APPLE_IEEE 1
41958 _ACEOF
41959
41960 fi
41961
41962 if test "$wxUSE_TIMER" = "yes"; then
41963 cat >>confdefs.h <<\_ACEOF
41964 #define wxUSE_TIMER 1
41965 _ACEOF
41966
41967 fi
41968
41969 if test "$USE_UNIX" = "1" ; then
41970 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41971 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
41972 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41973 echo $ECHO_N "(cached) $ECHO_C" >&6
41974 else
41975
41976 cat >conftest.$ac_ext <<_ACEOF
41977 /* confdefs.h. */
41978 _ACEOF
41979 cat confdefs.h >>conftest.$ac_ext
41980 cat >>conftest.$ac_ext <<_ACEOF
41981 /* end confdefs.h. */
41982
41983 #include <sys/ioctl.h>
41984 #include <sys/soundcard.h>
41985
41986 int
41987 main ()
41988 {
41989
41990 ioctl(0, SNDCTL_DSP_SPEED, 0);
41991
41992 ;
41993 return 0;
41994 }
41995 _ACEOF
41996 rm -f conftest.$ac_objext conftest$ac_exeext
41997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41998 (eval $ac_link) 2>conftest.er1
41999 ac_status=$?
42000 grep -v '^ *+' conftest.er1 >conftest.err
42001 rm -f conftest.er1
42002 cat conftest.err >&5
42003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42004 (exit $ac_status); } &&
42005 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42007 (eval $ac_try) 2>&5
42008 ac_status=$?
42009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42010 (exit $ac_status); }; } &&
42011 { ac_try='test -s conftest$ac_exeext'
42012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42013 (eval $ac_try) 2>&5
42014 ac_status=$?
42015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42016 (exit $ac_status); }; }; then
42017 ac_cv_header_sys_soundcard=yes
42018 else
42019 echo "$as_me: failed program was:" >&5
42020 sed 's/^/| /' conftest.$ac_ext >&5
42021
42022
42023 saveLibs="$LIBS"
42024 LIBS="$saveLibs -lossaudio"
42025 cat >conftest.$ac_ext <<_ACEOF
42026 /* confdefs.h. */
42027 _ACEOF
42028 cat confdefs.h >>conftest.$ac_ext
42029 cat >>conftest.$ac_ext <<_ACEOF
42030 /* end confdefs.h. */
42031
42032 #include <sys/ioctl.h>
42033 #include <sys/soundcard.h>
42034
42035 int
42036 main ()
42037 {
42038
42039 ioctl(0, SNDCTL_DSP_SPEED, 0);
42040
42041 ;
42042 return 0;
42043 }
42044 _ACEOF
42045 rm -f conftest.$ac_objext conftest$ac_exeext
42046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42047 (eval $ac_link) 2>conftest.er1
42048 ac_status=$?
42049 grep -v '^ *+' conftest.er1 >conftest.err
42050 rm -f conftest.er1
42051 cat conftest.err >&5
42052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42053 (exit $ac_status); } &&
42054 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42056 (eval $ac_try) 2>&5
42057 ac_status=$?
42058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42059 (exit $ac_status); }; } &&
42060 { ac_try='test -s conftest$ac_exeext'
42061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42062 (eval $ac_try) 2>&5
42063 ac_status=$?
42064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42065 (exit $ac_status); }; }; then
42066 ac_cv_header_sys_soundcard=yes
42067 else
42068 echo "$as_me: failed program was:" >&5
42069 sed 's/^/| /' conftest.$ac_ext >&5
42070
42071
42072 LIBS="$saveLibs"
42073 ac_cv_header_sys_soundcard=no
42074
42075
42076 fi
42077 rm -f conftest.err conftest.$ac_objext \
42078 conftest$ac_exeext conftest.$ac_ext
42079
42080
42081 fi
42082 rm -f conftest.err conftest.$ac_objext \
42083 conftest$ac_exeext conftest.$ac_ext
42084
42085 fi
42086 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42087 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42088
42089 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42090 cat >>confdefs.h <<\_ACEOF
42091 #define HAVE_SYS_SOUNDCARD_H 1
42092 _ACEOF
42093
42094 else
42095 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42096 fi
42097 fi
42098 WITH_PLUGIN_SDL=0
42099 if test "$wxUSE_SOUND" = "yes"; then
42100 if test "$USE_UNIX" = "1" ; then
42101 if test "$wxUSE_LIBSDL" != "no"; then
42102
42103 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42104 if test "${with_sdl_prefix+set}" = set; then
42105 withval="$with_sdl_prefix"
42106 sdl_prefix="$withval"
42107 else
42108 sdl_prefix=""
42109 fi;
42110
42111 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42112 if test "${with_sdl_exec_prefix+set}" = set; then
42113 withval="$with_sdl_exec_prefix"
42114 sdl_exec_prefix="$withval"
42115 else
42116 sdl_exec_prefix=""
42117 fi;
42118 # Check whether --enable-sdltest or --disable-sdltest was given.
42119 if test "${enable_sdltest+set}" = set; then
42120 enableval="$enable_sdltest"
42121
42122 else
42123 enable_sdltest=yes
42124 fi;
42125
42126 if test x$sdl_exec_prefix != x ; then
42127 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42128 if test x${SDL_CONFIG+set} != xset ; then
42129 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42130 fi
42131 fi
42132 if test x$sdl_prefix != x ; then
42133 sdl_args="$sdl_args --prefix=$sdl_prefix"
42134 if test x${SDL_CONFIG+set} != xset ; then
42135 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42136 fi
42137 fi
42138
42139 if test "x$prefix" != xNONE; then
42140 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42141 fi
42142 # Extract the first word of "sdl-config", so it can be a program name with args.
42143 set dummy sdl-config; ac_word=$2
42144 echo "$as_me:$LINENO: checking for $ac_word" >&5
42145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42146 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42147 echo $ECHO_N "(cached) $ECHO_C" >&6
42148 else
42149 case $SDL_CONFIG in
42150 [\\/]* | ?:[\\/]*)
42151 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42152 ;;
42153 *)
42154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42155 for as_dir in $PATH
42156 do
42157 IFS=$as_save_IFS
42158 test -z "$as_dir" && as_dir=.
42159 for ac_exec_ext in '' $ac_executable_extensions; do
42160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42161 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42163 break 2
42164 fi
42165 done
42166 done
42167
42168 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42169 ;;
42170 esac
42171 fi
42172 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42173
42174 if test -n "$SDL_CONFIG"; then
42175 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42176 echo "${ECHO_T}$SDL_CONFIG" >&6
42177 else
42178 echo "$as_me:$LINENO: result: no" >&5
42179 echo "${ECHO_T}no" >&6
42180 fi
42181
42182 min_sdl_version=1.2.0
42183 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42184 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42185 no_sdl=""
42186 if test "$SDL_CONFIG" = "no" ; then
42187 no_sdl=yes
42188 else
42189 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42190 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42191
42192 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42193 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42194 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42195 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42196 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42197 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42198 if test "x$enable_sdltest" = "xyes" ; then
42199 ac_save_CFLAGS="$CFLAGS"
42200 ac_save_CXXFLAGS="$CXXFLAGS"
42201 ac_save_LIBS="$LIBS"
42202 CFLAGS="$CFLAGS $SDL_CFLAGS"
42203 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42204 LIBS="$LIBS $SDL_LIBS"
42205 rm -f conf.sdltest
42206 if test "$cross_compiling" = yes; then
42207 echo $ac_n "cross compiling; assumed OK... $ac_c"
42208 else
42209 cat >conftest.$ac_ext <<_ACEOF
42210 /* confdefs.h. */
42211 _ACEOF
42212 cat confdefs.h >>conftest.$ac_ext
42213 cat >>conftest.$ac_ext <<_ACEOF
42214 /* end confdefs.h. */
42215
42216 #include <stdio.h>
42217 #include <stdlib.h>
42218 #include <string.h>
42219 #include "SDL.h"
42220
42221 char*
42222 my_strdup (char *str)
42223 {
42224 char *new_str;
42225
42226 if (str)
42227 {
42228 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42229 strcpy (new_str, str);
42230 }
42231 else
42232 new_str = NULL;
42233
42234 return new_str;
42235 }
42236
42237 int main (int argc, char *argv[])
42238 {
42239 int major, minor, micro;
42240 char *tmp_version;
42241
42242 /* This hangs on some systems (?)
42243 system ("touch conf.sdltest");
42244 */
42245 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42246
42247 /* HP/UX 9 (%@#!) writes to sscanf strings */
42248 tmp_version = my_strdup("$min_sdl_version");
42249 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42250 printf("%s, bad version string\n", "$min_sdl_version");
42251 exit(1);
42252 }
42253
42254 if (($sdl_major_version > major) ||
42255 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42256 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42257 {
42258 return 0;
42259 }
42260 else
42261 {
42262 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42263 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42264 printf("*** best to upgrade to the required version.\n");
42265 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42266 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42267 printf("*** config.cache before re-running configure\n");
42268 return 1;
42269 }
42270 }
42271
42272
42273 _ACEOF
42274 rm -f conftest$ac_exeext
42275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42276 (eval $ac_link) 2>&5
42277 ac_status=$?
42278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42279 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42281 (eval $ac_try) 2>&5
42282 ac_status=$?
42283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42284 (exit $ac_status); }; }; then
42285 :
42286 else
42287 echo "$as_me: program exited with status $ac_status" >&5
42288 echo "$as_me: failed program was:" >&5
42289 sed 's/^/| /' conftest.$ac_ext >&5
42290
42291 ( exit $ac_status )
42292 no_sdl=yes
42293 fi
42294 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42295 fi
42296 CFLAGS="$ac_save_CFLAGS"
42297 CXXFLAGS="$ac_save_CXXFLAGS"
42298 LIBS="$ac_save_LIBS"
42299 fi
42300 fi
42301 if test "x$no_sdl" = x ; then
42302 echo "$as_me:$LINENO: result: yes" >&5
42303 echo "${ECHO_T}yes" >&6
42304
42305 EXTRALIBS_SDL="$SDL_LIBS"
42306 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42307 cat >>confdefs.h <<\_ACEOF
42308 #define wxUSE_LIBSDL 1
42309 _ACEOF
42310
42311
42312 else
42313 echo "$as_me:$LINENO: result: no" >&5
42314 echo "${ECHO_T}no" >&6
42315 if test "$SDL_CONFIG" = "no" ; then
42316 echo "*** The sdl-config script installed by SDL could not be found"
42317 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42318 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42319 echo "*** full path to sdl-config."
42320 else
42321 if test -f conf.sdltest ; then
42322 :
42323 else
42324 echo "*** Could not run SDL test program, checking why..."
42325 CFLAGS="$CFLAGS $SDL_CFLAGS"
42326 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42327 LIBS="$LIBS $SDL_LIBS"
42328 cat >conftest.$ac_ext <<_ACEOF
42329 /* confdefs.h. */
42330 _ACEOF
42331 cat confdefs.h >>conftest.$ac_ext
42332 cat >>conftest.$ac_ext <<_ACEOF
42333 /* end confdefs.h. */
42334
42335 #include <stdio.h>
42336 #include "SDL.h"
42337
42338 int main(int argc, char *argv[])
42339 { return 0; }
42340 #undef main
42341 #define main K_and_R_C_main
42342
42343 int
42344 main ()
42345 {
42346 return 0;
42347 ;
42348 return 0;
42349 }
42350 _ACEOF
42351 rm -f conftest.$ac_objext conftest$ac_exeext
42352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42353 (eval $ac_link) 2>conftest.er1
42354 ac_status=$?
42355 grep -v '^ *+' conftest.er1 >conftest.err
42356 rm -f conftest.er1
42357 cat conftest.err >&5
42358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42359 (exit $ac_status); } &&
42360 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42362 (eval $ac_try) 2>&5
42363 ac_status=$?
42364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42365 (exit $ac_status); }; } &&
42366 { ac_try='test -s conftest$ac_exeext'
42367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42368 (eval $ac_try) 2>&5
42369 ac_status=$?
42370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42371 (exit $ac_status); }; }; then
42372 echo "*** The test program compiled, but did not run. This usually means"
42373 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42374 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42375 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42376 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42377 echo "*** is required on your system"
42378 echo "***"
42379 echo "*** If you have an old version installed, it is best to remove it, although"
42380 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42381 else
42382 echo "$as_me: failed program was:" >&5
42383 sed 's/^/| /' conftest.$ac_ext >&5
42384
42385 echo "*** The test program failed to compile or link. See the file config.log for the"
42386 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42387 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42388 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42389 fi
42390 rm -f conftest.err conftest.$ac_objext \
42391 conftest$ac_exeext conftest.$ac_ext
42392 CFLAGS="$ac_save_CFLAGS"
42393 CXXFLAGS="$ac_save_CXXFLAGS"
42394 LIBS="$ac_save_LIBS"
42395 fi
42396 fi
42397 SDL_CFLAGS=""
42398 SDL_LIBS=""
42399 wxUSE_LIBSDL="no"
42400 fi
42401
42402
42403 rm -f conf.sdltest
42404
42405 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42406 WITH_PLUGIN_SDL=1
42407 fi
42408 fi
42409 fi
42410
42411 cat >>confdefs.h <<\_ACEOF
42412 #define wxUSE_SOUND 1
42413 _ACEOF
42414
42415 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42416 fi
42417
42418 if test "$WXGTK20" = 1; then
42419 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42420 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42421
42422
42423 pkg_failed=no
42424 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42425 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42426
42427 if test -n "$PKG_CONFIG"; then
42428 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42429 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42430 else
42431 if test -n "$PKG_CONFIG" && \
42432 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42433 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42434 ac_status=$?
42435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42436 (exit $ac_status); }; then
42437 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42438 else
42439 pkg_failed=yes
42440 fi
42441 fi
42442 else
42443 pkg_failed=untried
42444 fi
42445 if test -n "$PKG_CONFIG"; then
42446 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42447 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42448 else
42449 if test -n "$PKG_CONFIG" && \
42450 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42451 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42452 ac_status=$?
42453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42454 (exit $ac_status); }; then
42455 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42456 else
42457 pkg_failed=yes
42458 fi
42459 fi
42460 else
42461 pkg_failed=untried
42462 fi
42463
42464
42465
42466 if test $pkg_failed = yes; then
42467
42468 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42469 _pkg_short_errors_supported=yes
42470 else
42471 _pkg_short_errors_supported=no
42472 fi
42473 if test $_pkg_short_errors_supported = yes; then
42474 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42475 else
42476 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42477 fi
42478 # Put the nasty error message in config.log where it belongs
42479 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42480
42481
42482 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42483 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42484 wxUSE_LIBGNOMEPRINT="no"
42485
42486
42487 elif test $pkg_failed = untried; then
42488
42489 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42490 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42491 wxUSE_LIBGNOMEPRINT="no"
42492
42493
42494 else
42495 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42496 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42497 echo "$as_me:$LINENO: result: yes" >&5
42498 echo "${ECHO_T}yes" >&6
42499
42500 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42501 cat >>confdefs.h <<\_ACEOF
42502 #define wxUSE_LIBGNOMEPRINT 1
42503 _ACEOF
42504
42505
42506 fi
42507 fi
42508 fi
42509 fi
42510
42511 if test "$WXGTK20" = 1; then
42512 if test "$wxUSE_MIMETYPE" = "yes" ; then
42513 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42514
42515
42516 pkg_failed=no
42517 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42518 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42519
42520 if test -n "$PKG_CONFIG"; then
42521 if test -n "$GNOMEVFS_CFLAGS"; then
42522 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42523 else
42524 if test -n "$PKG_CONFIG" && \
42525 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42526 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42527 ac_status=$?
42528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42529 (exit $ac_status); }; then
42530 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42531 else
42532 pkg_failed=yes
42533 fi
42534 fi
42535 else
42536 pkg_failed=untried
42537 fi
42538 if test -n "$PKG_CONFIG"; then
42539 if test -n "$GNOMEVFS_LIBS"; then
42540 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42541 else
42542 if test -n "$PKG_CONFIG" && \
42543 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42544 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42545 ac_status=$?
42546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42547 (exit $ac_status); }; then
42548 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42549 else
42550 pkg_failed=yes
42551 fi
42552 fi
42553 else
42554 pkg_failed=untried
42555 fi
42556
42557
42558
42559 if test $pkg_failed = yes; then
42560
42561 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42562 _pkg_short_errors_supported=yes
42563 else
42564 _pkg_short_errors_supported=no
42565 fi
42566 if test $_pkg_short_errors_supported = yes; then
42567 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42568 else
42569 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42570 fi
42571 # Put the nasty error message in config.log where it belongs
42572 echo "$GNOMEVFS_PKG_ERRORS" >&5
42573
42574
42575 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42576 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42577 wxUSE_LIBGNOMEVFS="no"
42578
42579
42580 elif test $pkg_failed = untried; then
42581
42582 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42583 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42584 wxUSE_LIBGNOMEVFS="no"
42585
42586
42587 else
42588 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42589 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42590 echo "$as_me:$LINENO: result: yes" >&5
42591 echo "${ECHO_T}yes" >&6
42592
42593 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42594 cat >>confdefs.h <<\_ACEOF
42595 #define wxUSE_LIBGNOMEVFS 1
42596 _ACEOF
42597
42598
42599 fi
42600 fi
42601 fi
42602 fi
42603
42604 if test "$WXGTK20" = 1; then
42605 if test "$wxUSE_LIBHILDON" = "yes" ; then
42606
42607 pkg_failed=no
42608 echo "$as_me:$LINENO: checking for HILDON" >&5
42609 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42610
42611 if test -n "$PKG_CONFIG"; then
42612 if test -n "$HILDON_CFLAGS"; then
42613 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42614 else
42615 if test -n "$PKG_CONFIG" && \
42616 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42617 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42618 ac_status=$?
42619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42620 (exit $ac_status); }; then
42621 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42622 else
42623 pkg_failed=yes
42624 fi
42625 fi
42626 else
42627 pkg_failed=untried
42628 fi
42629 if test -n "$PKG_CONFIG"; then
42630 if test -n "$HILDON_LIBS"; then
42631 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42632 else
42633 if test -n "$PKG_CONFIG" && \
42634 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42635 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42636 ac_status=$?
42637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42638 (exit $ac_status); }; then
42639 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42640 else
42641 pkg_failed=yes
42642 fi
42643 fi
42644 else
42645 pkg_failed=untried
42646 fi
42647
42648
42649
42650 if test $pkg_failed = yes; then
42651
42652 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42653 _pkg_short_errors_supported=yes
42654 else
42655 _pkg_short_errors_supported=no
42656 fi
42657 if test $_pkg_short_errors_supported = yes; then
42658 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42659 else
42660 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42661 fi
42662 # Put the nasty error message in config.log where it belongs
42663 echo "$HILDON_PKG_ERRORS" >&5
42664
42665
42666 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42667 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42668 wxUSE_LIBHILDON="no"
42669
42670
42671 elif test $pkg_failed = untried; then
42672
42673 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42674 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42675 wxUSE_LIBHILDON="no"
42676
42677
42678 else
42679 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42680 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42681 echo "$as_me:$LINENO: result: yes" >&5
42682 echo "${ECHO_T}yes" >&6
42683
42684 EXTRALIBS_HILDON="$HILDON_LIBS"
42685 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42686 cat >>confdefs.h <<\_ACEOF
42687 #define wxUSE_LIBHILDON 1
42688 _ACEOF
42689
42690
42691 fi
42692 fi
42693 fi
42694
42695 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42696 cat >>confdefs.h <<\_ACEOF
42697 #define wxUSE_CMDLINE_PARSER 1
42698 _ACEOF
42699
42700 fi
42701
42702 if test "$wxUSE_STOPWATCH" = "yes"; then
42703 cat >>confdefs.h <<\_ACEOF
42704 #define wxUSE_STOPWATCH 1
42705 _ACEOF
42706
42707 fi
42708
42709 if test "$wxUSE_DATETIME" = "yes"; then
42710 cat >>confdefs.h <<\_ACEOF
42711 #define wxUSE_DATETIME 1
42712 _ACEOF
42713
42714 fi
42715
42716 if test "$wxUSE_FILE" = "yes"; then
42717 cat >>confdefs.h <<\_ACEOF
42718 #define wxUSE_FILE 1
42719 _ACEOF
42720
42721 fi
42722
42723 if test "$wxUSE_FFILE" = "yes"; then
42724 cat >>confdefs.h <<\_ACEOF
42725 #define wxUSE_FFILE 1
42726 _ACEOF
42727
42728 fi
42729
42730 if test "$wxUSE_FILESYSTEM" = "yes"; then
42731 cat >>confdefs.h <<\_ACEOF
42732 #define wxUSE_FILESYSTEM 1
42733 _ACEOF
42734
42735 fi
42736
42737 if test "$wxUSE_FS_ZIP" = "yes"; then
42738 cat >>confdefs.h <<\_ACEOF
42739 #define wxUSE_FS_ZIP 1
42740 _ACEOF
42741
42742 fi
42743
42744 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42745 cat >>confdefs.h <<\_ACEOF
42746 #define wxUSE_ARCHIVE_STREAMS 1
42747 _ACEOF
42748
42749 fi
42750
42751 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42752 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42753 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42754 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42755 elif test "$wxUSE_ZLIB" = "no"; then
42756 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42757 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42758 else
42759 cat >>confdefs.h <<\_ACEOF
42760 #define wxUSE_ZIPSTREAM 1
42761 _ACEOF
42762
42763 fi
42764 fi
42765
42766 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42767 if test "$USE_UNIX" != 1; then
42768 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42769 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42770 wxUSE_ON_FATAL_EXCEPTION=no
42771 else
42772 cat >>confdefs.h <<\_ACEOF
42773 #define wxUSE_ON_FATAL_EXCEPTION 1
42774 _ACEOF
42775
42776 fi
42777 fi
42778
42779 if test "$wxUSE_STACKWALKER" = "yes"; then
42780 cat >>confdefs.h <<\_ACEOF
42781 #define wxUSE_STACKWALKER 1
42782 _ACEOF
42783
42784 fi
42785
42786 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42787 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42788 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42789 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42790 wxUSE_DEBUGREPORT=no
42791 else
42792 cat >>confdefs.h <<\_ACEOF
42793 #define wxUSE_DEBUGREPORT 1
42794 _ACEOF
42795
42796 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42798 fi
42799 fi
42800 fi
42801
42802 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42803 cat >>confdefs.h <<\_ACEOF
42804 #define wxUSE_SNGLINST_CHECKER 1
42805 _ACEOF
42806
42807 fi
42808
42809 if test "$wxUSE_BUSYINFO" = "yes"; then
42810 cat >>confdefs.h <<\_ACEOF
42811 #define wxUSE_BUSYINFO 1
42812 _ACEOF
42813
42814 fi
42815
42816 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42817 cat >>confdefs.h <<\_ACEOF
42818 #define wxUSE_STD_IOSTREAM 1
42819 _ACEOF
42820
42821 fi
42822
42823 if test "$wxUSE_STD_STRING" = "yes"; then
42824 cat >>confdefs.h <<\_ACEOF
42825 #define wxUSE_STD_STRING 1
42826 _ACEOF
42827
42828 fi
42829
42830 if test "$wxUSE_STDPATHS" = "yes"; then
42831 cat >>confdefs.h <<\_ACEOF
42832 #define wxUSE_STDPATHS 1
42833 _ACEOF
42834
42835 fi
42836
42837 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42838 cat >>confdefs.h <<\_ACEOF
42839 #define wxUSE_TEXTBUFFER 1
42840 _ACEOF
42841
42842 fi
42843
42844 if test "$wxUSE_TEXTFILE" = "yes"; then
42845 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42846 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42847 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42848 else
42849 cat >>confdefs.h <<\_ACEOF
42850 #define wxUSE_TEXTFILE 1
42851 _ACEOF
42852
42853 fi
42854 fi
42855
42856 if test "$wxUSE_CONFIG" = "yes" ; then
42857 if test "$wxUSE_TEXTFILE" != "yes"; then
42858 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42859 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42860 else
42861 cat >>confdefs.h <<\_ACEOF
42862 #define wxUSE_CONFIG 1
42863 _ACEOF
42864
42865 cat >>confdefs.h <<\_ACEOF
42866 #define wxUSE_CONFIG_NATIVE 1
42867 _ACEOF
42868
42869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42870 fi
42871 fi
42872
42873 if test "$wxUSE_INTL" = "yes" ; then
42874 if test "$wxUSE_FILE" != "yes"; then
42875 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42876 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42877 else
42878 cat >>confdefs.h <<\_ACEOF
42879 #define wxUSE_INTL 1
42880 _ACEOF
42881
42882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42883 GUIDIST="$GUIDIST INTL_DIST"
42884 fi
42885 fi
42886
42887 if test "$wxUSE_LOG" = "yes"; then
42888 cat >>confdefs.h <<\_ACEOF
42889 #define wxUSE_LOG 1
42890 _ACEOF
42891
42892
42893 if test "$wxUSE_LOGGUI" = "yes"; then
42894 cat >>confdefs.h <<\_ACEOF
42895 #define wxUSE_LOGGUI 1
42896 _ACEOF
42897
42898 fi
42899
42900 if test "$wxUSE_LOGWINDOW" = "yes"; then
42901 cat >>confdefs.h <<\_ACEOF
42902 #define wxUSE_LOGWINDOW 1
42903 _ACEOF
42904
42905 fi
42906
42907 if test "$wxUSE_LOGDIALOG" = "yes"; then
42908 cat >>confdefs.h <<\_ACEOF
42909 #define wxUSE_LOG_DIALOG 1
42910 _ACEOF
42911
42912 fi
42913
42914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42915 fi
42916
42917 if test "$wxUSE_LONGLONG" = "yes"; then
42918 cat >>confdefs.h <<\_ACEOF
42919 #define wxUSE_LONGLONG 1
42920 _ACEOF
42921
42922 fi
42923
42924 if test "$wxUSE_GEOMETRY" = "yes"; then
42925 cat >>confdefs.h <<\_ACEOF
42926 #define wxUSE_GEOMETRY 1
42927 _ACEOF
42928
42929 fi
42930
42931 if test "$wxUSE_STREAMS" = "yes" ; then
42932 cat >>confdefs.h <<\_ACEOF
42933 #define wxUSE_STREAMS 1
42934 _ACEOF
42935
42936 fi
42937
42938 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42939 cat >>confdefs.h <<\_ACEOF
42940 #define wxUSE_PRINTF_POS_PARAMS 1
42941 _ACEOF
42942
42943 fi
42944
42945
42946
42947 if test "$wxUSE_DATETIME" = "yes"; then
42948
42949 for ac_func in strptime
42950 do
42951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42952 echo "$as_me:$LINENO: checking for $ac_func" >&5
42953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42954 if eval "test \"\${$as_ac_var+set}\" = set"; then
42955 echo $ECHO_N "(cached) $ECHO_C" >&6
42956 else
42957 cat >conftest.$ac_ext <<_ACEOF
42958 /* confdefs.h. */
42959 _ACEOF
42960 cat confdefs.h >>conftest.$ac_ext
42961 cat >>conftest.$ac_ext <<_ACEOF
42962 /* end confdefs.h. */
42963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42965 #define $ac_func innocuous_$ac_func
42966
42967 /* System header to define __stub macros and hopefully few prototypes,
42968 which can conflict with char $ac_func (); below.
42969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42970 <limits.h> exists even on freestanding compilers. */
42971
42972 #ifdef __STDC__
42973 # include <limits.h>
42974 #else
42975 # include <assert.h>
42976 #endif
42977
42978 #undef $ac_func
42979
42980 /* Override any gcc2 internal prototype to avoid an error. */
42981 #ifdef __cplusplus
42982 extern "C"
42983 {
42984 #endif
42985 /* We use char because int might match the return type of a gcc2
42986 builtin and then its argument prototype would still apply. */
42987 char $ac_func ();
42988 /* The GNU C library defines this for functions which it implements
42989 to always fail with ENOSYS. Some functions are actually named
42990 something starting with __ and the normal name is an alias. */
42991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42992 choke me
42993 #else
42994 char (*f) () = $ac_func;
42995 #endif
42996 #ifdef __cplusplus
42997 }
42998 #endif
42999
43000 int
43001 main ()
43002 {
43003 return f != $ac_func;
43004 ;
43005 return 0;
43006 }
43007 _ACEOF
43008 rm -f conftest.$ac_objext conftest$ac_exeext
43009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43010 (eval $ac_link) 2>conftest.er1
43011 ac_status=$?
43012 grep -v '^ *+' conftest.er1 >conftest.err
43013 rm -f conftest.er1
43014 cat conftest.err >&5
43015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43016 (exit $ac_status); } &&
43017 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43019 (eval $ac_try) 2>&5
43020 ac_status=$?
43021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43022 (exit $ac_status); }; } &&
43023 { ac_try='test -s conftest$ac_exeext'
43024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43025 (eval $ac_try) 2>&5
43026 ac_status=$?
43027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43028 (exit $ac_status); }; }; then
43029 eval "$as_ac_var=yes"
43030 else
43031 echo "$as_me: failed program was:" >&5
43032 sed 's/^/| /' conftest.$ac_ext >&5
43033
43034 eval "$as_ac_var=no"
43035 fi
43036 rm -f conftest.err conftest.$ac_objext \
43037 conftest$ac_exeext conftest.$ac_ext
43038 fi
43039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43040 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43041 if test `eval echo '${'$as_ac_var'}'` = yes; then
43042 cat >>confdefs.h <<_ACEOF
43043 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43044 _ACEOF
43045
43046 fi
43047 done
43048
43049 if test "$ac_cv_func_strptime" = "yes"; then
43050 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43051 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43052 if test "${wx_cv_func_strptime_decl+set}" = set; then
43053 echo $ECHO_N "(cached) $ECHO_C" >&6
43054 else
43055
43056 cat >conftest.$ac_ext <<_ACEOF
43057 /* confdefs.h. */
43058 _ACEOF
43059 cat confdefs.h >>conftest.$ac_ext
43060 cat >>conftest.$ac_ext <<_ACEOF
43061 /* end confdefs.h. */
43062
43063 #include <time.h>
43064
43065 int
43066 main ()
43067 {
43068
43069 struct tm t;
43070 strptime("foo", "bar", &t);
43071
43072 ;
43073 return 0;
43074 }
43075 _ACEOF
43076 rm -f conftest.$ac_objext
43077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43078 (eval $ac_compile) 2>conftest.er1
43079 ac_status=$?
43080 grep -v '^ *+' conftest.er1 >conftest.err
43081 rm -f conftest.er1
43082 cat conftest.err >&5
43083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43084 (exit $ac_status); } &&
43085 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43087 (eval $ac_try) 2>&5
43088 ac_status=$?
43089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43090 (exit $ac_status); }; } &&
43091 { ac_try='test -s conftest.$ac_objext'
43092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43093 (eval $ac_try) 2>&5
43094 ac_status=$?
43095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43096 (exit $ac_status); }; }; then
43097 wx_cv_func_strptime_decl=yes
43098 else
43099 echo "$as_me: failed program was:" >&5
43100 sed 's/^/| /' conftest.$ac_ext >&5
43101
43102 wx_cv_func_strptime_decl=no
43103
43104 fi
43105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43106
43107
43108 fi
43109 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43110 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43111 fi
43112 if test "$wx_cv_func_strptime_decl" = "yes"; then
43113 cat >>confdefs.h <<\_ACEOF
43114 #define HAVE_STRPTIME_DECL 1
43115 _ACEOF
43116
43117 fi
43118
43119 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43120 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43121 if test "${wx_cv_var_timezone+set}" = set; then
43122 echo $ECHO_N "(cached) $ECHO_C" >&6
43123 else
43124
43125 cat >conftest.$ac_ext <<_ACEOF
43126 /* confdefs.h. */
43127 _ACEOF
43128 cat confdefs.h >>conftest.$ac_ext
43129 cat >>conftest.$ac_ext <<_ACEOF
43130 /* end confdefs.h. */
43131
43132 #include <time.h>
43133
43134 int
43135 main ()
43136 {
43137
43138 int tz;
43139 tz = timezone;
43140
43141 ;
43142 return 0;
43143 }
43144 _ACEOF
43145 rm -f conftest.$ac_objext
43146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43147 (eval $ac_compile) 2>conftest.er1
43148 ac_status=$?
43149 grep -v '^ *+' conftest.er1 >conftest.err
43150 rm -f conftest.er1
43151 cat conftest.err >&5
43152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43153 (exit $ac_status); } &&
43154 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43156 (eval $ac_try) 2>&5
43157 ac_status=$?
43158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43159 (exit $ac_status); }; } &&
43160 { ac_try='test -s conftest.$ac_objext'
43161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43162 (eval $ac_try) 2>&5
43163 ac_status=$?
43164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43165 (exit $ac_status); }; }; then
43166
43167 wx_cv_var_timezone=timezone
43168
43169 else
43170 echo "$as_me: failed program was:" >&5
43171 sed 's/^/| /' conftest.$ac_ext >&5
43172
43173
43174 cat >conftest.$ac_ext <<_ACEOF
43175 /* confdefs.h. */
43176 _ACEOF
43177 cat confdefs.h >>conftest.$ac_ext
43178 cat >>conftest.$ac_ext <<_ACEOF
43179 /* end confdefs.h. */
43180
43181 #include <time.h>
43182
43183 int
43184 main ()
43185 {
43186
43187 int tz;
43188 tz = _timezone;
43189
43190 ;
43191 return 0;
43192 }
43193 _ACEOF
43194 rm -f conftest.$ac_objext
43195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43196 (eval $ac_compile) 2>conftest.er1
43197 ac_status=$?
43198 grep -v '^ *+' conftest.er1 >conftest.err
43199 rm -f conftest.er1
43200 cat conftest.err >&5
43201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43202 (exit $ac_status); } &&
43203 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43205 (eval $ac_try) 2>&5
43206 ac_status=$?
43207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43208 (exit $ac_status); }; } &&
43209 { ac_try='test -s conftest.$ac_objext'
43210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43211 (eval $ac_try) 2>&5
43212 ac_status=$?
43213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43214 (exit $ac_status); }; }; then
43215
43216 wx_cv_var_timezone=_timezone
43217
43218 else
43219 echo "$as_me: failed program was:" >&5
43220 sed 's/^/| /' conftest.$ac_ext >&5
43221
43222
43223 cat >conftest.$ac_ext <<_ACEOF
43224 /* confdefs.h. */
43225 _ACEOF
43226 cat confdefs.h >>conftest.$ac_ext
43227 cat >>conftest.$ac_ext <<_ACEOF
43228 /* end confdefs.h. */
43229
43230 #include <time.h>
43231
43232 int
43233 main ()
43234 {
43235
43236 int tz;
43237 tz = __timezone;
43238
43239 ;
43240 return 0;
43241 }
43242 _ACEOF
43243 rm -f conftest.$ac_objext
43244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43245 (eval $ac_compile) 2>conftest.er1
43246 ac_status=$?
43247 grep -v '^ *+' conftest.er1 >conftest.err
43248 rm -f conftest.er1
43249 cat conftest.err >&5
43250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43251 (exit $ac_status); } &&
43252 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43254 (eval $ac_try) 2>&5
43255 ac_status=$?
43256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43257 (exit $ac_status); }; } &&
43258 { ac_try='test -s conftest.$ac_objext'
43259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43260 (eval $ac_try) 2>&5
43261 ac_status=$?
43262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43263 (exit $ac_status); }; }; then
43264
43265 wx_cv_var_timezone=__timezone
43266
43267 else
43268 echo "$as_me: failed program was:" >&5
43269 sed 's/^/| /' conftest.$ac_ext >&5
43270
43271
43272 if test "$USE_DOS" = 0 ; then
43273 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43274 echo "$as_me: WARNING: no timezone variable" >&2;}
43275 fi
43276
43277
43278 fi
43279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43280
43281
43282 fi
43283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43284
43285
43286 fi
43287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43288
43289
43290 fi
43291 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43292 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43293
43294 if test "x$wx_cv_var_timezone" != x ; then
43295 cat >>confdefs.h <<_ACEOF
43296 #define WX_TIMEZONE $wx_cv_var_timezone
43297 _ACEOF
43298
43299 fi
43300
43301
43302 for ac_func in localtime
43303 do
43304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43305 echo "$as_me:$LINENO: checking for $ac_func" >&5
43306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43307 if eval "test \"\${$as_ac_var+set}\" = set"; then
43308 echo $ECHO_N "(cached) $ECHO_C" >&6
43309 else
43310 cat >conftest.$ac_ext <<_ACEOF
43311 /* confdefs.h. */
43312 _ACEOF
43313 cat confdefs.h >>conftest.$ac_ext
43314 cat >>conftest.$ac_ext <<_ACEOF
43315 /* end confdefs.h. */
43316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43318 #define $ac_func innocuous_$ac_func
43319
43320 /* System header to define __stub macros and hopefully few prototypes,
43321 which can conflict with char $ac_func (); below.
43322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43323 <limits.h> exists even on freestanding compilers. */
43324
43325 #ifdef __STDC__
43326 # include <limits.h>
43327 #else
43328 # include <assert.h>
43329 #endif
43330
43331 #undef $ac_func
43332
43333 /* Override any gcc2 internal prototype to avoid an error. */
43334 #ifdef __cplusplus
43335 extern "C"
43336 {
43337 #endif
43338 /* We use char because int might match the return type of a gcc2
43339 builtin and then its argument prototype would still apply. */
43340 char $ac_func ();
43341 /* The GNU C library defines this for functions which it implements
43342 to always fail with ENOSYS. Some functions are actually named
43343 something starting with __ and the normal name is an alias. */
43344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43345 choke me
43346 #else
43347 char (*f) () = $ac_func;
43348 #endif
43349 #ifdef __cplusplus
43350 }
43351 #endif
43352
43353 int
43354 main ()
43355 {
43356 return f != $ac_func;
43357 ;
43358 return 0;
43359 }
43360 _ACEOF
43361 rm -f conftest.$ac_objext conftest$ac_exeext
43362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43363 (eval $ac_link) 2>conftest.er1
43364 ac_status=$?
43365 grep -v '^ *+' conftest.er1 >conftest.err
43366 rm -f conftest.er1
43367 cat conftest.err >&5
43368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43369 (exit $ac_status); } &&
43370 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43372 (eval $ac_try) 2>&5
43373 ac_status=$?
43374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43375 (exit $ac_status); }; } &&
43376 { ac_try='test -s conftest$ac_exeext'
43377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43378 (eval $ac_try) 2>&5
43379 ac_status=$?
43380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43381 (exit $ac_status); }; }; then
43382 eval "$as_ac_var=yes"
43383 else
43384 echo "$as_me: failed program was:" >&5
43385 sed 's/^/| /' conftest.$ac_ext >&5
43386
43387 eval "$as_ac_var=no"
43388 fi
43389 rm -f conftest.err conftest.$ac_objext \
43390 conftest$ac_exeext conftest.$ac_ext
43391 fi
43392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43394 if test `eval echo '${'$as_ac_var'}'` = yes; then
43395 cat >>confdefs.h <<_ACEOF
43396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43397 _ACEOF
43398
43399 fi
43400 done
43401
43402
43403 if test "$ac_cv_func_localtime" = "yes"; then
43404 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43405 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43406 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43407 echo $ECHO_N "(cached) $ECHO_C" >&6
43408 else
43409
43410 cat >conftest.$ac_ext <<_ACEOF
43411 /* confdefs.h. */
43412 _ACEOF
43413 cat confdefs.h >>conftest.$ac_ext
43414 cat >>conftest.$ac_ext <<_ACEOF
43415 /* end confdefs.h. */
43416
43417 #include <time.h>
43418
43419 int
43420 main ()
43421 {
43422
43423 struct tm tm;
43424 tm.tm_gmtoff++;
43425
43426 ;
43427 return 0;
43428 }
43429 _ACEOF
43430 rm -f conftest.$ac_objext
43431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43432 (eval $ac_compile) 2>conftest.er1
43433 ac_status=$?
43434 grep -v '^ *+' conftest.er1 >conftest.err
43435 rm -f conftest.er1
43436 cat conftest.err >&5
43437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43438 (exit $ac_status); } &&
43439 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43441 (eval $ac_try) 2>&5
43442 ac_status=$?
43443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43444 (exit $ac_status); }; } &&
43445 { ac_try='test -s conftest.$ac_objext'
43446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43447 (eval $ac_try) 2>&5
43448 ac_status=$?
43449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43450 (exit $ac_status); }; }; then
43451
43452 wx_cv_struct_tm_has_gmtoff=yes
43453
43454 else
43455 echo "$as_me: failed program was:" >&5
43456 sed 's/^/| /' conftest.$ac_ext >&5
43457
43458 wx_cv_struct_tm_has_gmtoff=no
43459
43460 fi
43461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43462
43463 fi
43464 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43465 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43466 fi
43467
43468 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43469 cat >>confdefs.h <<\_ACEOF
43470 #define WX_GMTOFF_IN_TM 1
43471 _ACEOF
43472
43473 fi
43474
43475
43476
43477 for ac_func in gettimeofday ftime
43478 do
43479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43480 echo "$as_me:$LINENO: checking for $ac_func" >&5
43481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43482 if eval "test \"\${$as_ac_var+set}\" = set"; then
43483 echo $ECHO_N "(cached) $ECHO_C" >&6
43484 else
43485 cat >conftest.$ac_ext <<_ACEOF
43486 /* confdefs.h. */
43487 _ACEOF
43488 cat confdefs.h >>conftest.$ac_ext
43489 cat >>conftest.$ac_ext <<_ACEOF
43490 /* end confdefs.h. */
43491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43493 #define $ac_func innocuous_$ac_func
43494
43495 /* System header to define __stub macros and hopefully few prototypes,
43496 which can conflict with char $ac_func (); below.
43497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43498 <limits.h> exists even on freestanding compilers. */
43499
43500 #ifdef __STDC__
43501 # include <limits.h>
43502 #else
43503 # include <assert.h>
43504 #endif
43505
43506 #undef $ac_func
43507
43508 /* Override any gcc2 internal prototype to avoid an error. */
43509 #ifdef __cplusplus
43510 extern "C"
43511 {
43512 #endif
43513 /* We use char because int might match the return type of a gcc2
43514 builtin and then its argument prototype would still apply. */
43515 char $ac_func ();
43516 /* The GNU C library defines this for functions which it implements
43517 to always fail with ENOSYS. Some functions are actually named
43518 something starting with __ and the normal name is an alias. */
43519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43520 choke me
43521 #else
43522 char (*f) () = $ac_func;
43523 #endif
43524 #ifdef __cplusplus
43525 }
43526 #endif
43527
43528 int
43529 main ()
43530 {
43531 return f != $ac_func;
43532 ;
43533 return 0;
43534 }
43535 _ACEOF
43536 rm -f conftest.$ac_objext conftest$ac_exeext
43537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43538 (eval $ac_link) 2>conftest.er1
43539 ac_status=$?
43540 grep -v '^ *+' conftest.er1 >conftest.err
43541 rm -f conftest.er1
43542 cat conftest.err >&5
43543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43544 (exit $ac_status); } &&
43545 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43547 (eval $ac_try) 2>&5
43548 ac_status=$?
43549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43550 (exit $ac_status); }; } &&
43551 { ac_try='test -s conftest$ac_exeext'
43552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43553 (eval $ac_try) 2>&5
43554 ac_status=$?
43555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43556 (exit $ac_status); }; }; then
43557 eval "$as_ac_var=yes"
43558 else
43559 echo "$as_me: failed program was:" >&5
43560 sed 's/^/| /' conftest.$ac_ext >&5
43561
43562 eval "$as_ac_var=no"
43563 fi
43564 rm -f conftest.err conftest.$ac_objext \
43565 conftest$ac_exeext conftest.$ac_ext
43566 fi
43567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43569 if test `eval echo '${'$as_ac_var'}'` = yes; then
43570 cat >>confdefs.h <<_ACEOF
43571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43572 _ACEOF
43573 break
43574 fi
43575 done
43576
43577
43578 if test "$ac_cv_func_gettimeofday" = "yes"; then
43579 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43580 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43581 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43582 echo $ECHO_N "(cached) $ECHO_C" >&6
43583 else
43584
43585 cat >conftest.$ac_ext <<_ACEOF
43586 /* confdefs.h. */
43587 _ACEOF
43588 cat confdefs.h >>conftest.$ac_ext
43589 cat >>conftest.$ac_ext <<_ACEOF
43590 /* end confdefs.h. */
43591
43592 #include <sys/time.h>
43593 #include <unistd.h>
43594
43595 int
43596 main ()
43597 {
43598
43599 struct timeval tv;
43600 gettimeofday(&tv, NULL);
43601
43602 ;
43603 return 0;
43604 }
43605 _ACEOF
43606 rm -f conftest.$ac_objext
43607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43608 (eval $ac_compile) 2>conftest.er1
43609 ac_status=$?
43610 grep -v '^ *+' conftest.er1 >conftest.err
43611 rm -f conftest.er1
43612 cat conftest.err >&5
43613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43614 (exit $ac_status); } &&
43615 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43617 (eval $ac_try) 2>&5
43618 ac_status=$?
43619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43620 (exit $ac_status); }; } &&
43621 { ac_try='test -s conftest.$ac_objext'
43622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43623 (eval $ac_try) 2>&5
43624 ac_status=$?
43625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43626 (exit $ac_status); }; }; then
43627 wx_cv_func_gettimeofday_has_2_args=yes
43628 else
43629 echo "$as_me: failed program was:" >&5
43630 sed 's/^/| /' conftest.$ac_ext >&5
43631
43632 cat >conftest.$ac_ext <<_ACEOF
43633 /* confdefs.h. */
43634 _ACEOF
43635 cat confdefs.h >>conftest.$ac_ext
43636 cat >>conftest.$ac_ext <<_ACEOF
43637 /* end confdefs.h. */
43638
43639 #include <sys/time.h>
43640 #include <unistd.h>
43641
43642 int
43643 main ()
43644 {
43645
43646 struct timeval tv;
43647 gettimeofday(&tv);
43648
43649 ;
43650 return 0;
43651 }
43652 _ACEOF
43653 rm -f conftest.$ac_objext
43654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43655 (eval $ac_compile) 2>conftest.er1
43656 ac_status=$?
43657 grep -v '^ *+' conftest.er1 >conftest.err
43658 rm -f conftest.er1
43659 cat conftest.err >&5
43660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661 (exit $ac_status); } &&
43662 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43664 (eval $ac_try) 2>&5
43665 ac_status=$?
43666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43667 (exit $ac_status); }; } &&
43668 { ac_try='test -s conftest.$ac_objext'
43669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43670 (eval $ac_try) 2>&5
43671 ac_status=$?
43672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43673 (exit $ac_status); }; }; then
43674 wx_cv_func_gettimeofday_has_2_args=no
43675 else
43676 echo "$as_me: failed program was:" >&5
43677 sed 's/^/| /' conftest.$ac_ext >&5
43678
43679
43680 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43681 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43682 wx_cv_func_gettimeofday_has_2_args=unknown
43683
43684
43685 fi
43686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43687
43688 fi
43689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43690
43691 fi
43692 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43693 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43694
43695 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43696 cat >>confdefs.h <<\_ACEOF
43697 #define WX_GETTIMEOFDAY_NO_TZ 1
43698 _ACEOF
43699
43700 fi
43701 fi
43702
43703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43704 fi
43705
43706
43707 if test "$wxUSE_SOCKETS" = "yes"; then
43708 if test "$wxUSE_MGL" = "1"; then
43709 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43710 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43711 wxUSE_SOCKETS="no"
43712 fi
43713 fi
43714
43715 if test "$wxUSE_SOCKETS" = "yes"; then
43716 if test "$TOOLKIT" != "MSW"; then
43717 echo "$as_me:$LINENO: checking for socket" >&5
43718 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43719 if test "${ac_cv_func_socket+set}" = set; then
43720 echo $ECHO_N "(cached) $ECHO_C" >&6
43721 else
43722 cat >conftest.$ac_ext <<_ACEOF
43723 /* confdefs.h. */
43724 _ACEOF
43725 cat confdefs.h >>conftest.$ac_ext
43726 cat >>conftest.$ac_ext <<_ACEOF
43727 /* end confdefs.h. */
43728 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43730 #define socket innocuous_socket
43731
43732 /* System header to define __stub macros and hopefully few prototypes,
43733 which can conflict with char socket (); below.
43734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43735 <limits.h> exists even on freestanding compilers. */
43736
43737 #ifdef __STDC__
43738 # include <limits.h>
43739 #else
43740 # include <assert.h>
43741 #endif
43742
43743 #undef socket
43744
43745 /* Override any gcc2 internal prototype to avoid an error. */
43746 #ifdef __cplusplus
43747 extern "C"
43748 {
43749 #endif
43750 /* We use char because int might match the return type of a gcc2
43751 builtin and then its argument prototype would still apply. */
43752 char socket ();
43753 /* The GNU C library defines this for functions which it implements
43754 to always fail with ENOSYS. Some functions are actually named
43755 something starting with __ and the normal name is an alias. */
43756 #if defined (__stub_socket) || defined (__stub___socket)
43757 choke me
43758 #else
43759 char (*f) () = socket;
43760 #endif
43761 #ifdef __cplusplus
43762 }
43763 #endif
43764
43765 int
43766 main ()
43767 {
43768 return f != socket;
43769 ;
43770 return 0;
43771 }
43772 _ACEOF
43773 rm -f conftest.$ac_objext conftest$ac_exeext
43774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43775 (eval $ac_link) 2>conftest.er1
43776 ac_status=$?
43777 grep -v '^ *+' conftest.er1 >conftest.err
43778 rm -f conftest.er1
43779 cat conftest.err >&5
43780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43781 (exit $ac_status); } &&
43782 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43784 (eval $ac_try) 2>&5
43785 ac_status=$?
43786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43787 (exit $ac_status); }; } &&
43788 { ac_try='test -s conftest$ac_exeext'
43789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43790 (eval $ac_try) 2>&5
43791 ac_status=$?
43792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43793 (exit $ac_status); }; }; then
43794 ac_cv_func_socket=yes
43795 else
43796 echo "$as_me: failed program was:" >&5
43797 sed 's/^/| /' conftest.$ac_ext >&5
43798
43799 ac_cv_func_socket=no
43800 fi
43801 rm -f conftest.err conftest.$ac_objext \
43802 conftest$ac_exeext conftest.$ac_ext
43803 fi
43804 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43805 echo "${ECHO_T}$ac_cv_func_socket" >&6
43806 if test $ac_cv_func_socket = yes; then
43807 :
43808 else
43809
43810 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43811 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43812 if test "${ac_cv_lib_socket_socket+set}" = set; then
43813 echo $ECHO_N "(cached) $ECHO_C" >&6
43814 else
43815 ac_check_lib_save_LIBS=$LIBS
43816 LIBS="-lsocket $LIBS"
43817 cat >conftest.$ac_ext <<_ACEOF
43818 /* confdefs.h. */
43819 _ACEOF
43820 cat confdefs.h >>conftest.$ac_ext
43821 cat >>conftest.$ac_ext <<_ACEOF
43822 /* end confdefs.h. */
43823
43824 /* Override any gcc2 internal prototype to avoid an error. */
43825 #ifdef __cplusplus
43826 extern "C"
43827 #endif
43828 /* We use char because int might match the return type of a gcc2
43829 builtin and then its argument prototype would still apply. */
43830 char socket ();
43831 int
43832 main ()
43833 {
43834 socket ();
43835 ;
43836 return 0;
43837 }
43838 _ACEOF
43839 rm -f conftest.$ac_objext conftest$ac_exeext
43840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43841 (eval $ac_link) 2>conftest.er1
43842 ac_status=$?
43843 grep -v '^ *+' conftest.er1 >conftest.err
43844 rm -f conftest.er1
43845 cat conftest.err >&5
43846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43847 (exit $ac_status); } &&
43848 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43850 (eval $ac_try) 2>&5
43851 ac_status=$?
43852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43853 (exit $ac_status); }; } &&
43854 { ac_try='test -s conftest$ac_exeext'
43855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43856 (eval $ac_try) 2>&5
43857 ac_status=$?
43858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43859 (exit $ac_status); }; }; then
43860 ac_cv_lib_socket_socket=yes
43861 else
43862 echo "$as_me: failed program was:" >&5
43863 sed 's/^/| /' conftest.$ac_ext >&5
43864
43865 ac_cv_lib_socket_socket=no
43866 fi
43867 rm -f conftest.err conftest.$ac_objext \
43868 conftest$ac_exeext conftest.$ac_ext
43869 LIBS=$ac_check_lib_save_LIBS
43870 fi
43871 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43872 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43873 if test $ac_cv_lib_socket_socket = yes; then
43874 if test "$INET_LINK" != " -lsocket"; then
43875 INET_LINK="$INET_LINK -lsocket"
43876 fi
43877 else
43878
43879 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43880 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43881 wxUSE_SOCKETS=no
43882
43883
43884 fi
43885
43886
43887
43888 fi
43889
43890 fi
43891 fi
43892
43893 if test "$wxUSE_SOCKETS" = "yes" ; then
43894 if test "$TOOLKIT" != "MSW"; then
43895 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43896 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43897 if test "${wx_cv_type_getsockname3+set}" = set; then
43898 echo $ECHO_N "(cached) $ECHO_C" >&6
43899 else
43900
43901 cat >conftest.$ac_ext <<_ACEOF
43902 /* confdefs.h. */
43903 _ACEOF
43904 cat confdefs.h >>conftest.$ac_ext
43905 cat >>conftest.$ac_ext <<_ACEOF
43906 /* end confdefs.h. */
43907
43908 #include <sys/types.h>
43909 #include <sys/socket.h>
43910
43911 int
43912 main ()
43913 {
43914
43915 socklen_t len;
43916 getsockname(0, 0, &len);
43917
43918 ;
43919 return 0;
43920 }
43921 _ACEOF
43922 rm -f conftest.$ac_objext
43923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43924 (eval $ac_compile) 2>conftest.er1
43925 ac_status=$?
43926 grep -v '^ *+' conftest.er1 >conftest.err
43927 rm -f conftest.er1
43928 cat conftest.err >&5
43929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43930 (exit $ac_status); } &&
43931 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43933 (eval $ac_try) 2>&5
43934 ac_status=$?
43935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43936 (exit $ac_status); }; } &&
43937 { ac_try='test -s conftest.$ac_objext'
43938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43939 (eval $ac_try) 2>&5
43940 ac_status=$?
43941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43942 (exit $ac_status); }; }; then
43943 wx_cv_type_getsockname3=socklen_t
43944 else
43945 echo "$as_me: failed program was:" >&5
43946 sed 's/^/| /' conftest.$ac_ext >&5
43947
43948
43949 CXXFLAGS_OLD="$CXXFLAGS"
43950 if test "$GCC" = yes ; then
43951 CXXFLAGS="-Werror $CXXFLAGS"
43952 fi
43953
43954 cat >conftest.$ac_ext <<_ACEOF
43955 /* confdefs.h. */
43956 _ACEOF
43957 cat confdefs.h >>conftest.$ac_ext
43958 cat >>conftest.$ac_ext <<_ACEOF
43959 /* end confdefs.h. */
43960
43961 #include <sys/types.h>
43962 #include <sys/socket.h>
43963
43964 int
43965 main ()
43966 {
43967
43968 size_t len;
43969 getsockname(0, 0, &len);
43970
43971 ;
43972 return 0;
43973 }
43974 _ACEOF
43975 rm -f conftest.$ac_objext
43976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43977 (eval $ac_compile) 2>conftest.er1
43978 ac_status=$?
43979 grep -v '^ *+' conftest.er1 >conftest.err
43980 rm -f conftest.er1
43981 cat conftest.err >&5
43982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43983 (exit $ac_status); } &&
43984 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43986 (eval $ac_try) 2>&5
43987 ac_status=$?
43988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43989 (exit $ac_status); }; } &&
43990 { ac_try='test -s conftest.$ac_objext'
43991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43992 (eval $ac_try) 2>&5
43993 ac_status=$?
43994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43995 (exit $ac_status); }; }; then
43996 wx_cv_type_getsockname3=size_t
43997 else
43998 echo "$as_me: failed program was:" >&5
43999 sed 's/^/| /' conftest.$ac_ext >&5
44000
44001 cat >conftest.$ac_ext <<_ACEOF
44002 /* confdefs.h. */
44003 _ACEOF
44004 cat confdefs.h >>conftest.$ac_ext
44005 cat >>conftest.$ac_ext <<_ACEOF
44006 /* end confdefs.h. */
44007
44008 #include <sys/types.h>
44009 #include <sys/socket.h>
44010
44011 int
44012 main ()
44013 {
44014
44015 int len;
44016 getsockname(0, 0, &len);
44017
44018 ;
44019 return 0;
44020 }
44021 _ACEOF
44022 rm -f conftest.$ac_objext
44023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44024 (eval $ac_compile) 2>conftest.er1
44025 ac_status=$?
44026 grep -v '^ *+' conftest.er1 >conftest.err
44027 rm -f conftest.er1
44028 cat conftest.err >&5
44029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030 (exit $ac_status); } &&
44031 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44033 (eval $ac_try) 2>&5
44034 ac_status=$?
44035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44036 (exit $ac_status); }; } &&
44037 { ac_try='test -s conftest.$ac_objext'
44038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44039 (eval $ac_try) 2>&5
44040 ac_status=$?
44041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44042 (exit $ac_status); }; }; then
44043 wx_cv_type_getsockname3=int
44044 else
44045 echo "$as_me: failed program was:" >&5
44046 sed 's/^/| /' conftest.$ac_ext >&5
44047
44048 wx_cv_type_getsockname3=unknown
44049
44050 fi
44051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44052
44053 fi
44054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44055
44056 CXXFLAGS="$CXXFLAGS_OLD"
44057
44058
44059 fi
44060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44061
44062 fi
44063 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44064 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44065
44066 if test "$wx_cv_type_getsockname3" = "unknown"; then
44067 wxUSE_SOCKETS=no
44068 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44069 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44070 else
44071 cat >>confdefs.h <<_ACEOF
44072 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44073 _ACEOF
44074
44075 fi
44076 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44077 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44078 if test "${wx_cv_type_getsockopt5+set}" = set; then
44079 echo $ECHO_N "(cached) $ECHO_C" >&6
44080 else
44081
44082 cat >conftest.$ac_ext <<_ACEOF
44083 /* confdefs.h. */
44084 _ACEOF
44085 cat confdefs.h >>conftest.$ac_ext
44086 cat >>conftest.$ac_ext <<_ACEOF
44087 /* end confdefs.h. */
44088
44089 #include <sys/types.h>
44090 #include <sys/socket.h>
44091
44092 int
44093 main ()
44094 {
44095
44096 socklen_t len;
44097 getsockopt(0, 0, 0, 0, &len);
44098
44099 ;
44100 return 0;
44101 }
44102 _ACEOF
44103 rm -f conftest.$ac_objext
44104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44105 (eval $ac_compile) 2>conftest.er1
44106 ac_status=$?
44107 grep -v '^ *+' conftest.er1 >conftest.err
44108 rm -f conftest.er1
44109 cat conftest.err >&5
44110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44111 (exit $ac_status); } &&
44112 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44114 (eval $ac_try) 2>&5
44115 ac_status=$?
44116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44117 (exit $ac_status); }; } &&
44118 { ac_try='test -s conftest.$ac_objext'
44119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44120 (eval $ac_try) 2>&5
44121 ac_status=$?
44122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44123 (exit $ac_status); }; }; then
44124 wx_cv_type_getsockopt5=socklen_t
44125 else
44126 echo "$as_me: failed program was:" >&5
44127 sed 's/^/| /' conftest.$ac_ext >&5
44128
44129
44130 CXXFLAGS_OLD="$CXXFLAGS"
44131 if test "$GCC" = yes ; then
44132 CXXFLAGS="-Werror $CXXFLAGS"
44133 fi
44134
44135 cat >conftest.$ac_ext <<_ACEOF
44136 /* confdefs.h. */
44137 _ACEOF
44138 cat confdefs.h >>conftest.$ac_ext
44139 cat >>conftest.$ac_ext <<_ACEOF
44140 /* end confdefs.h. */
44141
44142 #include <sys/types.h>
44143 #include <sys/socket.h>
44144
44145 int
44146 main ()
44147 {
44148
44149 size_t len;
44150 getsockopt(0, 0, 0, 0, &len);
44151
44152 ;
44153 return 0;
44154 }
44155 _ACEOF
44156 rm -f conftest.$ac_objext
44157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44158 (eval $ac_compile) 2>conftest.er1
44159 ac_status=$?
44160 grep -v '^ *+' conftest.er1 >conftest.err
44161 rm -f conftest.er1
44162 cat conftest.err >&5
44163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44164 (exit $ac_status); } &&
44165 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44167 (eval $ac_try) 2>&5
44168 ac_status=$?
44169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44170 (exit $ac_status); }; } &&
44171 { ac_try='test -s conftest.$ac_objext'
44172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44173 (eval $ac_try) 2>&5
44174 ac_status=$?
44175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44176 (exit $ac_status); }; }; then
44177 wx_cv_type_getsockopt5=size_t
44178 else
44179 echo "$as_me: failed program was:" >&5
44180 sed 's/^/| /' conftest.$ac_ext >&5
44181
44182 cat >conftest.$ac_ext <<_ACEOF
44183 /* confdefs.h. */
44184 _ACEOF
44185 cat confdefs.h >>conftest.$ac_ext
44186 cat >>conftest.$ac_ext <<_ACEOF
44187 /* end confdefs.h. */
44188
44189 #include <sys/types.h>
44190 #include <sys/socket.h>
44191
44192 int
44193 main ()
44194 {
44195
44196 int len;
44197 getsockopt(0, 0, 0, 0, &len);
44198
44199 ;
44200 return 0;
44201 }
44202 _ACEOF
44203 rm -f conftest.$ac_objext
44204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44205 (eval $ac_compile) 2>conftest.er1
44206 ac_status=$?
44207 grep -v '^ *+' conftest.er1 >conftest.err
44208 rm -f conftest.er1
44209 cat conftest.err >&5
44210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44211 (exit $ac_status); } &&
44212 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44214 (eval $ac_try) 2>&5
44215 ac_status=$?
44216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44217 (exit $ac_status); }; } &&
44218 { ac_try='test -s conftest.$ac_objext'
44219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44220 (eval $ac_try) 2>&5
44221 ac_status=$?
44222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223 (exit $ac_status); }; }; then
44224 wx_cv_type_getsockopt5=int
44225 else
44226 echo "$as_me: failed program was:" >&5
44227 sed 's/^/| /' conftest.$ac_ext >&5
44228
44229 wx_cv_type_getsockopt5=unknown
44230
44231 fi
44232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44233
44234 fi
44235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44236
44237 CXXFLAGS="$CXXFLAGS_OLD"
44238
44239
44240 fi
44241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44242
44243 fi
44244 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44245 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44246
44247 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44248 wxUSE_SOCKETS=no
44249 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44250 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44251 else
44252 cat >>confdefs.h <<_ACEOF
44253 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44254 _ACEOF
44255
44256 fi
44257 fi
44258 fi
44259
44260 if test "$wxUSE_SOCKETS" = "yes" ; then
44261 cat >>confdefs.h <<\_ACEOF
44262 #define wxUSE_SOCKETS 1
44263 _ACEOF
44264
44265 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44266 fi
44267
44268 if test "$wxUSE_PROTOCOL" = "yes"; then
44269 if test "$wxUSE_SOCKETS" != "yes"; then
44270 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44271 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44272 wxUSE_PROTOCOL=no
44273 fi
44274 fi
44275
44276 if test "$wxUSE_PROTOCOL" = "yes"; then
44277 cat >>confdefs.h <<\_ACEOF
44278 #define wxUSE_PROTOCOL 1
44279 _ACEOF
44280
44281
44282 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44283 cat >>confdefs.h <<\_ACEOF
44284 #define wxUSE_PROTOCOL_HTTP 1
44285 _ACEOF
44286
44287 fi
44288 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44289 cat >>confdefs.h <<\_ACEOF
44290 #define wxUSE_PROTOCOL_FTP 1
44291 _ACEOF
44292
44293 fi
44294 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44295 cat >>confdefs.h <<\_ACEOF
44296 #define wxUSE_PROTOCOL_FILE 1
44297 _ACEOF
44298
44299 fi
44300 else
44301 if test "$wxUSE_FS_INET" = "yes"; then
44302 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44303 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44304 wxUSE_FS_INET="no"
44305 fi
44306 fi
44307
44308 if test "$wxUSE_URL" = "yes"; then
44309 if test "$wxUSE_PROTOCOL" != "yes"; then
44310 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44311 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44312 wxUSE_URL=no
44313 fi
44314 if test "$wxUSE_URL" = "yes"; then
44315 cat >>confdefs.h <<\_ACEOF
44316 #define wxUSE_URL 1
44317 _ACEOF
44318
44319 fi
44320 fi
44321
44322 if test "$wxUSE_VARIANT" = "yes"; then
44323 cat >>confdefs.h <<\_ACEOF
44324 #define wxUSE_VARIANT 1
44325 _ACEOF
44326
44327 fi
44328
44329 if test "$wxUSE_FS_INET" = "yes"; then
44330 cat >>confdefs.h <<\_ACEOF
44331 #define wxUSE_FS_INET 1
44332 _ACEOF
44333
44334 fi
44335
44336
44337 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44338 wxUSE_JOYSTICK=no
44339
44340 if test "$TOOLKIT" = "MSW"; then
44341 wxUSE_JOYSTICK=yes
44342
44343 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44344 if test "$USE_DARWIN" = 1; then
44345 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44346 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44347 cat >conftest.$ac_ext <<_ACEOF
44348 /* confdefs.h. */
44349 _ACEOF
44350 cat confdefs.h >>conftest.$ac_ext
44351 cat >>conftest.$ac_ext <<_ACEOF
44352 /* end confdefs.h. */
44353 #include <IOKit/hid/IOHIDLib.h>
44354 int
44355 main ()
44356 {
44357 IOHIDQueueInterface *qi = NULL;
44358 IOHIDCallbackFunction cb = NULL;
44359 qi->setEventCallout(NULL, cb, NULL, NULL);
44360 ;
44361 return 0;
44362 }
44363 _ACEOF
44364 rm -f conftest.$ac_objext
44365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44366 (eval $ac_compile) 2>conftest.er1
44367 ac_status=$?
44368 grep -v '^ *+' conftest.er1 >conftest.err
44369 rm -f conftest.er1
44370 cat conftest.err >&5
44371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44372 (exit $ac_status); } &&
44373 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44375 (eval $ac_try) 2>&5
44376 ac_status=$?
44377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44378 (exit $ac_status); }; } &&
44379 { ac_try='test -s conftest.$ac_objext'
44380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44381 (eval $ac_try) 2>&5
44382 ac_status=$?
44383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44384 (exit $ac_status); }; }; then
44385 wxUSE_JOYSTICK=yes
44386
44387 else
44388 echo "$as_me: failed program was:" >&5
44389 sed 's/^/| /' conftest.$ac_ext >&5
44390
44391 fi
44392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44393 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44394 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44395 fi
44396
44397 else
44398
44399 for ac_header in linux/joystick.h
44400 do
44401 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44402 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44403 echo "$as_me:$LINENO: checking for $ac_header" >&5
44404 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44406 echo $ECHO_N "(cached) $ECHO_C" >&6
44407 fi
44408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44410 else
44411 # Is the header compilable?
44412 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44413 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44414 cat >conftest.$ac_ext <<_ACEOF
44415 /* confdefs.h. */
44416 _ACEOF
44417 cat confdefs.h >>conftest.$ac_ext
44418 cat >>conftest.$ac_ext <<_ACEOF
44419 /* end confdefs.h. */
44420 $ac_includes_default
44421 #include <$ac_header>
44422 _ACEOF
44423 rm -f conftest.$ac_objext
44424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44425 (eval $ac_compile) 2>conftest.er1
44426 ac_status=$?
44427 grep -v '^ *+' conftest.er1 >conftest.err
44428 rm -f conftest.er1
44429 cat conftest.err >&5
44430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44431 (exit $ac_status); } &&
44432 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44434 (eval $ac_try) 2>&5
44435 ac_status=$?
44436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44437 (exit $ac_status); }; } &&
44438 { ac_try='test -s conftest.$ac_objext'
44439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44440 (eval $ac_try) 2>&5
44441 ac_status=$?
44442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44443 (exit $ac_status); }; }; then
44444 ac_header_compiler=yes
44445 else
44446 echo "$as_me: failed program was:" >&5
44447 sed 's/^/| /' conftest.$ac_ext >&5
44448
44449 ac_header_compiler=no
44450 fi
44451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44452 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44453 echo "${ECHO_T}$ac_header_compiler" >&6
44454
44455 # Is the header present?
44456 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44457 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44458 cat >conftest.$ac_ext <<_ACEOF
44459 /* confdefs.h. */
44460 _ACEOF
44461 cat confdefs.h >>conftest.$ac_ext
44462 cat >>conftest.$ac_ext <<_ACEOF
44463 /* end confdefs.h. */
44464 #include <$ac_header>
44465 _ACEOF
44466 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44467 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44468 ac_status=$?
44469 grep -v '^ *+' conftest.er1 >conftest.err
44470 rm -f conftest.er1
44471 cat conftest.err >&5
44472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44473 (exit $ac_status); } >/dev/null; then
44474 if test -s conftest.err; then
44475 ac_cpp_err=$ac_cxx_preproc_warn_flag
44476 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44477 else
44478 ac_cpp_err=
44479 fi
44480 else
44481 ac_cpp_err=yes
44482 fi
44483 if test -z "$ac_cpp_err"; then
44484 ac_header_preproc=yes
44485 else
44486 echo "$as_me: failed program was:" >&5
44487 sed 's/^/| /' conftest.$ac_ext >&5
44488
44489 ac_header_preproc=no
44490 fi
44491 rm -f conftest.err conftest.$ac_ext
44492 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44493 echo "${ECHO_T}$ac_header_preproc" >&6
44494
44495 # So? What about this header?
44496 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44497 yes:no: )
44498 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44499 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44500 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44501 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44502 ac_header_preproc=yes
44503 ;;
44504 no:yes:* )
44505 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44506 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44507 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44508 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44509 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44510 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44511 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44512 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44513 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44514 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44515 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44516 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44517 (
44518 cat <<\_ASBOX
44519 ## ----------------------------------------- ##
44520 ## Report this to wx-dev@lists.wxwidgets.org ##
44521 ## ----------------------------------------- ##
44522 _ASBOX
44523 ) |
44524 sed "s/^/$as_me: WARNING: /" >&2
44525 ;;
44526 esac
44527 echo "$as_me:$LINENO: checking for $ac_header" >&5
44528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44530 echo $ECHO_N "(cached) $ECHO_C" >&6
44531 else
44532 eval "$as_ac_Header=\$ac_header_preproc"
44533 fi
44534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44536
44537 fi
44538 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44539 cat >>confdefs.h <<_ACEOF
44540 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44541 _ACEOF
44542 wxUSE_JOYSTICK=yes
44543 fi
44544
44545 done
44546
44547 fi
44548
44549 if test "$wxUSE_JOYSTICK" = "yes"; then
44550 cat >>confdefs.h <<\_ACEOF
44551 #define wxUSE_JOYSTICK 1
44552 _ACEOF
44553
44554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44555 else
44556 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44557 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44558 fi
44559 fi
44560
44561
44562
44563 if test "$wxUSE_FONTMAP" = "yes" ; then
44564 cat >>confdefs.h <<\_ACEOF
44565 #define wxUSE_FONTMAP 1
44566 _ACEOF
44567
44568 fi
44569
44570 if test "$wxUSE_UNICODE" = "yes" ; then
44571 cat >>confdefs.h <<\_ACEOF
44572 #define wxUSE_UNICODE 1
44573 _ACEOF
44574
44575
44576 if test "$USE_WIN32" != 1; then
44577 wxUSE_UNICODE_MSLU=no
44578 fi
44579
44580 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44581 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44582 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44583 if test "${ac_cv_lib_unicows_main+set}" = set; then
44584 echo $ECHO_N "(cached) $ECHO_C" >&6
44585 else
44586 ac_check_lib_save_LIBS=$LIBS
44587 LIBS="-lunicows $LIBS"
44588 cat >conftest.$ac_ext <<_ACEOF
44589 /* confdefs.h. */
44590 _ACEOF
44591 cat confdefs.h >>conftest.$ac_ext
44592 cat >>conftest.$ac_ext <<_ACEOF
44593 /* end confdefs.h. */
44594
44595
44596 int
44597 main ()
44598 {
44599 main ();
44600 ;
44601 return 0;
44602 }
44603 _ACEOF
44604 rm -f conftest.$ac_objext conftest$ac_exeext
44605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44606 (eval $ac_link) 2>conftest.er1
44607 ac_status=$?
44608 grep -v '^ *+' conftest.er1 >conftest.err
44609 rm -f conftest.er1
44610 cat conftest.err >&5
44611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44612 (exit $ac_status); } &&
44613 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44615 (eval $ac_try) 2>&5
44616 ac_status=$?
44617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44618 (exit $ac_status); }; } &&
44619 { ac_try='test -s conftest$ac_exeext'
44620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44621 (eval $ac_try) 2>&5
44622 ac_status=$?
44623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44624 (exit $ac_status); }; }; then
44625 ac_cv_lib_unicows_main=yes
44626 else
44627 echo "$as_me: failed program was:" >&5
44628 sed 's/^/| /' conftest.$ac_ext >&5
44629
44630 ac_cv_lib_unicows_main=no
44631 fi
44632 rm -f conftest.err conftest.$ac_objext \
44633 conftest$ac_exeext conftest.$ac_ext
44634 LIBS=$ac_check_lib_save_LIBS
44635 fi
44636 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44637 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44638 if test $ac_cv_lib_unicows_main = yes; then
44639
44640 cat >>confdefs.h <<\_ACEOF
44641 #define wxUSE_UNICODE_MSLU 1
44642 _ACEOF
44643
44644
44645 else
44646
44647 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44648 Applications will only run on Windows NT/2000/XP!" >&5
44649 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44650 Applications will only run on Windows NT/2000/XP!" >&2;}
44651 wxUSE_UNICODE_MSLU=no
44652
44653 fi
44654
44655 fi
44656 fi
44657
44658 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44659 cat >>confdefs.h <<\_ACEOF
44660 #define wxUSE_EXPERIMENTAL_PRINTF 1
44661 _ACEOF
44662
44663 fi
44664
44665
44666 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44667 cat >>confdefs.h <<\_ACEOF
44668 #define wxUSE_POSTSCRIPT 1
44669 _ACEOF
44670
44671 fi
44672
44673 cat >>confdefs.h <<\_ACEOF
44674 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44675 _ACEOF
44676
44677
44678 cat >>confdefs.h <<\_ACEOF
44679 #define wxUSE_NORMALIZED_PS_FONTS 1
44680 _ACEOF
44681
44682
44683
44684 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44685 cat >>confdefs.h <<\_ACEOF
44686 #define wxUSE_CONSTRAINTS 1
44687 _ACEOF
44688
44689 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44690 fi
44691
44692 if test "$wxUSE_MDI" = "yes"; then
44693 cat >>confdefs.h <<\_ACEOF
44694 #define wxUSE_MDI 1
44695 _ACEOF
44696
44697
44698 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44699 cat >>confdefs.h <<\_ACEOF
44700 #define wxUSE_MDI_ARCHITECTURE 1
44701 _ACEOF
44702
44703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44704 fi
44705 fi
44706
44707 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44708 cat >>confdefs.h <<\_ACEOF
44709 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44710 _ACEOF
44711
44712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44713 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44715 fi
44716 fi
44717
44718 if test "$wxUSE_HELP" = "yes"; then
44719 cat >>confdefs.h <<\_ACEOF
44720 #define wxUSE_HELP 1
44721 _ACEOF
44722
44723 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44724
44725 if test "$wxUSE_MSW" = 1; then
44726 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44727 cat >>confdefs.h <<\_ACEOF
44728 #define wxUSE_MS_HTML_HELP 1
44729 _ACEOF
44730
44731 fi
44732 fi
44733
44734 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44735 if test "$wxUSE_HTML" = "yes"; then
44736 cat >>confdefs.h <<\_ACEOF
44737 #define wxUSE_WXHTML_HELP 1
44738 _ACEOF
44739
44740 else
44741 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44742 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44743 wxUSE_WXHTML_HELP=no
44744 fi
44745 fi
44746 fi
44747
44748 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44749 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44750 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44751 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44752 else
44753 cat >>confdefs.h <<\_ACEOF
44754 #define wxUSE_PRINTING_ARCHITECTURE 1
44755 _ACEOF
44756
44757 fi
44758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44759 fi
44760
44761 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
44762 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
44763 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
44764 { (exit 1); exit 1; }; }
44765 fi
44766
44767
44768 if test "$wxUSE_METAFILE" = "yes"; then
44769 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44770 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44771 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44772 wxUSE_METAFILE=no
44773 fi
44774 fi
44775
44776
44777 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44778 -o "$wxUSE_CLIPBOARD" = "yes" \
44779 -o "$wxUSE_OLE" = "yes" \
44780 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44781
44782 for ac_header in ole2.h
44783 do
44784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44786 echo "$as_me:$LINENO: checking for $ac_header" >&5
44787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44789 echo $ECHO_N "(cached) $ECHO_C" >&6
44790 fi
44791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44793 else
44794 # Is the header compilable?
44795 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44797 cat >conftest.$ac_ext <<_ACEOF
44798 /* confdefs.h. */
44799 _ACEOF
44800 cat confdefs.h >>conftest.$ac_ext
44801 cat >>conftest.$ac_ext <<_ACEOF
44802 /* end confdefs.h. */
44803 $ac_includes_default
44804 #include <$ac_header>
44805 _ACEOF
44806 rm -f conftest.$ac_objext
44807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44808 (eval $ac_compile) 2>conftest.er1
44809 ac_status=$?
44810 grep -v '^ *+' conftest.er1 >conftest.err
44811 rm -f conftest.er1
44812 cat conftest.err >&5
44813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44814 (exit $ac_status); } &&
44815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44817 (eval $ac_try) 2>&5
44818 ac_status=$?
44819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44820 (exit $ac_status); }; } &&
44821 { ac_try='test -s conftest.$ac_objext'
44822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44823 (eval $ac_try) 2>&5
44824 ac_status=$?
44825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44826 (exit $ac_status); }; }; then
44827 ac_header_compiler=yes
44828 else
44829 echo "$as_me: failed program was:" >&5
44830 sed 's/^/| /' conftest.$ac_ext >&5
44831
44832 ac_header_compiler=no
44833 fi
44834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44835 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44836 echo "${ECHO_T}$ac_header_compiler" >&6
44837
44838 # Is the header present?
44839 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44840 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44841 cat >conftest.$ac_ext <<_ACEOF
44842 /* confdefs.h. */
44843 _ACEOF
44844 cat confdefs.h >>conftest.$ac_ext
44845 cat >>conftest.$ac_ext <<_ACEOF
44846 /* end confdefs.h. */
44847 #include <$ac_header>
44848 _ACEOF
44849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44850 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44851 ac_status=$?
44852 grep -v '^ *+' conftest.er1 >conftest.err
44853 rm -f conftest.er1
44854 cat conftest.err >&5
44855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44856 (exit $ac_status); } >/dev/null; then
44857 if test -s conftest.err; then
44858 ac_cpp_err=$ac_cxx_preproc_warn_flag
44859 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44860 else
44861 ac_cpp_err=
44862 fi
44863 else
44864 ac_cpp_err=yes
44865 fi
44866 if test -z "$ac_cpp_err"; then
44867 ac_header_preproc=yes
44868 else
44869 echo "$as_me: failed program was:" >&5
44870 sed 's/^/| /' conftest.$ac_ext >&5
44871
44872 ac_header_preproc=no
44873 fi
44874 rm -f conftest.err conftest.$ac_ext
44875 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44876 echo "${ECHO_T}$ac_header_preproc" >&6
44877
44878 # So? What about this header?
44879 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44880 yes:no: )
44881 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44882 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44884 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44885 ac_header_preproc=yes
44886 ;;
44887 no:yes:* )
44888 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44889 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44890 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44891 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44892 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44893 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44894 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44895 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44897 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44898 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44899 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44900 (
44901 cat <<\_ASBOX
44902 ## ----------------------------------------- ##
44903 ## Report this to wx-dev@lists.wxwidgets.org ##
44904 ## ----------------------------------------- ##
44905 _ASBOX
44906 ) |
44907 sed "s/^/$as_me: WARNING: /" >&2
44908 ;;
44909 esac
44910 echo "$as_me:$LINENO: checking for $ac_header" >&5
44911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44913 echo $ECHO_N "(cached) $ECHO_C" >&6
44914 else
44915 eval "$as_ac_Header=\$ac_header_preproc"
44916 fi
44917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44919
44920 fi
44921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44922 cat >>confdefs.h <<_ACEOF
44923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44924 _ACEOF
44925
44926 fi
44927
44928 done
44929
44930
44931 if test "$ac_cv_header_ole2_h" = "yes" ; then
44932 if test "$GCC" = yes ; then
44933 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44934 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44935 cat >conftest.$ac_ext <<_ACEOF
44936 /* confdefs.h. */
44937 _ACEOF
44938 cat confdefs.h >>conftest.$ac_ext
44939 cat >>conftest.$ac_ext <<_ACEOF
44940 /* end confdefs.h. */
44941 #include <windows.h>
44942 #include <ole2.h>
44943 int
44944 main ()
44945 {
44946
44947 ;
44948 return 0;
44949 }
44950 _ACEOF
44951 rm -f conftest.$ac_objext
44952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44953 (eval $ac_compile) 2>conftest.er1
44954 ac_status=$?
44955 grep -v '^ *+' conftest.er1 >conftest.err
44956 rm -f conftest.er1
44957 cat conftest.err >&5
44958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44959 (exit $ac_status); } &&
44960 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44962 (eval $ac_try) 2>&5
44963 ac_status=$?
44964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44965 (exit $ac_status); }; } &&
44966 { ac_try='test -s conftest.$ac_objext'
44967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44968 (eval $ac_try) 2>&5
44969 ac_status=$?
44970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44971 (exit $ac_status); }; }; then
44972 echo "$as_me:$LINENO: result: no" >&5
44973 echo "${ECHO_T}no" >&6
44974 else
44975 echo "$as_me: failed program was:" >&5
44976 sed 's/^/| /' conftest.$ac_ext >&5
44977
44978 echo "$as_me:$LINENO: result: yes" >&5
44979 echo "${ECHO_T}yes" >&6
44980 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44981 fi
44982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44983 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44984 if test "$wxUSE_OLE" = "yes" ; then
44985 cat >>confdefs.h <<\_ACEOF
44986 #define wxUSE_OLE 1
44987 _ACEOF
44988
44989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44990 fi
44991 fi
44992
44993 if test "$wxUSE_DATAOBJ" = "yes" ; then
44994 cat >>confdefs.h <<\_ACEOF
44995 #define wxUSE_DATAOBJ 1
44996 _ACEOF
44997
44998 fi
44999 else
45000 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45001 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45002
45003 wxUSE_CLIPBOARD=no
45004 wxUSE_DRAG_AND_DROP=no
45005 wxUSE_DATAOBJ=no
45006 wxUSE_OLE=no
45007 fi
45008
45009 if test "$wxUSE_METAFILE" = "yes"; then
45010 cat >>confdefs.h <<\_ACEOF
45011 #define wxUSE_METAFILE 1
45012 _ACEOF
45013
45014
45015 cat >>confdefs.h <<\_ACEOF
45016 #define wxUSE_ENH_METAFILE 1
45017 _ACEOF
45018
45019 fi
45020 fi
45021
45022 if test "$wxUSE_IPC" = "yes"; then
45023 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45024 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45025 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45026 wxUSE_IPC=no
45027 fi
45028
45029 if test "$wxUSE_IPC" = "yes"; then
45030 cat >>confdefs.h <<\_ACEOF
45031 #define wxUSE_IPC 1
45032 _ACEOF
45033
45034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45035 fi
45036 fi
45037
45038 if test "$wxUSE_DATAOBJ" = "yes"; then
45039 if test "$wxUSE_MGL" = 1; then
45040 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45041 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45042 wxUSE_DATAOBJ=no
45043 else
45044 cat >>confdefs.h <<\_ACEOF
45045 #define wxUSE_DATAOBJ 1
45046 _ACEOF
45047
45048 fi
45049 else
45050 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45051 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45052 wxUSE_CLIPBOARD=no
45053 wxUSE_DRAG_AND_DROP=no
45054 fi
45055
45056 if test "$wxUSE_CLIPBOARD" = "yes"; then
45057 if test "$wxUSE_MGL" = 1; then
45058 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45059 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45060 wxUSE_CLIPBOARD=no
45061 fi
45062
45063 if test "$wxUSE_CLIPBOARD" = "yes"; then
45064 cat >>confdefs.h <<\_ACEOF
45065 #define wxUSE_CLIPBOARD 1
45066 _ACEOF
45067
45068 fi
45069 fi
45070
45071 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45072 if test "$wxUSE_GTK" = 1; then
45073 if test "$WXGTK12" != 1; then
45074 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45075 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45076 wxUSE_DRAG_AND_DROP=no
45077 fi
45078 fi
45079
45080 if test "$wxUSE_MOTIF" = 1; then
45081 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45082 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45083 wxUSE_DRAG_AND_DROP=no
45084 fi
45085
45086 if test "$wxUSE_X11" = 1; then
45087 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45088 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45089 wxUSE_DRAG_AND_DROP=no
45090 fi
45091
45092 if test "$wxUSE_MGL" = 1; then
45093 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45094 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45095 wxUSE_DRAG_AND_DROP=no
45096 fi
45097
45098 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45099 cat >>confdefs.h <<\_ACEOF
45100 #define wxUSE_DRAG_AND_DROP 1
45101 _ACEOF
45102
45103 fi
45104
45105 fi
45106
45107 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45108 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45109 fi
45110
45111 if test "$wxUSE_SPLINES" = "yes" ; then
45112 cat >>confdefs.h <<\_ACEOF
45113 #define wxUSE_SPLINES 1
45114 _ACEOF
45115
45116 fi
45117
45118 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45119 cat >>confdefs.h <<\_ACEOF
45120 #define wxUSE_MOUSEWHEEL 1
45121 _ACEOF
45122
45123 fi
45124
45125
45126 USES_CONTROLS=0
45127 if test "$wxUSE_CONTROLS" = "yes"; then
45128 USES_CONTROLS=1
45129 fi
45130
45131 if test "$wxUSE_ACCEL" = "yes"; then
45132 cat >>confdefs.h <<\_ACEOF
45133 #define wxUSE_ACCEL 1
45134 _ACEOF
45135
45136 USES_CONTROLS=1
45137 fi
45138
45139 if test "$wxUSE_BUTTON" = "yes"; then
45140 cat >>confdefs.h <<\_ACEOF
45141 #define wxUSE_BUTTON 1
45142 _ACEOF
45143
45144 USES_CONTROLS=1
45145 fi
45146
45147 if test "$wxUSE_BMPBUTTON" = "yes"; then
45148 cat >>confdefs.h <<\_ACEOF
45149 #define wxUSE_BMPBUTTON 1
45150 _ACEOF
45151
45152 USES_CONTROLS=1
45153 fi
45154
45155 if test "$wxUSE_CALCTRL" = "yes"; then
45156 cat >>confdefs.h <<\_ACEOF
45157 #define wxUSE_CALENDARCTRL 1
45158 _ACEOF
45159
45160 USES_CONTROLS=1
45161 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45162 fi
45163
45164 if test "$wxUSE_CARET" = "yes"; then
45165 cat >>confdefs.h <<\_ACEOF
45166 #define wxUSE_CARET 1
45167 _ACEOF
45168
45169 USES_CONTROLS=1
45170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45171 fi
45172
45173 if test "$wxUSE_COMBOBOX" = "yes"; then
45174 cat >>confdefs.h <<\_ACEOF
45175 #define wxUSE_COMBOBOX 1
45176 _ACEOF
45177
45178 USES_CONTROLS=1
45179 fi
45180
45181 if test "$wxUSE_COMBOCTRL" = "yes"; then
45182 cat >>confdefs.h <<\_ACEOF
45183 #define wxUSE_COMBOCTRL 1
45184 _ACEOF
45185
45186 USES_CONTROLS=1
45187 fi
45188
45189 if test "$wxUSE_CHOICE" = "yes"; then
45190 cat >>confdefs.h <<\_ACEOF
45191 #define wxUSE_CHOICE 1
45192 _ACEOF
45193
45194 USES_CONTROLS=1
45195 fi
45196
45197 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45198 cat >>confdefs.h <<\_ACEOF
45199 #define wxUSE_CHOICEBOOK 1
45200 _ACEOF
45201
45202 USES_CONTROLS=1
45203 fi
45204
45205 if test "$wxUSE_CHECKBOX" = "yes"; then
45206 cat >>confdefs.h <<\_ACEOF
45207 #define wxUSE_CHECKBOX 1
45208 _ACEOF
45209
45210 USES_CONTROLS=1
45211 fi
45212
45213 if test "$wxUSE_CHECKLST" = "yes"; then
45214 cat >>confdefs.h <<\_ACEOF
45215 #define wxUSE_CHECKLISTBOX 1
45216 _ACEOF
45217
45218 USES_CONTROLS=1
45219 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45220 fi
45221
45222 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45223 cat >>confdefs.h <<\_ACEOF
45224 #define wxUSE_COLOURPICKERCTRL 1
45225 _ACEOF
45226
45227 USES_CONTROLS=1
45228 fi
45229
45230 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45231 cat >>confdefs.h <<\_ACEOF
45232 #define wxUSE_DATEPICKCTRL 1
45233 _ACEOF
45234
45235 USES_CONTROLS=1
45236 fi
45237
45238 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45239 cat >>confdefs.h <<\_ACEOF
45240 #define wxUSE_DIRPICKERCTRL 1
45241 _ACEOF
45242
45243 USES_CONTROLS=1
45244 fi
45245
45246 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45247 cat >>confdefs.h <<\_ACEOF
45248 #define wxUSE_FILEPICKERCTRL 1
45249 _ACEOF
45250
45251 USES_CONTROLS=1
45252 fi
45253
45254 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45255 cat >>confdefs.h <<\_ACEOF
45256 #define wxUSE_FONTPICKERCTRL 1
45257 _ACEOF
45258
45259 USES_CONTROLS=1
45260 fi
45261
45262 if test "$wxUSE_DISPLAY" = "yes"; then
45263 cat >>confdefs.h <<\_ACEOF
45264 #define wxUSE_DISPLAY 1
45265 _ACEOF
45266
45267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45268 fi
45269
45270 if test "$wxUSE_GAUGE" = "yes"; then
45271 cat >>confdefs.h <<\_ACEOF
45272 #define wxUSE_GAUGE 1
45273 _ACEOF
45274
45275 USES_CONTROLS=1
45276 fi
45277
45278 if test "$wxUSE_GRID" = "yes"; then
45279 cat >>confdefs.h <<\_ACEOF
45280 #define wxUSE_GRID 1
45281 _ACEOF
45282
45283 USES_CONTROLS=1
45284 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45285 fi
45286
45287 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45288 cat >>confdefs.h <<\_ACEOF
45289 #define wxUSE_HYPERLINKCTRL 1
45290 _ACEOF
45291
45292 USES_CONTROLS=1
45293 fi
45294
45295 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45296 cat >>confdefs.h <<\_ACEOF
45297 #define wxUSE_BITMAPCOMBOBOX 1
45298 _ACEOF
45299
45300 USES_CONTROLS=1
45301 fi
45302
45303 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45304 cat >>confdefs.h <<\_ACEOF
45305 #define wxUSE_DATAVIEWCTRL 1
45306 _ACEOF
45307
45308 USES_CONTROLS=1
45309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45310 fi
45311
45312 if test "$wxUSE_IMAGLIST" = "yes"; then
45313 cat >>confdefs.h <<\_ACEOF
45314 #define wxUSE_IMAGLIST 1
45315 _ACEOF
45316
45317 fi
45318
45319 if test "$wxUSE_LISTBOOK" = "yes"; then
45320 cat >>confdefs.h <<\_ACEOF
45321 #define wxUSE_LISTBOOK 1
45322 _ACEOF
45323
45324 USES_CONTROLS=1
45325 fi
45326
45327 if test "$wxUSE_LISTBOX" = "yes"; then
45328 cat >>confdefs.h <<\_ACEOF
45329 #define wxUSE_LISTBOX 1
45330 _ACEOF
45331
45332 USES_CONTROLS=1
45333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45334 fi
45335
45336 if test "$wxUSE_LISTCTRL" = "yes"; then
45337 if test "$wxUSE_IMAGLIST" = "yes"; then
45338 cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_LISTCTRL 1
45340 _ACEOF
45341
45342 USES_CONTROLS=1
45343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45344 else
45345 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45346 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45347 fi
45348 fi
45349
45350 if test "$wxUSE_NOTEBOOK" = "yes"; then
45351 cat >>confdefs.h <<\_ACEOF
45352 #define wxUSE_NOTEBOOK 1
45353 _ACEOF
45354
45355 USES_CONTROLS=1
45356 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45357 fi
45358
45359 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45360 cat >>confdefs.h <<\_ACEOF
45361 #define wxUSE_ODCOMBOBOX 1
45362 _ACEOF
45363
45364 USES_CONTROLS=1
45365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45366 fi
45367
45368
45369 if test "$wxUSE_RADIOBOX" = "yes"; then
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_RADIOBOX 1
45372 _ACEOF
45373
45374 USES_CONTROLS=1
45375 fi
45376
45377 if test "$wxUSE_RADIOBTN" = "yes"; then
45378 cat >>confdefs.h <<\_ACEOF
45379 #define wxUSE_RADIOBTN 1
45380 _ACEOF
45381
45382 USES_CONTROLS=1
45383 fi
45384
45385 if test "$wxUSE_SASH" = "yes"; then
45386 cat >>confdefs.h <<\_ACEOF
45387 #define wxUSE_SASH 1
45388 _ACEOF
45389
45390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45391 fi
45392
45393 if test "$wxUSE_SCROLLBAR" = "yes"; then
45394 cat >>confdefs.h <<\_ACEOF
45395 #define wxUSE_SCROLLBAR 1
45396 _ACEOF
45397
45398 USES_CONTROLS=1
45399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45400 fi
45401
45402 if test "$wxUSE_SLIDER" = "yes"; then
45403 cat >>confdefs.h <<\_ACEOF
45404 #define wxUSE_SLIDER 1
45405 _ACEOF
45406
45407 USES_CONTROLS=1
45408 fi
45409
45410 if test "$wxUSE_SPINBTN" = "yes"; then
45411 cat >>confdefs.h <<\_ACEOF
45412 #define wxUSE_SPINBTN 1
45413 _ACEOF
45414
45415 USES_CONTROLS=1
45416 fi
45417
45418 if test "$wxUSE_SPINCTRL" = "yes"; then
45419 cat >>confdefs.h <<\_ACEOF
45420 #define wxUSE_SPINCTRL 1
45421 _ACEOF
45422
45423 USES_CONTROLS=1
45424 fi
45425
45426 if test "$wxUSE_SPLITTER" = "yes"; then
45427 cat >>confdefs.h <<\_ACEOF
45428 #define wxUSE_SPLITTER 1
45429 _ACEOF
45430
45431 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45432 fi
45433
45434 if test "$wxUSE_STATBMP" = "yes"; then
45435 cat >>confdefs.h <<\_ACEOF
45436 #define wxUSE_STATBMP 1
45437 _ACEOF
45438
45439 USES_CONTROLS=1
45440 fi
45441
45442 if test "$wxUSE_STATBOX" = "yes"; then
45443 cat >>confdefs.h <<\_ACEOF
45444 #define wxUSE_STATBOX 1
45445 _ACEOF
45446
45447 USES_CONTROLS=1
45448 fi
45449
45450 if test "$wxUSE_STATTEXT" = "yes"; then
45451 cat >>confdefs.h <<\_ACEOF
45452 #define wxUSE_STATTEXT 1
45453 _ACEOF
45454
45455 USES_CONTROLS=1
45456 fi
45457
45458 if test "$wxUSE_STATLINE" = "yes"; then
45459 cat >>confdefs.h <<\_ACEOF
45460 #define wxUSE_STATLINE 1
45461 _ACEOF
45462
45463 USES_CONTROLS=1
45464 fi
45465
45466 if test "$wxUSE_STATUSBAR" = "yes"; then
45467 cat >>confdefs.h <<\_ACEOF
45468 #define wxUSE_NATIVE_STATUSBAR 1
45469 _ACEOF
45470
45471 cat >>confdefs.h <<\_ACEOF
45472 #define wxUSE_STATUSBAR 1
45473 _ACEOF
45474
45475 USES_CONTROLS=1
45476
45477 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45478 fi
45479
45480 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45481 cat >>confdefs.h <<\_ACEOF
45482 #define wxUSE_TAB_DIALOG 1
45483 _ACEOF
45484
45485 fi
45486
45487 if test "$wxUSE_TEXTCTRL" = "yes"; then
45488 cat >>confdefs.h <<\_ACEOF
45489 #define wxUSE_TEXTCTRL 1
45490 _ACEOF
45491
45492 USES_CONTROLS=1
45493 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45494 fi
45495
45496 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45497 if test "$wxUSE_COCOA" = 1 ; then
45498 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45499 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45500 wxUSE_TOGGLEBTN=no
45501 fi
45502
45503 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45504 cat >>confdefs.h <<\_ACEOF
45505 #define wxUSE_TOGGLEBTN 1
45506 _ACEOF
45507
45508 USES_CONTROLS=1
45509 fi
45510 fi
45511
45512 if test "$wxUSE_TOOLBAR" = "yes"; then
45513 cat >>confdefs.h <<\_ACEOF
45514 #define wxUSE_TOOLBAR 1
45515 _ACEOF
45516
45517 USES_CONTROLS=1
45518
45519 if test "$wxUSE_UNIVERSAL" = "yes"; then
45520 wxUSE_TOOLBAR_NATIVE="no"
45521 else
45522 wxUSE_TOOLBAR_NATIVE="yes"
45523 cat >>confdefs.h <<\_ACEOF
45524 #define wxUSE_TOOLBAR_NATIVE 1
45525 _ACEOF
45526
45527 fi
45528
45529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45530 fi
45531
45532 if test "$wxUSE_TOOLTIPS" = "yes"; then
45533 if test "$wxUSE_MOTIF" = 1; then
45534 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45535 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45536 else
45537 if test "$wxUSE_UNIVERSAL" = "yes"; then
45538 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45539 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45540 else
45541 cat >>confdefs.h <<\_ACEOF
45542 #define wxUSE_TOOLTIPS 1
45543 _ACEOF
45544
45545 fi
45546 fi
45547 fi
45548
45549 if test "$wxUSE_TREEBOOK" = "yes"; then
45550 cat >>confdefs.h <<\_ACEOF
45551 #define wxUSE_TREEBOOK 1
45552 _ACEOF
45553
45554 USES_CONTROLS=1
45555 fi
45556
45557 if test "$wxUSE_TOOLBOOK" = "yes"; then
45558 cat >>confdefs.h <<\_ACEOF
45559 #define wxUSE_TOOLBOOK 1
45560 _ACEOF
45561
45562 USES_CONTROLS=1
45563 fi
45564
45565 if test "$wxUSE_TREECTRL" = "yes"; then
45566 if test "$wxUSE_IMAGLIST" = "yes"; then
45567 cat >>confdefs.h <<\_ACEOF
45568 #define wxUSE_TREECTRL 1
45569 _ACEOF
45570
45571 USES_CONTROLS=1
45572 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45573 else
45574 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45575 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45576 fi
45577 fi
45578
45579 if test "$wxUSE_POPUPWIN" = "yes"; then
45580 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45581 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45582 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45583 else
45584 if test "$wxUSE_PM" = 1; then
45585 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45586 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45587 else
45588 cat >>confdefs.h <<\_ACEOF
45589 #define wxUSE_POPUPWIN 1
45590 _ACEOF
45591
45592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45593
45594 USES_CONTROLS=1
45595 fi
45596 fi
45597 fi
45598
45599 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45600 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45601 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45602 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45603 else
45604 cat >>confdefs.h <<\_ACEOF
45605 #define wxUSE_DIALUP_MANAGER 1
45606 _ACEOF
45607
45608 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45609 fi
45610 fi
45611
45612 if test "$wxUSE_TIPWINDOW" = "yes"; then
45613 if test "$wxUSE_PM" = 1; then
45614 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45615 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45616 else
45617 cat >>confdefs.h <<\_ACEOF
45618 #define wxUSE_TIPWINDOW 1
45619 _ACEOF
45620
45621 fi
45622 fi
45623
45624 if test "$USES_CONTROLS" = 1; then
45625 cat >>confdefs.h <<\_ACEOF
45626 #define wxUSE_CONTROLS 1
45627 _ACEOF
45628
45629 fi
45630
45631
45632 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45633 cat >>confdefs.h <<\_ACEOF
45634 #define wxUSE_ACCESSIBILITY 1
45635 _ACEOF
45636
45637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45638 fi
45639
45640 if test "$wxUSE_DC_CACHEING" = "yes"; then
45641 cat >>confdefs.h <<\_ACEOF
45642 #define wxUSE_DC_CACHEING 1
45643 _ACEOF
45644
45645 fi
45646
45647 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45648 cat >>confdefs.h <<\_ACEOF
45649 #define wxUSE_DRAGIMAGE 1
45650 _ACEOF
45651
45652 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45653 fi
45654
45655 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45656 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45657 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45658 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45659 else
45660 cat >>confdefs.h <<\_ACEOF
45661 #define wxUSE_EXCEPTIONS 1
45662 _ACEOF
45663
45664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45665 fi
45666 fi
45667
45668 USE_HTML=0
45669 if test "$wxUSE_HTML" = "yes"; then
45670 cat >>confdefs.h <<\_ACEOF
45671 #define wxUSE_HTML 1
45672 _ACEOF
45673
45674 USE_HTML=1
45675 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45676 if test "$wxUSE_MAC" = 1; then
45677 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45678 fi
45679 fi
45680 if test "$wxUSE_WEBKIT" = "yes"; then
45681 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45682 old_CPPFLAGS="$CPPFLAGS"
45683 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45684 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45685 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45686 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45687 echo $ECHO_N "(cached) $ECHO_C" >&6
45688 else
45689 cat >conftest.$ac_ext <<_ACEOF
45690 /* confdefs.h. */
45691 _ACEOF
45692 cat confdefs.h >>conftest.$ac_ext
45693 cat >>conftest.$ac_ext <<_ACEOF
45694 /* end confdefs.h. */
45695 #include <Carbon/Carbon.h>
45696
45697 #include <WebKit/HIWebView.h>
45698 _ACEOF
45699 rm -f conftest.$ac_objext
45700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45701 (eval $ac_compile) 2>conftest.er1
45702 ac_status=$?
45703 grep -v '^ *+' conftest.er1 >conftest.err
45704 rm -f conftest.er1
45705 cat conftest.err >&5
45706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45707 (exit $ac_status); } &&
45708 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45710 (eval $ac_try) 2>&5
45711 ac_status=$?
45712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45713 (exit $ac_status); }; } &&
45714 { ac_try='test -s conftest.$ac_objext'
45715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45716 (eval $ac_try) 2>&5
45717 ac_status=$?
45718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45719 (exit $ac_status); }; }; then
45720 ac_cv_header_WebKit_HIWebView_h=yes
45721 else
45722 echo "$as_me: failed program was:" >&5
45723 sed 's/^/| /' conftest.$ac_ext >&5
45724
45725 ac_cv_header_WebKit_HIWebView_h=no
45726 fi
45727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45728 fi
45729 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45730 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
45731 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45732
45733 cat >>confdefs.h <<\_ACEOF
45734 #define wxUSE_WEBKIT 1
45735 _ACEOF
45736
45737 WEBKIT_LINK="-framework WebKit"
45738
45739 else
45740
45741 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45742 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45743 wxUSE_WEBKIT=no
45744
45745 fi
45746
45747
45748 CPPFLAGS="$old_CPPFLAGS"
45749 elif test "$wxUSE_COCOA" = 1; then
45750 cat >>confdefs.h <<\_ACEOF
45751 #define wxUSE_WEBKIT 1
45752 _ACEOF
45753
45754 else
45755 wxUSE_WEBKIT=no
45756 fi
45757 fi
45758
45759 USE_XRC=0
45760 if test "$wxUSE_XRC" = "yes"; then
45761 if test "$wxUSE_XML" != "yes"; then
45762 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45763 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45764 wxUSE_XRC=no
45765 else
45766 cat >>confdefs.h <<\_ACEOF
45767 #define wxUSE_XRC 1
45768 _ACEOF
45769
45770 USE_XRC=1
45771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45772 fi
45773 fi
45774
45775 USE_AUI=0
45776 if test "$wxUSE_AUI" = "yes"; then
45777 cat >>confdefs.h <<\_ACEOF
45778 #define wxUSE_AUI 1
45779 _ACEOF
45780
45781 USE_AUI=1
45782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45783 fi
45784
45785 if test "$wxUSE_MENUS" = "yes"; then
45786 cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_MENUS 1
45788 _ACEOF
45789
45790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45791 fi
45792
45793 if test "$wxUSE_METAFILE" = "yes"; then
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_METAFILE 1
45796 _ACEOF
45797
45798 fi
45799
45800 if test "$wxUSE_MIMETYPE" = "yes"; then
45801 cat >>confdefs.h <<\_ACEOF
45802 #define wxUSE_MIMETYPE 1
45803 _ACEOF
45804
45805 fi
45806
45807 if test "$wxUSE_MINIFRAME" = "yes"; then
45808 cat >>confdefs.h <<\_ACEOF
45809 #define wxUSE_MINIFRAME 1
45810 _ACEOF
45811
45812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
45813 fi
45814
45815 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45816 cat >>confdefs.h <<\_ACEOF
45817 #define wxUSE_SYSTEM_OPTIONS 1
45818 _ACEOF
45819
45820 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45821 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45823 fi
45824 fi
45825
45826
45827 if test "$wxUSE_VALIDATORS" = "yes"; then
45828 cat >>confdefs.h <<\_ACEOF
45829 #define wxUSE_VALIDATORS 1
45830 _ACEOF
45831
45832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45833 fi
45834
45835 if test "$wxUSE_PALETTE" = "yes" ; then
45836 cat >>confdefs.h <<\_ACEOF
45837 #define wxUSE_PALETTE 1
45838 _ACEOF
45839
45840 fi
45841
45842 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45843 LIBS=" -lunicows $LIBS"
45844 fi
45845
45846 USE_RICHTEXT=0
45847 if test "$wxUSE_RICHTEXT" = "yes"; then
45848 cat >>confdefs.h <<\_ACEOF
45849 #define wxUSE_RICHTEXT 1
45850 _ACEOF
45851
45852 USE_RICHTEXT=1
45853 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45854 fi
45855
45856
45857 if test "$wxUSE_IMAGE" = "yes" ; then
45858 cat >>confdefs.h <<\_ACEOF
45859 #define wxUSE_IMAGE 1
45860 _ACEOF
45861
45862
45863 if test "$wxUSE_GIF" = "yes" ; then
45864 cat >>confdefs.h <<\_ACEOF
45865 #define wxUSE_GIF 1
45866 _ACEOF
45867
45868 fi
45869
45870 if test "$wxUSE_PCX" = "yes" ; then
45871 cat >>confdefs.h <<\_ACEOF
45872 #define wxUSE_PCX 1
45873 _ACEOF
45874
45875 fi
45876
45877 if test "$wxUSE_IFF" = "yes" ; then
45878 cat >>confdefs.h <<\_ACEOF
45879 #define wxUSE_IFF 1
45880 _ACEOF
45881
45882 fi
45883
45884 if test "$wxUSE_PNM" = "yes" ; then
45885 cat >>confdefs.h <<\_ACEOF
45886 #define wxUSE_PNM 1
45887 _ACEOF
45888
45889 fi
45890
45891 if test "$wxUSE_XPM" = "yes" ; then
45892 cat >>confdefs.h <<\_ACEOF
45893 #define wxUSE_XPM 1
45894 _ACEOF
45895
45896 fi
45897
45898 if test "$wxUSE_ICO_CUR" = "yes" ; then
45899 cat >>confdefs.h <<\_ACEOF
45900 #define wxUSE_ICO_CUR 1
45901 _ACEOF
45902
45903 fi
45904 fi
45905
45906
45907 if test "$wxUSE_CHOICEDLG" = "yes"; then
45908 cat >>confdefs.h <<\_ACEOF
45909 #define wxUSE_CHOICEDLG 1
45910 _ACEOF
45911
45912 fi
45913
45914 if test "$wxUSE_COLOURDLG" = "yes"; then
45915 cat >>confdefs.h <<\_ACEOF
45916 #define wxUSE_COLOURDLG 1
45917 _ACEOF
45918
45919 fi
45920
45921 if test "$wxUSE_FILEDLG" = "yes"; then
45922 cat >>confdefs.h <<\_ACEOF
45923 #define wxUSE_FILEDLG 1
45924 _ACEOF
45925
45926 fi
45927
45928 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45929 cat >>confdefs.h <<\_ACEOF
45930 #define wxUSE_FINDREPLDLG 1
45931 _ACEOF
45932
45933 fi
45934
45935 if test "$wxUSE_FONTDLG" = "yes"; then
45936 cat >>confdefs.h <<\_ACEOF
45937 #define wxUSE_FONTDLG 1
45938 _ACEOF
45939
45940 fi
45941
45942 if test "$wxUSE_DIRDLG" = "yes"; then
45943 if test "$wxUSE_TREECTRL" != "yes"; then
45944 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45945 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45946 else
45947 cat >>confdefs.h <<\_ACEOF
45948 #define wxUSE_DIRDLG 1
45949 _ACEOF
45950
45951 fi
45952 fi
45953
45954 if test "$wxUSE_MSGDLG" = "yes"; then
45955 cat >>confdefs.h <<\_ACEOF
45956 #define wxUSE_MSGDLG 1
45957 _ACEOF
45958
45959 fi
45960
45961 if test "$wxUSE_NUMBERDLG" = "yes"; then
45962 cat >>confdefs.h <<\_ACEOF
45963 #define wxUSE_NUMBERDLG 1
45964 _ACEOF
45965
45966 fi
45967
45968 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45969 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45970 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45971 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45972 else
45973 cat >>confdefs.h <<\_ACEOF
45974 #define wxUSE_PROGRESSDLG 1
45975 _ACEOF
45976
45977 fi
45978 fi
45979
45980 if test "$wxUSE_SPLASH" = "yes"; then
45981 cat >>confdefs.h <<\_ACEOF
45982 #define wxUSE_SPLASH 1
45983 _ACEOF
45984
45985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45986 fi
45987
45988 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45989 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45990 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45991 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45992 else
45993 cat >>confdefs.h <<\_ACEOF
45994 #define wxUSE_STARTUP_TIPS 1
45995 _ACEOF
45996
45997 fi
45998 fi
45999
46000 if test "$wxUSE_TEXTDLG" = "yes"; then
46001 cat >>confdefs.h <<\_ACEOF
46002 #define wxUSE_TEXTDLG 1
46003 _ACEOF
46004
46005 fi
46006
46007 if test "$wxUSE_WIZARDDLG" = "yes"; then
46008 cat >>confdefs.h <<\_ACEOF
46009 #define wxUSE_WIZARDDLG 1
46010 _ACEOF
46011
46012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46013 fi
46014
46015
46016 USE_MEDIA=0
46017
46018 if test "$wxUSE_MEDIACTRL" = "yes"; then
46019 USE_MEDIA=1
46020
46021 if test "$wxUSE_GTK" = 1; then
46022 wxUSE_GSTREAMER="no"
46023
46024 GST_VERSION_MAJOR=0
46025 GST_VERSION_MINOR=10
46026 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46027
46028 if test "$wxUSE_GSTREAMER8" = "no"; then
46029
46030 pkg_failed=no
46031 echo "$as_me:$LINENO: checking for GST" >&5
46032 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46033
46034 if test -n "$PKG_CONFIG"; then
46035 if test -n "$GST_CFLAGS"; then
46036 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46037 else
46038 if test -n "$PKG_CONFIG" && \
46039 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46040 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46041 ac_status=$?
46042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46043 (exit $ac_status); }; then
46044 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46045 else
46046 pkg_failed=yes
46047 fi
46048 fi
46049 else
46050 pkg_failed=untried
46051 fi
46052 if test -n "$PKG_CONFIG"; then
46053 if test -n "$GST_LIBS"; then
46054 pkg_cv_GST_LIBS="$GST_LIBS"
46055 else
46056 if test -n "$PKG_CONFIG" && \
46057 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46058 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46059 ac_status=$?
46060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46061 (exit $ac_status); }; then
46062 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46063 else
46064 pkg_failed=yes
46065 fi
46066 fi
46067 else
46068 pkg_failed=untried
46069 fi
46070
46071
46072
46073 if test $pkg_failed = yes; then
46074
46075 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46076 _pkg_short_errors_supported=yes
46077 else
46078 _pkg_short_errors_supported=no
46079 fi
46080 if test $_pkg_short_errors_supported = yes; then
46081 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46082 else
46083 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46084 fi
46085 # Put the nasty error message in config.log where it belongs
46086 echo "$GST_PKG_ERRORS" >&5
46087
46088
46089 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46090 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46091 GST_VERSION_MINOR=8
46092
46093
46094 elif test $pkg_failed = untried; then
46095
46096 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46097 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46098 GST_VERSION_MINOR=8
46099
46100
46101 else
46102 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46103 GST_LIBS=$pkg_cv_GST_LIBS
46104 echo "$as_me:$LINENO: result: yes" >&5
46105 echo "${ECHO_T}yes" >&6
46106
46107 wxUSE_GSTREAMER="yes"
46108 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46109
46110 fi
46111 else
46112 GST_VERSION_MINOR=8
46113 fi
46114
46115 if test $GST_VERSION_MINOR = "8"; then
46116 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46117
46118 pkg_failed=no
46119 echo "$as_me:$LINENO: checking for GST" >&5
46120 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46121
46122 if test -n "$PKG_CONFIG"; then
46123 if test -n "$GST_CFLAGS"; then
46124 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46125 else
46126 if test -n "$PKG_CONFIG" && \
46127 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46128 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46129 ac_status=$?
46130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46131 (exit $ac_status); }; then
46132 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46133 else
46134 pkg_failed=yes
46135 fi
46136 fi
46137 else
46138 pkg_failed=untried
46139 fi
46140 if test -n "$PKG_CONFIG"; then
46141 if test -n "$GST_LIBS"; then
46142 pkg_cv_GST_LIBS="$GST_LIBS"
46143 else
46144 if test -n "$PKG_CONFIG" && \
46145 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46146 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46147 ac_status=$?
46148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46149 (exit $ac_status); }; then
46150 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46151 else
46152 pkg_failed=yes
46153 fi
46154 fi
46155 else
46156 pkg_failed=untried
46157 fi
46158
46159
46160
46161 if test $pkg_failed = yes; then
46162
46163 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46164 _pkg_short_errors_supported=yes
46165 else
46166 _pkg_short_errors_supported=no
46167 fi
46168 if test $_pkg_short_errors_supported = yes; then
46169 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46170 else
46171 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46172 fi
46173 # Put the nasty error message in config.log where it belongs
46174 echo "$GST_PKG_ERRORS" >&5
46175
46176
46177 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46178 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46179
46180 elif test $pkg_failed = untried; then
46181
46182 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46183 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46184
46185 else
46186 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46187 GST_LIBS=$pkg_cv_GST_LIBS
46188 echo "$as_me:$LINENO: result: yes" >&5
46189 echo "${ECHO_T}yes" >&6
46190 wxUSE_GSTREAMER="yes"
46191 fi
46192 fi
46193
46194
46195 if test "$wxUSE_GSTREAMER" = "yes"; then
46196 case "${host}" in
46197 *-*-solaris2* )
46198 if "$GCC" = yes; then
46199 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46200 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46201 fi
46202 esac
46203
46204 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46205 LIBS="$GST_LIBS $LIBS"
46206
46207 cat >>confdefs.h <<\_ACEOF
46208 #define wxUSE_GSTREAMER 1
46209 _ACEOF
46210
46211 else
46212 USE_MEDIA=0
46213 fi
46214 fi
46215
46216 if test $USE_MEDIA = 1; then
46217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46218 cat >>confdefs.h <<\_ACEOF
46219 #define wxUSE_MEDIACTRL 1
46220 _ACEOF
46221
46222 fi
46223 fi
46224
46225
46226 if test "$cross_compiling" = "yes"; then
46227 OSINFO="\"$host\""
46228 else
46229 OSINFO=`uname -s -r -m`
46230 OSINFO="\"$OSINFO\""
46231 fi
46232
46233 cat >>confdefs.h <<_ACEOF
46234 #define WXWIN_OS_DESCRIPTION $OSINFO
46235 _ACEOF
46236
46237
46238
46239 if test "x$prefix" != "xNONE"; then
46240 wxPREFIX=$prefix
46241 else
46242 wxPREFIX=$ac_default_prefix
46243 fi
46244
46245 cat >>confdefs.h <<_ACEOF
46246 #define wxINSTALL_PREFIX "$wxPREFIX"
46247 _ACEOF
46248
46249
46250
46251
46252 CORE_BASE_LIBS="net base"
46253 CORE_GUI_LIBS="adv core"
46254
46255 if test "$wxUSE_XML" = "yes" ; then
46256 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46257 fi
46258 if test "$wxUSE_ODBC" != "no" ; then
46259 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46260 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46261 fi
46262 if test "$wxUSE_HTML" = "yes" ; then
46263 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46264 fi
46265 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46266 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46267 fi
46268 if test "$wxUSE_XRC" = "yes" ; then
46269 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46270 fi
46271 if test "$wxUSE_AUI" = "yes" ; then
46272 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46273 fi
46274
46275 if test "$wxUSE_GUI" != "yes"; then
46276 CORE_GUI_LIBS=""
46277 fi
46278
46279
46280
46281
46282
46283 ac_ext=c
46284 ac_cpp='$CPP $CPPFLAGS'
46285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46288
46289
46290
46291 if test "$wxUSE_MAC" = 1 ; then
46292 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46293 if test "$USE_DARWIN" = 1; then
46294 LDFLAGS="$LDFLAGS -framework QuickTime"
46295 else
46296 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46297 fi
46298 fi
46299 if test "$USE_DARWIN" = 1; then
46300 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46301 else
46302 LDFLAGS="$LDFLAGS -lCarbonLib"
46303 fi
46304 fi
46305 if test "$wxUSE_COCOA" = 1 ; then
46306 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46307 if test "$wxUSE_MEDIACTRL" = "yes"; then
46308 LDFLAGS="$LDFLAGS -framework QuickTime"
46309 fi
46310 fi
46311 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46312 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46313 fi
46314
46315 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46316
46317 if test "$wxUSE_GUI" = "yes"; then
46318
46319
46320 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46321 dynamic erase event exec font image minimal mobile \
46322 mobile/wxedit mobile/styles propsize render \
46323 rotate shaped vscroll widgets"
46324
46325 if test "$wxUSE_MONOLITHIC" != "yes"; then
46326 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46327 fi
46328 if test "$TOOLKIT" = "MSW"; then
46329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46330 if test "$wxUSE_UNIVERSAL" != "yes"; then
46331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46332 fi
46333 fi
46334 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46336 fi
46337 else
46338 SAMPLES_SUBDIRS="console"
46339 fi
46340
46341
46342 if test "x$INTELCC" = "xyes" ; then
46343 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46344 elif test "$GCC" = yes ; then
46345 CWARNINGS="-Wall -Wundef"
46346 fi
46347
46348 if test "x$INTELCXX" = "xyes" ; then
46349 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46350 elif test "$GXX" = yes ; then
46351 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
46352 fi
46353
46354
46355 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46356 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46357
46358
46359 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46360 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46361 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46362 $CPPFLAGS `
46363
46364 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46365 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46366 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46367
46368 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46369
46370
46371 if test "x$MWCC" = "xyes"; then
46372
46373 CC="$CC -cwd source -I-"
46374 CXX="$CXX -cwd source -I-"
46375 fi
46376
46377
46378 LIBS=`echo $LIBS`
46379 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46380 EXTRALIBS_XML="$EXPAT_LINK"
46381 EXTRALIBS_HTML="$MSPACK_LINK"
46382 EXTRALIBS_ODBC="$ODBC_LINK"
46383 if test "$wxUSE_GUI" = "yes"; then
46384 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46385 fi
46386 if test "$wxUSE_OPENGL" = "yes"; then
46387 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46388 fi
46389
46390 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46391
46392 WXCONFIG_LIBS="$LIBS"
46393
46394 if test "$wxUSE_REGEX" = "builtin" ; then
46395 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46396 fi
46397 if test "$wxUSE_EXPAT" = "builtin" ; then
46398 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46399 fi
46400 if test "$wxUSE_ODBC" = "builtin" ; then
46401 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
46402 fi
46403 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46404 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46405 fi
46406 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46407 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46408 fi
46409 if test "$wxUSE_LIBPNG" = "builtin" ; then
46410 wxconfig_3rdparty="png $wxconfig_3rdparty"
46411 fi
46412 if test "$wxUSE_ZLIB" = "builtin" ; then
46413 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46414 fi
46415
46416 for i in $wxconfig_3rdparty ; do
46417 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46418 done
46419
46420
46421 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46422 WXUNIV=1
46423 else
46424 WXUNIV=0
46425 fi
46426
46427
46428
46429
46430
46431
46432
46433
46434
46435 if test $wxUSE_MONOLITHIC = "yes" ; then
46436 MONOLITHIC=1
46437 else
46438 MONOLITHIC=0
46439 fi
46440
46441 if test $wxUSE_PLUGINS = "yes" ; then
46442 USE_PLUGINS=1
46443 else
46444 USE_PLUGINS=0
46445 fi
46446
46447 if test $wxUSE_ODBC != "no" ; then
46448 USE_ODBC=1
46449 else
46450 USE_ODBC=0
46451 fi
46452
46453 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46454 USE_QA=1
46455 else
46456 USE_QA=0
46457 fi
46458
46459 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46460 OFFICIAL_BUILD=1
46461 else
46462 OFFICIAL_BUILD=0
46463 fi
46464
46465
46466
46467
46468
46469
46470
46471
46472
46473
46474
46475
46476
46477
46478
46479
46480
46481
46482
46483
46484
46485
46486
46487
46488
46489 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46490
46491
46492
46493
46494
46495
46496
46497
46498 case "$TOOLKIT" in
46499 GTK)
46500 TOOLKIT_DESC="GTK+"
46501 if test "$WXGTK20" = 1; then
46502 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46503 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46504 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46505 fi
46506 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46507 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46508 fi
46509 if test "$wxUSE_LIBHILDON" = "yes"; then
46510 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46511 fi
46512
46513 if test "$TOOLKIT_EXTRA" != ""; then
46514 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46515 fi
46516 fi
46517 ;;
46518
46519 ?*)
46520 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46521 ;;
46522
46523 *)
46524 TOOLKIT_DESC="base only"
46525 ;;
46526 esac
46527
46528 if test "$wxUSE_WINE" = "yes"; then
46529 BAKEFILE_FORCE_PLATFORM=win32
46530 fi
46531
46532 if test "$wxUSE_MAC" = 1 ; then
46533 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
46534 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
46535 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46536 else
46537 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46538 fi
46539 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
46540 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
46541 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
46542 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
46543 bk_use_pch=no
46544 fi
46545 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46546 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46547 fi
46548
46549
46550
46551
46552 if test "x$BAKEFILE_HOST" = "x"; then
46553 if test "x${host}" = "x" ; then
46554 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46555 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46556 { (exit 1); exit 1; }; }
46557 fi
46558
46559 BAKEFILE_HOST="${host}"
46560 fi
46561
46562 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46563
46564 if test -n "$ac_tool_prefix"; then
46565 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46566 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46567 echo "$as_me:$LINENO: checking for $ac_word" >&5
46568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46569 if test "${ac_cv_prog_RANLIB+set}" = set; then
46570 echo $ECHO_N "(cached) $ECHO_C" >&6
46571 else
46572 if test -n "$RANLIB"; then
46573 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46574 else
46575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46576 for as_dir in $PATH
46577 do
46578 IFS=$as_save_IFS
46579 test -z "$as_dir" && as_dir=.
46580 for ac_exec_ext in '' $ac_executable_extensions; do
46581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46582 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46584 break 2
46585 fi
46586 done
46587 done
46588
46589 fi
46590 fi
46591 RANLIB=$ac_cv_prog_RANLIB
46592 if test -n "$RANLIB"; then
46593 echo "$as_me:$LINENO: result: $RANLIB" >&5
46594 echo "${ECHO_T}$RANLIB" >&6
46595 else
46596 echo "$as_me:$LINENO: result: no" >&5
46597 echo "${ECHO_T}no" >&6
46598 fi
46599
46600 fi
46601 if test -z "$ac_cv_prog_RANLIB"; then
46602 ac_ct_RANLIB=$RANLIB
46603 # Extract the first word of "ranlib", so it can be a program name with args.
46604 set dummy ranlib; ac_word=$2
46605 echo "$as_me:$LINENO: checking for $ac_word" >&5
46606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46607 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46608 echo $ECHO_N "(cached) $ECHO_C" >&6
46609 else
46610 if test -n "$ac_ct_RANLIB"; then
46611 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46612 else
46613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46614 for as_dir in $PATH
46615 do
46616 IFS=$as_save_IFS
46617 test -z "$as_dir" && as_dir=.
46618 for ac_exec_ext in '' $ac_executable_extensions; do
46619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46620 ac_cv_prog_ac_ct_RANLIB="ranlib"
46621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46622 break 2
46623 fi
46624 done
46625 done
46626
46627 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
46628 fi
46629 fi
46630 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46631 if test -n "$ac_ct_RANLIB"; then
46632 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46633 echo "${ECHO_T}$ac_ct_RANLIB" >&6
46634 else
46635 echo "$as_me:$LINENO: result: no" >&5
46636 echo "${ECHO_T}no" >&6
46637 fi
46638
46639 RANLIB=$ac_ct_RANLIB
46640 else
46641 RANLIB="$ac_cv_prog_RANLIB"
46642 fi
46643
46644 # Find a good install program. We prefer a C program (faster),
46645 # so one script is as good as another. But avoid the broken or
46646 # incompatible versions:
46647 # SysV /etc/install, /usr/sbin/install
46648 # SunOS /usr/etc/install
46649 # IRIX /sbin/install
46650 # AIX /bin/install
46651 # AmigaOS /C/install, which installs bootblocks on floppy discs
46652 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46653 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46654 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46655 # OS/2's system install, which has a completely different semantic
46656 # ./install, which can be erroneously created by make from ./install.sh.
46657 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46658 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
46659 if test -z "$INSTALL"; then
46660 if test "${ac_cv_path_install+set}" = set; then
46661 echo $ECHO_N "(cached) $ECHO_C" >&6
46662 else
46663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46664 for as_dir in $PATH
46665 do
46666 IFS=$as_save_IFS
46667 test -z "$as_dir" && as_dir=.
46668 # Account for people who put trailing slashes in PATH elements.
46669 case $as_dir/ in
46670 ./ | .// | /cC/* | \
46671 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46672 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46673 /usr/ucb/* ) ;;
46674 *)
46675 # OSF1 and SCO ODT 3.0 have their own names for install.
46676 # Don't use installbsd from OSF since it installs stuff as root
46677 # by default.
46678 for ac_prog in ginstall scoinst install; do
46679 for ac_exec_ext in '' $ac_executable_extensions; do
46680 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46681 if test $ac_prog = install &&
46682 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46683 # AIX install. It has an incompatible calling convention.
46684 :
46685 elif test $ac_prog = install &&
46686 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46687 # program-specific install script used by HP pwplus--don't use.
46688 :
46689 else
46690 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46691 break 3
46692 fi
46693 fi
46694 done
46695 done
46696 ;;
46697 esac
46698 done
46699
46700
46701 fi
46702 if test "${ac_cv_path_install+set}" = set; then
46703 INSTALL=$ac_cv_path_install
46704 else
46705 # As a last resort, use the slow shell script. We don't cache a
46706 # path for INSTALL within a source directory, because that will
46707 # break other packages using the cache if that directory is
46708 # removed, or if the path is relative.
46709 INSTALL=$ac_install_sh
46710 fi
46711 fi
46712 echo "$as_me:$LINENO: result: $INSTALL" >&5
46713 echo "${ECHO_T}$INSTALL" >&6
46714
46715 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46716 # It thinks the first close brace ends the variable substitution.
46717 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46718
46719 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46720
46721 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46722
46723 echo "$as_me:$LINENO: checking whether ln -s works" >&5
46724 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
46725 LN_S=$as_ln_s
46726 if test "$LN_S" = "ln -s"; then
46727 echo "$as_me:$LINENO: result: yes" >&5
46728 echo "${ECHO_T}yes" >&6
46729 else
46730 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46731 echo "${ECHO_T}no, using $LN_S" >&6
46732 fi
46733
46734
46735 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46736 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46737 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
46738 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46739 echo $ECHO_N "(cached) $ECHO_C" >&6
46740 else
46741 cat >conftest.make <<\_ACEOF
46742 all:
46743 @echo 'ac_maketemp="$(MAKE)"'
46744 _ACEOF
46745 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46746 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46747 if test -n "$ac_maketemp"; then
46748 eval ac_cv_prog_make_${ac_make}_set=yes
46749 else
46750 eval ac_cv_prog_make_${ac_make}_set=no
46751 fi
46752 rm -f conftest.make
46753 fi
46754 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46755 echo "$as_me:$LINENO: result: yes" >&5
46756 echo "${ECHO_T}yes" >&6
46757 SET_MAKE=
46758 else
46759 echo "$as_me:$LINENO: result: no" >&5
46760 echo "${ECHO_T}no" >&6
46761 SET_MAKE="MAKE=${MAKE-make}"
46762 fi
46763
46764
46765
46766 if test -n "$ac_tool_prefix"; then
46767 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46768 set dummy ${ac_tool_prefix}ar; ac_word=$2
46769 echo "$as_me:$LINENO: checking for $ac_word" >&5
46770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46771 if test "${ac_cv_prog_AR+set}" = set; then
46772 echo $ECHO_N "(cached) $ECHO_C" >&6
46773 else
46774 if test -n "$AR"; then
46775 ac_cv_prog_AR="$AR" # Let the user override the test.
46776 else
46777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46778 for as_dir in $PATH
46779 do
46780 IFS=$as_save_IFS
46781 test -z "$as_dir" && as_dir=.
46782 for ac_exec_ext in '' $ac_executable_extensions; do
46783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46784 ac_cv_prog_AR="${ac_tool_prefix}ar"
46785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46786 break 2
46787 fi
46788 done
46789 done
46790
46791 fi
46792 fi
46793 AR=$ac_cv_prog_AR
46794 if test -n "$AR"; then
46795 echo "$as_me:$LINENO: result: $AR" >&5
46796 echo "${ECHO_T}$AR" >&6
46797 else
46798 echo "$as_me:$LINENO: result: no" >&5
46799 echo "${ECHO_T}no" >&6
46800 fi
46801
46802 fi
46803 if test -z "$ac_cv_prog_AR"; then
46804 ac_ct_AR=$AR
46805 # Extract the first word of "ar", so it can be a program name with args.
46806 set dummy ar; ac_word=$2
46807 echo "$as_me:$LINENO: checking for $ac_word" >&5
46808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46809 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46810 echo $ECHO_N "(cached) $ECHO_C" >&6
46811 else
46812 if test -n "$ac_ct_AR"; then
46813 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46814 else
46815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46816 for as_dir in $PATH
46817 do
46818 IFS=$as_save_IFS
46819 test -z "$as_dir" && as_dir=.
46820 for ac_exec_ext in '' $ac_executable_extensions; do
46821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46822 ac_cv_prog_ac_ct_AR="ar"
46823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46824 break 2
46825 fi
46826 done
46827 done
46828
46829 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
46830 fi
46831 fi
46832 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46833 if test -n "$ac_ct_AR"; then
46834 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46835 echo "${ECHO_T}$ac_ct_AR" >&6
46836 else
46837 echo "$as_me:$LINENO: result: no" >&5
46838 echo "${ECHO_T}no" >&6
46839 fi
46840
46841 AR=$ac_ct_AR
46842 else
46843 AR="$ac_cv_prog_AR"
46844 fi
46845
46846 if test -n "$ac_tool_prefix"; then
46847 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46848 set dummy ${ac_tool_prefix}strip; ac_word=$2
46849 echo "$as_me:$LINENO: checking for $ac_word" >&5
46850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46851 if test "${ac_cv_prog_STRIP+set}" = set; then
46852 echo $ECHO_N "(cached) $ECHO_C" >&6
46853 else
46854 if test -n "$STRIP"; then
46855 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46856 else
46857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46858 for as_dir in $PATH
46859 do
46860 IFS=$as_save_IFS
46861 test -z "$as_dir" && as_dir=.
46862 for ac_exec_ext in '' $ac_executable_extensions; do
46863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46864 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46866 break 2
46867 fi
46868 done
46869 done
46870
46871 fi
46872 fi
46873 STRIP=$ac_cv_prog_STRIP
46874 if test -n "$STRIP"; then
46875 echo "$as_me:$LINENO: result: $STRIP" >&5
46876 echo "${ECHO_T}$STRIP" >&6
46877 else
46878 echo "$as_me:$LINENO: result: no" >&5
46879 echo "${ECHO_T}no" >&6
46880 fi
46881
46882 fi
46883 if test -z "$ac_cv_prog_STRIP"; then
46884 ac_ct_STRIP=$STRIP
46885 # Extract the first word of "strip", so it can be a program name with args.
46886 set dummy strip; ac_word=$2
46887 echo "$as_me:$LINENO: checking for $ac_word" >&5
46888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46889 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46890 echo $ECHO_N "(cached) $ECHO_C" >&6
46891 else
46892 if test -n "$ac_ct_STRIP"; then
46893 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46894 else
46895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46896 for as_dir in $PATH
46897 do
46898 IFS=$as_save_IFS
46899 test -z "$as_dir" && as_dir=.
46900 for ac_exec_ext in '' $ac_executable_extensions; do
46901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46902 ac_cv_prog_ac_ct_STRIP="strip"
46903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46904 break 2
46905 fi
46906 done
46907 done
46908
46909 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
46910 fi
46911 fi
46912 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46913 if test -n "$ac_ct_STRIP"; then
46914 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46915 echo "${ECHO_T}$ac_ct_STRIP" >&6
46916 else
46917 echo "$as_me:$LINENO: result: no" >&5
46918 echo "${ECHO_T}no" >&6
46919 fi
46920
46921 STRIP=$ac_ct_STRIP
46922 else
46923 STRIP="$ac_cv_prog_STRIP"
46924 fi
46925
46926 if test -n "$ac_tool_prefix"; then
46927 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46928 set dummy ${ac_tool_prefix}nm; ac_word=$2
46929 echo "$as_me:$LINENO: checking for $ac_word" >&5
46930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46931 if test "${ac_cv_prog_NM+set}" = set; then
46932 echo $ECHO_N "(cached) $ECHO_C" >&6
46933 else
46934 if test -n "$NM"; then
46935 ac_cv_prog_NM="$NM" # Let the user override the test.
46936 else
46937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46938 for as_dir in $PATH
46939 do
46940 IFS=$as_save_IFS
46941 test -z "$as_dir" && as_dir=.
46942 for ac_exec_ext in '' $ac_executable_extensions; do
46943 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46944 ac_cv_prog_NM="${ac_tool_prefix}nm"
46945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46946 break 2
46947 fi
46948 done
46949 done
46950
46951 fi
46952 fi
46953 NM=$ac_cv_prog_NM
46954 if test -n "$NM"; then
46955 echo "$as_me:$LINENO: result: $NM" >&5
46956 echo "${ECHO_T}$NM" >&6
46957 else
46958 echo "$as_me:$LINENO: result: no" >&5
46959 echo "${ECHO_T}no" >&6
46960 fi
46961
46962 fi
46963 if test -z "$ac_cv_prog_NM"; then
46964 ac_ct_NM=$NM
46965 # Extract the first word of "nm", so it can be a program name with args.
46966 set dummy nm; ac_word=$2
46967 echo "$as_me:$LINENO: checking for $ac_word" >&5
46968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46969 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46970 echo $ECHO_N "(cached) $ECHO_C" >&6
46971 else
46972 if test -n "$ac_ct_NM"; then
46973 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46974 else
46975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46976 for as_dir in $PATH
46977 do
46978 IFS=$as_save_IFS
46979 test -z "$as_dir" && as_dir=.
46980 for ac_exec_ext in '' $ac_executable_extensions; do
46981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46982 ac_cv_prog_ac_ct_NM="nm"
46983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46984 break 2
46985 fi
46986 done
46987 done
46988
46989 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
46990 fi
46991 fi
46992 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46993 if test -n "$ac_ct_NM"; then
46994 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46995 echo "${ECHO_T}$ac_ct_NM" >&6
46996 else
46997 echo "$as_me:$LINENO: result: no" >&5
46998 echo "${ECHO_T}no" >&6
46999 fi
47000
47001 NM=$ac_ct_NM
47002 else
47003 NM="$ac_cv_prog_NM"
47004 fi
47005
47006
47007 case ${BAKEFILE_HOST} in
47008 *-hp-hpux* )
47009 INSTALL_DIR="mkdir -p"
47010 ;;
47011 *) INSTALL_DIR="$INSTALL -d"
47012 ;;
47013 esac
47014
47015
47016 LDFLAGS_GUI=
47017 case ${BAKEFILE_HOST} in
47018 *-*-cygwin* | *-*-mingw32* )
47019 LDFLAGS_GUI="-mwindows"
47020 esac
47021
47022
47023 fi
47024
47025 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47026 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47027 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47028 echo $ECHO_N "(cached) $ECHO_C" >&6
47029 else
47030
47031 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47032 egrep -s GNU > /dev/null); then
47033 bakefile_cv_prog_makeisgnu="yes"
47034 else
47035 bakefile_cv_prog_makeisgnu="no"
47036 fi
47037
47038 fi
47039 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47040 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47041
47042 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47043 IF_GNU_MAKE=""
47044 else
47045 IF_GNU_MAKE="#"
47046 fi
47047
47048
47049
47050 PLATFORM_UNIX=0
47051 PLATFORM_WIN32=0
47052 PLATFORM_MSDOS=0
47053 PLATFORM_MAC=0
47054 PLATFORM_MACOS=0
47055 PLATFORM_MACOSX=0
47056 PLATFORM_OS2=0
47057 PLATFORM_BEOS=0
47058
47059 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47060 case "${BAKEFILE_HOST}" in
47061 *-*-mingw32* )
47062 PLATFORM_WIN32=1
47063 ;;
47064 *-pc-msdosdjgpp )
47065 PLATFORM_MSDOS=1
47066 ;;
47067 *-pc-os2_emx | *-pc-os2-emx )
47068 PLATFORM_OS2=1
47069 ;;
47070 *-*-darwin* )
47071 PLATFORM_MAC=1
47072 PLATFORM_MACOSX=1
47073 ;;
47074 *-*-beos* )
47075 PLATFORM_BEOS=1
47076 ;;
47077 powerpc-apple-macos* )
47078 PLATFORM_MAC=1
47079 PLATFORM_MACOS=1
47080 ;;
47081 * )
47082 PLATFORM_UNIX=1
47083 ;;
47084 esac
47085 else
47086 case "$BAKEFILE_FORCE_PLATFORM" in
47087 win32 )
47088 PLATFORM_WIN32=1
47089 ;;
47090 msdos )
47091 PLATFORM_MSDOS=1
47092 ;;
47093 os2 )
47094 PLATFORM_OS2=1
47095 ;;
47096 darwin )
47097 PLATFORM_MAC=1
47098 PLATFORM_MACOSX=1
47099 ;;
47100 unix )
47101 PLATFORM_UNIX=1
47102 ;;
47103 beos )
47104 PLATFORM_BEOS=1
47105 ;;
47106 * )
47107 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47108 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47109 { (exit 1); exit 1; }; }
47110 ;;
47111 esac
47112 fi
47113
47114
47115
47116
47117
47118
47119
47120
47121
47122
47123
47124 # Check whether --enable-omf or --disable-omf was given.
47125 if test "${enable_omf+set}" = set; then
47126 enableval="$enable_omf"
47127 bk_os2_use_omf="$enableval"
47128 fi;
47129
47130 case "${BAKEFILE_HOST}" in
47131 *-*-darwin* )
47132 if test "x$GCC" = "xyes"; then
47133 CFLAGS="$CFLAGS -fno-common"
47134 CXXFLAGS="$CXXFLAGS -fno-common"
47135 fi
47136 if test "x$XLCC" = "xyes"; then
47137 CFLAGS="$CFLAGS -qnocommon"
47138 CXXFLAGS="$CXXFLAGS -qnocommon"
47139 fi
47140 ;;
47141
47142 *-pc-os2_emx | *-pc-os2-emx )
47143 if test "x$bk_os2_use_omf" = "xyes" ; then
47144 AR=emxomfar
47145 RANLIB=:
47146 LDFLAGS="-Zomf $LDFLAGS"
47147 CFLAGS="-Zomf $CFLAGS"
47148 CXXFLAGS="-Zomf $CXXFLAGS"
47149 OS2_LIBEXT="lib"
47150 else
47151 OS2_LIBEXT="a"
47152 fi
47153 ;;
47154
47155 i*86-*-beos* )
47156 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47157 ;;
47158 esac
47159
47160
47161 SO_SUFFIX="so"
47162 SO_SUFFIX_MODULE="so"
47163 EXEEXT=""
47164 LIBPREFIX="lib"
47165 LIBEXT=".a"
47166 DLLPREFIX="lib"
47167 DLLPREFIX_MODULE=""
47168 DLLIMP_SUFFIX=""
47169 dlldir="$libdir"
47170
47171 case "${BAKEFILE_HOST}" in
47172 *-hp-hpux* )
47173 SO_SUFFIX="sl"
47174 SO_SUFFIX_MODULE="sl"
47175 ;;
47176 *-*-aix* )
47177 SO_SUFFIX="a"
47178 SO_SUFFIX_MODULE="a"
47179 ;;
47180 *-*-cygwin* )
47181 SO_SUFFIX="dll"
47182 SO_SUFFIX_MODULE="dll"
47183 DLLIMP_SUFFIX="dll.a"
47184 EXEEXT=".exe"
47185 DLLPREFIX="cyg"
47186 dlldir="$bindir"
47187 ;;
47188 *-*-mingw32* )
47189 SO_SUFFIX="dll"
47190 SO_SUFFIX_MODULE="dll"
47191 DLLIMP_SUFFIX="dll.a"
47192 EXEEXT=".exe"
47193 DLLPREFIX=""
47194 dlldir="$bindir"
47195 ;;
47196 *-pc-msdosdjgpp )
47197 EXEEXT=".exe"
47198 DLLPREFIX=""
47199 dlldir="$bindir"
47200 ;;
47201 *-pc-os2_emx | *-pc-os2-emx )
47202 SO_SUFFIX="dll"
47203 SO_SUFFIX_MODULE="dll"
47204 DLLIMP_SUFFIX=$OS2_LIBEXT
47205 EXEEXT=".exe"
47206 DLLPREFIX=""
47207 LIBPREFIX=""
47208 LIBEXT=".$OS2_LIBEXT"
47209 dlldir="$bindir"
47210 ;;
47211 *-*-darwin* )
47212 SO_SUFFIX="dylib"
47213 SO_SUFFIX_MODULE="bundle"
47214 ;;
47215 esac
47216
47217 if test "x$DLLIMP_SUFFIX" = "x" ; then
47218 DLLIMP_SUFFIX="$SO_SUFFIX"
47219 fi
47220
47221
47222
47223
47224
47225
47226
47227
47228
47229
47230
47231
47232 PIC_FLAG=""
47233 if test "x$GCC" = "xyes"; then
47234 PIC_FLAG="-fPIC"
47235 fi
47236
47237 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47238 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47239 WINDOWS_IMPLIB=0
47240
47241 case "${BAKEFILE_HOST}" in
47242 *-hp-hpux* )
47243 if test "x$GCC" != "xyes"; then
47244 LDFLAGS="$LDFLAGS -L/usr/lib"
47245
47246 SHARED_LD_CC="${CC} -b -o"
47247 SHARED_LD_CXX="${CXX} -b -o"
47248 PIC_FLAG="+Z"
47249 fi
47250 ;;
47251
47252 *-*-linux* )
47253 if test "x$GCC" != "xyes"; then
47254 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47255 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47256 if test "${bakefile_cv_prog_icc+set}" = set; then
47257 echo $ECHO_N "(cached) $ECHO_C" >&6
47258 else
47259
47260 cat >conftest.$ac_ext <<_ACEOF
47261 /* confdefs.h. */
47262 _ACEOF
47263 cat confdefs.h >>conftest.$ac_ext
47264 cat >>conftest.$ac_ext <<_ACEOF
47265 /* end confdefs.h. */
47266
47267 int
47268 main ()
47269 {
47270
47271 #ifndef __INTEL_COMPILER
47272 This is not ICC
47273 #endif
47274
47275 ;
47276 return 0;
47277 }
47278 _ACEOF
47279 rm -f conftest.$ac_objext
47280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47281 (eval $ac_compile) 2>conftest.er1
47282 ac_status=$?
47283 grep -v '^ *+' conftest.er1 >conftest.err
47284 rm -f conftest.er1
47285 cat conftest.err >&5
47286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47287 (exit $ac_status); } &&
47288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47290 (eval $ac_try) 2>&5
47291 ac_status=$?
47292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47293 (exit $ac_status); }; } &&
47294 { ac_try='test -s conftest.$ac_objext'
47295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47296 (eval $ac_try) 2>&5
47297 ac_status=$?
47298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47299 (exit $ac_status); }; }; then
47300 bakefile_cv_prog_icc=yes
47301 else
47302 echo "$as_me: failed program was:" >&5
47303 sed 's/^/| /' conftest.$ac_ext >&5
47304
47305 bakefile_cv_prog_icc=no
47306
47307 fi
47308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47309
47310 fi
47311 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47312 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47313 if test "$bakefile_cv_prog_icc" = "yes"; then
47314 PIC_FLAG="-KPIC"
47315 fi
47316 fi
47317 ;;
47318
47319 *-*-solaris2* )
47320 if test "x$GCC" != xyes ; then
47321 SHARED_LD_CC="${CC} -G -o"
47322 SHARED_LD_CXX="${CXX} -G -o"
47323 PIC_FLAG="-KPIC"
47324 fi
47325 ;;
47326
47327 *-*-darwin* )
47328
47329 D='$'
47330 cat <<EOF >shared-ld-sh
47331 #!/bin/sh
47332 #-----------------------------------------------------------------------------
47333 #-- Name: distrib/mac/shared-ld-sh
47334 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47335 #-- Author: Gilles Depeyrot
47336 #-- Copyright: (c) 2002 Gilles Depeyrot
47337 #-- Licence: any use permitted
47338 #-----------------------------------------------------------------------------
47339
47340 verbose=0
47341 args=""
47342 objects=""
47343 linking_flag="-dynamiclib"
47344 ldargs="-r -keep_private_externs -nostdlib"
47345
47346 while test ${D}# -gt 0; do
47347 case ${D}1 in
47348
47349 -v)
47350 verbose=1
47351 ;;
47352
47353 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47354 # collect these options and values
47355 args="${D}{args} ${D}1 ${D}2"
47356 shift
47357 ;;
47358
47359 -s|-Wl,*)
47360 # collect these load args
47361 ldargs="${D}{ldargs} ${D}1"
47362 ;;
47363
47364 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47365 # collect these options
47366 args="${D}{args} ${D}1"
47367 ;;
47368
47369 -dynamiclib|-bundle)
47370 linking_flag="${D}1"
47371 ;;
47372
47373 -*)
47374 echo "shared-ld: unhandled option '${D}1'"
47375 exit 1
47376 ;;
47377
47378 *.o | *.a | *.dylib)
47379 # collect object files
47380 objects="${D}{objects} ${D}1"
47381 ;;
47382
47383 *)
47384 echo "shared-ld: unhandled argument '${D}1'"
47385 exit 1
47386 ;;
47387
47388 esac
47389 shift
47390 done
47391
47392 status=0
47393
47394 #
47395 # Link one module containing all the others
47396 #
47397 if test ${D}{verbose} = 1; then
47398 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47399 fi
47400 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47401 status=${D}?
47402
47403 #
47404 # Link the shared library from the single module created, but only if the
47405 # previous command didn't fail:
47406 #
47407 if test ${D}{status} = 0; then
47408 if test ${D}{verbose} = 1; then
47409 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47410 fi
47411 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47412 status=${D}?
47413 fi
47414
47415 #
47416 # Remove intermediate module
47417 #
47418 rm -f master.${D}${D}.o
47419
47420 exit ${D}status
47421 EOF
47422
47423 chmod +x shared-ld-sh
47424
47425 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47426 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47427
47428
47429 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47430 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47431 if test "${bakefile_cv_gcc31+set}" = set; then
47432 echo $ECHO_N "(cached) $ECHO_C" >&6
47433 else
47434
47435 cat >conftest.$ac_ext <<_ACEOF
47436 /* confdefs.h. */
47437 _ACEOF
47438 cat confdefs.h >>conftest.$ac_ext
47439 cat >>conftest.$ac_ext <<_ACEOF
47440 /* end confdefs.h. */
47441
47442 int
47443 main ()
47444 {
47445
47446 #if (__GNUC__ < 3) || \
47447 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47448 This is old gcc
47449 #endif
47450
47451 ;
47452 return 0;
47453 }
47454 _ACEOF
47455 rm -f conftest.$ac_objext
47456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47457 (eval $ac_compile) 2>conftest.er1
47458 ac_status=$?
47459 grep -v '^ *+' conftest.er1 >conftest.err
47460 rm -f conftest.er1
47461 cat conftest.err >&5
47462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47463 (exit $ac_status); } &&
47464 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47466 (eval $ac_try) 2>&5
47467 ac_status=$?
47468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47469 (exit $ac_status); }; } &&
47470 { ac_try='test -s conftest.$ac_objext'
47471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47472 (eval $ac_try) 2>&5
47473 ac_status=$?
47474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47475 (exit $ac_status); }; }; then
47476
47477 bakefile_cv_gcc31=yes
47478
47479 else
47480 echo "$as_me: failed program was:" >&5
47481 sed 's/^/| /' conftest.$ac_ext >&5
47482
47483
47484 bakefile_cv_gcc31=no
47485
47486
47487 fi
47488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47489
47490 fi
47491 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47492 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47493 if test "$bakefile_cv_gcc31" = "no"; then
47494 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47495 SHARED_LD_CXX="$SHARED_LD_CC"
47496 else
47497 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47498 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47499 fi
47500
47501 if test "x$GCC" == "xyes"; then
47502 PIC_FLAG="-dynamic -fPIC"
47503 fi
47504 if test "x$XLCC" = "xyes"; then
47505 PIC_FLAG="-dynamic -DPIC"
47506 fi
47507 ;;
47508
47509 *-*-aix* )
47510 if test "x$GCC" = "xyes"; then
47511 PIC_FLAG=""
47512
47513 case "${BAKEFILE_HOST}" in
47514 *-*-aix5* )
47515 LD_EXPFULL="-Wl,-bexpfull"
47516 ;;
47517 esac
47518
47519 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47520 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47521 else
47522 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47523 set dummy makeC++SharedLib; ac_word=$2
47524 echo "$as_me:$LINENO: checking for $ac_word" >&5
47525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47526 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47527 echo $ECHO_N "(cached) $ECHO_C" >&6
47528 else
47529 if test -n "$AIX_CXX_LD"; then
47530 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47531 else
47532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47533 for as_dir in $PATH
47534 do
47535 IFS=$as_save_IFS
47536 test -z "$as_dir" && as_dir=.
47537 for ac_exec_ext in '' $ac_executable_extensions; do
47538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47539 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47541 break 2
47542 fi
47543 done
47544 done
47545
47546 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47547 fi
47548 fi
47549 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47550 if test -n "$AIX_CXX_LD"; then
47551 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47552 echo "${ECHO_T}$AIX_CXX_LD" >&6
47553 else
47554 echo "$as_me:$LINENO: result: no" >&5
47555 echo "${ECHO_T}no" >&6
47556 fi
47557
47558 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47559 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47560 fi
47561 ;;
47562
47563 *-*-beos* )
47564 SHARED_LD_CC="${LD} -nostart -o"
47565 SHARED_LD_CXX="${LD} -nostart -o"
47566 ;;
47567
47568 *-*-irix* )
47569 if test "x$GCC" != "xyes"; then
47570 PIC_FLAG="-KPIC"
47571 fi
47572 ;;
47573
47574 *-*-cygwin* | *-*-mingw32* )
47575 PIC_FLAG=""
47576 SHARED_LD_CC="\$(CC) -shared -o"
47577 SHARED_LD_CXX="\$(CXX) -shared -o"
47578 WINDOWS_IMPLIB=1
47579 ;;
47580
47581 *-pc-os2_emx | *-pc-os2-emx )
47582 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47583 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47584 PIC_FLAG=""
47585
47586 D='$'
47587 cat <<EOF >dllar.sh
47588 #!/bin/sh
47589 #
47590 # dllar - a tool to build both a .dll and an .a file
47591 # from a set of object (.o) files for EMX/OS2.
47592 #
47593 # Written by Andrew Zabolotny, bit@freya.etu.ru
47594 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47595 #
47596 # This script will accept a set of files on the command line.
47597 # All the public symbols from the .o files will be exported into
47598 # a .DEF file, then linker will be run (through gcc) against them to
47599 # build a shared library consisting of all given .o files. All libraries
47600 # (.a) will be first decompressed into component .o files then act as
47601 # described above. You can optionally give a description (-d "description")
47602 # which will be put into .DLL. To see the list of accepted options (as well
47603 # as command-line format) simply run this program without options. The .DLL
47604 # is built to be imported by name (there is no guarantee that new versions
47605 # of the library you build will have same ordinals for same symbols).
47606 #
47607 # dllar is free software; you can redistribute it and/or modify
47608 # it under the terms of the GNU General Public License as published by
47609 # the Free Software Foundation; either version 2, or (at your option)
47610 # any later version.
47611 #
47612 # dllar is distributed in the hope that it will be useful,
47613 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47614 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47615 # GNU General Public License for more details.
47616 #
47617 # You should have received a copy of the GNU General Public License
47618 # along with dllar; see the file COPYING. If not, write to the Free
47619 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47620 # 02111-1307, USA.
47621
47622 # To successfuly run this program you will need:
47623 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47624 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47625 # - gcc
47626 # (used to build the .dll)
47627 # - emxexp
47628 # (used to create .def file from .o files)
47629 # - emximp
47630 # (used to create .a file from .def file)
47631 # - GNU text utilites (cat, sort, uniq)
47632 # used to process emxexp output
47633 # - GNU file utilities (mv, rm)
47634 # - GNU sed
47635 # - lxlite (optional, see flag below)
47636 # (used for general .dll cleanup)
47637 #
47638
47639 flag_USE_LXLITE=1;
47640
47641 #
47642 # helper functions
47643 # basnam, variant of basename, which does _not_ remove the path, _iff_
47644 # second argument (suffix to remove) is given
47645 basnam(){
47646 case ${D}# in
47647 1)
47648 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47649 ;;
47650 2)
47651 echo ${D}1 | sed 's/'${D}2'${D}//'
47652 ;;
47653 *)
47654 echo "error in basnam ${D}*"
47655 exit 8
47656 ;;
47657 esac
47658 }
47659
47660 # Cleanup temporary files and output
47661 CleanUp() {
47662 cd ${D}curDir
47663 for i in ${D}inputFiles ; do
47664 case ${D}i in
47665 *!)
47666 rm -rf \`basnam ${D}i !\`
47667 ;;
47668 *)
47669 ;;
47670 esac
47671 done
47672
47673 # Kill result in case of failure as there is just to many stupid make/nmake
47674 # things out there which doesn't do this.
47675 if [ ${D}# -eq 0 ]; then
47676 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47677 fi
47678 }
47679
47680 # Print usage and exit script with rc=1.
47681 PrintHelp() {
47682 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47683 echo ' [-name-mangler-script script.sh]'
47684 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47685 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47686 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47687 echo ' [*.o] [*.a]'
47688 echo '*> "output_file" should have no extension.'
47689 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47690 echo ' The import library name is derived from this and is set to "name".a,'
47691 echo ' unless overridden by -import'
47692 echo '*> "importlib_name" should have no extension.'
47693 echo ' If it has the .o, or .a extension, it is automatically removed.'
47694 echo ' This name is used as the import library name and may be longer and'
47695 echo ' more descriptive than the DLL name which has to follow the old '
47696 echo ' 8.3 convention of FAT.'
47697 echo '*> "script.sh may be given to override the output_file name by a'
47698 echo ' different name. It is mainly useful if the regular make process'
47699 echo ' of some package does not take into account OS/2 restriction of'
47700 echo ' DLL name lengths. It takes the importlib name as input and is'
47701 echo ' supposed to procude a shorter name as output. The script should'
47702 echo ' expect to get importlib_name without extension and should produce'
47703 echo ' a (max.) 8 letter name without extension.'
47704 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47705 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47706 echo ' These flags will be put at the start of GCC command line.'
47707 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47708 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47709 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47710 echo ' If the last character of a symbol is "*", all symbols beginning'
47711 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47712 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47713 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47714 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47715 echo ' C runtime DLLs.'
47716 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47717 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47718 echo ' unchanged to GCC at the end of command line.'
47719 echo '*> If you create a DLL from a library and you do not specify -o,'
47720 echo ' the basename for DLL and import library will be set to library name,'
47721 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47722 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47723 echo ' library will be renamed into gcc_s.a.'
47724 echo '--------'
47725 echo 'Example:'
47726 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47727 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47728 CleanUp
47729 exit 1
47730 }
47731
47732 # Execute a command.
47733 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47734 # @Uses Whatever CleanUp() uses.
47735 doCommand() {
47736 echo "${D}*"
47737 eval ${D}*
47738 rcCmd=${D}?
47739
47740 if [ ${D}rcCmd -ne 0 ]; then
47741 echo "command failed, exit code="${D}rcCmd
47742 CleanUp
47743 exit ${D}rcCmd
47744 fi
47745 }
47746
47747 # main routine
47748 # setup globals
47749 cmdLine=${D}*
47750 outFile=""
47751 outimpFile=""
47752 inputFiles=""
47753 renameScript=""
47754 description=""
47755 CC=gcc.exe
47756 CFLAGS="-s -Zcrtdll"
47757 EXTRA_CFLAGS=""
47758 EXPORT_BY_ORDINALS=0
47759 exclude_symbols=""
47760 library_flags=""
47761 curDir=\`pwd\`
47762 curDirS=curDir
47763 case ${D}curDirS in
47764 */)
47765 ;;
47766 *)
47767 curDirS=${D}{curDirS}"/"
47768 ;;
47769 esac
47770 # Parse commandline
47771 libsToLink=0
47772 omfLinking=0
47773 while [ ${D}1 ]; do
47774 case ${D}1 in
47775 -ord*)
47776 EXPORT_BY_ORDINALS=1;
47777 ;;
47778 -o*)
47779 shift
47780 outFile=${D}1
47781 ;;
47782 -i*)
47783 shift
47784 outimpFile=${D}1
47785 ;;
47786 -name-mangler-script)
47787 shift
47788 renameScript=${D}1
47789 ;;
47790 -d*)
47791 shift
47792 description=${D}1
47793 ;;
47794 -f*)
47795 shift
47796 CFLAGS=${D}1
47797 ;;
47798 -c*)
47799 shift
47800 CC=${D}1
47801 ;;
47802 -h*)
47803 PrintHelp
47804 ;;
47805 -ex*)
47806 shift
47807 exclude_symbols=${D}{exclude_symbols}${D}1" "
47808 ;;
47809 -libf*)
47810 shift
47811 library_flags=${D}{library_flags}${D}1" "
47812 ;;
47813 -nocrt*)
47814 CFLAGS="-s"
47815 ;;
47816 -nolxl*)
47817 flag_USE_LXLITE=0
47818 ;;
47819 -* | /*)
47820 case ${D}1 in
47821 -L* | -l*)
47822 libsToLink=1
47823 ;;
47824 -Zomf)
47825 omfLinking=1
47826 ;;
47827 *)
47828 ;;
47829 esac
47830 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47831 ;;
47832 *.dll)
47833 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47834 if [ ${D}omfLinking -eq 1 ]; then
47835 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47836 else
47837 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47838 fi
47839 ;;
47840 *)
47841 found=0;
47842 if [ ${D}libsToLink -ne 0 ]; then
47843 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47844 else
47845 for file in ${D}1 ; do
47846 if [ -f ${D}file ]; then
47847 inputFiles="${D}{inputFiles} ${D}file"
47848 found=1
47849 fi
47850 done
47851 if [ ${D}found -eq 0 ]; then
47852 echo "ERROR: No file(s) found: "${D}1
47853 exit 8
47854 fi
47855 fi
47856 ;;
47857 esac
47858 shift
47859 done # iterate cmdline words
47860
47861 #
47862 if [ -z "${D}inputFiles" ]; then
47863 echo "dllar: no input files"
47864 PrintHelp
47865 fi
47866
47867 # Now extract all .o files from .a files
47868 newInputFiles=""
47869 for file in ${D}inputFiles ; do
47870 case ${D}file in
47871 *.a | *.lib)
47872 case ${D}file in
47873 *.a)
47874 suffix=".a"
47875 AR="ar"
47876 ;;
47877 *.lib)
47878 suffix=".lib"
47879 AR="emxomfar"
47880 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47881 ;;
47882 *)
47883 ;;
47884 esac
47885 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47886 mkdir ${D}dirname
47887 if [ ${D}? -ne 0 ]; then
47888 echo "Failed to create subdirectory ./${D}dirname"
47889 CleanUp
47890 exit 8;
47891 fi
47892 # Append '!' to indicate archive
47893 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47894 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47895 cd ${D}curDir
47896 found=0;
47897 for subfile in ${D}dirname/*.o* ; do
47898 if [ -f ${D}subfile ]; then
47899 found=1
47900 if [ -s ${D}subfile ]; then
47901 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47902 newInputFiles="${D}newInputFiles ${D}subfile"
47903 fi
47904 fi
47905 done
47906 if [ ${D}found -eq 0 ]; then
47907 echo "WARNING: there are no files in archive \\'${D}file\\'"
47908 fi
47909 ;;
47910 *)
47911 newInputFiles="${D}{newInputFiles} ${D}file"
47912 ;;
47913 esac
47914 done
47915 inputFiles="${D}newInputFiles"
47916
47917 # Output filename(s).
47918 do_backup=0;
47919 if [ -z ${D}outFile ]; then
47920 do_backup=1;
47921 set outFile ${D}inputFiles; outFile=${D}2
47922 fi
47923
47924 # If it is an archive, remove the '!' and the '_%' suffixes
47925 case ${D}outFile in
47926 *_%!)
47927 outFile=\`basnam ${D}outFile _%!\`
47928 ;;
47929 *)
47930 ;;
47931 esac
47932 case ${D}outFile in
47933 *.dll)
47934 outFile=\`basnam ${D}outFile .dll\`
47935 ;;
47936 *.DLL)
47937 outFile=\`basnam ${D}outFile .DLL\`
47938 ;;
47939 *.o)
47940 outFile=\`basnam ${D}outFile .o\`
47941 ;;
47942 *.obj)
47943 outFile=\`basnam ${D}outFile .obj\`
47944 ;;
47945 *.a)
47946 outFile=\`basnam ${D}outFile .a\`
47947 ;;
47948 *.lib)
47949 outFile=\`basnam ${D}outFile .lib\`
47950 ;;
47951 *)
47952 ;;
47953 esac
47954 case ${D}outimpFile in
47955 *.a)
47956 outimpFile=\`basnam ${D}outimpFile .a\`
47957 ;;
47958 *.lib)
47959 outimpFile=\`basnam ${D}outimpFile .lib\`
47960 ;;
47961 *)
47962 ;;
47963 esac
47964 if [ -z ${D}outimpFile ]; then
47965 outimpFile=${D}outFile
47966 fi
47967 defFile="${D}{outFile}.def"
47968 arcFile="${D}{outimpFile}.a"
47969 arcFile2="${D}{outimpFile}.lib"
47970
47971 #create ${D}dllFile as something matching 8.3 restrictions,
47972 if [ -z ${D}renameScript ] ; then
47973 dllFile="${D}outFile"
47974 else
47975 dllFile=\`${D}renameScript ${D}outimpFile\`
47976 fi
47977
47978 if [ ${D}do_backup -ne 0 ] ; then
47979 if [ -f ${D}arcFile ] ; then
47980 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47981 fi
47982 if [ -f ${D}arcFile2 ] ; then
47983 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47984 fi
47985 fi
47986
47987 # Extract public symbols from all the object files.
47988 tmpdefFile=${D}{defFile}_%
47989 rm -f ${D}tmpdefFile
47990 for file in ${D}inputFiles ; do
47991 case ${D}file in
47992 *!)
47993 ;;
47994 *)
47995 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47996 ;;
47997 esac
47998 done
47999
48000 # Create the def file.
48001 rm -f ${D}defFile
48002 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48003 dllFile="${D}{dllFile}.dll"
48004 if [ ! -z ${D}description ]; then
48005 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48006 fi
48007 echo "EXPORTS" >> ${D}defFile
48008
48009 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48010 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48011
48012 # Checks if the export is ok or not.
48013 for word in ${D}exclude_symbols; do
48014 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48015 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48016 done
48017
48018
48019 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48020 sed "=" < ${D}tmpdefFile | \\
48021 sed '
48022 N
48023 : loop
48024 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48025 t loop
48026 ' > ${D}{tmpdefFile}%
48027 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48028 else
48029 rm -f ${D}{tmpdefFile}%
48030 fi
48031 cat ${D}tmpdefFile >> ${D}defFile
48032 rm -f ${D}tmpdefFile
48033
48034 # Do linking, create implib, and apply lxlite.
48035 gccCmdl="";
48036 for file in ${D}inputFiles ; do
48037 case ${D}file in
48038 *!)
48039 ;;
48040 *)
48041 gccCmdl="${D}gccCmdl ${D}file"
48042 ;;
48043 esac
48044 done
48045 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48046 touch "${D}{outFile}.dll"
48047
48048 doCommand "emximp -o ${D}arcFile ${D}defFile"
48049 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48050 add_flags="";
48051 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48052 add_flags="-ynd"
48053 fi
48054 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48055 fi
48056 doCommand "emxomf -s -l ${D}arcFile"
48057
48058 # Successful exit.
48059 CleanUp 1
48060 exit 0
48061 EOF
48062
48063 chmod +x dllar.sh
48064 ;;
48065
48066 powerpc-apple-macos* | \
48067 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48068 *-*-sunos4* | \
48069 *-*-osf* | \
48070 *-*-dgux5* | \
48071 *-*-sysv5* | \
48072 *-pc-msdosdjgpp )
48073 ;;
48074
48075 *)
48076 esac
48077
48078 if test "x$PIC_FLAG" != "x" ; then
48079 PIC_FLAG="$PIC_FLAG -DPIC"
48080 fi
48081
48082 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48083 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48084 fi
48085 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48086 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48087 fi
48088
48089
48090
48091
48092
48093
48094
48095
48096
48097 USE_SOVERSION=0
48098 USE_SOVERLINUX=0
48099 USE_SOVERSOLARIS=0
48100 USE_SOVERCYGWIN=0
48101 USE_SOSYMLINKS=0
48102 USE_MACVERSION=0
48103 SONAME_FLAG=
48104
48105 case "${BAKEFILE_HOST}" in
48106 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48107 SONAME_FLAG="-Wl,-soname,"
48108 USE_SOVERSION=1
48109 USE_SOVERLINUX=1
48110 USE_SOSYMLINKS=1
48111 ;;
48112
48113 *-*-solaris2* )
48114 SONAME_FLAG="-h "
48115 USE_SOVERSION=1
48116 USE_SOVERSOLARIS=1
48117 USE_SOSYMLINKS=1
48118 ;;
48119
48120 *-*-darwin* )
48121 USE_MACVERSION=1
48122 USE_SOVERSION=1
48123 USE_SOSYMLINKS=1
48124 ;;
48125
48126 *-*-cygwin* )
48127 USE_SOVERSION=1
48128 USE_SOVERCYGWIN=1
48129 ;;
48130 esac
48131
48132
48133
48134
48135
48136
48137
48138
48139
48140
48141 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48142 if test "${enable_dependency_tracking+set}" = set; then
48143 enableval="$enable_dependency_tracking"
48144 bk_use_trackdeps="$enableval"
48145 fi;
48146
48147 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48148 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48149
48150 if test "x$bk_use_trackdeps" = "xno" ; then
48151 DEPS_TRACKING=0
48152 echo "$as_me:$LINENO: result: disabled" >&5
48153 echo "${ECHO_T}disabled" >&6
48154 else
48155 DEPS_TRACKING=1
48156
48157 if test "x$GCC" = "xyes"; then
48158 DEPSMODE=gcc
48159 case "${BAKEFILE_HOST}" in
48160 *-*-darwin* )
48161 DEPSFLAG="-no-cpp-precomp -MMD"
48162 ;;
48163 * )
48164 DEPSFLAG="-MMD"
48165 ;;
48166 esac
48167 echo "$as_me:$LINENO: result: gcc" >&5
48168 echo "${ECHO_T}gcc" >&6
48169 elif test "x$MWCC" = "xyes"; then
48170 DEPSMODE=mwcc
48171 DEPSFLAG="-MM"
48172 echo "$as_me:$LINENO: result: mwcc" >&5
48173 echo "${ECHO_T}mwcc" >&6
48174 elif test "x$SUNCC" = "xyes"; then
48175 DEPSMODE=unixcc
48176 DEPSFLAG="-xM1"
48177 echo "$as_me:$LINENO: result: Sun cc" >&5
48178 echo "${ECHO_T}Sun cc" >&6
48179 elif test "x$SGICC" = "xyes"; then
48180 DEPSMODE=unixcc
48181 DEPSFLAG="-M"
48182 echo "$as_me:$LINENO: result: SGI cc" >&5
48183 echo "${ECHO_T}SGI cc" >&6
48184 elif test "x$HPCC" = "xyes"; then
48185 DEPSMODE=unixcc
48186 DEPSFLAG="+make"
48187 echo "$as_me:$LINENO: result: HP cc" >&5
48188 echo "${ECHO_T}HP cc" >&6
48189 elif test "x$COMPAQCC" = "xyes"; then
48190 DEPSMODE=gcc
48191 DEPSFLAG="-MD"
48192 echo "$as_me:$LINENO: result: Compaq cc" >&5
48193 echo "${ECHO_T}Compaq cc" >&6
48194 else
48195 DEPS_TRACKING=0
48196 echo "$as_me:$LINENO: result: none" >&5
48197 echo "${ECHO_T}none" >&6
48198 fi
48199
48200 if test $DEPS_TRACKING = 1 ; then
48201
48202 D='$'
48203 cat <<EOF >bk-deps
48204 #!/bin/sh
48205
48206 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48207 # script. It is used to track C/C++ files dependencies in portable way.
48208 #
48209 # Permission is given to use this file in any way.
48210
48211 DEPSMODE=${DEPSMODE}
48212 DEPSDIR=.deps
48213 DEPSFLAG="${DEPSFLAG}"
48214
48215 mkdir -p ${D}DEPSDIR
48216
48217 if test ${D}DEPSMODE = gcc ; then
48218 ${D}* ${D}{DEPSFLAG}
48219 status=${D}?
48220 if test ${D}{status} != 0 ; then
48221 exit ${D}{status}
48222 fi
48223 # move created file to the location we want it in:
48224 while test ${D}# -gt 0; do
48225 case "${D}1" in
48226 -o )
48227 shift
48228 objfile=${D}1
48229 ;;
48230 -* )
48231 ;;
48232 * )
48233 srcfile=${D}1
48234 ;;
48235 esac
48236 shift
48237 done
48238 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48239 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48240 if test -f ${D}depfile ; then
48241 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48242 rm -f ${D}depfile
48243 else
48244 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48245 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48246 if test ! -f ${D}depfile ; then
48247 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48248 depfile="${D}objfile.d"
48249 fi
48250 if test -f ${D}depfile ; then
48251 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48252 rm -f ${D}depfile
48253 fi
48254 fi
48255 exit 0
48256 elif test ${D}DEPSMODE = mwcc ; then
48257 ${D}* || exit ${D}?
48258 # Run mwcc again with -MM and redirect into the dep file we want
48259 # NOTE: We can't use shift here because we need ${D}* to be valid
48260 prevarg=
48261 for arg in ${D}* ; do
48262 if test "${D}prevarg" = "-o"; then
48263 objfile=${D}arg
48264 else
48265 case "${D}arg" in
48266 -* )
48267 ;;
48268 * )
48269 srcfile=${D}arg
48270 ;;
48271 esac
48272 fi
48273 prevarg="${D}arg"
48274 done
48275 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48276 exit 0
48277 elif test ${D}DEPSMODE = unixcc; then
48278 ${D}* || exit ${D}?
48279 # Run compiler again with deps flag and redirect into the dep file.
48280 # It doesn't work if the '-o FILE' option is used, but without it the
48281 # dependency file will contain the wrong name for the object. So it is
48282 # removed from the command line, and the dep file is fixed with sed.
48283 cmd=""
48284 while test ${D}# -gt 0; do
48285 case "${D}1" in
48286 -o )
48287 shift
48288 objfile=${D}1
48289 ;;
48290 * )
48291 eval arg${D}#=\\${D}1
48292 cmd="${D}cmd \\${D}arg${D}#"
48293 ;;
48294 esac
48295 shift
48296 done
48297 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48298 exit 0
48299 else
48300 ${D}*
48301 exit ${D}?
48302 fi
48303 EOF
48304
48305 chmod +x bk-deps
48306 fi
48307 fi
48308
48309
48310
48311
48312 case ${BAKEFILE_HOST} in
48313 *-*-cygwin* | *-*-mingw32* )
48314 if test -n "$ac_tool_prefix"; then
48315 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48316 set dummy ${ac_tool_prefix}windres; ac_word=$2
48317 echo "$as_me:$LINENO: checking for $ac_word" >&5
48318 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48319 if test "${ac_cv_prog_WINDRES+set}" = set; then
48320 echo $ECHO_N "(cached) $ECHO_C" >&6
48321 else
48322 if test -n "$WINDRES"; then
48323 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48324 else
48325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48326 for as_dir in $PATH
48327 do
48328 IFS=$as_save_IFS
48329 test -z "$as_dir" && as_dir=.
48330 for ac_exec_ext in '' $ac_executable_extensions; do
48331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48332 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48334 break 2
48335 fi
48336 done
48337 done
48338
48339 fi
48340 fi
48341 WINDRES=$ac_cv_prog_WINDRES
48342 if test -n "$WINDRES"; then
48343 echo "$as_me:$LINENO: result: $WINDRES" >&5
48344 echo "${ECHO_T}$WINDRES" >&6
48345 else
48346 echo "$as_me:$LINENO: result: no" >&5
48347 echo "${ECHO_T}no" >&6
48348 fi
48349
48350 fi
48351 if test -z "$ac_cv_prog_WINDRES"; then
48352 ac_ct_WINDRES=$WINDRES
48353 # Extract the first word of "windres", so it can be a program name with args.
48354 set dummy windres; ac_word=$2
48355 echo "$as_me:$LINENO: checking for $ac_word" >&5
48356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48357 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48358 echo $ECHO_N "(cached) $ECHO_C" >&6
48359 else
48360 if test -n "$ac_ct_WINDRES"; then
48361 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48362 else
48363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48364 for as_dir in $PATH
48365 do
48366 IFS=$as_save_IFS
48367 test -z "$as_dir" && as_dir=.
48368 for ac_exec_ext in '' $ac_executable_extensions; do
48369 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48370 ac_cv_prog_ac_ct_WINDRES="windres"
48371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48372 break 2
48373 fi
48374 done
48375 done
48376
48377 fi
48378 fi
48379 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48380 if test -n "$ac_ct_WINDRES"; then
48381 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48382 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48383 else
48384 echo "$as_me:$LINENO: result: no" >&5
48385 echo "${ECHO_T}no" >&6
48386 fi
48387
48388 WINDRES=$ac_ct_WINDRES
48389 else
48390 WINDRES="$ac_cv_prog_WINDRES"
48391 fi
48392
48393 ;;
48394
48395 *-*-darwin* | powerpc-apple-macos* )
48396 # Extract the first word of "Rez", so it can be a program name with args.
48397 set dummy Rez; ac_word=$2
48398 echo "$as_me:$LINENO: checking for $ac_word" >&5
48399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48400 if test "${ac_cv_prog_REZ+set}" = set; then
48401 echo $ECHO_N "(cached) $ECHO_C" >&6
48402 else
48403 if test -n "$REZ"; then
48404 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48405 else
48406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48407 for as_dir in $PATH
48408 do
48409 IFS=$as_save_IFS
48410 test -z "$as_dir" && as_dir=.
48411 for ac_exec_ext in '' $ac_executable_extensions; do
48412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48413 ac_cv_prog_REZ="Rez"
48414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48415 break 2
48416 fi
48417 done
48418 done
48419
48420 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48421 fi
48422 fi
48423 REZ=$ac_cv_prog_REZ
48424 if test -n "$REZ"; then
48425 echo "$as_me:$LINENO: result: $REZ" >&5
48426 echo "${ECHO_T}$REZ" >&6
48427 else
48428 echo "$as_me:$LINENO: result: no" >&5
48429 echo "${ECHO_T}no" >&6
48430 fi
48431
48432 # Extract the first word of "SetFile", so it can be a program name with args.
48433 set dummy SetFile; ac_word=$2
48434 echo "$as_me:$LINENO: checking for $ac_word" >&5
48435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48436 if test "${ac_cv_prog_SETFILE+set}" = set; then
48437 echo $ECHO_N "(cached) $ECHO_C" >&6
48438 else
48439 if test -n "$SETFILE"; then
48440 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48441 else
48442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48443 for as_dir in $PATH
48444 do
48445 IFS=$as_save_IFS
48446 test -z "$as_dir" && as_dir=.
48447 for ac_exec_ext in '' $ac_executable_extensions; do
48448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48449 ac_cv_prog_SETFILE="SetFile"
48450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48451 break 2
48452 fi
48453 done
48454 done
48455
48456 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48457 fi
48458 fi
48459 SETFILE=$ac_cv_prog_SETFILE
48460 if test -n "$SETFILE"; then
48461 echo "$as_me:$LINENO: result: $SETFILE" >&5
48462 echo "${ECHO_T}$SETFILE" >&6
48463 else
48464 echo "$as_me:$LINENO: result: no" >&5
48465 echo "${ECHO_T}no" >&6
48466 fi
48467
48468 ;;
48469 esac
48470
48471
48472
48473
48474
48475
48476 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
48477
48478
48479 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
48480
48481
48482
48483 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48484 if test "${enable_precomp_headers+set}" = set; then
48485 enableval="$enable_precomp_headers"
48486 bk_use_pch="$enableval"
48487 fi;
48488
48489 GCC_PCH=0
48490 ICC_PCH=0
48491 USE_PCH=0
48492
48493 case ${BAKEFILE_HOST} in
48494 *-*-cygwin* )
48495 bk_use_pch="no"
48496 ;;
48497 esac
48498
48499 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48500 if test "x$GCC" = "xyes"; then
48501 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48502 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48503 cat >conftest.$ac_ext <<_ACEOF
48504 /* confdefs.h. */
48505 _ACEOF
48506 cat confdefs.h >>conftest.$ac_ext
48507 cat >>conftest.$ac_ext <<_ACEOF
48508 /* end confdefs.h. */
48509
48510 int
48511 main ()
48512 {
48513
48514 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48515 There is no PCH support
48516 #endif
48517 #if (__GNUC__ < 3)
48518 There is no PCH support
48519 #endif
48520 #if (__GNUC__ == 3) && \
48521 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48522 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48523 ( defined(__INTEL_COMPILER) )
48524 There is no PCH support
48525 #endif
48526
48527 ;
48528 return 0;
48529 }
48530 _ACEOF
48531 rm -f conftest.$ac_objext
48532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48533 (eval $ac_compile) 2>conftest.er1
48534 ac_status=$?
48535 grep -v '^ *+' conftest.er1 >conftest.err
48536 rm -f conftest.er1
48537 cat conftest.err >&5
48538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48539 (exit $ac_status); } &&
48540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48542 (eval $ac_try) 2>&5
48543 ac_status=$?
48544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48545 (exit $ac_status); }; } &&
48546 { ac_try='test -s conftest.$ac_objext'
48547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48548 (eval $ac_try) 2>&5
48549 ac_status=$?
48550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48551 (exit $ac_status); }; }; then
48552
48553 echo "$as_me:$LINENO: result: yes" >&5
48554 echo "${ECHO_T}yes" >&6
48555 GCC_PCH=1
48556
48557 else
48558 echo "$as_me: failed program was:" >&5
48559 sed 's/^/| /' conftest.$ac_ext >&5
48560
48561
48562 cat >conftest.$ac_ext <<_ACEOF
48563 /* confdefs.h. */
48564 _ACEOF
48565 cat confdefs.h >>conftest.$ac_ext
48566 cat >>conftest.$ac_ext <<_ACEOF
48567 /* end confdefs.h. */
48568
48569 int
48570 main ()
48571 {
48572
48573 #if !defined(__INTEL_COMPILER) || \
48574 (__INTEL_COMPILER < 800)
48575 There is no PCH support
48576 #endif
48577
48578 ;
48579 return 0;
48580 }
48581 _ACEOF
48582 rm -f conftest.$ac_objext
48583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48584 (eval $ac_compile) 2>conftest.er1
48585 ac_status=$?
48586 grep -v '^ *+' conftest.er1 >conftest.err
48587 rm -f conftest.er1
48588 cat conftest.err >&5
48589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48590 (exit $ac_status); } &&
48591 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48593 (eval $ac_try) 2>&5
48594 ac_status=$?
48595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48596 (exit $ac_status); }; } &&
48597 { ac_try='test -s conftest.$ac_objext'
48598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48599 (eval $ac_try) 2>&5
48600 ac_status=$?
48601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48602 (exit $ac_status); }; }; then
48603
48604 echo "$as_me:$LINENO: result: yes" >&5
48605 echo "${ECHO_T}yes" >&6
48606 ICC_PCH=1
48607
48608 else
48609 echo "$as_me: failed program was:" >&5
48610 sed 's/^/| /' conftest.$ac_ext >&5
48611
48612
48613 echo "$as_me:$LINENO: result: no" >&5
48614 echo "${ECHO_T}no" >&6
48615
48616 fi
48617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48618
48619 fi
48620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48621 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48622 USE_PCH=1
48623
48624 D='$'
48625 cat <<EOF >bk-make-pch
48626 #!/bin/sh
48627
48628 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48629 # script. It is used to generated precompiled headers.
48630 #
48631 # Permission is given to use this file in any way.
48632
48633 outfile="${D}{1}"
48634 header="${D}{2}"
48635 shift
48636 shift
48637
48638 compiler=""
48639 headerfile=""
48640
48641 while test ${D}{#} -gt 0; do
48642 add_to_cmdline=1
48643 case "${D}{1}" in
48644 -I* )
48645 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48646 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48647 headerfile="${D}{incdir}/${D}{header}"
48648 fi
48649 ;;
48650 -use-pch|-use_pch )
48651 shift
48652 add_to_cmdline=0
48653 ;;
48654 esac
48655 if test ${D}add_to_cmdline = 1 ; then
48656 compiler="${D}{compiler} ${D}{1}"
48657 fi
48658 shift
48659 done
48660
48661 if test "x${D}{headerfile}" = "x" ; then
48662 echo "error: can't find header ${D}{header} in include paths" >&2
48663 else
48664 if test -f ${D}{outfile} ; then
48665 rm -f ${D}{outfile}
48666 else
48667 mkdir -p \`dirname ${D}{outfile}\`
48668 fi
48669 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48670 mkdir -p .deps
48671 if test "x${GCC_PCH}" = "x1" ; then
48672 # can do this because gcc is >= 3.4:
48673 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48674 elif test "x${ICC_PCH}" = "x1" ; then
48675 filename=pch_gen-${D}${D}
48676 file=${D}{filename}.c
48677 dfile=${D}{filename}.d
48678 cat > ${D}file <<EOT
48679 #include "${D}header"
48680 EOT
48681 # using -MF icc complains about differing command lines in creation/use
48682 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48683 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48684 rm -f ${D}file ${D}dfile ${D}{filename}.o
48685 fi
48686 exit ${D}{?}
48687 fi
48688 EOF
48689
48690 chmod +x bk-make-pch
48691 fi
48692 fi
48693 fi
48694
48695
48696
48697
48698 COND_BUILD_DEBUG="#"
48699 if test "x$BUILD" = "xdebug" ; then
48700 COND_BUILD_DEBUG=""
48701 fi
48702
48703 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48704 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48705 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48706 fi
48707
48708 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48709 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48710 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48711 fi
48712
48713 COND_BUILD_DEBUG_UNICODE_0="#"
48714 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48715 COND_BUILD_DEBUG_UNICODE_0=""
48716 fi
48717
48718 COND_BUILD_DEBUG_UNICODE_1="#"
48719 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48720 COND_BUILD_DEBUG_UNICODE_1=""
48721 fi
48722
48723 COND_BUILD_RELEASE="#"
48724 if test "x$BUILD" = "xrelease" ; then
48725 COND_BUILD_RELEASE=""
48726 fi
48727
48728 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48729 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48730 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48731 fi
48732
48733 COND_BUILD_RELEASE_UNICODE_0="#"
48734 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48735 COND_BUILD_RELEASE_UNICODE_0=""
48736 fi
48737
48738 COND_BUILD_RELEASE_UNICODE_1="#"
48739 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48740 COND_BUILD_RELEASE_UNICODE_1=""
48741 fi
48742
48743 COND_DEBUG_FLAG_1="#"
48744 if test "x$DEBUG_FLAG" = "x1" ; then
48745 COND_DEBUG_FLAG_1=""
48746 fi
48747
48748 COND_DEBUG_INFO_0="#"
48749 if test "x$DEBUG_INFO" = "x0" ; then
48750 COND_DEBUG_INFO_0=""
48751 fi
48752
48753 COND_DEBUG_INFO_1="#"
48754 if test "x$DEBUG_INFO" = "x1" ; then
48755 COND_DEBUG_INFO_1=""
48756 fi
48757
48758 COND_DEPS_TRACKING_0="#"
48759 if test "x$DEPS_TRACKING" = "x0" ; then
48760 COND_DEPS_TRACKING_0=""
48761 fi
48762
48763 COND_DEPS_TRACKING_1="#"
48764 if test "x$DEPS_TRACKING" = "x1" ; then
48765 COND_DEPS_TRACKING_1=""
48766 fi
48767
48768 COND_GCC_PCH_1="#"
48769 if test "x$GCC_PCH" = "x1" ; then
48770 COND_GCC_PCH_1=""
48771 fi
48772
48773 COND_ICC_PCH_1="#"
48774 if test "x$ICC_PCH" = "x1" ; then
48775 COND_ICC_PCH_1=""
48776 fi
48777
48778 COND_MONOLITHIC_0="#"
48779 if test "x$MONOLITHIC" = "x0" ; then
48780 COND_MONOLITHIC_0=""
48781 fi
48782
48783 COND_MONOLITHIC_0_SHARED_0="#"
48784 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48785 COND_MONOLITHIC_0_SHARED_0=""
48786 fi
48787
48788 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48789 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48790 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48791 fi
48792
48793 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48794 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48795 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48796 fi
48797
48798 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48799 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48800 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48801 fi
48802
48803 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48804 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48805 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48806 fi
48807
48808 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48809 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48810 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48811 fi
48812
48813 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48814 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48815 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48816 fi
48817
48818 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48819 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48820 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48821 fi
48822
48823 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48824 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48825 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48826 fi
48827
48828 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48829 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48830 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48831 fi
48832
48833 COND_MONOLITHIC_0_SHARED_1="#"
48834 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48835 COND_MONOLITHIC_0_SHARED_1=""
48836 fi
48837
48838 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48839 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48841 fi
48842
48843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48844 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48846 fi
48847
48848 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48849 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48850 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48851 fi
48852
48853 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48854 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48855 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48856 fi
48857
48858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48859 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48861 fi
48862
48863 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48864 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48865 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48866 fi
48867
48868 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48869 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48870 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48871 fi
48872
48873 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48874 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48875 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48876 fi
48877
48878 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48879 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48880 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48881 fi
48882
48883 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48884 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48885 COND_MONOLITHIC_0_USE_MEDIA_1=""
48886 fi
48887
48888 COND_MONOLITHIC_0_USE_ODBC_1="#"
48889 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48890 COND_MONOLITHIC_0_USE_ODBC_1=""
48891 fi
48892
48893 COND_MONOLITHIC_1="#"
48894 if test "x$MONOLITHIC" = "x1" ; then
48895 COND_MONOLITHIC_1=""
48896 fi
48897
48898 COND_MONOLITHIC_1_SHARED_0="#"
48899 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48900 COND_MONOLITHIC_1_SHARED_0=""
48901 fi
48902
48903 COND_MONOLITHIC_1_SHARED_1="#"
48904 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48905 COND_MONOLITHIC_1_SHARED_1=""
48906 fi
48907
48908 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48909 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48910 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48911 fi
48912
48913 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48914 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48915 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48916 fi
48917
48918 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48919 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48920 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48921 fi
48922
48923 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48924 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48925 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48926 fi
48927
48928 COND_PLATFORM_MACOSX_1="#"
48929 if test "x$PLATFORM_MACOSX" = "x1" ; then
48930 COND_PLATFORM_MACOSX_1=""
48931 fi
48932
48933 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48934 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48935 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48936 fi
48937
48938 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48939 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48940 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48941 fi
48942
48943 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48944 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48945 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48946 fi
48947
48948 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48949 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48950 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48951 fi
48952
48953 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48954 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48955 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48956 fi
48957
48958 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48959 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48960 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48961 fi
48962
48963 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48964 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48965 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48966 fi
48967
48968 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48969 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48970 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48971 fi
48972
48973 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48974 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48975 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48976 fi
48977
48978 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48979 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48980 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48981 fi
48982
48983 COND_PLATFORM_MACOS_1="#"
48984 if test "x$PLATFORM_MACOS" = "x1" ; then
48985 COND_PLATFORM_MACOS_1=""
48986 fi
48987
48988 COND_PLATFORM_MAC_1="#"
48989 if test "x$PLATFORM_MAC" = "x1" ; then
48990 COND_PLATFORM_MAC_1=""
48991 fi
48992
48993 COND_PLATFORM_MSDOS_0="#"
48994 if test "x$PLATFORM_MSDOS" = "x0" ; then
48995 COND_PLATFORM_MSDOS_0=""
48996 fi
48997
48998 COND_PLATFORM_MSDOS_1="#"
48999 if test "x$PLATFORM_MSDOS" = "x1" ; then
49000 COND_PLATFORM_MSDOS_1=""
49001 fi
49002
49003 COND_PLATFORM_OS2_1="#"
49004 if test "x$PLATFORM_OS2" = "x1" ; then
49005 COND_PLATFORM_OS2_1=""
49006 fi
49007
49008 COND_PLATFORM_UNIX_0="#"
49009 if test "x$PLATFORM_UNIX" = "x0" ; then
49010 COND_PLATFORM_UNIX_0=""
49011 fi
49012
49013 COND_PLATFORM_UNIX_1="#"
49014 if test "x$PLATFORM_UNIX" = "x1" ; then
49015 COND_PLATFORM_UNIX_1=""
49016 fi
49017
49018 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49019 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49020 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49021 fi
49022
49023 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49024 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49025 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49026 fi
49027
49028 COND_PLATFORM_WIN32_0="#"
49029 if test "x$PLATFORM_WIN32" = "x0" ; then
49030 COND_PLATFORM_WIN32_0=""
49031 fi
49032
49033 COND_PLATFORM_WIN32_1="#"
49034 if test "x$PLATFORM_WIN32" = "x1" ; then
49035 COND_PLATFORM_WIN32_1=""
49036 fi
49037
49038 COND_SHARED_0="#"
49039 if test "x$SHARED" = "x0" ; then
49040 COND_SHARED_0=""
49041 fi
49042
49043 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49044 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49045 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49046 fi
49047
49048 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49049 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49050 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49051 fi
49052
49053 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49054 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49055 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49056 fi
49057
49058 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49059 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49060 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49061 fi
49062
49063 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49064 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49065 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49066 fi
49067
49068 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49069 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49070 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49071 fi
49072
49073 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49074 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49075 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49076 fi
49077
49078 COND_SHARED_0_USE_XRC_1="#"
49079 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49080 COND_SHARED_0_USE_XRC_1=""
49081 fi
49082
49083 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49084 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49085 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49086 fi
49087
49088 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49089 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49090 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49091 fi
49092
49093 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49094 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49095 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49096 fi
49097
49098 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49099 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49100 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49101 fi
49102
49103 COND_SHARED_1="#"
49104 if test "x$SHARED" = "x1" ; then
49105 COND_SHARED_1=""
49106 fi
49107
49108 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49109 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49110 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49111 fi
49112
49113 COND_SHARED_1_USE_XRC_1="#"
49114 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49115 COND_SHARED_1_USE_XRC_1=""
49116 fi
49117
49118 COND_TOOLKIT_="#"
49119 if test "x$TOOLKIT" = "x" ; then
49120 COND_TOOLKIT_=""
49121 fi
49122
49123 COND_TOOLKIT_COCOA="#"
49124 if test "x$TOOLKIT" = "xCOCOA" ; then
49125 COND_TOOLKIT_COCOA=""
49126 fi
49127
49128 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49129 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49130 COND_TOOLKIT_COCOA_USE_GUI_1=""
49131 fi
49132
49133 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49134 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49135 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49136 fi
49137
49138 COND_TOOLKIT_DFB="#"
49139 if test "x$TOOLKIT" = "xDFB" ; then
49140 COND_TOOLKIT_DFB=""
49141 fi
49142
49143 COND_TOOLKIT_DFB_USE_GUI_1="#"
49144 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49145 COND_TOOLKIT_DFB_USE_GUI_1=""
49146 fi
49147
49148 COND_TOOLKIT_GTK="#"
49149 if test "x$TOOLKIT" = "xGTK" ; then
49150 COND_TOOLKIT_GTK=""
49151 fi
49152
49153 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49154 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49155 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49156 fi
49157
49158 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49159 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49160 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49161 fi
49162
49163 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49164 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49165 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49166 fi
49167
49168 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49169 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49170 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49171 fi
49172
49173 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49174 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49175 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49176 fi
49177
49178 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49179 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49180 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49181 fi
49182
49183 COND_TOOLKIT_GTK_USE_GUI_1="#"
49184 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49185 COND_TOOLKIT_GTK_USE_GUI_1=""
49186 fi
49187
49188 COND_TOOLKIT_MAC="#"
49189 if test "x$TOOLKIT" = "xMAC" ; then
49190 COND_TOOLKIT_MAC=""
49191 fi
49192
49193 COND_TOOLKIT_MAC_USE_GUI_1="#"
49194 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49195 COND_TOOLKIT_MAC_USE_GUI_1=""
49196 fi
49197
49198 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49199 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49200 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49201 fi
49202
49203 COND_TOOLKIT_MGL="#"
49204 if test "x$TOOLKIT" = "xMGL" ; then
49205 COND_TOOLKIT_MGL=""
49206 fi
49207
49208 COND_TOOLKIT_MGL_USE_GUI_1="#"
49209 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49210 COND_TOOLKIT_MGL_USE_GUI_1=""
49211 fi
49212
49213 COND_TOOLKIT_MOTIF="#"
49214 if test "x$TOOLKIT" = "xMOTIF" ; then
49215 COND_TOOLKIT_MOTIF=""
49216 fi
49217
49218 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49219 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49220 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49221 fi
49222
49223 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49224 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49225 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49226 fi
49227
49228 COND_TOOLKIT_MSW="#"
49229 if test "x$TOOLKIT" = "xMSW" ; then
49230 COND_TOOLKIT_MSW=""
49231 fi
49232
49233 COND_TOOLKIT_MSW_USE_GUI_1="#"
49234 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49235 COND_TOOLKIT_MSW_USE_GUI_1=""
49236 fi
49237
49238 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49239 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49240 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49241 fi
49242
49243 COND_TOOLKIT_MSW_WXUNIV_0="#"
49244 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49245 COND_TOOLKIT_MSW_WXUNIV_0=""
49246 fi
49247
49248 COND_TOOLKIT_PM="#"
49249 if test "x$TOOLKIT" = "xPM" ; then
49250 COND_TOOLKIT_PM=""
49251 fi
49252
49253 COND_TOOLKIT_PM_USE_GUI_1="#"
49254 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49255 COND_TOOLKIT_PM_USE_GUI_1=""
49256 fi
49257
49258 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49259 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49260 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49261 fi
49262
49263 COND_TOOLKIT_WINCE="#"
49264 if test "x$TOOLKIT" = "xWINCE" ; then
49265 COND_TOOLKIT_WINCE=""
49266 fi
49267
49268 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49269 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49270 COND_TOOLKIT_WINCE_USE_GUI_1=""
49271 fi
49272
49273 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49274 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49275 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49276 fi
49277
49278 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49279 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49280 COND_TOOLKIT_WINCE_WXUNIV_0=""
49281 fi
49282
49283 COND_TOOLKIT_X11="#"
49284 if test "x$TOOLKIT" = "xX11" ; then
49285 COND_TOOLKIT_X11=""
49286 fi
49287
49288 COND_TOOLKIT_X11_USE_GUI_1="#"
49289 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49290 COND_TOOLKIT_X11_USE_GUI_1=""
49291 fi
49292
49293 COND_UNICODE_1="#"
49294 if test "x$UNICODE" = "x1" ; then
49295 COND_UNICODE_1=""
49296 fi
49297
49298 COND_USE_EXCEPTIONS_0="#"
49299 if test "x$USE_EXCEPTIONS" = "x0" ; then
49300 COND_USE_EXCEPTIONS_0=""
49301 fi
49302
49303 COND_USE_EXCEPTIONS_1="#"
49304 if test "x$USE_EXCEPTIONS" = "x1" ; then
49305 COND_USE_EXCEPTIONS_1=""
49306 fi
49307
49308 COND_USE_GUI_0="#"
49309 if test "x$USE_GUI" = "x0" ; then
49310 COND_USE_GUI_0=""
49311 fi
49312
49313 COND_USE_GUI_1="#"
49314 if test "x$USE_GUI" = "x1" ; then
49315 COND_USE_GUI_1=""
49316 fi
49317
49318 COND_USE_GUI_1_WXUNIV_0="#"
49319 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49320 COND_USE_GUI_1_WXUNIV_0=""
49321 fi
49322
49323 COND_USE_GUI_1_WXUNIV_1="#"
49324 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49325 COND_USE_GUI_1_WXUNIV_1=""
49326 fi
49327
49328 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49329 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49330 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49331 fi
49332
49333 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49334 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49335 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49336 fi
49337
49338 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49339 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49340 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49341 fi
49342
49343 COND_USE_ODBC_1="#"
49344 if test "x$USE_ODBC" = "x1" ; then
49345 COND_USE_ODBC_1=""
49346 fi
49347
49348 COND_USE_OPENGL_1="#"
49349 if test "x$USE_OPENGL" = "x1" ; then
49350 COND_USE_OPENGL_1=""
49351 fi
49352
49353 COND_USE_PCH_1="#"
49354 if test "x$USE_PCH" = "x1" ; then
49355 COND_USE_PCH_1=""
49356 fi
49357
49358 COND_USE_PLUGINS_0="#"
49359 if test "x$USE_PLUGINS" = "x0" ; then
49360 COND_USE_PLUGINS_0=""
49361 fi
49362
49363 COND_USE_RTTI_0="#"
49364 if test "x$USE_RTTI" = "x0" ; then
49365 COND_USE_RTTI_0=""
49366 fi
49367
49368 COND_USE_RTTI_1="#"
49369 if test "x$USE_RTTI" = "x1" ; then
49370 COND_USE_RTTI_1=""
49371 fi
49372
49373 COND_USE_SOSYMLINKS_1="#"
49374 if test "x$USE_SOSYMLINKS" = "x1" ; then
49375 COND_USE_SOSYMLINKS_1=""
49376 fi
49377
49378 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49379 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49380 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49381 fi
49382
49383 COND_USE_SOVERLINUX_1="#"
49384 if test "x$USE_SOVERLINUX" = "x1" ; then
49385 COND_USE_SOVERLINUX_1=""
49386 fi
49387
49388 COND_USE_SOVERSION_0="#"
49389 if test "x$USE_SOVERSION" = "x0" ; then
49390 COND_USE_SOVERSION_0=""
49391 fi
49392
49393 COND_USE_SOVERSOLARIS_1="#"
49394 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49395 COND_USE_SOVERSOLARIS_1=""
49396 fi
49397
49398 COND_USE_THREADS_0="#"
49399 if test "x$USE_THREADS" = "x0" ; then
49400 COND_USE_THREADS_0=""
49401 fi
49402
49403 COND_USE_THREADS_1="#"
49404 if test "x$USE_THREADS" = "x1" ; then
49405 COND_USE_THREADS_1=""
49406 fi
49407
49408 COND_USE_XRC_1="#"
49409 if test "x$USE_XRC" = "x1" ; then
49410 COND_USE_XRC_1=""
49411 fi
49412
49413 COND_WINDOWS_IMPLIB_1="#"
49414 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49415 COND_WINDOWS_IMPLIB_1=""
49416 fi
49417
49418 COND_WITH_PLUGIN_SDL_1="#"
49419 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49420 COND_WITH_PLUGIN_SDL_1=""
49421 fi
49422
49423 COND_WXUNIV_0="#"
49424 if test "x$WXUNIV" = "x0" ; then
49425 COND_WXUNIV_0=""
49426 fi
49427
49428 COND_WXUNIV_1="#"
49429 if test "x$WXUNIV" = "x1" ; then
49430 COND_WXUNIV_1=""
49431 fi
49432
49433 COND_WXUSE_EXPAT_BUILTIN="#"
49434 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49435 COND_WXUSE_EXPAT_BUILTIN=""
49436 fi
49437
49438 COND_WXUSE_LIBJPEG_BUILTIN="#"
49439 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49440 COND_WXUSE_LIBJPEG_BUILTIN=""
49441 fi
49442
49443 COND_WXUSE_LIBPNG_BUILTIN="#"
49444 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49445 COND_WXUSE_LIBPNG_BUILTIN=""
49446 fi
49447
49448 COND_WXUSE_LIBTIFF_BUILTIN="#"
49449 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49450 COND_WXUSE_LIBTIFF_BUILTIN=""
49451 fi
49452
49453 COND_WXUSE_ODBC_BUILTIN="#"
49454 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49455 COND_WXUSE_ODBC_BUILTIN=""
49456 fi
49457
49458 COND_WXUSE_REGEX_BUILTIN="#"
49459 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49460 COND_WXUSE_REGEX_BUILTIN=""
49461 fi
49462
49463 COND_WXUSE_ZLIB_BUILTIN="#"
49464 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49465 COND_WXUSE_ZLIB_BUILTIN=""
49466 fi
49467
49468
49469
49470 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49471 { { 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
49472 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;}
49473 { (exit 1); exit 1; }; }
49474 fi
49475
49476 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49477 { { 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
49478 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;}
49479 { (exit 1); exit 1; }; }
49480 fi
49481
49482
49483
49484 if test "$wxUSE_MAC" = 1 ; then
49485 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49486 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49487 mv temp bk-deps
49488 chmod +x bk-deps
49489 fi
49490 fi
49491
49492 if test "$wxUSE_SHARED" = "yes"; then
49493
49494 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49495 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49496
49497 case "${host}" in
49498 *-pc-os2_emx | *-pc-os2-emx )
49499 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49500 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49501 cp -p ${srcdir}/src/os2/dllnames.sh .
49502 cp -p ${srcdir}/src/os2/dllar.sh .
49503 ;;
49504 esac
49505 else
49506
49507 EXE_LINKER="$CXX -o"
49508
49509 fi
49510 if test "$wxUSE_OMF" = "yes"; then
49511 case "${host}" in
49512 *-pc-os2_emx | *-pc-os2-emx )
49513 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49514 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49515 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49516 ;;
49517 esac
49518 fi
49519
49520 if test $GCC_PCH = 1 ; then
49521 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49522 fi
49523
49524 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49525
49526 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49527
49528
49529
49530
49531
49532
49533
49534
49535
49536
49537
49538
49539
49540
49541
49542
49543
49544
49545
49546
49547
49548
49549
49550
49551
49552
49553
49554
49555
49556
49557
49558
49559
49560
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 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49589 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49590 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
49591 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49592 echo $ECHO_N "(cached) $ECHO_C" >&6
49593 else
49594 cat >conftest.make <<\_ACEOF
49595 all:
49596 @echo 'ac_maketemp="$(MAKE)"'
49597 _ACEOF
49598 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49599 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49600 if test -n "$ac_maketemp"; then
49601 eval ac_cv_prog_make_${ac_make}_set=yes
49602 else
49603 eval ac_cv_prog_make_${ac_make}_set=no
49604 fi
49605 rm -f conftest.make
49606 fi
49607 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49608 echo "$as_me:$LINENO: result: yes" >&5
49609 echo "${ECHO_T}yes" >&6
49610 SET_MAKE=
49611 else
49612 echo "$as_me:$LINENO: result: no" >&5
49613 echo "${ECHO_T}no" >&6
49614 SET_MAKE="MAKE=${MAKE-make}"
49615 fi
49616
49617
49618
49619 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49620
49621
49622 if test "$USE_WIN32" = 1; then
49623 ac_config_commands="$ac_config_commands
49624 rcdefs.h
49625 "
49626
49627 fi
49628
49629 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49630
49631
49632 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49633
49634
49635 ac_config_files="$ac_config_files version-script Makefile"
49636
49637
49638 ac_config_commands="$ac_config_commands wx-config"
49639
49640
49641
49642 if test "$wxWITH_SUBDIRS" != "no"; then
49643 if test "$wxUSE_GUI" = "yes"; then
49644 SUBDIRS="samples demos utils contrib"
49645 else SUBDIRS="samples utils"
49646 fi
49647
49648
49649
49650 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
49651 if test "${with_cppunit_prefix+set}" = set; then
49652 withval="$with_cppunit_prefix"
49653 cppunit_config_prefix="$withval"
49654 else
49655 cppunit_config_prefix=""
49656 fi;
49657
49658 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
49659 if test "${with_cppunit_exec_prefix+set}" = set; then
49660 withval="$with_cppunit_exec_prefix"
49661 cppunit_config_exec_prefix="$withval"
49662 else
49663 cppunit_config_exec_prefix=""
49664 fi;
49665
49666 if test x$cppunit_config_exec_prefix != x ; then
49667 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49668 if test x${CPPUNIT_CONFIG+set} != xset ; then
49669 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49670 fi
49671 fi
49672 if test x$cppunit_config_prefix != x ; then
49673 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49674 if test x${CPPUNIT_CONFIG+set} != xset ; then
49675 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49676 fi
49677 fi
49678
49679 # Extract the first word of "cppunit-config", so it can be a program name with args.
49680 set dummy cppunit-config; ac_word=$2
49681 echo "$as_me:$LINENO: checking for $ac_word" >&5
49682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49683 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49684 echo $ECHO_N "(cached) $ECHO_C" >&6
49685 else
49686 case $CPPUNIT_CONFIG in
49687 [\\/]* | ?:[\\/]*)
49688 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49689 ;;
49690 *)
49691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49692 for as_dir in $PATH
49693 do
49694 IFS=$as_save_IFS
49695 test -z "$as_dir" && as_dir=.
49696 for ac_exec_ext in '' $ac_executable_extensions; do
49697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49698 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49700 break 2
49701 fi
49702 done
49703 done
49704
49705 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49706 ;;
49707 esac
49708 fi
49709 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49710
49711 if test -n "$CPPUNIT_CONFIG"; then
49712 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49713 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
49714 else
49715 echo "$as_me:$LINENO: result: no" >&5
49716 echo "${ECHO_T}no" >&6
49717 fi
49718
49719 cppunit_version_min=1.8.0
49720
49721 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49722 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
49723 no_cppunit=""
49724 if test "$CPPUNIT_CONFIG" = "no" ; then
49725 echo "$as_me:$LINENO: result: no" >&5
49726 echo "${ECHO_T}no" >&6
49727 no_cppunit=yes
49728 else
49729 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49730 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49731 cppunit_version=`$CPPUNIT_CONFIG --version`
49732
49733 cppunit_major_version=`echo $cppunit_version | \
49734 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49735 cppunit_minor_version=`echo $cppunit_version | \
49736 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49737 cppunit_micro_version=`echo $cppunit_version | \
49738 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49739
49740 cppunit_major_min=`echo $cppunit_version_min | \
49741 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49742 cppunit_minor_min=`echo $cppunit_version_min | \
49743 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49744 cppunit_micro_min=`echo $cppunit_version_min | \
49745 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49746
49747 cppunit_version_proper=`expr \
49748 $cppunit_major_version \> $cppunit_major_min \| \
49749 $cppunit_major_version \= $cppunit_major_min \& \
49750 $cppunit_minor_version \> $cppunit_minor_min \| \
49751 $cppunit_major_version \= $cppunit_major_min \& \
49752 $cppunit_minor_version \= $cppunit_minor_min \& \
49753 $cppunit_micro_version \>= $cppunit_micro_min `
49754
49755 if test "$cppunit_version_proper" = "1" ; then
49756 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49757 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49758 else
49759 echo "$as_me:$LINENO: result: no" >&5
49760 echo "${ECHO_T}no" >&6
49761 no_cppunit=yes
49762 fi
49763 fi
49764
49765 if test "x$no_cppunit" = x ; then
49766 SUBDIRS="$SUBDIRS tests"
49767 else
49768 CPPUNIT_CFLAGS=""
49769 CPPUNIT_LIBS=""
49770 :
49771 fi
49772
49773
49774
49775
49776
49777 for subdir in `echo $SUBDIRS`; do
49778 if test -d ${srcdir}/${subdir} ; then
49779 if test "$wxUSE_GUI" = "yes"; then
49780 if test ${subdir} = "samples"; then
49781 makefiles="samples/Makefile.in $makefiles"
49782 for sample in `echo $SAMPLES_SUBDIRS`; do
49783 if test -d $srcdir/samples/$sample; then
49784 makefiles="samples/$sample/Makefile.in $makefiles"
49785 fi
49786 done
49787 else
49788 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49789 eval "disabled=\$$disabled_var"
49790 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49791 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
49792 fi
49793 else if test ${subdir} = "samples"; then
49794 makefiles="samples/Makefile.in samples/console/Makefile.in"
49795 elif test ${subdir} = "utils"; then
49796 makefiles=""
49797 for util in HelpGen tex2rtf ; do
49798 if test -d $srcdir/utils/$util ; then
49799 makefiles="utils/$util/Makefile.in \
49800 utils/$util/src/Makefile.in \
49801 $makefiles"
49802 fi
49803 done
49804 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49805 fi
49806 fi
49807
49808 for mkin in $makefiles ; do
49809 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49810 ac_config_files="$ac_config_files $mk"
49811
49812 done
49813 fi
49814 done
49815 fi
49816 cat >confcache <<\_ACEOF
49817 # This file is a shell script that caches the results of configure
49818 # tests run on this system so they can be shared between configure
49819 # scripts and configure runs, see configure's option --config-cache.
49820 # It is not useful on other systems. If it contains results you don't
49821 # want to keep, you may remove or edit it.
49822 #
49823 # config.status only pays attention to the cache file if you give it
49824 # the --recheck option to rerun configure.
49825 #
49826 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49827 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49828 # following values.
49829
49830 _ACEOF
49831
49832 # The following way of writing the cache mishandles newlines in values,
49833 # but we know of no workaround that is simple, portable, and efficient.
49834 # So, don't put newlines in cache variables' values.
49835 # Ultrix sh set writes to stderr and can't be redirected directly,
49836 # and sets the high bit in the cache file unless we assign to the vars.
49837 {
49838 (set) 2>&1 |
49839 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49840 *ac_space=\ *)
49841 # `set' does not quote correctly, so add quotes (double-quote
49842 # substitution turns \\\\ into \\, and sed turns \\ into \).
49843 sed -n \
49844 "s/'/'\\\\''/g;
49845 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49846 ;;
49847 *)
49848 # `set' quotes correctly as required by POSIX, so do not add quotes.
49849 sed -n \
49850 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49851 ;;
49852 esac;
49853 } |
49854 sed '
49855 t clear
49856 : clear
49857 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49858 t end
49859 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49860 : end' >>confcache
49861 if diff $cache_file confcache >/dev/null 2>&1; then :; else
49862 if test -w $cache_file; then
49863 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49864 cat confcache >$cache_file
49865 else
49866 echo "not updating unwritable cache $cache_file"
49867 fi
49868 fi
49869 rm -f confcache
49870
49871 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49872 # Let make expand exec_prefix.
49873 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49874
49875 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49876 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49877 # trailing colons and then remove the whole line if VPATH becomes empty
49878 # (actually we leave an empty line to preserve line numbers).
49879 if test "x$srcdir" = x.; then
49880 ac_vpsub='/^[ ]*VPATH[ ]*=/{
49881 s/:*\$(srcdir):*/:/;
49882 s/:*\${srcdir}:*/:/;
49883 s/:*@srcdir@:*/:/;
49884 s/^\([^=]*=[ ]*\):*/\1/;
49885 s/:*$//;
49886 s/^[^=]*=[ ]*$//;
49887 }'
49888 fi
49889
49890 DEFS=-DHAVE_CONFIG_H
49891
49892 ac_libobjs=
49893 ac_ltlibobjs=
49894 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49895 # 1. Remove the extension, and $U if already installed.
49896 ac_i=`echo "$ac_i" |
49897 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49898 # 2. Add them.
49899 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
49900 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
49901 done
49902 LIBOBJS=$ac_libobjs
49903
49904 LTLIBOBJS=$ac_ltlibobjs
49905
49906
49907
49908 : ${CONFIG_STATUS=./config.status}
49909 ac_clean_files_save=$ac_clean_files
49910 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49911 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49912 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49913 cat >$CONFIG_STATUS <<_ACEOF
49914 #! $SHELL
49915 # Generated by $as_me.
49916 # Run this file to recreate the current configuration.
49917 # Compiler output produced by configure, useful for debugging
49918 # configure, is in config.log if it exists.
49919
49920 debug=false
49921 ac_cs_recheck=false
49922 ac_cs_silent=false
49923 SHELL=\${CONFIG_SHELL-$SHELL}
49924 _ACEOF
49925
49926 cat >>$CONFIG_STATUS <<\_ACEOF
49927 ## --------------------- ##
49928 ## M4sh Initialization. ##
49929 ## --------------------- ##
49930
49931 # Be Bourne compatible
49932 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49933 emulate sh
49934 NULLCMD=:
49935 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49936 # is contrary to our usage. Disable this feature.
49937 alias -g '${1+"$@"}'='"$@"'
49938 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
49939 set -o posix
49940 fi
49941 DUALCASE=1; export DUALCASE # for MKS sh
49942
49943 # Support unset when possible.
49944 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49945 as_unset=unset
49946 else
49947 as_unset=false
49948 fi
49949
49950
49951 # Work around bugs in pre-3.0 UWIN ksh.
49952 $as_unset ENV MAIL MAILPATH
49953 PS1='$ '
49954 PS2='> '
49955 PS4='+ '
49956
49957 # NLS nuisances.
49958 for as_var in \
49959 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49960 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49961 LC_TELEPHONE LC_TIME
49962 do
49963 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49964 eval $as_var=C; export $as_var
49965 else
49966 $as_unset $as_var
49967 fi
49968 done
49969
49970 # Required to use basename.
49971 if expr a : '\(a\)' >/dev/null 2>&1; then
49972 as_expr=expr
49973 else
49974 as_expr=false
49975 fi
49976
49977 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
49978 as_basename=basename
49979 else
49980 as_basename=false
49981 fi
49982
49983
49984 # Name of the executable.
49985 as_me=`$as_basename "$0" ||
49986 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49987 X"$0" : 'X\(//\)$' \| \
49988 X"$0" : 'X\(/\)$' \| \
49989 . : '\(.\)' 2>/dev/null ||
49990 echo X/"$0" |
49991 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49992 /^X\/\(\/\/\)$/{ s//\1/; q; }
49993 /^X\/\(\/\).*/{ s//\1/; q; }
49994 s/.*/./; q'`
49995
49996
49997 # PATH needs CR, and LINENO needs CR and PATH.
49998 # Avoid depending upon Character Ranges.
49999 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50000 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50001 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50002 as_cr_digits='0123456789'
50003 as_cr_alnum=$as_cr_Letters$as_cr_digits
50004
50005 # The user is always right.
50006 if test "${PATH_SEPARATOR+set}" != set; then
50007 echo "#! /bin/sh" >conf$$.sh
50008 echo "exit 0" >>conf$$.sh
50009 chmod +x conf$$.sh
50010 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50011 PATH_SEPARATOR=';'
50012 else
50013 PATH_SEPARATOR=:
50014 fi
50015 rm -f conf$$.sh
50016 fi
50017
50018
50019 as_lineno_1=$LINENO
50020 as_lineno_2=$LINENO
50021 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50022 test "x$as_lineno_1" != "x$as_lineno_2" &&
50023 test "x$as_lineno_3" = "x$as_lineno_2" || {
50024 # Find who we are. Look in the path if we contain no path at all
50025 # relative or not.
50026 case $0 in
50027 *[\\/]* ) as_myself=$0 ;;
50028 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50029 for as_dir in $PATH
50030 do
50031 IFS=$as_save_IFS
50032 test -z "$as_dir" && as_dir=.
50033 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50034 done
50035
50036 ;;
50037 esac
50038 # We did not find ourselves, most probably we were run as `sh COMMAND'
50039 # in which case we are not to be found in the path.
50040 if test "x$as_myself" = x; then
50041 as_myself=$0
50042 fi
50043 if test ! -f "$as_myself"; then
50044 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50045 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50046 { (exit 1); exit 1; }; }
50047 fi
50048 case $CONFIG_SHELL in
50049 '')
50050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50051 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50052 do
50053 IFS=$as_save_IFS
50054 test -z "$as_dir" && as_dir=.
50055 for as_base in sh bash ksh sh5; do
50056 case $as_dir in
50057 /*)
50058 if ("$as_dir/$as_base" -c '
50059 as_lineno_1=$LINENO
50060 as_lineno_2=$LINENO
50061 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50062 test "x$as_lineno_1" != "x$as_lineno_2" &&
50063 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50064 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50065 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50066 CONFIG_SHELL=$as_dir/$as_base
50067 export CONFIG_SHELL
50068 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50069 fi;;
50070 esac
50071 done
50072 done
50073 ;;
50074 esac
50075
50076 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50077 # uniformly replaced by the line number. The first 'sed' inserts a
50078 # line-number line before each line; the second 'sed' does the real
50079 # work. The second script uses 'N' to pair each line-number line
50080 # with the numbered line, and appends trailing '-' during
50081 # substitution so that $LINENO is not a special case at line end.
50082 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50083 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50084 sed '=' <$as_myself |
50085 sed '
50086 N
50087 s,$,-,
50088 : loop
50089 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50090 t loop
50091 s,-$,,
50092 s,^['$as_cr_digits']*\n,,
50093 ' >$as_me.lineno &&
50094 chmod +x $as_me.lineno ||
50095 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50096 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50097 { (exit 1); exit 1; }; }
50098
50099 # Don't try to exec as it changes $[0], causing all sort of problems
50100 # (the dirname of $[0] is not the place where we might find the
50101 # original and so on. Autoconf is especially sensible to this).
50102 . ./$as_me.lineno
50103 # Exit status is that of the last command.
50104 exit
50105 }
50106
50107
50108 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50109 *c*,-n*) ECHO_N= ECHO_C='
50110 ' ECHO_T=' ' ;;
50111 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50112 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50113 esac
50114
50115 if expr a : '\(a\)' >/dev/null 2>&1; then
50116 as_expr=expr
50117 else
50118 as_expr=false
50119 fi
50120
50121 rm -f conf$$ conf$$.exe conf$$.file
50122 echo >conf$$.file
50123 if ln -s conf$$.file conf$$ 2>/dev/null; then
50124 # We could just check for DJGPP; but this test a) works b) is more generic
50125 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50126 if test -f conf$$.exe; then
50127 # Don't use ln at all; we don't have any links
50128 as_ln_s='cp -p'
50129 else
50130 as_ln_s='ln -s'
50131 fi
50132 elif ln conf$$.file conf$$ 2>/dev/null; then
50133 as_ln_s=ln
50134 else
50135 as_ln_s='cp -p'
50136 fi
50137 rm -f conf$$ conf$$.exe conf$$.file
50138
50139 if mkdir -p . 2>/dev/null; then
50140 as_mkdir_p=:
50141 else
50142 test -d ./-p && rmdir ./-p
50143 as_mkdir_p=false
50144 fi
50145
50146 as_executable_p="test -f"
50147
50148 # Sed expression to map a string onto a valid CPP name.
50149 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50150
50151 # Sed expression to map a string onto a valid variable name.
50152 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50153
50154
50155 # IFS
50156 # We need space, tab and new line, in precisely that order.
50157 as_nl='
50158 '
50159 IFS=" $as_nl"
50160
50161 # CDPATH.
50162 $as_unset CDPATH
50163
50164 exec 6>&1
50165
50166 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50167 # report actual input values of CONFIG_FILES etc. instead of their
50168 # values after options handling. Logging --version etc. is OK.
50169 exec 5>>config.log
50170 {
50171 echo
50172 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50173 ## Running $as_me. ##
50174 _ASBOX
50175 } >&5
50176 cat >&5 <<_CSEOF
50177
50178 This file was extended by wxWidgets $as_me 2.7.0, which was
50179 generated by GNU Autoconf 2.59. Invocation command line was
50180
50181 CONFIG_FILES = $CONFIG_FILES
50182 CONFIG_HEADERS = $CONFIG_HEADERS
50183 CONFIG_LINKS = $CONFIG_LINKS
50184 CONFIG_COMMANDS = $CONFIG_COMMANDS
50185 $ $0 $@
50186
50187 _CSEOF
50188 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50189 echo >&5
50190 _ACEOF
50191
50192 # Files that config.status was made for.
50193 if test -n "$ac_config_files"; then
50194 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50195 fi
50196
50197 if test -n "$ac_config_headers"; then
50198 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50199 fi
50200
50201 if test -n "$ac_config_links"; then
50202 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50203 fi
50204
50205 if test -n "$ac_config_commands"; then
50206 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50207 fi
50208
50209 cat >>$CONFIG_STATUS <<\_ACEOF
50210
50211 ac_cs_usage="\
50212 \`$as_me' instantiates files from templates according to the
50213 current configuration.
50214
50215 Usage: $0 [OPTIONS] [FILE]...
50216
50217 -h, --help print this help, then exit
50218 -V, --version print version number, then exit
50219 -q, --quiet do not print progress messages
50220 -d, --debug don't remove temporary files
50221 --recheck update $as_me by reconfiguring in the same conditions
50222 --file=FILE[:TEMPLATE]
50223 instantiate the configuration file FILE
50224 --header=FILE[:TEMPLATE]
50225 instantiate the configuration header FILE
50226
50227 Configuration files:
50228 $config_files
50229
50230 Configuration headers:
50231 $config_headers
50232
50233 Configuration commands:
50234 $config_commands
50235
50236 Report bugs to <bug-autoconf@gnu.org>."
50237 _ACEOF
50238
50239 cat >>$CONFIG_STATUS <<_ACEOF
50240 ac_cs_version="\\
50241 wxWidgets config.status 2.7.0
50242 configured by $0, generated by GNU Autoconf 2.59,
50243 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50244
50245 Copyright (C) 2003 Free Software Foundation, Inc.
50246 This config.status script is free software; the Free Software Foundation
50247 gives unlimited permission to copy, distribute and modify it."
50248 srcdir=$srcdir
50249 INSTALL="$INSTALL"
50250 _ACEOF
50251
50252 cat >>$CONFIG_STATUS <<\_ACEOF
50253 # If no file are specified by the user, then we need to provide default
50254 # value. By we need to know if files were specified by the user.
50255 ac_need_defaults=:
50256 while test $# != 0
50257 do
50258 case $1 in
50259 --*=*)
50260 ac_option=`expr "x$1" : 'x\([^=]*\)='`
50261 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
50262 ac_shift=:
50263 ;;
50264 -*)
50265 ac_option=$1
50266 ac_optarg=$2
50267 ac_shift=shift
50268 ;;
50269 *) # This is not an option, so the user has probably given explicit
50270 # arguments.
50271 ac_option=$1
50272 ac_need_defaults=false;;
50273 esac
50274
50275 case $ac_option in
50276 # Handling of the options.
50277 _ACEOF
50278 cat >>$CONFIG_STATUS <<\_ACEOF
50279 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50280 ac_cs_recheck=: ;;
50281 --version | --vers* | -V )
50282 echo "$ac_cs_version"; exit 0 ;;
50283 --he | --h)
50284 # Conflict between --help and --header
50285 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50286 Try \`$0 --help' for more information." >&5
50287 echo "$as_me: error: ambiguous option: $1
50288 Try \`$0 --help' for more information." >&2;}
50289 { (exit 1); exit 1; }; };;
50290 --help | --hel | -h )
50291 echo "$ac_cs_usage"; exit 0 ;;
50292 --debug | --d* | -d )
50293 debug=: ;;
50294 --file | --fil | --fi | --f )
50295 $ac_shift
50296 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50297 ac_need_defaults=false;;
50298 --header | --heade | --head | --hea )
50299 $ac_shift
50300 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50301 ac_need_defaults=false;;
50302 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50303 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50304 ac_cs_silent=: ;;
50305
50306 # This is an error.
50307 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50308 Try \`$0 --help' for more information." >&5
50309 echo "$as_me: error: unrecognized option: $1
50310 Try \`$0 --help' for more information." >&2;}
50311 { (exit 1); exit 1; }; } ;;
50312
50313 *) ac_config_targets="$ac_config_targets $1" ;;
50314
50315 esac
50316 shift
50317 done
50318
50319 ac_configure_extra_args=
50320
50321 if $ac_cs_silent; then
50322 exec 6>/dev/null
50323 ac_configure_extra_args="$ac_configure_extra_args --silent"
50324 fi
50325
50326 _ACEOF
50327 cat >>$CONFIG_STATUS <<_ACEOF
50328 if \$ac_cs_recheck; then
50329 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50330 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50331 fi
50332
50333 _ACEOF
50334
50335 cat >>$CONFIG_STATUS <<_ACEOF
50336 #
50337 # INIT-COMMANDS section.
50338 #
50339
50340
50341 CPP="$CPP"
50342 infile="$srcdir/include/wx/msw/genrcdefs.h"
50343 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50344
50345
50346 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50347 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50348 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50349 LN_S="${LN_S}"
50350
50351
50352 _ACEOF
50353
50354
50355
50356 cat >>$CONFIG_STATUS <<\_ACEOF
50357 for ac_config_target in $ac_config_targets
50358 do
50359 case "$ac_config_target" in
50360 # Handling of arguments.
50361 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50362 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50363 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
50364 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50365 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
50366 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50367 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50368 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50369 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50370 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50371 { (exit 1); exit 1; }; };;
50372 esac
50373 done
50374
50375 # If the user did not use the arguments to specify the items to instantiate,
50376 # then the envvar interface is used. Set only those that are not.
50377 # We use the long form for the default assignment because of an extremely
50378 # bizarre bug on SunOS 4.1.3.
50379 if $ac_need_defaults; then
50380 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50381 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50382 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50383 fi
50384
50385 # Have a temporary directory for convenience. Make it in the build tree
50386 # simply because there is no reason to put it here, and in addition,
50387 # creating and moving files from /tmp can sometimes cause problems.
50388 # Create a temporary directory, and hook for its removal unless debugging.
50389 $debug ||
50390 {
50391 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50392 trap '{ (exit 1); exit 1; }' 1 2 13 15
50393 }
50394
50395 # Create a (secure) tmp directory for tmp files.
50396
50397 {
50398 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50399 test -n "$tmp" && test -d "$tmp"
50400 } ||
50401 {
50402 tmp=./confstat$$-$RANDOM
50403 (umask 077 && mkdir $tmp)
50404 } ||
50405 {
50406 echo "$me: cannot create a temporary directory in ." >&2
50407 { (exit 1); exit 1; }
50408 }
50409
50410 _ACEOF
50411
50412 cat >>$CONFIG_STATUS <<_ACEOF
50413
50414 #
50415 # CONFIG_FILES section.
50416 #
50417
50418 # No need to generate the scripts if there are no CONFIG_FILES.
50419 # This happens for instance when ./config.status config.h
50420 if test -n "\$CONFIG_FILES"; then
50421 # Protect against being on the right side of a sed subst in config.status.
50422 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50423 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50424 s,@SHELL@,$SHELL,;t t
50425 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50426 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50427 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50428 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50429 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50430 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50431 s,@exec_prefix@,$exec_prefix,;t t
50432 s,@prefix@,$prefix,;t t
50433 s,@program_transform_name@,$program_transform_name,;t t
50434 s,@bindir@,$bindir,;t t
50435 s,@sbindir@,$sbindir,;t t
50436 s,@libexecdir@,$libexecdir,;t t
50437 s,@datadir@,$datadir,;t t
50438 s,@sysconfdir@,$sysconfdir,;t t
50439 s,@sharedstatedir@,$sharedstatedir,;t t
50440 s,@localstatedir@,$localstatedir,;t t
50441 s,@libdir@,$libdir,;t t
50442 s,@includedir@,$includedir,;t t
50443 s,@oldincludedir@,$oldincludedir,;t t
50444 s,@infodir@,$infodir,;t t
50445 s,@mandir@,$mandir,;t t
50446 s,@build_alias@,$build_alias,;t t
50447 s,@host_alias@,$host_alias,;t t
50448 s,@target_alias@,$target_alias,;t t
50449 s,@DEFS@,$DEFS,;t t
50450 s,@ECHO_C@,$ECHO_C,;t t
50451 s,@ECHO_N@,$ECHO_N,;t t
50452 s,@ECHO_T@,$ECHO_T,;t t
50453 s,@LIBS@,$LIBS,;t t
50454 s,@build@,$build,;t t
50455 s,@build_cpu@,$build_cpu,;t t
50456 s,@build_vendor@,$build_vendor,;t t
50457 s,@build_os@,$build_os,;t t
50458 s,@host@,$host,;t t
50459 s,@host_cpu@,$host_cpu,;t t
50460 s,@host_vendor@,$host_vendor,;t t
50461 s,@host_os@,$host_os,;t t
50462 s,@target@,$target,;t t
50463 s,@target_cpu@,$target_cpu,;t t
50464 s,@target_vendor@,$target_vendor,;t t
50465 s,@target_os@,$target_os,;t t
50466 s,@CC@,$CC,;t t
50467 s,@CFLAGS@,$CFLAGS,;t t
50468 s,@LDFLAGS@,$LDFLAGS,;t t
50469 s,@CPPFLAGS@,$CPPFLAGS,;t t
50470 s,@ac_ct_CC@,$ac_ct_CC,;t t
50471 s,@EXEEXT@,$EXEEXT,;t t
50472 s,@OBJEXT@,$OBJEXT,;t t
50473 s,@CPP@,$CPP,;t t
50474 s,@EGREP@,$EGREP,;t t
50475 s,@CXX@,$CXX,;t t
50476 s,@CXXFLAGS@,$CXXFLAGS,;t t
50477 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50478 s,@RANLIB@,$RANLIB,;t t
50479 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50480 s,@AR@,$AR,;t t
50481 s,@ac_ct_AR@,$ac_ct_AR,;t t
50482 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50483 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50484 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50485 s,@STRIP@,$STRIP,;t t
50486 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50487 s,@WINDRES@,$WINDRES,;t t
50488 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50489 s,@DLLTOOL@,$DLLTOOL,;t t
50490 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50491 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50492 s,@LN_S@,$LN_S,;t t
50493 s,@CXXCPP@,$CXXCPP,;t t
50494 s,@subdirs@,$subdirs,;t t
50495 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50496 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50497 s,@GTK_LIBS@,$GTK_LIBS,;t t
50498 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50499 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50500 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50501 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50502 s,@X_CFLAGS@,$X_CFLAGS,;t t
50503 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50504 s,@X_LIBS@,$X_LIBS,;t t
50505 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50506 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50507 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50508 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50509 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50510 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50511 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50512 s,@REZ@,$REZ,;t t
50513 s,@DEREZ@,$DEREZ,;t t
50514 s,@SETFILE@,$SETFILE,;t t
50515 s,@LIBICONV@,$LIBICONV,;t t
50516 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50517 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50518 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50519 s,@SDL_LIBS@,$SDL_LIBS,;t t
50520 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50521 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50522 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50523 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50524 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50525 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50526 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50527 s,@GST_LIBS@,$GST_LIBS,;t t
50528 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50529 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50530 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50531 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50532 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50533 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50534 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50535 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50536 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50537 s,@VENDOR@,$VENDOR,;t t
50538 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50539 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50540 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50541 s,@WXUNIV@,$WXUNIV,;t t
50542 s,@MONOLITHIC@,$MONOLITHIC,;t t
50543 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50544 s,@EXTRALIBS@,$EXTRALIBS,;t t
50545 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50546 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50547 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50548 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50549 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50550 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50551 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50552 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50553 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50554 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50555 s,@UNICODE@,$UNICODE,;t t
50556 s,@BUILD@,$BUILD,;t t
50557 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50558 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50559 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50560 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50561 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50562 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50563 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50564 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50565 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50566 s,@SET_MAKE@,$SET_MAKE,;t t
50567 s,@MAKE_SET@,$MAKE_SET,;t t
50568 s,@NM@,$NM,;t t
50569 s,@ac_ct_NM@,$ac_ct_NM,;t t
50570 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50571 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50572 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50573 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50574 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50575 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50576 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50577 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50578 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50579 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50580 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50581 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50582 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50583 s,@LIBPREFIX@,$LIBPREFIX,;t t
50584 s,@LIBEXT@,$LIBEXT,;t t
50585 s,@DLLPREFIX@,$DLLPREFIX,;t t
50586 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50587 s,@dlldir@,$dlldir,;t t
50588 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50589 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50590 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50591 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50592 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50593 s,@PIC_FLAG@,$PIC_FLAG,;t t
50594 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50595 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50596 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50597 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50598 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50599 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50600 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50601 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50602 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50603 s,@GCC_PCH@,$GCC_PCH,;t t
50604 s,@ICC_PCH@,$ICC_PCH,;t t
50605 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50606 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50607 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50608 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50609 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50610 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50611 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50612 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50613 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50614 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50615 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50616 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50617 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50618 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50619 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50620 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50621 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50622 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50623 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50624 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50625 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
50626 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
50627 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
50628 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
50629 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
50630 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
50631 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
50632 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
50633 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
50634 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
50635 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
50636 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
50637 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
50638 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
50639 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
50640 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
50641 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
50642 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
50643 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
50644 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
50645 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
50646 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
50647 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
50648 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
50649 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
50650 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
50651 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
50652 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
50653 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
50654 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
50655 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
50656 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
50657 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
50658 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
50659 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
50660 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
50661 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
50662 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
50663 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
50664 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
50665 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
50666 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
50667 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
50668 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
50669 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50670 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50671 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50672 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50673 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50674 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50675 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50676 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50677 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50678 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50679 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50680 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50681 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50682 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50683 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50684 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50685 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50686 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50687 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50688 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50689 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50690 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50691 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50692 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50693 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
50694 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
50695 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50696 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50697 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50698 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50699 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
50700 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50701 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50702 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50703 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50704 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50705 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50706 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50707 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50708 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50709 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50710 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
50711 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
50712 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
50713 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
50714 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
50715 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
50716 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
50717 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
50718 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
50719 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
50720 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
50721 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
50722 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
50723 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
50724 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
50725 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
50726 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
50727 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
50728 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
50729 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
50730 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
50731 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50732 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50733 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50734 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
50735 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
50736 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
50737 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
50738 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
50739 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
50740 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
50741 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
50742 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
50743 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
50744 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
50745 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
50746 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
50747 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
50748 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
50749 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
50750 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
50751 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
50752 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
50753 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
50754 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
50755 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
50756 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
50757 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
50758 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
50759 s,@SHARED@,$SHARED,;t t
50760 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50761 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50762 s,@USE_GUI@,$USE_GUI,;t t
50763 s,@AFMINSTALL@,$AFMINSTALL,;t t
50764 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50765 s,@TOOLKIT@,$TOOLKIT,;t t
50766 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50767 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50768 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50769 s,@cross_compiling@,$cross_compiling,;t t
50770 s,@WIDGET_SET@,$WIDGET_SET,;t t
50771 s,@WX_RELEASE@,$WX_RELEASE,;t t
50772 s,@WX_VERSION@,$WX_VERSION,;t t
50773 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50774 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50775 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50776 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50777 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50778 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50779 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50780 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50781 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50782 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50783 s,@EXE_LINKER@,$EXE_LINKER,;t t
50784 s,@GUIDIST@,$GUIDIST,;t t
50785 s,@DISTDIR@,$DISTDIR,;t t
50786 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50787 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50788 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50789 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50790 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50791 s,@RESCOMP@,$RESCOMP,;t t
50792 s,@RESFLAGS@,$RESFLAGS,;t t
50793 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50794 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50795 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50796 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50797 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50798 s,@MACSETFILE@,$MACSETFILE,;t t
50799 s,@GCC@,$GCC,;t t
50800 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50801 s,@LIBOBJS@,$LIBOBJS,;t t
50802 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50803 CEOF
50804
50805 _ACEOF
50806
50807 cat >>$CONFIG_STATUS <<\_ACEOF
50808 # Split the substitutions into bite-sized pieces for seds with
50809 # small command number limits, like on Digital OSF/1 and HP-UX.
50810 ac_max_sed_lines=48
50811 ac_sed_frag=1 # Number of current file.
50812 ac_beg=1 # First line for current file.
50813 ac_end=$ac_max_sed_lines # Line after last line for current file.
50814 ac_more_lines=:
50815 ac_sed_cmds=
50816 while $ac_more_lines; do
50817 if test $ac_beg -gt 1; then
50818 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
50819 else
50820 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
50821 fi
50822 if test ! -s $tmp/subs.frag; then
50823 ac_more_lines=false
50824 else
50825 # The purpose of the label and of the branching condition is to
50826 # speed up the sed processing (if there are no `@' at all, there
50827 # is no need to browse any of the substitutions).
50828 # These are the two extra sed commands mentioned above.
50829 (echo ':t
50830 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
50831 if test -z "$ac_sed_cmds"; then
50832 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
50833 else
50834 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50835 fi
50836 ac_sed_frag=`expr $ac_sed_frag + 1`
50837 ac_beg=$ac_end
50838 ac_end=`expr $ac_end + $ac_max_sed_lines`
50839 fi
50840 done
50841 if test -z "$ac_sed_cmds"; then
50842 ac_sed_cmds=cat
50843 fi
50844 fi # test -n "$CONFIG_FILES"
50845
50846 _ACEOF
50847 cat >>$CONFIG_STATUS <<\_ACEOF
50848 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
50849 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50850 case $ac_file in
50851 - | *:- | *:-:* ) # input from stdin
50852 cat >$tmp/stdin
50853 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50854 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50855 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50856 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50857 * ) ac_file_in=$ac_file.in ;;
50858 esac
50859
50860 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50861 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50862 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50863 X"$ac_file" : 'X\(//\)[^/]' \| \
50864 X"$ac_file" : 'X\(//\)$' \| \
50865 X"$ac_file" : 'X\(/\)' \| \
50866 . : '\(.\)' 2>/dev/null ||
50867 echo X"$ac_file" |
50868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50869 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50870 /^X\(\/\/\)$/{ s//\1/; q; }
50871 /^X\(\/\).*/{ s//\1/; q; }
50872 s/.*/./; q'`
50873 { if $as_mkdir_p; then
50874 mkdir -p "$ac_dir"
50875 else
50876 as_dir="$ac_dir"
50877 as_dirs=
50878 while test ! -d "$as_dir"; do
50879 as_dirs="$as_dir $as_dirs"
50880 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50882 X"$as_dir" : 'X\(//\)[^/]' \| \
50883 X"$as_dir" : 'X\(//\)$' \| \
50884 X"$as_dir" : 'X\(/\)' \| \
50885 . : '\(.\)' 2>/dev/null ||
50886 echo X"$as_dir" |
50887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50888 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50889 /^X\(\/\/\)$/{ s//\1/; q; }
50890 /^X\(\/\).*/{ s//\1/; q; }
50891 s/.*/./; q'`
50892 done
50893 test ! -n "$as_dirs" || mkdir $as_dirs
50894 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50895 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50896 { (exit 1); exit 1; }; }; }
50897
50898 ac_builddir=.
50899
50900 if test "$ac_dir" != .; then
50901 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50902 # A "../" for each directory in $ac_dir_suffix.
50903 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50904 else
50905 ac_dir_suffix= ac_top_builddir=
50906 fi
50907
50908 case $srcdir in
50909 .) # No --srcdir option. We are building in place.
50910 ac_srcdir=.
50911 if test -z "$ac_top_builddir"; then
50912 ac_top_srcdir=.
50913 else
50914 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50915 fi ;;
50916 [\\/]* | ?:[\\/]* ) # Absolute path.
50917 ac_srcdir=$srcdir$ac_dir_suffix;
50918 ac_top_srcdir=$srcdir ;;
50919 *) # Relative path.
50920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50922 esac
50923
50924 # Do not use `cd foo && pwd` to compute absolute paths, because
50925 # the directories may not exist.
50926 case `pwd` in
50927 .) ac_abs_builddir="$ac_dir";;
50928 *)
50929 case "$ac_dir" in
50930 .) ac_abs_builddir=`pwd`;;
50931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50932 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50933 esac;;
50934 esac
50935 case $ac_abs_builddir in
50936 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50937 *)
50938 case ${ac_top_builddir}. in
50939 .) ac_abs_top_builddir=$ac_abs_builddir;;
50940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50942 esac;;
50943 esac
50944 case $ac_abs_builddir in
50945 .) ac_abs_srcdir=$ac_srcdir;;
50946 *)
50947 case $ac_srcdir in
50948 .) ac_abs_srcdir=$ac_abs_builddir;;
50949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50951 esac;;
50952 esac
50953 case $ac_abs_builddir in
50954 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50955 *)
50956 case $ac_top_srcdir in
50957 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50960 esac;;
50961 esac
50962
50963
50964 case $INSTALL in
50965 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50966 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
50967 esac
50968
50969 # Let's still pretend it is `configure' which instantiates (i.e., don't
50970 # use $as_me), people would be surprised to read:
50971 # /* config.h. Generated by config.status. */
50972 if test x"$ac_file" = x-; then
50973 configure_input=
50974 else
50975 configure_input="$ac_file. "
50976 fi
50977 configure_input=$configure_input"Generated from `echo $ac_file_in |
50978 sed 's,.*/,,'` by configure."
50979
50980 # First look for the input files in the build tree, otherwise in the
50981 # src tree.
50982 ac_file_inputs=`IFS=:
50983 for f in $ac_file_in; do
50984 case $f in
50985 -) echo $tmp/stdin ;;
50986 [\\/$]*)
50987 # Absolute (can't be DOS-style, as IFS=:)
50988 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50989 echo "$as_me: error: cannot find input file: $f" >&2;}
50990 { (exit 1); exit 1; }; }
50991 echo "$f";;
50992 *) # Relative
50993 if test -f "$f"; then
50994 # Build tree
50995 echo "$f"
50996 elif test -f "$srcdir/$f"; then
50997 # Source tree
50998 echo "$srcdir/$f"
50999 else
51000 # /dev/null tree
51001 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51002 echo "$as_me: error: cannot find input file: $f" >&2;}
51003 { (exit 1); exit 1; }; }
51004 fi;;
51005 esac
51006 done` || { (exit 1); exit 1; }
51007
51008 if test x"$ac_file" != x-; then
51009 { echo "$as_me:$LINENO: creating $ac_file" >&5
51010 echo "$as_me: creating $ac_file" >&6;}
51011 rm -f "$ac_file"
51012 fi
51013 _ACEOF
51014 cat >>$CONFIG_STATUS <<_ACEOF
51015 sed "$ac_vpsub
51016 $extrasub
51017 _ACEOF
51018 cat >>$CONFIG_STATUS <<\_ACEOF
51019 :t
51020 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51021 s,@configure_input@,$configure_input,;t t
51022 s,@srcdir@,$ac_srcdir,;t t
51023 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51024 s,@top_srcdir@,$ac_top_srcdir,;t t
51025 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51026 s,@builddir@,$ac_builddir,;t t
51027 s,@abs_builddir@,$ac_abs_builddir,;t t
51028 s,@top_builddir@,$ac_top_builddir,;t t
51029 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51030 s,@INSTALL@,$ac_INSTALL,;t t
51031 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51032 rm -f $tmp/stdin
51033 if test x"$ac_file" != x-; then
51034 mv $tmp/out $ac_file
51035 else
51036 cat $tmp/out
51037 rm -f $tmp/out
51038 fi
51039
51040 # Run the commands associated with the file.
51041 case $ac_file in
51042 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51043 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51044 esac
51045 done
51046 _ACEOF
51047 cat >>$CONFIG_STATUS <<\_ACEOF
51048
51049 #
51050 # CONFIG_HEADER section.
51051 #
51052
51053 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51054 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51055 #
51056 # ac_d sets the value in "#define NAME VALUE" lines.
51057 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51058 ac_dB='[ ].*$,\1#\2'
51059 ac_dC=' '
51060 ac_dD=',;t'
51061 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51062 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51063 ac_uB='$,\1#\2define\3'
51064 ac_uC=' '
51065 ac_uD=',;t'
51066
51067 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51068 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51069 case $ac_file in
51070 - | *:- | *:-:* ) # input from stdin
51071 cat >$tmp/stdin
51072 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51073 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51074 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51075 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51076 * ) ac_file_in=$ac_file.in ;;
51077 esac
51078
51079 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51080 echo "$as_me: creating $ac_file" >&6;}
51081
51082 # First look for the input files in the build tree, otherwise in the
51083 # src tree.
51084 ac_file_inputs=`IFS=:
51085 for f in $ac_file_in; do
51086 case $f in
51087 -) echo $tmp/stdin ;;
51088 [\\/$]*)
51089 # Absolute (can't be DOS-style, as IFS=:)
51090 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51091 echo "$as_me: error: cannot find input file: $f" >&2;}
51092 { (exit 1); exit 1; }; }
51093 # Do quote $f, to prevent DOS paths from being IFS'd.
51094 echo "$f";;
51095 *) # Relative
51096 if test -f "$f"; then
51097 # Build tree
51098 echo "$f"
51099 elif test -f "$srcdir/$f"; then
51100 # Source tree
51101 echo "$srcdir/$f"
51102 else
51103 # /dev/null tree
51104 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51105 echo "$as_me: error: cannot find input file: $f" >&2;}
51106 { (exit 1); exit 1; }; }
51107 fi;;
51108 esac
51109 done` || { (exit 1); exit 1; }
51110 # Remove the trailing spaces.
51111 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51112
51113 _ACEOF
51114
51115 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51116 # `conftest.undefs', that substitutes the proper values into
51117 # config.h.in to produce config.h. The first handles `#define'
51118 # templates, and the second `#undef' templates.
51119 # And first: Protect against being on the right side of a sed subst in
51120 # config.status. Protect against being in an unquoted here document
51121 # in config.status.
51122 rm -f conftest.defines conftest.undefs
51123 # Using a here document instead of a string reduces the quoting nightmare.
51124 # Putting comments in sed scripts is not portable.
51125 #
51126 # `end' is used to avoid that the second main sed command (meant for
51127 # 0-ary CPP macros) applies to n-ary macro definitions.
51128 # See the Autoconf documentation for `clear'.
51129 cat >confdef2sed.sed <<\_ACEOF
51130 s/[\\&,]/\\&/g
51131 s,[\\$`],\\&,g
51132 t clear
51133 : clear
51134 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51135 t end
51136 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51137 : end
51138 _ACEOF
51139 # If some macros were called several times there might be several times
51140 # the same #defines, which is useless. Nevertheless, we may not want to
51141 # sort them, since we want the *last* AC-DEFINE to be honored.
51142 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51143 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51144 rm -f confdef2sed.sed
51145
51146 # This sed command replaces #undef with comments. This is necessary, for
51147 # example, in the case of _POSIX_SOURCE, which is predefined and required
51148 # on some systems where configure will not decide to define it.
51149 cat >>conftest.undefs <<\_ACEOF
51150 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51151 _ACEOF
51152
51153 # Break up conftest.defines because some shells have a limit on the size
51154 # of here documents, and old seds have small limits too (100 cmds).
51155 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51156 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51157 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51158 echo ' :' >>$CONFIG_STATUS
51159 rm -f conftest.tail
51160 while grep . conftest.defines >/dev/null
51161 do
51162 # Write a limited-size here document to $tmp/defines.sed.
51163 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51164 # Speed up: don't consider the non `#define' lines.
51165 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51166 # Work around the forget-to-reset-the-flag bug.
51167 echo 't clr' >>$CONFIG_STATUS
51168 echo ': clr' >>$CONFIG_STATUS
51169 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
51170 echo 'CEOF
51171 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51172 rm -f $tmp/in
51173 mv $tmp/out $tmp/in
51174 ' >>$CONFIG_STATUS
51175 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
51176 rm -f conftest.defines
51177 mv conftest.tail conftest.defines
51178 done
51179 rm -f conftest.defines
51180 echo ' fi # grep' >>$CONFIG_STATUS
51181 echo >>$CONFIG_STATUS
51182
51183 # Break up conftest.undefs because some shells have a limit on the size
51184 # of here documents, and old seds have small limits too (100 cmds).
51185 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51186 rm -f conftest.tail
51187 while grep . conftest.undefs >/dev/null
51188 do
51189 # Write a limited-size here document to $tmp/undefs.sed.
51190 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51191 # Speed up: don't consider the non `#undef'
51192 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51193 # Work around the forget-to-reset-the-flag bug.
51194 echo 't clr' >>$CONFIG_STATUS
51195 echo ': clr' >>$CONFIG_STATUS
51196 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51197 echo 'CEOF
51198 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51199 rm -f $tmp/in
51200 mv $tmp/out $tmp/in
51201 ' >>$CONFIG_STATUS
51202 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51203 rm -f conftest.undefs
51204 mv conftest.tail conftest.undefs
51205 done
51206 rm -f conftest.undefs
51207
51208 cat >>$CONFIG_STATUS <<\_ACEOF
51209 # Let's still pretend it is `configure' which instantiates (i.e., don't
51210 # use $as_me), people would be surprised to read:
51211 # /* config.h. Generated by config.status. */
51212 if test x"$ac_file" = x-; then
51213 echo "/* Generated by configure. */" >$tmp/config.h
51214 else
51215 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51216 fi
51217 cat $tmp/in >>$tmp/config.h
51218 rm -f $tmp/in
51219 if test x"$ac_file" != x-; then
51220 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
51221 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51222 echo "$as_me: $ac_file is unchanged" >&6;}
51223 else
51224 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51225 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51226 X"$ac_file" : 'X\(//\)[^/]' \| \
51227 X"$ac_file" : 'X\(//\)$' \| \
51228 X"$ac_file" : 'X\(/\)' \| \
51229 . : '\(.\)' 2>/dev/null ||
51230 echo X"$ac_file" |
51231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51232 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51233 /^X\(\/\/\)$/{ s//\1/; q; }
51234 /^X\(\/\).*/{ s//\1/; q; }
51235 s/.*/./; q'`
51236 { if $as_mkdir_p; then
51237 mkdir -p "$ac_dir"
51238 else
51239 as_dir="$ac_dir"
51240 as_dirs=
51241 while test ! -d "$as_dir"; do
51242 as_dirs="$as_dir $as_dirs"
51243 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51244 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51245 X"$as_dir" : 'X\(//\)[^/]' \| \
51246 X"$as_dir" : 'X\(//\)$' \| \
51247 X"$as_dir" : 'X\(/\)' \| \
51248 . : '\(.\)' 2>/dev/null ||
51249 echo X"$as_dir" |
51250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51251 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51252 /^X\(\/\/\)$/{ s//\1/; q; }
51253 /^X\(\/\).*/{ s//\1/; q; }
51254 s/.*/./; q'`
51255 done
51256 test ! -n "$as_dirs" || mkdir $as_dirs
51257 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51258 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51259 { (exit 1); exit 1; }; }; }
51260
51261 rm -f $ac_file
51262 mv $tmp/config.h $ac_file
51263 fi
51264 else
51265 cat $tmp/config.h
51266 rm -f $tmp/config.h
51267 fi
51268 done
51269 _ACEOF
51270 cat >>$CONFIG_STATUS <<\_ACEOF
51271
51272 #
51273 # CONFIG_COMMANDS section.
51274 #
51275 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
51276 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
51277 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
51278 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
51279 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51280 X"$ac_dest" : 'X\(//\)[^/]' \| \
51281 X"$ac_dest" : 'X\(//\)$' \| \
51282 X"$ac_dest" : 'X\(/\)' \| \
51283 . : '\(.\)' 2>/dev/null ||
51284 echo X"$ac_dest" |
51285 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51286 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51287 /^X\(\/\/\)$/{ s//\1/; q; }
51288 /^X\(\/\).*/{ s//\1/; q; }
51289 s/.*/./; q'`
51290 { if $as_mkdir_p; then
51291 mkdir -p "$ac_dir"
51292 else
51293 as_dir="$ac_dir"
51294 as_dirs=
51295 while test ! -d "$as_dir"; do
51296 as_dirs="$as_dir $as_dirs"
51297 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51299 X"$as_dir" : 'X\(//\)[^/]' \| \
51300 X"$as_dir" : 'X\(//\)$' \| \
51301 X"$as_dir" : 'X\(/\)' \| \
51302 . : '\(.\)' 2>/dev/null ||
51303 echo X"$as_dir" |
51304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51305 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51306 /^X\(\/\/\)$/{ s//\1/; q; }
51307 /^X\(\/\).*/{ s//\1/; q; }
51308 s/.*/./; q'`
51309 done
51310 test ! -n "$as_dirs" || mkdir $as_dirs
51311 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51312 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51313 { (exit 1); exit 1; }; }; }
51314
51315 ac_builddir=.
51316
51317 if test "$ac_dir" != .; then
51318 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51319 # A "../" for each directory in $ac_dir_suffix.
51320 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51321 else
51322 ac_dir_suffix= ac_top_builddir=
51323 fi
51324
51325 case $srcdir in
51326 .) # No --srcdir option. We are building in place.
51327 ac_srcdir=.
51328 if test -z "$ac_top_builddir"; then
51329 ac_top_srcdir=.
51330 else
51331 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51332 fi ;;
51333 [\\/]* | ?:[\\/]* ) # Absolute path.
51334 ac_srcdir=$srcdir$ac_dir_suffix;
51335 ac_top_srcdir=$srcdir ;;
51336 *) # Relative path.
51337 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51338 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51339 esac
51340
51341 # Do not use `cd foo && pwd` to compute absolute paths, because
51342 # the directories may not exist.
51343 case `pwd` in
51344 .) ac_abs_builddir="$ac_dir";;
51345 *)
51346 case "$ac_dir" in
51347 .) ac_abs_builddir=`pwd`;;
51348 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51349 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51350 esac;;
51351 esac
51352 case $ac_abs_builddir in
51353 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51354 *)
51355 case ${ac_top_builddir}. in
51356 .) ac_abs_top_builddir=$ac_abs_builddir;;
51357 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51358 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51359 esac;;
51360 esac
51361 case $ac_abs_builddir in
51362 .) ac_abs_srcdir=$ac_srcdir;;
51363 *)
51364 case $ac_srcdir in
51365 .) ac_abs_srcdir=$ac_abs_builddir;;
51366 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51367 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51368 esac;;
51369 esac
51370 case $ac_abs_builddir in
51371 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51372 *)
51373 case $ac_top_srcdir in
51374 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51375 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51376 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51377 esac;;
51378 esac
51379
51380
51381 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51382 echo "$as_me: executing $ac_dest commands" >&6;}
51383 case $ac_dest in
51384 rcdefs.h )
51385 mkdir -p $outdir &&
51386 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51387 ;;
51388 wx-config ) rm -f wx-config
51389 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51390 ;;
51391 esac
51392 done
51393 _ACEOF
51394
51395 cat >>$CONFIG_STATUS <<\_ACEOF
51396
51397 { (exit 0); exit 0; }
51398 _ACEOF
51399 chmod +x $CONFIG_STATUS
51400 ac_clean_files=$ac_clean_files_save
51401
51402
51403 # configure is writing to config.log, and then calls config.status.
51404 # config.status does its own redirection, appending to config.log.
51405 # Unfortunately, on DOS this fails, as config.log is still kept open
51406 # by configure, so config.status won't be able to write to it; its
51407 # output is simply discarded. So we exec the FD to /dev/null,
51408 # effectively closing config.log, so it can be properly (re)opened and
51409 # appended to by config.status. When coming back to configure, we
51410 # need to make the FD available again.
51411 if test "$no_create" != yes; then
51412 ac_cs_success=:
51413 ac_config_status_args=
51414 test "$silent" = yes &&
51415 ac_config_status_args="$ac_config_status_args --quiet"
51416 exec 5>/dev/null
51417 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51418 exec 5>>config.log
51419 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51420 # would make configure fail if this is the last instruction.
51421 $ac_cs_success || { (exit 1); exit 1; }
51422 fi
51423
51424 #
51425 # CONFIG_SUBDIRS section.
51426 #
51427 if test "$no_recursion" != yes; then
51428
51429 # Remove --cache-file and --srcdir arguments so they do not pile up.
51430 ac_sub_configure_args=
51431 ac_prev=
51432 for ac_arg in $ac_configure_args; do
51433 if test -n "$ac_prev"; then
51434 ac_prev=
51435 continue
51436 fi
51437 case $ac_arg in
51438 -cache-file | --cache-file | --cache-fil | --cache-fi \
51439 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51440 ac_prev=cache_file ;;
51441 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51442 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51443 | --c=*)
51444 ;;
51445 --config-cache | -C)
51446 ;;
51447 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51448 ac_prev=srcdir ;;
51449 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51450 ;;
51451 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51452 ac_prev=prefix ;;
51453 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51454 ;;
51455 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
51456 esac
51457 done
51458
51459 # Always prepend --prefix to ensure using the same prefix
51460 # in subdir configurations.
51461 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
51462
51463 ac_popdir=`pwd`
51464 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51465
51466 # Do not complain, so a configure script can configure whichever
51467 # parts of a large source tree are present.
51468 test -d $srcdir/$ac_dir || continue
51469
51470 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51471 echo "$as_me: configuring in $ac_dir" >&6;}
51472 { if $as_mkdir_p; then
51473 mkdir -p "$ac_dir"
51474 else
51475 as_dir="$ac_dir"
51476 as_dirs=
51477 while test ! -d "$as_dir"; do
51478 as_dirs="$as_dir $as_dirs"
51479 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51480 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51481 X"$as_dir" : 'X\(//\)[^/]' \| \
51482 X"$as_dir" : 'X\(//\)$' \| \
51483 X"$as_dir" : 'X\(/\)' \| \
51484 . : '\(.\)' 2>/dev/null ||
51485 echo X"$as_dir" |
51486 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51487 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51488 /^X\(\/\/\)$/{ s//\1/; q; }
51489 /^X\(\/\).*/{ s//\1/; q; }
51490 s/.*/./; q'`
51491 done
51492 test ! -n "$as_dirs" || mkdir $as_dirs
51493 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51494 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51495 { (exit 1); exit 1; }; }; }
51496
51497 ac_builddir=.
51498
51499 if test "$ac_dir" != .; then
51500 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51501 # A "../" for each directory in $ac_dir_suffix.
51502 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51503 else
51504 ac_dir_suffix= ac_top_builddir=
51505 fi
51506
51507 case $srcdir in
51508 .) # No --srcdir option. We are building in place.
51509 ac_srcdir=.
51510 if test -z "$ac_top_builddir"; then
51511 ac_top_srcdir=.
51512 else
51513 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51514 fi ;;
51515 [\\/]* | ?:[\\/]* ) # Absolute path.
51516 ac_srcdir=$srcdir$ac_dir_suffix;
51517 ac_top_srcdir=$srcdir ;;
51518 *) # Relative path.
51519 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51520 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51521 esac
51522
51523 # Do not use `cd foo && pwd` to compute absolute paths, because
51524 # the directories may not exist.
51525 case `pwd` in
51526 .) ac_abs_builddir="$ac_dir";;
51527 *)
51528 case "$ac_dir" in
51529 .) ac_abs_builddir=`pwd`;;
51530 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51531 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51532 esac;;
51533 esac
51534 case $ac_abs_builddir in
51535 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51536 *)
51537 case ${ac_top_builddir}. in
51538 .) ac_abs_top_builddir=$ac_abs_builddir;;
51539 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51540 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51541 esac;;
51542 esac
51543 case $ac_abs_builddir in
51544 .) ac_abs_srcdir=$ac_srcdir;;
51545 *)
51546 case $ac_srcdir in
51547 .) ac_abs_srcdir=$ac_abs_builddir;;
51548 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51549 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51550 esac;;
51551 esac
51552 case $ac_abs_builddir in
51553 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51554 *)
51555 case $ac_top_srcdir in
51556 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51557 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51558 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51559 esac;;
51560 esac
51561
51562
51563 cd $ac_dir
51564
51565 # Check for guested configure; otherwise get Cygnus style configure.
51566 if test -f $ac_srcdir/configure.gnu; then
51567 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
51568 elif test -f $ac_srcdir/configure; then
51569 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
51570 elif test -f $ac_srcdir/configure.in; then
51571 ac_sub_configure=$ac_configure
51572 else
51573 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51574 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51575 ac_sub_configure=
51576 fi
51577
51578 # The recursion is here.
51579 if test -n "$ac_sub_configure"; then
51580 # Make the cache file name correct relative to the subdirectory.
51581 case $cache_file in
51582 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51583 *) # Relative path.
51584 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
51585 esac
51586
51587 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51588 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51589 # The eval makes quoting arguments work.
51590 eval $ac_sub_configure $ac_sub_configure_args \
51591 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51592 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51593 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51594 { (exit 1); exit 1; }; }
51595 fi
51596
51597 cd "$ac_popdir"
51598 done
51599 fi
51600
51601
51602 echo
51603 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51604 echo ""
51605 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51606 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51607
51608 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51609 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51610 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51611
51612 echo " What level of wxWidgets compatibility should be enabled?"
51613 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
51614 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
51615
51616 echo " Which libraries should wxWidgets use?"
51617 echo " jpeg ${wxUSE_LIBJPEG-none}"
51618 echo " png ${wxUSE_LIBPNG-none}"
51619 echo " regex ${wxUSE_REGEX}"
51620 echo " tiff ${wxUSE_LIBTIFF-none}"
51621 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51622 echo " xpm ${wxUSE_LIBXPM-none}"
51623 fi
51624 echo " zlib ${wxUSE_ZLIB}"
51625 echo " odbc ${wxUSE_ODBC}"
51626 echo " expat ${wxUSE_EXPAT}"
51627 echo " libmspack ${wxUSE_LIBMSPACK}"
51628 echo " sdl ${wxUSE_LIBSDL}"
51629
51630 echo ""
51631