]> git.saurik.com Git - wxWidgets.git/blob - configure
Change def of WX_LINGUAS so it works on OS X.
[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 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_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
790 #
791 # Report the --help message.
792 #
793 if test "$ac_init_help" = "long"; then
794 # Omit some internal or obsolete options to make the list less imposing.
795 # This message is too long to be a string in the A/UX 3.1 sh.
796 cat <<_ACEOF
797 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
798
799 Usage: $0 [OPTION]... [VAR=VALUE]...
800
801 To assign environment variables (e.g., CC, CFLAGS...), specify them as
802 VAR=VALUE. See below for descriptions of some of the useful variables.
803
804 Defaults for the options are specified in brackets.
805
806 Configuration:
807 -h, --help display this help and exit
808 --help=short display options specific to this package
809 --help=recursive display the short help of all the included packages
810 -V, --version display version information and exit
811 -q, --quiet, --silent do not print \`checking...' messages
812 --cache-file=FILE cache test results in FILE [disabled]
813 -C, --config-cache alias for \`--cache-file=config.cache'
814 -n, --no-create do not create output files
815 --srcdir=DIR find the sources in DIR [configure dir or \`..']
816
817 _ACEOF
818
819 cat <<_ACEOF
820 Installation directories:
821 --prefix=PREFIX install architecture-independent files in PREFIX
822 [$ac_default_prefix]
823 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
824 [PREFIX]
825
826 By default, \`make install' will install all the files in
827 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
828 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
829 for instance \`--prefix=\$HOME'.
830
831 For better control, use the options below.
832
833 Fine tuning of the installation directories:
834 --bindir=DIR user executables [EPREFIX/bin]
835 --sbindir=DIR system admin executables [EPREFIX/sbin]
836 --libexecdir=DIR program executables [EPREFIX/libexec]
837 --datadir=DIR read-only architecture-independent data [PREFIX/share]
838 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
839 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
840 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
841 --libdir=DIR object code libraries [EPREFIX/lib]
842 --includedir=DIR C header files [PREFIX/include]
843 --oldincludedir=DIR C header files for non-gcc [/usr/include]
844 --infodir=DIR info documentation [PREFIX/info]
845 --mandir=DIR man documentation [PREFIX/man]
846 _ACEOF
847
848 cat <<\_ACEOF
849
850 X features:
851 --x-includes=DIR X include files are in DIR
852 --x-libraries=DIR X library files are in DIR
853
854 System types:
855 --build=BUILD configure for building on BUILD [guessed]
856 --host=HOST cross-compile to build programs to run on HOST [BUILD]
857 --target=TARGET configure for building compilers for TARGET [HOST]
858 _ACEOF
859 fi
860
861 if test -n "$ac_init_help"; then
862 case $ac_init_help in
863 short | recursive ) echo "Configuration of wxWidgets 2.7.0:";;
864 esac
865 cat <<\_ACEOF
866
867 Optional Features:
868 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
869 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
870 --enable-gui use GUI classes
871 --enable-monolithic build wxWidgets as single library
872 --enable-plugins build parts of wxWidgets as loadable components
873 --enable-universal use wxWidgets GUI controls instead of native ones
874 --enable-nanox use NanoX
875 --disable-gtk2 use GTK+ 1.2 instead of 2.0
876 --enable-gpe use GNOME PDA Environment features if possible
877 --enable-shared create shared library code
878 --enable-optimise create optimised code
879 --enable-debug same as debug_flag and debug_info
880 --enable-stl use STL for containers
881 --enable-omf use OMF object format
882 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
883 --enable-debug_info create code with debugging information
884 --enable-debug_gdb create code with extra GDB debugging information
885 --enable-debug_cntxt use wxDebugContext
886 --enable-mem_tracing create code with memory tracing
887 --enable-profile create code with profiling information
888 --enable-no_rtti create code without RTTI information
889 --enable-no_exceptions create code without C++ exceptions handling
890 --enable-permissive compile code disregarding strict ANSI
891 --enable-no_deps create code without dependency information
892 --enable-universal_binary create Mac PowerPC and Intel Universal binary (not yet working)
893 --enable-compat24 enable wxWidgets 2.4 compatibility
894 --disable-compat26 disable wxWidgets 2.6 compatibility
895 --disable-rpath disable use of rpath for uninstalled builds
896 --enable-intl use internationalization system
897 --enable-config use wxConfig (and derived) classes
898 --enable-protocols use wxProtocol and derived classes
899 --enable-ftp use wxFTP (requires wxProtocol
900 --enable-http use wxHTTP (requires wxProtocol
901 --enable-fileproto use wxFileProto class (requires wxProtocol
902 --enable-sockets use socket/network classes
903 --enable-ole use OLE classes (Win32 only)
904 --enable-dataobj use data object classes
905 --enable-ipc use interprocess communication (wxSocket etc.)
906 --enable-apple_ieee use the Apple IEEE codec
907 --enable-arcstream use wxArchive streams
908 --enable-backtrace use wxStackWalker class for getting backtraces
909 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
910 --enable-cmdline use wxCmdLineParser class
911 --enable-datetime use wxDateTime class
912 --enable-debugreport use wxDebugReport class
913 --enable-dialupman use dialup network classes
914 --enable-dynlib use wxLibrary class for DLL loading
915 --enable-dynamicloader use (new) wxDynamicLibrary class
916 --enable-exceptions build exception-safe library
917 --enable-ffile use wxFFile class
918 --enable-file use wxFile class
919 --enable-filesystem use virtual file systems classes
920 --enable-fontmap use font encodings conversion classes
921 --enable-fs_inet use virtual HTTP/FTP filesystems
922 --enable-fs_zip use virtual ZIP filesystems
923 --enable-geometry use geometry class
924 --enable-log use logging system
925 --enable-longlong use wxLongLong class
926 --enable-mimetype use wxMimeTypesManager
927 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
928 --enable-snglinst use wxSingleInstanceChecker class
929 --enable-std_iostreams use standard C++ stream classes
930 --enable-std_string use standard C++ string classes
931 --enable-stdpaths use wxStandardPaths class
932 --enable-stopwatch use wxStopWatch class
933 --enable-streams use wxStream etc classes
934 --enable-sysoptions use wxSystemOptions
935 --enable-textbuf use wxTextBuffer class
936 --enable-textfile use wxTextFile class
937 --enable-timer use wxTimer class
938 --enable-unicode compile wxString with Unicode support
939 --enable-sound use wxSound class
940 --enable-mediactrl use wxMediaCtrl class
941 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
942 --enable-printfposparam use wxVsnprintf() which supports positional parameters
943 --enable-zipstream use wxZip streams
944 --enable-url use wxURL class
945 --enable-protocol use wxProtocol class
946 --enable-protocol-http HTTP support in wxProtocol
947 --enable-protocol-ftp FTP support in wxProtocol
948 --enable-protocol-file FILE support in wxProtocol
949 --enable-threads use threads
950 --enable-docview use document view architecture
951 --enable-help use help subsystem
952 --enable-mshtmlhelp use MS HTML Help (win32)
953 --enable-html use wxHTML sub-library
954 --enable-htmlhelp use wxHTML-based help
955 --enable-xrc use XRC resources sub-library
956 --enable-aui use AUI docking library
957 --enable-constraints use layout-constraints system
958 --enable-printarch use printing architecture
959 --enable-mdi use multiple document interface architecture
960 --enable-mdidoc use docview architecture with MDI
961 --enable-loggui use standard GUI logger
962 --enable-logwin use wxLogWindow
963 --enable-logdialog use wxLogDialog
964 --enable-webkit use wxWebKitCtrl (Mac)
965 --enable-richtext use wxRichTextCtrl
966 --enable-postscript use wxPostscriptDC device context (default for gtk+)
967 --enable-prologio not available; see contrib
968 --enable-resources not available; see contrib
969 --enable-clipboard use wxClipboard class
970 --enable-dnd use Drag'n'Drop classes
971 --enable-metafile use win32 metafiles
972 --enable-controls use all usual controls
973 --enable-accel use accelerators
974 --enable-button use wxButton class
975 --enable-bmpbutton use wxBitmapButton class
976 --enable-calendar use wxCalendarCtrl class
977 --enable-caret use wxCaret class
978 --enable-checkbox use wxCheckBox class
979 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
980 --enable-choice use wxChoice class
981 --enable-choicebook use wxChoicebook class
982 --enable-colourpicker use wxColourPickerCtrl class
983 --enable-combobox use wxComboBox class
984 --enable-comboctrl use wxComboCtrl class
985 --enable-datepick use wxDatePickerCtrl class
986 --enable-dirpicker use wxDirPickerCtrl class
987 --enable-display use wxDisplay class
988 --enable-filepicker use wxFilePickerCtrl class
989 --enable-fontpicker use wxFontPickerCtrl class
990 --enable-gauge use wxGauge class
991 --enable-grid use wxGrid class
992 --enable-dataviewctrl, use wxDataViewCtrl class
993 --enable-hyperlink use wxHyperlinkCtrl class
994 --enable-imaglist use wxImageList class
995 --enable-listbook use wxListbook class
996 --enable-listbox use wxListBox class
997 --enable-listctrl use wxListCtrl class
998 --enable-notebook use wxNotebook class
999 --enable-odcombobox use wxOwnerDrawnComboBox class
1000 --enable-radiobox use wxRadioBox class
1001 --enable-radiobtn use wxRadioButton class
1002 --enable-sash use wxSashWindow class
1003 --enable-scrollbar use wxScrollBar class and scrollable windows
1004 --enable-slider use wxSlider class
1005 --enable-spinbtn use wxSpinButton class
1006 --enable-spinctrl use wxSpinCtrl class
1007 --enable-splitter use wxSplitterWindow class
1008 --enable-statbmp use wxStaticBitmap class
1009 --enable-statbox use wxStaticBox class
1010 --enable-statline use wxStaticLine class
1011 --enable-stattext use wxStaticText class
1012 --enable-statusbar use wxStatusBar class
1013 --enable-tabdialog use wxTabControl class
1014 --enable-textctrl use wxTextCtrl class
1015 --enable-togglebtn use wxToggleButton class
1016 --enable-toolbar use wxToolBar class
1017 --enable-tbarnative use native wxToolBar class
1018 --enable-tbarsmpl use wxToolBarSimple class
1019 --enable-treebook use wxTreebook class
1020 --enable-toolbook use wxToolbook class
1021 --enable-treectrl use wxTreeCtrl class
1022 --enable-tipwindow use wxTipWindow class
1023 --enable-popupwin use wxPopUpWindow class
1024 --enable-commondlg use all common dialogs
1025 --enable-choicedlg use wxChoiceDialog
1026 --enable-coldlg use wxColourDialog
1027 --enable-filedlg use wxFileDialog
1028 --enable-finddlg use wxFindReplaceDialog
1029 --enable-fontdlg use wxFontDialog
1030 --enable-dirdlg use wxDirDialog
1031 --enable-msgdlg use wxMessageDialog
1032 --enable-numberdlg use wxNumberEntryDialog
1033 --enable-splash use wxSplashScreen
1034 --enable-textdlg use wxTextDialog
1035 --enable-tipdlg use startup tips
1036 --enable-progressdlg use wxProgressDialog
1037 --enable-wizarddlg use wxWizard
1038 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1039 --enable-miniframe use wxMiniFrame class
1040 --enable-tooltips use wxToolTip class
1041 --enable-splines use spline drawing code
1042 --enable-mousewheel use mousewheel
1043 --enable-validators use wxValidator and derived classes
1044 --enable-busyinfo use wxBusyInfo
1045 --enable-joystick use wxJoystick
1046 --enable-metafiles use wxMetaFile (Win32 only)
1047 --enable-dragimage use wxDragImage
1048 --enable-accessibility enable accessibility support
1049 --enable-dccache cache temporary wxDC objects (Win32 only)
1050 --enable-palette use wxPalette class
1051 --enable-image use wxImage class
1052 --enable-gif use gif images (GIF file format)
1053 --enable-pcx use pcx images (PCX file format)
1054 --enable-iff use iff images (IFF file format)
1055 --enable-pnm use pnm images (PNM file format)
1056 --enable-xpm use xpm images (XPM file format)
1057 --enable-icocur use Windows ICO and CUR formats
1058 --enable-official_build official build of wxWidgets (win32 DLL only)
1059 --enable-vendor=VENDOR vendor name (win32 DLL only)
1060 --disable-largefile omit support for large files
1061 --disable-gtktest do not try to compile and run a test GTK+ program
1062 --disable-gtktest Do not try to compile and run a test GTK program
1063 --disable-sdltest Do not try to compile and run a test SDL program
1064 --enable-omf use OMF object format (OS/2)
1065 --disable-dependency-tracking
1066 don't use dependency tracking even if the compiler
1067 can
1068 --disable-precomp-headers
1069 don't use precompiled headers even if compiler can
1070
1071 Optional Packages:
1072 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1073 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1074 --without-subdirs don't generate makefiles for samples/demos/...
1075 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1076 --with-motif use Motif/Lesstif
1077 --with-mac use Mac OS X
1078 --with-cocoa use Cocoa
1079 --with-wine use Wine
1080 --with-msw use MS-Windows
1081 --with-pm use OS/2 Presentation Manager
1082 --with-mgl use SciTech MGL
1083 --with-microwin use MicroWindows
1084 --with-x11 use X11
1085 --with-libpng use libpng (PNG image format)
1086 --with-libjpeg use libjpeg (JPEG file format)
1087 --with-libtiff use libtiff (TIFF file format)
1088 --with-libxpm use libxpm (XPM file format)
1089 --with-libmspack use libmspack (CHM help files loading)
1090 --with-sdl use SDL for audio on Unix
1091 --with-gnomeprint use GNOME print for printing under GNOME
1092 --with-gnomevfs use GNOME VFS for associating MIME types
1093 --with-hildon use Hildon framework for Nokia 770
1094 --with-opengl use OpenGL (or Mesa)
1095 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1096 --with-regex enable support for wxRegEx class
1097 --with-zlib use zlib for LZW compression
1098 --with-odbc use the IODBC and wxODBC classes
1099 --with-expat enable XML support using expat parser
1100 --with-flavour=NAME specify a name to identify this build
1101 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1102 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1103 --with-x use the X Window System
1104 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1105 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1106 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1107 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1108 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1109
1110 Some influential environment variables:
1111 CC C compiler command
1112 CFLAGS C compiler flags
1113 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1114 nonstandard directory <lib dir>
1115 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1116 headers in a nonstandard directory <include dir>
1117 CPP C preprocessor
1118 CXX C++ compiler command
1119 CXXFLAGS C++ compiler flags
1120 CXXCPP C++ preprocessor
1121
1122 Use these variables to override the choices made by `configure' or to help
1123 it to find libraries and programs with nonstandard names/locations.
1124
1125 Report bugs to <wx-dev@lists.wxwidgets.org>.
1126 _ACEOF
1127 fi
1128
1129 if test "$ac_init_help" = "recursive"; then
1130 # If there are subdirs, report their specific --help.
1131 ac_popdir=`pwd`
1132 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1133 test -d $ac_dir || continue
1134 ac_builddir=.
1135
1136 if test "$ac_dir" != .; then
1137 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1138 # A "../" for each directory in $ac_dir_suffix.
1139 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1140 else
1141 ac_dir_suffix= ac_top_builddir=
1142 fi
1143
1144 case $srcdir in
1145 .) # No --srcdir option. We are building in place.
1146 ac_srcdir=.
1147 if test -z "$ac_top_builddir"; then
1148 ac_top_srcdir=.
1149 else
1150 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1151 fi ;;
1152 [\\/]* | ?:[\\/]* ) # Absolute path.
1153 ac_srcdir=$srcdir$ac_dir_suffix;
1154 ac_top_srcdir=$srcdir ;;
1155 *) # Relative path.
1156 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1157 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1158 esac
1159
1160 # Do not use `cd foo && pwd` to compute absolute paths, because
1161 # the directories may not exist.
1162 case `pwd` in
1163 .) ac_abs_builddir="$ac_dir";;
1164 *)
1165 case "$ac_dir" in
1166 .) ac_abs_builddir=`pwd`;;
1167 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1168 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1169 esac;;
1170 esac
1171 case $ac_abs_builddir in
1172 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1173 *)
1174 case ${ac_top_builddir}. in
1175 .) ac_abs_top_builddir=$ac_abs_builddir;;
1176 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1177 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1178 esac;;
1179 esac
1180 case $ac_abs_builddir in
1181 .) ac_abs_srcdir=$ac_srcdir;;
1182 *)
1183 case $ac_srcdir in
1184 .) ac_abs_srcdir=$ac_abs_builddir;;
1185 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1186 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1187 esac;;
1188 esac
1189 case $ac_abs_builddir in
1190 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1191 *)
1192 case $ac_top_srcdir in
1193 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1194 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1195 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1196 esac;;
1197 esac
1198
1199 cd $ac_dir
1200 # Check for guested configure; otherwise get Cygnus style configure.
1201 if test -f $ac_srcdir/configure.gnu; then
1202 echo
1203 $SHELL $ac_srcdir/configure.gnu --help=recursive
1204 elif test -f $ac_srcdir/configure; then
1205 echo
1206 $SHELL $ac_srcdir/configure --help=recursive
1207 elif test -f $ac_srcdir/configure.ac ||
1208 test -f $ac_srcdir/configure.in; then
1209 echo
1210 $ac_configure --help
1211 else
1212 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1213 fi
1214 cd "$ac_popdir"
1215 done
1216 fi
1217
1218 test -n "$ac_init_help" && exit 0
1219 if $ac_init_version; then
1220 cat <<\_ACEOF
1221 wxWidgets configure 2.7.0
1222 generated by GNU Autoconf 2.59
1223
1224 Copyright (C) 2003 Free Software Foundation, Inc.
1225 This configure script is free software; the Free Software Foundation
1226 gives unlimited permission to copy, distribute and modify it.
1227 _ACEOF
1228 exit 0
1229 fi
1230 exec 5>config.log
1231 cat >&5 <<_ACEOF
1232 This file contains any messages produced by compilers while
1233 running configure, to aid debugging if configure makes a mistake.
1234
1235 It was created by wxWidgets $as_me 2.7.0, which was
1236 generated by GNU Autoconf 2.59. Invocation command line was
1237
1238 $ $0 $@
1239
1240 _ACEOF
1241 {
1242 cat <<_ASUNAME
1243 ## --------- ##
1244 ## Platform. ##
1245 ## --------- ##
1246
1247 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1248 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1249 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1250 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1251 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1252
1253 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1254 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1255
1256 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1257 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1258 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1259 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1260 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1261 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1262 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1263
1264 _ASUNAME
1265
1266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1267 for as_dir in $PATH
1268 do
1269 IFS=$as_save_IFS
1270 test -z "$as_dir" && as_dir=.
1271 echo "PATH: $as_dir"
1272 done
1273
1274 } >&5
1275
1276 cat >&5 <<_ACEOF
1277
1278
1279 ## ----------- ##
1280 ## Core tests. ##
1281 ## ----------- ##
1282
1283 _ACEOF
1284
1285
1286 # Keep a trace of the command line.
1287 # Strip out --no-create and --no-recursion so they do not pile up.
1288 # Strip out --silent because we don't want to record it for future runs.
1289 # Also quote any args containing shell meta-characters.
1290 # Make two passes to allow for proper duplicate-argument suppression.
1291 ac_configure_args=
1292 ac_configure_args0=
1293 ac_configure_args1=
1294 ac_sep=
1295 ac_must_keep_next=false
1296 for ac_pass in 1 2
1297 do
1298 for ac_arg
1299 do
1300 case $ac_arg in
1301 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1302 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1303 | -silent | --silent | --silen | --sile | --sil)
1304 continue ;;
1305 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1306 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1307 esac
1308 case $ac_pass in
1309 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1310 2)
1311 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1312 if test $ac_must_keep_next = true; then
1313 ac_must_keep_next=false # Got value, back to normal.
1314 else
1315 case $ac_arg in
1316 *=* | --config-cache | -C | -disable-* | --disable-* \
1317 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1318 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1319 | -with-* | --with-* | -without-* | --without-* | --x)
1320 case "$ac_configure_args0 " in
1321 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1322 esac
1323 ;;
1324 -* ) ac_must_keep_next=true ;;
1325 esac
1326 fi
1327 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1328 # Get rid of the leading space.
1329 ac_sep=" "
1330 ;;
1331 esac
1332 done
1333 done
1334 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1335 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1336
1337 # When interrupted or exit'd, cleanup temporary files, and complete
1338 # config.log. We remove comments because anyway the quotes in there
1339 # would cause problems or look ugly.
1340 # WARNING: Be sure not to use single quotes in there, as some shells,
1341 # such as our DU 5.0 friend, will then `close' the trap.
1342 trap 'exit_status=$?
1343 # Save into config.log some information that might help in debugging.
1344 {
1345 echo
1346
1347 cat <<\_ASBOX
1348 ## ---------------- ##
1349 ## Cache variables. ##
1350 ## ---------------- ##
1351 _ASBOX
1352 echo
1353 # The following way of writing the cache mishandles newlines in values,
1354 {
1355 (set) 2>&1 |
1356 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1357 *ac_space=\ *)
1358 sed -n \
1359 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1360 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1361 ;;
1362 *)
1363 sed -n \
1364 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1365 ;;
1366 esac;
1367 }
1368 echo
1369
1370 cat <<\_ASBOX
1371 ## ----------------- ##
1372 ## Output variables. ##
1373 ## ----------------- ##
1374 _ASBOX
1375 echo
1376 for ac_var in $ac_subst_vars
1377 do
1378 eval ac_val=$`echo $ac_var`
1379 echo "$ac_var='"'"'$ac_val'"'"'"
1380 done | sort
1381 echo
1382
1383 if test -n "$ac_subst_files"; then
1384 cat <<\_ASBOX
1385 ## ------------- ##
1386 ## Output files. ##
1387 ## ------------- ##
1388 _ASBOX
1389 echo
1390 for ac_var in $ac_subst_files
1391 do
1392 eval ac_val=$`echo $ac_var`
1393 echo "$ac_var='"'"'$ac_val'"'"'"
1394 done | sort
1395 echo
1396 fi
1397
1398 if test -s confdefs.h; then
1399 cat <<\_ASBOX
1400 ## ----------- ##
1401 ## confdefs.h. ##
1402 ## ----------- ##
1403 _ASBOX
1404 echo
1405 sed "/^$/d" confdefs.h | sort
1406 echo
1407 fi
1408 test "$ac_signal" != 0 &&
1409 echo "$as_me: caught signal $ac_signal"
1410 echo "$as_me: exit $exit_status"
1411 } >&5
1412 rm -f core *.core &&
1413 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1414 exit $exit_status
1415 ' 0
1416 for ac_signal in 1 2 13 15; do
1417 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1418 done
1419 ac_signal=0
1420
1421 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1422 rm -rf conftest* confdefs.h
1423 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1424 echo >confdefs.h
1425
1426 # Predefined preprocessor variables.
1427
1428 cat >>confdefs.h <<_ACEOF
1429 #define PACKAGE_NAME "$PACKAGE_NAME"
1430 _ACEOF
1431
1432
1433 cat >>confdefs.h <<_ACEOF
1434 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1435 _ACEOF
1436
1437
1438 cat >>confdefs.h <<_ACEOF
1439 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1440 _ACEOF
1441
1442
1443 cat >>confdefs.h <<_ACEOF
1444 #define PACKAGE_STRING "$PACKAGE_STRING"
1445 _ACEOF
1446
1447
1448 cat >>confdefs.h <<_ACEOF
1449 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1450 _ACEOF
1451
1452
1453 # Let the site file select an alternate cache file if it wants to.
1454 # Prefer explicitly selected file to automatically selected ones.
1455 if test -z "$CONFIG_SITE"; then
1456 if test "x$prefix" != xNONE; then
1457 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1458 else
1459 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1460 fi
1461 fi
1462 for ac_site_file in $CONFIG_SITE; do
1463 if test -r "$ac_site_file"; then
1464 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1465 echo "$as_me: loading site script $ac_site_file" >&6;}
1466 sed 's/^/| /' "$ac_site_file" >&5
1467 . "$ac_site_file"
1468 fi
1469 done
1470
1471 if test -r "$cache_file"; then
1472 # Some versions of bash will fail to source /dev/null (special
1473 # files actually), so we avoid doing that.
1474 if test -f "$cache_file"; then
1475 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1476 echo "$as_me: loading cache $cache_file" >&6;}
1477 case $cache_file in
1478 [\\/]* | ?:[\\/]* ) . $cache_file;;
1479 *) . ./$cache_file;;
1480 esac
1481 fi
1482 else
1483 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1484 echo "$as_me: creating cache $cache_file" >&6;}
1485 >$cache_file
1486 fi
1487
1488 # Check that the precious variables saved in the cache have kept the same
1489 # value.
1490 ac_cache_corrupted=false
1491 for ac_var in `(set) 2>&1 |
1492 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1493 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1494 eval ac_new_set=\$ac_env_${ac_var}_set
1495 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1496 eval ac_new_val="\$ac_env_${ac_var}_value"
1497 case $ac_old_set,$ac_new_set in
1498 set,)
1499 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1500 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1501 ac_cache_corrupted=: ;;
1502 ,set)
1503 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1504 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1505 ac_cache_corrupted=: ;;
1506 ,);;
1507 *)
1508 if test "x$ac_old_val" != "x$ac_new_val"; then
1509 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1510 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1511 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1512 echo "$as_me: former value: $ac_old_val" >&2;}
1513 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1514 echo "$as_me: current value: $ac_new_val" >&2;}
1515 ac_cache_corrupted=:
1516 fi;;
1517 esac
1518 # Pass precious variables to config.status.
1519 if test "$ac_new_set" = set; then
1520 case $ac_new_val in
1521 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1522 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1523 *) ac_arg=$ac_var=$ac_new_val ;;
1524 esac
1525 case " $ac_configure_args " in
1526 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1527 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1528 esac
1529 fi
1530 done
1531 if $ac_cache_corrupted; then
1532 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1533 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1534 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1535 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1536 { (exit 1); exit 1; }; }
1537 fi
1538
1539 ac_ext=c
1540 ac_cpp='$CPP $CPPFLAGS'
1541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574 ac_aux_dir=
1575 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1576 if test -f $ac_dir/install-sh; then
1577 ac_aux_dir=$ac_dir
1578 ac_install_sh="$ac_aux_dir/install-sh -c"
1579 break
1580 elif test -f $ac_dir/install.sh; then
1581 ac_aux_dir=$ac_dir
1582 ac_install_sh="$ac_aux_dir/install.sh -c"
1583 break
1584 elif test -f $ac_dir/shtool; then
1585 ac_aux_dir=$ac_dir
1586 ac_install_sh="$ac_aux_dir/shtool install -c"
1587 break
1588 fi
1589 done
1590 if test -z "$ac_aux_dir"; then
1591 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1592 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1593 { (exit 1); exit 1; }; }
1594 fi
1595 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1596 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1597 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1598
1599 # Make sure we can run config.sub.
1600 $ac_config_sub sun4 >/dev/null 2>&1 ||
1601 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1602 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1603 { (exit 1); exit 1; }; }
1604
1605 echo "$as_me:$LINENO: checking build system type" >&5
1606 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1607 if test "${ac_cv_build+set}" = set; then
1608 echo $ECHO_N "(cached) $ECHO_C" >&6
1609 else
1610 ac_cv_build_alias=$build_alias
1611 test -z "$ac_cv_build_alias" &&
1612 ac_cv_build_alias=`$ac_config_guess`
1613 test -z "$ac_cv_build_alias" &&
1614 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1615 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1616 { (exit 1); exit 1; }; }
1617 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1618 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1619 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1620 { (exit 1); exit 1; }; }
1621
1622 fi
1623 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1624 echo "${ECHO_T}$ac_cv_build" >&6
1625 build=$ac_cv_build
1626 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1627 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1628 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1629
1630
1631 echo "$as_me:$LINENO: checking host system type" >&5
1632 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1633 if test "${ac_cv_host+set}" = set; then
1634 echo $ECHO_N "(cached) $ECHO_C" >&6
1635 else
1636 ac_cv_host_alias=$host_alias
1637 test -z "$ac_cv_host_alias" &&
1638 ac_cv_host_alias=$ac_cv_build_alias
1639 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1640 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1641 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1642 { (exit 1); exit 1; }; }
1643
1644 fi
1645 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1646 echo "${ECHO_T}$ac_cv_host" >&6
1647 host=$ac_cv_host
1648 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1649 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1650 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1651
1652
1653 echo "$as_me:$LINENO: checking target system type" >&5
1654 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1655 if test "${ac_cv_target+set}" = set; then
1656 echo $ECHO_N "(cached) $ECHO_C" >&6
1657 else
1658 ac_cv_target_alias=$target_alias
1659 test "x$ac_cv_target_alias" = "x" &&
1660 ac_cv_target_alias=$ac_cv_host_alias
1661 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1662 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1663 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1664 { (exit 1); exit 1; }; }
1665
1666 fi
1667 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1668 echo "${ECHO_T}$ac_cv_target" >&6
1669 target=$ac_cv_target
1670 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1671 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1672 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1673
1674
1675 # The aliases save the names the user supplied, while $host etc.
1676 # will get canonicalized.
1677 test -n "$target_alias" &&
1678 test "$program_prefix$program_suffix$program_transform_name" = \
1679 NONENONEs,x,x, &&
1680 program_prefix=${target_alias}-
1681
1682
1683
1684 wx_major_version_number=2
1685 wx_minor_version_number=7
1686 wx_release_number=0
1687 wx_subrelease_number=0
1688
1689 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1690 WX_VERSION=$WX_RELEASE.$wx_release_number
1691 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1692
1693 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1694
1695
1696
1697
1698 USE_UNIX=1
1699 USE_OS2=0
1700 USE_WIN32=0
1701 USE_DOS=0
1702 USE_BEOS=0
1703 USE_MAC=0
1704
1705 USE_AIX=
1706 USE_BSD= USE_DARWIN= USE_FREEBSD=
1707 USE_GNU= USE_HPUX=
1708 USE_LINUX=
1709 USE_NETBSD=
1710 USE_OPENBSD=
1711 USE_OSF= USE_SGI=
1712 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1713 USE_ULTRIX=
1714 USE_UNIXWARE=
1715
1716 USE_ALPHA=
1717
1718 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1719
1720 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11"
1721
1722 DEFAULT_wxUSE_COCOA=0
1723 DEFAULT_wxUSE_GTK=0
1724 DEFAULT_wxUSE_MAC=0
1725 DEFAULT_wxUSE_MGL=0
1726 DEFAULT_wxUSE_MICROWIN=0
1727 DEFAULT_wxUSE_MOTIF=0
1728 DEFAULT_wxUSE_MSW=0
1729 DEFAULT_wxUSE_PM=0
1730 DEFAULT_wxUSE_X11=0
1731
1732 DEFAULT_DEFAULT_wxUSE_COCOA=0
1733 DEFAULT_DEFAULT_wxUSE_GTK=0
1734 DEFAULT_DEFAULT_wxUSE_MAC=0
1735 DEFAULT_DEFAULT_wxUSE_MGL=0
1736 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1737 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1738 DEFAULT_DEFAULT_wxUSE_MSW=0
1739 DEFAULT_DEFAULT_wxUSE_PM=0
1740 DEFAULT_DEFAULT_wxUSE_X11=0
1741
1742 PROGRAM_EXT=
1743 SO_SUFFIX=so
1744 SAMPLES_RPATH_FLAG=
1745 SAMPLES_RPATH_POSTLINK=
1746
1747 DEFAULT_STD_FLAG=yes
1748
1749 case "${host}" in
1750 *-hp-hpux* )
1751 USE_HPUX=1
1752 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1753 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1754 SO_SUFFIX=sl
1755 cat >>confdefs.h <<\_ACEOF
1756 #define __HPUX__ 1
1757 _ACEOF
1758
1759
1760 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1761 ;;
1762 *-*-linux* )
1763 USE_LINUX=1
1764 cat >>confdefs.h <<\_ACEOF
1765 #define __LINUX__ 1
1766 _ACEOF
1767
1768 TMP=`uname -m`
1769 if test "x$TMP" = "xalpha"; then
1770 USE_ALPHA=1
1771 cat >>confdefs.h <<\_ACEOF
1772 #define __ALPHA__ 1
1773 _ACEOF
1774
1775 fi
1776 DEFAULT_DEFAULT_wxUSE_GTK=1
1777 ;;
1778 *-*-gnu* | *-*-k*bsd*-gnu )
1779 USE_GNU=1
1780 TMP=`uname -m`
1781 if test "x$TMP" = "xalpha"; then
1782 USE_ALPHA=1
1783 cat >>confdefs.h <<\_ACEOF
1784 #define __ALPHA__ 1
1785 _ACEOF
1786
1787 fi
1788 DEFAULT_DEFAULT_wxUSE_GTK=1
1789 ;;
1790 *-*-irix5* | *-*-irix6* )
1791 USE_SGI=1
1792 USE_SVR4=1
1793 cat >>confdefs.h <<\_ACEOF
1794 #define __SGI__ 1
1795 _ACEOF
1796
1797 cat >>confdefs.h <<\_ACEOF
1798 #define __SVR4__ 1
1799 _ACEOF
1800
1801 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1802 ;;
1803 *-*-solaris2* )
1804 USE_SUN=1
1805 USE_SOLARIS=1
1806 USE_SVR4=1
1807 cat >>confdefs.h <<\_ACEOF
1808 #define __SUN__ 1
1809 _ACEOF
1810
1811 cat >>confdefs.h <<\_ACEOF
1812 #define __SOLARIS__ 1
1813 _ACEOF
1814
1815 cat >>confdefs.h <<\_ACEOF
1816 #define __SVR4__ 1
1817 _ACEOF
1818
1819 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1820 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1821 ;;
1822 *-*-sunos4* )
1823 USE_SUN=1
1824 USE_SUNOS=1
1825 USE_BSD=1
1826 cat >>confdefs.h <<\_ACEOF
1827 #define __SUN__ 1
1828 _ACEOF
1829
1830 cat >>confdefs.h <<\_ACEOF
1831 #define __SUNOS__ 1
1832 _ACEOF
1833
1834 cat >>confdefs.h <<\_ACEOF
1835 #define __BSD__ 1
1836 _ACEOF
1837
1838 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1839 ;;
1840 *-*-freebsd*)
1841 USE_BSD=1
1842 USE_FREEBSD=1
1843 cat >>confdefs.h <<\_ACEOF
1844 #define __FREEBSD__ 1
1845 _ACEOF
1846
1847 cat >>confdefs.h <<\_ACEOF
1848 #define __BSD__ 1
1849 _ACEOF
1850
1851 DEFAULT_DEFAULT_wxUSE_GTK=1
1852 ;;
1853 *-*-openbsd*|*-*-mirbsd*)
1854 USE_BSD=1
1855 USE_OPENBSD=1
1856 cat >>confdefs.h <<\_ACEOF
1857 #define __OPENBSD__ 1
1858 _ACEOF
1859
1860 cat >>confdefs.h <<\_ACEOF
1861 #define __BSD__ 1
1862 _ACEOF
1863
1864 DEFAULT_DEFAULT_wxUSE_GTK=1
1865 ;;
1866 *-*-netbsd*)
1867 USE_BSD=1
1868 USE_NETBSD=1
1869 cat >>confdefs.h <<\_ACEOF
1870 #define __NETBSD__ 1
1871 _ACEOF
1872
1873 cat >>confdefs.h <<\_ACEOF
1874 #define __BSD__ 1
1875 _ACEOF
1876
1877 DEFAULT_DEFAULT_wxUSE_GTK=1
1878 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1879
1880 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1881 ;;
1882 *-*-osf* )
1883 USE_ALPHA=1
1884 USE_OSF=1
1885 cat >>confdefs.h <<\_ACEOF
1886 #define __ALPHA__ 1
1887 _ACEOF
1888
1889 cat >>confdefs.h <<\_ACEOF
1890 #define __OSF__ 1
1891 _ACEOF
1892
1893 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1894 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1895 ;;
1896 *-*-dgux5* )
1897 USE_ALPHA=1
1898 USE_SVR4=1
1899 cat >>confdefs.h <<\_ACEOF
1900 #define __ALPHA__ 1
1901 _ACEOF
1902
1903 cat >>confdefs.h <<\_ACEOF
1904 #define __SVR4__ 1
1905 _ACEOF
1906
1907 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1908 ;;
1909 *-*-sysv5* )
1910 USE_SYSV=1
1911 USE_SVR4=1
1912 cat >>confdefs.h <<\_ACEOF
1913 #define __SYSV__ 1
1914 _ACEOF
1915
1916 cat >>confdefs.h <<\_ACEOF
1917 #define __SVR4__ 1
1918 _ACEOF
1919
1920 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1921 ;;
1922 *-*-aix* )
1923 USE_AIX=1
1924 USE_SYSV=1
1925 USE_SVR4=1
1926 SO_SUFFIX=a
1927 cat >>confdefs.h <<\_ACEOF
1928 #define __AIX__ 1
1929 _ACEOF
1930
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __SYSV__ 1
1933 _ACEOF
1934
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __SVR4__ 1
1937 _ACEOF
1938
1939 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1940 ;;
1941
1942 *-*-*UnixWare*)
1943 USE_SYSV=1
1944 USE_SVR4=1
1945 USE_UNIXWARE=1
1946 cat >>confdefs.h <<\_ACEOF
1947 #define __UNIXWARE__ 1
1948 _ACEOF
1949
1950 ;;
1951
1952 *-*-cygwin* | *-*-mingw32* )
1953 SO_SUFFIX=dll
1954 PROGRAM_EXT=".exe"
1955 DEFAULT_DEFAULT_wxUSE_MSW=1
1956 DEFAULT_STD_FLAG=no
1957 ;;
1958
1959 *-pc-msdosdjgpp )
1960 USE_UNIX=0
1961 USE_DOS=1
1962 cat >>confdefs.h <<\_ACEOF
1963 #define __DOS__ 1
1964 _ACEOF
1965
1966 PROGRAM_EXT=".exe"
1967 DEFAULT_DEFAULT_wxUSE_MGL=1
1968 ;;
1969
1970 *-pc-os2_emx | *-pc-os2-emx )
1971 cat >>confdefs.h <<\_ACEOF
1972 #define __EMX__ 1
1973 _ACEOF
1974
1975 USE_OS2=1
1976 cat >>confdefs.h <<\_ACEOF
1977 #define __OS2__ 1
1978 _ACEOF
1979
1980 PROGRAM_EXT=".exe"
1981 DEFAULT_DEFAULT_wxUSE_PM=1
1982 CXX=gcc
1983 LDFLAGS="$LDFLAGS -Zcrtdll"
1984 ac_executable_extensions=".exe"
1985 export ac_executable_extensions
1986 ac_save_IFS="$IFS"
1987 IFS='\\'
1988 ac_TEMP_PATH=
1989 for ac_dir in $PATH; do
1990 IFS=$ac_save_IFS
1991 if test -z "$ac_TEMP_PATH"; then
1992 ac_TEMP_PATH="$ac_dir"
1993 else
1994 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
1995 fi
1996 done
1997 export PATH="$ac_TEMP_PATH"
1998 unset ac_TEMP_PATH
1999 DEFAULT_STD_FLAG=no
2000 ;;
2001
2002 *-*-darwin* )
2003 USE_BSD=1
2004 USE_DARWIN=1
2005 SO_SUFFIX=dylib
2006 cat >>confdefs.h <<\_ACEOF
2007 #define __BSD__ 1
2008 _ACEOF
2009
2010 cat >>confdefs.h <<\_ACEOF
2011 #define __DARWIN__ 1
2012 _ACEOF
2013
2014 cat >>confdefs.h <<\_ACEOF
2015 #define TARGET_CARBON 1
2016 _ACEOF
2017
2018 DEFAULT_DEFAULT_wxUSE_MAC=1
2019 DEFAULT_STD_FLAG=no
2020 ;;
2021 powerpc-apple-macos* )
2022 USE_UNIX=0
2023 ac_cv_c_bigendian=yes
2024 SO_SUFFIX=shlib
2025 DEFAULT_DEFAULT_wxUSE_MAC=1
2026 DEFAULT_STD_FLAG=no
2027 ;;
2028
2029 *-*-beos* )
2030 USE_BEOS=1
2031 cat >>confdefs.h <<\_ACEOF
2032 #define __BEOS__ 1
2033 _ACEOF
2034
2035 ;;
2036
2037 *)
2038 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2039 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2040 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2041 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2042 esac
2043
2044
2045
2046
2047 wx_arg_cache_file="configarg.cache"
2048 echo "loading argument cache $wx_arg_cache_file"
2049 rm -f ${wx_arg_cache_file}.tmp
2050 touch ${wx_arg_cache_file}.tmp
2051 touch ${wx_arg_cache_file}
2052
2053
2054 DEBUG_CONFIGURE=0
2055 if test $DEBUG_CONFIGURE = 1; then
2056 DEFAULT_wxUSE_UNIVERSAL=no
2057 DEFAULT_wxUSE_STL=no
2058
2059 DEFAULT_wxUSE_NANOX=no
2060
2061 DEFAULT_wxUSE_THREADS=yes
2062
2063 DEFAULT_wxUSE_SHARED=yes
2064 DEFAULT_wxUSE_OPTIMISE=no
2065 DEFAULT_wxUSE_PROFILE=no
2066 DEFAULT_wxUSE_NO_DEPS=no
2067 DEFAULT_wxUSE_NO_RTTI=no
2068 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2069 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2070 DEFAULT_wxUSE_RPATH=yes
2071 DEFAULT_wxUSE_PERMISSIVE=no
2072 DEFAULT_wxUSE_DEBUG_FLAG=yes
2073 DEFAULT_wxUSE_DEBUG_INFO=yes
2074 DEFAULT_wxUSE_DEBUG_GDB=yes
2075 DEFAULT_wxUSE_MEM_TRACING=no
2076 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2077 DEFAULT_wxUSE_DMALLOC=no
2078 DEFAULT_wxUSE_APPLE_IEEE=no
2079
2080 DEFAULT_wxUSE_EXCEPTIONS=no
2081 DEFAULT_wxUSE_LOG=yes
2082 DEFAULT_wxUSE_LOGWINDOW=no
2083 DEFAULT_wxUSE_LOGGUI=no
2084 DEFAULT_wxUSE_LOGDIALOG=no
2085
2086 DEFAULT_wxUSE_GUI=yes
2087 DEFAULT_wxUSE_CONTROLS=no
2088
2089 DEFAULT_wxUSE_REGEX=no
2090 DEFAULT_wxUSE_XML=no
2091 DEFAULT_wxUSE_EXPAT=no
2092 DEFAULT_wxUSE_ZLIB=no
2093 DEFAULT_wxUSE_LIBPNG=no
2094 DEFAULT_wxUSE_LIBJPEG=no
2095 DEFAULT_wxUSE_LIBTIFF=no
2096 DEFAULT_wxUSE_LIBXPM=no
2097 DEFAULT_wxUSE_LIBMSPACK=no
2098 DEFAULT_wxUSE_LIBSDL=no
2099 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2100 DEFAULT_wxUSE_LIBGNOMEVFS=no
2101 DEFAULT_wxUSE_LIBHILDON=no
2102 DEFAULT_wxUSE_ODBC=no
2103 DEFAULT_wxUSE_OPENGL=no
2104
2105 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2106 DEFAULT_wxUSE_STACKWALKER=no
2107 DEFAULT_wxUSE_DEBUGREPORT=no
2108 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2109 DEFAULT_wxUSE_STD_IOSTREAM=no
2110 DEFAULT_wxUSE_STD_STRING=no
2111 DEFAULT_wxUSE_CMDLINE_PARSER=no
2112 DEFAULT_wxUSE_DATETIME=no
2113 DEFAULT_wxUSE_TIMER=no
2114 DEFAULT_wxUSE_STOPWATCH=no
2115 DEFAULT_wxUSE_FILE=no
2116 DEFAULT_wxUSE_FFILE=no
2117 DEFAULT_wxUSE_STDPATHS=no
2118 DEFAULT_wxUSE_TEXTBUFFER=no
2119 DEFAULT_wxUSE_TEXTFILE=no
2120 DEFAULT_wxUSE_SOUND=no
2121 DEFAULT_wxUSE_MEDIACTRL=no
2122 DEFAULT_wxUSE_GSTREAMER8=no
2123 DEFAULT_wxUSE_PRINTF_POS_PARAM=no
2124 DEFAULT_wxUSE_INTL=no
2125 DEFAULT_wxUSE_CONFIG=no
2126 DEFAULT_wxUSE_FONTMAP=no
2127 DEFAULT_wxUSE_STREAMS=no
2128 DEFAULT_wxUSE_SOCKETS=no
2129 DEFAULT_wxUSE_OLE=no
2130 DEFAULT_wxUSE_DATAOBJ=no
2131 DEFAULT_wxUSE_DIALUP_MANAGER=no
2132 DEFAULT_wxUSE_JOYSTICK=no
2133 DEFAULT_wxUSE_DYNLIB_CLASS=no
2134 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2135 DEFAULT_wxUSE_LONGLONG=no
2136 DEFAULT_wxUSE_GEOMETRY=no
2137
2138 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2139 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2140 DEFAULT_wxUSE_POSTSCRIPT=no
2141
2142 DEFAULT_wxUSE_CLIPBOARD=no
2143 DEFAULT_wxUSE_TOOLTIPS=no
2144 DEFAULT_wxUSE_DRAG_AND_DROP=no
2145 DEFAULT_wxUSE_DRAGIMAGE=no
2146 DEFAULT_wxUSE_SPLINES=no
2147 DEFAULT_wxUSE_MOUSEWHEEL=no
2148
2149 DEFAULT_wxUSE_MDI=no
2150 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2151 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2152 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2153
2154 DEFAULT_wxUSE_RESOURCES=no
2155 DEFAULT_wxUSE_CONSTRAINTS=no
2156 DEFAULT_wxUSE_IPC=no
2157 DEFAULT_wxUSE_HELP=no
2158 DEFAULT_wxUSE_MS_HTML_HELP=no
2159 DEFAULT_wxUSE_WXHTML_HELP=no
2160 DEFAULT_wxUSE_TREELAYOUT=no
2161 DEFAULT_wxUSE_METAFILE=no
2162 DEFAULT_wxUSE_MIMETYPE=no
2163 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2164 DEFAULT_wxUSE_PROTOCOL=no
2165 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2166 DEFAULT_wxUSE_PROTOCOL_FTP=no
2167 DEFAULT_wxUSE_PROTOCOL_FILE=no
2168 DEFAULT_wxUSE_URL=no
2169
2170 DEFAULT_wxUSE_COMMONDLGS=no
2171 DEFAULT_wxUSE_CHOICEDLG=no
2172 DEFAULT_wxUSE_COLOURDLG=no
2173 DEFAULT_wxUSE_DIRDLG=no
2174 DEFAULT_wxUSE_FILEDLG=no
2175 DEFAULT_wxUSE_FINDREPLDLG=no
2176 DEFAULT_wxUSE_FONTDLG=no
2177 DEFAULT_wxUSE_MSGDLG=no
2178 DEFAULT_wxUSE_NUMBERDLG=no
2179 DEFAULT_wxUSE_TEXTDLG=no
2180 DEFAULT_wxUSE_SPLASH=no
2181 DEFAULT_wxUSE_STARTUP_TIPS=no
2182 DEFAULT_wxUSE_PROGRESSDLG=no
2183 DEFAULT_wxUSE_WIZARDDLG=no
2184
2185 DEFAULT_wxUSE_MENUS=no
2186 DEFAULT_wxUSE_MINIFRAME=no
2187 DEFAULT_wxUSE_HTML=no
2188 DEFAULT_wxUSE_RICHTEXT=no
2189 DEFAULT_wxUSE_XRC=no
2190 DEFAULT_wxUSE_AUI=no
2191 DEFAULT_wxUSE_WEBKIT=no
2192 DEFAULT_wxUSE_FILESYSTEM=no
2193 DEFAULT_wxUSE_FS_INET=no
2194 DEFAULT_wxUSE_FS_ZIP=no
2195 DEFAULT_wxUSE_BUSYINFO=no
2196 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2197 DEFAULT_wxUSE_ZIPSTREAM=no
2198 DEFAULT_wxUSE_VALIDATORS=no
2199
2200 DEFAULT_wxUSE_ACCEL=no
2201 DEFAULT_wxUSE_BUTTON=no
2202 DEFAULT_wxUSE_BMPBUTTON=no
2203 DEFAULT_wxUSE_CALCTRL=no
2204 DEFAULT_wxUSE_CARET=no
2205 DEFAULT_wxUSE_CHECKBOX=no
2206 DEFAULT_wxUSE_CHECKLST=no
2207 DEFAULT_wxUSE_CHOICE=no
2208 DEFAULT_wxUSE_CHOICEBOOK=no
2209 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2210 DEFAULT_wxUSE_COMBOBOX=no
2211 DEFAULT_wxUSE_COMBOCTRL=no
2212 DEFAULT_wxUSE_DATEPICKCTRL=no
2213 DEFAULT_wxUSE_DISPLAY=no
2214 DEFAULT_wxUSE_DIRPICKERCTRL=no
2215 DEFAULT_wxUSE_FILEPICKERCTRL=no
2216 DEFAULT_wxUSE_FONTPICKERCTRL=no
2217 DEFAULT_wxUSE_GAUGE=no
2218 DEFAULT_wxUSE_GRID=no
2219 DEFAULT_wxUSE_HYPERLINKCTRL=no
2220 DEFAULT_wxUSE_DATAVIEWCTRL=no
2221 DEFAULT_wxUSE_IMAGLIST=no
2222 DEFAULT_wxUSE_LISTBOOK=no
2223 DEFAULT_wxUSE_LISTBOX=no
2224 DEFAULT_wxUSE_LISTCTRL=no
2225 DEFAULT_wxUSE_NOTEBOOK=no
2226 DEFAULT_wxUSE_ODCOMBOBOX=no
2227 DEFAULT_wxUSE_RADIOBOX=no
2228 DEFAULT_wxUSE_RADIOBTN=no
2229 DEFAULT_wxUSE_SASH=no
2230 DEFAULT_wxUSE_SCROLLBAR=no
2231 DEFAULT_wxUSE_SLIDER=no
2232 DEFAULT_wxUSE_SPINBTN=no
2233 DEFAULT_wxUSE_SPINCTRL=no
2234 DEFAULT_wxUSE_SPLITTER=no
2235 DEFAULT_wxUSE_STATBMP=no
2236 DEFAULT_wxUSE_STATBOX=no
2237 DEFAULT_wxUSE_STATLINE=no
2238 DEFAULT_wxUSE_STATTEXT=no
2239 DEFAULT_wxUSE_STATUSBAR=yes
2240 DEFAULT_wxUSE_TAB_DIALOG=no
2241 DEFAULT_wxUSE_TEXTCTRL=no
2242 DEFAULT_wxUSE_TOGGLEBTN=no
2243 DEFAULT_wxUSE_TOOLBAR=no
2244 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2245 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
2246 DEFAULT_wxUSE_TREEBOOK=no
2247 DEFAULT_wxUSE_TOOLBOOK=no
2248 DEFAULT_wxUSE_TREECTRL=no
2249 DEFAULT_wxUSE_POPUPWIN=no
2250 DEFAULT_wxUSE_TIPWINDOW=no
2251
2252 DEFAULT_wxUSE_UNICODE=no
2253 DEFAULT_wxUSE_UNICODE_MSLU=no
2254 DEFAULT_wxUSE_WCSRTOMBS=no
2255
2256 DEFAULT_wxUSE_PALETTE=no
2257 DEFAULT_wxUSE_IMAGE=no
2258 DEFAULT_wxUSE_GIF=no
2259 DEFAULT_wxUSE_PCX=no
2260 DEFAULT_wxUSE_PNM=no
2261 DEFAULT_wxUSE_IFF=no
2262 DEFAULT_wxUSE_XPM=no
2263 DEFAULT_wxUSE_ICO_CUR=no
2264 DEFAULT_wxUSE_ACCESSIBILITY=no
2265
2266 DEFAULT_wxUSE_MONOLITHIC=no
2267 DEFAULT_wxUSE_PLUGINS=no
2268 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2269 else
2270 DEFAULT_wxUSE_UNIVERSAL=no
2271 DEFAULT_wxUSE_STL=no
2272
2273 DEFAULT_wxUSE_NANOX=no
2274
2275 DEFAULT_wxUSE_THREADS=yes
2276
2277 DEFAULT_wxUSE_SHARED=yes
2278 DEFAULT_wxUSE_OPTIMISE=yes
2279 DEFAULT_wxUSE_PROFILE=no
2280 DEFAULT_wxUSE_NO_DEPS=no
2281 DEFAULT_wxUSE_NO_RTTI=no
2282 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2283 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2284 DEFAULT_wxUSE_RPATH=yes
2285 DEFAULT_wxUSE_PERMISSIVE=no
2286 DEFAULT_wxUSE_DEBUG_FLAG=no
2287 DEFAULT_wxUSE_DEBUG_INFO=no
2288 DEFAULT_wxUSE_DEBUG_GDB=no
2289 DEFAULT_wxUSE_MEM_TRACING=no
2290 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2291 DEFAULT_wxUSE_DMALLOC=no
2292 DEFAULT_wxUSE_APPLE_IEEE=yes
2293
2294 DEFAULT_wxUSE_EXCEPTIONS=yes
2295 DEFAULT_wxUSE_LOG=yes
2296 DEFAULT_wxUSE_LOGWINDOW=yes
2297 DEFAULT_wxUSE_LOGGUI=yes
2298 DEFAULT_wxUSE_LOGDIALOG=yes
2299
2300 DEFAULT_wxUSE_GUI=yes
2301
2302 DEFAULT_wxUSE_REGEX=yes
2303 DEFAULT_wxUSE_XML=yes
2304 DEFAULT_wxUSE_EXPAT=yes
2305 DEFAULT_wxUSE_ZLIB=yes
2306 DEFAULT_wxUSE_LIBPNG=yes
2307 DEFAULT_wxUSE_LIBJPEG=yes
2308 DEFAULT_wxUSE_LIBTIFF=yes
2309 DEFAULT_wxUSE_LIBXPM=yes
2310 DEFAULT_wxUSE_LIBMSPACK=yes
2311 DEFAULT_wxUSE_LIBSDL=no
2312 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2313 DEFAULT_wxUSE_LIBGNOMEVFS=no
2314 DEFAULT_wxUSE_LIBHILDON=no
2315 DEFAULT_wxUSE_ODBC=no
2316 DEFAULT_wxUSE_OPENGL=no
2317
2318 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2319 DEFAULT_wxUSE_STACKWALKER=yes
2320 DEFAULT_wxUSE_DEBUGREPORT=yes
2321 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2322 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2323 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2324 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2325 DEFAULT_wxUSE_DATETIME=yes
2326 DEFAULT_wxUSE_TIMER=yes
2327 DEFAULT_wxUSE_STOPWATCH=yes
2328 DEFAULT_wxUSE_FILE=yes
2329 DEFAULT_wxUSE_FFILE=yes
2330 DEFAULT_wxUSE_STDPATHS=yes
2331 DEFAULT_wxUSE_TEXTBUFFER=yes
2332 DEFAULT_wxUSE_TEXTFILE=yes
2333 DEFAULT_wxUSE_SOUND=yes
2334 DEFAULT_wxUSE_MEDIACTRL=no
2335 DEFAULT_wxUSE_GSTREAMER8=no
2336 DEFAULT_wxUSE_PRINTF_POS_PARAM=yes
2337 DEFAULT_wxUSE_INTL=yes
2338 DEFAULT_wxUSE_CONFIG=yes
2339 DEFAULT_wxUSE_FONTMAP=yes
2340 DEFAULT_wxUSE_STREAMS=yes
2341 DEFAULT_wxUSE_SOCKETS=yes
2342 DEFAULT_wxUSE_OLE=yes
2343 DEFAULT_wxUSE_DATAOBJ=yes
2344 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2345 DEFAULT_wxUSE_JOYSTICK=yes
2346 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2347 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2348 DEFAULT_wxUSE_LONGLONG=yes
2349 DEFAULT_wxUSE_GEOMETRY=yes
2350
2351 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2352 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2353 DEFAULT_wxUSE_POSTSCRIPT=yes
2354
2355 DEFAULT_wxUSE_CLIPBOARD=yes
2356 DEFAULT_wxUSE_TOOLTIPS=yes
2357 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2358 DEFAULT_wxUSE_DRAGIMAGE=yes
2359 DEFAULT_wxUSE_SPLINES=yes
2360 DEFAULT_wxUSE_MOUSEWHEEL=yes
2361
2362 DEFAULT_wxUSE_MDI=yes
2363 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2364 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2365 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2366
2367 DEFAULT_wxUSE_RESOURCES=no
2368 DEFAULT_wxUSE_CONSTRAINTS=yes
2369 DEFAULT_wxUSE_IPC=yes
2370 DEFAULT_wxUSE_HELP=yes
2371 DEFAULT_wxUSE_MS_HTML_HELP=yes
2372 DEFAULT_wxUSE_WXHTML_HELP=yes
2373 DEFAULT_wxUSE_TREELAYOUT=yes
2374 DEFAULT_wxUSE_METAFILE=yes
2375 DEFAULT_wxUSE_MIMETYPE=yes
2376 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2377 DEFAULT_wxUSE_PROTOCOL=yes
2378 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2379 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2380 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2381 DEFAULT_wxUSE_URL=yes
2382
2383 DEFAULT_wxUSE_COMMONDLGS=yes
2384 DEFAULT_wxUSE_CHOICEDLG=yes
2385 DEFAULT_wxUSE_COLOURDLG=yes
2386 DEFAULT_wxUSE_DIRDLG=yes
2387 DEFAULT_wxUSE_FILEDLG=yes
2388 DEFAULT_wxUSE_FINDREPLDLG=yes
2389 DEFAULT_wxUSE_FONTDLG=yes
2390 DEFAULT_wxUSE_MSGDLG=yes
2391 DEFAULT_wxUSE_NUMBERDLG=yes
2392 DEFAULT_wxUSE_TEXTDLG=yes
2393 DEFAULT_wxUSE_SPLASH=yes
2394 DEFAULT_wxUSE_STARTUP_TIPS=yes
2395 DEFAULT_wxUSE_PROGRESSDLG=yes
2396 DEFAULT_wxUSE_WIZARDDLG=yes
2397
2398 DEFAULT_wxUSE_MENUS=yes
2399 DEFAULT_wxUSE_MINIFRAME=yes
2400 DEFAULT_wxUSE_HTML=yes
2401 DEFAULT_wxUSE_RICHTEXT=yes
2402 DEFAULT_wxUSE_XRC=yes
2403 DEFAULT_wxUSE_AUI=yes
2404 DEFAULT_wxUSE_WEBKIT=yes
2405 DEFAULT_wxUSE_FILESYSTEM=yes
2406 DEFAULT_wxUSE_FS_INET=yes
2407 DEFAULT_wxUSE_FS_ZIP=yes
2408 DEFAULT_wxUSE_BUSYINFO=yes
2409 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2410 DEFAULT_wxUSE_ZIPSTREAM=yes
2411 DEFAULT_wxUSE_VALIDATORS=yes
2412
2413 DEFAULT_wxUSE_ACCEL=yes
2414 DEFAULT_wxUSE_BUTTON=yes
2415 DEFAULT_wxUSE_BMPBUTTON=yes
2416 DEFAULT_wxUSE_CALCTRL=yes
2417 DEFAULT_wxUSE_CARET=yes
2418 DEFAULT_wxUSE_CHECKBOX=yes
2419 DEFAULT_wxUSE_CHECKLST=yes
2420 DEFAULT_wxUSE_CHOICE=yes
2421 DEFAULT_wxUSE_CHOICEBOOK=yes
2422 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2423 DEFAULT_wxUSE_COMBOBOX=yes
2424 DEFAULT_wxUSE_COMBOCTRL=yes
2425 DEFAULT_wxUSE_DATEPICKCTRL=yes
2426 DEFAULT_wxUSE_DISPLAY=yes
2427 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2428 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2429 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2430 DEFAULT_wxUSE_GAUGE=yes
2431 DEFAULT_wxUSE_GRID=yes
2432 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2433 DEFAULT_wxUSE_DATAVIEWCTRL=no
2434 DEFAULT_wxUSE_IMAGLIST=yes
2435 DEFAULT_wxUSE_LISTBOOK=yes
2436 DEFAULT_wxUSE_LISTBOX=yes
2437 DEFAULT_wxUSE_LISTCTRL=yes
2438 DEFAULT_wxUSE_NOTEBOOK=yes
2439 DEFAULT_wxUSE_ODCOMBOBOX=yes
2440 DEFAULT_wxUSE_RADIOBOX=yes
2441 DEFAULT_wxUSE_RADIOBTN=yes
2442 DEFAULT_wxUSE_SASH=yes
2443 DEFAULT_wxUSE_SCROLLBAR=yes
2444 DEFAULT_wxUSE_SLIDER=yes
2445 DEFAULT_wxUSE_SPINBTN=yes
2446 DEFAULT_wxUSE_SPINCTRL=yes
2447 DEFAULT_wxUSE_SPLITTER=yes
2448 DEFAULT_wxUSE_STATBMP=yes
2449 DEFAULT_wxUSE_STATBOX=yes
2450 DEFAULT_wxUSE_STATLINE=yes
2451 DEFAULT_wxUSE_STATTEXT=yes
2452 DEFAULT_wxUSE_STATUSBAR=yes
2453 DEFAULT_wxUSE_TAB_DIALOG=no
2454 DEFAULT_wxUSE_TEXTCTRL=yes
2455 DEFAULT_wxUSE_TOGGLEBTN=yes
2456 DEFAULT_wxUSE_TOOLBAR=yes
2457 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2458 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
2459 DEFAULT_wxUSE_TREEBOOK=yes
2460 DEFAULT_wxUSE_TOOLBOOK=yes
2461 DEFAULT_wxUSE_TREECTRL=yes
2462 DEFAULT_wxUSE_POPUPWIN=yes
2463 DEFAULT_wxUSE_TIPWINDOW=yes
2464
2465 DEFAULT_wxUSE_UNICODE=no
2466 DEFAULT_wxUSE_UNICODE_MSLU=yes
2467 DEFAULT_wxUSE_WCSRTOMBS=no
2468
2469 DEFAULT_wxUSE_PALETTE=yes
2470 DEFAULT_wxUSE_IMAGE=yes
2471 DEFAULT_wxUSE_GIF=yes
2472 DEFAULT_wxUSE_PCX=yes
2473 DEFAULT_wxUSE_IFF=no
2474 DEFAULT_wxUSE_PNM=yes
2475 DEFAULT_wxUSE_XPM=yes
2476 DEFAULT_wxUSE_ICO_CUR=yes
2477 DEFAULT_wxUSE_ACCESSIBILITY=no
2478
2479 DEFAULT_wxUSE_MONOLITHIC=no
2480 DEFAULT_wxUSE_PLUGINS=no
2481 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2482
2483 DEFAULT_wxUSE_GTK2=yes
2484 fi
2485
2486
2487
2488
2489 for toolkit in `echo $ALL_TOOLKITS`; do
2490 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2491 if test "x$LINE" != "x" ; then
2492 has_toolkit_in_cache=1
2493 eval "DEFAULT_$LINE"
2494 eval "CACHE_$toolkit=1"
2495
2496 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2497 if test "x$LINE" != "x" ; then
2498 eval "DEFAULT_$LINE"
2499 fi
2500 fi
2501 done
2502
2503
2504
2505 enablestring=
2506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2507 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2508 no_cache=0
2509 # Check whether --enable-gui or --disable-gui was given.
2510 if test "${enable_gui+set}" = set; then
2511 enableval="$enable_gui"
2512
2513 if test "$enableval" = yes; then
2514 ac_cv_use_gui='wxUSE_GUI=yes'
2515 else
2516 ac_cv_use_gui='wxUSE_GUI=no'
2517 fi
2518
2519 else
2520
2521 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2522 if test "x$LINE" != x ; then
2523 eval "DEFAULT_$LINE"
2524 else
2525 no_cache=1
2526 fi
2527
2528 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2529
2530 fi;
2531
2532 eval "$ac_cv_use_gui"
2533 if test "$no_cache" != 1; then
2534 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2535 fi
2536
2537 if test "$wxUSE_GUI" = yes; then
2538 echo "$as_me:$LINENO: result: yes" >&5
2539 echo "${ECHO_T}yes" >&6
2540 else
2541 echo "$as_me:$LINENO: result: no" >&5
2542 echo "${ECHO_T}no" >&6
2543 fi
2544
2545
2546 enablestring=
2547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2548 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2549 no_cache=0
2550 # Check whether --enable-monolithic or --disable-monolithic was given.
2551 if test "${enable_monolithic+set}" = set; then
2552 enableval="$enable_monolithic"
2553
2554 if test "$enableval" = yes; then
2555 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2556 else
2557 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2558 fi
2559
2560 else
2561
2562 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2563 if test "x$LINE" != x ; then
2564 eval "DEFAULT_$LINE"
2565 else
2566 no_cache=1
2567 fi
2568
2569 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2570
2571 fi;
2572
2573 eval "$ac_cv_use_monolithic"
2574 if test "$no_cache" != 1; then
2575 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2576 fi
2577
2578 if test "$wxUSE_MONOLITHIC" = yes; then
2579 echo "$as_me:$LINENO: result: yes" >&5
2580 echo "${ECHO_T}yes" >&6
2581 else
2582 echo "$as_me:$LINENO: result: no" >&5
2583 echo "${ECHO_T}no" >&6
2584 fi
2585
2586
2587 enablestring=
2588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2589 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2590 no_cache=0
2591 # Check whether --enable-plugins or --disable-plugins was given.
2592 if test "${enable_plugins+set}" = set; then
2593 enableval="$enable_plugins"
2594
2595 if test "$enableval" = yes; then
2596 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2597 else
2598 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2599 fi
2600
2601 else
2602
2603 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2604 if test "x$LINE" != x ; then
2605 eval "DEFAULT_$LINE"
2606 else
2607 no_cache=1
2608 fi
2609
2610 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2611
2612 fi;
2613
2614 eval "$ac_cv_use_plugins"
2615 if test "$no_cache" != 1; then
2616 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2617 fi
2618
2619 if test "$wxUSE_PLUGINS" = yes; then
2620 echo "$as_me:$LINENO: result: yes" >&5
2621 echo "${ECHO_T}yes" >&6
2622 else
2623 echo "$as_me:$LINENO: result: no" >&5
2624 echo "${ECHO_T}no" >&6
2625 fi
2626
2627
2628 withstring=without
2629 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2630 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2631 no_cache=0
2632
2633 # Check whether --with-subdirs or --without-subdirs was given.
2634 if test "${with_subdirs+set}" = set; then
2635 withval="$with_subdirs"
2636
2637 if test "$withval" = yes; then
2638 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2639 else
2640 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2641 fi
2642
2643 else
2644
2645 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2646 if test "x$LINE" != x ; then
2647 eval "DEFAULT_$LINE"
2648 else
2649 no_cache=1
2650 fi
2651
2652 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2653
2654 fi;
2655
2656 eval "$ac_cv_use_subdirs"
2657 if test "$no_cache" != 1; then
2658 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2659 fi
2660
2661 if test "$wxWITH_SUBDIRS" = yes; then
2662 echo "$as_me:$LINENO: result: yes" >&5
2663 echo "${ECHO_T}yes" >&6
2664 else
2665 echo "$as_me:$LINENO: result: no" >&5
2666 echo "${ECHO_T}no" >&6
2667 fi
2668
2669
2670 if test "$wxUSE_GUI" = "yes"; then
2671
2672
2673 enablestring=
2674 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2675 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2676 no_cache=0
2677 # Check whether --enable-universal or --disable-universal was given.
2678 if test "${enable_universal+set}" = set; then
2679 enableval="$enable_universal"
2680
2681 if test "$enableval" = yes; then
2682 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2683 else
2684 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2685 fi
2686
2687 else
2688
2689 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2690 if test "x$LINE" != x ; then
2691 eval "DEFAULT_$LINE"
2692 else
2693 no_cache=1
2694 fi
2695
2696 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2697
2698 fi;
2699
2700 eval "$ac_cv_use_universal"
2701 if test "$no_cache" != 1; then
2702 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2703 fi
2704
2705 if test "$wxUSE_UNIVERSAL" = yes; then
2706 echo "$as_me:$LINENO: result: yes" >&5
2707 echo "${ECHO_T}yes" >&6
2708 else
2709 echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6
2711 fi
2712
2713
2714 # Check whether --with-gtk or --without-gtk was given.
2715 if test "${with_gtk+set}" = set; then
2716 withval="$with_gtk"
2717 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2718 fi;
2719
2720 # Check whether --with-motif or --without-motif was given.
2721 if test "${with_motif+set}" = set; then
2722 withval="$with_motif"
2723 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2724 fi;
2725
2726 # Check whether --with-mac or --without-mac was given.
2727 if test "${with_mac+set}" = set; then
2728 withval="$with_mac"
2729 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2730 fi;
2731
2732 # Check whether --with-cocoa or --without-cocoa was given.
2733 if test "${with_cocoa+set}" = set; then
2734 withval="$with_cocoa"
2735 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2736 fi;
2737
2738 # Check whether --with-wine or --without-wine was given.
2739 if test "${with_wine+set}" = set; then
2740 withval="$with_wine"
2741 wxUSE_WINE="$withval" CACHE_WINE=1
2742 fi;
2743
2744 # Check whether --with-msw or --without-msw was given.
2745 if test "${with_msw+set}" = set; then
2746 withval="$with_msw"
2747 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2748 fi;
2749
2750 # Check whether --with-pm or --without-pm was given.
2751 if test "${with_pm+set}" = set; then
2752 withval="$with_pm"
2753 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2754 fi;
2755
2756 # Check whether --with-mgl or --without-mgl was given.
2757 if test "${with_mgl+set}" = set; then
2758 withval="$with_mgl"
2759 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2760 fi;
2761
2762 # Check whether --with-microwin or --without-microwin was given.
2763 if test "${with_microwin+set}" = set; then
2764 withval="$with_microwin"
2765 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2766 fi;
2767
2768 # Check whether --with-x11 or --without-x11 was given.
2769 if test "${with_x11+set}" = set; then
2770 withval="$with_x11"
2771 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2772 fi;
2773
2774 enablestring=
2775 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2776 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2777 no_cache=0
2778 # Check whether --enable-nanox or --disable-nanox was given.
2779 if test "${enable_nanox+set}" = set; then
2780 enableval="$enable_nanox"
2781
2782 if test "$enableval" = yes; then
2783 ac_cv_use_nanox='wxUSE_NANOX=yes'
2784 else
2785 ac_cv_use_nanox='wxUSE_NANOX=no'
2786 fi
2787
2788 else
2789
2790 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2791 if test "x$LINE" != x ; then
2792 eval "DEFAULT_$LINE"
2793 else
2794 no_cache=1
2795 fi
2796
2797 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2798
2799 fi;
2800
2801 eval "$ac_cv_use_nanox"
2802 if test "$no_cache" != 1; then
2803 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2804 fi
2805
2806 if test "$wxUSE_NANOX" = yes; then
2807 echo "$as_me:$LINENO: result: yes" >&5
2808 echo "${ECHO_T}yes" >&6
2809 else
2810 echo "$as_me:$LINENO: result: no" >&5
2811 echo "${ECHO_T}no" >&6
2812 fi
2813
2814
2815 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2816 if test "${enable_gtk2+set}" = set; then
2817 enableval="$enable_gtk2"
2818 wxUSE_GTK2="$enableval"
2819 fi;
2820
2821 enablestring=
2822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2823 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2824 no_cache=0
2825 # Check whether --enable-gpe or --disable-gpe was given.
2826 if test "${enable_gpe+set}" = set; then
2827 enableval="$enable_gpe"
2828
2829 if test "$enableval" = yes; then
2830 ac_cv_use_gpe='wxUSE_GPE=yes'
2831 else
2832 ac_cv_use_gpe='wxUSE_GPE=no'
2833 fi
2834
2835 else
2836
2837 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2838 if test "x$LINE" != x ; then
2839 eval "DEFAULT_$LINE"
2840 else
2841 no_cache=1
2842 fi
2843
2844 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2845
2846 fi;
2847
2848 eval "$ac_cv_use_gpe"
2849 if test "$no_cache" != 1; then
2850 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2851 fi
2852
2853 if test "$wxUSE_GPE" = yes; then
2854 echo "$as_me:$LINENO: result: yes" >&5
2855 echo "${ECHO_T}yes" >&6
2856 else
2857 echo "$as_me:$LINENO: result: no" >&5
2858 echo "${ECHO_T}no" >&6
2859 fi
2860
2861
2862
2863 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2864 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2865 no_cache=0
2866
2867 # Check whether --with-libpng or --without-libpng was given.
2868 if test "${with_libpng+set}" = set; then
2869 withval="$with_libpng"
2870
2871 if test "$withval" = yes; then
2872 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2873 elif test "$withval" = no; then
2874 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2875 elif test "$withval" = sys; then
2876 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2877 elif test "$withval" = builtin; then
2878 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2879 else
2880 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2881 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2882 { (exit 1); exit 1; }; }
2883 fi
2884
2885 else
2886
2887 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
2888 if test "x$LINE" != x ; then
2889 eval "DEFAULT_$LINE"
2890 else
2891 no_cache=1
2892 fi
2893
2894 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2895
2896 fi;
2897
2898 eval "$ac_cv_use_libpng"
2899 if test "$no_cache" != 1; then
2900 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2901 fi
2902
2903 if test "$wxUSE_LIBPNG" = yes; then
2904 echo "$as_me:$LINENO: result: yes" >&5
2905 echo "${ECHO_T}yes" >&6
2906 elif test "$wxUSE_LIBPNG" = no; then
2907 echo "$as_me:$LINENO: result: no" >&5
2908 echo "${ECHO_T}no" >&6
2909 elif test "$wxUSE_LIBPNG" = sys; then
2910 echo "$as_me:$LINENO: result: system version" >&5
2911 echo "${ECHO_T}system version" >&6
2912 elif test "$wxUSE_LIBPNG" = builtin; then
2913 echo "$as_me:$LINENO: result: builtin version" >&5
2914 echo "${ECHO_T}builtin version" >&6
2915 else
2916 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2917 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2918 { (exit 1); exit 1; }; }
2919 fi
2920
2921
2922 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2923 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2924 no_cache=0
2925
2926 # Check whether --with-libjpeg or --without-libjpeg was given.
2927 if test "${with_libjpeg+set}" = set; then
2928 withval="$with_libjpeg"
2929
2930 if test "$withval" = yes; then
2931 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2932 elif test "$withval" = no; then
2933 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2934 elif test "$withval" = sys; then
2935 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2936 elif test "$withval" = builtin; then
2937 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2938 else
2939 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2940 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2941 { (exit 1); exit 1; }; }
2942 fi
2943
2944 else
2945
2946 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2947 if test "x$LINE" != x ; then
2948 eval "DEFAULT_$LINE"
2949 else
2950 no_cache=1
2951 fi
2952
2953 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2954
2955 fi;
2956
2957 eval "$ac_cv_use_libjpeg"
2958 if test "$no_cache" != 1; then
2959 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2960 fi
2961
2962 if test "$wxUSE_LIBJPEG" = yes; then
2963 echo "$as_me:$LINENO: result: yes" >&5
2964 echo "${ECHO_T}yes" >&6
2965 elif test "$wxUSE_LIBJPEG" = no; then
2966 echo "$as_me:$LINENO: result: no" >&5
2967 echo "${ECHO_T}no" >&6
2968 elif test "$wxUSE_LIBJPEG" = sys; then
2969 echo "$as_me:$LINENO: result: system version" >&5
2970 echo "${ECHO_T}system version" >&6
2971 elif test "$wxUSE_LIBJPEG" = builtin; then
2972 echo "$as_me:$LINENO: result: builtin version" >&5
2973 echo "${ECHO_T}builtin version" >&6
2974 else
2975 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2976 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2977 { (exit 1); exit 1; }; }
2978 fi
2979
2980
2981 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2982 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2983 no_cache=0
2984
2985 # Check whether --with-libtiff or --without-libtiff was given.
2986 if test "${with_libtiff+set}" = set; then
2987 withval="$with_libtiff"
2988
2989 if test "$withval" = yes; then
2990 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2991 elif test "$withval" = no; then
2992 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2993 elif test "$withval" = sys; then
2994 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2995 elif test "$withval" = builtin; then
2996 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2997 else
2998 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2999 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3000 { (exit 1); exit 1; }; }
3001 fi
3002
3003 else
3004
3005 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3006 if test "x$LINE" != x ; then
3007 eval "DEFAULT_$LINE"
3008 else
3009 no_cache=1
3010 fi
3011
3012 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3013
3014 fi;
3015
3016 eval "$ac_cv_use_libtiff"
3017 if test "$no_cache" != 1; then
3018 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3019 fi
3020
3021 if test "$wxUSE_LIBTIFF" = yes; then
3022 echo "$as_me:$LINENO: result: yes" >&5
3023 echo "${ECHO_T}yes" >&6
3024 elif test "$wxUSE_LIBTIFF" = no; then
3025 echo "$as_me:$LINENO: result: no" >&5
3026 echo "${ECHO_T}no" >&6
3027 elif test "$wxUSE_LIBTIFF" = sys; then
3028 echo "$as_me:$LINENO: result: system version" >&5
3029 echo "${ECHO_T}system version" >&6
3030 elif test "$wxUSE_LIBTIFF" = builtin; then
3031 echo "$as_me:$LINENO: result: builtin version" >&5
3032 echo "${ECHO_T}builtin version" >&6
3033 else
3034 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3035 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3036 { (exit 1); exit 1; }; }
3037 fi
3038
3039
3040 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3041 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3042 no_cache=0
3043
3044 # Check whether --with-libxpm or --without-libxpm was given.
3045 if test "${with_libxpm+set}" = set; then
3046 withval="$with_libxpm"
3047
3048 if test "$withval" = yes; then
3049 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3050 elif test "$withval" = no; then
3051 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3052 elif test "$withval" = sys; then
3053 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3054 elif test "$withval" = builtin; then
3055 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3056 else
3057 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3058 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3059 { (exit 1); exit 1; }; }
3060 fi
3061
3062 else
3063
3064 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3065 if test "x$LINE" != x ; then
3066 eval "DEFAULT_$LINE"
3067 else
3068 no_cache=1
3069 fi
3070
3071 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3072
3073 fi;
3074
3075 eval "$ac_cv_use_libxpm"
3076 if test "$no_cache" != 1; then
3077 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3078 fi
3079
3080 if test "$wxUSE_LIBXPM" = yes; then
3081 echo "$as_me:$LINENO: result: yes" >&5
3082 echo "${ECHO_T}yes" >&6
3083 elif test "$wxUSE_LIBXPM" = no; then
3084 echo "$as_me:$LINENO: result: no" >&5
3085 echo "${ECHO_T}no" >&6
3086 elif test "$wxUSE_LIBXPM" = sys; then
3087 echo "$as_me:$LINENO: result: system version" >&5
3088 echo "${ECHO_T}system version" >&6
3089 elif test "$wxUSE_LIBXPM" = builtin; then
3090 echo "$as_me:$LINENO: result: builtin version" >&5
3091 echo "${ECHO_T}builtin version" >&6
3092 else
3093 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3094 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3095 { (exit 1); exit 1; }; }
3096 fi
3097
3098
3099 withstring=
3100 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3101 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3102 no_cache=0
3103
3104 # Check whether --with-libmspack or --without-libmspack was given.
3105 if test "${with_libmspack+set}" = set; then
3106 withval="$with_libmspack"
3107
3108 if test "$withval" = yes; then
3109 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3110 else
3111 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3112 fi
3113
3114 else
3115
3116 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3117 if test "x$LINE" != x ; then
3118 eval "DEFAULT_$LINE"
3119 else
3120 no_cache=1
3121 fi
3122
3123 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3124
3125 fi;
3126
3127 eval "$ac_cv_use_libmspack"
3128 if test "$no_cache" != 1; then
3129 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3130 fi
3131
3132 if test "$wxUSE_LIBMSPACK" = yes; then
3133 echo "$as_me:$LINENO: result: yes" >&5
3134 echo "${ECHO_T}yes" >&6
3135 else
3136 echo "$as_me:$LINENO: result: no" >&5
3137 echo "${ECHO_T}no" >&6
3138 fi
3139
3140
3141 withstring=
3142 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3143 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3144 no_cache=0
3145
3146 # Check whether --with-sdl or --without-sdl was given.
3147 if test "${with_sdl+set}" = set; then
3148 withval="$with_sdl"
3149
3150 if test "$withval" = yes; then
3151 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3152 else
3153 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3154 fi
3155
3156 else
3157
3158 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3159 if test "x$LINE" != x ; then
3160 eval "DEFAULT_$LINE"
3161 else
3162 no_cache=1
3163 fi
3164
3165 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3166
3167 fi;
3168
3169 eval "$ac_cv_use_sdl"
3170 if test "$no_cache" != 1; then
3171 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3172 fi
3173
3174 if test "$wxUSE_LIBSDL" = yes; then
3175 echo "$as_me:$LINENO: result: yes" >&5
3176 echo "${ECHO_T}yes" >&6
3177 else
3178 echo "$as_me:$LINENO: result: no" >&5
3179 echo "${ECHO_T}no" >&6
3180 fi
3181
3182
3183 withstring=
3184 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3185 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3186 no_cache=0
3187
3188 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3189 if test "${with_gnomeprint+set}" = set; then
3190 withval="$with_gnomeprint"
3191
3192 if test "$withval" = yes; then
3193 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3194 else
3195 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3196 fi
3197
3198 else
3199
3200 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3201 if test "x$LINE" != x ; then
3202 eval "DEFAULT_$LINE"
3203 else
3204 no_cache=1
3205 fi
3206
3207 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3208
3209 fi;
3210
3211 eval "$ac_cv_use_gnomeprint"
3212 if test "$no_cache" != 1; then
3213 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3214 fi
3215
3216 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3217 echo "$as_me:$LINENO: result: yes" >&5
3218 echo "${ECHO_T}yes" >&6
3219 else
3220 echo "$as_me:$LINENO: result: no" >&5
3221 echo "${ECHO_T}no" >&6
3222 fi
3223
3224
3225 withstring=
3226 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3227 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3228 no_cache=0
3229
3230 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3231 if test "${with_gnomevfs+set}" = set; then
3232 withval="$with_gnomevfs"
3233
3234 if test "$withval" = yes; then
3235 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3236 else
3237 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3238 fi
3239
3240 else
3241
3242 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3243 if test "x$LINE" != x ; then
3244 eval "DEFAULT_$LINE"
3245 else
3246 no_cache=1
3247 fi
3248
3249 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3250
3251 fi;
3252
3253 eval "$ac_cv_use_gnomevfs"
3254 if test "$no_cache" != 1; then
3255 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3256 fi
3257
3258 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3259 echo "$as_me:$LINENO: result: yes" >&5
3260 echo "${ECHO_T}yes" >&6
3261 else
3262 echo "$as_me:$LINENO: result: no" >&5
3263 echo "${ECHO_T}no" >&6
3264 fi
3265
3266
3267 withstring=
3268 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3269 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3270 no_cache=0
3271
3272 # Check whether --with-hildon or --without-hildon was given.
3273 if test "${with_hildon+set}" = set; then
3274 withval="$with_hildon"
3275
3276 if test "$withval" = yes; then
3277 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3278 else
3279 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3280 fi
3281
3282 else
3283
3284 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3285 if test "x$LINE" != x ; then
3286 eval "DEFAULT_$LINE"
3287 else
3288 no_cache=1
3289 fi
3290
3291 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3292
3293 fi;
3294
3295 eval "$ac_cv_use_hildon"
3296 if test "$no_cache" != 1; then
3297 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3298 fi
3299
3300 if test "$wxUSE_LIBHILDON" = yes; then
3301 echo "$as_me:$LINENO: result: yes" >&5
3302 echo "${ECHO_T}yes" >&6
3303 else
3304 echo "$as_me:$LINENO: result: no" >&5
3305 echo "${ECHO_T}no" >&6
3306 fi
3307
3308
3309 withstring=
3310 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3311 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3312 no_cache=0
3313
3314 # Check whether --with-opengl or --without-opengl was given.
3315 if test "${with_opengl+set}" = set; then
3316 withval="$with_opengl"
3317
3318 if test "$withval" = yes; then
3319 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3320 else
3321 ac_cv_use_opengl='wxUSE_OPENGL=no'
3322 fi
3323
3324 else
3325
3326 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3327 if test "x$LINE" != x ; then
3328 eval "DEFAULT_$LINE"
3329 else
3330 no_cache=1
3331 fi
3332
3333 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3334
3335 fi;
3336
3337 eval "$ac_cv_use_opengl"
3338 if test "$no_cache" != 1; then
3339 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3340 fi
3341
3342 if test "$wxUSE_OPENGL" = yes; then
3343 echo "$as_me:$LINENO: result: yes" >&5
3344 echo "${ECHO_T}yes" >&6
3345 else
3346 echo "$as_me:$LINENO: result: no" >&5
3347 echo "${ECHO_T}no" >&6
3348 fi
3349
3350
3351 fi
3352
3353
3354 withstring=
3355 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3356 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3357 no_cache=0
3358
3359 # Check whether --with-dmalloc or --without-dmalloc was given.
3360 if test "${with_dmalloc+set}" = set; then
3361 withval="$with_dmalloc"
3362
3363 if test "$withval" = yes; then
3364 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3365 else
3366 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3367 fi
3368
3369 else
3370
3371 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3372 if test "x$LINE" != x ; then
3373 eval "DEFAULT_$LINE"
3374 else
3375 no_cache=1
3376 fi
3377
3378 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3379
3380 fi;
3381
3382 eval "$ac_cv_use_dmalloc"
3383 if test "$no_cache" != 1; then
3384 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3385 fi
3386
3387 if test "$wxUSE_DMALLOC" = yes; then
3388 echo "$as_me:$LINENO: result: yes" >&5
3389 echo "${ECHO_T}yes" >&6
3390 else
3391 echo "$as_me:$LINENO: result: no" >&5
3392 echo "${ECHO_T}no" >&6
3393 fi
3394
3395
3396 echo "$as_me:$LINENO: checking for --with-regex" >&5
3397 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3398 no_cache=0
3399
3400 # Check whether --with-regex or --without-regex was given.
3401 if test "${with_regex+set}" = set; then
3402 withval="$with_regex"
3403
3404 if test "$withval" = yes; then
3405 ac_cv_use_regex='wxUSE_REGEX=yes'
3406 elif test "$withval" = no; then
3407 ac_cv_use_regex='wxUSE_REGEX=no'
3408 elif test "$withval" = sys; then
3409 ac_cv_use_regex='wxUSE_REGEX=sys'
3410 elif test "$withval" = builtin; then
3411 ac_cv_use_regex='wxUSE_REGEX=builtin'
3412 else
3413 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3414 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3415 { (exit 1); exit 1; }; }
3416 fi
3417
3418 else
3419
3420 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3421 if test "x$LINE" != x ; then
3422 eval "DEFAULT_$LINE"
3423 else
3424 no_cache=1
3425 fi
3426
3427 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3428
3429 fi;
3430
3431 eval "$ac_cv_use_regex"
3432 if test "$no_cache" != 1; then
3433 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3434 fi
3435
3436 if test "$wxUSE_REGEX" = yes; then
3437 echo "$as_me:$LINENO: result: yes" >&5
3438 echo "${ECHO_T}yes" >&6
3439 elif test "$wxUSE_REGEX" = no; then
3440 echo "$as_me:$LINENO: result: no" >&5
3441 echo "${ECHO_T}no" >&6
3442 elif test "$wxUSE_REGEX" = sys; then
3443 echo "$as_me:$LINENO: result: system version" >&5
3444 echo "${ECHO_T}system version" >&6
3445 elif test "$wxUSE_REGEX" = builtin; then
3446 echo "$as_me:$LINENO: result: builtin version" >&5
3447 echo "${ECHO_T}builtin version" >&6
3448 else
3449 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3450 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3451 { (exit 1); exit 1; }; }
3452 fi
3453
3454
3455 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3456 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3457 no_cache=0
3458
3459 # Check whether --with-zlib or --without-zlib was given.
3460 if test "${with_zlib+set}" = set; then
3461 withval="$with_zlib"
3462
3463 if test "$withval" = yes; then
3464 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3465 elif test "$withval" = no; then
3466 ac_cv_use_zlib='wxUSE_ZLIB=no'
3467 elif test "$withval" = sys; then
3468 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3469 elif test "$withval" = builtin; then
3470 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3471 else
3472 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3473 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3474 { (exit 1); exit 1; }; }
3475 fi
3476
3477 else
3478
3479 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3480 if test "x$LINE" != x ; then
3481 eval "DEFAULT_$LINE"
3482 else
3483 no_cache=1
3484 fi
3485
3486 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3487
3488 fi;
3489
3490 eval "$ac_cv_use_zlib"
3491 if test "$no_cache" != 1; then
3492 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3493 fi
3494
3495 if test "$wxUSE_ZLIB" = yes; then
3496 echo "$as_me:$LINENO: result: yes" >&5
3497 echo "${ECHO_T}yes" >&6
3498 elif test "$wxUSE_ZLIB" = no; then
3499 echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3501 elif test "$wxUSE_ZLIB" = sys; then
3502 echo "$as_me:$LINENO: result: system version" >&5
3503 echo "${ECHO_T}system version" >&6
3504 elif test "$wxUSE_ZLIB" = builtin; then
3505 echo "$as_me:$LINENO: result: builtin version" >&5
3506 echo "${ECHO_T}builtin version" >&6
3507 else
3508 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3509 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3510 { (exit 1); exit 1; }; }
3511 fi
3512
3513
3514 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3515 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3516 no_cache=0
3517
3518 # Check whether --with-odbc or --without-odbc was given.
3519 if test "${with_odbc+set}" = set; then
3520 withval="$with_odbc"
3521
3522 if test "$withval" = yes; then
3523 ac_cv_use_odbc='wxUSE_ODBC=yes'
3524 elif test "$withval" = no; then
3525 ac_cv_use_odbc='wxUSE_ODBC=no'
3526 elif test "$withval" = sys; then
3527 ac_cv_use_odbc='wxUSE_ODBC=sys'
3528 elif test "$withval" = builtin; then
3529 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3530 else
3531 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3532 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3533 { (exit 1); exit 1; }; }
3534 fi
3535
3536 else
3537
3538 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3539 if test "x$LINE" != x ; then
3540 eval "DEFAULT_$LINE"
3541 else
3542 no_cache=1
3543 fi
3544
3545 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3546
3547 fi;
3548
3549 eval "$ac_cv_use_odbc"
3550 if test "$no_cache" != 1; then
3551 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3552 fi
3553
3554 if test "$wxUSE_ODBC" = yes; then
3555 echo "$as_me:$LINENO: result: yes" >&5
3556 echo "${ECHO_T}yes" >&6
3557 elif test "$wxUSE_ODBC" = no; then
3558 echo "$as_me:$LINENO: result: no" >&5
3559 echo "${ECHO_T}no" >&6
3560 elif test "$wxUSE_ODBC" = sys; then
3561 echo "$as_me:$LINENO: result: system version" >&5
3562 echo "${ECHO_T}system version" >&6
3563 elif test "$wxUSE_ODBC" = builtin; then
3564 echo "$as_me:$LINENO: result: builtin version" >&5
3565 echo "${ECHO_T}builtin version" >&6
3566 else
3567 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3568 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3569 { (exit 1); exit 1; }; }
3570 fi
3571
3572
3573 echo "$as_me:$LINENO: checking for --with-expat" >&5
3574 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3575 no_cache=0
3576
3577 # Check whether --with-expat or --without-expat was given.
3578 if test "${with_expat+set}" = set; then
3579 withval="$with_expat"
3580
3581 if test "$withval" = yes; then
3582 ac_cv_use_expat='wxUSE_EXPAT=yes'
3583 elif test "$withval" = no; then
3584 ac_cv_use_expat='wxUSE_EXPAT=no'
3585 elif test "$withval" = sys; then
3586 ac_cv_use_expat='wxUSE_EXPAT=sys'
3587 elif test "$withval" = builtin; then
3588 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3589 else
3590 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3591 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3592 { (exit 1); exit 1; }; }
3593 fi
3594
3595 else
3596
3597 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3598 if test "x$LINE" != x ; then
3599 eval "DEFAULT_$LINE"
3600 else
3601 no_cache=1
3602 fi
3603
3604 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3605
3606 fi;
3607
3608 eval "$ac_cv_use_expat"
3609 if test "$no_cache" != 1; then
3610 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3611 fi
3612
3613 if test "$wxUSE_EXPAT" = yes; then
3614 echo "$as_me:$LINENO: result: yes" >&5
3615 echo "${ECHO_T}yes" >&6
3616 elif test "$wxUSE_EXPAT" = no; then
3617 echo "$as_me:$LINENO: result: no" >&5
3618 echo "${ECHO_T}no" >&6
3619 elif test "$wxUSE_EXPAT" = sys; then
3620 echo "$as_me:$LINENO: result: system version" >&5
3621 echo "${ECHO_T}system version" >&6
3622 elif test "$wxUSE_EXPAT" = builtin; then
3623 echo "$as_me:$LINENO: result: builtin version" >&5
3624 echo "${ECHO_T}builtin version" >&6
3625 else
3626 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3627 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3628 { (exit 1); exit 1; }; }
3629 fi
3630
3631
3632
3633
3634 enablestring=
3635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3636 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3637 no_cache=0
3638 # Check whether --enable-shared or --disable-shared was given.
3639 if test "${enable_shared+set}" = set; then
3640 enableval="$enable_shared"
3641
3642 if test "$enableval" = yes; then
3643 ac_cv_use_shared='wxUSE_SHARED=yes'
3644 else
3645 ac_cv_use_shared='wxUSE_SHARED=no'
3646 fi
3647
3648 else
3649
3650 LINE=`grep "wxUSE_SHARED" ${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_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3658
3659 fi;
3660
3661 eval "$ac_cv_use_shared"
3662 if test "$no_cache" != 1; then
3663 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3664 fi
3665
3666 if test "$wxUSE_SHARED" = yes; then
3667 echo "$as_me:$LINENO: result: yes" >&5
3668 echo "${ECHO_T}yes" >&6
3669 else
3670 echo "$as_me:$LINENO: result: no" >&5
3671 echo "${ECHO_T}no" >&6
3672 fi
3673
3674
3675 enablestring=
3676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3677 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3678 no_cache=0
3679 # Check whether --enable-optimise or --disable-optimise was given.
3680 if test "${enable_optimise+set}" = set; then
3681 enableval="$enable_optimise"
3682
3683 if test "$enableval" = yes; then
3684 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3685 else
3686 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3687 fi
3688
3689 else
3690
3691 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3692 if test "x$LINE" != x ; then
3693 eval "DEFAULT_$LINE"
3694 else
3695 no_cache=1
3696 fi
3697
3698 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3699
3700 fi;
3701
3702 eval "$ac_cv_use_optimise"
3703 if test "$no_cache" != 1; then
3704 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3705 fi
3706
3707 if test "$wxUSE_OPTIMISE" = yes; then
3708 echo "$as_me:$LINENO: result: yes" >&5
3709 echo "${ECHO_T}yes" >&6
3710 else
3711 echo "$as_me:$LINENO: result: no" >&5
3712 echo "${ECHO_T}no" >&6
3713 fi
3714
3715
3716 enablestring=
3717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3718 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3719 no_cache=0
3720 # Check whether --enable-debug or --disable-debug was given.
3721 if test "${enable_debug+set}" = set; then
3722 enableval="$enable_debug"
3723
3724 if test "$enableval" = yes; then
3725 ac_cv_use_debug='wxUSE_DEBUG=yes'
3726 else
3727 ac_cv_use_debug='wxUSE_DEBUG=no'
3728 fi
3729
3730 else
3731
3732 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3733 if test "x$LINE" != x ; then
3734 eval "DEFAULT_$LINE"
3735 else
3736 no_cache=1
3737 fi
3738
3739 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3740
3741 fi;
3742
3743 eval "$ac_cv_use_debug"
3744 if test "$no_cache" != 1; then
3745 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3746 fi
3747
3748 if test "$wxUSE_DEBUG" = yes; then
3749 echo "$as_me:$LINENO: result: yes" >&5
3750 echo "${ECHO_T}yes" >&6
3751 else
3752 echo "$as_me:$LINENO: result: no" >&5
3753 echo "${ECHO_T}no" >&6
3754 fi
3755
3756
3757 enablestring=
3758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3759 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3760 no_cache=0
3761 # Check whether --enable-stl or --disable-stl was given.
3762 if test "${enable_stl+set}" = set; then
3763 enableval="$enable_stl"
3764
3765 if test "$enableval" = yes; then
3766 ac_cv_use_stl='wxUSE_STL=yes'
3767 else
3768 ac_cv_use_stl='wxUSE_STL=no'
3769 fi
3770
3771 else
3772
3773 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3774 if test "x$LINE" != x ; then
3775 eval "DEFAULT_$LINE"
3776 else
3777 no_cache=1
3778 fi
3779
3780 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3781
3782 fi;
3783
3784 eval "$ac_cv_use_stl"
3785 if test "$no_cache" != 1; then
3786 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3787 fi
3788
3789 if test "$wxUSE_STL" = yes; then
3790 echo "$as_me:$LINENO: result: yes" >&5
3791 echo "${ECHO_T}yes" >&6
3792 else
3793 echo "$as_me:$LINENO: result: no" >&5
3794 echo "${ECHO_T}no" >&6
3795 fi
3796
3797 if test "$USE_OS2" = "1"; then
3798 DEFAULT_wxUSE_OMF=no
3799
3800 enablestring=
3801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3802 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3803 no_cache=0
3804 # Check whether --enable-omf or --disable-omf was given.
3805 if test "${enable_omf+set}" = set; then
3806 enableval="$enable_omf"
3807
3808 if test "$enableval" = yes; then
3809 ac_cv_use_omf='wxUSE_OMF=yes'
3810 else
3811 ac_cv_use_omf='wxUSE_OMF=no'
3812 fi
3813
3814 else
3815
3816 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3817 if test "x$LINE" != x ; then
3818 eval "DEFAULT_$LINE"
3819 else
3820 no_cache=1
3821 fi
3822
3823 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3824
3825 fi;
3826
3827 eval "$ac_cv_use_omf"
3828 if test "$no_cache" != 1; then
3829 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3830 fi
3831
3832 if test "$wxUSE_OMF" = yes; then
3833 echo "$as_me:$LINENO: result: yes" >&5
3834 echo "${ECHO_T}yes" >&6
3835 else
3836 echo "$as_me:$LINENO: result: no" >&5
3837 echo "${ECHO_T}no" >&6
3838 fi
3839
3840 fi
3841
3842 if test "$wxUSE_DEBUG" = "yes"; then
3843 DEFAULT_wxUSE_DEBUG_FLAG=yes
3844 DEFAULT_wxUSE_DEBUG_INFO=yes
3845 BUILD=debug
3846 elif test "$wxUSE_DEBUG" = "no"; then
3847 DEFAULT_wxUSE_DEBUG_FLAG=no
3848 DEFAULT_wxUSE_DEBUG_INFO=no
3849 BUILD=release
3850 fi
3851
3852
3853 enablestring=
3854 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3855 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3856 no_cache=0
3857 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3858 if test "${enable_debug_flag+set}" = set; then
3859 enableval="$enable_debug_flag"
3860
3861 if test "$enableval" = yes; then
3862 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3863 else
3864 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3865 fi
3866
3867 else
3868
3869 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3870 if test "x$LINE" != x ; then
3871 eval "DEFAULT_$LINE"
3872 else
3873 no_cache=1
3874 fi
3875
3876 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
3877
3878 fi;
3879
3880 eval "$ac_cv_use_debug_flag"
3881 if test "$no_cache" != 1; then
3882 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
3883 fi
3884
3885 if test "$wxUSE_DEBUG_FLAG" = yes; then
3886 echo "$as_me:$LINENO: result: yes" >&5
3887 echo "${ECHO_T}yes" >&6
3888 else
3889 echo "$as_me:$LINENO: result: no" >&5
3890 echo "${ECHO_T}no" >&6
3891 fi
3892
3893
3894 enablestring=
3895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
3896 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
3897 no_cache=0
3898 # Check whether --enable-debug_info or --disable-debug_info was given.
3899 if test "${enable_debug_info+set}" = set; then
3900 enableval="$enable_debug_info"
3901
3902 if test "$enableval" = yes; then
3903 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
3904 else
3905 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
3906 fi
3907
3908 else
3909
3910 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
3911 if test "x$LINE" != x ; then
3912 eval "DEFAULT_$LINE"
3913 else
3914 no_cache=1
3915 fi
3916
3917 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
3918
3919 fi;
3920
3921 eval "$ac_cv_use_debug_info"
3922 if test "$no_cache" != 1; then
3923 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
3924 fi
3925
3926 if test "$wxUSE_DEBUG_INFO" = yes; then
3927 echo "$as_me:$LINENO: result: yes" >&5
3928 echo "${ECHO_T}yes" >&6
3929 else
3930 echo "$as_me:$LINENO: result: no" >&5
3931 echo "${ECHO_T}no" >&6
3932 fi
3933
3934
3935 enablestring=
3936 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
3937 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
3938 no_cache=0
3939 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
3940 if test "${enable_debug_gdb+set}" = set; then
3941 enableval="$enable_debug_gdb"
3942
3943 if test "$enableval" = yes; then
3944 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
3945 else
3946 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
3947 fi
3948
3949 else
3950
3951 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x ; then
3953 eval "DEFAULT_$LINE"
3954 else
3955 no_cache=1
3956 fi
3957
3958 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
3959
3960 fi;
3961
3962 eval "$ac_cv_use_debug_gdb"
3963 if test "$no_cache" != 1; then
3964 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
3965 fi
3966
3967 if test "$wxUSE_DEBUG_GDB" = yes; then
3968 echo "$as_me:$LINENO: result: yes" >&5
3969 echo "${ECHO_T}yes" >&6
3970 else
3971 echo "$as_me:$LINENO: result: no" >&5
3972 echo "${ECHO_T}no" >&6
3973 fi
3974
3975
3976 enablestring=
3977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
3978 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
3979 no_cache=0
3980 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
3981 if test "${enable_debug_cntxt+set}" = set; then
3982 enableval="$enable_debug_cntxt"
3983
3984 if test "$enableval" = yes; then
3985 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
3986 else
3987 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
3988 fi
3989
3990 else
3991
3992 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
3993 if test "x$LINE" != x ; then
3994 eval "DEFAULT_$LINE"
3995 else
3996 no_cache=1
3997 fi
3998
3999 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4000
4001 fi;
4002
4003 eval "$ac_cv_use_debug_cntxt"
4004 if test "$no_cache" != 1; then
4005 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4006 fi
4007
4008 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4009 echo "$as_me:$LINENO: result: yes" >&5
4010 echo "${ECHO_T}yes" >&6
4011 else
4012 echo "$as_me:$LINENO: result: no" >&5
4013 echo "${ECHO_T}no" >&6
4014 fi
4015
4016
4017 enablestring=
4018 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4019 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4020 no_cache=0
4021 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4022 if test "${enable_mem_tracing+set}" = set; then
4023 enableval="$enable_mem_tracing"
4024
4025 if test "$enableval" = yes; then
4026 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4027 else
4028 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4029 fi
4030
4031 else
4032
4033 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4034 if test "x$LINE" != x ; then
4035 eval "DEFAULT_$LINE"
4036 else
4037 no_cache=1
4038 fi
4039
4040 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4041
4042 fi;
4043
4044 eval "$ac_cv_use_mem_tracing"
4045 if test "$no_cache" != 1; then
4046 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4047 fi
4048
4049 if test "$wxUSE_MEM_TRACING" = yes; then
4050 echo "$as_me:$LINENO: result: yes" >&5
4051 echo "${ECHO_T}yes" >&6
4052 else
4053 echo "$as_me:$LINENO: result: no" >&5
4054 echo "${ECHO_T}no" >&6
4055 fi
4056
4057
4058 enablestring=
4059 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4060 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4061 no_cache=0
4062 # Check whether --enable-profile or --disable-profile was given.
4063 if test "${enable_profile+set}" = set; then
4064 enableval="$enable_profile"
4065
4066 if test "$enableval" = yes; then
4067 ac_cv_use_profile='wxUSE_PROFILE=yes'
4068 else
4069 ac_cv_use_profile='wxUSE_PROFILE=no'
4070 fi
4071
4072 else
4073
4074 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4075 if test "x$LINE" != x ; then
4076 eval "DEFAULT_$LINE"
4077 else
4078 no_cache=1
4079 fi
4080
4081 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4082
4083 fi;
4084
4085 eval "$ac_cv_use_profile"
4086 if test "$no_cache" != 1; then
4087 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4088 fi
4089
4090 if test "$wxUSE_PROFILE" = yes; then
4091 echo "$as_me:$LINENO: result: yes" >&5
4092 echo "${ECHO_T}yes" >&6
4093 else
4094 echo "$as_me:$LINENO: result: no" >&5
4095 echo "${ECHO_T}no" >&6
4096 fi
4097
4098
4099 enablestring=
4100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4101 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4102 no_cache=0
4103 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4104 if test "${enable_no_rtti+set}" = set; then
4105 enableval="$enable_no_rtti"
4106
4107 if test "$enableval" = yes; then
4108 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4109 else
4110 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4111 fi
4112
4113 else
4114
4115 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4116 if test "x$LINE" != x ; then
4117 eval "DEFAULT_$LINE"
4118 else
4119 no_cache=1
4120 fi
4121
4122 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4123
4124 fi;
4125
4126 eval "$ac_cv_use_no_rtti"
4127 if test "$no_cache" != 1; then
4128 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4129 fi
4130
4131 if test "$wxUSE_NO_RTTI" = yes; then
4132 echo "$as_me:$LINENO: result: yes" >&5
4133 echo "${ECHO_T}yes" >&6
4134 else
4135 echo "$as_me:$LINENO: result: no" >&5
4136 echo "${ECHO_T}no" >&6
4137 fi
4138
4139
4140 enablestring=
4141 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4142 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4143 no_cache=0
4144 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4145 if test "${enable_no_exceptions+set}" = set; then
4146 enableval="$enable_no_exceptions"
4147
4148 if test "$enableval" = yes; then
4149 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4150 else
4151 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4152 fi
4153
4154 else
4155
4156 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4157 if test "x$LINE" != x ; then
4158 eval "DEFAULT_$LINE"
4159 else
4160 no_cache=1
4161 fi
4162
4163 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4164
4165 fi;
4166
4167 eval "$ac_cv_use_no_exceptions"
4168 if test "$no_cache" != 1; then
4169 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4170 fi
4171
4172 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4173 echo "$as_me:$LINENO: result: yes" >&5
4174 echo "${ECHO_T}yes" >&6
4175 else
4176 echo "$as_me:$LINENO: result: no" >&5
4177 echo "${ECHO_T}no" >&6
4178 fi
4179
4180
4181 enablestring=
4182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4183 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4184 no_cache=0
4185 # Check whether --enable-permissive or --disable-permissive was given.
4186 if test "${enable_permissive+set}" = set; then
4187 enableval="$enable_permissive"
4188
4189 if test "$enableval" = yes; then
4190 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4191 else
4192 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4193 fi
4194
4195 else
4196
4197 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x ; then
4199 eval "DEFAULT_$LINE"
4200 else
4201 no_cache=1
4202 fi
4203
4204 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4205
4206 fi;
4207
4208 eval "$ac_cv_use_permissive"
4209 if test "$no_cache" != 1; then
4210 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4211 fi
4212
4213 if test "$wxUSE_PERMISSIVE" = yes; then
4214 echo "$as_me:$LINENO: result: yes" >&5
4215 echo "${ECHO_T}yes" >&6
4216 else
4217 echo "$as_me:$LINENO: result: no" >&5
4218 echo "${ECHO_T}no" >&6
4219 fi
4220
4221
4222 enablestring=
4223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4224 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4225 no_cache=0
4226 # Check whether --enable-no_deps or --disable-no_deps was given.
4227 if test "${enable_no_deps+set}" = set; then
4228 enableval="$enable_no_deps"
4229
4230 if test "$enableval" = yes; then
4231 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4232 else
4233 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4234 fi
4235
4236 else
4237
4238 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4239 if test "x$LINE" != x ; then
4240 eval "DEFAULT_$LINE"
4241 else
4242 no_cache=1
4243 fi
4244
4245 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4246
4247 fi;
4248
4249 eval "$ac_cv_use_no_deps"
4250 if test "$no_cache" != 1; then
4251 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4252 fi
4253
4254 if test "$wxUSE_NO_DEPS" = yes; then
4255 echo "$as_me:$LINENO: result: yes" >&5
4256 echo "${ECHO_T}yes" >&6
4257 else
4258 echo "$as_me:$LINENO: result: no" >&5
4259 echo "${ECHO_T}no" >&6
4260 fi
4261
4262
4263 enablestring=
4264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4265 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4266 no_cache=0
4267 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4268 if test "${enable_universal_binary+set}" = set; then
4269 enableval="$enable_universal_binary"
4270
4271 if test "$enableval" = yes; then
4272 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY=yes'
4273 else
4274 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY=no'
4275 fi
4276
4277 else
4278
4279 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4280 if test "x$LINE" != x ; then
4281 eval "DEFAULT_$LINE"
4282 else
4283 no_cache=1
4284 fi
4285
4286 ac_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4287
4288 fi;
4289
4290 eval "$ac_cv_use_universal_binary"
4291 if test "$no_cache" != 1; then
4292 echo $ac_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4293 fi
4294
4295 if test "$wxUSE_UNIVERSAL_BINARY" = yes; then
4296 echo "$as_me:$LINENO: result: yes" >&5
4297 echo "${ECHO_T}yes" >&6
4298 else
4299 echo "$as_me:$LINENO: result: no" >&5
4300 echo "${ECHO_T}no" >&6
4301 fi
4302
4303
4304
4305 enablestring=enable
4306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4307 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4308 no_cache=0
4309 # Check whether --enable-compat24 or --disable-compat24 was given.
4310 if test "${enable_compat24+set}" = set; then
4311 enableval="$enable_compat24"
4312
4313 if test "$enableval" = yes; then
4314 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4315 else
4316 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4317 fi
4318
4319 else
4320
4321 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4322 if test "x$LINE" != x ; then
4323 eval "DEFAULT_$LINE"
4324 else
4325 no_cache=1
4326 fi
4327
4328 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4329
4330 fi;
4331
4332 eval "$ac_cv_use_compat24"
4333 if test "$no_cache" != 1; then
4334 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4335 fi
4336
4337 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4338 echo "$as_me:$LINENO: result: yes" >&5
4339 echo "${ECHO_T}yes" >&6
4340 else
4341 echo "$as_me:$LINENO: result: no" >&5
4342 echo "${ECHO_T}no" >&6
4343 fi
4344
4345
4346 enablestring=disable
4347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4348 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4349 no_cache=0
4350 # Check whether --enable-compat26 or --disable-compat26 was given.
4351 if test "${enable_compat26+set}" = set; then
4352 enableval="$enable_compat26"
4353
4354 if test "$enableval" = yes; then
4355 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4356 else
4357 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4358 fi
4359
4360 else
4361
4362 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4363 if test "x$LINE" != x ; then
4364 eval "DEFAULT_$LINE"
4365 else
4366 no_cache=1
4367 fi
4368
4369 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4370
4371 fi;
4372
4373 eval "$ac_cv_use_compat26"
4374 if test "$no_cache" != 1; then
4375 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4376 fi
4377
4378 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4379 echo "$as_me:$LINENO: result: yes" >&5
4380 echo "${ECHO_T}yes" >&6
4381 else
4382 echo "$as_me:$LINENO: result: no" >&5
4383 echo "${ECHO_T}no" >&6
4384 fi
4385
4386
4387
4388 enablestring=
4389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4390 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4391 no_cache=0
4392 # Check whether --enable-rpath or --disable-rpath was given.
4393 if test "${enable_rpath+set}" = set; then
4394 enableval="$enable_rpath"
4395
4396 if test "$enableval" = yes; then
4397 ac_cv_use_rpath='wxUSE_RPATH=yes'
4398 else
4399 ac_cv_use_rpath='wxUSE_RPATH=no'
4400 fi
4401
4402 else
4403
4404 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4405 if test "x$LINE" != x ; then
4406 eval "DEFAULT_$LINE"
4407 else
4408 no_cache=1
4409 fi
4410
4411 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4412
4413 fi;
4414
4415 eval "$ac_cv_use_rpath"
4416 if test "$no_cache" != 1; then
4417 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4418 fi
4419
4420 if test "$wxUSE_RPATH" = yes; then
4421 echo "$as_me:$LINENO: result: yes" >&5
4422 echo "${ECHO_T}yes" >&6
4423 else
4424 echo "$as_me:$LINENO: result: no" >&5
4425 echo "${ECHO_T}no" >&6
4426 fi
4427
4428
4429
4430
4431
4432 enablestring=
4433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4434 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4435 no_cache=0
4436 # Check whether --enable-intl or --disable-intl was given.
4437 if test "${enable_intl+set}" = set; then
4438 enableval="$enable_intl"
4439
4440 if test "$enableval" = yes; then
4441 ac_cv_use_intl='wxUSE_INTL=yes'
4442 else
4443 ac_cv_use_intl='wxUSE_INTL=no'
4444 fi
4445
4446 else
4447
4448 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4449 if test "x$LINE" != x ; then
4450 eval "DEFAULT_$LINE"
4451 else
4452 no_cache=1
4453 fi
4454
4455 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4456
4457 fi;
4458
4459 eval "$ac_cv_use_intl"
4460 if test "$no_cache" != 1; then
4461 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4462 fi
4463
4464 if test "$wxUSE_INTL" = yes; then
4465 echo "$as_me:$LINENO: result: yes" >&5
4466 echo "${ECHO_T}yes" >&6
4467 else
4468 echo "$as_me:$LINENO: result: no" >&5
4469 echo "${ECHO_T}no" >&6
4470 fi
4471
4472
4473 enablestring=
4474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4475 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4476 no_cache=0
4477 # Check whether --enable-config or --disable-config was given.
4478 if test "${enable_config+set}" = set; then
4479 enableval="$enable_config"
4480
4481 if test "$enableval" = yes; then
4482 ac_cv_use_config='wxUSE_CONFIG=yes'
4483 else
4484 ac_cv_use_config='wxUSE_CONFIG=no'
4485 fi
4486
4487 else
4488
4489 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4490 if test "x$LINE" != x ; then
4491 eval "DEFAULT_$LINE"
4492 else
4493 no_cache=1
4494 fi
4495
4496 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4497
4498 fi;
4499
4500 eval "$ac_cv_use_config"
4501 if test "$no_cache" != 1; then
4502 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4503 fi
4504
4505 if test "$wxUSE_CONFIG" = yes; then
4506 echo "$as_me:$LINENO: result: yes" >&5
4507 echo "${ECHO_T}yes" >&6
4508 else
4509 echo "$as_me:$LINENO: result: no" >&5
4510 echo "${ECHO_T}no" >&6
4511 fi
4512
4513
4514
4515 enablestring=
4516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4517 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4518 no_cache=0
4519 # Check whether --enable-protocols or --disable-protocols was given.
4520 if test "${enable_protocols+set}" = set; then
4521 enableval="$enable_protocols"
4522
4523 if test "$enableval" = yes; then
4524 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4525 else
4526 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4527 fi
4528
4529 else
4530
4531 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4532 if test "x$LINE" != x ; then
4533 eval "DEFAULT_$LINE"
4534 else
4535 no_cache=1
4536 fi
4537
4538 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4539
4540 fi;
4541
4542 eval "$ac_cv_use_protocols"
4543 if test "$no_cache" != 1; then
4544 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4545 fi
4546
4547 if test "$wxUSE_PROTOCOL" = yes; then
4548 echo "$as_me:$LINENO: result: yes" >&5
4549 echo "${ECHO_T}yes" >&6
4550 else
4551 echo "$as_me:$LINENO: result: no" >&5
4552 echo "${ECHO_T}no" >&6
4553 fi
4554
4555
4556 enablestring=
4557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4558 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4559 no_cache=0
4560 # Check whether --enable-ftp or --disable-ftp was given.
4561 if test "${enable_ftp+set}" = set; then
4562 enableval="$enable_ftp"
4563
4564 if test "$enableval" = yes; then
4565 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4566 else
4567 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4568 fi
4569
4570 else
4571
4572 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4573 if test "x$LINE" != x ; then
4574 eval "DEFAULT_$LINE"
4575 else
4576 no_cache=1
4577 fi
4578
4579 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4580
4581 fi;
4582
4583 eval "$ac_cv_use_ftp"
4584 if test "$no_cache" != 1; then
4585 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4586 fi
4587
4588 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4589 echo "$as_me:$LINENO: result: yes" >&5
4590 echo "${ECHO_T}yes" >&6
4591 else
4592 echo "$as_me:$LINENO: result: no" >&5
4593 echo "${ECHO_T}no" >&6
4594 fi
4595
4596
4597 enablestring=
4598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4599 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4600 no_cache=0
4601 # Check whether --enable-http or --disable-http was given.
4602 if test "${enable_http+set}" = set; then
4603 enableval="$enable_http"
4604
4605 if test "$enableval" = yes; then
4606 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4607 else
4608 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4609 fi
4610
4611 else
4612
4613 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4614 if test "x$LINE" != x ; then
4615 eval "DEFAULT_$LINE"
4616 else
4617 no_cache=1
4618 fi
4619
4620 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4621
4622 fi;
4623
4624 eval "$ac_cv_use_http"
4625 if test "$no_cache" != 1; then
4626 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4627 fi
4628
4629 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4630 echo "$as_me:$LINENO: result: yes" >&5
4631 echo "${ECHO_T}yes" >&6
4632 else
4633 echo "$as_me:$LINENO: result: no" >&5
4634 echo "${ECHO_T}no" >&6
4635 fi
4636
4637
4638 enablestring=
4639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4640 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4641 no_cache=0
4642 # Check whether --enable-fileproto or --disable-fileproto was given.
4643 if test "${enable_fileproto+set}" = set; then
4644 enableval="$enable_fileproto"
4645
4646 if test "$enableval" = yes; then
4647 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4648 else
4649 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4650 fi
4651
4652 else
4653
4654 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4655 if test "x$LINE" != x ; then
4656 eval "DEFAULT_$LINE"
4657 else
4658 no_cache=1
4659 fi
4660
4661 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4662
4663 fi;
4664
4665 eval "$ac_cv_use_fileproto"
4666 if test "$no_cache" != 1; then
4667 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4668 fi
4669
4670 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4671 echo "$as_me:$LINENO: result: yes" >&5
4672 echo "${ECHO_T}yes" >&6
4673 else
4674 echo "$as_me:$LINENO: result: no" >&5
4675 echo "${ECHO_T}no" >&6
4676 fi
4677
4678
4679 enablestring=
4680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4681 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4682 no_cache=0
4683 # Check whether --enable-sockets or --disable-sockets was given.
4684 if test "${enable_sockets+set}" = set; then
4685 enableval="$enable_sockets"
4686
4687 if test "$enableval" = yes; then
4688 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4689 else
4690 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4691 fi
4692
4693 else
4694
4695 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4696 if test "x$LINE" != x ; then
4697 eval "DEFAULT_$LINE"
4698 else
4699 no_cache=1
4700 fi
4701
4702 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4703
4704 fi;
4705
4706 eval "$ac_cv_use_sockets"
4707 if test "$no_cache" != 1; then
4708 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4709 fi
4710
4711 if test "$wxUSE_SOCKETS" = yes; then
4712 echo "$as_me:$LINENO: result: yes" >&5
4713 echo "${ECHO_T}yes" >&6
4714 else
4715 echo "$as_me:$LINENO: result: no" >&5
4716 echo "${ECHO_T}no" >&6
4717 fi
4718
4719
4720 enablestring=
4721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4722 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4723 no_cache=0
4724 # Check whether --enable-ole or --disable-ole was given.
4725 if test "${enable_ole+set}" = set; then
4726 enableval="$enable_ole"
4727
4728 if test "$enableval" = yes; then
4729 ac_cv_use_ole='wxUSE_OLE=yes'
4730 else
4731 ac_cv_use_ole='wxUSE_OLE=no'
4732 fi
4733
4734 else
4735
4736 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4737 if test "x$LINE" != x ; then
4738 eval "DEFAULT_$LINE"
4739 else
4740 no_cache=1
4741 fi
4742
4743 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4744
4745 fi;
4746
4747 eval "$ac_cv_use_ole"
4748 if test "$no_cache" != 1; then
4749 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4750 fi
4751
4752 if test "$wxUSE_OLE" = yes; then
4753 echo "$as_me:$LINENO: result: yes" >&5
4754 echo "${ECHO_T}yes" >&6
4755 else
4756 echo "$as_me:$LINENO: result: no" >&5
4757 echo "${ECHO_T}no" >&6
4758 fi
4759
4760
4761 enablestring=
4762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4763 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4764 no_cache=0
4765 # Check whether --enable-dataobj or --disable-dataobj was given.
4766 if test "${enable_dataobj+set}" = set; then
4767 enableval="$enable_dataobj"
4768
4769 if test "$enableval" = yes; then
4770 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4771 else
4772 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4773 fi
4774
4775 else
4776
4777 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4778 if test "x$LINE" != x ; then
4779 eval "DEFAULT_$LINE"
4780 else
4781 no_cache=1
4782 fi
4783
4784 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4785
4786 fi;
4787
4788 eval "$ac_cv_use_dataobj"
4789 if test "$no_cache" != 1; then
4790 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4791 fi
4792
4793 if test "$wxUSE_DATAOBJ" = yes; then
4794 echo "$as_me:$LINENO: result: yes" >&5
4795 echo "${ECHO_T}yes" >&6
4796 else
4797 echo "$as_me:$LINENO: result: no" >&5
4798 echo "${ECHO_T}no" >&6
4799 fi
4800
4801
4802
4803 enablestring=
4804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4805 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4806 no_cache=0
4807 # Check whether --enable-ipc or --disable-ipc was given.
4808 if test "${enable_ipc+set}" = set; then
4809 enableval="$enable_ipc"
4810
4811 if test "$enableval" = yes; then
4812 ac_cv_use_ipc='wxUSE_IPC=yes'
4813 else
4814 ac_cv_use_ipc='wxUSE_IPC=no'
4815 fi
4816
4817 else
4818
4819 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4820 if test "x$LINE" != x ; then
4821 eval "DEFAULT_$LINE"
4822 else
4823 no_cache=1
4824 fi
4825
4826 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4827
4828 fi;
4829
4830 eval "$ac_cv_use_ipc"
4831 if test "$no_cache" != 1; then
4832 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4833 fi
4834
4835 if test "$wxUSE_IPC" = yes; then
4836 echo "$as_me:$LINENO: result: yes" >&5
4837 echo "${ECHO_T}yes" >&6
4838 else
4839 echo "$as_me:$LINENO: result: no" >&5
4840 echo "${ECHO_T}no" >&6
4841 fi
4842
4843
4844
4845 enablestring=
4846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4847 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4848 no_cache=0
4849 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4850 if test "${enable_apple_ieee+set}" = set; then
4851 enableval="$enable_apple_ieee"
4852
4853 if test "$enableval" = yes; then
4854 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4855 else
4856 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4857 fi
4858
4859 else
4860
4861 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4862 if test "x$LINE" != x ; then
4863 eval "DEFAULT_$LINE"
4864 else
4865 no_cache=1
4866 fi
4867
4868 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4869
4870 fi;
4871
4872 eval "$ac_cv_use_apple_ieee"
4873 if test "$no_cache" != 1; then
4874 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4875 fi
4876
4877 if test "$wxUSE_APPLE_IEEE" = yes; then
4878 echo "$as_me:$LINENO: result: yes" >&5
4879 echo "${ECHO_T}yes" >&6
4880 else
4881 echo "$as_me:$LINENO: result: no" >&5
4882 echo "${ECHO_T}no" >&6
4883 fi
4884
4885
4886 enablestring=
4887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
4888 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
4889 no_cache=0
4890 # Check whether --enable-arcstream or --disable-arcstream was given.
4891 if test "${enable_arcstream+set}" = set; then
4892 enableval="$enable_arcstream"
4893
4894 if test "$enableval" = yes; then
4895 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
4896 else
4897 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
4898 fi
4899
4900 else
4901
4902 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
4903 if test "x$LINE" != x ; then
4904 eval "DEFAULT_$LINE"
4905 else
4906 no_cache=1
4907 fi
4908
4909 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
4910
4911 fi;
4912
4913 eval "$ac_cv_use_arcstream"
4914 if test "$no_cache" != 1; then
4915 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
4916 fi
4917
4918 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
4919 echo "$as_me:$LINENO: result: yes" >&5
4920 echo "${ECHO_T}yes" >&6
4921 else
4922 echo "$as_me:$LINENO: result: no" >&5
4923 echo "${ECHO_T}no" >&6
4924 fi
4925
4926
4927 enablestring=
4928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
4929 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
4930 no_cache=0
4931 # Check whether --enable-backtrace or --disable-backtrace was given.
4932 if test "${enable_backtrace+set}" = set; then
4933 enableval="$enable_backtrace"
4934
4935 if test "$enableval" = yes; then
4936 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
4937 else
4938 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
4939 fi
4940
4941 else
4942
4943 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
4944 if test "x$LINE" != x ; then
4945 eval "DEFAULT_$LINE"
4946 else
4947 no_cache=1
4948 fi
4949
4950 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
4951
4952 fi;
4953
4954 eval "$ac_cv_use_backtrace"
4955 if test "$no_cache" != 1; then
4956 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
4957 fi
4958
4959 if test "$wxUSE_STACKWALKER" = yes; then
4960 echo "$as_me:$LINENO: result: yes" >&5
4961 echo "${ECHO_T}yes" >&6
4962 else
4963 echo "$as_me:$LINENO: result: no" >&5
4964 echo "${ECHO_T}no" >&6
4965 fi
4966
4967
4968 enablestring=
4969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
4970 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
4971 no_cache=0
4972 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4973 if test "${enable_catch_segvs+set}" = set; then
4974 enableval="$enable_catch_segvs"
4975
4976 if test "$enableval" = yes; then
4977 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
4978 else
4979 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
4980 fi
4981
4982 else
4983
4984 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4985 if test "x$LINE" != x ; then
4986 eval "DEFAULT_$LINE"
4987 else
4988 no_cache=1
4989 fi
4990
4991 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4992
4993 fi;
4994
4995 eval "$ac_cv_use_catch_segvs"
4996 if test "$no_cache" != 1; then
4997 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4998 fi
4999
5000 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5001 echo "$as_me:$LINENO: result: yes" >&5
5002 echo "${ECHO_T}yes" >&6
5003 else
5004 echo "$as_me:$LINENO: result: no" >&5
5005 echo "${ECHO_T}no" >&6
5006 fi
5007
5008
5009 enablestring=
5010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5011 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5012 no_cache=0
5013 # Check whether --enable-cmdline or --disable-cmdline was given.
5014 if test "${enable_cmdline+set}" = set; then
5015 enableval="$enable_cmdline"
5016
5017 if test "$enableval" = yes; then
5018 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5019 else
5020 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5021 fi
5022
5023 else
5024
5025 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5026 if test "x$LINE" != x ; then
5027 eval "DEFAULT_$LINE"
5028 else
5029 no_cache=1
5030 fi
5031
5032 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5033
5034 fi;
5035
5036 eval "$ac_cv_use_cmdline"
5037 if test "$no_cache" != 1; then
5038 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5039 fi
5040
5041 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5042 echo "$as_me:$LINENO: result: yes" >&5
5043 echo "${ECHO_T}yes" >&6
5044 else
5045 echo "$as_me:$LINENO: result: no" >&5
5046 echo "${ECHO_T}no" >&6
5047 fi
5048
5049
5050 enablestring=
5051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5052 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5053 no_cache=0
5054 # Check whether --enable-datetime or --disable-datetime was given.
5055 if test "${enable_datetime+set}" = set; then
5056 enableval="$enable_datetime"
5057
5058 if test "$enableval" = yes; then
5059 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5060 else
5061 ac_cv_use_datetime='wxUSE_DATETIME=no'
5062 fi
5063
5064 else
5065
5066 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5067 if test "x$LINE" != x ; then
5068 eval "DEFAULT_$LINE"
5069 else
5070 no_cache=1
5071 fi
5072
5073 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5074
5075 fi;
5076
5077 eval "$ac_cv_use_datetime"
5078 if test "$no_cache" != 1; then
5079 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5080 fi
5081
5082 if test "$wxUSE_DATETIME" = yes; then
5083 echo "$as_me:$LINENO: result: yes" >&5
5084 echo "${ECHO_T}yes" >&6
5085 else
5086 echo "$as_me:$LINENO: result: no" >&5
5087 echo "${ECHO_T}no" >&6
5088 fi
5089
5090
5091 enablestring=
5092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5093 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5094 no_cache=0
5095 # Check whether --enable-debugreport or --disable-debugreport was given.
5096 if test "${enable_debugreport+set}" = set; then
5097 enableval="$enable_debugreport"
5098
5099 if test "$enableval" = yes; then
5100 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5101 else
5102 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5103 fi
5104
5105 else
5106
5107 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5108 if test "x$LINE" != x ; then
5109 eval "DEFAULT_$LINE"
5110 else
5111 no_cache=1
5112 fi
5113
5114 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5115
5116 fi;
5117
5118 eval "$ac_cv_use_debugreport"
5119 if test "$no_cache" != 1; then
5120 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5121 fi
5122
5123 if test "$wxUSE_DEBUGREPORT" = yes; then
5124 echo "$as_me:$LINENO: result: yes" >&5
5125 echo "${ECHO_T}yes" >&6
5126 else
5127 echo "$as_me:$LINENO: result: no" >&5
5128 echo "${ECHO_T}no" >&6
5129 fi
5130
5131
5132 enablestring=
5133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5134 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5135 no_cache=0
5136 # Check whether --enable-dialupman or --disable-dialupman was given.
5137 if test "${enable_dialupman+set}" = set; then
5138 enableval="$enable_dialupman"
5139
5140 if test "$enableval" = yes; then
5141 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5142 else
5143 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5144 fi
5145
5146 else
5147
5148 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5149 if test "x$LINE" != x ; then
5150 eval "DEFAULT_$LINE"
5151 else
5152 no_cache=1
5153 fi
5154
5155 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5156
5157 fi;
5158
5159 eval "$ac_cv_use_dialupman"
5160 if test "$no_cache" != 1; then
5161 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5162 fi
5163
5164 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5165 echo "$as_me:$LINENO: result: yes" >&5
5166 echo "${ECHO_T}yes" >&6
5167 else
5168 echo "$as_me:$LINENO: result: no" >&5
5169 echo "${ECHO_T}no" >&6
5170 fi
5171
5172
5173 enablestring=
5174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5176 no_cache=0
5177 # Check whether --enable-dynlib or --disable-dynlib was given.
5178 if test "${enable_dynlib+set}" = set; then
5179 enableval="$enable_dynlib"
5180
5181 if test "$enableval" = yes; then
5182 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5183 else
5184 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5185 fi
5186
5187 else
5188
5189 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5190 if test "x$LINE" != x ; then
5191 eval "DEFAULT_$LINE"
5192 else
5193 no_cache=1
5194 fi
5195
5196 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5197
5198 fi;
5199
5200 eval "$ac_cv_use_dynlib"
5201 if test "$no_cache" != 1; then
5202 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5203 fi
5204
5205 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5206 echo "$as_me:$LINENO: result: yes" >&5
5207 echo "${ECHO_T}yes" >&6
5208 else
5209 echo "$as_me:$LINENO: result: no" >&5
5210 echo "${ECHO_T}no" >&6
5211 fi
5212
5213
5214 enablestring=
5215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5216 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5217 no_cache=0
5218 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5219 if test "${enable_dynamicloader+set}" = set; then
5220 enableval="$enable_dynamicloader"
5221
5222 if test "$enableval" = yes; then
5223 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5224 else
5225 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5226 fi
5227
5228 else
5229
5230 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5231 if test "x$LINE" != x ; then
5232 eval "DEFAULT_$LINE"
5233 else
5234 no_cache=1
5235 fi
5236
5237 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5238
5239 fi;
5240
5241 eval "$ac_cv_use_dynamicloader"
5242 if test "$no_cache" != 1; then
5243 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5244 fi
5245
5246 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5247 echo "$as_me:$LINENO: result: yes" >&5
5248 echo "${ECHO_T}yes" >&6
5249 else
5250 echo "$as_me:$LINENO: result: no" >&5
5251 echo "${ECHO_T}no" >&6
5252 fi
5253
5254
5255 enablestring=
5256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5257 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5258 no_cache=0
5259 # Check whether --enable-exceptions or --disable-exceptions was given.
5260 if test "${enable_exceptions+set}" = set; then
5261 enableval="$enable_exceptions"
5262
5263 if test "$enableval" = yes; then
5264 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5265 else
5266 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5267 fi
5268
5269 else
5270
5271 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x ; then
5273 eval "DEFAULT_$LINE"
5274 else
5275 no_cache=1
5276 fi
5277
5278 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5279
5280 fi;
5281
5282 eval "$ac_cv_use_exceptions"
5283 if test "$no_cache" != 1; then
5284 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5285 fi
5286
5287 if test "$wxUSE_EXCEPTIONS" = yes; then
5288 echo "$as_me:$LINENO: result: yes" >&5
5289 echo "${ECHO_T}yes" >&6
5290 else
5291 echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6
5293 fi
5294
5295
5296 enablestring=
5297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5298 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5299 no_cache=0
5300 # Check whether --enable-ffile or --disable-ffile was given.
5301 if test "${enable_ffile+set}" = set; then
5302 enableval="$enable_ffile"
5303
5304 if test "$enableval" = yes; then
5305 ac_cv_use_ffile='wxUSE_FFILE=yes'
5306 else
5307 ac_cv_use_ffile='wxUSE_FFILE=no'
5308 fi
5309
5310 else
5311
5312 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5313 if test "x$LINE" != x ; then
5314 eval "DEFAULT_$LINE"
5315 else
5316 no_cache=1
5317 fi
5318
5319 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5320
5321 fi;
5322
5323 eval "$ac_cv_use_ffile"
5324 if test "$no_cache" != 1; then
5325 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5326 fi
5327
5328 if test "$wxUSE_FFILE" = yes; then
5329 echo "$as_me:$LINENO: result: yes" >&5
5330 echo "${ECHO_T}yes" >&6
5331 else
5332 echo "$as_me:$LINENO: result: no" >&5
5333 echo "${ECHO_T}no" >&6
5334 fi
5335
5336
5337 enablestring=
5338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5339 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5340 no_cache=0
5341 # Check whether --enable-file or --disable-file was given.
5342 if test "${enable_file+set}" = set; then
5343 enableval="$enable_file"
5344
5345 if test "$enableval" = yes; then
5346 ac_cv_use_file='wxUSE_FILE=yes'
5347 else
5348 ac_cv_use_file='wxUSE_FILE=no'
5349 fi
5350
5351 else
5352
5353 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5354 if test "x$LINE" != x ; then
5355 eval "DEFAULT_$LINE"
5356 else
5357 no_cache=1
5358 fi
5359
5360 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5361
5362 fi;
5363
5364 eval "$ac_cv_use_file"
5365 if test "$no_cache" != 1; then
5366 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5367 fi
5368
5369 if test "$wxUSE_FILE" = yes; then
5370 echo "$as_me:$LINENO: result: yes" >&5
5371 echo "${ECHO_T}yes" >&6
5372 else
5373 echo "$as_me:$LINENO: result: no" >&5
5374 echo "${ECHO_T}no" >&6
5375 fi
5376
5377
5378 enablestring=
5379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5380 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5381 no_cache=0
5382 # Check whether --enable-filesystem or --disable-filesystem was given.
5383 if test "${enable_filesystem+set}" = set; then
5384 enableval="$enable_filesystem"
5385
5386 if test "$enableval" = yes; then
5387 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5388 else
5389 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5390 fi
5391
5392 else
5393
5394 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5395 if test "x$LINE" != x ; then
5396 eval "DEFAULT_$LINE"
5397 else
5398 no_cache=1
5399 fi
5400
5401 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5402
5403 fi;
5404
5405 eval "$ac_cv_use_filesystem"
5406 if test "$no_cache" != 1; then
5407 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5408 fi
5409
5410 if test "$wxUSE_FILESYSTEM" = yes; then
5411 echo "$as_me:$LINENO: result: yes" >&5
5412 echo "${ECHO_T}yes" >&6
5413 else
5414 echo "$as_me:$LINENO: result: no" >&5
5415 echo "${ECHO_T}no" >&6
5416 fi
5417
5418
5419 enablestring=
5420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5421 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5422 no_cache=0
5423 # Check whether --enable-fontmap or --disable-fontmap was given.
5424 if test "${enable_fontmap+set}" = set; then
5425 enableval="$enable_fontmap"
5426
5427 if test "$enableval" = yes; then
5428 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5429 else
5430 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5431 fi
5432
5433 else
5434
5435 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5436 if test "x$LINE" != x ; then
5437 eval "DEFAULT_$LINE"
5438 else
5439 no_cache=1
5440 fi
5441
5442 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5443
5444 fi;
5445
5446 eval "$ac_cv_use_fontmap"
5447 if test "$no_cache" != 1; then
5448 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5449 fi
5450
5451 if test "$wxUSE_FONTMAP" = yes; then
5452 echo "$as_me:$LINENO: result: yes" >&5
5453 echo "${ECHO_T}yes" >&6
5454 else
5455 echo "$as_me:$LINENO: result: no" >&5
5456 echo "${ECHO_T}no" >&6
5457 fi
5458
5459
5460 enablestring=
5461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5462 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5463 no_cache=0
5464 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5465 if test "${enable_fs_inet+set}" = set; then
5466 enableval="$enable_fs_inet"
5467
5468 if test "$enableval" = yes; then
5469 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5470 else
5471 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5472 fi
5473
5474 else
5475
5476 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5477 if test "x$LINE" != x ; then
5478 eval "DEFAULT_$LINE"
5479 else
5480 no_cache=1
5481 fi
5482
5483 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5484
5485 fi;
5486
5487 eval "$ac_cv_use_fs_inet"
5488 if test "$no_cache" != 1; then
5489 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5490 fi
5491
5492 if test "$wxUSE_FS_INET" = yes; then
5493 echo "$as_me:$LINENO: result: yes" >&5
5494 echo "${ECHO_T}yes" >&6
5495 else
5496 echo "$as_me:$LINENO: result: no" >&5
5497 echo "${ECHO_T}no" >&6
5498 fi
5499
5500
5501 enablestring=
5502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5503 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5504 no_cache=0
5505 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5506 if test "${enable_fs_zip+set}" = set; then
5507 enableval="$enable_fs_zip"
5508
5509 if test "$enableval" = yes; then
5510 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5511 else
5512 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5513 fi
5514
5515 else
5516
5517 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5518 if test "x$LINE" != x ; then
5519 eval "DEFAULT_$LINE"
5520 else
5521 no_cache=1
5522 fi
5523
5524 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5525
5526 fi;
5527
5528 eval "$ac_cv_use_fs_zip"
5529 if test "$no_cache" != 1; then
5530 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5531 fi
5532
5533 if test "$wxUSE_FS_ZIP" = yes; then
5534 echo "$as_me:$LINENO: result: yes" >&5
5535 echo "${ECHO_T}yes" >&6
5536 else
5537 echo "$as_me:$LINENO: result: no" >&5
5538 echo "${ECHO_T}no" >&6
5539 fi
5540
5541
5542 enablestring=
5543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5544 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5545 no_cache=0
5546 # Check whether --enable-geometry or --disable-geometry was given.
5547 if test "${enable_geometry+set}" = set; then
5548 enableval="$enable_geometry"
5549
5550 if test "$enableval" = yes; then
5551 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5552 else
5553 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5554 fi
5555
5556 else
5557
5558 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5559 if test "x$LINE" != x ; then
5560 eval "DEFAULT_$LINE"
5561 else
5562 no_cache=1
5563 fi
5564
5565 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5566
5567 fi;
5568
5569 eval "$ac_cv_use_geometry"
5570 if test "$no_cache" != 1; then
5571 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5572 fi
5573
5574 if test "$wxUSE_GEOMETRY" = yes; then
5575 echo "$as_me:$LINENO: result: yes" >&5
5576 echo "${ECHO_T}yes" >&6
5577 else
5578 echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6
5580 fi
5581
5582
5583 enablestring=
5584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5585 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5586 no_cache=0
5587 # Check whether --enable-log or --disable-log was given.
5588 if test "${enable_log+set}" = set; then
5589 enableval="$enable_log"
5590
5591 if test "$enableval" = yes; then
5592 ac_cv_use_log='wxUSE_LOG=yes'
5593 else
5594 ac_cv_use_log='wxUSE_LOG=no'
5595 fi
5596
5597 else
5598
5599 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5600 if test "x$LINE" != x ; then
5601 eval "DEFAULT_$LINE"
5602 else
5603 no_cache=1
5604 fi
5605
5606 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5607
5608 fi;
5609
5610 eval "$ac_cv_use_log"
5611 if test "$no_cache" != 1; then
5612 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5613 fi
5614
5615 if test "$wxUSE_LOG" = yes; then
5616 echo "$as_me:$LINENO: result: yes" >&5
5617 echo "${ECHO_T}yes" >&6
5618 else
5619 echo "$as_me:$LINENO: result: no" >&5
5620 echo "${ECHO_T}no" >&6
5621 fi
5622
5623
5624 enablestring=
5625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5626 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5627 no_cache=0
5628 # Check whether --enable-longlong or --disable-longlong was given.
5629 if test "${enable_longlong+set}" = set; then
5630 enableval="$enable_longlong"
5631
5632 if test "$enableval" = yes; then
5633 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5634 else
5635 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5636 fi
5637
5638 else
5639
5640 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5641 if test "x$LINE" != x ; then
5642 eval "DEFAULT_$LINE"
5643 else
5644 no_cache=1
5645 fi
5646
5647 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5648
5649 fi;
5650
5651 eval "$ac_cv_use_longlong"
5652 if test "$no_cache" != 1; then
5653 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5654 fi
5655
5656 if test "$wxUSE_LONGLONG" = yes; then
5657 echo "$as_me:$LINENO: result: yes" >&5
5658 echo "${ECHO_T}yes" >&6
5659 else
5660 echo "$as_me:$LINENO: result: no" >&5
5661 echo "${ECHO_T}no" >&6
5662 fi
5663
5664
5665 enablestring=
5666 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5667 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5668 no_cache=0
5669 # Check whether --enable-mimetype or --disable-mimetype was given.
5670 if test "${enable_mimetype+set}" = set; then
5671 enableval="$enable_mimetype"
5672
5673 if test "$enableval" = yes; then
5674 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5675 else
5676 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5677 fi
5678
5679 else
5680
5681 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5682 if test "x$LINE" != x ; then
5683 eval "DEFAULT_$LINE"
5684 else
5685 no_cache=1
5686 fi
5687
5688 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5689
5690 fi;
5691
5692 eval "$ac_cv_use_mimetype"
5693 if test "$no_cache" != 1; then
5694 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5695 fi
5696
5697 if test "$wxUSE_MIMETYPE" = yes; then
5698 echo "$as_me:$LINENO: result: yes" >&5
5699 echo "${ECHO_T}yes" >&6
5700 else
5701 echo "$as_me:$LINENO: result: no" >&5
5702 echo "${ECHO_T}no" >&6
5703 fi
5704
5705
5706 enablestring=
5707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5708 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5709 no_cache=0
5710 # Check whether --enable-mslu or --disable-mslu was given.
5711 if test "${enable_mslu+set}" = set; then
5712 enableval="$enable_mslu"
5713
5714 if test "$enableval" = yes; then
5715 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5716 else
5717 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5718 fi
5719
5720 else
5721
5722 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5723 if test "x$LINE" != x ; then
5724 eval "DEFAULT_$LINE"
5725 else
5726 no_cache=1
5727 fi
5728
5729 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5730
5731 fi;
5732
5733 eval "$ac_cv_use_mslu"
5734 if test "$no_cache" != 1; then
5735 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5736 fi
5737
5738 if test "$wxUSE_UNICODE_MSLU" = yes; then
5739 echo "$as_me:$LINENO: result: yes" >&5
5740 echo "${ECHO_T}yes" >&6
5741 else
5742 echo "$as_me:$LINENO: result: no" >&5
5743 echo "${ECHO_T}no" >&6
5744 fi
5745
5746
5747 enablestring=
5748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5749 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5750 no_cache=0
5751 # Check whether --enable-snglinst or --disable-snglinst was given.
5752 if test "${enable_snglinst+set}" = set; then
5753 enableval="$enable_snglinst"
5754
5755 if test "$enableval" = yes; then
5756 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5757 else
5758 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5759 fi
5760
5761 else
5762
5763 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5764 if test "x$LINE" != x ; then
5765 eval "DEFAULT_$LINE"
5766 else
5767 no_cache=1
5768 fi
5769
5770 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5771
5772 fi;
5773
5774 eval "$ac_cv_use_snglinst"
5775 if test "$no_cache" != 1; then
5776 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5777 fi
5778
5779 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5780 echo "$as_me:$LINENO: result: yes" >&5
5781 echo "${ECHO_T}yes" >&6
5782 else
5783 echo "$as_me:$LINENO: result: no" >&5
5784 echo "${ECHO_T}no" >&6
5785 fi
5786
5787
5788 enablestring=
5789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5790 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5791 no_cache=0
5792 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5793 if test "${enable_std_iostreams+set}" = set; then
5794 enableval="$enable_std_iostreams"
5795
5796 if test "$enableval" = yes; then
5797 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5798 else
5799 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5800 fi
5801
5802 else
5803
5804 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x ; then
5806 eval "DEFAULT_$LINE"
5807 else
5808 no_cache=1
5809 fi
5810
5811 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5812
5813 fi;
5814
5815 eval "$ac_cv_use_std_iostreams"
5816 if test "$no_cache" != 1; then
5817 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5818 fi
5819
5820 if test "$wxUSE_STD_IOSTREAM" = yes; then
5821 echo "$as_me:$LINENO: result: yes" >&5
5822 echo "${ECHO_T}yes" >&6
5823 else
5824 echo "$as_me:$LINENO: result: no" >&5
5825 echo "${ECHO_T}no" >&6
5826 fi
5827
5828
5829 enablestring=
5830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5831 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5832 no_cache=0
5833 # Check whether --enable-std_string or --disable-std_string was given.
5834 if test "${enable_std_string+set}" = set; then
5835 enableval="$enable_std_string"
5836
5837 if test "$enableval" = yes; then
5838 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5839 else
5840 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5841 fi
5842
5843 else
5844
5845 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5846 if test "x$LINE" != x ; then
5847 eval "DEFAULT_$LINE"
5848 else
5849 no_cache=1
5850 fi
5851
5852 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5853
5854 fi;
5855
5856 eval "$ac_cv_use_std_string"
5857 if test "$no_cache" != 1; then
5858 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5859 fi
5860
5861 if test "$wxUSE_STD_STRING" = yes; then
5862 echo "$as_me:$LINENO: result: yes" >&5
5863 echo "${ECHO_T}yes" >&6
5864 else
5865 echo "$as_me:$LINENO: result: no" >&5
5866 echo "${ECHO_T}no" >&6
5867 fi
5868
5869
5870 enablestring=
5871 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5872 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5873 no_cache=0
5874 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5875 if test "${enable_stdpaths+set}" = set; then
5876 enableval="$enable_stdpaths"
5877
5878 if test "$enableval" = yes; then
5879 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5880 else
5881 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
5882 fi
5883
5884 else
5885
5886 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
5887 if test "x$LINE" != x ; then
5888 eval "DEFAULT_$LINE"
5889 else
5890 no_cache=1
5891 fi
5892
5893 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
5894
5895 fi;
5896
5897 eval "$ac_cv_use_stdpaths"
5898 if test "$no_cache" != 1; then
5899 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
5900 fi
5901
5902 if test "$wxUSE_STDPATHS" = yes; then
5903 echo "$as_me:$LINENO: result: yes" >&5
5904 echo "${ECHO_T}yes" >&6
5905 else
5906 echo "$as_me:$LINENO: result: no" >&5
5907 echo "${ECHO_T}no" >&6
5908 fi
5909
5910
5911 enablestring=
5912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
5913 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
5914 no_cache=0
5915 # Check whether --enable-stopwatch or --disable-stopwatch was given.
5916 if test "${enable_stopwatch+set}" = set; then
5917 enableval="$enable_stopwatch"
5918
5919 if test "$enableval" = yes; then
5920 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
5921 else
5922 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
5923 fi
5924
5925 else
5926
5927 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
5928 if test "x$LINE" != x ; then
5929 eval "DEFAULT_$LINE"
5930 else
5931 no_cache=1
5932 fi
5933
5934 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
5935
5936 fi;
5937
5938 eval "$ac_cv_use_stopwatch"
5939 if test "$no_cache" != 1; then
5940 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
5941 fi
5942
5943 if test "$wxUSE_STOPWATCH" = yes; then
5944 echo "$as_me:$LINENO: result: yes" >&5
5945 echo "${ECHO_T}yes" >&6
5946 else
5947 echo "$as_me:$LINENO: result: no" >&5
5948 echo "${ECHO_T}no" >&6
5949 fi
5950
5951
5952 enablestring=
5953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
5954 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
5955 no_cache=0
5956 # Check whether --enable-streams or --disable-streams was given.
5957 if test "${enable_streams+set}" = set; then
5958 enableval="$enable_streams"
5959
5960 if test "$enableval" = yes; then
5961 ac_cv_use_streams='wxUSE_STREAMS=yes'
5962 else
5963 ac_cv_use_streams='wxUSE_STREAMS=no'
5964 fi
5965
5966 else
5967
5968 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
5969 if test "x$LINE" != x ; then
5970 eval "DEFAULT_$LINE"
5971 else
5972 no_cache=1
5973 fi
5974
5975 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5976
5977 fi;
5978
5979 eval "$ac_cv_use_streams"
5980 if test "$no_cache" != 1; then
5981 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
5982 fi
5983
5984 if test "$wxUSE_STREAMS" = yes; then
5985 echo "$as_me:$LINENO: result: yes" >&5
5986 echo "${ECHO_T}yes" >&6
5987 else
5988 echo "$as_me:$LINENO: result: no" >&5
5989 echo "${ECHO_T}no" >&6
5990 fi
5991
5992
5993 enablestring=
5994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
5995 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
5996 no_cache=0
5997 # Check whether --enable-system_options or --disable-system_options was given.
5998 if test "${enable_system_options+set}" = set; then
5999 enableval="$enable_system_options"
6000
6001 if test "$enableval" = yes; then
6002 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6003 else
6004 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6005 fi
6006
6007 else
6008
6009 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6010 if test "x$LINE" != x ; then
6011 eval "DEFAULT_$LINE"
6012 else
6013 no_cache=1
6014 fi
6015
6016 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6017
6018 fi;
6019
6020 eval "$ac_cv_use_system_options"
6021 if test "$no_cache" != 1; then
6022 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6023 fi
6024
6025 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6026 echo "$as_me:$LINENO: result: yes" >&5
6027 echo "${ECHO_T}yes" >&6
6028 else
6029 echo "$as_me:$LINENO: result: no" >&5
6030 echo "${ECHO_T}no" >&6
6031 fi
6032
6033
6034 enablestring=
6035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6036 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6037 no_cache=0
6038 # Check whether --enable-textbuf or --disable-textbuf was given.
6039 if test "${enable_textbuf+set}" = set; then
6040 enableval="$enable_textbuf"
6041
6042 if test "$enableval" = yes; then
6043 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6044 else
6045 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6046 fi
6047
6048 else
6049
6050 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6051 if test "x$LINE" != x ; then
6052 eval "DEFAULT_$LINE"
6053 else
6054 no_cache=1
6055 fi
6056
6057 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6058
6059 fi;
6060
6061 eval "$ac_cv_use_textbuf"
6062 if test "$no_cache" != 1; then
6063 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6064 fi
6065
6066 if test "$wxUSE_TEXTBUFFER" = yes; then
6067 echo "$as_me:$LINENO: result: yes" >&5
6068 echo "${ECHO_T}yes" >&6
6069 else
6070 echo "$as_me:$LINENO: result: no" >&5
6071 echo "${ECHO_T}no" >&6
6072 fi
6073
6074
6075 enablestring=
6076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6077 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6078 no_cache=0
6079 # Check whether --enable-textfile or --disable-textfile was given.
6080 if test "${enable_textfile+set}" = set; then
6081 enableval="$enable_textfile"
6082
6083 if test "$enableval" = yes; then
6084 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6085 else
6086 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6087 fi
6088
6089 else
6090
6091 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6092 if test "x$LINE" != x ; then
6093 eval "DEFAULT_$LINE"
6094 else
6095 no_cache=1
6096 fi
6097
6098 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6099
6100 fi;
6101
6102 eval "$ac_cv_use_textfile"
6103 if test "$no_cache" != 1; then
6104 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6105 fi
6106
6107 if test "$wxUSE_TEXTFILE" = yes; then
6108 echo "$as_me:$LINENO: result: yes" >&5
6109 echo "${ECHO_T}yes" >&6
6110 else
6111 echo "$as_me:$LINENO: result: no" >&5
6112 echo "${ECHO_T}no" >&6
6113 fi
6114
6115
6116 enablestring=
6117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6118 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6119 no_cache=0
6120 # Check whether --enable-timer or --disable-timer was given.
6121 if test "${enable_timer+set}" = set; then
6122 enableval="$enable_timer"
6123
6124 if test "$enableval" = yes; then
6125 ac_cv_use_timer='wxUSE_TIMER=yes'
6126 else
6127 ac_cv_use_timer='wxUSE_TIMER=no'
6128 fi
6129
6130 else
6131
6132 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6133 if test "x$LINE" != x ; then
6134 eval "DEFAULT_$LINE"
6135 else
6136 no_cache=1
6137 fi
6138
6139 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6140
6141 fi;
6142
6143 eval "$ac_cv_use_timer"
6144 if test "$no_cache" != 1; then
6145 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6146 fi
6147
6148 if test "$wxUSE_TIMER" = yes; then
6149 echo "$as_me:$LINENO: result: yes" >&5
6150 echo "${ECHO_T}yes" >&6
6151 else
6152 echo "$as_me:$LINENO: result: no" >&5
6153 echo "${ECHO_T}no" >&6
6154 fi
6155
6156
6157 enablestring=
6158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6159 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6160 no_cache=0
6161 # Check whether --enable-unicode or --disable-unicode was given.
6162 if test "${enable_unicode+set}" = set; then
6163 enableval="$enable_unicode"
6164
6165 if test "$enableval" = yes; then
6166 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6167 else
6168 ac_cv_use_unicode='wxUSE_UNICODE=no'
6169 fi
6170
6171 else
6172
6173 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6174 if test "x$LINE" != x ; then
6175 eval "DEFAULT_$LINE"
6176 else
6177 no_cache=1
6178 fi
6179
6180 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6181
6182 fi;
6183
6184 eval "$ac_cv_use_unicode"
6185 if test "$no_cache" != 1; then
6186 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6187 fi
6188
6189 if test "$wxUSE_UNICODE" = yes; then
6190 echo "$as_me:$LINENO: result: yes" >&5
6191 echo "${ECHO_T}yes" >&6
6192 else
6193 echo "$as_me:$LINENO: result: no" >&5
6194 echo "${ECHO_T}no" >&6
6195 fi
6196
6197
6198 enablestring=
6199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6200 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6201 no_cache=0
6202 # Check whether --enable-sound or --disable-sound was given.
6203 if test "${enable_sound+set}" = set; then
6204 enableval="$enable_sound"
6205
6206 if test "$enableval" = yes; then
6207 ac_cv_use_sound='wxUSE_SOUND=yes'
6208 else
6209 ac_cv_use_sound='wxUSE_SOUND=no'
6210 fi
6211
6212 else
6213
6214 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6215 if test "x$LINE" != x ; then
6216 eval "DEFAULT_$LINE"
6217 else
6218 no_cache=1
6219 fi
6220
6221 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6222
6223 fi;
6224
6225 eval "$ac_cv_use_sound"
6226 if test "$no_cache" != 1; then
6227 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6228 fi
6229
6230 if test "$wxUSE_SOUND" = yes; then
6231 echo "$as_me:$LINENO: result: yes" >&5
6232 echo "${ECHO_T}yes" >&6
6233 else
6234 echo "$as_me:$LINENO: result: no" >&5
6235 echo "${ECHO_T}no" >&6
6236 fi
6237
6238
6239 enablestring=
6240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6241 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6242 no_cache=0
6243 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6244 if test "${enable_mediactrl+set}" = set; then
6245 enableval="$enable_mediactrl"
6246
6247 if test "$enableval" = yes; then
6248 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6249 else
6250 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6251 fi
6252
6253 else
6254
6255 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6256 if test "x$LINE" != x ; then
6257 eval "DEFAULT_$LINE"
6258 else
6259 no_cache=1
6260 fi
6261
6262 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6263
6264 fi;
6265
6266 eval "$ac_cv_use_mediactrl"
6267 if test "$no_cache" != 1; then
6268 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6269 fi
6270
6271 if test "$wxUSE_MEDIACTRL" = yes; then
6272 echo "$as_me:$LINENO: result: yes" >&5
6273 echo "${ECHO_T}yes" >&6
6274 else
6275 echo "$as_me:$LINENO: result: no" >&5
6276 echo "${ECHO_T}no" >&6
6277 fi
6278
6279
6280 enablestring=
6281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6282 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6283 no_cache=0
6284 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6285 if test "${enable_gstreamer8+set}" = set; then
6286 enableval="$enable_gstreamer8"
6287
6288 if test "$enableval" = yes; then
6289 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6290 else
6291 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6292 fi
6293
6294 else
6295
6296 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6297 if test "x$LINE" != x ; then
6298 eval "DEFAULT_$LINE"
6299 else
6300 no_cache=1
6301 fi
6302
6303 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6304
6305 fi;
6306
6307 eval "$ac_cv_use_gstreamer8"
6308 if test "$no_cache" != 1; then
6309 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6310 fi
6311
6312 if test "$wxUSE_GSTREAMER8" = yes; then
6313 echo "$as_me:$LINENO: result: yes" >&5
6314 echo "${ECHO_T}yes" >&6
6315 else
6316 echo "$as_me:$LINENO: result: no" >&5
6317 echo "${ECHO_T}no" >&6
6318 fi
6319
6320
6321 enablestring=
6322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6323 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6324 no_cache=0
6325 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6326 if test "${enable_printfposparam+set}" = set; then
6327 enableval="$enable_printfposparam"
6328
6329 if test "$enableval" = yes; then
6330 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6331 else
6332 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6333 fi
6334
6335 else
6336
6337 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6338 if test "x$LINE" != x ; then
6339 eval "DEFAULT_$LINE"
6340 else
6341 no_cache=1
6342 fi
6343
6344 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6345
6346 fi;
6347
6348 eval "$ac_cv_use_printfposparam"
6349 if test "$no_cache" != 1; then
6350 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6351 fi
6352
6353 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6354 echo "$as_me:$LINENO: result: yes" >&5
6355 echo "${ECHO_T}yes" >&6
6356 else
6357 echo "$as_me:$LINENO: result: no" >&5
6358 echo "${ECHO_T}no" >&6
6359 fi
6360
6361
6362 enablestring=
6363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6364 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6365 no_cache=0
6366 # Check whether --enable-zipstream or --disable-zipstream was given.
6367 if test "${enable_zipstream+set}" = set; then
6368 enableval="$enable_zipstream"
6369
6370 if test "$enableval" = yes; then
6371 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6372 else
6373 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6374 fi
6375
6376 else
6377
6378 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6379 if test "x$LINE" != x ; then
6380 eval "DEFAULT_$LINE"
6381 else
6382 no_cache=1
6383 fi
6384
6385 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6386
6387 fi;
6388
6389 eval "$ac_cv_use_zipstream"
6390 if test "$no_cache" != 1; then
6391 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6392 fi
6393
6394 if test "$wxUSE_ZIPSTREAM" = yes; then
6395 echo "$as_me:$LINENO: result: yes" >&5
6396 echo "${ECHO_T}yes" >&6
6397 else
6398 echo "$as_me:$LINENO: result: no" >&5
6399 echo "${ECHO_T}no" >&6
6400 fi
6401
6402
6403
6404 enablestring=
6405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6406 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6407 no_cache=0
6408 # Check whether --enable-url or --disable-url was given.
6409 if test "${enable_url+set}" = set; then
6410 enableval="$enable_url"
6411
6412 if test "$enableval" = yes; then
6413 ac_cv_use_url='wxUSE_URL=yes'
6414 else
6415 ac_cv_use_url='wxUSE_URL=no'
6416 fi
6417
6418 else
6419
6420 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6421 if test "x$LINE" != x ; then
6422 eval "DEFAULT_$LINE"
6423 else
6424 no_cache=1
6425 fi
6426
6427 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6428
6429 fi;
6430
6431 eval "$ac_cv_use_url"
6432 if test "$no_cache" != 1; then
6433 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6434 fi
6435
6436 if test "$wxUSE_URL" = yes; then
6437 echo "$as_me:$LINENO: result: yes" >&5
6438 echo "${ECHO_T}yes" >&6
6439 else
6440 echo "$as_me:$LINENO: result: no" >&5
6441 echo "${ECHO_T}no" >&6
6442 fi
6443
6444
6445 enablestring=
6446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6447 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6448 no_cache=0
6449 # Check whether --enable-protocol or --disable-protocol was given.
6450 if test "${enable_protocol+set}" = set; then
6451 enableval="$enable_protocol"
6452
6453 if test "$enableval" = yes; then
6454 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6455 else
6456 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6457 fi
6458
6459 else
6460
6461 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6462 if test "x$LINE" != x ; then
6463 eval "DEFAULT_$LINE"
6464 else
6465 no_cache=1
6466 fi
6467
6468 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6469
6470 fi;
6471
6472 eval "$ac_cv_use_protocol"
6473 if test "$no_cache" != 1; then
6474 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6475 fi
6476
6477 if test "$wxUSE_PROTOCOL" = yes; then
6478 echo "$as_me:$LINENO: result: yes" >&5
6479 echo "${ECHO_T}yes" >&6
6480 else
6481 echo "$as_me:$LINENO: result: no" >&5
6482 echo "${ECHO_T}no" >&6
6483 fi
6484
6485
6486 enablestring=
6487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6488 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6489 no_cache=0
6490 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6491 if test "${enable_protocol_http+set}" = set; then
6492 enableval="$enable_protocol_http"
6493
6494 if test "$enableval" = yes; then
6495 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6496 else
6497 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6498 fi
6499
6500 else
6501
6502 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6503 if test "x$LINE" != x ; then
6504 eval "DEFAULT_$LINE"
6505 else
6506 no_cache=1
6507 fi
6508
6509 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6510
6511 fi;
6512
6513 eval "$ac_cv_use_protocol_http"
6514 if test "$no_cache" != 1; then
6515 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6516 fi
6517
6518 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6519 echo "$as_me:$LINENO: result: yes" >&5
6520 echo "${ECHO_T}yes" >&6
6521 else
6522 echo "$as_me:$LINENO: result: no" >&5
6523 echo "${ECHO_T}no" >&6
6524 fi
6525
6526
6527 enablestring=
6528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6529 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6530 no_cache=0
6531 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6532 if test "${enable_protocol_ftp+set}" = set; then
6533 enableval="$enable_protocol_ftp"
6534
6535 if test "$enableval" = yes; then
6536 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6537 else
6538 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6539 fi
6540
6541 else
6542
6543 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6544 if test "x$LINE" != x ; then
6545 eval "DEFAULT_$LINE"
6546 else
6547 no_cache=1
6548 fi
6549
6550 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6551
6552 fi;
6553
6554 eval "$ac_cv_use_protocol_ftp"
6555 if test "$no_cache" != 1; then
6556 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6557 fi
6558
6559 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6560 echo "$as_me:$LINENO: result: yes" >&5
6561 echo "${ECHO_T}yes" >&6
6562 else
6563 echo "$as_me:$LINENO: result: no" >&5
6564 echo "${ECHO_T}no" >&6
6565 fi
6566
6567
6568 enablestring=
6569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6570 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6571 no_cache=0
6572 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6573 if test "${enable_protocol_file+set}" = set; then
6574 enableval="$enable_protocol_file"
6575
6576 if test "$enableval" = yes; then
6577 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6578 else
6579 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6580 fi
6581
6582 else
6583
6584 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6585 if test "x$LINE" != x ; then
6586 eval "DEFAULT_$LINE"
6587 else
6588 no_cache=1
6589 fi
6590
6591 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6592
6593 fi;
6594
6595 eval "$ac_cv_use_protocol_file"
6596 if test "$no_cache" != 1; then
6597 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6598 fi
6599
6600 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6601 echo "$as_me:$LINENO: result: yes" >&5
6602 echo "${ECHO_T}yes" >&6
6603 else
6604 echo "$as_me:$LINENO: result: no" >&5
6605 echo "${ECHO_T}no" >&6
6606 fi
6607
6608
6609
6610
6611
6612 enablestring=
6613 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6614 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6615 no_cache=0
6616 # Check whether --enable-threads or --disable-threads was given.
6617 if test "${enable_threads+set}" = set; then
6618 enableval="$enable_threads"
6619
6620 if test "$enableval" = yes; then
6621 ac_cv_use_threads='wxUSE_THREADS=yes'
6622 else
6623 ac_cv_use_threads='wxUSE_THREADS=no'
6624 fi
6625
6626 else
6627
6628 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6629 if test "x$LINE" != x ; then
6630 eval "DEFAULT_$LINE"
6631 else
6632 no_cache=1
6633 fi
6634
6635 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6636
6637 fi;
6638
6639 eval "$ac_cv_use_threads"
6640 if test "$no_cache" != 1; then
6641 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6642 fi
6643
6644 if test "$wxUSE_THREADS" = yes; then
6645 echo "$as_me:$LINENO: result: yes" >&5
6646 echo "${ECHO_T}yes" >&6
6647 else
6648 echo "$as_me:$LINENO: result: no" >&5
6649 echo "${ECHO_T}no" >&6
6650 fi
6651
6652
6653 if test "$wxUSE_GUI" = "yes"; then
6654
6655
6656
6657 enablestring=
6658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6659 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6660 no_cache=0
6661 # Check whether --enable-docview or --disable-docview was given.
6662 if test "${enable_docview+set}" = set; then
6663 enableval="$enable_docview"
6664
6665 if test "$enableval" = yes; then
6666 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6667 else
6668 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6669 fi
6670
6671 else
6672
6673 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6674 if test "x$LINE" != x ; then
6675 eval "DEFAULT_$LINE"
6676 else
6677 no_cache=1
6678 fi
6679
6680 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6681
6682 fi;
6683
6684 eval "$ac_cv_use_docview"
6685 if test "$no_cache" != 1; then
6686 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6687 fi
6688
6689 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6690 echo "$as_me:$LINENO: result: yes" >&5
6691 echo "${ECHO_T}yes" >&6
6692 else
6693 echo "$as_me:$LINENO: result: no" >&5
6694 echo "${ECHO_T}no" >&6
6695 fi
6696
6697
6698 enablestring=
6699 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6700 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6701 no_cache=0
6702 # Check whether --enable-help or --disable-help was given.
6703 if test "${enable_help+set}" = set; then
6704 enableval="$enable_help"
6705
6706 if test "$enableval" = yes; then
6707 ac_cv_use_help='wxUSE_HELP=yes'
6708 else
6709 ac_cv_use_help='wxUSE_HELP=no'
6710 fi
6711
6712 else
6713
6714 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6715 if test "x$LINE" != x ; then
6716 eval "DEFAULT_$LINE"
6717 else
6718 no_cache=1
6719 fi
6720
6721 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6722
6723 fi;
6724
6725 eval "$ac_cv_use_help"
6726 if test "$no_cache" != 1; then
6727 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6728 fi
6729
6730 if test "$wxUSE_HELP" = yes; then
6731 echo "$as_me:$LINENO: result: yes" >&5
6732 echo "${ECHO_T}yes" >&6
6733 else
6734 echo "$as_me:$LINENO: result: no" >&5
6735 echo "${ECHO_T}no" >&6
6736 fi
6737
6738
6739 enablestring=
6740 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6741 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6742 no_cache=0
6743 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6744 if test "${enable_mshtmlhelp+set}" = set; then
6745 enableval="$enable_mshtmlhelp"
6746
6747 if test "$enableval" = yes; then
6748 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6749 else
6750 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6751 fi
6752
6753 else
6754
6755 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6756 if test "x$LINE" != x ; then
6757 eval "DEFAULT_$LINE"
6758 else
6759 no_cache=1
6760 fi
6761
6762 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6763
6764 fi;
6765
6766 eval "$ac_cv_use_mshtmlhelp"
6767 if test "$no_cache" != 1; then
6768 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6769 fi
6770
6771 if test "$wxUSE_MS_HTML_HELP" = yes; then
6772 echo "$as_me:$LINENO: result: yes" >&5
6773 echo "${ECHO_T}yes" >&6
6774 else
6775 echo "$as_me:$LINENO: result: no" >&5
6776 echo "${ECHO_T}no" >&6
6777 fi
6778
6779
6780 enablestring=
6781 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6782 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6783 no_cache=0
6784 # Check whether --enable-html or --disable-html was given.
6785 if test "${enable_html+set}" = set; then
6786 enableval="$enable_html"
6787
6788 if test "$enableval" = yes; then
6789 ac_cv_use_html='wxUSE_HTML=yes'
6790 else
6791 ac_cv_use_html='wxUSE_HTML=no'
6792 fi
6793
6794 else
6795
6796 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6797 if test "x$LINE" != x ; then
6798 eval "DEFAULT_$LINE"
6799 else
6800 no_cache=1
6801 fi
6802
6803 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6804
6805 fi;
6806
6807 eval "$ac_cv_use_html"
6808 if test "$no_cache" != 1; then
6809 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6810 fi
6811
6812 if test "$wxUSE_HTML" = yes; then
6813 echo "$as_me:$LINENO: result: yes" >&5
6814 echo "${ECHO_T}yes" >&6
6815 else
6816 echo "$as_me:$LINENO: result: no" >&5
6817 echo "${ECHO_T}no" >&6
6818 fi
6819
6820
6821 enablestring=
6822 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6823 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6824 no_cache=0
6825 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6826 if test "${enable_htmlhelp+set}" = set; then
6827 enableval="$enable_htmlhelp"
6828
6829 if test "$enableval" = yes; then
6830 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6831 else
6832 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6833 fi
6834
6835 else
6836
6837 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6838 if test "x$LINE" != x ; then
6839 eval "DEFAULT_$LINE"
6840 else
6841 no_cache=1
6842 fi
6843
6844 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
6845
6846 fi;
6847
6848 eval "$ac_cv_use_htmlhelp"
6849 if test "$no_cache" != 1; then
6850 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
6851 fi
6852
6853 if test "$wxUSE_WXHTML_HELP" = yes; then
6854 echo "$as_me:$LINENO: result: yes" >&5
6855 echo "${ECHO_T}yes" >&6
6856 else
6857 echo "$as_me:$LINENO: result: no" >&5
6858 echo "${ECHO_T}no" >&6
6859 fi
6860
6861
6862 enablestring=
6863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
6864 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
6865 no_cache=0
6866 # Check whether --enable-xrc or --disable-xrc was given.
6867 if test "${enable_xrc+set}" = set; then
6868 enableval="$enable_xrc"
6869
6870 if test "$enableval" = yes; then
6871 ac_cv_use_xrc='wxUSE_XRC=yes'
6872 else
6873 ac_cv_use_xrc='wxUSE_XRC=no'
6874 fi
6875
6876 else
6877
6878 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
6879 if test "x$LINE" != x ; then
6880 eval "DEFAULT_$LINE"
6881 else
6882 no_cache=1
6883 fi
6884
6885 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
6886
6887 fi;
6888
6889 eval "$ac_cv_use_xrc"
6890 if test "$no_cache" != 1; then
6891 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
6892 fi
6893
6894 if test "$wxUSE_XRC" = yes; then
6895 echo "$as_me:$LINENO: result: yes" >&5
6896 echo "${ECHO_T}yes" >&6
6897 else
6898 echo "$as_me:$LINENO: result: no" >&5
6899 echo "${ECHO_T}no" >&6
6900 fi
6901
6902
6903 enablestring=
6904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
6905 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
6906 no_cache=0
6907 # Check whether --enable-aui or --disable-aui was given.
6908 if test "${enable_aui+set}" = set; then
6909 enableval="$enable_aui"
6910
6911 if test "$enableval" = yes; then
6912 ac_cv_use_aui='wxUSE_AUI=yes'
6913 else
6914 ac_cv_use_aui='wxUSE_AUI=no'
6915 fi
6916
6917 else
6918
6919 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
6920 if test "x$LINE" != x ; then
6921 eval "DEFAULT_$LINE"
6922 else
6923 no_cache=1
6924 fi
6925
6926 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
6927
6928 fi;
6929
6930 eval "$ac_cv_use_aui"
6931 if test "$no_cache" != 1; then
6932 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
6933 fi
6934
6935 if test "$wxUSE_AUI" = yes; then
6936 echo "$as_me:$LINENO: result: yes" >&5
6937 echo "${ECHO_T}yes" >&6
6938 else
6939 echo "$as_me:$LINENO: result: no" >&5
6940 echo "${ECHO_T}no" >&6
6941 fi
6942
6943
6944 enablestring=
6945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
6946 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
6947 no_cache=0
6948 # Check whether --enable-constraints or --disable-constraints was given.
6949 if test "${enable_constraints+set}" = set; then
6950 enableval="$enable_constraints"
6951
6952 if test "$enableval" = yes; then
6953 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
6954 else
6955 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
6956 fi
6957
6958 else
6959
6960 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
6961 if test "x$LINE" != x ; then
6962 eval "DEFAULT_$LINE"
6963 else
6964 no_cache=1
6965 fi
6966
6967 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
6968
6969 fi;
6970
6971 eval "$ac_cv_use_constraints"
6972 if test "$no_cache" != 1; then
6973 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
6974 fi
6975
6976 if test "$wxUSE_CONSTRAINTS" = yes; then
6977 echo "$as_me:$LINENO: result: yes" >&5
6978 echo "${ECHO_T}yes" >&6
6979 else
6980 echo "$as_me:$LINENO: result: no" >&5
6981 echo "${ECHO_T}no" >&6
6982 fi
6983
6984
6985 enablestring=
6986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
6987 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
6988 no_cache=0
6989 # Check whether --enable-printarch or --disable-printarch was given.
6990 if test "${enable_printarch+set}" = set; then
6991 enableval="$enable_printarch"
6992
6993 if test "$enableval" = yes; then
6994 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
6995 else
6996 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
6997 fi
6998
6999 else
7000
7001 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7002 if test "x$LINE" != x ; then
7003 eval "DEFAULT_$LINE"
7004 else
7005 no_cache=1
7006 fi
7007
7008 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7009
7010 fi;
7011
7012 eval "$ac_cv_use_printarch"
7013 if test "$no_cache" != 1; then
7014 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7015 fi
7016
7017 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7018 echo "$as_me:$LINENO: result: yes" >&5
7019 echo "${ECHO_T}yes" >&6
7020 else
7021 echo "$as_me:$LINENO: result: no" >&5
7022 echo "${ECHO_T}no" >&6
7023 fi
7024
7025
7026 enablestring=
7027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7028 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7029 no_cache=0
7030 # Check whether --enable-mdi or --disable-mdi was given.
7031 if test "${enable_mdi+set}" = set; then
7032 enableval="$enable_mdi"
7033
7034 if test "$enableval" = yes; then
7035 ac_cv_use_mdi='wxUSE_MDI=yes'
7036 else
7037 ac_cv_use_mdi='wxUSE_MDI=no'
7038 fi
7039
7040 else
7041
7042 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7043 if test "x$LINE" != x ; then
7044 eval "DEFAULT_$LINE"
7045 else
7046 no_cache=1
7047 fi
7048
7049 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7050
7051 fi;
7052
7053 eval "$ac_cv_use_mdi"
7054 if test "$no_cache" != 1; then
7055 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7056 fi
7057
7058 if test "$wxUSE_MDI" = yes; then
7059 echo "$as_me:$LINENO: result: yes" >&5
7060 echo "${ECHO_T}yes" >&6
7061 else
7062 echo "$as_me:$LINENO: result: no" >&5
7063 echo "${ECHO_T}no" >&6
7064 fi
7065
7066
7067 enablestring=
7068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7069 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7070 no_cache=0
7071 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7072 if test "${enable_mdidoc+set}" = set; then
7073 enableval="$enable_mdidoc"
7074
7075 if test "$enableval" = yes; then
7076 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7077 else
7078 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7079 fi
7080
7081 else
7082
7083 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7084 if test "x$LINE" != x ; then
7085 eval "DEFAULT_$LINE"
7086 else
7087 no_cache=1
7088 fi
7089
7090 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7091
7092 fi;
7093
7094 eval "$ac_cv_use_mdidoc"
7095 if test "$no_cache" != 1; then
7096 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7097 fi
7098
7099 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7100 echo "$as_me:$LINENO: result: yes" >&5
7101 echo "${ECHO_T}yes" >&6
7102 else
7103 echo "$as_me:$LINENO: result: no" >&5
7104 echo "${ECHO_T}no" >&6
7105 fi
7106
7107
7108 enablestring=
7109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7110 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7111 no_cache=0
7112 # Check whether --enable-loggui or --disable-loggui was given.
7113 if test "${enable_loggui+set}" = set; then
7114 enableval="$enable_loggui"
7115
7116 if test "$enableval" = yes; then
7117 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7118 else
7119 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7120 fi
7121
7122 else
7123
7124 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7125 if test "x$LINE" != x ; then
7126 eval "DEFAULT_$LINE"
7127 else
7128 no_cache=1
7129 fi
7130
7131 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7132
7133 fi;
7134
7135 eval "$ac_cv_use_loggui"
7136 if test "$no_cache" != 1; then
7137 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7138 fi
7139
7140 if test "$wxUSE_LOGGUI" = yes; then
7141 echo "$as_me:$LINENO: result: yes" >&5
7142 echo "${ECHO_T}yes" >&6
7143 else
7144 echo "$as_me:$LINENO: result: no" >&5
7145 echo "${ECHO_T}no" >&6
7146 fi
7147
7148
7149 enablestring=
7150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7151 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7152 no_cache=0
7153 # Check whether --enable-logwin or --disable-logwin was given.
7154 if test "${enable_logwin+set}" = set; then
7155 enableval="$enable_logwin"
7156
7157 if test "$enableval" = yes; then
7158 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7159 else
7160 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7161 fi
7162
7163 else
7164
7165 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7166 if test "x$LINE" != x ; then
7167 eval "DEFAULT_$LINE"
7168 else
7169 no_cache=1
7170 fi
7171
7172 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7173
7174 fi;
7175
7176 eval "$ac_cv_use_logwin"
7177 if test "$no_cache" != 1; then
7178 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7179 fi
7180
7181 if test "$wxUSE_LOGWINDOW" = yes; then
7182 echo "$as_me:$LINENO: result: yes" >&5
7183 echo "${ECHO_T}yes" >&6
7184 else
7185 echo "$as_me:$LINENO: result: no" >&5
7186 echo "${ECHO_T}no" >&6
7187 fi
7188
7189
7190 enablestring=
7191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7192 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7193 no_cache=0
7194 # Check whether --enable-logdialog or --disable-logdialog was given.
7195 if test "${enable_logdialog+set}" = set; then
7196 enableval="$enable_logdialog"
7197
7198 if test "$enableval" = yes; then
7199 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7200 else
7201 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7202 fi
7203
7204 else
7205
7206 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7207 if test "x$LINE" != x ; then
7208 eval "DEFAULT_$LINE"
7209 else
7210 no_cache=1
7211 fi
7212
7213 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7214
7215 fi;
7216
7217 eval "$ac_cv_use_logdialog"
7218 if test "$no_cache" != 1; then
7219 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7220 fi
7221
7222 if test "$wxUSE_LOGDIALOG" = yes; then
7223 echo "$as_me:$LINENO: result: yes" >&5
7224 echo "${ECHO_T}yes" >&6
7225 else
7226 echo "$as_me:$LINENO: result: no" >&5
7227 echo "${ECHO_T}no" >&6
7228 fi
7229
7230
7231 enablestring=
7232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7233 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7234 no_cache=0
7235 # Check whether --enable-webkit or --disable-webkit was given.
7236 if test "${enable_webkit+set}" = set; then
7237 enableval="$enable_webkit"
7238
7239 if test "$enableval" = yes; then
7240 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7241 else
7242 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7243 fi
7244
7245 else
7246
7247 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7248 if test "x$LINE" != x ; then
7249 eval "DEFAULT_$LINE"
7250 else
7251 no_cache=1
7252 fi
7253
7254 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7255
7256 fi;
7257
7258 eval "$ac_cv_use_webkit"
7259 if test "$no_cache" != 1; then
7260 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7261 fi
7262
7263 if test "$wxUSE_WEBKIT" = yes; then
7264 echo "$as_me:$LINENO: result: yes" >&5
7265 echo "${ECHO_T}yes" >&6
7266 else
7267 echo "$as_me:$LINENO: result: no" >&5
7268 echo "${ECHO_T}no" >&6
7269 fi
7270
7271
7272 enablestring=
7273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7274 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7275 no_cache=0
7276 # Check whether --enable-html or --disable-html was given.
7277 if test "${enable_html+set}" = set; then
7278 enableval="$enable_html"
7279
7280 if test "$enableval" = yes; then
7281 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7282 else
7283 ac_cv_use_html='wxUSE_RICHTEXT=no'
7284 fi
7285
7286 else
7287
7288 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7289 if test "x$LINE" != x ; then
7290 eval "DEFAULT_$LINE"
7291 else
7292 no_cache=1
7293 fi
7294
7295 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7296
7297 fi;
7298
7299 eval "$ac_cv_use_html"
7300 if test "$no_cache" != 1; then
7301 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7302 fi
7303
7304 if test "$wxUSE_RICHTEXT" = yes; then
7305 echo "$as_me:$LINENO: result: yes" >&5
7306 echo "${ECHO_T}yes" >&6
7307 else
7308 echo "$as_me:$LINENO: result: no" >&5
7309 echo "${ECHO_T}no" >&6
7310 fi
7311
7312
7313
7314 enablestring=
7315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7316 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7317 no_cache=0
7318 # Check whether --enable-postscript or --disable-postscript was given.
7319 if test "${enable_postscript+set}" = set; then
7320 enableval="$enable_postscript"
7321
7322 if test "$enableval" = yes; then
7323 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7324 else
7325 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7326 fi
7327
7328 else
7329
7330 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7331 if test "x$LINE" != x ; then
7332 eval "DEFAULT_$LINE"
7333 else
7334 no_cache=1
7335 fi
7336
7337 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7338
7339 fi;
7340
7341 eval "$ac_cv_use_postscript"
7342 if test "$no_cache" != 1; then
7343 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7344 fi
7345
7346 if test "$wxUSE_POSTSCRIPT" = yes; then
7347 echo "$as_me:$LINENO: result: yes" >&5
7348 echo "${ECHO_T}yes" >&6
7349 else
7350 echo "$as_me:$LINENO: result: no" >&5
7351 echo "${ECHO_T}no" >&6
7352 fi
7353
7354
7355
7356
7357
7358 enablestring=
7359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7360 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7361 no_cache=0
7362 # Check whether --enable-prologio or --disable-prologio was given.
7363 if test "${enable_prologio+set}" = set; then
7364 enableval="$enable_prologio"
7365
7366 if test "$enableval" = yes; then
7367 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7368 else
7369 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7370 fi
7371
7372 else
7373
7374 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7375 if test "x$LINE" != x ; then
7376 eval "DEFAULT_$LINE"
7377 else
7378 no_cache=1
7379 fi
7380
7381 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7382
7383 fi;
7384
7385 eval "$ac_cv_use_prologio"
7386 if test "$no_cache" != 1; then
7387 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7388 fi
7389
7390 if test "$wxUSE_PROLOGIO" = yes; then
7391 echo "$as_me:$LINENO: result: yes" >&5
7392 echo "${ECHO_T}yes" >&6
7393 else
7394 echo "$as_me:$LINENO: result: no" >&5
7395 echo "${ECHO_T}no" >&6
7396 fi
7397
7398
7399 enablestring=
7400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7401 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7402 no_cache=0
7403 # Check whether --enable-resources or --disable-resources was given.
7404 if test "${enable_resources+set}" = set; then
7405 enableval="$enable_resources"
7406
7407 if test "$enableval" = yes; then
7408 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7409 else
7410 ac_cv_use_resources='wxUSE_RESOURCES=no'
7411 fi
7412
7413 else
7414
7415 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7416 if test "x$LINE" != x ; then
7417 eval "DEFAULT_$LINE"
7418 else
7419 no_cache=1
7420 fi
7421
7422 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7423
7424 fi;
7425
7426 eval "$ac_cv_use_resources"
7427 if test "$no_cache" != 1; then
7428 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7429 fi
7430
7431 if test "$wxUSE_RESOURCES" = yes; then
7432 echo "$as_me:$LINENO: result: yes" >&5
7433 echo "${ECHO_T}yes" >&6
7434 else
7435 echo "$as_me:$LINENO: result: no" >&5
7436 echo "${ECHO_T}no" >&6
7437 fi
7438
7439
7440
7441
7442 enablestring=
7443 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7444 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7445 no_cache=0
7446 # Check whether --enable-clipboard or --disable-clipboard was given.
7447 if test "${enable_clipboard+set}" = set; then
7448 enableval="$enable_clipboard"
7449
7450 if test "$enableval" = yes; then
7451 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7452 else
7453 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7454 fi
7455
7456 else
7457
7458 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x ; then
7460 eval "DEFAULT_$LINE"
7461 else
7462 no_cache=1
7463 fi
7464
7465 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7466
7467 fi;
7468
7469 eval "$ac_cv_use_clipboard"
7470 if test "$no_cache" != 1; then
7471 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7472 fi
7473
7474 if test "$wxUSE_CLIPBOARD" = yes; then
7475 echo "$as_me:$LINENO: result: yes" >&5
7476 echo "${ECHO_T}yes" >&6
7477 else
7478 echo "$as_me:$LINENO: result: no" >&5
7479 echo "${ECHO_T}no" >&6
7480 fi
7481
7482
7483 enablestring=
7484 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7485 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7486 no_cache=0
7487 # Check whether --enable-dnd or --disable-dnd was given.
7488 if test "${enable_dnd+set}" = set; then
7489 enableval="$enable_dnd"
7490
7491 if test "$enableval" = yes; then
7492 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7493 else
7494 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7495 fi
7496
7497 else
7498
7499 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x ; then
7501 eval "DEFAULT_$LINE"
7502 else
7503 no_cache=1
7504 fi
7505
7506 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7507
7508 fi;
7509
7510 eval "$ac_cv_use_dnd"
7511 if test "$no_cache" != 1; then
7512 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7513 fi
7514
7515 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7516 echo "$as_me:$LINENO: result: yes" >&5
7517 echo "${ECHO_T}yes" >&6
7518 else
7519 echo "$as_me:$LINENO: result: no" >&5
7520 echo "${ECHO_T}no" >&6
7521 fi
7522
7523
7524 enablestring=
7525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7527 no_cache=0
7528 # Check whether --enable-metafile or --disable-metafile was given.
7529 if test "${enable_metafile+set}" = set; then
7530 enableval="$enable_metafile"
7531
7532 if test "$enableval" = yes; then
7533 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7534 else
7535 ac_cv_use_metafile='wxUSE_METAFILE=no'
7536 fi
7537
7538 else
7539
7540 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7541 if test "x$LINE" != x ; then
7542 eval "DEFAULT_$LINE"
7543 else
7544 no_cache=1
7545 fi
7546
7547 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7548
7549 fi;
7550
7551 eval "$ac_cv_use_metafile"
7552 if test "$no_cache" != 1; then
7553 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7554 fi
7555
7556 if test "$wxUSE_METAFILE" = yes; then
7557 echo "$as_me:$LINENO: result: yes" >&5
7558 echo "${ECHO_T}yes" >&6
7559 else
7560 echo "$as_me:$LINENO: result: no" >&5
7561 echo "${ECHO_T}no" >&6
7562 fi
7563
7564
7565
7566
7567
7568 enablestring=
7569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7570 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7571 no_cache=0
7572 # Check whether --enable-controls or --disable-controls was given.
7573 if test "${enable_controls+set}" = set; then
7574 enableval="$enable_controls"
7575
7576 if test "$enableval" = yes; then
7577 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7578 else
7579 ac_cv_use_controls='wxUSE_CONTROLS=no'
7580 fi
7581
7582 else
7583
7584 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7585 if test "x$LINE" != x ; then
7586 eval "DEFAULT_$LINE"
7587 else
7588 no_cache=1
7589 fi
7590
7591 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7592
7593 fi;
7594
7595 eval "$ac_cv_use_controls"
7596 if test "$no_cache" != 1; then
7597 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7598 fi
7599
7600 if test "$wxUSE_CONTROLS" = yes; then
7601 echo "$as_me:$LINENO: result: yes" >&5
7602 echo "${ECHO_T}yes" >&6
7603 else
7604 echo "$as_me:$LINENO: result: no" >&5
7605 echo "${ECHO_T}no" >&6
7606 fi
7607
7608
7609 if test "$wxUSE_CONTROLS" = "yes"; then
7610 DEFAULT_wxUSE_ACCEL=yes
7611 DEFAULT_wxUSE_BMPBUTTON=yes
7612 DEFAULT_wxUSE_BUTTON=yes
7613 DEFAULT_wxUSE_CALCTRL=yes
7614 DEFAULT_wxUSE_CARET=yes
7615 DEFAULT_wxUSE_COMBOBOX=yes
7616 DEFAULT_wxUSE_CHECKBOX=yes
7617 DEFAULT_wxUSE_CHECKLISTBOX=yes
7618 DEFAULT_wxUSE_CHOICE=yes
7619 DEFAULT_wxUSE_CHOICEBOOK=yes
7620 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7621 DEFAULT_wxUSE_COMBOBOX=yes
7622 DEFAULT_wxUSE_DATEPICKCTRL=yes
7623 DEFAULT_wxUSE_DISPLAY=yes
7624 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7625 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7626 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7627 DEFAULT_wxUSE_GAUGE=yes
7628 DEFAULT_wxUSE_GRID=yes
7629 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7630 DEFAULT_wxUSE_DATAVIEWCTRL=no
7631 DEFAULT_wxUSE_IMAGLIST=yes
7632 DEFAULT_wxUSE_LISTBOOK=yes
7633 DEFAULT_wxUSE_LISTBOX=yes
7634 DEFAULT_wxUSE_LISTCTRL=yes
7635 DEFAULT_wxUSE_NOTEBOOK=yes
7636 DEFAULT_wxUSE_RADIOBOX=yes
7637 DEFAULT_wxUSE_RADIOBTN=yes
7638 DEFAULT_wxUSE_SASH=yes
7639 DEFAULT_wxUSE_SCROLLBAR=yes
7640 DEFAULT_wxUSE_SLIDER=yes
7641 DEFAULT_wxUSE_SPINBTN=yes
7642 DEFAULT_wxUSE_SPINCTRL=yes
7643 DEFAULT_wxUSE_SPLITTER=yes
7644 DEFAULT_wxUSE_STATBMP=yes
7645 DEFAULT_wxUSE_STATBOX=yes
7646 DEFAULT_wxUSE_STATLINE=yes
7647 DEFAULT_wxUSE_STATUSBAR=yes
7648 DEFAULT_wxUSE_TAB_DIALOG=yes
7649 DEFAULT_wxUSE_TOGGLEBTN=yes
7650 DEFAULT_wxUSE_TOOLBAR=yes
7651 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7652 DEFAULT_wxUSE_TOOLBAR_SIMPLE=yes
7653 DEFAULT_wxUSE_TOOLTIPS=yes
7654 DEFAULT_wxUSE_TREEBOOK=yes
7655 DEFAULT_wxUSE_TOOLBOOK=yes
7656 DEFAULT_wxUSE_TREECTRL=yes
7657 DEFAULT_wxUSE_POPUPWIN=yes
7658 DEFAULT_wxUSE_TIPWINDOW=yes
7659 elif test "$wxUSE_CONTROLS" = "no"; then
7660 DEFAULT_wxUSE_ACCEL=no
7661 DEFAULT_wxUSE_BMPBUTTON=no
7662 DEFAULT_wxUSE_BUTTON=no
7663 DEFAULT_wxUSE_CALCTRL=no
7664 DEFAULT_wxUSE_CARET=no
7665 DEFAULT_wxUSE_COMBOBOX=no
7666 DEFAULT_wxUSE_CHECKBOX=no
7667 DEFAULT_wxUSE_CHECKLISTBOX=no
7668 DEFAULT_wxUSE_CHOICE=no
7669 DEFAULT_wxUSE_CHOICEBOOK=no
7670 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7671 DEFAULT_wxUSE_COMBOBOX=no
7672 DEFAULT_wxUSE_DATEPICKCTRL=no
7673 DEFAULT_wxUSE_DISPLAY=no
7674 DEFAULT_wxUSE_DIRPICKERCTRL=no
7675 DEFAULT_wxUSE_FILEPICKERCTRL=no
7676 DEFAULT_wxUSE_FONTPICKERCTRL=no
7677 DEFAULT_wxUSE_GAUGE=no
7678 DEFAULT_wxUSE_GRID=no
7679 DEFAULT_wxUSE_HYPERLINKCTRL=no
7680 DEFAULT_wxUSE_DATAVIEWCTRL=no
7681 DEFAULT_wxUSE_IMAGLIST=no
7682 DEFAULT_wxUSE_LISTBOOK=no
7683 DEFAULT_wxUSE_LISTBOX=no
7684 DEFAULT_wxUSE_LISTCTRL=no
7685 DEFAULT_wxUSE_NOTEBOOK=no
7686 DEFAULT_wxUSE_RADIOBOX=no
7687 DEFAULT_wxUSE_RADIOBTN=no
7688 DEFAULT_wxUSE_SASH=no
7689 DEFAULT_wxUSE_SCROLLBAR=no
7690 DEFAULT_wxUSE_SLIDER=no
7691 DEFAULT_wxUSE_SPINBTN=no
7692 DEFAULT_wxUSE_SPINCTRL=no
7693 DEFAULT_wxUSE_SPLITTER=no
7694 DEFAULT_wxUSE_STATBMP=no
7695 DEFAULT_wxUSE_STATBOX=no
7696 DEFAULT_wxUSE_STATLINE=no
7697 DEFAULT_wxUSE_STATUSBAR=no
7698 DEFAULT_wxUSE_TAB_DIALOG=no
7699 DEFAULT_wxUSE_TOGGLEBTN=no
7700 DEFAULT_wxUSE_TOOLBAR=no
7701 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7702 DEFAULT_wxUSE_TOOLBAR_SIMPLE=no
7703 DEFAULT_wxUSE_TOOLTIPS=no
7704 DEFAULT_wxUSE_TREEBOOK=no
7705 DEFAULT_wxUSE_TOOLBOOK=no
7706 DEFAULT_wxUSE_TREECTRL=no
7707 DEFAULT_wxUSE_POPUPWIN=no
7708 DEFAULT_wxUSE_TIPWINDOW=no
7709 fi
7710
7711
7712 enablestring=
7713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7715 no_cache=0
7716 # Check whether --enable-accel or --disable-accel was given.
7717 if test "${enable_accel+set}" = set; then
7718 enableval="$enable_accel"
7719
7720 if test "$enableval" = yes; then
7721 ac_cv_use_accel='wxUSE_ACCEL=yes'
7722 else
7723 ac_cv_use_accel='wxUSE_ACCEL=no'
7724 fi
7725
7726 else
7727
7728 LINE=`grep "wxUSE_ACCEL" ${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_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7736
7737 fi;
7738
7739 eval "$ac_cv_use_accel"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7742 fi
7743
7744 if test "$wxUSE_ACCEL" = 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 enablestring=
7754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7755 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7756 no_cache=0
7757 # Check whether --enable-button or --disable-button was given.
7758 if test "${enable_button+set}" = set; then
7759 enableval="$enable_button"
7760
7761 if test "$enableval" = yes; then
7762 ac_cv_use_button='wxUSE_BUTTON=yes'
7763 else
7764 ac_cv_use_button='wxUSE_BUTTON=no'
7765 fi
7766
7767 else
7768
7769 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7770 if test "x$LINE" != x ; then
7771 eval "DEFAULT_$LINE"
7772 else
7773 no_cache=1
7774 fi
7775
7776 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7777
7778 fi;
7779
7780 eval "$ac_cv_use_button"
7781 if test "$no_cache" != 1; then
7782 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7783 fi
7784
7785 if test "$wxUSE_BUTTON" = yes; then
7786 echo "$as_me:$LINENO: result: yes" >&5
7787 echo "${ECHO_T}yes" >&6
7788 else
7789 echo "$as_me:$LINENO: result: no" >&5
7790 echo "${ECHO_T}no" >&6
7791 fi
7792
7793
7794 enablestring=
7795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7796 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7797 no_cache=0
7798 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7799 if test "${enable_bmpbutton+set}" = set; then
7800 enableval="$enable_bmpbutton"
7801
7802 if test "$enableval" = yes; then
7803 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
7804 else
7805 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
7806 fi
7807
7808 else
7809
7810 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
7811 if test "x$LINE" != x ; then
7812 eval "DEFAULT_$LINE"
7813 else
7814 no_cache=1
7815 fi
7816
7817 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
7818
7819 fi;
7820
7821 eval "$ac_cv_use_bmpbutton"
7822 if test "$no_cache" != 1; then
7823 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
7824 fi
7825
7826 if test "$wxUSE_BMPBUTTON" = yes; then
7827 echo "$as_me:$LINENO: result: yes" >&5
7828 echo "${ECHO_T}yes" >&6
7829 else
7830 echo "$as_me:$LINENO: result: no" >&5
7831 echo "${ECHO_T}no" >&6
7832 fi
7833
7834
7835 enablestring=
7836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
7837 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
7838 no_cache=0
7839 # Check whether --enable-calendar or --disable-calendar was given.
7840 if test "${enable_calendar+set}" = set; then
7841 enableval="$enable_calendar"
7842
7843 if test "$enableval" = yes; then
7844 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
7845 else
7846 ac_cv_use_calendar='wxUSE_CALCTRL=no'
7847 fi
7848
7849 else
7850
7851 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
7852 if test "x$LINE" != x ; then
7853 eval "DEFAULT_$LINE"
7854 else
7855 no_cache=1
7856 fi
7857
7858 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
7859
7860 fi;
7861
7862 eval "$ac_cv_use_calendar"
7863 if test "$no_cache" != 1; then
7864 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
7865 fi
7866
7867 if test "$wxUSE_CALCTRL" = yes; then
7868 echo "$as_me:$LINENO: result: yes" >&5
7869 echo "${ECHO_T}yes" >&6
7870 else
7871 echo "$as_me:$LINENO: result: no" >&5
7872 echo "${ECHO_T}no" >&6
7873 fi
7874
7875
7876 enablestring=
7877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
7878 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
7879 no_cache=0
7880 # Check whether --enable-caret or --disable-caret was given.
7881 if test "${enable_caret+set}" = set; then
7882 enableval="$enable_caret"
7883
7884 if test "$enableval" = yes; then
7885 ac_cv_use_caret='wxUSE_CARET=yes'
7886 else
7887 ac_cv_use_caret='wxUSE_CARET=no'
7888 fi
7889
7890 else
7891
7892 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
7893 if test "x$LINE" != x ; then
7894 eval "DEFAULT_$LINE"
7895 else
7896 no_cache=1
7897 fi
7898
7899 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
7900
7901 fi;
7902
7903 eval "$ac_cv_use_caret"
7904 if test "$no_cache" != 1; then
7905 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
7906 fi
7907
7908 if test "$wxUSE_CARET" = yes; then
7909 echo "$as_me:$LINENO: result: yes" >&5
7910 echo "${ECHO_T}yes" >&6
7911 else
7912 echo "$as_me:$LINENO: result: no" >&5
7913 echo "${ECHO_T}no" >&6
7914 fi
7915
7916
7917 enablestring=
7918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
7920 no_cache=0
7921 # Check whether --enable-checkbox or --disable-checkbox was given.
7922 if test "${enable_checkbox+set}" = set; then
7923 enableval="$enable_checkbox"
7924
7925 if test "$enableval" = yes; then
7926 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
7927 else
7928 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
7929 fi
7930
7931 else
7932
7933 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
7934 if test "x$LINE" != x ; then
7935 eval "DEFAULT_$LINE"
7936 else
7937 no_cache=1
7938 fi
7939
7940 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
7941
7942 fi;
7943
7944 eval "$ac_cv_use_checkbox"
7945 if test "$no_cache" != 1; then
7946 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
7947 fi
7948
7949 if test "$wxUSE_CHECKBOX" = yes; then
7950 echo "$as_me:$LINENO: result: yes" >&5
7951 echo "${ECHO_T}yes" >&6
7952 else
7953 echo "$as_me:$LINENO: result: no" >&5
7954 echo "${ECHO_T}no" >&6
7955 fi
7956
7957
7958 enablestring=
7959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
7960 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
7961 no_cache=0
7962 # Check whether --enable-checklst or --disable-checklst was given.
7963 if test "${enable_checklst+set}" = set; then
7964 enableval="$enable_checklst"
7965
7966 if test "$enableval" = yes; then
7967 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
7968 else
7969 ac_cv_use_checklst='wxUSE_CHECKLST=no'
7970 fi
7971
7972 else
7973
7974 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
7975 if test "x$LINE" != x ; then
7976 eval "DEFAULT_$LINE"
7977 else
7978 no_cache=1
7979 fi
7980
7981 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
7982
7983 fi;
7984
7985 eval "$ac_cv_use_checklst"
7986 if test "$no_cache" != 1; then
7987 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
7988 fi
7989
7990 if test "$wxUSE_CHECKLST" = yes; then
7991 echo "$as_me:$LINENO: result: yes" >&5
7992 echo "${ECHO_T}yes" >&6
7993 else
7994 echo "$as_me:$LINENO: result: no" >&5
7995 echo "${ECHO_T}no" >&6
7996 fi
7997
7998
7999 enablestring=
8000 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8001 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8002 no_cache=0
8003 # Check whether --enable-choice or --disable-choice was given.
8004 if test "${enable_choice+set}" = set; then
8005 enableval="$enable_choice"
8006
8007 if test "$enableval" = yes; then
8008 ac_cv_use_choice='wxUSE_CHOICE=yes'
8009 else
8010 ac_cv_use_choice='wxUSE_CHOICE=no'
8011 fi
8012
8013 else
8014
8015 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8016 if test "x$LINE" != x ; then
8017 eval "DEFAULT_$LINE"
8018 else
8019 no_cache=1
8020 fi
8021
8022 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8023
8024 fi;
8025
8026 eval "$ac_cv_use_choice"
8027 if test "$no_cache" != 1; then
8028 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8029 fi
8030
8031 if test "$wxUSE_CHOICE" = yes; then
8032 echo "$as_me:$LINENO: result: yes" >&5
8033 echo "${ECHO_T}yes" >&6
8034 else
8035 echo "$as_me:$LINENO: result: no" >&5
8036 echo "${ECHO_T}no" >&6
8037 fi
8038
8039
8040 enablestring=
8041 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8042 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8043 no_cache=0
8044 # Check whether --enable-choicebook or --disable-choicebook was given.
8045 if test "${enable_choicebook+set}" = set; then
8046 enableval="$enable_choicebook"
8047
8048 if test "$enableval" = yes; then
8049 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8050 else
8051 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8052 fi
8053
8054 else
8055
8056 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8057 if test "x$LINE" != x ; then
8058 eval "DEFAULT_$LINE"
8059 else
8060 no_cache=1
8061 fi
8062
8063 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8064
8065 fi;
8066
8067 eval "$ac_cv_use_choicebook"
8068 if test "$no_cache" != 1; then
8069 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8070 fi
8071
8072 if test "$wxUSE_CHOICEBOOK" = yes; then
8073 echo "$as_me:$LINENO: result: yes" >&5
8074 echo "${ECHO_T}yes" >&6
8075 else
8076 echo "$as_me:$LINENO: result: no" >&5
8077 echo "${ECHO_T}no" >&6
8078 fi
8079
8080
8081 enablestring=
8082 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8083 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8084 no_cache=0
8085 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8086 if test "${enable_colourpicker+set}" = set; then
8087 enableval="$enable_colourpicker"
8088
8089 if test "$enableval" = yes; then
8090 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8091 else
8092 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8093 fi
8094
8095 else
8096
8097 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8098 if test "x$LINE" != x ; then
8099 eval "DEFAULT_$LINE"
8100 else
8101 no_cache=1
8102 fi
8103
8104 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8105
8106 fi;
8107
8108 eval "$ac_cv_use_colourpicker"
8109 if test "$no_cache" != 1; then
8110 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8111 fi
8112
8113 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8114 echo "$as_me:$LINENO: result: yes" >&5
8115 echo "${ECHO_T}yes" >&6
8116 else
8117 echo "$as_me:$LINENO: result: no" >&5
8118 echo "${ECHO_T}no" >&6
8119 fi
8120
8121
8122 enablestring=
8123 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8124 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8125 no_cache=0
8126 # Check whether --enable-combobox or --disable-combobox was given.
8127 if test "${enable_combobox+set}" = set; then
8128 enableval="$enable_combobox"
8129
8130 if test "$enableval" = yes; then
8131 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8132 else
8133 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8134 fi
8135
8136 else
8137
8138 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8139 if test "x$LINE" != x ; then
8140 eval "DEFAULT_$LINE"
8141 else
8142 no_cache=1
8143 fi
8144
8145 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8146
8147 fi;
8148
8149 eval "$ac_cv_use_combobox"
8150 if test "$no_cache" != 1; then
8151 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8152 fi
8153
8154 if test "$wxUSE_COMBOBOX" = yes; then
8155 echo "$as_me:$LINENO: result: yes" >&5
8156 echo "${ECHO_T}yes" >&6
8157 else
8158 echo "$as_me:$LINENO: result: no" >&5
8159 echo "${ECHO_T}no" >&6
8160 fi
8161
8162
8163 enablestring=
8164 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8165 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8166 no_cache=0
8167 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8168 if test "${enable_comboctrl+set}" = set; then
8169 enableval="$enable_comboctrl"
8170
8171 if test "$enableval" = yes; then
8172 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8173 else
8174 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8175 fi
8176
8177 else
8178
8179 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8180 if test "x$LINE" != x ; then
8181 eval "DEFAULT_$LINE"
8182 else
8183 no_cache=1
8184 fi
8185
8186 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8187
8188 fi;
8189
8190 eval "$ac_cv_use_comboctrl"
8191 if test "$no_cache" != 1; then
8192 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8193 fi
8194
8195 if test "$wxUSE_COMBOCTRL" = yes; then
8196 echo "$as_me:$LINENO: result: yes" >&5
8197 echo "${ECHO_T}yes" >&6
8198 else
8199 echo "$as_me:$LINENO: result: no" >&5
8200 echo "${ECHO_T}no" >&6
8201 fi
8202
8203
8204 enablestring=
8205 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8206 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8207 no_cache=0
8208 # Check whether --enable-datepick or --disable-datepick was given.
8209 if test "${enable_datepick+set}" = set; then
8210 enableval="$enable_datepick"
8211
8212 if test "$enableval" = yes; then
8213 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8214 else
8215 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8216 fi
8217
8218 else
8219
8220 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8221 if test "x$LINE" != x ; then
8222 eval "DEFAULT_$LINE"
8223 else
8224 no_cache=1
8225 fi
8226
8227 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8228
8229 fi;
8230
8231 eval "$ac_cv_use_datepick"
8232 if test "$no_cache" != 1; then
8233 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8234 fi
8235
8236 if test "$wxUSE_DATEPICKCTRL" = yes; then
8237 echo "$as_me:$LINENO: result: yes" >&5
8238 echo "${ECHO_T}yes" >&6
8239 else
8240 echo "$as_me:$LINENO: result: no" >&5
8241 echo "${ECHO_T}no" >&6
8242 fi
8243
8244
8245 enablestring=
8246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8247 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8248 no_cache=0
8249 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8250 if test "${enable_dirpicker+set}" = set; then
8251 enableval="$enable_dirpicker"
8252
8253 if test "$enableval" = yes; then
8254 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8255 else
8256 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8257 fi
8258
8259 else
8260
8261 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8262 if test "x$LINE" != x ; then
8263 eval "DEFAULT_$LINE"
8264 else
8265 no_cache=1
8266 fi
8267
8268 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8269
8270 fi;
8271
8272 eval "$ac_cv_use_dirpicker"
8273 if test "$no_cache" != 1; then
8274 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8275 fi
8276
8277 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8278 echo "$as_me:$LINENO: result: yes" >&5
8279 echo "${ECHO_T}yes" >&6
8280 else
8281 echo "$as_me:$LINENO: result: no" >&5
8282 echo "${ECHO_T}no" >&6
8283 fi
8284
8285
8286 enablestring=
8287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8288 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8289 no_cache=0
8290 # Check whether --enable-display or --disable-display was given.
8291 if test "${enable_display+set}" = set; then
8292 enableval="$enable_display"
8293
8294 if test "$enableval" = yes; then
8295 ac_cv_use_display='wxUSE_DISPLAY=yes'
8296 else
8297 ac_cv_use_display='wxUSE_DISPLAY=no'
8298 fi
8299
8300 else
8301
8302 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8303 if test "x$LINE" != x ; then
8304 eval "DEFAULT_$LINE"
8305 else
8306 no_cache=1
8307 fi
8308
8309 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8310
8311 fi;
8312
8313 eval "$ac_cv_use_display"
8314 if test "$no_cache" != 1; then
8315 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8316 fi
8317
8318 if test "$wxUSE_DISPLAY" = yes; then
8319 echo "$as_me:$LINENO: result: yes" >&5
8320 echo "${ECHO_T}yes" >&6
8321 else
8322 echo "$as_me:$LINENO: result: no" >&5
8323 echo "${ECHO_T}no" >&6
8324 fi
8325
8326
8327 enablestring=
8328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8329 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8330 no_cache=0
8331 # Check whether --enable-filepicker or --disable-filepicker was given.
8332 if test "${enable_filepicker+set}" = set; then
8333 enableval="$enable_filepicker"
8334
8335 if test "$enableval" = yes; then
8336 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8337 else
8338 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8339 fi
8340
8341 else
8342
8343 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8344 if test "x$LINE" != x ; then
8345 eval "DEFAULT_$LINE"
8346 else
8347 no_cache=1
8348 fi
8349
8350 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8351
8352 fi;
8353
8354 eval "$ac_cv_use_filepicker"
8355 if test "$no_cache" != 1; then
8356 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8357 fi
8358
8359 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8360 echo "$as_me:$LINENO: result: yes" >&5
8361 echo "${ECHO_T}yes" >&6
8362 else
8363 echo "$as_me:$LINENO: result: no" >&5
8364 echo "${ECHO_T}no" >&6
8365 fi
8366
8367
8368 enablestring=
8369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8370 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8371 no_cache=0
8372 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8373 if test "${enable_fontpicker+set}" = set; then
8374 enableval="$enable_fontpicker"
8375
8376 if test "$enableval" = yes; then
8377 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8378 else
8379 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8380 fi
8381
8382 else
8383
8384 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8385 if test "x$LINE" != x ; then
8386 eval "DEFAULT_$LINE"
8387 else
8388 no_cache=1
8389 fi
8390
8391 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8392
8393 fi;
8394
8395 eval "$ac_cv_use_fontpicker"
8396 if test "$no_cache" != 1; then
8397 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8398 fi
8399
8400 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8401 echo "$as_me:$LINENO: result: yes" >&5
8402 echo "${ECHO_T}yes" >&6
8403 else
8404 echo "$as_me:$LINENO: result: no" >&5
8405 echo "${ECHO_T}no" >&6
8406 fi
8407
8408
8409 enablestring=
8410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8411 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8412 no_cache=0
8413 # Check whether --enable-gauge or --disable-gauge was given.
8414 if test "${enable_gauge+set}" = set; then
8415 enableval="$enable_gauge"
8416
8417 if test "$enableval" = yes; then
8418 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8419 else
8420 ac_cv_use_gauge='wxUSE_GAUGE=no'
8421 fi
8422
8423 else
8424
8425 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8426 if test "x$LINE" != x ; then
8427 eval "DEFAULT_$LINE"
8428 else
8429 no_cache=1
8430 fi
8431
8432 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8433
8434 fi;
8435
8436 eval "$ac_cv_use_gauge"
8437 if test "$no_cache" != 1; then
8438 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8439 fi
8440
8441 if test "$wxUSE_GAUGE" = yes; then
8442 echo "$as_me:$LINENO: result: yes" >&5
8443 echo "${ECHO_T}yes" >&6
8444 else
8445 echo "$as_me:$LINENO: result: no" >&5
8446 echo "${ECHO_T}no" >&6
8447 fi
8448
8449
8450 enablestring=
8451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8452 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8453 no_cache=0
8454 # Check whether --enable-grid or --disable-grid was given.
8455 if test "${enable_grid+set}" = set; then
8456 enableval="$enable_grid"
8457
8458 if test "$enableval" = yes; then
8459 ac_cv_use_grid='wxUSE_GRID=yes'
8460 else
8461 ac_cv_use_grid='wxUSE_GRID=no'
8462 fi
8463
8464 else
8465
8466 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8467 if test "x$LINE" != x ; then
8468 eval "DEFAULT_$LINE"
8469 else
8470 no_cache=1
8471 fi
8472
8473 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8474
8475 fi;
8476
8477 eval "$ac_cv_use_grid"
8478 if test "$no_cache" != 1; then
8479 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8480 fi
8481
8482 if test "$wxUSE_GRID" = yes; then
8483 echo "$as_me:$LINENO: result: yes" >&5
8484 echo "${ECHO_T}yes" >&6
8485 else
8486 echo "$as_me:$LINENO: result: no" >&5
8487 echo "${ECHO_T}no" >&6
8488 fi
8489
8490
8491 enablestring=
8492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8493 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8494 no_cache=0
8495 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8496 if test "${enable_dataviewctrl+set}" = set; then
8497 enableval="$enable_dataviewctrl"
8498
8499 if test "$enableval" = yes; then
8500 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8501 else
8502 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8503 fi
8504
8505 else
8506
8507 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8508 if test "x$LINE" != x ; then
8509 eval "DEFAULT_$LINE"
8510 else
8511 no_cache=1
8512 fi
8513
8514 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8515
8516 fi;
8517
8518 eval "$ac_cv_use_dataviewctrl"
8519 if test "$no_cache" != 1; then
8520 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8521 fi
8522
8523 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8524 echo "$as_me:$LINENO: result: yes" >&5
8525 echo "${ECHO_T}yes" >&6
8526 else
8527 echo "$as_me:$LINENO: result: no" >&5
8528 echo "${ECHO_T}no" >&6
8529 fi
8530
8531
8532 enablestring=
8533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8534 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8535 no_cache=0
8536 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8537 if test "${enable_hyperlink+set}" = set; then
8538 enableval="$enable_hyperlink"
8539
8540 if test "$enableval" = yes; then
8541 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8542 else
8543 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8544 fi
8545
8546 else
8547
8548 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8549 if test "x$LINE" != x ; then
8550 eval "DEFAULT_$LINE"
8551 else
8552 no_cache=1
8553 fi
8554
8555 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8556
8557 fi;
8558
8559 eval "$ac_cv_use_hyperlink"
8560 if test "$no_cache" != 1; then
8561 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8562 fi
8563
8564 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8565 echo "$as_me:$LINENO: result: yes" >&5
8566 echo "${ECHO_T}yes" >&6
8567 else
8568 echo "$as_me:$LINENO: result: no" >&5
8569 echo "${ECHO_T}no" >&6
8570 fi
8571
8572
8573 enablestring=
8574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8575 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8576 no_cache=0
8577 # Check whether --enable-imaglist or --disable-imaglist was given.
8578 if test "${enable_imaglist+set}" = set; then
8579 enableval="$enable_imaglist"
8580
8581 if test "$enableval" = yes; then
8582 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8583 else
8584 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8585 fi
8586
8587 else
8588
8589 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8590 if test "x$LINE" != x ; then
8591 eval "DEFAULT_$LINE"
8592 else
8593 no_cache=1
8594 fi
8595
8596 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8597
8598 fi;
8599
8600 eval "$ac_cv_use_imaglist"
8601 if test "$no_cache" != 1; then
8602 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8603 fi
8604
8605 if test "$wxUSE_IMAGLIST" = yes; then
8606 echo "$as_me:$LINENO: result: yes" >&5
8607 echo "${ECHO_T}yes" >&6
8608 else
8609 echo "$as_me:$LINENO: result: no" >&5
8610 echo "${ECHO_T}no" >&6
8611 fi
8612
8613
8614 enablestring=
8615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8616 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8617 no_cache=0
8618 # Check whether --enable-listbook or --disable-listbook was given.
8619 if test "${enable_listbook+set}" = set; then
8620 enableval="$enable_listbook"
8621
8622 if test "$enableval" = yes; then
8623 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8624 else
8625 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8626 fi
8627
8628 else
8629
8630 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8631 if test "x$LINE" != x ; then
8632 eval "DEFAULT_$LINE"
8633 else
8634 no_cache=1
8635 fi
8636
8637 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8638
8639 fi;
8640
8641 eval "$ac_cv_use_listbook"
8642 if test "$no_cache" != 1; then
8643 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8644 fi
8645
8646 if test "$wxUSE_LISTBOOK" = yes; then
8647 echo "$as_me:$LINENO: result: yes" >&5
8648 echo "${ECHO_T}yes" >&6
8649 else
8650 echo "$as_me:$LINENO: result: no" >&5
8651 echo "${ECHO_T}no" >&6
8652 fi
8653
8654
8655 enablestring=
8656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8657 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8658 no_cache=0
8659 # Check whether --enable-listbox or --disable-listbox was given.
8660 if test "${enable_listbox+set}" = set; then
8661 enableval="$enable_listbox"
8662
8663 if test "$enableval" = yes; then
8664 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8665 else
8666 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8667 fi
8668
8669 else
8670
8671 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8672 if test "x$LINE" != x ; then
8673 eval "DEFAULT_$LINE"
8674 else
8675 no_cache=1
8676 fi
8677
8678 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8679
8680 fi;
8681
8682 eval "$ac_cv_use_listbox"
8683 if test "$no_cache" != 1; then
8684 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8685 fi
8686
8687 if test "$wxUSE_LISTBOX" = yes; then
8688 echo "$as_me:$LINENO: result: yes" >&5
8689 echo "${ECHO_T}yes" >&6
8690 else
8691 echo "$as_me:$LINENO: result: no" >&5
8692 echo "${ECHO_T}no" >&6
8693 fi
8694
8695
8696 enablestring=
8697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8698 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8699 no_cache=0
8700 # Check whether --enable-listctrl or --disable-listctrl was given.
8701 if test "${enable_listctrl+set}" = set; then
8702 enableval="$enable_listctrl"
8703
8704 if test "$enableval" = yes; then
8705 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8706 else
8707 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8708 fi
8709
8710 else
8711
8712 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8713 if test "x$LINE" != x ; then
8714 eval "DEFAULT_$LINE"
8715 else
8716 no_cache=1
8717 fi
8718
8719 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8720
8721 fi;
8722
8723 eval "$ac_cv_use_listctrl"
8724 if test "$no_cache" != 1; then
8725 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8726 fi
8727
8728 if test "$wxUSE_LISTCTRL" = yes; then
8729 echo "$as_me:$LINENO: result: yes" >&5
8730 echo "${ECHO_T}yes" >&6
8731 else
8732 echo "$as_me:$LINENO: result: no" >&5
8733 echo "${ECHO_T}no" >&6
8734 fi
8735
8736
8737 enablestring=
8738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8739 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8740 no_cache=0
8741 # Check whether --enable-notebook or --disable-notebook was given.
8742 if test "${enable_notebook+set}" = set; then
8743 enableval="$enable_notebook"
8744
8745 if test "$enableval" = yes; then
8746 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8747 else
8748 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8749 fi
8750
8751 else
8752
8753 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8754 if test "x$LINE" != x ; then
8755 eval "DEFAULT_$LINE"
8756 else
8757 no_cache=1
8758 fi
8759
8760 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
8761
8762 fi;
8763
8764 eval "$ac_cv_use_notebook"
8765 if test "$no_cache" != 1; then
8766 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
8767 fi
8768
8769 if test "$wxUSE_NOTEBOOK" = yes; then
8770 echo "$as_me:$LINENO: result: yes" >&5
8771 echo "${ECHO_T}yes" >&6
8772 else
8773 echo "$as_me:$LINENO: result: no" >&5
8774 echo "${ECHO_T}no" >&6
8775 fi
8776
8777
8778 enablestring=
8779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
8780 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
8781 no_cache=0
8782 # Check whether --enable-odcombobox or --disable-odcombobox was given.
8783 if test "${enable_odcombobox+set}" = set; then
8784 enableval="$enable_odcombobox"
8785
8786 if test "$enableval" = yes; then
8787 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
8788 else
8789 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
8790 fi
8791
8792 else
8793
8794 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
8795 if test "x$LINE" != x ; then
8796 eval "DEFAULT_$LINE"
8797 else
8798 no_cache=1
8799 fi
8800
8801 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
8802
8803 fi;
8804
8805 eval "$ac_cv_use_odcombobox"
8806 if test "$no_cache" != 1; then
8807 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
8808 fi
8809
8810 if test "$wxUSE_ODCOMBOBOX" = yes; then
8811 echo "$as_me:$LINENO: result: yes" >&5
8812 echo "${ECHO_T}yes" >&6
8813 else
8814 echo "$as_me:$LINENO: result: no" >&5
8815 echo "${ECHO_T}no" >&6
8816 fi
8817
8818
8819 enablestring=
8820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
8821 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
8822 no_cache=0
8823 # Check whether --enable-radiobox or --disable-radiobox was given.
8824 if test "${enable_radiobox+set}" = set; then
8825 enableval="$enable_radiobox"
8826
8827 if test "$enableval" = yes; then
8828 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
8829 else
8830 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
8831 fi
8832
8833 else
8834
8835 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
8836 if test "x$LINE" != x ; then
8837 eval "DEFAULT_$LINE"
8838 else
8839 no_cache=1
8840 fi
8841
8842 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
8843
8844 fi;
8845
8846 eval "$ac_cv_use_radiobox"
8847 if test "$no_cache" != 1; then
8848 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
8849 fi
8850
8851 if test "$wxUSE_RADIOBOX" = yes; then
8852 echo "$as_me:$LINENO: result: yes" >&5
8853 echo "${ECHO_T}yes" >&6
8854 else
8855 echo "$as_me:$LINENO: result: no" >&5
8856 echo "${ECHO_T}no" >&6
8857 fi
8858
8859
8860 enablestring=
8861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
8862 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
8863 no_cache=0
8864 # Check whether --enable-radiobtn or --disable-radiobtn was given.
8865 if test "${enable_radiobtn+set}" = set; then
8866 enableval="$enable_radiobtn"
8867
8868 if test "$enableval" = yes; then
8869 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
8870 else
8871 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
8872 fi
8873
8874 else
8875
8876 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
8877 if test "x$LINE" != x ; then
8878 eval "DEFAULT_$LINE"
8879 else
8880 no_cache=1
8881 fi
8882
8883 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
8884
8885 fi;
8886
8887 eval "$ac_cv_use_radiobtn"
8888 if test "$no_cache" != 1; then
8889 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
8890 fi
8891
8892 if test "$wxUSE_RADIOBTN" = yes; then
8893 echo "$as_me:$LINENO: result: yes" >&5
8894 echo "${ECHO_T}yes" >&6
8895 else
8896 echo "$as_me:$LINENO: result: no" >&5
8897 echo "${ECHO_T}no" >&6
8898 fi
8899
8900
8901 enablestring=
8902 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
8903 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
8904 no_cache=0
8905 # Check whether --enable-sash or --disable-sash was given.
8906 if test "${enable_sash+set}" = set; then
8907 enableval="$enable_sash"
8908
8909 if test "$enableval" = yes; then
8910 ac_cv_use_sash='wxUSE_SASH=yes'
8911 else
8912 ac_cv_use_sash='wxUSE_SASH=no'
8913 fi
8914
8915 else
8916
8917 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
8918 if test "x$LINE" != x ; then
8919 eval "DEFAULT_$LINE"
8920 else
8921 no_cache=1
8922 fi
8923
8924 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
8925
8926 fi;
8927
8928 eval "$ac_cv_use_sash"
8929 if test "$no_cache" != 1; then
8930 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
8931 fi
8932
8933 if test "$wxUSE_SASH" = yes; then
8934 echo "$as_me:$LINENO: result: yes" >&5
8935 echo "${ECHO_T}yes" >&6
8936 else
8937 echo "$as_me:$LINENO: result: no" >&5
8938 echo "${ECHO_T}no" >&6
8939 fi
8940
8941
8942 enablestring=
8943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
8945 no_cache=0
8946 # Check whether --enable-scrollbar or --disable-scrollbar was given.
8947 if test "${enable_scrollbar+set}" = set; then
8948 enableval="$enable_scrollbar"
8949
8950 if test "$enableval" = yes; then
8951 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
8952 else
8953 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
8954 fi
8955
8956 else
8957
8958 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
8959 if test "x$LINE" != x ; then
8960 eval "DEFAULT_$LINE"
8961 else
8962 no_cache=1
8963 fi
8964
8965 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
8966
8967 fi;
8968
8969 eval "$ac_cv_use_scrollbar"
8970 if test "$no_cache" != 1; then
8971 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
8972 fi
8973
8974 if test "$wxUSE_SCROLLBAR" = yes; then
8975 echo "$as_me:$LINENO: result: yes" >&5
8976 echo "${ECHO_T}yes" >&6
8977 else
8978 echo "$as_me:$LINENO: result: no" >&5
8979 echo "${ECHO_T}no" >&6
8980 fi
8981
8982
8983 enablestring=
8984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
8986 no_cache=0
8987 # Check whether --enable-slider or --disable-slider was given.
8988 if test "${enable_slider+set}" = set; then
8989 enableval="$enable_slider"
8990
8991 if test "$enableval" = yes; then
8992 ac_cv_use_slider='wxUSE_SLIDER=yes'
8993 else
8994 ac_cv_use_slider='wxUSE_SLIDER=no'
8995 fi
8996
8997 else
8998
8999 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9000 if test "x$LINE" != x ; then
9001 eval "DEFAULT_$LINE"
9002 else
9003 no_cache=1
9004 fi
9005
9006 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9007
9008 fi;
9009
9010 eval "$ac_cv_use_slider"
9011 if test "$no_cache" != 1; then
9012 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9013 fi
9014
9015 if test "$wxUSE_SLIDER" = yes; then
9016 echo "$as_me:$LINENO: result: yes" >&5
9017 echo "${ECHO_T}yes" >&6
9018 else
9019 echo "$as_me:$LINENO: result: no" >&5
9020 echo "${ECHO_T}no" >&6
9021 fi
9022
9023
9024 enablestring=
9025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9026 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9027 no_cache=0
9028 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9029 if test "${enable_spinbtn+set}" = set; then
9030 enableval="$enable_spinbtn"
9031
9032 if test "$enableval" = yes; then
9033 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9034 else
9035 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9036 fi
9037
9038 else
9039
9040 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9041 if test "x$LINE" != x ; then
9042 eval "DEFAULT_$LINE"
9043 else
9044 no_cache=1
9045 fi
9046
9047 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9048
9049 fi;
9050
9051 eval "$ac_cv_use_spinbtn"
9052 if test "$no_cache" != 1; then
9053 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9054 fi
9055
9056 if test "$wxUSE_SPINBTN" = yes; then
9057 echo "$as_me:$LINENO: result: yes" >&5
9058 echo "${ECHO_T}yes" >&6
9059 else
9060 echo "$as_me:$LINENO: result: no" >&5
9061 echo "${ECHO_T}no" >&6
9062 fi
9063
9064
9065 enablestring=
9066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9068 no_cache=0
9069 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9070 if test "${enable_spinctrl+set}" = set; then
9071 enableval="$enable_spinctrl"
9072
9073 if test "$enableval" = yes; then
9074 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9075 else
9076 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9077 fi
9078
9079 else
9080
9081 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9082 if test "x$LINE" != x ; then
9083 eval "DEFAULT_$LINE"
9084 else
9085 no_cache=1
9086 fi
9087
9088 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9089
9090 fi;
9091
9092 eval "$ac_cv_use_spinctrl"
9093 if test "$no_cache" != 1; then
9094 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9095 fi
9096
9097 if test "$wxUSE_SPINCTRL" = yes; then
9098 echo "$as_me:$LINENO: result: yes" >&5
9099 echo "${ECHO_T}yes" >&6
9100 else
9101 echo "$as_me:$LINENO: result: no" >&5
9102 echo "${ECHO_T}no" >&6
9103 fi
9104
9105
9106 enablestring=
9107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9108 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9109 no_cache=0
9110 # Check whether --enable-splitter or --disable-splitter was given.
9111 if test "${enable_splitter+set}" = set; then
9112 enableval="$enable_splitter"
9113
9114 if test "$enableval" = yes; then
9115 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9116 else
9117 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9118 fi
9119
9120 else
9121
9122 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9123 if test "x$LINE" != x ; then
9124 eval "DEFAULT_$LINE"
9125 else
9126 no_cache=1
9127 fi
9128
9129 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9130
9131 fi;
9132
9133 eval "$ac_cv_use_splitter"
9134 if test "$no_cache" != 1; then
9135 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9136 fi
9137
9138 if test "$wxUSE_SPLITTER" = yes; then
9139 echo "$as_me:$LINENO: result: yes" >&5
9140 echo "${ECHO_T}yes" >&6
9141 else
9142 echo "$as_me:$LINENO: result: no" >&5
9143 echo "${ECHO_T}no" >&6
9144 fi
9145
9146
9147 enablestring=
9148 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9150 no_cache=0
9151 # Check whether --enable-statbmp or --disable-statbmp was given.
9152 if test "${enable_statbmp+set}" = set; then
9153 enableval="$enable_statbmp"
9154
9155 if test "$enableval" = yes; then
9156 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9157 else
9158 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9159 fi
9160
9161 else
9162
9163 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9164 if test "x$LINE" != x ; then
9165 eval "DEFAULT_$LINE"
9166 else
9167 no_cache=1
9168 fi
9169
9170 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9171
9172 fi;
9173
9174 eval "$ac_cv_use_statbmp"
9175 if test "$no_cache" != 1; then
9176 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9177 fi
9178
9179 if test "$wxUSE_STATBMP" = yes; then
9180 echo "$as_me:$LINENO: result: yes" >&5
9181 echo "${ECHO_T}yes" >&6
9182 else
9183 echo "$as_me:$LINENO: result: no" >&5
9184 echo "${ECHO_T}no" >&6
9185 fi
9186
9187
9188 enablestring=
9189 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9190 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9191 no_cache=0
9192 # Check whether --enable-statbox or --disable-statbox was given.
9193 if test "${enable_statbox+set}" = set; then
9194 enableval="$enable_statbox"
9195
9196 if test "$enableval" = yes; then
9197 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9198 else
9199 ac_cv_use_statbox='wxUSE_STATBOX=no'
9200 fi
9201
9202 else
9203
9204 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9205 if test "x$LINE" != x ; then
9206 eval "DEFAULT_$LINE"
9207 else
9208 no_cache=1
9209 fi
9210
9211 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9212
9213 fi;
9214
9215 eval "$ac_cv_use_statbox"
9216 if test "$no_cache" != 1; then
9217 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9218 fi
9219
9220 if test "$wxUSE_STATBOX" = yes; then
9221 echo "$as_me:$LINENO: result: yes" >&5
9222 echo "${ECHO_T}yes" >&6
9223 else
9224 echo "$as_me:$LINENO: result: no" >&5
9225 echo "${ECHO_T}no" >&6
9226 fi
9227
9228
9229 enablestring=
9230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9231 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9232 no_cache=0
9233 # Check whether --enable-statline or --disable-statline was given.
9234 if test "${enable_statline+set}" = set; then
9235 enableval="$enable_statline"
9236
9237 if test "$enableval" = yes; then
9238 ac_cv_use_statline='wxUSE_STATLINE=yes'
9239 else
9240 ac_cv_use_statline='wxUSE_STATLINE=no'
9241 fi
9242
9243 else
9244
9245 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9246 if test "x$LINE" != x ; then
9247 eval "DEFAULT_$LINE"
9248 else
9249 no_cache=1
9250 fi
9251
9252 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9253
9254 fi;
9255
9256 eval "$ac_cv_use_statline"
9257 if test "$no_cache" != 1; then
9258 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9259 fi
9260
9261 if test "$wxUSE_STATLINE" = yes; then
9262 echo "$as_me:$LINENO: result: yes" >&5
9263 echo "${ECHO_T}yes" >&6
9264 else
9265 echo "$as_me:$LINENO: result: no" >&5
9266 echo "${ECHO_T}no" >&6
9267 fi
9268
9269
9270 enablestring=
9271 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9272 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9273 no_cache=0
9274 # Check whether --enable-stattext or --disable-stattext was given.
9275 if test "${enable_stattext+set}" = set; then
9276 enableval="$enable_stattext"
9277
9278 if test "$enableval" = yes; then
9279 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9280 else
9281 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9282 fi
9283
9284 else
9285
9286 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9287 if test "x$LINE" != x ; then
9288 eval "DEFAULT_$LINE"
9289 else
9290 no_cache=1
9291 fi
9292
9293 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9294
9295 fi;
9296
9297 eval "$ac_cv_use_stattext"
9298 if test "$no_cache" != 1; then
9299 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9300 fi
9301
9302 if test "$wxUSE_STATTEXT" = yes; then
9303 echo "$as_me:$LINENO: result: yes" >&5
9304 echo "${ECHO_T}yes" >&6
9305 else
9306 echo "$as_me:$LINENO: result: no" >&5
9307 echo "${ECHO_T}no" >&6
9308 fi
9309
9310
9311 enablestring=
9312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9313 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9314 no_cache=0
9315 # Check whether --enable-statusbar or --disable-statusbar was given.
9316 if test "${enable_statusbar+set}" = set; then
9317 enableval="$enable_statusbar"
9318
9319 if test "$enableval" = yes; then
9320 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9321 else
9322 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9323 fi
9324
9325 else
9326
9327 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9328 if test "x$LINE" != x ; then
9329 eval "DEFAULT_$LINE"
9330 else
9331 no_cache=1
9332 fi
9333
9334 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9335
9336 fi;
9337
9338 eval "$ac_cv_use_statusbar"
9339 if test "$no_cache" != 1; then
9340 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9341 fi
9342
9343 if test "$wxUSE_STATUSBAR" = yes; then
9344 echo "$as_me:$LINENO: result: yes" >&5
9345 echo "${ECHO_T}yes" >&6
9346 else
9347 echo "$as_me:$LINENO: result: no" >&5
9348 echo "${ECHO_T}no" >&6
9349 fi
9350
9351
9352 enablestring=
9353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9354 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9355 no_cache=0
9356 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9357 if test "${enable_tabdialog+set}" = set; then
9358 enableval="$enable_tabdialog"
9359
9360 if test "$enableval" = yes; then
9361 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9362 else
9363 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9364 fi
9365
9366 else
9367
9368 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9369 if test "x$LINE" != x ; then
9370 eval "DEFAULT_$LINE"
9371 else
9372 no_cache=1
9373 fi
9374
9375 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9376
9377 fi;
9378
9379 eval "$ac_cv_use_tabdialog"
9380 if test "$no_cache" != 1; then
9381 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9382 fi
9383
9384 if test "$wxUSE_TAB_DIALOG" = yes; then
9385 echo "$as_me:$LINENO: result: yes" >&5
9386 echo "${ECHO_T}yes" >&6
9387 else
9388 echo "$as_me:$LINENO: result: no" >&5
9389 echo "${ECHO_T}no" >&6
9390 fi
9391
9392
9393 enablestring=
9394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9395 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9396 no_cache=0
9397 # Check whether --enable-textctrl or --disable-textctrl was given.
9398 if test "${enable_textctrl+set}" = set; then
9399 enableval="$enable_textctrl"
9400
9401 if test "$enableval" = yes; then
9402 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9403 else
9404 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9405 fi
9406
9407 else
9408
9409 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9410 if test "x$LINE" != x ; then
9411 eval "DEFAULT_$LINE"
9412 else
9413 no_cache=1
9414 fi
9415
9416 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9417
9418 fi;
9419
9420 eval "$ac_cv_use_textctrl"
9421 if test "$no_cache" != 1; then
9422 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9423 fi
9424
9425 if test "$wxUSE_TEXTCTRL" = yes; then
9426 echo "$as_me:$LINENO: result: yes" >&5
9427 echo "${ECHO_T}yes" >&6
9428 else
9429 echo "$as_me:$LINENO: result: no" >&5
9430 echo "${ECHO_T}no" >&6
9431 fi
9432
9433
9434 enablestring=
9435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9436 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9437 no_cache=0
9438 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9439 if test "${enable_togglebtn+set}" = set; then
9440 enableval="$enable_togglebtn"
9441
9442 if test "$enableval" = yes; then
9443 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9444 else
9445 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9446 fi
9447
9448 else
9449
9450 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9451 if test "x$LINE" != x ; then
9452 eval "DEFAULT_$LINE"
9453 else
9454 no_cache=1
9455 fi
9456
9457 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9458
9459 fi;
9460
9461 eval "$ac_cv_use_togglebtn"
9462 if test "$no_cache" != 1; then
9463 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9464 fi
9465
9466 if test "$wxUSE_TOGGLEBTN" = yes; then
9467 echo "$as_me:$LINENO: result: yes" >&5
9468 echo "${ECHO_T}yes" >&6
9469 else
9470 echo "$as_me:$LINENO: result: no" >&5
9471 echo "${ECHO_T}no" >&6
9472 fi
9473
9474
9475 enablestring=
9476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9477 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9478 no_cache=0
9479 # Check whether --enable-toolbar or --disable-toolbar was given.
9480 if test "${enable_toolbar+set}" = set; then
9481 enableval="$enable_toolbar"
9482
9483 if test "$enableval" = yes; then
9484 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9485 else
9486 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9487 fi
9488
9489 else
9490
9491 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9492 if test "x$LINE" != x ; then
9493 eval "DEFAULT_$LINE"
9494 else
9495 no_cache=1
9496 fi
9497
9498 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9499
9500 fi;
9501
9502 eval "$ac_cv_use_toolbar"
9503 if test "$no_cache" != 1; then
9504 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9505 fi
9506
9507 if test "$wxUSE_TOOLBAR" = yes; then
9508 echo "$as_me:$LINENO: result: yes" >&5
9509 echo "${ECHO_T}yes" >&6
9510 else
9511 echo "$as_me:$LINENO: result: no" >&5
9512 echo "${ECHO_T}no" >&6
9513 fi
9514
9515
9516 enablestring=
9517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9518 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9519 no_cache=0
9520 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9521 if test "${enable_tbarnative+set}" = set; then
9522 enableval="$enable_tbarnative"
9523
9524 if test "$enableval" = yes; then
9525 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9526 else
9527 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9528 fi
9529
9530 else
9531
9532 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9533 if test "x$LINE" != x ; then
9534 eval "DEFAULT_$LINE"
9535 else
9536 no_cache=1
9537 fi
9538
9539 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9540
9541 fi;
9542
9543 eval "$ac_cv_use_tbarnative"
9544 if test "$no_cache" != 1; then
9545 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9546 fi
9547
9548 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9549 echo "$as_me:$LINENO: result: yes" >&5
9550 echo "${ECHO_T}yes" >&6
9551 else
9552 echo "$as_me:$LINENO: result: no" >&5
9553 echo "${ECHO_T}no" >&6
9554 fi
9555
9556
9557 enablestring=
9558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarsmpl" >&5
9559 echo $ECHO_N "checking for --${enablestring:-enable}-tbarsmpl... $ECHO_C" >&6
9560 no_cache=0
9561 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
9562 if test "${enable_tbarsmpl+set}" = set; then
9563 enableval="$enable_tbarsmpl"
9564
9565 if test "$enableval" = yes; then
9566 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=yes'
9567 else
9568 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE=no'
9569 fi
9570
9571 else
9572
9573 LINE=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
9574 if test "x$LINE" != x ; then
9575 eval "DEFAULT_$LINE"
9576 else
9577 no_cache=1
9578 fi
9579
9580 ac_cv_use_tbarsmpl='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
9581
9582 fi;
9583
9584 eval "$ac_cv_use_tbarsmpl"
9585 if test "$no_cache" != 1; then
9586 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
9587 fi
9588
9589 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
9590 echo "$as_me:$LINENO: result: yes" >&5
9591 echo "${ECHO_T}yes" >&6
9592 else
9593 echo "$as_me:$LINENO: result: no" >&5
9594 echo "${ECHO_T}no" >&6
9595 fi
9596
9597
9598 enablestring=
9599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9600 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9601 no_cache=0
9602 # Check whether --enable-treebook or --disable-treebook was given.
9603 if test "${enable_treebook+set}" = set; then
9604 enableval="$enable_treebook"
9605
9606 if test "$enableval" = yes; then
9607 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9608 else
9609 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9610 fi
9611
9612 else
9613
9614 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9615 if test "x$LINE" != x ; then
9616 eval "DEFAULT_$LINE"
9617 else
9618 no_cache=1
9619 fi
9620
9621 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9622
9623 fi;
9624
9625 eval "$ac_cv_use_treebook"
9626 if test "$no_cache" != 1; then
9627 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9628 fi
9629
9630 if test "$wxUSE_TREEBOOK" = yes; then
9631 echo "$as_me:$LINENO: result: yes" >&5
9632 echo "${ECHO_T}yes" >&6
9633 else
9634 echo "$as_me:$LINENO: result: no" >&5
9635 echo "${ECHO_T}no" >&6
9636 fi
9637
9638
9639 enablestring=
9640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9641 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9642 no_cache=0
9643 # Check whether --enable-toolbook or --disable-toolbook was given.
9644 if test "${enable_toolbook+set}" = set; then
9645 enableval="$enable_toolbook"
9646
9647 if test "$enableval" = yes; then
9648 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9649 else
9650 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9651 fi
9652
9653 else
9654
9655 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9656 if test "x$LINE" != x ; then
9657 eval "DEFAULT_$LINE"
9658 else
9659 no_cache=1
9660 fi
9661
9662 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9663
9664 fi;
9665
9666 eval "$ac_cv_use_toolbook"
9667 if test "$no_cache" != 1; then
9668 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9669 fi
9670
9671 if test "$wxUSE_TOOLBOOK" = yes; then
9672 echo "$as_me:$LINENO: result: yes" >&5
9673 echo "${ECHO_T}yes" >&6
9674 else
9675 echo "$as_me:$LINENO: result: no" >&5
9676 echo "${ECHO_T}no" >&6
9677 fi
9678
9679
9680 enablestring=
9681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9682 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9683 no_cache=0
9684 # Check whether --enable-treectrl or --disable-treectrl was given.
9685 if test "${enable_treectrl+set}" = set; then
9686 enableval="$enable_treectrl"
9687
9688 if test "$enableval" = yes; then
9689 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9690 else
9691 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9692 fi
9693
9694 else
9695
9696 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9697 if test "x$LINE" != x ; then
9698 eval "DEFAULT_$LINE"
9699 else
9700 no_cache=1
9701 fi
9702
9703 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9704
9705 fi;
9706
9707 eval "$ac_cv_use_treectrl"
9708 if test "$no_cache" != 1; then
9709 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9710 fi
9711
9712 if test "$wxUSE_TREECTRL" = yes; then
9713 echo "$as_me:$LINENO: result: yes" >&5
9714 echo "${ECHO_T}yes" >&6
9715 else
9716 echo "$as_me:$LINENO: result: no" >&5
9717 echo "${ECHO_T}no" >&6
9718 fi
9719
9720
9721 enablestring=
9722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9723 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9724 no_cache=0
9725 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9726 if test "${enable_tipwindow+set}" = set; then
9727 enableval="$enable_tipwindow"
9728
9729 if test "$enableval" = yes; then
9730 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9731 else
9732 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9733 fi
9734
9735 else
9736
9737 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9738 if test "x$LINE" != x ; then
9739 eval "DEFAULT_$LINE"
9740 else
9741 no_cache=1
9742 fi
9743
9744 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9745
9746 fi;
9747
9748 eval "$ac_cv_use_tipwindow"
9749 if test "$no_cache" != 1; then
9750 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9751 fi
9752
9753 if test "$wxUSE_TIPWINDOW" = yes; then
9754 echo "$as_me:$LINENO: result: yes" >&5
9755 echo "${ECHO_T}yes" >&6
9756 else
9757 echo "$as_me:$LINENO: result: no" >&5
9758 echo "${ECHO_T}no" >&6
9759 fi
9760
9761
9762 enablestring=
9763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9764 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9765 no_cache=0
9766 # Check whether --enable-popupwin or --disable-popupwin was given.
9767 if test "${enable_popupwin+set}" = set; then
9768 enableval="$enable_popupwin"
9769
9770 if test "$enableval" = yes; then
9771 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9772 else
9773 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9774 fi
9775
9776 else
9777
9778 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9779 if test "x$LINE" != x ; then
9780 eval "DEFAULT_$LINE"
9781 else
9782 no_cache=1
9783 fi
9784
9785 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9786
9787 fi;
9788
9789 eval "$ac_cv_use_popupwin"
9790 if test "$no_cache" != 1; then
9791 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9792 fi
9793
9794 if test "$wxUSE_POPUPWIN" = yes; then
9795 echo "$as_me:$LINENO: result: yes" >&5
9796 echo "${ECHO_T}yes" >&6
9797 else
9798 echo "$as_me:$LINENO: result: no" >&5
9799 echo "${ECHO_T}no" >&6
9800 fi
9801
9802
9803
9804
9805 enablestring=
9806 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
9807 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
9808 no_cache=0
9809 # Check whether --enable-commondlg or --disable-commondlg was given.
9810 if test "${enable_commondlg+set}" = set; then
9811 enableval="$enable_commondlg"
9812
9813 if test "$enableval" = yes; then
9814 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
9815 else
9816 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
9817 fi
9818
9819 else
9820
9821 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
9822 if test "x$LINE" != x ; then
9823 eval "DEFAULT_$LINE"
9824 else
9825 no_cache=1
9826 fi
9827
9828 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
9829
9830 fi;
9831
9832 eval "$ac_cv_use_commondlg"
9833 if test "$no_cache" != 1; then
9834 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
9835 fi
9836
9837 if test "$wxUSE_COMMONDLGS" = yes; then
9838 echo "$as_me:$LINENO: result: yes" >&5
9839 echo "${ECHO_T}yes" >&6
9840 else
9841 echo "$as_me:$LINENO: result: no" >&5
9842 echo "${ECHO_T}no" >&6
9843 fi
9844
9845
9846 enablestring=
9847 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
9848 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
9849 no_cache=0
9850 # Check whether --enable-choicedlg or --disable-choicedlg was given.
9851 if test "${enable_choicedlg+set}" = set; then
9852 enableval="$enable_choicedlg"
9853
9854 if test "$enableval" = yes; then
9855 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
9856 else
9857 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
9858 fi
9859
9860 else
9861
9862 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
9863 if test "x$LINE" != x ; then
9864 eval "DEFAULT_$LINE"
9865 else
9866 no_cache=1
9867 fi
9868
9869 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
9870
9871 fi;
9872
9873 eval "$ac_cv_use_choicedlg"
9874 if test "$no_cache" != 1; then
9875 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
9876 fi
9877
9878 if test "$wxUSE_CHOICEDLG" = yes; then
9879 echo "$as_me:$LINENO: result: yes" >&5
9880 echo "${ECHO_T}yes" >&6
9881 else
9882 echo "$as_me:$LINENO: result: no" >&5
9883 echo "${ECHO_T}no" >&6
9884 fi
9885
9886
9887 enablestring=
9888 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
9889 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
9890 no_cache=0
9891 # Check whether --enable-coldlg or --disable-coldlg was given.
9892 if test "${enable_coldlg+set}" = set; then
9893 enableval="$enable_coldlg"
9894
9895 if test "$enableval" = yes; then
9896 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
9897 else
9898 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
9899 fi
9900
9901 else
9902
9903 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
9904 if test "x$LINE" != x ; then
9905 eval "DEFAULT_$LINE"
9906 else
9907 no_cache=1
9908 fi
9909
9910 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
9911
9912 fi;
9913
9914 eval "$ac_cv_use_coldlg"
9915 if test "$no_cache" != 1; then
9916 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
9917 fi
9918
9919 if test "$wxUSE_COLOURDLG" = yes; then
9920 echo "$as_me:$LINENO: result: yes" >&5
9921 echo "${ECHO_T}yes" >&6
9922 else
9923 echo "$as_me:$LINENO: result: no" >&5
9924 echo "${ECHO_T}no" >&6
9925 fi
9926
9927
9928 enablestring=
9929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
9930 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
9931 no_cache=0
9932 # Check whether --enable-filedlg or --disable-filedlg was given.
9933 if test "${enable_filedlg+set}" = set; then
9934 enableval="$enable_filedlg"
9935
9936 if test "$enableval" = yes; then
9937 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
9938 else
9939 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
9940 fi
9941
9942 else
9943
9944 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
9945 if test "x$LINE" != x ; then
9946 eval "DEFAULT_$LINE"
9947 else
9948 no_cache=1
9949 fi
9950
9951 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
9952
9953 fi;
9954
9955 eval "$ac_cv_use_filedlg"
9956 if test "$no_cache" != 1; then
9957 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
9958 fi
9959
9960 if test "$wxUSE_FILEDLG" = yes; then
9961 echo "$as_me:$LINENO: result: yes" >&5
9962 echo "${ECHO_T}yes" >&6
9963 else
9964 echo "$as_me:$LINENO: result: no" >&5
9965 echo "${ECHO_T}no" >&6
9966 fi
9967
9968
9969 enablestring=
9970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
9971 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
9972 no_cache=0
9973 # Check whether --enable-finddlg or --disable-finddlg was given.
9974 if test "${enable_finddlg+set}" = set; then
9975 enableval="$enable_finddlg"
9976
9977 if test "$enableval" = yes; then
9978 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
9979 else
9980 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
9981 fi
9982
9983 else
9984
9985 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
9986 if test "x$LINE" != x ; then
9987 eval "DEFAULT_$LINE"
9988 else
9989 no_cache=1
9990 fi
9991
9992 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
9993
9994 fi;
9995
9996 eval "$ac_cv_use_finddlg"
9997 if test "$no_cache" != 1; then
9998 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
9999 fi
10000
10001 if test "$wxUSE_FINDREPLDLG" = yes; then
10002 echo "$as_me:$LINENO: result: yes" >&5
10003 echo "${ECHO_T}yes" >&6
10004 else
10005 echo "$as_me:$LINENO: result: no" >&5
10006 echo "${ECHO_T}no" >&6
10007 fi
10008
10009
10010 enablestring=
10011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10012 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10013 no_cache=0
10014 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10015 if test "${enable_fontdlg+set}" = set; then
10016 enableval="$enable_fontdlg"
10017
10018 if test "$enableval" = yes; then
10019 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10020 else
10021 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10022 fi
10023
10024 else
10025
10026 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10027 if test "x$LINE" != x ; then
10028 eval "DEFAULT_$LINE"
10029 else
10030 no_cache=1
10031 fi
10032
10033 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10034
10035 fi;
10036
10037 eval "$ac_cv_use_fontdlg"
10038 if test "$no_cache" != 1; then
10039 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10040 fi
10041
10042 if test "$wxUSE_FONTDLG" = yes; then
10043 echo "$as_me:$LINENO: result: yes" >&5
10044 echo "${ECHO_T}yes" >&6
10045 else
10046 echo "$as_me:$LINENO: result: no" >&5
10047 echo "${ECHO_T}no" >&6
10048 fi
10049
10050
10051 enablestring=
10052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10053 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10054 no_cache=0
10055 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10056 if test "${enable_dirdlg+set}" = set; then
10057 enableval="$enable_dirdlg"
10058
10059 if test "$enableval" = yes; then
10060 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10061 else
10062 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10063 fi
10064
10065 else
10066
10067 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10068 if test "x$LINE" != x ; then
10069 eval "DEFAULT_$LINE"
10070 else
10071 no_cache=1
10072 fi
10073
10074 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10075
10076 fi;
10077
10078 eval "$ac_cv_use_dirdlg"
10079 if test "$no_cache" != 1; then
10080 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10081 fi
10082
10083 if test "$wxUSE_DIRDLG" = yes; then
10084 echo "$as_me:$LINENO: result: yes" >&5
10085 echo "${ECHO_T}yes" >&6
10086 else
10087 echo "$as_me:$LINENO: result: no" >&5
10088 echo "${ECHO_T}no" >&6
10089 fi
10090
10091
10092 enablestring=
10093 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10094 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10095 no_cache=0
10096 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10097 if test "${enable_msgdlg+set}" = set; then
10098 enableval="$enable_msgdlg"
10099
10100 if test "$enableval" = yes; then
10101 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10102 else
10103 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10104 fi
10105
10106 else
10107
10108 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10109 if test "x$LINE" != x ; then
10110 eval "DEFAULT_$LINE"
10111 else
10112 no_cache=1
10113 fi
10114
10115 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10116
10117 fi;
10118
10119 eval "$ac_cv_use_msgdlg"
10120 if test "$no_cache" != 1; then
10121 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10122 fi
10123
10124 if test "$wxUSE_MSGDLG" = yes; then
10125 echo "$as_me:$LINENO: result: yes" >&5
10126 echo "${ECHO_T}yes" >&6
10127 else
10128 echo "$as_me:$LINENO: result: no" >&5
10129 echo "${ECHO_T}no" >&6
10130 fi
10131
10132
10133 enablestring=
10134 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10135 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10136 no_cache=0
10137 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10138 if test "${enable_numberdlg+set}" = set; then
10139 enableval="$enable_numberdlg"
10140
10141 if test "$enableval" = yes; then
10142 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10143 else
10144 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10145 fi
10146
10147 else
10148
10149 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10150 if test "x$LINE" != x ; then
10151 eval "DEFAULT_$LINE"
10152 else
10153 no_cache=1
10154 fi
10155
10156 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10157
10158 fi;
10159
10160 eval "$ac_cv_use_numberdlg"
10161 if test "$no_cache" != 1; then
10162 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10163 fi
10164
10165 if test "$wxUSE_NUMBERDLG" = yes; then
10166 echo "$as_me:$LINENO: result: yes" >&5
10167 echo "${ECHO_T}yes" >&6
10168 else
10169 echo "$as_me:$LINENO: result: no" >&5
10170 echo "${ECHO_T}no" >&6
10171 fi
10172
10173
10174 enablestring=
10175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10176 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10177 no_cache=0
10178 # Check whether --enable-splash or --disable-splash was given.
10179 if test "${enable_splash+set}" = set; then
10180 enableval="$enable_splash"
10181
10182 if test "$enableval" = yes; then
10183 ac_cv_use_splash='wxUSE_SPLASH=yes'
10184 else
10185 ac_cv_use_splash='wxUSE_SPLASH=no'
10186 fi
10187
10188 else
10189
10190 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10191 if test "x$LINE" != x ; then
10192 eval "DEFAULT_$LINE"
10193 else
10194 no_cache=1
10195 fi
10196
10197 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10198
10199 fi;
10200
10201 eval "$ac_cv_use_splash"
10202 if test "$no_cache" != 1; then
10203 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10204 fi
10205
10206 if test "$wxUSE_SPLASH" = yes; then
10207 echo "$as_me:$LINENO: result: yes" >&5
10208 echo "${ECHO_T}yes" >&6
10209 else
10210 echo "$as_me:$LINENO: result: no" >&5
10211 echo "${ECHO_T}no" >&6
10212 fi
10213
10214
10215 enablestring=
10216 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10217 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10218 no_cache=0
10219 # Check whether --enable-textdlg or --disable-textdlg was given.
10220 if test "${enable_textdlg+set}" = set; then
10221 enableval="$enable_textdlg"
10222
10223 if test "$enableval" = yes; then
10224 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10225 else
10226 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10227 fi
10228
10229 else
10230
10231 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10232 if test "x$LINE" != x ; then
10233 eval "DEFAULT_$LINE"
10234 else
10235 no_cache=1
10236 fi
10237
10238 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10239
10240 fi;
10241
10242 eval "$ac_cv_use_textdlg"
10243 if test "$no_cache" != 1; then
10244 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10245 fi
10246
10247 if test "$wxUSE_TEXTDLG" = yes; then
10248 echo "$as_me:$LINENO: result: yes" >&5
10249 echo "${ECHO_T}yes" >&6
10250 else
10251 echo "$as_me:$LINENO: result: no" >&5
10252 echo "${ECHO_T}no" >&6
10253 fi
10254
10255
10256 enablestring=
10257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10258 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10259 no_cache=0
10260 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10261 if test "${enable_tipdlg+set}" = set; then
10262 enableval="$enable_tipdlg"
10263
10264 if test "$enableval" = yes; then
10265 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10266 else
10267 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10268 fi
10269
10270 else
10271
10272 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10273 if test "x$LINE" != x ; then
10274 eval "DEFAULT_$LINE"
10275 else
10276 no_cache=1
10277 fi
10278
10279 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10280
10281 fi;
10282
10283 eval "$ac_cv_use_tipdlg"
10284 if test "$no_cache" != 1; then
10285 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10286 fi
10287
10288 if test "$wxUSE_STARTUP_TIPS" = yes; then
10289 echo "$as_me:$LINENO: result: yes" >&5
10290 echo "${ECHO_T}yes" >&6
10291 else
10292 echo "$as_me:$LINENO: result: no" >&5
10293 echo "${ECHO_T}no" >&6
10294 fi
10295
10296
10297 enablestring=
10298 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10299 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10300 no_cache=0
10301 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10302 if test "${enable_progressdlg+set}" = set; then
10303 enableval="$enable_progressdlg"
10304
10305 if test "$enableval" = yes; then
10306 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10307 else
10308 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10309 fi
10310
10311 else
10312
10313 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10314 if test "x$LINE" != x ; then
10315 eval "DEFAULT_$LINE"
10316 else
10317 no_cache=1
10318 fi
10319
10320 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10321
10322 fi;
10323
10324 eval "$ac_cv_use_progressdlg"
10325 if test "$no_cache" != 1; then
10326 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10327 fi
10328
10329 if test "$wxUSE_PROGRESSDLG" = yes; then
10330 echo "$as_me:$LINENO: result: yes" >&5
10331 echo "${ECHO_T}yes" >&6
10332 else
10333 echo "$as_me:$LINENO: result: no" >&5
10334 echo "${ECHO_T}no" >&6
10335 fi
10336
10337
10338 enablestring=
10339 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10340 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10341 no_cache=0
10342 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10343 if test "${enable_wizarddlg+set}" = set; then
10344 enableval="$enable_wizarddlg"
10345
10346 if test "$enableval" = yes; then
10347 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10348 else
10349 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10350 fi
10351
10352 else
10353
10354 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10355 if test "x$LINE" != x ; then
10356 eval "DEFAULT_$LINE"
10357 else
10358 no_cache=1
10359 fi
10360
10361 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10362
10363 fi;
10364
10365 eval "$ac_cv_use_wizarddlg"
10366 if test "$no_cache" != 1; then
10367 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10368 fi
10369
10370 if test "$wxUSE_WIZARDDLG" = yes; then
10371 echo "$as_me:$LINENO: result: yes" >&5
10372 echo "${ECHO_T}yes" >&6
10373 else
10374 echo "$as_me:$LINENO: result: no" >&5
10375 echo "${ECHO_T}no" >&6
10376 fi
10377
10378
10379
10380
10381 enablestring=
10382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10383 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10384 no_cache=0
10385 # Check whether --enable-menus or --disable-menus was given.
10386 if test "${enable_menus+set}" = set; then
10387 enableval="$enable_menus"
10388
10389 if test "$enableval" = yes; then
10390 ac_cv_use_menus='wxUSE_MENUS=yes'
10391 else
10392 ac_cv_use_menus='wxUSE_MENUS=no'
10393 fi
10394
10395 else
10396
10397 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10398 if test "x$LINE" != x ; then
10399 eval "DEFAULT_$LINE"
10400 else
10401 no_cache=1
10402 fi
10403
10404 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10405
10406 fi;
10407
10408 eval "$ac_cv_use_menus"
10409 if test "$no_cache" != 1; then
10410 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10411 fi
10412
10413 if test "$wxUSE_MENUS" = yes; then
10414 echo "$as_me:$LINENO: result: yes" >&5
10415 echo "${ECHO_T}yes" >&6
10416 else
10417 echo "$as_me:$LINENO: result: no" >&5
10418 echo "${ECHO_T}no" >&6
10419 fi
10420
10421
10422 enablestring=
10423 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10424 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10425 no_cache=0
10426 # Check whether --enable-miniframe or --disable-miniframe was given.
10427 if test "${enable_miniframe+set}" = set; then
10428 enableval="$enable_miniframe"
10429
10430 if test "$enableval" = yes; then
10431 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10432 else
10433 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10434 fi
10435
10436 else
10437
10438 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10439 if test "x$LINE" != x ; then
10440 eval "DEFAULT_$LINE"
10441 else
10442 no_cache=1
10443 fi
10444
10445 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10446
10447 fi;
10448
10449 eval "$ac_cv_use_miniframe"
10450 if test "$no_cache" != 1; then
10451 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10452 fi
10453
10454 if test "$wxUSE_MINIFRAME" = yes; then
10455 echo "$as_me:$LINENO: result: yes" >&5
10456 echo "${ECHO_T}yes" >&6
10457 else
10458 echo "$as_me:$LINENO: result: no" >&5
10459 echo "${ECHO_T}no" >&6
10460 fi
10461
10462
10463 enablestring=
10464 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10465 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10466 no_cache=0
10467 # Check whether --enable-tooltips or --disable-tooltips was given.
10468 if test "${enable_tooltips+set}" = set; then
10469 enableval="$enable_tooltips"
10470
10471 if test "$enableval" = yes; then
10472 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10473 else
10474 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10475 fi
10476
10477 else
10478
10479 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10480 if test "x$LINE" != x ; then
10481 eval "DEFAULT_$LINE"
10482 else
10483 no_cache=1
10484 fi
10485
10486 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10487
10488 fi;
10489
10490 eval "$ac_cv_use_tooltips"
10491 if test "$no_cache" != 1; then
10492 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10493 fi
10494
10495 if test "$wxUSE_TOOLTIPS" = yes; then
10496 echo "$as_me:$LINENO: result: yes" >&5
10497 echo "${ECHO_T}yes" >&6
10498 else
10499 echo "$as_me:$LINENO: result: no" >&5
10500 echo "${ECHO_T}no" >&6
10501 fi
10502
10503
10504 enablestring=
10505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10506 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10507 no_cache=0
10508 # Check whether --enable-splines or --disable-splines was given.
10509 if test "${enable_splines+set}" = set; then
10510 enableval="$enable_splines"
10511
10512 if test "$enableval" = yes; then
10513 ac_cv_use_splines='wxUSE_SPLINES=yes'
10514 else
10515 ac_cv_use_splines='wxUSE_SPLINES=no'
10516 fi
10517
10518 else
10519
10520 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10521 if test "x$LINE" != x ; then
10522 eval "DEFAULT_$LINE"
10523 else
10524 no_cache=1
10525 fi
10526
10527 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10528
10529 fi;
10530
10531 eval "$ac_cv_use_splines"
10532 if test "$no_cache" != 1; then
10533 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10534 fi
10535
10536 if test "$wxUSE_SPLINES" = yes; then
10537 echo "$as_me:$LINENO: result: yes" >&5
10538 echo "${ECHO_T}yes" >&6
10539 else
10540 echo "$as_me:$LINENO: result: no" >&5
10541 echo "${ECHO_T}no" >&6
10542 fi
10543
10544
10545 enablestring=
10546 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10547 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10548 no_cache=0
10549 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10550 if test "${enable_mousewheel+set}" = set; then
10551 enableval="$enable_mousewheel"
10552
10553 if test "$enableval" = yes; then
10554 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10555 else
10556 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10557 fi
10558
10559 else
10560
10561 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10562 if test "x$LINE" != x ; then
10563 eval "DEFAULT_$LINE"
10564 else
10565 no_cache=1
10566 fi
10567
10568 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10569
10570 fi;
10571
10572 eval "$ac_cv_use_mousewheel"
10573 if test "$no_cache" != 1; then
10574 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10575 fi
10576
10577 if test "$wxUSE_MOUSEWHEEL" = yes; then
10578 echo "$as_me:$LINENO: result: yes" >&5
10579 echo "${ECHO_T}yes" >&6
10580 else
10581 echo "$as_me:$LINENO: result: no" >&5
10582 echo "${ECHO_T}no" >&6
10583 fi
10584
10585
10586 enablestring=
10587 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10588 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10589 no_cache=0
10590 # Check whether --enable-validators or --disable-validators was given.
10591 if test "${enable_validators+set}" = set; then
10592 enableval="$enable_validators"
10593
10594 if test "$enableval" = yes; then
10595 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10596 else
10597 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10598 fi
10599
10600 else
10601
10602 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10603 if test "x$LINE" != x ; then
10604 eval "DEFAULT_$LINE"
10605 else
10606 no_cache=1
10607 fi
10608
10609 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10610
10611 fi;
10612
10613 eval "$ac_cv_use_validators"
10614 if test "$no_cache" != 1; then
10615 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10616 fi
10617
10618 if test "$wxUSE_VALIDATORS" = yes; then
10619 echo "$as_me:$LINENO: result: yes" >&5
10620 echo "${ECHO_T}yes" >&6
10621 else
10622 echo "$as_me:$LINENO: result: no" >&5
10623 echo "${ECHO_T}no" >&6
10624 fi
10625
10626
10627 enablestring=
10628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10629 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10630 no_cache=0
10631 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10632 if test "${enable_busyinfo+set}" = set; then
10633 enableval="$enable_busyinfo"
10634
10635 if test "$enableval" = yes; then
10636 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10637 else
10638 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10639 fi
10640
10641 else
10642
10643 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10644 if test "x$LINE" != x ; then
10645 eval "DEFAULT_$LINE"
10646 else
10647 no_cache=1
10648 fi
10649
10650 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10651
10652 fi;
10653
10654 eval "$ac_cv_use_busyinfo"
10655 if test "$no_cache" != 1; then
10656 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10657 fi
10658
10659 if test "$wxUSE_BUSYINFO" = yes; then
10660 echo "$as_me:$LINENO: result: yes" >&5
10661 echo "${ECHO_T}yes" >&6
10662 else
10663 echo "$as_me:$LINENO: result: no" >&5
10664 echo "${ECHO_T}no" >&6
10665 fi
10666
10667
10668 enablestring=
10669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10670 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10671 no_cache=0
10672 # Check whether --enable-joystick or --disable-joystick was given.
10673 if test "${enable_joystick+set}" = set; then
10674 enableval="$enable_joystick"
10675
10676 if test "$enableval" = yes; then
10677 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10678 else
10679 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10680 fi
10681
10682 else
10683
10684 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10685 if test "x$LINE" != x ; then
10686 eval "DEFAULT_$LINE"
10687 else
10688 no_cache=1
10689 fi
10690
10691 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10692
10693 fi;
10694
10695 eval "$ac_cv_use_joystick"
10696 if test "$no_cache" != 1; then
10697 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10698 fi
10699
10700 if test "$wxUSE_JOYSTICK" = yes; then
10701 echo "$as_me:$LINENO: result: yes" >&5
10702 echo "${ECHO_T}yes" >&6
10703 else
10704 echo "$as_me:$LINENO: result: no" >&5
10705 echo "${ECHO_T}no" >&6
10706 fi
10707
10708
10709 enablestring=
10710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10711 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10712 no_cache=0
10713 # Check whether --enable-metafile or --disable-metafile was given.
10714 if test "${enable_metafile+set}" = set; then
10715 enableval="$enable_metafile"
10716
10717 if test "$enableval" = yes; then
10718 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10719 else
10720 ac_cv_use_metafile='wxUSE_METAFILE=no'
10721 fi
10722
10723 else
10724
10725 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10726 if test "x$LINE" != x ; then
10727 eval "DEFAULT_$LINE"
10728 else
10729 no_cache=1
10730 fi
10731
10732 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10733
10734 fi;
10735
10736 eval "$ac_cv_use_metafile"
10737 if test "$no_cache" != 1; then
10738 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10739 fi
10740
10741 if test "$wxUSE_METAFILE" = yes; then
10742 echo "$as_me:$LINENO: result: yes" >&5
10743 echo "${ECHO_T}yes" >&6
10744 else
10745 echo "$as_me:$LINENO: result: no" >&5
10746 echo "${ECHO_T}no" >&6
10747 fi
10748
10749
10750 enablestring=
10751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10752 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10753 no_cache=0
10754 # Check whether --enable-dragimage or --disable-dragimage was given.
10755 if test "${enable_dragimage+set}" = set; then
10756 enableval="$enable_dragimage"
10757
10758 if test "$enableval" = yes; then
10759 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
10760 else
10761 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
10762 fi
10763
10764 else
10765
10766 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
10767 if test "x$LINE" != x ; then
10768 eval "DEFAULT_$LINE"
10769 else
10770 no_cache=1
10771 fi
10772
10773 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
10774
10775 fi;
10776
10777 eval "$ac_cv_use_dragimage"
10778 if test "$no_cache" != 1; then
10779 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
10780 fi
10781
10782 if test "$wxUSE_DRAGIMAGE" = yes; then
10783 echo "$as_me:$LINENO: result: yes" >&5
10784 echo "${ECHO_T}yes" >&6
10785 else
10786 echo "$as_me:$LINENO: result: no" >&5
10787 echo "${ECHO_T}no" >&6
10788 fi
10789
10790
10791 enablestring=
10792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
10793 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
10794 no_cache=0
10795 # Check whether --enable-accessibility or --disable-accessibility was given.
10796 if test "${enable_accessibility+set}" = set; then
10797 enableval="$enable_accessibility"
10798
10799 if test "$enableval" = yes; then
10800 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
10801 else
10802 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
10803 fi
10804
10805 else
10806
10807 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
10808 if test "x$LINE" != x ; then
10809 eval "DEFAULT_$LINE"
10810 else
10811 no_cache=1
10812 fi
10813
10814 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
10815
10816 fi;
10817
10818 eval "$ac_cv_use_accessibility"
10819 if test "$no_cache" != 1; then
10820 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
10821 fi
10822
10823 if test "$wxUSE_ACCESSIBILITY" = yes; then
10824 echo "$as_me:$LINENO: result: yes" >&5
10825 echo "${ECHO_T}yes" >&6
10826 else
10827 echo "$as_me:$LINENO: result: no" >&5
10828 echo "${ECHO_T}no" >&6
10829 fi
10830
10831
10832 if test "$wxUSE_MSW" = "1"; then
10833
10834 enablestring=
10835 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
10836 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
10837 no_cache=0
10838 # Check whether --enable-dccache or --disable-dccache was given.
10839 if test "${enable_dccache+set}" = set; then
10840 enableval="$enable_dccache"
10841
10842 if test "$enableval" = yes; then
10843 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
10844 else
10845 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
10846 fi
10847
10848 else
10849
10850 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
10851 if test "x$LINE" != x ; then
10852 eval "DEFAULT_$LINE"
10853 else
10854 no_cache=1
10855 fi
10856
10857 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
10858
10859 fi;
10860
10861 eval "$ac_cv_use_dccache"
10862 if test "$no_cache" != 1; then
10863 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
10864 fi
10865
10866 if test "$wxUSE_DC_CACHEING" = yes; then
10867 echo "$as_me:$LINENO: result: yes" >&5
10868 echo "${ECHO_T}yes" >&6
10869 else
10870 echo "$as_me:$LINENO: result: no" >&5
10871 echo "${ECHO_T}no" >&6
10872 fi
10873
10874 fi
10875
10876
10877
10878 enablestring=
10879 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
10880 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
10881 no_cache=0
10882 # Check whether --enable-palette or --disable-palette was given.
10883 if test "${enable_palette+set}" = set; then
10884 enableval="$enable_palette"
10885
10886 if test "$enableval" = yes; then
10887 ac_cv_use_palette='wxUSE_PALETTE=yes'
10888 else
10889 ac_cv_use_palette='wxUSE_PALETTE=no'
10890 fi
10891
10892 else
10893
10894 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
10895 if test "x$LINE" != x ; then
10896 eval "DEFAULT_$LINE"
10897 else
10898 no_cache=1
10899 fi
10900
10901 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
10902
10903 fi;
10904
10905 eval "$ac_cv_use_palette"
10906 if test "$no_cache" != 1; then
10907 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
10908 fi
10909
10910 if test "$wxUSE_PALETTE" = yes; then
10911 echo "$as_me:$LINENO: result: yes" >&5
10912 echo "${ECHO_T}yes" >&6
10913 else
10914 echo "$as_me:$LINENO: result: no" >&5
10915 echo "${ECHO_T}no" >&6
10916 fi
10917
10918
10919 enablestring=
10920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
10921 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
10922 no_cache=0
10923 # Check whether --enable-image or --disable-image was given.
10924 if test "${enable_image+set}" = set; then
10925 enableval="$enable_image"
10926
10927 if test "$enableval" = yes; then
10928 ac_cv_use_image='wxUSE_IMAGE=yes'
10929 else
10930 ac_cv_use_image='wxUSE_IMAGE=no'
10931 fi
10932
10933 else
10934
10935 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
10936 if test "x$LINE" != x ; then
10937 eval "DEFAULT_$LINE"
10938 else
10939 no_cache=1
10940 fi
10941
10942 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
10943
10944 fi;
10945
10946 eval "$ac_cv_use_image"
10947 if test "$no_cache" != 1; then
10948 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
10949 fi
10950
10951 if test "$wxUSE_IMAGE" = yes; then
10952 echo "$as_me:$LINENO: result: yes" >&5
10953 echo "${ECHO_T}yes" >&6
10954 else
10955 echo "$as_me:$LINENO: result: no" >&5
10956 echo "${ECHO_T}no" >&6
10957 fi
10958
10959
10960 enablestring=
10961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
10962 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
10963 no_cache=0
10964 # Check whether --enable-gif or --disable-gif was given.
10965 if test "${enable_gif+set}" = set; then
10966 enableval="$enable_gif"
10967
10968 if test "$enableval" = yes; then
10969 ac_cv_use_gif='wxUSE_GIF=yes'
10970 else
10971 ac_cv_use_gif='wxUSE_GIF=no'
10972 fi
10973
10974 else
10975
10976 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
10977 if test "x$LINE" != x ; then
10978 eval "DEFAULT_$LINE"
10979 else
10980 no_cache=1
10981 fi
10982
10983 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
10984
10985 fi;
10986
10987 eval "$ac_cv_use_gif"
10988 if test "$no_cache" != 1; then
10989 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
10990 fi
10991
10992 if test "$wxUSE_GIF" = yes; then
10993 echo "$as_me:$LINENO: result: yes" >&5
10994 echo "${ECHO_T}yes" >&6
10995 else
10996 echo "$as_me:$LINENO: result: no" >&5
10997 echo "${ECHO_T}no" >&6
10998 fi
10999
11000
11001 enablestring=
11002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11003 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11004 no_cache=0
11005 # Check whether --enable-pcx or --disable-pcx was given.
11006 if test "${enable_pcx+set}" = set; then
11007 enableval="$enable_pcx"
11008
11009 if test "$enableval" = yes; then
11010 ac_cv_use_pcx='wxUSE_PCX=yes'
11011 else
11012 ac_cv_use_pcx='wxUSE_PCX=no'
11013 fi
11014
11015 else
11016
11017 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11018 if test "x$LINE" != x ; then
11019 eval "DEFAULT_$LINE"
11020 else
11021 no_cache=1
11022 fi
11023
11024 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11025
11026 fi;
11027
11028 eval "$ac_cv_use_pcx"
11029 if test "$no_cache" != 1; then
11030 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11031 fi
11032
11033 if test "$wxUSE_PCX" = yes; then
11034 echo "$as_me:$LINENO: result: yes" >&5
11035 echo "${ECHO_T}yes" >&6
11036 else
11037 echo "$as_me:$LINENO: result: no" >&5
11038 echo "${ECHO_T}no" >&6
11039 fi
11040
11041
11042 enablestring=
11043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11044 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11045 no_cache=0
11046 # Check whether --enable-iff or --disable-iff was given.
11047 if test "${enable_iff+set}" = set; then
11048 enableval="$enable_iff"
11049
11050 if test "$enableval" = yes; then
11051 ac_cv_use_iff='wxUSE_IFF=yes'
11052 else
11053 ac_cv_use_iff='wxUSE_IFF=no'
11054 fi
11055
11056 else
11057
11058 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11059 if test "x$LINE" != x ; then
11060 eval "DEFAULT_$LINE"
11061 else
11062 no_cache=1
11063 fi
11064
11065 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11066
11067 fi;
11068
11069 eval "$ac_cv_use_iff"
11070 if test "$no_cache" != 1; then
11071 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11072 fi
11073
11074 if test "$wxUSE_IFF" = yes; then
11075 echo "$as_me:$LINENO: result: yes" >&5
11076 echo "${ECHO_T}yes" >&6
11077 else
11078 echo "$as_me:$LINENO: result: no" >&5
11079 echo "${ECHO_T}no" >&6
11080 fi
11081
11082
11083 enablestring=
11084 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11085 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11086 no_cache=0
11087 # Check whether --enable-pnm or --disable-pnm was given.
11088 if test "${enable_pnm+set}" = set; then
11089 enableval="$enable_pnm"
11090
11091 if test "$enableval" = yes; then
11092 ac_cv_use_pnm='wxUSE_PNM=yes'
11093 else
11094 ac_cv_use_pnm='wxUSE_PNM=no'
11095 fi
11096
11097 else
11098
11099 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11100 if test "x$LINE" != x ; then
11101 eval "DEFAULT_$LINE"
11102 else
11103 no_cache=1
11104 fi
11105
11106 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11107
11108 fi;
11109
11110 eval "$ac_cv_use_pnm"
11111 if test "$no_cache" != 1; then
11112 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11113 fi
11114
11115 if test "$wxUSE_PNM" = yes; then
11116 echo "$as_me:$LINENO: result: yes" >&5
11117 echo "${ECHO_T}yes" >&6
11118 else
11119 echo "$as_me:$LINENO: result: no" >&5
11120 echo "${ECHO_T}no" >&6
11121 fi
11122
11123
11124 enablestring=
11125 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11126 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11127 no_cache=0
11128 # Check whether --enable-xpm or --disable-xpm was given.
11129 if test "${enable_xpm+set}" = set; then
11130 enableval="$enable_xpm"
11131
11132 if test "$enableval" = yes; then
11133 ac_cv_use_xpm='wxUSE_XPM=yes'
11134 else
11135 ac_cv_use_xpm='wxUSE_XPM=no'
11136 fi
11137
11138 else
11139
11140 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11141 if test "x$LINE" != x ; then
11142 eval "DEFAULT_$LINE"
11143 else
11144 no_cache=1
11145 fi
11146
11147 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11148
11149 fi;
11150
11151 eval "$ac_cv_use_xpm"
11152 if test "$no_cache" != 1; then
11153 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11154 fi
11155
11156 if test "$wxUSE_XPM" = yes; then
11157 echo "$as_me:$LINENO: result: yes" >&5
11158 echo "${ECHO_T}yes" >&6
11159 else
11160 echo "$as_me:$LINENO: result: no" >&5
11161 echo "${ECHO_T}no" >&6
11162 fi
11163
11164
11165 enablestring=
11166 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11167 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11168 no_cache=0
11169 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11170 if test "${enable_ico_cur+set}" = set; then
11171 enableval="$enable_ico_cur"
11172
11173 if test "$enableval" = yes; then
11174 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11175 else
11176 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11177 fi
11178
11179 else
11180
11181 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11182 if test "x$LINE" != x ; then
11183 eval "DEFAULT_$LINE"
11184 else
11185 no_cache=1
11186 fi
11187
11188 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11189
11190 fi;
11191
11192 eval "$ac_cv_use_ico_cur"
11193 if test "$no_cache" != 1; then
11194 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11195 fi
11196
11197 if test "$wxUSE_ICO_CUR" = yes; then
11198 echo "$as_me:$LINENO: result: yes" >&5
11199 echo "${ECHO_T}yes" >&6
11200 else
11201 echo "$as_me:$LINENO: result: no" >&5
11202 echo "${ECHO_T}no" >&6
11203 fi
11204
11205
11206 fi
11207
11208
11209
11210 # Check whether --with-flavour or --without-flavour was given.
11211 if test "${with_flavour+set}" = set; then
11212 withval="$with_flavour"
11213 WX_FLAVOUR="$withval"
11214 fi;
11215
11216
11217
11218 enablestring=
11219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11220 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11221 no_cache=0
11222 # Check whether --enable-official_build or --disable-official_build was given.
11223 if test "${enable_official_build+set}" = set; then
11224 enableval="$enable_official_build"
11225
11226 if test "$enableval" = yes; then
11227 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11228 else
11229 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11230 fi
11231
11232 else
11233
11234 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11235 if test "x$LINE" != x ; then
11236 eval "DEFAULT_$LINE"
11237 else
11238 no_cache=1
11239 fi
11240
11241 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11242
11243 fi;
11244
11245 eval "$ac_cv_use_official_build"
11246 if test "$no_cache" != 1; then
11247 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11248 fi
11249
11250 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11251 echo "$as_me:$LINENO: result: yes" >&5
11252 echo "${ECHO_T}yes" >&6
11253 else
11254 echo "$as_me:$LINENO: result: no" >&5
11255 echo "${ECHO_T}no" >&6
11256 fi
11257
11258 # Check whether --enable-vendor or --disable-vendor was given.
11259 if test "${enable_vendor+set}" = set; then
11260 enableval="$enable_vendor"
11261 VENDOR="$enableval"
11262 fi;
11263 if test "x$VENDOR" = "x"; then
11264 VENDOR="custom"
11265 fi
11266
11267
11268
11269
11270 echo "saving argument cache $wx_arg_cache_file"
11271 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11272
11273
11274
11275 echo "$as_me:$LINENO: checking for toolkit" >&5
11276 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11277
11278 # In Wine, we need to default to MSW, not GTK or MOTIF
11279 if test "$wxUSE_WINE" = "yes"; then
11280 DEFAULT_DEFAULT_wxUSE_GTK=0
11281 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11282 DEFAULT_DEFAULT_wxUSE_MSW=1
11283 wxUSE_SHARED=no
11284 fi
11285
11286
11287 if test "$wxUSE_GUI" = "yes"; then
11288
11289 if test "$USE_BEOS" = 1; then
11290 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11291 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11292 { (exit 1); exit 1; }; }
11293 fi
11294
11295 if test "$TOOLKIT_GIVEN" = 1; then
11296 for toolkit in `echo $ALL_TOOLKITS`; do
11297 var=wxUSE_$toolkit
11298 eval "value=\$${var}"
11299 if test "x$value" = "xno"; then
11300 eval "$var=0"
11301 elif test "x$value" != "x"; then
11302 eval "$var=1"
11303 fi
11304
11305 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11306 eval "wx${toolkit}_VERSION=$value"
11307 fi
11308 done
11309 else
11310 for toolkit in `echo $ALL_TOOLKITS`; do
11311 if test "$has_toolkit_in_cache" != 1; then
11312 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11313 else
11314 var=DEFAULT_wxUSE_$toolkit
11315
11316 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11317 if test "x$version" != "x"; then
11318 eval "wx${toolkit}_VERSION=$version"
11319 fi
11320 fi
11321 eval "wxUSE_$toolkit=\$${var}"
11322 done
11323 fi
11324
11325 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11326 + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} \
11327 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11328
11329 case "${host}" in
11330 *-pc-os2_emx | *-pc-os2-emx )
11331 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11332 esac
11333
11334 case "$NUM_TOOLKITS" in
11335 1)
11336 ;;
11337 0)
11338 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11339 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11340 { (exit 1); exit 1; }; }
11341 ;;
11342 *)
11343 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11344 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11345 { (exit 1); exit 1; }; }
11346 esac
11347
11348 # to be removed when --disable-gtk2 isn't needed
11349 if test "x$wxUSE_GTK2" = "xyes"; then
11350 wxGTK_VERSION=2
11351 elif test "x$wxUSE_GTK2" = "xno"; then
11352 wxGTK_VERSION=1
11353 fi
11354
11355 for toolkit in `echo $ALL_TOOLKITS`; do
11356 var=wxUSE_$toolkit
11357 eval "value=\$${var}"
11358 if test "x$value" != x; then
11359 cache_var=CACHE_$toolkit
11360 eval "cache=\$${cache_var}"
11361 if test "$cache" = 1; then
11362 echo "$var=$value" >> ${wx_arg_cache_file}
11363 eval "version=\$wx${toolkit}_VERSION"
11364 if test "x$version" != "x"; then
11365 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11366 fi
11367 fi
11368 if test "$value" = 1; then
11369 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11370 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11371 echo "${ECHO_T}$toolkit_echo" >&6
11372 fi
11373 fi
11374 done
11375 else
11376 if test "x$host_alias" != "x"; then
11377 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11378 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11379 else
11380 echo "$as_me:$LINENO: result: base only" >&5
11381 echo "${ECHO_T}base only" >&6
11382 fi
11383 fi
11384
11385 wants_win32=0
11386 doesnt_want_win32=0
11387 case "${host}" in
11388 *-*-cygwin*)
11389 if test "$wxUSE_MSW" = 1 ; then
11390 wants_win32=1
11391 BAKEFILE_FORCE_PLATFORM=win32
11392 else
11393 doesnt_want_win32=1
11394 fi
11395 ;;
11396 *-*-mingw*)
11397 wants_win32=1
11398 ;;
11399 esac
11400
11401 if test "$wxUSE_WINE" = "yes"; then
11402 wants_win32=1
11403 CC=winegcc
11404 CXX=wineg++
11405 LDFLAGS_GUI="-mwindows"
11406 fi
11407
11408 if test "$wants_win32" = 1 ; then
11409 USE_UNIX=0
11410 USE_WIN32=1
11411 cat >>confdefs.h <<\_ACEOF
11412 #define __WIN32__ 1
11413 _ACEOF
11414
11415 cat >>confdefs.h <<\_ACEOF
11416 #define __WIN95__ 1
11417 _ACEOF
11418
11419 cat >>confdefs.h <<\_ACEOF
11420 #define __WINDOWS__ 1
11421 _ACEOF
11422
11423 cat >>confdefs.h <<\_ACEOF
11424 #define __GNUWIN32__ 1
11425 _ACEOF
11426
11427 cat >>confdefs.h <<\_ACEOF
11428 #define STRICT 1
11429 _ACEOF
11430
11431 cat >>confdefs.h <<\_ACEOF
11432 #define WINVER 0x0400
11433 _ACEOF
11434
11435 fi
11436 if test "$doesnt_want_win32" = 1 ; then
11437 USE_UNIX=1
11438 USE_WIN32=0
11439 fi
11440
11441 if test "$USE_UNIX" = 1 ; then
11442 wxUSE_UNIX=yes
11443 cat >>confdefs.h <<\_ACEOF
11444 #define __UNIX__ 1
11445 _ACEOF
11446
11447 fi
11448
11449
11450 cat >confcache <<\_ACEOF
11451 # This file is a shell script that caches the results of configure
11452 # tests run on this system so they can be shared between configure
11453 # scripts and configure runs, see configure's option --config-cache.
11454 # It is not useful on other systems. If it contains results you don't
11455 # want to keep, you may remove or edit it.
11456 #
11457 # config.status only pays attention to the cache file if you give it
11458 # the --recheck option to rerun configure.
11459 #
11460 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11461 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11462 # following values.
11463
11464 _ACEOF
11465
11466 # The following way of writing the cache mishandles newlines in values,
11467 # but we know of no workaround that is simple, portable, and efficient.
11468 # So, don't put newlines in cache variables' values.
11469 # Ultrix sh set writes to stderr and can't be redirected directly,
11470 # and sets the high bit in the cache file unless we assign to the vars.
11471 {
11472 (set) 2>&1 |
11473 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11474 *ac_space=\ *)
11475 # `set' does not quote correctly, so add quotes (double-quote
11476 # substitution turns \\\\ into \\, and sed turns \\ into \).
11477 sed -n \
11478 "s/'/'\\\\''/g;
11479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11480 ;;
11481 *)
11482 # `set' quotes correctly as required by POSIX, so do not add quotes.
11483 sed -n \
11484 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11485 ;;
11486 esac;
11487 } |
11488 sed '
11489 t clear
11490 : clear
11491 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11492 t end
11493 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11494 : end' >>confcache
11495 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11496 if test -w $cache_file; then
11497 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11498 cat confcache >$cache_file
11499 else
11500 echo "not updating unwritable cache $cache_file"
11501 fi
11502 fi
11503 rm -f confcache
11504
11505 CFLAGS=${CFLAGS:=}
11506
11507
11508
11509 ac_ext=c
11510 ac_cpp='$CPP $CPPFLAGS'
11511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11514 if test -n "$ac_tool_prefix"; then
11515 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11516 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11517 echo "$as_me:$LINENO: checking for $ac_word" >&5
11518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11519 if test "${ac_cv_prog_CC+set}" = set; then
11520 echo $ECHO_N "(cached) $ECHO_C" >&6
11521 else
11522 if test -n "$CC"; then
11523 ac_cv_prog_CC="$CC" # Let the user override the test.
11524 else
11525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11526 for as_dir in $PATH
11527 do
11528 IFS=$as_save_IFS
11529 test -z "$as_dir" && as_dir=.
11530 for ac_exec_ext in '' $ac_executable_extensions; do
11531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11532 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11534 break 2
11535 fi
11536 done
11537 done
11538
11539 fi
11540 fi
11541 CC=$ac_cv_prog_CC
11542 if test -n "$CC"; then
11543 echo "$as_me:$LINENO: result: $CC" >&5
11544 echo "${ECHO_T}$CC" >&6
11545 else
11546 echo "$as_me:$LINENO: result: no" >&5
11547 echo "${ECHO_T}no" >&6
11548 fi
11549
11550 fi
11551 if test -z "$ac_cv_prog_CC"; then
11552 ac_ct_CC=$CC
11553 # Extract the first word of "gcc", so it can be a program name with args.
11554 set dummy gcc; ac_word=$2
11555 echo "$as_me:$LINENO: checking for $ac_word" >&5
11556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11557 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11558 echo $ECHO_N "(cached) $ECHO_C" >&6
11559 else
11560 if test -n "$ac_ct_CC"; then
11561 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11562 else
11563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11564 for as_dir in $PATH
11565 do
11566 IFS=$as_save_IFS
11567 test -z "$as_dir" && as_dir=.
11568 for ac_exec_ext in '' $ac_executable_extensions; do
11569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11570 ac_cv_prog_ac_ct_CC="gcc"
11571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11572 break 2
11573 fi
11574 done
11575 done
11576
11577 fi
11578 fi
11579 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11580 if test -n "$ac_ct_CC"; then
11581 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11582 echo "${ECHO_T}$ac_ct_CC" >&6
11583 else
11584 echo "$as_me:$LINENO: result: no" >&5
11585 echo "${ECHO_T}no" >&6
11586 fi
11587
11588 CC=$ac_ct_CC
11589 else
11590 CC="$ac_cv_prog_CC"
11591 fi
11592
11593 if test -z "$CC"; then
11594 if test -n "$ac_tool_prefix"; then
11595 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11596 set dummy ${ac_tool_prefix}cc; ac_word=$2
11597 echo "$as_me:$LINENO: checking for $ac_word" >&5
11598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11599 if test "${ac_cv_prog_CC+set}" = set; then
11600 echo $ECHO_N "(cached) $ECHO_C" >&6
11601 else
11602 if test -n "$CC"; then
11603 ac_cv_prog_CC="$CC" # Let the user override the test.
11604 else
11605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11606 for as_dir in $PATH
11607 do
11608 IFS=$as_save_IFS
11609 test -z "$as_dir" && as_dir=.
11610 for ac_exec_ext in '' $ac_executable_extensions; do
11611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11612 ac_cv_prog_CC="${ac_tool_prefix}cc"
11613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11614 break 2
11615 fi
11616 done
11617 done
11618
11619 fi
11620 fi
11621 CC=$ac_cv_prog_CC
11622 if test -n "$CC"; then
11623 echo "$as_me:$LINENO: result: $CC" >&5
11624 echo "${ECHO_T}$CC" >&6
11625 else
11626 echo "$as_me:$LINENO: result: no" >&5
11627 echo "${ECHO_T}no" >&6
11628 fi
11629
11630 fi
11631 if test -z "$ac_cv_prog_CC"; then
11632 ac_ct_CC=$CC
11633 # Extract the first word of "cc", so it can be a program name with args.
11634 set dummy cc; ac_word=$2
11635 echo "$as_me:$LINENO: checking for $ac_word" >&5
11636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11637 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11638 echo $ECHO_N "(cached) $ECHO_C" >&6
11639 else
11640 if test -n "$ac_ct_CC"; then
11641 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11642 else
11643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11644 for as_dir in $PATH
11645 do
11646 IFS=$as_save_IFS
11647 test -z "$as_dir" && as_dir=.
11648 for ac_exec_ext in '' $ac_executable_extensions; do
11649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11650 ac_cv_prog_ac_ct_CC="cc"
11651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11652 break 2
11653 fi
11654 done
11655 done
11656
11657 fi
11658 fi
11659 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11660 if test -n "$ac_ct_CC"; then
11661 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11662 echo "${ECHO_T}$ac_ct_CC" >&6
11663 else
11664 echo "$as_me:$LINENO: result: no" >&5
11665 echo "${ECHO_T}no" >&6
11666 fi
11667
11668 CC=$ac_ct_CC
11669 else
11670 CC="$ac_cv_prog_CC"
11671 fi
11672
11673 fi
11674 if test -z "$CC"; then
11675 # Extract the first word of "cc", so it can be a program name with args.
11676 set dummy cc; ac_word=$2
11677 echo "$as_me:$LINENO: checking for $ac_word" >&5
11678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11679 if test "${ac_cv_prog_CC+set}" = set; then
11680 echo $ECHO_N "(cached) $ECHO_C" >&6
11681 else
11682 if test -n "$CC"; then
11683 ac_cv_prog_CC="$CC" # Let the user override the test.
11684 else
11685 ac_prog_rejected=no
11686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11687 for as_dir in $PATH
11688 do
11689 IFS=$as_save_IFS
11690 test -z "$as_dir" && as_dir=.
11691 for ac_exec_ext in '' $ac_executable_extensions; do
11692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11693 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11694 ac_prog_rejected=yes
11695 continue
11696 fi
11697 ac_cv_prog_CC="cc"
11698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11699 break 2
11700 fi
11701 done
11702 done
11703
11704 if test $ac_prog_rejected = yes; then
11705 # We found a bogon in the path, so make sure we never use it.
11706 set dummy $ac_cv_prog_CC
11707 shift
11708 if test $# != 0; then
11709 # We chose a different compiler from the bogus one.
11710 # However, it has the same basename, so the bogon will be chosen
11711 # first if we set CC to just the basename; use the full file name.
11712 shift
11713 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11714 fi
11715 fi
11716 fi
11717 fi
11718 CC=$ac_cv_prog_CC
11719 if test -n "$CC"; then
11720 echo "$as_me:$LINENO: result: $CC" >&5
11721 echo "${ECHO_T}$CC" >&6
11722 else
11723 echo "$as_me:$LINENO: result: no" >&5
11724 echo "${ECHO_T}no" >&6
11725 fi
11726
11727 fi
11728 if test -z "$CC"; then
11729 if test -n "$ac_tool_prefix"; then
11730 for ac_prog in cl
11731 do
11732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11734 echo "$as_me:$LINENO: checking for $ac_word" >&5
11735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11736 if test "${ac_cv_prog_CC+set}" = set; then
11737 echo $ECHO_N "(cached) $ECHO_C" >&6
11738 else
11739 if test -n "$CC"; then
11740 ac_cv_prog_CC="$CC" # Let the user override the test.
11741 else
11742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11743 for as_dir in $PATH
11744 do
11745 IFS=$as_save_IFS
11746 test -z "$as_dir" && as_dir=.
11747 for ac_exec_ext in '' $ac_executable_extensions; do
11748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11749 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11751 break 2
11752 fi
11753 done
11754 done
11755
11756 fi
11757 fi
11758 CC=$ac_cv_prog_CC
11759 if test -n "$CC"; then
11760 echo "$as_me:$LINENO: result: $CC" >&5
11761 echo "${ECHO_T}$CC" >&6
11762 else
11763 echo "$as_me:$LINENO: result: no" >&5
11764 echo "${ECHO_T}no" >&6
11765 fi
11766
11767 test -n "$CC" && break
11768 done
11769 fi
11770 if test -z "$CC"; then
11771 ac_ct_CC=$CC
11772 for ac_prog in cl
11773 do
11774 # Extract the first word of "$ac_prog", so it can be a program name with args.
11775 set dummy $ac_prog; ac_word=$2
11776 echo "$as_me:$LINENO: checking for $ac_word" >&5
11777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11778 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11779 echo $ECHO_N "(cached) $ECHO_C" >&6
11780 else
11781 if test -n "$ac_ct_CC"; then
11782 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11783 else
11784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11785 for as_dir in $PATH
11786 do
11787 IFS=$as_save_IFS
11788 test -z "$as_dir" && as_dir=.
11789 for ac_exec_ext in '' $ac_executable_extensions; do
11790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11791 ac_cv_prog_ac_ct_CC="$ac_prog"
11792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11793 break 2
11794 fi
11795 done
11796 done
11797
11798 fi
11799 fi
11800 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11801 if test -n "$ac_ct_CC"; then
11802 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11803 echo "${ECHO_T}$ac_ct_CC" >&6
11804 else
11805 echo "$as_me:$LINENO: result: no" >&5
11806 echo "${ECHO_T}no" >&6
11807 fi
11808
11809 test -n "$ac_ct_CC" && break
11810 done
11811
11812 CC=$ac_ct_CC
11813 fi
11814
11815 fi
11816
11817
11818 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
11819 See \`config.log' for more details." >&5
11820 echo "$as_me: error: no acceptable C compiler found in \$PATH
11821 See \`config.log' for more details." >&2;}
11822 { (exit 1); exit 1; }; }
11823
11824 # Provide some information about the compiler.
11825 echo "$as_me:$LINENO:" \
11826 "checking for C compiler version" >&5
11827 ac_compiler=`set X $ac_compile; echo $2`
11828 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11829 (eval $ac_compiler --version </dev/null >&5) 2>&5
11830 ac_status=$?
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); }
11833 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11834 (eval $ac_compiler -v </dev/null >&5) 2>&5
11835 ac_status=$?
11836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837 (exit $ac_status); }
11838 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11839 (eval $ac_compiler -V </dev/null >&5) 2>&5
11840 ac_status=$?
11841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11842 (exit $ac_status); }
11843
11844 cat >conftest.$ac_ext <<_ACEOF
11845 /* confdefs.h. */
11846 _ACEOF
11847 cat confdefs.h >>conftest.$ac_ext
11848 cat >>conftest.$ac_ext <<_ACEOF
11849 /* end confdefs.h. */
11850
11851 int
11852 main ()
11853 {
11854
11855 ;
11856 return 0;
11857 }
11858 _ACEOF
11859 ac_clean_files_save=$ac_clean_files
11860 ac_clean_files="$ac_clean_files a.out a.exe b.out"
11861 # Try to create an executable without -o first, disregard a.out.
11862 # It will help us diagnose broken compilers, and finding out an intuition
11863 # of exeext.
11864 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
11865 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
11866 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
11867 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
11868 (eval $ac_link_default) 2>&5
11869 ac_status=$?
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); }; then
11872 # Find the output, starting from the most likely. This scheme is
11873 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
11874 # resort.
11875
11876 # Be careful to initialize this variable, since it used to be cached.
11877 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
11878 ac_cv_exeext=
11879 # b.out is created by i960 compilers.
11880 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
11881 do
11882 test -f "$ac_file" || continue
11883 case $ac_file in
11884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
11885 ;;
11886 conftest.$ac_ext )
11887 # This is the source file.
11888 ;;
11889 [ab].out )
11890 # We found the default executable, but exeext='' is most
11891 # certainly right.
11892 break;;
11893 *.* )
11894 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11895 # FIXME: I believe we export ac_cv_exeext for Libtool,
11896 # but it would be cool to find out if it's true. Does anybody
11897 # maintain Libtool? --akim.
11898 export ac_cv_exeext
11899 break;;
11900 * )
11901 break;;
11902 esac
11903 done
11904 else
11905 echo "$as_me: failed program was:" >&5
11906 sed 's/^/| /' conftest.$ac_ext >&5
11907
11908 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
11909 See \`config.log' for more details." >&5
11910 echo "$as_me: error: C compiler cannot create executables
11911 See \`config.log' for more details." >&2;}
11912 { (exit 77); exit 77; }; }
11913 fi
11914
11915 ac_exeext=$ac_cv_exeext
11916 echo "$as_me:$LINENO: result: $ac_file" >&5
11917 echo "${ECHO_T}$ac_file" >&6
11918
11919 # Check the compiler produces executables we can run. If not, either
11920 # the compiler is broken, or we cross compile.
11921 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
11922 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
11923 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
11924 # If not cross compiling, check that we can run a simple program.
11925 if test "$cross_compiling" != yes; then
11926 if { ac_try='./$ac_file'
11927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11928 (eval $ac_try) 2>&5
11929 ac_status=$?
11930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11931 (exit $ac_status); }; }; then
11932 cross_compiling=no
11933 else
11934 if test "$cross_compiling" = maybe; then
11935 cross_compiling=yes
11936 else
11937 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
11938 If you meant to cross compile, use \`--host'.
11939 See \`config.log' for more details." >&5
11940 echo "$as_me: error: cannot run C compiled programs.
11941 If you meant to cross compile, use \`--host'.
11942 See \`config.log' for more details." >&2;}
11943 { (exit 1); exit 1; }; }
11944 fi
11945 fi
11946 fi
11947 echo "$as_me:$LINENO: result: yes" >&5
11948 echo "${ECHO_T}yes" >&6
11949
11950 rm -f a.out a.exe conftest$ac_cv_exeext b.out
11951 ac_clean_files=$ac_clean_files_save
11952 # Check the compiler produces executables we can run. If not, either
11953 # the compiler is broken, or we cross compile.
11954 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
11955 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
11956 echo "$as_me:$LINENO: result: $cross_compiling" >&5
11957 echo "${ECHO_T}$cross_compiling" >&6
11958
11959 echo "$as_me:$LINENO: checking for suffix of executables" >&5
11960 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
11961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11962 (eval $ac_link) 2>&5
11963 ac_status=$?
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); }; then
11966 # If both `conftest.exe' and `conftest' are `present' (well, observable)
11967 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
11968 # work properly (i.e., refer to `conftest.exe'), while it won't with
11969 # `rm'.
11970 for ac_file in conftest.exe conftest conftest.*; do
11971 test -f "$ac_file" || continue
11972 case $ac_file in
11973 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
11974 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
11975 export ac_cv_exeext
11976 break;;
11977 * ) break;;
11978 esac
11979 done
11980 else
11981 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
11982 See \`config.log' for more details." >&5
11983 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
11984 See \`config.log' for more details." >&2;}
11985 { (exit 1); exit 1; }; }
11986 fi
11987
11988 rm -f conftest$ac_cv_exeext
11989 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
11990 echo "${ECHO_T}$ac_cv_exeext" >&6
11991
11992 rm -f conftest.$ac_ext
11993 EXEEXT=$ac_cv_exeext
11994 ac_exeext=$EXEEXT
11995 echo "$as_me:$LINENO: checking for suffix of object files" >&5
11996 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
11997 if test "${ac_cv_objext+set}" = set; then
11998 echo $ECHO_N "(cached) $ECHO_C" >&6
11999 else
12000 cat >conftest.$ac_ext <<_ACEOF
12001 /* confdefs.h. */
12002 _ACEOF
12003 cat confdefs.h >>conftest.$ac_ext
12004 cat >>conftest.$ac_ext <<_ACEOF
12005 /* end confdefs.h. */
12006
12007 int
12008 main ()
12009 {
12010
12011 ;
12012 return 0;
12013 }
12014 _ACEOF
12015 rm -f conftest.o conftest.obj
12016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12017 (eval $ac_compile) 2>&5
12018 ac_status=$?
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); }; then
12021 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12022 case $ac_file in
12023 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12024 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12025 break;;
12026 esac
12027 done
12028 else
12029 echo "$as_me: failed program was:" >&5
12030 sed 's/^/| /' conftest.$ac_ext >&5
12031
12032 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12033 See \`config.log' for more details." >&5
12034 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12035 See \`config.log' for more details." >&2;}
12036 { (exit 1); exit 1; }; }
12037 fi
12038
12039 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12040 fi
12041 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12042 echo "${ECHO_T}$ac_cv_objext" >&6
12043 OBJEXT=$ac_cv_objext
12044 ac_objext=$OBJEXT
12045 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12046 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12047 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12048 echo $ECHO_N "(cached) $ECHO_C" >&6
12049 else
12050 cat >conftest.$ac_ext <<_ACEOF
12051 /* confdefs.h. */
12052 _ACEOF
12053 cat confdefs.h >>conftest.$ac_ext
12054 cat >>conftest.$ac_ext <<_ACEOF
12055 /* end confdefs.h. */
12056
12057 int
12058 main ()
12059 {
12060 #ifndef __GNUC__
12061 choke me
12062 #endif
12063
12064 ;
12065 return 0;
12066 }
12067 _ACEOF
12068 rm -f conftest.$ac_objext
12069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12070 (eval $ac_compile) 2>conftest.er1
12071 ac_status=$?
12072 grep -v '^ *+' conftest.er1 >conftest.err
12073 rm -f conftest.er1
12074 cat conftest.err >&5
12075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076 (exit $ac_status); } &&
12077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12079 (eval $ac_try) 2>&5
12080 ac_status=$?
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); }; } &&
12083 { ac_try='test -s conftest.$ac_objext'
12084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12085 (eval $ac_try) 2>&5
12086 ac_status=$?
12087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12088 (exit $ac_status); }; }; then
12089 ac_compiler_gnu=yes
12090 else
12091 echo "$as_me: failed program was:" >&5
12092 sed 's/^/| /' conftest.$ac_ext >&5
12093
12094 ac_compiler_gnu=no
12095 fi
12096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12097 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12098
12099 fi
12100 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12101 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12102 GCC=`test $ac_compiler_gnu = yes && echo yes`
12103 ac_test_CFLAGS=${CFLAGS+set}
12104 ac_save_CFLAGS=$CFLAGS
12105 CFLAGS="-g"
12106 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12107 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12108 if test "${ac_cv_prog_cc_g+set}" = set; then
12109 echo $ECHO_N "(cached) $ECHO_C" >&6
12110 else
12111 cat >conftest.$ac_ext <<_ACEOF
12112 /* confdefs.h. */
12113 _ACEOF
12114 cat confdefs.h >>conftest.$ac_ext
12115 cat >>conftest.$ac_ext <<_ACEOF
12116 /* end confdefs.h. */
12117
12118 int
12119 main ()
12120 {
12121
12122 ;
12123 return 0;
12124 }
12125 _ACEOF
12126 rm -f conftest.$ac_objext
12127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12128 (eval $ac_compile) 2>conftest.er1
12129 ac_status=$?
12130 grep -v '^ *+' conftest.er1 >conftest.err
12131 rm -f conftest.er1
12132 cat conftest.err >&5
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); } &&
12135 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12137 (eval $ac_try) 2>&5
12138 ac_status=$?
12139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); }; } &&
12141 { ac_try='test -s conftest.$ac_objext'
12142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12143 (eval $ac_try) 2>&5
12144 ac_status=$?
12145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12146 (exit $ac_status); }; }; then
12147 ac_cv_prog_cc_g=yes
12148 else
12149 echo "$as_me: failed program was:" >&5
12150 sed 's/^/| /' conftest.$ac_ext >&5
12151
12152 ac_cv_prog_cc_g=no
12153 fi
12154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12155 fi
12156 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12157 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12158 if test "$ac_test_CFLAGS" = set; then
12159 CFLAGS=$ac_save_CFLAGS
12160 elif test $ac_cv_prog_cc_g = yes; then
12161 if test "$GCC" = yes; then
12162 CFLAGS="-g -O2"
12163 else
12164 CFLAGS="-g"
12165 fi
12166 else
12167 if test "$GCC" = yes; then
12168 CFLAGS="-O2"
12169 else
12170 CFLAGS=
12171 fi
12172 fi
12173 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12174 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12175 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12176 echo $ECHO_N "(cached) $ECHO_C" >&6
12177 else
12178 ac_cv_prog_cc_stdc=no
12179 ac_save_CC=$CC
12180 cat >conftest.$ac_ext <<_ACEOF
12181 /* confdefs.h. */
12182 _ACEOF
12183 cat confdefs.h >>conftest.$ac_ext
12184 cat >>conftest.$ac_ext <<_ACEOF
12185 /* end confdefs.h. */
12186 #include <stdarg.h>
12187 #include <stdio.h>
12188 #include <sys/types.h>
12189 #include <sys/stat.h>
12190 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12191 struct buf { int x; };
12192 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12193 static char *e (p, i)
12194 char **p;
12195 int i;
12196 {
12197 return p[i];
12198 }
12199 static char *f (char * (*g) (char **, int), char **p, ...)
12200 {
12201 char *s;
12202 va_list v;
12203 va_start (v,p);
12204 s = g (p, va_arg (v,int));
12205 va_end (v);
12206 return s;
12207 }
12208
12209 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12210 function prototypes and stuff, but not '\xHH' hex character constants.
12211 These don't provoke an error unfortunately, instead are silently treated
12212 as 'x'. The following induces an error, until -std1 is added to get
12213 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12214 array size at least. It's necessary to write '\x00'==0 to get something
12215 that's true only with -std1. */
12216 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12217
12218 int test (int i, double x);
12219 struct s1 {int (*f) (int a);};
12220 struct s2 {int (*f) (double a);};
12221 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12222 int argc;
12223 char **argv;
12224 int
12225 main ()
12226 {
12227 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12228 ;
12229 return 0;
12230 }
12231 _ACEOF
12232 # Don't try gcc -ansi; that turns off useful extensions and
12233 # breaks some systems' header files.
12234 # AIX -qlanglvl=ansi
12235 # Ultrix and OSF/1 -std1
12236 # HP-UX 10.20 and later -Ae
12237 # HP-UX older versions -Aa -D_HPUX_SOURCE
12238 # SVR4 -Xc -D__EXTENSIONS__
12239 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12240 do
12241 CC="$ac_save_CC $ac_arg"
12242 rm -f conftest.$ac_objext
12243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12244 (eval $ac_compile) 2>conftest.er1
12245 ac_status=$?
12246 grep -v '^ *+' conftest.er1 >conftest.err
12247 rm -f conftest.er1
12248 cat conftest.err >&5
12249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250 (exit $ac_status); } &&
12251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12253 (eval $ac_try) 2>&5
12254 ac_status=$?
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); }; } &&
12257 { ac_try='test -s conftest.$ac_objext'
12258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259 (eval $ac_try) 2>&5
12260 ac_status=$?
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; }; then
12263 ac_cv_prog_cc_stdc=$ac_arg
12264 break
12265 else
12266 echo "$as_me: failed program was:" >&5
12267 sed 's/^/| /' conftest.$ac_ext >&5
12268
12269 fi
12270 rm -f conftest.err conftest.$ac_objext
12271 done
12272 rm -f conftest.$ac_ext conftest.$ac_objext
12273 CC=$ac_save_CC
12274
12275 fi
12276
12277 case "x$ac_cv_prog_cc_stdc" in
12278 x|xno)
12279 echo "$as_me:$LINENO: result: none needed" >&5
12280 echo "${ECHO_T}none needed" >&6 ;;
12281 *)
12282 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12283 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12284 CC="$CC $ac_cv_prog_cc_stdc" ;;
12285 esac
12286
12287 # Some people use a C++ compiler to compile C. Since we use `exit',
12288 # in C++ we need to declare it. In case someone uses the same compiler
12289 # for both compiling C and C++ we need to have the C++ compiler decide
12290 # the declaration of exit, since it's the most demanding environment.
12291 cat >conftest.$ac_ext <<_ACEOF
12292 #ifndef __cplusplus
12293 choke me
12294 #endif
12295 _ACEOF
12296 rm -f conftest.$ac_objext
12297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12298 (eval $ac_compile) 2>conftest.er1
12299 ac_status=$?
12300 grep -v '^ *+' conftest.er1 >conftest.err
12301 rm -f conftest.er1
12302 cat conftest.err >&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); } &&
12305 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12307 (eval $ac_try) 2>&5
12308 ac_status=$?
12309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); }; } &&
12311 { ac_try='test -s conftest.$ac_objext'
12312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12313 (eval $ac_try) 2>&5
12314 ac_status=$?
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); }; }; then
12317 for ac_declaration in \
12318 '' \
12319 'extern "C" void std::exit (int) throw (); using std::exit;' \
12320 'extern "C" void std::exit (int); using std::exit;' \
12321 'extern "C" void exit (int) throw ();' \
12322 'extern "C" void exit (int);' \
12323 'void exit (int);'
12324 do
12325 cat >conftest.$ac_ext <<_ACEOF
12326 /* confdefs.h. */
12327 _ACEOF
12328 cat confdefs.h >>conftest.$ac_ext
12329 cat >>conftest.$ac_ext <<_ACEOF
12330 /* end confdefs.h. */
12331 $ac_declaration
12332 #include <stdlib.h>
12333 int
12334 main ()
12335 {
12336 exit (42);
12337 ;
12338 return 0;
12339 }
12340 _ACEOF
12341 rm -f conftest.$ac_objext
12342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12343 (eval $ac_compile) 2>conftest.er1
12344 ac_status=$?
12345 grep -v '^ *+' conftest.er1 >conftest.err
12346 rm -f conftest.er1
12347 cat conftest.err >&5
12348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12349 (exit $ac_status); } &&
12350 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12352 (eval $ac_try) 2>&5
12353 ac_status=$?
12354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12355 (exit $ac_status); }; } &&
12356 { ac_try='test -s conftest.$ac_objext'
12357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12358 (eval $ac_try) 2>&5
12359 ac_status=$?
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); }; }; then
12362 :
12363 else
12364 echo "$as_me: failed program was:" >&5
12365 sed 's/^/| /' conftest.$ac_ext >&5
12366
12367 continue
12368 fi
12369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12370 cat >conftest.$ac_ext <<_ACEOF
12371 /* confdefs.h. */
12372 _ACEOF
12373 cat confdefs.h >>conftest.$ac_ext
12374 cat >>conftest.$ac_ext <<_ACEOF
12375 /* end confdefs.h. */
12376 $ac_declaration
12377 int
12378 main ()
12379 {
12380 exit (42);
12381 ;
12382 return 0;
12383 }
12384 _ACEOF
12385 rm -f conftest.$ac_objext
12386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12387 (eval $ac_compile) 2>conftest.er1
12388 ac_status=$?
12389 grep -v '^ *+' conftest.er1 >conftest.err
12390 rm -f conftest.er1
12391 cat conftest.err >&5
12392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12393 (exit $ac_status); } &&
12394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12396 (eval $ac_try) 2>&5
12397 ac_status=$?
12398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399 (exit $ac_status); }; } &&
12400 { ac_try='test -s conftest.$ac_objext'
12401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402 (eval $ac_try) 2>&5
12403 ac_status=$?
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; }; then
12406 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 conftest.$ac_ext
12413 done
12414 rm -f conftest*
12415 if test -n "$ac_declaration"; then
12416 echo '#ifdef __cplusplus' >>confdefs.h
12417 echo $ac_declaration >>confdefs.h
12418 echo '#endif' >>confdefs.h
12419 fi
12420
12421 else
12422 echo "$as_me: failed program was:" >&5
12423 sed 's/^/| /' conftest.$ac_ext >&5
12424
12425 fi
12426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12427 ac_ext=c
12428 ac_cpp='$CPP $CPPFLAGS'
12429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12432
12433
12434
12435 ac_ext=c
12436 ac_cpp='$CPP $CPPFLAGS'
12437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12440
12441 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12442 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12443 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12444 echo $ECHO_N "(cached) $ECHO_C" >&6
12445 else
12446 cat >conftest.$ac_ext <<_ACEOF
12447 /* confdefs.h. */
12448 _ACEOF
12449 cat confdefs.h >>conftest.$ac_ext
12450 cat >>conftest.$ac_ext <<_ACEOF
12451 /* end confdefs.h. */
12452
12453 int
12454 main ()
12455 {
12456
12457 #ifndef __INTEL_COMPILER
12458 choke me
12459 #endif
12460
12461 ;
12462 return 0;
12463 }
12464 _ACEOF
12465 rm -f conftest.$ac_objext
12466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12467 (eval $ac_compile) 2>conftest.er1
12468 ac_status=$?
12469 grep -v '^ *+' conftest.er1 >conftest.err
12470 rm -f conftest.er1
12471 cat conftest.err >&5
12472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473 (exit $ac_status); } &&
12474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12476 (eval $ac_try) 2>&5
12477 ac_status=$?
12478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479 (exit $ac_status); }; } &&
12480 { ac_try='test -s conftest.$ac_objext'
12481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12482 (eval $ac_try) 2>&5
12483 ac_status=$?
12484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12485 (exit $ac_status); }; }; then
12486 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12487 else
12488 echo "$as_me: failed program was:" >&5
12489 sed 's/^/| /' conftest.$ac_ext >&5
12490
12491 bakefile_cv_c_compiler___INTEL_COMPILER=no
12492
12493 fi
12494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12495
12496
12497 fi
12498 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12499 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12500 ac_ext=c
12501 ac_cpp='$CPP $CPPFLAGS'
12502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12505
12506 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12507 :; INTELCC=yes
12508 else
12509 :;
12510 fi
12511
12512
12513 if test "x$GCC" != "xyes"; then
12514 if test "xCC" = "xC"; then
12515 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12516 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12517 if test "${bakefile_cv_c_exto+set}" = set; then
12518 echo $ECHO_N "(cached) $ECHO_C" >&6
12519 else
12520 cat >conftest.$ac_ext <<_ACEOF
12521 /* confdefs.h. */
12522 _ACEOF
12523 cat confdefs.h >>conftest.$ac_ext
12524 cat >>conftest.$ac_ext <<_ACEOF
12525 /* end confdefs.h. */
12526
12527 int
12528 main ()
12529 {
12530
12531 ;
12532 return 0;
12533 }
12534 _ACEOF
12535 rm -f conftest.$ac_objext conftest.$ac_ext.o
12536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12537 (eval $ac_compile) 2>&5
12538 ac_status=$?
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; then
12541 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12542 case $ac_file in
12543 conftest.$ac_ext.o)
12544 bakefile_cv_c_exto="-ext o"
12545 ;;
12546 *)
12547 ;;
12548 esac
12549 done
12550 else
12551 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12552 See \`config.log' for more details." >&5
12553 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12554 See \`config.log' for more details." >&2;}
12555 { (exit 1); exit 1; }; }
12556
12557 fi
12558
12559 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12560
12561 fi
12562 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12563 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12564 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12565 if test "c" = "c"; then
12566 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12567 fi
12568 if test "c" = "cxx"; then
12569 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12570 fi
12571 fi
12572
12573 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12574 unset ac_cv_prog_cc_g
12575 ac_test_CFLAGS=${CFLAGS+set}
12576 ac_save_CFLAGS=$CFLAGS
12577 CFLAGS="-g"
12578 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12579 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12580 if test "${ac_cv_prog_cc_g+set}" = set; then
12581 echo $ECHO_N "(cached) $ECHO_C" >&6
12582 else
12583 cat >conftest.$ac_ext <<_ACEOF
12584 /* confdefs.h. */
12585 _ACEOF
12586 cat confdefs.h >>conftest.$ac_ext
12587 cat >>conftest.$ac_ext <<_ACEOF
12588 /* end confdefs.h. */
12589
12590 int
12591 main ()
12592 {
12593
12594 ;
12595 return 0;
12596 }
12597 _ACEOF
12598 rm -f conftest.$ac_objext
12599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12600 (eval $ac_compile) 2>conftest.er1
12601 ac_status=$?
12602 grep -v '^ *+' conftest.er1 >conftest.err
12603 rm -f conftest.er1
12604 cat conftest.err >&5
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); } &&
12607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12609 (eval $ac_try) 2>&5
12610 ac_status=$?
12611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12612 (exit $ac_status); }; } &&
12613 { ac_try='test -s conftest.$ac_objext'
12614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12615 (eval $ac_try) 2>&5
12616 ac_status=$?
12617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); }; }; then
12619 ac_cv_prog_cc_g=yes
12620 else
12621 echo "$as_me: failed program was:" >&5
12622 sed 's/^/| /' conftest.$ac_ext >&5
12623
12624 ac_cv_prog_cc_g=no
12625 fi
12626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12627 fi
12628 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12629 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12630 if test "$ac_test_CFLAGS" = set; then
12631 CFLAGS=$ac_save_CFLAGS
12632 elif test $ac_cv_prog_cc_g = yes; then
12633 if test "$GCC" = yes; then
12634 CFLAGS="-g -O2"
12635 else
12636 CFLAGS="-g"
12637 fi
12638 else
12639 if test "$GCC" = yes; then
12640 CFLAGS="-O2"
12641 else
12642 CFLAGS=
12643 fi
12644 fi
12645 fi
12646 fi
12647
12648 case `uname -s` in
12649 AIX*)
12650 ac_ext=c
12651 ac_cpp='$CPP $CPPFLAGS'
12652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12655
12656 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12657 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12658 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12659 echo $ECHO_N "(cached) $ECHO_C" >&6
12660 else
12661 cat >conftest.$ac_ext <<_ACEOF
12662 /* confdefs.h. */
12663 _ACEOF
12664 cat confdefs.h >>conftest.$ac_ext
12665 cat >>conftest.$ac_ext <<_ACEOF
12666 /* end confdefs.h. */
12667
12668 int
12669 main ()
12670 {
12671 #ifndef __xlC__
12672 choke me
12673 #endif
12674
12675 ;
12676 return 0;
12677 }
12678 _ACEOF
12679 rm -f conftest.$ac_objext
12680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12681 (eval $ac_compile) 2>conftest.er1
12682 ac_status=$?
12683 grep -v '^ *+' conftest.er1 >conftest.err
12684 rm -f conftest.er1
12685 cat conftest.err >&5
12686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12687 (exit $ac_status); } &&
12688 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12690 (eval $ac_try) 2>&5
12691 ac_status=$?
12692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12693 (exit $ac_status); }; } &&
12694 { ac_try='test -s conftest.$ac_objext'
12695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12696 (eval $ac_try) 2>&5
12697 ac_status=$?
12698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12699 (exit $ac_status); }; }; then
12700 bakefile_compiler_xlc=yes
12701 else
12702 echo "$as_me: failed program was:" >&5
12703 sed 's/^/| /' conftest.$ac_ext >&5
12704
12705 bakefile_compiler_xlc=no
12706 fi
12707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12708 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12709
12710 fi
12711 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12712 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12713
12714 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12715 ac_ext=c
12716 ac_cpp='$CPP $CPPFLAGS'
12717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12720
12721
12722 ;;
12723
12724 Darwin)
12725 ac_ext=c
12726 ac_cpp='$CPP $CPPFLAGS'
12727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12730
12731 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12732 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12733 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12734 echo $ECHO_N "(cached) $ECHO_C" >&6
12735 else
12736 cat >conftest.$ac_ext <<_ACEOF
12737 /* confdefs.h. */
12738 _ACEOF
12739 cat confdefs.h >>conftest.$ac_ext
12740 cat >>conftest.$ac_ext <<_ACEOF
12741 /* end confdefs.h. */
12742
12743 int
12744 main ()
12745 {
12746 #ifndef __MWERKS__
12747 choke me
12748 #endif
12749
12750 ;
12751 return 0;
12752 }
12753 _ACEOF
12754 rm -f conftest.$ac_objext
12755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12756 (eval $ac_compile) 2>conftest.er1
12757 ac_status=$?
12758 grep -v '^ *+' conftest.er1 >conftest.err
12759 rm -f conftest.er1
12760 cat conftest.err >&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } &&
12763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12766 ac_status=$?
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; } &&
12769 { ac_try='test -s conftest.$ac_objext'
12770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12771 (eval $ac_try) 2>&5
12772 ac_status=$?
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); }; }; then
12775 bakefile_compiler_mwerks=yes
12776 else
12777 echo "$as_me: failed program was:" >&5
12778 sed 's/^/| /' conftest.$ac_ext >&5
12779
12780 bakefile_compiler_mwerks=no
12781 fi
12782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12783 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
12784
12785 fi
12786 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
12787 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
12788
12789 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
12790 ac_ext=c
12791 ac_cpp='$CPP $CPPFLAGS'
12792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12795
12796
12797 ac_ext=c
12798 ac_cpp='$CPP $CPPFLAGS'
12799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12802
12803 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12804 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12805 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12806 echo $ECHO_N "(cached) $ECHO_C" >&6
12807 else
12808 cat >conftest.$ac_ext <<_ACEOF
12809 /* confdefs.h. */
12810 _ACEOF
12811 cat confdefs.h >>conftest.$ac_ext
12812 cat >>conftest.$ac_ext <<_ACEOF
12813 /* end confdefs.h. */
12814
12815 int
12816 main ()
12817 {
12818 #ifndef __xlC__
12819 choke me
12820 #endif
12821
12822 ;
12823 return 0;
12824 }
12825 _ACEOF
12826 rm -f conftest.$ac_objext
12827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12828 (eval $ac_compile) 2>conftest.er1
12829 ac_status=$?
12830 grep -v '^ *+' conftest.er1 >conftest.err
12831 rm -f conftest.er1
12832 cat conftest.err >&5
12833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12834 (exit $ac_status); } &&
12835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12837 (eval $ac_try) 2>&5
12838 ac_status=$?
12839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12840 (exit $ac_status); }; } &&
12841 { ac_try='test -s conftest.$ac_objext'
12842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12843 (eval $ac_try) 2>&5
12844 ac_status=$?
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); }; }; then
12847 bakefile_compiler_xlc=yes
12848 else
12849 echo "$as_me: failed program was:" >&5
12850 sed 's/^/| /' conftest.$ac_ext >&5
12851
12852 bakefile_compiler_xlc=no
12853 fi
12854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12855 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12856
12857 fi
12858 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12859 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12860
12861 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12862 ac_ext=c
12863 ac_cpp='$CPP $CPPFLAGS'
12864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12867
12868
12869 ;;
12870
12871 IRIX*)
12872
12873
12874 ac_ext=c
12875 ac_cpp='$CPP $CPPFLAGS'
12876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12879
12880 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
12881 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
12882 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
12883 echo $ECHO_N "(cached) $ECHO_C" >&6
12884 else
12885 cat >conftest.$ac_ext <<_ACEOF
12886 /* confdefs.h. */
12887 _ACEOF
12888 cat confdefs.h >>conftest.$ac_ext
12889 cat >>conftest.$ac_ext <<_ACEOF
12890 /* end confdefs.h. */
12891
12892 int
12893 main ()
12894 {
12895
12896 #ifndef _SGI_COMPILER_VERSION
12897 choke me
12898 #endif
12899
12900 ;
12901 return 0;
12902 }
12903 _ACEOF
12904 rm -f conftest.$ac_objext
12905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12906 (eval $ac_compile) 2>conftest.er1
12907 ac_status=$?
12908 grep -v '^ *+' conftest.er1 >conftest.err
12909 rm -f conftest.er1
12910 cat conftest.err >&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); } &&
12913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12915 (eval $ac_try) 2>&5
12916 ac_status=$?
12917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12918 (exit $ac_status); }; } &&
12919 { ac_try='test -s conftest.$ac_objext'
12920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12921 (eval $ac_try) 2>&5
12922 ac_status=$?
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); }; }; then
12925 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
12926 else
12927 echo "$as_me: failed program was:" >&5
12928 sed 's/^/| /' conftest.$ac_ext >&5
12929
12930 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
12931
12932 fi
12933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12934
12935
12936 fi
12937 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
12938 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
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 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
12946 :; SGICC=yes
12947 else
12948 :;
12949 fi
12950
12951
12952 ;;
12953
12954 HP-UX*)
12955
12956
12957 ac_ext=c
12958 ac_cpp='$CPP $CPPFLAGS'
12959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12962
12963 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
12964 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
12965 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
12966 echo $ECHO_N "(cached) $ECHO_C" >&6
12967 else
12968 cat >conftest.$ac_ext <<_ACEOF
12969 /* confdefs.h. */
12970 _ACEOF
12971 cat confdefs.h >>conftest.$ac_ext
12972 cat >>conftest.$ac_ext <<_ACEOF
12973 /* end confdefs.h. */
12974
12975 int
12976 main ()
12977 {
12978
12979 #ifndef __HP_cc
12980 choke me
12981 #endif
12982
12983 ;
12984 return 0;
12985 }
12986 _ACEOF
12987 rm -f conftest.$ac_objext
12988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12989 (eval $ac_compile) 2>conftest.er1
12990 ac_status=$?
12991 grep -v '^ *+' conftest.er1 >conftest.err
12992 rm -f conftest.er1
12993 cat conftest.err >&5
12994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12995 (exit $ac_status); } &&
12996 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12998 (eval $ac_try) 2>&5
12999 ac_status=$?
13000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13001 (exit $ac_status); }; } &&
13002 { ac_try='test -s conftest.$ac_objext'
13003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13004 (eval $ac_try) 2>&5
13005 ac_status=$?
13006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13007 (exit $ac_status); }; }; then
13008 bakefile_cv_c_compiler___HP_cc=yes
13009 else
13010 echo "$as_me: failed program was:" >&5
13011 sed 's/^/| /' conftest.$ac_ext >&5
13012
13013 bakefile_cv_c_compiler___HP_cc=no
13014
13015 fi
13016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13017
13018
13019 fi
13020 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13021 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13022 ac_ext=c
13023 ac_cpp='$CPP $CPPFLAGS'
13024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13027
13028 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13029 :; HPCC=yes
13030 else
13031 :;
13032 fi
13033
13034
13035 ;;
13036
13037 OSF1)
13038
13039
13040 ac_ext=c
13041 ac_cpp='$CPP $CPPFLAGS'
13042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13045
13046 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13047 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13048 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13049 echo $ECHO_N "(cached) $ECHO_C" >&6
13050 else
13051 cat >conftest.$ac_ext <<_ACEOF
13052 /* confdefs.h. */
13053 _ACEOF
13054 cat confdefs.h >>conftest.$ac_ext
13055 cat >>conftest.$ac_ext <<_ACEOF
13056 /* end confdefs.h. */
13057
13058 int
13059 main ()
13060 {
13061
13062 #ifndef __DECC
13063 choke me
13064 #endif
13065
13066 ;
13067 return 0;
13068 }
13069 _ACEOF
13070 rm -f conftest.$ac_objext
13071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13072 (eval $ac_compile) 2>conftest.er1
13073 ac_status=$?
13074 grep -v '^ *+' conftest.er1 >conftest.err
13075 rm -f conftest.er1
13076 cat conftest.err >&5
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); } &&
13079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13081 (eval $ac_try) 2>&5
13082 ac_status=$?
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); }; } &&
13085 { ac_try='test -s conftest.$ac_objext'
13086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13087 (eval $ac_try) 2>&5
13088 ac_status=$?
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); }; }; then
13091 bakefile_cv_c_compiler___DECC=yes
13092 else
13093 echo "$as_me: failed program was:" >&5
13094 sed 's/^/| /' conftest.$ac_ext >&5
13095
13096 bakefile_cv_c_compiler___DECC=no
13097
13098 fi
13099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13100
13101
13102 fi
13103 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13104 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13105 ac_ext=c
13106 ac_cpp='$CPP $CPPFLAGS'
13107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13110
13111 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13112 :; COMPAQCC=yes
13113 else
13114 :;
13115 fi
13116
13117
13118 ;;
13119
13120 SunOS)
13121
13122
13123 ac_ext=c
13124 ac_cpp='$CPP $CPPFLAGS'
13125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13128
13129 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13130 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13131 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13132 echo $ECHO_N "(cached) $ECHO_C" >&6
13133 else
13134 cat >conftest.$ac_ext <<_ACEOF
13135 /* confdefs.h. */
13136 _ACEOF
13137 cat confdefs.h >>conftest.$ac_ext
13138 cat >>conftest.$ac_ext <<_ACEOF
13139 /* end confdefs.h. */
13140
13141 int
13142 main ()
13143 {
13144
13145 #ifndef __SUNPRO_C
13146 choke me
13147 #endif
13148
13149 ;
13150 return 0;
13151 }
13152 _ACEOF
13153 rm -f conftest.$ac_objext
13154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13155 (eval $ac_compile) 2>conftest.er1
13156 ac_status=$?
13157 grep -v '^ *+' conftest.er1 >conftest.err
13158 rm -f conftest.er1
13159 cat conftest.err >&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); } &&
13162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13164 (eval $ac_try) 2>&5
13165 ac_status=$?
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); }; } &&
13168 { ac_try='test -s conftest.$ac_objext'
13169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13170 (eval $ac_try) 2>&5
13171 ac_status=$?
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); }; }; then
13174 bakefile_cv_c_compiler___SUNPRO_C=yes
13175 else
13176 echo "$as_me: failed program was:" >&5
13177 sed 's/^/| /' conftest.$ac_ext >&5
13178
13179 bakefile_cv_c_compiler___SUNPRO_C=no
13180
13181 fi
13182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13183
13184
13185 fi
13186 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13187 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13188 ac_ext=c
13189 ac_cpp='$CPP $CPPFLAGS'
13190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13193
13194 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13195 :; SUNCC=yes
13196 else
13197 :;
13198 fi
13199
13200
13201 ;;
13202 esac
13203 fi
13204
13205
13206
13207 ac_ext=c
13208 ac_cpp='$CPP $CPPFLAGS'
13209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13212 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13213 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13214 # On Suns, sometimes $CPP names a directory.
13215 if test -n "$CPP" && test -d "$CPP"; then
13216 CPP=
13217 fi
13218 if test -z "$CPP"; then
13219 if test "${ac_cv_prog_CPP+set}" = set; then
13220 echo $ECHO_N "(cached) $ECHO_C" >&6
13221 else
13222 # Double quotes because CPP needs to be expanded
13223 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13224 do
13225 ac_preproc_ok=false
13226 for ac_c_preproc_warn_flag in '' yes
13227 do
13228 # Use a header file that comes with gcc, so configuring glibc
13229 # with a fresh cross-compiler works.
13230 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13231 # <limits.h> exists even on freestanding compilers.
13232 # On the NeXT, cc -E runs the code through the compiler's parser,
13233 # not just through cpp. "Syntax error" is here to catch this case.
13234 cat >conftest.$ac_ext <<_ACEOF
13235 /* confdefs.h. */
13236 _ACEOF
13237 cat confdefs.h >>conftest.$ac_ext
13238 cat >>conftest.$ac_ext <<_ACEOF
13239 /* end confdefs.h. */
13240 #ifdef __STDC__
13241 # include <limits.h>
13242 #else
13243 # include <assert.h>
13244 #endif
13245 Syntax error
13246 _ACEOF
13247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13249 ac_status=$?
13250 grep -v '^ *+' conftest.er1 >conftest.err
13251 rm -f conftest.er1
13252 cat conftest.err >&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); } >/dev/null; then
13255 if test -s conftest.err; then
13256 ac_cpp_err=$ac_c_preproc_warn_flag
13257 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13258 else
13259 ac_cpp_err=
13260 fi
13261 else
13262 ac_cpp_err=yes
13263 fi
13264 if test -z "$ac_cpp_err"; then
13265 :
13266 else
13267 echo "$as_me: failed program was:" >&5
13268 sed 's/^/| /' conftest.$ac_ext >&5
13269
13270 # Broken: fails on valid input.
13271 continue
13272 fi
13273 rm -f conftest.err conftest.$ac_ext
13274
13275 # OK, works on sane cases. Now check whether non-existent headers
13276 # can be detected and how.
13277 cat >conftest.$ac_ext <<_ACEOF
13278 /* confdefs.h. */
13279 _ACEOF
13280 cat confdefs.h >>conftest.$ac_ext
13281 cat >>conftest.$ac_ext <<_ACEOF
13282 /* end confdefs.h. */
13283 #include <ac_nonexistent.h>
13284 _ACEOF
13285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13286 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13287 ac_status=$?
13288 grep -v '^ *+' conftest.er1 >conftest.err
13289 rm -f conftest.er1
13290 cat conftest.err >&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } >/dev/null; then
13293 if test -s conftest.err; then
13294 ac_cpp_err=$ac_c_preproc_warn_flag
13295 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13296 else
13297 ac_cpp_err=
13298 fi
13299 else
13300 ac_cpp_err=yes
13301 fi
13302 if test -z "$ac_cpp_err"; then
13303 # Broken: success on invalid input.
13304 continue
13305 else
13306 echo "$as_me: failed program was:" >&5
13307 sed 's/^/| /' conftest.$ac_ext >&5
13308
13309 # Passes both tests.
13310 ac_preproc_ok=:
13311 break
13312 fi
13313 rm -f conftest.err conftest.$ac_ext
13314
13315 done
13316 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13317 rm -f conftest.err conftest.$ac_ext
13318 if $ac_preproc_ok; then
13319 break
13320 fi
13321
13322 done
13323 ac_cv_prog_CPP=$CPP
13324
13325 fi
13326 CPP=$ac_cv_prog_CPP
13327 else
13328 ac_cv_prog_CPP=$CPP
13329 fi
13330 echo "$as_me:$LINENO: result: $CPP" >&5
13331 echo "${ECHO_T}$CPP" >&6
13332 ac_preproc_ok=false
13333 for ac_c_preproc_warn_flag in '' yes
13334 do
13335 # Use a header file that comes with gcc, so configuring glibc
13336 # with a fresh cross-compiler works.
13337 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13338 # <limits.h> exists even on freestanding compilers.
13339 # On the NeXT, cc -E runs the code through the compiler's parser,
13340 # not just through cpp. "Syntax error" is here to catch this case.
13341 cat >conftest.$ac_ext <<_ACEOF
13342 /* confdefs.h. */
13343 _ACEOF
13344 cat confdefs.h >>conftest.$ac_ext
13345 cat >>conftest.$ac_ext <<_ACEOF
13346 /* end confdefs.h. */
13347 #ifdef __STDC__
13348 # include <limits.h>
13349 #else
13350 # include <assert.h>
13351 #endif
13352 Syntax error
13353 _ACEOF
13354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13355 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13356 ac_status=$?
13357 grep -v '^ *+' conftest.er1 >conftest.err
13358 rm -f conftest.er1
13359 cat conftest.err >&5
13360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13361 (exit $ac_status); } >/dev/null; then
13362 if test -s conftest.err; then
13363 ac_cpp_err=$ac_c_preproc_warn_flag
13364 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13365 else
13366 ac_cpp_err=
13367 fi
13368 else
13369 ac_cpp_err=yes
13370 fi
13371 if test -z "$ac_cpp_err"; then
13372 :
13373 else
13374 echo "$as_me: failed program was:" >&5
13375 sed 's/^/| /' conftest.$ac_ext >&5
13376
13377 # Broken: fails on valid input.
13378 continue
13379 fi
13380 rm -f conftest.err conftest.$ac_ext
13381
13382 # OK, works on sane cases. Now check whether non-existent headers
13383 # can be detected and how.
13384 cat >conftest.$ac_ext <<_ACEOF
13385 /* confdefs.h. */
13386 _ACEOF
13387 cat confdefs.h >>conftest.$ac_ext
13388 cat >>conftest.$ac_ext <<_ACEOF
13389 /* end confdefs.h. */
13390 #include <ac_nonexistent.h>
13391 _ACEOF
13392 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13393 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13394 ac_status=$?
13395 grep -v '^ *+' conftest.er1 >conftest.err
13396 rm -f conftest.er1
13397 cat conftest.err >&5
13398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13399 (exit $ac_status); } >/dev/null; then
13400 if test -s conftest.err; then
13401 ac_cpp_err=$ac_c_preproc_warn_flag
13402 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13403 else
13404 ac_cpp_err=
13405 fi
13406 else
13407 ac_cpp_err=yes
13408 fi
13409 if test -z "$ac_cpp_err"; then
13410 # Broken: success on invalid input.
13411 continue
13412 else
13413 echo "$as_me: failed program was:" >&5
13414 sed 's/^/| /' conftest.$ac_ext >&5
13415
13416 # Passes both tests.
13417 ac_preproc_ok=:
13418 break
13419 fi
13420 rm -f conftest.err conftest.$ac_ext
13421
13422 done
13423 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13424 rm -f conftest.err conftest.$ac_ext
13425 if $ac_preproc_ok; then
13426 :
13427 else
13428 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13429 See \`config.log' for more details." >&5
13430 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13431 See \`config.log' for more details." >&2;}
13432 { (exit 1); exit 1; }; }
13433 fi
13434
13435 ac_ext=c
13436 ac_cpp='$CPP $CPPFLAGS'
13437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13440
13441
13442 echo "$as_me:$LINENO: checking for egrep" >&5
13443 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13444 if test "${ac_cv_prog_egrep+set}" = set; then
13445 echo $ECHO_N "(cached) $ECHO_C" >&6
13446 else
13447 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13448 then ac_cv_prog_egrep='grep -E'
13449 else ac_cv_prog_egrep='egrep'
13450 fi
13451 fi
13452 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13453 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13454 EGREP=$ac_cv_prog_egrep
13455
13456
13457 if test $ac_cv_c_compiler_gnu = yes; then
13458 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13459 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13460 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13461 echo $ECHO_N "(cached) $ECHO_C" >&6
13462 else
13463 ac_pattern="Autoconf.*'x'"
13464 cat >conftest.$ac_ext <<_ACEOF
13465 /* confdefs.h. */
13466 _ACEOF
13467 cat confdefs.h >>conftest.$ac_ext
13468 cat >>conftest.$ac_ext <<_ACEOF
13469 /* end confdefs.h. */
13470 #include <sgtty.h>
13471 Autoconf TIOCGETP
13472 _ACEOF
13473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13474 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13475 ac_cv_prog_gcc_traditional=yes
13476 else
13477 ac_cv_prog_gcc_traditional=no
13478 fi
13479 rm -f conftest*
13480
13481
13482 if test $ac_cv_prog_gcc_traditional = no; then
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 #include <termio.h>
13490 Autoconf TCGETA
13491 _ACEOF
13492 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13493 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13494 ac_cv_prog_gcc_traditional=yes
13495 fi
13496 rm -f conftest*
13497
13498 fi
13499 fi
13500 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13501 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13502 if test $ac_cv_prog_gcc_traditional = yes; then
13503 CC="$CC -traditional"
13504 fi
13505 fi
13506
13507
13508 ac_ext=cc
13509 ac_cpp='$CXXCPP $CPPFLAGS'
13510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13513
13514
13515 CXXFLAGS=${CXXFLAGS:=}
13516
13517
13518
13519 ac_ext=cc
13520 ac_cpp='$CXXCPP $CPPFLAGS'
13521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13524 if test -n "$ac_tool_prefix"; then
13525 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13526 do
13527 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13528 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13529 echo "$as_me:$LINENO: checking for $ac_word" >&5
13530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13531 if test "${ac_cv_prog_CXX+set}" = set; then
13532 echo $ECHO_N "(cached) $ECHO_C" >&6
13533 else
13534 if test -n "$CXX"; then
13535 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13536 else
13537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13538 for as_dir in $PATH
13539 do
13540 IFS=$as_save_IFS
13541 test -z "$as_dir" && as_dir=.
13542 for ac_exec_ext in '' $ac_executable_extensions; do
13543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13544 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13546 break 2
13547 fi
13548 done
13549 done
13550
13551 fi
13552 fi
13553 CXX=$ac_cv_prog_CXX
13554 if test -n "$CXX"; then
13555 echo "$as_me:$LINENO: result: $CXX" >&5
13556 echo "${ECHO_T}$CXX" >&6
13557 else
13558 echo "$as_me:$LINENO: result: no" >&5
13559 echo "${ECHO_T}no" >&6
13560 fi
13561
13562 test -n "$CXX" && break
13563 done
13564 fi
13565 if test -z "$CXX"; then
13566 ac_ct_CXX=$CXX
13567 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13568 do
13569 # Extract the first word of "$ac_prog", so it can be a program name with args.
13570 set dummy $ac_prog; ac_word=$2
13571 echo "$as_me:$LINENO: checking for $ac_word" >&5
13572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13573 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13574 echo $ECHO_N "(cached) $ECHO_C" >&6
13575 else
13576 if test -n "$ac_ct_CXX"; then
13577 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13578 else
13579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13580 for as_dir in $PATH
13581 do
13582 IFS=$as_save_IFS
13583 test -z "$as_dir" && as_dir=.
13584 for ac_exec_ext in '' $ac_executable_extensions; do
13585 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13586 ac_cv_prog_ac_ct_CXX="$ac_prog"
13587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13588 break 2
13589 fi
13590 done
13591 done
13592
13593 fi
13594 fi
13595 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13596 if test -n "$ac_ct_CXX"; then
13597 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13598 echo "${ECHO_T}$ac_ct_CXX" >&6
13599 else
13600 echo "$as_me:$LINENO: result: no" >&5
13601 echo "${ECHO_T}no" >&6
13602 fi
13603
13604 test -n "$ac_ct_CXX" && break
13605 done
13606 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13607
13608 CXX=$ac_ct_CXX
13609 fi
13610
13611
13612 # Provide some information about the compiler.
13613 echo "$as_me:$LINENO:" \
13614 "checking for C++ compiler version" >&5
13615 ac_compiler=`set X $ac_compile; echo $2`
13616 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13617 (eval $ac_compiler --version </dev/null >&5) 2>&5
13618 ac_status=$?
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); }
13621 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13622 (eval $ac_compiler -v </dev/null >&5) 2>&5
13623 ac_status=$?
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); }
13626 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13627 (eval $ac_compiler -V </dev/null >&5) 2>&5
13628 ac_status=$?
13629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13630 (exit $ac_status); }
13631
13632 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13633 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13634 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13635 echo $ECHO_N "(cached) $ECHO_C" >&6
13636 else
13637 cat >conftest.$ac_ext <<_ACEOF
13638 /* confdefs.h. */
13639 _ACEOF
13640 cat confdefs.h >>conftest.$ac_ext
13641 cat >>conftest.$ac_ext <<_ACEOF
13642 /* end confdefs.h. */
13643
13644 int
13645 main ()
13646 {
13647 #ifndef __GNUC__
13648 choke me
13649 #endif
13650
13651 ;
13652 return 0;
13653 }
13654 _ACEOF
13655 rm -f conftest.$ac_objext
13656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13657 (eval $ac_compile) 2>conftest.er1
13658 ac_status=$?
13659 grep -v '^ *+' conftest.er1 >conftest.err
13660 rm -f conftest.er1
13661 cat conftest.err >&5
13662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13663 (exit $ac_status); } &&
13664 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13666 (eval $ac_try) 2>&5
13667 ac_status=$?
13668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13669 (exit $ac_status); }; } &&
13670 { ac_try='test -s conftest.$ac_objext'
13671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13672 (eval $ac_try) 2>&5
13673 ac_status=$?
13674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13675 (exit $ac_status); }; }; then
13676 ac_compiler_gnu=yes
13677 else
13678 echo "$as_me: failed program was:" >&5
13679 sed 's/^/| /' conftest.$ac_ext >&5
13680
13681 ac_compiler_gnu=no
13682 fi
13683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13684 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13685
13686 fi
13687 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13688 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13689 GXX=`test $ac_compiler_gnu = yes && echo yes`
13690 ac_test_CXXFLAGS=${CXXFLAGS+set}
13691 ac_save_CXXFLAGS=$CXXFLAGS
13692 CXXFLAGS="-g"
13693 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13694 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13695 if test "${ac_cv_prog_cxx_g+set}" = set; then
13696 echo $ECHO_N "(cached) $ECHO_C" >&6
13697 else
13698 cat >conftest.$ac_ext <<_ACEOF
13699 /* confdefs.h. */
13700 _ACEOF
13701 cat confdefs.h >>conftest.$ac_ext
13702 cat >>conftest.$ac_ext <<_ACEOF
13703 /* end confdefs.h. */
13704
13705 int
13706 main ()
13707 {
13708
13709 ;
13710 return 0;
13711 }
13712 _ACEOF
13713 rm -f conftest.$ac_objext
13714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13715 (eval $ac_compile) 2>conftest.er1
13716 ac_status=$?
13717 grep -v '^ *+' conftest.er1 >conftest.err
13718 rm -f conftest.er1
13719 cat conftest.err >&5
13720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13721 (exit $ac_status); } &&
13722 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13724 (eval $ac_try) 2>&5
13725 ac_status=$?
13726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13727 (exit $ac_status); }; } &&
13728 { ac_try='test -s conftest.$ac_objext'
13729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13730 (eval $ac_try) 2>&5
13731 ac_status=$?
13732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13733 (exit $ac_status); }; }; then
13734 ac_cv_prog_cxx_g=yes
13735 else
13736 echo "$as_me: failed program was:" >&5
13737 sed 's/^/| /' conftest.$ac_ext >&5
13738
13739 ac_cv_prog_cxx_g=no
13740 fi
13741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13742 fi
13743 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13744 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13745 if test "$ac_test_CXXFLAGS" = set; then
13746 CXXFLAGS=$ac_save_CXXFLAGS
13747 elif test $ac_cv_prog_cxx_g = yes; then
13748 if test "$GXX" = yes; then
13749 CXXFLAGS="-g -O2"
13750 else
13751 CXXFLAGS="-g"
13752 fi
13753 else
13754 if test "$GXX" = yes; then
13755 CXXFLAGS="-O2"
13756 else
13757 CXXFLAGS=
13758 fi
13759 fi
13760 for ac_declaration in \
13761 '' \
13762 'extern "C" void std::exit (int) throw (); using std::exit;' \
13763 'extern "C" void std::exit (int); using std::exit;' \
13764 'extern "C" void exit (int) throw ();' \
13765 'extern "C" void exit (int);' \
13766 'void exit (int);'
13767 do
13768 cat >conftest.$ac_ext <<_ACEOF
13769 /* confdefs.h. */
13770 _ACEOF
13771 cat confdefs.h >>conftest.$ac_ext
13772 cat >>conftest.$ac_ext <<_ACEOF
13773 /* end confdefs.h. */
13774 $ac_declaration
13775 #include <stdlib.h>
13776 int
13777 main ()
13778 {
13779 exit (42);
13780 ;
13781 return 0;
13782 }
13783 _ACEOF
13784 rm -f conftest.$ac_objext
13785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13786 (eval $ac_compile) 2>conftest.er1
13787 ac_status=$?
13788 grep -v '^ *+' conftest.er1 >conftest.err
13789 rm -f conftest.er1
13790 cat conftest.err >&5
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); } &&
13793 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13795 (eval $ac_try) 2>&5
13796 ac_status=$?
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); }; } &&
13799 { ac_try='test -s conftest.$ac_objext'
13800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13801 (eval $ac_try) 2>&5
13802 ac_status=$?
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); }; }; then
13805 :
13806 else
13807 echo "$as_me: failed program was:" >&5
13808 sed 's/^/| /' conftest.$ac_ext >&5
13809
13810 continue
13811 fi
13812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13813 cat >conftest.$ac_ext <<_ACEOF
13814 /* confdefs.h. */
13815 _ACEOF
13816 cat confdefs.h >>conftest.$ac_ext
13817 cat >>conftest.$ac_ext <<_ACEOF
13818 /* end confdefs.h. */
13819 $ac_declaration
13820 int
13821 main ()
13822 {
13823 exit (42);
13824 ;
13825 return 0;
13826 }
13827 _ACEOF
13828 rm -f conftest.$ac_objext
13829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13830 (eval $ac_compile) 2>conftest.er1
13831 ac_status=$?
13832 grep -v '^ *+' conftest.er1 >conftest.err
13833 rm -f conftest.er1
13834 cat conftest.err >&5
13835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13836 (exit $ac_status); } &&
13837 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13839 (eval $ac_try) 2>&5
13840 ac_status=$?
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); }; } &&
13843 { ac_try='test -s conftest.$ac_objext'
13844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13845 (eval $ac_try) 2>&5
13846 ac_status=$?
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 (exit $ac_status); }; }; then
13849 break
13850 else
13851 echo "$as_me: failed program was:" >&5
13852 sed 's/^/| /' conftest.$ac_ext >&5
13853
13854 fi
13855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13856 done
13857 rm -f conftest*
13858 if test -n "$ac_declaration"; then
13859 echo '#ifdef __cplusplus' >>confdefs.h
13860 echo $ac_declaration >>confdefs.h
13861 echo '#endif' >>confdefs.h
13862 fi
13863
13864 ac_ext=cc
13865 ac_cpp='$CXXCPP $CPPFLAGS'
13866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13869
13870
13871
13872 ac_ext=cc
13873 ac_cpp='$CXXCPP $CPPFLAGS'
13874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13877
13878 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
13879 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
13880 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
13881 echo $ECHO_N "(cached) $ECHO_C" >&6
13882 else
13883 cat >conftest.$ac_ext <<_ACEOF
13884 /* confdefs.h. */
13885 _ACEOF
13886 cat confdefs.h >>conftest.$ac_ext
13887 cat >>conftest.$ac_ext <<_ACEOF
13888 /* end confdefs.h. */
13889
13890 int
13891 main ()
13892 {
13893
13894 #ifndef __INTEL_COMPILER
13895 choke me
13896 #endif
13897
13898 ;
13899 return 0;
13900 }
13901 _ACEOF
13902 rm -f conftest.$ac_objext
13903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13904 (eval $ac_compile) 2>conftest.er1
13905 ac_status=$?
13906 grep -v '^ *+' conftest.er1 >conftest.err
13907 rm -f conftest.er1
13908 cat conftest.err >&5
13909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13910 (exit $ac_status); } &&
13911 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13913 (eval $ac_try) 2>&5
13914 ac_status=$?
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 (exit $ac_status); }; } &&
13917 { ac_try='test -s conftest.$ac_objext'
13918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13919 (eval $ac_try) 2>&5
13920 ac_status=$?
13921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13922 (exit $ac_status); }; }; then
13923 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
13924 else
13925 echo "$as_me: failed program was:" >&5
13926 sed 's/^/| /' conftest.$ac_ext >&5
13927
13928 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
13929
13930 fi
13931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13932
13933
13934 fi
13935 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
13936 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
13937 ac_ext=cc
13938 ac_cpp='$CXXCPP $CPPFLAGS'
13939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13942
13943 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
13944 :; INTELCXX=yes
13945 else
13946 :;
13947 fi
13948
13949
13950 if test "x$GCXX" != "xyes"; then
13951 if test "xCXX" = "xC"; then
13952 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
13953 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
13954 if test "${bakefile_cv_cxx_exto+set}" = set; then
13955 echo $ECHO_N "(cached) $ECHO_C" >&6
13956 else
13957 cat >conftest.$ac_ext <<_ACEOF
13958 /* confdefs.h. */
13959 _ACEOF
13960 cat confdefs.h >>conftest.$ac_ext
13961 cat >>conftest.$ac_ext <<_ACEOF
13962 /* end confdefs.h. */
13963
13964 int
13965 main ()
13966 {
13967
13968 ;
13969 return 0;
13970 }
13971 _ACEOF
13972 rm -f conftest.$ac_objext conftest.$ac_ext.o
13973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13974 (eval $ac_compile) 2>&5
13975 ac_status=$?
13976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977 (exit $ac_status); }; then
13978 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13979 case $ac_file in
13980 conftest.$ac_ext.o)
13981 bakefile_cv_cxx_exto="-ext o"
13982 ;;
13983 *)
13984 ;;
13985 esac
13986 done
13987 else
13988 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13989 See \`config.log' for more details." >&5
13990 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13991 See \`config.log' for more details." >&2;}
13992 { (exit 1); exit 1; }; }
13993
13994 fi
13995
13996 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13997
13998 fi
13999 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14000 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14001 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14002 if test "cxx" = "c"; then
14003 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14004 fi
14005 if test "cxx" = "cxx"; then
14006 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14007 fi
14008 fi
14009
14010 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14011 unset ac_cv_prog_cc_g
14012 ac_test_CFLAGS=${CFLAGS+set}
14013 ac_save_CFLAGS=$CFLAGS
14014 CFLAGS="-g"
14015 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14016 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14017 if test "${ac_cv_prog_cc_g+set}" = set; then
14018 echo $ECHO_N "(cached) $ECHO_C" >&6
14019 else
14020 cat >conftest.$ac_ext <<_ACEOF
14021 /* confdefs.h. */
14022 _ACEOF
14023 cat confdefs.h >>conftest.$ac_ext
14024 cat >>conftest.$ac_ext <<_ACEOF
14025 /* end confdefs.h. */
14026
14027 int
14028 main ()
14029 {
14030
14031 ;
14032 return 0;
14033 }
14034 _ACEOF
14035 rm -f conftest.$ac_objext
14036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14037 (eval $ac_compile) 2>conftest.er1
14038 ac_status=$?
14039 grep -v '^ *+' conftest.er1 >conftest.err
14040 rm -f conftest.er1
14041 cat conftest.err >&5
14042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14043 (exit $ac_status); } &&
14044 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14046 (eval $ac_try) 2>&5
14047 ac_status=$?
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); }; } &&
14050 { ac_try='test -s conftest.$ac_objext'
14051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14052 (eval $ac_try) 2>&5
14053 ac_status=$?
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); }; }; then
14056 ac_cv_prog_cc_g=yes
14057 else
14058 echo "$as_me: failed program was:" >&5
14059 sed 's/^/| /' conftest.$ac_ext >&5
14060
14061 ac_cv_prog_cc_g=no
14062 fi
14063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14064 fi
14065 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14066 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14067 if test "$ac_test_CFLAGS" = set; then
14068 CFLAGS=$ac_save_CFLAGS
14069 elif test $ac_cv_prog_cc_g = yes; then
14070 if test "$GCC" = yes; then
14071 CFLAGS="-g -O2"
14072 else
14073 CFLAGS="-g"
14074 fi
14075 else
14076 if test "$GCC" = yes; then
14077 CFLAGS="-O2"
14078 else
14079 CFLAGS=
14080 fi
14081 fi
14082 fi
14083 fi
14084
14085 case `uname -s` in
14086 AIX*)
14087 ac_ext=cc
14088 ac_cpp='$CXXCPP $CPPFLAGS'
14089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14092
14093 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14094 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14095 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14096 echo $ECHO_N "(cached) $ECHO_C" >&6
14097 else
14098 cat >conftest.$ac_ext <<_ACEOF
14099 /* confdefs.h. */
14100 _ACEOF
14101 cat confdefs.h >>conftest.$ac_ext
14102 cat >>conftest.$ac_ext <<_ACEOF
14103 /* end confdefs.h. */
14104
14105 int
14106 main ()
14107 {
14108 #ifndef __xlC__
14109 choke me
14110 #endif
14111
14112 ;
14113 return 0;
14114 }
14115 _ACEOF
14116 rm -f conftest.$ac_objext
14117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14118 (eval $ac_compile) 2>conftest.er1
14119 ac_status=$?
14120 grep -v '^ *+' conftest.er1 >conftest.err
14121 rm -f conftest.er1
14122 cat conftest.err >&5
14123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14124 (exit $ac_status); } &&
14125 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14127 (eval $ac_try) 2>&5
14128 ac_status=$?
14129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14130 (exit $ac_status); }; } &&
14131 { ac_try='test -s conftest.$ac_objext'
14132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14133 (eval $ac_try) 2>&5
14134 ac_status=$?
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 (exit $ac_status); }; }; then
14137 bakefile_compiler_xlc=yes
14138 else
14139 echo "$as_me: failed program was:" >&5
14140 sed 's/^/| /' conftest.$ac_ext >&5
14141
14142 bakefile_compiler_xlc=no
14143 fi
14144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14145 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14146
14147 fi
14148 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14149 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14150
14151 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14152 ac_ext=cc
14153 ac_cpp='$CXXCPP $CPPFLAGS'
14154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14157
14158
14159 ;;
14160
14161 Darwin)
14162 ac_ext=cc
14163 ac_cpp='$CXXCPP $CPPFLAGS'
14164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14167
14168 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14169 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14170 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14171 echo $ECHO_N "(cached) $ECHO_C" >&6
14172 else
14173 cat >conftest.$ac_ext <<_ACEOF
14174 /* confdefs.h. */
14175 _ACEOF
14176 cat confdefs.h >>conftest.$ac_ext
14177 cat >>conftest.$ac_ext <<_ACEOF
14178 /* end confdefs.h. */
14179
14180 int
14181 main ()
14182 {
14183 #ifndef __MWERKS__
14184 choke me
14185 #endif
14186
14187 ;
14188 return 0;
14189 }
14190 _ACEOF
14191 rm -f conftest.$ac_objext
14192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14193 (eval $ac_compile) 2>conftest.er1
14194 ac_status=$?
14195 grep -v '^ *+' conftest.er1 >conftest.err
14196 rm -f conftest.er1
14197 cat conftest.err >&5
14198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14199 (exit $ac_status); } &&
14200 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14202 (eval $ac_try) 2>&5
14203 ac_status=$?
14204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14205 (exit $ac_status); }; } &&
14206 { ac_try='test -s conftest.$ac_objext'
14207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14208 (eval $ac_try) 2>&5
14209 ac_status=$?
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); }; }; then
14212 bakefile_compiler_mwerks=yes
14213 else
14214 echo "$as_me: failed program was:" >&5
14215 sed 's/^/| /' conftest.$ac_ext >&5
14216
14217 bakefile_compiler_mwerks=no
14218 fi
14219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14220 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14221
14222 fi
14223 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14224 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14225
14226 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14227 ac_ext=cc
14228 ac_cpp='$CXXCPP $CPPFLAGS'
14229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14232
14233
14234 ac_ext=cc
14235 ac_cpp='$CXXCPP $CPPFLAGS'
14236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14239
14240 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14241 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14242 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14243 echo $ECHO_N "(cached) $ECHO_C" >&6
14244 else
14245 cat >conftest.$ac_ext <<_ACEOF
14246 /* confdefs.h. */
14247 _ACEOF
14248 cat confdefs.h >>conftest.$ac_ext
14249 cat >>conftest.$ac_ext <<_ACEOF
14250 /* end confdefs.h. */
14251
14252 int
14253 main ()
14254 {
14255 #ifndef __xlC__
14256 choke me
14257 #endif
14258
14259 ;
14260 return 0;
14261 }
14262 _ACEOF
14263 rm -f conftest.$ac_objext
14264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14265 (eval $ac_compile) 2>conftest.er1
14266 ac_status=$?
14267 grep -v '^ *+' conftest.er1 >conftest.err
14268 rm -f conftest.er1
14269 cat conftest.err >&5
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); } &&
14272 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14274 (eval $ac_try) 2>&5
14275 ac_status=$?
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); }; } &&
14278 { ac_try='test -s conftest.$ac_objext'
14279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14280 (eval $ac_try) 2>&5
14281 ac_status=$?
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); }; }; then
14284 bakefile_compiler_xlc=yes
14285 else
14286 echo "$as_me: failed program was:" >&5
14287 sed 's/^/| /' conftest.$ac_ext >&5
14288
14289 bakefile_compiler_xlc=no
14290 fi
14291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14292 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14293
14294 fi
14295 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14296 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14297
14298 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14299 ac_ext=cc
14300 ac_cpp='$CXXCPP $CPPFLAGS'
14301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14304
14305
14306 ;;
14307
14308 IRIX*)
14309
14310
14311 ac_ext=cc
14312 ac_cpp='$CXXCPP $CPPFLAGS'
14313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14316
14317 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14318 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14319 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14320 echo $ECHO_N "(cached) $ECHO_C" >&6
14321 else
14322 cat >conftest.$ac_ext <<_ACEOF
14323 /* confdefs.h. */
14324 _ACEOF
14325 cat confdefs.h >>conftest.$ac_ext
14326 cat >>conftest.$ac_ext <<_ACEOF
14327 /* end confdefs.h. */
14328
14329 int
14330 main ()
14331 {
14332
14333 #ifndef _SGI_COMPILER_VERSION
14334 choke me
14335 #endif
14336
14337 ;
14338 return 0;
14339 }
14340 _ACEOF
14341 rm -f conftest.$ac_objext
14342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14343 (eval $ac_compile) 2>conftest.er1
14344 ac_status=$?
14345 grep -v '^ *+' conftest.er1 >conftest.err
14346 rm -f conftest.er1
14347 cat conftest.err >&5
14348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14349 (exit $ac_status); } &&
14350 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14352 (eval $ac_try) 2>&5
14353 ac_status=$?
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); }; } &&
14356 { ac_try='test -s conftest.$ac_objext'
14357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14358 (eval $ac_try) 2>&5
14359 ac_status=$?
14360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14361 (exit $ac_status); }; }; then
14362 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14363 else
14364 echo "$as_me: failed program was:" >&5
14365 sed 's/^/| /' conftest.$ac_ext >&5
14366
14367 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14368
14369 fi
14370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14371
14372
14373 fi
14374 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14375 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
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 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14383 :; SGICXX=yes
14384 else
14385 :;
14386 fi
14387
14388
14389 ;;
14390
14391 HP-UX*)
14392
14393
14394 ac_ext=cc
14395 ac_cpp='$CXXCPP $CPPFLAGS'
14396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14399
14400 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14401 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14402 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14403 echo $ECHO_N "(cached) $ECHO_C" >&6
14404 else
14405 cat >conftest.$ac_ext <<_ACEOF
14406 /* confdefs.h. */
14407 _ACEOF
14408 cat confdefs.h >>conftest.$ac_ext
14409 cat >>conftest.$ac_ext <<_ACEOF
14410 /* end confdefs.h. */
14411
14412 int
14413 main ()
14414 {
14415
14416 #ifndef __HP_aCC
14417 choke me
14418 #endif
14419
14420 ;
14421 return 0;
14422 }
14423 _ACEOF
14424 rm -f conftest.$ac_objext
14425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14426 (eval $ac_compile) 2>conftest.er1
14427 ac_status=$?
14428 grep -v '^ *+' conftest.er1 >conftest.err
14429 rm -f conftest.er1
14430 cat conftest.err >&5
14431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); } &&
14433 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14435 (eval $ac_try) 2>&5
14436 ac_status=$?
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); }; } &&
14439 { ac_try='test -s conftest.$ac_objext'
14440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14441 (eval $ac_try) 2>&5
14442 ac_status=$?
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); }; }; then
14445 bakefile_cv_cxx_compiler___HP_aCC=yes
14446 else
14447 echo "$as_me: failed program was:" >&5
14448 sed 's/^/| /' conftest.$ac_ext >&5
14449
14450 bakefile_cv_cxx_compiler___HP_aCC=no
14451
14452 fi
14453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14454
14455
14456 fi
14457 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14458 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14459 ac_ext=cc
14460 ac_cpp='$CXXCPP $CPPFLAGS'
14461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14464
14465 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14466 :; HPCXX=yes
14467 else
14468 :;
14469 fi
14470
14471
14472 ;;
14473
14474 OSF1)
14475
14476
14477 ac_ext=cc
14478 ac_cpp='$CXXCPP $CPPFLAGS'
14479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14482
14483 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14484 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14485 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14486 echo $ECHO_N "(cached) $ECHO_C" >&6
14487 else
14488 cat >conftest.$ac_ext <<_ACEOF
14489 /* confdefs.h. */
14490 _ACEOF
14491 cat confdefs.h >>conftest.$ac_ext
14492 cat >>conftest.$ac_ext <<_ACEOF
14493 /* end confdefs.h. */
14494
14495 int
14496 main ()
14497 {
14498
14499 #ifndef __DECCXX
14500 choke me
14501 #endif
14502
14503 ;
14504 return 0;
14505 }
14506 _ACEOF
14507 rm -f conftest.$ac_objext
14508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14509 (eval $ac_compile) 2>conftest.er1
14510 ac_status=$?
14511 grep -v '^ *+' conftest.er1 >conftest.err
14512 rm -f conftest.er1
14513 cat conftest.err >&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); } &&
14516 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14518 (eval $ac_try) 2>&5
14519 ac_status=$?
14520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521 (exit $ac_status); }; } &&
14522 { ac_try='test -s conftest.$ac_objext'
14523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14524 (eval $ac_try) 2>&5
14525 ac_status=$?
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); }; }; then
14528 bakefile_cv_cxx_compiler___DECCXX=yes
14529 else
14530 echo "$as_me: failed program was:" >&5
14531 sed 's/^/| /' conftest.$ac_ext >&5
14532
14533 bakefile_cv_cxx_compiler___DECCXX=no
14534
14535 fi
14536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14537
14538
14539 fi
14540 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14541 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14542 ac_ext=cc
14543 ac_cpp='$CXXCPP $CPPFLAGS'
14544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14547
14548 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14549 :; COMPAQCXX=yes
14550 else
14551 :;
14552 fi
14553
14554
14555 ;;
14556
14557 SunOS)
14558
14559
14560 ac_ext=cc
14561 ac_cpp='$CXXCPP $CPPFLAGS'
14562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14565
14566 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14567 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14568 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14569 echo $ECHO_N "(cached) $ECHO_C" >&6
14570 else
14571 cat >conftest.$ac_ext <<_ACEOF
14572 /* confdefs.h. */
14573 _ACEOF
14574 cat confdefs.h >>conftest.$ac_ext
14575 cat >>conftest.$ac_ext <<_ACEOF
14576 /* end confdefs.h. */
14577
14578 int
14579 main ()
14580 {
14581
14582 #ifndef __SUNPRO_CC
14583 choke me
14584 #endif
14585
14586 ;
14587 return 0;
14588 }
14589 _ACEOF
14590 rm -f conftest.$ac_objext
14591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14592 (eval $ac_compile) 2>conftest.er1
14593 ac_status=$?
14594 grep -v '^ *+' conftest.er1 >conftest.err
14595 rm -f conftest.er1
14596 cat conftest.err >&5
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); } &&
14599 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601 (eval $ac_try) 2>&5
14602 ac_status=$?
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); }; } &&
14605 { ac_try='test -s conftest.$ac_objext'
14606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607 (eval $ac_try) 2>&5
14608 ac_status=$?
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; }; then
14611 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14612 else
14613 echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.$ac_ext >&5
14615
14616 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14617
14618 fi
14619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14620
14621
14622 fi
14623 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14624 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14625 ac_ext=cc
14626 ac_cpp='$CXXCPP $CPPFLAGS'
14627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14630
14631 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14632 :; SUNCXX=yes
14633 else
14634 :;
14635 fi
14636
14637
14638 ;;
14639 esac
14640 fi
14641
14642
14643
14644 if test -n "$ac_tool_prefix"; then
14645 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14646 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14647 echo "$as_me:$LINENO: checking for $ac_word" >&5
14648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14649 if test "${ac_cv_prog_RANLIB+set}" = set; then
14650 echo $ECHO_N "(cached) $ECHO_C" >&6
14651 else
14652 if test -n "$RANLIB"; then
14653 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14654 else
14655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14656 for as_dir in $PATH
14657 do
14658 IFS=$as_save_IFS
14659 test -z "$as_dir" && as_dir=.
14660 for ac_exec_ext in '' $ac_executable_extensions; do
14661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14662 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14664 break 2
14665 fi
14666 done
14667 done
14668
14669 fi
14670 fi
14671 RANLIB=$ac_cv_prog_RANLIB
14672 if test -n "$RANLIB"; then
14673 echo "$as_me:$LINENO: result: $RANLIB" >&5
14674 echo "${ECHO_T}$RANLIB" >&6
14675 else
14676 echo "$as_me:$LINENO: result: no" >&5
14677 echo "${ECHO_T}no" >&6
14678 fi
14679
14680 fi
14681 if test -z "$ac_cv_prog_RANLIB"; then
14682 ac_ct_RANLIB=$RANLIB
14683 # Extract the first word of "ranlib", so it can be a program name with args.
14684 set dummy ranlib; ac_word=$2
14685 echo "$as_me:$LINENO: checking for $ac_word" >&5
14686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14687 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14688 echo $ECHO_N "(cached) $ECHO_C" >&6
14689 else
14690 if test -n "$ac_ct_RANLIB"; then
14691 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14692 else
14693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14694 for as_dir in $PATH
14695 do
14696 IFS=$as_save_IFS
14697 test -z "$as_dir" && as_dir=.
14698 for ac_exec_ext in '' $ac_executable_extensions; do
14699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14700 ac_cv_prog_ac_ct_RANLIB="ranlib"
14701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14702 break 2
14703 fi
14704 done
14705 done
14706
14707 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
14708 fi
14709 fi
14710 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14711 if test -n "$ac_ct_RANLIB"; then
14712 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14713 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14714 else
14715 echo "$as_me:$LINENO: result: no" >&5
14716 echo "${ECHO_T}no" >&6
14717 fi
14718
14719 RANLIB=$ac_ct_RANLIB
14720 else
14721 RANLIB="$ac_cv_prog_RANLIB"
14722 fi
14723
14724
14725 if test -n "$ac_tool_prefix"; then
14726 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14727 set dummy ${ac_tool_prefix}ar; ac_word=$2
14728 echo "$as_me:$LINENO: checking for $ac_word" >&5
14729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14730 if test "${ac_cv_prog_AR+set}" = set; then
14731 echo $ECHO_N "(cached) $ECHO_C" >&6
14732 else
14733 if test -n "$AR"; then
14734 ac_cv_prog_AR="$AR" # Let the user override the test.
14735 else
14736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14737 for as_dir in $PATH
14738 do
14739 IFS=$as_save_IFS
14740 test -z "$as_dir" && as_dir=.
14741 for ac_exec_ext in '' $ac_executable_extensions; do
14742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14743 ac_cv_prog_AR="${ac_tool_prefix}ar"
14744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14745 break 2
14746 fi
14747 done
14748 done
14749
14750 fi
14751 fi
14752 AR=$ac_cv_prog_AR
14753 if test -n "$AR"; then
14754 echo "$as_me:$LINENO: result: $AR" >&5
14755 echo "${ECHO_T}$AR" >&6
14756 else
14757 echo "$as_me:$LINENO: result: no" >&5
14758 echo "${ECHO_T}no" >&6
14759 fi
14760
14761 fi
14762 if test -z "$ac_cv_prog_AR"; then
14763 ac_ct_AR=$AR
14764 # Extract the first word of "ar", so it can be a program name with args.
14765 set dummy ar; ac_word=$2
14766 echo "$as_me:$LINENO: checking for $ac_word" >&5
14767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14768 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
14769 echo $ECHO_N "(cached) $ECHO_C" >&6
14770 else
14771 if test -n "$ac_ct_AR"; then
14772 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
14773 else
14774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14775 for as_dir in $PATH
14776 do
14777 IFS=$as_save_IFS
14778 test -z "$as_dir" && as_dir=.
14779 for ac_exec_ext in '' $ac_executable_extensions; do
14780 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14781 ac_cv_prog_ac_ct_AR="ar"
14782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14783 break 2
14784 fi
14785 done
14786 done
14787
14788 fi
14789 fi
14790 ac_ct_AR=$ac_cv_prog_ac_ct_AR
14791 if test -n "$ac_ct_AR"; then
14792 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
14793 echo "${ECHO_T}$ac_ct_AR" >&6
14794 else
14795 echo "$as_me:$LINENO: result: no" >&5
14796 echo "${ECHO_T}no" >&6
14797 fi
14798
14799 AR=$ac_ct_AR
14800 else
14801 AR="$ac_cv_prog_AR"
14802 fi
14803
14804 if test "x$AR" = "x" ; then
14805 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
14806 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
14807 { (exit 1); exit 1; }; }
14808 fi
14809
14810 # Find a good install program. We prefer a C program (faster),
14811 # so one script is as good as another. But avoid the broken or
14812 # incompatible versions:
14813 # SysV /etc/install, /usr/sbin/install
14814 # SunOS /usr/etc/install
14815 # IRIX /sbin/install
14816 # AIX /bin/install
14817 # AmigaOS /C/install, which installs bootblocks on floppy discs
14818 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
14819 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
14820 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
14821 # OS/2's system install, which has a completely different semantic
14822 # ./install, which can be erroneously created by make from ./install.sh.
14823 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
14824 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
14825 if test -z "$INSTALL"; then
14826 if test "${ac_cv_path_install+set}" = set; then
14827 echo $ECHO_N "(cached) $ECHO_C" >&6
14828 else
14829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14830 for as_dir in $PATH
14831 do
14832 IFS=$as_save_IFS
14833 test -z "$as_dir" && as_dir=.
14834 # Account for people who put trailing slashes in PATH elements.
14835 case $as_dir/ in
14836 ./ | .// | /cC/* | \
14837 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
14838 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
14839 /usr/ucb/* ) ;;
14840 *)
14841 # OSF1 and SCO ODT 3.0 have their own names for install.
14842 # Don't use installbsd from OSF since it installs stuff as root
14843 # by default.
14844 for ac_prog in ginstall scoinst install; do
14845 for ac_exec_ext in '' $ac_executable_extensions; do
14846 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
14847 if test $ac_prog = install &&
14848 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14849 # AIX install. It has an incompatible calling convention.
14850 :
14851 elif test $ac_prog = install &&
14852 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
14853 # program-specific install script used by HP pwplus--don't use.
14854 :
14855 else
14856 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
14857 break 3
14858 fi
14859 fi
14860 done
14861 done
14862 ;;
14863 esac
14864 done
14865
14866
14867 fi
14868 if test "${ac_cv_path_install+set}" = set; then
14869 INSTALL=$ac_cv_path_install
14870 else
14871 # As a last resort, use the slow shell script. We don't cache a
14872 # path for INSTALL within a source directory, because that will
14873 # break other packages using the cache if that directory is
14874 # removed, or if the path is relative.
14875 INSTALL=$ac_install_sh
14876 fi
14877 fi
14878 echo "$as_me:$LINENO: result: $INSTALL" >&5
14879 echo "${ECHO_T}$INSTALL" >&6
14880
14881 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
14882 # It thinks the first close brace ends the variable substitution.
14883 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
14884
14885 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
14886
14887 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
14888
14889
14890 case ${INSTALL} in
14891 /* ) # Absolute
14892 ;;
14893 ?:* ) # Drive letter, considered as absolute.
14894 ;;
14895 *)
14896 INSTALL=`pwd`/${INSTALL} ;;
14897 esac
14898
14899
14900 case "${host}" in
14901
14902 *-*-darwin* )
14903 INSTALL_PROGRAM="cp -fp"
14904 INSTALL_DATA="cp -fp"
14905 ;;
14906 *)
14907 ;;
14908 esac
14909
14910 if test -n "$ac_tool_prefix"; then
14911 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
14912 set dummy ${ac_tool_prefix}strip; ac_word=$2
14913 echo "$as_me:$LINENO: checking for $ac_word" >&5
14914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14915 if test "${ac_cv_prog_STRIP+set}" = set; then
14916 echo $ECHO_N "(cached) $ECHO_C" >&6
14917 else
14918 if test -n "$STRIP"; then
14919 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
14920 else
14921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14922 for as_dir in $PATH
14923 do
14924 IFS=$as_save_IFS
14925 test -z "$as_dir" && as_dir=.
14926 for ac_exec_ext in '' $ac_executable_extensions; do
14927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14928 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
14929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14930 break 2
14931 fi
14932 done
14933 done
14934
14935 fi
14936 fi
14937 STRIP=$ac_cv_prog_STRIP
14938 if test -n "$STRIP"; then
14939 echo "$as_me:$LINENO: result: $STRIP" >&5
14940 echo "${ECHO_T}$STRIP" >&6
14941 else
14942 echo "$as_me:$LINENO: result: no" >&5
14943 echo "${ECHO_T}no" >&6
14944 fi
14945
14946 fi
14947 if test -z "$ac_cv_prog_STRIP"; then
14948 ac_ct_STRIP=$STRIP
14949 # Extract the first word of "strip", so it can be a program name with args.
14950 set dummy strip; ac_word=$2
14951 echo "$as_me:$LINENO: checking for $ac_word" >&5
14952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14953 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
14954 echo $ECHO_N "(cached) $ECHO_C" >&6
14955 else
14956 if test -n "$ac_ct_STRIP"; then
14957 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
14958 else
14959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14960 for as_dir in $PATH
14961 do
14962 IFS=$as_save_IFS
14963 test -z "$as_dir" && as_dir=.
14964 for ac_exec_ext in '' $ac_executable_extensions; do
14965 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14966 ac_cv_prog_ac_ct_STRIP="strip"
14967 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14968 break 2
14969 fi
14970 done
14971 done
14972
14973 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
14974 fi
14975 fi
14976 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
14977 if test -n "$ac_ct_STRIP"; then
14978 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
14979 echo "${ECHO_T}$ac_ct_STRIP" >&6
14980 else
14981 echo "$as_me:$LINENO: result: no" >&5
14982 echo "${ECHO_T}no" >&6
14983 fi
14984
14985 STRIP=$ac_ct_STRIP
14986 else
14987 STRIP="$ac_cv_prog_STRIP"
14988 fi
14989
14990
14991 if test "$wxUSE_WINE" = "yes"; then
14992 if test -n "$ac_tool_prefix"; then
14993 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
14994 set dummy ${ac_tool_prefix}wrc; ac_word=$2
14995 echo "$as_me:$LINENO: checking for $ac_word" >&5
14996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14997 if test "${ac_cv_prog_WINDRES+set}" = set; then
14998 echo $ECHO_N "(cached) $ECHO_C" >&6
14999 else
15000 if test -n "$WINDRES"; then
15001 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15002 else
15003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15004 for as_dir in $PATH
15005 do
15006 IFS=$as_save_IFS
15007 test -z "$as_dir" && as_dir=.
15008 for ac_exec_ext in '' $ac_executable_extensions; do
15009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15010 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15012 break 2
15013 fi
15014 done
15015 done
15016
15017 fi
15018 fi
15019 WINDRES=$ac_cv_prog_WINDRES
15020 if test -n "$WINDRES"; then
15021 echo "$as_me:$LINENO: result: $WINDRES" >&5
15022 echo "${ECHO_T}$WINDRES" >&6
15023 else
15024 echo "$as_me:$LINENO: result: no" >&5
15025 echo "${ECHO_T}no" >&6
15026 fi
15027
15028 fi
15029 if test -z "$ac_cv_prog_WINDRES"; then
15030 ac_ct_WINDRES=$WINDRES
15031 # Extract the first word of "wrc", so it can be a program name with args.
15032 set dummy wrc; ac_word=$2
15033 echo "$as_me:$LINENO: checking for $ac_word" >&5
15034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15035 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15036 echo $ECHO_N "(cached) $ECHO_C" >&6
15037 else
15038 if test -n "$ac_ct_WINDRES"; then
15039 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15040 else
15041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15042 for as_dir in $PATH
15043 do
15044 IFS=$as_save_IFS
15045 test -z "$as_dir" && as_dir=.
15046 for ac_exec_ext in '' $ac_executable_extensions; do
15047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15048 ac_cv_prog_ac_ct_WINDRES="wrc"
15049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15050 break 2
15051 fi
15052 done
15053 done
15054
15055 fi
15056 fi
15057 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15058 if test -n "$ac_ct_WINDRES"; then
15059 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15060 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15061 else
15062 echo "$as_me:$LINENO: result: no" >&5
15063 echo "${ECHO_T}no" >&6
15064 fi
15065
15066 WINDRES=$ac_ct_WINDRES
15067 else
15068 WINDRES="$ac_cv_prog_WINDRES"
15069 fi
15070
15071 RESCOMP="$WINDRES"
15072 else
15073 case "${host}" in
15074 *-*-cygwin* | *-*-mingw32* )
15075 if test -n "$ac_tool_prefix"; then
15076 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15077 set dummy ${ac_tool_prefix}windres; ac_word=$2
15078 echo "$as_me:$LINENO: checking for $ac_word" >&5
15079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15080 if test "${ac_cv_prog_WINDRES+set}" = set; then
15081 echo $ECHO_N "(cached) $ECHO_C" >&6
15082 else
15083 if test -n "$WINDRES"; then
15084 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15085 else
15086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15087 for as_dir in $PATH
15088 do
15089 IFS=$as_save_IFS
15090 test -z "$as_dir" && as_dir=.
15091 for ac_exec_ext in '' $ac_executable_extensions; do
15092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15093 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15095 break 2
15096 fi
15097 done
15098 done
15099
15100 fi
15101 fi
15102 WINDRES=$ac_cv_prog_WINDRES
15103 if test -n "$WINDRES"; then
15104 echo "$as_me:$LINENO: result: $WINDRES" >&5
15105 echo "${ECHO_T}$WINDRES" >&6
15106 else
15107 echo "$as_me:$LINENO: result: no" >&5
15108 echo "${ECHO_T}no" >&6
15109 fi
15110
15111 fi
15112 if test -z "$ac_cv_prog_WINDRES"; then
15113 ac_ct_WINDRES=$WINDRES
15114 # Extract the first word of "windres", so it can be a program name with args.
15115 set dummy windres; ac_word=$2
15116 echo "$as_me:$LINENO: checking for $ac_word" >&5
15117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15118 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15119 echo $ECHO_N "(cached) $ECHO_C" >&6
15120 else
15121 if test -n "$ac_ct_WINDRES"; then
15122 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15123 else
15124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15125 for as_dir in $PATH
15126 do
15127 IFS=$as_save_IFS
15128 test -z "$as_dir" && as_dir=.
15129 for ac_exec_ext in '' $ac_executable_extensions; do
15130 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15131 ac_cv_prog_ac_ct_WINDRES="windres"
15132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15133 break 2
15134 fi
15135 done
15136 done
15137
15138 fi
15139 fi
15140 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15141 if test -n "$ac_ct_WINDRES"; then
15142 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15143 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15144 else
15145 echo "$as_me:$LINENO: result: no" >&5
15146 echo "${ECHO_T}no" >&6
15147 fi
15148
15149 WINDRES=$ac_ct_WINDRES
15150 else
15151 WINDRES="$ac_cv_prog_WINDRES"
15152 fi
15153
15154 RESCOMP="$WINDRES"
15155 if test -n "$ac_tool_prefix"; then
15156 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15157 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15158 echo "$as_me:$LINENO: checking for $ac_word" >&5
15159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15160 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15161 echo $ECHO_N "(cached) $ECHO_C" >&6
15162 else
15163 if test -n "$DLLTOOL"; then
15164 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15165 else
15166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15167 for as_dir in $PATH
15168 do
15169 IFS=$as_save_IFS
15170 test -z "$as_dir" && as_dir=.
15171 for ac_exec_ext in '' $ac_executable_extensions; do
15172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15173 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15175 break 2
15176 fi
15177 done
15178 done
15179
15180 fi
15181 fi
15182 DLLTOOL=$ac_cv_prog_DLLTOOL
15183 if test -n "$DLLTOOL"; then
15184 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15185 echo "${ECHO_T}$DLLTOOL" >&6
15186 else
15187 echo "$as_me:$LINENO: result: no" >&5
15188 echo "${ECHO_T}no" >&6
15189 fi
15190
15191 fi
15192 if test -z "$ac_cv_prog_DLLTOOL"; then
15193 ac_ct_DLLTOOL=$DLLTOOL
15194 # Extract the first word of "dlltool", so it can be a program name with args.
15195 set dummy dlltool; ac_word=$2
15196 echo "$as_me:$LINENO: checking for $ac_word" >&5
15197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15198 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15199 echo $ECHO_N "(cached) $ECHO_C" >&6
15200 else
15201 if test -n "$ac_ct_DLLTOOL"; then
15202 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15203 else
15204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15205 for as_dir in $PATH
15206 do
15207 IFS=$as_save_IFS
15208 test -z "$as_dir" && as_dir=.
15209 for ac_exec_ext in '' $ac_executable_extensions; do
15210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15211 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15213 break 2
15214 fi
15215 done
15216 done
15217
15218 fi
15219 fi
15220 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15221 if test -n "$ac_ct_DLLTOOL"; then
15222 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15223 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15224 else
15225 echo "$as_me:$LINENO: result: no" >&5
15226 echo "${ECHO_T}no" >&6
15227 fi
15228
15229 DLLTOOL=$ac_ct_DLLTOOL
15230 else
15231 DLLTOOL="$ac_cv_prog_DLLTOOL"
15232 fi
15233
15234 ;;
15235 esac
15236 fi
15237
15238 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15239 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15240 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15241 echo $ECHO_N "(cached) $ECHO_C" >&6
15242 else
15243
15244 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15245 egrep -s GNU > /dev/null); then
15246 wx_cv_prog_makeisgnu="yes"
15247 else
15248 wx_cv_prog_makeisgnu="no"
15249 fi
15250
15251 fi
15252 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15253 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15254
15255 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15256 IF_GNU_MAKE=""
15257 else
15258 IF_GNU_MAKE="#"
15259 fi
15260
15261
15262
15263 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15264 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15265 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15266 if test "${wx_cv_prog_makevpath+set}" = set; then
15267 echo $ECHO_N "(cached) $ECHO_C" >&6
15268 else
15269
15270 cat - << EOF > confMake
15271 check : file
15272 cp \$? \$@
15273 cp \$? final_file
15274 EOF
15275
15276 if test ! -d sub ; then
15277 mkdir sub
15278 fi
15279 echo dummy > sub/file
15280 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15281 RESULT=$?
15282 rm -f sub/file check final_file confMake
15283 rmdir sub
15284 if test "$RESULT" = 0; then
15285 wx_cv_prog_makevpath="yes"
15286 else
15287 wx_cv_prog_makevpath="no"
15288 fi
15289
15290 fi
15291 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15292 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15293
15294 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15295 { { echo "$as_me:$LINENO: error:
15296 You need a make-utility that is able to use the variable
15297 VPATH correctly.
15298 If your version of make does not support VPATH correctly,
15299 please install GNU-make (possibly as gmake), and start
15300 configure with the following command:
15301 export MAKE=gmake; ./configure for sh-type shells
15302 setenv MAKE gmake; ./configure for csh-type shells
15303 Also please do remember to use gmake in this case every time
15304 you are trying to compile.
15305 " >&5
15306 echo "$as_me: error:
15307 You need a make-utility that is able to use the variable
15308 VPATH correctly.
15309 If your version of make does not support VPATH correctly,
15310 please install GNU-make (possibly as gmake), and start
15311 configure with the following command:
15312 export MAKE=gmake; ./configure for sh-type shells
15313 setenv MAKE gmake; ./configure for csh-type shells
15314 Also please do remember to use gmake in this case every time
15315 you are trying to compile.
15316 " >&2;}
15317 { (exit 1); exit 1; }; }
15318 fi fi
15319 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15320 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15321 LN_S=$as_ln_s
15322 if test "$LN_S" = "ln -s"; then
15323 echo "$as_me:$LINENO: result: yes" >&5
15324 echo "${ECHO_T}yes" >&6
15325 else
15326 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15327 echo "${ECHO_T}no, using $LN_S" >&6
15328 fi
15329
15330
15331
15332
15333 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15334 CXXFLAGS="-qunique $CXXFLAGS"
15335 fi
15336
15337 case "${host}" in
15338 powerpc-*-darwin* )
15339 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15340 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15341 cat >conftest.$ac_ext <<_ACEOF
15342 /* confdefs.h. */
15343 _ACEOF
15344 cat confdefs.h >>conftest.$ac_ext
15345 cat >>conftest.$ac_ext <<_ACEOF
15346 /* end confdefs.h. */
15347
15348 int
15349 main ()
15350 {
15351 #ifndef __POWERPC__
15352 choke me for lack of PowerPC
15353 #endif
15354
15355 ;
15356 return 0;
15357 }
15358 _ACEOF
15359 rm -f conftest.$ac_objext
15360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15361 (eval $ac_compile) 2>conftest.er1
15362 ac_status=$?
15363 grep -v '^ *+' conftest.er1 >conftest.err
15364 rm -f conftest.er1
15365 cat conftest.err >&5
15366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15367 (exit $ac_status); } &&
15368 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15370 (eval $ac_try) 2>&5
15371 ac_status=$?
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); }; } &&
15374 { ac_try='test -s conftest.$ac_objext'
15375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15376 (eval $ac_try) 2>&5
15377 ac_status=$?
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); }; }; then
15380 echo "$as_me:$LINENO: result: yes" >&5
15381 echo "${ECHO_T}yes" >&6
15382 else
15383 echo "$as_me: failed program was:" >&5
15384 sed 's/^/| /' conftest.$ac_ext >&5
15385
15386 echo "$as_me:$LINENO: result: no" >&5
15387 echo "${ECHO_T}no" >&6
15388 cat >>confdefs.h <<\_ACEOF
15389 #define __POWERPC__ 1
15390 _ACEOF
15391
15392
15393 fi
15394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15395 ;;
15396 esac
15397
15398 case "${host}" in
15399 *-*-darwin* )
15400 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15401 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15402 cat >conftest.$ac_ext <<_ACEOF
15403 /* confdefs.h. */
15404 _ACEOF
15405 cat confdefs.h >>conftest.$ac_ext
15406 cat >>conftest.$ac_ext <<_ACEOF
15407 /* end confdefs.h. */
15408 #include <CoreFoundation/CFBase.h>
15409
15410 int
15411 main ()
15412 {
15413
15414 ;
15415 return 0;
15416 }
15417 _ACEOF
15418 rm -f conftest.$ac_objext
15419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15420 (eval $ac_compile) 2>conftest.er1
15421 ac_status=$?
15422 grep -v '^ *+' conftest.er1 >conftest.err
15423 rm -f conftest.er1
15424 cat conftest.err >&5
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); } &&
15427 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15429 (eval $ac_try) 2>&5
15430 ac_status=$?
15431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15432 (exit $ac_status); }; } &&
15433 { ac_try='test -s conftest.$ac_objext'
15434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15435 (eval $ac_try) 2>&5
15436 ac_status=$?
15437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15438 (exit $ac_status); }; }; then
15439 echo "$as_me:$LINENO: result: yes" >&5
15440 echo "${ECHO_T}yes" >&6
15441 else
15442 echo "$as_me: failed program was:" >&5
15443 sed 's/^/| /' conftest.$ac_ext >&5
15444
15445 echo "$as_me:$LINENO: result: no" >&5
15446 echo "${ECHO_T}no" >&6
15447 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15448 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15449 cat >conftest.$ac_ext <<_ACEOF
15450 /* confdefs.h. */
15451 _ACEOF
15452 cat confdefs.h >>conftest.$ac_ext
15453 cat >>conftest.$ac_ext <<_ACEOF
15454 /* end confdefs.h. */
15455 #define __CF_USE_FRAMEWORK_INCLUDES__
15456 #include <CoreFoundation/CFBase.h>
15457
15458 int
15459 main ()
15460 {
15461
15462 ;
15463 return 0;
15464 }
15465 _ACEOF
15466 rm -f conftest.$ac_objext
15467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15468 (eval $ac_compile) 2>conftest.er1
15469 ac_status=$?
15470 grep -v '^ *+' conftest.er1 >conftest.err
15471 rm -f conftest.er1
15472 cat conftest.err >&5
15473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); } &&
15475 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15477 (eval $ac_try) 2>&5
15478 ac_status=$?
15479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15480 (exit $ac_status); }; } &&
15481 { ac_try='test -s conftest.$ac_objext'
15482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15483 (eval $ac_try) 2>&5
15484 ac_status=$?
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); }; }; then
15487 echo "$as_me:$LINENO: result: yes" >&5
15488 echo "${ECHO_T}yes" >&6
15489 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15490 else
15491 echo "$as_me: failed program was:" >&5
15492 sed 's/^/| /' conftest.$ac_ext >&5
15493
15494 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15495 See \`config.log' for more details." >&5
15496 echo "$as_me: error: no. CoreFoundation not available.
15497 See \`config.log' for more details." >&2;}
15498 { (exit 1); exit 1; }; }
15499
15500 fi
15501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15502
15503
15504 fi
15505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15506 ;;
15507 esac
15508
15509 case "${host}" in
15510 *-pc-os2_emx | *-pc-os2-emx )
15511 ac_ext=c
15512 ac_cpp='$CPP $CPPFLAGS'
15513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15516
15517 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15518 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15519 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15520 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15521 echo $ECHO_N "(cached) $ECHO_C" >&6
15522 else
15523 ac_check_lib_save_LIBS=$LIBS
15524 LIBS="-lcExt $LIBS"
15525 cat >conftest.$ac_ext <<_ACEOF
15526 /* confdefs.h. */
15527 _ACEOF
15528 cat confdefs.h >>conftest.$ac_ext
15529 cat >>conftest.$ac_ext <<_ACEOF
15530 /* end confdefs.h. */
15531
15532 /* Override any gcc2 internal prototype to avoid an error. */
15533 #ifdef __cplusplus
15534 extern "C"
15535 #endif
15536 /* We use char because int might match the return type of a gcc2
15537 builtin and then its argument prototype would still apply. */
15538 char drand48 ();
15539 int
15540 main ()
15541 {
15542 drand48 ();
15543 ;
15544 return 0;
15545 }
15546 _ACEOF
15547 rm -f conftest.$ac_objext conftest$ac_exeext
15548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15549 (eval $ac_link) 2>conftest.er1
15550 ac_status=$?
15551 grep -v '^ *+' conftest.er1 >conftest.err
15552 rm -f conftest.er1
15553 cat conftest.err >&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); } &&
15556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15558 (eval $ac_try) 2>&5
15559 ac_status=$?
15560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15561 (exit $ac_status); }; } &&
15562 { ac_try='test -s conftest$ac_exeext'
15563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15564 (eval $ac_try) 2>&5
15565 ac_status=$?
15566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15567 (exit $ac_status); }; }; then
15568 ac_cv_lib_cExt_drand48=yes
15569 else
15570 echo "$as_me: failed program was:" >&5
15571 sed 's/^/| /' conftest.$ac_ext >&5
15572
15573 ac_cv_lib_cExt_drand48=no
15574 fi
15575 rm -f conftest.err conftest.$ac_objext \
15576 conftest$ac_exeext conftest.$ac_ext
15577 LIBS=$ac_check_lib_save_LIBS
15578 fi
15579 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15580 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15581 if test $ac_cv_lib_cExt_drand48 = yes; then
15582 LIBS="$LIBS -lcExt"
15583 fi
15584
15585 else
15586 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15587 fi
15588 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15589 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15590 if test "${wx_cv_gccversion+set}" = set; then
15591 echo $ECHO_N "(cached) $ECHO_C" >&6
15592 else
15593
15594 if test "$cross_compiling" = yes; then
15595 wx_cv_gccversion="EMX2"
15596
15597 else
15598 cat >conftest.$ac_ext <<_ACEOF
15599 /* confdefs.h. */
15600 _ACEOF
15601 cat confdefs.h >>conftest.$ac_ext
15602 cat >>conftest.$ac_ext <<_ACEOF
15603 /* end confdefs.h. */
15604
15605 #include <stdio.h>
15606
15607 int main()
15608 {
15609 FILE *f=fopen("conftestval", "w");
15610 if (!f) exit(1);
15611 fprintf(f,
15612 #if (__GNUC__ < 3)
15613 "EMX2"
15614 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15615 "EMX3"
15616 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15617 "Innotek5"
15618 #else
15619 "Innotek6"
15620 #endif
15621 );
15622 exit(0);
15623 }
15624
15625 _ACEOF
15626 rm -f conftest$ac_exeext
15627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15628 (eval $ac_link) 2>&5
15629 ac_status=$?
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15633 (eval $ac_try) 2>&5
15634 ac_status=$?
15635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15636 (exit $ac_status); }; }; then
15637 wx_cv_gccversion=`cat conftestval`
15638 else
15639 echo "$as_me: program exited with status $ac_status" >&5
15640 echo "$as_me: failed program was:" >&5
15641 sed 's/^/| /' conftest.$ac_ext >&5
15642
15643 ( exit $ac_status )
15644 wx_cv_gccversion="EMX2"
15645 fi
15646 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15647 fi
15648
15649 fi
15650 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15651 echo "${ECHO_T}$wx_cv_gccversion" >&6
15652 ac_ext=cc
15653 ac_cpp='$CXXCPP $CPPFLAGS'
15654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15657
15658 if test "$wx_cv_gccversion" = "EMX2"; then
15659 LIBS="$LIBS -lstdcpp"
15660 LDFLAGS="$LDFLAGS -Zsysv-signals"
15661 else
15662 if test "$wx_cv_gccversion" = "EMX3"; then
15663 LIBS="$LIBS -lstdcxx -lgcc"
15664 LDFLAGS="$LDFLAGS -Zsysv-signals"
15665 else
15666 LIBS="$LIBS -lstdc++"
15667 fi
15668 fi
15669 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15670 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15671 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15672 wxUSE_OMF=yes
15673 enable_omf=yes
15674 fi
15675 ;;
15676 *)
15677
15678 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15679 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15680 if test "${ac_cv_string_strcasecmp+set}" = set; then
15681 echo $ECHO_N "(cached) $ECHO_C" >&6
15682 else
15683
15684 cat >conftest.$ac_ext <<_ACEOF
15685 /* confdefs.h. */
15686 _ACEOF
15687 cat confdefs.h >>conftest.$ac_ext
15688 cat >>conftest.$ac_ext <<_ACEOF
15689 /* end confdefs.h. */
15690
15691 #include <string.h>
15692
15693 int
15694 main ()
15695 {
15696
15697 strcasecmp("foo", "bar");
15698
15699 ;
15700 return 0;
15701 }
15702 _ACEOF
15703 rm -f conftest.$ac_objext conftest$ac_exeext
15704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15705 (eval $ac_link) 2>conftest.er1
15706 ac_status=$?
15707 grep -v '^ *+' conftest.er1 >conftest.err
15708 rm -f conftest.er1
15709 cat conftest.err >&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); } &&
15712 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15714 (eval $ac_try) 2>&5
15715 ac_status=$?
15716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15717 (exit $ac_status); }; } &&
15718 { ac_try='test -s conftest$ac_exeext'
15719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15720 (eval $ac_try) 2>&5
15721 ac_status=$?
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); }; }; then
15724 ac_cv_string_strcasecmp=yes
15725 else
15726 echo "$as_me: failed program was:" >&5
15727 sed 's/^/| /' conftest.$ac_ext >&5
15728
15729 ac_cv_string_strcasecmp=no
15730
15731 fi
15732 rm -f conftest.err conftest.$ac_objext \
15733 conftest$ac_exeext conftest.$ac_ext
15734
15735 fi
15736 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15737 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15738
15739 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
15740 cat >>confdefs.h <<\_ACEOF
15741 #define HAVE_STRCASECMP_IN_STRING_H 1
15742 _ACEOF
15743
15744 else
15745 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15746 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15747 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15748 echo $ECHO_N "(cached) $ECHO_C" >&6
15749 else
15750
15751 cat >conftest.$ac_ext <<_ACEOF
15752 /* confdefs.h. */
15753 _ACEOF
15754 cat confdefs.h >>conftest.$ac_ext
15755 cat >>conftest.$ac_ext <<_ACEOF
15756 /* end confdefs.h. */
15757
15758 #include <strings.h>
15759
15760 int
15761 main ()
15762 {
15763
15764 strcasecmp("foo", "bar");
15765
15766 ;
15767 return 0;
15768 }
15769 _ACEOF
15770 rm -f conftest.$ac_objext conftest$ac_exeext
15771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15772 (eval $ac_link) 2>conftest.er1
15773 ac_status=$?
15774 grep -v '^ *+' conftest.er1 >conftest.err
15775 rm -f conftest.er1
15776 cat conftest.err >&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); } &&
15779 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15781 (eval $ac_try) 2>&5
15782 ac_status=$?
15783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15784 (exit $ac_status); }; } &&
15785 { ac_try='test -s conftest$ac_exeext'
15786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15787 (eval $ac_try) 2>&5
15788 ac_status=$?
15789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15790 (exit $ac_status); }; }; then
15791 ac_cv_strings_strcasecmp=yes
15792 else
15793 echo "$as_me: failed program was:" >&5
15794 sed 's/^/| /' conftest.$ac_ext >&5
15795
15796 ac_cv_strings_strcasecmp=no
15797
15798 fi
15799 rm -f conftest.err conftest.$ac_objext \
15800 conftest$ac_exeext conftest.$ac_ext
15801
15802 fi
15803 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
15804 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
15805
15806 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
15807 cat >>confdefs.h <<\_ACEOF
15808 #define HAVE_STRCASECMP_IN_STRINGS_H 1
15809 _ACEOF
15810
15811 else
15812 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
15813 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
15814 { (exit 1); exit 1; }; }
15815 fi
15816 fi
15817
15818 ;;
15819 esac
15820
15821
15822 ac_ext=cc
15823 ac_cpp='$CXXCPP $CPPFLAGS'
15824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15827 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
15828 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
15829 if test -z "$CXXCPP"; then
15830 if test "${ac_cv_prog_CXXCPP+set}" = set; then
15831 echo $ECHO_N "(cached) $ECHO_C" >&6
15832 else
15833 # Double quotes because CXXCPP needs to be expanded
15834 for CXXCPP in "$CXX -E" "/lib/cpp"
15835 do
15836 ac_preproc_ok=false
15837 for ac_cxx_preproc_warn_flag in '' yes
15838 do
15839 # Use a header file that comes with gcc, so configuring glibc
15840 # with a fresh cross-compiler works.
15841 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15842 # <limits.h> exists even on freestanding compilers.
15843 # On the NeXT, cc -E runs the code through the compiler's parser,
15844 # not just through cpp. "Syntax error" is here to catch this case.
15845 cat >conftest.$ac_ext <<_ACEOF
15846 /* confdefs.h. */
15847 _ACEOF
15848 cat confdefs.h >>conftest.$ac_ext
15849 cat >>conftest.$ac_ext <<_ACEOF
15850 /* end confdefs.h. */
15851 #ifdef __STDC__
15852 # include <limits.h>
15853 #else
15854 # include <assert.h>
15855 #endif
15856 Syntax error
15857 _ACEOF
15858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15860 ac_status=$?
15861 grep -v '^ *+' conftest.er1 >conftest.err
15862 rm -f conftest.er1
15863 cat conftest.err >&5
15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15865 (exit $ac_status); } >/dev/null; then
15866 if test -s conftest.err; then
15867 ac_cpp_err=$ac_cxx_preproc_warn_flag
15868 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15869 else
15870 ac_cpp_err=
15871 fi
15872 else
15873 ac_cpp_err=yes
15874 fi
15875 if test -z "$ac_cpp_err"; then
15876 :
15877 else
15878 echo "$as_me: failed program was:" >&5
15879 sed 's/^/| /' conftest.$ac_ext >&5
15880
15881 # Broken: fails on valid input.
15882 continue
15883 fi
15884 rm -f conftest.err conftest.$ac_ext
15885
15886 # OK, works on sane cases. Now check whether non-existent headers
15887 # can be detected and how.
15888 cat >conftest.$ac_ext <<_ACEOF
15889 /* confdefs.h. */
15890 _ACEOF
15891 cat confdefs.h >>conftest.$ac_ext
15892 cat >>conftest.$ac_ext <<_ACEOF
15893 /* end confdefs.h. */
15894 #include <ac_nonexistent.h>
15895 _ACEOF
15896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15897 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15898 ac_status=$?
15899 grep -v '^ *+' conftest.er1 >conftest.err
15900 rm -f conftest.er1
15901 cat conftest.err >&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); } >/dev/null; then
15904 if test -s conftest.err; then
15905 ac_cpp_err=$ac_cxx_preproc_warn_flag
15906 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15907 else
15908 ac_cpp_err=
15909 fi
15910 else
15911 ac_cpp_err=yes
15912 fi
15913 if test -z "$ac_cpp_err"; then
15914 # Broken: success on invalid input.
15915 continue
15916 else
15917 echo "$as_me: failed program was:" >&5
15918 sed 's/^/| /' conftest.$ac_ext >&5
15919
15920 # Passes both tests.
15921 ac_preproc_ok=:
15922 break
15923 fi
15924 rm -f conftest.err conftest.$ac_ext
15925
15926 done
15927 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15928 rm -f conftest.err conftest.$ac_ext
15929 if $ac_preproc_ok; then
15930 break
15931 fi
15932
15933 done
15934 ac_cv_prog_CXXCPP=$CXXCPP
15935
15936 fi
15937 CXXCPP=$ac_cv_prog_CXXCPP
15938 else
15939 ac_cv_prog_CXXCPP=$CXXCPP
15940 fi
15941 echo "$as_me:$LINENO: result: $CXXCPP" >&5
15942 echo "${ECHO_T}$CXXCPP" >&6
15943 ac_preproc_ok=false
15944 for ac_cxx_preproc_warn_flag in '' yes
15945 do
15946 # Use a header file that comes with gcc, so configuring glibc
15947 # with a fresh cross-compiler works.
15948 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15949 # <limits.h> exists even on freestanding compilers.
15950 # On the NeXT, cc -E runs the code through the compiler's parser,
15951 # not just through cpp. "Syntax error" is here to catch this case.
15952 cat >conftest.$ac_ext <<_ACEOF
15953 /* confdefs.h. */
15954 _ACEOF
15955 cat confdefs.h >>conftest.$ac_ext
15956 cat >>conftest.$ac_ext <<_ACEOF
15957 /* end confdefs.h. */
15958 #ifdef __STDC__
15959 # include <limits.h>
15960 #else
15961 # include <assert.h>
15962 #endif
15963 Syntax error
15964 _ACEOF
15965 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15966 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15967 ac_status=$?
15968 grep -v '^ *+' conftest.er1 >conftest.err
15969 rm -f conftest.er1
15970 cat conftest.err >&5
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15972 (exit $ac_status); } >/dev/null; then
15973 if test -s conftest.err; then
15974 ac_cpp_err=$ac_cxx_preproc_warn_flag
15975 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15976 else
15977 ac_cpp_err=
15978 fi
15979 else
15980 ac_cpp_err=yes
15981 fi
15982 if test -z "$ac_cpp_err"; then
15983 :
15984 else
15985 echo "$as_me: failed program was:" >&5
15986 sed 's/^/| /' conftest.$ac_ext >&5
15987
15988 # Broken: fails on valid input.
15989 continue
15990 fi
15991 rm -f conftest.err conftest.$ac_ext
15992
15993 # OK, works on sane cases. Now check whether non-existent headers
15994 # can be detected and how.
15995 cat >conftest.$ac_ext <<_ACEOF
15996 /* confdefs.h. */
15997 _ACEOF
15998 cat confdefs.h >>conftest.$ac_ext
15999 cat >>conftest.$ac_ext <<_ACEOF
16000 /* end confdefs.h. */
16001 #include <ac_nonexistent.h>
16002 _ACEOF
16003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16005 ac_status=$?
16006 grep -v '^ *+' conftest.er1 >conftest.err
16007 rm -f conftest.er1
16008 cat conftest.err >&5
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); } >/dev/null; then
16011 if test -s conftest.err; then
16012 ac_cpp_err=$ac_cxx_preproc_warn_flag
16013 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16014 else
16015 ac_cpp_err=
16016 fi
16017 else
16018 ac_cpp_err=yes
16019 fi
16020 if test -z "$ac_cpp_err"; then
16021 # Broken: success on invalid input.
16022 continue
16023 else
16024 echo "$as_me: failed program was:" >&5
16025 sed 's/^/| /' conftest.$ac_ext >&5
16026
16027 # Passes both tests.
16028 ac_preproc_ok=:
16029 break
16030 fi
16031 rm -f conftest.err conftest.$ac_ext
16032
16033 done
16034 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16035 rm -f conftest.err conftest.$ac_ext
16036 if $ac_preproc_ok; then
16037 :
16038 else
16039 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16040 See \`config.log' for more details." >&5
16041 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16042 See \`config.log' for more details." >&2;}
16043 { (exit 1); exit 1; }; }
16044 fi
16045
16046 ac_ext=cc
16047 ac_cpp='$CXXCPP $CPPFLAGS'
16048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16051
16052
16053 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16054 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16055 if test "${ac_cv_header_stdc+set}" = set; then
16056 echo $ECHO_N "(cached) $ECHO_C" >&6
16057 else
16058 cat >conftest.$ac_ext <<_ACEOF
16059 /* confdefs.h. */
16060 _ACEOF
16061 cat confdefs.h >>conftest.$ac_ext
16062 cat >>conftest.$ac_ext <<_ACEOF
16063 /* end confdefs.h. */
16064 #include <stdlib.h>
16065 #include <stdarg.h>
16066 #include <string.h>
16067 #include <float.h>
16068
16069 int
16070 main ()
16071 {
16072
16073 ;
16074 return 0;
16075 }
16076 _ACEOF
16077 rm -f conftest.$ac_objext
16078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16079 (eval $ac_compile) 2>conftest.er1
16080 ac_status=$?
16081 grep -v '^ *+' conftest.er1 >conftest.err
16082 rm -f conftest.er1
16083 cat conftest.err >&5
16084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16085 (exit $ac_status); } &&
16086 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16088 (eval $ac_try) 2>&5
16089 ac_status=$?
16090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16091 (exit $ac_status); }; } &&
16092 { ac_try='test -s conftest.$ac_objext'
16093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16094 (eval $ac_try) 2>&5
16095 ac_status=$?
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); }; }; then
16098 ac_cv_header_stdc=yes
16099 else
16100 echo "$as_me: failed program was:" >&5
16101 sed 's/^/| /' conftest.$ac_ext >&5
16102
16103 ac_cv_header_stdc=no
16104 fi
16105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16106
16107 if test $ac_cv_header_stdc = yes; then
16108 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16109 cat >conftest.$ac_ext <<_ACEOF
16110 /* confdefs.h. */
16111 _ACEOF
16112 cat confdefs.h >>conftest.$ac_ext
16113 cat >>conftest.$ac_ext <<_ACEOF
16114 /* end confdefs.h. */
16115 #include <string.h>
16116
16117 _ACEOF
16118 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16119 $EGREP "memchr" >/dev/null 2>&1; then
16120 :
16121 else
16122 ac_cv_header_stdc=no
16123 fi
16124 rm -f conftest*
16125
16126 fi
16127
16128 if test $ac_cv_header_stdc = yes; then
16129 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16130 cat >conftest.$ac_ext <<_ACEOF
16131 /* confdefs.h. */
16132 _ACEOF
16133 cat confdefs.h >>conftest.$ac_ext
16134 cat >>conftest.$ac_ext <<_ACEOF
16135 /* end confdefs.h. */
16136 #include <stdlib.h>
16137
16138 _ACEOF
16139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16140 $EGREP "free" >/dev/null 2>&1; then
16141 :
16142 else
16143 ac_cv_header_stdc=no
16144 fi
16145 rm -f conftest*
16146
16147 fi
16148
16149 if test $ac_cv_header_stdc = yes; then
16150 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16151 if test "$cross_compiling" = yes; then
16152 :
16153 else
16154 cat >conftest.$ac_ext <<_ACEOF
16155 /* confdefs.h. */
16156 _ACEOF
16157 cat confdefs.h >>conftest.$ac_ext
16158 cat >>conftest.$ac_ext <<_ACEOF
16159 /* end confdefs.h. */
16160 #include <ctype.h>
16161 #if ((' ' & 0x0FF) == 0x020)
16162 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16163 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16164 #else
16165 # define ISLOWER(c) \
16166 (('a' <= (c) && (c) <= 'i') \
16167 || ('j' <= (c) && (c) <= 'r') \
16168 || ('s' <= (c) && (c) <= 'z'))
16169 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16170 #endif
16171
16172 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16173 int
16174 main ()
16175 {
16176 int i;
16177 for (i = 0; i < 256; i++)
16178 if (XOR (islower (i), ISLOWER (i))
16179 || toupper (i) != TOUPPER (i))
16180 exit(2);
16181 exit (0);
16182 }
16183 _ACEOF
16184 rm -f conftest$ac_exeext
16185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16186 (eval $ac_link) 2>&5
16187 ac_status=$?
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16191 (eval $ac_try) 2>&5
16192 ac_status=$?
16193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16194 (exit $ac_status); }; }; then
16195 :
16196 else
16197 echo "$as_me: program exited with status $ac_status" >&5
16198 echo "$as_me: failed program was:" >&5
16199 sed 's/^/| /' conftest.$ac_ext >&5
16200
16201 ( exit $ac_status )
16202 ac_cv_header_stdc=no
16203 fi
16204 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16205 fi
16206 fi
16207 fi
16208 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16209 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16210 if test $ac_cv_header_stdc = yes; then
16211
16212 cat >>confdefs.h <<\_ACEOF
16213 #define STDC_HEADERS 1
16214 _ACEOF
16215
16216 fi
16217
16218 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16229 inttypes.h stdint.h unistd.h
16230 do
16231 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16232 echo "$as_me:$LINENO: checking for $ac_header" >&5
16233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16235 echo $ECHO_N "(cached) $ECHO_C" >&6
16236 else
16237 cat >conftest.$ac_ext <<_ACEOF
16238 /* confdefs.h. */
16239 _ACEOF
16240 cat confdefs.h >>conftest.$ac_ext
16241 cat >>conftest.$ac_ext <<_ACEOF
16242 /* end confdefs.h. */
16243 $ac_includes_default
16244
16245 #include <$ac_header>
16246 _ACEOF
16247 rm -f conftest.$ac_objext
16248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16249 (eval $ac_compile) 2>conftest.er1
16250 ac_status=$?
16251 grep -v '^ *+' conftest.er1 >conftest.err
16252 rm -f conftest.er1
16253 cat conftest.err >&5
16254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255 (exit $ac_status); } &&
16256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16258 (eval $ac_try) 2>&5
16259 ac_status=$?
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); }; } &&
16262 { ac_try='test -s conftest.$ac_objext'
16263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16264 (eval $ac_try) 2>&5
16265 ac_status=$?
16266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16267 (exit $ac_status); }; }; then
16268 eval "$as_ac_Header=yes"
16269 else
16270 echo "$as_me: failed program was:" >&5
16271 sed 's/^/| /' conftest.$ac_ext >&5
16272
16273 eval "$as_ac_Header=no"
16274 fi
16275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16276 fi
16277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16280 cat >>confdefs.h <<_ACEOF
16281 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16282 _ACEOF
16283
16284 fi
16285
16286 done
16287
16288
16289
16290 for ac_header in stdlib.h
16291 do
16292 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16294 echo "$as_me:$LINENO: checking for $ac_header" >&5
16295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16297 echo $ECHO_N "(cached) $ECHO_C" >&6
16298 fi
16299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16301 else
16302 # Is the header compilable?
16303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16305 cat >conftest.$ac_ext <<_ACEOF
16306 /* confdefs.h. */
16307 _ACEOF
16308 cat confdefs.h >>conftest.$ac_ext
16309 cat >>conftest.$ac_ext <<_ACEOF
16310 /* end confdefs.h. */
16311 $ac_includes_default
16312 #include <$ac_header>
16313 _ACEOF
16314 rm -f conftest.$ac_objext
16315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16316 (eval $ac_compile) 2>conftest.er1
16317 ac_status=$?
16318 grep -v '^ *+' conftest.er1 >conftest.err
16319 rm -f conftest.er1
16320 cat conftest.err >&5
16321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16322 (exit $ac_status); } &&
16323 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16325 (eval $ac_try) 2>&5
16326 ac_status=$?
16327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328 (exit $ac_status); }; } &&
16329 { ac_try='test -s conftest.$ac_objext'
16330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16331 (eval $ac_try) 2>&5
16332 ac_status=$?
16333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16334 (exit $ac_status); }; }; then
16335 ac_header_compiler=yes
16336 else
16337 echo "$as_me: failed program was:" >&5
16338 sed 's/^/| /' conftest.$ac_ext >&5
16339
16340 ac_header_compiler=no
16341 fi
16342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16344 echo "${ECHO_T}$ac_header_compiler" >&6
16345
16346 # Is the header present?
16347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16349 cat >conftest.$ac_ext <<_ACEOF
16350 /* confdefs.h. */
16351 _ACEOF
16352 cat confdefs.h >>conftest.$ac_ext
16353 cat >>conftest.$ac_ext <<_ACEOF
16354 /* end confdefs.h. */
16355 #include <$ac_header>
16356 _ACEOF
16357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16358 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16359 ac_status=$?
16360 grep -v '^ *+' conftest.er1 >conftest.err
16361 rm -f conftest.er1
16362 cat conftest.err >&5
16363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16364 (exit $ac_status); } >/dev/null; then
16365 if test -s conftest.err; then
16366 ac_cpp_err=$ac_cxx_preproc_warn_flag
16367 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16368 else
16369 ac_cpp_err=
16370 fi
16371 else
16372 ac_cpp_err=yes
16373 fi
16374 if test -z "$ac_cpp_err"; then
16375 ac_header_preproc=yes
16376 else
16377 echo "$as_me: failed program was:" >&5
16378 sed 's/^/| /' conftest.$ac_ext >&5
16379
16380 ac_header_preproc=no
16381 fi
16382 rm -f conftest.err conftest.$ac_ext
16383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16384 echo "${ECHO_T}$ac_header_preproc" >&6
16385
16386 # So? What about this header?
16387 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16388 yes:no: )
16389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16390 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16392 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16393 ac_header_preproc=yes
16394 ;;
16395 no:yes:* )
16396 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16397 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16398 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16399 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16400 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16401 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16402 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16403 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16405 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16406 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16407 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16408 (
16409 cat <<\_ASBOX
16410 ## ----------------------------------------- ##
16411 ## Report this to wx-dev@lists.wxwidgets.org ##
16412 ## ----------------------------------------- ##
16413 _ASBOX
16414 ) |
16415 sed "s/^/$as_me: WARNING: /" >&2
16416 ;;
16417 esac
16418 echo "$as_me:$LINENO: checking for $ac_header" >&5
16419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16421 echo $ECHO_N "(cached) $ECHO_C" >&6
16422 else
16423 eval "$as_ac_Header=\$ac_header_preproc"
16424 fi
16425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16427
16428 fi
16429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16430 cat >>confdefs.h <<_ACEOF
16431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16432 _ACEOF
16433
16434 fi
16435
16436 done
16437
16438
16439 for ac_header in malloc.h
16440 do
16441 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16442 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16443 echo "$as_me:$LINENO: checking for $ac_header" >&5
16444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16446 echo $ECHO_N "(cached) $ECHO_C" >&6
16447 fi
16448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16450 else
16451 # Is the header compilable?
16452 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16453 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16454 cat >conftest.$ac_ext <<_ACEOF
16455 /* confdefs.h. */
16456 _ACEOF
16457 cat confdefs.h >>conftest.$ac_ext
16458 cat >>conftest.$ac_ext <<_ACEOF
16459 /* end confdefs.h. */
16460 $ac_includes_default
16461 #include <$ac_header>
16462 _ACEOF
16463 rm -f conftest.$ac_objext
16464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16465 (eval $ac_compile) 2>conftest.er1
16466 ac_status=$?
16467 grep -v '^ *+' conftest.er1 >conftest.err
16468 rm -f conftest.er1
16469 cat conftest.err >&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); } &&
16472 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16474 (eval $ac_try) 2>&5
16475 ac_status=$?
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); }; } &&
16478 { ac_try='test -s conftest.$ac_objext'
16479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16480 (eval $ac_try) 2>&5
16481 ac_status=$?
16482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16483 (exit $ac_status); }; }; then
16484 ac_header_compiler=yes
16485 else
16486 echo "$as_me: failed program was:" >&5
16487 sed 's/^/| /' conftest.$ac_ext >&5
16488
16489 ac_header_compiler=no
16490 fi
16491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16493 echo "${ECHO_T}$ac_header_compiler" >&6
16494
16495 # Is the header present?
16496 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16497 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16498 cat >conftest.$ac_ext <<_ACEOF
16499 /* confdefs.h. */
16500 _ACEOF
16501 cat confdefs.h >>conftest.$ac_ext
16502 cat >>conftest.$ac_ext <<_ACEOF
16503 /* end confdefs.h. */
16504 #include <$ac_header>
16505 _ACEOF
16506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16507 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16508 ac_status=$?
16509 grep -v '^ *+' conftest.er1 >conftest.err
16510 rm -f conftest.er1
16511 cat conftest.err >&5
16512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16513 (exit $ac_status); } >/dev/null; then
16514 if test -s conftest.err; then
16515 ac_cpp_err=$ac_cxx_preproc_warn_flag
16516 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16517 else
16518 ac_cpp_err=
16519 fi
16520 else
16521 ac_cpp_err=yes
16522 fi
16523 if test -z "$ac_cpp_err"; then
16524 ac_header_preproc=yes
16525 else
16526 echo "$as_me: failed program was:" >&5
16527 sed 's/^/| /' conftest.$ac_ext >&5
16528
16529 ac_header_preproc=no
16530 fi
16531 rm -f conftest.err conftest.$ac_ext
16532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16533 echo "${ECHO_T}$ac_header_preproc" >&6
16534
16535 # So? What about this header?
16536 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16537 yes:no: )
16538 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16539 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16541 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16542 ac_header_preproc=yes
16543 ;;
16544 no:yes:* )
16545 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16546 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16547 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16548 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16549 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16550 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16551 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16552 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16555 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16556 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16557 (
16558 cat <<\_ASBOX
16559 ## ----------------------------------------- ##
16560 ## Report this to wx-dev@lists.wxwidgets.org ##
16561 ## ----------------------------------------- ##
16562 _ASBOX
16563 ) |
16564 sed "s/^/$as_me: WARNING: /" >&2
16565 ;;
16566 esac
16567 echo "$as_me:$LINENO: checking for $ac_header" >&5
16568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16571 else
16572 eval "$as_ac_Header=\$ac_header_preproc"
16573 fi
16574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16576
16577 fi
16578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16579 cat >>confdefs.h <<_ACEOF
16580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16581 _ACEOF
16582
16583 fi
16584
16585 done
16586
16587
16588 for ac_header in unistd.h
16589 do
16590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16592 echo "$as_me:$LINENO: checking for $ac_header" >&5
16593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16595 echo $ECHO_N "(cached) $ECHO_C" >&6
16596 fi
16597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16599 else
16600 # Is the header compilable?
16601 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16603 cat >conftest.$ac_ext <<_ACEOF
16604 /* confdefs.h. */
16605 _ACEOF
16606 cat confdefs.h >>conftest.$ac_ext
16607 cat >>conftest.$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16609 $ac_includes_default
16610 #include <$ac_header>
16611 _ACEOF
16612 rm -f conftest.$ac_objext
16613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16614 (eval $ac_compile) 2>conftest.er1
16615 ac_status=$?
16616 grep -v '^ *+' conftest.er1 >conftest.err
16617 rm -f conftest.er1
16618 cat conftest.err >&5
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); } &&
16621 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16623 (eval $ac_try) 2>&5
16624 ac_status=$?
16625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626 (exit $ac_status); }; } &&
16627 { ac_try='test -s conftest.$ac_objext'
16628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16629 (eval $ac_try) 2>&5
16630 ac_status=$?
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); }; }; then
16633 ac_header_compiler=yes
16634 else
16635 echo "$as_me: failed program was:" >&5
16636 sed 's/^/| /' conftest.$ac_ext >&5
16637
16638 ac_header_compiler=no
16639 fi
16640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16642 echo "${ECHO_T}$ac_header_compiler" >&6
16643
16644 # Is the header present?
16645 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16646 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16647 cat >conftest.$ac_ext <<_ACEOF
16648 /* confdefs.h. */
16649 _ACEOF
16650 cat confdefs.h >>conftest.$ac_ext
16651 cat >>conftest.$ac_ext <<_ACEOF
16652 /* end confdefs.h. */
16653 #include <$ac_header>
16654 _ACEOF
16655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16657 ac_status=$?
16658 grep -v '^ *+' conftest.er1 >conftest.err
16659 rm -f conftest.er1
16660 cat conftest.err >&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); } >/dev/null; then
16663 if test -s conftest.err; then
16664 ac_cpp_err=$ac_cxx_preproc_warn_flag
16665 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16666 else
16667 ac_cpp_err=
16668 fi
16669 else
16670 ac_cpp_err=yes
16671 fi
16672 if test -z "$ac_cpp_err"; then
16673 ac_header_preproc=yes
16674 else
16675 echo "$as_me: failed program was:" >&5
16676 sed 's/^/| /' conftest.$ac_ext >&5
16677
16678 ac_header_preproc=no
16679 fi
16680 rm -f conftest.err conftest.$ac_ext
16681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16682 echo "${ECHO_T}$ac_header_preproc" >&6
16683
16684 # So? What about this header?
16685 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16686 yes:no: )
16687 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16688 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16689 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16690 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16691 ac_header_preproc=yes
16692 ;;
16693 no:yes:* )
16694 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16695 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16696 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16697 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16698 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16699 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16700 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16701 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16702 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16703 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16704 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16705 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16706 (
16707 cat <<\_ASBOX
16708 ## ----------------------------------------- ##
16709 ## Report this to wx-dev@lists.wxwidgets.org ##
16710 ## ----------------------------------------- ##
16711 _ASBOX
16712 ) |
16713 sed "s/^/$as_me: WARNING: /" >&2
16714 ;;
16715 esac
16716 echo "$as_me:$LINENO: checking for $ac_header" >&5
16717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16719 echo $ECHO_N "(cached) $ECHO_C" >&6
16720 else
16721 eval "$as_ac_Header=\$ac_header_preproc"
16722 fi
16723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16724 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16725
16726 fi
16727 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16728 cat >>confdefs.h <<_ACEOF
16729 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16730 _ACEOF
16731
16732 fi
16733
16734 done
16735
16736
16737 for ac_header in wchar.h
16738 do
16739 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16740 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16741 echo "$as_me:$LINENO: checking for $ac_header" >&5
16742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16744 echo $ECHO_N "(cached) $ECHO_C" >&6
16745 fi
16746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16748 else
16749 # Is the header compilable?
16750 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16751 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16752 cat >conftest.$ac_ext <<_ACEOF
16753 /* confdefs.h. */
16754 _ACEOF
16755 cat confdefs.h >>conftest.$ac_ext
16756 cat >>conftest.$ac_ext <<_ACEOF
16757 /* end confdefs.h. */
16758 $ac_includes_default
16759 #include <$ac_header>
16760 _ACEOF
16761 rm -f conftest.$ac_objext
16762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16763 (eval $ac_compile) 2>conftest.er1
16764 ac_status=$?
16765 grep -v '^ *+' conftest.er1 >conftest.err
16766 rm -f conftest.er1
16767 cat conftest.err >&5
16768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16769 (exit $ac_status); } &&
16770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16772 (eval $ac_try) 2>&5
16773 ac_status=$?
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); }; } &&
16776 { ac_try='test -s conftest.$ac_objext'
16777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16778 (eval $ac_try) 2>&5
16779 ac_status=$?
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); }; }; then
16782 ac_header_compiler=yes
16783 else
16784 echo "$as_me: failed program was:" >&5
16785 sed 's/^/| /' conftest.$ac_ext >&5
16786
16787 ac_header_compiler=no
16788 fi
16789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16791 echo "${ECHO_T}$ac_header_compiler" >&6
16792
16793 # Is the header present?
16794 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16795 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16796 cat >conftest.$ac_ext <<_ACEOF
16797 /* confdefs.h. */
16798 _ACEOF
16799 cat confdefs.h >>conftest.$ac_ext
16800 cat >>conftest.$ac_ext <<_ACEOF
16801 /* end confdefs.h. */
16802 #include <$ac_header>
16803 _ACEOF
16804 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16805 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16806 ac_status=$?
16807 grep -v '^ *+' conftest.er1 >conftest.err
16808 rm -f conftest.er1
16809 cat conftest.err >&5
16810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16811 (exit $ac_status); } >/dev/null; then
16812 if test -s conftest.err; then
16813 ac_cpp_err=$ac_cxx_preproc_warn_flag
16814 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16815 else
16816 ac_cpp_err=
16817 fi
16818 else
16819 ac_cpp_err=yes
16820 fi
16821 if test -z "$ac_cpp_err"; then
16822 ac_header_preproc=yes
16823 else
16824 echo "$as_me: failed program was:" >&5
16825 sed 's/^/| /' conftest.$ac_ext >&5
16826
16827 ac_header_preproc=no
16828 fi
16829 rm -f conftest.err conftest.$ac_ext
16830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16831 echo "${ECHO_T}$ac_header_preproc" >&6
16832
16833 # So? What about this header?
16834 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16835 yes:no: )
16836 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16837 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16839 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16840 ac_header_preproc=yes
16841 ;;
16842 no:yes:* )
16843 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16844 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16845 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16846 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16847 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16848 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16849 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16850 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16851 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16852 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16853 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16854 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16855 (
16856 cat <<\_ASBOX
16857 ## ----------------------------------------- ##
16858 ## Report this to wx-dev@lists.wxwidgets.org ##
16859 ## ----------------------------------------- ##
16860 _ASBOX
16861 ) |
16862 sed "s/^/$as_me: WARNING: /" >&2
16863 ;;
16864 esac
16865 echo "$as_me:$LINENO: checking for $ac_header" >&5
16866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16868 echo $ECHO_N "(cached) $ECHO_C" >&6
16869 else
16870 eval "$as_ac_Header=\$ac_header_preproc"
16871 fi
16872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16874
16875 fi
16876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16877 cat >>confdefs.h <<_ACEOF
16878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16879 _ACEOF
16880
16881 fi
16882
16883 done
16884
16885
16886 if test "$ac_cv_header_wchar_h" != "yes"; then
16887
16888 for ac_header in wcstr.h
16889 do
16890 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16891 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16892 echo "$as_me:$LINENO: checking for $ac_header" >&5
16893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16895 echo $ECHO_N "(cached) $ECHO_C" >&6
16896 fi
16897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16899 else
16900 # Is the header compilable?
16901 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16902 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16903 cat >conftest.$ac_ext <<_ACEOF
16904 /* confdefs.h. */
16905 _ACEOF
16906 cat confdefs.h >>conftest.$ac_ext
16907 cat >>conftest.$ac_ext <<_ACEOF
16908 /* end confdefs.h. */
16909 $ac_includes_default
16910 #include <$ac_header>
16911 _ACEOF
16912 rm -f conftest.$ac_objext
16913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16914 (eval $ac_compile) 2>conftest.er1
16915 ac_status=$?
16916 grep -v '^ *+' conftest.er1 >conftest.err
16917 rm -f conftest.er1
16918 cat conftest.err >&5
16919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16920 (exit $ac_status); } &&
16921 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16923 (eval $ac_try) 2>&5
16924 ac_status=$?
16925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16926 (exit $ac_status); }; } &&
16927 { ac_try='test -s conftest.$ac_objext'
16928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16929 (eval $ac_try) 2>&5
16930 ac_status=$?
16931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16932 (exit $ac_status); }; }; then
16933 ac_header_compiler=yes
16934 else
16935 echo "$as_me: failed program was:" >&5
16936 sed 's/^/| /' conftest.$ac_ext >&5
16937
16938 ac_header_compiler=no
16939 fi
16940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16941 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16942 echo "${ECHO_T}$ac_header_compiler" >&6
16943
16944 # Is the header present?
16945 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16946 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16947 cat >conftest.$ac_ext <<_ACEOF
16948 /* confdefs.h. */
16949 _ACEOF
16950 cat confdefs.h >>conftest.$ac_ext
16951 cat >>conftest.$ac_ext <<_ACEOF
16952 /* end confdefs.h. */
16953 #include <$ac_header>
16954 _ACEOF
16955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16956 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16957 ac_status=$?
16958 grep -v '^ *+' conftest.er1 >conftest.err
16959 rm -f conftest.er1
16960 cat conftest.err >&5
16961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16962 (exit $ac_status); } >/dev/null; then
16963 if test -s conftest.err; then
16964 ac_cpp_err=$ac_cxx_preproc_warn_flag
16965 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16966 else
16967 ac_cpp_err=
16968 fi
16969 else
16970 ac_cpp_err=yes
16971 fi
16972 if test -z "$ac_cpp_err"; then
16973 ac_header_preproc=yes
16974 else
16975 echo "$as_me: failed program was:" >&5
16976 sed 's/^/| /' conftest.$ac_ext >&5
16977
16978 ac_header_preproc=no
16979 fi
16980 rm -f conftest.err conftest.$ac_ext
16981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16982 echo "${ECHO_T}$ac_header_preproc" >&6
16983
16984 # So? What about this header?
16985 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16986 yes:no: )
16987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16988 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16990 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16991 ac_header_preproc=yes
16992 ;;
16993 no:yes:* )
16994 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16995 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16996 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16997 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16998 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16999 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17000 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17001 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17003 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17004 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17005 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17006 (
17007 cat <<\_ASBOX
17008 ## ----------------------------------------- ##
17009 ## Report this to wx-dev@lists.wxwidgets.org ##
17010 ## ----------------------------------------- ##
17011 _ASBOX
17012 ) |
17013 sed "s/^/$as_me: WARNING: /" >&2
17014 ;;
17015 esac
17016 echo "$as_me:$LINENO: checking for $ac_header" >&5
17017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17019 echo $ECHO_N "(cached) $ECHO_C" >&6
17020 else
17021 eval "$as_ac_Header=\$ac_header_preproc"
17022 fi
17023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17024 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17025
17026 fi
17027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17028 cat >>confdefs.h <<_ACEOF
17029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17030 _ACEOF
17031
17032 fi
17033
17034 done
17035
17036 fi
17037
17038
17039 for ac_header in fnmatch.h
17040 do
17041 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17042 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17043 echo "$as_me:$LINENO: checking for $ac_header" >&5
17044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17046 echo $ECHO_N "(cached) $ECHO_C" >&6
17047 fi
17048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17050 else
17051 # Is the header compilable?
17052 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17053 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17054 cat >conftest.$ac_ext <<_ACEOF
17055 /* confdefs.h. */
17056 _ACEOF
17057 cat confdefs.h >>conftest.$ac_ext
17058 cat >>conftest.$ac_ext <<_ACEOF
17059 /* end confdefs.h. */
17060 $ac_includes_default
17061 #include <$ac_header>
17062 _ACEOF
17063 rm -f conftest.$ac_objext
17064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17065 (eval $ac_compile) 2>conftest.er1
17066 ac_status=$?
17067 grep -v '^ *+' conftest.er1 >conftest.err
17068 rm -f conftest.er1
17069 cat conftest.err >&5
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); } &&
17072 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17074 (eval $ac_try) 2>&5
17075 ac_status=$?
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); }; } &&
17078 { ac_try='test -s conftest.$ac_objext'
17079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17080 (eval $ac_try) 2>&5
17081 ac_status=$?
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); }; }; then
17084 ac_header_compiler=yes
17085 else
17086 echo "$as_me: failed program was:" >&5
17087 sed 's/^/| /' conftest.$ac_ext >&5
17088
17089 ac_header_compiler=no
17090 fi
17091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17092 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17093 echo "${ECHO_T}$ac_header_compiler" >&6
17094
17095 # Is the header present?
17096 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17097 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17098 cat >conftest.$ac_ext <<_ACEOF
17099 /* confdefs.h. */
17100 _ACEOF
17101 cat confdefs.h >>conftest.$ac_ext
17102 cat >>conftest.$ac_ext <<_ACEOF
17103 /* end confdefs.h. */
17104 #include <$ac_header>
17105 _ACEOF
17106 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17107 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17108 ac_status=$?
17109 grep -v '^ *+' conftest.er1 >conftest.err
17110 rm -f conftest.er1
17111 cat conftest.err >&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); } >/dev/null; then
17114 if test -s conftest.err; then
17115 ac_cpp_err=$ac_cxx_preproc_warn_flag
17116 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17117 else
17118 ac_cpp_err=
17119 fi
17120 else
17121 ac_cpp_err=yes
17122 fi
17123 if test -z "$ac_cpp_err"; then
17124 ac_header_preproc=yes
17125 else
17126 echo "$as_me: failed program was:" >&5
17127 sed 's/^/| /' conftest.$ac_ext >&5
17128
17129 ac_header_preproc=no
17130 fi
17131 rm -f conftest.err conftest.$ac_ext
17132 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17133 echo "${ECHO_T}$ac_header_preproc" >&6
17134
17135 # So? What about this header?
17136 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17137 yes:no: )
17138 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17139 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17141 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17142 ac_header_preproc=yes
17143 ;;
17144 no:yes:* )
17145 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17146 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17147 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17148 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17149 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17150 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17151 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17152 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17154 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17155 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17156 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17157 (
17158 cat <<\_ASBOX
17159 ## ----------------------------------------- ##
17160 ## Report this to wx-dev@lists.wxwidgets.org ##
17161 ## ----------------------------------------- ##
17162 _ASBOX
17163 ) |
17164 sed "s/^/$as_me: WARNING: /" >&2
17165 ;;
17166 esac
17167 echo "$as_me:$LINENO: checking for $ac_header" >&5
17168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17170 echo $ECHO_N "(cached) $ECHO_C" >&6
17171 else
17172 eval "$as_ac_Header=\$ac_header_preproc"
17173 fi
17174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17176
17177 fi
17178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17179 cat >>confdefs.h <<_ACEOF
17180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17181 _ACEOF
17182
17183 fi
17184
17185 done
17186
17187
17188
17189 for ac_header in langinfo.h
17190 do
17191 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17193 echo "$as_me:$LINENO: checking for $ac_header" >&5
17194 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17196 echo $ECHO_N "(cached) $ECHO_C" >&6
17197 fi
17198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17199 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17200 else
17201 # Is the header compilable?
17202 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17203 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17204 cat >conftest.$ac_ext <<_ACEOF
17205 /* confdefs.h. */
17206 _ACEOF
17207 cat confdefs.h >>conftest.$ac_ext
17208 cat >>conftest.$ac_ext <<_ACEOF
17209 /* end confdefs.h. */
17210 $ac_includes_default
17211 #include <$ac_header>
17212 _ACEOF
17213 rm -f conftest.$ac_objext
17214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17215 (eval $ac_compile) 2>conftest.er1
17216 ac_status=$?
17217 grep -v '^ *+' conftest.er1 >conftest.err
17218 rm -f conftest.er1
17219 cat conftest.err >&5
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); } &&
17222 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17224 (eval $ac_try) 2>&5
17225 ac_status=$?
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); }; } &&
17228 { ac_try='test -s conftest.$ac_objext'
17229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17230 (eval $ac_try) 2>&5
17231 ac_status=$?
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); }; }; then
17234 ac_header_compiler=yes
17235 else
17236 echo "$as_me: failed program was:" >&5
17237 sed 's/^/| /' conftest.$ac_ext >&5
17238
17239 ac_header_compiler=no
17240 fi
17241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17242 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17243 echo "${ECHO_T}$ac_header_compiler" >&6
17244
17245 # Is the header present?
17246 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17247 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17248 cat >conftest.$ac_ext <<_ACEOF
17249 /* confdefs.h. */
17250 _ACEOF
17251 cat confdefs.h >>conftest.$ac_ext
17252 cat >>conftest.$ac_ext <<_ACEOF
17253 /* end confdefs.h. */
17254 #include <$ac_header>
17255 _ACEOF
17256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17257 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17258 ac_status=$?
17259 grep -v '^ *+' conftest.er1 >conftest.err
17260 rm -f conftest.er1
17261 cat conftest.err >&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); } >/dev/null; then
17264 if test -s conftest.err; then
17265 ac_cpp_err=$ac_cxx_preproc_warn_flag
17266 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17267 else
17268 ac_cpp_err=
17269 fi
17270 else
17271 ac_cpp_err=yes
17272 fi
17273 if test -z "$ac_cpp_err"; then
17274 ac_header_preproc=yes
17275 else
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.$ac_ext >&5
17278
17279 ac_header_preproc=no
17280 fi
17281 rm -f conftest.err conftest.$ac_ext
17282 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17283 echo "${ECHO_T}$ac_header_preproc" >&6
17284
17285 # So? What about this header?
17286 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17287 yes:no: )
17288 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17289 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17291 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17292 ac_header_preproc=yes
17293 ;;
17294 no:yes:* )
17295 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17296 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17297 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17298 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17299 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17300 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17301 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17302 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17303 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17304 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17305 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17306 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17307 (
17308 cat <<\_ASBOX
17309 ## ----------------------------------------- ##
17310 ## Report this to wx-dev@lists.wxwidgets.org ##
17311 ## ----------------------------------------- ##
17312 _ASBOX
17313 ) |
17314 sed "s/^/$as_me: WARNING: /" >&2
17315 ;;
17316 esac
17317 echo "$as_me:$LINENO: checking for $ac_header" >&5
17318 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17319 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17320 echo $ECHO_N "(cached) $ECHO_C" >&6
17321 else
17322 eval "$as_ac_Header=\$ac_header_preproc"
17323 fi
17324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17325 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17326
17327 fi
17328 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17329 cat >>confdefs.h <<_ACEOF
17330 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17331 _ACEOF
17332
17333 fi
17334
17335 done
17336
17337
17338 case "${host}" in
17339 *-pc-os2_emx | *-pc-os2-emx )
17340 if test $ac_cv_header_langinfo_h = "yes" \
17341 -a \( "$wx_cv_gccversion" = "EMX2" \
17342 -o "$wx_cv_gccversion" = "EMX3" \
17343 -o "$wx_cv_gccversion" = "Innotek5" \); then
17344 LIBS="$LIBS -lintl"
17345 fi
17346 ;;
17347 esac
17348
17349 if test "$USE_UNIX" = 1 ; then
17350
17351 for ac_header in sys/select.h
17352 do
17353 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17355 echo "$as_me:$LINENO: checking for $ac_header" >&5
17356 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17358 echo $ECHO_N "(cached) $ECHO_C" >&6
17359 fi
17360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17361 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17362 else
17363 # Is the header compilable?
17364 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17365 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17366 cat >conftest.$ac_ext <<_ACEOF
17367 /* confdefs.h. */
17368 _ACEOF
17369 cat confdefs.h >>conftest.$ac_ext
17370 cat >>conftest.$ac_ext <<_ACEOF
17371 /* end confdefs.h. */
17372 $ac_includes_default
17373 #include <$ac_header>
17374 _ACEOF
17375 rm -f conftest.$ac_objext
17376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17377 (eval $ac_compile) 2>conftest.er1
17378 ac_status=$?
17379 grep -v '^ *+' conftest.er1 >conftest.err
17380 rm -f conftest.er1
17381 cat conftest.err >&5
17382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383 (exit $ac_status); } &&
17384 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17386 (eval $ac_try) 2>&5
17387 ac_status=$?
17388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17389 (exit $ac_status); }; } &&
17390 { ac_try='test -s conftest.$ac_objext'
17391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17392 (eval $ac_try) 2>&5
17393 ac_status=$?
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); }; }; then
17396 ac_header_compiler=yes
17397 else
17398 echo "$as_me: failed program was:" >&5
17399 sed 's/^/| /' conftest.$ac_ext >&5
17400
17401 ac_header_compiler=no
17402 fi
17403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17404 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17405 echo "${ECHO_T}$ac_header_compiler" >&6
17406
17407 # Is the header present?
17408 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17409 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17410 cat >conftest.$ac_ext <<_ACEOF
17411 /* confdefs.h. */
17412 _ACEOF
17413 cat confdefs.h >>conftest.$ac_ext
17414 cat >>conftest.$ac_ext <<_ACEOF
17415 /* end confdefs.h. */
17416 #include <$ac_header>
17417 _ACEOF
17418 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17419 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17420 ac_status=$?
17421 grep -v '^ *+' conftest.er1 >conftest.err
17422 rm -f conftest.er1
17423 cat conftest.err >&5
17424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425 (exit $ac_status); } >/dev/null; then
17426 if test -s conftest.err; then
17427 ac_cpp_err=$ac_cxx_preproc_warn_flag
17428 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17429 else
17430 ac_cpp_err=
17431 fi
17432 else
17433 ac_cpp_err=yes
17434 fi
17435 if test -z "$ac_cpp_err"; then
17436 ac_header_preproc=yes
17437 else
17438 echo "$as_me: failed program was:" >&5
17439 sed 's/^/| /' conftest.$ac_ext >&5
17440
17441 ac_header_preproc=no
17442 fi
17443 rm -f conftest.err conftest.$ac_ext
17444 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17445 echo "${ECHO_T}$ac_header_preproc" >&6
17446
17447 # So? What about this header?
17448 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17449 yes:no: )
17450 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17451 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17452 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17453 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17454 ac_header_preproc=yes
17455 ;;
17456 no:yes:* )
17457 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17458 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17459 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17460 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17461 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17462 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17463 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17464 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17465 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17466 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17467 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17468 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17469 (
17470 cat <<\_ASBOX
17471 ## ----------------------------------------- ##
17472 ## Report this to wx-dev@lists.wxwidgets.org ##
17473 ## ----------------------------------------- ##
17474 _ASBOX
17475 ) |
17476 sed "s/^/$as_me: WARNING: /" >&2
17477 ;;
17478 esac
17479 echo "$as_me:$LINENO: checking for $ac_header" >&5
17480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17482 echo $ECHO_N "(cached) $ECHO_C" >&6
17483 else
17484 eval "$as_ac_Header=\$ac_header_preproc"
17485 fi
17486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17488
17489 fi
17490 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17491 cat >>confdefs.h <<_ACEOF
17492 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17493 _ACEOF
17494
17495 fi
17496
17497 done
17498
17499 fi
17500
17501
17502 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17503 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17504 if test "${ac_cv_c_const+set}" = set; then
17505 echo $ECHO_N "(cached) $ECHO_C" >&6
17506 else
17507 cat >conftest.$ac_ext <<_ACEOF
17508 /* confdefs.h. */
17509 _ACEOF
17510 cat confdefs.h >>conftest.$ac_ext
17511 cat >>conftest.$ac_ext <<_ACEOF
17512 /* end confdefs.h. */
17513
17514 int
17515 main ()
17516 {
17517 /* FIXME: Include the comments suggested by Paul. */
17518 #ifndef __cplusplus
17519 /* Ultrix mips cc rejects this. */
17520 typedef int charset[2];
17521 const charset x;
17522 /* SunOS 4.1.1 cc rejects this. */
17523 char const *const *ccp;
17524 char **p;
17525 /* NEC SVR4.0.2 mips cc rejects this. */
17526 struct point {int x, y;};
17527 static struct point const zero = {0,0};
17528 /* AIX XL C 1.02.0.0 rejects this.
17529 It does not let you subtract one const X* pointer from another in
17530 an arm of an if-expression whose if-part is not a constant
17531 expression */
17532 const char *g = "string";
17533 ccp = &g + (g ? g-g : 0);
17534 /* HPUX 7.0 cc rejects these. */
17535 ++ccp;
17536 p = (char**) ccp;
17537 ccp = (char const *const *) p;
17538 { /* SCO 3.2v4 cc rejects this. */
17539 char *t;
17540 char const *s = 0 ? (char *) 0 : (char const *) 0;
17541
17542 *t++ = 0;
17543 }
17544 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17545 int x[] = {25, 17};
17546 const int *foo = &x[0];
17547 ++foo;
17548 }
17549 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17550 typedef const int *iptr;
17551 iptr p = 0;
17552 ++p;
17553 }
17554 { /* AIX XL C 1.02.0.0 rejects this saying
17555 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17556 struct s { int j; const int *ap[3]; };
17557 struct s *b; b->j = 5;
17558 }
17559 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17560 const int foo = 10;
17561 }
17562 #endif
17563
17564 ;
17565 return 0;
17566 }
17567 _ACEOF
17568 rm -f conftest.$ac_objext
17569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17570 (eval $ac_compile) 2>conftest.er1
17571 ac_status=$?
17572 grep -v '^ *+' conftest.er1 >conftest.err
17573 rm -f conftest.er1
17574 cat conftest.err >&5
17575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17576 (exit $ac_status); } &&
17577 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17579 (eval $ac_try) 2>&5
17580 ac_status=$?
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); }; } &&
17583 { ac_try='test -s conftest.$ac_objext'
17584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17585 (eval $ac_try) 2>&5
17586 ac_status=$?
17587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17588 (exit $ac_status); }; }; then
17589 ac_cv_c_const=yes
17590 else
17591 echo "$as_me: failed program was:" >&5
17592 sed 's/^/| /' conftest.$ac_ext >&5
17593
17594 ac_cv_c_const=no
17595 fi
17596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17597 fi
17598 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17599 echo "${ECHO_T}$ac_cv_c_const" >&6
17600 if test $ac_cv_c_const = no; then
17601
17602 cat >>confdefs.h <<\_ACEOF
17603 #define const
17604 _ACEOF
17605
17606 fi
17607
17608 echo "$as_me:$LINENO: checking for inline" >&5
17609 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17610 if test "${ac_cv_c_inline+set}" = set; then
17611 echo $ECHO_N "(cached) $ECHO_C" >&6
17612 else
17613 ac_cv_c_inline=no
17614 for ac_kw in inline __inline__ __inline; do
17615 cat >conftest.$ac_ext <<_ACEOF
17616 /* confdefs.h. */
17617 _ACEOF
17618 cat confdefs.h >>conftest.$ac_ext
17619 cat >>conftest.$ac_ext <<_ACEOF
17620 /* end confdefs.h. */
17621 #ifndef __cplusplus
17622 typedef int foo_t;
17623 static $ac_kw foo_t static_foo () {return 0; }
17624 $ac_kw foo_t foo () {return 0; }
17625 #endif
17626
17627 _ACEOF
17628 rm -f conftest.$ac_objext
17629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17630 (eval $ac_compile) 2>conftest.er1
17631 ac_status=$?
17632 grep -v '^ *+' conftest.er1 >conftest.err
17633 rm -f conftest.er1
17634 cat conftest.err >&5
17635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17636 (exit $ac_status); } &&
17637 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17639 (eval $ac_try) 2>&5
17640 ac_status=$?
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); }; } &&
17643 { ac_try='test -s conftest.$ac_objext'
17644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17645 (eval $ac_try) 2>&5
17646 ac_status=$?
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); }; }; then
17649 ac_cv_c_inline=$ac_kw; break
17650 else
17651 echo "$as_me: failed program was:" >&5
17652 sed 's/^/| /' conftest.$ac_ext >&5
17653
17654 fi
17655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17656 done
17657
17658 fi
17659 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17660 echo "${ECHO_T}$ac_cv_c_inline" >&6
17661
17662
17663 case $ac_cv_c_inline in
17664 inline | yes) ;;
17665 *)
17666 case $ac_cv_c_inline in
17667 no) ac_val=;;
17668 *) ac_val=$ac_cv_c_inline;;
17669 esac
17670 cat >>confdefs.h <<_ACEOF
17671 #ifndef __cplusplus
17672 #define inline $ac_val
17673 #endif
17674 _ACEOF
17675 ;;
17676 esac
17677
17678
17679 echo "$as_me:$LINENO: checking for char" >&5
17680 echo $ECHO_N "checking for char... $ECHO_C" >&6
17681 if test "${ac_cv_type_char+set}" = set; then
17682 echo $ECHO_N "(cached) $ECHO_C" >&6
17683 else
17684 cat >conftest.$ac_ext <<_ACEOF
17685 /* confdefs.h. */
17686 _ACEOF
17687 cat confdefs.h >>conftest.$ac_ext
17688 cat >>conftest.$ac_ext <<_ACEOF
17689 /* end confdefs.h. */
17690 $ac_includes_default
17691 int
17692 main ()
17693 {
17694 if ((char *) 0)
17695 return 0;
17696 if (sizeof (char))
17697 return 0;
17698 ;
17699 return 0;
17700 }
17701 _ACEOF
17702 rm -f conftest.$ac_objext
17703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17704 (eval $ac_compile) 2>conftest.er1
17705 ac_status=$?
17706 grep -v '^ *+' conftest.er1 >conftest.err
17707 rm -f conftest.er1
17708 cat conftest.err >&5
17709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17710 (exit $ac_status); } &&
17711 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17713 (eval $ac_try) 2>&5
17714 ac_status=$?
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); }; } &&
17717 { ac_try='test -s conftest.$ac_objext'
17718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17719 (eval $ac_try) 2>&5
17720 ac_status=$?
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); }; }; then
17723 ac_cv_type_char=yes
17724 else
17725 echo "$as_me: failed program was:" >&5
17726 sed 's/^/| /' conftest.$ac_ext >&5
17727
17728 ac_cv_type_char=no
17729 fi
17730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17731 fi
17732 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17733 echo "${ECHO_T}$ac_cv_type_char" >&6
17734
17735 echo "$as_me:$LINENO: checking size of char" >&5
17736 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17737 if test "${ac_cv_sizeof_char+set}" = set; then
17738 echo $ECHO_N "(cached) $ECHO_C" >&6
17739 else
17740 if test "$ac_cv_type_char" = yes; then
17741 # The cast to unsigned long works around a bug in the HP C Compiler
17742 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17743 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17744 # This bug is HP SR number 8606223364.
17745 if test "$cross_compiling" = yes; then
17746 # Depending upon the size, compute the lo and hi bounds.
17747 cat >conftest.$ac_ext <<_ACEOF
17748 /* confdefs.h. */
17749 _ACEOF
17750 cat confdefs.h >>conftest.$ac_ext
17751 cat >>conftest.$ac_ext <<_ACEOF
17752 /* end confdefs.h. */
17753 $ac_includes_default
17754 int
17755 main ()
17756 {
17757 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17758 test_array [0] = 0
17759
17760 ;
17761 return 0;
17762 }
17763 _ACEOF
17764 rm -f conftest.$ac_objext
17765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17766 (eval $ac_compile) 2>conftest.er1
17767 ac_status=$?
17768 grep -v '^ *+' conftest.er1 >conftest.err
17769 rm -f conftest.er1
17770 cat conftest.err >&5
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); } &&
17773 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17775 (eval $ac_try) 2>&5
17776 ac_status=$?
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); }; } &&
17779 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17785 ac_lo=0 ac_mid=0
17786 while :; do
17787 cat >conftest.$ac_ext <<_ACEOF
17788 /* confdefs.h. */
17789 _ACEOF
17790 cat confdefs.h >>conftest.$ac_ext
17791 cat >>conftest.$ac_ext <<_ACEOF
17792 /* end confdefs.h. */
17793 $ac_includes_default
17794 int
17795 main ()
17796 {
17797 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17798 test_array [0] = 0
17799
17800 ;
17801 return 0;
17802 }
17803 _ACEOF
17804 rm -f conftest.$ac_objext
17805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17806 (eval $ac_compile) 2>conftest.er1
17807 ac_status=$?
17808 grep -v '^ *+' conftest.er1 >conftest.err
17809 rm -f conftest.er1
17810 cat conftest.err >&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } &&
17813 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17815 (eval $ac_try) 2>&5
17816 ac_status=$?
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); }; } &&
17819 { ac_try='test -s conftest.$ac_objext'
17820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17821 (eval $ac_try) 2>&5
17822 ac_status=$?
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); }; }; then
17825 ac_hi=$ac_mid; break
17826 else
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.$ac_ext >&5
17829
17830 ac_lo=`expr $ac_mid + 1`
17831 if test $ac_lo -le $ac_mid; then
17832 ac_lo= ac_hi=
17833 break
17834 fi
17835 ac_mid=`expr 2 '*' $ac_mid + 1`
17836 fi
17837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17838 done
17839 else
17840 echo "$as_me: failed program was:" >&5
17841 sed 's/^/| /' conftest.$ac_ext >&5
17842
17843 cat >conftest.$ac_ext <<_ACEOF
17844 /* confdefs.h. */
17845 _ACEOF
17846 cat confdefs.h >>conftest.$ac_ext
17847 cat >>conftest.$ac_ext <<_ACEOF
17848 /* end confdefs.h. */
17849 $ac_includes_default
17850 int
17851 main ()
17852 {
17853 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17854 test_array [0] = 0
17855
17856 ;
17857 return 0;
17858 }
17859 _ACEOF
17860 rm -f conftest.$ac_objext
17861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17862 (eval $ac_compile) 2>conftest.er1
17863 ac_status=$?
17864 grep -v '^ *+' conftest.er1 >conftest.err
17865 rm -f conftest.er1
17866 cat conftest.err >&5
17867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17868 (exit $ac_status); } &&
17869 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17871 (eval $ac_try) 2>&5
17872 ac_status=$?
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); }; } &&
17875 { ac_try='test -s conftest.$ac_objext'
17876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17877 (eval $ac_try) 2>&5
17878 ac_status=$?
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); }; }; then
17881 ac_hi=-1 ac_mid=-1
17882 while :; do
17883 cat >conftest.$ac_ext <<_ACEOF
17884 /* confdefs.h. */
17885 _ACEOF
17886 cat confdefs.h >>conftest.$ac_ext
17887 cat >>conftest.$ac_ext <<_ACEOF
17888 /* end confdefs.h. */
17889 $ac_includes_default
17890 int
17891 main ()
17892 {
17893 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17894 test_array [0] = 0
17895
17896 ;
17897 return 0;
17898 }
17899 _ACEOF
17900 rm -f conftest.$ac_objext
17901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17902 (eval $ac_compile) 2>conftest.er1
17903 ac_status=$?
17904 grep -v '^ *+' conftest.er1 >conftest.err
17905 rm -f conftest.er1
17906 cat conftest.err >&5
17907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17908 (exit $ac_status); } &&
17909 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17911 (eval $ac_try) 2>&5
17912 ac_status=$?
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); }; } &&
17915 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
17921 ac_lo=$ac_mid; break
17922 else
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.$ac_ext >&5
17925
17926 ac_hi=`expr '(' $ac_mid ')' - 1`
17927 if test $ac_mid -le $ac_hi; then
17928 ac_lo= ac_hi=
17929 break
17930 fi
17931 ac_mid=`expr 2 '*' $ac_mid`
17932 fi
17933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17934 done
17935 else
17936 echo "$as_me: failed program was:" >&5
17937 sed 's/^/| /' conftest.$ac_ext >&5
17938
17939 ac_lo= ac_hi=
17940 fi
17941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17942 fi
17943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17944 # Binary search between lo and hi bounds.
17945 while test "x$ac_lo" != "x$ac_hi"; do
17946 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17947 cat >conftest.$ac_ext <<_ACEOF
17948 /* confdefs.h. */
17949 _ACEOF
17950 cat confdefs.h >>conftest.$ac_ext
17951 cat >>conftest.$ac_ext <<_ACEOF
17952 /* end confdefs.h. */
17953 $ac_includes_default
17954 int
17955 main ()
17956 {
17957 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17958 test_array [0] = 0
17959
17960 ;
17961 return 0;
17962 }
17963 _ACEOF
17964 rm -f conftest.$ac_objext
17965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17966 (eval $ac_compile) 2>conftest.er1
17967 ac_status=$?
17968 grep -v '^ *+' conftest.er1 >conftest.err
17969 rm -f conftest.er1
17970 cat conftest.err >&5
17971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17972 (exit $ac_status); } &&
17973 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17975 (eval $ac_try) 2>&5
17976 ac_status=$?
17977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17978 (exit $ac_status); }; } &&
17979 { ac_try='test -s conftest.$ac_objext'
17980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17981 (eval $ac_try) 2>&5
17982 ac_status=$?
17983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17984 (exit $ac_status); }; }; then
17985 ac_hi=$ac_mid
17986 else
17987 echo "$as_me: failed program was:" >&5
17988 sed 's/^/| /' conftest.$ac_ext >&5
17989
17990 ac_lo=`expr '(' $ac_mid ')' + 1`
17991 fi
17992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17993 done
17994 case $ac_lo in
17995 ?*) ac_cv_sizeof_char=$ac_lo;;
17996 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17997 See \`config.log' for more details." >&5
17998 echo "$as_me: error: cannot compute sizeof (char), 77
17999 See \`config.log' for more details." >&2;}
18000 { (exit 1); exit 1; }; } ;;
18001 esac
18002 else
18003 if test "$cross_compiling" = yes; then
18004 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18005 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18006 { (exit 1); exit 1; }; }
18007 else
18008 cat >conftest.$ac_ext <<_ACEOF
18009 /* confdefs.h. */
18010 _ACEOF
18011 cat confdefs.h >>conftest.$ac_ext
18012 cat >>conftest.$ac_ext <<_ACEOF
18013 /* end confdefs.h. */
18014 $ac_includes_default
18015 long longval () { return (long) (sizeof (char)); }
18016 unsigned long ulongval () { return (long) (sizeof (char)); }
18017 #include <stdio.h>
18018 #include <stdlib.h>
18019 int
18020 main ()
18021 {
18022
18023 FILE *f = fopen ("conftest.val", "w");
18024 if (! f)
18025 exit (1);
18026 if (((long) (sizeof (char))) < 0)
18027 {
18028 long i = longval ();
18029 if (i != ((long) (sizeof (char))))
18030 exit (1);
18031 fprintf (f, "%ld\n", i);
18032 }
18033 else
18034 {
18035 unsigned long i = ulongval ();
18036 if (i != ((long) (sizeof (char))))
18037 exit (1);
18038 fprintf (f, "%lu\n", i);
18039 }
18040 exit (ferror (f) || fclose (f) != 0);
18041
18042 ;
18043 return 0;
18044 }
18045 _ACEOF
18046 rm -f conftest$ac_exeext
18047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18048 (eval $ac_link) 2>&5
18049 ac_status=$?
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
18057 ac_cv_sizeof_char=`cat conftest.val`
18058 else
18059 echo "$as_me: program exited with status $ac_status" >&5
18060 echo "$as_me: failed program was:" >&5
18061 sed 's/^/| /' conftest.$ac_ext >&5
18062
18063 ( exit $ac_status )
18064 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18065 See \`config.log' for more details." >&5
18066 echo "$as_me: error: cannot compute sizeof (char), 77
18067 See \`config.log' for more details." >&2;}
18068 { (exit 1); exit 1; }; }
18069 fi
18070 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18071 fi
18072 fi
18073 rm -f conftest.val
18074 else
18075 ac_cv_sizeof_char=0
18076 fi
18077 fi
18078 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18079 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18080 cat >>confdefs.h <<_ACEOF
18081 #define SIZEOF_CHAR $ac_cv_sizeof_char
18082 _ACEOF
18083
18084
18085 echo "$as_me:$LINENO: checking for short" >&5
18086 echo $ECHO_N "checking for short... $ECHO_C" >&6
18087 if test "${ac_cv_type_short+set}" = set; then
18088 echo $ECHO_N "(cached) $ECHO_C" >&6
18089 else
18090 cat >conftest.$ac_ext <<_ACEOF
18091 /* confdefs.h. */
18092 _ACEOF
18093 cat confdefs.h >>conftest.$ac_ext
18094 cat >>conftest.$ac_ext <<_ACEOF
18095 /* end confdefs.h. */
18096 $ac_includes_default
18097 int
18098 main ()
18099 {
18100 if ((short *) 0)
18101 return 0;
18102 if (sizeof (short))
18103 return 0;
18104 ;
18105 return 0;
18106 }
18107 _ACEOF
18108 rm -f conftest.$ac_objext
18109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18110 (eval $ac_compile) 2>conftest.er1
18111 ac_status=$?
18112 grep -v '^ *+' conftest.er1 >conftest.err
18113 rm -f conftest.er1
18114 cat conftest.err >&5
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); } &&
18117 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18119 (eval $ac_try) 2>&5
18120 ac_status=$?
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); }; } &&
18123 { ac_try='test -s conftest.$ac_objext'
18124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18125 (eval $ac_try) 2>&5
18126 ac_status=$?
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); }; }; then
18129 ac_cv_type_short=yes
18130 else
18131 echo "$as_me: failed program was:" >&5
18132 sed 's/^/| /' conftest.$ac_ext >&5
18133
18134 ac_cv_type_short=no
18135 fi
18136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18137 fi
18138 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18139 echo "${ECHO_T}$ac_cv_type_short" >&6
18140
18141 echo "$as_me:$LINENO: checking size of short" >&5
18142 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18143 if test "${ac_cv_sizeof_short+set}" = set; then
18144 echo $ECHO_N "(cached) $ECHO_C" >&6
18145 else
18146 if test "$ac_cv_type_short" = yes; then
18147 # The cast to unsigned long works around a bug in the HP C Compiler
18148 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18149 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18150 # This bug is HP SR number 8606223364.
18151 if test "$cross_compiling" = yes; then
18152 # Depending upon the size, compute the lo and hi bounds.
18153 cat >conftest.$ac_ext <<_ACEOF
18154 /* confdefs.h. */
18155 _ACEOF
18156 cat confdefs.h >>conftest.$ac_ext
18157 cat >>conftest.$ac_ext <<_ACEOF
18158 /* end confdefs.h. */
18159 $ac_includes_default
18160 int
18161 main ()
18162 {
18163 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18164 test_array [0] = 0
18165
18166 ;
18167 return 0;
18168 }
18169 _ACEOF
18170 rm -f conftest.$ac_objext
18171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18172 (eval $ac_compile) 2>conftest.er1
18173 ac_status=$?
18174 grep -v '^ *+' conftest.er1 >conftest.err
18175 rm -f conftest.er1
18176 cat conftest.err >&5
18177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18178 (exit $ac_status); } &&
18179 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18181 (eval $ac_try) 2>&5
18182 ac_status=$?
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); }; } &&
18185 { ac_try='test -s conftest.$ac_objext'
18186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18187 (eval $ac_try) 2>&5
18188 ac_status=$?
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); }; }; then
18191 ac_lo=0 ac_mid=0
18192 while :; do
18193 cat >conftest.$ac_ext <<_ACEOF
18194 /* confdefs.h. */
18195 _ACEOF
18196 cat confdefs.h >>conftest.$ac_ext
18197 cat >>conftest.$ac_ext <<_ACEOF
18198 /* end confdefs.h. */
18199 $ac_includes_default
18200 int
18201 main ()
18202 {
18203 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18204 test_array [0] = 0
18205
18206 ;
18207 return 0;
18208 }
18209 _ACEOF
18210 rm -f conftest.$ac_objext
18211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18212 (eval $ac_compile) 2>conftest.er1
18213 ac_status=$?
18214 grep -v '^ *+' conftest.er1 >conftest.err
18215 rm -f conftest.er1
18216 cat conftest.err >&5
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); } &&
18219 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18221 (eval $ac_try) 2>&5
18222 ac_status=$?
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); }; } &&
18225 { ac_try='test -s conftest.$ac_objext'
18226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227 (eval $ac_try) 2>&5
18228 ac_status=$?
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); }; }; then
18231 ac_hi=$ac_mid; break
18232 else
18233 echo "$as_me: failed program was:" >&5
18234 sed 's/^/| /' conftest.$ac_ext >&5
18235
18236 ac_lo=`expr $ac_mid + 1`
18237 if test $ac_lo -le $ac_mid; then
18238 ac_lo= ac_hi=
18239 break
18240 fi
18241 ac_mid=`expr 2 '*' $ac_mid + 1`
18242 fi
18243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18244 done
18245 else
18246 echo "$as_me: failed program was:" >&5
18247 sed 's/^/| /' conftest.$ac_ext >&5
18248
18249 cat >conftest.$ac_ext <<_ACEOF
18250 /* confdefs.h. */
18251 _ACEOF
18252 cat confdefs.h >>conftest.$ac_ext
18253 cat >>conftest.$ac_ext <<_ACEOF
18254 /* end confdefs.h. */
18255 $ac_includes_default
18256 int
18257 main ()
18258 {
18259 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18260 test_array [0] = 0
18261
18262 ;
18263 return 0;
18264 }
18265 _ACEOF
18266 rm -f conftest.$ac_objext
18267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18268 (eval $ac_compile) 2>conftest.er1
18269 ac_status=$?
18270 grep -v '^ *+' conftest.er1 >conftest.err
18271 rm -f conftest.er1
18272 cat conftest.err >&5
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); } &&
18275 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18277 (eval $ac_try) 2>&5
18278 ac_status=$?
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); }; } &&
18281 { ac_try='test -s conftest.$ac_objext'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18284 ac_status=$?
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; }; then
18287 ac_hi=-1 ac_mid=-1
18288 while :; do
18289 cat >conftest.$ac_ext <<_ACEOF
18290 /* confdefs.h. */
18291 _ACEOF
18292 cat confdefs.h >>conftest.$ac_ext
18293 cat >>conftest.$ac_ext <<_ACEOF
18294 /* end confdefs.h. */
18295 $ac_includes_default
18296 int
18297 main ()
18298 {
18299 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18300 test_array [0] = 0
18301
18302 ;
18303 return 0;
18304 }
18305 _ACEOF
18306 rm -f conftest.$ac_objext
18307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18308 (eval $ac_compile) 2>conftest.er1
18309 ac_status=$?
18310 grep -v '^ *+' conftest.er1 >conftest.err
18311 rm -f conftest.er1
18312 cat conftest.err >&5
18313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18314 (exit $ac_status); } &&
18315 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18317 (eval $ac_try) 2>&5
18318 ac_status=$?
18319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18320 (exit $ac_status); }; } &&
18321 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
18327 ac_lo=$ac_mid; break
18328 else
18329 echo "$as_me: failed program was:" >&5
18330 sed 's/^/| /' conftest.$ac_ext >&5
18331
18332 ac_hi=`expr '(' $ac_mid ')' - 1`
18333 if test $ac_mid -le $ac_hi; then
18334 ac_lo= ac_hi=
18335 break
18336 fi
18337 ac_mid=`expr 2 '*' $ac_mid`
18338 fi
18339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18340 done
18341 else
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18344
18345 ac_lo= ac_hi=
18346 fi
18347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18348 fi
18349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18350 # Binary search between lo and hi bounds.
18351 while test "x$ac_lo" != "x$ac_hi"; do
18352 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18353 cat >conftest.$ac_ext <<_ACEOF
18354 /* confdefs.h. */
18355 _ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 $ac_includes_default
18360 int
18361 main ()
18362 {
18363 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18364 test_array [0] = 0
18365
18366 ;
18367 return 0;
18368 }
18369 _ACEOF
18370 rm -f conftest.$ac_objext
18371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18372 (eval $ac_compile) 2>conftest.er1
18373 ac_status=$?
18374 grep -v '^ *+' conftest.er1 >conftest.err
18375 rm -f conftest.er1
18376 cat conftest.err >&5
18377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18378 (exit $ac_status); } &&
18379 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18381 (eval $ac_try) 2>&5
18382 ac_status=$?
18383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384 (exit $ac_status); }; } &&
18385 { ac_try='test -s conftest.$ac_objext'
18386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18387 (eval $ac_try) 2>&5
18388 ac_status=$?
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); }; }; then
18391 ac_hi=$ac_mid
18392 else
18393 echo "$as_me: failed program was:" >&5
18394 sed 's/^/| /' conftest.$ac_ext >&5
18395
18396 ac_lo=`expr '(' $ac_mid ')' + 1`
18397 fi
18398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18399 done
18400 case $ac_lo in
18401 ?*) ac_cv_sizeof_short=$ac_lo;;
18402 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18403 See \`config.log' for more details." >&5
18404 echo "$as_me: error: cannot compute sizeof (short), 77
18405 See \`config.log' for more details." >&2;}
18406 { (exit 1); exit 1; }; } ;;
18407 esac
18408 else
18409 if test "$cross_compiling" = yes; then
18410 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18411 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18412 { (exit 1); exit 1; }; }
18413 else
18414 cat >conftest.$ac_ext <<_ACEOF
18415 /* confdefs.h. */
18416 _ACEOF
18417 cat confdefs.h >>conftest.$ac_ext
18418 cat >>conftest.$ac_ext <<_ACEOF
18419 /* end confdefs.h. */
18420 $ac_includes_default
18421 long longval () { return (long) (sizeof (short)); }
18422 unsigned long ulongval () { return (long) (sizeof (short)); }
18423 #include <stdio.h>
18424 #include <stdlib.h>
18425 int
18426 main ()
18427 {
18428
18429 FILE *f = fopen ("conftest.val", "w");
18430 if (! f)
18431 exit (1);
18432 if (((long) (sizeof (short))) < 0)
18433 {
18434 long i = longval ();
18435 if (i != ((long) (sizeof (short))))
18436 exit (1);
18437 fprintf (f, "%ld\n", i);
18438 }
18439 else
18440 {
18441 unsigned long i = ulongval ();
18442 if (i != ((long) (sizeof (short))))
18443 exit (1);
18444 fprintf (f, "%lu\n", i);
18445 }
18446 exit (ferror (f) || fclose (f) != 0);
18447
18448 ;
18449 return 0;
18450 }
18451 _ACEOF
18452 rm -f conftest$ac_exeext
18453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18454 (eval $ac_link) 2>&5
18455 ac_status=$?
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
18463 ac_cv_sizeof_short=`cat conftest.val`
18464 else
18465 echo "$as_me: program exited with status $ac_status" >&5
18466 echo "$as_me: failed program was:" >&5
18467 sed 's/^/| /' conftest.$ac_ext >&5
18468
18469 ( exit $ac_status )
18470 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18471 See \`config.log' for more details." >&5
18472 echo "$as_me: error: cannot compute sizeof (short), 77
18473 See \`config.log' for more details." >&2;}
18474 { (exit 1); exit 1; }; }
18475 fi
18476 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18477 fi
18478 fi
18479 rm -f conftest.val
18480 else
18481 ac_cv_sizeof_short=0
18482 fi
18483 fi
18484 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18485 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18486 cat >>confdefs.h <<_ACEOF
18487 #define SIZEOF_SHORT $ac_cv_sizeof_short
18488 _ACEOF
18489
18490
18491 echo "$as_me:$LINENO: checking for void *" >&5
18492 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18493 if test "${ac_cv_type_void_p+set}" = set; then
18494 echo $ECHO_N "(cached) $ECHO_C" >&6
18495 else
18496 cat >conftest.$ac_ext <<_ACEOF
18497 /* confdefs.h. */
18498 _ACEOF
18499 cat confdefs.h >>conftest.$ac_ext
18500 cat >>conftest.$ac_ext <<_ACEOF
18501 /* end confdefs.h. */
18502 $ac_includes_default
18503 int
18504 main ()
18505 {
18506 if ((void * *) 0)
18507 return 0;
18508 if (sizeof (void *))
18509 return 0;
18510 ;
18511 return 0;
18512 }
18513 _ACEOF
18514 rm -f conftest.$ac_objext
18515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18516 (eval $ac_compile) 2>conftest.er1
18517 ac_status=$?
18518 grep -v '^ *+' conftest.er1 >conftest.err
18519 rm -f conftest.er1
18520 cat conftest.err >&5
18521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18522 (exit $ac_status); } &&
18523 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18525 (eval $ac_try) 2>&5
18526 ac_status=$?
18527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528 (exit $ac_status); }; } &&
18529 { ac_try='test -s conftest.$ac_objext'
18530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18531 (eval $ac_try) 2>&5
18532 ac_status=$?
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); }; }; then
18535 ac_cv_type_void_p=yes
18536 else
18537 echo "$as_me: failed program was:" >&5
18538 sed 's/^/| /' conftest.$ac_ext >&5
18539
18540 ac_cv_type_void_p=no
18541 fi
18542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18543 fi
18544 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18545 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18546
18547 echo "$as_me:$LINENO: checking size of void *" >&5
18548 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18549 if test "${ac_cv_sizeof_void_p+set}" = set; then
18550 echo $ECHO_N "(cached) $ECHO_C" >&6
18551 else
18552 if test "$ac_cv_type_void_p" = yes; then
18553 # The cast to unsigned long works around a bug in the HP C Compiler
18554 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18555 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18556 # This bug is HP SR number 8606223364.
18557 if test "$cross_compiling" = yes; then
18558 # Depending upon the size, compute the lo and hi bounds.
18559 cat >conftest.$ac_ext <<_ACEOF
18560 /* confdefs.h. */
18561 _ACEOF
18562 cat confdefs.h >>conftest.$ac_ext
18563 cat >>conftest.$ac_ext <<_ACEOF
18564 /* end confdefs.h. */
18565 $ac_includes_default
18566 int
18567 main ()
18568 {
18569 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18570 test_array [0] = 0
18571
18572 ;
18573 return 0;
18574 }
18575 _ACEOF
18576 rm -f conftest.$ac_objext
18577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18578 (eval $ac_compile) 2>conftest.er1
18579 ac_status=$?
18580 grep -v '^ *+' conftest.er1 >conftest.err
18581 rm -f conftest.er1
18582 cat conftest.err >&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); } &&
18585 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18587 (eval $ac_try) 2>&5
18588 ac_status=$?
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; } &&
18591 { ac_try='test -s conftest.$ac_objext'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18594 ac_status=$?
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; }; then
18597 ac_lo=0 ac_mid=0
18598 while :; do
18599 cat >conftest.$ac_ext <<_ACEOF
18600 /* confdefs.h. */
18601 _ACEOF
18602 cat confdefs.h >>conftest.$ac_ext
18603 cat >>conftest.$ac_ext <<_ACEOF
18604 /* end confdefs.h. */
18605 $ac_includes_default
18606 int
18607 main ()
18608 {
18609 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18610 test_array [0] = 0
18611
18612 ;
18613 return 0;
18614 }
18615 _ACEOF
18616 rm -f conftest.$ac_objext
18617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18618 (eval $ac_compile) 2>conftest.er1
18619 ac_status=$?
18620 grep -v '^ *+' conftest.er1 >conftest.err
18621 rm -f conftest.er1
18622 cat conftest.err >&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); } &&
18625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18627 (eval $ac_try) 2>&5
18628 ac_status=$?
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); }; } &&
18631 { ac_try='test -s conftest.$ac_objext'
18632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18633 (eval $ac_try) 2>&5
18634 ac_status=$?
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); }; }; then
18637 ac_hi=$ac_mid; break
18638 else
18639 echo "$as_me: failed program was:" >&5
18640 sed 's/^/| /' conftest.$ac_ext >&5
18641
18642 ac_lo=`expr $ac_mid + 1`
18643 if test $ac_lo -le $ac_mid; then
18644 ac_lo= ac_hi=
18645 break
18646 fi
18647 ac_mid=`expr 2 '*' $ac_mid + 1`
18648 fi
18649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18650 done
18651 else
18652 echo "$as_me: failed program was:" >&5
18653 sed 's/^/| /' conftest.$ac_ext >&5
18654
18655 cat >conftest.$ac_ext <<_ACEOF
18656 /* confdefs.h. */
18657 _ACEOF
18658 cat confdefs.h >>conftest.$ac_ext
18659 cat >>conftest.$ac_ext <<_ACEOF
18660 /* end confdefs.h. */
18661 $ac_includes_default
18662 int
18663 main ()
18664 {
18665 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18666 test_array [0] = 0
18667
18668 ;
18669 return 0;
18670 }
18671 _ACEOF
18672 rm -f conftest.$ac_objext
18673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18674 (eval $ac_compile) 2>conftest.er1
18675 ac_status=$?
18676 grep -v '^ *+' conftest.er1 >conftest.err
18677 rm -f conftest.er1
18678 cat conftest.err >&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); } &&
18681 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18683 (eval $ac_try) 2>&5
18684 ac_status=$?
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); }; } &&
18687 { ac_try='test -s conftest.$ac_objext'
18688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18689 (eval $ac_try) 2>&5
18690 ac_status=$?
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); }; }; then
18693 ac_hi=-1 ac_mid=-1
18694 while :; do
18695 cat >conftest.$ac_ext <<_ACEOF
18696 /* confdefs.h. */
18697 _ACEOF
18698 cat confdefs.h >>conftest.$ac_ext
18699 cat >>conftest.$ac_ext <<_ACEOF
18700 /* end confdefs.h. */
18701 $ac_includes_default
18702 int
18703 main ()
18704 {
18705 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18706 test_array [0] = 0
18707
18708 ;
18709 return 0;
18710 }
18711 _ACEOF
18712 rm -f conftest.$ac_objext
18713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18714 (eval $ac_compile) 2>conftest.er1
18715 ac_status=$?
18716 grep -v '^ *+' conftest.er1 >conftest.err
18717 rm -f conftest.er1
18718 cat conftest.err >&5
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); } &&
18721 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18723 (eval $ac_try) 2>&5
18724 ac_status=$?
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); }; } &&
18727 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
18733 ac_lo=$ac_mid; break
18734 else
18735 echo "$as_me: failed program was:" >&5
18736 sed 's/^/| /' conftest.$ac_ext >&5
18737
18738 ac_hi=`expr '(' $ac_mid ')' - 1`
18739 if test $ac_mid -le $ac_hi; then
18740 ac_lo= ac_hi=
18741 break
18742 fi
18743 ac_mid=`expr 2 '*' $ac_mid`
18744 fi
18745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18746 done
18747 else
18748 echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.$ac_ext >&5
18750
18751 ac_lo= ac_hi=
18752 fi
18753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18754 fi
18755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18756 # Binary search between lo and hi bounds.
18757 while test "x$ac_lo" != "x$ac_hi"; do
18758 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18759 cat >conftest.$ac_ext <<_ACEOF
18760 /* confdefs.h. */
18761 _ACEOF
18762 cat confdefs.h >>conftest.$ac_ext
18763 cat >>conftest.$ac_ext <<_ACEOF
18764 /* end confdefs.h. */
18765 $ac_includes_default
18766 int
18767 main ()
18768 {
18769 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18770 test_array [0] = 0
18771
18772 ;
18773 return 0;
18774 }
18775 _ACEOF
18776 rm -f conftest.$ac_objext
18777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18778 (eval $ac_compile) 2>conftest.er1
18779 ac_status=$?
18780 grep -v '^ *+' conftest.er1 >conftest.err
18781 rm -f conftest.er1
18782 cat conftest.err >&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } &&
18785 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787 (eval $ac_try) 2>&5
18788 ac_status=$?
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; } &&
18791 { ac_try='test -s conftest.$ac_objext'
18792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18793 (eval $ac_try) 2>&5
18794 ac_status=$?
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); }; }; then
18797 ac_hi=$ac_mid
18798 else
18799 echo "$as_me: failed program was:" >&5
18800 sed 's/^/| /' conftest.$ac_ext >&5
18801
18802 ac_lo=`expr '(' $ac_mid ')' + 1`
18803 fi
18804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18805 done
18806 case $ac_lo in
18807 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18808 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18809 See \`config.log' for more details." >&5
18810 echo "$as_me: error: cannot compute sizeof (void *), 77
18811 See \`config.log' for more details." >&2;}
18812 { (exit 1); exit 1; }; } ;;
18813 esac
18814 else
18815 if test "$cross_compiling" = yes; then
18816 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18817 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18818 { (exit 1); exit 1; }; }
18819 else
18820 cat >conftest.$ac_ext <<_ACEOF
18821 /* confdefs.h. */
18822 _ACEOF
18823 cat confdefs.h >>conftest.$ac_ext
18824 cat >>conftest.$ac_ext <<_ACEOF
18825 /* end confdefs.h. */
18826 $ac_includes_default
18827 long longval () { return (long) (sizeof (void *)); }
18828 unsigned long ulongval () { return (long) (sizeof (void *)); }
18829 #include <stdio.h>
18830 #include <stdlib.h>
18831 int
18832 main ()
18833 {
18834
18835 FILE *f = fopen ("conftest.val", "w");
18836 if (! f)
18837 exit (1);
18838 if (((long) (sizeof (void *))) < 0)
18839 {
18840 long i = longval ();
18841 if (i != ((long) (sizeof (void *))))
18842 exit (1);
18843 fprintf (f, "%ld\n", i);
18844 }
18845 else
18846 {
18847 unsigned long i = ulongval ();
18848 if (i != ((long) (sizeof (void *))))
18849 exit (1);
18850 fprintf (f, "%lu\n", i);
18851 }
18852 exit (ferror (f) || fclose (f) != 0);
18853
18854 ;
18855 return 0;
18856 }
18857 _ACEOF
18858 rm -f conftest$ac_exeext
18859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18860 (eval $ac_link) 2>&5
18861 ac_status=$?
18862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
18869 ac_cv_sizeof_void_p=`cat conftest.val`
18870 else
18871 echo "$as_me: program exited with status $ac_status" >&5
18872 echo "$as_me: failed program was:" >&5
18873 sed 's/^/| /' conftest.$ac_ext >&5
18874
18875 ( exit $ac_status )
18876 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
18877 See \`config.log' for more details." >&5
18878 echo "$as_me: error: cannot compute sizeof (void *), 77
18879 See \`config.log' for more details." >&2;}
18880 { (exit 1); exit 1; }; }
18881 fi
18882 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18883 fi
18884 fi
18885 rm -f conftest.val
18886 else
18887 ac_cv_sizeof_void_p=0
18888 fi
18889 fi
18890 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18891 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
18892 cat >>confdefs.h <<_ACEOF
18893 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18894 _ACEOF
18895
18896
18897 echo "$as_me:$LINENO: checking for int" >&5
18898 echo $ECHO_N "checking for int... $ECHO_C" >&6
18899 if test "${ac_cv_type_int+set}" = set; then
18900 echo $ECHO_N "(cached) $ECHO_C" >&6
18901 else
18902 cat >conftest.$ac_ext <<_ACEOF
18903 /* confdefs.h. */
18904 _ACEOF
18905 cat confdefs.h >>conftest.$ac_ext
18906 cat >>conftest.$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18908 $ac_includes_default
18909 int
18910 main ()
18911 {
18912 if ((int *) 0)
18913 return 0;
18914 if (sizeof (int))
18915 return 0;
18916 ;
18917 return 0;
18918 }
18919 _ACEOF
18920 rm -f conftest.$ac_objext
18921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18922 (eval $ac_compile) 2>conftest.er1
18923 ac_status=$?
18924 grep -v '^ *+' conftest.er1 >conftest.err
18925 rm -f conftest.er1
18926 cat conftest.err >&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); } &&
18929 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18931 (eval $ac_try) 2>&5
18932 ac_status=$?
18933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18934 (exit $ac_status); }; } &&
18935 { ac_try='test -s conftest.$ac_objext'
18936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18937 (eval $ac_try) 2>&5
18938 ac_status=$?
18939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18940 (exit $ac_status); }; }; then
18941 ac_cv_type_int=yes
18942 else
18943 echo "$as_me: failed program was:" >&5
18944 sed 's/^/| /' conftest.$ac_ext >&5
18945
18946 ac_cv_type_int=no
18947 fi
18948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18949 fi
18950 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18951 echo "${ECHO_T}$ac_cv_type_int" >&6
18952
18953 echo "$as_me:$LINENO: checking size of int" >&5
18954 echo $ECHO_N "checking size of int... $ECHO_C" >&6
18955 if test "${ac_cv_sizeof_int+set}" = set; then
18956 echo $ECHO_N "(cached) $ECHO_C" >&6
18957 else
18958 if test "$ac_cv_type_int" = yes; then
18959 # The cast to unsigned long works around a bug in the HP C Compiler
18960 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18961 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18962 # This bug is HP SR number 8606223364.
18963 if test "$cross_compiling" = yes; then
18964 # Depending upon the size, compute the lo and hi bounds.
18965 cat >conftest.$ac_ext <<_ACEOF
18966 /* confdefs.h. */
18967 _ACEOF
18968 cat confdefs.h >>conftest.$ac_ext
18969 cat >>conftest.$ac_ext <<_ACEOF
18970 /* end confdefs.h. */
18971 $ac_includes_default
18972 int
18973 main ()
18974 {
18975 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
18976 test_array [0] = 0
18977
18978 ;
18979 return 0;
18980 }
18981 _ACEOF
18982 rm -f conftest.$ac_objext
18983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18984 (eval $ac_compile) 2>conftest.er1
18985 ac_status=$?
18986 grep -v '^ *+' conftest.er1 >conftest.err
18987 rm -f conftest.er1
18988 cat conftest.err >&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } &&
18991 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18993 (eval $ac_try) 2>&5
18994 ac_status=$?
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); }; } &&
18997 { ac_try='test -s conftest.$ac_objext'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19000 ac_status=$?
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; }; then
19003 ac_lo=0 ac_mid=0
19004 while :; do
19005 cat >conftest.$ac_ext <<_ACEOF
19006 /* confdefs.h. */
19007 _ACEOF
19008 cat confdefs.h >>conftest.$ac_ext
19009 cat >>conftest.$ac_ext <<_ACEOF
19010 /* end confdefs.h. */
19011 $ac_includes_default
19012 int
19013 main ()
19014 {
19015 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19016 test_array [0] = 0
19017
19018 ;
19019 return 0;
19020 }
19021 _ACEOF
19022 rm -f conftest.$ac_objext
19023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19024 (eval $ac_compile) 2>conftest.er1
19025 ac_status=$?
19026 grep -v '^ *+' conftest.er1 >conftest.err
19027 rm -f conftest.er1
19028 cat conftest.err >&5
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); } &&
19031 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19033 (eval $ac_try) 2>&5
19034 ac_status=$?
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); }; } &&
19037 { ac_try='test -s conftest.$ac_objext'
19038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19039 (eval $ac_try) 2>&5
19040 ac_status=$?
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); }; }; then
19043 ac_hi=$ac_mid; break
19044 else
19045 echo "$as_me: failed program was:" >&5
19046 sed 's/^/| /' conftest.$ac_ext >&5
19047
19048 ac_lo=`expr $ac_mid + 1`
19049 if test $ac_lo -le $ac_mid; then
19050 ac_lo= ac_hi=
19051 break
19052 fi
19053 ac_mid=`expr 2 '*' $ac_mid + 1`
19054 fi
19055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19056 done
19057 else
19058 echo "$as_me: failed program was:" >&5
19059 sed 's/^/| /' conftest.$ac_ext >&5
19060
19061 cat >conftest.$ac_ext <<_ACEOF
19062 /* confdefs.h. */
19063 _ACEOF
19064 cat confdefs.h >>conftest.$ac_ext
19065 cat >>conftest.$ac_ext <<_ACEOF
19066 /* end confdefs.h. */
19067 $ac_includes_default
19068 int
19069 main ()
19070 {
19071 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19072 test_array [0] = 0
19073
19074 ;
19075 return 0;
19076 }
19077 _ACEOF
19078 rm -f conftest.$ac_objext
19079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19080 (eval $ac_compile) 2>conftest.er1
19081 ac_status=$?
19082 grep -v '^ *+' conftest.er1 >conftest.err
19083 rm -f conftest.er1
19084 cat conftest.err >&5
19085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19086 (exit $ac_status); } &&
19087 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19089 (eval $ac_try) 2>&5
19090 ac_status=$?
19091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19092 (exit $ac_status); }; } &&
19093 { ac_try='test -s conftest.$ac_objext'
19094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19095 (eval $ac_try) 2>&5
19096 ac_status=$?
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); }; }; then
19099 ac_hi=-1 ac_mid=-1
19100 while :; do
19101 cat >conftest.$ac_ext <<_ACEOF
19102 /* confdefs.h. */
19103 _ACEOF
19104 cat confdefs.h >>conftest.$ac_ext
19105 cat >>conftest.$ac_ext <<_ACEOF
19106 /* end confdefs.h. */
19107 $ac_includes_default
19108 int
19109 main ()
19110 {
19111 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19112 test_array [0] = 0
19113
19114 ;
19115 return 0;
19116 }
19117 _ACEOF
19118 rm -f conftest.$ac_objext
19119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19120 (eval $ac_compile) 2>conftest.er1
19121 ac_status=$?
19122 grep -v '^ *+' conftest.er1 >conftest.err
19123 rm -f conftest.er1
19124 cat conftest.err >&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } &&
19127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129 (eval $ac_try) 2>&5
19130 ac_status=$?
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); }; } &&
19133 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19139 ac_lo=$ac_mid; break
19140 else
19141 echo "$as_me: failed program was:" >&5
19142 sed 's/^/| /' conftest.$ac_ext >&5
19143
19144 ac_hi=`expr '(' $ac_mid ')' - 1`
19145 if test $ac_mid -le $ac_hi; then
19146 ac_lo= ac_hi=
19147 break
19148 fi
19149 ac_mid=`expr 2 '*' $ac_mid`
19150 fi
19151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19152 done
19153 else
19154 echo "$as_me: failed program was:" >&5
19155 sed 's/^/| /' conftest.$ac_ext >&5
19156
19157 ac_lo= ac_hi=
19158 fi
19159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19160 fi
19161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19162 # Binary search between lo and hi bounds.
19163 while test "x$ac_lo" != "x$ac_hi"; do
19164 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19165 cat >conftest.$ac_ext <<_ACEOF
19166 /* confdefs.h. */
19167 _ACEOF
19168 cat confdefs.h >>conftest.$ac_ext
19169 cat >>conftest.$ac_ext <<_ACEOF
19170 /* end confdefs.h. */
19171 $ac_includes_default
19172 int
19173 main ()
19174 {
19175 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19176 test_array [0] = 0
19177
19178 ;
19179 return 0;
19180 }
19181 _ACEOF
19182 rm -f conftest.$ac_objext
19183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19184 (eval $ac_compile) 2>conftest.er1
19185 ac_status=$?
19186 grep -v '^ *+' conftest.er1 >conftest.err
19187 rm -f conftest.er1
19188 cat conftest.err >&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); } &&
19191 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19193 (eval $ac_try) 2>&5
19194 ac_status=$?
19195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19196 (exit $ac_status); }; } &&
19197 { ac_try='test -s conftest.$ac_objext'
19198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19199 (eval $ac_try) 2>&5
19200 ac_status=$?
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); }; }; then
19203 ac_hi=$ac_mid
19204 else
19205 echo "$as_me: failed program was:" >&5
19206 sed 's/^/| /' conftest.$ac_ext >&5
19207
19208 ac_lo=`expr '(' $ac_mid ')' + 1`
19209 fi
19210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19211 done
19212 case $ac_lo in
19213 ?*) ac_cv_sizeof_int=$ac_lo;;
19214 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19215 See \`config.log' for more details." >&5
19216 echo "$as_me: error: cannot compute sizeof (int), 77
19217 See \`config.log' for more details." >&2;}
19218 { (exit 1); exit 1; }; } ;;
19219 esac
19220 else
19221 if test "$cross_compiling" = yes; then
19222 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19223 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19224 { (exit 1); exit 1; }; }
19225 else
19226 cat >conftest.$ac_ext <<_ACEOF
19227 /* confdefs.h. */
19228 _ACEOF
19229 cat confdefs.h >>conftest.$ac_ext
19230 cat >>conftest.$ac_ext <<_ACEOF
19231 /* end confdefs.h. */
19232 $ac_includes_default
19233 long longval () { return (long) (sizeof (int)); }
19234 unsigned long ulongval () { return (long) (sizeof (int)); }
19235 #include <stdio.h>
19236 #include <stdlib.h>
19237 int
19238 main ()
19239 {
19240
19241 FILE *f = fopen ("conftest.val", "w");
19242 if (! f)
19243 exit (1);
19244 if (((long) (sizeof (int))) < 0)
19245 {
19246 long i = longval ();
19247 if (i != ((long) (sizeof (int))))
19248 exit (1);
19249 fprintf (f, "%ld\n", i);
19250 }
19251 else
19252 {
19253 unsigned long i = ulongval ();
19254 if (i != ((long) (sizeof (int))))
19255 exit (1);
19256 fprintf (f, "%lu\n", i);
19257 }
19258 exit (ferror (f) || fclose (f) != 0);
19259
19260 ;
19261 return 0;
19262 }
19263 _ACEOF
19264 rm -f conftest$ac_exeext
19265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19266 (eval $ac_link) 2>&5
19267 ac_status=$?
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
19275 ac_cv_sizeof_int=`cat conftest.val`
19276 else
19277 echo "$as_me: program exited with status $ac_status" >&5
19278 echo "$as_me: failed program was:" >&5
19279 sed 's/^/| /' conftest.$ac_ext >&5
19280
19281 ( exit $ac_status )
19282 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19283 See \`config.log' for more details." >&5
19284 echo "$as_me: error: cannot compute sizeof (int), 77
19285 See \`config.log' for more details." >&2;}
19286 { (exit 1); exit 1; }; }
19287 fi
19288 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19289 fi
19290 fi
19291 rm -f conftest.val
19292 else
19293 ac_cv_sizeof_int=0
19294 fi
19295 fi
19296 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19297 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19298 cat >>confdefs.h <<_ACEOF
19299 #define SIZEOF_INT $ac_cv_sizeof_int
19300 _ACEOF
19301
19302
19303 echo "$as_me:$LINENO: checking for long" >&5
19304 echo $ECHO_N "checking for long... $ECHO_C" >&6
19305 if test "${ac_cv_type_long+set}" = set; then
19306 echo $ECHO_N "(cached) $ECHO_C" >&6
19307 else
19308 cat >conftest.$ac_ext <<_ACEOF
19309 /* confdefs.h. */
19310 _ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314 $ac_includes_default
19315 int
19316 main ()
19317 {
19318 if ((long *) 0)
19319 return 0;
19320 if (sizeof (long))
19321 return 0;
19322 ;
19323 return 0;
19324 }
19325 _ACEOF
19326 rm -f conftest.$ac_objext
19327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19328 (eval $ac_compile) 2>conftest.er1
19329 ac_status=$?
19330 grep -v '^ *+' conftest.er1 >conftest.err
19331 rm -f conftest.er1
19332 cat conftest.err >&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } &&
19335 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19338 ac_status=$?
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; } &&
19341 { ac_try='test -s conftest.$ac_objext'
19342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343 (eval $ac_try) 2>&5
19344 ac_status=$?
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); }; }; then
19347 ac_cv_type_long=yes
19348 else
19349 echo "$as_me: failed program was:" >&5
19350 sed 's/^/| /' conftest.$ac_ext >&5
19351
19352 ac_cv_type_long=no
19353 fi
19354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19355 fi
19356 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19357 echo "${ECHO_T}$ac_cv_type_long" >&6
19358
19359 echo "$as_me:$LINENO: checking size of long" >&5
19360 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19361 if test "${ac_cv_sizeof_long+set}" = set; then
19362 echo $ECHO_N "(cached) $ECHO_C" >&6
19363 else
19364 if test "$ac_cv_type_long" = yes; then
19365 # The cast to unsigned long works around a bug in the HP C Compiler
19366 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19367 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19368 # This bug is HP SR number 8606223364.
19369 if test "$cross_compiling" = yes; then
19370 # Depending upon the size, compute the lo and hi bounds.
19371 cat >conftest.$ac_ext <<_ACEOF
19372 /* confdefs.h. */
19373 _ACEOF
19374 cat confdefs.h >>conftest.$ac_ext
19375 cat >>conftest.$ac_ext <<_ACEOF
19376 /* end confdefs.h. */
19377 $ac_includes_default
19378 int
19379 main ()
19380 {
19381 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19382 test_array [0] = 0
19383
19384 ;
19385 return 0;
19386 }
19387 _ACEOF
19388 rm -f conftest.$ac_objext
19389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19390 (eval $ac_compile) 2>conftest.er1
19391 ac_status=$?
19392 grep -v '^ *+' conftest.er1 >conftest.err
19393 rm -f conftest.er1
19394 cat conftest.err >&5
19395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 (exit $ac_status); } &&
19397 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19399 (eval $ac_try) 2>&5
19400 ac_status=$?
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }; } &&
19403 { ac_try='test -s conftest.$ac_objext'
19404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19405 (eval $ac_try) 2>&5
19406 ac_status=$?
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); }; }; then
19409 ac_lo=0 ac_mid=0
19410 while :; do
19411 cat >conftest.$ac_ext <<_ACEOF
19412 /* confdefs.h. */
19413 _ACEOF
19414 cat confdefs.h >>conftest.$ac_ext
19415 cat >>conftest.$ac_ext <<_ACEOF
19416 /* end confdefs.h. */
19417 $ac_includes_default
19418 int
19419 main ()
19420 {
19421 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19422 test_array [0] = 0
19423
19424 ;
19425 return 0;
19426 }
19427 _ACEOF
19428 rm -f conftest.$ac_objext
19429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19430 (eval $ac_compile) 2>conftest.er1
19431 ac_status=$?
19432 grep -v '^ *+' conftest.er1 >conftest.err
19433 rm -f conftest.er1
19434 cat conftest.err >&5
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); } &&
19437 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19439 (eval $ac_try) 2>&5
19440 ac_status=$?
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); }; } &&
19443 { ac_try='test -s conftest.$ac_objext'
19444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19445 (eval $ac_try) 2>&5
19446 ac_status=$?
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); }; }; then
19449 ac_hi=$ac_mid; break
19450 else
19451 echo "$as_me: failed program was:" >&5
19452 sed 's/^/| /' conftest.$ac_ext >&5
19453
19454 ac_lo=`expr $ac_mid + 1`
19455 if test $ac_lo -le $ac_mid; then
19456 ac_lo= ac_hi=
19457 break
19458 fi
19459 ac_mid=`expr 2 '*' $ac_mid + 1`
19460 fi
19461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19462 done
19463 else
19464 echo "$as_me: failed program was:" >&5
19465 sed 's/^/| /' conftest.$ac_ext >&5
19466
19467 cat >conftest.$ac_ext <<_ACEOF
19468 /* confdefs.h. */
19469 _ACEOF
19470 cat confdefs.h >>conftest.$ac_ext
19471 cat >>conftest.$ac_ext <<_ACEOF
19472 /* end confdefs.h. */
19473 $ac_includes_default
19474 int
19475 main ()
19476 {
19477 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19478 test_array [0] = 0
19479
19480 ;
19481 return 0;
19482 }
19483 _ACEOF
19484 rm -f conftest.$ac_objext
19485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19486 (eval $ac_compile) 2>conftest.er1
19487 ac_status=$?
19488 grep -v '^ *+' conftest.er1 >conftest.err
19489 rm -f conftest.er1
19490 cat conftest.err >&5
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); } &&
19493 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19495 (eval $ac_try) 2>&5
19496 ac_status=$?
19497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19498 (exit $ac_status); }; } &&
19499 { ac_try='test -s conftest.$ac_objext'
19500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19501 (eval $ac_try) 2>&5
19502 ac_status=$?
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); }; }; then
19505 ac_hi=-1 ac_mid=-1
19506 while :; do
19507 cat >conftest.$ac_ext <<_ACEOF
19508 /* confdefs.h. */
19509 _ACEOF
19510 cat confdefs.h >>conftest.$ac_ext
19511 cat >>conftest.$ac_ext <<_ACEOF
19512 /* end confdefs.h. */
19513 $ac_includes_default
19514 int
19515 main ()
19516 {
19517 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19518 test_array [0] = 0
19519
19520 ;
19521 return 0;
19522 }
19523 _ACEOF
19524 rm -f conftest.$ac_objext
19525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19526 (eval $ac_compile) 2>conftest.er1
19527 ac_status=$?
19528 grep -v '^ *+' conftest.er1 >conftest.err
19529 rm -f conftest.er1
19530 cat conftest.err >&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); } &&
19533 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19535 (eval $ac_try) 2>&5
19536 ac_status=$?
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); }; } &&
19539 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19545 ac_lo=$ac_mid; break
19546 else
19547 echo "$as_me: failed program was:" >&5
19548 sed 's/^/| /' conftest.$ac_ext >&5
19549
19550 ac_hi=`expr '(' $ac_mid ')' - 1`
19551 if test $ac_mid -le $ac_hi; then
19552 ac_lo= ac_hi=
19553 break
19554 fi
19555 ac_mid=`expr 2 '*' $ac_mid`
19556 fi
19557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19558 done
19559 else
19560 echo "$as_me: failed program was:" >&5
19561 sed 's/^/| /' conftest.$ac_ext >&5
19562
19563 ac_lo= ac_hi=
19564 fi
19565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19566 fi
19567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19568 # Binary search between lo and hi bounds.
19569 while test "x$ac_lo" != "x$ac_hi"; do
19570 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19571 cat >conftest.$ac_ext <<_ACEOF
19572 /* confdefs.h. */
19573 _ACEOF
19574 cat confdefs.h >>conftest.$ac_ext
19575 cat >>conftest.$ac_ext <<_ACEOF
19576 /* end confdefs.h. */
19577 $ac_includes_default
19578 int
19579 main ()
19580 {
19581 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19582 test_array [0] = 0
19583
19584 ;
19585 return 0;
19586 }
19587 _ACEOF
19588 rm -f conftest.$ac_objext
19589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19590 (eval $ac_compile) 2>conftest.er1
19591 ac_status=$?
19592 grep -v '^ *+' conftest.er1 >conftest.err
19593 rm -f conftest.er1
19594 cat conftest.err >&5
19595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596 (exit $ac_status); } &&
19597 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19599 (eval $ac_try) 2>&5
19600 ac_status=$?
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); }; } &&
19603 { ac_try='test -s conftest.$ac_objext'
19604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19605 (eval $ac_try) 2>&5
19606 ac_status=$?
19607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608 (exit $ac_status); }; }; then
19609 ac_hi=$ac_mid
19610 else
19611 echo "$as_me: failed program was:" >&5
19612 sed 's/^/| /' conftest.$ac_ext >&5
19613
19614 ac_lo=`expr '(' $ac_mid ')' + 1`
19615 fi
19616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19617 done
19618 case $ac_lo in
19619 ?*) ac_cv_sizeof_long=$ac_lo;;
19620 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19621 See \`config.log' for more details." >&5
19622 echo "$as_me: error: cannot compute sizeof (long), 77
19623 See \`config.log' for more details." >&2;}
19624 { (exit 1); exit 1; }; } ;;
19625 esac
19626 else
19627 if test "$cross_compiling" = yes; then
19628 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19629 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19630 { (exit 1); exit 1; }; }
19631 else
19632 cat >conftest.$ac_ext <<_ACEOF
19633 /* confdefs.h. */
19634 _ACEOF
19635 cat confdefs.h >>conftest.$ac_ext
19636 cat >>conftest.$ac_ext <<_ACEOF
19637 /* end confdefs.h. */
19638 $ac_includes_default
19639 long longval () { return (long) (sizeof (long)); }
19640 unsigned long ulongval () { return (long) (sizeof (long)); }
19641 #include <stdio.h>
19642 #include <stdlib.h>
19643 int
19644 main ()
19645 {
19646
19647 FILE *f = fopen ("conftest.val", "w");
19648 if (! f)
19649 exit (1);
19650 if (((long) (sizeof (long))) < 0)
19651 {
19652 long i = longval ();
19653 if (i != ((long) (sizeof (long))))
19654 exit (1);
19655 fprintf (f, "%ld\n", i);
19656 }
19657 else
19658 {
19659 unsigned long i = ulongval ();
19660 if (i != ((long) (sizeof (long))))
19661 exit (1);
19662 fprintf (f, "%lu\n", i);
19663 }
19664 exit (ferror (f) || fclose (f) != 0);
19665
19666 ;
19667 return 0;
19668 }
19669 _ACEOF
19670 rm -f conftest$ac_exeext
19671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19672 (eval $ac_link) 2>&5
19673 ac_status=$?
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
19681 ac_cv_sizeof_long=`cat conftest.val`
19682 else
19683 echo "$as_me: program exited with status $ac_status" >&5
19684 echo "$as_me: failed program was:" >&5
19685 sed 's/^/| /' conftest.$ac_ext >&5
19686
19687 ( exit $ac_status )
19688 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19689 See \`config.log' for more details." >&5
19690 echo "$as_me: error: cannot compute sizeof (long), 77
19691 See \`config.log' for more details." >&2;}
19692 { (exit 1); exit 1; }; }
19693 fi
19694 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19695 fi
19696 fi
19697 rm -f conftest.val
19698 else
19699 ac_cv_sizeof_long=0
19700 fi
19701 fi
19702 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19703 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19704 cat >>confdefs.h <<_ACEOF
19705 #define SIZEOF_LONG $ac_cv_sizeof_long
19706 _ACEOF
19707
19708
19709 echo "$as_me:$LINENO: checking for size_t" >&5
19710 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19711 if test "${ac_cv_type_size_t+set}" = set; then
19712 echo $ECHO_N "(cached) $ECHO_C" >&6
19713 else
19714 cat >conftest.$ac_ext <<_ACEOF
19715 /* confdefs.h. */
19716 _ACEOF
19717 cat confdefs.h >>conftest.$ac_ext
19718 cat >>conftest.$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 $ac_includes_default
19721 int
19722 main ()
19723 {
19724 if ((size_t *) 0)
19725 return 0;
19726 if (sizeof (size_t))
19727 return 0;
19728 ;
19729 return 0;
19730 }
19731 _ACEOF
19732 rm -f conftest.$ac_objext
19733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19734 (eval $ac_compile) 2>conftest.er1
19735 ac_status=$?
19736 grep -v '^ *+' conftest.er1 >conftest.err
19737 rm -f conftest.er1
19738 cat conftest.err >&5
19739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19740 (exit $ac_status); } &&
19741 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19743 (eval $ac_try) 2>&5
19744 ac_status=$?
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); }; } &&
19747 { ac_try='test -s conftest.$ac_objext'
19748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19749 (eval $ac_try) 2>&5
19750 ac_status=$?
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); }; }; then
19753 ac_cv_type_size_t=yes
19754 else
19755 echo "$as_me: failed program was:" >&5
19756 sed 's/^/| /' conftest.$ac_ext >&5
19757
19758 ac_cv_type_size_t=no
19759 fi
19760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19761 fi
19762 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19763 echo "${ECHO_T}$ac_cv_type_size_t" >&6
19764
19765 echo "$as_me:$LINENO: checking size of size_t" >&5
19766 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
19767 if test "${ac_cv_sizeof_size_t+set}" = set; then
19768 echo $ECHO_N "(cached) $ECHO_C" >&6
19769 else
19770 if test "$ac_cv_type_size_t" = yes; then
19771 # The cast to unsigned long works around a bug in the HP C Compiler
19772 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19773 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19774 # This bug is HP SR number 8606223364.
19775 if test "$cross_compiling" = yes; then
19776 # Depending upon the size, compute the lo and hi bounds.
19777 cat >conftest.$ac_ext <<_ACEOF
19778 /* confdefs.h. */
19779 _ACEOF
19780 cat confdefs.h >>conftest.$ac_ext
19781 cat >>conftest.$ac_ext <<_ACEOF
19782 /* end confdefs.h. */
19783 $ac_includes_default
19784 int
19785 main ()
19786 {
19787 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
19788 test_array [0] = 0
19789
19790 ;
19791 return 0;
19792 }
19793 _ACEOF
19794 rm -f conftest.$ac_objext
19795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19796 (eval $ac_compile) 2>conftest.er1
19797 ac_status=$?
19798 grep -v '^ *+' conftest.er1 >conftest.err
19799 rm -f conftest.er1
19800 cat conftest.err >&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } &&
19803 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19805 (eval $ac_try) 2>&5
19806 ac_status=$?
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); }; } &&
19809 { ac_try='test -s conftest.$ac_objext'
19810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811 (eval $ac_try) 2>&5
19812 ac_status=$?
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); }; }; then
19815 ac_lo=0 ac_mid=0
19816 while :; do
19817 cat >conftest.$ac_ext <<_ACEOF
19818 /* confdefs.h. */
19819 _ACEOF
19820 cat confdefs.h >>conftest.$ac_ext
19821 cat >>conftest.$ac_ext <<_ACEOF
19822 /* end confdefs.h. */
19823 $ac_includes_default
19824 int
19825 main ()
19826 {
19827 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19828 test_array [0] = 0
19829
19830 ;
19831 return 0;
19832 }
19833 _ACEOF
19834 rm -f conftest.$ac_objext
19835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19836 (eval $ac_compile) 2>conftest.er1
19837 ac_status=$?
19838 grep -v '^ *+' conftest.er1 >conftest.err
19839 rm -f conftest.er1
19840 cat conftest.err >&5
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); } &&
19843 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19845 (eval $ac_try) 2>&5
19846 ac_status=$?
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); }; } &&
19849 { ac_try='test -s conftest.$ac_objext'
19850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19851 (eval $ac_try) 2>&5
19852 ac_status=$?
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); }; }; then
19855 ac_hi=$ac_mid; break
19856 else
19857 echo "$as_me: failed program was:" >&5
19858 sed 's/^/| /' conftest.$ac_ext >&5
19859
19860 ac_lo=`expr $ac_mid + 1`
19861 if test $ac_lo -le $ac_mid; then
19862 ac_lo= ac_hi=
19863 break
19864 fi
19865 ac_mid=`expr 2 '*' $ac_mid + 1`
19866 fi
19867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19868 done
19869 else
19870 echo "$as_me: failed program was:" >&5
19871 sed 's/^/| /' conftest.$ac_ext >&5
19872
19873 cat >conftest.$ac_ext <<_ACEOF
19874 /* confdefs.h. */
19875 _ACEOF
19876 cat confdefs.h >>conftest.$ac_ext
19877 cat >>conftest.$ac_ext <<_ACEOF
19878 /* end confdefs.h. */
19879 $ac_includes_default
19880 int
19881 main ()
19882 {
19883 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
19884 test_array [0] = 0
19885
19886 ;
19887 return 0;
19888 }
19889 _ACEOF
19890 rm -f conftest.$ac_objext
19891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19892 (eval $ac_compile) 2>conftest.er1
19893 ac_status=$?
19894 grep -v '^ *+' conftest.er1 >conftest.err
19895 rm -f conftest.er1
19896 cat conftest.err >&5
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); } &&
19899 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19901 (eval $ac_try) 2>&5
19902 ac_status=$?
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); }; } &&
19905 { ac_try='test -s conftest.$ac_objext'
19906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19907 (eval $ac_try) 2>&5
19908 ac_status=$?
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); }; }; then
19911 ac_hi=-1 ac_mid=-1
19912 while :; do
19913 cat >conftest.$ac_ext <<_ACEOF
19914 /* confdefs.h. */
19915 _ACEOF
19916 cat confdefs.h >>conftest.$ac_ext
19917 cat >>conftest.$ac_ext <<_ACEOF
19918 /* end confdefs.h. */
19919 $ac_includes_default
19920 int
19921 main ()
19922 {
19923 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
19924 test_array [0] = 0
19925
19926 ;
19927 return 0;
19928 }
19929 _ACEOF
19930 rm -f conftest.$ac_objext
19931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19932 (eval $ac_compile) 2>conftest.er1
19933 ac_status=$?
19934 grep -v '^ *+' conftest.er1 >conftest.err
19935 rm -f conftest.er1
19936 cat conftest.err >&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); } &&
19939 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19941 (eval $ac_try) 2>&5
19942 ac_status=$?
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); }; } &&
19945 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19951 ac_lo=$ac_mid; break
19952 else
19953 echo "$as_me: failed program was:" >&5
19954 sed 's/^/| /' conftest.$ac_ext >&5
19955
19956 ac_hi=`expr '(' $ac_mid ')' - 1`
19957 if test $ac_mid -le $ac_hi; then
19958 ac_lo= ac_hi=
19959 break
19960 fi
19961 ac_mid=`expr 2 '*' $ac_mid`
19962 fi
19963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19964 done
19965 else
19966 echo "$as_me: failed program was:" >&5
19967 sed 's/^/| /' conftest.$ac_ext >&5
19968
19969 ac_lo= ac_hi=
19970 fi
19971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19972 fi
19973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19974 # Binary search between lo and hi bounds.
19975 while test "x$ac_lo" != "x$ac_hi"; do
19976 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19977 cat >conftest.$ac_ext <<_ACEOF
19978 /* confdefs.h. */
19979 _ACEOF
19980 cat confdefs.h >>conftest.$ac_ext
19981 cat >>conftest.$ac_ext <<_ACEOF
19982 /* end confdefs.h. */
19983 $ac_includes_default
19984 int
19985 main ()
19986 {
19987 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
19988 test_array [0] = 0
19989
19990 ;
19991 return 0;
19992 }
19993 _ACEOF
19994 rm -f conftest.$ac_objext
19995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19996 (eval $ac_compile) 2>conftest.er1
19997 ac_status=$?
19998 grep -v '^ *+' conftest.er1 >conftest.err
19999 rm -f conftest.er1
20000 cat conftest.err >&5
20001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002 (exit $ac_status); } &&
20003 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20005 (eval $ac_try) 2>&5
20006 ac_status=$?
20007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20008 (exit $ac_status); }; } &&
20009 { ac_try='test -s conftest.$ac_objext'
20010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20011 (eval $ac_try) 2>&5
20012 ac_status=$?
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); }; }; then
20015 ac_hi=$ac_mid
20016 else
20017 echo "$as_me: failed program was:" >&5
20018 sed 's/^/| /' conftest.$ac_ext >&5
20019
20020 ac_lo=`expr '(' $ac_mid ')' + 1`
20021 fi
20022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20023 done
20024 case $ac_lo in
20025 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20026 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20027 See \`config.log' for more details." >&5
20028 echo "$as_me: error: cannot compute sizeof (size_t), 77
20029 See \`config.log' for more details." >&2;}
20030 { (exit 1); exit 1; }; } ;;
20031 esac
20032 else
20033 if test "$cross_compiling" = yes; then
20034 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20035 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20036 { (exit 1); exit 1; }; }
20037 else
20038 cat >conftest.$ac_ext <<_ACEOF
20039 /* confdefs.h. */
20040 _ACEOF
20041 cat confdefs.h >>conftest.$ac_ext
20042 cat >>conftest.$ac_ext <<_ACEOF
20043 /* end confdefs.h. */
20044 $ac_includes_default
20045 long longval () { return (long) (sizeof (size_t)); }
20046 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20047 #include <stdio.h>
20048 #include <stdlib.h>
20049 int
20050 main ()
20051 {
20052
20053 FILE *f = fopen ("conftest.val", "w");
20054 if (! f)
20055 exit (1);
20056 if (((long) (sizeof (size_t))) < 0)
20057 {
20058 long i = longval ();
20059 if (i != ((long) (sizeof (size_t))))
20060 exit (1);
20061 fprintf (f, "%ld\n", i);
20062 }
20063 else
20064 {
20065 unsigned long i = ulongval ();
20066 if (i != ((long) (sizeof (size_t))))
20067 exit (1);
20068 fprintf (f, "%lu\n", i);
20069 }
20070 exit (ferror (f) || fclose (f) != 0);
20071
20072 ;
20073 return 0;
20074 }
20075 _ACEOF
20076 rm -f conftest$ac_exeext
20077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20078 (eval $ac_link) 2>&5
20079 ac_status=$?
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
20087 ac_cv_sizeof_size_t=`cat conftest.val`
20088 else
20089 echo "$as_me: program exited with status $ac_status" >&5
20090 echo "$as_me: failed program was:" >&5
20091 sed 's/^/| /' conftest.$ac_ext >&5
20092
20093 ( exit $ac_status )
20094 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20095 See \`config.log' for more details." >&5
20096 echo "$as_me: error: cannot compute sizeof (size_t), 77
20097 See \`config.log' for more details." >&2;}
20098 { (exit 1); exit 1; }; }
20099 fi
20100 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20101 fi
20102 fi
20103 rm -f conftest.val
20104 else
20105 ac_cv_sizeof_size_t=0
20106 fi
20107 fi
20108 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20109 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20110 cat >>confdefs.h <<_ACEOF
20111 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20112 _ACEOF
20113
20114
20115
20116 case "${host}" in
20117 arm-*-linux* )
20118 echo "$as_me:$LINENO: checking for long long" >&5
20119 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20120 if test "${ac_cv_type_long_long+set}" = set; then
20121 echo $ECHO_N "(cached) $ECHO_C" >&6
20122 else
20123 cat >conftest.$ac_ext <<_ACEOF
20124 /* confdefs.h. */
20125 _ACEOF
20126 cat confdefs.h >>conftest.$ac_ext
20127 cat >>conftest.$ac_ext <<_ACEOF
20128 /* end confdefs.h. */
20129 $ac_includes_default
20130 int
20131 main ()
20132 {
20133 if ((long long *) 0)
20134 return 0;
20135 if (sizeof (long long))
20136 return 0;
20137 ;
20138 return 0;
20139 }
20140 _ACEOF
20141 rm -f conftest.$ac_objext
20142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20143 (eval $ac_compile) 2>conftest.er1
20144 ac_status=$?
20145 grep -v '^ *+' conftest.er1 >conftest.err
20146 rm -f conftest.er1
20147 cat conftest.err >&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } &&
20150 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20152 (eval $ac_try) 2>&5
20153 ac_status=$?
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); }; } &&
20156 { ac_try='test -s conftest.$ac_objext'
20157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20158 (eval $ac_try) 2>&5
20159 ac_status=$?
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); }; }; then
20162 ac_cv_type_long_long=yes
20163 else
20164 echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.$ac_ext >&5
20166
20167 ac_cv_type_long_long=no
20168 fi
20169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20170 fi
20171 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20172 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20173
20174 echo "$as_me:$LINENO: checking size of long long" >&5
20175 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20176 if test "${ac_cv_sizeof_long_long+set}" = set; then
20177 echo $ECHO_N "(cached) $ECHO_C" >&6
20178 else
20179 if test "$ac_cv_type_long_long" = yes; then
20180 # The cast to unsigned long works around a bug in the HP C Compiler
20181 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20182 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20183 # This bug is HP SR number 8606223364.
20184 if test "$cross_compiling" = yes; then
20185 # Depending upon the size, compute the lo and hi bounds.
20186 cat >conftest.$ac_ext <<_ACEOF
20187 /* confdefs.h. */
20188 _ACEOF
20189 cat confdefs.h >>conftest.$ac_ext
20190 cat >>conftest.$ac_ext <<_ACEOF
20191 /* end confdefs.h. */
20192 $ac_includes_default
20193 int
20194 main ()
20195 {
20196 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20197 test_array [0] = 0
20198
20199 ;
20200 return 0;
20201 }
20202 _ACEOF
20203 rm -f conftest.$ac_objext
20204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20205 (eval $ac_compile) 2>conftest.er1
20206 ac_status=$?
20207 grep -v '^ *+' conftest.er1 >conftest.err
20208 rm -f conftest.er1
20209 cat conftest.err >&5
20210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20211 (exit $ac_status); } &&
20212 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20214 (eval $ac_try) 2>&5
20215 ac_status=$?
20216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20217 (exit $ac_status); }; } &&
20218 { ac_try='test -s conftest.$ac_objext'
20219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20220 (eval $ac_try) 2>&5
20221 ac_status=$?
20222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20223 (exit $ac_status); }; }; then
20224 ac_lo=0 ac_mid=0
20225 while :; do
20226 cat >conftest.$ac_ext <<_ACEOF
20227 /* confdefs.h. */
20228 _ACEOF
20229 cat confdefs.h >>conftest.$ac_ext
20230 cat >>conftest.$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20232 $ac_includes_default
20233 int
20234 main ()
20235 {
20236 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20237 test_array [0] = 0
20238
20239 ;
20240 return 0;
20241 }
20242 _ACEOF
20243 rm -f conftest.$ac_objext
20244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20245 (eval $ac_compile) 2>conftest.er1
20246 ac_status=$?
20247 grep -v '^ *+' conftest.er1 >conftest.err
20248 rm -f conftest.er1
20249 cat conftest.err >&5
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); } &&
20252 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20254 (eval $ac_try) 2>&5
20255 ac_status=$?
20256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257 (exit $ac_status); }; } &&
20258 { ac_try='test -s conftest.$ac_objext'
20259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20260 (eval $ac_try) 2>&5
20261 ac_status=$?
20262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20263 (exit $ac_status); }; }; then
20264 ac_hi=$ac_mid; break
20265 else
20266 echo "$as_me: failed program was:" >&5
20267 sed 's/^/| /' conftest.$ac_ext >&5
20268
20269 ac_lo=`expr $ac_mid + 1`
20270 if test $ac_lo -le $ac_mid; then
20271 ac_lo= ac_hi=
20272 break
20273 fi
20274 ac_mid=`expr 2 '*' $ac_mid + 1`
20275 fi
20276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20277 done
20278 else
20279 echo "$as_me: failed program was:" >&5
20280 sed 's/^/| /' conftest.$ac_ext >&5
20281
20282 cat >conftest.$ac_ext <<_ACEOF
20283 /* confdefs.h. */
20284 _ACEOF
20285 cat confdefs.h >>conftest.$ac_ext
20286 cat >>conftest.$ac_ext <<_ACEOF
20287 /* end confdefs.h. */
20288 $ac_includes_default
20289 int
20290 main ()
20291 {
20292 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20293 test_array [0] = 0
20294
20295 ;
20296 return 0;
20297 }
20298 _ACEOF
20299 rm -f conftest.$ac_objext
20300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20301 (eval $ac_compile) 2>conftest.er1
20302 ac_status=$?
20303 grep -v '^ *+' conftest.er1 >conftest.err
20304 rm -f conftest.er1
20305 cat conftest.err >&5
20306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307 (exit $ac_status); } &&
20308 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20310 (eval $ac_try) 2>&5
20311 ac_status=$?
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); }; } &&
20314 { ac_try='test -s conftest.$ac_objext'
20315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20316 (eval $ac_try) 2>&5
20317 ac_status=$?
20318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20319 (exit $ac_status); }; }; then
20320 ac_hi=-1 ac_mid=-1
20321 while :; do
20322 cat >conftest.$ac_ext <<_ACEOF
20323 /* confdefs.h. */
20324 _ACEOF
20325 cat confdefs.h >>conftest.$ac_ext
20326 cat >>conftest.$ac_ext <<_ACEOF
20327 /* end confdefs.h. */
20328 $ac_includes_default
20329 int
20330 main ()
20331 {
20332 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20333 test_array [0] = 0
20334
20335 ;
20336 return 0;
20337 }
20338 _ACEOF
20339 rm -f conftest.$ac_objext
20340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20341 (eval $ac_compile) 2>conftest.er1
20342 ac_status=$?
20343 grep -v '^ *+' conftest.er1 >conftest.err
20344 rm -f conftest.er1
20345 cat conftest.err >&5
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); } &&
20348 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20350 (eval $ac_try) 2>&5
20351 ac_status=$?
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); }; } &&
20354 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20360 ac_lo=$ac_mid; break
20361 else
20362 echo "$as_me: failed program was:" >&5
20363 sed 's/^/| /' conftest.$ac_ext >&5
20364
20365 ac_hi=`expr '(' $ac_mid ')' - 1`
20366 if test $ac_mid -le $ac_hi; then
20367 ac_lo= ac_hi=
20368 break
20369 fi
20370 ac_mid=`expr 2 '*' $ac_mid`
20371 fi
20372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20373 done
20374 else
20375 echo "$as_me: failed program was:" >&5
20376 sed 's/^/| /' conftest.$ac_ext >&5
20377
20378 ac_lo= ac_hi=
20379 fi
20380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20381 fi
20382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20383 # Binary search between lo and hi bounds.
20384 while test "x$ac_lo" != "x$ac_hi"; do
20385 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20386 cat >conftest.$ac_ext <<_ACEOF
20387 /* confdefs.h. */
20388 _ACEOF
20389 cat confdefs.h >>conftest.$ac_ext
20390 cat >>conftest.$ac_ext <<_ACEOF
20391 /* end confdefs.h. */
20392 $ac_includes_default
20393 int
20394 main ()
20395 {
20396 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20397 test_array [0] = 0
20398
20399 ;
20400 return 0;
20401 }
20402 _ACEOF
20403 rm -f conftest.$ac_objext
20404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20405 (eval $ac_compile) 2>conftest.er1
20406 ac_status=$?
20407 grep -v '^ *+' conftest.er1 >conftest.err
20408 rm -f conftest.er1
20409 cat conftest.err >&5
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); } &&
20412 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20414 (eval $ac_try) 2>&5
20415 ac_status=$?
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); }; } &&
20418 { ac_try='test -s conftest.$ac_objext'
20419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20420 (eval $ac_try) 2>&5
20421 ac_status=$?
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); }; }; then
20424 ac_hi=$ac_mid
20425 else
20426 echo "$as_me: failed program was:" >&5
20427 sed 's/^/| /' conftest.$ac_ext >&5
20428
20429 ac_lo=`expr '(' $ac_mid ')' + 1`
20430 fi
20431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20432 done
20433 case $ac_lo in
20434 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20435 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20436 See \`config.log' for more details." >&5
20437 echo "$as_me: error: cannot compute sizeof (long long), 77
20438 See \`config.log' for more details." >&2;}
20439 { (exit 1); exit 1; }; } ;;
20440 esac
20441 else
20442 if test "$cross_compiling" = yes; then
20443 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20444 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20445 { (exit 1); exit 1; }; }
20446 else
20447 cat >conftest.$ac_ext <<_ACEOF
20448 /* confdefs.h. */
20449 _ACEOF
20450 cat confdefs.h >>conftest.$ac_ext
20451 cat >>conftest.$ac_ext <<_ACEOF
20452 /* end confdefs.h. */
20453 $ac_includes_default
20454 long longval () { return (long) (sizeof (long long)); }
20455 unsigned long ulongval () { return (long) (sizeof (long long)); }
20456 #include <stdio.h>
20457 #include <stdlib.h>
20458 int
20459 main ()
20460 {
20461
20462 FILE *f = fopen ("conftest.val", "w");
20463 if (! f)
20464 exit (1);
20465 if (((long) (sizeof (long long))) < 0)
20466 {
20467 long i = longval ();
20468 if (i != ((long) (sizeof (long long))))
20469 exit (1);
20470 fprintf (f, "%ld\n", i);
20471 }
20472 else
20473 {
20474 unsigned long i = ulongval ();
20475 if (i != ((long) (sizeof (long long))))
20476 exit (1);
20477 fprintf (f, "%lu\n", i);
20478 }
20479 exit (ferror (f) || fclose (f) != 0);
20480
20481 ;
20482 return 0;
20483 }
20484 _ACEOF
20485 rm -f conftest$ac_exeext
20486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20487 (eval $ac_link) 2>&5
20488 ac_status=$?
20489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 (eval $ac_try) 2>&5
20493 ac_status=$?
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); }; }; then
20496 ac_cv_sizeof_long_long=`cat conftest.val`
20497 else
20498 echo "$as_me: program exited with status $ac_status" >&5
20499 echo "$as_me: failed program was:" >&5
20500 sed 's/^/| /' conftest.$ac_ext >&5
20501
20502 ( exit $ac_status )
20503 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20504 See \`config.log' for more details." >&5
20505 echo "$as_me: error: cannot compute sizeof (long long), 77
20506 See \`config.log' for more details." >&2;}
20507 { (exit 1); exit 1; }; }
20508 fi
20509 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20510 fi
20511 fi
20512 rm -f conftest.val
20513 else
20514 ac_cv_sizeof_long_long=0
20515 fi
20516 fi
20517 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20518 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20519 cat >>confdefs.h <<_ACEOF
20520 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20521 _ACEOF
20522
20523
20524 ;;
20525 *-hp-hpux* )
20526 echo "$as_me:$LINENO: checking for long long" >&5
20527 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20528 if test "${ac_cv_type_long_long+set}" = set; then
20529 echo $ECHO_N "(cached) $ECHO_C" >&6
20530 else
20531 cat >conftest.$ac_ext <<_ACEOF
20532 /* confdefs.h. */
20533 _ACEOF
20534 cat confdefs.h >>conftest.$ac_ext
20535 cat >>conftest.$ac_ext <<_ACEOF
20536 /* end confdefs.h. */
20537 $ac_includes_default
20538 int
20539 main ()
20540 {
20541 if ((long long *) 0)
20542 return 0;
20543 if (sizeof (long long))
20544 return 0;
20545 ;
20546 return 0;
20547 }
20548 _ACEOF
20549 rm -f conftest.$ac_objext
20550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20551 (eval $ac_compile) 2>conftest.er1
20552 ac_status=$?
20553 grep -v '^ *+' conftest.er1 >conftest.err
20554 rm -f conftest.er1
20555 cat conftest.err >&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); } &&
20558 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20560 (eval $ac_try) 2>&5
20561 ac_status=$?
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); }; } &&
20564 { ac_try='test -s conftest.$ac_objext'
20565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20566 (eval $ac_try) 2>&5
20567 ac_status=$?
20568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20569 (exit $ac_status); }; }; then
20570 ac_cv_type_long_long=yes
20571 else
20572 echo "$as_me: failed program was:" >&5
20573 sed 's/^/| /' conftest.$ac_ext >&5
20574
20575 ac_cv_type_long_long=no
20576 fi
20577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20578 fi
20579 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20580 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20581
20582 echo "$as_me:$LINENO: checking size of long long" >&5
20583 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20584 if test "${ac_cv_sizeof_long_long+set}" = set; then
20585 echo $ECHO_N "(cached) $ECHO_C" >&6
20586 else
20587 if test "$ac_cv_type_long_long" = yes; then
20588 # The cast to unsigned long works around a bug in the HP C Compiler
20589 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20590 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20591 # This bug is HP SR number 8606223364.
20592 if test "$cross_compiling" = yes; then
20593 # Depending upon the size, compute the lo and hi bounds.
20594 cat >conftest.$ac_ext <<_ACEOF
20595 /* confdefs.h. */
20596 _ACEOF
20597 cat confdefs.h >>conftest.$ac_ext
20598 cat >>conftest.$ac_ext <<_ACEOF
20599 /* end confdefs.h. */
20600 $ac_includes_default
20601 int
20602 main ()
20603 {
20604 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20605 test_array [0] = 0
20606
20607 ;
20608 return 0;
20609 }
20610 _ACEOF
20611 rm -f conftest.$ac_objext
20612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20613 (eval $ac_compile) 2>conftest.er1
20614 ac_status=$?
20615 grep -v '^ *+' conftest.er1 >conftest.err
20616 rm -f conftest.er1
20617 cat conftest.err >&5
20618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20619 (exit $ac_status); } &&
20620 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20622 (eval $ac_try) 2>&5
20623 ac_status=$?
20624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20625 (exit $ac_status); }; } &&
20626 { ac_try='test -s conftest.$ac_objext'
20627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20628 (eval $ac_try) 2>&5
20629 ac_status=$?
20630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20631 (exit $ac_status); }; }; then
20632 ac_lo=0 ac_mid=0
20633 while :; do
20634 cat >conftest.$ac_ext <<_ACEOF
20635 /* confdefs.h. */
20636 _ACEOF
20637 cat confdefs.h >>conftest.$ac_ext
20638 cat >>conftest.$ac_ext <<_ACEOF
20639 /* end confdefs.h. */
20640 $ac_includes_default
20641 int
20642 main ()
20643 {
20644 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20645 test_array [0] = 0
20646
20647 ;
20648 return 0;
20649 }
20650 _ACEOF
20651 rm -f conftest.$ac_objext
20652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20653 (eval $ac_compile) 2>conftest.er1
20654 ac_status=$?
20655 grep -v '^ *+' conftest.er1 >conftest.err
20656 rm -f conftest.er1
20657 cat conftest.err >&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); } &&
20660 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20662 (eval $ac_try) 2>&5
20663 ac_status=$?
20664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20665 (exit $ac_status); }; } &&
20666 { ac_try='test -s conftest.$ac_objext'
20667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20668 (eval $ac_try) 2>&5
20669 ac_status=$?
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); }; }; then
20672 ac_hi=$ac_mid; break
20673 else
20674 echo "$as_me: failed program was:" >&5
20675 sed 's/^/| /' conftest.$ac_ext >&5
20676
20677 ac_lo=`expr $ac_mid + 1`
20678 if test $ac_lo -le $ac_mid; then
20679 ac_lo= ac_hi=
20680 break
20681 fi
20682 ac_mid=`expr 2 '*' $ac_mid + 1`
20683 fi
20684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20685 done
20686 else
20687 echo "$as_me: failed program was:" >&5
20688 sed 's/^/| /' conftest.$ac_ext >&5
20689
20690 cat >conftest.$ac_ext <<_ACEOF
20691 /* confdefs.h. */
20692 _ACEOF
20693 cat confdefs.h >>conftest.$ac_ext
20694 cat >>conftest.$ac_ext <<_ACEOF
20695 /* end confdefs.h. */
20696 $ac_includes_default
20697 int
20698 main ()
20699 {
20700 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20701 test_array [0] = 0
20702
20703 ;
20704 return 0;
20705 }
20706 _ACEOF
20707 rm -f conftest.$ac_objext
20708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20709 (eval $ac_compile) 2>conftest.er1
20710 ac_status=$?
20711 grep -v '^ *+' conftest.er1 >conftest.err
20712 rm -f conftest.er1
20713 cat conftest.err >&5
20714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20715 (exit $ac_status); } &&
20716 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20718 (eval $ac_try) 2>&5
20719 ac_status=$?
20720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20721 (exit $ac_status); }; } &&
20722 { ac_try='test -s conftest.$ac_objext'
20723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20724 (eval $ac_try) 2>&5
20725 ac_status=$?
20726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727 (exit $ac_status); }; }; then
20728 ac_hi=-1 ac_mid=-1
20729 while :; do
20730 cat >conftest.$ac_ext <<_ACEOF
20731 /* confdefs.h. */
20732 _ACEOF
20733 cat confdefs.h >>conftest.$ac_ext
20734 cat >>conftest.$ac_ext <<_ACEOF
20735 /* end confdefs.h. */
20736 $ac_includes_default
20737 int
20738 main ()
20739 {
20740 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20741 test_array [0] = 0
20742
20743 ;
20744 return 0;
20745 }
20746 _ACEOF
20747 rm -f conftest.$ac_objext
20748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20749 (eval $ac_compile) 2>conftest.er1
20750 ac_status=$?
20751 grep -v '^ *+' conftest.er1 >conftest.err
20752 rm -f conftest.er1
20753 cat conftest.err >&5
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); } &&
20756 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20758 (eval $ac_try) 2>&5
20759 ac_status=$?
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; } &&
20762 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20768 ac_lo=$ac_mid; break
20769 else
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.$ac_ext >&5
20772
20773 ac_hi=`expr '(' $ac_mid ')' - 1`
20774 if test $ac_mid -le $ac_hi; then
20775 ac_lo= ac_hi=
20776 break
20777 fi
20778 ac_mid=`expr 2 '*' $ac_mid`
20779 fi
20780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20781 done
20782 else
20783 echo "$as_me: failed program was:" >&5
20784 sed 's/^/| /' conftest.$ac_ext >&5
20785
20786 ac_lo= ac_hi=
20787 fi
20788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20789 fi
20790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20791 # Binary search between lo and hi bounds.
20792 while test "x$ac_lo" != "x$ac_hi"; do
20793 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20794 cat >conftest.$ac_ext <<_ACEOF
20795 /* confdefs.h. */
20796 _ACEOF
20797 cat confdefs.h >>conftest.$ac_ext
20798 cat >>conftest.$ac_ext <<_ACEOF
20799 /* end confdefs.h. */
20800 $ac_includes_default
20801 int
20802 main ()
20803 {
20804 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20805 test_array [0] = 0
20806
20807 ;
20808 return 0;
20809 }
20810 _ACEOF
20811 rm -f conftest.$ac_objext
20812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20813 (eval $ac_compile) 2>conftest.er1
20814 ac_status=$?
20815 grep -v '^ *+' conftest.er1 >conftest.err
20816 rm -f conftest.er1
20817 cat conftest.err >&5
20818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20819 (exit $ac_status); } &&
20820 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20822 (eval $ac_try) 2>&5
20823 ac_status=$?
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); }; } &&
20826 { ac_try='test -s conftest.$ac_objext'
20827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20828 (eval $ac_try) 2>&5
20829 ac_status=$?
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); }; }; then
20832 ac_hi=$ac_mid
20833 else
20834 echo "$as_me: failed program was:" >&5
20835 sed 's/^/| /' conftest.$ac_ext >&5
20836
20837 ac_lo=`expr '(' $ac_mid ')' + 1`
20838 fi
20839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20840 done
20841 case $ac_lo in
20842 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20843 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20844 See \`config.log' for more details." >&5
20845 echo "$as_me: error: cannot compute sizeof (long long), 77
20846 See \`config.log' for more details." >&2;}
20847 { (exit 1); exit 1; }; } ;;
20848 esac
20849 else
20850 if test "$cross_compiling" = yes; then
20851 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20852 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20853 { (exit 1); exit 1; }; }
20854 else
20855 cat >conftest.$ac_ext <<_ACEOF
20856 /* confdefs.h. */
20857 _ACEOF
20858 cat confdefs.h >>conftest.$ac_ext
20859 cat >>conftest.$ac_ext <<_ACEOF
20860 /* end confdefs.h. */
20861 $ac_includes_default
20862 long longval () { return (long) (sizeof (long long)); }
20863 unsigned long ulongval () { return (long) (sizeof (long long)); }
20864 #include <stdio.h>
20865 #include <stdlib.h>
20866 int
20867 main ()
20868 {
20869
20870 FILE *f = fopen ("conftest.val", "w");
20871 if (! f)
20872 exit (1);
20873 if (((long) (sizeof (long long))) < 0)
20874 {
20875 long i = longval ();
20876 if (i != ((long) (sizeof (long long))))
20877 exit (1);
20878 fprintf (f, "%ld\n", i);
20879 }
20880 else
20881 {
20882 unsigned long i = ulongval ();
20883 if (i != ((long) (sizeof (long long))))
20884 exit (1);
20885 fprintf (f, "%lu\n", i);
20886 }
20887 exit (ferror (f) || fclose (f) != 0);
20888
20889 ;
20890 return 0;
20891 }
20892 _ACEOF
20893 rm -f conftest$ac_exeext
20894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20895 (eval $ac_link) 2>&5
20896 ac_status=$?
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
20904 ac_cv_sizeof_long_long=`cat conftest.val`
20905 else
20906 echo "$as_me: program exited with status $ac_status" >&5
20907 echo "$as_me: failed program was:" >&5
20908 sed 's/^/| /' conftest.$ac_ext >&5
20909
20910 ( exit $ac_status )
20911 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20912 See \`config.log' for more details." >&5
20913 echo "$as_me: error: cannot compute sizeof (long long), 77
20914 See \`config.log' for more details." >&2;}
20915 { (exit 1); exit 1; }; }
20916 fi
20917 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20918 fi
20919 fi
20920 rm -f conftest.val
20921 else
20922 ac_cv_sizeof_long_long=0
20923 fi
20924 fi
20925 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20926 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20927 cat >>confdefs.h <<_ACEOF
20928 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20929 _ACEOF
20930
20931
20932 if test "$ac_cv_sizeof_long_long" != "0"; then
20933 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20934 fi
20935 ;;
20936 * )
20937 echo "$as_me:$LINENO: checking for long long" >&5
20938 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20939 if test "${ac_cv_type_long_long+set}" = set; then
20940 echo $ECHO_N "(cached) $ECHO_C" >&6
20941 else
20942 cat >conftest.$ac_ext <<_ACEOF
20943 /* confdefs.h. */
20944 _ACEOF
20945 cat confdefs.h >>conftest.$ac_ext
20946 cat >>conftest.$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20948 $ac_includes_default
20949 int
20950 main ()
20951 {
20952 if ((long long *) 0)
20953 return 0;
20954 if (sizeof (long long))
20955 return 0;
20956 ;
20957 return 0;
20958 }
20959 _ACEOF
20960 rm -f conftest.$ac_objext
20961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20962 (eval $ac_compile) 2>conftest.er1
20963 ac_status=$?
20964 grep -v '^ *+' conftest.er1 >conftest.err
20965 rm -f conftest.er1
20966 cat conftest.err >&5
20967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20968 (exit $ac_status); } &&
20969 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20971 (eval $ac_try) 2>&5
20972 ac_status=$?
20973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20974 (exit $ac_status); }; } &&
20975 { ac_try='test -s conftest.$ac_objext'
20976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20977 (eval $ac_try) 2>&5
20978 ac_status=$?
20979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20980 (exit $ac_status); }; }; then
20981 ac_cv_type_long_long=yes
20982 else
20983 echo "$as_me: failed program was:" >&5
20984 sed 's/^/| /' conftest.$ac_ext >&5
20985
20986 ac_cv_type_long_long=no
20987 fi
20988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20989 fi
20990 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20991 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20992
20993 echo "$as_me:$LINENO: checking size of long long" >&5
20994 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20995 if test "${ac_cv_sizeof_long_long+set}" = set; then
20996 echo $ECHO_N "(cached) $ECHO_C" >&6
20997 else
20998 if test "$ac_cv_type_long_long" = yes; then
20999 # The cast to unsigned long works around a bug in the HP C Compiler
21000 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21001 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21002 # This bug is HP SR number 8606223364.
21003 if test "$cross_compiling" = yes; then
21004 # Depending upon the size, compute the lo and hi bounds.
21005 cat >conftest.$ac_ext <<_ACEOF
21006 /* confdefs.h. */
21007 _ACEOF
21008 cat confdefs.h >>conftest.$ac_ext
21009 cat >>conftest.$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21011 $ac_includes_default
21012 int
21013 main ()
21014 {
21015 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21016 test_array [0] = 0
21017
21018 ;
21019 return 0;
21020 }
21021 _ACEOF
21022 rm -f conftest.$ac_objext
21023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21024 (eval $ac_compile) 2>conftest.er1
21025 ac_status=$?
21026 grep -v '^ *+' conftest.er1 >conftest.err
21027 rm -f conftest.er1
21028 cat conftest.err >&5
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); } &&
21031 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21033 (eval $ac_try) 2>&5
21034 ac_status=$?
21035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036 (exit $ac_status); }; } &&
21037 { ac_try='test -s conftest.$ac_objext'
21038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21039 (eval $ac_try) 2>&5
21040 ac_status=$?
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); }; }; then
21043 ac_lo=0 ac_mid=0
21044 while :; do
21045 cat >conftest.$ac_ext <<_ACEOF
21046 /* confdefs.h. */
21047 _ACEOF
21048 cat confdefs.h >>conftest.$ac_ext
21049 cat >>conftest.$ac_ext <<_ACEOF
21050 /* end confdefs.h. */
21051 $ac_includes_default
21052 int
21053 main ()
21054 {
21055 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21056 test_array [0] = 0
21057
21058 ;
21059 return 0;
21060 }
21061 _ACEOF
21062 rm -f conftest.$ac_objext
21063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21064 (eval $ac_compile) 2>conftest.er1
21065 ac_status=$?
21066 grep -v '^ *+' conftest.er1 >conftest.err
21067 rm -f conftest.er1
21068 cat conftest.err >&5
21069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21070 (exit $ac_status); } &&
21071 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21073 (eval $ac_try) 2>&5
21074 ac_status=$?
21075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21076 (exit $ac_status); }; } &&
21077 { ac_try='test -s conftest.$ac_objext'
21078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21079 (eval $ac_try) 2>&5
21080 ac_status=$?
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); }; }; then
21083 ac_hi=$ac_mid; break
21084 else
21085 echo "$as_me: failed program was:" >&5
21086 sed 's/^/| /' conftest.$ac_ext >&5
21087
21088 ac_lo=`expr $ac_mid + 1`
21089 if test $ac_lo -le $ac_mid; then
21090 ac_lo= ac_hi=
21091 break
21092 fi
21093 ac_mid=`expr 2 '*' $ac_mid + 1`
21094 fi
21095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21096 done
21097 else
21098 echo "$as_me: failed program was:" >&5
21099 sed 's/^/| /' conftest.$ac_ext >&5
21100
21101 cat >conftest.$ac_ext <<_ACEOF
21102 /* confdefs.h. */
21103 _ACEOF
21104 cat confdefs.h >>conftest.$ac_ext
21105 cat >>conftest.$ac_ext <<_ACEOF
21106 /* end confdefs.h. */
21107 $ac_includes_default
21108 int
21109 main ()
21110 {
21111 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21112 test_array [0] = 0
21113
21114 ;
21115 return 0;
21116 }
21117 _ACEOF
21118 rm -f conftest.$ac_objext
21119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21120 (eval $ac_compile) 2>conftest.er1
21121 ac_status=$?
21122 grep -v '^ *+' conftest.er1 >conftest.err
21123 rm -f conftest.er1
21124 cat conftest.err >&5
21125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21126 (exit $ac_status); } &&
21127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21129 (eval $ac_try) 2>&5
21130 ac_status=$?
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); }; } &&
21133 { ac_try='test -s conftest.$ac_objext'
21134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21135 (eval $ac_try) 2>&5
21136 ac_status=$?
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); }; }; then
21139 ac_hi=-1 ac_mid=-1
21140 while :; do
21141 cat >conftest.$ac_ext <<_ACEOF
21142 /* confdefs.h. */
21143 _ACEOF
21144 cat confdefs.h >>conftest.$ac_ext
21145 cat >>conftest.$ac_ext <<_ACEOF
21146 /* end confdefs.h. */
21147 $ac_includes_default
21148 int
21149 main ()
21150 {
21151 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21152 test_array [0] = 0
21153
21154 ;
21155 return 0;
21156 }
21157 _ACEOF
21158 rm -f conftest.$ac_objext
21159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21160 (eval $ac_compile) 2>conftest.er1
21161 ac_status=$?
21162 grep -v '^ *+' conftest.er1 >conftest.err
21163 rm -f conftest.er1
21164 cat conftest.err >&5
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); } &&
21167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21169 (eval $ac_try) 2>&5
21170 ac_status=$?
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); }; } &&
21173 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21179 ac_lo=$ac_mid; break
21180 else
21181 echo "$as_me: failed program was:" >&5
21182 sed 's/^/| /' conftest.$ac_ext >&5
21183
21184 ac_hi=`expr '(' $ac_mid ')' - 1`
21185 if test $ac_mid -le $ac_hi; then
21186 ac_lo= ac_hi=
21187 break
21188 fi
21189 ac_mid=`expr 2 '*' $ac_mid`
21190 fi
21191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21192 done
21193 else
21194 echo "$as_me: failed program was:" >&5
21195 sed 's/^/| /' conftest.$ac_ext >&5
21196
21197 ac_lo= ac_hi=
21198 fi
21199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21200 fi
21201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21202 # Binary search between lo and hi bounds.
21203 while test "x$ac_lo" != "x$ac_hi"; do
21204 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21205 cat >conftest.$ac_ext <<_ACEOF
21206 /* confdefs.h. */
21207 _ACEOF
21208 cat confdefs.h >>conftest.$ac_ext
21209 cat >>conftest.$ac_ext <<_ACEOF
21210 /* end confdefs.h. */
21211 $ac_includes_default
21212 int
21213 main ()
21214 {
21215 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21216 test_array [0] = 0
21217
21218 ;
21219 return 0;
21220 }
21221 _ACEOF
21222 rm -f conftest.$ac_objext
21223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21224 (eval $ac_compile) 2>conftest.er1
21225 ac_status=$?
21226 grep -v '^ *+' conftest.er1 >conftest.err
21227 rm -f conftest.er1
21228 cat conftest.err >&5
21229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21230 (exit $ac_status); } &&
21231 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21233 (eval $ac_try) 2>&5
21234 ac_status=$?
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); }; } &&
21237 { ac_try='test -s conftest.$ac_objext'
21238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21239 (eval $ac_try) 2>&5
21240 ac_status=$?
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); }; }; then
21243 ac_hi=$ac_mid
21244 else
21245 echo "$as_me: failed program was:" >&5
21246 sed 's/^/| /' conftest.$ac_ext >&5
21247
21248 ac_lo=`expr '(' $ac_mid ')' + 1`
21249 fi
21250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21251 done
21252 case $ac_lo in
21253 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21254 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21255 See \`config.log' for more details." >&5
21256 echo "$as_me: error: cannot compute sizeof (long long), 77
21257 See \`config.log' for more details." >&2;}
21258 { (exit 1); exit 1; }; } ;;
21259 esac
21260 else
21261 if test "$cross_compiling" = yes; then
21262 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21263 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21264 { (exit 1); exit 1; }; }
21265 else
21266 cat >conftest.$ac_ext <<_ACEOF
21267 /* confdefs.h. */
21268 _ACEOF
21269 cat confdefs.h >>conftest.$ac_ext
21270 cat >>conftest.$ac_ext <<_ACEOF
21271 /* end confdefs.h. */
21272 $ac_includes_default
21273 long longval () { return (long) (sizeof (long long)); }
21274 unsigned long ulongval () { return (long) (sizeof (long long)); }
21275 #include <stdio.h>
21276 #include <stdlib.h>
21277 int
21278 main ()
21279 {
21280
21281 FILE *f = fopen ("conftest.val", "w");
21282 if (! f)
21283 exit (1);
21284 if (((long) (sizeof (long long))) < 0)
21285 {
21286 long i = longval ();
21287 if (i != ((long) (sizeof (long long))))
21288 exit (1);
21289 fprintf (f, "%ld\n", i);
21290 }
21291 else
21292 {
21293 unsigned long i = ulongval ();
21294 if (i != ((long) (sizeof (long long))))
21295 exit (1);
21296 fprintf (f, "%lu\n", i);
21297 }
21298 exit (ferror (f) || fclose (f) != 0);
21299
21300 ;
21301 return 0;
21302 }
21303 _ACEOF
21304 rm -f conftest$ac_exeext
21305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21306 (eval $ac_link) 2>&5
21307 ac_status=$?
21308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21309 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
21315 ac_cv_sizeof_long_long=`cat conftest.val`
21316 else
21317 echo "$as_me: program exited with status $ac_status" >&5
21318 echo "$as_me: failed program was:" >&5
21319 sed 's/^/| /' conftest.$ac_ext >&5
21320
21321 ( exit $ac_status )
21322 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21323 See \`config.log' for more details." >&5
21324 echo "$as_me: error: cannot compute sizeof (long long), 77
21325 See \`config.log' for more details." >&2;}
21326 { (exit 1); exit 1; }; }
21327 fi
21328 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21329 fi
21330 fi
21331 rm -f conftest.val
21332 else
21333 ac_cv_sizeof_long_long=0
21334 fi
21335 fi
21336 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21337 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21338 cat >>confdefs.h <<_ACEOF
21339 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21340 _ACEOF
21341
21342
21343 esac
21344
21345 echo "$as_me:$LINENO: checking for wchar_t" >&5
21346 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21347 if test "${ac_cv_type_wchar_t+set}" = set; then
21348 echo $ECHO_N "(cached) $ECHO_C" >&6
21349 else
21350 cat >conftest.$ac_ext <<_ACEOF
21351 /* confdefs.h. */
21352 _ACEOF
21353 cat confdefs.h >>conftest.$ac_ext
21354 cat >>conftest.$ac_ext <<_ACEOF
21355 /* end confdefs.h. */
21356
21357 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21358 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21359 # error "fake wchar_t"
21360 #endif
21361 #ifdef HAVE_WCHAR_H
21362 # ifdef __CYGWIN__
21363 # include <stddef.h>
21364 # endif
21365 # include <wchar.h>
21366 #endif
21367 #ifdef HAVE_STDLIB_H
21368 # include <stdlib.h>
21369 #endif
21370 #include <stdio.h>
21371
21372
21373
21374 int
21375 main ()
21376 {
21377 if ((wchar_t *) 0)
21378 return 0;
21379 if (sizeof (wchar_t))
21380 return 0;
21381 ;
21382 return 0;
21383 }
21384 _ACEOF
21385 rm -f conftest.$ac_objext
21386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21387 (eval $ac_compile) 2>conftest.er1
21388 ac_status=$?
21389 grep -v '^ *+' conftest.er1 >conftest.err
21390 rm -f conftest.er1
21391 cat conftest.err >&5
21392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21393 (exit $ac_status); } &&
21394 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21396 (eval $ac_try) 2>&5
21397 ac_status=$?
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); }; } &&
21400 { ac_try='test -s conftest.$ac_objext'
21401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402 (eval $ac_try) 2>&5
21403 ac_status=$?
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); }; }; then
21406 ac_cv_type_wchar_t=yes
21407 else
21408 echo "$as_me: failed program was:" >&5
21409 sed 's/^/| /' conftest.$ac_ext >&5
21410
21411 ac_cv_type_wchar_t=no
21412 fi
21413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21414 fi
21415 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21416 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21417
21418 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21419 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21420 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21421 echo $ECHO_N "(cached) $ECHO_C" >&6
21422 else
21423 if test "$ac_cv_type_wchar_t" = yes; then
21424 # The cast to unsigned long works around a bug in the HP C Compiler
21425 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21426 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21427 # This bug is HP SR number 8606223364.
21428 if test "$cross_compiling" = yes; then
21429 # Depending upon the size, compute the lo and hi bounds.
21430 cat >conftest.$ac_ext <<_ACEOF
21431 /* confdefs.h. */
21432 _ACEOF
21433 cat confdefs.h >>conftest.$ac_ext
21434 cat >>conftest.$ac_ext <<_ACEOF
21435 /* end confdefs.h. */
21436
21437 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21438 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21439 # error "fake wchar_t"
21440 #endif
21441 #ifdef HAVE_WCHAR_H
21442 # ifdef __CYGWIN__
21443 # include <stddef.h>
21444 # endif
21445 # include <wchar.h>
21446 #endif
21447 #ifdef HAVE_STDLIB_H
21448 # include <stdlib.h>
21449 #endif
21450 #include <stdio.h>
21451
21452
21453
21454 int
21455 main ()
21456 {
21457 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21458 test_array [0] = 0
21459
21460 ;
21461 return 0;
21462 }
21463 _ACEOF
21464 rm -f conftest.$ac_objext
21465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21466 (eval $ac_compile) 2>conftest.er1
21467 ac_status=$?
21468 grep -v '^ *+' conftest.er1 >conftest.err
21469 rm -f conftest.er1
21470 cat conftest.err >&5
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); } &&
21473 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21475 (eval $ac_try) 2>&5
21476 ac_status=$?
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); }; } &&
21479 { ac_try='test -s conftest.$ac_objext'
21480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21481 (eval $ac_try) 2>&5
21482 ac_status=$?
21483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21484 (exit $ac_status); }; }; then
21485 ac_lo=0 ac_mid=0
21486 while :; do
21487 cat >conftest.$ac_ext <<_ACEOF
21488 /* confdefs.h. */
21489 _ACEOF
21490 cat confdefs.h >>conftest.$ac_ext
21491 cat >>conftest.$ac_ext <<_ACEOF
21492 /* end confdefs.h. */
21493
21494 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21495 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21496 # error "fake wchar_t"
21497 #endif
21498 #ifdef HAVE_WCHAR_H
21499 # ifdef __CYGWIN__
21500 # include <stddef.h>
21501 # endif
21502 # include <wchar.h>
21503 #endif
21504 #ifdef HAVE_STDLIB_H
21505 # include <stdlib.h>
21506 #endif
21507 #include <stdio.h>
21508
21509
21510
21511 int
21512 main ()
21513 {
21514 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21515 test_array [0] = 0
21516
21517 ;
21518 return 0;
21519 }
21520 _ACEOF
21521 rm -f conftest.$ac_objext
21522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21523 (eval $ac_compile) 2>conftest.er1
21524 ac_status=$?
21525 grep -v '^ *+' conftest.er1 >conftest.err
21526 rm -f conftest.er1
21527 cat conftest.err >&5
21528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529 (exit $ac_status); } &&
21530 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21532 (eval $ac_try) 2>&5
21533 ac_status=$?
21534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21535 (exit $ac_status); }; } &&
21536 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21542 ac_hi=$ac_mid; break
21543 else
21544 echo "$as_me: failed program was:" >&5
21545 sed 's/^/| /' conftest.$ac_ext >&5
21546
21547 ac_lo=`expr $ac_mid + 1`
21548 if test $ac_lo -le $ac_mid; then
21549 ac_lo= ac_hi=
21550 break
21551 fi
21552 ac_mid=`expr 2 '*' $ac_mid + 1`
21553 fi
21554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21555 done
21556 else
21557 echo "$as_me: failed program was:" >&5
21558 sed 's/^/| /' conftest.$ac_ext >&5
21559
21560 cat >conftest.$ac_ext <<_ACEOF
21561 /* confdefs.h. */
21562 _ACEOF
21563 cat confdefs.h >>conftest.$ac_ext
21564 cat >>conftest.$ac_ext <<_ACEOF
21565 /* end confdefs.h. */
21566
21567 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21568 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21569 # error "fake wchar_t"
21570 #endif
21571 #ifdef HAVE_WCHAR_H
21572 # ifdef __CYGWIN__
21573 # include <stddef.h>
21574 # endif
21575 # include <wchar.h>
21576 #endif
21577 #ifdef HAVE_STDLIB_H
21578 # include <stdlib.h>
21579 #endif
21580 #include <stdio.h>
21581
21582
21583
21584 int
21585 main ()
21586 {
21587 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21588 test_array [0] = 0
21589
21590 ;
21591 return 0;
21592 }
21593 _ACEOF
21594 rm -f conftest.$ac_objext
21595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21596 (eval $ac_compile) 2>conftest.er1
21597 ac_status=$?
21598 grep -v '^ *+' conftest.er1 >conftest.err
21599 rm -f conftest.er1
21600 cat conftest.err >&5
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); } &&
21603 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21605 (eval $ac_try) 2>&5
21606 ac_status=$?
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); }; } &&
21609 { ac_try='test -s conftest.$ac_objext'
21610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21611 (eval $ac_try) 2>&5
21612 ac_status=$?
21613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21614 (exit $ac_status); }; }; then
21615 ac_hi=-1 ac_mid=-1
21616 while :; do
21617 cat >conftest.$ac_ext <<_ACEOF
21618 /* confdefs.h. */
21619 _ACEOF
21620 cat confdefs.h >>conftest.$ac_ext
21621 cat >>conftest.$ac_ext <<_ACEOF
21622 /* end confdefs.h. */
21623
21624 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21625 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21626 # error "fake wchar_t"
21627 #endif
21628 #ifdef HAVE_WCHAR_H
21629 # ifdef __CYGWIN__
21630 # include <stddef.h>
21631 # endif
21632 # include <wchar.h>
21633 #endif
21634 #ifdef HAVE_STDLIB_H
21635 # include <stdlib.h>
21636 #endif
21637 #include <stdio.h>
21638
21639
21640
21641 int
21642 main ()
21643 {
21644 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21645 test_array [0] = 0
21646
21647 ;
21648 return 0;
21649 }
21650 _ACEOF
21651 rm -f conftest.$ac_objext
21652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21653 (eval $ac_compile) 2>conftest.er1
21654 ac_status=$?
21655 grep -v '^ *+' conftest.er1 >conftest.err
21656 rm -f conftest.er1
21657 cat conftest.err >&5
21658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659 (exit $ac_status); } &&
21660 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21662 (eval $ac_try) 2>&5
21663 ac_status=$?
21664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665 (exit $ac_status); }; } &&
21666 { ac_try='test -s conftest.$ac_objext'
21667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21668 (eval $ac_try) 2>&5
21669 ac_status=$?
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); }; }; then
21672 ac_lo=$ac_mid; break
21673 else
21674 echo "$as_me: failed program was:" >&5
21675 sed 's/^/| /' conftest.$ac_ext >&5
21676
21677 ac_hi=`expr '(' $ac_mid ')' - 1`
21678 if test $ac_mid -le $ac_hi; then
21679 ac_lo= ac_hi=
21680 break
21681 fi
21682 ac_mid=`expr 2 '*' $ac_mid`
21683 fi
21684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21685 done
21686 else
21687 echo "$as_me: failed program was:" >&5
21688 sed 's/^/| /' conftest.$ac_ext >&5
21689
21690 ac_lo= ac_hi=
21691 fi
21692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21693 fi
21694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21695 # Binary search between lo and hi bounds.
21696 while test "x$ac_lo" != "x$ac_hi"; do
21697 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21698 cat >conftest.$ac_ext <<_ACEOF
21699 /* confdefs.h. */
21700 _ACEOF
21701 cat confdefs.h >>conftest.$ac_ext
21702 cat >>conftest.$ac_ext <<_ACEOF
21703 /* end confdefs.h. */
21704
21705 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21706 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21707 # error "fake wchar_t"
21708 #endif
21709 #ifdef HAVE_WCHAR_H
21710 # ifdef __CYGWIN__
21711 # include <stddef.h>
21712 # endif
21713 # include <wchar.h>
21714 #endif
21715 #ifdef HAVE_STDLIB_H
21716 # include <stdlib.h>
21717 #endif
21718 #include <stdio.h>
21719
21720
21721
21722 int
21723 main ()
21724 {
21725 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21726 test_array [0] = 0
21727
21728 ;
21729 return 0;
21730 }
21731 _ACEOF
21732 rm -f conftest.$ac_objext
21733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21734 (eval $ac_compile) 2>conftest.er1
21735 ac_status=$?
21736 grep -v '^ *+' conftest.er1 >conftest.err
21737 rm -f conftest.er1
21738 cat conftest.err >&5
21739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21740 (exit $ac_status); } &&
21741 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21743 (eval $ac_try) 2>&5
21744 ac_status=$?
21745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21746 (exit $ac_status); }; } &&
21747 { ac_try='test -s conftest.$ac_objext'
21748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21749 (eval $ac_try) 2>&5
21750 ac_status=$?
21751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); }; }; then
21753 ac_hi=$ac_mid
21754 else
21755 echo "$as_me: failed program was:" >&5
21756 sed 's/^/| /' conftest.$ac_ext >&5
21757
21758 ac_lo=`expr '(' $ac_mid ')' + 1`
21759 fi
21760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21761 done
21762 case $ac_lo in
21763 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21764 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21765 See \`config.log' for more details." >&5
21766 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21767 See \`config.log' for more details." >&2;}
21768 { (exit 1); exit 1; }; } ;;
21769 esac
21770 else
21771 if test "$cross_compiling" = yes; then
21772 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21773 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21774 { (exit 1); exit 1; }; }
21775 else
21776 cat >conftest.$ac_ext <<_ACEOF
21777 /* confdefs.h. */
21778 _ACEOF
21779 cat confdefs.h >>conftest.$ac_ext
21780 cat >>conftest.$ac_ext <<_ACEOF
21781 /* end confdefs.h. */
21782
21783 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21784 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21785 # error "fake wchar_t"
21786 #endif
21787 #ifdef HAVE_WCHAR_H
21788 # ifdef __CYGWIN__
21789 # include <stddef.h>
21790 # endif
21791 # include <wchar.h>
21792 #endif
21793 #ifdef HAVE_STDLIB_H
21794 # include <stdlib.h>
21795 #endif
21796 #include <stdio.h>
21797
21798
21799
21800 long longval () { return (long) (sizeof (wchar_t)); }
21801 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
21802 #include <stdio.h>
21803 #include <stdlib.h>
21804 int
21805 main ()
21806 {
21807
21808 FILE *f = fopen ("conftest.val", "w");
21809 if (! f)
21810 exit (1);
21811 if (((long) (sizeof (wchar_t))) < 0)
21812 {
21813 long i = longval ();
21814 if (i != ((long) (sizeof (wchar_t))))
21815 exit (1);
21816 fprintf (f, "%ld\n", i);
21817 }
21818 else
21819 {
21820 unsigned long i = ulongval ();
21821 if (i != ((long) (sizeof (wchar_t))))
21822 exit (1);
21823 fprintf (f, "%lu\n", i);
21824 }
21825 exit (ferror (f) || fclose (f) != 0);
21826
21827 ;
21828 return 0;
21829 }
21830 _ACEOF
21831 rm -f conftest$ac_exeext
21832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21833 (eval $ac_link) 2>&5
21834 ac_status=$?
21835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21838 (eval $ac_try) 2>&5
21839 ac_status=$?
21840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21841 (exit $ac_status); }; }; then
21842 ac_cv_sizeof_wchar_t=`cat conftest.val`
21843 else
21844 echo "$as_me: program exited with status $ac_status" >&5
21845 echo "$as_me: failed program was:" >&5
21846 sed 's/^/| /' conftest.$ac_ext >&5
21847
21848 ( exit $ac_status )
21849 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
21850 See \`config.log' for more details." >&5
21851 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
21852 See \`config.log' for more details." >&2;}
21853 { (exit 1); exit 1; }; }
21854 fi
21855 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21856 fi
21857 fi
21858 rm -f conftest.val
21859 else
21860 ac_cv_sizeof_wchar_t=0
21861 fi
21862 fi
21863 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21864 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
21865 cat >>confdefs.h <<_ACEOF
21866 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21867 _ACEOF
21868
21869
21870 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21871 wxUSE_WCHAR_T=yes
21872 else
21873 wxUSE_WCHAR_T=no
21874 fi
21875
21876 echo "$as_me:$LINENO: checking for va_copy" >&5
21877 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
21878 if test "${wx_cv_func_va_copy+set}" = set; then
21879 echo $ECHO_N "(cached) $ECHO_C" >&6
21880 else
21881
21882 cat >conftest.$ac_ext <<_ACEOF
21883
21884 #include <stdarg.h>
21885 void foo(char *f, ...)
21886 {
21887 va_list ap1, ap2;
21888 va_start(ap1, f);
21889 va_copy(ap2, ap1);
21890 va_end(ap2);
21891 va_end(ap1);
21892 }
21893 int main()
21894 {
21895 foo("hi", 17);
21896 return 0;
21897 }
21898 _ACEOF
21899 rm -f conftest.$ac_objext conftest$ac_exeext
21900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21901 (eval $ac_link) 2>conftest.er1
21902 ac_status=$?
21903 grep -v '^ *+' conftest.er1 >conftest.err
21904 rm -f conftest.er1
21905 cat conftest.err >&5
21906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21907 (exit $ac_status); } &&
21908 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21910 (eval $ac_try) 2>&5
21911 ac_status=$?
21912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21913 (exit $ac_status); }; } &&
21914 { ac_try='test -s conftest$ac_exeext'
21915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21916 (eval $ac_try) 2>&5
21917 ac_status=$?
21918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21919 (exit $ac_status); }; }; then
21920 wx_cv_func_va_copy=yes
21921 else
21922 echo "$as_me: failed program was:" >&5
21923 sed 's/^/| /' conftest.$ac_ext >&5
21924
21925 wx_cv_func_va_copy=no
21926
21927 fi
21928 rm -f conftest.err conftest.$ac_objext \
21929 conftest$ac_exeext conftest.$ac_ext
21930
21931
21932 fi
21933 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21934 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
21935
21936 if test $wx_cv_func_va_copy = "yes"; then
21937 cat >>confdefs.h <<\_ACEOF
21938 #define HAVE_VA_COPY 1
21939 _ACEOF
21940
21941 else
21942 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21943 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
21944 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21945 echo $ECHO_N "(cached) $ECHO_C" >&6
21946 else
21947
21948 if test "$cross_compiling" = yes; then
21949 wx_cv_type_va_list_lvalue=yes
21950
21951 else
21952 cat >conftest.$ac_ext <<_ACEOF
21953
21954 #include <stdarg.h>
21955 int foo(char *f, ...)
21956 {
21957 va_list ap1, ap2;
21958 va_start(ap1, f);
21959 ap2 = ap1;
21960 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21961 return 1;
21962 va_end(ap2);
21963 va_end(ap1);
21964 return 0;
21965 }
21966 int main()
21967 {
21968 return foo("hi", 17);
21969 }
21970 _ACEOF
21971 rm -f conftest$ac_exeext
21972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21973 (eval $ac_link) 2>&5
21974 ac_status=$?
21975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21976 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21978 (eval $ac_try) 2>&5
21979 ac_status=$?
21980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21981 (exit $ac_status); }; }; then
21982 wx_cv_type_va_list_lvalue=yes
21983 else
21984 echo "$as_me: program exited with status $ac_status" >&5
21985 echo "$as_me: failed program was:" >&5
21986 sed 's/^/| /' conftest.$ac_ext >&5
21987
21988 ( exit $ac_status )
21989 wx_cv_type_va_list_lvalue=no
21990 fi
21991 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21992 fi
21993
21994
21995 fi
21996 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
21997 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
21998
21999 if test $wx_cv_type_va_list_lvalue != "yes"; then
22000 cat >>confdefs.h <<\_ACEOF
22001 #define VA_LIST_IS_ARRAY 1
22002 _ACEOF
22003
22004 fi
22005 fi
22006
22007 # Check whether --enable-largefile or --disable-largefile was given.
22008 if test "${enable_largefile+set}" = set; then
22009 enableval="$enable_largefile"
22010
22011 fi;
22012 if test "$enable_largefile" != no; then
22013 wx_largefile=no
22014
22015 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22016 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22017 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22018 echo $ECHO_N "(cached) $ECHO_C" >&6
22019 else
22020
22021 cat >conftest.$ac_ext <<_ACEOF
22022 /* confdefs.h. */
22023 _ACEOF
22024 cat confdefs.h >>conftest.$ac_ext
22025 cat >>conftest.$ac_ext <<_ACEOF
22026 /* end confdefs.h. */
22027 #define _FILE_OFFSET_BITS 64
22028 #include <sys/types.h>
22029 int
22030 main ()
22031 {
22032 typedef struct {
22033 unsigned int field: sizeof(off_t) == 8;
22034 } wxlf;
22035
22036 ;
22037 return 0;
22038 }
22039 _ACEOF
22040 rm -f conftest.$ac_objext
22041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22042 (eval $ac_compile) 2>conftest.er1
22043 ac_status=$?
22044 grep -v '^ *+' conftest.er1 >conftest.err
22045 rm -f conftest.er1
22046 cat conftest.err >&5
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); } &&
22049 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22051 (eval $ac_try) 2>&5
22052 ac_status=$?
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); }; } &&
22055 { ac_try='test -s conftest.$ac_objext'
22056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22057 (eval $ac_try) 2>&5
22058 ac_status=$?
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); }; }; then
22061 ac_cv_sys_file_offset_bits=64
22062 else
22063 echo "$as_me: failed program was:" >&5
22064 sed 's/^/| /' conftest.$ac_ext >&5
22065
22066 ac_cv_sys_file_offset_bits=no
22067 fi
22068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22069
22070
22071 fi
22072 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22073 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22074
22075 if test "$ac_cv_sys_file_offset_bits" != no; then
22076 wx_largefile=yes
22077 cat >>confdefs.h <<_ACEOF
22078 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22079 _ACEOF
22080
22081 fi
22082
22083 if test "x$wx_largefile" != "xyes"; then
22084
22085 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22086 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22087 if test "${ac_cv_sys_large_files+set}" = set; then
22088 echo $ECHO_N "(cached) $ECHO_C" >&6
22089 else
22090
22091 cat >conftest.$ac_ext <<_ACEOF
22092 /* confdefs.h. */
22093 _ACEOF
22094 cat confdefs.h >>conftest.$ac_ext
22095 cat >>conftest.$ac_ext <<_ACEOF
22096 /* end confdefs.h. */
22097 #define _LARGE_FILES 1
22098 #include <sys/types.h>
22099 int
22100 main ()
22101 {
22102 typedef struct {
22103 unsigned int field: sizeof(off_t) == 8;
22104 } wxlf;
22105
22106 ;
22107 return 0;
22108 }
22109 _ACEOF
22110 rm -f conftest.$ac_objext
22111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22112 (eval $ac_compile) 2>conftest.er1
22113 ac_status=$?
22114 grep -v '^ *+' conftest.er1 >conftest.err
22115 rm -f conftest.er1
22116 cat conftest.err >&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); } &&
22119 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22121 (eval $ac_try) 2>&5
22122 ac_status=$?
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); }; } &&
22125 { ac_try='test -s conftest.$ac_objext'
22126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22127 (eval $ac_try) 2>&5
22128 ac_status=$?
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); }; }; then
22131 ac_cv_sys_large_files=1
22132 else
22133 echo "$as_me: failed program was:" >&5
22134 sed 's/^/| /' conftest.$ac_ext >&5
22135
22136 ac_cv_sys_large_files=no
22137 fi
22138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22139
22140
22141 fi
22142 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22143 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22144
22145 if test "$ac_cv_sys_large_files" != no; then
22146 wx_largefile=yes
22147 cat >>confdefs.h <<_ACEOF
22148 #define _LARGE_FILES $ac_cv_sys_large_files
22149 _ACEOF
22150
22151 fi
22152
22153 fi
22154
22155 echo "$as_me:$LINENO: checking if large file support is available" >&5
22156 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22157 if test "x$wx_largefile" = "xyes"; then
22158 cat >>confdefs.h <<\_ACEOF
22159 #define HAVE_LARGEFILE_SUPPORT 1
22160 _ACEOF
22161
22162 fi
22163 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22164 echo "${ECHO_T}$wx_largefile" >&6
22165 fi
22166
22167
22168 if test "x$wx_largefile" = "xyes"; then
22169 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22170 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22171
22172 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22173 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22174 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22175 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22176 echo $ECHO_N "(cached) $ECHO_C" >&6
22177 else
22178
22179 cat >conftest.$ac_ext <<_ACEOF
22180 /* confdefs.h. */
22181 _ACEOF
22182 cat confdefs.h >>conftest.$ac_ext
22183 cat >>conftest.$ac_ext <<_ACEOF
22184 /* end confdefs.h. */
22185
22186 int
22187 main ()
22188 {
22189
22190 #ifndef __STDC_EXT__
22191 choke me
22192 #endif
22193
22194 ;
22195 return 0;
22196 }
22197 _ACEOF
22198 rm -f conftest.$ac_objext
22199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22200 (eval $ac_compile) 2>conftest.er1
22201 ac_status=$?
22202 grep -v '^ *+' conftest.er1 >conftest.err
22203 rm -f conftest.er1
22204 cat conftest.err >&5
22205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22206 (exit $ac_status); } &&
22207 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22209 (eval $ac_try) 2>&5
22210 ac_status=$?
22211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22212 (exit $ac_status); }; } &&
22213 { ac_try='test -s conftest.$ac_objext'
22214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22215 (eval $ac_try) 2>&5
22216 ac_status=$?
22217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22218 (exit $ac_status); }; }; then
22219 wx_cv_STDC_EXT_required=no
22220 else
22221 echo "$as_me: failed program was:" >&5
22222 sed 's/^/| /' conftest.$ac_ext >&5
22223
22224 wx_cv_STDC_EXT_required=yes
22225
22226 fi
22227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22228
22229
22230 fi
22231 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22232 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22233 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22234 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22235 fi
22236 fi
22237 else
22238 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22239 fi
22240 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22241 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22242 if test "${ac_cv_sys_largefile_source+set}" = set; then
22243 echo $ECHO_N "(cached) $ECHO_C" >&6
22244 else
22245 while :; do
22246 ac_cv_sys_largefile_source=no
22247 cat >conftest.$ac_ext <<_ACEOF
22248 /* confdefs.h. */
22249 _ACEOF
22250 cat confdefs.h >>conftest.$ac_ext
22251 cat >>conftest.$ac_ext <<_ACEOF
22252 /* end confdefs.h. */
22253 #include <stdio.h>
22254 int
22255 main ()
22256 {
22257 return !fseeko;
22258 ;
22259 return 0;
22260 }
22261 _ACEOF
22262 rm -f conftest.$ac_objext
22263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22264 (eval $ac_compile) 2>conftest.er1
22265 ac_status=$?
22266 grep -v '^ *+' conftest.er1 >conftest.err
22267 rm -f conftest.er1
22268 cat conftest.err >&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); } &&
22271 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22273 (eval $ac_try) 2>&5
22274 ac_status=$?
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); }; } &&
22277 { ac_try='test -s conftest.$ac_objext'
22278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22279 (eval $ac_try) 2>&5
22280 ac_status=$?
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); }; }; then
22283 break
22284 else
22285 echo "$as_me: failed program was:" >&5
22286 sed 's/^/| /' conftest.$ac_ext >&5
22287
22288 fi
22289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22290 cat >conftest.$ac_ext <<_ACEOF
22291 /* confdefs.h. */
22292 _ACEOF
22293 cat confdefs.h >>conftest.$ac_ext
22294 cat >>conftest.$ac_ext <<_ACEOF
22295 /* end confdefs.h. */
22296 #define _LARGEFILE_SOURCE 1
22297 #include <stdio.h>
22298 int
22299 main ()
22300 {
22301 return !fseeko;
22302 ;
22303 return 0;
22304 }
22305 _ACEOF
22306 rm -f conftest.$ac_objext
22307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22308 (eval $ac_compile) 2>conftest.er1
22309 ac_status=$?
22310 grep -v '^ *+' conftest.er1 >conftest.err
22311 rm -f conftest.er1
22312 cat conftest.err >&5
22313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314 (exit $ac_status); } &&
22315 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22317 (eval $ac_try) 2>&5
22318 ac_status=$?
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); }; } &&
22321 { ac_try='test -s conftest.$ac_objext'
22322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22323 (eval $ac_try) 2>&5
22324 ac_status=$?
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); }; }; then
22327 ac_cv_sys_largefile_source=1; break
22328 else
22329 echo "$as_me: failed program was:" >&5
22330 sed 's/^/| /' conftest.$ac_ext >&5
22331
22332 fi
22333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22334 break
22335 done
22336 fi
22337 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22338 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22339 if test "$ac_cv_sys_largefile_source" != no; then
22340
22341 cat >>confdefs.h <<_ACEOF
22342 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22343 _ACEOF
22344
22345 fi
22346 rm -f conftest*
22347
22348 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22349 # in glibc 2.1.3, but that breaks too many other things.
22350 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22351 echo "$as_me:$LINENO: checking for fseeko" >&5
22352 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22353 if test "${ac_cv_func_fseeko+set}" = set; then
22354 echo $ECHO_N "(cached) $ECHO_C" >&6
22355 else
22356 cat >conftest.$ac_ext <<_ACEOF
22357 /* confdefs.h. */
22358 _ACEOF
22359 cat confdefs.h >>conftest.$ac_ext
22360 cat >>conftest.$ac_ext <<_ACEOF
22361 /* end confdefs.h. */
22362 #include <stdio.h>
22363 int
22364 main ()
22365 {
22366 return fseeko && fseeko (stdin, 0, 0);
22367 ;
22368 return 0;
22369 }
22370 _ACEOF
22371 rm -f conftest.$ac_objext conftest$ac_exeext
22372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22373 (eval $ac_link) 2>conftest.er1
22374 ac_status=$?
22375 grep -v '^ *+' conftest.er1 >conftest.err
22376 rm -f conftest.er1
22377 cat conftest.err >&5
22378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22379 (exit $ac_status); } &&
22380 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22382 (eval $ac_try) 2>&5
22383 ac_status=$?
22384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22385 (exit $ac_status); }; } &&
22386 { ac_try='test -s conftest$ac_exeext'
22387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22388 (eval $ac_try) 2>&5
22389 ac_status=$?
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); }; }; then
22392 ac_cv_func_fseeko=yes
22393 else
22394 echo "$as_me: failed program was:" >&5
22395 sed 's/^/| /' conftest.$ac_ext >&5
22396
22397 ac_cv_func_fseeko=no
22398 fi
22399 rm -f conftest.err conftest.$ac_objext \
22400 conftest$ac_exeext conftest.$ac_ext
22401 fi
22402 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22403 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22404 if test $ac_cv_func_fseeko = yes; then
22405
22406 cat >>confdefs.h <<\_ACEOF
22407 #define HAVE_FSEEKO 1
22408 _ACEOF
22409
22410 fi
22411
22412 if test "$ac_cv_sys_largefile_source" != no; then
22413 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22414 fi
22415 fi
22416
22417 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22418 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22419 if test "${ac_cv_c_bigendian+set}" = set; then
22420 echo $ECHO_N "(cached) $ECHO_C" >&6
22421 else
22422 ac_cv_c_bigendian=unknown
22423 # See if sys/param.h defines the BYTE_ORDER macro.
22424 cat >conftest.$ac_ext <<_ACEOF
22425 /* confdefs.h. */
22426 _ACEOF
22427 cat confdefs.h >>conftest.$ac_ext
22428 cat >>conftest.$ac_ext <<_ACEOF
22429 /* end confdefs.h. */
22430 #include <sys/types.h>
22431 #include <sys/param.h>
22432 int
22433 main ()
22434 {
22435
22436 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22437 bogus endian macros
22438 #endif
22439 ;
22440 return 0;
22441 }
22442 _ACEOF
22443 rm -f conftest.$ac_objext
22444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22445 (eval $ac_compile) 2>conftest.er1
22446 ac_status=$?
22447 grep -v '^ *+' conftest.er1 >conftest.err
22448 rm -f conftest.er1
22449 cat conftest.err >&5
22450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451 (exit $ac_status); } &&
22452 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22454 (eval $ac_try) 2>&5
22455 ac_status=$?
22456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22457 (exit $ac_status); }; } &&
22458 { ac_try='test -s conftest.$ac_objext'
22459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22460 (eval $ac_try) 2>&5
22461 ac_status=$?
22462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22463 (exit $ac_status); }; }; then
22464 # It does; now see whether it defined to BIG_ENDIAN or not.
22465 cat >conftest.$ac_ext <<_ACEOF
22466 /* confdefs.h. */
22467 _ACEOF
22468 cat confdefs.h >>conftest.$ac_ext
22469 cat >>conftest.$ac_ext <<_ACEOF
22470 /* end confdefs.h. */
22471 #include <sys/types.h>
22472 #include <sys/param.h>
22473 int
22474 main ()
22475 {
22476
22477 #if BYTE_ORDER != BIG_ENDIAN
22478 not big endian
22479 #endif
22480 ;
22481 return 0;
22482 }
22483 _ACEOF
22484 rm -f conftest.$ac_objext
22485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22486 (eval $ac_compile) 2>conftest.er1
22487 ac_status=$?
22488 grep -v '^ *+' conftest.er1 >conftest.err
22489 rm -f conftest.er1
22490 cat conftest.err >&5
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492 (exit $ac_status); } &&
22493 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22495 (eval $ac_try) 2>&5
22496 ac_status=$?
22497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498 (exit $ac_status); }; } &&
22499 { ac_try='test -s conftest.$ac_objext'
22500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22501 (eval $ac_try) 2>&5
22502 ac_status=$?
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); }; }; then
22505 ac_cv_c_bigendian=yes
22506 else
22507 echo "$as_me: failed program was:" >&5
22508 sed 's/^/| /' conftest.$ac_ext >&5
22509
22510 ac_cv_c_bigendian=no
22511 fi
22512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22513 else
22514 echo "$as_me: failed program was:" >&5
22515 sed 's/^/| /' conftest.$ac_ext >&5
22516
22517 fi
22518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22519 if test $ac_cv_c_bigendian = unknown; then
22520 if test "$cross_compiling" = yes; then
22521 ac_cv_c_bigendian=unknown
22522 else
22523 cat >conftest.$ac_ext <<_ACEOF
22524 /* confdefs.h. */
22525 _ACEOF
22526 cat confdefs.h >>conftest.$ac_ext
22527 cat >>conftest.$ac_ext <<_ACEOF
22528 /* end confdefs.h. */
22529 main () {
22530 /* Are we little or big endian? From Harbison&Steele. */
22531 union
22532 {
22533 long l;
22534 char c[sizeof (long)];
22535 } u;
22536 u.l = 1;
22537 exit (u.c[sizeof (long) - 1] == 1);
22538 }
22539 _ACEOF
22540 rm -f conftest$ac_exeext
22541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22542 (eval $ac_link) 2>&5
22543 ac_status=$?
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22547 (eval $ac_try) 2>&5
22548 ac_status=$?
22549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22550 (exit $ac_status); }; }; then
22551 ac_cv_c_bigendian=no
22552 else
22553 echo "$as_me: program exited with status $ac_status" >&5
22554 echo "$as_me: failed program was:" >&5
22555 sed 's/^/| /' conftest.$ac_ext >&5
22556
22557 ( exit $ac_status )
22558 ac_cv_c_bigendian=yes
22559 fi
22560 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22561 fi
22562 fi
22563 fi
22564 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22565 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22566 if test $ac_cv_c_bigendian = unknown; then
22567 { 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
22568 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;}
22569 fi
22570 if test $ac_cv_c_bigendian = yes; then
22571 cat >>confdefs.h <<\_ACEOF
22572 #define WORDS_BIGENDIAN 1
22573 _ACEOF
22574
22575 fi
22576
22577
22578
22579
22580
22581 ac_ext=cc
22582 ac_cpp='$CXXCPP $CPPFLAGS'
22583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22586
22587
22588
22589 for ac_header in iostream
22590 do
22591 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22593 echo "$as_me:$LINENO: checking for $ac_header" >&5
22594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22596 echo $ECHO_N "(cached) $ECHO_C" >&6
22597 fi
22598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22600 else
22601 # Is the header compilable?
22602 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22603 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22604 cat >conftest.$ac_ext <<_ACEOF
22605 /* confdefs.h. */
22606 _ACEOF
22607 cat confdefs.h >>conftest.$ac_ext
22608 cat >>conftest.$ac_ext <<_ACEOF
22609 /* end confdefs.h. */
22610 $ac_includes_default
22611 #include <$ac_header>
22612 _ACEOF
22613 rm -f conftest.$ac_objext
22614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22615 (eval $ac_compile) 2>conftest.er1
22616 ac_status=$?
22617 grep -v '^ *+' conftest.er1 >conftest.err
22618 rm -f conftest.er1
22619 cat conftest.err >&5
22620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22621 (exit $ac_status); } &&
22622 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22624 (eval $ac_try) 2>&5
22625 ac_status=$?
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); }; } &&
22628 { ac_try='test -s conftest.$ac_objext'
22629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22630 (eval $ac_try) 2>&5
22631 ac_status=$?
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; }; then
22634 ac_header_compiler=yes
22635 else
22636 echo "$as_me: failed program was:" >&5
22637 sed 's/^/| /' conftest.$ac_ext >&5
22638
22639 ac_header_compiler=no
22640 fi
22641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22642 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22643 echo "${ECHO_T}$ac_header_compiler" >&6
22644
22645 # Is the header present?
22646 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22647 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22648 cat >conftest.$ac_ext <<_ACEOF
22649 /* confdefs.h. */
22650 _ACEOF
22651 cat confdefs.h >>conftest.$ac_ext
22652 cat >>conftest.$ac_ext <<_ACEOF
22653 /* end confdefs.h. */
22654 #include <$ac_header>
22655 _ACEOF
22656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22657 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
22664 if test -s conftest.err; then
22665 ac_cpp_err=$ac_cxx_preproc_warn_flag
22666 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22667 else
22668 ac_cpp_err=
22669 fi
22670 else
22671 ac_cpp_err=yes
22672 fi
22673 if test -z "$ac_cpp_err"; then
22674 ac_header_preproc=yes
22675 else
22676 echo "$as_me: failed program was:" >&5
22677 sed 's/^/| /' conftest.$ac_ext >&5
22678
22679 ac_header_preproc=no
22680 fi
22681 rm -f conftest.err conftest.$ac_ext
22682 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22683 echo "${ECHO_T}$ac_header_preproc" >&6
22684
22685 # So? What about this header?
22686 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22687 yes:no: )
22688 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22689 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22691 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22692 ac_header_preproc=yes
22693 ;;
22694 no:yes:* )
22695 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22696 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22697 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22698 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22699 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22700 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22701 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22702 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22704 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22705 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22706 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22707 (
22708 cat <<\_ASBOX
22709 ## ----------------------------------------- ##
22710 ## Report this to wx-dev@lists.wxwidgets.org ##
22711 ## ----------------------------------------- ##
22712 _ASBOX
22713 ) |
22714 sed "s/^/$as_me: WARNING: /" >&2
22715 ;;
22716 esac
22717 echo "$as_me:$LINENO: checking for $ac_header" >&5
22718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22720 echo $ECHO_N "(cached) $ECHO_C" >&6
22721 else
22722 eval "$as_ac_Header=\$ac_header_preproc"
22723 fi
22724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22726
22727 fi
22728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22729 cat >>confdefs.h <<_ACEOF
22730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22731 _ACEOF
22732
22733 fi
22734
22735 done
22736
22737
22738 if test "$ac_cv_header_iostream" = "yes" ; then
22739 :
22740 else
22741 cat >>confdefs.h <<\_ACEOF
22742 #define wxUSE_IOSTREAMH 1
22743 _ACEOF
22744
22745 fi
22746
22747 ac_ext=cc
22748 ac_cpp='$CXXCPP $CPPFLAGS'
22749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22752
22753
22754
22755
22756 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22757 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
22758 if test "${wx_cv_cpp_bool+set}" = set; then
22759 echo $ECHO_N "(cached) $ECHO_C" >&6
22760 else
22761
22762
22763
22764 ac_ext=cc
22765 ac_cpp='$CXXCPP $CPPFLAGS'
22766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22769
22770
22771 cat >conftest.$ac_ext <<_ACEOF
22772 /* confdefs.h. */
22773 _ACEOF
22774 cat confdefs.h >>conftest.$ac_ext
22775 cat >>conftest.$ac_ext <<_ACEOF
22776 /* end confdefs.h. */
22777
22778
22779 int
22780 main ()
22781 {
22782
22783 bool b = true;
22784
22785 return 0;
22786
22787 ;
22788 return 0;
22789 }
22790 _ACEOF
22791 rm -f conftest.$ac_objext
22792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22793 (eval $ac_compile) 2>conftest.er1
22794 ac_status=$?
22795 grep -v '^ *+' conftest.er1 >conftest.err
22796 rm -f conftest.er1
22797 cat conftest.err >&5
22798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799 (exit $ac_status); } &&
22800 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22802 (eval $ac_try) 2>&5
22803 ac_status=$?
22804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22805 (exit $ac_status); }; } &&
22806 { ac_try='test -s conftest.$ac_objext'
22807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22808 (eval $ac_try) 2>&5
22809 ac_status=$?
22810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22811 (exit $ac_status); }; }; then
22812
22813 wx_cv_cpp_bool=yes
22814
22815 else
22816 echo "$as_me: failed program was:" >&5
22817 sed 's/^/| /' conftest.$ac_ext >&5
22818
22819
22820 wx_cv_cpp_bool=no
22821
22822
22823 fi
22824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22825
22826 ac_ext=cc
22827 ac_cpp='$CXXCPP $CPPFLAGS'
22828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22831
22832
22833 fi
22834 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22835 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
22836
22837 if test "$wx_cv_cpp_bool" = "yes"; then
22838 cat >>confdefs.h <<\_ACEOF
22839 #define HAVE_BOOL 1
22840 _ACEOF
22841
22842 fi
22843
22844
22845
22846 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22847 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
22848 if test "${wx_cv_explicit+set}" = set; then
22849 echo $ECHO_N "(cached) $ECHO_C" >&6
22850 else
22851
22852
22853
22854 ac_ext=cc
22855 ac_cpp='$CXXCPP $CPPFLAGS'
22856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22859
22860
22861 cat >conftest.$ac_ext <<_ACEOF
22862 /* confdefs.h. */
22863 _ACEOF
22864 cat confdefs.h >>conftest.$ac_ext
22865 cat >>conftest.$ac_ext <<_ACEOF
22866 /* end confdefs.h. */
22867
22868 class Foo { public: explicit Foo(int) {} };
22869
22870 int
22871 main ()
22872 {
22873
22874 return 0;
22875
22876 ;
22877 return 0;
22878 }
22879 _ACEOF
22880 rm -f conftest.$ac_objext
22881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22882 (eval $ac_compile) 2>conftest.er1
22883 ac_status=$?
22884 grep -v '^ *+' conftest.er1 >conftest.err
22885 rm -f conftest.er1
22886 cat conftest.err >&5
22887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22888 (exit $ac_status); } &&
22889 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22891 (eval $ac_try) 2>&5
22892 ac_status=$?
22893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22894 (exit $ac_status); }; } &&
22895 { ac_try='test -s conftest.$ac_objext'
22896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22897 (eval $ac_try) 2>&5
22898 ac_status=$?
22899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22900 (exit $ac_status); }; }; then
22901
22902 cat >conftest.$ac_ext <<_ACEOF
22903 /* confdefs.h. */
22904 _ACEOF
22905 cat confdefs.h >>conftest.$ac_ext
22906 cat >>conftest.$ac_ext <<_ACEOF
22907 /* end confdefs.h. */
22908
22909 class Foo { public: explicit Foo(int) {} };
22910 static void TakeFoo(const Foo& foo) { }
22911
22912 int
22913 main ()
22914 {
22915
22916 TakeFoo(17);
22917 return 0;
22918
22919 ;
22920 return 0;
22921 }
22922 _ACEOF
22923 rm -f conftest.$ac_objext
22924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22925 (eval $ac_compile) 2>conftest.er1
22926 ac_status=$?
22927 grep -v '^ *+' conftest.er1 >conftest.err
22928 rm -f conftest.er1
22929 cat conftest.err >&5
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); } &&
22932 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22934 (eval $ac_try) 2>&5
22935 ac_status=$?
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); }; } &&
22938 { ac_try='test -s conftest.$ac_objext'
22939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22940 (eval $ac_try) 2>&5
22941 ac_status=$?
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); }; }; then
22944 wx_cv_explicit=no
22945 else
22946 echo "$as_me: failed program was:" >&5
22947 sed 's/^/| /' conftest.$ac_ext >&5
22948
22949 wx_cv_explicit=yes
22950
22951 fi
22952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22953
22954 else
22955 echo "$as_me: failed program was:" >&5
22956 sed 's/^/| /' conftest.$ac_ext >&5
22957
22958 wx_cv_explicit=no
22959
22960 fi
22961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22962
22963 ac_ext=cc
22964 ac_cpp='$CXXCPP $CPPFLAGS'
22965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22968
22969
22970 fi
22971 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22972 echo "${ECHO_T}$wx_cv_explicit" >&6
22973
22974 if test "$wx_cv_explicit" = "yes"; then
22975 cat >>confdefs.h <<\_ACEOF
22976 #define HAVE_EXPLICIT 1
22977 _ACEOF
22978
22979 fi
22980
22981
22982 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22983 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
22984 if test "${ac_cv_cxx_const_cast+set}" = set; then
22985 echo $ECHO_N "(cached) $ECHO_C" >&6
22986 else
22987
22988
22989 ac_ext=cc
22990 ac_cpp='$CXXCPP $CPPFLAGS'
22991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22994
22995 cat >conftest.$ac_ext <<_ACEOF
22996 /* confdefs.h. */
22997 _ACEOF
22998 cat confdefs.h >>conftest.$ac_ext
22999 cat >>conftest.$ac_ext <<_ACEOF
23000 /* end confdefs.h. */
23001
23002 int
23003 main ()
23004 {
23005 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23006 ;
23007 return 0;
23008 }
23009 _ACEOF
23010 rm -f conftest.$ac_objext
23011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23012 (eval $ac_compile) 2>conftest.er1
23013 ac_status=$?
23014 grep -v '^ *+' conftest.er1 >conftest.err
23015 rm -f conftest.er1
23016 cat conftest.err >&5
23017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23018 (exit $ac_status); } &&
23019 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23021 (eval $ac_try) 2>&5
23022 ac_status=$?
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); }; } &&
23025 { ac_try='test -s conftest.$ac_objext'
23026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23027 (eval $ac_try) 2>&5
23028 ac_status=$?
23029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23030 (exit $ac_status); }; }; then
23031 ac_cv_cxx_const_cast=yes
23032 else
23033 echo "$as_me: failed program was:" >&5
23034 sed 's/^/| /' conftest.$ac_ext >&5
23035
23036 ac_cv_cxx_const_cast=no
23037 fi
23038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23039 ac_ext=cc
23040 ac_cpp='$CXXCPP $CPPFLAGS'
23041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23044
23045
23046 fi
23047 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23048 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23049 if test "$ac_cv_cxx_const_cast" = yes; then
23050
23051 cat >>confdefs.h <<\_ACEOF
23052 #define HAVE_CONST_CAST
23053 _ACEOF
23054
23055 fi
23056
23057 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23058 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23059 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23060 echo $ECHO_N "(cached) $ECHO_C" >&6
23061 else
23062
23063
23064 ac_ext=cc
23065 ac_cpp='$CXXCPP $CPPFLAGS'
23066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23069
23070 cat >conftest.$ac_ext <<_ACEOF
23071 /* confdefs.h. */
23072 _ACEOF
23073 cat confdefs.h >>conftest.$ac_ext
23074 cat >>conftest.$ac_ext <<_ACEOF
23075 /* end confdefs.h. */
23076 #include <typeinfo>
23077 class Base { public : Base () {} virtual void f () = 0;};
23078 class Derived : public Base { public : Derived () {} virtual void f () {} };
23079 class Unrelated { public : Unrelated () {} };
23080 int g (Unrelated&) { return 0; }
23081 int
23082 main ()
23083 {
23084
23085 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23086 ;
23087 return 0;
23088 }
23089 _ACEOF
23090 rm -f conftest.$ac_objext
23091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23092 (eval $ac_compile) 2>conftest.er1
23093 ac_status=$?
23094 grep -v '^ *+' conftest.er1 >conftest.err
23095 rm -f conftest.er1
23096 cat conftest.err >&5
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); } &&
23099 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23101 (eval $ac_try) 2>&5
23102 ac_status=$?
23103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23104 (exit $ac_status); }; } &&
23105 { ac_try='test -s conftest.$ac_objext'
23106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23107 (eval $ac_try) 2>&5
23108 ac_status=$?
23109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23110 (exit $ac_status); }; }; then
23111 ac_cv_cxx_reinterpret_cast=yes
23112 else
23113 echo "$as_me: failed program was:" >&5
23114 sed 's/^/| /' conftest.$ac_ext >&5
23115
23116 ac_cv_cxx_reinterpret_cast=no
23117 fi
23118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23119 ac_ext=cc
23120 ac_cpp='$CXXCPP $CPPFLAGS'
23121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23124
23125
23126 fi
23127 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23128 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23129 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23130
23131 cat >>confdefs.h <<\_ACEOF
23132 #define HAVE_REINTERPRET_CAST
23133 _ACEOF
23134
23135 fi
23136
23137 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23138 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23139 if test "${ac_cv_cxx_static_cast+set}" = set; then
23140 echo $ECHO_N "(cached) $ECHO_C" >&6
23141 else
23142
23143
23144 ac_ext=cc
23145 ac_cpp='$CXXCPP $CPPFLAGS'
23146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23149
23150 cat >conftest.$ac_ext <<_ACEOF
23151 /* confdefs.h. */
23152 _ACEOF
23153 cat confdefs.h >>conftest.$ac_ext
23154 cat >>conftest.$ac_ext <<_ACEOF
23155 /* end confdefs.h. */
23156 #include <typeinfo>
23157 class Base { public : Base () {} virtual void f () = 0; };
23158 class Derived : public Base { public : Derived () {} virtual void f () {} };
23159 int g (Derived&) { return 0; }
23160 int
23161 main ()
23162 {
23163
23164 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23165 ;
23166 return 0;
23167 }
23168 _ACEOF
23169 rm -f conftest.$ac_objext
23170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23171 (eval $ac_compile) 2>conftest.er1
23172 ac_status=$?
23173 grep -v '^ *+' conftest.er1 >conftest.err
23174 rm -f conftest.er1
23175 cat conftest.err >&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } &&
23178 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23180 (eval $ac_try) 2>&5
23181 ac_status=$?
23182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23183 (exit $ac_status); }; } &&
23184 { ac_try='test -s conftest.$ac_objext'
23185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23186 (eval $ac_try) 2>&5
23187 ac_status=$?
23188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23189 (exit $ac_status); }; }; then
23190 ac_cv_cxx_static_cast=yes
23191 else
23192 echo "$as_me: failed program was:" >&5
23193 sed 's/^/| /' conftest.$ac_ext >&5
23194
23195 ac_cv_cxx_static_cast=no
23196 fi
23197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23198 ac_ext=cc
23199 ac_cpp='$CXXCPP $CPPFLAGS'
23200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23203
23204
23205 fi
23206 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23207 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23208 if test "$ac_cv_cxx_static_cast" = yes; then
23209
23210 cat >>confdefs.h <<\_ACEOF
23211 #define HAVE_STATIC_CAST
23212 _ACEOF
23213
23214 fi
23215
23216
23217 if test "x$SUNCXX" = xyes; then
23218 CXXFLAGS="-features=tmplife $CXXFLAGS"
23219 fi
23220
23221 if test "x$SUNCC" = xyes; then
23222 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23223 fi
23224
23225 if test "x$SGICC" = "xyes"; then
23226 CFLAGS="-woff 3970 $CFLAGS"
23227 fi
23228 if test "x$SGICXX" = "xyes"; then
23229 CXXFLAGS="-woff 3970 $CXXFLAGS"
23230 fi
23231
23232 if test "x$HPCC" = "xyes"; then
23233 CFLAGS="+W 2011,2450 $CFLAGS"
23234 fi
23235 if test "x$HPCXX" = "xyes"; then
23236 CXXFLAGS="+W 2340 $CXXFLAGS"
23237 fi
23238
23239 if test "x$COMPAQCXX" = "xyes"; then
23240 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23241 fi
23242
23243 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23244 if test "$wxUSE_UNICODE" = "yes"; then
23245 std_string="std::wstring"
23246 char_type="wchar_t"
23247 else
23248 std_string="std::string"
23249 char_type="char"
23250 fi
23251
23252 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23253 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23254 cat >conftest.$ac_ext <<_ACEOF
23255 /* confdefs.h. */
23256 _ACEOF
23257 cat confdefs.h >>conftest.$ac_ext
23258 cat >>conftest.$ac_ext <<_ACEOF
23259 /* end confdefs.h. */
23260 #include <string>
23261 int
23262 main ()
23263 {
23264 $std_string foo;
23265 ;
23266 return 0;
23267 }
23268 _ACEOF
23269 rm -f conftest.$ac_objext
23270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23271 (eval $ac_compile) 2>conftest.er1
23272 ac_status=$?
23273 grep -v '^ *+' conftest.er1 >conftest.err
23274 rm -f conftest.er1
23275 cat conftest.err >&5
23276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23277 (exit $ac_status); } &&
23278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23280 (eval $ac_try) 2>&5
23281 ac_status=$?
23282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23283 (exit $ac_status); }; } &&
23284 { ac_try='test -s conftest.$ac_objext'
23285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23286 (eval $ac_try) 2>&5
23287 ac_status=$?
23288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23289 (exit $ac_status); }; }; then
23290 echo "$as_me:$LINENO: result: yes" >&5
23291 echo "${ECHO_T}yes" >&6
23292 cat >>confdefs.h <<\_ACEOF
23293 #define HAVE_STD_WSTRING 1
23294 _ACEOF
23295
23296 else
23297 echo "$as_me: failed program was:" >&5
23298 sed 's/^/| /' conftest.$ac_ext >&5
23299
23300 echo "$as_me:$LINENO: result: no" >&5
23301 echo "${ECHO_T}no" >&6
23302 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23303 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23304 cat >conftest.$ac_ext <<_ACEOF
23305 /* confdefs.h. */
23306 _ACEOF
23307 cat confdefs.h >>conftest.$ac_ext
23308 cat >>conftest.$ac_ext <<_ACEOF
23309 /* end confdefs.h. */
23310
23311 #ifdef HAVE_WCHAR_H
23312 # ifdef __CYGWIN__
23313 # include <stddef.h>
23314 # endif
23315 # include <wchar.h>
23316 #endif
23317 #ifdef HAVE_STDLIB_H
23318 # include <stdlib.h>
23319 #endif
23320 #include <stdio.h>
23321 #include <string>
23322
23323 int
23324 main ()
23325 {
23326 std::basic_string<$char_type> foo;
23327 const $char_type* dummy = foo.c_str();
23328 ;
23329 return 0;
23330 }
23331 _ACEOF
23332 rm -f conftest.$ac_objext
23333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23334 (eval $ac_compile) 2>conftest.er1
23335 ac_status=$?
23336 grep -v '^ *+' conftest.er1 >conftest.err
23337 rm -f conftest.er1
23338 cat conftest.err >&5
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); } &&
23341 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23343 (eval $ac_try) 2>&5
23344 ac_status=$?
23345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23346 (exit $ac_status); }; } &&
23347 { ac_try='test -s conftest.$ac_objext'
23348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23349 (eval $ac_try) 2>&5
23350 ac_status=$?
23351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352 (exit $ac_status); }; }; then
23353 echo "$as_me:$LINENO: result: yes" >&5
23354 echo "${ECHO_T}yes" >&6
23355 else
23356 echo "$as_me: failed program was:" >&5
23357 sed 's/^/| /' conftest.$ac_ext >&5
23358
23359 echo "$as_me:$LINENO: result: no" >&5
23360 echo "${ECHO_T}no" >&6
23361 if test "$wxUSE_STL" = "yes"; then
23362 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23363 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23364 { (exit 1); exit 1; }; }
23365 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23366 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23367 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23368 { (exit 1); exit 1; }; }
23369 else
23370 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23371 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23372 wxUSE_STD_STRING=no
23373 fi
23374
23375
23376 fi
23377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23378
23379 fi
23380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23381 fi
23382
23383 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23384 echo "$as_me:$LINENO: checking for std::istream" >&5
23385 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23386 if test "${ac_cv_type_std__istream+set}" = set; then
23387 echo $ECHO_N "(cached) $ECHO_C" >&6
23388 else
23389 cat >conftest.$ac_ext <<_ACEOF
23390 /* confdefs.h. */
23391 _ACEOF
23392 cat confdefs.h >>conftest.$ac_ext
23393 cat >>conftest.$ac_ext <<_ACEOF
23394 /* end confdefs.h. */
23395 #include <iostream>
23396
23397 int
23398 main ()
23399 {
23400 if ((std::istream *) 0)
23401 return 0;
23402 if (sizeof (std::istream))
23403 return 0;
23404 ;
23405 return 0;
23406 }
23407 _ACEOF
23408 rm -f conftest.$ac_objext
23409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23410 (eval $ac_compile) 2>conftest.er1
23411 ac_status=$?
23412 grep -v '^ *+' conftest.er1 >conftest.err
23413 rm -f conftest.er1
23414 cat conftest.err >&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); } &&
23417 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23419 (eval $ac_try) 2>&5
23420 ac_status=$?
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); }; } &&
23423 { ac_try='test -s conftest.$ac_objext'
23424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23425 (eval $ac_try) 2>&5
23426 ac_status=$?
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); }; }; then
23429 ac_cv_type_std__istream=yes
23430 else
23431 echo "$as_me: failed program was:" >&5
23432 sed 's/^/| /' conftest.$ac_ext >&5
23433
23434 ac_cv_type_std__istream=no
23435 fi
23436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23437 fi
23438 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23439 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23440 if test $ac_cv_type_std__istream = yes; then
23441
23442 cat >>confdefs.h <<_ACEOF
23443 #define HAVE_STD__ISTREAM 1
23444 _ACEOF
23445
23446
23447 else
23448 wxUSE_STD_IOSTREAM=no
23449 fi
23450 echo "$as_me:$LINENO: checking for std::ostream" >&5
23451 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23452 if test "${ac_cv_type_std__ostream+set}" = set; then
23453 echo $ECHO_N "(cached) $ECHO_C" >&6
23454 else
23455 cat >conftest.$ac_ext <<_ACEOF
23456 /* confdefs.h. */
23457 _ACEOF
23458 cat confdefs.h >>conftest.$ac_ext
23459 cat >>conftest.$ac_ext <<_ACEOF
23460 /* end confdefs.h. */
23461 #include <iostream>
23462
23463 int
23464 main ()
23465 {
23466 if ((std::ostream *) 0)
23467 return 0;
23468 if (sizeof (std::ostream))
23469 return 0;
23470 ;
23471 return 0;
23472 }
23473 _ACEOF
23474 rm -f conftest.$ac_objext
23475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23476 (eval $ac_compile) 2>conftest.er1
23477 ac_status=$?
23478 grep -v '^ *+' conftest.er1 >conftest.err
23479 rm -f conftest.er1
23480 cat conftest.err >&5
23481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482 (exit $ac_status); } &&
23483 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23485 (eval $ac_try) 2>&5
23486 ac_status=$?
23487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23488 (exit $ac_status); }; } &&
23489 { ac_try='test -s conftest.$ac_objext'
23490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23491 (eval $ac_try) 2>&5
23492 ac_status=$?
23493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23494 (exit $ac_status); }; }; then
23495 ac_cv_type_std__ostream=yes
23496 else
23497 echo "$as_me: failed program was:" >&5
23498 sed 's/^/| /' conftest.$ac_ext >&5
23499
23500 ac_cv_type_std__ostream=no
23501 fi
23502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23503 fi
23504 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23505 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23506 if test $ac_cv_type_std__ostream = yes; then
23507
23508 cat >>confdefs.h <<_ACEOF
23509 #define HAVE_STD__OSTREAM 1
23510 _ACEOF
23511
23512
23513 else
23514 wxUSE_STD_IOSTREAM=no
23515 fi
23516
23517
23518 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23519 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23520 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23521 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23522 { (exit 1); exit 1; }; }
23523 else
23524 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23525 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23526 fi
23527 fi
23528 fi
23529
23530 if test "$wxUSE_STL" = "yes"; then
23531 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23532 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23533 cat >conftest.$ac_ext <<_ACEOF
23534 /* confdefs.h. */
23535 _ACEOF
23536 cat confdefs.h >>conftest.$ac_ext
23537 cat >>conftest.$ac_ext <<_ACEOF
23538 /* end confdefs.h. */
23539 #include <string>
23540 #include <functional>
23541 #include <algorithm>
23542 #include <vector>
23543 #include <list>
23544 int
23545 main ()
23546 {
23547 std::vector<int> moo;
23548 std::list<int> foo;
23549 std::vector<int>::iterator it =
23550 std::find_if(moo.begin(), moo.end(),
23551 std::bind2nd(std::less<int>(), 3));
23552 ;
23553 return 0;
23554 }
23555 _ACEOF
23556 rm -f conftest.$ac_objext
23557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23558 (eval $ac_compile) 2>conftest.er1
23559 ac_status=$?
23560 grep -v '^ *+' conftest.er1 >conftest.err
23561 rm -f conftest.er1
23562 cat conftest.err >&5
23563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23564 (exit $ac_status); } &&
23565 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23567 (eval $ac_try) 2>&5
23568 ac_status=$?
23569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23570 (exit $ac_status); }; } &&
23571 { ac_try='test -s conftest.$ac_objext'
23572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23573 (eval $ac_try) 2>&5
23574 ac_status=$?
23575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23576 (exit $ac_status); }; }; then
23577 echo "$as_me:$LINENO: result: yes" >&5
23578 echo "${ECHO_T}yes" >&6
23579 else
23580 echo "$as_me: failed program was:" >&5
23581 sed 's/^/| /' conftest.$ac_ext >&5
23582
23583 echo "$as_me:$LINENO: result: no" >&5
23584 echo "${ECHO_T}no" >&6
23585 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23586 echo "$as_me: error: Basic STL functionality missing" >&2;}
23587 { (exit 1); exit 1; }; }
23588 fi
23589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23590
23591 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23592 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23593 cat >conftest.$ac_ext <<_ACEOF
23594 /* confdefs.h. */
23595 _ACEOF
23596 cat confdefs.h >>conftest.$ac_ext
23597 cat >>conftest.$ac_ext <<_ACEOF
23598 /* end confdefs.h. */
23599 #include <string>
23600 int
23601 main ()
23602 {
23603 std::string foo, bar;
23604 foo.compare(bar);
23605 foo.compare(1, 1, bar);
23606 foo.compare(1, 1, bar, 1, 1);
23607 foo.compare("");
23608 foo.compare(1, 1, "");
23609 foo.compare(1, 1, "", 2);
23610 ;
23611 return 0;
23612 }
23613 _ACEOF
23614 rm -f conftest.$ac_objext
23615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23616 (eval $ac_compile) 2>conftest.er1
23617 ac_status=$?
23618 grep -v '^ *+' conftest.er1 >conftest.err
23619 rm -f conftest.er1
23620 cat conftest.err >&5
23621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23622 (exit $ac_status); } &&
23623 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23625 (eval $ac_try) 2>&5
23626 ac_status=$?
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); }; } &&
23629 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
23635 echo "$as_me:$LINENO: result: yes" >&5
23636 echo "${ECHO_T}yes" >&6
23637 cat >>confdefs.h <<\_ACEOF
23638 #define HAVE_STD_STRING_COMPARE 1
23639 _ACEOF
23640
23641 else
23642 echo "$as_me: failed program was:" >&5
23643 sed 's/^/| /' conftest.$ac_ext >&5
23644
23645 echo "$as_me:$LINENO: result: no" >&5
23646 echo "${ECHO_T}no" >&6
23647 fi
23648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23649
23650 if test "${ac_cv_header_hash_map+set}" = set; then
23651 echo "$as_me:$LINENO: checking for hash_map" >&5
23652 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23653 if test "${ac_cv_header_hash_map+set}" = set; then
23654 echo $ECHO_N "(cached) $ECHO_C" >&6
23655 fi
23656 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23657 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23658 else
23659 # Is the header compilable?
23660 echo "$as_me:$LINENO: checking hash_map usability" >&5
23661 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23662 cat >conftest.$ac_ext <<_ACEOF
23663 /* confdefs.h. */
23664 _ACEOF
23665 cat confdefs.h >>conftest.$ac_ext
23666 cat >>conftest.$ac_ext <<_ACEOF
23667 /* end confdefs.h. */
23668 $ac_includes_default
23669 #include <hash_map>
23670 _ACEOF
23671 rm -f conftest.$ac_objext
23672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23673 (eval $ac_compile) 2>conftest.er1
23674 ac_status=$?
23675 grep -v '^ *+' conftest.er1 >conftest.err
23676 rm -f conftest.er1
23677 cat conftest.err >&5
23678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679 (exit $ac_status); } &&
23680 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23682 (eval $ac_try) 2>&5
23683 ac_status=$?
23684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685 (exit $ac_status); }; } &&
23686 { ac_try='test -s conftest.$ac_objext'
23687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23688 (eval $ac_try) 2>&5
23689 ac_status=$?
23690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23691 (exit $ac_status); }; }; then
23692 ac_header_compiler=yes
23693 else
23694 echo "$as_me: failed program was:" >&5
23695 sed 's/^/| /' conftest.$ac_ext >&5
23696
23697 ac_header_compiler=no
23698 fi
23699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23700 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23701 echo "${ECHO_T}$ac_header_compiler" >&6
23702
23703 # Is the header present?
23704 echo "$as_me:$LINENO: checking hash_map presence" >&5
23705 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
23706 cat >conftest.$ac_ext <<_ACEOF
23707 /* confdefs.h. */
23708 _ACEOF
23709 cat confdefs.h >>conftest.$ac_ext
23710 cat >>conftest.$ac_ext <<_ACEOF
23711 /* end confdefs.h. */
23712 #include <hash_map>
23713 _ACEOF
23714 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23715 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23716 ac_status=$?
23717 grep -v '^ *+' conftest.er1 >conftest.err
23718 rm -f conftest.er1
23719 cat conftest.err >&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); } >/dev/null; then
23722 if test -s conftest.err; then
23723 ac_cpp_err=$ac_cxx_preproc_warn_flag
23724 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23725 else
23726 ac_cpp_err=
23727 fi
23728 else
23729 ac_cpp_err=yes
23730 fi
23731 if test -z "$ac_cpp_err"; then
23732 ac_header_preproc=yes
23733 else
23734 echo "$as_me: failed program was:" >&5
23735 sed 's/^/| /' conftest.$ac_ext >&5
23736
23737 ac_header_preproc=no
23738 fi
23739 rm -f conftest.err conftest.$ac_ext
23740 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23741 echo "${ECHO_T}$ac_header_preproc" >&6
23742
23743 # So? What about this header?
23744 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23745 yes:no: )
23746 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23747 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23748 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
23749 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
23750 ac_header_preproc=yes
23751 ;;
23752 no:yes:* )
23753 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
23754 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
23755 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
23756 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
23757 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
23758 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
23759 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
23760 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23761 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
23762 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
23763 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
23764 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
23765 (
23766 cat <<\_ASBOX
23767 ## ----------------------------------------- ##
23768 ## Report this to wx-dev@lists.wxwidgets.org ##
23769 ## ----------------------------------------- ##
23770 _ASBOX
23771 ) |
23772 sed "s/^/$as_me: WARNING: /" >&2
23773 ;;
23774 esac
23775 echo "$as_me:$LINENO: checking for hash_map" >&5
23776 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23777 if test "${ac_cv_header_hash_map+set}" = set; then
23778 echo $ECHO_N "(cached) $ECHO_C" >&6
23779 else
23780 ac_cv_header_hash_map=$ac_header_preproc
23781 fi
23782 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23783 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23784
23785 fi
23786 if test $ac_cv_header_hash_map = yes; then
23787 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23788 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23789 cat >conftest.$ac_ext <<_ACEOF
23790 /* confdefs.h. */
23791 _ACEOF
23792 cat confdefs.h >>conftest.$ac_ext
23793 cat >>conftest.$ac_ext <<_ACEOF
23794 /* end confdefs.h. */
23795 #include <hash_map>
23796 #include <hash_set>
23797 int
23798 main ()
23799 {
23800 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23801 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23802 ;
23803 return 0;
23804 }
23805 _ACEOF
23806 rm -f conftest.$ac_objext
23807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23808 (eval $ac_compile) 2>conftest.er1
23809 ac_status=$?
23810 grep -v '^ *+' conftest.er1 >conftest.err
23811 rm -f conftest.er1
23812 cat conftest.err >&5
23813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814 (exit $ac_status); } &&
23815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23817 (eval $ac_try) 2>&5
23818 ac_status=$?
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); }; } &&
23821 { ac_try='test -s conftest.$ac_objext'
23822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23823 (eval $ac_try) 2>&5
23824 ac_status=$?
23825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826 (exit $ac_status); }; }; then
23827 echo "$as_me:$LINENO: result: yes" >&5
23828 echo "${ECHO_T}yes" >&6
23829 cat >>confdefs.h <<\_ACEOF
23830 #define HAVE_HASH_MAP 1
23831 _ACEOF
23832
23833 cat >>confdefs.h <<\_ACEOF
23834 #define HAVE_STD_HASH_MAP 1
23835 _ACEOF
23836
23837 else
23838 echo "$as_me: failed program was:" >&5
23839 sed 's/^/| /' conftest.$ac_ext >&5
23840
23841 echo "$as_me:$LINENO: result: no" >&5
23842 echo "${ECHO_T}no" >&6
23843 fi
23844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23845
23846 fi
23847
23848
23849
23850 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23851 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23852 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23853 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23854 echo $ECHO_N "(cached) $ECHO_C" >&6
23855 fi
23856 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23857 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23858 else
23859 # Is the header compilable?
23860 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
23861 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
23862 cat >conftest.$ac_ext <<_ACEOF
23863 /* confdefs.h. */
23864 _ACEOF
23865 cat confdefs.h >>conftest.$ac_ext
23866 cat >>conftest.$ac_ext <<_ACEOF
23867 /* end confdefs.h. */
23868 $ac_includes_default
23869 #include <ext/hash_map>
23870 _ACEOF
23871 rm -f conftest.$ac_objext
23872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23873 (eval $ac_compile) 2>conftest.er1
23874 ac_status=$?
23875 grep -v '^ *+' conftest.er1 >conftest.err
23876 rm -f conftest.er1
23877 cat conftest.err >&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); } &&
23880 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23882 (eval $ac_try) 2>&5
23883 ac_status=$?
23884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23885 (exit $ac_status); }; } &&
23886 { ac_try='test -s conftest.$ac_objext'
23887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23888 (eval $ac_try) 2>&5
23889 ac_status=$?
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); }; }; then
23892 ac_header_compiler=yes
23893 else
23894 echo "$as_me: failed program was:" >&5
23895 sed 's/^/| /' conftest.$ac_ext >&5
23896
23897 ac_header_compiler=no
23898 fi
23899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23901 echo "${ECHO_T}$ac_header_compiler" >&6
23902
23903 # Is the header present?
23904 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
23905 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
23906 cat >conftest.$ac_ext <<_ACEOF
23907 /* confdefs.h. */
23908 _ACEOF
23909 cat confdefs.h >>conftest.$ac_ext
23910 cat >>conftest.$ac_ext <<_ACEOF
23911 /* end confdefs.h. */
23912 #include <ext/hash_map>
23913 _ACEOF
23914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23915 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23916 ac_status=$?
23917 grep -v '^ *+' conftest.er1 >conftest.err
23918 rm -f conftest.er1
23919 cat conftest.err >&5
23920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921 (exit $ac_status); } >/dev/null; then
23922 if test -s conftest.err; then
23923 ac_cpp_err=$ac_cxx_preproc_warn_flag
23924 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23925 else
23926 ac_cpp_err=
23927 fi
23928 else
23929 ac_cpp_err=yes
23930 fi
23931 if test -z "$ac_cpp_err"; then
23932 ac_header_preproc=yes
23933 else
23934 echo "$as_me: failed program was:" >&5
23935 sed 's/^/| /' conftest.$ac_ext >&5
23936
23937 ac_header_preproc=no
23938 fi
23939 rm -f conftest.err conftest.$ac_ext
23940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23941 echo "${ECHO_T}$ac_header_preproc" >&6
23942
23943 # So? What about this header?
23944 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23945 yes:no: )
23946 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
23947 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
23948 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
23949 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
23950 ac_header_preproc=yes
23951 ;;
23952 no:yes:* )
23953 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
23954 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
23955 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
23956 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
23957 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
23958 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
23959 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
23960 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
23961 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
23962 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
23963 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
23964 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
23965 (
23966 cat <<\_ASBOX
23967 ## ----------------------------------------- ##
23968 ## Report this to wx-dev@lists.wxwidgets.org ##
23969 ## ----------------------------------------- ##
23970 _ASBOX
23971 ) |
23972 sed "s/^/$as_me: WARNING: /" >&2
23973 ;;
23974 esac
23975 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23976 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
23977 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23978 echo $ECHO_N "(cached) $ECHO_C" >&6
23979 else
23980 ac_cv_header_ext_hash_map=$ac_header_preproc
23981 fi
23982 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23983 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
23984
23985 fi
23986 if test $ac_cv_header_ext_hash_map = yes; then
23987 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
23988 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
23989 cat >conftest.$ac_ext <<_ACEOF
23990 /* confdefs.h. */
23991 _ACEOF
23992 cat confdefs.h >>conftest.$ac_ext
23993 cat >>conftest.$ac_ext <<_ACEOF
23994 /* end confdefs.h. */
23995 #include <ext/hash_map>
23996 #include <ext/hash_set>
23997 int
23998 main ()
23999 {
24000 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24001 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24002 ;
24003 return 0;
24004 }
24005 _ACEOF
24006 rm -f conftest.$ac_objext
24007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24008 (eval $ac_compile) 2>conftest.er1
24009 ac_status=$?
24010 grep -v '^ *+' conftest.er1 >conftest.err
24011 rm -f conftest.er1
24012 cat conftest.err >&5
24013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24014 (exit $ac_status); } &&
24015 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24017 (eval $ac_try) 2>&5
24018 ac_status=$?
24019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24020 (exit $ac_status); }; } &&
24021 { ac_try='test -s conftest.$ac_objext'
24022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24023 (eval $ac_try) 2>&5
24024 ac_status=$?
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); }; }; then
24027 echo "$as_me:$LINENO: result: yes" >&5
24028 echo "${ECHO_T}yes" >&6
24029 cat >>confdefs.h <<\_ACEOF
24030 #define HAVE_EXT_HASH_MAP 1
24031 _ACEOF
24032
24033 cat >>confdefs.h <<\_ACEOF
24034 #define HAVE_GNU_CXX_HASH_MAP 1
24035 _ACEOF
24036
24037 else
24038 echo "$as_me: failed program was:" >&5
24039 sed 's/^/| /' conftest.$ac_ext >&5
24040
24041 echo "$as_me:$LINENO: result: no" >&5
24042 echo "${ECHO_T}no" >&6
24043 fi
24044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24045
24046 fi
24047
24048
24049 fi
24050
24051
24052 SEARCH_INCLUDE="\
24053 /usr/local/include \
24054 \
24055 /usr/Motif-2.1/include \
24056 /usr/Motif-1.2/include \
24057 /usr/include/Motif1.2 \
24058 \
24059 /usr/dt/include \
24060 /usr/openwin/include \
24061 \
24062 /usr/include/Xm \
24063 \
24064 /usr/X11R6/include \
24065 /usr/X11R6.4/include \
24066 /usr/X11R5/include \
24067 /usr/X11R4/include \
24068 \
24069 /usr/include/X11R6 \
24070 /usr/include/X11R5 \
24071 /usr/include/X11R4 \
24072 \
24073 /usr/local/X11R6/include \
24074 /usr/local/X11R5/include \
24075 /usr/local/X11R4/include \
24076 \
24077 /usr/local/include/X11R6 \
24078 /usr/local/include/X11R5 \
24079 /usr/local/include/X11R4 \
24080 \
24081 /usr/X11/include \
24082 /usr/include/X11 \
24083 /usr/local/X11/include \
24084 /usr/local/include/X11 \
24085 \
24086 /usr/XFree86/include/X11 \
24087 /usr/pkg/include \
24088 \
24089 /usr/openwin/share/include"
24090
24091 echo "$as_me:$LINENO: checking for libraries directory" >&5
24092 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24093
24094 case "${host}" in
24095 *-*-irix6* )
24096 if test "${wx_cv_std_libpath+set}" = set; then
24097 echo $ECHO_N "(cached) $ECHO_C" >&6
24098 else
24099
24100 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24101 for e in a so sl dylib dll.a; do
24102 libc="$d/libc.$e"
24103 if test -f $libc; then
24104 save_LIBS="$LIBS"
24105 LIBS="$libc"
24106 cat >conftest.$ac_ext <<_ACEOF
24107 int main() { return 0; }
24108 _ACEOF
24109 rm -f conftest.$ac_objext conftest$ac_exeext
24110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24111 (eval $ac_link) 2>conftest.er1
24112 ac_status=$?
24113 grep -v '^ *+' conftest.er1 >conftest.err
24114 rm -f conftest.er1
24115 cat conftest.err >&5
24116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24117 (exit $ac_status); } &&
24118 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24120 (eval $ac_try) 2>&5
24121 ac_status=$?
24122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24123 (exit $ac_status); }; } &&
24124 { ac_try='test -s conftest$ac_exeext'
24125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24126 (eval $ac_try) 2>&5
24127 ac_status=$?
24128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24129 (exit $ac_status); }; }; then
24130 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24131 else
24132 echo "$as_me: failed program was:" >&5
24133 sed 's/^/| /' conftest.$ac_ext >&5
24134
24135 fi
24136 rm -f conftest.err conftest.$ac_objext \
24137 conftest$ac_exeext conftest.$ac_ext
24138 LIBS="$save_LIBS"
24139 if test "x$wx_cv_std_libpath" != "x"; then
24140 break 2
24141 fi
24142 fi
24143 done
24144 done
24145 if test "x$wx_cv_std_libpath" = "x"; then
24146 wx_cv_std_libpath="lib"
24147 fi
24148
24149
24150 fi
24151
24152 ;;
24153
24154 *-*-solaris2* )
24155 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24156 wx_cv_std_libpath="lib/64"
24157 else
24158 wx_cv_std_libpath="lib"
24159 fi
24160 ;;
24161
24162 *-*-linux* )
24163 if test "$ac_cv_sizeof_void_p" = 8 -a \
24164 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24165 wx_cv_std_libpath="lib64"
24166 else
24167 wx_cv_std_libpath="lib"
24168 fi
24169 ;;
24170
24171 *)
24172 wx_cv_std_libpath="lib";
24173 ;;
24174 esac
24175
24176 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24177 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24178
24179 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24180
24181 if test "$build" != "$host" -a "$GCC" = yes; then
24182 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24183 cross_root=`dirname $cross_root`
24184 cross_root=`dirname $cross_root`
24185
24186 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24187 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24188 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24189
24190 if test -z "$PKG_CONFIG_PATH"; then
24191 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24192 export PKG_CONFIG_PATH
24193 fi
24194
24195 if test -z "$x_includes" -o "$x_includes" = NONE; then
24196
24197 ac_find_includes=
24198 for ac_dir in $SEARCH_INCLUDE /usr/include;
24199 do
24200 if test -f "$ac_dir/X11/Intrinsic.h"; then
24201 ac_find_includes=$ac_dir
24202 break
24203 fi
24204 done
24205
24206 x_includes=$ac_find_includes
24207 fi
24208 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24209
24210 ac_find_libraries=
24211 for ac_dir in $SEARCH_LIB;
24212 do
24213 for ac_extension in a so sl dylib dll.a; do
24214 if test -f "$ac_dir/libXt.$ac_extension"; then
24215 ac_find_libraries=$ac_dir
24216 break 2
24217 fi
24218 done
24219 done
24220
24221 x_libraries=$ac_find_libraries
24222 fi
24223 fi
24224 fi
24225
24226
24227 cat >confcache <<\_ACEOF
24228 # This file is a shell script that caches the results of configure
24229 # tests run on this system so they can be shared between configure
24230 # scripts and configure runs, see configure's option --config-cache.
24231 # It is not useful on other systems. If it contains results you don't
24232 # want to keep, you may remove or edit it.
24233 #
24234 # config.status only pays attention to the cache file if you give it
24235 # the --recheck option to rerun configure.
24236 #
24237 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24238 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24239 # following values.
24240
24241 _ACEOF
24242
24243 # The following way of writing the cache mishandles newlines in values,
24244 # but we know of no workaround that is simple, portable, and efficient.
24245 # So, don't put newlines in cache variables' values.
24246 # Ultrix sh set writes to stderr and can't be redirected directly,
24247 # and sets the high bit in the cache file unless we assign to the vars.
24248 {
24249 (set) 2>&1 |
24250 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24251 *ac_space=\ *)
24252 # `set' does not quote correctly, so add quotes (double-quote
24253 # substitution turns \\\\ into \\, and sed turns \\ into \).
24254 sed -n \
24255 "s/'/'\\\\''/g;
24256 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24257 ;;
24258 *)
24259 # `set' quotes correctly as required by POSIX, so do not add quotes.
24260 sed -n \
24261 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24262 ;;
24263 esac;
24264 } |
24265 sed '
24266 t clear
24267 : clear
24268 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24269 t end
24270 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24271 : end' >>confcache
24272 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24273 if test -w $cache_file; then
24274 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24275 cat confcache >$cache_file
24276 else
24277 echo "not updating unwritable cache $cache_file"
24278 fi
24279 fi
24280 rm -f confcache
24281
24282 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24283 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24284 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24285 if test "${wx_cv_lib_glibc21+set}" = set; then
24286 echo $ECHO_N "(cached) $ECHO_C" >&6
24287 else
24288
24289 cat >conftest.$ac_ext <<_ACEOF
24290 /* confdefs.h. */
24291 _ACEOF
24292 cat confdefs.h >>conftest.$ac_ext
24293 cat >>conftest.$ac_ext <<_ACEOF
24294 /* end confdefs.h. */
24295 #include <features.h>
24296 int
24297 main ()
24298 {
24299
24300 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24301 not glibc 2.1
24302 #endif
24303
24304 ;
24305 return 0;
24306 }
24307 _ACEOF
24308 rm -f conftest.$ac_objext
24309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24310 (eval $ac_compile) 2>conftest.er1
24311 ac_status=$?
24312 grep -v '^ *+' conftest.er1 >conftest.err
24313 rm -f conftest.er1
24314 cat conftest.err >&5
24315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); } &&
24317 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24319 (eval $ac_try) 2>&5
24320 ac_status=$?
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); }; } &&
24323 { ac_try='test -s conftest.$ac_objext'
24324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24325 (eval $ac_try) 2>&5
24326 ac_status=$?
24327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24328 (exit $ac_status); }; }; then
24329
24330 wx_cv_lib_glibc21=yes
24331
24332 else
24333 echo "$as_me: failed program was:" >&5
24334 sed 's/^/| /' conftest.$ac_ext >&5
24335
24336
24337 wx_cv_lib_glibc21=no
24338
24339
24340 fi
24341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24342
24343 fi
24344 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24345 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24346 if test "$wx_cv_lib_glibc21" = "yes"; then
24347 cat >>confdefs.h <<\_ACEOF
24348 #define wxHAVE_GLIBC2 1
24349 _ACEOF
24350
24351 fi
24352 fi
24353
24354 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24355 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24356 cat >>confdefs.h <<\_ACEOF
24357 #define _GNU_SOURCE 1
24358 _ACEOF
24359
24360 fi
24361 fi
24362
24363 have_cos=0
24364 have_floor=0
24365
24366 for ac_func in cos
24367 do
24368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24369 echo "$as_me:$LINENO: checking for $ac_func" >&5
24370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24371 if eval "test \"\${$as_ac_var+set}\" = set"; then
24372 echo $ECHO_N "(cached) $ECHO_C" >&6
24373 else
24374 cat >conftest.$ac_ext <<_ACEOF
24375 /* confdefs.h. */
24376 _ACEOF
24377 cat confdefs.h >>conftest.$ac_ext
24378 cat >>conftest.$ac_ext <<_ACEOF
24379 /* end confdefs.h. */
24380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24382 #define $ac_func innocuous_$ac_func
24383
24384 /* System header to define __stub macros and hopefully few prototypes,
24385 which can conflict with char $ac_func (); below.
24386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24387 <limits.h> exists even on freestanding compilers. */
24388
24389 #ifdef __STDC__
24390 # include <limits.h>
24391 #else
24392 # include <assert.h>
24393 #endif
24394
24395 #undef $ac_func
24396
24397 /* Override any gcc2 internal prototype to avoid an error. */
24398 #ifdef __cplusplus
24399 extern "C"
24400 {
24401 #endif
24402 /* We use char because int might match the return type of a gcc2
24403 builtin and then its argument prototype would still apply. */
24404 char $ac_func ();
24405 /* The GNU C library defines this for functions which it implements
24406 to always fail with ENOSYS. Some functions are actually named
24407 something starting with __ and the normal name is an alias. */
24408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24409 choke me
24410 #else
24411 char (*f) () = $ac_func;
24412 #endif
24413 #ifdef __cplusplus
24414 }
24415 #endif
24416
24417 int
24418 main ()
24419 {
24420 return f != $ac_func;
24421 ;
24422 return 0;
24423 }
24424 _ACEOF
24425 rm -f conftest.$ac_objext conftest$ac_exeext
24426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24427 (eval $ac_link) 2>conftest.er1
24428 ac_status=$?
24429 grep -v '^ *+' conftest.er1 >conftest.err
24430 rm -f conftest.er1
24431 cat conftest.err >&5
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); } &&
24434 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24436 (eval $ac_try) 2>&5
24437 ac_status=$?
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); }; } &&
24440 { ac_try='test -s conftest$ac_exeext'
24441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24442 (eval $ac_try) 2>&5
24443 ac_status=$?
24444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24445 (exit $ac_status); }; }; then
24446 eval "$as_ac_var=yes"
24447 else
24448 echo "$as_me: failed program was:" >&5
24449 sed 's/^/| /' conftest.$ac_ext >&5
24450
24451 eval "$as_ac_var=no"
24452 fi
24453 rm -f conftest.err conftest.$ac_objext \
24454 conftest$ac_exeext conftest.$ac_ext
24455 fi
24456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24458 if test `eval echo '${'$as_ac_var'}'` = yes; then
24459 cat >>confdefs.h <<_ACEOF
24460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24461 _ACEOF
24462 have_cos=1
24463 fi
24464 done
24465
24466
24467 for ac_func in floor
24468 do
24469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24470 echo "$as_me:$LINENO: checking for $ac_func" >&5
24471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24472 if eval "test \"\${$as_ac_var+set}\" = set"; then
24473 echo $ECHO_N "(cached) $ECHO_C" >&6
24474 else
24475 cat >conftest.$ac_ext <<_ACEOF
24476 /* confdefs.h. */
24477 _ACEOF
24478 cat confdefs.h >>conftest.$ac_ext
24479 cat >>conftest.$ac_ext <<_ACEOF
24480 /* end confdefs.h. */
24481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24483 #define $ac_func innocuous_$ac_func
24484
24485 /* System header to define __stub macros and hopefully few prototypes,
24486 which can conflict with char $ac_func (); below.
24487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24488 <limits.h> exists even on freestanding compilers. */
24489
24490 #ifdef __STDC__
24491 # include <limits.h>
24492 #else
24493 # include <assert.h>
24494 #endif
24495
24496 #undef $ac_func
24497
24498 /* Override any gcc2 internal prototype to avoid an error. */
24499 #ifdef __cplusplus
24500 extern "C"
24501 {
24502 #endif
24503 /* We use char because int might match the return type of a gcc2
24504 builtin and then its argument prototype would still apply. */
24505 char $ac_func ();
24506 /* The GNU C library defines this for functions which it implements
24507 to always fail with ENOSYS. Some functions are actually named
24508 something starting with __ and the normal name is an alias. */
24509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24510 choke me
24511 #else
24512 char (*f) () = $ac_func;
24513 #endif
24514 #ifdef __cplusplus
24515 }
24516 #endif
24517
24518 int
24519 main ()
24520 {
24521 return f != $ac_func;
24522 ;
24523 return 0;
24524 }
24525 _ACEOF
24526 rm -f conftest.$ac_objext conftest$ac_exeext
24527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24528 (eval $ac_link) 2>conftest.er1
24529 ac_status=$?
24530 grep -v '^ *+' conftest.er1 >conftest.err
24531 rm -f conftest.er1
24532 cat conftest.err >&5
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); } &&
24535 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24537 (eval $ac_try) 2>&5
24538 ac_status=$?
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); }; } &&
24541 { ac_try='test -s conftest$ac_exeext'
24542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24543 (eval $ac_try) 2>&5
24544 ac_status=$?
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); }; }; then
24547 eval "$as_ac_var=yes"
24548 else
24549 echo "$as_me: failed program was:" >&5
24550 sed 's/^/| /' conftest.$ac_ext >&5
24551
24552 eval "$as_ac_var=no"
24553 fi
24554 rm -f conftest.err conftest.$ac_objext \
24555 conftest$ac_exeext conftest.$ac_ext
24556 fi
24557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24559 if test `eval echo '${'$as_ac_var'}'` = yes; then
24560 cat >>confdefs.h <<_ACEOF
24561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24562 _ACEOF
24563 have_floor=1
24564 fi
24565 done
24566
24567 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24568 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24569 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24570 echo "$as_me:$LINENO: result: yes" >&5
24571 echo "${ECHO_T}yes" >&6
24572 else
24573 echo "$as_me:$LINENO: result: no" >&5
24574 echo "${ECHO_T}no" >&6
24575 LIBS="$LIBS -lm"
24576 # use different functions to avoid configure caching
24577 have_sin=0
24578 have_ceil=0
24579
24580 for ac_func in sin
24581 do
24582 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24583 echo "$as_me:$LINENO: checking for $ac_func" >&5
24584 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24585 if eval "test \"\${$as_ac_var+set}\" = set"; then
24586 echo $ECHO_N "(cached) $ECHO_C" >&6
24587 else
24588 cat >conftest.$ac_ext <<_ACEOF
24589 /* confdefs.h. */
24590 _ACEOF
24591 cat confdefs.h >>conftest.$ac_ext
24592 cat >>conftest.$ac_ext <<_ACEOF
24593 /* end confdefs.h. */
24594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24596 #define $ac_func innocuous_$ac_func
24597
24598 /* System header to define __stub macros and hopefully few prototypes,
24599 which can conflict with char $ac_func (); below.
24600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24601 <limits.h> exists even on freestanding compilers. */
24602
24603 #ifdef __STDC__
24604 # include <limits.h>
24605 #else
24606 # include <assert.h>
24607 #endif
24608
24609 #undef $ac_func
24610
24611 /* Override any gcc2 internal prototype to avoid an error. */
24612 #ifdef __cplusplus
24613 extern "C"
24614 {
24615 #endif
24616 /* We use char because int might match the return type of a gcc2
24617 builtin and then its argument prototype would still apply. */
24618 char $ac_func ();
24619 /* The GNU C library defines this for functions which it implements
24620 to always fail with ENOSYS. Some functions are actually named
24621 something starting with __ and the normal name is an alias. */
24622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24623 choke me
24624 #else
24625 char (*f) () = $ac_func;
24626 #endif
24627 #ifdef __cplusplus
24628 }
24629 #endif
24630
24631 int
24632 main ()
24633 {
24634 return f != $ac_func;
24635 ;
24636 return 0;
24637 }
24638 _ACEOF
24639 rm -f conftest.$ac_objext conftest$ac_exeext
24640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24641 (eval $ac_link) 2>conftest.er1
24642 ac_status=$?
24643 grep -v '^ *+' conftest.er1 >conftest.err
24644 rm -f conftest.er1
24645 cat conftest.err >&5
24646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24647 (exit $ac_status); } &&
24648 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24650 (eval $ac_try) 2>&5
24651 ac_status=$?
24652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24653 (exit $ac_status); }; } &&
24654 { ac_try='test -s conftest$ac_exeext'
24655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24656 (eval $ac_try) 2>&5
24657 ac_status=$?
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); }; }; then
24660 eval "$as_ac_var=yes"
24661 else
24662 echo "$as_me: failed program was:" >&5
24663 sed 's/^/| /' conftest.$ac_ext >&5
24664
24665 eval "$as_ac_var=no"
24666 fi
24667 rm -f conftest.err conftest.$ac_objext \
24668 conftest$ac_exeext conftest.$ac_ext
24669 fi
24670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24672 if test `eval echo '${'$as_ac_var'}'` = yes; then
24673 cat >>confdefs.h <<_ACEOF
24674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24675 _ACEOF
24676 have_sin=1
24677 fi
24678 done
24679
24680
24681 for ac_func in ceil
24682 do
24683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24684 echo "$as_me:$LINENO: checking for $ac_func" >&5
24685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24686 if eval "test \"\${$as_ac_var+set}\" = set"; then
24687 echo $ECHO_N "(cached) $ECHO_C" >&6
24688 else
24689 cat >conftest.$ac_ext <<_ACEOF
24690 /* confdefs.h. */
24691 _ACEOF
24692 cat confdefs.h >>conftest.$ac_ext
24693 cat >>conftest.$ac_ext <<_ACEOF
24694 /* end confdefs.h. */
24695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24697 #define $ac_func innocuous_$ac_func
24698
24699 /* System header to define __stub macros and hopefully few prototypes,
24700 which can conflict with char $ac_func (); below.
24701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24702 <limits.h> exists even on freestanding compilers. */
24703
24704 #ifdef __STDC__
24705 # include <limits.h>
24706 #else
24707 # include <assert.h>
24708 #endif
24709
24710 #undef $ac_func
24711
24712 /* Override any gcc2 internal prototype to avoid an error. */
24713 #ifdef __cplusplus
24714 extern "C"
24715 {
24716 #endif
24717 /* We use char because int might match the return type of a gcc2
24718 builtin and then its argument prototype would still apply. */
24719 char $ac_func ();
24720 /* The GNU C library defines this for functions which it implements
24721 to always fail with ENOSYS. Some functions are actually named
24722 something starting with __ and the normal name is an alias. */
24723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24724 choke me
24725 #else
24726 char (*f) () = $ac_func;
24727 #endif
24728 #ifdef __cplusplus
24729 }
24730 #endif
24731
24732 int
24733 main ()
24734 {
24735 return f != $ac_func;
24736 ;
24737 return 0;
24738 }
24739 _ACEOF
24740 rm -f conftest.$ac_objext conftest$ac_exeext
24741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24742 (eval $ac_link) 2>conftest.er1
24743 ac_status=$?
24744 grep -v '^ *+' conftest.er1 >conftest.err
24745 rm -f conftest.er1
24746 cat conftest.err >&5
24747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24748 (exit $ac_status); } &&
24749 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24751 (eval $ac_try) 2>&5
24752 ac_status=$?
24753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24754 (exit $ac_status); }; } &&
24755 { ac_try='test -s conftest$ac_exeext'
24756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24757 (eval $ac_try) 2>&5
24758 ac_status=$?
24759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24760 (exit $ac_status); }; }; then
24761 eval "$as_ac_var=yes"
24762 else
24763 echo "$as_me: failed program was:" >&5
24764 sed 's/^/| /' conftest.$ac_ext >&5
24765
24766 eval "$as_ac_var=no"
24767 fi
24768 rm -f conftest.err conftest.$ac_objext \
24769 conftest$ac_exeext conftest.$ac_ext
24770 fi
24771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24773 if test `eval echo '${'$as_ac_var'}'` = yes; then
24774 cat >>confdefs.h <<_ACEOF
24775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24776 _ACEOF
24777 have_ceil=1
24778 fi
24779 done
24780
24781 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24782 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
24783 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24784 echo "$as_me:$LINENO: result: yes" >&5
24785 echo "${ECHO_T}yes" >&6
24786 else
24787 echo "$as_me:$LINENO: result: no" >&5
24788 echo "${ECHO_T}no" >&6
24789 # not sure we should warn the user, crash, etc.
24790 fi
24791 fi
24792
24793
24794
24795 if test "$wxUSE_REGEX" != "no"; then
24796 cat >>confdefs.h <<\_ACEOF
24797 #define wxUSE_REGEX 1
24798 _ACEOF
24799
24800
24801 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24802 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24803 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24804 wxUSE_REGEX=builtin
24805 fi
24806
24807 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24808 if test "${ac_cv_header_regex_h+set}" = set; then
24809 echo "$as_me:$LINENO: checking for regex.h" >&5
24810 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24811 if test "${ac_cv_header_regex_h+set}" = set; then
24812 echo $ECHO_N "(cached) $ECHO_C" >&6
24813 fi
24814 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24815 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24816 else
24817 # Is the header compilable?
24818 echo "$as_me:$LINENO: checking regex.h usability" >&5
24819 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
24820 cat >conftest.$ac_ext <<_ACEOF
24821 /* confdefs.h. */
24822 _ACEOF
24823 cat confdefs.h >>conftest.$ac_ext
24824 cat >>conftest.$ac_ext <<_ACEOF
24825 /* end confdefs.h. */
24826 $ac_includes_default
24827 #include <regex.h>
24828 _ACEOF
24829 rm -f conftest.$ac_objext
24830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24831 (eval $ac_compile) 2>conftest.er1
24832 ac_status=$?
24833 grep -v '^ *+' conftest.er1 >conftest.err
24834 rm -f conftest.er1
24835 cat conftest.err >&5
24836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24837 (exit $ac_status); } &&
24838 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24840 (eval $ac_try) 2>&5
24841 ac_status=$?
24842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24843 (exit $ac_status); }; } &&
24844 { ac_try='test -s conftest.$ac_objext'
24845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24846 (eval $ac_try) 2>&5
24847 ac_status=$?
24848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24849 (exit $ac_status); }; }; then
24850 ac_header_compiler=yes
24851 else
24852 echo "$as_me: failed program was:" >&5
24853 sed 's/^/| /' conftest.$ac_ext >&5
24854
24855 ac_header_compiler=no
24856 fi
24857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24859 echo "${ECHO_T}$ac_header_compiler" >&6
24860
24861 # Is the header present?
24862 echo "$as_me:$LINENO: checking regex.h presence" >&5
24863 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
24864 cat >conftest.$ac_ext <<_ACEOF
24865 /* confdefs.h. */
24866 _ACEOF
24867 cat confdefs.h >>conftest.$ac_ext
24868 cat >>conftest.$ac_ext <<_ACEOF
24869 /* end confdefs.h. */
24870 #include <regex.h>
24871 _ACEOF
24872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24873 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24874 ac_status=$?
24875 grep -v '^ *+' conftest.er1 >conftest.err
24876 rm -f conftest.er1
24877 cat conftest.err >&5
24878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24879 (exit $ac_status); } >/dev/null; then
24880 if test -s conftest.err; then
24881 ac_cpp_err=$ac_cxx_preproc_warn_flag
24882 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24883 else
24884 ac_cpp_err=
24885 fi
24886 else
24887 ac_cpp_err=yes
24888 fi
24889 if test -z "$ac_cpp_err"; then
24890 ac_header_preproc=yes
24891 else
24892 echo "$as_me: failed program was:" >&5
24893 sed 's/^/| /' conftest.$ac_ext >&5
24894
24895 ac_header_preproc=no
24896 fi
24897 rm -f conftest.err conftest.$ac_ext
24898 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24899 echo "${ECHO_T}$ac_header_preproc" >&6
24900
24901 # So? What about this header?
24902 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24903 yes:no: )
24904 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
24905 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
24906 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
24907 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
24908 ac_header_preproc=yes
24909 ;;
24910 no:yes:* )
24911 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
24912 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
24913 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
24914 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
24915 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
24916 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
24917 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
24918 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
24919 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
24920 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
24921 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
24922 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
24923 (
24924 cat <<\_ASBOX
24925 ## ----------------------------------------- ##
24926 ## Report this to wx-dev@lists.wxwidgets.org ##
24927 ## ----------------------------------------- ##
24928 _ASBOX
24929 ) |
24930 sed "s/^/$as_me: WARNING: /" >&2
24931 ;;
24932 esac
24933 echo "$as_me:$LINENO: checking for regex.h" >&5
24934 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
24935 if test "${ac_cv_header_regex_h+set}" = set; then
24936 echo $ECHO_N "(cached) $ECHO_C" >&6
24937 else
24938 ac_cv_header_regex_h=$ac_header_preproc
24939 fi
24940 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24941 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
24942
24943 fi
24944 if test $ac_cv_header_regex_h = yes; then
24945
24946
24947 for ac_func in regcomp re_search
24948 do
24949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24950 echo "$as_me:$LINENO: checking for $ac_func" >&5
24951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24952 if eval "test \"\${$as_ac_var+set}\" = set"; then
24953 echo $ECHO_N "(cached) $ECHO_C" >&6
24954 else
24955 cat >conftest.$ac_ext <<_ACEOF
24956 /* confdefs.h. */
24957 _ACEOF
24958 cat confdefs.h >>conftest.$ac_ext
24959 cat >>conftest.$ac_ext <<_ACEOF
24960 /* end confdefs.h. */
24961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24963 #define $ac_func innocuous_$ac_func
24964
24965 /* System header to define __stub macros and hopefully few prototypes,
24966 which can conflict with char $ac_func (); below.
24967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24968 <limits.h> exists even on freestanding compilers. */
24969
24970 #ifdef __STDC__
24971 # include <limits.h>
24972 #else
24973 # include <assert.h>
24974 #endif
24975
24976 #undef $ac_func
24977
24978 /* Override any gcc2 internal prototype to avoid an error. */
24979 #ifdef __cplusplus
24980 extern "C"
24981 {
24982 #endif
24983 /* We use char because int might match the return type of a gcc2
24984 builtin and then its argument prototype would still apply. */
24985 char $ac_func ();
24986 /* The GNU C library defines this for functions which it implements
24987 to always fail with ENOSYS. Some functions are actually named
24988 something starting with __ and the normal name is an alias. */
24989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24990 choke me
24991 #else
24992 char (*f) () = $ac_func;
24993 #endif
24994 #ifdef __cplusplus
24995 }
24996 #endif
24997
24998 int
24999 main ()
25000 {
25001 return f != $ac_func;
25002 ;
25003 return 0;
25004 }
25005 _ACEOF
25006 rm -f conftest.$ac_objext conftest$ac_exeext
25007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25008 (eval $ac_link) 2>conftest.er1
25009 ac_status=$?
25010 grep -v '^ *+' conftest.er1 >conftest.err
25011 rm -f conftest.er1
25012 cat conftest.err >&5
25013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25014 (exit $ac_status); } &&
25015 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25017 (eval $ac_try) 2>&5
25018 ac_status=$?
25019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25020 (exit $ac_status); }; } &&
25021 { ac_try='test -s conftest$ac_exeext'
25022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25023 (eval $ac_try) 2>&5
25024 ac_status=$?
25025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25026 (exit $ac_status); }; }; then
25027 eval "$as_ac_var=yes"
25028 else
25029 echo "$as_me: failed program was:" >&5
25030 sed 's/^/| /' conftest.$ac_ext >&5
25031
25032 eval "$as_ac_var=no"
25033 fi
25034 rm -f conftest.err conftest.$ac_objext \
25035 conftest$ac_exeext conftest.$ac_ext
25036 fi
25037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25039 if test `eval echo '${'$as_ac_var'}'` = yes; then
25040 cat >>confdefs.h <<_ACEOF
25041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25042 _ACEOF
25043
25044 fi
25045 done
25046
25047 fi
25048
25049
25050
25051 if test "x$ac_cv_func_regcomp" != "xyes"; then
25052 if test "$wxUSE_REGEX" = "sys" ; then
25053 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25054 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25055 { (exit 1); exit 1; }; }
25056 else
25057 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25058 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25059 wxUSE_REGEX=builtin
25060 fi
25061 else
25062 wxUSE_REGEX=sys
25063 cat >>confdefs.h <<\_ACEOF
25064 #define WX_NO_REGEX_ADVANCED 1
25065 _ACEOF
25066
25067 fi
25068 fi
25069 fi
25070
25071
25072 ZLIB_LINK=
25073 if test "$wxUSE_ZLIB" != "no" ; then
25074 cat >>confdefs.h <<\_ACEOF
25075 #define wxUSE_ZLIB 1
25076 _ACEOF
25077
25078
25079 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25080 if test "$USE_DARWIN" = 1; then
25081 system_zlib_h_ok="yes"
25082 else
25083 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25084 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25085 if test "${ac_cv_header_zlib_h+set}" = set; then
25086 echo $ECHO_N "(cached) $ECHO_C" >&6
25087 else
25088 if test "$cross_compiling" = yes; then
25089 unset ac_cv_header_zlib_h
25090
25091 else
25092 cat >conftest.$ac_ext <<_ACEOF
25093 /* confdefs.h. */
25094 _ACEOF
25095 cat confdefs.h >>conftest.$ac_ext
25096 cat >>conftest.$ac_ext <<_ACEOF
25097 /* end confdefs.h. */
25098
25099 #include <zlib.h>
25100 #include <stdio.h>
25101
25102 int main()
25103 {
25104 FILE *f=fopen("conftestval", "w");
25105 if (!f) exit(1);
25106 fprintf(f, "%s",
25107 ZLIB_VERSION[0] == '1' &&
25108 (ZLIB_VERSION[2] > '1' ||
25109 (ZLIB_VERSION[2] == '1' &&
25110 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25111 exit(0);
25112 }
25113
25114 _ACEOF
25115 rm -f conftest$ac_exeext
25116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25117 (eval $ac_link) 2>&5
25118 ac_status=$?
25119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25120 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25122 (eval $ac_try) 2>&5
25123 ac_status=$?
25124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125 (exit $ac_status); }; }; then
25126 ac_cv_header_zlib_h=`cat conftestval`
25127 else
25128 echo "$as_me: program exited with status $ac_status" >&5
25129 echo "$as_me: failed program was:" >&5
25130 sed 's/^/| /' conftest.$ac_ext >&5
25131
25132 ( exit $ac_status )
25133 ac_cv_header_zlib_h=no
25134 fi
25135 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25136 fi
25137
25138 fi
25139 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25140 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25141 if test "${ac_cv_header_zlib_h+set}" = set; then
25142 echo "$as_me:$LINENO: checking for zlib.h" >&5
25143 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25144 if test "${ac_cv_header_zlib_h+set}" = set; then
25145 echo $ECHO_N "(cached) $ECHO_C" >&6
25146 fi
25147 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25148 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25149 else
25150 # Is the header compilable?
25151 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25152 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25153 cat >conftest.$ac_ext <<_ACEOF
25154 /* confdefs.h. */
25155 _ACEOF
25156 cat confdefs.h >>conftest.$ac_ext
25157 cat >>conftest.$ac_ext <<_ACEOF
25158 /* end confdefs.h. */
25159 $ac_includes_default
25160 #include <zlib.h>
25161 _ACEOF
25162 rm -f conftest.$ac_objext
25163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25164 (eval $ac_compile) 2>conftest.er1
25165 ac_status=$?
25166 grep -v '^ *+' conftest.er1 >conftest.err
25167 rm -f conftest.er1
25168 cat conftest.err >&5
25169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170 (exit $ac_status); } &&
25171 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25173 (eval $ac_try) 2>&5
25174 ac_status=$?
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); }; } &&
25177 { ac_try='test -s conftest.$ac_objext'
25178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25179 (eval $ac_try) 2>&5
25180 ac_status=$?
25181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25182 (exit $ac_status); }; }; then
25183 ac_header_compiler=yes
25184 else
25185 echo "$as_me: failed program was:" >&5
25186 sed 's/^/| /' conftest.$ac_ext >&5
25187
25188 ac_header_compiler=no
25189 fi
25190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25191 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25192 echo "${ECHO_T}$ac_header_compiler" >&6
25193
25194 # Is the header present?
25195 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25196 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25197 cat >conftest.$ac_ext <<_ACEOF
25198 /* confdefs.h. */
25199 _ACEOF
25200 cat confdefs.h >>conftest.$ac_ext
25201 cat >>conftest.$ac_ext <<_ACEOF
25202 /* end confdefs.h. */
25203 #include <zlib.h>
25204 _ACEOF
25205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25206 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25207 ac_status=$?
25208 grep -v '^ *+' conftest.er1 >conftest.err
25209 rm -f conftest.er1
25210 cat conftest.err >&5
25211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25212 (exit $ac_status); } >/dev/null; then
25213 if test -s conftest.err; then
25214 ac_cpp_err=$ac_cxx_preproc_warn_flag
25215 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25216 else
25217 ac_cpp_err=
25218 fi
25219 else
25220 ac_cpp_err=yes
25221 fi
25222 if test -z "$ac_cpp_err"; then
25223 ac_header_preproc=yes
25224 else
25225 echo "$as_me: failed program was:" >&5
25226 sed 's/^/| /' conftest.$ac_ext >&5
25227
25228 ac_header_preproc=no
25229 fi
25230 rm -f conftest.err conftest.$ac_ext
25231 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25232 echo "${ECHO_T}$ac_header_preproc" >&6
25233
25234 # So? What about this header?
25235 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25236 yes:no: )
25237 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25238 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25239 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25240 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25241 ac_header_preproc=yes
25242 ;;
25243 no:yes:* )
25244 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25245 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25246 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25247 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25248 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25249 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25250 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25251 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25252 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25253 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25254 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25255 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25256 (
25257 cat <<\_ASBOX
25258 ## ----------------------------------------- ##
25259 ## Report this to wx-dev@lists.wxwidgets.org ##
25260 ## ----------------------------------------- ##
25261 _ASBOX
25262 ) |
25263 sed "s/^/$as_me: WARNING: /" >&2
25264 ;;
25265 esac
25266 echo "$as_me:$LINENO: checking for zlib.h" >&5
25267 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25268 if test "${ac_cv_header_zlib_h+set}" = set; then
25269 echo $ECHO_N "(cached) $ECHO_C" >&6
25270 else
25271 ac_cv_header_zlib_h=$ac_header_preproc
25272 fi
25273 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25274 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25275
25276 fi
25277
25278
25279
25280 system_zlib_h_ok=$ac_cv_header_zlib_h
25281 fi
25282
25283 if test "$system_zlib_h_ok" = "yes"; then
25284 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25285 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25286 if test "${ac_cv_lib_z_deflate+set}" = set; then
25287 echo $ECHO_N "(cached) $ECHO_C" >&6
25288 else
25289 ac_check_lib_save_LIBS=$LIBS
25290 LIBS="-lz $LIBS"
25291 cat >conftest.$ac_ext <<_ACEOF
25292 /* confdefs.h. */
25293 _ACEOF
25294 cat confdefs.h >>conftest.$ac_ext
25295 cat >>conftest.$ac_ext <<_ACEOF
25296 /* end confdefs.h. */
25297
25298 /* Override any gcc2 internal prototype to avoid an error. */
25299 #ifdef __cplusplus
25300 extern "C"
25301 #endif
25302 /* We use char because int might match the return type of a gcc2
25303 builtin and then its argument prototype would still apply. */
25304 char deflate ();
25305 int
25306 main ()
25307 {
25308 deflate ();
25309 ;
25310 return 0;
25311 }
25312 _ACEOF
25313 rm -f conftest.$ac_objext conftest$ac_exeext
25314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25315 (eval $ac_link) 2>conftest.er1
25316 ac_status=$?
25317 grep -v '^ *+' conftest.er1 >conftest.err
25318 rm -f conftest.er1
25319 cat conftest.err >&5
25320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25321 (exit $ac_status); } &&
25322 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25324 (eval $ac_try) 2>&5
25325 ac_status=$?
25326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25327 (exit $ac_status); }; } &&
25328 { ac_try='test -s conftest$ac_exeext'
25329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25330 (eval $ac_try) 2>&5
25331 ac_status=$?
25332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333 (exit $ac_status); }; }; then
25334 ac_cv_lib_z_deflate=yes
25335 else
25336 echo "$as_me: failed program was:" >&5
25337 sed 's/^/| /' conftest.$ac_ext >&5
25338
25339 ac_cv_lib_z_deflate=no
25340 fi
25341 rm -f conftest.err conftest.$ac_objext \
25342 conftest$ac_exeext conftest.$ac_ext
25343 LIBS=$ac_check_lib_save_LIBS
25344 fi
25345 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25346 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25347 if test $ac_cv_lib_z_deflate = yes; then
25348 ZLIB_LINK=" -lz"
25349 fi
25350
25351 fi
25352
25353 if test "x$ZLIB_LINK" = "x" ; then
25354 if test "$wxUSE_ZLIB" = "sys" ; then
25355 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25356 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25357 { (exit 1); exit 1; }; }
25358 else
25359 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25360 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25361 wxUSE_ZLIB=builtin
25362 fi
25363 else
25364 wxUSE_ZLIB=sys
25365 fi
25366 fi
25367 fi
25368
25369
25370 PNG_LINK=
25371 if test "$wxUSE_LIBPNG" != "no" ; then
25372 cat >>confdefs.h <<\_ACEOF
25373 #define wxUSE_LIBPNG 1
25374 _ACEOF
25375
25376
25377 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25378 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25379 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25380 wxUSE_LIBPNG=sys
25381 fi
25382
25383 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25384 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25385 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25386 wxUSE_LIBPNG=builtin
25387 fi
25388
25389 if test "$wxUSE_MGL" != 1 ; then
25390 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25391 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25392 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25393 if test "${ac_cv_header_png_h+set}" = set; then
25394 echo $ECHO_N "(cached) $ECHO_C" >&6
25395 else
25396 if test "$cross_compiling" = yes; then
25397 unset ac_cv_header_png_h
25398
25399 else
25400 cat >conftest.$ac_ext <<_ACEOF
25401 /* confdefs.h. */
25402 _ACEOF
25403 cat confdefs.h >>conftest.$ac_ext
25404 cat >>conftest.$ac_ext <<_ACEOF
25405 /* end confdefs.h. */
25406
25407 #include <png.h>
25408 #include <stdio.h>
25409
25410 int main()
25411 {
25412 FILE *f=fopen("conftestval", "w");
25413 if (!f) exit(1);
25414 fprintf(f, "%s",
25415 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25416 exit(0);
25417 }
25418
25419 _ACEOF
25420 rm -f conftest$ac_exeext
25421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25422 (eval $ac_link) 2>&5
25423 ac_status=$?
25424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25427 (eval $ac_try) 2>&5
25428 ac_status=$?
25429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430 (exit $ac_status); }; }; then
25431 ac_cv_header_png_h=`cat conftestval`
25432 else
25433 echo "$as_me: program exited with status $ac_status" >&5
25434 echo "$as_me: failed program was:" >&5
25435 sed 's/^/| /' conftest.$ac_ext >&5
25436
25437 ( exit $ac_status )
25438 ac_cv_header_png_h=no
25439 fi
25440 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25441 fi
25442
25443 fi
25444 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25445 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25446 if test "${ac_cv_header_png_h+set}" = set; then
25447 echo "$as_me:$LINENO: checking for png.h" >&5
25448 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25449 if test "${ac_cv_header_png_h+set}" = set; then
25450 echo $ECHO_N "(cached) $ECHO_C" >&6
25451 fi
25452 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25453 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25454 else
25455 # Is the header compilable?
25456 echo "$as_me:$LINENO: checking png.h usability" >&5
25457 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25458 cat >conftest.$ac_ext <<_ACEOF
25459 /* confdefs.h. */
25460 _ACEOF
25461 cat confdefs.h >>conftest.$ac_ext
25462 cat >>conftest.$ac_ext <<_ACEOF
25463 /* end confdefs.h. */
25464 $ac_includes_default
25465 #include <png.h>
25466 _ACEOF
25467 rm -f conftest.$ac_objext
25468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25469 (eval $ac_compile) 2>conftest.er1
25470 ac_status=$?
25471 grep -v '^ *+' conftest.er1 >conftest.err
25472 rm -f conftest.er1
25473 cat conftest.err >&5
25474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25475 (exit $ac_status); } &&
25476 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25478 (eval $ac_try) 2>&5
25479 ac_status=$?
25480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25481 (exit $ac_status); }; } &&
25482 { ac_try='test -s conftest.$ac_objext'
25483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25484 (eval $ac_try) 2>&5
25485 ac_status=$?
25486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487 (exit $ac_status); }; }; then
25488 ac_header_compiler=yes
25489 else
25490 echo "$as_me: failed program was:" >&5
25491 sed 's/^/| /' conftest.$ac_ext >&5
25492
25493 ac_header_compiler=no
25494 fi
25495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25496 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25497 echo "${ECHO_T}$ac_header_compiler" >&6
25498
25499 # Is the header present?
25500 echo "$as_me:$LINENO: checking png.h presence" >&5
25501 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25502 cat >conftest.$ac_ext <<_ACEOF
25503 /* confdefs.h. */
25504 _ACEOF
25505 cat confdefs.h >>conftest.$ac_ext
25506 cat >>conftest.$ac_ext <<_ACEOF
25507 /* end confdefs.h. */
25508 #include <png.h>
25509 _ACEOF
25510 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25511 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25512 ac_status=$?
25513 grep -v '^ *+' conftest.er1 >conftest.err
25514 rm -f conftest.er1
25515 cat conftest.err >&5
25516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25517 (exit $ac_status); } >/dev/null; then
25518 if test -s conftest.err; then
25519 ac_cpp_err=$ac_cxx_preproc_warn_flag
25520 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25521 else
25522 ac_cpp_err=
25523 fi
25524 else
25525 ac_cpp_err=yes
25526 fi
25527 if test -z "$ac_cpp_err"; then
25528 ac_header_preproc=yes
25529 else
25530 echo "$as_me: failed program was:" >&5
25531 sed 's/^/| /' conftest.$ac_ext >&5
25532
25533 ac_header_preproc=no
25534 fi
25535 rm -f conftest.err conftest.$ac_ext
25536 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25537 echo "${ECHO_T}$ac_header_preproc" >&6
25538
25539 # So? What about this header?
25540 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25541 yes:no: )
25542 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25543 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25544 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25545 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25546 ac_header_preproc=yes
25547 ;;
25548 no:yes:* )
25549 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25550 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25551 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25552 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25553 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25554 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25555 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25556 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25557 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25558 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25559 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25560 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25561 (
25562 cat <<\_ASBOX
25563 ## ----------------------------------------- ##
25564 ## Report this to wx-dev@lists.wxwidgets.org ##
25565 ## ----------------------------------------- ##
25566 _ASBOX
25567 ) |
25568 sed "s/^/$as_me: WARNING: /" >&2
25569 ;;
25570 esac
25571 echo "$as_me:$LINENO: checking for png.h" >&5
25572 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25573 if test "${ac_cv_header_png_h+set}" = set; then
25574 echo $ECHO_N "(cached) $ECHO_C" >&6
25575 else
25576 ac_cv_header_png_h=$ac_header_preproc
25577 fi
25578 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25579 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25580
25581 fi
25582
25583
25584
25585 if test "$ac_cv_header_png_h" = "yes"; then
25586 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25587 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25588 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25589 echo $ECHO_N "(cached) $ECHO_C" >&6
25590 else
25591 ac_check_lib_save_LIBS=$LIBS
25592 LIBS="-lpng -lz -lm $LIBS"
25593 cat >conftest.$ac_ext <<_ACEOF
25594 /* confdefs.h. */
25595 _ACEOF
25596 cat confdefs.h >>conftest.$ac_ext
25597 cat >>conftest.$ac_ext <<_ACEOF
25598 /* end confdefs.h. */
25599
25600 /* Override any gcc2 internal prototype to avoid an error. */
25601 #ifdef __cplusplus
25602 extern "C"
25603 #endif
25604 /* We use char because int might match the return type of a gcc2
25605 builtin and then its argument prototype would still apply. */
25606 char png_check_sig ();
25607 int
25608 main ()
25609 {
25610 png_check_sig ();
25611 ;
25612 return 0;
25613 }
25614 _ACEOF
25615 rm -f conftest.$ac_objext conftest$ac_exeext
25616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25617 (eval $ac_link) 2>conftest.er1
25618 ac_status=$?
25619 grep -v '^ *+' conftest.er1 >conftest.err
25620 rm -f conftest.er1
25621 cat conftest.err >&5
25622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25623 (exit $ac_status); } &&
25624 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25626 (eval $ac_try) 2>&5
25627 ac_status=$?
25628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25629 (exit $ac_status); }; } &&
25630 { ac_try='test -s conftest$ac_exeext'
25631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25632 (eval $ac_try) 2>&5
25633 ac_status=$?
25634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635 (exit $ac_status); }; }; then
25636 ac_cv_lib_png_png_check_sig=yes
25637 else
25638 echo "$as_me: failed program was:" >&5
25639 sed 's/^/| /' conftest.$ac_ext >&5
25640
25641 ac_cv_lib_png_png_check_sig=no
25642 fi
25643 rm -f conftest.err conftest.$ac_objext \
25644 conftest$ac_exeext conftest.$ac_ext
25645 LIBS=$ac_check_lib_save_LIBS
25646 fi
25647 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25648 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25649 if test $ac_cv_lib_png_png_check_sig = yes; then
25650 PNG_LINK=" -lpng -lz"
25651 fi
25652
25653 fi
25654
25655 if test "x$PNG_LINK" = "x" ; then
25656 if test "$wxUSE_LIBPNG" = "sys" ; then
25657 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25658 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25659 { (exit 1); exit 1; }; }
25660 else
25661 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25662 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25663 wxUSE_LIBPNG=builtin
25664 fi
25665 else
25666 wxUSE_LIBPNG=sys
25667 fi
25668 fi
25669 fi
25670
25671 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25672 fi
25673
25674
25675 JPEG_LINK=
25676 if test "$wxUSE_LIBJPEG" != "no" ; then
25677 cat >>confdefs.h <<\_ACEOF
25678 #define wxUSE_LIBJPEG 1
25679 _ACEOF
25680
25681
25682 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25683 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25684 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25685 wxUSE_LIBJPEG=sys
25686 fi
25687
25688 if test "$wxUSE_MGL" != 1 ; then
25689 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25690 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25691 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
25692 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25693 echo $ECHO_N "(cached) $ECHO_C" >&6
25694 else
25695 cat >conftest.$ac_ext <<_ACEOF
25696 /* confdefs.h. */
25697 _ACEOF
25698 cat confdefs.h >>conftest.$ac_ext
25699 cat >>conftest.$ac_ext <<_ACEOF
25700 /* end confdefs.h. */
25701
25702 #undef HAVE_STDLIB_H
25703 #include <stdio.h>
25704 #include <jpeglib.h>
25705
25706 int
25707 main ()
25708 {
25709
25710
25711 ;
25712 return 0;
25713 }
25714 _ACEOF
25715 rm -f conftest.$ac_objext
25716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25717 (eval $ac_compile) 2>conftest.er1
25718 ac_status=$?
25719 grep -v '^ *+' conftest.er1 >conftest.err
25720 rm -f conftest.er1
25721 cat conftest.err >&5
25722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25723 (exit $ac_status); } &&
25724 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25726 (eval $ac_try) 2>&5
25727 ac_status=$?
25728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25729 (exit $ac_status); }; } &&
25730 { ac_try='test -s conftest.$ac_objext'
25731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25732 (eval $ac_try) 2>&5
25733 ac_status=$?
25734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25735 (exit $ac_status); }; }; then
25736 ac_cv_header_jpeglib_h=yes
25737 else
25738 echo "$as_me: failed program was:" >&5
25739 sed 's/^/| /' conftest.$ac_ext >&5
25740
25741 ac_cv_header_jpeglib_h=no
25742
25743 fi
25744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25745
25746 fi
25747
25748 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25749 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
25750
25751 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25752 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25753 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
25754 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25755 echo $ECHO_N "(cached) $ECHO_C" >&6
25756 else
25757 ac_check_lib_save_LIBS=$LIBS
25758 LIBS="-ljpeg $LIBS"
25759 cat >conftest.$ac_ext <<_ACEOF
25760 /* confdefs.h. */
25761 _ACEOF
25762 cat confdefs.h >>conftest.$ac_ext
25763 cat >>conftest.$ac_ext <<_ACEOF
25764 /* end confdefs.h. */
25765
25766 /* Override any gcc2 internal prototype to avoid an error. */
25767 #ifdef __cplusplus
25768 extern "C"
25769 #endif
25770 /* We use char because int might match the return type of a gcc2
25771 builtin and then its argument prototype would still apply. */
25772 char jpeg_read_header ();
25773 int
25774 main ()
25775 {
25776 jpeg_read_header ();
25777 ;
25778 return 0;
25779 }
25780 _ACEOF
25781 rm -f conftest.$ac_objext conftest$ac_exeext
25782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25783 (eval $ac_link) 2>conftest.er1
25784 ac_status=$?
25785 grep -v '^ *+' conftest.er1 >conftest.err
25786 rm -f conftest.er1
25787 cat conftest.err >&5
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); } &&
25790 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25792 (eval $ac_try) 2>&5
25793 ac_status=$?
25794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25795 (exit $ac_status); }; } &&
25796 { ac_try='test -s conftest$ac_exeext'
25797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25798 (eval $ac_try) 2>&5
25799 ac_status=$?
25800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25801 (exit $ac_status); }; }; then
25802 ac_cv_lib_jpeg_jpeg_read_header=yes
25803 else
25804 echo "$as_me: failed program was:" >&5
25805 sed 's/^/| /' conftest.$ac_ext >&5
25806
25807 ac_cv_lib_jpeg_jpeg_read_header=no
25808 fi
25809 rm -f conftest.err conftest.$ac_objext \
25810 conftest$ac_exeext conftest.$ac_ext
25811 LIBS=$ac_check_lib_save_LIBS
25812 fi
25813 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25814 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
25815 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25816 JPEG_LINK=" -ljpeg"
25817 fi
25818
25819 fi
25820
25821 if test "x$JPEG_LINK" = "x" ; then
25822 if test "$wxUSE_LIBJPEG" = "sys" ; then
25823 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25824 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25825 { (exit 1); exit 1; }; }
25826 else
25827 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25828 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25829 wxUSE_LIBJPEG=builtin
25830 fi
25831 else
25832 wxUSE_LIBJPEG=sys
25833 fi
25834 fi
25835 fi
25836 fi
25837
25838
25839 TIFF_LINK=
25840 TIFF_PREREQ_LINKS=-lm
25841 if test "$wxUSE_LIBTIFF" != "no" ; then
25842 cat >>confdefs.h <<\_ACEOF
25843 #define wxUSE_LIBTIFF 1
25844 _ACEOF
25845
25846
25847 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
25848 if test "$wxUSE_LIBJPEG" = "sys"; then
25849 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
25850 fi
25851 if test "$wxUSE_ZLIB" = "sys"; then
25852 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
25853 fi
25854 if test "${ac_cv_header_tiffio_h+set}" = set; then
25855 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25856 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25857 if test "${ac_cv_header_tiffio_h+set}" = set; then
25858 echo $ECHO_N "(cached) $ECHO_C" >&6
25859 fi
25860 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25861 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25862 else
25863 # Is the header compilable?
25864 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
25865 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
25866 cat >conftest.$ac_ext <<_ACEOF
25867 /* confdefs.h. */
25868 _ACEOF
25869 cat confdefs.h >>conftest.$ac_ext
25870 cat >>conftest.$ac_ext <<_ACEOF
25871 /* end confdefs.h. */
25872 $ac_includes_default
25873 #include <tiffio.h>
25874 _ACEOF
25875 rm -f conftest.$ac_objext
25876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25877 (eval $ac_compile) 2>conftest.er1
25878 ac_status=$?
25879 grep -v '^ *+' conftest.er1 >conftest.err
25880 rm -f conftest.er1
25881 cat conftest.err >&5
25882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25883 (exit $ac_status); } &&
25884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25886 (eval $ac_try) 2>&5
25887 ac_status=$?
25888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25889 (exit $ac_status); }; } &&
25890 { ac_try='test -s conftest.$ac_objext'
25891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25892 (eval $ac_try) 2>&5
25893 ac_status=$?
25894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25895 (exit $ac_status); }; }; then
25896 ac_header_compiler=yes
25897 else
25898 echo "$as_me: failed program was:" >&5
25899 sed 's/^/| /' conftest.$ac_ext >&5
25900
25901 ac_header_compiler=no
25902 fi
25903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25904 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25905 echo "${ECHO_T}$ac_header_compiler" >&6
25906
25907 # Is the header present?
25908 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
25909 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
25910 cat >conftest.$ac_ext <<_ACEOF
25911 /* confdefs.h. */
25912 _ACEOF
25913 cat confdefs.h >>conftest.$ac_ext
25914 cat >>conftest.$ac_ext <<_ACEOF
25915 /* end confdefs.h. */
25916 #include <tiffio.h>
25917 _ACEOF
25918 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25919 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25920 ac_status=$?
25921 grep -v '^ *+' conftest.er1 >conftest.err
25922 rm -f conftest.er1
25923 cat conftest.err >&5
25924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25925 (exit $ac_status); } >/dev/null; then
25926 if test -s conftest.err; then
25927 ac_cpp_err=$ac_cxx_preproc_warn_flag
25928 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25929 else
25930 ac_cpp_err=
25931 fi
25932 else
25933 ac_cpp_err=yes
25934 fi
25935 if test -z "$ac_cpp_err"; then
25936 ac_header_preproc=yes
25937 else
25938 echo "$as_me: failed program was:" >&5
25939 sed 's/^/| /' conftest.$ac_ext >&5
25940
25941 ac_header_preproc=no
25942 fi
25943 rm -f conftest.err conftest.$ac_ext
25944 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25945 echo "${ECHO_T}$ac_header_preproc" >&6
25946
25947 # So? What about this header?
25948 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25949 yes:no: )
25950 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
25951 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25952 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
25953 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
25954 ac_header_preproc=yes
25955 ;;
25956 no:yes:* )
25957 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
25958 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
25959 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
25960 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
25961 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
25962 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
25963 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
25964 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
25965 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
25966 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
25967 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
25968 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
25969 (
25970 cat <<\_ASBOX
25971 ## ----------------------------------------- ##
25972 ## Report this to wx-dev@lists.wxwidgets.org ##
25973 ## ----------------------------------------- ##
25974 _ASBOX
25975 ) |
25976 sed "s/^/$as_me: WARNING: /" >&2
25977 ;;
25978 esac
25979 echo "$as_me:$LINENO: checking for tiffio.h" >&5
25980 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
25981 if test "${ac_cv_header_tiffio_h+set}" = set; then
25982 echo $ECHO_N "(cached) $ECHO_C" >&6
25983 else
25984 ac_cv_header_tiffio_h=$ac_header_preproc
25985 fi
25986 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
25987 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
25988
25989 fi
25990 if test $ac_cv_header_tiffio_h = yes; then
25991
25992 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
25993 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
25994 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
25995 echo $ECHO_N "(cached) $ECHO_C" >&6
25996 else
25997 ac_check_lib_save_LIBS=$LIBS
25998 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
25999 cat >conftest.$ac_ext <<_ACEOF
26000 /* confdefs.h. */
26001 _ACEOF
26002 cat confdefs.h >>conftest.$ac_ext
26003 cat >>conftest.$ac_ext <<_ACEOF
26004 /* end confdefs.h. */
26005
26006 /* Override any gcc2 internal prototype to avoid an error. */
26007 #ifdef __cplusplus
26008 extern "C"
26009 #endif
26010 /* We use char because int might match the return type of a gcc2
26011 builtin and then its argument prototype would still apply. */
26012 char TIFFError ();
26013 int
26014 main ()
26015 {
26016 TIFFError ();
26017 ;
26018 return 0;
26019 }
26020 _ACEOF
26021 rm -f conftest.$ac_objext conftest$ac_exeext
26022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26023 (eval $ac_link) 2>conftest.er1
26024 ac_status=$?
26025 grep -v '^ *+' conftest.er1 >conftest.err
26026 rm -f conftest.er1
26027 cat conftest.err >&5
26028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26029 (exit $ac_status); } &&
26030 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26032 (eval $ac_try) 2>&5
26033 ac_status=$?
26034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26035 (exit $ac_status); }; } &&
26036 { ac_try='test -s conftest$ac_exeext'
26037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26038 (eval $ac_try) 2>&5
26039 ac_status=$?
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); }; }; then
26042 ac_cv_lib_tiff_TIFFError=yes
26043 else
26044 echo "$as_me: failed program was:" >&5
26045 sed 's/^/| /' conftest.$ac_ext >&5
26046
26047 ac_cv_lib_tiff_TIFFError=no
26048 fi
26049 rm -f conftest.err conftest.$ac_objext \
26050 conftest$ac_exeext conftest.$ac_ext
26051 LIBS=$ac_check_lib_save_LIBS
26052 fi
26053 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26054 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26055 if test $ac_cv_lib_tiff_TIFFError = yes; then
26056 TIFF_LINK=" -ltiff"
26057 fi
26058
26059
26060
26061 fi
26062
26063
26064
26065 if test "x$TIFF_LINK" = "x" ; then
26066 if test "$wxUSE_LIBTIFF" = "sys" ; then
26067 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26068 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26069 { (exit 1); exit 1; }; }
26070 else
26071 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26072 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26073 wxUSE_LIBTIFF=builtin
26074 fi
26075 else
26076 wxUSE_LIBTIFF=sys
26077 fi
26078 fi
26079 fi
26080
26081
26082 if test "$wxUSE_WCHAR_T" != "yes"; then
26083 if test "$wxUSE_EXPAT" != "no"; then
26084 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26085 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26086 wxUSE_EXPAT=no
26087 fi
26088 if test "$wxUSE_XML" != "no"; then
26089 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26090 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26091 wxUSE_XML=no
26092 fi
26093 fi
26094
26095 if test "$wxUSE_EXPAT" != "no"; then
26096 wxUSE_XML=yes
26097 cat >>confdefs.h <<\_ACEOF
26098 #define wxUSE_EXPAT 1
26099 _ACEOF
26100
26101 cat >>confdefs.h <<\_ACEOF
26102 #define wxUSE_XML 1
26103 _ACEOF
26104
26105
26106 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26107 if test "${ac_cv_header_expat_h+set}" = set; then
26108 echo "$as_me:$LINENO: checking for expat.h" >&5
26109 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26110 if test "${ac_cv_header_expat_h+set}" = set; then
26111 echo $ECHO_N "(cached) $ECHO_C" >&6
26112 fi
26113 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26114 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26115 else
26116 # Is the header compilable?
26117 echo "$as_me:$LINENO: checking expat.h usability" >&5
26118 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26119 cat >conftest.$ac_ext <<_ACEOF
26120 /* confdefs.h. */
26121 _ACEOF
26122 cat confdefs.h >>conftest.$ac_ext
26123 cat >>conftest.$ac_ext <<_ACEOF
26124 /* end confdefs.h. */
26125 $ac_includes_default
26126 #include <expat.h>
26127 _ACEOF
26128 rm -f conftest.$ac_objext
26129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26130 (eval $ac_compile) 2>conftest.er1
26131 ac_status=$?
26132 grep -v '^ *+' conftest.er1 >conftest.err
26133 rm -f conftest.er1
26134 cat conftest.err >&5
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); } &&
26137 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26139 (eval $ac_try) 2>&5
26140 ac_status=$?
26141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26142 (exit $ac_status); }; } &&
26143 { ac_try='test -s conftest.$ac_objext'
26144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26145 (eval $ac_try) 2>&5
26146 ac_status=$?
26147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26148 (exit $ac_status); }; }; then
26149 ac_header_compiler=yes
26150 else
26151 echo "$as_me: failed program was:" >&5
26152 sed 's/^/| /' conftest.$ac_ext >&5
26153
26154 ac_header_compiler=no
26155 fi
26156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26157 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26158 echo "${ECHO_T}$ac_header_compiler" >&6
26159
26160 # Is the header present?
26161 echo "$as_me:$LINENO: checking expat.h presence" >&5
26162 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26163 cat >conftest.$ac_ext <<_ACEOF
26164 /* confdefs.h. */
26165 _ACEOF
26166 cat confdefs.h >>conftest.$ac_ext
26167 cat >>conftest.$ac_ext <<_ACEOF
26168 /* end confdefs.h. */
26169 #include <expat.h>
26170 _ACEOF
26171 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26172 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26173 ac_status=$?
26174 grep -v '^ *+' conftest.er1 >conftest.err
26175 rm -f conftest.er1
26176 cat conftest.err >&5
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); } >/dev/null; then
26179 if test -s conftest.err; then
26180 ac_cpp_err=$ac_cxx_preproc_warn_flag
26181 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26182 else
26183 ac_cpp_err=
26184 fi
26185 else
26186 ac_cpp_err=yes
26187 fi
26188 if test -z "$ac_cpp_err"; then
26189 ac_header_preproc=yes
26190 else
26191 echo "$as_me: failed program was:" >&5
26192 sed 's/^/| /' conftest.$ac_ext >&5
26193
26194 ac_header_preproc=no
26195 fi
26196 rm -f conftest.err conftest.$ac_ext
26197 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26198 echo "${ECHO_T}$ac_header_preproc" >&6
26199
26200 # So? What about this header?
26201 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26202 yes:no: )
26203 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26204 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26205 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26206 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26207 ac_header_preproc=yes
26208 ;;
26209 no:yes:* )
26210 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26211 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26212 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26213 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26214 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26215 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26216 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26217 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26218 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26219 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26220 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26221 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26222 (
26223 cat <<\_ASBOX
26224 ## ----------------------------------------- ##
26225 ## Report this to wx-dev@lists.wxwidgets.org ##
26226 ## ----------------------------------------- ##
26227 _ASBOX
26228 ) |
26229 sed "s/^/$as_me: WARNING: /" >&2
26230 ;;
26231 esac
26232 echo "$as_me:$LINENO: checking for expat.h" >&5
26233 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26234 if test "${ac_cv_header_expat_h+set}" = set; then
26235 echo $ECHO_N "(cached) $ECHO_C" >&6
26236 else
26237 ac_cv_header_expat_h=$ac_header_preproc
26238 fi
26239 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26240 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26241
26242 fi
26243 if test $ac_cv_header_expat_h = yes; then
26244 found_expat_h=1
26245 fi
26246
26247
26248 if test "x$found_expat_h" = "x1"; then
26249 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26250 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26251 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26252 echo $ECHO_N "(cached) $ECHO_C" >&6
26253 else
26254
26255 cat >conftest.$ac_ext <<_ACEOF
26256 /* confdefs.h. */
26257 _ACEOF
26258 cat confdefs.h >>conftest.$ac_ext
26259 cat >>conftest.$ac_ext <<_ACEOF
26260 /* end confdefs.h. */
26261 #include <expat.h>
26262 int
26263 main ()
26264 {
26265
26266 ;
26267 return 0;
26268 }
26269 _ACEOF
26270 rm -f conftest.$ac_objext
26271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26272 (eval $ac_compile) 2>conftest.er1
26273 ac_status=$?
26274 grep -v '^ *+' conftest.er1 >conftest.err
26275 rm -f conftest.er1
26276 cat conftest.err >&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); } &&
26279 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26281 (eval $ac_try) 2>&5
26282 ac_status=$?
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); }; } &&
26285 { ac_try='test -s conftest.$ac_objext'
26286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26287 (eval $ac_try) 2>&5
26288 ac_status=$?
26289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26290 (exit $ac_status); }; }; then
26291 wx_cv_expat_is_not_broken=yes
26292 else
26293 echo "$as_me: failed program was:" >&5
26294 sed 's/^/| /' conftest.$ac_ext >&5
26295
26296 wx_cv_expat_is_not_broken=no
26297
26298 fi
26299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26300
26301
26302 fi
26303 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26304 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26305 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26306 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26307 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26308 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26309 echo $ECHO_N "(cached) $ECHO_C" >&6
26310 else
26311 ac_check_lib_save_LIBS=$LIBS
26312 LIBS="-lexpat $LIBS"
26313 cat >conftest.$ac_ext <<_ACEOF
26314 /* confdefs.h. */
26315 _ACEOF
26316 cat confdefs.h >>conftest.$ac_ext
26317 cat >>conftest.$ac_ext <<_ACEOF
26318 /* end confdefs.h. */
26319
26320 /* Override any gcc2 internal prototype to avoid an error. */
26321 #ifdef __cplusplus
26322 extern "C"
26323 #endif
26324 /* We use char because int might match the return type of a gcc2
26325 builtin and then its argument prototype would still apply. */
26326 char XML_ParserCreate ();
26327 int
26328 main ()
26329 {
26330 XML_ParserCreate ();
26331 ;
26332 return 0;
26333 }
26334 _ACEOF
26335 rm -f conftest.$ac_objext conftest$ac_exeext
26336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26337 (eval $ac_link) 2>conftest.er1
26338 ac_status=$?
26339 grep -v '^ *+' conftest.er1 >conftest.err
26340 rm -f conftest.er1
26341 cat conftest.err >&5
26342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26343 (exit $ac_status); } &&
26344 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26346 (eval $ac_try) 2>&5
26347 ac_status=$?
26348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26349 (exit $ac_status); }; } &&
26350 { ac_try='test -s conftest$ac_exeext'
26351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26352 (eval $ac_try) 2>&5
26353 ac_status=$?
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); }; }; then
26356 ac_cv_lib_expat_XML_ParserCreate=yes
26357 else
26358 echo "$as_me: failed program was:" >&5
26359 sed 's/^/| /' conftest.$ac_ext >&5
26360
26361 ac_cv_lib_expat_XML_ParserCreate=no
26362 fi
26363 rm -f conftest.err conftest.$ac_objext \
26364 conftest$ac_exeext conftest.$ac_ext
26365 LIBS=$ac_check_lib_save_LIBS
26366 fi
26367 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26368 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26369 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26370 EXPAT_LINK=" -lexpat"
26371 fi
26372
26373 fi
26374 fi
26375 if test "x$EXPAT_LINK" = "x" ; then
26376 if test "$wxUSE_EXPAT" = "sys" ; then
26377 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26378 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26379 { (exit 1); exit 1; }; }
26380 else
26381 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26382 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26383 wxUSE_EXPAT=builtin
26384 fi
26385 else
26386 wxUSE_EXPAT=sys
26387 fi
26388 fi
26389 if test "$wxUSE_EXPAT" = "builtin" ; then
26390
26391
26392 subdirs="$subdirs src/expat"
26393
26394 fi
26395 fi
26396
26397
26398
26399 if test "$wxUSE_LIBMSPACK" != "no"; then
26400 if test "${ac_cv_header_mspack_h+set}" = set; then
26401 echo "$as_me:$LINENO: checking for mspack.h" >&5
26402 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26403 if test "${ac_cv_header_mspack_h+set}" = set; then
26404 echo $ECHO_N "(cached) $ECHO_C" >&6
26405 fi
26406 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26407 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26408 else
26409 # Is the header compilable?
26410 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26411 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26412 cat >conftest.$ac_ext <<_ACEOF
26413 /* confdefs.h. */
26414 _ACEOF
26415 cat confdefs.h >>conftest.$ac_ext
26416 cat >>conftest.$ac_ext <<_ACEOF
26417 /* end confdefs.h. */
26418 $ac_includes_default
26419 #include <mspack.h>
26420 _ACEOF
26421 rm -f conftest.$ac_objext
26422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26423 (eval $ac_compile) 2>conftest.er1
26424 ac_status=$?
26425 grep -v '^ *+' conftest.er1 >conftest.err
26426 rm -f conftest.er1
26427 cat conftest.err >&5
26428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26429 (exit $ac_status); } &&
26430 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26432 (eval $ac_try) 2>&5
26433 ac_status=$?
26434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26435 (exit $ac_status); }; } &&
26436 { ac_try='test -s conftest.$ac_objext'
26437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26438 (eval $ac_try) 2>&5
26439 ac_status=$?
26440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26441 (exit $ac_status); }; }; then
26442 ac_header_compiler=yes
26443 else
26444 echo "$as_me: failed program was:" >&5
26445 sed 's/^/| /' conftest.$ac_ext >&5
26446
26447 ac_header_compiler=no
26448 fi
26449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26450 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26451 echo "${ECHO_T}$ac_header_compiler" >&6
26452
26453 # Is the header present?
26454 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26455 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26456 cat >conftest.$ac_ext <<_ACEOF
26457 /* confdefs.h. */
26458 _ACEOF
26459 cat confdefs.h >>conftest.$ac_ext
26460 cat >>conftest.$ac_ext <<_ACEOF
26461 /* end confdefs.h. */
26462 #include <mspack.h>
26463 _ACEOF
26464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26465 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26466 ac_status=$?
26467 grep -v '^ *+' conftest.er1 >conftest.err
26468 rm -f conftest.er1
26469 cat conftest.err >&5
26470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26471 (exit $ac_status); } >/dev/null; then
26472 if test -s conftest.err; then
26473 ac_cpp_err=$ac_cxx_preproc_warn_flag
26474 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26475 else
26476 ac_cpp_err=
26477 fi
26478 else
26479 ac_cpp_err=yes
26480 fi
26481 if test -z "$ac_cpp_err"; then
26482 ac_header_preproc=yes
26483 else
26484 echo "$as_me: failed program was:" >&5
26485 sed 's/^/| /' conftest.$ac_ext >&5
26486
26487 ac_header_preproc=no
26488 fi
26489 rm -f conftest.err conftest.$ac_ext
26490 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26491 echo "${ECHO_T}$ac_header_preproc" >&6
26492
26493 # So? What about this header?
26494 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26495 yes:no: )
26496 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26497 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26498 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26499 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26500 ac_header_preproc=yes
26501 ;;
26502 no:yes:* )
26503 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26504 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26505 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26506 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26507 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26508 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26509 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26510 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26511 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26512 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26513 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26514 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26515 (
26516 cat <<\_ASBOX
26517 ## ----------------------------------------- ##
26518 ## Report this to wx-dev@lists.wxwidgets.org ##
26519 ## ----------------------------------------- ##
26520 _ASBOX
26521 ) |
26522 sed "s/^/$as_me: WARNING: /" >&2
26523 ;;
26524 esac
26525 echo "$as_me:$LINENO: checking for mspack.h" >&5
26526 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26527 if test "${ac_cv_header_mspack_h+set}" = set; then
26528 echo $ECHO_N "(cached) $ECHO_C" >&6
26529 else
26530 ac_cv_header_mspack_h=$ac_header_preproc
26531 fi
26532 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26533 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26534
26535 fi
26536 if test $ac_cv_header_mspack_h = yes; then
26537 found_mspack_h=1
26538 fi
26539
26540
26541 if test "x$found_mspack_h" = "x1"; then
26542 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26543 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26544 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26545 echo $ECHO_N "(cached) $ECHO_C" >&6
26546 else
26547 ac_check_lib_save_LIBS=$LIBS
26548 LIBS="-lmspack $LIBS"
26549 cat >conftest.$ac_ext <<_ACEOF
26550 /* confdefs.h. */
26551 _ACEOF
26552 cat confdefs.h >>conftest.$ac_ext
26553 cat >>conftest.$ac_ext <<_ACEOF
26554 /* end confdefs.h. */
26555
26556 /* Override any gcc2 internal prototype to avoid an error. */
26557 #ifdef __cplusplus
26558 extern "C"
26559 #endif
26560 /* We use char because int might match the return type of a gcc2
26561 builtin and then its argument prototype would still apply. */
26562 char mspack_create_chm_decompressor ();
26563 int
26564 main ()
26565 {
26566 mspack_create_chm_decompressor ();
26567 ;
26568 return 0;
26569 }
26570 _ACEOF
26571 rm -f conftest.$ac_objext conftest$ac_exeext
26572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26573 (eval $ac_link) 2>conftest.er1
26574 ac_status=$?
26575 grep -v '^ *+' conftest.er1 >conftest.err
26576 rm -f conftest.er1
26577 cat conftest.err >&5
26578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26579 (exit $ac_status); } &&
26580 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26582 (eval $ac_try) 2>&5
26583 ac_status=$?
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); }; } &&
26586 { ac_try='test -s conftest$ac_exeext'
26587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26588 (eval $ac_try) 2>&5
26589 ac_status=$?
26590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26591 (exit $ac_status); }; }; then
26592 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26593 else
26594 echo "$as_me: failed program was:" >&5
26595 sed 's/^/| /' conftest.$ac_ext >&5
26596
26597 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26598 fi
26599 rm -f conftest.err conftest.$ac_objext \
26600 conftest$ac_exeext conftest.$ac_ext
26601 LIBS=$ac_check_lib_save_LIBS
26602 fi
26603 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26604 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26605 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26606 MSPACK_LINK=" -lmspack"
26607 fi
26608
26609 fi
26610 if test "x$MSPACK_LINK" = "x" ; then
26611 wxUSE_LIBMSPACK=no
26612 fi
26613 fi
26614
26615 if test "$wxUSE_LIBMSPACK" != "no"; then
26616 cat >>confdefs.h <<\_ACEOF
26617 #define wxUSE_LIBMSPACK 1
26618 _ACEOF
26619
26620 fi
26621
26622
26623
26624 AFMINSTALL=
26625 WIN32INSTALL=
26626
26627 TOOLKIT=
26628 TOOLKIT_INCLUDE=
26629 WIDGET_SET=
26630
26631 if test "$USE_WIN32" = 1 ; then
26632
26633 for ac_header in w32api.h
26634 do
26635 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26637 echo "$as_me:$LINENO: checking for $ac_header" >&5
26638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26640 echo $ECHO_N "(cached) $ECHO_C" >&6
26641 fi
26642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26644 else
26645 # Is the header compilable?
26646 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26647 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26648 cat >conftest.$ac_ext <<_ACEOF
26649 /* confdefs.h. */
26650 _ACEOF
26651 cat confdefs.h >>conftest.$ac_ext
26652 cat >>conftest.$ac_ext <<_ACEOF
26653 /* end confdefs.h. */
26654 $ac_includes_default
26655 #include <$ac_header>
26656 _ACEOF
26657 rm -f conftest.$ac_objext
26658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26659 (eval $ac_compile) 2>conftest.er1
26660 ac_status=$?
26661 grep -v '^ *+' conftest.er1 >conftest.err
26662 rm -f conftest.er1
26663 cat conftest.err >&5
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); } &&
26666 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26668 (eval $ac_try) 2>&5
26669 ac_status=$?
26670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671 (exit $ac_status); }; } &&
26672 { ac_try='test -s conftest.$ac_objext'
26673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26674 (eval $ac_try) 2>&5
26675 ac_status=$?
26676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26677 (exit $ac_status); }; }; then
26678 ac_header_compiler=yes
26679 else
26680 echo "$as_me: failed program was:" >&5
26681 sed 's/^/| /' conftest.$ac_ext >&5
26682
26683 ac_header_compiler=no
26684 fi
26685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26686 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26687 echo "${ECHO_T}$ac_header_compiler" >&6
26688
26689 # Is the header present?
26690 echo "$as_me:$LINENO: checking $ac_header presence" >&5
26691 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
26692 cat >conftest.$ac_ext <<_ACEOF
26693 /* confdefs.h. */
26694 _ACEOF
26695 cat confdefs.h >>conftest.$ac_ext
26696 cat >>conftest.$ac_ext <<_ACEOF
26697 /* end confdefs.h. */
26698 #include <$ac_header>
26699 _ACEOF
26700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26701 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26702 ac_status=$?
26703 grep -v '^ *+' conftest.er1 >conftest.err
26704 rm -f conftest.er1
26705 cat conftest.err >&5
26706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26707 (exit $ac_status); } >/dev/null; then
26708 if test -s conftest.err; then
26709 ac_cpp_err=$ac_cxx_preproc_warn_flag
26710 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26711 else
26712 ac_cpp_err=
26713 fi
26714 else
26715 ac_cpp_err=yes
26716 fi
26717 if test -z "$ac_cpp_err"; then
26718 ac_header_preproc=yes
26719 else
26720 echo "$as_me: failed program was:" >&5
26721 sed 's/^/| /' conftest.$ac_ext >&5
26722
26723 ac_header_preproc=no
26724 fi
26725 rm -f conftest.err conftest.$ac_ext
26726 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26727 echo "${ECHO_T}$ac_header_preproc" >&6
26728
26729 # So? What about this header?
26730 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26731 yes:no: )
26732 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26733 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26735 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26736 ac_header_preproc=yes
26737 ;;
26738 no:yes:* )
26739 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26740 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26741 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26742 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26743 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26744 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26745 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26746 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26748 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26749 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26750 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26751 (
26752 cat <<\_ASBOX
26753 ## ----------------------------------------- ##
26754 ## Report this to wx-dev@lists.wxwidgets.org ##
26755 ## ----------------------------------------- ##
26756 _ASBOX
26757 ) |
26758 sed "s/^/$as_me: WARNING: /" >&2
26759 ;;
26760 esac
26761 echo "$as_me:$LINENO: checking for $ac_header" >&5
26762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26764 echo $ECHO_N "(cached) $ECHO_C" >&6
26765 else
26766 eval "$as_ac_Header=\$ac_header_preproc"
26767 fi
26768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26770
26771 fi
26772 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26773 cat >>confdefs.h <<_ACEOF
26774 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26775 _ACEOF
26776
26777 fi
26778
26779 done
26780
26781 if test "${ac_cv_header_windows_h+set}" = set; then
26782 echo "$as_me:$LINENO: checking for windows.h" >&5
26783 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26784 if test "${ac_cv_header_windows_h+set}" = set; then
26785 echo $ECHO_N "(cached) $ECHO_C" >&6
26786 fi
26787 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26788 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26789 else
26790 # Is the header compilable?
26791 echo "$as_me:$LINENO: checking windows.h usability" >&5
26792 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
26793 cat >conftest.$ac_ext <<_ACEOF
26794 /* confdefs.h. */
26795 _ACEOF
26796 cat confdefs.h >>conftest.$ac_ext
26797 cat >>conftest.$ac_ext <<_ACEOF
26798 /* end confdefs.h. */
26799 $ac_includes_default
26800 #include <windows.h>
26801 _ACEOF
26802 rm -f conftest.$ac_objext
26803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26804 (eval $ac_compile) 2>conftest.er1
26805 ac_status=$?
26806 grep -v '^ *+' conftest.er1 >conftest.err
26807 rm -f conftest.er1
26808 cat conftest.err >&5
26809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810 (exit $ac_status); } &&
26811 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26813 (eval $ac_try) 2>&5
26814 ac_status=$?
26815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26816 (exit $ac_status); }; } &&
26817 { ac_try='test -s conftest.$ac_objext'
26818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26819 (eval $ac_try) 2>&5
26820 ac_status=$?
26821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26822 (exit $ac_status); }; }; then
26823 ac_header_compiler=yes
26824 else
26825 echo "$as_me: failed program was:" >&5
26826 sed 's/^/| /' conftest.$ac_ext >&5
26827
26828 ac_header_compiler=no
26829 fi
26830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26831 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26832 echo "${ECHO_T}$ac_header_compiler" >&6
26833
26834 # Is the header present?
26835 echo "$as_me:$LINENO: checking windows.h presence" >&5
26836 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
26837 cat >conftest.$ac_ext <<_ACEOF
26838 /* confdefs.h. */
26839 _ACEOF
26840 cat confdefs.h >>conftest.$ac_ext
26841 cat >>conftest.$ac_ext <<_ACEOF
26842 /* end confdefs.h. */
26843 #include <windows.h>
26844 _ACEOF
26845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26846 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26847 ac_status=$?
26848 grep -v '^ *+' conftest.er1 >conftest.err
26849 rm -f conftest.er1
26850 cat conftest.err >&5
26851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26852 (exit $ac_status); } >/dev/null; then
26853 if test -s conftest.err; then
26854 ac_cpp_err=$ac_cxx_preproc_warn_flag
26855 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26856 else
26857 ac_cpp_err=
26858 fi
26859 else
26860 ac_cpp_err=yes
26861 fi
26862 if test -z "$ac_cpp_err"; then
26863 ac_header_preproc=yes
26864 else
26865 echo "$as_me: failed program was:" >&5
26866 sed 's/^/| /' conftest.$ac_ext >&5
26867
26868 ac_header_preproc=no
26869 fi
26870 rm -f conftest.err conftest.$ac_ext
26871 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26872 echo "${ECHO_T}$ac_header_preproc" >&6
26873
26874 # So? What about this header?
26875 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26876 yes:no: )
26877 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
26878 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26879 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
26880 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
26881 ac_header_preproc=yes
26882 ;;
26883 no:yes:* )
26884 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
26885 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
26886 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
26887 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
26888 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
26889 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
26890 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
26891 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
26892 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
26893 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
26894 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
26895 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
26896 (
26897 cat <<\_ASBOX
26898 ## ----------------------------------------- ##
26899 ## Report this to wx-dev@lists.wxwidgets.org ##
26900 ## ----------------------------------------- ##
26901 _ASBOX
26902 ) |
26903 sed "s/^/$as_me: WARNING: /" >&2
26904 ;;
26905 esac
26906 echo "$as_me:$LINENO: checking for windows.h" >&5
26907 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
26908 if test "${ac_cv_header_windows_h+set}" = set; then
26909 echo $ECHO_N "(cached) $ECHO_C" >&6
26910 else
26911 ac_cv_header_windows_h=$ac_header_preproc
26912 fi
26913 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26914 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
26915
26916 fi
26917 if test $ac_cv_header_windows_h = yes; then
26918 :
26919 else
26920
26921 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26922 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26923 { (exit 1); exit 1; }; }
26924
26925 fi
26926
26927
26928
26929 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26930
26931 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26932 LIBS="$LIBS -loleacc"
26933 fi
26934
26935 case "${host}" in
26936 *-*-cygwin* )
26937 LIBS="$LIBS -lkernel32 -luser32"
26938 esac
26939
26940 if test "$wxUSE_ODBC" = "sys" ; then
26941 wxUSE_ODBC = "yes"
26942 fi
26943 if test "$wxUSE_ODBC" = "yes" ; then
26944 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26945 cat >>confdefs.h <<\_ACEOF
26946 #define wxUSE_ODBC 1
26947 _ACEOF
26948
26949 fi
26950
26951 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26952 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26953
26954 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26955
26956 WIN32INSTALL=win32install
26957 fi
26958
26959 if test "$wxUSE_GUI" = "yes"; then
26960 USE_GUI=1
26961
26962 GUI_TK_LIBRARY=
26963
26964 WXGTK12=
26965 WXGTK127=
26966 WXGTK20=
26967 WXGPE=
26968
26969 if test "$wxUSE_COCOA" = 1 ; then
26970 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26971 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26972 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26973 wxUSE_PRINTING_ARCHITECTURE=no
26974 fi
26975 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26976 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26977 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26978 wxUSE_DRAG_AND_DROP=no
26979 fi
26980 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26981 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
26982 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
26983 wxUSE_DRAGIMAGE=no
26984 fi
26985 fi
26986
26987 if test "$wxUSE_MSW" = 1 ; then
26988 TOOLKIT=MSW
26989 GUIDIST=MSW_DIST
26990
26991 case "${host}" in
26992 *-*-mingw32* )
26993 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26994 esac
26995 fi
26996
26997 if test "$wxUSE_GTK" = 1; then
26998 ac_ext=c
26999 ac_cpp='$CPP $CPPFLAGS'
27000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27003
27004
27005 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27006 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27007
27008 gtk_version_cached=1
27009 if test "${wx_cv_lib_gtk+set}" = set; then
27010 echo $ECHO_N "(cached) $ECHO_C" >&6
27011 else
27012
27013 gtk_version_cached=0
27014 echo "$as_me:$LINENO: result: " >&5
27015 echo "${ECHO_T}" >&6
27016
27017 GTK_MODULES=
27018 if test "$wxUSE_THREADS" = "yes"; then
27019 GTK_MODULES=gthread
27020 fi
27021
27022 wx_cv_lib_gtk=
27023 if test "x$wxGTK_VERSION" != "x1"
27024 then
27025 case "${host}" in
27026 *-*-solaris2* )
27027 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27028 enable_gtktest=no
27029 fi
27030 esac
27031
27032 # Check whether --enable-gtktest or --disable-gtktest was given.
27033 if test "${enable_gtktest+set}" = set; then
27034 enableval="$enable_gtktest"
27035
27036 else
27037 enable_gtktest=yes
27038 fi;
27039
27040 pkg_config_args=gtk+-2.0
27041 for module in . $GTK_MODULES
27042 do
27043 case "$module" in
27044 gthread)
27045 pkg_config_args="$pkg_config_args gthread-2.0"
27046 ;;
27047 esac
27048 done
27049
27050 no_gtk=""
27051
27052 # Extract the first word of "pkg-config", so it can be a program name with args.
27053 set dummy pkg-config; ac_word=$2
27054 echo "$as_me:$LINENO: checking for $ac_word" >&5
27055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27056 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27057 echo $ECHO_N "(cached) $ECHO_C" >&6
27058 else
27059 case $PKG_CONFIG in
27060 [\\/]* | ?:[\\/]*)
27061 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27062 ;;
27063 *)
27064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27065 for as_dir in $PATH
27066 do
27067 IFS=$as_save_IFS
27068 test -z "$as_dir" && as_dir=.
27069 for ac_exec_ext in '' $ac_executable_extensions; do
27070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27071 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27073 break 2
27074 fi
27075 done
27076 done
27077
27078 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27079 ;;
27080 esac
27081 fi
27082 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27083
27084 if test -n "$PKG_CONFIG"; then
27085 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27086 echo "${ECHO_T}$PKG_CONFIG" >&6
27087 else
27088 echo "$as_me:$LINENO: result: no" >&5
27089 echo "${ECHO_T}no" >&6
27090 fi
27091
27092
27093 if test x$PKG_CONFIG != xno ; then
27094 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27095 :
27096 else
27097 echo "*** pkg-config too old; version 0.7 or better required."
27098 no_gtk=yes
27099 PKG_CONFIG=no
27100 fi
27101 else
27102 no_gtk=yes
27103 fi
27104
27105 min_gtk_version=2.0.0
27106 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27107 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27108
27109 if test x$PKG_CONFIG != xno ; then
27110 ## don't try to run the test against uninstalled libtool libs
27111 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27112 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27113 enable_gtktest=no
27114 fi
27115
27116 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27117 :
27118 else
27119 no_gtk=yes
27120 fi
27121 fi
27122
27123 if test x"$no_gtk" = x ; then
27124 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27125 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27126 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27127 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27128 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27129 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27130 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27131 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27132 if test "x$enable_gtktest" = "xyes" ; then
27133 ac_save_CFLAGS="$CFLAGS"
27134 ac_save_LIBS="$LIBS"
27135 CFLAGS="$CFLAGS $GTK_CFLAGS"
27136 LIBS="$GTK_LIBS $LIBS"
27137 rm -f conf.gtktest
27138 if test "$cross_compiling" = yes; then
27139 echo $ac_n "cross compiling; assumed OK... $ac_c"
27140 else
27141 cat >conftest.$ac_ext <<_ACEOF
27142 /* confdefs.h. */
27143 _ACEOF
27144 cat confdefs.h >>conftest.$ac_ext
27145 cat >>conftest.$ac_ext <<_ACEOF
27146 /* end confdefs.h. */
27147
27148 #include <gtk/gtk.h>
27149 #include <stdio.h>
27150 #include <stdlib.h>
27151
27152 int
27153 main ()
27154 {
27155 int major, minor, micro;
27156 char *tmp_version;
27157
27158 system ("touch conf.gtktest");
27159
27160 /* HP/UX 9 (%@#!) writes to sscanf strings */
27161 tmp_version = g_strdup("$min_gtk_version");
27162 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27163 printf("%s, bad version string\n", "$min_gtk_version");
27164 exit(1);
27165 }
27166
27167 if ((gtk_major_version != $gtk_config_major_version) ||
27168 (gtk_minor_version != $gtk_config_minor_version) ||
27169 (gtk_micro_version != $gtk_config_micro_version))
27170 {
27171 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27172 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27173 gtk_major_version, gtk_minor_version, gtk_micro_version);
27174 printf ("*** was found! If pkg-config was correct, then it is best\n");
27175 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27176 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27177 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27178 printf("*** required on your system.\n");
27179 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27180 printf("*** to point to the correct configuration files\n");
27181 }
27182 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27183 (gtk_minor_version != GTK_MINOR_VERSION) ||
27184 (gtk_micro_version != GTK_MICRO_VERSION))
27185 {
27186 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27187 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27188 printf("*** library (version %d.%d.%d)\n",
27189 gtk_major_version, gtk_minor_version, gtk_micro_version);
27190 }
27191 else
27192 {
27193 if ((gtk_major_version > major) ||
27194 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27195 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27196 {
27197 return 0;
27198 }
27199 else
27200 {
27201 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27202 gtk_major_version, gtk_minor_version, gtk_micro_version);
27203 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27204 major, minor, micro);
27205 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27206 printf("***\n");
27207 printf("*** If you have already installed a sufficiently new version, this error\n");
27208 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27209 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27210 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27211 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27212 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27213 printf("*** so that the correct libraries are found at run-time))\n");
27214 }
27215 }
27216 return 1;
27217 }
27218
27219 _ACEOF
27220 rm -f conftest$ac_exeext
27221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27222 (eval $ac_link) 2>&5
27223 ac_status=$?
27224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27225 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27227 (eval $ac_try) 2>&5
27228 ac_status=$?
27229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27230 (exit $ac_status); }; }; then
27231 :
27232 else
27233 echo "$as_me: program exited with status $ac_status" >&5
27234 echo "$as_me: failed program was:" >&5
27235 sed 's/^/| /' conftest.$ac_ext >&5
27236
27237 ( exit $ac_status )
27238 no_gtk=yes
27239 fi
27240 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27241 fi
27242 CFLAGS="$ac_save_CFLAGS"
27243 LIBS="$ac_save_LIBS"
27244 fi
27245 fi
27246 if test "x$no_gtk" = x ; then
27247 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27248 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27249 wx_cv_lib_gtk=2.0
27250 else
27251 echo "$as_me:$LINENO: result: no" >&5
27252 echo "${ECHO_T}no" >&6
27253 if test "$PKG_CONFIG" = "no" ; then
27254 echo "*** A new enough version of pkg-config was not found."
27255 echo "*** See http://pkgconfig.sourceforge.net"
27256 else
27257 if test -f conf.gtktest ; then
27258 :
27259 else
27260 echo "*** Could not run GTK+ test program, checking why..."
27261 ac_save_CFLAGS="$CFLAGS"
27262 ac_save_LIBS="$LIBS"
27263 CFLAGS="$CFLAGS $GTK_CFLAGS"
27264 LIBS="$LIBS $GTK_LIBS"
27265 cat >conftest.$ac_ext <<_ACEOF
27266 /* confdefs.h. */
27267 _ACEOF
27268 cat confdefs.h >>conftest.$ac_ext
27269 cat >>conftest.$ac_ext <<_ACEOF
27270 /* end confdefs.h. */
27271
27272 #include <gtk/gtk.h>
27273 #include <stdio.h>
27274
27275 int
27276 main ()
27277 {
27278 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27279 ;
27280 return 0;
27281 }
27282 _ACEOF
27283 rm -f conftest.$ac_objext conftest$ac_exeext
27284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27285 (eval $ac_link) 2>conftest.er1
27286 ac_status=$?
27287 grep -v '^ *+' conftest.er1 >conftest.err
27288 rm -f conftest.er1
27289 cat conftest.err >&5
27290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27291 (exit $ac_status); } &&
27292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294 (eval $ac_try) 2>&5
27295 ac_status=$?
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); }; } &&
27298 { ac_try='test -s conftest$ac_exeext'
27299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27300 (eval $ac_try) 2>&5
27301 ac_status=$?
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); }; }; then
27304 echo "*** The test program compiled, but did not run. This usually means"
27305 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27306 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27307 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27308 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27309 echo "*** is required on your system"
27310 echo "***"
27311 echo "*** If you have an old version installed, it is best to remove it, although"
27312 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27313 else
27314 echo "$as_me: failed program was:" >&5
27315 sed 's/^/| /' conftest.$ac_ext >&5
27316
27317 echo "*** The test program failed to compile or link. See the file config.log for the"
27318 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27319 fi
27320 rm -f conftest.err conftest.$ac_objext \
27321 conftest$ac_exeext conftest.$ac_ext
27322 CFLAGS="$ac_save_CFLAGS"
27323 LIBS="$ac_save_LIBS"
27324 fi
27325 fi
27326 GTK_CFLAGS=""
27327 GTK_LIBS=""
27328 :
27329 fi
27330
27331
27332 rm -f conf.gtktest
27333
27334
27335 case "${host}" in
27336 *-*-solaris2* )
27337 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27338 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27339 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27340 fi
27341 if test "$wxUSE_SHARED" != "yes"; then
27342 GTK_LIBS="$GTK_LIBS -lX11"
27343 fi
27344 esac
27345 fi
27346
27347 if test -z "$wx_cv_lib_gtk"; then
27348 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27349
27350 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27351 if test "${with_gtk_prefix+set}" = set; then
27352 withval="$with_gtk_prefix"
27353 gtk_config_prefix="$withval"
27354 else
27355 gtk_config_prefix=""
27356 fi;
27357
27358 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27359 if test "${with_gtk_exec_prefix+set}" = set; then
27360 withval="$with_gtk_exec_prefix"
27361 gtk_config_exec_prefix="$withval"
27362 else
27363 gtk_config_exec_prefix=""
27364 fi;
27365 # Check whether --enable-gtktest or --disable-gtktest was given.
27366 if test "${enable_gtktest+set}" = set; then
27367 enableval="$enable_gtktest"
27368
27369 else
27370 enable_gtktest=yes
27371 fi;
27372
27373 for module in . $GTK_MODULES
27374 do
27375 case "$module" in
27376 gthread)
27377 gtk_config_args="$gtk_config_args gthread"
27378 ;;
27379 esac
27380 done
27381
27382 if test x$gtk_config_exec_prefix != x ; then
27383 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27384 if test x${GTK_CONFIG+set} != xset ; then
27385 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27386 fi
27387 fi
27388 if test x$gtk_config_prefix != x ; then
27389 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27390 if test x${GTK_CONFIG+set} != xset ; then
27391 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27392 fi
27393 fi
27394
27395 # Extract the first word of "gtk-config", so it can be a program name with args.
27396 set dummy gtk-config; ac_word=$2
27397 echo "$as_me:$LINENO: checking for $ac_word" >&5
27398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27399 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27400 echo $ECHO_N "(cached) $ECHO_C" >&6
27401 else
27402 case $GTK_CONFIG in
27403 [\\/]* | ?:[\\/]*)
27404 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27405 ;;
27406 *)
27407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27408 for as_dir in $PATH
27409 do
27410 IFS=$as_save_IFS
27411 test -z "$as_dir" && as_dir=.
27412 for ac_exec_ext in '' $ac_executable_extensions; do
27413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27414 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27416 break 2
27417 fi
27418 done
27419 done
27420
27421 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27422 ;;
27423 esac
27424 fi
27425 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27426
27427 if test -n "$GTK_CONFIG"; then
27428 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27429 echo "${ECHO_T}$GTK_CONFIG" >&6
27430 else
27431 echo "$as_me:$LINENO: result: no" >&5
27432 echo "${ECHO_T}no" >&6
27433 fi
27434
27435 min_gtk_version=1.2.7
27436 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27437 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27438 no_gtk=""
27439 if test "$GTK_CONFIG" = "no" ; then
27440 no_gtk=yes
27441 else
27442 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27443 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27444 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27445 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27446 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27447 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27448 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27449 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27450 if test "x$enable_gtktest" = "xyes" ; then
27451 ac_save_CFLAGS="$CFLAGS"
27452 ac_save_LIBS="$LIBS"
27453 CFLAGS="$CFLAGS $GTK_CFLAGS"
27454 LIBS="$GTK_LIBS $LIBS"
27455 rm -f conf.gtktest
27456 if test "$cross_compiling" = yes; then
27457 echo $ac_n "cross compiling; assumed OK... $ac_c"
27458 else
27459 cat >conftest.$ac_ext <<_ACEOF
27460 /* confdefs.h. */
27461 _ACEOF
27462 cat confdefs.h >>conftest.$ac_ext
27463 cat >>conftest.$ac_ext <<_ACEOF
27464 /* end confdefs.h. */
27465
27466 #include <gtk/gtk.h>
27467 #include <stdio.h>
27468 #include <stdlib.h>
27469
27470 int
27471 main ()
27472 {
27473 int major, minor, micro;
27474 char *tmp_version;
27475
27476 system ("touch conf.gtktest");
27477
27478 /* HP/UX 9 (%@#!) writes to sscanf strings */
27479 tmp_version = g_strdup("$min_gtk_version");
27480 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27481 printf("%s, bad version string\n", "$min_gtk_version");
27482 exit(1);
27483 }
27484
27485 if ((gtk_major_version != $gtk_config_major_version) ||
27486 (gtk_minor_version != $gtk_config_minor_version) ||
27487 (gtk_micro_version != $gtk_config_micro_version))
27488 {
27489 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27490 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27491 gtk_major_version, gtk_minor_version, gtk_micro_version);
27492 printf ("*** was found! If gtk-config was correct, then it is best\n");
27493 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27494 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27495 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27496 printf("*** required on your system.\n");
27497 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27498 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27499 printf("*** before re-running configure\n");
27500 }
27501 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27502 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27503 (gtk_minor_version != GTK_MINOR_VERSION) ||
27504 (gtk_micro_version != GTK_MICRO_VERSION))
27505 {
27506 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27507 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27508 printf("*** library (version %d.%d.%d)\n",
27509 gtk_major_version, gtk_minor_version, gtk_micro_version);
27510 }
27511 #endif /* defined (GTK_MAJOR_VERSION) ... */
27512 else
27513 {
27514 if ((gtk_major_version > major) ||
27515 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27516 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27517 {
27518 return 0;
27519 }
27520 else
27521 {
27522 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27523 gtk_major_version, gtk_minor_version, gtk_micro_version);
27524 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27525 major, minor, micro);
27526 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27527 printf("***\n");
27528 printf("*** If you have already installed a sufficiently new version, this error\n");
27529 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27530 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27531 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27532 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27533 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27534 printf("*** so that the correct libraries are found at run-time))\n");
27535 }
27536 }
27537 return 1;
27538 }
27539
27540 _ACEOF
27541 rm -f conftest$ac_exeext
27542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27543 (eval $ac_link) 2>&5
27544 ac_status=$?
27545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27546 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27548 (eval $ac_try) 2>&5
27549 ac_status=$?
27550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27551 (exit $ac_status); }; }; then
27552 :
27553 else
27554 echo "$as_me: program exited with status $ac_status" >&5
27555 echo "$as_me: failed program was:" >&5
27556 sed 's/^/| /' conftest.$ac_ext >&5
27557
27558 ( exit $ac_status )
27559 no_gtk=yes
27560 fi
27561 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27562 fi
27563 CFLAGS="$ac_save_CFLAGS"
27564 LIBS="$ac_save_LIBS"
27565 fi
27566 fi
27567 if test "x$no_gtk" = x ; then
27568 echo "$as_me:$LINENO: result: yes" >&5
27569 echo "${ECHO_T}yes" >&6
27570 wx_cv_lib_gtk=1.2.7
27571 else
27572 echo "$as_me:$LINENO: result: no" >&5
27573 echo "${ECHO_T}no" >&6
27574 if test "$GTK_CONFIG" = "no" ; then
27575 echo "*** The gtk-config script installed by GTK could not be found"
27576 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27577 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27578 echo "*** full path to gtk-config."
27579 else
27580 if test -f conf.gtktest ; then
27581 :
27582 else
27583 echo "*** Could not run GTK test program, checking why..."
27584 CFLAGS="$CFLAGS $GTK_CFLAGS"
27585 LIBS="$LIBS $GTK_LIBS"
27586 cat >conftest.$ac_ext <<_ACEOF
27587 /* confdefs.h. */
27588 _ACEOF
27589 cat confdefs.h >>conftest.$ac_ext
27590 cat >>conftest.$ac_ext <<_ACEOF
27591 /* end confdefs.h. */
27592
27593 #include <gtk/gtk.h>
27594 #include <stdio.h>
27595
27596 int
27597 main ()
27598 {
27599 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27600 ;
27601 return 0;
27602 }
27603 _ACEOF
27604 rm -f conftest.$ac_objext conftest$ac_exeext
27605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27606 (eval $ac_link) 2>conftest.er1
27607 ac_status=$?
27608 grep -v '^ *+' conftest.er1 >conftest.err
27609 rm -f conftest.er1
27610 cat conftest.err >&5
27611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27612 (exit $ac_status); } &&
27613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27615 (eval $ac_try) 2>&5
27616 ac_status=$?
27617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27618 (exit $ac_status); }; } &&
27619 { ac_try='test -s conftest$ac_exeext'
27620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27621 (eval $ac_try) 2>&5
27622 ac_status=$?
27623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27624 (exit $ac_status); }; }; then
27625 echo "*** The test program compiled, but did not run. This usually means"
27626 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27627 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27628 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27629 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27630 echo "*** is required on your system"
27631 echo "***"
27632 echo "*** If you have an old version installed, it is best to remove it, although"
27633 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27634 echo "***"
27635 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27636 echo "*** came with the system with the command"
27637 echo "***"
27638 echo "*** rpm --erase --nodeps gtk gtk-devel"
27639 else
27640 echo "$as_me: failed program was:" >&5
27641 sed 's/^/| /' conftest.$ac_ext >&5
27642
27643 echo "*** The test program failed to compile or link. See the file config.log for the"
27644 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27645 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27646 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27647 fi
27648 rm -f conftest.err conftest.$ac_objext \
27649 conftest$ac_exeext conftest.$ac_ext
27650 CFLAGS="$ac_save_CFLAGS"
27651 LIBS="$ac_save_LIBS"
27652 fi
27653 fi
27654 GTK_CFLAGS=""
27655 GTK_LIBS=""
27656 :
27657 fi
27658
27659
27660 rm -f conf.gtktest
27661
27662
27663 if test -z "$wx_cv_lib_gtk"; then
27664
27665 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27666 if test "${with_gtk_prefix+set}" = set; then
27667 withval="$with_gtk_prefix"
27668 gtk_config_prefix="$withval"
27669 else
27670 gtk_config_prefix=""
27671 fi;
27672
27673 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27674 if test "${with_gtk_exec_prefix+set}" = set; then
27675 withval="$with_gtk_exec_prefix"
27676 gtk_config_exec_prefix="$withval"
27677 else
27678 gtk_config_exec_prefix=""
27679 fi;
27680 # Check whether --enable-gtktest or --disable-gtktest was given.
27681 if test "${enable_gtktest+set}" = set; then
27682 enableval="$enable_gtktest"
27683
27684 else
27685 enable_gtktest=yes
27686 fi;
27687
27688 for module in . $GTK_MODULES
27689 do
27690 case "$module" in
27691 gthread)
27692 gtk_config_args="$gtk_config_args gthread"
27693 ;;
27694 esac
27695 done
27696
27697 if test x$gtk_config_exec_prefix != x ; then
27698 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27699 if test x${GTK_CONFIG+set} != xset ; then
27700 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27701 fi
27702 fi
27703 if test x$gtk_config_prefix != x ; then
27704 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27705 if test x${GTK_CONFIG+set} != xset ; then
27706 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27707 fi
27708 fi
27709
27710 # Extract the first word of "gtk-config", so it can be a program name with args.
27711 set dummy gtk-config; ac_word=$2
27712 echo "$as_me:$LINENO: checking for $ac_word" >&5
27713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27714 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27715 echo $ECHO_N "(cached) $ECHO_C" >&6
27716 else
27717 case $GTK_CONFIG in
27718 [\\/]* | ?:[\\/]*)
27719 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27720 ;;
27721 *)
27722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27723 for as_dir in $PATH
27724 do
27725 IFS=$as_save_IFS
27726 test -z "$as_dir" && as_dir=.
27727 for ac_exec_ext in '' $ac_executable_extensions; do
27728 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27729 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27731 break 2
27732 fi
27733 done
27734 done
27735
27736 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27737 ;;
27738 esac
27739 fi
27740 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27741
27742 if test -n "$GTK_CONFIG"; then
27743 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27744 echo "${ECHO_T}$GTK_CONFIG" >&6
27745 else
27746 echo "$as_me:$LINENO: result: no" >&5
27747 echo "${ECHO_T}no" >&6
27748 fi
27749
27750 min_gtk_version=1.2.3
27751 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27752 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27753 no_gtk=""
27754 if test "$GTK_CONFIG" = "no" ; then
27755 no_gtk=yes
27756 else
27757 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27758 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27759 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27760 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27761 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27762 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27763 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27764 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27765 if test "x$enable_gtktest" = "xyes" ; then
27766 ac_save_CFLAGS="$CFLAGS"
27767 ac_save_LIBS="$LIBS"
27768 CFLAGS="$CFLAGS $GTK_CFLAGS"
27769 LIBS="$GTK_LIBS $LIBS"
27770 rm -f conf.gtktest
27771 if test "$cross_compiling" = yes; then
27772 echo $ac_n "cross compiling; assumed OK... $ac_c"
27773 else
27774 cat >conftest.$ac_ext <<_ACEOF
27775 /* confdefs.h. */
27776 _ACEOF
27777 cat confdefs.h >>conftest.$ac_ext
27778 cat >>conftest.$ac_ext <<_ACEOF
27779 /* end confdefs.h. */
27780
27781 #include <gtk/gtk.h>
27782 #include <stdio.h>
27783 #include <stdlib.h>
27784
27785 int
27786 main ()
27787 {
27788 int major, minor, micro;
27789 char *tmp_version;
27790
27791 system ("touch conf.gtktest");
27792
27793 /* HP/UX 9 (%@#!) writes to sscanf strings */
27794 tmp_version = g_strdup("$min_gtk_version");
27795 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27796 printf("%s, bad version string\n", "$min_gtk_version");
27797 exit(1);
27798 }
27799
27800 if ((gtk_major_version != $gtk_config_major_version) ||
27801 (gtk_minor_version != $gtk_config_minor_version) ||
27802 (gtk_micro_version != $gtk_config_micro_version))
27803 {
27804 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27805 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27806 gtk_major_version, gtk_minor_version, gtk_micro_version);
27807 printf ("*** was found! If gtk-config was correct, then it is best\n");
27808 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27809 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27810 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27811 printf("*** required on your system.\n");
27812 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27813 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27814 printf("*** before re-running configure\n");
27815 }
27816 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27817 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27818 (gtk_minor_version != GTK_MINOR_VERSION) ||
27819 (gtk_micro_version != GTK_MICRO_VERSION))
27820 {
27821 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27822 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27823 printf("*** library (version %d.%d.%d)\n",
27824 gtk_major_version, gtk_minor_version, gtk_micro_version);
27825 }
27826 #endif /* defined (GTK_MAJOR_VERSION) ... */
27827 else
27828 {
27829 if ((gtk_major_version > major) ||
27830 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27831 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27832 {
27833 return 0;
27834 }
27835 else
27836 {
27837 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27838 gtk_major_version, gtk_minor_version, gtk_micro_version);
27839 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27840 major, minor, micro);
27841 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27842 printf("***\n");
27843 printf("*** If you have already installed a sufficiently new version, this error\n");
27844 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27845 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27846 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27847 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27848 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27849 printf("*** so that the correct libraries are found at run-time))\n");
27850 }
27851 }
27852 return 1;
27853 }
27854
27855 _ACEOF
27856 rm -f conftest$ac_exeext
27857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27858 (eval $ac_link) 2>&5
27859 ac_status=$?
27860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27861 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27863 (eval $ac_try) 2>&5
27864 ac_status=$?
27865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27866 (exit $ac_status); }; }; then
27867 :
27868 else
27869 echo "$as_me: program exited with status $ac_status" >&5
27870 echo "$as_me: failed program was:" >&5
27871 sed 's/^/| /' conftest.$ac_ext >&5
27872
27873 ( exit $ac_status )
27874 no_gtk=yes
27875 fi
27876 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27877 fi
27878 CFLAGS="$ac_save_CFLAGS"
27879 LIBS="$ac_save_LIBS"
27880 fi
27881 fi
27882 if test "x$no_gtk" = x ; then
27883 echo "$as_me:$LINENO: result: yes" >&5
27884 echo "${ECHO_T}yes" >&6
27885 wx_cv_lib_gtk=1.2.3
27886 else
27887 echo "$as_me:$LINENO: result: no" >&5
27888 echo "${ECHO_T}no" >&6
27889 if test "$GTK_CONFIG" = "no" ; then
27890 echo "*** The gtk-config script installed by GTK could not be found"
27891 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27892 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27893 echo "*** full path to gtk-config."
27894 else
27895 if test -f conf.gtktest ; then
27896 :
27897 else
27898 echo "*** Could not run GTK test program, checking why..."
27899 CFLAGS="$CFLAGS $GTK_CFLAGS"
27900 LIBS="$LIBS $GTK_LIBS"
27901 cat >conftest.$ac_ext <<_ACEOF
27902 /* confdefs.h. */
27903 _ACEOF
27904 cat confdefs.h >>conftest.$ac_ext
27905 cat >>conftest.$ac_ext <<_ACEOF
27906 /* end confdefs.h. */
27907
27908 #include <gtk/gtk.h>
27909 #include <stdio.h>
27910
27911 int
27912 main ()
27913 {
27914 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27915 ;
27916 return 0;
27917 }
27918 _ACEOF
27919 rm -f conftest.$ac_objext conftest$ac_exeext
27920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27921 (eval $ac_link) 2>conftest.er1
27922 ac_status=$?
27923 grep -v '^ *+' conftest.er1 >conftest.err
27924 rm -f conftest.er1
27925 cat conftest.err >&5
27926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27927 (exit $ac_status); } &&
27928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27930 (eval $ac_try) 2>&5
27931 ac_status=$?
27932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27933 (exit $ac_status); }; } &&
27934 { ac_try='test -s conftest$ac_exeext'
27935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27936 (eval $ac_try) 2>&5
27937 ac_status=$?
27938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27939 (exit $ac_status); }; }; then
27940 echo "*** The test program compiled, but did not run. This usually means"
27941 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27942 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27943 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27944 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27945 echo "*** is required on your system"
27946 echo "***"
27947 echo "*** If you have an old version installed, it is best to remove it, although"
27948 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27949 echo "***"
27950 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27951 echo "*** came with the system with the command"
27952 echo "***"
27953 echo "*** rpm --erase --nodeps gtk gtk-devel"
27954 else
27955 echo "$as_me: failed program was:" >&5
27956 sed 's/^/| /' conftest.$ac_ext >&5
27957
27958 echo "*** The test program failed to compile or link. See the file config.log for the"
27959 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27960 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27961 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27962 fi
27963 rm -f conftest.err conftest.$ac_objext \
27964 conftest$ac_exeext conftest.$ac_ext
27965 CFLAGS="$ac_save_CFLAGS"
27966 LIBS="$ac_save_LIBS"
27967 fi
27968 fi
27969 GTK_CFLAGS=""
27970 GTK_LIBS=""
27971 :
27972 fi
27973
27974
27975 rm -f conf.gtktest
27976
27977 fi
27978 fi
27979 fi
27980
27981 if test -z "$wx_cv_lib_gtk"; then
27982 wx_cv_lib_gtk=none
27983 else
27984 wx_cv_cflags_gtk=$GTK_CFLAGS
27985 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27986 fi
27987
27988
27989 fi
27990
27991
27992 if test "$gtk_version_cached" = 1; then
27993 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27994 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
27995 fi
27996
27997 case "$wx_cv_lib_gtk" in
27998 2.0) WXGTK20=1
27999 TOOLKIT_VERSION=2
28000 ;;
28001 1.2.7) WXGTK127=1
28002 WXGTK12=1
28003 ;;
28004 1.2.3) WXGTK12=1
28005 ;;
28006 *) { { echo "$as_me:$LINENO: error:
28007 The development files for GTK+ were not found. For GTK+ 2, please
28008 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28009 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28010 and that the version is 1.2.3 or above. Also check that the
28011 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28012 --libs' are in the LD_LIBRARY_PATH or equivalent.
28013 " >&5
28014 echo "$as_me: error:
28015 The development files for GTK+ were not found. For GTK+ 2, please
28016 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28017 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28018 and that the version is 1.2.3 or above. Also check that the
28019 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28020 --libs' are in the LD_LIBRARY_PATH or equivalent.
28021 " >&2;}
28022 { (exit 1); exit 1; }; }
28023 ;;
28024 esac
28025
28026 if test "$WXGTK20" = 1; then
28027 save_CFLAGS="$CFLAGS"
28028 save_LIBS="$LIBS"
28029 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28030 LIBS="$LIBS $wx_cv_libs_gtk"
28031
28032 echo "$as_me:$LINENO: checking if gtk_icon_size_lookup is missing" >&5
28033 echo $ECHO_N "checking if gtk_icon_size_lookup is missing... $ECHO_C" >&6
28034 cat >conftest.$ac_ext <<_ACEOF
28035 /* confdefs.h. */
28036 _ACEOF
28037 cat confdefs.h >>conftest.$ac_ext
28038 cat >>conftest.$ac_ext <<_ACEOF
28039 /* end confdefs.h. */
28040
28041 #include <gtk/gtk.h>
28042
28043 int
28044 main ()
28045 {
28046
28047 void *f = gtk_icon_size_lookup;
28048
28049 ;
28050 return 0;
28051 }
28052 _ACEOF
28053 rm -f conftest.$ac_objext
28054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28055 (eval $ac_compile) 2>conftest.er1
28056 ac_status=$?
28057 grep -v '^ *+' conftest.er1 >conftest.err
28058 rm -f conftest.er1
28059 cat conftest.err >&5
28060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28061 (exit $ac_status); } &&
28062 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28064 (eval $ac_try) 2>&5
28065 ac_status=$?
28066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28067 (exit $ac_status); }; } &&
28068 { ac_try='test -s conftest.$ac_objext'
28069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28070 (eval $ac_try) 2>&5
28071 ac_status=$?
28072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28073 (exit $ac_status); }; }; then
28074
28075 echo "$as_me:$LINENO: result: no" >&5
28076 echo "${ECHO_T}no" >&6
28077
28078 else
28079 echo "$as_me: failed program was:" >&5
28080 sed 's/^/| /' conftest.$ac_ext >&5
28081
28082
28083 cat >>confdefs.h <<\_ACEOF
28084 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28085 _ACEOF
28086
28087 echo "$as_me:$LINENO: result: yes" >&5
28088 echo "${ECHO_T}yes" >&6
28089
28090 fi
28091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28092
28093 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28094 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28095 cat >conftest.$ac_ext <<_ACEOF
28096 /* confdefs.h. */
28097 _ACEOF
28098 cat confdefs.h >>conftest.$ac_ext
28099 cat >>conftest.$ac_ext <<_ACEOF
28100 /* end confdefs.h. */
28101
28102 #include <gtk/gtk.h>
28103
28104 int
28105 main ()
28106 {
28107
28108 #if !GTK_CHECK_VERSION(2,6,0)
28109 Not GTK+ 2.6
28110 #endif
28111
28112 ;
28113 return 0;
28114 }
28115 _ACEOF
28116 rm -f conftest.$ac_objext
28117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28118 (eval $ac_compile) 2>conftest.er1
28119 ac_status=$?
28120 grep -v '^ *+' conftest.er1 >conftest.err
28121 rm -f conftest.er1
28122 cat conftest.err >&5
28123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28124 (exit $ac_status); } &&
28125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28127 (eval $ac_try) 2>&5
28128 ac_status=$?
28129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28130 (exit $ac_status); }; } &&
28131 { ac_try='test -s conftest.$ac_objext'
28132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28133 (eval $ac_try) 2>&5
28134 ac_status=$?
28135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28136 (exit $ac_status); }; }; then
28137
28138 cat >>confdefs.h <<\_ACEOF
28139 #define __WXGTK26__ 1
28140 _ACEOF
28141
28142 cat >>confdefs.h <<\_ACEOF
28143 #define __WXGTK24__ 1
28144 _ACEOF
28145
28146 echo "$as_me:$LINENO: result: yes" >&5
28147 echo "${ECHO_T}yes" >&6
28148 ac_wxgtk26=1
28149
28150 else
28151 echo "$as_me: failed program was:" >&5
28152 sed 's/^/| /' conftest.$ac_ext >&5
28153
28154
28155 echo "$as_me:$LINENO: result: no" >&5
28156 echo "${ECHO_T}no" >&6
28157 ac_wxgtk26=0
28158
28159 fi
28160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28161
28162 if test "$ac_wxgtk26" = 0; then
28163 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28164 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28165 cat >conftest.$ac_ext <<_ACEOF
28166 /* confdefs.h. */
28167 _ACEOF
28168 cat confdefs.h >>conftest.$ac_ext
28169 cat >>conftest.$ac_ext <<_ACEOF
28170 /* end confdefs.h. */
28171
28172 #include <gtk/gtk.h>
28173
28174 int
28175 main ()
28176 {
28177
28178 #if !GTK_CHECK_VERSION(2,4,0)
28179 Not GTK+ 2.4
28180 #endif
28181
28182 ;
28183 return 0;
28184 }
28185 _ACEOF
28186 rm -f conftest.$ac_objext
28187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28188 (eval $ac_compile) 2>conftest.er1
28189 ac_status=$?
28190 grep -v '^ *+' conftest.er1 >conftest.err
28191 rm -f conftest.er1
28192 cat conftest.err >&5
28193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28194 (exit $ac_status); } &&
28195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28197 (eval $ac_try) 2>&5
28198 ac_status=$?
28199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28200 (exit $ac_status); }; } &&
28201 { ac_try='test -s conftest.$ac_objext'
28202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28203 (eval $ac_try) 2>&5
28204 ac_status=$?
28205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28206 (exit $ac_status); }; }; then
28207
28208 cat >>confdefs.h <<\_ACEOF
28209 #define __WXGTK24__ 1
28210 _ACEOF
28211
28212 echo "$as_me:$LINENO: result: yes" >&5
28213 echo "${ECHO_T}yes" >&6
28214
28215 else
28216 echo "$as_me: failed program was:" >&5
28217 sed 's/^/| /' conftest.$ac_ext >&5
28218
28219
28220 echo "$as_me:$LINENO: result: no" >&5
28221 echo "${ECHO_T}no" >&6
28222
28223 fi
28224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28225 fi
28226
28227 CFLAGS="$save_CFLAGS"
28228 LIBS="$save_LIBS"
28229 else
28230 if test "$wxUSE_UNICODE" = "yes"; then
28231 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28232 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28233 wxUSE_UNICODE=no
28234 fi
28235 fi
28236
28237 ac_ext=cc
28238 ac_cpp='$CXXCPP $CPPFLAGS'
28239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28242
28243
28244 if test "$USE_DARWIN" != 1; then
28245
28246 for ac_func in poll
28247 do
28248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28249 echo "$as_me:$LINENO: checking for $ac_func" >&5
28250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28251 if eval "test \"\${$as_ac_var+set}\" = set"; then
28252 echo $ECHO_N "(cached) $ECHO_C" >&6
28253 else
28254 cat >conftest.$ac_ext <<_ACEOF
28255 /* confdefs.h. */
28256 _ACEOF
28257 cat confdefs.h >>conftest.$ac_ext
28258 cat >>conftest.$ac_ext <<_ACEOF
28259 /* end confdefs.h. */
28260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28262 #define $ac_func innocuous_$ac_func
28263
28264 /* System header to define __stub macros and hopefully few prototypes,
28265 which can conflict with char $ac_func (); below.
28266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28267 <limits.h> exists even on freestanding compilers. */
28268
28269 #ifdef __STDC__
28270 # include <limits.h>
28271 #else
28272 # include <assert.h>
28273 #endif
28274
28275 #undef $ac_func
28276
28277 /* Override any gcc2 internal prototype to avoid an error. */
28278 #ifdef __cplusplus
28279 extern "C"
28280 {
28281 #endif
28282 /* We use char because int might match the return type of a gcc2
28283 builtin and then its argument prototype would still apply. */
28284 char $ac_func ();
28285 /* The GNU C library defines this for functions which it implements
28286 to always fail with ENOSYS. Some functions are actually named
28287 something starting with __ and the normal name is an alias. */
28288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28289 choke me
28290 #else
28291 char (*f) () = $ac_func;
28292 #endif
28293 #ifdef __cplusplus
28294 }
28295 #endif
28296
28297 int
28298 main ()
28299 {
28300 return f != $ac_func;
28301 ;
28302 return 0;
28303 }
28304 _ACEOF
28305 rm -f conftest.$ac_objext conftest$ac_exeext
28306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28307 (eval $ac_link) 2>conftest.er1
28308 ac_status=$?
28309 grep -v '^ *+' conftest.er1 >conftest.err
28310 rm -f conftest.er1
28311 cat conftest.err >&5
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); } &&
28314 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28316 (eval $ac_try) 2>&5
28317 ac_status=$?
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); }; } &&
28320 { ac_try='test -s conftest$ac_exeext'
28321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28322 (eval $ac_try) 2>&5
28323 ac_status=$?
28324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28325 (exit $ac_status); }; }; then
28326 eval "$as_ac_var=yes"
28327 else
28328 echo "$as_me: failed program was:" >&5
28329 sed 's/^/| /' conftest.$ac_ext >&5
28330
28331 eval "$as_ac_var=no"
28332 fi
28333 rm -f conftest.err conftest.$ac_objext \
28334 conftest$ac_exeext conftest.$ac_ext
28335 fi
28336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28338 if test `eval echo '${'$as_ac_var'}'` = yes; then
28339 cat >>confdefs.h <<_ACEOF
28340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28341 _ACEOF
28342
28343 fi
28344 done
28345
28346 fi
28347
28348 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28349 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28350
28351 AFMINSTALL=afminstall
28352 TOOLKIT=GTK
28353 GUIDIST=GTK_DIST
28354
28355 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28356 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28357 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28358 echo $ECHO_N "(cached) $ECHO_C" >&6
28359 else
28360 ac_check_lib_save_LIBS=$LIBS
28361 LIBS="-lgdk $LIBS"
28362 cat >conftest.$ac_ext <<_ACEOF
28363 /* confdefs.h. */
28364 _ACEOF
28365 cat confdefs.h >>conftest.$ac_ext
28366 cat >>conftest.$ac_ext <<_ACEOF
28367 /* end confdefs.h. */
28368
28369 /* Override any gcc2 internal prototype to avoid an error. */
28370 #ifdef __cplusplus
28371 extern "C"
28372 #endif
28373 /* We use char because int might match the return type of a gcc2
28374 builtin and then its argument prototype would still apply. */
28375 char gdk_im_open ();
28376 int
28377 main ()
28378 {
28379 gdk_im_open ();
28380 ;
28381 return 0;
28382 }
28383 _ACEOF
28384 rm -f conftest.$ac_objext conftest$ac_exeext
28385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28386 (eval $ac_link) 2>conftest.er1
28387 ac_status=$?
28388 grep -v '^ *+' conftest.er1 >conftest.err
28389 rm -f conftest.er1
28390 cat conftest.err >&5
28391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392 (exit $ac_status); } &&
28393 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28395 (eval $ac_try) 2>&5
28396 ac_status=$?
28397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398 (exit $ac_status); }; } &&
28399 { ac_try='test -s conftest$ac_exeext'
28400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28401 (eval $ac_try) 2>&5
28402 ac_status=$?
28403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28404 (exit $ac_status); }; }; then
28405 ac_cv_lib_gdk_gdk_im_open=yes
28406 else
28407 echo "$as_me: failed program was:" >&5
28408 sed 's/^/| /' conftest.$ac_ext >&5
28409
28410 ac_cv_lib_gdk_gdk_im_open=no
28411 fi
28412 rm -f conftest.err conftest.$ac_objext \
28413 conftest$ac_exeext conftest.$ac_ext
28414 LIBS=$ac_check_lib_save_LIBS
28415 fi
28416 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28417 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28418 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28419 cat >>confdefs.h <<\_ACEOF
28420 #define HAVE_XIM 1
28421 _ACEOF
28422
28423 fi
28424
28425
28426
28427 if test "$wxUSE_GPE" = "yes"; then
28428 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28429 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28430
28431 ac_find_libraries=
28432 for ac_dir in $SEARCH_LIB;
28433 do
28434 for ac_extension in a so sl dylib dll.a; do
28435 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28436 ac_find_libraries=$ac_dir
28437 break 2
28438 fi
28439 done
28440 done
28441
28442 if test "$ac_find_libraries" != "" ; then
28443
28444 if test "$ac_find_libraries" = "default location"; then
28445 ac_path_to_link=""
28446 else
28447 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28448 result=$?
28449 if test $result = 0; then
28450 ac_path_to_link=""
28451 else
28452 ac_path_to_link=" -L$ac_find_libraries"
28453 fi
28454 fi
28455
28456 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28457 WXGPE=1
28458 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28459 echo "${ECHO_T}found in $ac_find_libraries" >&6
28460 else
28461 echo "$as_me:$LINENO: result: not found" >&5
28462 echo "${ECHO_T}not found" >&6
28463 fi
28464
28465 fi
28466 fi
28467
28468 if test "$wxUSE_MGL" = 1; then
28469 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28470 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
28471 if test "x$MGL_ROOT" = x ; then
28472 echo "$as_me:$LINENO: result: not found" >&5
28473 echo "${ECHO_T}not found" >&6
28474 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28475 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28476 { (exit 1); exit 1; }; }
28477 else
28478 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28479 echo "${ECHO_T}$MGL_ROOT" >&6
28480 fi
28481
28482 echo "$as_me:$LINENO: checking for libmgl location" >&5
28483 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
28484 case "${host}" in
28485 *-*-linux* )
28486 if test "x$wxUSE_SHARED" = xyes ; then
28487 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28488 else
28489 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28490 fi
28491 ;;
28492 *-pc-msdosdjgpp )
28493 mgl_os_candidates="dos32/dj2"
28494 ;;
28495 *)
28496 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28497 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28498 { (exit 1); exit 1; }; }
28499 esac
28500
28501 mgl_lib_type=""
28502 mgl_os=""
28503
28504 for mgl_os_i in $mgl_os_candidates ; do
28505 if test "x$mgl_os" = x ; then
28506 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28507 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28508 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28509 mgl_lib_type=debug
28510 mgl_os=$mgl_os_i
28511 fi
28512 fi
28513 if test "x$mgl_lib_type" = x ; then
28514 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28515 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28516 mgl_lib_type=release
28517 mgl_os=$mgl_os_i
28518 fi
28519 fi
28520 fi
28521 done
28522
28523 if test "x$mgl_os" = x ; then
28524 echo "$as_me:$LINENO: result: not found" >&5
28525 echo "${ECHO_T}not found" >&6
28526 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28527 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28528 { (exit 1); exit 1; }; }
28529 fi
28530 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28531 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
28532
28533 wxUSE_UNIVERSAL="yes"
28534
28535 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28536 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28537
28538 AFMINSTALL=afminstall
28539 TOOLKIT=MGL
28540 GUIDIST=MGL_DIST
28541 fi
28542
28543 if test "$wxUSE_MICROWIN" = 1; then
28544 echo "$as_me:$LINENO: checking for MicroWindows" >&5
28545 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
28546 if test "x$MICROWINDOWS" = x ; then
28547 echo "$as_me:$LINENO: result: not found" >&5
28548 echo "${ECHO_T}not found" >&6
28549 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28550 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28551 { (exit 1); exit 1; }; }
28552 else
28553 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28554 echo "${ECHO_T}$MICROWINDOWS" >&6
28555 fi
28556
28557 if test -f $MICROWINDOWS/lib/libmwin.a; then
28558 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28559 echo "${ECHO_T}MicroWindows' libraries found." >&6
28560 else
28561 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28562 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28563 { (exit 1); exit 1; }; }
28564 fi
28565
28566 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28567 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28568
28569 wxUSE_UNIVERSAL="yes"
28570
28571 AFMINSTALL=afminstall
28572 TOOLKIT=MICROWIN
28573 GUIDIST=MICROWIN_DIST
28574
28575 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28576 fi
28577
28578 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28579
28580 if test "x$ac_path_x_has_been_run" != xyes; then
28581 echo "$as_me:$LINENO: checking for X" >&5
28582 echo $ECHO_N "checking for X... $ECHO_C" >&6
28583
28584 ac_path_x_has_been_run=yes
28585
28586 # Check whether --with-x or --without-x was given.
28587 if test "${with_x+set}" = set; then
28588 withval="$with_x"
28589
28590 fi;
28591 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28592 if test "x$with_x" = xno; then
28593 # The user explicitly disabled X.
28594 have_x=disabled
28595 else
28596 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
28597 # Both variables are already set.
28598 have_x=yes
28599 else
28600 if test "${ac_cv_have_x+set}" = set; then
28601 echo $ECHO_N "(cached) $ECHO_C" >&6
28602 else
28603 # One or both of the vars are not set, and there is no cached value.
28604 ac_x_includes=no ac_x_libraries=no
28605 rm -fr conftest.dir
28606 if mkdir conftest.dir; then
28607 cd conftest.dir
28608 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
28609 cat >Imakefile <<'_ACEOF'
28610 acfindx:
28611 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
28612 _ACEOF
28613 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
28614 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28615 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
28616 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28617 for ac_extension in a so sl; do
28618 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
28619 test -f $ac_im_libdir/libX11.$ac_extension; then
28620 ac_im_usrlibdir=$ac_im_libdir; break
28621 fi
28622 done
28623 # Screen out bogus values from the imake configuration. They are
28624 # bogus both because they are the default anyway, and because
28625 # using them would break gcc on systems where it needs fixed includes.
28626 case $ac_im_incroot in
28627 /usr/include) ;;
28628 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28629 esac
28630 case $ac_im_usrlibdir in
28631 /usr/lib | /lib) ;;
28632 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28633 esac
28634 fi
28635 cd ..
28636 rm -fr conftest.dir
28637 fi
28638
28639 # Standard set of common directories for X headers.
28640 # Check X11 before X11Rn because it is often a symlink to the current release.
28641 ac_x_header_dirs='
28642 /usr/X11/include
28643 /usr/X11R6/include
28644 /usr/X11R5/include
28645 /usr/X11R4/include
28646
28647 /usr/include/X11
28648 /usr/include/X11R6
28649 /usr/include/X11R5
28650 /usr/include/X11R4
28651
28652 /usr/local/X11/include
28653 /usr/local/X11R6/include
28654 /usr/local/X11R5/include
28655 /usr/local/X11R4/include
28656
28657 /usr/local/include/X11
28658 /usr/local/include/X11R6
28659 /usr/local/include/X11R5
28660 /usr/local/include/X11R4
28661
28662 /usr/X386/include
28663 /usr/x386/include
28664 /usr/XFree86/include/X11
28665
28666 /usr/include
28667 /usr/local/include
28668 /usr/unsupported/include
28669 /usr/athena/include
28670 /usr/local/x11r5/include
28671 /usr/lpp/Xamples/include
28672
28673 /usr/openwin/include
28674 /usr/openwin/share/include'
28675
28676 if test "$ac_x_includes" = no; then
28677 # Guess where to find include files, by looking for a specified header file.
28678 # First, try using that file with no special directory specified.
28679 cat >conftest.$ac_ext <<_ACEOF
28680 /* confdefs.h. */
28681 _ACEOF
28682 cat confdefs.h >>conftest.$ac_ext
28683 cat >>conftest.$ac_ext <<_ACEOF
28684 /* end confdefs.h. */
28685 #include <X11/Intrinsic.h>
28686 _ACEOF
28687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28688 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28689 ac_status=$?
28690 grep -v '^ *+' conftest.er1 >conftest.err
28691 rm -f conftest.er1
28692 cat conftest.err >&5
28693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28694 (exit $ac_status); } >/dev/null; then
28695 if test -s conftest.err; then
28696 ac_cpp_err=$ac_cxx_preproc_warn_flag
28697 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
28698 else
28699 ac_cpp_err=
28700 fi
28701 else
28702 ac_cpp_err=yes
28703 fi
28704 if test -z "$ac_cpp_err"; then
28705 # We can compile using X headers with no special include directory.
28706 ac_x_includes=
28707 else
28708 echo "$as_me: failed program was:" >&5
28709 sed 's/^/| /' conftest.$ac_ext >&5
28710
28711 for ac_dir in $ac_x_header_dirs; do
28712 if test -r "$ac_dir/X11/Intrinsic.h"; then
28713 ac_x_includes=$ac_dir
28714 break
28715 fi
28716 done
28717 fi
28718 rm -f conftest.err conftest.$ac_ext
28719 fi # $ac_x_includes = no
28720
28721 if test "$ac_x_libraries" = no; then
28722 # Check for the libraries.
28723 # See if we find them without any special options.
28724 # Don't add to $LIBS permanently.
28725 ac_save_LIBS=$LIBS
28726 LIBS="-lXt $LIBS"
28727 cat >conftest.$ac_ext <<_ACEOF
28728 /* confdefs.h. */
28729 _ACEOF
28730 cat confdefs.h >>conftest.$ac_ext
28731 cat >>conftest.$ac_ext <<_ACEOF
28732 /* end confdefs.h. */
28733 #include <X11/Intrinsic.h>
28734 int
28735 main ()
28736 {
28737 XtMalloc (0)
28738 ;
28739 return 0;
28740 }
28741 _ACEOF
28742 rm -f conftest.$ac_objext conftest$ac_exeext
28743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28744 (eval $ac_link) 2>conftest.er1
28745 ac_status=$?
28746 grep -v '^ *+' conftest.er1 >conftest.err
28747 rm -f conftest.er1
28748 cat conftest.err >&5
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 (exit $ac_status); } &&
28751 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28753 (eval $ac_try) 2>&5
28754 ac_status=$?
28755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28756 (exit $ac_status); }; } &&
28757 { ac_try='test -s conftest$ac_exeext'
28758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28759 (eval $ac_try) 2>&5
28760 ac_status=$?
28761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28762 (exit $ac_status); }; }; then
28763 LIBS=$ac_save_LIBS
28764 # We can link X programs with no special library path.
28765 ac_x_libraries=
28766 else
28767 echo "$as_me: failed program was:" >&5
28768 sed 's/^/| /' conftest.$ac_ext >&5
28769
28770 LIBS=$ac_save_LIBS
28771 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28772 do
28773 # Don't even attempt the hair of trying to link an X program!
28774 for ac_extension in a so sl; do
28775 if test -r $ac_dir/libXt.$ac_extension; then
28776 ac_x_libraries=$ac_dir
28777 break 2
28778 fi
28779 done
28780 done
28781 fi
28782 rm -f conftest.err conftest.$ac_objext \
28783 conftest$ac_exeext conftest.$ac_ext
28784 fi # $ac_x_libraries = no
28785
28786 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
28787 # Didn't find X anywhere. Cache the known absence of X.
28788 ac_cv_have_x="have_x=no"
28789 else
28790 # Record where we found X for the cache.
28791 ac_cv_have_x="have_x=yes \
28792 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
28793 fi
28794 fi
28795
28796 fi
28797 eval "$ac_cv_have_x"
28798 fi # $with_x != no
28799
28800 if test "$have_x" != yes; then
28801 echo "$as_me:$LINENO: result: $have_x" >&5
28802 echo "${ECHO_T}$have_x" >&6
28803 no_x=yes
28804 else
28805 # If each of the values was on the command line, it overrides each guess.
28806 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28807 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28808 # Update the cache value to reflect the command line values.
28809 ac_cv_have_x="have_x=yes \
28810 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
28811 # It might be that x_includes is empty (headers are found in the
28812 # standard search path. Then output the corresponding message
28813 ac_out_x_includes=$x_includes
28814 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
28815 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
28816 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
28817 fi
28818
28819 fi
28820 if test "$no_x" = yes; then
28821 # Not all programs may use this symbol, but it does not hurt to define it.
28822
28823 cat >>confdefs.h <<\_ACEOF
28824 #define X_DISPLAY_MISSING 1
28825 _ACEOF
28826
28827 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28828 else
28829 if test -n "$x_includes"; then
28830 X_CFLAGS="$X_CFLAGS -I$x_includes"
28831 fi
28832
28833 # It would also be nice to do this for all -L options, not just this one.
28834 if test -n "$x_libraries"; then
28835 X_LIBS="$X_LIBS -L$x_libraries"
28836 # For Solaris; some versions of Sun CC require a space after -R and
28837 # others require no space. Words are not sufficient . . . .
28838 case `(uname -sr) 2>/dev/null` in
28839 "SunOS 5"*)
28840 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28841 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
28842 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28843 cat >conftest.$ac_ext <<_ACEOF
28844 /* confdefs.h. */
28845 _ACEOF
28846 cat confdefs.h >>conftest.$ac_ext
28847 cat >>conftest.$ac_ext <<_ACEOF
28848 /* end confdefs.h. */
28849
28850 int
28851 main ()
28852 {
28853
28854 ;
28855 return 0;
28856 }
28857 _ACEOF
28858 rm -f conftest.$ac_objext conftest$ac_exeext
28859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28860 (eval $ac_link) 2>conftest.er1
28861 ac_status=$?
28862 grep -v '^ *+' conftest.er1 >conftest.err
28863 rm -f conftest.er1
28864 cat conftest.err >&5
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); } &&
28867 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28869 (eval $ac_try) 2>&5
28870 ac_status=$?
28871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872 (exit $ac_status); }; } &&
28873 { ac_try='test -s conftest$ac_exeext'
28874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28875 (eval $ac_try) 2>&5
28876 ac_status=$?
28877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28878 (exit $ac_status); }; }; then
28879 ac_R_nospace=yes
28880 else
28881 echo "$as_me: failed program was:" >&5
28882 sed 's/^/| /' conftest.$ac_ext >&5
28883
28884 ac_R_nospace=no
28885 fi
28886 rm -f conftest.err conftest.$ac_objext \
28887 conftest$ac_exeext conftest.$ac_ext
28888 if test $ac_R_nospace = yes; then
28889 echo "$as_me:$LINENO: result: no" >&5
28890 echo "${ECHO_T}no" >&6
28891 X_LIBS="$X_LIBS -R$x_libraries"
28892 else
28893 LIBS="$ac_xsave_LIBS -R $x_libraries"
28894 cat >conftest.$ac_ext <<_ACEOF
28895 /* confdefs.h. */
28896 _ACEOF
28897 cat confdefs.h >>conftest.$ac_ext
28898 cat >>conftest.$ac_ext <<_ACEOF
28899 /* end confdefs.h. */
28900
28901 int
28902 main ()
28903 {
28904
28905 ;
28906 return 0;
28907 }
28908 _ACEOF
28909 rm -f conftest.$ac_objext conftest$ac_exeext
28910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28911 (eval $ac_link) 2>conftest.er1
28912 ac_status=$?
28913 grep -v '^ *+' conftest.er1 >conftest.err
28914 rm -f conftest.er1
28915 cat conftest.err >&5
28916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28917 (exit $ac_status); } &&
28918 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28920 (eval $ac_try) 2>&5
28921 ac_status=$?
28922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28923 (exit $ac_status); }; } &&
28924 { ac_try='test -s conftest$ac_exeext'
28925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28926 (eval $ac_try) 2>&5
28927 ac_status=$?
28928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28929 (exit $ac_status); }; }; then
28930 ac_R_space=yes
28931 else
28932 echo "$as_me: failed program was:" >&5
28933 sed 's/^/| /' conftest.$ac_ext >&5
28934
28935 ac_R_space=no
28936 fi
28937 rm -f conftest.err conftest.$ac_objext \
28938 conftest$ac_exeext conftest.$ac_ext
28939 if test $ac_R_space = yes; then
28940 echo "$as_me:$LINENO: result: yes" >&5
28941 echo "${ECHO_T}yes" >&6
28942 X_LIBS="$X_LIBS -R $x_libraries"
28943 else
28944 echo "$as_me:$LINENO: result: neither works" >&5
28945 echo "${ECHO_T}neither works" >&6
28946 fi
28947 fi
28948 LIBS=$ac_xsave_LIBS
28949 esac
28950 fi
28951
28952 # Check for system-dependent libraries X programs must link with.
28953 # Do this before checking for the system-independent R6 libraries
28954 # (-lICE), since we may need -lsocket or whatever for X linking.
28955
28956 if test "$ISC" = yes; then
28957 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
28958 else
28959 # Martyn Johnson says this is needed for Ultrix, if the X
28960 # libraries were built with DECnet support. And Karl Berry says
28961 # the Alpha needs dnet_stub (dnet does not exist).
28962 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
28963 cat >conftest.$ac_ext <<_ACEOF
28964 /* confdefs.h. */
28965 _ACEOF
28966 cat confdefs.h >>conftest.$ac_ext
28967 cat >>conftest.$ac_ext <<_ACEOF
28968 /* end confdefs.h. */
28969
28970 /* Override any gcc2 internal prototype to avoid an error. */
28971 #ifdef __cplusplus
28972 extern "C"
28973 #endif
28974 /* We use char because int might match the return type of a gcc2
28975 builtin and then its argument prototype would still apply. */
28976 char XOpenDisplay ();
28977 int
28978 main ()
28979 {
28980 XOpenDisplay ();
28981 ;
28982 return 0;
28983 }
28984 _ACEOF
28985 rm -f conftest.$ac_objext conftest$ac_exeext
28986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28987 (eval $ac_link) 2>conftest.er1
28988 ac_status=$?
28989 grep -v '^ *+' conftest.er1 >conftest.err
28990 rm -f conftest.er1
28991 cat conftest.err >&5
28992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28993 (exit $ac_status); } &&
28994 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28996 (eval $ac_try) 2>&5
28997 ac_status=$?
28998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28999 (exit $ac_status); }; } &&
29000 { ac_try='test -s conftest$ac_exeext'
29001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29002 (eval $ac_try) 2>&5
29003 ac_status=$?
29004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29005 (exit $ac_status); }; }; then
29006 :
29007 else
29008 echo "$as_me: failed program was:" >&5
29009 sed 's/^/| /' conftest.$ac_ext >&5
29010
29011 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29012 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29013 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29014 echo $ECHO_N "(cached) $ECHO_C" >&6
29015 else
29016 ac_check_lib_save_LIBS=$LIBS
29017 LIBS="-ldnet $LIBS"
29018 cat >conftest.$ac_ext <<_ACEOF
29019 /* confdefs.h. */
29020 _ACEOF
29021 cat confdefs.h >>conftest.$ac_ext
29022 cat >>conftest.$ac_ext <<_ACEOF
29023 /* end confdefs.h. */
29024
29025 /* Override any gcc2 internal prototype to avoid an error. */
29026 #ifdef __cplusplus
29027 extern "C"
29028 #endif
29029 /* We use char because int might match the return type of a gcc2
29030 builtin and then its argument prototype would still apply. */
29031 char dnet_ntoa ();
29032 int
29033 main ()
29034 {
29035 dnet_ntoa ();
29036 ;
29037 return 0;
29038 }
29039 _ACEOF
29040 rm -f conftest.$ac_objext conftest$ac_exeext
29041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29042 (eval $ac_link) 2>conftest.er1
29043 ac_status=$?
29044 grep -v '^ *+' conftest.er1 >conftest.err
29045 rm -f conftest.er1
29046 cat conftest.err >&5
29047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29048 (exit $ac_status); } &&
29049 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29051 (eval $ac_try) 2>&5
29052 ac_status=$?
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); }; } &&
29055 { ac_try='test -s conftest$ac_exeext'
29056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29057 (eval $ac_try) 2>&5
29058 ac_status=$?
29059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29060 (exit $ac_status); }; }; then
29061 ac_cv_lib_dnet_dnet_ntoa=yes
29062 else
29063 echo "$as_me: failed program was:" >&5
29064 sed 's/^/| /' conftest.$ac_ext >&5
29065
29066 ac_cv_lib_dnet_dnet_ntoa=no
29067 fi
29068 rm -f conftest.err conftest.$ac_objext \
29069 conftest$ac_exeext conftest.$ac_ext
29070 LIBS=$ac_check_lib_save_LIBS
29071 fi
29072 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29073 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29074 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29075 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29076 fi
29077
29078 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29079 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29080 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29081 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29082 echo $ECHO_N "(cached) $ECHO_C" >&6
29083 else
29084 ac_check_lib_save_LIBS=$LIBS
29085 LIBS="-ldnet_stub $LIBS"
29086 cat >conftest.$ac_ext <<_ACEOF
29087 /* confdefs.h. */
29088 _ACEOF
29089 cat confdefs.h >>conftest.$ac_ext
29090 cat >>conftest.$ac_ext <<_ACEOF
29091 /* end confdefs.h. */
29092
29093 /* Override any gcc2 internal prototype to avoid an error. */
29094 #ifdef __cplusplus
29095 extern "C"
29096 #endif
29097 /* We use char because int might match the return type of a gcc2
29098 builtin and then its argument prototype would still apply. */
29099 char dnet_ntoa ();
29100 int
29101 main ()
29102 {
29103 dnet_ntoa ();
29104 ;
29105 return 0;
29106 }
29107 _ACEOF
29108 rm -f conftest.$ac_objext conftest$ac_exeext
29109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29110 (eval $ac_link) 2>conftest.er1
29111 ac_status=$?
29112 grep -v '^ *+' conftest.er1 >conftest.err
29113 rm -f conftest.er1
29114 cat conftest.err >&5
29115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29116 (exit $ac_status); } &&
29117 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29119 (eval $ac_try) 2>&5
29120 ac_status=$?
29121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122 (exit $ac_status); }; } &&
29123 { ac_try='test -s conftest$ac_exeext'
29124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29125 (eval $ac_try) 2>&5
29126 ac_status=$?
29127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29128 (exit $ac_status); }; }; then
29129 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29130 else
29131 echo "$as_me: failed program was:" >&5
29132 sed 's/^/| /' conftest.$ac_ext >&5
29133
29134 ac_cv_lib_dnet_stub_dnet_ntoa=no
29135 fi
29136 rm -f conftest.err conftest.$ac_objext \
29137 conftest$ac_exeext conftest.$ac_ext
29138 LIBS=$ac_check_lib_save_LIBS
29139 fi
29140 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29141 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29142 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29143 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29144 fi
29145
29146 fi
29147 fi
29148 rm -f conftest.err conftest.$ac_objext \
29149 conftest$ac_exeext conftest.$ac_ext
29150 LIBS="$ac_xsave_LIBS"
29151
29152 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29153 # to get the SysV transport functions.
29154 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29155 # needs -lnsl.
29156 # The nsl library prevents programs from opening the X display
29157 # on Irix 5.2, according to T.E. Dickey.
29158 # The functions gethostbyname, getservbyname, and inet_addr are
29159 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29160 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29161 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29162 if test "${ac_cv_func_gethostbyname+set}" = set; then
29163 echo $ECHO_N "(cached) $ECHO_C" >&6
29164 else
29165 cat >conftest.$ac_ext <<_ACEOF
29166 /* confdefs.h. */
29167 _ACEOF
29168 cat confdefs.h >>conftest.$ac_ext
29169 cat >>conftest.$ac_ext <<_ACEOF
29170 /* end confdefs.h. */
29171 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29173 #define gethostbyname innocuous_gethostbyname
29174
29175 /* System header to define __stub macros and hopefully few prototypes,
29176 which can conflict with char gethostbyname (); below.
29177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29178 <limits.h> exists even on freestanding compilers. */
29179
29180 #ifdef __STDC__
29181 # include <limits.h>
29182 #else
29183 # include <assert.h>
29184 #endif
29185
29186 #undef gethostbyname
29187
29188 /* Override any gcc2 internal prototype to avoid an error. */
29189 #ifdef __cplusplus
29190 extern "C"
29191 {
29192 #endif
29193 /* We use char because int might match the return type of a gcc2
29194 builtin and then its argument prototype would still apply. */
29195 char gethostbyname ();
29196 /* The GNU C library defines this for functions which it implements
29197 to always fail with ENOSYS. Some functions are actually named
29198 something starting with __ and the normal name is an alias. */
29199 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29200 choke me
29201 #else
29202 char (*f) () = gethostbyname;
29203 #endif
29204 #ifdef __cplusplus
29205 }
29206 #endif
29207
29208 int
29209 main ()
29210 {
29211 return f != gethostbyname;
29212 ;
29213 return 0;
29214 }
29215 _ACEOF
29216 rm -f conftest.$ac_objext conftest$ac_exeext
29217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29218 (eval $ac_link) 2>conftest.er1
29219 ac_status=$?
29220 grep -v '^ *+' conftest.er1 >conftest.err
29221 rm -f conftest.er1
29222 cat conftest.err >&5
29223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29224 (exit $ac_status); } &&
29225 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29227 (eval $ac_try) 2>&5
29228 ac_status=$?
29229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29230 (exit $ac_status); }; } &&
29231 { ac_try='test -s conftest$ac_exeext'
29232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29233 (eval $ac_try) 2>&5
29234 ac_status=$?
29235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29236 (exit $ac_status); }; }; then
29237 ac_cv_func_gethostbyname=yes
29238 else
29239 echo "$as_me: failed program was:" >&5
29240 sed 's/^/| /' conftest.$ac_ext >&5
29241
29242 ac_cv_func_gethostbyname=no
29243 fi
29244 rm -f conftest.err conftest.$ac_objext \
29245 conftest$ac_exeext conftest.$ac_ext
29246 fi
29247 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29248 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29249
29250 if test $ac_cv_func_gethostbyname = no; then
29251 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29252 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29253 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29254 echo $ECHO_N "(cached) $ECHO_C" >&6
29255 else
29256 ac_check_lib_save_LIBS=$LIBS
29257 LIBS="-lnsl $LIBS"
29258 cat >conftest.$ac_ext <<_ACEOF
29259 /* confdefs.h. */
29260 _ACEOF
29261 cat confdefs.h >>conftest.$ac_ext
29262 cat >>conftest.$ac_ext <<_ACEOF
29263 /* end confdefs.h. */
29264
29265 /* Override any gcc2 internal prototype to avoid an error. */
29266 #ifdef __cplusplus
29267 extern "C"
29268 #endif
29269 /* We use char because int might match the return type of a gcc2
29270 builtin and then its argument prototype would still apply. */
29271 char gethostbyname ();
29272 int
29273 main ()
29274 {
29275 gethostbyname ();
29276 ;
29277 return 0;
29278 }
29279 _ACEOF
29280 rm -f conftest.$ac_objext conftest$ac_exeext
29281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29282 (eval $ac_link) 2>conftest.er1
29283 ac_status=$?
29284 grep -v '^ *+' conftest.er1 >conftest.err
29285 rm -f conftest.er1
29286 cat conftest.err >&5
29287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29288 (exit $ac_status); } &&
29289 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29291 (eval $ac_try) 2>&5
29292 ac_status=$?
29293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29294 (exit $ac_status); }; } &&
29295 { ac_try='test -s conftest$ac_exeext'
29296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29297 (eval $ac_try) 2>&5
29298 ac_status=$?
29299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29300 (exit $ac_status); }; }; then
29301 ac_cv_lib_nsl_gethostbyname=yes
29302 else
29303 echo "$as_me: failed program was:" >&5
29304 sed 's/^/| /' conftest.$ac_ext >&5
29305
29306 ac_cv_lib_nsl_gethostbyname=no
29307 fi
29308 rm -f conftest.err conftest.$ac_objext \
29309 conftest$ac_exeext conftest.$ac_ext
29310 LIBS=$ac_check_lib_save_LIBS
29311 fi
29312 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29313 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
29314 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29315 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29316 fi
29317
29318 if test $ac_cv_lib_nsl_gethostbyname = no; then
29319 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29320 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
29321 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29322 echo $ECHO_N "(cached) $ECHO_C" >&6
29323 else
29324 ac_check_lib_save_LIBS=$LIBS
29325 LIBS="-lbsd $LIBS"
29326 cat >conftest.$ac_ext <<_ACEOF
29327 /* confdefs.h. */
29328 _ACEOF
29329 cat confdefs.h >>conftest.$ac_ext
29330 cat >>conftest.$ac_ext <<_ACEOF
29331 /* end confdefs.h. */
29332
29333 /* Override any gcc2 internal prototype to avoid an error. */
29334 #ifdef __cplusplus
29335 extern "C"
29336 #endif
29337 /* We use char because int might match the return type of a gcc2
29338 builtin and then its argument prototype would still apply. */
29339 char gethostbyname ();
29340 int
29341 main ()
29342 {
29343 gethostbyname ();
29344 ;
29345 return 0;
29346 }
29347 _ACEOF
29348 rm -f conftest.$ac_objext conftest$ac_exeext
29349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29350 (eval $ac_link) 2>conftest.er1
29351 ac_status=$?
29352 grep -v '^ *+' conftest.er1 >conftest.err
29353 rm -f conftest.er1
29354 cat conftest.err >&5
29355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29356 (exit $ac_status); } &&
29357 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29359 (eval $ac_try) 2>&5
29360 ac_status=$?
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); }; } &&
29363 { ac_try='test -s conftest$ac_exeext'
29364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29365 (eval $ac_try) 2>&5
29366 ac_status=$?
29367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29368 (exit $ac_status); }; }; then
29369 ac_cv_lib_bsd_gethostbyname=yes
29370 else
29371 echo "$as_me: failed program was:" >&5
29372 sed 's/^/| /' conftest.$ac_ext >&5
29373
29374 ac_cv_lib_bsd_gethostbyname=no
29375 fi
29376 rm -f conftest.err conftest.$ac_objext \
29377 conftest$ac_exeext conftest.$ac_ext
29378 LIBS=$ac_check_lib_save_LIBS
29379 fi
29380 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29381 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
29382 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29383 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29384 fi
29385
29386 fi
29387 fi
29388
29389 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29390 # socket/setsockopt and other routines are undefined under SCO ODT
29391 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29392 # on later versions), says Simon Leinen: it contains gethostby*
29393 # variants that don't use the name server (or something). -lsocket
29394 # must be given before -lnsl if both are needed. We assume that
29395 # if connect needs -lnsl, so does gethostbyname.
29396 echo "$as_me:$LINENO: checking for connect" >&5
29397 echo $ECHO_N "checking for connect... $ECHO_C" >&6
29398 if test "${ac_cv_func_connect+set}" = set; then
29399 echo $ECHO_N "(cached) $ECHO_C" >&6
29400 else
29401 cat >conftest.$ac_ext <<_ACEOF
29402 /* confdefs.h. */
29403 _ACEOF
29404 cat confdefs.h >>conftest.$ac_ext
29405 cat >>conftest.$ac_ext <<_ACEOF
29406 /* end confdefs.h. */
29407 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29409 #define connect innocuous_connect
29410
29411 /* System header to define __stub macros and hopefully few prototypes,
29412 which can conflict with char connect (); below.
29413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29414 <limits.h> exists even on freestanding compilers. */
29415
29416 #ifdef __STDC__
29417 # include <limits.h>
29418 #else
29419 # include <assert.h>
29420 #endif
29421
29422 #undef connect
29423
29424 /* Override any gcc2 internal prototype to avoid an error. */
29425 #ifdef __cplusplus
29426 extern "C"
29427 {
29428 #endif
29429 /* We use char because int might match the return type of a gcc2
29430 builtin and then its argument prototype would still apply. */
29431 char connect ();
29432 /* The GNU C library defines this for functions which it implements
29433 to always fail with ENOSYS. Some functions are actually named
29434 something starting with __ and the normal name is an alias. */
29435 #if defined (__stub_connect) || defined (__stub___connect)
29436 choke me
29437 #else
29438 char (*f) () = connect;
29439 #endif
29440 #ifdef __cplusplus
29441 }
29442 #endif
29443
29444 int
29445 main ()
29446 {
29447 return f != connect;
29448 ;
29449 return 0;
29450 }
29451 _ACEOF
29452 rm -f conftest.$ac_objext conftest$ac_exeext
29453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29454 (eval $ac_link) 2>conftest.er1
29455 ac_status=$?
29456 grep -v '^ *+' conftest.er1 >conftest.err
29457 rm -f conftest.er1
29458 cat conftest.err >&5
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); } &&
29461 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29463 (eval $ac_try) 2>&5
29464 ac_status=$?
29465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29466 (exit $ac_status); }; } &&
29467 { ac_try='test -s conftest$ac_exeext'
29468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29469 (eval $ac_try) 2>&5
29470 ac_status=$?
29471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29472 (exit $ac_status); }; }; then
29473 ac_cv_func_connect=yes
29474 else
29475 echo "$as_me: failed program was:" >&5
29476 sed 's/^/| /' conftest.$ac_ext >&5
29477
29478 ac_cv_func_connect=no
29479 fi
29480 rm -f conftest.err conftest.$ac_objext \
29481 conftest$ac_exeext conftest.$ac_ext
29482 fi
29483 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29484 echo "${ECHO_T}$ac_cv_func_connect" >&6
29485
29486 if test $ac_cv_func_connect = no; then
29487 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29488 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
29489 if test "${ac_cv_lib_socket_connect+set}" = set; then
29490 echo $ECHO_N "(cached) $ECHO_C" >&6
29491 else
29492 ac_check_lib_save_LIBS=$LIBS
29493 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29494 cat >conftest.$ac_ext <<_ACEOF
29495 /* confdefs.h. */
29496 _ACEOF
29497 cat confdefs.h >>conftest.$ac_ext
29498 cat >>conftest.$ac_ext <<_ACEOF
29499 /* end confdefs.h. */
29500
29501 /* Override any gcc2 internal prototype to avoid an error. */
29502 #ifdef __cplusplus
29503 extern "C"
29504 #endif
29505 /* We use char because int might match the return type of a gcc2
29506 builtin and then its argument prototype would still apply. */
29507 char connect ();
29508 int
29509 main ()
29510 {
29511 connect ();
29512 ;
29513 return 0;
29514 }
29515 _ACEOF
29516 rm -f conftest.$ac_objext conftest$ac_exeext
29517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29518 (eval $ac_link) 2>conftest.er1
29519 ac_status=$?
29520 grep -v '^ *+' conftest.er1 >conftest.err
29521 rm -f conftest.er1
29522 cat conftest.err >&5
29523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29524 (exit $ac_status); } &&
29525 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29527 (eval $ac_try) 2>&5
29528 ac_status=$?
29529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29530 (exit $ac_status); }; } &&
29531 { ac_try='test -s conftest$ac_exeext'
29532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29533 (eval $ac_try) 2>&5
29534 ac_status=$?
29535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29536 (exit $ac_status); }; }; then
29537 ac_cv_lib_socket_connect=yes
29538 else
29539 echo "$as_me: failed program was:" >&5
29540 sed 's/^/| /' conftest.$ac_ext >&5
29541
29542 ac_cv_lib_socket_connect=no
29543 fi
29544 rm -f conftest.err conftest.$ac_objext \
29545 conftest$ac_exeext conftest.$ac_ext
29546 LIBS=$ac_check_lib_save_LIBS
29547 fi
29548 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29549 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
29550 if test $ac_cv_lib_socket_connect = yes; then
29551 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29552 fi
29553
29554 fi
29555
29556 # Guillermo Gomez says -lposix is necessary on A/UX.
29557 echo "$as_me:$LINENO: checking for remove" >&5
29558 echo $ECHO_N "checking for remove... $ECHO_C" >&6
29559 if test "${ac_cv_func_remove+set}" = set; then
29560 echo $ECHO_N "(cached) $ECHO_C" >&6
29561 else
29562 cat >conftest.$ac_ext <<_ACEOF
29563 /* confdefs.h. */
29564 _ACEOF
29565 cat confdefs.h >>conftest.$ac_ext
29566 cat >>conftest.$ac_ext <<_ACEOF
29567 /* end confdefs.h. */
29568 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29570 #define remove innocuous_remove
29571
29572 /* System header to define __stub macros and hopefully few prototypes,
29573 which can conflict with char remove (); below.
29574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29575 <limits.h> exists even on freestanding compilers. */
29576
29577 #ifdef __STDC__
29578 # include <limits.h>
29579 #else
29580 # include <assert.h>
29581 #endif
29582
29583 #undef remove
29584
29585 /* Override any gcc2 internal prototype to avoid an error. */
29586 #ifdef __cplusplus
29587 extern "C"
29588 {
29589 #endif
29590 /* We use char because int might match the return type of a gcc2
29591 builtin and then its argument prototype would still apply. */
29592 char remove ();
29593 /* The GNU C library defines this for functions which it implements
29594 to always fail with ENOSYS. Some functions are actually named
29595 something starting with __ and the normal name is an alias. */
29596 #if defined (__stub_remove) || defined (__stub___remove)
29597 choke me
29598 #else
29599 char (*f) () = remove;
29600 #endif
29601 #ifdef __cplusplus
29602 }
29603 #endif
29604
29605 int
29606 main ()
29607 {
29608 return f != remove;
29609 ;
29610 return 0;
29611 }
29612 _ACEOF
29613 rm -f conftest.$ac_objext conftest$ac_exeext
29614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29615 (eval $ac_link) 2>conftest.er1
29616 ac_status=$?
29617 grep -v '^ *+' conftest.er1 >conftest.err
29618 rm -f conftest.er1
29619 cat conftest.err >&5
29620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29621 (exit $ac_status); } &&
29622 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29624 (eval $ac_try) 2>&5
29625 ac_status=$?
29626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29627 (exit $ac_status); }; } &&
29628 { ac_try='test -s conftest$ac_exeext'
29629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29630 (eval $ac_try) 2>&5
29631 ac_status=$?
29632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29633 (exit $ac_status); }; }; then
29634 ac_cv_func_remove=yes
29635 else
29636 echo "$as_me: failed program was:" >&5
29637 sed 's/^/| /' conftest.$ac_ext >&5
29638
29639 ac_cv_func_remove=no
29640 fi
29641 rm -f conftest.err conftest.$ac_objext \
29642 conftest$ac_exeext conftest.$ac_ext
29643 fi
29644 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29645 echo "${ECHO_T}$ac_cv_func_remove" >&6
29646
29647 if test $ac_cv_func_remove = no; then
29648 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29649 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
29650 if test "${ac_cv_lib_posix_remove+set}" = set; then
29651 echo $ECHO_N "(cached) $ECHO_C" >&6
29652 else
29653 ac_check_lib_save_LIBS=$LIBS
29654 LIBS="-lposix $LIBS"
29655 cat >conftest.$ac_ext <<_ACEOF
29656 /* confdefs.h. */
29657 _ACEOF
29658 cat confdefs.h >>conftest.$ac_ext
29659 cat >>conftest.$ac_ext <<_ACEOF
29660 /* end confdefs.h. */
29661
29662 /* Override any gcc2 internal prototype to avoid an error. */
29663 #ifdef __cplusplus
29664 extern "C"
29665 #endif
29666 /* We use char because int might match the return type of a gcc2
29667 builtin and then its argument prototype would still apply. */
29668 char remove ();
29669 int
29670 main ()
29671 {
29672 remove ();
29673 ;
29674 return 0;
29675 }
29676 _ACEOF
29677 rm -f conftest.$ac_objext conftest$ac_exeext
29678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29679 (eval $ac_link) 2>conftest.er1
29680 ac_status=$?
29681 grep -v '^ *+' conftest.er1 >conftest.err
29682 rm -f conftest.er1
29683 cat conftest.err >&5
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); } &&
29686 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29688 (eval $ac_try) 2>&5
29689 ac_status=$?
29690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29691 (exit $ac_status); }; } &&
29692 { ac_try='test -s conftest$ac_exeext'
29693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29694 (eval $ac_try) 2>&5
29695 ac_status=$?
29696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29697 (exit $ac_status); }; }; then
29698 ac_cv_lib_posix_remove=yes
29699 else
29700 echo "$as_me: failed program was:" >&5
29701 sed 's/^/| /' conftest.$ac_ext >&5
29702
29703 ac_cv_lib_posix_remove=no
29704 fi
29705 rm -f conftest.err conftest.$ac_objext \
29706 conftest$ac_exeext conftest.$ac_ext
29707 LIBS=$ac_check_lib_save_LIBS
29708 fi
29709 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29710 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
29711 if test $ac_cv_lib_posix_remove = yes; then
29712 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29713 fi
29714
29715 fi
29716
29717 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29718 echo "$as_me:$LINENO: checking for shmat" >&5
29719 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
29720 if test "${ac_cv_func_shmat+set}" = set; then
29721 echo $ECHO_N "(cached) $ECHO_C" >&6
29722 else
29723 cat >conftest.$ac_ext <<_ACEOF
29724 /* confdefs.h. */
29725 _ACEOF
29726 cat confdefs.h >>conftest.$ac_ext
29727 cat >>conftest.$ac_ext <<_ACEOF
29728 /* end confdefs.h. */
29729 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29731 #define shmat innocuous_shmat
29732
29733 /* System header to define __stub macros and hopefully few prototypes,
29734 which can conflict with char shmat (); below.
29735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29736 <limits.h> exists even on freestanding compilers. */
29737
29738 #ifdef __STDC__
29739 # include <limits.h>
29740 #else
29741 # include <assert.h>
29742 #endif
29743
29744 #undef shmat
29745
29746 /* Override any gcc2 internal prototype to avoid an error. */
29747 #ifdef __cplusplus
29748 extern "C"
29749 {
29750 #endif
29751 /* We use char because int might match the return type of a gcc2
29752 builtin and then its argument prototype would still apply. */
29753 char shmat ();
29754 /* The GNU C library defines this for functions which it implements
29755 to always fail with ENOSYS. Some functions are actually named
29756 something starting with __ and the normal name is an alias. */
29757 #if defined (__stub_shmat) || defined (__stub___shmat)
29758 choke me
29759 #else
29760 char (*f) () = shmat;
29761 #endif
29762 #ifdef __cplusplus
29763 }
29764 #endif
29765
29766 int
29767 main ()
29768 {
29769 return f != shmat;
29770 ;
29771 return 0;
29772 }
29773 _ACEOF
29774 rm -f conftest.$ac_objext conftest$ac_exeext
29775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29776 (eval $ac_link) 2>conftest.er1
29777 ac_status=$?
29778 grep -v '^ *+' conftest.er1 >conftest.err
29779 rm -f conftest.er1
29780 cat conftest.err >&5
29781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29782 (exit $ac_status); } &&
29783 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29785 (eval $ac_try) 2>&5
29786 ac_status=$?
29787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29788 (exit $ac_status); }; } &&
29789 { ac_try='test -s conftest$ac_exeext'
29790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29791 (eval $ac_try) 2>&5
29792 ac_status=$?
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); }; }; then
29795 ac_cv_func_shmat=yes
29796 else
29797 echo "$as_me: failed program was:" >&5
29798 sed 's/^/| /' conftest.$ac_ext >&5
29799
29800 ac_cv_func_shmat=no
29801 fi
29802 rm -f conftest.err conftest.$ac_objext \
29803 conftest$ac_exeext conftest.$ac_ext
29804 fi
29805 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29806 echo "${ECHO_T}$ac_cv_func_shmat" >&6
29807
29808 if test $ac_cv_func_shmat = no; then
29809 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29810 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
29811 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29812 echo $ECHO_N "(cached) $ECHO_C" >&6
29813 else
29814 ac_check_lib_save_LIBS=$LIBS
29815 LIBS="-lipc $LIBS"
29816 cat >conftest.$ac_ext <<_ACEOF
29817 /* confdefs.h. */
29818 _ACEOF
29819 cat confdefs.h >>conftest.$ac_ext
29820 cat >>conftest.$ac_ext <<_ACEOF
29821 /* end confdefs.h. */
29822
29823 /* Override any gcc2 internal prototype to avoid an error. */
29824 #ifdef __cplusplus
29825 extern "C"
29826 #endif
29827 /* We use char because int might match the return type of a gcc2
29828 builtin and then its argument prototype would still apply. */
29829 char shmat ();
29830 int
29831 main ()
29832 {
29833 shmat ();
29834 ;
29835 return 0;
29836 }
29837 _ACEOF
29838 rm -f conftest.$ac_objext conftest$ac_exeext
29839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29840 (eval $ac_link) 2>conftest.er1
29841 ac_status=$?
29842 grep -v '^ *+' conftest.er1 >conftest.err
29843 rm -f conftest.er1
29844 cat conftest.err >&5
29845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29846 (exit $ac_status); } &&
29847 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29849 (eval $ac_try) 2>&5
29850 ac_status=$?
29851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29852 (exit $ac_status); }; } &&
29853 { ac_try='test -s conftest$ac_exeext'
29854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29855 (eval $ac_try) 2>&5
29856 ac_status=$?
29857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29858 (exit $ac_status); }; }; then
29859 ac_cv_lib_ipc_shmat=yes
29860 else
29861 echo "$as_me: failed program was:" >&5
29862 sed 's/^/| /' conftest.$ac_ext >&5
29863
29864 ac_cv_lib_ipc_shmat=no
29865 fi
29866 rm -f conftest.err conftest.$ac_objext \
29867 conftest$ac_exeext conftest.$ac_ext
29868 LIBS=$ac_check_lib_save_LIBS
29869 fi
29870 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29871 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
29872 if test $ac_cv_lib_ipc_shmat = yes; then
29873 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29874 fi
29875
29876 fi
29877 fi
29878
29879 # Check for libraries that X11R6 Xt/Xaw programs need.
29880 ac_save_LDFLAGS=$LDFLAGS
29881 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29882 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29883 # check for ICE first), but we must link in the order -lSM -lICE or
29884 # we get undefined symbols. So assume we have SM if we have ICE.
29885 # These have to be linked with before -lX11, unlike the other
29886 # libraries we check for below, so use a different variable.
29887 # John Interrante, Karl Berry
29888 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29889 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
29890 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29891 echo $ECHO_N "(cached) $ECHO_C" >&6
29892 else
29893 ac_check_lib_save_LIBS=$LIBS
29894 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29895 cat >conftest.$ac_ext <<_ACEOF
29896 /* confdefs.h. */
29897 _ACEOF
29898 cat confdefs.h >>conftest.$ac_ext
29899 cat >>conftest.$ac_ext <<_ACEOF
29900 /* end confdefs.h. */
29901
29902 /* Override any gcc2 internal prototype to avoid an error. */
29903 #ifdef __cplusplus
29904 extern "C"
29905 #endif
29906 /* We use char because int might match the return type of a gcc2
29907 builtin and then its argument prototype would still apply. */
29908 char IceConnectionNumber ();
29909 int
29910 main ()
29911 {
29912 IceConnectionNumber ();
29913 ;
29914 return 0;
29915 }
29916 _ACEOF
29917 rm -f conftest.$ac_objext conftest$ac_exeext
29918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29919 (eval $ac_link) 2>conftest.er1
29920 ac_status=$?
29921 grep -v '^ *+' conftest.er1 >conftest.err
29922 rm -f conftest.er1
29923 cat conftest.err >&5
29924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29925 (exit $ac_status); } &&
29926 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29928 (eval $ac_try) 2>&5
29929 ac_status=$?
29930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931 (exit $ac_status); }; } &&
29932 { ac_try='test -s conftest$ac_exeext'
29933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29934 (eval $ac_try) 2>&5
29935 ac_status=$?
29936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937 (exit $ac_status); }; }; then
29938 ac_cv_lib_ICE_IceConnectionNumber=yes
29939 else
29940 echo "$as_me: failed program was:" >&5
29941 sed 's/^/| /' conftest.$ac_ext >&5
29942
29943 ac_cv_lib_ICE_IceConnectionNumber=no
29944 fi
29945 rm -f conftest.err conftest.$ac_objext \
29946 conftest$ac_exeext conftest.$ac_ext
29947 LIBS=$ac_check_lib_save_LIBS
29948 fi
29949 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29950 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
29951 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29952 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
29953 fi
29954
29955 LDFLAGS=$ac_save_LDFLAGS
29956
29957 fi
29958
29959
29960 if test "$no_x" = "yes"; then
29961 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
29962 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
29963 { (exit 1); exit 1; }; }
29964 fi
29965
29966 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
29967 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
29968 AFMINSTALL=afminstall
29969 COMPILED_X_PROGRAM=0
29970
29971 fi
29972
29973 if test "$wxUSE_X11" = 1; then
29974 if test "$wxUSE_NANOX" = "yes"; then
29975 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
29976 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
29977 if test "x$MICROWIN" = x ; then
29978 echo "$as_me:$LINENO: result: not found" >&5
29979 echo "${ECHO_T}not found" >&6
29980 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
29981 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
29982 { (exit 1); exit 1; }; }
29983 else
29984 echo "$as_me:$LINENO: result: $MICROWIN" >&5
29985 echo "${ECHO_T}$MICROWIN" >&6
29986 cat >>confdefs.h <<\_ACEOF
29987 #define wxUSE_NANOX 1
29988 _ACEOF
29989
29990 fi
29991 fi
29992
29993 if test "$wxUSE_UNICODE" = "yes"; then
29994
29995 succeeded=no
29996
29997 if test -z "$PKG_CONFIG"; then
29998 # Extract the first word of "pkg-config", so it can be a program name with args.
29999 set dummy pkg-config; ac_word=$2
30000 echo "$as_me:$LINENO: checking for $ac_word" >&5
30001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30002 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30003 echo $ECHO_N "(cached) $ECHO_C" >&6
30004 else
30005 case $PKG_CONFIG in
30006 [\\/]* | ?:[\\/]*)
30007 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30008 ;;
30009 *)
30010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30011 for as_dir in $PATH
30012 do
30013 IFS=$as_save_IFS
30014 test -z "$as_dir" && as_dir=.
30015 for ac_exec_ext in '' $ac_executable_extensions; do
30016 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30017 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30019 break 2
30020 fi
30021 done
30022 done
30023
30024 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30025 ;;
30026 esac
30027 fi
30028 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30029
30030 if test -n "$PKG_CONFIG"; then
30031 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30032 echo "${ECHO_T}$PKG_CONFIG" >&6
30033 else
30034 echo "$as_me:$LINENO: result: no" >&5
30035 echo "${ECHO_T}no" >&6
30036 fi
30037
30038 fi
30039
30040 if test "$PKG_CONFIG" = "no" ; then
30041 echo "*** The pkg-config script could not be found. Make sure it is"
30042 echo "*** in your path, or set the PKG_CONFIG environment variable"
30043 echo "*** to the full path to pkg-config."
30044 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30045 else
30046 PKG_CONFIG_MIN_VERSION=0.9.0
30047 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30048 echo "$as_me:$LINENO: checking for pangox" >&5
30049 echo $ECHO_N "checking for pangox... $ECHO_C" >&6
30050
30051 if $PKG_CONFIG --exists "pangox" ; then
30052 echo "$as_me:$LINENO: result: yes" >&5
30053 echo "${ECHO_T}yes" >&6
30054 succeeded=yes
30055
30056 echo "$as_me:$LINENO: checking PANGOX_CFLAGS" >&5
30057 echo $ECHO_N "checking PANGOX_CFLAGS... $ECHO_C" >&6
30058 PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox"`
30059 echo "$as_me:$LINENO: result: $PANGOX_CFLAGS" >&5
30060 echo "${ECHO_T}$PANGOX_CFLAGS" >&6
30061
30062 echo "$as_me:$LINENO: checking PANGOX_LIBS" >&5
30063 echo $ECHO_N "checking PANGOX_LIBS... $ECHO_C" >&6
30064 PANGOX_LIBS=`$PKG_CONFIG --libs "pangox"`
30065 echo "$as_me:$LINENO: result: $PANGOX_LIBS" >&5
30066 echo "${ECHO_T}$PANGOX_LIBS" >&6
30067 else
30068 PANGOX_CFLAGS=""
30069 PANGOX_LIBS=""
30070 ## If we have a custom action on failure, don't print errors, but
30071 ## do set a variable so people can do so.
30072 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30073
30074 fi
30075
30076
30077
30078 else
30079 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30080 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30081 fi
30082 fi
30083
30084 if test $succeeded = yes; then
30085
30086 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30087 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30088
30089 else
30090
30091 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30092 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30093 { (exit 1); exit 1; }; }
30094
30095
30096 fi
30097
30098
30099 succeeded=no
30100
30101 if test -z "$PKG_CONFIG"; then
30102 # Extract the first word of "pkg-config", so it can be a program name with args.
30103 set dummy pkg-config; ac_word=$2
30104 echo "$as_me:$LINENO: checking for $ac_word" >&5
30105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30106 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30107 echo $ECHO_N "(cached) $ECHO_C" >&6
30108 else
30109 case $PKG_CONFIG in
30110 [\\/]* | ?:[\\/]*)
30111 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30112 ;;
30113 *)
30114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30115 for as_dir in $PATH
30116 do
30117 IFS=$as_save_IFS
30118 test -z "$as_dir" && as_dir=.
30119 for ac_exec_ext in '' $ac_executable_extensions; do
30120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30121 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30123 break 2
30124 fi
30125 done
30126 done
30127
30128 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30129 ;;
30130 esac
30131 fi
30132 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30133
30134 if test -n "$PKG_CONFIG"; then
30135 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30136 echo "${ECHO_T}$PKG_CONFIG" >&6
30137 else
30138 echo "$as_me:$LINENO: result: no" >&5
30139 echo "${ECHO_T}no" >&6
30140 fi
30141
30142 fi
30143
30144 if test "$PKG_CONFIG" = "no" ; then
30145 echo "*** The pkg-config script could not be found. Make sure it is"
30146 echo "*** in your path, or set the PKG_CONFIG environment variable"
30147 echo "*** to the full path to pkg-config."
30148 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30149 else
30150 PKG_CONFIG_MIN_VERSION=0.9.0
30151 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30152 echo "$as_me:$LINENO: checking for pangoft2" >&5
30153 echo $ECHO_N "checking for pangoft2... $ECHO_C" >&6
30154
30155 if $PKG_CONFIG --exists "pangoft2" ; then
30156 echo "$as_me:$LINENO: result: yes" >&5
30157 echo "${ECHO_T}yes" >&6
30158 succeeded=yes
30159
30160 echo "$as_me:$LINENO: checking PANGOFT2_CFLAGS" >&5
30161 echo $ECHO_N "checking PANGOFT2_CFLAGS... $ECHO_C" >&6
30162 PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2"`
30163 echo "$as_me:$LINENO: result: $PANGOFT2_CFLAGS" >&5
30164 echo "${ECHO_T}$PANGOFT2_CFLAGS" >&6
30165
30166 echo "$as_me:$LINENO: checking PANGOFT2_LIBS" >&5
30167 echo $ECHO_N "checking PANGOFT2_LIBS... $ECHO_C" >&6
30168 PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2"`
30169 echo "$as_me:$LINENO: result: $PANGOFT2_LIBS" >&5
30170 echo "${ECHO_T}$PANGOFT2_LIBS" >&6
30171 else
30172 PANGOFT2_CFLAGS=""
30173 PANGOFT2_LIBS=""
30174 ## If we have a custom action on failure, don't print errors, but
30175 ## do set a variable so people can do so.
30176 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30177
30178 fi
30179
30180
30181
30182 else
30183 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30184 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30185 fi
30186 fi
30187
30188 if test $succeeded = yes; then
30189
30190 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30191 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30192
30193 else
30194
30195 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30196 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30197 wxUSE_PRINTING_ARCHITECTURE="no"
30198
30199
30200 fi
30201
30202
30203 succeeded=no
30204
30205 if test -z "$PKG_CONFIG"; then
30206 # Extract the first word of "pkg-config", so it can be a program name with args.
30207 set dummy pkg-config; ac_word=$2
30208 echo "$as_me:$LINENO: checking for $ac_word" >&5
30209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30210 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30211 echo $ECHO_N "(cached) $ECHO_C" >&6
30212 else
30213 case $PKG_CONFIG in
30214 [\\/]* | ?:[\\/]*)
30215 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30216 ;;
30217 *)
30218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30219 for as_dir in $PATH
30220 do
30221 IFS=$as_save_IFS
30222 test -z "$as_dir" && as_dir=.
30223 for ac_exec_ext in '' $ac_executable_extensions; do
30224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30225 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30227 break 2
30228 fi
30229 done
30230 done
30231
30232 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30233 ;;
30234 esac
30235 fi
30236 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30237
30238 if test -n "$PKG_CONFIG"; then
30239 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30240 echo "${ECHO_T}$PKG_CONFIG" >&6
30241 else
30242 echo "$as_me:$LINENO: result: no" >&5
30243 echo "${ECHO_T}no" >&6
30244 fi
30245
30246 fi
30247
30248 if test "$PKG_CONFIG" = "no" ; then
30249 echo "*** The pkg-config script could not be found. Make sure it is"
30250 echo "*** in your path, or set the PKG_CONFIG environment variable"
30251 echo "*** to the full path to pkg-config."
30252 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
30253 else
30254 PKG_CONFIG_MIN_VERSION=0.9.0
30255 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
30256 echo "$as_me:$LINENO: checking for pangoxft" >&5
30257 echo $ECHO_N "checking for pangoxft... $ECHO_C" >&6
30258
30259 if $PKG_CONFIG --exists "pangoxft" ; then
30260 echo "$as_me:$LINENO: result: yes" >&5
30261 echo "${ECHO_T}yes" >&6
30262 succeeded=yes
30263
30264 echo "$as_me:$LINENO: checking PANGOXFT_CFLAGS" >&5
30265 echo $ECHO_N "checking PANGOXFT_CFLAGS... $ECHO_C" >&6
30266 PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft"`
30267 echo "$as_me:$LINENO: result: $PANGOXFT_CFLAGS" >&5
30268 echo "${ECHO_T}$PANGOXFT_CFLAGS" >&6
30269
30270 echo "$as_me:$LINENO: checking PANGOXFT_LIBS" >&5
30271 echo $ECHO_N "checking PANGOXFT_LIBS... $ECHO_C" >&6
30272 PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft"`
30273 echo "$as_me:$LINENO: result: $PANGOXFT_LIBS" >&5
30274 echo "${ECHO_T}$PANGOXFT_LIBS" >&6
30275 else
30276 PANGOXFT_CFLAGS=""
30277 PANGOXFT_LIBS=""
30278 ## If we have a custom action on failure, don't print errors, but
30279 ## do set a variable so people can do so.
30280 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30281
30282 fi
30283
30284
30285
30286 else
30287 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
30288 echo "*** See http://www.freedesktop.org/software/pkgconfig"
30289 fi
30290 fi
30291
30292 if test $succeeded = yes; then
30293
30294 cat >>confdefs.h <<\_ACEOF
30295 #define HAVE_PANGO_XFT 1
30296 _ACEOF
30297
30298 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30299 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30300
30301 else
30302
30303 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30304 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30305
30306
30307 fi
30308
30309 save_CXXFLAGS="$CXXFLAGS"
30310 save_LIBS="$LIBS"
30311 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30312 LIBS="$LIBS $PANGOX_LIBS"
30313
30314 for ac_func in pango_font_family_is_monospace
30315 do
30316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30317 echo "$as_me:$LINENO: checking for $ac_func" >&5
30318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30319 if eval "test \"\${$as_ac_var+set}\" = set"; then
30320 echo $ECHO_N "(cached) $ECHO_C" >&6
30321 else
30322 cat >conftest.$ac_ext <<_ACEOF
30323 /* confdefs.h. */
30324 _ACEOF
30325 cat confdefs.h >>conftest.$ac_ext
30326 cat >>conftest.$ac_ext <<_ACEOF
30327 /* end confdefs.h. */
30328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30330 #define $ac_func innocuous_$ac_func
30331
30332 /* System header to define __stub macros and hopefully few prototypes,
30333 which can conflict with char $ac_func (); below.
30334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30335 <limits.h> exists even on freestanding compilers. */
30336
30337 #ifdef __STDC__
30338 # include <limits.h>
30339 #else
30340 # include <assert.h>
30341 #endif
30342
30343 #undef $ac_func
30344
30345 /* Override any gcc2 internal prototype to avoid an error. */
30346 #ifdef __cplusplus
30347 extern "C"
30348 {
30349 #endif
30350 /* We use char because int might match the return type of a gcc2
30351 builtin and then its argument prototype would still apply. */
30352 char $ac_func ();
30353 /* The GNU C library defines this for functions which it implements
30354 to always fail with ENOSYS. Some functions are actually named
30355 something starting with __ and the normal name is an alias. */
30356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30357 choke me
30358 #else
30359 char (*f) () = $ac_func;
30360 #endif
30361 #ifdef __cplusplus
30362 }
30363 #endif
30364
30365 int
30366 main ()
30367 {
30368 return f != $ac_func;
30369 ;
30370 return 0;
30371 }
30372 _ACEOF
30373 rm -f conftest.$ac_objext conftest$ac_exeext
30374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30375 (eval $ac_link) 2>conftest.er1
30376 ac_status=$?
30377 grep -v '^ *+' conftest.er1 >conftest.err
30378 rm -f conftest.er1
30379 cat conftest.err >&5
30380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30381 (exit $ac_status); } &&
30382 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30384 (eval $ac_try) 2>&5
30385 ac_status=$?
30386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30387 (exit $ac_status); }; } &&
30388 { ac_try='test -s conftest$ac_exeext'
30389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30390 (eval $ac_try) 2>&5
30391 ac_status=$?
30392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30393 (exit $ac_status); }; }; then
30394 eval "$as_ac_var=yes"
30395 else
30396 echo "$as_me: failed program was:" >&5
30397 sed 's/^/| /' conftest.$ac_ext >&5
30398
30399 eval "$as_ac_var=no"
30400 fi
30401 rm -f conftest.err conftest.$ac_objext \
30402 conftest$ac_exeext conftest.$ac_ext
30403 fi
30404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30406 if test `eval echo '${'$as_ac_var'}'` = yes; then
30407 cat >>confdefs.h <<_ACEOF
30408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30409 _ACEOF
30410
30411 fi
30412 done
30413
30414 CXXFLAGS="$save_CXXFLAGS"
30415 LIBS="$save_LIBS"
30416 fi
30417
30418 wxUSE_UNIVERSAL="yes"
30419
30420 if test "$wxUSE_NANOX" = "yes"; then
30421 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30422 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"
30423 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30424 else
30425 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30426 fi
30427
30428 TOOLKIT=X11
30429 GUIDIST=X11_DIST
30430 fi
30431
30432 if test "$wxUSE_MOTIF" = 1; then
30433 if test "$wxUSE_UNICODE" = "yes"; then
30434 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30435 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30436 { (exit 1); exit 1; }; }
30437 fi
30438
30439 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30440 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
30441
30442 ac_find_includes=
30443 for ac_dir in $SEARCH_INCLUDE /usr/include;
30444 do
30445 if test -f "$ac_dir/Xm/Xm.h"; then
30446 ac_find_includes=$ac_dir
30447 break
30448 fi
30449 done
30450
30451 if test "$ac_find_includes" != "" ; then
30452 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30453 echo "${ECHO_T}found in $ac_find_includes" >&6
30454
30455 if test "x$ac_find_includes" = "x/usr/include"; then
30456 ac_path_to_include=""
30457 else
30458 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30459 result=$?
30460 if test $result = 0; then
30461 ac_path_to_include=""
30462 else
30463 ac_path_to_include=" -I$ac_find_includes"
30464 fi
30465 fi
30466
30467 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30468 else
30469 save_CXXFLAGS=$CXXFLAGS
30470 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30471
30472 cat >conftest.$ac_ext <<_ACEOF
30473 /* confdefs.h. */
30474 _ACEOF
30475 cat confdefs.h >>conftest.$ac_ext
30476 cat >>conftest.$ac_ext <<_ACEOF
30477 /* end confdefs.h. */
30478
30479 #include <Xm/Xm.h>
30480
30481 int
30482 main ()
30483 {
30484
30485 int version;
30486 version = xmUseVersion;
30487
30488 ;
30489 return 0;
30490 }
30491 _ACEOF
30492 rm -f conftest.$ac_objext
30493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30494 (eval $ac_compile) 2>conftest.er1
30495 ac_status=$?
30496 grep -v '^ *+' conftest.er1 >conftest.err
30497 rm -f conftest.er1
30498 cat conftest.err >&5
30499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500 (exit $ac_status); } &&
30501 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30503 (eval $ac_try) 2>&5
30504 ac_status=$?
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); }; } &&
30507 { ac_try='test -s conftest.$ac_objext'
30508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30509 (eval $ac_try) 2>&5
30510 ac_status=$?
30511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30512 (exit $ac_status); }; }; then
30513
30514 echo "$as_me:$LINENO: result: found in default search path" >&5
30515 echo "${ECHO_T}found in default search path" >&6
30516 COMPILED_X_PROGRAM=1
30517
30518 else
30519 echo "$as_me: failed program was:" >&5
30520 sed 's/^/| /' conftest.$ac_ext >&5
30521
30522
30523 echo "$as_me:$LINENO: result: no" >&5
30524 echo "${ECHO_T}no" >&6
30525 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30526 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30527 { (exit 1); exit 1; }; }
30528
30529
30530 fi
30531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30532
30533 CXXFLAGS=$save_CXXFLAGS
30534 fi
30535
30536
30537 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30538 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
30539
30540 ac_find_libraries=
30541 for ac_dir in $SEARCH_LIB;
30542 do
30543 for ac_extension in a so sl dylib dll.a; do
30544 if test -f "$ac_dir/libXm.$ac_extension"; then
30545 ac_find_libraries=$ac_dir
30546 break 2
30547 fi
30548 done
30549 done
30550
30551
30552 if test "x$ac_find_libraries" != "x" ; then
30553 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30554 echo "${ECHO_T}found in $ac_find_libraries" >&6
30555
30556
30557 if test "$ac_find_libraries" = "default location"; then
30558 ac_path_to_link=""
30559 else
30560 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30561 result=$?
30562 if test $result = 0; then
30563 ac_path_to_link=""
30564 else
30565 ac_path_to_link=" -L$ac_find_libraries"
30566 fi
30567 fi
30568
30569 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30570 else
30571 save_CXXFLAGS=$CXXFLAGS
30572 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30573 save_LIBS="$LIBS"
30574 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30575
30576 cat >conftest.$ac_ext <<_ACEOF
30577 /* confdefs.h. */
30578 _ACEOF
30579 cat confdefs.h >>conftest.$ac_ext
30580 cat >>conftest.$ac_ext <<_ACEOF
30581 /* end confdefs.h. */
30582
30583 #include <Xm/Xm.h>
30584
30585 int
30586 main ()
30587 {
30588
30589 int version;
30590 version = xmUseVersion;
30591
30592 ;
30593 return 0;
30594 }
30595 _ACEOF
30596 rm -f conftest.$ac_objext conftest$ac_exeext
30597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30598 (eval $ac_link) 2>conftest.er1
30599 ac_status=$?
30600 grep -v '^ *+' conftest.er1 >conftest.err
30601 rm -f conftest.er1
30602 cat conftest.err >&5
30603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30604 (exit $ac_status); } &&
30605 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30607 (eval $ac_try) 2>&5
30608 ac_status=$?
30609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30610 (exit $ac_status); }; } &&
30611 { ac_try='test -s conftest$ac_exeext'
30612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30613 (eval $ac_try) 2>&5
30614 ac_status=$?
30615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30616 (exit $ac_status); }; }; then
30617
30618 echo "$as_me:$LINENO: result: found in default search path" >&5
30619 echo "${ECHO_T}found in default search path" >&6
30620 COMPILED_X_PROGRAM=1
30621
30622 else
30623 echo "$as_me: failed program was:" >&5
30624 sed 's/^/| /' conftest.$ac_ext >&5
30625
30626
30627 echo "$as_me:$LINENO: result: no" >&5
30628 echo "${ECHO_T}no" >&6
30629 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30630 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30631 { (exit 1); exit 1; }; }
30632
30633
30634 fi
30635 rm -f conftest.err conftest.$ac_objext \
30636 conftest$ac_exeext conftest.$ac_ext
30637
30638 CXXFLAGS=$save_CXXFLAGS
30639 LIBS="$save_LIBS"
30640 fi
30641
30642 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30643 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
30644 libp_link=""
30645 libsm_ice_link=""
30646 libs_found=0
30647 for libp in "" " -lXp"; do
30648 if test "$libs_found" = "0"; then
30649 for libsm_ice in "" " -lSM -lICE"; do
30650 if test "$libs_found" = "0"; then
30651 save_LIBS="$LIBS"
30652 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30653 save_CXXFLAGS=$CXXFLAGS
30654 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30655
30656 cat >conftest.$ac_ext <<_ACEOF
30657 /* confdefs.h. */
30658 _ACEOF
30659 cat confdefs.h >>conftest.$ac_ext
30660 cat >>conftest.$ac_ext <<_ACEOF
30661 /* end confdefs.h. */
30662
30663 #include <Xm/Xm.h>
30664 #include <Xm/List.h>
30665
30666 int
30667 main ()
30668 {
30669
30670 XmString string = NULL;
30671 Widget w = NULL;
30672 int position = 0;
30673 XmListAddItem(w, string, position);
30674
30675 ;
30676 return 0;
30677 }
30678 _ACEOF
30679 rm -f conftest.$ac_objext conftest$ac_exeext
30680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30681 (eval $ac_link) 2>conftest.er1
30682 ac_status=$?
30683 grep -v '^ *+' conftest.er1 >conftest.err
30684 rm -f conftest.er1
30685 cat conftest.err >&5
30686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30687 (exit $ac_status); } &&
30688 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30690 (eval $ac_try) 2>&5
30691 ac_status=$?
30692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693 (exit $ac_status); }; } &&
30694 { ac_try='test -s conftest$ac_exeext'
30695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30696 (eval $ac_try) 2>&5
30697 ac_status=$?
30698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699 (exit $ac_status); }; }; then
30700
30701 libp_link="$libp"
30702 libsm_ice_link="$libsm_ice"
30703 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30704 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
30705 libs_found=1
30706
30707 else
30708 echo "$as_me: failed program was:" >&5
30709 sed 's/^/| /' conftest.$ac_ext >&5
30710
30711
30712
30713 fi
30714 rm -f conftest.err conftest.$ac_objext \
30715 conftest$ac_exeext conftest.$ac_ext
30716
30717 LIBS="$save_LIBS"
30718 CXXFLAGS=$save_CXXFLAGS
30719 fi
30720 done
30721 fi
30722 done
30723
30724 if test "$libs_found" = "0"; then
30725 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30726 echo "${ECHO_T}can't find the right libraries" >&6
30727 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30728 echo "$as_me: error: can't link a simple motif program" >&2;}
30729 { (exit 1); exit 1; }; }
30730 fi
30731
30732 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30733 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
30734 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30735 echo $ECHO_N "(cached) $ECHO_C" >&6
30736 else
30737 ac_check_lib_save_LIBS=$LIBS
30738 LIBS="-lSgm $LIBS"
30739 cat >conftest.$ac_ext <<_ACEOF
30740 /* confdefs.h. */
30741 _ACEOF
30742 cat confdefs.h >>conftest.$ac_ext
30743 cat >>conftest.$ac_ext <<_ACEOF
30744 /* end confdefs.h. */
30745
30746 /* Override any gcc2 internal prototype to avoid an error. */
30747 #ifdef __cplusplus
30748 extern "C"
30749 #endif
30750 /* We use char because int might match the return type of a gcc2
30751 builtin and then its argument prototype would still apply. */
30752 char SgCreateList ();
30753 int
30754 main ()
30755 {
30756 SgCreateList ();
30757 ;
30758 return 0;
30759 }
30760 _ACEOF
30761 rm -f conftest.$ac_objext conftest$ac_exeext
30762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30763 (eval $ac_link) 2>conftest.er1
30764 ac_status=$?
30765 grep -v '^ *+' conftest.er1 >conftest.err
30766 rm -f conftest.er1
30767 cat conftest.err >&5
30768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30769 (exit $ac_status); } &&
30770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30772 (eval $ac_try) 2>&5
30773 ac_status=$?
30774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30775 (exit $ac_status); }; } &&
30776 { ac_try='test -s conftest$ac_exeext'
30777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30778 (eval $ac_try) 2>&5
30779 ac_status=$?
30780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30781 (exit $ac_status); }; }; then
30782 ac_cv_lib_Sgm_SgCreateList=yes
30783 else
30784 echo "$as_me: failed program was:" >&5
30785 sed 's/^/| /' conftest.$ac_ext >&5
30786
30787 ac_cv_lib_Sgm_SgCreateList=no
30788 fi
30789 rm -f conftest.err conftest.$ac_objext \
30790 conftest$ac_exeext conftest.$ac_ext
30791 LIBS=$ac_check_lib_save_LIBS
30792 fi
30793 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30794 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
30795 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30796 libsgm_link=" -lSgm"
30797 fi
30798
30799
30800 save_CXXFLAGS=$CXXFLAGS
30801 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30802
30803 echo "$as_me:$LINENO: checking for Motif 2" >&5
30804 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
30805 if test "${wx_cv_lib_motif2+set}" = set; then
30806 echo $ECHO_N "(cached) $ECHO_C" >&6
30807 else
30808 cat >conftest.$ac_ext <<_ACEOF
30809 /* confdefs.h. */
30810 _ACEOF
30811 cat confdefs.h >>conftest.$ac_ext
30812 cat >>conftest.$ac_ext <<_ACEOF
30813 /* end confdefs.h. */
30814
30815 #include <Xm/Xm.h>
30816
30817 int
30818 main ()
30819 {
30820
30821 #if XmVersion < 2000
30822 Not Motif 2
30823 #endif
30824
30825 ;
30826 return 0;
30827 }
30828 _ACEOF
30829 rm -f conftest.$ac_objext
30830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30831 (eval $ac_compile) 2>conftest.er1
30832 ac_status=$?
30833 grep -v '^ *+' conftest.er1 >conftest.err
30834 rm -f conftest.er1
30835 cat conftest.err >&5
30836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30837 (exit $ac_status); } &&
30838 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30840 (eval $ac_try) 2>&5
30841 ac_status=$?
30842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30843 (exit $ac_status); }; } &&
30844 { ac_try='test -s conftest.$ac_objext'
30845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30846 (eval $ac_try) 2>&5
30847 ac_status=$?
30848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30849 (exit $ac_status); }; }; then
30850 wx_cv_lib_motif2="yes"
30851 else
30852 echo "$as_me: failed program was:" >&5
30853 sed 's/^/| /' conftest.$ac_ext >&5
30854
30855 wx_cv_lib_motif2="no"
30856 fi
30857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30858 fi
30859 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30860 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
30861 if test "$wx_cv_lib_motif2" = "yes"; then
30862 cat >>confdefs.h <<\_ACEOF
30863 #define __WXMOTIF20__ 1
30864 _ACEOF
30865
30866 else
30867 cat >>confdefs.h <<\_ACEOF
30868 #define __WXMOTIF20__ 0
30869 _ACEOF
30870
30871 fi
30872
30873 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30874 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
30875 if test "${wx_cv_lib_lesstif+set}" = set; then
30876 echo $ECHO_N "(cached) $ECHO_C" >&6
30877 else
30878 cat >conftest.$ac_ext <<_ACEOF
30879 /* confdefs.h. */
30880 _ACEOF
30881 cat confdefs.h >>conftest.$ac_ext
30882 cat >>conftest.$ac_ext <<_ACEOF
30883 /* end confdefs.h. */
30884
30885 #include <Xm/Xm.h>
30886
30887 int
30888 main ()
30889 {
30890
30891 #if !defined(LesstifVersion) || LesstifVersion <= 0
30892 Not Lesstif
30893 #endif
30894
30895 ;
30896 return 0;
30897 }
30898 _ACEOF
30899 rm -f conftest.$ac_objext
30900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30901 (eval $ac_compile) 2>conftest.er1
30902 ac_status=$?
30903 grep -v '^ *+' conftest.er1 >conftest.err
30904 rm -f conftest.er1
30905 cat conftest.err >&5
30906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30907 (exit $ac_status); } &&
30908 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30910 (eval $ac_try) 2>&5
30911 ac_status=$?
30912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30913 (exit $ac_status); }; } &&
30914 { ac_try='test -s conftest.$ac_objext'
30915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30916 (eval $ac_try) 2>&5
30917 ac_status=$?
30918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30919 (exit $ac_status); }; }; then
30920 wx_cv_lib_lesstif="yes"
30921 else
30922 echo "$as_me: failed program was:" >&5
30923 sed 's/^/| /' conftest.$ac_ext >&5
30924
30925 wx_cv_lib_lesstif="no"
30926 fi
30927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30928
30929 fi
30930 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
30931 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
30932 if test "$wx_cv_lib_lesstif" = "yes"; then
30933 cat >>confdefs.h <<\_ACEOF
30934 #define __WXLESSTIF__ 1
30935 _ACEOF
30936
30937 else
30938 cat >>confdefs.h <<\_ACEOF
30939 #define __WXLESSTIF__ 0
30940 _ACEOF
30941
30942 fi
30943
30944 CXXFLAGS=$save_CXXFLAGS
30945
30946 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
30947 TOOLKIT=MOTIF
30948 GUIDIST=MOTIF_DIST
30949 fi
30950
30951 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30952 if test "$wxUSE_LIBXPM" = "sys"; then
30953 echo "$as_me:$LINENO: checking for Xpm library" >&5
30954 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
30955
30956 ac_find_libraries=
30957 for ac_dir in $SEARCH_LIB;
30958 do
30959 for ac_extension in a so sl dylib dll.a; do
30960 if test -f "$ac_dir/libXpm.$ac_extension"; then
30961 ac_find_libraries=$ac_dir
30962 break 2
30963 fi
30964 done
30965 done
30966
30967 if test "$ac_find_libraries" != "" ; then
30968
30969 if test "$ac_find_libraries" = "default location"; then
30970 ac_path_to_link=""
30971 else
30972 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30973 result=$?
30974 if test $result = 0; then
30975 ac_path_to_link=""
30976 else
30977 ac_path_to_link=" -L$ac_find_libraries"
30978 fi
30979 fi
30980
30981 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30982 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30983 echo "${ECHO_T}found in $ac_find_libraries" >&6
30984
30985 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
30986 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
30987 if test "${wx_cv_x11_xpm_h+set}" = set; then
30988 echo $ECHO_N "(cached) $ECHO_C" >&6
30989 else
30990
30991 save_CXXFLAGS=$CXXFLAGS
30992 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
30993
30994 cat >conftest.$ac_ext <<_ACEOF
30995 /* confdefs.h. */
30996 _ACEOF
30997 cat confdefs.h >>conftest.$ac_ext
30998 cat >>conftest.$ac_ext <<_ACEOF
30999 /* end confdefs.h. */
31000
31001 #include <X11/xpm.h>
31002
31003 int
31004 main ()
31005 {
31006
31007 int version;
31008 version = XpmLibraryVersion();
31009
31010 ;
31011 return 0;
31012 }
31013 _ACEOF
31014 rm -f conftest.$ac_objext
31015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31016 (eval $ac_compile) 2>conftest.er1
31017 ac_status=$?
31018 grep -v '^ *+' conftest.er1 >conftest.err
31019 rm -f conftest.er1
31020 cat conftest.err >&5
31021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31022 (exit $ac_status); } &&
31023 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31025 (eval $ac_try) 2>&5
31026 ac_status=$?
31027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31028 (exit $ac_status); }; } &&
31029 { ac_try='test -s conftest.$ac_objext'
31030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31031 (eval $ac_try) 2>&5
31032 ac_status=$?
31033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31034 (exit $ac_status); }; }; then
31035 wx_cv_x11_xpm_h=yes
31036 else
31037 echo "$as_me: failed program was:" >&5
31038 sed 's/^/| /' conftest.$ac_ext >&5
31039
31040 wx_cv_x11_xpm_h=no
31041
31042 fi
31043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31044
31045 CXXFLAGS=$save_CXXFLAGS
31046
31047
31048 fi
31049 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31050 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31051
31052 if test $wx_cv_x11_xpm_h = "yes"; then
31053 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31054 cat >>confdefs.h <<\_ACEOF
31055 #define wxHAVE_LIB_XPM 1
31056 _ACEOF
31057
31058 else
31059 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31060 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31061 fi
31062 fi
31063
31064 fi
31065
31066 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31067 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31068 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31069 echo $ECHO_N "(cached) $ECHO_C" >&6
31070 else
31071 ac_check_lib_save_LIBS=$LIBS
31072 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31073 cat >conftest.$ac_ext <<_ACEOF
31074 /* confdefs.h. */
31075 _ACEOF
31076 cat confdefs.h >>conftest.$ac_ext
31077 cat >>conftest.$ac_ext <<_ACEOF
31078 /* end confdefs.h. */
31079
31080 /* Override any gcc2 internal prototype to avoid an error. */
31081 #ifdef __cplusplus
31082 extern "C"
31083 #endif
31084 /* We use char because int might match the return type of a gcc2
31085 builtin and then its argument prototype would still apply. */
31086 char XShapeQueryExtension ();
31087 int
31088 main ()
31089 {
31090 XShapeQueryExtension ();
31091 ;
31092 return 0;
31093 }
31094 _ACEOF
31095 rm -f conftest.$ac_objext conftest$ac_exeext
31096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31097 (eval $ac_link) 2>conftest.er1
31098 ac_status=$?
31099 grep -v '^ *+' conftest.er1 >conftest.err
31100 rm -f conftest.er1
31101 cat conftest.err >&5
31102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31103 (exit $ac_status); } &&
31104 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31106 (eval $ac_try) 2>&5
31107 ac_status=$?
31108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31109 (exit $ac_status); }; } &&
31110 { ac_try='test -s conftest$ac_exeext'
31111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31112 (eval $ac_try) 2>&5
31113 ac_status=$?
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); }; }; then
31116 ac_cv_lib_Xext_XShapeQueryExtension=yes
31117 else
31118 echo "$as_me: failed program was:" >&5
31119 sed 's/^/| /' conftest.$ac_ext >&5
31120
31121 ac_cv_lib_Xext_XShapeQueryExtension=no
31122 fi
31123 rm -f conftest.err conftest.$ac_objext \
31124 conftest$ac_exeext conftest.$ac_ext
31125 LIBS=$ac_check_lib_save_LIBS
31126 fi
31127 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31128 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31129 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31130
31131 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31132 wxHAVE_XEXT_LIB=1
31133
31134 fi
31135
31136
31137 if test "$wxHAVE_XEXT_LIB" = 1; then
31138 save_CXXFLAGS="$CXXFLAGS"
31139 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31140
31141 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31142 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31143 cat >conftest.$ac_ext <<_ACEOF
31144 /* confdefs.h. */
31145 _ACEOF
31146 cat confdefs.h >>conftest.$ac_ext
31147 cat >>conftest.$ac_ext <<_ACEOF
31148 /* end confdefs.h. */
31149
31150 #include <X11/Xlib.h>
31151 #include <X11/extensions/shape.h>
31152
31153 int
31154 main ()
31155 {
31156
31157 int dummy1, dummy2;
31158 XShapeQueryExtension((Display*)NULL,
31159 (int*)NULL, (int*)NULL);
31160
31161 ;
31162 return 0;
31163 }
31164 _ACEOF
31165 rm -f conftest.$ac_objext
31166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31167 (eval $ac_compile) 2>conftest.er1
31168 ac_status=$?
31169 grep -v '^ *+' conftest.er1 >conftest.err
31170 rm -f conftest.er1
31171 cat conftest.err >&5
31172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31173 (exit $ac_status); } &&
31174 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31176 (eval $ac_try) 2>&5
31177 ac_status=$?
31178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31179 (exit $ac_status); }; } &&
31180 { ac_try='test -s conftest.$ac_objext'
31181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31182 (eval $ac_try) 2>&5
31183 ac_status=$?
31184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31185 (exit $ac_status); }; }; then
31186
31187 cat >>confdefs.h <<\_ACEOF
31188 #define HAVE_XSHAPE 1
31189 _ACEOF
31190
31191 echo "$as_me:$LINENO: result: found" >&5
31192 echo "${ECHO_T}found" >&6
31193
31194 else
31195 echo "$as_me: failed program was:" >&5
31196 sed 's/^/| /' conftest.$ac_ext >&5
31197
31198
31199 echo "$as_me:$LINENO: result: not found" >&5
31200 echo "${ECHO_T}not found" >&6
31201
31202 fi
31203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31204 CXXFLAGS="$save_CXXFLAGS"
31205
31206 fi
31207 fi
31208
31209 if test "$wxUSE_MAC" = 1; then
31210 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31211 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31212 if test "$GCC" = yes; then
31213 echo "$as_me:$LINENO: result: gcc" >&5
31214 echo "${ECHO_T}gcc" >&6
31215 CPPFLAGS_PASCAL="-fpascal-strings"
31216 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31217 echo "$as_me:$LINENO: result: xlc" >&5
31218 echo "${ECHO_T}xlc" >&6
31219 CPPFLAGS_PASCAL="-qmacpstr"
31220 else
31221 echo "$as_me:$LINENO: result: none" >&5
31222 echo "${ECHO_T}none" >&6
31223 fi
31224
31225 if test "x$wxUSE_UNIX" = "xyes"; then
31226 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31227 else
31228 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31229 fi
31230
31231 TOOLKIT=MAC
31232 GUIDIST=MACX_DIST
31233 WXBASEPORT="_carbon"
31234 fi
31235
31236 if test "$wxUSE_COCOA" = 1; then
31237 TOOLKIT=COCOA
31238 GUIDIST=COCOA_DIST
31239 fi
31240
31241 if test "$wxUSE_PM" = 1; then
31242 TOOLKIT=PM
31243 GUIDIST=PM_DIST
31244 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31245 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31246 if test "${wx_cv_spbcdata+set}" = set; then
31247 echo $ECHO_N "(cached) $ECHO_C" >&6
31248 else
31249
31250 cat >conftest.$ac_ext <<_ACEOF
31251 /* confdefs.h. */
31252 _ACEOF
31253 cat confdefs.h >>conftest.$ac_ext
31254 cat >>conftest.$ac_ext <<_ACEOF
31255 /* end confdefs.h. */
31256
31257 #define INCL_PM
31258 #include <os2.h>
31259
31260 int
31261 main ()
31262 {
31263
31264 SPBCDATA test;
31265
31266 ;
31267 return 0;
31268 }
31269 _ACEOF
31270 rm -f conftest.$ac_objext
31271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31272 (eval $ac_compile) 2>conftest.er1
31273 ac_status=$?
31274 grep -v '^ *+' conftest.er1 >conftest.err
31275 rm -f conftest.er1
31276 cat conftest.err >&5
31277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31278 (exit $ac_status); } &&
31279 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31281 (eval $ac_try) 2>&5
31282 ac_status=$?
31283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31284 (exit $ac_status); }; } &&
31285 { ac_try='test -s conftest.$ac_objext'
31286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31287 (eval $ac_try) 2>&5
31288 ac_status=$?
31289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31290 (exit $ac_status); }; }; then
31291 wx_cv_spbcdata=yes
31292 else
31293 echo "$as_me: failed program was:" >&5
31294 sed 's/^/| /' conftest.$ac_ext >&5
31295
31296 wx_cv_spbcdata=no
31297
31298 fi
31299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31300
31301
31302 fi
31303 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31304 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31305
31306 if test $wx_cv_spbcdata = "yes"; then
31307 cat >>confdefs.h <<\_ACEOF
31308 #define HAVE_SPBCDATA 1
31309 _ACEOF
31310
31311 fi
31312 fi
31313
31314 if test "$TOOLKIT" = "PM" ; then
31315 TOOLKIT_DIR="os2"
31316 else
31317 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31318 fi
31319
31320 if test "$wxUSE_UNIVERSAL" = "yes"; then
31321 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31322 WIDGET_SET=univ
31323 fi
31324
31325 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31326 DISTDIR="wx\$(TOOLKIT)"
31327 else
31328 USE_GUI=0
31329
31330 TOOLKIT_DIR="base"
31331
31332 if test "$USE_WIN32" = 1 ; then
31333 TOOLKIT="MSW"
31334 fi
31335
31336 GUIDIST="BASE_DIST"
31337 DISTDIR="wxBase"
31338 fi
31339
31340
31341 if test "$wxUSE_GUI" = "yes"; then
31342 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31343
31344 for ac_header in X11/Xlib.h
31345 do
31346 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31348 echo "$as_me:$LINENO: checking for $ac_header" >&5
31349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31351 echo $ECHO_N "(cached) $ECHO_C" >&6
31352 fi
31353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31355 else
31356 # Is the header compilable?
31357 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31358 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31359 cat >conftest.$ac_ext <<_ACEOF
31360 /* confdefs.h. */
31361 _ACEOF
31362 cat confdefs.h >>conftest.$ac_ext
31363 cat >>conftest.$ac_ext <<_ACEOF
31364 /* end confdefs.h. */
31365 $ac_includes_default
31366 #include <$ac_header>
31367 _ACEOF
31368 rm -f conftest.$ac_objext
31369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31370 (eval $ac_compile) 2>conftest.er1
31371 ac_status=$?
31372 grep -v '^ *+' conftest.er1 >conftest.err
31373 rm -f conftest.er1
31374 cat conftest.err >&5
31375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31376 (exit $ac_status); } &&
31377 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31379 (eval $ac_try) 2>&5
31380 ac_status=$?
31381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31382 (exit $ac_status); }; } &&
31383 { ac_try='test -s conftest.$ac_objext'
31384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31385 (eval $ac_try) 2>&5
31386 ac_status=$?
31387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31388 (exit $ac_status); }; }; then
31389 ac_header_compiler=yes
31390 else
31391 echo "$as_me: failed program was:" >&5
31392 sed 's/^/| /' conftest.$ac_ext >&5
31393
31394 ac_header_compiler=no
31395 fi
31396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31397 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31398 echo "${ECHO_T}$ac_header_compiler" >&6
31399
31400 # Is the header present?
31401 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31402 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31403 cat >conftest.$ac_ext <<_ACEOF
31404 /* confdefs.h. */
31405 _ACEOF
31406 cat confdefs.h >>conftest.$ac_ext
31407 cat >>conftest.$ac_ext <<_ACEOF
31408 /* end confdefs.h. */
31409 #include <$ac_header>
31410 _ACEOF
31411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31413 ac_status=$?
31414 grep -v '^ *+' conftest.er1 >conftest.err
31415 rm -f conftest.er1
31416 cat conftest.err >&5
31417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31418 (exit $ac_status); } >/dev/null; then
31419 if test -s conftest.err; then
31420 ac_cpp_err=$ac_cxx_preproc_warn_flag
31421 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31422 else
31423 ac_cpp_err=
31424 fi
31425 else
31426 ac_cpp_err=yes
31427 fi
31428 if test -z "$ac_cpp_err"; then
31429 ac_header_preproc=yes
31430 else
31431 echo "$as_me: failed program was:" >&5
31432 sed 's/^/| /' conftest.$ac_ext >&5
31433
31434 ac_header_preproc=no
31435 fi
31436 rm -f conftest.err conftest.$ac_ext
31437 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31438 echo "${ECHO_T}$ac_header_preproc" >&6
31439
31440 # So? What about this header?
31441 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31442 yes:no: )
31443 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31444 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31446 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31447 ac_header_preproc=yes
31448 ;;
31449 no:yes:* )
31450 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31451 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31452 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31453 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31454 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31455 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31456 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31457 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31460 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31461 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31462 (
31463 cat <<\_ASBOX
31464 ## ----------------------------------------- ##
31465 ## Report this to wx-dev@lists.wxwidgets.org ##
31466 ## ----------------------------------------- ##
31467 _ASBOX
31468 ) |
31469 sed "s/^/$as_me: WARNING: /" >&2
31470 ;;
31471 esac
31472 echo "$as_me:$LINENO: checking for $ac_header" >&5
31473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31475 echo $ECHO_N "(cached) $ECHO_C" >&6
31476 else
31477 eval "$as_ac_Header=\$ac_header_preproc"
31478 fi
31479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31481
31482 fi
31483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31484 cat >>confdefs.h <<_ACEOF
31485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31486 _ACEOF
31487
31488 fi
31489
31490 done
31491
31492
31493 for ac_header in X11/XKBlib.h
31494 do
31495 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31496 echo "$as_me:$LINENO: checking for $ac_header" >&5
31497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31499 echo $ECHO_N "(cached) $ECHO_C" >&6
31500 else
31501 cat >conftest.$ac_ext <<_ACEOF
31502 /* confdefs.h. */
31503 _ACEOF
31504 cat confdefs.h >>conftest.$ac_ext
31505 cat >>conftest.$ac_ext <<_ACEOF
31506 /* end confdefs.h. */
31507
31508 #if HAVE_X11_XLIB_H
31509 #include <X11/Xlib.h>
31510 #endif
31511
31512
31513 #include <$ac_header>
31514 _ACEOF
31515 rm -f conftest.$ac_objext
31516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31517 (eval $ac_compile) 2>conftest.er1
31518 ac_status=$?
31519 grep -v '^ *+' conftest.er1 >conftest.err
31520 rm -f conftest.er1
31521 cat conftest.err >&5
31522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31523 (exit $ac_status); } &&
31524 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31526 (eval $ac_try) 2>&5
31527 ac_status=$?
31528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31529 (exit $ac_status); }; } &&
31530 { ac_try='test -s conftest.$ac_objext'
31531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31532 (eval $ac_try) 2>&5
31533 ac_status=$?
31534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31535 (exit $ac_status); }; }; then
31536 eval "$as_ac_Header=yes"
31537 else
31538 echo "$as_me: failed program was:" >&5
31539 sed 's/^/| /' conftest.$ac_ext >&5
31540
31541 eval "$as_ac_Header=no"
31542 fi
31543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31544 fi
31545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31547 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31548 cat >>confdefs.h <<_ACEOF
31549 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31550 _ACEOF
31551
31552 fi
31553
31554 done
31555
31556 fi
31557 fi
31558
31559
31560
31561 IODBC_C_SRC=""
31562
31563
31564 if test "$TOOLKIT" != "MSW" ; then
31565
31566 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31567
31568 if test "${ac_cv_header_sql_h+set}" = set; then
31569 echo "$as_me:$LINENO: checking for sql.h" >&5
31570 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31571 if test "${ac_cv_header_sql_h+set}" = set; then
31572 echo $ECHO_N "(cached) $ECHO_C" >&6
31573 fi
31574 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31575 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31576 else
31577 # Is the header compilable?
31578 echo "$as_me:$LINENO: checking sql.h usability" >&5
31579 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
31580 cat >conftest.$ac_ext <<_ACEOF
31581 /* confdefs.h. */
31582 _ACEOF
31583 cat confdefs.h >>conftest.$ac_ext
31584 cat >>conftest.$ac_ext <<_ACEOF
31585 /* end confdefs.h. */
31586 $ac_includes_default
31587 #include <sql.h>
31588 _ACEOF
31589 rm -f conftest.$ac_objext
31590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31591 (eval $ac_compile) 2>conftest.er1
31592 ac_status=$?
31593 grep -v '^ *+' conftest.er1 >conftest.err
31594 rm -f conftest.er1
31595 cat conftest.err >&5
31596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31597 (exit $ac_status); } &&
31598 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31600 (eval $ac_try) 2>&5
31601 ac_status=$?
31602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31603 (exit $ac_status); }; } &&
31604 { ac_try='test -s conftest.$ac_objext'
31605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31606 (eval $ac_try) 2>&5
31607 ac_status=$?
31608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609 (exit $ac_status); }; }; then
31610 ac_header_compiler=yes
31611 else
31612 echo "$as_me: failed program was:" >&5
31613 sed 's/^/| /' conftest.$ac_ext >&5
31614
31615 ac_header_compiler=no
31616 fi
31617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31619 echo "${ECHO_T}$ac_header_compiler" >&6
31620
31621 # Is the header present?
31622 echo "$as_me:$LINENO: checking sql.h presence" >&5
31623 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
31624 cat >conftest.$ac_ext <<_ACEOF
31625 /* confdefs.h. */
31626 _ACEOF
31627 cat confdefs.h >>conftest.$ac_ext
31628 cat >>conftest.$ac_ext <<_ACEOF
31629 /* end confdefs.h. */
31630 #include <sql.h>
31631 _ACEOF
31632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31633 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31634 ac_status=$?
31635 grep -v '^ *+' conftest.er1 >conftest.err
31636 rm -f conftest.er1
31637 cat conftest.err >&5
31638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31639 (exit $ac_status); } >/dev/null; then
31640 if test -s conftest.err; then
31641 ac_cpp_err=$ac_cxx_preproc_warn_flag
31642 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
31643 else
31644 ac_cpp_err=
31645 fi
31646 else
31647 ac_cpp_err=yes
31648 fi
31649 if test -z "$ac_cpp_err"; then
31650 ac_header_preproc=yes
31651 else
31652 echo "$as_me: failed program was:" >&5
31653 sed 's/^/| /' conftest.$ac_ext >&5
31654
31655 ac_header_preproc=no
31656 fi
31657 rm -f conftest.err conftest.$ac_ext
31658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31659 echo "${ECHO_T}$ac_header_preproc" >&6
31660
31661 # So? What about this header?
31662 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
31663 yes:no: )
31664 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
31665 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
31666 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
31667 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
31668 ac_header_preproc=yes
31669 ;;
31670 no:yes:* )
31671 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
31672 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
31673 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
31674 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
31675 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
31676 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
31677 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
31678 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
31679 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
31680 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
31681 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
31682 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
31683 (
31684 cat <<\_ASBOX
31685 ## ----------------------------------------- ##
31686 ## Report this to wx-dev@lists.wxwidgets.org ##
31687 ## ----------------------------------------- ##
31688 _ASBOX
31689 ) |
31690 sed "s/^/$as_me: WARNING: /" >&2
31691 ;;
31692 esac
31693 echo "$as_me:$LINENO: checking for sql.h" >&5
31694 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
31695 if test "${ac_cv_header_sql_h+set}" = set; then
31696 echo $ECHO_N "(cached) $ECHO_C" >&6
31697 else
31698 ac_cv_header_sql_h=$ac_header_preproc
31699 fi
31700 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31701 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
31702
31703 fi
31704 if test $ac_cv_header_sql_h = yes; then
31705 found_sql_h=1
31706 fi
31707
31708
31709 if test "x$found_sql_h" = "x1" ; then
31710 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31711 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
31712 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31713 echo $ECHO_N "(cached) $ECHO_C" >&6
31714 else
31715 ac_check_lib_save_LIBS=$LIBS
31716 LIBS="-liodbc $LIBS"
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 /* Override any gcc2 internal prototype to avoid an error. */
31725 #ifdef __cplusplus
31726 extern "C"
31727 #endif
31728 /* We use char because int might match the return type of a gcc2
31729 builtin and then its argument prototype would still apply. */
31730 char SQLAllocEnv ();
31731 int
31732 main ()
31733 {
31734 SQLAllocEnv ();
31735 ;
31736 return 0;
31737 }
31738 _ACEOF
31739 rm -f conftest.$ac_objext conftest$ac_exeext
31740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31741 (eval $ac_link) 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_exeext'
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 ac_cv_lib_iodbc_SQLAllocEnv=yes
31761 else
31762 echo "$as_me: failed program was:" >&5
31763 sed 's/^/| /' conftest.$ac_ext >&5
31764
31765 ac_cv_lib_iodbc_SQLAllocEnv=no
31766 fi
31767 rm -f conftest.err conftest.$ac_objext \
31768 conftest$ac_exeext conftest.$ac_ext
31769 LIBS=$ac_check_lib_save_LIBS
31770 fi
31771 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31772 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
31773 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31774 ODBC_LINK=" -liodbc"
31775 else
31776
31777 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31778 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
31779 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31780 echo $ECHO_N "(cached) $ECHO_C" >&6
31781 else
31782 ac_check_lib_save_LIBS=$LIBS
31783 LIBS="-lunixodbc $LIBS"
31784 cat >conftest.$ac_ext <<_ACEOF
31785 /* confdefs.h. */
31786 _ACEOF
31787 cat confdefs.h >>conftest.$ac_ext
31788 cat >>conftest.$ac_ext <<_ACEOF
31789 /* end confdefs.h. */
31790
31791 /* Override any gcc2 internal prototype to avoid an error. */
31792 #ifdef __cplusplus
31793 extern "C"
31794 #endif
31795 /* We use char because int might match the return type of a gcc2
31796 builtin and then its argument prototype would still apply. */
31797 char SQLAllocEnv ();
31798 int
31799 main ()
31800 {
31801 SQLAllocEnv ();
31802 ;
31803 return 0;
31804 }
31805 _ACEOF
31806 rm -f conftest.$ac_objext conftest$ac_exeext
31807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31808 (eval $ac_link) 2>conftest.er1
31809 ac_status=$?
31810 grep -v '^ *+' conftest.er1 >conftest.err
31811 rm -f conftest.er1
31812 cat conftest.err >&5
31813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31814 (exit $ac_status); } &&
31815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31817 (eval $ac_try) 2>&5
31818 ac_status=$?
31819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820 (exit $ac_status); }; } &&
31821 { ac_try='test -s conftest$ac_exeext'
31822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31823 (eval $ac_try) 2>&5
31824 ac_status=$?
31825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826 (exit $ac_status); }; }; then
31827 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31828 else
31829 echo "$as_me: failed program was:" >&5
31830 sed 's/^/| /' conftest.$ac_ext >&5
31831
31832 ac_cv_lib_unixodbc_SQLAllocEnv=no
31833 fi
31834 rm -f conftest.err conftest.$ac_objext \
31835 conftest$ac_exeext conftest.$ac_ext
31836 LIBS=$ac_check_lib_save_LIBS
31837 fi
31838 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31839 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
31840 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31841 ODBC_LINK=" -lunixodbc"
31842 else
31843
31844 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31845 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
31846 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31847 echo $ECHO_N "(cached) $ECHO_C" >&6
31848 else
31849 ac_check_lib_save_LIBS=$LIBS
31850 LIBS="-lodbc $LIBS"
31851 cat >conftest.$ac_ext <<_ACEOF
31852 /* confdefs.h. */
31853 _ACEOF
31854 cat confdefs.h >>conftest.$ac_ext
31855 cat >>conftest.$ac_ext <<_ACEOF
31856 /* end confdefs.h. */
31857
31858 /* Override any gcc2 internal prototype to avoid an error. */
31859 #ifdef __cplusplus
31860 extern "C"
31861 #endif
31862 /* We use char because int might match the return type of a gcc2
31863 builtin and then its argument prototype would still apply. */
31864 char SQLAllocEnv ();
31865 int
31866 main ()
31867 {
31868 SQLAllocEnv ();
31869 ;
31870 return 0;
31871 }
31872 _ACEOF
31873 rm -f conftest.$ac_objext conftest$ac_exeext
31874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31875 (eval $ac_link) 2>conftest.er1
31876 ac_status=$?
31877 grep -v '^ *+' conftest.er1 >conftest.err
31878 rm -f conftest.er1
31879 cat conftest.err >&5
31880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31881 (exit $ac_status); } &&
31882 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31884 (eval $ac_try) 2>&5
31885 ac_status=$?
31886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31887 (exit $ac_status); }; } &&
31888 { ac_try='test -s conftest$ac_exeext'
31889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31890 (eval $ac_try) 2>&5
31891 ac_status=$?
31892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31893 (exit $ac_status); }; }; then
31894 ac_cv_lib_odbc_SQLAllocEnv=yes
31895 else
31896 echo "$as_me: failed program was:" >&5
31897 sed 's/^/| /' conftest.$ac_ext >&5
31898
31899 ac_cv_lib_odbc_SQLAllocEnv=no
31900 fi
31901 rm -f conftest.err conftest.$ac_objext \
31902 conftest$ac_exeext conftest.$ac_ext
31903 LIBS=$ac_check_lib_save_LIBS
31904 fi
31905 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31906 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
31907 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31908 ODBC_LINK=" -lodbc"
31909 fi
31910
31911
31912 fi
31913
31914
31915 fi
31916
31917 fi
31918 if test "x$ODBC_LINK" = "x" ; then
31919 if test "$wxUSE_ODBC" = "sys" ; then
31920 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31921 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31922 { (exit 1); exit 1; }; }
31923 else
31924 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31925 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31926 wxUSE_ODBC=builtin
31927 fi
31928 else
31929 wxUSE_ODBC=sys
31930 fi
31931 fi
31932
31933 if test "$wxUSE_ODBC" = "builtin" ; then
31934 cat >>confdefs.h <<\_ACEOF
31935 #define wxUSE_BUILTIN_IODBC 1
31936 _ACEOF
31937
31938 fi
31939 fi
31940
31941 if test "$wxUSE_ODBC" != "no" ; then
31942 cat >>confdefs.h <<\_ACEOF
31943 #define wxUSE_ODBC 1
31944 _ACEOF
31945
31946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31947
31948 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31949 fi
31950
31951
31952 if test "$wxUSE_DISPLAY" = "yes"; then
31953 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31954 echo "$as_me:$LINENO: checking for Xinerama" >&5
31955 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
31956
31957 ac_find_libraries=
31958 for ac_dir in $SEARCH_LIB;
31959 do
31960 for ac_extension in a so sl dylib dll.a; do
31961 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31962 ac_find_libraries=$ac_dir
31963 break 2
31964 fi
31965 done
31966 done
31967
31968 if test "$ac_find_libraries" != "" ; then
31969
31970 if test "$ac_find_libraries" = "default location"; then
31971 ac_path_to_link=""
31972 else
31973 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31974 result=$?
31975 if test $result = 0; then
31976 ac_path_to_link=""
31977 else
31978 ac_path_to_link=" -L$ac_find_libraries"
31979 fi
31980 fi
31981
31982 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31983 LDFLAGS="$LDFLAGS $ac_path_to_link"
31984 fi
31985 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31986 echo "$as_me:$LINENO: result: yes" >&5
31987 echo "${ECHO_T}yes" >&6
31988
31989 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31990 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
31991
31992 ac_find_libraries=
31993 for ac_dir in $SEARCH_LIB;
31994 do
31995 for ac_extension in a so sl dylib dll.a; do
31996 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31997 ac_find_libraries=$ac_dir
31998 break 2
31999 fi
32000 done
32001 done
32002
32003 if test "$ac_find_libraries" != "" ; then
32004 echo "$as_me:$LINENO: result: yes" >&5
32005 echo "${ECHO_T}yes" >&6
32006
32007 for ac_header in X11/extensions/xf86vmode.h
32008 do
32009 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32010 echo "$as_me:$LINENO: checking for $ac_header" >&5
32011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32013 echo $ECHO_N "(cached) $ECHO_C" >&6
32014 else
32015 cat >conftest.$ac_ext <<_ACEOF
32016 /* confdefs.h. */
32017 _ACEOF
32018 cat confdefs.h >>conftest.$ac_ext
32019 cat >>conftest.$ac_ext <<_ACEOF
32020 /* end confdefs.h. */
32021
32022 #if HAVE_X11_XLIB_H
32023 #include <X11/Xlib.h>
32024 #endif
32025
32026
32027 #include <$ac_header>
32028 _ACEOF
32029 rm -f conftest.$ac_objext
32030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32031 (eval $ac_compile) 2>conftest.er1
32032 ac_status=$?
32033 grep -v '^ *+' conftest.er1 >conftest.err
32034 rm -f conftest.er1
32035 cat conftest.err >&5
32036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32037 (exit $ac_status); } &&
32038 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32040 (eval $ac_try) 2>&5
32041 ac_status=$?
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); }; } &&
32044 { ac_try='test -s conftest.$ac_objext'
32045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32046 (eval $ac_try) 2>&5
32047 ac_status=$?
32048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32049 (exit $ac_status); }; }; then
32050 eval "$as_ac_Header=yes"
32051 else
32052 echo "$as_me: failed program was:" >&5
32053 sed 's/^/| /' conftest.$ac_ext >&5
32054
32055 eval "$as_ac_Header=no"
32056 fi
32057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32058 fi
32059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32061 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32062 cat >>confdefs.h <<_ACEOF
32063 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32064 _ACEOF
32065
32066 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32067
32068 fi
32069
32070 done
32071
32072 else
32073 echo "$as_me:$LINENO: result: no" >&5
32074 echo "${ECHO_T}no" >&6
32075 fi
32076
32077 else
32078 echo "$as_me:$LINENO: result: no" >&5
32079 echo "${ECHO_T}no" >&6
32080 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32081 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32082 wxUSE_DISPLAY="no"
32083 fi
32084 elif test "$wxUSE_MSW" = 1; then
32085
32086 for ac_header in ddraw.h
32087 do
32088 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32089 echo "$as_me:$LINENO: checking for $ac_header" >&5
32090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32091 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32092 echo $ECHO_N "(cached) $ECHO_C" >&6
32093 else
32094 cat >conftest.$ac_ext <<_ACEOF
32095 /* confdefs.h. */
32096 _ACEOF
32097 cat confdefs.h >>conftest.$ac_ext
32098 cat >>conftest.$ac_ext <<_ACEOF
32099 /* end confdefs.h. */
32100 #include <windows.h>
32101
32102 #include <$ac_header>
32103 _ACEOF
32104 rm -f conftest.$ac_objext
32105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32106 (eval $ac_compile) 2>conftest.er1
32107 ac_status=$?
32108 grep -v '^ *+' conftest.er1 >conftest.err
32109 rm -f conftest.er1
32110 cat conftest.err >&5
32111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32112 (exit $ac_status); } &&
32113 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32115 (eval $ac_try) 2>&5
32116 ac_status=$?
32117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32118 (exit $ac_status); }; } &&
32119 { ac_try='test -s conftest.$ac_objext'
32120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32121 (eval $ac_try) 2>&5
32122 ac_status=$?
32123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32124 (exit $ac_status); }; }; then
32125 eval "$as_ac_Header=yes"
32126 else
32127 echo "$as_me: failed program was:" >&5
32128 sed 's/^/| /' conftest.$ac_ext >&5
32129
32130 eval "$as_ac_Header=no"
32131 fi
32132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32133 fi
32134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32136 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32137 cat >>confdefs.h <<_ACEOF
32138 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32139 _ACEOF
32140
32141 fi
32142
32143 done
32144
32145 fi
32146 fi
32147
32148
32149 USE_OPENGL=0
32150 if test "$wxUSE_OPENGL" = "yes"; then
32151 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32152 OPENGL_LIBS="-framework OpenGL -framework AGL"
32153 elif test "$wxUSE_MSW" = 1; then
32154 OPENGL_LIBS="-lopengl32 -lglu32"
32155 else
32156
32157
32158 ac_find_includes=
32159 for ac_dir in $SEARCH_INCLUDE /usr/include;
32160 do
32161 if test -f "$ac_dir/GL/gl.h"; then
32162 ac_find_includes=$ac_dir
32163 break
32164 fi
32165 done
32166
32167 if test "$ac_find_includes" != "" ; then
32168 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32169 echo "${ECHO_T}found in $ac_find_includes" >&6
32170
32171 if test "x$ac_find_includes" = "x/usr/include"; then
32172 ac_path_to_include=""
32173 else
32174 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32175 result=$?
32176 if test $result = 0; then
32177 ac_path_to_include=""
32178 else
32179 ac_path_to_include=" -I$ac_find_includes"
32180 fi
32181 fi
32182
32183 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32184 fi
32185
32186 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32187 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32188 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32189 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32190 echo $ECHO_N "(cached) $ECHO_C" >&6
32191 fi
32192 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32193 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32194 else
32195 # Is the header compilable?
32196 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32197 echo $ECHO_N "checking GL/gl.h usability... $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 $ac_includes_default
32205 #include <GL/gl.h>
32206 _ACEOF
32207 rm -f conftest.$ac_objext
32208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32209 (eval $ac_compile) 2>conftest.er1
32210 ac_status=$?
32211 grep -v '^ *+' conftest.er1 >conftest.err
32212 rm -f conftest.er1
32213 cat conftest.err >&5
32214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32215 (exit $ac_status); } &&
32216 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32218 (eval $ac_try) 2>&5
32219 ac_status=$?
32220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32221 (exit $ac_status); }; } &&
32222 { ac_try='test -s conftest.$ac_objext'
32223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32224 (eval $ac_try) 2>&5
32225 ac_status=$?
32226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32227 (exit $ac_status); }; }; then
32228 ac_header_compiler=yes
32229 else
32230 echo "$as_me: failed program was:" >&5
32231 sed 's/^/| /' conftest.$ac_ext >&5
32232
32233 ac_header_compiler=no
32234 fi
32235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32236 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32237 echo "${ECHO_T}$ac_header_compiler" >&6
32238
32239 # Is the header present?
32240 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32241 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32242 cat >conftest.$ac_ext <<_ACEOF
32243 /* confdefs.h. */
32244 _ACEOF
32245 cat confdefs.h >>conftest.$ac_ext
32246 cat >>conftest.$ac_ext <<_ACEOF
32247 /* end confdefs.h. */
32248 #include <GL/gl.h>
32249 _ACEOF
32250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32251 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32252 ac_status=$?
32253 grep -v '^ *+' conftest.er1 >conftest.err
32254 rm -f conftest.er1
32255 cat conftest.err >&5
32256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32257 (exit $ac_status); } >/dev/null; then
32258 if test -s conftest.err; then
32259 ac_cpp_err=$ac_cxx_preproc_warn_flag
32260 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32261 else
32262 ac_cpp_err=
32263 fi
32264 else
32265 ac_cpp_err=yes
32266 fi
32267 if test -z "$ac_cpp_err"; then
32268 ac_header_preproc=yes
32269 else
32270 echo "$as_me: failed program was:" >&5
32271 sed 's/^/| /' conftest.$ac_ext >&5
32272
32273 ac_header_preproc=no
32274 fi
32275 rm -f conftest.err conftest.$ac_ext
32276 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32277 echo "${ECHO_T}$ac_header_preproc" >&6
32278
32279 # So? What about this header?
32280 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32281 yes:no: )
32282 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32283 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32284 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32285 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32286 ac_header_preproc=yes
32287 ;;
32288 no:yes:* )
32289 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32290 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32291 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32292 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32293 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32294 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32295 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32296 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32297 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32298 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32299 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32300 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32301 (
32302 cat <<\_ASBOX
32303 ## ----------------------------------------- ##
32304 ## Report this to wx-dev@lists.wxwidgets.org ##
32305 ## ----------------------------------------- ##
32306 _ASBOX
32307 ) |
32308 sed "s/^/$as_me: WARNING: /" >&2
32309 ;;
32310 esac
32311 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32312 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32313 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32314 echo $ECHO_N "(cached) $ECHO_C" >&6
32315 else
32316 ac_cv_header_GL_gl_h=$ac_header_preproc
32317 fi
32318 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32319 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32320
32321 fi
32322 if test $ac_cv_header_GL_gl_h = yes; then
32323
32324 found_gl=0
32325
32326 echo "$as_me:$LINENO: checking for -lGL" >&5
32327 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
32328
32329 ac_find_libraries=
32330 for ac_dir in $SEARCH_LIB;
32331 do
32332 for ac_extension in a so sl dylib dll.a; do
32333 if test -f "$ac_dir/libGL.$ac_extension"; then
32334 ac_find_libraries=$ac_dir
32335 break 2
32336 fi
32337 done
32338 done
32339
32340 if test "$ac_find_libraries" != "" ; then
32341 echo "$as_me:$LINENO: result: yes" >&5
32342 echo "${ECHO_T}yes" >&6
32343
32344
32345 if test "$ac_find_libraries" = "default location"; then
32346 ac_path_to_link=""
32347 else
32348 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32349 result=$?
32350 if test $result = 0; then
32351 ac_path_to_link=""
32352 else
32353 ac_path_to_link=" -L$ac_find_libraries"
32354 fi
32355 fi
32356
32357 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32358 LDFLAGS_GL="$ac_path_to_link"
32359 fi
32360
32361 echo "$as_me:$LINENO: checking for -lGLU" >&5
32362 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
32363
32364 ac_find_libraries=
32365 for ac_dir in $SEARCH_LIB;
32366 do
32367 for ac_extension in a so sl dylib dll.a; do
32368 if test -f "$ac_dir/libGLU.$ac_extension"; then
32369 ac_find_libraries=$ac_dir
32370 break 2
32371 fi
32372 done
32373 done
32374
32375 if test "$ac_find_libraries" != "" ; then
32376
32377 if test "$ac_find_libraries" = "default location"; then
32378 ac_path_to_link=""
32379 else
32380 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32381 result=$?
32382 if test $result = 0; then
32383 ac_path_to_link=""
32384 else
32385 ac_path_to_link=" -L$ac_find_libraries"
32386 fi
32387 fi
32388
32389 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32390 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32391 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32392 fi
32393
32394 found_gl=1
32395 OPENGL_LIBS="-lGL -lGLU"
32396 echo "$as_me:$LINENO: result: yes" >&5
32397 echo "${ECHO_T}yes" >&6
32398 else
32399 echo "$as_me:$LINENO: result: no" >&5
32400 echo "${ECHO_T}no" >&6
32401 fi
32402 else
32403 echo "$as_me:$LINENO: result: no" >&5
32404 echo "${ECHO_T}no" >&6
32405 fi
32406
32407 if test "$found_gl" != 1; then
32408 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32409 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
32410
32411 ac_find_libraries=
32412 for ac_dir in $SEARCH_LIB;
32413 do
32414 for ac_extension in a so sl dylib dll.a; do
32415 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32416 ac_find_libraries=$ac_dir
32417 break 2
32418 fi
32419 done
32420 done
32421
32422 if test "$ac_find_libraries" != "" ; then
32423
32424 if test "$ac_find_libraries" = "default location"; then
32425 ac_path_to_link=""
32426 else
32427 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32428 result=$?
32429 if test $result = 0; then
32430 ac_path_to_link=""
32431 else
32432 ac_path_to_link=" -L$ac_find_libraries"
32433 fi
32434 fi
32435
32436 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32437 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32438 echo "$as_me:$LINENO: result: yes" >&5
32439 echo "${ECHO_T}yes" >&6
32440 else
32441 echo "$as_me:$LINENO: result: no" >&5
32442 echo "${ECHO_T}no" >&6
32443 fi
32444 fi
32445
32446 fi
32447
32448
32449
32450 if test "x$OPENGL_LIBS" = "x"; then
32451 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32452 echo "$as_me: error: OpenGL libraries not available" >&2;}
32453 { (exit 1); exit 1; }; }
32454 fi
32455 fi
32456
32457 if test "$wxUSE_OPENGL" = "yes"; then
32458 USE_OPENGL=1
32459 cat >>confdefs.h <<\_ACEOF
32460 #define wxUSE_OPENGL 1
32461 _ACEOF
32462
32463 cat >>confdefs.h <<\_ACEOF
32464 #define wxUSE_GLCANVAS 1
32465 _ACEOF
32466
32467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32468 fi
32469 fi
32470
32471
32472 if test -n "$TOOLKIT" ; then
32473 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32474 fi
32475
32476
32477
32478 if test "$wxUSE_SHARED" = "yes"; then
32479 case "${host}" in
32480 *-pc-msdosdjgpp )
32481 wxUSE_SHARED=no
32482 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32483 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32484 ;;
32485 esac
32486 fi
32487
32488 if test "$wxUSE_SHARED" = "yes"; then
32489
32490
32491 found_versioning=no
32492
32493
32494 if test $found_versioning = no ; then
32495 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32496 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
32497 if test "${wx_cv_version_script+set}" = set; then
32498 echo $ECHO_N "(cached) $ECHO_C" >&6
32499 else
32500
32501 echo "VER_1 { *; };" >conftest.sym
32502 echo "int main() { return 0; }" >conftest.cpp
32503
32504 if { ac_try='
32505 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32506 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32508 (eval $ac_try) 2>&5
32509 ac_status=$?
32510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32511 (exit $ac_status); }; } ; then
32512 if test -s conftest.stderr ; then
32513 wx_cv_version_script=no
32514 else
32515 wx_cv_version_script=yes
32516 fi
32517 else
32518 wx_cv_version_script=no
32519 fi
32520
32521 if test $wx_cv_version_script = yes
32522 then
32523 echo "struct B { virtual ~B() { } }; \
32524 struct D : public B { }; \
32525 void F() { D d; }" > conftest.cpp
32526
32527 if { ac_try='
32528 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32529 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32531 (eval $ac_try) 2>&5
32532 ac_status=$?
32533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32534 (exit $ac_status); }; } &&
32535 { ac_try='
32536 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32537 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32539 (eval $ac_try) 2>&5
32540 ac_status=$?
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); }; }
32543 then
32544 if { ac_try='
32545 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32546 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32548 (eval $ac_try) 2>&5
32549 ac_status=$?
32550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32551 (exit $ac_status); }; }
32552 then
32553 wx_cv_version_script=yes
32554 else
32555 wx_cv_version_script=no
32556 fi
32557 fi
32558 fi
32559
32560 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32561 rm -f conftest1.output conftest2.output conftest3.output
32562
32563 fi
32564 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32565 echo "${ECHO_T}$wx_cv_version_script" >&6
32566 if test $wx_cv_version_script = yes ; then
32567 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
32568 fi
32569 fi
32570
32571
32572 case "${host}" in
32573 *-*-linux* | *-*-gnu* )
32574 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
32575 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32576 ;;
32577
32578 *-*-solaris2* )
32579 if test "$GCC" = yes ; then
32580 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32581
32582 saveLdflags="$LDFLAGS"
32583 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32584 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32585 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
32586 cat >conftest.$ac_ext <<_ACEOF
32587 /* confdefs.h. */
32588 _ACEOF
32589 cat confdefs.h >>conftest.$ac_ext
32590 cat >>conftest.$ac_ext <<_ACEOF
32591 /* end confdefs.h. */
32592
32593 int
32594 main ()
32595 {
32596
32597 ;
32598 return 0;
32599 }
32600 _ACEOF
32601 rm -f conftest.$ac_objext conftest$ac_exeext
32602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32603 (eval $ac_link) 2>conftest.er1
32604 ac_status=$?
32605 grep -v '^ *+' conftest.er1 >conftest.err
32606 rm -f conftest.er1
32607 cat conftest.err >&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); } &&
32610 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32612 (eval $ac_try) 2>&5
32613 ac_status=$?
32614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32615 (exit $ac_status); }; } &&
32616 { ac_try='test -s conftest$ac_exeext'
32617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32618 (eval $ac_try) 2>&5
32619 ac_status=$?
32620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32621 (exit $ac_status); }; }; then
32622
32623 echo "$as_me:$LINENO: result: yes" >&5
32624 echo "${ECHO_T}yes" >&6
32625 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
32626 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32627
32628 else
32629 echo "$as_me: failed program was:" >&5
32630 sed 's/^/| /' conftest.$ac_ext >&5
32631
32632
32633 echo "$as_me:$LINENO: result: no" >&5
32634 echo "${ECHO_T}no" >&6
32635 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32636 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
32637 LDFLAGS="$saveLdflags -Wl,-R,/"
32638 cat >conftest.$ac_ext <<_ACEOF
32639 /* confdefs.h. */
32640 _ACEOF
32641 cat confdefs.h >>conftest.$ac_ext
32642 cat >>conftest.$ac_ext <<_ACEOF
32643 /* end confdefs.h. */
32644
32645 int
32646 main ()
32647 {
32648
32649 ;
32650 return 0;
32651 }
32652 _ACEOF
32653 rm -f conftest.$ac_objext conftest$ac_exeext
32654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32655 (eval $ac_link) 2>conftest.er1
32656 ac_status=$?
32657 grep -v '^ *+' conftest.er1 >conftest.err
32658 rm -f conftest.er1
32659 cat conftest.err >&5
32660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32661 (exit $ac_status); } &&
32662 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32664 (eval $ac_try) 2>&5
32665 ac_status=$?
32666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32667 (exit $ac_status); }; } &&
32668 { ac_try='test -s conftest$ac_exeext'
32669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32670 (eval $ac_try) 2>&5
32671 ac_status=$?
32672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673 (exit $ac_status); }; }; then
32674
32675 echo "$as_me:$LINENO: result: yes" >&5
32676 echo "${ECHO_T}yes" >&6
32677 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
32678 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32679
32680 else
32681 echo "$as_me: failed program was:" >&5
32682 sed 's/^/| /' conftest.$ac_ext >&5
32683
32684
32685 echo "$as_me:$LINENO: result: no" >&5
32686 echo "${ECHO_T}no" >&6
32687
32688 fi
32689 rm -f conftest.err conftest.$ac_objext \
32690 conftest$ac_exeext conftest.$ac_ext
32691
32692 fi
32693 rm -f conftest.err conftest.$ac_objext \
32694 conftest$ac_exeext conftest.$ac_ext
32695 LDFLAGS="$saveLdflags"
32696 else
32697 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
32698 WXCONFIG_RPATH="-R\$libdir"
32699 fi
32700 ;;
32701
32702 *-*-darwin* )
32703 install_name_tool=`which install_name_tool`
32704 if test "$install_name_tool" -a -x "$install_name_tool"; then
32705 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32706 cat <<EOF >change-install-names
32707 #!/bin/sh
32708 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32709 inst_cmd="install_name_tool "
32710 for i in \${libnames} ; do
32711 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32712 done
32713 \${inst_cmd} \${3}
32714 EOF
32715 chmod +x change-install-names
32716 fi
32717 ;;
32718
32719 *-*-cygwin* | *-*-mingw32* )
32720 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32721 ;;
32722
32723 *-*-hpux* )
32724 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
32725 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32726 ;;
32727
32728 esac
32729
32730 if test $wxUSE_RPATH = "no"; then
32731 SAMPLES_RPATH_FLAG=''
32732 SAMPLES_RPATH_POSTLINK=''
32733 WXCONFIG_RPATH=''
32734 fi
32735
32736 SHARED=1
32737
32738 else
32739
32740 config_linkage_component="-static"
32741 SHARED=0
32742
32743 fi
32744
32745
32746 UNICODE=0
32747 lib_unicode_suffix=
32748 WX_CHARTYPE="ansi"
32749 if test "$wxUSE_UNICODE" = "yes"; then
32750 lib_unicode_suffix=u
32751 WX_CHARTYPE="unicode"
32752 UNICODE=1
32753 fi
32754
32755 lib_debug_suffix=
32756 WX_DEBUGTYPE="release"
32757 DEBUG_FLAG=0
32758 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32759 lib_debug_suffix=d
32760 WX_DEBUGTYPE="debug"
32761 DEBUG_FLAG=1
32762 fi
32763
32764 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32765 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32766
32767 DEBUG_INFO=0
32768 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32769 DEBUG_INFO=1
32770 fi
32771
32772 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32773
32774 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32775
32776 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32777
32778 if test "$cross_compiling" = "yes"; then
32779 HOST_SUFFIX="-$host_alias"
32780 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32781 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32782 fi
32783
32784 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32785 if test "${TOOLKIT_DIR}" = "os2"; then
32786 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32787 else
32788 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32789 fi
32790
32791
32792
32793 if test "$wxUSE_COCOA" = 1; then
32794
32795
32796 ac_ext=c
32797 ac_cpp='$CPP $CPPFLAGS'
32798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32801
32802 ac_ext=m
32803
32804 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32805 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
32806 cat >conftest.$ac_ext <<_ACEOF
32807 /* confdefs.h. */
32808 _ACEOF
32809 cat confdefs.h >>conftest.$ac_ext
32810 cat >>conftest.$ac_ext <<_ACEOF
32811 /* end confdefs.h. */
32812 #include <AppKit/NSEvent.h>
32813 #include <CoreFoundation/CoreFoundation.h>
32814
32815 int
32816 main ()
32817 {
32818
32819 ;
32820 return 0;
32821 }
32822 _ACEOF
32823 rm -f conftest.$ac_objext
32824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32825 (eval $ac_compile) 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); } &&
32832 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32834 (eval $ac_try) 2>&5
32835 ac_status=$?
32836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32837 (exit $ac_status); }; } &&
32838 { ac_try='test -s conftest.$ac_objext'
32839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32840 (eval $ac_try) 2>&5
32841 ac_status=$?
32842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32843 (exit $ac_status); }; }; then
32844 echo "$as_me:$LINENO: result: no" >&5
32845 echo "${ECHO_T}no" >&6
32846 else
32847 echo "$as_me: failed program was:" >&5
32848 sed 's/^/| /' conftest.$ac_ext >&5
32849
32850 echo "$as_me:$LINENO: result: yes" >&5
32851 echo "${ECHO_T}yes" >&6
32852 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32853 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
32854 cat >conftest.$ac_ext <<_ACEOF
32855 /* confdefs.h. */
32856 _ACEOF
32857 cat confdefs.h >>conftest.$ac_ext
32858 cat >>conftest.$ac_ext <<_ACEOF
32859 /* end confdefs.h. */
32860 #define __Point__ 1
32861 #include <AppKit/NSEvent.h>
32862 #include <CoreFoundation/CoreFoundation.h>
32863
32864 int
32865 main ()
32866 {
32867
32868 ;
32869 return 0;
32870 }
32871 _ACEOF
32872 rm -f conftest.$ac_objext
32873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32874 (eval $ac_compile) 2>conftest.er1
32875 ac_status=$?
32876 grep -v '^ *+' conftest.er1 >conftest.err
32877 rm -f conftest.er1
32878 cat conftest.err >&5
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); } &&
32881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32883 (eval $ac_try) 2>&5
32884 ac_status=$?
32885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32886 (exit $ac_status); }; } &&
32887 { ac_try='test -s conftest.$ac_objext'
32888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32889 (eval $ac_try) 2>&5
32890 ac_status=$?
32891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32892 (exit $ac_status); }; }; then
32893 echo "$as_me:$LINENO: result: yes" >&5
32894 echo "${ECHO_T}yes" >&6
32895 cat >>confdefs.h <<\_ACEOF
32896 #define __Point__ 1
32897 _ACEOF
32898
32899
32900 else
32901 echo "$as_me: failed program was:" >&5
32902 sed 's/^/| /' conftest.$ac_ext >&5
32903
32904 { { echo "$as_me:$LINENO: error: no
32905 See \`config.log' for more details." >&5
32906 echo "$as_me: error: no
32907 See \`config.log' for more details." >&2;}
32908 { (exit 1); exit 1; }; }
32909
32910 fi
32911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32912
32913 fi
32914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32915 ac_ext=cc
32916 ac_cpp='$CXXCPP $CPPFLAGS'
32917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32920
32921 fi
32922
32923 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32924 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32925 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32926
32927 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
32928
32929 # Extract the first word of "Rez", so it can be a program name with args.
32930 set dummy Rez; ac_word=$2
32931 echo "$as_me:$LINENO: checking for $ac_word" >&5
32932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32933 if test "${ac_cv_prog_REZ+set}" = set; then
32934 echo $ECHO_N "(cached) $ECHO_C" >&6
32935 else
32936 if test -n "$REZ"; then
32937 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32938 else
32939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32940 for as_dir in $PATH
32941 do
32942 IFS=$as_save_IFS
32943 test -z "$as_dir" && as_dir=.
32944 for ac_exec_ext in '' $ac_executable_extensions; do
32945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32946 ac_cv_prog_REZ="Rez"
32947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32948 break 2
32949 fi
32950 done
32951 done
32952
32953 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32954 fi
32955 fi
32956 REZ=$ac_cv_prog_REZ
32957 if test -n "$REZ"; then
32958 echo "$as_me:$LINENO: result: $REZ" >&5
32959 echo "${ECHO_T}$REZ" >&6
32960 else
32961 echo "$as_me:$LINENO: result: no" >&5
32962 echo "${ECHO_T}no" >&6
32963 fi
32964
32965 # Extract the first word of "DeRez", so it can be a program name with args.
32966 set dummy DeRez; ac_word=$2
32967 echo "$as_me:$LINENO: checking for $ac_word" >&5
32968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32969 if test "${ac_cv_prog_DEREZ+set}" = set; then
32970 echo $ECHO_N "(cached) $ECHO_C" >&6
32971 else
32972 if test -n "$DEREZ"; then
32973 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32974 else
32975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32976 for as_dir in $PATH
32977 do
32978 IFS=$as_save_IFS
32979 test -z "$as_dir" && as_dir=.
32980 for ac_exec_ext in '' $ac_executable_extensions; do
32981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32982 ac_cv_prog_DEREZ="DeRez"
32983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32984 break 2
32985 fi
32986 done
32987 done
32988
32989 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32990 fi
32991 fi
32992 DEREZ=$ac_cv_prog_DEREZ
32993 if test -n "$DEREZ"; then
32994 echo "$as_me:$LINENO: result: $DEREZ" >&5
32995 echo "${ECHO_T}$DEREZ" >&6
32996 else
32997 echo "$as_me:$LINENO: result: no" >&5
32998 echo "${ECHO_T}no" >&6
32999 fi
33000
33001 # Extract the first word of "SetFile", so it can be a program name with args.
33002 set dummy SetFile; ac_word=$2
33003 echo "$as_me:$LINENO: checking for $ac_word" >&5
33004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33005 if test "${ac_cv_prog_SETFILE+set}" = set; then
33006 echo $ECHO_N "(cached) $ECHO_C" >&6
33007 else
33008 if test -n "$SETFILE"; then
33009 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33010 else
33011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33012 for as_dir in $PATH
33013 do
33014 IFS=$as_save_IFS
33015 test -z "$as_dir" && as_dir=.
33016 for ac_exec_ext in '' $ac_executable_extensions; do
33017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33018 ac_cv_prog_SETFILE="SetFile"
33019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33020 break 2
33021 fi
33022 done
33023 done
33024
33025 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33026 fi
33027 fi
33028 SETFILE=$ac_cv_prog_SETFILE
33029 if test -n "$SETFILE"; then
33030 echo "$as_me:$LINENO: result: $SETFILE" >&5
33031 echo "${ECHO_T}$SETFILE" >&6
33032 else
33033 echo "$as_me:$LINENO: result: no" >&5
33034 echo "${ECHO_T}no" >&6
33035 fi
33036
33037
33038 MACSETFILE="\$(SETFILE)"
33039
33040 if test "$wxUSE_MAC" = 1; then
33041 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33042 RESCOMP="$REZ"
33043 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33044 else
33045 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33046 RESCOMP="echo -n \| $REZ"
33047 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33048 fi
33049
33050 else
33051 MACSETFILE="@true"
33052
33053 if test "$wxUSE_PM" = 1; then
33054 RESCOMP="emxbind"
33055 WXCONFIG_RESFLAGS="-ep"
33056
33057 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33058 else
33059 POSTLINK_COMMAND="@true"
33060 fi
33061
33062 fi
33063
33064
33065
33066 echo "$as_me:$LINENO: checking for mode_t" >&5
33067 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33068 if test "${ac_cv_type_mode_t+set}" = set; then
33069 echo $ECHO_N "(cached) $ECHO_C" >&6
33070 else
33071 cat >conftest.$ac_ext <<_ACEOF
33072 /* confdefs.h. */
33073 _ACEOF
33074 cat confdefs.h >>conftest.$ac_ext
33075 cat >>conftest.$ac_ext <<_ACEOF
33076 /* end confdefs.h. */
33077 $ac_includes_default
33078 int
33079 main ()
33080 {
33081 if ((mode_t *) 0)
33082 return 0;
33083 if (sizeof (mode_t))
33084 return 0;
33085 ;
33086 return 0;
33087 }
33088 _ACEOF
33089 rm -f conftest.$ac_objext
33090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33091 (eval $ac_compile) 2>conftest.er1
33092 ac_status=$?
33093 grep -v '^ *+' conftest.er1 >conftest.err
33094 rm -f conftest.er1
33095 cat conftest.err >&5
33096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33097 (exit $ac_status); } &&
33098 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33100 (eval $ac_try) 2>&5
33101 ac_status=$?
33102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33103 (exit $ac_status); }; } &&
33104 { ac_try='test -s conftest.$ac_objext'
33105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33106 (eval $ac_try) 2>&5
33107 ac_status=$?
33108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33109 (exit $ac_status); }; }; then
33110 ac_cv_type_mode_t=yes
33111 else
33112 echo "$as_me: failed program was:" >&5
33113 sed 's/^/| /' conftest.$ac_ext >&5
33114
33115 ac_cv_type_mode_t=no
33116 fi
33117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33118 fi
33119 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33120 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33121 if test $ac_cv_type_mode_t = yes; then
33122 :
33123 else
33124
33125 cat >>confdefs.h <<_ACEOF
33126 #define mode_t int
33127 _ACEOF
33128
33129 fi
33130
33131 echo "$as_me:$LINENO: checking for off_t" >&5
33132 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33133 if test "${ac_cv_type_off_t+set}" = set; then
33134 echo $ECHO_N "(cached) $ECHO_C" >&6
33135 else
33136 cat >conftest.$ac_ext <<_ACEOF
33137 /* confdefs.h. */
33138 _ACEOF
33139 cat confdefs.h >>conftest.$ac_ext
33140 cat >>conftest.$ac_ext <<_ACEOF
33141 /* end confdefs.h. */
33142 $ac_includes_default
33143 int
33144 main ()
33145 {
33146 if ((off_t *) 0)
33147 return 0;
33148 if (sizeof (off_t))
33149 return 0;
33150 ;
33151 return 0;
33152 }
33153 _ACEOF
33154 rm -f conftest.$ac_objext
33155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33156 (eval $ac_compile) 2>conftest.er1
33157 ac_status=$?
33158 grep -v '^ *+' conftest.er1 >conftest.err
33159 rm -f conftest.er1
33160 cat conftest.err >&5
33161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33162 (exit $ac_status); } &&
33163 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33165 (eval $ac_try) 2>&5
33166 ac_status=$?
33167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33168 (exit $ac_status); }; } &&
33169 { ac_try='test -s conftest.$ac_objext'
33170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33171 (eval $ac_try) 2>&5
33172 ac_status=$?
33173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33174 (exit $ac_status); }; }; then
33175 ac_cv_type_off_t=yes
33176 else
33177 echo "$as_me: failed program was:" >&5
33178 sed 's/^/| /' conftest.$ac_ext >&5
33179
33180 ac_cv_type_off_t=no
33181 fi
33182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33183 fi
33184 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33185 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33186 if test $ac_cv_type_off_t = yes; then
33187 :
33188 else
33189
33190 cat >>confdefs.h <<_ACEOF
33191 #define off_t long
33192 _ACEOF
33193
33194 fi
33195
33196 echo "$as_me:$LINENO: checking for pid_t" >&5
33197 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33198 if test "${ac_cv_type_pid_t+set}" = set; then
33199 echo $ECHO_N "(cached) $ECHO_C" >&6
33200 else
33201 cat >conftest.$ac_ext <<_ACEOF
33202 /* confdefs.h. */
33203 _ACEOF
33204 cat confdefs.h >>conftest.$ac_ext
33205 cat >>conftest.$ac_ext <<_ACEOF
33206 /* end confdefs.h. */
33207 $ac_includes_default
33208 int
33209 main ()
33210 {
33211 if ((pid_t *) 0)
33212 return 0;
33213 if (sizeof (pid_t))
33214 return 0;
33215 ;
33216 return 0;
33217 }
33218 _ACEOF
33219 rm -f conftest.$ac_objext
33220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33221 (eval $ac_compile) 2>conftest.er1
33222 ac_status=$?
33223 grep -v '^ *+' conftest.er1 >conftest.err
33224 rm -f conftest.er1
33225 cat conftest.err >&5
33226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33227 (exit $ac_status); } &&
33228 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33230 (eval $ac_try) 2>&5
33231 ac_status=$?
33232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33233 (exit $ac_status); }; } &&
33234 { ac_try='test -s conftest.$ac_objext'
33235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33236 (eval $ac_try) 2>&5
33237 ac_status=$?
33238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239 (exit $ac_status); }; }; then
33240 ac_cv_type_pid_t=yes
33241 else
33242 echo "$as_me: failed program was:" >&5
33243 sed 's/^/| /' conftest.$ac_ext >&5
33244
33245 ac_cv_type_pid_t=no
33246 fi
33247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33248 fi
33249 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33250 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33251 if test $ac_cv_type_pid_t = yes; then
33252 :
33253 else
33254
33255 cat >>confdefs.h <<_ACEOF
33256 #define pid_t int
33257 _ACEOF
33258
33259 fi
33260
33261 echo "$as_me:$LINENO: checking for size_t" >&5
33262 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33263 if test "${ac_cv_type_size_t+set}" = set; then
33264 echo $ECHO_N "(cached) $ECHO_C" >&6
33265 else
33266 cat >conftest.$ac_ext <<_ACEOF
33267 /* confdefs.h. */
33268 _ACEOF
33269 cat confdefs.h >>conftest.$ac_ext
33270 cat >>conftest.$ac_ext <<_ACEOF
33271 /* end confdefs.h. */
33272 $ac_includes_default
33273 int
33274 main ()
33275 {
33276 if ((size_t *) 0)
33277 return 0;
33278 if (sizeof (size_t))
33279 return 0;
33280 ;
33281 return 0;
33282 }
33283 _ACEOF
33284 rm -f conftest.$ac_objext
33285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33286 (eval $ac_compile) 2>conftest.er1
33287 ac_status=$?
33288 grep -v '^ *+' conftest.er1 >conftest.err
33289 rm -f conftest.er1
33290 cat conftest.err >&5
33291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33292 (exit $ac_status); } &&
33293 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33295 (eval $ac_try) 2>&5
33296 ac_status=$?
33297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33298 (exit $ac_status); }; } &&
33299 { ac_try='test -s conftest.$ac_objext'
33300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33301 (eval $ac_try) 2>&5
33302 ac_status=$?
33303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33304 (exit $ac_status); }; }; then
33305 ac_cv_type_size_t=yes
33306 else
33307 echo "$as_me: failed program was:" >&5
33308 sed 's/^/| /' conftest.$ac_ext >&5
33309
33310 ac_cv_type_size_t=no
33311 fi
33312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33313 fi
33314 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33315 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33316 if test $ac_cv_type_size_t = yes; then
33317 :
33318 else
33319
33320 cat >>confdefs.h <<_ACEOF
33321 #define size_t unsigned
33322 _ACEOF
33323
33324 fi
33325
33326 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33327 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
33328 if test "${ac_cv_type_uid_t+set}" = set; then
33329 echo $ECHO_N "(cached) $ECHO_C" >&6
33330 else
33331 cat >conftest.$ac_ext <<_ACEOF
33332 /* confdefs.h. */
33333 _ACEOF
33334 cat confdefs.h >>conftest.$ac_ext
33335 cat >>conftest.$ac_ext <<_ACEOF
33336 /* end confdefs.h. */
33337 #include <sys/types.h>
33338
33339 _ACEOF
33340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33341 $EGREP "uid_t" >/dev/null 2>&1; then
33342 ac_cv_type_uid_t=yes
33343 else
33344 ac_cv_type_uid_t=no
33345 fi
33346 rm -f conftest*
33347
33348 fi
33349 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33350 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
33351 if test $ac_cv_type_uid_t = no; then
33352
33353 cat >>confdefs.h <<\_ACEOF
33354 #define uid_t int
33355 _ACEOF
33356
33357
33358 cat >>confdefs.h <<\_ACEOF
33359 #define gid_t int
33360 _ACEOF
33361
33362 fi
33363
33364
33365 echo "$as_me:$LINENO: checking for ssize_t" >&5
33366 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
33367 if test "${ac_cv_type_ssize_t+set}" = set; then
33368 echo $ECHO_N "(cached) $ECHO_C" >&6
33369 else
33370 cat >conftest.$ac_ext <<_ACEOF
33371 /* confdefs.h. */
33372 _ACEOF
33373 cat confdefs.h >>conftest.$ac_ext
33374 cat >>conftest.$ac_ext <<_ACEOF
33375 /* end confdefs.h. */
33376 $ac_includes_default
33377 int
33378 main ()
33379 {
33380 if ((ssize_t *) 0)
33381 return 0;
33382 if (sizeof (ssize_t))
33383 return 0;
33384 ;
33385 return 0;
33386 }
33387 _ACEOF
33388 rm -f conftest.$ac_objext
33389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33390 (eval $ac_compile) 2>conftest.er1
33391 ac_status=$?
33392 grep -v '^ *+' conftest.er1 >conftest.err
33393 rm -f conftest.er1
33394 cat conftest.err >&5
33395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33396 (exit $ac_status); } &&
33397 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33399 (eval $ac_try) 2>&5
33400 ac_status=$?
33401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33402 (exit $ac_status); }; } &&
33403 { ac_try='test -s conftest.$ac_objext'
33404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33405 (eval $ac_try) 2>&5
33406 ac_status=$?
33407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33408 (exit $ac_status); }; }; then
33409 ac_cv_type_ssize_t=yes
33410 else
33411 echo "$as_me: failed program was:" >&5
33412 sed 's/^/| /' conftest.$ac_ext >&5
33413
33414 ac_cv_type_ssize_t=no
33415 fi
33416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33417 fi
33418 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33419 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
33420 if test $ac_cv_type_ssize_t = yes; then
33421
33422 cat >>confdefs.h <<_ACEOF
33423 #define HAVE_SSIZE_T 1
33424 _ACEOF
33425
33426
33427 fi
33428
33429
33430 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33431 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
33432 if test "${wx_cv_size_t_is_uint+set}" = set; then
33433 echo $ECHO_N "(cached) $ECHO_C" >&6
33434 else
33435
33436 cat >conftest.$ac_ext <<_ACEOF
33437 /* confdefs.h. */
33438 _ACEOF
33439 cat confdefs.h >>conftest.$ac_ext
33440 cat >>conftest.$ac_ext <<_ACEOF
33441 /* end confdefs.h. */
33442 #include <stddef.h>
33443 int
33444 main ()
33445 {
33446
33447 return 0; }
33448
33449 struct Foo { void foo(size_t); void foo(unsigned int); };
33450
33451 int bar() {
33452
33453 ;
33454 return 0;
33455 }
33456 _ACEOF
33457 rm -f conftest.$ac_objext
33458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33459 (eval $ac_compile) 2>conftest.er1
33460 ac_status=$?
33461 grep -v '^ *+' conftest.er1 >conftest.err
33462 rm -f conftest.er1
33463 cat conftest.err >&5
33464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33465 (exit $ac_status); } &&
33466 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33468 (eval $ac_try) 2>&5
33469 ac_status=$?
33470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33471 (exit $ac_status); }; } &&
33472 { ac_try='test -s conftest.$ac_objext'
33473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33474 (eval $ac_try) 2>&5
33475 ac_status=$?
33476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33477 (exit $ac_status); }; }; then
33478 wx_cv_size_t_is_uint=no
33479 else
33480 echo "$as_me: failed program was:" >&5
33481 sed 's/^/| /' conftest.$ac_ext >&5
33482
33483 wx_cv_size_t_is_uint=yes
33484
33485 fi
33486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33487
33488
33489 fi
33490 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33491 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
33492
33493 if test "$wx_cv_size_t_is_uint" = "yes"; then
33494 cat >>confdefs.h <<\_ACEOF
33495 #define wxSIZE_T_IS_UINT 1
33496 _ACEOF
33497
33498 else
33499 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33500 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
33501 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33502 echo $ECHO_N "(cached) $ECHO_C" >&6
33503 else
33504 cat >conftest.$ac_ext <<_ACEOF
33505 /* confdefs.h. */
33506 _ACEOF
33507 cat confdefs.h >>conftest.$ac_ext
33508 cat >>conftest.$ac_ext <<_ACEOF
33509 /* end confdefs.h. */
33510 #include <stddef.h>
33511 int
33512 main ()
33513 {
33514
33515 return 0; }
33516
33517 struct Foo { void foo(size_t); void foo(unsigned long); };
33518
33519 int bar() {
33520
33521 ;
33522 return 0;
33523 }
33524 _ACEOF
33525 rm -f conftest.$ac_objext
33526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33527 (eval $ac_compile) 2>conftest.er1
33528 ac_status=$?
33529 grep -v '^ *+' conftest.er1 >conftest.err
33530 rm -f conftest.er1
33531 cat conftest.err >&5
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); } &&
33534 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33536 (eval $ac_try) 2>&5
33537 ac_status=$?
33538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33539 (exit $ac_status); }; } &&
33540 { ac_try='test -s conftest.$ac_objext'
33541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33542 (eval $ac_try) 2>&5
33543 ac_status=$?
33544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33545 (exit $ac_status); }; }; then
33546 wx_cv_size_t_is_ulong=no
33547 else
33548 echo "$as_me: failed program was:" >&5
33549 sed 's/^/| /' conftest.$ac_ext >&5
33550
33551 wx_cv_size_t_is_ulong=yes
33552
33553 fi
33554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33555
33556 fi
33557 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33558 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
33559
33560 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33561 cat >>confdefs.h <<\_ACEOF
33562 #define wxSIZE_T_IS_ULONG 1
33563 _ACEOF
33564
33565 fi
33566 fi
33567
33568
33569 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33570 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
33571 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33572 echo $ECHO_N "(cached) $ECHO_C" >&6
33573 else
33574
33575 cat >conftest.$ac_ext <<_ACEOF
33576 /* confdefs.h. */
33577 _ACEOF
33578 cat confdefs.h >>conftest.$ac_ext
33579 cat >>conftest.$ac_ext <<_ACEOF
33580 /* end confdefs.h. */
33581 #include <pwd.h>
33582 int
33583 main ()
33584 {
33585
33586 char *p;
33587 struct passwd *pw;
33588 p = pw->pw_gecos;
33589
33590 ;
33591 return 0;
33592 }
33593 _ACEOF
33594 rm -f conftest.$ac_objext
33595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33596 (eval $ac_compile) 2>conftest.er1
33597 ac_status=$?
33598 grep -v '^ *+' conftest.er1 >conftest.err
33599 rm -f conftest.er1
33600 cat conftest.err >&5
33601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602 (exit $ac_status); } &&
33603 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33605 (eval $ac_try) 2>&5
33606 ac_status=$?
33607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33608 (exit $ac_status); }; } &&
33609 { ac_try='test -s conftest.$ac_objext'
33610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33611 (eval $ac_try) 2>&5
33612 ac_status=$?
33613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614 (exit $ac_status); }; }; then
33615
33616 wx_cv_struct_pw_gecos=yes
33617
33618 else
33619 echo "$as_me: failed program was:" >&5
33620 sed 's/^/| /' conftest.$ac_ext >&5
33621
33622
33623 wx_cv_struct_pw_gecos=no
33624
33625
33626 fi
33627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33628
33629
33630 fi
33631 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33632 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
33633
33634 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33635 cat >>confdefs.h <<\_ACEOF
33636 #define HAVE_PW_GECOS 1
33637 _ACEOF
33638
33639 fi
33640
33641
33642 if test "$wxUSE_WCHAR_T" = "yes"; then
33643 cat >>confdefs.h <<\_ACEOF
33644 #define wxUSE_WCHAR_T 1
33645 _ACEOF
33646
33647
33648 WCSLEN_FOUND=0
33649 WCHAR_LINK=
33650
33651 for ac_func in wcslen
33652 do
33653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33654 echo "$as_me:$LINENO: checking for $ac_func" >&5
33655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33656 if eval "test \"\${$as_ac_var+set}\" = set"; then
33657 echo $ECHO_N "(cached) $ECHO_C" >&6
33658 else
33659 cat >conftest.$ac_ext <<_ACEOF
33660 /* confdefs.h. */
33661 _ACEOF
33662 cat confdefs.h >>conftest.$ac_ext
33663 cat >>conftest.$ac_ext <<_ACEOF
33664 /* end confdefs.h. */
33665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33667 #define $ac_func innocuous_$ac_func
33668
33669 /* System header to define __stub macros and hopefully few prototypes,
33670 which can conflict with char $ac_func (); below.
33671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33672 <limits.h> exists even on freestanding compilers. */
33673
33674 #ifdef __STDC__
33675 # include <limits.h>
33676 #else
33677 # include <assert.h>
33678 #endif
33679
33680 #undef $ac_func
33681
33682 /* Override any gcc2 internal prototype to avoid an error. */
33683 #ifdef __cplusplus
33684 extern "C"
33685 {
33686 #endif
33687 /* We use char because int might match the return type of a gcc2
33688 builtin and then its argument prototype would still apply. */
33689 char $ac_func ();
33690 /* The GNU C library defines this for functions which it implements
33691 to always fail with ENOSYS. Some functions are actually named
33692 something starting with __ and the normal name is an alias. */
33693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33694 choke me
33695 #else
33696 char (*f) () = $ac_func;
33697 #endif
33698 #ifdef __cplusplus
33699 }
33700 #endif
33701
33702 int
33703 main ()
33704 {
33705 return f != $ac_func;
33706 ;
33707 return 0;
33708 }
33709 _ACEOF
33710 rm -f conftest.$ac_objext conftest$ac_exeext
33711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33712 (eval $ac_link) 2>conftest.er1
33713 ac_status=$?
33714 grep -v '^ *+' conftest.er1 >conftest.err
33715 rm -f conftest.er1
33716 cat conftest.err >&5
33717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33718 (exit $ac_status); } &&
33719 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33721 (eval $ac_try) 2>&5
33722 ac_status=$?
33723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33724 (exit $ac_status); }; } &&
33725 { ac_try='test -s conftest$ac_exeext'
33726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33727 (eval $ac_try) 2>&5
33728 ac_status=$?
33729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33730 (exit $ac_status); }; }; then
33731 eval "$as_ac_var=yes"
33732 else
33733 echo "$as_me: failed program was:" >&5
33734 sed 's/^/| /' conftest.$ac_ext >&5
33735
33736 eval "$as_ac_var=no"
33737 fi
33738 rm -f conftest.err conftest.$ac_objext \
33739 conftest$ac_exeext conftest.$ac_ext
33740 fi
33741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33743 if test `eval echo '${'$as_ac_var'}'` = yes; then
33744 cat >>confdefs.h <<_ACEOF
33745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33746 _ACEOF
33747 WCSLEN_FOUND=1
33748 fi
33749 done
33750
33751
33752 if test "$WCSLEN_FOUND" = 0; then
33753 if test "$TOOLKIT" = "MSW"; then
33754 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33755 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
33756 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33757 echo $ECHO_N "(cached) $ECHO_C" >&6
33758 else
33759 ac_check_lib_save_LIBS=$LIBS
33760 LIBS="-lmsvcrt $LIBS"
33761 cat >conftest.$ac_ext <<_ACEOF
33762 /* confdefs.h. */
33763 _ACEOF
33764 cat confdefs.h >>conftest.$ac_ext
33765 cat >>conftest.$ac_ext <<_ACEOF
33766 /* end confdefs.h. */
33767
33768 /* Override any gcc2 internal prototype to avoid an error. */
33769 #ifdef __cplusplus
33770 extern "C"
33771 #endif
33772 /* We use char because int might match the return type of a gcc2
33773 builtin and then its argument prototype would still apply. */
33774 char wcslen ();
33775 int
33776 main ()
33777 {
33778 wcslen ();
33779 ;
33780 return 0;
33781 }
33782 _ACEOF
33783 rm -f conftest.$ac_objext conftest$ac_exeext
33784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33785 (eval $ac_link) 2>conftest.er1
33786 ac_status=$?
33787 grep -v '^ *+' conftest.er1 >conftest.err
33788 rm -f conftest.er1
33789 cat conftest.err >&5
33790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33791 (exit $ac_status); } &&
33792 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33794 (eval $ac_try) 2>&5
33795 ac_status=$?
33796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33797 (exit $ac_status); }; } &&
33798 { ac_try='test -s conftest$ac_exeext'
33799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33800 (eval $ac_try) 2>&5
33801 ac_status=$?
33802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33803 (exit $ac_status); }; }; then
33804 ac_cv_lib_msvcrt_wcslen=yes
33805 else
33806 echo "$as_me: failed program was:" >&5
33807 sed 's/^/| /' conftest.$ac_ext >&5
33808
33809 ac_cv_lib_msvcrt_wcslen=no
33810 fi
33811 rm -f conftest.err conftest.$ac_objext \
33812 conftest$ac_exeext conftest.$ac_ext
33813 LIBS=$ac_check_lib_save_LIBS
33814 fi
33815 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33816 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
33817 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33818 WCHAR_OK=1
33819 fi
33820
33821 else
33822 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33823 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
33824 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33825 echo $ECHO_N "(cached) $ECHO_C" >&6
33826 else
33827 ac_check_lib_save_LIBS=$LIBS
33828 LIBS="-lw $LIBS"
33829 cat >conftest.$ac_ext <<_ACEOF
33830 /* confdefs.h. */
33831 _ACEOF
33832 cat confdefs.h >>conftest.$ac_ext
33833 cat >>conftest.$ac_ext <<_ACEOF
33834 /* end confdefs.h. */
33835
33836 /* Override any gcc2 internal prototype to avoid an error. */
33837 #ifdef __cplusplus
33838 extern "C"
33839 #endif
33840 /* We use char because int might match the return type of a gcc2
33841 builtin and then its argument prototype would still apply. */
33842 char wcslen ();
33843 int
33844 main ()
33845 {
33846 wcslen ();
33847 ;
33848 return 0;
33849 }
33850 _ACEOF
33851 rm -f conftest.$ac_objext conftest$ac_exeext
33852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33853 (eval $ac_link) 2>conftest.er1
33854 ac_status=$?
33855 grep -v '^ *+' conftest.er1 >conftest.err
33856 rm -f conftest.er1
33857 cat conftest.err >&5
33858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33859 (exit $ac_status); } &&
33860 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33862 (eval $ac_try) 2>&5
33863 ac_status=$?
33864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33865 (exit $ac_status); }; } &&
33866 { ac_try='test -s conftest$ac_exeext'
33867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33868 (eval $ac_try) 2>&5
33869 ac_status=$?
33870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33871 (exit $ac_status); }; }; then
33872 ac_cv_lib_w_wcslen=yes
33873 else
33874 echo "$as_me: failed program was:" >&5
33875 sed 's/^/| /' conftest.$ac_ext >&5
33876
33877 ac_cv_lib_w_wcslen=no
33878 fi
33879 rm -f conftest.err conftest.$ac_objext \
33880 conftest$ac_exeext conftest.$ac_ext
33881 LIBS=$ac_check_lib_save_LIBS
33882 fi
33883 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33884 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
33885 if test $ac_cv_lib_w_wcslen = yes; then
33886
33887 WCHAR_LINK=" -lw"
33888 WCSLEN_FOUND=1
33889
33890 fi
33891
33892 fi
33893 fi
33894
33895 if test "$WCSLEN_FOUND" = 1; then
33896 cat >>confdefs.h <<\_ACEOF
33897 #define HAVE_WCSLEN 1
33898 _ACEOF
33899
33900 fi
33901
33902 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33903 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33904 fi
33905
33906 echo "$as_me:$LINENO: checking for mbstate_t" >&5
33907 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
33908 if test "${ac_cv_type_mbstate_t+set}" = set; then
33909 echo $ECHO_N "(cached) $ECHO_C" >&6
33910 else
33911 cat >conftest.$ac_ext <<_ACEOF
33912 /* confdefs.h. */
33913 _ACEOF
33914 cat confdefs.h >>conftest.$ac_ext
33915 cat >>conftest.$ac_ext <<_ACEOF
33916 /* end confdefs.h. */
33917 #include <wchar.h>
33918
33919 int
33920 main ()
33921 {
33922 if ((mbstate_t *) 0)
33923 return 0;
33924 if (sizeof (mbstate_t))
33925 return 0;
33926 ;
33927 return 0;
33928 }
33929 _ACEOF
33930 rm -f conftest.$ac_objext
33931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33932 (eval $ac_compile) 2>conftest.er1
33933 ac_status=$?
33934 grep -v '^ *+' conftest.er1 >conftest.err
33935 rm -f conftest.er1
33936 cat conftest.err >&5
33937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33938 (exit $ac_status); } &&
33939 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33941 (eval $ac_try) 2>&5
33942 ac_status=$?
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); }; } &&
33945 { ac_try='test -s conftest.$ac_objext'
33946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33947 (eval $ac_try) 2>&5
33948 ac_status=$?
33949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33950 (exit $ac_status); }; }; then
33951 ac_cv_type_mbstate_t=yes
33952 else
33953 echo "$as_me: failed program was:" >&5
33954 sed 's/^/| /' conftest.$ac_ext >&5
33955
33956 ac_cv_type_mbstate_t=no
33957 fi
33958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33959 fi
33960 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33961 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
33962 if test $ac_cv_type_mbstate_t = yes; then
33963
33964 cat >>confdefs.h <<_ACEOF
33965 #define HAVE_MBSTATE_T 1
33966 _ACEOF
33967
33968
33969 for ac_func in wcsrtombs
33970 do
33971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33972 echo "$as_me:$LINENO: checking for $ac_func" >&5
33973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33974 if eval "test \"\${$as_ac_var+set}\" = set"; then
33975 echo $ECHO_N "(cached) $ECHO_C" >&6
33976 else
33977 cat >conftest.$ac_ext <<_ACEOF
33978 /* confdefs.h. */
33979 _ACEOF
33980 cat confdefs.h >>conftest.$ac_ext
33981 cat >>conftest.$ac_ext <<_ACEOF
33982 /* end confdefs.h. */
33983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33985 #define $ac_func innocuous_$ac_func
33986
33987 /* System header to define __stub macros and hopefully few prototypes,
33988 which can conflict with char $ac_func (); below.
33989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33990 <limits.h> exists even on freestanding compilers. */
33991
33992 #ifdef __STDC__
33993 # include <limits.h>
33994 #else
33995 # include <assert.h>
33996 #endif
33997
33998 #undef $ac_func
33999
34000 /* Override any gcc2 internal prototype to avoid an error. */
34001 #ifdef __cplusplus
34002 extern "C"
34003 {
34004 #endif
34005 /* We use char because int might match the return type of a gcc2
34006 builtin and then its argument prototype would still apply. */
34007 char $ac_func ();
34008 /* The GNU C library defines this for functions which it implements
34009 to always fail with ENOSYS. Some functions are actually named
34010 something starting with __ and the normal name is an alias. */
34011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34012 choke me
34013 #else
34014 char (*f) () = $ac_func;
34015 #endif
34016 #ifdef __cplusplus
34017 }
34018 #endif
34019
34020 int
34021 main ()
34022 {
34023 return f != $ac_func;
34024 ;
34025 return 0;
34026 }
34027 _ACEOF
34028 rm -f conftest.$ac_objext conftest$ac_exeext
34029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34030 (eval $ac_link) 2>conftest.er1
34031 ac_status=$?
34032 grep -v '^ *+' conftest.er1 >conftest.err
34033 rm -f conftest.er1
34034 cat conftest.err >&5
34035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34036 (exit $ac_status); } &&
34037 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34039 (eval $ac_try) 2>&5
34040 ac_status=$?
34041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34042 (exit $ac_status); }; } &&
34043 { ac_try='test -s conftest$ac_exeext'
34044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34045 (eval $ac_try) 2>&5
34046 ac_status=$?
34047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34048 (exit $ac_status); }; }; then
34049 eval "$as_ac_var=yes"
34050 else
34051 echo "$as_me: failed program was:" >&5
34052 sed 's/^/| /' conftest.$ac_ext >&5
34053
34054 eval "$as_ac_var=no"
34055 fi
34056 rm -f conftest.err conftest.$ac_objext \
34057 conftest$ac_exeext conftest.$ac_ext
34058 fi
34059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34061 if test `eval echo '${'$as_ac_var'}'` = yes; then
34062 cat >>confdefs.h <<_ACEOF
34063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34064 _ACEOF
34065
34066 fi
34067 done
34068
34069 fi
34070
34071 else
34072 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34073 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34074 fi
34075
34076
34077
34078 for ac_func in snprintf vsnprintf
34079 do
34080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34081 echo "$as_me:$LINENO: checking for $ac_func" >&5
34082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34083 if eval "test \"\${$as_ac_var+set}\" = set"; then
34084 echo $ECHO_N "(cached) $ECHO_C" >&6
34085 else
34086 cat >conftest.$ac_ext <<_ACEOF
34087 /* confdefs.h. */
34088 _ACEOF
34089 cat confdefs.h >>conftest.$ac_ext
34090 cat >>conftest.$ac_ext <<_ACEOF
34091 /* end confdefs.h. */
34092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34094 #define $ac_func innocuous_$ac_func
34095
34096 /* System header to define __stub macros and hopefully few prototypes,
34097 which can conflict with char $ac_func (); below.
34098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34099 <limits.h> exists even on freestanding compilers. */
34100
34101 #ifdef __STDC__
34102 # include <limits.h>
34103 #else
34104 # include <assert.h>
34105 #endif
34106
34107 #undef $ac_func
34108
34109 /* Override any gcc2 internal prototype to avoid an error. */
34110 #ifdef __cplusplus
34111 extern "C"
34112 {
34113 #endif
34114 /* We use char because int might match the return type of a gcc2
34115 builtin and then its argument prototype would still apply. */
34116 char $ac_func ();
34117 /* The GNU C library defines this for functions which it implements
34118 to always fail with ENOSYS. Some functions are actually named
34119 something starting with __ and the normal name is an alias. */
34120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34121 choke me
34122 #else
34123 char (*f) () = $ac_func;
34124 #endif
34125 #ifdef __cplusplus
34126 }
34127 #endif
34128
34129 int
34130 main ()
34131 {
34132 return f != $ac_func;
34133 ;
34134 return 0;
34135 }
34136 _ACEOF
34137 rm -f conftest.$ac_objext conftest$ac_exeext
34138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34139 (eval $ac_link) 2>conftest.er1
34140 ac_status=$?
34141 grep -v '^ *+' conftest.er1 >conftest.err
34142 rm -f conftest.er1
34143 cat conftest.err >&5
34144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145 (exit $ac_status); } &&
34146 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34148 (eval $ac_try) 2>&5
34149 ac_status=$?
34150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34151 (exit $ac_status); }; } &&
34152 { ac_try='test -s conftest$ac_exeext'
34153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34154 (eval $ac_try) 2>&5
34155 ac_status=$?
34156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34157 (exit $ac_status); }; }; then
34158 eval "$as_ac_var=yes"
34159 else
34160 echo "$as_me: failed program was:" >&5
34161 sed 's/^/| /' conftest.$ac_ext >&5
34162
34163 eval "$as_ac_var=no"
34164 fi
34165 rm -f conftest.err conftest.$ac_objext \
34166 conftest$ac_exeext conftest.$ac_ext
34167 fi
34168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34170 if test `eval echo '${'$as_ac_var'}'` = yes; then
34171 cat >>confdefs.h <<_ACEOF
34172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34173 _ACEOF
34174
34175 fi
34176 done
34177
34178
34179 if test "$ac_cv_func_vsnprintf" = "yes"; then
34180 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34181 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34182 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34183 echo $ECHO_N "(cached) $ECHO_C" >&6
34184 else
34185
34186 cat >conftest.$ac_ext <<_ACEOF
34187 /* confdefs.h. */
34188 _ACEOF
34189 cat confdefs.h >>conftest.$ac_ext
34190 cat >>conftest.$ac_ext <<_ACEOF
34191 /* end confdefs.h. */
34192
34193 #include <stdio.h>
34194 #include <stdarg.h>
34195 #ifdef __MSL__
34196 #if __MSL__ >= 0x6000
34197 namespace std {}
34198 using namespace std;
34199 #endif
34200 #endif
34201
34202 int
34203 main ()
34204 {
34205
34206 char *buf;
34207 va_list ap;
34208 vsnprintf(buf, 10u, "%s", ap);
34209
34210 ;
34211 return 0;
34212 }
34213 _ACEOF
34214 rm -f conftest.$ac_objext
34215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34216 (eval $ac_compile) 2>conftest.er1
34217 ac_status=$?
34218 grep -v '^ *+' conftest.er1 >conftest.err
34219 rm -f conftest.er1
34220 cat conftest.err >&5
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); } &&
34223 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34225 (eval $ac_try) 2>&5
34226 ac_status=$?
34227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34228 (exit $ac_status); }; } &&
34229 { ac_try='test -s conftest.$ac_objext'
34230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34231 (eval $ac_try) 2>&5
34232 ac_status=$?
34233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34234 (exit $ac_status); }; }; then
34235 wx_cv_func_vsnprintf_decl=yes
34236 else
34237 echo "$as_me: failed program was:" >&5
34238 sed 's/^/| /' conftest.$ac_ext >&5
34239
34240 wx_cv_func_vsnprintf_decl=no
34241
34242 fi
34243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34244
34245
34246 fi
34247 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34248 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34249
34250 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34251 cat >>confdefs.h <<\_ACEOF
34252 #define HAVE_VSNPRINTF_DECL 1
34253 _ACEOF
34254
34255
34256 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34257 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34258 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34259 echo $ECHO_N "(cached) $ECHO_C" >&6
34260 else
34261
34262 cat >conftest.$ac_ext <<_ACEOF
34263 /* confdefs.h. */
34264 _ACEOF
34265 cat confdefs.h >>conftest.$ac_ext
34266 cat >>conftest.$ac_ext <<_ACEOF
34267 /* end confdefs.h. */
34268
34269 #include <stdio.h>
34270 #include <stdarg.h>
34271 #ifdef __MSL__
34272 #if __MSL__ >= 0x6000
34273 namespace std {}
34274 using namespace std;
34275 #endif
34276 #endif
34277
34278 int
34279 main ()
34280 {
34281
34282 char *buf;
34283 va_list ap;
34284 const char *fmt = "%s";
34285 vsnprintf(buf, 10u, fmt, ap);
34286
34287 ;
34288 return 0;
34289 }
34290 _ACEOF
34291 rm -f conftest.$ac_objext
34292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34293 (eval $ac_compile) 2>conftest.er1
34294 ac_status=$?
34295 grep -v '^ *+' conftest.er1 >conftest.err
34296 rm -f conftest.er1
34297 cat conftest.err >&5
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); } &&
34300 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34302 (eval $ac_try) 2>&5
34303 ac_status=$?
34304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34305 (exit $ac_status); }; } &&
34306 { ac_try='test -s conftest.$ac_objext'
34307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34308 (eval $ac_try) 2>&5
34309 ac_status=$?
34310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34311 (exit $ac_status); }; }; then
34312 wx_cv_func_broken_vsnprintf_decl=no
34313 else
34314 echo "$as_me: failed program was:" >&5
34315 sed 's/^/| /' conftest.$ac_ext >&5
34316
34317 wx_cv_func_broken_vsnprintf_decl=yes
34318
34319 fi
34320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34321
34322
34323 fi
34324 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34325 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34326
34327 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34328 cat >>confdefs.h <<\_ACEOF
34329 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34330 _ACEOF
34331
34332 fi
34333 fi
34334 fi
34335
34336 if test "$ac_cv_func_snprintf" = "yes"; then
34337 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34338 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
34339 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34340 echo $ECHO_N "(cached) $ECHO_C" >&6
34341 else
34342
34343 cat >conftest.$ac_ext <<_ACEOF
34344 /* confdefs.h. */
34345 _ACEOF
34346 cat confdefs.h >>conftest.$ac_ext
34347 cat >>conftest.$ac_ext <<_ACEOF
34348 /* end confdefs.h. */
34349
34350 #include <stdio.h>
34351 #include <stdarg.h>
34352 #ifdef __MSL__
34353 #if __MSL__ >= 0x6000
34354 namespace std {}
34355 using namespace std;
34356 #endif
34357 #endif
34358
34359 int
34360 main ()
34361 {
34362
34363 char *buf;
34364 snprintf(buf, 10u, "%s", "wx");
34365
34366 ;
34367 return 0;
34368 }
34369 _ACEOF
34370 rm -f conftest.$ac_objext
34371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34372 (eval $ac_compile) 2>conftest.er1
34373 ac_status=$?
34374 grep -v '^ *+' conftest.er1 >conftest.err
34375 rm -f conftest.er1
34376 cat conftest.err >&5
34377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34378 (exit $ac_status); } &&
34379 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34381 (eval $ac_try) 2>&5
34382 ac_status=$?
34383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34384 (exit $ac_status); }; } &&
34385 { ac_try='test -s conftest.$ac_objext'
34386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34387 (eval $ac_try) 2>&5
34388 ac_status=$?
34389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34390 (exit $ac_status); }; }; then
34391 wx_cv_func_snprintf_decl=yes
34392 else
34393 echo "$as_me: failed program was:" >&5
34394 sed 's/^/| /' conftest.$ac_ext >&5
34395
34396 wx_cv_func_snprintf_decl=no
34397
34398 fi
34399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34400
34401
34402 fi
34403 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34404 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
34405
34406 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34407 cat >>confdefs.h <<\_ACEOF
34408 #define HAVE_SNPRINTF_DECL 1
34409 _ACEOF
34410
34411
34412 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34413 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
34414 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34415 echo $ECHO_N "(cached) $ECHO_C" >&6
34416 else
34417
34418 cat >conftest.$ac_ext <<_ACEOF
34419 /* confdefs.h. */
34420 _ACEOF
34421 cat confdefs.h >>conftest.$ac_ext
34422 cat >>conftest.$ac_ext <<_ACEOF
34423 /* end confdefs.h. */
34424
34425 #include <stdio.h>
34426 #include <stdarg.h>
34427 #ifdef __MSL__
34428 #if __MSL__ >= 0x6000
34429 namespace std {}
34430 using namespace std;
34431 #endif
34432 #endif
34433
34434 int
34435 main ()
34436 {
34437
34438 char *buf;
34439 const char *fmt = "%s";
34440 snprintf(buf, 10u, fmt, "wx");
34441
34442 ;
34443 return 0;
34444 }
34445 _ACEOF
34446 rm -f conftest.$ac_objext
34447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34448 (eval $ac_compile) 2>conftest.er1
34449 ac_status=$?
34450 grep -v '^ *+' conftest.er1 >conftest.err
34451 rm -f conftest.er1
34452 cat conftest.err >&5
34453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34454 (exit $ac_status); } &&
34455 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34457 (eval $ac_try) 2>&5
34458 ac_status=$?
34459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34460 (exit $ac_status); }; } &&
34461 { ac_try='test -s conftest.$ac_objext'
34462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34463 (eval $ac_try) 2>&5
34464 ac_status=$?
34465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34466 (exit $ac_status); }; }; then
34467 wx_cv_func_broken_snprintf_decl=no
34468 else
34469 echo "$as_me: failed program was:" >&5
34470 sed 's/^/| /' conftest.$ac_ext >&5
34471
34472 wx_cv_func_broken_snprintf_decl=yes
34473
34474 fi
34475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34476
34477
34478 fi
34479 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34480 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
34481
34482 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34483 cat >>confdefs.h <<\_ACEOF
34484 #define HAVE_BROKEN_SNPRINTF_DECL 1
34485 _ACEOF
34486
34487 fi
34488 fi
34489
34490 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34491
34492 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34493 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
34494 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34495 echo $ECHO_N "(cached) $ECHO_C" >&6
34496 else
34497
34498 if test "$cross_compiling" = yes; then
34499 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
34500 See \`config.log' for more details." >&5
34501 echo "$as_me: error: cannot run test program while cross compiling
34502 See \`config.log' for more details." >&2;}
34503 { (exit 1); exit 1; }; }
34504 else
34505 cat >conftest.$ac_ext <<_ACEOF
34506 /* confdefs.h. */
34507 _ACEOF
34508 cat confdefs.h >>conftest.$ac_ext
34509 cat >>conftest.$ac_ext <<_ACEOF
34510 /* end confdefs.h. */
34511
34512 #include <stdio.h>
34513
34514 int main (void)
34515 {
34516 char buffer[128];
34517 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
34518 if (strcmp ("2 3 1", buffer) == 0)
34519 exit (0);
34520 exit (1);
34521 }
34522
34523 _ACEOF
34524 rm -f conftest$ac_exeext
34525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34526 (eval $ac_link) 2>&5
34527 ac_status=$?
34528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34529 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34531 (eval $ac_try) 2>&5
34532 ac_status=$?
34533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34534 (exit $ac_status); }; }; then
34535 wx_cv_func_snprintf_pos_params=no
34536 else
34537 echo "$as_me: program exited with status $ac_status" >&5
34538 echo "$as_me: failed program was:" >&5
34539 sed 's/^/| /' conftest.$ac_ext >&5
34540
34541 ( exit $ac_status )
34542 wx_cv_func_snprintf_pos_params=yes
34543
34544 fi
34545 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34546 fi
34547
34548
34549 fi
34550 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34551 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
34552
34553 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34554 cat >>confdefs.h <<\_ACEOF
34555 #define HAVE_UNIX98_PRINTF 1
34556 _ACEOF
34557
34558 fi
34559 fi
34560 fi
34561
34562
34563 if test "$wxUSE_UNICODE" = yes; then
34564
34565
34566
34567
34568
34569
34570 for ac_func in wputc wputchar putws fputws wprintf vswprintf
34571 do
34572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34573 echo "$as_me:$LINENO: checking for $ac_func" >&5
34574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34575 if eval "test \"\${$as_ac_var+set}\" = set"; then
34576 echo $ECHO_N "(cached) $ECHO_C" >&6
34577 else
34578 cat >conftest.$ac_ext <<_ACEOF
34579 /* confdefs.h. */
34580 _ACEOF
34581 cat confdefs.h >>conftest.$ac_ext
34582 cat >>conftest.$ac_ext <<_ACEOF
34583 /* end confdefs.h. */
34584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34586 #define $ac_func innocuous_$ac_func
34587
34588 /* System header to define __stub macros and hopefully few prototypes,
34589 which can conflict with char $ac_func (); below.
34590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34591 <limits.h> exists even on freestanding compilers. */
34592
34593 #ifdef __STDC__
34594 # include <limits.h>
34595 #else
34596 # include <assert.h>
34597 #endif
34598
34599 #undef $ac_func
34600
34601 /* Override any gcc2 internal prototype to avoid an error. */
34602 #ifdef __cplusplus
34603 extern "C"
34604 {
34605 #endif
34606 /* We use char because int might match the return type of a gcc2
34607 builtin and then its argument prototype would still apply. */
34608 char $ac_func ();
34609 /* The GNU C library defines this for functions which it implements
34610 to always fail with ENOSYS. Some functions are actually named
34611 something starting with __ and the normal name is an alias. */
34612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34613 choke me
34614 #else
34615 char (*f) () = $ac_func;
34616 #endif
34617 #ifdef __cplusplus
34618 }
34619 #endif
34620
34621 int
34622 main ()
34623 {
34624 return f != $ac_func;
34625 ;
34626 return 0;
34627 }
34628 _ACEOF
34629 rm -f conftest.$ac_objext conftest$ac_exeext
34630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34631 (eval $ac_link) 2>conftest.er1
34632 ac_status=$?
34633 grep -v '^ *+' conftest.er1 >conftest.err
34634 rm -f conftest.er1
34635 cat conftest.err >&5
34636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34637 (exit $ac_status); } &&
34638 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34640 (eval $ac_try) 2>&5
34641 ac_status=$?
34642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34643 (exit $ac_status); }; } &&
34644 { ac_try='test -s conftest$ac_exeext'
34645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34646 (eval $ac_try) 2>&5
34647 ac_status=$?
34648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34649 (exit $ac_status); }; }; then
34650 eval "$as_ac_var=yes"
34651 else
34652 echo "$as_me: failed program was:" >&5
34653 sed 's/^/| /' conftest.$ac_ext >&5
34654
34655 eval "$as_ac_var=no"
34656 fi
34657 rm -f conftest.err conftest.$ac_objext \
34658 conftest$ac_exeext conftest.$ac_ext
34659 fi
34660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34662 if test `eval echo '${'$as_ac_var'}'` = yes; then
34663 cat >>confdefs.h <<_ACEOF
34664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34665 _ACEOF
34666
34667 fi
34668 done
34669
34670
34671 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34672 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
34673 cat >conftest.$ac_ext <<_ACEOF
34674 /* confdefs.h. */
34675 _ACEOF
34676 cat confdefs.h >>conftest.$ac_ext
34677 cat >>conftest.$ac_ext <<_ACEOF
34678 /* end confdefs.h. */
34679 #include <wchar.h>
34680 int
34681 main ()
34682 {
34683 &_vsnwprintf;
34684 ;
34685 return 0;
34686 }
34687 _ACEOF
34688 rm -f conftest.$ac_objext
34689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34690 (eval $ac_compile) 2>conftest.er1
34691 ac_status=$?
34692 grep -v '^ *+' conftest.er1 >conftest.err
34693 rm -f conftest.er1
34694 cat conftest.err >&5
34695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34696 (exit $ac_status); } &&
34697 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34699 (eval $ac_try) 2>&5
34700 ac_status=$?
34701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34702 (exit $ac_status); }; } &&
34703 { ac_try='test -s conftest.$ac_objext'
34704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34705 (eval $ac_try) 2>&5
34706 ac_status=$?
34707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708 (exit $ac_status); }; }; then
34709 echo "$as_me:$LINENO: result: yes" >&5
34710 echo "${ECHO_T}yes" >&6
34711 cat >>confdefs.h <<\_ACEOF
34712 #define HAVE__VSNWPRINTF 1
34713 _ACEOF
34714
34715 else
34716 echo "$as_me: failed program was:" >&5
34717 sed 's/^/| /' conftest.$ac_ext >&5
34718
34719 echo "$as_me:$LINENO: result: no" >&5
34720 echo "${ECHO_T}no" >&6
34721 fi
34722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
34723 fi
34724
34725 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34726
34727 for ac_func in fnmatch
34728 do
34729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34730 echo "$as_me:$LINENO: checking for $ac_func" >&5
34731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34732 if eval "test \"\${$as_ac_var+set}\" = set"; then
34733 echo $ECHO_N "(cached) $ECHO_C" >&6
34734 else
34735 cat >conftest.$ac_ext <<_ACEOF
34736 /* confdefs.h. */
34737 _ACEOF
34738 cat confdefs.h >>conftest.$ac_ext
34739 cat >>conftest.$ac_ext <<_ACEOF
34740 /* end confdefs.h. */
34741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34743 #define $ac_func innocuous_$ac_func
34744
34745 /* System header to define __stub macros and hopefully few prototypes,
34746 which can conflict with char $ac_func (); below.
34747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34748 <limits.h> exists even on freestanding compilers. */
34749
34750 #ifdef __STDC__
34751 # include <limits.h>
34752 #else
34753 # include <assert.h>
34754 #endif
34755
34756 #undef $ac_func
34757
34758 /* Override any gcc2 internal prototype to avoid an error. */
34759 #ifdef __cplusplus
34760 extern "C"
34761 {
34762 #endif
34763 /* We use char because int might match the return type of a gcc2
34764 builtin and then its argument prototype would still apply. */
34765 char $ac_func ();
34766 /* The GNU C library defines this for functions which it implements
34767 to always fail with ENOSYS. Some functions are actually named
34768 something starting with __ and the normal name is an alias. */
34769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34770 choke me
34771 #else
34772 char (*f) () = $ac_func;
34773 #endif
34774 #ifdef __cplusplus
34775 }
34776 #endif
34777
34778 int
34779 main ()
34780 {
34781 return f != $ac_func;
34782 ;
34783 return 0;
34784 }
34785 _ACEOF
34786 rm -f conftest.$ac_objext conftest$ac_exeext
34787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34788 (eval $ac_link) 2>conftest.er1
34789 ac_status=$?
34790 grep -v '^ *+' conftest.er1 >conftest.err
34791 rm -f conftest.er1
34792 cat conftest.err >&5
34793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34794 (exit $ac_status); } &&
34795 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34797 (eval $ac_try) 2>&5
34798 ac_status=$?
34799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34800 (exit $ac_status); }; } &&
34801 { ac_try='test -s conftest$ac_exeext'
34802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34803 (eval $ac_try) 2>&5
34804 ac_status=$?
34805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34806 (exit $ac_status); }; }; then
34807 eval "$as_ac_var=yes"
34808 else
34809 echo "$as_me: failed program was:" >&5
34810 sed 's/^/| /' conftest.$ac_ext >&5
34811
34812 eval "$as_ac_var=no"
34813 fi
34814 rm -f conftest.err conftest.$ac_objext \
34815 conftest$ac_exeext conftest.$ac_ext
34816 fi
34817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34819 if test `eval echo '${'$as_ac_var'}'` = yes; then
34820 cat >>confdefs.h <<_ACEOF
34821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34822 _ACEOF
34823
34824 fi
34825 done
34826
34827 fi
34828
34829 if test "$wxUSE_FILE" = "yes"; then
34830
34831 for ac_func in fsync
34832 do
34833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34834 echo "$as_me:$LINENO: checking for $ac_func" >&5
34835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34836 if eval "test \"\${$as_ac_var+set}\" = set"; then
34837 echo $ECHO_N "(cached) $ECHO_C" >&6
34838 else
34839 cat >conftest.$ac_ext <<_ACEOF
34840 /* confdefs.h. */
34841 _ACEOF
34842 cat confdefs.h >>conftest.$ac_ext
34843 cat >>conftest.$ac_ext <<_ACEOF
34844 /* end confdefs.h. */
34845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34847 #define $ac_func innocuous_$ac_func
34848
34849 /* System header to define __stub macros and hopefully few prototypes,
34850 which can conflict with char $ac_func (); below.
34851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34852 <limits.h> exists even on freestanding compilers. */
34853
34854 #ifdef __STDC__
34855 # include <limits.h>
34856 #else
34857 # include <assert.h>
34858 #endif
34859
34860 #undef $ac_func
34861
34862 /* Override any gcc2 internal prototype to avoid an error. */
34863 #ifdef __cplusplus
34864 extern "C"
34865 {
34866 #endif
34867 /* We use char because int might match the return type of a gcc2
34868 builtin and then its argument prototype would still apply. */
34869 char $ac_func ();
34870 /* The GNU C library defines this for functions which it implements
34871 to always fail with ENOSYS. Some functions are actually named
34872 something starting with __ and the normal name is an alias. */
34873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34874 choke me
34875 #else
34876 char (*f) () = $ac_func;
34877 #endif
34878 #ifdef __cplusplus
34879 }
34880 #endif
34881
34882 int
34883 main ()
34884 {
34885 return f != $ac_func;
34886 ;
34887 return 0;
34888 }
34889 _ACEOF
34890 rm -f conftest.$ac_objext conftest$ac_exeext
34891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34892 (eval $ac_link) 2>conftest.er1
34893 ac_status=$?
34894 grep -v '^ *+' conftest.er1 >conftest.err
34895 rm -f conftest.er1
34896 cat conftest.err >&5
34897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34898 (exit $ac_status); } &&
34899 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34901 (eval $ac_try) 2>&5
34902 ac_status=$?
34903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34904 (exit $ac_status); }; } &&
34905 { ac_try='test -s conftest$ac_exeext'
34906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34907 (eval $ac_try) 2>&5
34908 ac_status=$?
34909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34910 (exit $ac_status); }; }; then
34911 eval "$as_ac_var=yes"
34912 else
34913 echo "$as_me: failed program was:" >&5
34914 sed 's/^/| /' conftest.$ac_ext >&5
34915
34916 eval "$as_ac_var=no"
34917 fi
34918 rm -f conftest.err conftest.$ac_objext \
34919 conftest$ac_exeext conftest.$ac_ext
34920 fi
34921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34922 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34923 if test `eval echo '${'$as_ac_var'}'` = yes; then
34924 cat >>confdefs.h <<_ACEOF
34925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34926 _ACEOF
34927
34928 fi
34929 done
34930
34931 fi
34932
34933
34934 if test "$TOOLKIT" != "MSW"; then
34935
34936
34937
34938
34939
34940 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
34941 if test "${with_libiconv_prefix+set}" = set; then
34942 withval="$with_libiconv_prefix"
34943
34944 for dir in `echo "$withval" | tr : ' '`; do
34945 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
34946 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
34947 done
34948
34949 fi;
34950
34951 echo "$as_me:$LINENO: checking for iconv" >&5
34952 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
34953 if test "${am_cv_func_iconv+set}" = set; then
34954 echo $ECHO_N "(cached) $ECHO_C" >&6
34955 else
34956
34957 am_cv_func_iconv="no, consider installing GNU libiconv"
34958 am_cv_lib_iconv=no
34959 cat >conftest.$ac_ext <<_ACEOF
34960 /* confdefs.h. */
34961 _ACEOF
34962 cat confdefs.h >>conftest.$ac_ext
34963 cat >>conftest.$ac_ext <<_ACEOF
34964 /* end confdefs.h. */
34965 #include <stdlib.h>
34966 #include <iconv.h>
34967 int
34968 main ()
34969 {
34970 iconv_t cd = iconv_open("","");
34971 iconv(cd,NULL,NULL,NULL,NULL);
34972 iconv_close(cd);
34973 ;
34974 return 0;
34975 }
34976 _ACEOF
34977 rm -f conftest.$ac_objext conftest$ac_exeext
34978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34979 (eval $ac_link) 2>conftest.er1
34980 ac_status=$?
34981 grep -v '^ *+' conftest.er1 >conftest.err
34982 rm -f conftest.er1
34983 cat conftest.err >&5
34984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34985 (exit $ac_status); } &&
34986 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34988 (eval $ac_try) 2>&5
34989 ac_status=$?
34990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991 (exit $ac_status); }; } &&
34992 { ac_try='test -s conftest$ac_exeext'
34993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34994 (eval $ac_try) 2>&5
34995 ac_status=$?
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); }; }; then
34998 am_cv_func_iconv=yes
34999 else
35000 echo "$as_me: failed program was:" >&5
35001 sed 's/^/| /' conftest.$ac_ext >&5
35002
35003 fi
35004 rm -f conftest.err conftest.$ac_objext \
35005 conftest$ac_exeext conftest.$ac_ext
35006 if test "$am_cv_func_iconv" != yes; then
35007 am_save_LIBS="$LIBS"
35008 LIBS="$LIBS -liconv"
35009 cat >conftest.$ac_ext <<_ACEOF
35010 /* confdefs.h. */
35011 _ACEOF
35012 cat confdefs.h >>conftest.$ac_ext
35013 cat >>conftest.$ac_ext <<_ACEOF
35014 /* end confdefs.h. */
35015 #include <stdlib.h>
35016 #include <iconv.h>
35017 int
35018 main ()
35019 {
35020 iconv_t cd = iconv_open("","");
35021 iconv(cd,NULL,NULL,NULL,NULL);
35022 iconv_close(cd);
35023 ;
35024 return 0;
35025 }
35026 _ACEOF
35027 rm -f conftest.$ac_objext conftest$ac_exeext
35028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35029 (eval $ac_link) 2>conftest.er1
35030 ac_status=$?
35031 grep -v '^ *+' conftest.er1 >conftest.err
35032 rm -f conftest.er1
35033 cat conftest.err >&5
35034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35035 (exit $ac_status); } &&
35036 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35038 (eval $ac_try) 2>&5
35039 ac_status=$?
35040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35041 (exit $ac_status); }; } &&
35042 { ac_try='test -s conftest$ac_exeext'
35043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35044 (eval $ac_try) 2>&5
35045 ac_status=$?
35046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35047 (exit $ac_status); }; }; then
35048 am_cv_lib_iconv=yes
35049 am_cv_func_iconv=yes
35050 else
35051 echo "$as_me: failed program was:" >&5
35052 sed 's/^/| /' conftest.$ac_ext >&5
35053
35054 fi
35055 rm -f conftest.err conftest.$ac_objext \
35056 conftest$ac_exeext conftest.$ac_ext
35057 LIBS="$am_save_LIBS"
35058 fi
35059
35060 fi
35061 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35062 echo "${ECHO_T}$am_cv_func_iconv" >&6
35063 if test "$am_cv_func_iconv" = yes; then
35064
35065 cat >>confdefs.h <<\_ACEOF
35066 #define HAVE_ICONV 1
35067 _ACEOF
35068
35069 echo "$as_me:$LINENO: checking if iconv needs const" >&5
35070 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
35071 if test "${wx_cv_func_iconv_const+set}" = set; then
35072 echo $ECHO_N "(cached) $ECHO_C" >&6
35073 else
35074 cat >conftest.$ac_ext <<_ACEOF
35075 /* confdefs.h. */
35076 _ACEOF
35077 cat confdefs.h >>conftest.$ac_ext
35078 cat >>conftest.$ac_ext <<_ACEOF
35079 /* end confdefs.h. */
35080
35081 #include <stdlib.h>
35082 #include <iconv.h>
35083 extern
35084 #ifdef __cplusplus
35085 "C"
35086 #endif
35087 #if defined(__STDC__) || defined(__cplusplus)
35088 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35089 #else
35090 size_t iconv();
35091 #endif
35092
35093 int
35094 main ()
35095 {
35096
35097 ;
35098 return 0;
35099 }
35100 _ACEOF
35101 rm -f conftest.$ac_objext
35102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35103 (eval $ac_compile) 2>conftest.er1
35104 ac_status=$?
35105 grep -v '^ *+' conftest.er1 >conftest.err
35106 rm -f conftest.er1
35107 cat conftest.err >&5
35108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35109 (exit $ac_status); } &&
35110 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35112 (eval $ac_try) 2>&5
35113 ac_status=$?
35114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35115 (exit $ac_status); }; } &&
35116 { ac_try='test -s conftest.$ac_objext'
35117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35118 (eval $ac_try) 2>&5
35119 ac_status=$?
35120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35121 (exit $ac_status); }; }; then
35122 wx_cv_func_iconv_const="no"
35123 else
35124 echo "$as_me: failed program was:" >&5
35125 sed 's/^/| /' conftest.$ac_ext >&5
35126
35127 wx_cv_func_iconv_const="yes"
35128
35129 fi
35130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35131
35132 fi
35133 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35134 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
35135
35136 iconv_const=
35137 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35138 iconv_const="const"
35139 fi
35140
35141
35142 cat >>confdefs.h <<_ACEOF
35143 #define ICONV_CONST $iconv_const
35144 _ACEOF
35145
35146 fi
35147 LIBICONV=
35148 if test "$am_cv_lib_iconv" = yes; then
35149 LIBICONV="-liconv"
35150 fi
35151
35152
35153 LIBS="$LIBICONV $LIBS"
35154
35155 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35156
35157 for ac_func in sigaction
35158 do
35159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35160 echo "$as_me:$LINENO: checking for $ac_func" >&5
35161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35162 if eval "test \"\${$as_ac_var+set}\" = set"; then
35163 echo $ECHO_N "(cached) $ECHO_C" >&6
35164 else
35165 cat >conftest.$ac_ext <<_ACEOF
35166 /* confdefs.h. */
35167 _ACEOF
35168 cat confdefs.h >>conftest.$ac_ext
35169 cat >>conftest.$ac_ext <<_ACEOF
35170 /* end confdefs.h. */
35171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35173 #define $ac_func innocuous_$ac_func
35174
35175 /* System header to define __stub macros and hopefully few prototypes,
35176 which can conflict with char $ac_func (); below.
35177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35178 <limits.h> exists even on freestanding compilers. */
35179
35180 #ifdef __STDC__
35181 # include <limits.h>
35182 #else
35183 # include <assert.h>
35184 #endif
35185
35186 #undef $ac_func
35187
35188 /* Override any gcc2 internal prototype to avoid an error. */
35189 #ifdef __cplusplus
35190 extern "C"
35191 {
35192 #endif
35193 /* We use char because int might match the return type of a gcc2
35194 builtin and then its argument prototype would still apply. */
35195 char $ac_func ();
35196 /* The GNU C library defines this for functions which it implements
35197 to always fail with ENOSYS. Some functions are actually named
35198 something starting with __ and the normal name is an alias. */
35199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35200 choke me
35201 #else
35202 char (*f) () = $ac_func;
35203 #endif
35204 #ifdef __cplusplus
35205 }
35206 #endif
35207
35208 int
35209 main ()
35210 {
35211 return f != $ac_func;
35212 ;
35213 return 0;
35214 }
35215 _ACEOF
35216 rm -f conftest.$ac_objext conftest$ac_exeext
35217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35218 (eval $ac_link) 2>conftest.er1
35219 ac_status=$?
35220 grep -v '^ *+' conftest.er1 >conftest.err
35221 rm -f conftest.er1
35222 cat conftest.err >&5
35223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35224 (exit $ac_status); } &&
35225 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35227 (eval $ac_try) 2>&5
35228 ac_status=$?
35229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35230 (exit $ac_status); }; } &&
35231 { ac_try='test -s conftest$ac_exeext'
35232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35233 (eval $ac_try) 2>&5
35234 ac_status=$?
35235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35236 (exit $ac_status); }; }; then
35237 eval "$as_ac_var=yes"
35238 else
35239 echo "$as_me: failed program was:" >&5
35240 sed 's/^/| /' conftest.$ac_ext >&5
35241
35242 eval "$as_ac_var=no"
35243 fi
35244 rm -f conftest.err conftest.$ac_objext \
35245 conftest$ac_exeext conftest.$ac_ext
35246 fi
35247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35249 if test `eval echo '${'$as_ac_var'}'` = yes; then
35250 cat >>confdefs.h <<_ACEOF
35251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35252 _ACEOF
35253
35254 fi
35255 done
35256
35257
35258 if test "$ac_cv_func_sigaction" = "no"; then
35259 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35260 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35261 wxUSE_ON_FATAL_EXCEPTION=no
35262 fi
35263
35264 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35265 echo "$as_me:$LINENO: checking for sa_handler type" >&5
35266 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
35267 if test "${wx_cv_type_sa_handler+set}" = set; then
35268 echo $ECHO_N "(cached) $ECHO_C" >&6
35269 else
35270
35271 cat >conftest.$ac_ext <<_ACEOF
35272 /* confdefs.h. */
35273 _ACEOF
35274 cat confdefs.h >>conftest.$ac_ext
35275 cat >>conftest.$ac_ext <<_ACEOF
35276 /* end confdefs.h. */
35277 #include <signal.h>
35278 int
35279 main ()
35280 {
35281
35282 extern void testSigHandler(int);
35283
35284 struct sigaction sa;
35285 sa.sa_handler = testSigHandler;
35286
35287 ;
35288 return 0;
35289 }
35290 _ACEOF
35291 rm -f conftest.$ac_objext
35292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35293 (eval $ac_compile) 2>conftest.er1
35294 ac_status=$?
35295 grep -v '^ *+' conftest.er1 >conftest.err
35296 rm -f conftest.er1
35297 cat conftest.err >&5
35298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35299 (exit $ac_status); } &&
35300 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35302 (eval $ac_try) 2>&5
35303 ac_status=$?
35304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35305 (exit $ac_status); }; } &&
35306 { ac_try='test -s conftest.$ac_objext'
35307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35308 (eval $ac_try) 2>&5
35309 ac_status=$?
35310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35311 (exit $ac_status); }; }; then
35312
35313 wx_cv_type_sa_handler=int
35314
35315 else
35316 echo "$as_me: failed program was:" >&5
35317 sed 's/^/| /' conftest.$ac_ext >&5
35318
35319
35320 wx_cv_type_sa_handler=void
35321
35322 fi
35323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35324
35325 fi
35326 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35327 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
35328
35329 cat >>confdefs.h <<_ACEOF
35330 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35331 _ACEOF
35332
35333 fi
35334 fi
35335
35336 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35337 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35338 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
35339 if test "${wx_cv_func_backtrace+set}" = set; then
35340 echo $ECHO_N "(cached) $ECHO_C" >&6
35341 else
35342
35343 cat >conftest.$ac_ext <<_ACEOF
35344 /* confdefs.h. */
35345 _ACEOF
35346 cat confdefs.h >>conftest.$ac_ext
35347 cat >>conftest.$ac_ext <<_ACEOF
35348 /* end confdefs.h. */
35349 #include <execinfo.h>
35350 int
35351 main ()
35352 {
35353
35354 void *trace[1];
35355 char **messages;
35356
35357 backtrace(trace, 1);
35358 messages = backtrace_symbols(trace, 1);
35359
35360 ;
35361 return 0;
35362 }
35363 _ACEOF
35364 rm -f conftest.$ac_objext
35365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35366 (eval $ac_compile) 2>conftest.er1
35367 ac_status=$?
35368 grep -v '^ *+' conftest.er1 >conftest.err
35369 rm -f conftest.er1
35370 cat conftest.err >&5
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); } &&
35373 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35375 (eval $ac_try) 2>&5
35376 ac_status=$?
35377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35378 (exit $ac_status); }; } &&
35379 { ac_try='test -s conftest.$ac_objext'
35380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35381 (eval $ac_try) 2>&5
35382 ac_status=$?
35383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35384 (exit $ac_status); }; }; then
35385 wx_cv_func_backtrace=yes
35386 else
35387 echo "$as_me: failed program was:" >&5
35388 sed 's/^/| /' conftest.$ac_ext >&5
35389
35390 wx_cv_func_backtrace=no
35391
35392 fi
35393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35394
35395
35396 fi
35397 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35398 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
35399
35400
35401 if test "$wx_cv_func_backtrace" = "no"; then
35402 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35403 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35404 wxUSE_STACKWALKER=no
35405 else
35406 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35407 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
35408 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35409 echo $ECHO_N "(cached) $ECHO_C" >&6
35410 else
35411
35412 cat >conftest.$ac_ext <<_ACEOF
35413 /* confdefs.h. */
35414 _ACEOF
35415 cat confdefs.h >>conftest.$ac_ext
35416 cat >>conftest.$ac_ext <<_ACEOF
35417 /* end confdefs.h. */
35418 #include <cxxabi.h>
35419 int
35420 main ()
35421 {
35422
35423 int rc;
35424 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35425
35426 ;
35427 return 0;
35428 }
35429 _ACEOF
35430 rm -f conftest.$ac_objext conftest$ac_exeext
35431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35432 (eval $ac_link) 2>conftest.er1
35433 ac_status=$?
35434 grep -v '^ *+' conftest.er1 >conftest.err
35435 rm -f conftest.er1
35436 cat conftest.err >&5
35437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35438 (exit $ac_status); } &&
35439 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35441 (eval $ac_try) 2>&5
35442 ac_status=$?
35443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35444 (exit $ac_status); }; } &&
35445 { ac_try='test -s conftest$ac_exeext'
35446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35447 (eval $ac_try) 2>&5
35448 ac_status=$?
35449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35450 (exit $ac_status); }; }; then
35451 wx_cv_func_cxa_demangle=yes
35452 else
35453 echo "$as_me: failed program was:" >&5
35454 sed 's/^/| /' conftest.$ac_ext >&5
35455
35456 wx_cv_func_cxa_demangle=no
35457
35458 fi
35459 rm -f conftest.err conftest.$ac_objext \
35460 conftest$ac_exeext conftest.$ac_ext
35461
35462
35463 fi
35464 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35465 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
35466
35467 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35468 cat >>confdefs.h <<\_ACEOF
35469 #define HAVE_CXA_DEMANGLE 1
35470 _ACEOF
35471
35472 fi
35473 fi
35474 fi
35475
35476 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35477 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35478 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35479 wxUSE_STACKWALKER=no
35480 fi
35481
35482
35483
35484
35485 for ac_func in mkstemp mktemp
35486 do
35487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35488 echo "$as_me:$LINENO: checking for $ac_func" >&5
35489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35490 if eval "test \"\${$as_ac_var+set}\" = set"; then
35491 echo $ECHO_N "(cached) $ECHO_C" >&6
35492 else
35493 cat >conftest.$ac_ext <<_ACEOF
35494 /* confdefs.h. */
35495 _ACEOF
35496 cat confdefs.h >>conftest.$ac_ext
35497 cat >>conftest.$ac_ext <<_ACEOF
35498 /* end confdefs.h. */
35499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35501 #define $ac_func innocuous_$ac_func
35502
35503 /* System header to define __stub macros and hopefully few prototypes,
35504 which can conflict with char $ac_func (); below.
35505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35506 <limits.h> exists even on freestanding compilers. */
35507
35508 #ifdef __STDC__
35509 # include <limits.h>
35510 #else
35511 # include <assert.h>
35512 #endif
35513
35514 #undef $ac_func
35515
35516 /* Override any gcc2 internal prototype to avoid an error. */
35517 #ifdef __cplusplus
35518 extern "C"
35519 {
35520 #endif
35521 /* We use char because int might match the return type of a gcc2
35522 builtin and then its argument prototype would still apply. */
35523 char $ac_func ();
35524 /* The GNU C library defines this for functions which it implements
35525 to always fail with ENOSYS. Some functions are actually named
35526 something starting with __ and the normal name is an alias. */
35527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35528 choke me
35529 #else
35530 char (*f) () = $ac_func;
35531 #endif
35532 #ifdef __cplusplus
35533 }
35534 #endif
35535
35536 int
35537 main ()
35538 {
35539 return f != $ac_func;
35540 ;
35541 return 0;
35542 }
35543 _ACEOF
35544 rm -f conftest.$ac_objext conftest$ac_exeext
35545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35546 (eval $ac_link) 2>conftest.er1
35547 ac_status=$?
35548 grep -v '^ *+' conftest.er1 >conftest.err
35549 rm -f conftest.er1
35550 cat conftest.err >&5
35551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552 (exit $ac_status); } &&
35553 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
35559 { ac_try='test -s conftest$ac_exeext'
35560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35561 (eval $ac_try) 2>&5
35562 ac_status=$?
35563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564 (exit $ac_status); }; }; then
35565 eval "$as_ac_var=yes"
35566 else
35567 echo "$as_me: failed program was:" >&5
35568 sed 's/^/| /' conftest.$ac_ext >&5
35569
35570 eval "$as_ac_var=no"
35571 fi
35572 rm -f conftest.err conftest.$ac_objext \
35573 conftest$ac_exeext conftest.$ac_ext
35574 fi
35575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35577 if test `eval echo '${'$as_ac_var'}'` = yes; then
35578 cat >>confdefs.h <<_ACEOF
35579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35580 _ACEOF
35581 break
35582 fi
35583 done
35584
35585
35586 echo "$as_me:$LINENO: checking for statfs" >&5
35587 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
35588 if test "${wx_cv_func_statfs+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
35598 #if defined(__BSD__)
35599 #include <sys/param.h>
35600 #include <sys/mount.h>
35601 #else
35602 #include <sys/vfs.h>
35603 #endif
35604
35605 int
35606 main ()
35607 {
35608
35609 long l;
35610 struct statfs fs;
35611 statfs("/", &fs);
35612 l = fs.f_bsize;
35613 l += fs.f_blocks;
35614 l += fs.f_bavail;
35615
35616 ;
35617 return 0;
35618 }
35619 _ACEOF
35620 rm -f conftest.$ac_objext
35621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35622 (eval $ac_compile) 2>conftest.er1
35623 ac_status=$?
35624 grep -v '^ *+' conftest.er1 >conftest.err
35625 rm -f conftest.er1
35626 cat conftest.err >&5
35627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35628 (exit $ac_status); } &&
35629 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35631 (eval $ac_try) 2>&5
35632 ac_status=$?
35633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35634 (exit $ac_status); }; } &&
35635 { ac_try='test -s conftest.$ac_objext'
35636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35637 (eval $ac_try) 2>&5
35638 ac_status=$?
35639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35640 (exit $ac_status); }; }; then
35641 wx_cv_func_statfs=yes
35642 else
35643 echo "$as_me: failed program was:" >&5
35644 sed 's/^/| /' conftest.$ac_ext >&5
35645
35646 wx_cv_func_statfs=no
35647
35648 fi
35649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35650
35651 fi
35652 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35653 echo "${ECHO_T}$wx_cv_func_statfs" >&6
35654
35655 if test "$wx_cv_func_statfs" = "yes"; then
35656 echo "$as_me:$LINENO: checking for statfs declaration" >&5
35657 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
35658 if test "${wx_cv_func_statfs_decl+set}" = set; then
35659 echo $ECHO_N "(cached) $ECHO_C" >&6
35660 else
35661 cat >conftest.$ac_ext <<_ACEOF
35662 /* confdefs.h. */
35663 _ACEOF
35664 cat confdefs.h >>conftest.$ac_ext
35665 cat >>conftest.$ac_ext <<_ACEOF
35666 /* end confdefs.h. */
35667
35668 #if defined(__BSD__)
35669 #include <sys/param.h>
35670 #include <sys/mount.h>
35671 #else
35672 #include <sys/vfs.h>
35673 #endif
35674
35675 int
35676 main ()
35677 {
35678
35679 struct statfs fs;
35680 statfs("", &fs);
35681
35682 ;
35683 return 0;
35684 }
35685 _ACEOF
35686 rm -f conftest.$ac_objext
35687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35688 (eval $ac_compile) 2>conftest.er1
35689 ac_status=$?
35690 grep -v '^ *+' conftest.er1 >conftest.err
35691 rm -f conftest.er1
35692 cat conftest.err >&5
35693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35694 (exit $ac_status); } &&
35695 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35697 (eval $ac_try) 2>&5
35698 ac_status=$?
35699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35700 (exit $ac_status); }; } &&
35701 { ac_try='test -s conftest.$ac_objext'
35702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35703 (eval $ac_try) 2>&5
35704 ac_status=$?
35705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35706 (exit $ac_status); }; }; then
35707 wx_cv_func_statfs_decl=yes
35708 else
35709 echo "$as_me: failed program was:" >&5
35710 sed 's/^/| /' conftest.$ac_ext >&5
35711
35712 wx_cv_func_statfs_decl=no
35713
35714 fi
35715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35716
35717 fi
35718 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35719 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
35720
35721 if test "$wx_cv_func_statfs_decl" = "yes"; then
35722 cat >>confdefs.h <<\_ACEOF
35723 #define HAVE_STATFS_DECL 1
35724 _ACEOF
35725
35726 fi
35727
35728 wx_cv_type_statvfs_t="struct statfs"
35729 cat >>confdefs.h <<\_ACEOF
35730 #define HAVE_STATFS 1
35731 _ACEOF
35732
35733 else
35734 echo "$as_me:$LINENO: checking for statvfs" >&5
35735 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
35736 if test "${wx_cv_func_statvfs+set}" = set; then
35737 echo $ECHO_N "(cached) $ECHO_C" >&6
35738 else
35739 cat >conftest.$ac_ext <<_ACEOF
35740 /* confdefs.h. */
35741 _ACEOF
35742 cat confdefs.h >>conftest.$ac_ext
35743 cat >>conftest.$ac_ext <<_ACEOF
35744 /* end confdefs.h. */
35745
35746 #include <stddef.h>
35747 #include <sys/statvfs.h>
35748
35749 int
35750 main ()
35751 {
35752
35753 statvfs("/", NULL);
35754
35755 ;
35756 return 0;
35757 }
35758 _ACEOF
35759 rm -f conftest.$ac_objext
35760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35761 (eval $ac_compile) 2>conftest.er1
35762 ac_status=$?
35763 grep -v '^ *+' conftest.er1 >conftest.err
35764 rm -f conftest.er1
35765 cat conftest.err >&5
35766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35767 (exit $ac_status); } &&
35768 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35770 (eval $ac_try) 2>&5
35771 ac_status=$?
35772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35773 (exit $ac_status); }; } &&
35774 { ac_try='test -s conftest.$ac_objext'
35775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35776 (eval $ac_try) 2>&5
35777 ac_status=$?
35778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35779 (exit $ac_status); }; }; then
35780 wx_cv_func_statvfs=yes
35781 else
35782 echo "$as_me: failed program was:" >&5
35783 sed 's/^/| /' conftest.$ac_ext >&5
35784
35785 wx_cv_func_statvfs=no
35786
35787 fi
35788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35789
35790 fi
35791 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35792 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
35793
35794 if test "$wx_cv_func_statvfs" = "yes"; then
35795 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35796 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
35797 if test "${wx_cv_type_statvfs_t+set}" = set; then
35798 echo $ECHO_N "(cached) $ECHO_C" >&6
35799 else
35800 cat >conftest.$ac_ext <<_ACEOF
35801 /* confdefs.h. */
35802 _ACEOF
35803 cat confdefs.h >>conftest.$ac_ext
35804 cat >>conftest.$ac_ext <<_ACEOF
35805 /* end confdefs.h. */
35806
35807 #include <sys/statvfs.h>
35808
35809 int
35810 main ()
35811 {
35812
35813 long l;
35814 statvfs_t fs;
35815 statvfs("/", &fs);
35816 l = fs.f_bsize;
35817 l += fs.f_blocks;
35818 l += fs.f_bavail;
35819
35820 ;
35821 return 0;
35822 }
35823 _ACEOF
35824 rm -f conftest.$ac_objext
35825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35826 (eval $ac_compile) 2>conftest.er1
35827 ac_status=$?
35828 grep -v '^ *+' conftest.er1 >conftest.err
35829 rm -f conftest.er1
35830 cat conftest.err >&5
35831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35832 (exit $ac_status); } &&
35833 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35835 (eval $ac_try) 2>&5
35836 ac_status=$?
35837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35838 (exit $ac_status); }; } &&
35839 { ac_try='test -s conftest.$ac_objext'
35840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35841 (eval $ac_try) 2>&5
35842 ac_status=$?
35843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35844 (exit $ac_status); }; }; then
35845 wx_cv_type_statvfs_t=statvfs_t
35846 else
35847 echo "$as_me: failed program was:" >&5
35848 sed 's/^/| /' conftest.$ac_ext >&5
35849
35850
35851 cat >conftest.$ac_ext <<_ACEOF
35852 /* confdefs.h. */
35853 _ACEOF
35854 cat confdefs.h >>conftest.$ac_ext
35855 cat >>conftest.$ac_ext <<_ACEOF
35856 /* end confdefs.h. */
35857
35858 #include <sys/statvfs.h>
35859
35860 int
35861 main ()
35862 {
35863
35864 long l;
35865 struct statvfs fs;
35866 statvfs("/", &fs);
35867 l = fs.f_bsize;
35868 l += fs.f_blocks;
35869 l += fs.f_bavail;
35870
35871 ;
35872 return 0;
35873 }
35874 _ACEOF
35875 rm -f conftest.$ac_objext
35876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35877 (eval $ac_compile) 2>conftest.er1
35878 ac_status=$?
35879 grep -v '^ *+' conftest.er1 >conftest.err
35880 rm -f conftest.er1
35881 cat conftest.err >&5
35882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35883 (exit $ac_status); } &&
35884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35886 (eval $ac_try) 2>&5
35887 ac_status=$?
35888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35889 (exit $ac_status); }; } &&
35890 { ac_try='test -s conftest.$ac_objext'
35891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35892 (eval $ac_try) 2>&5
35893 ac_status=$?
35894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35895 (exit $ac_status); }; }; then
35896 wx_cv_type_statvfs_t="struct statvfs"
35897 else
35898 echo "$as_me: failed program was:" >&5
35899 sed 's/^/| /' conftest.$ac_ext >&5
35900
35901 wx_cv_type_statvfs_t="unknown"
35902
35903 fi
35904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35905
35906
35907 fi
35908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35909
35910 fi
35911 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
35912 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
35913
35914 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35915 cat >>confdefs.h <<\_ACEOF
35916 #define HAVE_STATVFS 1
35917 _ACEOF
35918
35919 fi
35920 else
35921 wx_cv_type_statvfs_t="unknown"
35922 fi
35923 fi
35924
35925 if test "$wx_cv_type_statvfs_t" != "unknown"; then
35926 cat >>confdefs.h <<_ACEOF
35927 #define WX_STATFS_T $wx_cv_type_statvfs_t
35928 _ACEOF
35929
35930 else
35931 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
35932 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
35933 fi
35934
35935 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
35936
35937
35938 for ac_func in fcntl flock
35939 do
35940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35941 echo "$as_me:$LINENO: checking for $ac_func" >&5
35942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35943 if eval "test \"\${$as_ac_var+set}\" = set"; then
35944 echo $ECHO_N "(cached) $ECHO_C" >&6
35945 else
35946 cat >conftest.$ac_ext <<_ACEOF
35947 /* confdefs.h. */
35948 _ACEOF
35949 cat confdefs.h >>conftest.$ac_ext
35950 cat >>conftest.$ac_ext <<_ACEOF
35951 /* end confdefs.h. */
35952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35954 #define $ac_func innocuous_$ac_func
35955
35956 /* System header to define __stub macros and hopefully few prototypes,
35957 which can conflict with char $ac_func (); below.
35958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35959 <limits.h> exists even on freestanding compilers. */
35960
35961 #ifdef __STDC__
35962 # include <limits.h>
35963 #else
35964 # include <assert.h>
35965 #endif
35966
35967 #undef $ac_func
35968
35969 /* Override any gcc2 internal prototype to avoid an error. */
35970 #ifdef __cplusplus
35971 extern "C"
35972 {
35973 #endif
35974 /* We use char because int might match the return type of a gcc2
35975 builtin and then its argument prototype would still apply. */
35976 char $ac_func ();
35977 /* The GNU C library defines this for functions which it implements
35978 to always fail with ENOSYS. Some functions are actually named
35979 something starting with __ and the normal name is an alias. */
35980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35981 choke me
35982 #else
35983 char (*f) () = $ac_func;
35984 #endif
35985 #ifdef __cplusplus
35986 }
35987 #endif
35988
35989 int
35990 main ()
35991 {
35992 return f != $ac_func;
35993 ;
35994 return 0;
35995 }
35996 _ACEOF
35997 rm -f conftest.$ac_objext conftest$ac_exeext
35998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35999 (eval $ac_link) 2>conftest.er1
36000 ac_status=$?
36001 grep -v '^ *+' conftest.er1 >conftest.err
36002 rm -f conftest.er1
36003 cat conftest.err >&5
36004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36005 (exit $ac_status); } &&
36006 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36008 (eval $ac_try) 2>&5
36009 ac_status=$?
36010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011 (exit $ac_status); }; } &&
36012 { ac_try='test -s conftest$ac_exeext'
36013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36014 (eval $ac_try) 2>&5
36015 ac_status=$?
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); }; }; then
36018 eval "$as_ac_var=yes"
36019 else
36020 echo "$as_me: failed program was:" >&5
36021 sed 's/^/| /' conftest.$ac_ext >&5
36022
36023 eval "$as_ac_var=no"
36024 fi
36025 rm -f conftest.err conftest.$ac_objext \
36026 conftest$ac_exeext conftest.$ac_ext
36027 fi
36028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36030 if test `eval echo '${'$as_ac_var'}'` = yes; then
36031 cat >>confdefs.h <<_ACEOF
36032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36033 _ACEOF
36034 break
36035 fi
36036 done
36037
36038
36039 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36040 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36041 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36042 wxUSE_SNGLINST_CHECKER=no
36043 fi
36044 fi
36045
36046
36047 for ac_func in timegm
36048 do
36049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36050 echo "$as_me:$LINENO: checking for $ac_func" >&5
36051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36052 if eval "test \"\${$as_ac_var+set}\" = set"; then
36053 echo $ECHO_N "(cached) $ECHO_C" >&6
36054 else
36055 cat >conftest.$ac_ext <<_ACEOF
36056 /* confdefs.h. */
36057 _ACEOF
36058 cat confdefs.h >>conftest.$ac_ext
36059 cat >>conftest.$ac_ext <<_ACEOF
36060 /* end confdefs.h. */
36061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36063 #define $ac_func innocuous_$ac_func
36064
36065 /* System header to define __stub macros and hopefully few prototypes,
36066 which can conflict with char $ac_func (); below.
36067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36068 <limits.h> exists even on freestanding compilers. */
36069
36070 #ifdef __STDC__
36071 # include <limits.h>
36072 #else
36073 # include <assert.h>
36074 #endif
36075
36076 #undef $ac_func
36077
36078 /* Override any gcc2 internal prototype to avoid an error. */
36079 #ifdef __cplusplus
36080 extern "C"
36081 {
36082 #endif
36083 /* We use char because int might match the return type of a gcc2
36084 builtin and then its argument prototype would still apply. */
36085 char $ac_func ();
36086 /* The GNU C library defines this for functions which it implements
36087 to always fail with ENOSYS. Some functions are actually named
36088 something starting with __ and the normal name is an alias. */
36089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36090 choke me
36091 #else
36092 char (*f) () = $ac_func;
36093 #endif
36094 #ifdef __cplusplus
36095 }
36096 #endif
36097
36098 int
36099 main ()
36100 {
36101 return f != $ac_func;
36102 ;
36103 return 0;
36104 }
36105 _ACEOF
36106 rm -f conftest.$ac_objext conftest$ac_exeext
36107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36108 (eval $ac_link) 2>conftest.er1
36109 ac_status=$?
36110 grep -v '^ *+' conftest.er1 >conftest.err
36111 rm -f conftest.er1
36112 cat conftest.err >&5
36113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36114 (exit $ac_status); } &&
36115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36117 (eval $ac_try) 2>&5
36118 ac_status=$?
36119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36120 (exit $ac_status); }; } &&
36121 { ac_try='test -s conftest$ac_exeext'
36122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36123 (eval $ac_try) 2>&5
36124 ac_status=$?
36125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36126 (exit $ac_status); }; }; then
36127 eval "$as_ac_var=yes"
36128 else
36129 echo "$as_me: failed program was:" >&5
36130 sed 's/^/| /' conftest.$ac_ext >&5
36131
36132 eval "$as_ac_var=no"
36133 fi
36134 rm -f conftest.err conftest.$ac_objext \
36135 conftest$ac_exeext conftest.$ac_ext
36136 fi
36137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36139 if test `eval echo '${'$as_ac_var'}'` = yes; then
36140 cat >>confdefs.h <<_ACEOF
36141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36142 _ACEOF
36143
36144 fi
36145 done
36146
36147
36148
36149
36150 for ac_func in putenv setenv
36151 do
36152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36153 echo "$as_me:$LINENO: checking for $ac_func" >&5
36154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36155 if eval "test \"\${$as_ac_var+set}\" = set"; then
36156 echo $ECHO_N "(cached) $ECHO_C" >&6
36157 else
36158 cat >conftest.$ac_ext <<_ACEOF
36159 /* confdefs.h. */
36160 _ACEOF
36161 cat confdefs.h >>conftest.$ac_ext
36162 cat >>conftest.$ac_ext <<_ACEOF
36163 /* end confdefs.h. */
36164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36166 #define $ac_func innocuous_$ac_func
36167
36168 /* System header to define __stub macros and hopefully few prototypes,
36169 which can conflict with char $ac_func (); below.
36170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36171 <limits.h> exists even on freestanding compilers. */
36172
36173 #ifdef __STDC__
36174 # include <limits.h>
36175 #else
36176 # include <assert.h>
36177 #endif
36178
36179 #undef $ac_func
36180
36181 /* Override any gcc2 internal prototype to avoid an error. */
36182 #ifdef __cplusplus
36183 extern "C"
36184 {
36185 #endif
36186 /* We use char because int might match the return type of a gcc2
36187 builtin and then its argument prototype would still apply. */
36188 char $ac_func ();
36189 /* The GNU C library defines this for functions which it implements
36190 to always fail with ENOSYS. Some functions are actually named
36191 something starting with __ and the normal name is an alias. */
36192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36193 choke me
36194 #else
36195 char (*f) () = $ac_func;
36196 #endif
36197 #ifdef __cplusplus
36198 }
36199 #endif
36200
36201 int
36202 main ()
36203 {
36204 return f != $ac_func;
36205 ;
36206 return 0;
36207 }
36208 _ACEOF
36209 rm -f conftest.$ac_objext conftest$ac_exeext
36210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36211 (eval $ac_link) 2>conftest.er1
36212 ac_status=$?
36213 grep -v '^ *+' conftest.er1 >conftest.err
36214 rm -f conftest.er1
36215 cat conftest.err >&5
36216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36217 (exit $ac_status); } &&
36218 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36220 (eval $ac_try) 2>&5
36221 ac_status=$?
36222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36223 (exit $ac_status); }; } &&
36224 { ac_try='test -s conftest$ac_exeext'
36225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36226 (eval $ac_try) 2>&5
36227 ac_status=$?
36228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36229 (exit $ac_status); }; }; then
36230 eval "$as_ac_var=yes"
36231 else
36232 echo "$as_me: failed program was:" >&5
36233 sed 's/^/| /' conftest.$ac_ext >&5
36234
36235 eval "$as_ac_var=no"
36236 fi
36237 rm -f conftest.err conftest.$ac_objext \
36238 conftest$ac_exeext conftest.$ac_ext
36239 fi
36240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36242 if test `eval echo '${'$as_ac_var'}'` = yes; then
36243 cat >>confdefs.h <<_ACEOF
36244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36245 _ACEOF
36246 break
36247 fi
36248 done
36249
36250
36251 HAVE_SOME_SLEEP_FUNC=0
36252 if test "$USE_BEOS" = 1; then
36253 cat >>confdefs.h <<\_ACEOF
36254 #define HAVE_SLEEP 1
36255 _ACEOF
36256
36257 HAVE_SOME_SLEEP_FUNC=1
36258 fi
36259
36260 if test "$USE_DARWIN" = 1; then
36261 cat >>confdefs.h <<\_ACEOF
36262 #define HAVE_USLEEP 1
36263 _ACEOF
36264
36265 HAVE_SOME_SLEEP_FUNC=1
36266 fi
36267
36268 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36269 POSIX4_LINK=
36270
36271 for ac_func in nanosleep
36272 do
36273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36274 echo "$as_me:$LINENO: checking for $ac_func" >&5
36275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36276 if eval "test \"\${$as_ac_var+set}\" = set"; then
36277 echo $ECHO_N "(cached) $ECHO_C" >&6
36278 else
36279 cat >conftest.$ac_ext <<_ACEOF
36280 /* confdefs.h. */
36281 _ACEOF
36282 cat confdefs.h >>conftest.$ac_ext
36283 cat >>conftest.$ac_ext <<_ACEOF
36284 /* end confdefs.h. */
36285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36287 #define $ac_func innocuous_$ac_func
36288
36289 /* System header to define __stub macros and hopefully few prototypes,
36290 which can conflict with char $ac_func (); below.
36291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36292 <limits.h> exists even on freestanding compilers. */
36293
36294 #ifdef __STDC__
36295 # include <limits.h>
36296 #else
36297 # include <assert.h>
36298 #endif
36299
36300 #undef $ac_func
36301
36302 /* Override any gcc2 internal prototype to avoid an error. */
36303 #ifdef __cplusplus
36304 extern "C"
36305 {
36306 #endif
36307 /* We use char because int might match the return type of a gcc2
36308 builtin and then its argument prototype would still apply. */
36309 char $ac_func ();
36310 /* The GNU C library defines this for functions which it implements
36311 to always fail with ENOSYS. Some functions are actually named
36312 something starting with __ and the normal name is an alias. */
36313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36314 choke me
36315 #else
36316 char (*f) () = $ac_func;
36317 #endif
36318 #ifdef __cplusplus
36319 }
36320 #endif
36321
36322 int
36323 main ()
36324 {
36325 return f != $ac_func;
36326 ;
36327 return 0;
36328 }
36329 _ACEOF
36330 rm -f conftest.$ac_objext conftest$ac_exeext
36331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36332 (eval $ac_link) 2>conftest.er1
36333 ac_status=$?
36334 grep -v '^ *+' conftest.er1 >conftest.err
36335 rm -f conftest.er1
36336 cat conftest.err >&5
36337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36338 (exit $ac_status); } &&
36339 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36341 (eval $ac_try) 2>&5
36342 ac_status=$?
36343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36344 (exit $ac_status); }; } &&
36345 { ac_try='test -s conftest$ac_exeext'
36346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36347 (eval $ac_try) 2>&5
36348 ac_status=$?
36349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36350 (exit $ac_status); }; }; then
36351 eval "$as_ac_var=yes"
36352 else
36353 echo "$as_me: failed program was:" >&5
36354 sed 's/^/| /' conftest.$ac_ext >&5
36355
36356 eval "$as_ac_var=no"
36357 fi
36358 rm -f conftest.err conftest.$ac_objext \
36359 conftest$ac_exeext conftest.$ac_ext
36360 fi
36361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36363 if test `eval echo '${'$as_ac_var'}'` = yes; then
36364 cat >>confdefs.h <<_ACEOF
36365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36366 _ACEOF
36367 cat >>confdefs.h <<\_ACEOF
36368 #define HAVE_NANOSLEEP 1
36369 _ACEOF
36370
36371 else
36372
36373 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36374 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
36375 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36376 echo $ECHO_N "(cached) $ECHO_C" >&6
36377 else
36378 ac_check_lib_save_LIBS=$LIBS
36379 LIBS="-lposix4 $LIBS"
36380 cat >conftest.$ac_ext <<_ACEOF
36381 /* confdefs.h. */
36382 _ACEOF
36383 cat confdefs.h >>conftest.$ac_ext
36384 cat >>conftest.$ac_ext <<_ACEOF
36385 /* end confdefs.h. */
36386
36387 /* Override any gcc2 internal prototype to avoid an error. */
36388 #ifdef __cplusplus
36389 extern "C"
36390 #endif
36391 /* We use char because int might match the return type of a gcc2
36392 builtin and then its argument prototype would still apply. */
36393 char nanosleep ();
36394 int
36395 main ()
36396 {
36397 nanosleep ();
36398 ;
36399 return 0;
36400 }
36401 _ACEOF
36402 rm -f conftest.$ac_objext conftest$ac_exeext
36403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36404 (eval $ac_link) 2>conftest.er1
36405 ac_status=$?
36406 grep -v '^ *+' conftest.er1 >conftest.err
36407 rm -f conftest.er1
36408 cat conftest.err >&5
36409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36410 (exit $ac_status); } &&
36411 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36413 (eval $ac_try) 2>&5
36414 ac_status=$?
36415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36416 (exit $ac_status); }; } &&
36417 { ac_try='test -s conftest$ac_exeext'
36418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36419 (eval $ac_try) 2>&5
36420 ac_status=$?
36421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36422 (exit $ac_status); }; }; then
36423 ac_cv_lib_posix4_nanosleep=yes
36424 else
36425 echo "$as_me: failed program was:" >&5
36426 sed 's/^/| /' conftest.$ac_ext >&5
36427
36428 ac_cv_lib_posix4_nanosleep=no
36429 fi
36430 rm -f conftest.err conftest.$ac_objext \
36431 conftest$ac_exeext conftest.$ac_ext
36432 LIBS=$ac_check_lib_save_LIBS
36433 fi
36434 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36435 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
36436 if test $ac_cv_lib_posix4_nanosleep = yes; then
36437
36438 cat >>confdefs.h <<\_ACEOF
36439 #define HAVE_NANOSLEEP 1
36440 _ACEOF
36441
36442 POSIX4_LINK=" -lposix4"
36443
36444 else
36445
36446
36447 for ac_func in usleep
36448 do
36449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36450 echo "$as_me:$LINENO: checking for $ac_func" >&5
36451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36452 if eval "test \"\${$as_ac_var+set}\" = set"; then
36453 echo $ECHO_N "(cached) $ECHO_C" >&6
36454 else
36455 cat >conftest.$ac_ext <<_ACEOF
36456 /* confdefs.h. */
36457 _ACEOF
36458 cat confdefs.h >>conftest.$ac_ext
36459 cat >>conftest.$ac_ext <<_ACEOF
36460 /* end confdefs.h. */
36461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36463 #define $ac_func innocuous_$ac_func
36464
36465 /* System header to define __stub macros and hopefully few prototypes,
36466 which can conflict with char $ac_func (); below.
36467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36468 <limits.h> exists even on freestanding compilers. */
36469
36470 #ifdef __STDC__
36471 # include <limits.h>
36472 #else
36473 # include <assert.h>
36474 #endif
36475
36476 #undef $ac_func
36477
36478 /* Override any gcc2 internal prototype to avoid an error. */
36479 #ifdef __cplusplus
36480 extern "C"
36481 {
36482 #endif
36483 /* We use char because int might match the return type of a gcc2
36484 builtin and then its argument prototype would still apply. */
36485 char $ac_func ();
36486 /* The GNU C library defines this for functions which it implements
36487 to always fail with ENOSYS. Some functions are actually named
36488 something starting with __ and the normal name is an alias. */
36489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36490 choke me
36491 #else
36492 char (*f) () = $ac_func;
36493 #endif
36494 #ifdef __cplusplus
36495 }
36496 #endif
36497
36498 int
36499 main ()
36500 {
36501 return f != $ac_func;
36502 ;
36503 return 0;
36504 }
36505 _ACEOF
36506 rm -f conftest.$ac_objext conftest$ac_exeext
36507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36508 (eval $ac_link) 2>conftest.er1
36509 ac_status=$?
36510 grep -v '^ *+' conftest.er1 >conftest.err
36511 rm -f conftest.er1
36512 cat conftest.err >&5
36513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36514 (exit $ac_status); } &&
36515 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36517 (eval $ac_try) 2>&5
36518 ac_status=$?
36519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36520 (exit $ac_status); }; } &&
36521 { ac_try='test -s conftest$ac_exeext'
36522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36523 (eval $ac_try) 2>&5
36524 ac_status=$?
36525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36526 (exit $ac_status); }; }; then
36527 eval "$as_ac_var=yes"
36528 else
36529 echo "$as_me: failed program was:" >&5
36530 sed 's/^/| /' conftest.$ac_ext >&5
36531
36532 eval "$as_ac_var=no"
36533 fi
36534 rm -f conftest.err conftest.$ac_objext \
36535 conftest$ac_exeext conftest.$ac_ext
36536 fi
36537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36539 if test `eval echo '${'$as_ac_var'}'` = yes; then
36540 cat >>confdefs.h <<_ACEOF
36541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36542 _ACEOF
36543 cat >>confdefs.h <<\_ACEOF
36544 #define HAVE_USLEEP 1
36545 _ACEOF
36546
36547 else
36548 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36549 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36550
36551 fi
36552 done
36553
36554
36555
36556 fi
36557
36558
36559
36560 fi
36561 done
36562
36563 fi
36564
36565
36566
36567 for ac_func in uname gethostname
36568 do
36569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36570 echo "$as_me:$LINENO: checking for $ac_func" >&5
36571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36572 if eval "test \"\${$as_ac_var+set}\" = set"; then
36573 echo $ECHO_N "(cached) $ECHO_C" >&6
36574 else
36575 cat >conftest.$ac_ext <<_ACEOF
36576 /* confdefs.h. */
36577 _ACEOF
36578 cat confdefs.h >>conftest.$ac_ext
36579 cat >>conftest.$ac_ext <<_ACEOF
36580 /* end confdefs.h. */
36581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36583 #define $ac_func innocuous_$ac_func
36584
36585 /* System header to define __stub macros and hopefully few prototypes,
36586 which can conflict with char $ac_func (); below.
36587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36588 <limits.h> exists even on freestanding compilers. */
36589
36590 #ifdef __STDC__
36591 # include <limits.h>
36592 #else
36593 # include <assert.h>
36594 #endif
36595
36596 #undef $ac_func
36597
36598 /* Override any gcc2 internal prototype to avoid an error. */
36599 #ifdef __cplusplus
36600 extern "C"
36601 {
36602 #endif
36603 /* We use char because int might match the return type of a gcc2
36604 builtin and then its argument prototype would still apply. */
36605 char $ac_func ();
36606 /* The GNU C library defines this for functions which it implements
36607 to always fail with ENOSYS. Some functions are actually named
36608 something starting with __ and the normal name is an alias. */
36609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36610 choke me
36611 #else
36612 char (*f) () = $ac_func;
36613 #endif
36614 #ifdef __cplusplus
36615 }
36616 #endif
36617
36618 int
36619 main ()
36620 {
36621 return f != $ac_func;
36622 ;
36623 return 0;
36624 }
36625 _ACEOF
36626 rm -f conftest.$ac_objext conftest$ac_exeext
36627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36628 (eval $ac_link) 2>conftest.er1
36629 ac_status=$?
36630 grep -v '^ *+' conftest.er1 >conftest.err
36631 rm -f conftest.er1
36632 cat conftest.err >&5
36633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36634 (exit $ac_status); } &&
36635 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36637 (eval $ac_try) 2>&5
36638 ac_status=$?
36639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36640 (exit $ac_status); }; } &&
36641 { ac_try='test -s conftest$ac_exeext'
36642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36643 (eval $ac_try) 2>&5
36644 ac_status=$?
36645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36646 (exit $ac_status); }; }; then
36647 eval "$as_ac_var=yes"
36648 else
36649 echo "$as_me: failed program was:" >&5
36650 sed 's/^/| /' conftest.$ac_ext >&5
36651
36652 eval "$as_ac_var=no"
36653 fi
36654 rm -f conftest.err conftest.$ac_objext \
36655 conftest$ac_exeext conftest.$ac_ext
36656 fi
36657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36659 if test `eval echo '${'$as_ac_var'}'` = yes; then
36660 cat >>confdefs.h <<_ACEOF
36661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36662 _ACEOF
36663 break
36664 fi
36665 done
36666
36667
36668
36669 for ac_func in strtok_r
36670 do
36671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36672 echo "$as_me:$LINENO: checking for $ac_func" >&5
36673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36674 if eval "test \"\${$as_ac_var+set}\" = set"; then
36675 echo $ECHO_N "(cached) $ECHO_C" >&6
36676 else
36677 cat >conftest.$ac_ext <<_ACEOF
36678 /* confdefs.h. */
36679 _ACEOF
36680 cat confdefs.h >>conftest.$ac_ext
36681 cat >>conftest.$ac_ext <<_ACEOF
36682 /* end confdefs.h. */
36683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36685 #define $ac_func innocuous_$ac_func
36686
36687 /* System header to define __stub macros and hopefully few prototypes,
36688 which can conflict with char $ac_func (); below.
36689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36690 <limits.h> exists even on freestanding compilers. */
36691
36692 #ifdef __STDC__
36693 # include <limits.h>
36694 #else
36695 # include <assert.h>
36696 #endif
36697
36698 #undef $ac_func
36699
36700 /* Override any gcc2 internal prototype to avoid an error. */
36701 #ifdef __cplusplus
36702 extern "C"
36703 {
36704 #endif
36705 /* We use char because int might match the return type of a gcc2
36706 builtin and then its argument prototype would still apply. */
36707 char $ac_func ();
36708 /* The GNU C library defines this for functions which it implements
36709 to always fail with ENOSYS. Some functions are actually named
36710 something starting with __ and the normal name is an alias. */
36711 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36712 choke me
36713 #else
36714 char (*f) () = $ac_func;
36715 #endif
36716 #ifdef __cplusplus
36717 }
36718 #endif
36719
36720 int
36721 main ()
36722 {
36723 return f != $ac_func;
36724 ;
36725 return 0;
36726 }
36727 _ACEOF
36728 rm -f conftest.$ac_objext conftest$ac_exeext
36729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36730 (eval $ac_link) 2>conftest.er1
36731 ac_status=$?
36732 grep -v '^ *+' conftest.er1 >conftest.err
36733 rm -f conftest.er1
36734 cat conftest.err >&5
36735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36736 (exit $ac_status); } &&
36737 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36739 (eval $ac_try) 2>&5
36740 ac_status=$?
36741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36742 (exit $ac_status); }; } &&
36743 { ac_try='test -s conftest$ac_exeext'
36744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36745 (eval $ac_try) 2>&5
36746 ac_status=$?
36747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36748 (exit $ac_status); }; }; then
36749 eval "$as_ac_var=yes"
36750 else
36751 echo "$as_me: failed program was:" >&5
36752 sed 's/^/| /' conftest.$ac_ext >&5
36753
36754 eval "$as_ac_var=no"
36755 fi
36756 rm -f conftest.err conftest.$ac_objext \
36757 conftest$ac_exeext conftest.$ac_ext
36758 fi
36759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36761 if test `eval echo '${'$as_ac_var'}'` = yes; then
36762 cat >>confdefs.h <<_ACEOF
36763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36764 _ACEOF
36765
36766 fi
36767 done
36768
36769
36770 INET_LINK=
36771
36772 for ac_func in inet_addr
36773 do
36774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36775 echo "$as_me:$LINENO: checking for $ac_func" >&5
36776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36777 if eval "test \"\${$as_ac_var+set}\" = set"; then
36778 echo $ECHO_N "(cached) $ECHO_C" >&6
36779 else
36780 cat >conftest.$ac_ext <<_ACEOF
36781 /* confdefs.h. */
36782 _ACEOF
36783 cat confdefs.h >>conftest.$ac_ext
36784 cat >>conftest.$ac_ext <<_ACEOF
36785 /* end confdefs.h. */
36786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36788 #define $ac_func innocuous_$ac_func
36789
36790 /* System header to define __stub macros and hopefully few prototypes,
36791 which can conflict with char $ac_func (); below.
36792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36793 <limits.h> exists even on freestanding compilers. */
36794
36795 #ifdef __STDC__
36796 # include <limits.h>
36797 #else
36798 # include <assert.h>
36799 #endif
36800
36801 #undef $ac_func
36802
36803 /* Override any gcc2 internal prototype to avoid an error. */
36804 #ifdef __cplusplus
36805 extern "C"
36806 {
36807 #endif
36808 /* We use char because int might match the return type of a gcc2
36809 builtin and then its argument prototype would still apply. */
36810 char $ac_func ();
36811 /* The GNU C library defines this for functions which it implements
36812 to always fail with ENOSYS. Some functions are actually named
36813 something starting with __ and the normal name is an alias. */
36814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36815 choke me
36816 #else
36817 char (*f) () = $ac_func;
36818 #endif
36819 #ifdef __cplusplus
36820 }
36821 #endif
36822
36823 int
36824 main ()
36825 {
36826 return f != $ac_func;
36827 ;
36828 return 0;
36829 }
36830 _ACEOF
36831 rm -f conftest.$ac_objext conftest$ac_exeext
36832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36833 (eval $ac_link) 2>conftest.er1
36834 ac_status=$?
36835 grep -v '^ *+' conftest.er1 >conftest.err
36836 rm -f conftest.er1
36837 cat conftest.err >&5
36838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36839 (exit $ac_status); } &&
36840 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36842 (eval $ac_try) 2>&5
36843 ac_status=$?
36844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36845 (exit $ac_status); }; } &&
36846 { ac_try='test -s conftest$ac_exeext'
36847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36848 (eval $ac_try) 2>&5
36849 ac_status=$?
36850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36851 (exit $ac_status); }; }; then
36852 eval "$as_ac_var=yes"
36853 else
36854 echo "$as_me: failed program was:" >&5
36855 sed 's/^/| /' conftest.$ac_ext >&5
36856
36857 eval "$as_ac_var=no"
36858 fi
36859 rm -f conftest.err conftest.$ac_objext \
36860 conftest$ac_exeext conftest.$ac_ext
36861 fi
36862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36864 if test `eval echo '${'$as_ac_var'}'` = yes; then
36865 cat >>confdefs.h <<_ACEOF
36866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36867 _ACEOF
36868 cat >>confdefs.h <<\_ACEOF
36869 #define HAVE_INET_ADDR 1
36870 _ACEOF
36871
36872 else
36873
36874 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36875 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
36876 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
36877 echo $ECHO_N "(cached) $ECHO_C" >&6
36878 else
36879 ac_check_lib_save_LIBS=$LIBS
36880 LIBS="-lnsl $LIBS"
36881 cat >conftest.$ac_ext <<_ACEOF
36882 /* confdefs.h. */
36883 _ACEOF
36884 cat confdefs.h >>conftest.$ac_ext
36885 cat >>conftest.$ac_ext <<_ACEOF
36886 /* end confdefs.h. */
36887
36888 /* Override any gcc2 internal prototype to avoid an error. */
36889 #ifdef __cplusplus
36890 extern "C"
36891 #endif
36892 /* We use char because int might match the return type of a gcc2
36893 builtin and then its argument prototype would still apply. */
36894 char inet_addr ();
36895 int
36896 main ()
36897 {
36898 inet_addr ();
36899 ;
36900 return 0;
36901 }
36902 _ACEOF
36903 rm -f conftest.$ac_objext conftest$ac_exeext
36904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36905 (eval $ac_link) 2>conftest.er1
36906 ac_status=$?
36907 grep -v '^ *+' conftest.er1 >conftest.err
36908 rm -f conftest.er1
36909 cat conftest.err >&5
36910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36911 (exit $ac_status); } &&
36912 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36914 (eval $ac_try) 2>&5
36915 ac_status=$?
36916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36917 (exit $ac_status); }; } &&
36918 { ac_try='test -s conftest$ac_exeext'
36919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36920 (eval $ac_try) 2>&5
36921 ac_status=$?
36922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36923 (exit $ac_status); }; }; then
36924 ac_cv_lib_nsl_inet_addr=yes
36925 else
36926 echo "$as_me: failed program was:" >&5
36927 sed 's/^/| /' conftest.$ac_ext >&5
36928
36929 ac_cv_lib_nsl_inet_addr=no
36930 fi
36931 rm -f conftest.err conftest.$ac_objext \
36932 conftest$ac_exeext conftest.$ac_ext
36933 LIBS=$ac_check_lib_save_LIBS
36934 fi
36935 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
36936 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
36937 if test $ac_cv_lib_nsl_inet_addr = yes; then
36938 INET_LINK="nsl"
36939 else
36940
36941 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
36942 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
36943 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
36944 echo $ECHO_N "(cached) $ECHO_C" >&6
36945 else
36946 ac_check_lib_save_LIBS=$LIBS
36947 LIBS="-lresolv $LIBS"
36948 cat >conftest.$ac_ext <<_ACEOF
36949 /* confdefs.h. */
36950 _ACEOF
36951 cat confdefs.h >>conftest.$ac_ext
36952 cat >>conftest.$ac_ext <<_ACEOF
36953 /* end confdefs.h. */
36954
36955 /* Override any gcc2 internal prototype to avoid an error. */
36956 #ifdef __cplusplus
36957 extern "C"
36958 #endif
36959 /* We use char because int might match the return type of a gcc2
36960 builtin and then its argument prototype would still apply. */
36961 char inet_addr ();
36962 int
36963 main ()
36964 {
36965 inet_addr ();
36966 ;
36967 return 0;
36968 }
36969 _ACEOF
36970 rm -f conftest.$ac_objext conftest$ac_exeext
36971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36972 (eval $ac_link) 2>conftest.er1
36973 ac_status=$?
36974 grep -v '^ *+' conftest.er1 >conftest.err
36975 rm -f conftest.er1
36976 cat conftest.err >&5
36977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36978 (exit $ac_status); } &&
36979 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36981 (eval $ac_try) 2>&5
36982 ac_status=$?
36983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36984 (exit $ac_status); }; } &&
36985 { ac_try='test -s conftest$ac_exeext'
36986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36987 (eval $ac_try) 2>&5
36988 ac_status=$?
36989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36990 (exit $ac_status); }; }; then
36991 ac_cv_lib_resolv_inet_addr=yes
36992 else
36993 echo "$as_me: failed program was:" >&5
36994 sed 's/^/| /' conftest.$ac_ext >&5
36995
36996 ac_cv_lib_resolv_inet_addr=no
36997 fi
36998 rm -f conftest.err conftest.$ac_objext \
36999 conftest$ac_exeext conftest.$ac_ext
37000 LIBS=$ac_check_lib_save_LIBS
37001 fi
37002 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37003 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
37004 if test $ac_cv_lib_resolv_inet_addr = yes; then
37005 INET_LINK="resolv"
37006 else
37007
37008 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37009 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
37010 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37011 echo $ECHO_N "(cached) $ECHO_C" >&6
37012 else
37013 ac_check_lib_save_LIBS=$LIBS
37014 LIBS="-lsocket $LIBS"
37015 cat >conftest.$ac_ext <<_ACEOF
37016 /* confdefs.h. */
37017 _ACEOF
37018 cat confdefs.h >>conftest.$ac_ext
37019 cat >>conftest.$ac_ext <<_ACEOF
37020 /* end confdefs.h. */
37021
37022 /* Override any gcc2 internal prototype to avoid an error. */
37023 #ifdef __cplusplus
37024 extern "C"
37025 #endif
37026 /* We use char because int might match the return type of a gcc2
37027 builtin and then its argument prototype would still apply. */
37028 char inet_addr ();
37029 int
37030 main ()
37031 {
37032 inet_addr ();
37033 ;
37034 return 0;
37035 }
37036 _ACEOF
37037 rm -f conftest.$ac_objext conftest$ac_exeext
37038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37039 (eval $ac_link) 2>conftest.er1
37040 ac_status=$?
37041 grep -v '^ *+' conftest.er1 >conftest.err
37042 rm -f conftest.er1
37043 cat conftest.err >&5
37044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37045 (exit $ac_status); } &&
37046 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37048 (eval $ac_try) 2>&5
37049 ac_status=$?
37050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37051 (exit $ac_status); }; } &&
37052 { ac_try='test -s conftest$ac_exeext'
37053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37054 (eval $ac_try) 2>&5
37055 ac_status=$?
37056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37057 (exit $ac_status); }; }; then
37058 ac_cv_lib_socket_inet_addr=yes
37059 else
37060 echo "$as_me: failed program was:" >&5
37061 sed 's/^/| /' conftest.$ac_ext >&5
37062
37063 ac_cv_lib_socket_inet_addr=no
37064 fi
37065 rm -f conftest.err conftest.$ac_objext \
37066 conftest$ac_exeext conftest.$ac_ext
37067 LIBS=$ac_check_lib_save_LIBS
37068 fi
37069 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37070 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
37071 if test $ac_cv_lib_socket_inet_addr = yes; then
37072 INET_LINK="socket"
37073
37074 fi
37075
37076
37077
37078 fi
37079
37080
37081
37082 fi
37083
37084
37085
37086 fi
37087 done
37088
37089
37090
37091 for ac_func in inet_aton
37092 do
37093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37094 echo "$as_me:$LINENO: checking for $ac_func" >&5
37095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37096 if eval "test \"\${$as_ac_var+set}\" = set"; then
37097 echo $ECHO_N "(cached) $ECHO_C" >&6
37098 else
37099 cat >conftest.$ac_ext <<_ACEOF
37100 /* confdefs.h. */
37101 _ACEOF
37102 cat confdefs.h >>conftest.$ac_ext
37103 cat >>conftest.$ac_ext <<_ACEOF
37104 /* end confdefs.h. */
37105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37107 #define $ac_func innocuous_$ac_func
37108
37109 /* System header to define __stub macros and hopefully few prototypes,
37110 which can conflict with char $ac_func (); below.
37111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37112 <limits.h> exists even on freestanding compilers. */
37113
37114 #ifdef __STDC__
37115 # include <limits.h>
37116 #else
37117 # include <assert.h>
37118 #endif
37119
37120 #undef $ac_func
37121
37122 /* Override any gcc2 internal prototype to avoid an error. */
37123 #ifdef __cplusplus
37124 extern "C"
37125 {
37126 #endif
37127 /* We use char because int might match the return type of a gcc2
37128 builtin and then its argument prototype would still apply. */
37129 char $ac_func ();
37130 /* The GNU C library defines this for functions which it implements
37131 to always fail with ENOSYS. Some functions are actually named
37132 something starting with __ and the normal name is an alias. */
37133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37134 choke me
37135 #else
37136 char (*f) () = $ac_func;
37137 #endif
37138 #ifdef __cplusplus
37139 }
37140 #endif
37141
37142 int
37143 main ()
37144 {
37145 return f != $ac_func;
37146 ;
37147 return 0;
37148 }
37149 _ACEOF
37150 rm -f conftest.$ac_objext conftest$ac_exeext
37151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37152 (eval $ac_link) 2>conftest.er1
37153 ac_status=$?
37154 grep -v '^ *+' conftest.er1 >conftest.err
37155 rm -f conftest.er1
37156 cat conftest.err >&5
37157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37158 (exit $ac_status); } &&
37159 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37161 (eval $ac_try) 2>&5
37162 ac_status=$?
37163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37164 (exit $ac_status); }; } &&
37165 { ac_try='test -s conftest$ac_exeext'
37166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37167 (eval $ac_try) 2>&5
37168 ac_status=$?
37169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37170 (exit $ac_status); }; }; then
37171 eval "$as_ac_var=yes"
37172 else
37173 echo "$as_me: failed program was:" >&5
37174 sed 's/^/| /' conftest.$ac_ext >&5
37175
37176 eval "$as_ac_var=no"
37177 fi
37178 rm -f conftest.err conftest.$ac_objext \
37179 conftest$ac_exeext conftest.$ac_ext
37180 fi
37181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37183 if test `eval echo '${'$as_ac_var'}'` = yes; then
37184 cat >>confdefs.h <<_ACEOF
37185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37186 _ACEOF
37187 cat >>confdefs.h <<\_ACEOF
37188 #define HAVE_INET_ATON 1
37189 _ACEOF
37190
37191 else
37192
37193 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37194 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37195 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
37196 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
37197 echo $ECHO_N "(cached) $ECHO_C" >&6
37198 else
37199 ac_check_lib_save_LIBS=$LIBS
37200 LIBS="-l$INET_LINK $LIBS"
37201 cat >conftest.$ac_ext <<_ACEOF
37202 /* confdefs.h. */
37203 _ACEOF
37204 cat confdefs.h >>conftest.$ac_ext
37205 cat >>conftest.$ac_ext <<_ACEOF
37206 /* end confdefs.h. */
37207
37208 /* Override any gcc2 internal prototype to avoid an error. */
37209 #ifdef __cplusplus
37210 extern "C"
37211 #endif
37212 /* We use char because int might match the return type of a gcc2
37213 builtin and then its argument prototype would still apply. */
37214 char inet_aton ();
37215 int
37216 main ()
37217 {
37218 inet_aton ();
37219 ;
37220 return 0;
37221 }
37222 _ACEOF
37223 rm -f conftest.$ac_objext conftest$ac_exeext
37224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37225 (eval $ac_link) 2>conftest.er1
37226 ac_status=$?
37227 grep -v '^ *+' conftest.er1 >conftest.err
37228 rm -f conftest.er1
37229 cat conftest.err >&5
37230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37231 (exit $ac_status); } &&
37232 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37234 (eval $ac_try) 2>&5
37235 ac_status=$?
37236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37237 (exit $ac_status); }; } &&
37238 { ac_try='test -s conftest$ac_exeext'
37239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37240 (eval $ac_try) 2>&5
37241 ac_status=$?
37242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37243 (exit $ac_status); }; }; then
37244 eval "$as_ac_Lib=yes"
37245 else
37246 echo "$as_me: failed program was:" >&5
37247 sed 's/^/| /' conftest.$ac_ext >&5
37248
37249 eval "$as_ac_Lib=no"
37250 fi
37251 rm -f conftest.err conftest.$ac_objext \
37252 conftest$ac_exeext conftest.$ac_ext
37253 LIBS=$ac_check_lib_save_LIBS
37254 fi
37255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
37256 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
37257 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37258 cat >>confdefs.h <<\_ACEOF
37259 #define HAVE_INET_ATON 1
37260 _ACEOF
37261
37262 fi
37263
37264
37265 fi
37266 done
37267
37268
37269 if test "x$INET_LINK" != "x"; then
37270 cat >>confdefs.h <<\_ACEOF
37271 #define HAVE_INET_ADDR 1
37272 _ACEOF
37273
37274 INET_LINK=" -l$INET_LINK"
37275 fi
37276
37277 fi
37278
37279
37280
37281 EXTRALIBS_ESD=
37282 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
37283 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
37284 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
37285 echo $ECHO_N "(cached) $ECHO_C" >&6
37286 else
37287 ac_check_lib_save_LIBS=$LIBS
37288 LIBS="-lesd $LIBS"
37289 cat >conftest.$ac_ext <<_ACEOF
37290 /* confdefs.h. */
37291 _ACEOF
37292 cat confdefs.h >>conftest.$ac_ext
37293 cat >>conftest.$ac_ext <<_ACEOF
37294 /* end confdefs.h. */
37295
37296 /* Override any gcc2 internal prototype to avoid an error. */
37297 #ifdef __cplusplus
37298 extern "C"
37299 #endif
37300 /* We use char because int might match the return type of a gcc2
37301 builtin and then its argument prototype would still apply. */
37302 char esd_close ();
37303 int
37304 main ()
37305 {
37306 esd_close ();
37307 ;
37308 return 0;
37309 }
37310 _ACEOF
37311 rm -f conftest.$ac_objext conftest$ac_exeext
37312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37313 (eval $ac_link) 2>conftest.er1
37314 ac_status=$?
37315 grep -v '^ *+' conftest.er1 >conftest.err
37316 rm -f conftest.er1
37317 cat conftest.err >&5
37318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37319 (exit $ac_status); } &&
37320 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37322 (eval $ac_try) 2>&5
37323 ac_status=$?
37324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37325 (exit $ac_status); }; } &&
37326 { ac_try='test -s conftest$ac_exeext'
37327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37328 (eval $ac_try) 2>&5
37329 ac_status=$?
37330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37331 (exit $ac_status); }; }; then
37332 ac_cv_lib_esd_esd_close=yes
37333 else
37334 echo "$as_me: failed program was:" >&5
37335 sed 's/^/| /' conftest.$ac_ext >&5
37336
37337 ac_cv_lib_esd_esd_close=no
37338 fi
37339 rm -f conftest.err conftest.$ac_objext \
37340 conftest$ac_exeext conftest.$ac_ext
37341 LIBS=$ac_check_lib_save_LIBS
37342 fi
37343 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37344 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
37345 if test $ac_cv_lib_esd_esd_close = yes; then
37346
37347
37348 for ac_header in esd.h
37349 do
37350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37352 echo "$as_me:$LINENO: checking for $ac_header" >&5
37353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37354 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37355 echo $ECHO_N "(cached) $ECHO_C" >&6
37356 fi
37357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37358 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37359 else
37360 # Is the header compilable?
37361 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37363 cat >conftest.$ac_ext <<_ACEOF
37364 /* confdefs.h. */
37365 _ACEOF
37366 cat confdefs.h >>conftest.$ac_ext
37367 cat >>conftest.$ac_ext <<_ACEOF
37368 /* end confdefs.h. */
37369 $ac_includes_default
37370 #include <$ac_header>
37371 _ACEOF
37372 rm -f conftest.$ac_objext
37373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37374 (eval $ac_compile) 2>conftest.er1
37375 ac_status=$?
37376 grep -v '^ *+' conftest.er1 >conftest.err
37377 rm -f conftest.er1
37378 cat conftest.err >&5
37379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37380 (exit $ac_status); } &&
37381 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37383 (eval $ac_try) 2>&5
37384 ac_status=$?
37385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37386 (exit $ac_status); }; } &&
37387 { ac_try='test -s conftest.$ac_objext'
37388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37389 (eval $ac_try) 2>&5
37390 ac_status=$?
37391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37392 (exit $ac_status); }; }; then
37393 ac_header_compiler=yes
37394 else
37395 echo "$as_me: failed program was:" >&5
37396 sed 's/^/| /' conftest.$ac_ext >&5
37397
37398 ac_header_compiler=no
37399 fi
37400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37401 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
37402 echo "${ECHO_T}$ac_header_compiler" >&6
37403
37404 # Is the header present?
37405 echo "$as_me:$LINENO: checking $ac_header presence" >&5
37406 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
37407 cat >conftest.$ac_ext <<_ACEOF
37408 /* confdefs.h. */
37409 _ACEOF
37410 cat confdefs.h >>conftest.$ac_ext
37411 cat >>conftest.$ac_ext <<_ACEOF
37412 /* end confdefs.h. */
37413 #include <$ac_header>
37414 _ACEOF
37415 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
37416 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
37417 ac_status=$?
37418 grep -v '^ *+' conftest.er1 >conftest.err
37419 rm -f conftest.er1
37420 cat conftest.err >&5
37421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37422 (exit $ac_status); } >/dev/null; then
37423 if test -s conftest.err; then
37424 ac_cpp_err=$ac_cxx_preproc_warn_flag
37425 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
37426 else
37427 ac_cpp_err=
37428 fi
37429 else
37430 ac_cpp_err=yes
37431 fi
37432 if test -z "$ac_cpp_err"; then
37433 ac_header_preproc=yes
37434 else
37435 echo "$as_me: failed program was:" >&5
37436 sed 's/^/| /' conftest.$ac_ext >&5
37437
37438 ac_header_preproc=no
37439 fi
37440 rm -f conftest.err conftest.$ac_ext
37441 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
37442 echo "${ECHO_T}$ac_header_preproc" >&6
37443
37444 # So? What about this header?
37445 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
37446 yes:no: )
37447 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
37448 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
37449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
37450 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
37451 ac_header_preproc=yes
37452 ;;
37453 no:yes:* )
37454 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
37455 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
37456 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
37457 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
37458 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
37459 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
37460 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
37461 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
37462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
37463 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
37464 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
37465 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
37466 (
37467 cat <<\_ASBOX
37468 ## ----------------------------------------- ##
37469 ## Report this to wx-dev@lists.wxwidgets.org ##
37470 ## ----------------------------------------- ##
37471 _ASBOX
37472 ) |
37473 sed "s/^/$as_me: WARNING: /" >&2
37474 ;;
37475 esac
37476 echo "$as_me:$LINENO: checking for $ac_header" >&5
37477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37479 echo $ECHO_N "(cached) $ECHO_C" >&6
37480 else
37481 eval "$as_ac_Header=\$ac_header_preproc"
37482 fi
37483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37484 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37485
37486 fi
37487 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37488 cat >>confdefs.h <<_ACEOF
37489 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37490 _ACEOF
37491
37492 EXTRALIBS_ESD="-lesd"
37493
37494 fi
37495
37496 done
37497
37498
37499 fi
37500
37501
37502
37503 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
37504 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
37505 cat >conftest.$ac_ext <<_ACEOF
37506 /* confdefs.h. */
37507 _ACEOF
37508 cat confdefs.h >>conftest.$ac_ext
37509 cat >>conftest.$ac_ext <<_ACEOF
37510 /* end confdefs.h. */
37511 #ifdef __linux__
37512 #include <linux/cdrom.h>
37513 #else
37514 /* For Solaris */
37515 #include <sys/cdio.h>
37516 #endif
37517
37518 int
37519 main ()
37520 {
37521 struct cdrom_tocentry entry, old_entry;
37522 ;
37523 return 0;
37524 }
37525 _ACEOF
37526 rm -f conftest.$ac_objext
37527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37528 (eval $ac_compile) 2>conftest.er1
37529 ac_status=$?
37530 grep -v '^ *+' conftest.er1 >conftest.err
37531 rm -f conftest.er1
37532 cat conftest.err >&5
37533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37534 (exit $ac_status); } &&
37535 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37537 (eval $ac_try) 2>&5
37538 ac_status=$?
37539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37540 (exit $ac_status); }; } &&
37541 { ac_try='test -s conftest.$ac_objext'
37542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37543 (eval $ac_try) 2>&5
37544 ac_status=$?
37545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546 (exit $ac_status); }; }; then
37547 echo "$as_me:$LINENO: result: yes" >&5
37548 echo "${ECHO_T}yes" >&6
37549 cat >>confdefs.h <<\_ACEOF
37550 #define HAVE_KNOWN_CDROM_INTERFACE 1
37551 _ACEOF
37552
37553 else
37554 echo "$as_me: failed program was:" >&5
37555 sed 's/^/| /' conftest.$ac_ext >&5
37556
37557 echo "$as_me:$LINENO: result: no" >&5
37558 echo "${ECHO_T}no" >&6
37559 fi
37560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37561
37562
37563 cat >confcache <<\_ACEOF
37564 # This file is a shell script that caches the results of configure
37565 # tests run on this system so they can be shared between configure
37566 # scripts and configure runs, see configure's option --config-cache.
37567 # It is not useful on other systems. If it contains results you don't
37568 # want to keep, you may remove or edit it.
37569 #
37570 # config.status only pays attention to the cache file if you give it
37571 # the --recheck option to rerun configure.
37572 #
37573 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37574 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37575 # following values.
37576
37577 _ACEOF
37578
37579 # The following way of writing the cache mishandles newlines in values,
37580 # but we know of no workaround that is simple, portable, and efficient.
37581 # So, don't put newlines in cache variables' values.
37582 # Ultrix sh set writes to stderr and can't be redirected directly,
37583 # and sets the high bit in the cache file unless we assign to the vars.
37584 {
37585 (set) 2>&1 |
37586 case `(ac_space=' '; set | grep ac_space) 2>&1` in
37587 *ac_space=\ *)
37588 # `set' does not quote correctly, so add quotes (double-quote
37589 # substitution turns \\\\ into \\, and sed turns \\ into \).
37590 sed -n \
37591 "s/'/'\\\\''/g;
37592 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37593 ;;
37594 *)
37595 # `set' quotes correctly as required by POSIX, so do not add quotes.
37596 sed -n \
37597 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
37598 ;;
37599 esac;
37600 } |
37601 sed '
37602 t clear
37603 : clear
37604 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37605 t end
37606 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37607 : end' >>confcache
37608 if diff $cache_file confcache >/dev/null 2>&1; then :; else
37609 if test -w $cache_file; then
37610 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
37611 cat confcache >$cache_file
37612 else
37613 echo "not updating unwritable cache $cache_file"
37614 fi
37615 fi
37616 rm -f confcache
37617
37618
37619 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37620
37621
37622 THREADS_LINK=
37623 THREADS_CXXFLAGS=
37624
37625 if test "$wxUSE_THREADS" = "yes" ; then
37626 if test "$USE_BEOS" = 1; then
37627 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37628 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37629 wxUSE_THREADS="no"
37630 fi
37631 fi
37632
37633 if test "$wxUSE_THREADS" = "yes" ; then
37634
37635
37636 THREAD_OPTS="-pthread"
37637 case "${host}" in
37638 *-*-solaris2* | *-*-sunos4* )
37639 if test "x$GCC" = "xyes"; then
37640 THREAD_OPTS="-pthreads $THREAD_OPTS"
37641 else
37642 THREAD_OPTS="-mt $THREAD_OPTS"
37643 fi
37644 ;;
37645 *-*-freebsd*)
37646 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37647 ;;
37648 *-*-darwin* | *-*-cygwin* )
37649 THREAD_OPTS=""
37650 ;;
37651 *-*-aix*)
37652 THREAD_OPTS="pthreads"
37653 ;;
37654 *-hp-hpux* )
37655 if test "x$GCC" = "xyes"; then
37656 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37657 THREAD_OPTS=""
37658 else
37659 THREAD_OPTS="-mt"
37660 fi
37661 ;;
37662
37663 *-*-irix* )
37664 if test "x$GCC" = "xyes"; then
37665 THREAD_OPTS=""
37666 fi
37667 ;;
37668
37669 *-*-*UnixWare*)
37670 if test "x$GCC" != "xyes"; then
37671 THREAD_OPTS="-Ethread"
37672 fi
37673 ;;
37674 esac
37675
37676 THREAD_OPTS="$THREAD_OPTS pthread none"
37677
37678 THREADS_OK=no
37679 for flag in $THREAD_OPTS; do
37680 case $flag in
37681 none)
37682 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37683 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
37684 ;;
37685
37686 -*)
37687 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37688 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
37689 THREADS_CXXFLAGS="$flag"
37690 ;;
37691
37692 *)
37693 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37694 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
37695 THREADS_LINK="-l$flag"
37696 ;;
37697 esac
37698
37699 save_LIBS="$LIBS"
37700 save_CXXFLAGS="$CXXFLAGS"
37701 LIBS="$THREADS_LINK $LIBS"
37702 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
37703
37704 cat >conftest.$ac_ext <<_ACEOF
37705 /* confdefs.h. */
37706 _ACEOF
37707 cat confdefs.h >>conftest.$ac_ext
37708 cat >>conftest.$ac_ext <<_ACEOF
37709 /* end confdefs.h. */
37710 #include <pthread.h>
37711 int
37712 main ()
37713 {
37714 pthread_create(0,0,0,0);
37715 ;
37716 return 0;
37717 }
37718 _ACEOF
37719 rm -f conftest.$ac_objext conftest$ac_exeext
37720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37721 (eval $ac_link) 2>conftest.er1
37722 ac_status=$?
37723 grep -v '^ *+' conftest.er1 >conftest.err
37724 rm -f conftest.er1
37725 cat conftest.err >&5
37726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37727 (exit $ac_status); } &&
37728 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37730 (eval $ac_try) 2>&5
37731 ac_status=$?
37732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37733 (exit $ac_status); }; } &&
37734 { ac_try='test -s conftest$ac_exeext'
37735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37736 (eval $ac_try) 2>&5
37737 ac_status=$?
37738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37739 (exit $ac_status); }; }; then
37740 THREADS_OK=yes
37741 else
37742 echo "$as_me: failed program was:" >&5
37743 sed 's/^/| /' conftest.$ac_ext >&5
37744
37745 fi
37746 rm -f conftest.err conftest.$ac_objext \
37747 conftest$ac_exeext conftest.$ac_ext
37748
37749 LIBS="$save_LIBS"
37750 CXXFLAGS="$save_CXXFLAGS"
37751
37752 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37753 echo "${ECHO_T}$THREADS_OK" >&6
37754 if test "x$THREADS_OK" = "xyes"; then
37755 break;
37756 fi
37757
37758 THREADS_LINK=""
37759 THREADS_CXXFLAGS=""
37760 done
37761
37762 if test "x$THREADS_OK" != "xyes"; then
37763 wxUSE_THREADS=no
37764 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37765 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37766 else
37767 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
37768 LIBS="$THREADS_LINK $LIBS"
37769
37770 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37771 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
37772 flag=no
37773 case "${host}" in
37774 *-aix*)
37775 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37776 flag="-D_THREAD_SAFE"
37777 ;;
37778 *-freebsd*)
37779 flag="-D_THREAD_SAFE"
37780 ;;
37781 *-hp-hpux* )
37782 flag="-D_REENTRANT"
37783 if test "x$GCC" != "xyes"; then
37784 flag="$flag -D_RWSTD_MULTI_THREAD"
37785 fi
37786 ;;
37787 *solaris* | alpha*-osf*)
37788 flag="-D_REENTRANT"
37789 ;;
37790 esac
37791 echo "$as_me:$LINENO: result: ${flag}" >&5
37792 echo "${ECHO_T}${flag}" >&6
37793 if test "x$flag" != xno; then
37794 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
37795 fi
37796
37797 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
37798 fi
37799 fi
37800
37801 if test "$wxUSE_THREADS" = "yes" ; then
37802
37803 for ac_func in thr_setconcurrency
37804 do
37805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37806 echo "$as_me:$LINENO: checking for $ac_func" >&5
37807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37808 if eval "test \"\${$as_ac_var+set}\" = set"; then
37809 echo $ECHO_N "(cached) $ECHO_C" >&6
37810 else
37811 cat >conftest.$ac_ext <<_ACEOF
37812 /* confdefs.h. */
37813 _ACEOF
37814 cat confdefs.h >>conftest.$ac_ext
37815 cat >>conftest.$ac_ext <<_ACEOF
37816 /* end confdefs.h. */
37817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37819 #define $ac_func innocuous_$ac_func
37820
37821 /* System header to define __stub macros and hopefully few prototypes,
37822 which can conflict with char $ac_func (); below.
37823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37824 <limits.h> exists even on freestanding compilers. */
37825
37826 #ifdef __STDC__
37827 # include <limits.h>
37828 #else
37829 # include <assert.h>
37830 #endif
37831
37832 #undef $ac_func
37833
37834 /* Override any gcc2 internal prototype to avoid an error. */
37835 #ifdef __cplusplus
37836 extern "C"
37837 {
37838 #endif
37839 /* We use char because int might match the return type of a gcc2
37840 builtin and then its argument prototype would still apply. */
37841 char $ac_func ();
37842 /* The GNU C library defines this for functions which it implements
37843 to always fail with ENOSYS. Some functions are actually named
37844 something starting with __ and the normal name is an alias. */
37845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37846 choke me
37847 #else
37848 char (*f) () = $ac_func;
37849 #endif
37850 #ifdef __cplusplus
37851 }
37852 #endif
37853
37854 int
37855 main ()
37856 {
37857 return f != $ac_func;
37858 ;
37859 return 0;
37860 }
37861 _ACEOF
37862 rm -f conftest.$ac_objext conftest$ac_exeext
37863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37864 (eval $ac_link) 2>conftest.er1
37865 ac_status=$?
37866 grep -v '^ *+' conftest.er1 >conftest.err
37867 rm -f conftest.er1
37868 cat conftest.err >&5
37869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37870 (exit $ac_status); } &&
37871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37873 (eval $ac_try) 2>&5
37874 ac_status=$?
37875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37876 (exit $ac_status); }; } &&
37877 { ac_try='test -s conftest$ac_exeext'
37878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37879 (eval $ac_try) 2>&5
37880 ac_status=$?
37881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37882 (exit $ac_status); }; }; then
37883 eval "$as_ac_var=yes"
37884 else
37885 echo "$as_me: failed program was:" >&5
37886 sed 's/^/| /' conftest.$ac_ext >&5
37887
37888 eval "$as_ac_var=no"
37889 fi
37890 rm -f conftest.err conftest.$ac_objext \
37891 conftest$ac_exeext conftest.$ac_ext
37892 fi
37893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37895 if test `eval echo '${'$as_ac_var'}'` = yes; then
37896 cat >>confdefs.h <<_ACEOF
37897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37898 _ACEOF
37899
37900 fi
37901 done
37902
37903
37904 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37905 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
37906 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37907 echo $ECHO_N "(cached) $ECHO_C" >&6
37908 else
37909
37910 cat >conftest.$ac_ext <<_ACEOF
37911 /* confdefs.h. */
37912 _ACEOF
37913 cat confdefs.h >>conftest.$ac_ext
37914 cat >>conftest.$ac_ext <<_ACEOF
37915 /* end confdefs.h. */
37916 #include <pthread.h>
37917 void ThreadCleanupFunc(void *p);
37918
37919 int
37920 main ()
37921 {
37922
37923 void *p;
37924 pthread_cleanup_push(ThreadCleanupFunc, p);
37925 pthread_cleanup_pop(0);
37926
37927 ;
37928 return 0;
37929 }
37930 _ACEOF
37931 rm -f conftest.$ac_objext
37932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37933 (eval $ac_compile) 2>conftest.er1
37934 ac_status=$?
37935 grep -v '^ *+' conftest.er1 >conftest.err
37936 rm -f conftest.er1
37937 cat conftest.err >&5
37938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37939 (exit $ac_status); } &&
37940 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37942 (eval $ac_try) 2>&5
37943 ac_status=$?
37944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37945 (exit $ac_status); }; } &&
37946 { ac_try='test -s conftest.$ac_objext'
37947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37948 (eval $ac_try) 2>&5
37949 ac_status=$?
37950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37951 (exit $ac_status); }; }; then
37952
37953 wx_cv_func_pthread_cleanup=yes
37954
37955 else
37956 echo "$as_me: failed program was:" >&5
37957 sed 's/^/| /' conftest.$ac_ext >&5
37958
37959
37960 wx_cv_func_pthread_cleanup=no
37961
37962
37963 fi
37964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37965
37966 fi
37967 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37968 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
37969 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37970 cat >>confdefs.h <<\_ACEOF
37971 #define wxHAVE_PTHREAD_CLEANUP 1
37972 _ACEOF
37973
37974 fi
37975
37976
37977 for ac_header in sched.h
37978 do
37979 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37981 echo "$as_me:$LINENO: checking for $ac_header" >&5
37982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
37983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
37984 echo $ECHO_N "(cached) $ECHO_C" >&6
37985 fi
37986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
37987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
37988 else
37989 # Is the header compilable?
37990 echo "$as_me:$LINENO: checking $ac_header usability" >&5
37991 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
37992 cat >conftest.$ac_ext <<_ACEOF
37993 /* confdefs.h. */
37994 _ACEOF
37995 cat confdefs.h >>conftest.$ac_ext
37996 cat >>conftest.$ac_ext <<_ACEOF
37997 /* end confdefs.h. */
37998 $ac_includes_default
37999 #include <$ac_header>
38000 _ACEOF
38001 rm -f conftest.$ac_objext
38002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38003 (eval $ac_compile) 2>conftest.er1
38004 ac_status=$?
38005 grep -v '^ *+' conftest.er1 >conftest.err
38006 rm -f conftest.er1
38007 cat conftest.err >&5
38008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38009 (exit $ac_status); } &&
38010 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38012 (eval $ac_try) 2>&5
38013 ac_status=$?
38014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38015 (exit $ac_status); }; } &&
38016 { ac_try='test -s conftest.$ac_objext'
38017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38018 (eval $ac_try) 2>&5
38019 ac_status=$?
38020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38021 (exit $ac_status); }; }; then
38022 ac_header_compiler=yes
38023 else
38024 echo "$as_me: failed program was:" >&5
38025 sed 's/^/| /' conftest.$ac_ext >&5
38026
38027 ac_header_compiler=no
38028 fi
38029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38030 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38031 echo "${ECHO_T}$ac_header_compiler" >&6
38032
38033 # Is the header present?
38034 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38035 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38036 cat >conftest.$ac_ext <<_ACEOF
38037 /* confdefs.h. */
38038 _ACEOF
38039 cat confdefs.h >>conftest.$ac_ext
38040 cat >>conftest.$ac_ext <<_ACEOF
38041 /* end confdefs.h. */
38042 #include <$ac_header>
38043 _ACEOF
38044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38045 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38046 ac_status=$?
38047 grep -v '^ *+' conftest.er1 >conftest.err
38048 rm -f conftest.er1
38049 cat conftest.err >&5
38050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38051 (exit $ac_status); } >/dev/null; then
38052 if test -s conftest.err; then
38053 ac_cpp_err=$ac_cxx_preproc_warn_flag
38054 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38055 else
38056 ac_cpp_err=
38057 fi
38058 else
38059 ac_cpp_err=yes
38060 fi
38061 if test -z "$ac_cpp_err"; then
38062 ac_header_preproc=yes
38063 else
38064 echo "$as_me: failed program was:" >&5
38065 sed 's/^/| /' conftest.$ac_ext >&5
38066
38067 ac_header_preproc=no
38068 fi
38069 rm -f conftest.err conftest.$ac_ext
38070 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38071 echo "${ECHO_T}$ac_header_preproc" >&6
38072
38073 # So? What about this header?
38074 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38075 yes:no: )
38076 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38077 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38079 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38080 ac_header_preproc=yes
38081 ;;
38082 no:yes:* )
38083 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38084 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38085 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38086 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38087 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38088 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38089 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38090 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38092 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38093 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38094 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38095 (
38096 cat <<\_ASBOX
38097 ## ----------------------------------------- ##
38098 ## Report this to wx-dev@lists.wxwidgets.org ##
38099 ## ----------------------------------------- ##
38100 _ASBOX
38101 ) |
38102 sed "s/^/$as_me: WARNING: /" >&2
38103 ;;
38104 esac
38105 echo "$as_me:$LINENO: checking for $ac_header" >&5
38106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38108 echo $ECHO_N "(cached) $ECHO_C" >&6
38109 else
38110 eval "$as_ac_Header=\$ac_header_preproc"
38111 fi
38112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38114
38115 fi
38116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38117 cat >>confdefs.h <<_ACEOF
38118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38119 _ACEOF
38120
38121 fi
38122
38123 done
38124
38125 if test "$ac_cv_header_sched_h" = "yes"; then
38126 echo "$as_me:$LINENO: checking for sched_yield" >&5
38127 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
38128 if test "${ac_cv_func_sched_yield+set}" = set; then
38129 echo $ECHO_N "(cached) $ECHO_C" >&6
38130 else
38131 cat >conftest.$ac_ext <<_ACEOF
38132 /* confdefs.h. */
38133 _ACEOF
38134 cat confdefs.h >>conftest.$ac_ext
38135 cat >>conftest.$ac_ext <<_ACEOF
38136 /* end confdefs.h. */
38137 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38139 #define sched_yield innocuous_sched_yield
38140
38141 /* System header to define __stub macros and hopefully few prototypes,
38142 which can conflict with char sched_yield (); below.
38143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38144 <limits.h> exists even on freestanding compilers. */
38145
38146 #ifdef __STDC__
38147 # include <limits.h>
38148 #else
38149 # include <assert.h>
38150 #endif
38151
38152 #undef sched_yield
38153
38154 /* Override any gcc2 internal prototype to avoid an error. */
38155 #ifdef __cplusplus
38156 extern "C"
38157 {
38158 #endif
38159 /* We use char because int might match the return type of a gcc2
38160 builtin and then its argument prototype would still apply. */
38161 char sched_yield ();
38162 /* The GNU C library defines this for functions which it implements
38163 to always fail with ENOSYS. Some functions are actually named
38164 something starting with __ and the normal name is an alias. */
38165 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
38166 choke me
38167 #else
38168 char (*f) () = sched_yield;
38169 #endif
38170 #ifdef __cplusplus
38171 }
38172 #endif
38173
38174 int
38175 main ()
38176 {
38177 return f != sched_yield;
38178 ;
38179 return 0;
38180 }
38181 _ACEOF
38182 rm -f conftest.$ac_objext conftest$ac_exeext
38183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38184 (eval $ac_link) 2>conftest.er1
38185 ac_status=$?
38186 grep -v '^ *+' conftest.er1 >conftest.err
38187 rm -f conftest.er1
38188 cat conftest.err >&5
38189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38190 (exit $ac_status); } &&
38191 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38193 (eval $ac_try) 2>&5
38194 ac_status=$?
38195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38196 (exit $ac_status); }; } &&
38197 { ac_try='test -s conftest$ac_exeext'
38198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38199 (eval $ac_try) 2>&5
38200 ac_status=$?
38201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202 (exit $ac_status); }; }; then
38203 ac_cv_func_sched_yield=yes
38204 else
38205 echo "$as_me: failed program was:" >&5
38206 sed 's/^/| /' conftest.$ac_ext >&5
38207
38208 ac_cv_func_sched_yield=no
38209 fi
38210 rm -f conftest.err conftest.$ac_objext \
38211 conftest$ac_exeext conftest.$ac_ext
38212 fi
38213 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38214 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
38215 if test $ac_cv_func_sched_yield = yes; then
38216 cat >>confdefs.h <<\_ACEOF
38217 #define HAVE_SCHED_YIELD 1
38218 _ACEOF
38219
38220 else
38221
38222 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38223 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
38224 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38225 echo $ECHO_N "(cached) $ECHO_C" >&6
38226 else
38227 ac_check_lib_save_LIBS=$LIBS
38228 LIBS="-lposix4 $LIBS"
38229 cat >conftest.$ac_ext <<_ACEOF
38230 /* confdefs.h. */
38231 _ACEOF
38232 cat confdefs.h >>conftest.$ac_ext
38233 cat >>conftest.$ac_ext <<_ACEOF
38234 /* end confdefs.h. */
38235
38236 /* Override any gcc2 internal prototype to avoid an error. */
38237 #ifdef __cplusplus
38238 extern "C"
38239 #endif
38240 /* We use char because int might match the return type of a gcc2
38241 builtin and then its argument prototype would still apply. */
38242 char sched_yield ();
38243 int
38244 main ()
38245 {
38246 sched_yield ();
38247 ;
38248 return 0;
38249 }
38250 _ACEOF
38251 rm -f conftest.$ac_objext conftest$ac_exeext
38252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38253 (eval $ac_link) 2>conftest.er1
38254 ac_status=$?
38255 grep -v '^ *+' conftest.er1 >conftest.err
38256 rm -f conftest.er1
38257 cat conftest.err >&5
38258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38259 (exit $ac_status); } &&
38260 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38262 (eval $ac_try) 2>&5
38263 ac_status=$?
38264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38265 (exit $ac_status); }; } &&
38266 { ac_try='test -s conftest$ac_exeext'
38267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38268 (eval $ac_try) 2>&5
38269 ac_status=$?
38270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38271 (exit $ac_status); }; }; then
38272 ac_cv_lib_posix4_sched_yield=yes
38273 else
38274 echo "$as_me: failed program was:" >&5
38275 sed 's/^/| /' conftest.$ac_ext >&5
38276
38277 ac_cv_lib_posix4_sched_yield=no
38278 fi
38279 rm -f conftest.err conftest.$ac_objext \
38280 conftest$ac_exeext conftest.$ac_ext
38281 LIBS=$ac_check_lib_save_LIBS
38282 fi
38283 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38284 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
38285 if test $ac_cv_lib_posix4_sched_yield = yes; then
38286 cat >>confdefs.h <<\_ACEOF
38287 #define HAVE_SCHED_YIELD 1
38288 _ACEOF
38289 POSIX4_LINK=" -lposix4"
38290 else
38291 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38292 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38293
38294 fi
38295
38296
38297
38298 fi
38299
38300 fi
38301
38302 HAVE_PRIOR_FUNCS=0
38303 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38304 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
38305 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38306 echo $ECHO_N "(cached) $ECHO_C" >&6
38307 else
38308 cat >conftest.$ac_ext <<_ACEOF
38309 /* confdefs.h. */
38310 _ACEOF
38311 cat confdefs.h >>conftest.$ac_ext
38312 cat >>conftest.$ac_ext <<_ACEOF
38313 /* end confdefs.h. */
38314 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38316 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38317
38318 /* System header to define __stub macros and hopefully few prototypes,
38319 which can conflict with char pthread_attr_getschedpolicy (); below.
38320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38321 <limits.h> exists even on freestanding compilers. */
38322
38323 #ifdef __STDC__
38324 # include <limits.h>
38325 #else
38326 # include <assert.h>
38327 #endif
38328
38329 #undef pthread_attr_getschedpolicy
38330
38331 /* Override any gcc2 internal prototype to avoid an error. */
38332 #ifdef __cplusplus
38333 extern "C"
38334 {
38335 #endif
38336 /* We use char because int might match the return type of a gcc2
38337 builtin and then its argument prototype would still apply. */
38338 char pthread_attr_getschedpolicy ();
38339 /* The GNU C library defines this for functions which it implements
38340 to always fail with ENOSYS. Some functions are actually named
38341 something starting with __ and the normal name is an alias. */
38342 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
38343 choke me
38344 #else
38345 char (*f) () = pthread_attr_getschedpolicy;
38346 #endif
38347 #ifdef __cplusplus
38348 }
38349 #endif
38350
38351 int
38352 main ()
38353 {
38354 return f != pthread_attr_getschedpolicy;
38355 ;
38356 return 0;
38357 }
38358 _ACEOF
38359 rm -f conftest.$ac_objext conftest$ac_exeext
38360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38361 (eval $ac_link) 2>conftest.er1
38362 ac_status=$?
38363 grep -v '^ *+' conftest.er1 >conftest.err
38364 rm -f conftest.er1
38365 cat conftest.err >&5
38366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38367 (exit $ac_status); } &&
38368 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38370 (eval $ac_try) 2>&5
38371 ac_status=$?
38372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38373 (exit $ac_status); }; } &&
38374 { ac_try='test -s conftest$ac_exeext'
38375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38376 (eval $ac_try) 2>&5
38377 ac_status=$?
38378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38379 (exit $ac_status); }; }; then
38380 ac_cv_func_pthread_attr_getschedpolicy=yes
38381 else
38382 echo "$as_me: failed program was:" >&5
38383 sed 's/^/| /' conftest.$ac_ext >&5
38384
38385 ac_cv_func_pthread_attr_getschedpolicy=no
38386 fi
38387 rm -f conftest.err conftest.$ac_objext \
38388 conftest$ac_exeext conftest.$ac_ext
38389 fi
38390 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38391 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
38392 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38393 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38394 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
38395 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38396 echo $ECHO_N "(cached) $ECHO_C" >&6
38397 else
38398 cat >conftest.$ac_ext <<_ACEOF
38399 /* confdefs.h. */
38400 _ACEOF
38401 cat confdefs.h >>conftest.$ac_ext
38402 cat >>conftest.$ac_ext <<_ACEOF
38403 /* end confdefs.h. */
38404 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38406 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38407
38408 /* System header to define __stub macros and hopefully few prototypes,
38409 which can conflict with char pthread_attr_setschedparam (); below.
38410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38411 <limits.h> exists even on freestanding compilers. */
38412
38413 #ifdef __STDC__
38414 # include <limits.h>
38415 #else
38416 # include <assert.h>
38417 #endif
38418
38419 #undef pthread_attr_setschedparam
38420
38421 /* Override any gcc2 internal prototype to avoid an error. */
38422 #ifdef __cplusplus
38423 extern "C"
38424 {
38425 #endif
38426 /* We use char because int might match the return type of a gcc2
38427 builtin and then its argument prototype would still apply. */
38428 char pthread_attr_setschedparam ();
38429 /* The GNU C library defines this for functions which it implements
38430 to always fail with ENOSYS. Some functions are actually named
38431 something starting with __ and the normal name is an alias. */
38432 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
38433 choke me
38434 #else
38435 char (*f) () = pthread_attr_setschedparam;
38436 #endif
38437 #ifdef __cplusplus
38438 }
38439 #endif
38440
38441 int
38442 main ()
38443 {
38444 return f != pthread_attr_setschedparam;
38445 ;
38446 return 0;
38447 }
38448 _ACEOF
38449 rm -f conftest.$ac_objext conftest$ac_exeext
38450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38451 (eval $ac_link) 2>conftest.er1
38452 ac_status=$?
38453 grep -v '^ *+' conftest.er1 >conftest.err
38454 rm -f conftest.er1
38455 cat conftest.err >&5
38456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38457 (exit $ac_status); } &&
38458 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38460 (eval $ac_try) 2>&5
38461 ac_status=$?
38462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38463 (exit $ac_status); }; } &&
38464 { ac_try='test -s conftest$ac_exeext'
38465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38466 (eval $ac_try) 2>&5
38467 ac_status=$?
38468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38469 (exit $ac_status); }; }; then
38470 ac_cv_func_pthread_attr_setschedparam=yes
38471 else
38472 echo "$as_me: failed program was:" >&5
38473 sed 's/^/| /' conftest.$ac_ext >&5
38474
38475 ac_cv_func_pthread_attr_setschedparam=no
38476 fi
38477 rm -f conftest.err conftest.$ac_objext \
38478 conftest$ac_exeext conftest.$ac_ext
38479 fi
38480 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38481 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
38482 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38483 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38484 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
38485 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38486 echo $ECHO_N "(cached) $ECHO_C" >&6
38487 else
38488 cat >conftest.$ac_ext <<_ACEOF
38489 /* confdefs.h. */
38490 _ACEOF
38491 cat confdefs.h >>conftest.$ac_ext
38492 cat >>conftest.$ac_ext <<_ACEOF
38493 /* end confdefs.h. */
38494 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38496 #define sched_get_priority_max innocuous_sched_get_priority_max
38497
38498 /* System header to define __stub macros and hopefully few prototypes,
38499 which can conflict with char sched_get_priority_max (); below.
38500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38501 <limits.h> exists even on freestanding compilers. */
38502
38503 #ifdef __STDC__
38504 # include <limits.h>
38505 #else
38506 # include <assert.h>
38507 #endif
38508
38509 #undef sched_get_priority_max
38510
38511 /* Override any gcc2 internal prototype to avoid an error. */
38512 #ifdef __cplusplus
38513 extern "C"
38514 {
38515 #endif
38516 /* We use char because int might match the return type of a gcc2
38517 builtin and then its argument prototype would still apply. */
38518 char sched_get_priority_max ();
38519 /* The GNU C library defines this for functions which it implements
38520 to always fail with ENOSYS. Some functions are actually named
38521 something starting with __ and the normal name is an alias. */
38522 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
38523 choke me
38524 #else
38525 char (*f) () = sched_get_priority_max;
38526 #endif
38527 #ifdef __cplusplus
38528 }
38529 #endif
38530
38531 int
38532 main ()
38533 {
38534 return f != sched_get_priority_max;
38535 ;
38536 return 0;
38537 }
38538 _ACEOF
38539 rm -f conftest.$ac_objext conftest$ac_exeext
38540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38541 (eval $ac_link) 2>conftest.er1
38542 ac_status=$?
38543 grep -v '^ *+' conftest.er1 >conftest.err
38544 rm -f conftest.er1
38545 cat conftest.err >&5
38546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38547 (exit $ac_status); } &&
38548 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38550 (eval $ac_try) 2>&5
38551 ac_status=$?
38552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38553 (exit $ac_status); }; } &&
38554 { ac_try='test -s conftest$ac_exeext'
38555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38556 (eval $ac_try) 2>&5
38557 ac_status=$?
38558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38559 (exit $ac_status); }; }; then
38560 ac_cv_func_sched_get_priority_max=yes
38561 else
38562 echo "$as_me: failed program was:" >&5
38563 sed 's/^/| /' conftest.$ac_ext >&5
38564
38565 ac_cv_func_sched_get_priority_max=no
38566 fi
38567 rm -f conftest.err conftest.$ac_objext \
38568 conftest$ac_exeext conftest.$ac_ext
38569 fi
38570 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38571 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
38572 if test $ac_cv_func_sched_get_priority_max = yes; then
38573 HAVE_PRIOR_FUNCS=1
38574 else
38575 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38576 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
38577 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38578 echo $ECHO_N "(cached) $ECHO_C" >&6
38579 else
38580 ac_check_lib_save_LIBS=$LIBS
38581 LIBS="-lposix4 $LIBS"
38582 cat >conftest.$ac_ext <<_ACEOF
38583 /* confdefs.h. */
38584 _ACEOF
38585 cat confdefs.h >>conftest.$ac_ext
38586 cat >>conftest.$ac_ext <<_ACEOF
38587 /* end confdefs.h. */
38588
38589 /* Override any gcc2 internal prototype to avoid an error. */
38590 #ifdef __cplusplus
38591 extern "C"
38592 #endif
38593 /* We use char because int might match the return type of a gcc2
38594 builtin and then its argument prototype would still apply. */
38595 char sched_get_priority_max ();
38596 int
38597 main ()
38598 {
38599 sched_get_priority_max ();
38600 ;
38601 return 0;
38602 }
38603 _ACEOF
38604 rm -f conftest.$ac_objext conftest$ac_exeext
38605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38606 (eval $ac_link) 2>conftest.er1
38607 ac_status=$?
38608 grep -v '^ *+' conftest.er1 >conftest.err
38609 rm -f conftest.er1
38610 cat conftest.err >&5
38611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38612 (exit $ac_status); } &&
38613 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38615 (eval $ac_try) 2>&5
38616 ac_status=$?
38617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38618 (exit $ac_status); }; } &&
38619 { ac_try='test -s conftest$ac_exeext'
38620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38621 (eval $ac_try) 2>&5
38622 ac_status=$?
38623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38624 (exit $ac_status); }; }; then
38625 ac_cv_lib_posix4_sched_get_priority_max=yes
38626 else
38627 echo "$as_me: failed program was:" >&5
38628 sed 's/^/| /' conftest.$ac_ext >&5
38629
38630 ac_cv_lib_posix4_sched_get_priority_max=no
38631 fi
38632 rm -f conftest.err conftest.$ac_objext \
38633 conftest$ac_exeext conftest.$ac_ext
38634 LIBS=$ac_check_lib_save_LIBS
38635 fi
38636 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38637 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
38638 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38639
38640 HAVE_PRIOR_FUNCS=1
38641 POSIX4_LINK=" -lposix4"
38642
38643 fi
38644
38645
38646 fi
38647
38648
38649 fi
38650
38651
38652 fi
38653
38654
38655 if test "$HAVE_PRIOR_FUNCS" = 1; then
38656 cat >>confdefs.h <<\_ACEOF
38657 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38658 _ACEOF
38659
38660 else
38661 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38662 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38663 fi
38664
38665 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38666 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
38667 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38668 echo $ECHO_N "(cached) $ECHO_C" >&6
38669 else
38670 cat >conftest.$ac_ext <<_ACEOF
38671 /* confdefs.h. */
38672 _ACEOF
38673 cat confdefs.h >>conftest.$ac_ext
38674 cat >>conftest.$ac_ext <<_ACEOF
38675 /* end confdefs.h. */
38676 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38678 #define pthread_cancel innocuous_pthread_cancel
38679
38680 /* System header to define __stub macros and hopefully few prototypes,
38681 which can conflict with char pthread_cancel (); below.
38682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38683 <limits.h> exists even on freestanding compilers. */
38684
38685 #ifdef __STDC__
38686 # include <limits.h>
38687 #else
38688 # include <assert.h>
38689 #endif
38690
38691 #undef pthread_cancel
38692
38693 /* Override any gcc2 internal prototype to avoid an error. */
38694 #ifdef __cplusplus
38695 extern "C"
38696 {
38697 #endif
38698 /* We use char because int might match the return type of a gcc2
38699 builtin and then its argument prototype would still apply. */
38700 char pthread_cancel ();
38701 /* The GNU C library defines this for functions which it implements
38702 to always fail with ENOSYS. Some functions are actually named
38703 something starting with __ and the normal name is an alias. */
38704 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
38705 choke me
38706 #else
38707 char (*f) () = pthread_cancel;
38708 #endif
38709 #ifdef __cplusplus
38710 }
38711 #endif
38712
38713 int
38714 main ()
38715 {
38716 return f != pthread_cancel;
38717 ;
38718 return 0;
38719 }
38720 _ACEOF
38721 rm -f conftest.$ac_objext conftest$ac_exeext
38722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38723 (eval $ac_link) 2>conftest.er1
38724 ac_status=$?
38725 grep -v '^ *+' conftest.er1 >conftest.err
38726 rm -f conftest.er1
38727 cat conftest.err >&5
38728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38729 (exit $ac_status); } &&
38730 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38732 (eval $ac_try) 2>&5
38733 ac_status=$?
38734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38735 (exit $ac_status); }; } &&
38736 { ac_try='test -s conftest$ac_exeext'
38737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38738 (eval $ac_try) 2>&5
38739 ac_status=$?
38740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38741 (exit $ac_status); }; }; then
38742 ac_cv_func_pthread_cancel=yes
38743 else
38744 echo "$as_me: failed program was:" >&5
38745 sed 's/^/| /' conftest.$ac_ext >&5
38746
38747 ac_cv_func_pthread_cancel=no
38748 fi
38749 rm -f conftest.err conftest.$ac_objext \
38750 conftest$ac_exeext conftest.$ac_ext
38751 fi
38752 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38753 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
38754 if test $ac_cv_func_pthread_cancel = yes; then
38755 cat >>confdefs.h <<\_ACEOF
38756 #define HAVE_PTHREAD_CANCEL 1
38757 _ACEOF
38758
38759 else
38760 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38761 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38762 fi
38763
38764
38765 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38766 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
38767 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38768 echo $ECHO_N "(cached) $ECHO_C" >&6
38769 else
38770 cat >conftest.$ac_ext <<_ACEOF
38771 /* confdefs.h. */
38772 _ACEOF
38773 cat confdefs.h >>conftest.$ac_ext
38774 cat >>conftest.$ac_ext <<_ACEOF
38775 /* end confdefs.h. */
38776 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38778 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38779
38780 /* System header to define __stub macros and hopefully few prototypes,
38781 which can conflict with char pthread_attr_setstacksize (); below.
38782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38783 <limits.h> exists even on freestanding compilers. */
38784
38785 #ifdef __STDC__
38786 # include <limits.h>
38787 #else
38788 # include <assert.h>
38789 #endif
38790
38791 #undef pthread_attr_setstacksize
38792
38793 /* Override any gcc2 internal prototype to avoid an error. */
38794 #ifdef __cplusplus
38795 extern "C"
38796 {
38797 #endif
38798 /* We use char because int might match the return type of a gcc2
38799 builtin and then its argument prototype would still apply. */
38800 char pthread_attr_setstacksize ();
38801 /* The GNU C library defines this for functions which it implements
38802 to always fail with ENOSYS. Some functions are actually named
38803 something starting with __ and the normal name is an alias. */
38804 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
38805 choke me
38806 #else
38807 char (*f) () = pthread_attr_setstacksize;
38808 #endif
38809 #ifdef __cplusplus
38810 }
38811 #endif
38812
38813 int
38814 main ()
38815 {
38816 return f != pthread_attr_setstacksize;
38817 ;
38818 return 0;
38819 }
38820 _ACEOF
38821 rm -f conftest.$ac_objext conftest$ac_exeext
38822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38823 (eval $ac_link) 2>conftest.er1
38824 ac_status=$?
38825 grep -v '^ *+' conftest.er1 >conftest.err
38826 rm -f conftest.er1
38827 cat conftest.err >&5
38828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38829 (exit $ac_status); } &&
38830 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38832 (eval $ac_try) 2>&5
38833 ac_status=$?
38834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38835 (exit $ac_status); }; } &&
38836 { ac_try='test -s conftest$ac_exeext'
38837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38838 (eval $ac_try) 2>&5
38839 ac_status=$?
38840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38841 (exit $ac_status); }; }; then
38842 ac_cv_func_pthread_attr_setstacksize=yes
38843 else
38844 echo "$as_me: failed program was:" >&5
38845 sed 's/^/| /' conftest.$ac_ext >&5
38846
38847 ac_cv_func_pthread_attr_setstacksize=no
38848 fi
38849 rm -f conftest.err conftest.$ac_objext \
38850 conftest$ac_exeext conftest.$ac_ext
38851 fi
38852 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38853 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
38854 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38855 cat >>confdefs.h <<\_ACEOF
38856 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38857 _ACEOF
38858
38859 fi
38860
38861
38862
38863 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38864 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
38865 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38866 echo $ECHO_N "(cached) $ECHO_C" >&6
38867 else
38868
38869 cat >conftest.$ac_ext <<_ACEOF
38870 /* confdefs.h. */
38871 _ACEOF
38872 cat confdefs.h >>conftest.$ac_ext
38873 cat >>conftest.$ac_ext <<_ACEOF
38874 /* end confdefs.h. */
38875 #include <pthread.h>
38876 int
38877 main ()
38878 {
38879
38880 pthread_mutexattr_t attr;
38881 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38882
38883 ;
38884 return 0;
38885 }
38886 _ACEOF
38887 rm -f conftest.$ac_objext
38888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38889 (eval $ac_compile) 2>conftest.er1
38890 ac_status=$?
38891 grep -v '^ *+' conftest.er1 >conftest.err
38892 rm -f conftest.er1
38893 cat conftest.err >&5
38894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38895 (exit $ac_status); } &&
38896 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38898 (eval $ac_try) 2>&5
38899 ac_status=$?
38900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38901 (exit $ac_status); }; } &&
38902 { ac_try='test -s conftest.$ac_objext'
38903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38904 (eval $ac_try) 2>&5
38905 ac_status=$?
38906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38907 (exit $ac_status); }; }; then
38908 wx_cv_type_pthread_mutexattr_t=yes
38909 else
38910 echo "$as_me: failed program was:" >&5
38911 sed 's/^/| /' conftest.$ac_ext >&5
38912
38913 wx_cv_type_pthread_mutexattr_t=no
38914
38915 fi
38916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38917
38918 fi
38919 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38920 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
38921
38922 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38923 cat >>confdefs.h <<\_ACEOF
38924 #define HAVE_PTHREAD_MUTEXATTR_T 1
38925 _ACEOF
38926
38927
38928 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38929 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
38930 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38931 echo $ECHO_N "(cached) $ECHO_C" >&6
38932 else
38933
38934 cat >conftest.$ac_ext <<_ACEOF
38935 /* confdefs.h. */
38936 _ACEOF
38937 cat confdefs.h >>conftest.$ac_ext
38938 cat >>conftest.$ac_ext <<_ACEOF
38939 /* end confdefs.h. */
38940 #include <pthread.h>
38941 int
38942 main ()
38943 {
38944
38945 pthread_mutexattr_t attr;
38946 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38947
38948 ;
38949 return 0;
38950 }
38951 _ACEOF
38952 rm -f conftest.$ac_objext
38953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38954 (eval $ac_compile) 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); } &&
38961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38963 (eval $ac_try) 2>&5
38964 ac_status=$?
38965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38966 (exit $ac_status); }; } &&
38967 { ac_try='test -s conftest.$ac_objext'
38968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38969 (eval $ac_try) 2>&5
38970 ac_status=$?
38971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38972 (exit $ac_status); }; }; then
38973 wx_cv_func_pthread_mutexattr_settype_decl=yes
38974 else
38975 echo "$as_me: failed program was:" >&5
38976 sed 's/^/| /' conftest.$ac_ext >&5
38977
38978 wx_cv_func_pthread_mutexattr_settype_decl=no
38979
38980 fi
38981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38982
38983 fi
38984 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38985 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
38986 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38987 cat >>confdefs.h <<\_ACEOF
38988 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38989 _ACEOF
38990
38991 fi
38992 else
38993 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38994 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
38995 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38996 echo $ECHO_N "(cached) $ECHO_C" >&6
38997 else
38998
38999 cat >conftest.$ac_ext <<_ACEOF
39000 /* confdefs.h. */
39001 _ACEOF
39002 cat confdefs.h >>conftest.$ac_ext
39003 cat >>conftest.$ac_ext <<_ACEOF
39004 /* end confdefs.h. */
39005 #include <pthread.h>
39006 int
39007 main ()
39008 {
39009
39010 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39011
39012 ;
39013 return 0;
39014 }
39015 _ACEOF
39016 rm -f conftest.$ac_objext
39017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39018 (eval $ac_compile) 2>conftest.er1
39019 ac_status=$?
39020 grep -v '^ *+' conftest.er1 >conftest.err
39021 rm -f conftest.er1
39022 cat conftest.err >&5
39023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39024 (exit $ac_status); } &&
39025 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39027 (eval $ac_try) 2>&5
39028 ac_status=$?
39029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39030 (exit $ac_status); }; } &&
39031 { ac_try='test -s conftest.$ac_objext'
39032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39033 (eval $ac_try) 2>&5
39034 ac_status=$?
39035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39036 (exit $ac_status); }; }; then
39037
39038 wx_cv_type_pthread_rec_mutex_init=yes
39039
39040 else
39041 echo "$as_me: failed program was:" >&5
39042 sed 's/^/| /' conftest.$ac_ext >&5
39043
39044
39045 wx_cv_type_pthread_rec_mutex_init=no
39046
39047
39048 fi
39049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39050
39051 fi
39052 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39053 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
39054 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39055 cat >>confdefs.h <<\_ACEOF
39056 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39057 _ACEOF
39058
39059 else
39060 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39061 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39062 fi
39063 fi
39064 fi
39065
39066 else
39067 if test "$wxUSE_THREADS" = "yes" ; then
39068 case "${host}" in
39069 *-*-mingw32* )
39070 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39071 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
39072 if test "${wx_cv_cflags_mthread+set}" = set; then
39073 echo $ECHO_N "(cached) $ECHO_C" >&6
39074 else
39075
39076 CXXFLAGS_OLD="$CXXFLAGS"
39077 CXXFLAGS="-mthreads $CXXFLAGS"
39078 cat >conftest.$ac_ext <<_ACEOF
39079 /* confdefs.h. */
39080 _ACEOF
39081 cat confdefs.h >>conftest.$ac_ext
39082 cat >>conftest.$ac_ext <<_ACEOF
39083 /* end confdefs.h. */
39084
39085 int
39086 main ()
39087 {
39088
39089 ;
39090 return 0;
39091 }
39092 _ACEOF
39093 rm -f conftest.$ac_objext
39094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39095 (eval $ac_compile) 2>conftest.er1
39096 ac_status=$?
39097 grep -v '^ *+' conftest.er1 >conftest.err
39098 rm -f conftest.er1
39099 cat conftest.err >&5
39100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39101 (exit $ac_status); } &&
39102 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39104 (eval $ac_try) 2>&5
39105 ac_status=$?
39106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39107 (exit $ac_status); }; } &&
39108 { ac_try='test -s conftest.$ac_objext'
39109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39110 (eval $ac_try) 2>&5
39111 ac_status=$?
39112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39113 (exit $ac_status); }; }; then
39114 wx_cv_cflags_mthread=yes
39115 else
39116 echo "$as_me: failed program was:" >&5
39117 sed 's/^/| /' conftest.$ac_ext >&5
39118
39119 wx_cv_cflags_mthread=no
39120
39121 fi
39122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39123
39124
39125 fi
39126 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39127 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
39128
39129 if test "$wx_cv_cflags_mthread" = "yes"; then
39130 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
39131 LDFLAGS="$LDFLAGS -mthreads"
39132 else
39133 CXXFLAGS="$CXXFLAGS_OLD"
39134 fi
39135 ;;
39136 *-pc-os2*emx )
39137 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39138 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
39139 LDFLAGS="$LDFLAGS -Zmt"
39140 ;;
39141 esac
39142 fi
39143 fi
39144
39145 echo "$as_me:$LINENO: checking for localtime_r" >&5
39146 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
39147 if test "${ac_cv_func_localtime_r+set}" = set; then
39148 echo $ECHO_N "(cached) $ECHO_C" >&6
39149 else
39150 cat >conftest.$ac_ext <<_ACEOF
39151 /* confdefs.h. */
39152 _ACEOF
39153 cat confdefs.h >>conftest.$ac_ext
39154 cat >>conftest.$ac_ext <<_ACEOF
39155 /* end confdefs.h. */
39156 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39158 #define localtime_r innocuous_localtime_r
39159
39160 /* System header to define __stub macros and hopefully few prototypes,
39161 which can conflict with char localtime_r (); below.
39162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39163 <limits.h> exists even on freestanding compilers. */
39164
39165 #ifdef __STDC__
39166 # include <limits.h>
39167 #else
39168 # include <assert.h>
39169 #endif
39170
39171 #undef localtime_r
39172
39173 /* Override any gcc2 internal prototype to avoid an error. */
39174 #ifdef __cplusplus
39175 extern "C"
39176 {
39177 #endif
39178 /* We use char because int might match the return type of a gcc2
39179 builtin and then its argument prototype would still apply. */
39180 char localtime_r ();
39181 /* The GNU C library defines this for functions which it implements
39182 to always fail with ENOSYS. Some functions are actually named
39183 something starting with __ and the normal name is an alias. */
39184 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
39185 choke me
39186 #else
39187 char (*f) () = localtime_r;
39188 #endif
39189 #ifdef __cplusplus
39190 }
39191 #endif
39192
39193 int
39194 main ()
39195 {
39196 return f != localtime_r;
39197 ;
39198 return 0;
39199 }
39200 _ACEOF
39201 rm -f conftest.$ac_objext conftest$ac_exeext
39202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39203 (eval $ac_link) 2>conftest.er1
39204 ac_status=$?
39205 grep -v '^ *+' conftest.er1 >conftest.err
39206 rm -f conftest.er1
39207 cat conftest.err >&5
39208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39209 (exit $ac_status); } &&
39210 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39212 (eval $ac_try) 2>&5
39213 ac_status=$?
39214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39215 (exit $ac_status); }; } &&
39216 { ac_try='test -s conftest$ac_exeext'
39217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39218 (eval $ac_try) 2>&5
39219 ac_status=$?
39220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39221 (exit $ac_status); }; }; then
39222 ac_cv_func_localtime_r=yes
39223 else
39224 echo "$as_me: failed program was:" >&5
39225 sed 's/^/| /' conftest.$ac_ext >&5
39226
39227 ac_cv_func_localtime_r=no
39228 fi
39229 rm -f conftest.err conftest.$ac_objext \
39230 conftest$ac_exeext conftest.$ac_ext
39231 fi
39232 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39233 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
39234 if test $ac_cv_func_localtime_r = yes; then
39235 cat >>confdefs.h <<\_ACEOF
39236 #define HAVE_LOCALTIME_R 1
39237 _ACEOF
39238
39239 fi
39240
39241 echo "$as_me:$LINENO: checking for gmtime_r" >&5
39242 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
39243 if test "${ac_cv_func_gmtime_r+set}" = set; then
39244 echo $ECHO_N "(cached) $ECHO_C" >&6
39245 else
39246 cat >conftest.$ac_ext <<_ACEOF
39247 /* confdefs.h. */
39248 _ACEOF
39249 cat confdefs.h >>conftest.$ac_ext
39250 cat >>conftest.$ac_ext <<_ACEOF
39251 /* end confdefs.h. */
39252 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39254 #define gmtime_r innocuous_gmtime_r
39255
39256 /* System header to define __stub macros and hopefully few prototypes,
39257 which can conflict with char gmtime_r (); below.
39258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39259 <limits.h> exists even on freestanding compilers. */
39260
39261 #ifdef __STDC__
39262 # include <limits.h>
39263 #else
39264 # include <assert.h>
39265 #endif
39266
39267 #undef gmtime_r
39268
39269 /* Override any gcc2 internal prototype to avoid an error. */
39270 #ifdef __cplusplus
39271 extern "C"
39272 {
39273 #endif
39274 /* We use char because int might match the return type of a gcc2
39275 builtin and then its argument prototype would still apply. */
39276 char gmtime_r ();
39277 /* The GNU C library defines this for functions which it implements
39278 to always fail with ENOSYS. Some functions are actually named
39279 something starting with __ and the normal name is an alias. */
39280 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
39281 choke me
39282 #else
39283 char (*f) () = gmtime_r;
39284 #endif
39285 #ifdef __cplusplus
39286 }
39287 #endif
39288
39289 int
39290 main ()
39291 {
39292 return f != gmtime_r;
39293 ;
39294 return 0;
39295 }
39296 _ACEOF
39297 rm -f conftest.$ac_objext conftest$ac_exeext
39298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39299 (eval $ac_link) 2>conftest.er1
39300 ac_status=$?
39301 grep -v '^ *+' conftest.er1 >conftest.err
39302 rm -f conftest.er1
39303 cat conftest.err >&5
39304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39305 (exit $ac_status); } &&
39306 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39308 (eval $ac_try) 2>&5
39309 ac_status=$?
39310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39311 (exit $ac_status); }; } &&
39312 { ac_try='test -s conftest$ac_exeext'
39313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39314 (eval $ac_try) 2>&5
39315 ac_status=$?
39316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39317 (exit $ac_status); }; }; then
39318 ac_cv_func_gmtime_r=yes
39319 else
39320 echo "$as_me: failed program was:" >&5
39321 sed 's/^/| /' conftest.$ac_ext >&5
39322
39323 ac_cv_func_gmtime_r=no
39324 fi
39325 rm -f conftest.err conftest.$ac_objext \
39326 conftest$ac_exeext conftest.$ac_ext
39327 fi
39328 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39329 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
39330 if test $ac_cv_func_gmtime_r = yes; then
39331 cat >>confdefs.h <<\_ACEOF
39332 #define HAVE_GMTIME_R 1
39333 _ACEOF
39334
39335 fi
39336
39337 echo "$as_me:$LINENO: checking for readdir_r" >&5
39338 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
39339 if test "${ac_cv_func_readdir_r+set}" = set; then
39340 echo $ECHO_N "(cached) $ECHO_C" >&6
39341 else
39342 cat >conftest.$ac_ext <<_ACEOF
39343 /* confdefs.h. */
39344 _ACEOF
39345 cat confdefs.h >>conftest.$ac_ext
39346 cat >>conftest.$ac_ext <<_ACEOF
39347 /* end confdefs.h. */
39348 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39350 #define readdir_r innocuous_readdir_r
39351
39352 /* System header to define __stub macros and hopefully few prototypes,
39353 which can conflict with char readdir_r (); below.
39354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39355 <limits.h> exists even on freestanding compilers. */
39356
39357 #ifdef __STDC__
39358 # include <limits.h>
39359 #else
39360 # include <assert.h>
39361 #endif
39362
39363 #undef readdir_r
39364
39365 /* Override any gcc2 internal prototype to avoid an error. */
39366 #ifdef __cplusplus
39367 extern "C"
39368 {
39369 #endif
39370 /* We use char because int might match the return type of a gcc2
39371 builtin and then its argument prototype would still apply. */
39372 char readdir_r ();
39373 /* The GNU C library defines this for functions which it implements
39374 to always fail with ENOSYS. Some functions are actually named
39375 something starting with __ and the normal name is an alias. */
39376 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
39377 choke me
39378 #else
39379 char (*f) () = readdir_r;
39380 #endif
39381 #ifdef __cplusplus
39382 }
39383 #endif
39384
39385 int
39386 main ()
39387 {
39388 return f != readdir_r;
39389 ;
39390 return 0;
39391 }
39392 _ACEOF
39393 rm -f conftest.$ac_objext conftest$ac_exeext
39394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39395 (eval $ac_link) 2>conftest.er1
39396 ac_status=$?
39397 grep -v '^ *+' conftest.er1 >conftest.err
39398 rm -f conftest.er1
39399 cat conftest.err >&5
39400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39401 (exit $ac_status); } &&
39402 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39404 (eval $ac_try) 2>&5
39405 ac_status=$?
39406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39407 (exit $ac_status); }; } &&
39408 { ac_try='test -s conftest$ac_exeext'
39409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39410 (eval $ac_try) 2>&5
39411 ac_status=$?
39412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39413 (exit $ac_status); }; }; then
39414 ac_cv_func_readdir_r=yes
39415 else
39416 echo "$as_me: failed program was:" >&5
39417 sed 's/^/| /' conftest.$ac_ext >&5
39418
39419 ac_cv_func_readdir_r=no
39420 fi
39421 rm -f conftest.err conftest.$ac_objext \
39422 conftest$ac_exeext conftest.$ac_ext
39423 fi
39424 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39425 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
39426 if test $ac_cv_func_readdir_r = yes; then
39427 cat >>confdefs.h <<\_ACEOF
39428 #define HAVE_READDIR_R 1
39429 _ACEOF
39430
39431 fi
39432
39433
39434
39435
39436 ac_ext=c
39437 ac_cpp='$CPP $CPPFLAGS'
39438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39441
39442 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39443 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
39444
39445 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39446 echo $ECHO_N "(cached) $ECHO_C" >&6
39447 else
39448
39449
39450 ################################################################
39451
39452 ac_cv_func_which_gethostbyname_r=unknown
39453
39454 #
39455 # ONE ARGUMENT (sanity check)
39456 #
39457
39458 # This should fail, as there is no variant of gethostbyname_r() that takes
39459 # a single argument. If it actually compiles, then we can assume that
39460 # netdb.h is not declaring the function, and the compiler is thereby
39461 # assuming an implicit prototype. In which case, we're out of luck.
39462 #
39463 cat >conftest.$ac_ext <<_ACEOF
39464 /* confdefs.h. */
39465 _ACEOF
39466 cat confdefs.h >>conftest.$ac_ext
39467 cat >>conftest.$ac_ext <<_ACEOF
39468 /* end confdefs.h. */
39469 #include <netdb.h>
39470 int
39471 main ()
39472 {
39473
39474 char *name = "www.gnu.org";
39475 (void)gethostbyname_r(name) /* ; */
39476
39477 ;
39478 return 0;
39479 }
39480 _ACEOF
39481 rm -f conftest.$ac_objext
39482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39483 (eval $ac_compile) 2>conftest.er1
39484 ac_status=$?
39485 grep -v '^ *+' conftest.er1 >conftest.err
39486 rm -f conftest.er1
39487 cat conftest.err >&5
39488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39489 (exit $ac_status); } &&
39490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39492 (eval $ac_try) 2>&5
39493 ac_status=$?
39494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495 (exit $ac_status); }; } &&
39496 { ac_try='test -s conftest.$ac_objext'
39497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39498 (eval $ac_try) 2>&5
39499 ac_status=$?
39500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39501 (exit $ac_status); }; }; then
39502 ac_cv_func_which_gethostbyname_r=no
39503 else
39504 echo "$as_me: failed program was:" >&5
39505 sed 's/^/| /' conftest.$ac_ext >&5
39506
39507 fi
39508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39509
39510 #
39511 # SIX ARGUMENTS
39512 # (e.g. Linux)
39513 #
39514
39515 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39516
39517 cat >conftest.$ac_ext <<_ACEOF
39518 /* confdefs.h. */
39519 _ACEOF
39520 cat confdefs.h >>conftest.$ac_ext
39521 cat >>conftest.$ac_ext <<_ACEOF
39522 /* end confdefs.h. */
39523 #include <netdb.h>
39524 int
39525 main ()
39526 {
39527
39528 char *name = "www.gnu.org";
39529 struct hostent ret, *retp;
39530 char buf[1024];
39531 int buflen = 1024;
39532 int my_h_errno;
39533 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39534
39535 ;
39536 return 0;
39537 }
39538 _ACEOF
39539 rm -f conftest.$ac_objext
39540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39541 (eval $ac_compile) 2>conftest.er1
39542 ac_status=$?
39543 grep -v '^ *+' conftest.er1 >conftest.err
39544 rm -f conftest.er1
39545 cat conftest.err >&5
39546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39547 (exit $ac_status); } &&
39548 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39550 (eval $ac_try) 2>&5
39551 ac_status=$?
39552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39553 (exit $ac_status); }; } &&
39554 { ac_try='test -s conftest.$ac_objext'
39555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39556 (eval $ac_try) 2>&5
39557 ac_status=$?
39558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39559 (exit $ac_status); }; }; then
39560 ac_cv_func_which_gethostbyname_r=six
39561 else
39562 echo "$as_me: failed program was:" >&5
39563 sed 's/^/| /' conftest.$ac_ext >&5
39564
39565 fi
39566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39567
39568 fi
39569
39570 #
39571 # FIVE ARGUMENTS
39572 # (e.g. Solaris)
39573 #
39574
39575 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39576
39577 cat >conftest.$ac_ext <<_ACEOF
39578 /* confdefs.h. */
39579 _ACEOF
39580 cat confdefs.h >>conftest.$ac_ext
39581 cat >>conftest.$ac_ext <<_ACEOF
39582 /* end confdefs.h. */
39583 #include <netdb.h>
39584 int
39585 main ()
39586 {
39587
39588 char *name = "www.gnu.org";
39589 struct hostent ret;
39590 char buf[1024];
39591 int buflen = 1024;
39592 int my_h_errno;
39593 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39594
39595 ;
39596 return 0;
39597 }
39598 _ACEOF
39599 rm -f conftest.$ac_objext
39600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39601 (eval $ac_compile) 2>conftest.er1
39602 ac_status=$?
39603 grep -v '^ *+' conftest.er1 >conftest.err
39604 rm -f conftest.er1
39605 cat conftest.err >&5
39606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39607 (exit $ac_status); } &&
39608 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39610 (eval $ac_try) 2>&5
39611 ac_status=$?
39612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39613 (exit $ac_status); }; } &&
39614 { ac_try='test -s conftest.$ac_objext'
39615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39616 (eval $ac_try) 2>&5
39617 ac_status=$?
39618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39619 (exit $ac_status); }; }; then
39620 ac_cv_func_which_gethostbyname_r=five
39621 else
39622 echo "$as_me: failed program was:" >&5
39623 sed 's/^/| /' conftest.$ac_ext >&5
39624
39625 fi
39626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39627
39628 fi
39629
39630 #
39631 # THREE ARGUMENTS
39632 # (e.g. AIX, HP-UX, Tru64)
39633 #
39634
39635 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39636
39637 cat >conftest.$ac_ext <<_ACEOF
39638 /* confdefs.h. */
39639 _ACEOF
39640 cat confdefs.h >>conftest.$ac_ext
39641 cat >>conftest.$ac_ext <<_ACEOF
39642 /* end confdefs.h. */
39643 #include <netdb.h>
39644 int
39645 main ()
39646 {
39647
39648 char *name = "www.gnu.org";
39649 struct hostent ret;
39650 struct hostent_data data;
39651 (void)gethostbyname_r(name, &ret, &data) /* ; */
39652
39653 ;
39654 return 0;
39655 }
39656 _ACEOF
39657 rm -f conftest.$ac_objext
39658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39659 (eval $ac_compile) 2>conftest.er1
39660 ac_status=$?
39661 grep -v '^ *+' conftest.er1 >conftest.err
39662 rm -f conftest.er1
39663 cat conftest.err >&5
39664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39665 (exit $ac_status); } &&
39666 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39668 (eval $ac_try) 2>&5
39669 ac_status=$?
39670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39671 (exit $ac_status); }; } &&
39672 { ac_try='test -s conftest.$ac_objext'
39673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39674 (eval $ac_try) 2>&5
39675 ac_status=$?
39676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39677 (exit $ac_status); }; }; then
39678 ac_cv_func_which_gethostbyname_r=three
39679 else
39680 echo "$as_me: failed program was:" >&5
39681 sed 's/^/| /' conftest.$ac_ext >&5
39682
39683 fi
39684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39685
39686 fi
39687
39688 ################################################################
39689
39690
39691 fi
39692
39693 case "$ac_cv_func_which_gethostbyname_r" in
39694 three)
39695 echo "$as_me:$LINENO: result: three" >&5
39696 echo "${ECHO_T}three" >&6
39697 cat >>confdefs.h <<\_ACEOF
39698 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39699 _ACEOF
39700
39701 ;;
39702
39703 five)
39704 echo "$as_me:$LINENO: result: five" >&5
39705 echo "${ECHO_T}five" >&6
39706 cat >>confdefs.h <<\_ACEOF
39707 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39708 _ACEOF
39709
39710 ;;
39711
39712 six)
39713 echo "$as_me:$LINENO: result: six" >&5
39714 echo "${ECHO_T}six" >&6
39715 cat >>confdefs.h <<\_ACEOF
39716 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39717 _ACEOF
39718
39719 ;;
39720
39721 no)
39722 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39723 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
39724 ;;
39725
39726 unknown)
39727 echo "$as_me:$LINENO: result: can't tell" >&5
39728 echo "${ECHO_T}can't tell" >&6
39729 ;;
39730
39731 *)
39732 { { echo "$as_me:$LINENO: error: internal error" >&5
39733 echo "$as_me: error: internal error" >&2;}
39734 { (exit 1); exit 1; }; }
39735 ;;
39736 esac
39737
39738 ac_ext=cc
39739 ac_cpp='$CXXCPP $CPPFLAGS'
39740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39743
39744
39745
39746 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39747 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39748 echo "$as_me:$LINENO: checking for gethostbyname" >&5
39749 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
39750 if test "${ac_cv_func_gethostbyname+set}" = set; then
39751 echo $ECHO_N "(cached) $ECHO_C" >&6
39752 else
39753 cat >conftest.$ac_ext <<_ACEOF
39754 /* confdefs.h. */
39755 _ACEOF
39756 cat confdefs.h >>conftest.$ac_ext
39757 cat >>conftest.$ac_ext <<_ACEOF
39758 /* end confdefs.h. */
39759 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39761 #define gethostbyname innocuous_gethostbyname
39762
39763 /* System header to define __stub macros and hopefully few prototypes,
39764 which can conflict with char gethostbyname (); below.
39765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39766 <limits.h> exists even on freestanding compilers. */
39767
39768 #ifdef __STDC__
39769 # include <limits.h>
39770 #else
39771 # include <assert.h>
39772 #endif
39773
39774 #undef gethostbyname
39775
39776 /* Override any gcc2 internal prototype to avoid an error. */
39777 #ifdef __cplusplus
39778 extern "C"
39779 {
39780 #endif
39781 /* We use char because int might match the return type of a gcc2
39782 builtin and then its argument prototype would still apply. */
39783 char gethostbyname ();
39784 /* The GNU C library defines this for functions which it implements
39785 to always fail with ENOSYS. Some functions are actually named
39786 something starting with __ and the normal name is an alias. */
39787 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
39788 choke me
39789 #else
39790 char (*f) () = gethostbyname;
39791 #endif
39792 #ifdef __cplusplus
39793 }
39794 #endif
39795
39796 int
39797 main ()
39798 {
39799 return f != gethostbyname;
39800 ;
39801 return 0;
39802 }
39803 _ACEOF
39804 rm -f conftest.$ac_objext conftest$ac_exeext
39805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39806 (eval $ac_link) 2>conftest.er1
39807 ac_status=$?
39808 grep -v '^ *+' conftest.er1 >conftest.err
39809 rm -f conftest.er1
39810 cat conftest.err >&5
39811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39812 (exit $ac_status); } &&
39813 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39815 (eval $ac_try) 2>&5
39816 ac_status=$?
39817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39818 (exit $ac_status); }; } &&
39819 { ac_try='test -s conftest$ac_exeext'
39820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39821 (eval $ac_try) 2>&5
39822 ac_status=$?
39823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39824 (exit $ac_status); }; }; then
39825 ac_cv_func_gethostbyname=yes
39826 else
39827 echo "$as_me: failed program was:" >&5
39828 sed 's/^/| /' conftest.$ac_ext >&5
39829
39830 ac_cv_func_gethostbyname=no
39831 fi
39832 rm -f conftest.err conftest.$ac_objext \
39833 conftest$ac_exeext conftest.$ac_ext
39834 fi
39835 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39836 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
39837 if test $ac_cv_func_gethostbyname = yes; then
39838 cat >>confdefs.h <<\_ACEOF
39839 #define HAVE_GETHOSTBYNAME 1
39840 _ACEOF
39841
39842 fi
39843
39844 fi
39845 echo "$as_me:$LINENO: checking for getservbyname_r" >&5
39846 echo $ECHO_N "checking for getservbyname_r... $ECHO_C" >&6
39847 if test "${ac_cv_func_getservbyname_r+set}" = set; then
39848 echo $ECHO_N "(cached) $ECHO_C" >&6
39849 else
39850 cat >conftest.$ac_ext <<_ACEOF
39851 /* confdefs.h. */
39852 _ACEOF
39853 cat confdefs.h >>conftest.$ac_ext
39854 cat >>conftest.$ac_ext <<_ACEOF
39855 /* end confdefs.h. */
39856 /* Define getservbyname_r to an innocuous variant, in case <limits.h> declares getservbyname_r.
39857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39858 #define getservbyname_r innocuous_getservbyname_r
39859
39860 /* System header to define __stub macros and hopefully few prototypes,
39861 which can conflict with char getservbyname_r (); below.
39862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39863 <limits.h> exists even on freestanding compilers. */
39864
39865 #ifdef __STDC__
39866 # include <limits.h>
39867 #else
39868 # include <assert.h>
39869 #endif
39870
39871 #undef getservbyname_r
39872
39873 /* Override any gcc2 internal prototype to avoid an error. */
39874 #ifdef __cplusplus
39875 extern "C"
39876 {
39877 #endif
39878 /* We use char because int might match the return type of a gcc2
39879 builtin and then its argument prototype would still apply. */
39880 char getservbyname_r ();
39881 /* The GNU C library defines this for functions which it implements
39882 to always fail with ENOSYS. Some functions are actually named
39883 something starting with __ and the normal name is an alias. */
39884 #if defined (__stub_getservbyname_r) || defined (__stub___getservbyname_r)
39885 choke me
39886 #else
39887 char (*f) () = getservbyname_r;
39888 #endif
39889 #ifdef __cplusplus
39890 }
39891 #endif
39892
39893 int
39894 main ()
39895 {
39896 return f != getservbyname_r;
39897 ;
39898 return 0;
39899 }
39900 _ACEOF
39901 rm -f conftest.$ac_objext conftest$ac_exeext
39902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39903 (eval $ac_link) 2>conftest.er1
39904 ac_status=$?
39905 grep -v '^ *+' conftest.er1 >conftest.err
39906 rm -f conftest.er1
39907 cat conftest.err >&5
39908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39909 (exit $ac_status); } &&
39910 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39912 (eval $ac_try) 2>&5
39913 ac_status=$?
39914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915 (exit $ac_status); }; } &&
39916 { ac_try='test -s conftest$ac_exeext'
39917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39918 (eval $ac_try) 2>&5
39919 ac_status=$?
39920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39921 (exit $ac_status); }; }; then
39922 ac_cv_func_getservbyname_r=yes
39923 else
39924 echo "$as_me: failed program was:" >&5
39925 sed 's/^/| /' conftest.$ac_ext >&5
39926
39927 ac_cv_func_getservbyname_r=no
39928 fi
39929 rm -f conftest.err conftest.$ac_objext \
39930 conftest$ac_exeext conftest.$ac_ext
39931 fi
39932 echo "$as_me:$LINENO: result: $ac_cv_func_getservbyname_r" >&5
39933 echo "${ECHO_T}$ac_cv_func_getservbyname_r" >&6
39934 if test $ac_cv_func_getservbyname_r = yes; then
39935 cat >conftest.$ac_ext <<_ACEOF
39936 /* confdefs.h. */
39937 _ACEOF
39938 cat confdefs.h >>conftest.$ac_ext
39939 cat >>conftest.$ac_ext <<_ACEOF
39940 /* end confdefs.h. */
39941 #include <netdb.h>
39942 int
39943 main ()
39944 {
39945
39946 char *name;
39947 char *proto;
39948 struct servent *se;
39949 struct servent_data data;
39950 (void) getservbyname_r(name, proto, se, &data);
39951
39952 ;
39953 return 0;
39954 }
39955 _ACEOF
39956 rm -f conftest.$ac_objext
39957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39958 (eval $ac_compile) 2>conftest.er1
39959 ac_status=$?
39960 grep -v '^ *+' conftest.er1 >conftest.err
39961 rm -f conftest.er1
39962 cat conftest.err >&5
39963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39964 (exit $ac_status); } &&
39965 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39967 (eval $ac_try) 2>&5
39968 ac_status=$?
39969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39970 (exit $ac_status); }; } &&
39971 { ac_try='test -s conftest.$ac_objext'
39972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39973 (eval $ac_try) 2>&5
39974 ac_status=$?
39975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39976 (exit $ac_status); }; }; then
39977 ac_cv_func_which_getservbyname_r=four
39978 else
39979 echo "$as_me: failed program was:" >&5
39980 sed 's/^/| /' conftest.$ac_ext >&5
39981
39982 cat >conftest.$ac_ext <<_ACEOF
39983 /* confdefs.h. */
39984 _ACEOF
39985 cat confdefs.h >>conftest.$ac_ext
39986 cat >>conftest.$ac_ext <<_ACEOF
39987 /* end confdefs.h. */
39988 #include <netdb.h>
39989 int
39990 main ()
39991 {
39992
39993 char *name;
39994 char *proto;
39995 struct servent *se, *res;
39996 char buffer[2048];
39997 int buflen = 2048;
39998 (void) getservbyname_r(name, proto, se, buffer, buflen, &res);
39999
40000 ;
40001 return 0;
40002 }
40003 _ACEOF
40004 rm -f conftest.$ac_objext
40005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40006 (eval $ac_compile) 2>conftest.er1
40007 ac_status=$?
40008 grep -v '^ *+' conftest.er1 >conftest.err
40009 rm -f conftest.er1
40010 cat conftest.err >&5
40011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40012 (exit $ac_status); } &&
40013 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40015 (eval $ac_try) 2>&5
40016 ac_status=$?
40017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40018 (exit $ac_status); }; } &&
40019 { ac_try='test -s conftest.$ac_objext'
40020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40021 (eval $ac_try) 2>&5
40022 ac_status=$?
40023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40024 (exit $ac_status); }; }; then
40025 ac_cv_func_which_getservbyname_r=six
40026 else
40027 echo "$as_me: failed program was:" >&5
40028 sed 's/^/| /' conftest.$ac_ext >&5
40029
40030 cat >conftest.$ac_ext <<_ACEOF
40031 /* confdefs.h. */
40032 _ACEOF
40033 cat confdefs.h >>conftest.$ac_ext
40034 cat >>conftest.$ac_ext <<_ACEOF
40035 /* end confdefs.h. */
40036 #include <netdb.h>
40037 int
40038 main ()
40039 {
40040
40041 char *name;
40042 char *proto;
40043 struct servent *se;
40044 char buffer[2048];
40045 int buflen = 2048;
40046 (void) getservbyname_r(name, proto, se, buffer, buflen)
40047
40048 ;
40049 return 0;
40050 }
40051 _ACEOF
40052 rm -f conftest.$ac_objext
40053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40054 (eval $ac_compile) 2>conftest.er1
40055 ac_status=$?
40056 grep -v '^ *+' conftest.er1 >conftest.err
40057 rm -f conftest.er1
40058 cat conftest.err >&5
40059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40060 (exit $ac_status); } &&
40061 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40063 (eval $ac_try) 2>&5
40064 ac_status=$?
40065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40066 (exit $ac_status); }; } &&
40067 { ac_try='test -s conftest.$ac_objext'
40068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40069 (eval $ac_try) 2>&5
40070 ac_status=$?
40071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40072 (exit $ac_status); }; }; then
40073 ac_cv_func_which_getservbyname_r=five
40074 else
40075 echo "$as_me: failed program was:" >&5
40076 sed 's/^/| /' conftest.$ac_ext >&5
40077
40078 ac_cv_func_which_getservbyname_r=no
40079
40080 fi
40081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40082
40083 fi
40084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40085
40086 fi
40087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40088 else
40089 ac_cv_func_which_getservbyname_r=no
40090 fi
40091
40092
40093 if test $ac_cv_func_which_getservbyname_r = six; then
40094 cat >>confdefs.h <<\_ACEOF
40095 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40096 _ACEOF
40097
40098 elif test $ac_cv_func_which_getservbyname_r = five; then
40099 cat >>confdefs.h <<\_ACEOF
40100 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40101 _ACEOF
40102
40103 elif test $ac_cv_func_which_getservbyname_r = four; then
40104 cat >>confdefs.h <<\_ACEOF
40105 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40106 _ACEOF
40107
40108 fi
40109
40110
40111 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40112 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40113
40114 for ac_func in getservbyname
40115 do
40116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40117 echo "$as_me:$LINENO: checking for $ac_func" >&5
40118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40119 if eval "test \"\${$as_ac_var+set}\" = set"; then
40120 echo $ECHO_N "(cached) $ECHO_C" >&6
40121 else
40122 cat >conftest.$ac_ext <<_ACEOF
40123 /* confdefs.h. */
40124 _ACEOF
40125 cat confdefs.h >>conftest.$ac_ext
40126 cat >>conftest.$ac_ext <<_ACEOF
40127 /* end confdefs.h. */
40128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40130 #define $ac_func innocuous_$ac_func
40131
40132 /* System header to define __stub macros and hopefully few prototypes,
40133 which can conflict with char $ac_func (); below.
40134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40135 <limits.h> exists even on freestanding compilers. */
40136
40137 #ifdef __STDC__
40138 # include <limits.h>
40139 #else
40140 # include <assert.h>
40141 #endif
40142
40143 #undef $ac_func
40144
40145 /* Override any gcc2 internal prototype to avoid an error. */
40146 #ifdef __cplusplus
40147 extern "C"
40148 {
40149 #endif
40150 /* We use char because int might match the return type of a gcc2
40151 builtin and then its argument prototype would still apply. */
40152 char $ac_func ();
40153 /* The GNU C library defines this for functions which it implements
40154 to always fail with ENOSYS. Some functions are actually named
40155 something starting with __ and the normal name is an alias. */
40156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40157 choke me
40158 #else
40159 char (*f) () = $ac_func;
40160 #endif
40161 #ifdef __cplusplus
40162 }
40163 #endif
40164
40165 int
40166 main ()
40167 {
40168 return f != $ac_func;
40169 ;
40170 return 0;
40171 }
40172 _ACEOF
40173 rm -f conftest.$ac_objext conftest$ac_exeext
40174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40175 (eval $ac_link) 2>conftest.er1
40176 ac_status=$?
40177 grep -v '^ *+' conftest.er1 >conftest.err
40178 rm -f conftest.er1
40179 cat conftest.err >&5
40180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40181 (exit $ac_status); } &&
40182 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40184 (eval $ac_try) 2>&5
40185 ac_status=$?
40186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40187 (exit $ac_status); }; } &&
40188 { ac_try='test -s conftest$ac_exeext'
40189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40190 (eval $ac_try) 2>&5
40191 ac_status=$?
40192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40193 (exit $ac_status); }; }; then
40194 eval "$as_ac_var=yes"
40195 else
40196 echo "$as_me: failed program was:" >&5
40197 sed 's/^/| /' conftest.$ac_ext >&5
40198
40199 eval "$as_ac_var=no"
40200 fi
40201 rm -f conftest.err conftest.$ac_objext \
40202 conftest$ac_exeext conftest.$ac_ext
40203 fi
40204 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40205 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40206 if test `eval echo '${'$as_ac_var'}'` = yes; then
40207 cat >>confdefs.h <<_ACEOF
40208 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40209 _ACEOF
40210 cat >>confdefs.h <<\_ACEOF
40211 #define HAVE_GETSERVBYNAME 1
40212 _ACEOF
40213
40214 fi
40215 done
40216
40217 fi
40218
40219 if test "$wxUSE_THREADS" = "yes"; then
40220 cat >>confdefs.h <<\_ACEOF
40221 #define wxUSE_THREADS 1
40222 _ACEOF
40223
40224
40225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40226 else
40227 if test "$ac_cv_func_strtok_r" = "yes"; then
40228 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40229 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
40230 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40231 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40232 echo "$as_me:$LINENO: result: yes" >&5
40233 echo "${ECHO_T}yes" >&6
40234 else
40235 echo "$as_me:$LINENO: result: no" >&5
40236 echo "${ECHO_T}no" >&6
40237 fi
40238 fi
40239 fi
40240
40241 if test "$WXGTK20" = 1 ; then
40242 cat >>confdefs.h <<_ACEOF
40243 #define __WXGTK20__ $WXGTK20
40244 _ACEOF
40245
40246 WXGTK12=1
40247 fi
40248
40249 if test "$WXGTK12" = 1 ; then
40250 cat >>confdefs.h <<_ACEOF
40251 #define __WXGTK12__ $WXGTK12
40252 _ACEOF
40253
40254 fi
40255
40256 if test "$WXGTK127" = 1 ; then
40257 cat >>confdefs.h <<_ACEOF
40258 #define __WXGTK127__ $WXGTK127
40259 _ACEOF
40260
40261 fi
40262
40263 if test "$WXGPE" = 1 ; then
40264 cat >>confdefs.h <<_ACEOF
40265 #define __WXGPE__ $WXGPE
40266 _ACEOF
40267
40268 fi
40269
40270 DEBUG_CFLAGS=
40271 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40272 DEBUG_CFLAGS="-g"
40273 wxUSE_OPTIMISE=no
40274 fi
40275
40276 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40277 wxUSE_DEBUG_INFO=yes
40278 if test "$GCC" = yes; then
40279 DEBUG_CFLAGS="-ggdb"
40280 fi
40281 fi
40282
40283 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40284 cat >>confdefs.h <<\_ACEOF
40285 #define WXDEBUG 1
40286 _ACEOF
40287
40288 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40289 else
40290 if test "$wxUSE_GTK" = 1 ; then
40291 if test "x$wxGTK_VERSION" = "x1" ; then
40292 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40293 fi
40294 fi
40295 fi
40296
40297 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40298 cat >>confdefs.h <<\_ACEOF
40299 #define wxUSE_MEMORY_TRACING 1
40300 _ACEOF
40301
40302 cat >>confdefs.h <<\_ACEOF
40303 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40304 _ACEOF
40305
40306 cat >>confdefs.h <<\_ACEOF
40307 #define wxUSE_DEBUG_NEW_ALWAYS 1
40308 _ACEOF
40309
40310 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40311 fi
40312
40313 if test "$wxUSE_DMALLOC" = "yes" ; then
40314 DMALLOC_LIBS="-ldmallocthcxx"
40315 fi
40316
40317 PROFILE_FLAGS=
40318 if test "$wxUSE_PROFILE" = "yes" ; then
40319 PROFILE_FLAGS=" -pg"
40320 fi
40321
40322 if test "$GCC" = "yes" ; then
40323 if test "$wxUSE_NO_RTTI" = "yes" ; then
40324 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40325 fi
40326 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40327 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40328 fi
40329 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40330 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40331 fi
40332
40333 case "${host}" in
40334 powerpc*-*-aix* )
40335 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40336 ;;
40337 *-hppa* )
40338 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40339 ;;
40340 esac
40341 fi
40342
40343 OPTIMISE_CFLAGS=
40344 if test "$wxUSE_OPTIMISE" = "no" ; then
40345 if test "$GCC" = yes ; then
40346 OPTIMISE_CFLAGS="-O0"
40347 fi
40348 else
40349 if test "$GCC" = yes ; then
40350 case "${host}" in
40351 *-pc-os2_emx | *-pc-os2-emx )
40352 OPTIMISE_CFLAGS="-O2"
40353 ;;
40354 *)
40355 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40356 ;;
40357 esac
40358 else
40359 OPTIMISE_CFLAGS="-O"
40360 fi
40361 fi
40362
40363
40364 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
40365 cat >>confdefs.h <<\_ACEOF
40366 #define WXWIN_COMPATIBILITY_2_4 1
40367 _ACEOF
40368
40369
40370 WXWIN_COMPATIBILITY_2_6="yes"
40371 fi
40372
40373 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
40374 cat >>confdefs.h <<\_ACEOF
40375 #define WXWIN_COMPATIBILITY_2_6 1
40376 _ACEOF
40377
40378 fi
40379
40380
40381 if test "$wxUSE_GUI" = "yes"; then
40382 cat >>confdefs.h <<\_ACEOF
40383 #define wxUSE_GUI 1
40384 _ACEOF
40385
40386
40387 fi
40388
40389
40390 if test "$wxUSE_UNIX" = "yes"; then
40391 cat >>confdefs.h <<\_ACEOF
40392 #define wxUSE_UNIX 1
40393 _ACEOF
40394
40395 fi
40396
40397
40398 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40399
40400 HAVE_DL_FUNCS=0
40401 HAVE_SHL_FUNCS=0
40402 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40403 if test "$USE_DARWIN" = 1; then
40404 HAVE_DL_FUNCS=1
40405 elif test "$USE_DOS" = 1; then
40406 HAVE_DL_FUNCS=0
40407 else
40408
40409 for ac_func in dlopen
40410 do
40411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40412 echo "$as_me:$LINENO: checking for $ac_func" >&5
40413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40414 if eval "test \"\${$as_ac_var+set}\" = set"; then
40415 echo $ECHO_N "(cached) $ECHO_C" >&6
40416 else
40417 cat >conftest.$ac_ext <<_ACEOF
40418 /* confdefs.h. */
40419 _ACEOF
40420 cat confdefs.h >>conftest.$ac_ext
40421 cat >>conftest.$ac_ext <<_ACEOF
40422 /* end confdefs.h. */
40423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40425 #define $ac_func innocuous_$ac_func
40426
40427 /* System header to define __stub macros and hopefully few prototypes,
40428 which can conflict with char $ac_func (); below.
40429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40430 <limits.h> exists even on freestanding compilers. */
40431
40432 #ifdef __STDC__
40433 # include <limits.h>
40434 #else
40435 # include <assert.h>
40436 #endif
40437
40438 #undef $ac_func
40439
40440 /* Override any gcc2 internal prototype to avoid an error. */
40441 #ifdef __cplusplus
40442 extern "C"
40443 {
40444 #endif
40445 /* We use char because int might match the return type of a gcc2
40446 builtin and then its argument prototype would still apply. */
40447 char $ac_func ();
40448 /* The GNU C library defines this for functions which it implements
40449 to always fail with ENOSYS. Some functions are actually named
40450 something starting with __ and the normal name is an alias. */
40451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40452 choke me
40453 #else
40454 char (*f) () = $ac_func;
40455 #endif
40456 #ifdef __cplusplus
40457 }
40458 #endif
40459
40460 int
40461 main ()
40462 {
40463 return f != $ac_func;
40464 ;
40465 return 0;
40466 }
40467 _ACEOF
40468 rm -f conftest.$ac_objext conftest$ac_exeext
40469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40470 (eval $ac_link) 2>conftest.er1
40471 ac_status=$?
40472 grep -v '^ *+' conftest.er1 >conftest.err
40473 rm -f conftest.er1
40474 cat conftest.err >&5
40475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40476 (exit $ac_status); } &&
40477 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40479 (eval $ac_try) 2>&5
40480 ac_status=$?
40481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40482 (exit $ac_status); }; } &&
40483 { ac_try='test -s conftest$ac_exeext'
40484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40485 (eval $ac_try) 2>&5
40486 ac_status=$?
40487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40488 (exit $ac_status); }; }; then
40489 eval "$as_ac_var=yes"
40490 else
40491 echo "$as_me: failed program was:" >&5
40492 sed 's/^/| /' conftest.$ac_ext >&5
40493
40494 eval "$as_ac_var=no"
40495 fi
40496 rm -f conftest.err conftest.$ac_objext \
40497 conftest$ac_exeext conftest.$ac_ext
40498 fi
40499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40501 if test `eval echo '${'$as_ac_var'}'` = yes; then
40502 cat >>confdefs.h <<_ACEOF
40503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40504 _ACEOF
40505
40506 cat >>confdefs.h <<\_ACEOF
40507 #define HAVE_DLOPEN 1
40508 _ACEOF
40509
40510 HAVE_DL_FUNCS=1
40511
40512 else
40513
40514 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40515 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
40516 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40517 echo $ECHO_N "(cached) $ECHO_C" >&6
40518 else
40519 ac_check_lib_save_LIBS=$LIBS
40520 LIBS="-ldl $LIBS"
40521 cat >conftest.$ac_ext <<_ACEOF
40522 /* confdefs.h. */
40523 _ACEOF
40524 cat confdefs.h >>conftest.$ac_ext
40525 cat >>conftest.$ac_ext <<_ACEOF
40526 /* end confdefs.h. */
40527
40528 /* Override any gcc2 internal prototype to avoid an error. */
40529 #ifdef __cplusplus
40530 extern "C"
40531 #endif
40532 /* We use char because int might match the return type of a gcc2
40533 builtin and then its argument prototype would still apply. */
40534 char dlopen ();
40535 int
40536 main ()
40537 {
40538 dlopen ();
40539 ;
40540 return 0;
40541 }
40542 _ACEOF
40543 rm -f conftest.$ac_objext conftest$ac_exeext
40544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40545 (eval $ac_link) 2>conftest.er1
40546 ac_status=$?
40547 grep -v '^ *+' conftest.er1 >conftest.err
40548 rm -f conftest.er1
40549 cat conftest.err >&5
40550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40551 (exit $ac_status); } &&
40552 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40554 (eval $ac_try) 2>&5
40555 ac_status=$?
40556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40557 (exit $ac_status); }; } &&
40558 { ac_try='test -s conftest$ac_exeext'
40559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40560 (eval $ac_try) 2>&5
40561 ac_status=$?
40562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40563 (exit $ac_status); }; }; then
40564 ac_cv_lib_dl_dlopen=yes
40565 else
40566 echo "$as_me: failed program was:" >&5
40567 sed 's/^/| /' conftest.$ac_ext >&5
40568
40569 ac_cv_lib_dl_dlopen=no
40570 fi
40571 rm -f conftest.err conftest.$ac_objext \
40572 conftest$ac_exeext conftest.$ac_ext
40573 LIBS=$ac_check_lib_save_LIBS
40574 fi
40575 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40576 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
40577 if test $ac_cv_lib_dl_dlopen = yes; then
40578
40579 cat >>confdefs.h <<\_ACEOF
40580 #define HAVE_DLOPEN 1
40581 _ACEOF
40582
40583 HAVE_DL_FUNCS=1
40584 DL_LINK=" -ldl$DL_LINK"
40585
40586 else
40587
40588
40589 for ac_func in shl_load
40590 do
40591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40592 echo "$as_me:$LINENO: checking for $ac_func" >&5
40593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40594 if eval "test \"\${$as_ac_var+set}\" = set"; then
40595 echo $ECHO_N "(cached) $ECHO_C" >&6
40596 else
40597 cat >conftest.$ac_ext <<_ACEOF
40598 /* confdefs.h. */
40599 _ACEOF
40600 cat confdefs.h >>conftest.$ac_ext
40601 cat >>conftest.$ac_ext <<_ACEOF
40602 /* end confdefs.h. */
40603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40605 #define $ac_func innocuous_$ac_func
40606
40607 /* System header to define __stub macros and hopefully few prototypes,
40608 which can conflict with char $ac_func (); below.
40609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40610 <limits.h> exists even on freestanding compilers. */
40611
40612 #ifdef __STDC__
40613 # include <limits.h>
40614 #else
40615 # include <assert.h>
40616 #endif
40617
40618 #undef $ac_func
40619
40620 /* Override any gcc2 internal prototype to avoid an error. */
40621 #ifdef __cplusplus
40622 extern "C"
40623 {
40624 #endif
40625 /* We use char because int might match the return type of a gcc2
40626 builtin and then its argument prototype would still apply. */
40627 char $ac_func ();
40628 /* The GNU C library defines this for functions which it implements
40629 to always fail with ENOSYS. Some functions are actually named
40630 something starting with __ and the normal name is an alias. */
40631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40632 choke me
40633 #else
40634 char (*f) () = $ac_func;
40635 #endif
40636 #ifdef __cplusplus
40637 }
40638 #endif
40639
40640 int
40641 main ()
40642 {
40643 return f != $ac_func;
40644 ;
40645 return 0;
40646 }
40647 _ACEOF
40648 rm -f conftest.$ac_objext conftest$ac_exeext
40649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40650 (eval $ac_link) 2>conftest.er1
40651 ac_status=$?
40652 grep -v '^ *+' conftest.er1 >conftest.err
40653 rm -f conftest.er1
40654 cat conftest.err >&5
40655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40656 (exit $ac_status); } &&
40657 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40659 (eval $ac_try) 2>&5
40660 ac_status=$?
40661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40662 (exit $ac_status); }; } &&
40663 { ac_try='test -s conftest$ac_exeext'
40664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40665 (eval $ac_try) 2>&5
40666 ac_status=$?
40667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40668 (exit $ac_status); }; }; then
40669 eval "$as_ac_var=yes"
40670 else
40671 echo "$as_me: failed program was:" >&5
40672 sed 's/^/| /' conftest.$ac_ext >&5
40673
40674 eval "$as_ac_var=no"
40675 fi
40676 rm -f conftest.err conftest.$ac_objext \
40677 conftest$ac_exeext conftest.$ac_ext
40678 fi
40679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40681 if test `eval echo '${'$as_ac_var'}'` = yes; then
40682 cat >>confdefs.h <<_ACEOF
40683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40684 _ACEOF
40685
40686 cat >>confdefs.h <<\_ACEOF
40687 #define HAVE_SHL_LOAD 1
40688 _ACEOF
40689
40690 HAVE_SHL_FUNCS=1
40691
40692 else
40693
40694 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40695 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
40696 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40697 echo $ECHO_N "(cached) $ECHO_C" >&6
40698 else
40699 ac_check_lib_save_LIBS=$LIBS
40700 LIBS="-lshl_load $LIBS"
40701 cat >conftest.$ac_ext <<_ACEOF
40702 /* confdefs.h. */
40703 _ACEOF
40704 cat confdefs.h >>conftest.$ac_ext
40705 cat >>conftest.$ac_ext <<_ACEOF
40706 /* end confdefs.h. */
40707
40708 /* Override any gcc2 internal prototype to avoid an error. */
40709 #ifdef __cplusplus
40710 extern "C"
40711 #endif
40712 /* We use char because int might match the return type of a gcc2
40713 builtin and then its argument prototype would still apply. */
40714 char dld ();
40715 int
40716 main ()
40717 {
40718 dld ();
40719 ;
40720 return 0;
40721 }
40722 _ACEOF
40723 rm -f conftest.$ac_objext conftest$ac_exeext
40724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40725 (eval $ac_link) 2>conftest.er1
40726 ac_status=$?
40727 grep -v '^ *+' conftest.er1 >conftest.err
40728 rm -f conftest.er1
40729 cat conftest.err >&5
40730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40731 (exit $ac_status); } &&
40732 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40734 (eval $ac_try) 2>&5
40735 ac_status=$?
40736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40737 (exit $ac_status); }; } &&
40738 { ac_try='test -s conftest$ac_exeext'
40739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40740 (eval $ac_try) 2>&5
40741 ac_status=$?
40742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40743 (exit $ac_status); }; }; then
40744 ac_cv_lib_shl_load_dld=yes
40745 else
40746 echo "$as_me: failed program was:" >&5
40747 sed 's/^/| /' conftest.$ac_ext >&5
40748
40749 ac_cv_lib_shl_load_dld=no
40750 fi
40751 rm -f conftest.err conftest.$ac_objext \
40752 conftest$ac_exeext conftest.$ac_ext
40753 LIBS=$ac_check_lib_save_LIBS
40754 fi
40755 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40756 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
40757 if test $ac_cv_lib_shl_load_dld = yes; then
40758
40759 HAVE_SHL_FUNCS=1
40760 DL_LINK=" -ldld$DL_LINK"
40761
40762 fi
40763
40764
40765 fi
40766 done
40767
40768
40769 fi
40770
40771
40772 fi
40773 done
40774
40775
40776 if test "$HAVE_DL_FUNCS" = 1; then
40777
40778 for ac_func in dlerror
40779 do
40780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40781 echo "$as_me:$LINENO: checking for $ac_func" >&5
40782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40783 if eval "test \"\${$as_ac_var+set}\" = set"; then
40784 echo $ECHO_N "(cached) $ECHO_C" >&6
40785 else
40786 cat >conftest.$ac_ext <<_ACEOF
40787 /* confdefs.h. */
40788 _ACEOF
40789 cat confdefs.h >>conftest.$ac_ext
40790 cat >>conftest.$ac_ext <<_ACEOF
40791 /* end confdefs.h. */
40792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40794 #define $ac_func innocuous_$ac_func
40795
40796 /* System header to define __stub macros and hopefully few prototypes,
40797 which can conflict with char $ac_func (); below.
40798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40799 <limits.h> exists even on freestanding compilers. */
40800
40801 #ifdef __STDC__
40802 # include <limits.h>
40803 #else
40804 # include <assert.h>
40805 #endif
40806
40807 #undef $ac_func
40808
40809 /* Override any gcc2 internal prototype to avoid an error. */
40810 #ifdef __cplusplus
40811 extern "C"
40812 {
40813 #endif
40814 /* We use char because int might match the return type of a gcc2
40815 builtin and then its argument prototype would still apply. */
40816 char $ac_func ();
40817 /* The GNU C library defines this for functions which it implements
40818 to always fail with ENOSYS. Some functions are actually named
40819 something starting with __ and the normal name is an alias. */
40820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40821 choke me
40822 #else
40823 char (*f) () = $ac_func;
40824 #endif
40825 #ifdef __cplusplus
40826 }
40827 #endif
40828
40829 int
40830 main ()
40831 {
40832 return f != $ac_func;
40833 ;
40834 return 0;
40835 }
40836 _ACEOF
40837 rm -f conftest.$ac_objext conftest$ac_exeext
40838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40839 (eval $ac_link) 2>conftest.er1
40840 ac_status=$?
40841 grep -v '^ *+' conftest.er1 >conftest.err
40842 rm -f conftest.er1
40843 cat conftest.err >&5
40844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40845 (exit $ac_status); } &&
40846 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40848 (eval $ac_try) 2>&5
40849 ac_status=$?
40850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40851 (exit $ac_status); }; } &&
40852 { ac_try='test -s conftest$ac_exeext'
40853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40854 (eval $ac_try) 2>&5
40855 ac_status=$?
40856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40857 (exit $ac_status); }; }; then
40858 eval "$as_ac_var=yes"
40859 else
40860 echo "$as_me: failed program was:" >&5
40861 sed 's/^/| /' conftest.$ac_ext >&5
40862
40863 eval "$as_ac_var=no"
40864 fi
40865 rm -f conftest.err conftest.$ac_objext \
40866 conftest$ac_exeext conftest.$ac_ext
40867 fi
40868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40870 if test `eval echo '${'$as_ac_var'}'` = yes; then
40871 cat >>confdefs.h <<_ACEOF
40872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40873 _ACEOF
40874 cat >>confdefs.h <<\_ACEOF
40875 #define HAVE_DLERROR 1
40876 _ACEOF
40877
40878 else
40879
40880 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40881 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
40882 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40883 echo $ECHO_N "(cached) $ECHO_C" >&6
40884 else
40885 ac_check_lib_save_LIBS=$LIBS
40886 LIBS="-ldl $LIBS"
40887 cat >conftest.$ac_ext <<_ACEOF
40888 /* confdefs.h. */
40889 _ACEOF
40890 cat confdefs.h >>conftest.$ac_ext
40891 cat >>conftest.$ac_ext <<_ACEOF
40892 /* end confdefs.h. */
40893
40894 /* Override any gcc2 internal prototype to avoid an error. */
40895 #ifdef __cplusplus
40896 extern "C"
40897 #endif
40898 /* We use char because int might match the return type of a gcc2
40899 builtin and then its argument prototype would still apply. */
40900 char dlerror ();
40901 int
40902 main ()
40903 {
40904 dlerror ();
40905 ;
40906 return 0;
40907 }
40908 _ACEOF
40909 rm -f conftest.$ac_objext conftest$ac_exeext
40910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40911 (eval $ac_link) 2>conftest.er1
40912 ac_status=$?
40913 grep -v '^ *+' conftest.er1 >conftest.err
40914 rm -f conftest.er1
40915 cat conftest.err >&5
40916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40917 (exit $ac_status); } &&
40918 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40920 (eval $ac_try) 2>&5
40921 ac_status=$?
40922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40923 (exit $ac_status); }; } &&
40924 { ac_try='test -s conftest$ac_exeext'
40925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40926 (eval $ac_try) 2>&5
40927 ac_status=$?
40928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40929 (exit $ac_status); }; }; then
40930 ac_cv_lib_dl_dlerror=yes
40931 else
40932 echo "$as_me: failed program was:" >&5
40933 sed 's/^/| /' conftest.$ac_ext >&5
40934
40935 ac_cv_lib_dl_dlerror=no
40936 fi
40937 rm -f conftest.err conftest.$ac_objext \
40938 conftest$ac_exeext conftest.$ac_ext
40939 LIBS=$ac_check_lib_save_LIBS
40940 fi
40941 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40942 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
40943 if test $ac_cv_lib_dl_dlerror = yes; then
40944 cat >>confdefs.h <<\_ACEOF
40945 #define HAVE_DLERROR 1
40946 _ACEOF
40947
40948 fi
40949
40950
40951
40952 fi
40953 done
40954
40955 fi
40956 fi
40957
40958 if test "$HAVE_DL_FUNCS" = 0; then
40959 if test "$HAVE_SHL_FUNCS" = 0; then
40960 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40961 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40962 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40963 wxUSE_DYNAMIC_LOADER=no
40964 wxUSE_DYNLIB_CLASS=no
40965 else
40966 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40967 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40968 fi
40969 fi
40970 fi
40971 fi
40972 fi
40973
40974 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40975 cat >>confdefs.h <<\_ACEOF
40976 #define wxUSE_DYNAMIC_LOADER 1
40977 _ACEOF
40978
40979 fi
40980 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40981 cat >>confdefs.h <<\_ACEOF
40982 #define wxUSE_DYNLIB_CLASS 1
40983 _ACEOF
40984
40985 fi
40986
40987
40988
40989 if test "$wxUSE_PLUGINS" = "yes" ; then
40990 if test "$wxUSE_SHARED" = "no" ; then
40991 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40992 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40993 wxUSE_PLUGINS=no
40994 fi
40995 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40996 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40997 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40998 wxUSE_PLUGINS=no
40999 fi
41000 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41001 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41002 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41003 wxUSE_PLUGINS=no
41004 fi
41005 if test "$wxUSE_PLUGINS" = "yes" ; then
41006 cat >>confdefs.h <<\_ACEOF
41007 #define wxUSE_PLUGINS 1
41008 _ACEOF
41009
41010 fi
41011 fi
41012
41013
41014 if test "$wxUSE_STL" = "yes"; then
41015 cat >>confdefs.h <<\_ACEOF
41016 #define wxUSE_STL 1
41017 _ACEOF
41018
41019 fi
41020
41021 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41022 cat >>confdefs.h <<\_ACEOF
41023 #define wxUSE_APPLE_IEEE 1
41024 _ACEOF
41025
41026 fi
41027
41028 if test "$wxUSE_TIMER" = "yes"; then
41029 cat >>confdefs.h <<\_ACEOF
41030 #define wxUSE_TIMER 1
41031 _ACEOF
41032
41033 fi
41034
41035 if test "$USE_UNIX" = "1" ; then
41036 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41037 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
41038 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41039 echo $ECHO_N "(cached) $ECHO_C" >&6
41040 else
41041
41042 cat >conftest.$ac_ext <<_ACEOF
41043 /* confdefs.h. */
41044 _ACEOF
41045 cat confdefs.h >>conftest.$ac_ext
41046 cat >>conftest.$ac_ext <<_ACEOF
41047 /* end confdefs.h. */
41048
41049 #include <sys/ioctl.h>
41050 #include <sys/soundcard.h>
41051
41052 int
41053 main ()
41054 {
41055
41056 ioctl(0, SNDCTL_DSP_SPEED, 0);
41057
41058 ;
41059 return 0;
41060 }
41061 _ACEOF
41062 rm -f conftest.$ac_objext conftest$ac_exeext
41063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41064 (eval $ac_link) 2>conftest.er1
41065 ac_status=$?
41066 grep -v '^ *+' conftest.er1 >conftest.err
41067 rm -f conftest.er1
41068 cat conftest.err >&5
41069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41070 (exit $ac_status); } &&
41071 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41073 (eval $ac_try) 2>&5
41074 ac_status=$?
41075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41076 (exit $ac_status); }; } &&
41077 { ac_try='test -s conftest$ac_exeext'
41078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41079 (eval $ac_try) 2>&5
41080 ac_status=$?
41081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41082 (exit $ac_status); }; }; then
41083 ac_cv_header_sys_soundcard=yes
41084 else
41085 echo "$as_me: failed program was:" >&5
41086 sed 's/^/| /' conftest.$ac_ext >&5
41087
41088
41089 saveLibs="$LIBS"
41090 LIBS="$saveLibs -lossaudio"
41091 cat >conftest.$ac_ext <<_ACEOF
41092 /* confdefs.h. */
41093 _ACEOF
41094 cat confdefs.h >>conftest.$ac_ext
41095 cat >>conftest.$ac_ext <<_ACEOF
41096 /* end confdefs.h. */
41097
41098 #include <sys/ioctl.h>
41099 #include <sys/soundcard.h>
41100
41101 int
41102 main ()
41103 {
41104
41105 ioctl(0, SNDCTL_DSP_SPEED, 0);
41106
41107 ;
41108 return 0;
41109 }
41110 _ACEOF
41111 rm -f conftest.$ac_objext conftest$ac_exeext
41112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41113 (eval $ac_link) 2>conftest.er1
41114 ac_status=$?
41115 grep -v '^ *+' conftest.er1 >conftest.err
41116 rm -f conftest.er1
41117 cat conftest.err >&5
41118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41119 (exit $ac_status); } &&
41120 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41122 (eval $ac_try) 2>&5
41123 ac_status=$?
41124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41125 (exit $ac_status); }; } &&
41126 { ac_try='test -s conftest$ac_exeext'
41127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41128 (eval $ac_try) 2>&5
41129 ac_status=$?
41130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41131 (exit $ac_status); }; }; then
41132 ac_cv_header_sys_soundcard=yes
41133 else
41134 echo "$as_me: failed program was:" >&5
41135 sed 's/^/| /' conftest.$ac_ext >&5
41136
41137
41138 LIBS="$saveLibs"
41139 ac_cv_header_sys_soundcard=no
41140
41141
41142 fi
41143 rm -f conftest.err conftest.$ac_objext \
41144 conftest$ac_exeext conftest.$ac_ext
41145
41146
41147 fi
41148 rm -f conftest.err conftest.$ac_objext \
41149 conftest$ac_exeext conftest.$ac_ext
41150
41151 fi
41152 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41153 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
41154
41155 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41156 cat >>confdefs.h <<\_ACEOF
41157 #define HAVE_SYS_SOUNDCARD_H 1
41158 _ACEOF
41159
41160 else
41161 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
41162 fi
41163 fi
41164 WITH_PLUGIN_SDL=0
41165 if test "$wxUSE_SOUND" = "yes"; then
41166 if test "$USE_UNIX" = "1" ; then
41167 if test "$wxUSE_LIBSDL" != "no"; then
41168
41169 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
41170 if test "${with_sdl_prefix+set}" = set; then
41171 withval="$with_sdl_prefix"
41172 sdl_prefix="$withval"
41173 else
41174 sdl_prefix=""
41175 fi;
41176
41177 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
41178 if test "${with_sdl_exec_prefix+set}" = set; then
41179 withval="$with_sdl_exec_prefix"
41180 sdl_exec_prefix="$withval"
41181 else
41182 sdl_exec_prefix=""
41183 fi;
41184 # Check whether --enable-sdltest or --disable-sdltest was given.
41185 if test "${enable_sdltest+set}" = set; then
41186 enableval="$enable_sdltest"
41187
41188 else
41189 enable_sdltest=yes
41190 fi;
41191
41192 if test x$sdl_exec_prefix != x ; then
41193 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41194 if test x${SDL_CONFIG+set} != xset ; then
41195 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41196 fi
41197 fi
41198 if test x$sdl_prefix != x ; then
41199 sdl_args="$sdl_args --prefix=$sdl_prefix"
41200 if test x${SDL_CONFIG+set} != xset ; then
41201 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41202 fi
41203 fi
41204
41205
41206 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41207 # Extract the first word of "sdl-config", so it can be a program name with args.
41208 set dummy sdl-config; ac_word=$2
41209 echo "$as_me:$LINENO: checking for $ac_word" >&5
41210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41211 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41212 echo $ECHO_N "(cached) $ECHO_C" >&6
41213 else
41214 case $SDL_CONFIG in
41215 [\\/]* | ?:[\\/]*)
41216 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41217 ;;
41218 *)
41219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41220 for as_dir in $PATH
41221 do
41222 IFS=$as_save_IFS
41223 test -z "$as_dir" && as_dir=.
41224 for ac_exec_ext in '' $ac_executable_extensions; do
41225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41226 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41228 break 2
41229 fi
41230 done
41231 done
41232
41233 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41234 ;;
41235 esac
41236 fi
41237 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41238
41239 if test -n "$SDL_CONFIG"; then
41240 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41241 echo "${ECHO_T}$SDL_CONFIG" >&6
41242 else
41243 echo "$as_me:$LINENO: result: no" >&5
41244 echo "${ECHO_T}no" >&6
41245 fi
41246
41247 min_sdl_version=1.2.0
41248 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41249 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
41250 no_sdl=""
41251 if test "$SDL_CONFIG" = "no" ; then
41252 no_sdl=yes
41253 else
41254 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41255 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41256
41257 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41258 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41259 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41261 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41262 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41263 if test "x$enable_sdltest" = "xyes" ; then
41264 ac_save_CFLAGS="$CFLAGS"
41265 ac_save_CXXFLAGS="$CXXFLAGS"
41266 ac_save_LIBS="$LIBS"
41267 CFLAGS="$CFLAGS $SDL_CFLAGS"
41268 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41269 LIBS="$LIBS $SDL_LIBS"
41270 rm -f conf.sdltest
41271 if test "$cross_compiling" = yes; then
41272 echo $ac_n "cross compiling; assumed OK... $ac_c"
41273 else
41274 cat >conftest.$ac_ext <<_ACEOF
41275 /* confdefs.h. */
41276 _ACEOF
41277 cat confdefs.h >>conftest.$ac_ext
41278 cat >>conftest.$ac_ext <<_ACEOF
41279 /* end confdefs.h. */
41280
41281 #include <stdio.h>
41282 #include <stdlib.h>
41283 #include <string.h>
41284 #include "SDL.h"
41285
41286 char*
41287 my_strdup (char *str)
41288 {
41289 char *new_str;
41290
41291 if (str)
41292 {
41293 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41294 strcpy (new_str, str);
41295 }
41296 else
41297 new_str = NULL;
41298
41299 return new_str;
41300 }
41301
41302 int main (int argc, char *argv[])
41303 {
41304 int major, minor, micro;
41305 char *tmp_version;
41306
41307 /* This hangs on some systems (?)
41308 system ("touch conf.sdltest");
41309 */
41310 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41311
41312 /* HP/UX 9 (%@#!) writes to sscanf strings */
41313 tmp_version = my_strdup("$min_sdl_version");
41314 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41315 printf("%s, bad version string\n", "$min_sdl_version");
41316 exit(1);
41317 }
41318
41319 if (($sdl_major_version > major) ||
41320 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41321 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41322 {
41323 return 0;
41324 }
41325 else
41326 {
41327 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41328 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41329 printf("*** best to upgrade to the required version.\n");
41330 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41331 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41332 printf("*** config.cache before re-running configure\n");
41333 return 1;
41334 }
41335 }
41336
41337
41338 _ACEOF
41339 rm -f conftest$ac_exeext
41340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41341 (eval $ac_link) 2>&5
41342 ac_status=$?
41343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41344 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41346 (eval $ac_try) 2>&5
41347 ac_status=$?
41348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41349 (exit $ac_status); }; }; then
41350 :
41351 else
41352 echo "$as_me: program exited with status $ac_status" >&5
41353 echo "$as_me: failed program was:" >&5
41354 sed 's/^/| /' conftest.$ac_ext >&5
41355
41356 ( exit $ac_status )
41357 no_sdl=yes
41358 fi
41359 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41360 fi
41361 CFLAGS="$ac_save_CFLAGS"
41362 CXXFLAGS="$ac_save_CXXFLAGS"
41363 LIBS="$ac_save_LIBS"
41364 fi
41365 fi
41366 if test "x$no_sdl" = x ; then
41367 echo "$as_me:$LINENO: result: yes" >&5
41368 echo "${ECHO_T}yes" >&6
41369
41370 EXTRALIBS_SDL="$SDL_LIBS"
41371 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41372 cat >>confdefs.h <<\_ACEOF
41373 #define wxUSE_LIBSDL 1
41374 _ACEOF
41375
41376
41377 else
41378 echo "$as_me:$LINENO: result: no" >&5
41379 echo "${ECHO_T}no" >&6
41380 if test "$SDL_CONFIG" = "no" ; then
41381 echo "*** The sdl-config script installed by SDL could not be found"
41382 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41383 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41384 echo "*** full path to sdl-config."
41385 else
41386 if test -f conf.sdltest ; then
41387 :
41388 else
41389 echo "*** Could not run SDL test program, checking why..."
41390 CFLAGS="$CFLAGS $SDL_CFLAGS"
41391 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41392 LIBS="$LIBS $SDL_LIBS"
41393 cat >conftest.$ac_ext <<_ACEOF
41394 /* confdefs.h. */
41395 _ACEOF
41396 cat confdefs.h >>conftest.$ac_ext
41397 cat >>conftest.$ac_ext <<_ACEOF
41398 /* end confdefs.h. */
41399
41400 #include <stdio.h>
41401 #include "SDL.h"
41402
41403 int main(int argc, char *argv[])
41404 { return 0; }
41405 #undef main
41406 #define main K_and_R_C_main
41407
41408 int
41409 main ()
41410 {
41411 return 0;
41412 ;
41413 return 0;
41414 }
41415 _ACEOF
41416 rm -f conftest.$ac_objext conftest$ac_exeext
41417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41418 (eval $ac_link) 2>conftest.er1
41419 ac_status=$?
41420 grep -v '^ *+' conftest.er1 >conftest.err
41421 rm -f conftest.er1
41422 cat conftest.err >&5
41423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41424 (exit $ac_status); } &&
41425 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41427 (eval $ac_try) 2>&5
41428 ac_status=$?
41429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41430 (exit $ac_status); }; } &&
41431 { ac_try='test -s conftest$ac_exeext'
41432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41433 (eval $ac_try) 2>&5
41434 ac_status=$?
41435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41436 (exit $ac_status); }; }; then
41437 echo "*** The test program compiled, but did not run. This usually means"
41438 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41439 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41440 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41441 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41442 echo "*** is required on your system"
41443 echo "***"
41444 echo "*** If you have an old version installed, it is best to remove it, although"
41445 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41446 else
41447 echo "$as_me: failed program was:" >&5
41448 sed 's/^/| /' conftest.$ac_ext >&5
41449
41450 echo "*** The test program failed to compile or link. See the file config.log for the"
41451 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41452 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41453 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41454 fi
41455 rm -f conftest.err conftest.$ac_objext \
41456 conftest$ac_exeext conftest.$ac_ext
41457 CFLAGS="$ac_save_CFLAGS"
41458 CXXFLAGS="$ac_save_CXXFLAGS"
41459 LIBS="$ac_save_LIBS"
41460 fi
41461 fi
41462 SDL_CFLAGS=""
41463 SDL_LIBS=""
41464 wxUSE_LIBSDL="no"
41465 fi
41466
41467
41468 rm -f conf.sdltest
41469
41470 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41471 WITH_PLUGIN_SDL=1
41472 fi
41473 fi
41474 fi
41475
41476 cat >>confdefs.h <<\_ACEOF
41477 #define wxUSE_SOUND 1
41478 _ACEOF
41479
41480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41481 fi
41482
41483 if test "$WXGTK20" = 1; then
41484 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41485 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41486
41487
41488 succeeded=no
41489
41490 if test -z "$PKG_CONFIG"; then
41491 # Extract the first word of "pkg-config", so it can be a program name with args.
41492 set dummy pkg-config; ac_word=$2
41493 echo "$as_me:$LINENO: checking for $ac_word" >&5
41494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41495 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41496 echo $ECHO_N "(cached) $ECHO_C" >&6
41497 else
41498 case $PKG_CONFIG in
41499 [\\/]* | ?:[\\/]*)
41500 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41501 ;;
41502 *)
41503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41504 for as_dir in $PATH
41505 do
41506 IFS=$as_save_IFS
41507 test -z "$as_dir" && as_dir=.
41508 for ac_exec_ext in '' $ac_executable_extensions; do
41509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41510 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41512 break 2
41513 fi
41514 done
41515 done
41516
41517 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
41518 ;;
41519 esac
41520 fi
41521 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41522
41523 if test -n "$PKG_CONFIG"; then
41524 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41525 echo "${ECHO_T}$PKG_CONFIG" >&6
41526 else
41527 echo "$as_me:$LINENO: result: no" >&5
41528 echo "${ECHO_T}no" >&6
41529 fi
41530
41531 fi
41532
41533 if test "$PKG_CONFIG" = "no" ; then
41534 echo "*** The pkg-config script could not be found. Make sure it is"
41535 echo "*** in your path, or set the PKG_CONFIG environment variable"
41536 echo "*** to the full path to pkg-config."
41537 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41538 else
41539 PKG_CONFIG_MIN_VERSION=0.9.0
41540 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41541 echo "$as_me:$LINENO: checking for libgnomeprintui-2.2 >= 2.8" >&5
41542 echo $ECHO_N "checking for libgnomeprintui-2.2 >= 2.8... $ECHO_C" >&6
41543
41544 if $PKG_CONFIG --exists "libgnomeprintui-2.2 >= 2.8" ; then
41545 echo "$as_me:$LINENO: result: yes" >&5
41546 echo "${ECHO_T}yes" >&6
41547 succeeded=yes
41548
41549 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_CFLAGS" >&5
41550 echo $ECHO_N "checking LIBGNOMEPRINTUI_CFLAGS... $ECHO_C" >&6
41551 LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8"`
41552 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_CFLAGS" >&5
41553 echo "${ECHO_T}$LIBGNOMEPRINTUI_CFLAGS" >&6
41554
41555 echo "$as_me:$LINENO: checking LIBGNOMEPRINTUI_LIBS" >&5
41556 echo $ECHO_N "checking LIBGNOMEPRINTUI_LIBS... $ECHO_C" >&6
41557 LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8"`
41558 echo "$as_me:$LINENO: result: $LIBGNOMEPRINTUI_LIBS" >&5
41559 echo "${ECHO_T}$LIBGNOMEPRINTUI_LIBS" >&6
41560 else
41561 LIBGNOMEPRINTUI_CFLAGS=""
41562 LIBGNOMEPRINTUI_LIBS=""
41563 ## If we have a custom action on failure, don't print errors, but
41564 ## do set a variable so people can do so.
41565 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41566
41567 fi
41568
41569
41570
41571 else
41572 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41573 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41574 fi
41575 fi
41576
41577 if test $succeeded = yes; then
41578
41579 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41580 cat >>confdefs.h <<\_ACEOF
41581 #define wxUSE_LIBGNOMEPRINT 1
41582 _ACEOF
41583
41584
41585 else
41586
41587 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41588 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41589 wxUSE_LIBGNOMEPRINT="no"
41590
41591
41592 fi
41593
41594 fi
41595 fi
41596 fi
41597
41598 if test "$WXGTK20" = 1; then
41599 if test "$wxUSE_MIMETYPE" = "yes" ; then
41600 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41601
41602
41603 succeeded=no
41604
41605 if test -z "$PKG_CONFIG"; then
41606 # Extract the first word of "pkg-config", so it can be a program name with args.
41607 set dummy pkg-config; ac_word=$2
41608 echo "$as_me:$LINENO: checking for $ac_word" >&5
41609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41610 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41611 echo $ECHO_N "(cached) $ECHO_C" >&6
41612 else
41613 case $PKG_CONFIG in
41614 [\\/]* | ?:[\\/]*)
41615 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41616 ;;
41617 *)
41618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41619 for as_dir in $PATH
41620 do
41621 IFS=$as_save_IFS
41622 test -z "$as_dir" && as_dir=.
41623 for ac_exec_ext in '' $ac_executable_extensions; do
41624 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41625 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41627 break 2
41628 fi
41629 done
41630 done
41631
41632 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
41633 ;;
41634 esac
41635 fi
41636 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41637
41638 if test -n "$PKG_CONFIG"; then
41639 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41640 echo "${ECHO_T}$PKG_CONFIG" >&6
41641 else
41642 echo "$as_me:$LINENO: result: no" >&5
41643 echo "${ECHO_T}no" >&6
41644 fi
41645
41646 fi
41647
41648 if test "$PKG_CONFIG" = "no" ; then
41649 echo "*** The pkg-config script could not be found. Make sure it is"
41650 echo "*** in your path, or set the PKG_CONFIG environment variable"
41651 echo "*** to the full path to pkg-config."
41652 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41653 else
41654 PKG_CONFIG_MIN_VERSION=0.9.0
41655 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41656 echo "$as_me:$LINENO: checking for gnome-vfs-2.0 >= 2.0" >&5
41657 echo $ECHO_N "checking for gnome-vfs-2.0 >= 2.0... $ECHO_C" >&6
41658
41659 if $PKG_CONFIG --exists "gnome-vfs-2.0 >= 2.0" ; then
41660 echo "$as_me:$LINENO: result: yes" >&5
41661 echo "${ECHO_T}yes" >&6
41662 succeeded=yes
41663
41664 echo "$as_me:$LINENO: checking GNOMEVFS_CFLAGS" >&5
41665 echo $ECHO_N "checking GNOMEVFS_CFLAGS... $ECHO_C" >&6
41666 GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0"`
41667 echo "$as_me:$LINENO: result: $GNOMEVFS_CFLAGS" >&5
41668 echo "${ECHO_T}$GNOMEVFS_CFLAGS" >&6
41669
41670 echo "$as_me:$LINENO: checking GNOMEVFS_LIBS" >&5
41671 echo $ECHO_N "checking GNOMEVFS_LIBS... $ECHO_C" >&6
41672 GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0"`
41673 echo "$as_me:$LINENO: result: $GNOMEVFS_LIBS" >&5
41674 echo "${ECHO_T}$GNOMEVFS_LIBS" >&6
41675 else
41676 GNOMEVFS_CFLAGS=""
41677 GNOMEVFS_LIBS=""
41678 ## If we have a custom action on failure, don't print errors, but
41679 ## do set a variable so people can do so.
41680 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41681
41682 fi
41683
41684
41685
41686 else
41687 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41688 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41689 fi
41690 fi
41691
41692 if test $succeeded = yes; then
41693
41694 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41695 cat >>confdefs.h <<\_ACEOF
41696 #define wxUSE_LIBGNOMEVFS 1
41697 _ACEOF
41698
41699
41700 else
41701
41702 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41703 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41704 wxUSE_LIBGNOMEVFS="no"
41705
41706
41707 fi
41708
41709 fi
41710 fi
41711 fi
41712
41713 if test "$WXGTK20" = 1; then
41714 if test "$wxUSE_LIBHILDON" = "yes" ; then
41715
41716 succeeded=no
41717
41718 if test -z "$PKG_CONFIG"; then
41719 # Extract the first word of "pkg-config", so it can be a program name with args.
41720 set dummy pkg-config; ac_word=$2
41721 echo "$as_me:$LINENO: checking for $ac_word" >&5
41722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
41723 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41724 echo $ECHO_N "(cached) $ECHO_C" >&6
41725 else
41726 case $PKG_CONFIG in
41727 [\\/]* | ?:[\\/]*)
41728 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41729 ;;
41730 *)
41731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41732 for as_dir in $PATH
41733 do
41734 IFS=$as_save_IFS
41735 test -z "$as_dir" && as_dir=.
41736 for ac_exec_ext in '' $ac_executable_extensions; do
41737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
41738 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41740 break 2
41741 fi
41742 done
41743 done
41744
41745 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
41746 ;;
41747 esac
41748 fi
41749 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41750
41751 if test -n "$PKG_CONFIG"; then
41752 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41753 echo "${ECHO_T}$PKG_CONFIG" >&6
41754 else
41755 echo "$as_me:$LINENO: result: no" >&5
41756 echo "${ECHO_T}no" >&6
41757 fi
41758
41759 fi
41760
41761 if test "$PKG_CONFIG" = "no" ; then
41762 echo "*** The pkg-config script could not be found. Make sure it is"
41763 echo "*** in your path, or set the PKG_CONFIG environment variable"
41764 echo "*** to the full path to pkg-config."
41765 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
41766 else
41767 PKG_CONFIG_MIN_VERSION=0.9.0
41768 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
41769 echo "$as_me:$LINENO: checking for hildon-lgpl >= 0.9" >&5
41770 echo $ECHO_N "checking for hildon-lgpl >= 0.9... $ECHO_C" >&6
41771
41772 if $PKG_CONFIG --exists "hildon-lgpl >= 0.9" ; then
41773 echo "$as_me:$LINENO: result: yes" >&5
41774 echo "${ECHO_T}yes" >&6
41775 succeeded=yes
41776
41777 echo "$as_me:$LINENO: checking HILDON_CFLAGS" >&5
41778 echo $ECHO_N "checking HILDON_CFLAGS... $ECHO_C" >&6
41779 HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9"`
41780 echo "$as_me:$LINENO: result: $HILDON_CFLAGS" >&5
41781 echo "${ECHO_T}$HILDON_CFLAGS" >&6
41782
41783 echo "$as_me:$LINENO: checking HILDON_LIBS" >&5
41784 echo $ECHO_N "checking HILDON_LIBS... $ECHO_C" >&6
41785 HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9"`
41786 echo "$as_me:$LINENO: result: $HILDON_LIBS" >&5
41787 echo "${ECHO_T}$HILDON_LIBS" >&6
41788 else
41789 HILDON_CFLAGS=""
41790 HILDON_LIBS=""
41791 ## If we have a custom action on failure, don't print errors, but
41792 ## do set a variable so people can do so.
41793 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41794
41795 fi
41796
41797
41798
41799 else
41800 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
41801 echo "*** See http://www.freedesktop.org/software/pkgconfig"
41802 fi
41803 fi
41804
41805 if test $succeeded = yes; then
41806
41807 EXTRALIBS_HILDON="$HILDON_LIBS"
41808 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41809 cat >>confdefs.h <<\_ACEOF
41810 #define wxUSE_LIBHILDON 1
41811 _ACEOF
41812
41813
41814 else
41815
41816 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41817 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41818 wxUSE_LIBHILDON="no"
41819
41820
41821 fi
41822
41823 fi
41824 fi
41825
41826 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41827 cat >>confdefs.h <<\_ACEOF
41828 #define wxUSE_CMDLINE_PARSER 1
41829 _ACEOF
41830
41831 fi
41832
41833 if test "$wxUSE_STOPWATCH" = "yes"; then
41834 cat >>confdefs.h <<\_ACEOF
41835 #define wxUSE_STOPWATCH 1
41836 _ACEOF
41837
41838 fi
41839
41840 if test "$wxUSE_DATETIME" = "yes"; then
41841 cat >>confdefs.h <<\_ACEOF
41842 #define wxUSE_DATETIME 1
41843 _ACEOF
41844
41845 fi
41846
41847 if test "$wxUSE_FILE" = "yes"; then
41848 cat >>confdefs.h <<\_ACEOF
41849 #define wxUSE_FILE 1
41850 _ACEOF
41851
41852 fi
41853
41854 if test "$wxUSE_FFILE" = "yes"; then
41855 cat >>confdefs.h <<\_ACEOF
41856 #define wxUSE_FFILE 1
41857 _ACEOF
41858
41859 fi
41860
41861 if test "$wxUSE_FILESYSTEM" = "yes"; then
41862 cat >>confdefs.h <<\_ACEOF
41863 #define wxUSE_FILESYSTEM 1
41864 _ACEOF
41865
41866 fi
41867
41868 if test "$wxUSE_FS_ZIP" = "yes"; then
41869 cat >>confdefs.h <<\_ACEOF
41870 #define wxUSE_FS_ZIP 1
41871 _ACEOF
41872
41873 fi
41874
41875 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41876 cat >>confdefs.h <<\_ACEOF
41877 #define wxUSE_ARCHIVE_STREAMS 1
41878 _ACEOF
41879
41880 fi
41881
41882 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41883 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41884 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41885 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41886 elif test "$wxUSE_ZLIB" = "no"; then
41887 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41888 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41889 else
41890 cat >>confdefs.h <<\_ACEOF
41891 #define wxUSE_ZIPSTREAM 1
41892 _ACEOF
41893
41894 fi
41895 fi
41896
41897 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41898 if test "$USE_UNIX" != 1; then
41899 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41900 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41901 wxUSE_ON_FATAL_EXCEPTION=no
41902 else
41903 cat >>confdefs.h <<\_ACEOF
41904 #define wxUSE_ON_FATAL_EXCEPTION 1
41905 _ACEOF
41906
41907 fi
41908 fi
41909
41910 if test "$wxUSE_STACKWALKER" = "yes"; then
41911 cat >>confdefs.h <<\_ACEOF
41912 #define wxUSE_STACKWALKER 1
41913 _ACEOF
41914
41915 fi
41916
41917 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41918 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41919 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41920 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41921 wxUSE_DEBUGREPORT=no
41922 else
41923 cat >>confdefs.h <<\_ACEOF
41924 #define wxUSE_DEBUGREPORT 1
41925 _ACEOF
41926
41927 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41928 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41929 fi
41930 fi
41931 fi
41932
41933 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41934 cat >>confdefs.h <<\_ACEOF
41935 #define wxUSE_SNGLINST_CHECKER 1
41936 _ACEOF
41937
41938 fi
41939
41940 if test "$wxUSE_BUSYINFO" = "yes"; then
41941 cat >>confdefs.h <<\_ACEOF
41942 #define wxUSE_BUSYINFO 1
41943 _ACEOF
41944
41945 fi
41946
41947 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41948 cat >>confdefs.h <<\_ACEOF
41949 #define wxUSE_STD_IOSTREAM 1
41950 _ACEOF
41951
41952 fi
41953
41954 if test "$wxUSE_STD_STRING" = "yes"; then
41955 cat >>confdefs.h <<\_ACEOF
41956 #define wxUSE_STD_STRING 1
41957 _ACEOF
41958
41959 fi
41960
41961 if test "$wxUSE_STDPATHS" = "yes"; then
41962 cat >>confdefs.h <<\_ACEOF
41963 #define wxUSE_STDPATHS 1
41964 _ACEOF
41965
41966 fi
41967
41968 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41969 cat >>confdefs.h <<\_ACEOF
41970 #define wxUSE_TEXTBUFFER 1
41971 _ACEOF
41972
41973 fi
41974
41975 if test "$wxUSE_TEXTFILE" = "yes"; then
41976 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41977 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41978 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41979 else
41980 cat >>confdefs.h <<\_ACEOF
41981 #define wxUSE_TEXTFILE 1
41982 _ACEOF
41983
41984 fi
41985 fi
41986
41987 if test "$wxUSE_CONFIG" = "yes" ; then
41988 if test "$wxUSE_TEXTFILE" != "yes"; then
41989 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41990 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41991 else
41992 cat >>confdefs.h <<\_ACEOF
41993 #define wxUSE_CONFIG 1
41994 _ACEOF
41995
41996 cat >>confdefs.h <<\_ACEOF
41997 #define wxUSE_CONFIG_NATIVE 1
41998 _ACEOF
41999
42000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42001 fi
42002 fi
42003
42004 if test "$wxUSE_INTL" = "yes" ; then
42005 if test "$wxUSE_FILE" != "yes"; then
42006 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42007 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42008 else
42009 cat >>confdefs.h <<\_ACEOF
42010 #define wxUSE_INTL 1
42011 _ACEOF
42012
42013 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42014 GUIDIST="$GUIDIST INTL_DIST"
42015 fi
42016 fi
42017
42018 if test "$wxUSE_LOG" = "yes"; then
42019 cat >>confdefs.h <<\_ACEOF
42020 #define wxUSE_LOG 1
42021 _ACEOF
42022
42023
42024 if test "$wxUSE_LOGGUI" = "yes"; then
42025 cat >>confdefs.h <<\_ACEOF
42026 #define wxUSE_LOGGUI 1
42027 _ACEOF
42028
42029 fi
42030
42031 if test "$wxUSE_LOGWINDOW" = "yes"; then
42032 cat >>confdefs.h <<\_ACEOF
42033 #define wxUSE_LOGWINDOW 1
42034 _ACEOF
42035
42036 fi
42037
42038 if test "$wxUSE_LOGDIALOG" = "yes"; then
42039 cat >>confdefs.h <<\_ACEOF
42040 #define wxUSE_LOG_DIALOG 1
42041 _ACEOF
42042
42043 fi
42044
42045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42046 fi
42047
42048 if test "$wxUSE_LONGLONG" = "yes"; then
42049 cat >>confdefs.h <<\_ACEOF
42050 #define wxUSE_LONGLONG 1
42051 _ACEOF
42052
42053 fi
42054
42055 if test "$wxUSE_GEOMETRY" = "yes"; then
42056 cat >>confdefs.h <<\_ACEOF
42057 #define wxUSE_GEOMETRY 1
42058 _ACEOF
42059
42060 fi
42061
42062 if test "$wxUSE_STREAMS" = "yes" ; then
42063 cat >>confdefs.h <<\_ACEOF
42064 #define wxUSE_STREAMS 1
42065 _ACEOF
42066
42067 fi
42068
42069 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42070 cat >>confdefs.h <<\_ACEOF
42071 #define wxUSE_PRINTF_POS_PARAMS 1
42072 _ACEOF
42073
42074 fi
42075
42076
42077
42078 if test "$wxUSE_DATETIME" = "yes"; then
42079
42080 for ac_func in strptime
42081 do
42082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42083 echo "$as_me:$LINENO: checking for $ac_func" >&5
42084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42085 if eval "test \"\${$as_ac_var+set}\" = set"; then
42086 echo $ECHO_N "(cached) $ECHO_C" >&6
42087 else
42088 cat >conftest.$ac_ext <<_ACEOF
42089 /* confdefs.h. */
42090 _ACEOF
42091 cat confdefs.h >>conftest.$ac_ext
42092 cat >>conftest.$ac_ext <<_ACEOF
42093 /* end confdefs.h. */
42094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42096 #define $ac_func innocuous_$ac_func
42097
42098 /* System header to define __stub macros and hopefully few prototypes,
42099 which can conflict with char $ac_func (); below.
42100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42101 <limits.h> exists even on freestanding compilers. */
42102
42103 #ifdef __STDC__
42104 # include <limits.h>
42105 #else
42106 # include <assert.h>
42107 #endif
42108
42109 #undef $ac_func
42110
42111 /* Override any gcc2 internal prototype to avoid an error. */
42112 #ifdef __cplusplus
42113 extern "C"
42114 {
42115 #endif
42116 /* We use char because int might match the return type of a gcc2
42117 builtin and then its argument prototype would still apply. */
42118 char $ac_func ();
42119 /* The GNU C library defines this for functions which it implements
42120 to always fail with ENOSYS. Some functions are actually named
42121 something starting with __ and the normal name is an alias. */
42122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42123 choke me
42124 #else
42125 char (*f) () = $ac_func;
42126 #endif
42127 #ifdef __cplusplus
42128 }
42129 #endif
42130
42131 int
42132 main ()
42133 {
42134 return f != $ac_func;
42135 ;
42136 return 0;
42137 }
42138 _ACEOF
42139 rm -f conftest.$ac_objext conftest$ac_exeext
42140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42141 (eval $ac_link) 2>conftest.er1
42142 ac_status=$?
42143 grep -v '^ *+' conftest.er1 >conftest.err
42144 rm -f conftest.er1
42145 cat conftest.err >&5
42146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42147 (exit $ac_status); } &&
42148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42150 (eval $ac_try) 2>&5
42151 ac_status=$?
42152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42153 (exit $ac_status); }; } &&
42154 { ac_try='test -s conftest$ac_exeext'
42155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42156 (eval $ac_try) 2>&5
42157 ac_status=$?
42158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42159 (exit $ac_status); }; }; then
42160 eval "$as_ac_var=yes"
42161 else
42162 echo "$as_me: failed program was:" >&5
42163 sed 's/^/| /' conftest.$ac_ext >&5
42164
42165 eval "$as_ac_var=no"
42166 fi
42167 rm -f conftest.err conftest.$ac_objext \
42168 conftest$ac_exeext conftest.$ac_ext
42169 fi
42170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42172 if test `eval echo '${'$as_ac_var'}'` = yes; then
42173 cat >>confdefs.h <<_ACEOF
42174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42175 _ACEOF
42176
42177 fi
42178 done
42179
42180 if test "$ac_cv_func_strptime" = "yes"; then
42181 echo "$as_me:$LINENO: checking for strptime declaration" >&5
42182 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
42183 if test "${wx_cv_func_strptime_decl+set}" = set; then
42184 echo $ECHO_N "(cached) $ECHO_C" >&6
42185 else
42186
42187 cat >conftest.$ac_ext <<_ACEOF
42188 /* confdefs.h. */
42189 _ACEOF
42190 cat confdefs.h >>conftest.$ac_ext
42191 cat >>conftest.$ac_ext <<_ACEOF
42192 /* end confdefs.h. */
42193
42194 #include <time.h>
42195
42196 int
42197 main ()
42198 {
42199
42200 struct tm t;
42201 strptime("foo", "bar", &t);
42202
42203 ;
42204 return 0;
42205 }
42206 _ACEOF
42207 rm -f conftest.$ac_objext
42208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42209 (eval $ac_compile) 2>conftest.er1
42210 ac_status=$?
42211 grep -v '^ *+' conftest.er1 >conftest.err
42212 rm -f conftest.er1
42213 cat conftest.err >&5
42214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42215 (exit $ac_status); } &&
42216 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42218 (eval $ac_try) 2>&5
42219 ac_status=$?
42220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42221 (exit $ac_status); }; } &&
42222 { ac_try='test -s conftest.$ac_objext'
42223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42224 (eval $ac_try) 2>&5
42225 ac_status=$?
42226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42227 (exit $ac_status); }; }; then
42228 wx_cv_func_strptime_decl=yes
42229 else
42230 echo "$as_me: failed program was:" >&5
42231 sed 's/^/| /' conftest.$ac_ext >&5
42232
42233 wx_cv_func_strptime_decl=no
42234
42235 fi
42236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42237
42238
42239 fi
42240 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42241 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
42242 fi
42243 if test "$wx_cv_func_strptime_decl" = "yes"; then
42244 cat >>confdefs.h <<\_ACEOF
42245 #define HAVE_STRPTIME_DECL 1
42246 _ACEOF
42247
42248 fi
42249
42250 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42251 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
42252 if test "${wx_cv_var_timezone+set}" = set; then
42253 echo $ECHO_N "(cached) $ECHO_C" >&6
42254 else
42255
42256 cat >conftest.$ac_ext <<_ACEOF
42257 /* confdefs.h. */
42258 _ACEOF
42259 cat confdefs.h >>conftest.$ac_ext
42260 cat >>conftest.$ac_ext <<_ACEOF
42261 /* end confdefs.h. */
42262
42263 #include <time.h>
42264
42265 int
42266 main ()
42267 {
42268
42269 int tz;
42270 tz = timezone;
42271
42272 ;
42273 return 0;
42274 }
42275 _ACEOF
42276 rm -f conftest.$ac_objext
42277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42278 (eval $ac_compile) 2>conftest.er1
42279 ac_status=$?
42280 grep -v '^ *+' conftest.er1 >conftest.err
42281 rm -f conftest.er1
42282 cat conftest.err >&5
42283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42284 (exit $ac_status); } &&
42285 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42287 (eval $ac_try) 2>&5
42288 ac_status=$?
42289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42290 (exit $ac_status); }; } &&
42291 { ac_try='test -s conftest.$ac_objext'
42292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42293 (eval $ac_try) 2>&5
42294 ac_status=$?
42295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42296 (exit $ac_status); }; }; then
42297
42298 wx_cv_var_timezone=timezone
42299
42300 else
42301 echo "$as_me: failed program was:" >&5
42302 sed 's/^/| /' conftest.$ac_ext >&5
42303
42304
42305 cat >conftest.$ac_ext <<_ACEOF
42306 /* confdefs.h. */
42307 _ACEOF
42308 cat confdefs.h >>conftest.$ac_ext
42309 cat >>conftest.$ac_ext <<_ACEOF
42310 /* end confdefs.h. */
42311
42312 #include <time.h>
42313
42314 int
42315 main ()
42316 {
42317
42318 int tz;
42319 tz = _timezone;
42320
42321 ;
42322 return 0;
42323 }
42324 _ACEOF
42325 rm -f conftest.$ac_objext
42326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42327 (eval $ac_compile) 2>conftest.er1
42328 ac_status=$?
42329 grep -v '^ *+' conftest.er1 >conftest.err
42330 rm -f conftest.er1
42331 cat conftest.err >&5
42332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42333 (exit $ac_status); } &&
42334 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42336 (eval $ac_try) 2>&5
42337 ac_status=$?
42338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42339 (exit $ac_status); }; } &&
42340 { ac_try='test -s conftest.$ac_objext'
42341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42342 (eval $ac_try) 2>&5
42343 ac_status=$?
42344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42345 (exit $ac_status); }; }; then
42346
42347 wx_cv_var_timezone=_timezone
42348
42349 else
42350 echo "$as_me: failed program was:" >&5
42351 sed 's/^/| /' conftest.$ac_ext >&5
42352
42353
42354 cat >conftest.$ac_ext <<_ACEOF
42355 /* confdefs.h. */
42356 _ACEOF
42357 cat confdefs.h >>conftest.$ac_ext
42358 cat >>conftest.$ac_ext <<_ACEOF
42359 /* end confdefs.h. */
42360
42361 #include <time.h>
42362
42363 int
42364 main ()
42365 {
42366
42367 int tz;
42368 tz = __timezone;
42369
42370 ;
42371 return 0;
42372 }
42373 _ACEOF
42374 rm -f conftest.$ac_objext
42375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42376 (eval $ac_compile) 2>conftest.er1
42377 ac_status=$?
42378 grep -v '^ *+' conftest.er1 >conftest.err
42379 rm -f conftest.er1
42380 cat conftest.err >&5
42381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42382 (exit $ac_status); } &&
42383 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42385 (eval $ac_try) 2>&5
42386 ac_status=$?
42387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42388 (exit $ac_status); }; } &&
42389 { ac_try='test -s conftest.$ac_objext'
42390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42391 (eval $ac_try) 2>&5
42392 ac_status=$?
42393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42394 (exit $ac_status); }; }; then
42395
42396 wx_cv_var_timezone=__timezone
42397
42398 else
42399 echo "$as_me: failed program was:" >&5
42400 sed 's/^/| /' conftest.$ac_ext >&5
42401
42402
42403 if test "$USE_DOS" = 0 ; then
42404 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42405 echo "$as_me: WARNING: no timezone variable" >&2;}
42406 fi
42407
42408
42409 fi
42410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42411
42412
42413 fi
42414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42415
42416
42417 fi
42418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42419
42420
42421 fi
42422 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42423 echo "${ECHO_T}$wx_cv_var_timezone" >&6
42424
42425 if test "x$wx_cv_var_timezone" != x ; then
42426 cat >>confdefs.h <<_ACEOF
42427 #define WX_TIMEZONE $wx_cv_var_timezone
42428 _ACEOF
42429
42430 fi
42431
42432
42433 for ac_func in localtime
42434 do
42435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42436 echo "$as_me:$LINENO: checking for $ac_func" >&5
42437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42438 if eval "test \"\${$as_ac_var+set}\" = set"; then
42439 echo $ECHO_N "(cached) $ECHO_C" >&6
42440 else
42441 cat >conftest.$ac_ext <<_ACEOF
42442 /* confdefs.h. */
42443 _ACEOF
42444 cat confdefs.h >>conftest.$ac_ext
42445 cat >>conftest.$ac_ext <<_ACEOF
42446 /* end confdefs.h. */
42447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42449 #define $ac_func innocuous_$ac_func
42450
42451 /* System header to define __stub macros and hopefully few prototypes,
42452 which can conflict with char $ac_func (); below.
42453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42454 <limits.h> exists even on freestanding compilers. */
42455
42456 #ifdef __STDC__
42457 # include <limits.h>
42458 #else
42459 # include <assert.h>
42460 #endif
42461
42462 #undef $ac_func
42463
42464 /* Override any gcc2 internal prototype to avoid an error. */
42465 #ifdef __cplusplus
42466 extern "C"
42467 {
42468 #endif
42469 /* We use char because int might match the return type of a gcc2
42470 builtin and then its argument prototype would still apply. */
42471 char $ac_func ();
42472 /* The GNU C library defines this for functions which it implements
42473 to always fail with ENOSYS. Some functions are actually named
42474 something starting with __ and the normal name is an alias. */
42475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42476 choke me
42477 #else
42478 char (*f) () = $ac_func;
42479 #endif
42480 #ifdef __cplusplus
42481 }
42482 #endif
42483
42484 int
42485 main ()
42486 {
42487 return f != $ac_func;
42488 ;
42489 return 0;
42490 }
42491 _ACEOF
42492 rm -f conftest.$ac_objext conftest$ac_exeext
42493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42494 (eval $ac_link) 2>conftest.er1
42495 ac_status=$?
42496 grep -v '^ *+' conftest.er1 >conftest.err
42497 rm -f conftest.er1
42498 cat conftest.err >&5
42499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42500 (exit $ac_status); } &&
42501 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42503 (eval $ac_try) 2>&5
42504 ac_status=$?
42505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42506 (exit $ac_status); }; } &&
42507 { ac_try='test -s conftest$ac_exeext'
42508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42509 (eval $ac_try) 2>&5
42510 ac_status=$?
42511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42512 (exit $ac_status); }; }; then
42513 eval "$as_ac_var=yes"
42514 else
42515 echo "$as_me: failed program was:" >&5
42516 sed 's/^/| /' conftest.$ac_ext >&5
42517
42518 eval "$as_ac_var=no"
42519 fi
42520 rm -f conftest.err conftest.$ac_objext \
42521 conftest$ac_exeext conftest.$ac_ext
42522 fi
42523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42525 if test `eval echo '${'$as_ac_var'}'` = yes; then
42526 cat >>confdefs.h <<_ACEOF
42527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42528 _ACEOF
42529
42530 fi
42531 done
42532
42533
42534 if test "$ac_cv_func_localtime" = "yes"; then
42535 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42536 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
42537 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42538 echo $ECHO_N "(cached) $ECHO_C" >&6
42539 else
42540
42541 cat >conftest.$ac_ext <<_ACEOF
42542 /* confdefs.h. */
42543 _ACEOF
42544 cat confdefs.h >>conftest.$ac_ext
42545 cat >>conftest.$ac_ext <<_ACEOF
42546 /* end confdefs.h. */
42547
42548 #include <time.h>
42549
42550 int
42551 main ()
42552 {
42553
42554 struct tm tm;
42555 tm.tm_gmtoff++;
42556
42557 ;
42558 return 0;
42559 }
42560 _ACEOF
42561 rm -f conftest.$ac_objext
42562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42563 (eval $ac_compile) 2>conftest.er1
42564 ac_status=$?
42565 grep -v '^ *+' conftest.er1 >conftest.err
42566 rm -f conftest.er1
42567 cat conftest.err >&5
42568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42569 (exit $ac_status); } &&
42570 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42572 (eval $ac_try) 2>&5
42573 ac_status=$?
42574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42575 (exit $ac_status); }; } &&
42576 { ac_try='test -s conftest.$ac_objext'
42577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42578 (eval $ac_try) 2>&5
42579 ac_status=$?
42580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42581 (exit $ac_status); }; }; then
42582
42583 wx_cv_struct_tm_has_gmtoff=yes
42584
42585 else
42586 echo "$as_me: failed program was:" >&5
42587 sed 's/^/| /' conftest.$ac_ext >&5
42588
42589 wx_cv_struct_tm_has_gmtoff=no
42590
42591 fi
42592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42593
42594 fi
42595 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42596 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
42597 fi
42598
42599 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42600 cat >>confdefs.h <<\_ACEOF
42601 #define WX_GMTOFF_IN_TM 1
42602 _ACEOF
42603
42604 fi
42605
42606
42607
42608 for ac_func in gettimeofday ftime
42609 do
42610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42611 echo "$as_me:$LINENO: checking for $ac_func" >&5
42612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42613 if eval "test \"\${$as_ac_var+set}\" = set"; then
42614 echo $ECHO_N "(cached) $ECHO_C" >&6
42615 else
42616 cat >conftest.$ac_ext <<_ACEOF
42617 /* confdefs.h. */
42618 _ACEOF
42619 cat confdefs.h >>conftest.$ac_ext
42620 cat >>conftest.$ac_ext <<_ACEOF
42621 /* end confdefs.h. */
42622 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42623 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42624 #define $ac_func innocuous_$ac_func
42625
42626 /* System header to define __stub macros and hopefully few prototypes,
42627 which can conflict with char $ac_func (); below.
42628 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42629 <limits.h> exists even on freestanding compilers. */
42630
42631 #ifdef __STDC__
42632 # include <limits.h>
42633 #else
42634 # include <assert.h>
42635 #endif
42636
42637 #undef $ac_func
42638
42639 /* Override any gcc2 internal prototype to avoid an error. */
42640 #ifdef __cplusplus
42641 extern "C"
42642 {
42643 #endif
42644 /* We use char because int might match the return type of a gcc2
42645 builtin and then its argument prototype would still apply. */
42646 char $ac_func ();
42647 /* The GNU C library defines this for functions which it implements
42648 to always fail with ENOSYS. Some functions are actually named
42649 something starting with __ and the normal name is an alias. */
42650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42651 choke me
42652 #else
42653 char (*f) () = $ac_func;
42654 #endif
42655 #ifdef __cplusplus
42656 }
42657 #endif
42658
42659 int
42660 main ()
42661 {
42662 return f != $ac_func;
42663 ;
42664 return 0;
42665 }
42666 _ACEOF
42667 rm -f conftest.$ac_objext conftest$ac_exeext
42668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42669 (eval $ac_link) 2>conftest.er1
42670 ac_status=$?
42671 grep -v '^ *+' conftest.er1 >conftest.err
42672 rm -f conftest.er1
42673 cat conftest.err >&5
42674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42675 (exit $ac_status); } &&
42676 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42678 (eval $ac_try) 2>&5
42679 ac_status=$?
42680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42681 (exit $ac_status); }; } &&
42682 { ac_try='test -s conftest$ac_exeext'
42683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42684 (eval $ac_try) 2>&5
42685 ac_status=$?
42686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42687 (exit $ac_status); }; }; then
42688 eval "$as_ac_var=yes"
42689 else
42690 echo "$as_me: failed program was:" >&5
42691 sed 's/^/| /' conftest.$ac_ext >&5
42692
42693 eval "$as_ac_var=no"
42694 fi
42695 rm -f conftest.err conftest.$ac_objext \
42696 conftest$ac_exeext conftest.$ac_ext
42697 fi
42698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42700 if test `eval echo '${'$as_ac_var'}'` = yes; then
42701 cat >>confdefs.h <<_ACEOF
42702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42703 _ACEOF
42704 break
42705 fi
42706 done
42707
42708
42709 if test "$ac_cv_func_gettimeofday" = "yes"; then
42710 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42711 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
42712 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42713 echo $ECHO_N "(cached) $ECHO_C" >&6
42714 else
42715
42716 cat >conftest.$ac_ext <<_ACEOF
42717 /* confdefs.h. */
42718 _ACEOF
42719 cat confdefs.h >>conftest.$ac_ext
42720 cat >>conftest.$ac_ext <<_ACEOF
42721 /* end confdefs.h. */
42722
42723 #include <sys/time.h>
42724 #include <unistd.h>
42725
42726 int
42727 main ()
42728 {
42729
42730 struct timeval tv;
42731 gettimeofday(&tv, NULL);
42732
42733 ;
42734 return 0;
42735 }
42736 _ACEOF
42737 rm -f conftest.$ac_objext
42738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42739 (eval $ac_compile) 2>conftest.er1
42740 ac_status=$?
42741 grep -v '^ *+' conftest.er1 >conftest.err
42742 rm -f conftest.er1
42743 cat conftest.err >&5
42744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42745 (exit $ac_status); } &&
42746 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42748 (eval $ac_try) 2>&5
42749 ac_status=$?
42750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42751 (exit $ac_status); }; } &&
42752 { ac_try='test -s conftest.$ac_objext'
42753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42754 (eval $ac_try) 2>&5
42755 ac_status=$?
42756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42757 (exit $ac_status); }; }; then
42758 wx_cv_func_gettimeofday_has_2_args=yes
42759 else
42760 echo "$as_me: failed program was:" >&5
42761 sed 's/^/| /' conftest.$ac_ext >&5
42762
42763 cat >conftest.$ac_ext <<_ACEOF
42764 /* confdefs.h. */
42765 _ACEOF
42766 cat confdefs.h >>conftest.$ac_ext
42767 cat >>conftest.$ac_ext <<_ACEOF
42768 /* end confdefs.h. */
42769
42770 #include <sys/time.h>
42771 #include <unistd.h>
42772
42773 int
42774 main ()
42775 {
42776
42777 struct timeval tv;
42778 gettimeofday(&tv);
42779
42780 ;
42781 return 0;
42782 }
42783 _ACEOF
42784 rm -f conftest.$ac_objext
42785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42786 (eval $ac_compile) 2>conftest.er1
42787 ac_status=$?
42788 grep -v '^ *+' conftest.er1 >conftest.err
42789 rm -f conftest.er1
42790 cat conftest.err >&5
42791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42792 (exit $ac_status); } &&
42793 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42795 (eval $ac_try) 2>&5
42796 ac_status=$?
42797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42798 (exit $ac_status); }; } &&
42799 { ac_try='test -s conftest.$ac_objext'
42800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42801 (eval $ac_try) 2>&5
42802 ac_status=$?
42803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42804 (exit $ac_status); }; }; then
42805 wx_cv_func_gettimeofday_has_2_args=no
42806 else
42807 echo "$as_me: failed program was:" >&5
42808 sed 's/^/| /' conftest.$ac_ext >&5
42809
42810
42811 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42812 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42813 wx_cv_func_gettimeofday_has_2_args=unknown
42814
42815
42816 fi
42817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42818
42819 fi
42820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42821
42822 fi
42823 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42824 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
42825
42826 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42827 cat >>confdefs.h <<\_ACEOF
42828 #define WX_GETTIMEOFDAY_NO_TZ 1
42829 _ACEOF
42830
42831 fi
42832 fi
42833
42834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42835 fi
42836
42837
42838 if test "$wxUSE_SOCKETS" = "yes"; then
42839 if test "$wxUSE_MGL" = "1"; then
42840 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42841 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42842 wxUSE_SOCKETS="no"
42843 fi
42844 fi
42845
42846 if test "$wxUSE_SOCKETS" = "yes"; then
42847 if test "$TOOLKIT" != "MSW"; then
42848 echo "$as_me:$LINENO: checking for socket" >&5
42849 echo $ECHO_N "checking for socket... $ECHO_C" >&6
42850 if test "${ac_cv_func_socket+set}" = set; then
42851 echo $ECHO_N "(cached) $ECHO_C" >&6
42852 else
42853 cat >conftest.$ac_ext <<_ACEOF
42854 /* confdefs.h. */
42855 _ACEOF
42856 cat confdefs.h >>conftest.$ac_ext
42857 cat >>conftest.$ac_ext <<_ACEOF
42858 /* end confdefs.h. */
42859 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42861 #define socket innocuous_socket
42862
42863 /* System header to define __stub macros and hopefully few prototypes,
42864 which can conflict with char socket (); below.
42865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42866 <limits.h> exists even on freestanding compilers. */
42867
42868 #ifdef __STDC__
42869 # include <limits.h>
42870 #else
42871 # include <assert.h>
42872 #endif
42873
42874 #undef socket
42875
42876 /* Override any gcc2 internal prototype to avoid an error. */
42877 #ifdef __cplusplus
42878 extern "C"
42879 {
42880 #endif
42881 /* We use char because int might match the return type of a gcc2
42882 builtin and then its argument prototype would still apply. */
42883 char socket ();
42884 /* The GNU C library defines this for functions which it implements
42885 to always fail with ENOSYS. Some functions are actually named
42886 something starting with __ and the normal name is an alias. */
42887 #if defined (__stub_socket) || defined (__stub___socket)
42888 choke me
42889 #else
42890 char (*f) () = socket;
42891 #endif
42892 #ifdef __cplusplus
42893 }
42894 #endif
42895
42896 int
42897 main ()
42898 {
42899 return f != socket;
42900 ;
42901 return 0;
42902 }
42903 _ACEOF
42904 rm -f conftest.$ac_objext conftest$ac_exeext
42905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42906 (eval $ac_link) 2>conftest.er1
42907 ac_status=$?
42908 grep -v '^ *+' conftest.er1 >conftest.err
42909 rm -f conftest.er1
42910 cat conftest.err >&5
42911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42912 (exit $ac_status); } &&
42913 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42915 (eval $ac_try) 2>&5
42916 ac_status=$?
42917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42918 (exit $ac_status); }; } &&
42919 { ac_try='test -s conftest$ac_exeext'
42920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42921 (eval $ac_try) 2>&5
42922 ac_status=$?
42923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42924 (exit $ac_status); }; }; then
42925 ac_cv_func_socket=yes
42926 else
42927 echo "$as_me: failed program was:" >&5
42928 sed 's/^/| /' conftest.$ac_ext >&5
42929
42930 ac_cv_func_socket=no
42931 fi
42932 rm -f conftest.err conftest.$ac_objext \
42933 conftest$ac_exeext conftest.$ac_ext
42934 fi
42935 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42936 echo "${ECHO_T}$ac_cv_func_socket" >&6
42937 if test $ac_cv_func_socket = yes; then
42938 :
42939 else
42940
42941 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42942 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
42943 if test "${ac_cv_lib_socket_socket+set}" = set; then
42944 echo $ECHO_N "(cached) $ECHO_C" >&6
42945 else
42946 ac_check_lib_save_LIBS=$LIBS
42947 LIBS="-lsocket $LIBS"
42948 cat >conftest.$ac_ext <<_ACEOF
42949 /* confdefs.h. */
42950 _ACEOF
42951 cat confdefs.h >>conftest.$ac_ext
42952 cat >>conftest.$ac_ext <<_ACEOF
42953 /* end confdefs.h. */
42954
42955 /* Override any gcc2 internal prototype to avoid an error. */
42956 #ifdef __cplusplus
42957 extern "C"
42958 #endif
42959 /* We use char because int might match the return type of a gcc2
42960 builtin and then its argument prototype would still apply. */
42961 char socket ();
42962 int
42963 main ()
42964 {
42965 socket ();
42966 ;
42967 return 0;
42968 }
42969 _ACEOF
42970 rm -f conftest.$ac_objext conftest$ac_exeext
42971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42972 (eval $ac_link) 2>conftest.er1
42973 ac_status=$?
42974 grep -v '^ *+' conftest.er1 >conftest.err
42975 rm -f conftest.er1
42976 cat conftest.err >&5
42977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42978 (exit $ac_status); } &&
42979 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42981 (eval $ac_try) 2>&5
42982 ac_status=$?
42983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42984 (exit $ac_status); }; } &&
42985 { ac_try='test -s conftest$ac_exeext'
42986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42987 (eval $ac_try) 2>&5
42988 ac_status=$?
42989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42990 (exit $ac_status); }; }; then
42991 ac_cv_lib_socket_socket=yes
42992 else
42993 echo "$as_me: failed program was:" >&5
42994 sed 's/^/| /' conftest.$ac_ext >&5
42995
42996 ac_cv_lib_socket_socket=no
42997 fi
42998 rm -f conftest.err conftest.$ac_objext \
42999 conftest$ac_exeext conftest.$ac_ext
43000 LIBS=$ac_check_lib_save_LIBS
43001 fi
43002 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43003 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43004 if test $ac_cv_lib_socket_socket = yes; then
43005 if test "$INET_LINK" != " -lsocket"; then
43006 INET_LINK="$INET_LINK -lsocket"
43007 fi
43008 else
43009
43010 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43011 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43012 wxUSE_SOCKETS=no
43013
43014
43015 fi
43016
43017
43018
43019 fi
43020
43021 fi
43022 fi
43023
43024 if test "$wxUSE_SOCKETS" = "yes" ; then
43025 if test "$TOOLKIT" != "MSW"; then
43026 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43027 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43028 if test "${wx_cv_type_getsockname3+set}" = set; then
43029 echo $ECHO_N "(cached) $ECHO_C" >&6
43030 else
43031
43032 cat >conftest.$ac_ext <<_ACEOF
43033 /* confdefs.h. */
43034 _ACEOF
43035 cat confdefs.h >>conftest.$ac_ext
43036 cat >>conftest.$ac_ext <<_ACEOF
43037 /* end confdefs.h. */
43038
43039 #include <sys/types.h>
43040 #include <sys/socket.h>
43041
43042 int
43043 main ()
43044 {
43045
43046 socklen_t len;
43047 getsockname(0, 0, &len);
43048
43049 ;
43050 return 0;
43051 }
43052 _ACEOF
43053 rm -f conftest.$ac_objext
43054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43055 (eval $ac_compile) 2>conftest.er1
43056 ac_status=$?
43057 grep -v '^ *+' conftest.er1 >conftest.err
43058 rm -f conftest.er1
43059 cat conftest.err >&5
43060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43061 (exit $ac_status); } &&
43062 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43064 (eval $ac_try) 2>&5
43065 ac_status=$?
43066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43067 (exit $ac_status); }; } &&
43068 { ac_try='test -s conftest.$ac_objext'
43069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43070 (eval $ac_try) 2>&5
43071 ac_status=$?
43072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43073 (exit $ac_status); }; }; then
43074 wx_cv_type_getsockname3=socklen_t
43075 else
43076 echo "$as_me: failed program was:" >&5
43077 sed 's/^/| /' conftest.$ac_ext >&5
43078
43079
43080 CXXFLAGS_OLD="$CXXFLAGS"
43081 if test "$GCC" = yes ; then
43082 CXXFLAGS="-Werror $CXXFLAGS"
43083 fi
43084
43085 cat >conftest.$ac_ext <<_ACEOF
43086 /* confdefs.h. */
43087 _ACEOF
43088 cat confdefs.h >>conftest.$ac_ext
43089 cat >>conftest.$ac_ext <<_ACEOF
43090 /* end confdefs.h. */
43091
43092 #include <sys/types.h>
43093 #include <sys/socket.h>
43094
43095 int
43096 main ()
43097 {
43098
43099 size_t len;
43100 getsockname(0, 0, &len);
43101
43102 ;
43103 return 0;
43104 }
43105 _ACEOF
43106 rm -f conftest.$ac_objext
43107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43108 (eval $ac_compile) 2>conftest.er1
43109 ac_status=$?
43110 grep -v '^ *+' conftest.er1 >conftest.err
43111 rm -f conftest.er1
43112 cat conftest.err >&5
43113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43114 (exit $ac_status); } &&
43115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43117 (eval $ac_try) 2>&5
43118 ac_status=$?
43119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43120 (exit $ac_status); }; } &&
43121 { ac_try='test -s conftest.$ac_objext'
43122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43123 (eval $ac_try) 2>&5
43124 ac_status=$?
43125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43126 (exit $ac_status); }; }; then
43127 wx_cv_type_getsockname3=size_t
43128 else
43129 echo "$as_me: failed program was:" >&5
43130 sed 's/^/| /' conftest.$ac_ext >&5
43131
43132 cat >conftest.$ac_ext <<_ACEOF
43133 /* confdefs.h. */
43134 _ACEOF
43135 cat confdefs.h >>conftest.$ac_ext
43136 cat >>conftest.$ac_ext <<_ACEOF
43137 /* end confdefs.h. */
43138
43139 #include <sys/types.h>
43140 #include <sys/socket.h>
43141
43142 int
43143 main ()
43144 {
43145
43146 int len;
43147 getsockname(0, 0, &len);
43148
43149 ;
43150 return 0;
43151 }
43152 _ACEOF
43153 rm -f conftest.$ac_objext
43154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43155 (eval $ac_compile) 2>conftest.er1
43156 ac_status=$?
43157 grep -v '^ *+' conftest.er1 >conftest.err
43158 rm -f conftest.er1
43159 cat conftest.err >&5
43160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43161 (exit $ac_status); } &&
43162 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43164 (eval $ac_try) 2>&5
43165 ac_status=$?
43166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43167 (exit $ac_status); }; } &&
43168 { ac_try='test -s conftest.$ac_objext'
43169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43170 (eval $ac_try) 2>&5
43171 ac_status=$?
43172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43173 (exit $ac_status); }; }; then
43174 wx_cv_type_getsockname3=int
43175 else
43176 echo "$as_me: failed program was:" >&5
43177 sed 's/^/| /' conftest.$ac_ext >&5
43178
43179 wx_cv_type_getsockname3=unknown
43180
43181 fi
43182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43183
43184 fi
43185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43186
43187 CXXFLAGS="$CXXFLAGS_OLD"
43188
43189
43190 fi
43191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43192
43193 fi
43194 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43195 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
43196
43197 if test "$wx_cv_type_getsockname3" = "unknown"; then
43198 wxUSE_SOCKETS=no
43199 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43200 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43201 else
43202 cat >>confdefs.h <<_ACEOF
43203 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43204 _ACEOF
43205
43206 fi
43207 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43208 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
43209 if test "${wx_cv_type_getsockopt5+set}" = set; then
43210 echo $ECHO_N "(cached) $ECHO_C" >&6
43211 else
43212
43213 cat >conftest.$ac_ext <<_ACEOF
43214 /* confdefs.h. */
43215 _ACEOF
43216 cat confdefs.h >>conftest.$ac_ext
43217 cat >>conftest.$ac_ext <<_ACEOF
43218 /* end confdefs.h. */
43219
43220 #include <sys/types.h>
43221 #include <sys/socket.h>
43222
43223 int
43224 main ()
43225 {
43226
43227 socklen_t len;
43228 getsockopt(0, 0, 0, 0, &len);
43229
43230 ;
43231 return 0;
43232 }
43233 _ACEOF
43234 rm -f conftest.$ac_objext
43235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43236 (eval $ac_compile) 2>conftest.er1
43237 ac_status=$?
43238 grep -v '^ *+' conftest.er1 >conftest.err
43239 rm -f conftest.er1
43240 cat conftest.err >&5
43241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43242 (exit $ac_status); } &&
43243 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43245 (eval $ac_try) 2>&5
43246 ac_status=$?
43247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43248 (exit $ac_status); }; } &&
43249 { ac_try='test -s conftest.$ac_objext'
43250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43251 (eval $ac_try) 2>&5
43252 ac_status=$?
43253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43254 (exit $ac_status); }; }; then
43255 wx_cv_type_getsockopt5=socklen_t
43256 else
43257 echo "$as_me: failed program was:" >&5
43258 sed 's/^/| /' conftest.$ac_ext >&5
43259
43260
43261 CXXFLAGS_OLD="$CXXFLAGS"
43262 if test "$GCC" = yes ; then
43263 CXXFLAGS="-Werror $CXXFLAGS"
43264 fi
43265
43266 cat >conftest.$ac_ext <<_ACEOF
43267 /* confdefs.h. */
43268 _ACEOF
43269 cat confdefs.h >>conftest.$ac_ext
43270 cat >>conftest.$ac_ext <<_ACEOF
43271 /* end confdefs.h. */
43272
43273 #include <sys/types.h>
43274 #include <sys/socket.h>
43275
43276 int
43277 main ()
43278 {
43279
43280 size_t len;
43281 getsockopt(0, 0, 0, 0, &len);
43282
43283 ;
43284 return 0;
43285 }
43286 _ACEOF
43287 rm -f conftest.$ac_objext
43288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43289 (eval $ac_compile) 2>conftest.er1
43290 ac_status=$?
43291 grep -v '^ *+' conftest.er1 >conftest.err
43292 rm -f conftest.er1
43293 cat conftest.err >&5
43294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43295 (exit $ac_status); } &&
43296 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43298 (eval $ac_try) 2>&5
43299 ac_status=$?
43300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43301 (exit $ac_status); }; } &&
43302 { ac_try='test -s conftest.$ac_objext'
43303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43304 (eval $ac_try) 2>&5
43305 ac_status=$?
43306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43307 (exit $ac_status); }; }; then
43308 wx_cv_type_getsockopt5=size_t
43309 else
43310 echo "$as_me: failed program was:" >&5
43311 sed 's/^/| /' conftest.$ac_ext >&5
43312
43313 cat >conftest.$ac_ext <<_ACEOF
43314 /* confdefs.h. */
43315 _ACEOF
43316 cat confdefs.h >>conftest.$ac_ext
43317 cat >>conftest.$ac_ext <<_ACEOF
43318 /* end confdefs.h. */
43319
43320 #include <sys/types.h>
43321 #include <sys/socket.h>
43322
43323 int
43324 main ()
43325 {
43326
43327 int len;
43328 getsockopt(0, 0, 0, 0, &len);
43329
43330 ;
43331 return 0;
43332 }
43333 _ACEOF
43334 rm -f conftest.$ac_objext
43335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43336 (eval $ac_compile) 2>conftest.er1
43337 ac_status=$?
43338 grep -v '^ *+' conftest.er1 >conftest.err
43339 rm -f conftest.er1
43340 cat conftest.err >&5
43341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43342 (exit $ac_status); } &&
43343 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43345 (eval $ac_try) 2>&5
43346 ac_status=$?
43347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43348 (exit $ac_status); }; } &&
43349 { ac_try='test -s conftest.$ac_objext'
43350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43351 (eval $ac_try) 2>&5
43352 ac_status=$?
43353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43354 (exit $ac_status); }; }; then
43355 wx_cv_type_getsockopt5=int
43356 else
43357 echo "$as_me: failed program was:" >&5
43358 sed 's/^/| /' conftest.$ac_ext >&5
43359
43360 wx_cv_type_getsockopt5=unknown
43361
43362 fi
43363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43364
43365 fi
43366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43367
43368 CXXFLAGS="$CXXFLAGS_OLD"
43369
43370
43371 fi
43372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43373
43374 fi
43375 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43376 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
43377
43378 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43379 wxUSE_SOCKETS=no
43380 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43381 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43382 else
43383 cat >>confdefs.h <<_ACEOF
43384 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43385 _ACEOF
43386
43387 fi
43388 fi
43389 fi
43390
43391 if test "$wxUSE_SOCKETS" = "yes" ; then
43392 cat >>confdefs.h <<\_ACEOF
43393 #define wxUSE_SOCKETS 1
43394 _ACEOF
43395
43396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43397 fi
43398
43399 if test "$wxUSE_PROTOCOL" = "yes"; then
43400 if test "$wxUSE_SOCKETS" != "yes"; then
43401 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43402 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43403 wxUSE_PROTOCOL=no
43404 fi
43405 fi
43406
43407 if test "$wxUSE_PROTOCOL" = "yes"; then
43408 cat >>confdefs.h <<\_ACEOF
43409 #define wxUSE_PROTOCOL 1
43410 _ACEOF
43411
43412
43413 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43414 cat >>confdefs.h <<\_ACEOF
43415 #define wxUSE_PROTOCOL_HTTP 1
43416 _ACEOF
43417
43418 fi
43419 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43420 cat >>confdefs.h <<\_ACEOF
43421 #define wxUSE_PROTOCOL_FTP 1
43422 _ACEOF
43423
43424 fi
43425 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43426 cat >>confdefs.h <<\_ACEOF
43427 #define wxUSE_PROTOCOL_FILE 1
43428 _ACEOF
43429
43430 fi
43431 else
43432 if test "$wxUSE_FS_INET" = "yes"; then
43433 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43434 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43435 wxUSE_FS_INET="no"
43436 fi
43437 fi
43438
43439 if test "$wxUSE_URL" = "yes"; then
43440 if test "$wxUSE_PROTOCOL" != "yes"; then
43441 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43442 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43443 wxUSE_URL=no
43444 fi
43445 if test "$wxUSE_URL" = "yes"; then
43446 cat >>confdefs.h <<\_ACEOF
43447 #define wxUSE_URL 1
43448 _ACEOF
43449
43450 fi
43451 fi
43452
43453 if test "$wxUSE_FS_INET" = "yes"; then
43454 cat >>confdefs.h <<\_ACEOF
43455 #define wxUSE_FS_INET 1
43456 _ACEOF
43457
43458 fi
43459
43460
43461 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43462 wxUSE_JOYSTICK=no
43463
43464 if test "$TOOLKIT" = "MSW"; then
43465 wxUSE_JOYSTICK=yes
43466
43467 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43468 if test "$USE_DARWIN" = 1; then
43469 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43470 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
43471 cat >conftest.$ac_ext <<_ACEOF
43472 /* confdefs.h. */
43473 _ACEOF
43474 cat confdefs.h >>conftest.$ac_ext
43475 cat >>conftest.$ac_ext <<_ACEOF
43476 /* end confdefs.h. */
43477 #include <IOKit/hid/IOHIDLib.h>
43478 int
43479 main ()
43480 {
43481 IOHIDQueueInterface *qi = NULL;
43482 IOHIDCallbackFunction cb = NULL;
43483 qi->setEventCallout(NULL, cb, NULL, NULL);
43484 ;
43485 return 0;
43486 }
43487 _ACEOF
43488 rm -f conftest.$ac_objext
43489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43490 (eval $ac_compile) 2>conftest.er1
43491 ac_status=$?
43492 grep -v '^ *+' conftest.er1 >conftest.err
43493 rm -f conftest.er1
43494 cat conftest.err >&5
43495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43496 (exit $ac_status); } &&
43497 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43499 (eval $ac_try) 2>&5
43500 ac_status=$?
43501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43502 (exit $ac_status); }; } &&
43503 { ac_try='test -s conftest.$ac_objext'
43504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43505 (eval $ac_try) 2>&5
43506 ac_status=$?
43507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43508 (exit $ac_status); }; }; then
43509 wxUSE_JOYSTICK=yes
43510
43511 else
43512 echo "$as_me: failed program was:" >&5
43513 sed 's/^/| /' conftest.$ac_ext >&5
43514
43515 fi
43516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43517 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43518 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
43519 fi
43520
43521 else
43522
43523 for ac_header in linux/joystick.h
43524 do
43525 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43526 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43527 echo "$as_me:$LINENO: checking for $ac_header" >&5
43528 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43530 echo $ECHO_N "(cached) $ECHO_C" >&6
43531 fi
43532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43533 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43534 else
43535 # Is the header compilable?
43536 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43537 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43538 cat >conftest.$ac_ext <<_ACEOF
43539 /* confdefs.h. */
43540 _ACEOF
43541 cat confdefs.h >>conftest.$ac_ext
43542 cat >>conftest.$ac_ext <<_ACEOF
43543 /* end confdefs.h. */
43544 $ac_includes_default
43545 #include <$ac_header>
43546 _ACEOF
43547 rm -f conftest.$ac_objext
43548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43549 (eval $ac_compile) 2>conftest.er1
43550 ac_status=$?
43551 grep -v '^ *+' conftest.er1 >conftest.err
43552 rm -f conftest.er1
43553 cat conftest.err >&5
43554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43555 (exit $ac_status); } &&
43556 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43558 (eval $ac_try) 2>&5
43559 ac_status=$?
43560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43561 (exit $ac_status); }; } &&
43562 { ac_try='test -s conftest.$ac_objext'
43563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43564 (eval $ac_try) 2>&5
43565 ac_status=$?
43566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43567 (exit $ac_status); }; }; then
43568 ac_header_compiler=yes
43569 else
43570 echo "$as_me: failed program was:" >&5
43571 sed 's/^/| /' conftest.$ac_ext >&5
43572
43573 ac_header_compiler=no
43574 fi
43575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43576 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43577 echo "${ECHO_T}$ac_header_compiler" >&6
43578
43579 # Is the header present?
43580 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43581 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43582 cat >conftest.$ac_ext <<_ACEOF
43583 /* confdefs.h. */
43584 _ACEOF
43585 cat confdefs.h >>conftest.$ac_ext
43586 cat >>conftest.$ac_ext <<_ACEOF
43587 /* end confdefs.h. */
43588 #include <$ac_header>
43589 _ACEOF
43590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43591 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43592 ac_status=$?
43593 grep -v '^ *+' conftest.er1 >conftest.err
43594 rm -f conftest.er1
43595 cat conftest.err >&5
43596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43597 (exit $ac_status); } >/dev/null; then
43598 if test -s conftest.err; then
43599 ac_cpp_err=$ac_cxx_preproc_warn_flag
43600 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
43601 else
43602 ac_cpp_err=
43603 fi
43604 else
43605 ac_cpp_err=yes
43606 fi
43607 if test -z "$ac_cpp_err"; then
43608 ac_header_preproc=yes
43609 else
43610 echo "$as_me: failed program was:" >&5
43611 sed 's/^/| /' conftest.$ac_ext >&5
43612
43613 ac_header_preproc=no
43614 fi
43615 rm -f conftest.err conftest.$ac_ext
43616 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43617 echo "${ECHO_T}$ac_header_preproc" >&6
43618
43619 # So? What about this header?
43620 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
43621 yes:no: )
43622 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43623 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43625 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43626 ac_header_preproc=yes
43627 ;;
43628 no:yes:* )
43629 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43630 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43631 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
43632 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
43633 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43634 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43635 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
43636 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
43637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43639 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43640 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43641 (
43642 cat <<\_ASBOX
43643 ## ----------------------------------------- ##
43644 ## Report this to wx-dev@lists.wxwidgets.org ##
43645 ## ----------------------------------------- ##
43646 _ASBOX
43647 ) |
43648 sed "s/^/$as_me: WARNING: /" >&2
43649 ;;
43650 esac
43651 echo "$as_me:$LINENO: checking for $ac_header" >&5
43652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43654 echo $ECHO_N "(cached) $ECHO_C" >&6
43655 else
43656 eval "$as_ac_Header=\$ac_header_preproc"
43657 fi
43658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43660
43661 fi
43662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43663 cat >>confdefs.h <<_ACEOF
43664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43665 _ACEOF
43666 wxUSE_JOYSTICK=yes
43667 fi
43668
43669 done
43670
43671 fi
43672
43673 if test "$wxUSE_JOYSTICK" = "yes"; then
43674 cat >>confdefs.h <<\_ACEOF
43675 #define wxUSE_JOYSTICK 1
43676 _ACEOF
43677
43678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43679 else
43680 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43681 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43682 fi
43683 fi
43684
43685
43686
43687 if test "$wxUSE_FONTMAP" = "yes" ; then
43688 cat >>confdefs.h <<\_ACEOF
43689 #define wxUSE_FONTMAP 1
43690 _ACEOF
43691
43692 fi
43693
43694 if test "$wxUSE_UNICODE" = "yes" ; then
43695 cat >>confdefs.h <<\_ACEOF
43696 #define wxUSE_UNICODE 1
43697 _ACEOF
43698
43699
43700 if test "$USE_WIN32" != 1; then
43701 wxUSE_UNICODE_MSLU=no
43702 fi
43703
43704 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43705 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43706 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
43707 if test "${ac_cv_lib_unicows_main+set}" = set; then
43708 echo $ECHO_N "(cached) $ECHO_C" >&6
43709 else
43710 ac_check_lib_save_LIBS=$LIBS
43711 LIBS="-lunicows $LIBS"
43712 cat >conftest.$ac_ext <<_ACEOF
43713 /* confdefs.h. */
43714 _ACEOF
43715 cat confdefs.h >>conftest.$ac_ext
43716 cat >>conftest.$ac_ext <<_ACEOF
43717 /* end confdefs.h. */
43718
43719
43720 int
43721 main ()
43722 {
43723 main ();
43724 ;
43725 return 0;
43726 }
43727 _ACEOF
43728 rm -f conftest.$ac_objext conftest$ac_exeext
43729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43730 (eval $ac_link) 2>conftest.er1
43731 ac_status=$?
43732 grep -v '^ *+' conftest.er1 >conftest.err
43733 rm -f conftest.er1
43734 cat conftest.err >&5
43735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43736 (exit $ac_status); } &&
43737 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43739 (eval $ac_try) 2>&5
43740 ac_status=$?
43741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43742 (exit $ac_status); }; } &&
43743 { ac_try='test -s conftest$ac_exeext'
43744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43745 (eval $ac_try) 2>&5
43746 ac_status=$?
43747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43748 (exit $ac_status); }; }; then
43749 ac_cv_lib_unicows_main=yes
43750 else
43751 echo "$as_me: failed program was:" >&5
43752 sed 's/^/| /' conftest.$ac_ext >&5
43753
43754 ac_cv_lib_unicows_main=no
43755 fi
43756 rm -f conftest.err conftest.$ac_objext \
43757 conftest$ac_exeext conftest.$ac_ext
43758 LIBS=$ac_check_lib_save_LIBS
43759 fi
43760 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43761 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
43762 if test $ac_cv_lib_unicows_main = yes; then
43763
43764 cat >>confdefs.h <<\_ACEOF
43765 #define wxUSE_UNICODE_MSLU 1
43766 _ACEOF
43767
43768
43769 else
43770
43771 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43772 Applications will only run on Windows NT/2000/XP!" >&5
43773 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43774 Applications will only run on Windows NT/2000/XP!" >&2;}
43775 wxUSE_UNICODE_MSLU=no
43776
43777 fi
43778
43779 fi
43780 fi
43781
43782 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43783 cat >>confdefs.h <<\_ACEOF
43784 #define wxUSE_EXPERIMENTAL_PRINTF 1
43785 _ACEOF
43786
43787 fi
43788
43789
43790 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43791 cat >>confdefs.h <<\_ACEOF
43792 #define wxUSE_POSTSCRIPT 1
43793 _ACEOF
43794
43795 fi
43796
43797 cat >>confdefs.h <<\_ACEOF
43798 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43799 _ACEOF
43800
43801
43802 cat >>confdefs.h <<\_ACEOF
43803 #define wxUSE_NORMALIZED_PS_FONTS 1
43804 _ACEOF
43805
43806
43807
43808 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43809 cat >>confdefs.h <<\_ACEOF
43810 #define wxUSE_CONSTRAINTS 1
43811 _ACEOF
43812
43813 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43814 fi
43815
43816 if test "$wxUSE_MDI" = "yes"; then
43817 cat >>confdefs.h <<\_ACEOF
43818 #define wxUSE_MDI 1
43819 _ACEOF
43820
43821
43822 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43823 cat >>confdefs.h <<\_ACEOF
43824 #define wxUSE_MDI_ARCHITECTURE 1
43825 _ACEOF
43826
43827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43828 fi
43829 fi
43830
43831 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43832 cat >>confdefs.h <<\_ACEOF
43833 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43834 _ACEOF
43835
43836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43837 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43839 fi
43840 fi
43841
43842 if test "$wxUSE_HELP" = "yes"; then
43843 cat >>confdefs.h <<\_ACEOF
43844 #define wxUSE_HELP 1
43845 _ACEOF
43846
43847 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43848
43849 if test "$wxUSE_MSW" = 1; then
43850 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43851 cat >>confdefs.h <<\_ACEOF
43852 #define wxUSE_MS_HTML_HELP 1
43853 _ACEOF
43854
43855 fi
43856 fi
43857
43858 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43859 if test "$wxUSE_HTML" = "yes"; then
43860 cat >>confdefs.h <<\_ACEOF
43861 #define wxUSE_WXHTML_HELP 1
43862 _ACEOF
43863
43864 else
43865 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43866 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43867 wxUSE_WXHTML_HELP=no
43868 fi
43869 fi
43870 fi
43871
43872 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43873 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43874 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43875 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43876 else
43877 cat >>confdefs.h <<\_ACEOF
43878 #define wxUSE_PRINTING_ARCHITECTURE 1
43879 _ACEOF
43880
43881 fi
43882 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43883 fi
43884
43885 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43886 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43887 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43888 { (exit 1); exit 1; }; }
43889 fi
43890
43891
43892 if test "$wxUSE_METAFILE" = "yes"; then
43893 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43894 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43895 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43896 wxUSE_METAFILE=no
43897 fi
43898 fi
43899
43900
43901 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43902 -o "$wxUSE_CLIPBOARD" = "yes" \
43903 -o "$wxUSE_OLE" = "yes" \
43904 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43905
43906 for ac_header in ole2.h
43907 do
43908 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43910 echo "$as_me:$LINENO: checking for $ac_header" >&5
43911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43913 echo $ECHO_N "(cached) $ECHO_C" >&6
43914 fi
43915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43916 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43917 else
43918 # Is the header compilable?
43919 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43920 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43921 cat >conftest.$ac_ext <<_ACEOF
43922 /* confdefs.h. */
43923 _ACEOF
43924 cat confdefs.h >>conftest.$ac_ext
43925 cat >>conftest.$ac_ext <<_ACEOF
43926 /* end confdefs.h. */
43927 $ac_includes_default
43928 #include <$ac_header>
43929 _ACEOF
43930 rm -f conftest.$ac_objext
43931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43932 (eval $ac_compile) 2>conftest.er1
43933 ac_status=$?
43934 grep -v '^ *+' conftest.er1 >conftest.err
43935 rm -f conftest.er1
43936 cat conftest.err >&5
43937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43938 (exit $ac_status); } &&
43939 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43941 (eval $ac_try) 2>&5
43942 ac_status=$?
43943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43944 (exit $ac_status); }; } &&
43945 { ac_try='test -s conftest.$ac_objext'
43946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43947 (eval $ac_try) 2>&5
43948 ac_status=$?
43949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43950 (exit $ac_status); }; }; then
43951 ac_header_compiler=yes
43952 else
43953 echo "$as_me: failed program was:" >&5
43954 sed 's/^/| /' conftest.$ac_ext >&5
43955
43956 ac_header_compiler=no
43957 fi
43958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43960 echo "${ECHO_T}$ac_header_compiler" >&6
43961
43962 # Is the header present?
43963 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43964 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43965 cat >conftest.$ac_ext <<_ACEOF
43966 /* confdefs.h. */
43967 _ACEOF
43968 cat confdefs.h >>conftest.$ac_ext
43969 cat >>conftest.$ac_ext <<_ACEOF
43970 /* end confdefs.h. */
43971 #include <$ac_header>
43972 _ACEOF
43973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43975 ac_status=$?
43976 grep -v '^ *+' conftest.er1 >conftest.err
43977 rm -f conftest.er1
43978 cat conftest.err >&5
43979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43980 (exit $ac_status); } >/dev/null; then
43981 if test -s conftest.err; then
43982 ac_cpp_err=$ac_cxx_preproc_warn_flag
43983 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
43984 else
43985 ac_cpp_err=
43986 fi
43987 else
43988 ac_cpp_err=yes
43989 fi
43990 if test -z "$ac_cpp_err"; then
43991 ac_header_preproc=yes
43992 else
43993 echo "$as_me: failed program was:" >&5
43994 sed 's/^/| /' conftest.$ac_ext >&5
43995
43996 ac_header_preproc=no
43997 fi
43998 rm -f conftest.err conftest.$ac_ext
43999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44000 echo "${ECHO_T}$ac_header_preproc" >&6
44001
44002 # So? What about this header?
44003 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44004 yes:no: )
44005 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44006 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44008 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44009 ac_header_preproc=yes
44010 ;;
44011 no:yes:* )
44012 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44013 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44014 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44015 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44016 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44017 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44018 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44019 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44021 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44022 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44023 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44024 (
44025 cat <<\_ASBOX
44026 ## ----------------------------------------- ##
44027 ## Report this to wx-dev@lists.wxwidgets.org ##
44028 ## ----------------------------------------- ##
44029 _ASBOX
44030 ) |
44031 sed "s/^/$as_me: WARNING: /" >&2
44032 ;;
44033 esac
44034 echo "$as_me:$LINENO: checking for $ac_header" >&5
44035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44037 echo $ECHO_N "(cached) $ECHO_C" >&6
44038 else
44039 eval "$as_ac_Header=\$ac_header_preproc"
44040 fi
44041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44043
44044 fi
44045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44046 cat >>confdefs.h <<_ACEOF
44047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44048 _ACEOF
44049
44050 fi
44051
44052 done
44053
44054
44055 if test "$ac_cv_header_ole2_h" = "yes" ; then
44056 if test "$GCC" = yes ; then
44057 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44058 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44059 cat >conftest.$ac_ext <<_ACEOF
44060 /* confdefs.h. */
44061 _ACEOF
44062 cat confdefs.h >>conftest.$ac_ext
44063 cat >>conftest.$ac_ext <<_ACEOF
44064 /* end confdefs.h. */
44065 #include <windows.h>
44066 #include <ole2.h>
44067 int
44068 main ()
44069 {
44070
44071 ;
44072 return 0;
44073 }
44074 _ACEOF
44075 rm -f conftest.$ac_objext
44076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44077 (eval $ac_compile) 2>conftest.er1
44078 ac_status=$?
44079 grep -v '^ *+' conftest.er1 >conftest.err
44080 rm -f conftest.er1
44081 cat conftest.err >&5
44082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44083 (exit $ac_status); } &&
44084 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44086 (eval $ac_try) 2>&5
44087 ac_status=$?
44088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44089 (exit $ac_status); }; } &&
44090 { ac_try='test -s conftest.$ac_objext'
44091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44092 (eval $ac_try) 2>&5
44093 ac_status=$?
44094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44095 (exit $ac_status); }; }; then
44096 echo "$as_me:$LINENO: result: no" >&5
44097 echo "${ECHO_T}no" >&6
44098 else
44099 echo "$as_me: failed program was:" >&5
44100 sed 's/^/| /' conftest.$ac_ext >&5
44101
44102 echo "$as_me:$LINENO: result: yes" >&5
44103 echo "${ECHO_T}yes" >&6
44104 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44105 fi
44106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44107 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44108 if test "$wxUSE_OLE" = "yes" ; then
44109 cat >>confdefs.h <<\_ACEOF
44110 #define wxUSE_OLE 1
44111 _ACEOF
44112
44113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44114 fi
44115 fi
44116
44117 if test "$wxUSE_DATAOBJ" = "yes" ; then
44118 cat >>confdefs.h <<\_ACEOF
44119 #define wxUSE_DATAOBJ 1
44120 _ACEOF
44121
44122 fi
44123 else
44124 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44125 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44126
44127 wxUSE_CLIPBOARD=no
44128 wxUSE_DRAG_AND_DROP=no
44129 wxUSE_DATAOBJ=no
44130 wxUSE_OLE=no
44131 fi
44132
44133 if test "$wxUSE_METAFILE" = "yes"; then
44134 cat >>confdefs.h <<\_ACEOF
44135 #define wxUSE_METAFILE 1
44136 _ACEOF
44137
44138
44139 cat >>confdefs.h <<\_ACEOF
44140 #define wxUSE_ENH_METAFILE 1
44141 _ACEOF
44142
44143 fi
44144 fi
44145
44146 if test "$wxUSE_IPC" = "yes"; then
44147 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44148 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44149 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44150 wxUSE_IPC=no
44151 fi
44152
44153 if test "$wxUSE_IPC" = "yes"; then
44154 cat >>confdefs.h <<\_ACEOF
44155 #define wxUSE_IPC 1
44156 _ACEOF
44157
44158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44159 fi
44160 fi
44161
44162 if test "$wxUSE_DATAOBJ" = "yes"; then
44163 if test "$wxUSE_MGL" = 1; then
44164 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
44165 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
44166 wxUSE_DATAOBJ=no
44167 else
44168 cat >>confdefs.h <<\_ACEOF
44169 #define wxUSE_DATAOBJ 1
44170 _ACEOF
44171
44172 fi
44173 else
44174 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44175 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44176 wxUSE_CLIPBOARD=no
44177 wxUSE_DRAG_AND_DROP=no
44178 fi
44179
44180 if test "$wxUSE_CLIPBOARD" = "yes"; then
44181 if test "$wxUSE_MGL" = 1; then
44182 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
44183 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
44184 wxUSE_CLIPBOARD=no
44185 fi
44186
44187 if test "$wxUSE_CLIPBOARD" = "yes"; then
44188 cat >>confdefs.h <<\_ACEOF
44189 #define wxUSE_CLIPBOARD 1
44190 _ACEOF
44191
44192 fi
44193 fi
44194
44195 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44196 if test "$wxUSE_GTK" = 1; then
44197 if test "$WXGTK12" != 1; then
44198 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44199 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44200 wxUSE_DRAG_AND_DROP=no
44201 fi
44202 fi
44203
44204 if test "$wxUSE_MOTIF" = 1; then
44205 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
44206 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
44207 wxUSE_DRAG_AND_DROP=no
44208 fi
44209
44210 if test "$wxUSE_X11" = 1; then
44211 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
44212 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
44213 wxUSE_DRAG_AND_DROP=no
44214 fi
44215
44216 if test "$wxUSE_MGL" = 1; then
44217 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
44218 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
44219 wxUSE_DRAG_AND_DROP=no
44220 fi
44221
44222 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44223 cat >>confdefs.h <<\_ACEOF
44224 #define wxUSE_DRAG_AND_DROP 1
44225 _ACEOF
44226
44227 fi
44228
44229 fi
44230
44231 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44233 fi
44234
44235 if test "$wxUSE_SPLINES" = "yes" ; then
44236 cat >>confdefs.h <<\_ACEOF
44237 #define wxUSE_SPLINES 1
44238 _ACEOF
44239
44240 fi
44241
44242 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44243 cat >>confdefs.h <<\_ACEOF
44244 #define wxUSE_MOUSEWHEEL 1
44245 _ACEOF
44246
44247 fi
44248
44249
44250 USES_CONTROLS=0
44251 if test "$wxUSE_CONTROLS" = "yes"; then
44252 USES_CONTROLS=1
44253 fi
44254
44255 if test "$wxUSE_ACCEL" = "yes"; then
44256 cat >>confdefs.h <<\_ACEOF
44257 #define wxUSE_ACCEL 1
44258 _ACEOF
44259
44260 USES_CONTROLS=1
44261 fi
44262
44263 if test "$wxUSE_BUTTON" = "yes"; then
44264 cat >>confdefs.h <<\_ACEOF
44265 #define wxUSE_BUTTON 1
44266 _ACEOF
44267
44268 USES_CONTROLS=1
44269 fi
44270
44271 if test "$wxUSE_BMPBUTTON" = "yes"; then
44272 cat >>confdefs.h <<\_ACEOF
44273 #define wxUSE_BMPBUTTON 1
44274 _ACEOF
44275
44276 USES_CONTROLS=1
44277 fi
44278
44279 if test "$wxUSE_CALCTRL" = "yes"; then
44280 cat >>confdefs.h <<\_ACEOF
44281 #define wxUSE_CALENDARCTRL 1
44282 _ACEOF
44283
44284 USES_CONTROLS=1
44285 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44286 fi
44287
44288 if test "$wxUSE_CARET" = "yes"; then
44289 cat >>confdefs.h <<\_ACEOF
44290 #define wxUSE_CARET 1
44291 _ACEOF
44292
44293 USES_CONTROLS=1
44294 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44295 fi
44296
44297 if test "$wxUSE_COMBOBOX" = "yes"; then
44298 cat >>confdefs.h <<\_ACEOF
44299 #define wxUSE_COMBOBOX 1
44300 _ACEOF
44301
44302 USES_CONTROLS=1
44303 fi
44304
44305 if test "$wxUSE_COMBOCTRL" = "yes"; then
44306 cat >>confdefs.h <<\_ACEOF
44307 #define wxUSE_COMBOCTRL 1
44308 _ACEOF
44309
44310 USES_CONTROLS=1
44311 fi
44312
44313 if test "$wxUSE_CHOICE" = "yes"; then
44314 cat >>confdefs.h <<\_ACEOF
44315 #define wxUSE_CHOICE 1
44316 _ACEOF
44317
44318 USES_CONTROLS=1
44319 fi
44320
44321 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44322 cat >>confdefs.h <<\_ACEOF
44323 #define wxUSE_CHOICEBOOK 1
44324 _ACEOF
44325
44326 USES_CONTROLS=1
44327 fi
44328
44329 if test "$wxUSE_CHECKBOX" = "yes"; then
44330 cat >>confdefs.h <<\_ACEOF
44331 #define wxUSE_CHECKBOX 1
44332 _ACEOF
44333
44334 USES_CONTROLS=1
44335 fi
44336
44337 if test "$wxUSE_CHECKLST" = "yes"; then
44338 cat >>confdefs.h <<\_ACEOF
44339 #define wxUSE_CHECKLISTBOX 1
44340 _ACEOF
44341
44342 USES_CONTROLS=1
44343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44344 fi
44345
44346 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44347 cat >>confdefs.h <<\_ACEOF
44348 #define wxUSE_COLOURPICKERCTRL 1
44349 _ACEOF
44350
44351 USES_CONTROLS=1
44352 fi
44353
44354 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44355 cat >>confdefs.h <<\_ACEOF
44356 #define wxUSE_DATEPICKCTRL 1
44357 _ACEOF
44358
44359 USES_CONTROLS=1
44360 fi
44361
44362 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44363 cat >>confdefs.h <<\_ACEOF
44364 #define wxUSE_DIRPICKERCTRL 1
44365 _ACEOF
44366
44367 USES_CONTROLS=1
44368 fi
44369
44370 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44371 cat >>confdefs.h <<\_ACEOF
44372 #define wxUSE_FILEPICKERCTRL 1
44373 _ACEOF
44374
44375 USES_CONTROLS=1
44376 fi
44377
44378 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define wxUSE_FONTPICKERCTRL 1
44381 _ACEOF
44382
44383 USES_CONTROLS=1
44384 fi
44385
44386 if test "$wxUSE_DISPLAY" = "yes"; then
44387 cat >>confdefs.h <<\_ACEOF
44388 #define wxUSE_DISPLAY 1
44389 _ACEOF
44390
44391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44392 fi
44393
44394 if test "$wxUSE_GAUGE" = "yes"; then
44395 cat >>confdefs.h <<\_ACEOF
44396 #define wxUSE_GAUGE 1
44397 _ACEOF
44398
44399 USES_CONTROLS=1
44400 fi
44401
44402 if test "$wxUSE_GRID" = "yes"; then
44403 cat >>confdefs.h <<\_ACEOF
44404 #define wxUSE_GRID 1
44405 _ACEOF
44406
44407 USES_CONTROLS=1
44408 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44409 fi
44410
44411 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44412 cat >>confdefs.h <<\_ACEOF
44413 #define wxUSE_HYPERLINKCTRL 1
44414 _ACEOF
44415
44416 USES_CONTROLS=1
44417 fi
44418
44419 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44420 cat >>confdefs.h <<\_ACEOF
44421 #define wxUSE_DATAVIEWCTRL 1
44422 _ACEOF
44423
44424 USES_CONTROLS=1
44425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44426 fi
44427
44428 if test "$wxUSE_IMAGLIST" = "yes"; then
44429 cat >>confdefs.h <<\_ACEOF
44430 #define wxUSE_IMAGLIST 1
44431 _ACEOF
44432
44433 fi
44434
44435 if test "$wxUSE_LISTBOOK" = "yes"; then
44436 cat >>confdefs.h <<\_ACEOF
44437 #define wxUSE_LISTBOOK 1
44438 _ACEOF
44439
44440 USES_CONTROLS=1
44441 fi
44442
44443 if test "$wxUSE_LISTBOX" = "yes"; then
44444 cat >>confdefs.h <<\_ACEOF
44445 #define wxUSE_LISTBOX 1
44446 _ACEOF
44447
44448 USES_CONTROLS=1
44449 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44450 fi
44451
44452 if test "$wxUSE_LISTCTRL" = "yes"; then
44453 if test "$wxUSE_IMAGLIST" = "yes"; then
44454 cat >>confdefs.h <<\_ACEOF
44455 #define wxUSE_LISTCTRL 1
44456 _ACEOF
44457
44458 USES_CONTROLS=1
44459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44460 else
44461 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44462 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44463 fi
44464 fi
44465
44466 if test "$wxUSE_NOTEBOOK" = "yes"; then
44467 cat >>confdefs.h <<\_ACEOF
44468 #define wxUSE_NOTEBOOK 1
44469 _ACEOF
44470
44471 USES_CONTROLS=1
44472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44473 fi
44474
44475 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44476 cat >>confdefs.h <<\_ACEOF
44477 #define wxUSE_ODCOMBOBOX 1
44478 _ACEOF
44479
44480 USES_CONTROLS=1
44481 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44482 fi
44483
44484
44485 if test "$wxUSE_RADIOBOX" = "yes"; then
44486 cat >>confdefs.h <<\_ACEOF
44487 #define wxUSE_RADIOBOX 1
44488 _ACEOF
44489
44490 USES_CONTROLS=1
44491 fi
44492
44493 if test "$wxUSE_RADIOBTN" = "yes"; then
44494 cat >>confdefs.h <<\_ACEOF
44495 #define wxUSE_RADIOBTN 1
44496 _ACEOF
44497
44498 USES_CONTROLS=1
44499 fi
44500
44501 if test "$wxUSE_SASH" = "yes"; then
44502 cat >>confdefs.h <<\_ACEOF
44503 #define wxUSE_SASH 1
44504 _ACEOF
44505
44506 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44507 fi
44508
44509 if test "$wxUSE_SCROLLBAR" = "yes"; then
44510 cat >>confdefs.h <<\_ACEOF
44511 #define wxUSE_SCROLLBAR 1
44512 _ACEOF
44513
44514 USES_CONTROLS=1
44515 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44516 fi
44517
44518 if test "$wxUSE_SLIDER" = "yes"; then
44519 cat >>confdefs.h <<\_ACEOF
44520 #define wxUSE_SLIDER 1
44521 _ACEOF
44522
44523 USES_CONTROLS=1
44524 fi
44525
44526 if test "$wxUSE_SPINBTN" = "yes"; then
44527 cat >>confdefs.h <<\_ACEOF
44528 #define wxUSE_SPINBTN 1
44529 _ACEOF
44530
44531 USES_CONTROLS=1
44532 fi
44533
44534 if test "$wxUSE_SPINCTRL" = "yes"; then
44535 cat >>confdefs.h <<\_ACEOF
44536 #define wxUSE_SPINCTRL 1
44537 _ACEOF
44538
44539 USES_CONTROLS=1
44540 fi
44541
44542 if test "$wxUSE_SPLITTER" = "yes"; then
44543 cat >>confdefs.h <<\_ACEOF
44544 #define wxUSE_SPLITTER 1
44545 _ACEOF
44546
44547 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44548 fi
44549
44550 if test "$wxUSE_STATBMP" = "yes"; then
44551 cat >>confdefs.h <<\_ACEOF
44552 #define wxUSE_STATBMP 1
44553 _ACEOF
44554
44555 USES_CONTROLS=1
44556 fi
44557
44558 if test "$wxUSE_STATBOX" = "yes"; then
44559 cat >>confdefs.h <<\_ACEOF
44560 #define wxUSE_STATBOX 1
44561 _ACEOF
44562
44563 USES_CONTROLS=1
44564 fi
44565
44566 if test "$wxUSE_STATTEXT" = "yes"; then
44567 cat >>confdefs.h <<\_ACEOF
44568 #define wxUSE_STATTEXT 1
44569 _ACEOF
44570
44571 USES_CONTROLS=1
44572 fi
44573
44574 if test "$wxUSE_STATLINE" = "yes"; then
44575 cat >>confdefs.h <<\_ACEOF
44576 #define wxUSE_STATLINE 1
44577 _ACEOF
44578
44579 USES_CONTROLS=1
44580 fi
44581
44582 if test "$wxUSE_STATUSBAR" = "yes"; then
44583 cat >>confdefs.h <<\_ACEOF
44584 #define wxUSE_NATIVE_STATUSBAR 1
44585 _ACEOF
44586
44587 cat >>confdefs.h <<\_ACEOF
44588 #define wxUSE_STATUSBAR 1
44589 _ACEOF
44590
44591 USES_CONTROLS=1
44592
44593 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44594 fi
44595
44596 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44597 cat >>confdefs.h <<\_ACEOF
44598 #define wxUSE_TAB_DIALOG 1
44599 _ACEOF
44600
44601 fi
44602
44603 if test "$wxUSE_TEXTCTRL" = "yes"; then
44604 cat >>confdefs.h <<\_ACEOF
44605 #define wxUSE_TEXTCTRL 1
44606 _ACEOF
44607
44608 USES_CONTROLS=1
44609 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44610 fi
44611
44612 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44613 if test "$wxUSE_COCOA" = 1 ; then
44614 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44615 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44616 wxUSE_TOGGLEBTN=no
44617 fi
44618
44619 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44620 cat >>confdefs.h <<\_ACEOF
44621 #define wxUSE_TOGGLEBTN 1
44622 _ACEOF
44623
44624 USES_CONTROLS=1
44625 fi
44626 fi
44627
44628 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
44629 cat >>confdefs.h <<\_ACEOF
44630 #define wxUSE_TOOLBAR_SIMPLE 1
44631 _ACEOF
44632
44633 wxUSE_TOOLBAR="yes"
44634 USES_CONTROLS=1
44635 fi
44636
44637 if test "$wxUSE_TOOLBAR" = "yes"; then
44638 cat >>confdefs.h <<\_ACEOF
44639 #define wxUSE_TOOLBAR 1
44640 _ACEOF
44641
44642 USES_CONTROLS=1
44643
44644 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
44645 wxUSE_TOOLBAR_NATIVE="yes"
44646 fi
44647
44648 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
44649 cat >>confdefs.h <<\_ACEOF
44650 #define wxUSE_TOOLBAR_NATIVE 1
44651 _ACEOF
44652
44653 USES_CONTROLS=1
44654 fi
44655
44656 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44657 fi
44658
44659 if test "$wxUSE_TOOLTIPS" = "yes"; then
44660 if test "$wxUSE_MOTIF" = 1; then
44661 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44662 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44663 else
44664 if test "$wxUSE_UNIVERSAL" = "yes"; then
44665 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44666 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44667 else
44668 cat >>confdefs.h <<\_ACEOF
44669 #define wxUSE_TOOLTIPS 1
44670 _ACEOF
44671
44672 fi
44673 fi
44674 fi
44675
44676 if test "$wxUSE_TREEBOOK" = "yes"; then
44677 cat >>confdefs.h <<\_ACEOF
44678 #define wxUSE_TREEBOOK 1
44679 _ACEOF
44680
44681 USES_CONTROLS=1
44682 fi
44683
44684 if test "$wxUSE_TOOLBOOK" = "yes"; then
44685 cat >>confdefs.h <<\_ACEOF
44686 #define wxUSE_TOOLBOOK 1
44687 _ACEOF
44688
44689 USES_CONTROLS=1
44690 fi
44691
44692 if test "$wxUSE_TREECTRL" = "yes"; then
44693 if test "$wxUSE_IMAGLIST" = "yes"; then
44694 cat >>confdefs.h <<\_ACEOF
44695 #define wxUSE_TREECTRL 1
44696 _ACEOF
44697
44698 USES_CONTROLS=1
44699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44700 else
44701 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44702 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44703 fi
44704 fi
44705
44706 if test "$wxUSE_POPUPWIN" = "yes"; then
44707 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44708 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44709 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44710 else
44711 if test "$wxUSE_PM" = 1; then
44712 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44713 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44714 else
44715 cat >>confdefs.h <<\_ACEOF
44716 #define wxUSE_POPUPWIN 1
44717 _ACEOF
44718
44719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44720
44721 USES_CONTROLS=1
44722 fi
44723 fi
44724 fi
44725
44726 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44727 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44728 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
44729 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
44730 else
44731 cat >>confdefs.h <<\_ACEOF
44732 #define wxUSE_DIALUP_MANAGER 1
44733 _ACEOF
44734
44735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44736 fi
44737 fi
44738
44739 if test "$wxUSE_TIPWINDOW" = "yes"; then
44740 if test "$wxUSE_PM" = 1; then
44741 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44742 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44743 else
44744 cat >>confdefs.h <<\_ACEOF
44745 #define wxUSE_TIPWINDOW 1
44746 _ACEOF
44747
44748 fi
44749 fi
44750
44751 if test "$USES_CONTROLS" = 1; then
44752 cat >>confdefs.h <<\_ACEOF
44753 #define wxUSE_CONTROLS 1
44754 _ACEOF
44755
44756 fi
44757
44758
44759 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44760 cat >>confdefs.h <<\_ACEOF
44761 #define wxUSE_ACCESSIBILITY 1
44762 _ACEOF
44763
44764 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44765 fi
44766
44767 if test "$wxUSE_DC_CACHEING" = "yes"; then
44768 cat >>confdefs.h <<\_ACEOF
44769 #define wxUSE_DC_CACHEING 1
44770 _ACEOF
44771
44772 fi
44773
44774 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44775 cat >>confdefs.h <<\_ACEOF
44776 #define wxUSE_DRAGIMAGE 1
44777 _ACEOF
44778
44779 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44780 fi
44781
44782 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44783 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44784 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44785 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44786 else
44787 cat >>confdefs.h <<\_ACEOF
44788 #define wxUSE_EXCEPTIONS 1
44789 _ACEOF
44790
44791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44792 fi
44793 fi
44794
44795 USE_HTML=0
44796 if test "$wxUSE_HTML" = "yes"; then
44797 cat >>confdefs.h <<\_ACEOF
44798 #define wxUSE_HTML 1
44799 _ACEOF
44800
44801 USE_HTML=1
44802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44803 if test "$wxUSE_MAC" = 1; then
44804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44805 fi
44806 fi
44807 if test "$wxUSE_WEBKIT" = "yes"; then
44808 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44809 old_CPPFLAGS="$CPPFLAGS"
44810 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44811 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44812 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
44813 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44814 echo $ECHO_N "(cached) $ECHO_C" >&6
44815 else
44816 cat >conftest.$ac_ext <<_ACEOF
44817 /* confdefs.h. */
44818 _ACEOF
44819 cat confdefs.h >>conftest.$ac_ext
44820 cat >>conftest.$ac_ext <<_ACEOF
44821 /* end confdefs.h. */
44822 #include <Carbon/Carbon.h>
44823
44824 #include <WebKit/HIWebView.h>
44825 _ACEOF
44826 rm -f conftest.$ac_objext
44827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44828 (eval $ac_compile) 2>conftest.er1
44829 ac_status=$?
44830 grep -v '^ *+' conftest.er1 >conftest.err
44831 rm -f conftest.er1
44832 cat conftest.err >&5
44833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44834 (exit $ac_status); } &&
44835 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44837 (eval $ac_try) 2>&5
44838 ac_status=$?
44839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44840 (exit $ac_status); }; } &&
44841 { ac_try='test -s conftest.$ac_objext'
44842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44843 (eval $ac_try) 2>&5
44844 ac_status=$?
44845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44846 (exit $ac_status); }; }; then
44847 ac_cv_header_WebKit_HIWebView_h=yes
44848 else
44849 echo "$as_me: failed program was:" >&5
44850 sed 's/^/| /' conftest.$ac_ext >&5
44851
44852 ac_cv_header_WebKit_HIWebView_h=no
44853 fi
44854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44855 fi
44856 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44857 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
44858 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44859
44860 cat >>confdefs.h <<\_ACEOF
44861 #define wxUSE_WEBKIT 1
44862 _ACEOF
44863
44864 WEBKIT_LINK="-framework WebKit"
44865
44866 else
44867
44868 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44869 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44870 wxUSE_WEBKIT=no
44871
44872 fi
44873
44874
44875 CPPFLAGS="$old_CPPFLAGS"
44876 elif test "$wxUSE_COCOA" = 1; then
44877 cat >>confdefs.h <<\_ACEOF
44878 #define wxUSE_WEBKIT 1
44879 _ACEOF
44880
44881 else
44882 wxUSE_WEBKIT=no
44883 fi
44884 fi
44885
44886 USE_XRC=0
44887 if test "$wxUSE_XRC" = "yes"; then
44888 if test "$wxUSE_XML" != "yes"; then
44889 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44890 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44891 wxUSE_XRC=no
44892 else
44893 cat >>confdefs.h <<\_ACEOF
44894 #define wxUSE_XRC 1
44895 _ACEOF
44896
44897 USE_XRC=1
44898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44899 fi
44900 fi
44901
44902 USE_AUI=0
44903 if test "$wxUSE_AUI" = "yes"; then
44904 cat >>confdefs.h <<\_ACEOF
44905 #define wxUSE_AUI 1
44906 _ACEOF
44907
44908 USE_AUI=1
44909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44910 fi
44911
44912 if test "$wxUSE_MENUS" = "yes"; then
44913 cat >>confdefs.h <<\_ACEOF
44914 #define wxUSE_MENUS 1
44915 _ACEOF
44916
44917 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44918 fi
44919
44920 if test "$wxUSE_METAFILE" = "yes"; then
44921 cat >>confdefs.h <<\_ACEOF
44922 #define wxUSE_METAFILE 1
44923 _ACEOF
44924
44925 fi
44926
44927 if test "$wxUSE_MIMETYPE" = "yes"; then
44928 cat >>confdefs.h <<\_ACEOF
44929 #define wxUSE_MIMETYPE 1
44930 _ACEOF
44931
44932 fi
44933
44934 if test "$wxUSE_MINIFRAME" = "yes"; then
44935 cat >>confdefs.h <<\_ACEOF
44936 #define wxUSE_MINIFRAME 1
44937 _ACEOF
44938
44939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44940 fi
44941
44942 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44943 cat >>confdefs.h <<\_ACEOF
44944 #define wxUSE_SYSTEM_OPTIONS 1
44945 _ACEOF
44946
44947 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44948 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44950 fi
44951 fi
44952
44953
44954 if test "$wxUSE_VALIDATORS" = "yes"; then
44955 cat >>confdefs.h <<\_ACEOF
44956 #define wxUSE_VALIDATORS 1
44957 _ACEOF
44958
44959 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44960 fi
44961
44962 if test "$wxUSE_PALETTE" = "yes" ; then
44963 cat >>confdefs.h <<\_ACEOF
44964 #define wxUSE_PALETTE 1
44965 _ACEOF
44966
44967 fi
44968
44969 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44970 LIBS=" -lunicows $LIBS"
44971 fi
44972
44973 USE_RICHTEXT=0
44974 if test "$wxUSE_RICHTEXT" = "yes"; then
44975 cat >>confdefs.h <<\_ACEOF
44976 #define wxUSE_RICHTEXT 1
44977 _ACEOF
44978
44979 USE_RICHTEXT=1
44980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44981 fi
44982
44983
44984 if test "$wxUSE_IMAGE" = "yes" ; then
44985 cat >>confdefs.h <<\_ACEOF
44986 #define wxUSE_IMAGE 1
44987 _ACEOF
44988
44989
44990 if test "$wxUSE_GIF" = "yes" ; then
44991 cat >>confdefs.h <<\_ACEOF
44992 #define wxUSE_GIF 1
44993 _ACEOF
44994
44995 fi
44996
44997 if test "$wxUSE_PCX" = "yes" ; then
44998 cat >>confdefs.h <<\_ACEOF
44999 #define wxUSE_PCX 1
45000 _ACEOF
45001
45002 fi
45003
45004 if test "$wxUSE_IFF" = "yes" ; then
45005 cat >>confdefs.h <<\_ACEOF
45006 #define wxUSE_IFF 1
45007 _ACEOF
45008
45009 fi
45010
45011 if test "$wxUSE_PNM" = "yes" ; then
45012 cat >>confdefs.h <<\_ACEOF
45013 #define wxUSE_PNM 1
45014 _ACEOF
45015
45016 fi
45017
45018 if test "$wxUSE_XPM" = "yes" ; then
45019 cat >>confdefs.h <<\_ACEOF
45020 #define wxUSE_XPM 1
45021 _ACEOF
45022
45023 fi
45024
45025 if test "$wxUSE_ICO_CUR" = "yes" ; then
45026 cat >>confdefs.h <<\_ACEOF
45027 #define wxUSE_ICO_CUR 1
45028 _ACEOF
45029
45030 fi
45031 fi
45032
45033
45034 if test "$wxUSE_CHOICEDLG" = "yes"; then
45035 cat >>confdefs.h <<\_ACEOF
45036 #define wxUSE_CHOICEDLG 1
45037 _ACEOF
45038
45039 fi
45040
45041 if test "$wxUSE_COLOURDLG" = "yes"; then
45042 cat >>confdefs.h <<\_ACEOF
45043 #define wxUSE_COLOURDLG 1
45044 _ACEOF
45045
45046 fi
45047
45048 if test "$wxUSE_FILEDLG" = "yes"; then
45049 cat >>confdefs.h <<\_ACEOF
45050 #define wxUSE_FILEDLG 1
45051 _ACEOF
45052
45053 fi
45054
45055 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45056 cat >>confdefs.h <<\_ACEOF
45057 #define wxUSE_FINDREPLDLG 1
45058 _ACEOF
45059
45060 fi
45061
45062 if test "$wxUSE_FONTDLG" = "yes"; then
45063 cat >>confdefs.h <<\_ACEOF
45064 #define wxUSE_FONTDLG 1
45065 _ACEOF
45066
45067 fi
45068
45069 if test "$wxUSE_DIRDLG" = "yes"; then
45070 if test "$wxUSE_TREECTRL" != "yes"; then
45071 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45072 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45073 else
45074 cat >>confdefs.h <<\_ACEOF
45075 #define wxUSE_DIRDLG 1
45076 _ACEOF
45077
45078 fi
45079 fi
45080
45081 if test "$wxUSE_MSGDLG" = "yes"; then
45082 cat >>confdefs.h <<\_ACEOF
45083 #define wxUSE_MSGDLG 1
45084 _ACEOF
45085
45086 fi
45087
45088 if test "$wxUSE_NUMBERDLG" = "yes"; then
45089 cat >>confdefs.h <<\_ACEOF
45090 #define wxUSE_NUMBERDLG 1
45091 _ACEOF
45092
45093 fi
45094
45095 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45096 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45097 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45098 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45099 else
45100 cat >>confdefs.h <<\_ACEOF
45101 #define wxUSE_PROGRESSDLG 1
45102 _ACEOF
45103
45104 fi
45105 fi
45106
45107 if test "$wxUSE_SPLASH" = "yes"; then
45108 cat >>confdefs.h <<\_ACEOF
45109 #define wxUSE_SPLASH 1
45110 _ACEOF
45111
45112 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45113 fi
45114
45115 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45116 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45117 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45118 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45119 else
45120 cat >>confdefs.h <<\_ACEOF
45121 #define wxUSE_STARTUP_TIPS 1
45122 _ACEOF
45123
45124 fi
45125 fi
45126
45127 if test "$wxUSE_TEXTDLG" = "yes"; then
45128 cat >>confdefs.h <<\_ACEOF
45129 #define wxUSE_TEXTDLG 1
45130 _ACEOF
45131
45132 fi
45133
45134 if test "$wxUSE_WIZARDDLG" = "yes"; then
45135 cat >>confdefs.h <<\_ACEOF
45136 #define wxUSE_WIZARDDLG 1
45137 _ACEOF
45138
45139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45140 fi
45141
45142
45143 USE_MEDIA=0
45144
45145 if test "$wxUSE_MEDIACTRL" = "yes"; then
45146 USE_MEDIA=1
45147
45148 if test "$wxUSE_GTK" = 1; then
45149 wxUSE_GSTREAMER="no"
45150
45151 GST_VERSION_MAJOR=0
45152 GST_VERSION_MINOR=10
45153 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45154
45155 if test "$wxUSE_GSTREAMER8" = "no"; then
45156
45157 succeeded=no
45158
45159 if test -z "$PKG_CONFIG"; then
45160 # Extract the first word of "pkg-config", so it can be a program name with args.
45161 set dummy pkg-config; ac_word=$2
45162 echo "$as_me:$LINENO: checking for $ac_word" >&5
45163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45164 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45165 echo $ECHO_N "(cached) $ECHO_C" >&6
45166 else
45167 case $PKG_CONFIG in
45168 [\\/]* | ?:[\\/]*)
45169 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45170 ;;
45171 *)
45172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45173 for as_dir in $PATH
45174 do
45175 IFS=$as_save_IFS
45176 test -z "$as_dir" && as_dir=.
45177 for ac_exec_ext in '' $ac_executable_extensions; do
45178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45179 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45181 break 2
45182 fi
45183 done
45184 done
45185
45186 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
45187 ;;
45188 esac
45189 fi
45190 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45191
45192 if test -n "$PKG_CONFIG"; then
45193 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45194 echo "${ECHO_T}$PKG_CONFIG" >&6
45195 else
45196 echo "$as_me:$LINENO: result: no" >&5
45197 echo "${ECHO_T}no" >&6
45198 fi
45199
45200 fi
45201
45202 if test "$PKG_CONFIG" = "no" ; then
45203 echo "*** The pkg-config script could not be found. Make sure it is"
45204 echo "*** in your path, or set the PKG_CONFIG environment variable"
45205 echo "*** to the full path to pkg-config."
45206 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
45207 else
45208 PKG_CONFIG_MIN_VERSION=0.9.0
45209 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
45210 echo "$as_me:$LINENO: checking for gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" >&5
45211 echo $ECHO_N "checking for gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0... $ECHO_C" >&6
45212
45213 if $PKG_CONFIG --exists "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" ; then
45214 echo "$as_me:$LINENO: result: yes" >&5
45215 echo "${ECHO_T}yes" >&6
45216 succeeded=yes
45217
45218 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
45219 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
45220 GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45221 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
45222 echo "${ECHO_T}$GST_CFLAGS" >&6
45223
45224 echo "$as_me:$LINENO: checking GST_LIBS" >&5
45225 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
45226 GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45227 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
45228 echo "${ECHO_T}$GST_LIBS" >&6
45229 else
45230 GST_CFLAGS=""
45231 GST_LIBS=""
45232 ## If we have a custom action on failure, don't print errors, but
45233 ## do set a variable so people can do so.
45234 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45235
45236 fi
45237
45238
45239
45240 else
45241 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
45242 echo "*** See http://www.freedesktop.org/software/pkgconfig"
45243 fi
45244 fi
45245
45246 if test $succeeded = yes; then
45247
45248 wxUSE_GSTREAMER="yes"
45249 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45250
45251 else
45252
45253 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45254 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45255 GST_VERSION_MINOR=8
45256
45257
45258 fi
45259
45260 else
45261 GST_VERSION_MINOR=8
45262 fi
45263
45264 if test $GST_VERSION_MINOR = "8"; then
45265 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45266
45267 succeeded=no
45268
45269 if test -z "$PKG_CONFIG"; then
45270 # Extract the first word of "pkg-config", so it can be a program name with args.
45271 set dummy pkg-config; ac_word=$2
45272 echo "$as_me:$LINENO: checking for $ac_word" >&5
45273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45274 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45275 echo $ECHO_N "(cached) $ECHO_C" >&6
45276 else
45277 case $PKG_CONFIG in
45278 [\\/]* | ?:[\\/]*)
45279 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45280 ;;
45281 *)
45282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45283 for as_dir in $PATH
45284 do
45285 IFS=$as_save_IFS
45286 test -z "$as_dir" && as_dir=.
45287 for ac_exec_ext in '' $ac_executable_extensions; do
45288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45289 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45291 break 2
45292 fi
45293 done
45294 done
45295
45296 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
45297 ;;
45298 esac
45299 fi
45300 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45301
45302 if test -n "$PKG_CONFIG"; then
45303 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45304 echo "${ECHO_T}$PKG_CONFIG" >&6
45305 else
45306 echo "$as_me:$LINENO: result: no" >&5
45307 echo "${ECHO_T}no" >&6
45308 fi
45309
45310 fi
45311
45312 if test "$PKG_CONFIG" = "no" ; then
45313 echo "*** The pkg-config script could not be found. Make sure it is"
45314 echo "*** in your path, or set the PKG_CONFIG environment variable"
45315 echo "*** to the full path to pkg-config."
45316 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
45317 else
45318 PKG_CONFIG_MIN_VERSION=0.9.0
45319 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
45320 echo "$as_me:$LINENO: checking for gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" >&5
45321 echo $ECHO_N "checking for gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION... $ECHO_C" >&6
45322
45323 if $PKG_CONFIG --exists "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" ; then
45324 echo "$as_me:$LINENO: result: yes" >&5
45325 echo "${ECHO_T}yes" >&6
45326 succeeded=yes
45327
45328 echo "$as_me:$LINENO: checking GST_CFLAGS" >&5
45329 echo $ECHO_N "checking GST_CFLAGS... $ECHO_C" >&6
45330 GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45331 echo "$as_me:$LINENO: result: $GST_CFLAGS" >&5
45332 echo "${ECHO_T}$GST_CFLAGS" >&6
45333
45334 echo "$as_me:$LINENO: checking GST_LIBS" >&5
45335 echo $ECHO_N "checking GST_LIBS... $ECHO_C" >&6
45336 GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45337 echo "$as_me:$LINENO: result: $GST_LIBS" >&5
45338 echo "${ECHO_T}$GST_LIBS" >&6
45339 else
45340 GST_CFLAGS=""
45341 GST_LIBS=""
45342 ## If we have a custom action on failure, don't print errors, but
45343 ## do set a variable so people can do so.
45344 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45345
45346 fi
45347
45348
45349
45350 else
45351 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
45352 echo "*** See http://www.freedesktop.org/software/pkgconfig"
45353 fi
45354 fi
45355
45356 if test $succeeded = yes; then
45357 wxUSE_GSTREAMER="yes"
45358 else
45359
45360 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45361 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45362
45363 fi
45364
45365 fi
45366
45367
45368 if test "$wxUSE_GSTREAMER" = "yes"; then
45369 case "${host}" in
45370 *-*-solaris2* )
45371 if "$GCC" = yes; then
45372 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45373 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45374 fi
45375 esac
45376
45377 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45378 LIBS="$GST_LIBS $LIBS"
45379
45380 cat >>confdefs.h <<\_ACEOF
45381 #define wxUSE_GSTREAMER 1
45382 _ACEOF
45383
45384 else
45385 USE_MEDIA=0
45386 fi
45387 fi
45388
45389 if test $USE_MEDIA = 1; then
45390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45391 cat >>confdefs.h <<\_ACEOF
45392 #define wxUSE_MEDIACTRL 1
45393 _ACEOF
45394
45395 fi
45396 fi
45397
45398
45399 if test "$cross_compiling" = "yes"; then
45400 OSINFO="\"$host\""
45401 else
45402 OSINFO=`uname -s -r -m`
45403 OSINFO="\"$OSINFO\""
45404 fi
45405
45406 cat >>confdefs.h <<_ACEOF
45407 #define WXWIN_OS_DESCRIPTION $OSINFO
45408 _ACEOF
45409
45410
45411
45412 if test "x$prefix" != "xNONE"; then
45413 wxPREFIX=$prefix
45414 else
45415 wxPREFIX=$ac_default_prefix
45416 fi
45417
45418 cat >>confdefs.h <<_ACEOF
45419 #define wxINSTALL_PREFIX "$wxPREFIX"
45420 _ACEOF
45421
45422
45423
45424
45425 CORE_BASE_LIBS="net base"
45426 CORE_GUI_LIBS="adv core"
45427
45428 if test "$wxUSE_XML" = "yes" ; then
45429 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45430 fi
45431 if test "$wxUSE_ODBC" != "no" ; then
45432 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45433 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45434 fi
45435 if test "$wxUSE_HTML" = "yes" ; then
45436 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45437 fi
45438 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45439 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45440 fi
45441 if test "$wxUSE_XRC" = "yes" ; then
45442 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45443 fi
45444 if test "$wxUSE_AUI" = "yes" ; then
45445 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45446 fi
45447
45448 if test "$wxUSE_GUI" != "yes"; then
45449 CORE_GUI_LIBS=""
45450 fi
45451
45452
45453
45454
45455
45456 ac_ext=c
45457 ac_cpp='$CPP $CPPFLAGS'
45458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45461
45462
45463
45464 if test "$wxUSE_MAC" = 1 ; then
45465 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45466 if test "$USE_DARWIN" = 1; then
45467 LDFLAGS="$LDFLAGS -framework QuickTime"
45468 else
45469 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45470 fi
45471 fi
45472 if test "$USE_DARWIN" = 1; then
45473 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45474 else
45475 LDFLAGS="$LDFLAGS -lCarbonLib"
45476 fi
45477 fi
45478 if test "$wxUSE_COCOA" = 1 ; then
45479 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45480 if test "$wxUSE_MEDIACTRL" = "yes"; then
45481 LDFLAGS="$LDFLAGS -framework QuickTime"
45482 fi
45483 fi
45484 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45485 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45486 fi
45487
45488 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45489
45490 if test "$wxUSE_GUI" = "yes"; then
45491
45492
45493 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45494 dynamic erase event exec font image minimal mobile \
45495 mobile/wxedit mobile/styles propsize render \
45496 rotate shaped vscroll widgets"
45497
45498 if test "$wxUSE_MONOLITHIC" != "yes"; then
45499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45500 fi
45501 if test "$TOOLKIT" = "MSW"; then
45502 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45503 if test "$wxUSE_UNIVERSAL" != "yes"; then
45504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45505 fi
45506 fi
45507 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45508 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45509 fi
45510 else
45511 SAMPLES_SUBDIRS="console"
45512 fi
45513
45514
45515 if test "x$INTELCC" = "xyes" ; then
45516 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45517 elif test "$GCC" = yes ; then
45518 CWARNINGS="-Wall -Wundef"
45519 fi
45520
45521 if test "x$INTELCXX" = "xyes" ; then
45522 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45523 elif test "$GXX" = yes ; then
45524 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45525 fi
45526
45527
45528 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45529 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45530
45531
45532 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45533 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
45534 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45535 $CPPFLAGS `
45536
45537 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45538 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45539 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45540
45541 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45542
45543
45544 if test "x$MWCC" = "xyes"; then
45545
45546 CC="$CC -cwd source -I-"
45547 CXX="$CXX -cwd source -I-"
45548 fi
45549
45550
45551 LIBS=`echo $LIBS`
45552 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45553 EXTRALIBS_XML="$EXPAT_LINK"
45554 EXTRALIBS_HTML="$MSPACK_LINK"
45555 EXTRALIBS_ODBC="$ODBC_LINK"
45556 if test "$wxUSE_GUI" = "yes"; then
45557 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45558 fi
45559 if test "$wxUSE_OPENGL" = "yes"; then
45560 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45561 fi
45562
45563 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45564
45565 WXCONFIG_LIBS="$LIBS"
45566
45567 if test "$wxUSE_REGEX" = "builtin" ; then
45568 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45569 fi
45570 if test "$wxUSE_EXPAT" = "builtin" ; then
45571 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45572 fi
45573 if test "$wxUSE_ODBC" = "builtin" ; then
45574 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45575 fi
45576 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45577 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45578 fi
45579 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45580 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45581 fi
45582 if test "$wxUSE_LIBPNG" = "builtin" ; then
45583 wxconfig_3rdparty="png $wxconfig_3rdparty"
45584 fi
45585 if test "$wxUSE_ZLIB" = "builtin" ; then
45586 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45587 fi
45588
45589 for i in $wxconfig_3rdparty ; do
45590 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45591 done
45592
45593
45594 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45595 WXUNIV=1
45596 else
45597 WXUNIV=0
45598 fi
45599
45600
45601
45602
45603
45604
45605
45606
45607
45608 if test $wxUSE_MONOLITHIC = "yes" ; then
45609 MONOLITHIC=1
45610 else
45611 MONOLITHIC=0
45612 fi
45613
45614 if test $wxUSE_PLUGINS = "yes" ; then
45615 USE_PLUGINS=1
45616 else
45617 USE_PLUGINS=0
45618 fi
45619
45620 if test $wxUSE_ODBC != "no" ; then
45621 USE_ODBC=1
45622 else
45623 USE_ODBC=0
45624 fi
45625
45626 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45627 USE_QA=1
45628 else
45629 USE_QA=0
45630 fi
45631
45632 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45633 OFFICIAL_BUILD=1
45634 else
45635 OFFICIAL_BUILD=0
45636 fi
45637
45638
45639
45640
45641
45642
45643
45644
45645
45646
45647
45648
45649
45650
45651
45652
45653
45654
45655
45656
45657
45658
45659
45660
45661
45662 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45663
45664
45665
45666
45667
45668
45669
45670
45671 case "$TOOLKIT" in
45672 GTK)
45673 TOOLKIT_USER="GTK+"
45674 if test "$WXGTK20" = 1; then
45675 TOOLKIT_USER="$TOOLKIT_USER 2"
45676 fi
45677 ;;
45678
45679 *)
45680 TOOLKIT_USER=$TOOLKIT_LOWERCASE
45681 ;;
45682 esac
45683
45684 if test "$wxUSE_WINE" = "yes"; then
45685 BAKEFILE_FORCE_PLATFORM=win32
45686 fi
45687
45688 if test "$wxUSE_MAC" = 1 ; then
45689 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
45690 CXXFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CXXFLAGS"
45691 CFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $CFLAGS"
45692 LDFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -arch i386 $LDFLAGS"
45693 bk_use_pch=no
45694 fi
45695 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45696 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45697 # TODO: how can we avoid a hardwired reference to the SDK, above? (Someone used -lSystemStubs to avoid it)
45698 fi
45699
45700
45701
45702
45703 if test "x$BAKEFILE_HOST" = "x"; then
45704 if test "x${host}" = "x" ; then
45705 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45706 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45707 { (exit 1); exit 1; }; }
45708 fi
45709
45710 BAKEFILE_HOST="${host}"
45711 fi
45712
45713 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45714
45715 if test -n "$ac_tool_prefix"; then
45716 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45717 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45718 echo "$as_me:$LINENO: checking for $ac_word" >&5
45719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45720 if test "${ac_cv_prog_RANLIB+set}" = set; then
45721 echo $ECHO_N "(cached) $ECHO_C" >&6
45722 else
45723 if test -n "$RANLIB"; then
45724 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45725 else
45726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45727 for as_dir in $PATH
45728 do
45729 IFS=$as_save_IFS
45730 test -z "$as_dir" && as_dir=.
45731 for ac_exec_ext in '' $ac_executable_extensions; do
45732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45733 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45735 break 2
45736 fi
45737 done
45738 done
45739
45740 fi
45741 fi
45742 RANLIB=$ac_cv_prog_RANLIB
45743 if test -n "$RANLIB"; then
45744 echo "$as_me:$LINENO: result: $RANLIB" >&5
45745 echo "${ECHO_T}$RANLIB" >&6
45746 else
45747 echo "$as_me:$LINENO: result: no" >&5
45748 echo "${ECHO_T}no" >&6
45749 fi
45750
45751 fi
45752 if test -z "$ac_cv_prog_RANLIB"; then
45753 ac_ct_RANLIB=$RANLIB
45754 # Extract the first word of "ranlib", so it can be a program name with args.
45755 set dummy ranlib; ac_word=$2
45756 echo "$as_me:$LINENO: checking for $ac_word" >&5
45757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45758 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45759 echo $ECHO_N "(cached) $ECHO_C" >&6
45760 else
45761 if test -n "$ac_ct_RANLIB"; then
45762 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45763 else
45764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45765 for as_dir in $PATH
45766 do
45767 IFS=$as_save_IFS
45768 test -z "$as_dir" && as_dir=.
45769 for ac_exec_ext in '' $ac_executable_extensions; do
45770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45771 ac_cv_prog_ac_ct_RANLIB="ranlib"
45772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45773 break 2
45774 fi
45775 done
45776 done
45777
45778 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
45779 fi
45780 fi
45781 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45782 if test -n "$ac_ct_RANLIB"; then
45783 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45784 echo "${ECHO_T}$ac_ct_RANLIB" >&6
45785 else
45786 echo "$as_me:$LINENO: result: no" >&5
45787 echo "${ECHO_T}no" >&6
45788 fi
45789
45790 RANLIB=$ac_ct_RANLIB
45791 else
45792 RANLIB="$ac_cv_prog_RANLIB"
45793 fi
45794
45795 # Find a good install program. We prefer a C program (faster),
45796 # so one script is as good as another. But avoid the broken or
45797 # incompatible versions:
45798 # SysV /etc/install, /usr/sbin/install
45799 # SunOS /usr/etc/install
45800 # IRIX /sbin/install
45801 # AIX /bin/install
45802 # AmigaOS /C/install, which installs bootblocks on floppy discs
45803 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45804 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45805 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45806 # OS/2's system install, which has a completely different semantic
45807 # ./install, which can be erroneously created by make from ./install.sh.
45808 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45809 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
45810 if test -z "$INSTALL"; then
45811 if test "${ac_cv_path_install+set}" = set; then
45812 echo $ECHO_N "(cached) $ECHO_C" >&6
45813 else
45814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45815 for as_dir in $PATH
45816 do
45817 IFS=$as_save_IFS
45818 test -z "$as_dir" && as_dir=.
45819 # Account for people who put trailing slashes in PATH elements.
45820 case $as_dir/ in
45821 ./ | .// | /cC/* | \
45822 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45823 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45824 /usr/ucb/* ) ;;
45825 *)
45826 # OSF1 and SCO ODT 3.0 have their own names for install.
45827 # Don't use installbsd from OSF since it installs stuff as root
45828 # by default.
45829 for ac_prog in ginstall scoinst install; do
45830 for ac_exec_ext in '' $ac_executable_extensions; do
45831 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
45832 if test $ac_prog = install &&
45833 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45834 # AIX install. It has an incompatible calling convention.
45835 :
45836 elif test $ac_prog = install &&
45837 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45838 # program-specific install script used by HP pwplus--don't use.
45839 :
45840 else
45841 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45842 break 3
45843 fi
45844 fi
45845 done
45846 done
45847 ;;
45848 esac
45849 done
45850
45851
45852 fi
45853 if test "${ac_cv_path_install+set}" = set; then
45854 INSTALL=$ac_cv_path_install
45855 else
45856 # As a last resort, use the slow shell script. We don't cache a
45857 # path for INSTALL within a source directory, because that will
45858 # break other packages using the cache if that directory is
45859 # removed, or if the path is relative.
45860 INSTALL=$ac_install_sh
45861 fi
45862 fi
45863 echo "$as_me:$LINENO: result: $INSTALL" >&5
45864 echo "${ECHO_T}$INSTALL" >&6
45865
45866 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45867 # It thinks the first close brace ends the variable substitution.
45868 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45869
45870 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45871
45872 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45873
45874 echo "$as_me:$LINENO: checking whether ln -s works" >&5
45875 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
45876 LN_S=$as_ln_s
45877 if test "$LN_S" = "ln -s"; then
45878 echo "$as_me:$LINENO: result: yes" >&5
45879 echo "${ECHO_T}yes" >&6
45880 else
45881 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45882 echo "${ECHO_T}no, using $LN_S" >&6
45883 fi
45884
45885
45886 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45887 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
45888 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
45889 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
45890 echo $ECHO_N "(cached) $ECHO_C" >&6
45891 else
45892 cat >conftest.make <<\_ACEOF
45893 all:
45894 @echo 'ac_maketemp="$(MAKE)"'
45895 _ACEOF
45896 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45897 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
45898 if test -n "$ac_maketemp"; then
45899 eval ac_cv_prog_make_${ac_make}_set=yes
45900 else
45901 eval ac_cv_prog_make_${ac_make}_set=no
45902 fi
45903 rm -f conftest.make
45904 fi
45905 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
45906 echo "$as_me:$LINENO: result: yes" >&5
45907 echo "${ECHO_T}yes" >&6
45908 SET_MAKE=
45909 else
45910 echo "$as_me:$LINENO: result: no" >&5
45911 echo "${ECHO_T}no" >&6
45912 SET_MAKE="MAKE=${MAKE-make}"
45913 fi
45914
45915
45916
45917 if test -n "$ac_tool_prefix"; then
45918 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45919 set dummy ${ac_tool_prefix}ar; ac_word=$2
45920 echo "$as_me:$LINENO: checking for $ac_word" >&5
45921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45922 if test "${ac_cv_prog_AR+set}" = set; then
45923 echo $ECHO_N "(cached) $ECHO_C" >&6
45924 else
45925 if test -n "$AR"; then
45926 ac_cv_prog_AR="$AR" # Let the user override the test.
45927 else
45928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45929 for as_dir in $PATH
45930 do
45931 IFS=$as_save_IFS
45932 test -z "$as_dir" && as_dir=.
45933 for ac_exec_ext in '' $ac_executable_extensions; do
45934 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45935 ac_cv_prog_AR="${ac_tool_prefix}ar"
45936 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45937 break 2
45938 fi
45939 done
45940 done
45941
45942 fi
45943 fi
45944 AR=$ac_cv_prog_AR
45945 if test -n "$AR"; then
45946 echo "$as_me:$LINENO: result: $AR" >&5
45947 echo "${ECHO_T}$AR" >&6
45948 else
45949 echo "$as_me:$LINENO: result: no" >&5
45950 echo "${ECHO_T}no" >&6
45951 fi
45952
45953 fi
45954 if test -z "$ac_cv_prog_AR"; then
45955 ac_ct_AR=$AR
45956 # Extract the first word of "ar", so it can be a program name with args.
45957 set dummy ar; ac_word=$2
45958 echo "$as_me:$LINENO: checking for $ac_word" >&5
45959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45960 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45961 echo $ECHO_N "(cached) $ECHO_C" >&6
45962 else
45963 if test -n "$ac_ct_AR"; then
45964 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45965 else
45966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45967 for as_dir in $PATH
45968 do
45969 IFS=$as_save_IFS
45970 test -z "$as_dir" && as_dir=.
45971 for ac_exec_ext in '' $ac_executable_extensions; do
45972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45973 ac_cv_prog_ac_ct_AR="ar"
45974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45975 break 2
45976 fi
45977 done
45978 done
45979
45980 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
45981 fi
45982 fi
45983 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45984 if test -n "$ac_ct_AR"; then
45985 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45986 echo "${ECHO_T}$ac_ct_AR" >&6
45987 else
45988 echo "$as_me:$LINENO: result: no" >&5
45989 echo "${ECHO_T}no" >&6
45990 fi
45991
45992 AR=$ac_ct_AR
45993 else
45994 AR="$ac_cv_prog_AR"
45995 fi
45996
45997 if test -n "$ac_tool_prefix"; then
45998 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45999 set dummy ${ac_tool_prefix}strip; ac_word=$2
46000 echo "$as_me:$LINENO: checking for $ac_word" >&5
46001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46002 if test "${ac_cv_prog_STRIP+set}" = set; then
46003 echo $ECHO_N "(cached) $ECHO_C" >&6
46004 else
46005 if test -n "$STRIP"; then
46006 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46007 else
46008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46009 for as_dir in $PATH
46010 do
46011 IFS=$as_save_IFS
46012 test -z "$as_dir" && as_dir=.
46013 for ac_exec_ext in '' $ac_executable_extensions; do
46014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46015 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46017 break 2
46018 fi
46019 done
46020 done
46021
46022 fi
46023 fi
46024 STRIP=$ac_cv_prog_STRIP
46025 if test -n "$STRIP"; then
46026 echo "$as_me:$LINENO: result: $STRIP" >&5
46027 echo "${ECHO_T}$STRIP" >&6
46028 else
46029 echo "$as_me:$LINENO: result: no" >&5
46030 echo "${ECHO_T}no" >&6
46031 fi
46032
46033 fi
46034 if test -z "$ac_cv_prog_STRIP"; then
46035 ac_ct_STRIP=$STRIP
46036 # Extract the first word of "strip", so it can be a program name with args.
46037 set dummy strip; ac_word=$2
46038 echo "$as_me:$LINENO: checking for $ac_word" >&5
46039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46040 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46041 echo $ECHO_N "(cached) $ECHO_C" >&6
46042 else
46043 if test -n "$ac_ct_STRIP"; then
46044 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46045 else
46046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46047 for as_dir in $PATH
46048 do
46049 IFS=$as_save_IFS
46050 test -z "$as_dir" && as_dir=.
46051 for ac_exec_ext in '' $ac_executable_extensions; do
46052 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46053 ac_cv_prog_ac_ct_STRIP="strip"
46054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46055 break 2
46056 fi
46057 done
46058 done
46059
46060 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
46061 fi
46062 fi
46063 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46064 if test -n "$ac_ct_STRIP"; then
46065 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46066 echo "${ECHO_T}$ac_ct_STRIP" >&6
46067 else
46068 echo "$as_me:$LINENO: result: no" >&5
46069 echo "${ECHO_T}no" >&6
46070 fi
46071
46072 STRIP=$ac_ct_STRIP
46073 else
46074 STRIP="$ac_cv_prog_STRIP"
46075 fi
46076
46077 if test -n "$ac_tool_prefix"; then
46078 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46079 set dummy ${ac_tool_prefix}nm; ac_word=$2
46080 echo "$as_me:$LINENO: checking for $ac_word" >&5
46081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46082 if test "${ac_cv_prog_NM+set}" = set; then
46083 echo $ECHO_N "(cached) $ECHO_C" >&6
46084 else
46085 if test -n "$NM"; then
46086 ac_cv_prog_NM="$NM" # Let the user override the test.
46087 else
46088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46089 for as_dir in $PATH
46090 do
46091 IFS=$as_save_IFS
46092 test -z "$as_dir" && as_dir=.
46093 for ac_exec_ext in '' $ac_executable_extensions; do
46094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46095 ac_cv_prog_NM="${ac_tool_prefix}nm"
46096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46097 break 2
46098 fi
46099 done
46100 done
46101
46102 fi
46103 fi
46104 NM=$ac_cv_prog_NM
46105 if test -n "$NM"; then
46106 echo "$as_me:$LINENO: result: $NM" >&5
46107 echo "${ECHO_T}$NM" >&6
46108 else
46109 echo "$as_me:$LINENO: result: no" >&5
46110 echo "${ECHO_T}no" >&6
46111 fi
46112
46113 fi
46114 if test -z "$ac_cv_prog_NM"; then
46115 ac_ct_NM=$NM
46116 # Extract the first word of "nm", so it can be a program name with args.
46117 set dummy nm; ac_word=$2
46118 echo "$as_me:$LINENO: checking for $ac_word" >&5
46119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46120 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46121 echo $ECHO_N "(cached) $ECHO_C" >&6
46122 else
46123 if test -n "$ac_ct_NM"; then
46124 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46125 else
46126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46127 for as_dir in $PATH
46128 do
46129 IFS=$as_save_IFS
46130 test -z "$as_dir" && as_dir=.
46131 for ac_exec_ext in '' $ac_executable_extensions; do
46132 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46133 ac_cv_prog_ac_ct_NM="nm"
46134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46135 break 2
46136 fi
46137 done
46138 done
46139
46140 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
46141 fi
46142 fi
46143 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46144 if test -n "$ac_ct_NM"; then
46145 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46146 echo "${ECHO_T}$ac_ct_NM" >&6
46147 else
46148 echo "$as_me:$LINENO: result: no" >&5
46149 echo "${ECHO_T}no" >&6
46150 fi
46151
46152 NM=$ac_ct_NM
46153 else
46154 NM="$ac_cv_prog_NM"
46155 fi
46156
46157
46158 case ${BAKEFILE_HOST} in
46159 *-hp-hpux* )
46160 INSTALL_DIR="mkdir -p"
46161 ;;
46162 *) INSTALL_DIR="$INSTALL -d"
46163 ;;
46164 esac
46165
46166
46167 LDFLAGS_GUI=
46168 case ${BAKEFILE_HOST} in
46169 *-*-cygwin* | *-*-mingw32* )
46170 LDFLAGS_GUI="-mwindows"
46171 esac
46172
46173
46174 fi
46175
46176 echo "$as_me:$LINENO: checking if make is GNU make" >&5
46177 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
46178 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46179 echo $ECHO_N "(cached) $ECHO_C" >&6
46180 else
46181
46182 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46183 egrep -s GNU > /dev/null); then
46184 bakefile_cv_prog_makeisgnu="yes"
46185 else
46186 bakefile_cv_prog_makeisgnu="no"
46187 fi
46188
46189 fi
46190 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46191 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
46192
46193 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46194 IF_GNU_MAKE=""
46195 else
46196 IF_GNU_MAKE="#"
46197 fi
46198
46199
46200
46201 PLATFORM_UNIX=0
46202 PLATFORM_WIN32=0
46203 PLATFORM_MSDOS=0
46204 PLATFORM_MAC=0
46205 PLATFORM_MACOS=0
46206 PLATFORM_MACOSX=0
46207 PLATFORM_OS2=0
46208 PLATFORM_BEOS=0
46209
46210 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46211 case "${BAKEFILE_HOST}" in
46212 *-*-mingw32* )
46213 PLATFORM_WIN32=1
46214 ;;
46215 *-pc-msdosdjgpp )
46216 PLATFORM_MSDOS=1
46217 ;;
46218 *-pc-os2_emx | *-pc-os2-emx )
46219 PLATFORM_OS2=1
46220 ;;
46221 *-*-darwin* )
46222 PLATFORM_MAC=1
46223 PLATFORM_MACOSX=1
46224 ;;
46225 *-*-beos* )
46226 PLATFORM_BEOS=1
46227 ;;
46228 powerpc-apple-macos* )
46229 PLATFORM_MAC=1
46230 PLATFORM_MACOS=1
46231 ;;
46232 * )
46233 PLATFORM_UNIX=1
46234 ;;
46235 esac
46236 else
46237 case "$BAKEFILE_FORCE_PLATFORM" in
46238 win32 )
46239 PLATFORM_WIN32=1
46240 ;;
46241 msdos )
46242 PLATFORM_MSDOS=1
46243 ;;
46244 os2 )
46245 PLATFORM_OS2=1
46246 ;;
46247 darwin )
46248 PLATFORM_MAC=1
46249 PLATFORM_MACOSX=1
46250 ;;
46251 unix )
46252 PLATFORM_UNIX=1
46253 ;;
46254 beos )
46255 PLATFORM_BEOS=1
46256 ;;
46257 * )
46258 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
46259 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
46260 { (exit 1); exit 1; }; }
46261 ;;
46262 esac
46263 fi
46264
46265
46266
46267
46268
46269
46270
46271
46272
46273
46274
46275 # Check whether --enable-omf or --disable-omf was given.
46276 if test "${enable_omf+set}" = set; then
46277 enableval="$enable_omf"
46278 bk_os2_use_omf="$enableval"
46279 fi;
46280
46281 case "${BAKEFILE_HOST}" in
46282 *-*-darwin* )
46283 if test "x$GCC" = "xyes"; then
46284 CFLAGS="$CFLAGS -fno-common"
46285 CXXFLAGS="$CXXFLAGS -fno-common"
46286 fi
46287 if test "x$XLCC" = "xyes"; then
46288 CFLAGS="$CFLAGS -qnocommon"
46289 CXXFLAGS="$CXXFLAGS -qnocommon"
46290 fi
46291 ;;
46292
46293 *-pc-os2_emx | *-pc-os2-emx )
46294 if test "x$bk_os2_use_omf" = "xyes" ; then
46295 AR=emxomfar
46296 RANLIB=:
46297 LDFLAGS="-Zomf $LDFLAGS"
46298 CFLAGS="-Zomf $CFLAGS"
46299 CXXFLAGS="-Zomf $CXXFLAGS"
46300 OS2_LIBEXT="lib"
46301 else
46302 OS2_LIBEXT="a"
46303 fi
46304 ;;
46305
46306 i*86-*-beos* )
46307 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46308 ;;
46309 esac
46310
46311
46312 SO_SUFFIX="so"
46313 SO_SUFFIX_MODULE="so"
46314 EXEEXT=""
46315 LIBPREFIX="lib"
46316 LIBEXT=".a"
46317 DLLPREFIX="lib"
46318 DLLPREFIX_MODULE=""
46319 DLLIMP_SUFFIX=""
46320 dlldir="$libdir"
46321
46322 case "${BAKEFILE_HOST}" in
46323 *-hp-hpux* )
46324 SO_SUFFIX="sl"
46325 SO_SUFFIX_MODULE="sl"
46326 ;;
46327 *-*-aix* )
46328 SO_SUFFIX="a"
46329 SO_SUFFIX_MODULE="a"
46330 ;;
46331 *-*-cygwin* )
46332 SO_SUFFIX="dll"
46333 SO_SUFFIX_MODULE="dll"
46334 DLLIMP_SUFFIX="dll.a"
46335 EXEEXT=".exe"
46336 DLLPREFIX="cyg"
46337 dlldir="$bindir"
46338 ;;
46339 *-*-mingw32* )
46340 SO_SUFFIX="dll"
46341 SO_SUFFIX_MODULE="dll"
46342 DLLIMP_SUFFIX="dll.a"
46343 EXEEXT=".exe"
46344 DLLPREFIX=""
46345 dlldir="$bindir"
46346 ;;
46347 *-pc-msdosdjgpp )
46348 EXEEXT=".exe"
46349 DLLPREFIX=""
46350 dlldir="$bindir"
46351 ;;
46352 *-pc-os2_emx | *-pc-os2-emx )
46353 SO_SUFFIX="dll"
46354 SO_SUFFIX_MODULE="dll"
46355 DLLIMP_SUFFIX=$OS2_LIBEXT
46356 EXEEXT=".exe"
46357 DLLPREFIX=""
46358 LIBPREFIX=""
46359 LIBEXT=".$OS2_LIBEXT"
46360 dlldir="$bindir"
46361 ;;
46362 *-*-darwin* )
46363 SO_SUFFIX="dylib"
46364 SO_SUFFIX_MODULE="bundle"
46365 ;;
46366 esac
46367
46368 if test "x$DLLIMP_SUFFIX" = "x" ; then
46369 DLLIMP_SUFFIX="$SO_SUFFIX"
46370 fi
46371
46372
46373
46374
46375
46376
46377
46378
46379
46380
46381
46382
46383 PIC_FLAG=""
46384 if test "x$GCC" = "xyes"; then
46385 PIC_FLAG="-fPIC"
46386 fi
46387
46388 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46389 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46390 WINDOWS_IMPLIB=0
46391
46392 case "${BAKEFILE_HOST}" in
46393 *-hp-hpux* )
46394 if test "x$GCC" != "xyes"; then
46395 LDFLAGS="$LDFLAGS -L/usr/lib"
46396
46397 SHARED_LD_CC="${CC} -b -o"
46398 SHARED_LD_CXX="${CXX} -b -o"
46399 PIC_FLAG="+Z"
46400 fi
46401 ;;
46402
46403 *-*-linux* )
46404 if test "x$GCC" != "xyes"; then
46405 echo "$as_me:$LINENO: checking for Intel compiler" >&5
46406 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
46407 if test "${bakefile_cv_prog_icc+set}" = set; then
46408 echo $ECHO_N "(cached) $ECHO_C" >&6
46409 else
46410
46411 cat >conftest.$ac_ext <<_ACEOF
46412 /* confdefs.h. */
46413 _ACEOF
46414 cat confdefs.h >>conftest.$ac_ext
46415 cat >>conftest.$ac_ext <<_ACEOF
46416 /* end confdefs.h. */
46417
46418 int
46419 main ()
46420 {
46421
46422 #ifndef __INTEL_COMPILER
46423 This is not ICC
46424 #endif
46425
46426 ;
46427 return 0;
46428 }
46429 _ACEOF
46430 rm -f conftest.$ac_objext
46431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46432 (eval $ac_compile) 2>conftest.er1
46433 ac_status=$?
46434 grep -v '^ *+' conftest.er1 >conftest.err
46435 rm -f conftest.er1
46436 cat conftest.err >&5
46437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46438 (exit $ac_status); } &&
46439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46441 (eval $ac_try) 2>&5
46442 ac_status=$?
46443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46444 (exit $ac_status); }; } &&
46445 { ac_try='test -s conftest.$ac_objext'
46446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46447 (eval $ac_try) 2>&5
46448 ac_status=$?
46449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46450 (exit $ac_status); }; }; then
46451 bakefile_cv_prog_icc=yes
46452 else
46453 echo "$as_me: failed program was:" >&5
46454 sed 's/^/| /' conftest.$ac_ext >&5
46455
46456 bakefile_cv_prog_icc=no
46457
46458 fi
46459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46460
46461 fi
46462 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46463 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
46464 if test "$bakefile_cv_prog_icc" = "yes"; then
46465 PIC_FLAG="-KPIC"
46466 fi
46467 fi
46468 ;;
46469
46470 *-*-solaris2* )
46471 if test "x$GCC" != xyes ; then
46472 SHARED_LD_CC="${CC} -G -o"
46473 SHARED_LD_CXX="${CXX} -G -o"
46474 PIC_FLAG="-KPIC"
46475 fi
46476 ;;
46477
46478 *-*-darwin* )
46479
46480 D='$'
46481 cat <<EOF >shared-ld-sh
46482 #!/bin/sh
46483 #-----------------------------------------------------------------------------
46484 #-- Name: distrib/mac/shared-ld-sh
46485 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46486 #-- Author: Gilles Depeyrot
46487 #-- Copyright: (c) 2002 Gilles Depeyrot
46488 #-- Licence: any use permitted
46489 #-----------------------------------------------------------------------------
46490
46491 verbose=0
46492 args=""
46493 objects=""
46494 linking_flag="-dynamiclib"
46495 ldargs="-r -keep_private_externs -nostdlib"
46496
46497 while test ${D}# -gt 0; do
46498 case ${D}1 in
46499
46500 -v)
46501 verbose=1
46502 ;;
46503
46504 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46505 # collect these options and values
46506 args="${D}{args} ${D}1 ${D}2"
46507 shift
46508 ;;
46509
46510 -s|-Wl,*)
46511 # collect these load args
46512 ldargs="${D}{ldargs} ${D}1"
46513 ;;
46514
46515 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46516 # collect these options
46517 args="${D}{args} ${D}1"
46518 ;;
46519
46520 -dynamiclib|-bundle)
46521 linking_flag="${D}1"
46522 ;;
46523
46524 -*)
46525 echo "shared-ld: unhandled option '${D}1'"
46526 exit 1
46527 ;;
46528
46529 *.o | *.a | *.dylib)
46530 # collect object files
46531 objects="${D}{objects} ${D}1"
46532 ;;
46533
46534 *)
46535 echo "shared-ld: unhandled argument '${D}1'"
46536 exit 1
46537 ;;
46538
46539 esac
46540 shift
46541 done
46542
46543 status=0
46544
46545 #
46546 # Link one module containing all the others
46547 #
46548 if test ${D}{verbose} = 1; then
46549 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46550 fi
46551 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46552 status=${D}?
46553
46554 #
46555 # Link the shared library from the single module created, but only if the
46556 # previous command didn't fail:
46557 #
46558 if test ${D}{status} = 0; then
46559 if test ${D}{verbose} = 1; then
46560 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46561 fi
46562 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46563 status=${D}?
46564 fi
46565
46566 #
46567 # Remove intermediate module
46568 #
46569 rm -f master.${D}${D}.o
46570
46571 exit ${D}status
46572 EOF
46573
46574 chmod +x shared-ld-sh
46575
46576 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46577 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46578
46579
46580 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46581 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
46582 if test "${bakefile_cv_gcc31+set}" = set; then
46583 echo $ECHO_N "(cached) $ECHO_C" >&6
46584 else
46585
46586 cat >conftest.$ac_ext <<_ACEOF
46587 /* confdefs.h. */
46588 _ACEOF
46589 cat confdefs.h >>conftest.$ac_ext
46590 cat >>conftest.$ac_ext <<_ACEOF
46591 /* end confdefs.h. */
46592
46593 int
46594 main ()
46595 {
46596
46597 #if (__GNUC__ < 3) || \
46598 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46599 This is old gcc
46600 #endif
46601
46602 ;
46603 return 0;
46604 }
46605 _ACEOF
46606 rm -f conftest.$ac_objext
46607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46608 (eval $ac_compile) 2>conftest.er1
46609 ac_status=$?
46610 grep -v '^ *+' conftest.er1 >conftest.err
46611 rm -f conftest.er1
46612 cat conftest.err >&5
46613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46614 (exit $ac_status); } &&
46615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46617 (eval $ac_try) 2>&5
46618 ac_status=$?
46619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46620 (exit $ac_status); }; } &&
46621 { ac_try='test -s conftest.$ac_objext'
46622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46623 (eval $ac_try) 2>&5
46624 ac_status=$?
46625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46626 (exit $ac_status); }; }; then
46627
46628 bakefile_cv_gcc31=yes
46629
46630 else
46631 echo "$as_me: failed program was:" >&5
46632 sed 's/^/| /' conftest.$ac_ext >&5
46633
46634
46635 bakefile_cv_gcc31=no
46636
46637
46638 fi
46639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46640
46641 fi
46642 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46643 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
46644 if test "$bakefile_cv_gcc31" = "no"; then
46645 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46646 SHARED_LD_CXX="$SHARED_LD_CC"
46647 else
46648 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46649 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46650 fi
46651
46652 if test "x$GCC" == "xyes"; then
46653 PIC_FLAG="-dynamic -fPIC"
46654 fi
46655 if test "x$XLCC" = "xyes"; then
46656 PIC_FLAG="-dynamic -DPIC"
46657 fi
46658 ;;
46659
46660 *-*-aix* )
46661 if test "x$GCC" = "xyes"; then
46662 PIC_FLAG=""
46663
46664 case "${BAKEFILE_HOST}" in
46665 *-*-aix5* )
46666 LD_EXPFULL="-Wl,-bexpfull"
46667 ;;
46668 esac
46669
46670 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46671 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46672 else
46673 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46674 set dummy makeC++SharedLib; ac_word=$2
46675 echo "$as_me:$LINENO: checking for $ac_word" >&5
46676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46677 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46678 echo $ECHO_N "(cached) $ECHO_C" >&6
46679 else
46680 if test -n "$AIX_CXX_LD"; then
46681 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46682 else
46683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46684 for as_dir in $PATH
46685 do
46686 IFS=$as_save_IFS
46687 test -z "$as_dir" && as_dir=.
46688 for ac_exec_ext in '' $ac_executable_extensions; do
46689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46690 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46692 break 2
46693 fi
46694 done
46695 done
46696
46697 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46698 fi
46699 fi
46700 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46701 if test -n "$AIX_CXX_LD"; then
46702 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46703 echo "${ECHO_T}$AIX_CXX_LD" >&6
46704 else
46705 echo "$as_me:$LINENO: result: no" >&5
46706 echo "${ECHO_T}no" >&6
46707 fi
46708
46709 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46710 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46711 fi
46712 ;;
46713
46714 *-*-beos* )
46715 SHARED_LD_CC="${LD} -nostart -o"
46716 SHARED_LD_CXX="${LD} -nostart -o"
46717 ;;
46718
46719 *-*-irix* )
46720 if test "x$GCC" != "xyes"; then
46721 PIC_FLAG="-KPIC"
46722 fi
46723 ;;
46724
46725 *-*-cygwin* | *-*-mingw32* )
46726 PIC_FLAG=""
46727 SHARED_LD_CC="\$(CC) -shared -o"
46728 SHARED_LD_CXX="\$(CXX) -shared -o"
46729 WINDOWS_IMPLIB=1
46730 ;;
46731
46732 *-pc-os2_emx | *-pc-os2-emx )
46733 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46734 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46735 PIC_FLAG=""
46736
46737 D='$'
46738 cat <<EOF >dllar.sh
46739 #!/bin/sh
46740 #
46741 # dllar - a tool to build both a .dll and an .a file
46742 # from a set of object (.o) files for EMX/OS2.
46743 #
46744 # Written by Andrew Zabolotny, bit@freya.etu.ru
46745 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46746 #
46747 # This script will accept a set of files on the command line.
46748 # All the public symbols from the .o files will be exported into
46749 # a .DEF file, then linker will be run (through gcc) against them to
46750 # build a shared library consisting of all given .o files. All libraries
46751 # (.a) will be first decompressed into component .o files then act as
46752 # described above. You can optionally give a description (-d "description")
46753 # which will be put into .DLL. To see the list of accepted options (as well
46754 # as command-line format) simply run this program without options. The .DLL
46755 # is built to be imported by name (there is no guarantee that new versions
46756 # of the library you build will have same ordinals for same symbols).
46757 #
46758 # dllar is free software; you can redistribute it and/or modify
46759 # it under the terms of the GNU General Public License as published by
46760 # the Free Software Foundation; either version 2, or (at your option)
46761 # any later version.
46762 #
46763 # dllar is distributed in the hope that it will be useful,
46764 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46765 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46766 # GNU General Public License for more details.
46767 #
46768 # You should have received a copy of the GNU General Public License
46769 # along with dllar; see the file COPYING. If not, write to the Free
46770 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46771 # 02111-1307, USA.
46772
46773 # To successfuly run this program you will need:
46774 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46775 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46776 # - gcc
46777 # (used to build the .dll)
46778 # - emxexp
46779 # (used to create .def file from .o files)
46780 # - emximp
46781 # (used to create .a file from .def file)
46782 # - GNU text utilites (cat, sort, uniq)
46783 # used to process emxexp output
46784 # - GNU file utilities (mv, rm)
46785 # - GNU sed
46786 # - lxlite (optional, see flag below)
46787 # (used for general .dll cleanup)
46788 #
46789
46790 flag_USE_LXLITE=1;
46791
46792 #
46793 # helper functions
46794 # basnam, variant of basename, which does _not_ remove the path, _iff_
46795 # second argument (suffix to remove) is given
46796 basnam(){
46797 case ${D}# in
46798 1)
46799 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46800 ;;
46801 2)
46802 echo ${D}1 | sed 's/'${D}2'${D}//'
46803 ;;
46804 *)
46805 echo "error in basnam ${D}*"
46806 exit 8
46807 ;;
46808 esac
46809 }
46810
46811 # Cleanup temporary files and output
46812 CleanUp() {
46813 cd ${D}curDir
46814 for i in ${D}inputFiles ; do
46815 case ${D}i in
46816 *!)
46817 rm -rf \`basnam ${D}i !\`
46818 ;;
46819 *)
46820 ;;
46821 esac
46822 done
46823
46824 # Kill result in case of failure as there is just to many stupid make/nmake
46825 # things out there which doesn't do this.
46826 if [ ${D}# -eq 0 ]; then
46827 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46828 fi
46829 }
46830
46831 # Print usage and exit script with rc=1.
46832 PrintHelp() {
46833 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46834 echo ' [-name-mangler-script script.sh]'
46835 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46836 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46837 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46838 echo ' [*.o] [*.a]'
46839 echo '*> "output_file" should have no extension.'
46840 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46841 echo ' The import library name is derived from this and is set to "name".a,'
46842 echo ' unless overridden by -import'
46843 echo '*> "importlib_name" should have no extension.'
46844 echo ' If it has the .o, or .a extension, it is automatically removed.'
46845 echo ' This name is used as the import library name and may be longer and'
46846 echo ' more descriptive than the DLL name which has to follow the old '
46847 echo ' 8.3 convention of FAT.'
46848 echo '*> "script.sh may be given to override the output_file name by a'
46849 echo ' different name. It is mainly useful if the regular make process'
46850 echo ' of some package does not take into account OS/2 restriction of'
46851 echo ' DLL name lengths. It takes the importlib name as input and is'
46852 echo ' supposed to procude a shorter name as output. The script should'
46853 echo ' expect to get importlib_name without extension and should produce'
46854 echo ' a (max.) 8 letter name without extension.'
46855 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46856 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46857 echo ' These flags will be put at the start of GCC command line.'
46858 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46859 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46860 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46861 echo ' If the last character of a symbol is "*", all symbols beginning'
46862 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46863 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46864 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46865 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46866 echo ' C runtime DLLs.'
46867 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46868 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46869 echo ' unchanged to GCC at the end of command line.'
46870 echo '*> If you create a DLL from a library and you do not specify -o,'
46871 echo ' the basename for DLL and import library will be set to library name,'
46872 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46873 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46874 echo ' library will be renamed into gcc_s.a.'
46875 echo '--------'
46876 echo 'Example:'
46877 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46878 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46879 CleanUp
46880 exit 1
46881 }
46882
46883 # Execute a command.
46884 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46885 # @Uses Whatever CleanUp() uses.
46886 doCommand() {
46887 echo "${D}*"
46888 eval ${D}*
46889 rcCmd=${D}?
46890
46891 if [ ${D}rcCmd -ne 0 ]; then
46892 echo "command failed, exit code="${D}rcCmd
46893 CleanUp
46894 exit ${D}rcCmd
46895 fi
46896 }
46897
46898 # main routine
46899 # setup globals
46900 cmdLine=${D}*
46901 outFile=""
46902 outimpFile=""
46903 inputFiles=""
46904 renameScript=""
46905 description=""
46906 CC=gcc.exe
46907 CFLAGS="-s -Zcrtdll"
46908 EXTRA_CFLAGS=""
46909 EXPORT_BY_ORDINALS=0
46910 exclude_symbols=""
46911 library_flags=""
46912 curDir=\`pwd\`
46913 curDirS=curDir
46914 case ${D}curDirS in
46915 */)
46916 ;;
46917 *)
46918 curDirS=${D}{curDirS}"/"
46919 ;;
46920 esac
46921 # Parse commandline
46922 libsToLink=0
46923 omfLinking=0
46924 while [ ${D}1 ]; do
46925 case ${D}1 in
46926 -ord*)
46927 EXPORT_BY_ORDINALS=1;
46928 ;;
46929 -o*)
46930 shift
46931 outFile=${D}1
46932 ;;
46933 -i*)
46934 shift
46935 outimpFile=${D}1
46936 ;;
46937 -name-mangler-script)
46938 shift
46939 renameScript=${D}1
46940 ;;
46941 -d*)
46942 shift
46943 description=${D}1
46944 ;;
46945 -f*)
46946 shift
46947 CFLAGS=${D}1
46948 ;;
46949 -c*)
46950 shift
46951 CC=${D}1
46952 ;;
46953 -h*)
46954 PrintHelp
46955 ;;
46956 -ex*)
46957 shift
46958 exclude_symbols=${D}{exclude_symbols}${D}1" "
46959 ;;
46960 -libf*)
46961 shift
46962 library_flags=${D}{library_flags}${D}1" "
46963 ;;
46964 -nocrt*)
46965 CFLAGS="-s"
46966 ;;
46967 -nolxl*)
46968 flag_USE_LXLITE=0
46969 ;;
46970 -* | /*)
46971 case ${D}1 in
46972 -L* | -l*)
46973 libsToLink=1
46974 ;;
46975 -Zomf)
46976 omfLinking=1
46977 ;;
46978 *)
46979 ;;
46980 esac
46981 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46982 ;;
46983 *.dll)
46984 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46985 if [ ${D}omfLinking -eq 1 ]; then
46986 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46987 else
46988 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46989 fi
46990 ;;
46991 *)
46992 found=0;
46993 if [ ${D}libsToLink -ne 0 ]; then
46994 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46995 else
46996 for file in ${D}1 ; do
46997 if [ -f ${D}file ]; then
46998 inputFiles="${D}{inputFiles} ${D}file"
46999 found=1
47000 fi
47001 done
47002 if [ ${D}found -eq 0 ]; then
47003 echo "ERROR: No file(s) found: "${D}1
47004 exit 8
47005 fi
47006 fi
47007 ;;
47008 esac
47009 shift
47010 done # iterate cmdline words
47011
47012 #
47013 if [ -z "${D}inputFiles" ]; then
47014 echo "dllar: no input files"
47015 PrintHelp
47016 fi
47017
47018 # Now extract all .o files from .a files
47019 newInputFiles=""
47020 for file in ${D}inputFiles ; do
47021 case ${D}file in
47022 *.a | *.lib)
47023 case ${D}file in
47024 *.a)
47025 suffix=".a"
47026 AR="ar"
47027 ;;
47028 *.lib)
47029 suffix=".lib"
47030 AR="emxomfar"
47031 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47032 ;;
47033 *)
47034 ;;
47035 esac
47036 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47037 mkdir ${D}dirname
47038 if [ ${D}? -ne 0 ]; then
47039 echo "Failed to create subdirectory ./${D}dirname"
47040 CleanUp
47041 exit 8;
47042 fi
47043 # Append '!' to indicate archive
47044 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47045 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47046 cd ${D}curDir
47047 found=0;
47048 for subfile in ${D}dirname/*.o* ; do
47049 if [ -f ${D}subfile ]; then
47050 found=1
47051 if [ -s ${D}subfile ]; then
47052 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47053 newInputFiles="${D}newInputFiles ${D}subfile"
47054 fi
47055 fi
47056 done
47057 if [ ${D}found -eq 0 ]; then
47058 echo "WARNING: there are no files in archive \\'${D}file\\'"
47059 fi
47060 ;;
47061 *)
47062 newInputFiles="${D}{newInputFiles} ${D}file"
47063 ;;
47064 esac
47065 done
47066 inputFiles="${D}newInputFiles"
47067
47068 # Output filename(s).
47069 do_backup=0;
47070 if [ -z ${D}outFile ]; then
47071 do_backup=1;
47072 set outFile ${D}inputFiles; outFile=${D}2
47073 fi
47074
47075 # If it is an archive, remove the '!' and the '_%' suffixes
47076 case ${D}outFile in
47077 *_%!)
47078 outFile=\`basnam ${D}outFile _%!\`
47079 ;;
47080 *)
47081 ;;
47082 esac
47083 case ${D}outFile in
47084 *.dll)
47085 outFile=\`basnam ${D}outFile .dll\`
47086 ;;
47087 *.DLL)
47088 outFile=\`basnam ${D}outFile .DLL\`
47089 ;;
47090 *.o)
47091 outFile=\`basnam ${D}outFile .o\`
47092 ;;
47093 *.obj)
47094 outFile=\`basnam ${D}outFile .obj\`
47095 ;;
47096 *.a)
47097 outFile=\`basnam ${D}outFile .a\`
47098 ;;
47099 *.lib)
47100 outFile=\`basnam ${D}outFile .lib\`
47101 ;;
47102 *)
47103 ;;
47104 esac
47105 case ${D}outimpFile in
47106 *.a)
47107 outimpFile=\`basnam ${D}outimpFile .a\`
47108 ;;
47109 *.lib)
47110 outimpFile=\`basnam ${D}outimpFile .lib\`
47111 ;;
47112 *)
47113 ;;
47114 esac
47115 if [ -z ${D}outimpFile ]; then
47116 outimpFile=${D}outFile
47117 fi
47118 defFile="${D}{outFile}.def"
47119 arcFile="${D}{outimpFile}.a"
47120 arcFile2="${D}{outimpFile}.lib"
47121
47122 #create ${D}dllFile as something matching 8.3 restrictions,
47123 if [ -z ${D}renameScript ] ; then
47124 dllFile="${D}outFile"
47125 else
47126 dllFile=\`${D}renameScript ${D}outimpFile\`
47127 fi
47128
47129 if [ ${D}do_backup -ne 0 ] ; then
47130 if [ -f ${D}arcFile ] ; then
47131 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47132 fi
47133 if [ -f ${D}arcFile2 ] ; then
47134 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47135 fi
47136 fi
47137
47138 # Extract public symbols from all the object files.
47139 tmpdefFile=${D}{defFile}_%
47140 rm -f ${D}tmpdefFile
47141 for file in ${D}inputFiles ; do
47142 case ${D}file in
47143 *!)
47144 ;;
47145 *)
47146 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47147 ;;
47148 esac
47149 done
47150
47151 # Create the def file.
47152 rm -f ${D}defFile
47153 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47154 dllFile="${D}{dllFile}.dll"
47155 if [ ! -z ${D}description ]; then
47156 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47157 fi
47158 echo "EXPORTS" >> ${D}defFile
47159
47160 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47161 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47162
47163 # Checks if the export is ok or not.
47164 for word in ${D}exclude_symbols; do
47165 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47166 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47167 done
47168
47169
47170 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47171 sed "=" < ${D}tmpdefFile | \\
47172 sed '
47173 N
47174 : loop
47175 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47176 t loop
47177 ' > ${D}{tmpdefFile}%
47178 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47179 else
47180 rm -f ${D}{tmpdefFile}%
47181 fi
47182 cat ${D}tmpdefFile >> ${D}defFile
47183 rm -f ${D}tmpdefFile
47184
47185 # Do linking, create implib, and apply lxlite.
47186 gccCmdl="";
47187 for file in ${D}inputFiles ; do
47188 case ${D}file in
47189 *!)
47190 ;;
47191 *)
47192 gccCmdl="${D}gccCmdl ${D}file"
47193 ;;
47194 esac
47195 done
47196 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47197 touch "${D}{outFile}.dll"
47198
47199 doCommand "emximp -o ${D}arcFile ${D}defFile"
47200 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47201 add_flags="";
47202 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47203 add_flags="-ynd"
47204 fi
47205 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47206 fi
47207 doCommand "emxomf -s -l ${D}arcFile"
47208
47209 # Successful exit.
47210 CleanUp 1
47211 exit 0
47212 EOF
47213
47214 chmod +x dllar.sh
47215 ;;
47216
47217 powerpc-apple-macos* | \
47218 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47219 *-*-mirbsd* | \
47220 *-*-sunos4* | \
47221 *-*-osf* | \
47222 *-*-dgux5* | \
47223 *-*-sysv5* | \
47224 *-pc-msdosdjgpp )
47225 ;;
47226
47227 *)
47228 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47229 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47230 { (exit 1); exit 1; }; }
47231 esac
47232
47233 if test "x$PIC_FLAG" != "x" ; then
47234 PIC_FLAG="$PIC_FLAG -DPIC"
47235 fi
47236
47237 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47238 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47239 fi
47240 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47241 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47242 fi
47243
47244
47245
47246
47247
47248
47249
47250
47251
47252 USE_SOVERSION=0
47253 USE_SOVERLINUX=0
47254 USE_SOVERSOLARIS=0
47255 USE_SOVERCYGWIN=0
47256 USE_SOSYMLINKS=0
47257 USE_MACVERSION=0
47258 SONAME_FLAG=
47259
47260 case "${BAKEFILE_HOST}" in
47261 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47262 SONAME_FLAG="-Wl,-soname,"
47263 USE_SOVERSION=1
47264 USE_SOVERLINUX=1
47265 USE_SOSYMLINKS=1
47266 ;;
47267
47268 *-*-solaris2* )
47269 SONAME_FLAG="-h "
47270 USE_SOVERSION=1
47271 USE_SOVERSOLARIS=1
47272 USE_SOSYMLINKS=1
47273 ;;
47274
47275 *-*-darwin* )
47276 USE_MACVERSION=1
47277 USE_SOVERSION=1
47278 USE_SOSYMLINKS=1
47279 ;;
47280
47281 *-*-cygwin* )
47282 USE_SOVERSION=1
47283 USE_SOVERCYGWIN=1
47284 ;;
47285 esac
47286
47287
47288
47289
47290
47291
47292
47293
47294
47295
47296 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
47297 if test "${enable_dependency_tracking+set}" = set; then
47298 enableval="$enable_dependency_tracking"
47299 bk_use_trackdeps="$enableval"
47300 fi;
47301
47302 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47303 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
47304
47305 if test "x$bk_use_trackdeps" = "xno" ; then
47306 DEPS_TRACKING=0
47307 echo "$as_me:$LINENO: result: disabled" >&5
47308 echo "${ECHO_T}disabled" >&6
47309 else
47310 DEPS_TRACKING=1
47311
47312 if test "x$GCC" = "xyes"; then
47313 DEPSMODE=gcc
47314 case "${BAKEFILE_HOST}" in
47315 *-*-darwin* )
47316 DEPSFLAG="-no-cpp-precomp -MMD"
47317 ;;
47318 * )
47319 DEPSFLAG="-MMD"
47320 ;;
47321 esac
47322 echo "$as_me:$LINENO: result: gcc" >&5
47323 echo "${ECHO_T}gcc" >&6
47324 elif test "x$MWCC" = "xyes"; then
47325 DEPSMODE=mwcc
47326 DEPSFLAG="-MM"
47327 echo "$as_me:$LINENO: result: mwcc" >&5
47328 echo "${ECHO_T}mwcc" >&6
47329 elif test "x$SUNCC" = "xyes"; then
47330 DEPSMODE=unixcc
47331 DEPSFLAG="-xM1"
47332 echo "$as_me:$LINENO: result: Sun cc" >&5
47333 echo "${ECHO_T}Sun cc" >&6
47334 elif test "x$SGICC" = "xyes"; then
47335 DEPSMODE=unixcc
47336 DEPSFLAG="-M"
47337 echo "$as_me:$LINENO: result: SGI cc" >&5
47338 echo "${ECHO_T}SGI cc" >&6
47339 elif test "x$HPCC" = "xyes"; then
47340 DEPSMODE=unixcc
47341 DEPSFLAG="+make"
47342 echo "$as_me:$LINENO: result: HP cc" >&5
47343 echo "${ECHO_T}HP cc" >&6
47344 elif test "x$COMPAQCC" = "xyes"; then
47345 DEPSMODE=gcc
47346 DEPSFLAG="-MD"
47347 echo "$as_me:$LINENO: result: Compaq cc" >&5
47348 echo "${ECHO_T}Compaq cc" >&6
47349 else
47350 DEPS_TRACKING=0
47351 echo "$as_me:$LINENO: result: none" >&5
47352 echo "${ECHO_T}none" >&6
47353 fi
47354
47355 if test $DEPS_TRACKING = 1 ; then
47356
47357 D='$'
47358 cat <<EOF >bk-deps
47359 #!/bin/sh
47360
47361 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47362 # script. It is used to track C/C++ files dependencies in portable way.
47363 #
47364 # Permission is given to use this file in any way.
47365
47366 DEPSMODE=${DEPSMODE}
47367 DEPSDIR=.deps
47368 DEPSFLAG="${DEPSFLAG}"
47369
47370 mkdir -p ${D}DEPSDIR
47371
47372 if test ${D}DEPSMODE = gcc ; then
47373 ${D}* ${D}{DEPSFLAG}
47374 status=${D}?
47375 if test ${D}{status} != 0 ; then
47376 exit ${D}{status}
47377 fi
47378 # move created file to the location we want it in:
47379 while test ${D}# -gt 0; do
47380 case "${D}1" in
47381 -o )
47382 shift
47383 objfile=${D}1
47384 ;;
47385 -* )
47386 ;;
47387 * )
47388 srcfile=${D}1
47389 ;;
47390 esac
47391 shift
47392 done
47393 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47394 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47395 if test -f ${D}depfile ; then
47396 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47397 rm -f ${D}depfile
47398 else
47399 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47400 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47401 if test ! -f ${D}depfile ; then
47402 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47403 depfile="${D}objfile.d"
47404 fi
47405 if test -f ${D}depfile ; then
47406 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47407 rm -f ${D}depfile
47408 fi
47409 fi
47410 exit 0
47411 elif test ${D}DEPSMODE = mwcc ; then
47412 ${D}* || exit ${D}?
47413 # Run mwcc again with -MM and redirect into the dep file we want
47414 # NOTE: We can't use shift here because we need ${D}* to be valid
47415 prevarg=
47416 for arg in ${D}* ; do
47417 if test "${D}prevarg" = "-o"; then
47418 objfile=${D}arg
47419 else
47420 case "${D}arg" in
47421 -* )
47422 ;;
47423 * )
47424 srcfile=${D}arg
47425 ;;
47426 esac
47427 fi
47428 prevarg="${D}arg"
47429 done
47430 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47431 exit 0
47432 elif test ${D}DEPSMODE = unixcc; then
47433 ${D}* || exit ${D}?
47434 # Run compiler again with deps flag and redirect into the dep file.
47435 # It doesn't work if the '-o FILE' option is used, but without it the
47436 # dependency file will contain the wrong name for the object. So it is
47437 # removed from the command line, and the dep file is fixed with sed.
47438 cmd=""
47439 while test ${D}# -gt 0; do
47440 case "${D}1" in
47441 -o )
47442 shift
47443 objfile=${D}1
47444 ;;
47445 * )
47446 eval arg${D}#=\\${D}1
47447 cmd="${D}cmd \\${D}arg${D}#"
47448 ;;
47449 esac
47450 shift
47451 done
47452 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47453 exit 0
47454 else
47455 ${D}*
47456 exit ${D}?
47457 fi
47458 EOF
47459
47460 chmod +x bk-deps
47461 fi
47462 fi
47463
47464
47465
47466
47467 case ${BAKEFILE_HOST} in
47468 *-*-cygwin* | *-*-mingw32* )
47469 if test -n "$ac_tool_prefix"; then
47470 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47471 set dummy ${ac_tool_prefix}windres; ac_word=$2
47472 echo "$as_me:$LINENO: checking for $ac_word" >&5
47473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47474 if test "${ac_cv_prog_WINDRES+set}" = set; then
47475 echo $ECHO_N "(cached) $ECHO_C" >&6
47476 else
47477 if test -n "$WINDRES"; then
47478 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47479 else
47480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47481 for as_dir in $PATH
47482 do
47483 IFS=$as_save_IFS
47484 test -z "$as_dir" && as_dir=.
47485 for ac_exec_ext in '' $ac_executable_extensions; do
47486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47487 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47489 break 2
47490 fi
47491 done
47492 done
47493
47494 fi
47495 fi
47496 WINDRES=$ac_cv_prog_WINDRES
47497 if test -n "$WINDRES"; then
47498 echo "$as_me:$LINENO: result: $WINDRES" >&5
47499 echo "${ECHO_T}$WINDRES" >&6
47500 else
47501 echo "$as_me:$LINENO: result: no" >&5
47502 echo "${ECHO_T}no" >&6
47503 fi
47504
47505 fi
47506 if test -z "$ac_cv_prog_WINDRES"; then
47507 ac_ct_WINDRES=$WINDRES
47508 # Extract the first word of "windres", so it can be a program name with args.
47509 set dummy windres; ac_word=$2
47510 echo "$as_me:$LINENO: checking for $ac_word" >&5
47511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47512 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47513 echo $ECHO_N "(cached) $ECHO_C" >&6
47514 else
47515 if test -n "$ac_ct_WINDRES"; then
47516 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47517 else
47518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47519 for as_dir in $PATH
47520 do
47521 IFS=$as_save_IFS
47522 test -z "$as_dir" && as_dir=.
47523 for ac_exec_ext in '' $ac_executable_extensions; do
47524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47525 ac_cv_prog_ac_ct_WINDRES="windres"
47526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47527 break 2
47528 fi
47529 done
47530 done
47531
47532 fi
47533 fi
47534 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47535 if test -n "$ac_ct_WINDRES"; then
47536 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47537 echo "${ECHO_T}$ac_ct_WINDRES" >&6
47538 else
47539 echo "$as_me:$LINENO: result: no" >&5
47540 echo "${ECHO_T}no" >&6
47541 fi
47542
47543 WINDRES=$ac_ct_WINDRES
47544 else
47545 WINDRES="$ac_cv_prog_WINDRES"
47546 fi
47547
47548 ;;
47549
47550 *-*-darwin* | powerpc-apple-macos* )
47551 # Extract the first word of "Rez", so it can be a program name with args.
47552 set dummy Rez; ac_word=$2
47553 echo "$as_me:$LINENO: checking for $ac_word" >&5
47554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47555 if test "${ac_cv_prog_REZ+set}" = set; then
47556 echo $ECHO_N "(cached) $ECHO_C" >&6
47557 else
47558 if test -n "$REZ"; then
47559 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47560 else
47561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47562 for as_dir in $PATH
47563 do
47564 IFS=$as_save_IFS
47565 test -z "$as_dir" && as_dir=.
47566 for ac_exec_ext in '' $ac_executable_extensions; do
47567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47568 ac_cv_prog_REZ="Rez"
47569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47570 break 2
47571 fi
47572 done
47573 done
47574
47575 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47576 fi
47577 fi
47578 REZ=$ac_cv_prog_REZ
47579 if test -n "$REZ"; then
47580 echo "$as_me:$LINENO: result: $REZ" >&5
47581 echo "${ECHO_T}$REZ" >&6
47582 else
47583 echo "$as_me:$LINENO: result: no" >&5
47584 echo "${ECHO_T}no" >&6
47585 fi
47586
47587 # Extract the first word of "SetFile", so it can be a program name with args.
47588 set dummy SetFile; ac_word=$2
47589 echo "$as_me:$LINENO: checking for $ac_word" >&5
47590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47591 if test "${ac_cv_prog_SETFILE+set}" = set; then
47592 echo $ECHO_N "(cached) $ECHO_C" >&6
47593 else
47594 if test -n "$SETFILE"; then
47595 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47596 else
47597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47598 for as_dir in $PATH
47599 do
47600 IFS=$as_save_IFS
47601 test -z "$as_dir" && as_dir=.
47602 for ac_exec_ext in '' $ac_executable_extensions; do
47603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47604 ac_cv_prog_SETFILE="SetFile"
47605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47606 break 2
47607 fi
47608 done
47609 done
47610
47611 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47612 fi
47613 fi
47614 SETFILE=$ac_cv_prog_SETFILE
47615 if test -n "$SETFILE"; then
47616 echo "$as_me:$LINENO: result: $SETFILE" >&5
47617 echo "${ECHO_T}$SETFILE" >&6
47618 else
47619 echo "$as_me:$LINENO: result: no" >&5
47620 echo "${ECHO_T}no" >&6
47621 fi
47622
47623 ;;
47624 esac
47625
47626
47627
47628
47629
47630
47631 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
47632
47633
47634 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
47635
47636
47637
47638 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
47639 if test "${enable_precomp_headers+set}" = set; then
47640 enableval="$enable_precomp_headers"
47641 bk_use_pch="$enableval"
47642 fi;
47643
47644 GCC_PCH=0
47645 ICC_PCH=0
47646 USE_PCH=0
47647
47648 case ${BAKEFILE_HOST} in
47649 *-*-cygwin* )
47650 bk_use_pch="no"
47651 ;;
47652 esac
47653
47654 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47655 if test "x$GCC" = "xyes"; then
47656 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47657 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
47658 cat >conftest.$ac_ext <<_ACEOF
47659 /* confdefs.h. */
47660 _ACEOF
47661 cat confdefs.h >>conftest.$ac_ext
47662 cat >>conftest.$ac_ext <<_ACEOF
47663 /* end confdefs.h. */
47664
47665 int
47666 main ()
47667 {
47668
47669 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47670 There is no PCH support
47671 #endif
47672 #if (__GNUC__ < 3)
47673 There is no PCH support
47674 #endif
47675 #if (__GNUC__ == 3) && \
47676 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47677 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47678 ( defined(__INTEL_COMPILER) )
47679 There is no PCH support
47680 #endif
47681
47682 ;
47683 return 0;
47684 }
47685 _ACEOF
47686 rm -f conftest.$ac_objext
47687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47688 (eval $ac_compile) 2>conftest.er1
47689 ac_status=$?
47690 grep -v '^ *+' conftest.er1 >conftest.err
47691 rm -f conftest.er1
47692 cat conftest.err >&5
47693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47694 (exit $ac_status); } &&
47695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47697 (eval $ac_try) 2>&5
47698 ac_status=$?
47699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47700 (exit $ac_status); }; } &&
47701 { ac_try='test -s conftest.$ac_objext'
47702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47703 (eval $ac_try) 2>&5
47704 ac_status=$?
47705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47706 (exit $ac_status); }; }; then
47707
47708 echo "$as_me:$LINENO: result: yes" >&5
47709 echo "${ECHO_T}yes" >&6
47710 GCC_PCH=1
47711
47712 else
47713 echo "$as_me: failed program was:" >&5
47714 sed 's/^/| /' conftest.$ac_ext >&5
47715
47716
47717 cat >conftest.$ac_ext <<_ACEOF
47718 /* confdefs.h. */
47719 _ACEOF
47720 cat confdefs.h >>conftest.$ac_ext
47721 cat >>conftest.$ac_ext <<_ACEOF
47722 /* end confdefs.h. */
47723
47724 int
47725 main ()
47726 {
47727
47728 #if !defined(__INTEL_COMPILER) || \
47729 (__INTEL_COMPILER < 800)
47730 There is no PCH support
47731 #endif
47732
47733 ;
47734 return 0;
47735 }
47736 _ACEOF
47737 rm -f conftest.$ac_objext
47738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47739 (eval $ac_compile) 2>conftest.er1
47740 ac_status=$?
47741 grep -v '^ *+' conftest.er1 >conftest.err
47742 rm -f conftest.er1
47743 cat conftest.err >&5
47744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47745 (exit $ac_status); } &&
47746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47748 (eval $ac_try) 2>&5
47749 ac_status=$?
47750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47751 (exit $ac_status); }; } &&
47752 { ac_try='test -s conftest.$ac_objext'
47753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47754 (eval $ac_try) 2>&5
47755 ac_status=$?
47756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47757 (exit $ac_status); }; }; then
47758
47759 echo "$as_me:$LINENO: result: yes" >&5
47760 echo "${ECHO_T}yes" >&6
47761 ICC_PCH=1
47762
47763 else
47764 echo "$as_me: failed program was:" >&5
47765 sed 's/^/| /' conftest.$ac_ext >&5
47766
47767
47768 echo "$as_me:$LINENO: result: no" >&5
47769 echo "${ECHO_T}no" >&6
47770
47771 fi
47772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47773
47774 fi
47775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47776 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47777 USE_PCH=1
47778
47779 D='$'
47780 cat <<EOF >bk-make-pch
47781 #!/bin/sh
47782
47783 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47784 # script. It is used to generated precompiled headers.
47785 #
47786 # Permission is given to use this file in any way.
47787
47788 outfile="${D}{1}"
47789 header="${D}{2}"
47790 shift
47791 shift
47792
47793 compiler=""
47794 headerfile=""
47795
47796 while test ${D}{#} -gt 0; do
47797 add_to_cmdline=1
47798 case "${D}{1}" in
47799 -I* )
47800 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47801 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47802 headerfile="${D}{incdir}/${D}{header}"
47803 fi
47804 ;;
47805 -use-pch|-use_pch )
47806 shift
47807 add_to_cmdline=0
47808 ;;
47809 esac
47810 if test ${D}add_to_cmdline = 1 ; then
47811 compiler="${D}{compiler} ${D}{1}"
47812 fi
47813 shift
47814 done
47815
47816 if test "x${D}{headerfile}" = "x" ; then
47817 echo "error: can't find header ${D}{header} in include paths" >&2
47818 else
47819 if test -f ${D}{outfile} ; then
47820 rm -f ${D}{outfile}
47821 else
47822 mkdir -p \`dirname ${D}{outfile}\`
47823 fi
47824 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47825 mkdir -p .deps
47826 if test "x${GCC_PCH}" = "x1" ; then
47827 # can do this because gcc is >= 3.4:
47828 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47829 elif test "x${ICC_PCH}" = "x1" ; then
47830 filename=pch_gen-${D}${D}
47831 file=${D}{filename}.c
47832 dfile=${D}{filename}.d
47833 cat > ${D}file <<EOT
47834 #include "${D}header"
47835 EOT
47836 # using -MF icc complains about differing command lines in creation/use
47837 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47838 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47839 rm -f ${D}file ${D}dfile ${D}{filename}.o
47840 fi
47841 exit ${D}{?}
47842 fi
47843 EOF
47844
47845 chmod +x bk-make-pch
47846 fi
47847 fi
47848 fi
47849
47850
47851
47852
47853 COND_BUILD_DEBUG="#"
47854 if test "x$BUILD" = "xdebug" ; then
47855 COND_BUILD_DEBUG=""
47856 fi
47857
47858 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47859 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47860 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47861 fi
47862
47863 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47864 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47865 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47866 fi
47867
47868 COND_BUILD_DEBUG_UNICODE_0="#"
47869 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47870 COND_BUILD_DEBUG_UNICODE_0=""
47871 fi
47872
47873 COND_BUILD_DEBUG_UNICODE_1="#"
47874 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47875 COND_BUILD_DEBUG_UNICODE_1=""
47876 fi
47877
47878 COND_BUILD_RELEASE="#"
47879 if test "x$BUILD" = "xrelease" ; then
47880 COND_BUILD_RELEASE=""
47881 fi
47882
47883 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47884 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47885 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47886 fi
47887
47888 COND_BUILD_RELEASE_UNICODE_0="#"
47889 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47890 COND_BUILD_RELEASE_UNICODE_0=""
47891 fi
47892
47893 COND_BUILD_RELEASE_UNICODE_1="#"
47894 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47895 COND_BUILD_RELEASE_UNICODE_1=""
47896 fi
47897
47898 COND_DEBUG_FLAG_1="#"
47899 if test "x$DEBUG_FLAG" = "x1" ; then
47900 COND_DEBUG_FLAG_1=""
47901 fi
47902
47903 COND_DEBUG_INFO_0="#"
47904 if test "x$DEBUG_INFO" = "x0" ; then
47905 COND_DEBUG_INFO_0=""
47906 fi
47907
47908 COND_DEBUG_INFO_1="#"
47909 if test "x$DEBUG_INFO" = "x1" ; then
47910 COND_DEBUG_INFO_1=""
47911 fi
47912
47913 COND_DEPS_TRACKING_0="#"
47914 if test "x$DEPS_TRACKING" = "x0" ; then
47915 COND_DEPS_TRACKING_0=""
47916 fi
47917
47918 COND_DEPS_TRACKING_1="#"
47919 if test "x$DEPS_TRACKING" = "x1" ; then
47920 COND_DEPS_TRACKING_1=""
47921 fi
47922
47923 COND_GCC_PCH_1="#"
47924 if test "x$GCC_PCH" = "x1" ; then
47925 COND_GCC_PCH_1=""
47926 fi
47927
47928 COND_ICC_PCH_1="#"
47929 if test "x$ICC_PCH" = "x1" ; then
47930 COND_ICC_PCH_1=""
47931 fi
47932
47933 COND_MONOLITHIC_0="#"
47934 if test "x$MONOLITHIC" = "x0" ; then
47935 COND_MONOLITHIC_0=""
47936 fi
47937
47938 COND_MONOLITHIC_0_SHARED_0="#"
47939 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47940 COND_MONOLITHIC_0_SHARED_0=""
47941 fi
47942
47943 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
47944 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47945 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
47946 fi
47947
47948 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
47949 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47950 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
47951 fi
47952
47953 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
47954 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47955 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
47956 fi
47957
47958 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
47959 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47960 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
47961 fi
47962
47963 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
47964 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47965 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
47966 fi
47967
47968 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
47969 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47970 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
47971 fi
47972
47973 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
47974 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47975 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
47976 fi
47977
47978 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
47979 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47980 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
47981 fi
47982
47983 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
47984 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47985 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
47986 fi
47987
47988 COND_MONOLITHIC_0_SHARED_1="#"
47989 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47990 COND_MONOLITHIC_0_SHARED_1=""
47991 fi
47992
47993 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
47994 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
47995 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
47996 fi
47997
47998 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
47999 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48000 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48001 fi
48002
48003 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48004 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48005 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48006 fi
48007
48008 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48009 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48010 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48011 fi
48012
48013 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48014 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48015 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48016 fi
48017
48018 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48019 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48020 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48021 fi
48022
48023 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48024 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48025 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48026 fi
48027
48028 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48029 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48030 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48031 fi
48032
48033 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48034 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48035 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48036 fi
48037
48038 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48039 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48040 COND_MONOLITHIC_0_USE_MEDIA_1=""
48041 fi
48042
48043 COND_MONOLITHIC_0_USE_ODBC_1="#"
48044 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48045 COND_MONOLITHIC_0_USE_ODBC_1=""
48046 fi
48047
48048 COND_MONOLITHIC_1="#"
48049 if test "x$MONOLITHIC" = "x1" ; then
48050 COND_MONOLITHIC_1=""
48051 fi
48052
48053 COND_MONOLITHIC_1_SHARED_0="#"
48054 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48055 COND_MONOLITHIC_1_SHARED_0=""
48056 fi
48057
48058 COND_MONOLITHIC_1_SHARED_1="#"
48059 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48060 COND_MONOLITHIC_1_SHARED_1=""
48061 fi
48062
48063 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48064 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48065 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48066 fi
48067
48068 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48069 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48070 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48071 fi
48072
48073 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48074 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48075 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48076 fi
48077
48078 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48079 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48080 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48081 fi
48082
48083 COND_PLATFORM_MACOSX_1="#"
48084 if test "x$PLATFORM_MACOSX" = "x1" ; then
48085 COND_PLATFORM_MACOSX_1=""
48086 fi
48087
48088 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48089 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48090 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48091 fi
48092
48093 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48094 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48095 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48096 fi
48097
48098 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48099 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48100 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48101 fi
48102
48103 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48104 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48105 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48106 fi
48107
48108 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48109 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48110 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48111 fi
48112
48113 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48114 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48115 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48116 fi
48117
48118 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48119 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48120 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48121 fi
48122
48123 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48124 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48125 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48126 fi
48127
48128 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48129 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48130 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48131 fi
48132
48133 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48134 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48135 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48136 fi
48137
48138 COND_PLATFORM_MACOS_1="#"
48139 if test "x$PLATFORM_MACOS" = "x1" ; then
48140 COND_PLATFORM_MACOS_1=""
48141 fi
48142
48143 COND_PLATFORM_MAC_1="#"
48144 if test "x$PLATFORM_MAC" = "x1" ; then
48145 COND_PLATFORM_MAC_1=""
48146 fi
48147
48148 COND_PLATFORM_MSDOS_0="#"
48149 if test "x$PLATFORM_MSDOS" = "x0" ; then
48150 COND_PLATFORM_MSDOS_0=""
48151 fi
48152
48153 COND_PLATFORM_MSDOS_1="#"
48154 if test "x$PLATFORM_MSDOS" = "x1" ; then
48155 COND_PLATFORM_MSDOS_1=""
48156 fi
48157
48158 COND_PLATFORM_OS2_1="#"
48159 if test "x$PLATFORM_OS2" = "x1" ; then
48160 COND_PLATFORM_OS2_1=""
48161 fi
48162
48163 COND_PLATFORM_UNIX_0="#"
48164 if test "x$PLATFORM_UNIX" = "x0" ; then
48165 COND_PLATFORM_UNIX_0=""
48166 fi
48167
48168 COND_PLATFORM_UNIX_1="#"
48169 if test "x$PLATFORM_UNIX" = "x1" ; then
48170 COND_PLATFORM_UNIX_1=""
48171 fi
48172
48173 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48174 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48175 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48176 fi
48177
48178 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48179 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48180 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48181 fi
48182
48183 COND_PLATFORM_WIN32_0="#"
48184 if test "x$PLATFORM_WIN32" = "x0" ; then
48185 COND_PLATFORM_WIN32_0=""
48186 fi
48187
48188 COND_PLATFORM_WIN32_1="#"
48189 if test "x$PLATFORM_WIN32" = "x1" ; then
48190 COND_PLATFORM_WIN32_1=""
48191 fi
48192
48193 COND_SHARED_0="#"
48194 if test "x$SHARED" = "x0" ; then
48195 COND_SHARED_0=""
48196 fi
48197
48198 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48199 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48200 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48201 fi
48202
48203 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48204 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48205 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48206 fi
48207
48208 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48209 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48210 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48211 fi
48212
48213 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48214 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48215 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48216 fi
48217
48218 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48219 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48220 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48221 fi
48222
48223 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48224 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48225 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48226 fi
48227
48228 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48229 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48230 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48231 fi
48232
48233 COND_SHARED_0_USE_XRC_1="#"
48234 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48235 COND_SHARED_0_USE_XRC_1=""
48236 fi
48237
48238 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48239 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48240 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48241 fi
48242
48243 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48244 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48245 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48246 fi
48247
48248 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48249 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48250 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48251 fi
48252
48253 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48254 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48255 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48256 fi
48257
48258 COND_SHARED_1="#"
48259 if test "x$SHARED" = "x1" ; then
48260 COND_SHARED_1=""
48261 fi
48262
48263 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48264 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48265 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48266 fi
48267
48268 COND_SHARED_1_USE_XRC_1="#"
48269 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48270 COND_SHARED_1_USE_XRC_1=""
48271 fi
48272
48273 COND_TOOLKIT_="#"
48274 if test "x$TOOLKIT" = "x" ; then
48275 COND_TOOLKIT_=""
48276 fi
48277
48278 COND_TOOLKIT_COCOA="#"
48279 if test "x$TOOLKIT" = "xCOCOA" ; then
48280 COND_TOOLKIT_COCOA=""
48281 fi
48282
48283 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48284 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48285 COND_TOOLKIT_COCOA_USE_GUI_1=""
48286 fi
48287
48288 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48289 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48290 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48291 fi
48292
48293 COND_TOOLKIT_GTK="#"
48294 if test "x$TOOLKIT" = "xGTK" ; then
48295 COND_TOOLKIT_GTK=""
48296 fi
48297
48298 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48299 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48300 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48301 fi
48302
48303 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48304 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48305 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48306 fi
48307
48308 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48309 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48310 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48311 fi
48312
48313 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48314 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48315 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48316 fi
48317
48318 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48319 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48320 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48321 fi
48322
48323 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48324 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48325 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48326 fi
48327
48328 COND_TOOLKIT_GTK_USE_GUI_1="#"
48329 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48330 COND_TOOLKIT_GTK_USE_GUI_1=""
48331 fi
48332
48333 COND_TOOLKIT_MAC="#"
48334 if test "x$TOOLKIT" = "xMAC" ; then
48335 COND_TOOLKIT_MAC=""
48336 fi
48337
48338 COND_TOOLKIT_MAC_USE_GUI_1="#"
48339 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48340 COND_TOOLKIT_MAC_USE_GUI_1=""
48341 fi
48342
48343 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48344 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48345 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48346 fi
48347
48348 COND_TOOLKIT_MGL="#"
48349 if test "x$TOOLKIT" = "xMGL" ; then
48350 COND_TOOLKIT_MGL=""
48351 fi
48352
48353 COND_TOOLKIT_MGL_USE_GUI_1="#"
48354 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48355 COND_TOOLKIT_MGL_USE_GUI_1=""
48356 fi
48357
48358 COND_TOOLKIT_MOTIF="#"
48359 if test "x$TOOLKIT" = "xMOTIF" ; then
48360 COND_TOOLKIT_MOTIF=""
48361 fi
48362
48363 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48364 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48365 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48366 fi
48367
48368 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48369 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48370 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48371 fi
48372
48373 COND_TOOLKIT_MSW="#"
48374 if test "x$TOOLKIT" = "xMSW" ; then
48375 COND_TOOLKIT_MSW=""
48376 fi
48377
48378 COND_TOOLKIT_MSW_USE_GUI_1="#"
48379 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48380 COND_TOOLKIT_MSW_USE_GUI_1=""
48381 fi
48382
48383 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48384 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48385 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48386 fi
48387
48388 COND_TOOLKIT_MSW_WXUNIV_0="#"
48389 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48390 COND_TOOLKIT_MSW_WXUNIV_0=""
48391 fi
48392
48393 COND_TOOLKIT_PM="#"
48394 if test "x$TOOLKIT" = "xPM" ; then
48395 COND_TOOLKIT_PM=""
48396 fi
48397
48398 COND_TOOLKIT_PM_USE_GUI_1="#"
48399 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48400 COND_TOOLKIT_PM_USE_GUI_1=""
48401 fi
48402
48403 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48404 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48405 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48406 fi
48407
48408 COND_TOOLKIT_WINCE="#"
48409 if test "x$TOOLKIT" = "xWINCE" ; then
48410 COND_TOOLKIT_WINCE=""
48411 fi
48412
48413 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48414 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48415 COND_TOOLKIT_WINCE_USE_GUI_1=""
48416 fi
48417
48418 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48419 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48420 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48421 fi
48422
48423 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48424 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48425 COND_TOOLKIT_WINCE_WXUNIV_0=""
48426 fi
48427
48428 COND_TOOLKIT_X11="#"
48429 if test "x$TOOLKIT" = "xX11" ; then
48430 COND_TOOLKIT_X11=""
48431 fi
48432
48433 COND_TOOLKIT_X11_USE_GUI_1="#"
48434 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48435 COND_TOOLKIT_X11_USE_GUI_1=""
48436 fi
48437
48438 COND_UNICODE_1="#"
48439 if test "x$UNICODE" = "x1" ; then
48440 COND_UNICODE_1=""
48441 fi
48442
48443 COND_USE_EXCEPTIONS_0="#"
48444 if test "x$USE_EXCEPTIONS" = "x0" ; then
48445 COND_USE_EXCEPTIONS_0=""
48446 fi
48447
48448 COND_USE_EXCEPTIONS_1="#"
48449 if test "x$USE_EXCEPTIONS" = "x1" ; then
48450 COND_USE_EXCEPTIONS_1=""
48451 fi
48452
48453 COND_USE_GUI_0="#"
48454 if test "x$USE_GUI" = "x0" ; then
48455 COND_USE_GUI_0=""
48456 fi
48457
48458 COND_USE_GUI_1="#"
48459 if test "x$USE_GUI" = "x1" ; then
48460 COND_USE_GUI_1=""
48461 fi
48462
48463 COND_USE_GUI_1_WXUNIV_0="#"
48464 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48465 COND_USE_GUI_1_WXUNIV_0=""
48466 fi
48467
48468 COND_USE_GUI_1_WXUNIV_1="#"
48469 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48470 COND_USE_GUI_1_WXUNIV_1=""
48471 fi
48472
48473 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48474 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48475 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48476 fi
48477
48478 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48479 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48480 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48481 fi
48482
48483 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48484 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48485 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48486 fi
48487
48488 COND_USE_ODBC_1="#"
48489 if test "x$USE_ODBC" = "x1" ; then
48490 COND_USE_ODBC_1=""
48491 fi
48492
48493 COND_USE_OPENGL_1="#"
48494 if test "x$USE_OPENGL" = "x1" ; then
48495 COND_USE_OPENGL_1=""
48496 fi
48497
48498 COND_USE_PCH_1="#"
48499 if test "x$USE_PCH" = "x1" ; then
48500 COND_USE_PCH_1=""
48501 fi
48502
48503 COND_USE_PLUGINS_0="#"
48504 if test "x$USE_PLUGINS" = "x0" ; then
48505 COND_USE_PLUGINS_0=""
48506 fi
48507
48508 COND_USE_RTTI_0="#"
48509 if test "x$USE_RTTI" = "x0" ; then
48510 COND_USE_RTTI_0=""
48511 fi
48512
48513 COND_USE_RTTI_1="#"
48514 if test "x$USE_RTTI" = "x1" ; then
48515 COND_USE_RTTI_1=""
48516 fi
48517
48518 COND_USE_SOSYMLINKS_1="#"
48519 if test "x$USE_SOSYMLINKS" = "x1" ; then
48520 COND_USE_SOSYMLINKS_1=""
48521 fi
48522
48523 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48524 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48525 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48526 fi
48527
48528 COND_USE_SOVERLINUX_1="#"
48529 if test "x$USE_SOVERLINUX" = "x1" ; then
48530 COND_USE_SOVERLINUX_1=""
48531 fi
48532
48533 COND_USE_SOVERSION_0="#"
48534 if test "x$USE_SOVERSION" = "x0" ; then
48535 COND_USE_SOVERSION_0=""
48536 fi
48537
48538 COND_USE_SOVERSOLARIS_1="#"
48539 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48540 COND_USE_SOVERSOLARIS_1=""
48541 fi
48542
48543 COND_USE_THREADS_0="#"
48544 if test "x$USE_THREADS" = "x0" ; then
48545 COND_USE_THREADS_0=""
48546 fi
48547
48548 COND_USE_THREADS_1="#"
48549 if test "x$USE_THREADS" = "x1" ; then
48550 COND_USE_THREADS_1=""
48551 fi
48552
48553 COND_USE_XRC_1="#"
48554 if test "x$USE_XRC" = "x1" ; then
48555 COND_USE_XRC_1=""
48556 fi
48557
48558 COND_WINDOWS_IMPLIB_1="#"
48559 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48560 COND_WINDOWS_IMPLIB_1=""
48561 fi
48562
48563 COND_WITH_PLUGIN_SDL_1="#"
48564 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48565 COND_WITH_PLUGIN_SDL_1=""
48566 fi
48567
48568 COND_WXUNIV_0="#"
48569 if test "x$WXUNIV" = "x0" ; then
48570 COND_WXUNIV_0=""
48571 fi
48572
48573 COND_WXUNIV_1="#"
48574 if test "x$WXUNIV" = "x1" ; then
48575 COND_WXUNIV_1=""
48576 fi
48577
48578 COND_WXUSE_EXPAT_BUILTIN="#"
48579 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48580 COND_WXUSE_EXPAT_BUILTIN=""
48581 fi
48582
48583 COND_WXUSE_LIBJPEG_BUILTIN="#"
48584 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48585 COND_WXUSE_LIBJPEG_BUILTIN=""
48586 fi
48587
48588 COND_WXUSE_LIBPNG_BUILTIN="#"
48589 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48590 COND_WXUSE_LIBPNG_BUILTIN=""
48591 fi
48592
48593 COND_WXUSE_LIBTIFF_BUILTIN="#"
48594 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48595 COND_WXUSE_LIBTIFF_BUILTIN=""
48596 fi
48597
48598 COND_WXUSE_ODBC_BUILTIN="#"
48599 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48600 COND_WXUSE_ODBC_BUILTIN=""
48601 fi
48602
48603 COND_WXUSE_REGEX_BUILTIN="#"
48604 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48605 COND_WXUSE_REGEX_BUILTIN=""
48606 fi
48607
48608 COND_WXUSE_ZLIB_BUILTIN="#"
48609 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48610 COND_WXUSE_ZLIB_BUILTIN=""
48611 fi
48612
48613
48614
48615 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48616 { { 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
48617 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;}
48618 { (exit 1); exit 1; }; }
48619 fi
48620
48621 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48622 { { 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
48623 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;}
48624 { (exit 1); exit 1; }; }
48625 fi
48626
48627
48628
48629 if test "$wxUSE_MAC" = 1 ; then
48630 if test "$wxUSE_UNIVERSAL_BINARY" = "yes" ; then
48631 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48632 mv temp bk-deps
48633 chmod +x bk-deps
48634 fi
48635 fi
48636
48637 if test "$wxUSE_SHARED" = "yes"; then
48638
48639 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48640 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48641
48642 case "${host}" in
48643 *-pc-os2_emx | *-pc-os2-emx )
48644 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48645 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48646 cp -p ${srcdir}/src/os2/dllnames.sh .
48647 cp -p ${srcdir}/src/os2/dllar.sh .
48648 ;;
48649 esac
48650 else
48651
48652 EXE_LINKER="$CXX -o"
48653
48654 fi
48655 if test "$wxUSE_OMF" = "yes"; then
48656 case "${host}" in
48657 *-pc-os2_emx | *-pc-os2-emx )
48658 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48659 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48660 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48661 ;;
48662 esac
48663 fi
48664
48665 if test $GCC_PCH = 1 ; then
48666 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48667 fi
48668
48669 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48670
48671 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48672
48673
48674
48675
48676
48677
48678
48679
48680
48681
48682
48683
48684
48685
48686
48687
48688
48689
48690
48691
48692
48693
48694
48695
48696
48697
48698
48699
48700
48701
48702
48703
48704
48705
48706
48707
48708
48709
48710
48711
48712
48713
48714
48715
48716
48717
48718
48719
48720
48721
48722
48723
48724
48725
48726
48727
48728
48729
48730
48731
48732
48733 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48734 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48735 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
48736 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48737 echo $ECHO_N "(cached) $ECHO_C" >&6
48738 else
48739 cat >conftest.make <<\_ACEOF
48740 all:
48741 @echo 'ac_maketemp="$(MAKE)"'
48742 _ACEOF
48743 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48744 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48745 if test -n "$ac_maketemp"; then
48746 eval ac_cv_prog_make_${ac_make}_set=yes
48747 else
48748 eval ac_cv_prog_make_${ac_make}_set=no
48749 fi
48750 rm -f conftest.make
48751 fi
48752 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48753 echo "$as_me:$LINENO: result: yes" >&5
48754 echo "${ECHO_T}yes" >&6
48755 SET_MAKE=
48756 else
48757 echo "$as_me:$LINENO: result: no" >&5
48758 echo "${ECHO_T}no" >&6
48759 SET_MAKE="MAKE=${MAKE-make}"
48760 fi
48761
48762
48763
48764 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48765
48766
48767 if test "$USE_WIN32" = 1; then
48768 ac_config_commands="$ac_config_commands
48769 rcdefs.h
48770 "
48771
48772 fi
48773
48774 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48775
48776
48777 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48778
48779
48780 ac_config_files="$ac_config_files version-script Makefile"
48781
48782
48783 ac_config_commands="$ac_config_commands wx-config"
48784
48785
48786
48787 if test "$wxWITH_SUBDIRS" != "no"; then
48788 if test "$wxUSE_GUI" = "yes"; then
48789 SUBDIRS="samples demos utils contrib"
48790 else SUBDIRS="samples utils"
48791 fi
48792
48793
48794
48795 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
48796 if test "${with_cppunit_prefix+set}" = set; then
48797 withval="$with_cppunit_prefix"
48798 cppunit_config_prefix="$withval"
48799 else
48800 cppunit_config_prefix=""
48801 fi;
48802
48803 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
48804 if test "${with_cppunit_exec_prefix+set}" = set; then
48805 withval="$with_cppunit_exec_prefix"
48806 cppunit_config_exec_prefix="$withval"
48807 else
48808 cppunit_config_exec_prefix=""
48809 fi;
48810
48811 if test x$cppunit_config_exec_prefix != x ; then
48812 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48813 if test x${CPPUNIT_CONFIG+set} != xset ; then
48814 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48815 fi
48816 fi
48817 if test x$cppunit_config_prefix != x ; then
48818 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48819 if test x${CPPUNIT_CONFIG+set} != xset ; then
48820 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48821 fi
48822 fi
48823
48824 # Extract the first word of "cppunit-config", so it can be a program name with args.
48825 set dummy cppunit-config; ac_word=$2
48826 echo "$as_me:$LINENO: checking for $ac_word" >&5
48827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48828 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48829 echo $ECHO_N "(cached) $ECHO_C" >&6
48830 else
48831 case $CPPUNIT_CONFIG in
48832 [\\/]* | ?:[\\/]*)
48833 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48834 ;;
48835 *)
48836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48837 for as_dir in $PATH
48838 do
48839 IFS=$as_save_IFS
48840 test -z "$as_dir" && as_dir=.
48841 for ac_exec_ext in '' $ac_executable_extensions; do
48842 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48843 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48845 break 2
48846 fi
48847 done
48848 done
48849
48850 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48851 ;;
48852 esac
48853 fi
48854 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48855
48856 if test -n "$CPPUNIT_CONFIG"; then
48857 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48858 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
48859 else
48860 echo "$as_me:$LINENO: result: no" >&5
48861 echo "${ECHO_T}no" >&6
48862 fi
48863
48864 cppunit_version_min=1.8.0
48865
48866 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48867 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
48868 no_cppunit=""
48869 if test "$CPPUNIT_CONFIG" = "no" ; then
48870 no_cppunit=yes
48871 else
48872 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48873 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48874 cppunit_version=`$CPPUNIT_CONFIG --version`
48875
48876 cppunit_major_version=`echo $cppunit_version | \
48877 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48878 cppunit_minor_version=`echo $cppunit_version | \
48879 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48880 cppunit_micro_version=`echo $cppunit_version | \
48881 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48882
48883 cppunit_major_min=`echo $cppunit_version_min | \
48884 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48885 cppunit_minor_min=`echo $cppunit_version_min | \
48886 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48887 cppunit_micro_min=`echo $cppunit_version_min | \
48888 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48889
48890 cppunit_version_proper=`expr \
48891 $cppunit_major_version \> $cppunit_major_min \| \
48892 $cppunit_major_version \= $cppunit_major_min \& \
48893 $cppunit_minor_version \> $cppunit_minor_min \| \
48894 $cppunit_major_version \= $cppunit_major_min \& \
48895 $cppunit_minor_version \= $cppunit_minor_min \& \
48896 $cppunit_micro_version \>= $cppunit_micro_min `
48897
48898 if test "$cppunit_version_proper" = "1" ; then
48899 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48900 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
48901 else
48902 echo "$as_me:$LINENO: result: no" >&5
48903 echo "${ECHO_T}no" >&6
48904 no_cppunit=yes
48905 fi
48906 fi
48907
48908 if test "x$no_cppunit" = x ; then
48909 SUBDIRS="$SUBDIRS tests"
48910 else
48911 CPPUNIT_CFLAGS=""
48912 CPPUNIT_LIBS=""
48913 :
48914 fi
48915
48916
48917
48918
48919
48920 for subdir in `echo $SUBDIRS`; do
48921 if test -d ${srcdir}/${subdir} ; then
48922 if test "$wxUSE_GUI" = "yes"; then
48923 if test ${subdir} = "samples"; then
48924 makefiles="samples/Makefile.in $makefiles"
48925 for sample in `echo $SAMPLES_SUBDIRS`; do
48926 if test -d $srcdir/samples/$sample; then
48927 makefiles="samples/$sample/Makefile.in $makefiles"
48928 fi
48929 done
48930 else
48931 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
48932 eval "disabled=\$$disabled_var"
48933 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
48934 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
48935 fi
48936 else if test ${subdir} = "samples"; then
48937 makefiles="samples/Makefile.in samples/console/Makefile.in"
48938 elif test ${subdir} = "utils"; then
48939 makefiles=""
48940 for util in HelpGen tex2rtf ; do
48941 if test -d $srcdir/utils/$util ; then
48942 makefiles="utils/$util/Makefile.in \
48943 utils/$util/src/Makefile.in \
48944 $makefiles"
48945 fi
48946 done
48947 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
48948 fi
48949 fi
48950
48951 for mkin in $makefiles ; do
48952 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48953 ac_config_files="$ac_config_files $mk"
48954
48955 done
48956 fi
48957 done
48958 fi
48959 cat >confcache <<\_ACEOF
48960 # This file is a shell script that caches the results of configure
48961 # tests run on this system so they can be shared between configure
48962 # scripts and configure runs, see configure's option --config-cache.
48963 # It is not useful on other systems. If it contains results you don't
48964 # want to keep, you may remove or edit it.
48965 #
48966 # config.status only pays attention to the cache file if you give it
48967 # the --recheck option to rerun configure.
48968 #
48969 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48970 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48971 # following values.
48972
48973 _ACEOF
48974
48975 # The following way of writing the cache mishandles newlines in values,
48976 # but we know of no workaround that is simple, portable, and efficient.
48977 # So, don't put newlines in cache variables' values.
48978 # Ultrix sh set writes to stderr and can't be redirected directly,
48979 # and sets the high bit in the cache file unless we assign to the vars.
48980 {
48981 (set) 2>&1 |
48982 case `(ac_space=' '; set | grep ac_space) 2>&1` in
48983 *ac_space=\ *)
48984 # `set' does not quote correctly, so add quotes (double-quote
48985 # substitution turns \\\\ into \\, and sed turns \\ into \).
48986 sed -n \
48987 "s/'/'\\\\''/g;
48988 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48989 ;;
48990 *)
48991 # `set' quotes correctly as required by POSIX, so do not add quotes.
48992 sed -n \
48993 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
48994 ;;
48995 esac;
48996 } |
48997 sed '
48998 t clear
48999 : clear
49000 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49001 t end
49002 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49003 : end' >>confcache
49004 if diff $cache_file confcache >/dev/null 2>&1; then :; else
49005 if test -w $cache_file; then
49006 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49007 cat confcache >$cache_file
49008 else
49009 echo "not updating unwritable cache $cache_file"
49010 fi
49011 fi
49012 rm -f confcache
49013
49014 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49015 # Let make expand exec_prefix.
49016 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49017
49018 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49019 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49020 # trailing colons and then remove the whole line if VPATH becomes empty
49021 # (actually we leave an empty line to preserve line numbers).
49022 if test "x$srcdir" = x.; then
49023 ac_vpsub='/^[ ]*VPATH[ ]*=/{
49024 s/:*\$(srcdir):*/:/;
49025 s/:*\${srcdir}:*/:/;
49026 s/:*@srcdir@:*/:/;
49027 s/^\([^=]*=[ ]*\):*/\1/;
49028 s/:*$//;
49029 s/^[^=]*=[ ]*$//;
49030 }'
49031 fi
49032
49033 DEFS=-DHAVE_CONFIG_H
49034
49035 ac_libobjs=
49036 ac_ltlibobjs=
49037 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49038 # 1. Remove the extension, and $U if already installed.
49039 ac_i=`echo "$ac_i" |
49040 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49041 # 2. Add them.
49042 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
49043 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
49044 done
49045 LIBOBJS=$ac_libobjs
49046
49047 LTLIBOBJS=$ac_ltlibobjs
49048
49049
49050
49051 : ${CONFIG_STATUS=./config.status}
49052 ac_clean_files_save=$ac_clean_files
49053 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49054 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49055 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49056 cat >$CONFIG_STATUS <<_ACEOF
49057 #! $SHELL
49058 # Generated by $as_me.
49059 # Run this file to recreate the current configuration.
49060 # Compiler output produced by configure, useful for debugging
49061 # configure, is in config.log if it exists.
49062
49063 debug=false
49064 ac_cs_recheck=false
49065 ac_cs_silent=false
49066 SHELL=\${CONFIG_SHELL-$SHELL}
49067 _ACEOF
49068
49069 cat >>$CONFIG_STATUS <<\_ACEOF
49070 ## --------------------- ##
49071 ## M4sh Initialization. ##
49072 ## --------------------- ##
49073
49074 # Be Bourne compatible
49075 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49076 emulate sh
49077 NULLCMD=:
49078 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49079 # is contrary to our usage. Disable this feature.
49080 alias -g '${1+"$@"}'='"$@"'
49081 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
49082 set -o posix
49083 fi
49084 DUALCASE=1; export DUALCASE # for MKS sh
49085
49086 # Support unset when possible.
49087 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49088 as_unset=unset
49089 else
49090 as_unset=false
49091 fi
49092
49093
49094 # Work around bugs in pre-3.0 UWIN ksh.
49095 $as_unset ENV MAIL MAILPATH
49096 PS1='$ '
49097 PS2='> '
49098 PS4='+ '
49099
49100 # NLS nuisances.
49101 for as_var in \
49102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49104 LC_TELEPHONE LC_TIME
49105 do
49106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49107 eval $as_var=C; export $as_var
49108 else
49109 $as_unset $as_var
49110 fi
49111 done
49112
49113 # Required to use basename.
49114 if expr a : '\(a\)' >/dev/null 2>&1; then
49115 as_expr=expr
49116 else
49117 as_expr=false
49118 fi
49119
49120 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
49121 as_basename=basename
49122 else
49123 as_basename=false
49124 fi
49125
49126
49127 # Name of the executable.
49128 as_me=`$as_basename "$0" ||
49129 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49130 X"$0" : 'X\(//\)$' \| \
49131 X"$0" : 'X\(/\)$' \| \
49132 . : '\(.\)' 2>/dev/null ||
49133 echo X/"$0" |
49134 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
49135 /^X\/\(\/\/\)$/{ s//\1/; q; }
49136 /^X\/\(\/\).*/{ s//\1/; q; }
49137 s/.*/./; q'`
49138
49139
49140 # PATH needs CR, and LINENO needs CR and PATH.
49141 # Avoid depending upon Character Ranges.
49142 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49143 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49144 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49145 as_cr_digits='0123456789'
49146 as_cr_alnum=$as_cr_Letters$as_cr_digits
49147
49148 # The user is always right.
49149 if test "${PATH_SEPARATOR+set}" != set; then
49150 echo "#! /bin/sh" >conf$$.sh
49151 echo "exit 0" >>conf$$.sh
49152 chmod +x conf$$.sh
49153 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49154 PATH_SEPARATOR=';'
49155 else
49156 PATH_SEPARATOR=:
49157 fi
49158 rm -f conf$$.sh
49159 fi
49160
49161
49162 as_lineno_1=$LINENO
49163 as_lineno_2=$LINENO
49164 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49165 test "x$as_lineno_1" != "x$as_lineno_2" &&
49166 test "x$as_lineno_3" = "x$as_lineno_2" || {
49167 # Find who we are. Look in the path if we contain no path at all
49168 # relative or not.
49169 case $0 in
49170 *[\\/]* ) as_myself=$0 ;;
49171 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49172 for as_dir in $PATH
49173 do
49174 IFS=$as_save_IFS
49175 test -z "$as_dir" && as_dir=.
49176 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49177 done
49178
49179 ;;
49180 esac
49181 # We did not find ourselves, most probably we were run as `sh COMMAND'
49182 # in which case we are not to be found in the path.
49183 if test "x$as_myself" = x; then
49184 as_myself=$0
49185 fi
49186 if test ! -f "$as_myself"; then
49187 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
49188 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
49189 { (exit 1); exit 1; }; }
49190 fi
49191 case $CONFIG_SHELL in
49192 '')
49193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
49195 do
49196 IFS=$as_save_IFS
49197 test -z "$as_dir" && as_dir=.
49198 for as_base in sh bash ksh sh5; do
49199 case $as_dir in
49200 /*)
49201 if ("$as_dir/$as_base" -c '
49202 as_lineno_1=$LINENO
49203 as_lineno_2=$LINENO
49204 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
49205 test "x$as_lineno_1" != "x$as_lineno_2" &&
49206 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
49207 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
49208 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
49209 CONFIG_SHELL=$as_dir/$as_base
49210 export CONFIG_SHELL
49211 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
49212 fi;;
49213 esac
49214 done
49215 done
49216 ;;
49217 esac
49218
49219 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49220 # uniformly replaced by the line number. The first 'sed' inserts a
49221 # line-number line before each line; the second 'sed' does the real
49222 # work. The second script uses 'N' to pair each line-number line
49223 # with the numbered line, and appends trailing '-' during
49224 # substitution so that $LINENO is not a special case at line end.
49225 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49226 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
49227 sed '=' <$as_myself |
49228 sed '
49229 N
49230 s,$,-,
49231 : loop
49232 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
49233 t loop
49234 s,-$,,
49235 s,^['$as_cr_digits']*\n,,
49236 ' >$as_me.lineno &&
49237 chmod +x $as_me.lineno ||
49238 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
49239 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
49240 { (exit 1); exit 1; }; }
49241
49242 # Don't try to exec as it changes $[0], causing all sort of problems
49243 # (the dirname of $[0] is not the place where we might find the
49244 # original and so on. Autoconf is especially sensible to this).
49245 . ./$as_me.lineno
49246 # Exit status is that of the last command.
49247 exit
49248 }
49249
49250
49251 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
49252 *c*,-n*) ECHO_N= ECHO_C='
49253 ' ECHO_T=' ' ;;
49254 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
49255 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
49256 esac
49257
49258 if expr a : '\(a\)' >/dev/null 2>&1; then
49259 as_expr=expr
49260 else
49261 as_expr=false
49262 fi
49263
49264 rm -f conf$$ conf$$.exe conf$$.file
49265 echo >conf$$.file
49266 if ln -s conf$$.file conf$$ 2>/dev/null; then
49267 # We could just check for DJGPP; but this test a) works b) is more generic
49268 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
49269 if test -f conf$$.exe; then
49270 # Don't use ln at all; we don't have any links
49271 as_ln_s='cp -p'
49272 else
49273 as_ln_s='ln -s'
49274 fi
49275 elif ln conf$$.file conf$$ 2>/dev/null; then
49276 as_ln_s=ln
49277 else
49278 as_ln_s='cp -p'
49279 fi
49280 rm -f conf$$ conf$$.exe conf$$.file
49281
49282 if mkdir -p . 2>/dev/null; then
49283 as_mkdir_p=:
49284 else
49285 test -d ./-p && rmdir ./-p
49286 as_mkdir_p=false
49287 fi
49288
49289 as_executable_p="test -f"
49290
49291 # Sed expression to map a string onto a valid CPP name.
49292 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49293
49294 # Sed expression to map a string onto a valid variable name.
49295 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49296
49297
49298 # IFS
49299 # We need space, tab and new line, in precisely that order.
49300 as_nl='
49301 '
49302 IFS=" $as_nl"
49303
49304 # CDPATH.
49305 $as_unset CDPATH
49306
49307 exec 6>&1
49308
49309 # Open the log real soon, to keep \$[0] and so on meaningful, and to
49310 # report actual input values of CONFIG_FILES etc. instead of their
49311 # values after options handling. Logging --version etc. is OK.
49312 exec 5>>config.log
49313 {
49314 echo
49315 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49316 ## Running $as_me. ##
49317 _ASBOX
49318 } >&5
49319 cat >&5 <<_CSEOF
49320
49321 This file was extended by wxWidgets $as_me 2.7.0, which was
49322 generated by GNU Autoconf 2.59. Invocation command line was
49323
49324 CONFIG_FILES = $CONFIG_FILES
49325 CONFIG_HEADERS = $CONFIG_HEADERS
49326 CONFIG_LINKS = $CONFIG_LINKS
49327 CONFIG_COMMANDS = $CONFIG_COMMANDS
49328 $ $0 $@
49329
49330 _CSEOF
49331 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
49332 echo >&5
49333 _ACEOF
49334
49335 # Files that config.status was made for.
49336 if test -n "$ac_config_files"; then
49337 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
49338 fi
49339
49340 if test -n "$ac_config_headers"; then
49341 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
49342 fi
49343
49344 if test -n "$ac_config_links"; then
49345 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
49346 fi
49347
49348 if test -n "$ac_config_commands"; then
49349 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
49350 fi
49351
49352 cat >>$CONFIG_STATUS <<\_ACEOF
49353
49354 ac_cs_usage="\
49355 \`$as_me' instantiates files from templates according to the
49356 current configuration.
49357
49358 Usage: $0 [OPTIONS] [FILE]...
49359
49360 -h, --help print this help, then exit
49361 -V, --version print version number, then exit
49362 -q, --quiet do not print progress messages
49363 -d, --debug don't remove temporary files
49364 --recheck update $as_me by reconfiguring in the same conditions
49365 --file=FILE[:TEMPLATE]
49366 instantiate the configuration file FILE
49367 --header=FILE[:TEMPLATE]
49368 instantiate the configuration header FILE
49369
49370 Configuration files:
49371 $config_files
49372
49373 Configuration headers:
49374 $config_headers
49375
49376 Configuration commands:
49377 $config_commands
49378
49379 Report bugs to <bug-autoconf@gnu.org>."
49380 _ACEOF
49381
49382 cat >>$CONFIG_STATUS <<_ACEOF
49383 ac_cs_version="\\
49384 wxWidgets config.status 2.7.0
49385 configured by $0, generated by GNU Autoconf 2.59,
49386 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
49387
49388 Copyright (C) 2003 Free Software Foundation, Inc.
49389 This config.status script is free software; the Free Software Foundation
49390 gives unlimited permission to copy, distribute and modify it."
49391 srcdir=$srcdir
49392 INSTALL="$INSTALL"
49393 _ACEOF
49394
49395 cat >>$CONFIG_STATUS <<\_ACEOF
49396 # If no file are specified by the user, then we need to provide default
49397 # value. By we need to know if files were specified by the user.
49398 ac_need_defaults=:
49399 while test $# != 0
49400 do
49401 case $1 in
49402 --*=*)
49403 ac_option=`expr "x$1" : 'x\([^=]*\)='`
49404 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
49405 ac_shift=:
49406 ;;
49407 -*)
49408 ac_option=$1
49409 ac_optarg=$2
49410 ac_shift=shift
49411 ;;
49412 *) # This is not an option, so the user has probably given explicit
49413 # arguments.
49414 ac_option=$1
49415 ac_need_defaults=false;;
49416 esac
49417
49418 case $ac_option in
49419 # Handling of the options.
49420 _ACEOF
49421 cat >>$CONFIG_STATUS <<\_ACEOF
49422 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49423 ac_cs_recheck=: ;;
49424 --version | --vers* | -V )
49425 echo "$ac_cs_version"; exit 0 ;;
49426 --he | --h)
49427 # Conflict between --help and --header
49428 { { echo "$as_me:$LINENO: error: ambiguous option: $1
49429 Try \`$0 --help' for more information." >&5
49430 echo "$as_me: error: ambiguous option: $1
49431 Try \`$0 --help' for more information." >&2;}
49432 { (exit 1); exit 1; }; };;
49433 --help | --hel | -h )
49434 echo "$ac_cs_usage"; exit 0 ;;
49435 --debug | --d* | -d )
49436 debug=: ;;
49437 --file | --fil | --fi | --f )
49438 $ac_shift
49439 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49440 ac_need_defaults=false;;
49441 --header | --heade | --head | --hea )
49442 $ac_shift
49443 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49444 ac_need_defaults=false;;
49445 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49446 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49447 ac_cs_silent=: ;;
49448
49449 # This is an error.
49450 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
49451 Try \`$0 --help' for more information." >&5
49452 echo "$as_me: error: unrecognized option: $1
49453 Try \`$0 --help' for more information." >&2;}
49454 { (exit 1); exit 1; }; } ;;
49455
49456 *) ac_config_targets="$ac_config_targets $1" ;;
49457
49458 esac
49459 shift
49460 done
49461
49462 ac_configure_extra_args=
49463
49464 if $ac_cs_silent; then
49465 exec 6>/dev/null
49466 ac_configure_extra_args="$ac_configure_extra_args --silent"
49467 fi
49468
49469 _ACEOF
49470 cat >>$CONFIG_STATUS <<_ACEOF
49471 if \$ac_cs_recheck; then
49472 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49473 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49474 fi
49475
49476 _ACEOF
49477
49478 cat >>$CONFIG_STATUS <<_ACEOF
49479 #
49480 # INIT-COMMANDS section.
49481 #
49482
49483
49484 CPP="$CPP"
49485 infile="$srcdir/include/wx/msw/genrcdefs.h"
49486 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49487
49488
49489 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49490 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49491 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49492 LN_S="${LN_S}"
49493
49494
49495 _ACEOF
49496
49497
49498
49499 cat >>$CONFIG_STATUS <<\_ACEOF
49500 for ac_config_target in $ac_config_targets
49501 do
49502 case "$ac_config_target" in
49503 # Handling of arguments.
49504 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49505 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49506 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
49507 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49508 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
49509 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49510 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49511 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49512 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49513 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49514 { (exit 1); exit 1; }; };;
49515 esac
49516 done
49517
49518 # If the user did not use the arguments to specify the items to instantiate,
49519 # then the envvar interface is used. Set only those that are not.
49520 # We use the long form for the default assignment because of an extremely
49521 # bizarre bug on SunOS 4.1.3.
49522 if $ac_need_defaults; then
49523 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49524 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49525 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49526 fi
49527
49528 # Have a temporary directory for convenience. Make it in the build tree
49529 # simply because there is no reason to put it here, and in addition,
49530 # creating and moving files from /tmp can sometimes cause problems.
49531 # Create a temporary directory, and hook for its removal unless debugging.
49532 $debug ||
49533 {
49534 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
49535 trap '{ (exit 1); exit 1; }' 1 2 13 15
49536 }
49537
49538 # Create a (secure) tmp directory for tmp files.
49539
49540 {
49541 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
49542 test -n "$tmp" && test -d "$tmp"
49543 } ||
49544 {
49545 tmp=./confstat$$-$RANDOM
49546 (umask 077 && mkdir $tmp)
49547 } ||
49548 {
49549 echo "$me: cannot create a temporary directory in ." >&2
49550 { (exit 1); exit 1; }
49551 }
49552
49553 _ACEOF
49554
49555 cat >>$CONFIG_STATUS <<_ACEOF
49556
49557 #
49558 # CONFIG_FILES section.
49559 #
49560
49561 # No need to generate the scripts if there are no CONFIG_FILES.
49562 # This happens for instance when ./config.status config.h
49563 if test -n "\$CONFIG_FILES"; then
49564 # Protect against being on the right side of a sed subst in config.status.
49565 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
49566 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
49567 s,@SHELL@,$SHELL,;t t
49568 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
49569 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
49570 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
49571 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
49572 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
49573 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
49574 s,@exec_prefix@,$exec_prefix,;t t
49575 s,@prefix@,$prefix,;t t
49576 s,@program_transform_name@,$program_transform_name,;t t
49577 s,@bindir@,$bindir,;t t
49578 s,@sbindir@,$sbindir,;t t
49579 s,@libexecdir@,$libexecdir,;t t
49580 s,@datadir@,$datadir,;t t
49581 s,@sysconfdir@,$sysconfdir,;t t
49582 s,@sharedstatedir@,$sharedstatedir,;t t
49583 s,@localstatedir@,$localstatedir,;t t
49584 s,@libdir@,$libdir,;t t
49585 s,@includedir@,$includedir,;t t
49586 s,@oldincludedir@,$oldincludedir,;t t
49587 s,@infodir@,$infodir,;t t
49588 s,@mandir@,$mandir,;t t
49589 s,@build_alias@,$build_alias,;t t
49590 s,@host_alias@,$host_alias,;t t
49591 s,@target_alias@,$target_alias,;t t
49592 s,@DEFS@,$DEFS,;t t
49593 s,@ECHO_C@,$ECHO_C,;t t
49594 s,@ECHO_N@,$ECHO_N,;t t
49595 s,@ECHO_T@,$ECHO_T,;t t
49596 s,@LIBS@,$LIBS,;t t
49597 s,@build@,$build,;t t
49598 s,@build_cpu@,$build_cpu,;t t
49599 s,@build_vendor@,$build_vendor,;t t
49600 s,@build_os@,$build_os,;t t
49601 s,@host@,$host,;t t
49602 s,@host_cpu@,$host_cpu,;t t
49603 s,@host_vendor@,$host_vendor,;t t
49604 s,@host_os@,$host_os,;t t
49605 s,@target@,$target,;t t
49606 s,@target_cpu@,$target_cpu,;t t
49607 s,@target_vendor@,$target_vendor,;t t
49608 s,@target_os@,$target_os,;t t
49609 s,@CC@,$CC,;t t
49610 s,@CFLAGS@,$CFLAGS,;t t
49611 s,@LDFLAGS@,$LDFLAGS,;t t
49612 s,@CPPFLAGS@,$CPPFLAGS,;t t
49613 s,@ac_ct_CC@,$ac_ct_CC,;t t
49614 s,@EXEEXT@,$EXEEXT,;t t
49615 s,@OBJEXT@,$OBJEXT,;t t
49616 s,@CPP@,$CPP,;t t
49617 s,@EGREP@,$EGREP,;t t
49618 s,@CXX@,$CXX,;t t
49619 s,@CXXFLAGS@,$CXXFLAGS,;t t
49620 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
49621 s,@RANLIB@,$RANLIB,;t t
49622 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
49623 s,@AR@,$AR,;t t
49624 s,@ac_ct_AR@,$ac_ct_AR,;t t
49625 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
49626 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
49627 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
49628 s,@STRIP@,$STRIP,;t t
49629 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
49630 s,@WINDRES@,$WINDRES,;t t
49631 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
49632 s,@DLLTOOL@,$DLLTOOL,;t t
49633 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
49634 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
49635 s,@LN_S@,$LN_S,;t t
49636 s,@CXXCPP@,$CXXCPP,;t t
49637 s,@subdirs@,$subdirs,;t t
49638 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
49639 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
49640 s,@GTK_LIBS@,$GTK_LIBS,;t t
49641 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
49642 s,@X_CFLAGS@,$X_CFLAGS,;t t
49643 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
49644 s,@X_LIBS@,$X_LIBS,;t t
49645 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
49646 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
49647 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
49648 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
49649 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
49650 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
49651 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
49652 s,@REZ@,$REZ,;t t
49653 s,@DEREZ@,$DEREZ,;t t
49654 s,@SETFILE@,$SETFILE,;t t
49655 s,@LIBICONV@,$LIBICONV,;t t
49656 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
49657 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
49658 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
49659 s,@SDL_LIBS@,$SDL_LIBS,;t t
49660 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
49661 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
49662 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
49663 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
49664 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
49665 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
49666 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
49667 s,@GST_LIBS@,$GST_LIBS,;t t
49668 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
49669 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
49670 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
49671 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
49672 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
49673 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
49674 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
49675 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
49676 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
49677 s,@VENDOR@,$VENDOR,;t t
49678 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
49679 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
49680 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
49681 s,@WXUNIV@,$WXUNIV,;t t
49682 s,@MONOLITHIC@,$MONOLITHIC,;t t
49683 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
49684 s,@EXTRALIBS@,$EXTRALIBS,;t t
49685 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
49686 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
49687 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
49688 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
49689 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
49690 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
49691 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
49692 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
49693 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
49694 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
49695 s,@UNICODE@,$UNICODE,;t t
49696 s,@BUILD@,$BUILD,;t t
49697 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
49698 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
49699 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
49700 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
49701 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
49702 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
49703 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
49704 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
49705 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
49706 s,@SET_MAKE@,$SET_MAKE,;t t
49707 s,@MAKE_SET@,$MAKE_SET,;t t
49708 s,@NM@,$NM,;t t
49709 s,@ac_ct_NM@,$ac_ct_NM,;t t
49710 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
49711 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
49712 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
49713 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
49714 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
49715 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
49716 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
49717 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
49718 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
49719 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
49720 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
49721 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
49722 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
49723 s,@LIBPREFIX@,$LIBPREFIX,;t t
49724 s,@LIBEXT@,$LIBEXT,;t t
49725 s,@DLLPREFIX@,$DLLPREFIX,;t t
49726 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
49727 s,@dlldir@,$dlldir,;t t
49728 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
49729 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
49730 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
49731 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
49732 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
49733 s,@PIC_FLAG@,$PIC_FLAG,;t t
49734 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
49735 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
49736 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
49737 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
49738 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
49739 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
49740 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
49741 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
49742 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
49743 s,@GCC_PCH@,$GCC_PCH,;t t
49744 s,@ICC_PCH@,$ICC_PCH,;t t
49745 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
49746 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
49747 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
49748 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
49749 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
49750 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
49751 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
49752 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
49753 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
49754 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
49755 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
49756 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
49757 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
49758 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
49759 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
49760 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
49761 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
49762 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
49763 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
49764 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
49765 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
49766 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
49767 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
49768 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
49769 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
49770 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
49771 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
49772 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
49773 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
49774 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
49775 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
49776 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
49777 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
49778 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
49779 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
49780 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
49781 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
49782 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
49783 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
49784 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
49785 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
49786 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
49787 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
49788 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
49789 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
49790 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
49791 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
49792 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
49793 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
49794 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
49795 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
49796 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
49797 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
49798 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
49799 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
49800 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
49801 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
49802 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
49803 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
49804 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
49805 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
49806 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
49807 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
49808 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
49809 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
49810 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
49811 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
49812 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
49813 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
49814 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
49815 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
49816 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
49817 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
49818 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49819 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49820 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49821 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
49822 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
49823 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
49824 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
49825 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
49826 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
49827 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
49828 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
49829 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
49830 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
49831 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
49832 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
49833 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
49834 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
49835 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
49836 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
49837 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
49838 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
49839 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
49840 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
49841 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
49842 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
49843 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
49844 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
49845 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
49846 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
49847 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
49848 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
49849 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
49850 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
49851 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
49852 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
49853 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
49854 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
49855 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
49856 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
49857 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
49858 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
49859 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
49860 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
49861 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
49862 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
49863 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
49864 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
49865 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
49866 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
49867 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
49868 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
49869 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
49870 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
49871 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
49872 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
49873 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
49874 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
49875 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
49876 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
49877 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
49878 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
49879 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
49880 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
49881 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
49882 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
49883 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
49884 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
49885 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
49886 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
49887 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
49888 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
49889 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
49890 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
49891 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
49892 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
49893 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
49894 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
49895 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
49896 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
49897 s,@SHARED@,$SHARED,;t t
49898 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
49899 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
49900 s,@USE_GUI@,$USE_GUI,;t t
49901 s,@AFMINSTALL@,$AFMINSTALL,;t t
49902 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
49903 s,@TOOLKIT@,$TOOLKIT,;t t
49904 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
49905 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
49906 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
49907 s,@cross_compiling@,$cross_compiling,;t t
49908 s,@WIDGET_SET@,$WIDGET_SET,;t t
49909 s,@WX_RELEASE@,$WX_RELEASE,;t t
49910 s,@WX_VERSION@,$WX_VERSION,;t t
49911 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
49912 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
49913 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
49914 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
49915 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
49916 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
49917 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
49918 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
49919 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
49920 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
49921 s,@EXE_LINKER@,$EXE_LINKER,;t t
49922 s,@GUIDIST@,$GUIDIST,;t t
49923 s,@DISTDIR@,$DISTDIR,;t t
49924 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
49925 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
49926 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
49927 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
49928 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
49929 s,@RESCOMP@,$RESCOMP,;t t
49930 s,@RESFLAGS@,$RESFLAGS,;t t
49931 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
49932 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
49933 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
49934 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
49935 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
49936 s,@MACSETFILE@,$MACSETFILE,;t t
49937 s,@GCC@,$GCC,;t t
49938 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
49939 s,@LIBOBJS@,$LIBOBJS,;t t
49940 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
49941 CEOF
49942
49943 _ACEOF
49944
49945 cat >>$CONFIG_STATUS <<\_ACEOF
49946 # Split the substitutions into bite-sized pieces for seds with
49947 # small command number limits, like on Digital OSF/1 and HP-UX.
49948 ac_max_sed_lines=48
49949 ac_sed_frag=1 # Number of current file.
49950 ac_beg=1 # First line for current file.
49951 ac_end=$ac_max_sed_lines # Line after last line for current file.
49952 ac_more_lines=:
49953 ac_sed_cmds=
49954 while $ac_more_lines; do
49955 if test $ac_beg -gt 1; then
49956 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
49957 else
49958 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
49959 fi
49960 if test ! -s $tmp/subs.frag; then
49961 ac_more_lines=false
49962 else
49963 # The purpose of the label and of the branching condition is to
49964 # speed up the sed processing (if there are no `@' at all, there
49965 # is no need to browse any of the substitutions).
49966 # These are the two extra sed commands mentioned above.
49967 (echo ':t
49968 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
49969 if test -z "$ac_sed_cmds"; then
49970 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
49971 else
49972 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
49973 fi
49974 ac_sed_frag=`expr $ac_sed_frag + 1`
49975 ac_beg=$ac_end
49976 ac_end=`expr $ac_end + $ac_max_sed_lines`
49977 fi
49978 done
49979 if test -z "$ac_sed_cmds"; then
49980 ac_sed_cmds=cat
49981 fi
49982 fi # test -n "$CONFIG_FILES"
49983
49984 _ACEOF
49985 cat >>$CONFIG_STATUS <<\_ACEOF
49986 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
49987 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
49988 case $ac_file in
49989 - | *:- | *:-:* ) # input from stdin
49990 cat >$tmp/stdin
49991 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49992 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49993 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
49994 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
49995 * ) ac_file_in=$ac_file.in ;;
49996 esac
49997
49998 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
49999 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50000 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50001 X"$ac_file" : 'X\(//\)[^/]' \| \
50002 X"$ac_file" : 'X\(//\)$' \| \
50003 X"$ac_file" : 'X\(/\)' \| \
50004 . : '\(.\)' 2>/dev/null ||
50005 echo X"$ac_file" |
50006 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50007 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50008 /^X\(\/\/\)$/{ s//\1/; q; }
50009 /^X\(\/\).*/{ s//\1/; q; }
50010 s/.*/./; q'`
50011 { if $as_mkdir_p; then
50012 mkdir -p "$ac_dir"
50013 else
50014 as_dir="$ac_dir"
50015 as_dirs=
50016 while test ! -d "$as_dir"; do
50017 as_dirs="$as_dir $as_dirs"
50018 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50019 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50020 X"$as_dir" : 'X\(//\)[^/]' \| \
50021 X"$as_dir" : 'X\(//\)$' \| \
50022 X"$as_dir" : 'X\(/\)' \| \
50023 . : '\(.\)' 2>/dev/null ||
50024 echo X"$as_dir" |
50025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50026 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50027 /^X\(\/\/\)$/{ s//\1/; q; }
50028 /^X\(\/\).*/{ s//\1/; q; }
50029 s/.*/./; q'`
50030 done
50031 test ! -n "$as_dirs" || mkdir $as_dirs
50032 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50033 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50034 { (exit 1); exit 1; }; }; }
50035
50036 ac_builddir=.
50037
50038 if test "$ac_dir" != .; then
50039 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50040 # A "../" for each directory in $ac_dir_suffix.
50041 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50042 else
50043 ac_dir_suffix= ac_top_builddir=
50044 fi
50045
50046 case $srcdir in
50047 .) # No --srcdir option. We are building in place.
50048 ac_srcdir=.
50049 if test -z "$ac_top_builddir"; then
50050 ac_top_srcdir=.
50051 else
50052 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50053 fi ;;
50054 [\\/]* | ?:[\\/]* ) # Absolute path.
50055 ac_srcdir=$srcdir$ac_dir_suffix;
50056 ac_top_srcdir=$srcdir ;;
50057 *) # Relative path.
50058 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50059 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50060 esac
50061
50062 # Do not use `cd foo && pwd` to compute absolute paths, because
50063 # the directories may not exist.
50064 case `pwd` in
50065 .) ac_abs_builddir="$ac_dir";;
50066 *)
50067 case "$ac_dir" in
50068 .) ac_abs_builddir=`pwd`;;
50069 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50070 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50071 esac;;
50072 esac
50073 case $ac_abs_builddir in
50074 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50075 *)
50076 case ${ac_top_builddir}. in
50077 .) ac_abs_top_builddir=$ac_abs_builddir;;
50078 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50079 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50080 esac;;
50081 esac
50082 case $ac_abs_builddir in
50083 .) ac_abs_srcdir=$ac_srcdir;;
50084 *)
50085 case $ac_srcdir in
50086 .) ac_abs_srcdir=$ac_abs_builddir;;
50087 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50088 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50089 esac;;
50090 esac
50091 case $ac_abs_builddir in
50092 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50093 *)
50094 case $ac_top_srcdir in
50095 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50096 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50097 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50098 esac;;
50099 esac
50100
50101
50102 case $INSTALL in
50103 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50104 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
50105 esac
50106
50107 # Let's still pretend it is `configure' which instantiates (i.e., don't
50108 # use $as_me), people would be surprised to read:
50109 # /* config.h. Generated by config.status. */
50110 if test x"$ac_file" = x-; then
50111 configure_input=
50112 else
50113 configure_input="$ac_file. "
50114 fi
50115 configure_input=$configure_input"Generated from `echo $ac_file_in |
50116 sed 's,.*/,,'` by configure."
50117
50118 # First look for the input files in the build tree, otherwise in the
50119 # src tree.
50120 ac_file_inputs=`IFS=:
50121 for f in $ac_file_in; do
50122 case $f in
50123 -) echo $tmp/stdin ;;
50124 [\\/$]*)
50125 # Absolute (can't be DOS-style, as IFS=:)
50126 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50127 echo "$as_me: error: cannot find input file: $f" >&2;}
50128 { (exit 1); exit 1; }; }
50129 echo "$f";;
50130 *) # Relative
50131 if test -f "$f"; then
50132 # Build tree
50133 echo "$f"
50134 elif test -f "$srcdir/$f"; then
50135 # Source tree
50136 echo "$srcdir/$f"
50137 else
50138 # /dev/null tree
50139 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50140 echo "$as_me: error: cannot find input file: $f" >&2;}
50141 { (exit 1); exit 1; }; }
50142 fi;;
50143 esac
50144 done` || { (exit 1); exit 1; }
50145
50146 if test x"$ac_file" != x-; then
50147 { echo "$as_me:$LINENO: creating $ac_file" >&5
50148 echo "$as_me: creating $ac_file" >&6;}
50149 rm -f "$ac_file"
50150 fi
50151 _ACEOF
50152 cat >>$CONFIG_STATUS <<_ACEOF
50153 sed "$ac_vpsub
50154 $extrasub
50155 _ACEOF
50156 cat >>$CONFIG_STATUS <<\_ACEOF
50157 :t
50158 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50159 s,@configure_input@,$configure_input,;t t
50160 s,@srcdir@,$ac_srcdir,;t t
50161 s,@abs_srcdir@,$ac_abs_srcdir,;t t
50162 s,@top_srcdir@,$ac_top_srcdir,;t t
50163 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
50164 s,@builddir@,$ac_builddir,;t t
50165 s,@abs_builddir@,$ac_abs_builddir,;t t
50166 s,@top_builddir@,$ac_top_builddir,;t t
50167 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
50168 s,@INSTALL@,$ac_INSTALL,;t t
50169 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
50170 rm -f $tmp/stdin
50171 if test x"$ac_file" != x-; then
50172 mv $tmp/out $ac_file
50173 else
50174 cat $tmp/out
50175 rm -f $tmp/out
50176 fi
50177
50178 # Run the commands associated with the file.
50179 case $ac_file in
50180 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50181 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50182 esac
50183 done
50184 _ACEOF
50185 cat >>$CONFIG_STATUS <<\_ACEOF
50186
50187 #
50188 # CONFIG_HEADER section.
50189 #
50190
50191 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
50192 # NAME is the cpp macro being defined and VALUE is the value it is being given.
50193 #
50194 # ac_d sets the value in "#define NAME VALUE" lines.
50195 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
50196 ac_dB='[ ].*$,\1#\2'
50197 ac_dC=' '
50198 ac_dD=',;t'
50199 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
50200 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
50201 ac_uB='$,\1#\2define\3'
50202 ac_uC=' '
50203 ac_uD=',;t'
50204
50205 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
50206 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50207 case $ac_file in
50208 - | *:- | *:-:* ) # input from stdin
50209 cat >$tmp/stdin
50210 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50211 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50212 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50213 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50214 * ) ac_file_in=$ac_file.in ;;
50215 esac
50216
50217 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
50218 echo "$as_me: creating $ac_file" >&6;}
50219
50220 # First look for the input files in the build tree, otherwise in the
50221 # src tree.
50222 ac_file_inputs=`IFS=:
50223 for f in $ac_file_in; do
50224 case $f in
50225 -) echo $tmp/stdin ;;
50226 [\\/$]*)
50227 # Absolute (can't be DOS-style, as IFS=:)
50228 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50229 echo "$as_me: error: cannot find input file: $f" >&2;}
50230 { (exit 1); exit 1; }; }
50231 # Do quote $f, to prevent DOS paths from being IFS'd.
50232 echo "$f";;
50233 *) # Relative
50234 if test -f "$f"; then
50235 # Build tree
50236 echo "$f"
50237 elif test -f "$srcdir/$f"; then
50238 # Source tree
50239 echo "$srcdir/$f"
50240 else
50241 # /dev/null tree
50242 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
50243 echo "$as_me: error: cannot find input file: $f" >&2;}
50244 { (exit 1); exit 1; }; }
50245 fi;;
50246 esac
50247 done` || { (exit 1); exit 1; }
50248 # Remove the trailing spaces.
50249 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
50250
50251 _ACEOF
50252
50253 # Transform confdefs.h into two sed scripts, `conftest.defines' and
50254 # `conftest.undefs', that substitutes the proper values into
50255 # config.h.in to produce config.h. The first handles `#define'
50256 # templates, and the second `#undef' templates.
50257 # And first: Protect against being on the right side of a sed subst in
50258 # config.status. Protect against being in an unquoted here document
50259 # in config.status.
50260 rm -f conftest.defines conftest.undefs
50261 # Using a here document instead of a string reduces the quoting nightmare.
50262 # Putting comments in sed scripts is not portable.
50263 #
50264 # `end' is used to avoid that the second main sed command (meant for
50265 # 0-ary CPP macros) applies to n-ary macro definitions.
50266 # See the Autoconf documentation for `clear'.
50267 cat >confdef2sed.sed <<\_ACEOF
50268 s/[\\&,]/\\&/g
50269 s,[\\$`],\\&,g
50270 t clear
50271 : clear
50272 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
50273 t end
50274 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
50275 : end
50276 _ACEOF
50277 # If some macros were called several times there might be several times
50278 # the same #defines, which is useless. Nevertheless, we may not want to
50279 # sort them, since we want the *last* AC-DEFINE to be honored.
50280 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
50281 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
50282 rm -f confdef2sed.sed
50283
50284 # This sed command replaces #undef with comments. This is necessary, for
50285 # example, in the case of _POSIX_SOURCE, which is predefined and required
50286 # on some systems where configure will not decide to define it.
50287 cat >>conftest.undefs <<\_ACEOF
50288 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
50289 _ACEOF
50290
50291 # Break up conftest.defines because some shells have a limit on the size
50292 # of here documents, and old seds have small limits too (100 cmds).
50293 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
50294 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
50295 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
50296 echo ' :' >>$CONFIG_STATUS
50297 rm -f conftest.tail
50298 while grep . conftest.defines >/dev/null
50299 do
50300 # Write a limited-size here document to $tmp/defines.sed.
50301 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
50302 # Speed up: don't consider the non `#define' lines.
50303 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
50304 # Work around the forget-to-reset-the-flag bug.
50305 echo 't clr' >>$CONFIG_STATUS
50306 echo ': clr' >>$CONFIG_STATUS
50307 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
50308 echo 'CEOF
50309 sed -f $tmp/defines.sed $tmp/in >$tmp/out
50310 rm -f $tmp/in
50311 mv $tmp/out $tmp/in
50312 ' >>$CONFIG_STATUS
50313 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
50314 rm -f conftest.defines
50315 mv conftest.tail conftest.defines
50316 done
50317 rm -f conftest.defines
50318 echo ' fi # grep' >>$CONFIG_STATUS
50319 echo >>$CONFIG_STATUS
50320
50321 # Break up conftest.undefs because some shells have a limit on the size
50322 # of here documents, and old seds have small limits too (100 cmds).
50323 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
50324 rm -f conftest.tail
50325 while grep . conftest.undefs >/dev/null
50326 do
50327 # Write a limited-size here document to $tmp/undefs.sed.
50328 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
50329 # Speed up: don't consider the non `#undef'
50330 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
50331 # Work around the forget-to-reset-the-flag bug.
50332 echo 't clr' >>$CONFIG_STATUS
50333 echo ': clr' >>$CONFIG_STATUS
50334 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
50335 echo 'CEOF
50336 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
50337 rm -f $tmp/in
50338 mv $tmp/out $tmp/in
50339 ' >>$CONFIG_STATUS
50340 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
50341 rm -f conftest.undefs
50342 mv conftest.tail conftest.undefs
50343 done
50344 rm -f conftest.undefs
50345
50346 cat >>$CONFIG_STATUS <<\_ACEOF
50347 # Let's still pretend it is `configure' which instantiates (i.e., don't
50348 # use $as_me), people would be surprised to read:
50349 # /* config.h. Generated by config.status. */
50350 if test x"$ac_file" = x-; then
50351 echo "/* Generated by configure. */" >$tmp/config.h
50352 else
50353 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
50354 fi
50355 cat $tmp/in >>$tmp/config.h
50356 rm -f $tmp/in
50357 if test x"$ac_file" != x-; then
50358 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
50359 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50360 echo "$as_me: $ac_file is unchanged" >&6;}
50361 else
50362 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50363 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50364 X"$ac_file" : 'X\(//\)[^/]' \| \
50365 X"$ac_file" : 'X\(//\)$' \| \
50366 X"$ac_file" : 'X\(/\)' \| \
50367 . : '\(.\)' 2>/dev/null ||
50368 echo X"$ac_file" |
50369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50370 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50371 /^X\(\/\/\)$/{ s//\1/; q; }
50372 /^X\(\/\).*/{ s//\1/; q; }
50373 s/.*/./; q'`
50374 { if $as_mkdir_p; then
50375 mkdir -p "$ac_dir"
50376 else
50377 as_dir="$ac_dir"
50378 as_dirs=
50379 while test ! -d "$as_dir"; do
50380 as_dirs="$as_dir $as_dirs"
50381 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50382 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50383 X"$as_dir" : 'X\(//\)[^/]' \| \
50384 X"$as_dir" : 'X\(//\)$' \| \
50385 X"$as_dir" : 'X\(/\)' \| \
50386 . : '\(.\)' 2>/dev/null ||
50387 echo X"$as_dir" |
50388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50389 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50390 /^X\(\/\/\)$/{ s//\1/; q; }
50391 /^X\(\/\).*/{ s//\1/; q; }
50392 s/.*/./; q'`
50393 done
50394 test ! -n "$as_dirs" || mkdir $as_dirs
50395 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50396 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50397 { (exit 1); exit 1; }; }; }
50398
50399 rm -f $ac_file
50400 mv $tmp/config.h $ac_file
50401 fi
50402 else
50403 cat $tmp/config.h
50404 rm -f $tmp/config.h
50405 fi
50406 done
50407 _ACEOF
50408 cat >>$CONFIG_STATUS <<\_ACEOF
50409
50410 #
50411 # CONFIG_COMMANDS section.
50412 #
50413 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
50414 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
50415 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
50416 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
50417 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50418 X"$ac_dest" : 'X\(//\)[^/]' \| \
50419 X"$ac_dest" : 'X\(//\)$' \| \
50420 X"$ac_dest" : 'X\(/\)' \| \
50421 . : '\(.\)' 2>/dev/null ||
50422 echo X"$ac_dest" |
50423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50424 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50425 /^X\(\/\/\)$/{ s//\1/; q; }
50426 /^X\(\/\).*/{ s//\1/; q; }
50427 s/.*/./; q'`
50428 { if $as_mkdir_p; then
50429 mkdir -p "$ac_dir"
50430 else
50431 as_dir="$ac_dir"
50432 as_dirs=
50433 while test ! -d "$as_dir"; do
50434 as_dirs="$as_dir $as_dirs"
50435 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50436 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50437 X"$as_dir" : 'X\(//\)[^/]' \| \
50438 X"$as_dir" : 'X\(//\)$' \| \
50439 X"$as_dir" : 'X\(/\)' \| \
50440 . : '\(.\)' 2>/dev/null ||
50441 echo X"$as_dir" |
50442 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50443 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50444 /^X\(\/\/\)$/{ s//\1/; q; }
50445 /^X\(\/\).*/{ s//\1/; q; }
50446 s/.*/./; q'`
50447 done
50448 test ! -n "$as_dirs" || mkdir $as_dirs
50449 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50450 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50451 { (exit 1); exit 1; }; }; }
50452
50453 ac_builddir=.
50454
50455 if test "$ac_dir" != .; then
50456 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50457 # A "../" for each directory in $ac_dir_suffix.
50458 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50459 else
50460 ac_dir_suffix= ac_top_builddir=
50461 fi
50462
50463 case $srcdir in
50464 .) # No --srcdir option. We are building in place.
50465 ac_srcdir=.
50466 if test -z "$ac_top_builddir"; then
50467 ac_top_srcdir=.
50468 else
50469 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50470 fi ;;
50471 [\\/]* | ?:[\\/]* ) # Absolute path.
50472 ac_srcdir=$srcdir$ac_dir_suffix;
50473 ac_top_srcdir=$srcdir ;;
50474 *) # Relative path.
50475 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50476 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50477 esac
50478
50479 # Do not use `cd foo && pwd` to compute absolute paths, because
50480 # the directories may not exist.
50481 case `pwd` in
50482 .) ac_abs_builddir="$ac_dir";;
50483 *)
50484 case "$ac_dir" in
50485 .) ac_abs_builddir=`pwd`;;
50486 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50487 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50488 esac;;
50489 esac
50490 case $ac_abs_builddir in
50491 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50492 *)
50493 case ${ac_top_builddir}. in
50494 .) ac_abs_top_builddir=$ac_abs_builddir;;
50495 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50496 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50497 esac;;
50498 esac
50499 case $ac_abs_builddir in
50500 .) ac_abs_srcdir=$ac_srcdir;;
50501 *)
50502 case $ac_srcdir in
50503 .) ac_abs_srcdir=$ac_abs_builddir;;
50504 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50505 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50506 esac;;
50507 esac
50508 case $ac_abs_builddir in
50509 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50510 *)
50511 case $ac_top_srcdir in
50512 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50513 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50514 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50515 esac;;
50516 esac
50517
50518
50519 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
50520 echo "$as_me: executing $ac_dest commands" >&6;}
50521 case $ac_dest in
50522 rcdefs.h )
50523 mkdir -p $outdir &&
50524 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50525 ;;
50526 wx-config ) rm -f wx-config
50527 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50528 ;;
50529 esac
50530 done
50531 _ACEOF
50532
50533 cat >>$CONFIG_STATUS <<\_ACEOF
50534
50535 { (exit 0); exit 0; }
50536 _ACEOF
50537 chmod +x $CONFIG_STATUS
50538 ac_clean_files=$ac_clean_files_save
50539
50540
50541 # configure is writing to config.log, and then calls config.status.
50542 # config.status does its own redirection, appending to config.log.
50543 # Unfortunately, on DOS this fails, as config.log is still kept open
50544 # by configure, so config.status won't be able to write to it; its
50545 # output is simply discarded. So we exec the FD to /dev/null,
50546 # effectively closing config.log, so it can be properly (re)opened and
50547 # appended to by config.status. When coming back to configure, we
50548 # need to make the FD available again.
50549 if test "$no_create" != yes; then
50550 ac_cs_success=:
50551 ac_config_status_args=
50552 test "$silent" = yes &&
50553 ac_config_status_args="$ac_config_status_args --quiet"
50554 exec 5>/dev/null
50555 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50556 exec 5>>config.log
50557 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50558 # would make configure fail if this is the last instruction.
50559 $ac_cs_success || { (exit 1); exit 1; }
50560 fi
50561
50562 #
50563 # CONFIG_SUBDIRS section.
50564 #
50565 if test "$no_recursion" != yes; then
50566
50567 # Remove --cache-file and --srcdir arguments so they do not pile up.
50568 ac_sub_configure_args=
50569 ac_prev=
50570 for ac_arg in $ac_configure_args; do
50571 if test -n "$ac_prev"; then
50572 ac_prev=
50573 continue
50574 fi
50575 case $ac_arg in
50576 -cache-file | --cache-file | --cache-fil | --cache-fi \
50577 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50578 ac_prev=cache_file ;;
50579 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50580 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50581 | --c=*)
50582 ;;
50583 --config-cache | -C)
50584 ;;
50585 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50586 ac_prev=srcdir ;;
50587 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50588 ;;
50589 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50590 ac_prev=prefix ;;
50591 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50592 ;;
50593 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
50594 esac
50595 done
50596
50597 # Always prepend --prefix to ensure using the same prefix
50598 # in subdir configurations.
50599 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
50600
50601 ac_popdir=`pwd`
50602 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50603
50604 # Do not complain, so a configure script can configure whichever
50605 # parts of a large source tree are present.
50606 test -d $srcdir/$ac_dir || continue
50607
50608 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
50609 echo "$as_me: configuring in $ac_dir" >&6;}
50610 { if $as_mkdir_p; then
50611 mkdir -p "$ac_dir"
50612 else
50613 as_dir="$ac_dir"
50614 as_dirs=
50615 while test ! -d "$as_dir"; do
50616 as_dirs="$as_dir $as_dirs"
50617 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50618 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50619 X"$as_dir" : 'X\(//\)[^/]' \| \
50620 X"$as_dir" : 'X\(//\)$' \| \
50621 X"$as_dir" : 'X\(/\)' \| \
50622 . : '\(.\)' 2>/dev/null ||
50623 echo X"$as_dir" |
50624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50625 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50626 /^X\(\/\/\)$/{ s//\1/; q; }
50627 /^X\(\/\).*/{ s//\1/; q; }
50628 s/.*/./; q'`
50629 done
50630 test ! -n "$as_dirs" || mkdir $as_dirs
50631 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50632 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50633 { (exit 1); exit 1; }; }; }
50634
50635 ac_builddir=.
50636
50637 if test "$ac_dir" != .; then
50638 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50639 # A "../" for each directory in $ac_dir_suffix.
50640 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50641 else
50642 ac_dir_suffix= ac_top_builddir=
50643 fi
50644
50645 case $srcdir in
50646 .) # No --srcdir option. We are building in place.
50647 ac_srcdir=.
50648 if test -z "$ac_top_builddir"; then
50649 ac_top_srcdir=.
50650 else
50651 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50652 fi ;;
50653 [\\/]* | ?:[\\/]* ) # Absolute path.
50654 ac_srcdir=$srcdir$ac_dir_suffix;
50655 ac_top_srcdir=$srcdir ;;
50656 *) # Relative path.
50657 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50658 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50659 esac
50660
50661 # Do not use `cd foo && pwd` to compute absolute paths, because
50662 # the directories may not exist.
50663 case `pwd` in
50664 .) ac_abs_builddir="$ac_dir";;
50665 *)
50666 case "$ac_dir" in
50667 .) ac_abs_builddir=`pwd`;;
50668 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50669 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50670 esac;;
50671 esac
50672 case $ac_abs_builddir in
50673 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50674 *)
50675 case ${ac_top_builddir}. in
50676 .) ac_abs_top_builddir=$ac_abs_builddir;;
50677 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50678 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50679 esac;;
50680 esac
50681 case $ac_abs_builddir in
50682 .) ac_abs_srcdir=$ac_srcdir;;
50683 *)
50684 case $ac_srcdir in
50685 .) ac_abs_srcdir=$ac_abs_builddir;;
50686 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50687 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50688 esac;;
50689 esac
50690 case $ac_abs_builddir in
50691 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50692 *)
50693 case $ac_top_srcdir in
50694 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50695 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50696 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50697 esac;;
50698 esac
50699
50700
50701 cd $ac_dir
50702
50703 # Check for guested configure; otherwise get Cygnus style configure.
50704 if test -f $ac_srcdir/configure.gnu; then
50705 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
50706 elif test -f $ac_srcdir/configure; then
50707 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
50708 elif test -f $ac_srcdir/configure.in; then
50709 ac_sub_configure=$ac_configure
50710 else
50711 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50712 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50713 ac_sub_configure=
50714 fi
50715
50716 # The recursion is here.
50717 if test -n "$ac_sub_configure"; then
50718 # Make the cache file name correct relative to the subdirectory.
50719 case $cache_file in
50720 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50721 *) # Relative path.
50722 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
50723 esac
50724
50725 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50726 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50727 # The eval makes quoting arguments work.
50728 eval $ac_sub_configure $ac_sub_configure_args \
50729 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
50730 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50731 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50732 { (exit 1); exit 1; }; }
50733 fi
50734
50735 cd "$ac_popdir"
50736 done
50737 fi
50738
50739
50740 echo
50741 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50742 echo ""
50743 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_USER:-base only}"
50744 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50745
50746 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50747 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50748 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50749
50750 echo " What level of wxWidgets compatibility should be enabled?"
50751 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
50752 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
50753
50754 echo " Which libraries should wxWidgets use?"
50755 echo " jpeg ${wxUSE_LIBJPEG-none}"
50756 echo " png ${wxUSE_LIBPNG-none}"
50757 echo " regex ${wxUSE_REGEX}"
50758 echo " tiff ${wxUSE_LIBTIFF-none}"
50759 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50760 echo " xpm ${wxUSE_LIBXPM-none}"
50761 fi
50762 echo " zlib ${wxUSE_ZLIB}"
50763 echo " odbc ${wxUSE_ODBC}"
50764 echo " expat ${wxUSE_EXPAT}"
50765 echo " libmspack ${wxUSE_LIBMSPACK}"
50766 echo " sdl ${wxUSE_LIBSDL}"
50767 echo " gnomeprint ${wxUSE_LIBGNOMEPRINT-none}"
50768 echo " gnomevfs ${wxUSE_LIBGNOMEVFS-none}"
50769 echo " hildon ${wxUSE_LIBHILDON-none}"
50770
50771 echo ""
50772