]> git.saurik.com Git - wxWidgets.git/blob - configure
Don't build the animate contrib
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.1.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.7.1'
274 PACKAGE_STRING='wxWidgets 2.7.1'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
849 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
850 ac_env_GST_CFLAGS_value=$GST_CFLAGS
851 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
852 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
853 ac_env_GST_LIBS_set=${GST_LIBS+set}
854 ac_env_GST_LIBS_value=$GST_LIBS
855 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
856 ac_cv_env_GST_LIBS_value=$GST_LIBS
857
858 #
859 # Report the --help message.
860 #
861 if test "$ac_init_help" = "long"; then
862 # Omit some internal or obsolete options to make the list less imposing.
863 # This message is too long to be a string in the A/UX 3.1 sh.
864 cat <<_ACEOF
865 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
866
867 Usage: $0 [OPTION]... [VAR=VALUE]...
868
869 To assign environment variables (e.g., CC, CFLAGS...), specify them as
870 VAR=VALUE. See below for descriptions of some of the useful variables.
871
872 Defaults for the options are specified in brackets.
873
874 Configuration:
875 -h, --help display this help and exit
876 --help=short display options specific to this package
877 --help=recursive display the short help of all the included packages
878 -V, --version display version information and exit
879 -q, --quiet, --silent do not print \`checking...' messages
880 --cache-file=FILE cache test results in FILE [disabled]
881 -C, --config-cache alias for \`--cache-file=config.cache'
882 -n, --no-create do not create output files
883 --srcdir=DIR find the sources in DIR [configure dir or \`..']
884
885 _ACEOF
886
887 cat <<_ACEOF
888 Installation directories:
889 --prefix=PREFIX install architecture-independent files in PREFIX
890 [$ac_default_prefix]
891 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
892 [PREFIX]
893
894 By default, \`make install' will install all the files in
895 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
896 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
897 for instance \`--prefix=\$HOME'.
898
899 For better control, use the options below.
900
901 Fine tuning of the installation directories:
902 --bindir=DIR user executables [EPREFIX/bin]
903 --sbindir=DIR system admin executables [EPREFIX/sbin]
904 --libexecdir=DIR program executables [EPREFIX/libexec]
905 --datadir=DIR read-only architecture-independent data [PREFIX/share]
906 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
907 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
908 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
909 --libdir=DIR object code libraries [EPREFIX/lib]
910 --includedir=DIR C header files [PREFIX/include]
911 --oldincludedir=DIR C header files for non-gcc [/usr/include]
912 --infodir=DIR info documentation [PREFIX/info]
913 --mandir=DIR man documentation [PREFIX/man]
914 _ACEOF
915
916 cat <<\_ACEOF
917
918 X features:
919 --x-includes=DIR X include files are in DIR
920 --x-libraries=DIR X library files are in DIR
921
922 System types:
923 --build=BUILD configure for building on BUILD [guessed]
924 --host=HOST cross-compile to build programs to run on HOST [BUILD]
925 --target=TARGET configure for building compilers for TARGET [HOST]
926 _ACEOF
927 fi
928
929 if test -n "$ac_init_help"; then
930 case $ac_init_help in
931 short | recursive ) echo "Configuration of wxWidgets 2.7.1:";;
932 esac
933 cat <<\_ACEOF
934
935 Optional Features:
936 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
937 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
938 --enable-gui use GUI classes
939 --enable-monolithic build wxWidgets as single library
940 --enable-plugins build parts of wxWidgets as loadable components
941 --enable-universal use wxWidgets GUI controls instead of native ones
942 --enable-nanox use NanoX
943 --disable-gtk2 use GTK+ 1.2 instead of 2.0
944 --enable-gpe use GNOME PDA Environment features if possible
945 --enable-shared create shared library code
946 --enable-optimise create optimised code
947 --enable-debug same as debug_flag and debug_info
948 --enable-stl use STL for containers
949 --enable-omf use OMF object format
950 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
951 --enable-debug_info create code with debugging information
952 --enable-debug_gdb create code with extra GDB debugging information
953 --enable-debug_cntxt use wxDebugContext
954 --enable-mem_tracing create code with memory tracing
955 --enable-profile create code with profiling information
956 --enable-no_rtti create code without RTTI information
957 --enable-no_exceptions create code without C++ exceptions handling
958 --enable-permissive compile code disregarding strict ANSI
959 --enable-no_deps create code without dependency information
960 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
961 --enable-compat24 enable wxWidgets 2.4 compatibility
962 --disable-compat26 disable wxWidgets 2.6 compatibility
963 --disable-rpath disable use of rpath for uninstalled builds
964 --enable-intl use internationalization system
965 --enable-config use wxConfig (and derived) classes
966 --enable-protocols use wxProtocol and derived classes
967 --enable-ftp use wxFTP (requires wxProtocol
968 --enable-http use wxHTTP (requires wxProtocol
969 --enable-fileproto use wxFileProto class (requires wxProtocol
970 --enable-sockets use socket/network classes
971 --enable-ole use OLE classes (Win32 only)
972 --enable-dataobj use data object classes
973 --enable-ipc use interprocess communication (wxSocket etc.)
974 --enable-apple_ieee use the Apple IEEE codec
975 --enable-arcstream use wxArchive streams
976 --enable-backtrace use wxStackWalker class for getting backtraces
977 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
978 --enable-cmdline use wxCmdLineParser class
979 --enable-datetime use wxDateTime class
980 --enable-debugreport use wxDebugReport class
981 --enable-dialupman use dialup network classes
982 --enable-dynlib use wxLibrary class for DLL loading
983 --enable-dynamicloader use (new) wxDynamicLibrary class
984 --enable-exceptions build exception-safe library
985 --enable-ffile use wxFFile class
986 --enable-file use wxFile class
987 --enable-filesystem use virtual file systems classes
988 --enable-fontmap use font encodings conversion classes
989 --enable-fs_inet use virtual HTTP/FTP filesystems
990 --enable-fs_zip use virtual ZIP filesystems
991 --enable-geometry use geometry class
992 --enable-log use logging system
993 --enable-longlong use wxLongLong class
994 --enable-mimetype use wxMimeTypesManager
995 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
996 --enable-snglinst use wxSingleInstanceChecker class
997 --enable-std_iostreams use standard C++ stream classes
998 --enable-std_string use standard C++ string classes
999 --enable-stdpaths use wxStandardPaths class
1000 --enable-stopwatch use wxStopWatch class
1001 --enable-streams use wxStream etc classes
1002 --enable-sysoptions use wxSystemOptions
1003 --enable-textbuf use wxTextBuffer class
1004 --enable-textfile use wxTextFile class
1005 --enable-timer use wxTimer class
1006 --enable-unicode compile wxString with Unicode support
1007 --enable-sound use wxSound class
1008 --enable-mediactrl use wxMediaCtrl class
1009 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1010 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1011 --enable-zipstream use wxZip streams
1012 --enable-url use wxURL class
1013 --enable-variant use wxVariant class
1014 --enable-protocol use wxProtocol class
1015 --enable-protocol-http HTTP support in wxProtocol
1016 --enable-protocol-ftp FTP support in wxProtocol
1017 --enable-protocol-file FILE support in wxProtocol
1018 --enable-threads use threads
1019 --enable-docview use document view architecture
1020 --enable-help use help subsystem
1021 --enable-mshtmlhelp use MS HTML Help (win32)
1022 --enable-html use wxHTML sub-library
1023 --enable-htmlhelp use wxHTML-based help
1024 --enable-xrc use XRC resources sub-library
1025 --enable-aui use AUI docking library
1026 --enable-constraints use layout-constraints system
1027 --enable-printarch use printing architecture
1028 --enable-mdi use multiple document interface architecture
1029 --enable-mdidoc use docview architecture with MDI
1030 --enable-loggui use standard GUI logger
1031 --enable-logwin use wxLogWindow
1032 --enable-logdialog use wxLogDialog
1033 --enable-webkit use wxWebKitCtrl (Mac)
1034 --enable-richtext use wxRichTextCtrl
1035 --enable-graphics_ctx use graphics context 2D drawing API
1036 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1037 --enable-prologio not available; see contrib
1038 --enable-resources not available; see contrib
1039 --enable-clipboard use wxClipboard class
1040 --enable-dnd use Drag'n'Drop classes
1041 --enable-metafile use win32 metafiles
1042 --enable-controls use all usual controls
1043 --enable-accel use accelerators
1044 --enable-animatectrl use wxAnimationCtrl class
1045 --enable-button use wxButton class
1046 --enable-bmpbutton use wxBitmapButton class
1047 --enable-bmpcombobox use wxBitmapComboBox class
1048 --enable-calendar use wxCalendarCtrl class
1049 --enable-caret use wxCaret class
1050 --enable-checkbox use wxCheckBox class
1051 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1052 --enable-choice use wxChoice class
1053 --enable-choicebook use wxChoicebook class
1054 --enable-colourpicker use wxColourPickerCtrl class
1055 --enable-combobox use wxComboBox class
1056 --enable-comboctrl use wxComboCtrl class
1057 --enable-datepick use wxDatePickerCtrl class
1058 --enable-dirpicker use wxDirPickerCtrl class
1059 --enable-display use wxDisplay class
1060 --enable-filepicker use wxFilePickerCtrl class
1061 --enable-fontpicker use wxFontPickerCtrl class
1062 --enable-gauge use wxGauge class
1063 --enable-grid use wxGrid class
1064 --enable-dataviewctrl, use wxDataViewCtrl class
1065 --enable-hyperlink use wxHyperlinkCtrl class
1066 --enable-imaglist use wxImageList class
1067 --enable-listbook use wxListbook class
1068 --enable-listbox use wxListBox class
1069 --enable-listctrl use wxListCtrl class
1070 --enable-notebook use wxNotebook class
1071 --enable-odcombobox use wxOwnerDrawnComboBox class
1072 --enable-radiobox use wxRadioBox class
1073 --enable-radiobtn use wxRadioButton class
1074 --enable-sash use wxSashWindow class
1075 --enable-scrollbar use wxScrollBar class and scrollable windows
1076 --enable-slider use wxSlider class
1077 --enable-spinbtn use wxSpinButton class
1078 --enable-spinctrl use wxSpinCtrl class
1079 --enable-splitter use wxSplitterWindow class
1080 --enable-statbmp use wxStaticBitmap class
1081 --enable-statbox use wxStaticBox class
1082 --enable-statline use wxStaticLine class
1083 --enable-stattext use wxStaticText class
1084 --enable-statusbar use wxStatusBar class
1085 --enable-tabdialog use wxTabControl class
1086 --enable-textctrl use wxTextCtrl class
1087 --enable-togglebtn use wxToggleButton class
1088 --enable-toolbar use wxToolBar class
1089 --enable-tbarnative use native wxToolBar class
1090 --enable-treebook use wxTreebook class
1091 --enable-toolbook use wxToolbook class
1092 --enable-treectrl use wxTreeCtrl class
1093 --enable-tipwindow use wxTipWindow class
1094 --enable-popupwin use wxPopUpWindow class
1095 --enable-commondlg use all common dialogs
1096 --enable-aboutdlg use wxAboutBox
1097 --enable-choicedlg use wxChoiceDialog
1098 --enable-coldlg use wxColourDialog
1099 --enable-filedlg use wxFileDialog
1100 --enable-finddlg use wxFindReplaceDialog
1101 --enable-fontdlg use wxFontDialog
1102 --enable-dirdlg use wxDirDialog
1103 --enable-msgdlg use wxMessageDialog
1104 --enable-numberdlg use wxNumberEntryDialog
1105 --enable-splash use wxSplashScreen
1106 --enable-textdlg use wxTextDialog
1107 --enable-tipdlg use startup tips
1108 --enable-progressdlg use wxProgressDialog
1109 --enable-wizarddlg use wxWizard
1110 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1111 --enable-miniframe use wxMiniFrame class
1112 --enable-tooltips use wxToolTip class
1113 --enable-splines use spline drawing code
1114 --enable-mousewheel use mousewheel
1115 --enable-validators use wxValidator and derived classes
1116 --enable-busyinfo use wxBusyInfo
1117 --enable-joystick use wxJoystick
1118 --enable-metafiles use wxMetaFile (Win32 only)
1119 --enable-dragimage use wxDragImage
1120 --enable-accessibility enable accessibility support
1121 --enable-dccache cache temporary wxDC objects (Win32 only)
1122 --enable-palette use wxPalette class
1123 --enable-image use wxImage class
1124 --enable-gif use gif images (GIF file format)
1125 --enable-pcx use pcx images (PCX file format)
1126 --enable-iff use iff images (IFF file format)
1127 --enable-pnm use pnm images (PNM file format)
1128 --enable-xpm use xpm images (XPM file format)
1129 --enable-icocur use Windows ICO and CUR formats
1130 --enable-official_build official build of wxWidgets (win32 DLL only)
1131 --enable-vendor=VENDOR vendor name (win32 DLL only)
1132 --disable-largefile omit support for large files
1133 --disable-gtktest do not try to compile and run a test GTK+ program
1134 --disable-gtktest Do not try to compile and run a test GTK program
1135 --disable-sdltest Do not try to compile and run a test SDL program
1136 --enable-omf use OMF object format (OS/2)
1137 --disable-dependency-tracking
1138 don't use dependency tracking even if the compiler
1139 can
1140 --disable-precomp-headers
1141 don't use precompiled headers even if compiler can
1142
1143 Optional Packages:
1144 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1145 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1146 --without-subdirs don't generate makefiles for samples/demos/...
1147 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1148 --with-motif use Motif/Lesstif
1149 --with-mac use Mac OS X
1150 --with-cocoa use Cocoa
1151 --with-wine use Wine
1152 --with-msw use MS-Windows
1153 --with-pm use OS/2 Presentation Manager
1154 --with-mgl use SciTech MGL
1155 --with-directfb use DirectFB
1156 --with-microwin use MicroWindows
1157 --with-x11 use X11
1158 --with-libpng use libpng (PNG image format)
1159 --with-libjpeg use libjpeg (JPEG file format)
1160 --with-libtiff use libtiff (TIFF file format)
1161 --with-libxpm use libxpm (XPM file format)
1162 --with-libmspack use libmspack (CHM help files loading)
1163 --with-sdl use SDL for audio on Unix
1164 --with-gnomeprint use GNOME print for printing under GNOME
1165 --with-gnomevfs use GNOME VFS for associating MIME types
1166 --with-hildon use Hildon framework for Nokia 770
1167 --with-opengl use OpenGL (or Mesa)
1168 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1169 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1170 --with-regex enable support for wxRegEx class
1171 --with-zlib use zlib for LZW compression
1172 --with-odbc use the IODBC and wxODBC classes
1173 --with-expat enable XML support using expat parser
1174 --with-flavour=NAME specify a name to identify this build
1175 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1176 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1177 --with-x use the X Window System
1178 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1179 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1180 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1181 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1182 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1183
1184 Some influential environment variables:
1185 CC C compiler command
1186 CFLAGS C compiler flags
1187 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1188 nonstandard directory <lib dir>
1189 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1190 headers in a nonstandard directory <include dir>
1191 CPP C preprocessor
1192 CXX C++ compiler command
1193 CXXFLAGS C++ compiler flags
1194 CXXCPP C++ preprocessor
1195 PKG_CONFIG path to pkg-config utility
1196 DIRECTFB_CFLAGS
1197 C compiler flags for DIRECTFB, overriding pkg-config
1198 DIRECTFB_LIBS
1199 linker flags for DIRECTFB, overriding pkg-config
1200 PANGOX_CFLAGS
1201 C compiler flags for PANGOX, overriding pkg-config
1202 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1203 PANGOFT2_CFLAGS
1204 C compiler flags for PANGOFT2, overriding pkg-config
1205 PANGOFT2_LIBS
1206 linker flags for PANGOFT2, overriding pkg-config
1207 PANGOXFT_CFLAGS
1208 C compiler flags for PANGOXFT, overriding pkg-config
1209 PANGOXFT_LIBS
1210 linker flags for PANGOXFT, overriding pkg-config
1211 LIBGNOMEPRINTUI_CFLAGS
1212 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1213 LIBGNOMEPRINTUI_LIBS
1214 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1215 GNOMEVFS_CFLAGS
1216 C compiler flags for GNOMEVFS, overriding pkg-config
1217 GNOMEVFS_LIBS
1218 linker flags for GNOMEVFS, overriding pkg-config
1219 HILDON_CFLAGS
1220 C compiler flags for HILDON, overriding pkg-config
1221 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1222 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1223 GST_LIBS linker flags for GST, overriding pkg-config
1224
1225 Use these variables to override the choices made by `configure' or to help
1226 it to find libraries and programs with nonstandard names/locations.
1227
1228 Report bugs to <wx-dev@lists.wxwidgets.org>.
1229 _ACEOF
1230 fi
1231
1232 if test "$ac_init_help" = "recursive"; then
1233 # If there are subdirs, report their specific --help.
1234 ac_popdir=`pwd`
1235 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1236 test -d $ac_dir || continue
1237 ac_builddir=.
1238
1239 if test "$ac_dir" != .; then
1240 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1241 # A "../" for each directory in $ac_dir_suffix.
1242 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1243 else
1244 ac_dir_suffix= ac_top_builddir=
1245 fi
1246
1247 case $srcdir in
1248 .) # No --srcdir option. We are building in place.
1249 ac_srcdir=.
1250 if test -z "$ac_top_builddir"; then
1251 ac_top_srcdir=.
1252 else
1253 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1254 fi ;;
1255 [\\/]* | ?:[\\/]* ) # Absolute path.
1256 ac_srcdir=$srcdir$ac_dir_suffix;
1257 ac_top_srcdir=$srcdir ;;
1258 *) # Relative path.
1259 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1260 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1261 esac
1262
1263 # Do not use `cd foo && pwd` to compute absolute paths, because
1264 # the directories may not exist.
1265 case `pwd` in
1266 .) ac_abs_builddir="$ac_dir";;
1267 *)
1268 case "$ac_dir" in
1269 .) ac_abs_builddir=`pwd`;;
1270 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1271 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1272 esac;;
1273 esac
1274 case $ac_abs_builddir in
1275 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1276 *)
1277 case ${ac_top_builddir}. in
1278 .) ac_abs_top_builddir=$ac_abs_builddir;;
1279 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1280 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1281 esac;;
1282 esac
1283 case $ac_abs_builddir in
1284 .) ac_abs_srcdir=$ac_srcdir;;
1285 *)
1286 case $ac_srcdir in
1287 .) ac_abs_srcdir=$ac_abs_builddir;;
1288 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1289 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1290 esac;;
1291 esac
1292 case $ac_abs_builddir in
1293 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1294 *)
1295 case $ac_top_srcdir in
1296 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1297 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1298 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1299 esac;;
1300 esac
1301
1302 cd $ac_dir
1303 # Check for guested configure; otherwise get Cygnus style configure.
1304 if test -f $ac_srcdir/configure.gnu; then
1305 echo
1306 $SHELL $ac_srcdir/configure.gnu --help=recursive
1307 elif test -f $ac_srcdir/configure; then
1308 echo
1309 $SHELL $ac_srcdir/configure --help=recursive
1310 elif test -f $ac_srcdir/configure.ac ||
1311 test -f $ac_srcdir/configure.in; then
1312 echo
1313 $ac_configure --help
1314 else
1315 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1316 fi
1317 cd $ac_popdir
1318 done
1319 fi
1320
1321 test -n "$ac_init_help" && exit 0
1322 if $ac_init_version; then
1323 cat <<\_ACEOF
1324 wxWidgets configure 2.7.1
1325 generated by GNU Autoconf 2.59
1326
1327 Copyright (C) 2003 Free Software Foundation, Inc.
1328 This configure script is free software; the Free Software Foundation
1329 gives unlimited permission to copy, distribute and modify it.
1330 _ACEOF
1331 exit 0
1332 fi
1333 exec 5>config.log
1334 cat >&5 <<_ACEOF
1335 This file contains any messages produced by compilers while
1336 running configure, to aid debugging if configure makes a mistake.
1337
1338 It was created by wxWidgets $as_me 2.7.1, which was
1339 generated by GNU Autoconf 2.59. Invocation command line was
1340
1341 $ $0 $@
1342
1343 _ACEOF
1344 {
1345 cat <<_ASUNAME
1346 ## --------- ##
1347 ## Platform. ##
1348 ## --------- ##
1349
1350 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1351 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1352 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1353 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1354 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1355
1356 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1357 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1358
1359 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1360 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1361 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1362 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1363 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1364 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1365 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1366
1367 _ASUNAME
1368
1369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1370 for as_dir in $PATH
1371 do
1372 IFS=$as_save_IFS
1373 test -z "$as_dir" && as_dir=.
1374 echo "PATH: $as_dir"
1375 done
1376
1377 } >&5
1378
1379 cat >&5 <<_ACEOF
1380
1381
1382 ## ----------- ##
1383 ## Core tests. ##
1384 ## ----------- ##
1385
1386 _ACEOF
1387
1388
1389 # Keep a trace of the command line.
1390 # Strip out --no-create and --no-recursion so they do not pile up.
1391 # Strip out --silent because we don't want to record it for future runs.
1392 # Also quote any args containing shell meta-characters.
1393 # Make two passes to allow for proper duplicate-argument suppression.
1394 ac_configure_args=
1395 ac_configure_args0=
1396 ac_configure_args1=
1397 ac_sep=
1398 ac_must_keep_next=false
1399 for ac_pass in 1 2
1400 do
1401 for ac_arg
1402 do
1403 case $ac_arg in
1404 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1405 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1406 | -silent | --silent | --silen | --sile | --sil)
1407 continue ;;
1408 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1409 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1410 esac
1411 case $ac_pass in
1412 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1413 2)
1414 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1415 if test $ac_must_keep_next = true; then
1416 ac_must_keep_next=false # Got value, back to normal.
1417 else
1418 case $ac_arg in
1419 *=* | --config-cache | -C | -disable-* | --disable-* \
1420 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1421 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1422 | -with-* | --with-* | -without-* | --without-* | --x)
1423 case "$ac_configure_args0 " in
1424 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1425 esac
1426 ;;
1427 -* ) ac_must_keep_next=true ;;
1428 esac
1429 fi
1430 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1431 # Get rid of the leading space.
1432 ac_sep=" "
1433 ;;
1434 esac
1435 done
1436 done
1437 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1438 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1439
1440 # When interrupted or exit'd, cleanup temporary files, and complete
1441 # config.log. We remove comments because anyway the quotes in there
1442 # would cause problems or look ugly.
1443 # WARNING: Be sure not to use single quotes in there, as some shells,
1444 # such as our DU 5.0 friend, will then `close' the trap.
1445 trap 'exit_status=$?
1446 # Save into config.log some information that might help in debugging.
1447 {
1448 echo
1449
1450 cat <<\_ASBOX
1451 ## ---------------- ##
1452 ## Cache variables. ##
1453 ## ---------------- ##
1454 _ASBOX
1455 echo
1456 # The following way of writing the cache mishandles newlines in values,
1457 {
1458 (set) 2>&1 |
1459 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1460 *ac_space=\ *)
1461 sed -n \
1462 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1463 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1464 ;;
1465 *)
1466 sed -n \
1467 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1468 ;;
1469 esac;
1470 }
1471 echo
1472
1473 cat <<\_ASBOX
1474 ## ----------------- ##
1475 ## Output variables. ##
1476 ## ----------------- ##
1477 _ASBOX
1478 echo
1479 for ac_var in $ac_subst_vars
1480 do
1481 eval ac_val=$`echo $ac_var`
1482 echo "$ac_var='"'"'$ac_val'"'"'"
1483 done | sort
1484 echo
1485
1486 if test -n "$ac_subst_files"; then
1487 cat <<\_ASBOX
1488 ## ------------- ##
1489 ## Output files. ##
1490 ## ------------- ##
1491 _ASBOX
1492 echo
1493 for ac_var in $ac_subst_files
1494 do
1495 eval ac_val=$`echo $ac_var`
1496 echo "$ac_var='"'"'$ac_val'"'"'"
1497 done | sort
1498 echo
1499 fi
1500
1501 if test -s confdefs.h; then
1502 cat <<\_ASBOX
1503 ## ----------- ##
1504 ## confdefs.h. ##
1505 ## ----------- ##
1506 _ASBOX
1507 echo
1508 sed "/^$/d" confdefs.h | sort
1509 echo
1510 fi
1511 test "$ac_signal" != 0 &&
1512 echo "$as_me: caught signal $ac_signal"
1513 echo "$as_me: exit $exit_status"
1514 } >&5
1515 rm -f core *.core &&
1516 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1517 exit $exit_status
1518 ' 0
1519 for ac_signal in 1 2 13 15; do
1520 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1521 done
1522 ac_signal=0
1523
1524 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1525 rm -rf conftest* confdefs.h
1526 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1527 echo >confdefs.h
1528
1529 # Predefined preprocessor variables.
1530
1531 cat >>confdefs.h <<_ACEOF
1532 #define PACKAGE_NAME "$PACKAGE_NAME"
1533 _ACEOF
1534
1535
1536 cat >>confdefs.h <<_ACEOF
1537 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1538 _ACEOF
1539
1540
1541 cat >>confdefs.h <<_ACEOF
1542 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1543 _ACEOF
1544
1545
1546 cat >>confdefs.h <<_ACEOF
1547 #define PACKAGE_STRING "$PACKAGE_STRING"
1548 _ACEOF
1549
1550
1551 cat >>confdefs.h <<_ACEOF
1552 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1553 _ACEOF
1554
1555
1556 # Let the site file select an alternate cache file if it wants to.
1557 # Prefer explicitly selected file to automatically selected ones.
1558 if test -z "$CONFIG_SITE"; then
1559 if test "x$prefix" != xNONE; then
1560 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1561 else
1562 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1563 fi
1564 fi
1565 for ac_site_file in $CONFIG_SITE; do
1566 if test -r "$ac_site_file"; then
1567 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1568 echo "$as_me: loading site script $ac_site_file" >&6;}
1569 sed 's/^/| /' "$ac_site_file" >&5
1570 . "$ac_site_file"
1571 fi
1572 done
1573
1574 if test -r "$cache_file"; then
1575 # Some versions of bash will fail to source /dev/null (special
1576 # files actually), so we avoid doing that.
1577 if test -f "$cache_file"; then
1578 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1579 echo "$as_me: loading cache $cache_file" >&6;}
1580 case $cache_file in
1581 [\\/]* | ?:[\\/]* ) . $cache_file;;
1582 *) . ./$cache_file;;
1583 esac
1584 fi
1585 else
1586 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1587 echo "$as_me: creating cache $cache_file" >&6;}
1588 >$cache_file
1589 fi
1590
1591 # Check that the precious variables saved in the cache have kept the same
1592 # value.
1593 ac_cache_corrupted=false
1594 for ac_var in `(set) 2>&1 |
1595 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1596 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1597 eval ac_new_set=\$ac_env_${ac_var}_set
1598 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1599 eval ac_new_val="\$ac_env_${ac_var}_value"
1600 case $ac_old_set,$ac_new_set in
1601 set,)
1602 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1603 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1604 ac_cache_corrupted=: ;;
1605 ,set)
1606 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1607 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1608 ac_cache_corrupted=: ;;
1609 ,);;
1610 *)
1611 if test "x$ac_old_val" != "x$ac_new_val"; then
1612 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1613 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1614 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1615 echo "$as_me: former value: $ac_old_val" >&2;}
1616 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1617 echo "$as_me: current value: $ac_new_val" >&2;}
1618 ac_cache_corrupted=:
1619 fi;;
1620 esac
1621 # Pass precious variables to config.status.
1622 if test "$ac_new_set" = set; then
1623 case $ac_new_val in
1624 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1625 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1626 *) ac_arg=$ac_var=$ac_new_val ;;
1627 esac
1628 case " $ac_configure_args " in
1629 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1630 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1631 esac
1632 fi
1633 done
1634 if $ac_cache_corrupted; then
1635 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1636 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1637 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1638 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1639 { (exit 1); exit 1; }; }
1640 fi
1641
1642 ac_ext=c
1643 ac_cpp='$CPP $CPPFLAGS'
1644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677 ac_aux_dir=
1678 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1679 if test -f $ac_dir/install-sh; then
1680 ac_aux_dir=$ac_dir
1681 ac_install_sh="$ac_aux_dir/install-sh -c"
1682 break
1683 elif test -f $ac_dir/install.sh; then
1684 ac_aux_dir=$ac_dir
1685 ac_install_sh="$ac_aux_dir/install.sh -c"
1686 break
1687 elif test -f $ac_dir/shtool; then
1688 ac_aux_dir=$ac_dir
1689 ac_install_sh="$ac_aux_dir/shtool install -c"
1690 break
1691 fi
1692 done
1693 if test -z "$ac_aux_dir"; then
1694 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1695 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1696 { (exit 1); exit 1; }; }
1697 fi
1698 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1699 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1700 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1701
1702 # Make sure we can run config.sub.
1703 $ac_config_sub sun4 >/dev/null 2>&1 ||
1704 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1705 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1706 { (exit 1); exit 1; }; }
1707
1708 echo "$as_me:$LINENO: checking build system type" >&5
1709 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1710 if test "${ac_cv_build+set}" = set; then
1711 echo $ECHO_N "(cached) $ECHO_C" >&6
1712 else
1713 ac_cv_build_alias=$build_alias
1714 test -z "$ac_cv_build_alias" &&
1715 ac_cv_build_alias=`$ac_config_guess`
1716 test -z "$ac_cv_build_alias" &&
1717 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1718 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1719 { (exit 1); exit 1; }; }
1720 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1721 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1722 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1723 { (exit 1); exit 1; }; }
1724
1725 fi
1726 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1727 echo "${ECHO_T}$ac_cv_build" >&6
1728 build=$ac_cv_build
1729 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1730 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1731 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1732
1733
1734 echo "$as_me:$LINENO: checking host system type" >&5
1735 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1736 if test "${ac_cv_host+set}" = set; then
1737 echo $ECHO_N "(cached) $ECHO_C" >&6
1738 else
1739 ac_cv_host_alias=$host_alias
1740 test -z "$ac_cv_host_alias" &&
1741 ac_cv_host_alias=$ac_cv_build_alias
1742 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1743 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1744 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1745 { (exit 1); exit 1; }; }
1746
1747 fi
1748 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1749 echo "${ECHO_T}$ac_cv_host" >&6
1750 host=$ac_cv_host
1751 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1752 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1753 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1754
1755
1756 echo "$as_me:$LINENO: checking target system type" >&5
1757 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1758 if test "${ac_cv_target+set}" = set; then
1759 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 else
1761 ac_cv_target_alias=$target_alias
1762 test "x$ac_cv_target_alias" = "x" &&
1763 ac_cv_target_alias=$ac_cv_host_alias
1764 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1765 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1766 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1767 { (exit 1); exit 1; }; }
1768
1769 fi
1770 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1771 echo "${ECHO_T}$ac_cv_target" >&6
1772 target=$ac_cv_target
1773 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1774 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1775 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1776
1777
1778 # The aliases save the names the user supplied, while $host etc.
1779 # will get canonicalized.
1780 test -n "$target_alias" &&
1781 test "$program_prefix$program_suffix$program_transform_name" = \
1782 NONENONEs,x,x, &&
1783 program_prefix=${target_alias}-
1784
1785
1786
1787 wx_major_version_number=2
1788 wx_minor_version_number=7
1789 wx_release_number=1
1790 wx_subrelease_number=1
1791
1792 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1793 WX_VERSION=$WX_RELEASE.$wx_release_number
1794 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1795
1796 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1797
1798
1799
1800
1801 USE_UNIX=1
1802 USE_OS2=0
1803 USE_WIN32=0
1804 USE_DOS=0
1805 USE_BEOS=0
1806 USE_MAC=0
1807
1808 USE_AIX=
1809 USE_BSD= USE_DARWIN= USE_FREEBSD=
1810 USE_GNU= USE_HPUX=
1811 USE_LINUX=
1812 USE_NETBSD=
1813 USE_OPENBSD=
1814 USE_OSF= USE_SGI=
1815 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1816 USE_ULTRIX=
1817 USE_UNIXWARE=
1818
1819 USE_ALPHA=
1820
1821 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1822
1823 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1824
1825 DEFAULT_wxUSE_COCOA=0
1826 DEFAULT_wxUSE_GTK=0
1827 DEFAULT_wxUSE_MAC=0
1828 DEFAULT_wxUSE_MGL=0
1829 DEFAULT_wxUSE_MICROWIN=0
1830 DEFAULT_wxUSE_MOTIF=0
1831 DEFAULT_wxUSE_MSW=0
1832 DEFAULT_wxUSE_PM=0
1833 DEFAULT_wxUSE_X11=0
1834 DEFAULT_wxUSE_DFB=0
1835
1836 DEFAULT_DEFAULT_wxUSE_COCOA=0
1837 DEFAULT_DEFAULT_wxUSE_GTK=0
1838 DEFAULT_DEFAULT_wxUSE_MAC=0
1839 DEFAULT_DEFAULT_wxUSE_MGL=0
1840 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1841 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1842 DEFAULT_DEFAULT_wxUSE_MSW=0
1843 DEFAULT_DEFAULT_wxUSE_PM=0
1844 DEFAULT_DEFAULT_wxUSE_X11=0
1845 DEFAULT_DEFAULT_wxUSE_DFB=0
1846
1847 PROGRAM_EXT=
1848 SO_SUFFIX=so
1849 SAMPLES_RPATH_FLAG=
1850 SAMPLES_RPATH_POSTLINK=
1851
1852 DEFAULT_STD_FLAG=yes
1853
1854 case "${host}" in
1855 *-hp-hpux* )
1856 USE_HPUX=1
1857 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1858 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1859 SO_SUFFIX=sl
1860 cat >>confdefs.h <<\_ACEOF
1861 #define __HPUX__ 1
1862 _ACEOF
1863
1864
1865 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1866 ;;
1867 *-*-linux* )
1868 USE_LINUX=1
1869 cat >>confdefs.h <<\_ACEOF
1870 #define __LINUX__ 1
1871 _ACEOF
1872
1873 TMP=`uname -m`
1874 if test "x$TMP" = "xalpha"; then
1875 USE_ALPHA=1
1876 cat >>confdefs.h <<\_ACEOF
1877 #define __ALPHA__ 1
1878 _ACEOF
1879
1880 fi
1881 DEFAULT_DEFAULT_wxUSE_GTK=1
1882 ;;
1883 *-*-gnu* | *-*-k*bsd*-gnu )
1884 USE_GNU=1
1885 TMP=`uname -m`
1886 if test "x$TMP" = "xalpha"; then
1887 USE_ALPHA=1
1888 cat >>confdefs.h <<\_ACEOF
1889 #define __ALPHA__ 1
1890 _ACEOF
1891
1892 fi
1893 DEFAULT_DEFAULT_wxUSE_GTK=1
1894 ;;
1895 *-*-irix5* | *-*-irix6* )
1896 USE_SGI=1
1897 USE_SVR4=1
1898 cat >>confdefs.h <<\_ACEOF
1899 #define __SGI__ 1
1900 _ACEOF
1901
1902 cat >>confdefs.h <<\_ACEOF
1903 #define __SVR4__ 1
1904 _ACEOF
1905
1906 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1907 ;;
1908 *-*-solaris2* )
1909 USE_SUN=1
1910 USE_SOLARIS=1
1911 USE_SVR4=1
1912 cat >>confdefs.h <<\_ACEOF
1913 #define __SUN__ 1
1914 _ACEOF
1915
1916 cat >>confdefs.h <<\_ACEOF
1917 #define __SOLARIS__ 1
1918 _ACEOF
1919
1920 cat >>confdefs.h <<\_ACEOF
1921 #define __SVR4__ 1
1922 _ACEOF
1923
1924 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1925 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1926 ;;
1927 *-*-sunos4* )
1928 USE_SUN=1
1929 USE_SUNOS=1
1930 USE_BSD=1
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __SUN__ 1
1933 _ACEOF
1934
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __SUNOS__ 1
1937 _ACEOF
1938
1939 cat >>confdefs.h <<\_ACEOF
1940 #define __BSD__ 1
1941 _ACEOF
1942
1943 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1944 ;;
1945 *-*-freebsd*)
1946 USE_BSD=1
1947 USE_FREEBSD=1
1948 cat >>confdefs.h <<\_ACEOF
1949 #define __FREEBSD__ 1
1950 _ACEOF
1951
1952 cat >>confdefs.h <<\_ACEOF
1953 #define __BSD__ 1
1954 _ACEOF
1955
1956 DEFAULT_DEFAULT_wxUSE_GTK=1
1957 ;;
1958 *-*-openbsd*|*-*-mirbsd*)
1959 USE_BSD=1
1960 USE_OPENBSD=1
1961 cat >>confdefs.h <<\_ACEOF
1962 #define __OPENBSD__ 1
1963 _ACEOF
1964
1965 cat >>confdefs.h <<\_ACEOF
1966 #define __BSD__ 1
1967 _ACEOF
1968
1969 DEFAULT_DEFAULT_wxUSE_GTK=1
1970 ;;
1971 *-*-netbsd*)
1972 USE_BSD=1
1973 USE_NETBSD=1
1974 cat >>confdefs.h <<\_ACEOF
1975 #define __NETBSD__ 1
1976 _ACEOF
1977
1978 cat >>confdefs.h <<\_ACEOF
1979 #define __BSD__ 1
1980 _ACEOF
1981
1982 DEFAULT_DEFAULT_wxUSE_GTK=1
1983 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1984
1985 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1986 ;;
1987 *-*-osf* )
1988 USE_ALPHA=1
1989 USE_OSF=1
1990 cat >>confdefs.h <<\_ACEOF
1991 #define __ALPHA__ 1
1992 _ACEOF
1993
1994 cat >>confdefs.h <<\_ACEOF
1995 #define __OSF__ 1
1996 _ACEOF
1997
1998 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1999 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2000 ;;
2001 *-*-dgux5* )
2002 USE_ALPHA=1
2003 USE_SVR4=1
2004 cat >>confdefs.h <<\_ACEOF
2005 #define __ALPHA__ 1
2006 _ACEOF
2007
2008 cat >>confdefs.h <<\_ACEOF
2009 #define __SVR4__ 1
2010 _ACEOF
2011
2012 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2013 ;;
2014 *-*-sysv5* )
2015 USE_SYSV=1
2016 USE_SVR4=1
2017 cat >>confdefs.h <<\_ACEOF
2018 #define __SYSV__ 1
2019 _ACEOF
2020
2021 cat >>confdefs.h <<\_ACEOF
2022 #define __SVR4__ 1
2023 _ACEOF
2024
2025 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2026 ;;
2027 *-*-aix* )
2028 USE_AIX=1
2029 USE_SYSV=1
2030 USE_SVR4=1
2031 SO_SUFFIX=a
2032 cat >>confdefs.h <<\_ACEOF
2033 #define __AIX__ 1
2034 _ACEOF
2035
2036 cat >>confdefs.h <<\_ACEOF
2037 #define __SYSV__ 1
2038 _ACEOF
2039
2040 cat >>confdefs.h <<\_ACEOF
2041 #define __SVR4__ 1
2042 _ACEOF
2043
2044 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2045 ;;
2046
2047 *-*-*UnixWare*)
2048 USE_SYSV=1
2049 USE_SVR4=1
2050 USE_UNIXWARE=1
2051 cat >>confdefs.h <<\_ACEOF
2052 #define __UNIXWARE__ 1
2053 _ACEOF
2054
2055 ;;
2056
2057 *-*-cygwin* | *-*-mingw32* )
2058 SO_SUFFIX=dll
2059 PROGRAM_EXT=".exe"
2060 DEFAULT_DEFAULT_wxUSE_MSW=1
2061 DEFAULT_STD_FLAG=no
2062 ;;
2063
2064 *-pc-msdosdjgpp )
2065 USE_UNIX=0
2066 USE_DOS=1
2067 cat >>confdefs.h <<\_ACEOF
2068 #define __DOS__ 1
2069 _ACEOF
2070
2071 PROGRAM_EXT=".exe"
2072 DEFAULT_DEFAULT_wxUSE_MGL=1
2073 ;;
2074
2075 *-pc-os2_emx | *-pc-os2-emx )
2076 cat >>confdefs.h <<\_ACEOF
2077 #define __EMX__ 1
2078 _ACEOF
2079
2080 USE_OS2=1
2081 cat >>confdefs.h <<\_ACEOF
2082 #define __OS2__ 1
2083 _ACEOF
2084
2085 PROGRAM_EXT=".exe"
2086 DEFAULT_DEFAULT_wxUSE_PM=1
2087 CXX=gcc
2088 LDFLAGS="$LDFLAGS -Zcrtdll"
2089 ac_executable_extensions=".exe"
2090 export ac_executable_extensions
2091 ac_save_IFS="$IFS"
2092 IFS='\\'
2093 ac_TEMP_PATH=
2094 for ac_dir in $PATH; do
2095 IFS=$ac_save_IFS
2096 if test -z "$ac_TEMP_PATH"; then
2097 ac_TEMP_PATH="$ac_dir"
2098 else
2099 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2100 fi
2101 done
2102 export PATH="$ac_TEMP_PATH"
2103 unset ac_TEMP_PATH
2104 DEFAULT_STD_FLAG=no
2105 ;;
2106
2107 *-*-darwin* )
2108 USE_BSD=1
2109 USE_DARWIN=1
2110 SO_SUFFIX=dylib
2111 cat >>confdefs.h <<\_ACEOF
2112 #define __BSD__ 1
2113 _ACEOF
2114
2115 cat >>confdefs.h <<\_ACEOF
2116 #define __DARWIN__ 1
2117 _ACEOF
2118
2119 cat >>confdefs.h <<\_ACEOF
2120 #define TARGET_CARBON 1
2121 _ACEOF
2122
2123 DEFAULT_DEFAULT_wxUSE_MAC=1
2124 DEFAULT_STD_FLAG=no
2125 ;;
2126 powerpc-apple-macos* )
2127 USE_UNIX=0
2128 ac_cv_c_bigendian=yes
2129 SO_SUFFIX=shlib
2130 DEFAULT_DEFAULT_wxUSE_MAC=1
2131 DEFAULT_STD_FLAG=no
2132 ;;
2133
2134 *-*-beos* )
2135 USE_BEOS=1
2136 cat >>confdefs.h <<\_ACEOF
2137 #define __BEOS__ 1
2138 _ACEOF
2139
2140 ;;
2141
2142 *)
2143 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2144 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2145 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2146 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2147
2148 DEFAULT_DEFAULT_wxUSE_X11=1
2149 DEFAULT_wxUSE_SHARED=no
2150 esac
2151
2152
2153
2154
2155 wx_arg_cache_file="configarg.cache"
2156 echo "loading argument cache $wx_arg_cache_file"
2157 rm -f ${wx_arg_cache_file}.tmp
2158 touch ${wx_arg_cache_file}.tmp
2159 touch ${wx_arg_cache_file}
2160
2161
2162 DEBUG_CONFIGURE=0
2163 if test $DEBUG_CONFIGURE = 1; then
2164 DEFAULT_wxUSE_UNIVERSAL=no
2165 DEFAULT_wxUSE_STL=no
2166
2167 DEFAULT_wxUSE_NANOX=no
2168
2169 DEFAULT_wxUSE_THREADS=yes
2170
2171 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2172 DEFAULT_wxUSE_OPTIMISE=no
2173 DEFAULT_wxUSE_PROFILE=no
2174 DEFAULT_wxUSE_NO_DEPS=no
2175 DEFAULT_wxUSE_NO_RTTI=no
2176 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2177 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2178 DEFAULT_wxUSE_RPATH=yes
2179 DEFAULT_wxUSE_PERMISSIVE=no
2180 DEFAULT_wxUSE_DEBUG_FLAG=yes
2181 DEFAULT_wxUSE_DEBUG_INFO=yes
2182 DEFAULT_wxUSE_DEBUG_GDB=yes
2183 DEFAULT_wxUSE_MEM_TRACING=no
2184 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2185 DEFAULT_wxUSE_DMALLOC=no
2186 DEFAULT_wxUSE_APPLE_IEEE=no
2187
2188 DEFAULT_wxUSE_EXCEPTIONS=no
2189 DEFAULT_wxUSE_LOG=yes
2190 DEFAULT_wxUSE_LOGWINDOW=no
2191 DEFAULT_wxUSE_LOGGUI=no
2192 DEFAULT_wxUSE_LOGDIALOG=no
2193
2194 DEFAULT_wxUSE_GUI=yes
2195 DEFAULT_wxUSE_CONTROLS=no
2196
2197 DEFAULT_wxUSE_REGEX=no
2198 DEFAULT_wxUSE_XML=no
2199 DEFAULT_wxUSE_EXPAT=no
2200 DEFAULT_wxUSE_ZLIB=no
2201 DEFAULT_wxUSE_LIBPNG=no
2202 DEFAULT_wxUSE_LIBJPEG=no
2203 DEFAULT_wxUSE_LIBTIFF=no
2204 DEFAULT_wxUSE_LIBXPM=no
2205 DEFAULT_wxUSE_LIBMSPACK=no
2206 DEFAULT_wxUSE_LIBSDL=no
2207 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2208 DEFAULT_wxUSE_LIBGNOMEVFS=no
2209 DEFAULT_wxUSE_LIBHILDON=no
2210 DEFAULT_wxUSE_ODBC=no
2211 DEFAULT_wxUSE_OPENGL=no
2212
2213 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2214 DEFAULT_wxUSE_STACKWALKER=no
2215 DEFAULT_wxUSE_DEBUGREPORT=no
2216 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2217 DEFAULT_wxUSE_STD_IOSTREAM=no
2218 DEFAULT_wxUSE_STD_STRING=no
2219 DEFAULT_wxUSE_CMDLINE_PARSER=no
2220 DEFAULT_wxUSE_DATETIME=no
2221 DEFAULT_wxUSE_TIMER=no
2222 DEFAULT_wxUSE_STOPWATCH=no
2223 DEFAULT_wxUSE_FILE=no
2224 DEFAULT_wxUSE_FFILE=no
2225 DEFAULT_wxUSE_STDPATHS=no
2226 DEFAULT_wxUSE_TEXTBUFFER=no
2227 DEFAULT_wxUSE_TEXTFILE=no
2228 DEFAULT_wxUSE_SOUND=no
2229 DEFAULT_wxUSE_MEDIACTRL=no
2230 DEFAULT_wxUSE_GSTREAMER8=no
2231 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2232 DEFAULT_wxUSE_INTL=no
2233 DEFAULT_wxUSE_CONFIG=no
2234 DEFAULT_wxUSE_FONTMAP=no
2235 DEFAULT_wxUSE_STREAMS=no
2236 DEFAULT_wxUSE_SOCKETS=no
2237 DEFAULT_wxUSE_OLE=no
2238 DEFAULT_wxUSE_DATAOBJ=no
2239 DEFAULT_wxUSE_DIALUP_MANAGER=no
2240 DEFAULT_wxUSE_JOYSTICK=no
2241 DEFAULT_wxUSE_DYNLIB_CLASS=no
2242 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2243 DEFAULT_wxUSE_LONGLONG=no
2244 DEFAULT_wxUSE_GEOMETRY=no
2245
2246 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2247 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2248 DEFAULT_wxUSE_POSTSCRIPT=no
2249
2250 DEFAULT_wxUSE_CLIPBOARD=no
2251 DEFAULT_wxUSE_TOOLTIPS=no
2252 DEFAULT_wxUSE_DRAG_AND_DROP=no
2253 DEFAULT_wxUSE_DRAGIMAGE=no
2254 DEFAULT_wxUSE_SPLINES=no
2255 DEFAULT_wxUSE_MOUSEWHEEL=no
2256
2257 DEFAULT_wxUSE_MDI=no
2258 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2259 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2260 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2261
2262 DEFAULT_wxUSE_RESOURCES=no
2263 DEFAULT_wxUSE_CONSTRAINTS=no
2264 DEFAULT_wxUSE_IPC=no
2265 DEFAULT_wxUSE_HELP=no
2266 DEFAULT_wxUSE_MS_HTML_HELP=no
2267 DEFAULT_wxUSE_WXHTML_HELP=no
2268 DEFAULT_wxUSE_TREELAYOUT=no
2269 DEFAULT_wxUSE_METAFILE=no
2270 DEFAULT_wxUSE_MIMETYPE=no
2271 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2272 DEFAULT_wxUSE_PROTOCOL=no
2273 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2274 DEFAULT_wxUSE_PROTOCOL_FTP=no
2275 DEFAULT_wxUSE_PROTOCOL_FILE=no
2276 DEFAULT_wxUSE_URL=no
2277 DEFAULT_wxUSE_VARIANT=no
2278
2279 DEFAULT_wxUSE_ABOUTDLG=no
2280 DEFAULT_wxUSE_COMMONDLGS=no
2281 DEFAULT_wxUSE_CHOICEDLG=no
2282 DEFAULT_wxUSE_COLOURDLG=no
2283 DEFAULT_wxUSE_DIRDLG=no
2284 DEFAULT_wxUSE_FILEDLG=no
2285 DEFAULT_wxUSE_FINDREPLDLG=no
2286 DEFAULT_wxUSE_FONTDLG=no
2287 DEFAULT_wxUSE_MSGDLG=no
2288 DEFAULT_wxUSE_NUMBERDLG=no
2289 DEFAULT_wxUSE_TEXTDLG=no
2290 DEFAULT_wxUSE_SPLASH=no
2291 DEFAULT_wxUSE_STARTUP_TIPS=no
2292 DEFAULT_wxUSE_PROGRESSDLG=no
2293 DEFAULT_wxUSE_WIZARDDLG=no
2294
2295 DEFAULT_wxUSE_MENUS=no
2296 DEFAULT_wxUSE_MINIFRAME=no
2297 DEFAULT_wxUSE_HTML=no
2298 DEFAULT_wxUSE_RICHTEXT=no
2299 DEFAULT_wxUSE_XRC=no
2300 DEFAULT_wxUSE_AUI=no
2301 DEFAULT_wxUSE_WEBKIT=no
2302 DEFAULT_wxUSE_FILESYSTEM=no
2303 DEFAULT_wxUSE_FS_INET=no
2304 DEFAULT_wxUSE_FS_ZIP=no
2305 DEFAULT_wxUSE_BUSYINFO=no
2306 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2307 DEFAULT_wxUSE_ZIPSTREAM=no
2308 DEFAULT_wxUSE_VALIDATORS=no
2309
2310 DEFAULT_wxUSE_ACCEL=no
2311 DEFAULT_wxUSE_ANIMATIONCTRL=no
2312 DEFAULT_wxUSE_BUTTON=no
2313 DEFAULT_wxUSE_BMPBUTTON=no
2314 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2315 DEFAULT_wxUSE_CALCTRL=no
2316 DEFAULT_wxUSE_CARET=no
2317 DEFAULT_wxUSE_CHECKBOX=no
2318 DEFAULT_wxUSE_CHECKLST=no
2319 DEFAULT_wxUSE_CHOICE=no
2320 DEFAULT_wxUSE_CHOICEBOOK=no
2321 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2322 DEFAULT_wxUSE_COMBOBOX=no
2323 DEFAULT_wxUSE_COMBOCTRL=no
2324 DEFAULT_wxUSE_DATEPICKCTRL=no
2325 DEFAULT_wxUSE_DISPLAY=no
2326 DEFAULT_wxUSE_DIRPICKERCTRL=no
2327 DEFAULT_wxUSE_FILEPICKERCTRL=no
2328 DEFAULT_wxUSE_FONTPICKERCTRL=no
2329 DEFAULT_wxUSE_GAUGE=no
2330 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2331 DEFAULT_wxUSE_GRID=no
2332 DEFAULT_wxUSE_HYPERLINKCTRL=no
2333 DEFAULT_wxUSE_DATAVIEWCTRL=no
2334 DEFAULT_wxUSE_IMAGLIST=no
2335 DEFAULT_wxUSE_LISTBOOK=no
2336 DEFAULT_wxUSE_LISTBOX=no
2337 DEFAULT_wxUSE_LISTCTRL=no
2338 DEFAULT_wxUSE_NOTEBOOK=no
2339 DEFAULT_wxUSE_ODCOMBOBOX=no
2340 DEFAULT_wxUSE_RADIOBOX=no
2341 DEFAULT_wxUSE_RADIOBTN=no
2342 DEFAULT_wxUSE_SASH=no
2343 DEFAULT_wxUSE_SCROLLBAR=no
2344 DEFAULT_wxUSE_SLIDER=no
2345 DEFAULT_wxUSE_SPINBTN=no
2346 DEFAULT_wxUSE_SPINCTRL=no
2347 DEFAULT_wxUSE_SPLITTER=no
2348 DEFAULT_wxUSE_STATBMP=no
2349 DEFAULT_wxUSE_STATBOX=no
2350 DEFAULT_wxUSE_STATLINE=no
2351 DEFAULT_wxUSE_STATTEXT=no
2352 DEFAULT_wxUSE_STATUSBAR=yes
2353 DEFAULT_wxUSE_TAB_DIALOG=no
2354 DEFAULT_wxUSE_TEXTCTRL=no
2355 DEFAULT_wxUSE_TOGGLEBTN=no
2356 DEFAULT_wxUSE_TOOLBAR=no
2357 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2358 DEFAULT_wxUSE_TREEBOOK=no
2359 DEFAULT_wxUSE_TOOLBOOK=no
2360 DEFAULT_wxUSE_TREECTRL=no
2361 DEFAULT_wxUSE_POPUPWIN=no
2362 DEFAULT_wxUSE_TIPWINDOW=no
2363
2364 DEFAULT_wxUSE_UNICODE=no
2365 DEFAULT_wxUSE_UNICODE_MSLU=no
2366 DEFAULT_wxUSE_WCSRTOMBS=no
2367
2368 DEFAULT_wxUSE_PALETTE=no
2369 DEFAULT_wxUSE_IMAGE=no
2370 DEFAULT_wxUSE_GIF=no
2371 DEFAULT_wxUSE_PCX=no
2372 DEFAULT_wxUSE_PNM=no
2373 DEFAULT_wxUSE_IFF=no
2374 DEFAULT_wxUSE_XPM=no
2375 DEFAULT_wxUSE_ICO_CUR=no
2376 DEFAULT_wxUSE_ACCESSIBILITY=no
2377
2378 DEFAULT_wxUSE_MONOLITHIC=no
2379 DEFAULT_wxUSE_PLUGINS=no
2380 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2381 else
2382 DEFAULT_wxUSE_UNIVERSAL=no
2383 DEFAULT_wxUSE_STL=no
2384
2385 DEFAULT_wxUSE_NANOX=no
2386
2387 DEFAULT_wxUSE_THREADS=yes
2388
2389 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2390 DEFAULT_wxUSE_OPTIMISE=yes
2391 DEFAULT_wxUSE_PROFILE=no
2392 DEFAULT_wxUSE_NO_DEPS=no
2393 DEFAULT_wxUSE_NO_RTTI=no
2394 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2395 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2396 DEFAULT_wxUSE_RPATH=yes
2397 DEFAULT_wxUSE_PERMISSIVE=no
2398 DEFAULT_wxUSE_DEBUG_FLAG=no
2399 DEFAULT_wxUSE_DEBUG_INFO=no
2400 DEFAULT_wxUSE_DEBUG_GDB=no
2401 DEFAULT_wxUSE_MEM_TRACING=no
2402 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2403 DEFAULT_wxUSE_DMALLOC=no
2404 DEFAULT_wxUSE_APPLE_IEEE=yes
2405
2406 DEFAULT_wxUSE_EXCEPTIONS=yes
2407 DEFAULT_wxUSE_LOG=yes
2408 DEFAULT_wxUSE_LOGWINDOW=yes
2409 DEFAULT_wxUSE_LOGGUI=yes
2410 DEFAULT_wxUSE_LOGDIALOG=yes
2411
2412 DEFAULT_wxUSE_GUI=yes
2413
2414 DEFAULT_wxUSE_REGEX=yes
2415 DEFAULT_wxUSE_XML=yes
2416 DEFAULT_wxUSE_EXPAT=yes
2417 DEFAULT_wxUSE_ZLIB=yes
2418 DEFAULT_wxUSE_LIBPNG=yes
2419 DEFAULT_wxUSE_LIBJPEG=yes
2420 DEFAULT_wxUSE_LIBTIFF=yes
2421 DEFAULT_wxUSE_LIBXPM=yes
2422 DEFAULT_wxUSE_LIBMSPACK=yes
2423 DEFAULT_wxUSE_LIBSDL=no
2424 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2425 DEFAULT_wxUSE_LIBGNOMEVFS=no
2426 DEFAULT_wxUSE_LIBHILDON=no
2427 DEFAULT_wxUSE_ODBC=no
2428 DEFAULT_wxUSE_OPENGL=no
2429
2430 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2431 DEFAULT_wxUSE_STACKWALKER=yes
2432 DEFAULT_wxUSE_DEBUGREPORT=yes
2433 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2434 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2435 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2436 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2437 DEFAULT_wxUSE_DATETIME=yes
2438 DEFAULT_wxUSE_TIMER=yes
2439 DEFAULT_wxUSE_STOPWATCH=yes
2440 DEFAULT_wxUSE_FILE=yes
2441 DEFAULT_wxUSE_FFILE=yes
2442 DEFAULT_wxUSE_STDPATHS=yes
2443 DEFAULT_wxUSE_TEXTBUFFER=yes
2444 DEFAULT_wxUSE_TEXTFILE=yes
2445 DEFAULT_wxUSE_SOUND=yes
2446 DEFAULT_wxUSE_MEDIACTRL=no
2447 DEFAULT_wxUSE_GSTREAMER8=no
2448 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2449 DEFAULT_wxUSE_INTL=yes
2450 DEFAULT_wxUSE_CONFIG=yes
2451 DEFAULT_wxUSE_FONTMAP=yes
2452 DEFAULT_wxUSE_STREAMS=yes
2453 DEFAULT_wxUSE_SOCKETS=yes
2454 DEFAULT_wxUSE_OLE=yes
2455 DEFAULT_wxUSE_DATAOBJ=yes
2456 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2457 DEFAULT_wxUSE_JOYSTICK=yes
2458 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2459 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2460 DEFAULT_wxUSE_LONGLONG=yes
2461 DEFAULT_wxUSE_GEOMETRY=yes
2462
2463 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2464 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2465 DEFAULT_wxUSE_POSTSCRIPT=yes
2466
2467 DEFAULT_wxUSE_CLIPBOARD=yes
2468 DEFAULT_wxUSE_TOOLTIPS=yes
2469 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2470 DEFAULT_wxUSE_DRAGIMAGE=yes
2471 DEFAULT_wxUSE_SPLINES=yes
2472 DEFAULT_wxUSE_MOUSEWHEEL=yes
2473
2474 DEFAULT_wxUSE_MDI=yes
2475 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2476 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2477 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2478
2479 DEFAULT_wxUSE_RESOURCES=no
2480 DEFAULT_wxUSE_CONSTRAINTS=yes
2481 DEFAULT_wxUSE_IPC=yes
2482 DEFAULT_wxUSE_HELP=yes
2483 DEFAULT_wxUSE_MS_HTML_HELP=yes
2484 DEFAULT_wxUSE_WXHTML_HELP=yes
2485 DEFAULT_wxUSE_TREELAYOUT=yes
2486 DEFAULT_wxUSE_METAFILE=yes
2487 DEFAULT_wxUSE_MIMETYPE=yes
2488 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2489 DEFAULT_wxUSE_PROTOCOL=yes
2490 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2491 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2492 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2493 DEFAULT_wxUSE_URL=yes
2494 DEFAULT_wxUSE_VARIANT=yes
2495
2496 DEFAULT_wxUSE_ABOUTDLG=yes
2497 DEFAULT_wxUSE_COMMONDLGS=yes
2498 DEFAULT_wxUSE_CHOICEDLG=yes
2499 DEFAULT_wxUSE_COLOURDLG=yes
2500 DEFAULT_wxUSE_DIRDLG=yes
2501 DEFAULT_wxUSE_FILEDLG=yes
2502 DEFAULT_wxUSE_FINDREPLDLG=yes
2503 DEFAULT_wxUSE_FONTDLG=yes
2504 DEFAULT_wxUSE_MSGDLG=yes
2505 DEFAULT_wxUSE_NUMBERDLG=yes
2506 DEFAULT_wxUSE_TEXTDLG=yes
2507 DEFAULT_wxUSE_SPLASH=yes
2508 DEFAULT_wxUSE_STARTUP_TIPS=yes
2509 DEFAULT_wxUSE_PROGRESSDLG=yes
2510 DEFAULT_wxUSE_WIZARDDLG=yes
2511
2512 DEFAULT_wxUSE_MENUS=yes
2513 DEFAULT_wxUSE_MINIFRAME=yes
2514 DEFAULT_wxUSE_HTML=yes
2515 DEFAULT_wxUSE_RICHTEXT=yes
2516 DEFAULT_wxUSE_XRC=yes
2517 DEFAULT_wxUSE_AUI=yes
2518 DEFAULT_wxUSE_WEBKIT=yes
2519 DEFAULT_wxUSE_FILESYSTEM=yes
2520 DEFAULT_wxUSE_FS_INET=yes
2521 DEFAULT_wxUSE_FS_ZIP=yes
2522 DEFAULT_wxUSE_BUSYINFO=yes
2523 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2524 DEFAULT_wxUSE_ZIPSTREAM=yes
2525 DEFAULT_wxUSE_VALIDATORS=yes
2526
2527 DEFAULT_wxUSE_ACCEL=yes
2528 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2529 DEFAULT_wxUSE_BUTTON=yes
2530 DEFAULT_wxUSE_BMPBUTTON=yes
2531 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2532 DEFAULT_wxUSE_CALCTRL=yes
2533 DEFAULT_wxUSE_CARET=yes
2534 DEFAULT_wxUSE_CHECKBOX=yes
2535 DEFAULT_wxUSE_CHECKLST=yes
2536 DEFAULT_wxUSE_CHOICE=yes
2537 DEFAULT_wxUSE_CHOICEBOOK=yes
2538 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2539 DEFAULT_wxUSE_COMBOBOX=yes
2540 DEFAULT_wxUSE_COMBOCTRL=yes
2541 DEFAULT_wxUSE_DATEPICKCTRL=yes
2542 DEFAULT_wxUSE_DISPLAY=yes
2543 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2544 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2545 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2546 DEFAULT_wxUSE_GAUGE=yes
2547 DEFAULT_wxUSE_GRID=yes
2548 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2549 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2550 DEFAULT_wxUSE_DATAVIEWCTRL=no
2551 DEFAULT_wxUSE_IMAGLIST=yes
2552 DEFAULT_wxUSE_LISTBOOK=yes
2553 DEFAULT_wxUSE_LISTBOX=yes
2554 DEFAULT_wxUSE_LISTCTRL=yes
2555 DEFAULT_wxUSE_NOTEBOOK=yes
2556 DEFAULT_wxUSE_ODCOMBOBOX=yes
2557 DEFAULT_wxUSE_RADIOBOX=yes
2558 DEFAULT_wxUSE_RADIOBTN=yes
2559 DEFAULT_wxUSE_SASH=yes
2560 DEFAULT_wxUSE_SCROLLBAR=yes
2561 DEFAULT_wxUSE_SLIDER=yes
2562 DEFAULT_wxUSE_SPINBTN=yes
2563 DEFAULT_wxUSE_SPINCTRL=yes
2564 DEFAULT_wxUSE_SPLITTER=yes
2565 DEFAULT_wxUSE_STATBMP=yes
2566 DEFAULT_wxUSE_STATBOX=yes
2567 DEFAULT_wxUSE_STATLINE=yes
2568 DEFAULT_wxUSE_STATTEXT=yes
2569 DEFAULT_wxUSE_STATUSBAR=yes
2570 DEFAULT_wxUSE_TAB_DIALOG=no
2571 DEFAULT_wxUSE_TEXTCTRL=yes
2572 DEFAULT_wxUSE_TOGGLEBTN=yes
2573 DEFAULT_wxUSE_TOOLBAR=yes
2574 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2575 DEFAULT_wxUSE_TREEBOOK=yes
2576 DEFAULT_wxUSE_TOOLBOOK=yes
2577 DEFAULT_wxUSE_TREECTRL=yes
2578 DEFAULT_wxUSE_POPUPWIN=yes
2579 DEFAULT_wxUSE_TIPWINDOW=yes
2580
2581 DEFAULT_wxUSE_UNICODE=no
2582 DEFAULT_wxUSE_UNICODE_MSLU=yes
2583 DEFAULT_wxUSE_WCSRTOMBS=no
2584
2585 DEFAULT_wxUSE_PALETTE=yes
2586 DEFAULT_wxUSE_IMAGE=yes
2587 DEFAULT_wxUSE_GIF=yes
2588 DEFAULT_wxUSE_PCX=yes
2589 DEFAULT_wxUSE_IFF=no
2590 DEFAULT_wxUSE_PNM=yes
2591 DEFAULT_wxUSE_XPM=yes
2592 DEFAULT_wxUSE_ICO_CUR=yes
2593 DEFAULT_wxUSE_ACCESSIBILITY=no
2594
2595 DEFAULT_wxUSE_MONOLITHIC=no
2596 DEFAULT_wxUSE_PLUGINS=no
2597 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2598
2599 DEFAULT_wxUSE_GTK2=yes
2600 fi
2601
2602
2603
2604
2605 for toolkit in `echo $ALL_TOOLKITS`; do
2606 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2607 if test "x$LINE" != "x" ; then
2608 has_toolkit_in_cache=1
2609 eval "DEFAULT_$LINE"
2610 eval "CACHE_$toolkit=1"
2611
2612 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2613 if test "x$LINE" != "x" ; then
2614 eval "DEFAULT_$LINE"
2615 fi
2616 fi
2617 done
2618
2619
2620
2621 enablestring=
2622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2623 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2624 no_cache=0
2625 # Check whether --enable-gui or --disable-gui was given.
2626 if test "${enable_gui+set}" = set; then
2627 enableval="$enable_gui"
2628
2629 if test "$enableval" = yes; then
2630 ac_cv_use_gui='wxUSE_GUI=yes'
2631 else
2632 ac_cv_use_gui='wxUSE_GUI=no'
2633 fi
2634
2635 else
2636
2637 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2638 if test "x$LINE" != x ; then
2639 eval "DEFAULT_$LINE"
2640 else
2641 no_cache=1
2642 fi
2643
2644 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2645
2646 fi;
2647
2648 eval "$ac_cv_use_gui"
2649 if test "$no_cache" != 1; then
2650 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2651 fi
2652
2653 if test "$wxUSE_GUI" = yes; then
2654 echo "$as_me:$LINENO: result: yes" >&5
2655 echo "${ECHO_T}yes" >&6
2656 else
2657 echo "$as_me:$LINENO: result: no" >&5
2658 echo "${ECHO_T}no" >&6
2659 fi
2660
2661
2662 enablestring=
2663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2664 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2665 no_cache=0
2666 # Check whether --enable-monolithic or --disable-monolithic was given.
2667 if test "${enable_monolithic+set}" = set; then
2668 enableval="$enable_monolithic"
2669
2670 if test "$enableval" = yes; then
2671 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2672 else
2673 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2674 fi
2675
2676 else
2677
2678 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2679 if test "x$LINE" != x ; then
2680 eval "DEFAULT_$LINE"
2681 else
2682 no_cache=1
2683 fi
2684
2685 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2686
2687 fi;
2688
2689 eval "$ac_cv_use_monolithic"
2690 if test "$no_cache" != 1; then
2691 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2692 fi
2693
2694 if test "$wxUSE_MONOLITHIC" = yes; then
2695 echo "$as_me:$LINENO: result: yes" >&5
2696 echo "${ECHO_T}yes" >&6
2697 else
2698 echo "$as_me:$LINENO: result: no" >&5
2699 echo "${ECHO_T}no" >&6
2700 fi
2701
2702
2703 enablestring=
2704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2705 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2706 no_cache=0
2707 # Check whether --enable-plugins or --disable-plugins was given.
2708 if test "${enable_plugins+set}" = set; then
2709 enableval="$enable_plugins"
2710
2711 if test "$enableval" = yes; then
2712 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2713 else
2714 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2715 fi
2716
2717 else
2718
2719 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2720 if test "x$LINE" != x ; then
2721 eval "DEFAULT_$LINE"
2722 else
2723 no_cache=1
2724 fi
2725
2726 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2727
2728 fi;
2729
2730 eval "$ac_cv_use_plugins"
2731 if test "$no_cache" != 1; then
2732 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2733 fi
2734
2735 if test "$wxUSE_PLUGINS" = yes; then
2736 echo "$as_me:$LINENO: result: yes" >&5
2737 echo "${ECHO_T}yes" >&6
2738 else
2739 echo "$as_me:$LINENO: result: no" >&5
2740 echo "${ECHO_T}no" >&6
2741 fi
2742
2743
2744 withstring=without
2745 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2746 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2747 no_cache=0
2748
2749 # Check whether --with-subdirs or --without-subdirs was given.
2750 if test "${with_subdirs+set}" = set; then
2751 withval="$with_subdirs"
2752
2753 if test "$withval" = yes; then
2754 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2755 else
2756 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2757 fi
2758
2759 else
2760
2761 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2762 if test "x$LINE" != x ; then
2763 eval "DEFAULT_$LINE"
2764 else
2765 no_cache=1
2766 fi
2767
2768 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2769
2770 fi;
2771
2772 eval "$ac_cv_use_subdirs"
2773 if test "$no_cache" != 1; then
2774 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2775 fi
2776
2777 if test "$wxWITH_SUBDIRS" = yes; then
2778 echo "$as_me:$LINENO: result: yes" >&5
2779 echo "${ECHO_T}yes" >&6
2780 else
2781 echo "$as_me:$LINENO: result: no" >&5
2782 echo "${ECHO_T}no" >&6
2783 fi
2784
2785
2786 if test "$wxUSE_GUI" = "yes"; then
2787
2788
2789 enablestring=
2790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2791 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2792 no_cache=0
2793 # Check whether --enable-universal or --disable-universal was given.
2794 if test "${enable_universal+set}" = set; then
2795 enableval="$enable_universal"
2796
2797 if test "$enableval" = yes; then
2798 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2799 else
2800 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2801 fi
2802
2803 else
2804
2805 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2806 if test "x$LINE" != x ; then
2807 eval "DEFAULT_$LINE"
2808 else
2809 no_cache=1
2810 fi
2811
2812 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2813
2814 fi;
2815
2816 eval "$ac_cv_use_universal"
2817 if test "$no_cache" != 1; then
2818 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2819 fi
2820
2821 if test "$wxUSE_UNIVERSAL" = yes; then
2822 echo "$as_me:$LINENO: result: yes" >&5
2823 echo "${ECHO_T}yes" >&6
2824 else
2825 echo "$as_me:$LINENO: result: no" >&5
2826 echo "${ECHO_T}no" >&6
2827 fi
2828
2829
2830 # Check whether --with-gtk or --without-gtk was given.
2831 if test "${with_gtk+set}" = set; then
2832 withval="$with_gtk"
2833 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2834 fi;
2835
2836 # Check whether --with-motif or --without-motif was given.
2837 if test "${with_motif+set}" = set; then
2838 withval="$with_motif"
2839 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2840 fi;
2841
2842 # Check whether --with-mac or --without-mac was given.
2843 if test "${with_mac+set}" = set; then
2844 withval="$with_mac"
2845 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2846 fi;
2847
2848 # Check whether --with-cocoa or --without-cocoa was given.
2849 if test "${with_cocoa+set}" = set; then
2850 withval="$with_cocoa"
2851 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2852 fi;
2853
2854 # Check whether --with-wine or --without-wine was given.
2855 if test "${with_wine+set}" = set; then
2856 withval="$with_wine"
2857 wxUSE_WINE="$withval" CACHE_WINE=1
2858 fi;
2859
2860 # Check whether --with-msw or --without-msw was given.
2861 if test "${with_msw+set}" = set; then
2862 withval="$with_msw"
2863 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2864 fi;
2865
2866 # Check whether --with-pm or --without-pm was given.
2867 if test "${with_pm+set}" = set; then
2868 withval="$with_pm"
2869 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2870 fi;
2871
2872 # Check whether --with-mgl or --without-mgl was given.
2873 if test "${with_mgl+set}" = set; then
2874 withval="$with_mgl"
2875 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2876 fi;
2877
2878 # Check whether --with-directfb or --without-directfb was given.
2879 if test "${with_directfb+set}" = set; then
2880 withval="$with_directfb"
2881 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2882 fi;
2883
2884 # Check whether --with-microwin or --without-microwin was given.
2885 if test "${with_microwin+set}" = set; then
2886 withval="$with_microwin"
2887 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2888 fi;
2889
2890 # Check whether --with-x11 or --without-x11 was given.
2891 if test "${with_x11+set}" = set; then
2892 withval="$with_x11"
2893 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2894 fi;
2895
2896 enablestring=
2897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2898 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2899 no_cache=0
2900 # Check whether --enable-nanox or --disable-nanox was given.
2901 if test "${enable_nanox+set}" = set; then
2902 enableval="$enable_nanox"
2903
2904 if test "$enableval" = yes; then
2905 ac_cv_use_nanox='wxUSE_NANOX=yes'
2906 else
2907 ac_cv_use_nanox='wxUSE_NANOX=no'
2908 fi
2909
2910 else
2911
2912 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2913 if test "x$LINE" != x ; then
2914 eval "DEFAULT_$LINE"
2915 else
2916 no_cache=1
2917 fi
2918
2919 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2920
2921 fi;
2922
2923 eval "$ac_cv_use_nanox"
2924 if test "$no_cache" != 1; then
2925 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2926 fi
2927
2928 if test "$wxUSE_NANOX" = yes; then
2929 echo "$as_me:$LINENO: result: yes" >&5
2930 echo "${ECHO_T}yes" >&6
2931 else
2932 echo "$as_me:$LINENO: result: no" >&5
2933 echo "${ECHO_T}no" >&6
2934 fi
2935
2936
2937 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2938 if test "${enable_gtk2+set}" = set; then
2939 enableval="$enable_gtk2"
2940 wxUSE_GTK2="$enableval"
2941 fi;
2942
2943 enablestring=
2944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2945 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2946 no_cache=0
2947 # Check whether --enable-gpe or --disable-gpe was given.
2948 if test "${enable_gpe+set}" = set; then
2949 enableval="$enable_gpe"
2950
2951 if test "$enableval" = yes; then
2952 ac_cv_use_gpe='wxUSE_GPE=yes'
2953 else
2954 ac_cv_use_gpe='wxUSE_GPE=no'
2955 fi
2956
2957 else
2958
2959 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2960 if test "x$LINE" != x ; then
2961 eval "DEFAULT_$LINE"
2962 else
2963 no_cache=1
2964 fi
2965
2966 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2967
2968 fi;
2969
2970 eval "$ac_cv_use_gpe"
2971 if test "$no_cache" != 1; then
2972 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2973 fi
2974
2975 if test "$wxUSE_GPE" = yes; then
2976 echo "$as_me:$LINENO: result: yes" >&5
2977 echo "${ECHO_T}yes" >&6
2978 else
2979 echo "$as_me:$LINENO: result: no" >&5
2980 echo "${ECHO_T}no" >&6
2981 fi
2982
2983
2984
2985 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2986 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2987 no_cache=0
2988
2989 # Check whether --with-libpng or --without-libpng was given.
2990 if test "${with_libpng+set}" = set; then
2991 withval="$with_libpng"
2992
2993 if test "$withval" = yes; then
2994 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2995 elif test "$withval" = no; then
2996 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2997 elif test "$withval" = sys; then
2998 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2999 elif test "$withval" = builtin; then
3000 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3001 else
3002 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3003 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3004 { (exit 1); exit 1; }; }
3005 fi
3006
3007 else
3008
3009 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3010 if test "x$LINE" != x ; then
3011 eval "DEFAULT_$LINE"
3012 else
3013 no_cache=1
3014 fi
3015
3016 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3017
3018 fi;
3019
3020 eval "$ac_cv_use_libpng"
3021 if test "$no_cache" != 1; then
3022 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3023 fi
3024
3025 if test "$wxUSE_LIBPNG" = yes; then
3026 echo "$as_me:$LINENO: result: yes" >&5
3027 echo "${ECHO_T}yes" >&6
3028 elif test "$wxUSE_LIBPNG" = no; then
3029 echo "$as_me:$LINENO: result: no" >&5
3030 echo "${ECHO_T}no" >&6
3031 elif test "$wxUSE_LIBPNG" = sys; then
3032 echo "$as_me:$LINENO: result: system version" >&5
3033 echo "${ECHO_T}system version" >&6
3034 elif test "$wxUSE_LIBPNG" = builtin; then
3035 echo "$as_me:$LINENO: result: builtin version" >&5
3036 echo "${ECHO_T}builtin version" >&6
3037 else
3038 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3039 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3040 { (exit 1); exit 1; }; }
3041 fi
3042
3043
3044 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3045 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3046 no_cache=0
3047
3048 # Check whether --with-libjpeg or --without-libjpeg was given.
3049 if test "${with_libjpeg+set}" = set; then
3050 withval="$with_libjpeg"
3051
3052 if test "$withval" = yes; then
3053 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3054 elif test "$withval" = no; then
3055 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3056 elif test "$withval" = sys; then
3057 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3058 elif test "$withval" = builtin; then
3059 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3060 else
3061 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3062 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3063 { (exit 1); exit 1; }; }
3064 fi
3065
3066 else
3067
3068 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3069 if test "x$LINE" != x ; then
3070 eval "DEFAULT_$LINE"
3071 else
3072 no_cache=1
3073 fi
3074
3075 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3076
3077 fi;
3078
3079 eval "$ac_cv_use_libjpeg"
3080 if test "$no_cache" != 1; then
3081 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3082 fi
3083
3084 if test "$wxUSE_LIBJPEG" = yes; then
3085 echo "$as_me:$LINENO: result: yes" >&5
3086 echo "${ECHO_T}yes" >&6
3087 elif test "$wxUSE_LIBJPEG" = no; then
3088 echo "$as_me:$LINENO: result: no" >&5
3089 echo "${ECHO_T}no" >&6
3090 elif test "$wxUSE_LIBJPEG" = sys; then
3091 echo "$as_me:$LINENO: result: system version" >&5
3092 echo "${ECHO_T}system version" >&6
3093 elif test "$wxUSE_LIBJPEG" = builtin; then
3094 echo "$as_me:$LINENO: result: builtin version" >&5
3095 echo "${ECHO_T}builtin version" >&6
3096 else
3097 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3098 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3099 { (exit 1); exit 1; }; }
3100 fi
3101
3102
3103 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3104 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3105 no_cache=0
3106
3107 # Check whether --with-libtiff or --without-libtiff was given.
3108 if test "${with_libtiff+set}" = set; then
3109 withval="$with_libtiff"
3110
3111 if test "$withval" = yes; then
3112 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3113 elif test "$withval" = no; then
3114 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3115 elif test "$withval" = sys; then
3116 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3117 elif test "$withval" = builtin; then
3118 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3119 else
3120 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3121 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3122 { (exit 1); exit 1; }; }
3123 fi
3124
3125 else
3126
3127 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3128 if test "x$LINE" != x ; then
3129 eval "DEFAULT_$LINE"
3130 else
3131 no_cache=1
3132 fi
3133
3134 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3135
3136 fi;
3137
3138 eval "$ac_cv_use_libtiff"
3139 if test "$no_cache" != 1; then
3140 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3141 fi
3142
3143 if test "$wxUSE_LIBTIFF" = yes; then
3144 echo "$as_me:$LINENO: result: yes" >&5
3145 echo "${ECHO_T}yes" >&6
3146 elif test "$wxUSE_LIBTIFF" = no; then
3147 echo "$as_me:$LINENO: result: no" >&5
3148 echo "${ECHO_T}no" >&6
3149 elif test "$wxUSE_LIBTIFF" = sys; then
3150 echo "$as_me:$LINENO: result: system version" >&5
3151 echo "${ECHO_T}system version" >&6
3152 elif test "$wxUSE_LIBTIFF" = builtin; then
3153 echo "$as_me:$LINENO: result: builtin version" >&5
3154 echo "${ECHO_T}builtin version" >&6
3155 else
3156 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3157 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3158 { (exit 1); exit 1; }; }
3159 fi
3160
3161
3162 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3163 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3164 no_cache=0
3165
3166 # Check whether --with-libxpm or --without-libxpm was given.
3167 if test "${with_libxpm+set}" = set; then
3168 withval="$with_libxpm"
3169
3170 if test "$withval" = yes; then
3171 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3172 elif test "$withval" = no; then
3173 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3174 elif test "$withval" = sys; then
3175 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3176 elif test "$withval" = builtin; then
3177 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3178 else
3179 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3180 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3181 { (exit 1); exit 1; }; }
3182 fi
3183
3184 else
3185
3186 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3187 if test "x$LINE" != x ; then
3188 eval "DEFAULT_$LINE"
3189 else
3190 no_cache=1
3191 fi
3192
3193 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3194
3195 fi;
3196
3197 eval "$ac_cv_use_libxpm"
3198 if test "$no_cache" != 1; then
3199 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3200 fi
3201
3202 if test "$wxUSE_LIBXPM" = yes; then
3203 echo "$as_me:$LINENO: result: yes" >&5
3204 echo "${ECHO_T}yes" >&6
3205 elif test "$wxUSE_LIBXPM" = no; then
3206 echo "$as_me:$LINENO: result: no" >&5
3207 echo "${ECHO_T}no" >&6
3208 elif test "$wxUSE_LIBXPM" = sys; then
3209 echo "$as_me:$LINENO: result: system version" >&5
3210 echo "${ECHO_T}system version" >&6
3211 elif test "$wxUSE_LIBXPM" = builtin; then
3212 echo "$as_me:$LINENO: result: builtin version" >&5
3213 echo "${ECHO_T}builtin version" >&6
3214 else
3215 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3216 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3217 { (exit 1); exit 1; }; }
3218 fi
3219
3220
3221 withstring=
3222 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3223 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3224 no_cache=0
3225
3226 # Check whether --with-libmspack or --without-libmspack was given.
3227 if test "${with_libmspack+set}" = set; then
3228 withval="$with_libmspack"
3229
3230 if test "$withval" = yes; then
3231 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3232 else
3233 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3234 fi
3235
3236 else
3237
3238 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3239 if test "x$LINE" != x ; then
3240 eval "DEFAULT_$LINE"
3241 else
3242 no_cache=1
3243 fi
3244
3245 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3246
3247 fi;
3248
3249 eval "$ac_cv_use_libmspack"
3250 if test "$no_cache" != 1; then
3251 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3252 fi
3253
3254 if test "$wxUSE_LIBMSPACK" = yes; then
3255 echo "$as_me:$LINENO: result: yes" >&5
3256 echo "${ECHO_T}yes" >&6
3257 else
3258 echo "$as_me:$LINENO: result: no" >&5
3259 echo "${ECHO_T}no" >&6
3260 fi
3261
3262
3263 withstring=
3264 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3265 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3266 no_cache=0
3267
3268 # Check whether --with-sdl or --without-sdl was given.
3269 if test "${with_sdl+set}" = set; then
3270 withval="$with_sdl"
3271
3272 if test "$withval" = yes; then
3273 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3274 else
3275 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3276 fi
3277
3278 else
3279
3280 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3281 if test "x$LINE" != x ; then
3282 eval "DEFAULT_$LINE"
3283 else
3284 no_cache=1
3285 fi
3286
3287 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3288
3289 fi;
3290
3291 eval "$ac_cv_use_sdl"
3292 if test "$no_cache" != 1; then
3293 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3294 fi
3295
3296 if test "$wxUSE_LIBSDL" = yes; then
3297 echo "$as_me:$LINENO: result: yes" >&5
3298 echo "${ECHO_T}yes" >&6
3299 else
3300 echo "$as_me:$LINENO: result: no" >&5
3301 echo "${ECHO_T}no" >&6
3302 fi
3303
3304
3305 withstring=
3306 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3307 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3308 no_cache=0
3309
3310 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3311 if test "${with_gnomeprint+set}" = set; then
3312 withval="$with_gnomeprint"
3313
3314 if test "$withval" = yes; then
3315 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3316 else
3317 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3318 fi
3319
3320 else
3321
3322 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3323 if test "x$LINE" != x ; then
3324 eval "DEFAULT_$LINE"
3325 else
3326 no_cache=1
3327 fi
3328
3329 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3330
3331 fi;
3332
3333 eval "$ac_cv_use_gnomeprint"
3334 if test "$no_cache" != 1; then
3335 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3336 fi
3337
3338 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3339 echo "$as_me:$LINENO: result: yes" >&5
3340 echo "${ECHO_T}yes" >&6
3341 else
3342 echo "$as_me:$LINENO: result: no" >&5
3343 echo "${ECHO_T}no" >&6
3344 fi
3345
3346
3347 withstring=
3348 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3349 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3350 no_cache=0
3351
3352 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3353 if test "${with_gnomevfs+set}" = set; then
3354 withval="$with_gnomevfs"
3355
3356 if test "$withval" = yes; then
3357 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3358 else
3359 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3360 fi
3361
3362 else
3363
3364 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3365 if test "x$LINE" != x ; then
3366 eval "DEFAULT_$LINE"
3367 else
3368 no_cache=1
3369 fi
3370
3371 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3372
3373 fi;
3374
3375 eval "$ac_cv_use_gnomevfs"
3376 if test "$no_cache" != 1; then
3377 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3378 fi
3379
3380 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3381 echo "$as_me:$LINENO: result: yes" >&5
3382 echo "${ECHO_T}yes" >&6
3383 else
3384 echo "$as_me:$LINENO: result: no" >&5
3385 echo "${ECHO_T}no" >&6
3386 fi
3387
3388
3389 withstring=
3390 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3391 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3392 no_cache=0
3393
3394 # Check whether --with-hildon or --without-hildon was given.
3395 if test "${with_hildon+set}" = set; then
3396 withval="$with_hildon"
3397
3398 if test "$withval" = yes; then
3399 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3400 else
3401 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3402 fi
3403
3404 else
3405
3406 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3407 if test "x$LINE" != x ; then
3408 eval "DEFAULT_$LINE"
3409 else
3410 no_cache=1
3411 fi
3412
3413 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3414
3415 fi;
3416
3417 eval "$ac_cv_use_hildon"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3420 fi
3421
3422 if test "$wxUSE_LIBHILDON" = yes; then
3423 echo "$as_me:$LINENO: result: yes" >&5
3424 echo "${ECHO_T}yes" >&6
3425 else
3426 echo "$as_me:$LINENO: result: no" >&5
3427 echo "${ECHO_T}no" >&6
3428 fi
3429
3430
3431 withstring=
3432 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3433 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3434 no_cache=0
3435
3436 # Check whether --with-opengl or --without-opengl was given.
3437 if test "${with_opengl+set}" = set; then
3438 withval="$with_opengl"
3439
3440 if test "$withval" = yes; then
3441 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3442 else
3443 ac_cv_use_opengl='wxUSE_OPENGL=no'
3444 fi
3445
3446 else
3447
3448 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3449 if test "x$LINE" != x ; then
3450 eval "DEFAULT_$LINE"
3451 else
3452 no_cache=1
3453 fi
3454
3455 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3456
3457 fi;
3458
3459 eval "$ac_cv_use_opengl"
3460 if test "$no_cache" != 1; then
3461 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3462 fi
3463
3464 if test "$wxUSE_OPENGL" = yes; then
3465 echo "$as_me:$LINENO: result: yes" >&5
3466 echo "${ECHO_T}yes" >&6
3467 else
3468 echo "$as_me:$LINENO: result: no" >&5
3469 echo "${ECHO_T}no" >&6
3470 fi
3471
3472
3473 if test "$wxUSE_UNIVERSAL" = "yes"; then
3474
3475 # Check whether --with-themes or --without-themes was given.
3476 if test "${with_themes+set}" = set; then
3477 withval="$with_themes"
3478 wxUNIV_THEMES="$withval"
3479 fi;
3480 fi
3481
3482 fi
3483
3484
3485 withstring=
3486 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3487 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3488 no_cache=0
3489
3490 # Check whether --with-dmalloc or --without-dmalloc was given.
3491 if test "${with_dmalloc+set}" = set; then
3492 withval="$with_dmalloc"
3493
3494 if test "$withval" = yes; then
3495 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3496 else
3497 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3498 fi
3499
3500 else
3501
3502 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3503 if test "x$LINE" != x ; then
3504 eval "DEFAULT_$LINE"
3505 else
3506 no_cache=1
3507 fi
3508
3509 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3510
3511 fi;
3512
3513 eval "$ac_cv_use_dmalloc"
3514 if test "$no_cache" != 1; then
3515 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3516 fi
3517
3518 if test "$wxUSE_DMALLOC" = yes; then
3519 echo "$as_me:$LINENO: result: yes" >&5
3520 echo "${ECHO_T}yes" >&6
3521 else
3522 echo "$as_me:$LINENO: result: no" >&5
3523 echo "${ECHO_T}no" >&6
3524 fi
3525
3526
3527 echo "$as_me:$LINENO: checking for --with-regex" >&5
3528 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3529 no_cache=0
3530
3531 # Check whether --with-regex or --without-regex was given.
3532 if test "${with_regex+set}" = set; then
3533 withval="$with_regex"
3534
3535 if test "$withval" = yes; then
3536 ac_cv_use_regex='wxUSE_REGEX=yes'
3537 elif test "$withval" = no; then
3538 ac_cv_use_regex='wxUSE_REGEX=no'
3539 elif test "$withval" = sys; then
3540 ac_cv_use_regex='wxUSE_REGEX=sys'
3541 elif test "$withval" = builtin; then
3542 ac_cv_use_regex='wxUSE_REGEX=builtin'
3543 else
3544 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3545 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3546 { (exit 1); exit 1; }; }
3547 fi
3548
3549 else
3550
3551 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3552 if test "x$LINE" != x ; then
3553 eval "DEFAULT_$LINE"
3554 else
3555 no_cache=1
3556 fi
3557
3558 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3559
3560 fi;
3561
3562 eval "$ac_cv_use_regex"
3563 if test "$no_cache" != 1; then
3564 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3565 fi
3566
3567 if test "$wxUSE_REGEX" = yes; then
3568 echo "$as_me:$LINENO: result: yes" >&5
3569 echo "${ECHO_T}yes" >&6
3570 elif test "$wxUSE_REGEX" = no; then
3571 echo "$as_me:$LINENO: result: no" >&5
3572 echo "${ECHO_T}no" >&6
3573 elif test "$wxUSE_REGEX" = sys; then
3574 echo "$as_me:$LINENO: result: system version" >&5
3575 echo "${ECHO_T}system version" >&6
3576 elif test "$wxUSE_REGEX" = builtin; then
3577 echo "$as_me:$LINENO: result: builtin version" >&5
3578 echo "${ECHO_T}builtin version" >&6
3579 else
3580 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3581 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3582 { (exit 1); exit 1; }; }
3583 fi
3584
3585
3586 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3587 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3588 no_cache=0
3589
3590 # Check whether --with-zlib or --without-zlib was given.
3591 if test "${with_zlib+set}" = set; then
3592 withval="$with_zlib"
3593
3594 if test "$withval" = yes; then
3595 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3596 elif test "$withval" = no; then
3597 ac_cv_use_zlib='wxUSE_ZLIB=no'
3598 elif test "$withval" = sys; then
3599 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3600 elif test "$withval" = builtin; then
3601 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3602 else
3603 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3604 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3605 { (exit 1); exit 1; }; }
3606 fi
3607
3608 else
3609
3610 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3611 if test "x$LINE" != x ; then
3612 eval "DEFAULT_$LINE"
3613 else
3614 no_cache=1
3615 fi
3616
3617 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3618
3619 fi;
3620
3621 eval "$ac_cv_use_zlib"
3622 if test "$no_cache" != 1; then
3623 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3624 fi
3625
3626 if test "$wxUSE_ZLIB" = yes; then
3627 echo "$as_me:$LINENO: result: yes" >&5
3628 echo "${ECHO_T}yes" >&6
3629 elif test "$wxUSE_ZLIB" = no; then
3630 echo "$as_me:$LINENO: result: no" >&5
3631 echo "${ECHO_T}no" >&6
3632 elif test "$wxUSE_ZLIB" = sys; then
3633 echo "$as_me:$LINENO: result: system version" >&5
3634 echo "${ECHO_T}system version" >&6
3635 elif test "$wxUSE_ZLIB" = builtin; then
3636 echo "$as_me:$LINENO: result: builtin version" >&5
3637 echo "${ECHO_T}builtin version" >&6
3638 else
3639 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3640 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3641 { (exit 1); exit 1; }; }
3642 fi
3643
3644
3645 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3646 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3647 no_cache=0
3648
3649 # Check whether --with-odbc or --without-odbc was given.
3650 if test "${with_odbc+set}" = set; then
3651 withval="$with_odbc"
3652
3653 if test "$withval" = yes; then
3654 ac_cv_use_odbc='wxUSE_ODBC=yes'
3655 elif test "$withval" = no; then
3656 ac_cv_use_odbc='wxUSE_ODBC=no'
3657 elif test "$withval" = sys; then
3658 ac_cv_use_odbc='wxUSE_ODBC=sys'
3659 elif test "$withval" = builtin; then
3660 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3661 else
3662 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3663 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3664 { (exit 1); exit 1; }; }
3665 fi
3666
3667 else
3668
3669 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3670 if test "x$LINE" != x ; then
3671 eval "DEFAULT_$LINE"
3672 else
3673 no_cache=1
3674 fi
3675
3676 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3677
3678 fi;
3679
3680 eval "$ac_cv_use_odbc"
3681 if test "$no_cache" != 1; then
3682 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3683 fi
3684
3685 if test "$wxUSE_ODBC" = yes; then
3686 echo "$as_me:$LINENO: result: yes" >&5
3687 echo "${ECHO_T}yes" >&6
3688 elif test "$wxUSE_ODBC" = no; then
3689 echo "$as_me:$LINENO: result: no" >&5
3690 echo "${ECHO_T}no" >&6
3691 elif test "$wxUSE_ODBC" = sys; then
3692 echo "$as_me:$LINENO: result: system version" >&5
3693 echo "${ECHO_T}system version" >&6
3694 elif test "$wxUSE_ODBC" = builtin; then
3695 echo "$as_me:$LINENO: result: builtin version" >&5
3696 echo "${ECHO_T}builtin version" >&6
3697 else
3698 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3699 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3700 { (exit 1); exit 1; }; }
3701 fi
3702
3703
3704 echo "$as_me:$LINENO: checking for --with-expat" >&5
3705 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3706 no_cache=0
3707
3708 # Check whether --with-expat or --without-expat was given.
3709 if test "${with_expat+set}" = set; then
3710 withval="$with_expat"
3711
3712 if test "$withval" = yes; then
3713 ac_cv_use_expat='wxUSE_EXPAT=yes'
3714 elif test "$withval" = no; then
3715 ac_cv_use_expat='wxUSE_EXPAT=no'
3716 elif test "$withval" = sys; then
3717 ac_cv_use_expat='wxUSE_EXPAT=sys'
3718 elif test "$withval" = builtin; then
3719 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3720 else
3721 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3722 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3723 { (exit 1); exit 1; }; }
3724 fi
3725
3726 else
3727
3728 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3729 if test "x$LINE" != x ; then
3730 eval "DEFAULT_$LINE"
3731 else
3732 no_cache=1
3733 fi
3734
3735 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3736
3737 fi;
3738
3739 eval "$ac_cv_use_expat"
3740 if test "$no_cache" != 1; then
3741 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3742 fi
3743
3744 if test "$wxUSE_EXPAT" = yes; then
3745 echo "$as_me:$LINENO: result: yes" >&5
3746 echo "${ECHO_T}yes" >&6
3747 elif test "$wxUSE_EXPAT" = no; then
3748 echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6
3750 elif test "$wxUSE_EXPAT" = sys; then
3751 echo "$as_me:$LINENO: result: system version" >&5
3752 echo "${ECHO_T}system version" >&6
3753 elif test "$wxUSE_EXPAT" = builtin; then
3754 echo "$as_me:$LINENO: result: builtin version" >&5
3755 echo "${ECHO_T}builtin version" >&6
3756 else
3757 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3758 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3759 { (exit 1); exit 1; }; }
3760 fi
3761
3762
3763
3764
3765 enablestring=
3766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3767 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3768 no_cache=0
3769 # Check whether --enable-shared or --disable-shared was given.
3770 if test "${enable_shared+set}" = set; then
3771 enableval="$enable_shared"
3772
3773 if test "$enableval" = yes; then
3774 ac_cv_use_shared='wxUSE_SHARED=yes'
3775 else
3776 ac_cv_use_shared='wxUSE_SHARED=no'
3777 fi
3778
3779 else
3780
3781 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3782 if test "x$LINE" != x ; then
3783 eval "DEFAULT_$LINE"
3784 else
3785 no_cache=1
3786 fi
3787
3788 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3789
3790 fi;
3791
3792 eval "$ac_cv_use_shared"
3793 if test "$no_cache" != 1; then
3794 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3795 fi
3796
3797 if test "$wxUSE_SHARED" = yes; then
3798 echo "$as_me:$LINENO: result: yes" >&5
3799 echo "${ECHO_T}yes" >&6
3800 else
3801 echo "$as_me:$LINENO: result: no" >&5
3802 echo "${ECHO_T}no" >&6
3803 fi
3804
3805
3806 enablestring=
3807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3808 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3809 no_cache=0
3810 # Check whether --enable-optimise or --disable-optimise was given.
3811 if test "${enable_optimise+set}" = set; then
3812 enableval="$enable_optimise"
3813
3814 if test "$enableval" = yes; then
3815 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3816 else
3817 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3818 fi
3819
3820 else
3821
3822 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3823 if test "x$LINE" != x ; then
3824 eval "DEFAULT_$LINE"
3825 else
3826 no_cache=1
3827 fi
3828
3829 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3830
3831 fi;
3832
3833 eval "$ac_cv_use_optimise"
3834 if test "$no_cache" != 1; then
3835 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3836 fi
3837
3838 if test "$wxUSE_OPTIMISE" = yes; then
3839 echo "$as_me:$LINENO: result: yes" >&5
3840 echo "${ECHO_T}yes" >&6
3841 else
3842 echo "$as_me:$LINENO: result: no" >&5
3843 echo "${ECHO_T}no" >&6
3844 fi
3845
3846
3847 enablestring=
3848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3849 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3850 no_cache=0
3851 # Check whether --enable-debug or --disable-debug was given.
3852 if test "${enable_debug+set}" = set; then
3853 enableval="$enable_debug"
3854
3855 if test "$enableval" = yes; then
3856 ac_cv_use_debug='wxUSE_DEBUG=yes'
3857 else
3858 ac_cv_use_debug='wxUSE_DEBUG=no'
3859 fi
3860
3861 else
3862
3863 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3864 if test "x$LINE" != x ; then
3865 eval "DEFAULT_$LINE"
3866 else
3867 no_cache=1
3868 fi
3869
3870 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3871
3872 fi;
3873
3874 eval "$ac_cv_use_debug"
3875 if test "$no_cache" != 1; then
3876 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3877 fi
3878
3879 if test "$wxUSE_DEBUG" = yes; then
3880 echo "$as_me:$LINENO: result: yes" >&5
3881 echo "${ECHO_T}yes" >&6
3882 else
3883 echo "$as_me:$LINENO: result: no" >&5
3884 echo "${ECHO_T}no" >&6
3885 fi
3886
3887
3888 enablestring=
3889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3890 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3891 no_cache=0
3892 # Check whether --enable-stl or --disable-stl was given.
3893 if test "${enable_stl+set}" = set; then
3894 enableval="$enable_stl"
3895
3896 if test "$enableval" = yes; then
3897 ac_cv_use_stl='wxUSE_STL=yes'
3898 else
3899 ac_cv_use_stl='wxUSE_STL=no'
3900 fi
3901
3902 else
3903
3904 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3905 if test "x$LINE" != x ; then
3906 eval "DEFAULT_$LINE"
3907 else
3908 no_cache=1
3909 fi
3910
3911 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3912
3913 fi;
3914
3915 eval "$ac_cv_use_stl"
3916 if test "$no_cache" != 1; then
3917 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3918 fi
3919
3920 if test "$wxUSE_STL" = yes; then
3921 echo "$as_me:$LINENO: result: yes" >&5
3922 echo "${ECHO_T}yes" >&6
3923 else
3924 echo "$as_me:$LINENO: result: no" >&5
3925 echo "${ECHO_T}no" >&6
3926 fi
3927
3928 if test "$USE_OS2" = "1"; then
3929 DEFAULT_wxUSE_OMF=no
3930
3931 enablestring=
3932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3933 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3934 no_cache=0
3935 # Check whether --enable-omf or --disable-omf was given.
3936 if test "${enable_omf+set}" = set; then
3937 enableval="$enable_omf"
3938
3939 if test "$enableval" = yes; then
3940 ac_cv_use_omf='wxUSE_OMF=yes'
3941 else
3942 ac_cv_use_omf='wxUSE_OMF=no'
3943 fi
3944
3945 else
3946
3947 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3948 if test "x$LINE" != x ; then
3949 eval "DEFAULT_$LINE"
3950 else
3951 no_cache=1
3952 fi
3953
3954 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3955
3956 fi;
3957
3958 eval "$ac_cv_use_omf"
3959 if test "$no_cache" != 1; then
3960 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3961 fi
3962
3963 if test "$wxUSE_OMF" = yes; then
3964 echo "$as_me:$LINENO: result: yes" >&5
3965 echo "${ECHO_T}yes" >&6
3966 else
3967 echo "$as_me:$LINENO: result: no" >&5
3968 echo "${ECHO_T}no" >&6
3969 fi
3970
3971 fi
3972
3973 if test "$wxUSE_DEBUG" = "yes"; then
3974 DEFAULT_wxUSE_DEBUG_FLAG=yes
3975 DEFAULT_wxUSE_DEBUG_INFO=yes
3976 BUILD=debug
3977 elif test "$wxUSE_DEBUG" = "no"; then
3978 DEFAULT_wxUSE_DEBUG_FLAG=no
3979 DEFAULT_wxUSE_DEBUG_INFO=no
3980 BUILD=release
3981 fi
3982
3983
3984 enablestring=
3985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3986 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3987 no_cache=0
3988 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3989 if test "${enable_debug_flag+set}" = set; then
3990 enableval="$enable_debug_flag"
3991
3992 if test "$enableval" = yes; then
3993 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3994 else
3995 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3996 fi
3997
3998 else
3999
4000 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4001 if test "x$LINE" != x ; then
4002 eval "DEFAULT_$LINE"
4003 else
4004 no_cache=1
4005 fi
4006
4007 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4008
4009 fi;
4010
4011 eval "$ac_cv_use_debug_flag"
4012 if test "$no_cache" != 1; then
4013 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4014 fi
4015
4016 if test "$wxUSE_DEBUG_FLAG" = yes; then
4017 echo "$as_me:$LINENO: result: yes" >&5
4018 echo "${ECHO_T}yes" >&6
4019 else
4020 echo "$as_me:$LINENO: result: no" >&5
4021 echo "${ECHO_T}no" >&6
4022 fi
4023
4024
4025 enablestring=
4026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4027 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4028 no_cache=0
4029 # Check whether --enable-debug_info or --disable-debug_info was given.
4030 if test "${enable_debug_info+set}" = set; then
4031 enableval="$enable_debug_info"
4032
4033 if test "$enableval" = yes; then
4034 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4035 else
4036 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4037 fi
4038
4039 else
4040
4041 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4042 if test "x$LINE" != x ; then
4043 eval "DEFAULT_$LINE"
4044 else
4045 no_cache=1
4046 fi
4047
4048 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4049
4050 fi;
4051
4052 eval "$ac_cv_use_debug_info"
4053 if test "$no_cache" != 1; then
4054 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4055 fi
4056
4057 if test "$wxUSE_DEBUG_INFO" = yes; then
4058 echo "$as_me:$LINENO: result: yes" >&5
4059 echo "${ECHO_T}yes" >&6
4060 else
4061 echo "$as_me:$LINENO: result: no" >&5
4062 echo "${ECHO_T}no" >&6
4063 fi
4064
4065
4066 enablestring=
4067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4068 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4069 no_cache=0
4070 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4071 if test "${enable_debug_gdb+set}" = set; then
4072 enableval="$enable_debug_gdb"
4073
4074 if test "$enableval" = yes; then
4075 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4076 else
4077 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4078 fi
4079
4080 else
4081
4082 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4083 if test "x$LINE" != x ; then
4084 eval "DEFAULT_$LINE"
4085 else
4086 no_cache=1
4087 fi
4088
4089 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4090
4091 fi;
4092
4093 eval "$ac_cv_use_debug_gdb"
4094 if test "$no_cache" != 1; then
4095 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4096 fi
4097
4098 if test "$wxUSE_DEBUG_GDB" = yes; then
4099 echo "$as_me:$LINENO: result: yes" >&5
4100 echo "${ECHO_T}yes" >&6
4101 else
4102 echo "$as_me:$LINENO: result: no" >&5
4103 echo "${ECHO_T}no" >&6
4104 fi
4105
4106
4107 enablestring=
4108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4109 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4110 no_cache=0
4111 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4112 if test "${enable_debug_cntxt+set}" = set; then
4113 enableval="$enable_debug_cntxt"
4114
4115 if test "$enableval" = yes; then
4116 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4117 else
4118 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4119 fi
4120
4121 else
4122
4123 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4124 if test "x$LINE" != x ; then
4125 eval "DEFAULT_$LINE"
4126 else
4127 no_cache=1
4128 fi
4129
4130 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4131
4132 fi;
4133
4134 eval "$ac_cv_use_debug_cntxt"
4135 if test "$no_cache" != 1; then
4136 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4137 fi
4138
4139 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4140 echo "$as_me:$LINENO: result: yes" >&5
4141 echo "${ECHO_T}yes" >&6
4142 else
4143 echo "$as_me:$LINENO: result: no" >&5
4144 echo "${ECHO_T}no" >&6
4145 fi
4146
4147
4148 enablestring=
4149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4150 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4151 no_cache=0
4152 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4153 if test "${enable_mem_tracing+set}" = set; then
4154 enableval="$enable_mem_tracing"
4155
4156 if test "$enableval" = yes; then
4157 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4158 else
4159 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4160 fi
4161
4162 else
4163
4164 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4165 if test "x$LINE" != x ; then
4166 eval "DEFAULT_$LINE"
4167 else
4168 no_cache=1
4169 fi
4170
4171 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4172
4173 fi;
4174
4175 eval "$ac_cv_use_mem_tracing"
4176 if test "$no_cache" != 1; then
4177 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4178 fi
4179
4180 if test "$wxUSE_MEM_TRACING" = yes; then
4181 echo "$as_me:$LINENO: result: yes" >&5
4182 echo "${ECHO_T}yes" >&6
4183 else
4184 echo "$as_me:$LINENO: result: no" >&5
4185 echo "${ECHO_T}no" >&6
4186 fi
4187
4188
4189 enablestring=
4190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4191 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4192 no_cache=0
4193 # Check whether --enable-profile or --disable-profile was given.
4194 if test "${enable_profile+set}" = set; then
4195 enableval="$enable_profile"
4196
4197 if test "$enableval" = yes; then
4198 ac_cv_use_profile='wxUSE_PROFILE=yes'
4199 else
4200 ac_cv_use_profile='wxUSE_PROFILE=no'
4201 fi
4202
4203 else
4204
4205 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4206 if test "x$LINE" != x ; then
4207 eval "DEFAULT_$LINE"
4208 else
4209 no_cache=1
4210 fi
4211
4212 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4213
4214 fi;
4215
4216 eval "$ac_cv_use_profile"
4217 if test "$no_cache" != 1; then
4218 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4219 fi
4220
4221 if test "$wxUSE_PROFILE" = yes; then
4222 echo "$as_me:$LINENO: result: yes" >&5
4223 echo "${ECHO_T}yes" >&6
4224 else
4225 echo "$as_me:$LINENO: result: no" >&5
4226 echo "${ECHO_T}no" >&6
4227 fi
4228
4229
4230 enablestring=
4231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4232 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4233 no_cache=0
4234 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4235 if test "${enable_no_rtti+set}" = set; then
4236 enableval="$enable_no_rtti"
4237
4238 if test "$enableval" = yes; then
4239 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4240 else
4241 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4242 fi
4243
4244 else
4245
4246 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4247 if test "x$LINE" != x ; then
4248 eval "DEFAULT_$LINE"
4249 else
4250 no_cache=1
4251 fi
4252
4253 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4254
4255 fi;
4256
4257 eval "$ac_cv_use_no_rtti"
4258 if test "$no_cache" != 1; then
4259 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4260 fi
4261
4262 if test "$wxUSE_NO_RTTI" = yes; then
4263 echo "$as_me:$LINENO: result: yes" >&5
4264 echo "${ECHO_T}yes" >&6
4265 else
4266 echo "$as_me:$LINENO: result: no" >&5
4267 echo "${ECHO_T}no" >&6
4268 fi
4269
4270
4271 enablestring=
4272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4273 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4274 no_cache=0
4275 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4276 if test "${enable_no_exceptions+set}" = set; then
4277 enableval="$enable_no_exceptions"
4278
4279 if test "$enableval" = yes; then
4280 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4281 else
4282 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4283 fi
4284
4285 else
4286
4287 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4288 if test "x$LINE" != x ; then
4289 eval "DEFAULT_$LINE"
4290 else
4291 no_cache=1
4292 fi
4293
4294 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4295
4296 fi;
4297
4298 eval "$ac_cv_use_no_exceptions"
4299 if test "$no_cache" != 1; then
4300 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4301 fi
4302
4303 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4304 echo "$as_me:$LINENO: result: yes" >&5
4305 echo "${ECHO_T}yes" >&6
4306 else
4307 echo "$as_me:$LINENO: result: no" >&5
4308 echo "${ECHO_T}no" >&6
4309 fi
4310
4311
4312 enablestring=
4313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4314 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4315 no_cache=0
4316 # Check whether --enable-permissive or --disable-permissive was given.
4317 if test "${enable_permissive+set}" = set; then
4318 enableval="$enable_permissive"
4319
4320 if test "$enableval" = yes; then
4321 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4322 else
4323 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4324 fi
4325
4326 else
4327
4328 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4329 if test "x$LINE" != x ; then
4330 eval "DEFAULT_$LINE"
4331 else
4332 no_cache=1
4333 fi
4334
4335 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4336
4337 fi;
4338
4339 eval "$ac_cv_use_permissive"
4340 if test "$no_cache" != 1; then
4341 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4342 fi
4343
4344 if test "$wxUSE_PERMISSIVE" = yes; then
4345 echo "$as_me:$LINENO: result: yes" >&5
4346 echo "${ECHO_T}yes" >&6
4347 else
4348 echo "$as_me:$LINENO: result: no" >&5
4349 echo "${ECHO_T}no" >&6
4350 fi
4351
4352
4353 enablestring=
4354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4355 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4356 no_cache=0
4357 # Check whether --enable-no_deps or --disable-no_deps was given.
4358 if test "${enable_no_deps+set}" = set; then
4359 enableval="$enable_no_deps"
4360
4361 if test "$enableval" = yes; then
4362 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4363 else
4364 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4365 fi
4366
4367 else
4368
4369 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4370 if test "x$LINE" != x ; then
4371 eval "DEFAULT_$LINE"
4372 else
4373 no_cache=1
4374 fi
4375
4376 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4377
4378 fi;
4379
4380 eval "$ac_cv_use_no_deps"
4381 if test "$no_cache" != 1; then
4382 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4383 fi
4384
4385 if test "$wxUSE_NO_DEPS" = yes; then
4386 echo "$as_me:$LINENO: result: yes" >&5
4387 echo "${ECHO_T}yes" >&6
4388 else
4389 echo "$as_me:$LINENO: result: no" >&5
4390 echo "${ECHO_T}no" >&6
4391 fi
4392
4393
4394 enablestring=
4395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4396 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4397 no_cache=0
4398 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4399 if test "${enable_universal_binary+set}" = set; then
4400 enableval="$enable_universal_binary"
4401
4402 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4403
4404 else
4405
4406 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x ; then
4408 eval "DEFAULT_$LINE"
4409 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4410 else
4411 no_cache=1
4412 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4413 fi
4414
4415 fi;
4416
4417 eval "$wx_cv_use_universal_binary"
4418 if test "$no_cache" != 1; then
4419 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4420 fi
4421
4422 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4423 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4424
4425
4426
4427 enablestring=enable
4428 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4429 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4430 no_cache=0
4431 # Check whether --enable-compat24 or --disable-compat24 was given.
4432 if test "${enable_compat24+set}" = set; then
4433 enableval="$enable_compat24"
4434
4435 if test "$enableval" = yes; then
4436 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4437 else
4438 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4439 fi
4440
4441 else
4442
4443 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4444 if test "x$LINE" != x ; then
4445 eval "DEFAULT_$LINE"
4446 else
4447 no_cache=1
4448 fi
4449
4450 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4451
4452 fi;
4453
4454 eval "$ac_cv_use_compat24"
4455 if test "$no_cache" != 1; then
4456 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4457 fi
4458
4459 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4460 echo "$as_me:$LINENO: result: yes" >&5
4461 echo "${ECHO_T}yes" >&6
4462 else
4463 echo "$as_me:$LINENO: result: no" >&5
4464 echo "${ECHO_T}no" >&6
4465 fi
4466
4467
4468 enablestring=disable
4469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4470 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4471 no_cache=0
4472 # Check whether --enable-compat26 or --disable-compat26 was given.
4473 if test "${enable_compat26+set}" = set; then
4474 enableval="$enable_compat26"
4475
4476 if test "$enableval" = yes; then
4477 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4478 else
4479 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4480 fi
4481
4482 else
4483
4484 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4485 if test "x$LINE" != x ; then
4486 eval "DEFAULT_$LINE"
4487 else
4488 no_cache=1
4489 fi
4490
4491 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4492
4493 fi;
4494
4495 eval "$ac_cv_use_compat26"
4496 if test "$no_cache" != 1; then
4497 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4498 fi
4499
4500 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4501 echo "$as_me:$LINENO: result: yes" >&5
4502 echo "${ECHO_T}yes" >&6
4503 else
4504 echo "$as_me:$LINENO: result: no" >&5
4505 echo "${ECHO_T}no" >&6
4506 fi
4507
4508
4509
4510 enablestring=
4511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4512 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4513 no_cache=0
4514 # Check whether --enable-rpath or --disable-rpath was given.
4515 if test "${enable_rpath+set}" = set; then
4516 enableval="$enable_rpath"
4517
4518 if test "$enableval" = yes; then
4519 ac_cv_use_rpath='wxUSE_RPATH=yes'
4520 else
4521 ac_cv_use_rpath='wxUSE_RPATH=no'
4522 fi
4523
4524 else
4525
4526 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4527 if test "x$LINE" != x ; then
4528 eval "DEFAULT_$LINE"
4529 else
4530 no_cache=1
4531 fi
4532
4533 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4534
4535 fi;
4536
4537 eval "$ac_cv_use_rpath"
4538 if test "$no_cache" != 1; then
4539 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4540 fi
4541
4542 if test "$wxUSE_RPATH" = yes; then
4543 echo "$as_me:$LINENO: result: yes" >&5
4544 echo "${ECHO_T}yes" >&6
4545 else
4546 echo "$as_me:$LINENO: result: no" >&5
4547 echo "${ECHO_T}no" >&6
4548 fi
4549
4550
4551
4552
4553
4554 enablestring=
4555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4556 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4557 no_cache=0
4558 # Check whether --enable-intl or --disable-intl was given.
4559 if test "${enable_intl+set}" = set; then
4560 enableval="$enable_intl"
4561
4562 if test "$enableval" = yes; then
4563 ac_cv_use_intl='wxUSE_INTL=yes'
4564 else
4565 ac_cv_use_intl='wxUSE_INTL=no'
4566 fi
4567
4568 else
4569
4570 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4571 if test "x$LINE" != x ; then
4572 eval "DEFAULT_$LINE"
4573 else
4574 no_cache=1
4575 fi
4576
4577 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4578
4579 fi;
4580
4581 eval "$ac_cv_use_intl"
4582 if test "$no_cache" != 1; then
4583 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4584 fi
4585
4586 if test "$wxUSE_INTL" = yes; then
4587 echo "$as_me:$LINENO: result: yes" >&5
4588 echo "${ECHO_T}yes" >&6
4589 else
4590 echo "$as_me:$LINENO: result: no" >&5
4591 echo "${ECHO_T}no" >&6
4592 fi
4593
4594
4595 enablestring=
4596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4597 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4598 no_cache=0
4599 # Check whether --enable-config or --disable-config was given.
4600 if test "${enable_config+set}" = set; then
4601 enableval="$enable_config"
4602
4603 if test "$enableval" = yes; then
4604 ac_cv_use_config='wxUSE_CONFIG=yes'
4605 else
4606 ac_cv_use_config='wxUSE_CONFIG=no'
4607 fi
4608
4609 else
4610
4611 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4612 if test "x$LINE" != x ; then
4613 eval "DEFAULT_$LINE"
4614 else
4615 no_cache=1
4616 fi
4617
4618 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4619
4620 fi;
4621
4622 eval "$ac_cv_use_config"
4623 if test "$no_cache" != 1; then
4624 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4625 fi
4626
4627 if test "$wxUSE_CONFIG" = yes; then
4628 echo "$as_me:$LINENO: result: yes" >&5
4629 echo "${ECHO_T}yes" >&6
4630 else
4631 echo "$as_me:$LINENO: result: no" >&5
4632 echo "${ECHO_T}no" >&6
4633 fi
4634
4635
4636
4637 enablestring=
4638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4639 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4640 no_cache=0
4641 # Check whether --enable-protocols or --disable-protocols was given.
4642 if test "${enable_protocols+set}" = set; then
4643 enableval="$enable_protocols"
4644
4645 if test "$enableval" = yes; then
4646 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4647 else
4648 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4649 fi
4650
4651 else
4652
4653 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x ; then
4655 eval "DEFAULT_$LINE"
4656 else
4657 no_cache=1
4658 fi
4659
4660 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4661
4662 fi;
4663
4664 eval "$ac_cv_use_protocols"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4667 fi
4668
4669 if test "$wxUSE_PROTOCOL" = yes; then
4670 echo "$as_me:$LINENO: result: yes" >&5
4671 echo "${ECHO_T}yes" >&6
4672 else
4673 echo "$as_me:$LINENO: result: no" >&5
4674 echo "${ECHO_T}no" >&6
4675 fi
4676
4677
4678 enablestring=
4679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4680 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4681 no_cache=0
4682 # Check whether --enable-ftp or --disable-ftp was given.
4683 if test "${enable_ftp+set}" = set; then
4684 enableval="$enable_ftp"
4685
4686 if test "$enableval" = yes; then
4687 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4688 else
4689 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4690 fi
4691
4692 else
4693
4694 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4695 if test "x$LINE" != x ; then
4696 eval "DEFAULT_$LINE"
4697 else
4698 no_cache=1
4699 fi
4700
4701 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4702
4703 fi;
4704
4705 eval "$ac_cv_use_ftp"
4706 if test "$no_cache" != 1; then
4707 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4708 fi
4709
4710 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4711 echo "$as_me:$LINENO: result: yes" >&5
4712 echo "${ECHO_T}yes" >&6
4713 else
4714 echo "$as_me:$LINENO: result: no" >&5
4715 echo "${ECHO_T}no" >&6
4716 fi
4717
4718
4719 enablestring=
4720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4721 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4722 no_cache=0
4723 # Check whether --enable-http or --disable-http was given.
4724 if test "${enable_http+set}" = set; then
4725 enableval="$enable_http"
4726
4727 if test "$enableval" = yes; then
4728 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4729 else
4730 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4731 fi
4732
4733 else
4734
4735 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4736 if test "x$LINE" != x ; then
4737 eval "DEFAULT_$LINE"
4738 else
4739 no_cache=1
4740 fi
4741
4742 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4743
4744 fi;
4745
4746 eval "$ac_cv_use_http"
4747 if test "$no_cache" != 1; then
4748 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4749 fi
4750
4751 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4752 echo "$as_me:$LINENO: result: yes" >&5
4753 echo "${ECHO_T}yes" >&6
4754 else
4755 echo "$as_me:$LINENO: result: no" >&5
4756 echo "${ECHO_T}no" >&6
4757 fi
4758
4759
4760 enablestring=
4761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4762 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4763 no_cache=0
4764 # Check whether --enable-fileproto or --disable-fileproto was given.
4765 if test "${enable_fileproto+set}" = set; then
4766 enableval="$enable_fileproto"
4767
4768 if test "$enableval" = yes; then
4769 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4770 else
4771 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4772 fi
4773
4774 else
4775
4776 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4777 if test "x$LINE" != x ; then
4778 eval "DEFAULT_$LINE"
4779 else
4780 no_cache=1
4781 fi
4782
4783 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4784
4785 fi;
4786
4787 eval "$ac_cv_use_fileproto"
4788 if test "$no_cache" != 1; then
4789 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4790 fi
4791
4792 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4793 echo "$as_me:$LINENO: result: yes" >&5
4794 echo "${ECHO_T}yes" >&6
4795 else
4796 echo "$as_me:$LINENO: result: no" >&5
4797 echo "${ECHO_T}no" >&6
4798 fi
4799
4800
4801 enablestring=
4802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4803 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4804 no_cache=0
4805 # Check whether --enable-sockets or --disable-sockets was given.
4806 if test "${enable_sockets+set}" = set; then
4807 enableval="$enable_sockets"
4808
4809 if test "$enableval" = yes; then
4810 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4811 else
4812 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4813 fi
4814
4815 else
4816
4817 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4818 if test "x$LINE" != x ; then
4819 eval "DEFAULT_$LINE"
4820 else
4821 no_cache=1
4822 fi
4823
4824 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4825
4826 fi;
4827
4828 eval "$ac_cv_use_sockets"
4829 if test "$no_cache" != 1; then
4830 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4831 fi
4832
4833 if test "$wxUSE_SOCKETS" = yes; then
4834 echo "$as_me:$LINENO: result: yes" >&5
4835 echo "${ECHO_T}yes" >&6
4836 else
4837 echo "$as_me:$LINENO: result: no" >&5
4838 echo "${ECHO_T}no" >&6
4839 fi
4840
4841
4842 enablestring=
4843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4844 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4845 no_cache=0
4846 # Check whether --enable-ole or --disable-ole was given.
4847 if test "${enable_ole+set}" = set; then
4848 enableval="$enable_ole"
4849
4850 if test "$enableval" = yes; then
4851 ac_cv_use_ole='wxUSE_OLE=yes'
4852 else
4853 ac_cv_use_ole='wxUSE_OLE=no'
4854 fi
4855
4856 else
4857
4858 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4859 if test "x$LINE" != x ; then
4860 eval "DEFAULT_$LINE"
4861 else
4862 no_cache=1
4863 fi
4864
4865 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4866
4867 fi;
4868
4869 eval "$ac_cv_use_ole"
4870 if test "$no_cache" != 1; then
4871 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4872 fi
4873
4874 if test "$wxUSE_OLE" = yes; then
4875 echo "$as_me:$LINENO: result: yes" >&5
4876 echo "${ECHO_T}yes" >&6
4877 else
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4880 fi
4881
4882
4883 enablestring=
4884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4885 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4886 no_cache=0
4887 # Check whether --enable-dataobj or --disable-dataobj was given.
4888 if test "${enable_dataobj+set}" = set; then
4889 enableval="$enable_dataobj"
4890
4891 if test "$enableval" = yes; then
4892 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4893 else
4894 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4895 fi
4896
4897 else
4898
4899 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4900 if test "x$LINE" != x ; then
4901 eval "DEFAULT_$LINE"
4902 else
4903 no_cache=1
4904 fi
4905
4906 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4907
4908 fi;
4909
4910 eval "$ac_cv_use_dataobj"
4911 if test "$no_cache" != 1; then
4912 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4913 fi
4914
4915 if test "$wxUSE_DATAOBJ" = yes; then
4916 echo "$as_me:$LINENO: result: yes" >&5
4917 echo "${ECHO_T}yes" >&6
4918 else
4919 echo "$as_me:$LINENO: result: no" >&5
4920 echo "${ECHO_T}no" >&6
4921 fi
4922
4923
4924
4925 enablestring=
4926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4927 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4928 no_cache=0
4929 # Check whether --enable-ipc or --disable-ipc was given.
4930 if test "${enable_ipc+set}" = set; then
4931 enableval="$enable_ipc"
4932
4933 if test "$enableval" = yes; then
4934 ac_cv_use_ipc='wxUSE_IPC=yes'
4935 else
4936 ac_cv_use_ipc='wxUSE_IPC=no'
4937 fi
4938
4939 else
4940
4941 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4942 if test "x$LINE" != x ; then
4943 eval "DEFAULT_$LINE"
4944 else
4945 no_cache=1
4946 fi
4947
4948 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4949
4950 fi;
4951
4952 eval "$ac_cv_use_ipc"
4953 if test "$no_cache" != 1; then
4954 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4955 fi
4956
4957 if test "$wxUSE_IPC" = yes; then
4958 echo "$as_me:$LINENO: result: yes" >&5
4959 echo "${ECHO_T}yes" >&6
4960 else
4961 echo "$as_me:$LINENO: result: no" >&5
4962 echo "${ECHO_T}no" >&6
4963 fi
4964
4965
4966
4967 enablestring=
4968 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4969 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4970 no_cache=0
4971 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4972 if test "${enable_apple_ieee+set}" = set; then
4973 enableval="$enable_apple_ieee"
4974
4975 if test "$enableval" = yes; then
4976 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4977 else
4978 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4979 fi
4980
4981 else
4982
4983 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4984 if test "x$LINE" != x ; then
4985 eval "DEFAULT_$LINE"
4986 else
4987 no_cache=1
4988 fi
4989
4990 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4991
4992 fi;
4993
4994 eval "$ac_cv_use_apple_ieee"
4995 if test "$no_cache" != 1; then
4996 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4997 fi
4998
4999 if test "$wxUSE_APPLE_IEEE" = yes; then
5000 echo "$as_me:$LINENO: result: yes" >&5
5001 echo "${ECHO_T}yes" >&6
5002 else
5003 echo "$as_me:$LINENO: result: no" >&5
5004 echo "${ECHO_T}no" >&6
5005 fi
5006
5007
5008 enablestring=
5009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5010 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5011 no_cache=0
5012 # Check whether --enable-arcstream or --disable-arcstream was given.
5013 if test "${enable_arcstream+set}" = set; then
5014 enableval="$enable_arcstream"
5015
5016 if test "$enableval" = yes; then
5017 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5018 else
5019 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5020 fi
5021
5022 else
5023
5024 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5025 if test "x$LINE" != x ; then
5026 eval "DEFAULT_$LINE"
5027 else
5028 no_cache=1
5029 fi
5030
5031 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5032
5033 fi;
5034
5035 eval "$ac_cv_use_arcstream"
5036 if test "$no_cache" != 1; then
5037 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5038 fi
5039
5040 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5041 echo "$as_me:$LINENO: result: yes" >&5
5042 echo "${ECHO_T}yes" >&6
5043 else
5044 echo "$as_me:$LINENO: result: no" >&5
5045 echo "${ECHO_T}no" >&6
5046 fi
5047
5048
5049 enablestring=
5050 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5051 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5052 no_cache=0
5053 # Check whether --enable-backtrace or --disable-backtrace was given.
5054 if test "${enable_backtrace+set}" = set; then
5055 enableval="$enable_backtrace"
5056
5057 if test "$enableval" = yes; then
5058 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5059 else
5060 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5061 fi
5062
5063 else
5064
5065 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5066 if test "x$LINE" != x ; then
5067 eval "DEFAULT_$LINE"
5068 else
5069 no_cache=1
5070 fi
5071
5072 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5073
5074 fi;
5075
5076 eval "$ac_cv_use_backtrace"
5077 if test "$no_cache" != 1; then
5078 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5079 fi
5080
5081 if test "$wxUSE_STACKWALKER" = yes; then
5082 echo "$as_me:$LINENO: result: yes" >&5
5083 echo "${ECHO_T}yes" >&6
5084 else
5085 echo "$as_me:$LINENO: result: no" >&5
5086 echo "${ECHO_T}no" >&6
5087 fi
5088
5089
5090 enablestring=
5091 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5092 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5093 no_cache=0
5094 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5095 if test "${enable_catch_segvs+set}" = set; then
5096 enableval="$enable_catch_segvs"
5097
5098 if test "$enableval" = yes; then
5099 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5100 else
5101 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5102 fi
5103
5104 else
5105
5106 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5107 if test "x$LINE" != x ; then
5108 eval "DEFAULT_$LINE"
5109 else
5110 no_cache=1
5111 fi
5112
5113 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5114
5115 fi;
5116
5117 eval "$ac_cv_use_catch_segvs"
5118 if test "$no_cache" != 1; then
5119 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5120 fi
5121
5122 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5123 echo "$as_me:$LINENO: result: yes" >&5
5124 echo "${ECHO_T}yes" >&6
5125 else
5126 echo "$as_me:$LINENO: result: no" >&5
5127 echo "${ECHO_T}no" >&6
5128 fi
5129
5130
5131 enablestring=
5132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5133 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5134 no_cache=0
5135 # Check whether --enable-cmdline or --disable-cmdline was given.
5136 if test "${enable_cmdline+set}" = set; then
5137 enableval="$enable_cmdline"
5138
5139 if test "$enableval" = yes; then
5140 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5141 else
5142 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5143 fi
5144
5145 else
5146
5147 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5148 if test "x$LINE" != x ; then
5149 eval "DEFAULT_$LINE"
5150 else
5151 no_cache=1
5152 fi
5153
5154 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5155
5156 fi;
5157
5158 eval "$ac_cv_use_cmdline"
5159 if test "$no_cache" != 1; then
5160 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5161 fi
5162
5163 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5164 echo "$as_me:$LINENO: result: yes" >&5
5165 echo "${ECHO_T}yes" >&6
5166 else
5167 echo "$as_me:$LINENO: result: no" >&5
5168 echo "${ECHO_T}no" >&6
5169 fi
5170
5171
5172 enablestring=
5173 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5174 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5175 no_cache=0
5176 # Check whether --enable-datetime or --disable-datetime was given.
5177 if test "${enable_datetime+set}" = set; then
5178 enableval="$enable_datetime"
5179
5180 if test "$enableval" = yes; then
5181 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5182 else
5183 ac_cv_use_datetime='wxUSE_DATETIME=no'
5184 fi
5185
5186 else
5187
5188 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x ; then
5190 eval "DEFAULT_$LINE"
5191 else
5192 no_cache=1
5193 fi
5194
5195 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5196
5197 fi;
5198
5199 eval "$ac_cv_use_datetime"
5200 if test "$no_cache" != 1; then
5201 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5202 fi
5203
5204 if test "$wxUSE_DATETIME" = yes; then
5205 echo "$as_me:$LINENO: result: yes" >&5
5206 echo "${ECHO_T}yes" >&6
5207 else
5208 echo "$as_me:$LINENO: result: no" >&5
5209 echo "${ECHO_T}no" >&6
5210 fi
5211
5212
5213 enablestring=
5214 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5215 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5216 no_cache=0
5217 # Check whether --enable-debugreport or --disable-debugreport was given.
5218 if test "${enable_debugreport+set}" = set; then
5219 enableval="$enable_debugreport"
5220
5221 if test "$enableval" = yes; then
5222 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5223 else
5224 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5225 fi
5226
5227 else
5228
5229 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5230 if test "x$LINE" != x ; then
5231 eval "DEFAULT_$LINE"
5232 else
5233 no_cache=1
5234 fi
5235
5236 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5237
5238 fi;
5239
5240 eval "$ac_cv_use_debugreport"
5241 if test "$no_cache" != 1; then
5242 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5243 fi
5244
5245 if test "$wxUSE_DEBUGREPORT" = yes; then
5246 echo "$as_me:$LINENO: result: yes" >&5
5247 echo "${ECHO_T}yes" >&6
5248 else
5249 echo "$as_me:$LINENO: result: no" >&5
5250 echo "${ECHO_T}no" >&6
5251 fi
5252
5253
5254 enablestring=
5255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5256 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5257 no_cache=0
5258 # Check whether --enable-dialupman or --disable-dialupman was given.
5259 if test "${enable_dialupman+set}" = set; then
5260 enableval="$enable_dialupman"
5261
5262 if test "$enableval" = yes; then
5263 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5264 else
5265 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5266 fi
5267
5268 else
5269
5270 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5271 if test "x$LINE" != x ; then
5272 eval "DEFAULT_$LINE"
5273 else
5274 no_cache=1
5275 fi
5276
5277 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5278
5279 fi;
5280
5281 eval "$ac_cv_use_dialupman"
5282 if test "$no_cache" != 1; then
5283 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5284 fi
5285
5286 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5287 echo "$as_me:$LINENO: result: yes" >&5
5288 echo "${ECHO_T}yes" >&6
5289 else
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5292 fi
5293
5294
5295 enablestring=
5296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5298 no_cache=0
5299 # Check whether --enable-dynlib or --disable-dynlib was given.
5300 if test "${enable_dynlib+set}" = set; then
5301 enableval="$enable_dynlib"
5302
5303 if test "$enableval" = yes; then
5304 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5305 else
5306 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5307 fi
5308
5309 else
5310
5311 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5312 if test "x$LINE" != x ; then
5313 eval "DEFAULT_$LINE"
5314 else
5315 no_cache=1
5316 fi
5317
5318 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5319
5320 fi;
5321
5322 eval "$ac_cv_use_dynlib"
5323 if test "$no_cache" != 1; then
5324 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5325 fi
5326
5327 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5328 echo "$as_me:$LINENO: result: yes" >&5
5329 echo "${ECHO_T}yes" >&6
5330 else
5331 echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6
5333 fi
5334
5335
5336 enablestring=
5337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5338 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5339 no_cache=0
5340 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5341 if test "${enable_dynamicloader+set}" = set; then
5342 enableval="$enable_dynamicloader"
5343
5344 if test "$enableval" = yes; then
5345 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5346 else
5347 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5348 fi
5349
5350 else
5351
5352 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5353 if test "x$LINE" != x ; then
5354 eval "DEFAULT_$LINE"
5355 else
5356 no_cache=1
5357 fi
5358
5359 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5360
5361 fi;
5362
5363 eval "$ac_cv_use_dynamicloader"
5364 if test "$no_cache" != 1; then
5365 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5366 fi
5367
5368 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5369 echo "$as_me:$LINENO: result: yes" >&5
5370 echo "${ECHO_T}yes" >&6
5371 else
5372 echo "$as_me:$LINENO: result: no" >&5
5373 echo "${ECHO_T}no" >&6
5374 fi
5375
5376
5377 enablestring=
5378 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5379 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5380 no_cache=0
5381 # Check whether --enable-exceptions or --disable-exceptions was given.
5382 if test "${enable_exceptions+set}" = set; then
5383 enableval="$enable_exceptions"
5384
5385 if test "$enableval" = yes; then
5386 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5387 else
5388 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5389 fi
5390
5391 else
5392
5393 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5394 if test "x$LINE" != x ; then
5395 eval "DEFAULT_$LINE"
5396 else
5397 no_cache=1
5398 fi
5399
5400 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5401
5402 fi;
5403
5404 eval "$ac_cv_use_exceptions"
5405 if test "$no_cache" != 1; then
5406 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5407 fi
5408
5409 if test "$wxUSE_EXCEPTIONS" = yes; then
5410 echo "$as_me:$LINENO: result: yes" >&5
5411 echo "${ECHO_T}yes" >&6
5412 else
5413 echo "$as_me:$LINENO: result: no" >&5
5414 echo "${ECHO_T}no" >&6
5415 fi
5416
5417
5418 enablestring=
5419 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5420 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5421 no_cache=0
5422 # Check whether --enable-ffile or --disable-ffile was given.
5423 if test "${enable_ffile+set}" = set; then
5424 enableval="$enable_ffile"
5425
5426 if test "$enableval" = yes; then
5427 ac_cv_use_ffile='wxUSE_FFILE=yes'
5428 else
5429 ac_cv_use_ffile='wxUSE_FFILE=no'
5430 fi
5431
5432 else
5433
5434 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5435 if test "x$LINE" != x ; then
5436 eval "DEFAULT_$LINE"
5437 else
5438 no_cache=1
5439 fi
5440
5441 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5442
5443 fi;
5444
5445 eval "$ac_cv_use_ffile"
5446 if test "$no_cache" != 1; then
5447 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5448 fi
5449
5450 if test "$wxUSE_FFILE" = yes; then
5451 echo "$as_me:$LINENO: result: yes" >&5
5452 echo "${ECHO_T}yes" >&6
5453 else
5454 echo "$as_me:$LINENO: result: no" >&5
5455 echo "${ECHO_T}no" >&6
5456 fi
5457
5458
5459 enablestring=
5460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5461 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5462 no_cache=0
5463 # Check whether --enable-file or --disable-file was given.
5464 if test "${enable_file+set}" = set; then
5465 enableval="$enable_file"
5466
5467 if test "$enableval" = yes; then
5468 ac_cv_use_file='wxUSE_FILE=yes'
5469 else
5470 ac_cv_use_file='wxUSE_FILE=no'
5471 fi
5472
5473 else
5474
5475 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x ; then
5477 eval "DEFAULT_$LINE"
5478 else
5479 no_cache=1
5480 fi
5481
5482 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5483
5484 fi;
5485
5486 eval "$ac_cv_use_file"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5489 fi
5490
5491 if test "$wxUSE_FILE" = yes; then
5492 echo "$as_me:$LINENO: result: yes" >&5
5493 echo "${ECHO_T}yes" >&6
5494 else
5495 echo "$as_me:$LINENO: result: no" >&5
5496 echo "${ECHO_T}no" >&6
5497 fi
5498
5499
5500 enablestring=
5501 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5502 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5503 no_cache=0
5504 # Check whether --enable-filesystem or --disable-filesystem was given.
5505 if test "${enable_filesystem+set}" = set; then
5506 enableval="$enable_filesystem"
5507
5508 if test "$enableval" = yes; then
5509 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5510 else
5511 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5512 fi
5513
5514 else
5515
5516 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5517 if test "x$LINE" != x ; then
5518 eval "DEFAULT_$LINE"
5519 else
5520 no_cache=1
5521 fi
5522
5523 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5524
5525 fi;
5526
5527 eval "$ac_cv_use_filesystem"
5528 if test "$no_cache" != 1; then
5529 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5530 fi
5531
5532 if test "$wxUSE_FILESYSTEM" = yes; then
5533 echo "$as_me:$LINENO: result: yes" >&5
5534 echo "${ECHO_T}yes" >&6
5535 else
5536 echo "$as_me:$LINENO: result: no" >&5
5537 echo "${ECHO_T}no" >&6
5538 fi
5539
5540
5541 enablestring=
5542 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5543 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5544 no_cache=0
5545 # Check whether --enable-fontmap or --disable-fontmap was given.
5546 if test "${enable_fontmap+set}" = set; then
5547 enableval="$enable_fontmap"
5548
5549 if test "$enableval" = yes; then
5550 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5551 else
5552 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5553 fi
5554
5555 else
5556
5557 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5558 if test "x$LINE" != x ; then
5559 eval "DEFAULT_$LINE"
5560 else
5561 no_cache=1
5562 fi
5563
5564 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5565
5566 fi;
5567
5568 eval "$ac_cv_use_fontmap"
5569 if test "$no_cache" != 1; then
5570 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5571 fi
5572
5573 if test "$wxUSE_FONTMAP" = yes; then
5574 echo "$as_me:$LINENO: result: yes" >&5
5575 echo "${ECHO_T}yes" >&6
5576 else
5577 echo "$as_me:$LINENO: result: no" >&5
5578 echo "${ECHO_T}no" >&6
5579 fi
5580
5581
5582 enablestring=
5583 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5584 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5585 no_cache=0
5586 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5587 if test "${enable_fs_inet+set}" = set; then
5588 enableval="$enable_fs_inet"
5589
5590 if test "$enableval" = yes; then
5591 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5592 else
5593 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5594 fi
5595
5596 else
5597
5598 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5599 if test "x$LINE" != x ; then
5600 eval "DEFAULT_$LINE"
5601 else
5602 no_cache=1
5603 fi
5604
5605 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5606
5607 fi;
5608
5609 eval "$ac_cv_use_fs_inet"
5610 if test "$no_cache" != 1; then
5611 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5612 fi
5613
5614 if test "$wxUSE_FS_INET" = yes; then
5615 echo "$as_me:$LINENO: result: yes" >&5
5616 echo "${ECHO_T}yes" >&6
5617 else
5618 echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6
5620 fi
5621
5622
5623 enablestring=
5624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5625 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5626 no_cache=0
5627 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5628 if test "${enable_fs_zip+set}" = set; then
5629 enableval="$enable_fs_zip"
5630
5631 if test "$enableval" = yes; then
5632 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5633 else
5634 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5635 fi
5636
5637 else
5638
5639 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5640 if test "x$LINE" != x ; then
5641 eval "DEFAULT_$LINE"
5642 else
5643 no_cache=1
5644 fi
5645
5646 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5647
5648 fi;
5649
5650 eval "$ac_cv_use_fs_zip"
5651 if test "$no_cache" != 1; then
5652 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5653 fi
5654
5655 if test "$wxUSE_FS_ZIP" = yes; then
5656 echo "$as_me:$LINENO: result: yes" >&5
5657 echo "${ECHO_T}yes" >&6
5658 else
5659 echo "$as_me:$LINENO: result: no" >&5
5660 echo "${ECHO_T}no" >&6
5661 fi
5662
5663
5664 enablestring=
5665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5666 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5667 no_cache=0
5668 # Check whether --enable-geometry or --disable-geometry was given.
5669 if test "${enable_geometry+set}" = set; then
5670 enableval="$enable_geometry"
5671
5672 if test "$enableval" = yes; then
5673 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5674 else
5675 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5676 fi
5677
5678 else
5679
5680 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5681 if test "x$LINE" != x ; then
5682 eval "DEFAULT_$LINE"
5683 else
5684 no_cache=1
5685 fi
5686
5687 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5688
5689 fi;
5690
5691 eval "$ac_cv_use_geometry"
5692 if test "$no_cache" != 1; then
5693 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5694 fi
5695
5696 if test "$wxUSE_GEOMETRY" = yes; then
5697 echo "$as_me:$LINENO: result: yes" >&5
5698 echo "${ECHO_T}yes" >&6
5699 else
5700 echo "$as_me:$LINENO: result: no" >&5
5701 echo "${ECHO_T}no" >&6
5702 fi
5703
5704
5705 enablestring=
5706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5707 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5708 no_cache=0
5709 # Check whether --enable-log or --disable-log was given.
5710 if test "${enable_log+set}" = set; then
5711 enableval="$enable_log"
5712
5713 if test "$enableval" = yes; then
5714 ac_cv_use_log='wxUSE_LOG=yes'
5715 else
5716 ac_cv_use_log='wxUSE_LOG=no'
5717 fi
5718
5719 else
5720
5721 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5722 if test "x$LINE" != x ; then
5723 eval "DEFAULT_$LINE"
5724 else
5725 no_cache=1
5726 fi
5727
5728 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5729
5730 fi;
5731
5732 eval "$ac_cv_use_log"
5733 if test "$no_cache" != 1; then
5734 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5735 fi
5736
5737 if test "$wxUSE_LOG" = yes; then
5738 echo "$as_me:$LINENO: result: yes" >&5
5739 echo "${ECHO_T}yes" >&6
5740 else
5741 echo "$as_me:$LINENO: result: no" >&5
5742 echo "${ECHO_T}no" >&6
5743 fi
5744
5745
5746 enablestring=
5747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5748 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5749 no_cache=0
5750 # Check whether --enable-longlong or --disable-longlong was given.
5751 if test "${enable_longlong+set}" = set; then
5752 enableval="$enable_longlong"
5753
5754 if test "$enableval" = yes; then
5755 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5756 else
5757 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5758 fi
5759
5760 else
5761
5762 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5763 if test "x$LINE" != x ; then
5764 eval "DEFAULT_$LINE"
5765 else
5766 no_cache=1
5767 fi
5768
5769 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5770
5771 fi;
5772
5773 eval "$ac_cv_use_longlong"
5774 if test "$no_cache" != 1; then
5775 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5776 fi
5777
5778 if test "$wxUSE_LONGLONG" = yes; then
5779 echo "$as_me:$LINENO: result: yes" >&5
5780 echo "${ECHO_T}yes" >&6
5781 else
5782 echo "$as_me:$LINENO: result: no" >&5
5783 echo "${ECHO_T}no" >&6
5784 fi
5785
5786
5787 enablestring=
5788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5789 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5790 no_cache=0
5791 # Check whether --enable-mimetype or --disable-mimetype was given.
5792 if test "${enable_mimetype+set}" = set; then
5793 enableval="$enable_mimetype"
5794
5795 if test "$enableval" = yes; then
5796 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5797 else
5798 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5799 fi
5800
5801 else
5802
5803 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5804 if test "x$LINE" != x ; then
5805 eval "DEFAULT_$LINE"
5806 else
5807 no_cache=1
5808 fi
5809
5810 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5811
5812 fi;
5813
5814 eval "$ac_cv_use_mimetype"
5815 if test "$no_cache" != 1; then
5816 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5817 fi
5818
5819 if test "$wxUSE_MIMETYPE" = yes; then
5820 echo "$as_me:$LINENO: result: yes" >&5
5821 echo "${ECHO_T}yes" >&6
5822 else
5823 echo "$as_me:$LINENO: result: no" >&5
5824 echo "${ECHO_T}no" >&6
5825 fi
5826
5827
5828 enablestring=
5829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5830 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5831 no_cache=0
5832 # Check whether --enable-mslu or --disable-mslu was given.
5833 if test "${enable_mslu+set}" = set; then
5834 enableval="$enable_mslu"
5835
5836 if test "$enableval" = yes; then
5837 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5838 else
5839 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5840 fi
5841
5842 else
5843
5844 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5845 if test "x$LINE" != x ; then
5846 eval "DEFAULT_$LINE"
5847 else
5848 no_cache=1
5849 fi
5850
5851 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5852
5853 fi;
5854
5855 eval "$ac_cv_use_mslu"
5856 if test "$no_cache" != 1; then
5857 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5858 fi
5859
5860 if test "$wxUSE_UNICODE_MSLU" = yes; then
5861 echo "$as_me:$LINENO: result: yes" >&5
5862 echo "${ECHO_T}yes" >&6
5863 else
5864 echo "$as_me:$LINENO: result: no" >&5
5865 echo "${ECHO_T}no" >&6
5866 fi
5867
5868
5869 enablestring=
5870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5871 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5872 no_cache=0
5873 # Check whether --enable-snglinst or --disable-snglinst was given.
5874 if test "${enable_snglinst+set}" = set; then
5875 enableval="$enable_snglinst"
5876
5877 if test "$enableval" = yes; then
5878 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5879 else
5880 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5881 fi
5882
5883 else
5884
5885 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5886 if test "x$LINE" != x ; then
5887 eval "DEFAULT_$LINE"
5888 else
5889 no_cache=1
5890 fi
5891
5892 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5893
5894 fi;
5895
5896 eval "$ac_cv_use_snglinst"
5897 if test "$no_cache" != 1; then
5898 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5899 fi
5900
5901 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5902 echo "$as_me:$LINENO: result: yes" >&5
5903 echo "${ECHO_T}yes" >&6
5904 else
5905 echo "$as_me:$LINENO: result: no" >&5
5906 echo "${ECHO_T}no" >&6
5907 fi
5908
5909
5910 enablestring=
5911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5912 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5913 no_cache=0
5914 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5915 if test "${enable_std_iostreams+set}" = set; then
5916 enableval="$enable_std_iostreams"
5917
5918 if test "$enableval" = yes; then
5919 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5920 else
5921 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5922 fi
5923
5924 else
5925
5926 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5927 if test "x$LINE" != x ; then
5928 eval "DEFAULT_$LINE"
5929 else
5930 no_cache=1
5931 fi
5932
5933 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5934
5935 fi;
5936
5937 eval "$ac_cv_use_std_iostreams"
5938 if test "$no_cache" != 1; then
5939 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5940 fi
5941
5942 if test "$wxUSE_STD_IOSTREAM" = yes; then
5943 echo "$as_me:$LINENO: result: yes" >&5
5944 echo "${ECHO_T}yes" >&6
5945 else
5946 echo "$as_me:$LINENO: result: no" >&5
5947 echo "${ECHO_T}no" >&6
5948 fi
5949
5950
5951 enablestring=
5952 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5953 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5954 no_cache=0
5955 # Check whether --enable-std_string or --disable-std_string was given.
5956 if test "${enable_std_string+set}" = set; then
5957 enableval="$enable_std_string"
5958
5959 if test "$enableval" = yes; then
5960 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5961 else
5962 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5963 fi
5964
5965 else
5966
5967 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5968 if test "x$LINE" != x ; then
5969 eval "DEFAULT_$LINE"
5970 else
5971 no_cache=1
5972 fi
5973
5974 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5975
5976 fi;
5977
5978 eval "$ac_cv_use_std_string"
5979 if test "$no_cache" != 1; then
5980 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5981 fi
5982
5983 if test "$wxUSE_STD_STRING" = yes; then
5984 echo "$as_me:$LINENO: result: yes" >&5
5985 echo "${ECHO_T}yes" >&6
5986 else
5987 echo "$as_me:$LINENO: result: no" >&5
5988 echo "${ECHO_T}no" >&6
5989 fi
5990
5991
5992 enablestring=
5993 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5994 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5995 no_cache=0
5996 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5997 if test "${enable_stdpaths+set}" = set; then
5998 enableval="$enable_stdpaths"
5999
6000 if test "$enableval" = yes; then
6001 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6002 else
6003 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6004 fi
6005
6006 else
6007
6008 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6009 if test "x$LINE" != x ; then
6010 eval "DEFAULT_$LINE"
6011 else
6012 no_cache=1
6013 fi
6014
6015 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6016
6017 fi;
6018
6019 eval "$ac_cv_use_stdpaths"
6020 if test "$no_cache" != 1; then
6021 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6022 fi
6023
6024 if test "$wxUSE_STDPATHS" = yes; then
6025 echo "$as_me:$LINENO: result: yes" >&5
6026 echo "${ECHO_T}yes" >&6
6027 else
6028 echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6
6030 fi
6031
6032
6033 enablestring=
6034 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6035 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6036 no_cache=0
6037 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6038 if test "${enable_stopwatch+set}" = set; then
6039 enableval="$enable_stopwatch"
6040
6041 if test "$enableval" = yes; then
6042 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6043 else
6044 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6045 fi
6046
6047 else
6048
6049 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6050 if test "x$LINE" != x ; then
6051 eval "DEFAULT_$LINE"
6052 else
6053 no_cache=1
6054 fi
6055
6056 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6057
6058 fi;
6059
6060 eval "$ac_cv_use_stopwatch"
6061 if test "$no_cache" != 1; then
6062 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6063 fi
6064
6065 if test "$wxUSE_STOPWATCH" = yes; then
6066 echo "$as_me:$LINENO: result: yes" >&5
6067 echo "${ECHO_T}yes" >&6
6068 else
6069 echo "$as_me:$LINENO: result: no" >&5
6070 echo "${ECHO_T}no" >&6
6071 fi
6072
6073
6074 enablestring=
6075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6076 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6077 no_cache=0
6078 # Check whether --enable-streams or --disable-streams was given.
6079 if test "${enable_streams+set}" = set; then
6080 enableval="$enable_streams"
6081
6082 if test "$enableval" = yes; then
6083 ac_cv_use_streams='wxUSE_STREAMS=yes'
6084 else
6085 ac_cv_use_streams='wxUSE_STREAMS=no'
6086 fi
6087
6088 else
6089
6090 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6091 if test "x$LINE" != x ; then
6092 eval "DEFAULT_$LINE"
6093 else
6094 no_cache=1
6095 fi
6096
6097 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6098
6099 fi;
6100
6101 eval "$ac_cv_use_streams"
6102 if test "$no_cache" != 1; then
6103 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6104 fi
6105
6106 if test "$wxUSE_STREAMS" = yes; then
6107 echo "$as_me:$LINENO: result: yes" >&5
6108 echo "${ECHO_T}yes" >&6
6109 else
6110 echo "$as_me:$LINENO: result: no" >&5
6111 echo "${ECHO_T}no" >&6
6112 fi
6113
6114
6115 enablestring=
6116 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6118 no_cache=0
6119 # Check whether --enable-system_options or --disable-system_options was given.
6120 if test "${enable_system_options+set}" = set; then
6121 enableval="$enable_system_options"
6122
6123 if test "$enableval" = yes; then
6124 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6125 else
6126 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6127 fi
6128
6129 else
6130
6131 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6132 if test "x$LINE" != x ; then
6133 eval "DEFAULT_$LINE"
6134 else
6135 no_cache=1
6136 fi
6137
6138 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6139
6140 fi;
6141
6142 eval "$ac_cv_use_system_options"
6143 if test "$no_cache" != 1; then
6144 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6145 fi
6146
6147 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6148 echo "$as_me:$LINENO: result: yes" >&5
6149 echo "${ECHO_T}yes" >&6
6150 else
6151 echo "$as_me:$LINENO: result: no" >&5
6152 echo "${ECHO_T}no" >&6
6153 fi
6154
6155
6156 enablestring=
6157 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6158 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6159 no_cache=0
6160 # Check whether --enable-textbuf or --disable-textbuf was given.
6161 if test "${enable_textbuf+set}" = set; then
6162 enableval="$enable_textbuf"
6163
6164 if test "$enableval" = yes; then
6165 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6166 else
6167 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6168 fi
6169
6170 else
6171
6172 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6173 if test "x$LINE" != x ; then
6174 eval "DEFAULT_$LINE"
6175 else
6176 no_cache=1
6177 fi
6178
6179 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6180
6181 fi;
6182
6183 eval "$ac_cv_use_textbuf"
6184 if test "$no_cache" != 1; then
6185 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6186 fi
6187
6188 if test "$wxUSE_TEXTBUFFER" = yes; then
6189 echo "$as_me:$LINENO: result: yes" >&5
6190 echo "${ECHO_T}yes" >&6
6191 else
6192 echo "$as_me:$LINENO: result: no" >&5
6193 echo "${ECHO_T}no" >&6
6194 fi
6195
6196
6197 enablestring=
6198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6199 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6200 no_cache=0
6201 # Check whether --enable-textfile or --disable-textfile was given.
6202 if test "${enable_textfile+set}" = set; then
6203 enableval="$enable_textfile"
6204
6205 if test "$enableval" = yes; then
6206 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6207 else
6208 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6209 fi
6210
6211 else
6212
6213 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6214 if test "x$LINE" != x ; then
6215 eval "DEFAULT_$LINE"
6216 else
6217 no_cache=1
6218 fi
6219
6220 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6221
6222 fi;
6223
6224 eval "$ac_cv_use_textfile"
6225 if test "$no_cache" != 1; then
6226 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6227 fi
6228
6229 if test "$wxUSE_TEXTFILE" = yes; then
6230 echo "$as_me:$LINENO: result: yes" >&5
6231 echo "${ECHO_T}yes" >&6
6232 else
6233 echo "$as_me:$LINENO: result: no" >&5
6234 echo "${ECHO_T}no" >&6
6235 fi
6236
6237
6238 enablestring=
6239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6240 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6241 no_cache=0
6242 # Check whether --enable-timer or --disable-timer was given.
6243 if test "${enable_timer+set}" = set; then
6244 enableval="$enable_timer"
6245
6246 if test "$enableval" = yes; then
6247 ac_cv_use_timer='wxUSE_TIMER=yes'
6248 else
6249 ac_cv_use_timer='wxUSE_TIMER=no'
6250 fi
6251
6252 else
6253
6254 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6255 if test "x$LINE" != x ; then
6256 eval "DEFAULT_$LINE"
6257 else
6258 no_cache=1
6259 fi
6260
6261 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6262
6263 fi;
6264
6265 eval "$ac_cv_use_timer"
6266 if test "$no_cache" != 1; then
6267 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6268 fi
6269
6270 if test "$wxUSE_TIMER" = yes; then
6271 echo "$as_me:$LINENO: result: yes" >&5
6272 echo "${ECHO_T}yes" >&6
6273 else
6274 echo "$as_me:$LINENO: result: no" >&5
6275 echo "${ECHO_T}no" >&6
6276 fi
6277
6278
6279 enablestring=
6280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6281 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6282 no_cache=0
6283 # Check whether --enable-unicode or --disable-unicode was given.
6284 if test "${enable_unicode+set}" = set; then
6285 enableval="$enable_unicode"
6286
6287 if test "$enableval" = yes; then
6288 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6289 else
6290 ac_cv_use_unicode='wxUSE_UNICODE=no'
6291 fi
6292
6293 else
6294
6295 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6296 if test "x$LINE" != x ; then
6297 eval "DEFAULT_$LINE"
6298 else
6299 no_cache=1
6300 fi
6301
6302 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6303
6304 fi;
6305
6306 eval "$ac_cv_use_unicode"
6307 if test "$no_cache" != 1; then
6308 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6309 fi
6310
6311 if test "$wxUSE_UNICODE" = yes; then
6312 echo "$as_me:$LINENO: result: yes" >&5
6313 echo "${ECHO_T}yes" >&6
6314 else
6315 echo "$as_me:$LINENO: result: no" >&5
6316 echo "${ECHO_T}no" >&6
6317 fi
6318
6319
6320 enablestring=
6321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6322 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6323 no_cache=0
6324 # Check whether --enable-sound or --disable-sound was given.
6325 if test "${enable_sound+set}" = set; then
6326 enableval="$enable_sound"
6327
6328 if test "$enableval" = yes; then
6329 ac_cv_use_sound='wxUSE_SOUND=yes'
6330 else
6331 ac_cv_use_sound='wxUSE_SOUND=no'
6332 fi
6333
6334 else
6335
6336 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6337 if test "x$LINE" != x ; then
6338 eval "DEFAULT_$LINE"
6339 else
6340 no_cache=1
6341 fi
6342
6343 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6344
6345 fi;
6346
6347 eval "$ac_cv_use_sound"
6348 if test "$no_cache" != 1; then
6349 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6350 fi
6351
6352 if test "$wxUSE_SOUND" = yes; then
6353 echo "$as_me:$LINENO: result: yes" >&5
6354 echo "${ECHO_T}yes" >&6
6355 else
6356 echo "$as_me:$LINENO: result: no" >&5
6357 echo "${ECHO_T}no" >&6
6358 fi
6359
6360
6361 enablestring=
6362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6363 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6364 no_cache=0
6365 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6366 if test "${enable_mediactrl+set}" = set; then
6367 enableval="$enable_mediactrl"
6368
6369 if test "$enableval" = yes; then
6370 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6371 else
6372 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6373 fi
6374
6375 else
6376
6377 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6378 if test "x$LINE" != x ; then
6379 eval "DEFAULT_$LINE"
6380 else
6381 no_cache=1
6382 fi
6383
6384 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6385
6386 fi;
6387
6388 eval "$ac_cv_use_mediactrl"
6389 if test "$no_cache" != 1; then
6390 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6391 fi
6392
6393 if test "$wxUSE_MEDIACTRL" = yes; then
6394 echo "$as_me:$LINENO: result: yes" >&5
6395 echo "${ECHO_T}yes" >&6
6396 else
6397 echo "$as_me:$LINENO: result: no" >&5
6398 echo "${ECHO_T}no" >&6
6399 fi
6400
6401
6402 enablestring=
6403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6404 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6405 no_cache=0
6406 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6407 if test "${enable_gstreamer8+set}" = set; then
6408 enableval="$enable_gstreamer8"
6409
6410 if test "$enableval" = yes; then
6411 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6412 else
6413 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6414 fi
6415
6416 else
6417
6418 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6419 if test "x$LINE" != x ; then
6420 eval "DEFAULT_$LINE"
6421 else
6422 no_cache=1
6423 fi
6424
6425 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6426
6427 fi;
6428
6429 eval "$ac_cv_use_gstreamer8"
6430 if test "$no_cache" != 1; then
6431 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6432 fi
6433
6434 if test "$wxUSE_GSTREAMER8" = yes; then
6435 echo "$as_me:$LINENO: result: yes" >&5
6436 echo "${ECHO_T}yes" >&6
6437 else
6438 echo "$as_me:$LINENO: result: no" >&5
6439 echo "${ECHO_T}no" >&6
6440 fi
6441
6442
6443 enablestring=
6444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6445 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6446 no_cache=0
6447 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6448 if test "${enable_printfposparam+set}" = set; then
6449 enableval="$enable_printfposparam"
6450
6451 if test "$enableval" = yes; then
6452 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6453 else
6454 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6455 fi
6456
6457 else
6458
6459 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6460 if test "x$LINE" != x ; then
6461 eval "DEFAULT_$LINE"
6462 else
6463 no_cache=1
6464 fi
6465
6466 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6467
6468 fi;
6469
6470 eval "$ac_cv_use_printfposparam"
6471 if test "$no_cache" != 1; then
6472 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6473 fi
6474
6475 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6476 echo "$as_me:$LINENO: result: yes" >&5
6477 echo "${ECHO_T}yes" >&6
6478 else
6479 echo "$as_me:$LINENO: result: no" >&5
6480 echo "${ECHO_T}no" >&6
6481 fi
6482
6483
6484 enablestring=
6485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6486 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6487 no_cache=0
6488 # Check whether --enable-zipstream or --disable-zipstream was given.
6489 if test "${enable_zipstream+set}" = set; then
6490 enableval="$enable_zipstream"
6491
6492 if test "$enableval" = yes; then
6493 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6494 else
6495 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6496 fi
6497
6498 else
6499
6500 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6501 if test "x$LINE" != x ; then
6502 eval "DEFAULT_$LINE"
6503 else
6504 no_cache=1
6505 fi
6506
6507 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6508
6509 fi;
6510
6511 eval "$ac_cv_use_zipstream"
6512 if test "$no_cache" != 1; then
6513 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6514 fi
6515
6516 if test "$wxUSE_ZIPSTREAM" = yes; then
6517 echo "$as_me:$LINENO: result: yes" >&5
6518 echo "${ECHO_T}yes" >&6
6519 else
6520 echo "$as_me:$LINENO: result: no" >&5
6521 echo "${ECHO_T}no" >&6
6522 fi
6523
6524
6525
6526 enablestring=
6527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6528 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6529 no_cache=0
6530 # Check whether --enable-url or --disable-url was given.
6531 if test "${enable_url+set}" = set; then
6532 enableval="$enable_url"
6533
6534 if test "$enableval" = yes; then
6535 ac_cv_use_url='wxUSE_URL=yes'
6536 else
6537 ac_cv_use_url='wxUSE_URL=no'
6538 fi
6539
6540 else
6541
6542 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6543 if test "x$LINE" != x ; then
6544 eval "DEFAULT_$LINE"
6545 else
6546 no_cache=1
6547 fi
6548
6549 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6550
6551 fi;
6552
6553 eval "$ac_cv_use_url"
6554 if test "$no_cache" != 1; then
6555 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6556 fi
6557
6558 if test "$wxUSE_URL" = yes; then
6559 echo "$as_me:$LINENO: result: yes" >&5
6560 echo "${ECHO_T}yes" >&6
6561 else
6562 echo "$as_me:$LINENO: result: no" >&5
6563 echo "${ECHO_T}no" >&6
6564 fi
6565
6566
6567 enablestring=
6568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6569 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6570 no_cache=0
6571 # Check whether --enable-variant or --disable-variant was given.
6572 if test "${enable_variant+set}" = set; then
6573 enableval="$enable_variant"
6574
6575 if test "$enableval" = yes; then
6576 ac_cv_use_variant='wxUSE_VARIANT=yes'
6577 else
6578 ac_cv_use_variant='wxUSE_VARIANT=no'
6579 fi
6580
6581 else
6582
6583 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6584 if test "x$LINE" != x ; then
6585 eval "DEFAULT_$LINE"
6586 else
6587 no_cache=1
6588 fi
6589
6590 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6591
6592 fi;
6593
6594 eval "$ac_cv_use_variant"
6595 if test "$no_cache" != 1; then
6596 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6597 fi
6598
6599 if test "$wxUSE_VARIANT" = yes; then
6600 echo "$as_me:$LINENO: result: yes" >&5
6601 echo "${ECHO_T}yes" >&6
6602 else
6603 echo "$as_me:$LINENO: result: no" >&5
6604 echo "${ECHO_T}no" >&6
6605 fi
6606
6607
6608 enablestring=
6609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6610 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6611 no_cache=0
6612 # Check whether --enable-protocol or --disable-protocol was given.
6613 if test "${enable_protocol+set}" = set; then
6614 enableval="$enable_protocol"
6615
6616 if test "$enableval" = yes; then
6617 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6618 else
6619 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6620 fi
6621
6622 else
6623
6624 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6625 if test "x$LINE" != x ; then
6626 eval "DEFAULT_$LINE"
6627 else
6628 no_cache=1
6629 fi
6630
6631 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6632
6633 fi;
6634
6635 eval "$ac_cv_use_protocol"
6636 if test "$no_cache" != 1; then
6637 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6638 fi
6639
6640 if test "$wxUSE_PROTOCOL" = yes; then
6641 echo "$as_me:$LINENO: result: yes" >&5
6642 echo "${ECHO_T}yes" >&6
6643 else
6644 echo "$as_me:$LINENO: result: no" >&5
6645 echo "${ECHO_T}no" >&6
6646 fi
6647
6648
6649 enablestring=
6650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6651 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6652 no_cache=0
6653 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6654 if test "${enable_protocol_http+set}" = set; then
6655 enableval="$enable_protocol_http"
6656
6657 if test "$enableval" = yes; then
6658 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6659 else
6660 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6661 fi
6662
6663 else
6664
6665 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6666 if test "x$LINE" != x ; then
6667 eval "DEFAULT_$LINE"
6668 else
6669 no_cache=1
6670 fi
6671
6672 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6673
6674 fi;
6675
6676 eval "$ac_cv_use_protocol_http"
6677 if test "$no_cache" != 1; then
6678 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6679 fi
6680
6681 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6682 echo "$as_me:$LINENO: result: yes" >&5
6683 echo "${ECHO_T}yes" >&6
6684 else
6685 echo "$as_me:$LINENO: result: no" >&5
6686 echo "${ECHO_T}no" >&6
6687 fi
6688
6689
6690 enablestring=
6691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6692 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6693 no_cache=0
6694 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6695 if test "${enable_protocol_ftp+set}" = set; then
6696 enableval="$enable_protocol_ftp"
6697
6698 if test "$enableval" = yes; then
6699 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6700 else
6701 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6702 fi
6703
6704 else
6705
6706 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6707 if test "x$LINE" != x ; then
6708 eval "DEFAULT_$LINE"
6709 else
6710 no_cache=1
6711 fi
6712
6713 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6714
6715 fi;
6716
6717 eval "$ac_cv_use_protocol_ftp"
6718 if test "$no_cache" != 1; then
6719 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6720 fi
6721
6722 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6723 echo "$as_me:$LINENO: result: yes" >&5
6724 echo "${ECHO_T}yes" >&6
6725 else
6726 echo "$as_me:$LINENO: result: no" >&5
6727 echo "${ECHO_T}no" >&6
6728 fi
6729
6730
6731 enablestring=
6732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6733 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6734 no_cache=0
6735 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6736 if test "${enable_protocol_file+set}" = set; then
6737 enableval="$enable_protocol_file"
6738
6739 if test "$enableval" = yes; then
6740 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6741 else
6742 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6743 fi
6744
6745 else
6746
6747 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6748 if test "x$LINE" != x ; then
6749 eval "DEFAULT_$LINE"
6750 else
6751 no_cache=1
6752 fi
6753
6754 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6755
6756 fi;
6757
6758 eval "$ac_cv_use_protocol_file"
6759 if test "$no_cache" != 1; then
6760 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6761 fi
6762
6763 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6764 echo "$as_me:$LINENO: result: yes" >&5
6765 echo "${ECHO_T}yes" >&6
6766 else
6767 echo "$as_me:$LINENO: result: no" >&5
6768 echo "${ECHO_T}no" >&6
6769 fi
6770
6771
6772
6773
6774
6775 enablestring=
6776 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6777 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6778 no_cache=0
6779 # Check whether --enable-threads or --disable-threads was given.
6780 if test "${enable_threads+set}" = set; then
6781 enableval="$enable_threads"
6782
6783 if test "$enableval" = yes; then
6784 ac_cv_use_threads='wxUSE_THREADS=yes'
6785 else
6786 ac_cv_use_threads='wxUSE_THREADS=no'
6787 fi
6788
6789 else
6790
6791 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6792 if test "x$LINE" != x ; then
6793 eval "DEFAULT_$LINE"
6794 else
6795 no_cache=1
6796 fi
6797
6798 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6799
6800 fi;
6801
6802 eval "$ac_cv_use_threads"
6803 if test "$no_cache" != 1; then
6804 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6805 fi
6806
6807 if test "$wxUSE_THREADS" = yes; then
6808 echo "$as_me:$LINENO: result: yes" >&5
6809 echo "${ECHO_T}yes" >&6
6810 else
6811 echo "$as_me:$LINENO: result: no" >&5
6812 echo "${ECHO_T}no" >&6
6813 fi
6814
6815
6816 if test "$wxUSE_GUI" = "yes"; then
6817
6818
6819
6820 enablestring=
6821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6822 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6823 no_cache=0
6824 # Check whether --enable-docview or --disable-docview was given.
6825 if test "${enable_docview+set}" = set; then
6826 enableval="$enable_docview"
6827
6828 if test "$enableval" = yes; then
6829 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6830 else
6831 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6832 fi
6833
6834 else
6835
6836 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6837 if test "x$LINE" != x ; then
6838 eval "DEFAULT_$LINE"
6839 else
6840 no_cache=1
6841 fi
6842
6843 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6844
6845 fi;
6846
6847 eval "$ac_cv_use_docview"
6848 if test "$no_cache" != 1; then
6849 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6850 fi
6851
6852 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6853 echo "$as_me:$LINENO: result: yes" >&5
6854 echo "${ECHO_T}yes" >&6
6855 else
6856 echo "$as_me:$LINENO: result: no" >&5
6857 echo "${ECHO_T}no" >&6
6858 fi
6859
6860
6861 enablestring=
6862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6863 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6864 no_cache=0
6865 # Check whether --enable-help or --disable-help was given.
6866 if test "${enable_help+set}" = set; then
6867 enableval="$enable_help"
6868
6869 if test "$enableval" = yes; then
6870 ac_cv_use_help='wxUSE_HELP=yes'
6871 else
6872 ac_cv_use_help='wxUSE_HELP=no'
6873 fi
6874
6875 else
6876
6877 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6878 if test "x$LINE" != x ; then
6879 eval "DEFAULT_$LINE"
6880 else
6881 no_cache=1
6882 fi
6883
6884 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6885
6886 fi;
6887
6888 eval "$ac_cv_use_help"
6889 if test "$no_cache" != 1; then
6890 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6891 fi
6892
6893 if test "$wxUSE_HELP" = yes; then
6894 echo "$as_me:$LINENO: result: yes" >&5
6895 echo "${ECHO_T}yes" >&6
6896 else
6897 echo "$as_me:$LINENO: result: no" >&5
6898 echo "${ECHO_T}no" >&6
6899 fi
6900
6901
6902 enablestring=
6903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6904 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6905 no_cache=0
6906 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6907 if test "${enable_mshtmlhelp+set}" = set; then
6908 enableval="$enable_mshtmlhelp"
6909
6910 if test "$enableval" = yes; then
6911 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6912 else
6913 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6914 fi
6915
6916 else
6917
6918 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6919 if test "x$LINE" != x ; then
6920 eval "DEFAULT_$LINE"
6921 else
6922 no_cache=1
6923 fi
6924
6925 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6926
6927 fi;
6928
6929 eval "$ac_cv_use_mshtmlhelp"
6930 if test "$no_cache" != 1; then
6931 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6932 fi
6933
6934 if test "$wxUSE_MS_HTML_HELP" = yes; then
6935 echo "$as_me:$LINENO: result: yes" >&5
6936 echo "${ECHO_T}yes" >&6
6937 else
6938 echo "$as_me:$LINENO: result: no" >&5
6939 echo "${ECHO_T}no" >&6
6940 fi
6941
6942
6943 enablestring=
6944 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6945 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6946 no_cache=0
6947 # Check whether --enable-html or --disable-html was given.
6948 if test "${enable_html+set}" = set; then
6949 enableval="$enable_html"
6950
6951 if test "$enableval" = yes; then
6952 ac_cv_use_html='wxUSE_HTML=yes'
6953 else
6954 ac_cv_use_html='wxUSE_HTML=no'
6955 fi
6956
6957 else
6958
6959 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6960 if test "x$LINE" != x ; then
6961 eval "DEFAULT_$LINE"
6962 else
6963 no_cache=1
6964 fi
6965
6966 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6967
6968 fi;
6969
6970 eval "$ac_cv_use_html"
6971 if test "$no_cache" != 1; then
6972 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6973 fi
6974
6975 if test "$wxUSE_HTML" = yes; then
6976 echo "$as_me:$LINENO: result: yes" >&5
6977 echo "${ECHO_T}yes" >&6
6978 else
6979 echo "$as_me:$LINENO: result: no" >&5
6980 echo "${ECHO_T}no" >&6
6981 fi
6982
6983
6984 enablestring=
6985 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6986 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6987 no_cache=0
6988 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6989 if test "${enable_htmlhelp+set}" = set; then
6990 enableval="$enable_htmlhelp"
6991
6992 if test "$enableval" = yes; then
6993 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6994 else
6995 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6996 fi
6997
6998 else
6999
7000 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7001 if test "x$LINE" != x ; then
7002 eval "DEFAULT_$LINE"
7003 else
7004 no_cache=1
7005 fi
7006
7007 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7008
7009 fi;
7010
7011 eval "$ac_cv_use_htmlhelp"
7012 if test "$no_cache" != 1; then
7013 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7014 fi
7015
7016 if test "$wxUSE_WXHTML_HELP" = yes; then
7017 echo "$as_me:$LINENO: result: yes" >&5
7018 echo "${ECHO_T}yes" >&6
7019 else
7020 echo "$as_me:$LINENO: result: no" >&5
7021 echo "${ECHO_T}no" >&6
7022 fi
7023
7024
7025 enablestring=
7026 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7027 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7028 no_cache=0
7029 # Check whether --enable-xrc or --disable-xrc was given.
7030 if test "${enable_xrc+set}" = set; then
7031 enableval="$enable_xrc"
7032
7033 if test "$enableval" = yes; then
7034 ac_cv_use_xrc='wxUSE_XRC=yes'
7035 else
7036 ac_cv_use_xrc='wxUSE_XRC=no'
7037 fi
7038
7039 else
7040
7041 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7042 if test "x$LINE" != x ; then
7043 eval "DEFAULT_$LINE"
7044 else
7045 no_cache=1
7046 fi
7047
7048 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7049
7050 fi;
7051
7052 eval "$ac_cv_use_xrc"
7053 if test "$no_cache" != 1; then
7054 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7055 fi
7056
7057 if test "$wxUSE_XRC" = yes; then
7058 echo "$as_me:$LINENO: result: yes" >&5
7059 echo "${ECHO_T}yes" >&6
7060 else
7061 echo "$as_me:$LINENO: result: no" >&5
7062 echo "${ECHO_T}no" >&6
7063 fi
7064
7065
7066 enablestring=
7067 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7068 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7069 no_cache=0
7070 # Check whether --enable-aui or --disable-aui was given.
7071 if test "${enable_aui+set}" = set; then
7072 enableval="$enable_aui"
7073
7074 if test "$enableval" = yes; then
7075 ac_cv_use_aui='wxUSE_AUI=yes'
7076 else
7077 ac_cv_use_aui='wxUSE_AUI=no'
7078 fi
7079
7080 else
7081
7082 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7083 if test "x$LINE" != x ; then
7084 eval "DEFAULT_$LINE"
7085 else
7086 no_cache=1
7087 fi
7088
7089 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7090
7091 fi;
7092
7093 eval "$ac_cv_use_aui"
7094 if test "$no_cache" != 1; then
7095 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7096 fi
7097
7098 if test "$wxUSE_AUI" = yes; then
7099 echo "$as_me:$LINENO: result: yes" >&5
7100 echo "${ECHO_T}yes" >&6
7101 else
7102 echo "$as_me:$LINENO: result: no" >&5
7103 echo "${ECHO_T}no" >&6
7104 fi
7105
7106
7107 enablestring=
7108 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7109 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7110 no_cache=0
7111 # Check whether --enable-constraints or --disable-constraints was given.
7112 if test "${enable_constraints+set}" = set; then
7113 enableval="$enable_constraints"
7114
7115 if test "$enableval" = yes; then
7116 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7117 else
7118 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7119 fi
7120
7121 else
7122
7123 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7124 if test "x$LINE" != x ; then
7125 eval "DEFAULT_$LINE"
7126 else
7127 no_cache=1
7128 fi
7129
7130 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7131
7132 fi;
7133
7134 eval "$ac_cv_use_constraints"
7135 if test "$no_cache" != 1; then
7136 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7137 fi
7138
7139 if test "$wxUSE_CONSTRAINTS" = yes; then
7140 echo "$as_me:$LINENO: result: yes" >&5
7141 echo "${ECHO_T}yes" >&6
7142 else
7143 echo "$as_me:$LINENO: result: no" >&5
7144 echo "${ECHO_T}no" >&6
7145 fi
7146
7147
7148 enablestring=
7149 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7150 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7151 no_cache=0
7152 # Check whether --enable-printarch or --disable-printarch was given.
7153 if test "${enable_printarch+set}" = set; then
7154 enableval="$enable_printarch"
7155
7156 if test "$enableval" = yes; then
7157 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7158 else
7159 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7160 fi
7161
7162 else
7163
7164 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7165 if test "x$LINE" != x ; then
7166 eval "DEFAULT_$LINE"
7167 else
7168 no_cache=1
7169 fi
7170
7171 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7172
7173 fi;
7174
7175 eval "$ac_cv_use_printarch"
7176 if test "$no_cache" != 1; then
7177 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7178 fi
7179
7180 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7181 echo "$as_me:$LINENO: result: yes" >&5
7182 echo "${ECHO_T}yes" >&6
7183 else
7184 echo "$as_me:$LINENO: result: no" >&5
7185 echo "${ECHO_T}no" >&6
7186 fi
7187
7188
7189 enablestring=
7190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7191 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7192 no_cache=0
7193 # Check whether --enable-mdi or --disable-mdi was given.
7194 if test "${enable_mdi+set}" = set; then
7195 enableval="$enable_mdi"
7196
7197 if test "$enableval" = yes; then
7198 ac_cv_use_mdi='wxUSE_MDI=yes'
7199 else
7200 ac_cv_use_mdi='wxUSE_MDI=no'
7201 fi
7202
7203 else
7204
7205 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7206 if test "x$LINE" != x ; then
7207 eval "DEFAULT_$LINE"
7208 else
7209 no_cache=1
7210 fi
7211
7212 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7213
7214 fi;
7215
7216 eval "$ac_cv_use_mdi"
7217 if test "$no_cache" != 1; then
7218 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7219 fi
7220
7221 if test "$wxUSE_MDI" = yes; then
7222 echo "$as_me:$LINENO: result: yes" >&5
7223 echo "${ECHO_T}yes" >&6
7224 else
7225 echo "$as_me:$LINENO: result: no" >&5
7226 echo "${ECHO_T}no" >&6
7227 fi
7228
7229
7230 enablestring=
7231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7232 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7233 no_cache=0
7234 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7235 if test "${enable_mdidoc+set}" = set; then
7236 enableval="$enable_mdidoc"
7237
7238 if test "$enableval" = yes; then
7239 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7240 else
7241 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7242 fi
7243
7244 else
7245
7246 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7247 if test "x$LINE" != x ; then
7248 eval "DEFAULT_$LINE"
7249 else
7250 no_cache=1
7251 fi
7252
7253 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7254
7255 fi;
7256
7257 eval "$ac_cv_use_mdidoc"
7258 if test "$no_cache" != 1; then
7259 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7260 fi
7261
7262 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7263 echo "$as_me:$LINENO: result: yes" >&5
7264 echo "${ECHO_T}yes" >&6
7265 else
7266 echo "$as_me:$LINENO: result: no" >&5
7267 echo "${ECHO_T}no" >&6
7268 fi
7269
7270
7271 enablestring=
7272 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7273 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7274 no_cache=0
7275 # Check whether --enable-loggui or --disable-loggui was given.
7276 if test "${enable_loggui+set}" = set; then
7277 enableval="$enable_loggui"
7278
7279 if test "$enableval" = yes; then
7280 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7281 else
7282 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7283 fi
7284
7285 else
7286
7287 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7288 if test "x$LINE" != x ; then
7289 eval "DEFAULT_$LINE"
7290 else
7291 no_cache=1
7292 fi
7293
7294 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7295
7296 fi;
7297
7298 eval "$ac_cv_use_loggui"
7299 if test "$no_cache" != 1; then
7300 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7301 fi
7302
7303 if test "$wxUSE_LOGGUI" = yes; then
7304 echo "$as_me:$LINENO: result: yes" >&5
7305 echo "${ECHO_T}yes" >&6
7306 else
7307 echo "$as_me:$LINENO: result: no" >&5
7308 echo "${ECHO_T}no" >&6
7309 fi
7310
7311
7312 enablestring=
7313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7314 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7315 no_cache=0
7316 # Check whether --enable-logwin or --disable-logwin was given.
7317 if test "${enable_logwin+set}" = set; then
7318 enableval="$enable_logwin"
7319
7320 if test "$enableval" = yes; then
7321 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7322 else
7323 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7324 fi
7325
7326 else
7327
7328 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7329 if test "x$LINE" != x ; then
7330 eval "DEFAULT_$LINE"
7331 else
7332 no_cache=1
7333 fi
7334
7335 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7336
7337 fi;
7338
7339 eval "$ac_cv_use_logwin"
7340 if test "$no_cache" != 1; then
7341 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7342 fi
7343
7344 if test "$wxUSE_LOGWINDOW" = yes; then
7345 echo "$as_me:$LINENO: result: yes" >&5
7346 echo "${ECHO_T}yes" >&6
7347 else
7348 echo "$as_me:$LINENO: result: no" >&5
7349 echo "${ECHO_T}no" >&6
7350 fi
7351
7352
7353 enablestring=
7354 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7355 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7356 no_cache=0
7357 # Check whether --enable-logdialog or --disable-logdialog was given.
7358 if test "${enable_logdialog+set}" = set; then
7359 enableval="$enable_logdialog"
7360
7361 if test "$enableval" = yes; then
7362 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7363 else
7364 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7365 fi
7366
7367 else
7368
7369 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x ; then
7371 eval "DEFAULT_$LINE"
7372 else
7373 no_cache=1
7374 fi
7375
7376 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7377
7378 fi;
7379
7380 eval "$ac_cv_use_logdialog"
7381 if test "$no_cache" != 1; then
7382 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7383 fi
7384
7385 if test "$wxUSE_LOGDIALOG" = yes; then
7386 echo "$as_me:$LINENO: result: yes" >&5
7387 echo "${ECHO_T}yes" >&6
7388 else
7389 echo "$as_me:$LINENO: result: no" >&5
7390 echo "${ECHO_T}no" >&6
7391 fi
7392
7393
7394 enablestring=
7395 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7396 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7397 no_cache=0
7398 # Check whether --enable-webkit or --disable-webkit was given.
7399 if test "${enable_webkit+set}" = set; then
7400 enableval="$enable_webkit"
7401
7402 if test "$enableval" = yes; then
7403 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7404 else
7405 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7406 fi
7407
7408 else
7409
7410 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7411 if test "x$LINE" != x ; then
7412 eval "DEFAULT_$LINE"
7413 else
7414 no_cache=1
7415 fi
7416
7417 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7418
7419 fi;
7420
7421 eval "$ac_cv_use_webkit"
7422 if test "$no_cache" != 1; then
7423 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7424 fi
7425
7426 if test "$wxUSE_WEBKIT" = yes; then
7427 echo "$as_me:$LINENO: result: yes" >&5
7428 echo "${ECHO_T}yes" >&6
7429 else
7430 echo "$as_me:$LINENO: result: no" >&5
7431 echo "${ECHO_T}no" >&6
7432 fi
7433
7434
7435 enablestring=
7436 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7437 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7438 no_cache=0
7439 # Check whether --enable-html or --disable-html was given.
7440 if test "${enable_html+set}" = set; then
7441 enableval="$enable_html"
7442
7443 if test "$enableval" = yes; then
7444 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7445 else
7446 ac_cv_use_html='wxUSE_RICHTEXT=no'
7447 fi
7448
7449 else
7450
7451 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7452 if test "x$LINE" != x ; then
7453 eval "DEFAULT_$LINE"
7454 else
7455 no_cache=1
7456 fi
7457
7458 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7459
7460 fi;
7461
7462 eval "$ac_cv_use_html"
7463 if test "$no_cache" != 1; then
7464 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7465 fi
7466
7467 if test "$wxUSE_RICHTEXT" = yes; then
7468 echo "$as_me:$LINENO: result: yes" >&5
7469 echo "${ECHO_T}yes" >&6
7470 else
7471 echo "$as_me:$LINENO: result: no" >&5
7472 echo "${ECHO_T}no" >&6
7473 fi
7474
7475
7476 enablestring=
7477 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7478 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7479 no_cache=0
7480 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7481 if test "${enable_graphics_ctx+set}" = set; then
7482 enableval="$enable_graphics_ctx"
7483
7484 if test "$enableval" = yes; then
7485 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7486 else
7487 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7488 fi
7489
7490 else
7491
7492 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7493 if test "x$LINE" != x ; then
7494 eval "DEFAULT_$LINE"
7495 else
7496 no_cache=1
7497 fi
7498
7499 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7500
7501 fi;
7502
7503 eval "$ac_cv_use_graphics_ctx"
7504 if test "$no_cache" != 1; then
7505 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7506 fi
7507
7508 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7509 echo "$as_me:$LINENO: result: yes" >&5
7510 echo "${ECHO_T}yes" >&6
7511 else
7512 echo "$as_me:$LINENO: result: no" >&5
7513 echo "${ECHO_T}no" >&6
7514 fi
7515
7516
7517
7518 enablestring=
7519 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7521 no_cache=0
7522 # Check whether --enable-postscript or --disable-postscript was given.
7523 if test "${enable_postscript+set}" = set; then
7524 enableval="$enable_postscript"
7525
7526 if test "$enableval" = yes; then
7527 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7528 else
7529 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7530 fi
7531
7532 else
7533
7534 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7535 if test "x$LINE" != x ; then
7536 eval "DEFAULT_$LINE"
7537 else
7538 no_cache=1
7539 fi
7540
7541 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7542
7543 fi;
7544
7545 eval "$ac_cv_use_postscript"
7546 if test "$no_cache" != 1; then
7547 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7548 fi
7549
7550 if test "$wxUSE_POSTSCRIPT" = yes; then
7551 echo "$as_me:$LINENO: result: yes" >&5
7552 echo "${ECHO_T}yes" >&6
7553 else
7554 echo "$as_me:$LINENO: result: no" >&5
7555 echo "${ECHO_T}no" >&6
7556 fi
7557
7558
7559
7560
7561
7562 enablestring=
7563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7564 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7565 no_cache=0
7566 # Check whether --enable-prologio or --disable-prologio was given.
7567 if test "${enable_prologio+set}" = set; then
7568 enableval="$enable_prologio"
7569
7570 if test "$enableval" = yes; then
7571 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7572 else
7573 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7574 fi
7575
7576 else
7577
7578 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7579 if test "x$LINE" != x ; then
7580 eval "DEFAULT_$LINE"
7581 else
7582 no_cache=1
7583 fi
7584
7585 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7586
7587 fi;
7588
7589 eval "$ac_cv_use_prologio"
7590 if test "$no_cache" != 1; then
7591 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7592 fi
7593
7594 if test "$wxUSE_PROLOGIO" = yes; then
7595 echo "$as_me:$LINENO: result: yes" >&5
7596 echo "${ECHO_T}yes" >&6
7597 else
7598 echo "$as_me:$LINENO: result: no" >&5
7599 echo "${ECHO_T}no" >&6
7600 fi
7601
7602
7603 enablestring=
7604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7605 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7606 no_cache=0
7607 # Check whether --enable-resources or --disable-resources was given.
7608 if test "${enable_resources+set}" = set; then
7609 enableval="$enable_resources"
7610
7611 if test "$enableval" = yes; then
7612 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7613 else
7614 ac_cv_use_resources='wxUSE_RESOURCES=no'
7615 fi
7616
7617 else
7618
7619 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7620 if test "x$LINE" != x ; then
7621 eval "DEFAULT_$LINE"
7622 else
7623 no_cache=1
7624 fi
7625
7626 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7627
7628 fi;
7629
7630 eval "$ac_cv_use_resources"
7631 if test "$no_cache" != 1; then
7632 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7633 fi
7634
7635 if test "$wxUSE_RESOURCES" = yes; then
7636 echo "$as_me:$LINENO: result: yes" >&5
7637 echo "${ECHO_T}yes" >&6
7638 else
7639 echo "$as_me:$LINENO: result: no" >&5
7640 echo "${ECHO_T}no" >&6
7641 fi
7642
7643
7644
7645
7646 enablestring=
7647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7648 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7649 no_cache=0
7650 # Check whether --enable-clipboard or --disable-clipboard was given.
7651 if test "${enable_clipboard+set}" = set; then
7652 enableval="$enable_clipboard"
7653
7654 if test "$enableval" = yes; then
7655 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7656 else
7657 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7658 fi
7659
7660 else
7661
7662 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7663 if test "x$LINE" != x ; then
7664 eval "DEFAULT_$LINE"
7665 else
7666 no_cache=1
7667 fi
7668
7669 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7670
7671 fi;
7672
7673 eval "$ac_cv_use_clipboard"
7674 if test "$no_cache" != 1; then
7675 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7676 fi
7677
7678 if test "$wxUSE_CLIPBOARD" = yes; then
7679 echo "$as_me:$LINENO: result: yes" >&5
7680 echo "${ECHO_T}yes" >&6
7681 else
7682 echo "$as_me:$LINENO: result: no" >&5
7683 echo "${ECHO_T}no" >&6
7684 fi
7685
7686
7687 enablestring=
7688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7689 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7690 no_cache=0
7691 # Check whether --enable-dnd or --disable-dnd was given.
7692 if test "${enable_dnd+set}" = set; then
7693 enableval="$enable_dnd"
7694
7695 if test "$enableval" = yes; then
7696 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7697 else
7698 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7699 fi
7700
7701 else
7702
7703 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7704 if test "x$LINE" != x ; then
7705 eval "DEFAULT_$LINE"
7706 else
7707 no_cache=1
7708 fi
7709
7710 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7711
7712 fi;
7713
7714 eval "$ac_cv_use_dnd"
7715 if test "$no_cache" != 1; then
7716 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7717 fi
7718
7719 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7720 echo "$as_me:$LINENO: result: yes" >&5
7721 echo "${ECHO_T}yes" >&6
7722 else
7723 echo "$as_me:$LINENO: result: no" >&5
7724 echo "${ECHO_T}no" >&6
7725 fi
7726
7727
7728 enablestring=
7729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7730 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7731 no_cache=0
7732 # Check whether --enable-metafile or --disable-metafile was given.
7733 if test "${enable_metafile+set}" = set; then
7734 enableval="$enable_metafile"
7735
7736 if test "$enableval" = yes; then
7737 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7738 else
7739 ac_cv_use_metafile='wxUSE_METAFILE=no'
7740 fi
7741
7742 else
7743
7744 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7745 if test "x$LINE" != x ; then
7746 eval "DEFAULT_$LINE"
7747 else
7748 no_cache=1
7749 fi
7750
7751 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7752
7753 fi;
7754
7755 eval "$ac_cv_use_metafile"
7756 if test "$no_cache" != 1; then
7757 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7758 fi
7759
7760 if test "$wxUSE_METAFILE" = yes; then
7761 echo "$as_me:$LINENO: result: yes" >&5
7762 echo "${ECHO_T}yes" >&6
7763 else
7764 echo "$as_me:$LINENO: result: no" >&5
7765 echo "${ECHO_T}no" >&6
7766 fi
7767
7768
7769
7770
7771
7772 enablestring=
7773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7774 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7775 no_cache=0
7776 # Check whether --enable-controls or --disable-controls was given.
7777 if test "${enable_controls+set}" = set; then
7778 enableval="$enable_controls"
7779
7780 if test "$enableval" = yes; then
7781 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7782 else
7783 ac_cv_use_controls='wxUSE_CONTROLS=no'
7784 fi
7785
7786 else
7787
7788 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7789 if test "x$LINE" != x ; then
7790 eval "DEFAULT_$LINE"
7791 else
7792 no_cache=1
7793 fi
7794
7795 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7796
7797 fi;
7798
7799 eval "$ac_cv_use_controls"
7800 if test "$no_cache" != 1; then
7801 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7802 fi
7803
7804 if test "$wxUSE_CONTROLS" = yes; then
7805 echo "$as_me:$LINENO: result: yes" >&5
7806 echo "${ECHO_T}yes" >&6
7807 else
7808 echo "$as_me:$LINENO: result: no" >&5
7809 echo "${ECHO_T}no" >&6
7810 fi
7811
7812
7813 if test "$wxUSE_CONTROLS" = "yes"; then
7814 DEFAULT_wxUSE_ACCEL=yes
7815 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7816 DEFAULT_wxUSE_BMPBUTTON=yes
7817 DEFAULT_wxUSE_BUTTON=yes
7818 DEFAULT_wxUSE_CALCTRL=yes
7819 DEFAULT_wxUSE_CARET=yes
7820 DEFAULT_wxUSE_COMBOBOX=yes
7821 DEFAULT_wxUSE_CHECKBOX=yes
7822 DEFAULT_wxUSE_CHECKLISTBOX=yes
7823 DEFAULT_wxUSE_CHOICE=yes
7824 DEFAULT_wxUSE_CHOICEBOOK=yes
7825 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7826 DEFAULT_wxUSE_COMBOBOX=yes
7827 DEFAULT_wxUSE_DATEPICKCTRL=yes
7828 DEFAULT_wxUSE_DISPLAY=yes
7829 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7830 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7831 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7832 DEFAULT_wxUSE_GAUGE=yes
7833 DEFAULT_wxUSE_GRID=yes
7834 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7835 DEFAULT_wxUSE_DATAVIEWCTRL=no
7836 DEFAULT_wxUSE_IMAGLIST=yes
7837 DEFAULT_wxUSE_LISTBOOK=yes
7838 DEFAULT_wxUSE_LISTBOX=yes
7839 DEFAULT_wxUSE_LISTCTRL=yes
7840 DEFAULT_wxUSE_NOTEBOOK=yes
7841 DEFAULT_wxUSE_RADIOBOX=yes
7842 DEFAULT_wxUSE_RADIOBTN=yes
7843 DEFAULT_wxUSE_SASH=yes
7844 DEFAULT_wxUSE_SCROLLBAR=yes
7845 DEFAULT_wxUSE_SLIDER=yes
7846 DEFAULT_wxUSE_SPINBTN=yes
7847 DEFAULT_wxUSE_SPINCTRL=yes
7848 DEFAULT_wxUSE_SPLITTER=yes
7849 DEFAULT_wxUSE_STATBMP=yes
7850 DEFAULT_wxUSE_STATBOX=yes
7851 DEFAULT_wxUSE_STATLINE=yes
7852 DEFAULT_wxUSE_STATUSBAR=yes
7853 DEFAULT_wxUSE_TAB_DIALOG=yes
7854 DEFAULT_wxUSE_TOGGLEBTN=yes
7855 DEFAULT_wxUSE_TOOLBAR=yes
7856 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7857 DEFAULT_wxUSE_TOOLTIPS=yes
7858 DEFAULT_wxUSE_TREEBOOK=yes
7859 DEFAULT_wxUSE_TOOLBOOK=yes
7860 DEFAULT_wxUSE_TREECTRL=yes
7861 DEFAULT_wxUSE_POPUPWIN=yes
7862 DEFAULT_wxUSE_TIPWINDOW=yes
7863 elif test "$wxUSE_CONTROLS" = "no"; then
7864 DEFAULT_wxUSE_ACCEL=no
7865 DEFAULT_wxUSE_ANIMATIONCTRL=no
7866 DEFAULT_wxUSE_BMPBUTTON=no
7867 DEFAULT_wxUSE_BUTTON=no
7868 DEFAULT_wxUSE_CALCTRL=no
7869 DEFAULT_wxUSE_CARET=no
7870 DEFAULT_wxUSE_COMBOBOX=no
7871 DEFAULT_wxUSE_CHECKBOX=no
7872 DEFAULT_wxUSE_CHECKLISTBOX=no
7873 DEFAULT_wxUSE_CHOICE=no
7874 DEFAULT_wxUSE_CHOICEBOOK=no
7875 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7876 DEFAULT_wxUSE_COMBOBOX=no
7877 DEFAULT_wxUSE_DATEPICKCTRL=no
7878 DEFAULT_wxUSE_DISPLAY=no
7879 DEFAULT_wxUSE_DIRPICKERCTRL=no
7880 DEFAULT_wxUSE_FILEPICKERCTRL=no
7881 DEFAULT_wxUSE_FONTPICKERCTRL=no
7882 DEFAULT_wxUSE_GAUGE=no
7883 DEFAULT_wxUSE_GRID=no
7884 DEFAULT_wxUSE_HYPERLINKCTRL=no
7885 DEFAULT_wxUSE_DATAVIEWCTRL=no
7886 DEFAULT_wxUSE_IMAGLIST=no
7887 DEFAULT_wxUSE_LISTBOOK=no
7888 DEFAULT_wxUSE_LISTBOX=no
7889 DEFAULT_wxUSE_LISTCTRL=no
7890 DEFAULT_wxUSE_NOTEBOOK=no
7891 DEFAULT_wxUSE_RADIOBOX=no
7892 DEFAULT_wxUSE_RADIOBTN=no
7893 DEFAULT_wxUSE_SASH=no
7894 DEFAULT_wxUSE_SCROLLBAR=no
7895 DEFAULT_wxUSE_SLIDER=no
7896 DEFAULT_wxUSE_SPINBTN=no
7897 DEFAULT_wxUSE_SPINCTRL=no
7898 DEFAULT_wxUSE_SPLITTER=no
7899 DEFAULT_wxUSE_STATBMP=no
7900 DEFAULT_wxUSE_STATBOX=no
7901 DEFAULT_wxUSE_STATLINE=no
7902 DEFAULT_wxUSE_STATUSBAR=no
7903 DEFAULT_wxUSE_TAB_DIALOG=no
7904 DEFAULT_wxUSE_TOGGLEBTN=no
7905 DEFAULT_wxUSE_TOOLBAR=no
7906 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7907 DEFAULT_wxUSE_TOOLTIPS=no
7908 DEFAULT_wxUSE_TREEBOOK=no
7909 DEFAULT_wxUSE_TOOLBOOK=no
7910 DEFAULT_wxUSE_TREECTRL=no
7911 DEFAULT_wxUSE_POPUPWIN=no
7912 DEFAULT_wxUSE_TIPWINDOW=no
7913 fi
7914
7915
7916 enablestring=
7917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7918 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7919 no_cache=0
7920 # Check whether --enable-accel or --disable-accel was given.
7921 if test "${enable_accel+set}" = set; then
7922 enableval="$enable_accel"
7923
7924 if test "$enableval" = yes; then
7925 ac_cv_use_accel='wxUSE_ACCEL=yes'
7926 else
7927 ac_cv_use_accel='wxUSE_ACCEL=no'
7928 fi
7929
7930 else
7931
7932 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7933 if test "x$LINE" != x ; then
7934 eval "DEFAULT_$LINE"
7935 else
7936 no_cache=1
7937 fi
7938
7939 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7940
7941 fi;
7942
7943 eval "$ac_cv_use_accel"
7944 if test "$no_cache" != 1; then
7945 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7946 fi
7947
7948 if test "$wxUSE_ACCEL" = yes; then
7949 echo "$as_me:$LINENO: result: yes" >&5
7950 echo "${ECHO_T}yes" >&6
7951 else
7952 echo "$as_me:$LINENO: result: no" >&5
7953 echo "${ECHO_T}no" >&6
7954 fi
7955
7956
7957 enablestring=
7958 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
7959 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
7960 no_cache=0
7961 # Check whether --enable-animatectrl or --disable-animatectrl was given.
7962 if test "${enable_animatectrl+set}" = set; then
7963 enableval="$enable_animatectrl"
7964
7965 if test "$enableval" = yes; then
7966 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
7967 else
7968 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
7969 fi
7970
7971 else
7972
7973 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
7974 if test "x$LINE" != x ; then
7975 eval "DEFAULT_$LINE"
7976 else
7977 no_cache=1
7978 fi
7979
7980 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
7981
7982 fi;
7983
7984 eval "$ac_cv_use_animatectrl"
7985 if test "$no_cache" != 1; then
7986 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
7987 fi
7988
7989 if test "$wxUSE_ANIMATIONCTRL" = yes; then
7990 echo "$as_me:$LINENO: result: yes" >&5
7991 echo "${ECHO_T}yes" >&6
7992 else
7993 echo "$as_me:$LINENO: result: no" >&5
7994 echo "${ECHO_T}no" >&6
7995 fi
7996
7997
7998 enablestring=
7999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8000 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8001 no_cache=0
8002 # Check whether --enable-button or --disable-button was given.
8003 if test "${enable_button+set}" = set; then
8004 enableval="$enable_button"
8005
8006 if test "$enableval" = yes; then
8007 ac_cv_use_button='wxUSE_BUTTON=yes'
8008 else
8009 ac_cv_use_button='wxUSE_BUTTON=no'
8010 fi
8011
8012 else
8013
8014 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8015 if test "x$LINE" != x ; then
8016 eval "DEFAULT_$LINE"
8017 else
8018 no_cache=1
8019 fi
8020
8021 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8022
8023 fi;
8024
8025 eval "$ac_cv_use_button"
8026 if test "$no_cache" != 1; then
8027 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8028 fi
8029
8030 if test "$wxUSE_BUTTON" = yes; then
8031 echo "$as_me:$LINENO: result: yes" >&5
8032 echo "${ECHO_T}yes" >&6
8033 else
8034 echo "$as_me:$LINENO: result: no" >&5
8035 echo "${ECHO_T}no" >&6
8036 fi
8037
8038
8039 enablestring=
8040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8041 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8042 no_cache=0
8043 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8044 if test "${enable_bmpbutton+set}" = set; then
8045 enableval="$enable_bmpbutton"
8046
8047 if test "$enableval" = yes; then
8048 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8049 else
8050 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8051 fi
8052
8053 else
8054
8055 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8056 if test "x$LINE" != x ; then
8057 eval "DEFAULT_$LINE"
8058 else
8059 no_cache=1
8060 fi
8061
8062 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8063
8064 fi;
8065
8066 eval "$ac_cv_use_bmpbutton"
8067 if test "$no_cache" != 1; then
8068 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8069 fi
8070
8071 if test "$wxUSE_BMPBUTTON" = yes; then
8072 echo "$as_me:$LINENO: result: yes" >&5
8073 echo "${ECHO_T}yes" >&6
8074 else
8075 echo "$as_me:$LINENO: result: no" >&5
8076 echo "${ECHO_T}no" >&6
8077 fi
8078
8079
8080 enablestring=
8081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8082 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8083 no_cache=0
8084 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8085 if test "${enable_bmpcombobox+set}" = set; then
8086 enableval="$enable_bmpcombobox"
8087
8088 if test "$enableval" = yes; then
8089 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8090 else
8091 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8092 fi
8093
8094 else
8095
8096 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8097 if test "x$LINE" != x ; then
8098 eval "DEFAULT_$LINE"
8099 else
8100 no_cache=1
8101 fi
8102
8103 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8104
8105 fi;
8106
8107 eval "$ac_cv_use_bmpcombobox"
8108 if test "$no_cache" != 1; then
8109 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8110 fi
8111
8112 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8113 echo "$as_me:$LINENO: result: yes" >&5
8114 echo "${ECHO_T}yes" >&6
8115 else
8116 echo "$as_me:$LINENO: result: no" >&5
8117 echo "${ECHO_T}no" >&6
8118 fi
8119
8120
8121 enablestring=
8122 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8123 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8124 no_cache=0
8125 # Check whether --enable-calendar or --disable-calendar was given.
8126 if test "${enable_calendar+set}" = set; then
8127 enableval="$enable_calendar"
8128
8129 if test "$enableval" = yes; then
8130 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8131 else
8132 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8133 fi
8134
8135 else
8136
8137 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8138 if test "x$LINE" != x ; then
8139 eval "DEFAULT_$LINE"
8140 else
8141 no_cache=1
8142 fi
8143
8144 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8145
8146 fi;
8147
8148 eval "$ac_cv_use_calendar"
8149 if test "$no_cache" != 1; then
8150 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8151 fi
8152
8153 if test "$wxUSE_CALCTRL" = yes; then
8154 echo "$as_me:$LINENO: result: yes" >&5
8155 echo "${ECHO_T}yes" >&6
8156 else
8157 echo "$as_me:$LINENO: result: no" >&5
8158 echo "${ECHO_T}no" >&6
8159 fi
8160
8161
8162 enablestring=
8163 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8164 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8165 no_cache=0
8166 # Check whether --enable-caret or --disable-caret was given.
8167 if test "${enable_caret+set}" = set; then
8168 enableval="$enable_caret"
8169
8170 if test "$enableval" = yes; then
8171 ac_cv_use_caret='wxUSE_CARET=yes'
8172 else
8173 ac_cv_use_caret='wxUSE_CARET=no'
8174 fi
8175
8176 else
8177
8178 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8179 if test "x$LINE" != x ; then
8180 eval "DEFAULT_$LINE"
8181 else
8182 no_cache=1
8183 fi
8184
8185 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8186
8187 fi;
8188
8189 eval "$ac_cv_use_caret"
8190 if test "$no_cache" != 1; then
8191 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8192 fi
8193
8194 if test "$wxUSE_CARET" = yes; then
8195 echo "$as_me:$LINENO: result: yes" >&5
8196 echo "${ECHO_T}yes" >&6
8197 else
8198 echo "$as_me:$LINENO: result: no" >&5
8199 echo "${ECHO_T}no" >&6
8200 fi
8201
8202
8203 enablestring=
8204 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8205 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8206 no_cache=0
8207 # Check whether --enable-checkbox or --disable-checkbox was given.
8208 if test "${enable_checkbox+set}" = set; then
8209 enableval="$enable_checkbox"
8210
8211 if test "$enableval" = yes; then
8212 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8213 else
8214 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8215 fi
8216
8217 else
8218
8219 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8220 if test "x$LINE" != x ; then
8221 eval "DEFAULT_$LINE"
8222 else
8223 no_cache=1
8224 fi
8225
8226 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8227
8228 fi;
8229
8230 eval "$ac_cv_use_checkbox"
8231 if test "$no_cache" != 1; then
8232 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8233 fi
8234
8235 if test "$wxUSE_CHECKBOX" = yes; then
8236 echo "$as_me:$LINENO: result: yes" >&5
8237 echo "${ECHO_T}yes" >&6
8238 else
8239 echo "$as_me:$LINENO: result: no" >&5
8240 echo "${ECHO_T}no" >&6
8241 fi
8242
8243
8244 enablestring=
8245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8246 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8247 no_cache=0
8248 # Check whether --enable-checklst or --disable-checklst was given.
8249 if test "${enable_checklst+set}" = set; then
8250 enableval="$enable_checklst"
8251
8252 if test "$enableval" = yes; then
8253 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8254 else
8255 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8256 fi
8257
8258 else
8259
8260 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8261 if test "x$LINE" != x ; then
8262 eval "DEFAULT_$LINE"
8263 else
8264 no_cache=1
8265 fi
8266
8267 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8268
8269 fi;
8270
8271 eval "$ac_cv_use_checklst"
8272 if test "$no_cache" != 1; then
8273 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8274 fi
8275
8276 if test "$wxUSE_CHECKLST" = yes; then
8277 echo "$as_me:$LINENO: result: yes" >&5
8278 echo "${ECHO_T}yes" >&6
8279 else
8280 echo "$as_me:$LINENO: result: no" >&5
8281 echo "${ECHO_T}no" >&6
8282 fi
8283
8284
8285 enablestring=
8286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8287 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8288 no_cache=0
8289 # Check whether --enable-choice or --disable-choice was given.
8290 if test "${enable_choice+set}" = set; then
8291 enableval="$enable_choice"
8292
8293 if test "$enableval" = yes; then
8294 ac_cv_use_choice='wxUSE_CHOICE=yes'
8295 else
8296 ac_cv_use_choice='wxUSE_CHOICE=no'
8297 fi
8298
8299 else
8300
8301 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8302 if test "x$LINE" != x ; then
8303 eval "DEFAULT_$LINE"
8304 else
8305 no_cache=1
8306 fi
8307
8308 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8309
8310 fi;
8311
8312 eval "$ac_cv_use_choice"
8313 if test "$no_cache" != 1; then
8314 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8315 fi
8316
8317 if test "$wxUSE_CHOICE" = yes; then
8318 echo "$as_me:$LINENO: result: yes" >&5
8319 echo "${ECHO_T}yes" >&6
8320 else
8321 echo "$as_me:$LINENO: result: no" >&5
8322 echo "${ECHO_T}no" >&6
8323 fi
8324
8325
8326 enablestring=
8327 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8328 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8329 no_cache=0
8330 # Check whether --enable-choicebook or --disable-choicebook was given.
8331 if test "${enable_choicebook+set}" = set; then
8332 enableval="$enable_choicebook"
8333
8334 if test "$enableval" = yes; then
8335 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8336 else
8337 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8338 fi
8339
8340 else
8341
8342 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8343 if test "x$LINE" != x ; then
8344 eval "DEFAULT_$LINE"
8345 else
8346 no_cache=1
8347 fi
8348
8349 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8350
8351 fi;
8352
8353 eval "$ac_cv_use_choicebook"
8354 if test "$no_cache" != 1; then
8355 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8356 fi
8357
8358 if test "$wxUSE_CHOICEBOOK" = yes; then
8359 echo "$as_me:$LINENO: result: yes" >&5
8360 echo "${ECHO_T}yes" >&6
8361 else
8362 echo "$as_me:$LINENO: result: no" >&5
8363 echo "${ECHO_T}no" >&6
8364 fi
8365
8366
8367 enablestring=
8368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8369 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8370 no_cache=0
8371 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8372 if test "${enable_colourpicker+set}" = set; then
8373 enableval="$enable_colourpicker"
8374
8375 if test "$enableval" = yes; then
8376 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8377 else
8378 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8379 fi
8380
8381 else
8382
8383 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8384 if test "x$LINE" != x ; then
8385 eval "DEFAULT_$LINE"
8386 else
8387 no_cache=1
8388 fi
8389
8390 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8391
8392 fi;
8393
8394 eval "$ac_cv_use_colourpicker"
8395 if test "$no_cache" != 1; then
8396 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8397 fi
8398
8399 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8400 echo "$as_me:$LINENO: result: yes" >&5
8401 echo "${ECHO_T}yes" >&6
8402 else
8403 echo "$as_me:$LINENO: result: no" >&5
8404 echo "${ECHO_T}no" >&6
8405 fi
8406
8407
8408 enablestring=
8409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8410 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8411 no_cache=0
8412 # Check whether --enable-combobox or --disable-combobox was given.
8413 if test "${enable_combobox+set}" = set; then
8414 enableval="$enable_combobox"
8415
8416 if test "$enableval" = yes; then
8417 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8418 else
8419 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8420 fi
8421
8422 else
8423
8424 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8425 if test "x$LINE" != x ; then
8426 eval "DEFAULT_$LINE"
8427 else
8428 no_cache=1
8429 fi
8430
8431 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8432
8433 fi;
8434
8435 eval "$ac_cv_use_combobox"
8436 if test "$no_cache" != 1; then
8437 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8438 fi
8439
8440 if test "$wxUSE_COMBOBOX" = yes; then
8441 echo "$as_me:$LINENO: result: yes" >&5
8442 echo "${ECHO_T}yes" >&6
8443 else
8444 echo "$as_me:$LINENO: result: no" >&5
8445 echo "${ECHO_T}no" >&6
8446 fi
8447
8448
8449 enablestring=
8450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8452 no_cache=0
8453 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8454 if test "${enable_comboctrl+set}" = set; then
8455 enableval="$enable_comboctrl"
8456
8457 if test "$enableval" = yes; then
8458 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8459 else
8460 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8461 fi
8462
8463 else
8464
8465 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8466 if test "x$LINE" != x ; then
8467 eval "DEFAULT_$LINE"
8468 else
8469 no_cache=1
8470 fi
8471
8472 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8473
8474 fi;
8475
8476 eval "$ac_cv_use_comboctrl"
8477 if test "$no_cache" != 1; then
8478 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8479 fi
8480
8481 if test "$wxUSE_COMBOCTRL" = yes; then
8482 echo "$as_me:$LINENO: result: yes" >&5
8483 echo "${ECHO_T}yes" >&6
8484 else
8485 echo "$as_me:$LINENO: result: no" >&5
8486 echo "${ECHO_T}no" >&6
8487 fi
8488
8489
8490 enablestring=
8491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8492 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8493 no_cache=0
8494 # Check whether --enable-datepick or --disable-datepick was given.
8495 if test "${enable_datepick+set}" = set; then
8496 enableval="$enable_datepick"
8497
8498 if test "$enableval" = yes; then
8499 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8500 else
8501 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8502 fi
8503
8504 else
8505
8506 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8507 if test "x$LINE" != x ; then
8508 eval "DEFAULT_$LINE"
8509 else
8510 no_cache=1
8511 fi
8512
8513 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8514
8515 fi;
8516
8517 eval "$ac_cv_use_datepick"
8518 if test "$no_cache" != 1; then
8519 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8520 fi
8521
8522 if test "$wxUSE_DATEPICKCTRL" = yes; then
8523 echo "$as_me:$LINENO: result: yes" >&5
8524 echo "${ECHO_T}yes" >&6
8525 else
8526 echo "$as_me:$LINENO: result: no" >&5
8527 echo "${ECHO_T}no" >&6
8528 fi
8529
8530
8531 enablestring=
8532 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8533 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8534 no_cache=0
8535 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8536 if test "${enable_dirpicker+set}" = set; then
8537 enableval="$enable_dirpicker"
8538
8539 if test "$enableval" = yes; then
8540 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8541 else
8542 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8543 fi
8544
8545 else
8546
8547 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8548 if test "x$LINE" != x ; then
8549 eval "DEFAULT_$LINE"
8550 else
8551 no_cache=1
8552 fi
8553
8554 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8555
8556 fi;
8557
8558 eval "$ac_cv_use_dirpicker"
8559 if test "$no_cache" != 1; then
8560 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8561 fi
8562
8563 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8564 echo "$as_me:$LINENO: result: yes" >&5
8565 echo "${ECHO_T}yes" >&6
8566 else
8567 echo "$as_me:$LINENO: result: no" >&5
8568 echo "${ECHO_T}no" >&6
8569 fi
8570
8571
8572 enablestring=
8573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8574 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8575 no_cache=0
8576 # Check whether --enable-display or --disable-display was given.
8577 if test "${enable_display+set}" = set; then
8578 enableval="$enable_display"
8579
8580 if test "$enableval" = yes; then
8581 ac_cv_use_display='wxUSE_DISPLAY=yes'
8582 else
8583 ac_cv_use_display='wxUSE_DISPLAY=no'
8584 fi
8585
8586 else
8587
8588 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8589 if test "x$LINE" != x ; then
8590 eval "DEFAULT_$LINE"
8591 else
8592 no_cache=1
8593 fi
8594
8595 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8596
8597 fi;
8598
8599 eval "$ac_cv_use_display"
8600 if test "$no_cache" != 1; then
8601 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8602 fi
8603
8604 if test "$wxUSE_DISPLAY" = yes; then
8605 echo "$as_me:$LINENO: result: yes" >&5
8606 echo "${ECHO_T}yes" >&6
8607 else
8608 echo "$as_me:$LINENO: result: no" >&5
8609 echo "${ECHO_T}no" >&6
8610 fi
8611
8612
8613 enablestring=
8614 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8615 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8616 no_cache=0
8617 # Check whether --enable-filepicker or --disable-filepicker was given.
8618 if test "${enable_filepicker+set}" = set; then
8619 enableval="$enable_filepicker"
8620
8621 if test "$enableval" = yes; then
8622 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8623 else
8624 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8625 fi
8626
8627 else
8628
8629 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8630 if test "x$LINE" != x ; then
8631 eval "DEFAULT_$LINE"
8632 else
8633 no_cache=1
8634 fi
8635
8636 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8637
8638 fi;
8639
8640 eval "$ac_cv_use_filepicker"
8641 if test "$no_cache" != 1; then
8642 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8643 fi
8644
8645 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8646 echo "$as_me:$LINENO: result: yes" >&5
8647 echo "${ECHO_T}yes" >&6
8648 else
8649 echo "$as_me:$LINENO: result: no" >&5
8650 echo "${ECHO_T}no" >&6
8651 fi
8652
8653
8654 enablestring=
8655 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8656 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8657 no_cache=0
8658 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8659 if test "${enable_fontpicker+set}" = set; then
8660 enableval="$enable_fontpicker"
8661
8662 if test "$enableval" = yes; then
8663 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8664 else
8665 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8666 fi
8667
8668 else
8669
8670 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8671 if test "x$LINE" != x ; then
8672 eval "DEFAULT_$LINE"
8673 else
8674 no_cache=1
8675 fi
8676
8677 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8678
8679 fi;
8680
8681 eval "$ac_cv_use_fontpicker"
8682 if test "$no_cache" != 1; then
8683 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8684 fi
8685
8686 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8687 echo "$as_me:$LINENO: result: yes" >&5
8688 echo "${ECHO_T}yes" >&6
8689 else
8690 echo "$as_me:$LINENO: result: no" >&5
8691 echo "${ECHO_T}no" >&6
8692 fi
8693
8694
8695 enablestring=
8696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8697 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8698 no_cache=0
8699 # Check whether --enable-gauge or --disable-gauge was given.
8700 if test "${enable_gauge+set}" = set; then
8701 enableval="$enable_gauge"
8702
8703 if test "$enableval" = yes; then
8704 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8705 else
8706 ac_cv_use_gauge='wxUSE_GAUGE=no'
8707 fi
8708
8709 else
8710
8711 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8712 if test "x$LINE" != x ; then
8713 eval "DEFAULT_$LINE"
8714 else
8715 no_cache=1
8716 fi
8717
8718 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8719
8720 fi;
8721
8722 eval "$ac_cv_use_gauge"
8723 if test "$no_cache" != 1; then
8724 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8725 fi
8726
8727 if test "$wxUSE_GAUGE" = yes; then
8728 echo "$as_me:$LINENO: result: yes" >&5
8729 echo "${ECHO_T}yes" >&6
8730 else
8731 echo "$as_me:$LINENO: result: no" >&5
8732 echo "${ECHO_T}no" >&6
8733 fi
8734
8735
8736 enablestring=
8737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8738 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8739 no_cache=0
8740 # Check whether --enable-grid or --disable-grid was given.
8741 if test "${enable_grid+set}" = set; then
8742 enableval="$enable_grid"
8743
8744 if test "$enableval" = yes; then
8745 ac_cv_use_grid='wxUSE_GRID=yes'
8746 else
8747 ac_cv_use_grid='wxUSE_GRID=no'
8748 fi
8749
8750 else
8751
8752 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8753 if test "x$LINE" != x ; then
8754 eval "DEFAULT_$LINE"
8755 else
8756 no_cache=1
8757 fi
8758
8759 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8760
8761 fi;
8762
8763 eval "$ac_cv_use_grid"
8764 if test "$no_cache" != 1; then
8765 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8766 fi
8767
8768 if test "$wxUSE_GRID" = yes; then
8769 echo "$as_me:$LINENO: result: yes" >&5
8770 echo "${ECHO_T}yes" >&6
8771 else
8772 echo "$as_me:$LINENO: result: no" >&5
8773 echo "${ECHO_T}no" >&6
8774 fi
8775
8776
8777 enablestring=
8778 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8779 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8780 no_cache=0
8781 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8782 if test "${enable_dataviewctrl+set}" = set; then
8783 enableval="$enable_dataviewctrl"
8784
8785 if test "$enableval" = yes; then
8786 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8787 else
8788 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8789 fi
8790
8791 else
8792
8793 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8794 if test "x$LINE" != x ; then
8795 eval "DEFAULT_$LINE"
8796 else
8797 no_cache=1
8798 fi
8799
8800 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8801
8802 fi;
8803
8804 eval "$ac_cv_use_dataviewctrl"
8805 if test "$no_cache" != 1; then
8806 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8807 fi
8808
8809 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8810 echo "$as_me:$LINENO: result: yes" >&5
8811 echo "${ECHO_T}yes" >&6
8812 else
8813 echo "$as_me:$LINENO: result: no" >&5
8814 echo "${ECHO_T}no" >&6
8815 fi
8816
8817
8818 enablestring=
8819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8820 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8821 no_cache=0
8822 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8823 if test "${enable_hyperlink+set}" = set; then
8824 enableval="$enable_hyperlink"
8825
8826 if test "$enableval" = yes; then
8827 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8828 else
8829 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8830 fi
8831
8832 else
8833
8834 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8835 if test "x$LINE" != x ; then
8836 eval "DEFAULT_$LINE"
8837 else
8838 no_cache=1
8839 fi
8840
8841 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8842
8843 fi;
8844
8845 eval "$ac_cv_use_hyperlink"
8846 if test "$no_cache" != 1; then
8847 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8848 fi
8849
8850 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8851 echo "$as_me:$LINENO: result: yes" >&5
8852 echo "${ECHO_T}yes" >&6
8853 else
8854 echo "$as_me:$LINENO: result: no" >&5
8855 echo "${ECHO_T}no" >&6
8856 fi
8857
8858
8859 enablestring=
8860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8861 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8862 no_cache=0
8863 # Check whether --enable-imaglist or --disable-imaglist was given.
8864 if test "${enable_imaglist+set}" = set; then
8865 enableval="$enable_imaglist"
8866
8867 if test "$enableval" = yes; then
8868 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8869 else
8870 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8871 fi
8872
8873 else
8874
8875 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8876 if test "x$LINE" != x ; then
8877 eval "DEFAULT_$LINE"
8878 else
8879 no_cache=1
8880 fi
8881
8882 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8883
8884 fi;
8885
8886 eval "$ac_cv_use_imaglist"
8887 if test "$no_cache" != 1; then
8888 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8889 fi
8890
8891 if test "$wxUSE_IMAGLIST" = yes; then
8892 echo "$as_me:$LINENO: result: yes" >&5
8893 echo "${ECHO_T}yes" >&6
8894 else
8895 echo "$as_me:$LINENO: result: no" >&5
8896 echo "${ECHO_T}no" >&6
8897 fi
8898
8899
8900 enablestring=
8901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8902 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8903 no_cache=0
8904 # Check whether --enable-listbook or --disable-listbook was given.
8905 if test "${enable_listbook+set}" = set; then
8906 enableval="$enable_listbook"
8907
8908 if test "$enableval" = yes; then
8909 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8910 else
8911 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8912 fi
8913
8914 else
8915
8916 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8917 if test "x$LINE" != x ; then
8918 eval "DEFAULT_$LINE"
8919 else
8920 no_cache=1
8921 fi
8922
8923 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8924
8925 fi;
8926
8927 eval "$ac_cv_use_listbook"
8928 if test "$no_cache" != 1; then
8929 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8930 fi
8931
8932 if test "$wxUSE_LISTBOOK" = yes; then
8933 echo "$as_me:$LINENO: result: yes" >&5
8934 echo "${ECHO_T}yes" >&6
8935 else
8936 echo "$as_me:$LINENO: result: no" >&5
8937 echo "${ECHO_T}no" >&6
8938 fi
8939
8940
8941 enablestring=
8942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8943 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8944 no_cache=0
8945 # Check whether --enable-listbox or --disable-listbox was given.
8946 if test "${enable_listbox+set}" = set; then
8947 enableval="$enable_listbox"
8948
8949 if test "$enableval" = yes; then
8950 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8951 else
8952 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8953 fi
8954
8955 else
8956
8957 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8958 if test "x$LINE" != x ; then
8959 eval "DEFAULT_$LINE"
8960 else
8961 no_cache=1
8962 fi
8963
8964 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8965
8966 fi;
8967
8968 eval "$ac_cv_use_listbox"
8969 if test "$no_cache" != 1; then
8970 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8971 fi
8972
8973 if test "$wxUSE_LISTBOX" = yes; then
8974 echo "$as_me:$LINENO: result: yes" >&5
8975 echo "${ECHO_T}yes" >&6
8976 else
8977 echo "$as_me:$LINENO: result: no" >&5
8978 echo "${ECHO_T}no" >&6
8979 fi
8980
8981
8982 enablestring=
8983 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8984 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8985 no_cache=0
8986 # Check whether --enable-listctrl or --disable-listctrl was given.
8987 if test "${enable_listctrl+set}" = set; then
8988 enableval="$enable_listctrl"
8989
8990 if test "$enableval" = yes; then
8991 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8992 else
8993 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8994 fi
8995
8996 else
8997
8998 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8999 if test "x$LINE" != x ; then
9000 eval "DEFAULT_$LINE"
9001 else
9002 no_cache=1
9003 fi
9004
9005 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9006
9007 fi;
9008
9009 eval "$ac_cv_use_listctrl"
9010 if test "$no_cache" != 1; then
9011 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9012 fi
9013
9014 if test "$wxUSE_LISTCTRL" = yes; then
9015 echo "$as_me:$LINENO: result: yes" >&5
9016 echo "${ECHO_T}yes" >&6
9017 else
9018 echo "$as_me:$LINENO: result: no" >&5
9019 echo "${ECHO_T}no" >&6
9020 fi
9021
9022
9023 enablestring=
9024 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9025 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9026 no_cache=0
9027 # Check whether --enable-notebook or --disable-notebook was given.
9028 if test "${enable_notebook+set}" = set; then
9029 enableval="$enable_notebook"
9030
9031 if test "$enableval" = yes; then
9032 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9033 else
9034 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9035 fi
9036
9037 else
9038
9039 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9040 if test "x$LINE" != x ; then
9041 eval "DEFAULT_$LINE"
9042 else
9043 no_cache=1
9044 fi
9045
9046 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9047
9048 fi;
9049
9050 eval "$ac_cv_use_notebook"
9051 if test "$no_cache" != 1; then
9052 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9053 fi
9054
9055 if test "$wxUSE_NOTEBOOK" = yes; then
9056 echo "$as_me:$LINENO: result: yes" >&5
9057 echo "${ECHO_T}yes" >&6
9058 else
9059 echo "$as_me:$LINENO: result: no" >&5
9060 echo "${ECHO_T}no" >&6
9061 fi
9062
9063
9064 enablestring=
9065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9066 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9067 no_cache=0
9068 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9069 if test "${enable_odcombobox+set}" = set; then
9070 enableval="$enable_odcombobox"
9071
9072 if test "$enableval" = yes; then
9073 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9074 else
9075 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9076 fi
9077
9078 else
9079
9080 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9081 if test "x$LINE" != x ; then
9082 eval "DEFAULT_$LINE"
9083 else
9084 no_cache=1
9085 fi
9086
9087 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9088
9089 fi;
9090
9091 eval "$ac_cv_use_odcombobox"
9092 if test "$no_cache" != 1; then
9093 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9094 fi
9095
9096 if test "$wxUSE_ODCOMBOBOX" = yes; then
9097 echo "$as_me:$LINENO: result: yes" >&5
9098 echo "${ECHO_T}yes" >&6
9099 else
9100 echo "$as_me:$LINENO: result: no" >&5
9101 echo "${ECHO_T}no" >&6
9102 fi
9103
9104
9105 enablestring=
9106 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9107 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9108 no_cache=0
9109 # Check whether --enable-radiobox or --disable-radiobox was given.
9110 if test "${enable_radiobox+set}" = set; then
9111 enableval="$enable_radiobox"
9112
9113 if test "$enableval" = yes; then
9114 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9115 else
9116 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9117 fi
9118
9119 else
9120
9121 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9122 if test "x$LINE" != x ; then
9123 eval "DEFAULT_$LINE"
9124 else
9125 no_cache=1
9126 fi
9127
9128 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9129
9130 fi;
9131
9132 eval "$ac_cv_use_radiobox"
9133 if test "$no_cache" != 1; then
9134 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9135 fi
9136
9137 if test "$wxUSE_RADIOBOX" = yes; then
9138 echo "$as_me:$LINENO: result: yes" >&5
9139 echo "${ECHO_T}yes" >&6
9140 else
9141 echo "$as_me:$LINENO: result: no" >&5
9142 echo "${ECHO_T}no" >&6
9143 fi
9144
9145
9146 enablestring=
9147 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9148 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9149 no_cache=0
9150 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9151 if test "${enable_radiobtn+set}" = set; then
9152 enableval="$enable_radiobtn"
9153
9154 if test "$enableval" = yes; then
9155 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9156 else
9157 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9158 fi
9159
9160 else
9161
9162 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x ; then
9164 eval "DEFAULT_$LINE"
9165 else
9166 no_cache=1
9167 fi
9168
9169 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9170
9171 fi;
9172
9173 eval "$ac_cv_use_radiobtn"
9174 if test "$no_cache" != 1; then
9175 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9176 fi
9177
9178 if test "$wxUSE_RADIOBTN" = yes; then
9179 echo "$as_me:$LINENO: result: yes" >&5
9180 echo "${ECHO_T}yes" >&6
9181 else
9182 echo "$as_me:$LINENO: result: no" >&5
9183 echo "${ECHO_T}no" >&6
9184 fi
9185
9186
9187 enablestring=
9188 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9189 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9190 no_cache=0
9191 # Check whether --enable-sash or --disable-sash was given.
9192 if test "${enable_sash+set}" = set; then
9193 enableval="$enable_sash"
9194
9195 if test "$enableval" = yes; then
9196 ac_cv_use_sash='wxUSE_SASH=yes'
9197 else
9198 ac_cv_use_sash='wxUSE_SASH=no'
9199 fi
9200
9201 else
9202
9203 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9204 if test "x$LINE" != x ; then
9205 eval "DEFAULT_$LINE"
9206 else
9207 no_cache=1
9208 fi
9209
9210 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9211
9212 fi;
9213
9214 eval "$ac_cv_use_sash"
9215 if test "$no_cache" != 1; then
9216 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9217 fi
9218
9219 if test "$wxUSE_SASH" = yes; then
9220 echo "$as_me:$LINENO: result: yes" >&5
9221 echo "${ECHO_T}yes" >&6
9222 else
9223 echo "$as_me:$LINENO: result: no" >&5
9224 echo "${ECHO_T}no" >&6
9225 fi
9226
9227
9228 enablestring=
9229 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9230 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9231 no_cache=0
9232 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9233 if test "${enable_scrollbar+set}" = set; then
9234 enableval="$enable_scrollbar"
9235
9236 if test "$enableval" = yes; then
9237 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9238 else
9239 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9240 fi
9241
9242 else
9243
9244 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9245 if test "x$LINE" != x ; then
9246 eval "DEFAULT_$LINE"
9247 else
9248 no_cache=1
9249 fi
9250
9251 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9252
9253 fi;
9254
9255 eval "$ac_cv_use_scrollbar"
9256 if test "$no_cache" != 1; then
9257 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9258 fi
9259
9260 if test "$wxUSE_SCROLLBAR" = yes; then
9261 echo "$as_me:$LINENO: result: yes" >&5
9262 echo "${ECHO_T}yes" >&6
9263 else
9264 echo "$as_me:$LINENO: result: no" >&5
9265 echo "${ECHO_T}no" >&6
9266 fi
9267
9268
9269 enablestring=
9270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9271 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9272 no_cache=0
9273 # Check whether --enable-slider or --disable-slider was given.
9274 if test "${enable_slider+set}" = set; then
9275 enableval="$enable_slider"
9276
9277 if test "$enableval" = yes; then
9278 ac_cv_use_slider='wxUSE_SLIDER=yes'
9279 else
9280 ac_cv_use_slider='wxUSE_SLIDER=no'
9281 fi
9282
9283 else
9284
9285 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9286 if test "x$LINE" != x ; then
9287 eval "DEFAULT_$LINE"
9288 else
9289 no_cache=1
9290 fi
9291
9292 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9293
9294 fi;
9295
9296 eval "$ac_cv_use_slider"
9297 if test "$no_cache" != 1; then
9298 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9299 fi
9300
9301 if test "$wxUSE_SLIDER" = yes; then
9302 echo "$as_me:$LINENO: result: yes" >&5
9303 echo "${ECHO_T}yes" >&6
9304 else
9305 echo "$as_me:$LINENO: result: no" >&5
9306 echo "${ECHO_T}no" >&6
9307 fi
9308
9309
9310 enablestring=
9311 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9312 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9313 no_cache=0
9314 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9315 if test "${enable_spinbtn+set}" = set; then
9316 enableval="$enable_spinbtn"
9317
9318 if test "$enableval" = yes; then
9319 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9320 else
9321 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9322 fi
9323
9324 else
9325
9326 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9327 if test "x$LINE" != x ; then
9328 eval "DEFAULT_$LINE"
9329 else
9330 no_cache=1
9331 fi
9332
9333 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9334
9335 fi;
9336
9337 eval "$ac_cv_use_spinbtn"
9338 if test "$no_cache" != 1; then
9339 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9340 fi
9341
9342 if test "$wxUSE_SPINBTN" = yes; then
9343 echo "$as_me:$LINENO: result: yes" >&5
9344 echo "${ECHO_T}yes" >&6
9345 else
9346 echo "$as_me:$LINENO: result: no" >&5
9347 echo "${ECHO_T}no" >&6
9348 fi
9349
9350
9351 enablestring=
9352 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9353 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9354 no_cache=0
9355 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9356 if test "${enable_spinctrl+set}" = set; then
9357 enableval="$enable_spinctrl"
9358
9359 if test "$enableval" = yes; then
9360 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9361 else
9362 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9363 fi
9364
9365 else
9366
9367 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9368 if test "x$LINE" != x ; then
9369 eval "DEFAULT_$LINE"
9370 else
9371 no_cache=1
9372 fi
9373
9374 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9375
9376 fi;
9377
9378 eval "$ac_cv_use_spinctrl"
9379 if test "$no_cache" != 1; then
9380 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9381 fi
9382
9383 if test "$wxUSE_SPINCTRL" = yes; then
9384 echo "$as_me:$LINENO: result: yes" >&5
9385 echo "${ECHO_T}yes" >&6
9386 else
9387 echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6
9389 fi
9390
9391
9392 enablestring=
9393 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9394 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9395 no_cache=0
9396 # Check whether --enable-splitter or --disable-splitter was given.
9397 if test "${enable_splitter+set}" = set; then
9398 enableval="$enable_splitter"
9399
9400 if test "$enableval" = yes; then
9401 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9402 else
9403 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9404 fi
9405
9406 else
9407
9408 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9409 if test "x$LINE" != x ; then
9410 eval "DEFAULT_$LINE"
9411 else
9412 no_cache=1
9413 fi
9414
9415 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9416
9417 fi;
9418
9419 eval "$ac_cv_use_splitter"
9420 if test "$no_cache" != 1; then
9421 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9422 fi
9423
9424 if test "$wxUSE_SPLITTER" = yes; then
9425 echo "$as_me:$LINENO: result: yes" >&5
9426 echo "${ECHO_T}yes" >&6
9427 else
9428 echo "$as_me:$LINENO: result: no" >&5
9429 echo "${ECHO_T}no" >&6
9430 fi
9431
9432
9433 enablestring=
9434 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9435 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9436 no_cache=0
9437 # Check whether --enable-statbmp or --disable-statbmp was given.
9438 if test "${enable_statbmp+set}" = set; then
9439 enableval="$enable_statbmp"
9440
9441 if test "$enableval" = yes; then
9442 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9443 else
9444 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9445 fi
9446
9447 else
9448
9449 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9450 if test "x$LINE" != x ; then
9451 eval "DEFAULT_$LINE"
9452 else
9453 no_cache=1
9454 fi
9455
9456 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9457
9458 fi;
9459
9460 eval "$ac_cv_use_statbmp"
9461 if test "$no_cache" != 1; then
9462 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9463 fi
9464
9465 if test "$wxUSE_STATBMP" = yes; then
9466 echo "$as_me:$LINENO: result: yes" >&5
9467 echo "${ECHO_T}yes" >&6
9468 else
9469 echo "$as_me:$LINENO: result: no" >&5
9470 echo "${ECHO_T}no" >&6
9471 fi
9472
9473
9474 enablestring=
9475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9476 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9477 no_cache=0
9478 # Check whether --enable-statbox or --disable-statbox was given.
9479 if test "${enable_statbox+set}" = set; then
9480 enableval="$enable_statbox"
9481
9482 if test "$enableval" = yes; then
9483 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9484 else
9485 ac_cv_use_statbox='wxUSE_STATBOX=no'
9486 fi
9487
9488 else
9489
9490 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9491 if test "x$LINE" != x ; then
9492 eval "DEFAULT_$LINE"
9493 else
9494 no_cache=1
9495 fi
9496
9497 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9498
9499 fi;
9500
9501 eval "$ac_cv_use_statbox"
9502 if test "$no_cache" != 1; then
9503 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9504 fi
9505
9506 if test "$wxUSE_STATBOX" = yes; then
9507 echo "$as_me:$LINENO: result: yes" >&5
9508 echo "${ECHO_T}yes" >&6
9509 else
9510 echo "$as_me:$LINENO: result: no" >&5
9511 echo "${ECHO_T}no" >&6
9512 fi
9513
9514
9515 enablestring=
9516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9517 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9518 no_cache=0
9519 # Check whether --enable-statline or --disable-statline was given.
9520 if test "${enable_statline+set}" = set; then
9521 enableval="$enable_statline"
9522
9523 if test "$enableval" = yes; then
9524 ac_cv_use_statline='wxUSE_STATLINE=yes'
9525 else
9526 ac_cv_use_statline='wxUSE_STATLINE=no'
9527 fi
9528
9529 else
9530
9531 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9532 if test "x$LINE" != x ; then
9533 eval "DEFAULT_$LINE"
9534 else
9535 no_cache=1
9536 fi
9537
9538 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9539
9540 fi;
9541
9542 eval "$ac_cv_use_statline"
9543 if test "$no_cache" != 1; then
9544 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9545 fi
9546
9547 if test "$wxUSE_STATLINE" = yes; then
9548 echo "$as_me:$LINENO: result: yes" >&5
9549 echo "${ECHO_T}yes" >&6
9550 else
9551 echo "$as_me:$LINENO: result: no" >&5
9552 echo "${ECHO_T}no" >&6
9553 fi
9554
9555
9556 enablestring=
9557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9558 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9559 no_cache=0
9560 # Check whether --enable-stattext or --disable-stattext was given.
9561 if test "${enable_stattext+set}" = set; then
9562 enableval="$enable_stattext"
9563
9564 if test "$enableval" = yes; then
9565 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9566 else
9567 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9568 fi
9569
9570 else
9571
9572 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9573 if test "x$LINE" != x ; then
9574 eval "DEFAULT_$LINE"
9575 else
9576 no_cache=1
9577 fi
9578
9579 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9580
9581 fi;
9582
9583 eval "$ac_cv_use_stattext"
9584 if test "$no_cache" != 1; then
9585 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9586 fi
9587
9588 if test "$wxUSE_STATTEXT" = yes; then
9589 echo "$as_me:$LINENO: result: yes" >&5
9590 echo "${ECHO_T}yes" >&6
9591 else
9592 echo "$as_me:$LINENO: result: no" >&5
9593 echo "${ECHO_T}no" >&6
9594 fi
9595
9596
9597 enablestring=
9598 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9599 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9600 no_cache=0
9601 # Check whether --enable-statusbar or --disable-statusbar was given.
9602 if test "${enable_statusbar+set}" = set; then
9603 enableval="$enable_statusbar"
9604
9605 if test "$enableval" = yes; then
9606 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9607 else
9608 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9609 fi
9610
9611 else
9612
9613 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9614 if test "x$LINE" != x ; then
9615 eval "DEFAULT_$LINE"
9616 else
9617 no_cache=1
9618 fi
9619
9620 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9621
9622 fi;
9623
9624 eval "$ac_cv_use_statusbar"
9625 if test "$no_cache" != 1; then
9626 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9627 fi
9628
9629 if test "$wxUSE_STATUSBAR" = yes; then
9630 echo "$as_me:$LINENO: result: yes" >&5
9631 echo "${ECHO_T}yes" >&6
9632 else
9633 echo "$as_me:$LINENO: result: no" >&5
9634 echo "${ECHO_T}no" >&6
9635 fi
9636
9637
9638 enablestring=
9639 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9640 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9641 no_cache=0
9642 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9643 if test "${enable_tabdialog+set}" = set; then
9644 enableval="$enable_tabdialog"
9645
9646 if test "$enableval" = yes; then
9647 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9648 else
9649 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9650 fi
9651
9652 else
9653
9654 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9655 if test "x$LINE" != x ; then
9656 eval "DEFAULT_$LINE"
9657 else
9658 no_cache=1
9659 fi
9660
9661 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9662
9663 fi;
9664
9665 eval "$ac_cv_use_tabdialog"
9666 if test "$no_cache" != 1; then
9667 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9668 fi
9669
9670 if test "$wxUSE_TAB_DIALOG" = yes; then
9671 echo "$as_me:$LINENO: result: yes" >&5
9672 echo "${ECHO_T}yes" >&6
9673 else
9674 echo "$as_me:$LINENO: result: no" >&5
9675 echo "${ECHO_T}no" >&6
9676 fi
9677
9678
9679 enablestring=
9680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9681 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9682 no_cache=0
9683 # Check whether --enable-textctrl or --disable-textctrl was given.
9684 if test "${enable_textctrl+set}" = set; then
9685 enableval="$enable_textctrl"
9686
9687 if test "$enableval" = yes; then
9688 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9689 else
9690 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9691 fi
9692
9693 else
9694
9695 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9696 if test "x$LINE" != x ; then
9697 eval "DEFAULT_$LINE"
9698 else
9699 no_cache=1
9700 fi
9701
9702 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9703
9704 fi;
9705
9706 eval "$ac_cv_use_textctrl"
9707 if test "$no_cache" != 1; then
9708 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9709 fi
9710
9711 if test "$wxUSE_TEXTCTRL" = yes; then
9712 echo "$as_me:$LINENO: result: yes" >&5
9713 echo "${ECHO_T}yes" >&6
9714 else
9715 echo "$as_me:$LINENO: result: no" >&5
9716 echo "${ECHO_T}no" >&6
9717 fi
9718
9719
9720 enablestring=
9721 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9722 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9723 no_cache=0
9724 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9725 if test "${enable_togglebtn+set}" = set; then
9726 enableval="$enable_togglebtn"
9727
9728 if test "$enableval" = yes; then
9729 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9730 else
9731 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9732 fi
9733
9734 else
9735
9736 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9737 if test "x$LINE" != x ; then
9738 eval "DEFAULT_$LINE"
9739 else
9740 no_cache=1
9741 fi
9742
9743 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9744
9745 fi;
9746
9747 eval "$ac_cv_use_togglebtn"
9748 if test "$no_cache" != 1; then
9749 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9750 fi
9751
9752 if test "$wxUSE_TOGGLEBTN" = yes; then
9753 echo "$as_me:$LINENO: result: yes" >&5
9754 echo "${ECHO_T}yes" >&6
9755 else
9756 echo "$as_me:$LINENO: result: no" >&5
9757 echo "${ECHO_T}no" >&6
9758 fi
9759
9760
9761 enablestring=
9762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9764 no_cache=0
9765 # Check whether --enable-toolbar or --disable-toolbar was given.
9766 if test "${enable_toolbar+set}" = set; then
9767 enableval="$enable_toolbar"
9768
9769 if test "$enableval" = yes; then
9770 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9771 else
9772 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9773 fi
9774
9775 else
9776
9777 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9778 if test "x$LINE" != x ; then
9779 eval "DEFAULT_$LINE"
9780 else
9781 no_cache=1
9782 fi
9783
9784 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9785
9786 fi;
9787
9788 eval "$ac_cv_use_toolbar"
9789 if test "$no_cache" != 1; then
9790 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9791 fi
9792
9793 if test "$wxUSE_TOOLBAR" = yes; then
9794 echo "$as_me:$LINENO: result: yes" >&5
9795 echo "${ECHO_T}yes" >&6
9796 else
9797 echo "$as_me:$LINENO: result: no" >&5
9798 echo "${ECHO_T}no" >&6
9799 fi
9800
9801
9802 enablestring=
9803 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9804 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9805 no_cache=0
9806 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9807 if test "${enable_tbarnative+set}" = set; then
9808 enableval="$enable_tbarnative"
9809
9810 if test "$enableval" = yes; then
9811 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9812 else
9813 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9814 fi
9815
9816 else
9817
9818 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9819 if test "x$LINE" != x ; then
9820 eval "DEFAULT_$LINE"
9821 else
9822 no_cache=1
9823 fi
9824
9825 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9826
9827 fi;
9828
9829 eval "$ac_cv_use_tbarnative"
9830 if test "$no_cache" != 1; then
9831 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9832 fi
9833
9834 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9835 echo "$as_me:$LINENO: result: yes" >&5
9836 echo "${ECHO_T}yes" >&6
9837 else
9838 echo "$as_me:$LINENO: result: no" >&5
9839 echo "${ECHO_T}no" >&6
9840 fi
9841
9842
9843 enablestring=
9844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9845 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9846 no_cache=0
9847 # Check whether --enable-treebook or --disable-treebook was given.
9848 if test "${enable_treebook+set}" = set; then
9849 enableval="$enable_treebook"
9850
9851 if test "$enableval" = yes; then
9852 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9853 else
9854 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9855 fi
9856
9857 else
9858
9859 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9860 if test "x$LINE" != x ; then
9861 eval "DEFAULT_$LINE"
9862 else
9863 no_cache=1
9864 fi
9865
9866 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9867
9868 fi;
9869
9870 eval "$ac_cv_use_treebook"
9871 if test "$no_cache" != 1; then
9872 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9873 fi
9874
9875 if test "$wxUSE_TREEBOOK" = yes; then
9876 echo "$as_me:$LINENO: result: yes" >&5
9877 echo "${ECHO_T}yes" >&6
9878 else
9879 echo "$as_me:$LINENO: result: no" >&5
9880 echo "${ECHO_T}no" >&6
9881 fi
9882
9883
9884 enablestring=
9885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9887 no_cache=0
9888 # Check whether --enable-toolbook or --disable-toolbook was given.
9889 if test "${enable_toolbook+set}" = set; then
9890 enableval="$enable_toolbook"
9891
9892 if test "$enableval" = yes; then
9893 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9894 else
9895 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9896 fi
9897
9898 else
9899
9900 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9901 if test "x$LINE" != x ; then
9902 eval "DEFAULT_$LINE"
9903 else
9904 no_cache=1
9905 fi
9906
9907 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9908
9909 fi;
9910
9911 eval "$ac_cv_use_toolbook"
9912 if test "$no_cache" != 1; then
9913 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9914 fi
9915
9916 if test "$wxUSE_TOOLBOOK" = yes; then
9917 echo "$as_me:$LINENO: result: yes" >&5
9918 echo "${ECHO_T}yes" >&6
9919 else
9920 echo "$as_me:$LINENO: result: no" >&5
9921 echo "${ECHO_T}no" >&6
9922 fi
9923
9924
9925 enablestring=
9926 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9927 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9928 no_cache=0
9929 # Check whether --enable-treectrl or --disable-treectrl was given.
9930 if test "${enable_treectrl+set}" = set; then
9931 enableval="$enable_treectrl"
9932
9933 if test "$enableval" = yes; then
9934 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9935 else
9936 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9937 fi
9938
9939 else
9940
9941 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9942 if test "x$LINE" != x ; then
9943 eval "DEFAULT_$LINE"
9944 else
9945 no_cache=1
9946 fi
9947
9948 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9949
9950 fi;
9951
9952 eval "$ac_cv_use_treectrl"
9953 if test "$no_cache" != 1; then
9954 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9955 fi
9956
9957 if test "$wxUSE_TREECTRL" = yes; then
9958 echo "$as_me:$LINENO: result: yes" >&5
9959 echo "${ECHO_T}yes" >&6
9960 else
9961 echo "$as_me:$LINENO: result: no" >&5
9962 echo "${ECHO_T}no" >&6
9963 fi
9964
9965
9966 enablestring=
9967 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9968 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9969 no_cache=0
9970 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9971 if test "${enable_tipwindow+set}" = set; then
9972 enableval="$enable_tipwindow"
9973
9974 if test "$enableval" = yes; then
9975 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9976 else
9977 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9978 fi
9979
9980 else
9981
9982 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9983 if test "x$LINE" != x ; then
9984 eval "DEFAULT_$LINE"
9985 else
9986 no_cache=1
9987 fi
9988
9989 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9990
9991 fi;
9992
9993 eval "$ac_cv_use_tipwindow"
9994 if test "$no_cache" != 1; then
9995 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9996 fi
9997
9998 if test "$wxUSE_TIPWINDOW" = yes; then
9999 echo "$as_me:$LINENO: result: yes" >&5
10000 echo "${ECHO_T}yes" >&6
10001 else
10002 echo "$as_me:$LINENO: result: no" >&5
10003 echo "${ECHO_T}no" >&6
10004 fi
10005
10006
10007 enablestring=
10008 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10009 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10010 no_cache=0
10011 # Check whether --enable-popupwin or --disable-popupwin was given.
10012 if test "${enable_popupwin+set}" = set; then
10013 enableval="$enable_popupwin"
10014
10015 if test "$enableval" = yes; then
10016 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10017 else
10018 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10019 fi
10020
10021 else
10022
10023 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10024 if test "x$LINE" != x ; then
10025 eval "DEFAULT_$LINE"
10026 else
10027 no_cache=1
10028 fi
10029
10030 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10031
10032 fi;
10033
10034 eval "$ac_cv_use_popupwin"
10035 if test "$no_cache" != 1; then
10036 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10037 fi
10038
10039 if test "$wxUSE_POPUPWIN" = yes; then
10040 echo "$as_me:$LINENO: result: yes" >&5
10041 echo "${ECHO_T}yes" >&6
10042 else
10043 echo "$as_me:$LINENO: result: no" >&5
10044 echo "${ECHO_T}no" >&6
10045 fi
10046
10047
10048
10049
10050 enablestring=
10051 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10052 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10053 no_cache=0
10054 # Check whether --enable-commondlg or --disable-commondlg was given.
10055 if test "${enable_commondlg+set}" = set; then
10056 enableval="$enable_commondlg"
10057
10058 if test "$enableval" = yes; then
10059 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10060 else
10061 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10062 fi
10063
10064 else
10065
10066 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10067 if test "x$LINE" != x ; then
10068 eval "DEFAULT_$LINE"
10069 else
10070 no_cache=1
10071 fi
10072
10073 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10074
10075 fi;
10076
10077 eval "$ac_cv_use_commondlg"
10078 if test "$no_cache" != 1; then
10079 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10080 fi
10081
10082 if test "$wxUSE_COMMONDLGS" = yes; then
10083 echo "$as_me:$LINENO: result: yes" >&5
10084 echo "${ECHO_T}yes" >&6
10085 else
10086 echo "$as_me:$LINENO: result: no" >&5
10087 echo "${ECHO_T}no" >&6
10088 fi
10089
10090
10091 enablestring=
10092 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10093 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10094 no_cache=0
10095 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10096 if test "${enable_aboutdlg+set}" = set; then
10097 enableval="$enable_aboutdlg"
10098
10099 if test "$enableval" = yes; then
10100 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10101 else
10102 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10103 fi
10104
10105 else
10106
10107 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10108 if test "x$LINE" != x ; then
10109 eval "DEFAULT_$LINE"
10110 else
10111 no_cache=1
10112 fi
10113
10114 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10115
10116 fi;
10117
10118 eval "$ac_cv_use_aboutdlg"
10119 if test "$no_cache" != 1; then
10120 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10121 fi
10122
10123 if test "$wxUSE_ABOUTDLG" = yes; then
10124 echo "$as_me:$LINENO: result: yes" >&5
10125 echo "${ECHO_T}yes" >&6
10126 else
10127 echo "$as_me:$LINENO: result: no" >&5
10128 echo "${ECHO_T}no" >&6
10129 fi
10130
10131
10132 enablestring=
10133 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10134 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10135 no_cache=0
10136 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10137 if test "${enable_choicedlg+set}" = set; then
10138 enableval="$enable_choicedlg"
10139
10140 if test "$enableval" = yes; then
10141 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10142 else
10143 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10144 fi
10145
10146 else
10147
10148 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10149 if test "x$LINE" != x ; then
10150 eval "DEFAULT_$LINE"
10151 else
10152 no_cache=1
10153 fi
10154
10155 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10156
10157 fi;
10158
10159 eval "$ac_cv_use_choicedlg"
10160 if test "$no_cache" != 1; then
10161 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10162 fi
10163
10164 if test "$wxUSE_CHOICEDLG" = yes; then
10165 echo "$as_me:$LINENO: result: yes" >&5
10166 echo "${ECHO_T}yes" >&6
10167 else
10168 echo "$as_me:$LINENO: result: no" >&5
10169 echo "${ECHO_T}no" >&6
10170 fi
10171
10172
10173 enablestring=
10174 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10175 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10176 no_cache=0
10177 # Check whether --enable-coldlg or --disable-coldlg was given.
10178 if test "${enable_coldlg+set}" = set; then
10179 enableval="$enable_coldlg"
10180
10181 if test "$enableval" = yes; then
10182 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10183 else
10184 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10185 fi
10186
10187 else
10188
10189 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10190 if test "x$LINE" != x ; then
10191 eval "DEFAULT_$LINE"
10192 else
10193 no_cache=1
10194 fi
10195
10196 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10197
10198 fi;
10199
10200 eval "$ac_cv_use_coldlg"
10201 if test "$no_cache" != 1; then
10202 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10203 fi
10204
10205 if test "$wxUSE_COLOURDLG" = yes; then
10206 echo "$as_me:$LINENO: result: yes" >&5
10207 echo "${ECHO_T}yes" >&6
10208 else
10209 echo "$as_me:$LINENO: result: no" >&5
10210 echo "${ECHO_T}no" >&6
10211 fi
10212
10213
10214 enablestring=
10215 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10216 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10217 no_cache=0
10218 # Check whether --enable-filedlg or --disable-filedlg was given.
10219 if test "${enable_filedlg+set}" = set; then
10220 enableval="$enable_filedlg"
10221
10222 if test "$enableval" = yes; then
10223 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10224 else
10225 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10226 fi
10227
10228 else
10229
10230 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10231 if test "x$LINE" != x ; then
10232 eval "DEFAULT_$LINE"
10233 else
10234 no_cache=1
10235 fi
10236
10237 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10238
10239 fi;
10240
10241 eval "$ac_cv_use_filedlg"
10242 if test "$no_cache" != 1; then
10243 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10244 fi
10245
10246 if test "$wxUSE_FILEDLG" = yes; then
10247 echo "$as_me:$LINENO: result: yes" >&5
10248 echo "${ECHO_T}yes" >&6
10249 else
10250 echo "$as_me:$LINENO: result: no" >&5
10251 echo "${ECHO_T}no" >&6
10252 fi
10253
10254
10255 enablestring=
10256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10257 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10258 no_cache=0
10259 # Check whether --enable-finddlg or --disable-finddlg was given.
10260 if test "${enable_finddlg+set}" = set; then
10261 enableval="$enable_finddlg"
10262
10263 if test "$enableval" = yes; then
10264 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10265 else
10266 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10267 fi
10268
10269 else
10270
10271 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10272 if test "x$LINE" != x ; then
10273 eval "DEFAULT_$LINE"
10274 else
10275 no_cache=1
10276 fi
10277
10278 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10279
10280 fi;
10281
10282 eval "$ac_cv_use_finddlg"
10283 if test "$no_cache" != 1; then
10284 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10285 fi
10286
10287 if test "$wxUSE_FINDREPLDLG" = yes; then
10288 echo "$as_me:$LINENO: result: yes" >&5
10289 echo "${ECHO_T}yes" >&6
10290 else
10291 echo "$as_me:$LINENO: result: no" >&5
10292 echo "${ECHO_T}no" >&6
10293 fi
10294
10295
10296 enablestring=
10297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10298 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10299 no_cache=0
10300 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10301 if test "${enable_fontdlg+set}" = set; then
10302 enableval="$enable_fontdlg"
10303
10304 if test "$enableval" = yes; then
10305 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10306 else
10307 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10308 fi
10309
10310 else
10311
10312 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10313 if test "x$LINE" != x ; then
10314 eval "DEFAULT_$LINE"
10315 else
10316 no_cache=1
10317 fi
10318
10319 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10320
10321 fi;
10322
10323 eval "$ac_cv_use_fontdlg"
10324 if test "$no_cache" != 1; then
10325 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10326 fi
10327
10328 if test "$wxUSE_FONTDLG" = yes; then
10329 echo "$as_me:$LINENO: result: yes" >&5
10330 echo "${ECHO_T}yes" >&6
10331 else
10332 echo "$as_me:$LINENO: result: no" >&5
10333 echo "${ECHO_T}no" >&6
10334 fi
10335
10336
10337 enablestring=
10338 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10339 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10340 no_cache=0
10341 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10342 if test "${enable_dirdlg+set}" = set; then
10343 enableval="$enable_dirdlg"
10344
10345 if test "$enableval" = yes; then
10346 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10347 else
10348 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10349 fi
10350
10351 else
10352
10353 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10354 if test "x$LINE" != x ; then
10355 eval "DEFAULT_$LINE"
10356 else
10357 no_cache=1
10358 fi
10359
10360 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10361
10362 fi;
10363
10364 eval "$ac_cv_use_dirdlg"
10365 if test "$no_cache" != 1; then
10366 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10367 fi
10368
10369 if test "$wxUSE_DIRDLG" = yes; then
10370 echo "$as_me:$LINENO: result: yes" >&5
10371 echo "${ECHO_T}yes" >&6
10372 else
10373 echo "$as_me:$LINENO: result: no" >&5
10374 echo "${ECHO_T}no" >&6
10375 fi
10376
10377
10378 enablestring=
10379 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10380 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10381 no_cache=0
10382 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10383 if test "${enable_msgdlg+set}" = set; then
10384 enableval="$enable_msgdlg"
10385
10386 if test "$enableval" = yes; then
10387 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10388 else
10389 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10390 fi
10391
10392 else
10393
10394 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10395 if test "x$LINE" != x ; then
10396 eval "DEFAULT_$LINE"
10397 else
10398 no_cache=1
10399 fi
10400
10401 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10402
10403 fi;
10404
10405 eval "$ac_cv_use_msgdlg"
10406 if test "$no_cache" != 1; then
10407 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10408 fi
10409
10410 if test "$wxUSE_MSGDLG" = yes; then
10411 echo "$as_me:$LINENO: result: yes" >&5
10412 echo "${ECHO_T}yes" >&6
10413 else
10414 echo "$as_me:$LINENO: result: no" >&5
10415 echo "${ECHO_T}no" >&6
10416 fi
10417
10418
10419 enablestring=
10420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10421 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10422 no_cache=0
10423 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10424 if test "${enable_numberdlg+set}" = set; then
10425 enableval="$enable_numberdlg"
10426
10427 if test "$enableval" = yes; then
10428 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10429 else
10430 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10431 fi
10432
10433 else
10434
10435 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10436 if test "x$LINE" != x ; then
10437 eval "DEFAULT_$LINE"
10438 else
10439 no_cache=1
10440 fi
10441
10442 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10443
10444 fi;
10445
10446 eval "$ac_cv_use_numberdlg"
10447 if test "$no_cache" != 1; then
10448 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10449 fi
10450
10451 if test "$wxUSE_NUMBERDLG" = yes; then
10452 echo "$as_me:$LINENO: result: yes" >&5
10453 echo "${ECHO_T}yes" >&6
10454 else
10455 echo "$as_me:$LINENO: result: no" >&5
10456 echo "${ECHO_T}no" >&6
10457 fi
10458
10459
10460 enablestring=
10461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10462 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10463 no_cache=0
10464 # Check whether --enable-splash or --disable-splash was given.
10465 if test "${enable_splash+set}" = set; then
10466 enableval="$enable_splash"
10467
10468 if test "$enableval" = yes; then
10469 ac_cv_use_splash='wxUSE_SPLASH=yes'
10470 else
10471 ac_cv_use_splash='wxUSE_SPLASH=no'
10472 fi
10473
10474 else
10475
10476 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10477 if test "x$LINE" != x ; then
10478 eval "DEFAULT_$LINE"
10479 else
10480 no_cache=1
10481 fi
10482
10483 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10484
10485 fi;
10486
10487 eval "$ac_cv_use_splash"
10488 if test "$no_cache" != 1; then
10489 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10490 fi
10491
10492 if test "$wxUSE_SPLASH" = yes; then
10493 echo "$as_me:$LINENO: result: yes" >&5
10494 echo "${ECHO_T}yes" >&6
10495 else
10496 echo "$as_me:$LINENO: result: no" >&5
10497 echo "${ECHO_T}no" >&6
10498 fi
10499
10500
10501 enablestring=
10502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10503 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10504 no_cache=0
10505 # Check whether --enable-textdlg or --disable-textdlg was given.
10506 if test "${enable_textdlg+set}" = set; then
10507 enableval="$enable_textdlg"
10508
10509 if test "$enableval" = yes; then
10510 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10511 else
10512 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10513 fi
10514
10515 else
10516
10517 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10518 if test "x$LINE" != x ; then
10519 eval "DEFAULT_$LINE"
10520 else
10521 no_cache=1
10522 fi
10523
10524 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10525
10526 fi;
10527
10528 eval "$ac_cv_use_textdlg"
10529 if test "$no_cache" != 1; then
10530 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10531 fi
10532
10533 if test "$wxUSE_TEXTDLG" = yes; then
10534 echo "$as_me:$LINENO: result: yes" >&5
10535 echo "${ECHO_T}yes" >&6
10536 else
10537 echo "$as_me:$LINENO: result: no" >&5
10538 echo "${ECHO_T}no" >&6
10539 fi
10540
10541
10542 enablestring=
10543 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10544 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10545 no_cache=0
10546 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10547 if test "${enable_tipdlg+set}" = set; then
10548 enableval="$enable_tipdlg"
10549
10550 if test "$enableval" = yes; then
10551 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10552 else
10553 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10554 fi
10555
10556 else
10557
10558 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10559 if test "x$LINE" != x ; then
10560 eval "DEFAULT_$LINE"
10561 else
10562 no_cache=1
10563 fi
10564
10565 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10566
10567 fi;
10568
10569 eval "$ac_cv_use_tipdlg"
10570 if test "$no_cache" != 1; then
10571 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10572 fi
10573
10574 if test "$wxUSE_STARTUP_TIPS" = yes; then
10575 echo "$as_me:$LINENO: result: yes" >&5
10576 echo "${ECHO_T}yes" >&6
10577 else
10578 echo "$as_me:$LINENO: result: no" >&5
10579 echo "${ECHO_T}no" >&6
10580 fi
10581
10582
10583 enablestring=
10584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10585 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10586 no_cache=0
10587 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10588 if test "${enable_progressdlg+set}" = set; then
10589 enableval="$enable_progressdlg"
10590
10591 if test "$enableval" = yes; then
10592 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10593 else
10594 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10595 fi
10596
10597 else
10598
10599 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10600 if test "x$LINE" != x ; then
10601 eval "DEFAULT_$LINE"
10602 else
10603 no_cache=1
10604 fi
10605
10606 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10607
10608 fi;
10609
10610 eval "$ac_cv_use_progressdlg"
10611 if test "$no_cache" != 1; then
10612 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10613 fi
10614
10615 if test "$wxUSE_PROGRESSDLG" = yes; then
10616 echo "$as_me:$LINENO: result: yes" >&5
10617 echo "${ECHO_T}yes" >&6
10618 else
10619 echo "$as_me:$LINENO: result: no" >&5
10620 echo "${ECHO_T}no" >&6
10621 fi
10622
10623
10624 enablestring=
10625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10626 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10627 no_cache=0
10628 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10629 if test "${enable_wizarddlg+set}" = set; then
10630 enableval="$enable_wizarddlg"
10631
10632 if test "$enableval" = yes; then
10633 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10634 else
10635 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10636 fi
10637
10638 else
10639
10640 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10641 if test "x$LINE" != x ; then
10642 eval "DEFAULT_$LINE"
10643 else
10644 no_cache=1
10645 fi
10646
10647 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10648
10649 fi;
10650
10651 eval "$ac_cv_use_wizarddlg"
10652 if test "$no_cache" != 1; then
10653 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10654 fi
10655
10656 if test "$wxUSE_WIZARDDLG" = yes; then
10657 echo "$as_me:$LINENO: result: yes" >&5
10658 echo "${ECHO_T}yes" >&6
10659 else
10660 echo "$as_me:$LINENO: result: no" >&5
10661 echo "${ECHO_T}no" >&6
10662 fi
10663
10664
10665
10666
10667 enablestring=
10668 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10669 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10670 no_cache=0
10671 # Check whether --enable-menus or --disable-menus was given.
10672 if test "${enable_menus+set}" = set; then
10673 enableval="$enable_menus"
10674
10675 if test "$enableval" = yes; then
10676 ac_cv_use_menus='wxUSE_MENUS=yes'
10677 else
10678 ac_cv_use_menus='wxUSE_MENUS=no'
10679 fi
10680
10681 else
10682
10683 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10684 if test "x$LINE" != x ; then
10685 eval "DEFAULT_$LINE"
10686 else
10687 no_cache=1
10688 fi
10689
10690 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10691
10692 fi;
10693
10694 eval "$ac_cv_use_menus"
10695 if test "$no_cache" != 1; then
10696 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10697 fi
10698
10699 if test "$wxUSE_MENUS" = yes; then
10700 echo "$as_me:$LINENO: result: yes" >&5
10701 echo "${ECHO_T}yes" >&6
10702 else
10703 echo "$as_me:$LINENO: result: no" >&5
10704 echo "${ECHO_T}no" >&6
10705 fi
10706
10707
10708 enablestring=
10709 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10710 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10711 no_cache=0
10712 # Check whether --enable-miniframe or --disable-miniframe was given.
10713 if test "${enable_miniframe+set}" = set; then
10714 enableval="$enable_miniframe"
10715
10716 if test "$enableval" = yes; then
10717 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10718 else
10719 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10720 fi
10721
10722 else
10723
10724 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10725 if test "x$LINE" != x ; then
10726 eval "DEFAULT_$LINE"
10727 else
10728 no_cache=1
10729 fi
10730
10731 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10732
10733 fi;
10734
10735 eval "$ac_cv_use_miniframe"
10736 if test "$no_cache" != 1; then
10737 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10738 fi
10739
10740 if test "$wxUSE_MINIFRAME" = yes; then
10741 echo "$as_me:$LINENO: result: yes" >&5
10742 echo "${ECHO_T}yes" >&6
10743 else
10744 echo "$as_me:$LINENO: result: no" >&5
10745 echo "${ECHO_T}no" >&6
10746 fi
10747
10748
10749 enablestring=
10750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10751 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10752 no_cache=0
10753 # Check whether --enable-tooltips or --disable-tooltips was given.
10754 if test "${enable_tooltips+set}" = set; then
10755 enableval="$enable_tooltips"
10756
10757 if test "$enableval" = yes; then
10758 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10759 else
10760 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10761 fi
10762
10763 else
10764
10765 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10766 if test "x$LINE" != x ; then
10767 eval "DEFAULT_$LINE"
10768 else
10769 no_cache=1
10770 fi
10771
10772 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10773
10774 fi;
10775
10776 eval "$ac_cv_use_tooltips"
10777 if test "$no_cache" != 1; then
10778 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10779 fi
10780
10781 if test "$wxUSE_TOOLTIPS" = yes; then
10782 echo "$as_me:$LINENO: result: yes" >&5
10783 echo "${ECHO_T}yes" >&6
10784 else
10785 echo "$as_me:$LINENO: result: no" >&5
10786 echo "${ECHO_T}no" >&6
10787 fi
10788
10789
10790 enablestring=
10791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10792 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10793 no_cache=0
10794 # Check whether --enable-splines or --disable-splines was given.
10795 if test "${enable_splines+set}" = set; then
10796 enableval="$enable_splines"
10797
10798 if test "$enableval" = yes; then
10799 ac_cv_use_splines='wxUSE_SPLINES=yes'
10800 else
10801 ac_cv_use_splines='wxUSE_SPLINES=no'
10802 fi
10803
10804 else
10805
10806 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10807 if test "x$LINE" != x ; then
10808 eval "DEFAULT_$LINE"
10809 else
10810 no_cache=1
10811 fi
10812
10813 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10814
10815 fi;
10816
10817 eval "$ac_cv_use_splines"
10818 if test "$no_cache" != 1; then
10819 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10820 fi
10821
10822 if test "$wxUSE_SPLINES" = yes; then
10823 echo "$as_me:$LINENO: result: yes" >&5
10824 echo "${ECHO_T}yes" >&6
10825 else
10826 echo "$as_me:$LINENO: result: no" >&5
10827 echo "${ECHO_T}no" >&6
10828 fi
10829
10830
10831 enablestring=
10832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10833 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10834 no_cache=0
10835 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10836 if test "${enable_mousewheel+set}" = set; then
10837 enableval="$enable_mousewheel"
10838
10839 if test "$enableval" = yes; then
10840 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10841 else
10842 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10843 fi
10844
10845 else
10846
10847 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10848 if test "x$LINE" != x ; then
10849 eval "DEFAULT_$LINE"
10850 else
10851 no_cache=1
10852 fi
10853
10854 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10855
10856 fi;
10857
10858 eval "$ac_cv_use_mousewheel"
10859 if test "$no_cache" != 1; then
10860 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10861 fi
10862
10863 if test "$wxUSE_MOUSEWHEEL" = yes; then
10864 echo "$as_me:$LINENO: result: yes" >&5
10865 echo "${ECHO_T}yes" >&6
10866 else
10867 echo "$as_me:$LINENO: result: no" >&5
10868 echo "${ECHO_T}no" >&6
10869 fi
10870
10871
10872 enablestring=
10873 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10874 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10875 no_cache=0
10876 # Check whether --enable-validators or --disable-validators was given.
10877 if test "${enable_validators+set}" = set; then
10878 enableval="$enable_validators"
10879
10880 if test "$enableval" = yes; then
10881 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10882 else
10883 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10884 fi
10885
10886 else
10887
10888 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10889 if test "x$LINE" != x ; then
10890 eval "DEFAULT_$LINE"
10891 else
10892 no_cache=1
10893 fi
10894
10895 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10896
10897 fi;
10898
10899 eval "$ac_cv_use_validators"
10900 if test "$no_cache" != 1; then
10901 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10902 fi
10903
10904 if test "$wxUSE_VALIDATORS" = yes; then
10905 echo "$as_me:$LINENO: result: yes" >&5
10906 echo "${ECHO_T}yes" >&6
10907 else
10908 echo "$as_me:$LINENO: result: no" >&5
10909 echo "${ECHO_T}no" >&6
10910 fi
10911
10912
10913 enablestring=
10914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10915 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10916 no_cache=0
10917 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10918 if test "${enable_busyinfo+set}" = set; then
10919 enableval="$enable_busyinfo"
10920
10921 if test "$enableval" = yes; then
10922 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10923 else
10924 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10925 fi
10926
10927 else
10928
10929 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10930 if test "x$LINE" != x ; then
10931 eval "DEFAULT_$LINE"
10932 else
10933 no_cache=1
10934 fi
10935
10936 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10937
10938 fi;
10939
10940 eval "$ac_cv_use_busyinfo"
10941 if test "$no_cache" != 1; then
10942 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10943 fi
10944
10945 if test "$wxUSE_BUSYINFO" = yes; then
10946 echo "$as_me:$LINENO: result: yes" >&5
10947 echo "${ECHO_T}yes" >&6
10948 else
10949 echo "$as_me:$LINENO: result: no" >&5
10950 echo "${ECHO_T}no" >&6
10951 fi
10952
10953
10954 enablestring=
10955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10956 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10957 no_cache=0
10958 # Check whether --enable-joystick or --disable-joystick was given.
10959 if test "${enable_joystick+set}" = set; then
10960 enableval="$enable_joystick"
10961
10962 if test "$enableval" = yes; then
10963 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10964 else
10965 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10966 fi
10967
10968 else
10969
10970 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10971 if test "x$LINE" != x ; then
10972 eval "DEFAULT_$LINE"
10973 else
10974 no_cache=1
10975 fi
10976
10977 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10978
10979 fi;
10980
10981 eval "$ac_cv_use_joystick"
10982 if test "$no_cache" != 1; then
10983 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10984 fi
10985
10986 if test "$wxUSE_JOYSTICK" = yes; then
10987 echo "$as_me:$LINENO: result: yes" >&5
10988 echo "${ECHO_T}yes" >&6
10989 else
10990 echo "$as_me:$LINENO: result: no" >&5
10991 echo "${ECHO_T}no" >&6
10992 fi
10993
10994
10995 enablestring=
10996 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10997 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10998 no_cache=0
10999 # Check whether --enable-metafile or --disable-metafile was given.
11000 if test "${enable_metafile+set}" = set; then
11001 enableval="$enable_metafile"
11002
11003 if test "$enableval" = yes; then
11004 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11005 else
11006 ac_cv_use_metafile='wxUSE_METAFILE=no'
11007 fi
11008
11009 else
11010
11011 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11012 if test "x$LINE" != x ; then
11013 eval "DEFAULT_$LINE"
11014 else
11015 no_cache=1
11016 fi
11017
11018 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11019
11020 fi;
11021
11022 eval "$ac_cv_use_metafile"
11023 if test "$no_cache" != 1; then
11024 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11025 fi
11026
11027 if test "$wxUSE_METAFILE" = yes; then
11028 echo "$as_me:$LINENO: result: yes" >&5
11029 echo "${ECHO_T}yes" >&6
11030 else
11031 echo "$as_me:$LINENO: result: no" >&5
11032 echo "${ECHO_T}no" >&6
11033 fi
11034
11035
11036 enablestring=
11037 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11038 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11039 no_cache=0
11040 # Check whether --enable-dragimage or --disable-dragimage was given.
11041 if test "${enable_dragimage+set}" = set; then
11042 enableval="$enable_dragimage"
11043
11044 if test "$enableval" = yes; then
11045 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11046 else
11047 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11048 fi
11049
11050 else
11051
11052 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11053 if test "x$LINE" != x ; then
11054 eval "DEFAULT_$LINE"
11055 else
11056 no_cache=1
11057 fi
11058
11059 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11060
11061 fi;
11062
11063 eval "$ac_cv_use_dragimage"
11064 if test "$no_cache" != 1; then
11065 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11066 fi
11067
11068 if test "$wxUSE_DRAGIMAGE" = yes; then
11069 echo "$as_me:$LINENO: result: yes" >&5
11070 echo "${ECHO_T}yes" >&6
11071 else
11072 echo "$as_me:$LINENO: result: no" >&5
11073 echo "${ECHO_T}no" >&6
11074 fi
11075
11076
11077 enablestring=
11078 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11079 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11080 no_cache=0
11081 # Check whether --enable-accessibility or --disable-accessibility was given.
11082 if test "${enable_accessibility+set}" = set; then
11083 enableval="$enable_accessibility"
11084
11085 if test "$enableval" = yes; then
11086 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11087 else
11088 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11089 fi
11090
11091 else
11092
11093 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11094 if test "x$LINE" != x ; then
11095 eval "DEFAULT_$LINE"
11096 else
11097 no_cache=1
11098 fi
11099
11100 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11101
11102 fi;
11103
11104 eval "$ac_cv_use_accessibility"
11105 if test "$no_cache" != 1; then
11106 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11107 fi
11108
11109 if test "$wxUSE_ACCESSIBILITY" = yes; then
11110 echo "$as_me:$LINENO: result: yes" >&5
11111 echo "${ECHO_T}yes" >&6
11112 else
11113 echo "$as_me:$LINENO: result: no" >&5
11114 echo "${ECHO_T}no" >&6
11115 fi
11116
11117
11118 if test "$wxUSE_MSW" = "1"; then
11119
11120 enablestring=
11121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11122 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11123 no_cache=0
11124 # Check whether --enable-dccache or --disable-dccache was given.
11125 if test "${enable_dccache+set}" = set; then
11126 enableval="$enable_dccache"
11127
11128 if test "$enableval" = yes; then
11129 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11130 else
11131 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11132 fi
11133
11134 else
11135
11136 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11137 if test "x$LINE" != x ; then
11138 eval "DEFAULT_$LINE"
11139 else
11140 no_cache=1
11141 fi
11142
11143 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11144
11145 fi;
11146
11147 eval "$ac_cv_use_dccache"
11148 if test "$no_cache" != 1; then
11149 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11150 fi
11151
11152 if test "$wxUSE_DC_CACHEING" = yes; then
11153 echo "$as_me:$LINENO: result: yes" >&5
11154 echo "${ECHO_T}yes" >&6
11155 else
11156 echo "$as_me:$LINENO: result: no" >&5
11157 echo "${ECHO_T}no" >&6
11158 fi
11159
11160 fi
11161
11162
11163
11164 enablestring=
11165 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11166 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11167 no_cache=0
11168 # Check whether --enable-palette or --disable-palette was given.
11169 if test "${enable_palette+set}" = set; then
11170 enableval="$enable_palette"
11171
11172 if test "$enableval" = yes; then
11173 ac_cv_use_palette='wxUSE_PALETTE=yes'
11174 else
11175 ac_cv_use_palette='wxUSE_PALETTE=no'
11176 fi
11177
11178 else
11179
11180 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11181 if test "x$LINE" != x ; then
11182 eval "DEFAULT_$LINE"
11183 else
11184 no_cache=1
11185 fi
11186
11187 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11188
11189 fi;
11190
11191 eval "$ac_cv_use_palette"
11192 if test "$no_cache" != 1; then
11193 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11194 fi
11195
11196 if test "$wxUSE_PALETTE" = yes; then
11197 echo "$as_me:$LINENO: result: yes" >&5
11198 echo "${ECHO_T}yes" >&6
11199 else
11200 echo "$as_me:$LINENO: result: no" >&5
11201 echo "${ECHO_T}no" >&6
11202 fi
11203
11204
11205 enablestring=
11206 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11207 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11208 no_cache=0
11209 # Check whether --enable-image or --disable-image was given.
11210 if test "${enable_image+set}" = set; then
11211 enableval="$enable_image"
11212
11213 if test "$enableval" = yes; then
11214 ac_cv_use_image='wxUSE_IMAGE=yes'
11215 else
11216 ac_cv_use_image='wxUSE_IMAGE=no'
11217 fi
11218
11219 else
11220
11221 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11222 if test "x$LINE" != x ; then
11223 eval "DEFAULT_$LINE"
11224 else
11225 no_cache=1
11226 fi
11227
11228 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11229
11230 fi;
11231
11232 eval "$ac_cv_use_image"
11233 if test "$no_cache" != 1; then
11234 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11235 fi
11236
11237 if test "$wxUSE_IMAGE" = yes; then
11238 echo "$as_me:$LINENO: result: yes" >&5
11239 echo "${ECHO_T}yes" >&6
11240 else
11241 echo "$as_me:$LINENO: result: no" >&5
11242 echo "${ECHO_T}no" >&6
11243 fi
11244
11245
11246 enablestring=
11247 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11248 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11249 no_cache=0
11250 # Check whether --enable-gif or --disable-gif was given.
11251 if test "${enable_gif+set}" = set; then
11252 enableval="$enable_gif"
11253
11254 if test "$enableval" = yes; then
11255 ac_cv_use_gif='wxUSE_GIF=yes'
11256 else
11257 ac_cv_use_gif='wxUSE_GIF=no'
11258 fi
11259
11260 else
11261
11262 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11263 if test "x$LINE" != x ; then
11264 eval "DEFAULT_$LINE"
11265 else
11266 no_cache=1
11267 fi
11268
11269 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11270
11271 fi;
11272
11273 eval "$ac_cv_use_gif"
11274 if test "$no_cache" != 1; then
11275 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11276 fi
11277
11278 if test "$wxUSE_GIF" = yes; then
11279 echo "$as_me:$LINENO: result: yes" >&5
11280 echo "${ECHO_T}yes" >&6
11281 else
11282 echo "$as_me:$LINENO: result: no" >&5
11283 echo "${ECHO_T}no" >&6
11284 fi
11285
11286
11287 enablestring=
11288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11289 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11290 no_cache=0
11291 # Check whether --enable-pcx or --disable-pcx was given.
11292 if test "${enable_pcx+set}" = set; then
11293 enableval="$enable_pcx"
11294
11295 if test "$enableval" = yes; then
11296 ac_cv_use_pcx='wxUSE_PCX=yes'
11297 else
11298 ac_cv_use_pcx='wxUSE_PCX=no'
11299 fi
11300
11301 else
11302
11303 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11304 if test "x$LINE" != x ; then
11305 eval "DEFAULT_$LINE"
11306 else
11307 no_cache=1
11308 fi
11309
11310 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11311
11312 fi;
11313
11314 eval "$ac_cv_use_pcx"
11315 if test "$no_cache" != 1; then
11316 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11317 fi
11318
11319 if test "$wxUSE_PCX" = yes; then
11320 echo "$as_me:$LINENO: result: yes" >&5
11321 echo "${ECHO_T}yes" >&6
11322 else
11323 echo "$as_me:$LINENO: result: no" >&5
11324 echo "${ECHO_T}no" >&6
11325 fi
11326
11327
11328 enablestring=
11329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11330 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11331 no_cache=0
11332 # Check whether --enable-iff or --disable-iff was given.
11333 if test "${enable_iff+set}" = set; then
11334 enableval="$enable_iff"
11335
11336 if test "$enableval" = yes; then
11337 ac_cv_use_iff='wxUSE_IFF=yes'
11338 else
11339 ac_cv_use_iff='wxUSE_IFF=no'
11340 fi
11341
11342 else
11343
11344 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11345 if test "x$LINE" != x ; then
11346 eval "DEFAULT_$LINE"
11347 else
11348 no_cache=1
11349 fi
11350
11351 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11352
11353 fi;
11354
11355 eval "$ac_cv_use_iff"
11356 if test "$no_cache" != 1; then
11357 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11358 fi
11359
11360 if test "$wxUSE_IFF" = yes; then
11361 echo "$as_me:$LINENO: result: yes" >&5
11362 echo "${ECHO_T}yes" >&6
11363 else
11364 echo "$as_me:$LINENO: result: no" >&5
11365 echo "${ECHO_T}no" >&6
11366 fi
11367
11368
11369 enablestring=
11370 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11371 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11372 no_cache=0
11373 # Check whether --enable-pnm or --disable-pnm was given.
11374 if test "${enable_pnm+set}" = set; then
11375 enableval="$enable_pnm"
11376
11377 if test "$enableval" = yes; then
11378 ac_cv_use_pnm='wxUSE_PNM=yes'
11379 else
11380 ac_cv_use_pnm='wxUSE_PNM=no'
11381 fi
11382
11383 else
11384
11385 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11386 if test "x$LINE" != x ; then
11387 eval "DEFAULT_$LINE"
11388 else
11389 no_cache=1
11390 fi
11391
11392 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11393
11394 fi;
11395
11396 eval "$ac_cv_use_pnm"
11397 if test "$no_cache" != 1; then
11398 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11399 fi
11400
11401 if test "$wxUSE_PNM" = yes; then
11402 echo "$as_me:$LINENO: result: yes" >&5
11403 echo "${ECHO_T}yes" >&6
11404 else
11405 echo "$as_me:$LINENO: result: no" >&5
11406 echo "${ECHO_T}no" >&6
11407 fi
11408
11409
11410 enablestring=
11411 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11412 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11413 no_cache=0
11414 # Check whether --enable-xpm or --disable-xpm was given.
11415 if test "${enable_xpm+set}" = set; then
11416 enableval="$enable_xpm"
11417
11418 if test "$enableval" = yes; then
11419 ac_cv_use_xpm='wxUSE_XPM=yes'
11420 else
11421 ac_cv_use_xpm='wxUSE_XPM=no'
11422 fi
11423
11424 else
11425
11426 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11427 if test "x$LINE" != x ; then
11428 eval "DEFAULT_$LINE"
11429 else
11430 no_cache=1
11431 fi
11432
11433 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11434
11435 fi;
11436
11437 eval "$ac_cv_use_xpm"
11438 if test "$no_cache" != 1; then
11439 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11440 fi
11441
11442 if test "$wxUSE_XPM" = yes; then
11443 echo "$as_me:$LINENO: result: yes" >&5
11444 echo "${ECHO_T}yes" >&6
11445 else
11446 echo "$as_me:$LINENO: result: no" >&5
11447 echo "${ECHO_T}no" >&6
11448 fi
11449
11450
11451 enablestring=
11452 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11453 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11454 no_cache=0
11455 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11456 if test "${enable_ico_cur+set}" = set; then
11457 enableval="$enable_ico_cur"
11458
11459 if test "$enableval" = yes; then
11460 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11461 else
11462 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11463 fi
11464
11465 else
11466
11467 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11468 if test "x$LINE" != x ; then
11469 eval "DEFAULT_$LINE"
11470 else
11471 no_cache=1
11472 fi
11473
11474 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11475
11476 fi;
11477
11478 eval "$ac_cv_use_ico_cur"
11479 if test "$no_cache" != 1; then
11480 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11481 fi
11482
11483 if test "$wxUSE_ICO_CUR" = yes; then
11484 echo "$as_me:$LINENO: result: yes" >&5
11485 echo "${ECHO_T}yes" >&6
11486 else
11487 echo "$as_me:$LINENO: result: no" >&5
11488 echo "${ECHO_T}no" >&6
11489 fi
11490
11491
11492 fi
11493
11494
11495
11496 # Check whether --with-flavour or --without-flavour was given.
11497 if test "${with_flavour+set}" = set; then
11498 withval="$with_flavour"
11499 WX_FLAVOUR="$withval"
11500 fi;
11501
11502
11503
11504 enablestring=
11505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11506 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11507 no_cache=0
11508 # Check whether --enable-official_build or --disable-official_build was given.
11509 if test "${enable_official_build+set}" = set; then
11510 enableval="$enable_official_build"
11511
11512 if test "$enableval" = yes; then
11513 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11514 else
11515 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11516 fi
11517
11518 else
11519
11520 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11521 if test "x$LINE" != x ; then
11522 eval "DEFAULT_$LINE"
11523 else
11524 no_cache=1
11525 fi
11526
11527 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11528
11529 fi;
11530
11531 eval "$ac_cv_use_official_build"
11532 if test "$no_cache" != 1; then
11533 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11534 fi
11535
11536 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11537 echo "$as_me:$LINENO: result: yes" >&5
11538 echo "${ECHO_T}yes" >&6
11539 else
11540 echo "$as_me:$LINENO: result: no" >&5
11541 echo "${ECHO_T}no" >&6
11542 fi
11543
11544 # Check whether --enable-vendor or --disable-vendor was given.
11545 if test "${enable_vendor+set}" = set; then
11546 enableval="$enable_vendor"
11547 VENDOR="$enableval"
11548 fi;
11549 if test "x$VENDOR" = "x"; then
11550 VENDOR="custom"
11551 fi
11552
11553
11554
11555
11556 echo "saving argument cache $wx_arg_cache_file"
11557 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11558
11559
11560
11561 echo "$as_me:$LINENO: checking for toolkit" >&5
11562 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11563
11564 # In Wine, we need to default to MSW, not GTK or MOTIF
11565 if test "$wxUSE_WINE" = "yes"; then
11566 DEFAULT_DEFAULT_wxUSE_GTK=0
11567 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11568 DEFAULT_DEFAULT_wxUSE_MSW=1
11569 wxUSE_SHARED=no
11570 fi
11571
11572
11573 if test "$wxUSE_GUI" = "yes"; then
11574
11575 if test "$USE_BEOS" = 1; then
11576 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11577 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11578 { (exit 1); exit 1; }; }
11579 fi
11580
11581 if test "$TOOLKIT_GIVEN" = 1; then
11582 for toolkit in `echo $ALL_TOOLKITS`; do
11583 var=wxUSE_$toolkit
11584 eval "value=\$${var}"
11585 if test "x$value" = "xno"; then
11586 eval "$var=0"
11587 elif test "x$value" != "x"; then
11588 eval "$var=1"
11589 fi
11590
11591 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11592 eval "wx${toolkit}_VERSION=$value"
11593 fi
11594 done
11595 else
11596 for toolkit in `echo $ALL_TOOLKITS`; do
11597 if test "$has_toolkit_in_cache" != 1; then
11598 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11599 else
11600 var=DEFAULT_wxUSE_$toolkit
11601
11602 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11603 if test "x$version" != "x"; then
11604 eval "wx${toolkit}_VERSION=$version"
11605 fi
11606 fi
11607 eval "wxUSE_$toolkit=\$${var}"
11608 done
11609 fi
11610
11611 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11612 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11613 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11614
11615 case "${host}" in
11616 *-pc-os2_emx | *-pc-os2-emx )
11617 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11618 esac
11619
11620 case "$NUM_TOOLKITS" in
11621 1)
11622 ;;
11623 0)
11624 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11625 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11626 { (exit 1); exit 1; }; }
11627 ;;
11628 *)
11629 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11630 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11631 { (exit 1); exit 1; }; }
11632 esac
11633
11634 # to be removed when --disable-gtk2 isn't needed
11635 if test "x$wxUSE_GTK2" = "xyes"; then
11636 wxGTK_VERSION=2
11637 elif test "x$wxUSE_GTK2" = "xno"; then
11638 wxGTK_VERSION=1
11639 fi
11640
11641 for toolkit in `echo $ALL_TOOLKITS`; do
11642 var=wxUSE_$toolkit
11643 eval "value=\$${var}"
11644 if test "x$value" != x; then
11645 cache_var=CACHE_$toolkit
11646 eval "cache=\$${cache_var}"
11647 if test "$cache" = 1; then
11648 echo "$var=$value" >> ${wx_arg_cache_file}
11649 eval "version=\$wx${toolkit}_VERSION"
11650 if test "x$version" != "x"; then
11651 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11652 fi
11653 fi
11654 if test "$value" = 1; then
11655 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11656 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11657 echo "${ECHO_T}$toolkit_echo" >&6
11658 fi
11659 fi
11660 done
11661 else
11662 if test "x$host_alias" != "x"; then
11663 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11664 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11665 else
11666 echo "$as_me:$LINENO: result: base only" >&5
11667 echo "${ECHO_T}base only" >&6
11668 fi
11669 fi
11670
11671 wants_win32=0
11672 doesnt_want_win32=0
11673 case "${host}" in
11674 *-*-cygwin*)
11675 if test "$wxUSE_MSW" = 1 ; then
11676 wants_win32=1
11677 BAKEFILE_FORCE_PLATFORM=win32
11678 else
11679 doesnt_want_win32=1
11680 fi
11681 ;;
11682 *-*-mingw*)
11683 wants_win32=1
11684 ;;
11685 esac
11686
11687 if test "$wxUSE_WINE" = "yes"; then
11688 wants_win32=1
11689 CC=winegcc
11690 CXX=wineg++
11691 LDFLAGS_GUI="-mwindows"
11692 fi
11693
11694 if test "$wants_win32" = 1 ; then
11695 USE_UNIX=0
11696 USE_WIN32=1
11697 cat >>confdefs.h <<\_ACEOF
11698 #define __WIN32__ 1
11699 _ACEOF
11700
11701 cat >>confdefs.h <<\_ACEOF
11702 #define __WIN95__ 1
11703 _ACEOF
11704
11705 cat >>confdefs.h <<\_ACEOF
11706 #define __WINDOWS__ 1
11707 _ACEOF
11708
11709 cat >>confdefs.h <<\_ACEOF
11710 #define __GNUWIN32__ 1
11711 _ACEOF
11712
11713 cat >>confdefs.h <<\_ACEOF
11714 #define STRICT 1
11715 _ACEOF
11716
11717 cat >>confdefs.h <<\_ACEOF
11718 #define WINVER 0x0400
11719 _ACEOF
11720
11721 fi
11722 if test "$doesnt_want_win32" = 1 ; then
11723 USE_UNIX=1
11724 USE_WIN32=0
11725 fi
11726
11727 if test "$USE_UNIX" = 1 ; then
11728 wxUSE_UNIX=yes
11729 cat >>confdefs.h <<\_ACEOF
11730 #define __UNIX__ 1
11731 _ACEOF
11732
11733 fi
11734
11735
11736 cat >confcache <<\_ACEOF
11737 # This file is a shell script that caches the results of configure
11738 # tests run on this system so they can be shared between configure
11739 # scripts and configure runs, see configure's option --config-cache.
11740 # It is not useful on other systems. If it contains results you don't
11741 # want to keep, you may remove or edit it.
11742 #
11743 # config.status only pays attention to the cache file if you give it
11744 # the --recheck option to rerun configure.
11745 #
11746 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11747 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11748 # following values.
11749
11750 _ACEOF
11751
11752 # The following way of writing the cache mishandles newlines in values,
11753 # but we know of no workaround that is simple, portable, and efficient.
11754 # So, don't put newlines in cache variables' values.
11755 # Ultrix sh set writes to stderr and can't be redirected directly,
11756 # and sets the high bit in the cache file unless we assign to the vars.
11757 {
11758 (set) 2>&1 |
11759 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11760 *ac_space=\ *)
11761 # `set' does not quote correctly, so add quotes (double-quote
11762 # substitution turns \\\\ into \\, and sed turns \\ into \).
11763 sed -n \
11764 "s/'/'\\\\''/g;
11765 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11766 ;;
11767 *)
11768 # `set' quotes correctly as required by POSIX, so do not add quotes.
11769 sed -n \
11770 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11771 ;;
11772 esac;
11773 } |
11774 sed '
11775 t clear
11776 : clear
11777 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11778 t end
11779 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11780 : end' >>confcache
11781 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11782 if test -w $cache_file; then
11783 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11784 cat confcache >$cache_file
11785 else
11786 echo "not updating unwritable cache $cache_file"
11787 fi
11788 fi
11789 rm -f confcache
11790
11791 CFLAGS=${CFLAGS:=}
11792
11793
11794
11795 ac_ext=c
11796 ac_cpp='$CPP $CPPFLAGS'
11797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11800 if test -n "$ac_tool_prefix"; then
11801 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11802 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11803 echo "$as_me:$LINENO: checking for $ac_word" >&5
11804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11805 if test "${ac_cv_prog_CC+set}" = set; then
11806 echo $ECHO_N "(cached) $ECHO_C" >&6
11807 else
11808 if test -n "$CC"; then
11809 ac_cv_prog_CC="$CC" # Let the user override the test.
11810 else
11811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11812 for as_dir in $PATH
11813 do
11814 IFS=$as_save_IFS
11815 test -z "$as_dir" && as_dir=.
11816 for ac_exec_ext in '' $ac_executable_extensions; do
11817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11818 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11820 break 2
11821 fi
11822 done
11823 done
11824
11825 fi
11826 fi
11827 CC=$ac_cv_prog_CC
11828 if test -n "$CC"; then
11829 echo "$as_me:$LINENO: result: $CC" >&5
11830 echo "${ECHO_T}$CC" >&6
11831 else
11832 echo "$as_me:$LINENO: result: no" >&5
11833 echo "${ECHO_T}no" >&6
11834 fi
11835
11836 fi
11837 if test -z "$ac_cv_prog_CC"; then
11838 ac_ct_CC=$CC
11839 # Extract the first word of "gcc", so it can be a program name with args.
11840 set dummy gcc; ac_word=$2
11841 echo "$as_me:$LINENO: checking for $ac_word" >&5
11842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11843 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11844 echo $ECHO_N "(cached) $ECHO_C" >&6
11845 else
11846 if test -n "$ac_ct_CC"; then
11847 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11848 else
11849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11850 for as_dir in $PATH
11851 do
11852 IFS=$as_save_IFS
11853 test -z "$as_dir" && as_dir=.
11854 for ac_exec_ext in '' $ac_executable_extensions; do
11855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11856 ac_cv_prog_ac_ct_CC="gcc"
11857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11858 break 2
11859 fi
11860 done
11861 done
11862
11863 fi
11864 fi
11865 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11866 if test -n "$ac_ct_CC"; then
11867 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11868 echo "${ECHO_T}$ac_ct_CC" >&6
11869 else
11870 echo "$as_me:$LINENO: result: no" >&5
11871 echo "${ECHO_T}no" >&6
11872 fi
11873
11874 CC=$ac_ct_CC
11875 else
11876 CC="$ac_cv_prog_CC"
11877 fi
11878
11879 if test -z "$CC"; then
11880 if test -n "$ac_tool_prefix"; then
11881 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11882 set dummy ${ac_tool_prefix}cc; ac_word=$2
11883 echo "$as_me:$LINENO: checking for $ac_word" >&5
11884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11885 if test "${ac_cv_prog_CC+set}" = set; then
11886 echo $ECHO_N "(cached) $ECHO_C" >&6
11887 else
11888 if test -n "$CC"; then
11889 ac_cv_prog_CC="$CC" # Let the user override the test.
11890 else
11891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11892 for as_dir in $PATH
11893 do
11894 IFS=$as_save_IFS
11895 test -z "$as_dir" && as_dir=.
11896 for ac_exec_ext in '' $ac_executable_extensions; do
11897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11898 ac_cv_prog_CC="${ac_tool_prefix}cc"
11899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11900 break 2
11901 fi
11902 done
11903 done
11904
11905 fi
11906 fi
11907 CC=$ac_cv_prog_CC
11908 if test -n "$CC"; then
11909 echo "$as_me:$LINENO: result: $CC" >&5
11910 echo "${ECHO_T}$CC" >&6
11911 else
11912 echo "$as_me:$LINENO: result: no" >&5
11913 echo "${ECHO_T}no" >&6
11914 fi
11915
11916 fi
11917 if test -z "$ac_cv_prog_CC"; then
11918 ac_ct_CC=$CC
11919 # Extract the first word of "cc", so it can be a program name with args.
11920 set dummy cc; ac_word=$2
11921 echo "$as_me:$LINENO: checking for $ac_word" >&5
11922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11923 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11925 else
11926 if test -n "$ac_ct_CC"; then
11927 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11928 else
11929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11930 for as_dir in $PATH
11931 do
11932 IFS=$as_save_IFS
11933 test -z "$as_dir" && as_dir=.
11934 for ac_exec_ext in '' $ac_executable_extensions; do
11935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11936 ac_cv_prog_ac_ct_CC="cc"
11937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11938 break 2
11939 fi
11940 done
11941 done
11942
11943 fi
11944 fi
11945 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11946 if test -n "$ac_ct_CC"; then
11947 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11948 echo "${ECHO_T}$ac_ct_CC" >&6
11949 else
11950 echo "$as_me:$LINENO: result: no" >&5
11951 echo "${ECHO_T}no" >&6
11952 fi
11953
11954 CC=$ac_ct_CC
11955 else
11956 CC="$ac_cv_prog_CC"
11957 fi
11958
11959 fi
11960 if test -z "$CC"; then
11961 # Extract the first word of "cc", so it can be a program name with args.
11962 set dummy cc; ac_word=$2
11963 echo "$as_me:$LINENO: checking for $ac_word" >&5
11964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11965 if test "${ac_cv_prog_CC+set}" = set; then
11966 echo $ECHO_N "(cached) $ECHO_C" >&6
11967 else
11968 if test -n "$CC"; then
11969 ac_cv_prog_CC="$CC" # Let the user override the test.
11970 else
11971 ac_prog_rejected=no
11972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11973 for as_dir in $PATH
11974 do
11975 IFS=$as_save_IFS
11976 test -z "$as_dir" && as_dir=.
11977 for ac_exec_ext in '' $ac_executable_extensions; do
11978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11979 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11980 ac_prog_rejected=yes
11981 continue
11982 fi
11983 ac_cv_prog_CC="cc"
11984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11985 break 2
11986 fi
11987 done
11988 done
11989
11990 if test $ac_prog_rejected = yes; then
11991 # We found a bogon in the path, so make sure we never use it.
11992 set dummy $ac_cv_prog_CC
11993 shift
11994 if test $# != 0; then
11995 # We chose a different compiler from the bogus one.
11996 # However, it has the same basename, so the bogon will be chosen
11997 # first if we set CC to just the basename; use the full file name.
11998 shift
11999 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12000 fi
12001 fi
12002 fi
12003 fi
12004 CC=$ac_cv_prog_CC
12005 if test -n "$CC"; then
12006 echo "$as_me:$LINENO: result: $CC" >&5
12007 echo "${ECHO_T}$CC" >&6
12008 else
12009 echo "$as_me:$LINENO: result: no" >&5
12010 echo "${ECHO_T}no" >&6
12011 fi
12012
12013 fi
12014 if test -z "$CC"; then
12015 if test -n "$ac_tool_prefix"; then
12016 for ac_prog in cl
12017 do
12018 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12019 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12020 echo "$as_me:$LINENO: checking for $ac_word" >&5
12021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12022 if test "${ac_cv_prog_CC+set}" = set; then
12023 echo $ECHO_N "(cached) $ECHO_C" >&6
12024 else
12025 if test -n "$CC"; then
12026 ac_cv_prog_CC="$CC" # Let the user override the test.
12027 else
12028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12029 for as_dir in $PATH
12030 do
12031 IFS=$as_save_IFS
12032 test -z "$as_dir" && as_dir=.
12033 for ac_exec_ext in '' $ac_executable_extensions; do
12034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12035 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12037 break 2
12038 fi
12039 done
12040 done
12041
12042 fi
12043 fi
12044 CC=$ac_cv_prog_CC
12045 if test -n "$CC"; then
12046 echo "$as_me:$LINENO: result: $CC" >&5
12047 echo "${ECHO_T}$CC" >&6
12048 else
12049 echo "$as_me:$LINENO: result: no" >&5
12050 echo "${ECHO_T}no" >&6
12051 fi
12052
12053 test -n "$CC" && break
12054 done
12055 fi
12056 if test -z "$CC"; then
12057 ac_ct_CC=$CC
12058 for ac_prog in cl
12059 do
12060 # Extract the first word of "$ac_prog", so it can be a program name with args.
12061 set dummy $ac_prog; ac_word=$2
12062 echo "$as_me:$LINENO: checking for $ac_word" >&5
12063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12064 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12065 echo $ECHO_N "(cached) $ECHO_C" >&6
12066 else
12067 if test -n "$ac_ct_CC"; then
12068 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12069 else
12070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12071 for as_dir in $PATH
12072 do
12073 IFS=$as_save_IFS
12074 test -z "$as_dir" && as_dir=.
12075 for ac_exec_ext in '' $ac_executable_extensions; do
12076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12077 ac_cv_prog_ac_ct_CC="$ac_prog"
12078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12079 break 2
12080 fi
12081 done
12082 done
12083
12084 fi
12085 fi
12086 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12087 if test -n "$ac_ct_CC"; then
12088 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12089 echo "${ECHO_T}$ac_ct_CC" >&6
12090 else
12091 echo "$as_me:$LINENO: result: no" >&5
12092 echo "${ECHO_T}no" >&6
12093 fi
12094
12095 test -n "$ac_ct_CC" && break
12096 done
12097
12098 CC=$ac_ct_CC
12099 fi
12100
12101 fi
12102
12103
12104 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12105 See \`config.log' for more details." >&5
12106 echo "$as_me: error: no acceptable C compiler found in \$PATH
12107 See \`config.log' for more details." >&2;}
12108 { (exit 1); exit 1; }; }
12109
12110 # Provide some information about the compiler.
12111 echo "$as_me:$LINENO:" \
12112 "checking for C compiler version" >&5
12113 ac_compiler=`set X $ac_compile; echo $2`
12114 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12115 (eval $ac_compiler --version </dev/null >&5) 2>&5
12116 ac_status=$?
12117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12118 (exit $ac_status); }
12119 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12120 (eval $ac_compiler -v </dev/null >&5) 2>&5
12121 ac_status=$?
12122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); }
12124 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12125 (eval $ac_compiler -V </dev/null >&5) 2>&5
12126 ac_status=$?
12127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12128 (exit $ac_status); }
12129
12130 cat >conftest.$ac_ext <<_ACEOF
12131 /* confdefs.h. */
12132 _ACEOF
12133 cat confdefs.h >>conftest.$ac_ext
12134 cat >>conftest.$ac_ext <<_ACEOF
12135 /* end confdefs.h. */
12136
12137 int
12138 main ()
12139 {
12140
12141 ;
12142 return 0;
12143 }
12144 _ACEOF
12145 ac_clean_files_save=$ac_clean_files
12146 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12147 # Try to create an executable without -o first, disregard a.out.
12148 # It will help us diagnose broken compilers, and finding out an intuition
12149 # of exeext.
12150 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12151 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12152 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12153 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12154 (eval $ac_link_default) 2>&5
12155 ac_status=$?
12156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12157 (exit $ac_status); }; then
12158 # Find the output, starting from the most likely. This scheme is
12159 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12160 # resort.
12161
12162 # Be careful to initialize this variable, since it used to be cached.
12163 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12164 ac_cv_exeext=
12165 # b.out is created by i960 compilers.
12166 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12167 do
12168 test -f "$ac_file" || continue
12169 case $ac_file in
12170 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12171 ;;
12172 conftest.$ac_ext )
12173 # This is the source file.
12174 ;;
12175 [ab].out )
12176 # We found the default executable, but exeext='' is most
12177 # certainly right.
12178 break;;
12179 *.* )
12180 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12181 # FIXME: I believe we export ac_cv_exeext for Libtool,
12182 # but it would be cool to find out if it's true. Does anybody
12183 # maintain Libtool? --akim.
12184 export ac_cv_exeext
12185 break;;
12186 * )
12187 break;;
12188 esac
12189 done
12190 else
12191 echo "$as_me: failed program was:" >&5
12192 sed 's/^/| /' conftest.$ac_ext >&5
12193
12194 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12195 See \`config.log' for more details." >&5
12196 echo "$as_me: error: C compiler cannot create executables
12197 See \`config.log' for more details." >&2;}
12198 { (exit 77); exit 77; }; }
12199 fi
12200
12201 ac_exeext=$ac_cv_exeext
12202 echo "$as_me:$LINENO: result: $ac_file" >&5
12203 echo "${ECHO_T}$ac_file" >&6
12204
12205 # Check the compiler produces executables we can run. If not, either
12206 # the compiler is broken, or we cross compile.
12207 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12208 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12209 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12210 # If not cross compiling, check that we can run a simple program.
12211 if test "$cross_compiling" != yes; then
12212 if { ac_try='./$ac_file'
12213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12214 (eval $ac_try) 2>&5
12215 ac_status=$?
12216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12217 (exit $ac_status); }; }; then
12218 cross_compiling=no
12219 else
12220 if test "$cross_compiling" = maybe; then
12221 cross_compiling=yes
12222 else
12223 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12224 If you meant to cross compile, use \`--host'.
12225 See \`config.log' for more details." >&5
12226 echo "$as_me: error: cannot run C compiled programs.
12227 If you meant to cross compile, use \`--host'.
12228 See \`config.log' for more details." >&2;}
12229 { (exit 1); exit 1; }; }
12230 fi
12231 fi
12232 fi
12233 echo "$as_me:$LINENO: result: yes" >&5
12234 echo "${ECHO_T}yes" >&6
12235
12236 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12237 ac_clean_files=$ac_clean_files_save
12238 # Check the compiler produces executables we can run. If not, either
12239 # the compiler is broken, or we cross compile.
12240 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12241 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12242 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12243 echo "${ECHO_T}$cross_compiling" >&6
12244
12245 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12246 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12248 (eval $ac_link) 2>&5
12249 ac_status=$?
12250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12251 (exit $ac_status); }; then
12252 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12253 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12254 # work properly (i.e., refer to `conftest.exe'), while it won't with
12255 # `rm'.
12256 for ac_file in conftest.exe conftest conftest.*; do
12257 test -f "$ac_file" || continue
12258 case $ac_file in
12259 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12260 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12261 export ac_cv_exeext
12262 break;;
12263 * ) break;;
12264 esac
12265 done
12266 else
12267 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12268 See \`config.log' for more details." >&5
12269 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12270 See \`config.log' for more details." >&2;}
12271 { (exit 1); exit 1; }; }
12272 fi
12273
12274 rm -f conftest$ac_cv_exeext
12275 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12276 echo "${ECHO_T}$ac_cv_exeext" >&6
12277
12278 rm -f conftest.$ac_ext
12279 EXEEXT=$ac_cv_exeext
12280 ac_exeext=$EXEEXT
12281 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12282 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12283 if test "${ac_cv_objext+set}" = set; then
12284 echo $ECHO_N "(cached) $ECHO_C" >&6
12285 else
12286 cat >conftest.$ac_ext <<_ACEOF
12287 /* confdefs.h. */
12288 _ACEOF
12289 cat confdefs.h >>conftest.$ac_ext
12290 cat >>conftest.$ac_ext <<_ACEOF
12291 /* end confdefs.h. */
12292
12293 int
12294 main ()
12295 {
12296
12297 ;
12298 return 0;
12299 }
12300 _ACEOF
12301 rm -f conftest.o conftest.obj
12302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12303 (eval $ac_compile) 2>&5
12304 ac_status=$?
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); }; then
12307 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12308 case $ac_file in
12309 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12310 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12311 break;;
12312 esac
12313 done
12314 else
12315 echo "$as_me: failed program was:" >&5
12316 sed 's/^/| /' conftest.$ac_ext >&5
12317
12318 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12319 See \`config.log' for more details." >&5
12320 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12321 See \`config.log' for more details." >&2;}
12322 { (exit 1); exit 1; }; }
12323 fi
12324
12325 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12326 fi
12327 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12328 echo "${ECHO_T}$ac_cv_objext" >&6
12329 OBJEXT=$ac_cv_objext
12330 ac_objext=$OBJEXT
12331 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12332 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12333 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12334 echo $ECHO_N "(cached) $ECHO_C" >&6
12335 else
12336 cat >conftest.$ac_ext <<_ACEOF
12337 /* confdefs.h. */
12338 _ACEOF
12339 cat confdefs.h >>conftest.$ac_ext
12340 cat >>conftest.$ac_ext <<_ACEOF
12341 /* end confdefs.h. */
12342
12343 int
12344 main ()
12345 {
12346 #ifndef __GNUC__
12347 choke me
12348 #endif
12349
12350 ;
12351 return 0;
12352 }
12353 _ACEOF
12354 rm -f conftest.$ac_objext
12355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12356 (eval $ac_compile) 2>conftest.er1
12357 ac_status=$?
12358 grep -v '^ *+' conftest.er1 >conftest.err
12359 rm -f conftest.er1
12360 cat conftest.err >&5
12361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12362 (exit $ac_status); } &&
12363 { ac_try='test -z "$ac_c_werror_flag"
12364 || test ! -s conftest.err'
12365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12366 (eval $ac_try) 2>&5
12367 ac_status=$?
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); }; } &&
12370 { ac_try='test -s conftest.$ac_objext'
12371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12372 (eval $ac_try) 2>&5
12373 ac_status=$?
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); }; }; then
12376 ac_compiler_gnu=yes
12377 else
12378 echo "$as_me: failed program was:" >&5
12379 sed 's/^/| /' conftest.$ac_ext >&5
12380
12381 ac_compiler_gnu=no
12382 fi
12383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12384 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12385
12386 fi
12387 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12388 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12389 GCC=`test $ac_compiler_gnu = yes && echo yes`
12390 ac_test_CFLAGS=${CFLAGS+set}
12391 ac_save_CFLAGS=$CFLAGS
12392 CFLAGS="-g"
12393 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12394 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12395 if test "${ac_cv_prog_cc_g+set}" = set; then
12396 echo $ECHO_N "(cached) $ECHO_C" >&6
12397 else
12398 cat >conftest.$ac_ext <<_ACEOF
12399 /* confdefs.h. */
12400 _ACEOF
12401 cat confdefs.h >>conftest.$ac_ext
12402 cat >>conftest.$ac_ext <<_ACEOF
12403 /* end confdefs.h. */
12404
12405 int
12406 main ()
12407 {
12408
12409 ;
12410 return 0;
12411 }
12412 _ACEOF
12413 rm -f conftest.$ac_objext
12414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12415 (eval $ac_compile) 2>conftest.er1
12416 ac_status=$?
12417 grep -v '^ *+' conftest.er1 >conftest.err
12418 rm -f conftest.er1
12419 cat conftest.err >&5
12420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12421 (exit $ac_status); } &&
12422 { ac_try='test -z "$ac_c_werror_flag"
12423 || test ! -s conftest.err'
12424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12425 (eval $ac_try) 2>&5
12426 ac_status=$?
12427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12428 (exit $ac_status); }; } &&
12429 { ac_try='test -s conftest.$ac_objext'
12430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12431 (eval $ac_try) 2>&5
12432 ac_status=$?
12433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12434 (exit $ac_status); }; }; then
12435 ac_cv_prog_cc_g=yes
12436 else
12437 echo "$as_me: failed program was:" >&5
12438 sed 's/^/| /' conftest.$ac_ext >&5
12439
12440 ac_cv_prog_cc_g=no
12441 fi
12442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12443 fi
12444 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12445 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12446 if test "$ac_test_CFLAGS" = set; then
12447 CFLAGS=$ac_save_CFLAGS
12448 elif test $ac_cv_prog_cc_g = yes; then
12449 if test "$GCC" = yes; then
12450 CFLAGS="-g -O2"
12451 else
12452 CFLAGS="-g"
12453 fi
12454 else
12455 if test "$GCC" = yes; then
12456 CFLAGS="-O2"
12457 else
12458 CFLAGS=
12459 fi
12460 fi
12461 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12462 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12463 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12464 echo $ECHO_N "(cached) $ECHO_C" >&6
12465 else
12466 ac_cv_prog_cc_stdc=no
12467 ac_save_CC=$CC
12468 cat >conftest.$ac_ext <<_ACEOF
12469 /* confdefs.h. */
12470 _ACEOF
12471 cat confdefs.h >>conftest.$ac_ext
12472 cat >>conftest.$ac_ext <<_ACEOF
12473 /* end confdefs.h. */
12474 #include <stdarg.h>
12475 #include <stdio.h>
12476 #include <sys/types.h>
12477 #include <sys/stat.h>
12478 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12479 struct buf { int x; };
12480 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12481 static char *e (p, i)
12482 char **p;
12483 int i;
12484 {
12485 return p[i];
12486 }
12487 static char *f (char * (*g) (char **, int), char **p, ...)
12488 {
12489 char *s;
12490 va_list v;
12491 va_start (v,p);
12492 s = g (p, va_arg (v,int));
12493 va_end (v);
12494 return s;
12495 }
12496
12497 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12498 function prototypes and stuff, but not '\xHH' hex character constants.
12499 These don't provoke an error unfortunately, instead are silently treated
12500 as 'x'. The following induces an error, until -std1 is added to get
12501 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12502 array size at least. It's necessary to write '\x00'==0 to get something
12503 that's true only with -std1. */
12504 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12505
12506 int test (int i, double x);
12507 struct s1 {int (*f) (int a);};
12508 struct s2 {int (*f) (double a);};
12509 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12510 int argc;
12511 char **argv;
12512 int
12513 main ()
12514 {
12515 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12516 ;
12517 return 0;
12518 }
12519 _ACEOF
12520 # Don't try gcc -ansi; that turns off useful extensions and
12521 # breaks some systems' header files.
12522 # AIX -qlanglvl=ansi
12523 # Ultrix and OSF/1 -std1
12524 # HP-UX 10.20 and later -Ae
12525 # HP-UX older versions -Aa -D_HPUX_SOURCE
12526 # SVR4 -Xc -D__EXTENSIONS__
12527 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12528 do
12529 CC="$ac_save_CC $ac_arg"
12530 rm -f conftest.$ac_objext
12531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12532 (eval $ac_compile) 2>conftest.er1
12533 ac_status=$?
12534 grep -v '^ *+' conftest.er1 >conftest.err
12535 rm -f conftest.er1
12536 cat conftest.err >&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); } &&
12539 { ac_try='test -z "$ac_c_werror_flag"
12540 || test ! -s conftest.err'
12541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12542 (eval $ac_try) 2>&5
12543 ac_status=$?
12544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12545 (exit $ac_status); }; } &&
12546 { ac_try='test -s conftest.$ac_objext'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12549 ac_status=$?
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; }; then
12552 ac_cv_prog_cc_stdc=$ac_arg
12553 break
12554 else
12555 echo "$as_me: failed program was:" >&5
12556 sed 's/^/| /' conftest.$ac_ext >&5
12557
12558 fi
12559 rm -f conftest.err conftest.$ac_objext
12560 done
12561 rm -f conftest.$ac_ext conftest.$ac_objext
12562 CC=$ac_save_CC
12563
12564 fi
12565
12566 case "x$ac_cv_prog_cc_stdc" in
12567 x|xno)
12568 echo "$as_me:$LINENO: result: none needed" >&5
12569 echo "${ECHO_T}none needed" >&6 ;;
12570 *)
12571 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12572 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12573 CC="$CC $ac_cv_prog_cc_stdc" ;;
12574 esac
12575
12576 # Some people use a C++ compiler to compile C. Since we use `exit',
12577 # in C++ we need to declare it. In case someone uses the same compiler
12578 # for both compiling C and C++ we need to have the C++ compiler decide
12579 # the declaration of exit, since it's the most demanding environment.
12580 cat >conftest.$ac_ext <<_ACEOF
12581 #ifndef __cplusplus
12582 choke me
12583 #endif
12584 _ACEOF
12585 rm -f conftest.$ac_objext
12586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12587 (eval $ac_compile) 2>conftest.er1
12588 ac_status=$?
12589 grep -v '^ *+' conftest.er1 >conftest.err
12590 rm -f conftest.er1
12591 cat conftest.err >&5
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); } &&
12594 { ac_try='test -z "$ac_c_werror_flag"
12595 || test ! -s conftest.err'
12596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12597 (eval $ac_try) 2>&5
12598 ac_status=$?
12599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12600 (exit $ac_status); }; } &&
12601 { ac_try='test -s conftest.$ac_objext'
12602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12603 (eval $ac_try) 2>&5
12604 ac_status=$?
12605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12606 (exit $ac_status); }; }; then
12607 for ac_declaration in \
12608 '' \
12609 'extern "C" void std::exit (int) throw (); using std::exit;' \
12610 'extern "C" void std::exit (int); using std::exit;' \
12611 'extern "C" void exit (int) throw ();' \
12612 'extern "C" void exit (int);' \
12613 'void exit (int);'
12614 do
12615 cat >conftest.$ac_ext <<_ACEOF
12616 /* confdefs.h. */
12617 _ACEOF
12618 cat confdefs.h >>conftest.$ac_ext
12619 cat >>conftest.$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12621 $ac_declaration
12622 #include <stdlib.h>
12623 int
12624 main ()
12625 {
12626 exit (42);
12627 ;
12628 return 0;
12629 }
12630 _ACEOF
12631 rm -f conftest.$ac_objext
12632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12633 (eval $ac_compile) 2>conftest.er1
12634 ac_status=$?
12635 grep -v '^ *+' conftest.er1 >conftest.err
12636 rm -f conftest.er1
12637 cat conftest.err >&5
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); } &&
12640 { ac_try='test -z "$ac_c_werror_flag"
12641 || test ! -s conftest.err'
12642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12643 (eval $ac_try) 2>&5
12644 ac_status=$?
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); }; } &&
12647 { ac_try='test -s conftest.$ac_objext'
12648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12649 (eval $ac_try) 2>&5
12650 ac_status=$?
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); }; }; then
12653 :
12654 else
12655 echo "$as_me: failed program was:" >&5
12656 sed 's/^/| /' conftest.$ac_ext >&5
12657
12658 continue
12659 fi
12660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
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 $ac_declaration
12668 int
12669 main ()
12670 {
12671 exit (42);
12672 ;
12673 return 0;
12674 }
12675 _ACEOF
12676 rm -f conftest.$ac_objext
12677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12678 (eval $ac_compile) 2>conftest.er1
12679 ac_status=$?
12680 grep -v '^ *+' conftest.er1 >conftest.err
12681 rm -f conftest.er1
12682 cat conftest.err >&5
12683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); } &&
12685 { ac_try='test -z "$ac_c_werror_flag"
12686 || test ! -s conftest.err'
12687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12688 (eval $ac_try) 2>&5
12689 ac_status=$?
12690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12691 (exit $ac_status); }; } &&
12692 { ac_try='test -s conftest.$ac_objext'
12693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12694 (eval $ac_try) 2>&5
12695 ac_status=$?
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); }; }; then
12698 break
12699 else
12700 echo "$as_me: failed program was:" >&5
12701 sed 's/^/| /' conftest.$ac_ext >&5
12702
12703 fi
12704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12705 done
12706 rm -f conftest*
12707 if test -n "$ac_declaration"; then
12708 echo '#ifdef __cplusplus' >>confdefs.h
12709 echo $ac_declaration >>confdefs.h
12710 echo '#endif' >>confdefs.h
12711 fi
12712
12713 else
12714 echo "$as_me: failed program was:" >&5
12715 sed 's/^/| /' conftest.$ac_ext >&5
12716
12717 fi
12718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12719 ac_ext=c
12720 ac_cpp='$CPP $CPPFLAGS'
12721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12724
12725
12726
12727 ac_ext=c
12728 ac_cpp='$CPP $CPPFLAGS'
12729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12732
12733 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12734 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12735 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12736 echo $ECHO_N "(cached) $ECHO_C" >&6
12737 else
12738 cat >conftest.$ac_ext <<_ACEOF
12739 /* confdefs.h. */
12740 _ACEOF
12741 cat confdefs.h >>conftest.$ac_ext
12742 cat >>conftest.$ac_ext <<_ACEOF
12743 /* end confdefs.h. */
12744
12745 int
12746 main ()
12747 {
12748
12749 #ifndef __INTEL_COMPILER
12750 choke me
12751 #endif
12752
12753 ;
12754 return 0;
12755 }
12756 _ACEOF
12757 rm -f conftest.$ac_objext
12758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12759 (eval $ac_compile) 2>conftest.er1
12760 ac_status=$?
12761 grep -v '^ *+' conftest.er1 >conftest.err
12762 rm -f conftest.er1
12763 cat conftest.err >&5
12764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12765 (exit $ac_status); } &&
12766 { ac_try='test -z "$ac_c_werror_flag"
12767 || test ! -s conftest.err'
12768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12769 (eval $ac_try) 2>&5
12770 ac_status=$?
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); }; } &&
12773 { ac_try='test -s conftest.$ac_objext'
12774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12775 (eval $ac_try) 2>&5
12776 ac_status=$?
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); }; }; then
12779 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12780 else
12781 echo "$as_me: failed program was:" >&5
12782 sed 's/^/| /' conftest.$ac_ext >&5
12783
12784 bakefile_cv_c_compiler___INTEL_COMPILER=no
12785
12786 fi
12787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12788
12789
12790 fi
12791 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12792 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12793 ac_ext=c
12794 ac_cpp='$CPP $CPPFLAGS'
12795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12798
12799 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12800 :; INTELCC=yes
12801 else
12802 :;
12803 fi
12804
12805
12806 if test "x$GCC" != "xyes"; then
12807 if test "xCC" = "xC"; then
12808 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12809 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12810 if test "${bakefile_cv_c_exto+set}" = set; then
12811 echo $ECHO_N "(cached) $ECHO_C" >&6
12812 else
12813 cat >conftest.$ac_ext <<_ACEOF
12814 /* confdefs.h. */
12815 _ACEOF
12816 cat confdefs.h >>conftest.$ac_ext
12817 cat >>conftest.$ac_ext <<_ACEOF
12818 /* end confdefs.h. */
12819
12820 int
12821 main ()
12822 {
12823
12824 ;
12825 return 0;
12826 }
12827 _ACEOF
12828 rm -f conftest.$ac_objext conftest.$ac_ext.o
12829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12830 (eval $ac_compile) 2>&5
12831 ac_status=$?
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; then
12834 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12835 case $ac_file in
12836 conftest.$ac_ext.o)
12837 bakefile_cv_c_exto="-ext o"
12838 ;;
12839 *)
12840 ;;
12841 esac
12842 done
12843 else
12844 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12845 See \`config.log' for more details." >&5
12846 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12847 See \`config.log' for more details." >&2;}
12848 { (exit 1); exit 1; }; }
12849
12850 fi
12851
12852 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12853
12854 fi
12855 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12856 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12857 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12858 if test "c" = "c"; then
12859 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12860 fi
12861 if test "c" = "cxx"; then
12862 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12863 fi
12864 fi
12865
12866 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12867 unset ac_cv_prog_cc_g
12868 ac_test_CFLAGS=${CFLAGS+set}
12869 ac_save_CFLAGS=$CFLAGS
12870 CFLAGS="-g"
12871 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12872 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12873 if test "${ac_cv_prog_cc_g+set}" = set; then
12874 echo $ECHO_N "(cached) $ECHO_C" >&6
12875 else
12876 cat >conftest.$ac_ext <<_ACEOF
12877 /* confdefs.h. */
12878 _ACEOF
12879 cat confdefs.h >>conftest.$ac_ext
12880 cat >>conftest.$ac_ext <<_ACEOF
12881 /* end confdefs.h. */
12882
12883 int
12884 main ()
12885 {
12886
12887 ;
12888 return 0;
12889 }
12890 _ACEOF
12891 rm -f conftest.$ac_objext
12892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12893 (eval $ac_compile) 2>conftest.er1
12894 ac_status=$?
12895 grep -v '^ *+' conftest.er1 >conftest.err
12896 rm -f conftest.er1
12897 cat conftest.err >&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } &&
12900 { ac_try='test -z "$ac_c_werror_flag"
12901 || test ! -s conftest.err'
12902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12903 (eval $ac_try) 2>&5
12904 ac_status=$?
12905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906 (exit $ac_status); }; } &&
12907 { ac_try='test -s conftest.$ac_objext'
12908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12909 (eval $ac_try) 2>&5
12910 ac_status=$?
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); }; }; then
12913 ac_cv_prog_cc_g=yes
12914 else
12915 echo "$as_me: failed program was:" >&5
12916 sed 's/^/| /' conftest.$ac_ext >&5
12917
12918 ac_cv_prog_cc_g=no
12919 fi
12920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12921 fi
12922 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12923 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12924 if test "$ac_test_CFLAGS" = set; then
12925 CFLAGS=$ac_save_CFLAGS
12926 elif test $ac_cv_prog_cc_g = yes; then
12927 if test "$GCC" = yes; then
12928 CFLAGS="-g -O2"
12929 else
12930 CFLAGS="-g"
12931 fi
12932 else
12933 if test "$GCC" = yes; then
12934 CFLAGS="-O2"
12935 else
12936 CFLAGS=
12937 fi
12938 fi
12939 fi
12940 fi
12941
12942 case `uname -s` in
12943 AIX*)
12944 ac_ext=c
12945 ac_cpp='$CPP $CPPFLAGS'
12946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12949
12950 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12951 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12952 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12953 echo $ECHO_N "(cached) $ECHO_C" >&6
12954 else
12955 cat >conftest.$ac_ext <<_ACEOF
12956 /* confdefs.h. */
12957 _ACEOF
12958 cat confdefs.h >>conftest.$ac_ext
12959 cat >>conftest.$ac_ext <<_ACEOF
12960 /* end confdefs.h. */
12961
12962 int
12963 main ()
12964 {
12965 #ifndef __xlC__
12966 choke me
12967 #endif
12968
12969 ;
12970 return 0;
12971 }
12972 _ACEOF
12973 rm -f conftest.$ac_objext
12974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12975 (eval $ac_compile) 2>conftest.er1
12976 ac_status=$?
12977 grep -v '^ *+' conftest.er1 >conftest.err
12978 rm -f conftest.er1
12979 cat conftest.err >&5
12980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12981 (exit $ac_status); } &&
12982 { ac_try='test -z "$ac_c_werror_flag"
12983 || test ! -s conftest.err'
12984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12985 (eval $ac_try) 2>&5
12986 ac_status=$?
12987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12988 (exit $ac_status); }; } &&
12989 { ac_try='test -s conftest.$ac_objext'
12990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12991 (eval $ac_try) 2>&5
12992 ac_status=$?
12993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12994 (exit $ac_status); }; }; then
12995 bakefile_compiler_xlc=yes
12996 else
12997 echo "$as_me: failed program was:" >&5
12998 sed 's/^/| /' conftest.$ac_ext >&5
12999
13000 bakefile_compiler_xlc=no
13001 fi
13002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13003 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13004
13005 fi
13006 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13007 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13008
13009 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13010 ac_ext=c
13011 ac_cpp='$CPP $CPPFLAGS'
13012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13015
13016
13017 ;;
13018
13019 Darwin)
13020 ac_ext=c
13021 ac_cpp='$CPP $CPPFLAGS'
13022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13025
13026 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13027 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13028 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13029 echo $ECHO_N "(cached) $ECHO_C" >&6
13030 else
13031 cat >conftest.$ac_ext <<_ACEOF
13032 /* confdefs.h. */
13033 _ACEOF
13034 cat confdefs.h >>conftest.$ac_ext
13035 cat >>conftest.$ac_ext <<_ACEOF
13036 /* end confdefs.h. */
13037
13038 int
13039 main ()
13040 {
13041 #ifndef __MWERKS__
13042 choke me
13043 #endif
13044
13045 ;
13046 return 0;
13047 }
13048 _ACEOF
13049 rm -f conftest.$ac_objext
13050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13051 (eval $ac_compile) 2>conftest.er1
13052 ac_status=$?
13053 grep -v '^ *+' conftest.er1 >conftest.err
13054 rm -f conftest.er1
13055 cat conftest.err >&5
13056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057 (exit $ac_status); } &&
13058 { ac_try='test -z "$ac_c_werror_flag"
13059 || test ! -s conftest.err'
13060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13061 (eval $ac_try) 2>&5
13062 ac_status=$?
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); }; } &&
13065 { ac_try='test -s conftest.$ac_objext'
13066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067 (eval $ac_try) 2>&5
13068 ac_status=$?
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; }; then
13071 bakefile_compiler_mwerks=yes
13072 else
13073 echo "$as_me: failed program was:" >&5
13074 sed 's/^/| /' conftest.$ac_ext >&5
13075
13076 bakefile_compiler_mwerks=no
13077 fi
13078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13079 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13080
13081 fi
13082 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13083 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13084
13085 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13086 ac_ext=c
13087 ac_cpp='$CPP $CPPFLAGS'
13088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13091
13092
13093 ac_ext=c
13094 ac_cpp='$CPP $CPPFLAGS'
13095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13098
13099 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13100 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13101 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13102 echo $ECHO_N "(cached) $ECHO_C" >&6
13103 else
13104 cat >conftest.$ac_ext <<_ACEOF
13105 /* confdefs.h. */
13106 _ACEOF
13107 cat confdefs.h >>conftest.$ac_ext
13108 cat >>conftest.$ac_ext <<_ACEOF
13109 /* end confdefs.h. */
13110
13111 int
13112 main ()
13113 {
13114 #ifndef __xlC__
13115 choke me
13116 #endif
13117
13118 ;
13119 return 0;
13120 }
13121 _ACEOF
13122 rm -f conftest.$ac_objext
13123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13124 (eval $ac_compile) 2>conftest.er1
13125 ac_status=$?
13126 grep -v '^ *+' conftest.er1 >conftest.err
13127 rm -f conftest.er1
13128 cat conftest.err >&5
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); } &&
13131 { ac_try='test -z "$ac_c_werror_flag"
13132 || test ! -s conftest.err'
13133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13134 (eval $ac_try) 2>&5
13135 ac_status=$?
13136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13137 (exit $ac_status); }; } &&
13138 { ac_try='test -s conftest.$ac_objext'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140 (eval $ac_try) 2>&5
13141 ac_status=$?
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; }; then
13144 bakefile_compiler_xlc=yes
13145 else
13146 echo "$as_me: failed program was:" >&5
13147 sed 's/^/| /' conftest.$ac_ext >&5
13148
13149 bakefile_compiler_xlc=no
13150 fi
13151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13152 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13153
13154 fi
13155 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13156 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13157
13158 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13159 ac_ext=c
13160 ac_cpp='$CPP $CPPFLAGS'
13161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13164
13165
13166 ;;
13167
13168 IRIX*)
13169
13170
13171 ac_ext=c
13172 ac_cpp='$CPP $CPPFLAGS'
13173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13176
13177 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13178 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13179 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13180 echo $ECHO_N "(cached) $ECHO_C" >&6
13181 else
13182 cat >conftest.$ac_ext <<_ACEOF
13183 /* confdefs.h. */
13184 _ACEOF
13185 cat confdefs.h >>conftest.$ac_ext
13186 cat >>conftest.$ac_ext <<_ACEOF
13187 /* end confdefs.h. */
13188
13189 int
13190 main ()
13191 {
13192
13193 #ifndef _SGI_COMPILER_VERSION
13194 choke me
13195 #endif
13196
13197 ;
13198 return 0;
13199 }
13200 _ACEOF
13201 rm -f conftest.$ac_objext
13202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13203 (eval $ac_compile) 2>conftest.er1
13204 ac_status=$?
13205 grep -v '^ *+' conftest.er1 >conftest.err
13206 rm -f conftest.er1
13207 cat conftest.err >&5
13208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13209 (exit $ac_status); } &&
13210 { ac_try='test -z "$ac_c_werror_flag"
13211 || test ! -s conftest.err'
13212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13213 (eval $ac_try) 2>&5
13214 ac_status=$?
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); }; } &&
13217 { ac_try='test -s conftest.$ac_objext'
13218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13219 (eval $ac_try) 2>&5
13220 ac_status=$?
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); }; }; then
13223 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13224 else
13225 echo "$as_me: failed program was:" >&5
13226 sed 's/^/| /' conftest.$ac_ext >&5
13227
13228 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13229
13230 fi
13231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13232
13233
13234 fi
13235 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13236 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13237 ac_ext=c
13238 ac_cpp='$CPP $CPPFLAGS'
13239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13242
13243 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13244 :; SGICC=yes
13245 else
13246 :;
13247 fi
13248
13249
13250 ;;
13251
13252 HP-UX*)
13253
13254
13255 ac_ext=c
13256 ac_cpp='$CPP $CPPFLAGS'
13257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13260
13261 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13262 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13263 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13264 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 else
13266 cat >conftest.$ac_ext <<_ACEOF
13267 /* confdefs.h. */
13268 _ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272
13273 int
13274 main ()
13275 {
13276
13277 #ifndef __HP_cc
13278 choke me
13279 #endif
13280
13281 ;
13282 return 0;
13283 }
13284 _ACEOF
13285 rm -f conftest.$ac_objext
13286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13287 (eval $ac_compile) 2>conftest.er1
13288 ac_status=$?
13289 grep -v '^ *+' conftest.er1 >conftest.err
13290 rm -f conftest.er1
13291 cat conftest.err >&5
13292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13293 (exit $ac_status); } &&
13294 { ac_try='test -z "$ac_c_werror_flag"
13295 || test ! -s conftest.err'
13296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13297 (eval $ac_try) 2>&5
13298 ac_status=$?
13299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); }; } &&
13301 { ac_try='test -s conftest.$ac_objext'
13302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13303 (eval $ac_try) 2>&5
13304 ac_status=$?
13305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13306 (exit $ac_status); }; }; then
13307 bakefile_cv_c_compiler___HP_cc=yes
13308 else
13309 echo "$as_me: failed program was:" >&5
13310 sed 's/^/| /' conftest.$ac_ext >&5
13311
13312 bakefile_cv_c_compiler___HP_cc=no
13313
13314 fi
13315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13316
13317
13318 fi
13319 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13320 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13321 ac_ext=c
13322 ac_cpp='$CPP $CPPFLAGS'
13323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13326
13327 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13328 :; HPCC=yes
13329 else
13330 :;
13331 fi
13332
13333
13334 ;;
13335
13336 OSF1)
13337
13338
13339 ac_ext=c
13340 ac_cpp='$CPP $CPPFLAGS'
13341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13344
13345 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13346 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13347 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13348 echo $ECHO_N "(cached) $ECHO_C" >&6
13349 else
13350 cat >conftest.$ac_ext <<_ACEOF
13351 /* confdefs.h. */
13352 _ACEOF
13353 cat confdefs.h >>conftest.$ac_ext
13354 cat >>conftest.$ac_ext <<_ACEOF
13355 /* end confdefs.h. */
13356
13357 int
13358 main ()
13359 {
13360
13361 #ifndef __DECC
13362 choke me
13363 #endif
13364
13365 ;
13366 return 0;
13367 }
13368 _ACEOF
13369 rm -f conftest.$ac_objext
13370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13371 (eval $ac_compile) 2>conftest.er1
13372 ac_status=$?
13373 grep -v '^ *+' conftest.er1 >conftest.err
13374 rm -f conftest.er1
13375 cat conftest.err >&5
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); } &&
13378 { ac_try='test -z "$ac_c_werror_flag"
13379 || test ! -s conftest.err'
13380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13381 (eval $ac_try) 2>&5
13382 ac_status=$?
13383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13384 (exit $ac_status); }; } &&
13385 { ac_try='test -s conftest.$ac_objext'
13386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13387 (eval $ac_try) 2>&5
13388 ac_status=$?
13389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390 (exit $ac_status); }; }; then
13391 bakefile_cv_c_compiler___DECC=yes
13392 else
13393 echo "$as_me: failed program was:" >&5
13394 sed 's/^/| /' conftest.$ac_ext >&5
13395
13396 bakefile_cv_c_compiler___DECC=no
13397
13398 fi
13399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13400
13401
13402 fi
13403 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13404 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13405 ac_ext=c
13406 ac_cpp='$CPP $CPPFLAGS'
13407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13410
13411 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13412 :; COMPAQCC=yes
13413 else
13414 :;
13415 fi
13416
13417
13418 ;;
13419
13420 SunOS)
13421
13422
13423 ac_ext=c
13424 ac_cpp='$CPP $CPPFLAGS'
13425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13428
13429 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13430 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13431 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13432 echo $ECHO_N "(cached) $ECHO_C" >&6
13433 else
13434 cat >conftest.$ac_ext <<_ACEOF
13435 /* confdefs.h. */
13436 _ACEOF
13437 cat confdefs.h >>conftest.$ac_ext
13438 cat >>conftest.$ac_ext <<_ACEOF
13439 /* end confdefs.h. */
13440
13441 int
13442 main ()
13443 {
13444
13445 #ifndef __SUNPRO_C
13446 choke me
13447 #endif
13448
13449 ;
13450 return 0;
13451 }
13452 _ACEOF
13453 rm -f conftest.$ac_objext
13454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13455 (eval $ac_compile) 2>conftest.er1
13456 ac_status=$?
13457 grep -v '^ *+' conftest.er1 >conftest.err
13458 rm -f conftest.er1
13459 cat conftest.err >&5
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); } &&
13462 { ac_try='test -z "$ac_c_werror_flag"
13463 || test ! -s conftest.err'
13464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13465 (eval $ac_try) 2>&5
13466 ac_status=$?
13467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13468 (exit $ac_status); }; } &&
13469 { ac_try='test -s conftest.$ac_objext'
13470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13471 (eval $ac_try) 2>&5
13472 ac_status=$?
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); }; }; then
13475 bakefile_cv_c_compiler___SUNPRO_C=yes
13476 else
13477 echo "$as_me: failed program was:" >&5
13478 sed 's/^/| /' conftest.$ac_ext >&5
13479
13480 bakefile_cv_c_compiler___SUNPRO_C=no
13481
13482 fi
13483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13484
13485
13486 fi
13487 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13488 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13489 ac_ext=c
13490 ac_cpp='$CPP $CPPFLAGS'
13491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13494
13495 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13496 :; SUNCC=yes
13497 else
13498 :;
13499 fi
13500
13501
13502 ;;
13503 esac
13504 fi
13505
13506
13507
13508 ac_ext=c
13509 ac_cpp='$CPP $CPPFLAGS'
13510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13513 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13514 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13515 # On Suns, sometimes $CPP names a directory.
13516 if test -n "$CPP" && test -d "$CPP"; then
13517 CPP=
13518 fi
13519 if test -z "$CPP"; then
13520 if test "${ac_cv_prog_CPP+set}" = set; then
13521 echo $ECHO_N "(cached) $ECHO_C" >&6
13522 else
13523 # Double quotes because CPP needs to be expanded
13524 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13525 do
13526 ac_preproc_ok=false
13527 for ac_c_preproc_warn_flag in '' yes
13528 do
13529 # Use a header file that comes with gcc, so configuring glibc
13530 # with a fresh cross-compiler works.
13531 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13532 # <limits.h> exists even on freestanding compilers.
13533 # On the NeXT, cc -E runs the code through the compiler's parser,
13534 # not just through cpp. "Syntax error" is here to catch this case.
13535 cat >conftest.$ac_ext <<_ACEOF
13536 /* confdefs.h. */
13537 _ACEOF
13538 cat confdefs.h >>conftest.$ac_ext
13539 cat >>conftest.$ac_ext <<_ACEOF
13540 /* end confdefs.h. */
13541 #ifdef __STDC__
13542 # include <limits.h>
13543 #else
13544 # include <assert.h>
13545 #endif
13546 Syntax error
13547 _ACEOF
13548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13549 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13550 ac_status=$?
13551 grep -v '^ *+' conftest.er1 >conftest.err
13552 rm -f conftest.er1
13553 cat conftest.err >&5
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 (exit $ac_status); } >/dev/null; then
13556 if test -s conftest.err; then
13557 ac_cpp_err=$ac_c_preproc_warn_flag
13558 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13559 else
13560 ac_cpp_err=
13561 fi
13562 else
13563 ac_cpp_err=yes
13564 fi
13565 if test -z "$ac_cpp_err"; then
13566 :
13567 else
13568 echo "$as_me: failed program was:" >&5
13569 sed 's/^/| /' conftest.$ac_ext >&5
13570
13571 # Broken: fails on valid input.
13572 continue
13573 fi
13574 rm -f conftest.err conftest.$ac_ext
13575
13576 # OK, works on sane cases. Now check whether non-existent headers
13577 # can be detected and how.
13578 cat >conftest.$ac_ext <<_ACEOF
13579 /* confdefs.h. */
13580 _ACEOF
13581 cat confdefs.h >>conftest.$ac_ext
13582 cat >>conftest.$ac_ext <<_ACEOF
13583 /* end confdefs.h. */
13584 #include <ac_nonexistent.h>
13585 _ACEOF
13586 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13587 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13588 ac_status=$?
13589 grep -v '^ *+' conftest.er1 >conftest.err
13590 rm -f conftest.er1
13591 cat conftest.err >&5
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); } >/dev/null; then
13594 if test -s conftest.err; then
13595 ac_cpp_err=$ac_c_preproc_warn_flag
13596 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13597 else
13598 ac_cpp_err=
13599 fi
13600 else
13601 ac_cpp_err=yes
13602 fi
13603 if test -z "$ac_cpp_err"; then
13604 # Broken: success on invalid input.
13605 continue
13606 else
13607 echo "$as_me: failed program was:" >&5
13608 sed 's/^/| /' conftest.$ac_ext >&5
13609
13610 # Passes both tests.
13611 ac_preproc_ok=:
13612 break
13613 fi
13614 rm -f conftest.err conftest.$ac_ext
13615
13616 done
13617 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13618 rm -f conftest.err conftest.$ac_ext
13619 if $ac_preproc_ok; then
13620 break
13621 fi
13622
13623 done
13624 ac_cv_prog_CPP=$CPP
13625
13626 fi
13627 CPP=$ac_cv_prog_CPP
13628 else
13629 ac_cv_prog_CPP=$CPP
13630 fi
13631 echo "$as_me:$LINENO: result: $CPP" >&5
13632 echo "${ECHO_T}$CPP" >&6
13633 ac_preproc_ok=false
13634 for ac_c_preproc_warn_flag in '' yes
13635 do
13636 # Use a header file that comes with gcc, so configuring glibc
13637 # with a fresh cross-compiler works.
13638 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13639 # <limits.h> exists even on freestanding compilers.
13640 # On the NeXT, cc -E runs the code through the compiler's parser,
13641 # not just through cpp. "Syntax error" is here to catch this case.
13642 cat >conftest.$ac_ext <<_ACEOF
13643 /* confdefs.h. */
13644 _ACEOF
13645 cat confdefs.h >>conftest.$ac_ext
13646 cat >>conftest.$ac_ext <<_ACEOF
13647 /* end confdefs.h. */
13648 #ifdef __STDC__
13649 # include <limits.h>
13650 #else
13651 # include <assert.h>
13652 #endif
13653 Syntax error
13654 _ACEOF
13655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13657 ac_status=$?
13658 grep -v '^ *+' conftest.er1 >conftest.err
13659 rm -f conftest.er1
13660 cat conftest.err >&5
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); } >/dev/null; then
13663 if test -s conftest.err; then
13664 ac_cpp_err=$ac_c_preproc_warn_flag
13665 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13666 else
13667 ac_cpp_err=
13668 fi
13669 else
13670 ac_cpp_err=yes
13671 fi
13672 if test -z "$ac_cpp_err"; then
13673 :
13674 else
13675 echo "$as_me: failed program was:" >&5
13676 sed 's/^/| /' conftest.$ac_ext >&5
13677
13678 # Broken: fails on valid input.
13679 continue
13680 fi
13681 rm -f conftest.err conftest.$ac_ext
13682
13683 # OK, works on sane cases. Now check whether non-existent headers
13684 # can be detected and how.
13685 cat >conftest.$ac_ext <<_ACEOF
13686 /* confdefs.h. */
13687 _ACEOF
13688 cat confdefs.h >>conftest.$ac_ext
13689 cat >>conftest.$ac_ext <<_ACEOF
13690 /* end confdefs.h. */
13691 #include <ac_nonexistent.h>
13692 _ACEOF
13693 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13694 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13695 ac_status=$?
13696 grep -v '^ *+' conftest.er1 >conftest.err
13697 rm -f conftest.er1
13698 cat conftest.err >&5
13699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700 (exit $ac_status); } >/dev/null; then
13701 if test -s conftest.err; then
13702 ac_cpp_err=$ac_c_preproc_warn_flag
13703 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13704 else
13705 ac_cpp_err=
13706 fi
13707 else
13708 ac_cpp_err=yes
13709 fi
13710 if test -z "$ac_cpp_err"; then
13711 # Broken: success on invalid input.
13712 continue
13713 else
13714 echo "$as_me: failed program was:" >&5
13715 sed 's/^/| /' conftest.$ac_ext >&5
13716
13717 # Passes both tests.
13718 ac_preproc_ok=:
13719 break
13720 fi
13721 rm -f conftest.err conftest.$ac_ext
13722
13723 done
13724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13725 rm -f conftest.err conftest.$ac_ext
13726 if $ac_preproc_ok; then
13727 :
13728 else
13729 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13730 See \`config.log' for more details." >&5
13731 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13732 See \`config.log' for more details." >&2;}
13733 { (exit 1); exit 1; }; }
13734 fi
13735
13736 ac_ext=c
13737 ac_cpp='$CPP $CPPFLAGS'
13738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13741
13742
13743 echo "$as_me:$LINENO: checking for egrep" >&5
13744 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13745 if test "${ac_cv_prog_egrep+set}" = set; then
13746 echo $ECHO_N "(cached) $ECHO_C" >&6
13747 else
13748 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13749 then ac_cv_prog_egrep='grep -E'
13750 else ac_cv_prog_egrep='egrep'
13751 fi
13752 fi
13753 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13754 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13755 EGREP=$ac_cv_prog_egrep
13756
13757
13758 if test $ac_cv_c_compiler_gnu = yes; then
13759 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13760 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13761 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13762 echo $ECHO_N "(cached) $ECHO_C" >&6
13763 else
13764 ac_pattern="Autoconf.*'x'"
13765 cat >conftest.$ac_ext <<_ACEOF
13766 /* confdefs.h. */
13767 _ACEOF
13768 cat confdefs.h >>conftest.$ac_ext
13769 cat >>conftest.$ac_ext <<_ACEOF
13770 /* end confdefs.h. */
13771 #include <sgtty.h>
13772 Autoconf TIOCGETP
13773 _ACEOF
13774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13775 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13776 ac_cv_prog_gcc_traditional=yes
13777 else
13778 ac_cv_prog_gcc_traditional=no
13779 fi
13780 rm -f conftest*
13781
13782
13783 if test $ac_cv_prog_gcc_traditional = no; then
13784 cat >conftest.$ac_ext <<_ACEOF
13785 /* confdefs.h. */
13786 _ACEOF
13787 cat confdefs.h >>conftest.$ac_ext
13788 cat >>conftest.$ac_ext <<_ACEOF
13789 /* end confdefs.h. */
13790 #include <termio.h>
13791 Autoconf TCGETA
13792 _ACEOF
13793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13794 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13795 ac_cv_prog_gcc_traditional=yes
13796 fi
13797 rm -f conftest*
13798
13799 fi
13800 fi
13801 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13802 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13803 if test $ac_cv_prog_gcc_traditional = yes; then
13804 CC="$CC -traditional"
13805 fi
13806 fi
13807
13808
13809 ac_ext=cc
13810 ac_cpp='$CXXCPP $CPPFLAGS'
13811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13814
13815
13816 CXXFLAGS=${CXXFLAGS:=}
13817
13818
13819
13820 ac_ext=cc
13821 ac_cpp='$CXXCPP $CPPFLAGS'
13822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13825 if test -n "$ac_tool_prefix"; then
13826 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13827 do
13828 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13829 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13830 echo "$as_me:$LINENO: checking for $ac_word" >&5
13831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13832 if test "${ac_cv_prog_CXX+set}" = set; then
13833 echo $ECHO_N "(cached) $ECHO_C" >&6
13834 else
13835 if test -n "$CXX"; then
13836 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13837 else
13838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13839 for as_dir in $PATH
13840 do
13841 IFS=$as_save_IFS
13842 test -z "$as_dir" && as_dir=.
13843 for ac_exec_ext in '' $ac_executable_extensions; do
13844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13845 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13847 break 2
13848 fi
13849 done
13850 done
13851
13852 fi
13853 fi
13854 CXX=$ac_cv_prog_CXX
13855 if test -n "$CXX"; then
13856 echo "$as_me:$LINENO: result: $CXX" >&5
13857 echo "${ECHO_T}$CXX" >&6
13858 else
13859 echo "$as_me:$LINENO: result: no" >&5
13860 echo "${ECHO_T}no" >&6
13861 fi
13862
13863 test -n "$CXX" && break
13864 done
13865 fi
13866 if test -z "$CXX"; then
13867 ac_ct_CXX=$CXX
13868 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13869 do
13870 # Extract the first word of "$ac_prog", so it can be a program name with args.
13871 set dummy $ac_prog; ac_word=$2
13872 echo "$as_me:$LINENO: checking for $ac_word" >&5
13873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13874 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13876 else
13877 if test -n "$ac_ct_CXX"; then
13878 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13879 else
13880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13881 for as_dir in $PATH
13882 do
13883 IFS=$as_save_IFS
13884 test -z "$as_dir" && as_dir=.
13885 for ac_exec_ext in '' $ac_executable_extensions; do
13886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13887 ac_cv_prog_ac_ct_CXX="$ac_prog"
13888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13889 break 2
13890 fi
13891 done
13892 done
13893
13894 fi
13895 fi
13896 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13897 if test -n "$ac_ct_CXX"; then
13898 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13899 echo "${ECHO_T}$ac_ct_CXX" >&6
13900 else
13901 echo "$as_me:$LINENO: result: no" >&5
13902 echo "${ECHO_T}no" >&6
13903 fi
13904
13905 test -n "$ac_ct_CXX" && break
13906 done
13907 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13908
13909 CXX=$ac_ct_CXX
13910 fi
13911
13912
13913 # Provide some information about the compiler.
13914 echo "$as_me:$LINENO:" \
13915 "checking for C++ compiler version" >&5
13916 ac_compiler=`set X $ac_compile; echo $2`
13917 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13918 (eval $ac_compiler --version </dev/null >&5) 2>&5
13919 ac_status=$?
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }
13922 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13923 (eval $ac_compiler -v </dev/null >&5) 2>&5
13924 ac_status=$?
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); }
13927 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13928 (eval $ac_compiler -V </dev/null >&5) 2>&5
13929 ac_status=$?
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); }
13932
13933 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13934 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13935 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13936 echo $ECHO_N "(cached) $ECHO_C" >&6
13937 else
13938 cat >conftest.$ac_ext <<_ACEOF
13939 /* confdefs.h. */
13940 _ACEOF
13941 cat confdefs.h >>conftest.$ac_ext
13942 cat >>conftest.$ac_ext <<_ACEOF
13943 /* end confdefs.h. */
13944
13945 int
13946 main ()
13947 {
13948 #ifndef __GNUC__
13949 choke me
13950 #endif
13951
13952 ;
13953 return 0;
13954 }
13955 _ACEOF
13956 rm -f conftest.$ac_objext
13957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13958 (eval $ac_compile) 2>conftest.er1
13959 ac_status=$?
13960 grep -v '^ *+' conftest.er1 >conftest.err
13961 rm -f conftest.er1
13962 cat conftest.err >&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); } &&
13965 { ac_try='test -z "$ac_cxx_werror_flag"
13966 || test ! -s conftest.err'
13967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13968 (eval $ac_try) 2>&5
13969 ac_status=$?
13970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13971 (exit $ac_status); }; } &&
13972 { ac_try='test -s conftest.$ac_objext'
13973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13974 (eval $ac_try) 2>&5
13975 ac_status=$?
13976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977 (exit $ac_status); }; }; then
13978 ac_compiler_gnu=yes
13979 else
13980 echo "$as_me: failed program was:" >&5
13981 sed 's/^/| /' conftest.$ac_ext >&5
13982
13983 ac_compiler_gnu=no
13984 fi
13985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13986 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13987
13988 fi
13989 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13990 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13991 GXX=`test $ac_compiler_gnu = yes && echo yes`
13992 ac_test_CXXFLAGS=${CXXFLAGS+set}
13993 ac_save_CXXFLAGS=$CXXFLAGS
13994 CXXFLAGS="-g"
13995 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13996 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13997 if test "${ac_cv_prog_cxx_g+set}" = set; then
13998 echo $ECHO_N "(cached) $ECHO_C" >&6
13999 else
14000 cat >conftest.$ac_ext <<_ACEOF
14001 /* confdefs.h. */
14002 _ACEOF
14003 cat confdefs.h >>conftest.$ac_ext
14004 cat >>conftest.$ac_ext <<_ACEOF
14005 /* end confdefs.h. */
14006
14007 int
14008 main ()
14009 {
14010
14011 ;
14012 return 0;
14013 }
14014 _ACEOF
14015 rm -f conftest.$ac_objext
14016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14017 (eval $ac_compile) 2>conftest.er1
14018 ac_status=$?
14019 grep -v '^ *+' conftest.er1 >conftest.err
14020 rm -f conftest.er1
14021 cat conftest.err >&5
14022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14023 (exit $ac_status); } &&
14024 { ac_try='test -z "$ac_cxx_werror_flag"
14025 || test ! -s conftest.err'
14026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027 (eval $ac_try) 2>&5
14028 ac_status=$?
14029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030 (exit $ac_status); }; } &&
14031 { ac_try='test -s conftest.$ac_objext'
14032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14033 (eval $ac_try) 2>&5
14034 ac_status=$?
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); }; }; then
14037 ac_cv_prog_cxx_g=yes
14038 else
14039 echo "$as_me: failed program was:" >&5
14040 sed 's/^/| /' conftest.$ac_ext >&5
14041
14042 ac_cv_prog_cxx_g=no
14043 fi
14044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14045 fi
14046 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14047 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14048 if test "$ac_test_CXXFLAGS" = set; then
14049 CXXFLAGS=$ac_save_CXXFLAGS
14050 elif test $ac_cv_prog_cxx_g = yes; then
14051 if test "$GXX" = yes; then
14052 CXXFLAGS="-g -O2"
14053 else
14054 CXXFLAGS="-g"
14055 fi
14056 else
14057 if test "$GXX" = yes; then
14058 CXXFLAGS="-O2"
14059 else
14060 CXXFLAGS=
14061 fi
14062 fi
14063 for ac_declaration in \
14064 '' \
14065 'extern "C" void std::exit (int) throw (); using std::exit;' \
14066 'extern "C" void std::exit (int); using std::exit;' \
14067 'extern "C" void exit (int) throw ();' \
14068 'extern "C" void exit (int);' \
14069 'void exit (int);'
14070 do
14071 cat >conftest.$ac_ext <<_ACEOF
14072 /* confdefs.h. */
14073 _ACEOF
14074 cat confdefs.h >>conftest.$ac_ext
14075 cat >>conftest.$ac_ext <<_ACEOF
14076 /* end confdefs.h. */
14077 $ac_declaration
14078 #include <stdlib.h>
14079 int
14080 main ()
14081 {
14082 exit (42);
14083 ;
14084 return 0;
14085 }
14086 _ACEOF
14087 rm -f conftest.$ac_objext
14088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14089 (eval $ac_compile) 2>conftest.er1
14090 ac_status=$?
14091 grep -v '^ *+' conftest.er1 >conftest.err
14092 rm -f conftest.er1
14093 cat conftest.err >&5
14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14095 (exit $ac_status); } &&
14096 { ac_try='test -z "$ac_cxx_werror_flag"
14097 || test ! -s conftest.err'
14098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14099 (eval $ac_try) 2>&5
14100 ac_status=$?
14101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14102 (exit $ac_status); }; } &&
14103 { ac_try='test -s conftest.$ac_objext'
14104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14105 (eval $ac_try) 2>&5
14106 ac_status=$?
14107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14108 (exit $ac_status); }; }; then
14109 :
14110 else
14111 echo "$as_me: failed program was:" >&5
14112 sed 's/^/| /' conftest.$ac_ext >&5
14113
14114 continue
14115 fi
14116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14117 cat >conftest.$ac_ext <<_ACEOF
14118 /* confdefs.h. */
14119 _ACEOF
14120 cat confdefs.h >>conftest.$ac_ext
14121 cat >>conftest.$ac_ext <<_ACEOF
14122 /* end confdefs.h. */
14123 $ac_declaration
14124 int
14125 main ()
14126 {
14127 exit (42);
14128 ;
14129 return 0;
14130 }
14131 _ACEOF
14132 rm -f conftest.$ac_objext
14133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14134 (eval $ac_compile) 2>conftest.er1
14135 ac_status=$?
14136 grep -v '^ *+' conftest.er1 >conftest.err
14137 rm -f conftest.er1
14138 cat conftest.err >&5
14139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14140 (exit $ac_status); } &&
14141 { ac_try='test -z "$ac_cxx_werror_flag"
14142 || test ! -s conftest.err'
14143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14144 (eval $ac_try) 2>&5
14145 ac_status=$?
14146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); }; } &&
14148 { ac_try='test -s conftest.$ac_objext'
14149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14150 (eval $ac_try) 2>&5
14151 ac_status=$?
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); }; }; then
14154 break
14155 else
14156 echo "$as_me: failed program was:" >&5
14157 sed 's/^/| /' conftest.$ac_ext >&5
14158
14159 fi
14160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14161 done
14162 rm -f conftest*
14163 if test -n "$ac_declaration"; then
14164 echo '#ifdef __cplusplus' >>confdefs.h
14165 echo $ac_declaration >>confdefs.h
14166 echo '#endif' >>confdefs.h
14167 fi
14168
14169 ac_ext=cc
14170 ac_cpp='$CXXCPP $CPPFLAGS'
14171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14174
14175
14176
14177 ac_ext=cc
14178 ac_cpp='$CXXCPP $CPPFLAGS'
14179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14182
14183 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14184 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14185 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14186 echo $ECHO_N "(cached) $ECHO_C" >&6
14187 else
14188 cat >conftest.$ac_ext <<_ACEOF
14189 /* confdefs.h. */
14190 _ACEOF
14191 cat confdefs.h >>conftest.$ac_ext
14192 cat >>conftest.$ac_ext <<_ACEOF
14193 /* end confdefs.h. */
14194
14195 int
14196 main ()
14197 {
14198
14199 #ifndef __INTEL_COMPILER
14200 choke me
14201 #endif
14202
14203 ;
14204 return 0;
14205 }
14206 _ACEOF
14207 rm -f conftest.$ac_objext
14208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14209 (eval $ac_compile) 2>conftest.er1
14210 ac_status=$?
14211 grep -v '^ *+' conftest.er1 >conftest.err
14212 rm -f conftest.er1
14213 cat conftest.err >&5
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); } &&
14216 { ac_try='test -z "$ac_cxx_werror_flag"
14217 || test ! -s conftest.err'
14218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14219 (eval $ac_try) 2>&5
14220 ac_status=$?
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); }; } &&
14223 { ac_try='test -s conftest.$ac_objext'
14224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14225 (eval $ac_try) 2>&5
14226 ac_status=$?
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); }; }; then
14229 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14230 else
14231 echo "$as_me: failed program was:" >&5
14232 sed 's/^/| /' conftest.$ac_ext >&5
14233
14234 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14235
14236 fi
14237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14238
14239
14240 fi
14241 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14242 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14243 ac_ext=cc
14244 ac_cpp='$CXXCPP $CPPFLAGS'
14245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14248
14249 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14250 :; INTELCXX=yes
14251 else
14252 :;
14253 fi
14254
14255
14256 if test "x$GCXX" != "xyes"; then
14257 if test "xCXX" = "xC"; then
14258 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14259 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14260 if test "${bakefile_cv_cxx_exto+set}" = set; then
14261 echo $ECHO_N "(cached) $ECHO_C" >&6
14262 else
14263 cat >conftest.$ac_ext <<_ACEOF
14264 /* confdefs.h. */
14265 _ACEOF
14266 cat confdefs.h >>conftest.$ac_ext
14267 cat >>conftest.$ac_ext <<_ACEOF
14268 /* end confdefs.h. */
14269
14270 int
14271 main ()
14272 {
14273
14274 ;
14275 return 0;
14276 }
14277 _ACEOF
14278 rm -f conftest.$ac_objext conftest.$ac_ext.o
14279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14280 (eval $ac_compile) 2>&5
14281 ac_status=$?
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); }; then
14284 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14285 case $ac_file in
14286 conftest.$ac_ext.o)
14287 bakefile_cv_cxx_exto="-ext o"
14288 ;;
14289 *)
14290 ;;
14291 esac
14292 done
14293 else
14294 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14295 See \`config.log' for more details." >&5
14296 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14297 See \`config.log' for more details." >&2;}
14298 { (exit 1); exit 1; }; }
14299
14300 fi
14301
14302 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14303
14304 fi
14305 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14306 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14307 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14308 if test "cxx" = "c"; then
14309 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14310 fi
14311 if test "cxx" = "cxx"; then
14312 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14313 fi
14314 fi
14315
14316 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14317 unset ac_cv_prog_cc_g
14318 ac_test_CFLAGS=${CFLAGS+set}
14319 ac_save_CFLAGS=$CFLAGS
14320 CFLAGS="-g"
14321 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14322 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14323 if test "${ac_cv_prog_cc_g+set}" = set; then
14324 echo $ECHO_N "(cached) $ECHO_C" >&6
14325 else
14326 cat >conftest.$ac_ext <<_ACEOF
14327 /* confdefs.h. */
14328 _ACEOF
14329 cat confdefs.h >>conftest.$ac_ext
14330 cat >>conftest.$ac_ext <<_ACEOF
14331 /* end confdefs.h. */
14332
14333 int
14334 main ()
14335 {
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"
14351 || test ! -s conftest.err'
14352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14353 (eval $ac_try) 2>&5
14354 ac_status=$?
14355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356 (exit $ac_status); }; } &&
14357 { ac_try='test -s conftest.$ac_objext'
14358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14359 (eval $ac_try) 2>&5
14360 ac_status=$?
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); }; }; then
14363 ac_cv_prog_cc_g=yes
14364 else
14365 echo "$as_me: failed program was:" >&5
14366 sed 's/^/| /' conftest.$ac_ext >&5
14367
14368 ac_cv_prog_cc_g=no
14369 fi
14370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14371 fi
14372 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14373 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14374 if test "$ac_test_CFLAGS" = set; then
14375 CFLAGS=$ac_save_CFLAGS
14376 elif test $ac_cv_prog_cc_g = yes; then
14377 if test "$GCC" = yes; then
14378 CFLAGS="-g -O2"
14379 else
14380 CFLAGS="-g"
14381 fi
14382 else
14383 if test "$GCC" = yes; then
14384 CFLAGS="-O2"
14385 else
14386 CFLAGS=
14387 fi
14388 fi
14389 fi
14390 fi
14391
14392 case `uname -s` in
14393 AIX*)
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 IBM xlC C++ compiler" >&5
14401 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14402 if test "${bakefile_cv_cxx_compiler_xlc+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 #ifndef __xlC__
14416 choke me
14417 #endif
14418
14419 ;
14420 return 0;
14421 }
14422 _ACEOF
14423 rm -f conftest.$ac_objext
14424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14425 (eval $ac_compile) 2>conftest.er1
14426 ac_status=$?
14427 grep -v '^ *+' conftest.er1 >conftest.err
14428 rm -f conftest.er1
14429 cat conftest.err >&5
14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14431 (exit $ac_status); } &&
14432 { ac_try='test -z "$ac_cxx_werror_flag"
14433 || 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_compiler_xlc=yes
14446 else
14447 echo "$as_me: failed program was:" >&5
14448 sed 's/^/| /' conftest.$ac_ext >&5
14449
14450 bakefile_compiler_xlc=no
14451 fi
14452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14453 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14454
14455 fi
14456 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14457 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14458
14459 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14460 ac_ext=cc
14461 ac_cpp='$CXXCPP $CPPFLAGS'
14462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14465
14466
14467 ;;
14468
14469 Darwin)
14470 ac_ext=cc
14471 ac_cpp='$CXXCPP $CPPFLAGS'
14472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14475
14476 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14477 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14478 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14479 echo $ECHO_N "(cached) $ECHO_C" >&6
14480 else
14481 cat >conftest.$ac_ext <<_ACEOF
14482 /* confdefs.h. */
14483 _ACEOF
14484 cat confdefs.h >>conftest.$ac_ext
14485 cat >>conftest.$ac_ext <<_ACEOF
14486 /* end confdefs.h. */
14487
14488 int
14489 main ()
14490 {
14491 #ifndef __MWERKS__
14492 choke me
14493 #endif
14494
14495 ;
14496 return 0;
14497 }
14498 _ACEOF
14499 rm -f conftest.$ac_objext
14500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14501 (eval $ac_compile) 2>conftest.er1
14502 ac_status=$?
14503 grep -v '^ *+' conftest.er1 >conftest.err
14504 rm -f conftest.er1
14505 cat conftest.err >&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } &&
14508 { ac_try='test -z "$ac_cxx_werror_flag"
14509 || test ! -s conftest.err'
14510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14511 (eval $ac_try) 2>&5
14512 ac_status=$?
14513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14514 (exit $ac_status); }; } &&
14515 { ac_try='test -s conftest.$ac_objext'
14516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14517 (eval $ac_try) 2>&5
14518 ac_status=$?
14519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14520 (exit $ac_status); }; }; then
14521 bakefile_compiler_mwerks=yes
14522 else
14523 echo "$as_me: failed program was:" >&5
14524 sed 's/^/| /' conftest.$ac_ext >&5
14525
14526 bakefile_compiler_mwerks=no
14527 fi
14528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14529 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14530
14531 fi
14532 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14533 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14534
14535 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14536 ac_ext=cc
14537 ac_cpp='$CXXCPP $CPPFLAGS'
14538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14541
14542
14543 ac_ext=cc
14544 ac_cpp='$CXXCPP $CPPFLAGS'
14545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14548
14549 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14550 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14551 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14552 echo $ECHO_N "(cached) $ECHO_C" >&6
14553 else
14554 cat >conftest.$ac_ext <<_ACEOF
14555 /* confdefs.h. */
14556 _ACEOF
14557 cat confdefs.h >>conftest.$ac_ext
14558 cat >>conftest.$ac_ext <<_ACEOF
14559 /* end confdefs.h. */
14560
14561 int
14562 main ()
14563 {
14564 #ifndef __xlC__
14565 choke me
14566 #endif
14567
14568 ;
14569 return 0;
14570 }
14571 _ACEOF
14572 rm -f conftest.$ac_objext
14573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14574 (eval $ac_compile) 2>conftest.er1
14575 ac_status=$?
14576 grep -v '^ *+' conftest.er1 >conftest.err
14577 rm -f conftest.er1
14578 cat conftest.err >&5
14579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580 (exit $ac_status); } &&
14581 { ac_try='test -z "$ac_cxx_werror_flag"
14582 || test ! -s conftest.err'
14583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14584 (eval $ac_try) 2>&5
14585 ac_status=$?
14586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587 (exit $ac_status); }; } &&
14588 { ac_try='test -s conftest.$ac_objext'
14589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14590 (eval $ac_try) 2>&5
14591 ac_status=$?
14592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593 (exit $ac_status); }; }; then
14594 bakefile_compiler_xlc=yes
14595 else
14596 echo "$as_me: failed program was:" >&5
14597 sed 's/^/| /' conftest.$ac_ext >&5
14598
14599 bakefile_compiler_xlc=no
14600 fi
14601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14602 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14603
14604 fi
14605 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14606 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14607
14608 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14609 ac_ext=cc
14610 ac_cpp='$CXXCPP $CPPFLAGS'
14611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14614
14615
14616 ;;
14617
14618 IRIX*)
14619
14620
14621 ac_ext=cc
14622 ac_cpp='$CXXCPP $CPPFLAGS'
14623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14626
14627 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14628 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14629 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14630 echo $ECHO_N "(cached) $ECHO_C" >&6
14631 else
14632 cat >conftest.$ac_ext <<_ACEOF
14633 /* confdefs.h. */
14634 _ACEOF
14635 cat confdefs.h >>conftest.$ac_ext
14636 cat >>conftest.$ac_ext <<_ACEOF
14637 /* end confdefs.h. */
14638
14639 int
14640 main ()
14641 {
14642
14643 #ifndef _SGI_COMPILER_VERSION
14644 choke me
14645 #endif
14646
14647 ;
14648 return 0;
14649 }
14650 _ACEOF
14651 rm -f conftest.$ac_objext
14652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14653 (eval $ac_compile) 2>conftest.er1
14654 ac_status=$?
14655 grep -v '^ *+' conftest.er1 >conftest.err
14656 rm -f conftest.er1
14657 cat conftest.err >&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); } &&
14660 { ac_try='test -z "$ac_cxx_werror_flag"
14661 || test ! -s conftest.err'
14662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14663 (eval $ac_try) 2>&5
14664 ac_status=$?
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); }; } &&
14667 { ac_try='test -s conftest.$ac_objext'
14668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14669 (eval $ac_try) 2>&5
14670 ac_status=$?
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); }; }; then
14673 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14674 else
14675 echo "$as_me: failed program was:" >&5
14676 sed 's/^/| /' conftest.$ac_ext >&5
14677
14678 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14679
14680 fi
14681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14682
14683
14684 fi
14685 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14686 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14687 ac_ext=cc
14688 ac_cpp='$CXXCPP $CPPFLAGS'
14689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14692
14693 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14694 :; SGICXX=yes
14695 else
14696 :;
14697 fi
14698
14699
14700 ;;
14701
14702 HP-UX*)
14703
14704
14705 ac_ext=cc
14706 ac_cpp='$CXXCPP $CPPFLAGS'
14707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14710
14711 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14712 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14713 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14714 echo $ECHO_N "(cached) $ECHO_C" >&6
14715 else
14716 cat >conftest.$ac_ext <<_ACEOF
14717 /* confdefs.h. */
14718 _ACEOF
14719 cat confdefs.h >>conftest.$ac_ext
14720 cat >>conftest.$ac_ext <<_ACEOF
14721 /* end confdefs.h. */
14722
14723 int
14724 main ()
14725 {
14726
14727 #ifndef __HP_aCC
14728 choke me
14729 #endif
14730
14731 ;
14732 return 0;
14733 }
14734 _ACEOF
14735 rm -f conftest.$ac_objext
14736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14737 (eval $ac_compile) 2>conftest.er1
14738 ac_status=$?
14739 grep -v '^ *+' conftest.er1 >conftest.err
14740 rm -f conftest.er1
14741 cat conftest.err >&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); } &&
14744 { ac_try='test -z "$ac_cxx_werror_flag"
14745 || test ! -s conftest.err'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14748 ac_status=$?
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; } &&
14751 { ac_try='test -s conftest.$ac_objext'
14752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14753 (eval $ac_try) 2>&5
14754 ac_status=$?
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); }; }; then
14757 bakefile_cv_cxx_compiler___HP_aCC=yes
14758 else
14759 echo "$as_me: failed program was:" >&5
14760 sed 's/^/| /' conftest.$ac_ext >&5
14761
14762 bakefile_cv_cxx_compiler___HP_aCC=no
14763
14764 fi
14765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14766
14767
14768 fi
14769 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14770 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14771 ac_ext=cc
14772 ac_cpp='$CXXCPP $CPPFLAGS'
14773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14776
14777 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14778 :; HPCXX=yes
14779 else
14780 :;
14781 fi
14782
14783
14784 ;;
14785
14786 OSF1)
14787
14788
14789 ac_ext=cc
14790 ac_cpp='$CXXCPP $CPPFLAGS'
14791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14794
14795 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14796 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14797 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14798 echo $ECHO_N "(cached) $ECHO_C" >&6
14799 else
14800 cat >conftest.$ac_ext <<_ACEOF
14801 /* confdefs.h. */
14802 _ACEOF
14803 cat confdefs.h >>conftest.$ac_ext
14804 cat >>conftest.$ac_ext <<_ACEOF
14805 /* end confdefs.h. */
14806
14807 int
14808 main ()
14809 {
14810
14811 #ifndef __DECCXX
14812 choke me
14813 #endif
14814
14815 ;
14816 return 0;
14817 }
14818 _ACEOF
14819 rm -f conftest.$ac_objext
14820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14821 (eval $ac_compile) 2>conftest.er1
14822 ac_status=$?
14823 grep -v '^ *+' conftest.er1 >conftest.err
14824 rm -f conftest.er1
14825 cat conftest.err >&5
14826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14827 (exit $ac_status); } &&
14828 { ac_try='test -z "$ac_cxx_werror_flag"
14829 || test ! -s conftest.err'
14830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14831 (eval $ac_try) 2>&5
14832 ac_status=$?
14833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14834 (exit $ac_status); }; } &&
14835 { ac_try='test -s conftest.$ac_objext'
14836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14837 (eval $ac_try) 2>&5
14838 ac_status=$?
14839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14840 (exit $ac_status); }; }; then
14841 bakefile_cv_cxx_compiler___DECCXX=yes
14842 else
14843 echo "$as_me: failed program was:" >&5
14844 sed 's/^/| /' conftest.$ac_ext >&5
14845
14846 bakefile_cv_cxx_compiler___DECCXX=no
14847
14848 fi
14849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14850
14851
14852 fi
14853 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14854 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14855 ac_ext=cc
14856 ac_cpp='$CXXCPP $CPPFLAGS'
14857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14860
14861 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14862 :; COMPAQCXX=yes
14863 else
14864 :;
14865 fi
14866
14867
14868 ;;
14869
14870 SunOS)
14871
14872
14873 ac_ext=cc
14874 ac_cpp='$CXXCPP $CPPFLAGS'
14875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14878
14879 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14880 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14881 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14882 echo $ECHO_N "(cached) $ECHO_C" >&6
14883 else
14884 cat >conftest.$ac_ext <<_ACEOF
14885 /* confdefs.h. */
14886 _ACEOF
14887 cat confdefs.h >>conftest.$ac_ext
14888 cat >>conftest.$ac_ext <<_ACEOF
14889 /* end confdefs.h. */
14890
14891 int
14892 main ()
14893 {
14894
14895 #ifndef __SUNPRO_CC
14896 choke me
14897 #endif
14898
14899 ;
14900 return 0;
14901 }
14902 _ACEOF
14903 rm -f conftest.$ac_objext
14904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14905 (eval $ac_compile) 2>conftest.er1
14906 ac_status=$?
14907 grep -v '^ *+' conftest.er1 >conftest.err
14908 rm -f conftest.er1
14909 cat conftest.err >&5
14910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); } &&
14912 { ac_try='test -z "$ac_cxx_werror_flag"
14913 || test ! -s conftest.err'
14914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14915 (eval $ac_try) 2>&5
14916 ac_status=$?
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); }; } &&
14919 { ac_try='test -s conftest.$ac_objext'
14920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14921 (eval $ac_try) 2>&5
14922 ac_status=$?
14923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14924 (exit $ac_status); }; }; then
14925 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14926 else
14927 echo "$as_me: failed program was:" >&5
14928 sed 's/^/| /' conftest.$ac_ext >&5
14929
14930 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14931
14932 fi
14933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14934
14935
14936 fi
14937 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14938 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14939 ac_ext=cc
14940 ac_cpp='$CXXCPP $CPPFLAGS'
14941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14944
14945 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14946 :; SUNCXX=yes
14947 else
14948 :;
14949 fi
14950
14951
14952 ;;
14953 esac
14954 fi
14955
14956
14957
14958 if test -n "$ac_tool_prefix"; then
14959 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14960 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14961 echo "$as_me:$LINENO: checking for $ac_word" >&5
14962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14963 if test "${ac_cv_prog_RANLIB+set}" = set; then
14964 echo $ECHO_N "(cached) $ECHO_C" >&6
14965 else
14966 if test -n "$RANLIB"; then
14967 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14968 else
14969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14970 for as_dir in $PATH
14971 do
14972 IFS=$as_save_IFS
14973 test -z "$as_dir" && as_dir=.
14974 for ac_exec_ext in '' $ac_executable_extensions; do
14975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14976 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14978 break 2
14979 fi
14980 done
14981 done
14982
14983 fi
14984 fi
14985 RANLIB=$ac_cv_prog_RANLIB
14986 if test -n "$RANLIB"; then
14987 echo "$as_me:$LINENO: result: $RANLIB" >&5
14988 echo "${ECHO_T}$RANLIB" >&6
14989 else
14990 echo "$as_me:$LINENO: result: no" >&5
14991 echo "${ECHO_T}no" >&6
14992 fi
14993
14994 fi
14995 if test -z "$ac_cv_prog_RANLIB"; then
14996 ac_ct_RANLIB=$RANLIB
14997 # Extract the first word of "ranlib", so it can be a program name with args.
14998 set dummy ranlib; ac_word=$2
14999 echo "$as_me:$LINENO: checking for $ac_word" >&5
15000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15001 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15002 echo $ECHO_N "(cached) $ECHO_C" >&6
15003 else
15004 if test -n "$ac_ct_RANLIB"; then
15005 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15006 else
15007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15008 for as_dir in $PATH
15009 do
15010 IFS=$as_save_IFS
15011 test -z "$as_dir" && as_dir=.
15012 for ac_exec_ext in '' $ac_executable_extensions; do
15013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15014 ac_cv_prog_ac_ct_RANLIB="ranlib"
15015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15016 break 2
15017 fi
15018 done
15019 done
15020
15021 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15022 fi
15023 fi
15024 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15025 if test -n "$ac_ct_RANLIB"; then
15026 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15027 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15028 else
15029 echo "$as_me:$LINENO: result: no" >&5
15030 echo "${ECHO_T}no" >&6
15031 fi
15032
15033 RANLIB=$ac_ct_RANLIB
15034 else
15035 RANLIB="$ac_cv_prog_RANLIB"
15036 fi
15037
15038
15039 if test -n "$ac_tool_prefix"; then
15040 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15041 set dummy ${ac_tool_prefix}ar; ac_word=$2
15042 echo "$as_me:$LINENO: checking for $ac_word" >&5
15043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15044 if test "${ac_cv_prog_AR+set}" = set; then
15045 echo $ECHO_N "(cached) $ECHO_C" >&6
15046 else
15047 if test -n "$AR"; then
15048 ac_cv_prog_AR="$AR" # Let the user override the test.
15049 else
15050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15051 for as_dir in $PATH
15052 do
15053 IFS=$as_save_IFS
15054 test -z "$as_dir" && as_dir=.
15055 for ac_exec_ext in '' $ac_executable_extensions; do
15056 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15057 ac_cv_prog_AR="${ac_tool_prefix}ar"
15058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15059 break 2
15060 fi
15061 done
15062 done
15063
15064 fi
15065 fi
15066 AR=$ac_cv_prog_AR
15067 if test -n "$AR"; then
15068 echo "$as_me:$LINENO: result: $AR" >&5
15069 echo "${ECHO_T}$AR" >&6
15070 else
15071 echo "$as_me:$LINENO: result: no" >&5
15072 echo "${ECHO_T}no" >&6
15073 fi
15074
15075 fi
15076 if test -z "$ac_cv_prog_AR"; then
15077 ac_ct_AR=$AR
15078 # Extract the first word of "ar", so it can be a program name with args.
15079 set dummy ar; ac_word=$2
15080 echo "$as_me:$LINENO: checking for $ac_word" >&5
15081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15082 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15083 echo $ECHO_N "(cached) $ECHO_C" >&6
15084 else
15085 if test -n "$ac_ct_AR"; then
15086 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15087 else
15088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15089 for as_dir in $PATH
15090 do
15091 IFS=$as_save_IFS
15092 test -z "$as_dir" && as_dir=.
15093 for ac_exec_ext in '' $ac_executable_extensions; do
15094 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15095 ac_cv_prog_ac_ct_AR="ar"
15096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15097 break 2
15098 fi
15099 done
15100 done
15101
15102 fi
15103 fi
15104 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15105 if test -n "$ac_ct_AR"; then
15106 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15107 echo "${ECHO_T}$ac_ct_AR" >&6
15108 else
15109 echo "$as_me:$LINENO: result: no" >&5
15110 echo "${ECHO_T}no" >&6
15111 fi
15112
15113 AR=$ac_ct_AR
15114 else
15115 AR="$ac_cv_prog_AR"
15116 fi
15117
15118 if test "x$AR" = "x" ; then
15119 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15120 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15121 { (exit 1); exit 1; }; }
15122 fi
15123
15124 # Find a good install program. We prefer a C program (faster),
15125 # so one script is as good as another. But avoid the broken or
15126 # incompatible versions:
15127 # SysV /etc/install, /usr/sbin/install
15128 # SunOS /usr/etc/install
15129 # IRIX /sbin/install
15130 # AIX /bin/install
15131 # AmigaOS /C/install, which installs bootblocks on floppy discs
15132 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15133 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15134 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15135 # OS/2's system install, which has a completely different semantic
15136 # ./install, which can be erroneously created by make from ./install.sh.
15137 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15138 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15139 if test -z "$INSTALL"; then
15140 if test "${ac_cv_path_install+set}" = set; then
15141 echo $ECHO_N "(cached) $ECHO_C" >&6
15142 else
15143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15144 for as_dir in $PATH
15145 do
15146 IFS=$as_save_IFS
15147 test -z "$as_dir" && as_dir=.
15148 # Account for people who put trailing slashes in PATH elements.
15149 case $as_dir/ in
15150 ./ | .// | /cC/* | \
15151 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15152 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15153 /usr/ucb/* ) ;;
15154 *)
15155 # OSF1 and SCO ODT 3.0 have their own names for install.
15156 # Don't use installbsd from OSF since it installs stuff as root
15157 # by default.
15158 for ac_prog in ginstall scoinst install; do
15159 for ac_exec_ext in '' $ac_executable_extensions; do
15160 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15161 if test $ac_prog = install &&
15162 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15163 # AIX install. It has an incompatible calling convention.
15164 :
15165 elif test $ac_prog = install &&
15166 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15167 # program-specific install script used by HP pwplus--don't use.
15168 :
15169 else
15170 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15171 break 3
15172 fi
15173 fi
15174 done
15175 done
15176 ;;
15177 esac
15178 done
15179
15180
15181 fi
15182 if test "${ac_cv_path_install+set}" = set; then
15183 INSTALL=$ac_cv_path_install
15184 else
15185 # As a last resort, use the slow shell script. We don't cache a
15186 # path for INSTALL within a source directory, because that will
15187 # break other packages using the cache if that directory is
15188 # removed, or if the path is relative.
15189 INSTALL=$ac_install_sh
15190 fi
15191 fi
15192 echo "$as_me:$LINENO: result: $INSTALL" >&5
15193 echo "${ECHO_T}$INSTALL" >&6
15194
15195 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15196 # It thinks the first close brace ends the variable substitution.
15197 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15198
15199 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15200
15201 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15202
15203
15204 case ${INSTALL} in
15205 /* ) # Absolute
15206 ;;
15207 ?:* ) # Drive letter, considered as absolute.
15208 ;;
15209 *)
15210 INSTALL=`pwd`/${INSTALL} ;;
15211 esac
15212
15213
15214 case "${host}" in
15215
15216 *-*-darwin* )
15217 INSTALL_PROGRAM="cp -fp"
15218 INSTALL_DATA="cp -fp"
15219 ;;
15220 *)
15221 ;;
15222 esac
15223
15224 if test -n "$ac_tool_prefix"; then
15225 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15226 set dummy ${ac_tool_prefix}strip; ac_word=$2
15227 echo "$as_me:$LINENO: checking for $ac_word" >&5
15228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15229 if test "${ac_cv_prog_STRIP+set}" = set; then
15230 echo $ECHO_N "(cached) $ECHO_C" >&6
15231 else
15232 if test -n "$STRIP"; then
15233 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15234 else
15235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15236 for as_dir in $PATH
15237 do
15238 IFS=$as_save_IFS
15239 test -z "$as_dir" && as_dir=.
15240 for ac_exec_ext in '' $ac_executable_extensions; do
15241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15242 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15244 break 2
15245 fi
15246 done
15247 done
15248
15249 fi
15250 fi
15251 STRIP=$ac_cv_prog_STRIP
15252 if test -n "$STRIP"; then
15253 echo "$as_me:$LINENO: result: $STRIP" >&5
15254 echo "${ECHO_T}$STRIP" >&6
15255 else
15256 echo "$as_me:$LINENO: result: no" >&5
15257 echo "${ECHO_T}no" >&6
15258 fi
15259
15260 fi
15261 if test -z "$ac_cv_prog_STRIP"; then
15262 ac_ct_STRIP=$STRIP
15263 # Extract the first word of "strip", so it can be a program name with args.
15264 set dummy strip; ac_word=$2
15265 echo "$as_me:$LINENO: checking for $ac_word" >&5
15266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15267 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15268 echo $ECHO_N "(cached) $ECHO_C" >&6
15269 else
15270 if test -n "$ac_ct_STRIP"; then
15271 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15272 else
15273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15274 for as_dir in $PATH
15275 do
15276 IFS=$as_save_IFS
15277 test -z "$as_dir" && as_dir=.
15278 for ac_exec_ext in '' $ac_executable_extensions; do
15279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15280 ac_cv_prog_ac_ct_STRIP="strip"
15281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15282 break 2
15283 fi
15284 done
15285 done
15286
15287 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15288 fi
15289 fi
15290 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15291 if test -n "$ac_ct_STRIP"; then
15292 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15293 echo "${ECHO_T}$ac_ct_STRIP" >&6
15294 else
15295 echo "$as_me:$LINENO: result: no" >&5
15296 echo "${ECHO_T}no" >&6
15297 fi
15298
15299 STRIP=$ac_ct_STRIP
15300 else
15301 STRIP="$ac_cv_prog_STRIP"
15302 fi
15303
15304
15305 if test "$wxUSE_WINE" = "yes"; then
15306 if test -n "$ac_tool_prefix"; then
15307 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15308 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15309 echo "$as_me:$LINENO: checking for $ac_word" >&5
15310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15311 if test "${ac_cv_prog_WINDRES+set}" = set; then
15312 echo $ECHO_N "(cached) $ECHO_C" >&6
15313 else
15314 if test -n "$WINDRES"; then
15315 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15316 else
15317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15318 for as_dir in $PATH
15319 do
15320 IFS=$as_save_IFS
15321 test -z "$as_dir" && as_dir=.
15322 for ac_exec_ext in '' $ac_executable_extensions; do
15323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15324 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15326 break 2
15327 fi
15328 done
15329 done
15330
15331 fi
15332 fi
15333 WINDRES=$ac_cv_prog_WINDRES
15334 if test -n "$WINDRES"; then
15335 echo "$as_me:$LINENO: result: $WINDRES" >&5
15336 echo "${ECHO_T}$WINDRES" >&6
15337 else
15338 echo "$as_me:$LINENO: result: no" >&5
15339 echo "${ECHO_T}no" >&6
15340 fi
15341
15342 fi
15343 if test -z "$ac_cv_prog_WINDRES"; then
15344 ac_ct_WINDRES=$WINDRES
15345 # Extract the first word of "wrc", so it can be a program name with args.
15346 set dummy wrc; ac_word=$2
15347 echo "$as_me:$LINENO: checking for $ac_word" >&5
15348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15349 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15350 echo $ECHO_N "(cached) $ECHO_C" >&6
15351 else
15352 if test -n "$ac_ct_WINDRES"; then
15353 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15354 else
15355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15356 for as_dir in $PATH
15357 do
15358 IFS=$as_save_IFS
15359 test -z "$as_dir" && as_dir=.
15360 for ac_exec_ext in '' $ac_executable_extensions; do
15361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15362 ac_cv_prog_ac_ct_WINDRES="wrc"
15363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15364 break 2
15365 fi
15366 done
15367 done
15368
15369 fi
15370 fi
15371 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15372 if test -n "$ac_ct_WINDRES"; then
15373 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15374 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15375 else
15376 echo "$as_me:$LINENO: result: no" >&5
15377 echo "${ECHO_T}no" >&6
15378 fi
15379
15380 WINDRES=$ac_ct_WINDRES
15381 else
15382 WINDRES="$ac_cv_prog_WINDRES"
15383 fi
15384
15385 RESCOMP="$WINDRES"
15386 else
15387 case "${host}" in
15388 *-*-cygwin* | *-*-mingw32* )
15389 if test -n "$ac_tool_prefix"; then
15390 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15391 set dummy ${ac_tool_prefix}windres; ac_word=$2
15392 echo "$as_me:$LINENO: checking for $ac_word" >&5
15393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15394 if test "${ac_cv_prog_WINDRES+set}" = set; then
15395 echo $ECHO_N "(cached) $ECHO_C" >&6
15396 else
15397 if test -n "$WINDRES"; then
15398 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15399 else
15400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15401 for as_dir in $PATH
15402 do
15403 IFS=$as_save_IFS
15404 test -z "$as_dir" && as_dir=.
15405 for ac_exec_ext in '' $ac_executable_extensions; do
15406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15407 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15409 break 2
15410 fi
15411 done
15412 done
15413
15414 fi
15415 fi
15416 WINDRES=$ac_cv_prog_WINDRES
15417 if test -n "$WINDRES"; then
15418 echo "$as_me:$LINENO: result: $WINDRES" >&5
15419 echo "${ECHO_T}$WINDRES" >&6
15420 else
15421 echo "$as_me:$LINENO: result: no" >&5
15422 echo "${ECHO_T}no" >&6
15423 fi
15424
15425 fi
15426 if test -z "$ac_cv_prog_WINDRES"; then
15427 ac_ct_WINDRES=$WINDRES
15428 # Extract the first word of "windres", so it can be a program name with args.
15429 set dummy windres; ac_word=$2
15430 echo "$as_me:$LINENO: checking for $ac_word" >&5
15431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15432 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15433 echo $ECHO_N "(cached) $ECHO_C" >&6
15434 else
15435 if test -n "$ac_ct_WINDRES"; then
15436 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15437 else
15438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15439 for as_dir in $PATH
15440 do
15441 IFS=$as_save_IFS
15442 test -z "$as_dir" && as_dir=.
15443 for ac_exec_ext in '' $ac_executable_extensions; do
15444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15445 ac_cv_prog_ac_ct_WINDRES="windres"
15446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15447 break 2
15448 fi
15449 done
15450 done
15451
15452 fi
15453 fi
15454 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15455 if test -n "$ac_ct_WINDRES"; then
15456 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15457 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15458 else
15459 echo "$as_me:$LINENO: result: no" >&5
15460 echo "${ECHO_T}no" >&6
15461 fi
15462
15463 WINDRES=$ac_ct_WINDRES
15464 else
15465 WINDRES="$ac_cv_prog_WINDRES"
15466 fi
15467
15468 RESCOMP="$WINDRES"
15469 if test -n "$ac_tool_prefix"; then
15470 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15471 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15472 echo "$as_me:$LINENO: checking for $ac_word" >&5
15473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15474 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15475 echo $ECHO_N "(cached) $ECHO_C" >&6
15476 else
15477 if test -n "$DLLTOOL"; then
15478 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15479 else
15480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15481 for as_dir in $PATH
15482 do
15483 IFS=$as_save_IFS
15484 test -z "$as_dir" && as_dir=.
15485 for ac_exec_ext in '' $ac_executable_extensions; do
15486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15487 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15489 break 2
15490 fi
15491 done
15492 done
15493
15494 fi
15495 fi
15496 DLLTOOL=$ac_cv_prog_DLLTOOL
15497 if test -n "$DLLTOOL"; then
15498 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15499 echo "${ECHO_T}$DLLTOOL" >&6
15500 else
15501 echo "$as_me:$LINENO: result: no" >&5
15502 echo "${ECHO_T}no" >&6
15503 fi
15504
15505 fi
15506 if test -z "$ac_cv_prog_DLLTOOL"; then
15507 ac_ct_DLLTOOL=$DLLTOOL
15508 # Extract the first word of "dlltool", so it can be a program name with args.
15509 set dummy dlltool; ac_word=$2
15510 echo "$as_me:$LINENO: checking for $ac_word" >&5
15511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15512 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15513 echo $ECHO_N "(cached) $ECHO_C" >&6
15514 else
15515 if test -n "$ac_ct_DLLTOOL"; then
15516 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15517 else
15518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15519 for as_dir in $PATH
15520 do
15521 IFS=$as_save_IFS
15522 test -z "$as_dir" && as_dir=.
15523 for ac_exec_ext in '' $ac_executable_extensions; do
15524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15525 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15527 break 2
15528 fi
15529 done
15530 done
15531
15532 fi
15533 fi
15534 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15535 if test -n "$ac_ct_DLLTOOL"; then
15536 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15537 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15538 else
15539 echo "$as_me:$LINENO: result: no" >&5
15540 echo "${ECHO_T}no" >&6
15541 fi
15542
15543 DLLTOOL=$ac_ct_DLLTOOL
15544 else
15545 DLLTOOL="$ac_cv_prog_DLLTOOL"
15546 fi
15547
15548 ;;
15549 esac
15550 fi
15551
15552 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15553 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15554 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15555 echo $ECHO_N "(cached) $ECHO_C" >&6
15556 else
15557
15558 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15559 egrep -s GNU > /dev/null); then
15560 wx_cv_prog_makeisgnu="yes"
15561 else
15562 wx_cv_prog_makeisgnu="no"
15563 fi
15564
15565 fi
15566 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15567 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15568
15569 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15570 IF_GNU_MAKE=""
15571 else
15572 IF_GNU_MAKE="#"
15573 fi
15574
15575
15576
15577 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15578 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15579 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15580 if test "${wx_cv_prog_makevpath+set}" = set; then
15581 echo $ECHO_N "(cached) $ECHO_C" >&6
15582 else
15583
15584 cat - << EOF > confMake
15585 check : file
15586 cp \$? \$@
15587 cp \$? final_file
15588 EOF
15589
15590 if test ! -d sub ; then
15591 mkdir sub
15592 fi
15593 echo dummy > sub/file
15594 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15595 RESULT=$?
15596 rm -f sub/file check final_file confMake
15597 rmdir sub
15598 if test "$RESULT" = 0; then
15599 wx_cv_prog_makevpath="yes"
15600 else
15601 wx_cv_prog_makevpath="no"
15602 fi
15603
15604 fi
15605 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15606 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15607
15608 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15609 { { echo "$as_me:$LINENO: error:
15610 You need a make-utility that is able to use the variable
15611 VPATH correctly.
15612 If your version of make does not support VPATH correctly,
15613 please install GNU-make (possibly as gmake), and start
15614 configure with the following command:
15615 export MAKE=gmake; ./configure for sh-type shells
15616 setenv MAKE gmake; ./configure for csh-type shells
15617 Also please do remember to use gmake in this case every time
15618 you are trying to compile.
15619 " >&5
15620 echo "$as_me: error:
15621 You need a make-utility that is able to use the variable
15622 VPATH correctly.
15623 If your version of make does not support VPATH correctly,
15624 please install GNU-make (possibly as gmake), and start
15625 configure with the following command:
15626 export MAKE=gmake; ./configure for sh-type shells
15627 setenv MAKE gmake; ./configure for csh-type shells
15628 Also please do remember to use gmake in this case every time
15629 you are trying to compile.
15630 " >&2;}
15631 { (exit 1); exit 1; }; }
15632 fi fi
15633 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15634 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15635 LN_S=$as_ln_s
15636 if test "$LN_S" = "ln -s"; then
15637 echo "$as_me:$LINENO: result: yes" >&5
15638 echo "${ECHO_T}yes" >&6
15639 else
15640 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15641 echo "${ECHO_T}no, using $LN_S" >&6
15642 fi
15643
15644
15645
15646
15647 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15648 CXXFLAGS="-qunique $CXXFLAGS"
15649 fi
15650
15651 case "${host}" in
15652 powerpc-*-darwin* )
15653 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15654 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15655 cat >conftest.$ac_ext <<_ACEOF
15656 /* confdefs.h. */
15657 _ACEOF
15658 cat confdefs.h >>conftest.$ac_ext
15659 cat >>conftest.$ac_ext <<_ACEOF
15660 /* end confdefs.h. */
15661
15662 int
15663 main ()
15664 {
15665 #ifndef __POWERPC__
15666 choke me for lack of PowerPC
15667 #endif
15668
15669 ;
15670 return 0;
15671 }
15672 _ACEOF
15673 rm -f conftest.$ac_objext
15674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15675 (eval $ac_compile) 2>conftest.er1
15676 ac_status=$?
15677 grep -v '^ *+' conftest.er1 >conftest.err
15678 rm -f conftest.er1
15679 cat conftest.err >&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); } &&
15682 { ac_try='test -z "$ac_cxx_werror_flag"
15683 || test ! -s conftest.err'
15684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15685 (eval $ac_try) 2>&5
15686 ac_status=$?
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); }; } &&
15689 { ac_try='test -s conftest.$ac_objext'
15690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15691 (eval $ac_try) 2>&5
15692 ac_status=$?
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); }; }; then
15695 echo "$as_me:$LINENO: result: yes" >&5
15696 echo "${ECHO_T}yes" >&6
15697 else
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.$ac_ext >&5
15700
15701 echo "$as_me:$LINENO: result: no" >&5
15702 echo "${ECHO_T}no" >&6
15703 cat >>confdefs.h <<\_ACEOF
15704 #define __POWERPC__ 1
15705 _ACEOF
15706
15707
15708 fi
15709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15710 ;;
15711 esac
15712
15713 case "${host}" in
15714 *-*-darwin* )
15715 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15716 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15717 cat >conftest.$ac_ext <<_ACEOF
15718 /* confdefs.h. */
15719 _ACEOF
15720 cat confdefs.h >>conftest.$ac_ext
15721 cat >>conftest.$ac_ext <<_ACEOF
15722 /* end confdefs.h. */
15723 #include <CoreFoundation/CFBase.h>
15724
15725 int
15726 main ()
15727 {
15728
15729 ;
15730 return 0;
15731 }
15732 _ACEOF
15733 rm -f conftest.$ac_objext
15734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15735 (eval $ac_compile) 2>conftest.er1
15736 ac_status=$?
15737 grep -v '^ *+' conftest.er1 >conftest.err
15738 rm -f conftest.er1
15739 cat conftest.err >&5
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); } &&
15742 { ac_try='test -z "$ac_cxx_werror_flag"
15743 || test ! -s conftest.err'
15744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15745 (eval $ac_try) 2>&5
15746 ac_status=$?
15747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 (exit $ac_status); }; } &&
15749 { ac_try='test -s conftest.$ac_objext'
15750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15751 (eval $ac_try) 2>&5
15752 ac_status=$?
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); }; }; then
15755 echo "$as_me:$LINENO: result: yes" >&5
15756 echo "${ECHO_T}yes" >&6
15757 else
15758 echo "$as_me: failed program was:" >&5
15759 sed 's/^/| /' conftest.$ac_ext >&5
15760
15761 echo "$as_me:$LINENO: result: no" >&5
15762 echo "${ECHO_T}no" >&6
15763 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15764 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15765 cat >conftest.$ac_ext <<_ACEOF
15766 /* confdefs.h. */
15767 _ACEOF
15768 cat confdefs.h >>conftest.$ac_ext
15769 cat >>conftest.$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15771 #define __CF_USE_FRAMEWORK_INCLUDES__
15772 #include <CoreFoundation/CFBase.h>
15773
15774 int
15775 main ()
15776 {
15777
15778 ;
15779 return 0;
15780 }
15781 _ACEOF
15782 rm -f conftest.$ac_objext
15783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15784 (eval $ac_compile) 2>conftest.er1
15785 ac_status=$?
15786 grep -v '^ *+' conftest.er1 >conftest.err
15787 rm -f conftest.er1
15788 cat conftest.err >&5
15789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15790 (exit $ac_status); } &&
15791 { ac_try='test -z "$ac_cxx_werror_flag"
15792 || test ! -s conftest.err'
15793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15794 (eval $ac_try) 2>&5
15795 ac_status=$?
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); }; } &&
15798 { ac_try='test -s conftest.$ac_objext'
15799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15800 (eval $ac_try) 2>&5
15801 ac_status=$?
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); }; }; then
15804 echo "$as_me:$LINENO: result: yes" >&5
15805 echo "${ECHO_T}yes" >&6
15806 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15807 else
15808 echo "$as_me: failed program was:" >&5
15809 sed 's/^/| /' conftest.$ac_ext >&5
15810
15811 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15812 See \`config.log' for more details." >&5
15813 echo "$as_me: error: no. CoreFoundation not available.
15814 See \`config.log' for more details." >&2;}
15815 { (exit 1); exit 1; }; }
15816
15817 fi
15818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15819
15820
15821 fi
15822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15823 ;;
15824 esac
15825
15826 case "${host}" in
15827 *-pc-os2_emx | *-pc-os2-emx )
15828 ac_ext=c
15829 ac_cpp='$CPP $CPPFLAGS'
15830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15833
15834 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15835 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15836 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15837 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15838 echo $ECHO_N "(cached) $ECHO_C" >&6
15839 else
15840 ac_check_lib_save_LIBS=$LIBS
15841 LIBS="-lcExt $LIBS"
15842 cat >conftest.$ac_ext <<_ACEOF
15843 /* confdefs.h. */
15844 _ACEOF
15845 cat confdefs.h >>conftest.$ac_ext
15846 cat >>conftest.$ac_ext <<_ACEOF
15847 /* end confdefs.h. */
15848
15849 /* Override any gcc2 internal prototype to avoid an error. */
15850 #ifdef __cplusplus
15851 extern "C"
15852 #endif
15853 /* We use char because int might match the return type of a gcc2
15854 builtin and then its argument prototype would still apply. */
15855 char drand48 ();
15856 int
15857 main ()
15858 {
15859 drand48 ();
15860 ;
15861 return 0;
15862 }
15863 _ACEOF
15864 rm -f conftest.$ac_objext conftest$ac_exeext
15865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15866 (eval $ac_link) 2>conftest.er1
15867 ac_status=$?
15868 grep -v '^ *+' conftest.er1 >conftest.err
15869 rm -f conftest.er1
15870 cat conftest.err >&5
15871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15872 (exit $ac_status); } &&
15873 { ac_try='test -z "$ac_c_werror_flag"
15874 || test ! -s conftest.err'
15875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15876 (eval $ac_try) 2>&5
15877 ac_status=$?
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); }; } &&
15880 { ac_try='test -s conftest$ac_exeext'
15881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15882 (eval $ac_try) 2>&5
15883 ac_status=$?
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); }; }; then
15886 ac_cv_lib_cExt_drand48=yes
15887 else
15888 echo "$as_me: failed program was:" >&5
15889 sed 's/^/| /' conftest.$ac_ext >&5
15890
15891 ac_cv_lib_cExt_drand48=no
15892 fi
15893 rm -f conftest.err conftest.$ac_objext \
15894 conftest$ac_exeext conftest.$ac_ext
15895 LIBS=$ac_check_lib_save_LIBS
15896 fi
15897 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15898 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15899 if test $ac_cv_lib_cExt_drand48 = yes; then
15900 LIBS="$LIBS -lcExt"
15901 fi
15902
15903 else
15904 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15905 fi
15906 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15907 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15908 if test "${wx_cv_gccversion+set}" = set; then
15909 echo $ECHO_N "(cached) $ECHO_C" >&6
15910 else
15911
15912 if test "$cross_compiling" = yes; then
15913 wx_cv_gccversion="EMX2"
15914
15915 else
15916 cat >conftest.$ac_ext <<_ACEOF
15917 /* confdefs.h. */
15918 _ACEOF
15919 cat confdefs.h >>conftest.$ac_ext
15920 cat >>conftest.$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15922
15923 #include <stdio.h>
15924
15925 int main()
15926 {
15927 FILE *f=fopen("conftestval", "w");
15928 if (!f) exit(1);
15929 fprintf(f,
15930 #if (__GNUC__ < 3)
15931 "EMX2"
15932 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15933 "EMX3"
15934 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15935 "Innotek5"
15936 #else
15937 "Innotek6"
15938 #endif
15939 );
15940 exit(0);
15941 }
15942
15943 _ACEOF
15944 rm -f conftest$ac_exeext
15945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15946 (eval $ac_link) 2>&5
15947 ac_status=$?
15948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15951 (eval $ac_try) 2>&5
15952 ac_status=$?
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); }; }; then
15955 wx_cv_gccversion=`cat conftestval`
15956 else
15957 echo "$as_me: program exited with status $ac_status" >&5
15958 echo "$as_me: failed program was:" >&5
15959 sed 's/^/| /' conftest.$ac_ext >&5
15960
15961 ( exit $ac_status )
15962 wx_cv_gccversion="EMX2"
15963 fi
15964 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15965 fi
15966
15967 fi
15968 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15969 echo "${ECHO_T}$wx_cv_gccversion" >&6
15970 ac_ext=cc
15971 ac_cpp='$CXXCPP $CPPFLAGS'
15972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15975
15976 if test "$wx_cv_gccversion" = "EMX2"; then
15977 LIBS="$LIBS -lstdcpp"
15978 LDFLAGS="$LDFLAGS -Zsysv-signals"
15979 else
15980 if test "$wx_cv_gccversion" = "EMX3"; then
15981 LIBS="$LIBS -lstdcxx -lgcc"
15982 LDFLAGS="$LDFLAGS -Zsysv-signals"
15983 else
15984 LIBS="$LIBS -lstdc++"
15985 fi
15986 fi
15987 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15988 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15989 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15990 wxUSE_OMF=yes
15991 enable_omf=yes
15992 fi
15993 ;;
15994 *)
15995
15996 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15997 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15998 if test "${ac_cv_string_strcasecmp+set}" = set; then
15999 echo $ECHO_N "(cached) $ECHO_C" >&6
16000 else
16001
16002 cat >conftest.$ac_ext <<_ACEOF
16003 /* confdefs.h. */
16004 _ACEOF
16005 cat confdefs.h >>conftest.$ac_ext
16006 cat >>conftest.$ac_ext <<_ACEOF
16007 /* end confdefs.h. */
16008
16009 #include <string.h>
16010
16011 int
16012 main ()
16013 {
16014
16015 strcasecmp("foo", "bar");
16016
16017 ;
16018 return 0;
16019 }
16020 _ACEOF
16021 rm -f conftest.$ac_objext conftest$ac_exeext
16022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16023 (eval $ac_link) 2>conftest.er1
16024 ac_status=$?
16025 grep -v '^ *+' conftest.er1 >conftest.err
16026 rm -f conftest.er1
16027 cat conftest.err >&5
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); } &&
16030 { ac_try='test -z "$ac_cxx_werror_flag"
16031 || test ! -s conftest.err'
16032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16033 (eval $ac_try) 2>&5
16034 ac_status=$?
16035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16036 (exit $ac_status); }; } &&
16037 { ac_try='test -s conftest$ac_exeext'
16038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16039 (eval $ac_try) 2>&5
16040 ac_status=$?
16041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16042 (exit $ac_status); }; }; then
16043 ac_cv_string_strcasecmp=yes
16044 else
16045 echo "$as_me: failed program was:" >&5
16046 sed 's/^/| /' conftest.$ac_ext >&5
16047
16048 ac_cv_string_strcasecmp=no
16049
16050 fi
16051 rm -f conftest.err conftest.$ac_objext \
16052 conftest$ac_exeext conftest.$ac_ext
16053
16054 fi
16055 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16056 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16057
16058 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16059 cat >>confdefs.h <<\_ACEOF
16060 #define HAVE_STRCASECMP_IN_STRING_H 1
16061 _ACEOF
16062
16063 else
16064 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16065 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16066 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16067 echo $ECHO_N "(cached) $ECHO_C" >&6
16068 else
16069
16070 cat >conftest.$ac_ext <<_ACEOF
16071 /* confdefs.h. */
16072 _ACEOF
16073 cat confdefs.h >>conftest.$ac_ext
16074 cat >>conftest.$ac_ext <<_ACEOF
16075 /* end confdefs.h. */
16076
16077 #include <strings.h>
16078
16079 int
16080 main ()
16081 {
16082
16083 strcasecmp("foo", "bar");
16084
16085 ;
16086 return 0;
16087 }
16088 _ACEOF
16089 rm -f conftest.$ac_objext conftest$ac_exeext
16090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16091 (eval $ac_link) 2>conftest.er1
16092 ac_status=$?
16093 grep -v '^ *+' conftest.er1 >conftest.err
16094 rm -f conftest.er1
16095 cat conftest.err >&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); } &&
16098 { ac_try='test -z "$ac_cxx_werror_flag"
16099 || test ! -s conftest.err'
16100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16101 (eval $ac_try) 2>&5
16102 ac_status=$?
16103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104 (exit $ac_status); }; } &&
16105 { ac_try='test -s conftest$ac_exeext'
16106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16107 (eval $ac_try) 2>&5
16108 ac_status=$?
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); }; }; then
16111 ac_cv_strings_strcasecmp=yes
16112 else
16113 echo "$as_me: failed program was:" >&5
16114 sed 's/^/| /' conftest.$ac_ext >&5
16115
16116 ac_cv_strings_strcasecmp=no
16117
16118 fi
16119 rm -f conftest.err conftest.$ac_objext \
16120 conftest$ac_exeext conftest.$ac_ext
16121
16122 fi
16123 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16124 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16125
16126 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16127 cat >>confdefs.h <<\_ACEOF
16128 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16129 _ACEOF
16130
16131 else
16132 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16133 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16134 { (exit 1); exit 1; }; }
16135 fi
16136 fi
16137
16138 ;;
16139 esac
16140
16141
16142 ac_ext=cc
16143 ac_cpp='$CXXCPP $CPPFLAGS'
16144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16147 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16148 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16149 if test -z "$CXXCPP"; then
16150 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16151 echo $ECHO_N "(cached) $ECHO_C" >&6
16152 else
16153 # Double quotes because CXXCPP needs to be expanded
16154 for CXXCPP in "$CXX -E" "/lib/cpp"
16155 do
16156 ac_preproc_ok=false
16157 for ac_cxx_preproc_warn_flag in '' yes
16158 do
16159 # Use a header file that comes with gcc, so configuring glibc
16160 # with a fresh cross-compiler works.
16161 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16162 # <limits.h> exists even on freestanding compilers.
16163 # On the NeXT, cc -E runs the code through the compiler's parser,
16164 # not just through cpp. "Syntax error" is here to catch this case.
16165 cat >conftest.$ac_ext <<_ACEOF
16166 /* confdefs.h. */
16167 _ACEOF
16168 cat confdefs.h >>conftest.$ac_ext
16169 cat >>conftest.$ac_ext <<_ACEOF
16170 /* end confdefs.h. */
16171 #ifdef __STDC__
16172 # include <limits.h>
16173 #else
16174 # include <assert.h>
16175 #endif
16176 Syntax error
16177 _ACEOF
16178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16179 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16180 ac_status=$?
16181 grep -v '^ *+' conftest.er1 >conftest.err
16182 rm -f conftest.er1
16183 cat conftest.err >&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } >/dev/null; then
16186 if test -s conftest.err; then
16187 ac_cpp_err=$ac_cxx_preproc_warn_flag
16188 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16189 else
16190 ac_cpp_err=
16191 fi
16192 else
16193 ac_cpp_err=yes
16194 fi
16195 if test -z "$ac_cpp_err"; then
16196 :
16197 else
16198 echo "$as_me: failed program was:" >&5
16199 sed 's/^/| /' conftest.$ac_ext >&5
16200
16201 # Broken: fails on valid input.
16202 continue
16203 fi
16204 rm -f conftest.err conftest.$ac_ext
16205
16206 # OK, works on sane cases. Now check whether non-existent headers
16207 # can be detected and how.
16208 cat >conftest.$ac_ext <<_ACEOF
16209 /* confdefs.h. */
16210 _ACEOF
16211 cat confdefs.h >>conftest.$ac_ext
16212 cat >>conftest.$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16214 #include <ac_nonexistent.h>
16215 _ACEOF
16216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16218 ac_status=$?
16219 grep -v '^ *+' conftest.er1 >conftest.err
16220 rm -f conftest.er1
16221 cat conftest.err >&5
16222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16223 (exit $ac_status); } >/dev/null; then
16224 if test -s conftest.err; then
16225 ac_cpp_err=$ac_cxx_preproc_warn_flag
16226 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16227 else
16228 ac_cpp_err=
16229 fi
16230 else
16231 ac_cpp_err=yes
16232 fi
16233 if test -z "$ac_cpp_err"; then
16234 # Broken: success on invalid input.
16235 continue
16236 else
16237 echo "$as_me: failed program was:" >&5
16238 sed 's/^/| /' conftest.$ac_ext >&5
16239
16240 # Passes both tests.
16241 ac_preproc_ok=:
16242 break
16243 fi
16244 rm -f conftest.err conftest.$ac_ext
16245
16246 done
16247 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16248 rm -f conftest.err conftest.$ac_ext
16249 if $ac_preproc_ok; then
16250 break
16251 fi
16252
16253 done
16254 ac_cv_prog_CXXCPP=$CXXCPP
16255
16256 fi
16257 CXXCPP=$ac_cv_prog_CXXCPP
16258 else
16259 ac_cv_prog_CXXCPP=$CXXCPP
16260 fi
16261 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16262 echo "${ECHO_T}$CXXCPP" >&6
16263 ac_preproc_ok=false
16264 for ac_cxx_preproc_warn_flag in '' yes
16265 do
16266 # Use a header file that comes with gcc, so configuring glibc
16267 # with a fresh cross-compiler works.
16268 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16269 # <limits.h> exists even on freestanding compilers.
16270 # On the NeXT, cc -E runs the code through the compiler's parser,
16271 # not just through cpp. "Syntax error" is here to catch this case.
16272 cat >conftest.$ac_ext <<_ACEOF
16273 /* confdefs.h. */
16274 _ACEOF
16275 cat confdefs.h >>conftest.$ac_ext
16276 cat >>conftest.$ac_ext <<_ACEOF
16277 /* end confdefs.h. */
16278 #ifdef __STDC__
16279 # include <limits.h>
16280 #else
16281 # include <assert.h>
16282 #endif
16283 Syntax error
16284 _ACEOF
16285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16286 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16287 ac_status=$?
16288 grep -v '^ *+' conftest.er1 >conftest.err
16289 rm -f conftest.er1
16290 cat conftest.err >&5
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); } >/dev/null; then
16293 if test -s conftest.err; then
16294 ac_cpp_err=$ac_cxx_preproc_warn_flag
16295 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16296 else
16297 ac_cpp_err=
16298 fi
16299 else
16300 ac_cpp_err=yes
16301 fi
16302 if test -z "$ac_cpp_err"; then
16303 :
16304 else
16305 echo "$as_me: failed program was:" >&5
16306 sed 's/^/| /' conftest.$ac_ext >&5
16307
16308 # Broken: fails on valid input.
16309 continue
16310 fi
16311 rm -f conftest.err conftest.$ac_ext
16312
16313 # OK, works on sane cases. Now check whether non-existent headers
16314 # can be detected and how.
16315 cat >conftest.$ac_ext <<_ACEOF
16316 /* confdefs.h. */
16317 _ACEOF
16318 cat confdefs.h >>conftest.$ac_ext
16319 cat >>conftest.$ac_ext <<_ACEOF
16320 /* end confdefs.h. */
16321 #include <ac_nonexistent.h>
16322 _ACEOF
16323 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16324 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16325 ac_status=$?
16326 grep -v '^ *+' conftest.er1 >conftest.err
16327 rm -f conftest.er1
16328 cat conftest.err >&5
16329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16330 (exit $ac_status); } >/dev/null; then
16331 if test -s conftest.err; then
16332 ac_cpp_err=$ac_cxx_preproc_warn_flag
16333 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16334 else
16335 ac_cpp_err=
16336 fi
16337 else
16338 ac_cpp_err=yes
16339 fi
16340 if test -z "$ac_cpp_err"; then
16341 # Broken: success on invalid input.
16342 continue
16343 else
16344 echo "$as_me: failed program was:" >&5
16345 sed 's/^/| /' conftest.$ac_ext >&5
16346
16347 # Passes both tests.
16348 ac_preproc_ok=:
16349 break
16350 fi
16351 rm -f conftest.err conftest.$ac_ext
16352
16353 done
16354 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16355 rm -f conftest.err conftest.$ac_ext
16356 if $ac_preproc_ok; then
16357 :
16358 else
16359 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16360 See \`config.log' for more details." >&5
16361 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16362 See \`config.log' for more details." >&2;}
16363 { (exit 1); exit 1; }; }
16364 fi
16365
16366 ac_ext=cc
16367 ac_cpp='$CXXCPP $CPPFLAGS'
16368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16371
16372
16373 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16374 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16375 if test "${ac_cv_header_stdc+set}" = set; then
16376 echo $ECHO_N "(cached) $ECHO_C" >&6
16377 else
16378 cat >conftest.$ac_ext <<_ACEOF
16379 /* confdefs.h. */
16380 _ACEOF
16381 cat confdefs.h >>conftest.$ac_ext
16382 cat >>conftest.$ac_ext <<_ACEOF
16383 /* end confdefs.h. */
16384 #include <stdlib.h>
16385 #include <stdarg.h>
16386 #include <string.h>
16387 #include <float.h>
16388
16389 int
16390 main ()
16391 {
16392
16393 ;
16394 return 0;
16395 }
16396 _ACEOF
16397 rm -f conftest.$ac_objext
16398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16399 (eval $ac_compile) 2>conftest.er1
16400 ac_status=$?
16401 grep -v '^ *+' conftest.er1 >conftest.err
16402 rm -f conftest.er1
16403 cat conftest.err >&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); } &&
16406 { ac_try='test -z "$ac_cxx_werror_flag"
16407 || test ! -s conftest.err'
16408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16409 (eval $ac_try) 2>&5
16410 ac_status=$?
16411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16412 (exit $ac_status); }; } &&
16413 { ac_try='test -s conftest.$ac_objext'
16414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16415 (eval $ac_try) 2>&5
16416 ac_status=$?
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); }; }; then
16419 ac_cv_header_stdc=yes
16420 else
16421 echo "$as_me: failed program was:" >&5
16422 sed 's/^/| /' conftest.$ac_ext >&5
16423
16424 ac_cv_header_stdc=no
16425 fi
16426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16427
16428 if test $ac_cv_header_stdc = yes; then
16429 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16430 cat >conftest.$ac_ext <<_ACEOF
16431 /* confdefs.h. */
16432 _ACEOF
16433 cat confdefs.h >>conftest.$ac_ext
16434 cat >>conftest.$ac_ext <<_ACEOF
16435 /* end confdefs.h. */
16436 #include <string.h>
16437
16438 _ACEOF
16439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16440 $EGREP "memchr" >/dev/null 2>&1; then
16441 :
16442 else
16443 ac_cv_header_stdc=no
16444 fi
16445 rm -f conftest*
16446
16447 fi
16448
16449 if test $ac_cv_header_stdc = yes; then
16450 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16451 cat >conftest.$ac_ext <<_ACEOF
16452 /* confdefs.h. */
16453 _ACEOF
16454 cat confdefs.h >>conftest.$ac_ext
16455 cat >>conftest.$ac_ext <<_ACEOF
16456 /* end confdefs.h. */
16457 #include <stdlib.h>
16458
16459 _ACEOF
16460 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16461 $EGREP "free" >/dev/null 2>&1; then
16462 :
16463 else
16464 ac_cv_header_stdc=no
16465 fi
16466 rm -f conftest*
16467
16468 fi
16469
16470 if test $ac_cv_header_stdc = yes; then
16471 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16472 if test "$cross_compiling" = yes; then
16473 :
16474 else
16475 cat >conftest.$ac_ext <<_ACEOF
16476 /* confdefs.h. */
16477 _ACEOF
16478 cat confdefs.h >>conftest.$ac_ext
16479 cat >>conftest.$ac_ext <<_ACEOF
16480 /* end confdefs.h. */
16481 #include <ctype.h>
16482 #if ((' ' & 0x0FF) == 0x020)
16483 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16484 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16485 #else
16486 # define ISLOWER(c) \
16487 (('a' <= (c) && (c) <= 'i') \
16488 || ('j' <= (c) && (c) <= 'r') \
16489 || ('s' <= (c) && (c) <= 'z'))
16490 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16491 #endif
16492
16493 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16494 int
16495 main ()
16496 {
16497 int i;
16498 for (i = 0; i < 256; i++)
16499 if (XOR (islower (i), ISLOWER (i))
16500 || toupper (i) != TOUPPER (i))
16501 exit(2);
16502 exit (0);
16503 }
16504 _ACEOF
16505 rm -f conftest$ac_exeext
16506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16507 (eval $ac_link) 2>&5
16508 ac_status=$?
16509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16510 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16512 (eval $ac_try) 2>&5
16513 ac_status=$?
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); }; }; then
16516 :
16517 else
16518 echo "$as_me: program exited with status $ac_status" >&5
16519 echo "$as_me: failed program was:" >&5
16520 sed 's/^/| /' conftest.$ac_ext >&5
16521
16522 ( exit $ac_status )
16523 ac_cv_header_stdc=no
16524 fi
16525 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16526 fi
16527 fi
16528 fi
16529 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16530 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16531 if test $ac_cv_header_stdc = yes; then
16532
16533 cat >>confdefs.h <<\_ACEOF
16534 #define STDC_HEADERS 1
16535 _ACEOF
16536
16537 fi
16538
16539 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16550 inttypes.h stdint.h unistd.h
16551 do
16552 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16553 echo "$as_me:$LINENO: checking for $ac_header" >&5
16554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16556 echo $ECHO_N "(cached) $ECHO_C" >&6
16557 else
16558 cat >conftest.$ac_ext <<_ACEOF
16559 /* confdefs.h. */
16560 _ACEOF
16561 cat confdefs.h >>conftest.$ac_ext
16562 cat >>conftest.$ac_ext <<_ACEOF
16563 /* end confdefs.h. */
16564 $ac_includes_default
16565
16566 #include <$ac_header>
16567 _ACEOF
16568 rm -f conftest.$ac_objext
16569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16570 (eval $ac_compile) 2>conftest.er1
16571 ac_status=$?
16572 grep -v '^ *+' conftest.er1 >conftest.err
16573 rm -f conftest.er1
16574 cat conftest.err >&5
16575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16576 (exit $ac_status); } &&
16577 { ac_try='test -z "$ac_cxx_werror_flag"
16578 || test ! -s conftest.err'
16579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16580 (eval $ac_try) 2>&5
16581 ac_status=$?
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); }; } &&
16584 { ac_try='test -s conftest.$ac_objext'
16585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16586 (eval $ac_try) 2>&5
16587 ac_status=$?
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); }; }; then
16590 eval "$as_ac_Header=yes"
16591 else
16592 echo "$as_me: failed program was:" >&5
16593 sed 's/^/| /' conftest.$ac_ext >&5
16594
16595 eval "$as_ac_Header=no"
16596 fi
16597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16598 fi
16599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16600 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16602 cat >>confdefs.h <<_ACEOF
16603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16604 _ACEOF
16605
16606 fi
16607
16608 done
16609
16610
16611
16612 for ac_header in stdlib.h
16613 do
16614 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16616 echo "$as_me:$LINENO: checking for $ac_header" >&5
16617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16619 echo $ECHO_N "(cached) $ECHO_C" >&6
16620 fi
16621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16622 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16623 else
16624 # Is the header compilable?
16625 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16626 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16627 cat >conftest.$ac_ext <<_ACEOF
16628 /* confdefs.h. */
16629 _ACEOF
16630 cat confdefs.h >>conftest.$ac_ext
16631 cat >>conftest.$ac_ext <<_ACEOF
16632 /* end confdefs.h. */
16633 $ac_includes_default
16634 #include <$ac_header>
16635 _ACEOF
16636 rm -f conftest.$ac_objext
16637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16638 (eval $ac_compile) 2>conftest.er1
16639 ac_status=$?
16640 grep -v '^ *+' conftest.er1 >conftest.err
16641 rm -f conftest.er1
16642 cat conftest.err >&5
16643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16644 (exit $ac_status); } &&
16645 { ac_try='test -z "$ac_cxx_werror_flag"
16646 || test ! -s conftest.err'
16647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16648 (eval $ac_try) 2>&5
16649 ac_status=$?
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); }; } &&
16652 { ac_try='test -s conftest.$ac_objext'
16653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16654 (eval $ac_try) 2>&5
16655 ac_status=$?
16656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16657 (exit $ac_status); }; }; then
16658 ac_header_compiler=yes
16659 else
16660 echo "$as_me: failed program was:" >&5
16661 sed 's/^/| /' conftest.$ac_ext >&5
16662
16663 ac_header_compiler=no
16664 fi
16665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16666 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16667 echo "${ECHO_T}$ac_header_compiler" >&6
16668
16669 # Is the header present?
16670 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16671 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16672 cat >conftest.$ac_ext <<_ACEOF
16673 /* confdefs.h. */
16674 _ACEOF
16675 cat confdefs.h >>conftest.$ac_ext
16676 cat >>conftest.$ac_ext <<_ACEOF
16677 /* end confdefs.h. */
16678 #include <$ac_header>
16679 _ACEOF
16680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16681 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16682 ac_status=$?
16683 grep -v '^ *+' conftest.er1 >conftest.err
16684 rm -f conftest.er1
16685 cat conftest.err >&5
16686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16687 (exit $ac_status); } >/dev/null; then
16688 if test -s conftest.err; then
16689 ac_cpp_err=$ac_cxx_preproc_warn_flag
16690 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16691 else
16692 ac_cpp_err=
16693 fi
16694 else
16695 ac_cpp_err=yes
16696 fi
16697 if test -z "$ac_cpp_err"; then
16698 ac_header_preproc=yes
16699 else
16700 echo "$as_me: failed program was:" >&5
16701 sed 's/^/| /' conftest.$ac_ext >&5
16702
16703 ac_header_preproc=no
16704 fi
16705 rm -f conftest.err conftest.$ac_ext
16706 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16707 echo "${ECHO_T}$ac_header_preproc" >&6
16708
16709 # So? What about this header?
16710 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16711 yes:no: )
16712 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16713 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16714 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16715 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16716 ac_header_preproc=yes
16717 ;;
16718 no:yes:* )
16719 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16720 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16721 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16722 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16723 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16724 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16725 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16726 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16728 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16729 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16730 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16731 (
16732 cat <<\_ASBOX
16733 ## ----------------------------------------- ##
16734 ## Report this to wx-dev@lists.wxwidgets.org ##
16735 ## ----------------------------------------- ##
16736 _ASBOX
16737 ) |
16738 sed "s/^/$as_me: WARNING: /" >&2
16739 ;;
16740 esac
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 else
16746 eval "$as_ac_Header=\$ac_header_preproc"
16747 fi
16748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16750
16751 fi
16752 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16753 cat >>confdefs.h <<_ACEOF
16754 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16755 _ACEOF
16756
16757 fi
16758
16759 done
16760
16761
16762 for ac_header in malloc.h
16763 do
16764 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16766 echo "$as_me:$LINENO: checking for $ac_header" >&5
16767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16769 echo $ECHO_N "(cached) $ECHO_C" >&6
16770 fi
16771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16773 else
16774 # Is the header compilable?
16775 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16776 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16777 cat >conftest.$ac_ext <<_ACEOF
16778 /* confdefs.h. */
16779 _ACEOF
16780 cat confdefs.h >>conftest.$ac_ext
16781 cat >>conftest.$ac_ext <<_ACEOF
16782 /* end confdefs.h. */
16783 $ac_includes_default
16784 #include <$ac_header>
16785 _ACEOF
16786 rm -f conftest.$ac_objext
16787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16788 (eval $ac_compile) 2>conftest.er1
16789 ac_status=$?
16790 grep -v '^ *+' conftest.er1 >conftest.err
16791 rm -f conftest.er1
16792 cat conftest.err >&5
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); } &&
16795 { ac_try='test -z "$ac_cxx_werror_flag"
16796 || test ! -s conftest.err'
16797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16798 (eval $ac_try) 2>&5
16799 ac_status=$?
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); }; } &&
16802 { ac_try='test -s conftest.$ac_objext'
16803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16804 (eval $ac_try) 2>&5
16805 ac_status=$?
16806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16807 (exit $ac_status); }; }; then
16808 ac_header_compiler=yes
16809 else
16810 echo "$as_me: failed program was:" >&5
16811 sed 's/^/| /' conftest.$ac_ext >&5
16812
16813 ac_header_compiler=no
16814 fi
16815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16817 echo "${ECHO_T}$ac_header_compiler" >&6
16818
16819 # Is the header present?
16820 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16821 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16822 cat >conftest.$ac_ext <<_ACEOF
16823 /* confdefs.h. */
16824 _ACEOF
16825 cat confdefs.h >>conftest.$ac_ext
16826 cat >>conftest.$ac_ext <<_ACEOF
16827 /* end confdefs.h. */
16828 #include <$ac_header>
16829 _ACEOF
16830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16831 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16832 ac_status=$?
16833 grep -v '^ *+' conftest.er1 >conftest.err
16834 rm -f conftest.er1
16835 cat conftest.err >&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); } >/dev/null; then
16838 if test -s conftest.err; then
16839 ac_cpp_err=$ac_cxx_preproc_warn_flag
16840 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16841 else
16842 ac_cpp_err=
16843 fi
16844 else
16845 ac_cpp_err=yes
16846 fi
16847 if test -z "$ac_cpp_err"; then
16848 ac_header_preproc=yes
16849 else
16850 echo "$as_me: failed program was:" >&5
16851 sed 's/^/| /' conftest.$ac_ext >&5
16852
16853 ac_header_preproc=no
16854 fi
16855 rm -f conftest.err conftest.$ac_ext
16856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16857 echo "${ECHO_T}$ac_header_preproc" >&6
16858
16859 # So? What about this header?
16860 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16861 yes:no: )
16862 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16863 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16865 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16866 ac_header_preproc=yes
16867 ;;
16868 no:yes:* )
16869 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16870 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16871 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16872 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16873 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16874 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16875 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16876 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16878 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16879 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16880 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16881 (
16882 cat <<\_ASBOX
16883 ## ----------------------------------------- ##
16884 ## Report this to wx-dev@lists.wxwidgets.org ##
16885 ## ----------------------------------------- ##
16886 _ASBOX
16887 ) |
16888 sed "s/^/$as_me: WARNING: /" >&2
16889 ;;
16890 esac
16891 echo "$as_me:$LINENO: checking for $ac_header" >&5
16892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16894 echo $ECHO_N "(cached) $ECHO_C" >&6
16895 else
16896 eval "$as_ac_Header=\$ac_header_preproc"
16897 fi
16898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16900
16901 fi
16902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16903 cat >>confdefs.h <<_ACEOF
16904 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16905 _ACEOF
16906
16907 fi
16908
16909 done
16910
16911
16912 for ac_header in unistd.h
16913 do
16914 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16916 echo "$as_me:$LINENO: checking for $ac_header" >&5
16917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16920 fi
16921 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16922 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16923 else
16924 # Is the header compilable?
16925 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16926 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16927 cat >conftest.$ac_ext <<_ACEOF
16928 /* confdefs.h. */
16929 _ACEOF
16930 cat confdefs.h >>conftest.$ac_ext
16931 cat >>conftest.$ac_ext <<_ACEOF
16932 /* end confdefs.h. */
16933 $ac_includes_default
16934 #include <$ac_header>
16935 _ACEOF
16936 rm -f conftest.$ac_objext
16937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16938 (eval $ac_compile) 2>conftest.er1
16939 ac_status=$?
16940 grep -v '^ *+' conftest.er1 >conftest.err
16941 rm -f conftest.er1
16942 cat conftest.err >&5
16943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16944 (exit $ac_status); } &&
16945 { ac_try='test -z "$ac_cxx_werror_flag"
16946 || test ! -s conftest.err'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16949 ac_status=$?
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; } &&
16952 { ac_try='test -s conftest.$ac_objext'
16953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16954 (eval $ac_try) 2>&5
16955 ac_status=$?
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }; }; then
16958 ac_header_compiler=yes
16959 else
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.$ac_ext >&5
16962
16963 ac_header_compiler=no
16964 fi
16965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16966 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16967 echo "${ECHO_T}$ac_header_compiler" >&6
16968
16969 # Is the header present?
16970 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16971 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16972 cat >conftest.$ac_ext <<_ACEOF
16973 /* confdefs.h. */
16974 _ACEOF
16975 cat confdefs.h >>conftest.$ac_ext
16976 cat >>conftest.$ac_ext <<_ACEOF
16977 /* end confdefs.h. */
16978 #include <$ac_header>
16979 _ACEOF
16980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16981 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16982 ac_status=$?
16983 grep -v '^ *+' conftest.er1 >conftest.err
16984 rm -f conftest.er1
16985 cat conftest.err >&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); } >/dev/null; then
16988 if test -s conftest.err; then
16989 ac_cpp_err=$ac_cxx_preproc_warn_flag
16990 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16991 else
16992 ac_cpp_err=
16993 fi
16994 else
16995 ac_cpp_err=yes
16996 fi
16997 if test -z "$ac_cpp_err"; then
16998 ac_header_preproc=yes
16999 else
17000 echo "$as_me: failed program was:" >&5
17001 sed 's/^/| /' conftest.$ac_ext >&5
17002
17003 ac_header_preproc=no
17004 fi
17005 rm -f conftest.err conftest.$ac_ext
17006 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17007 echo "${ECHO_T}$ac_header_preproc" >&6
17008
17009 # So? What about this header?
17010 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17011 yes:no: )
17012 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17013 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17015 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17016 ac_header_preproc=yes
17017 ;;
17018 no:yes:* )
17019 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17020 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17021 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17022 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17023 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17024 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17025 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17026 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17029 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17030 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17031 (
17032 cat <<\_ASBOX
17033 ## ----------------------------------------- ##
17034 ## Report this to wx-dev@lists.wxwidgets.org ##
17035 ## ----------------------------------------- ##
17036 _ASBOX
17037 ) |
17038 sed "s/^/$as_me: WARNING: /" >&2
17039 ;;
17040 esac
17041 echo "$as_me:$LINENO: checking for $ac_header" >&5
17042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17044 echo $ECHO_N "(cached) $ECHO_C" >&6
17045 else
17046 eval "$as_ac_Header=\$ac_header_preproc"
17047 fi
17048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17050
17051 fi
17052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17053 cat >>confdefs.h <<_ACEOF
17054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17055 _ACEOF
17056
17057 fi
17058
17059 done
17060
17061
17062 for ac_header in wchar.h
17063 do
17064 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17066 echo "$as_me:$LINENO: checking for $ac_header" >&5
17067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17069 echo $ECHO_N "(cached) $ECHO_C" >&6
17070 fi
17071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17073 else
17074 # Is the header compilable?
17075 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17076 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17077 cat >conftest.$ac_ext <<_ACEOF
17078 /* confdefs.h. */
17079 _ACEOF
17080 cat confdefs.h >>conftest.$ac_ext
17081 cat >>conftest.$ac_ext <<_ACEOF
17082 /* end confdefs.h. */
17083 $ac_includes_default
17084 #include <$ac_header>
17085 _ACEOF
17086 rm -f conftest.$ac_objext
17087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17088 (eval $ac_compile) 2>conftest.er1
17089 ac_status=$?
17090 grep -v '^ *+' conftest.er1 >conftest.err
17091 rm -f conftest.er1
17092 cat conftest.err >&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); } &&
17095 { ac_try='test -z "$ac_cxx_werror_flag"
17096 || test ! -s conftest.err'
17097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17098 (eval $ac_try) 2>&5
17099 ac_status=$?
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); }; } &&
17102 { ac_try='test -s conftest.$ac_objext'
17103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17104 (eval $ac_try) 2>&5
17105 ac_status=$?
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); }; }; then
17108 ac_header_compiler=yes
17109 else
17110 echo "$as_me: failed program was:" >&5
17111 sed 's/^/| /' conftest.$ac_ext >&5
17112
17113 ac_header_compiler=no
17114 fi
17115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17117 echo "${ECHO_T}$ac_header_compiler" >&6
17118
17119 # Is the header present?
17120 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17121 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17122 cat >conftest.$ac_ext <<_ACEOF
17123 /* confdefs.h. */
17124 _ACEOF
17125 cat confdefs.h >>conftest.$ac_ext
17126 cat >>conftest.$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17128 #include <$ac_header>
17129 _ACEOF
17130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17131 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17132 ac_status=$?
17133 grep -v '^ *+' conftest.er1 >conftest.err
17134 rm -f conftest.er1
17135 cat conftest.err >&5
17136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17137 (exit $ac_status); } >/dev/null; then
17138 if test -s conftest.err; then
17139 ac_cpp_err=$ac_cxx_preproc_warn_flag
17140 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17141 else
17142 ac_cpp_err=
17143 fi
17144 else
17145 ac_cpp_err=yes
17146 fi
17147 if test -z "$ac_cpp_err"; then
17148 ac_header_preproc=yes
17149 else
17150 echo "$as_me: failed program was:" >&5
17151 sed 's/^/| /' conftest.$ac_ext >&5
17152
17153 ac_header_preproc=no
17154 fi
17155 rm -f conftest.err conftest.$ac_ext
17156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17157 echo "${ECHO_T}$ac_header_preproc" >&6
17158
17159 # So? What about this header?
17160 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17161 yes:no: )
17162 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17163 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17164 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17165 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17166 ac_header_preproc=yes
17167 ;;
17168 no:yes:* )
17169 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17170 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17171 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17172 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17173 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17174 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17175 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17176 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17178 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17179 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17180 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17181 (
17182 cat <<\_ASBOX
17183 ## ----------------------------------------- ##
17184 ## Report this to wx-dev@lists.wxwidgets.org ##
17185 ## ----------------------------------------- ##
17186 _ASBOX
17187 ) |
17188 sed "s/^/$as_me: WARNING: /" >&2
17189 ;;
17190 esac
17191 echo "$as_me:$LINENO: checking for $ac_header" >&5
17192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17194 echo $ECHO_N "(cached) $ECHO_C" >&6
17195 else
17196 eval "$as_ac_Header=\$ac_header_preproc"
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
17201 fi
17202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17203 cat >>confdefs.h <<_ACEOF
17204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17205 _ACEOF
17206
17207 fi
17208
17209 done
17210
17211
17212 if test "$ac_cv_header_wchar_h" != "yes"; then
17213
17214 for ac_header in wcstr.h
17215 do
17216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17218 echo "$as_me:$LINENO: checking for $ac_header" >&5
17219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17221 echo $ECHO_N "(cached) $ECHO_C" >&6
17222 fi
17223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17225 else
17226 # Is the header compilable?
17227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17229 cat >conftest.$ac_ext <<_ACEOF
17230 /* confdefs.h. */
17231 _ACEOF
17232 cat confdefs.h >>conftest.$ac_ext
17233 cat >>conftest.$ac_ext <<_ACEOF
17234 /* end confdefs.h. */
17235 $ac_includes_default
17236 #include <$ac_header>
17237 _ACEOF
17238 rm -f conftest.$ac_objext
17239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17240 (eval $ac_compile) 2>conftest.er1
17241 ac_status=$?
17242 grep -v '^ *+' conftest.er1 >conftest.err
17243 rm -f conftest.er1
17244 cat conftest.err >&5
17245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17246 (exit $ac_status); } &&
17247 { ac_try='test -z "$ac_cxx_werror_flag"
17248 || test ! -s conftest.err'
17249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17250 (eval $ac_try) 2>&5
17251 ac_status=$?
17252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17253 (exit $ac_status); }; } &&
17254 { ac_try='test -s conftest.$ac_objext'
17255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17256 (eval $ac_try) 2>&5
17257 ac_status=$?
17258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17259 (exit $ac_status); }; }; then
17260 ac_header_compiler=yes
17261 else
17262 echo "$as_me: failed program was:" >&5
17263 sed 's/^/| /' conftest.$ac_ext >&5
17264
17265 ac_header_compiler=no
17266 fi
17267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17269 echo "${ECHO_T}$ac_header_compiler" >&6
17270
17271 # Is the header present?
17272 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17273 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17274 cat >conftest.$ac_ext <<_ACEOF
17275 /* confdefs.h. */
17276 _ACEOF
17277 cat confdefs.h >>conftest.$ac_ext
17278 cat >>conftest.$ac_ext <<_ACEOF
17279 /* end confdefs.h. */
17280 #include <$ac_header>
17281 _ACEOF
17282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17283 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17284 ac_status=$?
17285 grep -v '^ *+' conftest.er1 >conftest.err
17286 rm -f conftest.er1
17287 cat conftest.err >&5
17288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17289 (exit $ac_status); } >/dev/null; then
17290 if test -s conftest.err; then
17291 ac_cpp_err=$ac_cxx_preproc_warn_flag
17292 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17293 else
17294 ac_cpp_err=
17295 fi
17296 else
17297 ac_cpp_err=yes
17298 fi
17299 if test -z "$ac_cpp_err"; then
17300 ac_header_preproc=yes
17301 else
17302 echo "$as_me: failed program was:" >&5
17303 sed 's/^/| /' conftest.$ac_ext >&5
17304
17305 ac_header_preproc=no
17306 fi
17307 rm -f conftest.err conftest.$ac_ext
17308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17309 echo "${ECHO_T}$ac_header_preproc" >&6
17310
17311 # So? What about this header?
17312 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17313 yes:no: )
17314 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17317 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17318 ac_header_preproc=yes
17319 ;;
17320 no:yes:* )
17321 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17322 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17323 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17324 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17325 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17326 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17327 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17328 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17330 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17331 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17332 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17333 (
17334 cat <<\_ASBOX
17335 ## ----------------------------------------- ##
17336 ## Report this to wx-dev@lists.wxwidgets.org ##
17337 ## ----------------------------------------- ##
17338 _ASBOX
17339 ) |
17340 sed "s/^/$as_me: WARNING: /" >&2
17341 ;;
17342 esac
17343 echo "$as_me:$LINENO: checking for $ac_header" >&5
17344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17346 echo $ECHO_N "(cached) $ECHO_C" >&6
17347 else
17348 eval "$as_ac_Header=\$ac_header_preproc"
17349 fi
17350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17352
17353 fi
17354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17355 cat >>confdefs.h <<_ACEOF
17356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17357 _ACEOF
17358
17359 fi
17360
17361 done
17362
17363 fi
17364
17365
17366 for ac_header in fnmatch.h
17367 do
17368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17370 echo "$as_me:$LINENO: checking for $ac_header" >&5
17371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17373 echo $ECHO_N "(cached) $ECHO_C" >&6
17374 fi
17375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17377 else
17378 # Is the header compilable?
17379 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17380 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17381 cat >conftest.$ac_ext <<_ACEOF
17382 /* confdefs.h. */
17383 _ACEOF
17384 cat confdefs.h >>conftest.$ac_ext
17385 cat >>conftest.$ac_ext <<_ACEOF
17386 /* end confdefs.h. */
17387 $ac_includes_default
17388 #include <$ac_header>
17389 _ACEOF
17390 rm -f conftest.$ac_objext
17391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17392 (eval $ac_compile) 2>conftest.er1
17393 ac_status=$?
17394 grep -v '^ *+' conftest.er1 >conftest.err
17395 rm -f conftest.er1
17396 cat conftest.err >&5
17397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17398 (exit $ac_status); } &&
17399 { ac_try='test -z "$ac_cxx_werror_flag"
17400 || test ! -s conftest.err'
17401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17402 (eval $ac_try) 2>&5
17403 ac_status=$?
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); }; } &&
17406 { ac_try='test -s conftest.$ac_objext'
17407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17408 (eval $ac_try) 2>&5
17409 ac_status=$?
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); }; }; then
17412 ac_header_compiler=yes
17413 else
17414 echo "$as_me: failed program was:" >&5
17415 sed 's/^/| /' conftest.$ac_ext >&5
17416
17417 ac_header_compiler=no
17418 fi
17419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17421 echo "${ECHO_T}$ac_header_compiler" >&6
17422
17423 # Is the header present?
17424 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17426 cat >conftest.$ac_ext <<_ACEOF
17427 /* confdefs.h. */
17428 _ACEOF
17429 cat confdefs.h >>conftest.$ac_ext
17430 cat >>conftest.$ac_ext <<_ACEOF
17431 /* end confdefs.h. */
17432 #include <$ac_header>
17433 _ACEOF
17434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17435 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17436 ac_status=$?
17437 grep -v '^ *+' conftest.er1 >conftest.err
17438 rm -f conftest.er1
17439 cat conftest.err >&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); } >/dev/null; then
17442 if test -s conftest.err; then
17443 ac_cpp_err=$ac_cxx_preproc_warn_flag
17444 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17445 else
17446 ac_cpp_err=
17447 fi
17448 else
17449 ac_cpp_err=yes
17450 fi
17451 if test -z "$ac_cpp_err"; then
17452 ac_header_preproc=yes
17453 else
17454 echo "$as_me: failed program was:" >&5
17455 sed 's/^/| /' conftest.$ac_ext >&5
17456
17457 ac_header_preproc=no
17458 fi
17459 rm -f conftest.err conftest.$ac_ext
17460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17461 echo "${ECHO_T}$ac_header_preproc" >&6
17462
17463 # So? What about this header?
17464 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17465 yes:no: )
17466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17469 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17470 ac_header_preproc=yes
17471 ;;
17472 no:yes:* )
17473 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17474 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17475 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17476 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17477 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17478 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17479 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17480 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17483 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17484 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17485 (
17486 cat <<\_ASBOX
17487 ## ----------------------------------------- ##
17488 ## Report this to wx-dev@lists.wxwidgets.org ##
17489 ## ----------------------------------------- ##
17490 _ASBOX
17491 ) |
17492 sed "s/^/$as_me: WARNING: /" >&2
17493 ;;
17494 esac
17495 echo "$as_me:$LINENO: checking for $ac_header" >&5
17496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17498 echo $ECHO_N "(cached) $ECHO_C" >&6
17499 else
17500 eval "$as_ac_Header=\$ac_header_preproc"
17501 fi
17502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17504
17505 fi
17506 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17507 cat >>confdefs.h <<_ACEOF
17508 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17509 _ACEOF
17510
17511 fi
17512
17513 done
17514
17515
17516
17517 for ac_header in langinfo.h
17518 do
17519 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17520 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17521 echo "$as_me:$LINENO: checking for $ac_header" >&5
17522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17523 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17524 echo $ECHO_N "(cached) $ECHO_C" >&6
17525 fi
17526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17528 else
17529 # Is the header compilable?
17530 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17531 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17532 cat >conftest.$ac_ext <<_ACEOF
17533 /* confdefs.h. */
17534 _ACEOF
17535 cat confdefs.h >>conftest.$ac_ext
17536 cat >>conftest.$ac_ext <<_ACEOF
17537 /* end confdefs.h. */
17538 $ac_includes_default
17539 #include <$ac_header>
17540 _ACEOF
17541 rm -f conftest.$ac_objext
17542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17543 (eval $ac_compile) 2>conftest.er1
17544 ac_status=$?
17545 grep -v '^ *+' conftest.er1 >conftest.err
17546 rm -f conftest.er1
17547 cat conftest.err >&5
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); } &&
17550 { ac_try='test -z "$ac_cxx_werror_flag"
17551 || test ! -s conftest.err'
17552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17553 (eval $ac_try) 2>&5
17554 ac_status=$?
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); }; } &&
17557 { ac_try='test -s conftest.$ac_objext'
17558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17559 (eval $ac_try) 2>&5
17560 ac_status=$?
17561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17562 (exit $ac_status); }; }; then
17563 ac_header_compiler=yes
17564 else
17565 echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.$ac_ext >&5
17567
17568 ac_header_compiler=no
17569 fi
17570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17571 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17572 echo "${ECHO_T}$ac_header_compiler" >&6
17573
17574 # Is the header present?
17575 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17576 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17577 cat >conftest.$ac_ext <<_ACEOF
17578 /* confdefs.h. */
17579 _ACEOF
17580 cat confdefs.h >>conftest.$ac_ext
17581 cat >>conftest.$ac_ext <<_ACEOF
17582 /* end confdefs.h. */
17583 #include <$ac_header>
17584 _ACEOF
17585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17586 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17587 ac_status=$?
17588 grep -v '^ *+' conftest.er1 >conftest.err
17589 rm -f conftest.er1
17590 cat conftest.err >&5
17591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); } >/dev/null; then
17593 if test -s conftest.err; then
17594 ac_cpp_err=$ac_cxx_preproc_warn_flag
17595 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17596 else
17597 ac_cpp_err=
17598 fi
17599 else
17600 ac_cpp_err=yes
17601 fi
17602 if test -z "$ac_cpp_err"; then
17603 ac_header_preproc=yes
17604 else
17605 echo "$as_me: failed program was:" >&5
17606 sed 's/^/| /' conftest.$ac_ext >&5
17607
17608 ac_header_preproc=no
17609 fi
17610 rm -f conftest.err conftest.$ac_ext
17611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17612 echo "${ECHO_T}$ac_header_preproc" >&6
17613
17614 # So? What about this header?
17615 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17616 yes:no: )
17617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17620 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17621 ac_header_preproc=yes
17622 ;;
17623 no:yes:* )
17624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17628 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17629 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17630 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17631 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17634 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17635 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17636 (
17637 cat <<\_ASBOX
17638 ## ----------------------------------------- ##
17639 ## Report this to wx-dev@lists.wxwidgets.org ##
17640 ## ----------------------------------------- ##
17641 _ASBOX
17642 ) |
17643 sed "s/^/$as_me: WARNING: /" >&2
17644 ;;
17645 esac
17646 echo "$as_me:$LINENO: checking for $ac_header" >&5
17647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17649 echo $ECHO_N "(cached) $ECHO_C" >&6
17650 else
17651 eval "$as_ac_Header=\$ac_header_preproc"
17652 fi
17653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17655
17656 fi
17657 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17658 cat >>confdefs.h <<_ACEOF
17659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17660 _ACEOF
17661
17662 fi
17663
17664 done
17665
17666
17667 case "${host}" in
17668 *-pc-os2_emx | *-pc-os2-emx )
17669 if test $ac_cv_header_langinfo_h = "yes" \
17670 -a \( "$wx_cv_gccversion" = "EMX2" \
17671 -o "$wx_cv_gccversion" = "EMX3" \
17672 -o "$wx_cv_gccversion" = "Innotek5" \); then
17673 LIBS="$LIBS -lintl"
17674 fi
17675 ;;
17676 esac
17677
17678 if test "$USE_UNIX" = 1 ; then
17679
17680 for ac_header in sys/select.h
17681 do
17682 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17684 echo "$as_me:$LINENO: checking for $ac_header" >&5
17685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17687 echo $ECHO_N "(cached) $ECHO_C" >&6
17688 fi
17689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17691 else
17692 # Is the header compilable?
17693 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17694 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17695 cat >conftest.$ac_ext <<_ACEOF
17696 /* confdefs.h. */
17697 _ACEOF
17698 cat confdefs.h >>conftest.$ac_ext
17699 cat >>conftest.$ac_ext <<_ACEOF
17700 /* end confdefs.h. */
17701 $ac_includes_default
17702 #include <$ac_header>
17703 _ACEOF
17704 rm -f conftest.$ac_objext
17705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17706 (eval $ac_compile) 2>conftest.er1
17707 ac_status=$?
17708 grep -v '^ *+' conftest.er1 >conftest.err
17709 rm -f conftest.er1
17710 cat conftest.err >&5
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); } &&
17713 { ac_try='test -z "$ac_cxx_werror_flag"
17714 || test ! -s conftest.err'
17715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17716 (eval $ac_try) 2>&5
17717 ac_status=$?
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); }; } &&
17720 { ac_try='test -s conftest.$ac_objext'
17721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17722 (eval $ac_try) 2>&5
17723 ac_status=$?
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); }; }; then
17726 ac_header_compiler=yes
17727 else
17728 echo "$as_me: failed program was:" >&5
17729 sed 's/^/| /' conftest.$ac_ext >&5
17730
17731 ac_header_compiler=no
17732 fi
17733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17734 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17735 echo "${ECHO_T}$ac_header_compiler" >&6
17736
17737 # Is the header present?
17738 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17739 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17740 cat >conftest.$ac_ext <<_ACEOF
17741 /* confdefs.h. */
17742 _ACEOF
17743 cat confdefs.h >>conftest.$ac_ext
17744 cat >>conftest.$ac_ext <<_ACEOF
17745 /* end confdefs.h. */
17746 #include <$ac_header>
17747 _ACEOF
17748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17749 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17750 ac_status=$?
17751 grep -v '^ *+' conftest.er1 >conftest.err
17752 rm -f conftest.er1
17753 cat conftest.err >&5
17754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17755 (exit $ac_status); } >/dev/null; then
17756 if test -s conftest.err; then
17757 ac_cpp_err=$ac_cxx_preproc_warn_flag
17758 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17759 else
17760 ac_cpp_err=
17761 fi
17762 else
17763 ac_cpp_err=yes
17764 fi
17765 if test -z "$ac_cpp_err"; then
17766 ac_header_preproc=yes
17767 else
17768 echo "$as_me: failed program was:" >&5
17769 sed 's/^/| /' conftest.$ac_ext >&5
17770
17771 ac_header_preproc=no
17772 fi
17773 rm -f conftest.err conftest.$ac_ext
17774 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17775 echo "${ECHO_T}$ac_header_preproc" >&6
17776
17777 # So? What about this header?
17778 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17779 yes:no: )
17780 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17781 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17783 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17784 ac_header_preproc=yes
17785 ;;
17786 no:yes:* )
17787 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17788 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17789 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17790 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17791 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17792 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17793 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17794 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17796 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17797 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17798 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17799 (
17800 cat <<\_ASBOX
17801 ## ----------------------------------------- ##
17802 ## Report this to wx-dev@lists.wxwidgets.org ##
17803 ## ----------------------------------------- ##
17804 _ASBOX
17805 ) |
17806 sed "s/^/$as_me: WARNING: /" >&2
17807 ;;
17808 esac
17809 echo "$as_me:$LINENO: checking for $ac_header" >&5
17810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17812 echo $ECHO_N "(cached) $ECHO_C" >&6
17813 else
17814 eval "$as_ac_Header=\$ac_header_preproc"
17815 fi
17816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17818
17819 fi
17820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17821 cat >>confdefs.h <<_ACEOF
17822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17823 _ACEOF
17824
17825 fi
17826
17827 done
17828
17829 fi
17830
17831
17832 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17833 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17834 if test "${ac_cv_c_const+set}" = set; then
17835 echo $ECHO_N "(cached) $ECHO_C" >&6
17836 else
17837 cat >conftest.$ac_ext <<_ACEOF
17838 /* confdefs.h. */
17839 _ACEOF
17840 cat confdefs.h >>conftest.$ac_ext
17841 cat >>conftest.$ac_ext <<_ACEOF
17842 /* end confdefs.h. */
17843
17844 int
17845 main ()
17846 {
17847 /* FIXME: Include the comments suggested by Paul. */
17848 #ifndef __cplusplus
17849 /* Ultrix mips cc rejects this. */
17850 typedef int charset[2];
17851 const charset x;
17852 /* SunOS 4.1.1 cc rejects this. */
17853 char const *const *ccp;
17854 char **p;
17855 /* NEC SVR4.0.2 mips cc rejects this. */
17856 struct point {int x, y;};
17857 static struct point const zero = {0,0};
17858 /* AIX XL C 1.02.0.0 rejects this.
17859 It does not let you subtract one const X* pointer from another in
17860 an arm of an if-expression whose if-part is not a constant
17861 expression */
17862 const char *g = "string";
17863 ccp = &g + (g ? g-g : 0);
17864 /* HPUX 7.0 cc rejects these. */
17865 ++ccp;
17866 p = (char**) ccp;
17867 ccp = (char const *const *) p;
17868 { /* SCO 3.2v4 cc rejects this. */
17869 char *t;
17870 char const *s = 0 ? (char *) 0 : (char const *) 0;
17871
17872 *t++ = 0;
17873 }
17874 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17875 int x[] = {25, 17};
17876 const int *foo = &x[0];
17877 ++foo;
17878 }
17879 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17880 typedef const int *iptr;
17881 iptr p = 0;
17882 ++p;
17883 }
17884 { /* AIX XL C 1.02.0.0 rejects this saying
17885 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17886 struct s { int j; const int *ap[3]; };
17887 struct s *b; b->j = 5;
17888 }
17889 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17890 const int foo = 10;
17891 }
17892 #endif
17893
17894 ;
17895 return 0;
17896 }
17897 _ACEOF
17898 rm -f conftest.$ac_objext
17899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17900 (eval $ac_compile) 2>conftest.er1
17901 ac_status=$?
17902 grep -v '^ *+' conftest.er1 >conftest.err
17903 rm -f conftest.er1
17904 cat conftest.err >&5
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); } &&
17907 { ac_try='test -z "$ac_cxx_werror_flag"
17908 || test ! -s conftest.err'
17909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910 (eval $ac_try) 2>&5
17911 ac_status=$?
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); }; } &&
17914 { ac_try='test -s conftest.$ac_objext'
17915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17916 (eval $ac_try) 2>&5
17917 ac_status=$?
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); }; }; then
17920 ac_cv_c_const=yes
17921 else
17922 echo "$as_me: failed program was:" >&5
17923 sed 's/^/| /' conftest.$ac_ext >&5
17924
17925 ac_cv_c_const=no
17926 fi
17927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17928 fi
17929 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17930 echo "${ECHO_T}$ac_cv_c_const" >&6
17931 if test $ac_cv_c_const = no; then
17932
17933 cat >>confdefs.h <<\_ACEOF
17934 #define const
17935 _ACEOF
17936
17937 fi
17938
17939 echo "$as_me:$LINENO: checking for inline" >&5
17940 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17941 if test "${ac_cv_c_inline+set}" = set; then
17942 echo $ECHO_N "(cached) $ECHO_C" >&6
17943 else
17944 ac_cv_c_inline=no
17945 for ac_kw in inline __inline__ __inline; do
17946 cat >conftest.$ac_ext <<_ACEOF
17947 /* confdefs.h. */
17948 _ACEOF
17949 cat confdefs.h >>conftest.$ac_ext
17950 cat >>conftest.$ac_ext <<_ACEOF
17951 /* end confdefs.h. */
17952 #ifndef __cplusplus
17953 typedef int foo_t;
17954 static $ac_kw foo_t static_foo () {return 0; }
17955 $ac_kw foo_t foo () {return 0; }
17956 #endif
17957
17958 _ACEOF
17959 rm -f conftest.$ac_objext
17960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17961 (eval $ac_compile) 2>conftest.er1
17962 ac_status=$?
17963 grep -v '^ *+' conftest.er1 >conftest.err
17964 rm -f conftest.er1
17965 cat conftest.err >&5
17966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17967 (exit $ac_status); } &&
17968 { ac_try='test -z "$ac_cxx_werror_flag"
17969 || test ! -s conftest.err'
17970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17971 (eval $ac_try) 2>&5
17972 ac_status=$?
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); }; } &&
17975 { ac_try='test -s conftest.$ac_objext'
17976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17977 (eval $ac_try) 2>&5
17978 ac_status=$?
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); }; }; then
17981 ac_cv_c_inline=$ac_kw; break
17982 else
17983 echo "$as_me: failed program was:" >&5
17984 sed 's/^/| /' conftest.$ac_ext >&5
17985
17986 fi
17987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17988 done
17989
17990 fi
17991 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17992 echo "${ECHO_T}$ac_cv_c_inline" >&6
17993
17994
17995 case $ac_cv_c_inline in
17996 inline | yes) ;;
17997 *)
17998 case $ac_cv_c_inline in
17999 no) ac_val=;;
18000 *) ac_val=$ac_cv_c_inline;;
18001 esac
18002 cat >>confdefs.h <<_ACEOF
18003 #ifndef __cplusplus
18004 #define inline $ac_val
18005 #endif
18006 _ACEOF
18007 ;;
18008 esac
18009
18010
18011 echo "$as_me:$LINENO: checking for char" >&5
18012 echo $ECHO_N "checking for char... $ECHO_C" >&6
18013 if test "${ac_cv_type_char+set}" = set; then
18014 echo $ECHO_N "(cached) $ECHO_C" >&6
18015 else
18016 cat >conftest.$ac_ext <<_ACEOF
18017 /* confdefs.h. */
18018 _ACEOF
18019 cat confdefs.h >>conftest.$ac_ext
18020 cat >>conftest.$ac_ext <<_ACEOF
18021 /* end confdefs.h. */
18022 $ac_includes_default
18023 int
18024 main ()
18025 {
18026 if ((char *) 0)
18027 return 0;
18028 if (sizeof (char))
18029 return 0;
18030 ;
18031 return 0;
18032 }
18033 _ACEOF
18034 rm -f conftest.$ac_objext
18035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18036 (eval $ac_compile) 2>conftest.er1
18037 ac_status=$?
18038 grep -v '^ *+' conftest.er1 >conftest.err
18039 rm -f conftest.er1
18040 cat conftest.err >&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } &&
18043 { ac_try='test -z "$ac_cxx_werror_flag"
18044 || test ! -s conftest.err'
18045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18046 (eval $ac_try) 2>&5
18047 ac_status=$?
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); }; } &&
18050 { ac_try='test -s conftest.$ac_objext'
18051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18052 (eval $ac_try) 2>&5
18053 ac_status=$?
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); }; }; then
18056 ac_cv_type_char=yes
18057 else
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.$ac_ext >&5
18060
18061 ac_cv_type_char=no
18062 fi
18063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18064 fi
18065 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18066 echo "${ECHO_T}$ac_cv_type_char" >&6
18067
18068 echo "$as_me:$LINENO: checking size of char" >&5
18069 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18070 if test "${ac_cv_sizeof_char+set}" = set; then
18071 echo $ECHO_N "(cached) $ECHO_C" >&6
18072 else
18073 if test "$ac_cv_type_char" = yes; then
18074 # The cast to unsigned long works around a bug in the HP C Compiler
18075 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18076 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18077 # This bug is HP SR number 8606223364.
18078 if test "$cross_compiling" = yes; then
18079 # Depending upon the size, compute the lo and hi bounds.
18080 cat >conftest.$ac_ext <<_ACEOF
18081 /* confdefs.h. */
18082 _ACEOF
18083 cat confdefs.h >>conftest.$ac_ext
18084 cat >>conftest.$ac_ext <<_ACEOF
18085 /* end confdefs.h. */
18086 $ac_includes_default
18087 int
18088 main ()
18089 {
18090 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18091 test_array [0] = 0
18092
18093 ;
18094 return 0;
18095 }
18096 _ACEOF
18097 rm -f conftest.$ac_objext
18098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18099 (eval $ac_compile) 2>conftest.er1
18100 ac_status=$?
18101 grep -v '^ *+' conftest.er1 >conftest.err
18102 rm -f conftest.er1
18103 cat conftest.err >&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); } &&
18106 { ac_try='test -z "$ac_cxx_werror_flag"
18107 || test ! -s conftest.err'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18110 ac_status=$?
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; } &&
18113 { ac_try='test -s conftest.$ac_objext'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18116 ac_status=$?
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; }; then
18119 ac_lo=0 ac_mid=0
18120 while :; do
18121 cat >conftest.$ac_ext <<_ACEOF
18122 /* confdefs.h. */
18123 _ACEOF
18124 cat confdefs.h >>conftest.$ac_ext
18125 cat >>conftest.$ac_ext <<_ACEOF
18126 /* end confdefs.h. */
18127 $ac_includes_default
18128 int
18129 main ()
18130 {
18131 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18132 test_array [0] = 0
18133
18134 ;
18135 return 0;
18136 }
18137 _ACEOF
18138 rm -f conftest.$ac_objext
18139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18140 (eval $ac_compile) 2>conftest.er1
18141 ac_status=$?
18142 grep -v '^ *+' conftest.er1 >conftest.err
18143 rm -f conftest.er1
18144 cat conftest.err >&5
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); } &&
18147 { ac_try='test -z "$ac_cxx_werror_flag"
18148 || test ! -s conftest.err'
18149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18150 (eval $ac_try) 2>&5
18151 ac_status=$?
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); }; } &&
18154 { ac_try='test -s conftest.$ac_objext'
18155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156 (eval $ac_try) 2>&5
18157 ac_status=$?
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); }; }; then
18160 ac_hi=$ac_mid; break
18161 else
18162 echo "$as_me: failed program was:" >&5
18163 sed 's/^/| /' conftest.$ac_ext >&5
18164
18165 ac_lo=`expr $ac_mid + 1`
18166 if test $ac_lo -le $ac_mid; then
18167 ac_lo= ac_hi=
18168 break
18169 fi
18170 ac_mid=`expr 2 '*' $ac_mid + 1`
18171 fi
18172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18173 done
18174 else
18175 echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.$ac_ext >&5
18177
18178 cat >conftest.$ac_ext <<_ACEOF
18179 /* confdefs.h. */
18180 _ACEOF
18181 cat confdefs.h >>conftest.$ac_ext
18182 cat >>conftest.$ac_ext <<_ACEOF
18183 /* end confdefs.h. */
18184 $ac_includes_default
18185 int
18186 main ()
18187 {
18188 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18189 test_array [0] = 0
18190
18191 ;
18192 return 0;
18193 }
18194 _ACEOF
18195 rm -f conftest.$ac_objext
18196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18197 (eval $ac_compile) 2>conftest.er1
18198 ac_status=$?
18199 grep -v '^ *+' conftest.er1 >conftest.err
18200 rm -f conftest.er1
18201 cat conftest.err >&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } &&
18204 { ac_try='test -z "$ac_cxx_werror_flag"
18205 || test ! -s conftest.err'
18206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207 (eval $ac_try) 2>&5
18208 ac_status=$?
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); }; } &&
18211 { ac_try='test -s conftest.$ac_objext'
18212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18213 (eval $ac_try) 2>&5
18214 ac_status=$?
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; }; then
18217 ac_hi=-1 ac_mid=-1
18218 while :; do
18219 cat >conftest.$ac_ext <<_ACEOF
18220 /* confdefs.h. */
18221 _ACEOF
18222 cat confdefs.h >>conftest.$ac_ext
18223 cat >>conftest.$ac_ext <<_ACEOF
18224 /* end confdefs.h. */
18225 $ac_includes_default
18226 int
18227 main ()
18228 {
18229 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18230 test_array [0] = 0
18231
18232 ;
18233 return 0;
18234 }
18235 _ACEOF
18236 rm -f conftest.$ac_objext
18237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18238 (eval $ac_compile) 2>conftest.er1
18239 ac_status=$?
18240 grep -v '^ *+' conftest.er1 >conftest.err
18241 rm -f conftest.er1
18242 cat conftest.err >&5
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); } &&
18245 { ac_try='test -z "$ac_cxx_werror_flag"
18246 || test ! -s conftest.err'
18247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248 (eval $ac_try) 2>&5
18249 ac_status=$?
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }; } &&
18252 { ac_try='test -s conftest.$ac_objext'
18253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18254 (eval $ac_try) 2>&5
18255 ac_status=$?
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); }; }; then
18258 ac_lo=$ac_mid; break
18259 else
18260 echo "$as_me: failed program was:" >&5
18261 sed 's/^/| /' conftest.$ac_ext >&5
18262
18263 ac_hi=`expr '(' $ac_mid ')' - 1`
18264 if test $ac_mid -le $ac_hi; then
18265 ac_lo= ac_hi=
18266 break
18267 fi
18268 ac_mid=`expr 2 '*' $ac_mid`
18269 fi
18270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18271 done
18272 else
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.$ac_ext >&5
18275
18276 ac_lo= ac_hi=
18277 fi
18278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18279 fi
18280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18281 # Binary search between lo and hi bounds.
18282 while test "x$ac_lo" != "x$ac_hi"; do
18283 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18284 cat >conftest.$ac_ext <<_ACEOF
18285 /* confdefs.h. */
18286 _ACEOF
18287 cat confdefs.h >>conftest.$ac_ext
18288 cat >>conftest.$ac_ext <<_ACEOF
18289 /* end confdefs.h. */
18290 $ac_includes_default
18291 int
18292 main ()
18293 {
18294 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18295 test_array [0] = 0
18296
18297 ;
18298 return 0;
18299 }
18300 _ACEOF
18301 rm -f conftest.$ac_objext
18302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18303 (eval $ac_compile) 2>conftest.er1
18304 ac_status=$?
18305 grep -v '^ *+' conftest.er1 >conftest.err
18306 rm -f conftest.er1
18307 cat conftest.err >&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); } &&
18310 { ac_try='test -z "$ac_cxx_werror_flag"
18311 || test ! -s conftest.err'
18312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18313 (eval $ac_try) 2>&5
18314 ac_status=$?
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); }; } &&
18317 { ac_try='test -s conftest.$ac_objext'
18318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18319 (eval $ac_try) 2>&5
18320 ac_status=$?
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); }; }; then
18323 ac_hi=$ac_mid
18324 else
18325 echo "$as_me: failed program was:" >&5
18326 sed 's/^/| /' conftest.$ac_ext >&5
18327
18328 ac_lo=`expr '(' $ac_mid ')' + 1`
18329 fi
18330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18331 done
18332 case $ac_lo in
18333 ?*) ac_cv_sizeof_char=$ac_lo;;
18334 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18335 See \`config.log' for more details." >&5
18336 echo "$as_me: error: cannot compute sizeof (char), 77
18337 See \`config.log' for more details." >&2;}
18338 { (exit 1); exit 1; }; } ;;
18339 esac
18340 else
18341 if test "$cross_compiling" = yes; then
18342 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18343 See \`config.log' for more details." >&5
18344 echo "$as_me: error: cannot run test program while cross compiling
18345 See \`config.log' for more details." >&2;}
18346 { (exit 1); exit 1; }; }
18347 else
18348 cat >conftest.$ac_ext <<_ACEOF
18349 /* confdefs.h. */
18350 _ACEOF
18351 cat confdefs.h >>conftest.$ac_ext
18352 cat >>conftest.$ac_ext <<_ACEOF
18353 /* end confdefs.h. */
18354 $ac_includes_default
18355 long longval () { return (long) (sizeof (char)); }
18356 unsigned long ulongval () { return (long) (sizeof (char)); }
18357 #include <stdio.h>
18358 #include <stdlib.h>
18359 int
18360 main ()
18361 {
18362
18363 FILE *f = fopen ("conftest.val", "w");
18364 if (! f)
18365 exit (1);
18366 if (((long) (sizeof (char))) < 0)
18367 {
18368 long i = longval ();
18369 if (i != ((long) (sizeof (char))))
18370 exit (1);
18371 fprintf (f, "%ld\n", i);
18372 }
18373 else
18374 {
18375 unsigned long i = ulongval ();
18376 if (i != ((long) (sizeof (char))))
18377 exit (1);
18378 fprintf (f, "%lu\n", i);
18379 }
18380 exit (ferror (f) || fclose (f) != 0);
18381
18382 ;
18383 return 0;
18384 }
18385 _ACEOF
18386 rm -f conftest$ac_exeext
18387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18388 (eval $ac_link) 2>&5
18389 ac_status=$?
18390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18391 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393 (eval $ac_try) 2>&5
18394 ac_status=$?
18395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396 (exit $ac_status); }; }; then
18397 ac_cv_sizeof_char=`cat conftest.val`
18398 else
18399 echo "$as_me: program exited with status $ac_status" >&5
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.$ac_ext >&5
18402
18403 ( exit $ac_status )
18404 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18405 See \`config.log' for more details." >&5
18406 echo "$as_me: error: cannot compute sizeof (char), 77
18407 See \`config.log' for more details." >&2;}
18408 { (exit 1); exit 1; }; }
18409 fi
18410 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18411 fi
18412 fi
18413 rm -f conftest.val
18414 else
18415 ac_cv_sizeof_char=0
18416 fi
18417 fi
18418 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18419 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18420 cat >>confdefs.h <<_ACEOF
18421 #define SIZEOF_CHAR $ac_cv_sizeof_char
18422 _ACEOF
18423
18424
18425 echo "$as_me:$LINENO: checking for short" >&5
18426 echo $ECHO_N "checking for short... $ECHO_C" >&6
18427 if test "${ac_cv_type_short+set}" = set; then
18428 echo $ECHO_N "(cached) $ECHO_C" >&6
18429 else
18430 cat >conftest.$ac_ext <<_ACEOF
18431 /* confdefs.h. */
18432 _ACEOF
18433 cat confdefs.h >>conftest.$ac_ext
18434 cat >>conftest.$ac_ext <<_ACEOF
18435 /* end confdefs.h. */
18436 $ac_includes_default
18437 int
18438 main ()
18439 {
18440 if ((short *) 0)
18441 return 0;
18442 if (sizeof (short))
18443 return 0;
18444 ;
18445 return 0;
18446 }
18447 _ACEOF
18448 rm -f conftest.$ac_objext
18449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18450 (eval $ac_compile) 2>conftest.er1
18451 ac_status=$?
18452 grep -v '^ *+' conftest.er1 >conftest.err
18453 rm -f conftest.er1
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } &&
18457 { ac_try='test -z "$ac_cxx_werror_flag"
18458 || test ! -s conftest.err'
18459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18460 (eval $ac_try) 2>&5
18461 ac_status=$?
18462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18463 (exit $ac_status); }; } &&
18464 { ac_try='test -s conftest.$ac_objext'
18465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18466 (eval $ac_try) 2>&5
18467 ac_status=$?
18468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18469 (exit $ac_status); }; }; then
18470 ac_cv_type_short=yes
18471 else
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.$ac_ext >&5
18474
18475 ac_cv_type_short=no
18476 fi
18477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18478 fi
18479 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18480 echo "${ECHO_T}$ac_cv_type_short" >&6
18481
18482 echo "$as_me:$LINENO: checking size of short" >&5
18483 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18484 if test "${ac_cv_sizeof_short+set}" = set; then
18485 echo $ECHO_N "(cached) $ECHO_C" >&6
18486 else
18487 if test "$ac_cv_type_short" = yes; then
18488 # The cast to unsigned long works around a bug in the HP C Compiler
18489 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18490 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18491 # This bug is HP SR number 8606223364.
18492 if test "$cross_compiling" = yes; then
18493 # Depending upon the size, compute the lo and hi bounds.
18494 cat >conftest.$ac_ext <<_ACEOF
18495 /* confdefs.h. */
18496 _ACEOF
18497 cat confdefs.h >>conftest.$ac_ext
18498 cat >>conftest.$ac_ext <<_ACEOF
18499 /* end confdefs.h. */
18500 $ac_includes_default
18501 int
18502 main ()
18503 {
18504 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18505 test_array [0] = 0
18506
18507 ;
18508 return 0;
18509 }
18510 _ACEOF
18511 rm -f conftest.$ac_objext
18512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18513 (eval $ac_compile) 2>conftest.er1
18514 ac_status=$?
18515 grep -v '^ *+' conftest.er1 >conftest.err
18516 rm -f conftest.er1
18517 cat conftest.err >&5
18518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18519 (exit $ac_status); } &&
18520 { ac_try='test -z "$ac_cxx_werror_flag"
18521 || test ! -s conftest.err'
18522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18523 (eval $ac_try) 2>&5
18524 ac_status=$?
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; } &&
18527 { ac_try='test -s conftest.$ac_objext'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18530 ac_status=$?
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; }; then
18533 ac_lo=0 ac_mid=0
18534 while :; do
18535 cat >conftest.$ac_ext <<_ACEOF
18536 /* confdefs.h. */
18537 _ACEOF
18538 cat confdefs.h >>conftest.$ac_ext
18539 cat >>conftest.$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18541 $ac_includes_default
18542 int
18543 main ()
18544 {
18545 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18546 test_array [0] = 0
18547
18548 ;
18549 return 0;
18550 }
18551 _ACEOF
18552 rm -f conftest.$ac_objext
18553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18554 (eval $ac_compile) 2>conftest.er1
18555 ac_status=$?
18556 grep -v '^ *+' conftest.er1 >conftest.err
18557 rm -f conftest.er1
18558 cat conftest.err >&5
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); } &&
18561 { ac_try='test -z "$ac_cxx_werror_flag"
18562 || test ! -s conftest.err'
18563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18564 (eval $ac_try) 2>&5
18565 ac_status=$?
18566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18567 (exit $ac_status); }; } &&
18568 { ac_try='test -s conftest.$ac_objext'
18569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18570 (eval $ac_try) 2>&5
18571 ac_status=$?
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); }; }; then
18574 ac_hi=$ac_mid; break
18575 else
18576 echo "$as_me: failed program was:" >&5
18577 sed 's/^/| /' conftest.$ac_ext >&5
18578
18579 ac_lo=`expr $ac_mid + 1`
18580 if test $ac_lo -le $ac_mid; then
18581 ac_lo= ac_hi=
18582 break
18583 fi
18584 ac_mid=`expr 2 '*' $ac_mid + 1`
18585 fi
18586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18587 done
18588 else
18589 echo "$as_me: failed program was:" >&5
18590 sed 's/^/| /' conftest.$ac_ext >&5
18591
18592 cat >conftest.$ac_ext <<_ACEOF
18593 /* confdefs.h. */
18594 _ACEOF
18595 cat confdefs.h >>conftest.$ac_ext
18596 cat >>conftest.$ac_ext <<_ACEOF
18597 /* end confdefs.h. */
18598 $ac_includes_default
18599 int
18600 main ()
18601 {
18602 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18603 test_array [0] = 0
18604
18605 ;
18606 return 0;
18607 }
18608 _ACEOF
18609 rm -f conftest.$ac_objext
18610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18611 (eval $ac_compile) 2>conftest.er1
18612 ac_status=$?
18613 grep -v '^ *+' conftest.er1 >conftest.err
18614 rm -f conftest.er1
18615 cat conftest.err >&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } &&
18618 { ac_try='test -z "$ac_cxx_werror_flag"
18619 || test ! -s conftest.err'
18620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621 (eval $ac_try) 2>&5
18622 ac_status=$?
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; } &&
18625 { ac_try='test -s conftest.$ac_objext'
18626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18627 (eval $ac_try) 2>&5
18628 ac_status=$?
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); }; }; then
18631 ac_hi=-1 ac_mid=-1
18632 while :; do
18633 cat >conftest.$ac_ext <<_ACEOF
18634 /* confdefs.h. */
18635 _ACEOF
18636 cat confdefs.h >>conftest.$ac_ext
18637 cat >>conftest.$ac_ext <<_ACEOF
18638 /* end confdefs.h. */
18639 $ac_includes_default
18640 int
18641 main ()
18642 {
18643 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18644 test_array [0] = 0
18645
18646 ;
18647 return 0;
18648 }
18649 _ACEOF
18650 rm -f conftest.$ac_objext
18651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18652 (eval $ac_compile) 2>conftest.er1
18653 ac_status=$?
18654 grep -v '^ *+' conftest.er1 >conftest.err
18655 rm -f conftest.er1
18656 cat conftest.err >&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); } &&
18659 { ac_try='test -z "$ac_cxx_werror_flag"
18660 || test ! -s conftest.err'
18661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18662 (eval $ac_try) 2>&5
18663 ac_status=$?
18664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18665 (exit $ac_status); }; } &&
18666 { ac_try='test -s conftest.$ac_objext'
18667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18668 (eval $ac_try) 2>&5
18669 ac_status=$?
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); }; }; then
18672 ac_lo=$ac_mid; break
18673 else
18674 echo "$as_me: failed program was:" >&5
18675 sed 's/^/| /' conftest.$ac_ext >&5
18676
18677 ac_hi=`expr '(' $ac_mid ')' - 1`
18678 if test $ac_mid -le $ac_hi; then
18679 ac_lo= ac_hi=
18680 break
18681 fi
18682 ac_mid=`expr 2 '*' $ac_mid`
18683 fi
18684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18685 done
18686 else
18687 echo "$as_me: failed program was:" >&5
18688 sed 's/^/| /' conftest.$ac_ext >&5
18689
18690 ac_lo= ac_hi=
18691 fi
18692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18693 fi
18694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18695 # Binary search between lo and hi bounds.
18696 while test "x$ac_lo" != "x$ac_hi"; do
18697 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18698 cat >conftest.$ac_ext <<_ACEOF
18699 /* confdefs.h. */
18700 _ACEOF
18701 cat confdefs.h >>conftest.$ac_ext
18702 cat >>conftest.$ac_ext <<_ACEOF
18703 /* end confdefs.h. */
18704 $ac_includes_default
18705 int
18706 main ()
18707 {
18708 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18709 test_array [0] = 0
18710
18711 ;
18712 return 0;
18713 }
18714 _ACEOF
18715 rm -f conftest.$ac_objext
18716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18717 (eval $ac_compile) 2>conftest.er1
18718 ac_status=$?
18719 grep -v '^ *+' conftest.er1 >conftest.err
18720 rm -f conftest.er1
18721 cat conftest.err >&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } &&
18724 { ac_try='test -z "$ac_cxx_werror_flag"
18725 || test ! -s conftest.err'
18726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18727 (eval $ac_try) 2>&5
18728 ac_status=$?
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); }; } &&
18731 { ac_try='test -s conftest.$ac_objext'
18732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18733 (eval $ac_try) 2>&5
18734 ac_status=$?
18735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18736 (exit $ac_status); }; }; then
18737 ac_hi=$ac_mid
18738 else
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.$ac_ext >&5
18741
18742 ac_lo=`expr '(' $ac_mid ')' + 1`
18743 fi
18744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18745 done
18746 case $ac_lo in
18747 ?*) ac_cv_sizeof_short=$ac_lo;;
18748 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18749 See \`config.log' for more details." >&5
18750 echo "$as_me: error: cannot compute sizeof (short), 77
18751 See \`config.log' for more details." >&2;}
18752 { (exit 1); exit 1; }; } ;;
18753 esac
18754 else
18755 if test "$cross_compiling" = yes; then
18756 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18757 See \`config.log' for more details." >&5
18758 echo "$as_me: error: cannot run test program while cross compiling
18759 See \`config.log' for more details." >&2;}
18760 { (exit 1); exit 1; }; }
18761 else
18762 cat >conftest.$ac_ext <<_ACEOF
18763 /* confdefs.h. */
18764 _ACEOF
18765 cat confdefs.h >>conftest.$ac_ext
18766 cat >>conftest.$ac_ext <<_ACEOF
18767 /* end confdefs.h. */
18768 $ac_includes_default
18769 long longval () { return (long) (sizeof (short)); }
18770 unsigned long ulongval () { return (long) (sizeof (short)); }
18771 #include <stdio.h>
18772 #include <stdlib.h>
18773 int
18774 main ()
18775 {
18776
18777 FILE *f = fopen ("conftest.val", "w");
18778 if (! f)
18779 exit (1);
18780 if (((long) (sizeof (short))) < 0)
18781 {
18782 long i = longval ();
18783 if (i != ((long) (sizeof (short))))
18784 exit (1);
18785 fprintf (f, "%ld\n", i);
18786 }
18787 else
18788 {
18789 unsigned long i = ulongval ();
18790 if (i != ((long) (sizeof (short))))
18791 exit (1);
18792 fprintf (f, "%lu\n", i);
18793 }
18794 exit (ferror (f) || fclose (f) != 0);
18795
18796 ;
18797 return 0;
18798 }
18799 _ACEOF
18800 rm -f conftest$ac_exeext
18801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18802 (eval $ac_link) 2>&5
18803 ac_status=$?
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18807 (eval $ac_try) 2>&5
18808 ac_status=$?
18809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810 (exit $ac_status); }; }; then
18811 ac_cv_sizeof_short=`cat conftest.val`
18812 else
18813 echo "$as_me: program exited with status $ac_status" >&5
18814 echo "$as_me: failed program was:" >&5
18815 sed 's/^/| /' conftest.$ac_ext >&5
18816
18817 ( exit $ac_status )
18818 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18819 See \`config.log' for more details." >&5
18820 echo "$as_me: error: cannot compute sizeof (short), 77
18821 See \`config.log' for more details." >&2;}
18822 { (exit 1); exit 1; }; }
18823 fi
18824 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18825 fi
18826 fi
18827 rm -f conftest.val
18828 else
18829 ac_cv_sizeof_short=0
18830 fi
18831 fi
18832 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18833 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18834 cat >>confdefs.h <<_ACEOF
18835 #define SIZEOF_SHORT $ac_cv_sizeof_short
18836 _ACEOF
18837
18838
18839 echo "$as_me:$LINENO: checking for void *" >&5
18840 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18841 if test "${ac_cv_type_void_p+set}" = set; then
18842 echo $ECHO_N "(cached) $ECHO_C" >&6
18843 else
18844 cat >conftest.$ac_ext <<_ACEOF
18845 /* confdefs.h. */
18846 _ACEOF
18847 cat confdefs.h >>conftest.$ac_ext
18848 cat >>conftest.$ac_ext <<_ACEOF
18849 /* end confdefs.h. */
18850 $ac_includes_default
18851 int
18852 main ()
18853 {
18854 if ((void * *) 0)
18855 return 0;
18856 if (sizeof (void *))
18857 return 0;
18858 ;
18859 return 0;
18860 }
18861 _ACEOF
18862 rm -f conftest.$ac_objext
18863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18864 (eval $ac_compile) 2>conftest.er1
18865 ac_status=$?
18866 grep -v '^ *+' conftest.er1 >conftest.err
18867 rm -f conftest.er1
18868 cat conftest.err >&5
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); } &&
18871 { ac_try='test -z "$ac_cxx_werror_flag"
18872 || test ! -s conftest.err'
18873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18874 (eval $ac_try) 2>&5
18875 ac_status=$?
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); }; } &&
18878 { ac_try='test -s conftest.$ac_objext'
18879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18880 (eval $ac_try) 2>&5
18881 ac_status=$?
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); }; }; then
18884 ac_cv_type_void_p=yes
18885 else
18886 echo "$as_me: failed program was:" >&5
18887 sed 's/^/| /' conftest.$ac_ext >&5
18888
18889 ac_cv_type_void_p=no
18890 fi
18891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18892 fi
18893 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18894 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18895
18896 echo "$as_me:$LINENO: checking size of void *" >&5
18897 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18898 if test "${ac_cv_sizeof_void_p+set}" = set; then
18899 echo $ECHO_N "(cached) $ECHO_C" >&6
18900 else
18901 if test "$ac_cv_type_void_p" = yes; then
18902 # The cast to unsigned long works around a bug in the HP C Compiler
18903 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18904 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18905 # This bug is HP SR number 8606223364.
18906 if test "$cross_compiling" = yes; then
18907 # Depending upon the size, compute the lo and hi bounds.
18908 cat >conftest.$ac_ext <<_ACEOF
18909 /* confdefs.h. */
18910 _ACEOF
18911 cat confdefs.h >>conftest.$ac_ext
18912 cat >>conftest.$ac_ext <<_ACEOF
18913 /* end confdefs.h. */
18914 $ac_includes_default
18915 int
18916 main ()
18917 {
18918 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18919 test_array [0] = 0
18920
18921 ;
18922 return 0;
18923 }
18924 _ACEOF
18925 rm -f conftest.$ac_objext
18926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18927 (eval $ac_compile) 2>conftest.er1
18928 ac_status=$?
18929 grep -v '^ *+' conftest.er1 >conftest.err
18930 rm -f conftest.er1
18931 cat conftest.err >&5
18932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18933 (exit $ac_status); } &&
18934 { ac_try='test -z "$ac_cxx_werror_flag"
18935 || test ! -s conftest.err'
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); }; } &&
18941 { ac_try='test -s conftest.$ac_objext'
18942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18943 (eval $ac_try) 2>&5
18944 ac_status=$?
18945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18946 (exit $ac_status); }; }; then
18947 ac_lo=0 ac_mid=0
18948 while :; do
18949 cat >conftest.$ac_ext <<_ACEOF
18950 /* confdefs.h. */
18951 _ACEOF
18952 cat confdefs.h >>conftest.$ac_ext
18953 cat >>conftest.$ac_ext <<_ACEOF
18954 /* end confdefs.h. */
18955 $ac_includes_default
18956 int
18957 main ()
18958 {
18959 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18960 test_array [0] = 0
18961
18962 ;
18963 return 0;
18964 }
18965 _ACEOF
18966 rm -f conftest.$ac_objext
18967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18968 (eval $ac_compile) 2>conftest.er1
18969 ac_status=$?
18970 grep -v '^ *+' conftest.er1 >conftest.err
18971 rm -f conftest.er1
18972 cat conftest.err >&5
18973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974 (exit $ac_status); } &&
18975 { ac_try='test -z "$ac_cxx_werror_flag"
18976 || test ! -s conftest.err'
18977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18978 (eval $ac_try) 2>&5
18979 ac_status=$?
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981 (exit $ac_status); }; } &&
18982 { ac_try='test -s conftest.$ac_objext'
18983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18984 (eval $ac_try) 2>&5
18985 ac_status=$?
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); }; }; then
18988 ac_hi=$ac_mid; break
18989 else
18990 echo "$as_me: failed program was:" >&5
18991 sed 's/^/| /' conftest.$ac_ext >&5
18992
18993 ac_lo=`expr $ac_mid + 1`
18994 if test $ac_lo -le $ac_mid; then
18995 ac_lo= ac_hi=
18996 break
18997 fi
18998 ac_mid=`expr 2 '*' $ac_mid + 1`
18999 fi
19000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19001 done
19002 else
19003 echo "$as_me: failed program was:" >&5
19004 sed 's/^/| /' conftest.$ac_ext >&5
19005
19006 cat >conftest.$ac_ext <<_ACEOF
19007 /* confdefs.h. */
19008 _ACEOF
19009 cat confdefs.h >>conftest.$ac_ext
19010 cat >>conftest.$ac_ext <<_ACEOF
19011 /* end confdefs.h. */
19012 $ac_includes_default
19013 int
19014 main ()
19015 {
19016 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19017 test_array [0] = 0
19018
19019 ;
19020 return 0;
19021 }
19022 _ACEOF
19023 rm -f conftest.$ac_objext
19024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19025 (eval $ac_compile) 2>conftest.er1
19026 ac_status=$?
19027 grep -v '^ *+' conftest.er1 >conftest.err
19028 rm -f conftest.er1
19029 cat conftest.err >&5
19030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19031 (exit $ac_status); } &&
19032 { ac_try='test -z "$ac_cxx_werror_flag"
19033 || test ! -s conftest.err'
19034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035 (eval $ac_try) 2>&5
19036 ac_status=$?
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; } &&
19039 { ac_try='test -s conftest.$ac_objext'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19042 ac_status=$?
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; }; then
19045 ac_hi=-1 ac_mid=-1
19046 while :; do
19047 cat >conftest.$ac_ext <<_ACEOF
19048 /* confdefs.h. */
19049 _ACEOF
19050 cat confdefs.h >>conftest.$ac_ext
19051 cat >>conftest.$ac_ext <<_ACEOF
19052 /* end confdefs.h. */
19053 $ac_includes_default
19054 int
19055 main ()
19056 {
19057 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19058 test_array [0] = 0
19059
19060 ;
19061 return 0;
19062 }
19063 _ACEOF
19064 rm -f conftest.$ac_objext
19065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19066 (eval $ac_compile) 2>conftest.er1
19067 ac_status=$?
19068 grep -v '^ *+' conftest.er1 >conftest.err
19069 rm -f conftest.er1
19070 cat conftest.err >&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); } &&
19073 { ac_try='test -z "$ac_cxx_werror_flag"
19074 || test ! -s conftest.err'
19075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19076 (eval $ac_try) 2>&5
19077 ac_status=$?
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); }; } &&
19080 { ac_try='test -s conftest.$ac_objext'
19081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19082 (eval $ac_try) 2>&5
19083 ac_status=$?
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); }; }; then
19086 ac_lo=$ac_mid; break
19087 else
19088 echo "$as_me: failed program was:" >&5
19089 sed 's/^/| /' conftest.$ac_ext >&5
19090
19091 ac_hi=`expr '(' $ac_mid ')' - 1`
19092 if test $ac_mid -le $ac_hi; then
19093 ac_lo= ac_hi=
19094 break
19095 fi
19096 ac_mid=`expr 2 '*' $ac_mid`
19097 fi
19098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19099 done
19100 else
19101 echo "$as_me: failed program was:" >&5
19102 sed 's/^/| /' conftest.$ac_ext >&5
19103
19104 ac_lo= ac_hi=
19105 fi
19106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19107 fi
19108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19109 # Binary search between lo and hi bounds.
19110 while test "x$ac_lo" != "x$ac_hi"; do
19111 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19112 cat >conftest.$ac_ext <<_ACEOF
19113 /* confdefs.h. */
19114 _ACEOF
19115 cat confdefs.h >>conftest.$ac_ext
19116 cat >>conftest.$ac_ext <<_ACEOF
19117 /* end confdefs.h. */
19118 $ac_includes_default
19119 int
19120 main ()
19121 {
19122 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19123 test_array [0] = 0
19124
19125 ;
19126 return 0;
19127 }
19128 _ACEOF
19129 rm -f conftest.$ac_objext
19130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19131 (eval $ac_compile) 2>conftest.er1
19132 ac_status=$?
19133 grep -v '^ *+' conftest.er1 >conftest.err
19134 rm -f conftest.er1
19135 cat conftest.err >&5
19136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137 (exit $ac_status); } &&
19138 { ac_try='test -z "$ac_cxx_werror_flag"
19139 || test ! -s conftest.err'
19140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19141 (eval $ac_try) 2>&5
19142 ac_status=$?
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); }; } &&
19145 { ac_try='test -s conftest.$ac_objext'
19146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19147 (eval $ac_try) 2>&5
19148 ac_status=$?
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); }; }; then
19151 ac_hi=$ac_mid
19152 else
19153 echo "$as_me: failed program was:" >&5
19154 sed 's/^/| /' conftest.$ac_ext >&5
19155
19156 ac_lo=`expr '(' $ac_mid ')' + 1`
19157 fi
19158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19159 done
19160 case $ac_lo in
19161 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19162 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19163 See \`config.log' for more details." >&5
19164 echo "$as_me: error: cannot compute sizeof (void *), 77
19165 See \`config.log' for more details." >&2;}
19166 { (exit 1); exit 1; }; } ;;
19167 esac
19168 else
19169 if test "$cross_compiling" = yes; then
19170 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19171 See \`config.log' for more details." >&5
19172 echo "$as_me: error: cannot run test program while cross compiling
19173 See \`config.log' for more details." >&2;}
19174 { (exit 1); exit 1; }; }
19175 else
19176 cat >conftest.$ac_ext <<_ACEOF
19177 /* confdefs.h. */
19178 _ACEOF
19179 cat confdefs.h >>conftest.$ac_ext
19180 cat >>conftest.$ac_ext <<_ACEOF
19181 /* end confdefs.h. */
19182 $ac_includes_default
19183 long longval () { return (long) (sizeof (void *)); }
19184 unsigned long ulongval () { return (long) (sizeof (void *)); }
19185 #include <stdio.h>
19186 #include <stdlib.h>
19187 int
19188 main ()
19189 {
19190
19191 FILE *f = fopen ("conftest.val", "w");
19192 if (! f)
19193 exit (1);
19194 if (((long) (sizeof (void *))) < 0)
19195 {
19196 long i = longval ();
19197 if (i != ((long) (sizeof (void *))))
19198 exit (1);
19199 fprintf (f, "%ld\n", i);
19200 }
19201 else
19202 {
19203 unsigned long i = ulongval ();
19204 if (i != ((long) (sizeof (void *))))
19205 exit (1);
19206 fprintf (f, "%lu\n", i);
19207 }
19208 exit (ferror (f) || fclose (f) != 0);
19209
19210 ;
19211 return 0;
19212 }
19213 _ACEOF
19214 rm -f conftest$ac_exeext
19215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19216 (eval $ac_link) 2>&5
19217 ac_status=$?
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19221 (eval $ac_try) 2>&5
19222 ac_status=$?
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); }; }; then
19225 ac_cv_sizeof_void_p=`cat conftest.val`
19226 else
19227 echo "$as_me: program exited with status $ac_status" >&5
19228 echo "$as_me: failed program was:" >&5
19229 sed 's/^/| /' conftest.$ac_ext >&5
19230
19231 ( exit $ac_status )
19232 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19233 See \`config.log' for more details." >&5
19234 echo "$as_me: error: cannot compute sizeof (void *), 77
19235 See \`config.log' for more details." >&2;}
19236 { (exit 1); exit 1; }; }
19237 fi
19238 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19239 fi
19240 fi
19241 rm -f conftest.val
19242 else
19243 ac_cv_sizeof_void_p=0
19244 fi
19245 fi
19246 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19247 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19248 cat >>confdefs.h <<_ACEOF
19249 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19250 _ACEOF
19251
19252
19253 echo "$as_me:$LINENO: checking for int" >&5
19254 echo $ECHO_N "checking for int... $ECHO_C" >&6
19255 if test "${ac_cv_type_int+set}" = set; then
19256 echo $ECHO_N "(cached) $ECHO_C" >&6
19257 else
19258 cat >conftest.$ac_ext <<_ACEOF
19259 /* confdefs.h. */
19260 _ACEOF
19261 cat confdefs.h >>conftest.$ac_ext
19262 cat >>conftest.$ac_ext <<_ACEOF
19263 /* end confdefs.h. */
19264 $ac_includes_default
19265 int
19266 main ()
19267 {
19268 if ((int *) 0)
19269 return 0;
19270 if (sizeof (int))
19271 return 0;
19272 ;
19273 return 0;
19274 }
19275 _ACEOF
19276 rm -f conftest.$ac_objext
19277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19278 (eval $ac_compile) 2>conftest.er1
19279 ac_status=$?
19280 grep -v '^ *+' conftest.er1 >conftest.err
19281 rm -f conftest.er1
19282 cat conftest.err >&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); } &&
19285 { ac_try='test -z "$ac_cxx_werror_flag"
19286 || test ! -s conftest.err'
19287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19288 (eval $ac_try) 2>&5
19289 ac_status=$?
19290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19291 (exit $ac_status); }; } &&
19292 { ac_try='test -s conftest.$ac_objext'
19293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19294 (eval $ac_try) 2>&5
19295 ac_status=$?
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); }; }; then
19298 ac_cv_type_int=yes
19299 else
19300 echo "$as_me: failed program was:" >&5
19301 sed 's/^/| /' conftest.$ac_ext >&5
19302
19303 ac_cv_type_int=no
19304 fi
19305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19306 fi
19307 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19308 echo "${ECHO_T}$ac_cv_type_int" >&6
19309
19310 echo "$as_me:$LINENO: checking size of int" >&5
19311 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19312 if test "${ac_cv_sizeof_int+set}" = set; then
19313 echo $ECHO_N "(cached) $ECHO_C" >&6
19314 else
19315 if test "$ac_cv_type_int" = yes; then
19316 # The cast to unsigned long works around a bug in the HP C Compiler
19317 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19318 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19319 # This bug is HP SR number 8606223364.
19320 if test "$cross_compiling" = yes; then
19321 # Depending upon the size, compute the lo and hi bounds.
19322 cat >conftest.$ac_ext <<_ACEOF
19323 /* confdefs.h. */
19324 _ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19328 $ac_includes_default
19329 int
19330 main ()
19331 {
19332 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19333 test_array [0] = 0
19334
19335 ;
19336 return 0;
19337 }
19338 _ACEOF
19339 rm -f conftest.$ac_objext
19340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19341 (eval $ac_compile) 2>conftest.er1
19342 ac_status=$?
19343 grep -v '^ *+' conftest.er1 >conftest.err
19344 rm -f conftest.er1
19345 cat conftest.err >&5
19346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19347 (exit $ac_status); } &&
19348 { ac_try='test -z "$ac_cxx_werror_flag"
19349 || test ! -s conftest.err'
19350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19351 (eval $ac_try) 2>&5
19352 ac_status=$?
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); }; } &&
19355 { ac_try='test -s conftest.$ac_objext'
19356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19357 (eval $ac_try) 2>&5
19358 ac_status=$?
19359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19360 (exit $ac_status); }; }; then
19361 ac_lo=0 ac_mid=0
19362 while :; do
19363 cat >conftest.$ac_ext <<_ACEOF
19364 /* confdefs.h. */
19365 _ACEOF
19366 cat confdefs.h >>conftest.$ac_ext
19367 cat >>conftest.$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369 $ac_includes_default
19370 int
19371 main ()
19372 {
19373 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19374 test_array [0] = 0
19375
19376 ;
19377 return 0;
19378 }
19379 _ACEOF
19380 rm -f conftest.$ac_objext
19381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19382 (eval $ac_compile) 2>conftest.er1
19383 ac_status=$?
19384 grep -v '^ *+' conftest.er1 >conftest.err
19385 rm -f conftest.er1
19386 cat conftest.err >&5
19387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19388 (exit $ac_status); } &&
19389 { ac_try='test -z "$ac_cxx_werror_flag"
19390 || test ! -s conftest.err'
19391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392 (eval $ac_try) 2>&5
19393 ac_status=$?
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); }; } &&
19396 { ac_try='test -s conftest.$ac_objext'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19399 ac_status=$?
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; }; then
19402 ac_hi=$ac_mid; break
19403 else
19404 echo "$as_me: failed program was:" >&5
19405 sed 's/^/| /' conftest.$ac_ext >&5
19406
19407 ac_lo=`expr $ac_mid + 1`
19408 if test $ac_lo -le $ac_mid; then
19409 ac_lo= ac_hi=
19410 break
19411 fi
19412 ac_mid=`expr 2 '*' $ac_mid + 1`
19413 fi
19414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19415 done
19416 else
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.$ac_ext >&5
19419
19420 cat >conftest.$ac_ext <<_ACEOF
19421 /* confdefs.h. */
19422 _ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 $ac_includes_default
19427 int
19428 main ()
19429 {
19430 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19431 test_array [0] = 0
19432
19433 ;
19434 return 0;
19435 }
19436 _ACEOF
19437 rm -f conftest.$ac_objext
19438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19439 (eval $ac_compile) 2>conftest.er1
19440 ac_status=$?
19441 grep -v '^ *+' conftest.er1 >conftest.err
19442 rm -f conftest.er1
19443 cat conftest.err >&5
19444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19445 (exit $ac_status); } &&
19446 { ac_try='test -z "$ac_cxx_werror_flag"
19447 || test ! -s conftest.err'
19448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19449 (eval $ac_try) 2>&5
19450 ac_status=$?
19451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19452 (exit $ac_status); }; } &&
19453 { ac_try='test -s conftest.$ac_objext'
19454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19455 (eval $ac_try) 2>&5
19456 ac_status=$?
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); }; }; then
19459 ac_hi=-1 ac_mid=-1
19460 while :; do
19461 cat >conftest.$ac_ext <<_ACEOF
19462 /* confdefs.h. */
19463 _ACEOF
19464 cat confdefs.h >>conftest.$ac_ext
19465 cat >>conftest.$ac_ext <<_ACEOF
19466 /* end confdefs.h. */
19467 $ac_includes_default
19468 int
19469 main ()
19470 {
19471 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19472 test_array [0] = 0
19473
19474 ;
19475 return 0;
19476 }
19477 _ACEOF
19478 rm -f conftest.$ac_objext
19479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19480 (eval $ac_compile) 2>conftest.er1
19481 ac_status=$?
19482 grep -v '^ *+' conftest.er1 >conftest.err
19483 rm -f conftest.er1
19484 cat conftest.err >&5
19485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19486 (exit $ac_status); } &&
19487 { ac_try='test -z "$ac_cxx_werror_flag"
19488 || test ! -s conftest.err'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19491 ac_status=$?
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; } &&
19494 { ac_try='test -s conftest.$ac_objext'
19495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19496 (eval $ac_try) 2>&5
19497 ac_status=$?
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); }; }; then
19500 ac_lo=$ac_mid; break
19501 else
19502 echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.$ac_ext >&5
19504
19505 ac_hi=`expr '(' $ac_mid ')' - 1`
19506 if test $ac_mid -le $ac_hi; then
19507 ac_lo= ac_hi=
19508 break
19509 fi
19510 ac_mid=`expr 2 '*' $ac_mid`
19511 fi
19512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19513 done
19514 else
19515 echo "$as_me: failed program was:" >&5
19516 sed 's/^/| /' conftest.$ac_ext >&5
19517
19518 ac_lo= ac_hi=
19519 fi
19520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19521 fi
19522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19523 # Binary search between lo and hi bounds.
19524 while test "x$ac_lo" != "x$ac_hi"; do
19525 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19526 cat >conftest.$ac_ext <<_ACEOF
19527 /* confdefs.h. */
19528 _ACEOF
19529 cat confdefs.h >>conftest.$ac_ext
19530 cat >>conftest.$ac_ext <<_ACEOF
19531 /* end confdefs.h. */
19532 $ac_includes_default
19533 int
19534 main ()
19535 {
19536 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19537 test_array [0] = 0
19538
19539 ;
19540 return 0;
19541 }
19542 _ACEOF
19543 rm -f conftest.$ac_objext
19544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19545 (eval $ac_compile) 2>conftest.er1
19546 ac_status=$?
19547 grep -v '^ *+' conftest.er1 >conftest.err
19548 rm -f conftest.er1
19549 cat conftest.err >&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } &&
19552 { ac_try='test -z "$ac_cxx_werror_flag"
19553 || test ! -s conftest.err'
19554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19555 (eval $ac_try) 2>&5
19556 ac_status=$?
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); }; } &&
19559 { ac_try='test -s conftest.$ac_objext'
19560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561 (eval $ac_try) 2>&5
19562 ac_status=$?
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; }; then
19565 ac_hi=$ac_mid
19566 else
19567 echo "$as_me: failed program was:" >&5
19568 sed 's/^/| /' conftest.$ac_ext >&5
19569
19570 ac_lo=`expr '(' $ac_mid ')' + 1`
19571 fi
19572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19573 done
19574 case $ac_lo in
19575 ?*) ac_cv_sizeof_int=$ac_lo;;
19576 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19577 See \`config.log' for more details." >&5
19578 echo "$as_me: error: cannot compute sizeof (int), 77
19579 See \`config.log' for more details." >&2;}
19580 { (exit 1); exit 1; }; } ;;
19581 esac
19582 else
19583 if test "$cross_compiling" = yes; then
19584 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19585 See \`config.log' for more details." >&5
19586 echo "$as_me: error: cannot run test program while cross compiling
19587 See \`config.log' for more details." >&2;}
19588 { (exit 1); exit 1; }; }
19589 else
19590 cat >conftest.$ac_ext <<_ACEOF
19591 /* confdefs.h. */
19592 _ACEOF
19593 cat confdefs.h >>conftest.$ac_ext
19594 cat >>conftest.$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 $ac_includes_default
19597 long longval () { return (long) (sizeof (int)); }
19598 unsigned long ulongval () { return (long) (sizeof (int)); }
19599 #include <stdio.h>
19600 #include <stdlib.h>
19601 int
19602 main ()
19603 {
19604
19605 FILE *f = fopen ("conftest.val", "w");
19606 if (! f)
19607 exit (1);
19608 if (((long) (sizeof (int))) < 0)
19609 {
19610 long i = longval ();
19611 if (i != ((long) (sizeof (int))))
19612 exit (1);
19613 fprintf (f, "%ld\n", i);
19614 }
19615 else
19616 {
19617 unsigned long i = ulongval ();
19618 if (i != ((long) (sizeof (int))))
19619 exit (1);
19620 fprintf (f, "%lu\n", i);
19621 }
19622 exit (ferror (f) || fclose (f) != 0);
19623
19624 ;
19625 return 0;
19626 }
19627 _ACEOF
19628 rm -f conftest$ac_exeext
19629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19630 (eval $ac_link) 2>&5
19631 ac_status=$?
19632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19633 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19635 (eval $ac_try) 2>&5
19636 ac_status=$?
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); }; }; then
19639 ac_cv_sizeof_int=`cat conftest.val`
19640 else
19641 echo "$as_me: program exited with status $ac_status" >&5
19642 echo "$as_me: failed program was:" >&5
19643 sed 's/^/| /' conftest.$ac_ext >&5
19644
19645 ( exit $ac_status )
19646 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19647 See \`config.log' for more details." >&5
19648 echo "$as_me: error: cannot compute sizeof (int), 77
19649 See \`config.log' for more details." >&2;}
19650 { (exit 1); exit 1; }; }
19651 fi
19652 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19653 fi
19654 fi
19655 rm -f conftest.val
19656 else
19657 ac_cv_sizeof_int=0
19658 fi
19659 fi
19660 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19661 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19662 cat >>confdefs.h <<_ACEOF
19663 #define SIZEOF_INT $ac_cv_sizeof_int
19664 _ACEOF
19665
19666
19667 echo "$as_me:$LINENO: checking for long" >&5
19668 echo $ECHO_N "checking for long... $ECHO_C" >&6
19669 if test "${ac_cv_type_long+set}" = set; then
19670 echo $ECHO_N "(cached) $ECHO_C" >&6
19671 else
19672 cat >conftest.$ac_ext <<_ACEOF
19673 /* confdefs.h. */
19674 _ACEOF
19675 cat confdefs.h >>conftest.$ac_ext
19676 cat >>conftest.$ac_ext <<_ACEOF
19677 /* end confdefs.h. */
19678 $ac_includes_default
19679 int
19680 main ()
19681 {
19682 if ((long *) 0)
19683 return 0;
19684 if (sizeof (long))
19685 return 0;
19686 ;
19687 return 0;
19688 }
19689 _ACEOF
19690 rm -f conftest.$ac_objext
19691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19692 (eval $ac_compile) 2>conftest.er1
19693 ac_status=$?
19694 grep -v '^ *+' conftest.er1 >conftest.err
19695 rm -f conftest.er1
19696 cat conftest.err >&5
19697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698 (exit $ac_status); } &&
19699 { ac_try='test -z "$ac_cxx_werror_flag"
19700 || test ! -s conftest.err'
19701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19702 (eval $ac_try) 2>&5
19703 ac_status=$?
19704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705 (exit $ac_status); }; } &&
19706 { ac_try='test -s conftest.$ac_objext'
19707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19708 (eval $ac_try) 2>&5
19709 ac_status=$?
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); }; }; then
19712 ac_cv_type_long=yes
19713 else
19714 echo "$as_me: failed program was:" >&5
19715 sed 's/^/| /' conftest.$ac_ext >&5
19716
19717 ac_cv_type_long=no
19718 fi
19719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19720 fi
19721 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19722 echo "${ECHO_T}$ac_cv_type_long" >&6
19723
19724 echo "$as_me:$LINENO: checking size of long" >&5
19725 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19726 if test "${ac_cv_sizeof_long+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19728 else
19729 if test "$ac_cv_type_long" = yes; then
19730 # The cast to unsigned long works around a bug in the HP C Compiler
19731 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19732 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19733 # This bug is HP SR number 8606223364.
19734 if test "$cross_compiling" = yes; then
19735 # Depending upon the size, compute the lo and hi bounds.
19736 cat >conftest.$ac_ext <<_ACEOF
19737 /* confdefs.h. */
19738 _ACEOF
19739 cat confdefs.h >>conftest.$ac_ext
19740 cat >>conftest.$ac_ext <<_ACEOF
19741 /* end confdefs.h. */
19742 $ac_includes_default
19743 int
19744 main ()
19745 {
19746 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19747 test_array [0] = 0
19748
19749 ;
19750 return 0;
19751 }
19752 _ACEOF
19753 rm -f conftest.$ac_objext
19754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19755 (eval $ac_compile) 2>conftest.er1
19756 ac_status=$?
19757 grep -v '^ *+' conftest.er1 >conftest.err
19758 rm -f conftest.er1
19759 cat conftest.err >&5
19760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19761 (exit $ac_status); } &&
19762 { ac_try='test -z "$ac_cxx_werror_flag"
19763 || test ! -s conftest.err'
19764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19765 (eval $ac_try) 2>&5
19766 ac_status=$?
19767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19768 (exit $ac_status); }; } &&
19769 { ac_try='test -s conftest.$ac_objext'
19770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19771 (eval $ac_try) 2>&5
19772 ac_status=$?
19773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19774 (exit $ac_status); }; }; then
19775 ac_lo=0 ac_mid=0
19776 while :; do
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 (long))) <= $ac_mid)];
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"
19804 || test ! -s conftest.err'
19805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19806 (eval $ac_try) 2>&5
19807 ac_status=$?
19808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809 (exit $ac_status); }; } &&
19810 { ac_try='test -s conftest.$ac_objext'
19811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19812 (eval $ac_try) 2>&5
19813 ac_status=$?
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); }; }; then
19816 ac_hi=$ac_mid; break
19817 else
19818 echo "$as_me: failed program was:" >&5
19819 sed 's/^/| /' conftest.$ac_ext >&5
19820
19821 ac_lo=`expr $ac_mid + 1`
19822 if test $ac_lo -le $ac_mid; then
19823 ac_lo= ac_hi=
19824 break
19825 fi
19826 ac_mid=`expr 2 '*' $ac_mid + 1`
19827 fi
19828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19829 done
19830 else
19831 echo "$as_me: failed program was:" >&5
19832 sed 's/^/| /' conftest.$ac_ext >&5
19833
19834 cat >conftest.$ac_ext <<_ACEOF
19835 /* confdefs.h. */
19836 _ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 $ac_includes_default
19841 int
19842 main ()
19843 {
19844 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19845 test_array [0] = 0
19846
19847 ;
19848 return 0;
19849 }
19850 _ACEOF
19851 rm -f conftest.$ac_objext
19852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19853 (eval $ac_compile) 2>conftest.er1
19854 ac_status=$?
19855 grep -v '^ *+' conftest.er1 >conftest.err
19856 rm -f conftest.er1
19857 cat conftest.err >&5
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); } &&
19860 { ac_try='test -z "$ac_cxx_werror_flag"
19861 || test ! -s conftest.err'
19862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19863 (eval $ac_try) 2>&5
19864 ac_status=$?
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); }; } &&
19867 { ac_try='test -s conftest.$ac_objext'
19868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 (eval $ac_try) 2>&5
19870 ac_status=$?
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; }; then
19873 ac_hi=-1 ac_mid=-1
19874 while :; do
19875 cat >conftest.$ac_ext <<_ACEOF
19876 /* confdefs.h. */
19877 _ACEOF
19878 cat confdefs.h >>conftest.$ac_ext
19879 cat >>conftest.$ac_ext <<_ACEOF
19880 /* end confdefs.h. */
19881 $ac_includes_default
19882 int
19883 main ()
19884 {
19885 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19886 test_array [0] = 0
19887
19888 ;
19889 return 0;
19890 }
19891 _ACEOF
19892 rm -f conftest.$ac_objext
19893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19894 (eval $ac_compile) 2>conftest.er1
19895 ac_status=$?
19896 grep -v '^ *+' conftest.er1 >conftest.err
19897 rm -f conftest.er1
19898 cat conftest.err >&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); } &&
19901 { ac_try='test -z "$ac_cxx_werror_flag"
19902 || test ! -s conftest.err'
19903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19904 (eval $ac_try) 2>&5
19905 ac_status=$?
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); }; } &&
19908 { ac_try='test -s conftest.$ac_objext'
19909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19910 (eval $ac_try) 2>&5
19911 ac_status=$?
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); }; }; then
19914 ac_lo=$ac_mid; break
19915 else
19916 echo "$as_me: failed program was:" >&5
19917 sed 's/^/| /' conftest.$ac_ext >&5
19918
19919 ac_hi=`expr '(' $ac_mid ')' - 1`
19920 if test $ac_mid -le $ac_hi; then
19921 ac_lo= ac_hi=
19922 break
19923 fi
19924 ac_mid=`expr 2 '*' $ac_mid`
19925 fi
19926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19927 done
19928 else
19929 echo "$as_me: failed program was:" >&5
19930 sed 's/^/| /' conftest.$ac_ext >&5
19931
19932 ac_lo= ac_hi=
19933 fi
19934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19935 fi
19936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19937 # Binary search between lo and hi bounds.
19938 while test "x$ac_lo" != "x$ac_hi"; do
19939 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19940 cat >conftest.$ac_ext <<_ACEOF
19941 /* confdefs.h. */
19942 _ACEOF
19943 cat confdefs.h >>conftest.$ac_ext
19944 cat >>conftest.$ac_ext <<_ACEOF
19945 /* end confdefs.h. */
19946 $ac_includes_default
19947 int
19948 main ()
19949 {
19950 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19951 test_array [0] = 0
19952
19953 ;
19954 return 0;
19955 }
19956 _ACEOF
19957 rm -f conftest.$ac_objext
19958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19959 (eval $ac_compile) 2>conftest.er1
19960 ac_status=$?
19961 grep -v '^ *+' conftest.er1 >conftest.err
19962 rm -f conftest.er1
19963 cat conftest.err >&5
19964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965 (exit $ac_status); } &&
19966 { ac_try='test -z "$ac_cxx_werror_flag"
19967 || test ! -s conftest.err'
19968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19969 (eval $ac_try) 2>&5
19970 ac_status=$?
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); }; } &&
19973 { ac_try='test -s conftest.$ac_objext'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19976 ac_status=$?
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; }; then
19979 ac_hi=$ac_mid
19980 else
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.$ac_ext >&5
19983
19984 ac_lo=`expr '(' $ac_mid ')' + 1`
19985 fi
19986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19987 done
19988 case $ac_lo in
19989 ?*) ac_cv_sizeof_long=$ac_lo;;
19990 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19991 See \`config.log' for more details." >&5
19992 echo "$as_me: error: cannot compute sizeof (long), 77
19993 See \`config.log' for more details." >&2;}
19994 { (exit 1); exit 1; }; } ;;
19995 esac
19996 else
19997 if test "$cross_compiling" = yes; then
19998 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
19999 See \`config.log' for more details." >&5
20000 echo "$as_me: error: cannot run test program while cross compiling
20001 See \`config.log' for more details." >&2;}
20002 { (exit 1); exit 1; }; }
20003 else
20004 cat >conftest.$ac_ext <<_ACEOF
20005 /* confdefs.h. */
20006 _ACEOF
20007 cat confdefs.h >>conftest.$ac_ext
20008 cat >>conftest.$ac_ext <<_ACEOF
20009 /* end confdefs.h. */
20010 $ac_includes_default
20011 long longval () { return (long) (sizeof (long)); }
20012 unsigned long ulongval () { return (long) (sizeof (long)); }
20013 #include <stdio.h>
20014 #include <stdlib.h>
20015 int
20016 main ()
20017 {
20018
20019 FILE *f = fopen ("conftest.val", "w");
20020 if (! f)
20021 exit (1);
20022 if (((long) (sizeof (long))) < 0)
20023 {
20024 long i = longval ();
20025 if (i != ((long) (sizeof (long))))
20026 exit (1);
20027 fprintf (f, "%ld\n", i);
20028 }
20029 else
20030 {
20031 unsigned long i = ulongval ();
20032 if (i != ((long) (sizeof (long))))
20033 exit (1);
20034 fprintf (f, "%lu\n", i);
20035 }
20036 exit (ferror (f) || fclose (f) != 0);
20037
20038 ;
20039 return 0;
20040 }
20041 _ACEOF
20042 rm -f conftest$ac_exeext
20043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20044 (eval $ac_link) 2>&5
20045 ac_status=$?
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049 (eval $ac_try) 2>&5
20050 ac_status=$?
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); }; }; then
20053 ac_cv_sizeof_long=`cat conftest.val`
20054 else
20055 echo "$as_me: program exited with status $ac_status" >&5
20056 echo "$as_me: failed program was:" >&5
20057 sed 's/^/| /' conftest.$ac_ext >&5
20058
20059 ( exit $ac_status )
20060 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20061 See \`config.log' for more details." >&5
20062 echo "$as_me: error: cannot compute sizeof (long), 77
20063 See \`config.log' for more details." >&2;}
20064 { (exit 1); exit 1; }; }
20065 fi
20066 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20067 fi
20068 fi
20069 rm -f conftest.val
20070 else
20071 ac_cv_sizeof_long=0
20072 fi
20073 fi
20074 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20075 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20076 cat >>confdefs.h <<_ACEOF
20077 #define SIZEOF_LONG $ac_cv_sizeof_long
20078 _ACEOF
20079
20080
20081 echo "$as_me:$LINENO: checking for size_t" >&5
20082 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20083 if test "${ac_cv_type_size_t+set}" = set; then
20084 echo $ECHO_N "(cached) $ECHO_C" >&6
20085 else
20086 cat >conftest.$ac_ext <<_ACEOF
20087 /* confdefs.h. */
20088 _ACEOF
20089 cat confdefs.h >>conftest.$ac_ext
20090 cat >>conftest.$ac_ext <<_ACEOF
20091 /* end confdefs.h. */
20092 $ac_includes_default
20093 int
20094 main ()
20095 {
20096 if ((size_t *) 0)
20097 return 0;
20098 if (sizeof (size_t))
20099 return 0;
20100 ;
20101 return 0;
20102 }
20103 _ACEOF
20104 rm -f conftest.$ac_objext
20105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20106 (eval $ac_compile) 2>conftest.er1
20107 ac_status=$?
20108 grep -v '^ *+' conftest.er1 >conftest.err
20109 rm -f conftest.er1
20110 cat conftest.err >&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } &&
20113 { ac_try='test -z "$ac_cxx_werror_flag"
20114 || test ! -s conftest.err'
20115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20116 (eval $ac_try) 2>&5
20117 ac_status=$?
20118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); }; } &&
20120 { ac_try='test -s conftest.$ac_objext'
20121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20122 (eval $ac_try) 2>&5
20123 ac_status=$?
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); }; }; then
20126 ac_cv_type_size_t=yes
20127 else
20128 echo "$as_me: failed program was:" >&5
20129 sed 's/^/| /' conftest.$ac_ext >&5
20130
20131 ac_cv_type_size_t=no
20132 fi
20133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20134 fi
20135 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20136 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20137
20138 echo "$as_me:$LINENO: checking size of size_t" >&5
20139 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20140 if test "${ac_cv_sizeof_size_t+set}" = set; then
20141 echo $ECHO_N "(cached) $ECHO_C" >&6
20142 else
20143 if test "$ac_cv_type_size_t" = yes; then
20144 # The cast to unsigned long works around a bug in the HP C Compiler
20145 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20146 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20147 # This bug is HP SR number 8606223364.
20148 if test "$cross_compiling" = yes; then
20149 # Depending upon the size, compute the lo and hi bounds.
20150 cat >conftest.$ac_ext <<_ACEOF
20151 /* confdefs.h. */
20152 _ACEOF
20153 cat confdefs.h >>conftest.$ac_ext
20154 cat >>conftest.$ac_ext <<_ACEOF
20155 /* end confdefs.h. */
20156 $ac_includes_default
20157 int
20158 main ()
20159 {
20160 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20161 test_array [0] = 0
20162
20163 ;
20164 return 0;
20165 }
20166 _ACEOF
20167 rm -f conftest.$ac_objext
20168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20169 (eval $ac_compile) 2>conftest.er1
20170 ac_status=$?
20171 grep -v '^ *+' conftest.er1 >conftest.err
20172 rm -f conftest.er1
20173 cat conftest.err >&5
20174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20175 (exit $ac_status); } &&
20176 { ac_try='test -z "$ac_cxx_werror_flag"
20177 || test ! -s conftest.err'
20178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20179 (eval $ac_try) 2>&5
20180 ac_status=$?
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); }; } &&
20183 { ac_try='test -s conftest.$ac_objext'
20184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20185 (eval $ac_try) 2>&5
20186 ac_status=$?
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); }; }; then
20189 ac_lo=0 ac_mid=0
20190 while :; do
20191 cat >conftest.$ac_ext <<_ACEOF
20192 /* confdefs.h. */
20193 _ACEOF
20194 cat confdefs.h >>conftest.$ac_ext
20195 cat >>conftest.$ac_ext <<_ACEOF
20196 /* end confdefs.h. */
20197 $ac_includes_default
20198 int
20199 main ()
20200 {
20201 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20202 test_array [0] = 0
20203
20204 ;
20205 return 0;
20206 }
20207 _ACEOF
20208 rm -f conftest.$ac_objext
20209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20210 (eval $ac_compile) 2>conftest.er1
20211 ac_status=$?
20212 grep -v '^ *+' conftest.er1 >conftest.err
20213 rm -f conftest.er1
20214 cat conftest.err >&5
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); } &&
20217 { ac_try='test -z "$ac_cxx_werror_flag"
20218 || test ! -s conftest.err'
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); }; } &&
20224 { ac_try='test -s conftest.$ac_objext'
20225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20226 (eval $ac_try) 2>&5
20227 ac_status=$?
20228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20229 (exit $ac_status); }; }; then
20230 ac_hi=$ac_mid; break
20231 else
20232 echo "$as_me: failed program was:" >&5
20233 sed 's/^/| /' conftest.$ac_ext >&5
20234
20235 ac_lo=`expr $ac_mid + 1`
20236 if test $ac_lo -le $ac_mid; then
20237 ac_lo= ac_hi=
20238 break
20239 fi
20240 ac_mid=`expr 2 '*' $ac_mid + 1`
20241 fi
20242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20243 done
20244 else
20245 echo "$as_me: failed program was:" >&5
20246 sed 's/^/| /' conftest.$ac_ext >&5
20247
20248 cat >conftest.$ac_ext <<_ACEOF
20249 /* confdefs.h. */
20250 _ACEOF
20251 cat confdefs.h >>conftest.$ac_ext
20252 cat >>conftest.$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20254 $ac_includes_default
20255 int
20256 main ()
20257 {
20258 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20259 test_array [0] = 0
20260
20261 ;
20262 return 0;
20263 }
20264 _ACEOF
20265 rm -f conftest.$ac_objext
20266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20267 (eval $ac_compile) 2>conftest.er1
20268 ac_status=$?
20269 grep -v '^ *+' conftest.er1 >conftest.err
20270 rm -f conftest.er1
20271 cat conftest.err >&5
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); } &&
20274 { ac_try='test -z "$ac_cxx_werror_flag"
20275 || test ! -s conftest.err'
20276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20277 (eval $ac_try) 2>&5
20278 ac_status=$?
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); }; } &&
20281 { ac_try='test -s conftest.$ac_objext'
20282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20283 (eval $ac_try) 2>&5
20284 ac_status=$?
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); }; }; then
20287 ac_hi=-1 ac_mid=-1
20288 while :; do
20289 cat >conftest.$ac_ext <<_ACEOF
20290 /* confdefs.h. */
20291 _ACEOF
20292 cat confdefs.h >>conftest.$ac_ext
20293 cat >>conftest.$ac_ext <<_ACEOF
20294 /* end confdefs.h. */
20295 $ac_includes_default
20296 int
20297 main ()
20298 {
20299 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20300 test_array [0] = 0
20301
20302 ;
20303 return 0;
20304 }
20305 _ACEOF
20306 rm -f conftest.$ac_objext
20307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20308 (eval $ac_compile) 2>conftest.er1
20309 ac_status=$?
20310 grep -v '^ *+' conftest.er1 >conftest.err
20311 rm -f conftest.er1
20312 cat conftest.err >&5
20313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314 (exit $ac_status); } &&
20315 { ac_try='test -z "$ac_cxx_werror_flag"
20316 || test ! -s conftest.err'
20317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20318 (eval $ac_try) 2>&5
20319 ac_status=$?
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); }; } &&
20322 { ac_try='test -s conftest.$ac_objext'
20323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20324 (eval $ac_try) 2>&5
20325 ac_status=$?
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); }; }; then
20328 ac_lo=$ac_mid; break
20329 else
20330 echo "$as_me: failed program was:" >&5
20331 sed 's/^/| /' conftest.$ac_ext >&5
20332
20333 ac_hi=`expr '(' $ac_mid ')' - 1`
20334 if test $ac_mid -le $ac_hi; then
20335 ac_lo= ac_hi=
20336 break
20337 fi
20338 ac_mid=`expr 2 '*' $ac_mid`
20339 fi
20340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20341 done
20342 else
20343 echo "$as_me: failed program was:" >&5
20344 sed 's/^/| /' conftest.$ac_ext >&5
20345
20346 ac_lo= ac_hi=
20347 fi
20348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20349 fi
20350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20351 # Binary search between lo and hi bounds.
20352 while test "x$ac_lo" != "x$ac_hi"; do
20353 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20354 cat >conftest.$ac_ext <<_ACEOF
20355 /* confdefs.h. */
20356 _ACEOF
20357 cat confdefs.h >>conftest.$ac_ext
20358 cat >>conftest.$ac_ext <<_ACEOF
20359 /* end confdefs.h. */
20360 $ac_includes_default
20361 int
20362 main ()
20363 {
20364 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20365 test_array [0] = 0
20366
20367 ;
20368 return 0;
20369 }
20370 _ACEOF
20371 rm -f conftest.$ac_objext
20372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20373 (eval $ac_compile) 2>conftest.er1
20374 ac_status=$?
20375 grep -v '^ *+' conftest.er1 >conftest.err
20376 rm -f conftest.er1
20377 cat conftest.err >&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); } &&
20380 { ac_try='test -z "$ac_cxx_werror_flag"
20381 || test ! -s conftest.err'
20382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20383 (eval $ac_try) 2>&5
20384 ac_status=$?
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); }; } &&
20387 { ac_try='test -s conftest.$ac_objext'
20388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20389 (eval $ac_try) 2>&5
20390 ac_status=$?
20391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392 (exit $ac_status); }; }; then
20393 ac_hi=$ac_mid
20394 else
20395 echo "$as_me: failed program was:" >&5
20396 sed 's/^/| /' conftest.$ac_ext >&5
20397
20398 ac_lo=`expr '(' $ac_mid ')' + 1`
20399 fi
20400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20401 done
20402 case $ac_lo in
20403 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20404 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20405 See \`config.log' for more details." >&5
20406 echo "$as_me: error: cannot compute sizeof (size_t), 77
20407 See \`config.log' for more details." >&2;}
20408 { (exit 1); exit 1; }; } ;;
20409 esac
20410 else
20411 if test "$cross_compiling" = yes; then
20412 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20413 See \`config.log' for more details." >&5
20414 echo "$as_me: error: cannot run test program while cross compiling
20415 See \`config.log' for more details." >&2;}
20416 { (exit 1); exit 1; }; }
20417 else
20418 cat >conftest.$ac_ext <<_ACEOF
20419 /* confdefs.h. */
20420 _ACEOF
20421 cat confdefs.h >>conftest.$ac_ext
20422 cat >>conftest.$ac_ext <<_ACEOF
20423 /* end confdefs.h. */
20424 $ac_includes_default
20425 long longval () { return (long) (sizeof (size_t)); }
20426 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20427 #include <stdio.h>
20428 #include <stdlib.h>
20429 int
20430 main ()
20431 {
20432
20433 FILE *f = fopen ("conftest.val", "w");
20434 if (! f)
20435 exit (1);
20436 if (((long) (sizeof (size_t))) < 0)
20437 {
20438 long i = longval ();
20439 if (i != ((long) (sizeof (size_t))))
20440 exit (1);
20441 fprintf (f, "%ld\n", i);
20442 }
20443 else
20444 {
20445 unsigned long i = ulongval ();
20446 if (i != ((long) (sizeof (size_t))))
20447 exit (1);
20448 fprintf (f, "%lu\n", i);
20449 }
20450 exit (ferror (f) || fclose (f) != 0);
20451
20452 ;
20453 return 0;
20454 }
20455 _ACEOF
20456 rm -f conftest$ac_exeext
20457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20458 (eval $ac_link) 2>&5
20459 ac_status=$?
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20463 (eval $ac_try) 2>&5
20464 ac_status=$?
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); }; }; then
20467 ac_cv_sizeof_size_t=`cat conftest.val`
20468 else
20469 echo "$as_me: program exited with status $ac_status" >&5
20470 echo "$as_me: failed program was:" >&5
20471 sed 's/^/| /' conftest.$ac_ext >&5
20472
20473 ( exit $ac_status )
20474 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20475 See \`config.log' for more details." >&5
20476 echo "$as_me: error: cannot compute sizeof (size_t), 77
20477 See \`config.log' for more details." >&2;}
20478 { (exit 1); exit 1; }; }
20479 fi
20480 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20481 fi
20482 fi
20483 rm -f conftest.val
20484 else
20485 ac_cv_sizeof_size_t=0
20486 fi
20487 fi
20488 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20489 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20490 cat >>confdefs.h <<_ACEOF
20491 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20492 _ACEOF
20493
20494
20495
20496 case "${host}" in
20497 arm-*-linux* )
20498 echo "$as_me:$LINENO: checking for long long" >&5
20499 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20500 if test "${ac_cv_type_long_long+set}" = set; then
20501 echo $ECHO_N "(cached) $ECHO_C" >&6
20502 else
20503 cat >conftest.$ac_ext <<_ACEOF
20504 /* confdefs.h. */
20505 _ACEOF
20506 cat confdefs.h >>conftest.$ac_ext
20507 cat >>conftest.$ac_ext <<_ACEOF
20508 /* end confdefs.h. */
20509 $ac_includes_default
20510 int
20511 main ()
20512 {
20513 if ((long long *) 0)
20514 return 0;
20515 if (sizeof (long long))
20516 return 0;
20517 ;
20518 return 0;
20519 }
20520 _ACEOF
20521 rm -f conftest.$ac_objext
20522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20523 (eval $ac_compile) 2>conftest.er1
20524 ac_status=$?
20525 grep -v '^ *+' conftest.er1 >conftest.err
20526 rm -f conftest.er1
20527 cat conftest.err >&5
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); } &&
20530 { ac_try='test -z "$ac_cxx_werror_flag"
20531 || test ! -s conftest.err'
20532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20533 (eval $ac_try) 2>&5
20534 ac_status=$?
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); }; } &&
20537 { ac_try='test -s conftest.$ac_objext'
20538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20539 (eval $ac_try) 2>&5
20540 ac_status=$?
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); }; }; then
20543 ac_cv_type_long_long=yes
20544 else
20545 echo "$as_me: failed program was:" >&5
20546 sed 's/^/| /' conftest.$ac_ext >&5
20547
20548 ac_cv_type_long_long=no
20549 fi
20550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20551 fi
20552 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20553 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20554
20555 echo "$as_me:$LINENO: checking size of long long" >&5
20556 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20557 if test "${ac_cv_sizeof_long_long+set}" = set; then
20558 echo $ECHO_N "(cached) $ECHO_C" >&6
20559 else
20560 if test "$ac_cv_type_long_long" = yes; then
20561 # The cast to unsigned long works around a bug in the HP C Compiler
20562 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20563 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20564 # This bug is HP SR number 8606223364.
20565 if test "$cross_compiling" = yes; then
20566 # Depending upon the size, compute the lo and hi bounds.
20567 cat >conftest.$ac_ext <<_ACEOF
20568 /* confdefs.h. */
20569 _ACEOF
20570 cat confdefs.h >>conftest.$ac_ext
20571 cat >>conftest.$ac_ext <<_ACEOF
20572 /* end confdefs.h. */
20573 $ac_includes_default
20574 int
20575 main ()
20576 {
20577 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20578 test_array [0] = 0
20579
20580 ;
20581 return 0;
20582 }
20583 _ACEOF
20584 rm -f conftest.$ac_objext
20585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20586 (eval $ac_compile) 2>conftest.er1
20587 ac_status=$?
20588 grep -v '^ *+' conftest.er1 >conftest.err
20589 rm -f conftest.er1
20590 cat conftest.err >&5
20591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20592 (exit $ac_status); } &&
20593 { ac_try='test -z "$ac_cxx_werror_flag"
20594 || test ! -s conftest.err'
20595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20596 (eval $ac_try) 2>&5
20597 ac_status=$?
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); }; } &&
20600 { ac_try='test -s conftest.$ac_objext'
20601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20602 (eval $ac_try) 2>&5
20603 ac_status=$?
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); }; }; then
20606 ac_lo=0 ac_mid=0
20607 while :; do
20608 cat >conftest.$ac_ext <<_ACEOF
20609 /* confdefs.h. */
20610 _ACEOF
20611 cat confdefs.h >>conftest.$ac_ext
20612 cat >>conftest.$ac_ext <<_ACEOF
20613 /* end confdefs.h. */
20614 $ac_includes_default
20615 int
20616 main ()
20617 {
20618 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20619 test_array [0] = 0
20620
20621 ;
20622 return 0;
20623 }
20624 _ACEOF
20625 rm -f conftest.$ac_objext
20626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20627 (eval $ac_compile) 2>conftest.er1
20628 ac_status=$?
20629 grep -v '^ *+' conftest.er1 >conftest.err
20630 rm -f conftest.er1
20631 cat conftest.err >&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); } &&
20634 { ac_try='test -z "$ac_cxx_werror_flag"
20635 || test ! -s conftest.err'
20636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20637 (eval $ac_try) 2>&5
20638 ac_status=$?
20639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640 (exit $ac_status); }; } &&
20641 { ac_try='test -s conftest.$ac_objext'
20642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20643 (eval $ac_try) 2>&5
20644 ac_status=$?
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); }; }; then
20647 ac_hi=$ac_mid; break
20648 else
20649 echo "$as_me: failed program was:" >&5
20650 sed 's/^/| /' conftest.$ac_ext >&5
20651
20652 ac_lo=`expr $ac_mid + 1`
20653 if test $ac_lo -le $ac_mid; then
20654 ac_lo= ac_hi=
20655 break
20656 fi
20657 ac_mid=`expr 2 '*' $ac_mid + 1`
20658 fi
20659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20660 done
20661 else
20662 echo "$as_me: failed program was:" >&5
20663 sed 's/^/| /' conftest.$ac_ext >&5
20664
20665 cat >conftest.$ac_ext <<_ACEOF
20666 /* confdefs.h. */
20667 _ACEOF
20668 cat confdefs.h >>conftest.$ac_ext
20669 cat >>conftest.$ac_ext <<_ACEOF
20670 /* end confdefs.h. */
20671 $ac_includes_default
20672 int
20673 main ()
20674 {
20675 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20676 test_array [0] = 0
20677
20678 ;
20679 return 0;
20680 }
20681 _ACEOF
20682 rm -f conftest.$ac_objext
20683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20684 (eval $ac_compile) 2>conftest.er1
20685 ac_status=$?
20686 grep -v '^ *+' conftest.er1 >conftest.err
20687 rm -f conftest.er1
20688 cat conftest.err >&5
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); } &&
20691 { ac_try='test -z "$ac_cxx_werror_flag"
20692 || test ! -s conftest.err'
20693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20694 (eval $ac_try) 2>&5
20695 ac_status=$?
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); }; } &&
20698 { ac_try='test -s conftest.$ac_objext'
20699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20700 (eval $ac_try) 2>&5
20701 ac_status=$?
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; }; then
20704 ac_hi=-1 ac_mid=-1
20705 while :; do
20706 cat >conftest.$ac_ext <<_ACEOF
20707 /* confdefs.h. */
20708 _ACEOF
20709 cat confdefs.h >>conftest.$ac_ext
20710 cat >>conftest.$ac_ext <<_ACEOF
20711 /* end confdefs.h. */
20712 $ac_includes_default
20713 int
20714 main ()
20715 {
20716 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20717 test_array [0] = 0
20718
20719 ;
20720 return 0;
20721 }
20722 _ACEOF
20723 rm -f conftest.$ac_objext
20724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20725 (eval $ac_compile) 2>conftest.er1
20726 ac_status=$?
20727 grep -v '^ *+' conftest.er1 >conftest.err
20728 rm -f conftest.er1
20729 cat conftest.err >&5
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); } &&
20732 { ac_try='test -z "$ac_cxx_werror_flag"
20733 || test ! -s conftest.err'
20734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20735 (eval $ac_try) 2>&5
20736 ac_status=$?
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); }; } &&
20739 { ac_try='test -s conftest.$ac_objext'
20740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20741 (eval $ac_try) 2>&5
20742 ac_status=$?
20743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20744 (exit $ac_status); }; }; then
20745 ac_lo=$ac_mid; break
20746 else
20747 echo "$as_me: failed program was:" >&5
20748 sed 's/^/| /' conftest.$ac_ext >&5
20749
20750 ac_hi=`expr '(' $ac_mid ')' - 1`
20751 if test $ac_mid -le $ac_hi; then
20752 ac_lo= ac_hi=
20753 break
20754 fi
20755 ac_mid=`expr 2 '*' $ac_mid`
20756 fi
20757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20758 done
20759 else
20760 echo "$as_me: failed program was:" >&5
20761 sed 's/^/| /' conftest.$ac_ext >&5
20762
20763 ac_lo= ac_hi=
20764 fi
20765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20766 fi
20767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20768 # Binary search between lo and hi bounds.
20769 while test "x$ac_lo" != "x$ac_hi"; do
20770 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20771 cat >conftest.$ac_ext <<_ACEOF
20772 /* confdefs.h. */
20773 _ACEOF
20774 cat confdefs.h >>conftest.$ac_ext
20775 cat >>conftest.$ac_ext <<_ACEOF
20776 /* end confdefs.h. */
20777 $ac_includes_default
20778 int
20779 main ()
20780 {
20781 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20782 test_array [0] = 0
20783
20784 ;
20785 return 0;
20786 }
20787 _ACEOF
20788 rm -f conftest.$ac_objext
20789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20790 (eval $ac_compile) 2>conftest.er1
20791 ac_status=$?
20792 grep -v '^ *+' conftest.er1 >conftest.err
20793 rm -f conftest.er1
20794 cat conftest.err >&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } &&
20797 { ac_try='test -z "$ac_cxx_werror_flag"
20798 || test ! -s conftest.err'
20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800 (eval $ac_try) 2>&5
20801 ac_status=$?
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; } &&
20804 { ac_try='test -s conftest.$ac_objext'
20805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20806 (eval $ac_try) 2>&5
20807 ac_status=$?
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); }; }; then
20810 ac_hi=$ac_mid
20811 else
20812 echo "$as_me: failed program was:" >&5
20813 sed 's/^/| /' conftest.$ac_ext >&5
20814
20815 ac_lo=`expr '(' $ac_mid ')' + 1`
20816 fi
20817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20818 done
20819 case $ac_lo in
20820 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20821 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20822 See \`config.log' for more details." >&5
20823 echo "$as_me: error: cannot compute sizeof (long long), 77
20824 See \`config.log' for more details." >&2;}
20825 { (exit 1); exit 1; }; } ;;
20826 esac
20827 else
20828 if test "$cross_compiling" = yes; then
20829 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20830 See \`config.log' for more details." >&5
20831 echo "$as_me: error: cannot run test program while cross compiling
20832 See \`config.log' for more details." >&2;}
20833 { (exit 1); exit 1; }; }
20834 else
20835 cat >conftest.$ac_ext <<_ACEOF
20836 /* confdefs.h. */
20837 _ACEOF
20838 cat confdefs.h >>conftest.$ac_ext
20839 cat >>conftest.$ac_ext <<_ACEOF
20840 /* end confdefs.h. */
20841 $ac_includes_default
20842 long longval () { return (long) (sizeof (long long)); }
20843 unsigned long ulongval () { return (long) (sizeof (long long)); }
20844 #include <stdio.h>
20845 #include <stdlib.h>
20846 int
20847 main ()
20848 {
20849
20850 FILE *f = fopen ("conftest.val", "w");
20851 if (! f)
20852 exit (1);
20853 if (((long) (sizeof (long long))) < 0)
20854 {
20855 long i = longval ();
20856 if (i != ((long) (sizeof (long long))))
20857 exit (1);
20858 fprintf (f, "%ld\n", i);
20859 }
20860 else
20861 {
20862 unsigned long i = ulongval ();
20863 if (i != ((long) (sizeof (long long))))
20864 exit (1);
20865 fprintf (f, "%lu\n", i);
20866 }
20867 exit (ferror (f) || fclose (f) != 0);
20868
20869 ;
20870 return 0;
20871 }
20872 _ACEOF
20873 rm -f conftest$ac_exeext
20874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20875 (eval $ac_link) 2>&5
20876 ac_status=$?
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20880 (eval $ac_try) 2>&5
20881 ac_status=$?
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); }; }; then
20884 ac_cv_sizeof_long_long=`cat conftest.val`
20885 else
20886 echo "$as_me: program exited with status $ac_status" >&5
20887 echo "$as_me: failed program was:" >&5
20888 sed 's/^/| /' conftest.$ac_ext >&5
20889
20890 ( exit $ac_status )
20891 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20892 See \`config.log' for more details." >&5
20893 echo "$as_me: error: cannot compute sizeof (long long), 77
20894 See \`config.log' for more details." >&2;}
20895 { (exit 1); exit 1; }; }
20896 fi
20897 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20898 fi
20899 fi
20900 rm -f conftest.val
20901 else
20902 ac_cv_sizeof_long_long=0
20903 fi
20904 fi
20905 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20906 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20907 cat >>confdefs.h <<_ACEOF
20908 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20909 _ACEOF
20910
20911
20912 ;;
20913 *-hp-hpux* )
20914 echo "$as_me:$LINENO: checking for long long" >&5
20915 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20916 if test "${ac_cv_type_long_long+set}" = set; then
20917 echo $ECHO_N "(cached) $ECHO_C" >&6
20918 else
20919 cat >conftest.$ac_ext <<_ACEOF
20920 /* confdefs.h. */
20921 _ACEOF
20922 cat confdefs.h >>conftest.$ac_ext
20923 cat >>conftest.$ac_ext <<_ACEOF
20924 /* end confdefs.h. */
20925 $ac_includes_default
20926 int
20927 main ()
20928 {
20929 if ((long long *) 0)
20930 return 0;
20931 if (sizeof (long long))
20932 return 0;
20933 ;
20934 return 0;
20935 }
20936 _ACEOF
20937 rm -f conftest.$ac_objext
20938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20939 (eval $ac_compile) 2>conftest.er1
20940 ac_status=$?
20941 grep -v '^ *+' conftest.er1 >conftest.err
20942 rm -f conftest.er1
20943 cat conftest.err >&5
20944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20945 (exit $ac_status); } &&
20946 { ac_try='test -z "$ac_cxx_werror_flag"
20947 || test ! -s conftest.err'
20948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20949 (eval $ac_try) 2>&5
20950 ac_status=$?
20951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20952 (exit $ac_status); }; } &&
20953 { ac_try='test -s conftest.$ac_objext'
20954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20955 (eval $ac_try) 2>&5
20956 ac_status=$?
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); }; }; then
20959 ac_cv_type_long_long=yes
20960 else
20961 echo "$as_me: failed program was:" >&5
20962 sed 's/^/| /' conftest.$ac_ext >&5
20963
20964 ac_cv_type_long_long=no
20965 fi
20966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20967 fi
20968 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20969 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20970
20971 echo "$as_me:$LINENO: checking size of long long" >&5
20972 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20973 if test "${ac_cv_sizeof_long_long+set}" = set; then
20974 echo $ECHO_N "(cached) $ECHO_C" >&6
20975 else
20976 if test "$ac_cv_type_long_long" = yes; then
20977 # The cast to unsigned long works around a bug in the HP C Compiler
20978 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20979 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20980 # This bug is HP SR number 8606223364.
20981 if test "$cross_compiling" = yes; then
20982 # Depending upon the size, compute the lo and hi bounds.
20983 cat >conftest.$ac_ext <<_ACEOF
20984 /* confdefs.h. */
20985 _ACEOF
20986 cat confdefs.h >>conftest.$ac_ext
20987 cat >>conftest.$ac_ext <<_ACEOF
20988 /* end confdefs.h. */
20989 $ac_includes_default
20990 int
20991 main ()
20992 {
20993 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20994 test_array [0] = 0
20995
20996 ;
20997 return 0;
20998 }
20999 _ACEOF
21000 rm -f conftest.$ac_objext
21001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21002 (eval $ac_compile) 2>conftest.er1
21003 ac_status=$?
21004 grep -v '^ *+' conftest.er1 >conftest.err
21005 rm -f conftest.er1
21006 cat conftest.err >&5
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); } &&
21009 { ac_try='test -z "$ac_cxx_werror_flag"
21010 || test ! -s conftest.err'
21011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21012 (eval $ac_try) 2>&5
21013 ac_status=$?
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); }; } &&
21016 { ac_try='test -s conftest.$ac_objext'
21017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21018 (eval $ac_try) 2>&5
21019 ac_status=$?
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); }; }; then
21022 ac_lo=0 ac_mid=0
21023 while :; do
21024 cat >conftest.$ac_ext <<_ACEOF
21025 /* confdefs.h. */
21026 _ACEOF
21027 cat confdefs.h >>conftest.$ac_ext
21028 cat >>conftest.$ac_ext <<_ACEOF
21029 /* end confdefs.h. */
21030 $ac_includes_default
21031 int
21032 main ()
21033 {
21034 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21035 test_array [0] = 0
21036
21037 ;
21038 return 0;
21039 }
21040 _ACEOF
21041 rm -f conftest.$ac_objext
21042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21043 (eval $ac_compile) 2>conftest.er1
21044 ac_status=$?
21045 grep -v '^ *+' conftest.er1 >conftest.err
21046 rm -f conftest.er1
21047 cat conftest.err >&5
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); } &&
21050 { ac_try='test -z "$ac_cxx_werror_flag"
21051 || test ! -s conftest.err'
21052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21053 (eval $ac_try) 2>&5
21054 ac_status=$?
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); }; } &&
21057 { ac_try='test -s conftest.$ac_objext'
21058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21059 (eval $ac_try) 2>&5
21060 ac_status=$?
21061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21062 (exit $ac_status); }; }; then
21063 ac_hi=$ac_mid; break
21064 else
21065 echo "$as_me: failed program was:" >&5
21066 sed 's/^/| /' conftest.$ac_ext >&5
21067
21068 ac_lo=`expr $ac_mid + 1`
21069 if test $ac_lo -le $ac_mid; then
21070 ac_lo= ac_hi=
21071 break
21072 fi
21073 ac_mid=`expr 2 '*' $ac_mid + 1`
21074 fi
21075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21076 done
21077 else
21078 echo "$as_me: failed program was:" >&5
21079 sed 's/^/| /' conftest.$ac_ext >&5
21080
21081 cat >conftest.$ac_ext <<_ACEOF
21082 /* confdefs.h. */
21083 _ACEOF
21084 cat confdefs.h >>conftest.$ac_ext
21085 cat >>conftest.$ac_ext <<_ACEOF
21086 /* end confdefs.h. */
21087 $ac_includes_default
21088 int
21089 main ()
21090 {
21091 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21092 test_array [0] = 0
21093
21094 ;
21095 return 0;
21096 }
21097 _ACEOF
21098 rm -f conftest.$ac_objext
21099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21100 (eval $ac_compile) 2>conftest.er1
21101 ac_status=$?
21102 grep -v '^ *+' conftest.er1 >conftest.err
21103 rm -f conftest.er1
21104 cat conftest.err >&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); } &&
21107 { ac_try='test -z "$ac_cxx_werror_flag"
21108 || test ! -s conftest.err'
21109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21110 (eval $ac_try) 2>&5
21111 ac_status=$?
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); }; } &&
21114 { ac_try='test -s conftest.$ac_objext'
21115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21116 (eval $ac_try) 2>&5
21117 ac_status=$?
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); }; }; then
21120 ac_hi=-1 ac_mid=-1
21121 while :; do
21122 cat >conftest.$ac_ext <<_ACEOF
21123 /* confdefs.h. */
21124 _ACEOF
21125 cat confdefs.h >>conftest.$ac_ext
21126 cat >>conftest.$ac_ext <<_ACEOF
21127 /* end confdefs.h. */
21128 $ac_includes_default
21129 int
21130 main ()
21131 {
21132 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21133 test_array [0] = 0
21134
21135 ;
21136 return 0;
21137 }
21138 _ACEOF
21139 rm -f conftest.$ac_objext
21140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21141 (eval $ac_compile) 2>conftest.er1
21142 ac_status=$?
21143 grep -v '^ *+' conftest.er1 >conftest.err
21144 rm -f conftest.er1
21145 cat conftest.err >&5
21146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21147 (exit $ac_status); } &&
21148 { ac_try='test -z "$ac_cxx_werror_flag"
21149 || test ! -s conftest.err'
21150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151 (eval $ac_try) 2>&5
21152 ac_status=$?
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; } &&
21155 { ac_try='test -s conftest.$ac_objext'
21156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21157 (eval $ac_try) 2>&5
21158 ac_status=$?
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); }; }; then
21161 ac_lo=$ac_mid; break
21162 else
21163 echo "$as_me: failed program was:" >&5
21164 sed 's/^/| /' conftest.$ac_ext >&5
21165
21166 ac_hi=`expr '(' $ac_mid ')' - 1`
21167 if test $ac_mid -le $ac_hi; then
21168 ac_lo= ac_hi=
21169 break
21170 fi
21171 ac_mid=`expr 2 '*' $ac_mid`
21172 fi
21173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21174 done
21175 else
21176 echo "$as_me: failed program was:" >&5
21177 sed 's/^/| /' conftest.$ac_ext >&5
21178
21179 ac_lo= ac_hi=
21180 fi
21181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21182 fi
21183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21184 # Binary search between lo and hi bounds.
21185 while test "x$ac_lo" != "x$ac_hi"; do
21186 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21187 cat >conftest.$ac_ext <<_ACEOF
21188 /* confdefs.h. */
21189 _ACEOF
21190 cat confdefs.h >>conftest.$ac_ext
21191 cat >>conftest.$ac_ext <<_ACEOF
21192 /* end confdefs.h. */
21193 $ac_includes_default
21194 int
21195 main ()
21196 {
21197 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21198 test_array [0] = 0
21199
21200 ;
21201 return 0;
21202 }
21203 _ACEOF
21204 rm -f conftest.$ac_objext
21205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21206 (eval $ac_compile) 2>conftest.er1
21207 ac_status=$?
21208 grep -v '^ *+' conftest.er1 >conftest.err
21209 rm -f conftest.er1
21210 cat conftest.err >&5
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); } &&
21213 { ac_try='test -z "$ac_cxx_werror_flag"
21214 || test ! -s conftest.err'
21215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21216 (eval $ac_try) 2>&5
21217 ac_status=$?
21218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21219 (exit $ac_status); }; } &&
21220 { ac_try='test -s conftest.$ac_objext'
21221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21222 (eval $ac_try) 2>&5
21223 ac_status=$?
21224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21225 (exit $ac_status); }; }; then
21226 ac_hi=$ac_mid
21227 else
21228 echo "$as_me: failed program was:" >&5
21229 sed 's/^/| /' conftest.$ac_ext >&5
21230
21231 ac_lo=`expr '(' $ac_mid ')' + 1`
21232 fi
21233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21234 done
21235 case $ac_lo in
21236 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21237 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21238 See \`config.log' for more details." >&5
21239 echo "$as_me: error: cannot compute sizeof (long long), 77
21240 See \`config.log' for more details." >&2;}
21241 { (exit 1); exit 1; }; } ;;
21242 esac
21243 else
21244 if test "$cross_compiling" = yes; then
21245 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21246 See \`config.log' for more details." >&5
21247 echo "$as_me: error: cannot run test program while cross compiling
21248 See \`config.log' for more details." >&2;}
21249 { (exit 1); exit 1; }; }
21250 else
21251 cat >conftest.$ac_ext <<_ACEOF
21252 /* confdefs.h. */
21253 _ACEOF
21254 cat confdefs.h >>conftest.$ac_ext
21255 cat >>conftest.$ac_ext <<_ACEOF
21256 /* end confdefs.h. */
21257 $ac_includes_default
21258 long longval () { return (long) (sizeof (long long)); }
21259 unsigned long ulongval () { return (long) (sizeof (long long)); }
21260 #include <stdio.h>
21261 #include <stdlib.h>
21262 int
21263 main ()
21264 {
21265
21266 FILE *f = fopen ("conftest.val", "w");
21267 if (! f)
21268 exit (1);
21269 if (((long) (sizeof (long long))) < 0)
21270 {
21271 long i = longval ();
21272 if (i != ((long) (sizeof (long long))))
21273 exit (1);
21274 fprintf (f, "%ld\n", i);
21275 }
21276 else
21277 {
21278 unsigned long i = ulongval ();
21279 if (i != ((long) (sizeof (long long))))
21280 exit (1);
21281 fprintf (f, "%lu\n", i);
21282 }
21283 exit (ferror (f) || fclose (f) != 0);
21284
21285 ;
21286 return 0;
21287 }
21288 _ACEOF
21289 rm -f conftest$ac_exeext
21290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21291 (eval $ac_link) 2>&5
21292 ac_status=$?
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21296 (eval $ac_try) 2>&5
21297 ac_status=$?
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); }; }; then
21300 ac_cv_sizeof_long_long=`cat conftest.val`
21301 else
21302 echo "$as_me: program exited with status $ac_status" >&5
21303 echo "$as_me: failed program was:" >&5
21304 sed 's/^/| /' conftest.$ac_ext >&5
21305
21306 ( exit $ac_status )
21307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21308 See \`config.log' for more details." >&5
21309 echo "$as_me: error: cannot compute sizeof (long long), 77
21310 See \`config.log' for more details." >&2;}
21311 { (exit 1); exit 1; }; }
21312 fi
21313 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21314 fi
21315 fi
21316 rm -f conftest.val
21317 else
21318 ac_cv_sizeof_long_long=0
21319 fi
21320 fi
21321 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21322 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21323 cat >>confdefs.h <<_ACEOF
21324 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21325 _ACEOF
21326
21327
21328 if test "$ac_cv_sizeof_long_long" != "0"; then
21329 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21330 fi
21331 ;;
21332 * )
21333 echo "$as_me:$LINENO: checking for long long" >&5
21334 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21335 if test "${ac_cv_type_long_long+set}" = set; then
21336 echo $ECHO_N "(cached) $ECHO_C" >&6
21337 else
21338 cat >conftest.$ac_ext <<_ACEOF
21339 /* confdefs.h. */
21340 _ACEOF
21341 cat confdefs.h >>conftest.$ac_ext
21342 cat >>conftest.$ac_ext <<_ACEOF
21343 /* end confdefs.h. */
21344 $ac_includes_default
21345 int
21346 main ()
21347 {
21348 if ((long long *) 0)
21349 return 0;
21350 if (sizeof (long long))
21351 return 0;
21352 ;
21353 return 0;
21354 }
21355 _ACEOF
21356 rm -f conftest.$ac_objext
21357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21358 (eval $ac_compile) 2>conftest.er1
21359 ac_status=$?
21360 grep -v '^ *+' conftest.er1 >conftest.err
21361 rm -f conftest.er1
21362 cat conftest.err >&5
21363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21364 (exit $ac_status); } &&
21365 { ac_try='test -z "$ac_cxx_werror_flag"
21366 || test ! -s conftest.err'
21367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21368 (eval $ac_try) 2>&5
21369 ac_status=$?
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); }; } &&
21372 { ac_try='test -s conftest.$ac_objext'
21373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21374 (eval $ac_try) 2>&5
21375 ac_status=$?
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); }; }; then
21378 ac_cv_type_long_long=yes
21379 else
21380 echo "$as_me: failed program was:" >&5
21381 sed 's/^/| /' conftest.$ac_ext >&5
21382
21383 ac_cv_type_long_long=no
21384 fi
21385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21386 fi
21387 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21388 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21389
21390 echo "$as_me:$LINENO: checking size of long long" >&5
21391 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21392 if test "${ac_cv_sizeof_long_long+set}" = set; then
21393 echo $ECHO_N "(cached) $ECHO_C" >&6
21394 else
21395 if test "$ac_cv_type_long_long" = yes; then
21396 # The cast to unsigned long works around a bug in the HP C Compiler
21397 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21398 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21399 # This bug is HP SR number 8606223364.
21400 if test "$cross_compiling" = yes; then
21401 # Depending upon the size, compute the lo and hi bounds.
21402 cat >conftest.$ac_ext <<_ACEOF
21403 /* confdefs.h. */
21404 _ACEOF
21405 cat confdefs.h >>conftest.$ac_ext
21406 cat >>conftest.$ac_ext <<_ACEOF
21407 /* end confdefs.h. */
21408 $ac_includes_default
21409 int
21410 main ()
21411 {
21412 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21413 test_array [0] = 0
21414
21415 ;
21416 return 0;
21417 }
21418 _ACEOF
21419 rm -f conftest.$ac_objext
21420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21421 (eval $ac_compile) 2>conftest.er1
21422 ac_status=$?
21423 grep -v '^ *+' conftest.er1 >conftest.err
21424 rm -f conftest.er1
21425 cat conftest.err >&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); } &&
21428 { ac_try='test -z "$ac_cxx_werror_flag"
21429 || test ! -s conftest.err'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21432 ac_status=$?
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; } &&
21435 { ac_try='test -s conftest.$ac_objext'
21436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437 (eval $ac_try) 2>&5
21438 ac_status=$?
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); }; }; then
21441 ac_lo=0 ac_mid=0
21442 while :; do
21443 cat >conftest.$ac_ext <<_ACEOF
21444 /* confdefs.h. */
21445 _ACEOF
21446 cat confdefs.h >>conftest.$ac_ext
21447 cat >>conftest.$ac_ext <<_ACEOF
21448 /* end confdefs.h. */
21449 $ac_includes_default
21450 int
21451 main ()
21452 {
21453 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21454 test_array [0] = 0
21455
21456 ;
21457 return 0;
21458 }
21459 _ACEOF
21460 rm -f conftest.$ac_objext
21461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21462 (eval $ac_compile) 2>conftest.er1
21463 ac_status=$?
21464 grep -v '^ *+' conftest.er1 >conftest.err
21465 rm -f conftest.er1
21466 cat conftest.err >&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); } &&
21469 { ac_try='test -z "$ac_cxx_werror_flag"
21470 || test ! -s conftest.err'
21471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21472 (eval $ac_try) 2>&5
21473 ac_status=$?
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); }; } &&
21476 { ac_try='test -s conftest.$ac_objext'
21477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21478 (eval $ac_try) 2>&5
21479 ac_status=$?
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); }; }; then
21482 ac_hi=$ac_mid; break
21483 else
21484 echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.$ac_ext >&5
21486
21487 ac_lo=`expr $ac_mid + 1`
21488 if test $ac_lo -le $ac_mid; then
21489 ac_lo= ac_hi=
21490 break
21491 fi
21492 ac_mid=`expr 2 '*' $ac_mid + 1`
21493 fi
21494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21495 done
21496 else
21497 echo "$as_me: failed program was:" >&5
21498 sed 's/^/| /' conftest.$ac_ext >&5
21499
21500 cat >conftest.$ac_ext <<_ACEOF
21501 /* confdefs.h. */
21502 _ACEOF
21503 cat confdefs.h >>conftest.$ac_ext
21504 cat >>conftest.$ac_ext <<_ACEOF
21505 /* end confdefs.h. */
21506 $ac_includes_default
21507 int
21508 main ()
21509 {
21510 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21511 test_array [0] = 0
21512
21513 ;
21514 return 0;
21515 }
21516 _ACEOF
21517 rm -f conftest.$ac_objext
21518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21519 (eval $ac_compile) 2>conftest.er1
21520 ac_status=$?
21521 grep -v '^ *+' conftest.er1 >conftest.err
21522 rm -f conftest.er1
21523 cat conftest.err >&5
21524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21525 (exit $ac_status); } &&
21526 { ac_try='test -z "$ac_cxx_werror_flag"
21527 || test ! -s conftest.err'
21528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21529 (eval $ac_try) 2>&5
21530 ac_status=$?
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); }; } &&
21533 { ac_try='test -s conftest.$ac_objext'
21534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21535 (eval $ac_try) 2>&5
21536 ac_status=$?
21537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21538 (exit $ac_status); }; }; then
21539 ac_hi=-1 ac_mid=-1
21540 while :; do
21541 cat >conftest.$ac_ext <<_ACEOF
21542 /* confdefs.h. */
21543 _ACEOF
21544 cat confdefs.h >>conftest.$ac_ext
21545 cat >>conftest.$ac_ext <<_ACEOF
21546 /* end confdefs.h. */
21547 $ac_includes_default
21548 int
21549 main ()
21550 {
21551 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21552 test_array [0] = 0
21553
21554 ;
21555 return 0;
21556 }
21557 _ACEOF
21558 rm -f conftest.$ac_objext
21559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21560 (eval $ac_compile) 2>conftest.er1
21561 ac_status=$?
21562 grep -v '^ *+' conftest.er1 >conftest.err
21563 rm -f conftest.er1
21564 cat conftest.err >&5
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); } &&
21567 { ac_try='test -z "$ac_cxx_werror_flag"
21568 || test ! -s conftest.err'
21569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21570 (eval $ac_try) 2>&5
21571 ac_status=$?
21572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21573 (exit $ac_status); }; } &&
21574 { ac_try='test -s conftest.$ac_objext'
21575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21576 (eval $ac_try) 2>&5
21577 ac_status=$?
21578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21579 (exit $ac_status); }; }; then
21580 ac_lo=$ac_mid; break
21581 else
21582 echo "$as_me: failed program was:" >&5
21583 sed 's/^/| /' conftest.$ac_ext >&5
21584
21585 ac_hi=`expr '(' $ac_mid ')' - 1`
21586 if test $ac_mid -le $ac_hi; then
21587 ac_lo= ac_hi=
21588 break
21589 fi
21590 ac_mid=`expr 2 '*' $ac_mid`
21591 fi
21592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21593 done
21594 else
21595 echo "$as_me: failed program was:" >&5
21596 sed 's/^/| /' conftest.$ac_ext >&5
21597
21598 ac_lo= ac_hi=
21599 fi
21600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21601 fi
21602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21603 # Binary search between lo and hi bounds.
21604 while test "x$ac_lo" != "x$ac_hi"; do
21605 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21606 cat >conftest.$ac_ext <<_ACEOF
21607 /* confdefs.h. */
21608 _ACEOF
21609 cat confdefs.h >>conftest.$ac_ext
21610 cat >>conftest.$ac_ext <<_ACEOF
21611 /* end confdefs.h. */
21612 $ac_includes_default
21613 int
21614 main ()
21615 {
21616 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21617 test_array [0] = 0
21618
21619 ;
21620 return 0;
21621 }
21622 _ACEOF
21623 rm -f conftest.$ac_objext
21624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21625 (eval $ac_compile) 2>conftest.er1
21626 ac_status=$?
21627 grep -v '^ *+' conftest.er1 >conftest.err
21628 rm -f conftest.er1
21629 cat conftest.err >&5
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); } &&
21632 { ac_try='test -z "$ac_cxx_werror_flag"
21633 || test ! -s conftest.err'
21634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21635 (eval $ac_try) 2>&5
21636 ac_status=$?
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); }; } &&
21639 { ac_try='test -s conftest.$ac_objext'
21640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21641 (eval $ac_try) 2>&5
21642 ac_status=$?
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); }; }; then
21645 ac_hi=$ac_mid
21646 else
21647 echo "$as_me: failed program was:" >&5
21648 sed 's/^/| /' conftest.$ac_ext >&5
21649
21650 ac_lo=`expr '(' $ac_mid ')' + 1`
21651 fi
21652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21653 done
21654 case $ac_lo in
21655 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21656 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21657 See \`config.log' for more details." >&5
21658 echo "$as_me: error: cannot compute sizeof (long long), 77
21659 See \`config.log' for more details." >&2;}
21660 { (exit 1); exit 1; }; } ;;
21661 esac
21662 else
21663 if test "$cross_compiling" = yes; then
21664 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21665 See \`config.log' for more details." >&5
21666 echo "$as_me: error: cannot run test program while cross compiling
21667 See \`config.log' for more details." >&2;}
21668 { (exit 1); exit 1; }; }
21669 else
21670 cat >conftest.$ac_ext <<_ACEOF
21671 /* confdefs.h. */
21672 _ACEOF
21673 cat confdefs.h >>conftest.$ac_ext
21674 cat >>conftest.$ac_ext <<_ACEOF
21675 /* end confdefs.h. */
21676 $ac_includes_default
21677 long longval () { return (long) (sizeof (long long)); }
21678 unsigned long ulongval () { return (long) (sizeof (long long)); }
21679 #include <stdio.h>
21680 #include <stdlib.h>
21681 int
21682 main ()
21683 {
21684
21685 FILE *f = fopen ("conftest.val", "w");
21686 if (! f)
21687 exit (1);
21688 if (((long) (sizeof (long long))) < 0)
21689 {
21690 long i = longval ();
21691 if (i != ((long) (sizeof (long long))))
21692 exit (1);
21693 fprintf (f, "%ld\n", i);
21694 }
21695 else
21696 {
21697 unsigned long i = ulongval ();
21698 if (i != ((long) (sizeof (long long))))
21699 exit (1);
21700 fprintf (f, "%lu\n", i);
21701 }
21702 exit (ferror (f) || fclose (f) != 0);
21703
21704 ;
21705 return 0;
21706 }
21707 _ACEOF
21708 rm -f conftest$ac_exeext
21709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21710 (eval $ac_link) 2>&5
21711 ac_status=$?
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21715 (eval $ac_try) 2>&5
21716 ac_status=$?
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); }; }; then
21719 ac_cv_sizeof_long_long=`cat conftest.val`
21720 else
21721 echo "$as_me: program exited with status $ac_status" >&5
21722 echo "$as_me: failed program was:" >&5
21723 sed 's/^/| /' conftest.$ac_ext >&5
21724
21725 ( exit $ac_status )
21726 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21727 See \`config.log' for more details." >&5
21728 echo "$as_me: error: cannot compute sizeof (long long), 77
21729 See \`config.log' for more details." >&2;}
21730 { (exit 1); exit 1; }; }
21731 fi
21732 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21733 fi
21734 fi
21735 rm -f conftest.val
21736 else
21737 ac_cv_sizeof_long_long=0
21738 fi
21739 fi
21740 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21741 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21742 cat >>confdefs.h <<_ACEOF
21743 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21744 _ACEOF
21745
21746
21747 esac
21748
21749 echo "$as_me:$LINENO: checking for wchar_t" >&5
21750 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21751 if test "${ac_cv_type_wchar_t+set}" = set; then
21752 echo $ECHO_N "(cached) $ECHO_C" >&6
21753 else
21754 cat >conftest.$ac_ext <<_ACEOF
21755 /* confdefs.h. */
21756 _ACEOF
21757 cat confdefs.h >>conftest.$ac_ext
21758 cat >>conftest.$ac_ext <<_ACEOF
21759 /* end confdefs.h. */
21760
21761 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21762 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21763 # error "fake wchar_t"
21764 #endif
21765 #ifdef HAVE_WCHAR_H
21766 # ifdef __CYGWIN__
21767 # include <stddef.h>
21768 # endif
21769 # include <wchar.h>
21770 #endif
21771 #ifdef HAVE_STDLIB_H
21772 # include <stdlib.h>
21773 #endif
21774 #include <stdio.h>
21775
21776
21777
21778 int
21779 main ()
21780 {
21781 if ((wchar_t *) 0)
21782 return 0;
21783 if (sizeof (wchar_t))
21784 return 0;
21785 ;
21786 return 0;
21787 }
21788 _ACEOF
21789 rm -f conftest.$ac_objext
21790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21791 (eval $ac_compile) 2>conftest.er1
21792 ac_status=$?
21793 grep -v '^ *+' conftest.er1 >conftest.err
21794 rm -f conftest.er1
21795 cat conftest.err >&5
21796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21797 (exit $ac_status); } &&
21798 { ac_try='test -z "$ac_cxx_werror_flag"
21799 || test ! -s conftest.err'
21800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21801 (eval $ac_try) 2>&5
21802 ac_status=$?
21803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21804 (exit $ac_status); }; } &&
21805 { ac_try='test -s conftest.$ac_objext'
21806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21807 (eval $ac_try) 2>&5
21808 ac_status=$?
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); }; }; then
21811 ac_cv_type_wchar_t=yes
21812 else
21813 echo "$as_me: failed program was:" >&5
21814 sed 's/^/| /' conftest.$ac_ext >&5
21815
21816 ac_cv_type_wchar_t=no
21817 fi
21818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21819 fi
21820 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21821 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21822
21823 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21824 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21825 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21826 echo $ECHO_N "(cached) $ECHO_C" >&6
21827 else
21828 if test "$ac_cv_type_wchar_t" = yes; then
21829 # The cast to unsigned long works around a bug in the HP C Compiler
21830 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21831 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21832 # This bug is HP SR number 8606223364.
21833 if test "$cross_compiling" = yes; then
21834 # Depending upon the size, compute the lo and hi bounds.
21835 cat >conftest.$ac_ext <<_ACEOF
21836 /* confdefs.h. */
21837 _ACEOF
21838 cat confdefs.h >>conftest.$ac_ext
21839 cat >>conftest.$ac_ext <<_ACEOF
21840 /* end confdefs.h. */
21841
21842 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21843 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21844 # error "fake wchar_t"
21845 #endif
21846 #ifdef HAVE_WCHAR_H
21847 # ifdef __CYGWIN__
21848 # include <stddef.h>
21849 # endif
21850 # include <wchar.h>
21851 #endif
21852 #ifdef HAVE_STDLIB_H
21853 # include <stdlib.h>
21854 #endif
21855 #include <stdio.h>
21856
21857
21858
21859 int
21860 main ()
21861 {
21862 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21863 test_array [0] = 0
21864
21865 ;
21866 return 0;
21867 }
21868 _ACEOF
21869 rm -f conftest.$ac_objext
21870 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21871 (eval $ac_compile) 2>conftest.er1
21872 ac_status=$?
21873 grep -v '^ *+' conftest.er1 >conftest.err
21874 rm -f conftest.er1
21875 cat conftest.err >&5
21876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21877 (exit $ac_status); } &&
21878 { ac_try='test -z "$ac_cxx_werror_flag"
21879 || test ! -s conftest.err'
21880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21881 (eval $ac_try) 2>&5
21882 ac_status=$?
21883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21884 (exit $ac_status); }; } &&
21885 { ac_try='test -s conftest.$ac_objext'
21886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21887 (eval $ac_try) 2>&5
21888 ac_status=$?
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); }; }; then
21891 ac_lo=0 ac_mid=0
21892 while :; do
21893 cat >conftest.$ac_ext <<_ACEOF
21894 /* confdefs.h. */
21895 _ACEOF
21896 cat confdefs.h >>conftest.$ac_ext
21897 cat >>conftest.$ac_ext <<_ACEOF
21898 /* end confdefs.h. */
21899
21900 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21901 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21902 # error "fake wchar_t"
21903 #endif
21904 #ifdef HAVE_WCHAR_H
21905 # ifdef __CYGWIN__
21906 # include <stddef.h>
21907 # endif
21908 # include <wchar.h>
21909 #endif
21910 #ifdef HAVE_STDLIB_H
21911 # include <stdlib.h>
21912 #endif
21913 #include <stdio.h>
21914
21915
21916
21917 int
21918 main ()
21919 {
21920 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21921 test_array [0] = 0
21922
21923 ;
21924 return 0;
21925 }
21926 _ACEOF
21927 rm -f conftest.$ac_objext
21928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21929 (eval $ac_compile) 2>conftest.er1
21930 ac_status=$?
21931 grep -v '^ *+' conftest.er1 >conftest.err
21932 rm -f conftest.er1
21933 cat conftest.err >&5
21934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21935 (exit $ac_status); } &&
21936 { ac_try='test -z "$ac_cxx_werror_flag"
21937 || test ! -s conftest.err'
21938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21939 (eval $ac_try) 2>&5
21940 ac_status=$?
21941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942 (exit $ac_status); }; } &&
21943 { ac_try='test -s conftest.$ac_objext'
21944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21945 (eval $ac_try) 2>&5
21946 ac_status=$?
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); }; }; then
21949 ac_hi=$ac_mid; break
21950 else
21951 echo "$as_me: failed program was:" >&5
21952 sed 's/^/| /' conftest.$ac_ext >&5
21953
21954 ac_lo=`expr $ac_mid + 1`
21955 if test $ac_lo -le $ac_mid; then
21956 ac_lo= ac_hi=
21957 break
21958 fi
21959 ac_mid=`expr 2 '*' $ac_mid + 1`
21960 fi
21961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21962 done
21963 else
21964 echo "$as_me: failed program was:" >&5
21965 sed 's/^/| /' conftest.$ac_ext >&5
21966
21967 cat >conftest.$ac_ext <<_ACEOF
21968 /* confdefs.h. */
21969 _ACEOF
21970 cat confdefs.h >>conftest.$ac_ext
21971 cat >>conftest.$ac_ext <<_ACEOF
21972 /* end confdefs.h. */
21973
21974 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21975 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21976 # error "fake wchar_t"
21977 #endif
21978 #ifdef HAVE_WCHAR_H
21979 # ifdef __CYGWIN__
21980 # include <stddef.h>
21981 # endif
21982 # include <wchar.h>
21983 #endif
21984 #ifdef HAVE_STDLIB_H
21985 # include <stdlib.h>
21986 #endif
21987 #include <stdio.h>
21988
21989
21990
21991 int
21992 main ()
21993 {
21994 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21995 test_array [0] = 0
21996
21997 ;
21998 return 0;
21999 }
22000 _ACEOF
22001 rm -f conftest.$ac_objext
22002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22003 (eval $ac_compile) 2>conftest.er1
22004 ac_status=$?
22005 grep -v '^ *+' conftest.er1 >conftest.err
22006 rm -f conftest.er1
22007 cat conftest.err >&5
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); } &&
22010 { ac_try='test -z "$ac_cxx_werror_flag"
22011 || test ! -s conftest.err'
22012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22013 (eval $ac_try) 2>&5
22014 ac_status=$?
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); }; } &&
22017 { ac_try='test -s conftest.$ac_objext'
22018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22019 (eval $ac_try) 2>&5
22020 ac_status=$?
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); }; }; then
22023 ac_hi=-1 ac_mid=-1
22024 while :; do
22025 cat >conftest.$ac_ext <<_ACEOF
22026 /* confdefs.h. */
22027 _ACEOF
22028 cat confdefs.h >>conftest.$ac_ext
22029 cat >>conftest.$ac_ext <<_ACEOF
22030 /* end confdefs.h. */
22031
22032 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22033 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22034 # error "fake wchar_t"
22035 #endif
22036 #ifdef HAVE_WCHAR_H
22037 # ifdef __CYGWIN__
22038 # include <stddef.h>
22039 # endif
22040 # include <wchar.h>
22041 #endif
22042 #ifdef HAVE_STDLIB_H
22043 # include <stdlib.h>
22044 #endif
22045 #include <stdio.h>
22046
22047
22048
22049 int
22050 main ()
22051 {
22052 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22053 test_array [0] = 0
22054
22055 ;
22056 return 0;
22057 }
22058 _ACEOF
22059 rm -f conftest.$ac_objext
22060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22061 (eval $ac_compile) 2>conftest.er1
22062 ac_status=$?
22063 grep -v '^ *+' conftest.er1 >conftest.err
22064 rm -f conftest.er1
22065 cat conftest.err >&5
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); } &&
22068 { ac_try='test -z "$ac_cxx_werror_flag"
22069 || test ! -s conftest.err'
22070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22071 (eval $ac_try) 2>&5
22072 ac_status=$?
22073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22074 (exit $ac_status); }; } &&
22075 { ac_try='test -s conftest.$ac_objext'
22076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22077 (eval $ac_try) 2>&5
22078 ac_status=$?
22079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22080 (exit $ac_status); }; }; then
22081 ac_lo=$ac_mid; break
22082 else
22083 echo "$as_me: failed program was:" >&5
22084 sed 's/^/| /' conftest.$ac_ext >&5
22085
22086 ac_hi=`expr '(' $ac_mid ')' - 1`
22087 if test $ac_mid -le $ac_hi; then
22088 ac_lo= ac_hi=
22089 break
22090 fi
22091 ac_mid=`expr 2 '*' $ac_mid`
22092 fi
22093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22094 done
22095 else
22096 echo "$as_me: failed program was:" >&5
22097 sed 's/^/| /' conftest.$ac_ext >&5
22098
22099 ac_lo= ac_hi=
22100 fi
22101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22102 fi
22103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22104 # Binary search between lo and hi bounds.
22105 while test "x$ac_lo" != "x$ac_hi"; do
22106 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22107 cat >conftest.$ac_ext <<_ACEOF
22108 /* confdefs.h. */
22109 _ACEOF
22110 cat confdefs.h >>conftest.$ac_ext
22111 cat >>conftest.$ac_ext <<_ACEOF
22112 /* end confdefs.h. */
22113
22114 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22115 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22116 # error "fake wchar_t"
22117 #endif
22118 #ifdef HAVE_WCHAR_H
22119 # ifdef __CYGWIN__
22120 # include <stddef.h>
22121 # endif
22122 # include <wchar.h>
22123 #endif
22124 #ifdef HAVE_STDLIB_H
22125 # include <stdlib.h>
22126 #endif
22127 #include <stdio.h>
22128
22129
22130
22131 int
22132 main ()
22133 {
22134 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22135 test_array [0] = 0
22136
22137 ;
22138 return 0;
22139 }
22140 _ACEOF
22141 rm -f conftest.$ac_objext
22142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22143 (eval $ac_compile) 2>conftest.er1
22144 ac_status=$?
22145 grep -v '^ *+' conftest.er1 >conftest.err
22146 rm -f conftest.er1
22147 cat conftest.err >&5
22148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22149 (exit $ac_status); } &&
22150 { ac_try='test -z "$ac_cxx_werror_flag"
22151 || test ! -s conftest.err'
22152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22153 (eval $ac_try) 2>&5
22154 ac_status=$?
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); }; } &&
22157 { ac_try='test -s conftest.$ac_objext'
22158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22159 (eval $ac_try) 2>&5
22160 ac_status=$?
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); }; }; then
22163 ac_hi=$ac_mid
22164 else
22165 echo "$as_me: failed program was:" >&5
22166 sed 's/^/| /' conftest.$ac_ext >&5
22167
22168 ac_lo=`expr '(' $ac_mid ')' + 1`
22169 fi
22170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22171 done
22172 case $ac_lo in
22173 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22174 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22175 See \`config.log' for more details." >&5
22176 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22177 See \`config.log' for more details." >&2;}
22178 { (exit 1); exit 1; }; } ;;
22179 esac
22180 else
22181 if test "$cross_compiling" = yes; then
22182 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22183 See \`config.log' for more details." >&5
22184 echo "$as_me: error: cannot run test program while cross compiling
22185 See \`config.log' for more details." >&2;}
22186 { (exit 1); exit 1; }; }
22187 else
22188 cat >conftest.$ac_ext <<_ACEOF
22189 /* confdefs.h. */
22190 _ACEOF
22191 cat confdefs.h >>conftest.$ac_ext
22192 cat >>conftest.$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22194
22195 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22196 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22197 # error "fake wchar_t"
22198 #endif
22199 #ifdef HAVE_WCHAR_H
22200 # ifdef __CYGWIN__
22201 # include <stddef.h>
22202 # endif
22203 # include <wchar.h>
22204 #endif
22205 #ifdef HAVE_STDLIB_H
22206 # include <stdlib.h>
22207 #endif
22208 #include <stdio.h>
22209
22210
22211
22212 long longval () { return (long) (sizeof (wchar_t)); }
22213 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22214 #include <stdio.h>
22215 #include <stdlib.h>
22216 int
22217 main ()
22218 {
22219
22220 FILE *f = fopen ("conftest.val", "w");
22221 if (! f)
22222 exit (1);
22223 if (((long) (sizeof (wchar_t))) < 0)
22224 {
22225 long i = longval ();
22226 if (i != ((long) (sizeof (wchar_t))))
22227 exit (1);
22228 fprintf (f, "%ld\n", i);
22229 }
22230 else
22231 {
22232 unsigned long i = ulongval ();
22233 if (i != ((long) (sizeof (wchar_t))))
22234 exit (1);
22235 fprintf (f, "%lu\n", i);
22236 }
22237 exit (ferror (f) || fclose (f) != 0);
22238
22239 ;
22240 return 0;
22241 }
22242 _ACEOF
22243 rm -f conftest$ac_exeext
22244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22245 (eval $ac_link) 2>&5
22246 ac_status=$?
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22250 (eval $ac_try) 2>&5
22251 ac_status=$?
22252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22253 (exit $ac_status); }; }; then
22254 ac_cv_sizeof_wchar_t=`cat conftest.val`
22255 else
22256 echo "$as_me: program exited with status $ac_status" >&5
22257 echo "$as_me: failed program was:" >&5
22258 sed 's/^/| /' conftest.$ac_ext >&5
22259
22260 ( exit $ac_status )
22261 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22262 See \`config.log' for more details." >&5
22263 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22264 See \`config.log' for more details." >&2;}
22265 { (exit 1); exit 1; }; }
22266 fi
22267 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22268 fi
22269 fi
22270 rm -f conftest.val
22271 else
22272 ac_cv_sizeof_wchar_t=0
22273 fi
22274 fi
22275 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22276 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22277 cat >>confdefs.h <<_ACEOF
22278 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22279 _ACEOF
22280
22281
22282 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22283 wxUSE_WCHAR_T=yes
22284 else
22285 wxUSE_WCHAR_T=no
22286 fi
22287
22288 echo "$as_me:$LINENO: checking for va_copy" >&5
22289 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22290 if test "${wx_cv_func_va_copy+set}" = set; then
22291 echo $ECHO_N "(cached) $ECHO_C" >&6
22292 else
22293
22294 cat >conftest.$ac_ext <<_ACEOF
22295
22296 #include <stdarg.h>
22297 void foo(char *f, ...)
22298 {
22299 va_list ap1, ap2;
22300 va_start(ap1, f);
22301 va_copy(ap2, ap1);
22302 va_end(ap2);
22303 va_end(ap1);
22304 }
22305 int main()
22306 {
22307 foo("hi", 17);
22308 return 0;
22309 }
22310 _ACEOF
22311 rm -f conftest.$ac_objext conftest$ac_exeext
22312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22313 (eval $ac_link) 2>conftest.er1
22314 ac_status=$?
22315 grep -v '^ *+' conftest.er1 >conftest.err
22316 rm -f conftest.er1
22317 cat conftest.err >&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } &&
22320 { ac_try='test -z "$ac_cxx_werror_flag"
22321 || test ! -s conftest.err'
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); }; } &&
22327 { ac_try='test -s conftest$ac_exeext'
22328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22329 (eval $ac_try) 2>&5
22330 ac_status=$?
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); }; }; then
22333 wx_cv_func_va_copy=yes
22334 else
22335 echo "$as_me: failed program was:" >&5
22336 sed 's/^/| /' conftest.$ac_ext >&5
22337
22338 wx_cv_func_va_copy=no
22339
22340 fi
22341 rm -f conftest.err conftest.$ac_objext \
22342 conftest$ac_exeext conftest.$ac_ext
22343
22344
22345 fi
22346 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22347 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22348
22349 if test $wx_cv_func_va_copy = "yes"; then
22350 cat >>confdefs.h <<\_ACEOF
22351 #define HAVE_VA_COPY 1
22352 _ACEOF
22353
22354 else
22355 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22356 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22357 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22358 echo $ECHO_N "(cached) $ECHO_C" >&6
22359 else
22360
22361 if test "$cross_compiling" = yes; then
22362 wx_cv_type_va_list_lvalue=yes
22363
22364 else
22365 cat >conftest.$ac_ext <<_ACEOF
22366
22367 #include <stdarg.h>
22368 int foo(char *f, ...)
22369 {
22370 va_list ap1, ap2;
22371 va_start(ap1, f);
22372 ap2 = ap1;
22373 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22374 return 1;
22375 va_end(ap2);
22376 va_end(ap1);
22377 return 0;
22378 }
22379 int main()
22380 {
22381 return foo("hi", 17);
22382 }
22383 _ACEOF
22384 rm -f conftest$ac_exeext
22385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22386 (eval $ac_link) 2>&5
22387 ac_status=$?
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22391 (eval $ac_try) 2>&5
22392 ac_status=$?
22393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22394 (exit $ac_status); }; }; then
22395 wx_cv_type_va_list_lvalue=yes
22396 else
22397 echo "$as_me: program exited with status $ac_status" >&5
22398 echo "$as_me: failed program was:" >&5
22399 sed 's/^/| /' conftest.$ac_ext >&5
22400
22401 ( exit $ac_status )
22402 wx_cv_type_va_list_lvalue=no
22403 fi
22404 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22405 fi
22406
22407
22408 fi
22409 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22410 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22411
22412 if test $wx_cv_type_va_list_lvalue != "yes"; then
22413 cat >>confdefs.h <<\_ACEOF
22414 #define VA_LIST_IS_ARRAY 1
22415 _ACEOF
22416
22417 fi
22418 fi
22419
22420 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22421 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22422 if test "${wx_cv_have_variadic_macros+set}" = set; then
22423 echo $ECHO_N "(cached) $ECHO_C" >&6
22424 else
22425
22426 cat >conftest.$ac_ext <<_ACEOF
22427 /* confdefs.h. */
22428 _ACEOF
22429 cat confdefs.h >>conftest.$ac_ext
22430 cat >>conftest.$ac_ext <<_ACEOF
22431 /* end confdefs.h. */
22432
22433 #include <stdio.h>
22434 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22435
22436 int
22437 main ()
22438 {
22439
22440 test("%s %d %p", "test", 1, 0);
22441
22442
22443 ;
22444 return 0;
22445 }
22446 _ACEOF
22447 rm -f conftest.$ac_objext
22448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22449 (eval $ac_compile) 2>conftest.er1
22450 ac_status=$?
22451 grep -v '^ *+' conftest.er1 >conftest.err
22452 rm -f conftest.er1
22453 cat conftest.err >&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); } &&
22456 { ac_try='test -z "$ac_cxx_werror_flag"
22457 || test ! -s conftest.err'
22458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22459 (eval $ac_try) 2>&5
22460 ac_status=$?
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); }; } &&
22463 { ac_try='test -s conftest.$ac_objext'
22464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22465 (eval $ac_try) 2>&5
22466 ac_status=$?
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); }; }; then
22469 wx_cv_have_variadic_macros=yes
22470 else
22471 echo "$as_me: failed program was:" >&5
22472 sed 's/^/| /' conftest.$ac_ext >&5
22473
22474 wx_cv_have_variadic_macros=no
22475
22476 fi
22477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22478
22479
22480 fi
22481 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22482 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22483
22484 if test $wx_cv_have_variadic_macros = "yes"; then
22485 cat >>confdefs.h <<\_ACEOF
22486 #define HAVE_VARIADIC_MACROS 1
22487 _ACEOF
22488
22489 fi
22490
22491 # Check whether --enable-largefile or --disable-largefile was given.
22492 if test "${enable_largefile+set}" = set; then
22493 enableval="$enable_largefile"
22494
22495 fi;
22496 if test "$enable_largefile" != no; then
22497 wx_largefile=no
22498
22499 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22500 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22501 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22502 echo $ECHO_N "(cached) $ECHO_C" >&6
22503 else
22504
22505 cat >conftest.$ac_ext <<_ACEOF
22506 /* confdefs.h. */
22507 _ACEOF
22508 cat confdefs.h >>conftest.$ac_ext
22509 cat >>conftest.$ac_ext <<_ACEOF
22510 /* end confdefs.h. */
22511 #define _FILE_OFFSET_BITS 64
22512 #include <sys/types.h>
22513 int
22514 main ()
22515 {
22516 typedef struct {
22517 unsigned int field: sizeof(off_t) == 8;
22518 } wxlf;
22519
22520 ;
22521 return 0;
22522 }
22523 _ACEOF
22524 rm -f conftest.$ac_objext
22525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22526 (eval $ac_compile) 2>conftest.er1
22527 ac_status=$?
22528 grep -v '^ *+' conftest.er1 >conftest.err
22529 rm -f conftest.er1
22530 cat conftest.err >&5
22531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22532 (exit $ac_status); } &&
22533 { ac_try='test -z "$ac_cxx_werror_flag"
22534 || test ! -s conftest.err'
22535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22536 (eval $ac_try) 2>&5
22537 ac_status=$?
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); }; } &&
22540 { ac_try='test -s conftest.$ac_objext'
22541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22542 (eval $ac_try) 2>&5
22543 ac_status=$?
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); }; }; then
22546 ac_cv_sys_file_offset_bits=64
22547 else
22548 echo "$as_me: failed program was:" >&5
22549 sed 's/^/| /' conftest.$ac_ext >&5
22550
22551 ac_cv_sys_file_offset_bits=no
22552 fi
22553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22554
22555
22556 fi
22557 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22558 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22559
22560 if test "$ac_cv_sys_file_offset_bits" != no; then
22561 wx_largefile=yes
22562 cat >>confdefs.h <<_ACEOF
22563 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22564 _ACEOF
22565
22566 fi
22567
22568 if test "x$wx_largefile" != "xyes"; then
22569
22570 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22571 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22572 if test "${ac_cv_sys_large_files+set}" = set; then
22573 echo $ECHO_N "(cached) $ECHO_C" >&6
22574 else
22575
22576 cat >conftest.$ac_ext <<_ACEOF
22577 /* confdefs.h. */
22578 _ACEOF
22579 cat confdefs.h >>conftest.$ac_ext
22580 cat >>conftest.$ac_ext <<_ACEOF
22581 /* end confdefs.h. */
22582 #define _LARGE_FILES 1
22583 #include <sys/types.h>
22584 int
22585 main ()
22586 {
22587 typedef struct {
22588 unsigned int field: sizeof(off_t) == 8;
22589 } wxlf;
22590
22591 ;
22592 return 0;
22593 }
22594 _ACEOF
22595 rm -f conftest.$ac_objext
22596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22597 (eval $ac_compile) 2>conftest.er1
22598 ac_status=$?
22599 grep -v '^ *+' conftest.er1 >conftest.err
22600 rm -f conftest.er1
22601 cat conftest.err >&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); } &&
22604 { ac_try='test -z "$ac_cxx_werror_flag"
22605 || test ! -s conftest.err'
22606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22607 (eval $ac_try) 2>&5
22608 ac_status=$?
22609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22610 (exit $ac_status); }; } &&
22611 { ac_try='test -s conftest.$ac_objext'
22612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22613 (eval $ac_try) 2>&5
22614 ac_status=$?
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); }; }; then
22617 ac_cv_sys_large_files=1
22618 else
22619 echo "$as_me: failed program was:" >&5
22620 sed 's/^/| /' conftest.$ac_ext >&5
22621
22622 ac_cv_sys_large_files=no
22623 fi
22624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22625
22626
22627 fi
22628 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22629 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22630
22631 if test "$ac_cv_sys_large_files" != no; then
22632 wx_largefile=yes
22633 cat >>confdefs.h <<_ACEOF
22634 #define _LARGE_FILES $ac_cv_sys_large_files
22635 _ACEOF
22636
22637 fi
22638
22639 fi
22640
22641 echo "$as_me:$LINENO: checking if large file support is available" >&5
22642 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22643 if test "x$wx_largefile" = "xyes"; then
22644 cat >>confdefs.h <<\_ACEOF
22645 #define HAVE_LARGEFILE_SUPPORT 1
22646 _ACEOF
22647
22648 fi
22649 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22650 echo "${ECHO_T}$wx_largefile" >&6
22651 fi
22652
22653
22654 if test "x$wx_largefile" = "xyes"; then
22655 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22656 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22657
22658 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22659 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22660 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22661 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22662 echo $ECHO_N "(cached) $ECHO_C" >&6
22663 else
22664
22665 cat >conftest.$ac_ext <<_ACEOF
22666 /* confdefs.h. */
22667 _ACEOF
22668 cat confdefs.h >>conftest.$ac_ext
22669 cat >>conftest.$ac_ext <<_ACEOF
22670 /* end confdefs.h. */
22671
22672 int
22673 main ()
22674 {
22675
22676 #ifndef __STDC_EXT__
22677 choke me
22678 #endif
22679
22680 ;
22681 return 0;
22682 }
22683 _ACEOF
22684 rm -f conftest.$ac_objext
22685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22686 (eval $ac_compile) 2>conftest.er1
22687 ac_status=$?
22688 grep -v '^ *+' conftest.er1 >conftest.err
22689 rm -f conftest.er1
22690 cat conftest.err >&5
22691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22692 (exit $ac_status); } &&
22693 { ac_try='test -z "$ac_cxx_werror_flag"
22694 || test ! -s conftest.err'
22695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22696 (eval $ac_try) 2>&5
22697 ac_status=$?
22698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699 (exit $ac_status); }; } &&
22700 { ac_try='test -s conftest.$ac_objext'
22701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22702 (eval $ac_try) 2>&5
22703 ac_status=$?
22704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705 (exit $ac_status); }; }; then
22706 wx_cv_STDC_EXT_required=no
22707 else
22708 echo "$as_me: failed program was:" >&5
22709 sed 's/^/| /' conftest.$ac_ext >&5
22710
22711 wx_cv_STDC_EXT_required=yes
22712
22713 fi
22714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22715
22716
22717 fi
22718 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22719 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22720 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22721 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22722 fi
22723 fi
22724 else
22725 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22726 fi
22727 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22728 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22729 if test "${ac_cv_sys_largefile_source+set}" = set; then
22730 echo $ECHO_N "(cached) $ECHO_C" >&6
22731 else
22732 while :; do
22733 ac_cv_sys_largefile_source=no
22734 cat >conftest.$ac_ext <<_ACEOF
22735 /* confdefs.h. */
22736 _ACEOF
22737 cat confdefs.h >>conftest.$ac_ext
22738 cat >>conftest.$ac_ext <<_ACEOF
22739 /* end confdefs.h. */
22740 #include <stdio.h>
22741 int
22742 main ()
22743 {
22744 return !fseeko;
22745 ;
22746 return 0;
22747 }
22748 _ACEOF
22749 rm -f conftest.$ac_objext
22750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22751 (eval $ac_compile) 2>conftest.er1
22752 ac_status=$?
22753 grep -v '^ *+' conftest.er1 >conftest.err
22754 rm -f conftest.er1
22755 cat conftest.err >&5
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); } &&
22758 { ac_try='test -z "$ac_cxx_werror_flag"
22759 || test ! -s conftest.err'
22760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22761 (eval $ac_try) 2>&5
22762 ac_status=$?
22763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22764 (exit $ac_status); }; } &&
22765 { ac_try='test -s conftest.$ac_objext'
22766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22767 (eval $ac_try) 2>&5
22768 ac_status=$?
22769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22770 (exit $ac_status); }; }; then
22771 break
22772 else
22773 echo "$as_me: failed program was:" >&5
22774 sed 's/^/| /' conftest.$ac_ext >&5
22775
22776 fi
22777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22778 cat >conftest.$ac_ext <<_ACEOF
22779 /* confdefs.h. */
22780 _ACEOF
22781 cat confdefs.h >>conftest.$ac_ext
22782 cat >>conftest.$ac_ext <<_ACEOF
22783 /* end confdefs.h. */
22784 #define _LARGEFILE_SOURCE 1
22785 #include <stdio.h>
22786 int
22787 main ()
22788 {
22789 return !fseeko;
22790 ;
22791 return 0;
22792 }
22793 _ACEOF
22794 rm -f conftest.$ac_objext
22795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22796 (eval $ac_compile) 2>conftest.er1
22797 ac_status=$?
22798 grep -v '^ *+' conftest.er1 >conftest.err
22799 rm -f conftest.er1
22800 cat conftest.err >&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); } &&
22803 { ac_try='test -z "$ac_cxx_werror_flag"
22804 || test ! -s conftest.err'
22805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22806 (eval $ac_try) 2>&5
22807 ac_status=$?
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); }; } &&
22810 { ac_try='test -s conftest.$ac_objext'
22811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22812 (eval $ac_try) 2>&5
22813 ac_status=$?
22814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22815 (exit $ac_status); }; }; then
22816 ac_cv_sys_largefile_source=1; break
22817 else
22818 echo "$as_me: failed program was:" >&5
22819 sed 's/^/| /' conftest.$ac_ext >&5
22820
22821 fi
22822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22823 break
22824 done
22825 fi
22826 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22827 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22828 if test "$ac_cv_sys_largefile_source" != no; then
22829
22830 cat >>confdefs.h <<_ACEOF
22831 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22832 _ACEOF
22833
22834 fi
22835 rm -f conftest*
22836
22837 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22838 # in glibc 2.1.3, but that breaks too many other things.
22839 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22840 echo "$as_me:$LINENO: checking for fseeko" >&5
22841 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22842 if test "${ac_cv_func_fseeko+set}" = set; then
22843 echo $ECHO_N "(cached) $ECHO_C" >&6
22844 else
22845 cat >conftest.$ac_ext <<_ACEOF
22846 /* confdefs.h. */
22847 _ACEOF
22848 cat confdefs.h >>conftest.$ac_ext
22849 cat >>conftest.$ac_ext <<_ACEOF
22850 /* end confdefs.h. */
22851 #include <stdio.h>
22852 int
22853 main ()
22854 {
22855 return fseeko && fseeko (stdin, 0, 0);
22856 ;
22857 return 0;
22858 }
22859 _ACEOF
22860 rm -f conftest.$ac_objext conftest$ac_exeext
22861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22862 (eval $ac_link) 2>conftest.er1
22863 ac_status=$?
22864 grep -v '^ *+' conftest.er1 >conftest.err
22865 rm -f conftest.er1
22866 cat conftest.err >&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); } &&
22869 { ac_try='test -z "$ac_cxx_werror_flag"
22870 || test ! -s conftest.err'
22871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22872 (eval $ac_try) 2>&5
22873 ac_status=$?
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); }; } &&
22876 { ac_try='test -s conftest$ac_exeext'
22877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22878 (eval $ac_try) 2>&5
22879 ac_status=$?
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); }; }; then
22882 ac_cv_func_fseeko=yes
22883 else
22884 echo "$as_me: failed program was:" >&5
22885 sed 's/^/| /' conftest.$ac_ext >&5
22886
22887 ac_cv_func_fseeko=no
22888 fi
22889 rm -f conftest.err conftest.$ac_objext \
22890 conftest$ac_exeext conftest.$ac_ext
22891 fi
22892 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22893 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22894 if test $ac_cv_func_fseeko = yes; then
22895
22896 cat >>confdefs.h <<\_ACEOF
22897 #define HAVE_FSEEKO 1
22898 _ACEOF
22899
22900 fi
22901
22902 if test "$ac_cv_sys_largefile_source" != no; then
22903 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22904 fi
22905 fi
22906
22907 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22908 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22909 if test "${ac_cv_c_bigendian+set}" = set; then
22910 echo $ECHO_N "(cached) $ECHO_C" >&6
22911 else
22912 ac_cv_c_bigendian=unknown
22913 # See if sys/param.h defines the BYTE_ORDER macro.
22914 cat >conftest.$ac_ext <<_ACEOF
22915 /* confdefs.h. */
22916 _ACEOF
22917 cat confdefs.h >>conftest.$ac_ext
22918 cat >>conftest.$ac_ext <<_ACEOF
22919 /* end confdefs.h. */
22920 #include <sys/types.h>
22921 #include <sys/param.h>
22922 int
22923 main ()
22924 {
22925
22926 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22927 bogus endian macros
22928 #endif
22929 ;
22930 return 0;
22931 }
22932 _ACEOF
22933 rm -f conftest.$ac_objext
22934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22935 (eval $ac_compile) 2>conftest.er1
22936 ac_status=$?
22937 grep -v '^ *+' conftest.er1 >conftest.err
22938 rm -f conftest.er1
22939 cat conftest.err >&5
22940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22941 (exit $ac_status); } &&
22942 { ac_try='test -z "$ac_cxx_werror_flag"
22943 || test ! -s conftest.err'
22944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22945 (eval $ac_try) 2>&5
22946 ac_status=$?
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); }; } &&
22949 { ac_try='test -s conftest.$ac_objext'
22950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22951 (eval $ac_try) 2>&5
22952 ac_status=$?
22953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22954 (exit $ac_status); }; }; then
22955 # It does; now see whether it defined to BIG_ENDIAN or not.
22956 cat >conftest.$ac_ext <<_ACEOF
22957 /* confdefs.h. */
22958 _ACEOF
22959 cat confdefs.h >>conftest.$ac_ext
22960 cat >>conftest.$ac_ext <<_ACEOF
22961 /* end confdefs.h. */
22962 #include <sys/types.h>
22963 #include <sys/param.h>
22964 int
22965 main ()
22966 {
22967
22968 #if BYTE_ORDER != BIG_ENDIAN
22969 not big endian
22970 #endif
22971 ;
22972 return 0;
22973 }
22974 _ACEOF
22975 rm -f conftest.$ac_objext
22976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22977 (eval $ac_compile) 2>conftest.er1
22978 ac_status=$?
22979 grep -v '^ *+' conftest.er1 >conftest.err
22980 rm -f conftest.er1
22981 cat conftest.err >&5
22982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22983 (exit $ac_status); } &&
22984 { ac_try='test -z "$ac_cxx_werror_flag"
22985 || test ! -s conftest.err'
22986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22987 (eval $ac_try) 2>&5
22988 ac_status=$?
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); }; } &&
22991 { ac_try='test -s conftest.$ac_objext'
22992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22993 (eval $ac_try) 2>&5
22994 ac_status=$?
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); }; }; then
22997 ac_cv_c_bigendian=yes
22998 else
22999 echo "$as_me: failed program was:" >&5
23000 sed 's/^/| /' conftest.$ac_ext >&5
23001
23002 ac_cv_c_bigendian=no
23003 fi
23004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23005 else
23006 echo "$as_me: failed program was:" >&5
23007 sed 's/^/| /' conftest.$ac_ext >&5
23008
23009 fi
23010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23011 if test $ac_cv_c_bigendian = unknown; then
23012 if test "$cross_compiling" = yes; then
23013 ac_cv_c_bigendian=unknown
23014 else
23015 cat >conftest.$ac_ext <<_ACEOF
23016 /* confdefs.h. */
23017 _ACEOF
23018 cat confdefs.h >>conftest.$ac_ext
23019 cat >>conftest.$ac_ext <<_ACEOF
23020 /* end confdefs.h. */
23021 main () {
23022 /* Are we little or big endian? From Harbison&Steele. */
23023 union
23024 {
23025 long l;
23026 char c[sizeof (long)];
23027 } u;
23028 u.l = 1;
23029 exit (u.c[sizeof (long) - 1] == 1);
23030 }
23031 _ACEOF
23032 rm -f conftest$ac_exeext
23033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23034 (eval $ac_link) 2>&5
23035 ac_status=$?
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23039 (eval $ac_try) 2>&5
23040 ac_status=$?
23041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23042 (exit $ac_status); }; }; then
23043 ac_cv_c_bigendian=no
23044 else
23045 echo "$as_me: program exited with status $ac_status" >&5
23046 echo "$as_me: failed program was:" >&5
23047 sed 's/^/| /' conftest.$ac_ext >&5
23048
23049 ( exit $ac_status )
23050 ac_cv_c_bigendian=yes
23051 fi
23052 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23053 fi
23054 fi
23055 fi
23056 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23057 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23058 if test $ac_cv_c_bigendian = unknown; then
23059 { 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
23060 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;}
23061 fi
23062 if test $ac_cv_c_bigendian = yes; then
23063 cat >>confdefs.h <<\_ACEOF
23064 #define WORDS_BIGENDIAN 1
23065 _ACEOF
23066
23067 fi
23068
23069
23070
23071
23072
23073 ac_ext=cc
23074 ac_cpp='$CXXCPP $CPPFLAGS'
23075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23078
23079
23080
23081 for ac_header in iostream
23082 do
23083 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23084 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23085 echo "$as_me:$LINENO: checking for $ac_header" >&5
23086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23088 echo $ECHO_N "(cached) $ECHO_C" >&6
23089 fi
23090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23091 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23092 else
23093 # Is the header compilable?
23094 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23095 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23096 cat >conftest.$ac_ext <<_ACEOF
23097 /* confdefs.h. */
23098 _ACEOF
23099 cat confdefs.h >>conftest.$ac_ext
23100 cat >>conftest.$ac_ext <<_ACEOF
23101 /* end confdefs.h. */
23102 $ac_includes_default
23103 #include <$ac_header>
23104 _ACEOF
23105 rm -f conftest.$ac_objext
23106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23107 (eval $ac_compile) 2>conftest.er1
23108 ac_status=$?
23109 grep -v '^ *+' conftest.er1 >conftest.err
23110 rm -f conftest.er1
23111 cat conftest.err >&5
23112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23113 (exit $ac_status); } &&
23114 { ac_try='test -z "$ac_cxx_werror_flag"
23115 || test ! -s conftest.err'
23116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23117 (eval $ac_try) 2>&5
23118 ac_status=$?
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); }; } &&
23121 { ac_try='test -s conftest.$ac_objext'
23122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23123 (eval $ac_try) 2>&5
23124 ac_status=$?
23125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23126 (exit $ac_status); }; }; then
23127 ac_header_compiler=yes
23128 else
23129 echo "$as_me: failed program was:" >&5
23130 sed 's/^/| /' conftest.$ac_ext >&5
23131
23132 ac_header_compiler=no
23133 fi
23134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23136 echo "${ECHO_T}$ac_header_compiler" >&6
23137
23138 # Is the header present?
23139 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23141 cat >conftest.$ac_ext <<_ACEOF
23142 /* confdefs.h. */
23143 _ACEOF
23144 cat confdefs.h >>conftest.$ac_ext
23145 cat >>conftest.$ac_ext <<_ACEOF
23146 /* end confdefs.h. */
23147 #include <$ac_header>
23148 _ACEOF
23149 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23150 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23151 ac_status=$?
23152 grep -v '^ *+' conftest.er1 >conftest.err
23153 rm -f conftest.er1
23154 cat conftest.err >&5
23155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23156 (exit $ac_status); } >/dev/null; then
23157 if test -s conftest.err; then
23158 ac_cpp_err=$ac_cxx_preproc_warn_flag
23159 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23160 else
23161 ac_cpp_err=
23162 fi
23163 else
23164 ac_cpp_err=yes
23165 fi
23166 if test -z "$ac_cpp_err"; then
23167 ac_header_preproc=yes
23168 else
23169 echo "$as_me: failed program was:" >&5
23170 sed 's/^/| /' conftest.$ac_ext >&5
23171
23172 ac_header_preproc=no
23173 fi
23174 rm -f conftest.err conftest.$ac_ext
23175 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23176 echo "${ECHO_T}$ac_header_preproc" >&6
23177
23178 # So? What about this header?
23179 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23180 yes:no: )
23181 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23182 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23184 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23185 ac_header_preproc=yes
23186 ;;
23187 no:yes:* )
23188 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23189 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23190 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23191 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23192 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23193 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23194 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23195 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23197 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23198 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23199 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23200 (
23201 cat <<\_ASBOX
23202 ## ----------------------------------------- ##
23203 ## Report this to wx-dev@lists.wxwidgets.org ##
23204 ## ----------------------------------------- ##
23205 _ASBOX
23206 ) |
23207 sed "s/^/$as_me: WARNING: /" >&2
23208 ;;
23209 esac
23210 echo "$as_me:$LINENO: checking for $ac_header" >&5
23211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23213 echo $ECHO_N "(cached) $ECHO_C" >&6
23214 else
23215 eval "$as_ac_Header=\$ac_header_preproc"
23216 fi
23217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23219
23220 fi
23221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23222 cat >>confdefs.h <<_ACEOF
23223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23224 _ACEOF
23225
23226 fi
23227
23228 done
23229
23230
23231 if test "$ac_cv_header_iostream" = "yes" ; then
23232 :
23233 else
23234 cat >>confdefs.h <<\_ACEOF
23235 #define wxUSE_IOSTREAMH 1
23236 _ACEOF
23237
23238 fi
23239
23240 ac_ext=cc
23241 ac_cpp='$CXXCPP $CPPFLAGS'
23242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23245
23246
23247
23248
23249 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23250 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23251 if test "${wx_cv_cpp_bool+set}" = set; then
23252 echo $ECHO_N "(cached) $ECHO_C" >&6
23253 else
23254
23255
23256
23257 ac_ext=cc
23258 ac_cpp='$CXXCPP $CPPFLAGS'
23259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23262
23263
23264 cat >conftest.$ac_ext <<_ACEOF
23265 /* confdefs.h. */
23266 _ACEOF
23267 cat confdefs.h >>conftest.$ac_ext
23268 cat >>conftest.$ac_ext <<_ACEOF
23269 /* end confdefs.h. */
23270
23271
23272 int
23273 main ()
23274 {
23275
23276 bool b = true;
23277
23278 return 0;
23279
23280 ;
23281 return 0;
23282 }
23283 _ACEOF
23284 rm -f conftest.$ac_objext
23285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23286 (eval $ac_compile) 2>conftest.er1
23287 ac_status=$?
23288 grep -v '^ *+' conftest.er1 >conftest.err
23289 rm -f conftest.er1
23290 cat conftest.err >&5
23291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292 (exit $ac_status); } &&
23293 { ac_try='test -z "$ac_cxx_werror_flag"
23294 || test ! -s conftest.err'
23295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23296 (eval $ac_try) 2>&5
23297 ac_status=$?
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); }; } &&
23300 { ac_try='test -s conftest.$ac_objext'
23301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23302 (eval $ac_try) 2>&5
23303 ac_status=$?
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); }; }; then
23306
23307 wx_cv_cpp_bool=yes
23308
23309 else
23310 echo "$as_me: failed program was:" >&5
23311 sed 's/^/| /' conftest.$ac_ext >&5
23312
23313
23314 wx_cv_cpp_bool=no
23315
23316
23317 fi
23318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23319
23320 ac_ext=cc
23321 ac_cpp='$CXXCPP $CPPFLAGS'
23322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23325
23326
23327 fi
23328 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23329 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23330
23331 if test "$wx_cv_cpp_bool" = "yes"; then
23332 cat >>confdefs.h <<\_ACEOF
23333 #define HAVE_BOOL 1
23334 _ACEOF
23335
23336 fi
23337
23338
23339
23340 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23341 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23342 if test "${wx_cv_explicit+set}" = set; then
23343 echo $ECHO_N "(cached) $ECHO_C" >&6
23344 else
23345
23346
23347
23348 ac_ext=cc
23349 ac_cpp='$CXXCPP $CPPFLAGS'
23350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23353
23354
23355 cat >conftest.$ac_ext <<_ACEOF
23356 /* confdefs.h. */
23357 _ACEOF
23358 cat confdefs.h >>conftest.$ac_ext
23359 cat >>conftest.$ac_ext <<_ACEOF
23360 /* end confdefs.h. */
23361
23362 class Foo { public: explicit Foo(int) {} };
23363
23364 int
23365 main ()
23366 {
23367
23368 return 0;
23369
23370 ;
23371 return 0;
23372 }
23373 _ACEOF
23374 rm -f conftest.$ac_objext
23375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23376 (eval $ac_compile) 2>conftest.er1
23377 ac_status=$?
23378 grep -v '^ *+' conftest.er1 >conftest.err
23379 rm -f conftest.er1
23380 cat conftest.err >&5
23381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); } &&
23383 { ac_try='test -z "$ac_cxx_werror_flag"
23384 || test ! -s conftest.err'
23385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23386 (eval $ac_try) 2>&5
23387 ac_status=$?
23388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389 (exit $ac_status); }; } &&
23390 { ac_try='test -s conftest.$ac_objext'
23391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23392 (eval $ac_try) 2>&5
23393 ac_status=$?
23394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23395 (exit $ac_status); }; }; then
23396
23397 cat >conftest.$ac_ext <<_ACEOF
23398 /* confdefs.h. */
23399 _ACEOF
23400 cat confdefs.h >>conftest.$ac_ext
23401 cat >>conftest.$ac_ext <<_ACEOF
23402 /* end confdefs.h. */
23403
23404 class Foo { public: explicit Foo(int) {} };
23405 static void TakeFoo(const Foo& foo) { }
23406
23407 int
23408 main ()
23409 {
23410
23411 TakeFoo(17);
23412 return 0;
23413
23414 ;
23415 return 0;
23416 }
23417 _ACEOF
23418 rm -f conftest.$ac_objext
23419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23420 (eval $ac_compile) 2>conftest.er1
23421 ac_status=$?
23422 grep -v '^ *+' conftest.er1 >conftest.err
23423 rm -f conftest.er1
23424 cat conftest.err >&5
23425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426 (exit $ac_status); } &&
23427 { ac_try='test -z "$ac_cxx_werror_flag"
23428 || test ! -s conftest.err'
23429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23430 (eval $ac_try) 2>&5
23431 ac_status=$?
23432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433 (exit $ac_status); }; } &&
23434 { ac_try='test -s conftest.$ac_objext'
23435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23436 (eval $ac_try) 2>&5
23437 ac_status=$?
23438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23439 (exit $ac_status); }; }; then
23440 wx_cv_explicit=no
23441 else
23442 echo "$as_me: failed program was:" >&5
23443 sed 's/^/| /' conftest.$ac_ext >&5
23444
23445 wx_cv_explicit=yes
23446
23447 fi
23448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23449
23450 else
23451 echo "$as_me: failed program was:" >&5
23452 sed 's/^/| /' conftest.$ac_ext >&5
23453
23454 wx_cv_explicit=no
23455
23456 fi
23457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23458
23459 ac_ext=cc
23460 ac_cpp='$CXXCPP $CPPFLAGS'
23461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23464
23465
23466 fi
23467 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23468 echo "${ECHO_T}$wx_cv_explicit" >&6
23469
23470 if test "$wx_cv_explicit" = "yes"; then
23471 cat >>confdefs.h <<\_ACEOF
23472 #define HAVE_EXPLICIT 1
23473 _ACEOF
23474
23475 fi
23476
23477
23478 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23479 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23480 if test "${ac_cv_cxx_const_cast+set}" = set; then
23481 echo $ECHO_N "(cached) $ECHO_C" >&6
23482 else
23483
23484
23485 ac_ext=cc
23486 ac_cpp='$CXXCPP $CPPFLAGS'
23487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23490
23491 cat >conftest.$ac_ext <<_ACEOF
23492 /* confdefs.h. */
23493 _ACEOF
23494 cat confdefs.h >>conftest.$ac_ext
23495 cat >>conftest.$ac_ext <<_ACEOF
23496 /* end confdefs.h. */
23497
23498 int
23499 main ()
23500 {
23501 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23502 ;
23503 return 0;
23504 }
23505 _ACEOF
23506 rm -f conftest.$ac_objext
23507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23508 (eval $ac_compile) 2>conftest.er1
23509 ac_status=$?
23510 grep -v '^ *+' conftest.er1 >conftest.err
23511 rm -f conftest.er1
23512 cat conftest.err >&5
23513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23514 (exit $ac_status); } &&
23515 { ac_try='test -z "$ac_cxx_werror_flag"
23516 || test ! -s conftest.err'
23517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23518 (eval $ac_try) 2>&5
23519 ac_status=$?
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); }; } &&
23522 { ac_try='test -s conftest.$ac_objext'
23523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23524 (eval $ac_try) 2>&5
23525 ac_status=$?
23526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23527 (exit $ac_status); }; }; then
23528 ac_cv_cxx_const_cast=yes
23529 else
23530 echo "$as_me: failed program was:" >&5
23531 sed 's/^/| /' conftest.$ac_ext >&5
23532
23533 ac_cv_cxx_const_cast=no
23534 fi
23535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23536 ac_ext=cc
23537 ac_cpp='$CXXCPP $CPPFLAGS'
23538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23541
23542
23543 fi
23544 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23545 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23546 if test "$ac_cv_cxx_const_cast" = yes; then
23547
23548 cat >>confdefs.h <<\_ACEOF
23549 #define HAVE_CONST_CAST
23550 _ACEOF
23551
23552 fi
23553
23554 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23555 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23556 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23557 echo $ECHO_N "(cached) $ECHO_C" >&6
23558 else
23559
23560
23561 ac_ext=cc
23562 ac_cpp='$CXXCPP $CPPFLAGS'
23563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23566
23567 cat >conftest.$ac_ext <<_ACEOF
23568 /* confdefs.h. */
23569 _ACEOF
23570 cat confdefs.h >>conftest.$ac_ext
23571 cat >>conftest.$ac_ext <<_ACEOF
23572 /* end confdefs.h. */
23573 #include <typeinfo>
23574 class Base { public : Base () {} virtual void f () = 0;};
23575 class Derived : public Base { public : Derived () {} virtual void f () {} };
23576 class Unrelated { public : Unrelated () {} };
23577 int g (Unrelated&) { return 0; }
23578 int
23579 main ()
23580 {
23581
23582 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23583 ;
23584 return 0;
23585 }
23586 _ACEOF
23587 rm -f conftest.$ac_objext
23588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23589 (eval $ac_compile) 2>conftest.er1
23590 ac_status=$?
23591 grep -v '^ *+' conftest.er1 >conftest.err
23592 rm -f conftest.er1
23593 cat conftest.err >&5
23594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23595 (exit $ac_status); } &&
23596 { ac_try='test -z "$ac_cxx_werror_flag"
23597 || test ! -s conftest.err'
23598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23599 (eval $ac_try) 2>&5
23600 ac_status=$?
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); }; } &&
23603 { ac_try='test -s conftest.$ac_objext'
23604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23605 (eval $ac_try) 2>&5
23606 ac_status=$?
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); }; }; then
23609 ac_cv_cxx_reinterpret_cast=yes
23610 else
23611 echo "$as_me: failed program was:" >&5
23612 sed 's/^/| /' conftest.$ac_ext >&5
23613
23614 ac_cv_cxx_reinterpret_cast=no
23615 fi
23616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23617 ac_ext=cc
23618 ac_cpp='$CXXCPP $CPPFLAGS'
23619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23622
23623
23624 fi
23625 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23626 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23627 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23628
23629 cat >>confdefs.h <<\_ACEOF
23630 #define HAVE_REINTERPRET_CAST
23631 _ACEOF
23632
23633 fi
23634
23635 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23636 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23637 if test "${ac_cv_cxx_static_cast+set}" = set; then
23638 echo $ECHO_N "(cached) $ECHO_C" >&6
23639 else
23640
23641
23642 ac_ext=cc
23643 ac_cpp='$CXXCPP $CPPFLAGS'
23644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23647
23648 cat >conftest.$ac_ext <<_ACEOF
23649 /* confdefs.h. */
23650 _ACEOF
23651 cat confdefs.h >>conftest.$ac_ext
23652 cat >>conftest.$ac_ext <<_ACEOF
23653 /* end confdefs.h. */
23654 #include <typeinfo>
23655 class Base { public : Base () {} virtual void f () = 0; };
23656 class Derived : public Base { public : Derived () {} virtual void f () {} };
23657 int g (Derived&) { return 0; }
23658 int
23659 main ()
23660 {
23661
23662 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23663 ;
23664 return 0;
23665 }
23666 _ACEOF
23667 rm -f conftest.$ac_objext
23668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23669 (eval $ac_compile) 2>conftest.er1
23670 ac_status=$?
23671 grep -v '^ *+' conftest.er1 >conftest.err
23672 rm -f conftest.er1
23673 cat conftest.err >&5
23674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23675 (exit $ac_status); } &&
23676 { ac_try='test -z "$ac_cxx_werror_flag"
23677 || test ! -s conftest.err'
23678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23679 (eval $ac_try) 2>&5
23680 ac_status=$?
23681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23682 (exit $ac_status); }; } &&
23683 { ac_try='test -s conftest.$ac_objext'
23684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23685 (eval $ac_try) 2>&5
23686 ac_status=$?
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); }; }; then
23689 ac_cv_cxx_static_cast=yes
23690 else
23691 echo "$as_me: failed program was:" >&5
23692 sed 's/^/| /' conftest.$ac_ext >&5
23693
23694 ac_cv_cxx_static_cast=no
23695 fi
23696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23697 ac_ext=cc
23698 ac_cpp='$CXXCPP $CPPFLAGS'
23699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23702
23703
23704 fi
23705 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23706 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23707 if test "$ac_cv_cxx_static_cast" = yes; then
23708
23709 cat >>confdefs.h <<\_ACEOF
23710 #define HAVE_STATIC_CAST
23711 _ACEOF
23712
23713 fi
23714
23715
23716 if test "x$SUNCXX" = xyes; then
23717 CXXFLAGS="-features=tmplife $CXXFLAGS"
23718 fi
23719
23720 if test "x$SUNCC" = xyes; then
23721 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23722 fi
23723
23724 if test "x$SGICC" = "xyes"; then
23725 CFLAGS="-woff 3970 $CFLAGS"
23726 fi
23727 if test "x$SGICXX" = "xyes"; then
23728 CXXFLAGS="-woff 3970 $CXXFLAGS"
23729 fi
23730
23731 if test "x$HPCC" = "xyes"; then
23732 CFLAGS="+W 2011,2450 $CFLAGS"
23733 fi
23734 if test "x$HPCXX" = "xyes"; then
23735 CXXFLAGS="+W 2340 $CXXFLAGS"
23736 fi
23737
23738 if test "x$COMPAQCXX" = "xyes"; then
23739 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23740 fi
23741
23742 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23743 if test "$wxUSE_UNICODE" = "yes"; then
23744 std_string="std::wstring"
23745 char_type="wchar_t"
23746 else
23747 std_string="std::string"
23748 char_type="char"
23749 fi
23750
23751 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23752 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23753 cat >conftest.$ac_ext <<_ACEOF
23754 /* confdefs.h. */
23755 _ACEOF
23756 cat confdefs.h >>conftest.$ac_ext
23757 cat >>conftest.$ac_ext <<_ACEOF
23758 /* end confdefs.h. */
23759 #include <string>
23760 int
23761 main ()
23762 {
23763 $std_string foo;
23764 ;
23765 return 0;
23766 }
23767 _ACEOF
23768 rm -f conftest.$ac_objext
23769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23770 (eval $ac_compile) 2>conftest.er1
23771 ac_status=$?
23772 grep -v '^ *+' conftest.er1 >conftest.err
23773 rm -f conftest.er1
23774 cat conftest.err >&5
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); } &&
23777 { ac_try='test -z "$ac_cxx_werror_flag"
23778 || test ! -s conftest.err'
23779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23780 (eval $ac_try) 2>&5
23781 ac_status=$?
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); }; } &&
23784 { ac_try='test -s conftest.$ac_objext'
23785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23786 (eval $ac_try) 2>&5
23787 ac_status=$?
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); }; }; then
23790 echo "$as_me:$LINENO: result: yes" >&5
23791 echo "${ECHO_T}yes" >&6
23792 cat >>confdefs.h <<\_ACEOF
23793 #define HAVE_STD_WSTRING 1
23794 _ACEOF
23795
23796 else
23797 echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.$ac_ext >&5
23799
23800 echo "$as_me:$LINENO: result: no" >&5
23801 echo "${ECHO_T}no" >&6
23802 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23803 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23804 cat >conftest.$ac_ext <<_ACEOF
23805 /* confdefs.h. */
23806 _ACEOF
23807 cat confdefs.h >>conftest.$ac_ext
23808 cat >>conftest.$ac_ext <<_ACEOF
23809 /* end confdefs.h. */
23810
23811 #ifdef HAVE_WCHAR_H
23812 # ifdef __CYGWIN__
23813 # include <stddef.h>
23814 # endif
23815 # include <wchar.h>
23816 #endif
23817 #ifdef HAVE_STDLIB_H
23818 # include <stdlib.h>
23819 #endif
23820 #include <stdio.h>
23821 #include <string>
23822
23823 int
23824 main ()
23825 {
23826 std::basic_string<$char_type> foo;
23827 const $char_type* dummy = foo.c_str();
23828 ;
23829 return 0;
23830 }
23831 _ACEOF
23832 rm -f conftest.$ac_objext
23833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23834 (eval $ac_compile) 2>conftest.er1
23835 ac_status=$?
23836 grep -v '^ *+' conftest.er1 >conftest.err
23837 rm -f conftest.er1
23838 cat conftest.err >&5
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); } &&
23841 { ac_try='test -z "$ac_cxx_werror_flag"
23842 || test ! -s conftest.err'
23843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23844 (eval $ac_try) 2>&5
23845 ac_status=$?
23846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23847 (exit $ac_status); }; } &&
23848 { ac_try='test -s conftest.$ac_objext'
23849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23850 (eval $ac_try) 2>&5
23851 ac_status=$?
23852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23853 (exit $ac_status); }; }; then
23854 echo "$as_me:$LINENO: result: yes" >&5
23855 echo "${ECHO_T}yes" >&6
23856 else
23857 echo "$as_me: failed program was:" >&5
23858 sed 's/^/| /' conftest.$ac_ext >&5
23859
23860 echo "$as_me:$LINENO: result: no" >&5
23861 echo "${ECHO_T}no" >&6
23862 if test "$wxUSE_STL" = "yes"; then
23863 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23864 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23865 { (exit 1); exit 1; }; }
23866 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23867 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23868 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23869 { (exit 1); exit 1; }; }
23870 else
23871 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23872 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23873 wxUSE_STD_STRING=no
23874 fi
23875
23876
23877 fi
23878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23879
23880 fi
23881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23882 fi
23883
23884 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23885 echo "$as_me:$LINENO: checking for std::istream" >&5
23886 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23887 if test "${ac_cv_type_std__istream+set}" = set; then
23888 echo $ECHO_N "(cached) $ECHO_C" >&6
23889 else
23890 cat >conftest.$ac_ext <<_ACEOF
23891 /* confdefs.h. */
23892 _ACEOF
23893 cat confdefs.h >>conftest.$ac_ext
23894 cat >>conftest.$ac_ext <<_ACEOF
23895 /* end confdefs.h. */
23896 #include <iostream>
23897
23898 int
23899 main ()
23900 {
23901 if ((std::istream *) 0)
23902 return 0;
23903 if (sizeof (std::istream))
23904 return 0;
23905 ;
23906 return 0;
23907 }
23908 _ACEOF
23909 rm -f conftest.$ac_objext
23910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23911 (eval $ac_compile) 2>conftest.er1
23912 ac_status=$?
23913 grep -v '^ *+' conftest.er1 >conftest.err
23914 rm -f conftest.er1
23915 cat conftest.err >&5
23916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23917 (exit $ac_status); } &&
23918 { ac_try='test -z "$ac_cxx_werror_flag"
23919 || test ! -s conftest.err'
23920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23921 (eval $ac_try) 2>&5
23922 ac_status=$?
23923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23924 (exit $ac_status); }; } &&
23925 { ac_try='test -s conftest.$ac_objext'
23926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23927 (eval $ac_try) 2>&5
23928 ac_status=$?
23929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); }; }; then
23931 ac_cv_type_std__istream=yes
23932 else
23933 echo "$as_me: failed program was:" >&5
23934 sed 's/^/| /' conftest.$ac_ext >&5
23935
23936 ac_cv_type_std__istream=no
23937 fi
23938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23939 fi
23940 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23941 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23942 if test $ac_cv_type_std__istream = yes; then
23943
23944 cat >>confdefs.h <<_ACEOF
23945 #define HAVE_STD__ISTREAM 1
23946 _ACEOF
23947
23948
23949 else
23950 wxUSE_STD_IOSTREAM=no
23951 fi
23952 echo "$as_me:$LINENO: checking for std::ostream" >&5
23953 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23954 if test "${ac_cv_type_std__ostream+set}" = set; then
23955 echo $ECHO_N "(cached) $ECHO_C" >&6
23956 else
23957 cat >conftest.$ac_ext <<_ACEOF
23958 /* confdefs.h. */
23959 _ACEOF
23960 cat confdefs.h >>conftest.$ac_ext
23961 cat >>conftest.$ac_ext <<_ACEOF
23962 /* end confdefs.h. */
23963 #include <iostream>
23964
23965 int
23966 main ()
23967 {
23968 if ((std::ostream *) 0)
23969 return 0;
23970 if (sizeof (std::ostream))
23971 return 0;
23972 ;
23973 return 0;
23974 }
23975 _ACEOF
23976 rm -f conftest.$ac_objext
23977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23978 (eval $ac_compile) 2>conftest.er1
23979 ac_status=$?
23980 grep -v '^ *+' conftest.er1 >conftest.err
23981 rm -f conftest.er1
23982 cat conftest.err >&5
23983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984 (exit $ac_status); } &&
23985 { ac_try='test -z "$ac_cxx_werror_flag"
23986 || test ! -s conftest.err'
23987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23988 (eval $ac_try) 2>&5
23989 ac_status=$?
23990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23991 (exit $ac_status); }; } &&
23992 { ac_try='test -s conftest.$ac_objext'
23993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23994 (eval $ac_try) 2>&5
23995 ac_status=$?
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); }; }; then
23998 ac_cv_type_std__ostream=yes
23999 else
24000 echo "$as_me: failed program was:" >&5
24001 sed 's/^/| /' conftest.$ac_ext >&5
24002
24003 ac_cv_type_std__ostream=no
24004 fi
24005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24006 fi
24007 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24008 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24009 if test $ac_cv_type_std__ostream = yes; then
24010
24011 cat >>confdefs.h <<_ACEOF
24012 #define HAVE_STD__OSTREAM 1
24013 _ACEOF
24014
24015
24016 else
24017 wxUSE_STD_IOSTREAM=no
24018 fi
24019
24020
24021 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24022 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24023 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24024 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24025 { (exit 1); exit 1; }; }
24026 else
24027 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24028 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24029 fi
24030 fi
24031 fi
24032
24033 if test "$wxUSE_STL" = "yes"; then
24034 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24035 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24036 cat >conftest.$ac_ext <<_ACEOF
24037 /* confdefs.h. */
24038 _ACEOF
24039 cat confdefs.h >>conftest.$ac_ext
24040 cat >>conftest.$ac_ext <<_ACEOF
24041 /* end confdefs.h. */
24042 #include <string>
24043 #include <functional>
24044 #include <algorithm>
24045 #include <vector>
24046 #include <list>
24047 int
24048 main ()
24049 {
24050 std::vector<int> moo;
24051 std::list<int> foo;
24052 std::vector<int>::iterator it =
24053 std::find_if(moo.begin(), moo.end(),
24054 std::bind2nd(std::less<int>(), 3));
24055 ;
24056 return 0;
24057 }
24058 _ACEOF
24059 rm -f conftest.$ac_objext
24060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24061 (eval $ac_compile) 2>conftest.er1
24062 ac_status=$?
24063 grep -v '^ *+' conftest.er1 >conftest.err
24064 rm -f conftest.er1
24065 cat conftest.err >&5
24066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067 (exit $ac_status); } &&
24068 { ac_try='test -z "$ac_cxx_werror_flag"
24069 || test ! -s conftest.err'
24070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24071 (eval $ac_try) 2>&5
24072 ac_status=$?
24073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24074 (exit $ac_status); }; } &&
24075 { ac_try='test -s conftest.$ac_objext'
24076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24077 (eval $ac_try) 2>&5
24078 ac_status=$?
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); }; }; then
24081 echo "$as_me:$LINENO: result: yes" >&5
24082 echo "${ECHO_T}yes" >&6
24083 else
24084 echo "$as_me: failed program was:" >&5
24085 sed 's/^/| /' conftest.$ac_ext >&5
24086
24087 echo "$as_me:$LINENO: result: no" >&5
24088 echo "${ECHO_T}no" >&6
24089 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24090 echo "$as_me: error: Basic STL functionality missing" >&2;}
24091 { (exit 1); exit 1; }; }
24092 fi
24093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24094
24095 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24096 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24097 cat >conftest.$ac_ext <<_ACEOF
24098 /* confdefs.h. */
24099 _ACEOF
24100 cat confdefs.h >>conftest.$ac_ext
24101 cat >>conftest.$ac_ext <<_ACEOF
24102 /* end confdefs.h. */
24103 #include <string>
24104 int
24105 main ()
24106 {
24107 std::string foo, bar;
24108 foo.compare(bar);
24109 foo.compare(1, 1, bar);
24110 foo.compare(1, 1, bar, 1, 1);
24111 foo.compare("");
24112 foo.compare(1, 1, "");
24113 foo.compare(1, 1, "", 2);
24114 ;
24115 return 0;
24116 }
24117 _ACEOF
24118 rm -f conftest.$ac_objext
24119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24120 (eval $ac_compile) 2>conftest.er1
24121 ac_status=$?
24122 grep -v '^ *+' conftest.er1 >conftest.err
24123 rm -f conftest.er1
24124 cat conftest.err >&5
24125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24126 (exit $ac_status); } &&
24127 { ac_try='test -z "$ac_cxx_werror_flag"
24128 || test ! -s conftest.err'
24129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24130 (eval $ac_try) 2>&5
24131 ac_status=$?
24132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24133 (exit $ac_status); }; } &&
24134 { ac_try='test -s conftest.$ac_objext'
24135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24136 (eval $ac_try) 2>&5
24137 ac_status=$?
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); }; }; then
24140 echo "$as_me:$LINENO: result: yes" >&5
24141 echo "${ECHO_T}yes" >&6
24142 cat >>confdefs.h <<\_ACEOF
24143 #define HAVE_STD_STRING_COMPARE 1
24144 _ACEOF
24145
24146 else
24147 echo "$as_me: failed program was:" >&5
24148 sed 's/^/| /' conftest.$ac_ext >&5
24149
24150 echo "$as_me:$LINENO: result: no" >&5
24151 echo "${ECHO_T}no" >&6
24152 fi
24153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24154
24155 if test "${ac_cv_header_hash_map+set}" = set; then
24156 echo "$as_me:$LINENO: checking for hash_map" >&5
24157 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24158 if test "${ac_cv_header_hash_map+set}" = set; then
24159 echo $ECHO_N "(cached) $ECHO_C" >&6
24160 fi
24161 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24162 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24163 else
24164 # Is the header compilable?
24165 echo "$as_me:$LINENO: checking hash_map usability" >&5
24166 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24167 cat >conftest.$ac_ext <<_ACEOF
24168 /* confdefs.h. */
24169 _ACEOF
24170 cat confdefs.h >>conftest.$ac_ext
24171 cat >>conftest.$ac_ext <<_ACEOF
24172 /* end confdefs.h. */
24173 $ac_includes_default
24174 #include <hash_map>
24175 _ACEOF
24176 rm -f conftest.$ac_objext
24177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24178 (eval $ac_compile) 2>conftest.er1
24179 ac_status=$?
24180 grep -v '^ *+' conftest.er1 >conftest.err
24181 rm -f conftest.er1
24182 cat conftest.err >&5
24183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24184 (exit $ac_status); } &&
24185 { ac_try='test -z "$ac_cxx_werror_flag"
24186 || test ! -s conftest.err'
24187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24188 (eval $ac_try) 2>&5
24189 ac_status=$?
24190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24191 (exit $ac_status); }; } &&
24192 { ac_try='test -s conftest.$ac_objext'
24193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24194 (eval $ac_try) 2>&5
24195 ac_status=$?
24196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24197 (exit $ac_status); }; }; then
24198 ac_header_compiler=yes
24199 else
24200 echo "$as_me: failed program was:" >&5
24201 sed 's/^/| /' conftest.$ac_ext >&5
24202
24203 ac_header_compiler=no
24204 fi
24205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24206 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24207 echo "${ECHO_T}$ac_header_compiler" >&6
24208
24209 # Is the header present?
24210 echo "$as_me:$LINENO: checking hash_map presence" >&5
24211 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24212 cat >conftest.$ac_ext <<_ACEOF
24213 /* confdefs.h. */
24214 _ACEOF
24215 cat confdefs.h >>conftest.$ac_ext
24216 cat >>conftest.$ac_ext <<_ACEOF
24217 /* end confdefs.h. */
24218 #include <hash_map>
24219 _ACEOF
24220 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24221 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24222 ac_status=$?
24223 grep -v '^ *+' conftest.er1 >conftest.err
24224 rm -f conftest.er1
24225 cat conftest.err >&5
24226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24227 (exit $ac_status); } >/dev/null; then
24228 if test -s conftest.err; then
24229 ac_cpp_err=$ac_cxx_preproc_warn_flag
24230 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24231 else
24232 ac_cpp_err=
24233 fi
24234 else
24235 ac_cpp_err=yes
24236 fi
24237 if test -z "$ac_cpp_err"; then
24238 ac_header_preproc=yes
24239 else
24240 echo "$as_me: failed program was:" >&5
24241 sed 's/^/| /' conftest.$ac_ext >&5
24242
24243 ac_header_preproc=no
24244 fi
24245 rm -f conftest.err conftest.$ac_ext
24246 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24247 echo "${ECHO_T}$ac_header_preproc" >&6
24248
24249 # So? What about this header?
24250 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24251 yes:no: )
24252 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24253 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24254 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24255 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24256 ac_header_preproc=yes
24257 ;;
24258 no:yes:* )
24259 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24260 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24261 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24262 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24263 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24264 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24265 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24266 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24267 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24268 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24269 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24270 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24271 (
24272 cat <<\_ASBOX
24273 ## ----------------------------------------- ##
24274 ## Report this to wx-dev@lists.wxwidgets.org ##
24275 ## ----------------------------------------- ##
24276 _ASBOX
24277 ) |
24278 sed "s/^/$as_me: WARNING: /" >&2
24279 ;;
24280 esac
24281 echo "$as_me:$LINENO: checking for hash_map" >&5
24282 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24283 if test "${ac_cv_header_hash_map+set}" = set; then
24284 echo $ECHO_N "(cached) $ECHO_C" >&6
24285 else
24286 ac_cv_header_hash_map=$ac_header_preproc
24287 fi
24288 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24289 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24290
24291 fi
24292 if test $ac_cv_header_hash_map = yes; then
24293 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24294 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24295 cat >conftest.$ac_ext <<_ACEOF
24296 /* confdefs.h. */
24297 _ACEOF
24298 cat confdefs.h >>conftest.$ac_ext
24299 cat >>conftest.$ac_ext <<_ACEOF
24300 /* end confdefs.h. */
24301 #include <hash_map>
24302 #include <hash_set>
24303 int
24304 main ()
24305 {
24306 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24307 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24308 ;
24309 return 0;
24310 }
24311 _ACEOF
24312 rm -f conftest.$ac_objext
24313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24314 (eval $ac_compile) 2>conftest.er1
24315 ac_status=$?
24316 grep -v '^ *+' conftest.er1 >conftest.err
24317 rm -f conftest.er1
24318 cat conftest.err >&5
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); } &&
24321 { ac_try='test -z "$ac_cxx_werror_flag"
24322 || test ! -s conftest.err'
24323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24324 (eval $ac_try) 2>&5
24325 ac_status=$?
24326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24327 (exit $ac_status); }; } &&
24328 { ac_try='test -s conftest.$ac_objext'
24329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24330 (eval $ac_try) 2>&5
24331 ac_status=$?
24332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24333 (exit $ac_status); }; }; then
24334 echo "$as_me:$LINENO: result: yes" >&5
24335 echo "${ECHO_T}yes" >&6
24336 cat >>confdefs.h <<\_ACEOF
24337 #define HAVE_HASH_MAP 1
24338 _ACEOF
24339
24340 cat >>confdefs.h <<\_ACEOF
24341 #define HAVE_STD_HASH_MAP 1
24342 _ACEOF
24343
24344 else
24345 echo "$as_me: failed program was:" >&5
24346 sed 's/^/| /' conftest.$ac_ext >&5
24347
24348 echo "$as_me:$LINENO: result: no" >&5
24349 echo "${ECHO_T}no" >&6
24350 fi
24351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24352
24353 fi
24354
24355
24356
24357 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24358 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24359 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24360 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24361 echo $ECHO_N "(cached) $ECHO_C" >&6
24362 fi
24363 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24364 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24365 else
24366 # Is the header compilable?
24367 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24368 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24369 cat >conftest.$ac_ext <<_ACEOF
24370 /* confdefs.h. */
24371 _ACEOF
24372 cat confdefs.h >>conftest.$ac_ext
24373 cat >>conftest.$ac_ext <<_ACEOF
24374 /* end confdefs.h. */
24375 $ac_includes_default
24376 #include <ext/hash_map>
24377 _ACEOF
24378 rm -f conftest.$ac_objext
24379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24380 (eval $ac_compile) 2>conftest.er1
24381 ac_status=$?
24382 grep -v '^ *+' conftest.er1 >conftest.err
24383 rm -f conftest.er1
24384 cat conftest.err >&5
24385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24386 (exit $ac_status); } &&
24387 { ac_try='test -z "$ac_cxx_werror_flag"
24388 || test ! -s conftest.err'
24389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24390 (eval $ac_try) 2>&5
24391 ac_status=$?
24392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393 (exit $ac_status); }; } &&
24394 { ac_try='test -s conftest.$ac_objext'
24395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24396 (eval $ac_try) 2>&5
24397 ac_status=$?
24398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24399 (exit $ac_status); }; }; then
24400 ac_header_compiler=yes
24401 else
24402 echo "$as_me: failed program was:" >&5
24403 sed 's/^/| /' conftest.$ac_ext >&5
24404
24405 ac_header_compiler=no
24406 fi
24407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24409 echo "${ECHO_T}$ac_header_compiler" >&6
24410
24411 # Is the header present?
24412 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24413 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24414 cat >conftest.$ac_ext <<_ACEOF
24415 /* confdefs.h. */
24416 _ACEOF
24417 cat confdefs.h >>conftest.$ac_ext
24418 cat >>conftest.$ac_ext <<_ACEOF
24419 /* end confdefs.h. */
24420 #include <ext/hash_map>
24421 _ACEOF
24422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24423 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24424 ac_status=$?
24425 grep -v '^ *+' conftest.er1 >conftest.err
24426 rm -f conftest.er1
24427 cat conftest.err >&5
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); } >/dev/null; then
24430 if test -s conftest.err; then
24431 ac_cpp_err=$ac_cxx_preproc_warn_flag
24432 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24433 else
24434 ac_cpp_err=
24435 fi
24436 else
24437 ac_cpp_err=yes
24438 fi
24439 if test -z "$ac_cpp_err"; then
24440 ac_header_preproc=yes
24441 else
24442 echo "$as_me: failed program was:" >&5
24443 sed 's/^/| /' conftest.$ac_ext >&5
24444
24445 ac_header_preproc=no
24446 fi
24447 rm -f conftest.err conftest.$ac_ext
24448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24449 echo "${ECHO_T}$ac_header_preproc" >&6
24450
24451 # So? What about this header?
24452 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24453 yes:no: )
24454 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24455 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24456 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24457 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24458 ac_header_preproc=yes
24459 ;;
24460 no:yes:* )
24461 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24462 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24463 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24464 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24465 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24466 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24467 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24468 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24469 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24470 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24471 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24472 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24473 (
24474 cat <<\_ASBOX
24475 ## ----------------------------------------- ##
24476 ## Report this to wx-dev@lists.wxwidgets.org ##
24477 ## ----------------------------------------- ##
24478 _ASBOX
24479 ) |
24480 sed "s/^/$as_me: WARNING: /" >&2
24481 ;;
24482 esac
24483 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24484 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24485 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24486 echo $ECHO_N "(cached) $ECHO_C" >&6
24487 else
24488 ac_cv_header_ext_hash_map=$ac_header_preproc
24489 fi
24490 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24491 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24492
24493 fi
24494 if test $ac_cv_header_ext_hash_map = yes; then
24495 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24496 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24497 cat >conftest.$ac_ext <<_ACEOF
24498 /* confdefs.h. */
24499 _ACEOF
24500 cat confdefs.h >>conftest.$ac_ext
24501 cat >>conftest.$ac_ext <<_ACEOF
24502 /* end confdefs.h. */
24503 #include <ext/hash_map>
24504 #include <ext/hash_set>
24505 int
24506 main ()
24507 {
24508 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24509 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24510 ;
24511 return 0;
24512 }
24513 _ACEOF
24514 rm -f conftest.$ac_objext
24515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24516 (eval $ac_compile) 2>conftest.er1
24517 ac_status=$?
24518 grep -v '^ *+' conftest.er1 >conftest.err
24519 rm -f conftest.er1
24520 cat conftest.err >&5
24521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24522 (exit $ac_status); } &&
24523 { ac_try='test -z "$ac_cxx_werror_flag"
24524 || test ! -s conftest.err'
24525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24526 (eval $ac_try) 2>&5
24527 ac_status=$?
24528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529 (exit $ac_status); }; } &&
24530 { ac_try='test -s conftest.$ac_objext'
24531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24532 (eval $ac_try) 2>&5
24533 ac_status=$?
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); }; }; then
24536 echo "$as_me:$LINENO: result: yes" >&5
24537 echo "${ECHO_T}yes" >&6
24538 cat >>confdefs.h <<\_ACEOF
24539 #define HAVE_EXT_HASH_MAP 1
24540 _ACEOF
24541
24542 cat >>confdefs.h <<\_ACEOF
24543 #define HAVE_GNU_CXX_HASH_MAP 1
24544 _ACEOF
24545
24546 else
24547 echo "$as_me: failed program was:" >&5
24548 sed 's/^/| /' conftest.$ac_ext >&5
24549
24550 echo "$as_me:$LINENO: result: no" >&5
24551 echo "${ECHO_T}no" >&6
24552 fi
24553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24554
24555 fi
24556
24557
24558 fi
24559
24560
24561 SEARCH_INCLUDE="\
24562 /usr/local/include \
24563 \
24564 /usr/Motif-2.1/include \
24565 /usr/Motif-1.2/include \
24566 /usr/include/Motif1.2 \
24567 \
24568 /usr/dt/include \
24569 /usr/openwin/include \
24570 \
24571 /usr/include/Xm \
24572 \
24573 /usr/X11R6/include \
24574 /usr/X11R6.4/include \
24575 /usr/X11R5/include \
24576 /usr/X11R4/include \
24577 \
24578 /usr/include/X11R6 \
24579 /usr/include/X11R5 \
24580 /usr/include/X11R4 \
24581 \
24582 /usr/local/X11R6/include \
24583 /usr/local/X11R5/include \
24584 /usr/local/X11R4/include \
24585 \
24586 /usr/local/include/X11R6 \
24587 /usr/local/include/X11R5 \
24588 /usr/local/include/X11R4 \
24589 \
24590 /usr/X11/include \
24591 /usr/include/X11 \
24592 /usr/local/X11/include \
24593 /usr/local/include/X11 \
24594 \
24595 /usr/XFree86/include/X11 \
24596 /usr/pkg/include \
24597 \
24598 /usr/openwin/share/include"
24599
24600 echo "$as_me:$LINENO: checking for libraries directory" >&5
24601 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24602
24603 case "${host}" in
24604 *-*-irix6* )
24605 if test "${wx_cv_std_libpath+set}" = set; then
24606 echo $ECHO_N "(cached) $ECHO_C" >&6
24607 else
24608
24609 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24610 for e in a so sl dylib dll.a; do
24611 libc="$d/libc.$e"
24612 if test -f $libc; then
24613 save_LIBS="$LIBS"
24614 LIBS="$libc"
24615 cat >conftest.$ac_ext <<_ACEOF
24616 int main() { return 0; }
24617 _ACEOF
24618 rm -f conftest.$ac_objext conftest$ac_exeext
24619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24620 (eval $ac_link) 2>conftest.er1
24621 ac_status=$?
24622 grep -v '^ *+' conftest.er1 >conftest.err
24623 rm -f conftest.er1
24624 cat conftest.err >&5
24625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24626 (exit $ac_status); } &&
24627 { ac_try='test -z "$ac_cxx_werror_flag"
24628 || test ! -s conftest.err'
24629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24630 (eval $ac_try) 2>&5
24631 ac_status=$?
24632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24633 (exit $ac_status); }; } &&
24634 { ac_try='test -s conftest$ac_exeext'
24635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24636 (eval $ac_try) 2>&5
24637 ac_status=$?
24638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24639 (exit $ac_status); }; }; then
24640 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24641 else
24642 echo "$as_me: failed program was:" >&5
24643 sed 's/^/| /' conftest.$ac_ext >&5
24644
24645 fi
24646 rm -f conftest.err conftest.$ac_objext \
24647 conftest$ac_exeext conftest.$ac_ext
24648 LIBS="$save_LIBS"
24649 if test "x$wx_cv_std_libpath" != "x"; then
24650 break 2
24651 fi
24652 fi
24653 done
24654 done
24655 if test "x$wx_cv_std_libpath" = "x"; then
24656 wx_cv_std_libpath="lib"
24657 fi
24658
24659
24660 fi
24661
24662 ;;
24663
24664 *-*-solaris2* )
24665 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24666 wx_cv_std_libpath="lib/64"
24667 else
24668 wx_cv_std_libpath="lib"
24669 fi
24670 ;;
24671
24672 *-*-linux* )
24673 if test "$ac_cv_sizeof_void_p" = 8 -a \
24674 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24675 wx_cv_std_libpath="lib64"
24676 else
24677 wx_cv_std_libpath="lib"
24678 fi
24679 ;;
24680
24681 *)
24682 wx_cv_std_libpath="lib";
24683 ;;
24684 esac
24685
24686 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24687 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24688
24689 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24690
24691 if test "$build" != "$host" -a "$GCC" = yes; then
24692 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24693 cross_root=`dirname $cross_root`
24694 cross_root=`dirname $cross_root`
24695
24696 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24697 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24698 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24699
24700 if test -z "$PKG_CONFIG_PATH"; then
24701 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24702 export PKG_CONFIG_PATH
24703 fi
24704
24705 if test -z "$x_includes" -o "$x_includes" = NONE; then
24706
24707 ac_find_includes=
24708 for ac_dir in $SEARCH_INCLUDE /usr/include;
24709 do
24710 if test -f "$ac_dir/X11/Intrinsic.h"; then
24711 ac_find_includes=$ac_dir
24712 break
24713 fi
24714 done
24715
24716 x_includes=$ac_find_includes
24717 fi
24718 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24719
24720 ac_find_libraries=
24721 for ac_dir in $SEARCH_LIB;
24722 do
24723 for ac_extension in a so sl dylib dll.a; do
24724 if test -f "$ac_dir/libXt.$ac_extension"; then
24725 ac_find_libraries=$ac_dir
24726 break 2
24727 fi
24728 done
24729 done
24730
24731 x_libraries=$ac_find_libraries
24732 fi
24733 fi
24734 fi
24735
24736
24737 cat >confcache <<\_ACEOF
24738 # This file is a shell script that caches the results of configure
24739 # tests run on this system so they can be shared between configure
24740 # scripts and configure runs, see configure's option --config-cache.
24741 # It is not useful on other systems. If it contains results you don't
24742 # want to keep, you may remove or edit it.
24743 #
24744 # config.status only pays attention to the cache file if you give it
24745 # the --recheck option to rerun configure.
24746 #
24747 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24748 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24749 # following values.
24750
24751 _ACEOF
24752
24753 # The following way of writing the cache mishandles newlines in values,
24754 # but we know of no workaround that is simple, portable, and efficient.
24755 # So, don't put newlines in cache variables' values.
24756 # Ultrix sh set writes to stderr and can't be redirected directly,
24757 # and sets the high bit in the cache file unless we assign to the vars.
24758 {
24759 (set) 2>&1 |
24760 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24761 *ac_space=\ *)
24762 # `set' does not quote correctly, so add quotes (double-quote
24763 # substitution turns \\\\ into \\, and sed turns \\ into \).
24764 sed -n \
24765 "s/'/'\\\\''/g;
24766 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24767 ;;
24768 *)
24769 # `set' quotes correctly as required by POSIX, so do not add quotes.
24770 sed -n \
24771 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24772 ;;
24773 esac;
24774 } |
24775 sed '
24776 t clear
24777 : clear
24778 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24779 t end
24780 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24781 : end' >>confcache
24782 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24783 if test -w $cache_file; then
24784 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24785 cat confcache >$cache_file
24786 else
24787 echo "not updating unwritable cache $cache_file"
24788 fi
24789 fi
24790 rm -f confcache
24791
24792 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24793 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24794 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24795 if test "${wx_cv_lib_glibc21+set}" = set; then
24796 echo $ECHO_N "(cached) $ECHO_C" >&6
24797 else
24798
24799 cat >conftest.$ac_ext <<_ACEOF
24800 /* confdefs.h. */
24801 _ACEOF
24802 cat confdefs.h >>conftest.$ac_ext
24803 cat >>conftest.$ac_ext <<_ACEOF
24804 /* end confdefs.h. */
24805 #include <features.h>
24806 int
24807 main ()
24808 {
24809
24810 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24811 not glibc 2.1
24812 #endif
24813
24814 ;
24815 return 0;
24816 }
24817 _ACEOF
24818 rm -f conftest.$ac_objext
24819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24820 (eval $ac_compile) 2>conftest.er1
24821 ac_status=$?
24822 grep -v '^ *+' conftest.er1 >conftest.err
24823 rm -f conftest.er1
24824 cat conftest.err >&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); } &&
24827 { ac_try='test -z "$ac_cxx_werror_flag"
24828 || test ! -s conftest.err'
24829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24830 (eval $ac_try) 2>&5
24831 ac_status=$?
24832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24833 (exit $ac_status); }; } &&
24834 { ac_try='test -s conftest.$ac_objext'
24835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24836 (eval $ac_try) 2>&5
24837 ac_status=$?
24838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24839 (exit $ac_status); }; }; then
24840
24841 wx_cv_lib_glibc21=yes
24842
24843 else
24844 echo "$as_me: failed program was:" >&5
24845 sed 's/^/| /' conftest.$ac_ext >&5
24846
24847
24848 wx_cv_lib_glibc21=no
24849
24850
24851 fi
24852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24853
24854 fi
24855 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24856 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24857 if test "$wx_cv_lib_glibc21" = "yes"; then
24858 cat >>confdefs.h <<\_ACEOF
24859 #define wxHAVE_GLIBC2 1
24860 _ACEOF
24861
24862 fi
24863 fi
24864
24865 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24866 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24867 cat >>confdefs.h <<\_ACEOF
24868 #define _GNU_SOURCE 1
24869 _ACEOF
24870
24871 fi
24872 fi
24873
24874 have_cos=0
24875 have_floor=0
24876
24877 for ac_func in cos
24878 do
24879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24880 echo "$as_me:$LINENO: checking for $ac_func" >&5
24881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24882 if eval "test \"\${$as_ac_var+set}\" = set"; then
24883 echo $ECHO_N "(cached) $ECHO_C" >&6
24884 else
24885 cat >conftest.$ac_ext <<_ACEOF
24886 /* confdefs.h. */
24887 _ACEOF
24888 cat confdefs.h >>conftest.$ac_ext
24889 cat >>conftest.$ac_ext <<_ACEOF
24890 /* end confdefs.h. */
24891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24893 #define $ac_func innocuous_$ac_func
24894
24895 /* System header to define __stub macros and hopefully few prototypes,
24896 which can conflict with char $ac_func (); below.
24897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24898 <limits.h> exists even on freestanding compilers. */
24899
24900 #ifdef __STDC__
24901 # include <limits.h>
24902 #else
24903 # include <assert.h>
24904 #endif
24905
24906 #undef $ac_func
24907
24908 /* Override any gcc2 internal prototype to avoid an error. */
24909 #ifdef __cplusplus
24910 extern "C"
24911 {
24912 #endif
24913 /* We use char because int might match the return type of a gcc2
24914 builtin and then its argument prototype would still apply. */
24915 char $ac_func ();
24916 /* The GNU C library defines this for functions which it implements
24917 to always fail with ENOSYS. Some functions are actually named
24918 something starting with __ and the normal name is an alias. */
24919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24920 choke me
24921 #else
24922 char (*f) () = $ac_func;
24923 #endif
24924 #ifdef __cplusplus
24925 }
24926 #endif
24927
24928 int
24929 main ()
24930 {
24931 return f != $ac_func;
24932 ;
24933 return 0;
24934 }
24935 _ACEOF
24936 rm -f conftest.$ac_objext conftest$ac_exeext
24937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24938 (eval $ac_link) 2>conftest.er1
24939 ac_status=$?
24940 grep -v '^ *+' conftest.er1 >conftest.err
24941 rm -f conftest.er1
24942 cat conftest.err >&5
24943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24944 (exit $ac_status); } &&
24945 { ac_try='test -z "$ac_cxx_werror_flag"
24946 || test ! -s conftest.err'
24947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24948 (eval $ac_try) 2>&5
24949 ac_status=$?
24950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24951 (exit $ac_status); }; } &&
24952 { ac_try='test -s conftest$ac_exeext'
24953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24954 (eval $ac_try) 2>&5
24955 ac_status=$?
24956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957 (exit $ac_status); }; }; then
24958 eval "$as_ac_var=yes"
24959 else
24960 echo "$as_me: failed program was:" >&5
24961 sed 's/^/| /' conftest.$ac_ext >&5
24962
24963 eval "$as_ac_var=no"
24964 fi
24965 rm -f conftest.err conftest.$ac_objext \
24966 conftest$ac_exeext conftest.$ac_ext
24967 fi
24968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24970 if test `eval echo '${'$as_ac_var'}'` = yes; then
24971 cat >>confdefs.h <<_ACEOF
24972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24973 _ACEOF
24974 have_cos=1
24975 fi
24976 done
24977
24978
24979 for ac_func in floor
24980 do
24981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24982 echo "$as_me:$LINENO: checking for $ac_func" >&5
24983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24984 if eval "test \"\${$as_ac_var+set}\" = set"; then
24985 echo $ECHO_N "(cached) $ECHO_C" >&6
24986 else
24987 cat >conftest.$ac_ext <<_ACEOF
24988 /* confdefs.h. */
24989 _ACEOF
24990 cat confdefs.h >>conftest.$ac_ext
24991 cat >>conftest.$ac_ext <<_ACEOF
24992 /* end confdefs.h. */
24993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24995 #define $ac_func innocuous_$ac_func
24996
24997 /* System header to define __stub macros and hopefully few prototypes,
24998 which can conflict with char $ac_func (); below.
24999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25000 <limits.h> exists even on freestanding compilers. */
25001
25002 #ifdef __STDC__
25003 # include <limits.h>
25004 #else
25005 # include <assert.h>
25006 #endif
25007
25008 #undef $ac_func
25009
25010 /* Override any gcc2 internal prototype to avoid an error. */
25011 #ifdef __cplusplus
25012 extern "C"
25013 {
25014 #endif
25015 /* We use char because int might match the return type of a gcc2
25016 builtin and then its argument prototype would still apply. */
25017 char $ac_func ();
25018 /* The GNU C library defines this for functions which it implements
25019 to always fail with ENOSYS. Some functions are actually named
25020 something starting with __ and the normal name is an alias. */
25021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25022 choke me
25023 #else
25024 char (*f) () = $ac_func;
25025 #endif
25026 #ifdef __cplusplus
25027 }
25028 #endif
25029
25030 int
25031 main ()
25032 {
25033 return f != $ac_func;
25034 ;
25035 return 0;
25036 }
25037 _ACEOF
25038 rm -f conftest.$ac_objext conftest$ac_exeext
25039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25040 (eval $ac_link) 2>conftest.er1
25041 ac_status=$?
25042 grep -v '^ *+' conftest.er1 >conftest.err
25043 rm -f conftest.er1
25044 cat conftest.err >&5
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); } &&
25047 { ac_try='test -z "$ac_cxx_werror_flag"
25048 || test ! -s conftest.err'
25049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25050 (eval $ac_try) 2>&5
25051 ac_status=$?
25052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25053 (exit $ac_status); }; } &&
25054 { ac_try='test -s conftest$ac_exeext'
25055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25056 (eval $ac_try) 2>&5
25057 ac_status=$?
25058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059 (exit $ac_status); }; }; then
25060 eval "$as_ac_var=yes"
25061 else
25062 echo "$as_me: failed program was:" >&5
25063 sed 's/^/| /' conftest.$ac_ext >&5
25064
25065 eval "$as_ac_var=no"
25066 fi
25067 rm -f conftest.err conftest.$ac_objext \
25068 conftest$ac_exeext conftest.$ac_ext
25069 fi
25070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25072 if test `eval echo '${'$as_ac_var'}'` = yes; then
25073 cat >>confdefs.h <<_ACEOF
25074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25075 _ACEOF
25076 have_floor=1
25077 fi
25078 done
25079
25080 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25081 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25082 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25083 echo "$as_me:$LINENO: result: yes" >&5
25084 echo "${ECHO_T}yes" >&6
25085 else
25086 echo "$as_me:$LINENO: result: no" >&5
25087 echo "${ECHO_T}no" >&6
25088 LIBS="$LIBS -lm"
25089 # use different functions to avoid configure caching
25090 have_sin=0
25091 have_ceil=0
25092
25093 for ac_func in sin
25094 do
25095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25096 echo "$as_me:$LINENO: checking for $ac_func" >&5
25097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25098 if eval "test \"\${$as_ac_var+set}\" = set"; then
25099 echo $ECHO_N "(cached) $ECHO_C" >&6
25100 else
25101 cat >conftest.$ac_ext <<_ACEOF
25102 /* confdefs.h. */
25103 _ACEOF
25104 cat confdefs.h >>conftest.$ac_ext
25105 cat >>conftest.$ac_ext <<_ACEOF
25106 /* end confdefs.h. */
25107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25109 #define $ac_func innocuous_$ac_func
25110
25111 /* System header to define __stub macros and hopefully few prototypes,
25112 which can conflict with char $ac_func (); below.
25113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25114 <limits.h> exists even on freestanding compilers. */
25115
25116 #ifdef __STDC__
25117 # include <limits.h>
25118 #else
25119 # include <assert.h>
25120 #endif
25121
25122 #undef $ac_func
25123
25124 /* Override any gcc2 internal prototype to avoid an error. */
25125 #ifdef __cplusplus
25126 extern "C"
25127 {
25128 #endif
25129 /* We use char because int might match the return type of a gcc2
25130 builtin and then its argument prototype would still apply. */
25131 char $ac_func ();
25132 /* The GNU C library defines this for functions which it implements
25133 to always fail with ENOSYS. Some functions are actually named
25134 something starting with __ and the normal name is an alias. */
25135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25136 choke me
25137 #else
25138 char (*f) () = $ac_func;
25139 #endif
25140 #ifdef __cplusplus
25141 }
25142 #endif
25143
25144 int
25145 main ()
25146 {
25147 return f != $ac_func;
25148 ;
25149 return 0;
25150 }
25151 _ACEOF
25152 rm -f conftest.$ac_objext conftest$ac_exeext
25153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25154 (eval $ac_link) 2>conftest.er1
25155 ac_status=$?
25156 grep -v '^ *+' conftest.er1 >conftest.err
25157 rm -f conftest.er1
25158 cat conftest.err >&5
25159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25160 (exit $ac_status); } &&
25161 { ac_try='test -z "$ac_cxx_werror_flag"
25162 || test ! -s conftest.err'
25163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25164 (eval $ac_try) 2>&5
25165 ac_status=$?
25166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25167 (exit $ac_status); }; } &&
25168 { ac_try='test -s conftest$ac_exeext'
25169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25170 (eval $ac_try) 2>&5
25171 ac_status=$?
25172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25173 (exit $ac_status); }; }; then
25174 eval "$as_ac_var=yes"
25175 else
25176 echo "$as_me: failed program was:" >&5
25177 sed 's/^/| /' conftest.$ac_ext >&5
25178
25179 eval "$as_ac_var=no"
25180 fi
25181 rm -f conftest.err conftest.$ac_objext \
25182 conftest$ac_exeext conftest.$ac_ext
25183 fi
25184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25186 if test `eval echo '${'$as_ac_var'}'` = yes; then
25187 cat >>confdefs.h <<_ACEOF
25188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25189 _ACEOF
25190 have_sin=1
25191 fi
25192 done
25193
25194
25195 for ac_func in ceil
25196 do
25197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25198 echo "$as_me:$LINENO: checking for $ac_func" >&5
25199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25200 if eval "test \"\${$as_ac_var+set}\" = set"; then
25201 echo $ECHO_N "(cached) $ECHO_C" >&6
25202 else
25203 cat >conftest.$ac_ext <<_ACEOF
25204 /* confdefs.h. */
25205 _ACEOF
25206 cat confdefs.h >>conftest.$ac_ext
25207 cat >>conftest.$ac_ext <<_ACEOF
25208 /* end confdefs.h. */
25209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25211 #define $ac_func innocuous_$ac_func
25212
25213 /* System header to define __stub macros and hopefully few prototypes,
25214 which can conflict with char $ac_func (); below.
25215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25216 <limits.h> exists even on freestanding compilers. */
25217
25218 #ifdef __STDC__
25219 # include <limits.h>
25220 #else
25221 # include <assert.h>
25222 #endif
25223
25224 #undef $ac_func
25225
25226 /* Override any gcc2 internal prototype to avoid an error. */
25227 #ifdef __cplusplus
25228 extern "C"
25229 {
25230 #endif
25231 /* We use char because int might match the return type of a gcc2
25232 builtin and then its argument prototype would still apply. */
25233 char $ac_func ();
25234 /* The GNU C library defines this for functions which it implements
25235 to always fail with ENOSYS. Some functions are actually named
25236 something starting with __ and the normal name is an alias. */
25237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25238 choke me
25239 #else
25240 char (*f) () = $ac_func;
25241 #endif
25242 #ifdef __cplusplus
25243 }
25244 #endif
25245
25246 int
25247 main ()
25248 {
25249 return f != $ac_func;
25250 ;
25251 return 0;
25252 }
25253 _ACEOF
25254 rm -f conftest.$ac_objext conftest$ac_exeext
25255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25256 (eval $ac_link) 2>conftest.er1
25257 ac_status=$?
25258 grep -v '^ *+' conftest.er1 >conftest.err
25259 rm -f conftest.er1
25260 cat conftest.err >&5
25261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25262 (exit $ac_status); } &&
25263 { ac_try='test -z "$ac_cxx_werror_flag"
25264 || test ! -s conftest.err'
25265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25266 (eval $ac_try) 2>&5
25267 ac_status=$?
25268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25269 (exit $ac_status); }; } &&
25270 { ac_try='test -s conftest$ac_exeext'
25271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25272 (eval $ac_try) 2>&5
25273 ac_status=$?
25274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25275 (exit $ac_status); }; }; then
25276 eval "$as_ac_var=yes"
25277 else
25278 echo "$as_me: failed program was:" >&5
25279 sed 's/^/| /' conftest.$ac_ext >&5
25280
25281 eval "$as_ac_var=no"
25282 fi
25283 rm -f conftest.err conftest.$ac_objext \
25284 conftest$ac_exeext conftest.$ac_ext
25285 fi
25286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25288 if test `eval echo '${'$as_ac_var'}'` = yes; then
25289 cat >>confdefs.h <<_ACEOF
25290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25291 _ACEOF
25292 have_ceil=1
25293 fi
25294 done
25295
25296 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25297 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25298 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25299 echo "$as_me:$LINENO: result: yes" >&5
25300 echo "${ECHO_T}yes" >&6
25301 else
25302 echo "$as_me:$LINENO: result: no" >&5
25303 echo "${ECHO_T}no" >&6
25304 # not sure we should warn the user, crash, etc.
25305 fi
25306 fi
25307
25308
25309
25310 if test "$wxUSE_REGEX" != "no"; then
25311 cat >>confdefs.h <<\_ACEOF
25312 #define wxUSE_REGEX 1
25313 _ACEOF
25314
25315
25316 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25317 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25318 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25319 wxUSE_REGEX=builtin
25320 fi
25321
25322 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25323 if test "${ac_cv_header_regex_h+set}" = set; then
25324 echo "$as_me:$LINENO: checking for regex.h" >&5
25325 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25326 if test "${ac_cv_header_regex_h+set}" = set; then
25327 echo $ECHO_N "(cached) $ECHO_C" >&6
25328 fi
25329 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25330 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25331 else
25332 # Is the header compilable?
25333 echo "$as_me:$LINENO: checking regex.h usability" >&5
25334 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25335 cat >conftest.$ac_ext <<_ACEOF
25336 /* confdefs.h. */
25337 _ACEOF
25338 cat confdefs.h >>conftest.$ac_ext
25339 cat >>conftest.$ac_ext <<_ACEOF
25340 /* end confdefs.h. */
25341 $ac_includes_default
25342 #include <regex.h>
25343 _ACEOF
25344 rm -f conftest.$ac_objext
25345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25346 (eval $ac_compile) 2>conftest.er1
25347 ac_status=$?
25348 grep -v '^ *+' conftest.er1 >conftest.err
25349 rm -f conftest.er1
25350 cat conftest.err >&5
25351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352 (exit $ac_status); } &&
25353 { ac_try='test -z "$ac_cxx_werror_flag"
25354 || test ! -s conftest.err'
25355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25356 (eval $ac_try) 2>&5
25357 ac_status=$?
25358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25359 (exit $ac_status); }; } &&
25360 { ac_try='test -s conftest.$ac_objext'
25361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25362 (eval $ac_try) 2>&5
25363 ac_status=$?
25364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25365 (exit $ac_status); }; }; then
25366 ac_header_compiler=yes
25367 else
25368 echo "$as_me: failed program was:" >&5
25369 sed 's/^/| /' conftest.$ac_ext >&5
25370
25371 ac_header_compiler=no
25372 fi
25373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25375 echo "${ECHO_T}$ac_header_compiler" >&6
25376
25377 # Is the header present?
25378 echo "$as_me:$LINENO: checking regex.h presence" >&5
25379 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25380 cat >conftest.$ac_ext <<_ACEOF
25381 /* confdefs.h. */
25382 _ACEOF
25383 cat confdefs.h >>conftest.$ac_ext
25384 cat >>conftest.$ac_ext <<_ACEOF
25385 /* end confdefs.h. */
25386 #include <regex.h>
25387 _ACEOF
25388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25389 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25390 ac_status=$?
25391 grep -v '^ *+' conftest.er1 >conftest.err
25392 rm -f conftest.er1
25393 cat conftest.err >&5
25394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25395 (exit $ac_status); } >/dev/null; then
25396 if test -s conftest.err; then
25397 ac_cpp_err=$ac_cxx_preproc_warn_flag
25398 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25399 else
25400 ac_cpp_err=
25401 fi
25402 else
25403 ac_cpp_err=yes
25404 fi
25405 if test -z "$ac_cpp_err"; then
25406 ac_header_preproc=yes
25407 else
25408 echo "$as_me: failed program was:" >&5
25409 sed 's/^/| /' conftest.$ac_ext >&5
25410
25411 ac_header_preproc=no
25412 fi
25413 rm -f conftest.err conftest.$ac_ext
25414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25415 echo "${ECHO_T}$ac_header_preproc" >&6
25416
25417 # So? What about this header?
25418 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25419 yes:no: )
25420 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25421 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25422 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25423 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25424 ac_header_preproc=yes
25425 ;;
25426 no:yes:* )
25427 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25428 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25429 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25430 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25431 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25432 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25433 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25434 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25435 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25436 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25437 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25438 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25439 (
25440 cat <<\_ASBOX
25441 ## ----------------------------------------- ##
25442 ## Report this to wx-dev@lists.wxwidgets.org ##
25443 ## ----------------------------------------- ##
25444 _ASBOX
25445 ) |
25446 sed "s/^/$as_me: WARNING: /" >&2
25447 ;;
25448 esac
25449 echo "$as_me:$LINENO: checking for regex.h" >&5
25450 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25451 if test "${ac_cv_header_regex_h+set}" = set; then
25452 echo $ECHO_N "(cached) $ECHO_C" >&6
25453 else
25454 ac_cv_header_regex_h=$ac_header_preproc
25455 fi
25456 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25457 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25458
25459 fi
25460 if test $ac_cv_header_regex_h = yes; then
25461
25462
25463 for ac_func in regcomp re_search
25464 do
25465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25466 echo "$as_me:$LINENO: checking for $ac_func" >&5
25467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25468 if eval "test \"\${$as_ac_var+set}\" = set"; then
25469 echo $ECHO_N "(cached) $ECHO_C" >&6
25470 else
25471 cat >conftest.$ac_ext <<_ACEOF
25472 /* confdefs.h. */
25473 _ACEOF
25474 cat confdefs.h >>conftest.$ac_ext
25475 cat >>conftest.$ac_ext <<_ACEOF
25476 /* end confdefs.h. */
25477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25479 #define $ac_func innocuous_$ac_func
25480
25481 /* System header to define __stub macros and hopefully few prototypes,
25482 which can conflict with char $ac_func (); below.
25483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25484 <limits.h> exists even on freestanding compilers. */
25485
25486 #ifdef __STDC__
25487 # include <limits.h>
25488 #else
25489 # include <assert.h>
25490 #endif
25491
25492 #undef $ac_func
25493
25494 /* Override any gcc2 internal prototype to avoid an error. */
25495 #ifdef __cplusplus
25496 extern "C"
25497 {
25498 #endif
25499 /* We use char because int might match the return type of a gcc2
25500 builtin and then its argument prototype would still apply. */
25501 char $ac_func ();
25502 /* The GNU C library defines this for functions which it implements
25503 to always fail with ENOSYS. Some functions are actually named
25504 something starting with __ and the normal name is an alias. */
25505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25506 choke me
25507 #else
25508 char (*f) () = $ac_func;
25509 #endif
25510 #ifdef __cplusplus
25511 }
25512 #endif
25513
25514 int
25515 main ()
25516 {
25517 return f != $ac_func;
25518 ;
25519 return 0;
25520 }
25521 _ACEOF
25522 rm -f conftest.$ac_objext conftest$ac_exeext
25523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25524 (eval $ac_link) 2>conftest.er1
25525 ac_status=$?
25526 grep -v '^ *+' conftest.er1 >conftest.err
25527 rm -f conftest.er1
25528 cat conftest.err >&5
25529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25530 (exit $ac_status); } &&
25531 { ac_try='test -z "$ac_cxx_werror_flag"
25532 || test ! -s conftest.err'
25533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25534 (eval $ac_try) 2>&5
25535 ac_status=$?
25536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25537 (exit $ac_status); }; } &&
25538 { ac_try='test -s conftest$ac_exeext'
25539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25540 (eval $ac_try) 2>&5
25541 ac_status=$?
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); }; }; then
25544 eval "$as_ac_var=yes"
25545 else
25546 echo "$as_me: failed program was:" >&5
25547 sed 's/^/| /' conftest.$ac_ext >&5
25548
25549 eval "$as_ac_var=no"
25550 fi
25551 rm -f conftest.err conftest.$ac_objext \
25552 conftest$ac_exeext conftest.$ac_ext
25553 fi
25554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25556 if test `eval echo '${'$as_ac_var'}'` = yes; then
25557 cat >>confdefs.h <<_ACEOF
25558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25559 _ACEOF
25560
25561 fi
25562 done
25563
25564 fi
25565
25566
25567
25568 if test "x$ac_cv_func_regcomp" != "xyes"; then
25569 if test "$wxUSE_REGEX" = "sys" ; then
25570 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25571 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25572 { (exit 1); exit 1; }; }
25573 else
25574 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25575 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25576 wxUSE_REGEX=builtin
25577 fi
25578 else
25579 wxUSE_REGEX=sys
25580 cat >>confdefs.h <<\_ACEOF
25581 #define WX_NO_REGEX_ADVANCED 1
25582 _ACEOF
25583
25584 fi
25585 fi
25586 fi
25587
25588
25589 ZLIB_LINK=
25590 if test "$wxUSE_ZLIB" != "no" ; then
25591 cat >>confdefs.h <<\_ACEOF
25592 #define wxUSE_ZLIB 1
25593 _ACEOF
25594
25595
25596 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25597 if test "$USE_DARWIN" = 1; then
25598 system_zlib_h_ok="yes"
25599 else
25600 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25601 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25602 if test "${ac_cv_header_zlib_h+set}" = set; then
25603 echo $ECHO_N "(cached) $ECHO_C" >&6
25604 else
25605 if test "$cross_compiling" = yes; then
25606 unset ac_cv_header_zlib_h
25607
25608 else
25609 cat >conftest.$ac_ext <<_ACEOF
25610 /* confdefs.h. */
25611 _ACEOF
25612 cat confdefs.h >>conftest.$ac_ext
25613 cat >>conftest.$ac_ext <<_ACEOF
25614 /* end confdefs.h. */
25615
25616 #include <zlib.h>
25617 #include <stdio.h>
25618
25619 int main()
25620 {
25621 FILE *f=fopen("conftestval", "w");
25622 if (!f) exit(1);
25623 fprintf(f, "%s",
25624 ZLIB_VERSION[0] == '1' &&
25625 (ZLIB_VERSION[2] > '1' ||
25626 (ZLIB_VERSION[2] == '1' &&
25627 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25628 exit(0);
25629 }
25630
25631 _ACEOF
25632 rm -f conftest$ac_exeext
25633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25634 (eval $ac_link) 2>&5
25635 ac_status=$?
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25639 (eval $ac_try) 2>&5
25640 ac_status=$?
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); }; }; then
25643 ac_cv_header_zlib_h=`cat conftestval`
25644 else
25645 echo "$as_me: program exited with status $ac_status" >&5
25646 echo "$as_me: failed program was:" >&5
25647 sed 's/^/| /' conftest.$ac_ext >&5
25648
25649 ( exit $ac_status )
25650 ac_cv_header_zlib_h=no
25651 fi
25652 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25653 fi
25654
25655 fi
25656 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25657 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25658 if test "${ac_cv_header_zlib_h+set}" = set; then
25659 echo "$as_me:$LINENO: checking for zlib.h" >&5
25660 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25661 if test "${ac_cv_header_zlib_h+set}" = set; then
25662 echo $ECHO_N "(cached) $ECHO_C" >&6
25663 fi
25664 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25665 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25666 else
25667 # Is the header compilable?
25668 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25669 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25670 cat >conftest.$ac_ext <<_ACEOF
25671 /* confdefs.h. */
25672 _ACEOF
25673 cat confdefs.h >>conftest.$ac_ext
25674 cat >>conftest.$ac_ext <<_ACEOF
25675 /* end confdefs.h. */
25676 $ac_includes_default
25677 #include <zlib.h>
25678 _ACEOF
25679 rm -f conftest.$ac_objext
25680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25681 (eval $ac_compile) 2>conftest.er1
25682 ac_status=$?
25683 grep -v '^ *+' conftest.er1 >conftest.err
25684 rm -f conftest.er1
25685 cat conftest.err >&5
25686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687 (exit $ac_status); } &&
25688 { ac_try='test -z "$ac_cxx_werror_flag"
25689 || test ! -s conftest.err'
25690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25691 (eval $ac_try) 2>&5
25692 ac_status=$?
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); }; } &&
25695 { ac_try='test -s conftest.$ac_objext'
25696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25697 (eval $ac_try) 2>&5
25698 ac_status=$?
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); }; }; then
25701 ac_header_compiler=yes
25702 else
25703 echo "$as_me: failed program was:" >&5
25704 sed 's/^/| /' conftest.$ac_ext >&5
25705
25706 ac_header_compiler=no
25707 fi
25708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25709 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25710 echo "${ECHO_T}$ac_header_compiler" >&6
25711
25712 # Is the header present?
25713 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25714 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25715 cat >conftest.$ac_ext <<_ACEOF
25716 /* confdefs.h. */
25717 _ACEOF
25718 cat confdefs.h >>conftest.$ac_ext
25719 cat >>conftest.$ac_ext <<_ACEOF
25720 /* end confdefs.h. */
25721 #include <zlib.h>
25722 _ACEOF
25723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25724 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25725 ac_status=$?
25726 grep -v '^ *+' conftest.er1 >conftest.err
25727 rm -f conftest.er1
25728 cat conftest.err >&5
25729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25730 (exit $ac_status); } >/dev/null; then
25731 if test -s conftest.err; then
25732 ac_cpp_err=$ac_cxx_preproc_warn_flag
25733 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25734 else
25735 ac_cpp_err=
25736 fi
25737 else
25738 ac_cpp_err=yes
25739 fi
25740 if test -z "$ac_cpp_err"; then
25741 ac_header_preproc=yes
25742 else
25743 echo "$as_me: failed program was:" >&5
25744 sed 's/^/| /' conftest.$ac_ext >&5
25745
25746 ac_header_preproc=no
25747 fi
25748 rm -f conftest.err conftest.$ac_ext
25749 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25750 echo "${ECHO_T}$ac_header_preproc" >&6
25751
25752 # So? What about this header?
25753 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25754 yes:no: )
25755 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25756 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25757 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25758 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25759 ac_header_preproc=yes
25760 ;;
25761 no:yes:* )
25762 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25763 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25764 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25765 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25766 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25767 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25768 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25769 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25770 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25771 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25772 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25773 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25774 (
25775 cat <<\_ASBOX
25776 ## ----------------------------------------- ##
25777 ## Report this to wx-dev@lists.wxwidgets.org ##
25778 ## ----------------------------------------- ##
25779 _ASBOX
25780 ) |
25781 sed "s/^/$as_me: WARNING: /" >&2
25782 ;;
25783 esac
25784 echo "$as_me:$LINENO: checking for zlib.h" >&5
25785 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25786 if test "${ac_cv_header_zlib_h+set}" = set; then
25787 echo $ECHO_N "(cached) $ECHO_C" >&6
25788 else
25789 ac_cv_header_zlib_h=$ac_header_preproc
25790 fi
25791 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25792 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25793
25794 fi
25795
25796
25797
25798 system_zlib_h_ok=$ac_cv_header_zlib_h
25799 fi
25800
25801 if test "$system_zlib_h_ok" = "yes"; then
25802 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25803 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25804 if test "${ac_cv_lib_z_deflate+set}" = set; then
25805 echo $ECHO_N "(cached) $ECHO_C" >&6
25806 else
25807 ac_check_lib_save_LIBS=$LIBS
25808 LIBS="-lz $LIBS"
25809 cat >conftest.$ac_ext <<_ACEOF
25810 /* confdefs.h. */
25811 _ACEOF
25812 cat confdefs.h >>conftest.$ac_ext
25813 cat >>conftest.$ac_ext <<_ACEOF
25814 /* end confdefs.h. */
25815
25816 /* Override any gcc2 internal prototype to avoid an error. */
25817 #ifdef __cplusplus
25818 extern "C"
25819 #endif
25820 /* We use char because int might match the return type of a gcc2
25821 builtin and then its argument prototype would still apply. */
25822 char deflate ();
25823 int
25824 main ()
25825 {
25826 deflate ();
25827 ;
25828 return 0;
25829 }
25830 _ACEOF
25831 rm -f conftest.$ac_objext conftest$ac_exeext
25832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25833 (eval $ac_link) 2>conftest.er1
25834 ac_status=$?
25835 grep -v '^ *+' conftest.er1 >conftest.err
25836 rm -f conftest.er1
25837 cat conftest.err >&5
25838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25839 (exit $ac_status); } &&
25840 { ac_try='test -z "$ac_cxx_werror_flag"
25841 || test ! -s conftest.err'
25842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25843 (eval $ac_try) 2>&5
25844 ac_status=$?
25845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25846 (exit $ac_status); }; } &&
25847 { ac_try='test -s conftest$ac_exeext'
25848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25849 (eval $ac_try) 2>&5
25850 ac_status=$?
25851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25852 (exit $ac_status); }; }; then
25853 ac_cv_lib_z_deflate=yes
25854 else
25855 echo "$as_me: failed program was:" >&5
25856 sed 's/^/| /' conftest.$ac_ext >&5
25857
25858 ac_cv_lib_z_deflate=no
25859 fi
25860 rm -f conftest.err conftest.$ac_objext \
25861 conftest$ac_exeext conftest.$ac_ext
25862 LIBS=$ac_check_lib_save_LIBS
25863 fi
25864 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25865 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25866 if test $ac_cv_lib_z_deflate = yes; then
25867 ZLIB_LINK=" -lz"
25868 fi
25869
25870 fi
25871
25872 if test "x$ZLIB_LINK" = "x" ; then
25873 if test "$wxUSE_ZLIB" = "sys" ; then
25874 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25875 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25876 { (exit 1); exit 1; }; }
25877 else
25878 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25879 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25880 wxUSE_ZLIB=builtin
25881 fi
25882 else
25883 wxUSE_ZLIB=sys
25884 fi
25885 fi
25886 fi
25887
25888
25889 PNG_LINK=
25890 if test "$wxUSE_LIBPNG" != "no" ; then
25891 cat >>confdefs.h <<\_ACEOF
25892 #define wxUSE_LIBPNG 1
25893 _ACEOF
25894
25895
25896 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25897 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25898 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25899 wxUSE_LIBPNG=sys
25900 fi
25901
25902 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25903 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25904 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25905 wxUSE_LIBPNG=builtin
25906 fi
25907
25908 if test "$wxUSE_MGL" != 1 ; then
25909 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25910 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25911 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25912 if test "${ac_cv_header_png_h+set}" = set; then
25913 echo $ECHO_N "(cached) $ECHO_C" >&6
25914 else
25915 if test "$cross_compiling" = yes; then
25916 unset ac_cv_header_png_h
25917
25918 else
25919 cat >conftest.$ac_ext <<_ACEOF
25920 /* confdefs.h. */
25921 _ACEOF
25922 cat confdefs.h >>conftest.$ac_ext
25923 cat >>conftest.$ac_ext <<_ACEOF
25924 /* end confdefs.h. */
25925
25926 #include <png.h>
25927 #include <stdio.h>
25928
25929 int main()
25930 {
25931 FILE *f=fopen("conftestval", "w");
25932 if (!f) exit(1);
25933 fprintf(f, "%s",
25934 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25935 exit(0);
25936 }
25937
25938 _ACEOF
25939 rm -f conftest$ac_exeext
25940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25941 (eval $ac_link) 2>&5
25942 ac_status=$?
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25946 (eval $ac_try) 2>&5
25947 ac_status=$?
25948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949 (exit $ac_status); }; }; then
25950 ac_cv_header_png_h=`cat conftestval`
25951 else
25952 echo "$as_me: program exited with status $ac_status" >&5
25953 echo "$as_me: failed program was:" >&5
25954 sed 's/^/| /' conftest.$ac_ext >&5
25955
25956 ( exit $ac_status )
25957 ac_cv_header_png_h=no
25958 fi
25959 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25960 fi
25961
25962 fi
25963 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25964 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25965 if test "${ac_cv_header_png_h+set}" = set; then
25966 echo "$as_me:$LINENO: checking for png.h" >&5
25967 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25968 if test "${ac_cv_header_png_h+set}" = set; then
25969 echo $ECHO_N "(cached) $ECHO_C" >&6
25970 fi
25971 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25972 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25973 else
25974 # Is the header compilable?
25975 echo "$as_me:$LINENO: checking png.h usability" >&5
25976 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25977 cat >conftest.$ac_ext <<_ACEOF
25978 /* confdefs.h. */
25979 _ACEOF
25980 cat confdefs.h >>conftest.$ac_ext
25981 cat >>conftest.$ac_ext <<_ACEOF
25982 /* end confdefs.h. */
25983 $ac_includes_default
25984 #include <png.h>
25985 _ACEOF
25986 rm -f conftest.$ac_objext
25987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25988 (eval $ac_compile) 2>conftest.er1
25989 ac_status=$?
25990 grep -v '^ *+' conftest.er1 >conftest.err
25991 rm -f conftest.er1
25992 cat conftest.err >&5
25993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25994 (exit $ac_status); } &&
25995 { ac_try='test -z "$ac_cxx_werror_flag"
25996 || test ! -s conftest.err'
25997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25998 (eval $ac_try) 2>&5
25999 ac_status=$?
26000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26001 (exit $ac_status); }; } &&
26002 { ac_try='test -s conftest.$ac_objext'
26003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26004 (eval $ac_try) 2>&5
26005 ac_status=$?
26006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26007 (exit $ac_status); }; }; then
26008 ac_header_compiler=yes
26009 else
26010 echo "$as_me: failed program was:" >&5
26011 sed 's/^/| /' conftest.$ac_ext >&5
26012
26013 ac_header_compiler=no
26014 fi
26015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26016 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26017 echo "${ECHO_T}$ac_header_compiler" >&6
26018
26019 # Is the header present?
26020 echo "$as_me:$LINENO: checking png.h presence" >&5
26021 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26022 cat >conftest.$ac_ext <<_ACEOF
26023 /* confdefs.h. */
26024 _ACEOF
26025 cat confdefs.h >>conftest.$ac_ext
26026 cat >>conftest.$ac_ext <<_ACEOF
26027 /* end confdefs.h. */
26028 #include <png.h>
26029 _ACEOF
26030 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26031 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26032 ac_status=$?
26033 grep -v '^ *+' conftest.er1 >conftest.err
26034 rm -f conftest.er1
26035 cat conftest.err >&5
26036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26037 (exit $ac_status); } >/dev/null; then
26038 if test -s conftest.err; then
26039 ac_cpp_err=$ac_cxx_preproc_warn_flag
26040 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26041 else
26042 ac_cpp_err=
26043 fi
26044 else
26045 ac_cpp_err=yes
26046 fi
26047 if test -z "$ac_cpp_err"; then
26048 ac_header_preproc=yes
26049 else
26050 echo "$as_me: failed program was:" >&5
26051 sed 's/^/| /' conftest.$ac_ext >&5
26052
26053 ac_header_preproc=no
26054 fi
26055 rm -f conftest.err conftest.$ac_ext
26056 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26057 echo "${ECHO_T}$ac_header_preproc" >&6
26058
26059 # So? What about this header?
26060 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26061 yes:no: )
26062 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26063 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26064 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26065 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26066 ac_header_preproc=yes
26067 ;;
26068 no:yes:* )
26069 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26070 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26071 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26072 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26073 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26074 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26075 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26076 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26077 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26078 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26079 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26080 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26081 (
26082 cat <<\_ASBOX
26083 ## ----------------------------------------- ##
26084 ## Report this to wx-dev@lists.wxwidgets.org ##
26085 ## ----------------------------------------- ##
26086 _ASBOX
26087 ) |
26088 sed "s/^/$as_me: WARNING: /" >&2
26089 ;;
26090 esac
26091 echo "$as_me:$LINENO: checking for png.h" >&5
26092 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26093 if test "${ac_cv_header_png_h+set}" = set; then
26094 echo $ECHO_N "(cached) $ECHO_C" >&6
26095 else
26096 ac_cv_header_png_h=$ac_header_preproc
26097 fi
26098 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26099 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26100
26101 fi
26102
26103
26104
26105 if test "$ac_cv_header_png_h" = "yes"; then
26106 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26107 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26108 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26109 echo $ECHO_N "(cached) $ECHO_C" >&6
26110 else
26111 ac_check_lib_save_LIBS=$LIBS
26112 LIBS="-lpng -lz -lm $LIBS"
26113 cat >conftest.$ac_ext <<_ACEOF
26114 /* confdefs.h. */
26115 _ACEOF
26116 cat confdefs.h >>conftest.$ac_ext
26117 cat >>conftest.$ac_ext <<_ACEOF
26118 /* end confdefs.h. */
26119
26120 /* Override any gcc2 internal prototype to avoid an error. */
26121 #ifdef __cplusplus
26122 extern "C"
26123 #endif
26124 /* We use char because int might match the return type of a gcc2
26125 builtin and then its argument prototype would still apply. */
26126 char png_check_sig ();
26127 int
26128 main ()
26129 {
26130 png_check_sig ();
26131 ;
26132 return 0;
26133 }
26134 _ACEOF
26135 rm -f conftest.$ac_objext conftest$ac_exeext
26136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26137 (eval $ac_link) 2>conftest.er1
26138 ac_status=$?
26139 grep -v '^ *+' conftest.er1 >conftest.err
26140 rm -f conftest.er1
26141 cat conftest.err >&5
26142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26143 (exit $ac_status); } &&
26144 { ac_try='test -z "$ac_cxx_werror_flag"
26145 || test ! -s conftest.err'
26146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26147 (eval $ac_try) 2>&5
26148 ac_status=$?
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); }; } &&
26151 { ac_try='test -s conftest$ac_exeext'
26152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26153 (eval $ac_try) 2>&5
26154 ac_status=$?
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); }; }; then
26157 ac_cv_lib_png_png_check_sig=yes
26158 else
26159 echo "$as_me: failed program was:" >&5
26160 sed 's/^/| /' conftest.$ac_ext >&5
26161
26162 ac_cv_lib_png_png_check_sig=no
26163 fi
26164 rm -f conftest.err conftest.$ac_objext \
26165 conftest$ac_exeext conftest.$ac_ext
26166 LIBS=$ac_check_lib_save_LIBS
26167 fi
26168 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26169 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26170 if test $ac_cv_lib_png_png_check_sig = yes; then
26171 PNG_LINK=" -lpng -lz"
26172 fi
26173
26174 fi
26175
26176 if test "x$PNG_LINK" = "x" ; then
26177 if test "$wxUSE_LIBPNG" = "sys" ; then
26178 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26179 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26180 { (exit 1); exit 1; }; }
26181 else
26182 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26183 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26184 wxUSE_LIBPNG=builtin
26185 fi
26186 else
26187 wxUSE_LIBPNG=sys
26188 fi
26189 fi
26190 fi
26191
26192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26193 fi
26194
26195
26196 JPEG_LINK=
26197 if test "$wxUSE_LIBJPEG" != "no" ; then
26198 cat >>confdefs.h <<\_ACEOF
26199 #define wxUSE_LIBJPEG 1
26200 _ACEOF
26201
26202
26203 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26204 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26205 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26206 wxUSE_LIBJPEG=sys
26207 fi
26208
26209 if test "$wxUSE_MGL" != 1 ; then
26210 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26211 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26212 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26213 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26214 echo $ECHO_N "(cached) $ECHO_C" >&6
26215 else
26216 cat >conftest.$ac_ext <<_ACEOF
26217 /* confdefs.h. */
26218 _ACEOF
26219 cat confdefs.h >>conftest.$ac_ext
26220 cat >>conftest.$ac_ext <<_ACEOF
26221 /* end confdefs.h. */
26222
26223 #undef HAVE_STDLIB_H
26224 #include <stdio.h>
26225 #include <jpeglib.h>
26226
26227 int
26228 main ()
26229 {
26230
26231
26232 ;
26233 return 0;
26234 }
26235 _ACEOF
26236 rm -f conftest.$ac_objext
26237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26238 (eval $ac_compile) 2>conftest.er1
26239 ac_status=$?
26240 grep -v '^ *+' conftest.er1 >conftest.err
26241 rm -f conftest.er1
26242 cat conftest.err >&5
26243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26244 (exit $ac_status); } &&
26245 { ac_try='test -z "$ac_cxx_werror_flag"
26246 || test ! -s conftest.err'
26247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26248 (eval $ac_try) 2>&5
26249 ac_status=$?
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); }; } &&
26252 { ac_try='test -s conftest.$ac_objext'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26255 ac_status=$?
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; }; then
26258 ac_cv_header_jpeglib_h=yes
26259 else
26260 echo "$as_me: failed program was:" >&5
26261 sed 's/^/| /' conftest.$ac_ext >&5
26262
26263 ac_cv_header_jpeglib_h=no
26264
26265 fi
26266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26267
26268 fi
26269
26270 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26271 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26272
26273 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26274 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26275 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26276 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26277 echo $ECHO_N "(cached) $ECHO_C" >&6
26278 else
26279 ac_check_lib_save_LIBS=$LIBS
26280 LIBS="-ljpeg $LIBS"
26281 cat >conftest.$ac_ext <<_ACEOF
26282 /* confdefs.h. */
26283 _ACEOF
26284 cat confdefs.h >>conftest.$ac_ext
26285 cat >>conftest.$ac_ext <<_ACEOF
26286 /* end confdefs.h. */
26287
26288 /* Override any gcc2 internal prototype to avoid an error. */
26289 #ifdef __cplusplus
26290 extern "C"
26291 #endif
26292 /* We use char because int might match the return type of a gcc2
26293 builtin and then its argument prototype would still apply. */
26294 char jpeg_read_header ();
26295 int
26296 main ()
26297 {
26298 jpeg_read_header ();
26299 ;
26300 return 0;
26301 }
26302 _ACEOF
26303 rm -f conftest.$ac_objext conftest$ac_exeext
26304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26305 (eval $ac_link) 2>conftest.er1
26306 ac_status=$?
26307 grep -v '^ *+' conftest.er1 >conftest.err
26308 rm -f conftest.er1
26309 cat conftest.err >&5
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); } &&
26312 { ac_try='test -z "$ac_cxx_werror_flag"
26313 || test ! -s conftest.err'
26314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26315 (eval $ac_try) 2>&5
26316 ac_status=$?
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); }; } &&
26319 { ac_try='test -s conftest$ac_exeext'
26320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26321 (eval $ac_try) 2>&5
26322 ac_status=$?
26323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26324 (exit $ac_status); }; }; then
26325 ac_cv_lib_jpeg_jpeg_read_header=yes
26326 else
26327 echo "$as_me: failed program was:" >&5
26328 sed 's/^/| /' conftest.$ac_ext >&5
26329
26330 ac_cv_lib_jpeg_jpeg_read_header=no
26331 fi
26332 rm -f conftest.err conftest.$ac_objext \
26333 conftest$ac_exeext conftest.$ac_ext
26334 LIBS=$ac_check_lib_save_LIBS
26335 fi
26336 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26337 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26338 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26339 JPEG_LINK=" -ljpeg"
26340 fi
26341
26342 fi
26343
26344 if test "x$JPEG_LINK" = "x" ; then
26345 if test "$wxUSE_LIBJPEG" = "sys" ; then
26346 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26347 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26348 { (exit 1); exit 1; }; }
26349 else
26350 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26351 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26352 wxUSE_LIBJPEG=builtin
26353 fi
26354 else
26355 wxUSE_LIBJPEG=sys
26356 fi
26357 fi
26358 fi
26359 fi
26360
26361
26362 TIFF_LINK=
26363 TIFF_PREREQ_LINKS=-lm
26364 if test "$wxUSE_LIBTIFF" != "no" ; then
26365 cat >>confdefs.h <<\_ACEOF
26366 #define wxUSE_LIBTIFF 1
26367 _ACEOF
26368
26369
26370 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26371 if test "$wxUSE_LIBJPEG" = "sys"; then
26372 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26373 fi
26374 if test "$wxUSE_ZLIB" = "sys"; then
26375 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26376 fi
26377 if test "${ac_cv_header_tiffio_h+set}" = set; then
26378 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26379 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26380 if test "${ac_cv_header_tiffio_h+set}" = set; then
26381 echo $ECHO_N "(cached) $ECHO_C" >&6
26382 fi
26383 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26384 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26385 else
26386 # Is the header compilable?
26387 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26388 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26389 cat >conftest.$ac_ext <<_ACEOF
26390 /* confdefs.h. */
26391 _ACEOF
26392 cat confdefs.h >>conftest.$ac_ext
26393 cat >>conftest.$ac_ext <<_ACEOF
26394 /* end confdefs.h. */
26395 $ac_includes_default
26396 #include <tiffio.h>
26397 _ACEOF
26398 rm -f conftest.$ac_objext
26399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26400 (eval $ac_compile) 2>conftest.er1
26401 ac_status=$?
26402 grep -v '^ *+' conftest.er1 >conftest.err
26403 rm -f conftest.er1
26404 cat conftest.err >&5
26405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26406 (exit $ac_status); } &&
26407 { ac_try='test -z "$ac_cxx_werror_flag"
26408 || test ! -s conftest.err'
26409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26410 (eval $ac_try) 2>&5
26411 ac_status=$?
26412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26413 (exit $ac_status); }; } &&
26414 { ac_try='test -s conftest.$ac_objext'
26415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26416 (eval $ac_try) 2>&5
26417 ac_status=$?
26418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26419 (exit $ac_status); }; }; then
26420 ac_header_compiler=yes
26421 else
26422 echo "$as_me: failed program was:" >&5
26423 sed 's/^/| /' conftest.$ac_ext >&5
26424
26425 ac_header_compiler=no
26426 fi
26427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26428 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26429 echo "${ECHO_T}$ac_header_compiler" >&6
26430
26431 # Is the header present?
26432 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26433 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26434 cat >conftest.$ac_ext <<_ACEOF
26435 /* confdefs.h. */
26436 _ACEOF
26437 cat confdefs.h >>conftest.$ac_ext
26438 cat >>conftest.$ac_ext <<_ACEOF
26439 /* end confdefs.h. */
26440 #include <tiffio.h>
26441 _ACEOF
26442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26443 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26444 ac_status=$?
26445 grep -v '^ *+' conftest.er1 >conftest.err
26446 rm -f conftest.er1
26447 cat conftest.err >&5
26448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26449 (exit $ac_status); } >/dev/null; then
26450 if test -s conftest.err; then
26451 ac_cpp_err=$ac_cxx_preproc_warn_flag
26452 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26453 else
26454 ac_cpp_err=
26455 fi
26456 else
26457 ac_cpp_err=yes
26458 fi
26459 if test -z "$ac_cpp_err"; then
26460 ac_header_preproc=yes
26461 else
26462 echo "$as_me: failed program was:" >&5
26463 sed 's/^/| /' conftest.$ac_ext >&5
26464
26465 ac_header_preproc=no
26466 fi
26467 rm -f conftest.err conftest.$ac_ext
26468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26469 echo "${ECHO_T}$ac_header_preproc" >&6
26470
26471 # So? What about this header?
26472 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26473 yes:no: )
26474 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26475 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26476 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26477 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26478 ac_header_preproc=yes
26479 ;;
26480 no:yes:* )
26481 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26482 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26483 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26484 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26485 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26486 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26487 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26488 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26489 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26490 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26491 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26492 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26493 (
26494 cat <<\_ASBOX
26495 ## ----------------------------------------- ##
26496 ## Report this to wx-dev@lists.wxwidgets.org ##
26497 ## ----------------------------------------- ##
26498 _ASBOX
26499 ) |
26500 sed "s/^/$as_me: WARNING: /" >&2
26501 ;;
26502 esac
26503 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26504 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26505 if test "${ac_cv_header_tiffio_h+set}" = set; then
26506 echo $ECHO_N "(cached) $ECHO_C" >&6
26507 else
26508 ac_cv_header_tiffio_h=$ac_header_preproc
26509 fi
26510 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26511 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26512
26513 fi
26514 if test $ac_cv_header_tiffio_h = yes; then
26515
26516 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26517 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26518 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26519 echo $ECHO_N "(cached) $ECHO_C" >&6
26520 else
26521 ac_check_lib_save_LIBS=$LIBS
26522 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26523 cat >conftest.$ac_ext <<_ACEOF
26524 /* confdefs.h. */
26525 _ACEOF
26526 cat confdefs.h >>conftest.$ac_ext
26527 cat >>conftest.$ac_ext <<_ACEOF
26528 /* end confdefs.h. */
26529
26530 /* Override any gcc2 internal prototype to avoid an error. */
26531 #ifdef __cplusplus
26532 extern "C"
26533 #endif
26534 /* We use char because int might match the return type of a gcc2
26535 builtin and then its argument prototype would still apply. */
26536 char TIFFError ();
26537 int
26538 main ()
26539 {
26540 TIFFError ();
26541 ;
26542 return 0;
26543 }
26544 _ACEOF
26545 rm -f conftest.$ac_objext conftest$ac_exeext
26546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26547 (eval $ac_link) 2>conftest.er1
26548 ac_status=$?
26549 grep -v '^ *+' conftest.er1 >conftest.err
26550 rm -f conftest.er1
26551 cat conftest.err >&5
26552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553 (exit $ac_status); } &&
26554 { ac_try='test -z "$ac_cxx_werror_flag"
26555 || test ! -s conftest.err'
26556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26557 (eval $ac_try) 2>&5
26558 ac_status=$?
26559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26560 (exit $ac_status); }; } &&
26561 { ac_try='test -s conftest$ac_exeext'
26562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26563 (eval $ac_try) 2>&5
26564 ac_status=$?
26565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26566 (exit $ac_status); }; }; then
26567 ac_cv_lib_tiff_TIFFError=yes
26568 else
26569 echo "$as_me: failed program was:" >&5
26570 sed 's/^/| /' conftest.$ac_ext >&5
26571
26572 ac_cv_lib_tiff_TIFFError=no
26573 fi
26574 rm -f conftest.err conftest.$ac_objext \
26575 conftest$ac_exeext conftest.$ac_ext
26576 LIBS=$ac_check_lib_save_LIBS
26577 fi
26578 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26579 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26580 if test $ac_cv_lib_tiff_TIFFError = yes; then
26581 TIFF_LINK=" -ltiff"
26582 fi
26583
26584
26585
26586 fi
26587
26588
26589
26590 if test "x$TIFF_LINK" = "x" ; then
26591 if test "$wxUSE_LIBTIFF" = "sys" ; then
26592 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26593 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26594 { (exit 1); exit 1; }; }
26595 else
26596 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26597 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26598 wxUSE_LIBTIFF=builtin
26599 fi
26600 else
26601 wxUSE_LIBTIFF=sys
26602 fi
26603 fi
26604 fi
26605
26606
26607 if test "$wxUSE_WCHAR_T" != "yes"; then
26608 if test "$wxUSE_EXPAT" != "no"; then
26609 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26610 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26611 wxUSE_EXPAT=no
26612 fi
26613 if test "$wxUSE_XML" != "no"; then
26614 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26615 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26616 wxUSE_XML=no
26617 fi
26618 fi
26619
26620 if test "$wxUSE_EXPAT" != "no"; then
26621 wxUSE_XML=yes
26622 cat >>confdefs.h <<\_ACEOF
26623 #define wxUSE_EXPAT 1
26624 _ACEOF
26625
26626 cat >>confdefs.h <<\_ACEOF
26627 #define wxUSE_XML 1
26628 _ACEOF
26629
26630
26631 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26632 if test "${ac_cv_header_expat_h+set}" = set; then
26633 echo "$as_me:$LINENO: checking for expat.h" >&5
26634 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26635 if test "${ac_cv_header_expat_h+set}" = set; then
26636 echo $ECHO_N "(cached) $ECHO_C" >&6
26637 fi
26638 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26639 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26640 else
26641 # Is the header compilable?
26642 echo "$as_me:$LINENO: checking expat.h usability" >&5
26643 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26644 cat >conftest.$ac_ext <<_ACEOF
26645 /* confdefs.h. */
26646 _ACEOF
26647 cat confdefs.h >>conftest.$ac_ext
26648 cat >>conftest.$ac_ext <<_ACEOF
26649 /* end confdefs.h. */
26650 $ac_includes_default
26651 #include <expat.h>
26652 _ACEOF
26653 rm -f conftest.$ac_objext
26654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26655 (eval $ac_compile) 2>conftest.er1
26656 ac_status=$?
26657 grep -v '^ *+' conftest.er1 >conftest.err
26658 rm -f conftest.er1
26659 cat conftest.err >&5
26660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26661 (exit $ac_status); } &&
26662 { ac_try='test -z "$ac_cxx_werror_flag"
26663 || test ! -s conftest.err'
26664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26665 (eval $ac_try) 2>&5
26666 ac_status=$?
26667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668 (exit $ac_status); }; } &&
26669 { ac_try='test -s conftest.$ac_objext'
26670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26671 (eval $ac_try) 2>&5
26672 ac_status=$?
26673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674 (exit $ac_status); }; }; then
26675 ac_header_compiler=yes
26676 else
26677 echo "$as_me: failed program was:" >&5
26678 sed 's/^/| /' conftest.$ac_ext >&5
26679
26680 ac_header_compiler=no
26681 fi
26682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26683 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26684 echo "${ECHO_T}$ac_header_compiler" >&6
26685
26686 # Is the header present?
26687 echo "$as_me:$LINENO: checking expat.h presence" >&5
26688 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26689 cat >conftest.$ac_ext <<_ACEOF
26690 /* confdefs.h. */
26691 _ACEOF
26692 cat confdefs.h >>conftest.$ac_ext
26693 cat >>conftest.$ac_ext <<_ACEOF
26694 /* end confdefs.h. */
26695 #include <expat.h>
26696 _ACEOF
26697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26699 ac_status=$?
26700 grep -v '^ *+' conftest.er1 >conftest.err
26701 rm -f conftest.er1
26702 cat conftest.err >&5
26703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704 (exit $ac_status); } >/dev/null; then
26705 if test -s conftest.err; then
26706 ac_cpp_err=$ac_cxx_preproc_warn_flag
26707 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26708 else
26709 ac_cpp_err=
26710 fi
26711 else
26712 ac_cpp_err=yes
26713 fi
26714 if test -z "$ac_cpp_err"; then
26715 ac_header_preproc=yes
26716 else
26717 echo "$as_me: failed program was:" >&5
26718 sed 's/^/| /' conftest.$ac_ext >&5
26719
26720 ac_header_preproc=no
26721 fi
26722 rm -f conftest.err conftest.$ac_ext
26723 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26724 echo "${ECHO_T}$ac_header_preproc" >&6
26725
26726 # So? What about this header?
26727 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26728 yes:no: )
26729 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26730 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26731 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26732 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26733 ac_header_preproc=yes
26734 ;;
26735 no:yes:* )
26736 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26737 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26738 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26739 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26740 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26741 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26742 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26743 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26744 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26745 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26746 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26747 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26748 (
26749 cat <<\_ASBOX
26750 ## ----------------------------------------- ##
26751 ## Report this to wx-dev@lists.wxwidgets.org ##
26752 ## ----------------------------------------- ##
26753 _ASBOX
26754 ) |
26755 sed "s/^/$as_me: WARNING: /" >&2
26756 ;;
26757 esac
26758 echo "$as_me:$LINENO: checking for expat.h" >&5
26759 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26760 if test "${ac_cv_header_expat_h+set}" = set; then
26761 echo $ECHO_N "(cached) $ECHO_C" >&6
26762 else
26763 ac_cv_header_expat_h=$ac_header_preproc
26764 fi
26765 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26766 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26767
26768 fi
26769 if test $ac_cv_header_expat_h = yes; then
26770 found_expat_h=1
26771 fi
26772
26773
26774 if test "x$found_expat_h" = "x1"; then
26775 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26776 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26777 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26778 echo $ECHO_N "(cached) $ECHO_C" >&6
26779 else
26780
26781 cat >conftest.$ac_ext <<_ACEOF
26782 /* confdefs.h. */
26783 _ACEOF
26784 cat confdefs.h >>conftest.$ac_ext
26785 cat >>conftest.$ac_ext <<_ACEOF
26786 /* end confdefs.h. */
26787 #include <expat.h>
26788 int
26789 main ()
26790 {
26791
26792 ;
26793 return 0;
26794 }
26795 _ACEOF
26796 rm -f conftest.$ac_objext
26797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26798 (eval $ac_compile) 2>conftest.er1
26799 ac_status=$?
26800 grep -v '^ *+' conftest.er1 >conftest.err
26801 rm -f conftest.er1
26802 cat conftest.err >&5
26803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26804 (exit $ac_status); } &&
26805 { ac_try='test -z "$ac_cxx_werror_flag"
26806 || test ! -s conftest.err'
26807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26808 (eval $ac_try) 2>&5
26809 ac_status=$?
26810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26811 (exit $ac_status); }; } &&
26812 { ac_try='test -s conftest.$ac_objext'
26813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26814 (eval $ac_try) 2>&5
26815 ac_status=$?
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); }; }; then
26818 wx_cv_expat_is_not_broken=yes
26819 else
26820 echo "$as_me: failed program was:" >&5
26821 sed 's/^/| /' conftest.$ac_ext >&5
26822
26823 wx_cv_expat_is_not_broken=no
26824
26825 fi
26826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26827
26828
26829 fi
26830 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26831 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26832 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26833 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26834 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26835 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26836 echo $ECHO_N "(cached) $ECHO_C" >&6
26837 else
26838 ac_check_lib_save_LIBS=$LIBS
26839 LIBS="-lexpat $LIBS"
26840 cat >conftest.$ac_ext <<_ACEOF
26841 /* confdefs.h. */
26842 _ACEOF
26843 cat confdefs.h >>conftest.$ac_ext
26844 cat >>conftest.$ac_ext <<_ACEOF
26845 /* end confdefs.h. */
26846
26847 /* Override any gcc2 internal prototype to avoid an error. */
26848 #ifdef __cplusplus
26849 extern "C"
26850 #endif
26851 /* We use char because int might match the return type of a gcc2
26852 builtin and then its argument prototype would still apply. */
26853 char XML_ParserCreate ();
26854 int
26855 main ()
26856 {
26857 XML_ParserCreate ();
26858 ;
26859 return 0;
26860 }
26861 _ACEOF
26862 rm -f conftest.$ac_objext conftest$ac_exeext
26863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26864 (eval $ac_link) 2>conftest.er1
26865 ac_status=$?
26866 grep -v '^ *+' conftest.er1 >conftest.err
26867 rm -f conftest.er1
26868 cat conftest.err >&5
26869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26870 (exit $ac_status); } &&
26871 { ac_try='test -z "$ac_cxx_werror_flag"
26872 || test ! -s conftest.err'
26873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26874 (eval $ac_try) 2>&5
26875 ac_status=$?
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); }; } &&
26878 { ac_try='test -s conftest$ac_exeext'
26879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26880 (eval $ac_try) 2>&5
26881 ac_status=$?
26882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26883 (exit $ac_status); }; }; then
26884 ac_cv_lib_expat_XML_ParserCreate=yes
26885 else
26886 echo "$as_me: failed program was:" >&5
26887 sed 's/^/| /' conftest.$ac_ext >&5
26888
26889 ac_cv_lib_expat_XML_ParserCreate=no
26890 fi
26891 rm -f conftest.err conftest.$ac_objext \
26892 conftest$ac_exeext conftest.$ac_ext
26893 LIBS=$ac_check_lib_save_LIBS
26894 fi
26895 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26896 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26897 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26898 EXPAT_LINK=" -lexpat"
26899 fi
26900
26901 fi
26902 fi
26903 if test "x$EXPAT_LINK" = "x" ; then
26904 if test "$wxUSE_EXPAT" = "sys" ; then
26905 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26906 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26907 { (exit 1); exit 1; }; }
26908 else
26909 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26910 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26911 wxUSE_EXPAT=builtin
26912 fi
26913 else
26914 wxUSE_EXPAT=sys
26915 fi
26916 fi
26917 if test "$wxUSE_EXPAT" = "builtin" ; then
26918
26919
26920 subdirs="$subdirs src/expat"
26921
26922 fi
26923 fi
26924
26925
26926
26927 if test "$wxUSE_LIBMSPACK" != "no"; then
26928 if test "${ac_cv_header_mspack_h+set}" = set; then
26929 echo "$as_me:$LINENO: checking for mspack.h" >&5
26930 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26931 if test "${ac_cv_header_mspack_h+set}" = set; then
26932 echo $ECHO_N "(cached) $ECHO_C" >&6
26933 fi
26934 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26935 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26936 else
26937 # Is the header compilable?
26938 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26939 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26940 cat >conftest.$ac_ext <<_ACEOF
26941 /* confdefs.h. */
26942 _ACEOF
26943 cat confdefs.h >>conftest.$ac_ext
26944 cat >>conftest.$ac_ext <<_ACEOF
26945 /* end confdefs.h. */
26946 $ac_includes_default
26947 #include <mspack.h>
26948 _ACEOF
26949 rm -f conftest.$ac_objext
26950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26951 (eval $ac_compile) 2>conftest.er1
26952 ac_status=$?
26953 grep -v '^ *+' conftest.er1 >conftest.err
26954 rm -f conftest.er1
26955 cat conftest.err >&5
26956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26957 (exit $ac_status); } &&
26958 { ac_try='test -z "$ac_cxx_werror_flag"
26959 || test ! -s conftest.err'
26960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26961 (eval $ac_try) 2>&5
26962 ac_status=$?
26963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964 (exit $ac_status); }; } &&
26965 { ac_try='test -s conftest.$ac_objext'
26966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26967 (eval $ac_try) 2>&5
26968 ac_status=$?
26969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970 (exit $ac_status); }; }; then
26971 ac_header_compiler=yes
26972 else
26973 echo "$as_me: failed program was:" >&5
26974 sed 's/^/| /' conftest.$ac_ext >&5
26975
26976 ac_header_compiler=no
26977 fi
26978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26979 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26980 echo "${ECHO_T}$ac_header_compiler" >&6
26981
26982 # Is the header present?
26983 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26984 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26985 cat >conftest.$ac_ext <<_ACEOF
26986 /* confdefs.h. */
26987 _ACEOF
26988 cat confdefs.h >>conftest.$ac_ext
26989 cat >>conftest.$ac_ext <<_ACEOF
26990 /* end confdefs.h. */
26991 #include <mspack.h>
26992 _ACEOF
26993 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26994 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26995 ac_status=$?
26996 grep -v '^ *+' conftest.er1 >conftest.err
26997 rm -f conftest.er1
26998 cat conftest.err >&5
26999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27000 (exit $ac_status); } >/dev/null; then
27001 if test -s conftest.err; then
27002 ac_cpp_err=$ac_cxx_preproc_warn_flag
27003 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27004 else
27005 ac_cpp_err=
27006 fi
27007 else
27008 ac_cpp_err=yes
27009 fi
27010 if test -z "$ac_cpp_err"; then
27011 ac_header_preproc=yes
27012 else
27013 echo "$as_me: failed program was:" >&5
27014 sed 's/^/| /' conftest.$ac_ext >&5
27015
27016 ac_header_preproc=no
27017 fi
27018 rm -f conftest.err conftest.$ac_ext
27019 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27020 echo "${ECHO_T}$ac_header_preproc" >&6
27021
27022 # So? What about this header?
27023 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27024 yes:no: )
27025 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27026 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27027 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27028 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27029 ac_header_preproc=yes
27030 ;;
27031 no:yes:* )
27032 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27033 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27034 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27035 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27036 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27037 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27038 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27039 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27040 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27041 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27042 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27043 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27044 (
27045 cat <<\_ASBOX
27046 ## ----------------------------------------- ##
27047 ## Report this to wx-dev@lists.wxwidgets.org ##
27048 ## ----------------------------------------- ##
27049 _ASBOX
27050 ) |
27051 sed "s/^/$as_me: WARNING: /" >&2
27052 ;;
27053 esac
27054 echo "$as_me:$LINENO: checking for mspack.h" >&5
27055 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27056 if test "${ac_cv_header_mspack_h+set}" = set; then
27057 echo $ECHO_N "(cached) $ECHO_C" >&6
27058 else
27059 ac_cv_header_mspack_h=$ac_header_preproc
27060 fi
27061 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27062 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27063
27064 fi
27065 if test $ac_cv_header_mspack_h = yes; then
27066 found_mspack_h=1
27067 fi
27068
27069
27070 if test "x$found_mspack_h" = "x1"; then
27071 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27072 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27073 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27074 echo $ECHO_N "(cached) $ECHO_C" >&6
27075 else
27076 ac_check_lib_save_LIBS=$LIBS
27077 LIBS="-lmspack $LIBS"
27078 cat >conftest.$ac_ext <<_ACEOF
27079 /* confdefs.h. */
27080 _ACEOF
27081 cat confdefs.h >>conftest.$ac_ext
27082 cat >>conftest.$ac_ext <<_ACEOF
27083 /* end confdefs.h. */
27084
27085 /* Override any gcc2 internal prototype to avoid an error. */
27086 #ifdef __cplusplus
27087 extern "C"
27088 #endif
27089 /* We use char because int might match the return type of a gcc2
27090 builtin and then its argument prototype would still apply. */
27091 char mspack_create_chm_decompressor ();
27092 int
27093 main ()
27094 {
27095 mspack_create_chm_decompressor ();
27096 ;
27097 return 0;
27098 }
27099 _ACEOF
27100 rm -f conftest.$ac_objext conftest$ac_exeext
27101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27102 (eval $ac_link) 2>conftest.er1
27103 ac_status=$?
27104 grep -v '^ *+' conftest.er1 >conftest.err
27105 rm -f conftest.er1
27106 cat conftest.err >&5
27107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108 (exit $ac_status); } &&
27109 { ac_try='test -z "$ac_cxx_werror_flag"
27110 || test ! -s conftest.err'
27111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27112 (eval $ac_try) 2>&5
27113 ac_status=$?
27114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115 (exit $ac_status); }; } &&
27116 { ac_try='test -s conftest$ac_exeext'
27117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27118 (eval $ac_try) 2>&5
27119 ac_status=$?
27120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27121 (exit $ac_status); }; }; then
27122 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27123 else
27124 echo "$as_me: failed program was:" >&5
27125 sed 's/^/| /' conftest.$ac_ext >&5
27126
27127 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27128 fi
27129 rm -f conftest.err conftest.$ac_objext \
27130 conftest$ac_exeext conftest.$ac_ext
27131 LIBS=$ac_check_lib_save_LIBS
27132 fi
27133 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27134 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27135 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27136 MSPACK_LINK=" -lmspack"
27137 fi
27138
27139 fi
27140 if test "x$MSPACK_LINK" = "x" ; then
27141 wxUSE_LIBMSPACK=no
27142 fi
27143 fi
27144
27145 if test "$wxUSE_LIBMSPACK" != "no"; then
27146 cat >>confdefs.h <<\_ACEOF
27147 #define wxUSE_LIBMSPACK 1
27148 _ACEOF
27149
27150 fi
27151
27152
27153
27154 AFMINSTALL=
27155 WIN32INSTALL=
27156
27157 TOOLKIT=
27158 TOOLKIT_INCLUDE=
27159 WIDGET_SET=
27160
27161 if test "$USE_WIN32" = 1 ; then
27162
27163 for ac_header in w32api.h
27164 do
27165 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27167 echo "$as_me:$LINENO: checking for $ac_header" >&5
27168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27170 echo $ECHO_N "(cached) $ECHO_C" >&6
27171 fi
27172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27174 else
27175 # Is the header compilable?
27176 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27177 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27178 cat >conftest.$ac_ext <<_ACEOF
27179 /* confdefs.h. */
27180 _ACEOF
27181 cat confdefs.h >>conftest.$ac_ext
27182 cat >>conftest.$ac_ext <<_ACEOF
27183 /* end confdefs.h. */
27184 $ac_includes_default
27185 #include <$ac_header>
27186 _ACEOF
27187 rm -f conftest.$ac_objext
27188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27189 (eval $ac_compile) 2>conftest.er1
27190 ac_status=$?
27191 grep -v '^ *+' conftest.er1 >conftest.err
27192 rm -f conftest.er1
27193 cat conftest.err >&5
27194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195 (exit $ac_status); } &&
27196 { ac_try='test -z "$ac_cxx_werror_flag"
27197 || test ! -s conftest.err'
27198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27199 (eval $ac_try) 2>&5
27200 ac_status=$?
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); }; } &&
27203 { ac_try='test -s conftest.$ac_objext'
27204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27205 (eval $ac_try) 2>&5
27206 ac_status=$?
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); }; }; then
27209 ac_header_compiler=yes
27210 else
27211 echo "$as_me: failed program was:" >&5
27212 sed 's/^/| /' conftest.$ac_ext >&5
27213
27214 ac_header_compiler=no
27215 fi
27216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27217 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27218 echo "${ECHO_T}$ac_header_compiler" >&6
27219
27220 # Is the header present?
27221 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27223 cat >conftest.$ac_ext <<_ACEOF
27224 /* confdefs.h. */
27225 _ACEOF
27226 cat confdefs.h >>conftest.$ac_ext
27227 cat >>conftest.$ac_ext <<_ACEOF
27228 /* end confdefs.h. */
27229 #include <$ac_header>
27230 _ACEOF
27231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27232 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27233 ac_status=$?
27234 grep -v '^ *+' conftest.er1 >conftest.err
27235 rm -f conftest.er1
27236 cat conftest.err >&5
27237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27238 (exit $ac_status); } >/dev/null; then
27239 if test -s conftest.err; then
27240 ac_cpp_err=$ac_cxx_preproc_warn_flag
27241 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27242 else
27243 ac_cpp_err=
27244 fi
27245 else
27246 ac_cpp_err=yes
27247 fi
27248 if test -z "$ac_cpp_err"; then
27249 ac_header_preproc=yes
27250 else
27251 echo "$as_me: failed program was:" >&5
27252 sed 's/^/| /' conftest.$ac_ext >&5
27253
27254 ac_header_preproc=no
27255 fi
27256 rm -f conftest.err conftest.$ac_ext
27257 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27258 echo "${ECHO_T}$ac_header_preproc" >&6
27259
27260 # So? What about this header?
27261 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27262 yes:no: )
27263 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27264 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27265 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27266 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27267 ac_header_preproc=yes
27268 ;;
27269 no:yes:* )
27270 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27271 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27272 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27273 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27274 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27275 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27276 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27277 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27280 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27281 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27282 (
27283 cat <<\_ASBOX
27284 ## ----------------------------------------- ##
27285 ## Report this to wx-dev@lists.wxwidgets.org ##
27286 ## ----------------------------------------- ##
27287 _ASBOX
27288 ) |
27289 sed "s/^/$as_me: WARNING: /" >&2
27290 ;;
27291 esac
27292 echo "$as_me:$LINENO: checking for $ac_header" >&5
27293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27295 echo $ECHO_N "(cached) $ECHO_C" >&6
27296 else
27297 eval "$as_ac_Header=\$ac_header_preproc"
27298 fi
27299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27301
27302 fi
27303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27304 cat >>confdefs.h <<_ACEOF
27305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27306 _ACEOF
27307
27308 fi
27309
27310 done
27311
27312 if test "${ac_cv_header_windows_h+set}" = set; then
27313 echo "$as_me:$LINENO: checking for windows.h" >&5
27314 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27315 if test "${ac_cv_header_windows_h+set}" = set; then
27316 echo $ECHO_N "(cached) $ECHO_C" >&6
27317 fi
27318 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27319 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27320 else
27321 # Is the header compilable?
27322 echo "$as_me:$LINENO: checking windows.h usability" >&5
27323 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27324 cat >conftest.$ac_ext <<_ACEOF
27325 /* confdefs.h. */
27326 _ACEOF
27327 cat confdefs.h >>conftest.$ac_ext
27328 cat >>conftest.$ac_ext <<_ACEOF
27329 /* end confdefs.h. */
27330 $ac_includes_default
27331 #include <windows.h>
27332 _ACEOF
27333 rm -f conftest.$ac_objext
27334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27335 (eval $ac_compile) 2>conftest.er1
27336 ac_status=$?
27337 grep -v '^ *+' conftest.er1 >conftest.err
27338 rm -f conftest.er1
27339 cat conftest.err >&5
27340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27341 (exit $ac_status); } &&
27342 { ac_try='test -z "$ac_cxx_werror_flag"
27343 || test ! -s conftest.err'
27344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27345 (eval $ac_try) 2>&5
27346 ac_status=$?
27347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27348 (exit $ac_status); }; } &&
27349 { ac_try='test -s conftest.$ac_objext'
27350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27351 (eval $ac_try) 2>&5
27352 ac_status=$?
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); }; }; then
27355 ac_header_compiler=yes
27356 else
27357 echo "$as_me: failed program was:" >&5
27358 sed 's/^/| /' conftest.$ac_ext >&5
27359
27360 ac_header_compiler=no
27361 fi
27362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27364 echo "${ECHO_T}$ac_header_compiler" >&6
27365
27366 # Is the header present?
27367 echo "$as_me:$LINENO: checking windows.h presence" >&5
27368 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27369 cat >conftest.$ac_ext <<_ACEOF
27370 /* confdefs.h. */
27371 _ACEOF
27372 cat confdefs.h >>conftest.$ac_ext
27373 cat >>conftest.$ac_ext <<_ACEOF
27374 /* end confdefs.h. */
27375 #include <windows.h>
27376 _ACEOF
27377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27378 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27379 ac_status=$?
27380 grep -v '^ *+' conftest.er1 >conftest.err
27381 rm -f conftest.er1
27382 cat conftest.err >&5
27383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27384 (exit $ac_status); } >/dev/null; then
27385 if test -s conftest.err; then
27386 ac_cpp_err=$ac_cxx_preproc_warn_flag
27387 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27388 else
27389 ac_cpp_err=
27390 fi
27391 else
27392 ac_cpp_err=yes
27393 fi
27394 if test -z "$ac_cpp_err"; then
27395 ac_header_preproc=yes
27396 else
27397 echo "$as_me: failed program was:" >&5
27398 sed 's/^/| /' conftest.$ac_ext >&5
27399
27400 ac_header_preproc=no
27401 fi
27402 rm -f conftest.err conftest.$ac_ext
27403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27404 echo "${ECHO_T}$ac_header_preproc" >&6
27405
27406 # So? What about this header?
27407 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27408 yes:no: )
27409 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27410 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27411 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27412 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27413 ac_header_preproc=yes
27414 ;;
27415 no:yes:* )
27416 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27417 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27418 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27419 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27420 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27421 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27422 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27423 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27424 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27425 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27426 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27427 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27428 (
27429 cat <<\_ASBOX
27430 ## ----------------------------------------- ##
27431 ## Report this to wx-dev@lists.wxwidgets.org ##
27432 ## ----------------------------------------- ##
27433 _ASBOX
27434 ) |
27435 sed "s/^/$as_me: WARNING: /" >&2
27436 ;;
27437 esac
27438 echo "$as_me:$LINENO: checking for windows.h" >&5
27439 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27440 if test "${ac_cv_header_windows_h+set}" = set; then
27441 echo $ECHO_N "(cached) $ECHO_C" >&6
27442 else
27443 ac_cv_header_windows_h=$ac_header_preproc
27444 fi
27445 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27446 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27447
27448 fi
27449 if test $ac_cv_header_windows_h = yes; then
27450 :
27451 else
27452
27453 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27454 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27455 { (exit 1); exit 1; }; }
27456
27457 fi
27458
27459
27460
27461 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27462
27463 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27464 LIBS="$LIBS -loleacc"
27465 fi
27466
27467 case "${host}" in
27468 *-*-cygwin* )
27469 LIBS="$LIBS -lkernel32 -luser32"
27470 esac
27471
27472 if test "$wxUSE_ODBC" = "sys" ; then
27473 wxUSE_ODBC = "yes"
27474 fi
27475 if test "$wxUSE_ODBC" = "yes" ; then
27476 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27477 cat >>confdefs.h <<\_ACEOF
27478 #define wxUSE_ODBC 1
27479 _ACEOF
27480
27481 fi
27482
27483 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27484 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27485
27486 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27487
27488 WIN32INSTALL=win32install
27489
27490 echo "$as_me:$LINENO: checking for boolean" >&5
27491 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27492 if test "${ac_cv_type_boolean+set}" = set; then
27493 echo $ECHO_N "(cached) $ECHO_C" >&6
27494 else
27495 cat >conftest.$ac_ext <<_ACEOF
27496 /* confdefs.h. */
27497 _ACEOF
27498 cat confdefs.h >>conftest.$ac_ext
27499 cat >>conftest.$ac_ext <<_ACEOF
27500 /* end confdefs.h. */
27501 #include <windows.h>
27502
27503 int
27504 main ()
27505 {
27506 if ((boolean *) 0)
27507 return 0;
27508 if (sizeof (boolean))
27509 return 0;
27510 ;
27511 return 0;
27512 }
27513 _ACEOF
27514 rm -f conftest.$ac_objext
27515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27516 (eval $ac_compile) 2>conftest.er1
27517 ac_status=$?
27518 grep -v '^ *+' conftest.er1 >conftest.err
27519 rm -f conftest.er1
27520 cat conftest.err >&5
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); } &&
27523 { ac_try='test -z "$ac_cxx_werror_flag"
27524 || test ! -s conftest.err'
27525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27526 (eval $ac_try) 2>&5
27527 ac_status=$?
27528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27529 (exit $ac_status); }; } &&
27530 { ac_try='test -s conftest.$ac_objext'
27531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27532 (eval $ac_try) 2>&5
27533 ac_status=$?
27534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27535 (exit $ac_status); }; }; then
27536 ac_cv_type_boolean=yes
27537 else
27538 echo "$as_me: failed program was:" >&5
27539 sed 's/^/| /' conftest.$ac_ext >&5
27540
27541 ac_cv_type_boolean=no
27542 fi
27543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27544 fi
27545 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27546 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27547 if test $ac_cv_type_boolean = yes; then
27548
27549 cat >>confdefs.h <<_ACEOF
27550 #define HAVE_BOOLEAN 1
27551 _ACEOF
27552
27553
27554 fi
27555
27556
27557
27558 for ac_header in pbt.h
27559 do
27560 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27562 echo "$as_me:$LINENO: checking for $ac_header" >&5
27563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27565 echo $ECHO_N "(cached) $ECHO_C" >&6
27566 fi
27567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27569 else
27570 # Is the header compilable?
27571 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27573 cat >conftest.$ac_ext <<_ACEOF
27574 /* confdefs.h. */
27575 _ACEOF
27576 cat confdefs.h >>conftest.$ac_ext
27577 cat >>conftest.$ac_ext <<_ACEOF
27578 /* end confdefs.h. */
27579 $ac_includes_default
27580 #include <$ac_header>
27581 _ACEOF
27582 rm -f conftest.$ac_objext
27583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27584 (eval $ac_compile) 2>conftest.er1
27585 ac_status=$?
27586 grep -v '^ *+' conftest.er1 >conftest.err
27587 rm -f conftest.er1
27588 cat conftest.err >&5
27589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27590 (exit $ac_status); } &&
27591 { ac_try='test -z "$ac_cxx_werror_flag"
27592 || test ! -s conftest.err'
27593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27594 (eval $ac_try) 2>&5
27595 ac_status=$?
27596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27597 (exit $ac_status); }; } &&
27598 { ac_try='test -s conftest.$ac_objext'
27599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27600 (eval $ac_try) 2>&5
27601 ac_status=$?
27602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27603 (exit $ac_status); }; }; then
27604 ac_header_compiler=yes
27605 else
27606 echo "$as_me: failed program was:" >&5
27607 sed 's/^/| /' conftest.$ac_ext >&5
27608
27609 ac_header_compiler=no
27610 fi
27611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27613 echo "${ECHO_T}$ac_header_compiler" >&6
27614
27615 # Is the header present?
27616 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27617 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27618 cat >conftest.$ac_ext <<_ACEOF
27619 /* confdefs.h. */
27620 _ACEOF
27621 cat confdefs.h >>conftest.$ac_ext
27622 cat >>conftest.$ac_ext <<_ACEOF
27623 /* end confdefs.h. */
27624 #include <$ac_header>
27625 _ACEOF
27626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27627 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27628 ac_status=$?
27629 grep -v '^ *+' conftest.er1 >conftest.err
27630 rm -f conftest.er1
27631 cat conftest.err >&5
27632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27633 (exit $ac_status); } >/dev/null; then
27634 if test -s conftest.err; then
27635 ac_cpp_err=$ac_cxx_preproc_warn_flag
27636 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27637 else
27638 ac_cpp_err=
27639 fi
27640 else
27641 ac_cpp_err=yes
27642 fi
27643 if test -z "$ac_cpp_err"; then
27644 ac_header_preproc=yes
27645 else
27646 echo "$as_me: failed program was:" >&5
27647 sed 's/^/| /' conftest.$ac_ext >&5
27648
27649 ac_header_preproc=no
27650 fi
27651 rm -f conftest.err conftest.$ac_ext
27652 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27653 echo "${ECHO_T}$ac_header_preproc" >&6
27654
27655 # So? What about this header?
27656 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27657 yes:no: )
27658 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27659 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27661 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27662 ac_header_preproc=yes
27663 ;;
27664 no:yes:* )
27665 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27666 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27667 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27668 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27669 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27670 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27671 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27672 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27675 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27676 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27677 (
27678 cat <<\_ASBOX
27679 ## ----------------------------------------- ##
27680 ## Report this to wx-dev@lists.wxwidgets.org ##
27681 ## ----------------------------------------- ##
27682 _ASBOX
27683 ) |
27684 sed "s/^/$as_me: WARNING: /" >&2
27685 ;;
27686 esac
27687 echo "$as_me:$LINENO: checking for $ac_header" >&5
27688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27690 echo $ECHO_N "(cached) $ECHO_C" >&6
27691 else
27692 eval "$as_ac_Header=\$ac_header_preproc"
27693 fi
27694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27696
27697 fi
27698 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27699 cat >>confdefs.h <<_ACEOF
27700 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27701 _ACEOF
27702
27703 else
27704 cat >>confdefs.h <<\_ACEOF
27705 #define NEED_PBT_H 1
27706 _ACEOF
27707
27708 fi
27709
27710 done
27711
27712 fi
27713
27714 if test "$wxUSE_GUI" = "yes"; then
27715 USE_GUI=1
27716
27717 GUI_TK_LIBRARY=
27718
27719 WXGTK12=
27720 WXGTK127=
27721 WXGTK20=
27722 WXGPE=
27723
27724 if test "$wxUSE_COCOA" = 1 ; then
27725 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27726 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27727 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27728 wxUSE_PRINTING_ARCHITECTURE=no
27729 fi
27730 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27731 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27732 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27733 wxUSE_DRAG_AND_DROP=no
27734 fi
27735 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27736 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27737 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27738 wxUSE_DRAGIMAGE=no
27739 fi
27740 fi
27741
27742 if test "$wxUSE_MSW" = 1 ; then
27743 TOOLKIT=MSW
27744 GUIDIST=MSW_DIST
27745
27746 case "${host}" in
27747 *-*-mingw32* )
27748 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27749 esac
27750 fi
27751
27752 if test "$wxUSE_GTK" = 1; then
27753 ac_ext=c
27754 ac_cpp='$CPP $CPPFLAGS'
27755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27758
27759
27760 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27761 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27762
27763 gtk_version_cached=1
27764 if test "${wx_cv_lib_gtk+set}" = set; then
27765 echo $ECHO_N "(cached) $ECHO_C" >&6
27766 else
27767
27768 gtk_version_cached=0
27769 echo "$as_me:$LINENO: result: " >&5
27770 echo "${ECHO_T}" >&6
27771
27772 GTK_MODULES=
27773 if test "$wxUSE_THREADS" = "yes"; then
27774 GTK_MODULES=gthread
27775 fi
27776
27777 wx_cv_lib_gtk=
27778 if test "x$wxGTK_VERSION" != "x1"
27779 then
27780 case "${host}" in
27781 *-*-solaris2* )
27782 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27783 enable_gtktest=no
27784 fi
27785 esac
27786
27787 # Check whether --enable-gtktest or --disable-gtktest was given.
27788 if test "${enable_gtktest+set}" = set; then
27789 enableval="$enable_gtktest"
27790
27791 else
27792 enable_gtktest=yes
27793 fi;
27794
27795 pkg_config_args=gtk+-2.0
27796 for module in . $GTK_MODULES
27797 do
27798 case "$module" in
27799 gthread)
27800 pkg_config_args="$pkg_config_args gthread-2.0"
27801 ;;
27802 esac
27803 done
27804
27805 no_gtk=""
27806
27807 # Extract the first word of "pkg-config", so it can be a program name with args.
27808 set dummy pkg-config; ac_word=$2
27809 echo "$as_me:$LINENO: checking for $ac_word" >&5
27810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27811 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27812 echo $ECHO_N "(cached) $ECHO_C" >&6
27813 else
27814 case $PKG_CONFIG in
27815 [\\/]* | ?:[\\/]*)
27816 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27817 ;;
27818 *)
27819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27820 for as_dir in $PATH
27821 do
27822 IFS=$as_save_IFS
27823 test -z "$as_dir" && as_dir=.
27824 for ac_exec_ext in '' $ac_executable_extensions; do
27825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27826 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27828 break 2
27829 fi
27830 done
27831 done
27832
27833 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27834 ;;
27835 esac
27836 fi
27837 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27838
27839 if test -n "$PKG_CONFIG"; then
27840 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27841 echo "${ECHO_T}$PKG_CONFIG" >&6
27842 else
27843 echo "$as_me:$LINENO: result: no" >&5
27844 echo "${ECHO_T}no" >&6
27845 fi
27846
27847
27848 if test x$PKG_CONFIG != xno ; then
27849 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27850 :
27851 else
27852 echo "*** pkg-config too old; version 0.7 or better required."
27853 no_gtk=yes
27854 PKG_CONFIG=no
27855 fi
27856 else
27857 no_gtk=yes
27858 fi
27859
27860 min_gtk_version=2.0.0
27861 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27862 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27863
27864 if test x$PKG_CONFIG != xno ; then
27865 ## don't try to run the test against uninstalled libtool libs
27866 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27867 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27868 enable_gtktest=no
27869 fi
27870
27871 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27872 :
27873 else
27874 no_gtk=yes
27875 fi
27876 fi
27877
27878 if test x"$no_gtk" = x ; then
27879 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27880 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27881 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27882 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27883 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27884 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27885 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27886 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27887 if test "x$enable_gtktest" = "xyes" ; then
27888 ac_save_CFLAGS="$CFLAGS"
27889 ac_save_LIBS="$LIBS"
27890 CFLAGS="$CFLAGS $GTK_CFLAGS"
27891 LIBS="$GTK_LIBS $LIBS"
27892 rm -f conf.gtktest
27893 if test "$cross_compiling" = yes; then
27894 echo $ac_n "cross compiling; assumed OK... $ac_c"
27895 else
27896 cat >conftest.$ac_ext <<_ACEOF
27897 /* confdefs.h. */
27898 _ACEOF
27899 cat confdefs.h >>conftest.$ac_ext
27900 cat >>conftest.$ac_ext <<_ACEOF
27901 /* end confdefs.h. */
27902
27903 #include <gtk/gtk.h>
27904 #include <stdio.h>
27905 #include <stdlib.h>
27906
27907 int
27908 main ()
27909 {
27910 int major, minor, micro;
27911 char *tmp_version;
27912
27913 system ("touch conf.gtktest");
27914
27915 /* HP/UX 9 (%@#!) writes to sscanf strings */
27916 tmp_version = g_strdup("$min_gtk_version");
27917 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27918 printf("%s, bad version string\n", "$min_gtk_version");
27919 exit(1);
27920 }
27921
27922 if ((gtk_major_version != $gtk_config_major_version) ||
27923 (gtk_minor_version != $gtk_config_minor_version) ||
27924 (gtk_micro_version != $gtk_config_micro_version))
27925 {
27926 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27927 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27928 gtk_major_version, gtk_minor_version, gtk_micro_version);
27929 printf ("*** was found! If pkg-config was correct, then it is best\n");
27930 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27931 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27932 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27933 printf("*** required on your system.\n");
27934 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27935 printf("*** to point to the correct configuration files\n");
27936 }
27937 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27938 (gtk_minor_version != GTK_MINOR_VERSION) ||
27939 (gtk_micro_version != GTK_MICRO_VERSION))
27940 {
27941 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27942 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27943 printf("*** library (version %d.%d.%d)\n",
27944 gtk_major_version, gtk_minor_version, gtk_micro_version);
27945 }
27946 else
27947 {
27948 if ((gtk_major_version > major) ||
27949 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27950 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27951 {
27952 return 0;
27953 }
27954 else
27955 {
27956 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27957 gtk_major_version, gtk_minor_version, gtk_micro_version);
27958 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27959 major, minor, micro);
27960 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27961 printf("***\n");
27962 printf("*** If you have already installed a sufficiently new version, this error\n");
27963 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27964 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27965 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27966 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27967 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27968 printf("*** so that the correct libraries are found at run-time))\n");
27969 }
27970 }
27971 return 1;
27972 }
27973
27974 _ACEOF
27975 rm -f conftest$ac_exeext
27976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27977 (eval $ac_link) 2>&5
27978 ac_status=$?
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27982 (eval $ac_try) 2>&5
27983 ac_status=$?
27984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27985 (exit $ac_status); }; }; then
27986 :
27987 else
27988 echo "$as_me: program exited with status $ac_status" >&5
27989 echo "$as_me: failed program was:" >&5
27990 sed 's/^/| /' conftest.$ac_ext >&5
27991
27992 ( exit $ac_status )
27993 no_gtk=yes
27994 fi
27995 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27996 fi
27997 CFLAGS="$ac_save_CFLAGS"
27998 LIBS="$ac_save_LIBS"
27999 fi
28000 fi
28001 if test "x$no_gtk" = x ; then
28002 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28003 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28004 wx_cv_lib_gtk=2.0
28005 else
28006 echo "$as_me:$LINENO: result: no" >&5
28007 echo "${ECHO_T}no" >&6
28008 if test "$PKG_CONFIG" = "no" ; then
28009 echo "*** A new enough version of pkg-config was not found."
28010 echo "*** See http://pkgconfig.sourceforge.net"
28011 else
28012 if test -f conf.gtktest ; then
28013 :
28014 else
28015 echo "*** Could not run GTK+ test program, checking why..."
28016 ac_save_CFLAGS="$CFLAGS"
28017 ac_save_LIBS="$LIBS"
28018 CFLAGS="$CFLAGS $GTK_CFLAGS"
28019 LIBS="$LIBS $GTK_LIBS"
28020 cat >conftest.$ac_ext <<_ACEOF
28021 /* confdefs.h. */
28022 _ACEOF
28023 cat confdefs.h >>conftest.$ac_ext
28024 cat >>conftest.$ac_ext <<_ACEOF
28025 /* end confdefs.h. */
28026
28027 #include <gtk/gtk.h>
28028 #include <stdio.h>
28029
28030 int
28031 main ()
28032 {
28033 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28034 ;
28035 return 0;
28036 }
28037 _ACEOF
28038 rm -f conftest.$ac_objext conftest$ac_exeext
28039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28040 (eval $ac_link) 2>conftest.er1
28041 ac_status=$?
28042 grep -v '^ *+' conftest.er1 >conftest.err
28043 rm -f conftest.er1
28044 cat conftest.err >&5
28045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28046 (exit $ac_status); } &&
28047 { ac_try='test -z "$ac_c_werror_flag"
28048 || test ! -s conftest.err'
28049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28050 (eval $ac_try) 2>&5
28051 ac_status=$?
28052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28053 (exit $ac_status); }; } &&
28054 { ac_try='test -s conftest$ac_exeext'
28055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28056 (eval $ac_try) 2>&5
28057 ac_status=$?
28058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28059 (exit $ac_status); }; }; then
28060 echo "*** The test program compiled, but did not run. This usually means"
28061 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28062 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28063 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28064 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28065 echo "*** is required on your system"
28066 echo "***"
28067 echo "*** If you have an old version installed, it is best to remove it, although"
28068 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28069 else
28070 echo "$as_me: failed program was:" >&5
28071 sed 's/^/| /' conftest.$ac_ext >&5
28072
28073 echo "*** The test program failed to compile or link. See the file config.log for the"
28074 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28075 fi
28076 rm -f conftest.err conftest.$ac_objext \
28077 conftest$ac_exeext conftest.$ac_ext
28078 CFLAGS="$ac_save_CFLAGS"
28079 LIBS="$ac_save_LIBS"
28080 fi
28081 fi
28082 GTK_CFLAGS=""
28083 GTK_LIBS=""
28084 :
28085 fi
28086
28087
28088 rm -f conf.gtktest
28089
28090
28091 case "${host}" in
28092 *-*-solaris2* )
28093 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28094 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
28095 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
28096 fi
28097 if test "$wxUSE_SHARED" != "yes"; then
28098 GTK_LIBS="$GTK_LIBS -lX11"
28099 fi
28100 esac
28101 fi
28102
28103 if test -z "$wx_cv_lib_gtk"; then
28104 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28105
28106 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28107 if test "${with_gtk_prefix+set}" = set; then
28108 withval="$with_gtk_prefix"
28109 gtk_config_prefix="$withval"
28110 else
28111 gtk_config_prefix=""
28112 fi;
28113
28114 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28115 if test "${with_gtk_exec_prefix+set}" = set; then
28116 withval="$with_gtk_exec_prefix"
28117 gtk_config_exec_prefix="$withval"
28118 else
28119 gtk_config_exec_prefix=""
28120 fi;
28121 # Check whether --enable-gtktest or --disable-gtktest was given.
28122 if test "${enable_gtktest+set}" = set; then
28123 enableval="$enable_gtktest"
28124
28125 else
28126 enable_gtktest=yes
28127 fi;
28128
28129 for module in . $GTK_MODULES
28130 do
28131 case "$module" in
28132 gthread)
28133 gtk_config_args="$gtk_config_args gthread"
28134 ;;
28135 esac
28136 done
28137
28138 if test x$gtk_config_exec_prefix != x ; then
28139 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28140 if test x${GTK_CONFIG+set} != xset ; then
28141 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28142 fi
28143 fi
28144 if test x$gtk_config_prefix != x ; then
28145 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28146 if test x${GTK_CONFIG+set} != xset ; then
28147 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28148 fi
28149 fi
28150
28151 # Extract the first word of "gtk-config", so it can be a program name with args.
28152 set dummy gtk-config; ac_word=$2
28153 echo "$as_me:$LINENO: checking for $ac_word" >&5
28154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28155 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28156 echo $ECHO_N "(cached) $ECHO_C" >&6
28157 else
28158 case $GTK_CONFIG in
28159 [\\/]* | ?:[\\/]*)
28160 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28161 ;;
28162 *)
28163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28164 for as_dir in $PATH
28165 do
28166 IFS=$as_save_IFS
28167 test -z "$as_dir" && as_dir=.
28168 for ac_exec_ext in '' $ac_executable_extensions; do
28169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28170 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28172 break 2
28173 fi
28174 done
28175 done
28176
28177 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28178 ;;
28179 esac
28180 fi
28181 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28182
28183 if test -n "$GTK_CONFIG"; then
28184 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28185 echo "${ECHO_T}$GTK_CONFIG" >&6
28186 else
28187 echo "$as_me:$LINENO: result: no" >&5
28188 echo "${ECHO_T}no" >&6
28189 fi
28190
28191 min_gtk_version=1.2.7
28192 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28193 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28194 no_gtk=""
28195 if test "$GTK_CONFIG" = "no" ; then
28196 no_gtk=yes
28197 else
28198 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28199 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28200 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28201 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28202 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28203 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28204 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28205 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28206 if test "x$enable_gtktest" = "xyes" ; then
28207 ac_save_CFLAGS="$CFLAGS"
28208 ac_save_LIBS="$LIBS"
28209 CFLAGS="$CFLAGS $GTK_CFLAGS"
28210 LIBS="$GTK_LIBS $LIBS"
28211 rm -f conf.gtktest
28212 if test "$cross_compiling" = yes; then
28213 echo $ac_n "cross compiling; assumed OK... $ac_c"
28214 else
28215 cat >conftest.$ac_ext <<_ACEOF
28216 /* confdefs.h. */
28217 _ACEOF
28218 cat confdefs.h >>conftest.$ac_ext
28219 cat >>conftest.$ac_ext <<_ACEOF
28220 /* end confdefs.h. */
28221
28222 #include <gtk/gtk.h>
28223 #include <stdio.h>
28224 #include <stdlib.h>
28225
28226 int
28227 main ()
28228 {
28229 int major, minor, micro;
28230 char *tmp_version;
28231
28232 system ("touch conf.gtktest");
28233
28234 /* HP/UX 9 (%@#!) writes to sscanf strings */
28235 tmp_version = g_strdup("$min_gtk_version");
28236 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28237 printf("%s, bad version string\n", "$min_gtk_version");
28238 exit(1);
28239 }
28240
28241 if ((gtk_major_version != $gtk_config_major_version) ||
28242 (gtk_minor_version != $gtk_config_minor_version) ||
28243 (gtk_micro_version != $gtk_config_micro_version))
28244 {
28245 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28246 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28247 gtk_major_version, gtk_minor_version, gtk_micro_version);
28248 printf ("*** was found! If gtk-config was correct, then it is best\n");
28249 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28250 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28251 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28252 printf("*** required on your system.\n");
28253 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28254 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28255 printf("*** before re-running configure\n");
28256 }
28257 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28258 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28259 (gtk_minor_version != GTK_MINOR_VERSION) ||
28260 (gtk_micro_version != GTK_MICRO_VERSION))
28261 {
28262 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28263 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28264 printf("*** library (version %d.%d.%d)\n",
28265 gtk_major_version, gtk_minor_version, gtk_micro_version);
28266 }
28267 #endif /* defined (GTK_MAJOR_VERSION) ... */
28268 else
28269 {
28270 if ((gtk_major_version > major) ||
28271 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28272 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28273 {
28274 return 0;
28275 }
28276 else
28277 {
28278 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28279 gtk_major_version, gtk_minor_version, gtk_micro_version);
28280 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28281 major, minor, micro);
28282 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28283 printf("***\n");
28284 printf("*** If you have already installed a sufficiently new version, this error\n");
28285 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28286 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28287 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28288 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28289 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28290 printf("*** so that the correct libraries are found at run-time))\n");
28291 }
28292 }
28293 return 1;
28294 }
28295
28296 _ACEOF
28297 rm -f conftest$ac_exeext
28298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28299 (eval $ac_link) 2>&5
28300 ac_status=$?
28301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28304 (eval $ac_try) 2>&5
28305 ac_status=$?
28306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307 (exit $ac_status); }; }; then
28308 :
28309 else
28310 echo "$as_me: program exited with status $ac_status" >&5
28311 echo "$as_me: failed program was:" >&5
28312 sed 's/^/| /' conftest.$ac_ext >&5
28313
28314 ( exit $ac_status )
28315 no_gtk=yes
28316 fi
28317 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28318 fi
28319 CFLAGS="$ac_save_CFLAGS"
28320 LIBS="$ac_save_LIBS"
28321 fi
28322 fi
28323 if test "x$no_gtk" = x ; then
28324 echo "$as_me:$LINENO: result: yes" >&5
28325 echo "${ECHO_T}yes" >&6
28326 wx_cv_lib_gtk=1.2.7
28327 else
28328 echo "$as_me:$LINENO: result: no" >&5
28329 echo "${ECHO_T}no" >&6
28330 if test "$GTK_CONFIG" = "no" ; then
28331 echo "*** The gtk-config script installed by GTK could not be found"
28332 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28333 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28334 echo "*** full path to gtk-config."
28335 else
28336 if test -f conf.gtktest ; then
28337 :
28338 else
28339 echo "*** Could not run GTK test program, checking why..."
28340 CFLAGS="$CFLAGS $GTK_CFLAGS"
28341 LIBS="$LIBS $GTK_LIBS"
28342 cat >conftest.$ac_ext <<_ACEOF
28343 /* confdefs.h. */
28344 _ACEOF
28345 cat confdefs.h >>conftest.$ac_ext
28346 cat >>conftest.$ac_ext <<_ACEOF
28347 /* end confdefs.h. */
28348
28349 #include <gtk/gtk.h>
28350 #include <stdio.h>
28351
28352 int
28353 main ()
28354 {
28355 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28356 ;
28357 return 0;
28358 }
28359 _ACEOF
28360 rm -f conftest.$ac_objext conftest$ac_exeext
28361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28362 (eval $ac_link) 2>conftest.er1
28363 ac_status=$?
28364 grep -v '^ *+' conftest.er1 >conftest.err
28365 rm -f conftest.er1
28366 cat conftest.err >&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); } &&
28369 { ac_try='test -z "$ac_c_werror_flag"
28370 || test ! -s conftest.err'
28371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28372 (eval $ac_try) 2>&5
28373 ac_status=$?
28374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375 (exit $ac_status); }; } &&
28376 { ac_try='test -s conftest$ac_exeext'
28377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28378 (eval $ac_try) 2>&5
28379 ac_status=$?
28380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28381 (exit $ac_status); }; }; then
28382 echo "*** The test program compiled, but did not run. This usually means"
28383 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28384 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28385 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28386 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28387 echo "*** is required on your system"
28388 echo "***"
28389 echo "*** If you have an old version installed, it is best to remove it, although"
28390 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28391 echo "***"
28392 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28393 echo "*** came with the system with the command"
28394 echo "***"
28395 echo "*** rpm --erase --nodeps gtk gtk-devel"
28396 else
28397 echo "$as_me: failed program was:" >&5
28398 sed 's/^/| /' conftest.$ac_ext >&5
28399
28400 echo "*** The test program failed to compile or link. See the file config.log for the"
28401 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28402 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28403 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28404 fi
28405 rm -f conftest.err conftest.$ac_objext \
28406 conftest$ac_exeext conftest.$ac_ext
28407 CFLAGS="$ac_save_CFLAGS"
28408 LIBS="$ac_save_LIBS"
28409 fi
28410 fi
28411 GTK_CFLAGS=""
28412 GTK_LIBS=""
28413 :
28414 fi
28415
28416
28417 rm -f conf.gtktest
28418
28419
28420 if test -z "$wx_cv_lib_gtk"; then
28421
28422 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28423 if test "${with_gtk_prefix+set}" = set; then
28424 withval="$with_gtk_prefix"
28425 gtk_config_prefix="$withval"
28426 else
28427 gtk_config_prefix=""
28428 fi;
28429
28430 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28431 if test "${with_gtk_exec_prefix+set}" = set; then
28432 withval="$with_gtk_exec_prefix"
28433 gtk_config_exec_prefix="$withval"
28434 else
28435 gtk_config_exec_prefix=""
28436 fi;
28437 # Check whether --enable-gtktest or --disable-gtktest was given.
28438 if test "${enable_gtktest+set}" = set; then
28439 enableval="$enable_gtktest"
28440
28441 else
28442 enable_gtktest=yes
28443 fi;
28444
28445 for module in . $GTK_MODULES
28446 do
28447 case "$module" in
28448 gthread)
28449 gtk_config_args="$gtk_config_args gthread"
28450 ;;
28451 esac
28452 done
28453
28454 if test x$gtk_config_exec_prefix != x ; then
28455 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28456 if test x${GTK_CONFIG+set} != xset ; then
28457 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28458 fi
28459 fi
28460 if test x$gtk_config_prefix != x ; then
28461 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28462 if test x${GTK_CONFIG+set} != xset ; then
28463 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28464 fi
28465 fi
28466
28467 # Extract the first word of "gtk-config", so it can be a program name with args.
28468 set dummy gtk-config; ac_word=$2
28469 echo "$as_me:$LINENO: checking for $ac_word" >&5
28470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28471 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28472 echo $ECHO_N "(cached) $ECHO_C" >&6
28473 else
28474 case $GTK_CONFIG in
28475 [\\/]* | ?:[\\/]*)
28476 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28477 ;;
28478 *)
28479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28480 for as_dir in $PATH
28481 do
28482 IFS=$as_save_IFS
28483 test -z "$as_dir" && as_dir=.
28484 for ac_exec_ext in '' $ac_executable_extensions; do
28485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28486 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28488 break 2
28489 fi
28490 done
28491 done
28492
28493 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28494 ;;
28495 esac
28496 fi
28497 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28498
28499 if test -n "$GTK_CONFIG"; then
28500 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28501 echo "${ECHO_T}$GTK_CONFIG" >&6
28502 else
28503 echo "$as_me:$LINENO: result: no" >&5
28504 echo "${ECHO_T}no" >&6
28505 fi
28506
28507 min_gtk_version=1.2.3
28508 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28509 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28510 no_gtk=""
28511 if test "$GTK_CONFIG" = "no" ; then
28512 no_gtk=yes
28513 else
28514 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28515 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28516 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28517 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28518 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28519 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28520 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28521 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28522 if test "x$enable_gtktest" = "xyes" ; then
28523 ac_save_CFLAGS="$CFLAGS"
28524 ac_save_LIBS="$LIBS"
28525 CFLAGS="$CFLAGS $GTK_CFLAGS"
28526 LIBS="$GTK_LIBS $LIBS"
28527 rm -f conf.gtktest
28528 if test "$cross_compiling" = yes; then
28529 echo $ac_n "cross compiling; assumed OK... $ac_c"
28530 else
28531 cat >conftest.$ac_ext <<_ACEOF
28532 /* confdefs.h. */
28533 _ACEOF
28534 cat confdefs.h >>conftest.$ac_ext
28535 cat >>conftest.$ac_ext <<_ACEOF
28536 /* end confdefs.h. */
28537
28538 #include <gtk/gtk.h>
28539 #include <stdio.h>
28540 #include <stdlib.h>
28541
28542 int
28543 main ()
28544 {
28545 int major, minor, micro;
28546 char *tmp_version;
28547
28548 system ("touch conf.gtktest");
28549
28550 /* HP/UX 9 (%@#!) writes to sscanf strings */
28551 tmp_version = g_strdup("$min_gtk_version");
28552 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28553 printf("%s, bad version string\n", "$min_gtk_version");
28554 exit(1);
28555 }
28556
28557 if ((gtk_major_version != $gtk_config_major_version) ||
28558 (gtk_minor_version != $gtk_config_minor_version) ||
28559 (gtk_micro_version != $gtk_config_micro_version))
28560 {
28561 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28562 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28563 gtk_major_version, gtk_minor_version, gtk_micro_version);
28564 printf ("*** was found! If gtk-config was correct, then it is best\n");
28565 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28566 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28567 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28568 printf("*** required on your system.\n");
28569 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28570 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28571 printf("*** before re-running configure\n");
28572 }
28573 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28574 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28575 (gtk_minor_version != GTK_MINOR_VERSION) ||
28576 (gtk_micro_version != GTK_MICRO_VERSION))
28577 {
28578 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28579 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28580 printf("*** library (version %d.%d.%d)\n",
28581 gtk_major_version, gtk_minor_version, gtk_micro_version);
28582 }
28583 #endif /* defined (GTK_MAJOR_VERSION) ... */
28584 else
28585 {
28586 if ((gtk_major_version > major) ||
28587 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28588 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28589 {
28590 return 0;
28591 }
28592 else
28593 {
28594 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28595 gtk_major_version, gtk_minor_version, gtk_micro_version);
28596 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28597 major, minor, micro);
28598 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28599 printf("***\n");
28600 printf("*** If you have already installed a sufficiently new version, this error\n");
28601 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28602 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28603 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28604 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28605 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28606 printf("*** so that the correct libraries are found at run-time))\n");
28607 }
28608 }
28609 return 1;
28610 }
28611
28612 _ACEOF
28613 rm -f conftest$ac_exeext
28614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28615 (eval $ac_link) 2>&5
28616 ac_status=$?
28617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28618 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28620 (eval $ac_try) 2>&5
28621 ac_status=$?
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); }; }; then
28624 :
28625 else
28626 echo "$as_me: program exited with status $ac_status" >&5
28627 echo "$as_me: failed program was:" >&5
28628 sed 's/^/| /' conftest.$ac_ext >&5
28629
28630 ( exit $ac_status )
28631 no_gtk=yes
28632 fi
28633 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28634 fi
28635 CFLAGS="$ac_save_CFLAGS"
28636 LIBS="$ac_save_LIBS"
28637 fi
28638 fi
28639 if test "x$no_gtk" = x ; then
28640 echo "$as_me:$LINENO: result: yes" >&5
28641 echo "${ECHO_T}yes" >&6
28642 wx_cv_lib_gtk=1.2.3
28643 else
28644 echo "$as_me:$LINENO: result: no" >&5
28645 echo "${ECHO_T}no" >&6
28646 if test "$GTK_CONFIG" = "no" ; then
28647 echo "*** The gtk-config script installed by GTK could not be found"
28648 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28649 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28650 echo "*** full path to gtk-config."
28651 else
28652 if test -f conf.gtktest ; then
28653 :
28654 else
28655 echo "*** Could not run GTK test program, checking why..."
28656 CFLAGS="$CFLAGS $GTK_CFLAGS"
28657 LIBS="$LIBS $GTK_LIBS"
28658 cat >conftest.$ac_ext <<_ACEOF
28659 /* confdefs.h. */
28660 _ACEOF
28661 cat confdefs.h >>conftest.$ac_ext
28662 cat >>conftest.$ac_ext <<_ACEOF
28663 /* end confdefs.h. */
28664
28665 #include <gtk/gtk.h>
28666 #include <stdio.h>
28667
28668 int
28669 main ()
28670 {
28671 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28672 ;
28673 return 0;
28674 }
28675 _ACEOF
28676 rm -f conftest.$ac_objext conftest$ac_exeext
28677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28678 (eval $ac_link) 2>conftest.er1
28679 ac_status=$?
28680 grep -v '^ *+' conftest.er1 >conftest.err
28681 rm -f conftest.er1
28682 cat conftest.err >&5
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); } &&
28685 { ac_try='test -z "$ac_c_werror_flag"
28686 || test ! -s conftest.err'
28687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28688 (eval $ac_try) 2>&5
28689 ac_status=$?
28690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28691 (exit $ac_status); }; } &&
28692 { ac_try='test -s conftest$ac_exeext'
28693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28694 (eval $ac_try) 2>&5
28695 ac_status=$?
28696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28697 (exit $ac_status); }; }; then
28698 echo "*** The test program compiled, but did not run. This usually means"
28699 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28700 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28701 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28702 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28703 echo "*** is required on your system"
28704 echo "***"
28705 echo "*** If you have an old version installed, it is best to remove it, although"
28706 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28707 echo "***"
28708 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28709 echo "*** came with the system with the command"
28710 echo "***"
28711 echo "*** rpm --erase --nodeps gtk gtk-devel"
28712 else
28713 echo "$as_me: failed program was:" >&5
28714 sed 's/^/| /' conftest.$ac_ext >&5
28715
28716 echo "*** The test program failed to compile or link. See the file config.log for the"
28717 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28718 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28719 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28720 fi
28721 rm -f conftest.err conftest.$ac_objext \
28722 conftest$ac_exeext conftest.$ac_ext
28723 CFLAGS="$ac_save_CFLAGS"
28724 LIBS="$ac_save_LIBS"
28725 fi
28726 fi
28727 GTK_CFLAGS=""
28728 GTK_LIBS=""
28729 :
28730 fi
28731
28732
28733 rm -f conf.gtktest
28734
28735 fi
28736 fi
28737 fi
28738
28739 if test -z "$wx_cv_lib_gtk"; then
28740 wx_cv_lib_gtk=none
28741 else
28742 wx_cv_cflags_gtk=$GTK_CFLAGS
28743 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28744 fi
28745
28746
28747 fi
28748
28749
28750 if test "$gtk_version_cached" = 1; then
28751 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28752 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28753 fi
28754
28755 case "$wx_cv_lib_gtk" in
28756 2.0) WXGTK20=1
28757 TOOLKIT_VERSION=2
28758 ;;
28759 1.2.7) WXGTK127=1
28760 WXGTK12=1
28761 ;;
28762 1.2.3) WXGTK12=1
28763 ;;
28764 *) { { echo "$as_me:$LINENO: error:
28765 The development files for GTK+ were not found. For GTK+ 2, please
28766 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28767 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28768 and that the version is 1.2.3 or above. Also check that the
28769 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28770 --libs' are in the LD_LIBRARY_PATH or equivalent.
28771 " >&5
28772 echo "$as_me: error:
28773 The development files for GTK+ were not found. For GTK+ 2, please
28774 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28775 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28776 and that the version is 1.2.3 or above. Also check that the
28777 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28778 --libs' are in the LD_LIBRARY_PATH or equivalent.
28779 " >&2;}
28780 { (exit 1); exit 1; }; }
28781 ;;
28782 esac
28783
28784 if test "$WXGTK20" = 1; then
28785 save_CFLAGS="$CFLAGS"
28786 save_LIBS="$LIBS"
28787 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28788 LIBS="$LIBS $wx_cv_libs_gtk"
28789
28790 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28791 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28792 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28793 echo $ECHO_N "(cached) $ECHO_C" >&6
28794 else
28795 cat >conftest.$ac_ext <<_ACEOF
28796 /* confdefs.h. */
28797 _ACEOF
28798 cat confdefs.h >>conftest.$ac_ext
28799 cat >>conftest.$ac_ext <<_ACEOF
28800 /* end confdefs.h. */
28801 #include <gtk/gtk.h>
28802
28803 int
28804 main ()
28805 {
28806 #ifndef gtk_icon_size_lookup
28807 char *p = (char *) gtk_icon_size_lookup;
28808 #endif
28809
28810 ;
28811 return 0;
28812 }
28813 _ACEOF
28814 rm -f conftest.$ac_objext
28815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28816 (eval $ac_compile) 2>conftest.er1
28817 ac_status=$?
28818 grep -v '^ *+' conftest.er1 >conftest.err
28819 rm -f conftest.er1
28820 cat conftest.err >&5
28821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28822 (exit $ac_status); } &&
28823 { ac_try='test -z "$ac_c_werror_flag"
28824 || test ! -s conftest.err'
28825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28826 (eval $ac_try) 2>&5
28827 ac_status=$?
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); }; } &&
28830 { ac_try='test -s conftest.$ac_objext'
28831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28832 (eval $ac_try) 2>&5
28833 ac_status=$?
28834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28835 (exit $ac_status); }; }; then
28836 ac_cv_have_decl_gtk_icon_size_lookup=yes
28837 else
28838 echo "$as_me: failed program was:" >&5
28839 sed 's/^/| /' conftest.$ac_ext >&5
28840
28841 ac_cv_have_decl_gtk_icon_size_lookup=no
28842 fi
28843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28844 fi
28845 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28846 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28847 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28848
28849 cat >>confdefs.h <<_ACEOF
28850 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28851 _ACEOF
28852
28853
28854 else
28855 cat >>confdefs.h <<_ACEOF
28856 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28857 _ACEOF
28858
28859 cat >>confdefs.h <<\_ACEOF
28860 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28861 _ACEOF
28862
28863 fi
28864
28865
28866
28867 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28868 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28869 cat >conftest.$ac_ext <<_ACEOF
28870 /* confdefs.h. */
28871 _ACEOF
28872 cat confdefs.h >>conftest.$ac_ext
28873 cat >>conftest.$ac_ext <<_ACEOF
28874 /* end confdefs.h. */
28875
28876 #include <gtk/gtk.h>
28877
28878 int
28879 main ()
28880 {
28881
28882 #if !GTK_CHECK_VERSION(2,6,0)
28883 Not GTK+ 2.6
28884 #endif
28885
28886 ;
28887 return 0;
28888 }
28889 _ACEOF
28890 rm -f conftest.$ac_objext
28891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28892 (eval $ac_compile) 2>conftest.er1
28893 ac_status=$?
28894 grep -v '^ *+' conftest.er1 >conftest.err
28895 rm -f conftest.er1
28896 cat conftest.err >&5
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); } &&
28899 { ac_try='test -z "$ac_c_werror_flag"
28900 || test ! -s conftest.err'
28901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28902 (eval $ac_try) 2>&5
28903 ac_status=$?
28904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28905 (exit $ac_status); }; } &&
28906 { ac_try='test -s conftest.$ac_objext'
28907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28908 (eval $ac_try) 2>&5
28909 ac_status=$?
28910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28911 (exit $ac_status); }; }; then
28912
28913 cat >>confdefs.h <<\_ACEOF
28914 #define __WXGTK26__ 1
28915 _ACEOF
28916
28917 cat >>confdefs.h <<\_ACEOF
28918 #define __WXGTK24__ 1
28919 _ACEOF
28920
28921 echo "$as_me:$LINENO: result: yes" >&5
28922 echo "${ECHO_T}yes" >&6
28923 ac_wxgtk26=1
28924
28925 else
28926 echo "$as_me: failed program was:" >&5
28927 sed 's/^/| /' conftest.$ac_ext >&5
28928
28929
28930 echo "$as_me:$LINENO: result: no" >&5
28931 echo "${ECHO_T}no" >&6
28932 ac_wxgtk26=0
28933
28934 fi
28935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28936
28937 if test "$ac_wxgtk26" = 0; then
28938 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28939 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28940 cat >conftest.$ac_ext <<_ACEOF
28941 /* confdefs.h. */
28942 _ACEOF
28943 cat confdefs.h >>conftest.$ac_ext
28944 cat >>conftest.$ac_ext <<_ACEOF
28945 /* end confdefs.h. */
28946
28947 #include <gtk/gtk.h>
28948
28949 int
28950 main ()
28951 {
28952
28953 #if !GTK_CHECK_VERSION(2,4,0)
28954 Not GTK+ 2.4
28955 #endif
28956
28957 ;
28958 return 0;
28959 }
28960 _ACEOF
28961 rm -f conftest.$ac_objext
28962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28963 (eval $ac_compile) 2>conftest.er1
28964 ac_status=$?
28965 grep -v '^ *+' conftest.er1 >conftest.err
28966 rm -f conftest.er1
28967 cat conftest.err >&5
28968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969 (exit $ac_status); } &&
28970 { ac_try='test -z "$ac_c_werror_flag"
28971 || test ! -s conftest.err'
28972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28973 (eval $ac_try) 2>&5
28974 ac_status=$?
28975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28976 (exit $ac_status); }; } &&
28977 { ac_try='test -s conftest.$ac_objext'
28978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28979 (eval $ac_try) 2>&5
28980 ac_status=$?
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); }; }; then
28983
28984 cat >>confdefs.h <<\_ACEOF
28985 #define __WXGTK24__ 1
28986 _ACEOF
28987
28988 echo "$as_me:$LINENO: result: yes" >&5
28989 echo "${ECHO_T}yes" >&6
28990
28991 else
28992 echo "$as_me: failed program was:" >&5
28993 sed 's/^/| /' conftest.$ac_ext >&5
28994
28995
28996 echo "$as_me:$LINENO: result: no" >&5
28997 echo "${ECHO_T}no" >&6
28998
28999 fi
29000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29001 fi
29002
29003 CFLAGS="$save_CFLAGS"
29004 LIBS="$save_LIBS"
29005 else
29006 if test "$wxUSE_UNICODE" = "yes"; then
29007 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29008 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29009 wxUSE_UNICODE=no
29010 fi
29011 fi
29012
29013 ac_ext=cc
29014 ac_cpp='$CXXCPP $CPPFLAGS'
29015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29018
29019
29020 if test "$USE_DARWIN" != 1; then
29021
29022 for ac_func in poll
29023 do
29024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29025 echo "$as_me:$LINENO: checking for $ac_func" >&5
29026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29027 if eval "test \"\${$as_ac_var+set}\" = set"; then
29028 echo $ECHO_N "(cached) $ECHO_C" >&6
29029 else
29030 cat >conftest.$ac_ext <<_ACEOF
29031 /* confdefs.h. */
29032 _ACEOF
29033 cat confdefs.h >>conftest.$ac_ext
29034 cat >>conftest.$ac_ext <<_ACEOF
29035 /* end confdefs.h. */
29036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29038 #define $ac_func innocuous_$ac_func
29039
29040 /* System header to define __stub macros and hopefully few prototypes,
29041 which can conflict with char $ac_func (); below.
29042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29043 <limits.h> exists even on freestanding compilers. */
29044
29045 #ifdef __STDC__
29046 # include <limits.h>
29047 #else
29048 # include <assert.h>
29049 #endif
29050
29051 #undef $ac_func
29052
29053 /* Override any gcc2 internal prototype to avoid an error. */
29054 #ifdef __cplusplus
29055 extern "C"
29056 {
29057 #endif
29058 /* We use char because int might match the return type of a gcc2
29059 builtin and then its argument prototype would still apply. */
29060 char $ac_func ();
29061 /* The GNU C library defines this for functions which it implements
29062 to always fail with ENOSYS. Some functions are actually named
29063 something starting with __ and the normal name is an alias. */
29064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29065 choke me
29066 #else
29067 char (*f) () = $ac_func;
29068 #endif
29069 #ifdef __cplusplus
29070 }
29071 #endif
29072
29073 int
29074 main ()
29075 {
29076 return f != $ac_func;
29077 ;
29078 return 0;
29079 }
29080 _ACEOF
29081 rm -f conftest.$ac_objext conftest$ac_exeext
29082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29083 (eval $ac_link) 2>conftest.er1
29084 ac_status=$?
29085 grep -v '^ *+' conftest.er1 >conftest.err
29086 rm -f conftest.er1
29087 cat conftest.err >&5
29088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29089 (exit $ac_status); } &&
29090 { ac_try='test -z "$ac_cxx_werror_flag"
29091 || test ! -s conftest.err'
29092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29093 (eval $ac_try) 2>&5
29094 ac_status=$?
29095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096 (exit $ac_status); }; } &&
29097 { ac_try='test -s conftest$ac_exeext'
29098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29099 (eval $ac_try) 2>&5
29100 ac_status=$?
29101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29102 (exit $ac_status); }; }; then
29103 eval "$as_ac_var=yes"
29104 else
29105 echo "$as_me: failed program was:" >&5
29106 sed 's/^/| /' conftest.$ac_ext >&5
29107
29108 eval "$as_ac_var=no"
29109 fi
29110 rm -f conftest.err conftest.$ac_objext \
29111 conftest$ac_exeext conftest.$ac_ext
29112 fi
29113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29115 if test `eval echo '${'$as_ac_var'}'` = yes; then
29116 cat >>confdefs.h <<_ACEOF
29117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29118 _ACEOF
29119
29120 fi
29121 done
29122
29123 fi
29124
29125 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29126 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29127
29128 AFMINSTALL=afminstall
29129 TOOLKIT=GTK
29130 GUIDIST=GTK_DIST
29131
29132 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29133 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29134 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29135 echo $ECHO_N "(cached) $ECHO_C" >&6
29136 else
29137 ac_check_lib_save_LIBS=$LIBS
29138 LIBS="-lgdk $LIBS"
29139 cat >conftest.$ac_ext <<_ACEOF
29140 /* confdefs.h. */
29141 _ACEOF
29142 cat confdefs.h >>conftest.$ac_ext
29143 cat >>conftest.$ac_ext <<_ACEOF
29144 /* end confdefs.h. */
29145
29146 /* Override any gcc2 internal prototype to avoid an error. */
29147 #ifdef __cplusplus
29148 extern "C"
29149 #endif
29150 /* We use char because int might match the return type of a gcc2
29151 builtin and then its argument prototype would still apply. */
29152 char gdk_im_open ();
29153 int
29154 main ()
29155 {
29156 gdk_im_open ();
29157 ;
29158 return 0;
29159 }
29160 _ACEOF
29161 rm -f conftest.$ac_objext conftest$ac_exeext
29162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29163 (eval $ac_link) 2>conftest.er1
29164 ac_status=$?
29165 grep -v '^ *+' conftest.er1 >conftest.err
29166 rm -f conftest.er1
29167 cat conftest.err >&5
29168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29169 (exit $ac_status); } &&
29170 { ac_try='test -z "$ac_cxx_werror_flag"
29171 || test ! -s conftest.err'
29172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29173 (eval $ac_try) 2>&5
29174 ac_status=$?
29175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29176 (exit $ac_status); }; } &&
29177 { ac_try='test -s conftest$ac_exeext'
29178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29179 (eval $ac_try) 2>&5
29180 ac_status=$?
29181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182 (exit $ac_status); }; }; then
29183 ac_cv_lib_gdk_gdk_im_open=yes
29184 else
29185 echo "$as_me: failed program was:" >&5
29186 sed 's/^/| /' conftest.$ac_ext >&5
29187
29188 ac_cv_lib_gdk_gdk_im_open=no
29189 fi
29190 rm -f conftest.err conftest.$ac_objext \
29191 conftest$ac_exeext conftest.$ac_ext
29192 LIBS=$ac_check_lib_save_LIBS
29193 fi
29194 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29195 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29196 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29197 cat >>confdefs.h <<\_ACEOF
29198 #define HAVE_XIM 1
29199 _ACEOF
29200
29201 fi
29202
29203
29204
29205 if test "$wxUSE_GPE" = "yes"; then
29206 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29207 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29208
29209 ac_find_libraries=
29210 for ac_dir in $SEARCH_LIB;
29211 do
29212 for ac_extension in a so sl dylib dll.a; do
29213 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29214 ac_find_libraries=$ac_dir
29215 break 2
29216 fi
29217 done
29218 done
29219
29220 if test "$ac_find_libraries" != "" ; then
29221
29222 if test "$ac_find_libraries" = "default location"; then
29223 ac_path_to_link=""
29224 else
29225 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29226 result=$?
29227 if test $result = 0; then
29228 ac_path_to_link=""
29229 else
29230 ac_path_to_link=" -L$ac_find_libraries"
29231 fi
29232 fi
29233
29234 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29235 WXGPE=1
29236 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29237 echo "${ECHO_T}found in $ac_find_libraries" >&6
29238 else
29239 echo "$as_me:$LINENO: result: not found" >&5
29240 echo "${ECHO_T}not found" >&6
29241 fi
29242
29243 fi
29244 fi
29245
29246 if test "$wxUSE_MGL" = 1; then
29247 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29248 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29249 if test "x$MGL_ROOT" = x ; then
29250 echo "$as_me:$LINENO: result: not found" >&5
29251 echo "${ECHO_T}not found" >&6
29252 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29253 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29254 { (exit 1); exit 1; }; }
29255 else
29256 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29257 echo "${ECHO_T}$MGL_ROOT" >&6
29258 fi
29259
29260 echo "$as_me:$LINENO: checking for libmgl location" >&5
29261 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29262 case "${host}" in
29263 *-*-linux* )
29264 if test "x$wxUSE_SHARED" = xyes ; then
29265 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29266 else
29267 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29268 fi
29269 ;;
29270 *-pc-msdosdjgpp )
29271 mgl_os_candidates="dos32/dj2"
29272 ;;
29273 *)
29274 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29275 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29276 { (exit 1); exit 1; }; }
29277 esac
29278
29279 mgl_lib_type=""
29280 mgl_os=""
29281
29282 for mgl_os_i in $mgl_os_candidates ; do
29283 if test "x$mgl_os" = x ; then
29284 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29285 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29286 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29287 mgl_lib_type=debug
29288 mgl_os=$mgl_os_i
29289 fi
29290 fi
29291 if test "x$mgl_lib_type" = x ; then
29292 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29293 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29294 mgl_lib_type=release
29295 mgl_os=$mgl_os_i
29296 fi
29297 fi
29298 fi
29299 done
29300
29301 if test "x$mgl_os" = x ; then
29302 echo "$as_me:$LINENO: result: not found" >&5
29303 echo "${ECHO_T}not found" >&6
29304 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29305 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29306 { (exit 1); exit 1; }; }
29307 fi
29308 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29309 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29310
29311 wxUSE_UNIVERSAL="yes"
29312
29313 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29314 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29315
29316 AFMINSTALL=afminstall
29317 TOOLKIT=MGL
29318 GUIDIST=MGL_DIST
29319 fi
29320
29321 if test "$wxUSE_DFB" = 1; then
29322
29323
29324 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29325 if test -n "$ac_tool_prefix"; then
29326 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29327 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29328 echo "$as_me:$LINENO: checking for $ac_word" >&5
29329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29330 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29331 echo $ECHO_N "(cached) $ECHO_C" >&6
29332 else
29333 case $PKG_CONFIG in
29334 [\\/]* | ?:[\\/]*)
29335 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29336 ;;
29337 *)
29338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29339 for as_dir in $PATH
29340 do
29341 IFS=$as_save_IFS
29342 test -z "$as_dir" && as_dir=.
29343 for ac_exec_ext in '' $ac_executable_extensions; do
29344 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29345 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29347 break 2
29348 fi
29349 done
29350 done
29351
29352 ;;
29353 esac
29354 fi
29355 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29356
29357 if test -n "$PKG_CONFIG"; then
29358 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29359 echo "${ECHO_T}$PKG_CONFIG" >&6
29360 else
29361 echo "$as_me:$LINENO: result: no" >&5
29362 echo "${ECHO_T}no" >&6
29363 fi
29364
29365 fi
29366 if test -z "$ac_cv_path_PKG_CONFIG"; then
29367 ac_pt_PKG_CONFIG=$PKG_CONFIG
29368 # Extract the first word of "pkg-config", so it can be a program name with args.
29369 set dummy pkg-config; ac_word=$2
29370 echo "$as_me:$LINENO: checking for $ac_word" >&5
29371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29372 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29373 echo $ECHO_N "(cached) $ECHO_C" >&6
29374 else
29375 case $ac_pt_PKG_CONFIG in
29376 [\\/]* | ?:[\\/]*)
29377 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29378 ;;
29379 *)
29380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29381 for as_dir in $PATH
29382 do
29383 IFS=$as_save_IFS
29384 test -z "$as_dir" && as_dir=.
29385 for ac_exec_ext in '' $ac_executable_extensions; do
29386 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29387 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29389 break 2
29390 fi
29391 done
29392 done
29393
29394 ;;
29395 esac
29396 fi
29397 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29398
29399 if test -n "$ac_pt_PKG_CONFIG"; then
29400 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29401 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29402 else
29403 echo "$as_me:$LINENO: result: no" >&5
29404 echo "${ECHO_T}no" >&6
29405 fi
29406
29407 PKG_CONFIG=$ac_pt_PKG_CONFIG
29408 else
29409 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29410 fi
29411
29412 fi
29413 if test -n "$PKG_CONFIG"; then
29414 _pkg_min_version=0.9.0
29415 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29416 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29417 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29418 echo "$as_me:$LINENO: result: yes" >&5
29419 echo "${ECHO_T}yes" >&6
29420 else
29421 echo "$as_me:$LINENO: result: no" >&5
29422 echo "${ECHO_T}no" >&6
29423 PKG_CONFIG=""
29424 fi
29425
29426 fi
29427
29428 pkg_failed=no
29429 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29430 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29431
29432 if test -n "$PKG_CONFIG"; then
29433 if test -n "$DIRECTFB_CFLAGS"; then
29434 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29435 else
29436 if test -n "$PKG_CONFIG" && \
29437 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29438 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29439 ac_status=$?
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; then
29442 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29443 else
29444 pkg_failed=yes
29445 fi
29446 fi
29447 else
29448 pkg_failed=untried
29449 fi
29450 if test -n "$PKG_CONFIG"; then
29451 if test -n "$DIRECTFB_LIBS"; then
29452 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29453 else
29454 if test -n "$PKG_CONFIG" && \
29455 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29456 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29457 ac_status=$?
29458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29459 (exit $ac_status); }; then
29460 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29461 else
29462 pkg_failed=yes
29463 fi
29464 fi
29465 else
29466 pkg_failed=untried
29467 fi
29468
29469
29470
29471 if test $pkg_failed = yes; then
29472
29473 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29474 _pkg_short_errors_supported=yes
29475 else
29476 _pkg_short_errors_supported=no
29477 fi
29478 if test $_pkg_short_errors_supported = yes; then
29479 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29480 else
29481 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29482 fi
29483 # Put the nasty error message in config.log where it belongs
29484 echo "$DIRECTFB_PKG_ERRORS" >&5
29485
29486
29487 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29488 echo "$as_me: error: DirectFB not found." >&2;}
29489 { (exit 1); exit 1; }; }
29490
29491
29492 elif test $pkg_failed = untried; then
29493
29494 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29495 echo "$as_me: error: DirectFB not found." >&2;}
29496 { (exit 1); exit 1; }; }
29497
29498
29499 else
29500 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29501 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29502 echo "$as_me:$LINENO: result: yes" >&5
29503 echo "${ECHO_T}yes" >&6
29504
29505 wxUSE_UNIVERSAL="yes"
29506 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29507 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29508 TOOLKIT=DFB
29509 GUIDIST=DFB_DIST
29510
29511 fi
29512 fi
29513
29514 if test "$wxUSE_MICROWIN" = 1; then
29515 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29516 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29517 if test "x$MICROWINDOWS" = x ; then
29518 echo "$as_me:$LINENO: result: not found" >&5
29519 echo "${ECHO_T}not found" >&6
29520 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29521 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29522 { (exit 1); exit 1; }; }
29523 else
29524 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29525 echo "${ECHO_T}$MICROWINDOWS" >&6
29526 fi
29527
29528 if test -f $MICROWINDOWS/lib/libmwin.a; then
29529 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29530 echo "${ECHO_T}MicroWindows' libraries found." >&6
29531 else
29532 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29533 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29534 { (exit 1); exit 1; }; }
29535 fi
29536
29537 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29538 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29539
29540 wxUSE_UNIVERSAL="yes"
29541
29542 AFMINSTALL=afminstall
29543 TOOLKIT=MICROWIN
29544 GUIDIST=MICROWIN_DIST
29545
29546 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29547 fi
29548
29549 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29550 echo "$as_me:$LINENO: checking for X" >&5
29551 echo $ECHO_N "checking for X... $ECHO_C" >&6
29552
29553
29554 # Check whether --with-x or --without-x was given.
29555 if test "${with_x+set}" = set; then
29556 withval="$with_x"
29557
29558 fi;
29559 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29560 if test "x$with_x" = xno; then
29561 # The user explicitly disabled X.
29562 have_x=disabled
29563 else
29564 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29565 # Both variables are already set.
29566 have_x=yes
29567 else
29568 if test "${ac_cv_have_x+set}" = set; then
29569 echo $ECHO_N "(cached) $ECHO_C" >&6
29570 else
29571 # One or both of the vars are not set, and there is no cached value.
29572 ac_x_includes=no ac_x_libraries=no
29573 rm -fr conftest.dir
29574 if mkdir conftest.dir; then
29575 cd conftest.dir
29576 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29577 cat >Imakefile <<'_ACEOF'
29578 acfindx:
29579 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29580 _ACEOF
29581 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29582 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29583 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29584 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29585 for ac_extension in a so sl; do
29586 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29587 test -f $ac_im_libdir/libX11.$ac_extension; then
29588 ac_im_usrlibdir=$ac_im_libdir; break
29589 fi
29590 done
29591 # Screen out bogus values from the imake configuration. They are
29592 # bogus both because they are the default anyway, and because
29593 # using them would break gcc on systems where it needs fixed includes.
29594 case $ac_im_incroot in
29595 /usr/include) ;;
29596 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29597 esac
29598 case $ac_im_usrlibdir in
29599 /usr/lib | /lib) ;;
29600 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29601 esac
29602 fi
29603 cd ..
29604 rm -fr conftest.dir
29605 fi
29606
29607 # Standard set of common directories for X headers.
29608 # Check X11 before X11Rn because it is often a symlink to the current release.
29609 ac_x_header_dirs='
29610 /usr/X11/include
29611 /usr/X11R6/include
29612 /usr/X11R5/include
29613 /usr/X11R4/include
29614
29615 /usr/include/X11
29616 /usr/include/X11R6
29617 /usr/include/X11R5
29618 /usr/include/X11R4
29619
29620 /usr/local/X11/include
29621 /usr/local/X11R6/include
29622 /usr/local/X11R5/include
29623 /usr/local/X11R4/include
29624
29625 /usr/local/include/X11
29626 /usr/local/include/X11R6
29627 /usr/local/include/X11R5
29628 /usr/local/include/X11R4
29629
29630 /usr/X386/include
29631 /usr/x386/include
29632 /usr/XFree86/include/X11
29633
29634 /usr/include
29635 /usr/local/include
29636 /usr/unsupported/include
29637 /usr/athena/include
29638 /usr/local/x11r5/include
29639 /usr/lpp/Xamples/include
29640
29641 /usr/openwin/include
29642 /usr/openwin/share/include'
29643
29644 if test "$ac_x_includes" = no; then
29645 # Guess where to find include files, by looking for Xlib.h.
29646 # First, try using that file with no special directory specified.
29647 cat >conftest.$ac_ext <<_ACEOF
29648 /* confdefs.h. */
29649 _ACEOF
29650 cat confdefs.h >>conftest.$ac_ext
29651 cat >>conftest.$ac_ext <<_ACEOF
29652 /* end confdefs.h. */
29653 #include <X11/Xlib.h>
29654 _ACEOF
29655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29657 ac_status=$?
29658 grep -v '^ *+' conftest.er1 >conftest.err
29659 rm -f conftest.er1
29660 cat conftest.err >&5
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); } >/dev/null; then
29663 if test -s conftest.err; then
29664 ac_cpp_err=$ac_cxx_preproc_warn_flag
29665 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29666 else
29667 ac_cpp_err=
29668 fi
29669 else
29670 ac_cpp_err=yes
29671 fi
29672 if test -z "$ac_cpp_err"; then
29673 # We can compile using X headers with no special include directory.
29674 ac_x_includes=
29675 else
29676 echo "$as_me: failed program was:" >&5
29677 sed 's/^/| /' conftest.$ac_ext >&5
29678
29679 for ac_dir in $ac_x_header_dirs; do
29680 if test -r "$ac_dir/X11/Xlib.h"; then
29681 ac_x_includes=$ac_dir
29682 break
29683 fi
29684 done
29685 fi
29686 rm -f conftest.err conftest.$ac_ext
29687 fi # $ac_x_includes = no
29688
29689 if test "$ac_x_libraries" = no; then
29690 # Check for the libraries.
29691 # See if we find them without any special options.
29692 # Don't add to $LIBS permanently.
29693 ac_save_LIBS=$LIBS
29694 LIBS="-lXt $LIBS"
29695 cat >conftest.$ac_ext <<_ACEOF
29696 /* confdefs.h. */
29697 _ACEOF
29698 cat confdefs.h >>conftest.$ac_ext
29699 cat >>conftest.$ac_ext <<_ACEOF
29700 /* end confdefs.h. */
29701 #include <X11/Xlib.h>
29702 int
29703 main ()
29704 {
29705 XrmInitialize ()
29706 ;
29707 return 0;
29708 }
29709 _ACEOF
29710 rm -f conftest.$ac_objext conftest$ac_exeext
29711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29712 (eval $ac_link) 2>conftest.er1
29713 ac_status=$?
29714 grep -v '^ *+' conftest.er1 >conftest.err
29715 rm -f conftest.er1
29716 cat conftest.err >&5
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); } &&
29719 { ac_try='test -z "$ac_cxx_werror_flag"
29720 || test ! -s conftest.err'
29721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29722 (eval $ac_try) 2>&5
29723 ac_status=$?
29724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29725 (exit $ac_status); }; } &&
29726 { ac_try='test -s conftest$ac_exeext'
29727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29728 (eval $ac_try) 2>&5
29729 ac_status=$?
29730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29731 (exit $ac_status); }; }; then
29732 LIBS=$ac_save_LIBS
29733 # We can link X programs with no special library path.
29734 ac_x_libraries=
29735 else
29736 echo "$as_me: failed program was:" >&5
29737 sed 's/^/| /' conftest.$ac_ext >&5
29738
29739 LIBS=$ac_save_LIBS
29740 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29741 do
29742 # Don't even attempt the hair of trying to link an X program!
29743 for ac_extension in a so sl; do
29744 if test -r $ac_dir/libXt.$ac_extension; then
29745 ac_x_libraries=$ac_dir
29746 break 2
29747 fi
29748 done
29749 done
29750 fi
29751 rm -f conftest.err conftest.$ac_objext \
29752 conftest$ac_exeext conftest.$ac_ext
29753 fi # $ac_x_libraries = no
29754
29755 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29756 # Didn't find X anywhere. Cache the known absence of X.
29757 ac_cv_have_x="have_x=no"
29758 else
29759 # Record where we found X for the cache.
29760 ac_cv_have_x="have_x=yes \
29761 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29762 fi
29763 fi
29764
29765 fi
29766 eval "$ac_cv_have_x"
29767 fi # $with_x != no
29768
29769 if test "$have_x" != yes; then
29770 echo "$as_me:$LINENO: result: $have_x" >&5
29771 echo "${ECHO_T}$have_x" >&6
29772 no_x=yes
29773 else
29774 # If each of the values was on the command line, it overrides each guess.
29775 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29776 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29777 # Update the cache value to reflect the command line values.
29778 ac_cv_have_x="have_x=yes \
29779 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29780 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29781 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
29782 fi
29783
29784 if test "$no_x" = yes; then
29785 # Not all programs may use this symbol, but it does not hurt to define it.
29786
29787 cat >>confdefs.h <<\_ACEOF
29788 #define X_DISPLAY_MISSING 1
29789 _ACEOF
29790
29791 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29792 else
29793 if test -n "$x_includes"; then
29794 X_CFLAGS="$X_CFLAGS -I$x_includes"
29795 fi
29796
29797 # It would also be nice to do this for all -L options, not just this one.
29798 if test -n "$x_libraries"; then
29799 X_LIBS="$X_LIBS -L$x_libraries"
29800 # For Solaris; some versions of Sun CC require a space after -R and
29801 # others require no space. Words are not sufficient . . . .
29802 case `(uname -sr) 2>/dev/null` in
29803 "SunOS 5"*)
29804 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29805 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29806 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29807 cat >conftest.$ac_ext <<_ACEOF
29808 /* confdefs.h. */
29809 _ACEOF
29810 cat confdefs.h >>conftest.$ac_ext
29811 cat >>conftest.$ac_ext <<_ACEOF
29812 /* end confdefs.h. */
29813
29814 int
29815 main ()
29816 {
29817
29818 ;
29819 return 0;
29820 }
29821 _ACEOF
29822 rm -f conftest.$ac_objext conftest$ac_exeext
29823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29824 (eval $ac_link) 2>conftest.er1
29825 ac_status=$?
29826 grep -v '^ *+' conftest.er1 >conftest.err
29827 rm -f conftest.er1
29828 cat conftest.err >&5
29829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29830 (exit $ac_status); } &&
29831 { ac_try='test -z "$ac_cxx_werror_flag"
29832 || test ! -s conftest.err'
29833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29834 (eval $ac_try) 2>&5
29835 ac_status=$?
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); }; } &&
29838 { ac_try='test -s conftest$ac_exeext'
29839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29840 (eval $ac_try) 2>&5
29841 ac_status=$?
29842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843 (exit $ac_status); }; }; then
29844 ac_R_nospace=yes
29845 else
29846 echo "$as_me: failed program was:" >&5
29847 sed 's/^/| /' conftest.$ac_ext >&5
29848
29849 ac_R_nospace=no
29850 fi
29851 rm -f conftest.err conftest.$ac_objext \
29852 conftest$ac_exeext conftest.$ac_ext
29853 if test $ac_R_nospace = yes; then
29854 echo "$as_me:$LINENO: result: no" >&5
29855 echo "${ECHO_T}no" >&6
29856 X_LIBS="$X_LIBS -R$x_libraries"
29857 else
29858 LIBS="$ac_xsave_LIBS -R $x_libraries"
29859 cat >conftest.$ac_ext <<_ACEOF
29860 /* confdefs.h. */
29861 _ACEOF
29862 cat confdefs.h >>conftest.$ac_ext
29863 cat >>conftest.$ac_ext <<_ACEOF
29864 /* end confdefs.h. */
29865
29866 int
29867 main ()
29868 {
29869
29870 ;
29871 return 0;
29872 }
29873 _ACEOF
29874 rm -f conftest.$ac_objext conftest$ac_exeext
29875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29876 (eval $ac_link) 2>conftest.er1
29877 ac_status=$?
29878 grep -v '^ *+' conftest.er1 >conftest.err
29879 rm -f conftest.er1
29880 cat conftest.err >&5
29881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29882 (exit $ac_status); } &&
29883 { ac_try='test -z "$ac_cxx_werror_flag"
29884 || test ! -s conftest.err'
29885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29886 (eval $ac_try) 2>&5
29887 ac_status=$?
29888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29889 (exit $ac_status); }; } &&
29890 { ac_try='test -s conftest$ac_exeext'
29891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29892 (eval $ac_try) 2>&5
29893 ac_status=$?
29894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29895 (exit $ac_status); }; }; then
29896 ac_R_space=yes
29897 else
29898 echo "$as_me: failed program was:" >&5
29899 sed 's/^/| /' conftest.$ac_ext >&5
29900
29901 ac_R_space=no
29902 fi
29903 rm -f conftest.err conftest.$ac_objext \
29904 conftest$ac_exeext conftest.$ac_ext
29905 if test $ac_R_space = yes; then
29906 echo "$as_me:$LINENO: result: yes" >&5
29907 echo "${ECHO_T}yes" >&6
29908 X_LIBS="$X_LIBS -R $x_libraries"
29909 else
29910 echo "$as_me:$LINENO: result: neither works" >&5
29911 echo "${ECHO_T}neither works" >&6
29912 fi
29913 fi
29914 LIBS=$ac_xsave_LIBS
29915 esac
29916 fi
29917
29918 # Check for system-dependent libraries X programs must link with.
29919 # Do this before checking for the system-independent R6 libraries
29920 # (-lICE), since we may need -lsocket or whatever for X linking.
29921
29922 if test "$ISC" = yes; then
29923 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29924 else
29925 # Martyn Johnson says this is needed for Ultrix, if the X
29926 # libraries were built with DECnet support. And Karl Berry says
29927 # the Alpha needs dnet_stub (dnet does not exist).
29928 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29929 cat >conftest.$ac_ext <<_ACEOF
29930 /* confdefs.h. */
29931 _ACEOF
29932 cat confdefs.h >>conftest.$ac_ext
29933 cat >>conftest.$ac_ext <<_ACEOF
29934 /* end confdefs.h. */
29935
29936 /* Override any gcc2 internal prototype to avoid an error. */
29937 #ifdef __cplusplus
29938 extern "C"
29939 #endif
29940 /* We use char because int might match the return type of a gcc2
29941 builtin and then its argument prototype would still apply. */
29942 char XOpenDisplay ();
29943 int
29944 main ()
29945 {
29946 XOpenDisplay ();
29947 ;
29948 return 0;
29949 }
29950 _ACEOF
29951 rm -f conftest.$ac_objext conftest$ac_exeext
29952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29953 (eval $ac_link) 2>conftest.er1
29954 ac_status=$?
29955 grep -v '^ *+' conftest.er1 >conftest.err
29956 rm -f conftest.er1
29957 cat conftest.err >&5
29958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29959 (exit $ac_status); } &&
29960 { ac_try='test -z "$ac_cxx_werror_flag"
29961 || test ! -s conftest.err'
29962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29963 (eval $ac_try) 2>&5
29964 ac_status=$?
29965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966 (exit $ac_status); }; } &&
29967 { ac_try='test -s conftest$ac_exeext'
29968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29969 (eval $ac_try) 2>&5
29970 ac_status=$?
29971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29972 (exit $ac_status); }; }; then
29973 :
29974 else
29975 echo "$as_me: failed program was:" >&5
29976 sed 's/^/| /' conftest.$ac_ext >&5
29977
29978 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29979 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29980 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29981 echo $ECHO_N "(cached) $ECHO_C" >&6
29982 else
29983 ac_check_lib_save_LIBS=$LIBS
29984 LIBS="-ldnet $LIBS"
29985 cat >conftest.$ac_ext <<_ACEOF
29986 /* confdefs.h. */
29987 _ACEOF
29988 cat confdefs.h >>conftest.$ac_ext
29989 cat >>conftest.$ac_ext <<_ACEOF
29990 /* end confdefs.h. */
29991
29992 /* Override any gcc2 internal prototype to avoid an error. */
29993 #ifdef __cplusplus
29994 extern "C"
29995 #endif
29996 /* We use char because int might match the return type of a gcc2
29997 builtin and then its argument prototype would still apply. */
29998 char dnet_ntoa ();
29999 int
30000 main ()
30001 {
30002 dnet_ntoa ();
30003 ;
30004 return 0;
30005 }
30006 _ACEOF
30007 rm -f conftest.$ac_objext conftest$ac_exeext
30008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30009 (eval $ac_link) 2>conftest.er1
30010 ac_status=$?
30011 grep -v '^ *+' conftest.er1 >conftest.err
30012 rm -f conftest.er1
30013 cat conftest.err >&5
30014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30015 (exit $ac_status); } &&
30016 { ac_try='test -z "$ac_cxx_werror_flag"
30017 || test ! -s conftest.err'
30018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30019 (eval $ac_try) 2>&5
30020 ac_status=$?
30021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30022 (exit $ac_status); }; } &&
30023 { ac_try='test -s conftest$ac_exeext'
30024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30025 (eval $ac_try) 2>&5
30026 ac_status=$?
30027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30028 (exit $ac_status); }; }; then
30029 ac_cv_lib_dnet_dnet_ntoa=yes
30030 else
30031 echo "$as_me: failed program was:" >&5
30032 sed 's/^/| /' conftest.$ac_ext >&5
30033
30034 ac_cv_lib_dnet_dnet_ntoa=no
30035 fi
30036 rm -f conftest.err conftest.$ac_objext \
30037 conftest$ac_exeext conftest.$ac_ext
30038 LIBS=$ac_check_lib_save_LIBS
30039 fi
30040 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30041 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30042 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30043 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30044 fi
30045
30046 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30047 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30048 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30049 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30050 echo $ECHO_N "(cached) $ECHO_C" >&6
30051 else
30052 ac_check_lib_save_LIBS=$LIBS
30053 LIBS="-ldnet_stub $LIBS"
30054 cat >conftest.$ac_ext <<_ACEOF
30055 /* confdefs.h. */
30056 _ACEOF
30057 cat confdefs.h >>conftest.$ac_ext
30058 cat >>conftest.$ac_ext <<_ACEOF
30059 /* end confdefs.h. */
30060
30061 /* Override any gcc2 internal prototype to avoid an error. */
30062 #ifdef __cplusplus
30063 extern "C"
30064 #endif
30065 /* We use char because int might match the return type of a gcc2
30066 builtin and then its argument prototype would still apply. */
30067 char dnet_ntoa ();
30068 int
30069 main ()
30070 {
30071 dnet_ntoa ();
30072 ;
30073 return 0;
30074 }
30075 _ACEOF
30076 rm -f conftest.$ac_objext conftest$ac_exeext
30077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30078 (eval $ac_link) 2>conftest.er1
30079 ac_status=$?
30080 grep -v '^ *+' conftest.er1 >conftest.err
30081 rm -f conftest.er1
30082 cat conftest.err >&5
30083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30084 (exit $ac_status); } &&
30085 { ac_try='test -z "$ac_cxx_werror_flag"
30086 || test ! -s conftest.err'
30087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30088 (eval $ac_try) 2>&5
30089 ac_status=$?
30090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30091 (exit $ac_status); }; } &&
30092 { ac_try='test -s conftest$ac_exeext'
30093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30094 (eval $ac_try) 2>&5
30095 ac_status=$?
30096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30097 (exit $ac_status); }; }; then
30098 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30099 else
30100 echo "$as_me: failed program was:" >&5
30101 sed 's/^/| /' conftest.$ac_ext >&5
30102
30103 ac_cv_lib_dnet_stub_dnet_ntoa=no
30104 fi
30105 rm -f conftest.err conftest.$ac_objext \
30106 conftest$ac_exeext conftest.$ac_ext
30107 LIBS=$ac_check_lib_save_LIBS
30108 fi
30109 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30110 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30111 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30112 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30113 fi
30114
30115 fi
30116 fi
30117 rm -f conftest.err conftest.$ac_objext \
30118 conftest$ac_exeext conftest.$ac_ext
30119 LIBS="$ac_xsave_LIBS"
30120
30121 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30122 # to get the SysV transport functions.
30123 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30124 # needs -lnsl.
30125 # The nsl library prevents programs from opening the X display
30126 # on Irix 5.2, according to T.E. Dickey.
30127 # The functions gethostbyname, getservbyname, and inet_addr are
30128 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30129 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30130 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30131 if test "${ac_cv_func_gethostbyname+set}" = set; then
30132 echo $ECHO_N "(cached) $ECHO_C" >&6
30133 else
30134 cat >conftest.$ac_ext <<_ACEOF
30135 /* confdefs.h. */
30136 _ACEOF
30137 cat confdefs.h >>conftest.$ac_ext
30138 cat >>conftest.$ac_ext <<_ACEOF
30139 /* end confdefs.h. */
30140 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30142 #define gethostbyname innocuous_gethostbyname
30143
30144 /* System header to define __stub macros and hopefully few prototypes,
30145 which can conflict with char gethostbyname (); below.
30146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30147 <limits.h> exists even on freestanding compilers. */
30148
30149 #ifdef __STDC__
30150 # include <limits.h>
30151 #else
30152 # include <assert.h>
30153 #endif
30154
30155 #undef gethostbyname
30156
30157 /* Override any gcc2 internal prototype to avoid an error. */
30158 #ifdef __cplusplus
30159 extern "C"
30160 {
30161 #endif
30162 /* We use char because int might match the return type of a gcc2
30163 builtin and then its argument prototype would still apply. */
30164 char gethostbyname ();
30165 /* The GNU C library defines this for functions which it implements
30166 to always fail with ENOSYS. Some functions are actually named
30167 something starting with __ and the normal name is an alias. */
30168 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30169 choke me
30170 #else
30171 char (*f) () = gethostbyname;
30172 #endif
30173 #ifdef __cplusplus
30174 }
30175 #endif
30176
30177 int
30178 main ()
30179 {
30180 return f != gethostbyname;
30181 ;
30182 return 0;
30183 }
30184 _ACEOF
30185 rm -f conftest.$ac_objext conftest$ac_exeext
30186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30187 (eval $ac_link) 2>conftest.er1
30188 ac_status=$?
30189 grep -v '^ *+' conftest.er1 >conftest.err
30190 rm -f conftest.er1
30191 cat conftest.err >&5
30192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30193 (exit $ac_status); } &&
30194 { ac_try='test -z "$ac_cxx_werror_flag"
30195 || test ! -s conftest.err'
30196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30197 (eval $ac_try) 2>&5
30198 ac_status=$?
30199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30200 (exit $ac_status); }; } &&
30201 { ac_try='test -s conftest$ac_exeext'
30202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30203 (eval $ac_try) 2>&5
30204 ac_status=$?
30205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30206 (exit $ac_status); }; }; then
30207 ac_cv_func_gethostbyname=yes
30208 else
30209 echo "$as_me: failed program was:" >&5
30210 sed 's/^/| /' conftest.$ac_ext >&5
30211
30212 ac_cv_func_gethostbyname=no
30213 fi
30214 rm -f conftest.err conftest.$ac_objext \
30215 conftest$ac_exeext conftest.$ac_ext
30216 fi
30217 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30218 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30219
30220 if test $ac_cv_func_gethostbyname = no; then
30221 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30222 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30223 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30224 echo $ECHO_N "(cached) $ECHO_C" >&6
30225 else
30226 ac_check_lib_save_LIBS=$LIBS
30227 LIBS="-lnsl $LIBS"
30228 cat >conftest.$ac_ext <<_ACEOF
30229 /* confdefs.h. */
30230 _ACEOF
30231 cat confdefs.h >>conftest.$ac_ext
30232 cat >>conftest.$ac_ext <<_ACEOF
30233 /* end confdefs.h. */
30234
30235 /* Override any gcc2 internal prototype to avoid an error. */
30236 #ifdef __cplusplus
30237 extern "C"
30238 #endif
30239 /* We use char because int might match the return type of a gcc2
30240 builtin and then its argument prototype would still apply. */
30241 char gethostbyname ();
30242 int
30243 main ()
30244 {
30245 gethostbyname ();
30246 ;
30247 return 0;
30248 }
30249 _ACEOF
30250 rm -f conftest.$ac_objext conftest$ac_exeext
30251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30252 (eval $ac_link) 2>conftest.er1
30253 ac_status=$?
30254 grep -v '^ *+' conftest.er1 >conftest.err
30255 rm -f conftest.er1
30256 cat conftest.err >&5
30257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30258 (exit $ac_status); } &&
30259 { ac_try='test -z "$ac_cxx_werror_flag"
30260 || test ! -s conftest.err'
30261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30262 (eval $ac_try) 2>&5
30263 ac_status=$?
30264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30265 (exit $ac_status); }; } &&
30266 { ac_try='test -s conftest$ac_exeext'
30267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30268 (eval $ac_try) 2>&5
30269 ac_status=$?
30270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30271 (exit $ac_status); }; }; then
30272 ac_cv_lib_nsl_gethostbyname=yes
30273 else
30274 echo "$as_me: failed program was:" >&5
30275 sed 's/^/| /' conftest.$ac_ext >&5
30276
30277 ac_cv_lib_nsl_gethostbyname=no
30278 fi
30279 rm -f conftest.err conftest.$ac_objext \
30280 conftest$ac_exeext conftest.$ac_ext
30281 LIBS=$ac_check_lib_save_LIBS
30282 fi
30283 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30284 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30285 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30286 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30287 fi
30288
30289 if test $ac_cv_lib_nsl_gethostbyname = no; then
30290 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30291 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30292 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30293 echo $ECHO_N "(cached) $ECHO_C" >&6
30294 else
30295 ac_check_lib_save_LIBS=$LIBS
30296 LIBS="-lbsd $LIBS"
30297 cat >conftest.$ac_ext <<_ACEOF
30298 /* confdefs.h. */
30299 _ACEOF
30300 cat confdefs.h >>conftest.$ac_ext
30301 cat >>conftest.$ac_ext <<_ACEOF
30302 /* end confdefs.h. */
30303
30304 /* Override any gcc2 internal prototype to avoid an error. */
30305 #ifdef __cplusplus
30306 extern "C"
30307 #endif
30308 /* We use char because int might match the return type of a gcc2
30309 builtin and then its argument prototype would still apply. */
30310 char gethostbyname ();
30311 int
30312 main ()
30313 {
30314 gethostbyname ();
30315 ;
30316 return 0;
30317 }
30318 _ACEOF
30319 rm -f conftest.$ac_objext conftest$ac_exeext
30320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30321 (eval $ac_link) 2>conftest.er1
30322 ac_status=$?
30323 grep -v '^ *+' conftest.er1 >conftest.err
30324 rm -f conftest.er1
30325 cat conftest.err >&5
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); } &&
30328 { ac_try='test -z "$ac_cxx_werror_flag"
30329 || test ! -s conftest.err'
30330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30331 (eval $ac_try) 2>&5
30332 ac_status=$?
30333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30334 (exit $ac_status); }; } &&
30335 { ac_try='test -s conftest$ac_exeext'
30336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30337 (eval $ac_try) 2>&5
30338 ac_status=$?
30339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30340 (exit $ac_status); }; }; then
30341 ac_cv_lib_bsd_gethostbyname=yes
30342 else
30343 echo "$as_me: failed program was:" >&5
30344 sed 's/^/| /' conftest.$ac_ext >&5
30345
30346 ac_cv_lib_bsd_gethostbyname=no
30347 fi
30348 rm -f conftest.err conftest.$ac_objext \
30349 conftest$ac_exeext conftest.$ac_ext
30350 LIBS=$ac_check_lib_save_LIBS
30351 fi
30352 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30353 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30354 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30355 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30356 fi
30357
30358 fi
30359 fi
30360
30361 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30362 # socket/setsockopt and other routines are undefined under SCO ODT
30363 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30364 # on later versions), says Simon Leinen: it contains gethostby*
30365 # variants that don't use the name server (or something). -lsocket
30366 # must be given before -lnsl if both are needed. We assume that
30367 # if connect needs -lnsl, so does gethostbyname.
30368 echo "$as_me:$LINENO: checking for connect" >&5
30369 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30370 if test "${ac_cv_func_connect+set}" = set; then
30371 echo $ECHO_N "(cached) $ECHO_C" >&6
30372 else
30373 cat >conftest.$ac_ext <<_ACEOF
30374 /* confdefs.h. */
30375 _ACEOF
30376 cat confdefs.h >>conftest.$ac_ext
30377 cat >>conftest.$ac_ext <<_ACEOF
30378 /* end confdefs.h. */
30379 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30381 #define connect innocuous_connect
30382
30383 /* System header to define __stub macros and hopefully few prototypes,
30384 which can conflict with char connect (); below.
30385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30386 <limits.h> exists even on freestanding compilers. */
30387
30388 #ifdef __STDC__
30389 # include <limits.h>
30390 #else
30391 # include <assert.h>
30392 #endif
30393
30394 #undef connect
30395
30396 /* Override any gcc2 internal prototype to avoid an error. */
30397 #ifdef __cplusplus
30398 extern "C"
30399 {
30400 #endif
30401 /* We use char because int might match the return type of a gcc2
30402 builtin and then its argument prototype would still apply. */
30403 char connect ();
30404 /* The GNU C library defines this for functions which it implements
30405 to always fail with ENOSYS. Some functions are actually named
30406 something starting with __ and the normal name is an alias. */
30407 #if defined (__stub_connect) || defined (__stub___connect)
30408 choke me
30409 #else
30410 char (*f) () = connect;
30411 #endif
30412 #ifdef __cplusplus
30413 }
30414 #endif
30415
30416 int
30417 main ()
30418 {
30419 return f != connect;
30420 ;
30421 return 0;
30422 }
30423 _ACEOF
30424 rm -f conftest.$ac_objext conftest$ac_exeext
30425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30426 (eval $ac_link) 2>conftest.er1
30427 ac_status=$?
30428 grep -v '^ *+' conftest.er1 >conftest.err
30429 rm -f conftest.er1
30430 cat conftest.err >&5
30431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30432 (exit $ac_status); } &&
30433 { ac_try='test -z "$ac_cxx_werror_flag"
30434 || test ! -s conftest.err'
30435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30436 (eval $ac_try) 2>&5
30437 ac_status=$?
30438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30439 (exit $ac_status); }; } &&
30440 { ac_try='test -s conftest$ac_exeext'
30441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30442 (eval $ac_try) 2>&5
30443 ac_status=$?
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); }; }; then
30446 ac_cv_func_connect=yes
30447 else
30448 echo "$as_me: failed program was:" >&5
30449 sed 's/^/| /' conftest.$ac_ext >&5
30450
30451 ac_cv_func_connect=no
30452 fi
30453 rm -f conftest.err conftest.$ac_objext \
30454 conftest$ac_exeext conftest.$ac_ext
30455 fi
30456 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30457 echo "${ECHO_T}$ac_cv_func_connect" >&6
30458
30459 if test $ac_cv_func_connect = no; then
30460 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30461 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30462 if test "${ac_cv_lib_socket_connect+set}" = set; then
30463 echo $ECHO_N "(cached) $ECHO_C" >&6
30464 else
30465 ac_check_lib_save_LIBS=$LIBS
30466 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30467 cat >conftest.$ac_ext <<_ACEOF
30468 /* confdefs.h. */
30469 _ACEOF
30470 cat confdefs.h >>conftest.$ac_ext
30471 cat >>conftest.$ac_ext <<_ACEOF
30472 /* end confdefs.h. */
30473
30474 /* Override any gcc2 internal prototype to avoid an error. */
30475 #ifdef __cplusplus
30476 extern "C"
30477 #endif
30478 /* We use char because int might match the return type of a gcc2
30479 builtin and then its argument prototype would still apply. */
30480 char connect ();
30481 int
30482 main ()
30483 {
30484 connect ();
30485 ;
30486 return 0;
30487 }
30488 _ACEOF
30489 rm -f conftest.$ac_objext conftest$ac_exeext
30490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30491 (eval $ac_link) 2>conftest.er1
30492 ac_status=$?
30493 grep -v '^ *+' conftest.er1 >conftest.err
30494 rm -f conftest.er1
30495 cat conftest.err >&5
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); } &&
30498 { ac_try='test -z "$ac_cxx_werror_flag"
30499 || test ! -s conftest.err'
30500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30501 (eval $ac_try) 2>&5
30502 ac_status=$?
30503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30504 (exit $ac_status); }; } &&
30505 { ac_try='test -s conftest$ac_exeext'
30506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30507 (eval $ac_try) 2>&5
30508 ac_status=$?
30509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510 (exit $ac_status); }; }; then
30511 ac_cv_lib_socket_connect=yes
30512 else
30513 echo "$as_me: failed program was:" >&5
30514 sed 's/^/| /' conftest.$ac_ext >&5
30515
30516 ac_cv_lib_socket_connect=no
30517 fi
30518 rm -f conftest.err conftest.$ac_objext \
30519 conftest$ac_exeext conftest.$ac_ext
30520 LIBS=$ac_check_lib_save_LIBS
30521 fi
30522 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30523 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30524 if test $ac_cv_lib_socket_connect = yes; then
30525 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30526 fi
30527
30528 fi
30529
30530 # Guillermo Gomez says -lposix is necessary on A/UX.
30531 echo "$as_me:$LINENO: checking for remove" >&5
30532 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30533 if test "${ac_cv_func_remove+set}" = set; then
30534 echo $ECHO_N "(cached) $ECHO_C" >&6
30535 else
30536 cat >conftest.$ac_ext <<_ACEOF
30537 /* confdefs.h. */
30538 _ACEOF
30539 cat confdefs.h >>conftest.$ac_ext
30540 cat >>conftest.$ac_ext <<_ACEOF
30541 /* end confdefs.h. */
30542 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30544 #define remove innocuous_remove
30545
30546 /* System header to define __stub macros and hopefully few prototypes,
30547 which can conflict with char remove (); below.
30548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30549 <limits.h> exists even on freestanding compilers. */
30550
30551 #ifdef __STDC__
30552 # include <limits.h>
30553 #else
30554 # include <assert.h>
30555 #endif
30556
30557 #undef remove
30558
30559 /* Override any gcc2 internal prototype to avoid an error. */
30560 #ifdef __cplusplus
30561 extern "C"
30562 {
30563 #endif
30564 /* We use char because int might match the return type of a gcc2
30565 builtin and then its argument prototype would still apply. */
30566 char remove ();
30567 /* The GNU C library defines this for functions which it implements
30568 to always fail with ENOSYS. Some functions are actually named
30569 something starting with __ and the normal name is an alias. */
30570 #if defined (__stub_remove) || defined (__stub___remove)
30571 choke me
30572 #else
30573 char (*f) () = remove;
30574 #endif
30575 #ifdef __cplusplus
30576 }
30577 #endif
30578
30579 int
30580 main ()
30581 {
30582 return f != remove;
30583 ;
30584 return 0;
30585 }
30586 _ACEOF
30587 rm -f conftest.$ac_objext conftest$ac_exeext
30588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30589 (eval $ac_link) 2>conftest.er1
30590 ac_status=$?
30591 grep -v '^ *+' conftest.er1 >conftest.err
30592 rm -f conftest.er1
30593 cat conftest.err >&5
30594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30595 (exit $ac_status); } &&
30596 { ac_try='test -z "$ac_cxx_werror_flag"
30597 || test ! -s conftest.err'
30598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30599 (eval $ac_try) 2>&5
30600 ac_status=$?
30601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30602 (exit $ac_status); }; } &&
30603 { ac_try='test -s conftest$ac_exeext'
30604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30605 (eval $ac_try) 2>&5
30606 ac_status=$?
30607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30608 (exit $ac_status); }; }; then
30609 ac_cv_func_remove=yes
30610 else
30611 echo "$as_me: failed program was:" >&5
30612 sed 's/^/| /' conftest.$ac_ext >&5
30613
30614 ac_cv_func_remove=no
30615 fi
30616 rm -f conftest.err conftest.$ac_objext \
30617 conftest$ac_exeext conftest.$ac_ext
30618 fi
30619 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30620 echo "${ECHO_T}$ac_cv_func_remove" >&6
30621
30622 if test $ac_cv_func_remove = no; then
30623 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30624 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30625 if test "${ac_cv_lib_posix_remove+set}" = set; then
30626 echo $ECHO_N "(cached) $ECHO_C" >&6
30627 else
30628 ac_check_lib_save_LIBS=$LIBS
30629 LIBS="-lposix $LIBS"
30630 cat >conftest.$ac_ext <<_ACEOF
30631 /* confdefs.h. */
30632 _ACEOF
30633 cat confdefs.h >>conftest.$ac_ext
30634 cat >>conftest.$ac_ext <<_ACEOF
30635 /* end confdefs.h. */
30636
30637 /* Override any gcc2 internal prototype to avoid an error. */
30638 #ifdef __cplusplus
30639 extern "C"
30640 #endif
30641 /* We use char because int might match the return type of a gcc2
30642 builtin and then its argument prototype would still apply. */
30643 char remove ();
30644 int
30645 main ()
30646 {
30647 remove ();
30648 ;
30649 return 0;
30650 }
30651 _ACEOF
30652 rm -f conftest.$ac_objext conftest$ac_exeext
30653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30654 (eval $ac_link) 2>conftest.er1
30655 ac_status=$?
30656 grep -v '^ *+' conftest.er1 >conftest.err
30657 rm -f conftest.er1
30658 cat conftest.err >&5
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); } &&
30661 { ac_try='test -z "$ac_cxx_werror_flag"
30662 || test ! -s conftest.err'
30663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30664 (eval $ac_try) 2>&5
30665 ac_status=$?
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); }; } &&
30668 { ac_try='test -s conftest$ac_exeext'
30669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30670 (eval $ac_try) 2>&5
30671 ac_status=$?
30672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673 (exit $ac_status); }; }; then
30674 ac_cv_lib_posix_remove=yes
30675 else
30676 echo "$as_me: failed program was:" >&5
30677 sed 's/^/| /' conftest.$ac_ext >&5
30678
30679 ac_cv_lib_posix_remove=no
30680 fi
30681 rm -f conftest.err conftest.$ac_objext \
30682 conftest$ac_exeext conftest.$ac_ext
30683 LIBS=$ac_check_lib_save_LIBS
30684 fi
30685 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30686 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30687 if test $ac_cv_lib_posix_remove = yes; then
30688 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30689 fi
30690
30691 fi
30692
30693 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30694 echo "$as_me:$LINENO: checking for shmat" >&5
30695 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30696 if test "${ac_cv_func_shmat+set}" = set; then
30697 echo $ECHO_N "(cached) $ECHO_C" >&6
30698 else
30699 cat >conftest.$ac_ext <<_ACEOF
30700 /* confdefs.h. */
30701 _ACEOF
30702 cat confdefs.h >>conftest.$ac_ext
30703 cat >>conftest.$ac_ext <<_ACEOF
30704 /* end confdefs.h. */
30705 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30707 #define shmat innocuous_shmat
30708
30709 /* System header to define __stub macros and hopefully few prototypes,
30710 which can conflict with char shmat (); below.
30711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30712 <limits.h> exists even on freestanding compilers. */
30713
30714 #ifdef __STDC__
30715 # include <limits.h>
30716 #else
30717 # include <assert.h>
30718 #endif
30719
30720 #undef shmat
30721
30722 /* Override any gcc2 internal prototype to avoid an error. */
30723 #ifdef __cplusplus
30724 extern "C"
30725 {
30726 #endif
30727 /* We use char because int might match the return type of a gcc2
30728 builtin and then its argument prototype would still apply. */
30729 char shmat ();
30730 /* The GNU C library defines this for functions which it implements
30731 to always fail with ENOSYS. Some functions are actually named
30732 something starting with __ and the normal name is an alias. */
30733 #if defined (__stub_shmat) || defined (__stub___shmat)
30734 choke me
30735 #else
30736 char (*f) () = shmat;
30737 #endif
30738 #ifdef __cplusplus
30739 }
30740 #endif
30741
30742 int
30743 main ()
30744 {
30745 return f != shmat;
30746 ;
30747 return 0;
30748 }
30749 _ACEOF
30750 rm -f conftest.$ac_objext conftest$ac_exeext
30751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30752 (eval $ac_link) 2>conftest.er1
30753 ac_status=$?
30754 grep -v '^ *+' conftest.er1 >conftest.err
30755 rm -f conftest.er1
30756 cat conftest.err >&5
30757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30758 (exit $ac_status); } &&
30759 { ac_try='test -z "$ac_cxx_werror_flag"
30760 || test ! -s conftest.err'
30761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30762 (eval $ac_try) 2>&5
30763 ac_status=$?
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); }; } &&
30766 { ac_try='test -s conftest$ac_exeext'
30767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30768 (eval $ac_try) 2>&5
30769 ac_status=$?
30770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30771 (exit $ac_status); }; }; then
30772 ac_cv_func_shmat=yes
30773 else
30774 echo "$as_me: failed program was:" >&5
30775 sed 's/^/| /' conftest.$ac_ext >&5
30776
30777 ac_cv_func_shmat=no
30778 fi
30779 rm -f conftest.err conftest.$ac_objext \
30780 conftest$ac_exeext conftest.$ac_ext
30781 fi
30782 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30783 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30784
30785 if test $ac_cv_func_shmat = no; then
30786 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30787 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30788 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30789 echo $ECHO_N "(cached) $ECHO_C" >&6
30790 else
30791 ac_check_lib_save_LIBS=$LIBS
30792 LIBS="-lipc $LIBS"
30793 cat >conftest.$ac_ext <<_ACEOF
30794 /* confdefs.h. */
30795 _ACEOF
30796 cat confdefs.h >>conftest.$ac_ext
30797 cat >>conftest.$ac_ext <<_ACEOF
30798 /* end confdefs.h. */
30799
30800 /* Override any gcc2 internal prototype to avoid an error. */
30801 #ifdef __cplusplus
30802 extern "C"
30803 #endif
30804 /* We use char because int might match the return type of a gcc2
30805 builtin and then its argument prototype would still apply. */
30806 char shmat ();
30807 int
30808 main ()
30809 {
30810 shmat ();
30811 ;
30812 return 0;
30813 }
30814 _ACEOF
30815 rm -f conftest.$ac_objext conftest$ac_exeext
30816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30817 (eval $ac_link) 2>conftest.er1
30818 ac_status=$?
30819 grep -v '^ *+' conftest.er1 >conftest.err
30820 rm -f conftest.er1
30821 cat conftest.err >&5
30822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30823 (exit $ac_status); } &&
30824 { ac_try='test -z "$ac_cxx_werror_flag"
30825 || test ! -s conftest.err'
30826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30827 (eval $ac_try) 2>&5
30828 ac_status=$?
30829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30830 (exit $ac_status); }; } &&
30831 { ac_try='test -s conftest$ac_exeext'
30832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30833 (eval $ac_try) 2>&5
30834 ac_status=$?
30835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30836 (exit $ac_status); }; }; then
30837 ac_cv_lib_ipc_shmat=yes
30838 else
30839 echo "$as_me: failed program was:" >&5
30840 sed 's/^/| /' conftest.$ac_ext >&5
30841
30842 ac_cv_lib_ipc_shmat=no
30843 fi
30844 rm -f conftest.err conftest.$ac_objext \
30845 conftest$ac_exeext conftest.$ac_ext
30846 LIBS=$ac_check_lib_save_LIBS
30847 fi
30848 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30849 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30850 if test $ac_cv_lib_ipc_shmat = yes; then
30851 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30852 fi
30853
30854 fi
30855 fi
30856
30857 # Check for libraries that X11R6 Xt/Xaw programs need.
30858 ac_save_LDFLAGS=$LDFLAGS
30859 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30860 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30861 # check for ICE first), but we must link in the order -lSM -lICE or
30862 # we get undefined symbols. So assume we have SM if we have ICE.
30863 # These have to be linked with before -lX11, unlike the other
30864 # libraries we check for below, so use a different variable.
30865 # John Interrante, Karl Berry
30866 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30867 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30868 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30869 echo $ECHO_N "(cached) $ECHO_C" >&6
30870 else
30871 ac_check_lib_save_LIBS=$LIBS
30872 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30873 cat >conftest.$ac_ext <<_ACEOF
30874 /* confdefs.h. */
30875 _ACEOF
30876 cat confdefs.h >>conftest.$ac_ext
30877 cat >>conftest.$ac_ext <<_ACEOF
30878 /* end confdefs.h. */
30879
30880 /* Override any gcc2 internal prototype to avoid an error. */
30881 #ifdef __cplusplus
30882 extern "C"
30883 #endif
30884 /* We use char because int might match the return type of a gcc2
30885 builtin and then its argument prototype would still apply. */
30886 char IceConnectionNumber ();
30887 int
30888 main ()
30889 {
30890 IceConnectionNumber ();
30891 ;
30892 return 0;
30893 }
30894 _ACEOF
30895 rm -f conftest.$ac_objext conftest$ac_exeext
30896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30897 (eval $ac_link) 2>conftest.er1
30898 ac_status=$?
30899 grep -v '^ *+' conftest.er1 >conftest.err
30900 rm -f conftest.er1
30901 cat conftest.err >&5
30902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30903 (exit $ac_status); } &&
30904 { ac_try='test -z "$ac_cxx_werror_flag"
30905 || test ! -s conftest.err'
30906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30907 (eval $ac_try) 2>&5
30908 ac_status=$?
30909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30910 (exit $ac_status); }; } &&
30911 { ac_try='test -s conftest$ac_exeext'
30912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30913 (eval $ac_try) 2>&5
30914 ac_status=$?
30915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30916 (exit $ac_status); }; }; then
30917 ac_cv_lib_ICE_IceConnectionNumber=yes
30918 else
30919 echo "$as_me: failed program was:" >&5
30920 sed 's/^/| /' conftest.$ac_ext >&5
30921
30922 ac_cv_lib_ICE_IceConnectionNumber=no
30923 fi
30924 rm -f conftest.err conftest.$ac_objext \
30925 conftest$ac_exeext conftest.$ac_ext
30926 LIBS=$ac_check_lib_save_LIBS
30927 fi
30928 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30929 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30930 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30931 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30932 fi
30933
30934 LDFLAGS=$ac_save_LDFLAGS
30935
30936 fi
30937
30938
30939 if test "$no_x" = "yes"; then
30940 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30941 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30942 { (exit 1); exit 1; }; }
30943 fi
30944
30945 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30946 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30947 AFMINSTALL=afminstall
30948 COMPILED_X_PROGRAM=0
30949
30950 fi
30951
30952 if test "$wxUSE_X11" = 1; then
30953 if test "$wxUSE_NANOX" = "yes"; then
30954 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30955 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30956 if test "x$MICROWIN" = x ; then
30957 echo "$as_me:$LINENO: result: not found" >&5
30958 echo "${ECHO_T}not found" >&6
30959 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30960 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30961 { (exit 1); exit 1; }; }
30962 else
30963 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30964 echo "${ECHO_T}$MICROWIN" >&6
30965 cat >>confdefs.h <<\_ACEOF
30966 #define wxUSE_NANOX 1
30967 _ACEOF
30968
30969 fi
30970 fi
30971
30972 if test "$wxUSE_UNICODE" = "yes"; then
30973
30974 pkg_failed=no
30975 echo "$as_me:$LINENO: checking for PANGOX" >&5
30976 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30977
30978 if test -n "$PKG_CONFIG"; then
30979 if test -n "$PANGOX_CFLAGS"; then
30980 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30981 else
30982 if test -n "$PKG_CONFIG" && \
30983 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30984 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30985 ac_status=$?
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); }; then
30988 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30989 else
30990 pkg_failed=yes
30991 fi
30992 fi
30993 else
30994 pkg_failed=untried
30995 fi
30996 if test -n "$PKG_CONFIG"; then
30997 if test -n "$PANGOX_LIBS"; then
30998 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30999 else
31000 if test -n "$PKG_CONFIG" && \
31001 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31002 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31003 ac_status=$?
31004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31005 (exit $ac_status); }; then
31006 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31007 else
31008 pkg_failed=yes
31009 fi
31010 fi
31011 else
31012 pkg_failed=untried
31013 fi
31014
31015
31016
31017 if test $pkg_failed = yes; then
31018
31019 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31020 _pkg_short_errors_supported=yes
31021 else
31022 _pkg_short_errors_supported=no
31023 fi
31024 if test $_pkg_short_errors_supported = yes; then
31025 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31026 else
31027 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31028 fi
31029 # Put the nasty error message in config.log where it belongs
31030 echo "$PANGOX_PKG_ERRORS" >&5
31031
31032
31033 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31034 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31035 { (exit 1); exit 1; }; }
31036
31037
31038 elif test $pkg_failed = untried; then
31039
31040 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31041 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31042 { (exit 1); exit 1; }; }
31043
31044
31045 else
31046 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31047 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31048 echo "$as_me:$LINENO: result: yes" >&5
31049 echo "${ECHO_T}yes" >&6
31050
31051 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31052 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31053
31054 fi
31055
31056 pkg_failed=no
31057 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31058 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31059
31060 if test -n "$PKG_CONFIG"; then
31061 if test -n "$PANGOFT2_CFLAGS"; then
31062 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31063 else
31064 if test -n "$PKG_CONFIG" && \
31065 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31066 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31067 ac_status=$?
31068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069 (exit $ac_status); }; then
31070 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31071 else
31072 pkg_failed=yes
31073 fi
31074 fi
31075 else
31076 pkg_failed=untried
31077 fi
31078 if test -n "$PKG_CONFIG"; then
31079 if test -n "$PANGOFT2_LIBS"; then
31080 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31081 else
31082 if test -n "$PKG_CONFIG" && \
31083 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31084 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31085 ac_status=$?
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); }; then
31088 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31089 else
31090 pkg_failed=yes
31091 fi
31092 fi
31093 else
31094 pkg_failed=untried
31095 fi
31096
31097
31098
31099 if test $pkg_failed = yes; then
31100
31101 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31102 _pkg_short_errors_supported=yes
31103 else
31104 _pkg_short_errors_supported=no
31105 fi
31106 if test $_pkg_short_errors_supported = yes; then
31107 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31108 else
31109 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31110 fi
31111 # Put the nasty error message in config.log where it belongs
31112 echo "$PANGOFT2_PKG_ERRORS" >&5
31113
31114
31115 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31116 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31117 wxUSE_PRINTING_ARCHITECTURE="no"
31118
31119
31120 elif test $pkg_failed = untried; then
31121
31122 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31123 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31124 wxUSE_PRINTING_ARCHITECTURE="no"
31125
31126
31127 else
31128 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31129 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31130 echo "$as_me:$LINENO: result: yes" >&5
31131 echo "${ECHO_T}yes" >&6
31132
31133 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31134 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31135
31136 fi
31137
31138 pkg_failed=no
31139 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31140 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31141
31142 if test -n "$PKG_CONFIG"; then
31143 if test -n "$PANGOXFT_CFLAGS"; then
31144 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31145 else
31146 if test -n "$PKG_CONFIG" && \
31147 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31148 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31149 ac_status=$?
31150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31151 (exit $ac_status); }; then
31152 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31153 else
31154 pkg_failed=yes
31155 fi
31156 fi
31157 else
31158 pkg_failed=untried
31159 fi
31160 if test -n "$PKG_CONFIG"; then
31161 if test -n "$PANGOXFT_LIBS"; then
31162 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31163 else
31164 if test -n "$PKG_CONFIG" && \
31165 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31166 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31167 ac_status=$?
31168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31169 (exit $ac_status); }; then
31170 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31171 else
31172 pkg_failed=yes
31173 fi
31174 fi
31175 else
31176 pkg_failed=untried
31177 fi
31178
31179
31180
31181 if test $pkg_failed = yes; then
31182
31183 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31184 _pkg_short_errors_supported=yes
31185 else
31186 _pkg_short_errors_supported=no
31187 fi
31188 if test $_pkg_short_errors_supported = yes; then
31189 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31190 else
31191 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31192 fi
31193 # Put the nasty error message in config.log where it belongs
31194 echo "$PANGOXFT_PKG_ERRORS" >&5
31195
31196
31197 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31198 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31199
31200
31201 elif test $pkg_failed = untried; then
31202
31203 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31204 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31205
31206
31207 else
31208 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31209 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31210 echo "$as_me:$LINENO: result: yes" >&5
31211 echo "${ECHO_T}yes" >&6
31212
31213 cat >>confdefs.h <<\_ACEOF
31214 #define HAVE_PANGO_XFT 1
31215 _ACEOF
31216
31217 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31218 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31219
31220 fi
31221 save_CXXFLAGS="$CXXFLAGS"
31222 save_LIBS="$LIBS"
31223 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31224 LIBS="$LIBS $PANGOX_LIBS"
31225
31226 for ac_func in pango_font_family_is_monospace
31227 do
31228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31229 echo "$as_me:$LINENO: checking for $ac_func" >&5
31230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31231 if eval "test \"\${$as_ac_var+set}\" = set"; then
31232 echo $ECHO_N "(cached) $ECHO_C" >&6
31233 else
31234 cat >conftest.$ac_ext <<_ACEOF
31235 /* confdefs.h. */
31236 _ACEOF
31237 cat confdefs.h >>conftest.$ac_ext
31238 cat >>conftest.$ac_ext <<_ACEOF
31239 /* end confdefs.h. */
31240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31242 #define $ac_func innocuous_$ac_func
31243
31244 /* System header to define __stub macros and hopefully few prototypes,
31245 which can conflict with char $ac_func (); below.
31246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31247 <limits.h> exists even on freestanding compilers. */
31248
31249 #ifdef __STDC__
31250 # include <limits.h>
31251 #else
31252 # include <assert.h>
31253 #endif
31254
31255 #undef $ac_func
31256
31257 /* Override any gcc2 internal prototype to avoid an error. */
31258 #ifdef __cplusplus
31259 extern "C"
31260 {
31261 #endif
31262 /* We use char because int might match the return type of a gcc2
31263 builtin and then its argument prototype would still apply. */
31264 char $ac_func ();
31265 /* The GNU C library defines this for functions which it implements
31266 to always fail with ENOSYS. Some functions are actually named
31267 something starting with __ and the normal name is an alias. */
31268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31269 choke me
31270 #else
31271 char (*f) () = $ac_func;
31272 #endif
31273 #ifdef __cplusplus
31274 }
31275 #endif
31276
31277 int
31278 main ()
31279 {
31280 return f != $ac_func;
31281 ;
31282 return 0;
31283 }
31284 _ACEOF
31285 rm -f conftest.$ac_objext conftest$ac_exeext
31286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31287 (eval $ac_link) 2>conftest.er1
31288 ac_status=$?
31289 grep -v '^ *+' conftest.er1 >conftest.err
31290 rm -f conftest.er1
31291 cat conftest.err >&5
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); } &&
31294 { ac_try='test -z "$ac_cxx_werror_flag"
31295 || test ! -s conftest.err'
31296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31297 (eval $ac_try) 2>&5
31298 ac_status=$?
31299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300 (exit $ac_status); }; } &&
31301 { ac_try='test -s conftest$ac_exeext'
31302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31303 (eval $ac_try) 2>&5
31304 ac_status=$?
31305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31306 (exit $ac_status); }; }; then
31307 eval "$as_ac_var=yes"
31308 else
31309 echo "$as_me: failed program was:" >&5
31310 sed 's/^/| /' conftest.$ac_ext >&5
31311
31312 eval "$as_ac_var=no"
31313 fi
31314 rm -f conftest.err conftest.$ac_objext \
31315 conftest$ac_exeext conftest.$ac_ext
31316 fi
31317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31319 if test `eval echo '${'$as_ac_var'}'` = yes; then
31320 cat >>confdefs.h <<_ACEOF
31321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31322 _ACEOF
31323
31324 fi
31325 done
31326
31327 CXXFLAGS="$save_CXXFLAGS"
31328 LIBS="$save_LIBS"
31329 fi
31330
31331 wxUSE_UNIVERSAL="yes"
31332
31333 if test "$wxUSE_NANOX" = "yes"; then
31334 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31335 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"
31336 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31337 else
31338 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31339 fi
31340
31341 TOOLKIT=X11
31342 GUIDIST=X11_DIST
31343 fi
31344
31345 if test "$wxUSE_MOTIF" = 1; then
31346 if test "$wxUSE_UNICODE" = "yes"; then
31347 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31348 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31349 { (exit 1); exit 1; }; }
31350 fi
31351
31352 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31353 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31354
31355 ac_find_includes=
31356 for ac_dir in $SEARCH_INCLUDE /usr/include;
31357 do
31358 if test -f "$ac_dir/Xm/Xm.h"; then
31359 ac_find_includes=$ac_dir
31360 break
31361 fi
31362 done
31363
31364 if test "$ac_find_includes" != "" ; then
31365 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31366 echo "${ECHO_T}found in $ac_find_includes" >&6
31367
31368 if test "x$ac_find_includes" = "x/usr/include"; then
31369 ac_path_to_include=""
31370 else
31371 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31372 result=$?
31373 if test $result = 0; then
31374 ac_path_to_include=""
31375 else
31376 ac_path_to_include=" -I$ac_find_includes"
31377 fi
31378 fi
31379
31380 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31381 else
31382 save_CXXFLAGS=$CXXFLAGS
31383 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31384
31385 cat >conftest.$ac_ext <<_ACEOF
31386 /* confdefs.h. */
31387 _ACEOF
31388 cat confdefs.h >>conftest.$ac_ext
31389 cat >>conftest.$ac_ext <<_ACEOF
31390 /* end confdefs.h. */
31391
31392 #include <Xm/Xm.h>
31393
31394 int
31395 main ()
31396 {
31397
31398 int version;
31399 version = xmUseVersion;
31400
31401 ;
31402 return 0;
31403 }
31404 _ACEOF
31405 rm -f conftest.$ac_objext
31406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31407 (eval $ac_compile) 2>conftest.er1
31408 ac_status=$?
31409 grep -v '^ *+' conftest.er1 >conftest.err
31410 rm -f conftest.er1
31411 cat conftest.err >&5
31412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 (exit $ac_status); } &&
31414 { ac_try='test -z "$ac_cxx_werror_flag"
31415 || test ! -s conftest.err'
31416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31417 (eval $ac_try) 2>&5
31418 ac_status=$?
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); }; } &&
31421 { ac_try='test -s conftest.$ac_objext'
31422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31423 (eval $ac_try) 2>&5
31424 ac_status=$?
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); }; }; then
31427
31428 echo "$as_me:$LINENO: result: found in default search path" >&5
31429 echo "${ECHO_T}found in default search path" >&6
31430 COMPILED_X_PROGRAM=1
31431
31432 else
31433 echo "$as_me: failed program was:" >&5
31434 sed 's/^/| /' conftest.$ac_ext >&5
31435
31436
31437 echo "$as_me:$LINENO: result: no" >&5
31438 echo "${ECHO_T}no" >&6
31439 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31440 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31441 { (exit 1); exit 1; }; }
31442
31443
31444 fi
31445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31446
31447 CXXFLAGS=$save_CXXFLAGS
31448 fi
31449
31450
31451 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31452 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31453
31454 ac_find_libraries=
31455 for ac_dir in $SEARCH_LIB;
31456 do
31457 for ac_extension in a so sl dylib dll.a; do
31458 if test -f "$ac_dir/libXm.$ac_extension"; then
31459 ac_find_libraries=$ac_dir
31460 break 2
31461 fi
31462 done
31463 done
31464
31465
31466 if test "x$ac_find_libraries" != "x" ; then
31467 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31468 echo "${ECHO_T}found in $ac_find_libraries" >&6
31469
31470
31471 if test "$ac_find_libraries" = "default location"; then
31472 ac_path_to_link=""
31473 else
31474 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31475 result=$?
31476 if test $result = 0; then
31477 ac_path_to_link=""
31478 else
31479 ac_path_to_link=" -L$ac_find_libraries"
31480 fi
31481 fi
31482
31483 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31484 else
31485 save_CXXFLAGS=$CXXFLAGS
31486 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31487 save_LIBS="$LIBS"
31488 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31489
31490 cat >conftest.$ac_ext <<_ACEOF
31491 /* confdefs.h. */
31492 _ACEOF
31493 cat confdefs.h >>conftest.$ac_ext
31494 cat >>conftest.$ac_ext <<_ACEOF
31495 /* end confdefs.h. */
31496
31497 #include <Xm/Xm.h>
31498
31499 int
31500 main ()
31501 {
31502
31503 int version;
31504 version = xmUseVersion;
31505
31506 ;
31507 return 0;
31508 }
31509 _ACEOF
31510 rm -f conftest.$ac_objext conftest$ac_exeext
31511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31512 (eval $ac_link) 2>conftest.er1
31513 ac_status=$?
31514 grep -v '^ *+' conftest.er1 >conftest.err
31515 rm -f conftest.er1
31516 cat conftest.err >&5
31517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31518 (exit $ac_status); } &&
31519 { ac_try='test -z "$ac_cxx_werror_flag"
31520 || test ! -s conftest.err'
31521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31522 (eval $ac_try) 2>&5
31523 ac_status=$?
31524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525 (exit $ac_status); }; } &&
31526 { ac_try='test -s conftest$ac_exeext'
31527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31528 (eval $ac_try) 2>&5
31529 ac_status=$?
31530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31531 (exit $ac_status); }; }; then
31532
31533 echo "$as_me:$LINENO: result: found in default search path" >&5
31534 echo "${ECHO_T}found in default search path" >&6
31535 COMPILED_X_PROGRAM=1
31536
31537 else
31538 echo "$as_me: failed program was:" >&5
31539 sed 's/^/| /' conftest.$ac_ext >&5
31540
31541
31542 echo "$as_me:$LINENO: result: no" >&5
31543 echo "${ECHO_T}no" >&6
31544 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31545 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31546 { (exit 1); exit 1; }; }
31547
31548
31549 fi
31550 rm -f conftest.err conftest.$ac_objext \
31551 conftest$ac_exeext conftest.$ac_ext
31552
31553 CXXFLAGS=$save_CXXFLAGS
31554 LIBS="$save_LIBS"
31555 fi
31556
31557 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31558 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31559 libp_link=""
31560 libsm_ice_link=""
31561 libs_found=0
31562 for libp in "" " -lXp"; do
31563 if test "$libs_found" = "0"; then
31564 for libsm_ice in "" " -lSM -lICE"; do
31565 if test "$libs_found" = "0"; then
31566 save_LIBS="$LIBS"
31567 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31568 save_CXXFLAGS=$CXXFLAGS
31569 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31570
31571 cat >conftest.$ac_ext <<_ACEOF
31572 /* confdefs.h. */
31573 _ACEOF
31574 cat confdefs.h >>conftest.$ac_ext
31575 cat >>conftest.$ac_ext <<_ACEOF
31576 /* end confdefs.h. */
31577
31578 #include <Xm/Xm.h>
31579 #include <Xm/List.h>
31580
31581 int
31582 main ()
31583 {
31584
31585 XmString string = NULL;
31586 Widget w = NULL;
31587 int position = 0;
31588 XmListAddItem(w, string, position);
31589
31590 ;
31591 return 0;
31592 }
31593 _ACEOF
31594 rm -f conftest.$ac_objext conftest$ac_exeext
31595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31596 (eval $ac_link) 2>conftest.er1
31597 ac_status=$?
31598 grep -v '^ *+' conftest.er1 >conftest.err
31599 rm -f conftest.er1
31600 cat conftest.err >&5
31601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31602 (exit $ac_status); } &&
31603 { ac_try='test -z "$ac_cxx_werror_flag"
31604 || test ! -s conftest.err'
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); }; } &&
31610 { ac_try='test -s conftest$ac_exeext'
31611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31612 (eval $ac_try) 2>&5
31613 ac_status=$?
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); }; }; then
31616
31617 libp_link="$libp"
31618 libsm_ice_link="$libsm_ice"
31619 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31620 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31621 libs_found=1
31622
31623 else
31624 echo "$as_me: failed program was:" >&5
31625 sed 's/^/| /' conftest.$ac_ext >&5
31626
31627
31628
31629 fi
31630 rm -f conftest.err conftest.$ac_objext \
31631 conftest$ac_exeext conftest.$ac_ext
31632
31633 LIBS="$save_LIBS"
31634 CXXFLAGS=$save_CXXFLAGS
31635 fi
31636 done
31637 fi
31638 done
31639
31640 if test "$libs_found" = "0"; then
31641 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31642 echo "${ECHO_T}can't find the right libraries" >&6
31643 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31644 echo "$as_me: error: can't link a simple motif program" >&2;}
31645 { (exit 1); exit 1; }; }
31646 fi
31647
31648 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31649 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31650 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31651 echo $ECHO_N "(cached) $ECHO_C" >&6
31652 else
31653 ac_check_lib_save_LIBS=$LIBS
31654 LIBS="-lSgm $LIBS"
31655 cat >conftest.$ac_ext <<_ACEOF
31656 /* confdefs.h. */
31657 _ACEOF
31658 cat confdefs.h >>conftest.$ac_ext
31659 cat >>conftest.$ac_ext <<_ACEOF
31660 /* end confdefs.h. */
31661
31662 /* Override any gcc2 internal prototype to avoid an error. */
31663 #ifdef __cplusplus
31664 extern "C"
31665 #endif
31666 /* We use char because int might match the return type of a gcc2
31667 builtin and then its argument prototype would still apply. */
31668 char SgCreateList ();
31669 int
31670 main ()
31671 {
31672 SgCreateList ();
31673 ;
31674 return 0;
31675 }
31676 _ACEOF
31677 rm -f conftest.$ac_objext conftest$ac_exeext
31678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31679 (eval $ac_link) 2>conftest.er1
31680 ac_status=$?
31681 grep -v '^ *+' conftest.er1 >conftest.err
31682 rm -f conftest.er1
31683 cat conftest.err >&5
31684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31685 (exit $ac_status); } &&
31686 { ac_try='test -z "$ac_cxx_werror_flag"
31687 || test ! -s conftest.err'
31688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31689 (eval $ac_try) 2>&5
31690 ac_status=$?
31691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31692 (exit $ac_status); }; } &&
31693 { ac_try='test -s conftest$ac_exeext'
31694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31695 (eval $ac_try) 2>&5
31696 ac_status=$?
31697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31698 (exit $ac_status); }; }; then
31699 ac_cv_lib_Sgm_SgCreateList=yes
31700 else
31701 echo "$as_me: failed program was:" >&5
31702 sed 's/^/| /' conftest.$ac_ext >&5
31703
31704 ac_cv_lib_Sgm_SgCreateList=no
31705 fi
31706 rm -f conftest.err conftest.$ac_objext \
31707 conftest$ac_exeext conftest.$ac_ext
31708 LIBS=$ac_check_lib_save_LIBS
31709 fi
31710 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31711 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31712 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31713 libsgm_link=" -lSgm"
31714 fi
31715
31716
31717 save_CXXFLAGS=$CXXFLAGS
31718 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31719
31720 echo "$as_me:$LINENO: checking for Motif 2" >&5
31721 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31722 if test "${wx_cv_lib_motif2+set}" = set; then
31723 echo $ECHO_N "(cached) $ECHO_C" >&6
31724 else
31725 cat >conftest.$ac_ext <<_ACEOF
31726 /* confdefs.h. */
31727 _ACEOF
31728 cat confdefs.h >>conftest.$ac_ext
31729 cat >>conftest.$ac_ext <<_ACEOF
31730 /* end confdefs.h. */
31731
31732 #include <Xm/Xm.h>
31733
31734 int
31735 main ()
31736 {
31737
31738 #if XmVersion < 2000
31739 Not Motif 2
31740 #endif
31741
31742 ;
31743 return 0;
31744 }
31745 _ACEOF
31746 rm -f conftest.$ac_objext
31747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31748 (eval $ac_compile) 2>conftest.er1
31749 ac_status=$?
31750 grep -v '^ *+' conftest.er1 >conftest.err
31751 rm -f conftest.er1
31752 cat conftest.err >&5
31753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31754 (exit $ac_status); } &&
31755 { ac_try='test -z "$ac_cxx_werror_flag"
31756 || test ! -s conftest.err'
31757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31758 (eval $ac_try) 2>&5
31759 ac_status=$?
31760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31761 (exit $ac_status); }; } &&
31762 { ac_try='test -s conftest.$ac_objext'
31763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31764 (eval $ac_try) 2>&5
31765 ac_status=$?
31766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31767 (exit $ac_status); }; }; then
31768 wx_cv_lib_motif2="yes"
31769 else
31770 echo "$as_me: failed program was:" >&5
31771 sed 's/^/| /' conftest.$ac_ext >&5
31772
31773 wx_cv_lib_motif2="no"
31774 fi
31775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31776 fi
31777 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31778 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31779 if test "$wx_cv_lib_motif2" = "yes"; then
31780 cat >>confdefs.h <<\_ACEOF
31781 #define __WXMOTIF20__ 1
31782 _ACEOF
31783
31784 else
31785 cat >>confdefs.h <<\_ACEOF
31786 #define __WXMOTIF20__ 0
31787 _ACEOF
31788
31789 fi
31790
31791 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31792 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31793 if test "${wx_cv_lib_lesstif+set}" = set; then
31794 echo $ECHO_N "(cached) $ECHO_C" >&6
31795 else
31796 cat >conftest.$ac_ext <<_ACEOF
31797 /* confdefs.h. */
31798 _ACEOF
31799 cat confdefs.h >>conftest.$ac_ext
31800 cat >>conftest.$ac_ext <<_ACEOF
31801 /* end confdefs.h. */
31802
31803 #include <Xm/Xm.h>
31804
31805 int
31806 main ()
31807 {
31808
31809 #if !defined(LesstifVersion) || LesstifVersion <= 0
31810 Not Lesstif
31811 #endif
31812
31813 ;
31814 return 0;
31815 }
31816 _ACEOF
31817 rm -f conftest.$ac_objext
31818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31819 (eval $ac_compile) 2>conftest.er1
31820 ac_status=$?
31821 grep -v '^ *+' conftest.er1 >conftest.err
31822 rm -f conftest.er1
31823 cat conftest.err >&5
31824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31825 (exit $ac_status); } &&
31826 { ac_try='test -z "$ac_cxx_werror_flag"
31827 || test ! -s conftest.err'
31828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31829 (eval $ac_try) 2>&5
31830 ac_status=$?
31831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31832 (exit $ac_status); }; } &&
31833 { ac_try='test -s conftest.$ac_objext'
31834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31835 (eval $ac_try) 2>&5
31836 ac_status=$?
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); }; }; then
31839 wx_cv_lib_lesstif="yes"
31840 else
31841 echo "$as_me: failed program was:" >&5
31842 sed 's/^/| /' conftest.$ac_ext >&5
31843
31844 wx_cv_lib_lesstif="no"
31845 fi
31846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31847
31848 fi
31849 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31850 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31851 if test "$wx_cv_lib_lesstif" = "yes"; then
31852 cat >>confdefs.h <<\_ACEOF
31853 #define __WXLESSTIF__ 1
31854 _ACEOF
31855
31856 else
31857 cat >>confdefs.h <<\_ACEOF
31858 #define __WXLESSTIF__ 0
31859 _ACEOF
31860
31861 fi
31862
31863 CXXFLAGS=$save_CXXFLAGS
31864
31865 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31866 TOOLKIT=MOTIF
31867 GUIDIST=MOTIF_DIST
31868 fi
31869
31870 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31871 if test "$wxUSE_LIBXPM" = "sys"; then
31872 echo "$as_me:$LINENO: checking for Xpm library" >&5
31873 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31874
31875 ac_find_libraries=
31876 for ac_dir in $SEARCH_LIB;
31877 do
31878 for ac_extension in a so sl dylib dll.a; do
31879 if test -f "$ac_dir/libXpm.$ac_extension"; then
31880 ac_find_libraries=$ac_dir
31881 break 2
31882 fi
31883 done
31884 done
31885
31886 if test "$ac_find_libraries" != "" ; then
31887
31888 if test "$ac_find_libraries" = "default location"; then
31889 ac_path_to_link=""
31890 else
31891 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31892 result=$?
31893 if test $result = 0; then
31894 ac_path_to_link=""
31895 else
31896 ac_path_to_link=" -L$ac_find_libraries"
31897 fi
31898 fi
31899
31900 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31901 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31902 echo "${ECHO_T}found in $ac_find_libraries" >&6
31903
31904 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31905 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31906 if test "${wx_cv_x11_xpm_h+set}" = set; then
31907 echo $ECHO_N "(cached) $ECHO_C" >&6
31908 else
31909
31910 save_CXXFLAGS=$CXXFLAGS
31911 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31912
31913 cat >conftest.$ac_ext <<_ACEOF
31914 /* confdefs.h. */
31915 _ACEOF
31916 cat confdefs.h >>conftest.$ac_ext
31917 cat >>conftest.$ac_ext <<_ACEOF
31918 /* end confdefs.h. */
31919
31920 #include <X11/xpm.h>
31921
31922 int
31923 main ()
31924 {
31925
31926 int version;
31927 version = XpmLibraryVersion();
31928
31929 ;
31930 return 0;
31931 }
31932 _ACEOF
31933 rm -f conftest.$ac_objext
31934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31935 (eval $ac_compile) 2>conftest.er1
31936 ac_status=$?
31937 grep -v '^ *+' conftest.er1 >conftest.err
31938 rm -f conftest.er1
31939 cat conftest.err >&5
31940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31941 (exit $ac_status); } &&
31942 { ac_try='test -z "$ac_cxx_werror_flag"
31943 || test ! -s conftest.err'
31944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31945 (eval $ac_try) 2>&5
31946 ac_status=$?
31947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31948 (exit $ac_status); }; } &&
31949 { ac_try='test -s conftest.$ac_objext'
31950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31951 (eval $ac_try) 2>&5
31952 ac_status=$?
31953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31954 (exit $ac_status); }; }; then
31955 wx_cv_x11_xpm_h=yes
31956 else
31957 echo "$as_me: failed program was:" >&5
31958 sed 's/^/| /' conftest.$ac_ext >&5
31959
31960 wx_cv_x11_xpm_h=no
31961
31962 fi
31963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31964
31965 CXXFLAGS=$save_CXXFLAGS
31966
31967
31968 fi
31969 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31970 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31971
31972 if test $wx_cv_x11_xpm_h = "yes"; then
31973 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31974 cat >>confdefs.h <<\_ACEOF
31975 #define wxHAVE_LIB_XPM 1
31976 _ACEOF
31977
31978 else
31979 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31980 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31981 fi
31982 fi
31983
31984 fi
31985
31986 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31987 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31988 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31989 echo $ECHO_N "(cached) $ECHO_C" >&6
31990 else
31991 ac_check_lib_save_LIBS=$LIBS
31992 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31993 cat >conftest.$ac_ext <<_ACEOF
31994 /* confdefs.h. */
31995 _ACEOF
31996 cat confdefs.h >>conftest.$ac_ext
31997 cat >>conftest.$ac_ext <<_ACEOF
31998 /* end confdefs.h. */
31999
32000 /* Override any gcc2 internal prototype to avoid an error. */
32001 #ifdef __cplusplus
32002 extern "C"
32003 #endif
32004 /* We use char because int might match the return type of a gcc2
32005 builtin and then its argument prototype would still apply. */
32006 char XShapeQueryExtension ();
32007 int
32008 main ()
32009 {
32010 XShapeQueryExtension ();
32011 ;
32012 return 0;
32013 }
32014 _ACEOF
32015 rm -f conftest.$ac_objext conftest$ac_exeext
32016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32017 (eval $ac_link) 2>conftest.er1
32018 ac_status=$?
32019 grep -v '^ *+' conftest.er1 >conftest.err
32020 rm -f conftest.er1
32021 cat conftest.err >&5
32022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023 (exit $ac_status); } &&
32024 { ac_try='test -z "$ac_cxx_werror_flag"
32025 || test ! -s conftest.err'
32026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32027 (eval $ac_try) 2>&5
32028 ac_status=$?
32029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32030 (exit $ac_status); }; } &&
32031 { ac_try='test -s conftest$ac_exeext'
32032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32033 (eval $ac_try) 2>&5
32034 ac_status=$?
32035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32036 (exit $ac_status); }; }; then
32037 ac_cv_lib_Xext_XShapeQueryExtension=yes
32038 else
32039 echo "$as_me: failed program was:" >&5
32040 sed 's/^/| /' conftest.$ac_ext >&5
32041
32042 ac_cv_lib_Xext_XShapeQueryExtension=no
32043 fi
32044 rm -f conftest.err conftest.$ac_objext \
32045 conftest$ac_exeext conftest.$ac_ext
32046 LIBS=$ac_check_lib_save_LIBS
32047 fi
32048 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32049 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32050 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32051
32052 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32053 wxHAVE_XEXT_LIB=1
32054
32055 fi
32056
32057
32058 if test "$wxHAVE_XEXT_LIB" = 1; then
32059 save_CXXFLAGS="$CXXFLAGS"
32060 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32061
32062 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32063 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32064 cat >conftest.$ac_ext <<_ACEOF
32065 /* confdefs.h. */
32066 _ACEOF
32067 cat confdefs.h >>conftest.$ac_ext
32068 cat >>conftest.$ac_ext <<_ACEOF
32069 /* end confdefs.h. */
32070
32071 #include <X11/Xlib.h>
32072 #include <X11/extensions/shape.h>
32073
32074 int
32075 main ()
32076 {
32077
32078 int dummy1, dummy2;
32079 XShapeQueryExtension((Display*)NULL,
32080 (int*)NULL, (int*)NULL);
32081
32082 ;
32083 return 0;
32084 }
32085 _ACEOF
32086 rm -f conftest.$ac_objext
32087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32088 (eval $ac_compile) 2>conftest.er1
32089 ac_status=$?
32090 grep -v '^ *+' conftest.er1 >conftest.err
32091 rm -f conftest.er1
32092 cat conftest.err >&5
32093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32094 (exit $ac_status); } &&
32095 { ac_try='test -z "$ac_cxx_werror_flag"
32096 || test ! -s conftest.err'
32097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32098 (eval $ac_try) 2>&5
32099 ac_status=$?
32100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32101 (exit $ac_status); }; } &&
32102 { ac_try='test -s conftest.$ac_objext'
32103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32104 (eval $ac_try) 2>&5
32105 ac_status=$?
32106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32107 (exit $ac_status); }; }; then
32108
32109 cat >>confdefs.h <<\_ACEOF
32110 #define HAVE_XSHAPE 1
32111 _ACEOF
32112
32113 echo "$as_me:$LINENO: result: found" >&5
32114 echo "${ECHO_T}found" >&6
32115
32116 else
32117 echo "$as_me: failed program was:" >&5
32118 sed 's/^/| /' conftest.$ac_ext >&5
32119
32120
32121 echo "$as_me:$LINENO: result: not found" >&5
32122 echo "${ECHO_T}not found" >&6
32123
32124 fi
32125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32126 CXXFLAGS="$save_CXXFLAGS"
32127
32128 fi
32129 fi
32130
32131 if test "$wxUSE_MAC" = 1; then
32132 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32133 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32134 if test "$GCC" = yes; then
32135 echo "$as_me:$LINENO: result: gcc" >&5
32136 echo "${ECHO_T}gcc" >&6
32137 CPPFLAGS_PASCAL="-fpascal-strings"
32138 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32139 echo "$as_me:$LINENO: result: xlc" >&5
32140 echo "${ECHO_T}xlc" >&6
32141 CPPFLAGS_PASCAL="-qmacpstr"
32142 else
32143 echo "$as_me:$LINENO: result: none" >&5
32144 echo "${ECHO_T}none" >&6
32145 fi
32146
32147 if test "x$wxUSE_UNIX" = "xyes"; then
32148 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32149 else
32150 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32151 fi
32152
32153 TOOLKIT=MAC
32154 GUIDIST=MACX_DIST
32155 WXBASEPORT="_carbon"
32156 fi
32157
32158 if test "$wxUSE_COCOA" = 1; then
32159 TOOLKIT=COCOA
32160 GUIDIST=COCOA_DIST
32161 fi
32162
32163 if test "$wxUSE_PM" = 1; then
32164 TOOLKIT=PM
32165 GUIDIST=PM_DIST
32166 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32167 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32168 if test "${wx_cv_spbcdata+set}" = set; then
32169 echo $ECHO_N "(cached) $ECHO_C" >&6
32170 else
32171
32172 cat >conftest.$ac_ext <<_ACEOF
32173 /* confdefs.h. */
32174 _ACEOF
32175 cat confdefs.h >>conftest.$ac_ext
32176 cat >>conftest.$ac_ext <<_ACEOF
32177 /* end confdefs.h. */
32178
32179 #define INCL_PM
32180 #include <os2.h>
32181
32182 int
32183 main ()
32184 {
32185
32186 SPBCDATA test;
32187
32188 ;
32189 return 0;
32190 }
32191 _ACEOF
32192 rm -f conftest.$ac_objext
32193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32194 (eval $ac_compile) 2>conftest.er1
32195 ac_status=$?
32196 grep -v '^ *+' conftest.er1 >conftest.err
32197 rm -f conftest.er1
32198 cat conftest.err >&5
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); } &&
32201 { ac_try='test -z "$ac_cxx_werror_flag"
32202 || test ! -s conftest.err'
32203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32204 (eval $ac_try) 2>&5
32205 ac_status=$?
32206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207 (exit $ac_status); }; } &&
32208 { ac_try='test -s conftest.$ac_objext'
32209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32210 (eval $ac_try) 2>&5
32211 ac_status=$?
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); }; }; then
32214 wx_cv_spbcdata=yes
32215 else
32216 echo "$as_me: failed program was:" >&5
32217 sed 's/^/| /' conftest.$ac_ext >&5
32218
32219 wx_cv_spbcdata=no
32220
32221 fi
32222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32223
32224
32225 fi
32226 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32227 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32228
32229 if test $wx_cv_spbcdata = "yes"; then
32230 cat >>confdefs.h <<\_ACEOF
32231 #define HAVE_SPBCDATA 1
32232 _ACEOF
32233
32234 fi
32235 fi
32236
32237 if test "$TOOLKIT" = "PM" ; then
32238 TOOLKIT_DIR="os2"
32239 else
32240 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32241 fi
32242
32243 if test "$wxUSE_UNIVERSAL" = "yes"; then
32244 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32245 WIDGET_SET=univ
32246 fi
32247
32248 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32249 DISTDIR="wx\$(TOOLKIT)"
32250 else
32251 USE_GUI=0
32252
32253 TOOLKIT_DIR="base"
32254
32255 if test "$USE_WIN32" = 1 ; then
32256 TOOLKIT="MSW"
32257 fi
32258
32259 GUIDIST="BASE_DIST"
32260 DISTDIR="wxBase"
32261 fi
32262
32263
32264 if test "$wxUSE_GUI" = "yes"; then
32265 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32266
32267 for ac_header in X11/Xlib.h
32268 do
32269 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32271 echo "$as_me:$LINENO: checking for $ac_header" >&5
32272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32274 echo $ECHO_N "(cached) $ECHO_C" >&6
32275 fi
32276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32278 else
32279 # Is the header compilable?
32280 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32282 cat >conftest.$ac_ext <<_ACEOF
32283 /* confdefs.h. */
32284 _ACEOF
32285 cat confdefs.h >>conftest.$ac_ext
32286 cat >>conftest.$ac_ext <<_ACEOF
32287 /* end confdefs.h. */
32288 $ac_includes_default
32289 #include <$ac_header>
32290 _ACEOF
32291 rm -f conftest.$ac_objext
32292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32293 (eval $ac_compile) 2>conftest.er1
32294 ac_status=$?
32295 grep -v '^ *+' conftest.er1 >conftest.err
32296 rm -f conftest.er1
32297 cat conftest.err >&5
32298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32299 (exit $ac_status); } &&
32300 { ac_try='test -z "$ac_cxx_werror_flag"
32301 || test ! -s conftest.err'
32302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32303 (eval $ac_try) 2>&5
32304 ac_status=$?
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); }; } &&
32307 { ac_try='test -s conftest.$ac_objext'
32308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32309 (eval $ac_try) 2>&5
32310 ac_status=$?
32311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32312 (exit $ac_status); }; }; then
32313 ac_header_compiler=yes
32314 else
32315 echo "$as_me: failed program was:" >&5
32316 sed 's/^/| /' conftest.$ac_ext >&5
32317
32318 ac_header_compiler=no
32319 fi
32320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32321 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32322 echo "${ECHO_T}$ac_header_compiler" >&6
32323
32324 # Is the header present?
32325 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32326 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32327 cat >conftest.$ac_ext <<_ACEOF
32328 /* confdefs.h. */
32329 _ACEOF
32330 cat confdefs.h >>conftest.$ac_ext
32331 cat >>conftest.$ac_ext <<_ACEOF
32332 /* end confdefs.h. */
32333 #include <$ac_header>
32334 _ACEOF
32335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32336 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32337 ac_status=$?
32338 grep -v '^ *+' conftest.er1 >conftest.err
32339 rm -f conftest.er1
32340 cat conftest.err >&5
32341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32342 (exit $ac_status); } >/dev/null; then
32343 if test -s conftest.err; then
32344 ac_cpp_err=$ac_cxx_preproc_warn_flag
32345 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32346 else
32347 ac_cpp_err=
32348 fi
32349 else
32350 ac_cpp_err=yes
32351 fi
32352 if test -z "$ac_cpp_err"; then
32353 ac_header_preproc=yes
32354 else
32355 echo "$as_me: failed program was:" >&5
32356 sed 's/^/| /' conftest.$ac_ext >&5
32357
32358 ac_header_preproc=no
32359 fi
32360 rm -f conftest.err conftest.$ac_ext
32361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32362 echo "${ECHO_T}$ac_header_preproc" >&6
32363
32364 # So? What about this header?
32365 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32366 yes:no: )
32367 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32368 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32370 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32371 ac_header_preproc=yes
32372 ;;
32373 no:yes:* )
32374 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32375 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32376 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32377 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32378 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32379 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32380 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32381 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32384 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32385 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32386 (
32387 cat <<\_ASBOX
32388 ## ----------------------------------------- ##
32389 ## Report this to wx-dev@lists.wxwidgets.org ##
32390 ## ----------------------------------------- ##
32391 _ASBOX
32392 ) |
32393 sed "s/^/$as_me: WARNING: /" >&2
32394 ;;
32395 esac
32396 echo "$as_me:$LINENO: checking for $ac_header" >&5
32397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32399 echo $ECHO_N "(cached) $ECHO_C" >&6
32400 else
32401 eval "$as_ac_Header=\$ac_header_preproc"
32402 fi
32403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32405
32406 fi
32407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32408 cat >>confdefs.h <<_ACEOF
32409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32410 _ACEOF
32411
32412 fi
32413
32414 done
32415
32416
32417 for ac_header in X11/XKBlib.h
32418 do
32419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32420 echo "$as_me:$LINENO: checking for $ac_header" >&5
32421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32423 echo $ECHO_N "(cached) $ECHO_C" >&6
32424 else
32425 cat >conftest.$ac_ext <<_ACEOF
32426 /* confdefs.h. */
32427 _ACEOF
32428 cat confdefs.h >>conftest.$ac_ext
32429 cat >>conftest.$ac_ext <<_ACEOF
32430 /* end confdefs.h. */
32431
32432 #if HAVE_X11_XLIB_H
32433 #include <X11/Xlib.h>
32434 #endif
32435
32436
32437 #include <$ac_header>
32438 _ACEOF
32439 rm -f conftest.$ac_objext
32440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32441 (eval $ac_compile) 2>conftest.er1
32442 ac_status=$?
32443 grep -v '^ *+' conftest.er1 >conftest.err
32444 rm -f conftest.er1
32445 cat conftest.err >&5
32446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32447 (exit $ac_status); } &&
32448 { ac_try='test -z "$ac_cxx_werror_flag"
32449 || test ! -s conftest.err'
32450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32451 (eval $ac_try) 2>&5
32452 ac_status=$?
32453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32454 (exit $ac_status); }; } &&
32455 { ac_try='test -s conftest.$ac_objext'
32456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32457 (eval $ac_try) 2>&5
32458 ac_status=$?
32459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32460 (exit $ac_status); }; }; then
32461 eval "$as_ac_Header=yes"
32462 else
32463 echo "$as_me: failed program was:" >&5
32464 sed 's/^/| /' conftest.$ac_ext >&5
32465
32466 eval "$as_ac_Header=no"
32467 fi
32468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32469 fi
32470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32473 cat >>confdefs.h <<_ACEOF
32474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32475 _ACEOF
32476
32477 fi
32478
32479 done
32480
32481 fi
32482 fi
32483
32484
32485
32486 IODBC_C_SRC=""
32487
32488
32489 if test "$TOOLKIT" != "MSW" ; then
32490
32491 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32492
32493 if test "${ac_cv_header_sql_h+set}" = set; then
32494 echo "$as_me:$LINENO: checking for sql.h" >&5
32495 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32496 if test "${ac_cv_header_sql_h+set}" = set; then
32497 echo $ECHO_N "(cached) $ECHO_C" >&6
32498 fi
32499 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32500 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32501 else
32502 # Is the header compilable?
32503 echo "$as_me:$LINENO: checking sql.h usability" >&5
32504 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32505 cat >conftest.$ac_ext <<_ACEOF
32506 /* confdefs.h. */
32507 _ACEOF
32508 cat confdefs.h >>conftest.$ac_ext
32509 cat >>conftest.$ac_ext <<_ACEOF
32510 /* end confdefs.h. */
32511 $ac_includes_default
32512 #include <sql.h>
32513 _ACEOF
32514 rm -f conftest.$ac_objext
32515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32516 (eval $ac_compile) 2>conftest.er1
32517 ac_status=$?
32518 grep -v '^ *+' conftest.er1 >conftest.err
32519 rm -f conftest.er1
32520 cat conftest.err >&5
32521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32522 (exit $ac_status); } &&
32523 { ac_try='test -z "$ac_cxx_werror_flag"
32524 || test ! -s conftest.err'
32525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32526 (eval $ac_try) 2>&5
32527 ac_status=$?
32528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32529 (exit $ac_status); }; } &&
32530 { ac_try='test -s conftest.$ac_objext'
32531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32532 (eval $ac_try) 2>&5
32533 ac_status=$?
32534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32535 (exit $ac_status); }; }; then
32536 ac_header_compiler=yes
32537 else
32538 echo "$as_me: failed program was:" >&5
32539 sed 's/^/| /' conftest.$ac_ext >&5
32540
32541 ac_header_compiler=no
32542 fi
32543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32544 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32545 echo "${ECHO_T}$ac_header_compiler" >&6
32546
32547 # Is the header present?
32548 echo "$as_me:$LINENO: checking sql.h presence" >&5
32549 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32550 cat >conftest.$ac_ext <<_ACEOF
32551 /* confdefs.h. */
32552 _ACEOF
32553 cat confdefs.h >>conftest.$ac_ext
32554 cat >>conftest.$ac_ext <<_ACEOF
32555 /* end confdefs.h. */
32556 #include <sql.h>
32557 _ACEOF
32558 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32559 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32560 ac_status=$?
32561 grep -v '^ *+' conftest.er1 >conftest.err
32562 rm -f conftest.er1
32563 cat conftest.err >&5
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); } >/dev/null; then
32566 if test -s conftest.err; then
32567 ac_cpp_err=$ac_cxx_preproc_warn_flag
32568 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32569 else
32570 ac_cpp_err=
32571 fi
32572 else
32573 ac_cpp_err=yes
32574 fi
32575 if test -z "$ac_cpp_err"; then
32576 ac_header_preproc=yes
32577 else
32578 echo "$as_me: failed program was:" >&5
32579 sed 's/^/| /' conftest.$ac_ext >&5
32580
32581 ac_header_preproc=no
32582 fi
32583 rm -f conftest.err conftest.$ac_ext
32584 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32585 echo "${ECHO_T}$ac_header_preproc" >&6
32586
32587 # So? What about this header?
32588 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32589 yes:no: )
32590 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32591 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32592 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32593 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32594 ac_header_preproc=yes
32595 ;;
32596 no:yes:* )
32597 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32598 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32599 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32600 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32601 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32602 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32603 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32604 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32605 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32606 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32607 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32608 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32609 (
32610 cat <<\_ASBOX
32611 ## ----------------------------------------- ##
32612 ## Report this to wx-dev@lists.wxwidgets.org ##
32613 ## ----------------------------------------- ##
32614 _ASBOX
32615 ) |
32616 sed "s/^/$as_me: WARNING: /" >&2
32617 ;;
32618 esac
32619 echo "$as_me:$LINENO: checking for sql.h" >&5
32620 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32621 if test "${ac_cv_header_sql_h+set}" = set; then
32622 echo $ECHO_N "(cached) $ECHO_C" >&6
32623 else
32624 ac_cv_header_sql_h=$ac_header_preproc
32625 fi
32626 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32627 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32628
32629 fi
32630 if test $ac_cv_header_sql_h = yes; then
32631 found_sql_h=1
32632 fi
32633
32634
32635 if test "x$found_sql_h" = "x1" ; then
32636 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32637 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32638 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32639 echo $ECHO_N "(cached) $ECHO_C" >&6
32640 else
32641 ac_check_lib_save_LIBS=$LIBS
32642 LIBS="-liodbc $LIBS"
32643 cat >conftest.$ac_ext <<_ACEOF
32644 /* confdefs.h. */
32645 _ACEOF
32646 cat confdefs.h >>conftest.$ac_ext
32647 cat >>conftest.$ac_ext <<_ACEOF
32648 /* end confdefs.h. */
32649
32650 /* Override any gcc2 internal prototype to avoid an error. */
32651 #ifdef __cplusplus
32652 extern "C"
32653 #endif
32654 /* We use char because int might match the return type of a gcc2
32655 builtin and then its argument prototype would still apply. */
32656 char SQLAllocEnv ();
32657 int
32658 main ()
32659 {
32660 SQLAllocEnv ();
32661 ;
32662 return 0;
32663 }
32664 _ACEOF
32665 rm -f conftest.$ac_objext conftest$ac_exeext
32666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32667 (eval $ac_link) 2>conftest.er1
32668 ac_status=$?
32669 grep -v '^ *+' conftest.er1 >conftest.err
32670 rm -f conftest.er1
32671 cat conftest.err >&5
32672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673 (exit $ac_status); } &&
32674 { ac_try='test -z "$ac_cxx_werror_flag"
32675 || test ! -s conftest.err'
32676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32677 (eval $ac_try) 2>&5
32678 ac_status=$?
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); }; } &&
32681 { ac_try='test -s conftest$ac_exeext'
32682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32683 (eval $ac_try) 2>&5
32684 ac_status=$?
32685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32686 (exit $ac_status); }; }; then
32687 ac_cv_lib_iodbc_SQLAllocEnv=yes
32688 else
32689 echo "$as_me: failed program was:" >&5
32690 sed 's/^/| /' conftest.$ac_ext >&5
32691
32692 ac_cv_lib_iodbc_SQLAllocEnv=no
32693 fi
32694 rm -f conftest.err conftest.$ac_objext \
32695 conftest$ac_exeext conftest.$ac_ext
32696 LIBS=$ac_check_lib_save_LIBS
32697 fi
32698 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32699 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32700 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32701 ODBC_LINK=" -liodbc"
32702 else
32703
32704 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32705 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32706 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32707 echo $ECHO_N "(cached) $ECHO_C" >&6
32708 else
32709 ac_check_lib_save_LIBS=$LIBS
32710 LIBS="-lunixodbc $LIBS"
32711 cat >conftest.$ac_ext <<_ACEOF
32712 /* confdefs.h. */
32713 _ACEOF
32714 cat confdefs.h >>conftest.$ac_ext
32715 cat >>conftest.$ac_ext <<_ACEOF
32716 /* end confdefs.h. */
32717
32718 /* Override any gcc2 internal prototype to avoid an error. */
32719 #ifdef __cplusplus
32720 extern "C"
32721 #endif
32722 /* We use char because int might match the return type of a gcc2
32723 builtin and then its argument prototype would still apply. */
32724 char SQLAllocEnv ();
32725 int
32726 main ()
32727 {
32728 SQLAllocEnv ();
32729 ;
32730 return 0;
32731 }
32732 _ACEOF
32733 rm -f conftest.$ac_objext conftest$ac_exeext
32734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32735 (eval $ac_link) 2>conftest.er1
32736 ac_status=$?
32737 grep -v '^ *+' conftest.er1 >conftest.err
32738 rm -f conftest.er1
32739 cat conftest.err >&5
32740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32741 (exit $ac_status); } &&
32742 { ac_try='test -z "$ac_cxx_werror_flag"
32743 || test ! -s conftest.err'
32744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32745 (eval $ac_try) 2>&5
32746 ac_status=$?
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); }; } &&
32749 { ac_try='test -s conftest$ac_exeext'
32750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32751 (eval $ac_try) 2>&5
32752 ac_status=$?
32753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32754 (exit $ac_status); }; }; then
32755 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32756 else
32757 echo "$as_me: failed program was:" >&5
32758 sed 's/^/| /' conftest.$ac_ext >&5
32759
32760 ac_cv_lib_unixodbc_SQLAllocEnv=no
32761 fi
32762 rm -f conftest.err conftest.$ac_objext \
32763 conftest$ac_exeext conftest.$ac_ext
32764 LIBS=$ac_check_lib_save_LIBS
32765 fi
32766 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32767 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32768 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32769 ODBC_LINK=" -lunixodbc"
32770 else
32771
32772 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32773 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32774 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32775 echo $ECHO_N "(cached) $ECHO_C" >&6
32776 else
32777 ac_check_lib_save_LIBS=$LIBS
32778 LIBS="-lodbc $LIBS"
32779 cat >conftest.$ac_ext <<_ACEOF
32780 /* confdefs.h. */
32781 _ACEOF
32782 cat confdefs.h >>conftest.$ac_ext
32783 cat >>conftest.$ac_ext <<_ACEOF
32784 /* end confdefs.h. */
32785
32786 /* Override any gcc2 internal prototype to avoid an error. */
32787 #ifdef __cplusplus
32788 extern "C"
32789 #endif
32790 /* We use char because int might match the return type of a gcc2
32791 builtin and then its argument prototype would still apply. */
32792 char SQLAllocEnv ();
32793 int
32794 main ()
32795 {
32796 SQLAllocEnv ();
32797 ;
32798 return 0;
32799 }
32800 _ACEOF
32801 rm -f conftest.$ac_objext conftest$ac_exeext
32802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32803 (eval $ac_link) 2>conftest.er1
32804 ac_status=$?
32805 grep -v '^ *+' conftest.er1 >conftest.err
32806 rm -f conftest.er1
32807 cat conftest.err >&5
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); } &&
32810 { ac_try='test -z "$ac_cxx_werror_flag"
32811 || test ! -s conftest.err'
32812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32813 (eval $ac_try) 2>&5
32814 ac_status=$?
32815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32816 (exit $ac_status); }; } &&
32817 { ac_try='test -s conftest$ac_exeext'
32818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32819 (eval $ac_try) 2>&5
32820 ac_status=$?
32821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32822 (exit $ac_status); }; }; then
32823 ac_cv_lib_odbc_SQLAllocEnv=yes
32824 else
32825 echo "$as_me: failed program was:" >&5
32826 sed 's/^/| /' conftest.$ac_ext >&5
32827
32828 ac_cv_lib_odbc_SQLAllocEnv=no
32829 fi
32830 rm -f conftest.err conftest.$ac_objext \
32831 conftest$ac_exeext conftest.$ac_ext
32832 LIBS=$ac_check_lib_save_LIBS
32833 fi
32834 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32835 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32836 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32837 ODBC_LINK=" -lodbc"
32838 fi
32839
32840
32841 fi
32842
32843
32844 fi
32845
32846 fi
32847 if test "x$ODBC_LINK" = "x" ; then
32848 if test "$wxUSE_ODBC" = "sys" ; then
32849 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32850 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32851 { (exit 1); exit 1; }; }
32852 else
32853 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32854 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32855 wxUSE_ODBC=builtin
32856 fi
32857 else
32858 wxUSE_ODBC=sys
32859 fi
32860 fi
32861
32862 if test "$wxUSE_ODBC" = "builtin" ; then
32863 cat >>confdefs.h <<\_ACEOF
32864 #define wxUSE_BUILTIN_IODBC 1
32865 _ACEOF
32866
32867 fi
32868 fi
32869
32870 if test "$wxUSE_ODBC" != "no" ; then
32871 cat >>confdefs.h <<\_ACEOF
32872 #define wxUSE_ODBC 1
32873 _ACEOF
32874
32875 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32876
32877 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32878 fi
32879
32880
32881 if test "$wxUSE_DISPLAY" = "yes"; then
32882 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32883 echo "$as_me:$LINENO: checking for Xinerama" >&5
32884 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32885
32886 ac_find_libraries=
32887 for ac_dir in $SEARCH_LIB;
32888 do
32889 for ac_extension in a so sl dylib dll.a; do
32890 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32891 ac_find_libraries=$ac_dir
32892 break 2
32893 fi
32894 done
32895 done
32896
32897 if test "$ac_find_libraries" != "" ; then
32898
32899 if test "$ac_find_libraries" = "default location"; then
32900 ac_path_to_link=""
32901 else
32902 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32903 result=$?
32904 if test $result = 0; then
32905 ac_path_to_link=""
32906 else
32907 ac_path_to_link=" -L$ac_find_libraries"
32908 fi
32909 fi
32910
32911 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32912 LDFLAGS="$LDFLAGS $ac_path_to_link"
32913 fi
32914 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32915 echo "$as_me:$LINENO: result: yes" >&5
32916 echo "${ECHO_T}yes" >&6
32917
32918 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32919 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32920
32921 ac_find_libraries=
32922 for ac_dir in $SEARCH_LIB;
32923 do
32924 for ac_extension in a so sl dylib dll.a; do
32925 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32926 ac_find_libraries=$ac_dir
32927 break 2
32928 fi
32929 done
32930 done
32931
32932 if test "$ac_find_libraries" != "" ; then
32933 echo "$as_me:$LINENO: result: yes" >&5
32934 echo "${ECHO_T}yes" >&6
32935
32936 for ac_header in X11/extensions/xf86vmode.h
32937 do
32938 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32939 echo "$as_me:$LINENO: checking for $ac_header" >&5
32940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32942 echo $ECHO_N "(cached) $ECHO_C" >&6
32943 else
32944 cat >conftest.$ac_ext <<_ACEOF
32945 /* confdefs.h. */
32946 _ACEOF
32947 cat confdefs.h >>conftest.$ac_ext
32948 cat >>conftest.$ac_ext <<_ACEOF
32949 /* end confdefs.h. */
32950
32951 #if HAVE_X11_XLIB_H
32952 #include <X11/Xlib.h>
32953 #endif
32954
32955
32956 #include <$ac_header>
32957 _ACEOF
32958 rm -f conftest.$ac_objext
32959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32960 (eval $ac_compile) 2>conftest.er1
32961 ac_status=$?
32962 grep -v '^ *+' conftest.er1 >conftest.err
32963 rm -f conftest.er1
32964 cat conftest.err >&5
32965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32966 (exit $ac_status); } &&
32967 { ac_try='test -z "$ac_cxx_werror_flag"
32968 || test ! -s conftest.err'
32969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32970 (eval $ac_try) 2>&5
32971 ac_status=$?
32972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32973 (exit $ac_status); }; } &&
32974 { ac_try='test -s conftest.$ac_objext'
32975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32976 (eval $ac_try) 2>&5
32977 ac_status=$?
32978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32979 (exit $ac_status); }; }; then
32980 eval "$as_ac_Header=yes"
32981 else
32982 echo "$as_me: failed program was:" >&5
32983 sed 's/^/| /' conftest.$ac_ext >&5
32984
32985 eval "$as_ac_Header=no"
32986 fi
32987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32988 fi
32989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32992 cat >>confdefs.h <<_ACEOF
32993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32994 _ACEOF
32995
32996 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32997
32998 fi
32999
33000 done
33001
33002 else
33003 echo "$as_me:$LINENO: result: no" >&5
33004 echo "${ECHO_T}no" >&6
33005 fi
33006
33007 else
33008 echo "$as_me:$LINENO: result: no" >&5
33009 echo "${ECHO_T}no" >&6
33010 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33011 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33012 wxUSE_DISPLAY="no"
33013 fi
33014 elif test "$wxUSE_MSW" = 1; then
33015
33016 for ac_header in ddraw.h
33017 do
33018 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33019 echo "$as_me:$LINENO: checking for $ac_header" >&5
33020 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33022 echo $ECHO_N "(cached) $ECHO_C" >&6
33023 else
33024 cat >conftest.$ac_ext <<_ACEOF
33025 /* confdefs.h. */
33026 _ACEOF
33027 cat confdefs.h >>conftest.$ac_ext
33028 cat >>conftest.$ac_ext <<_ACEOF
33029 /* end confdefs.h. */
33030 #include <windows.h>
33031
33032 #include <$ac_header>
33033 _ACEOF
33034 rm -f conftest.$ac_objext
33035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33036 (eval $ac_compile) 2>conftest.er1
33037 ac_status=$?
33038 grep -v '^ *+' conftest.er1 >conftest.err
33039 rm -f conftest.er1
33040 cat conftest.err >&5
33041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33042 (exit $ac_status); } &&
33043 { ac_try='test -z "$ac_cxx_werror_flag"
33044 || test ! -s conftest.err'
33045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33046 (eval $ac_try) 2>&5
33047 ac_status=$?
33048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33049 (exit $ac_status); }; } &&
33050 { ac_try='test -s conftest.$ac_objext'
33051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33052 (eval $ac_try) 2>&5
33053 ac_status=$?
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); }; }; then
33056 eval "$as_ac_Header=yes"
33057 else
33058 echo "$as_me: failed program was:" >&5
33059 sed 's/^/| /' conftest.$ac_ext >&5
33060
33061 eval "$as_ac_Header=no"
33062 fi
33063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33064 fi
33065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33068 cat >>confdefs.h <<_ACEOF
33069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33070 _ACEOF
33071
33072 fi
33073
33074 done
33075
33076 fi
33077 fi
33078
33079
33080 USE_OPENGL=0
33081 if test "$wxUSE_OPENGL" = "yes"; then
33082 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33083 OPENGL_LIBS="-framework OpenGL -framework AGL"
33084 elif test "$wxUSE_MSW" = 1; then
33085 OPENGL_LIBS="-lopengl32 -lglu32"
33086 else
33087
33088
33089 ac_find_includes=
33090 for ac_dir in $SEARCH_INCLUDE /usr/include;
33091 do
33092 if test -f "$ac_dir/GL/gl.h"; then
33093 ac_find_includes=$ac_dir
33094 break
33095 fi
33096 done
33097
33098 if test "$ac_find_includes" != "" ; then
33099 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33100 echo "${ECHO_T}found in $ac_find_includes" >&6
33101
33102 if test "x$ac_find_includes" = "x/usr/include"; then
33103 ac_path_to_include=""
33104 else
33105 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33106 result=$?
33107 if test $result = 0; then
33108 ac_path_to_include=""
33109 else
33110 ac_path_to_include=" -I$ac_find_includes"
33111 fi
33112 fi
33113
33114 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33115 fi
33116
33117 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33118 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33119 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33120 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33121 echo $ECHO_N "(cached) $ECHO_C" >&6
33122 fi
33123 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33124 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33125 else
33126 # Is the header compilable?
33127 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33128 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33129 cat >conftest.$ac_ext <<_ACEOF
33130 /* confdefs.h. */
33131 _ACEOF
33132 cat confdefs.h >>conftest.$ac_ext
33133 cat >>conftest.$ac_ext <<_ACEOF
33134 /* end confdefs.h. */
33135 $ac_includes_default
33136 #include <GL/gl.h>
33137 _ACEOF
33138 rm -f conftest.$ac_objext
33139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33140 (eval $ac_compile) 2>conftest.er1
33141 ac_status=$?
33142 grep -v '^ *+' conftest.er1 >conftest.err
33143 rm -f conftest.er1
33144 cat conftest.err >&5
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); } &&
33147 { ac_try='test -z "$ac_cxx_werror_flag"
33148 || test ! -s conftest.err'
33149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33150 (eval $ac_try) 2>&5
33151 ac_status=$?
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); }; } &&
33154 { ac_try='test -s conftest.$ac_objext'
33155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33156 (eval $ac_try) 2>&5
33157 ac_status=$?
33158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33159 (exit $ac_status); }; }; then
33160 ac_header_compiler=yes
33161 else
33162 echo "$as_me: failed program was:" >&5
33163 sed 's/^/| /' conftest.$ac_ext >&5
33164
33165 ac_header_compiler=no
33166 fi
33167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33169 echo "${ECHO_T}$ac_header_compiler" >&6
33170
33171 # Is the header present?
33172 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33173 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33174 cat >conftest.$ac_ext <<_ACEOF
33175 /* confdefs.h. */
33176 _ACEOF
33177 cat confdefs.h >>conftest.$ac_ext
33178 cat >>conftest.$ac_ext <<_ACEOF
33179 /* end confdefs.h. */
33180 #include <GL/gl.h>
33181 _ACEOF
33182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33184 ac_status=$?
33185 grep -v '^ *+' conftest.er1 >conftest.err
33186 rm -f conftest.er1
33187 cat conftest.err >&5
33188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33189 (exit $ac_status); } >/dev/null; then
33190 if test -s conftest.err; then
33191 ac_cpp_err=$ac_cxx_preproc_warn_flag
33192 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33193 else
33194 ac_cpp_err=
33195 fi
33196 else
33197 ac_cpp_err=yes
33198 fi
33199 if test -z "$ac_cpp_err"; then
33200 ac_header_preproc=yes
33201 else
33202 echo "$as_me: failed program was:" >&5
33203 sed 's/^/| /' conftest.$ac_ext >&5
33204
33205 ac_header_preproc=no
33206 fi
33207 rm -f conftest.err conftest.$ac_ext
33208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33209 echo "${ECHO_T}$ac_header_preproc" >&6
33210
33211 # So? What about this header?
33212 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33213 yes:no: )
33214 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33215 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33216 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33217 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33218 ac_header_preproc=yes
33219 ;;
33220 no:yes:* )
33221 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33222 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33223 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33224 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33225 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33226 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33227 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33228 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33229 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33230 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33231 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33232 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33233 (
33234 cat <<\_ASBOX
33235 ## ----------------------------------------- ##
33236 ## Report this to wx-dev@lists.wxwidgets.org ##
33237 ## ----------------------------------------- ##
33238 _ASBOX
33239 ) |
33240 sed "s/^/$as_me: WARNING: /" >&2
33241 ;;
33242 esac
33243 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33244 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33245 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33246 echo $ECHO_N "(cached) $ECHO_C" >&6
33247 else
33248 ac_cv_header_GL_gl_h=$ac_header_preproc
33249 fi
33250 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33251 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33252
33253 fi
33254 if test $ac_cv_header_GL_gl_h = yes; then
33255
33256 found_gl=0
33257
33258 echo "$as_me:$LINENO: checking for -lGL" >&5
33259 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33260
33261 ac_find_libraries=
33262 for ac_dir in $SEARCH_LIB;
33263 do
33264 for ac_extension in a so sl dylib dll.a; do
33265 if test -f "$ac_dir/libGL.$ac_extension"; then
33266 ac_find_libraries=$ac_dir
33267 break 2
33268 fi
33269 done
33270 done
33271
33272 if test "$ac_find_libraries" != "" ; then
33273 echo "$as_me:$LINENO: result: yes" >&5
33274 echo "${ECHO_T}yes" >&6
33275
33276
33277 if test "$ac_find_libraries" = "default location"; then
33278 ac_path_to_link=""
33279 else
33280 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33281 result=$?
33282 if test $result = 0; then
33283 ac_path_to_link=""
33284 else
33285 ac_path_to_link=" -L$ac_find_libraries"
33286 fi
33287 fi
33288
33289 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33290 LDFLAGS_GL="$ac_path_to_link"
33291 fi
33292
33293 echo "$as_me:$LINENO: checking for -lGLU" >&5
33294 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33295
33296 ac_find_libraries=
33297 for ac_dir in $SEARCH_LIB;
33298 do
33299 for ac_extension in a so sl dylib dll.a; do
33300 if test -f "$ac_dir/libGLU.$ac_extension"; then
33301 ac_find_libraries=$ac_dir
33302 break 2
33303 fi
33304 done
33305 done
33306
33307 if test "$ac_find_libraries" != "" ; then
33308
33309 if test "$ac_find_libraries" = "default location"; then
33310 ac_path_to_link=""
33311 else
33312 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33313 result=$?
33314 if test $result = 0; then
33315 ac_path_to_link=""
33316 else
33317 ac_path_to_link=" -L$ac_find_libraries"
33318 fi
33319 fi
33320
33321 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33322 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33323 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33324 fi
33325
33326 found_gl=1
33327 OPENGL_LIBS="-lGL -lGLU"
33328 echo "$as_me:$LINENO: result: yes" >&5
33329 echo "${ECHO_T}yes" >&6
33330 else
33331 echo "$as_me:$LINENO: result: no" >&5
33332 echo "${ECHO_T}no" >&6
33333 fi
33334 else
33335 echo "$as_me:$LINENO: result: no" >&5
33336 echo "${ECHO_T}no" >&6
33337 fi
33338
33339 if test "$found_gl" != 1; then
33340 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33341 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33342
33343 ac_find_libraries=
33344 for ac_dir in $SEARCH_LIB;
33345 do
33346 for ac_extension in a so sl dylib dll.a; do
33347 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33348 ac_find_libraries=$ac_dir
33349 break 2
33350 fi
33351 done
33352 done
33353
33354 if test "$ac_find_libraries" != "" ; then
33355
33356 if test "$ac_find_libraries" = "default location"; then
33357 ac_path_to_link=""
33358 else
33359 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33360 result=$?
33361 if test $result = 0; then
33362 ac_path_to_link=""
33363 else
33364 ac_path_to_link=" -L$ac_find_libraries"
33365 fi
33366 fi
33367
33368 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33369 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33370 echo "$as_me:$LINENO: result: yes" >&5
33371 echo "${ECHO_T}yes" >&6
33372 else
33373 echo "$as_me:$LINENO: result: no" >&5
33374 echo "${ECHO_T}no" >&6
33375 fi
33376 fi
33377
33378 fi
33379
33380
33381
33382 if test "x$OPENGL_LIBS" = "x"; then
33383 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33384 echo "$as_me: error: OpenGL libraries not available" >&2;}
33385 { (exit 1); exit 1; }; }
33386 fi
33387 fi
33388
33389 if test "$wxUSE_OPENGL" = "yes"; then
33390 USE_OPENGL=1
33391 cat >>confdefs.h <<\_ACEOF
33392 #define wxUSE_OPENGL 1
33393 _ACEOF
33394
33395 cat >>confdefs.h <<\_ACEOF
33396 #define wxUSE_GLCANVAS 1
33397 _ACEOF
33398
33399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33400 fi
33401 fi
33402
33403
33404 if test -n "$TOOLKIT" ; then
33405 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33406 fi
33407
33408
33409
33410 if test "$wxUSE_SHARED" = "yes"; then
33411 case "${host}" in
33412 *-pc-msdosdjgpp )
33413 wxUSE_SHARED=no
33414 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33415 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33416 ;;
33417 esac
33418 fi
33419
33420 if test "$wxUSE_SHARED" = "yes"; then
33421
33422
33423 found_versioning=no
33424
33425
33426 if test $found_versioning = no ; then
33427 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33428 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33429 if test "${wx_cv_version_script+set}" = set; then
33430 echo $ECHO_N "(cached) $ECHO_C" >&6
33431 else
33432
33433 echo "VER_1 { *; };" >conftest.sym
33434 echo "int main() { return 0; }" >conftest.cpp
33435
33436 if { ac_try='
33437 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33438 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33440 (eval $ac_try) 2>&5
33441 ac_status=$?
33442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33443 (exit $ac_status); }; } ; then
33444 if test -s conftest.stderr ; then
33445 wx_cv_version_script=no
33446 else
33447 wx_cv_version_script=yes
33448 fi
33449 else
33450 wx_cv_version_script=no
33451 fi
33452
33453 if test $wx_cv_version_script = yes
33454 then
33455 echo "struct B { virtual ~B() { } }; \
33456 struct D : public B { }; \
33457 void F() { D d; }" > conftest.cpp
33458
33459 if { ac_try='
33460 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33461 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33463 (eval $ac_try) 2>&5
33464 ac_status=$?
33465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33466 (exit $ac_status); }; } &&
33467 { ac_try='
33468 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33469 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33471 (eval $ac_try) 2>&5
33472 ac_status=$?
33473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33474 (exit $ac_status); }; }
33475 then
33476 if { ac_try='
33477 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33478 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33480 (eval $ac_try) 2>&5
33481 ac_status=$?
33482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33483 (exit $ac_status); }; }
33484 then
33485 wx_cv_version_script=yes
33486 else
33487 wx_cv_version_script=no
33488 fi
33489 fi
33490 fi
33491
33492 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33493 rm -f conftest1.output conftest2.output conftest3.output
33494
33495 fi
33496 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33497 echo "${ECHO_T}$wx_cv_version_script" >&6
33498 if test $wx_cv_version_script = yes ; then
33499 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33500 fi
33501 fi
33502
33503
33504 case "${host}" in
33505 *-*-linux* | *-*-gnu* )
33506 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33507 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33508 ;;
33509
33510 *-*-solaris2* )
33511 if test "$GCC" = yes ; then
33512 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33513
33514 saveLdflags="$LDFLAGS"
33515 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33516 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33517 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33518 cat >conftest.$ac_ext <<_ACEOF
33519 /* confdefs.h. */
33520 _ACEOF
33521 cat confdefs.h >>conftest.$ac_ext
33522 cat >>conftest.$ac_ext <<_ACEOF
33523 /* end confdefs.h. */
33524
33525 int
33526 main ()
33527 {
33528
33529 ;
33530 return 0;
33531 }
33532 _ACEOF
33533 rm -f conftest.$ac_objext conftest$ac_exeext
33534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33535 (eval $ac_link) 2>conftest.er1
33536 ac_status=$?
33537 grep -v '^ *+' conftest.er1 >conftest.err
33538 rm -f conftest.er1
33539 cat conftest.err >&5
33540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33541 (exit $ac_status); } &&
33542 { ac_try='test -z "$ac_cxx_werror_flag"
33543 || test ! -s conftest.err'
33544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33545 (eval $ac_try) 2>&5
33546 ac_status=$?
33547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33548 (exit $ac_status); }; } &&
33549 { ac_try='test -s conftest$ac_exeext'
33550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33551 (eval $ac_try) 2>&5
33552 ac_status=$?
33553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33554 (exit $ac_status); }; }; then
33555
33556 echo "$as_me:$LINENO: result: yes" >&5
33557 echo "${ECHO_T}yes" >&6
33558 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33559 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33560
33561 else
33562 echo "$as_me: failed program was:" >&5
33563 sed 's/^/| /' conftest.$ac_ext >&5
33564
33565
33566 echo "$as_me:$LINENO: result: no" >&5
33567 echo "${ECHO_T}no" >&6
33568 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33569 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33570 LDFLAGS="$saveLdflags -Wl,-R,/"
33571 cat >conftest.$ac_ext <<_ACEOF
33572 /* confdefs.h. */
33573 _ACEOF
33574 cat confdefs.h >>conftest.$ac_ext
33575 cat >>conftest.$ac_ext <<_ACEOF
33576 /* end confdefs.h. */
33577
33578 int
33579 main ()
33580 {
33581
33582 ;
33583 return 0;
33584 }
33585 _ACEOF
33586 rm -f conftest.$ac_objext conftest$ac_exeext
33587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33588 (eval $ac_link) 2>conftest.er1
33589 ac_status=$?
33590 grep -v '^ *+' conftest.er1 >conftest.err
33591 rm -f conftest.er1
33592 cat conftest.err >&5
33593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33594 (exit $ac_status); } &&
33595 { ac_try='test -z "$ac_cxx_werror_flag"
33596 || test ! -s conftest.err'
33597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33598 (eval $ac_try) 2>&5
33599 ac_status=$?
33600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33601 (exit $ac_status); }; } &&
33602 { ac_try='test -s conftest$ac_exeext'
33603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33604 (eval $ac_try) 2>&5
33605 ac_status=$?
33606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33607 (exit $ac_status); }; }; then
33608
33609 echo "$as_me:$LINENO: result: yes" >&5
33610 echo "${ECHO_T}yes" >&6
33611 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33612 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33613
33614 else
33615 echo "$as_me: failed program was:" >&5
33616 sed 's/^/| /' conftest.$ac_ext >&5
33617
33618
33619 echo "$as_me:$LINENO: result: no" >&5
33620 echo "${ECHO_T}no" >&6
33621
33622 fi
33623 rm -f conftest.err conftest.$ac_objext \
33624 conftest$ac_exeext conftest.$ac_ext
33625
33626 fi
33627 rm -f conftest.err conftest.$ac_objext \
33628 conftest$ac_exeext conftest.$ac_ext
33629 LDFLAGS="$saveLdflags"
33630 else
33631 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
33632 WXCONFIG_RPATH="-R\$libdir"
33633 fi
33634 ;;
33635
33636 *-*-darwin* )
33637 install_name_tool=`which install_name_tool`
33638 if test "$install_name_tool" -a -x "$install_name_tool"; then
33639 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33640 cat <<EOF >change-install-names
33641 #!/bin/sh
33642 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33643 inst_cmd="install_name_tool "
33644 for i in \${libnames} ; do
33645 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33646 done
33647 \${inst_cmd} \${3}
33648 EOF
33649 chmod +x change-install-names
33650 fi
33651 ;;
33652
33653 *-*-cygwin* | *-*-mingw32* )
33654 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33655 ;;
33656
33657 *-*-hpux* )
33658 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
33659 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33660 ;;
33661
33662 esac
33663
33664 if test $wxUSE_RPATH = "no"; then
33665 SAMPLES_RPATH_FLAG=''
33666 SAMPLES_RPATH_POSTLINK=''
33667 WXCONFIG_RPATH=''
33668 fi
33669
33670 SHARED=1
33671
33672 else
33673
33674 config_linkage_component="-static"
33675 SHARED=0
33676
33677 fi
33678
33679
33680 UNICODE=0
33681 lib_unicode_suffix=
33682 WX_CHARTYPE="ansi"
33683 if test "$wxUSE_UNICODE" = "yes"; then
33684 lib_unicode_suffix=u
33685 WX_CHARTYPE="unicode"
33686 UNICODE=1
33687 fi
33688
33689 lib_debug_suffix=
33690 WX_DEBUGTYPE="release"
33691 DEBUG_FLAG=0
33692 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33693 lib_debug_suffix=d
33694 WX_DEBUGTYPE="debug"
33695 DEBUG_FLAG=1
33696 fi
33697
33698 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33699 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33700
33701 DEBUG_INFO=0
33702 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33703 DEBUG_INFO=1
33704 fi
33705
33706 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33707
33708 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33709
33710 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33711
33712 if test "$cross_compiling" = "yes"; then
33713 HOST_SUFFIX="-$host_alias"
33714 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33715 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33716 fi
33717
33718 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33719 if test "${TOOLKIT_DIR}" = "os2"; then
33720 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33721 else
33722 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33723 fi
33724
33725
33726
33727 if test "$wxUSE_COCOA" = 1; then
33728
33729
33730 ac_ext=c
33731 ac_cpp='$CPP $CPPFLAGS'
33732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33735
33736 ac_ext=m
33737
33738 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33739 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33740 cat >conftest.$ac_ext <<_ACEOF
33741 /* confdefs.h. */
33742 _ACEOF
33743 cat confdefs.h >>conftest.$ac_ext
33744 cat >>conftest.$ac_ext <<_ACEOF
33745 /* end confdefs.h. */
33746 #include <AppKit/NSEvent.h>
33747 #include <CoreFoundation/CoreFoundation.h>
33748
33749 int
33750 main ()
33751 {
33752
33753 ;
33754 return 0;
33755 }
33756 _ACEOF
33757 rm -f conftest.$ac_objext
33758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33759 (eval $ac_compile) 2>conftest.er1
33760 ac_status=$?
33761 grep -v '^ *+' conftest.er1 >conftest.err
33762 rm -f conftest.er1
33763 cat conftest.err >&5
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); } &&
33766 { ac_try='test -z "$ac_c_werror_flag"
33767 || test ! -s conftest.err'
33768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33769 (eval $ac_try) 2>&5
33770 ac_status=$?
33771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33772 (exit $ac_status); }; } &&
33773 { ac_try='test -s conftest.$ac_objext'
33774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33775 (eval $ac_try) 2>&5
33776 ac_status=$?
33777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33778 (exit $ac_status); }; }; then
33779 echo "$as_me:$LINENO: result: no" >&5
33780 echo "${ECHO_T}no" >&6
33781 else
33782 echo "$as_me: failed program was:" >&5
33783 sed 's/^/| /' conftest.$ac_ext >&5
33784
33785 echo "$as_me:$LINENO: result: yes" >&5
33786 echo "${ECHO_T}yes" >&6
33787 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33788 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33789 cat >conftest.$ac_ext <<_ACEOF
33790 /* confdefs.h. */
33791 _ACEOF
33792 cat confdefs.h >>conftest.$ac_ext
33793 cat >>conftest.$ac_ext <<_ACEOF
33794 /* end confdefs.h. */
33795 #define __Point__ 1
33796 #include <AppKit/NSEvent.h>
33797 #include <CoreFoundation/CoreFoundation.h>
33798
33799 int
33800 main ()
33801 {
33802
33803 ;
33804 return 0;
33805 }
33806 _ACEOF
33807 rm -f conftest.$ac_objext
33808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33809 (eval $ac_compile) 2>conftest.er1
33810 ac_status=$?
33811 grep -v '^ *+' conftest.er1 >conftest.err
33812 rm -f conftest.er1
33813 cat conftest.err >&5
33814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33815 (exit $ac_status); } &&
33816 { ac_try='test -z "$ac_c_werror_flag"
33817 || test ! -s conftest.err'
33818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33819 (eval $ac_try) 2>&5
33820 ac_status=$?
33821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33822 (exit $ac_status); }; } &&
33823 { ac_try='test -s conftest.$ac_objext'
33824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33825 (eval $ac_try) 2>&5
33826 ac_status=$?
33827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33828 (exit $ac_status); }; }; then
33829 echo "$as_me:$LINENO: result: yes" >&5
33830 echo "${ECHO_T}yes" >&6
33831 cat >>confdefs.h <<\_ACEOF
33832 #define __Point__ 1
33833 _ACEOF
33834
33835
33836 else
33837 echo "$as_me: failed program was:" >&5
33838 sed 's/^/| /' conftest.$ac_ext >&5
33839
33840 { { echo "$as_me:$LINENO: error: no
33841 See \`config.log' for more details." >&5
33842 echo "$as_me: error: no
33843 See \`config.log' for more details." >&2;}
33844 { (exit 1); exit 1; }; }
33845
33846 fi
33847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33848
33849 fi
33850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33851 ac_ext=cc
33852 ac_cpp='$CXXCPP $CPPFLAGS'
33853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33856
33857 fi
33858
33859 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33860 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33861 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33862
33863 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33864
33865 # Extract the first word of "Rez", so it can be a program name with args.
33866 set dummy Rez; ac_word=$2
33867 echo "$as_me:$LINENO: checking for $ac_word" >&5
33868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33869 if test "${ac_cv_prog_REZ+set}" = set; then
33870 echo $ECHO_N "(cached) $ECHO_C" >&6
33871 else
33872 if test -n "$REZ"; then
33873 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33874 else
33875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33876 for as_dir in $PATH
33877 do
33878 IFS=$as_save_IFS
33879 test -z "$as_dir" && as_dir=.
33880 for ac_exec_ext in '' $ac_executable_extensions; do
33881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33882 ac_cv_prog_REZ="Rez"
33883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33884 break 2
33885 fi
33886 done
33887 done
33888
33889 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33890 fi
33891 fi
33892 REZ=$ac_cv_prog_REZ
33893 if test -n "$REZ"; then
33894 echo "$as_me:$LINENO: result: $REZ" >&5
33895 echo "${ECHO_T}$REZ" >&6
33896 else
33897 echo "$as_me:$LINENO: result: no" >&5
33898 echo "${ECHO_T}no" >&6
33899 fi
33900
33901 # Extract the first word of "DeRez", so it can be a program name with args.
33902 set dummy DeRez; ac_word=$2
33903 echo "$as_me:$LINENO: checking for $ac_word" >&5
33904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33905 if test "${ac_cv_prog_DEREZ+set}" = set; then
33906 echo $ECHO_N "(cached) $ECHO_C" >&6
33907 else
33908 if test -n "$DEREZ"; then
33909 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33910 else
33911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33912 for as_dir in $PATH
33913 do
33914 IFS=$as_save_IFS
33915 test -z "$as_dir" && as_dir=.
33916 for ac_exec_ext in '' $ac_executable_extensions; do
33917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33918 ac_cv_prog_DEREZ="DeRez"
33919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33920 break 2
33921 fi
33922 done
33923 done
33924
33925 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33926 fi
33927 fi
33928 DEREZ=$ac_cv_prog_DEREZ
33929 if test -n "$DEREZ"; then
33930 echo "$as_me:$LINENO: result: $DEREZ" >&5
33931 echo "${ECHO_T}$DEREZ" >&6
33932 else
33933 echo "$as_me:$LINENO: result: no" >&5
33934 echo "${ECHO_T}no" >&6
33935 fi
33936
33937 # Extract the first word of "SetFile", so it can be a program name with args.
33938 set dummy SetFile; ac_word=$2
33939 echo "$as_me:$LINENO: checking for $ac_word" >&5
33940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33941 if test "${ac_cv_prog_SETFILE+set}" = set; then
33942 echo $ECHO_N "(cached) $ECHO_C" >&6
33943 else
33944 if test -n "$SETFILE"; then
33945 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33946 else
33947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33948 for as_dir in $PATH
33949 do
33950 IFS=$as_save_IFS
33951 test -z "$as_dir" && as_dir=.
33952 for ac_exec_ext in '' $ac_executable_extensions; do
33953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33954 ac_cv_prog_SETFILE="SetFile"
33955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33956 break 2
33957 fi
33958 done
33959 done
33960
33961 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33962 fi
33963 fi
33964 SETFILE=$ac_cv_prog_SETFILE
33965 if test -n "$SETFILE"; then
33966 echo "$as_me:$LINENO: result: $SETFILE" >&5
33967 echo "${ECHO_T}$SETFILE" >&6
33968 else
33969 echo "$as_me:$LINENO: result: no" >&5
33970 echo "${ECHO_T}no" >&6
33971 fi
33972
33973
33974 MACSETFILE="\$(SETFILE)"
33975
33976 if test "$wxUSE_MAC" = 1; then
33977 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33978 RESCOMP="$REZ"
33979 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33980 else
33981 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33982 RESCOMP="echo -n \| $REZ"
33983 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33984 fi
33985
33986 else
33987 MACSETFILE="@true"
33988
33989 if test "$wxUSE_PM" = 1; then
33990 RESCOMP="emxbind"
33991 WXCONFIG_RESFLAGS="-ep"
33992
33993 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33994 else
33995 POSTLINK_COMMAND="@true"
33996 fi
33997
33998 fi
33999
34000
34001
34002 echo "$as_me:$LINENO: checking for mode_t" >&5
34003 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34004 if test "${ac_cv_type_mode_t+set}" = set; then
34005 echo $ECHO_N "(cached) $ECHO_C" >&6
34006 else
34007 cat >conftest.$ac_ext <<_ACEOF
34008 /* confdefs.h. */
34009 _ACEOF
34010 cat confdefs.h >>conftest.$ac_ext
34011 cat >>conftest.$ac_ext <<_ACEOF
34012 /* end confdefs.h. */
34013 $ac_includes_default
34014 int
34015 main ()
34016 {
34017 if ((mode_t *) 0)
34018 return 0;
34019 if (sizeof (mode_t))
34020 return 0;
34021 ;
34022 return 0;
34023 }
34024 _ACEOF
34025 rm -f conftest.$ac_objext
34026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34027 (eval $ac_compile) 2>conftest.er1
34028 ac_status=$?
34029 grep -v '^ *+' conftest.er1 >conftest.err
34030 rm -f conftest.er1
34031 cat conftest.err >&5
34032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34033 (exit $ac_status); } &&
34034 { ac_try='test -z "$ac_cxx_werror_flag"
34035 || test ! -s conftest.err'
34036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34037 (eval $ac_try) 2>&5
34038 ac_status=$?
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); }; } &&
34041 { ac_try='test -s conftest.$ac_objext'
34042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34043 (eval $ac_try) 2>&5
34044 ac_status=$?
34045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34046 (exit $ac_status); }; }; then
34047 ac_cv_type_mode_t=yes
34048 else
34049 echo "$as_me: failed program was:" >&5
34050 sed 's/^/| /' conftest.$ac_ext >&5
34051
34052 ac_cv_type_mode_t=no
34053 fi
34054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34055 fi
34056 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34057 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34058 if test $ac_cv_type_mode_t = yes; then
34059 :
34060 else
34061
34062 cat >>confdefs.h <<_ACEOF
34063 #define mode_t int
34064 _ACEOF
34065
34066 fi
34067
34068 echo "$as_me:$LINENO: checking for off_t" >&5
34069 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34070 if test "${ac_cv_type_off_t+set}" = set; then
34071 echo $ECHO_N "(cached) $ECHO_C" >&6
34072 else
34073 cat >conftest.$ac_ext <<_ACEOF
34074 /* confdefs.h. */
34075 _ACEOF
34076 cat confdefs.h >>conftest.$ac_ext
34077 cat >>conftest.$ac_ext <<_ACEOF
34078 /* end confdefs.h. */
34079 $ac_includes_default
34080 int
34081 main ()
34082 {
34083 if ((off_t *) 0)
34084 return 0;
34085 if (sizeof (off_t))
34086 return 0;
34087 ;
34088 return 0;
34089 }
34090 _ACEOF
34091 rm -f conftest.$ac_objext
34092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34093 (eval $ac_compile) 2>conftest.er1
34094 ac_status=$?
34095 grep -v '^ *+' conftest.er1 >conftest.err
34096 rm -f conftest.er1
34097 cat conftest.err >&5
34098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34099 (exit $ac_status); } &&
34100 { ac_try='test -z "$ac_cxx_werror_flag"
34101 || test ! -s conftest.err'
34102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34103 (eval $ac_try) 2>&5
34104 ac_status=$?
34105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34106 (exit $ac_status); }; } &&
34107 { ac_try='test -s conftest.$ac_objext'
34108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34109 (eval $ac_try) 2>&5
34110 ac_status=$?
34111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34112 (exit $ac_status); }; }; then
34113 ac_cv_type_off_t=yes
34114 else
34115 echo "$as_me: failed program was:" >&5
34116 sed 's/^/| /' conftest.$ac_ext >&5
34117
34118 ac_cv_type_off_t=no
34119 fi
34120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34121 fi
34122 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34123 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34124 if test $ac_cv_type_off_t = yes; then
34125 :
34126 else
34127
34128 cat >>confdefs.h <<_ACEOF
34129 #define off_t long
34130 _ACEOF
34131
34132 fi
34133
34134 echo "$as_me:$LINENO: checking for pid_t" >&5
34135 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34136 if test "${ac_cv_type_pid_t+set}" = set; then
34137 echo $ECHO_N "(cached) $ECHO_C" >&6
34138 else
34139 cat >conftest.$ac_ext <<_ACEOF
34140 /* confdefs.h. */
34141 _ACEOF
34142 cat confdefs.h >>conftest.$ac_ext
34143 cat >>conftest.$ac_ext <<_ACEOF
34144 /* end confdefs.h. */
34145 $ac_includes_default
34146 int
34147 main ()
34148 {
34149 if ((pid_t *) 0)
34150 return 0;
34151 if (sizeof (pid_t))
34152 return 0;
34153 ;
34154 return 0;
34155 }
34156 _ACEOF
34157 rm -f conftest.$ac_objext
34158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34159 (eval $ac_compile) 2>conftest.er1
34160 ac_status=$?
34161 grep -v '^ *+' conftest.er1 >conftest.err
34162 rm -f conftest.er1
34163 cat conftest.err >&5
34164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34165 (exit $ac_status); } &&
34166 { ac_try='test -z "$ac_cxx_werror_flag"
34167 || test ! -s conftest.err'
34168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34169 (eval $ac_try) 2>&5
34170 ac_status=$?
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); }; } &&
34173 { ac_try='test -s conftest.$ac_objext'
34174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34175 (eval $ac_try) 2>&5
34176 ac_status=$?
34177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34178 (exit $ac_status); }; }; then
34179 ac_cv_type_pid_t=yes
34180 else
34181 echo "$as_me: failed program was:" >&5
34182 sed 's/^/| /' conftest.$ac_ext >&5
34183
34184 ac_cv_type_pid_t=no
34185 fi
34186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34187 fi
34188 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34189 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34190 if test $ac_cv_type_pid_t = yes; then
34191 :
34192 else
34193
34194 cat >>confdefs.h <<_ACEOF
34195 #define pid_t int
34196 _ACEOF
34197
34198 fi
34199
34200 echo "$as_me:$LINENO: checking for size_t" >&5
34201 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34202 if test "${ac_cv_type_size_t+set}" = set; then
34203 echo $ECHO_N "(cached) $ECHO_C" >&6
34204 else
34205 cat >conftest.$ac_ext <<_ACEOF
34206 /* confdefs.h. */
34207 _ACEOF
34208 cat confdefs.h >>conftest.$ac_ext
34209 cat >>conftest.$ac_ext <<_ACEOF
34210 /* end confdefs.h. */
34211 $ac_includes_default
34212 int
34213 main ()
34214 {
34215 if ((size_t *) 0)
34216 return 0;
34217 if (sizeof (size_t))
34218 return 0;
34219 ;
34220 return 0;
34221 }
34222 _ACEOF
34223 rm -f conftest.$ac_objext
34224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34225 (eval $ac_compile) 2>conftest.er1
34226 ac_status=$?
34227 grep -v '^ *+' conftest.er1 >conftest.err
34228 rm -f conftest.er1
34229 cat conftest.err >&5
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); } &&
34232 { ac_try='test -z "$ac_cxx_werror_flag"
34233 || test ! -s conftest.err'
34234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34235 (eval $ac_try) 2>&5
34236 ac_status=$?
34237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34238 (exit $ac_status); }; } &&
34239 { ac_try='test -s conftest.$ac_objext'
34240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34241 (eval $ac_try) 2>&5
34242 ac_status=$?
34243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34244 (exit $ac_status); }; }; then
34245 ac_cv_type_size_t=yes
34246 else
34247 echo "$as_me: failed program was:" >&5
34248 sed 's/^/| /' conftest.$ac_ext >&5
34249
34250 ac_cv_type_size_t=no
34251 fi
34252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34253 fi
34254 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34255 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34256 if test $ac_cv_type_size_t = yes; then
34257 :
34258 else
34259
34260 cat >>confdefs.h <<_ACEOF
34261 #define size_t unsigned
34262 _ACEOF
34263
34264 fi
34265
34266 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34267 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34268 if test "${ac_cv_type_uid_t+set}" = set; then
34269 echo $ECHO_N "(cached) $ECHO_C" >&6
34270 else
34271 cat >conftest.$ac_ext <<_ACEOF
34272 /* confdefs.h. */
34273 _ACEOF
34274 cat confdefs.h >>conftest.$ac_ext
34275 cat >>conftest.$ac_ext <<_ACEOF
34276 /* end confdefs.h. */
34277 #include <sys/types.h>
34278
34279 _ACEOF
34280 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34281 $EGREP "uid_t" >/dev/null 2>&1; then
34282 ac_cv_type_uid_t=yes
34283 else
34284 ac_cv_type_uid_t=no
34285 fi
34286 rm -f conftest*
34287
34288 fi
34289 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34290 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34291 if test $ac_cv_type_uid_t = no; then
34292
34293 cat >>confdefs.h <<\_ACEOF
34294 #define uid_t int
34295 _ACEOF
34296
34297
34298 cat >>confdefs.h <<\_ACEOF
34299 #define gid_t int
34300 _ACEOF
34301
34302 fi
34303
34304
34305 echo "$as_me:$LINENO: checking for ssize_t" >&5
34306 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34307 if test "${ac_cv_type_ssize_t+set}" = set; then
34308 echo $ECHO_N "(cached) $ECHO_C" >&6
34309 else
34310 cat >conftest.$ac_ext <<_ACEOF
34311 /* confdefs.h. */
34312 _ACEOF
34313 cat confdefs.h >>conftest.$ac_ext
34314 cat >>conftest.$ac_ext <<_ACEOF
34315 /* end confdefs.h. */
34316 $ac_includes_default
34317 int
34318 main ()
34319 {
34320 if ((ssize_t *) 0)
34321 return 0;
34322 if (sizeof (ssize_t))
34323 return 0;
34324 ;
34325 return 0;
34326 }
34327 _ACEOF
34328 rm -f conftest.$ac_objext
34329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34330 (eval $ac_compile) 2>conftest.er1
34331 ac_status=$?
34332 grep -v '^ *+' conftest.er1 >conftest.err
34333 rm -f conftest.er1
34334 cat conftest.err >&5
34335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336 (exit $ac_status); } &&
34337 { ac_try='test -z "$ac_cxx_werror_flag"
34338 || test ! -s conftest.err'
34339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34340 (eval $ac_try) 2>&5
34341 ac_status=$?
34342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34343 (exit $ac_status); }; } &&
34344 { ac_try='test -s conftest.$ac_objext'
34345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34346 (eval $ac_try) 2>&5
34347 ac_status=$?
34348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34349 (exit $ac_status); }; }; then
34350 ac_cv_type_ssize_t=yes
34351 else
34352 echo "$as_me: failed program was:" >&5
34353 sed 's/^/| /' conftest.$ac_ext >&5
34354
34355 ac_cv_type_ssize_t=no
34356 fi
34357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34358 fi
34359 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34360 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34361 if test $ac_cv_type_ssize_t = yes; then
34362
34363 cat >>confdefs.h <<_ACEOF
34364 #define HAVE_SSIZE_T 1
34365 _ACEOF
34366
34367
34368 fi
34369
34370
34371 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34372 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34373 if test "${wx_cv_size_t_is_uint+set}" = set; then
34374 echo $ECHO_N "(cached) $ECHO_C" >&6
34375 else
34376
34377 cat >conftest.$ac_ext <<_ACEOF
34378 /* confdefs.h. */
34379 _ACEOF
34380 cat confdefs.h >>conftest.$ac_ext
34381 cat >>conftest.$ac_ext <<_ACEOF
34382 /* end confdefs.h. */
34383 #include <stddef.h>
34384 int
34385 main ()
34386 {
34387
34388 return 0; }
34389
34390 struct Foo { void foo(size_t); void foo(unsigned int); };
34391
34392 int bar() {
34393
34394 ;
34395 return 0;
34396 }
34397 _ACEOF
34398 rm -f conftest.$ac_objext
34399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34400 (eval $ac_compile) 2>conftest.er1
34401 ac_status=$?
34402 grep -v '^ *+' conftest.er1 >conftest.err
34403 rm -f conftest.er1
34404 cat conftest.err >&5
34405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34406 (exit $ac_status); } &&
34407 { ac_try='test -z "$ac_cxx_werror_flag"
34408 || test ! -s conftest.err'
34409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34410 (eval $ac_try) 2>&5
34411 ac_status=$?
34412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34413 (exit $ac_status); }; } &&
34414 { ac_try='test -s conftest.$ac_objext'
34415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34416 (eval $ac_try) 2>&5
34417 ac_status=$?
34418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34419 (exit $ac_status); }; }; then
34420 wx_cv_size_t_is_uint=no
34421 else
34422 echo "$as_me: failed program was:" >&5
34423 sed 's/^/| /' conftest.$ac_ext >&5
34424
34425 wx_cv_size_t_is_uint=yes
34426
34427 fi
34428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34429
34430
34431 fi
34432 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34433 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34434
34435 if test "$wx_cv_size_t_is_uint" = "yes"; then
34436 cat >>confdefs.h <<\_ACEOF
34437 #define wxSIZE_T_IS_UINT 1
34438 _ACEOF
34439
34440 else
34441 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34442 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34443 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34444 echo $ECHO_N "(cached) $ECHO_C" >&6
34445 else
34446 cat >conftest.$ac_ext <<_ACEOF
34447 /* confdefs.h. */
34448 _ACEOF
34449 cat confdefs.h >>conftest.$ac_ext
34450 cat >>conftest.$ac_ext <<_ACEOF
34451 /* end confdefs.h. */
34452 #include <stddef.h>
34453 int
34454 main ()
34455 {
34456
34457 return 0; }
34458
34459 struct Foo { void foo(size_t); void foo(unsigned long); };
34460
34461 int bar() {
34462
34463 ;
34464 return 0;
34465 }
34466 _ACEOF
34467 rm -f conftest.$ac_objext
34468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34469 (eval $ac_compile) 2>conftest.er1
34470 ac_status=$?
34471 grep -v '^ *+' conftest.er1 >conftest.err
34472 rm -f conftest.er1
34473 cat conftest.err >&5
34474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475 (exit $ac_status); } &&
34476 { ac_try='test -z "$ac_cxx_werror_flag"
34477 || test ! -s conftest.err'
34478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34479 (eval $ac_try) 2>&5
34480 ac_status=$?
34481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34482 (exit $ac_status); }; } &&
34483 { ac_try='test -s conftest.$ac_objext'
34484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34485 (eval $ac_try) 2>&5
34486 ac_status=$?
34487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34488 (exit $ac_status); }; }; then
34489 wx_cv_size_t_is_ulong=no
34490 else
34491 echo "$as_me: failed program was:" >&5
34492 sed 's/^/| /' conftest.$ac_ext >&5
34493
34494 wx_cv_size_t_is_ulong=yes
34495
34496 fi
34497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34498
34499 fi
34500 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34501 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34502
34503 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34504 cat >>confdefs.h <<\_ACEOF
34505 #define wxSIZE_T_IS_ULONG 1
34506 _ACEOF
34507
34508 fi
34509 fi
34510
34511
34512 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34513 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34514 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34515 echo $ECHO_N "(cached) $ECHO_C" >&6
34516 else
34517
34518 cat >conftest.$ac_ext <<_ACEOF
34519 /* confdefs.h. */
34520 _ACEOF
34521 cat confdefs.h >>conftest.$ac_ext
34522 cat >>conftest.$ac_ext <<_ACEOF
34523 /* end confdefs.h. */
34524 #include <pwd.h>
34525 int
34526 main ()
34527 {
34528
34529 char *p;
34530 struct passwd *pw;
34531 p = pw->pw_gecos;
34532
34533 ;
34534 return 0;
34535 }
34536 _ACEOF
34537 rm -f conftest.$ac_objext
34538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34539 (eval $ac_compile) 2>conftest.er1
34540 ac_status=$?
34541 grep -v '^ *+' conftest.er1 >conftest.err
34542 rm -f conftest.er1
34543 cat conftest.err >&5
34544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34545 (exit $ac_status); } &&
34546 { ac_try='test -z "$ac_cxx_werror_flag"
34547 || test ! -s conftest.err'
34548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34549 (eval $ac_try) 2>&5
34550 ac_status=$?
34551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34552 (exit $ac_status); }; } &&
34553 { ac_try='test -s conftest.$ac_objext'
34554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34555 (eval $ac_try) 2>&5
34556 ac_status=$?
34557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34558 (exit $ac_status); }; }; then
34559
34560 wx_cv_struct_pw_gecos=yes
34561
34562 else
34563 echo "$as_me: failed program was:" >&5
34564 sed 's/^/| /' conftest.$ac_ext >&5
34565
34566
34567 wx_cv_struct_pw_gecos=no
34568
34569
34570 fi
34571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34572
34573
34574 fi
34575 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34576 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34577
34578 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34579 cat >>confdefs.h <<\_ACEOF
34580 #define HAVE_PW_GECOS 1
34581 _ACEOF
34582
34583 fi
34584
34585
34586 if test "$wxUSE_WCHAR_T" = "yes"; then
34587 cat >>confdefs.h <<\_ACEOF
34588 #define wxUSE_WCHAR_T 1
34589 _ACEOF
34590
34591
34592 WCSLEN_FOUND=0
34593 WCHAR_LINK=
34594
34595 for ac_func in wcslen
34596 do
34597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34598 echo "$as_me:$LINENO: checking for $ac_func" >&5
34599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34600 if eval "test \"\${$as_ac_var+set}\" = set"; then
34601 echo $ECHO_N "(cached) $ECHO_C" >&6
34602 else
34603 cat >conftest.$ac_ext <<_ACEOF
34604 /* confdefs.h. */
34605 _ACEOF
34606 cat confdefs.h >>conftest.$ac_ext
34607 cat >>conftest.$ac_ext <<_ACEOF
34608 /* end confdefs.h. */
34609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34611 #define $ac_func innocuous_$ac_func
34612
34613 /* System header to define __stub macros and hopefully few prototypes,
34614 which can conflict with char $ac_func (); below.
34615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34616 <limits.h> exists even on freestanding compilers. */
34617
34618 #ifdef __STDC__
34619 # include <limits.h>
34620 #else
34621 # include <assert.h>
34622 #endif
34623
34624 #undef $ac_func
34625
34626 /* Override any gcc2 internal prototype to avoid an error. */
34627 #ifdef __cplusplus
34628 extern "C"
34629 {
34630 #endif
34631 /* We use char because int might match the return type of a gcc2
34632 builtin and then its argument prototype would still apply. */
34633 char $ac_func ();
34634 /* The GNU C library defines this for functions which it implements
34635 to always fail with ENOSYS. Some functions are actually named
34636 something starting with __ and the normal name is an alias. */
34637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34638 choke me
34639 #else
34640 char (*f) () = $ac_func;
34641 #endif
34642 #ifdef __cplusplus
34643 }
34644 #endif
34645
34646 int
34647 main ()
34648 {
34649 return f != $ac_func;
34650 ;
34651 return 0;
34652 }
34653 _ACEOF
34654 rm -f conftest.$ac_objext conftest$ac_exeext
34655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34656 (eval $ac_link) 2>conftest.er1
34657 ac_status=$?
34658 grep -v '^ *+' conftest.er1 >conftest.err
34659 rm -f conftest.er1
34660 cat conftest.err >&5
34661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34662 (exit $ac_status); } &&
34663 { ac_try='test -z "$ac_cxx_werror_flag"
34664 || test ! -s conftest.err'
34665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34666 (eval $ac_try) 2>&5
34667 ac_status=$?
34668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34669 (exit $ac_status); }; } &&
34670 { ac_try='test -s conftest$ac_exeext'
34671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34672 (eval $ac_try) 2>&5
34673 ac_status=$?
34674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34675 (exit $ac_status); }; }; then
34676 eval "$as_ac_var=yes"
34677 else
34678 echo "$as_me: failed program was:" >&5
34679 sed 's/^/| /' conftest.$ac_ext >&5
34680
34681 eval "$as_ac_var=no"
34682 fi
34683 rm -f conftest.err conftest.$ac_objext \
34684 conftest$ac_exeext conftest.$ac_ext
34685 fi
34686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34688 if test `eval echo '${'$as_ac_var'}'` = yes; then
34689 cat >>confdefs.h <<_ACEOF
34690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34691 _ACEOF
34692 WCSLEN_FOUND=1
34693 fi
34694 done
34695
34696
34697 if test "$WCSLEN_FOUND" = 0; then
34698 if test "$TOOLKIT" = "MSW"; then
34699 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34700 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34701 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34702 echo $ECHO_N "(cached) $ECHO_C" >&6
34703 else
34704 ac_check_lib_save_LIBS=$LIBS
34705 LIBS="-lmsvcrt $LIBS"
34706 cat >conftest.$ac_ext <<_ACEOF
34707 /* confdefs.h. */
34708 _ACEOF
34709 cat confdefs.h >>conftest.$ac_ext
34710 cat >>conftest.$ac_ext <<_ACEOF
34711 /* end confdefs.h. */
34712
34713 /* Override any gcc2 internal prototype to avoid an error. */
34714 #ifdef __cplusplus
34715 extern "C"
34716 #endif
34717 /* We use char because int might match the return type of a gcc2
34718 builtin and then its argument prototype would still apply. */
34719 char wcslen ();
34720 int
34721 main ()
34722 {
34723 wcslen ();
34724 ;
34725 return 0;
34726 }
34727 _ACEOF
34728 rm -f conftest.$ac_objext conftest$ac_exeext
34729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34730 (eval $ac_link) 2>conftest.er1
34731 ac_status=$?
34732 grep -v '^ *+' conftest.er1 >conftest.err
34733 rm -f conftest.er1
34734 cat conftest.err >&5
34735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34736 (exit $ac_status); } &&
34737 { ac_try='test -z "$ac_cxx_werror_flag"
34738 || test ! -s conftest.err'
34739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34740 (eval $ac_try) 2>&5
34741 ac_status=$?
34742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34743 (exit $ac_status); }; } &&
34744 { ac_try='test -s conftest$ac_exeext'
34745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34746 (eval $ac_try) 2>&5
34747 ac_status=$?
34748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34749 (exit $ac_status); }; }; then
34750 ac_cv_lib_msvcrt_wcslen=yes
34751 else
34752 echo "$as_me: failed program was:" >&5
34753 sed 's/^/| /' conftest.$ac_ext >&5
34754
34755 ac_cv_lib_msvcrt_wcslen=no
34756 fi
34757 rm -f conftest.err conftest.$ac_objext \
34758 conftest$ac_exeext conftest.$ac_ext
34759 LIBS=$ac_check_lib_save_LIBS
34760 fi
34761 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34762 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34763 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34764 WCHAR_OK=1
34765 fi
34766
34767 else
34768 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34769 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34770 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34771 echo $ECHO_N "(cached) $ECHO_C" >&6
34772 else
34773 ac_check_lib_save_LIBS=$LIBS
34774 LIBS="-lw $LIBS"
34775 cat >conftest.$ac_ext <<_ACEOF
34776 /* confdefs.h. */
34777 _ACEOF
34778 cat confdefs.h >>conftest.$ac_ext
34779 cat >>conftest.$ac_ext <<_ACEOF
34780 /* end confdefs.h. */
34781
34782 /* Override any gcc2 internal prototype to avoid an error. */
34783 #ifdef __cplusplus
34784 extern "C"
34785 #endif
34786 /* We use char because int might match the return type of a gcc2
34787 builtin and then its argument prototype would still apply. */
34788 char wcslen ();
34789 int
34790 main ()
34791 {
34792 wcslen ();
34793 ;
34794 return 0;
34795 }
34796 _ACEOF
34797 rm -f conftest.$ac_objext conftest$ac_exeext
34798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34799 (eval $ac_link) 2>conftest.er1
34800 ac_status=$?
34801 grep -v '^ *+' conftest.er1 >conftest.err
34802 rm -f conftest.er1
34803 cat conftest.err >&5
34804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34805 (exit $ac_status); } &&
34806 { ac_try='test -z "$ac_cxx_werror_flag"
34807 || test ! -s conftest.err'
34808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34809 (eval $ac_try) 2>&5
34810 ac_status=$?
34811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34812 (exit $ac_status); }; } &&
34813 { ac_try='test -s conftest$ac_exeext'
34814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34815 (eval $ac_try) 2>&5
34816 ac_status=$?
34817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34818 (exit $ac_status); }; }; then
34819 ac_cv_lib_w_wcslen=yes
34820 else
34821 echo "$as_me: failed program was:" >&5
34822 sed 's/^/| /' conftest.$ac_ext >&5
34823
34824 ac_cv_lib_w_wcslen=no
34825 fi
34826 rm -f conftest.err conftest.$ac_objext \
34827 conftest$ac_exeext conftest.$ac_ext
34828 LIBS=$ac_check_lib_save_LIBS
34829 fi
34830 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34831 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34832 if test $ac_cv_lib_w_wcslen = yes; then
34833
34834 WCHAR_LINK=" -lw"
34835 WCSLEN_FOUND=1
34836
34837 fi
34838
34839 fi
34840 fi
34841
34842 if test "$WCSLEN_FOUND" = 1; then
34843 cat >>confdefs.h <<\_ACEOF
34844 #define HAVE_WCSLEN 1
34845 _ACEOF
34846
34847 fi
34848
34849 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34850 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34851 fi
34852
34853 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34854 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34855 if test "${ac_cv_type_mbstate_t+set}" = set; then
34856 echo $ECHO_N "(cached) $ECHO_C" >&6
34857 else
34858 cat >conftest.$ac_ext <<_ACEOF
34859 /* confdefs.h. */
34860 _ACEOF
34861 cat confdefs.h >>conftest.$ac_ext
34862 cat >>conftest.$ac_ext <<_ACEOF
34863 /* end confdefs.h. */
34864 #include <wchar.h>
34865
34866 int
34867 main ()
34868 {
34869 if ((mbstate_t *) 0)
34870 return 0;
34871 if (sizeof (mbstate_t))
34872 return 0;
34873 ;
34874 return 0;
34875 }
34876 _ACEOF
34877 rm -f conftest.$ac_objext
34878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34879 (eval $ac_compile) 2>conftest.er1
34880 ac_status=$?
34881 grep -v '^ *+' conftest.er1 >conftest.err
34882 rm -f conftest.er1
34883 cat conftest.err >&5
34884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34885 (exit $ac_status); } &&
34886 { ac_try='test -z "$ac_cxx_werror_flag"
34887 || test ! -s conftest.err'
34888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34889 (eval $ac_try) 2>&5
34890 ac_status=$?
34891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34892 (exit $ac_status); }; } &&
34893 { ac_try='test -s conftest.$ac_objext'
34894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34895 (eval $ac_try) 2>&5
34896 ac_status=$?
34897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34898 (exit $ac_status); }; }; then
34899 ac_cv_type_mbstate_t=yes
34900 else
34901 echo "$as_me: failed program was:" >&5
34902 sed 's/^/| /' conftest.$ac_ext >&5
34903
34904 ac_cv_type_mbstate_t=no
34905 fi
34906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34907 fi
34908 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34909 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34910 if test $ac_cv_type_mbstate_t = yes; then
34911
34912 cat >>confdefs.h <<_ACEOF
34913 #define HAVE_MBSTATE_T 1
34914 _ACEOF
34915
34916
34917 for ac_func in wcsrtombs
34918 do
34919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34920 echo "$as_me:$LINENO: checking for $ac_func" >&5
34921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34922 if eval "test \"\${$as_ac_var+set}\" = set"; then
34923 echo $ECHO_N "(cached) $ECHO_C" >&6
34924 else
34925 cat >conftest.$ac_ext <<_ACEOF
34926 /* confdefs.h. */
34927 _ACEOF
34928 cat confdefs.h >>conftest.$ac_ext
34929 cat >>conftest.$ac_ext <<_ACEOF
34930 /* end confdefs.h. */
34931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34933 #define $ac_func innocuous_$ac_func
34934
34935 /* System header to define __stub macros and hopefully few prototypes,
34936 which can conflict with char $ac_func (); below.
34937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34938 <limits.h> exists even on freestanding compilers. */
34939
34940 #ifdef __STDC__
34941 # include <limits.h>
34942 #else
34943 # include <assert.h>
34944 #endif
34945
34946 #undef $ac_func
34947
34948 /* Override any gcc2 internal prototype to avoid an error. */
34949 #ifdef __cplusplus
34950 extern "C"
34951 {
34952 #endif
34953 /* We use char because int might match the return type of a gcc2
34954 builtin and then its argument prototype would still apply. */
34955 char $ac_func ();
34956 /* The GNU C library defines this for functions which it implements
34957 to always fail with ENOSYS. Some functions are actually named
34958 something starting with __ and the normal name is an alias. */
34959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34960 choke me
34961 #else
34962 char (*f) () = $ac_func;
34963 #endif
34964 #ifdef __cplusplus
34965 }
34966 #endif
34967
34968 int
34969 main ()
34970 {
34971 return f != $ac_func;
34972 ;
34973 return 0;
34974 }
34975 _ACEOF
34976 rm -f conftest.$ac_objext conftest$ac_exeext
34977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34978 (eval $ac_link) 2>conftest.er1
34979 ac_status=$?
34980 grep -v '^ *+' conftest.er1 >conftest.err
34981 rm -f conftest.er1
34982 cat conftest.err >&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); } &&
34985 { ac_try='test -z "$ac_cxx_werror_flag"
34986 || test ! -s conftest.err'
34987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34988 (eval $ac_try) 2>&5
34989 ac_status=$?
34990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991 (exit $ac_status); }; } &&
34992 { ac_try='test -s conftest$ac_exeext'
34993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34994 (eval $ac_try) 2>&5
34995 ac_status=$?
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); }; }; then
34998 eval "$as_ac_var=yes"
34999 else
35000 echo "$as_me: failed program was:" >&5
35001 sed 's/^/| /' conftest.$ac_ext >&5
35002
35003 eval "$as_ac_var=no"
35004 fi
35005 rm -f conftest.err conftest.$ac_objext \
35006 conftest$ac_exeext conftest.$ac_ext
35007 fi
35008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35010 if test `eval echo '${'$as_ac_var'}'` = yes; then
35011 cat >>confdefs.h <<_ACEOF
35012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35013 _ACEOF
35014
35015 fi
35016 done
35017
35018 fi
35019
35020 else
35021 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35022 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35023 fi
35024
35025
35026
35027 for ac_func in snprintf vsnprintf
35028 do
35029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35030 echo "$as_me:$LINENO: checking for $ac_func" >&5
35031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35032 if eval "test \"\${$as_ac_var+set}\" = set"; then
35033 echo $ECHO_N "(cached) $ECHO_C" >&6
35034 else
35035 cat >conftest.$ac_ext <<_ACEOF
35036 /* confdefs.h. */
35037 _ACEOF
35038 cat confdefs.h >>conftest.$ac_ext
35039 cat >>conftest.$ac_ext <<_ACEOF
35040 /* end confdefs.h. */
35041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35043 #define $ac_func innocuous_$ac_func
35044
35045 /* System header to define __stub macros and hopefully few prototypes,
35046 which can conflict with char $ac_func (); below.
35047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35048 <limits.h> exists even on freestanding compilers. */
35049
35050 #ifdef __STDC__
35051 # include <limits.h>
35052 #else
35053 # include <assert.h>
35054 #endif
35055
35056 #undef $ac_func
35057
35058 /* Override any gcc2 internal prototype to avoid an error. */
35059 #ifdef __cplusplus
35060 extern "C"
35061 {
35062 #endif
35063 /* We use char because int might match the return type of a gcc2
35064 builtin and then its argument prototype would still apply. */
35065 char $ac_func ();
35066 /* The GNU C library defines this for functions which it implements
35067 to always fail with ENOSYS. Some functions are actually named
35068 something starting with __ and the normal name is an alias. */
35069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35070 choke me
35071 #else
35072 char (*f) () = $ac_func;
35073 #endif
35074 #ifdef __cplusplus
35075 }
35076 #endif
35077
35078 int
35079 main ()
35080 {
35081 return f != $ac_func;
35082 ;
35083 return 0;
35084 }
35085 _ACEOF
35086 rm -f conftest.$ac_objext conftest$ac_exeext
35087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35088 (eval $ac_link) 2>conftest.er1
35089 ac_status=$?
35090 grep -v '^ *+' conftest.er1 >conftest.err
35091 rm -f conftest.er1
35092 cat conftest.err >&5
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); } &&
35095 { ac_try='test -z "$ac_cxx_werror_flag"
35096 || test ! -s conftest.err'
35097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35098 (eval $ac_try) 2>&5
35099 ac_status=$?
35100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35101 (exit $ac_status); }; } &&
35102 { ac_try='test -s conftest$ac_exeext'
35103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35104 (eval $ac_try) 2>&5
35105 ac_status=$?
35106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35107 (exit $ac_status); }; }; then
35108 eval "$as_ac_var=yes"
35109 else
35110 echo "$as_me: failed program was:" >&5
35111 sed 's/^/| /' conftest.$ac_ext >&5
35112
35113 eval "$as_ac_var=no"
35114 fi
35115 rm -f conftest.err conftest.$ac_objext \
35116 conftest$ac_exeext conftest.$ac_ext
35117 fi
35118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35120 if test `eval echo '${'$as_ac_var'}'` = yes; then
35121 cat >>confdefs.h <<_ACEOF
35122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35123 _ACEOF
35124
35125 fi
35126 done
35127
35128
35129 if test "$ac_cv_func_vsnprintf" = "yes"; then
35130 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35131 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35132 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35133 echo $ECHO_N "(cached) $ECHO_C" >&6
35134 else
35135
35136 cat >conftest.$ac_ext <<_ACEOF
35137 /* confdefs.h. */
35138 _ACEOF
35139 cat confdefs.h >>conftest.$ac_ext
35140 cat >>conftest.$ac_ext <<_ACEOF
35141 /* end confdefs.h. */
35142
35143 #include <stdio.h>
35144 #include <stdarg.h>
35145 #ifdef __MSL__
35146 #if __MSL__ >= 0x6000
35147 namespace std {}
35148 using namespace std;
35149 #endif
35150 #endif
35151
35152 int
35153 main ()
35154 {
35155
35156 char *buf;
35157 va_list ap;
35158 vsnprintf(buf, 10u, "%s", ap);
35159
35160 ;
35161 return 0;
35162 }
35163 _ACEOF
35164 rm -f conftest.$ac_objext
35165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35166 (eval $ac_compile) 2>conftest.er1
35167 ac_status=$?
35168 grep -v '^ *+' conftest.er1 >conftest.err
35169 rm -f conftest.er1
35170 cat conftest.err >&5
35171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35172 (exit $ac_status); } &&
35173 { ac_try='test -z "$ac_cxx_werror_flag"
35174 || test ! -s conftest.err'
35175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35176 (eval $ac_try) 2>&5
35177 ac_status=$?
35178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35179 (exit $ac_status); }; } &&
35180 { ac_try='test -s conftest.$ac_objext'
35181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35182 (eval $ac_try) 2>&5
35183 ac_status=$?
35184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35185 (exit $ac_status); }; }; then
35186 wx_cv_func_vsnprintf_decl=yes
35187 else
35188 echo "$as_me: failed program was:" >&5
35189 sed 's/^/| /' conftest.$ac_ext >&5
35190
35191 wx_cv_func_vsnprintf_decl=no
35192
35193 fi
35194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35195
35196
35197 fi
35198 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35199 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35200
35201 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35202 cat >>confdefs.h <<\_ACEOF
35203 #define HAVE_VSNPRINTF_DECL 1
35204 _ACEOF
35205
35206
35207 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35208 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35209 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35210 echo $ECHO_N "(cached) $ECHO_C" >&6
35211 else
35212
35213 cat >conftest.$ac_ext <<_ACEOF
35214 /* confdefs.h. */
35215 _ACEOF
35216 cat confdefs.h >>conftest.$ac_ext
35217 cat >>conftest.$ac_ext <<_ACEOF
35218 /* end confdefs.h. */
35219
35220 #include <stdio.h>
35221 #include <stdarg.h>
35222 #ifdef __MSL__
35223 #if __MSL__ >= 0x6000
35224 namespace std {}
35225 using namespace std;
35226 #endif
35227 #endif
35228
35229 int
35230 main ()
35231 {
35232
35233 char *buf;
35234 va_list ap;
35235 const char *fmt = "%s";
35236 vsnprintf(buf, 10u, fmt, ap);
35237
35238 ;
35239 return 0;
35240 }
35241 _ACEOF
35242 rm -f conftest.$ac_objext
35243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35244 (eval $ac_compile) 2>conftest.er1
35245 ac_status=$?
35246 grep -v '^ *+' conftest.er1 >conftest.err
35247 rm -f conftest.er1
35248 cat conftest.err >&5
35249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35250 (exit $ac_status); } &&
35251 { ac_try='test -z "$ac_cxx_werror_flag"
35252 || test ! -s conftest.err'
35253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35254 (eval $ac_try) 2>&5
35255 ac_status=$?
35256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35257 (exit $ac_status); }; } &&
35258 { ac_try='test -s conftest.$ac_objext'
35259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35260 (eval $ac_try) 2>&5
35261 ac_status=$?
35262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35263 (exit $ac_status); }; }; then
35264 wx_cv_func_broken_vsnprintf_decl=no
35265 else
35266 echo "$as_me: failed program was:" >&5
35267 sed 's/^/| /' conftest.$ac_ext >&5
35268
35269 wx_cv_func_broken_vsnprintf_decl=yes
35270
35271 fi
35272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35273
35274
35275 fi
35276 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35277 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35278
35279 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35280 cat >>confdefs.h <<\_ACEOF
35281 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35282 _ACEOF
35283
35284 fi
35285 fi
35286 fi
35287
35288 if test "$ac_cv_func_snprintf" = "yes"; then
35289 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35290 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35291 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35292 echo $ECHO_N "(cached) $ECHO_C" >&6
35293 else
35294
35295 cat >conftest.$ac_ext <<_ACEOF
35296 /* confdefs.h. */
35297 _ACEOF
35298 cat confdefs.h >>conftest.$ac_ext
35299 cat >>conftest.$ac_ext <<_ACEOF
35300 /* end confdefs.h. */
35301
35302 #include <stdio.h>
35303 #include <stdarg.h>
35304 #ifdef __MSL__
35305 #if __MSL__ >= 0x6000
35306 namespace std {}
35307 using namespace std;
35308 #endif
35309 #endif
35310
35311 int
35312 main ()
35313 {
35314
35315 char *buf;
35316 snprintf(buf, 10u, "%s", "wx");
35317
35318 ;
35319 return 0;
35320 }
35321 _ACEOF
35322 rm -f conftest.$ac_objext
35323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35324 (eval $ac_compile) 2>conftest.er1
35325 ac_status=$?
35326 grep -v '^ *+' conftest.er1 >conftest.err
35327 rm -f conftest.er1
35328 cat conftest.err >&5
35329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35330 (exit $ac_status); } &&
35331 { ac_try='test -z "$ac_cxx_werror_flag"
35332 || test ! -s conftest.err'
35333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35334 (eval $ac_try) 2>&5
35335 ac_status=$?
35336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35337 (exit $ac_status); }; } &&
35338 { ac_try='test -s conftest.$ac_objext'
35339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35340 (eval $ac_try) 2>&5
35341 ac_status=$?
35342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35343 (exit $ac_status); }; }; then
35344 wx_cv_func_snprintf_decl=yes
35345 else
35346 echo "$as_me: failed program was:" >&5
35347 sed 's/^/| /' conftest.$ac_ext >&5
35348
35349 wx_cv_func_snprintf_decl=no
35350
35351 fi
35352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35353
35354
35355 fi
35356 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35357 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35358
35359 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35360 cat >>confdefs.h <<\_ACEOF
35361 #define HAVE_SNPRINTF_DECL 1
35362 _ACEOF
35363
35364
35365 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35366 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35367 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35368 echo $ECHO_N "(cached) $ECHO_C" >&6
35369 else
35370
35371 cat >conftest.$ac_ext <<_ACEOF
35372 /* confdefs.h. */
35373 _ACEOF
35374 cat confdefs.h >>conftest.$ac_ext
35375 cat >>conftest.$ac_ext <<_ACEOF
35376 /* end confdefs.h. */
35377
35378 #include <stdio.h>
35379 #include <stdarg.h>
35380 #ifdef __MSL__
35381 #if __MSL__ >= 0x6000
35382 namespace std {}
35383 using namespace std;
35384 #endif
35385 #endif
35386
35387 int
35388 main ()
35389 {
35390
35391 char *buf;
35392 const char *fmt = "%s";
35393 snprintf(buf, 10u, fmt, "wx");
35394
35395 ;
35396 return 0;
35397 }
35398 _ACEOF
35399 rm -f conftest.$ac_objext
35400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35401 (eval $ac_compile) 2>conftest.er1
35402 ac_status=$?
35403 grep -v '^ *+' conftest.er1 >conftest.err
35404 rm -f conftest.er1
35405 cat conftest.err >&5
35406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35407 (exit $ac_status); } &&
35408 { ac_try='test -z "$ac_cxx_werror_flag"
35409 || test ! -s conftest.err'
35410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35411 (eval $ac_try) 2>&5
35412 ac_status=$?
35413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35414 (exit $ac_status); }; } &&
35415 { ac_try='test -s conftest.$ac_objext'
35416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35417 (eval $ac_try) 2>&5
35418 ac_status=$?
35419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35420 (exit $ac_status); }; }; then
35421 wx_cv_func_broken_snprintf_decl=no
35422 else
35423 echo "$as_me: failed program was:" >&5
35424 sed 's/^/| /' conftest.$ac_ext >&5
35425
35426 wx_cv_func_broken_snprintf_decl=yes
35427
35428 fi
35429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35430
35431
35432 fi
35433 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35434 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35435
35436 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35437 cat >>confdefs.h <<\_ACEOF
35438 #define HAVE_BROKEN_SNPRINTF_DECL 1
35439 _ACEOF
35440
35441 fi
35442 fi
35443
35444 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35445
35446 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35447 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35448 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35449 echo $ECHO_N "(cached) $ECHO_C" >&6
35450 else
35451
35452 if test "$cross_compiling" = yes; then
35453
35454 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35455 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35456 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35457 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35458 wx_cv_func_snprintf_pos_params=no
35459
35460
35461 else
35462 cat >conftest.$ac_ext <<_ACEOF
35463 /* confdefs.h. */
35464 _ACEOF
35465 cat confdefs.h >>conftest.$ac_ext
35466 cat >>conftest.$ac_ext <<_ACEOF
35467 /* end confdefs.h. */
35468
35469 #include <stdio.h>
35470
35471 int main (void)
35472 {
35473 char buffer[128];
35474 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35475 if (strcmp ("2 3 1", buffer) == 0)
35476 exit (0);
35477 exit (1);
35478 }
35479
35480 _ACEOF
35481 rm -f conftest$ac_exeext
35482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35483 (eval $ac_link) 2>&5
35484 ac_status=$?
35485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35486 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35488 (eval $ac_try) 2>&5
35489 ac_status=$?
35490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35491 (exit $ac_status); }; }; then
35492 wx_cv_func_snprintf_pos_params=no
35493 else
35494 echo "$as_me: program exited with status $ac_status" >&5
35495 echo "$as_me: failed program was:" >&5
35496 sed 's/^/| /' conftest.$ac_ext >&5
35497
35498 ( exit $ac_status )
35499 wx_cv_func_snprintf_pos_params=yes
35500 fi
35501 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35502 fi
35503
35504
35505 fi
35506 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35507 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35508
35509 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35510 cat >>confdefs.h <<\_ACEOF
35511 #define HAVE_UNIX98_PRINTF 1
35512 _ACEOF
35513
35514 fi
35515 fi
35516 fi
35517
35518 if test "$wxUSE_UNICODE" = yes; then
35519
35520
35521 for ac_func in swprintf
35522 do
35523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35524 echo "$as_me:$LINENO: checking for $ac_func" >&5
35525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35526 if eval "test \"\${$as_ac_var+set}\" = set"; then
35527 echo $ECHO_N "(cached) $ECHO_C" >&6
35528 else
35529 cat >conftest.$ac_ext <<_ACEOF
35530 /* confdefs.h. */
35531 _ACEOF
35532 cat confdefs.h >>conftest.$ac_ext
35533 cat >>conftest.$ac_ext <<_ACEOF
35534 /* end confdefs.h. */
35535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35537 #define $ac_func innocuous_$ac_func
35538
35539 /* System header to define __stub macros and hopefully few prototypes,
35540 which can conflict with char $ac_func (); below.
35541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35542 <limits.h> exists even on freestanding compilers. */
35543
35544 #ifdef __STDC__
35545 # include <limits.h>
35546 #else
35547 # include <assert.h>
35548 #endif
35549
35550 #undef $ac_func
35551
35552 /* Override any gcc2 internal prototype to avoid an error. */
35553 #ifdef __cplusplus
35554 extern "C"
35555 {
35556 #endif
35557 /* We use char because int might match the return type of a gcc2
35558 builtin and then its argument prototype would still apply. */
35559 char $ac_func ();
35560 /* The GNU C library defines this for functions which it implements
35561 to always fail with ENOSYS. Some functions are actually named
35562 something starting with __ and the normal name is an alias. */
35563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35564 choke me
35565 #else
35566 char (*f) () = $ac_func;
35567 #endif
35568 #ifdef __cplusplus
35569 }
35570 #endif
35571
35572 int
35573 main ()
35574 {
35575 return f != $ac_func;
35576 ;
35577 return 0;
35578 }
35579 _ACEOF
35580 rm -f conftest.$ac_objext conftest$ac_exeext
35581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35582 (eval $ac_link) 2>conftest.er1
35583 ac_status=$?
35584 grep -v '^ *+' conftest.er1 >conftest.err
35585 rm -f conftest.er1
35586 cat conftest.err >&5
35587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35588 (exit $ac_status); } &&
35589 { ac_try='test -z "$ac_cxx_werror_flag"
35590 || test ! -s conftest.err'
35591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35592 (eval $ac_try) 2>&5
35593 ac_status=$?
35594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35595 (exit $ac_status); }; } &&
35596 { ac_try='test -s conftest$ac_exeext'
35597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35598 (eval $ac_try) 2>&5
35599 ac_status=$?
35600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35601 (exit $ac_status); }; }; then
35602 eval "$as_ac_var=yes"
35603 else
35604 echo "$as_me: failed program was:" >&5
35605 sed 's/^/| /' conftest.$ac_ext >&5
35606
35607 eval "$as_ac_var=no"
35608 fi
35609 rm -f conftest.err conftest.$ac_objext \
35610 conftest$ac_exeext conftest.$ac_ext
35611 fi
35612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35614 if test `eval echo '${'$as_ac_var'}'` = yes; then
35615 cat >>confdefs.h <<_ACEOF
35616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35617 _ACEOF
35618
35619 fi
35620 done
35621
35622
35623 if test "$ac_cv_func_swprintf" = "yes"; then
35624 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35625 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35626 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35627 echo $ECHO_N "(cached) $ECHO_C" >&6
35628 else
35629
35630 cat >conftest.$ac_ext <<_ACEOF
35631 /* confdefs.h. */
35632 _ACEOF
35633 cat confdefs.h >>conftest.$ac_ext
35634 cat >>conftest.$ac_ext <<_ACEOF
35635 /* end confdefs.h. */
35636
35637 #include <stdio.h>
35638 #include <stdarg.h>
35639 #include <wchar.h>
35640
35641 int
35642 main ()
35643 {
35644
35645 wchar_t *buf;
35646 const wchar_t *fmt = L"test";
35647 swprintf(buf, 10u, fmt);
35648
35649 ;
35650 return 0;
35651 }
35652 _ACEOF
35653 rm -f conftest.$ac_objext
35654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35655 (eval $ac_compile) 2>conftest.er1
35656 ac_status=$?
35657 grep -v '^ *+' conftest.er1 >conftest.err
35658 rm -f conftest.er1
35659 cat conftest.err >&5
35660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35661 (exit $ac_status); } &&
35662 { ac_try='test -z "$ac_cxx_werror_flag"
35663 || test ! -s conftest.err'
35664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35665 (eval $ac_try) 2>&5
35666 ac_status=$?
35667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35668 (exit $ac_status); }; } &&
35669 { ac_try='test -s conftest.$ac_objext'
35670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35671 (eval $ac_try) 2>&5
35672 ac_status=$?
35673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35674 (exit $ac_status); }; }; then
35675 wx_cv_func_broken_swprintf_decl=no
35676 else
35677 echo "$as_me: failed program was:" >&5
35678 sed 's/^/| /' conftest.$ac_ext >&5
35679
35680 wx_cv_func_broken_swprintf_decl=yes
35681
35682 fi
35683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35684
35685
35686 fi
35687 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35688 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35689
35690 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35691 cat >>confdefs.h <<\_ACEOF
35692 #define HAVE_BROKEN_SWPRINTF_DECL 1
35693 _ACEOF
35694
35695 fi
35696 fi
35697
35698
35699
35700
35701
35702
35703
35704 for ac_func in wputc wputchar putws fputws wprintf vswprintf
35705 do
35706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35707 echo "$as_me:$LINENO: checking for $ac_func" >&5
35708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35709 if eval "test \"\${$as_ac_var+set}\" = set"; then
35710 echo $ECHO_N "(cached) $ECHO_C" >&6
35711 else
35712 cat >conftest.$ac_ext <<_ACEOF
35713 /* confdefs.h. */
35714 _ACEOF
35715 cat confdefs.h >>conftest.$ac_ext
35716 cat >>conftest.$ac_ext <<_ACEOF
35717 /* end confdefs.h. */
35718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35720 #define $ac_func innocuous_$ac_func
35721
35722 /* System header to define __stub macros and hopefully few prototypes,
35723 which can conflict with char $ac_func (); below.
35724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35725 <limits.h> exists even on freestanding compilers. */
35726
35727 #ifdef __STDC__
35728 # include <limits.h>
35729 #else
35730 # include <assert.h>
35731 #endif
35732
35733 #undef $ac_func
35734
35735 /* Override any gcc2 internal prototype to avoid an error. */
35736 #ifdef __cplusplus
35737 extern "C"
35738 {
35739 #endif
35740 /* We use char because int might match the return type of a gcc2
35741 builtin and then its argument prototype would still apply. */
35742 char $ac_func ();
35743 /* The GNU C library defines this for functions which it implements
35744 to always fail with ENOSYS. Some functions are actually named
35745 something starting with __ and the normal name is an alias. */
35746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35747 choke me
35748 #else
35749 char (*f) () = $ac_func;
35750 #endif
35751 #ifdef __cplusplus
35752 }
35753 #endif
35754
35755 int
35756 main ()
35757 {
35758 return f != $ac_func;
35759 ;
35760 return 0;
35761 }
35762 _ACEOF
35763 rm -f conftest.$ac_objext conftest$ac_exeext
35764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35765 (eval $ac_link) 2>conftest.er1
35766 ac_status=$?
35767 grep -v '^ *+' conftest.er1 >conftest.err
35768 rm -f conftest.er1
35769 cat conftest.err >&5
35770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35771 (exit $ac_status); } &&
35772 { ac_try='test -z "$ac_cxx_werror_flag"
35773 || test ! -s conftest.err'
35774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35775 (eval $ac_try) 2>&5
35776 ac_status=$?
35777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35778 (exit $ac_status); }; } &&
35779 { ac_try='test -s conftest$ac_exeext'
35780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35781 (eval $ac_try) 2>&5
35782 ac_status=$?
35783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35784 (exit $ac_status); }; }; then
35785 eval "$as_ac_var=yes"
35786 else
35787 echo "$as_me: failed program was:" >&5
35788 sed 's/^/| /' conftest.$ac_ext >&5
35789
35790 eval "$as_ac_var=no"
35791 fi
35792 rm -f conftest.err conftest.$ac_objext \
35793 conftest$ac_exeext conftest.$ac_ext
35794 fi
35795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35797 if test `eval echo '${'$as_ac_var'}'` = yes; then
35798 cat >>confdefs.h <<_ACEOF
35799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35800 _ACEOF
35801
35802 fi
35803 done
35804
35805
35806 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35807 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35808 cat >conftest.$ac_ext <<_ACEOF
35809 /* confdefs.h. */
35810 _ACEOF
35811 cat confdefs.h >>conftest.$ac_ext
35812 cat >>conftest.$ac_ext <<_ACEOF
35813 /* end confdefs.h. */
35814 #include <wchar.h>
35815 int
35816 main ()
35817 {
35818 &_vsnwprintf;
35819 ;
35820 return 0;
35821 }
35822 _ACEOF
35823 rm -f conftest.$ac_objext
35824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35825 (eval $ac_compile) 2>conftest.er1
35826 ac_status=$?
35827 grep -v '^ *+' conftest.er1 >conftest.err
35828 rm -f conftest.er1
35829 cat conftest.err >&5
35830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35831 (exit $ac_status); } &&
35832 { ac_try='test -z "$ac_cxx_werror_flag"
35833 || 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 echo "$as_me:$LINENO: result: yes" >&5
35846 echo "${ECHO_T}yes" >&6
35847 cat >>confdefs.h <<\_ACEOF
35848 #define HAVE__VSNWPRINTF 1
35849 _ACEOF
35850
35851 else
35852 echo "$as_me: failed program was:" >&5
35853 sed 's/^/| /' conftest.$ac_ext >&5
35854
35855 echo "$as_me:$LINENO: result: no" >&5
35856 echo "${ECHO_T}no" >&6
35857 fi
35858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35859 fi
35860
35861 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35862
35863 for ac_func in fnmatch
35864 do
35865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35866 echo "$as_me:$LINENO: checking for $ac_func" >&5
35867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35868 if eval "test \"\${$as_ac_var+set}\" = set"; then
35869 echo $ECHO_N "(cached) $ECHO_C" >&6
35870 else
35871 cat >conftest.$ac_ext <<_ACEOF
35872 /* confdefs.h. */
35873 _ACEOF
35874 cat confdefs.h >>conftest.$ac_ext
35875 cat >>conftest.$ac_ext <<_ACEOF
35876 /* end confdefs.h. */
35877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35879 #define $ac_func innocuous_$ac_func
35880
35881 /* System header to define __stub macros and hopefully few prototypes,
35882 which can conflict with char $ac_func (); below.
35883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35884 <limits.h> exists even on freestanding compilers. */
35885
35886 #ifdef __STDC__
35887 # include <limits.h>
35888 #else
35889 # include <assert.h>
35890 #endif
35891
35892 #undef $ac_func
35893
35894 /* Override any gcc2 internal prototype to avoid an error. */
35895 #ifdef __cplusplus
35896 extern "C"
35897 {
35898 #endif
35899 /* We use char because int might match the return type of a gcc2
35900 builtin and then its argument prototype would still apply. */
35901 char $ac_func ();
35902 /* The GNU C library defines this for functions which it implements
35903 to always fail with ENOSYS. Some functions are actually named
35904 something starting with __ and the normal name is an alias. */
35905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35906 choke me
35907 #else
35908 char (*f) () = $ac_func;
35909 #endif
35910 #ifdef __cplusplus
35911 }
35912 #endif
35913
35914 int
35915 main ()
35916 {
35917 return f != $ac_func;
35918 ;
35919 return 0;
35920 }
35921 _ACEOF
35922 rm -f conftest.$ac_objext conftest$ac_exeext
35923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35924 (eval $ac_link) 2>conftest.er1
35925 ac_status=$?
35926 grep -v '^ *+' conftest.er1 >conftest.err
35927 rm -f conftest.er1
35928 cat conftest.err >&5
35929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35930 (exit $ac_status); } &&
35931 { ac_try='test -z "$ac_cxx_werror_flag"
35932 || test ! -s conftest.err'
35933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35934 (eval $ac_try) 2>&5
35935 ac_status=$?
35936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35937 (exit $ac_status); }; } &&
35938 { ac_try='test -s conftest$ac_exeext'
35939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35940 (eval $ac_try) 2>&5
35941 ac_status=$?
35942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943 (exit $ac_status); }; }; then
35944 eval "$as_ac_var=yes"
35945 else
35946 echo "$as_me: failed program was:" >&5
35947 sed 's/^/| /' conftest.$ac_ext >&5
35948
35949 eval "$as_ac_var=no"
35950 fi
35951 rm -f conftest.err conftest.$ac_objext \
35952 conftest$ac_exeext conftest.$ac_ext
35953 fi
35954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35956 if test `eval echo '${'$as_ac_var'}'` = yes; then
35957 cat >>confdefs.h <<_ACEOF
35958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35959 _ACEOF
35960
35961 fi
35962 done
35963
35964 fi
35965
35966 if test "$wxUSE_FILE" = "yes"; then
35967
35968 for ac_func in fsync
35969 do
35970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35971 echo "$as_me:$LINENO: checking for $ac_func" >&5
35972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35973 if eval "test \"\${$as_ac_var+set}\" = set"; then
35974 echo $ECHO_N "(cached) $ECHO_C" >&6
35975 else
35976 cat >conftest.$ac_ext <<_ACEOF
35977 /* confdefs.h. */
35978 _ACEOF
35979 cat confdefs.h >>conftest.$ac_ext
35980 cat >>conftest.$ac_ext <<_ACEOF
35981 /* end confdefs.h. */
35982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35984 #define $ac_func innocuous_$ac_func
35985
35986 /* System header to define __stub macros and hopefully few prototypes,
35987 which can conflict with char $ac_func (); below.
35988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35989 <limits.h> exists even on freestanding compilers. */
35990
35991 #ifdef __STDC__
35992 # include <limits.h>
35993 #else
35994 # include <assert.h>
35995 #endif
35996
35997 #undef $ac_func
35998
35999 /* Override any gcc2 internal prototype to avoid an error. */
36000 #ifdef __cplusplus
36001 extern "C"
36002 {
36003 #endif
36004 /* We use char because int might match the return type of a gcc2
36005 builtin and then its argument prototype would still apply. */
36006 char $ac_func ();
36007 /* The GNU C library defines this for functions which it implements
36008 to always fail with ENOSYS. Some functions are actually named
36009 something starting with __ and the normal name is an alias. */
36010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36011 choke me
36012 #else
36013 char (*f) () = $ac_func;
36014 #endif
36015 #ifdef __cplusplus
36016 }
36017 #endif
36018
36019 int
36020 main ()
36021 {
36022 return f != $ac_func;
36023 ;
36024 return 0;
36025 }
36026 _ACEOF
36027 rm -f conftest.$ac_objext conftest$ac_exeext
36028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36029 (eval $ac_link) 2>conftest.er1
36030 ac_status=$?
36031 grep -v '^ *+' conftest.er1 >conftest.err
36032 rm -f conftest.er1
36033 cat conftest.err >&5
36034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36035 (exit $ac_status); } &&
36036 { ac_try='test -z "$ac_cxx_werror_flag"
36037 || test ! -s conftest.err'
36038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36039 (eval $ac_try) 2>&5
36040 ac_status=$?
36041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36042 (exit $ac_status); }; } &&
36043 { ac_try='test -s conftest$ac_exeext'
36044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36045 (eval $ac_try) 2>&5
36046 ac_status=$?
36047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36048 (exit $ac_status); }; }; then
36049 eval "$as_ac_var=yes"
36050 else
36051 echo "$as_me: failed program was:" >&5
36052 sed 's/^/| /' conftest.$ac_ext >&5
36053
36054 eval "$as_ac_var=no"
36055 fi
36056 rm -f conftest.err conftest.$ac_objext \
36057 conftest$ac_exeext conftest.$ac_ext
36058 fi
36059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36061 if test `eval echo '${'$as_ac_var'}'` = yes; then
36062 cat >>confdefs.h <<_ACEOF
36063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36064 _ACEOF
36065
36066 fi
36067 done
36068
36069 fi
36070
36071
36072 for ac_func in round
36073 do
36074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36075 echo "$as_me:$LINENO: checking for $ac_func" >&5
36076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36077 if eval "test \"\${$as_ac_var+set}\" = set"; then
36078 echo $ECHO_N "(cached) $ECHO_C" >&6
36079 else
36080 cat >conftest.$ac_ext <<_ACEOF
36081 /* confdefs.h. */
36082 _ACEOF
36083 cat confdefs.h >>conftest.$ac_ext
36084 cat >>conftest.$ac_ext <<_ACEOF
36085 /* end confdefs.h. */
36086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36088 #define $ac_func innocuous_$ac_func
36089
36090 /* System header to define __stub macros and hopefully few prototypes,
36091 which can conflict with char $ac_func (); below.
36092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36093 <limits.h> exists even on freestanding compilers. */
36094
36095 #ifdef __STDC__
36096 # include <limits.h>
36097 #else
36098 # include <assert.h>
36099 #endif
36100
36101 #undef $ac_func
36102
36103 /* Override any gcc2 internal prototype to avoid an error. */
36104 #ifdef __cplusplus
36105 extern "C"
36106 {
36107 #endif
36108 /* We use char because int might match the return type of a gcc2
36109 builtin and then its argument prototype would still apply. */
36110 char $ac_func ();
36111 /* The GNU C library defines this for functions which it implements
36112 to always fail with ENOSYS. Some functions are actually named
36113 something starting with __ and the normal name is an alias. */
36114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36115 choke me
36116 #else
36117 char (*f) () = $ac_func;
36118 #endif
36119 #ifdef __cplusplus
36120 }
36121 #endif
36122
36123 int
36124 main ()
36125 {
36126 return f != $ac_func;
36127 ;
36128 return 0;
36129 }
36130 _ACEOF
36131 rm -f conftest.$ac_objext conftest$ac_exeext
36132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36133 (eval $ac_link) 2>conftest.er1
36134 ac_status=$?
36135 grep -v '^ *+' conftest.er1 >conftest.err
36136 rm -f conftest.er1
36137 cat conftest.err >&5
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); } &&
36140 { ac_try='test -z "$ac_cxx_werror_flag"
36141 || test ! -s conftest.err'
36142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36143 (eval $ac_try) 2>&5
36144 ac_status=$?
36145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146 (exit $ac_status); }; } &&
36147 { ac_try='test -s conftest$ac_exeext'
36148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36149 (eval $ac_try) 2>&5
36150 ac_status=$?
36151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36152 (exit $ac_status); }; }; then
36153 eval "$as_ac_var=yes"
36154 else
36155 echo "$as_me: failed program was:" >&5
36156 sed 's/^/| /' conftest.$ac_ext >&5
36157
36158 eval "$as_ac_var=no"
36159 fi
36160 rm -f conftest.err conftest.$ac_objext \
36161 conftest$ac_exeext conftest.$ac_ext
36162 fi
36163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36165 if test `eval echo '${'$as_ac_var'}'` = yes; then
36166 cat >>confdefs.h <<_ACEOF
36167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36168 _ACEOF
36169
36170 fi
36171 done
36172
36173 if test "$ac_cv_func_round" = yes; then
36174 echo "$as_me:$LINENO: checking whether round is declared" >&5
36175 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36176 if test "${ac_cv_have_decl_round+set}" = set; then
36177 echo $ECHO_N "(cached) $ECHO_C" >&6
36178 else
36179 cat >conftest.$ac_ext <<_ACEOF
36180 /* confdefs.h. */
36181 _ACEOF
36182 cat confdefs.h >>conftest.$ac_ext
36183 cat >>conftest.$ac_ext <<_ACEOF
36184 /* end confdefs.h. */
36185 #include <math.h>
36186
36187 int
36188 main ()
36189 {
36190 #ifndef round
36191 char *p = (char *) round;
36192 #endif
36193
36194 ;
36195 return 0;
36196 }
36197 _ACEOF
36198 rm -f conftest.$ac_objext
36199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36200 (eval $ac_compile) 2>conftest.er1
36201 ac_status=$?
36202 grep -v '^ *+' conftest.er1 >conftest.err
36203 rm -f conftest.er1
36204 cat conftest.err >&5
36205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206 (exit $ac_status); } &&
36207 { ac_try='test -z "$ac_cxx_werror_flag"
36208 || test ! -s conftest.err'
36209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36210 (eval $ac_try) 2>&5
36211 ac_status=$?
36212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36213 (exit $ac_status); }; } &&
36214 { ac_try='test -s conftest.$ac_objext'
36215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36216 (eval $ac_try) 2>&5
36217 ac_status=$?
36218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36219 (exit $ac_status); }; }; then
36220 ac_cv_have_decl_round=yes
36221 else
36222 echo "$as_me: failed program was:" >&5
36223 sed 's/^/| /' conftest.$ac_ext >&5
36224
36225 ac_cv_have_decl_round=no
36226 fi
36227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36228 fi
36229 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36230 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36231 if test $ac_cv_have_decl_round = yes; then
36232
36233 cat >>confdefs.h <<_ACEOF
36234 #define HAVE_DECL_ROUND 1
36235 _ACEOF
36236
36237
36238 else
36239 cat >>confdefs.h <<_ACEOF
36240 #define HAVE_DECL_ROUND 0
36241 _ACEOF
36242
36243
36244 fi
36245
36246
36247 fi
36248
36249
36250 if test "$TOOLKIT" != "MSW"; then
36251
36252
36253
36254
36255
36256 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36257 if test "${with_libiconv_prefix+set}" = set; then
36258 withval="$with_libiconv_prefix"
36259
36260 for dir in `echo "$withval" | tr : ' '`; do
36261 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36262 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36263 done
36264
36265 fi;
36266
36267 echo "$as_me:$LINENO: checking for iconv" >&5
36268 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36269 if test "${am_cv_func_iconv+set}" = set; then
36270 echo $ECHO_N "(cached) $ECHO_C" >&6
36271 else
36272
36273 am_cv_func_iconv="no, consider installing GNU libiconv"
36274 am_cv_lib_iconv=no
36275 cat >conftest.$ac_ext <<_ACEOF
36276 /* confdefs.h. */
36277 _ACEOF
36278 cat confdefs.h >>conftest.$ac_ext
36279 cat >>conftest.$ac_ext <<_ACEOF
36280 /* end confdefs.h. */
36281 #include <stdlib.h>
36282 #include <iconv.h>
36283 int
36284 main ()
36285 {
36286 iconv_t cd = iconv_open("","");
36287 iconv(cd,NULL,NULL,NULL,NULL);
36288 iconv_close(cd);
36289 ;
36290 return 0;
36291 }
36292 _ACEOF
36293 rm -f conftest.$ac_objext conftest$ac_exeext
36294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36295 (eval $ac_link) 2>conftest.er1
36296 ac_status=$?
36297 grep -v '^ *+' conftest.er1 >conftest.err
36298 rm -f conftest.er1
36299 cat conftest.err >&5
36300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36301 (exit $ac_status); } &&
36302 { ac_try='test -z "$ac_cxx_werror_flag"
36303 || test ! -s conftest.err'
36304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36305 (eval $ac_try) 2>&5
36306 ac_status=$?
36307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36308 (exit $ac_status); }; } &&
36309 { ac_try='test -s conftest$ac_exeext'
36310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36311 (eval $ac_try) 2>&5
36312 ac_status=$?
36313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36314 (exit $ac_status); }; }; then
36315 am_cv_func_iconv=yes
36316 else
36317 echo "$as_me: failed program was:" >&5
36318 sed 's/^/| /' conftest.$ac_ext >&5
36319
36320 fi
36321 rm -f conftest.err conftest.$ac_objext \
36322 conftest$ac_exeext conftest.$ac_ext
36323 if test "$am_cv_func_iconv" != yes; then
36324 am_save_LIBS="$LIBS"
36325 LIBS="$LIBS -liconv"
36326 cat >conftest.$ac_ext <<_ACEOF
36327 /* confdefs.h. */
36328 _ACEOF
36329 cat confdefs.h >>conftest.$ac_ext
36330 cat >>conftest.$ac_ext <<_ACEOF
36331 /* end confdefs.h. */
36332 #include <stdlib.h>
36333 #include <iconv.h>
36334 int
36335 main ()
36336 {
36337 iconv_t cd = iconv_open("","");
36338 iconv(cd,NULL,NULL,NULL,NULL);
36339 iconv_close(cd);
36340 ;
36341 return 0;
36342 }
36343 _ACEOF
36344 rm -f conftest.$ac_objext conftest$ac_exeext
36345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36346 (eval $ac_link) 2>conftest.er1
36347 ac_status=$?
36348 grep -v '^ *+' conftest.er1 >conftest.err
36349 rm -f conftest.er1
36350 cat conftest.err >&5
36351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36352 (exit $ac_status); } &&
36353 { ac_try='test -z "$ac_cxx_werror_flag"
36354 || test ! -s conftest.err'
36355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36356 (eval $ac_try) 2>&5
36357 ac_status=$?
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); }; } &&
36360 { ac_try='test -s conftest$ac_exeext'
36361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36362 (eval $ac_try) 2>&5
36363 ac_status=$?
36364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36365 (exit $ac_status); }; }; then
36366 am_cv_lib_iconv=yes
36367 am_cv_func_iconv=yes
36368 else
36369 echo "$as_me: failed program was:" >&5
36370 sed 's/^/| /' conftest.$ac_ext >&5
36371
36372 fi
36373 rm -f conftest.err conftest.$ac_objext \
36374 conftest$ac_exeext conftest.$ac_ext
36375 LIBS="$am_save_LIBS"
36376 fi
36377
36378 fi
36379 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36380 echo "${ECHO_T}$am_cv_func_iconv" >&6
36381 if test "$am_cv_func_iconv" = yes; then
36382
36383 cat >>confdefs.h <<\_ACEOF
36384 #define HAVE_ICONV 1
36385 _ACEOF
36386
36387 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36388 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36389 if test "${wx_cv_func_iconv_const+set}" = set; then
36390 echo $ECHO_N "(cached) $ECHO_C" >&6
36391 else
36392 cat >conftest.$ac_ext <<_ACEOF
36393 /* confdefs.h. */
36394 _ACEOF
36395 cat confdefs.h >>conftest.$ac_ext
36396 cat >>conftest.$ac_ext <<_ACEOF
36397 /* end confdefs.h. */
36398
36399 #include <stdlib.h>
36400 #include <iconv.h>
36401 extern
36402 #ifdef __cplusplus
36403 "C"
36404 #endif
36405 #if defined(__STDC__) || defined(__cplusplus)
36406 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36407 #else
36408 size_t iconv();
36409 #endif
36410
36411 int
36412 main ()
36413 {
36414
36415 ;
36416 return 0;
36417 }
36418 _ACEOF
36419 rm -f conftest.$ac_objext
36420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36421 (eval $ac_compile) 2>conftest.er1
36422 ac_status=$?
36423 grep -v '^ *+' conftest.er1 >conftest.err
36424 rm -f conftest.er1
36425 cat conftest.err >&5
36426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36427 (exit $ac_status); } &&
36428 { ac_try='test -z "$ac_cxx_werror_flag"
36429 || test ! -s conftest.err'
36430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36431 (eval $ac_try) 2>&5
36432 ac_status=$?
36433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36434 (exit $ac_status); }; } &&
36435 { ac_try='test -s conftest.$ac_objext'
36436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36437 (eval $ac_try) 2>&5
36438 ac_status=$?
36439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36440 (exit $ac_status); }; }; then
36441 wx_cv_func_iconv_const="no"
36442 else
36443 echo "$as_me: failed program was:" >&5
36444 sed 's/^/| /' conftest.$ac_ext >&5
36445
36446 wx_cv_func_iconv_const="yes"
36447
36448 fi
36449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36450
36451 fi
36452 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36453 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36454
36455 iconv_const=
36456 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36457 iconv_const="const"
36458 fi
36459
36460
36461 cat >>confdefs.h <<_ACEOF
36462 #define ICONV_CONST $iconv_const
36463 _ACEOF
36464
36465 fi
36466 LIBICONV=
36467 if test "$am_cv_lib_iconv" = yes; then
36468 LIBICONV="-liconv"
36469 fi
36470
36471
36472 LIBS="$LIBICONV $LIBS"
36473
36474 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36475
36476 for ac_func in sigaction
36477 do
36478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36479 echo "$as_me:$LINENO: checking for $ac_func" >&5
36480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36481 if eval "test \"\${$as_ac_var+set}\" = set"; then
36482 echo $ECHO_N "(cached) $ECHO_C" >&6
36483 else
36484 cat >conftest.$ac_ext <<_ACEOF
36485 /* confdefs.h. */
36486 _ACEOF
36487 cat confdefs.h >>conftest.$ac_ext
36488 cat >>conftest.$ac_ext <<_ACEOF
36489 /* end confdefs.h. */
36490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36492 #define $ac_func innocuous_$ac_func
36493
36494 /* System header to define __stub macros and hopefully few prototypes,
36495 which can conflict with char $ac_func (); below.
36496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36497 <limits.h> exists even on freestanding compilers. */
36498
36499 #ifdef __STDC__
36500 # include <limits.h>
36501 #else
36502 # include <assert.h>
36503 #endif
36504
36505 #undef $ac_func
36506
36507 /* Override any gcc2 internal prototype to avoid an error. */
36508 #ifdef __cplusplus
36509 extern "C"
36510 {
36511 #endif
36512 /* We use char because int might match the return type of a gcc2
36513 builtin and then its argument prototype would still apply. */
36514 char $ac_func ();
36515 /* The GNU C library defines this for functions which it implements
36516 to always fail with ENOSYS. Some functions are actually named
36517 something starting with __ and the normal name is an alias. */
36518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36519 choke me
36520 #else
36521 char (*f) () = $ac_func;
36522 #endif
36523 #ifdef __cplusplus
36524 }
36525 #endif
36526
36527 int
36528 main ()
36529 {
36530 return f != $ac_func;
36531 ;
36532 return 0;
36533 }
36534 _ACEOF
36535 rm -f conftest.$ac_objext conftest$ac_exeext
36536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36537 (eval $ac_link) 2>conftest.er1
36538 ac_status=$?
36539 grep -v '^ *+' conftest.er1 >conftest.err
36540 rm -f conftest.er1
36541 cat conftest.err >&5
36542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36543 (exit $ac_status); } &&
36544 { ac_try='test -z "$ac_cxx_werror_flag"
36545 || test ! -s conftest.err'
36546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36547 (eval $ac_try) 2>&5
36548 ac_status=$?
36549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36550 (exit $ac_status); }; } &&
36551 { ac_try='test -s conftest$ac_exeext'
36552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36553 (eval $ac_try) 2>&5
36554 ac_status=$?
36555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36556 (exit $ac_status); }; }; then
36557 eval "$as_ac_var=yes"
36558 else
36559 echo "$as_me: failed program was:" >&5
36560 sed 's/^/| /' conftest.$ac_ext >&5
36561
36562 eval "$as_ac_var=no"
36563 fi
36564 rm -f conftest.err conftest.$ac_objext \
36565 conftest$ac_exeext conftest.$ac_ext
36566 fi
36567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36569 if test `eval echo '${'$as_ac_var'}'` = yes; then
36570 cat >>confdefs.h <<_ACEOF
36571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36572 _ACEOF
36573
36574 fi
36575 done
36576
36577
36578 if test "$ac_cv_func_sigaction" = "no"; then
36579 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36580 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36581 wxUSE_ON_FATAL_EXCEPTION=no
36582 fi
36583
36584 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36585 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36586 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36587 if test "${wx_cv_type_sa_handler+set}" = set; then
36588 echo $ECHO_N "(cached) $ECHO_C" >&6
36589 else
36590
36591 cat >conftest.$ac_ext <<_ACEOF
36592 /* confdefs.h. */
36593 _ACEOF
36594 cat confdefs.h >>conftest.$ac_ext
36595 cat >>conftest.$ac_ext <<_ACEOF
36596 /* end confdefs.h. */
36597 #include <signal.h>
36598 int
36599 main ()
36600 {
36601
36602 extern void testSigHandler(int);
36603
36604 struct sigaction sa;
36605 sa.sa_handler = testSigHandler;
36606
36607 ;
36608 return 0;
36609 }
36610 _ACEOF
36611 rm -f conftest.$ac_objext
36612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36613 (eval $ac_compile) 2>conftest.er1
36614 ac_status=$?
36615 grep -v '^ *+' conftest.er1 >conftest.err
36616 rm -f conftest.er1
36617 cat conftest.err >&5
36618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36619 (exit $ac_status); } &&
36620 { ac_try='test -z "$ac_cxx_werror_flag"
36621 || test ! -s conftest.err'
36622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36623 (eval $ac_try) 2>&5
36624 ac_status=$?
36625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36626 (exit $ac_status); }; } &&
36627 { ac_try='test -s conftest.$ac_objext'
36628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36629 (eval $ac_try) 2>&5
36630 ac_status=$?
36631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36632 (exit $ac_status); }; }; then
36633
36634 wx_cv_type_sa_handler=int
36635
36636 else
36637 echo "$as_me: failed program was:" >&5
36638 sed 's/^/| /' conftest.$ac_ext >&5
36639
36640
36641 wx_cv_type_sa_handler=void
36642
36643 fi
36644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36645
36646 fi
36647 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36648 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36649
36650 cat >>confdefs.h <<_ACEOF
36651 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36652 _ACEOF
36653
36654 fi
36655 fi
36656
36657 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36658 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36659 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36660 if test "${wx_cv_func_backtrace+set}" = set; then
36661 echo $ECHO_N "(cached) $ECHO_C" >&6
36662 else
36663
36664 cat >conftest.$ac_ext <<_ACEOF
36665 /* confdefs.h. */
36666 _ACEOF
36667 cat confdefs.h >>conftest.$ac_ext
36668 cat >>conftest.$ac_ext <<_ACEOF
36669 /* end confdefs.h. */
36670 #include <execinfo.h>
36671 int
36672 main ()
36673 {
36674
36675 void *trace[1];
36676 char **messages;
36677
36678 backtrace(trace, 1);
36679 messages = backtrace_symbols(trace, 1);
36680
36681 ;
36682 return 0;
36683 }
36684 _ACEOF
36685 rm -f conftest.$ac_objext
36686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36687 (eval $ac_compile) 2>conftest.er1
36688 ac_status=$?
36689 grep -v '^ *+' conftest.er1 >conftest.err
36690 rm -f conftest.er1
36691 cat conftest.err >&5
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); } &&
36694 { ac_try='test -z "$ac_cxx_werror_flag"
36695 || test ! -s conftest.err'
36696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36697 (eval $ac_try) 2>&5
36698 ac_status=$?
36699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700 (exit $ac_status); }; } &&
36701 { ac_try='test -s conftest.$ac_objext'
36702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36703 (eval $ac_try) 2>&5
36704 ac_status=$?
36705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706 (exit $ac_status); }; }; then
36707 wx_cv_func_backtrace=yes
36708 else
36709 echo "$as_me: failed program was:" >&5
36710 sed 's/^/| /' conftest.$ac_ext >&5
36711
36712 wx_cv_func_backtrace=no
36713
36714 fi
36715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36716
36717
36718 fi
36719 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36720 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36721
36722
36723 if test "$wx_cv_func_backtrace" = "no"; then
36724 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36725 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36726 wxUSE_STACKWALKER=no
36727 else
36728 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36729 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36730 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36731 echo $ECHO_N "(cached) $ECHO_C" >&6
36732 else
36733
36734 cat >conftest.$ac_ext <<_ACEOF
36735 /* confdefs.h. */
36736 _ACEOF
36737 cat confdefs.h >>conftest.$ac_ext
36738 cat >>conftest.$ac_ext <<_ACEOF
36739 /* end confdefs.h. */
36740 #include <cxxabi.h>
36741 int
36742 main ()
36743 {
36744
36745 int rc;
36746 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36747
36748 ;
36749 return 0;
36750 }
36751 _ACEOF
36752 rm -f conftest.$ac_objext conftest$ac_exeext
36753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36754 (eval $ac_link) 2>conftest.er1
36755 ac_status=$?
36756 grep -v '^ *+' conftest.er1 >conftest.err
36757 rm -f conftest.er1
36758 cat conftest.err >&5
36759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36760 (exit $ac_status); } &&
36761 { ac_try='test -z "$ac_cxx_werror_flag"
36762 || test ! -s conftest.err'
36763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36764 (eval $ac_try) 2>&5
36765 ac_status=$?
36766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36767 (exit $ac_status); }; } &&
36768 { ac_try='test -s conftest$ac_exeext'
36769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36770 (eval $ac_try) 2>&5
36771 ac_status=$?
36772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36773 (exit $ac_status); }; }; then
36774 wx_cv_func_cxa_demangle=yes
36775 else
36776 echo "$as_me: failed program was:" >&5
36777 sed 's/^/| /' conftest.$ac_ext >&5
36778
36779 wx_cv_func_cxa_demangle=no
36780
36781 fi
36782 rm -f conftest.err conftest.$ac_objext \
36783 conftest$ac_exeext conftest.$ac_ext
36784
36785
36786 fi
36787 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36788 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36789
36790 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36791 cat >>confdefs.h <<\_ACEOF
36792 #define HAVE_CXA_DEMANGLE 1
36793 _ACEOF
36794
36795 fi
36796 fi
36797 fi
36798
36799 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36800 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36801 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36802 wxUSE_STACKWALKER=no
36803 fi
36804
36805
36806
36807
36808 for ac_func in mkstemp mktemp
36809 do
36810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36811 echo "$as_me:$LINENO: checking for $ac_func" >&5
36812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36813 if eval "test \"\${$as_ac_var+set}\" = set"; then
36814 echo $ECHO_N "(cached) $ECHO_C" >&6
36815 else
36816 cat >conftest.$ac_ext <<_ACEOF
36817 /* confdefs.h. */
36818 _ACEOF
36819 cat confdefs.h >>conftest.$ac_ext
36820 cat >>conftest.$ac_ext <<_ACEOF
36821 /* end confdefs.h. */
36822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36824 #define $ac_func innocuous_$ac_func
36825
36826 /* System header to define __stub macros and hopefully few prototypes,
36827 which can conflict with char $ac_func (); below.
36828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36829 <limits.h> exists even on freestanding compilers. */
36830
36831 #ifdef __STDC__
36832 # include <limits.h>
36833 #else
36834 # include <assert.h>
36835 #endif
36836
36837 #undef $ac_func
36838
36839 /* Override any gcc2 internal prototype to avoid an error. */
36840 #ifdef __cplusplus
36841 extern "C"
36842 {
36843 #endif
36844 /* We use char because int might match the return type of a gcc2
36845 builtin and then its argument prototype would still apply. */
36846 char $ac_func ();
36847 /* The GNU C library defines this for functions which it implements
36848 to always fail with ENOSYS. Some functions are actually named
36849 something starting with __ and the normal name is an alias. */
36850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36851 choke me
36852 #else
36853 char (*f) () = $ac_func;
36854 #endif
36855 #ifdef __cplusplus
36856 }
36857 #endif
36858
36859 int
36860 main ()
36861 {
36862 return f != $ac_func;
36863 ;
36864 return 0;
36865 }
36866 _ACEOF
36867 rm -f conftest.$ac_objext conftest$ac_exeext
36868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36869 (eval $ac_link) 2>conftest.er1
36870 ac_status=$?
36871 grep -v '^ *+' conftest.er1 >conftest.err
36872 rm -f conftest.er1
36873 cat conftest.err >&5
36874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875 (exit $ac_status); } &&
36876 { ac_try='test -z "$ac_cxx_werror_flag"
36877 || test ! -s conftest.err'
36878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36879 (eval $ac_try) 2>&5
36880 ac_status=$?
36881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882 (exit $ac_status); }; } &&
36883 { ac_try='test -s conftest$ac_exeext'
36884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36885 (eval $ac_try) 2>&5
36886 ac_status=$?
36887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36888 (exit $ac_status); }; }; then
36889 eval "$as_ac_var=yes"
36890 else
36891 echo "$as_me: failed program was:" >&5
36892 sed 's/^/| /' conftest.$ac_ext >&5
36893
36894 eval "$as_ac_var=no"
36895 fi
36896 rm -f conftest.err conftest.$ac_objext \
36897 conftest$ac_exeext conftest.$ac_ext
36898 fi
36899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36901 if test `eval echo '${'$as_ac_var'}'` = yes; then
36902 cat >>confdefs.h <<_ACEOF
36903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36904 _ACEOF
36905 break
36906 fi
36907 done
36908
36909
36910 echo "$as_me:$LINENO: checking for statfs" >&5
36911 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36912 if test "${wx_cv_func_statfs+set}" = set; then
36913 echo $ECHO_N "(cached) $ECHO_C" >&6
36914 else
36915 cat >conftest.$ac_ext <<_ACEOF
36916 /* confdefs.h. */
36917 _ACEOF
36918 cat confdefs.h >>conftest.$ac_ext
36919 cat >>conftest.$ac_ext <<_ACEOF
36920 /* end confdefs.h. */
36921
36922 #if defined(__BSD__)
36923 #include <sys/param.h>
36924 #include <sys/mount.h>
36925 #else
36926 #include <sys/vfs.h>
36927 #endif
36928
36929 int
36930 main ()
36931 {
36932
36933 long l;
36934 struct statfs fs;
36935 statfs("/", &fs);
36936 l = fs.f_bsize;
36937 l += fs.f_blocks;
36938 l += fs.f_bavail;
36939
36940 ;
36941 return 0;
36942 }
36943 _ACEOF
36944 rm -f conftest.$ac_objext
36945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36946 (eval $ac_compile) 2>conftest.er1
36947 ac_status=$?
36948 grep -v '^ *+' conftest.er1 >conftest.err
36949 rm -f conftest.er1
36950 cat conftest.err >&5
36951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36952 (exit $ac_status); } &&
36953 { ac_try='test -z "$ac_cxx_werror_flag"
36954 || test ! -s conftest.err'
36955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36956 (eval $ac_try) 2>&5
36957 ac_status=$?
36958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36959 (exit $ac_status); }; } &&
36960 { ac_try='test -s conftest.$ac_objext'
36961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36962 (eval $ac_try) 2>&5
36963 ac_status=$?
36964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36965 (exit $ac_status); }; }; then
36966 wx_cv_func_statfs=yes
36967 else
36968 echo "$as_me: failed program was:" >&5
36969 sed 's/^/| /' conftest.$ac_ext >&5
36970
36971 wx_cv_func_statfs=no
36972
36973 fi
36974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36975
36976 fi
36977 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36978 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36979
36980 if test "$wx_cv_func_statfs" = "yes"; then
36981 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36982 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36983 if test "${wx_cv_func_statfs_decl+set}" = set; then
36984 echo $ECHO_N "(cached) $ECHO_C" >&6
36985 else
36986 cat >conftest.$ac_ext <<_ACEOF
36987 /* confdefs.h. */
36988 _ACEOF
36989 cat confdefs.h >>conftest.$ac_ext
36990 cat >>conftest.$ac_ext <<_ACEOF
36991 /* end confdefs.h. */
36992
36993 #if defined(__BSD__)
36994 #include <sys/param.h>
36995 #include <sys/mount.h>
36996 #else
36997 #include <sys/vfs.h>
36998 #endif
36999
37000 int
37001 main ()
37002 {
37003
37004 struct statfs fs;
37005 statfs("", &fs);
37006
37007 ;
37008 return 0;
37009 }
37010 _ACEOF
37011 rm -f conftest.$ac_objext
37012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37013 (eval $ac_compile) 2>conftest.er1
37014 ac_status=$?
37015 grep -v '^ *+' conftest.er1 >conftest.err
37016 rm -f conftest.er1
37017 cat conftest.err >&5
37018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37019 (exit $ac_status); } &&
37020 { ac_try='test -z "$ac_cxx_werror_flag"
37021 || test ! -s conftest.err'
37022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37023 (eval $ac_try) 2>&5
37024 ac_status=$?
37025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37026 (exit $ac_status); }; } &&
37027 { ac_try='test -s conftest.$ac_objext'
37028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37029 (eval $ac_try) 2>&5
37030 ac_status=$?
37031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37032 (exit $ac_status); }; }; then
37033 wx_cv_func_statfs_decl=yes
37034 else
37035 echo "$as_me: failed program was:" >&5
37036 sed 's/^/| /' conftest.$ac_ext >&5
37037
37038 wx_cv_func_statfs_decl=no
37039
37040 fi
37041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37042
37043 fi
37044 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37045 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37046
37047 if test "$wx_cv_func_statfs_decl" = "yes"; then
37048 cat >>confdefs.h <<\_ACEOF
37049 #define HAVE_STATFS_DECL 1
37050 _ACEOF
37051
37052 fi
37053
37054 wx_cv_type_statvfs_t="struct statfs"
37055 cat >>confdefs.h <<\_ACEOF
37056 #define HAVE_STATFS 1
37057 _ACEOF
37058
37059 else
37060 echo "$as_me:$LINENO: checking for statvfs" >&5
37061 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37062 if test "${wx_cv_func_statvfs+set}" = set; then
37063 echo $ECHO_N "(cached) $ECHO_C" >&6
37064 else
37065 cat >conftest.$ac_ext <<_ACEOF
37066 /* confdefs.h. */
37067 _ACEOF
37068 cat confdefs.h >>conftest.$ac_ext
37069 cat >>conftest.$ac_ext <<_ACEOF
37070 /* end confdefs.h. */
37071
37072 #include <stddef.h>
37073 #include <sys/statvfs.h>
37074
37075 int
37076 main ()
37077 {
37078
37079 statvfs("/", NULL);
37080
37081 ;
37082 return 0;
37083 }
37084 _ACEOF
37085 rm -f conftest.$ac_objext
37086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37087 (eval $ac_compile) 2>conftest.er1
37088 ac_status=$?
37089 grep -v '^ *+' conftest.er1 >conftest.err
37090 rm -f conftest.er1
37091 cat conftest.err >&5
37092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37093 (exit $ac_status); } &&
37094 { ac_try='test -z "$ac_cxx_werror_flag"
37095 || test ! -s conftest.err'
37096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37097 (eval $ac_try) 2>&5
37098 ac_status=$?
37099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37100 (exit $ac_status); }; } &&
37101 { ac_try='test -s conftest.$ac_objext'
37102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37103 (eval $ac_try) 2>&5
37104 ac_status=$?
37105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37106 (exit $ac_status); }; }; then
37107 wx_cv_func_statvfs=yes
37108 else
37109 echo "$as_me: failed program was:" >&5
37110 sed 's/^/| /' conftest.$ac_ext >&5
37111
37112 wx_cv_func_statvfs=no
37113
37114 fi
37115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37116
37117 fi
37118 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37119 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37120
37121 if test "$wx_cv_func_statvfs" = "yes"; then
37122 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37123 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37124 if test "${wx_cv_type_statvfs_t+set}" = set; then
37125 echo $ECHO_N "(cached) $ECHO_C" >&6
37126 else
37127 cat >conftest.$ac_ext <<_ACEOF
37128 /* confdefs.h. */
37129 _ACEOF
37130 cat confdefs.h >>conftest.$ac_ext
37131 cat >>conftest.$ac_ext <<_ACEOF
37132 /* end confdefs.h. */
37133
37134 #include <sys/statvfs.h>
37135
37136 int
37137 main ()
37138 {
37139
37140 long l;
37141 statvfs_t fs;
37142 statvfs("/", &fs);
37143 l = fs.f_bsize;
37144 l += fs.f_blocks;
37145 l += fs.f_bavail;
37146
37147 ;
37148 return 0;
37149 }
37150 _ACEOF
37151 rm -f conftest.$ac_objext
37152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37153 (eval $ac_compile) 2>conftest.er1
37154 ac_status=$?
37155 grep -v '^ *+' conftest.er1 >conftest.err
37156 rm -f conftest.er1
37157 cat conftest.err >&5
37158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37159 (exit $ac_status); } &&
37160 { ac_try='test -z "$ac_cxx_werror_flag"
37161 || test ! -s conftest.err'
37162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37163 (eval $ac_try) 2>&5
37164 ac_status=$?
37165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37166 (exit $ac_status); }; } &&
37167 { ac_try='test -s conftest.$ac_objext'
37168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37169 (eval $ac_try) 2>&5
37170 ac_status=$?
37171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37172 (exit $ac_status); }; }; then
37173 wx_cv_type_statvfs_t=statvfs_t
37174 else
37175 echo "$as_me: failed program was:" >&5
37176 sed 's/^/| /' conftest.$ac_ext >&5
37177
37178
37179 cat >conftest.$ac_ext <<_ACEOF
37180 /* confdefs.h. */
37181 _ACEOF
37182 cat confdefs.h >>conftest.$ac_ext
37183 cat >>conftest.$ac_ext <<_ACEOF
37184 /* end confdefs.h. */
37185
37186 #include <sys/statvfs.h>
37187
37188 int
37189 main ()
37190 {
37191
37192 long l;
37193 struct statvfs fs;
37194 statvfs("/", &fs);
37195 l = fs.f_bsize;
37196 l += fs.f_blocks;
37197 l += fs.f_bavail;
37198
37199 ;
37200 return 0;
37201 }
37202 _ACEOF
37203 rm -f conftest.$ac_objext
37204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37205 (eval $ac_compile) 2>conftest.er1
37206 ac_status=$?
37207 grep -v '^ *+' conftest.er1 >conftest.err
37208 rm -f conftest.er1
37209 cat conftest.err >&5
37210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37211 (exit $ac_status); } &&
37212 { ac_try='test -z "$ac_cxx_werror_flag"
37213 || test ! -s conftest.err'
37214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37215 (eval $ac_try) 2>&5
37216 ac_status=$?
37217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37218 (exit $ac_status); }; } &&
37219 { ac_try='test -s conftest.$ac_objext'
37220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37221 (eval $ac_try) 2>&5
37222 ac_status=$?
37223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37224 (exit $ac_status); }; }; then
37225 wx_cv_type_statvfs_t="struct statvfs"
37226 else
37227 echo "$as_me: failed program was:" >&5
37228 sed 's/^/| /' conftest.$ac_ext >&5
37229
37230 wx_cv_type_statvfs_t="unknown"
37231
37232 fi
37233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37234
37235
37236 fi
37237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37238
37239 fi
37240 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37241 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37242
37243 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37244 cat >>confdefs.h <<\_ACEOF
37245 #define HAVE_STATVFS 1
37246 _ACEOF
37247
37248 fi
37249 else
37250 wx_cv_type_statvfs_t="unknown"
37251 fi
37252 fi
37253
37254 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37255 cat >>confdefs.h <<_ACEOF
37256 #define WX_STATFS_T $wx_cv_type_statvfs_t
37257 _ACEOF
37258
37259 else
37260 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37261 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37262 fi
37263
37264 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37265
37266
37267 for ac_func in fcntl flock
37268 do
37269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37270 echo "$as_me:$LINENO: checking for $ac_func" >&5
37271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37272 if eval "test \"\${$as_ac_var+set}\" = set"; then
37273 echo $ECHO_N "(cached) $ECHO_C" >&6
37274 else
37275 cat >conftest.$ac_ext <<_ACEOF
37276 /* confdefs.h. */
37277 _ACEOF
37278 cat confdefs.h >>conftest.$ac_ext
37279 cat >>conftest.$ac_ext <<_ACEOF
37280 /* end confdefs.h. */
37281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37283 #define $ac_func innocuous_$ac_func
37284
37285 /* System header to define __stub macros and hopefully few prototypes,
37286 which can conflict with char $ac_func (); below.
37287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37288 <limits.h> exists even on freestanding compilers. */
37289
37290 #ifdef __STDC__
37291 # include <limits.h>
37292 #else
37293 # include <assert.h>
37294 #endif
37295
37296 #undef $ac_func
37297
37298 /* Override any gcc2 internal prototype to avoid an error. */
37299 #ifdef __cplusplus
37300 extern "C"
37301 {
37302 #endif
37303 /* We use char because int might match the return type of a gcc2
37304 builtin and then its argument prototype would still apply. */
37305 char $ac_func ();
37306 /* The GNU C library defines this for functions which it implements
37307 to always fail with ENOSYS. Some functions are actually named
37308 something starting with __ and the normal name is an alias. */
37309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37310 choke me
37311 #else
37312 char (*f) () = $ac_func;
37313 #endif
37314 #ifdef __cplusplus
37315 }
37316 #endif
37317
37318 int
37319 main ()
37320 {
37321 return f != $ac_func;
37322 ;
37323 return 0;
37324 }
37325 _ACEOF
37326 rm -f conftest.$ac_objext conftest$ac_exeext
37327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37328 (eval $ac_link) 2>conftest.er1
37329 ac_status=$?
37330 grep -v '^ *+' conftest.er1 >conftest.err
37331 rm -f conftest.er1
37332 cat conftest.err >&5
37333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37334 (exit $ac_status); } &&
37335 { ac_try='test -z "$ac_cxx_werror_flag"
37336 || test ! -s conftest.err'
37337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37338 (eval $ac_try) 2>&5
37339 ac_status=$?
37340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37341 (exit $ac_status); }; } &&
37342 { ac_try='test -s conftest$ac_exeext'
37343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37344 (eval $ac_try) 2>&5
37345 ac_status=$?
37346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37347 (exit $ac_status); }; }; then
37348 eval "$as_ac_var=yes"
37349 else
37350 echo "$as_me: failed program was:" >&5
37351 sed 's/^/| /' conftest.$ac_ext >&5
37352
37353 eval "$as_ac_var=no"
37354 fi
37355 rm -f conftest.err conftest.$ac_objext \
37356 conftest$ac_exeext conftest.$ac_ext
37357 fi
37358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37360 if test `eval echo '${'$as_ac_var'}'` = yes; then
37361 cat >>confdefs.h <<_ACEOF
37362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37363 _ACEOF
37364 break
37365 fi
37366 done
37367
37368
37369 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37370 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37371 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37372 wxUSE_SNGLINST_CHECKER=no
37373 fi
37374 fi
37375
37376
37377 for ac_func in timegm
37378 do
37379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37380 echo "$as_me:$LINENO: checking for $ac_func" >&5
37381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37382 if eval "test \"\${$as_ac_var+set}\" = set"; then
37383 echo $ECHO_N "(cached) $ECHO_C" >&6
37384 else
37385 cat >conftest.$ac_ext <<_ACEOF
37386 /* confdefs.h. */
37387 _ACEOF
37388 cat confdefs.h >>conftest.$ac_ext
37389 cat >>conftest.$ac_ext <<_ACEOF
37390 /* end confdefs.h. */
37391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37393 #define $ac_func innocuous_$ac_func
37394
37395 /* System header to define __stub macros and hopefully few prototypes,
37396 which can conflict with char $ac_func (); below.
37397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37398 <limits.h> exists even on freestanding compilers. */
37399
37400 #ifdef __STDC__
37401 # include <limits.h>
37402 #else
37403 # include <assert.h>
37404 #endif
37405
37406 #undef $ac_func
37407
37408 /* Override any gcc2 internal prototype to avoid an error. */
37409 #ifdef __cplusplus
37410 extern "C"
37411 {
37412 #endif
37413 /* We use char because int might match the return type of a gcc2
37414 builtin and then its argument prototype would still apply. */
37415 char $ac_func ();
37416 /* The GNU C library defines this for functions which it implements
37417 to always fail with ENOSYS. Some functions are actually named
37418 something starting with __ and the normal name is an alias. */
37419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37420 choke me
37421 #else
37422 char (*f) () = $ac_func;
37423 #endif
37424 #ifdef __cplusplus
37425 }
37426 #endif
37427
37428 int
37429 main ()
37430 {
37431 return f != $ac_func;
37432 ;
37433 return 0;
37434 }
37435 _ACEOF
37436 rm -f conftest.$ac_objext conftest$ac_exeext
37437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37438 (eval $ac_link) 2>conftest.er1
37439 ac_status=$?
37440 grep -v '^ *+' conftest.er1 >conftest.err
37441 rm -f conftest.er1
37442 cat conftest.err >&5
37443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37444 (exit $ac_status); } &&
37445 { ac_try='test -z "$ac_cxx_werror_flag"
37446 || test ! -s conftest.err'
37447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37448 (eval $ac_try) 2>&5
37449 ac_status=$?
37450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37451 (exit $ac_status); }; } &&
37452 { ac_try='test -s conftest$ac_exeext'
37453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37454 (eval $ac_try) 2>&5
37455 ac_status=$?
37456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37457 (exit $ac_status); }; }; then
37458 eval "$as_ac_var=yes"
37459 else
37460 echo "$as_me: failed program was:" >&5
37461 sed 's/^/| /' conftest.$ac_ext >&5
37462
37463 eval "$as_ac_var=no"
37464 fi
37465 rm -f conftest.err conftest.$ac_objext \
37466 conftest$ac_exeext conftest.$ac_ext
37467 fi
37468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37470 if test `eval echo '${'$as_ac_var'}'` = yes; then
37471 cat >>confdefs.h <<_ACEOF
37472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37473 _ACEOF
37474
37475 fi
37476 done
37477
37478
37479
37480
37481 for ac_func in putenv setenv
37482 do
37483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37484 echo "$as_me:$LINENO: checking for $ac_func" >&5
37485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37486 if eval "test \"\${$as_ac_var+set}\" = set"; then
37487 echo $ECHO_N "(cached) $ECHO_C" >&6
37488 else
37489 cat >conftest.$ac_ext <<_ACEOF
37490 /* confdefs.h. */
37491 _ACEOF
37492 cat confdefs.h >>conftest.$ac_ext
37493 cat >>conftest.$ac_ext <<_ACEOF
37494 /* end confdefs.h. */
37495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37497 #define $ac_func innocuous_$ac_func
37498
37499 /* System header to define __stub macros and hopefully few prototypes,
37500 which can conflict with char $ac_func (); below.
37501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37502 <limits.h> exists even on freestanding compilers. */
37503
37504 #ifdef __STDC__
37505 # include <limits.h>
37506 #else
37507 # include <assert.h>
37508 #endif
37509
37510 #undef $ac_func
37511
37512 /* Override any gcc2 internal prototype to avoid an error. */
37513 #ifdef __cplusplus
37514 extern "C"
37515 {
37516 #endif
37517 /* We use char because int might match the return type of a gcc2
37518 builtin and then its argument prototype would still apply. */
37519 char $ac_func ();
37520 /* The GNU C library defines this for functions which it implements
37521 to always fail with ENOSYS. Some functions are actually named
37522 something starting with __ and the normal name is an alias. */
37523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37524 choke me
37525 #else
37526 char (*f) () = $ac_func;
37527 #endif
37528 #ifdef __cplusplus
37529 }
37530 #endif
37531
37532 int
37533 main ()
37534 {
37535 return f != $ac_func;
37536 ;
37537 return 0;
37538 }
37539 _ACEOF
37540 rm -f conftest.$ac_objext conftest$ac_exeext
37541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37542 (eval $ac_link) 2>conftest.er1
37543 ac_status=$?
37544 grep -v '^ *+' conftest.er1 >conftest.err
37545 rm -f conftest.er1
37546 cat conftest.err >&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); } &&
37549 { ac_try='test -z "$ac_cxx_werror_flag"
37550 || test ! -s conftest.err'
37551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37552 (eval $ac_try) 2>&5
37553 ac_status=$?
37554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37555 (exit $ac_status); }; } &&
37556 { ac_try='test -s conftest$ac_exeext'
37557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37558 (eval $ac_try) 2>&5
37559 ac_status=$?
37560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37561 (exit $ac_status); }; }; then
37562 eval "$as_ac_var=yes"
37563 else
37564 echo "$as_me: failed program was:" >&5
37565 sed 's/^/| /' conftest.$ac_ext >&5
37566
37567 eval "$as_ac_var=no"
37568 fi
37569 rm -f conftest.err conftest.$ac_objext \
37570 conftest$ac_exeext conftest.$ac_ext
37571 fi
37572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37574 if test `eval echo '${'$as_ac_var'}'` = yes; then
37575 cat >>confdefs.h <<_ACEOF
37576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37577 _ACEOF
37578 break
37579 fi
37580 done
37581
37582
37583 HAVE_SOME_SLEEP_FUNC=0
37584 if test "$USE_BEOS" = 1; then
37585 cat >>confdefs.h <<\_ACEOF
37586 #define HAVE_SLEEP 1
37587 _ACEOF
37588
37589 HAVE_SOME_SLEEP_FUNC=1
37590 fi
37591
37592 if test "$USE_DARWIN" = 1; then
37593 cat >>confdefs.h <<\_ACEOF
37594 #define HAVE_USLEEP 1
37595 _ACEOF
37596
37597 HAVE_SOME_SLEEP_FUNC=1
37598 fi
37599
37600 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37601 POSIX4_LINK=
37602
37603 for ac_func in nanosleep
37604 do
37605 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37606 echo "$as_me:$LINENO: checking for $ac_func" >&5
37607 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37608 if eval "test \"\${$as_ac_var+set}\" = set"; then
37609 echo $ECHO_N "(cached) $ECHO_C" >&6
37610 else
37611 cat >conftest.$ac_ext <<_ACEOF
37612 /* confdefs.h. */
37613 _ACEOF
37614 cat confdefs.h >>conftest.$ac_ext
37615 cat >>conftest.$ac_ext <<_ACEOF
37616 /* end confdefs.h. */
37617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37619 #define $ac_func innocuous_$ac_func
37620
37621 /* System header to define __stub macros and hopefully few prototypes,
37622 which can conflict with char $ac_func (); below.
37623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37624 <limits.h> exists even on freestanding compilers. */
37625
37626 #ifdef __STDC__
37627 # include <limits.h>
37628 #else
37629 # include <assert.h>
37630 #endif
37631
37632 #undef $ac_func
37633
37634 /* Override any gcc2 internal prototype to avoid an error. */
37635 #ifdef __cplusplus
37636 extern "C"
37637 {
37638 #endif
37639 /* We use char because int might match the return type of a gcc2
37640 builtin and then its argument prototype would still apply. */
37641 char $ac_func ();
37642 /* The GNU C library defines this for functions which it implements
37643 to always fail with ENOSYS. Some functions are actually named
37644 something starting with __ and the normal name is an alias. */
37645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37646 choke me
37647 #else
37648 char (*f) () = $ac_func;
37649 #endif
37650 #ifdef __cplusplus
37651 }
37652 #endif
37653
37654 int
37655 main ()
37656 {
37657 return f != $ac_func;
37658 ;
37659 return 0;
37660 }
37661 _ACEOF
37662 rm -f conftest.$ac_objext conftest$ac_exeext
37663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37664 (eval $ac_link) 2>conftest.er1
37665 ac_status=$?
37666 grep -v '^ *+' conftest.er1 >conftest.err
37667 rm -f conftest.er1
37668 cat conftest.err >&5
37669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37670 (exit $ac_status); } &&
37671 { ac_try='test -z "$ac_cxx_werror_flag"
37672 || test ! -s conftest.err'
37673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37674 (eval $ac_try) 2>&5
37675 ac_status=$?
37676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37677 (exit $ac_status); }; } &&
37678 { ac_try='test -s conftest$ac_exeext'
37679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37680 (eval $ac_try) 2>&5
37681 ac_status=$?
37682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37683 (exit $ac_status); }; }; then
37684 eval "$as_ac_var=yes"
37685 else
37686 echo "$as_me: failed program was:" >&5
37687 sed 's/^/| /' conftest.$ac_ext >&5
37688
37689 eval "$as_ac_var=no"
37690 fi
37691 rm -f conftest.err conftest.$ac_objext \
37692 conftest$ac_exeext conftest.$ac_ext
37693 fi
37694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37696 if test `eval echo '${'$as_ac_var'}'` = yes; then
37697 cat >>confdefs.h <<_ACEOF
37698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37699 _ACEOF
37700 cat >>confdefs.h <<\_ACEOF
37701 #define HAVE_NANOSLEEP 1
37702 _ACEOF
37703
37704 else
37705
37706 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37707 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37708 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37709 echo $ECHO_N "(cached) $ECHO_C" >&6
37710 else
37711 ac_check_lib_save_LIBS=$LIBS
37712 LIBS="-lposix4 $LIBS"
37713 cat >conftest.$ac_ext <<_ACEOF
37714 /* confdefs.h. */
37715 _ACEOF
37716 cat confdefs.h >>conftest.$ac_ext
37717 cat >>conftest.$ac_ext <<_ACEOF
37718 /* end confdefs.h. */
37719
37720 /* Override any gcc2 internal prototype to avoid an error. */
37721 #ifdef __cplusplus
37722 extern "C"
37723 #endif
37724 /* We use char because int might match the return type of a gcc2
37725 builtin and then its argument prototype would still apply. */
37726 char nanosleep ();
37727 int
37728 main ()
37729 {
37730 nanosleep ();
37731 ;
37732 return 0;
37733 }
37734 _ACEOF
37735 rm -f conftest.$ac_objext conftest$ac_exeext
37736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37737 (eval $ac_link) 2>conftest.er1
37738 ac_status=$?
37739 grep -v '^ *+' conftest.er1 >conftest.err
37740 rm -f conftest.er1
37741 cat conftest.err >&5
37742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37743 (exit $ac_status); } &&
37744 { ac_try='test -z "$ac_cxx_werror_flag"
37745 || test ! -s conftest.err'
37746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37747 (eval $ac_try) 2>&5
37748 ac_status=$?
37749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37750 (exit $ac_status); }; } &&
37751 { ac_try='test -s conftest$ac_exeext'
37752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37753 (eval $ac_try) 2>&5
37754 ac_status=$?
37755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37756 (exit $ac_status); }; }; then
37757 ac_cv_lib_posix4_nanosleep=yes
37758 else
37759 echo "$as_me: failed program was:" >&5
37760 sed 's/^/| /' conftest.$ac_ext >&5
37761
37762 ac_cv_lib_posix4_nanosleep=no
37763 fi
37764 rm -f conftest.err conftest.$ac_objext \
37765 conftest$ac_exeext conftest.$ac_ext
37766 LIBS=$ac_check_lib_save_LIBS
37767 fi
37768 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37769 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37770 if test $ac_cv_lib_posix4_nanosleep = yes; then
37771
37772 cat >>confdefs.h <<\_ACEOF
37773 #define HAVE_NANOSLEEP 1
37774 _ACEOF
37775
37776 POSIX4_LINK=" -lposix4"
37777
37778 else
37779
37780
37781 for ac_func in usleep
37782 do
37783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37784 echo "$as_me:$LINENO: checking for $ac_func" >&5
37785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37786 if eval "test \"\${$as_ac_var+set}\" = set"; then
37787 echo $ECHO_N "(cached) $ECHO_C" >&6
37788 else
37789 cat >conftest.$ac_ext <<_ACEOF
37790 /* confdefs.h. */
37791 _ACEOF
37792 cat confdefs.h >>conftest.$ac_ext
37793 cat >>conftest.$ac_ext <<_ACEOF
37794 /* end confdefs.h. */
37795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37797 #define $ac_func innocuous_$ac_func
37798
37799 /* System header to define __stub macros and hopefully few prototypes,
37800 which can conflict with char $ac_func (); below.
37801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37802 <limits.h> exists even on freestanding compilers. */
37803
37804 #ifdef __STDC__
37805 # include <limits.h>
37806 #else
37807 # include <assert.h>
37808 #endif
37809
37810 #undef $ac_func
37811
37812 /* Override any gcc2 internal prototype to avoid an error. */
37813 #ifdef __cplusplus
37814 extern "C"
37815 {
37816 #endif
37817 /* We use char because int might match the return type of a gcc2
37818 builtin and then its argument prototype would still apply. */
37819 char $ac_func ();
37820 /* The GNU C library defines this for functions which it implements
37821 to always fail with ENOSYS. Some functions are actually named
37822 something starting with __ and the normal name is an alias. */
37823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37824 choke me
37825 #else
37826 char (*f) () = $ac_func;
37827 #endif
37828 #ifdef __cplusplus
37829 }
37830 #endif
37831
37832 int
37833 main ()
37834 {
37835 return f != $ac_func;
37836 ;
37837 return 0;
37838 }
37839 _ACEOF
37840 rm -f conftest.$ac_objext conftest$ac_exeext
37841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37842 (eval $ac_link) 2>conftest.er1
37843 ac_status=$?
37844 grep -v '^ *+' conftest.er1 >conftest.err
37845 rm -f conftest.er1
37846 cat conftest.err >&5
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); } &&
37849 { ac_try='test -z "$ac_cxx_werror_flag"
37850 || test ! -s conftest.err'
37851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37852 (eval $ac_try) 2>&5
37853 ac_status=$?
37854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37855 (exit $ac_status); }; } &&
37856 { ac_try='test -s conftest$ac_exeext'
37857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37858 (eval $ac_try) 2>&5
37859 ac_status=$?
37860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37861 (exit $ac_status); }; }; then
37862 eval "$as_ac_var=yes"
37863 else
37864 echo "$as_me: failed program was:" >&5
37865 sed 's/^/| /' conftest.$ac_ext >&5
37866
37867 eval "$as_ac_var=no"
37868 fi
37869 rm -f conftest.err conftest.$ac_objext \
37870 conftest$ac_exeext conftest.$ac_ext
37871 fi
37872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37874 if test `eval echo '${'$as_ac_var'}'` = yes; then
37875 cat >>confdefs.h <<_ACEOF
37876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37877 _ACEOF
37878 cat >>confdefs.h <<\_ACEOF
37879 #define HAVE_USLEEP 1
37880 _ACEOF
37881
37882 else
37883 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37884 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37885
37886 fi
37887 done
37888
37889
37890
37891 fi
37892
37893
37894
37895 fi
37896 done
37897
37898 fi
37899
37900
37901
37902 for ac_func in uname gethostname
37903 do
37904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37905 echo "$as_me:$LINENO: checking for $ac_func" >&5
37906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37907 if eval "test \"\${$as_ac_var+set}\" = set"; then
37908 echo $ECHO_N "(cached) $ECHO_C" >&6
37909 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37918 #define $ac_func innocuous_$ac_func
37919
37920 /* System header to define __stub macros and hopefully few prototypes,
37921 which can conflict with char $ac_func (); below.
37922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37923 <limits.h> exists even on freestanding compilers. */
37924
37925 #ifdef __STDC__
37926 # include <limits.h>
37927 #else
37928 # include <assert.h>
37929 #endif
37930
37931 #undef $ac_func
37932
37933 /* Override any gcc2 internal prototype to avoid an error. */
37934 #ifdef __cplusplus
37935 extern "C"
37936 {
37937 #endif
37938 /* We use char because int might match the return type of a gcc2
37939 builtin and then its argument prototype would still apply. */
37940 char $ac_func ();
37941 /* The GNU C library defines this for functions which it implements
37942 to always fail with ENOSYS. Some functions are actually named
37943 something starting with __ and the normal name is an alias. */
37944 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37945 choke me
37946 #else
37947 char (*f) () = $ac_func;
37948 #endif
37949 #ifdef __cplusplus
37950 }
37951 #endif
37952
37953 int
37954 main ()
37955 {
37956 return f != $ac_func;
37957 ;
37958 return 0;
37959 }
37960 _ACEOF
37961 rm -f conftest.$ac_objext conftest$ac_exeext
37962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37963 (eval $ac_link) 2>conftest.er1
37964 ac_status=$?
37965 grep -v '^ *+' conftest.er1 >conftest.err
37966 rm -f conftest.er1
37967 cat conftest.err >&5
37968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37969 (exit $ac_status); } &&
37970 { ac_try='test -z "$ac_cxx_werror_flag"
37971 || test ! -s conftest.err'
37972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37973 (eval $ac_try) 2>&5
37974 ac_status=$?
37975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37976 (exit $ac_status); }; } &&
37977 { ac_try='test -s conftest$ac_exeext'
37978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37979 (eval $ac_try) 2>&5
37980 ac_status=$?
37981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37982 (exit $ac_status); }; }; then
37983 eval "$as_ac_var=yes"
37984 else
37985 echo "$as_me: failed program was:" >&5
37986 sed 's/^/| /' conftest.$ac_ext >&5
37987
37988 eval "$as_ac_var=no"
37989 fi
37990 rm -f conftest.err conftest.$ac_objext \
37991 conftest$ac_exeext conftest.$ac_ext
37992 fi
37993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37994 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37995 if test `eval echo '${'$as_ac_var'}'` = yes; then
37996 cat >>confdefs.h <<_ACEOF
37997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37998 _ACEOF
37999 break
38000 fi
38001 done
38002
38003
38004
38005 for wx_func in strtok_r
38006 do
38007 echo "$as_me:$LINENO: checking for $wx_func" >&5
38008 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38009 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38010 echo $ECHO_N "(cached) $ECHO_C" >&6
38011 else
38012
38013 cat >conftest.$ac_ext <<_ACEOF
38014
38015 /* confdefs.h. */
38016 _ACEOF
38017 cat confdefs.h >>conftest.$ac_ext
38018 cat >>conftest.$ac_ext <<_ACEOF
38019 /* end confdefs.h. */
38020
38021 #define _REENTRANT
38022 $ac_includes_default
38023
38024 int
38025 main ()
38026 {
38027
38028 #ifndef $wx_func
38029 &$wx_func;
38030 #endif
38031
38032
38033 ;
38034 return 0;
38035 }
38036
38037 _ACEOF
38038 rm -f conftest.$ac_objext conftest$ac_exeext
38039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38040 (eval $ac_link) 2>conftest.er1
38041 ac_status=$?
38042 grep -v '^ *+' conftest.er1 >conftest.err
38043 rm -f conftest.er1
38044 cat conftest.err >&5
38045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38046 (exit $ac_status); } &&
38047 { ac_try='test -z "$ac_cxx_werror_flag"
38048 || test ! -s conftest.err'
38049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38050 (eval $ac_try) 2>&5
38051 ac_status=$?
38052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38053 (exit $ac_status); }; } &&
38054 { ac_try='test -s conftest$ac_exeext'
38055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38056 (eval $ac_try) 2>&5
38057 ac_status=$?
38058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38059 (exit $ac_status); }; }; then
38060 eval wx_cv_func_$wx_func=yes
38061 else
38062 echo "$as_me: failed program was:" >&5
38063 sed 's/^/| /' conftest.$ac_ext >&5
38064
38065 eval wx_cv_func_$wx_func=no
38066 fi
38067 rm -f conftest.err conftest.$ac_objext \
38068 conftest$ac_exeext conftest.$ac_ext
38069
38070 fi
38071 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38072 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38073
38074 if eval test \$wx_cv_func_$wx_func = yes
38075 then
38076 cat >>confdefs.h <<_ACEOF
38077 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38078 _ACEOF
38079
38080
38081 else
38082 :
38083
38084 fi
38085 done
38086
38087
38088 INET_LINK=
38089
38090 for ac_func in inet_addr
38091 do
38092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38093 echo "$as_me:$LINENO: checking for $ac_func" >&5
38094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38095 if eval "test \"\${$as_ac_var+set}\" = set"; then
38096 echo $ECHO_N "(cached) $ECHO_C" >&6
38097 else
38098 cat >conftest.$ac_ext <<_ACEOF
38099 /* confdefs.h. */
38100 _ACEOF
38101 cat confdefs.h >>conftest.$ac_ext
38102 cat >>conftest.$ac_ext <<_ACEOF
38103 /* end confdefs.h. */
38104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38106 #define $ac_func innocuous_$ac_func
38107
38108 /* System header to define __stub macros and hopefully few prototypes,
38109 which can conflict with char $ac_func (); below.
38110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38111 <limits.h> exists even on freestanding compilers. */
38112
38113 #ifdef __STDC__
38114 # include <limits.h>
38115 #else
38116 # include <assert.h>
38117 #endif
38118
38119 #undef $ac_func
38120
38121 /* Override any gcc2 internal prototype to avoid an error. */
38122 #ifdef __cplusplus
38123 extern "C"
38124 {
38125 #endif
38126 /* We use char because int might match the return type of a gcc2
38127 builtin and then its argument prototype would still apply. */
38128 char $ac_func ();
38129 /* The GNU C library defines this for functions which it implements
38130 to always fail with ENOSYS. Some functions are actually named
38131 something starting with __ and the normal name is an alias. */
38132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38133 choke me
38134 #else
38135 char (*f) () = $ac_func;
38136 #endif
38137 #ifdef __cplusplus
38138 }
38139 #endif
38140
38141 int
38142 main ()
38143 {
38144 return f != $ac_func;
38145 ;
38146 return 0;
38147 }
38148 _ACEOF
38149 rm -f conftest.$ac_objext conftest$ac_exeext
38150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38151 (eval $ac_link) 2>conftest.er1
38152 ac_status=$?
38153 grep -v '^ *+' conftest.er1 >conftest.err
38154 rm -f conftest.er1
38155 cat conftest.err >&5
38156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38157 (exit $ac_status); } &&
38158 { ac_try='test -z "$ac_cxx_werror_flag"
38159 || test ! -s conftest.err'
38160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38161 (eval $ac_try) 2>&5
38162 ac_status=$?
38163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38164 (exit $ac_status); }; } &&
38165 { ac_try='test -s conftest$ac_exeext'
38166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38167 (eval $ac_try) 2>&5
38168 ac_status=$?
38169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38170 (exit $ac_status); }; }; then
38171 eval "$as_ac_var=yes"
38172 else
38173 echo "$as_me: failed program was:" >&5
38174 sed 's/^/| /' conftest.$ac_ext >&5
38175
38176 eval "$as_ac_var=no"
38177 fi
38178 rm -f conftest.err conftest.$ac_objext \
38179 conftest$ac_exeext conftest.$ac_ext
38180 fi
38181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38183 if test `eval echo '${'$as_ac_var'}'` = yes; then
38184 cat >>confdefs.h <<_ACEOF
38185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38186 _ACEOF
38187 cat >>confdefs.h <<\_ACEOF
38188 #define HAVE_INET_ADDR 1
38189 _ACEOF
38190
38191 else
38192
38193 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38194 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38195 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38196 echo $ECHO_N "(cached) $ECHO_C" >&6
38197 else
38198 ac_check_lib_save_LIBS=$LIBS
38199 LIBS="-lnsl $LIBS"
38200 cat >conftest.$ac_ext <<_ACEOF
38201 /* confdefs.h. */
38202 _ACEOF
38203 cat confdefs.h >>conftest.$ac_ext
38204 cat >>conftest.$ac_ext <<_ACEOF
38205 /* end confdefs.h. */
38206
38207 /* Override any gcc2 internal prototype to avoid an error. */
38208 #ifdef __cplusplus
38209 extern "C"
38210 #endif
38211 /* We use char because int might match the return type of a gcc2
38212 builtin and then its argument prototype would still apply. */
38213 char inet_addr ();
38214 int
38215 main ()
38216 {
38217 inet_addr ();
38218 ;
38219 return 0;
38220 }
38221 _ACEOF
38222 rm -f conftest.$ac_objext conftest$ac_exeext
38223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38224 (eval $ac_link) 2>conftest.er1
38225 ac_status=$?
38226 grep -v '^ *+' conftest.er1 >conftest.err
38227 rm -f conftest.er1
38228 cat conftest.err >&5
38229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38230 (exit $ac_status); } &&
38231 { ac_try='test -z "$ac_cxx_werror_flag"
38232 || test ! -s conftest.err'
38233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38234 (eval $ac_try) 2>&5
38235 ac_status=$?
38236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38237 (exit $ac_status); }; } &&
38238 { ac_try='test -s conftest$ac_exeext'
38239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38240 (eval $ac_try) 2>&5
38241 ac_status=$?
38242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38243 (exit $ac_status); }; }; then
38244 ac_cv_lib_nsl_inet_addr=yes
38245 else
38246 echo "$as_me: failed program was:" >&5
38247 sed 's/^/| /' conftest.$ac_ext >&5
38248
38249 ac_cv_lib_nsl_inet_addr=no
38250 fi
38251 rm -f conftest.err conftest.$ac_objext \
38252 conftest$ac_exeext conftest.$ac_ext
38253 LIBS=$ac_check_lib_save_LIBS
38254 fi
38255 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38256 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38257 if test $ac_cv_lib_nsl_inet_addr = yes; then
38258 INET_LINK="nsl"
38259 else
38260
38261 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38262 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38263 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38264 echo $ECHO_N "(cached) $ECHO_C" >&6
38265 else
38266 ac_check_lib_save_LIBS=$LIBS
38267 LIBS="-lresolv $LIBS"
38268 cat >conftest.$ac_ext <<_ACEOF
38269 /* confdefs.h. */
38270 _ACEOF
38271 cat confdefs.h >>conftest.$ac_ext
38272 cat >>conftest.$ac_ext <<_ACEOF
38273 /* end confdefs.h. */
38274
38275 /* Override any gcc2 internal prototype to avoid an error. */
38276 #ifdef __cplusplus
38277 extern "C"
38278 #endif
38279 /* We use char because int might match the return type of a gcc2
38280 builtin and then its argument prototype would still apply. */
38281 char inet_addr ();
38282 int
38283 main ()
38284 {
38285 inet_addr ();
38286 ;
38287 return 0;
38288 }
38289 _ACEOF
38290 rm -f conftest.$ac_objext conftest$ac_exeext
38291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38292 (eval $ac_link) 2>conftest.er1
38293 ac_status=$?
38294 grep -v '^ *+' conftest.er1 >conftest.err
38295 rm -f conftest.er1
38296 cat conftest.err >&5
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); } &&
38299 { ac_try='test -z "$ac_cxx_werror_flag"
38300 || test ! -s conftest.err'
38301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38302 (eval $ac_try) 2>&5
38303 ac_status=$?
38304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38305 (exit $ac_status); }; } &&
38306 { ac_try='test -s conftest$ac_exeext'
38307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38308 (eval $ac_try) 2>&5
38309 ac_status=$?
38310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38311 (exit $ac_status); }; }; then
38312 ac_cv_lib_resolv_inet_addr=yes
38313 else
38314 echo "$as_me: failed program was:" >&5
38315 sed 's/^/| /' conftest.$ac_ext >&5
38316
38317 ac_cv_lib_resolv_inet_addr=no
38318 fi
38319 rm -f conftest.err conftest.$ac_objext \
38320 conftest$ac_exeext conftest.$ac_ext
38321 LIBS=$ac_check_lib_save_LIBS
38322 fi
38323 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38324 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38325 if test $ac_cv_lib_resolv_inet_addr = yes; then
38326 INET_LINK="resolv"
38327 else
38328
38329 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38330 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38331 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38332 echo $ECHO_N "(cached) $ECHO_C" >&6
38333 else
38334 ac_check_lib_save_LIBS=$LIBS
38335 LIBS="-lsocket $LIBS"
38336 cat >conftest.$ac_ext <<_ACEOF
38337 /* confdefs.h. */
38338 _ACEOF
38339 cat confdefs.h >>conftest.$ac_ext
38340 cat >>conftest.$ac_ext <<_ACEOF
38341 /* end confdefs.h. */
38342
38343 /* Override any gcc2 internal prototype to avoid an error. */
38344 #ifdef __cplusplus
38345 extern "C"
38346 #endif
38347 /* We use char because int might match the return type of a gcc2
38348 builtin and then its argument prototype would still apply. */
38349 char inet_addr ();
38350 int
38351 main ()
38352 {
38353 inet_addr ();
38354 ;
38355 return 0;
38356 }
38357 _ACEOF
38358 rm -f conftest.$ac_objext conftest$ac_exeext
38359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38360 (eval $ac_link) 2>conftest.er1
38361 ac_status=$?
38362 grep -v '^ *+' conftest.er1 >conftest.err
38363 rm -f conftest.er1
38364 cat conftest.err >&5
38365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38366 (exit $ac_status); } &&
38367 { ac_try='test -z "$ac_cxx_werror_flag"
38368 || 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_lib_socket_inet_addr=yes
38381 else
38382 echo "$as_me: failed program was:" >&5
38383 sed 's/^/| /' conftest.$ac_ext >&5
38384
38385 ac_cv_lib_socket_inet_addr=no
38386 fi
38387 rm -f conftest.err conftest.$ac_objext \
38388 conftest$ac_exeext conftest.$ac_ext
38389 LIBS=$ac_check_lib_save_LIBS
38390 fi
38391 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38392 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38393 if test $ac_cv_lib_socket_inet_addr = yes; then
38394 INET_LINK="socket"
38395
38396 fi
38397
38398
38399
38400 fi
38401
38402
38403
38404 fi
38405
38406
38407
38408 fi
38409 done
38410
38411
38412
38413 for ac_func in inet_aton
38414 do
38415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38416 echo "$as_me:$LINENO: checking for $ac_func" >&5
38417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38418 if eval "test \"\${$as_ac_var+set}\" = set"; then
38419 echo $ECHO_N "(cached) $ECHO_C" >&6
38420 else
38421 cat >conftest.$ac_ext <<_ACEOF
38422 /* confdefs.h. */
38423 _ACEOF
38424 cat confdefs.h >>conftest.$ac_ext
38425 cat >>conftest.$ac_ext <<_ACEOF
38426 /* end confdefs.h. */
38427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38429 #define $ac_func innocuous_$ac_func
38430
38431 /* System header to define __stub macros and hopefully few prototypes,
38432 which can conflict with char $ac_func (); below.
38433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38434 <limits.h> exists even on freestanding compilers. */
38435
38436 #ifdef __STDC__
38437 # include <limits.h>
38438 #else
38439 # include <assert.h>
38440 #endif
38441
38442 #undef $ac_func
38443
38444 /* Override any gcc2 internal prototype to avoid an error. */
38445 #ifdef __cplusplus
38446 extern "C"
38447 {
38448 #endif
38449 /* We use char because int might match the return type of a gcc2
38450 builtin and then its argument prototype would still apply. */
38451 char $ac_func ();
38452 /* The GNU C library defines this for functions which it implements
38453 to always fail with ENOSYS. Some functions are actually named
38454 something starting with __ and the normal name is an alias. */
38455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38456 choke me
38457 #else
38458 char (*f) () = $ac_func;
38459 #endif
38460 #ifdef __cplusplus
38461 }
38462 #endif
38463
38464 int
38465 main ()
38466 {
38467 return f != $ac_func;
38468 ;
38469 return 0;
38470 }
38471 _ACEOF
38472 rm -f conftest.$ac_objext conftest$ac_exeext
38473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38474 (eval $ac_link) 2>conftest.er1
38475 ac_status=$?
38476 grep -v '^ *+' conftest.er1 >conftest.err
38477 rm -f conftest.er1
38478 cat conftest.err >&5
38479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38480 (exit $ac_status); } &&
38481 { ac_try='test -z "$ac_cxx_werror_flag"
38482 || test ! -s conftest.err'
38483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38484 (eval $ac_try) 2>&5
38485 ac_status=$?
38486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38487 (exit $ac_status); }; } &&
38488 { ac_try='test -s conftest$ac_exeext'
38489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38490 (eval $ac_try) 2>&5
38491 ac_status=$?
38492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38493 (exit $ac_status); }; }; then
38494 eval "$as_ac_var=yes"
38495 else
38496 echo "$as_me: failed program was:" >&5
38497 sed 's/^/| /' conftest.$ac_ext >&5
38498
38499 eval "$as_ac_var=no"
38500 fi
38501 rm -f conftest.err conftest.$ac_objext \
38502 conftest$ac_exeext conftest.$ac_ext
38503 fi
38504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38506 if test `eval echo '${'$as_ac_var'}'` = yes; then
38507 cat >>confdefs.h <<_ACEOF
38508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38509 _ACEOF
38510 cat >>confdefs.h <<\_ACEOF
38511 #define HAVE_INET_ATON 1
38512 _ACEOF
38513
38514 else
38515
38516 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38517 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38518 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38519 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38520 echo $ECHO_N "(cached) $ECHO_C" >&6
38521 else
38522 ac_check_lib_save_LIBS=$LIBS
38523 LIBS="-l$INET_LINK $LIBS"
38524 cat >conftest.$ac_ext <<_ACEOF
38525 /* confdefs.h. */
38526 _ACEOF
38527 cat confdefs.h >>conftest.$ac_ext
38528 cat >>conftest.$ac_ext <<_ACEOF
38529 /* end confdefs.h. */
38530
38531 /* Override any gcc2 internal prototype to avoid an error. */
38532 #ifdef __cplusplus
38533 extern "C"
38534 #endif
38535 /* We use char because int might match the return type of a gcc2
38536 builtin and then its argument prototype would still apply. */
38537 char inet_aton ();
38538 int
38539 main ()
38540 {
38541 inet_aton ();
38542 ;
38543 return 0;
38544 }
38545 _ACEOF
38546 rm -f conftest.$ac_objext conftest$ac_exeext
38547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38548 (eval $ac_link) 2>conftest.er1
38549 ac_status=$?
38550 grep -v '^ *+' conftest.er1 >conftest.err
38551 rm -f conftest.er1
38552 cat conftest.err >&5
38553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554 (exit $ac_status); } &&
38555 { ac_try='test -z "$ac_cxx_werror_flag"
38556 || test ! -s conftest.err'
38557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38558 (eval $ac_try) 2>&5
38559 ac_status=$?
38560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38561 (exit $ac_status); }; } &&
38562 { ac_try='test -s conftest$ac_exeext'
38563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38564 (eval $ac_try) 2>&5
38565 ac_status=$?
38566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38567 (exit $ac_status); }; }; then
38568 eval "$as_ac_Lib=yes"
38569 else
38570 echo "$as_me: failed program was:" >&5
38571 sed 's/^/| /' conftest.$ac_ext >&5
38572
38573 eval "$as_ac_Lib=no"
38574 fi
38575 rm -f conftest.err conftest.$ac_objext \
38576 conftest$ac_exeext conftest.$ac_ext
38577 LIBS=$ac_check_lib_save_LIBS
38578 fi
38579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38580 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38581 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38582 cat >>confdefs.h <<\_ACEOF
38583 #define HAVE_INET_ATON 1
38584 _ACEOF
38585
38586 fi
38587
38588
38589 fi
38590 done
38591
38592
38593 if test "x$INET_LINK" != "x"; then
38594 cat >>confdefs.h <<\_ACEOF
38595 #define HAVE_INET_ADDR 1
38596 _ACEOF
38597
38598 INET_LINK=" -l$INET_LINK"
38599 fi
38600
38601 fi
38602
38603
38604
38605 EXTRALIBS_ESD=
38606 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38607 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38608 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38609 echo $ECHO_N "(cached) $ECHO_C" >&6
38610 else
38611 ac_check_lib_save_LIBS=$LIBS
38612 LIBS="-lesd $LIBS"
38613 cat >conftest.$ac_ext <<_ACEOF
38614 /* confdefs.h. */
38615 _ACEOF
38616 cat confdefs.h >>conftest.$ac_ext
38617 cat >>conftest.$ac_ext <<_ACEOF
38618 /* end confdefs.h. */
38619
38620 /* Override any gcc2 internal prototype to avoid an error. */
38621 #ifdef __cplusplus
38622 extern "C"
38623 #endif
38624 /* We use char because int might match the return type of a gcc2
38625 builtin and then its argument prototype would still apply. */
38626 char esd_close ();
38627 int
38628 main ()
38629 {
38630 esd_close ();
38631 ;
38632 return 0;
38633 }
38634 _ACEOF
38635 rm -f conftest.$ac_objext conftest$ac_exeext
38636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38637 (eval $ac_link) 2>conftest.er1
38638 ac_status=$?
38639 grep -v '^ *+' conftest.er1 >conftest.err
38640 rm -f conftest.er1
38641 cat conftest.err >&5
38642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38643 (exit $ac_status); } &&
38644 { ac_try='test -z "$ac_cxx_werror_flag"
38645 || test ! -s conftest.err'
38646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38647 (eval $ac_try) 2>&5
38648 ac_status=$?
38649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38650 (exit $ac_status); }; } &&
38651 { ac_try='test -s conftest$ac_exeext'
38652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38653 (eval $ac_try) 2>&5
38654 ac_status=$?
38655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38656 (exit $ac_status); }; }; then
38657 ac_cv_lib_esd_esd_close=yes
38658 else
38659 echo "$as_me: failed program was:" >&5
38660 sed 's/^/| /' conftest.$ac_ext >&5
38661
38662 ac_cv_lib_esd_esd_close=no
38663 fi
38664 rm -f conftest.err conftest.$ac_objext \
38665 conftest$ac_exeext conftest.$ac_ext
38666 LIBS=$ac_check_lib_save_LIBS
38667 fi
38668 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38669 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38670 if test $ac_cv_lib_esd_esd_close = yes; then
38671
38672
38673 for ac_header in esd.h
38674 do
38675 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38677 echo "$as_me:$LINENO: checking for $ac_header" >&5
38678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38680 echo $ECHO_N "(cached) $ECHO_C" >&6
38681 fi
38682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38684 else
38685 # Is the header compilable?
38686 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38688 cat >conftest.$ac_ext <<_ACEOF
38689 /* confdefs.h. */
38690 _ACEOF
38691 cat confdefs.h >>conftest.$ac_ext
38692 cat >>conftest.$ac_ext <<_ACEOF
38693 /* end confdefs.h. */
38694 $ac_includes_default
38695 #include <$ac_header>
38696 _ACEOF
38697 rm -f conftest.$ac_objext
38698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38699 (eval $ac_compile) 2>conftest.er1
38700 ac_status=$?
38701 grep -v '^ *+' conftest.er1 >conftest.err
38702 rm -f conftest.er1
38703 cat conftest.err >&5
38704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38705 (exit $ac_status); } &&
38706 { ac_try='test -z "$ac_cxx_werror_flag"
38707 || test ! -s conftest.err'
38708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38709 (eval $ac_try) 2>&5
38710 ac_status=$?
38711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38712 (exit $ac_status); }; } &&
38713 { ac_try='test -s conftest.$ac_objext'
38714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38715 (eval $ac_try) 2>&5
38716 ac_status=$?
38717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38718 (exit $ac_status); }; }; then
38719 ac_header_compiler=yes
38720 else
38721 echo "$as_me: failed program was:" >&5
38722 sed 's/^/| /' conftest.$ac_ext >&5
38723
38724 ac_header_compiler=no
38725 fi
38726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38727 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38728 echo "${ECHO_T}$ac_header_compiler" >&6
38729
38730 # Is the header present?
38731 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38732 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38733 cat >conftest.$ac_ext <<_ACEOF
38734 /* confdefs.h. */
38735 _ACEOF
38736 cat confdefs.h >>conftest.$ac_ext
38737 cat >>conftest.$ac_ext <<_ACEOF
38738 /* end confdefs.h. */
38739 #include <$ac_header>
38740 _ACEOF
38741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38742 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38743 ac_status=$?
38744 grep -v '^ *+' conftest.er1 >conftest.err
38745 rm -f conftest.er1
38746 cat conftest.err >&5
38747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38748 (exit $ac_status); } >/dev/null; then
38749 if test -s conftest.err; then
38750 ac_cpp_err=$ac_cxx_preproc_warn_flag
38751 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38752 else
38753 ac_cpp_err=
38754 fi
38755 else
38756 ac_cpp_err=yes
38757 fi
38758 if test -z "$ac_cpp_err"; then
38759 ac_header_preproc=yes
38760 else
38761 echo "$as_me: failed program was:" >&5
38762 sed 's/^/| /' conftest.$ac_ext >&5
38763
38764 ac_header_preproc=no
38765 fi
38766 rm -f conftest.err conftest.$ac_ext
38767 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38768 echo "${ECHO_T}$ac_header_preproc" >&6
38769
38770 # So? What about this header?
38771 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38772 yes:no: )
38773 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38774 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38775 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38776 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38777 ac_header_preproc=yes
38778 ;;
38779 no:yes:* )
38780 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38781 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38782 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38783 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38784 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38785 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38786 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38787 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38788 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38789 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38790 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38791 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38792 (
38793 cat <<\_ASBOX
38794 ## ----------------------------------------- ##
38795 ## Report this to wx-dev@lists.wxwidgets.org ##
38796 ## ----------------------------------------- ##
38797 _ASBOX
38798 ) |
38799 sed "s/^/$as_me: WARNING: /" >&2
38800 ;;
38801 esac
38802 echo "$as_me:$LINENO: checking for $ac_header" >&5
38803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38805 echo $ECHO_N "(cached) $ECHO_C" >&6
38806 else
38807 eval "$as_ac_Header=\$ac_header_preproc"
38808 fi
38809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38810 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38811
38812 fi
38813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38814 cat >>confdefs.h <<_ACEOF
38815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38816 _ACEOF
38817
38818 EXTRALIBS_ESD="-lesd"
38819
38820 fi
38821
38822 done
38823
38824
38825 fi
38826
38827
38828
38829 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38830 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38831 cat >conftest.$ac_ext <<_ACEOF
38832 /* confdefs.h. */
38833 _ACEOF
38834 cat confdefs.h >>conftest.$ac_ext
38835 cat >>conftest.$ac_ext <<_ACEOF
38836 /* end confdefs.h. */
38837 #ifdef __linux__
38838 #include <linux/cdrom.h>
38839 #else
38840 /* For Solaris */
38841 #include <sys/cdio.h>
38842 #endif
38843
38844 int
38845 main ()
38846 {
38847 struct cdrom_tocentry entry, old_entry;
38848 ;
38849 return 0;
38850 }
38851 _ACEOF
38852 rm -f conftest.$ac_objext
38853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38854 (eval $ac_compile) 2>conftest.er1
38855 ac_status=$?
38856 grep -v '^ *+' conftest.er1 >conftest.err
38857 rm -f conftest.er1
38858 cat conftest.err >&5
38859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38860 (exit $ac_status); } &&
38861 { ac_try='test -z "$ac_cxx_werror_flag"
38862 || test ! -s conftest.err'
38863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38864 (eval $ac_try) 2>&5
38865 ac_status=$?
38866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38867 (exit $ac_status); }; } &&
38868 { ac_try='test -s conftest.$ac_objext'
38869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38870 (eval $ac_try) 2>&5
38871 ac_status=$?
38872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38873 (exit $ac_status); }; }; then
38874 echo "$as_me:$LINENO: result: yes" >&5
38875 echo "${ECHO_T}yes" >&6
38876 cat >>confdefs.h <<\_ACEOF
38877 #define HAVE_KNOWN_CDROM_INTERFACE 1
38878 _ACEOF
38879
38880 else
38881 echo "$as_me: failed program was:" >&5
38882 sed 's/^/| /' conftest.$ac_ext >&5
38883
38884 echo "$as_me:$LINENO: result: no" >&5
38885 echo "${ECHO_T}no" >&6
38886 fi
38887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38888
38889
38890 cat >confcache <<\_ACEOF
38891 # This file is a shell script that caches the results of configure
38892 # tests run on this system so they can be shared between configure
38893 # scripts and configure runs, see configure's option --config-cache.
38894 # It is not useful on other systems. If it contains results you don't
38895 # want to keep, you may remove or edit it.
38896 #
38897 # config.status only pays attention to the cache file if you give it
38898 # the --recheck option to rerun configure.
38899 #
38900 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38901 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38902 # following values.
38903
38904 _ACEOF
38905
38906 # The following way of writing the cache mishandles newlines in values,
38907 # but we know of no workaround that is simple, portable, and efficient.
38908 # So, don't put newlines in cache variables' values.
38909 # Ultrix sh set writes to stderr and can't be redirected directly,
38910 # and sets the high bit in the cache file unless we assign to the vars.
38911 {
38912 (set) 2>&1 |
38913 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38914 *ac_space=\ *)
38915 # `set' does not quote correctly, so add quotes (double-quote
38916 # substitution turns \\\\ into \\, and sed turns \\ into \).
38917 sed -n \
38918 "s/'/'\\\\''/g;
38919 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38920 ;;
38921 *)
38922 # `set' quotes correctly as required by POSIX, so do not add quotes.
38923 sed -n \
38924 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38925 ;;
38926 esac;
38927 } |
38928 sed '
38929 t clear
38930 : clear
38931 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38932 t end
38933 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38934 : end' >>confcache
38935 if diff $cache_file confcache >/dev/null 2>&1; then :; else
38936 if test -w $cache_file; then
38937 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38938 cat confcache >$cache_file
38939 else
38940 echo "not updating unwritable cache $cache_file"
38941 fi
38942 fi
38943 rm -f confcache
38944
38945
38946 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38947
38948
38949 THREADS_LINK=
38950 THREADS_CXXFLAGS=
38951
38952 if test "$wxUSE_THREADS" = "yes" ; then
38953 if test "$USE_BEOS" = 1; then
38954 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38955 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38956 wxUSE_THREADS="no"
38957 fi
38958 fi
38959
38960 if test "$wxUSE_THREADS" = "yes" ; then
38961
38962
38963 THREAD_OPTS="-pthread"
38964 case "${host}" in
38965 *-*-solaris2* | *-*-sunos4* )
38966 if test "x$GCC" = "xyes"; then
38967 THREAD_OPTS="-pthreads $THREAD_OPTS"
38968 else
38969 THREAD_OPTS="-mt $THREAD_OPTS"
38970 fi
38971 ;;
38972 *-*-freebsd*)
38973 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38974 ;;
38975 *-*-darwin* | *-*-cygwin* )
38976 THREAD_OPTS=""
38977 ;;
38978 *-*-aix*)
38979 THREAD_OPTS="pthreads"
38980 ;;
38981 *-hp-hpux* )
38982 if test "x$GCC" = "xyes"; then
38983 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38984 THREAD_OPTS=""
38985 else
38986 THREAD_OPTS="-mt"
38987 fi
38988 ;;
38989
38990 *-*-irix* )
38991 if test "x$GCC" = "xyes"; then
38992 THREAD_OPTS=""
38993 fi
38994 ;;
38995
38996 *-*-*UnixWare*)
38997 if test "x$GCC" != "xyes"; then
38998 THREAD_OPTS="-Ethread"
38999 fi
39000 ;;
39001 esac
39002
39003 THREAD_OPTS="$THREAD_OPTS pthread none"
39004
39005 THREADS_OK=no
39006 for flag in $THREAD_OPTS; do
39007 case $flag in
39008 none)
39009 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39010 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39011 ;;
39012
39013 -*)
39014 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39015 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39016 THREADS_CXXFLAGS="$flag"
39017 ;;
39018
39019 *)
39020 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39021 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39022 THREADS_LINK="-l$flag"
39023 ;;
39024 esac
39025
39026 save_LIBS="$LIBS"
39027 save_CXXFLAGS="$CXXFLAGS"
39028 LIBS="$THREADS_LINK $LIBS"
39029 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
39030
39031 cat >conftest.$ac_ext <<_ACEOF
39032 /* confdefs.h. */
39033 _ACEOF
39034 cat confdefs.h >>conftest.$ac_ext
39035 cat >>conftest.$ac_ext <<_ACEOF
39036 /* end confdefs.h. */
39037 #include <pthread.h>
39038 int
39039 main ()
39040 {
39041 pthread_create(0,0,0,0);
39042 ;
39043 return 0;
39044 }
39045 _ACEOF
39046 rm -f conftest.$ac_objext conftest$ac_exeext
39047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39048 (eval $ac_link) 2>conftest.er1
39049 ac_status=$?
39050 grep -v '^ *+' conftest.er1 >conftest.err
39051 rm -f conftest.er1
39052 cat conftest.err >&5
39053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39054 (exit $ac_status); } &&
39055 { ac_try='test -z "$ac_cxx_werror_flag"
39056 || test ! -s conftest.err'
39057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39058 (eval $ac_try) 2>&5
39059 ac_status=$?
39060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39061 (exit $ac_status); }; } &&
39062 { ac_try='test -s conftest$ac_exeext'
39063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39064 (eval $ac_try) 2>&5
39065 ac_status=$?
39066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39067 (exit $ac_status); }; }; then
39068 THREADS_OK=yes
39069 else
39070 echo "$as_me: failed program was:" >&5
39071 sed 's/^/| /' conftest.$ac_ext >&5
39072
39073 fi
39074 rm -f conftest.err conftest.$ac_objext \
39075 conftest$ac_exeext conftest.$ac_ext
39076
39077 LIBS="$save_LIBS"
39078 CXXFLAGS="$save_CXXFLAGS"
39079
39080 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39081 echo "${ECHO_T}$THREADS_OK" >&6
39082 if test "x$THREADS_OK" = "xyes"; then
39083 break;
39084 fi
39085
39086 THREADS_LINK=""
39087 THREADS_CXXFLAGS=""
39088 done
39089
39090 if test "x$THREADS_OK" != "xyes"; then
39091 wxUSE_THREADS=no
39092 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39093 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39094 else
39095 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
39096 LIBS="$THREADS_LINK $LIBS"
39097
39098 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39099 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39100 flag=no
39101 case "${host}" in
39102 *-aix*)
39103 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39104 flag="-D_THREAD_SAFE"
39105 ;;
39106 *-freebsd*)
39107 flag="-D_THREAD_SAFE"
39108 ;;
39109 *-hp-hpux* )
39110 flag="-D_REENTRANT"
39111 if test "x$GCC" != "xyes"; then
39112 flag="$flag -D_RWSTD_MULTI_THREAD"
39113 fi
39114 ;;
39115 *solaris* | alpha*-osf*)
39116 flag="-D_REENTRANT"
39117 ;;
39118 esac
39119 echo "$as_me:$LINENO: result: ${flag}" >&5
39120 echo "${ECHO_T}${flag}" >&6
39121 if test "x$flag" != xno; then
39122 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
39123 fi
39124
39125 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39126 fi
39127 fi
39128
39129 if test "$wxUSE_THREADS" = "yes" ; then
39130
39131 for ac_func in thr_setconcurrency
39132 do
39133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39134 echo "$as_me:$LINENO: checking for $ac_func" >&5
39135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39136 if eval "test \"\${$as_ac_var+set}\" = set"; then
39137 echo $ECHO_N "(cached) $ECHO_C" >&6
39138 else
39139 cat >conftest.$ac_ext <<_ACEOF
39140 /* confdefs.h. */
39141 _ACEOF
39142 cat confdefs.h >>conftest.$ac_ext
39143 cat >>conftest.$ac_ext <<_ACEOF
39144 /* end confdefs.h. */
39145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39147 #define $ac_func innocuous_$ac_func
39148
39149 /* System header to define __stub macros and hopefully few prototypes,
39150 which can conflict with char $ac_func (); below.
39151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39152 <limits.h> exists even on freestanding compilers. */
39153
39154 #ifdef __STDC__
39155 # include <limits.h>
39156 #else
39157 # include <assert.h>
39158 #endif
39159
39160 #undef $ac_func
39161
39162 /* Override any gcc2 internal prototype to avoid an error. */
39163 #ifdef __cplusplus
39164 extern "C"
39165 {
39166 #endif
39167 /* We use char because int might match the return type of a gcc2
39168 builtin and then its argument prototype would still apply. */
39169 char $ac_func ();
39170 /* The GNU C library defines this for functions which it implements
39171 to always fail with ENOSYS. Some functions are actually named
39172 something starting with __ and the normal name is an alias. */
39173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39174 choke me
39175 #else
39176 char (*f) () = $ac_func;
39177 #endif
39178 #ifdef __cplusplus
39179 }
39180 #endif
39181
39182 int
39183 main ()
39184 {
39185 return f != $ac_func;
39186 ;
39187 return 0;
39188 }
39189 _ACEOF
39190 rm -f conftest.$ac_objext conftest$ac_exeext
39191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39192 (eval $ac_link) 2>conftest.er1
39193 ac_status=$?
39194 grep -v '^ *+' conftest.er1 >conftest.err
39195 rm -f conftest.er1
39196 cat conftest.err >&5
39197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39198 (exit $ac_status); } &&
39199 { ac_try='test -z "$ac_cxx_werror_flag"
39200 || test ! -s conftest.err'
39201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39202 (eval $ac_try) 2>&5
39203 ac_status=$?
39204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39205 (exit $ac_status); }; } &&
39206 { ac_try='test -s conftest$ac_exeext'
39207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39208 (eval $ac_try) 2>&5
39209 ac_status=$?
39210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39211 (exit $ac_status); }; }; then
39212 eval "$as_ac_var=yes"
39213 else
39214 echo "$as_me: failed program was:" >&5
39215 sed 's/^/| /' conftest.$ac_ext >&5
39216
39217 eval "$as_ac_var=no"
39218 fi
39219 rm -f conftest.err conftest.$ac_objext \
39220 conftest$ac_exeext conftest.$ac_ext
39221 fi
39222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39224 if test `eval echo '${'$as_ac_var'}'` = yes; then
39225 cat >>confdefs.h <<_ACEOF
39226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39227 _ACEOF
39228
39229 fi
39230 done
39231
39232
39233 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39234 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39235 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39236 echo $ECHO_N "(cached) $ECHO_C" >&6
39237 else
39238
39239 cat >conftest.$ac_ext <<_ACEOF
39240 /* confdefs.h. */
39241 _ACEOF
39242 cat confdefs.h >>conftest.$ac_ext
39243 cat >>conftest.$ac_ext <<_ACEOF
39244 /* end confdefs.h. */
39245 #include <pthread.h>
39246 void ThreadCleanupFunc(void *p);
39247
39248 int
39249 main ()
39250 {
39251
39252 void *p;
39253 pthread_cleanup_push(ThreadCleanupFunc, p);
39254 pthread_cleanup_pop(0);
39255
39256 ;
39257 return 0;
39258 }
39259 _ACEOF
39260 rm -f conftest.$ac_objext
39261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39262 (eval $ac_compile) 2>conftest.er1
39263 ac_status=$?
39264 grep -v '^ *+' conftest.er1 >conftest.err
39265 rm -f conftest.er1
39266 cat conftest.err >&5
39267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39268 (exit $ac_status); } &&
39269 { ac_try='test -z "$ac_cxx_werror_flag"
39270 || test ! -s conftest.err'
39271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39272 (eval $ac_try) 2>&5
39273 ac_status=$?
39274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39275 (exit $ac_status); }; } &&
39276 { ac_try='test -s conftest.$ac_objext'
39277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39278 (eval $ac_try) 2>&5
39279 ac_status=$?
39280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39281 (exit $ac_status); }; }; then
39282
39283 wx_cv_func_pthread_cleanup=yes
39284
39285 else
39286 echo "$as_me: failed program was:" >&5
39287 sed 's/^/| /' conftest.$ac_ext >&5
39288
39289
39290 wx_cv_func_pthread_cleanup=no
39291
39292
39293 fi
39294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39295
39296 fi
39297 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39298 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39299 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39300 cat >>confdefs.h <<\_ACEOF
39301 #define wxHAVE_PTHREAD_CLEANUP 1
39302 _ACEOF
39303
39304 fi
39305
39306
39307 for ac_header in sched.h
39308 do
39309 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39311 echo "$as_me:$LINENO: checking for $ac_header" >&5
39312 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39313 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39314 echo $ECHO_N "(cached) $ECHO_C" >&6
39315 fi
39316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39317 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39318 else
39319 # Is the header compilable?
39320 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39321 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39322 cat >conftest.$ac_ext <<_ACEOF
39323 /* confdefs.h. */
39324 _ACEOF
39325 cat confdefs.h >>conftest.$ac_ext
39326 cat >>conftest.$ac_ext <<_ACEOF
39327 /* end confdefs.h. */
39328 $ac_includes_default
39329 #include <$ac_header>
39330 _ACEOF
39331 rm -f conftest.$ac_objext
39332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39333 (eval $ac_compile) 2>conftest.er1
39334 ac_status=$?
39335 grep -v '^ *+' conftest.er1 >conftest.err
39336 rm -f conftest.er1
39337 cat conftest.err >&5
39338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39339 (exit $ac_status); } &&
39340 { ac_try='test -z "$ac_cxx_werror_flag"
39341 || test ! -s conftest.err'
39342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39343 (eval $ac_try) 2>&5
39344 ac_status=$?
39345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39346 (exit $ac_status); }; } &&
39347 { ac_try='test -s conftest.$ac_objext'
39348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39349 (eval $ac_try) 2>&5
39350 ac_status=$?
39351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39352 (exit $ac_status); }; }; then
39353 ac_header_compiler=yes
39354 else
39355 echo "$as_me: failed program was:" >&5
39356 sed 's/^/| /' conftest.$ac_ext >&5
39357
39358 ac_header_compiler=no
39359 fi
39360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39361 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39362 echo "${ECHO_T}$ac_header_compiler" >&6
39363
39364 # Is the header present?
39365 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39366 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39367 cat >conftest.$ac_ext <<_ACEOF
39368 /* confdefs.h. */
39369 _ACEOF
39370 cat confdefs.h >>conftest.$ac_ext
39371 cat >>conftest.$ac_ext <<_ACEOF
39372 /* end confdefs.h. */
39373 #include <$ac_header>
39374 _ACEOF
39375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39376 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39377 ac_status=$?
39378 grep -v '^ *+' conftest.er1 >conftest.err
39379 rm -f conftest.er1
39380 cat conftest.err >&5
39381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39382 (exit $ac_status); } >/dev/null; then
39383 if test -s conftest.err; then
39384 ac_cpp_err=$ac_cxx_preproc_warn_flag
39385 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39386 else
39387 ac_cpp_err=
39388 fi
39389 else
39390 ac_cpp_err=yes
39391 fi
39392 if test -z "$ac_cpp_err"; then
39393 ac_header_preproc=yes
39394 else
39395 echo "$as_me: failed program was:" >&5
39396 sed 's/^/| /' conftest.$ac_ext >&5
39397
39398 ac_header_preproc=no
39399 fi
39400 rm -f conftest.err conftest.$ac_ext
39401 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39402 echo "${ECHO_T}$ac_header_preproc" >&6
39403
39404 # So? What about this header?
39405 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39406 yes:no: )
39407 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39408 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39410 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39411 ac_header_preproc=yes
39412 ;;
39413 no:yes:* )
39414 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39415 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39416 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39417 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39418 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39419 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39420 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39421 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39423 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39424 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39425 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39426 (
39427 cat <<\_ASBOX
39428 ## ----------------------------------------- ##
39429 ## Report this to wx-dev@lists.wxwidgets.org ##
39430 ## ----------------------------------------- ##
39431 _ASBOX
39432 ) |
39433 sed "s/^/$as_me: WARNING: /" >&2
39434 ;;
39435 esac
39436 echo "$as_me:$LINENO: checking for $ac_header" >&5
39437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39438 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39439 echo $ECHO_N "(cached) $ECHO_C" >&6
39440 else
39441 eval "$as_ac_Header=\$ac_header_preproc"
39442 fi
39443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39444 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39445
39446 fi
39447 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39448 cat >>confdefs.h <<_ACEOF
39449 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39450 _ACEOF
39451
39452 fi
39453
39454 done
39455
39456 if test "$ac_cv_header_sched_h" = "yes"; then
39457 echo "$as_me:$LINENO: checking for sched_yield" >&5
39458 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39459 if test "${ac_cv_func_sched_yield+set}" = set; then
39460 echo $ECHO_N "(cached) $ECHO_C" >&6
39461 else
39462 cat >conftest.$ac_ext <<_ACEOF
39463 /* confdefs.h. */
39464 _ACEOF
39465 cat confdefs.h >>conftest.$ac_ext
39466 cat >>conftest.$ac_ext <<_ACEOF
39467 /* end confdefs.h. */
39468 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39470 #define sched_yield innocuous_sched_yield
39471
39472 /* System header to define __stub macros and hopefully few prototypes,
39473 which can conflict with char sched_yield (); below.
39474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39475 <limits.h> exists even on freestanding compilers. */
39476
39477 #ifdef __STDC__
39478 # include <limits.h>
39479 #else
39480 # include <assert.h>
39481 #endif
39482
39483 #undef sched_yield
39484
39485 /* Override any gcc2 internal prototype to avoid an error. */
39486 #ifdef __cplusplus
39487 extern "C"
39488 {
39489 #endif
39490 /* We use char because int might match the return type of a gcc2
39491 builtin and then its argument prototype would still apply. */
39492 char sched_yield ();
39493 /* The GNU C library defines this for functions which it implements
39494 to always fail with ENOSYS. Some functions are actually named
39495 something starting with __ and the normal name is an alias. */
39496 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39497 choke me
39498 #else
39499 char (*f) () = sched_yield;
39500 #endif
39501 #ifdef __cplusplus
39502 }
39503 #endif
39504
39505 int
39506 main ()
39507 {
39508 return f != sched_yield;
39509 ;
39510 return 0;
39511 }
39512 _ACEOF
39513 rm -f conftest.$ac_objext conftest$ac_exeext
39514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39515 (eval $ac_link) 2>conftest.er1
39516 ac_status=$?
39517 grep -v '^ *+' conftest.er1 >conftest.err
39518 rm -f conftest.er1
39519 cat conftest.err >&5
39520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39521 (exit $ac_status); } &&
39522 { ac_try='test -z "$ac_cxx_werror_flag"
39523 || test ! -s conftest.err'
39524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39525 (eval $ac_try) 2>&5
39526 ac_status=$?
39527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39528 (exit $ac_status); }; } &&
39529 { ac_try='test -s conftest$ac_exeext'
39530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39531 (eval $ac_try) 2>&5
39532 ac_status=$?
39533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39534 (exit $ac_status); }; }; then
39535 ac_cv_func_sched_yield=yes
39536 else
39537 echo "$as_me: failed program was:" >&5
39538 sed 's/^/| /' conftest.$ac_ext >&5
39539
39540 ac_cv_func_sched_yield=no
39541 fi
39542 rm -f conftest.err conftest.$ac_objext \
39543 conftest$ac_exeext conftest.$ac_ext
39544 fi
39545 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39546 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39547 if test $ac_cv_func_sched_yield = yes; then
39548 cat >>confdefs.h <<\_ACEOF
39549 #define HAVE_SCHED_YIELD 1
39550 _ACEOF
39551
39552 else
39553
39554 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39555 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39556 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39557 echo $ECHO_N "(cached) $ECHO_C" >&6
39558 else
39559 ac_check_lib_save_LIBS=$LIBS
39560 LIBS="-lposix4 $LIBS"
39561 cat >conftest.$ac_ext <<_ACEOF
39562 /* confdefs.h. */
39563 _ACEOF
39564 cat confdefs.h >>conftest.$ac_ext
39565 cat >>conftest.$ac_ext <<_ACEOF
39566 /* end confdefs.h. */
39567
39568 /* Override any gcc2 internal prototype to avoid an error. */
39569 #ifdef __cplusplus
39570 extern "C"
39571 #endif
39572 /* We use char because int might match the return type of a gcc2
39573 builtin and then its argument prototype would still apply. */
39574 char sched_yield ();
39575 int
39576 main ()
39577 {
39578 sched_yield ();
39579 ;
39580 return 0;
39581 }
39582 _ACEOF
39583 rm -f conftest.$ac_objext conftest$ac_exeext
39584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39585 (eval $ac_link) 2>conftest.er1
39586 ac_status=$?
39587 grep -v '^ *+' conftest.er1 >conftest.err
39588 rm -f conftest.er1
39589 cat conftest.err >&5
39590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39591 (exit $ac_status); } &&
39592 { ac_try='test -z "$ac_cxx_werror_flag"
39593 || test ! -s conftest.err'
39594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39595 (eval $ac_try) 2>&5
39596 ac_status=$?
39597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39598 (exit $ac_status); }; } &&
39599 { ac_try='test -s conftest$ac_exeext'
39600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39601 (eval $ac_try) 2>&5
39602 ac_status=$?
39603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39604 (exit $ac_status); }; }; then
39605 ac_cv_lib_posix4_sched_yield=yes
39606 else
39607 echo "$as_me: failed program was:" >&5
39608 sed 's/^/| /' conftest.$ac_ext >&5
39609
39610 ac_cv_lib_posix4_sched_yield=no
39611 fi
39612 rm -f conftest.err conftest.$ac_objext \
39613 conftest$ac_exeext conftest.$ac_ext
39614 LIBS=$ac_check_lib_save_LIBS
39615 fi
39616 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39617 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39618 if test $ac_cv_lib_posix4_sched_yield = yes; then
39619 cat >>confdefs.h <<\_ACEOF
39620 #define HAVE_SCHED_YIELD 1
39621 _ACEOF
39622 POSIX4_LINK=" -lposix4"
39623 else
39624 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39625 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39626
39627 fi
39628
39629
39630
39631 fi
39632
39633 fi
39634
39635 HAVE_PRIOR_FUNCS=0
39636 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39637 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39638 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39639 echo $ECHO_N "(cached) $ECHO_C" >&6
39640 else
39641 cat >conftest.$ac_ext <<_ACEOF
39642 /* confdefs.h. */
39643 _ACEOF
39644 cat confdefs.h >>conftest.$ac_ext
39645 cat >>conftest.$ac_ext <<_ACEOF
39646 /* end confdefs.h. */
39647 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39649 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39650
39651 /* System header to define __stub macros and hopefully few prototypes,
39652 which can conflict with char pthread_attr_getschedpolicy (); below.
39653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39654 <limits.h> exists even on freestanding compilers. */
39655
39656 #ifdef __STDC__
39657 # include <limits.h>
39658 #else
39659 # include <assert.h>
39660 #endif
39661
39662 #undef pthread_attr_getschedpolicy
39663
39664 /* Override any gcc2 internal prototype to avoid an error. */
39665 #ifdef __cplusplus
39666 extern "C"
39667 {
39668 #endif
39669 /* We use char because int might match the return type of a gcc2
39670 builtin and then its argument prototype would still apply. */
39671 char pthread_attr_getschedpolicy ();
39672 /* The GNU C library defines this for functions which it implements
39673 to always fail with ENOSYS. Some functions are actually named
39674 something starting with __ and the normal name is an alias. */
39675 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39676 choke me
39677 #else
39678 char (*f) () = pthread_attr_getschedpolicy;
39679 #endif
39680 #ifdef __cplusplus
39681 }
39682 #endif
39683
39684 int
39685 main ()
39686 {
39687 return f != pthread_attr_getschedpolicy;
39688 ;
39689 return 0;
39690 }
39691 _ACEOF
39692 rm -f conftest.$ac_objext conftest$ac_exeext
39693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39694 (eval $ac_link) 2>conftest.er1
39695 ac_status=$?
39696 grep -v '^ *+' conftest.er1 >conftest.err
39697 rm -f conftest.er1
39698 cat conftest.err >&5
39699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39700 (exit $ac_status); } &&
39701 { ac_try='test -z "$ac_cxx_werror_flag"
39702 || test ! -s conftest.err'
39703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39704 (eval $ac_try) 2>&5
39705 ac_status=$?
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); }; } &&
39708 { ac_try='test -s conftest$ac_exeext'
39709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39710 (eval $ac_try) 2>&5
39711 ac_status=$?
39712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39713 (exit $ac_status); }; }; then
39714 ac_cv_func_pthread_attr_getschedpolicy=yes
39715 else
39716 echo "$as_me: failed program was:" >&5
39717 sed 's/^/| /' conftest.$ac_ext >&5
39718
39719 ac_cv_func_pthread_attr_getschedpolicy=no
39720 fi
39721 rm -f conftest.err conftest.$ac_objext \
39722 conftest$ac_exeext conftest.$ac_ext
39723 fi
39724 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39725 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39726 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39727 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39728 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39729 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39730 echo $ECHO_N "(cached) $ECHO_C" >&6
39731 else
39732 cat >conftest.$ac_ext <<_ACEOF
39733 /* confdefs.h. */
39734 _ACEOF
39735 cat confdefs.h >>conftest.$ac_ext
39736 cat >>conftest.$ac_ext <<_ACEOF
39737 /* end confdefs.h. */
39738 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39740 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39741
39742 /* System header to define __stub macros and hopefully few prototypes,
39743 which can conflict with char pthread_attr_setschedparam (); below.
39744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39745 <limits.h> exists even on freestanding compilers. */
39746
39747 #ifdef __STDC__
39748 # include <limits.h>
39749 #else
39750 # include <assert.h>
39751 #endif
39752
39753 #undef pthread_attr_setschedparam
39754
39755 /* Override any gcc2 internal prototype to avoid an error. */
39756 #ifdef __cplusplus
39757 extern "C"
39758 {
39759 #endif
39760 /* We use char because int might match the return type of a gcc2
39761 builtin and then its argument prototype would still apply. */
39762 char pthread_attr_setschedparam ();
39763 /* The GNU C library defines this for functions which it implements
39764 to always fail with ENOSYS. Some functions are actually named
39765 something starting with __ and the normal name is an alias. */
39766 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39767 choke me
39768 #else
39769 char (*f) () = pthread_attr_setschedparam;
39770 #endif
39771 #ifdef __cplusplus
39772 }
39773 #endif
39774
39775 int
39776 main ()
39777 {
39778 return f != pthread_attr_setschedparam;
39779 ;
39780 return 0;
39781 }
39782 _ACEOF
39783 rm -f conftest.$ac_objext conftest$ac_exeext
39784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39785 (eval $ac_link) 2>conftest.er1
39786 ac_status=$?
39787 grep -v '^ *+' conftest.er1 >conftest.err
39788 rm -f conftest.er1
39789 cat conftest.err >&5
39790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39791 (exit $ac_status); } &&
39792 { ac_try='test -z "$ac_cxx_werror_flag"
39793 || test ! -s conftest.err'
39794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39795 (eval $ac_try) 2>&5
39796 ac_status=$?
39797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39798 (exit $ac_status); }; } &&
39799 { ac_try='test -s conftest$ac_exeext'
39800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39801 (eval $ac_try) 2>&5
39802 ac_status=$?
39803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804 (exit $ac_status); }; }; then
39805 ac_cv_func_pthread_attr_setschedparam=yes
39806 else
39807 echo "$as_me: failed program was:" >&5
39808 sed 's/^/| /' conftest.$ac_ext >&5
39809
39810 ac_cv_func_pthread_attr_setschedparam=no
39811 fi
39812 rm -f conftest.err conftest.$ac_objext \
39813 conftest$ac_exeext conftest.$ac_ext
39814 fi
39815 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39816 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39817 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39818 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39819 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39820 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39821 echo $ECHO_N "(cached) $ECHO_C" >&6
39822 else
39823 cat >conftest.$ac_ext <<_ACEOF
39824 /* confdefs.h. */
39825 _ACEOF
39826 cat confdefs.h >>conftest.$ac_ext
39827 cat >>conftest.$ac_ext <<_ACEOF
39828 /* end confdefs.h. */
39829 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39831 #define sched_get_priority_max innocuous_sched_get_priority_max
39832
39833 /* System header to define __stub macros and hopefully few prototypes,
39834 which can conflict with char sched_get_priority_max (); below.
39835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39836 <limits.h> exists even on freestanding compilers. */
39837
39838 #ifdef __STDC__
39839 # include <limits.h>
39840 #else
39841 # include <assert.h>
39842 #endif
39843
39844 #undef sched_get_priority_max
39845
39846 /* Override any gcc2 internal prototype to avoid an error. */
39847 #ifdef __cplusplus
39848 extern "C"
39849 {
39850 #endif
39851 /* We use char because int might match the return type of a gcc2
39852 builtin and then its argument prototype would still apply. */
39853 char sched_get_priority_max ();
39854 /* The GNU C library defines this for functions which it implements
39855 to always fail with ENOSYS. Some functions are actually named
39856 something starting with __ and the normal name is an alias. */
39857 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39858 choke me
39859 #else
39860 char (*f) () = sched_get_priority_max;
39861 #endif
39862 #ifdef __cplusplus
39863 }
39864 #endif
39865
39866 int
39867 main ()
39868 {
39869 return f != sched_get_priority_max;
39870 ;
39871 return 0;
39872 }
39873 _ACEOF
39874 rm -f conftest.$ac_objext conftest$ac_exeext
39875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39876 (eval $ac_link) 2>conftest.er1
39877 ac_status=$?
39878 grep -v '^ *+' conftest.er1 >conftest.err
39879 rm -f conftest.er1
39880 cat conftest.err >&5
39881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39882 (exit $ac_status); } &&
39883 { ac_try='test -z "$ac_cxx_werror_flag"
39884 || test ! -s conftest.err'
39885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39886 (eval $ac_try) 2>&5
39887 ac_status=$?
39888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39889 (exit $ac_status); }; } &&
39890 { ac_try='test -s conftest$ac_exeext'
39891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39892 (eval $ac_try) 2>&5
39893 ac_status=$?
39894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39895 (exit $ac_status); }; }; then
39896 ac_cv_func_sched_get_priority_max=yes
39897 else
39898 echo "$as_me: failed program was:" >&5
39899 sed 's/^/| /' conftest.$ac_ext >&5
39900
39901 ac_cv_func_sched_get_priority_max=no
39902 fi
39903 rm -f conftest.err conftest.$ac_objext \
39904 conftest$ac_exeext conftest.$ac_ext
39905 fi
39906 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39907 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39908 if test $ac_cv_func_sched_get_priority_max = yes; then
39909 HAVE_PRIOR_FUNCS=1
39910 else
39911 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39912 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39913 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39914 echo $ECHO_N "(cached) $ECHO_C" >&6
39915 else
39916 ac_check_lib_save_LIBS=$LIBS
39917 LIBS="-lposix4 $LIBS"
39918 cat >conftest.$ac_ext <<_ACEOF
39919 /* confdefs.h. */
39920 _ACEOF
39921 cat confdefs.h >>conftest.$ac_ext
39922 cat >>conftest.$ac_ext <<_ACEOF
39923 /* end confdefs.h. */
39924
39925 /* Override any gcc2 internal prototype to avoid an error. */
39926 #ifdef __cplusplus
39927 extern "C"
39928 #endif
39929 /* We use char because int might match the return type of a gcc2
39930 builtin and then its argument prototype would still apply. */
39931 char sched_get_priority_max ();
39932 int
39933 main ()
39934 {
39935 sched_get_priority_max ();
39936 ;
39937 return 0;
39938 }
39939 _ACEOF
39940 rm -f conftest.$ac_objext conftest$ac_exeext
39941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39942 (eval $ac_link) 2>conftest.er1
39943 ac_status=$?
39944 grep -v '^ *+' conftest.er1 >conftest.err
39945 rm -f conftest.er1
39946 cat conftest.err >&5
39947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39948 (exit $ac_status); } &&
39949 { ac_try='test -z "$ac_cxx_werror_flag"
39950 || test ! -s conftest.err'
39951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39952 (eval $ac_try) 2>&5
39953 ac_status=$?
39954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39955 (exit $ac_status); }; } &&
39956 { ac_try='test -s conftest$ac_exeext'
39957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39958 (eval $ac_try) 2>&5
39959 ac_status=$?
39960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39961 (exit $ac_status); }; }; then
39962 ac_cv_lib_posix4_sched_get_priority_max=yes
39963 else
39964 echo "$as_me: failed program was:" >&5
39965 sed 's/^/| /' conftest.$ac_ext >&5
39966
39967 ac_cv_lib_posix4_sched_get_priority_max=no
39968 fi
39969 rm -f conftest.err conftest.$ac_objext \
39970 conftest$ac_exeext conftest.$ac_ext
39971 LIBS=$ac_check_lib_save_LIBS
39972 fi
39973 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39974 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39975 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39976
39977 HAVE_PRIOR_FUNCS=1
39978 POSIX4_LINK=" -lposix4"
39979
39980 fi
39981
39982
39983 fi
39984
39985
39986 fi
39987
39988
39989 fi
39990
39991
39992 if test "$HAVE_PRIOR_FUNCS" = 1; then
39993 cat >>confdefs.h <<\_ACEOF
39994 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39995 _ACEOF
39996
39997 else
39998 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39999 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40000 fi
40001
40002 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40003 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40004 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40005 echo $ECHO_N "(cached) $ECHO_C" >&6
40006 else
40007 cat >conftest.$ac_ext <<_ACEOF
40008 /* confdefs.h. */
40009 _ACEOF
40010 cat confdefs.h >>conftest.$ac_ext
40011 cat >>conftest.$ac_ext <<_ACEOF
40012 /* end confdefs.h. */
40013 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40015 #define pthread_cancel innocuous_pthread_cancel
40016
40017 /* System header to define __stub macros and hopefully few prototypes,
40018 which can conflict with char pthread_cancel (); below.
40019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40020 <limits.h> exists even on freestanding compilers. */
40021
40022 #ifdef __STDC__
40023 # include <limits.h>
40024 #else
40025 # include <assert.h>
40026 #endif
40027
40028 #undef pthread_cancel
40029
40030 /* Override any gcc2 internal prototype to avoid an error. */
40031 #ifdef __cplusplus
40032 extern "C"
40033 {
40034 #endif
40035 /* We use char because int might match the return type of a gcc2
40036 builtin and then its argument prototype would still apply. */
40037 char pthread_cancel ();
40038 /* The GNU C library defines this for functions which it implements
40039 to always fail with ENOSYS. Some functions are actually named
40040 something starting with __ and the normal name is an alias. */
40041 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40042 choke me
40043 #else
40044 char (*f) () = pthread_cancel;
40045 #endif
40046 #ifdef __cplusplus
40047 }
40048 #endif
40049
40050 int
40051 main ()
40052 {
40053 return f != pthread_cancel;
40054 ;
40055 return 0;
40056 }
40057 _ACEOF
40058 rm -f conftest.$ac_objext conftest$ac_exeext
40059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40060 (eval $ac_link) 2>conftest.er1
40061 ac_status=$?
40062 grep -v '^ *+' conftest.er1 >conftest.err
40063 rm -f conftest.er1
40064 cat conftest.err >&5
40065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40066 (exit $ac_status); } &&
40067 { ac_try='test -z "$ac_cxx_werror_flag"
40068 || test ! -s conftest.err'
40069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40070 (eval $ac_try) 2>&5
40071 ac_status=$?
40072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40073 (exit $ac_status); }; } &&
40074 { ac_try='test -s conftest$ac_exeext'
40075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40076 (eval $ac_try) 2>&5
40077 ac_status=$?
40078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40079 (exit $ac_status); }; }; then
40080 ac_cv_func_pthread_cancel=yes
40081 else
40082 echo "$as_me: failed program was:" >&5
40083 sed 's/^/| /' conftest.$ac_ext >&5
40084
40085 ac_cv_func_pthread_cancel=no
40086 fi
40087 rm -f conftest.err conftest.$ac_objext \
40088 conftest$ac_exeext conftest.$ac_ext
40089 fi
40090 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40091 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40092 if test $ac_cv_func_pthread_cancel = yes; then
40093 cat >>confdefs.h <<\_ACEOF
40094 #define HAVE_PTHREAD_CANCEL 1
40095 _ACEOF
40096
40097 else
40098 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40099 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40100 fi
40101
40102
40103 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40104 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40105 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40106 echo $ECHO_N "(cached) $ECHO_C" >&6
40107 else
40108 cat >conftest.$ac_ext <<_ACEOF
40109 /* confdefs.h. */
40110 _ACEOF
40111 cat confdefs.h >>conftest.$ac_ext
40112 cat >>conftest.$ac_ext <<_ACEOF
40113 /* end confdefs.h. */
40114 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40116 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40117
40118 /* System header to define __stub macros and hopefully few prototypes,
40119 which can conflict with char pthread_attr_setstacksize (); below.
40120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40121 <limits.h> exists even on freestanding compilers. */
40122
40123 #ifdef __STDC__
40124 # include <limits.h>
40125 #else
40126 # include <assert.h>
40127 #endif
40128
40129 #undef pthread_attr_setstacksize
40130
40131 /* Override any gcc2 internal prototype to avoid an error. */
40132 #ifdef __cplusplus
40133 extern "C"
40134 {
40135 #endif
40136 /* We use char because int might match the return type of a gcc2
40137 builtin and then its argument prototype would still apply. */
40138 char pthread_attr_setstacksize ();
40139 /* The GNU C library defines this for functions which it implements
40140 to always fail with ENOSYS. Some functions are actually named
40141 something starting with __ and the normal name is an alias. */
40142 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40143 choke me
40144 #else
40145 char (*f) () = pthread_attr_setstacksize;
40146 #endif
40147 #ifdef __cplusplus
40148 }
40149 #endif
40150
40151 int
40152 main ()
40153 {
40154 return f != pthread_attr_setstacksize;
40155 ;
40156 return 0;
40157 }
40158 _ACEOF
40159 rm -f conftest.$ac_objext conftest$ac_exeext
40160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40161 (eval $ac_link) 2>conftest.er1
40162 ac_status=$?
40163 grep -v '^ *+' conftest.er1 >conftest.err
40164 rm -f conftest.er1
40165 cat conftest.err >&5
40166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40167 (exit $ac_status); } &&
40168 { ac_try='test -z "$ac_cxx_werror_flag"
40169 || test ! -s conftest.err'
40170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40171 (eval $ac_try) 2>&5
40172 ac_status=$?
40173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40174 (exit $ac_status); }; } &&
40175 { ac_try='test -s conftest$ac_exeext'
40176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40177 (eval $ac_try) 2>&5
40178 ac_status=$?
40179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40180 (exit $ac_status); }; }; then
40181 ac_cv_func_pthread_attr_setstacksize=yes
40182 else
40183 echo "$as_me: failed program was:" >&5
40184 sed 's/^/| /' conftest.$ac_ext >&5
40185
40186 ac_cv_func_pthread_attr_setstacksize=no
40187 fi
40188 rm -f conftest.err conftest.$ac_objext \
40189 conftest$ac_exeext conftest.$ac_ext
40190 fi
40191 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40192 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40193 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40194 cat >>confdefs.h <<\_ACEOF
40195 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40196 _ACEOF
40197
40198 fi
40199
40200
40201
40202 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40203 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40204 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40205 echo $ECHO_N "(cached) $ECHO_C" >&6
40206 else
40207
40208 cat >conftest.$ac_ext <<_ACEOF
40209 /* confdefs.h. */
40210 _ACEOF
40211 cat confdefs.h >>conftest.$ac_ext
40212 cat >>conftest.$ac_ext <<_ACEOF
40213 /* end confdefs.h. */
40214 #include <pthread.h>
40215 int
40216 main ()
40217 {
40218
40219 pthread_mutexattr_t attr;
40220 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40221
40222 ;
40223 return 0;
40224 }
40225 _ACEOF
40226 rm -f conftest.$ac_objext
40227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40228 (eval $ac_compile) 2>conftest.er1
40229 ac_status=$?
40230 grep -v '^ *+' conftest.er1 >conftest.err
40231 rm -f conftest.er1
40232 cat conftest.err >&5
40233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40234 (exit $ac_status); } &&
40235 { ac_try='test -z "$ac_cxx_werror_flag"
40236 || test ! -s conftest.err'
40237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40238 (eval $ac_try) 2>&5
40239 ac_status=$?
40240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40241 (exit $ac_status); }; } &&
40242 { ac_try='test -s conftest.$ac_objext'
40243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40244 (eval $ac_try) 2>&5
40245 ac_status=$?
40246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40247 (exit $ac_status); }; }; then
40248 wx_cv_type_pthread_mutexattr_t=yes
40249 else
40250 echo "$as_me: failed program was:" >&5
40251 sed 's/^/| /' conftest.$ac_ext >&5
40252
40253 wx_cv_type_pthread_mutexattr_t=no
40254
40255 fi
40256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40257
40258 fi
40259 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40260 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40261
40262 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40263 cat >>confdefs.h <<\_ACEOF
40264 #define HAVE_PTHREAD_MUTEXATTR_T 1
40265 _ACEOF
40266
40267
40268 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40269 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40270 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40271 echo $ECHO_N "(cached) $ECHO_C" >&6
40272 else
40273
40274 cat >conftest.$ac_ext <<_ACEOF
40275 /* confdefs.h. */
40276 _ACEOF
40277 cat confdefs.h >>conftest.$ac_ext
40278 cat >>conftest.$ac_ext <<_ACEOF
40279 /* end confdefs.h. */
40280 #include <pthread.h>
40281 int
40282 main ()
40283 {
40284
40285 pthread_mutexattr_t attr;
40286 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40287
40288 ;
40289 return 0;
40290 }
40291 _ACEOF
40292 rm -f conftest.$ac_objext
40293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40294 (eval $ac_compile) 2>conftest.er1
40295 ac_status=$?
40296 grep -v '^ *+' conftest.er1 >conftest.err
40297 rm -f conftest.er1
40298 cat conftest.err >&5
40299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40300 (exit $ac_status); } &&
40301 { ac_try='test -z "$ac_cxx_werror_flag"
40302 || test ! -s conftest.err'
40303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40304 (eval $ac_try) 2>&5
40305 ac_status=$?
40306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40307 (exit $ac_status); }; } &&
40308 { ac_try='test -s conftest.$ac_objext'
40309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40310 (eval $ac_try) 2>&5
40311 ac_status=$?
40312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40313 (exit $ac_status); }; }; then
40314 wx_cv_func_pthread_mutexattr_settype_decl=yes
40315 else
40316 echo "$as_me: failed program was:" >&5
40317 sed 's/^/| /' conftest.$ac_ext >&5
40318
40319 wx_cv_func_pthread_mutexattr_settype_decl=no
40320
40321 fi
40322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40323
40324 fi
40325 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40326 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40327 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40328 cat >>confdefs.h <<\_ACEOF
40329 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40330 _ACEOF
40331
40332 fi
40333 else
40334 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40335 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40336 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40337 echo $ECHO_N "(cached) $ECHO_C" >&6
40338 else
40339
40340 cat >conftest.$ac_ext <<_ACEOF
40341 /* confdefs.h. */
40342 _ACEOF
40343 cat confdefs.h >>conftest.$ac_ext
40344 cat >>conftest.$ac_ext <<_ACEOF
40345 /* end confdefs.h. */
40346 #include <pthread.h>
40347 int
40348 main ()
40349 {
40350
40351 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40352
40353 ;
40354 return 0;
40355 }
40356 _ACEOF
40357 rm -f conftest.$ac_objext
40358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40359 (eval $ac_compile) 2>conftest.er1
40360 ac_status=$?
40361 grep -v '^ *+' conftest.er1 >conftest.err
40362 rm -f conftest.er1
40363 cat conftest.err >&5
40364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40365 (exit $ac_status); } &&
40366 { ac_try='test -z "$ac_cxx_werror_flag"
40367 || test ! -s conftest.err'
40368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40369 (eval $ac_try) 2>&5
40370 ac_status=$?
40371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40372 (exit $ac_status); }; } &&
40373 { ac_try='test -s conftest.$ac_objext'
40374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40375 (eval $ac_try) 2>&5
40376 ac_status=$?
40377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40378 (exit $ac_status); }; }; then
40379
40380 wx_cv_type_pthread_rec_mutex_init=yes
40381
40382 else
40383 echo "$as_me: failed program was:" >&5
40384 sed 's/^/| /' conftest.$ac_ext >&5
40385
40386
40387 wx_cv_type_pthread_rec_mutex_init=no
40388
40389
40390 fi
40391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40392
40393 fi
40394 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40395 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40396 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40397 cat >>confdefs.h <<\_ACEOF
40398 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40399 _ACEOF
40400
40401 else
40402 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40403 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40404 fi
40405 fi
40406 fi
40407
40408 else
40409 if test "$wxUSE_THREADS" = "yes" ; then
40410 case "${host}" in
40411 *-*-mingw32* )
40412 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40413 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40414 if test "${wx_cv_cflags_mthread+set}" = set; then
40415 echo $ECHO_N "(cached) $ECHO_C" >&6
40416 else
40417
40418 CXXFLAGS_OLD="$CXXFLAGS"
40419 CXXFLAGS="-mthreads $CXXFLAGS"
40420 cat >conftest.$ac_ext <<_ACEOF
40421 /* confdefs.h. */
40422 _ACEOF
40423 cat confdefs.h >>conftest.$ac_ext
40424 cat >>conftest.$ac_ext <<_ACEOF
40425 /* end confdefs.h. */
40426
40427 int
40428 main ()
40429 {
40430
40431 ;
40432 return 0;
40433 }
40434 _ACEOF
40435 rm -f conftest.$ac_objext
40436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40437 (eval $ac_compile) 2>conftest.er1
40438 ac_status=$?
40439 grep -v '^ *+' conftest.er1 >conftest.err
40440 rm -f conftest.er1
40441 cat conftest.err >&5
40442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40443 (exit $ac_status); } &&
40444 { ac_try='test -z "$ac_cxx_werror_flag"
40445 || test ! -s conftest.err'
40446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40447 (eval $ac_try) 2>&5
40448 ac_status=$?
40449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40450 (exit $ac_status); }; } &&
40451 { ac_try='test -s conftest.$ac_objext'
40452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40453 (eval $ac_try) 2>&5
40454 ac_status=$?
40455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40456 (exit $ac_status); }; }; then
40457 wx_cv_cflags_mthread=yes
40458 else
40459 echo "$as_me: failed program was:" >&5
40460 sed 's/^/| /' conftest.$ac_ext >&5
40461
40462 wx_cv_cflags_mthread=no
40463
40464 fi
40465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40466
40467
40468 fi
40469 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40470 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40471
40472 if test "$wx_cv_cflags_mthread" = "yes"; then
40473 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40474 LDFLAGS="$LDFLAGS -mthreads"
40475 else
40476 CXXFLAGS="$CXXFLAGS_OLD"
40477 fi
40478 ;;
40479 *-pc-os2*emx )
40480 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40481 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40482 LDFLAGS="$LDFLAGS -Zmt"
40483 ;;
40484 esac
40485 fi
40486 fi
40487
40488 echo "$as_me:$LINENO: checking for localtime_r" >&5
40489 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40490 if test "${ac_cv_func_localtime_r+set}" = set; then
40491 echo $ECHO_N "(cached) $ECHO_C" >&6
40492 else
40493 cat >conftest.$ac_ext <<_ACEOF
40494 /* confdefs.h. */
40495 _ACEOF
40496 cat confdefs.h >>conftest.$ac_ext
40497 cat >>conftest.$ac_ext <<_ACEOF
40498 /* end confdefs.h. */
40499 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40501 #define localtime_r innocuous_localtime_r
40502
40503 /* System header to define __stub macros and hopefully few prototypes,
40504 which can conflict with char localtime_r (); below.
40505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40506 <limits.h> exists even on freestanding compilers. */
40507
40508 #ifdef __STDC__
40509 # include <limits.h>
40510 #else
40511 # include <assert.h>
40512 #endif
40513
40514 #undef localtime_r
40515
40516 /* Override any gcc2 internal prototype to avoid an error. */
40517 #ifdef __cplusplus
40518 extern "C"
40519 {
40520 #endif
40521 /* We use char because int might match the return type of a gcc2
40522 builtin and then its argument prototype would still apply. */
40523 char localtime_r ();
40524 /* The GNU C library defines this for functions which it implements
40525 to always fail with ENOSYS. Some functions are actually named
40526 something starting with __ and the normal name is an alias. */
40527 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40528 choke me
40529 #else
40530 char (*f) () = localtime_r;
40531 #endif
40532 #ifdef __cplusplus
40533 }
40534 #endif
40535
40536 int
40537 main ()
40538 {
40539 return f != localtime_r;
40540 ;
40541 return 0;
40542 }
40543 _ACEOF
40544 rm -f conftest.$ac_objext conftest$ac_exeext
40545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40546 (eval $ac_link) 2>conftest.er1
40547 ac_status=$?
40548 grep -v '^ *+' conftest.er1 >conftest.err
40549 rm -f conftest.er1
40550 cat conftest.err >&5
40551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40552 (exit $ac_status); } &&
40553 { ac_try='test -z "$ac_cxx_werror_flag"
40554 || test ! -s conftest.err'
40555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40556 (eval $ac_try) 2>&5
40557 ac_status=$?
40558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40559 (exit $ac_status); }; } &&
40560 { ac_try='test -s conftest$ac_exeext'
40561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40562 (eval $ac_try) 2>&5
40563 ac_status=$?
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); }; }; then
40566 ac_cv_func_localtime_r=yes
40567 else
40568 echo "$as_me: failed program was:" >&5
40569 sed 's/^/| /' conftest.$ac_ext >&5
40570
40571 ac_cv_func_localtime_r=no
40572 fi
40573 rm -f conftest.err conftest.$ac_objext \
40574 conftest$ac_exeext conftest.$ac_ext
40575 fi
40576 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40577 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40578 if test $ac_cv_func_localtime_r = yes; then
40579 cat >>confdefs.h <<\_ACEOF
40580 #define HAVE_LOCALTIME_R 1
40581 _ACEOF
40582
40583 fi
40584
40585 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40586 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40587 if test "${ac_cv_func_gmtime_r+set}" = set; then
40588 echo $ECHO_N "(cached) $ECHO_C" >&6
40589 else
40590 cat >conftest.$ac_ext <<_ACEOF
40591 /* confdefs.h. */
40592 _ACEOF
40593 cat confdefs.h >>conftest.$ac_ext
40594 cat >>conftest.$ac_ext <<_ACEOF
40595 /* end confdefs.h. */
40596 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40598 #define gmtime_r innocuous_gmtime_r
40599
40600 /* System header to define __stub macros and hopefully few prototypes,
40601 which can conflict with char gmtime_r (); below.
40602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40603 <limits.h> exists even on freestanding compilers. */
40604
40605 #ifdef __STDC__
40606 # include <limits.h>
40607 #else
40608 # include <assert.h>
40609 #endif
40610
40611 #undef gmtime_r
40612
40613 /* Override any gcc2 internal prototype to avoid an error. */
40614 #ifdef __cplusplus
40615 extern "C"
40616 {
40617 #endif
40618 /* We use char because int might match the return type of a gcc2
40619 builtin and then its argument prototype would still apply. */
40620 char gmtime_r ();
40621 /* The GNU C library defines this for functions which it implements
40622 to always fail with ENOSYS. Some functions are actually named
40623 something starting with __ and the normal name is an alias. */
40624 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40625 choke me
40626 #else
40627 char (*f) () = gmtime_r;
40628 #endif
40629 #ifdef __cplusplus
40630 }
40631 #endif
40632
40633 int
40634 main ()
40635 {
40636 return f != gmtime_r;
40637 ;
40638 return 0;
40639 }
40640 _ACEOF
40641 rm -f conftest.$ac_objext conftest$ac_exeext
40642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40643 (eval $ac_link) 2>conftest.er1
40644 ac_status=$?
40645 grep -v '^ *+' conftest.er1 >conftest.err
40646 rm -f conftest.er1
40647 cat conftest.err >&5
40648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40649 (exit $ac_status); } &&
40650 { ac_try='test -z "$ac_cxx_werror_flag"
40651 || test ! -s conftest.err'
40652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40653 (eval $ac_try) 2>&5
40654 ac_status=$?
40655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40656 (exit $ac_status); }; } &&
40657 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
40663 ac_cv_func_gmtime_r=yes
40664 else
40665 echo "$as_me: failed program was:" >&5
40666 sed 's/^/| /' conftest.$ac_ext >&5
40667
40668 ac_cv_func_gmtime_r=no
40669 fi
40670 rm -f conftest.err conftest.$ac_objext \
40671 conftest$ac_exeext conftest.$ac_ext
40672 fi
40673 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40674 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40675 if test $ac_cv_func_gmtime_r = yes; then
40676 cat >>confdefs.h <<\_ACEOF
40677 #define HAVE_GMTIME_R 1
40678 _ACEOF
40679
40680 fi
40681
40682 echo "$as_me:$LINENO: checking for readdir_r" >&5
40683 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40684 if test "${ac_cv_func_readdir_r+set}" = set; then
40685 echo $ECHO_N "(cached) $ECHO_C" >&6
40686 else
40687 cat >conftest.$ac_ext <<_ACEOF
40688 /* confdefs.h. */
40689 _ACEOF
40690 cat confdefs.h >>conftest.$ac_ext
40691 cat >>conftest.$ac_ext <<_ACEOF
40692 /* end confdefs.h. */
40693 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40695 #define readdir_r innocuous_readdir_r
40696
40697 /* System header to define __stub macros and hopefully few prototypes,
40698 which can conflict with char readdir_r (); below.
40699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40700 <limits.h> exists even on freestanding compilers. */
40701
40702 #ifdef __STDC__
40703 # include <limits.h>
40704 #else
40705 # include <assert.h>
40706 #endif
40707
40708 #undef readdir_r
40709
40710 /* Override any gcc2 internal prototype to avoid an error. */
40711 #ifdef __cplusplus
40712 extern "C"
40713 {
40714 #endif
40715 /* We use char because int might match the return type of a gcc2
40716 builtin and then its argument prototype would still apply. */
40717 char readdir_r ();
40718 /* The GNU C library defines this for functions which it implements
40719 to always fail with ENOSYS. Some functions are actually named
40720 something starting with __ and the normal name is an alias. */
40721 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40722 choke me
40723 #else
40724 char (*f) () = readdir_r;
40725 #endif
40726 #ifdef __cplusplus
40727 }
40728 #endif
40729
40730 int
40731 main ()
40732 {
40733 return f != readdir_r;
40734 ;
40735 return 0;
40736 }
40737 _ACEOF
40738 rm -f conftest.$ac_objext conftest$ac_exeext
40739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40740 (eval $ac_link) 2>conftest.er1
40741 ac_status=$?
40742 grep -v '^ *+' conftest.er1 >conftest.err
40743 rm -f conftest.er1
40744 cat conftest.err >&5
40745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40746 (exit $ac_status); } &&
40747 { ac_try='test -z "$ac_cxx_werror_flag"
40748 || test ! -s conftest.err'
40749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40750 (eval $ac_try) 2>&5
40751 ac_status=$?
40752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40753 (exit $ac_status); }; } &&
40754 { ac_try='test -s conftest$ac_exeext'
40755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40756 (eval $ac_try) 2>&5
40757 ac_status=$?
40758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40759 (exit $ac_status); }; }; then
40760 ac_cv_func_readdir_r=yes
40761 else
40762 echo "$as_me: failed program was:" >&5
40763 sed 's/^/| /' conftest.$ac_ext >&5
40764
40765 ac_cv_func_readdir_r=no
40766 fi
40767 rm -f conftest.err conftest.$ac_objext \
40768 conftest$ac_exeext conftest.$ac_ext
40769 fi
40770 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40771 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40772 if test $ac_cv_func_readdir_r = yes; then
40773 cat >>confdefs.h <<\_ACEOF
40774 #define HAVE_READDIR_R 1
40775 _ACEOF
40776
40777 fi
40778
40779
40780
40781
40782 ac_ext=c
40783 ac_cpp='$CPP $CPPFLAGS'
40784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40787
40788 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40789 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40790
40791 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40792 echo $ECHO_N "(cached) $ECHO_C" >&6
40793 else
40794
40795
40796 ################################################################
40797
40798 ac_cv_func_which_gethostbyname_r=unknown
40799
40800 #
40801 # ONE ARGUMENT (sanity check)
40802 #
40803
40804 # This should fail, as there is no variant of gethostbyname_r() that takes
40805 # a single argument. If it actually compiles, then we can assume that
40806 # netdb.h is not declaring the function, and the compiler is thereby
40807 # assuming an implicit prototype. In which case, we're out of luck.
40808 #
40809 cat >conftest.$ac_ext <<_ACEOF
40810 /* confdefs.h. */
40811 _ACEOF
40812 cat confdefs.h >>conftest.$ac_ext
40813 cat >>conftest.$ac_ext <<_ACEOF
40814 /* end confdefs.h. */
40815 #include <netdb.h>
40816 int
40817 main ()
40818 {
40819
40820 char *name = "www.gnu.org";
40821 (void)gethostbyname_r(name) /* ; */
40822
40823 ;
40824 return 0;
40825 }
40826 _ACEOF
40827 rm -f conftest.$ac_objext
40828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40829 (eval $ac_compile) 2>conftest.er1
40830 ac_status=$?
40831 grep -v '^ *+' conftest.er1 >conftest.err
40832 rm -f conftest.er1
40833 cat conftest.err >&5
40834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40835 (exit $ac_status); } &&
40836 { ac_try='test -z "$ac_c_werror_flag"
40837 || test ! -s conftest.err'
40838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40839 (eval $ac_try) 2>&5
40840 ac_status=$?
40841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40842 (exit $ac_status); }; } &&
40843 { ac_try='test -s conftest.$ac_objext'
40844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40845 (eval $ac_try) 2>&5
40846 ac_status=$?
40847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40848 (exit $ac_status); }; }; then
40849 ac_cv_func_which_gethostbyname_r=no
40850 else
40851 echo "$as_me: failed program was:" >&5
40852 sed 's/^/| /' conftest.$ac_ext >&5
40853
40854 fi
40855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40856
40857 #
40858 # SIX ARGUMENTS
40859 # (e.g. Linux)
40860 #
40861
40862 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40863
40864 cat >conftest.$ac_ext <<_ACEOF
40865 /* confdefs.h. */
40866 _ACEOF
40867 cat confdefs.h >>conftest.$ac_ext
40868 cat >>conftest.$ac_ext <<_ACEOF
40869 /* end confdefs.h. */
40870 #include <netdb.h>
40871 int
40872 main ()
40873 {
40874
40875 char *name = "www.gnu.org";
40876 struct hostent ret, *retp;
40877 char buf[1024];
40878 int buflen = 1024;
40879 int my_h_errno;
40880 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40881
40882 ;
40883 return 0;
40884 }
40885 _ACEOF
40886 rm -f conftest.$ac_objext
40887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40888 (eval $ac_compile) 2>conftest.er1
40889 ac_status=$?
40890 grep -v '^ *+' conftest.er1 >conftest.err
40891 rm -f conftest.er1
40892 cat conftest.err >&5
40893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40894 (exit $ac_status); } &&
40895 { ac_try='test -z "$ac_c_werror_flag"
40896 || test ! -s conftest.err'
40897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40898 (eval $ac_try) 2>&5
40899 ac_status=$?
40900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901 (exit $ac_status); }; } &&
40902 { ac_try='test -s conftest.$ac_objext'
40903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40904 (eval $ac_try) 2>&5
40905 ac_status=$?
40906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40907 (exit $ac_status); }; }; then
40908 ac_cv_func_which_gethostbyname_r=six
40909 else
40910 echo "$as_me: failed program was:" >&5
40911 sed 's/^/| /' conftest.$ac_ext >&5
40912
40913 fi
40914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40915
40916 fi
40917
40918 #
40919 # FIVE ARGUMENTS
40920 # (e.g. Solaris)
40921 #
40922
40923 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40924
40925 cat >conftest.$ac_ext <<_ACEOF
40926 /* confdefs.h. */
40927 _ACEOF
40928 cat confdefs.h >>conftest.$ac_ext
40929 cat >>conftest.$ac_ext <<_ACEOF
40930 /* end confdefs.h. */
40931 #include <netdb.h>
40932 int
40933 main ()
40934 {
40935
40936 char *name = "www.gnu.org";
40937 struct hostent ret;
40938 char buf[1024];
40939 int buflen = 1024;
40940 int my_h_errno;
40941 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40942
40943 ;
40944 return 0;
40945 }
40946 _ACEOF
40947 rm -f conftest.$ac_objext
40948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40949 (eval $ac_compile) 2>conftest.er1
40950 ac_status=$?
40951 grep -v '^ *+' conftest.er1 >conftest.err
40952 rm -f conftest.er1
40953 cat conftest.err >&5
40954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40955 (exit $ac_status); } &&
40956 { ac_try='test -z "$ac_c_werror_flag"
40957 || test ! -s conftest.err'
40958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40959 (eval $ac_try) 2>&5
40960 ac_status=$?
40961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40962 (exit $ac_status); }; } &&
40963 { ac_try='test -s conftest.$ac_objext'
40964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40965 (eval $ac_try) 2>&5
40966 ac_status=$?
40967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40968 (exit $ac_status); }; }; then
40969 ac_cv_func_which_gethostbyname_r=five
40970 else
40971 echo "$as_me: failed program was:" >&5
40972 sed 's/^/| /' conftest.$ac_ext >&5
40973
40974 fi
40975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40976
40977 fi
40978
40979 #
40980 # THREE ARGUMENTS
40981 # (e.g. AIX, HP-UX, Tru64)
40982 #
40983
40984 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40985
40986 cat >conftest.$ac_ext <<_ACEOF
40987 /* confdefs.h. */
40988 _ACEOF
40989 cat confdefs.h >>conftest.$ac_ext
40990 cat >>conftest.$ac_ext <<_ACEOF
40991 /* end confdefs.h. */
40992 #include <netdb.h>
40993 int
40994 main ()
40995 {
40996
40997 char *name = "www.gnu.org";
40998 struct hostent ret;
40999 struct hostent_data data;
41000 (void)gethostbyname_r(name, &ret, &data) /* ; */
41001
41002 ;
41003 return 0;
41004 }
41005 _ACEOF
41006 rm -f conftest.$ac_objext
41007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41008 (eval $ac_compile) 2>conftest.er1
41009 ac_status=$?
41010 grep -v '^ *+' conftest.er1 >conftest.err
41011 rm -f conftest.er1
41012 cat conftest.err >&5
41013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41014 (exit $ac_status); } &&
41015 { ac_try='test -z "$ac_c_werror_flag"
41016 || test ! -s conftest.err'
41017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41018 (eval $ac_try) 2>&5
41019 ac_status=$?
41020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41021 (exit $ac_status); }; } &&
41022 { ac_try='test -s conftest.$ac_objext'
41023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41024 (eval $ac_try) 2>&5
41025 ac_status=$?
41026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41027 (exit $ac_status); }; }; then
41028 ac_cv_func_which_gethostbyname_r=three
41029 else
41030 echo "$as_me: failed program was:" >&5
41031 sed 's/^/| /' conftest.$ac_ext >&5
41032
41033 fi
41034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41035
41036 fi
41037
41038 ################################################################
41039
41040
41041 fi
41042
41043 case "$ac_cv_func_which_gethostbyname_r" in
41044 three)
41045 echo "$as_me:$LINENO: result: three" >&5
41046 echo "${ECHO_T}three" >&6
41047 cat >>confdefs.h <<\_ACEOF
41048 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41049 _ACEOF
41050
41051 ;;
41052
41053 five)
41054 echo "$as_me:$LINENO: result: five" >&5
41055 echo "${ECHO_T}five" >&6
41056 cat >>confdefs.h <<\_ACEOF
41057 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41058 _ACEOF
41059
41060 ;;
41061
41062 six)
41063 echo "$as_me:$LINENO: result: six" >&5
41064 echo "${ECHO_T}six" >&6
41065 cat >>confdefs.h <<\_ACEOF
41066 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41067 _ACEOF
41068
41069 ;;
41070
41071 no)
41072 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41073 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41074 ;;
41075
41076 unknown)
41077 echo "$as_me:$LINENO: result: can't tell" >&5
41078 echo "${ECHO_T}can't tell" >&6
41079 ;;
41080
41081 *)
41082 { { echo "$as_me:$LINENO: error: internal error" >&5
41083 echo "$as_me: error: internal error" >&2;}
41084 { (exit 1); exit 1; }; }
41085 ;;
41086 esac
41087
41088 ac_ext=cc
41089 ac_cpp='$CXXCPP $CPPFLAGS'
41090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41093
41094
41095
41096 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41097 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41098 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41099 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41100 if test "${ac_cv_func_gethostbyname+set}" = set; then
41101 echo $ECHO_N "(cached) $ECHO_C" >&6
41102 else
41103 cat >conftest.$ac_ext <<_ACEOF
41104 /* confdefs.h. */
41105 _ACEOF
41106 cat confdefs.h >>conftest.$ac_ext
41107 cat >>conftest.$ac_ext <<_ACEOF
41108 /* end confdefs.h. */
41109 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41111 #define gethostbyname innocuous_gethostbyname
41112
41113 /* System header to define __stub macros and hopefully few prototypes,
41114 which can conflict with char gethostbyname (); below.
41115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41116 <limits.h> exists even on freestanding compilers. */
41117
41118 #ifdef __STDC__
41119 # include <limits.h>
41120 #else
41121 # include <assert.h>
41122 #endif
41123
41124 #undef gethostbyname
41125
41126 /* Override any gcc2 internal prototype to avoid an error. */
41127 #ifdef __cplusplus
41128 extern "C"
41129 {
41130 #endif
41131 /* We use char because int might match the return type of a gcc2
41132 builtin and then its argument prototype would still apply. */
41133 char gethostbyname ();
41134 /* The GNU C library defines this for functions which it implements
41135 to always fail with ENOSYS. Some functions are actually named
41136 something starting with __ and the normal name is an alias. */
41137 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41138 choke me
41139 #else
41140 char (*f) () = gethostbyname;
41141 #endif
41142 #ifdef __cplusplus
41143 }
41144 #endif
41145
41146 int
41147 main ()
41148 {
41149 return f != gethostbyname;
41150 ;
41151 return 0;
41152 }
41153 _ACEOF
41154 rm -f conftest.$ac_objext conftest$ac_exeext
41155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41156 (eval $ac_link) 2>conftest.er1
41157 ac_status=$?
41158 grep -v '^ *+' conftest.er1 >conftest.err
41159 rm -f conftest.er1
41160 cat conftest.err >&5
41161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41162 (exit $ac_status); } &&
41163 { ac_try='test -z "$ac_cxx_werror_flag"
41164 || test ! -s conftest.err'
41165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41166 (eval $ac_try) 2>&5
41167 ac_status=$?
41168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41169 (exit $ac_status); }; } &&
41170 { ac_try='test -s conftest$ac_exeext'
41171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41172 (eval $ac_try) 2>&5
41173 ac_status=$?
41174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41175 (exit $ac_status); }; }; then
41176 ac_cv_func_gethostbyname=yes
41177 else
41178 echo "$as_me: failed program was:" >&5
41179 sed 's/^/| /' conftest.$ac_ext >&5
41180
41181 ac_cv_func_gethostbyname=no
41182 fi
41183 rm -f conftest.err conftest.$ac_objext \
41184 conftest$ac_exeext conftest.$ac_ext
41185 fi
41186 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41187 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41188 if test $ac_cv_func_gethostbyname = yes; then
41189 cat >>confdefs.h <<\_ACEOF
41190 #define HAVE_GETHOSTBYNAME 1
41191 _ACEOF
41192
41193 fi
41194
41195 fi
41196
41197 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41198 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41199 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41200 echo $ECHO_N "(cached) $ECHO_C" >&6
41201 else
41202
41203 cat >conftest.$ac_ext <<_ACEOF
41204 /* confdefs.h. */
41205 _ACEOF
41206 cat confdefs.h >>conftest.$ac_ext
41207 cat >>conftest.$ac_ext <<_ACEOF
41208 /* end confdefs.h. */
41209 #include <netdb.h>
41210 int
41211 main ()
41212 {
41213
41214 char *name;
41215 char *proto;
41216 struct servent *se, *res;
41217 char buffer[2048];
41218 int buflen = 2048;
41219 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41220
41221 ;
41222 return 0;
41223 }
41224 _ACEOF
41225 rm -f conftest.$ac_objext
41226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41227 (eval $ac_compile) 2>conftest.er1
41228 ac_status=$?
41229 grep -v '^ *+' conftest.er1 >conftest.err
41230 rm -f conftest.er1
41231 cat conftest.err >&5
41232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41233 (exit $ac_status); } &&
41234 { ac_try='test -z "$ac_cxx_werror_flag"
41235 || test ! -s conftest.err'
41236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41237 (eval $ac_try) 2>&5
41238 ac_status=$?
41239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41240 (exit $ac_status); }; } &&
41241 { ac_try='test -s conftest.$ac_objext'
41242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41243 (eval $ac_try) 2>&5
41244 ac_status=$?
41245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41246 (exit $ac_status); }; }; then
41247 ac_cv_func_which_getservbyname_r=six
41248 else
41249 echo "$as_me: failed program was:" >&5
41250 sed 's/^/| /' conftest.$ac_ext >&5
41251
41252
41253 cat >conftest.$ac_ext <<_ACEOF
41254 /* confdefs.h. */
41255 _ACEOF
41256 cat confdefs.h >>conftest.$ac_ext
41257 cat >>conftest.$ac_ext <<_ACEOF
41258 /* end confdefs.h. */
41259 #include <netdb.h>
41260 int
41261 main ()
41262 {
41263
41264 char *name;
41265 char *proto;
41266 struct servent *se;
41267 char buffer[2048];
41268 int buflen = 2048;
41269 (void) getservbyname_r(name, proto, se, buffer, buflen)
41270
41271 ;
41272 return 0;
41273 }
41274 _ACEOF
41275 rm -f conftest.$ac_objext
41276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41277 (eval $ac_compile) 2>conftest.er1
41278 ac_status=$?
41279 grep -v '^ *+' conftest.er1 >conftest.err
41280 rm -f conftest.er1
41281 cat conftest.err >&5
41282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41283 (exit $ac_status); } &&
41284 { ac_try='test -z "$ac_cxx_werror_flag"
41285 || test ! -s conftest.err'
41286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41287 (eval $ac_try) 2>&5
41288 ac_status=$?
41289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41290 (exit $ac_status); }; } &&
41291 { ac_try='test -s conftest.$ac_objext'
41292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41293 (eval $ac_try) 2>&5
41294 ac_status=$?
41295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41296 (exit $ac_status); }; }; then
41297 ac_cv_func_which_getservbyname_r=five
41298 else
41299 echo "$as_me: failed program was:" >&5
41300 sed 's/^/| /' conftest.$ac_ext >&5
41301
41302
41303 cat >conftest.$ac_ext <<_ACEOF
41304 /* confdefs.h. */
41305 _ACEOF
41306 cat confdefs.h >>conftest.$ac_ext
41307 cat >>conftest.$ac_ext <<_ACEOF
41308 /* end confdefs.h. */
41309 #include <netdb.h>
41310 int
41311 main ()
41312 {
41313
41314 char *name;
41315 char *proto;
41316 struct servent *se;
41317 struct servent_data data;
41318 (void) getservbyname_r(name, proto, se, &data);
41319
41320 ;
41321 return 0;
41322 }
41323 _ACEOF
41324 rm -f conftest.$ac_objext
41325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41326 (eval $ac_compile) 2>conftest.er1
41327 ac_status=$?
41328 grep -v '^ *+' conftest.er1 >conftest.err
41329 rm -f conftest.er1
41330 cat conftest.err >&5
41331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41332 (exit $ac_status); } &&
41333 { ac_try='test -z "$ac_cxx_werror_flag"
41334 || test ! -s conftest.err'
41335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41336 (eval $ac_try) 2>&5
41337 ac_status=$?
41338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41339 (exit $ac_status); }; } &&
41340 { ac_try='test -s conftest.$ac_objext'
41341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41342 (eval $ac_try) 2>&5
41343 ac_status=$?
41344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41345 (exit $ac_status); }; }; then
41346 ac_cv_func_which_getservbyname_r=four
41347 else
41348 echo "$as_me: failed program was:" >&5
41349 sed 's/^/| /' conftest.$ac_ext >&5
41350
41351 ac_cv_func_which_getservbyname_r=no
41352
41353 fi
41354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41355
41356
41357 fi
41358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41359
41360
41361 fi
41362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41363
41364
41365 fi
41366 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41367 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41368
41369 if test $ac_cv_func_which_getservbyname_r = six; then
41370 cat >>confdefs.h <<\_ACEOF
41371 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41372 _ACEOF
41373
41374 elif test $ac_cv_func_which_getservbyname_r = five; then
41375 cat >>confdefs.h <<\_ACEOF
41376 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41377 _ACEOF
41378
41379 elif test $ac_cv_func_which_getservbyname_r = four; then
41380 cat >>confdefs.h <<\_ACEOF
41381 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41382 _ACEOF
41383
41384 fi
41385
41386
41387 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41388 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41389
41390 for ac_func in getservbyname
41391 do
41392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41393 echo "$as_me:$LINENO: checking for $ac_func" >&5
41394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41395 if eval "test \"\${$as_ac_var+set}\" = set"; then
41396 echo $ECHO_N "(cached) $ECHO_C" >&6
41397 else
41398 cat >conftest.$ac_ext <<_ACEOF
41399 /* confdefs.h. */
41400 _ACEOF
41401 cat confdefs.h >>conftest.$ac_ext
41402 cat >>conftest.$ac_ext <<_ACEOF
41403 /* end confdefs.h. */
41404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41406 #define $ac_func innocuous_$ac_func
41407
41408 /* System header to define __stub macros and hopefully few prototypes,
41409 which can conflict with char $ac_func (); below.
41410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41411 <limits.h> exists even on freestanding compilers. */
41412
41413 #ifdef __STDC__
41414 # include <limits.h>
41415 #else
41416 # include <assert.h>
41417 #endif
41418
41419 #undef $ac_func
41420
41421 /* Override any gcc2 internal prototype to avoid an error. */
41422 #ifdef __cplusplus
41423 extern "C"
41424 {
41425 #endif
41426 /* We use char because int might match the return type of a gcc2
41427 builtin and then its argument prototype would still apply. */
41428 char $ac_func ();
41429 /* The GNU C library defines this for functions which it implements
41430 to always fail with ENOSYS. Some functions are actually named
41431 something starting with __ and the normal name is an alias. */
41432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41433 choke me
41434 #else
41435 char (*f) () = $ac_func;
41436 #endif
41437 #ifdef __cplusplus
41438 }
41439 #endif
41440
41441 int
41442 main ()
41443 {
41444 return f != $ac_func;
41445 ;
41446 return 0;
41447 }
41448 _ACEOF
41449 rm -f conftest.$ac_objext conftest$ac_exeext
41450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41451 (eval $ac_link) 2>conftest.er1
41452 ac_status=$?
41453 grep -v '^ *+' conftest.er1 >conftest.err
41454 rm -f conftest.er1
41455 cat conftest.err >&5
41456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41457 (exit $ac_status); } &&
41458 { ac_try='test -z "$ac_cxx_werror_flag"
41459 || test ! -s conftest.err'
41460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41461 (eval $ac_try) 2>&5
41462 ac_status=$?
41463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41464 (exit $ac_status); }; } &&
41465 { ac_try='test -s conftest$ac_exeext'
41466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41467 (eval $ac_try) 2>&5
41468 ac_status=$?
41469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41470 (exit $ac_status); }; }; then
41471 eval "$as_ac_var=yes"
41472 else
41473 echo "$as_me: failed program was:" >&5
41474 sed 's/^/| /' conftest.$ac_ext >&5
41475
41476 eval "$as_ac_var=no"
41477 fi
41478 rm -f conftest.err conftest.$ac_objext \
41479 conftest$ac_exeext conftest.$ac_ext
41480 fi
41481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41483 if test `eval echo '${'$as_ac_var'}'` = yes; then
41484 cat >>confdefs.h <<_ACEOF
41485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41486 _ACEOF
41487 cat >>confdefs.h <<\_ACEOF
41488 #define HAVE_GETSERVBYNAME 1
41489 _ACEOF
41490
41491 fi
41492 done
41493
41494 fi
41495
41496 if test "$wxUSE_THREADS" = "yes"; then
41497 cat >>confdefs.h <<\_ACEOF
41498 #define wxUSE_THREADS 1
41499 _ACEOF
41500
41501
41502 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41503 else
41504 if test "$wx_cv_func_strtok_r" = "yes"; then
41505 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41506 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41507 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41508 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41509 echo "$as_me:$LINENO: result: yes" >&5
41510 echo "${ECHO_T}yes" >&6
41511 else
41512 echo "$as_me:$LINENO: result: no" >&5
41513 echo "${ECHO_T}no" >&6
41514 fi
41515 fi
41516 fi
41517
41518 if test "$WXGTK20" = 1 ; then
41519 cat >>confdefs.h <<_ACEOF
41520 #define __WXGTK20__ $WXGTK20
41521 _ACEOF
41522
41523 WXGTK12=1
41524 fi
41525
41526 if test "$WXGTK12" = 1 ; then
41527 cat >>confdefs.h <<_ACEOF
41528 #define __WXGTK12__ $WXGTK12
41529 _ACEOF
41530
41531 fi
41532
41533 if test "$WXGTK127" = 1 ; then
41534 cat >>confdefs.h <<_ACEOF
41535 #define __WXGTK127__ $WXGTK127
41536 _ACEOF
41537
41538 fi
41539
41540 if test "$WXGPE" = 1 ; then
41541 cat >>confdefs.h <<_ACEOF
41542 #define __WXGPE__ $WXGPE
41543 _ACEOF
41544
41545 fi
41546
41547 DEBUG_CFLAGS=
41548 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41549 DEBUG_CFLAGS="-g"
41550 wxUSE_OPTIMISE=no
41551 fi
41552
41553 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41554 wxUSE_DEBUG_INFO=yes
41555 if test "$GCC" = yes; then
41556 DEBUG_CFLAGS="-ggdb"
41557 fi
41558 fi
41559
41560 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41561 cat >>confdefs.h <<\_ACEOF
41562 #define WXDEBUG 1
41563 _ACEOF
41564
41565 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41566 else
41567 if test "$wxUSE_GTK" = 1 ; then
41568 if test "x$wxGTK_VERSION" = "x1" ; then
41569 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41570 fi
41571 fi
41572 fi
41573
41574 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41575 cat >>confdefs.h <<\_ACEOF
41576 #define wxUSE_MEMORY_TRACING 1
41577 _ACEOF
41578
41579 cat >>confdefs.h <<\_ACEOF
41580 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41581 _ACEOF
41582
41583 cat >>confdefs.h <<\_ACEOF
41584 #define wxUSE_DEBUG_NEW_ALWAYS 1
41585 _ACEOF
41586
41587 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41588 fi
41589
41590 if test "$wxUSE_DMALLOC" = "yes" ; then
41591 DMALLOC_LIBS="-ldmallocthcxx"
41592 fi
41593
41594 PROFILE_FLAGS=
41595 if test "$wxUSE_PROFILE" = "yes" ; then
41596 PROFILE_FLAGS=" -pg"
41597 fi
41598
41599 if test "$GCC" = "yes" ; then
41600 if test "$wxUSE_NO_RTTI" = "yes" ; then
41601 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41602 fi
41603 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41604 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41605 fi
41606 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41607 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41608 fi
41609
41610 case "${host}" in
41611 powerpc*-*-aix* )
41612 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41613 ;;
41614 *-hppa* )
41615 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41616 ;;
41617 esac
41618 fi
41619
41620 OPTIMISE_CFLAGS=
41621 if test "$wxUSE_OPTIMISE" = "no" ; then
41622 if test "$GCC" = yes ; then
41623 OPTIMISE_CFLAGS="-O0"
41624 fi
41625 else
41626 if test "$GCC" = yes ; then
41627 case "${host}" in
41628 *-pc-os2_emx | *-pc-os2-emx )
41629 OPTIMISE_CFLAGS="-O2"
41630 ;;
41631 *)
41632 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41633 ;;
41634 esac
41635 else
41636 OPTIMISE_CFLAGS="-O"
41637 fi
41638 fi
41639
41640
41641 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41642 cat >>confdefs.h <<\_ACEOF
41643 #define WXWIN_COMPATIBILITY_2_4 1
41644 _ACEOF
41645
41646
41647 WXWIN_COMPATIBILITY_2_6="yes"
41648 fi
41649
41650 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41651 cat >>confdefs.h <<\_ACEOF
41652 #define WXWIN_COMPATIBILITY_2_6 1
41653 _ACEOF
41654
41655 fi
41656
41657
41658 if test "$wxUSE_GUI" = "yes"; then
41659 cat >>confdefs.h <<\_ACEOF
41660 #define wxUSE_GUI 1
41661 _ACEOF
41662
41663
41664 fi
41665
41666
41667 if test "$wxUSE_UNIX" = "yes"; then
41668 cat >>confdefs.h <<\_ACEOF
41669 #define wxUSE_UNIX 1
41670 _ACEOF
41671
41672 fi
41673
41674
41675 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41676
41677 HAVE_DL_FUNCS=0
41678 HAVE_SHL_FUNCS=0
41679 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41680 if test "$USE_DARWIN" = 1; then
41681 HAVE_DL_FUNCS=1
41682 elif test "$USE_DOS" = 1; then
41683 HAVE_DL_FUNCS=0
41684 else
41685
41686 for ac_func in dlopen
41687 do
41688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41689 echo "$as_me:$LINENO: checking for $ac_func" >&5
41690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41691 if eval "test \"\${$as_ac_var+set}\" = set"; then
41692 echo $ECHO_N "(cached) $ECHO_C" >&6
41693 else
41694 cat >conftest.$ac_ext <<_ACEOF
41695 /* confdefs.h. */
41696 _ACEOF
41697 cat confdefs.h >>conftest.$ac_ext
41698 cat >>conftest.$ac_ext <<_ACEOF
41699 /* end confdefs.h. */
41700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41702 #define $ac_func innocuous_$ac_func
41703
41704 /* System header to define __stub macros and hopefully few prototypes,
41705 which can conflict with char $ac_func (); below.
41706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41707 <limits.h> exists even on freestanding compilers. */
41708
41709 #ifdef __STDC__
41710 # include <limits.h>
41711 #else
41712 # include <assert.h>
41713 #endif
41714
41715 #undef $ac_func
41716
41717 /* Override any gcc2 internal prototype to avoid an error. */
41718 #ifdef __cplusplus
41719 extern "C"
41720 {
41721 #endif
41722 /* We use char because int might match the return type of a gcc2
41723 builtin and then its argument prototype would still apply. */
41724 char $ac_func ();
41725 /* The GNU C library defines this for functions which it implements
41726 to always fail with ENOSYS. Some functions are actually named
41727 something starting with __ and the normal name is an alias. */
41728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41729 choke me
41730 #else
41731 char (*f) () = $ac_func;
41732 #endif
41733 #ifdef __cplusplus
41734 }
41735 #endif
41736
41737 int
41738 main ()
41739 {
41740 return f != $ac_func;
41741 ;
41742 return 0;
41743 }
41744 _ACEOF
41745 rm -f conftest.$ac_objext conftest$ac_exeext
41746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41747 (eval $ac_link) 2>conftest.er1
41748 ac_status=$?
41749 grep -v '^ *+' conftest.er1 >conftest.err
41750 rm -f conftest.er1
41751 cat conftest.err >&5
41752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41753 (exit $ac_status); } &&
41754 { ac_try='test -z "$ac_cxx_werror_flag"
41755 || test ! -s conftest.err'
41756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41757 (eval $ac_try) 2>&5
41758 ac_status=$?
41759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41760 (exit $ac_status); }; } &&
41761 { ac_try='test -s conftest$ac_exeext'
41762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41763 (eval $ac_try) 2>&5
41764 ac_status=$?
41765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41766 (exit $ac_status); }; }; then
41767 eval "$as_ac_var=yes"
41768 else
41769 echo "$as_me: failed program was:" >&5
41770 sed 's/^/| /' conftest.$ac_ext >&5
41771
41772 eval "$as_ac_var=no"
41773 fi
41774 rm -f conftest.err conftest.$ac_objext \
41775 conftest$ac_exeext conftest.$ac_ext
41776 fi
41777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41778 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41779 if test `eval echo '${'$as_ac_var'}'` = yes; then
41780 cat >>confdefs.h <<_ACEOF
41781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41782 _ACEOF
41783
41784 cat >>confdefs.h <<\_ACEOF
41785 #define HAVE_DLOPEN 1
41786 _ACEOF
41787
41788 HAVE_DL_FUNCS=1
41789
41790 else
41791
41792 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41793 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41794 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41795 echo $ECHO_N "(cached) $ECHO_C" >&6
41796 else
41797 ac_check_lib_save_LIBS=$LIBS
41798 LIBS="-ldl $LIBS"
41799 cat >conftest.$ac_ext <<_ACEOF
41800 /* confdefs.h. */
41801 _ACEOF
41802 cat confdefs.h >>conftest.$ac_ext
41803 cat >>conftest.$ac_ext <<_ACEOF
41804 /* end confdefs.h. */
41805
41806 /* Override any gcc2 internal prototype to avoid an error. */
41807 #ifdef __cplusplus
41808 extern "C"
41809 #endif
41810 /* We use char because int might match the return type of a gcc2
41811 builtin and then its argument prototype would still apply. */
41812 char dlopen ();
41813 int
41814 main ()
41815 {
41816 dlopen ();
41817 ;
41818 return 0;
41819 }
41820 _ACEOF
41821 rm -f conftest.$ac_objext conftest$ac_exeext
41822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41823 (eval $ac_link) 2>conftest.er1
41824 ac_status=$?
41825 grep -v '^ *+' conftest.er1 >conftest.err
41826 rm -f conftest.er1
41827 cat conftest.err >&5
41828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41829 (exit $ac_status); } &&
41830 { ac_try='test -z "$ac_cxx_werror_flag"
41831 || test ! -s conftest.err'
41832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41833 (eval $ac_try) 2>&5
41834 ac_status=$?
41835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41836 (exit $ac_status); }; } &&
41837 { ac_try='test -s conftest$ac_exeext'
41838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41839 (eval $ac_try) 2>&5
41840 ac_status=$?
41841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41842 (exit $ac_status); }; }; then
41843 ac_cv_lib_dl_dlopen=yes
41844 else
41845 echo "$as_me: failed program was:" >&5
41846 sed 's/^/| /' conftest.$ac_ext >&5
41847
41848 ac_cv_lib_dl_dlopen=no
41849 fi
41850 rm -f conftest.err conftest.$ac_objext \
41851 conftest$ac_exeext conftest.$ac_ext
41852 LIBS=$ac_check_lib_save_LIBS
41853 fi
41854 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41855 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41856 if test $ac_cv_lib_dl_dlopen = yes; then
41857
41858 cat >>confdefs.h <<\_ACEOF
41859 #define HAVE_DLOPEN 1
41860 _ACEOF
41861
41862 HAVE_DL_FUNCS=1
41863 DL_LINK=" -ldl$DL_LINK"
41864
41865 else
41866
41867
41868 for ac_func in shl_load
41869 do
41870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41871 echo "$as_me:$LINENO: checking for $ac_func" >&5
41872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41873 if eval "test \"\${$as_ac_var+set}\" = set"; then
41874 echo $ECHO_N "(cached) $ECHO_C" >&6
41875 else
41876 cat >conftest.$ac_ext <<_ACEOF
41877 /* confdefs.h. */
41878 _ACEOF
41879 cat confdefs.h >>conftest.$ac_ext
41880 cat >>conftest.$ac_ext <<_ACEOF
41881 /* end confdefs.h. */
41882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41884 #define $ac_func innocuous_$ac_func
41885
41886 /* System header to define __stub macros and hopefully few prototypes,
41887 which can conflict with char $ac_func (); below.
41888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41889 <limits.h> exists even on freestanding compilers. */
41890
41891 #ifdef __STDC__
41892 # include <limits.h>
41893 #else
41894 # include <assert.h>
41895 #endif
41896
41897 #undef $ac_func
41898
41899 /* Override any gcc2 internal prototype to avoid an error. */
41900 #ifdef __cplusplus
41901 extern "C"
41902 {
41903 #endif
41904 /* We use char because int might match the return type of a gcc2
41905 builtin and then its argument prototype would still apply. */
41906 char $ac_func ();
41907 /* The GNU C library defines this for functions which it implements
41908 to always fail with ENOSYS. Some functions are actually named
41909 something starting with __ and the normal name is an alias. */
41910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41911 choke me
41912 #else
41913 char (*f) () = $ac_func;
41914 #endif
41915 #ifdef __cplusplus
41916 }
41917 #endif
41918
41919 int
41920 main ()
41921 {
41922 return f != $ac_func;
41923 ;
41924 return 0;
41925 }
41926 _ACEOF
41927 rm -f conftest.$ac_objext conftest$ac_exeext
41928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41929 (eval $ac_link) 2>conftest.er1
41930 ac_status=$?
41931 grep -v '^ *+' conftest.er1 >conftest.err
41932 rm -f conftest.er1
41933 cat conftest.err >&5
41934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41935 (exit $ac_status); } &&
41936 { ac_try='test -z "$ac_cxx_werror_flag"
41937 || test ! -s conftest.err'
41938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41939 (eval $ac_try) 2>&5
41940 ac_status=$?
41941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41942 (exit $ac_status); }; } &&
41943 { ac_try='test -s conftest$ac_exeext'
41944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41945 (eval $ac_try) 2>&5
41946 ac_status=$?
41947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41948 (exit $ac_status); }; }; then
41949 eval "$as_ac_var=yes"
41950 else
41951 echo "$as_me: failed program was:" >&5
41952 sed 's/^/| /' conftest.$ac_ext >&5
41953
41954 eval "$as_ac_var=no"
41955 fi
41956 rm -f conftest.err conftest.$ac_objext \
41957 conftest$ac_exeext conftest.$ac_ext
41958 fi
41959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41961 if test `eval echo '${'$as_ac_var'}'` = yes; then
41962 cat >>confdefs.h <<_ACEOF
41963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41964 _ACEOF
41965
41966 cat >>confdefs.h <<\_ACEOF
41967 #define HAVE_SHL_LOAD 1
41968 _ACEOF
41969
41970 HAVE_SHL_FUNCS=1
41971
41972 else
41973
41974 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41975 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41976 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41977 echo $ECHO_N "(cached) $ECHO_C" >&6
41978 else
41979 ac_check_lib_save_LIBS=$LIBS
41980 LIBS="-lshl_load $LIBS"
41981 cat >conftest.$ac_ext <<_ACEOF
41982 /* confdefs.h. */
41983 _ACEOF
41984 cat confdefs.h >>conftest.$ac_ext
41985 cat >>conftest.$ac_ext <<_ACEOF
41986 /* end confdefs.h. */
41987
41988 /* Override any gcc2 internal prototype to avoid an error. */
41989 #ifdef __cplusplus
41990 extern "C"
41991 #endif
41992 /* We use char because int might match the return type of a gcc2
41993 builtin and then its argument prototype would still apply. */
41994 char dld ();
41995 int
41996 main ()
41997 {
41998 dld ();
41999 ;
42000 return 0;
42001 }
42002 _ACEOF
42003 rm -f conftest.$ac_objext conftest$ac_exeext
42004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42005 (eval $ac_link) 2>conftest.er1
42006 ac_status=$?
42007 grep -v '^ *+' conftest.er1 >conftest.err
42008 rm -f conftest.er1
42009 cat conftest.err >&5
42010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42011 (exit $ac_status); } &&
42012 { ac_try='test -z "$ac_cxx_werror_flag"
42013 || test ! -s conftest.err'
42014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42015 (eval $ac_try) 2>&5
42016 ac_status=$?
42017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42018 (exit $ac_status); }; } &&
42019 { ac_try='test -s conftest$ac_exeext'
42020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42021 (eval $ac_try) 2>&5
42022 ac_status=$?
42023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42024 (exit $ac_status); }; }; then
42025 ac_cv_lib_shl_load_dld=yes
42026 else
42027 echo "$as_me: failed program was:" >&5
42028 sed 's/^/| /' conftest.$ac_ext >&5
42029
42030 ac_cv_lib_shl_load_dld=no
42031 fi
42032 rm -f conftest.err conftest.$ac_objext \
42033 conftest$ac_exeext conftest.$ac_ext
42034 LIBS=$ac_check_lib_save_LIBS
42035 fi
42036 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42037 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42038 if test $ac_cv_lib_shl_load_dld = yes; then
42039
42040 HAVE_SHL_FUNCS=1
42041 DL_LINK=" -ldld$DL_LINK"
42042
42043 fi
42044
42045
42046 fi
42047 done
42048
42049
42050 fi
42051
42052
42053 fi
42054 done
42055
42056
42057 if test "$HAVE_DL_FUNCS" = 1; then
42058
42059 for ac_func in dlerror
42060 do
42061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42062 echo "$as_me:$LINENO: checking for $ac_func" >&5
42063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42064 if eval "test \"\${$as_ac_var+set}\" = set"; then
42065 echo $ECHO_N "(cached) $ECHO_C" >&6
42066 else
42067 cat >conftest.$ac_ext <<_ACEOF
42068 /* confdefs.h. */
42069 _ACEOF
42070 cat confdefs.h >>conftest.$ac_ext
42071 cat >>conftest.$ac_ext <<_ACEOF
42072 /* end confdefs.h. */
42073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42075 #define $ac_func innocuous_$ac_func
42076
42077 /* System header to define __stub macros and hopefully few prototypes,
42078 which can conflict with char $ac_func (); below.
42079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42080 <limits.h> exists even on freestanding compilers. */
42081
42082 #ifdef __STDC__
42083 # include <limits.h>
42084 #else
42085 # include <assert.h>
42086 #endif
42087
42088 #undef $ac_func
42089
42090 /* Override any gcc2 internal prototype to avoid an error. */
42091 #ifdef __cplusplus
42092 extern "C"
42093 {
42094 #endif
42095 /* We use char because int might match the return type of a gcc2
42096 builtin and then its argument prototype would still apply. */
42097 char $ac_func ();
42098 /* The GNU C library defines this for functions which it implements
42099 to always fail with ENOSYS. Some functions are actually named
42100 something starting with __ and the normal name is an alias. */
42101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42102 choke me
42103 #else
42104 char (*f) () = $ac_func;
42105 #endif
42106 #ifdef __cplusplus
42107 }
42108 #endif
42109
42110 int
42111 main ()
42112 {
42113 return f != $ac_func;
42114 ;
42115 return 0;
42116 }
42117 _ACEOF
42118 rm -f conftest.$ac_objext conftest$ac_exeext
42119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42120 (eval $ac_link) 2>conftest.er1
42121 ac_status=$?
42122 grep -v '^ *+' conftest.er1 >conftest.err
42123 rm -f conftest.er1
42124 cat conftest.err >&5
42125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42126 (exit $ac_status); } &&
42127 { ac_try='test -z "$ac_cxx_werror_flag"
42128 || test ! -s conftest.err'
42129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42130 (eval $ac_try) 2>&5
42131 ac_status=$?
42132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42133 (exit $ac_status); }; } &&
42134 { ac_try='test -s conftest$ac_exeext'
42135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42136 (eval $ac_try) 2>&5
42137 ac_status=$?
42138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42139 (exit $ac_status); }; }; then
42140 eval "$as_ac_var=yes"
42141 else
42142 echo "$as_me: failed program was:" >&5
42143 sed 's/^/| /' conftest.$ac_ext >&5
42144
42145 eval "$as_ac_var=no"
42146 fi
42147 rm -f conftest.err conftest.$ac_objext \
42148 conftest$ac_exeext conftest.$ac_ext
42149 fi
42150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42152 if test `eval echo '${'$as_ac_var'}'` = yes; then
42153 cat >>confdefs.h <<_ACEOF
42154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42155 _ACEOF
42156 cat >>confdefs.h <<\_ACEOF
42157 #define HAVE_DLERROR 1
42158 _ACEOF
42159
42160 else
42161
42162 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42163 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42164 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42165 echo $ECHO_N "(cached) $ECHO_C" >&6
42166 else
42167 ac_check_lib_save_LIBS=$LIBS
42168 LIBS="-ldl $LIBS"
42169 cat >conftest.$ac_ext <<_ACEOF
42170 /* confdefs.h. */
42171 _ACEOF
42172 cat confdefs.h >>conftest.$ac_ext
42173 cat >>conftest.$ac_ext <<_ACEOF
42174 /* end confdefs.h. */
42175
42176 /* Override any gcc2 internal prototype to avoid an error. */
42177 #ifdef __cplusplus
42178 extern "C"
42179 #endif
42180 /* We use char because int might match the return type of a gcc2
42181 builtin and then its argument prototype would still apply. */
42182 char dlerror ();
42183 int
42184 main ()
42185 {
42186 dlerror ();
42187 ;
42188 return 0;
42189 }
42190 _ACEOF
42191 rm -f conftest.$ac_objext conftest$ac_exeext
42192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42193 (eval $ac_link) 2>conftest.er1
42194 ac_status=$?
42195 grep -v '^ *+' conftest.er1 >conftest.err
42196 rm -f conftest.er1
42197 cat conftest.err >&5
42198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42199 (exit $ac_status); } &&
42200 { ac_try='test -z "$ac_cxx_werror_flag"
42201 || test ! -s conftest.err'
42202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42203 (eval $ac_try) 2>&5
42204 ac_status=$?
42205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42206 (exit $ac_status); }; } &&
42207 { ac_try='test -s conftest$ac_exeext'
42208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42209 (eval $ac_try) 2>&5
42210 ac_status=$?
42211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42212 (exit $ac_status); }; }; then
42213 ac_cv_lib_dl_dlerror=yes
42214 else
42215 echo "$as_me: failed program was:" >&5
42216 sed 's/^/| /' conftest.$ac_ext >&5
42217
42218 ac_cv_lib_dl_dlerror=no
42219 fi
42220 rm -f conftest.err conftest.$ac_objext \
42221 conftest$ac_exeext conftest.$ac_ext
42222 LIBS=$ac_check_lib_save_LIBS
42223 fi
42224 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42225 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42226 if test $ac_cv_lib_dl_dlerror = yes; then
42227 cat >>confdefs.h <<\_ACEOF
42228 #define HAVE_DLERROR 1
42229 _ACEOF
42230
42231 fi
42232
42233
42234
42235 fi
42236 done
42237
42238 fi
42239 fi
42240
42241 if test "$HAVE_DL_FUNCS" = 0; then
42242 if test "$HAVE_SHL_FUNCS" = 0; then
42243 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42244 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42245 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42246 wxUSE_DYNAMIC_LOADER=no
42247 wxUSE_DYNLIB_CLASS=no
42248 else
42249 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42250 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42251 fi
42252 fi
42253 fi
42254 fi
42255 fi
42256
42257 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42258 cat >>confdefs.h <<\_ACEOF
42259 #define wxUSE_DYNAMIC_LOADER 1
42260 _ACEOF
42261
42262 fi
42263 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42264 cat >>confdefs.h <<\_ACEOF
42265 #define wxUSE_DYNLIB_CLASS 1
42266 _ACEOF
42267
42268 fi
42269
42270
42271
42272 if test "$wxUSE_PLUGINS" = "yes" ; then
42273 if test "$wxUSE_SHARED" = "no" ; then
42274 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42275 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42276 wxUSE_PLUGINS=no
42277 fi
42278 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42279 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42280 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42281 wxUSE_PLUGINS=no
42282 fi
42283 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42284 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42285 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42286 wxUSE_PLUGINS=no
42287 fi
42288 if test "$wxUSE_PLUGINS" = "yes" ; then
42289 cat >>confdefs.h <<\_ACEOF
42290 #define wxUSE_PLUGINS 1
42291 _ACEOF
42292
42293 fi
42294 fi
42295
42296
42297 if test "$wxUSE_STL" = "yes"; then
42298 cat >>confdefs.h <<\_ACEOF
42299 #define wxUSE_STL 1
42300 _ACEOF
42301
42302 fi
42303
42304 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42305 cat >>confdefs.h <<\_ACEOF
42306 #define wxUSE_APPLE_IEEE 1
42307 _ACEOF
42308
42309 fi
42310
42311 if test "$wxUSE_TIMER" = "yes"; then
42312 cat >>confdefs.h <<\_ACEOF
42313 #define wxUSE_TIMER 1
42314 _ACEOF
42315
42316 fi
42317
42318 if test "$USE_UNIX" = "1" ; then
42319 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42320 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42321 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42322 echo $ECHO_N "(cached) $ECHO_C" >&6
42323 else
42324
42325 cat >conftest.$ac_ext <<_ACEOF
42326 /* confdefs.h. */
42327 _ACEOF
42328 cat confdefs.h >>conftest.$ac_ext
42329 cat >>conftest.$ac_ext <<_ACEOF
42330 /* end confdefs.h. */
42331
42332 #include <sys/ioctl.h>
42333 #include <sys/soundcard.h>
42334
42335 int
42336 main ()
42337 {
42338
42339 ioctl(0, SNDCTL_DSP_SPEED, 0);
42340
42341 ;
42342 return 0;
42343 }
42344 _ACEOF
42345 rm -f conftest.$ac_objext conftest$ac_exeext
42346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42347 (eval $ac_link) 2>conftest.er1
42348 ac_status=$?
42349 grep -v '^ *+' conftest.er1 >conftest.err
42350 rm -f conftest.er1
42351 cat conftest.err >&5
42352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42353 (exit $ac_status); } &&
42354 { ac_try='test -z "$ac_cxx_werror_flag"
42355 || test ! -s conftest.err'
42356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42357 (eval $ac_try) 2>&5
42358 ac_status=$?
42359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42360 (exit $ac_status); }; } &&
42361 { ac_try='test -s conftest$ac_exeext'
42362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42363 (eval $ac_try) 2>&5
42364 ac_status=$?
42365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42366 (exit $ac_status); }; }; then
42367 ac_cv_header_sys_soundcard=yes
42368 else
42369 echo "$as_me: failed program was:" >&5
42370 sed 's/^/| /' conftest.$ac_ext >&5
42371
42372
42373 saveLibs="$LIBS"
42374 LIBS="$saveLibs -lossaudio"
42375 cat >conftest.$ac_ext <<_ACEOF
42376 /* confdefs.h. */
42377 _ACEOF
42378 cat confdefs.h >>conftest.$ac_ext
42379 cat >>conftest.$ac_ext <<_ACEOF
42380 /* end confdefs.h. */
42381
42382 #include <sys/ioctl.h>
42383 #include <sys/soundcard.h>
42384
42385 int
42386 main ()
42387 {
42388
42389 ioctl(0, SNDCTL_DSP_SPEED, 0);
42390
42391 ;
42392 return 0;
42393 }
42394 _ACEOF
42395 rm -f conftest.$ac_objext conftest$ac_exeext
42396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42397 (eval $ac_link) 2>conftest.er1
42398 ac_status=$?
42399 grep -v '^ *+' conftest.er1 >conftest.err
42400 rm -f conftest.er1
42401 cat conftest.err >&5
42402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42403 (exit $ac_status); } &&
42404 { ac_try='test -z "$ac_cxx_werror_flag"
42405 || test ! -s conftest.err'
42406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42407 (eval $ac_try) 2>&5
42408 ac_status=$?
42409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42410 (exit $ac_status); }; } &&
42411 { ac_try='test -s conftest$ac_exeext'
42412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42413 (eval $ac_try) 2>&5
42414 ac_status=$?
42415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42416 (exit $ac_status); }; }; then
42417 ac_cv_header_sys_soundcard=yes
42418 else
42419 echo "$as_me: failed program was:" >&5
42420 sed 's/^/| /' conftest.$ac_ext >&5
42421
42422
42423 LIBS="$saveLibs"
42424 ac_cv_header_sys_soundcard=no
42425
42426
42427 fi
42428 rm -f conftest.err conftest.$ac_objext \
42429 conftest$ac_exeext conftest.$ac_ext
42430
42431
42432 fi
42433 rm -f conftest.err conftest.$ac_objext \
42434 conftest$ac_exeext conftest.$ac_ext
42435
42436 fi
42437 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42438 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42439
42440 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42441 cat >>confdefs.h <<\_ACEOF
42442 #define HAVE_SYS_SOUNDCARD_H 1
42443 _ACEOF
42444
42445 else
42446 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42447 fi
42448 fi
42449 WITH_PLUGIN_SDL=0
42450 if test "$wxUSE_SOUND" = "yes"; then
42451 if test "$USE_UNIX" = "1" ; then
42452 if test "$wxUSE_LIBSDL" != "no"; then
42453
42454 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42455 if test "${with_sdl_prefix+set}" = set; then
42456 withval="$with_sdl_prefix"
42457 sdl_prefix="$withval"
42458 else
42459 sdl_prefix=""
42460 fi;
42461
42462 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42463 if test "${with_sdl_exec_prefix+set}" = set; then
42464 withval="$with_sdl_exec_prefix"
42465 sdl_exec_prefix="$withval"
42466 else
42467 sdl_exec_prefix=""
42468 fi;
42469 # Check whether --enable-sdltest or --disable-sdltest was given.
42470 if test "${enable_sdltest+set}" = set; then
42471 enableval="$enable_sdltest"
42472
42473 else
42474 enable_sdltest=yes
42475 fi;
42476
42477 if test x$sdl_exec_prefix != x ; then
42478 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42479 if test x${SDL_CONFIG+set} != xset ; then
42480 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42481 fi
42482 fi
42483 if test x$sdl_prefix != x ; then
42484 sdl_args="$sdl_args --prefix=$sdl_prefix"
42485 if test x${SDL_CONFIG+set} != xset ; then
42486 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42487 fi
42488 fi
42489
42490 if test "x$prefix" != xNONE; then
42491 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42492 fi
42493 # Extract the first word of "sdl-config", so it can be a program name with args.
42494 set dummy sdl-config; ac_word=$2
42495 echo "$as_me:$LINENO: checking for $ac_word" >&5
42496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42497 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42498 echo $ECHO_N "(cached) $ECHO_C" >&6
42499 else
42500 case $SDL_CONFIG in
42501 [\\/]* | ?:[\\/]*)
42502 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42503 ;;
42504 *)
42505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42506 for as_dir in $PATH
42507 do
42508 IFS=$as_save_IFS
42509 test -z "$as_dir" && as_dir=.
42510 for ac_exec_ext in '' $ac_executable_extensions; do
42511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42512 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42514 break 2
42515 fi
42516 done
42517 done
42518
42519 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42520 ;;
42521 esac
42522 fi
42523 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42524
42525 if test -n "$SDL_CONFIG"; then
42526 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42527 echo "${ECHO_T}$SDL_CONFIG" >&6
42528 else
42529 echo "$as_me:$LINENO: result: no" >&5
42530 echo "${ECHO_T}no" >&6
42531 fi
42532
42533 min_sdl_version=1.2.0
42534 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42535 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42536 no_sdl=""
42537 if test "$SDL_CONFIG" = "no" ; then
42538 no_sdl=yes
42539 else
42540 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42541 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42542
42543 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42544 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42545 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42546 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42547 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42548 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42549 if test "x$enable_sdltest" = "xyes" ; then
42550 ac_save_CFLAGS="$CFLAGS"
42551 ac_save_CXXFLAGS="$CXXFLAGS"
42552 ac_save_LIBS="$LIBS"
42553 CFLAGS="$CFLAGS $SDL_CFLAGS"
42554 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42555 LIBS="$LIBS $SDL_LIBS"
42556 rm -f conf.sdltest
42557 if test "$cross_compiling" = yes; then
42558 echo $ac_n "cross compiling; assumed OK... $ac_c"
42559 else
42560 cat >conftest.$ac_ext <<_ACEOF
42561 /* confdefs.h. */
42562 _ACEOF
42563 cat confdefs.h >>conftest.$ac_ext
42564 cat >>conftest.$ac_ext <<_ACEOF
42565 /* end confdefs.h. */
42566
42567 #include <stdio.h>
42568 #include <stdlib.h>
42569 #include <string.h>
42570 #include "SDL.h"
42571
42572 char*
42573 my_strdup (char *str)
42574 {
42575 char *new_str;
42576
42577 if (str)
42578 {
42579 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42580 strcpy (new_str, str);
42581 }
42582 else
42583 new_str = NULL;
42584
42585 return new_str;
42586 }
42587
42588 int main (int argc, char *argv[])
42589 {
42590 int major, minor, micro;
42591 char *tmp_version;
42592
42593 /* This hangs on some systems (?)
42594 system ("touch conf.sdltest");
42595 */
42596 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42597
42598 /* HP/UX 9 (%@#!) writes to sscanf strings */
42599 tmp_version = my_strdup("$min_sdl_version");
42600 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42601 printf("%s, bad version string\n", "$min_sdl_version");
42602 exit(1);
42603 }
42604
42605 if (($sdl_major_version > major) ||
42606 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42607 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42608 {
42609 return 0;
42610 }
42611 else
42612 {
42613 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42614 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42615 printf("*** best to upgrade to the required version.\n");
42616 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42617 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42618 printf("*** config.cache before re-running configure\n");
42619 return 1;
42620 }
42621 }
42622
42623
42624 _ACEOF
42625 rm -f conftest$ac_exeext
42626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42627 (eval $ac_link) 2>&5
42628 ac_status=$?
42629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42630 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42632 (eval $ac_try) 2>&5
42633 ac_status=$?
42634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42635 (exit $ac_status); }; }; then
42636 :
42637 else
42638 echo "$as_me: program exited with status $ac_status" >&5
42639 echo "$as_me: failed program was:" >&5
42640 sed 's/^/| /' conftest.$ac_ext >&5
42641
42642 ( exit $ac_status )
42643 no_sdl=yes
42644 fi
42645 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42646 fi
42647 CFLAGS="$ac_save_CFLAGS"
42648 CXXFLAGS="$ac_save_CXXFLAGS"
42649 LIBS="$ac_save_LIBS"
42650 fi
42651 fi
42652 if test "x$no_sdl" = x ; then
42653 echo "$as_me:$LINENO: result: yes" >&5
42654 echo "${ECHO_T}yes" >&6
42655
42656 EXTRALIBS_SDL="$SDL_LIBS"
42657 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42658 cat >>confdefs.h <<\_ACEOF
42659 #define wxUSE_LIBSDL 1
42660 _ACEOF
42661
42662
42663 else
42664 echo "$as_me:$LINENO: result: no" >&5
42665 echo "${ECHO_T}no" >&6
42666 if test "$SDL_CONFIG" = "no" ; then
42667 echo "*** The sdl-config script installed by SDL could not be found"
42668 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42669 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42670 echo "*** full path to sdl-config."
42671 else
42672 if test -f conf.sdltest ; then
42673 :
42674 else
42675 echo "*** Could not run SDL test program, checking why..."
42676 CFLAGS="$CFLAGS $SDL_CFLAGS"
42677 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42678 LIBS="$LIBS $SDL_LIBS"
42679 cat >conftest.$ac_ext <<_ACEOF
42680 /* confdefs.h. */
42681 _ACEOF
42682 cat confdefs.h >>conftest.$ac_ext
42683 cat >>conftest.$ac_ext <<_ACEOF
42684 /* end confdefs.h. */
42685
42686 #include <stdio.h>
42687 #include "SDL.h"
42688
42689 int main(int argc, char *argv[])
42690 { return 0; }
42691 #undef main
42692 #define main K_and_R_C_main
42693
42694 int
42695 main ()
42696 {
42697 return 0;
42698 ;
42699 return 0;
42700 }
42701 _ACEOF
42702 rm -f conftest.$ac_objext conftest$ac_exeext
42703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42704 (eval $ac_link) 2>conftest.er1
42705 ac_status=$?
42706 grep -v '^ *+' conftest.er1 >conftest.err
42707 rm -f conftest.er1
42708 cat conftest.err >&5
42709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42710 (exit $ac_status); } &&
42711 { ac_try='test -z "$ac_cxx_werror_flag"
42712 || test ! -s conftest.err'
42713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42714 (eval $ac_try) 2>&5
42715 ac_status=$?
42716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42717 (exit $ac_status); }; } &&
42718 { ac_try='test -s conftest$ac_exeext'
42719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42720 (eval $ac_try) 2>&5
42721 ac_status=$?
42722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42723 (exit $ac_status); }; }; then
42724 echo "*** The test program compiled, but did not run. This usually means"
42725 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42726 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42727 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42728 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42729 echo "*** is required on your system"
42730 echo "***"
42731 echo "*** If you have an old version installed, it is best to remove it, although"
42732 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42733 else
42734 echo "$as_me: failed program was:" >&5
42735 sed 's/^/| /' conftest.$ac_ext >&5
42736
42737 echo "*** The test program failed to compile or link. See the file config.log for the"
42738 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42739 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42740 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42741 fi
42742 rm -f conftest.err conftest.$ac_objext \
42743 conftest$ac_exeext conftest.$ac_ext
42744 CFLAGS="$ac_save_CFLAGS"
42745 CXXFLAGS="$ac_save_CXXFLAGS"
42746 LIBS="$ac_save_LIBS"
42747 fi
42748 fi
42749 SDL_CFLAGS=""
42750 SDL_LIBS=""
42751 wxUSE_LIBSDL="no"
42752 fi
42753
42754
42755 rm -f conf.sdltest
42756
42757 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42758 WITH_PLUGIN_SDL=1
42759 fi
42760 fi
42761 fi
42762
42763 cat >>confdefs.h <<\_ACEOF
42764 #define wxUSE_SOUND 1
42765 _ACEOF
42766
42767 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42768 fi
42769
42770 if test "$WXGTK20" = 1; then
42771 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42772 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42773
42774
42775 pkg_failed=no
42776 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42777 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42778
42779 if test -n "$PKG_CONFIG"; then
42780 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42781 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42782 else
42783 if test -n "$PKG_CONFIG" && \
42784 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42785 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42786 ac_status=$?
42787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42788 (exit $ac_status); }; then
42789 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42790 else
42791 pkg_failed=yes
42792 fi
42793 fi
42794 else
42795 pkg_failed=untried
42796 fi
42797 if test -n "$PKG_CONFIG"; then
42798 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42799 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42800 else
42801 if test -n "$PKG_CONFIG" && \
42802 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42803 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42804 ac_status=$?
42805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42806 (exit $ac_status); }; then
42807 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42808 else
42809 pkg_failed=yes
42810 fi
42811 fi
42812 else
42813 pkg_failed=untried
42814 fi
42815
42816
42817
42818 if test $pkg_failed = yes; then
42819
42820 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42821 _pkg_short_errors_supported=yes
42822 else
42823 _pkg_short_errors_supported=no
42824 fi
42825 if test $_pkg_short_errors_supported = yes; then
42826 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42827 else
42828 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42829 fi
42830 # Put the nasty error message in config.log where it belongs
42831 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42832
42833
42834 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42835 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42836 wxUSE_LIBGNOMEPRINT="no"
42837
42838
42839 elif test $pkg_failed = untried; then
42840
42841 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42842 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42843 wxUSE_LIBGNOMEPRINT="no"
42844
42845
42846 else
42847 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42848 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42849 echo "$as_me:$LINENO: result: yes" >&5
42850 echo "${ECHO_T}yes" >&6
42851
42852 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42853 cat >>confdefs.h <<\_ACEOF
42854 #define wxUSE_LIBGNOMEPRINT 1
42855 _ACEOF
42856
42857
42858 fi
42859 fi
42860 fi
42861 fi
42862
42863 if test "$WXGTK20" = 1; then
42864 if test "$wxUSE_MIMETYPE" = "yes" ; then
42865 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42866
42867
42868 pkg_failed=no
42869 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42870 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42871
42872 if test -n "$PKG_CONFIG"; then
42873 if test -n "$GNOMEVFS_CFLAGS"; then
42874 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42875 else
42876 if test -n "$PKG_CONFIG" && \
42877 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42878 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42879 ac_status=$?
42880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42881 (exit $ac_status); }; then
42882 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42883 else
42884 pkg_failed=yes
42885 fi
42886 fi
42887 else
42888 pkg_failed=untried
42889 fi
42890 if test -n "$PKG_CONFIG"; then
42891 if test -n "$GNOMEVFS_LIBS"; then
42892 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42893 else
42894 if test -n "$PKG_CONFIG" && \
42895 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42896 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42897 ac_status=$?
42898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42899 (exit $ac_status); }; then
42900 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42901 else
42902 pkg_failed=yes
42903 fi
42904 fi
42905 else
42906 pkg_failed=untried
42907 fi
42908
42909
42910
42911 if test $pkg_failed = yes; then
42912
42913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42914 _pkg_short_errors_supported=yes
42915 else
42916 _pkg_short_errors_supported=no
42917 fi
42918 if test $_pkg_short_errors_supported = yes; then
42919 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42920 else
42921 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42922 fi
42923 # Put the nasty error message in config.log where it belongs
42924 echo "$GNOMEVFS_PKG_ERRORS" >&5
42925
42926
42927 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42928 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42929 wxUSE_LIBGNOMEVFS="no"
42930
42931
42932 elif test $pkg_failed = untried; then
42933
42934 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42935 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42936 wxUSE_LIBGNOMEVFS="no"
42937
42938
42939 else
42940 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42941 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42942 echo "$as_me:$LINENO: result: yes" >&5
42943 echo "${ECHO_T}yes" >&6
42944
42945 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42946 cat >>confdefs.h <<\_ACEOF
42947 #define wxUSE_LIBGNOMEVFS 1
42948 _ACEOF
42949
42950
42951 fi
42952 fi
42953 fi
42954 fi
42955
42956 if test "$WXGTK20" = 1; then
42957 if test "$wxUSE_LIBHILDON" = "yes" ; then
42958
42959 pkg_failed=no
42960 echo "$as_me:$LINENO: checking for HILDON" >&5
42961 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42962
42963 if test -n "$PKG_CONFIG"; then
42964 if test -n "$HILDON_CFLAGS"; then
42965 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42966 else
42967 if test -n "$PKG_CONFIG" && \
42968 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42969 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42970 ac_status=$?
42971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42972 (exit $ac_status); }; then
42973 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42974 else
42975 pkg_failed=yes
42976 fi
42977 fi
42978 else
42979 pkg_failed=untried
42980 fi
42981 if test -n "$PKG_CONFIG"; then
42982 if test -n "$HILDON_LIBS"; then
42983 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42984 else
42985 if test -n "$PKG_CONFIG" && \
42986 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42987 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42988 ac_status=$?
42989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42990 (exit $ac_status); }; then
42991 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42992 else
42993 pkg_failed=yes
42994 fi
42995 fi
42996 else
42997 pkg_failed=untried
42998 fi
42999
43000
43001
43002 if test $pkg_failed = yes; then
43003
43004 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43005 _pkg_short_errors_supported=yes
43006 else
43007 _pkg_short_errors_supported=no
43008 fi
43009 if test $_pkg_short_errors_supported = yes; then
43010 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43011 else
43012 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43013 fi
43014 # Put the nasty error message in config.log where it belongs
43015 echo "$HILDON_PKG_ERRORS" >&5
43016
43017
43018 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43019 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43020 wxUSE_LIBHILDON="no"
43021
43022
43023 elif test $pkg_failed = untried; then
43024
43025 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43026 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43027 wxUSE_LIBHILDON="no"
43028
43029
43030 else
43031 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43032 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43033 echo "$as_me:$LINENO: result: yes" >&5
43034 echo "${ECHO_T}yes" >&6
43035
43036 EXTRALIBS_HILDON="$HILDON_LIBS"
43037 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43038 cat >>confdefs.h <<\_ACEOF
43039 #define wxUSE_LIBHILDON 1
43040 _ACEOF
43041
43042
43043 fi
43044 fi
43045 fi
43046
43047 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43048 cat >>confdefs.h <<\_ACEOF
43049 #define wxUSE_CMDLINE_PARSER 1
43050 _ACEOF
43051
43052 fi
43053
43054 if test "$wxUSE_STOPWATCH" = "yes"; then
43055 cat >>confdefs.h <<\_ACEOF
43056 #define wxUSE_STOPWATCH 1
43057 _ACEOF
43058
43059 fi
43060
43061 if test "$wxUSE_DATETIME" = "yes"; then
43062 cat >>confdefs.h <<\_ACEOF
43063 #define wxUSE_DATETIME 1
43064 _ACEOF
43065
43066 fi
43067
43068 if test "$wxUSE_FILE" = "yes"; then
43069 cat >>confdefs.h <<\_ACEOF
43070 #define wxUSE_FILE 1
43071 _ACEOF
43072
43073 fi
43074
43075 if test "$wxUSE_FFILE" = "yes"; then
43076 cat >>confdefs.h <<\_ACEOF
43077 #define wxUSE_FFILE 1
43078 _ACEOF
43079
43080 fi
43081
43082 if test "$wxUSE_FILESYSTEM" = "yes"; then
43083 cat >>confdefs.h <<\_ACEOF
43084 #define wxUSE_FILESYSTEM 1
43085 _ACEOF
43086
43087 fi
43088
43089 if test "$wxUSE_FS_ZIP" = "yes"; then
43090 cat >>confdefs.h <<\_ACEOF
43091 #define wxUSE_FS_ZIP 1
43092 _ACEOF
43093
43094 fi
43095
43096 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43097 cat >>confdefs.h <<\_ACEOF
43098 #define wxUSE_ARCHIVE_STREAMS 1
43099 _ACEOF
43100
43101 fi
43102
43103 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43104 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43105 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43106 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43107 elif test "$wxUSE_ZLIB" = "no"; then
43108 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43109 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43110 else
43111 cat >>confdefs.h <<\_ACEOF
43112 #define wxUSE_ZIPSTREAM 1
43113 _ACEOF
43114
43115 fi
43116 fi
43117
43118 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43119 if test "$USE_UNIX" != 1; then
43120 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43121 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43122 wxUSE_ON_FATAL_EXCEPTION=no
43123 else
43124 cat >>confdefs.h <<\_ACEOF
43125 #define wxUSE_ON_FATAL_EXCEPTION 1
43126 _ACEOF
43127
43128 fi
43129 fi
43130
43131 if test "$wxUSE_STACKWALKER" = "yes"; then
43132 cat >>confdefs.h <<\_ACEOF
43133 #define wxUSE_STACKWALKER 1
43134 _ACEOF
43135
43136 fi
43137
43138 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43139 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43140 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43141 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43142 wxUSE_DEBUGREPORT=no
43143 else
43144 cat >>confdefs.h <<\_ACEOF
43145 #define wxUSE_DEBUGREPORT 1
43146 _ACEOF
43147
43148 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43149 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43150 fi
43151 fi
43152 fi
43153
43154 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43155 cat >>confdefs.h <<\_ACEOF
43156 #define wxUSE_SNGLINST_CHECKER 1
43157 _ACEOF
43158
43159 fi
43160
43161 if test "$wxUSE_BUSYINFO" = "yes"; then
43162 cat >>confdefs.h <<\_ACEOF
43163 #define wxUSE_BUSYINFO 1
43164 _ACEOF
43165
43166 fi
43167
43168 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43169 cat >>confdefs.h <<\_ACEOF
43170 #define wxUSE_STD_IOSTREAM 1
43171 _ACEOF
43172
43173 fi
43174
43175 if test "$wxUSE_STD_STRING" = "yes"; then
43176 cat >>confdefs.h <<\_ACEOF
43177 #define wxUSE_STD_STRING 1
43178 _ACEOF
43179
43180 fi
43181
43182 if test "$wxUSE_STDPATHS" = "yes"; then
43183 cat >>confdefs.h <<\_ACEOF
43184 #define wxUSE_STDPATHS 1
43185 _ACEOF
43186
43187 fi
43188
43189 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43190 cat >>confdefs.h <<\_ACEOF
43191 #define wxUSE_TEXTBUFFER 1
43192 _ACEOF
43193
43194 fi
43195
43196 if test "$wxUSE_TEXTFILE" = "yes"; then
43197 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43198 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43199 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43200 else
43201 cat >>confdefs.h <<\_ACEOF
43202 #define wxUSE_TEXTFILE 1
43203 _ACEOF
43204
43205 fi
43206 fi
43207
43208 if test "$wxUSE_CONFIG" = "yes" ; then
43209 if test "$wxUSE_TEXTFILE" != "yes"; then
43210 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43211 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43212 else
43213 cat >>confdefs.h <<\_ACEOF
43214 #define wxUSE_CONFIG 1
43215 _ACEOF
43216
43217 cat >>confdefs.h <<\_ACEOF
43218 #define wxUSE_CONFIG_NATIVE 1
43219 _ACEOF
43220
43221 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43222 fi
43223 fi
43224
43225 if test "$wxUSE_INTL" = "yes" ; then
43226 if test "$wxUSE_FILE" != "yes"; then
43227 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43228 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43229 else
43230 cat >>confdefs.h <<\_ACEOF
43231 #define wxUSE_INTL 1
43232 _ACEOF
43233
43234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43235 GUIDIST="$GUIDIST INTL_DIST"
43236 fi
43237 fi
43238
43239 if test "$wxUSE_LOG" = "yes"; then
43240 cat >>confdefs.h <<\_ACEOF
43241 #define wxUSE_LOG 1
43242 _ACEOF
43243
43244
43245 if test "$wxUSE_LOGGUI" = "yes"; then
43246 cat >>confdefs.h <<\_ACEOF
43247 #define wxUSE_LOGGUI 1
43248 _ACEOF
43249
43250 fi
43251
43252 if test "$wxUSE_LOGWINDOW" = "yes"; then
43253 cat >>confdefs.h <<\_ACEOF
43254 #define wxUSE_LOGWINDOW 1
43255 _ACEOF
43256
43257 fi
43258
43259 if test "$wxUSE_LOGDIALOG" = "yes"; then
43260 cat >>confdefs.h <<\_ACEOF
43261 #define wxUSE_LOG_DIALOG 1
43262 _ACEOF
43263
43264 fi
43265
43266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43267 fi
43268
43269 if test "$wxUSE_LONGLONG" = "yes"; then
43270 cat >>confdefs.h <<\_ACEOF
43271 #define wxUSE_LONGLONG 1
43272 _ACEOF
43273
43274 fi
43275
43276 if test "$wxUSE_GEOMETRY" = "yes"; then
43277 cat >>confdefs.h <<\_ACEOF
43278 #define wxUSE_GEOMETRY 1
43279 _ACEOF
43280
43281 fi
43282
43283 if test "$wxUSE_STREAMS" = "yes" ; then
43284 cat >>confdefs.h <<\_ACEOF
43285 #define wxUSE_STREAMS 1
43286 _ACEOF
43287
43288 fi
43289
43290 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43291 cat >>confdefs.h <<\_ACEOF
43292 #define wxUSE_PRINTF_POS_PARAMS 1
43293 _ACEOF
43294
43295 fi
43296
43297
43298
43299 if test "$wxUSE_DATETIME" = "yes"; then
43300
43301 for ac_func in strptime
43302 do
43303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43304 echo "$as_me:$LINENO: checking for $ac_func" >&5
43305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43306 if eval "test \"\${$as_ac_var+set}\" = set"; then
43307 echo $ECHO_N "(cached) $ECHO_C" >&6
43308 else
43309 cat >conftest.$ac_ext <<_ACEOF
43310 /* confdefs.h. */
43311 _ACEOF
43312 cat confdefs.h >>conftest.$ac_ext
43313 cat >>conftest.$ac_ext <<_ACEOF
43314 /* end confdefs.h. */
43315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43317 #define $ac_func innocuous_$ac_func
43318
43319 /* System header to define __stub macros and hopefully few prototypes,
43320 which can conflict with char $ac_func (); below.
43321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43322 <limits.h> exists even on freestanding compilers. */
43323
43324 #ifdef __STDC__
43325 # include <limits.h>
43326 #else
43327 # include <assert.h>
43328 #endif
43329
43330 #undef $ac_func
43331
43332 /* Override any gcc2 internal prototype to avoid an error. */
43333 #ifdef __cplusplus
43334 extern "C"
43335 {
43336 #endif
43337 /* We use char because int might match the return type of a gcc2
43338 builtin and then its argument prototype would still apply. */
43339 char $ac_func ();
43340 /* The GNU C library defines this for functions which it implements
43341 to always fail with ENOSYS. Some functions are actually named
43342 something starting with __ and the normal name is an alias. */
43343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43344 choke me
43345 #else
43346 char (*f) () = $ac_func;
43347 #endif
43348 #ifdef __cplusplus
43349 }
43350 #endif
43351
43352 int
43353 main ()
43354 {
43355 return f != $ac_func;
43356 ;
43357 return 0;
43358 }
43359 _ACEOF
43360 rm -f conftest.$ac_objext conftest$ac_exeext
43361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43362 (eval $ac_link) 2>conftest.er1
43363 ac_status=$?
43364 grep -v '^ *+' conftest.er1 >conftest.err
43365 rm -f conftest.er1
43366 cat conftest.err >&5
43367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43368 (exit $ac_status); } &&
43369 { ac_try='test -z "$ac_cxx_werror_flag"
43370 || test ! -s conftest.err'
43371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43372 (eval $ac_try) 2>&5
43373 ac_status=$?
43374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43375 (exit $ac_status); }; } &&
43376 { ac_try='test -s conftest$ac_exeext'
43377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43378 (eval $ac_try) 2>&5
43379 ac_status=$?
43380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43381 (exit $ac_status); }; }; then
43382 eval "$as_ac_var=yes"
43383 else
43384 echo "$as_me: failed program was:" >&5
43385 sed 's/^/| /' conftest.$ac_ext >&5
43386
43387 eval "$as_ac_var=no"
43388 fi
43389 rm -f conftest.err conftest.$ac_objext \
43390 conftest$ac_exeext conftest.$ac_ext
43391 fi
43392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43394 if test `eval echo '${'$as_ac_var'}'` = yes; then
43395 cat >>confdefs.h <<_ACEOF
43396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43397 _ACEOF
43398
43399 fi
43400 done
43401
43402 if test "$ac_cv_func_strptime" = "yes"; then
43403 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43404 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43405 if test "${wx_cv_func_strptime_decl+set}" = set; then
43406 echo $ECHO_N "(cached) $ECHO_C" >&6
43407 else
43408
43409 cat >conftest.$ac_ext <<_ACEOF
43410 /* confdefs.h. */
43411 _ACEOF
43412 cat confdefs.h >>conftest.$ac_ext
43413 cat >>conftest.$ac_ext <<_ACEOF
43414 /* end confdefs.h. */
43415
43416 #include <time.h>
43417
43418 int
43419 main ()
43420 {
43421
43422 struct tm t;
43423 strptime("foo", "bar", &t);
43424
43425 ;
43426 return 0;
43427 }
43428 _ACEOF
43429 rm -f conftest.$ac_objext
43430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43431 (eval $ac_compile) 2>conftest.er1
43432 ac_status=$?
43433 grep -v '^ *+' conftest.er1 >conftest.err
43434 rm -f conftest.er1
43435 cat conftest.err >&5
43436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43437 (exit $ac_status); } &&
43438 { ac_try='test -z "$ac_cxx_werror_flag"
43439 || test ! -s conftest.err'
43440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43441 (eval $ac_try) 2>&5
43442 ac_status=$?
43443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43444 (exit $ac_status); }; } &&
43445 { ac_try='test -s conftest.$ac_objext'
43446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43447 (eval $ac_try) 2>&5
43448 ac_status=$?
43449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43450 (exit $ac_status); }; }; then
43451 wx_cv_func_strptime_decl=yes
43452 else
43453 echo "$as_me: failed program was:" >&5
43454 sed 's/^/| /' conftest.$ac_ext >&5
43455
43456 wx_cv_func_strptime_decl=no
43457
43458 fi
43459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43460
43461
43462 fi
43463 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43464 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43465 fi
43466 if test "$wx_cv_func_strptime_decl" = "yes"; then
43467 cat >>confdefs.h <<\_ACEOF
43468 #define HAVE_STRPTIME_DECL 1
43469 _ACEOF
43470
43471 fi
43472
43473 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43474 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43475 if test "${wx_cv_var_timezone+set}" = set; then
43476 echo $ECHO_N "(cached) $ECHO_C" >&6
43477 else
43478
43479 cat >conftest.$ac_ext <<_ACEOF
43480 /* confdefs.h. */
43481 _ACEOF
43482 cat confdefs.h >>conftest.$ac_ext
43483 cat >>conftest.$ac_ext <<_ACEOF
43484 /* end confdefs.h. */
43485
43486 #include <time.h>
43487
43488 int
43489 main ()
43490 {
43491
43492 int tz;
43493 tz = timezone;
43494
43495 ;
43496 return 0;
43497 }
43498 _ACEOF
43499 rm -f conftest.$ac_objext
43500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43501 (eval $ac_compile) 2>conftest.er1
43502 ac_status=$?
43503 grep -v '^ *+' conftest.er1 >conftest.err
43504 rm -f conftest.er1
43505 cat conftest.err >&5
43506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43507 (exit $ac_status); } &&
43508 { ac_try='test -z "$ac_cxx_werror_flag"
43509 || test ! -s conftest.err'
43510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43511 (eval $ac_try) 2>&5
43512 ac_status=$?
43513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43514 (exit $ac_status); }; } &&
43515 { ac_try='test -s conftest.$ac_objext'
43516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43517 (eval $ac_try) 2>&5
43518 ac_status=$?
43519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43520 (exit $ac_status); }; }; then
43521
43522 wx_cv_var_timezone=timezone
43523
43524 else
43525 echo "$as_me: failed program was:" >&5
43526 sed 's/^/| /' conftest.$ac_ext >&5
43527
43528
43529 cat >conftest.$ac_ext <<_ACEOF
43530 /* confdefs.h. */
43531 _ACEOF
43532 cat confdefs.h >>conftest.$ac_ext
43533 cat >>conftest.$ac_ext <<_ACEOF
43534 /* end confdefs.h. */
43535
43536 #include <time.h>
43537
43538 int
43539 main ()
43540 {
43541
43542 int tz;
43543 tz = _timezone;
43544
43545 ;
43546 return 0;
43547 }
43548 _ACEOF
43549 rm -f conftest.$ac_objext
43550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43551 (eval $ac_compile) 2>conftest.er1
43552 ac_status=$?
43553 grep -v '^ *+' conftest.er1 >conftest.err
43554 rm -f conftest.er1
43555 cat conftest.err >&5
43556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43557 (exit $ac_status); } &&
43558 { ac_try='test -z "$ac_cxx_werror_flag"
43559 || test ! -s conftest.err'
43560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43561 (eval $ac_try) 2>&5
43562 ac_status=$?
43563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43564 (exit $ac_status); }; } &&
43565 { ac_try='test -s conftest.$ac_objext'
43566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43567 (eval $ac_try) 2>&5
43568 ac_status=$?
43569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43570 (exit $ac_status); }; }; then
43571
43572 wx_cv_var_timezone=_timezone
43573
43574 else
43575 echo "$as_me: failed program was:" >&5
43576 sed 's/^/| /' conftest.$ac_ext >&5
43577
43578
43579 cat >conftest.$ac_ext <<_ACEOF
43580 /* confdefs.h. */
43581 _ACEOF
43582 cat confdefs.h >>conftest.$ac_ext
43583 cat >>conftest.$ac_ext <<_ACEOF
43584 /* end confdefs.h. */
43585
43586 #include <time.h>
43587
43588 int
43589 main ()
43590 {
43591
43592 int tz;
43593 tz = __timezone;
43594
43595 ;
43596 return 0;
43597 }
43598 _ACEOF
43599 rm -f conftest.$ac_objext
43600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43601 (eval $ac_compile) 2>conftest.er1
43602 ac_status=$?
43603 grep -v '^ *+' conftest.er1 >conftest.err
43604 rm -f conftest.er1
43605 cat conftest.err >&5
43606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43607 (exit $ac_status); } &&
43608 { ac_try='test -z "$ac_cxx_werror_flag"
43609 || test ! -s conftest.err'
43610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43611 (eval $ac_try) 2>&5
43612 ac_status=$?
43613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43614 (exit $ac_status); }; } &&
43615 { ac_try='test -s conftest.$ac_objext'
43616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43617 (eval $ac_try) 2>&5
43618 ac_status=$?
43619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43620 (exit $ac_status); }; }; then
43621
43622 wx_cv_var_timezone=__timezone
43623
43624 else
43625 echo "$as_me: failed program was:" >&5
43626 sed 's/^/| /' conftest.$ac_ext >&5
43627
43628
43629 if test "$USE_DOS" = 0 ; then
43630 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43631 echo "$as_me: WARNING: no timezone variable" >&2;}
43632 fi
43633
43634
43635 fi
43636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43637
43638
43639 fi
43640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43641
43642
43643 fi
43644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43645
43646
43647 fi
43648 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43649 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43650
43651 if test "x$wx_cv_var_timezone" != x ; then
43652 cat >>confdefs.h <<_ACEOF
43653 #define WX_TIMEZONE $wx_cv_var_timezone
43654 _ACEOF
43655
43656 fi
43657
43658
43659 for ac_func in localtime
43660 do
43661 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43662 echo "$as_me:$LINENO: checking for $ac_func" >&5
43663 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43664 if eval "test \"\${$as_ac_var+set}\" = set"; then
43665 echo $ECHO_N "(cached) $ECHO_C" >&6
43666 else
43667 cat >conftest.$ac_ext <<_ACEOF
43668 /* confdefs.h. */
43669 _ACEOF
43670 cat confdefs.h >>conftest.$ac_ext
43671 cat >>conftest.$ac_ext <<_ACEOF
43672 /* end confdefs.h. */
43673 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43674 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43675 #define $ac_func innocuous_$ac_func
43676
43677 /* System header to define __stub macros and hopefully few prototypes,
43678 which can conflict with char $ac_func (); below.
43679 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43680 <limits.h> exists even on freestanding compilers. */
43681
43682 #ifdef __STDC__
43683 # include <limits.h>
43684 #else
43685 # include <assert.h>
43686 #endif
43687
43688 #undef $ac_func
43689
43690 /* Override any gcc2 internal prototype to avoid an error. */
43691 #ifdef __cplusplus
43692 extern "C"
43693 {
43694 #endif
43695 /* We use char because int might match the return type of a gcc2
43696 builtin and then its argument prototype would still apply. */
43697 char $ac_func ();
43698 /* The GNU C library defines this for functions which it implements
43699 to always fail with ENOSYS. Some functions are actually named
43700 something starting with __ and the normal name is an alias. */
43701 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43702 choke me
43703 #else
43704 char (*f) () = $ac_func;
43705 #endif
43706 #ifdef __cplusplus
43707 }
43708 #endif
43709
43710 int
43711 main ()
43712 {
43713 return f != $ac_func;
43714 ;
43715 return 0;
43716 }
43717 _ACEOF
43718 rm -f conftest.$ac_objext conftest$ac_exeext
43719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43720 (eval $ac_link) 2>conftest.er1
43721 ac_status=$?
43722 grep -v '^ *+' conftest.er1 >conftest.err
43723 rm -f conftest.er1
43724 cat conftest.err >&5
43725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43726 (exit $ac_status); } &&
43727 { ac_try='test -z "$ac_cxx_werror_flag"
43728 || test ! -s conftest.err'
43729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43730 (eval $ac_try) 2>&5
43731 ac_status=$?
43732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43733 (exit $ac_status); }; } &&
43734 { ac_try='test -s conftest$ac_exeext'
43735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43736 (eval $ac_try) 2>&5
43737 ac_status=$?
43738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43739 (exit $ac_status); }; }; then
43740 eval "$as_ac_var=yes"
43741 else
43742 echo "$as_me: failed program was:" >&5
43743 sed 's/^/| /' conftest.$ac_ext >&5
43744
43745 eval "$as_ac_var=no"
43746 fi
43747 rm -f conftest.err conftest.$ac_objext \
43748 conftest$ac_exeext conftest.$ac_ext
43749 fi
43750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43751 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43752 if test `eval echo '${'$as_ac_var'}'` = yes; then
43753 cat >>confdefs.h <<_ACEOF
43754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43755 _ACEOF
43756
43757 fi
43758 done
43759
43760
43761 if test "$ac_cv_func_localtime" = "yes"; then
43762 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43763 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43764 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43765 echo $ECHO_N "(cached) $ECHO_C" >&6
43766 else
43767
43768 cat >conftest.$ac_ext <<_ACEOF
43769 /* confdefs.h. */
43770 _ACEOF
43771 cat confdefs.h >>conftest.$ac_ext
43772 cat >>conftest.$ac_ext <<_ACEOF
43773 /* end confdefs.h. */
43774
43775 #include <time.h>
43776
43777 int
43778 main ()
43779 {
43780
43781 struct tm tm;
43782 tm.tm_gmtoff++;
43783
43784 ;
43785 return 0;
43786 }
43787 _ACEOF
43788 rm -f conftest.$ac_objext
43789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43790 (eval $ac_compile) 2>conftest.er1
43791 ac_status=$?
43792 grep -v '^ *+' conftest.er1 >conftest.err
43793 rm -f conftest.er1
43794 cat conftest.err >&5
43795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43796 (exit $ac_status); } &&
43797 { ac_try='test -z "$ac_cxx_werror_flag"
43798 || test ! -s conftest.err'
43799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43800 (eval $ac_try) 2>&5
43801 ac_status=$?
43802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43803 (exit $ac_status); }; } &&
43804 { ac_try='test -s conftest.$ac_objext'
43805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43806 (eval $ac_try) 2>&5
43807 ac_status=$?
43808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43809 (exit $ac_status); }; }; then
43810
43811 wx_cv_struct_tm_has_gmtoff=yes
43812
43813 else
43814 echo "$as_me: failed program was:" >&5
43815 sed 's/^/| /' conftest.$ac_ext >&5
43816
43817 wx_cv_struct_tm_has_gmtoff=no
43818
43819 fi
43820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43821
43822 fi
43823 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43824 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43825 fi
43826
43827 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43828 cat >>confdefs.h <<\_ACEOF
43829 #define WX_GMTOFF_IN_TM 1
43830 _ACEOF
43831
43832 fi
43833
43834
43835
43836 for ac_func in gettimeofday ftime
43837 do
43838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43839 echo "$as_me:$LINENO: checking for $ac_func" >&5
43840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43841 if eval "test \"\${$as_ac_var+set}\" = set"; then
43842 echo $ECHO_N "(cached) $ECHO_C" >&6
43843 else
43844 cat >conftest.$ac_ext <<_ACEOF
43845 /* confdefs.h. */
43846 _ACEOF
43847 cat confdefs.h >>conftest.$ac_ext
43848 cat >>conftest.$ac_ext <<_ACEOF
43849 /* end confdefs.h. */
43850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43852 #define $ac_func innocuous_$ac_func
43853
43854 /* System header to define __stub macros and hopefully few prototypes,
43855 which can conflict with char $ac_func (); below.
43856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43857 <limits.h> exists even on freestanding compilers. */
43858
43859 #ifdef __STDC__
43860 # include <limits.h>
43861 #else
43862 # include <assert.h>
43863 #endif
43864
43865 #undef $ac_func
43866
43867 /* Override any gcc2 internal prototype to avoid an error. */
43868 #ifdef __cplusplus
43869 extern "C"
43870 {
43871 #endif
43872 /* We use char because int might match the return type of a gcc2
43873 builtin and then its argument prototype would still apply. */
43874 char $ac_func ();
43875 /* The GNU C library defines this for functions which it implements
43876 to always fail with ENOSYS. Some functions are actually named
43877 something starting with __ and the normal name is an alias. */
43878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43879 choke me
43880 #else
43881 char (*f) () = $ac_func;
43882 #endif
43883 #ifdef __cplusplus
43884 }
43885 #endif
43886
43887 int
43888 main ()
43889 {
43890 return f != $ac_func;
43891 ;
43892 return 0;
43893 }
43894 _ACEOF
43895 rm -f conftest.$ac_objext conftest$ac_exeext
43896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43897 (eval $ac_link) 2>conftest.er1
43898 ac_status=$?
43899 grep -v '^ *+' conftest.er1 >conftest.err
43900 rm -f conftest.er1
43901 cat conftest.err >&5
43902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43903 (exit $ac_status); } &&
43904 { ac_try='test -z "$ac_cxx_werror_flag"
43905 || test ! -s conftest.err'
43906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43907 (eval $ac_try) 2>&5
43908 ac_status=$?
43909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43910 (exit $ac_status); }; } &&
43911 { ac_try='test -s conftest$ac_exeext'
43912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43913 (eval $ac_try) 2>&5
43914 ac_status=$?
43915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43916 (exit $ac_status); }; }; then
43917 eval "$as_ac_var=yes"
43918 else
43919 echo "$as_me: failed program was:" >&5
43920 sed 's/^/| /' conftest.$ac_ext >&5
43921
43922 eval "$as_ac_var=no"
43923 fi
43924 rm -f conftest.err conftest.$ac_objext \
43925 conftest$ac_exeext conftest.$ac_ext
43926 fi
43927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43929 if test `eval echo '${'$as_ac_var'}'` = yes; then
43930 cat >>confdefs.h <<_ACEOF
43931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43932 _ACEOF
43933 break
43934 fi
43935 done
43936
43937
43938 if test "$ac_cv_func_gettimeofday" = "yes"; then
43939 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43940 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43941 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43942 echo $ECHO_N "(cached) $ECHO_C" >&6
43943 else
43944
43945 cat >conftest.$ac_ext <<_ACEOF
43946 /* confdefs.h. */
43947 _ACEOF
43948 cat confdefs.h >>conftest.$ac_ext
43949 cat >>conftest.$ac_ext <<_ACEOF
43950 /* end confdefs.h. */
43951
43952 #include <sys/time.h>
43953 #include <unistd.h>
43954
43955 int
43956 main ()
43957 {
43958
43959 struct timeval tv;
43960 gettimeofday(&tv, NULL);
43961
43962 ;
43963 return 0;
43964 }
43965 _ACEOF
43966 rm -f conftest.$ac_objext
43967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43968 (eval $ac_compile) 2>conftest.er1
43969 ac_status=$?
43970 grep -v '^ *+' conftest.er1 >conftest.err
43971 rm -f conftest.er1
43972 cat conftest.err >&5
43973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43974 (exit $ac_status); } &&
43975 { ac_try='test -z "$ac_cxx_werror_flag"
43976 || test ! -s conftest.err'
43977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43978 (eval $ac_try) 2>&5
43979 ac_status=$?
43980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43981 (exit $ac_status); }; } &&
43982 { ac_try='test -s conftest.$ac_objext'
43983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43984 (eval $ac_try) 2>&5
43985 ac_status=$?
43986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43987 (exit $ac_status); }; }; then
43988 wx_cv_func_gettimeofday_has_2_args=yes
43989 else
43990 echo "$as_me: failed program was:" >&5
43991 sed 's/^/| /' conftest.$ac_ext >&5
43992
43993 cat >conftest.$ac_ext <<_ACEOF
43994 /* confdefs.h. */
43995 _ACEOF
43996 cat confdefs.h >>conftest.$ac_ext
43997 cat >>conftest.$ac_ext <<_ACEOF
43998 /* end confdefs.h. */
43999
44000 #include <sys/time.h>
44001 #include <unistd.h>
44002
44003 int
44004 main ()
44005 {
44006
44007 struct timeval tv;
44008 gettimeofday(&tv);
44009
44010 ;
44011 return 0;
44012 }
44013 _ACEOF
44014 rm -f conftest.$ac_objext
44015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44016 (eval $ac_compile) 2>conftest.er1
44017 ac_status=$?
44018 grep -v '^ *+' conftest.er1 >conftest.err
44019 rm -f conftest.er1
44020 cat conftest.err >&5
44021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44022 (exit $ac_status); } &&
44023 { ac_try='test -z "$ac_cxx_werror_flag"
44024 || test ! -s conftest.err'
44025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44026 (eval $ac_try) 2>&5
44027 ac_status=$?
44028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44029 (exit $ac_status); }; } &&
44030 { ac_try='test -s conftest.$ac_objext'
44031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44032 (eval $ac_try) 2>&5
44033 ac_status=$?
44034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44035 (exit $ac_status); }; }; then
44036 wx_cv_func_gettimeofday_has_2_args=no
44037 else
44038 echo "$as_me: failed program was:" >&5
44039 sed 's/^/| /' conftest.$ac_ext >&5
44040
44041
44042 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44043 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44044 wx_cv_func_gettimeofday_has_2_args=unknown
44045
44046
44047 fi
44048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44049
44050 fi
44051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44052
44053 fi
44054 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44055 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44056
44057 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44058 cat >>confdefs.h <<\_ACEOF
44059 #define WX_GETTIMEOFDAY_NO_TZ 1
44060 _ACEOF
44061
44062 fi
44063 fi
44064
44065 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44066 fi
44067
44068
44069 if test "$wxUSE_SOCKETS" = "yes"; then
44070 if test "$wxUSE_MGL" = "1"; then
44071 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44072 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44073 wxUSE_SOCKETS="no"
44074 fi
44075 fi
44076
44077 if test "$wxUSE_SOCKETS" = "yes"; then
44078 if test "$TOOLKIT" != "MSW"; then
44079 echo "$as_me:$LINENO: checking for socket" >&5
44080 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44081 if test "${ac_cv_func_socket+set}" = set; then
44082 echo $ECHO_N "(cached) $ECHO_C" >&6
44083 else
44084 cat >conftest.$ac_ext <<_ACEOF
44085 /* confdefs.h. */
44086 _ACEOF
44087 cat confdefs.h >>conftest.$ac_ext
44088 cat >>conftest.$ac_ext <<_ACEOF
44089 /* end confdefs.h. */
44090 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44092 #define socket innocuous_socket
44093
44094 /* System header to define __stub macros and hopefully few prototypes,
44095 which can conflict with char socket (); below.
44096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44097 <limits.h> exists even on freestanding compilers. */
44098
44099 #ifdef __STDC__
44100 # include <limits.h>
44101 #else
44102 # include <assert.h>
44103 #endif
44104
44105 #undef socket
44106
44107 /* Override any gcc2 internal prototype to avoid an error. */
44108 #ifdef __cplusplus
44109 extern "C"
44110 {
44111 #endif
44112 /* We use char because int might match the return type of a gcc2
44113 builtin and then its argument prototype would still apply. */
44114 char socket ();
44115 /* The GNU C library defines this for functions which it implements
44116 to always fail with ENOSYS. Some functions are actually named
44117 something starting with __ and the normal name is an alias. */
44118 #if defined (__stub_socket) || defined (__stub___socket)
44119 choke me
44120 #else
44121 char (*f) () = socket;
44122 #endif
44123 #ifdef __cplusplus
44124 }
44125 #endif
44126
44127 int
44128 main ()
44129 {
44130 return f != socket;
44131 ;
44132 return 0;
44133 }
44134 _ACEOF
44135 rm -f conftest.$ac_objext conftest$ac_exeext
44136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44137 (eval $ac_link) 2>conftest.er1
44138 ac_status=$?
44139 grep -v '^ *+' conftest.er1 >conftest.err
44140 rm -f conftest.er1
44141 cat conftest.err >&5
44142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44143 (exit $ac_status); } &&
44144 { ac_try='test -z "$ac_cxx_werror_flag"
44145 || test ! -s conftest.err'
44146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44147 (eval $ac_try) 2>&5
44148 ac_status=$?
44149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44150 (exit $ac_status); }; } &&
44151 { ac_try='test -s conftest$ac_exeext'
44152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44153 (eval $ac_try) 2>&5
44154 ac_status=$?
44155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44156 (exit $ac_status); }; }; then
44157 ac_cv_func_socket=yes
44158 else
44159 echo "$as_me: failed program was:" >&5
44160 sed 's/^/| /' conftest.$ac_ext >&5
44161
44162 ac_cv_func_socket=no
44163 fi
44164 rm -f conftest.err conftest.$ac_objext \
44165 conftest$ac_exeext conftest.$ac_ext
44166 fi
44167 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44168 echo "${ECHO_T}$ac_cv_func_socket" >&6
44169 if test $ac_cv_func_socket = yes; then
44170 :
44171 else
44172
44173 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44174 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44175 if test "${ac_cv_lib_socket_socket+set}" = set; then
44176 echo $ECHO_N "(cached) $ECHO_C" >&6
44177 else
44178 ac_check_lib_save_LIBS=$LIBS
44179 LIBS="-lsocket $LIBS"
44180 cat >conftest.$ac_ext <<_ACEOF
44181 /* confdefs.h. */
44182 _ACEOF
44183 cat confdefs.h >>conftest.$ac_ext
44184 cat >>conftest.$ac_ext <<_ACEOF
44185 /* end confdefs.h. */
44186
44187 /* Override any gcc2 internal prototype to avoid an error. */
44188 #ifdef __cplusplus
44189 extern "C"
44190 #endif
44191 /* We use char because int might match the return type of a gcc2
44192 builtin and then its argument prototype would still apply. */
44193 char socket ();
44194 int
44195 main ()
44196 {
44197 socket ();
44198 ;
44199 return 0;
44200 }
44201 _ACEOF
44202 rm -f conftest.$ac_objext conftest$ac_exeext
44203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44204 (eval $ac_link) 2>conftest.er1
44205 ac_status=$?
44206 grep -v '^ *+' conftest.er1 >conftest.err
44207 rm -f conftest.er1
44208 cat conftest.err >&5
44209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44210 (exit $ac_status); } &&
44211 { ac_try='test -z "$ac_cxx_werror_flag"
44212 || test ! -s conftest.err'
44213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44214 (eval $ac_try) 2>&5
44215 ac_status=$?
44216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44217 (exit $ac_status); }; } &&
44218 { ac_try='test -s conftest$ac_exeext'
44219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44220 (eval $ac_try) 2>&5
44221 ac_status=$?
44222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44223 (exit $ac_status); }; }; then
44224 ac_cv_lib_socket_socket=yes
44225 else
44226 echo "$as_me: failed program was:" >&5
44227 sed 's/^/| /' conftest.$ac_ext >&5
44228
44229 ac_cv_lib_socket_socket=no
44230 fi
44231 rm -f conftest.err conftest.$ac_objext \
44232 conftest$ac_exeext conftest.$ac_ext
44233 LIBS=$ac_check_lib_save_LIBS
44234 fi
44235 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44236 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44237 if test $ac_cv_lib_socket_socket = yes; then
44238 if test "$INET_LINK" != " -lsocket"; then
44239 INET_LINK="$INET_LINK -lsocket"
44240 fi
44241 else
44242
44243 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44244 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44245 wxUSE_SOCKETS=no
44246
44247
44248 fi
44249
44250
44251
44252 fi
44253
44254 fi
44255 fi
44256
44257 if test "$wxUSE_SOCKETS" = "yes" ; then
44258 if test "$TOOLKIT" != "MSW"; then
44259 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44260 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44261 if test "${wx_cv_type_getsockname3+set}" = set; then
44262 echo $ECHO_N "(cached) $ECHO_C" >&6
44263 else
44264
44265 cat >conftest.$ac_ext <<_ACEOF
44266 /* confdefs.h. */
44267 _ACEOF
44268 cat confdefs.h >>conftest.$ac_ext
44269 cat >>conftest.$ac_ext <<_ACEOF
44270 /* end confdefs.h. */
44271
44272 #include <sys/types.h>
44273 #include <sys/socket.h>
44274
44275 int
44276 main ()
44277 {
44278
44279 socklen_t len;
44280 getsockname(0, 0, &len);
44281
44282 ;
44283 return 0;
44284 }
44285 _ACEOF
44286 rm -f conftest.$ac_objext
44287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44288 (eval $ac_compile) 2>conftest.er1
44289 ac_status=$?
44290 grep -v '^ *+' conftest.er1 >conftest.err
44291 rm -f conftest.er1
44292 cat conftest.err >&5
44293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44294 (exit $ac_status); } &&
44295 { ac_try='test -z "$ac_cxx_werror_flag"
44296 || test ! -s conftest.err'
44297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44298 (eval $ac_try) 2>&5
44299 ac_status=$?
44300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44301 (exit $ac_status); }; } &&
44302 { ac_try='test -s conftest.$ac_objext'
44303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44304 (eval $ac_try) 2>&5
44305 ac_status=$?
44306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44307 (exit $ac_status); }; }; then
44308 wx_cv_type_getsockname3=socklen_t
44309 else
44310 echo "$as_me: failed program was:" >&5
44311 sed 's/^/| /' conftest.$ac_ext >&5
44312
44313
44314 CXXFLAGS_OLD="$CXXFLAGS"
44315 if test "$GCC" = yes ; then
44316 CXXFLAGS="-Werror $CXXFLAGS"
44317 fi
44318
44319 cat >conftest.$ac_ext <<_ACEOF
44320 /* confdefs.h. */
44321 _ACEOF
44322 cat confdefs.h >>conftest.$ac_ext
44323 cat >>conftest.$ac_ext <<_ACEOF
44324 /* end confdefs.h. */
44325
44326 #include <sys/types.h>
44327 #include <sys/socket.h>
44328
44329 int
44330 main ()
44331 {
44332
44333 size_t len;
44334 getsockname(0, 0, &len);
44335
44336 ;
44337 return 0;
44338 }
44339 _ACEOF
44340 rm -f conftest.$ac_objext
44341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44342 (eval $ac_compile) 2>conftest.er1
44343 ac_status=$?
44344 grep -v '^ *+' conftest.er1 >conftest.err
44345 rm -f conftest.er1
44346 cat conftest.err >&5
44347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44348 (exit $ac_status); } &&
44349 { ac_try='test -z "$ac_cxx_werror_flag"
44350 || test ! -s conftest.err'
44351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44352 (eval $ac_try) 2>&5
44353 ac_status=$?
44354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44355 (exit $ac_status); }; } &&
44356 { ac_try='test -s conftest.$ac_objext'
44357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44358 (eval $ac_try) 2>&5
44359 ac_status=$?
44360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44361 (exit $ac_status); }; }; then
44362 wx_cv_type_getsockname3=size_t
44363 else
44364 echo "$as_me: failed program was:" >&5
44365 sed 's/^/| /' conftest.$ac_ext >&5
44366
44367 cat >conftest.$ac_ext <<_ACEOF
44368 /* confdefs.h. */
44369 _ACEOF
44370 cat confdefs.h >>conftest.$ac_ext
44371 cat >>conftest.$ac_ext <<_ACEOF
44372 /* end confdefs.h. */
44373
44374 #include <sys/types.h>
44375 #include <sys/socket.h>
44376
44377 int
44378 main ()
44379 {
44380
44381 int len;
44382 getsockname(0, 0, &len);
44383
44384 ;
44385 return 0;
44386 }
44387 _ACEOF
44388 rm -f conftest.$ac_objext
44389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44390 (eval $ac_compile) 2>conftest.er1
44391 ac_status=$?
44392 grep -v '^ *+' conftest.er1 >conftest.err
44393 rm -f conftest.er1
44394 cat conftest.err >&5
44395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44396 (exit $ac_status); } &&
44397 { ac_try='test -z "$ac_cxx_werror_flag"
44398 || test ! -s conftest.err'
44399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44400 (eval $ac_try) 2>&5
44401 ac_status=$?
44402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44403 (exit $ac_status); }; } &&
44404 { ac_try='test -s conftest.$ac_objext'
44405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44406 (eval $ac_try) 2>&5
44407 ac_status=$?
44408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44409 (exit $ac_status); }; }; then
44410 wx_cv_type_getsockname3=int
44411 else
44412 echo "$as_me: failed program was:" >&5
44413 sed 's/^/| /' conftest.$ac_ext >&5
44414
44415 wx_cv_type_getsockname3=unknown
44416
44417 fi
44418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44419
44420 fi
44421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44422
44423 CXXFLAGS="$CXXFLAGS_OLD"
44424
44425
44426 fi
44427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44428
44429 fi
44430 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44431 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44432
44433 if test "$wx_cv_type_getsockname3" = "unknown"; then
44434 wxUSE_SOCKETS=no
44435 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44436 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44437 else
44438 cat >>confdefs.h <<_ACEOF
44439 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44440 _ACEOF
44441
44442 fi
44443 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44444 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44445 if test "${wx_cv_type_getsockopt5+set}" = set; then
44446 echo $ECHO_N "(cached) $ECHO_C" >&6
44447 else
44448
44449 cat >conftest.$ac_ext <<_ACEOF
44450 /* confdefs.h. */
44451 _ACEOF
44452 cat confdefs.h >>conftest.$ac_ext
44453 cat >>conftest.$ac_ext <<_ACEOF
44454 /* end confdefs.h. */
44455
44456 #include <sys/types.h>
44457 #include <sys/socket.h>
44458
44459 int
44460 main ()
44461 {
44462
44463 socklen_t len;
44464 getsockopt(0, 0, 0, 0, &len);
44465
44466 ;
44467 return 0;
44468 }
44469 _ACEOF
44470 rm -f conftest.$ac_objext
44471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44472 (eval $ac_compile) 2>conftest.er1
44473 ac_status=$?
44474 grep -v '^ *+' conftest.er1 >conftest.err
44475 rm -f conftest.er1
44476 cat conftest.err >&5
44477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44478 (exit $ac_status); } &&
44479 { ac_try='test -z "$ac_cxx_werror_flag"
44480 || test ! -s conftest.err'
44481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44482 (eval $ac_try) 2>&5
44483 ac_status=$?
44484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44485 (exit $ac_status); }; } &&
44486 { ac_try='test -s conftest.$ac_objext'
44487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44488 (eval $ac_try) 2>&5
44489 ac_status=$?
44490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44491 (exit $ac_status); }; }; then
44492 wx_cv_type_getsockopt5=socklen_t
44493 else
44494 echo "$as_me: failed program was:" >&5
44495 sed 's/^/| /' conftest.$ac_ext >&5
44496
44497
44498 CXXFLAGS_OLD="$CXXFLAGS"
44499 if test "$GCC" = yes ; then
44500 CXXFLAGS="-Werror $CXXFLAGS"
44501 fi
44502
44503 cat >conftest.$ac_ext <<_ACEOF
44504 /* confdefs.h. */
44505 _ACEOF
44506 cat confdefs.h >>conftest.$ac_ext
44507 cat >>conftest.$ac_ext <<_ACEOF
44508 /* end confdefs.h. */
44509
44510 #include <sys/types.h>
44511 #include <sys/socket.h>
44512
44513 int
44514 main ()
44515 {
44516
44517 size_t len;
44518 getsockopt(0, 0, 0, 0, &len);
44519
44520 ;
44521 return 0;
44522 }
44523 _ACEOF
44524 rm -f conftest.$ac_objext
44525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44526 (eval $ac_compile) 2>conftest.er1
44527 ac_status=$?
44528 grep -v '^ *+' conftest.er1 >conftest.err
44529 rm -f conftest.er1
44530 cat conftest.err >&5
44531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44532 (exit $ac_status); } &&
44533 { ac_try='test -z "$ac_cxx_werror_flag"
44534 || test ! -s conftest.err'
44535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44536 (eval $ac_try) 2>&5
44537 ac_status=$?
44538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44539 (exit $ac_status); }; } &&
44540 { ac_try='test -s conftest.$ac_objext'
44541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44542 (eval $ac_try) 2>&5
44543 ac_status=$?
44544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44545 (exit $ac_status); }; }; then
44546 wx_cv_type_getsockopt5=size_t
44547 else
44548 echo "$as_me: failed program was:" >&5
44549 sed 's/^/| /' conftest.$ac_ext >&5
44550
44551 cat >conftest.$ac_ext <<_ACEOF
44552 /* confdefs.h. */
44553 _ACEOF
44554 cat confdefs.h >>conftest.$ac_ext
44555 cat >>conftest.$ac_ext <<_ACEOF
44556 /* end confdefs.h. */
44557
44558 #include <sys/types.h>
44559 #include <sys/socket.h>
44560
44561 int
44562 main ()
44563 {
44564
44565 int len;
44566 getsockopt(0, 0, 0, 0, &len);
44567
44568 ;
44569 return 0;
44570 }
44571 _ACEOF
44572 rm -f conftest.$ac_objext
44573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44574 (eval $ac_compile) 2>conftest.er1
44575 ac_status=$?
44576 grep -v '^ *+' conftest.er1 >conftest.err
44577 rm -f conftest.er1
44578 cat conftest.err >&5
44579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44580 (exit $ac_status); } &&
44581 { ac_try='test -z "$ac_cxx_werror_flag"
44582 || test ! -s conftest.err'
44583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44584 (eval $ac_try) 2>&5
44585 ac_status=$?
44586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44587 (exit $ac_status); }; } &&
44588 { ac_try='test -s conftest.$ac_objext'
44589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44590 (eval $ac_try) 2>&5
44591 ac_status=$?
44592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44593 (exit $ac_status); }; }; then
44594 wx_cv_type_getsockopt5=int
44595 else
44596 echo "$as_me: failed program was:" >&5
44597 sed 's/^/| /' conftest.$ac_ext >&5
44598
44599 wx_cv_type_getsockopt5=unknown
44600
44601 fi
44602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44603
44604 fi
44605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44606
44607 CXXFLAGS="$CXXFLAGS_OLD"
44608
44609
44610 fi
44611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44612
44613 fi
44614 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44615 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44616
44617 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44618 wxUSE_SOCKETS=no
44619 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44620 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44621 else
44622 cat >>confdefs.h <<_ACEOF
44623 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44624 _ACEOF
44625
44626 fi
44627 fi
44628 fi
44629
44630 if test "$wxUSE_SOCKETS" = "yes" ; then
44631 cat >>confdefs.h <<\_ACEOF
44632 #define wxUSE_SOCKETS 1
44633 _ACEOF
44634
44635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44636 fi
44637
44638 if test "$wxUSE_PROTOCOL" = "yes"; then
44639 if test "$wxUSE_SOCKETS" != "yes"; then
44640 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44641 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44642 wxUSE_PROTOCOL=no
44643 fi
44644 fi
44645
44646 if test "$wxUSE_PROTOCOL" = "yes"; then
44647 cat >>confdefs.h <<\_ACEOF
44648 #define wxUSE_PROTOCOL 1
44649 _ACEOF
44650
44651
44652 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44653 cat >>confdefs.h <<\_ACEOF
44654 #define wxUSE_PROTOCOL_HTTP 1
44655 _ACEOF
44656
44657 fi
44658 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44659 cat >>confdefs.h <<\_ACEOF
44660 #define wxUSE_PROTOCOL_FTP 1
44661 _ACEOF
44662
44663 fi
44664 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44665 cat >>confdefs.h <<\_ACEOF
44666 #define wxUSE_PROTOCOL_FILE 1
44667 _ACEOF
44668
44669 fi
44670 else
44671 if test "$wxUSE_FS_INET" = "yes"; then
44672 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44673 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44674 wxUSE_FS_INET="no"
44675 fi
44676 fi
44677
44678 if test "$wxUSE_URL" = "yes"; then
44679 if test "$wxUSE_PROTOCOL" != "yes"; then
44680 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44681 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44682 wxUSE_URL=no
44683 fi
44684 if test "$wxUSE_URL" = "yes"; then
44685 cat >>confdefs.h <<\_ACEOF
44686 #define wxUSE_URL 1
44687 _ACEOF
44688
44689 fi
44690 fi
44691
44692 if test "$wxUSE_VARIANT" = "yes"; then
44693 cat >>confdefs.h <<\_ACEOF
44694 #define wxUSE_VARIANT 1
44695 _ACEOF
44696
44697 fi
44698
44699 if test "$wxUSE_FS_INET" = "yes"; then
44700 cat >>confdefs.h <<\_ACEOF
44701 #define wxUSE_FS_INET 1
44702 _ACEOF
44703
44704 fi
44705
44706
44707 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44708 wxUSE_JOYSTICK=no
44709
44710 if test "$TOOLKIT" = "MSW"; then
44711 wxUSE_JOYSTICK=yes
44712
44713 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44714 if test "$USE_DARWIN" = 1; then
44715 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44716 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44717 cat >conftest.$ac_ext <<_ACEOF
44718 /* confdefs.h. */
44719 _ACEOF
44720 cat confdefs.h >>conftest.$ac_ext
44721 cat >>conftest.$ac_ext <<_ACEOF
44722 /* end confdefs.h. */
44723 #include <IOKit/hid/IOHIDLib.h>
44724 int
44725 main ()
44726 {
44727 IOHIDQueueInterface *qi = NULL;
44728 IOHIDCallbackFunction cb = NULL;
44729 qi->setEventCallout(NULL, cb, NULL, NULL);
44730 ;
44731 return 0;
44732 }
44733 _ACEOF
44734 rm -f conftest.$ac_objext
44735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44736 (eval $ac_compile) 2>conftest.er1
44737 ac_status=$?
44738 grep -v '^ *+' conftest.er1 >conftest.err
44739 rm -f conftest.er1
44740 cat conftest.err >&5
44741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44742 (exit $ac_status); } &&
44743 { ac_try='test -z "$ac_cxx_werror_flag"
44744 || test ! -s conftest.err'
44745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44746 (eval $ac_try) 2>&5
44747 ac_status=$?
44748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44749 (exit $ac_status); }; } &&
44750 { ac_try='test -s conftest.$ac_objext'
44751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44752 (eval $ac_try) 2>&5
44753 ac_status=$?
44754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44755 (exit $ac_status); }; }; then
44756 wxUSE_JOYSTICK=yes
44757
44758 else
44759 echo "$as_me: failed program was:" >&5
44760 sed 's/^/| /' conftest.$ac_ext >&5
44761
44762 fi
44763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44764 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44765 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44766 fi
44767
44768 else
44769
44770 for ac_header in linux/joystick.h
44771 do
44772 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44774 echo "$as_me:$LINENO: checking for $ac_header" >&5
44775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44777 echo $ECHO_N "(cached) $ECHO_C" >&6
44778 fi
44779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44780 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44781 else
44782 # Is the header compilable?
44783 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44784 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44785 cat >conftest.$ac_ext <<_ACEOF
44786 /* confdefs.h. */
44787 _ACEOF
44788 cat confdefs.h >>conftest.$ac_ext
44789 cat >>conftest.$ac_ext <<_ACEOF
44790 /* end confdefs.h. */
44791 $ac_includes_default
44792 #include <$ac_header>
44793 _ACEOF
44794 rm -f conftest.$ac_objext
44795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44796 (eval $ac_compile) 2>conftest.er1
44797 ac_status=$?
44798 grep -v '^ *+' conftest.er1 >conftest.err
44799 rm -f conftest.er1
44800 cat conftest.err >&5
44801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44802 (exit $ac_status); } &&
44803 { ac_try='test -z "$ac_cxx_werror_flag"
44804 || test ! -s conftest.err'
44805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44806 (eval $ac_try) 2>&5
44807 ac_status=$?
44808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44809 (exit $ac_status); }; } &&
44810 { ac_try='test -s conftest.$ac_objext'
44811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44812 (eval $ac_try) 2>&5
44813 ac_status=$?
44814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44815 (exit $ac_status); }; }; then
44816 ac_header_compiler=yes
44817 else
44818 echo "$as_me: failed program was:" >&5
44819 sed 's/^/| /' conftest.$ac_ext >&5
44820
44821 ac_header_compiler=no
44822 fi
44823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44825 echo "${ECHO_T}$ac_header_compiler" >&6
44826
44827 # Is the header present?
44828 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44830 cat >conftest.$ac_ext <<_ACEOF
44831 /* confdefs.h. */
44832 _ACEOF
44833 cat confdefs.h >>conftest.$ac_ext
44834 cat >>conftest.$ac_ext <<_ACEOF
44835 /* end confdefs.h. */
44836 #include <$ac_header>
44837 _ACEOF
44838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44839 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44840 ac_status=$?
44841 grep -v '^ *+' conftest.er1 >conftest.err
44842 rm -f conftest.er1
44843 cat conftest.err >&5
44844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44845 (exit $ac_status); } >/dev/null; then
44846 if test -s conftest.err; then
44847 ac_cpp_err=$ac_cxx_preproc_warn_flag
44848 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44849 else
44850 ac_cpp_err=
44851 fi
44852 else
44853 ac_cpp_err=yes
44854 fi
44855 if test -z "$ac_cpp_err"; then
44856 ac_header_preproc=yes
44857 else
44858 echo "$as_me: failed program was:" >&5
44859 sed 's/^/| /' conftest.$ac_ext >&5
44860
44861 ac_header_preproc=no
44862 fi
44863 rm -f conftest.err conftest.$ac_ext
44864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44865 echo "${ECHO_T}$ac_header_preproc" >&6
44866
44867 # So? What about this header?
44868 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44869 yes:no: )
44870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44871 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44873 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44874 ac_header_preproc=yes
44875 ;;
44876 no:yes:* )
44877 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44878 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44879 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44880 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44881 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44882 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44883 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44884 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44887 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44888 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44889 (
44890 cat <<\_ASBOX
44891 ## ----------------------------------------- ##
44892 ## Report this to wx-dev@lists.wxwidgets.org ##
44893 ## ----------------------------------------- ##
44894 _ASBOX
44895 ) |
44896 sed "s/^/$as_me: WARNING: /" >&2
44897 ;;
44898 esac
44899 echo "$as_me:$LINENO: checking for $ac_header" >&5
44900 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44902 echo $ECHO_N "(cached) $ECHO_C" >&6
44903 else
44904 eval "$as_ac_Header=\$ac_header_preproc"
44905 fi
44906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44907 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44908
44909 fi
44910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44911 cat >>confdefs.h <<_ACEOF
44912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44913 _ACEOF
44914 wxUSE_JOYSTICK=yes
44915 fi
44916
44917 done
44918
44919 fi
44920
44921 if test "$wxUSE_JOYSTICK" = "yes"; then
44922 cat >>confdefs.h <<\_ACEOF
44923 #define wxUSE_JOYSTICK 1
44924 _ACEOF
44925
44926 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44927 else
44928 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44929 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44930 fi
44931 fi
44932
44933
44934
44935 if test "$wxUSE_FONTMAP" = "yes" ; then
44936 cat >>confdefs.h <<\_ACEOF
44937 #define wxUSE_FONTMAP 1
44938 _ACEOF
44939
44940 fi
44941
44942 if test "$wxUSE_UNICODE" = "yes" ; then
44943 cat >>confdefs.h <<\_ACEOF
44944 #define wxUSE_UNICODE 1
44945 _ACEOF
44946
44947
44948 if test "$USE_WIN32" != 1; then
44949 wxUSE_UNICODE_MSLU=no
44950 fi
44951
44952 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44953 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44954 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44955 if test "${ac_cv_lib_unicows_main+set}" = set; then
44956 echo $ECHO_N "(cached) $ECHO_C" >&6
44957 else
44958 ac_check_lib_save_LIBS=$LIBS
44959 LIBS="-lunicows $LIBS"
44960 cat >conftest.$ac_ext <<_ACEOF
44961 /* confdefs.h. */
44962 _ACEOF
44963 cat confdefs.h >>conftest.$ac_ext
44964 cat >>conftest.$ac_ext <<_ACEOF
44965 /* end confdefs.h. */
44966
44967
44968 int
44969 main ()
44970 {
44971 main ();
44972 ;
44973 return 0;
44974 }
44975 _ACEOF
44976 rm -f conftest.$ac_objext conftest$ac_exeext
44977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44978 (eval $ac_link) 2>conftest.er1
44979 ac_status=$?
44980 grep -v '^ *+' conftest.er1 >conftest.err
44981 rm -f conftest.er1
44982 cat conftest.err >&5
44983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44984 (exit $ac_status); } &&
44985 { ac_try='test -z "$ac_cxx_werror_flag"
44986 || test ! -s conftest.err'
44987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44988 (eval $ac_try) 2>&5
44989 ac_status=$?
44990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44991 (exit $ac_status); }; } &&
44992 { ac_try='test -s conftest$ac_exeext'
44993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44994 (eval $ac_try) 2>&5
44995 ac_status=$?
44996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44997 (exit $ac_status); }; }; then
44998 ac_cv_lib_unicows_main=yes
44999 else
45000 echo "$as_me: failed program was:" >&5
45001 sed 's/^/| /' conftest.$ac_ext >&5
45002
45003 ac_cv_lib_unicows_main=no
45004 fi
45005 rm -f conftest.err conftest.$ac_objext \
45006 conftest$ac_exeext conftest.$ac_ext
45007 LIBS=$ac_check_lib_save_LIBS
45008 fi
45009 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45010 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45011 if test $ac_cv_lib_unicows_main = yes; then
45012
45013 cat >>confdefs.h <<\_ACEOF
45014 #define wxUSE_UNICODE_MSLU 1
45015 _ACEOF
45016
45017
45018 else
45019
45020 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45021 Applications will only run on Windows NT/2000/XP!" >&5
45022 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45023 Applications will only run on Windows NT/2000/XP!" >&2;}
45024 wxUSE_UNICODE_MSLU=no
45025
45026 fi
45027
45028 fi
45029 fi
45030
45031 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45032 cat >>confdefs.h <<\_ACEOF
45033 #define wxUSE_EXPERIMENTAL_PRINTF 1
45034 _ACEOF
45035
45036 fi
45037
45038
45039 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45040 cat >>confdefs.h <<\_ACEOF
45041 #define wxUSE_POSTSCRIPT 1
45042 _ACEOF
45043
45044 fi
45045
45046 cat >>confdefs.h <<\_ACEOF
45047 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45048 _ACEOF
45049
45050
45051 cat >>confdefs.h <<\_ACEOF
45052 #define wxUSE_NORMALIZED_PS_FONTS 1
45053 _ACEOF
45054
45055
45056
45057 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45058 cat >>confdefs.h <<\_ACEOF
45059 #define wxUSE_CONSTRAINTS 1
45060 _ACEOF
45061
45062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45063 fi
45064
45065 if test "$wxUSE_MDI" = "yes"; then
45066 cat >>confdefs.h <<\_ACEOF
45067 #define wxUSE_MDI 1
45068 _ACEOF
45069
45070
45071 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45072 cat >>confdefs.h <<\_ACEOF
45073 #define wxUSE_MDI_ARCHITECTURE 1
45074 _ACEOF
45075
45076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45077 fi
45078 fi
45079
45080 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45081 cat >>confdefs.h <<\_ACEOF
45082 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45083 _ACEOF
45084
45085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45086 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45087 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45088 fi
45089 fi
45090
45091 if test "$wxUSE_HELP" = "yes"; then
45092 cat >>confdefs.h <<\_ACEOF
45093 #define wxUSE_HELP 1
45094 _ACEOF
45095
45096 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45097
45098 if test "$wxUSE_MSW" = 1; then
45099 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45100 cat >>confdefs.h <<\_ACEOF
45101 #define wxUSE_MS_HTML_HELP 1
45102 _ACEOF
45103
45104 fi
45105 fi
45106
45107 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45108 if test "$wxUSE_HTML" = "yes"; then
45109 cat >>confdefs.h <<\_ACEOF
45110 #define wxUSE_WXHTML_HELP 1
45111 _ACEOF
45112
45113 else
45114 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45115 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45116 wxUSE_WXHTML_HELP=no
45117 fi
45118 fi
45119 fi
45120
45121 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45122 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45123 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45124 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45125 else
45126 cat >>confdefs.h <<\_ACEOF
45127 #define wxUSE_PRINTING_ARCHITECTURE 1
45128 _ACEOF
45129
45130 fi
45131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45132 fi
45133
45134 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45135 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45136 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45137 { (exit 1); exit 1; }; }
45138 fi
45139
45140
45141 if test "$wxUSE_METAFILE" = "yes"; then
45142 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45143 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45144 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45145 wxUSE_METAFILE=no
45146 fi
45147 fi
45148
45149
45150 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45151 -o "$wxUSE_CLIPBOARD" = "yes" \
45152 -o "$wxUSE_OLE" = "yes" \
45153 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45154
45155 for ac_header in ole2.h
45156 do
45157 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45159 echo "$as_me:$LINENO: checking for $ac_header" >&5
45160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45162 echo $ECHO_N "(cached) $ECHO_C" >&6
45163 fi
45164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45165 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45166 else
45167 # Is the header compilable?
45168 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45169 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45170 cat >conftest.$ac_ext <<_ACEOF
45171 /* confdefs.h. */
45172 _ACEOF
45173 cat confdefs.h >>conftest.$ac_ext
45174 cat >>conftest.$ac_ext <<_ACEOF
45175 /* end confdefs.h. */
45176 $ac_includes_default
45177 #include <$ac_header>
45178 _ACEOF
45179 rm -f conftest.$ac_objext
45180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45181 (eval $ac_compile) 2>conftest.er1
45182 ac_status=$?
45183 grep -v '^ *+' conftest.er1 >conftest.err
45184 rm -f conftest.er1
45185 cat conftest.err >&5
45186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45187 (exit $ac_status); } &&
45188 { ac_try='test -z "$ac_cxx_werror_flag"
45189 || test ! -s conftest.err'
45190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45191 (eval $ac_try) 2>&5
45192 ac_status=$?
45193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45194 (exit $ac_status); }; } &&
45195 { ac_try='test -s conftest.$ac_objext'
45196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45197 (eval $ac_try) 2>&5
45198 ac_status=$?
45199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45200 (exit $ac_status); }; }; then
45201 ac_header_compiler=yes
45202 else
45203 echo "$as_me: failed program was:" >&5
45204 sed 's/^/| /' conftest.$ac_ext >&5
45205
45206 ac_header_compiler=no
45207 fi
45208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45209 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45210 echo "${ECHO_T}$ac_header_compiler" >&6
45211
45212 # Is the header present?
45213 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45215 cat >conftest.$ac_ext <<_ACEOF
45216 /* confdefs.h. */
45217 _ACEOF
45218 cat confdefs.h >>conftest.$ac_ext
45219 cat >>conftest.$ac_ext <<_ACEOF
45220 /* end confdefs.h. */
45221 #include <$ac_header>
45222 _ACEOF
45223 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45224 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45225 ac_status=$?
45226 grep -v '^ *+' conftest.er1 >conftest.err
45227 rm -f conftest.er1
45228 cat conftest.err >&5
45229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45230 (exit $ac_status); } >/dev/null; then
45231 if test -s conftest.err; then
45232 ac_cpp_err=$ac_cxx_preproc_warn_flag
45233 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45234 else
45235 ac_cpp_err=
45236 fi
45237 else
45238 ac_cpp_err=yes
45239 fi
45240 if test -z "$ac_cpp_err"; then
45241 ac_header_preproc=yes
45242 else
45243 echo "$as_me: failed program was:" >&5
45244 sed 's/^/| /' conftest.$ac_ext >&5
45245
45246 ac_header_preproc=no
45247 fi
45248 rm -f conftest.err conftest.$ac_ext
45249 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45250 echo "${ECHO_T}$ac_header_preproc" >&6
45251
45252 # So? What about this header?
45253 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45254 yes:no: )
45255 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45256 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45258 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45259 ac_header_preproc=yes
45260 ;;
45261 no:yes:* )
45262 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45263 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45264 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45265 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45266 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45267 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45268 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45269 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45271 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45272 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45273 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45274 (
45275 cat <<\_ASBOX
45276 ## ----------------------------------------- ##
45277 ## Report this to wx-dev@lists.wxwidgets.org ##
45278 ## ----------------------------------------- ##
45279 _ASBOX
45280 ) |
45281 sed "s/^/$as_me: WARNING: /" >&2
45282 ;;
45283 esac
45284 echo "$as_me:$LINENO: checking for $ac_header" >&5
45285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45287 echo $ECHO_N "(cached) $ECHO_C" >&6
45288 else
45289 eval "$as_ac_Header=\$ac_header_preproc"
45290 fi
45291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45292 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45293
45294 fi
45295 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45296 cat >>confdefs.h <<_ACEOF
45297 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45298 _ACEOF
45299
45300 fi
45301
45302 done
45303
45304
45305 if test "$ac_cv_header_ole2_h" = "yes" ; then
45306 if test "$GCC" = yes ; then
45307 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45308 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45309 cat >conftest.$ac_ext <<_ACEOF
45310 /* confdefs.h. */
45311 _ACEOF
45312 cat confdefs.h >>conftest.$ac_ext
45313 cat >>conftest.$ac_ext <<_ACEOF
45314 /* end confdefs.h. */
45315 #include <windows.h>
45316 #include <ole2.h>
45317 int
45318 main ()
45319 {
45320
45321 ;
45322 return 0;
45323 }
45324 _ACEOF
45325 rm -f conftest.$ac_objext
45326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45327 (eval $ac_compile) 2>conftest.er1
45328 ac_status=$?
45329 grep -v '^ *+' conftest.er1 >conftest.err
45330 rm -f conftest.er1
45331 cat conftest.err >&5
45332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45333 (exit $ac_status); } &&
45334 { ac_try='test -z "$ac_cxx_werror_flag"
45335 || test ! -s conftest.err'
45336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45337 (eval $ac_try) 2>&5
45338 ac_status=$?
45339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45340 (exit $ac_status); }; } &&
45341 { ac_try='test -s conftest.$ac_objext'
45342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45343 (eval $ac_try) 2>&5
45344 ac_status=$?
45345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45346 (exit $ac_status); }; }; then
45347 echo "$as_me:$LINENO: result: no" >&5
45348 echo "${ECHO_T}no" >&6
45349 else
45350 echo "$as_me: failed program was:" >&5
45351 sed 's/^/| /' conftest.$ac_ext >&5
45352
45353 echo "$as_me:$LINENO: result: yes" >&5
45354 echo "${ECHO_T}yes" >&6
45355 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45356 fi
45357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45358 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45359 if test "$wxUSE_OLE" = "yes" ; then
45360 cat >>confdefs.h <<\_ACEOF
45361 #define wxUSE_OLE 1
45362 _ACEOF
45363
45364 cat >>confdefs.h <<\_ACEOF
45365 #define wxUSE_OLE_AUTOMATION 1
45366 _ACEOF
45367
45368 cat >>confdefs.h <<\_ACEOF
45369 #define wxUSE_OLE_ACTIVEX 1
45370 _ACEOF
45371
45372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45373 fi
45374 fi
45375
45376 if test "$wxUSE_DATAOBJ" = "yes" ; then
45377 cat >>confdefs.h <<\_ACEOF
45378 #define wxUSE_DATAOBJ 1
45379 _ACEOF
45380
45381 fi
45382 else
45383 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45384 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45385
45386 wxUSE_CLIPBOARD=no
45387 wxUSE_DRAG_AND_DROP=no
45388 wxUSE_DATAOBJ=no
45389 wxUSE_OLE=no
45390 fi
45391
45392 if test "$wxUSE_METAFILE" = "yes"; then
45393 cat >>confdefs.h <<\_ACEOF
45394 #define wxUSE_METAFILE 1
45395 _ACEOF
45396
45397
45398 cat >>confdefs.h <<\_ACEOF
45399 #define wxUSE_ENH_METAFILE 1
45400 _ACEOF
45401
45402 fi
45403 fi
45404
45405 if test "$wxUSE_IPC" = "yes"; then
45406 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45407 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45408 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45409 wxUSE_IPC=no
45410 fi
45411
45412 if test "$wxUSE_IPC" = "yes"; then
45413 cat >>confdefs.h <<\_ACEOF
45414 #define wxUSE_IPC 1
45415 _ACEOF
45416
45417 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45418 fi
45419 fi
45420
45421 if test "$wxUSE_DATAOBJ" = "yes"; then
45422 if test "$wxUSE_MGL" = 1; then
45423 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45424 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45425 wxUSE_DATAOBJ=no
45426 else
45427 cat >>confdefs.h <<\_ACEOF
45428 #define wxUSE_DATAOBJ 1
45429 _ACEOF
45430
45431 fi
45432 else
45433 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45434 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45435 wxUSE_CLIPBOARD=no
45436 wxUSE_DRAG_AND_DROP=no
45437 fi
45438
45439 if test "$wxUSE_CLIPBOARD" = "yes"; then
45440 if test "$wxUSE_MGL" = 1; then
45441 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45442 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45443 wxUSE_CLIPBOARD=no
45444 fi
45445
45446 if test "$wxUSE_CLIPBOARD" = "yes"; then
45447 cat >>confdefs.h <<\_ACEOF
45448 #define wxUSE_CLIPBOARD 1
45449 _ACEOF
45450
45451 fi
45452 fi
45453
45454 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45455 if test "$wxUSE_GTK" = 1; then
45456 if test "$WXGTK12" != 1; then
45457 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45458 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45459 wxUSE_DRAG_AND_DROP=no
45460 fi
45461 fi
45462
45463 if test "$wxUSE_MOTIF" = 1; then
45464 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45465 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45466 wxUSE_DRAG_AND_DROP=no
45467 fi
45468
45469 if test "$wxUSE_X11" = 1; then
45470 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45471 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45472 wxUSE_DRAG_AND_DROP=no
45473 fi
45474
45475 if test "$wxUSE_MGL" = 1; then
45476 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45477 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45478 wxUSE_DRAG_AND_DROP=no
45479 fi
45480
45481 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45482 cat >>confdefs.h <<\_ACEOF
45483 #define wxUSE_DRAG_AND_DROP 1
45484 _ACEOF
45485
45486 fi
45487
45488 fi
45489
45490 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45491 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45492 fi
45493
45494 if test "$wxUSE_SPLINES" = "yes" ; then
45495 cat >>confdefs.h <<\_ACEOF
45496 #define wxUSE_SPLINES 1
45497 _ACEOF
45498
45499 fi
45500
45501 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45502 cat >>confdefs.h <<\_ACEOF
45503 #define wxUSE_MOUSEWHEEL 1
45504 _ACEOF
45505
45506 fi
45507
45508
45509 USES_CONTROLS=0
45510 if test "$wxUSE_CONTROLS" = "yes"; then
45511 USES_CONTROLS=1
45512 fi
45513
45514 if test "$wxUSE_ACCEL" = "yes"; then
45515 cat >>confdefs.h <<\_ACEOF
45516 #define wxUSE_ACCEL 1
45517 _ACEOF
45518
45519 USES_CONTROLS=1
45520 fi
45521
45522 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45523 cat >>confdefs.h <<\_ACEOF
45524 #define wxUSE_ANIMATIONCTRL 1
45525 _ACEOF
45526
45527 USES_CONTROLS=1
45528 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45529 fi
45530
45531 if test "$wxUSE_BUTTON" = "yes"; then
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_BUTTON 1
45534 _ACEOF
45535
45536 USES_CONTROLS=1
45537 fi
45538
45539 if test "$wxUSE_BMPBUTTON" = "yes"; then
45540 cat >>confdefs.h <<\_ACEOF
45541 #define wxUSE_BMPBUTTON 1
45542 _ACEOF
45543
45544 USES_CONTROLS=1
45545 fi
45546
45547 if test "$wxUSE_CALCTRL" = "yes"; then
45548 cat >>confdefs.h <<\_ACEOF
45549 #define wxUSE_CALENDARCTRL 1
45550 _ACEOF
45551
45552 USES_CONTROLS=1
45553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45554 fi
45555
45556 if test "$wxUSE_CARET" = "yes"; then
45557 cat >>confdefs.h <<\_ACEOF
45558 #define wxUSE_CARET 1
45559 _ACEOF
45560
45561 USES_CONTROLS=1
45562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45563 fi
45564
45565 if test "$wxUSE_COMBOBOX" = "yes"; then
45566 cat >>confdefs.h <<\_ACEOF
45567 #define wxUSE_COMBOBOX 1
45568 _ACEOF
45569
45570 USES_CONTROLS=1
45571 fi
45572
45573 if test "$wxUSE_COMBOCTRL" = "yes"; then
45574 cat >>confdefs.h <<\_ACEOF
45575 #define wxUSE_COMBOCTRL 1
45576 _ACEOF
45577
45578 USES_CONTROLS=1
45579 fi
45580
45581 if test "$wxUSE_CHOICE" = "yes"; then
45582 cat >>confdefs.h <<\_ACEOF
45583 #define wxUSE_CHOICE 1
45584 _ACEOF
45585
45586 USES_CONTROLS=1
45587 fi
45588
45589 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45590 cat >>confdefs.h <<\_ACEOF
45591 #define wxUSE_CHOICEBOOK 1
45592 _ACEOF
45593
45594 USES_CONTROLS=1
45595 fi
45596
45597 if test "$wxUSE_CHECKBOX" = "yes"; then
45598 cat >>confdefs.h <<\_ACEOF
45599 #define wxUSE_CHECKBOX 1
45600 _ACEOF
45601
45602 USES_CONTROLS=1
45603 fi
45604
45605 if test "$wxUSE_CHECKLST" = "yes"; then
45606 cat >>confdefs.h <<\_ACEOF
45607 #define wxUSE_CHECKLISTBOX 1
45608 _ACEOF
45609
45610 USES_CONTROLS=1
45611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45612 fi
45613
45614 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45615 cat >>confdefs.h <<\_ACEOF
45616 #define wxUSE_COLOURPICKERCTRL 1
45617 _ACEOF
45618
45619 USES_CONTROLS=1
45620 fi
45621
45622 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45623 cat >>confdefs.h <<\_ACEOF
45624 #define wxUSE_DATEPICKCTRL 1
45625 _ACEOF
45626
45627 USES_CONTROLS=1
45628 fi
45629
45630 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45631 cat >>confdefs.h <<\_ACEOF
45632 #define wxUSE_DIRPICKERCTRL 1
45633 _ACEOF
45634
45635 USES_CONTROLS=1
45636 fi
45637
45638 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45639 cat >>confdefs.h <<\_ACEOF
45640 #define wxUSE_FILEPICKERCTRL 1
45641 _ACEOF
45642
45643 USES_CONTROLS=1
45644 fi
45645
45646 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45647 cat >>confdefs.h <<\_ACEOF
45648 #define wxUSE_FONTPICKERCTRL 1
45649 _ACEOF
45650
45651 USES_CONTROLS=1
45652 fi
45653
45654 if test "$wxUSE_DISPLAY" = "yes"; then
45655 cat >>confdefs.h <<\_ACEOF
45656 #define wxUSE_DISPLAY 1
45657 _ACEOF
45658
45659 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45660 fi
45661
45662 if test "$wxUSE_GAUGE" = "yes"; then
45663 cat >>confdefs.h <<\_ACEOF
45664 #define wxUSE_GAUGE 1
45665 _ACEOF
45666
45667 USES_CONTROLS=1
45668 fi
45669
45670 if test "$wxUSE_GRID" = "yes"; then
45671 cat >>confdefs.h <<\_ACEOF
45672 #define wxUSE_GRID 1
45673 _ACEOF
45674
45675 USES_CONTROLS=1
45676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45677 fi
45678
45679 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45680 cat >>confdefs.h <<\_ACEOF
45681 #define wxUSE_HYPERLINKCTRL 1
45682 _ACEOF
45683
45684 USES_CONTROLS=1
45685 fi
45686
45687 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45688 cat >>confdefs.h <<\_ACEOF
45689 #define wxUSE_BITMAPCOMBOBOX 1
45690 _ACEOF
45691
45692 USES_CONTROLS=1
45693 fi
45694
45695 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45696 cat >>confdefs.h <<\_ACEOF
45697 #define wxUSE_DATAVIEWCTRL 1
45698 _ACEOF
45699
45700 USES_CONTROLS=1
45701 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45702 fi
45703
45704 if test "$wxUSE_IMAGLIST" = "yes"; then
45705 cat >>confdefs.h <<\_ACEOF
45706 #define wxUSE_IMAGLIST 1
45707 _ACEOF
45708
45709 fi
45710
45711 if test "$wxUSE_LISTBOOK" = "yes"; then
45712 cat >>confdefs.h <<\_ACEOF
45713 #define wxUSE_LISTBOOK 1
45714 _ACEOF
45715
45716 USES_CONTROLS=1
45717 fi
45718
45719 if test "$wxUSE_LISTBOX" = "yes"; then
45720 cat >>confdefs.h <<\_ACEOF
45721 #define wxUSE_LISTBOX 1
45722 _ACEOF
45723
45724 USES_CONTROLS=1
45725 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45726 fi
45727
45728 if test "$wxUSE_LISTCTRL" = "yes"; then
45729 if test "$wxUSE_IMAGLIST" = "yes"; then
45730 cat >>confdefs.h <<\_ACEOF
45731 #define wxUSE_LISTCTRL 1
45732 _ACEOF
45733
45734 USES_CONTROLS=1
45735 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45736 else
45737 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45738 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45739 fi
45740 fi
45741
45742 if test "$wxUSE_NOTEBOOK" = "yes"; then
45743 cat >>confdefs.h <<\_ACEOF
45744 #define wxUSE_NOTEBOOK 1
45745 _ACEOF
45746
45747 USES_CONTROLS=1
45748 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45749 fi
45750
45751 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45752 cat >>confdefs.h <<\_ACEOF
45753 #define wxUSE_ODCOMBOBOX 1
45754 _ACEOF
45755
45756 USES_CONTROLS=1
45757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45758 fi
45759
45760
45761 if test "$wxUSE_RADIOBOX" = "yes"; then
45762 cat >>confdefs.h <<\_ACEOF
45763 #define wxUSE_RADIOBOX 1
45764 _ACEOF
45765
45766 USES_CONTROLS=1
45767 fi
45768
45769 if test "$wxUSE_RADIOBTN" = "yes"; then
45770 cat >>confdefs.h <<\_ACEOF
45771 #define wxUSE_RADIOBTN 1
45772 _ACEOF
45773
45774 USES_CONTROLS=1
45775 fi
45776
45777 if test "$wxUSE_SASH" = "yes"; then
45778 cat >>confdefs.h <<\_ACEOF
45779 #define wxUSE_SASH 1
45780 _ACEOF
45781
45782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45783 fi
45784
45785 if test "$wxUSE_SCROLLBAR" = "yes"; then
45786 cat >>confdefs.h <<\_ACEOF
45787 #define wxUSE_SCROLLBAR 1
45788 _ACEOF
45789
45790 USES_CONTROLS=1
45791 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45792 fi
45793
45794 if test "$wxUSE_SLIDER" = "yes"; then
45795 cat >>confdefs.h <<\_ACEOF
45796 #define wxUSE_SLIDER 1
45797 _ACEOF
45798
45799 USES_CONTROLS=1
45800 fi
45801
45802 if test "$wxUSE_SPINBTN" = "yes"; then
45803 cat >>confdefs.h <<\_ACEOF
45804 #define wxUSE_SPINBTN 1
45805 _ACEOF
45806
45807 USES_CONTROLS=1
45808 fi
45809
45810 if test "$wxUSE_SPINCTRL" = "yes"; then
45811 cat >>confdefs.h <<\_ACEOF
45812 #define wxUSE_SPINCTRL 1
45813 _ACEOF
45814
45815 USES_CONTROLS=1
45816 fi
45817
45818 if test "$wxUSE_SPLITTER" = "yes"; then
45819 cat >>confdefs.h <<\_ACEOF
45820 #define wxUSE_SPLITTER 1
45821 _ACEOF
45822
45823 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45824 fi
45825
45826 if test "$wxUSE_STATBMP" = "yes"; then
45827 cat >>confdefs.h <<\_ACEOF
45828 #define wxUSE_STATBMP 1
45829 _ACEOF
45830
45831 USES_CONTROLS=1
45832 fi
45833
45834 if test "$wxUSE_STATBOX" = "yes"; then
45835 cat >>confdefs.h <<\_ACEOF
45836 #define wxUSE_STATBOX 1
45837 _ACEOF
45838
45839 USES_CONTROLS=1
45840 fi
45841
45842 if test "$wxUSE_STATTEXT" = "yes"; then
45843 cat >>confdefs.h <<\_ACEOF
45844 #define wxUSE_STATTEXT 1
45845 _ACEOF
45846
45847 USES_CONTROLS=1
45848 fi
45849
45850 if test "$wxUSE_STATLINE" = "yes"; then
45851 cat >>confdefs.h <<\_ACEOF
45852 #define wxUSE_STATLINE 1
45853 _ACEOF
45854
45855 USES_CONTROLS=1
45856 fi
45857
45858 if test "$wxUSE_STATUSBAR" = "yes"; then
45859 cat >>confdefs.h <<\_ACEOF
45860 #define wxUSE_NATIVE_STATUSBAR 1
45861 _ACEOF
45862
45863 cat >>confdefs.h <<\_ACEOF
45864 #define wxUSE_STATUSBAR 1
45865 _ACEOF
45866
45867 USES_CONTROLS=1
45868
45869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45870 fi
45871
45872 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45873 cat >>confdefs.h <<\_ACEOF
45874 #define wxUSE_TAB_DIALOG 1
45875 _ACEOF
45876
45877 fi
45878
45879 if test "$wxUSE_TEXTCTRL" = "yes"; then
45880 cat >>confdefs.h <<\_ACEOF
45881 #define wxUSE_TEXTCTRL 1
45882 _ACEOF
45883
45884 USES_CONTROLS=1
45885 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45886 fi
45887
45888 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45889 if test "$wxUSE_COCOA" = 1 ; then
45890 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45891 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45892 wxUSE_TOGGLEBTN=no
45893 fi
45894
45895 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45896 cat >>confdefs.h <<\_ACEOF
45897 #define wxUSE_TOGGLEBTN 1
45898 _ACEOF
45899
45900 USES_CONTROLS=1
45901 fi
45902 fi
45903
45904 if test "$wxUSE_TOOLBAR" = "yes"; then
45905 cat >>confdefs.h <<\_ACEOF
45906 #define wxUSE_TOOLBAR 1
45907 _ACEOF
45908
45909 USES_CONTROLS=1
45910
45911 if test "$wxUSE_UNIVERSAL" = "yes"; then
45912 wxUSE_TOOLBAR_NATIVE="no"
45913 else
45914 wxUSE_TOOLBAR_NATIVE="yes"
45915 cat >>confdefs.h <<\_ACEOF
45916 #define wxUSE_TOOLBAR_NATIVE 1
45917 _ACEOF
45918
45919 fi
45920
45921 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45922 fi
45923
45924 if test "$wxUSE_TOOLTIPS" = "yes"; then
45925 if test "$wxUSE_MOTIF" = 1; then
45926 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45927 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45928 else
45929 if test "$wxUSE_UNIVERSAL" = "yes"; then
45930 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45931 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45932 else
45933 cat >>confdefs.h <<\_ACEOF
45934 #define wxUSE_TOOLTIPS 1
45935 _ACEOF
45936
45937 fi
45938 fi
45939 fi
45940
45941 if test "$wxUSE_TREEBOOK" = "yes"; then
45942 cat >>confdefs.h <<\_ACEOF
45943 #define wxUSE_TREEBOOK 1
45944 _ACEOF
45945
45946 USES_CONTROLS=1
45947 fi
45948
45949 if test "$wxUSE_TOOLBOOK" = "yes"; then
45950 cat >>confdefs.h <<\_ACEOF
45951 #define wxUSE_TOOLBOOK 1
45952 _ACEOF
45953
45954 USES_CONTROLS=1
45955 fi
45956
45957 if test "$wxUSE_TREECTRL" = "yes"; then
45958 if test "$wxUSE_IMAGLIST" = "yes"; then
45959 cat >>confdefs.h <<\_ACEOF
45960 #define wxUSE_TREECTRL 1
45961 _ACEOF
45962
45963 USES_CONTROLS=1
45964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45965 else
45966 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45967 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45968 fi
45969 fi
45970
45971 if test "$wxUSE_POPUPWIN" = "yes"; then
45972 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45973 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45974 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45975 else
45976 if test "$wxUSE_PM" = 1; then
45977 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45978 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45979 else
45980 cat >>confdefs.h <<\_ACEOF
45981 #define wxUSE_POPUPWIN 1
45982 _ACEOF
45983
45984 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45985
45986 USES_CONTROLS=1
45987 fi
45988 fi
45989 fi
45990
45991 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45992 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45993 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45994 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45995 else
45996 cat >>confdefs.h <<\_ACEOF
45997 #define wxUSE_DIALUP_MANAGER 1
45998 _ACEOF
45999
46000 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46001 fi
46002 fi
46003
46004 if test "$wxUSE_TIPWINDOW" = "yes"; then
46005 if test "$wxUSE_PM" = 1; then
46006 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46007 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46008 else
46009 cat >>confdefs.h <<\_ACEOF
46010 #define wxUSE_TIPWINDOW 1
46011 _ACEOF
46012
46013 fi
46014 fi
46015
46016 if test "$USES_CONTROLS" = 1; then
46017 cat >>confdefs.h <<\_ACEOF
46018 #define wxUSE_CONTROLS 1
46019 _ACEOF
46020
46021 fi
46022
46023
46024 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46025 cat >>confdefs.h <<\_ACEOF
46026 #define wxUSE_ACCESSIBILITY 1
46027 _ACEOF
46028
46029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46030 fi
46031
46032 if test "$wxUSE_DC_CACHEING" = "yes"; then
46033 cat >>confdefs.h <<\_ACEOF
46034 #define wxUSE_DC_CACHEING 1
46035 _ACEOF
46036
46037 fi
46038
46039 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46040 cat >>confdefs.h <<\_ACEOF
46041 #define wxUSE_DRAGIMAGE 1
46042 _ACEOF
46043
46044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46045 fi
46046
46047 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46048 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46049 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46050 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46051 else
46052 cat >>confdefs.h <<\_ACEOF
46053 #define wxUSE_EXCEPTIONS 1
46054 _ACEOF
46055
46056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46057 fi
46058 fi
46059
46060 USE_HTML=0
46061 if test "$wxUSE_HTML" = "yes"; then
46062 cat >>confdefs.h <<\_ACEOF
46063 #define wxUSE_HTML 1
46064 _ACEOF
46065
46066 USE_HTML=1
46067 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46068 if test "$wxUSE_MAC" = 1; then
46069 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46070 fi
46071 fi
46072 if test "$wxUSE_WEBKIT" = "yes"; then
46073 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46074 old_CPPFLAGS="$CPPFLAGS"
46075 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46076 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46077 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46078 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46079 echo $ECHO_N "(cached) $ECHO_C" >&6
46080 else
46081 cat >conftest.$ac_ext <<_ACEOF
46082 /* confdefs.h. */
46083 _ACEOF
46084 cat confdefs.h >>conftest.$ac_ext
46085 cat >>conftest.$ac_ext <<_ACEOF
46086 /* end confdefs.h. */
46087 #include <Carbon/Carbon.h>
46088
46089 #include <WebKit/HIWebView.h>
46090 _ACEOF
46091 rm -f conftest.$ac_objext
46092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46093 (eval $ac_compile) 2>conftest.er1
46094 ac_status=$?
46095 grep -v '^ *+' conftest.er1 >conftest.err
46096 rm -f conftest.er1
46097 cat conftest.err >&5
46098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46099 (exit $ac_status); } &&
46100 { ac_try='test -z "$ac_cxx_werror_flag"
46101 || test ! -s conftest.err'
46102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46103 (eval $ac_try) 2>&5
46104 ac_status=$?
46105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46106 (exit $ac_status); }; } &&
46107 { ac_try='test -s conftest.$ac_objext'
46108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46109 (eval $ac_try) 2>&5
46110 ac_status=$?
46111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46112 (exit $ac_status); }; }; then
46113 ac_cv_header_WebKit_HIWebView_h=yes
46114 else
46115 echo "$as_me: failed program was:" >&5
46116 sed 's/^/| /' conftest.$ac_ext >&5
46117
46118 ac_cv_header_WebKit_HIWebView_h=no
46119 fi
46120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46121 fi
46122 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46123 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46124 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46125
46126 cat >>confdefs.h <<\_ACEOF
46127 #define wxUSE_WEBKIT 1
46128 _ACEOF
46129
46130 WEBKIT_LINK="-framework WebKit"
46131
46132 else
46133
46134 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46135 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46136 wxUSE_WEBKIT=no
46137
46138 fi
46139
46140
46141 CPPFLAGS="$old_CPPFLAGS"
46142 elif test "$wxUSE_COCOA" = 1; then
46143 cat >>confdefs.h <<\_ACEOF
46144 #define wxUSE_WEBKIT 1
46145 _ACEOF
46146
46147 else
46148 wxUSE_WEBKIT=no
46149 fi
46150 fi
46151
46152 USE_XRC=0
46153 if test "$wxUSE_XRC" = "yes"; then
46154 if test "$wxUSE_XML" != "yes"; then
46155 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46156 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46157 wxUSE_XRC=no
46158 else
46159 cat >>confdefs.h <<\_ACEOF
46160 #define wxUSE_XRC 1
46161 _ACEOF
46162
46163 USE_XRC=1
46164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46165 fi
46166 fi
46167
46168 USE_AUI=0
46169 if test "$wxUSE_AUI" = "yes"; then
46170 cat >>confdefs.h <<\_ACEOF
46171 #define wxUSE_AUI 1
46172 _ACEOF
46173
46174 USE_AUI=1
46175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46176 fi
46177
46178 if test "$wxUSE_MENUS" = "yes"; then
46179 cat >>confdefs.h <<\_ACEOF
46180 #define wxUSE_MENUS 1
46181 _ACEOF
46182
46183 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46184 fi
46185
46186 if test "$wxUSE_METAFILE" = "yes"; then
46187 cat >>confdefs.h <<\_ACEOF
46188 #define wxUSE_METAFILE 1
46189 _ACEOF
46190
46191 fi
46192
46193 if test "$wxUSE_MIMETYPE" = "yes"; then
46194 cat >>confdefs.h <<\_ACEOF
46195 #define wxUSE_MIMETYPE 1
46196 _ACEOF
46197
46198 fi
46199
46200 if test "$wxUSE_MINIFRAME" = "yes"; then
46201 cat >>confdefs.h <<\_ACEOF
46202 #define wxUSE_MINIFRAME 1
46203 _ACEOF
46204
46205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46206 fi
46207
46208 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46209 cat >>confdefs.h <<\_ACEOF
46210 #define wxUSE_SYSTEM_OPTIONS 1
46211 _ACEOF
46212
46213 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46214 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46216 fi
46217 fi
46218
46219
46220 if test "$wxUSE_VALIDATORS" = "yes"; then
46221 cat >>confdefs.h <<\_ACEOF
46222 #define wxUSE_VALIDATORS 1
46223 _ACEOF
46224
46225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46226 fi
46227
46228 if test "$wxUSE_PALETTE" = "yes" ; then
46229 cat >>confdefs.h <<\_ACEOF
46230 #define wxUSE_PALETTE 1
46231 _ACEOF
46232
46233 fi
46234
46235 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46236 LIBS=" -lunicows $LIBS"
46237 fi
46238
46239 USE_RICHTEXT=0
46240 if test "$wxUSE_RICHTEXT" = "yes"; then
46241 cat >>confdefs.h <<\_ACEOF
46242 #define wxUSE_RICHTEXT 1
46243 _ACEOF
46244
46245 USE_RICHTEXT=1
46246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46247 fi
46248
46249 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46250 cat >>confdefs.h <<\_ACEOF
46251 #define wxUSE_GRAPHICS_CONTEXT 1
46252 _ACEOF
46253
46254 fi
46255
46256
46257 if test "$wxUSE_IMAGE" = "yes" ; then
46258 cat >>confdefs.h <<\_ACEOF
46259 #define wxUSE_IMAGE 1
46260 _ACEOF
46261
46262
46263 if test "$wxUSE_GIF" = "yes" ; then
46264 cat >>confdefs.h <<\_ACEOF
46265 #define wxUSE_GIF 1
46266 _ACEOF
46267
46268 fi
46269
46270 if test "$wxUSE_PCX" = "yes" ; then
46271 cat >>confdefs.h <<\_ACEOF
46272 #define wxUSE_PCX 1
46273 _ACEOF
46274
46275 fi
46276
46277 if test "$wxUSE_IFF" = "yes" ; then
46278 cat >>confdefs.h <<\_ACEOF
46279 #define wxUSE_IFF 1
46280 _ACEOF
46281
46282 fi
46283
46284 if test "$wxUSE_PNM" = "yes" ; then
46285 cat >>confdefs.h <<\_ACEOF
46286 #define wxUSE_PNM 1
46287 _ACEOF
46288
46289 fi
46290
46291 if test "$wxUSE_XPM" = "yes" ; then
46292 cat >>confdefs.h <<\_ACEOF
46293 #define wxUSE_XPM 1
46294 _ACEOF
46295
46296 fi
46297
46298 if test "$wxUSE_ICO_CUR" = "yes" ; then
46299 cat >>confdefs.h <<\_ACEOF
46300 #define wxUSE_ICO_CUR 1
46301 _ACEOF
46302
46303 fi
46304 fi
46305
46306
46307 if test "$wxUSE_ABOUTDLG" = "yes"; then
46308 cat >>confdefs.h <<\_ACEOF
46309 #define wxUSE_ABOUTDLG 1
46310 _ACEOF
46311
46312 fi
46313
46314 if test "$wxUSE_CHOICEDLG" = "yes"; then
46315 cat >>confdefs.h <<\_ACEOF
46316 #define wxUSE_CHOICEDLG 1
46317 _ACEOF
46318
46319 fi
46320
46321 if test "$wxUSE_COLOURDLG" = "yes"; then
46322 cat >>confdefs.h <<\_ACEOF
46323 #define wxUSE_COLOURDLG 1
46324 _ACEOF
46325
46326 fi
46327
46328 if test "$wxUSE_FILEDLG" = "yes"; then
46329 cat >>confdefs.h <<\_ACEOF
46330 #define wxUSE_FILEDLG 1
46331 _ACEOF
46332
46333 fi
46334
46335 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46336 cat >>confdefs.h <<\_ACEOF
46337 #define wxUSE_FINDREPLDLG 1
46338 _ACEOF
46339
46340 fi
46341
46342 if test "$wxUSE_FONTDLG" = "yes"; then
46343 cat >>confdefs.h <<\_ACEOF
46344 #define wxUSE_FONTDLG 1
46345 _ACEOF
46346
46347 fi
46348
46349 if test "$wxUSE_DIRDLG" = "yes"; then
46350 if test "$wxUSE_TREECTRL" != "yes"; then
46351 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46352 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46353 else
46354 cat >>confdefs.h <<\_ACEOF
46355 #define wxUSE_DIRDLG 1
46356 _ACEOF
46357
46358 fi
46359 fi
46360
46361 if test "$wxUSE_MSGDLG" = "yes"; then
46362 cat >>confdefs.h <<\_ACEOF
46363 #define wxUSE_MSGDLG 1
46364 _ACEOF
46365
46366 fi
46367
46368 if test "$wxUSE_NUMBERDLG" = "yes"; then
46369 cat >>confdefs.h <<\_ACEOF
46370 #define wxUSE_NUMBERDLG 1
46371 _ACEOF
46372
46373 fi
46374
46375 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46376 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46377 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46378 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46379 else
46380 cat >>confdefs.h <<\_ACEOF
46381 #define wxUSE_PROGRESSDLG 1
46382 _ACEOF
46383
46384 fi
46385 fi
46386
46387 if test "$wxUSE_SPLASH" = "yes"; then
46388 cat >>confdefs.h <<\_ACEOF
46389 #define wxUSE_SPLASH 1
46390 _ACEOF
46391
46392 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46393 fi
46394
46395 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46396 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46397 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46398 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46399 else
46400 cat >>confdefs.h <<\_ACEOF
46401 #define wxUSE_STARTUP_TIPS 1
46402 _ACEOF
46403
46404 fi
46405 fi
46406
46407 if test "$wxUSE_TEXTDLG" = "yes"; then
46408 cat >>confdefs.h <<\_ACEOF
46409 #define wxUSE_TEXTDLG 1
46410 _ACEOF
46411
46412 fi
46413
46414 if test "$wxUSE_WIZARDDLG" = "yes"; then
46415 cat >>confdefs.h <<\_ACEOF
46416 #define wxUSE_WIZARDDLG 1
46417 _ACEOF
46418
46419 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46420 fi
46421
46422
46423 USE_MEDIA=0
46424
46425 if test "$wxUSE_MEDIACTRL" = "yes"; then
46426 USE_MEDIA=1
46427
46428 if test "$wxUSE_GTK" = 1; then
46429 wxUSE_GSTREAMER="no"
46430
46431 GST_VERSION_MAJOR=0
46432 GST_VERSION_MINOR=10
46433 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46434
46435 if test "$wxUSE_GSTREAMER8" = "no"; then
46436
46437 pkg_failed=no
46438 echo "$as_me:$LINENO: checking for GST" >&5
46439 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46440
46441 if test -n "$PKG_CONFIG"; then
46442 if test -n "$GST_CFLAGS"; then
46443 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46444 else
46445 if test -n "$PKG_CONFIG" && \
46446 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46447 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46448 ac_status=$?
46449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46450 (exit $ac_status); }; then
46451 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46452 else
46453 pkg_failed=yes
46454 fi
46455 fi
46456 else
46457 pkg_failed=untried
46458 fi
46459 if test -n "$PKG_CONFIG"; then
46460 if test -n "$GST_LIBS"; then
46461 pkg_cv_GST_LIBS="$GST_LIBS"
46462 else
46463 if test -n "$PKG_CONFIG" && \
46464 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46465 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46466 ac_status=$?
46467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46468 (exit $ac_status); }; then
46469 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46470 else
46471 pkg_failed=yes
46472 fi
46473 fi
46474 else
46475 pkg_failed=untried
46476 fi
46477
46478
46479
46480 if test $pkg_failed = yes; then
46481
46482 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46483 _pkg_short_errors_supported=yes
46484 else
46485 _pkg_short_errors_supported=no
46486 fi
46487 if test $_pkg_short_errors_supported = yes; then
46488 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46489 else
46490 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46491 fi
46492 # Put the nasty error message in config.log where it belongs
46493 echo "$GST_PKG_ERRORS" >&5
46494
46495
46496 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46497 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46498 GST_VERSION_MINOR=8
46499
46500
46501 elif test $pkg_failed = untried; then
46502
46503 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46504 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46505 GST_VERSION_MINOR=8
46506
46507
46508 else
46509 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46510 GST_LIBS=$pkg_cv_GST_LIBS
46511 echo "$as_me:$LINENO: result: yes" >&5
46512 echo "${ECHO_T}yes" >&6
46513
46514 wxUSE_GSTREAMER="yes"
46515 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46516
46517 fi
46518 else
46519 GST_VERSION_MINOR=8
46520 fi
46521
46522 if test $GST_VERSION_MINOR = "8"; then
46523 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46524
46525 pkg_failed=no
46526 echo "$as_me:$LINENO: checking for GST" >&5
46527 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46528
46529 if test -n "$PKG_CONFIG"; then
46530 if test -n "$GST_CFLAGS"; then
46531 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46532 else
46533 if test -n "$PKG_CONFIG" && \
46534 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46535 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46536 ac_status=$?
46537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46538 (exit $ac_status); }; then
46539 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46540 else
46541 pkg_failed=yes
46542 fi
46543 fi
46544 else
46545 pkg_failed=untried
46546 fi
46547 if test -n "$PKG_CONFIG"; then
46548 if test -n "$GST_LIBS"; then
46549 pkg_cv_GST_LIBS="$GST_LIBS"
46550 else
46551 if test -n "$PKG_CONFIG" && \
46552 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46553 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46554 ac_status=$?
46555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46556 (exit $ac_status); }; then
46557 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46558 else
46559 pkg_failed=yes
46560 fi
46561 fi
46562 else
46563 pkg_failed=untried
46564 fi
46565
46566
46567
46568 if test $pkg_failed = yes; then
46569
46570 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46571 _pkg_short_errors_supported=yes
46572 else
46573 _pkg_short_errors_supported=no
46574 fi
46575 if test $_pkg_short_errors_supported = yes; then
46576 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46577 else
46578 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46579 fi
46580 # Put the nasty error message in config.log where it belongs
46581 echo "$GST_PKG_ERRORS" >&5
46582
46583
46584 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46585 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46586
46587 elif test $pkg_failed = untried; then
46588
46589 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46590 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46591
46592 else
46593 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46594 GST_LIBS=$pkg_cv_GST_LIBS
46595 echo "$as_me:$LINENO: result: yes" >&5
46596 echo "${ECHO_T}yes" >&6
46597 wxUSE_GSTREAMER="yes"
46598 fi
46599 fi
46600
46601
46602 if test "$wxUSE_GSTREAMER" = "yes"; then
46603 case "${host}" in
46604 *-*-solaris2* )
46605 if "$GCC" = yes; then
46606 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46607 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46608 fi
46609 esac
46610
46611 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46612 LIBS="$GST_LIBS $LIBS"
46613
46614 cat >>confdefs.h <<\_ACEOF
46615 #define wxUSE_GSTREAMER 1
46616 _ACEOF
46617
46618 else
46619 USE_MEDIA=0
46620 fi
46621 fi
46622
46623 if test $USE_MEDIA = 1; then
46624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46625 cat >>confdefs.h <<\_ACEOF
46626 #define wxUSE_MEDIACTRL 1
46627 _ACEOF
46628
46629 fi
46630 fi
46631
46632
46633 if test "$cross_compiling" = "yes"; then
46634 OSINFO="\"$host\""
46635 else
46636 OSINFO=`uname -s -r -m`
46637 OSINFO="\"$OSINFO\""
46638 fi
46639
46640 cat >>confdefs.h <<_ACEOF
46641 #define WXWIN_OS_DESCRIPTION $OSINFO
46642 _ACEOF
46643
46644
46645
46646 if test "x$prefix" != "xNONE"; then
46647 wxPREFIX=$prefix
46648 else
46649 wxPREFIX=$ac_default_prefix
46650 fi
46651
46652 cat >>confdefs.h <<_ACEOF
46653 #define wxINSTALL_PREFIX "$wxPREFIX"
46654 _ACEOF
46655
46656
46657
46658
46659 CORE_BASE_LIBS="net base"
46660 CORE_GUI_LIBS="adv core"
46661
46662 if test "$wxUSE_XML" = "yes" ; then
46663 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46664 fi
46665 if test "$wxUSE_ODBC" != "no" ; then
46666 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46667 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46668 fi
46669 if test "$wxUSE_HTML" = "yes" ; then
46670 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46671 fi
46672 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46673 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46674 fi
46675 if test "$wxUSE_XRC" = "yes" ; then
46676 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46677 fi
46678 if test "$wxUSE_AUI" = "yes" ; then
46679 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46680 fi
46681
46682 if test "$wxUSE_GUI" != "yes"; then
46683 CORE_GUI_LIBS=""
46684 fi
46685
46686
46687
46688
46689
46690 ac_ext=c
46691 ac_cpp='$CPP $CPPFLAGS'
46692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46695
46696
46697
46698 if test "$wxUSE_MAC" = 1 ; then
46699 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46700 if test "$USE_DARWIN" = 1; then
46701 LDFLAGS="$LDFLAGS -framework QuickTime"
46702 else
46703 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46704 fi
46705 fi
46706 if test "$USE_DARWIN" = 1; then
46707 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46708 else
46709 LDFLAGS="$LDFLAGS -lCarbonLib"
46710 fi
46711 fi
46712 if test "$wxUSE_COCOA" = 1 ; then
46713 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46714 if test "$wxUSE_MEDIACTRL" = "yes"; then
46715 LDFLAGS="$LDFLAGS -framework QuickTime"
46716 fi
46717 fi
46718 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46719 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46720 fi
46721
46722 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46723
46724 if test "$wxUSE_GUI" = "yes"; then
46725
46726
46727 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46728 dynamic erase event exec font image minimal mobile \
46729 mobile/wxedit mobile/styles propsize render \
46730 rotate shaped vscroll widgets"
46731
46732 if test "$wxUSE_MONOLITHIC" != "yes"; then
46733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46734 fi
46735 if test "$TOOLKIT" = "MSW"; then
46736 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46737 if test "$wxUSE_UNIVERSAL" != "yes"; then
46738 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46739 fi
46740 fi
46741 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46742 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46743 fi
46744 else
46745 SAMPLES_SUBDIRS="console"
46746 fi
46747
46748
46749 if test "x$INTELCC" = "xyes" ; then
46750 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46751 elif test "$GCC" = yes ; then
46752 CWARNINGS="-Wall -Wundef"
46753 fi
46754
46755 if test "x$INTELCXX" = "xyes" ; then
46756 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46757 elif test "$GXX" = yes ; then
46758 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
46759 fi
46760
46761
46762 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46763 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46764
46765
46766 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46767 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46768 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46769 $CPPFLAGS `
46770
46771 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46772 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46773 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46774
46775 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46776
46777
46778 if test "x$MWCC" = "xyes"; then
46779
46780 CC="$CC -cwd source -I-"
46781 CXX="$CXX -cwd source -I-"
46782 fi
46783
46784
46785 LIBS=`echo $LIBS`
46786 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46787 EXTRALIBS_XML="$EXPAT_LINK"
46788 EXTRALIBS_HTML="$MSPACK_LINK"
46789 EXTRALIBS_ODBC="$ODBC_LINK"
46790 if test "$wxUSE_GUI" = "yes"; then
46791 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46792 fi
46793 if test "$wxUSE_OPENGL" = "yes"; then
46794 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46795 fi
46796
46797 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46798
46799 WXCONFIG_LIBS="$LIBS"
46800
46801 if test "$wxUSE_REGEX" = "builtin" ; then
46802 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46803 fi
46804 if test "$wxUSE_EXPAT" = "builtin" ; then
46805 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46806 fi
46807 if test "$wxUSE_ODBC" = "builtin" ; then
46808 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
46809 fi
46810 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46811 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46812 fi
46813 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46814 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46815 fi
46816 if test "$wxUSE_LIBPNG" = "builtin" ; then
46817 wxconfig_3rdparty="png $wxconfig_3rdparty"
46818 fi
46819 if test "$wxUSE_ZLIB" = "builtin" ; then
46820 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46821 fi
46822
46823 for i in $wxconfig_3rdparty ; do
46824 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46825 done
46826
46827
46828 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46829 WXUNIV=1
46830
46831 case "$wxUNIV_THEMES" in
46832 ''|all)
46833 cat >>confdefs.h <<\_ACEOF
46834 #define wxUSE_ALL_THEMES 1
46835 _ACEOF
46836
46837 ;;
46838
46839 *)
46840 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46841 cat >>confdefs.h <<_ACEOF
46842 #define wxUSE_THEME_$t 1
46843 _ACEOF
46844
46845 done
46846 esac
46847 else
46848 WXUNIV=0
46849 fi
46850
46851
46852
46853
46854
46855
46856
46857
46858
46859 if test $wxUSE_MONOLITHIC = "yes" ; then
46860 MONOLITHIC=1
46861 else
46862 MONOLITHIC=0
46863 fi
46864
46865 if test $wxUSE_PLUGINS = "yes" ; then
46866 USE_PLUGINS=1
46867 else
46868 USE_PLUGINS=0
46869 fi
46870
46871 if test $wxUSE_ODBC != "no" ; then
46872 USE_ODBC=1
46873 else
46874 USE_ODBC=0
46875 fi
46876
46877 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46878 USE_QA=1
46879 else
46880 USE_QA=0
46881 fi
46882
46883 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46884 OFFICIAL_BUILD=1
46885 else
46886 OFFICIAL_BUILD=0
46887 fi
46888
46889
46890
46891
46892
46893
46894
46895
46896
46897
46898
46899
46900
46901
46902
46903
46904
46905
46906
46907
46908
46909
46910
46911
46912
46913 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46914
46915
46916
46917
46918
46919
46920
46921
46922 case "$TOOLKIT" in
46923 GTK)
46924 TOOLKIT_DESC="GTK+"
46925 if test "$WXGTK20" = 1; then
46926 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46927 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46928 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46929 fi
46930 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46931 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46932 fi
46933 if test "$wxUSE_LIBHILDON" = "yes"; then
46934 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46935 fi
46936
46937 if test "$TOOLKIT_EXTRA" != ""; then
46938 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46939 fi
46940 fi
46941 ;;
46942
46943 ?*)
46944 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46945 ;;
46946
46947 *)
46948 TOOLKIT_DESC="base only"
46949 ;;
46950 esac
46951
46952 if test "$wxUSE_WINE" = "yes"; then
46953 BAKEFILE_FORCE_PLATFORM=win32
46954 fi
46955
46956 if test "$wxUSE_MAC" = 1 ; then
46957 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
46958 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
46959 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46960 else
46961 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46962 fi
46963 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
46964 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
46965 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
46966 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
46967 bk_use_pch=no
46968 fi
46969 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46970 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46971 fi
46972
46973
46974
46975
46976 if test "x$BAKEFILE_HOST" = "x"; then
46977 if test "x${host}" = "x" ; then
46978 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46979 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46980 { (exit 1); exit 1; }; }
46981 fi
46982
46983 BAKEFILE_HOST="${host}"
46984 fi
46985
46986 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46987
46988 if test -n "$ac_tool_prefix"; then
46989 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46990 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46991 echo "$as_me:$LINENO: checking for $ac_word" >&5
46992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46993 if test "${ac_cv_prog_RANLIB+set}" = set; then
46994 echo $ECHO_N "(cached) $ECHO_C" >&6
46995 else
46996 if test -n "$RANLIB"; then
46997 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46998 else
46999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47000 for as_dir in $PATH
47001 do
47002 IFS=$as_save_IFS
47003 test -z "$as_dir" && as_dir=.
47004 for ac_exec_ext in '' $ac_executable_extensions; do
47005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47006 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47008 break 2
47009 fi
47010 done
47011 done
47012
47013 fi
47014 fi
47015 RANLIB=$ac_cv_prog_RANLIB
47016 if test -n "$RANLIB"; then
47017 echo "$as_me:$LINENO: result: $RANLIB" >&5
47018 echo "${ECHO_T}$RANLIB" >&6
47019 else
47020 echo "$as_me:$LINENO: result: no" >&5
47021 echo "${ECHO_T}no" >&6
47022 fi
47023
47024 fi
47025 if test -z "$ac_cv_prog_RANLIB"; then
47026 ac_ct_RANLIB=$RANLIB
47027 # Extract the first word of "ranlib", so it can be a program name with args.
47028 set dummy ranlib; ac_word=$2
47029 echo "$as_me:$LINENO: checking for $ac_word" >&5
47030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47031 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47032 echo $ECHO_N "(cached) $ECHO_C" >&6
47033 else
47034 if test -n "$ac_ct_RANLIB"; then
47035 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47036 else
47037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47038 for as_dir in $PATH
47039 do
47040 IFS=$as_save_IFS
47041 test -z "$as_dir" && as_dir=.
47042 for ac_exec_ext in '' $ac_executable_extensions; do
47043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47044 ac_cv_prog_ac_ct_RANLIB="ranlib"
47045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47046 break 2
47047 fi
47048 done
47049 done
47050
47051 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47052 fi
47053 fi
47054 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47055 if test -n "$ac_ct_RANLIB"; then
47056 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47057 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47058 else
47059 echo "$as_me:$LINENO: result: no" >&5
47060 echo "${ECHO_T}no" >&6
47061 fi
47062
47063 RANLIB=$ac_ct_RANLIB
47064 else
47065 RANLIB="$ac_cv_prog_RANLIB"
47066 fi
47067
47068 # Find a good install program. We prefer a C program (faster),
47069 # so one script is as good as another. But avoid the broken or
47070 # incompatible versions:
47071 # SysV /etc/install, /usr/sbin/install
47072 # SunOS /usr/etc/install
47073 # IRIX /sbin/install
47074 # AIX /bin/install
47075 # AmigaOS /C/install, which installs bootblocks on floppy discs
47076 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47077 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47078 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47079 # OS/2's system install, which has a completely different semantic
47080 # ./install, which can be erroneously created by make from ./install.sh.
47081 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47082 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47083 if test -z "$INSTALL"; then
47084 if test "${ac_cv_path_install+set}" = set; then
47085 echo $ECHO_N "(cached) $ECHO_C" >&6
47086 else
47087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47088 for as_dir in $PATH
47089 do
47090 IFS=$as_save_IFS
47091 test -z "$as_dir" && as_dir=.
47092 # Account for people who put trailing slashes in PATH elements.
47093 case $as_dir/ in
47094 ./ | .// | /cC/* | \
47095 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47096 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47097 /usr/ucb/* ) ;;
47098 *)
47099 # OSF1 and SCO ODT 3.0 have their own names for install.
47100 # Don't use installbsd from OSF since it installs stuff as root
47101 # by default.
47102 for ac_prog in ginstall scoinst install; do
47103 for ac_exec_ext in '' $ac_executable_extensions; do
47104 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47105 if test $ac_prog = install &&
47106 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47107 # AIX install. It has an incompatible calling convention.
47108 :
47109 elif test $ac_prog = install &&
47110 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47111 # program-specific install script used by HP pwplus--don't use.
47112 :
47113 else
47114 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47115 break 3
47116 fi
47117 fi
47118 done
47119 done
47120 ;;
47121 esac
47122 done
47123
47124
47125 fi
47126 if test "${ac_cv_path_install+set}" = set; then
47127 INSTALL=$ac_cv_path_install
47128 else
47129 # As a last resort, use the slow shell script. We don't cache a
47130 # path for INSTALL within a source directory, because that will
47131 # break other packages using the cache if that directory is
47132 # removed, or if the path is relative.
47133 INSTALL=$ac_install_sh
47134 fi
47135 fi
47136 echo "$as_me:$LINENO: result: $INSTALL" >&5
47137 echo "${ECHO_T}$INSTALL" >&6
47138
47139 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47140 # It thinks the first close brace ends the variable substitution.
47141 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47142
47143 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47144
47145 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47146
47147 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47148 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47149 LN_S=$as_ln_s
47150 if test "$LN_S" = "ln -s"; then
47151 echo "$as_me:$LINENO: result: yes" >&5
47152 echo "${ECHO_T}yes" >&6
47153 else
47154 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47155 echo "${ECHO_T}no, using $LN_S" >&6
47156 fi
47157
47158
47159 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47160 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47161 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47162 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47163 echo $ECHO_N "(cached) $ECHO_C" >&6
47164 else
47165 cat >conftest.make <<\_ACEOF
47166 all:
47167 @echo 'ac_maketemp="$(MAKE)"'
47168 _ACEOF
47169 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47170 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47171 if test -n "$ac_maketemp"; then
47172 eval ac_cv_prog_make_${ac_make}_set=yes
47173 else
47174 eval ac_cv_prog_make_${ac_make}_set=no
47175 fi
47176 rm -f conftest.make
47177 fi
47178 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47179 echo "$as_me:$LINENO: result: yes" >&5
47180 echo "${ECHO_T}yes" >&6
47181 SET_MAKE=
47182 else
47183 echo "$as_me:$LINENO: result: no" >&5
47184 echo "${ECHO_T}no" >&6
47185 SET_MAKE="MAKE=${MAKE-make}"
47186 fi
47187
47188
47189
47190 if test -n "$ac_tool_prefix"; then
47191 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47192 set dummy ${ac_tool_prefix}ar; ac_word=$2
47193 echo "$as_me:$LINENO: checking for $ac_word" >&5
47194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47195 if test "${ac_cv_prog_AR+set}" = set; then
47196 echo $ECHO_N "(cached) $ECHO_C" >&6
47197 else
47198 if test -n "$AR"; then
47199 ac_cv_prog_AR="$AR" # Let the user override the test.
47200 else
47201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47202 for as_dir in $PATH
47203 do
47204 IFS=$as_save_IFS
47205 test -z "$as_dir" && as_dir=.
47206 for ac_exec_ext in '' $ac_executable_extensions; do
47207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47208 ac_cv_prog_AR="${ac_tool_prefix}ar"
47209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47210 break 2
47211 fi
47212 done
47213 done
47214
47215 fi
47216 fi
47217 AR=$ac_cv_prog_AR
47218 if test -n "$AR"; then
47219 echo "$as_me:$LINENO: result: $AR" >&5
47220 echo "${ECHO_T}$AR" >&6
47221 else
47222 echo "$as_me:$LINENO: result: no" >&5
47223 echo "${ECHO_T}no" >&6
47224 fi
47225
47226 fi
47227 if test -z "$ac_cv_prog_AR"; then
47228 ac_ct_AR=$AR
47229 # Extract the first word of "ar", so it can be a program name with args.
47230 set dummy ar; ac_word=$2
47231 echo "$as_me:$LINENO: checking for $ac_word" >&5
47232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47233 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47234 echo $ECHO_N "(cached) $ECHO_C" >&6
47235 else
47236 if test -n "$ac_ct_AR"; then
47237 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47238 else
47239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47240 for as_dir in $PATH
47241 do
47242 IFS=$as_save_IFS
47243 test -z "$as_dir" && as_dir=.
47244 for ac_exec_ext in '' $ac_executable_extensions; do
47245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47246 ac_cv_prog_ac_ct_AR="ar"
47247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47248 break 2
47249 fi
47250 done
47251 done
47252
47253 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47254 fi
47255 fi
47256 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47257 if test -n "$ac_ct_AR"; then
47258 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47259 echo "${ECHO_T}$ac_ct_AR" >&6
47260 else
47261 echo "$as_me:$LINENO: result: no" >&5
47262 echo "${ECHO_T}no" >&6
47263 fi
47264
47265 AR=$ac_ct_AR
47266 else
47267 AR="$ac_cv_prog_AR"
47268 fi
47269
47270 if test -n "$ac_tool_prefix"; then
47271 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47272 set dummy ${ac_tool_prefix}strip; ac_word=$2
47273 echo "$as_me:$LINENO: checking for $ac_word" >&5
47274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47275 if test "${ac_cv_prog_STRIP+set}" = set; then
47276 echo $ECHO_N "(cached) $ECHO_C" >&6
47277 else
47278 if test -n "$STRIP"; then
47279 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47280 else
47281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47282 for as_dir in $PATH
47283 do
47284 IFS=$as_save_IFS
47285 test -z "$as_dir" && as_dir=.
47286 for ac_exec_ext in '' $ac_executable_extensions; do
47287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47288 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47290 break 2
47291 fi
47292 done
47293 done
47294
47295 fi
47296 fi
47297 STRIP=$ac_cv_prog_STRIP
47298 if test -n "$STRIP"; then
47299 echo "$as_me:$LINENO: result: $STRIP" >&5
47300 echo "${ECHO_T}$STRIP" >&6
47301 else
47302 echo "$as_me:$LINENO: result: no" >&5
47303 echo "${ECHO_T}no" >&6
47304 fi
47305
47306 fi
47307 if test -z "$ac_cv_prog_STRIP"; then
47308 ac_ct_STRIP=$STRIP
47309 # Extract the first word of "strip", so it can be a program name with args.
47310 set dummy strip; ac_word=$2
47311 echo "$as_me:$LINENO: checking for $ac_word" >&5
47312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47313 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47314 echo $ECHO_N "(cached) $ECHO_C" >&6
47315 else
47316 if test -n "$ac_ct_STRIP"; then
47317 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47318 else
47319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47320 for as_dir in $PATH
47321 do
47322 IFS=$as_save_IFS
47323 test -z "$as_dir" && as_dir=.
47324 for ac_exec_ext in '' $ac_executable_extensions; do
47325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47326 ac_cv_prog_ac_ct_STRIP="strip"
47327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47328 break 2
47329 fi
47330 done
47331 done
47332
47333 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47334 fi
47335 fi
47336 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47337 if test -n "$ac_ct_STRIP"; then
47338 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47339 echo "${ECHO_T}$ac_ct_STRIP" >&6
47340 else
47341 echo "$as_me:$LINENO: result: no" >&5
47342 echo "${ECHO_T}no" >&6
47343 fi
47344
47345 STRIP=$ac_ct_STRIP
47346 else
47347 STRIP="$ac_cv_prog_STRIP"
47348 fi
47349
47350 if test -n "$ac_tool_prefix"; then
47351 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47352 set dummy ${ac_tool_prefix}nm; ac_word=$2
47353 echo "$as_me:$LINENO: checking for $ac_word" >&5
47354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47355 if test "${ac_cv_prog_NM+set}" = set; then
47356 echo $ECHO_N "(cached) $ECHO_C" >&6
47357 else
47358 if test -n "$NM"; then
47359 ac_cv_prog_NM="$NM" # Let the user override the test.
47360 else
47361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47362 for as_dir in $PATH
47363 do
47364 IFS=$as_save_IFS
47365 test -z "$as_dir" && as_dir=.
47366 for ac_exec_ext in '' $ac_executable_extensions; do
47367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47368 ac_cv_prog_NM="${ac_tool_prefix}nm"
47369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47370 break 2
47371 fi
47372 done
47373 done
47374
47375 fi
47376 fi
47377 NM=$ac_cv_prog_NM
47378 if test -n "$NM"; then
47379 echo "$as_me:$LINENO: result: $NM" >&5
47380 echo "${ECHO_T}$NM" >&6
47381 else
47382 echo "$as_me:$LINENO: result: no" >&5
47383 echo "${ECHO_T}no" >&6
47384 fi
47385
47386 fi
47387 if test -z "$ac_cv_prog_NM"; then
47388 ac_ct_NM=$NM
47389 # Extract the first word of "nm", so it can be a program name with args.
47390 set dummy nm; ac_word=$2
47391 echo "$as_me:$LINENO: checking for $ac_word" >&5
47392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47393 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47394 echo $ECHO_N "(cached) $ECHO_C" >&6
47395 else
47396 if test -n "$ac_ct_NM"; then
47397 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47398 else
47399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47400 for as_dir in $PATH
47401 do
47402 IFS=$as_save_IFS
47403 test -z "$as_dir" && as_dir=.
47404 for ac_exec_ext in '' $ac_executable_extensions; do
47405 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47406 ac_cv_prog_ac_ct_NM="nm"
47407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47408 break 2
47409 fi
47410 done
47411 done
47412
47413 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47414 fi
47415 fi
47416 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47417 if test -n "$ac_ct_NM"; then
47418 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47419 echo "${ECHO_T}$ac_ct_NM" >&6
47420 else
47421 echo "$as_me:$LINENO: result: no" >&5
47422 echo "${ECHO_T}no" >&6
47423 fi
47424
47425 NM=$ac_ct_NM
47426 else
47427 NM="$ac_cv_prog_NM"
47428 fi
47429
47430
47431 case ${BAKEFILE_HOST} in
47432 *-hp-hpux* )
47433 INSTALL_DIR="mkdir -p"
47434 ;;
47435 *) INSTALL_DIR="$INSTALL -d"
47436 ;;
47437 esac
47438
47439
47440 LDFLAGS_GUI=
47441 case ${BAKEFILE_HOST} in
47442 *-*-cygwin* | *-*-mingw32* )
47443 LDFLAGS_GUI="-mwindows"
47444 esac
47445
47446
47447 fi
47448
47449 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47450 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47451 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47452 echo $ECHO_N "(cached) $ECHO_C" >&6
47453 else
47454
47455 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47456 egrep -s GNU > /dev/null); then
47457 bakefile_cv_prog_makeisgnu="yes"
47458 else
47459 bakefile_cv_prog_makeisgnu="no"
47460 fi
47461
47462 fi
47463 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47464 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47465
47466 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47467 IF_GNU_MAKE=""
47468 else
47469 IF_GNU_MAKE="#"
47470 fi
47471
47472
47473
47474 PLATFORM_UNIX=0
47475 PLATFORM_WIN32=0
47476 PLATFORM_MSDOS=0
47477 PLATFORM_MAC=0
47478 PLATFORM_MACOS=0
47479 PLATFORM_MACOSX=0
47480 PLATFORM_OS2=0
47481 PLATFORM_BEOS=0
47482
47483 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47484 case "${BAKEFILE_HOST}" in
47485 *-*-mingw32* )
47486 PLATFORM_WIN32=1
47487 ;;
47488 *-pc-msdosdjgpp )
47489 PLATFORM_MSDOS=1
47490 ;;
47491 *-pc-os2_emx | *-pc-os2-emx )
47492 PLATFORM_OS2=1
47493 ;;
47494 *-*-darwin* )
47495 PLATFORM_MAC=1
47496 PLATFORM_MACOSX=1
47497 ;;
47498 *-*-beos* )
47499 PLATFORM_BEOS=1
47500 ;;
47501 powerpc-apple-macos* )
47502 PLATFORM_MAC=1
47503 PLATFORM_MACOS=1
47504 ;;
47505 * )
47506 PLATFORM_UNIX=1
47507 ;;
47508 esac
47509 else
47510 case "$BAKEFILE_FORCE_PLATFORM" in
47511 win32 )
47512 PLATFORM_WIN32=1
47513 ;;
47514 msdos )
47515 PLATFORM_MSDOS=1
47516 ;;
47517 os2 )
47518 PLATFORM_OS2=1
47519 ;;
47520 darwin )
47521 PLATFORM_MAC=1
47522 PLATFORM_MACOSX=1
47523 ;;
47524 unix )
47525 PLATFORM_UNIX=1
47526 ;;
47527 beos )
47528 PLATFORM_BEOS=1
47529 ;;
47530 * )
47531 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47532 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47533 { (exit 1); exit 1; }; }
47534 ;;
47535 esac
47536 fi
47537
47538
47539
47540
47541
47542
47543
47544
47545
47546
47547
47548 # Check whether --enable-omf or --disable-omf was given.
47549 if test "${enable_omf+set}" = set; then
47550 enableval="$enable_omf"
47551 bk_os2_use_omf="$enableval"
47552 fi;
47553
47554 case "${BAKEFILE_HOST}" in
47555 *-*-darwin* )
47556 if test "x$GCC" = "xyes"; then
47557 CFLAGS="$CFLAGS -fno-common"
47558 CXXFLAGS="$CXXFLAGS -fno-common"
47559 fi
47560 if test "x$XLCC" = "xyes"; then
47561 CFLAGS="$CFLAGS -qnocommon"
47562 CXXFLAGS="$CXXFLAGS -qnocommon"
47563 fi
47564 ;;
47565
47566 *-pc-os2_emx | *-pc-os2-emx )
47567 if test "x$bk_os2_use_omf" = "xyes" ; then
47568 AR=emxomfar
47569 RANLIB=:
47570 LDFLAGS="-Zomf $LDFLAGS"
47571 CFLAGS="-Zomf $CFLAGS"
47572 CXXFLAGS="-Zomf $CXXFLAGS"
47573 OS2_LIBEXT="lib"
47574 else
47575 OS2_LIBEXT="a"
47576 fi
47577 ;;
47578
47579 i*86-*-beos* )
47580 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47581 ;;
47582 esac
47583
47584
47585 SO_SUFFIX="so"
47586 SO_SUFFIX_MODULE="so"
47587 EXEEXT=""
47588 LIBPREFIX="lib"
47589 LIBEXT=".a"
47590 DLLPREFIX="lib"
47591 DLLPREFIX_MODULE=""
47592 DLLIMP_SUFFIX=""
47593 dlldir="$libdir"
47594
47595 case "${BAKEFILE_HOST}" in
47596 *-hp-hpux* )
47597 SO_SUFFIX="sl"
47598 SO_SUFFIX_MODULE="sl"
47599 ;;
47600 *-*-aix* )
47601 SO_SUFFIX="a"
47602 SO_SUFFIX_MODULE="a"
47603 ;;
47604 *-*-cygwin* )
47605 SO_SUFFIX="dll"
47606 SO_SUFFIX_MODULE="dll"
47607 DLLIMP_SUFFIX="dll.a"
47608 EXEEXT=".exe"
47609 DLLPREFIX="cyg"
47610 dlldir="$bindir"
47611 ;;
47612 *-*-mingw32* )
47613 SO_SUFFIX="dll"
47614 SO_SUFFIX_MODULE="dll"
47615 DLLIMP_SUFFIX="dll.a"
47616 EXEEXT=".exe"
47617 DLLPREFIX=""
47618 dlldir="$bindir"
47619 ;;
47620 *-pc-msdosdjgpp )
47621 EXEEXT=".exe"
47622 DLLPREFIX=""
47623 dlldir="$bindir"
47624 ;;
47625 *-pc-os2_emx | *-pc-os2-emx )
47626 SO_SUFFIX="dll"
47627 SO_SUFFIX_MODULE="dll"
47628 DLLIMP_SUFFIX=$OS2_LIBEXT
47629 EXEEXT=".exe"
47630 DLLPREFIX=""
47631 LIBPREFIX=""
47632 LIBEXT=".$OS2_LIBEXT"
47633 dlldir="$bindir"
47634 ;;
47635 *-*-darwin* )
47636 SO_SUFFIX="dylib"
47637 SO_SUFFIX_MODULE="bundle"
47638 ;;
47639 esac
47640
47641 if test "x$DLLIMP_SUFFIX" = "x" ; then
47642 DLLIMP_SUFFIX="$SO_SUFFIX"
47643 fi
47644
47645
47646
47647
47648
47649
47650
47651
47652
47653
47654
47655
47656 PIC_FLAG=""
47657 if test "x$GCC" = "xyes"; then
47658 PIC_FLAG="-fPIC"
47659 fi
47660
47661 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47662 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47663 WINDOWS_IMPLIB=0
47664
47665 case "${BAKEFILE_HOST}" in
47666 *-hp-hpux* )
47667 if test "x$GCC" != "xyes"; then
47668 LDFLAGS="$LDFLAGS -L/usr/lib"
47669
47670 SHARED_LD_CC="${CC} -b -o"
47671 SHARED_LD_CXX="${CXX} -b -o"
47672 PIC_FLAG="+Z"
47673 fi
47674 ;;
47675
47676 *-*-linux* )
47677 if test "x$GCC" != "xyes"; then
47678 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47679 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47680 if test "${bakefile_cv_prog_icc+set}" = set; then
47681 echo $ECHO_N "(cached) $ECHO_C" >&6
47682 else
47683
47684 cat >conftest.$ac_ext <<_ACEOF
47685 /* confdefs.h. */
47686 _ACEOF
47687 cat confdefs.h >>conftest.$ac_ext
47688 cat >>conftest.$ac_ext <<_ACEOF
47689 /* end confdefs.h. */
47690
47691 int
47692 main ()
47693 {
47694
47695 #ifndef __INTEL_COMPILER
47696 This is not ICC
47697 #endif
47698
47699 ;
47700 return 0;
47701 }
47702 _ACEOF
47703 rm -f conftest.$ac_objext
47704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47705 (eval $ac_compile) 2>conftest.er1
47706 ac_status=$?
47707 grep -v '^ *+' conftest.er1 >conftest.err
47708 rm -f conftest.er1
47709 cat conftest.err >&5
47710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47711 (exit $ac_status); } &&
47712 { ac_try='test -z "$ac_c_werror_flag"
47713 || test ! -s conftest.err'
47714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47715 (eval $ac_try) 2>&5
47716 ac_status=$?
47717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47718 (exit $ac_status); }; } &&
47719 { ac_try='test -s conftest.$ac_objext'
47720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47721 (eval $ac_try) 2>&5
47722 ac_status=$?
47723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47724 (exit $ac_status); }; }; then
47725 bakefile_cv_prog_icc=yes
47726 else
47727 echo "$as_me: failed program was:" >&5
47728 sed 's/^/| /' conftest.$ac_ext >&5
47729
47730 bakefile_cv_prog_icc=no
47731
47732 fi
47733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47734
47735 fi
47736 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47737 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47738 if test "$bakefile_cv_prog_icc" = "yes"; then
47739 PIC_FLAG="-KPIC"
47740 fi
47741 fi
47742 ;;
47743
47744 *-*-solaris2* )
47745 if test "x$GCC" != xyes ; then
47746 SHARED_LD_CC="${CC} -G -o"
47747 SHARED_LD_CXX="${CXX} -G -o"
47748 PIC_FLAG="-KPIC"
47749 fi
47750 ;;
47751
47752 *-*-darwin* )
47753
47754 D='$'
47755 cat <<EOF >shared-ld-sh
47756 #!/bin/sh
47757 #-----------------------------------------------------------------------------
47758 #-- Name: distrib/mac/shared-ld-sh
47759 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47760 #-- Author: Gilles Depeyrot
47761 #-- Copyright: (c) 2002 Gilles Depeyrot
47762 #-- Licence: any use permitted
47763 #-----------------------------------------------------------------------------
47764
47765 verbose=0
47766 args=""
47767 objects=""
47768 linking_flag="-dynamiclib"
47769 ldargs="-r -keep_private_externs -nostdlib"
47770
47771 while test ${D}# -gt 0; do
47772 case ${D}1 in
47773
47774 -v)
47775 verbose=1
47776 ;;
47777
47778 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47779 # collect these options and values
47780 args="${D}{args} ${D}1 ${D}2"
47781 shift
47782 ;;
47783
47784 -s|-Wl,*)
47785 # collect these load args
47786 ldargs="${D}{ldargs} ${D}1"
47787 ;;
47788
47789 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47790 # collect these options
47791 args="${D}{args} ${D}1"
47792 ;;
47793
47794 -dynamiclib|-bundle)
47795 linking_flag="${D}1"
47796 ;;
47797
47798 -*)
47799 echo "shared-ld: unhandled option '${D}1'"
47800 exit 1
47801 ;;
47802
47803 *.o | *.a | *.dylib)
47804 # collect object files
47805 objects="${D}{objects} ${D}1"
47806 ;;
47807
47808 *)
47809 echo "shared-ld: unhandled argument '${D}1'"
47810 exit 1
47811 ;;
47812
47813 esac
47814 shift
47815 done
47816
47817 status=0
47818
47819 #
47820 # Link one module containing all the others
47821 #
47822 if test ${D}{verbose} = 1; then
47823 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47824 fi
47825 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47826 status=${D}?
47827
47828 #
47829 # Link the shared library from the single module created, but only if the
47830 # previous command didn't fail:
47831 #
47832 if test ${D}{status} = 0; then
47833 if test ${D}{verbose} = 1; then
47834 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47835 fi
47836 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47837 status=${D}?
47838 fi
47839
47840 #
47841 # Remove intermediate module
47842 #
47843 rm -f master.${D}${D}.o
47844
47845 exit ${D}status
47846 EOF
47847
47848 chmod +x shared-ld-sh
47849
47850 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47851 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47852
47853
47854 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47855 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47856 if test "${bakefile_cv_gcc31+set}" = set; then
47857 echo $ECHO_N "(cached) $ECHO_C" >&6
47858 else
47859
47860 cat >conftest.$ac_ext <<_ACEOF
47861 /* confdefs.h. */
47862 _ACEOF
47863 cat confdefs.h >>conftest.$ac_ext
47864 cat >>conftest.$ac_ext <<_ACEOF
47865 /* end confdefs.h. */
47866
47867 int
47868 main ()
47869 {
47870
47871 #if (__GNUC__ < 3) || \
47872 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47873 This is old gcc
47874 #endif
47875
47876 ;
47877 return 0;
47878 }
47879 _ACEOF
47880 rm -f conftest.$ac_objext
47881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47882 (eval $ac_compile) 2>conftest.er1
47883 ac_status=$?
47884 grep -v '^ *+' conftest.er1 >conftest.err
47885 rm -f conftest.er1
47886 cat conftest.err >&5
47887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47888 (exit $ac_status); } &&
47889 { ac_try='test -z "$ac_c_werror_flag"
47890 || test ! -s conftest.err'
47891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47892 (eval $ac_try) 2>&5
47893 ac_status=$?
47894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47895 (exit $ac_status); }; } &&
47896 { ac_try='test -s conftest.$ac_objext'
47897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47898 (eval $ac_try) 2>&5
47899 ac_status=$?
47900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47901 (exit $ac_status); }; }; then
47902
47903 bakefile_cv_gcc31=yes
47904
47905 else
47906 echo "$as_me: failed program was:" >&5
47907 sed 's/^/| /' conftest.$ac_ext >&5
47908
47909
47910 bakefile_cv_gcc31=no
47911
47912
47913 fi
47914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47915
47916 fi
47917 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47918 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47919 if test "$bakefile_cv_gcc31" = "no"; then
47920 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47921 SHARED_LD_CXX="$SHARED_LD_CC"
47922 else
47923 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47924 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47925 fi
47926
47927 if test "x$GCC" == "xyes"; then
47928 PIC_FLAG="-dynamic -fPIC"
47929 fi
47930 if test "x$XLCC" = "xyes"; then
47931 PIC_FLAG="-dynamic -DPIC"
47932 fi
47933 ;;
47934
47935 *-*-aix* )
47936 if test "x$GCC" = "xyes"; then
47937 PIC_FLAG=""
47938
47939 case "${BAKEFILE_HOST}" in
47940 *-*-aix5* )
47941 LD_EXPFULL="-Wl,-bexpfull"
47942 ;;
47943 esac
47944
47945 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47946 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47947 else
47948 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47949 set dummy makeC++SharedLib; ac_word=$2
47950 echo "$as_me:$LINENO: checking for $ac_word" >&5
47951 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47952 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47953 echo $ECHO_N "(cached) $ECHO_C" >&6
47954 else
47955 if test -n "$AIX_CXX_LD"; then
47956 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47957 else
47958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47959 for as_dir in $PATH
47960 do
47961 IFS=$as_save_IFS
47962 test -z "$as_dir" && as_dir=.
47963 for ac_exec_ext in '' $ac_executable_extensions; do
47964 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47965 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47966 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47967 break 2
47968 fi
47969 done
47970 done
47971
47972 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47973 fi
47974 fi
47975 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47976 if test -n "$AIX_CXX_LD"; then
47977 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47978 echo "${ECHO_T}$AIX_CXX_LD" >&6
47979 else
47980 echo "$as_me:$LINENO: result: no" >&5
47981 echo "${ECHO_T}no" >&6
47982 fi
47983
47984 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47985 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47986 fi
47987 ;;
47988
47989 *-*-beos* )
47990 SHARED_LD_CC="${LD} -nostart -o"
47991 SHARED_LD_CXX="${LD} -nostart -o"
47992 ;;
47993
47994 *-*-irix* )
47995 if test "x$GCC" != "xyes"; then
47996 PIC_FLAG="-KPIC"
47997 fi
47998 ;;
47999
48000 *-*-cygwin* | *-*-mingw32* )
48001 PIC_FLAG=""
48002 SHARED_LD_CC="\$(CC) -shared -o"
48003 SHARED_LD_CXX="\$(CXX) -shared -o"
48004 WINDOWS_IMPLIB=1
48005 ;;
48006
48007 *-pc-os2_emx | *-pc-os2-emx )
48008 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48009 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48010 PIC_FLAG=""
48011
48012 D='$'
48013 cat <<EOF >dllar.sh
48014 #!/bin/sh
48015 #
48016 # dllar - a tool to build both a .dll and an .a file
48017 # from a set of object (.o) files for EMX/OS2.
48018 #
48019 # Written by Andrew Zabolotny, bit@freya.etu.ru
48020 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48021 #
48022 # This script will accept a set of files on the command line.
48023 # All the public symbols from the .o files will be exported into
48024 # a .DEF file, then linker will be run (through gcc) against them to
48025 # build a shared library consisting of all given .o files. All libraries
48026 # (.a) will be first decompressed into component .o files then act as
48027 # described above. You can optionally give a description (-d "description")
48028 # which will be put into .DLL. To see the list of accepted options (as well
48029 # as command-line format) simply run this program without options. The .DLL
48030 # is built to be imported by name (there is no guarantee that new versions
48031 # of the library you build will have same ordinals for same symbols).
48032 #
48033 # dllar is free software; you can redistribute it and/or modify
48034 # it under the terms of the GNU General Public License as published by
48035 # the Free Software Foundation; either version 2, or (at your option)
48036 # any later version.
48037 #
48038 # dllar is distributed in the hope that it will be useful,
48039 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48040 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48041 # GNU General Public License for more details.
48042 #
48043 # You should have received a copy of the GNU General Public License
48044 # along with dllar; see the file COPYING. If not, write to the Free
48045 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48046 # 02111-1307, USA.
48047
48048 # To successfuly run this program you will need:
48049 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48050 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48051 # - gcc
48052 # (used to build the .dll)
48053 # - emxexp
48054 # (used to create .def file from .o files)
48055 # - emximp
48056 # (used to create .a file from .def file)
48057 # - GNU text utilites (cat, sort, uniq)
48058 # used to process emxexp output
48059 # - GNU file utilities (mv, rm)
48060 # - GNU sed
48061 # - lxlite (optional, see flag below)
48062 # (used for general .dll cleanup)
48063 #
48064
48065 flag_USE_LXLITE=1;
48066
48067 #
48068 # helper functions
48069 # basnam, variant of basename, which does _not_ remove the path, _iff_
48070 # second argument (suffix to remove) is given
48071 basnam(){
48072 case ${D}# in
48073 1)
48074 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48075 ;;
48076 2)
48077 echo ${D}1 | sed 's/'${D}2'${D}//'
48078 ;;
48079 *)
48080 echo "error in basnam ${D}*"
48081 exit 8
48082 ;;
48083 esac
48084 }
48085
48086 # Cleanup temporary files and output
48087 CleanUp() {
48088 cd ${D}curDir
48089 for i in ${D}inputFiles ; do
48090 case ${D}i in
48091 *!)
48092 rm -rf \`basnam ${D}i !\`
48093 ;;
48094 *)
48095 ;;
48096 esac
48097 done
48098
48099 # Kill result in case of failure as there is just to many stupid make/nmake
48100 # things out there which doesn't do this.
48101 if [ ${D}# -eq 0 ]; then
48102 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48103 fi
48104 }
48105
48106 # Print usage and exit script with rc=1.
48107 PrintHelp() {
48108 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48109 echo ' [-name-mangler-script script.sh]'
48110 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48111 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48112 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48113 echo ' [*.o] [*.a]'
48114 echo '*> "output_file" should have no extension.'
48115 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48116 echo ' The import library name is derived from this and is set to "name".a,'
48117 echo ' unless overridden by -import'
48118 echo '*> "importlib_name" should have no extension.'
48119 echo ' If it has the .o, or .a extension, it is automatically removed.'
48120 echo ' This name is used as the import library name and may be longer and'
48121 echo ' more descriptive than the DLL name which has to follow the old '
48122 echo ' 8.3 convention of FAT.'
48123 echo '*> "script.sh may be given to override the output_file name by a'
48124 echo ' different name. It is mainly useful if the regular make process'
48125 echo ' of some package does not take into account OS/2 restriction of'
48126 echo ' DLL name lengths. It takes the importlib name as input and is'
48127 echo ' supposed to procude a shorter name as output. The script should'
48128 echo ' expect to get importlib_name without extension and should produce'
48129 echo ' a (max.) 8 letter name without extension.'
48130 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48131 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48132 echo ' These flags will be put at the start of GCC command line.'
48133 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48134 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48135 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48136 echo ' If the last character of a symbol is "*", all symbols beginning'
48137 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48138 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48139 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48140 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48141 echo ' C runtime DLLs.'
48142 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48143 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48144 echo ' unchanged to GCC at the end of command line.'
48145 echo '*> If you create a DLL from a library and you do not specify -o,'
48146 echo ' the basename for DLL and import library will be set to library name,'
48147 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48148 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48149 echo ' library will be renamed into gcc_s.a.'
48150 echo '--------'
48151 echo 'Example:'
48152 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48153 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48154 CleanUp
48155 exit 1
48156 }
48157
48158 # Execute a command.
48159 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48160 # @Uses Whatever CleanUp() uses.
48161 doCommand() {
48162 echo "${D}*"
48163 eval ${D}*
48164 rcCmd=${D}?
48165
48166 if [ ${D}rcCmd -ne 0 ]; then
48167 echo "command failed, exit code="${D}rcCmd
48168 CleanUp
48169 exit ${D}rcCmd
48170 fi
48171 }
48172
48173 # main routine
48174 # setup globals
48175 cmdLine=${D}*
48176 outFile=""
48177 outimpFile=""
48178 inputFiles=""
48179 renameScript=""
48180 description=""
48181 CC=gcc.exe
48182 CFLAGS="-s -Zcrtdll"
48183 EXTRA_CFLAGS=""
48184 EXPORT_BY_ORDINALS=0
48185 exclude_symbols=""
48186 library_flags=""
48187 curDir=\`pwd\`
48188 curDirS=curDir
48189 case ${D}curDirS in
48190 */)
48191 ;;
48192 *)
48193 curDirS=${D}{curDirS}"/"
48194 ;;
48195 esac
48196 # Parse commandline
48197 libsToLink=0
48198 omfLinking=0
48199 while [ ${D}1 ]; do
48200 case ${D}1 in
48201 -ord*)
48202 EXPORT_BY_ORDINALS=1;
48203 ;;
48204 -o*)
48205 shift
48206 outFile=${D}1
48207 ;;
48208 -i*)
48209 shift
48210 outimpFile=${D}1
48211 ;;
48212 -name-mangler-script)
48213 shift
48214 renameScript=${D}1
48215 ;;
48216 -d*)
48217 shift
48218 description=${D}1
48219 ;;
48220 -f*)
48221 shift
48222 CFLAGS=${D}1
48223 ;;
48224 -c*)
48225 shift
48226 CC=${D}1
48227 ;;
48228 -h*)
48229 PrintHelp
48230 ;;
48231 -ex*)
48232 shift
48233 exclude_symbols=${D}{exclude_symbols}${D}1" "
48234 ;;
48235 -libf*)
48236 shift
48237 library_flags=${D}{library_flags}${D}1" "
48238 ;;
48239 -nocrt*)
48240 CFLAGS="-s"
48241 ;;
48242 -nolxl*)
48243 flag_USE_LXLITE=0
48244 ;;
48245 -* | /*)
48246 case ${D}1 in
48247 -L* | -l*)
48248 libsToLink=1
48249 ;;
48250 -Zomf)
48251 omfLinking=1
48252 ;;
48253 *)
48254 ;;
48255 esac
48256 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48257 ;;
48258 *.dll)
48259 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48260 if [ ${D}omfLinking -eq 1 ]; then
48261 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48262 else
48263 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48264 fi
48265 ;;
48266 *)
48267 found=0;
48268 if [ ${D}libsToLink -ne 0 ]; then
48269 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48270 else
48271 for file in ${D}1 ; do
48272 if [ -f ${D}file ]; then
48273 inputFiles="${D}{inputFiles} ${D}file"
48274 found=1
48275 fi
48276 done
48277 if [ ${D}found -eq 0 ]; then
48278 echo "ERROR: No file(s) found: "${D}1
48279 exit 8
48280 fi
48281 fi
48282 ;;
48283 esac
48284 shift
48285 done # iterate cmdline words
48286
48287 #
48288 if [ -z "${D}inputFiles" ]; then
48289 echo "dllar: no input files"
48290 PrintHelp
48291 fi
48292
48293 # Now extract all .o files from .a files
48294 newInputFiles=""
48295 for file in ${D}inputFiles ; do
48296 case ${D}file in
48297 *.a | *.lib)
48298 case ${D}file in
48299 *.a)
48300 suffix=".a"
48301 AR="ar"
48302 ;;
48303 *.lib)
48304 suffix=".lib"
48305 AR="emxomfar"
48306 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48307 ;;
48308 *)
48309 ;;
48310 esac
48311 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48312 mkdir ${D}dirname
48313 if [ ${D}? -ne 0 ]; then
48314 echo "Failed to create subdirectory ./${D}dirname"
48315 CleanUp
48316 exit 8;
48317 fi
48318 # Append '!' to indicate archive
48319 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48320 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48321 cd ${D}curDir
48322 found=0;
48323 for subfile in ${D}dirname/*.o* ; do
48324 if [ -f ${D}subfile ]; then
48325 found=1
48326 if [ -s ${D}subfile ]; then
48327 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48328 newInputFiles="${D}newInputFiles ${D}subfile"
48329 fi
48330 fi
48331 done
48332 if [ ${D}found -eq 0 ]; then
48333 echo "WARNING: there are no files in archive \\'${D}file\\'"
48334 fi
48335 ;;
48336 *)
48337 newInputFiles="${D}{newInputFiles} ${D}file"
48338 ;;
48339 esac
48340 done
48341 inputFiles="${D}newInputFiles"
48342
48343 # Output filename(s).
48344 do_backup=0;
48345 if [ -z ${D}outFile ]; then
48346 do_backup=1;
48347 set outFile ${D}inputFiles; outFile=${D}2
48348 fi
48349
48350 # If it is an archive, remove the '!' and the '_%' suffixes
48351 case ${D}outFile in
48352 *_%!)
48353 outFile=\`basnam ${D}outFile _%!\`
48354 ;;
48355 *)
48356 ;;
48357 esac
48358 case ${D}outFile in
48359 *.dll)
48360 outFile=\`basnam ${D}outFile .dll\`
48361 ;;
48362 *.DLL)
48363 outFile=\`basnam ${D}outFile .DLL\`
48364 ;;
48365 *.o)
48366 outFile=\`basnam ${D}outFile .o\`
48367 ;;
48368 *.obj)
48369 outFile=\`basnam ${D}outFile .obj\`
48370 ;;
48371 *.a)
48372 outFile=\`basnam ${D}outFile .a\`
48373 ;;
48374 *.lib)
48375 outFile=\`basnam ${D}outFile .lib\`
48376 ;;
48377 *)
48378 ;;
48379 esac
48380 case ${D}outimpFile in
48381 *.a)
48382 outimpFile=\`basnam ${D}outimpFile .a\`
48383 ;;
48384 *.lib)
48385 outimpFile=\`basnam ${D}outimpFile .lib\`
48386 ;;
48387 *)
48388 ;;
48389 esac
48390 if [ -z ${D}outimpFile ]; then
48391 outimpFile=${D}outFile
48392 fi
48393 defFile="${D}{outFile}.def"
48394 arcFile="${D}{outimpFile}.a"
48395 arcFile2="${D}{outimpFile}.lib"
48396
48397 #create ${D}dllFile as something matching 8.3 restrictions,
48398 if [ -z ${D}renameScript ] ; then
48399 dllFile="${D}outFile"
48400 else
48401 dllFile=\`${D}renameScript ${D}outimpFile\`
48402 fi
48403
48404 if [ ${D}do_backup -ne 0 ] ; then
48405 if [ -f ${D}arcFile ] ; then
48406 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48407 fi
48408 if [ -f ${D}arcFile2 ] ; then
48409 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48410 fi
48411 fi
48412
48413 # Extract public symbols from all the object files.
48414 tmpdefFile=${D}{defFile}_%
48415 rm -f ${D}tmpdefFile
48416 for file in ${D}inputFiles ; do
48417 case ${D}file in
48418 *!)
48419 ;;
48420 *)
48421 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48422 ;;
48423 esac
48424 done
48425
48426 # Create the def file.
48427 rm -f ${D}defFile
48428 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48429 dllFile="${D}{dllFile}.dll"
48430 if [ ! -z ${D}description ]; then
48431 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48432 fi
48433 echo "EXPORTS" >> ${D}defFile
48434
48435 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48436 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48437
48438 # Checks if the export is ok or not.
48439 for word in ${D}exclude_symbols; do
48440 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48441 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48442 done
48443
48444
48445 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48446 sed "=" < ${D}tmpdefFile | \\
48447 sed '
48448 N
48449 : loop
48450 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48451 t loop
48452 ' > ${D}{tmpdefFile}%
48453 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48454 else
48455 rm -f ${D}{tmpdefFile}%
48456 fi
48457 cat ${D}tmpdefFile >> ${D}defFile
48458 rm -f ${D}tmpdefFile
48459
48460 # Do linking, create implib, and apply lxlite.
48461 gccCmdl="";
48462 for file in ${D}inputFiles ; do
48463 case ${D}file in
48464 *!)
48465 ;;
48466 *)
48467 gccCmdl="${D}gccCmdl ${D}file"
48468 ;;
48469 esac
48470 done
48471 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48472 touch "${D}{outFile}.dll"
48473
48474 doCommand "emximp -o ${D}arcFile ${D}defFile"
48475 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48476 add_flags="";
48477 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48478 add_flags="-ynd"
48479 fi
48480 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48481 fi
48482 doCommand "emxomf -s -l ${D}arcFile"
48483
48484 # Successful exit.
48485 CleanUp 1
48486 exit 0
48487 EOF
48488
48489 chmod +x dllar.sh
48490 ;;
48491
48492 powerpc-apple-macos* | \
48493 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48494 *-*-sunos4* | \
48495 *-*-osf* | \
48496 *-*-dgux5* | \
48497 *-*-sysv5* | \
48498 *-pc-msdosdjgpp )
48499 ;;
48500
48501 *)
48502 esac
48503
48504 if test "x$PIC_FLAG" != "x" ; then
48505 PIC_FLAG="$PIC_FLAG -DPIC"
48506 fi
48507
48508 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48509 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48510 fi
48511 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48512 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48513 fi
48514
48515
48516
48517
48518
48519
48520
48521
48522
48523 USE_SOVERSION=0
48524 USE_SOVERLINUX=0
48525 USE_SOVERSOLARIS=0
48526 USE_SOVERCYGWIN=0
48527 USE_SOSYMLINKS=0
48528 USE_MACVERSION=0
48529 SONAME_FLAG=
48530
48531 case "${BAKEFILE_HOST}" in
48532 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48533 SONAME_FLAG="-Wl,-soname,"
48534 USE_SOVERSION=1
48535 USE_SOVERLINUX=1
48536 USE_SOSYMLINKS=1
48537 ;;
48538
48539 *-*-solaris2* )
48540 SONAME_FLAG="-h "
48541 USE_SOVERSION=1
48542 USE_SOVERSOLARIS=1
48543 USE_SOSYMLINKS=1
48544 ;;
48545
48546 *-*-darwin* )
48547 USE_MACVERSION=1
48548 USE_SOVERSION=1
48549 USE_SOSYMLINKS=1
48550 ;;
48551
48552 *-*-cygwin* )
48553 USE_SOVERSION=1
48554 USE_SOVERCYGWIN=1
48555 ;;
48556 esac
48557
48558
48559
48560
48561
48562
48563
48564
48565
48566
48567 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48568 if test "${enable_dependency_tracking+set}" = set; then
48569 enableval="$enable_dependency_tracking"
48570 bk_use_trackdeps="$enableval"
48571 fi;
48572
48573 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48574 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48575
48576 if test "x$bk_use_trackdeps" = "xno" ; then
48577 DEPS_TRACKING=0
48578 echo "$as_me:$LINENO: result: disabled" >&5
48579 echo "${ECHO_T}disabled" >&6
48580 else
48581 DEPS_TRACKING=1
48582
48583 if test "x$GCC" = "xyes"; then
48584 DEPSMODE=gcc
48585 case "${BAKEFILE_HOST}" in
48586 *-*-darwin* )
48587 DEPSFLAG="-no-cpp-precomp -MMD"
48588 ;;
48589 * )
48590 DEPSFLAG="-MMD"
48591 ;;
48592 esac
48593 echo "$as_me:$LINENO: result: gcc" >&5
48594 echo "${ECHO_T}gcc" >&6
48595 elif test "x$MWCC" = "xyes"; then
48596 DEPSMODE=mwcc
48597 DEPSFLAG="-MM"
48598 echo "$as_me:$LINENO: result: mwcc" >&5
48599 echo "${ECHO_T}mwcc" >&6
48600 elif test "x$SUNCC" = "xyes"; then
48601 DEPSMODE=unixcc
48602 DEPSFLAG="-xM1"
48603 echo "$as_me:$LINENO: result: Sun cc" >&5
48604 echo "${ECHO_T}Sun cc" >&6
48605 elif test "x$SGICC" = "xyes"; then
48606 DEPSMODE=unixcc
48607 DEPSFLAG="-M"
48608 echo "$as_me:$LINENO: result: SGI cc" >&5
48609 echo "${ECHO_T}SGI cc" >&6
48610 elif test "x$HPCC" = "xyes"; then
48611 DEPSMODE=unixcc
48612 DEPSFLAG="+make"
48613 echo "$as_me:$LINENO: result: HP cc" >&5
48614 echo "${ECHO_T}HP cc" >&6
48615 elif test "x$COMPAQCC" = "xyes"; then
48616 DEPSMODE=gcc
48617 DEPSFLAG="-MD"
48618 echo "$as_me:$LINENO: result: Compaq cc" >&5
48619 echo "${ECHO_T}Compaq cc" >&6
48620 else
48621 DEPS_TRACKING=0
48622 echo "$as_me:$LINENO: result: none" >&5
48623 echo "${ECHO_T}none" >&6
48624 fi
48625
48626 if test $DEPS_TRACKING = 1 ; then
48627
48628 D='$'
48629 cat <<EOF >bk-deps
48630 #!/bin/sh
48631
48632 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48633 # script. It is used to track C/C++ files dependencies in portable way.
48634 #
48635 # Permission is given to use this file in any way.
48636
48637 DEPSMODE=${DEPSMODE}
48638 DEPSDIR=.deps
48639 DEPSFLAG="${DEPSFLAG}"
48640
48641 mkdir -p ${D}DEPSDIR
48642
48643 if test ${D}DEPSMODE = gcc ; then
48644 ${D}* ${D}{DEPSFLAG}
48645 status=${D}?
48646 if test ${D}{status} != 0 ; then
48647 exit ${D}{status}
48648 fi
48649 # move created file to the location we want it in:
48650 while test ${D}# -gt 0; do
48651 case "${D}1" in
48652 -o )
48653 shift
48654 objfile=${D}1
48655 ;;
48656 -* )
48657 ;;
48658 * )
48659 srcfile=${D}1
48660 ;;
48661 esac
48662 shift
48663 done
48664 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48665 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48666 if test -f ${D}depfile ; then
48667 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48668 rm -f ${D}depfile
48669 else
48670 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48671 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48672 if test ! -f ${D}depfile ; then
48673 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48674 depfile="${D}objfile.d"
48675 fi
48676 if test -f ${D}depfile ; then
48677 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48678 rm -f ${D}depfile
48679 fi
48680 fi
48681 exit 0
48682 elif test ${D}DEPSMODE = mwcc ; then
48683 ${D}* || exit ${D}?
48684 # Run mwcc again with -MM and redirect into the dep file we want
48685 # NOTE: We can't use shift here because we need ${D}* to be valid
48686 prevarg=
48687 for arg in ${D}* ; do
48688 if test "${D}prevarg" = "-o"; then
48689 objfile=${D}arg
48690 else
48691 case "${D}arg" in
48692 -* )
48693 ;;
48694 * )
48695 srcfile=${D}arg
48696 ;;
48697 esac
48698 fi
48699 prevarg="${D}arg"
48700 done
48701 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48702 exit 0
48703 elif test ${D}DEPSMODE = unixcc; then
48704 ${D}* || exit ${D}?
48705 # Run compiler again with deps flag and redirect into the dep file.
48706 # It doesn't work if the '-o FILE' option is used, but without it the
48707 # dependency file will contain the wrong name for the object. So it is
48708 # removed from the command line, and the dep file is fixed with sed.
48709 cmd=""
48710 while test ${D}# -gt 0; do
48711 case "${D}1" in
48712 -o )
48713 shift
48714 objfile=${D}1
48715 ;;
48716 * )
48717 eval arg${D}#=\\${D}1
48718 cmd="${D}cmd \\${D}arg${D}#"
48719 ;;
48720 esac
48721 shift
48722 done
48723 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48724 exit 0
48725 else
48726 ${D}*
48727 exit ${D}?
48728 fi
48729 EOF
48730
48731 chmod +x bk-deps
48732 fi
48733 fi
48734
48735
48736
48737
48738 case ${BAKEFILE_HOST} in
48739 *-*-cygwin* | *-*-mingw32* )
48740 if test -n "$ac_tool_prefix"; then
48741 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48742 set dummy ${ac_tool_prefix}windres; ac_word=$2
48743 echo "$as_me:$LINENO: checking for $ac_word" >&5
48744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48745 if test "${ac_cv_prog_WINDRES+set}" = set; then
48746 echo $ECHO_N "(cached) $ECHO_C" >&6
48747 else
48748 if test -n "$WINDRES"; then
48749 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48750 else
48751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48752 for as_dir in $PATH
48753 do
48754 IFS=$as_save_IFS
48755 test -z "$as_dir" && as_dir=.
48756 for ac_exec_ext in '' $ac_executable_extensions; do
48757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48758 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48760 break 2
48761 fi
48762 done
48763 done
48764
48765 fi
48766 fi
48767 WINDRES=$ac_cv_prog_WINDRES
48768 if test -n "$WINDRES"; then
48769 echo "$as_me:$LINENO: result: $WINDRES" >&5
48770 echo "${ECHO_T}$WINDRES" >&6
48771 else
48772 echo "$as_me:$LINENO: result: no" >&5
48773 echo "${ECHO_T}no" >&6
48774 fi
48775
48776 fi
48777 if test -z "$ac_cv_prog_WINDRES"; then
48778 ac_ct_WINDRES=$WINDRES
48779 # Extract the first word of "windres", so it can be a program name with args.
48780 set dummy windres; ac_word=$2
48781 echo "$as_me:$LINENO: checking for $ac_word" >&5
48782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48783 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48784 echo $ECHO_N "(cached) $ECHO_C" >&6
48785 else
48786 if test -n "$ac_ct_WINDRES"; then
48787 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48788 else
48789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48790 for as_dir in $PATH
48791 do
48792 IFS=$as_save_IFS
48793 test -z "$as_dir" && as_dir=.
48794 for ac_exec_ext in '' $ac_executable_extensions; do
48795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48796 ac_cv_prog_ac_ct_WINDRES="windres"
48797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48798 break 2
48799 fi
48800 done
48801 done
48802
48803 fi
48804 fi
48805 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48806 if test -n "$ac_ct_WINDRES"; then
48807 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48808 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48809 else
48810 echo "$as_me:$LINENO: result: no" >&5
48811 echo "${ECHO_T}no" >&6
48812 fi
48813
48814 WINDRES=$ac_ct_WINDRES
48815 else
48816 WINDRES="$ac_cv_prog_WINDRES"
48817 fi
48818
48819 ;;
48820
48821 *-*-darwin* | powerpc-apple-macos* )
48822 # Extract the first word of "Rez", so it can be a program name with args.
48823 set dummy Rez; ac_word=$2
48824 echo "$as_me:$LINENO: checking for $ac_word" >&5
48825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48826 if test "${ac_cv_prog_REZ+set}" = set; then
48827 echo $ECHO_N "(cached) $ECHO_C" >&6
48828 else
48829 if test -n "$REZ"; then
48830 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48831 else
48832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48833 for as_dir in $PATH
48834 do
48835 IFS=$as_save_IFS
48836 test -z "$as_dir" && as_dir=.
48837 for ac_exec_ext in '' $ac_executable_extensions; do
48838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48839 ac_cv_prog_REZ="Rez"
48840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48841 break 2
48842 fi
48843 done
48844 done
48845
48846 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48847 fi
48848 fi
48849 REZ=$ac_cv_prog_REZ
48850 if test -n "$REZ"; then
48851 echo "$as_me:$LINENO: result: $REZ" >&5
48852 echo "${ECHO_T}$REZ" >&6
48853 else
48854 echo "$as_me:$LINENO: result: no" >&5
48855 echo "${ECHO_T}no" >&6
48856 fi
48857
48858 # Extract the first word of "SetFile", so it can be a program name with args.
48859 set dummy SetFile; ac_word=$2
48860 echo "$as_me:$LINENO: checking for $ac_word" >&5
48861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48862 if test "${ac_cv_prog_SETFILE+set}" = set; then
48863 echo $ECHO_N "(cached) $ECHO_C" >&6
48864 else
48865 if test -n "$SETFILE"; then
48866 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48867 else
48868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48869 for as_dir in $PATH
48870 do
48871 IFS=$as_save_IFS
48872 test -z "$as_dir" && as_dir=.
48873 for ac_exec_ext in '' $ac_executable_extensions; do
48874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48875 ac_cv_prog_SETFILE="SetFile"
48876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48877 break 2
48878 fi
48879 done
48880 done
48881
48882 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48883 fi
48884 fi
48885 SETFILE=$ac_cv_prog_SETFILE
48886 if test -n "$SETFILE"; then
48887 echo "$as_me:$LINENO: result: $SETFILE" >&5
48888 echo "${ECHO_T}$SETFILE" >&6
48889 else
48890 echo "$as_me:$LINENO: result: no" >&5
48891 echo "${ECHO_T}no" >&6
48892 fi
48893
48894 ;;
48895 esac
48896
48897
48898
48899
48900
48901
48902 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
48903
48904
48905 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
48906
48907
48908
48909 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48910 if test "${enable_precomp_headers+set}" = set; then
48911 enableval="$enable_precomp_headers"
48912 bk_use_pch="$enableval"
48913 fi;
48914
48915 GCC_PCH=0
48916 ICC_PCH=0
48917 USE_PCH=0
48918
48919 case ${BAKEFILE_HOST} in
48920 *-*-cygwin* )
48921 bk_use_pch="no"
48922 ;;
48923 esac
48924
48925 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48926 if test "x$GCC" = "xyes"; then
48927 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48928 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48929 cat >conftest.$ac_ext <<_ACEOF
48930 /* confdefs.h. */
48931 _ACEOF
48932 cat confdefs.h >>conftest.$ac_ext
48933 cat >>conftest.$ac_ext <<_ACEOF
48934 /* end confdefs.h. */
48935
48936 int
48937 main ()
48938 {
48939
48940 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48941 There is no PCH support
48942 #endif
48943 #if (__GNUC__ < 3)
48944 There is no PCH support
48945 #endif
48946 #if (__GNUC__ == 3) && \
48947 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48948 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48949 ( defined(__INTEL_COMPILER) )
48950 There is no PCH support
48951 #endif
48952
48953 ;
48954 return 0;
48955 }
48956 _ACEOF
48957 rm -f conftest.$ac_objext
48958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48959 (eval $ac_compile) 2>conftest.er1
48960 ac_status=$?
48961 grep -v '^ *+' conftest.er1 >conftest.err
48962 rm -f conftest.er1
48963 cat conftest.err >&5
48964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48965 (exit $ac_status); } &&
48966 { ac_try='test -z "$ac_c_werror_flag"
48967 || test ! -s conftest.err'
48968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48969 (eval $ac_try) 2>&5
48970 ac_status=$?
48971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48972 (exit $ac_status); }; } &&
48973 { ac_try='test -s conftest.$ac_objext'
48974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48975 (eval $ac_try) 2>&5
48976 ac_status=$?
48977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48978 (exit $ac_status); }; }; then
48979
48980 echo "$as_me:$LINENO: result: yes" >&5
48981 echo "${ECHO_T}yes" >&6
48982 GCC_PCH=1
48983
48984 else
48985 echo "$as_me: failed program was:" >&5
48986 sed 's/^/| /' conftest.$ac_ext >&5
48987
48988
48989 cat >conftest.$ac_ext <<_ACEOF
48990 /* confdefs.h. */
48991 _ACEOF
48992 cat confdefs.h >>conftest.$ac_ext
48993 cat >>conftest.$ac_ext <<_ACEOF
48994 /* end confdefs.h. */
48995
48996 int
48997 main ()
48998 {
48999
49000 #if !defined(__INTEL_COMPILER) || \
49001 (__INTEL_COMPILER < 800)
49002 There is no PCH support
49003 #endif
49004
49005 ;
49006 return 0;
49007 }
49008 _ACEOF
49009 rm -f conftest.$ac_objext
49010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49011 (eval $ac_compile) 2>conftest.er1
49012 ac_status=$?
49013 grep -v '^ *+' conftest.er1 >conftest.err
49014 rm -f conftest.er1
49015 cat conftest.err >&5
49016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49017 (exit $ac_status); } &&
49018 { ac_try='test -z "$ac_c_werror_flag"
49019 || test ! -s conftest.err'
49020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49021 (eval $ac_try) 2>&5
49022 ac_status=$?
49023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49024 (exit $ac_status); }; } &&
49025 { ac_try='test -s conftest.$ac_objext'
49026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49027 (eval $ac_try) 2>&5
49028 ac_status=$?
49029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49030 (exit $ac_status); }; }; then
49031
49032 echo "$as_me:$LINENO: result: yes" >&5
49033 echo "${ECHO_T}yes" >&6
49034 ICC_PCH=1
49035
49036 else
49037 echo "$as_me: failed program was:" >&5
49038 sed 's/^/| /' conftest.$ac_ext >&5
49039
49040
49041 echo "$as_me:$LINENO: result: no" >&5
49042 echo "${ECHO_T}no" >&6
49043
49044 fi
49045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49046
49047 fi
49048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49049 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49050 USE_PCH=1
49051
49052 D='$'
49053 cat <<EOF >bk-make-pch
49054 #!/bin/sh
49055
49056 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49057 # script. It is used to generated precompiled headers.
49058 #
49059 # Permission is given to use this file in any way.
49060
49061 outfile="${D}{1}"
49062 header="${D}{2}"
49063 shift
49064 shift
49065
49066 compiler=""
49067 headerfile=""
49068
49069 while test ${D}{#} -gt 0; do
49070 add_to_cmdline=1
49071 case "${D}{1}" in
49072 -I* )
49073 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49074 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49075 headerfile="${D}{incdir}/${D}{header}"
49076 fi
49077 ;;
49078 -use-pch|-use_pch )
49079 shift
49080 add_to_cmdline=0
49081 ;;
49082 esac
49083 if test ${D}add_to_cmdline = 1 ; then
49084 compiler="${D}{compiler} ${D}{1}"
49085 fi
49086 shift
49087 done
49088
49089 if test "x${D}{headerfile}" = "x" ; then
49090 echo "error: can't find header ${D}{header} in include paths" >&2
49091 else
49092 if test -f ${D}{outfile} ; then
49093 rm -f ${D}{outfile}
49094 else
49095 mkdir -p \`dirname ${D}{outfile}\`
49096 fi
49097 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49098 mkdir -p .deps
49099 if test "x${GCC_PCH}" = "x1" ; then
49100 # can do this because gcc is >= 3.4:
49101 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49102 elif test "x${ICC_PCH}" = "x1" ; then
49103 filename=pch_gen-${D}${D}
49104 file=${D}{filename}.c
49105 dfile=${D}{filename}.d
49106 cat > ${D}file <<EOT
49107 #include "${D}header"
49108 EOT
49109 # using -MF icc complains about differing command lines in creation/use
49110 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49111 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49112 rm -f ${D}file ${D}dfile ${D}{filename}.o
49113 fi
49114 exit ${D}{?}
49115 fi
49116 EOF
49117
49118 chmod +x bk-make-pch
49119 fi
49120 fi
49121 fi
49122
49123
49124
49125
49126 COND_BUILD_DEBUG="#"
49127 if test "x$BUILD" = "xdebug" ; then
49128 COND_BUILD_DEBUG=""
49129 fi
49130
49131 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49132 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49133 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49134 fi
49135
49136 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49137 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49138 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49139 fi
49140
49141 COND_BUILD_DEBUG_UNICODE_0="#"
49142 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49143 COND_BUILD_DEBUG_UNICODE_0=""
49144 fi
49145
49146 COND_BUILD_DEBUG_UNICODE_1="#"
49147 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49148 COND_BUILD_DEBUG_UNICODE_1=""
49149 fi
49150
49151 COND_BUILD_RELEASE="#"
49152 if test "x$BUILD" = "xrelease" ; then
49153 COND_BUILD_RELEASE=""
49154 fi
49155
49156 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49157 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49158 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49159 fi
49160
49161 COND_BUILD_RELEASE_UNICODE_0="#"
49162 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49163 COND_BUILD_RELEASE_UNICODE_0=""
49164 fi
49165
49166 COND_BUILD_RELEASE_UNICODE_1="#"
49167 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49168 COND_BUILD_RELEASE_UNICODE_1=""
49169 fi
49170
49171 COND_DEBUG_FLAG_1="#"
49172 if test "x$DEBUG_FLAG" = "x1" ; then
49173 COND_DEBUG_FLAG_1=""
49174 fi
49175
49176 COND_DEBUG_INFO_0="#"
49177 if test "x$DEBUG_INFO" = "x0" ; then
49178 COND_DEBUG_INFO_0=""
49179 fi
49180
49181 COND_DEBUG_INFO_1="#"
49182 if test "x$DEBUG_INFO" = "x1" ; then
49183 COND_DEBUG_INFO_1=""
49184 fi
49185
49186 COND_DEPS_TRACKING_0="#"
49187 if test "x$DEPS_TRACKING" = "x0" ; then
49188 COND_DEPS_TRACKING_0=""
49189 fi
49190
49191 COND_DEPS_TRACKING_1="#"
49192 if test "x$DEPS_TRACKING" = "x1" ; then
49193 COND_DEPS_TRACKING_1=""
49194 fi
49195
49196 COND_GCC_PCH_1="#"
49197 if test "x$GCC_PCH" = "x1" ; then
49198 COND_GCC_PCH_1=""
49199 fi
49200
49201 COND_ICC_PCH_1="#"
49202 if test "x$ICC_PCH" = "x1" ; then
49203 COND_ICC_PCH_1=""
49204 fi
49205
49206 COND_MONOLITHIC_0="#"
49207 if test "x$MONOLITHIC" = "x0" ; then
49208 COND_MONOLITHIC_0=""
49209 fi
49210
49211 COND_MONOLITHIC_0_SHARED_0="#"
49212 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49213 COND_MONOLITHIC_0_SHARED_0=""
49214 fi
49215
49216 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49217 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49218 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49219 fi
49220
49221 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49222 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49223 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49224 fi
49225
49226 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49227 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49228 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49229 fi
49230
49231 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49232 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49233 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49234 fi
49235
49236 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49237 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49238 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49239 fi
49240
49241 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49242 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49243 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49244 fi
49245
49246 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49247 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49248 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49249 fi
49250
49251 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49252 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49253 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49254 fi
49255
49256 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49257 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49258 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49259 fi
49260
49261 COND_MONOLITHIC_0_SHARED_1="#"
49262 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49263 COND_MONOLITHIC_0_SHARED_1=""
49264 fi
49265
49266 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49267 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49268 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49269 fi
49270
49271 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49272 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49273 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49274 fi
49275
49276 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49277 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49278 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49279 fi
49280
49281 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49282 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49283 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49284 fi
49285
49286 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49287 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49288 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49289 fi
49290
49291 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49292 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49293 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49294 fi
49295
49296 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49297 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49298 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49299 fi
49300
49301 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49302 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49303 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49304 fi
49305
49306 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49307 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49308 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49309 fi
49310
49311 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49312 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49313 COND_MONOLITHIC_0_USE_MEDIA_1=""
49314 fi
49315
49316 COND_MONOLITHIC_0_USE_ODBC_1="#"
49317 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49318 COND_MONOLITHIC_0_USE_ODBC_1=""
49319 fi
49320
49321 COND_MONOLITHIC_1="#"
49322 if test "x$MONOLITHIC" = "x1" ; then
49323 COND_MONOLITHIC_1=""
49324 fi
49325
49326 COND_MONOLITHIC_1_SHARED_0="#"
49327 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49328 COND_MONOLITHIC_1_SHARED_0=""
49329 fi
49330
49331 COND_MONOLITHIC_1_SHARED_1="#"
49332 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49333 COND_MONOLITHIC_1_SHARED_1=""
49334 fi
49335
49336 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49337 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49338 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49339 fi
49340
49341 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49342 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49343 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49344 fi
49345
49346 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49347 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49348 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49349 fi
49350
49351 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49352 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49353 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49354 fi
49355
49356 COND_PLATFORM_MACOSX_1="#"
49357 if test "x$PLATFORM_MACOSX" = "x1" ; then
49358 COND_PLATFORM_MACOSX_1=""
49359 fi
49360
49361 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49362 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49363 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49364 fi
49365
49366 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49367 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49368 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49369 fi
49370
49371 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49372 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49373 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49374 fi
49375
49376 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49377 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49378 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49379 fi
49380
49381 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49382 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49383 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49384 fi
49385
49386 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49387 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49388 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49389 fi
49390
49391 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49392 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49393 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49394 fi
49395
49396 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49397 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49398 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49399 fi
49400
49401 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49402 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49403 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49404 fi
49405
49406 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49407 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49408 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49409 fi
49410
49411 COND_PLATFORM_MACOS_1="#"
49412 if test "x$PLATFORM_MACOS" = "x1" ; then
49413 COND_PLATFORM_MACOS_1=""
49414 fi
49415
49416 COND_PLATFORM_MAC_1="#"
49417 if test "x$PLATFORM_MAC" = "x1" ; then
49418 COND_PLATFORM_MAC_1=""
49419 fi
49420
49421 COND_PLATFORM_MSDOS_0="#"
49422 if test "x$PLATFORM_MSDOS" = "x0" ; then
49423 COND_PLATFORM_MSDOS_0=""
49424 fi
49425
49426 COND_PLATFORM_MSDOS_1="#"
49427 if test "x$PLATFORM_MSDOS" = "x1" ; then
49428 COND_PLATFORM_MSDOS_1=""
49429 fi
49430
49431 COND_PLATFORM_OS2_1="#"
49432 if test "x$PLATFORM_OS2" = "x1" ; then
49433 COND_PLATFORM_OS2_1=""
49434 fi
49435
49436 COND_PLATFORM_UNIX_0="#"
49437 if test "x$PLATFORM_UNIX" = "x0" ; then
49438 COND_PLATFORM_UNIX_0=""
49439 fi
49440
49441 COND_PLATFORM_UNIX_1="#"
49442 if test "x$PLATFORM_UNIX" = "x1" ; then
49443 COND_PLATFORM_UNIX_1=""
49444 fi
49445
49446 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49447 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49448 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49449 fi
49450
49451 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49452 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49453 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49454 fi
49455
49456 COND_PLATFORM_WIN32_0="#"
49457 if test "x$PLATFORM_WIN32" = "x0" ; then
49458 COND_PLATFORM_WIN32_0=""
49459 fi
49460
49461 COND_PLATFORM_WIN32_1="#"
49462 if test "x$PLATFORM_WIN32" = "x1" ; then
49463 COND_PLATFORM_WIN32_1=""
49464 fi
49465
49466 COND_SHARED_0="#"
49467 if test "x$SHARED" = "x0" ; then
49468 COND_SHARED_0=""
49469 fi
49470
49471 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49472 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49473 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49474 fi
49475
49476 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49477 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49478 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49479 fi
49480
49481 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49482 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49483 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49484 fi
49485
49486 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49487 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49488 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49489 fi
49490
49491 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49492 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49493 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49494 fi
49495
49496 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49497 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49498 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49499 fi
49500
49501 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49502 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49503 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49504 fi
49505
49506 COND_SHARED_0_USE_XRC_1="#"
49507 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49508 COND_SHARED_0_USE_XRC_1=""
49509 fi
49510
49511 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49512 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49513 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49514 fi
49515
49516 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49517 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49518 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49519 fi
49520
49521 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49522 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49523 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49524 fi
49525
49526 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49527 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49528 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49529 fi
49530
49531 COND_SHARED_1="#"
49532 if test "x$SHARED" = "x1" ; then
49533 COND_SHARED_1=""
49534 fi
49535
49536 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49537 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49538 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49539 fi
49540
49541 COND_SHARED_1_USE_XRC_1="#"
49542 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49543 COND_SHARED_1_USE_XRC_1=""
49544 fi
49545
49546 COND_TOOLKIT_="#"
49547 if test "x$TOOLKIT" = "x" ; then
49548 COND_TOOLKIT_=""
49549 fi
49550
49551 COND_TOOLKIT_COCOA="#"
49552 if test "x$TOOLKIT" = "xCOCOA" ; then
49553 COND_TOOLKIT_COCOA=""
49554 fi
49555
49556 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49557 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49558 COND_TOOLKIT_COCOA_USE_GUI_1=""
49559 fi
49560
49561 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49562 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49563 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49564 fi
49565
49566 COND_TOOLKIT_DFB="#"
49567 if test "x$TOOLKIT" = "xDFB" ; then
49568 COND_TOOLKIT_DFB=""
49569 fi
49570
49571 COND_TOOLKIT_DFB_USE_GUI_1="#"
49572 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49573 COND_TOOLKIT_DFB_USE_GUI_1=""
49574 fi
49575
49576 COND_TOOLKIT_GTK="#"
49577 if test "x$TOOLKIT" = "xGTK" ; then
49578 COND_TOOLKIT_GTK=""
49579 fi
49580
49581 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49582 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49583 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49584 fi
49585
49586 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49587 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49588 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49589 fi
49590
49591 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49592 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49593 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49594 fi
49595
49596 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49597 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49598 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49599 fi
49600
49601 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49602 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49603 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49604 fi
49605
49606 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49607 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49608 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49609 fi
49610
49611 COND_TOOLKIT_GTK_USE_GUI_1="#"
49612 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49613 COND_TOOLKIT_GTK_USE_GUI_1=""
49614 fi
49615
49616 COND_TOOLKIT_MAC="#"
49617 if test "x$TOOLKIT" = "xMAC" ; then
49618 COND_TOOLKIT_MAC=""
49619 fi
49620
49621 COND_TOOLKIT_MAC_USE_GUI_1="#"
49622 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49623 COND_TOOLKIT_MAC_USE_GUI_1=""
49624 fi
49625
49626 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49627 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49628 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49629 fi
49630
49631 COND_TOOLKIT_MGL="#"
49632 if test "x$TOOLKIT" = "xMGL" ; then
49633 COND_TOOLKIT_MGL=""
49634 fi
49635
49636 COND_TOOLKIT_MGL_USE_GUI_1="#"
49637 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49638 COND_TOOLKIT_MGL_USE_GUI_1=""
49639 fi
49640
49641 COND_TOOLKIT_MOTIF="#"
49642 if test "x$TOOLKIT" = "xMOTIF" ; then
49643 COND_TOOLKIT_MOTIF=""
49644 fi
49645
49646 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49647 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49648 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49649 fi
49650
49651 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49652 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49653 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49654 fi
49655
49656 COND_TOOLKIT_MSW="#"
49657 if test "x$TOOLKIT" = "xMSW" ; then
49658 COND_TOOLKIT_MSW=""
49659 fi
49660
49661 COND_TOOLKIT_MSW_USE_GUI_1="#"
49662 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49663 COND_TOOLKIT_MSW_USE_GUI_1=""
49664 fi
49665
49666 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49667 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49668 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49669 fi
49670
49671 COND_TOOLKIT_MSW_WXUNIV_0="#"
49672 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49673 COND_TOOLKIT_MSW_WXUNIV_0=""
49674 fi
49675
49676 COND_TOOLKIT_PM="#"
49677 if test "x$TOOLKIT" = "xPM" ; then
49678 COND_TOOLKIT_PM=""
49679 fi
49680
49681 COND_TOOLKIT_PM_USE_GUI_1="#"
49682 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49683 COND_TOOLKIT_PM_USE_GUI_1=""
49684 fi
49685
49686 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49687 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49688 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49689 fi
49690
49691 COND_TOOLKIT_WINCE="#"
49692 if test "x$TOOLKIT" = "xWINCE" ; then
49693 COND_TOOLKIT_WINCE=""
49694 fi
49695
49696 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49697 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49698 COND_TOOLKIT_WINCE_USE_GUI_1=""
49699 fi
49700
49701 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49702 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49703 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49704 fi
49705
49706 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49707 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49708 COND_TOOLKIT_WINCE_WXUNIV_0=""
49709 fi
49710
49711 COND_TOOLKIT_X11="#"
49712 if test "x$TOOLKIT" = "xX11" ; then
49713 COND_TOOLKIT_X11=""
49714 fi
49715
49716 COND_TOOLKIT_X11_USE_GUI_1="#"
49717 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49718 COND_TOOLKIT_X11_USE_GUI_1=""
49719 fi
49720
49721 COND_UNICODE_1="#"
49722 if test "x$UNICODE" = "x1" ; then
49723 COND_UNICODE_1=""
49724 fi
49725
49726 COND_USE_EXCEPTIONS_0="#"
49727 if test "x$USE_EXCEPTIONS" = "x0" ; then
49728 COND_USE_EXCEPTIONS_0=""
49729 fi
49730
49731 COND_USE_EXCEPTIONS_1="#"
49732 if test "x$USE_EXCEPTIONS" = "x1" ; then
49733 COND_USE_EXCEPTIONS_1=""
49734 fi
49735
49736 COND_USE_GUI_0="#"
49737 if test "x$USE_GUI" = "x0" ; then
49738 COND_USE_GUI_0=""
49739 fi
49740
49741 COND_USE_GUI_1="#"
49742 if test "x$USE_GUI" = "x1" ; then
49743 COND_USE_GUI_1=""
49744 fi
49745
49746 COND_USE_GUI_1_WXUNIV_0="#"
49747 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49748 COND_USE_GUI_1_WXUNIV_0=""
49749 fi
49750
49751 COND_USE_GUI_1_WXUNIV_1="#"
49752 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49753 COND_USE_GUI_1_WXUNIV_1=""
49754 fi
49755
49756 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49757 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49758 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49759 fi
49760
49761 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49762 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49763 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49764 fi
49765
49766 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49767 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49768 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49769 fi
49770
49771 COND_USE_ODBC_1="#"
49772 if test "x$USE_ODBC" = "x1" ; then
49773 COND_USE_ODBC_1=""
49774 fi
49775
49776 COND_USE_OPENGL_1="#"
49777 if test "x$USE_OPENGL" = "x1" ; then
49778 COND_USE_OPENGL_1=""
49779 fi
49780
49781 COND_USE_PCH_1="#"
49782 if test "x$USE_PCH" = "x1" ; then
49783 COND_USE_PCH_1=""
49784 fi
49785
49786 COND_USE_PLUGINS_0="#"
49787 if test "x$USE_PLUGINS" = "x0" ; then
49788 COND_USE_PLUGINS_0=""
49789 fi
49790
49791 COND_USE_RTTI_0="#"
49792 if test "x$USE_RTTI" = "x0" ; then
49793 COND_USE_RTTI_0=""
49794 fi
49795
49796 COND_USE_RTTI_1="#"
49797 if test "x$USE_RTTI" = "x1" ; then
49798 COND_USE_RTTI_1=""
49799 fi
49800
49801 COND_USE_SOSYMLINKS_1="#"
49802 if test "x$USE_SOSYMLINKS" = "x1" ; then
49803 COND_USE_SOSYMLINKS_1=""
49804 fi
49805
49806 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49807 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49808 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49809 fi
49810
49811 COND_USE_SOVERLINUX_1="#"
49812 if test "x$USE_SOVERLINUX" = "x1" ; then
49813 COND_USE_SOVERLINUX_1=""
49814 fi
49815
49816 COND_USE_SOVERSION_0="#"
49817 if test "x$USE_SOVERSION" = "x0" ; then
49818 COND_USE_SOVERSION_0=""
49819 fi
49820
49821 COND_USE_SOVERSOLARIS_1="#"
49822 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49823 COND_USE_SOVERSOLARIS_1=""
49824 fi
49825
49826 COND_USE_THREADS_0="#"
49827 if test "x$USE_THREADS" = "x0" ; then
49828 COND_USE_THREADS_0=""
49829 fi
49830
49831 COND_USE_THREADS_1="#"
49832 if test "x$USE_THREADS" = "x1" ; then
49833 COND_USE_THREADS_1=""
49834 fi
49835
49836 COND_USE_XRC_1="#"
49837 if test "x$USE_XRC" = "x1" ; then
49838 COND_USE_XRC_1=""
49839 fi
49840
49841 COND_WINDOWS_IMPLIB_1="#"
49842 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49843 COND_WINDOWS_IMPLIB_1=""
49844 fi
49845
49846 COND_WITH_PLUGIN_SDL_1="#"
49847 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49848 COND_WITH_PLUGIN_SDL_1=""
49849 fi
49850
49851 COND_WXUNIV_0="#"
49852 if test "x$WXUNIV" = "x0" ; then
49853 COND_WXUNIV_0=""
49854 fi
49855
49856 COND_WXUNIV_1="#"
49857 if test "x$WXUNIV" = "x1" ; then
49858 COND_WXUNIV_1=""
49859 fi
49860
49861 COND_WXUSE_EXPAT_BUILTIN="#"
49862 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49863 COND_WXUSE_EXPAT_BUILTIN=""
49864 fi
49865
49866 COND_WXUSE_LIBJPEG_BUILTIN="#"
49867 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49868 COND_WXUSE_LIBJPEG_BUILTIN=""
49869 fi
49870
49871 COND_WXUSE_LIBPNG_BUILTIN="#"
49872 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49873 COND_WXUSE_LIBPNG_BUILTIN=""
49874 fi
49875
49876 COND_WXUSE_LIBTIFF_BUILTIN="#"
49877 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49878 COND_WXUSE_LIBTIFF_BUILTIN=""
49879 fi
49880
49881 COND_WXUSE_ODBC_BUILTIN="#"
49882 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49883 COND_WXUSE_ODBC_BUILTIN=""
49884 fi
49885
49886 COND_WXUSE_REGEX_BUILTIN="#"
49887 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49888 COND_WXUSE_REGEX_BUILTIN=""
49889 fi
49890
49891 COND_WXUSE_ZLIB_BUILTIN="#"
49892 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49893 COND_WXUSE_ZLIB_BUILTIN=""
49894 fi
49895
49896
49897
49898 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49899 { { 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
49900 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;}
49901 { (exit 1); exit 1; }; }
49902 fi
49903
49904 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49905 { { 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
49906 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;}
49907 { (exit 1); exit 1; }; }
49908 fi
49909
49910
49911
49912 if test "$wxUSE_MAC" = 1 ; then
49913 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49914 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49915 mv temp bk-deps
49916 chmod +x bk-deps
49917 fi
49918 fi
49919
49920 if test "$wxUSE_SHARED" = "yes"; then
49921
49922 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49923 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49924
49925 case "${host}" in
49926 *-pc-os2_emx | *-pc-os2-emx )
49927 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49928 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49929 cp -p ${srcdir}/src/os2/dllnames.sh .
49930 cp -p ${srcdir}/src/os2/dllar.sh .
49931 ;;
49932 esac
49933 else
49934
49935 EXE_LINKER="$CXX -o"
49936
49937 fi
49938 if test "$wxUSE_OMF" = "yes"; then
49939 case "${host}" in
49940 *-pc-os2_emx | *-pc-os2-emx )
49941 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49942 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49943 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49944 ;;
49945 esac
49946 fi
49947
49948 if test $GCC_PCH = 1 ; then
49949 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49950 fi
49951
49952 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49953
49954 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49955
49956
49957
49958
49959
49960
49961
49962
49963
49964
49965
49966
49967
49968
49969
49970
49971
49972
49973
49974
49975
49976
49977
49978
49979
49980
49981
49982
49983
49984
49985
49986
49987
49988
49989
49990
49991
49992
49993
49994
49995
49996
49997
49998
49999
50000
50001
50002
50003
50004
50005
50006
50007
50008
50009
50010
50011
50012
50013
50014
50015
50016 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50017 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50018 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50019 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50020 echo $ECHO_N "(cached) $ECHO_C" >&6
50021 else
50022 cat >conftest.make <<\_ACEOF
50023 all:
50024 @echo 'ac_maketemp="$(MAKE)"'
50025 _ACEOF
50026 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50027 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50028 if test -n "$ac_maketemp"; then
50029 eval ac_cv_prog_make_${ac_make}_set=yes
50030 else
50031 eval ac_cv_prog_make_${ac_make}_set=no
50032 fi
50033 rm -f conftest.make
50034 fi
50035 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50036 echo "$as_me:$LINENO: result: yes" >&5
50037 echo "${ECHO_T}yes" >&6
50038 SET_MAKE=
50039 else
50040 echo "$as_me:$LINENO: result: no" >&5
50041 echo "${ECHO_T}no" >&6
50042 SET_MAKE="MAKE=${MAKE-make}"
50043 fi
50044
50045
50046
50047 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50048
50049
50050 if test "$USE_WIN32" = 1; then
50051 ac_config_commands="$ac_config_commands
50052 rcdefs.h
50053 "
50054
50055 fi
50056
50057 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50058
50059
50060 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50061
50062
50063 ac_config_files="$ac_config_files version-script Makefile"
50064
50065
50066 ac_config_commands="$ac_config_commands wx-config"
50067
50068
50069
50070 if test "$wxWITH_SUBDIRS" != "no"; then
50071 if test "$wxUSE_GUI" = "yes"; then
50072 SUBDIRS="samples demos utils contrib"
50073 else SUBDIRS="samples utils"
50074 fi
50075
50076
50077
50078 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50079 if test "${with_cppunit_prefix+set}" = set; then
50080 withval="$with_cppunit_prefix"
50081 cppunit_config_prefix="$withval"
50082 else
50083 cppunit_config_prefix=""
50084 fi;
50085
50086 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50087 if test "${with_cppunit_exec_prefix+set}" = set; then
50088 withval="$with_cppunit_exec_prefix"
50089 cppunit_config_exec_prefix="$withval"
50090 else
50091 cppunit_config_exec_prefix=""
50092 fi;
50093
50094 if test x$cppunit_config_exec_prefix != x ; then
50095 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50096 if test x${CPPUNIT_CONFIG+set} != xset ; then
50097 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50098 fi
50099 fi
50100 if test x$cppunit_config_prefix != x ; then
50101 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50102 if test x${CPPUNIT_CONFIG+set} != xset ; then
50103 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50104 fi
50105 fi
50106
50107 # Extract the first word of "cppunit-config", so it can be a program name with args.
50108 set dummy cppunit-config; ac_word=$2
50109 echo "$as_me:$LINENO: checking for $ac_word" >&5
50110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50111 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50112 echo $ECHO_N "(cached) $ECHO_C" >&6
50113 else
50114 case $CPPUNIT_CONFIG in
50115 [\\/]* | ?:[\\/]*)
50116 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50117 ;;
50118 *)
50119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50120 for as_dir in $PATH
50121 do
50122 IFS=$as_save_IFS
50123 test -z "$as_dir" && as_dir=.
50124 for ac_exec_ext in '' $ac_executable_extensions; do
50125 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50126 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50128 break 2
50129 fi
50130 done
50131 done
50132
50133 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50134 ;;
50135 esac
50136 fi
50137 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50138
50139 if test -n "$CPPUNIT_CONFIG"; then
50140 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50141 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50142 else
50143 echo "$as_me:$LINENO: result: no" >&5
50144 echo "${ECHO_T}no" >&6
50145 fi
50146
50147 cppunit_version_min=1.8.0
50148
50149 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50150 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50151 no_cppunit=""
50152 if test "$CPPUNIT_CONFIG" = "no" ; then
50153 echo "$as_me:$LINENO: result: no" >&5
50154 echo "${ECHO_T}no" >&6
50155 no_cppunit=yes
50156 else
50157 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50158 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50159 cppunit_version=`$CPPUNIT_CONFIG --version`
50160
50161 cppunit_major_version=`echo $cppunit_version | \
50162 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50163 cppunit_minor_version=`echo $cppunit_version | \
50164 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50165 cppunit_micro_version=`echo $cppunit_version | \
50166 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50167
50168 cppunit_major_min=`echo $cppunit_version_min | \
50169 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50170 cppunit_minor_min=`echo $cppunit_version_min | \
50171 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50172 cppunit_micro_min=`echo $cppunit_version_min | \
50173 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50174
50175 cppunit_version_proper=`expr \
50176 $cppunit_major_version \> $cppunit_major_min \| \
50177 $cppunit_major_version \= $cppunit_major_min \& \
50178 $cppunit_minor_version \> $cppunit_minor_min \| \
50179 $cppunit_major_version \= $cppunit_major_min \& \
50180 $cppunit_minor_version \= $cppunit_minor_min \& \
50181 $cppunit_micro_version \>= $cppunit_micro_min `
50182
50183 if test "$cppunit_version_proper" = "1" ; then
50184 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50185 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50186 else
50187 echo "$as_me:$LINENO: result: no" >&5
50188 echo "${ECHO_T}no" >&6
50189 no_cppunit=yes
50190 fi
50191 fi
50192
50193 if test "x$no_cppunit" = x ; then
50194 SUBDIRS="$SUBDIRS tests"
50195 else
50196 CPPUNIT_CFLAGS=""
50197 CPPUNIT_LIBS=""
50198 :
50199 fi
50200
50201
50202
50203
50204
50205 for subdir in `echo $SUBDIRS`; do
50206 if test -d ${srcdir}/${subdir} ; then
50207 if test "$wxUSE_GUI" = "yes"; then
50208 if test ${subdir} = "samples"; then
50209 makefiles="samples/Makefile.in $makefiles"
50210 for sample in `echo $SAMPLES_SUBDIRS`; do
50211 if test -d $srcdir/samples/$sample; then
50212 makefiles="samples/$sample/Makefile.in $makefiles"
50213 fi
50214 done
50215 else
50216 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50217 eval "disabled=\$$disabled_var"
50218 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50219 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50220 fi
50221 else if test ${subdir} = "samples"; then
50222 makefiles="samples/Makefile.in samples/console/Makefile.in"
50223 elif test ${subdir} = "utils"; then
50224 makefiles=""
50225 for util in HelpGen tex2rtf ; do
50226 if test -d $srcdir/utils/$util ; then
50227 makefiles="utils/$util/Makefile.in \
50228 utils/$util/src/Makefile.in \
50229 $makefiles"
50230 fi
50231 done
50232 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50233 fi
50234 fi
50235
50236 for mkin in $makefiles ; do
50237 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50238 ac_config_files="$ac_config_files $mk"
50239
50240 done
50241 fi
50242 done
50243 fi
50244 cat >confcache <<\_ACEOF
50245 # This file is a shell script that caches the results of configure
50246 # tests run on this system so they can be shared between configure
50247 # scripts and configure runs, see configure's option --config-cache.
50248 # It is not useful on other systems. If it contains results you don't
50249 # want to keep, you may remove or edit it.
50250 #
50251 # config.status only pays attention to the cache file if you give it
50252 # the --recheck option to rerun configure.
50253 #
50254 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50255 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50256 # following values.
50257
50258 _ACEOF
50259
50260 # The following way of writing the cache mishandles newlines in values,
50261 # but we know of no workaround that is simple, portable, and efficient.
50262 # So, don't put newlines in cache variables' values.
50263 # Ultrix sh set writes to stderr and can't be redirected directly,
50264 # and sets the high bit in the cache file unless we assign to the vars.
50265 {
50266 (set) 2>&1 |
50267 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50268 *ac_space=\ *)
50269 # `set' does not quote correctly, so add quotes (double-quote
50270 # substitution turns \\\\ into \\, and sed turns \\ into \).
50271 sed -n \
50272 "s/'/'\\\\''/g;
50273 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50274 ;;
50275 *)
50276 # `set' quotes correctly as required by POSIX, so do not add quotes.
50277 sed -n \
50278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50279 ;;
50280 esac;
50281 } |
50282 sed '
50283 t clear
50284 : clear
50285 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50286 t end
50287 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50288 : end' >>confcache
50289 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50290 if test -w $cache_file; then
50291 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50292 cat confcache >$cache_file
50293 else
50294 echo "not updating unwritable cache $cache_file"
50295 fi
50296 fi
50297 rm -f confcache
50298
50299 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50300 # Let make expand exec_prefix.
50301 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50302
50303 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50304 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50305 # trailing colons and then remove the whole line if VPATH becomes empty
50306 # (actually we leave an empty line to preserve line numbers).
50307 if test "x$srcdir" = x.; then
50308 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50309 s/:*\$(srcdir):*/:/;
50310 s/:*\${srcdir}:*/:/;
50311 s/:*@srcdir@:*/:/;
50312 s/^\([^=]*=[ ]*\):*/\1/;
50313 s/:*$//;
50314 s/^[^=]*=[ ]*$//;
50315 }'
50316 fi
50317
50318 DEFS=-DHAVE_CONFIG_H
50319
50320 ac_libobjs=
50321 ac_ltlibobjs=
50322 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50323 # 1. Remove the extension, and $U if already installed.
50324 ac_i=`echo "$ac_i" |
50325 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50326 # 2. Add them.
50327 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50328 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50329 done
50330 LIBOBJS=$ac_libobjs
50331
50332 LTLIBOBJS=$ac_ltlibobjs
50333
50334
50335
50336 : ${CONFIG_STATUS=./config.status}
50337 ac_clean_files_save=$ac_clean_files
50338 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50339 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50340 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50341 cat >$CONFIG_STATUS <<_ACEOF
50342 #! $SHELL
50343 # Generated by $as_me.
50344 # Run this file to recreate the current configuration.
50345 # Compiler output produced by configure, useful for debugging
50346 # configure, is in config.log if it exists.
50347
50348 debug=false
50349 ac_cs_recheck=false
50350 ac_cs_silent=false
50351 SHELL=\${CONFIG_SHELL-$SHELL}
50352 _ACEOF
50353
50354 cat >>$CONFIG_STATUS <<\_ACEOF
50355 ## --------------------- ##
50356 ## M4sh Initialization. ##
50357 ## --------------------- ##
50358
50359 # Be Bourne compatible
50360 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50361 emulate sh
50362 NULLCMD=:
50363 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50364 # is contrary to our usage. Disable this feature.
50365 alias -g '${1+"$@"}'='"$@"'
50366 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50367 set -o posix
50368 fi
50369 DUALCASE=1; export DUALCASE # for MKS sh
50370
50371 # Support unset when possible.
50372 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50373 as_unset=unset
50374 else
50375 as_unset=false
50376 fi
50377
50378
50379 # Work around bugs in pre-3.0 UWIN ksh.
50380 $as_unset ENV MAIL MAILPATH
50381 PS1='$ '
50382 PS2='> '
50383 PS4='+ '
50384
50385 # NLS nuisances.
50386 for as_var in \
50387 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50388 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50389 LC_TELEPHONE LC_TIME
50390 do
50391 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50392 eval $as_var=C; export $as_var
50393 else
50394 $as_unset $as_var
50395 fi
50396 done
50397
50398 # Required to use basename.
50399 if expr a : '\(a\)' >/dev/null 2>&1; then
50400 as_expr=expr
50401 else
50402 as_expr=false
50403 fi
50404
50405 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50406 as_basename=basename
50407 else
50408 as_basename=false
50409 fi
50410
50411
50412 # Name of the executable.
50413 as_me=`$as_basename "$0" ||
50414 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50415 X"$0" : 'X\(//\)$' \| \
50416 X"$0" : 'X\(/\)$' \| \
50417 . : '\(.\)' 2>/dev/null ||
50418 echo X/"$0" |
50419 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50420 /^X\/\(\/\/\)$/{ s//\1/; q; }
50421 /^X\/\(\/\).*/{ s//\1/; q; }
50422 s/.*/./; q'`
50423
50424
50425 # PATH needs CR, and LINENO needs CR and PATH.
50426 # Avoid depending upon Character Ranges.
50427 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50428 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50429 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50430 as_cr_digits='0123456789'
50431 as_cr_alnum=$as_cr_Letters$as_cr_digits
50432
50433 # The user is always right.
50434 if test "${PATH_SEPARATOR+set}" != set; then
50435 echo "#! /bin/sh" >conf$$.sh
50436 echo "exit 0" >>conf$$.sh
50437 chmod +x conf$$.sh
50438 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50439 PATH_SEPARATOR=';'
50440 else
50441 PATH_SEPARATOR=:
50442 fi
50443 rm -f conf$$.sh
50444 fi
50445
50446
50447 as_lineno_1=$LINENO
50448 as_lineno_2=$LINENO
50449 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50450 test "x$as_lineno_1" != "x$as_lineno_2" &&
50451 test "x$as_lineno_3" = "x$as_lineno_2" || {
50452 # Find who we are. Look in the path if we contain no path at all
50453 # relative or not.
50454 case $0 in
50455 *[\\/]* ) as_myself=$0 ;;
50456 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50457 for as_dir in $PATH
50458 do
50459 IFS=$as_save_IFS
50460 test -z "$as_dir" && as_dir=.
50461 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50462 done
50463
50464 ;;
50465 esac
50466 # We did not find ourselves, most probably we were run as `sh COMMAND'
50467 # in which case we are not to be found in the path.
50468 if test "x$as_myself" = x; then
50469 as_myself=$0
50470 fi
50471 if test ! -f "$as_myself"; then
50472 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50473 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50474 { (exit 1); exit 1; }; }
50475 fi
50476 case $CONFIG_SHELL in
50477 '')
50478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50479 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50480 do
50481 IFS=$as_save_IFS
50482 test -z "$as_dir" && as_dir=.
50483 for as_base in sh bash ksh sh5; do
50484 case $as_dir in
50485 /*)
50486 if ("$as_dir/$as_base" -c '
50487 as_lineno_1=$LINENO
50488 as_lineno_2=$LINENO
50489 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50490 test "x$as_lineno_1" != "x$as_lineno_2" &&
50491 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50492 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50493 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50494 CONFIG_SHELL=$as_dir/$as_base
50495 export CONFIG_SHELL
50496 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50497 fi;;
50498 esac
50499 done
50500 done
50501 ;;
50502 esac
50503
50504 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50505 # uniformly replaced by the line number. The first 'sed' inserts a
50506 # line-number line before each line; the second 'sed' does the real
50507 # work. The second script uses 'N' to pair each line-number line
50508 # with the numbered line, and appends trailing '-' during
50509 # substitution so that $LINENO is not a special case at line end.
50510 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50511 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50512 sed '=' <$as_myself |
50513 sed '
50514 N
50515 s,$,-,
50516 : loop
50517 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50518 t loop
50519 s,-$,,
50520 s,^['$as_cr_digits']*\n,,
50521 ' >$as_me.lineno &&
50522 chmod +x $as_me.lineno ||
50523 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50524 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50525 { (exit 1); exit 1; }; }
50526
50527 # Don't try to exec as it changes $[0], causing all sort of problems
50528 # (the dirname of $[0] is not the place where we might find the
50529 # original and so on. Autoconf is especially sensible to this).
50530 . ./$as_me.lineno
50531 # Exit status is that of the last command.
50532 exit
50533 }
50534
50535
50536 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50537 *c*,-n*) ECHO_N= ECHO_C='
50538 ' ECHO_T=' ' ;;
50539 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50540 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50541 esac
50542
50543 if expr a : '\(a\)' >/dev/null 2>&1; then
50544 as_expr=expr
50545 else
50546 as_expr=false
50547 fi
50548
50549 rm -f conf$$ conf$$.exe conf$$.file
50550 echo >conf$$.file
50551 if ln -s conf$$.file conf$$ 2>/dev/null; then
50552 # We could just check for DJGPP; but this test a) works b) is more generic
50553 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50554 if test -f conf$$.exe; then
50555 # Don't use ln at all; we don't have any links
50556 as_ln_s='cp -p'
50557 else
50558 as_ln_s='ln -s'
50559 fi
50560 elif ln conf$$.file conf$$ 2>/dev/null; then
50561 as_ln_s=ln
50562 else
50563 as_ln_s='cp -p'
50564 fi
50565 rm -f conf$$ conf$$.exe conf$$.file
50566
50567 if mkdir -p . 2>/dev/null; then
50568 as_mkdir_p=:
50569 else
50570 test -d ./-p && rmdir ./-p
50571 as_mkdir_p=false
50572 fi
50573
50574 as_executable_p="test -f"
50575
50576 # Sed expression to map a string onto a valid CPP name.
50577 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50578
50579 # Sed expression to map a string onto a valid variable name.
50580 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50581
50582
50583 # IFS
50584 # We need space, tab and new line, in precisely that order.
50585 as_nl='
50586 '
50587 IFS=" $as_nl"
50588
50589 # CDPATH.
50590 $as_unset CDPATH
50591
50592 exec 6>&1
50593
50594 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50595 # report actual input values of CONFIG_FILES etc. instead of their
50596 # values after options handling. Logging --version etc. is OK.
50597 exec 5>>config.log
50598 {
50599 echo
50600 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50601 ## Running $as_me. ##
50602 _ASBOX
50603 } >&5
50604 cat >&5 <<_CSEOF
50605
50606 This file was extended by wxWidgets $as_me 2.7.1, which was
50607 generated by GNU Autoconf 2.59. Invocation command line was
50608
50609 CONFIG_FILES = $CONFIG_FILES
50610 CONFIG_HEADERS = $CONFIG_HEADERS
50611 CONFIG_LINKS = $CONFIG_LINKS
50612 CONFIG_COMMANDS = $CONFIG_COMMANDS
50613 $ $0 $@
50614
50615 _CSEOF
50616 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50617 echo >&5
50618 _ACEOF
50619
50620 # Files that config.status was made for.
50621 if test -n "$ac_config_files"; then
50622 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50623 fi
50624
50625 if test -n "$ac_config_headers"; then
50626 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50627 fi
50628
50629 if test -n "$ac_config_links"; then
50630 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50631 fi
50632
50633 if test -n "$ac_config_commands"; then
50634 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50635 fi
50636
50637 cat >>$CONFIG_STATUS <<\_ACEOF
50638
50639 ac_cs_usage="\
50640 \`$as_me' instantiates files from templates according to the
50641 current configuration.
50642
50643 Usage: $0 [OPTIONS] [FILE]...
50644
50645 -h, --help print this help, then exit
50646 -V, --version print version number, then exit
50647 -q, --quiet do not print progress messages
50648 -d, --debug don't remove temporary files
50649 --recheck update $as_me by reconfiguring in the same conditions
50650 --file=FILE[:TEMPLATE]
50651 instantiate the configuration file FILE
50652 --header=FILE[:TEMPLATE]
50653 instantiate the configuration header FILE
50654
50655 Configuration files:
50656 $config_files
50657
50658 Configuration headers:
50659 $config_headers
50660
50661 Configuration commands:
50662 $config_commands
50663
50664 Report bugs to <bug-autoconf@gnu.org>."
50665 _ACEOF
50666
50667 cat >>$CONFIG_STATUS <<_ACEOF
50668 ac_cs_version="\\
50669 wxWidgets config.status 2.7.1
50670 configured by $0, generated by GNU Autoconf 2.59,
50671 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50672
50673 Copyright (C) 2003 Free Software Foundation, Inc.
50674 This config.status script is free software; the Free Software Foundation
50675 gives unlimited permission to copy, distribute and modify it."
50676 srcdir=$srcdir
50677 INSTALL="$INSTALL"
50678 _ACEOF
50679
50680 cat >>$CONFIG_STATUS <<\_ACEOF
50681 # If no file are specified by the user, then we need to provide default
50682 # value. By we need to know if files were specified by the user.
50683 ac_need_defaults=:
50684 while test $# != 0
50685 do
50686 case $1 in
50687 --*=*)
50688 ac_option=`expr "x$1" : 'x\([^=]*\)='`
50689 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
50690 ac_shift=:
50691 ;;
50692 -*)
50693 ac_option=$1
50694 ac_optarg=$2
50695 ac_shift=shift
50696 ;;
50697 *) # This is not an option, so the user has probably given explicit
50698 # arguments.
50699 ac_option=$1
50700 ac_need_defaults=false;;
50701 esac
50702
50703 case $ac_option in
50704 # Handling of the options.
50705 _ACEOF
50706 cat >>$CONFIG_STATUS <<\_ACEOF
50707 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50708 ac_cs_recheck=: ;;
50709 --version | --vers* | -V )
50710 echo "$ac_cs_version"; exit 0 ;;
50711 --he | --h)
50712 # Conflict between --help and --header
50713 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50714 Try \`$0 --help' for more information." >&5
50715 echo "$as_me: error: ambiguous option: $1
50716 Try \`$0 --help' for more information." >&2;}
50717 { (exit 1); exit 1; }; };;
50718 --help | --hel | -h )
50719 echo "$ac_cs_usage"; exit 0 ;;
50720 --debug | --d* | -d )
50721 debug=: ;;
50722 --file | --fil | --fi | --f )
50723 $ac_shift
50724 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50725 ac_need_defaults=false;;
50726 --header | --heade | --head | --hea )
50727 $ac_shift
50728 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50729 ac_need_defaults=false;;
50730 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50731 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50732 ac_cs_silent=: ;;
50733
50734 # This is an error.
50735 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50736 Try \`$0 --help' for more information." >&5
50737 echo "$as_me: error: unrecognized option: $1
50738 Try \`$0 --help' for more information." >&2;}
50739 { (exit 1); exit 1; }; } ;;
50740
50741 *) ac_config_targets="$ac_config_targets $1" ;;
50742
50743 esac
50744 shift
50745 done
50746
50747 ac_configure_extra_args=
50748
50749 if $ac_cs_silent; then
50750 exec 6>/dev/null
50751 ac_configure_extra_args="$ac_configure_extra_args --silent"
50752 fi
50753
50754 _ACEOF
50755 cat >>$CONFIG_STATUS <<_ACEOF
50756 if \$ac_cs_recheck; then
50757 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50758 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50759 fi
50760
50761 _ACEOF
50762
50763 cat >>$CONFIG_STATUS <<_ACEOF
50764 #
50765 # INIT-COMMANDS section.
50766 #
50767
50768
50769 CPP="$CPP"
50770 infile="$srcdir/include/wx/msw/genrcdefs.h"
50771 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50772
50773
50774 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50775 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50776 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50777 LN_S="${LN_S}"
50778
50779
50780 _ACEOF
50781
50782
50783
50784 cat >>$CONFIG_STATUS <<\_ACEOF
50785 for ac_config_target in $ac_config_targets
50786 do
50787 case "$ac_config_target" in
50788 # Handling of arguments.
50789 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50790 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50791 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
50792 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50793 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
50794 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50795 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50796 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50797 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50798 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50799 { (exit 1); exit 1; }; };;
50800 esac
50801 done
50802
50803 # If the user did not use the arguments to specify the items to instantiate,
50804 # then the envvar interface is used. Set only those that are not.
50805 # We use the long form for the default assignment because of an extremely
50806 # bizarre bug on SunOS 4.1.3.
50807 if $ac_need_defaults; then
50808 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50809 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50810 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50811 fi
50812
50813 # Have a temporary directory for convenience. Make it in the build tree
50814 # simply because there is no reason to put it here, and in addition,
50815 # creating and moving files from /tmp can sometimes cause problems.
50816 # Create a temporary directory, and hook for its removal unless debugging.
50817 $debug ||
50818 {
50819 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50820 trap '{ (exit 1); exit 1; }' 1 2 13 15
50821 }
50822
50823 # Create a (secure) tmp directory for tmp files.
50824
50825 {
50826 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50827 test -n "$tmp" && test -d "$tmp"
50828 } ||
50829 {
50830 tmp=./confstat$$-$RANDOM
50831 (umask 077 && mkdir $tmp)
50832 } ||
50833 {
50834 echo "$me: cannot create a temporary directory in ." >&2
50835 { (exit 1); exit 1; }
50836 }
50837
50838 _ACEOF
50839
50840 cat >>$CONFIG_STATUS <<_ACEOF
50841
50842 #
50843 # CONFIG_FILES section.
50844 #
50845
50846 # No need to generate the scripts if there are no CONFIG_FILES.
50847 # This happens for instance when ./config.status config.h
50848 if test -n "\$CONFIG_FILES"; then
50849 # Protect against being on the right side of a sed subst in config.status.
50850 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50851 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50852 s,@SHELL@,$SHELL,;t t
50853 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50854 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50855 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50856 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50857 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50858 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50859 s,@exec_prefix@,$exec_prefix,;t t
50860 s,@prefix@,$prefix,;t t
50861 s,@program_transform_name@,$program_transform_name,;t t
50862 s,@bindir@,$bindir,;t t
50863 s,@sbindir@,$sbindir,;t t
50864 s,@libexecdir@,$libexecdir,;t t
50865 s,@datadir@,$datadir,;t t
50866 s,@sysconfdir@,$sysconfdir,;t t
50867 s,@sharedstatedir@,$sharedstatedir,;t t
50868 s,@localstatedir@,$localstatedir,;t t
50869 s,@libdir@,$libdir,;t t
50870 s,@includedir@,$includedir,;t t
50871 s,@oldincludedir@,$oldincludedir,;t t
50872 s,@infodir@,$infodir,;t t
50873 s,@mandir@,$mandir,;t t
50874 s,@build_alias@,$build_alias,;t t
50875 s,@host_alias@,$host_alias,;t t
50876 s,@target_alias@,$target_alias,;t t
50877 s,@DEFS@,$DEFS,;t t
50878 s,@ECHO_C@,$ECHO_C,;t t
50879 s,@ECHO_N@,$ECHO_N,;t t
50880 s,@ECHO_T@,$ECHO_T,;t t
50881 s,@LIBS@,$LIBS,;t t
50882 s,@build@,$build,;t t
50883 s,@build_cpu@,$build_cpu,;t t
50884 s,@build_vendor@,$build_vendor,;t t
50885 s,@build_os@,$build_os,;t t
50886 s,@host@,$host,;t t
50887 s,@host_cpu@,$host_cpu,;t t
50888 s,@host_vendor@,$host_vendor,;t t
50889 s,@host_os@,$host_os,;t t
50890 s,@target@,$target,;t t
50891 s,@target_cpu@,$target_cpu,;t t
50892 s,@target_vendor@,$target_vendor,;t t
50893 s,@target_os@,$target_os,;t t
50894 s,@CC@,$CC,;t t
50895 s,@CFLAGS@,$CFLAGS,;t t
50896 s,@LDFLAGS@,$LDFLAGS,;t t
50897 s,@CPPFLAGS@,$CPPFLAGS,;t t
50898 s,@ac_ct_CC@,$ac_ct_CC,;t t
50899 s,@EXEEXT@,$EXEEXT,;t t
50900 s,@OBJEXT@,$OBJEXT,;t t
50901 s,@CPP@,$CPP,;t t
50902 s,@EGREP@,$EGREP,;t t
50903 s,@CXX@,$CXX,;t t
50904 s,@CXXFLAGS@,$CXXFLAGS,;t t
50905 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50906 s,@RANLIB@,$RANLIB,;t t
50907 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50908 s,@AR@,$AR,;t t
50909 s,@ac_ct_AR@,$ac_ct_AR,;t t
50910 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50911 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50912 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50913 s,@STRIP@,$STRIP,;t t
50914 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50915 s,@WINDRES@,$WINDRES,;t t
50916 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50917 s,@DLLTOOL@,$DLLTOOL,;t t
50918 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50919 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50920 s,@LN_S@,$LN_S,;t t
50921 s,@CXXCPP@,$CXXCPP,;t t
50922 s,@subdirs@,$subdirs,;t t
50923 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50924 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50925 s,@GTK_LIBS@,$GTK_LIBS,;t t
50926 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50927 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50928 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50929 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50930 s,@X_CFLAGS@,$X_CFLAGS,;t t
50931 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50932 s,@X_LIBS@,$X_LIBS,;t t
50933 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50934 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50935 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50936 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50937 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50938 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50939 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50940 s,@REZ@,$REZ,;t t
50941 s,@DEREZ@,$DEREZ,;t t
50942 s,@SETFILE@,$SETFILE,;t t
50943 s,@LIBICONV@,$LIBICONV,;t t
50944 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50945 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50946 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50947 s,@SDL_LIBS@,$SDL_LIBS,;t t
50948 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50949 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50950 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50951 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50952 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50953 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50954 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50955 s,@GST_LIBS@,$GST_LIBS,;t t
50956 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50957 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50958 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50959 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50960 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50961 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50962 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50963 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50964 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50965 s,@VENDOR@,$VENDOR,;t t
50966 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50967 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50968 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50969 s,@WXUNIV@,$WXUNIV,;t t
50970 s,@MONOLITHIC@,$MONOLITHIC,;t t
50971 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50972 s,@EXTRALIBS@,$EXTRALIBS,;t t
50973 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50974 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50975 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50976 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50977 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50978 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50979 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50980 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50981 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50982 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50983 s,@UNICODE@,$UNICODE,;t t
50984 s,@BUILD@,$BUILD,;t t
50985 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50986 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50987 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50988 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50989 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50990 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50991 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50992 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50993 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50994 s,@SET_MAKE@,$SET_MAKE,;t t
50995 s,@MAKE_SET@,$MAKE_SET,;t t
50996 s,@NM@,$NM,;t t
50997 s,@ac_ct_NM@,$ac_ct_NM,;t t
50998 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50999 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51000 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51001 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51002 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51003 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51004 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51005 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51006 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51007 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51008 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51009 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51010 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51011 s,@LIBPREFIX@,$LIBPREFIX,;t t
51012 s,@LIBEXT@,$LIBEXT,;t t
51013 s,@DLLPREFIX@,$DLLPREFIX,;t t
51014 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51015 s,@dlldir@,$dlldir,;t t
51016 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51017 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51018 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51019 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51020 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51021 s,@PIC_FLAG@,$PIC_FLAG,;t t
51022 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51023 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51024 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51025 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51026 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51027 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51028 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51029 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51030 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51031 s,@GCC_PCH@,$GCC_PCH,;t t
51032 s,@ICC_PCH@,$ICC_PCH,;t t
51033 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51034 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51035 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51036 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51037 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51038 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51039 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51040 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51041 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51042 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51043 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51044 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51045 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51046 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51047 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51048 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51049 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51050 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51051 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51052 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51053 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
51054 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
51055 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
51056 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
51057 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51058 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51059 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51060 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51061 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51062 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51063 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
51064 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
51065 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
51066 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
51067 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51068 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51069 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51070 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51071 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51072 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51073 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51074 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51075 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51076 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51077 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51078 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51079 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51080 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51081 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51082 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51083 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51084 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51085 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
51086 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51087 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51088 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51089 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51090 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51091 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51092 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51093 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51094 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51095 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51096 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51097 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51098 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51099 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51100 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51101 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51102 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51103 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51104 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51105 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51106 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51107 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51108 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51109 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51110 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51111 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51112 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51113 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51114 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51115 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51116 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51117 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51118 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51119 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51120 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51121 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51122 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51123 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51124 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51125 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51126 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51127 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
51128 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51129 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51130 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51131 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51132 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51133 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51134 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51135 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51136 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51137 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51138 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51139 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51140 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51141 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51142 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51143 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51144 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51145 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51146 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51147 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51148 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51149 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51150 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51151 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51152 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51153 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51154 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51155 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51156 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51157 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51158 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51159 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51160 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51161 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51162 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51163 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51164 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51165 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51166 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51167 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51168 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51169 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51170 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51171 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51172 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51173 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51174 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51175 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51176 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51177 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51178 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51179 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51180 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51181 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51182 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51183 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51184 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51185 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51186 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51187 s,@SHARED@,$SHARED,;t t
51188 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51189 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51190 s,@USE_GUI@,$USE_GUI,;t t
51191 s,@AFMINSTALL@,$AFMINSTALL,;t t
51192 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51193 s,@TOOLKIT@,$TOOLKIT,;t t
51194 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51195 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51196 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51197 s,@cross_compiling@,$cross_compiling,;t t
51198 s,@WIDGET_SET@,$WIDGET_SET,;t t
51199 s,@WX_RELEASE@,$WX_RELEASE,;t t
51200 s,@WX_VERSION@,$WX_VERSION,;t t
51201 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51202 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51203 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51204 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51205 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51206 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51207 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51208 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51209 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51210 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51211 s,@EXE_LINKER@,$EXE_LINKER,;t t
51212 s,@GUIDIST@,$GUIDIST,;t t
51213 s,@DISTDIR@,$DISTDIR,;t t
51214 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51215 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51216 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51217 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51218 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51219 s,@RESCOMP@,$RESCOMP,;t t
51220 s,@RESFLAGS@,$RESFLAGS,;t t
51221 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51222 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51223 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51224 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51225 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51226 s,@MACSETFILE@,$MACSETFILE,;t t
51227 s,@GCC@,$GCC,;t t
51228 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51229 s,@LIBOBJS@,$LIBOBJS,;t t
51230 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51231 CEOF
51232
51233 _ACEOF
51234
51235 cat >>$CONFIG_STATUS <<\_ACEOF
51236 # Split the substitutions into bite-sized pieces for seds with
51237 # small command number limits, like on Digital OSF/1 and HP-UX.
51238 ac_max_sed_lines=48
51239 ac_sed_frag=1 # Number of current file.
51240 ac_beg=1 # First line for current file.
51241 ac_end=$ac_max_sed_lines # Line after last line for current file.
51242 ac_more_lines=:
51243 ac_sed_cmds=
51244 while $ac_more_lines; do
51245 if test $ac_beg -gt 1; then
51246 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51247 else
51248 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51249 fi
51250 if test ! -s $tmp/subs.frag; then
51251 ac_more_lines=false
51252 else
51253 # The purpose of the label and of the branching condition is to
51254 # speed up the sed processing (if there are no `@' at all, there
51255 # is no need to browse any of the substitutions).
51256 # These are the two extra sed commands mentioned above.
51257 (echo ':t
51258 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51259 if test -z "$ac_sed_cmds"; then
51260 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51261 else
51262 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51263 fi
51264 ac_sed_frag=`expr $ac_sed_frag + 1`
51265 ac_beg=$ac_end
51266 ac_end=`expr $ac_end + $ac_max_sed_lines`
51267 fi
51268 done
51269 if test -z "$ac_sed_cmds"; then
51270 ac_sed_cmds=cat
51271 fi
51272 fi # test -n "$CONFIG_FILES"
51273
51274 _ACEOF
51275 cat >>$CONFIG_STATUS <<\_ACEOF
51276 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51277 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51278 case $ac_file in
51279 - | *:- | *:-:* ) # input from stdin
51280 cat >$tmp/stdin
51281 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51282 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51283 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51284 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51285 * ) ac_file_in=$ac_file.in ;;
51286 esac
51287
51288 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51289 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51290 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51291 X"$ac_file" : 'X\(//\)[^/]' \| \
51292 X"$ac_file" : 'X\(//\)$' \| \
51293 X"$ac_file" : 'X\(/\)' \| \
51294 . : '\(.\)' 2>/dev/null ||
51295 echo X"$ac_file" |
51296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51297 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51298 /^X\(\/\/\)$/{ s//\1/; q; }
51299 /^X\(\/\).*/{ s//\1/; q; }
51300 s/.*/./; q'`
51301 { if $as_mkdir_p; then
51302 mkdir -p "$ac_dir"
51303 else
51304 as_dir="$ac_dir"
51305 as_dirs=
51306 while test ! -d "$as_dir"; do
51307 as_dirs="$as_dir $as_dirs"
51308 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51309 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51310 X"$as_dir" : 'X\(//\)[^/]' \| \
51311 X"$as_dir" : 'X\(//\)$' \| \
51312 X"$as_dir" : 'X\(/\)' \| \
51313 . : '\(.\)' 2>/dev/null ||
51314 echo X"$as_dir" |
51315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51316 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51317 /^X\(\/\/\)$/{ s//\1/; q; }
51318 /^X\(\/\).*/{ s//\1/; q; }
51319 s/.*/./; q'`
51320 done
51321 test ! -n "$as_dirs" || mkdir $as_dirs
51322 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51323 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51324 { (exit 1); exit 1; }; }; }
51325
51326 ac_builddir=.
51327
51328 if test "$ac_dir" != .; then
51329 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51330 # A "../" for each directory in $ac_dir_suffix.
51331 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51332 else
51333 ac_dir_suffix= ac_top_builddir=
51334 fi
51335
51336 case $srcdir in
51337 .) # No --srcdir option. We are building in place.
51338 ac_srcdir=.
51339 if test -z "$ac_top_builddir"; then
51340 ac_top_srcdir=.
51341 else
51342 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51343 fi ;;
51344 [\\/]* | ?:[\\/]* ) # Absolute path.
51345 ac_srcdir=$srcdir$ac_dir_suffix;
51346 ac_top_srcdir=$srcdir ;;
51347 *) # Relative path.
51348 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51349 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51350 esac
51351
51352 # Do not use `cd foo && pwd` to compute absolute paths, because
51353 # the directories may not exist.
51354 case `pwd` in
51355 .) ac_abs_builddir="$ac_dir";;
51356 *)
51357 case "$ac_dir" in
51358 .) ac_abs_builddir=`pwd`;;
51359 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51360 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51361 esac;;
51362 esac
51363 case $ac_abs_builddir in
51364 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51365 *)
51366 case ${ac_top_builddir}. in
51367 .) ac_abs_top_builddir=$ac_abs_builddir;;
51368 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51369 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51370 esac;;
51371 esac
51372 case $ac_abs_builddir in
51373 .) ac_abs_srcdir=$ac_srcdir;;
51374 *)
51375 case $ac_srcdir in
51376 .) ac_abs_srcdir=$ac_abs_builddir;;
51377 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51378 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51379 esac;;
51380 esac
51381 case $ac_abs_builddir in
51382 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51383 *)
51384 case $ac_top_srcdir in
51385 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51386 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51387 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51388 esac;;
51389 esac
51390
51391
51392 case $INSTALL in
51393 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51394 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51395 esac
51396
51397 if test x"$ac_file" != x-; then
51398 { echo "$as_me:$LINENO: creating $ac_file" >&5
51399 echo "$as_me: creating $ac_file" >&6;}
51400 rm -f "$ac_file"
51401 fi
51402 # Let's still pretend it is `configure' which instantiates (i.e., don't
51403 # use $as_me), people would be surprised to read:
51404 # /* config.h. Generated by config.status. */
51405 if test x"$ac_file" = x-; then
51406 configure_input=
51407 else
51408 configure_input="$ac_file. "
51409 fi
51410 configure_input=$configure_input"Generated from `echo $ac_file_in |
51411 sed 's,.*/,,'` by configure."
51412
51413 # First look for the input files in the build tree, otherwise in the
51414 # src tree.
51415 ac_file_inputs=`IFS=:
51416 for f in $ac_file_in; do
51417 case $f in
51418 -) echo $tmp/stdin ;;
51419 [\\/$]*)
51420 # Absolute (can't be DOS-style, as IFS=:)
51421 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51422 echo "$as_me: error: cannot find input file: $f" >&2;}
51423 { (exit 1); exit 1; }; }
51424 echo "$f";;
51425 *) # Relative
51426 if test -f "$f"; then
51427 # Build tree
51428 echo "$f"
51429 elif test -f "$srcdir/$f"; then
51430 # Source tree
51431 echo "$srcdir/$f"
51432 else
51433 # /dev/null tree
51434 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51435 echo "$as_me: error: cannot find input file: $f" >&2;}
51436 { (exit 1); exit 1; }; }
51437 fi;;
51438 esac
51439 done` || { (exit 1); exit 1; }
51440 _ACEOF
51441 cat >>$CONFIG_STATUS <<_ACEOF
51442 sed "$ac_vpsub
51443 $extrasub
51444 _ACEOF
51445 cat >>$CONFIG_STATUS <<\_ACEOF
51446 :t
51447 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51448 s,@configure_input@,$configure_input,;t t
51449 s,@srcdir@,$ac_srcdir,;t t
51450 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51451 s,@top_srcdir@,$ac_top_srcdir,;t t
51452 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51453 s,@builddir@,$ac_builddir,;t t
51454 s,@abs_builddir@,$ac_abs_builddir,;t t
51455 s,@top_builddir@,$ac_top_builddir,;t t
51456 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51457 s,@INSTALL@,$ac_INSTALL,;t t
51458 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51459 rm -f $tmp/stdin
51460 if test x"$ac_file" != x-; then
51461 mv $tmp/out $ac_file
51462 else
51463 cat $tmp/out
51464 rm -f $tmp/out
51465 fi
51466
51467 # Run the commands associated with the file.
51468 case $ac_file in
51469 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51470 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51471 esac
51472 done
51473 _ACEOF
51474 cat >>$CONFIG_STATUS <<\_ACEOF
51475
51476 #
51477 # CONFIG_HEADER section.
51478 #
51479
51480 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51481 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51482 #
51483 # ac_d sets the value in "#define NAME VALUE" lines.
51484 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51485 ac_dB='[ ].*$,\1#\2'
51486 ac_dC=' '
51487 ac_dD=',;t'
51488 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51489 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51490 ac_uB='$,\1#\2define\3'
51491 ac_uC=' '
51492 ac_uD=',;t'
51493
51494 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51495 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51496 case $ac_file in
51497 - | *:- | *:-:* ) # input from stdin
51498 cat >$tmp/stdin
51499 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51500 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51501 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51502 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51503 * ) ac_file_in=$ac_file.in ;;
51504 esac
51505
51506 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51507 echo "$as_me: creating $ac_file" >&6;}
51508
51509 # First look for the input files in the build tree, otherwise in the
51510 # src tree.
51511 ac_file_inputs=`IFS=:
51512 for f in $ac_file_in; do
51513 case $f in
51514 -) echo $tmp/stdin ;;
51515 [\\/$]*)
51516 # Absolute (can't be DOS-style, as IFS=:)
51517 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51518 echo "$as_me: error: cannot find input file: $f" >&2;}
51519 { (exit 1); exit 1; }; }
51520 # Do quote $f, to prevent DOS paths from being IFS'd.
51521 echo "$f";;
51522 *) # Relative
51523 if test -f "$f"; then
51524 # Build tree
51525 echo "$f"
51526 elif test -f "$srcdir/$f"; then
51527 # Source tree
51528 echo "$srcdir/$f"
51529 else
51530 # /dev/null tree
51531 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51532 echo "$as_me: error: cannot find input file: $f" >&2;}
51533 { (exit 1); exit 1; }; }
51534 fi;;
51535 esac
51536 done` || { (exit 1); exit 1; }
51537 # Remove the trailing spaces.
51538 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51539
51540 _ACEOF
51541
51542 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51543 # `conftest.undefs', that substitutes the proper values into
51544 # config.h.in to produce config.h. The first handles `#define'
51545 # templates, and the second `#undef' templates.
51546 # And first: Protect against being on the right side of a sed subst in
51547 # config.status. Protect against being in an unquoted here document
51548 # in config.status.
51549 rm -f conftest.defines conftest.undefs
51550 # Using a here document instead of a string reduces the quoting nightmare.
51551 # Putting comments in sed scripts is not portable.
51552 #
51553 # `end' is used to avoid that the second main sed command (meant for
51554 # 0-ary CPP macros) applies to n-ary macro definitions.
51555 # See the Autoconf documentation for `clear'.
51556 cat >confdef2sed.sed <<\_ACEOF
51557 s/[\\&,]/\\&/g
51558 s,[\\$`],\\&,g
51559 t clear
51560 : clear
51561 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51562 t end
51563 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51564 : end
51565 _ACEOF
51566 # If some macros were called several times there might be several times
51567 # the same #defines, which is useless. Nevertheless, we may not want to
51568 # sort them, since we want the *last* AC-DEFINE to be honored.
51569 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51570 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51571 rm -f confdef2sed.sed
51572
51573 # This sed command replaces #undef with comments. This is necessary, for
51574 # example, in the case of _POSIX_SOURCE, which is predefined and required
51575 # on some systems where configure will not decide to define it.
51576 cat >>conftest.undefs <<\_ACEOF
51577 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51578 _ACEOF
51579
51580 # Break up conftest.defines because some shells have a limit on the size
51581 # of here documents, and old seds have small limits too (100 cmds).
51582 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51583 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51584 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51585 echo ' :' >>$CONFIG_STATUS
51586 rm -f conftest.tail
51587 while grep . conftest.defines >/dev/null
51588 do
51589 # Write a limited-size here document to $tmp/defines.sed.
51590 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51591 # Speed up: don't consider the non `#define' lines.
51592 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51593 # Work around the forget-to-reset-the-flag bug.
51594 echo 't clr' >>$CONFIG_STATUS
51595 echo ': clr' >>$CONFIG_STATUS
51596 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
51597 echo 'CEOF
51598 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51599 rm -f $tmp/in
51600 mv $tmp/out $tmp/in
51601 ' >>$CONFIG_STATUS
51602 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
51603 rm -f conftest.defines
51604 mv conftest.tail conftest.defines
51605 done
51606 rm -f conftest.defines
51607 echo ' fi # grep' >>$CONFIG_STATUS
51608 echo >>$CONFIG_STATUS
51609
51610 # Break up conftest.undefs because some shells have a limit on the size
51611 # of here documents, and old seds have small limits too (100 cmds).
51612 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51613 rm -f conftest.tail
51614 while grep . conftest.undefs >/dev/null
51615 do
51616 # Write a limited-size here document to $tmp/undefs.sed.
51617 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51618 # Speed up: don't consider the non `#undef'
51619 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51620 # Work around the forget-to-reset-the-flag bug.
51621 echo 't clr' >>$CONFIG_STATUS
51622 echo ': clr' >>$CONFIG_STATUS
51623 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51624 echo 'CEOF
51625 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51626 rm -f $tmp/in
51627 mv $tmp/out $tmp/in
51628 ' >>$CONFIG_STATUS
51629 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51630 rm -f conftest.undefs
51631 mv conftest.tail conftest.undefs
51632 done
51633 rm -f conftest.undefs
51634
51635 cat >>$CONFIG_STATUS <<\_ACEOF
51636 # Let's still pretend it is `configure' which instantiates (i.e., don't
51637 # use $as_me), people would be surprised to read:
51638 # /* config.h. Generated by config.status. */
51639 if test x"$ac_file" = x-; then
51640 echo "/* Generated by configure. */" >$tmp/config.h
51641 else
51642 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51643 fi
51644 cat $tmp/in >>$tmp/config.h
51645 rm -f $tmp/in
51646 if test x"$ac_file" != x-; then
51647 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
51648 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51649 echo "$as_me: $ac_file is unchanged" >&6;}
51650 else
51651 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51652 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51653 X"$ac_file" : 'X\(//\)[^/]' \| \
51654 X"$ac_file" : 'X\(//\)$' \| \
51655 X"$ac_file" : 'X\(/\)' \| \
51656 . : '\(.\)' 2>/dev/null ||
51657 echo X"$ac_file" |
51658 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51659 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51660 /^X\(\/\/\)$/{ s//\1/; q; }
51661 /^X\(\/\).*/{ s//\1/; q; }
51662 s/.*/./; q'`
51663 { if $as_mkdir_p; then
51664 mkdir -p "$ac_dir"
51665 else
51666 as_dir="$ac_dir"
51667 as_dirs=
51668 while test ! -d "$as_dir"; do
51669 as_dirs="$as_dir $as_dirs"
51670 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51671 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51672 X"$as_dir" : 'X\(//\)[^/]' \| \
51673 X"$as_dir" : 'X\(//\)$' \| \
51674 X"$as_dir" : 'X\(/\)' \| \
51675 . : '\(.\)' 2>/dev/null ||
51676 echo X"$as_dir" |
51677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51678 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51679 /^X\(\/\/\)$/{ s//\1/; q; }
51680 /^X\(\/\).*/{ s//\1/; q; }
51681 s/.*/./; q'`
51682 done
51683 test ! -n "$as_dirs" || mkdir $as_dirs
51684 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51685 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51686 { (exit 1); exit 1; }; }; }
51687
51688 rm -f $ac_file
51689 mv $tmp/config.h $ac_file
51690 fi
51691 else
51692 cat $tmp/config.h
51693 rm -f $tmp/config.h
51694 fi
51695 done
51696 _ACEOF
51697 cat >>$CONFIG_STATUS <<\_ACEOF
51698
51699 #
51700 # CONFIG_COMMANDS section.
51701 #
51702 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
51703 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
51704 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
51705 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
51706 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51707 X"$ac_dest" : 'X\(//\)[^/]' \| \
51708 X"$ac_dest" : 'X\(//\)$' \| \
51709 X"$ac_dest" : 'X\(/\)' \| \
51710 . : '\(.\)' 2>/dev/null ||
51711 echo X"$ac_dest" |
51712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51713 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51714 /^X\(\/\/\)$/{ s//\1/; q; }
51715 /^X\(\/\).*/{ s//\1/; q; }
51716 s/.*/./; q'`
51717 { if $as_mkdir_p; then
51718 mkdir -p "$ac_dir"
51719 else
51720 as_dir="$ac_dir"
51721 as_dirs=
51722 while test ! -d "$as_dir"; do
51723 as_dirs="$as_dir $as_dirs"
51724 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51725 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51726 X"$as_dir" : 'X\(//\)[^/]' \| \
51727 X"$as_dir" : 'X\(//\)$' \| \
51728 X"$as_dir" : 'X\(/\)' \| \
51729 . : '\(.\)' 2>/dev/null ||
51730 echo X"$as_dir" |
51731 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51732 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51733 /^X\(\/\/\)$/{ s//\1/; q; }
51734 /^X\(\/\).*/{ s//\1/; q; }
51735 s/.*/./; q'`
51736 done
51737 test ! -n "$as_dirs" || mkdir $as_dirs
51738 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51739 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51740 { (exit 1); exit 1; }; }; }
51741
51742 ac_builddir=.
51743
51744 if test "$ac_dir" != .; then
51745 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51746 # A "../" for each directory in $ac_dir_suffix.
51747 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51748 else
51749 ac_dir_suffix= ac_top_builddir=
51750 fi
51751
51752 case $srcdir in
51753 .) # No --srcdir option. We are building in place.
51754 ac_srcdir=.
51755 if test -z "$ac_top_builddir"; then
51756 ac_top_srcdir=.
51757 else
51758 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51759 fi ;;
51760 [\\/]* | ?:[\\/]* ) # Absolute path.
51761 ac_srcdir=$srcdir$ac_dir_suffix;
51762 ac_top_srcdir=$srcdir ;;
51763 *) # Relative path.
51764 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51765 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51766 esac
51767
51768 # Do not use `cd foo && pwd` to compute absolute paths, because
51769 # the directories may not exist.
51770 case `pwd` in
51771 .) ac_abs_builddir="$ac_dir";;
51772 *)
51773 case "$ac_dir" in
51774 .) ac_abs_builddir=`pwd`;;
51775 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51776 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51777 esac;;
51778 esac
51779 case $ac_abs_builddir in
51780 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51781 *)
51782 case ${ac_top_builddir}. in
51783 .) ac_abs_top_builddir=$ac_abs_builddir;;
51784 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51785 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51786 esac;;
51787 esac
51788 case $ac_abs_builddir in
51789 .) ac_abs_srcdir=$ac_srcdir;;
51790 *)
51791 case $ac_srcdir in
51792 .) ac_abs_srcdir=$ac_abs_builddir;;
51793 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51794 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51795 esac;;
51796 esac
51797 case $ac_abs_builddir in
51798 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51799 *)
51800 case $ac_top_srcdir in
51801 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51802 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51803 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51804 esac;;
51805 esac
51806
51807
51808 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51809 echo "$as_me: executing $ac_dest commands" >&6;}
51810 case $ac_dest in
51811 rcdefs.h )
51812 mkdir -p $outdir &&
51813 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51814 ;;
51815 wx-config ) rm -f wx-config
51816 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51817 ;;
51818 esac
51819 done
51820 _ACEOF
51821
51822 cat >>$CONFIG_STATUS <<\_ACEOF
51823
51824 { (exit 0); exit 0; }
51825 _ACEOF
51826 chmod +x $CONFIG_STATUS
51827 ac_clean_files=$ac_clean_files_save
51828
51829
51830 # configure is writing to config.log, and then calls config.status.
51831 # config.status does its own redirection, appending to config.log.
51832 # Unfortunately, on DOS this fails, as config.log is still kept open
51833 # by configure, so config.status won't be able to write to it; its
51834 # output is simply discarded. So we exec the FD to /dev/null,
51835 # effectively closing config.log, so it can be properly (re)opened and
51836 # appended to by config.status. When coming back to configure, we
51837 # need to make the FD available again.
51838 if test "$no_create" != yes; then
51839 ac_cs_success=:
51840 ac_config_status_args=
51841 test "$silent" = yes &&
51842 ac_config_status_args="$ac_config_status_args --quiet"
51843 exec 5>/dev/null
51844 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51845 exec 5>>config.log
51846 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51847 # would make configure fail if this is the last instruction.
51848 $ac_cs_success || { (exit 1); exit 1; }
51849 fi
51850
51851 #
51852 # CONFIG_SUBDIRS section.
51853 #
51854 if test "$no_recursion" != yes; then
51855
51856 # Remove --cache-file and --srcdir arguments so they do not pile up.
51857 ac_sub_configure_args=
51858 ac_prev=
51859 for ac_arg in $ac_configure_args; do
51860 if test -n "$ac_prev"; then
51861 ac_prev=
51862 continue
51863 fi
51864 case $ac_arg in
51865 -cache-file | --cache-file | --cache-fil | --cache-fi \
51866 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51867 ac_prev=cache_file ;;
51868 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51869 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51870 | --c=*)
51871 ;;
51872 --config-cache | -C)
51873 ;;
51874 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51875 ac_prev=srcdir ;;
51876 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51877 ;;
51878 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51879 ac_prev=prefix ;;
51880 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51881 ;;
51882 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
51883 esac
51884 done
51885
51886 # Always prepend --prefix to ensure using the same prefix
51887 # in subdir configurations.
51888 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
51889
51890 ac_popdir=`pwd`
51891 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51892
51893 # Do not complain, so a configure script can configure whichever
51894 # parts of a large source tree are present.
51895 test -d $srcdir/$ac_dir || continue
51896
51897 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51898 echo "$as_me: configuring in $ac_dir" >&6;}
51899 { if $as_mkdir_p; then
51900 mkdir -p "$ac_dir"
51901 else
51902 as_dir="$ac_dir"
51903 as_dirs=
51904 while test ! -d "$as_dir"; do
51905 as_dirs="$as_dir $as_dirs"
51906 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51907 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51908 X"$as_dir" : 'X\(//\)[^/]' \| \
51909 X"$as_dir" : 'X\(//\)$' \| \
51910 X"$as_dir" : 'X\(/\)' \| \
51911 . : '\(.\)' 2>/dev/null ||
51912 echo X"$as_dir" |
51913 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51914 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51915 /^X\(\/\/\)$/{ s//\1/; q; }
51916 /^X\(\/\).*/{ s//\1/; q; }
51917 s/.*/./; q'`
51918 done
51919 test ! -n "$as_dirs" || mkdir $as_dirs
51920 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51921 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51922 { (exit 1); exit 1; }; }; }
51923
51924 ac_builddir=.
51925
51926 if test "$ac_dir" != .; then
51927 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51928 # A "../" for each directory in $ac_dir_suffix.
51929 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51930 else
51931 ac_dir_suffix= ac_top_builddir=
51932 fi
51933
51934 case $srcdir in
51935 .) # No --srcdir option. We are building in place.
51936 ac_srcdir=.
51937 if test -z "$ac_top_builddir"; then
51938 ac_top_srcdir=.
51939 else
51940 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51941 fi ;;
51942 [\\/]* | ?:[\\/]* ) # Absolute path.
51943 ac_srcdir=$srcdir$ac_dir_suffix;
51944 ac_top_srcdir=$srcdir ;;
51945 *) # Relative path.
51946 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51947 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51948 esac
51949
51950 # Do not use `cd foo && pwd` to compute absolute paths, because
51951 # the directories may not exist.
51952 case `pwd` in
51953 .) ac_abs_builddir="$ac_dir";;
51954 *)
51955 case "$ac_dir" in
51956 .) ac_abs_builddir=`pwd`;;
51957 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51958 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51959 esac;;
51960 esac
51961 case $ac_abs_builddir in
51962 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51963 *)
51964 case ${ac_top_builddir}. in
51965 .) ac_abs_top_builddir=$ac_abs_builddir;;
51966 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51967 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51968 esac;;
51969 esac
51970 case $ac_abs_builddir in
51971 .) ac_abs_srcdir=$ac_srcdir;;
51972 *)
51973 case $ac_srcdir in
51974 .) ac_abs_srcdir=$ac_abs_builddir;;
51975 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51976 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51977 esac;;
51978 esac
51979 case $ac_abs_builddir in
51980 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51981 *)
51982 case $ac_top_srcdir in
51983 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51984 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51985 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51986 esac;;
51987 esac
51988
51989
51990 cd $ac_dir
51991
51992 # Check for guested configure; otherwise get Cygnus style configure.
51993 if test -f $ac_srcdir/configure.gnu; then
51994 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
51995 elif test -f $ac_srcdir/configure; then
51996 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
51997 elif test -f $ac_srcdir/configure.in; then
51998 ac_sub_configure=$ac_configure
51999 else
52000 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52001 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52002 ac_sub_configure=
52003 fi
52004
52005 # The recursion is here.
52006 if test -n "$ac_sub_configure"; then
52007 # Make the cache file name correct relative to the subdirectory.
52008 case $cache_file in
52009 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52010 *) # Relative path.
52011 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52012 esac
52013
52014 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52015 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52016 # The eval makes quoting arguments work.
52017 eval $ac_sub_configure $ac_sub_configure_args \
52018 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52019 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52020 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52021 { (exit 1); exit 1; }; }
52022 fi
52023
52024 cd $ac_popdir
52025 done
52026 fi
52027
52028
52029 echo
52030 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52031 echo ""
52032 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52033 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52034
52035 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52036 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52037 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52038
52039 echo " What level of wxWidgets compatibility should be enabled?"
52040 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52041 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52042
52043 echo " Which libraries should wxWidgets use?"
52044 echo " jpeg ${wxUSE_LIBJPEG-none}"
52045 echo " png ${wxUSE_LIBPNG-none}"
52046 echo " regex ${wxUSE_REGEX}"
52047 echo " tiff ${wxUSE_LIBTIFF-none}"
52048 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52049 echo " xpm ${wxUSE_LIBXPM-none}"
52050 fi
52051 echo " zlib ${wxUSE_ZLIB}"
52052 echo " odbc ${wxUSE_ODBC}"
52053 echo " expat ${wxUSE_EXPAT}"
52054 echo " libmspack ${wxUSE_LIBMSPACK}"
52055 echo " sdl ${wxUSE_LIBSDL}"
52056
52057 echo ""
52058