]> git.saurik.com Git - wxWidgets.git/blob - configure
deTABified
[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 CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET 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_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
861 ac_env_GST_LIBS_set=${GST_LIBS+set}
862 ac_env_GST_LIBS_value=$GST_LIBS
863 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value=$GST_LIBS
865
866 #
867 # Report the --help message.
868 #
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
872 cat <<_ACEOF
873 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
874
875 Usage: $0 [OPTION]... [VAR=VALUE]...
876
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
879
880 Defaults for the options are specified in brackets.
881
882 Configuration:
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
892
893 _ACEOF
894
895 cat <<_ACEOF
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
898 [$ac_default_prefix]
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
900 [PREFIX]
901
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
906
907 For better control, use the options below.
908
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
922 _ACEOF
923
924 cat <<\_ACEOF
925
926 X features:
927 --x-includes=DIR X include files are in DIR
928 --x-libraries=DIR X library files are in DIR
929
930 System types:
931 --build=BUILD configure for building on BUILD [guessed]
932 --host=HOST cross-compile to build programs to run on HOST [BUILD]
933 --target=TARGET configure for building compilers for TARGET [HOST]
934 _ACEOF
935 fi
936
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short | recursive ) echo "Configuration of wxWidgets 2.7.1:";;
940 esac
941 cat <<\_ACEOF
942
943 Optional Features:
944 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
945 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK+ 1.2 instead of 2.0
952 --enable-gpe use GNOME PDA Environment features if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
969 --enable-compat24 enable wxWidgets 2.4 compatibility
970 --disable-compat26 disable wxWidgets 2.6 compatibility
971 --disable-rpath disable use of rpath for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig (and derived) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP (requires wxProtocol
976 --enable-http use wxHTTP (requires wxProtocol
977 --enable-fileproto use wxFileProto class (requires wxProtocol
978 --enable-sockets use socket/network classes
979 --enable-ole use OLE classes (Win32 only)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication (wxSocket etc.)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backingfile use wxBackingFile
985 --enable-backtrace use wxStackWalker class for getting backtraces
986 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
987 --enable-cmdline use wxCmdLineParser class
988 --enable-datetime use wxDateTime class
989 --enable-debugreport use wxDebugReport class
990 --enable-dialupman use dialup network classes
991 --enable-dynlib use wxLibrary class for DLL loading
992 --enable-dynamicloader use (new) wxDynamicLibrary class
993 --enable-exceptions build exception-safe library
994 --enable-ffile use wxFFile class
995 --enable-file use wxFile class
996 --enable-filesystem use virtual file systems classes
997 --enable-fontmap use font encodings conversion classes
998 --enable-fs_archive use virtual archive filesystems
999 --enable-fs_inet use virtual HTTP/FTP filesystems
1000 --enable-fs_zip use virtual ZIP filesystems
1001 --enable-geometry use geometry class
1002 --enable-log use logging system
1003 --enable-longlong use wxLongLong class
1004 --enable-mimetype use wxMimeTypesManager
1005 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1006 --enable-snglinst use wxSingleInstanceChecker class
1007 --enable-std_iostreams use standard C++ stream classes
1008 --enable-std_string use standard C++ string classes
1009 --enable-stdpaths use wxStandardPaths class
1010 --enable-stopwatch use wxStopWatch class
1011 --enable-streams use wxStream etc classes
1012 --enable-sysoptions use wxSystemOptions
1013 --enable-tarstream use wxTar streams
1014 --enable-textbuf use wxTextBuffer class
1015 --enable-textfile use wxTextFile class
1016 --enable-timer use wxTimer class
1017 --enable-unicode compile wxString with Unicode support
1018 --enable-sound use wxSound class
1019 --enable-mediactrl use wxMediaCtrl class
1020 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1021 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1022 --enable-zipstream use wxZip streams
1023 --enable-url use wxURL class
1024 --enable-variant use wxVariant class
1025 --enable-protocol use wxProtocol class
1026 --enable-protocol-http HTTP support in wxProtocol
1027 --enable-protocol-ftp FTP support in wxProtocol
1028 --enable-protocol-file FILE support in wxProtocol
1029 --enable-threads use threads
1030 --enable-docview use document view architecture
1031 --enable-help use help subsystem
1032 --enable-mshtmlhelp use MS HTML Help (win32)
1033 --enable-html use wxHTML sub-library
1034 --enable-htmlhelp use wxHTML-based help
1035 --enable-xrc use XRC resources sub-library
1036 --enable-aui use AUI docking library
1037 --enable-constraints use layout-constraints system
1038 --enable-printarch use printing architecture
1039 --enable-mdi use multiple document interface architecture
1040 --enable-mdidoc use docview architecture with MDI
1041 --enable-loggui use standard GUI logger
1042 --enable-logwin use wxLogWindow
1043 --enable-logdialog use wxLogDialog
1044 --enable-webkit use wxWebKitCtrl (Mac)
1045 --enable-richtext use wxRichTextCtrl
1046 --enable-graphics_ctx use graphics context 2D drawing API
1047 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1048 --enable-prologio not available; see contrib
1049 --enable-resources not available; see contrib
1050 --enable-clipboard use wxClipboard class
1051 --enable-dnd use Drag'n'Drop classes
1052 --enable-metafile use win32 metafiles
1053 --enable-controls use all usual controls
1054 --enable-accel use accelerators
1055 --enable-animatectrl use wxAnimationCtrl class
1056 --enable-button use wxButton class
1057 --enable-bmpbutton use wxBitmapButton class
1058 --enable-bmpcombobox use wxBitmapComboBox class
1059 --enable-calendar use wxCalendarCtrl class
1060 --enable-caret use wxCaret class
1061 --enable-checkbox use wxCheckBox class
1062 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1063 --enable-choice use wxChoice class
1064 --enable-choicebook use wxChoicebook class
1065 --enable-colourpicker use wxColourPickerCtrl class
1066 --enable-combobox use wxComboBox class
1067 --enable-comboctrl use wxComboCtrl class
1068 --enable-datepick use wxDatePickerCtrl class
1069 --enable-dirpicker use wxDirPickerCtrl class
1070 --enable-display use wxDisplay class
1071 --enable-detect_sm use code to detect X11 session manager
1072 --enable-filepicker use wxFilePickerCtrl class
1073 --enable-fontpicker use wxFontPickerCtrl class
1074 --enable-gauge use wxGauge class
1075 --enable-grid use wxGrid class
1076 --enable-dataviewctrl, use wxDataViewCtrl class
1077 --enable-hyperlink use wxHyperlinkCtrl class
1078 --enable-imaglist use wxImageList class
1079 --enable-listbook use wxListbook class
1080 --enable-listbox use wxListBox class
1081 --enable-listctrl use wxListCtrl class
1082 --enable-notebook use wxNotebook class
1083 --enable-odcombobox use wxOwnerDrawnComboBox class
1084 --enable-radiobox use wxRadioBox class
1085 --enable-radiobtn use wxRadioButton class
1086 --enable-sash use wxSashWindow class
1087 --enable-scrollbar use wxScrollBar class and scrollable windows
1088 --enable-slider use wxSlider class
1089 --enable-spinbtn use wxSpinButton class
1090 --enable-spinctrl use wxSpinCtrl class
1091 --enable-splitter use wxSplitterWindow class
1092 --enable-statbmp use wxStaticBitmap class
1093 --enable-statbox use wxStaticBox class
1094 --enable-statline use wxStaticLine class
1095 --enable-stattext use wxStaticText class
1096 --enable-statusbar use wxStatusBar class
1097 --enable-tabdialog use wxTabControl class
1098 --enable-textctrl use wxTextCtrl class
1099 --enable-togglebtn use wxToggleButton class
1100 --enable-toolbar use wxToolBar class
1101 --enable-tbarnative use native wxToolBar class
1102 --enable-treebook use wxTreebook class
1103 --enable-toolbook use wxToolbook class
1104 --enable-treectrl use wxTreeCtrl class
1105 --enable-tipwindow use wxTipWindow class
1106 --enable-popupwin use wxPopUpWindow class
1107 --enable-commondlg use all common dialogs
1108 --enable-aboutdlg use wxAboutBox
1109 --enable-choicedlg use wxChoiceDialog
1110 --enable-coldlg use wxColourDialog
1111 --enable-filedlg use wxFileDialog
1112 --enable-finddlg use wxFindReplaceDialog
1113 --enable-fontdlg use wxFontDialog
1114 --enable-dirdlg use wxDirDialog
1115 --enable-msgdlg use wxMessageDialog
1116 --enable-numberdlg use wxNumberEntryDialog
1117 --enable-splash use wxSplashScreen
1118 --enable-textdlg use wxTextDialog
1119 --enable-tipdlg use startup tips
1120 --enable-progressdlg use wxProgressDialog
1121 --enable-wizarddlg use wxWizard
1122 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1123 --enable-miniframe use wxMiniFrame class
1124 --enable-tooltips use wxToolTip class
1125 --enable-splines use spline drawing code
1126 --enable-mousewheel use mousewheel
1127 --enable-validators use wxValidator and derived classes
1128 --enable-busyinfo use wxBusyInfo
1129 --enable-joystick use wxJoystick
1130 --enable-metafiles use wxMetaFile (Win32 only)
1131 --enable-dragimage use wxDragImage
1132 --enable-accessibility enable accessibility support
1133 --enable-dccache cache temporary wxDC objects (Win32 only)
1134 --enable-palette use wxPalette class
1135 --enable-image use wxImage class
1136 --enable-gif use gif images (GIF file format)
1137 --enable-pcx use pcx images (PCX file format)
1138 --enable-iff use iff images (IFF file format)
1139 --enable-pnm use pnm images (PNM file format)
1140 --enable-xpm use xpm images (XPM file format)
1141 --enable-icocur use Windows ICO and CUR formats
1142 --enable-official_build official build of wxWidgets (win32 DLL only)
1143 --enable-vendor=VENDOR vendor name (win32 DLL only)
1144 --disable-largefile omit support for large files
1145 --disable-gtktest do not try to compile and run a test GTK+ program
1146 --disable-gtktest Do not try to compile and run a test GTK program
1147 --disable-sdltest Do not try to compile and run a test SDL program
1148 --enable-omf use OMF object format (OS/2)
1149 --disable-dependency-tracking
1150 don't use dependency tracking even if the compiler
1151 can
1152 --disable-precomp-headers
1153 don't use precompiled headers even if compiler can
1154
1155 Optional Packages:
1156 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1157 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1158 --without-subdirs don't generate makefiles for samples/demos/...
1159 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1160 --with-motif use Motif/Lesstif
1161 --with-mac use Mac OS X
1162 --with-cocoa use Cocoa
1163 --with-wine use Wine
1164 --with-msw use MS-Windows
1165 --with-pm use OS/2 Presentation Manager
1166 --with-mgl use SciTech MGL
1167 --with-directfb use DirectFB
1168 --with-microwin use MicroWindows
1169 --with-x11 use X11
1170 --with-libpng use libpng (PNG image format)
1171 --with-libjpeg use libjpeg (JPEG file format)
1172 --with-libtiff use libtiff (TIFF file format)
1173 --with-libxpm use libxpm (XPM file format)
1174 --with-libmspack use libmspack (CHM help files loading)
1175 --with-sdl use SDL for audio on Unix
1176 --with-gnomeprint use GNOME print for printing under GNOME
1177 --with-gnomevfs use GNOME VFS for associating MIME types
1178 --with-hildon use Hildon framework for Nokia 770
1179 --with-opengl use OpenGL (or Mesa)
1180 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1181 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1182 --with-regex enable support for wxRegEx class
1183 --with-zlib use zlib for LZW compression
1184 --with-odbc use the IODBC and wxODBC classes
1185 --with-expat enable XML support using expat parser
1186 --with-flavour=NAME specify a name to identify this build
1187 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1188 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1189 --with-x use the X Window System
1190 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1191 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1192 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1193 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1194 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1195
1196 Some influential environment variables:
1197 CC C compiler command
1198 CFLAGS C compiler flags
1199 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1200 nonstandard directory <lib dir>
1201 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1202 headers in a nonstandard directory <include dir>
1203 CPP C preprocessor
1204 CXX C++ compiler command
1205 CXXFLAGS C++ compiler flags
1206 CXXCPP C++ preprocessor
1207 PKG_CONFIG path to pkg-config utility
1208 DIRECTFB_CFLAGS
1209 C compiler flags for DIRECTFB, overriding pkg-config
1210 DIRECTFB_LIBS
1211 linker flags for DIRECTFB, overriding pkg-config
1212 PANGOX_CFLAGS
1213 C compiler flags for PANGOX, overriding pkg-config
1214 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1215 PANGOFT2_CFLAGS
1216 C compiler flags for PANGOFT2, overriding pkg-config
1217 PANGOFT2_LIBS
1218 linker flags for PANGOFT2, overriding pkg-config
1219 PANGOXFT_CFLAGS
1220 C compiler flags for PANGOXFT, overriding pkg-config
1221 PANGOXFT_LIBS
1222 linker flags for PANGOXFT, overriding pkg-config
1223 LIBGNOMEPRINTUI_CFLAGS
1224 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1225 LIBGNOMEPRINTUI_LIBS
1226 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1227 GNOMEVFS_CFLAGS
1228 C compiler flags for GNOMEVFS, overriding pkg-config
1229 GNOMEVFS_LIBS
1230 linker flags for GNOMEVFS, overriding pkg-config
1231 HILDON_CFLAGS
1232 C compiler flags for HILDON, overriding pkg-config
1233 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1234 CAIRO_CFLAGS
1235 C compiler flags for CAIRO, overriding pkg-config
1236 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1237 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1238 GST_LIBS linker flags for GST, overriding pkg-config
1239
1240 Use these variables to override the choices made by `configure' or to help
1241 it to find libraries and programs with nonstandard names/locations.
1242
1243 Report bugs to <wx-dev@lists.wxwidgets.org>.
1244 _ACEOF
1245 fi
1246
1247 if test "$ac_init_help" = "recursive"; then
1248 # If there are subdirs, report their specific --help.
1249 ac_popdir=`pwd`
1250 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1251 test -d $ac_dir || continue
1252 ac_builddir=.
1253
1254 if test "$ac_dir" != .; then
1255 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1256 # A "../" for each directory in $ac_dir_suffix.
1257 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1258 else
1259 ac_dir_suffix= ac_top_builddir=
1260 fi
1261
1262 case $srcdir in
1263 .) # No --srcdir option. We are building in place.
1264 ac_srcdir=.
1265 if test -z "$ac_top_builddir"; then
1266 ac_top_srcdir=.
1267 else
1268 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1269 fi ;;
1270 [\\/]* | ?:[\\/]* ) # Absolute path.
1271 ac_srcdir=$srcdir$ac_dir_suffix;
1272 ac_top_srcdir=$srcdir ;;
1273 *) # Relative path.
1274 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1275 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1276 esac
1277
1278 # Do not use `cd foo && pwd` to compute absolute paths, because
1279 # the directories may not exist.
1280 case `pwd` in
1281 .) ac_abs_builddir="$ac_dir";;
1282 *)
1283 case "$ac_dir" in
1284 .) ac_abs_builddir=`pwd`;;
1285 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1286 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1287 esac;;
1288 esac
1289 case $ac_abs_builddir in
1290 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1291 *)
1292 case ${ac_top_builddir}. in
1293 .) ac_abs_top_builddir=$ac_abs_builddir;;
1294 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1295 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1296 esac;;
1297 esac
1298 case $ac_abs_builddir in
1299 .) ac_abs_srcdir=$ac_srcdir;;
1300 *)
1301 case $ac_srcdir in
1302 .) ac_abs_srcdir=$ac_abs_builddir;;
1303 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1304 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1305 esac;;
1306 esac
1307 case $ac_abs_builddir in
1308 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1309 *)
1310 case $ac_top_srcdir in
1311 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1312 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1313 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1314 esac;;
1315 esac
1316
1317 cd $ac_dir
1318 # Check for guested configure; otherwise get Cygnus style configure.
1319 if test -f $ac_srcdir/configure.gnu; then
1320 echo
1321 $SHELL $ac_srcdir/configure.gnu --help=recursive
1322 elif test -f $ac_srcdir/configure; then
1323 echo
1324 $SHELL $ac_srcdir/configure --help=recursive
1325 elif test -f $ac_srcdir/configure.ac ||
1326 test -f $ac_srcdir/configure.in; then
1327 echo
1328 $ac_configure --help
1329 else
1330 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1331 fi
1332 cd "$ac_popdir"
1333 done
1334 fi
1335
1336 test -n "$ac_init_help" && exit 0
1337 if $ac_init_version; then
1338 cat <<\_ACEOF
1339 wxWidgets configure 2.7.1
1340 generated by GNU Autoconf 2.59
1341
1342 Copyright (C) 2003 Free Software Foundation, Inc.
1343 This configure script is free software; the Free Software Foundation
1344 gives unlimited permission to copy, distribute and modify it.
1345 _ACEOF
1346 exit 0
1347 fi
1348 exec 5>config.log
1349 cat >&5 <<_ACEOF
1350 This file contains any messages produced by compilers while
1351 running configure, to aid debugging if configure makes a mistake.
1352
1353 It was created by wxWidgets $as_me 2.7.1, which was
1354 generated by GNU Autoconf 2.59. Invocation command line was
1355
1356 $ $0 $@
1357
1358 _ACEOF
1359 {
1360 cat <<_ASUNAME
1361 ## --------- ##
1362 ## Platform. ##
1363 ## --------- ##
1364
1365 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1366 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1367 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1368 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1369 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1370
1371 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1372 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1373
1374 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1375 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1376 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1377 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1378 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1379 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1380 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1381
1382 _ASUNAME
1383
1384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1385 for as_dir in $PATH
1386 do
1387 IFS=$as_save_IFS
1388 test -z "$as_dir" && as_dir=.
1389 echo "PATH: $as_dir"
1390 done
1391
1392 } >&5
1393
1394 cat >&5 <<_ACEOF
1395
1396
1397 ## ----------- ##
1398 ## Core tests. ##
1399 ## ----------- ##
1400
1401 _ACEOF
1402
1403
1404 # Keep a trace of the command line.
1405 # Strip out --no-create and --no-recursion so they do not pile up.
1406 # Strip out --silent because we don't want to record it for future runs.
1407 # Also quote any args containing shell meta-characters.
1408 # Make two passes to allow for proper duplicate-argument suppression.
1409 ac_configure_args=
1410 ac_configure_args0=
1411 ac_configure_args1=
1412 ac_sep=
1413 ac_must_keep_next=false
1414 for ac_pass in 1 2
1415 do
1416 for ac_arg
1417 do
1418 case $ac_arg in
1419 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1420 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1421 | -silent | --silent | --silen | --sile | --sil)
1422 continue ;;
1423 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1424 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1425 esac
1426 case $ac_pass in
1427 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1428 2)
1429 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1430 if test $ac_must_keep_next = true; then
1431 ac_must_keep_next=false # Got value, back to normal.
1432 else
1433 case $ac_arg in
1434 *=* | --config-cache | -C | -disable-* | --disable-* \
1435 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1436 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1437 | -with-* | --with-* | -without-* | --without-* | --x)
1438 case "$ac_configure_args0 " in
1439 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1440 esac
1441 ;;
1442 -* ) ac_must_keep_next=true ;;
1443 esac
1444 fi
1445 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1446 # Get rid of the leading space.
1447 ac_sep=" "
1448 ;;
1449 esac
1450 done
1451 done
1452 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1453 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1454
1455 # When interrupted or exit'd, cleanup temporary files, and complete
1456 # config.log. We remove comments because anyway the quotes in there
1457 # would cause problems or look ugly.
1458 # WARNING: Be sure not to use single quotes in there, as some shells,
1459 # such as our DU 5.0 friend, will then `close' the trap.
1460 trap 'exit_status=$?
1461 # Save into config.log some information that might help in debugging.
1462 {
1463 echo
1464
1465 cat <<\_ASBOX
1466 ## ---------------- ##
1467 ## Cache variables. ##
1468 ## ---------------- ##
1469 _ASBOX
1470 echo
1471 # The following way of writing the cache mishandles newlines in values,
1472 {
1473 (set) 2>&1 |
1474 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1475 *ac_space=\ *)
1476 sed -n \
1477 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1479 ;;
1480 *)
1481 sed -n \
1482 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1483 ;;
1484 esac;
1485 }
1486 echo
1487
1488 cat <<\_ASBOX
1489 ## ----------------- ##
1490 ## Output variables. ##
1491 ## ----------------- ##
1492 _ASBOX
1493 echo
1494 for ac_var in $ac_subst_vars
1495 do
1496 eval ac_val=$`echo $ac_var`
1497 echo "$ac_var='"'"'$ac_val'"'"'"
1498 done | sort
1499 echo
1500
1501 if test -n "$ac_subst_files"; then
1502 cat <<\_ASBOX
1503 ## ------------- ##
1504 ## Output files. ##
1505 ## ------------- ##
1506 _ASBOX
1507 echo
1508 for ac_var in $ac_subst_files
1509 do
1510 eval ac_val=$`echo $ac_var`
1511 echo "$ac_var='"'"'$ac_val'"'"'"
1512 done | sort
1513 echo
1514 fi
1515
1516 if test -s confdefs.h; then
1517 cat <<\_ASBOX
1518 ## ----------- ##
1519 ## confdefs.h. ##
1520 ## ----------- ##
1521 _ASBOX
1522 echo
1523 sed "/^$/d" confdefs.h | sort
1524 echo
1525 fi
1526 test "$ac_signal" != 0 &&
1527 echo "$as_me: caught signal $ac_signal"
1528 echo "$as_me: exit $exit_status"
1529 } >&5
1530 rm -f core *.core &&
1531 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1532 exit $exit_status
1533 ' 0
1534 for ac_signal in 1 2 13 15; do
1535 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1536 done
1537 ac_signal=0
1538
1539 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1540 rm -rf conftest* confdefs.h
1541 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1542 echo >confdefs.h
1543
1544 # Predefined preprocessor variables.
1545
1546 cat >>confdefs.h <<_ACEOF
1547 #define PACKAGE_NAME "$PACKAGE_NAME"
1548 _ACEOF
1549
1550
1551 cat >>confdefs.h <<_ACEOF
1552 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1553 _ACEOF
1554
1555
1556 cat >>confdefs.h <<_ACEOF
1557 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1558 _ACEOF
1559
1560
1561 cat >>confdefs.h <<_ACEOF
1562 #define PACKAGE_STRING "$PACKAGE_STRING"
1563 _ACEOF
1564
1565
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1568 _ACEOF
1569
1570
1571 # Let the site file select an alternate cache file if it wants to.
1572 # Prefer explicitly selected file to automatically selected ones.
1573 if test -z "$CONFIG_SITE"; then
1574 if test "x$prefix" != xNONE; then
1575 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1576 else
1577 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1578 fi
1579 fi
1580 for ac_site_file in $CONFIG_SITE; do
1581 if test -r "$ac_site_file"; then
1582 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1583 echo "$as_me: loading site script $ac_site_file" >&6;}
1584 sed 's/^/| /' "$ac_site_file" >&5
1585 . "$ac_site_file"
1586 fi
1587 done
1588
1589 if test -r "$cache_file"; then
1590 # Some versions of bash will fail to source /dev/null (special
1591 # files actually), so we avoid doing that.
1592 if test -f "$cache_file"; then
1593 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1594 echo "$as_me: loading cache $cache_file" >&6;}
1595 case $cache_file in
1596 [\\/]* | ?:[\\/]* ) . $cache_file;;
1597 *) . ./$cache_file;;
1598 esac
1599 fi
1600 else
1601 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1602 echo "$as_me: creating cache $cache_file" >&6;}
1603 >$cache_file
1604 fi
1605
1606 # Check that the precious variables saved in the cache have kept the same
1607 # value.
1608 ac_cache_corrupted=false
1609 for ac_var in `(set) 2>&1 |
1610 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1611 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1612 eval ac_new_set=\$ac_env_${ac_var}_set
1613 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1614 eval ac_new_val="\$ac_env_${ac_var}_value"
1615 case $ac_old_set,$ac_new_set in
1616 set,)
1617 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1618 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1619 ac_cache_corrupted=: ;;
1620 ,set)
1621 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1622 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1623 ac_cache_corrupted=: ;;
1624 ,);;
1625 *)
1626 if test "x$ac_old_val" != "x$ac_new_val"; then
1627 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1628 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1629 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1630 echo "$as_me: former value: $ac_old_val" >&2;}
1631 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1632 echo "$as_me: current value: $ac_new_val" >&2;}
1633 ac_cache_corrupted=:
1634 fi;;
1635 esac
1636 # Pass precious variables to config.status.
1637 if test "$ac_new_set" = set; then
1638 case $ac_new_val in
1639 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1640 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1641 *) ac_arg=$ac_var=$ac_new_val ;;
1642 esac
1643 case " $ac_configure_args " in
1644 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1645 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1646 esac
1647 fi
1648 done
1649 if $ac_cache_corrupted; then
1650 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1651 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1652 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1653 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1654 { (exit 1); exit 1; }; }
1655 fi
1656
1657 ac_ext=c
1658 ac_cpp='$CPP $CPPFLAGS'
1659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692 ac_aux_dir=
1693 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1694 if test -f $ac_dir/install-sh; then
1695 ac_aux_dir=$ac_dir
1696 ac_install_sh="$ac_aux_dir/install-sh -c"
1697 break
1698 elif test -f $ac_dir/install.sh; then
1699 ac_aux_dir=$ac_dir
1700 ac_install_sh="$ac_aux_dir/install.sh -c"
1701 break
1702 elif test -f $ac_dir/shtool; then
1703 ac_aux_dir=$ac_dir
1704 ac_install_sh="$ac_aux_dir/shtool install -c"
1705 break
1706 fi
1707 done
1708 if test -z "$ac_aux_dir"; then
1709 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1710 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1711 { (exit 1); exit 1; }; }
1712 fi
1713 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1714 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1715 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1716
1717 # Make sure we can run config.sub.
1718 $ac_config_sub sun4 >/dev/null 2>&1 ||
1719 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1720 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1721 { (exit 1); exit 1; }; }
1722
1723 echo "$as_me:$LINENO: checking build system type" >&5
1724 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1725 if test "${ac_cv_build+set}" = set; then
1726 echo $ECHO_N "(cached) $ECHO_C" >&6
1727 else
1728 ac_cv_build_alias=$build_alias
1729 test -z "$ac_cv_build_alias" &&
1730 ac_cv_build_alias=`$ac_config_guess`
1731 test -z "$ac_cv_build_alias" &&
1732 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1733 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1734 { (exit 1); exit 1; }; }
1735 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1736 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1737 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1738 { (exit 1); exit 1; }; }
1739
1740 fi
1741 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1742 echo "${ECHO_T}$ac_cv_build" >&6
1743 build=$ac_cv_build
1744 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1745 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1746 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1747
1748
1749 echo "$as_me:$LINENO: checking host system type" >&5
1750 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1751 if test "${ac_cv_host+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754 ac_cv_host_alias=$host_alias
1755 test -z "$ac_cv_host_alias" &&
1756 ac_cv_host_alias=$ac_cv_build_alias
1757 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1758 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1759 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1760 { (exit 1); exit 1; }; }
1761
1762 fi
1763 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1764 echo "${ECHO_T}$ac_cv_host" >&6
1765 host=$ac_cv_host
1766 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1767 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1768 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1769
1770
1771 echo "$as_me:$LINENO: checking target system type" >&5
1772 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1773 if test "${ac_cv_target+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 else
1776 ac_cv_target_alias=$target_alias
1777 test "x$ac_cv_target_alias" = "x" &&
1778 ac_cv_target_alias=$ac_cv_host_alias
1779 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1780 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1781 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1782 { (exit 1); exit 1; }; }
1783
1784 fi
1785 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1786 echo "${ECHO_T}$ac_cv_target" >&6
1787 target=$ac_cv_target
1788 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1789 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1790 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1791
1792
1793 # The aliases save the names the user supplied, while $host etc.
1794 # will get canonicalized.
1795 test -n "$target_alias" &&
1796 test "$program_prefix$program_suffix$program_transform_name" = \
1797 NONENONEs,x,x, &&
1798 program_prefix=${target_alias}-
1799
1800
1801
1802 wx_major_version_number=2
1803 wx_minor_version_number=7
1804 wx_release_number=1
1805 wx_subrelease_number=3
1806
1807 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1808 WX_VERSION=$WX_RELEASE.$wx_release_number
1809 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1810
1811 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1812
1813
1814
1815
1816 USE_UNIX=1
1817 USE_OS2=0
1818 USE_WIN32=0
1819 USE_DOS=0
1820 USE_BEOS=0
1821 USE_MAC=0
1822
1823 USE_AIX=
1824 USE_BSD= USE_DARWIN= USE_FREEBSD=
1825 USE_GNU= USE_HPUX=
1826 USE_LINUX=
1827 USE_NETBSD=
1828 USE_OPENBSD=
1829 USE_OSF= USE_SGI=
1830 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1831 USE_ULTRIX=
1832 USE_UNIXWARE=
1833
1834 USE_ALPHA=
1835
1836 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1837
1838 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1839
1840 DEFAULT_wxUSE_COCOA=0
1841 DEFAULT_wxUSE_GTK=0
1842 DEFAULT_wxUSE_MAC=0
1843 DEFAULT_wxUSE_MGL=0
1844 DEFAULT_wxUSE_MICROWIN=0
1845 DEFAULT_wxUSE_MOTIF=0
1846 DEFAULT_wxUSE_MSW=0
1847 DEFAULT_wxUSE_PM=0
1848 DEFAULT_wxUSE_X11=0
1849 DEFAULT_wxUSE_DFB=0
1850
1851 DEFAULT_DEFAULT_wxUSE_COCOA=0
1852 DEFAULT_DEFAULT_wxUSE_GTK=0
1853 DEFAULT_DEFAULT_wxUSE_MAC=0
1854 DEFAULT_DEFAULT_wxUSE_MGL=0
1855 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1856 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1857 DEFAULT_DEFAULT_wxUSE_MSW=0
1858 DEFAULT_DEFAULT_wxUSE_PM=0
1859 DEFAULT_DEFAULT_wxUSE_X11=0
1860 DEFAULT_DEFAULT_wxUSE_DFB=0
1861
1862 PROGRAM_EXT=
1863 SO_SUFFIX=so
1864 SAMPLES_RPATH_FLAG=
1865 SAMPLES_RPATH_POSTLINK=
1866
1867 DEFAULT_STD_FLAG=yes
1868
1869 case "${host}" in
1870 *-hp-hpux* )
1871 USE_HPUX=1
1872 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1873 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1874 SO_SUFFIX=sl
1875 cat >>confdefs.h <<\_ACEOF
1876 #define __HPUX__ 1
1877 _ACEOF
1878
1879
1880 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1881 ;;
1882 *-*-linux* )
1883 USE_LINUX=1
1884 cat >>confdefs.h <<\_ACEOF
1885 #define __LINUX__ 1
1886 _ACEOF
1887
1888 TMP=`uname -m`
1889 if test "x$TMP" = "xalpha"; then
1890 USE_ALPHA=1
1891 cat >>confdefs.h <<\_ACEOF
1892 #define __ALPHA__ 1
1893 _ACEOF
1894
1895 fi
1896 DEFAULT_DEFAULT_wxUSE_GTK=1
1897 ;;
1898 *-*-gnu* | *-*-k*bsd*-gnu )
1899 USE_GNU=1
1900 TMP=`uname -m`
1901 if test "x$TMP" = "xalpha"; then
1902 USE_ALPHA=1
1903 cat >>confdefs.h <<\_ACEOF
1904 #define __ALPHA__ 1
1905 _ACEOF
1906
1907 fi
1908 DEFAULT_DEFAULT_wxUSE_GTK=1
1909 ;;
1910 *-*-irix5* | *-*-irix6* )
1911 USE_SGI=1
1912 USE_SVR4=1
1913 cat >>confdefs.h <<\_ACEOF
1914 #define __SGI__ 1
1915 _ACEOF
1916
1917 cat >>confdefs.h <<\_ACEOF
1918 #define __SVR4__ 1
1919 _ACEOF
1920
1921 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1922 ;;
1923 *-*-solaris2* )
1924 USE_SUN=1
1925 USE_SOLARIS=1
1926 USE_SVR4=1
1927 cat >>confdefs.h <<\_ACEOF
1928 #define __SUN__ 1
1929 _ACEOF
1930
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __SOLARIS__ 1
1933 _ACEOF
1934
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __SVR4__ 1
1937 _ACEOF
1938
1939 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1940 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1941 ;;
1942 *-*-sunos4* )
1943 USE_SUN=1
1944 USE_SUNOS=1
1945 USE_BSD=1
1946 cat >>confdefs.h <<\_ACEOF
1947 #define __SUN__ 1
1948 _ACEOF
1949
1950 cat >>confdefs.h <<\_ACEOF
1951 #define __SUNOS__ 1
1952 _ACEOF
1953
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __BSD__ 1
1956 _ACEOF
1957
1958 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1959 ;;
1960 *-*-freebsd*)
1961 USE_BSD=1
1962 USE_FREEBSD=1
1963 cat >>confdefs.h <<\_ACEOF
1964 #define __FREEBSD__ 1
1965 _ACEOF
1966
1967 cat >>confdefs.h <<\_ACEOF
1968 #define __BSD__ 1
1969 _ACEOF
1970
1971 DEFAULT_DEFAULT_wxUSE_GTK=1
1972 ;;
1973 *-*-openbsd*|*-*-mirbsd*)
1974 USE_BSD=1
1975 USE_OPENBSD=1
1976 cat >>confdefs.h <<\_ACEOF
1977 #define __OPENBSD__ 1
1978 _ACEOF
1979
1980 cat >>confdefs.h <<\_ACEOF
1981 #define __BSD__ 1
1982 _ACEOF
1983
1984 DEFAULT_DEFAULT_wxUSE_GTK=1
1985 ;;
1986 *-*-netbsd*)
1987 USE_BSD=1
1988 USE_NETBSD=1
1989 cat >>confdefs.h <<\_ACEOF
1990 #define __NETBSD__ 1
1991 _ACEOF
1992
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __BSD__ 1
1995 _ACEOF
1996
1997 DEFAULT_DEFAULT_wxUSE_GTK=1
1998 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1999
2000 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2001 ;;
2002 *-*-osf* )
2003 USE_ALPHA=1
2004 USE_OSF=1
2005 cat >>confdefs.h <<\_ACEOF
2006 #define __ALPHA__ 1
2007 _ACEOF
2008
2009 cat >>confdefs.h <<\_ACEOF
2010 #define __OSF__ 1
2011 _ACEOF
2012
2013 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2014 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2015 ;;
2016 *-*-dgux5* )
2017 USE_ALPHA=1
2018 USE_SVR4=1
2019 cat >>confdefs.h <<\_ACEOF
2020 #define __ALPHA__ 1
2021 _ACEOF
2022
2023 cat >>confdefs.h <<\_ACEOF
2024 #define __SVR4__ 1
2025 _ACEOF
2026
2027 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2028 ;;
2029 *-*-sysv5* )
2030 USE_SYSV=1
2031 USE_SVR4=1
2032 cat >>confdefs.h <<\_ACEOF
2033 #define __SYSV__ 1
2034 _ACEOF
2035
2036 cat >>confdefs.h <<\_ACEOF
2037 #define __SVR4__ 1
2038 _ACEOF
2039
2040 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2041 ;;
2042 *-*-aix* )
2043 USE_AIX=1
2044 USE_SYSV=1
2045 USE_SVR4=1
2046 SO_SUFFIX=a
2047 cat >>confdefs.h <<\_ACEOF
2048 #define __AIX__ 1
2049 _ACEOF
2050
2051 cat >>confdefs.h <<\_ACEOF
2052 #define __SYSV__ 1
2053 _ACEOF
2054
2055 cat >>confdefs.h <<\_ACEOF
2056 #define __SVR4__ 1
2057 _ACEOF
2058
2059 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2060 ;;
2061
2062 *-*-*UnixWare*)
2063 USE_SYSV=1
2064 USE_SVR4=1
2065 USE_UNIXWARE=1
2066 cat >>confdefs.h <<\_ACEOF
2067 #define __UNIXWARE__ 1
2068 _ACEOF
2069
2070 ;;
2071
2072 *-*-cygwin* | *-*-mingw32* )
2073 SO_SUFFIX=dll
2074 PROGRAM_EXT=".exe"
2075 DEFAULT_DEFAULT_wxUSE_MSW=1
2076 ;;
2077
2078 *-pc-msdosdjgpp )
2079 USE_UNIX=0
2080 USE_DOS=1
2081 cat >>confdefs.h <<\_ACEOF
2082 #define __DOS__ 1
2083 _ACEOF
2084
2085 PROGRAM_EXT=".exe"
2086 DEFAULT_DEFAULT_wxUSE_MGL=1
2087 ;;
2088
2089 *-pc-os2_emx | *-pc-os2-emx )
2090 cat >>confdefs.h <<\_ACEOF
2091 #define __EMX__ 1
2092 _ACEOF
2093
2094 USE_OS2=1
2095 cat >>confdefs.h <<\_ACEOF
2096 #define __OS2__ 1
2097 _ACEOF
2098
2099 PROGRAM_EXT=".exe"
2100 DEFAULT_DEFAULT_wxUSE_PM=1
2101 CXX=gcc
2102 LDFLAGS="$LDFLAGS -Zcrtdll"
2103 ac_executable_extensions=".exe"
2104 export ac_executable_extensions
2105 ac_save_IFS="$IFS"
2106 IFS='\\'
2107 ac_TEMP_PATH=
2108 for ac_dir in $PATH; do
2109 IFS=$ac_save_IFS
2110 if test -z "$ac_TEMP_PATH"; then
2111 ac_TEMP_PATH="$ac_dir"
2112 else
2113 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2114 fi
2115 done
2116 export PATH="$ac_TEMP_PATH"
2117 unset ac_TEMP_PATH
2118 DEFAULT_STD_FLAG=no
2119 ;;
2120
2121 *-*-darwin* )
2122 USE_BSD=1
2123 USE_DARWIN=1
2124 SO_SUFFIX=dylib
2125 cat >>confdefs.h <<\_ACEOF
2126 #define __BSD__ 1
2127 _ACEOF
2128
2129 cat >>confdefs.h <<\_ACEOF
2130 #define __DARWIN__ 1
2131 _ACEOF
2132
2133 cat >>confdefs.h <<\_ACEOF
2134 #define TARGET_CARBON 1
2135 _ACEOF
2136
2137 DEFAULT_DEFAULT_wxUSE_MAC=1
2138 DEFAULT_STD_FLAG=no
2139 ;;
2140 powerpc-apple-macos* )
2141 USE_UNIX=0
2142 ac_cv_c_bigendian=yes
2143 SO_SUFFIX=shlib
2144 DEFAULT_DEFAULT_wxUSE_MAC=1
2145 DEFAULT_STD_FLAG=no
2146 ;;
2147
2148 *-*-beos* )
2149 USE_BEOS=1
2150 cat >>confdefs.h <<\_ACEOF
2151 #define __BEOS__ 1
2152 _ACEOF
2153
2154 ;;
2155
2156 *)
2157 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2158 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2159 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2160 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2161
2162 DEFAULT_DEFAULT_wxUSE_X11=1
2163 DEFAULT_wxUSE_SHARED=no
2164 esac
2165
2166
2167
2168
2169 wx_arg_cache_file="configarg.cache"
2170 echo "loading argument cache $wx_arg_cache_file"
2171 rm -f ${wx_arg_cache_file}.tmp
2172 touch ${wx_arg_cache_file}.tmp
2173 touch ${wx_arg_cache_file}
2174
2175
2176 DEBUG_CONFIGURE=0
2177 if test $DEBUG_CONFIGURE = 1; then
2178 DEFAULT_wxUSE_UNIVERSAL=no
2179 DEFAULT_wxUSE_STL=no
2180
2181 DEFAULT_wxUSE_NANOX=no
2182
2183 DEFAULT_wxUSE_THREADS=yes
2184
2185 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2186 DEFAULT_wxUSE_OPTIMISE=no
2187 DEFAULT_wxUSE_PROFILE=no
2188 DEFAULT_wxUSE_NO_DEPS=no
2189 DEFAULT_wxUSE_NO_RTTI=no
2190 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2191 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2192 DEFAULT_wxUSE_RPATH=yes
2193 DEFAULT_wxUSE_PERMISSIVE=no
2194 DEFAULT_wxUSE_DEBUG_FLAG=yes
2195 DEFAULT_wxUSE_DEBUG_INFO=yes
2196 DEFAULT_wxUSE_DEBUG_GDB=yes
2197 DEFAULT_wxUSE_MEM_TRACING=no
2198 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2199 DEFAULT_wxUSE_DMALLOC=no
2200 DEFAULT_wxUSE_APPLE_IEEE=no
2201
2202 DEFAULT_wxUSE_EXCEPTIONS=no
2203 DEFAULT_wxUSE_LOG=yes
2204 DEFAULT_wxUSE_LOGWINDOW=no
2205 DEFAULT_wxUSE_LOGGUI=no
2206 DEFAULT_wxUSE_LOGDIALOG=no
2207
2208 DEFAULT_wxUSE_GUI=yes
2209 DEFAULT_wxUSE_CONTROLS=no
2210
2211 DEFAULT_wxUSE_REGEX=no
2212 DEFAULT_wxUSE_XML=no
2213 DEFAULT_wxUSE_EXPAT=no
2214 DEFAULT_wxUSE_ZLIB=no
2215 DEFAULT_wxUSE_LIBPNG=no
2216 DEFAULT_wxUSE_LIBJPEG=no
2217 DEFAULT_wxUSE_LIBTIFF=no
2218 DEFAULT_wxUSE_LIBXPM=no
2219 DEFAULT_wxUSE_LIBMSPACK=no
2220 DEFAULT_wxUSE_LIBSDL=no
2221 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2222 DEFAULT_wxUSE_LIBGNOMEVFS=no
2223 DEFAULT_wxUSE_LIBHILDON=no
2224 DEFAULT_wxUSE_ODBC=no
2225 DEFAULT_wxUSE_OPENGL=no
2226
2227 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2228 DEFAULT_wxUSE_STACKWALKER=no
2229 DEFAULT_wxUSE_DEBUGREPORT=no
2230 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2231 DEFAULT_wxUSE_STD_IOSTREAM=no
2232 DEFAULT_wxUSE_STD_STRING=no
2233 DEFAULT_wxUSE_CMDLINE_PARSER=no
2234 DEFAULT_wxUSE_DATETIME=no
2235 DEFAULT_wxUSE_TIMER=no
2236 DEFAULT_wxUSE_STOPWATCH=no
2237 DEFAULT_wxUSE_FILE=no
2238 DEFAULT_wxUSE_FFILE=no
2239 DEFAULT_wxUSE_STDPATHS=no
2240 DEFAULT_wxUSE_TEXTBUFFER=no
2241 DEFAULT_wxUSE_TEXTFILE=no
2242 DEFAULT_wxUSE_SOUND=no
2243 DEFAULT_wxUSE_MEDIACTRL=no
2244 DEFAULT_wxUSE_GSTREAMER8=no
2245 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2246 DEFAULT_wxUSE_INTL=no
2247 DEFAULT_wxUSE_CONFIG=no
2248 DEFAULT_wxUSE_FONTMAP=no
2249 DEFAULT_wxUSE_STREAMS=no
2250 DEFAULT_wxUSE_SOCKETS=no
2251 DEFAULT_wxUSE_OLE=no
2252 DEFAULT_wxUSE_DATAOBJ=no
2253 DEFAULT_wxUSE_DIALUP_MANAGER=no
2254 DEFAULT_wxUSE_JOYSTICK=no
2255 DEFAULT_wxUSE_DYNLIB_CLASS=no
2256 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2257 DEFAULT_wxUSE_LONGLONG=no
2258 DEFAULT_wxUSE_GEOMETRY=no
2259
2260 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2261 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2262 DEFAULT_wxUSE_POSTSCRIPT=no
2263
2264 DEFAULT_wxUSE_CLIPBOARD=no
2265 DEFAULT_wxUSE_TOOLTIPS=no
2266 DEFAULT_wxUSE_DRAG_AND_DROP=no
2267 DEFAULT_wxUSE_DRAGIMAGE=no
2268 DEFAULT_wxUSE_SPLINES=no
2269 DEFAULT_wxUSE_MOUSEWHEEL=no
2270
2271 DEFAULT_wxUSE_MDI=no
2272 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2273 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2274 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2275
2276 DEFAULT_wxUSE_RESOURCES=no
2277 DEFAULT_wxUSE_CONSTRAINTS=no
2278 DEFAULT_wxUSE_IPC=no
2279 DEFAULT_wxUSE_HELP=no
2280 DEFAULT_wxUSE_MS_HTML_HELP=no
2281 DEFAULT_wxUSE_WXHTML_HELP=no
2282 DEFAULT_wxUSE_TREELAYOUT=no
2283 DEFAULT_wxUSE_METAFILE=no
2284 DEFAULT_wxUSE_MIMETYPE=no
2285 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2286 DEFAULT_wxUSE_PROTOCOL=no
2287 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2288 DEFAULT_wxUSE_PROTOCOL_FTP=no
2289 DEFAULT_wxUSE_PROTOCOL_FILE=no
2290 DEFAULT_wxUSE_URL=no
2291 DEFAULT_wxUSE_VARIANT=no
2292
2293 DEFAULT_wxUSE_ABOUTDLG=no
2294 DEFAULT_wxUSE_COMMONDLGS=no
2295 DEFAULT_wxUSE_CHOICEDLG=no
2296 DEFAULT_wxUSE_COLOURDLG=no
2297 DEFAULT_wxUSE_DIRDLG=no
2298 DEFAULT_wxUSE_FILEDLG=no
2299 DEFAULT_wxUSE_FINDREPLDLG=no
2300 DEFAULT_wxUSE_FONTDLG=no
2301 DEFAULT_wxUSE_MSGDLG=no
2302 DEFAULT_wxUSE_NUMBERDLG=no
2303 DEFAULT_wxUSE_TEXTDLG=no
2304 DEFAULT_wxUSE_SPLASH=no
2305 DEFAULT_wxUSE_STARTUP_TIPS=no
2306 DEFAULT_wxUSE_PROGRESSDLG=no
2307 DEFAULT_wxUSE_WIZARDDLG=no
2308
2309 DEFAULT_wxUSE_MENUS=no
2310 DEFAULT_wxUSE_MINIFRAME=no
2311 DEFAULT_wxUSE_HTML=no
2312 DEFAULT_wxUSE_RICHTEXT=no
2313 DEFAULT_wxUSE_XRC=no
2314 DEFAULT_wxUSE_AUI=no
2315 DEFAULT_wxUSE_WEBKIT=no
2316 DEFAULT_wxUSE_FILESYSTEM=no
2317 DEFAULT_wxUSE_FS_INET=no
2318 DEFAULT_wxUSE_FS_ZIP=no
2319 DEFAULT_wxUSE_FS_ARCHIVE=no
2320 DEFAULT_wxUSE_BUSYINFO=no
2321 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2322 DEFAULT_wxUSE_ZIPSTREAM=no
2323 DEFAULT_wxUSE_TARSTREAM=no
2324 DEFAULT_wxUSE_BACKINGFILE=no
2325 DEFAULT_wxUSE_VALIDATORS=no
2326
2327 DEFAULT_wxUSE_ACCEL=no
2328 DEFAULT_wxUSE_ANIMATIONCTRL=no
2329 DEFAULT_wxUSE_BUTTON=no
2330 DEFAULT_wxUSE_BMPBUTTON=no
2331 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2332 DEFAULT_wxUSE_CALCTRL=no
2333 DEFAULT_wxUSE_CARET=no
2334 DEFAULT_wxUSE_CHECKBOX=no
2335 DEFAULT_wxUSE_CHECKLST=no
2336 DEFAULT_wxUSE_CHOICE=no
2337 DEFAULT_wxUSE_CHOICEBOOK=no
2338 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2339 DEFAULT_wxUSE_COMBOBOX=no
2340 DEFAULT_wxUSE_COMBOCTRL=no
2341 DEFAULT_wxUSE_DATEPICKCTRL=no
2342 DEFAULT_wxUSE_DISPLAY=no
2343 DEFAULT_wxUSE_DETECT_SM=no
2344 DEFAULT_wxUSE_DIRPICKERCTRL=no
2345 DEFAULT_wxUSE_FILEPICKERCTRL=no
2346 DEFAULT_wxUSE_FONTPICKERCTRL=no
2347 DEFAULT_wxUSE_GAUGE=no
2348 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2349 DEFAULT_wxUSE_GRID=no
2350 DEFAULT_wxUSE_HYPERLINKCTRL=no
2351 DEFAULT_wxUSE_DATAVIEWCTRL=no
2352 DEFAULT_wxUSE_IMAGLIST=no
2353 DEFAULT_wxUSE_LISTBOOK=no
2354 DEFAULT_wxUSE_LISTBOX=no
2355 DEFAULT_wxUSE_LISTCTRL=no
2356 DEFAULT_wxUSE_NOTEBOOK=no
2357 DEFAULT_wxUSE_ODCOMBOBOX=no
2358 DEFAULT_wxUSE_RADIOBOX=no
2359 DEFAULT_wxUSE_RADIOBTN=no
2360 DEFAULT_wxUSE_SASH=no
2361 DEFAULT_wxUSE_SCROLLBAR=no
2362 DEFAULT_wxUSE_SLIDER=no
2363 DEFAULT_wxUSE_SPINBTN=no
2364 DEFAULT_wxUSE_SPINCTRL=no
2365 DEFAULT_wxUSE_SPLITTER=no
2366 DEFAULT_wxUSE_STATBMP=no
2367 DEFAULT_wxUSE_STATBOX=no
2368 DEFAULT_wxUSE_STATLINE=no
2369 DEFAULT_wxUSE_STATTEXT=no
2370 DEFAULT_wxUSE_STATUSBAR=yes
2371 DEFAULT_wxUSE_TAB_DIALOG=no
2372 DEFAULT_wxUSE_TEXTCTRL=no
2373 DEFAULT_wxUSE_TOGGLEBTN=no
2374 DEFAULT_wxUSE_TOOLBAR=no
2375 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2376 DEFAULT_wxUSE_TREEBOOK=no
2377 DEFAULT_wxUSE_TOOLBOOK=no
2378 DEFAULT_wxUSE_TREECTRL=no
2379 DEFAULT_wxUSE_POPUPWIN=no
2380 DEFAULT_wxUSE_TIPWINDOW=no
2381
2382 DEFAULT_wxUSE_UNICODE=no
2383 DEFAULT_wxUSE_UNICODE_MSLU=no
2384 DEFAULT_wxUSE_WCSRTOMBS=no
2385
2386 DEFAULT_wxUSE_PALETTE=no
2387 DEFAULT_wxUSE_IMAGE=no
2388 DEFAULT_wxUSE_GIF=no
2389 DEFAULT_wxUSE_PCX=no
2390 DEFAULT_wxUSE_PNM=no
2391 DEFAULT_wxUSE_IFF=no
2392 DEFAULT_wxUSE_XPM=no
2393 DEFAULT_wxUSE_ICO_CUR=no
2394 DEFAULT_wxUSE_ACCESSIBILITY=no
2395
2396 DEFAULT_wxUSE_MONOLITHIC=no
2397 DEFAULT_wxUSE_PLUGINS=no
2398 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2399 else
2400 DEFAULT_wxUSE_UNIVERSAL=no
2401 DEFAULT_wxUSE_STL=no
2402
2403 DEFAULT_wxUSE_NANOX=no
2404
2405 DEFAULT_wxUSE_THREADS=yes
2406
2407 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2408 DEFAULT_wxUSE_OPTIMISE=yes
2409 DEFAULT_wxUSE_PROFILE=no
2410 DEFAULT_wxUSE_NO_DEPS=no
2411 DEFAULT_wxUSE_NO_RTTI=no
2412 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2413 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2414 DEFAULT_wxUSE_RPATH=yes
2415 DEFAULT_wxUSE_PERMISSIVE=no
2416 DEFAULT_wxUSE_DEBUG_FLAG=no
2417 DEFAULT_wxUSE_DEBUG_INFO=no
2418 DEFAULT_wxUSE_DEBUG_GDB=no
2419 DEFAULT_wxUSE_MEM_TRACING=no
2420 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2421 DEFAULT_wxUSE_DMALLOC=no
2422 DEFAULT_wxUSE_APPLE_IEEE=yes
2423
2424 DEFAULT_wxUSE_EXCEPTIONS=yes
2425 DEFAULT_wxUSE_LOG=yes
2426 DEFAULT_wxUSE_LOGWINDOW=yes
2427 DEFAULT_wxUSE_LOGGUI=yes
2428 DEFAULT_wxUSE_LOGDIALOG=yes
2429
2430 DEFAULT_wxUSE_GUI=yes
2431
2432 DEFAULT_wxUSE_REGEX=yes
2433 DEFAULT_wxUSE_XML=yes
2434 DEFAULT_wxUSE_EXPAT=yes
2435 DEFAULT_wxUSE_ZLIB=yes
2436 DEFAULT_wxUSE_LIBPNG=yes
2437 DEFAULT_wxUSE_LIBJPEG=yes
2438 DEFAULT_wxUSE_LIBTIFF=yes
2439 DEFAULT_wxUSE_LIBXPM=yes
2440 DEFAULT_wxUSE_LIBMSPACK=yes
2441 DEFAULT_wxUSE_LIBSDL=no
2442 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2443 DEFAULT_wxUSE_LIBGNOMEVFS=no
2444 DEFAULT_wxUSE_LIBHILDON=no
2445 DEFAULT_wxUSE_ODBC=no
2446 DEFAULT_wxUSE_OPENGL=no
2447
2448 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2449 DEFAULT_wxUSE_STACKWALKER=yes
2450 DEFAULT_wxUSE_DEBUGREPORT=yes
2451 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2452 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2453 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2454 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2455 DEFAULT_wxUSE_DATETIME=yes
2456 DEFAULT_wxUSE_TIMER=yes
2457 DEFAULT_wxUSE_STOPWATCH=yes
2458 DEFAULT_wxUSE_FILE=yes
2459 DEFAULT_wxUSE_FFILE=yes
2460 DEFAULT_wxUSE_STDPATHS=yes
2461 DEFAULT_wxUSE_TEXTBUFFER=yes
2462 DEFAULT_wxUSE_TEXTFILE=yes
2463 DEFAULT_wxUSE_SOUND=yes
2464 DEFAULT_wxUSE_MEDIACTRL=no
2465 DEFAULT_wxUSE_GSTREAMER8=no
2466 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2467 DEFAULT_wxUSE_INTL=yes
2468 DEFAULT_wxUSE_CONFIG=yes
2469 DEFAULT_wxUSE_FONTMAP=yes
2470 DEFAULT_wxUSE_STREAMS=yes
2471 DEFAULT_wxUSE_SOCKETS=yes
2472 DEFAULT_wxUSE_OLE=yes
2473 DEFAULT_wxUSE_DATAOBJ=yes
2474 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2475 DEFAULT_wxUSE_JOYSTICK=yes
2476 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2477 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2478 DEFAULT_wxUSE_LONGLONG=yes
2479 DEFAULT_wxUSE_GEOMETRY=yes
2480
2481 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2482 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2483 DEFAULT_wxUSE_POSTSCRIPT=yes
2484
2485 DEFAULT_wxUSE_CLIPBOARD=yes
2486 DEFAULT_wxUSE_TOOLTIPS=yes
2487 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2488 DEFAULT_wxUSE_DRAGIMAGE=yes
2489 DEFAULT_wxUSE_SPLINES=yes
2490 DEFAULT_wxUSE_MOUSEWHEEL=yes
2491
2492 DEFAULT_wxUSE_MDI=yes
2493 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2494 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2495 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2496
2497 DEFAULT_wxUSE_RESOURCES=no
2498 DEFAULT_wxUSE_CONSTRAINTS=yes
2499 DEFAULT_wxUSE_IPC=yes
2500 DEFAULT_wxUSE_HELP=yes
2501 DEFAULT_wxUSE_MS_HTML_HELP=yes
2502 DEFAULT_wxUSE_WXHTML_HELP=yes
2503 DEFAULT_wxUSE_TREELAYOUT=yes
2504 DEFAULT_wxUSE_METAFILE=yes
2505 DEFAULT_wxUSE_MIMETYPE=yes
2506 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2507 DEFAULT_wxUSE_PROTOCOL=yes
2508 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2509 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2510 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2511 DEFAULT_wxUSE_URL=yes
2512 DEFAULT_wxUSE_VARIANT=yes
2513
2514 DEFAULT_wxUSE_ABOUTDLG=yes
2515 DEFAULT_wxUSE_COMMONDLGS=yes
2516 DEFAULT_wxUSE_CHOICEDLG=yes
2517 DEFAULT_wxUSE_COLOURDLG=yes
2518 DEFAULT_wxUSE_DIRDLG=yes
2519 DEFAULT_wxUSE_FILEDLG=yes
2520 DEFAULT_wxUSE_FINDREPLDLG=yes
2521 DEFAULT_wxUSE_FONTDLG=yes
2522 DEFAULT_wxUSE_MSGDLG=yes
2523 DEFAULT_wxUSE_NUMBERDLG=yes
2524 DEFAULT_wxUSE_TEXTDLG=yes
2525 DEFAULT_wxUSE_SPLASH=yes
2526 DEFAULT_wxUSE_STARTUP_TIPS=yes
2527 DEFAULT_wxUSE_PROGRESSDLG=yes
2528 DEFAULT_wxUSE_WIZARDDLG=yes
2529
2530 DEFAULT_wxUSE_MENUS=yes
2531 DEFAULT_wxUSE_MINIFRAME=yes
2532 DEFAULT_wxUSE_HTML=yes
2533 DEFAULT_wxUSE_RICHTEXT=yes
2534 DEFAULT_wxUSE_XRC=yes
2535 DEFAULT_wxUSE_AUI=yes
2536 DEFAULT_wxUSE_WEBKIT=yes
2537 DEFAULT_wxUSE_FILESYSTEM=yes
2538 DEFAULT_wxUSE_FS_INET=yes
2539 DEFAULT_wxUSE_FS_ZIP=yes
2540 DEFAULT_wxUSE_FS_ARCHIVE=yes
2541 DEFAULT_wxUSE_BUSYINFO=yes
2542 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2543 DEFAULT_wxUSE_ZIPSTREAM=yes
2544 DEFAULT_wxUSE_TARSTREAM=yes
2545 DEFAULT_wxUSE_BACKINGFILE=yes
2546 DEFAULT_wxUSE_VALIDATORS=yes
2547
2548 DEFAULT_wxUSE_ACCEL=yes
2549 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2550 DEFAULT_wxUSE_BUTTON=yes
2551 DEFAULT_wxUSE_BMPBUTTON=yes
2552 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2553 DEFAULT_wxUSE_CALCTRL=yes
2554 DEFAULT_wxUSE_CARET=yes
2555 DEFAULT_wxUSE_CHECKBOX=yes
2556 DEFAULT_wxUSE_CHECKLST=yes
2557 DEFAULT_wxUSE_CHOICE=yes
2558 DEFAULT_wxUSE_CHOICEBOOK=yes
2559 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2560 DEFAULT_wxUSE_COMBOBOX=yes
2561 DEFAULT_wxUSE_COMBOCTRL=yes
2562 DEFAULT_wxUSE_DATEPICKCTRL=yes
2563 DEFAULT_wxUSE_DISPLAY=yes
2564 DEFAULT_wxUSE_DETECT_SM=yes
2565 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2566 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2567 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2568 DEFAULT_wxUSE_GAUGE=yes
2569 DEFAULT_wxUSE_GRID=yes
2570 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2571 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2572 DEFAULT_wxUSE_DATAVIEWCTRL=no
2573 DEFAULT_wxUSE_IMAGLIST=yes
2574 DEFAULT_wxUSE_LISTBOOK=yes
2575 DEFAULT_wxUSE_LISTBOX=yes
2576 DEFAULT_wxUSE_LISTCTRL=yes
2577 DEFAULT_wxUSE_NOTEBOOK=yes
2578 DEFAULT_wxUSE_ODCOMBOBOX=yes
2579 DEFAULT_wxUSE_RADIOBOX=yes
2580 DEFAULT_wxUSE_RADIOBTN=yes
2581 DEFAULT_wxUSE_SASH=yes
2582 DEFAULT_wxUSE_SCROLLBAR=yes
2583 DEFAULT_wxUSE_SLIDER=yes
2584 DEFAULT_wxUSE_SPINBTN=yes
2585 DEFAULT_wxUSE_SPINCTRL=yes
2586 DEFAULT_wxUSE_SPLITTER=yes
2587 DEFAULT_wxUSE_STATBMP=yes
2588 DEFAULT_wxUSE_STATBOX=yes
2589 DEFAULT_wxUSE_STATLINE=yes
2590 DEFAULT_wxUSE_STATTEXT=yes
2591 DEFAULT_wxUSE_STATUSBAR=yes
2592 DEFAULT_wxUSE_TAB_DIALOG=no
2593 DEFAULT_wxUSE_TEXTCTRL=yes
2594 DEFAULT_wxUSE_TOGGLEBTN=yes
2595 DEFAULT_wxUSE_TOOLBAR=yes
2596 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2597 DEFAULT_wxUSE_TREEBOOK=yes
2598 DEFAULT_wxUSE_TOOLBOOK=yes
2599 DEFAULT_wxUSE_TREECTRL=yes
2600 DEFAULT_wxUSE_POPUPWIN=yes
2601 DEFAULT_wxUSE_TIPWINDOW=yes
2602
2603 DEFAULT_wxUSE_UNICODE=no
2604 DEFAULT_wxUSE_UNICODE_MSLU=yes
2605 DEFAULT_wxUSE_WCSRTOMBS=no
2606
2607 DEFAULT_wxUSE_PALETTE=yes
2608 DEFAULT_wxUSE_IMAGE=yes
2609 DEFAULT_wxUSE_GIF=yes
2610 DEFAULT_wxUSE_PCX=yes
2611 DEFAULT_wxUSE_IFF=no
2612 DEFAULT_wxUSE_PNM=yes
2613 DEFAULT_wxUSE_XPM=yes
2614 DEFAULT_wxUSE_ICO_CUR=yes
2615 DEFAULT_wxUSE_ACCESSIBILITY=no
2616
2617 DEFAULT_wxUSE_MONOLITHIC=no
2618 DEFAULT_wxUSE_PLUGINS=no
2619 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2620
2621 DEFAULT_wxUSE_GTK2=yes
2622 fi
2623
2624
2625
2626
2627 for toolkit in `echo $ALL_TOOLKITS`; do
2628 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2629 if test "x$LINE" != "x" ; then
2630 has_toolkit_in_cache=1
2631 eval "DEFAULT_$LINE"
2632 eval "CACHE_$toolkit=1"
2633
2634 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2635 if test "x$LINE" != "x" ; then
2636 eval "DEFAULT_$LINE"
2637 fi
2638 fi
2639 done
2640
2641
2642
2643 enablestring=
2644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2645 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2646 no_cache=0
2647 # Check whether --enable-gui or --disable-gui was given.
2648 if test "${enable_gui+set}" = set; then
2649 enableval="$enable_gui"
2650
2651 if test "$enableval" = yes; then
2652 ac_cv_use_gui='wxUSE_GUI=yes'
2653 else
2654 ac_cv_use_gui='wxUSE_GUI=no'
2655 fi
2656
2657 else
2658
2659 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2660 if test "x$LINE" != x ; then
2661 eval "DEFAULT_$LINE"
2662 else
2663 no_cache=1
2664 fi
2665
2666 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2667
2668 fi;
2669
2670 eval "$ac_cv_use_gui"
2671 if test "$no_cache" != 1; then
2672 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2673 fi
2674
2675 if test "$wxUSE_GUI" = yes; then
2676 echo "$as_me:$LINENO: result: yes" >&5
2677 echo "${ECHO_T}yes" >&6
2678 else
2679 echo "$as_me:$LINENO: result: no" >&5
2680 echo "${ECHO_T}no" >&6
2681 fi
2682
2683
2684 enablestring=
2685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2686 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2687 no_cache=0
2688 # Check whether --enable-monolithic or --disable-monolithic was given.
2689 if test "${enable_monolithic+set}" = set; then
2690 enableval="$enable_monolithic"
2691
2692 if test "$enableval" = yes; then
2693 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2694 else
2695 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2696 fi
2697
2698 else
2699
2700 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2701 if test "x$LINE" != x ; then
2702 eval "DEFAULT_$LINE"
2703 else
2704 no_cache=1
2705 fi
2706
2707 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2708
2709 fi;
2710
2711 eval "$ac_cv_use_monolithic"
2712 if test "$no_cache" != 1; then
2713 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2714 fi
2715
2716 if test "$wxUSE_MONOLITHIC" = yes; then
2717 echo "$as_me:$LINENO: result: yes" >&5
2718 echo "${ECHO_T}yes" >&6
2719 else
2720 echo "$as_me:$LINENO: result: no" >&5
2721 echo "${ECHO_T}no" >&6
2722 fi
2723
2724
2725 enablestring=
2726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2727 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2728 no_cache=0
2729 # Check whether --enable-plugins or --disable-plugins was given.
2730 if test "${enable_plugins+set}" = set; then
2731 enableval="$enable_plugins"
2732
2733 if test "$enableval" = yes; then
2734 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2735 else
2736 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2737 fi
2738
2739 else
2740
2741 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2742 if test "x$LINE" != x ; then
2743 eval "DEFAULT_$LINE"
2744 else
2745 no_cache=1
2746 fi
2747
2748 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2749
2750 fi;
2751
2752 eval "$ac_cv_use_plugins"
2753 if test "$no_cache" != 1; then
2754 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2755 fi
2756
2757 if test "$wxUSE_PLUGINS" = yes; then
2758 echo "$as_me:$LINENO: result: yes" >&5
2759 echo "${ECHO_T}yes" >&6
2760 else
2761 echo "$as_me:$LINENO: result: no" >&5
2762 echo "${ECHO_T}no" >&6
2763 fi
2764
2765
2766 withstring=without
2767 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2768 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2769 no_cache=0
2770
2771 # Check whether --with-subdirs or --without-subdirs was given.
2772 if test "${with_subdirs+set}" = set; then
2773 withval="$with_subdirs"
2774
2775 if test "$withval" = yes; then
2776 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2777 else
2778 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2779 fi
2780
2781 else
2782
2783 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2784 if test "x$LINE" != x ; then
2785 eval "DEFAULT_$LINE"
2786 else
2787 no_cache=1
2788 fi
2789
2790 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2791
2792 fi;
2793
2794 eval "$ac_cv_use_subdirs"
2795 if test "$no_cache" != 1; then
2796 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2797 fi
2798
2799 if test "$wxWITH_SUBDIRS" = yes; then
2800 echo "$as_me:$LINENO: result: yes" >&5
2801 echo "${ECHO_T}yes" >&6
2802 else
2803 echo "$as_me:$LINENO: result: no" >&5
2804 echo "${ECHO_T}no" >&6
2805 fi
2806
2807
2808 if test "$wxUSE_GUI" = "yes"; then
2809
2810
2811 enablestring=
2812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2813 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2814 no_cache=0
2815 # Check whether --enable-universal or --disable-universal was given.
2816 if test "${enable_universal+set}" = set; then
2817 enableval="$enable_universal"
2818
2819 if test "$enableval" = yes; then
2820 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2821 else
2822 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2823 fi
2824
2825 else
2826
2827 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2828 if test "x$LINE" != x ; then
2829 eval "DEFAULT_$LINE"
2830 else
2831 no_cache=1
2832 fi
2833
2834 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2835
2836 fi;
2837
2838 eval "$ac_cv_use_universal"
2839 if test "$no_cache" != 1; then
2840 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2841 fi
2842
2843 if test "$wxUSE_UNIVERSAL" = yes; then
2844 echo "$as_me:$LINENO: result: yes" >&5
2845 echo "${ECHO_T}yes" >&6
2846 else
2847 echo "$as_me:$LINENO: result: no" >&5
2848 echo "${ECHO_T}no" >&6
2849 fi
2850
2851
2852 # Check whether --with-gtk or --without-gtk was given.
2853 if test "${with_gtk+set}" = set; then
2854 withval="$with_gtk"
2855 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2856 fi;
2857
2858 # Check whether --with-motif or --without-motif was given.
2859 if test "${with_motif+set}" = set; then
2860 withval="$with_motif"
2861 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2862 fi;
2863
2864 # Check whether --with-mac or --without-mac was given.
2865 if test "${with_mac+set}" = set; then
2866 withval="$with_mac"
2867 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2868 fi;
2869
2870 # Check whether --with-cocoa or --without-cocoa was given.
2871 if test "${with_cocoa+set}" = set; then
2872 withval="$with_cocoa"
2873 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2874 fi;
2875
2876 # Check whether --with-wine or --without-wine was given.
2877 if test "${with_wine+set}" = set; then
2878 withval="$with_wine"
2879 wxUSE_WINE="$withval" CACHE_WINE=1
2880 fi;
2881
2882 # Check whether --with-msw or --without-msw was given.
2883 if test "${with_msw+set}" = set; then
2884 withval="$with_msw"
2885 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2886 fi;
2887
2888 # Check whether --with-pm or --without-pm was given.
2889 if test "${with_pm+set}" = set; then
2890 withval="$with_pm"
2891 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2892 fi;
2893
2894 # Check whether --with-mgl or --without-mgl was given.
2895 if test "${with_mgl+set}" = set; then
2896 withval="$with_mgl"
2897 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2898 fi;
2899
2900 # Check whether --with-directfb or --without-directfb was given.
2901 if test "${with_directfb+set}" = set; then
2902 withval="$with_directfb"
2903 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2904 fi;
2905
2906 # Check whether --with-microwin or --without-microwin was given.
2907 if test "${with_microwin+set}" = set; then
2908 withval="$with_microwin"
2909 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2910 fi;
2911
2912 # Check whether --with-x11 or --without-x11 was given.
2913 if test "${with_x11+set}" = set; then
2914 withval="$with_x11"
2915 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2916 fi;
2917
2918 enablestring=
2919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2920 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2921 no_cache=0
2922 # Check whether --enable-nanox or --disable-nanox was given.
2923 if test "${enable_nanox+set}" = set; then
2924 enableval="$enable_nanox"
2925
2926 if test "$enableval" = yes; then
2927 ac_cv_use_nanox='wxUSE_NANOX=yes'
2928 else
2929 ac_cv_use_nanox='wxUSE_NANOX=no'
2930 fi
2931
2932 else
2933
2934 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2935 if test "x$LINE" != x ; then
2936 eval "DEFAULT_$LINE"
2937 else
2938 no_cache=1
2939 fi
2940
2941 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2942
2943 fi;
2944
2945 eval "$ac_cv_use_nanox"
2946 if test "$no_cache" != 1; then
2947 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2948 fi
2949
2950 if test "$wxUSE_NANOX" = yes; then
2951 echo "$as_me:$LINENO: result: yes" >&5
2952 echo "${ECHO_T}yes" >&6
2953 else
2954 echo "$as_me:$LINENO: result: no" >&5
2955 echo "${ECHO_T}no" >&6
2956 fi
2957
2958
2959 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2960 if test "${enable_gtk2+set}" = set; then
2961 enableval="$enable_gtk2"
2962 wxUSE_GTK2="$enableval"
2963 fi;
2964
2965 enablestring=
2966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2967 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2968 no_cache=0
2969 # Check whether --enable-gpe or --disable-gpe was given.
2970 if test "${enable_gpe+set}" = set; then
2971 enableval="$enable_gpe"
2972
2973 if test "$enableval" = yes; then
2974 ac_cv_use_gpe='wxUSE_GPE=yes'
2975 else
2976 ac_cv_use_gpe='wxUSE_GPE=no'
2977 fi
2978
2979 else
2980
2981 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2982 if test "x$LINE" != x ; then
2983 eval "DEFAULT_$LINE"
2984 else
2985 no_cache=1
2986 fi
2987
2988 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2989
2990 fi;
2991
2992 eval "$ac_cv_use_gpe"
2993 if test "$no_cache" != 1; then
2994 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2995 fi
2996
2997 if test "$wxUSE_GPE" = yes; then
2998 echo "$as_me:$LINENO: result: yes" >&5
2999 echo "${ECHO_T}yes" >&6
3000 else
3001 echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6
3003 fi
3004
3005
3006
3007 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3008 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3009 no_cache=0
3010
3011 # Check whether --with-libpng or --without-libpng was given.
3012 if test "${with_libpng+set}" = set; then
3013 withval="$with_libpng"
3014
3015 if test "$withval" = yes; then
3016 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3017 elif test "$withval" = no; then
3018 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3019 elif test "$withval" = sys; then
3020 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3021 elif test "$withval" = builtin; then
3022 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3023 else
3024 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3025 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3026 { (exit 1); exit 1; }; }
3027 fi
3028
3029 else
3030
3031 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3032 if test "x$LINE" != x ; then
3033 eval "DEFAULT_$LINE"
3034 else
3035 no_cache=1
3036 fi
3037
3038 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3039
3040 fi;
3041
3042 eval "$ac_cv_use_libpng"
3043 if test "$no_cache" != 1; then
3044 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3045 fi
3046
3047 if test "$wxUSE_LIBPNG" = yes; then
3048 echo "$as_me:$LINENO: result: yes" >&5
3049 echo "${ECHO_T}yes" >&6
3050 elif test "$wxUSE_LIBPNG" = no; then
3051 echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6
3053 elif test "$wxUSE_LIBPNG" = sys; then
3054 echo "$as_me:$LINENO: result: system version" >&5
3055 echo "${ECHO_T}system version" >&6
3056 elif test "$wxUSE_LIBPNG" = builtin; then
3057 echo "$as_me:$LINENO: result: builtin version" >&5
3058 echo "${ECHO_T}builtin version" >&6
3059 else
3060 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3061 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3062 { (exit 1); exit 1; }; }
3063 fi
3064
3065
3066 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3067 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3068 no_cache=0
3069
3070 # Check whether --with-libjpeg or --without-libjpeg was given.
3071 if test "${with_libjpeg+set}" = set; then
3072 withval="$with_libjpeg"
3073
3074 if test "$withval" = yes; then
3075 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3076 elif test "$withval" = no; then
3077 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3078 elif test "$withval" = sys; then
3079 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3080 elif test "$withval" = builtin; then
3081 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3082 else
3083 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3084 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3085 { (exit 1); exit 1; }; }
3086 fi
3087
3088 else
3089
3090 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3091 if test "x$LINE" != x ; then
3092 eval "DEFAULT_$LINE"
3093 else
3094 no_cache=1
3095 fi
3096
3097 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3098
3099 fi;
3100
3101 eval "$ac_cv_use_libjpeg"
3102 if test "$no_cache" != 1; then
3103 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3104 fi
3105
3106 if test "$wxUSE_LIBJPEG" = yes; then
3107 echo "$as_me:$LINENO: result: yes" >&5
3108 echo "${ECHO_T}yes" >&6
3109 elif test "$wxUSE_LIBJPEG" = no; then
3110 echo "$as_me:$LINENO: result: no" >&5
3111 echo "${ECHO_T}no" >&6
3112 elif test "$wxUSE_LIBJPEG" = sys; then
3113 echo "$as_me:$LINENO: result: system version" >&5
3114 echo "${ECHO_T}system version" >&6
3115 elif test "$wxUSE_LIBJPEG" = builtin; then
3116 echo "$as_me:$LINENO: result: builtin version" >&5
3117 echo "${ECHO_T}builtin version" >&6
3118 else
3119 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3120 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3121 { (exit 1); exit 1; }; }
3122 fi
3123
3124
3125 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3126 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3127 no_cache=0
3128
3129 # Check whether --with-libtiff or --without-libtiff was given.
3130 if test "${with_libtiff+set}" = set; then
3131 withval="$with_libtiff"
3132
3133 if test "$withval" = yes; then
3134 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3135 elif test "$withval" = no; then
3136 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3137 elif test "$withval" = sys; then
3138 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3139 elif test "$withval" = builtin; then
3140 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3141 else
3142 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3143 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3144 { (exit 1); exit 1; }; }
3145 fi
3146
3147 else
3148
3149 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x ; then
3151 eval "DEFAULT_$LINE"
3152 else
3153 no_cache=1
3154 fi
3155
3156 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3157
3158 fi;
3159
3160 eval "$ac_cv_use_libtiff"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3163 fi
3164
3165 if test "$wxUSE_LIBTIFF" = yes; then
3166 echo "$as_me:$LINENO: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3168 elif test "$wxUSE_LIBTIFF" = no; then
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3171 elif test "$wxUSE_LIBTIFF" = sys; then
3172 echo "$as_me:$LINENO: result: system version" >&5
3173 echo "${ECHO_T}system version" >&6
3174 elif test "$wxUSE_LIBTIFF" = builtin; then
3175 echo "$as_me:$LINENO: result: builtin version" >&5
3176 echo "${ECHO_T}builtin version" >&6
3177 else
3178 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3179 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3180 { (exit 1); exit 1; }; }
3181 fi
3182
3183
3184 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3185 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3186 no_cache=0
3187
3188 # Check whether --with-libxpm or --without-libxpm was given.
3189 if test "${with_libxpm+set}" = set; then
3190 withval="$with_libxpm"
3191
3192 if test "$withval" = yes; then
3193 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3194 elif test "$withval" = no; then
3195 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3196 elif test "$withval" = sys; then
3197 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3198 elif test "$withval" = builtin; then
3199 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3200 else
3201 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3202 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3203 { (exit 1); exit 1; }; }
3204 fi
3205
3206 else
3207
3208 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3209 if test "x$LINE" != x ; then
3210 eval "DEFAULT_$LINE"
3211 else
3212 no_cache=1
3213 fi
3214
3215 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3216
3217 fi;
3218
3219 eval "$ac_cv_use_libxpm"
3220 if test "$no_cache" != 1; then
3221 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3222 fi
3223
3224 if test "$wxUSE_LIBXPM" = yes; then
3225 echo "$as_me:$LINENO: result: yes" >&5
3226 echo "${ECHO_T}yes" >&6
3227 elif test "$wxUSE_LIBXPM" = no; then
3228 echo "$as_me:$LINENO: result: no" >&5
3229 echo "${ECHO_T}no" >&6
3230 elif test "$wxUSE_LIBXPM" = sys; then
3231 echo "$as_me:$LINENO: result: system version" >&5
3232 echo "${ECHO_T}system version" >&6
3233 elif test "$wxUSE_LIBXPM" = builtin; then
3234 echo "$as_me:$LINENO: result: builtin version" >&5
3235 echo "${ECHO_T}builtin version" >&6
3236 else
3237 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3238 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3239 { (exit 1); exit 1; }; }
3240 fi
3241
3242
3243 withstring=
3244 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3245 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3246 no_cache=0
3247
3248 # Check whether --with-libmspack or --without-libmspack was given.
3249 if test "${with_libmspack+set}" = set; then
3250 withval="$with_libmspack"
3251
3252 if test "$withval" = yes; then
3253 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3254 else
3255 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3256 fi
3257
3258 else
3259
3260 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3261 if test "x$LINE" != x ; then
3262 eval "DEFAULT_$LINE"
3263 else
3264 no_cache=1
3265 fi
3266
3267 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3268
3269 fi;
3270
3271 eval "$ac_cv_use_libmspack"
3272 if test "$no_cache" != 1; then
3273 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3274 fi
3275
3276 if test "$wxUSE_LIBMSPACK" = yes; then
3277 echo "$as_me:$LINENO: result: yes" >&5
3278 echo "${ECHO_T}yes" >&6
3279 else
3280 echo "$as_me:$LINENO: result: no" >&5
3281 echo "${ECHO_T}no" >&6
3282 fi
3283
3284
3285 withstring=
3286 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3287 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3288 no_cache=0
3289
3290 # Check whether --with-sdl or --without-sdl was given.
3291 if test "${with_sdl+set}" = set; then
3292 withval="$with_sdl"
3293
3294 if test "$withval" = yes; then
3295 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3296 else
3297 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3298 fi
3299
3300 else
3301
3302 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3303 if test "x$LINE" != x ; then
3304 eval "DEFAULT_$LINE"
3305 else
3306 no_cache=1
3307 fi
3308
3309 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3310
3311 fi;
3312
3313 eval "$ac_cv_use_sdl"
3314 if test "$no_cache" != 1; then
3315 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3316 fi
3317
3318 if test "$wxUSE_LIBSDL" = yes; then
3319 echo "$as_me:$LINENO: result: yes" >&5
3320 echo "${ECHO_T}yes" >&6
3321 else
3322 echo "$as_me:$LINENO: result: no" >&5
3323 echo "${ECHO_T}no" >&6
3324 fi
3325
3326
3327 withstring=
3328 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3329 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3330 no_cache=0
3331
3332 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3333 if test "${with_gnomeprint+set}" = set; then
3334 withval="$with_gnomeprint"
3335
3336 if test "$withval" = yes; then
3337 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3338 else
3339 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3340 fi
3341
3342 else
3343
3344 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x ; then
3346 eval "DEFAULT_$LINE"
3347 else
3348 no_cache=1
3349 fi
3350
3351 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3352
3353 fi;
3354
3355 eval "$ac_cv_use_gnomeprint"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3358 fi
3359
3360 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3361 echo "$as_me:$LINENO: result: yes" >&5
3362 echo "${ECHO_T}yes" >&6
3363 else
3364 echo "$as_me:$LINENO: result: no" >&5
3365 echo "${ECHO_T}no" >&6
3366 fi
3367
3368
3369 withstring=
3370 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3371 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3372 no_cache=0
3373
3374 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3375 if test "${with_gnomevfs+set}" = set; then
3376 withval="$with_gnomevfs"
3377
3378 if test "$withval" = yes; then
3379 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3380 else
3381 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3382 fi
3383
3384 else
3385
3386 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3387 if test "x$LINE" != x ; then
3388 eval "DEFAULT_$LINE"
3389 else
3390 no_cache=1
3391 fi
3392
3393 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3394
3395 fi;
3396
3397 eval "$ac_cv_use_gnomevfs"
3398 if test "$no_cache" != 1; then
3399 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3400 fi
3401
3402 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3403 echo "$as_me:$LINENO: result: yes" >&5
3404 echo "${ECHO_T}yes" >&6
3405 else
3406 echo "$as_me:$LINENO: result: no" >&5
3407 echo "${ECHO_T}no" >&6
3408 fi
3409
3410
3411 withstring=
3412 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3413 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3414 no_cache=0
3415
3416 # Check whether --with-hildon or --without-hildon was given.
3417 if test "${with_hildon+set}" = set; then
3418 withval="$with_hildon"
3419
3420 if test "$withval" = yes; then
3421 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3422 else
3423 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3424 fi
3425
3426 else
3427
3428 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3429 if test "x$LINE" != x ; then
3430 eval "DEFAULT_$LINE"
3431 else
3432 no_cache=1
3433 fi
3434
3435 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3436
3437 fi;
3438
3439 eval "$ac_cv_use_hildon"
3440 if test "$no_cache" != 1; then
3441 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3442 fi
3443
3444 if test "$wxUSE_LIBHILDON" = yes; then
3445 echo "$as_me:$LINENO: result: yes" >&5
3446 echo "${ECHO_T}yes" >&6
3447 else
3448 echo "$as_me:$LINENO: result: no" >&5
3449 echo "${ECHO_T}no" >&6
3450 fi
3451
3452
3453 withstring=
3454 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3455 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3456 no_cache=0
3457
3458 # Check whether --with-opengl or --without-opengl was given.
3459 if test "${with_opengl+set}" = set; then
3460 withval="$with_opengl"
3461
3462 if test "$withval" = yes; then
3463 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3464 else
3465 ac_cv_use_opengl='wxUSE_OPENGL=no'
3466 fi
3467
3468 else
3469
3470 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3471 if test "x$LINE" != x ; then
3472 eval "DEFAULT_$LINE"
3473 else
3474 no_cache=1
3475 fi
3476
3477 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3478
3479 fi;
3480
3481 eval "$ac_cv_use_opengl"
3482 if test "$no_cache" != 1; then
3483 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3484 fi
3485
3486 if test "$wxUSE_OPENGL" = yes; then
3487 echo "$as_me:$LINENO: result: yes" >&5
3488 echo "${ECHO_T}yes" >&6
3489 else
3490 echo "$as_me:$LINENO: result: no" >&5
3491 echo "${ECHO_T}no" >&6
3492 fi
3493
3494
3495 if test "$wxUSE_UNIVERSAL" = "yes"; then
3496
3497 # Check whether --with-themes or --without-themes was given.
3498 if test "${with_themes+set}" = set; then
3499 withval="$with_themes"
3500 wxUNIV_THEMES="$withval"
3501 fi;
3502 fi
3503
3504 fi
3505
3506
3507 withstring=
3508 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3509 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3510 no_cache=0
3511
3512 # Check whether --with-dmalloc or --without-dmalloc was given.
3513 if test "${with_dmalloc+set}" = set; then
3514 withval="$with_dmalloc"
3515
3516 if test "$withval" = yes; then
3517 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3518 else
3519 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3520 fi
3521
3522 else
3523
3524 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x ; then
3526 eval "DEFAULT_$LINE"
3527 else
3528 no_cache=1
3529 fi
3530
3531 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3532
3533 fi;
3534
3535 eval "$ac_cv_use_dmalloc"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3538 fi
3539
3540 if test "$wxUSE_DMALLOC" = yes; then
3541 echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6
3543 else
3544 echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6
3546 fi
3547
3548
3549 echo "$as_me:$LINENO: checking for --with-regex" >&5
3550 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3551 no_cache=0
3552
3553 # Check whether --with-regex or --without-regex was given.
3554 if test "${with_regex+set}" = set; then
3555 withval="$with_regex"
3556
3557 if test "$withval" = yes; then
3558 ac_cv_use_regex='wxUSE_REGEX=yes'
3559 elif test "$withval" = no; then
3560 ac_cv_use_regex='wxUSE_REGEX=no'
3561 elif test "$withval" = sys; then
3562 ac_cv_use_regex='wxUSE_REGEX=sys'
3563 elif test "$withval" = builtin; then
3564 ac_cv_use_regex='wxUSE_REGEX=builtin'
3565 else
3566 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3567 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3568 { (exit 1); exit 1; }; }
3569 fi
3570
3571 else
3572
3573 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3574 if test "x$LINE" != x ; then
3575 eval "DEFAULT_$LINE"
3576 else
3577 no_cache=1
3578 fi
3579
3580 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3581
3582 fi;
3583
3584 eval "$ac_cv_use_regex"
3585 if test "$no_cache" != 1; then
3586 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3587 fi
3588
3589 if test "$wxUSE_REGEX" = yes; then
3590 echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6
3592 elif test "$wxUSE_REGEX" = no; then
3593 echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6
3595 elif test "$wxUSE_REGEX" = sys; then
3596 echo "$as_me:$LINENO: result: system version" >&5
3597 echo "${ECHO_T}system version" >&6
3598 elif test "$wxUSE_REGEX" = builtin; then
3599 echo "$as_me:$LINENO: result: builtin version" >&5
3600 echo "${ECHO_T}builtin version" >&6
3601 else
3602 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3603 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3604 { (exit 1); exit 1; }; }
3605 fi
3606
3607
3608 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3609 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3610 no_cache=0
3611
3612 # Check whether --with-zlib or --without-zlib was given.
3613 if test "${with_zlib+set}" = set; then
3614 withval="$with_zlib"
3615
3616 if test "$withval" = yes; then
3617 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3618 elif test "$withval" = no; then
3619 ac_cv_use_zlib='wxUSE_ZLIB=no'
3620 elif test "$withval" = sys; then
3621 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3622 elif test "$withval" = builtin; then
3623 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3624 else
3625 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3626 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3627 { (exit 1); exit 1; }; }
3628 fi
3629
3630 else
3631
3632 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3633 if test "x$LINE" != x ; then
3634 eval "DEFAULT_$LINE"
3635 else
3636 no_cache=1
3637 fi
3638
3639 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3640
3641 fi;
3642
3643 eval "$ac_cv_use_zlib"
3644 if test "$no_cache" != 1; then
3645 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3646 fi
3647
3648 if test "$wxUSE_ZLIB" = yes; then
3649 echo "$as_me:$LINENO: result: yes" >&5
3650 echo "${ECHO_T}yes" >&6
3651 elif test "$wxUSE_ZLIB" = no; then
3652 echo "$as_me:$LINENO: result: no" >&5
3653 echo "${ECHO_T}no" >&6
3654 elif test "$wxUSE_ZLIB" = sys; then
3655 echo "$as_me:$LINENO: result: system version" >&5
3656 echo "${ECHO_T}system version" >&6
3657 elif test "$wxUSE_ZLIB" = builtin; then
3658 echo "$as_me:$LINENO: result: builtin version" >&5
3659 echo "${ECHO_T}builtin version" >&6
3660 else
3661 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3662 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3663 { (exit 1); exit 1; }; }
3664 fi
3665
3666
3667 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3668 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3669 no_cache=0
3670
3671 # Check whether --with-odbc or --without-odbc was given.
3672 if test "${with_odbc+set}" = set; then
3673 withval="$with_odbc"
3674
3675 if test "$withval" = yes; then
3676 ac_cv_use_odbc='wxUSE_ODBC=yes'
3677 elif test "$withval" = no; then
3678 ac_cv_use_odbc='wxUSE_ODBC=no'
3679 elif test "$withval" = sys; then
3680 ac_cv_use_odbc='wxUSE_ODBC=sys'
3681 elif test "$withval" = builtin; then
3682 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3683 else
3684 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3685 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3686 { (exit 1); exit 1; }; }
3687 fi
3688
3689 else
3690
3691 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3692 if test "x$LINE" != x ; then
3693 eval "DEFAULT_$LINE"
3694 else
3695 no_cache=1
3696 fi
3697
3698 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3699
3700 fi;
3701
3702 eval "$ac_cv_use_odbc"
3703 if test "$no_cache" != 1; then
3704 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3705 fi
3706
3707 if test "$wxUSE_ODBC" = yes; then
3708 echo "$as_me:$LINENO: result: yes" >&5
3709 echo "${ECHO_T}yes" >&6
3710 elif test "$wxUSE_ODBC" = no; then
3711 echo "$as_me:$LINENO: result: no" >&5
3712 echo "${ECHO_T}no" >&6
3713 elif test "$wxUSE_ODBC" = sys; then
3714 echo "$as_me:$LINENO: result: system version" >&5
3715 echo "${ECHO_T}system version" >&6
3716 elif test "$wxUSE_ODBC" = builtin; then
3717 echo "$as_me:$LINENO: result: builtin version" >&5
3718 echo "${ECHO_T}builtin version" >&6
3719 else
3720 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3721 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3722 { (exit 1); exit 1; }; }
3723 fi
3724
3725
3726 echo "$as_me:$LINENO: checking for --with-expat" >&5
3727 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3728 no_cache=0
3729
3730 # Check whether --with-expat or --without-expat was given.
3731 if test "${with_expat+set}" = set; then
3732 withval="$with_expat"
3733
3734 if test "$withval" = yes; then
3735 ac_cv_use_expat='wxUSE_EXPAT=yes'
3736 elif test "$withval" = no; then
3737 ac_cv_use_expat='wxUSE_EXPAT=no'
3738 elif test "$withval" = sys; then
3739 ac_cv_use_expat='wxUSE_EXPAT=sys'
3740 elif test "$withval" = builtin; then
3741 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3742 else
3743 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3744 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3745 { (exit 1); exit 1; }; }
3746 fi
3747
3748 else
3749
3750 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3751 if test "x$LINE" != x ; then
3752 eval "DEFAULT_$LINE"
3753 else
3754 no_cache=1
3755 fi
3756
3757 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3758
3759 fi;
3760
3761 eval "$ac_cv_use_expat"
3762 if test "$no_cache" != 1; then
3763 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3764 fi
3765
3766 if test "$wxUSE_EXPAT" = yes; then
3767 echo "$as_me:$LINENO: result: yes" >&5
3768 echo "${ECHO_T}yes" >&6
3769 elif test "$wxUSE_EXPAT" = no; then
3770 echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6
3772 elif test "$wxUSE_EXPAT" = sys; then
3773 echo "$as_me:$LINENO: result: system version" >&5
3774 echo "${ECHO_T}system version" >&6
3775 elif test "$wxUSE_EXPAT" = builtin; then
3776 echo "$as_me:$LINENO: result: builtin version" >&5
3777 echo "${ECHO_T}builtin version" >&6
3778 else
3779 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3780 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3781 { (exit 1); exit 1; }; }
3782 fi
3783
3784
3785
3786
3787 enablestring=
3788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3789 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3790 no_cache=0
3791 # Check whether --enable-shared or --disable-shared was given.
3792 if test "${enable_shared+set}" = set; then
3793 enableval="$enable_shared"
3794
3795 if test "$enableval" = yes; then
3796 ac_cv_use_shared='wxUSE_SHARED=yes'
3797 else
3798 ac_cv_use_shared='wxUSE_SHARED=no'
3799 fi
3800
3801 else
3802
3803 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3804 if test "x$LINE" != x ; then
3805 eval "DEFAULT_$LINE"
3806 else
3807 no_cache=1
3808 fi
3809
3810 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3811
3812 fi;
3813
3814 eval "$ac_cv_use_shared"
3815 if test "$no_cache" != 1; then
3816 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3817 fi
3818
3819 if test "$wxUSE_SHARED" = yes; then
3820 echo "$as_me:$LINENO: result: yes" >&5
3821 echo "${ECHO_T}yes" >&6
3822 else
3823 echo "$as_me:$LINENO: result: no" >&5
3824 echo "${ECHO_T}no" >&6
3825 fi
3826
3827
3828 enablestring=
3829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3830 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3831 no_cache=0
3832 # Check whether --enable-optimise or --disable-optimise was given.
3833 if test "${enable_optimise+set}" = set; then
3834 enableval="$enable_optimise"
3835
3836 if test "$enableval" = yes; then
3837 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3838 else
3839 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3840 fi
3841
3842 else
3843
3844 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3845 if test "x$LINE" != x ; then
3846 eval "DEFAULT_$LINE"
3847 else
3848 no_cache=1
3849 fi
3850
3851 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3852
3853 fi;
3854
3855 eval "$ac_cv_use_optimise"
3856 if test "$no_cache" != 1; then
3857 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3858 fi
3859
3860 if test "$wxUSE_OPTIMISE" = yes; then
3861 echo "$as_me:$LINENO: result: yes" >&5
3862 echo "${ECHO_T}yes" >&6
3863 else
3864 echo "$as_me:$LINENO: result: no" >&5
3865 echo "${ECHO_T}no" >&6
3866 fi
3867
3868
3869 enablestring=
3870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3871 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3872 no_cache=0
3873 # Check whether --enable-debug or --disable-debug was given.
3874 if test "${enable_debug+set}" = set; then
3875 enableval="$enable_debug"
3876
3877 if test "$enableval" = yes; then
3878 ac_cv_use_debug='wxUSE_DEBUG=yes'
3879 else
3880 ac_cv_use_debug='wxUSE_DEBUG=no'
3881 fi
3882
3883 else
3884
3885 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3886 if test "x$LINE" != x ; then
3887 eval "DEFAULT_$LINE"
3888 else
3889 no_cache=1
3890 fi
3891
3892 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3893
3894 fi;
3895
3896 eval "$ac_cv_use_debug"
3897 if test "$no_cache" != 1; then
3898 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3899 fi
3900
3901 if test "$wxUSE_DEBUG" = yes; then
3902 echo "$as_me:$LINENO: result: yes" >&5
3903 echo "${ECHO_T}yes" >&6
3904 else
3905 echo "$as_me:$LINENO: result: no" >&5
3906 echo "${ECHO_T}no" >&6
3907 fi
3908
3909
3910 enablestring=
3911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3912 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3913 no_cache=0
3914 # Check whether --enable-stl or --disable-stl was given.
3915 if test "${enable_stl+set}" = set; then
3916 enableval="$enable_stl"
3917
3918 if test "$enableval" = yes; then
3919 ac_cv_use_stl='wxUSE_STL=yes'
3920 else
3921 ac_cv_use_stl='wxUSE_STL=no'
3922 fi
3923
3924 else
3925
3926 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3927 if test "x$LINE" != x ; then
3928 eval "DEFAULT_$LINE"
3929 else
3930 no_cache=1
3931 fi
3932
3933 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3934
3935 fi;
3936
3937 eval "$ac_cv_use_stl"
3938 if test "$no_cache" != 1; then
3939 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3940 fi
3941
3942 if test "$wxUSE_STL" = yes; then
3943 echo "$as_me:$LINENO: result: yes" >&5
3944 echo "${ECHO_T}yes" >&6
3945 else
3946 echo "$as_me:$LINENO: result: no" >&5
3947 echo "${ECHO_T}no" >&6
3948 fi
3949
3950 if test "$USE_OS2" = "1"; then
3951 DEFAULT_wxUSE_OMF=no
3952
3953 enablestring=
3954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3955 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3956 no_cache=0
3957 # Check whether --enable-omf or --disable-omf was given.
3958 if test "${enable_omf+set}" = set; then
3959 enableval="$enable_omf"
3960
3961 if test "$enableval" = yes; then
3962 ac_cv_use_omf='wxUSE_OMF=yes'
3963 else
3964 ac_cv_use_omf='wxUSE_OMF=no'
3965 fi
3966
3967 else
3968
3969 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3970 if test "x$LINE" != x ; then
3971 eval "DEFAULT_$LINE"
3972 else
3973 no_cache=1
3974 fi
3975
3976 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3977
3978 fi;
3979
3980 eval "$ac_cv_use_omf"
3981 if test "$no_cache" != 1; then
3982 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3983 fi
3984
3985 if test "$wxUSE_OMF" = yes; then
3986 echo "$as_me:$LINENO: result: yes" >&5
3987 echo "${ECHO_T}yes" >&6
3988 else
3989 echo "$as_me:$LINENO: result: no" >&5
3990 echo "${ECHO_T}no" >&6
3991 fi
3992
3993 fi
3994
3995 if test "$wxUSE_DEBUG" = "yes"; then
3996 DEFAULT_wxUSE_DEBUG_FLAG=yes
3997 DEFAULT_wxUSE_DEBUG_INFO=yes
3998 BUILD=debug
3999 elif test "$wxUSE_DEBUG" = "no"; then
4000 DEFAULT_wxUSE_DEBUG_FLAG=no
4001 DEFAULT_wxUSE_DEBUG_INFO=no
4002 BUILD=release
4003 fi
4004
4005
4006 enablestring=
4007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4008 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4009 no_cache=0
4010 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4011 if test "${enable_debug_flag+set}" = set; then
4012 enableval="$enable_debug_flag"
4013
4014 if test "$enableval" = yes; then
4015 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4016 else
4017 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4018 fi
4019
4020 else
4021
4022 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4023 if test "x$LINE" != x ; then
4024 eval "DEFAULT_$LINE"
4025 else
4026 no_cache=1
4027 fi
4028
4029 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4030
4031 fi;
4032
4033 eval "$ac_cv_use_debug_flag"
4034 if test "$no_cache" != 1; then
4035 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4036 fi
4037
4038 if test "$wxUSE_DEBUG_FLAG" = yes; then
4039 echo "$as_me:$LINENO: result: yes" >&5
4040 echo "${ECHO_T}yes" >&6
4041 else
4042 echo "$as_me:$LINENO: result: no" >&5
4043 echo "${ECHO_T}no" >&6
4044 fi
4045
4046
4047 enablestring=
4048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4049 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4050 no_cache=0
4051 # Check whether --enable-debug_info or --disable-debug_info was given.
4052 if test "${enable_debug_info+set}" = set; then
4053 enableval="$enable_debug_info"
4054
4055 if test "$enableval" = yes; then
4056 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4057 else
4058 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4059 fi
4060
4061 else
4062
4063 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4064 if test "x$LINE" != x ; then
4065 eval "DEFAULT_$LINE"
4066 else
4067 no_cache=1
4068 fi
4069
4070 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4071
4072 fi;
4073
4074 eval "$ac_cv_use_debug_info"
4075 if test "$no_cache" != 1; then
4076 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4077 fi
4078
4079 if test "$wxUSE_DEBUG_INFO" = yes; then
4080 echo "$as_me:$LINENO: result: yes" >&5
4081 echo "${ECHO_T}yes" >&6
4082 else
4083 echo "$as_me:$LINENO: result: no" >&5
4084 echo "${ECHO_T}no" >&6
4085 fi
4086
4087
4088 enablestring=
4089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4090 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4091 no_cache=0
4092 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4093 if test "${enable_debug_gdb+set}" = set; then
4094 enableval="$enable_debug_gdb"
4095
4096 if test "$enableval" = yes; then
4097 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4098 else
4099 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4100 fi
4101
4102 else
4103
4104 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x ; then
4106 eval "DEFAULT_$LINE"
4107 else
4108 no_cache=1
4109 fi
4110
4111 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4112
4113 fi;
4114
4115 eval "$ac_cv_use_debug_gdb"
4116 if test "$no_cache" != 1; then
4117 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4118 fi
4119
4120 if test "$wxUSE_DEBUG_GDB" = yes; then
4121 echo "$as_me:$LINENO: result: yes" >&5
4122 echo "${ECHO_T}yes" >&6
4123 else
4124 echo "$as_me:$LINENO: result: no" >&5
4125 echo "${ECHO_T}no" >&6
4126 fi
4127
4128
4129 enablestring=
4130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4131 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4132 no_cache=0
4133 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4134 if test "${enable_debug_cntxt+set}" = set; then
4135 enableval="$enable_debug_cntxt"
4136
4137 if test "$enableval" = yes; then
4138 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4139 else
4140 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4141 fi
4142
4143 else
4144
4145 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4146 if test "x$LINE" != x ; then
4147 eval "DEFAULT_$LINE"
4148 else
4149 no_cache=1
4150 fi
4151
4152 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4153
4154 fi;
4155
4156 eval "$ac_cv_use_debug_cntxt"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4159 fi
4160
4161 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4162 echo "$as_me:$LINENO: result: yes" >&5
4163 echo "${ECHO_T}yes" >&6
4164 else
4165 echo "$as_me:$LINENO: result: no" >&5
4166 echo "${ECHO_T}no" >&6
4167 fi
4168
4169
4170 enablestring=
4171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4172 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4173 no_cache=0
4174 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4175 if test "${enable_mem_tracing+set}" = set; then
4176 enableval="$enable_mem_tracing"
4177
4178 if test "$enableval" = yes; then
4179 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4180 else
4181 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4182 fi
4183
4184 else
4185
4186 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4187 if test "x$LINE" != x ; then
4188 eval "DEFAULT_$LINE"
4189 else
4190 no_cache=1
4191 fi
4192
4193 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4194
4195 fi;
4196
4197 eval "$ac_cv_use_mem_tracing"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4200 fi
4201
4202 if test "$wxUSE_MEM_TRACING" = yes; then
4203 echo "$as_me:$LINENO: result: yes" >&5
4204 echo "${ECHO_T}yes" >&6
4205 else
4206 echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6
4208 fi
4209
4210
4211 enablestring=
4212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4213 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4214 no_cache=0
4215 # Check whether --enable-profile or --disable-profile was given.
4216 if test "${enable_profile+set}" = set; then
4217 enableval="$enable_profile"
4218
4219 if test "$enableval" = yes; then
4220 ac_cv_use_profile='wxUSE_PROFILE=yes'
4221 else
4222 ac_cv_use_profile='wxUSE_PROFILE=no'
4223 fi
4224
4225 else
4226
4227 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4228 if test "x$LINE" != x ; then
4229 eval "DEFAULT_$LINE"
4230 else
4231 no_cache=1
4232 fi
4233
4234 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4235
4236 fi;
4237
4238 eval "$ac_cv_use_profile"
4239 if test "$no_cache" != 1; then
4240 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4241 fi
4242
4243 if test "$wxUSE_PROFILE" = yes; then
4244 echo "$as_me:$LINENO: result: yes" >&5
4245 echo "${ECHO_T}yes" >&6
4246 else
4247 echo "$as_me:$LINENO: result: no" >&5
4248 echo "${ECHO_T}no" >&6
4249 fi
4250
4251
4252 enablestring=
4253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4254 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4255 no_cache=0
4256 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4257 if test "${enable_no_rtti+set}" = set; then
4258 enableval="$enable_no_rtti"
4259
4260 if test "$enableval" = yes; then
4261 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4262 else
4263 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4264 fi
4265
4266 else
4267
4268 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4269 if test "x$LINE" != x ; then
4270 eval "DEFAULT_$LINE"
4271 else
4272 no_cache=1
4273 fi
4274
4275 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4276
4277 fi;
4278
4279 eval "$ac_cv_use_no_rtti"
4280 if test "$no_cache" != 1; then
4281 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4282 fi
4283
4284 if test "$wxUSE_NO_RTTI" = yes; then
4285 echo "$as_me:$LINENO: result: yes" >&5
4286 echo "${ECHO_T}yes" >&6
4287 else
4288 echo "$as_me:$LINENO: result: no" >&5
4289 echo "${ECHO_T}no" >&6
4290 fi
4291
4292
4293 enablestring=
4294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4295 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4296 no_cache=0
4297 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4298 if test "${enable_no_exceptions+set}" = set; then
4299 enableval="$enable_no_exceptions"
4300
4301 if test "$enableval" = yes; then
4302 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4303 else
4304 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4305 fi
4306
4307 else
4308
4309 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4310 if test "x$LINE" != x ; then
4311 eval "DEFAULT_$LINE"
4312 else
4313 no_cache=1
4314 fi
4315
4316 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4317
4318 fi;
4319
4320 eval "$ac_cv_use_no_exceptions"
4321 if test "$no_cache" != 1; then
4322 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4323 fi
4324
4325 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4326 echo "$as_me:$LINENO: result: yes" >&5
4327 echo "${ECHO_T}yes" >&6
4328 else
4329 echo "$as_me:$LINENO: result: no" >&5
4330 echo "${ECHO_T}no" >&6
4331 fi
4332
4333
4334 enablestring=
4335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4336 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4337 no_cache=0
4338 # Check whether --enable-permissive or --disable-permissive was given.
4339 if test "${enable_permissive+set}" = set; then
4340 enableval="$enable_permissive"
4341
4342 if test "$enableval" = yes; then
4343 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4344 else
4345 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4346 fi
4347
4348 else
4349
4350 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4351 if test "x$LINE" != x ; then
4352 eval "DEFAULT_$LINE"
4353 else
4354 no_cache=1
4355 fi
4356
4357 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4358
4359 fi;
4360
4361 eval "$ac_cv_use_permissive"
4362 if test "$no_cache" != 1; then
4363 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4364 fi
4365
4366 if test "$wxUSE_PERMISSIVE" = yes; then
4367 echo "$as_me:$LINENO: result: yes" >&5
4368 echo "${ECHO_T}yes" >&6
4369 else
4370 echo "$as_me:$LINENO: result: no" >&5
4371 echo "${ECHO_T}no" >&6
4372 fi
4373
4374
4375 enablestring=
4376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4377 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4378 no_cache=0
4379 # Check whether --enable-no_deps or --disable-no_deps was given.
4380 if test "${enable_no_deps+set}" = set; then
4381 enableval="$enable_no_deps"
4382
4383 if test "$enableval" = yes; then
4384 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4385 else
4386 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4387 fi
4388
4389 else
4390
4391 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4392 if test "x$LINE" != x ; then
4393 eval "DEFAULT_$LINE"
4394 else
4395 no_cache=1
4396 fi
4397
4398 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4399
4400 fi;
4401
4402 eval "$ac_cv_use_no_deps"
4403 if test "$no_cache" != 1; then
4404 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4405 fi
4406
4407 if test "$wxUSE_NO_DEPS" = yes; then
4408 echo "$as_me:$LINENO: result: yes" >&5
4409 echo "${ECHO_T}yes" >&6
4410 else
4411 echo "$as_me:$LINENO: result: no" >&5
4412 echo "${ECHO_T}no" >&6
4413 fi
4414
4415
4416 enablestring=
4417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4418 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4419 no_cache=0
4420 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4421 if test "${enable_universal_binary+set}" = set; then
4422 enableval="$enable_universal_binary"
4423
4424 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4425
4426 else
4427
4428 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4429 if test "x$LINE" != x ; then
4430 eval "DEFAULT_$LINE"
4431 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4432 else
4433 no_cache=1
4434 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4435 fi
4436
4437 fi;
4438
4439 eval "$wx_cv_use_universal_binary"
4440 if test "$no_cache" != 1; then
4441 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4442 fi
4443
4444 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4445 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4446
4447
4448
4449 enablestring=enable
4450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4451 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4452 no_cache=0
4453 # Check whether --enable-compat24 or --disable-compat24 was given.
4454 if test "${enable_compat24+set}" = set; then
4455 enableval="$enable_compat24"
4456
4457 if test "$enableval" = yes; then
4458 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4459 else
4460 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4461 fi
4462
4463 else
4464
4465 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4466 if test "x$LINE" != x ; then
4467 eval "DEFAULT_$LINE"
4468 else
4469 no_cache=1
4470 fi
4471
4472 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4473
4474 fi;
4475
4476 eval "$ac_cv_use_compat24"
4477 if test "$no_cache" != 1; then
4478 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4479 fi
4480
4481 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4482 echo "$as_me:$LINENO: result: yes" >&5
4483 echo "${ECHO_T}yes" >&6
4484 else
4485 echo "$as_me:$LINENO: result: no" >&5
4486 echo "${ECHO_T}no" >&6
4487 fi
4488
4489
4490 enablestring=disable
4491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4492 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4493 no_cache=0
4494 # Check whether --enable-compat26 or --disable-compat26 was given.
4495 if test "${enable_compat26+set}" = set; then
4496 enableval="$enable_compat26"
4497
4498 if test "$enableval" = yes; then
4499 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4500 else
4501 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4502 fi
4503
4504 else
4505
4506 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4507 if test "x$LINE" != x ; then
4508 eval "DEFAULT_$LINE"
4509 else
4510 no_cache=1
4511 fi
4512
4513 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4514
4515 fi;
4516
4517 eval "$ac_cv_use_compat26"
4518 if test "$no_cache" != 1; then
4519 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4520 fi
4521
4522 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4523 echo "$as_me:$LINENO: result: yes" >&5
4524 echo "${ECHO_T}yes" >&6
4525 else
4526 echo "$as_me:$LINENO: result: no" >&5
4527 echo "${ECHO_T}no" >&6
4528 fi
4529
4530
4531
4532 enablestring=
4533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4534 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4535 no_cache=0
4536 # Check whether --enable-rpath or --disable-rpath was given.
4537 if test "${enable_rpath+set}" = set; then
4538 enableval="$enable_rpath"
4539
4540 if test "$enableval" = yes; then
4541 ac_cv_use_rpath='wxUSE_RPATH=yes'
4542 else
4543 ac_cv_use_rpath='wxUSE_RPATH=no'
4544 fi
4545
4546 else
4547
4548 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4549 if test "x$LINE" != x ; then
4550 eval "DEFAULT_$LINE"
4551 else
4552 no_cache=1
4553 fi
4554
4555 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4556
4557 fi;
4558
4559 eval "$ac_cv_use_rpath"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4562 fi
4563
4564 if test "$wxUSE_RPATH" = yes; then
4565 echo "$as_me:$LINENO: result: yes" >&5
4566 echo "${ECHO_T}yes" >&6
4567 else
4568 echo "$as_me:$LINENO: result: no" >&5
4569 echo "${ECHO_T}no" >&6
4570 fi
4571
4572
4573
4574
4575
4576 enablestring=
4577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4579 no_cache=0
4580 # Check whether --enable-intl or --disable-intl was given.
4581 if test "${enable_intl+set}" = set; then
4582 enableval="$enable_intl"
4583
4584 if test "$enableval" = yes; then
4585 ac_cv_use_intl='wxUSE_INTL=yes'
4586 else
4587 ac_cv_use_intl='wxUSE_INTL=no'
4588 fi
4589
4590 else
4591
4592 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4593 if test "x$LINE" != x ; then
4594 eval "DEFAULT_$LINE"
4595 else
4596 no_cache=1
4597 fi
4598
4599 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4600
4601 fi;
4602
4603 eval "$ac_cv_use_intl"
4604 if test "$no_cache" != 1; then
4605 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4606 fi
4607
4608 if test "$wxUSE_INTL" = yes; then
4609 echo "$as_me:$LINENO: result: yes" >&5
4610 echo "${ECHO_T}yes" >&6
4611 else
4612 echo "$as_me:$LINENO: result: no" >&5
4613 echo "${ECHO_T}no" >&6
4614 fi
4615
4616
4617 enablestring=
4618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4619 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4620 no_cache=0
4621 # Check whether --enable-config or --disable-config was given.
4622 if test "${enable_config+set}" = set; then
4623 enableval="$enable_config"
4624
4625 if test "$enableval" = yes; then
4626 ac_cv_use_config='wxUSE_CONFIG=yes'
4627 else
4628 ac_cv_use_config='wxUSE_CONFIG=no'
4629 fi
4630
4631 else
4632
4633 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4634 if test "x$LINE" != x ; then
4635 eval "DEFAULT_$LINE"
4636 else
4637 no_cache=1
4638 fi
4639
4640 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4641
4642 fi;
4643
4644 eval "$ac_cv_use_config"
4645 if test "$no_cache" != 1; then
4646 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4647 fi
4648
4649 if test "$wxUSE_CONFIG" = yes; then
4650 echo "$as_me:$LINENO: result: yes" >&5
4651 echo "${ECHO_T}yes" >&6
4652 else
4653 echo "$as_me:$LINENO: result: no" >&5
4654 echo "${ECHO_T}no" >&6
4655 fi
4656
4657
4658
4659 enablestring=
4660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4662 no_cache=0
4663 # Check whether --enable-protocols or --disable-protocols was given.
4664 if test "${enable_protocols+set}" = set; then
4665 enableval="$enable_protocols"
4666
4667 if test "$enableval" = yes; then
4668 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4669 else
4670 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4671 fi
4672
4673 else
4674
4675 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x ; then
4677 eval "DEFAULT_$LINE"
4678 else
4679 no_cache=1
4680 fi
4681
4682 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4683
4684 fi;
4685
4686 eval "$ac_cv_use_protocols"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4689 fi
4690
4691 if test "$wxUSE_PROTOCOL" = yes; then
4692 echo "$as_me:$LINENO: result: yes" >&5
4693 echo "${ECHO_T}yes" >&6
4694 else
4695 echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6
4697 fi
4698
4699
4700 enablestring=
4701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4703 no_cache=0
4704 # Check whether --enable-ftp or --disable-ftp was given.
4705 if test "${enable_ftp+set}" = set; then
4706 enableval="$enable_ftp"
4707
4708 if test "$enableval" = yes; then
4709 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4710 else
4711 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4712 fi
4713
4714 else
4715
4716 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4717 if test "x$LINE" != x ; then
4718 eval "DEFAULT_$LINE"
4719 else
4720 no_cache=1
4721 fi
4722
4723 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4724
4725 fi;
4726
4727 eval "$ac_cv_use_ftp"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4730 fi
4731
4732 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4733 echo "$as_me:$LINENO: result: yes" >&5
4734 echo "${ECHO_T}yes" >&6
4735 else
4736 echo "$as_me:$LINENO: result: no" >&5
4737 echo "${ECHO_T}no" >&6
4738 fi
4739
4740
4741 enablestring=
4742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4744 no_cache=0
4745 # Check whether --enable-http or --disable-http was given.
4746 if test "${enable_http+set}" = set; then
4747 enableval="$enable_http"
4748
4749 if test "$enableval" = yes; then
4750 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4751 else
4752 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4753 fi
4754
4755 else
4756
4757 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x ; then
4759 eval "DEFAULT_$LINE"
4760 else
4761 no_cache=1
4762 fi
4763
4764 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4765
4766 fi;
4767
4768 eval "$ac_cv_use_http"
4769 if test "$no_cache" != 1; then
4770 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4771 fi
4772
4773 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4774 echo "$as_me:$LINENO: result: yes" >&5
4775 echo "${ECHO_T}yes" >&6
4776 else
4777 echo "$as_me:$LINENO: result: no" >&5
4778 echo "${ECHO_T}no" >&6
4779 fi
4780
4781
4782 enablestring=
4783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4785 no_cache=0
4786 # Check whether --enable-fileproto or --disable-fileproto was given.
4787 if test "${enable_fileproto+set}" = set; then
4788 enableval="$enable_fileproto"
4789
4790 if test "$enableval" = yes; then
4791 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4792 else
4793 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4794 fi
4795
4796 else
4797
4798 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x ; then
4800 eval "DEFAULT_$LINE"
4801 else
4802 no_cache=1
4803 fi
4804
4805 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4806
4807 fi;
4808
4809 eval "$ac_cv_use_fileproto"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4812 fi
4813
4814 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6
4817 else
4818 echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4820 fi
4821
4822
4823 enablestring=
4824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4826 no_cache=0
4827 # Check whether --enable-sockets or --disable-sockets was given.
4828 if test "${enable_sockets+set}" = set; then
4829 enableval="$enable_sockets"
4830
4831 if test "$enableval" = yes; then
4832 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4833 else
4834 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4835 fi
4836
4837 else
4838
4839 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4840 if test "x$LINE" != x ; then
4841 eval "DEFAULT_$LINE"
4842 else
4843 no_cache=1
4844 fi
4845
4846 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4847
4848 fi;
4849
4850 eval "$ac_cv_use_sockets"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4853 fi
4854
4855 if test "$wxUSE_SOCKETS" = yes; then
4856 echo "$as_me:$LINENO: result: yes" >&5
4857 echo "${ECHO_T}yes" >&6
4858 else
4859 echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6
4861 fi
4862
4863
4864 enablestring=
4865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4867 no_cache=0
4868 # Check whether --enable-ole or --disable-ole was given.
4869 if test "${enable_ole+set}" = set; then
4870 enableval="$enable_ole"
4871
4872 if test "$enableval" = yes; then
4873 ac_cv_use_ole='wxUSE_OLE=yes'
4874 else
4875 ac_cv_use_ole='wxUSE_OLE=no'
4876 fi
4877
4878 else
4879
4880 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4881 if test "x$LINE" != x ; then
4882 eval "DEFAULT_$LINE"
4883 else
4884 no_cache=1
4885 fi
4886
4887 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4888
4889 fi;
4890
4891 eval "$ac_cv_use_ole"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4894 fi
4895
4896 if test "$wxUSE_OLE" = yes; then
4897 echo "$as_me:$LINENO: result: yes" >&5
4898 echo "${ECHO_T}yes" >&6
4899 else
4900 echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6
4902 fi
4903
4904
4905 enablestring=
4906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4907 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4908 no_cache=0
4909 # Check whether --enable-dataobj or --disable-dataobj was given.
4910 if test "${enable_dataobj+set}" = set; then
4911 enableval="$enable_dataobj"
4912
4913 if test "$enableval" = yes; then
4914 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4915 else
4916 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4917 fi
4918
4919 else
4920
4921 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x ; then
4923 eval "DEFAULT_$LINE"
4924 else
4925 no_cache=1
4926 fi
4927
4928 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4929
4930 fi;
4931
4932 eval "$ac_cv_use_dataobj"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4935 fi
4936
4937 if test "$wxUSE_DATAOBJ" = yes; then
4938 echo "$as_me:$LINENO: result: yes" >&5
4939 echo "${ECHO_T}yes" >&6
4940 else
4941 echo "$as_me:$LINENO: result: no" >&5
4942 echo "${ECHO_T}no" >&6
4943 fi
4944
4945
4946
4947 enablestring=
4948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4949 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4950 no_cache=0
4951 # Check whether --enable-ipc or --disable-ipc was given.
4952 if test "${enable_ipc+set}" = set; then
4953 enableval="$enable_ipc"
4954
4955 if test "$enableval" = yes; then
4956 ac_cv_use_ipc='wxUSE_IPC=yes'
4957 else
4958 ac_cv_use_ipc='wxUSE_IPC=no'
4959 fi
4960
4961 else
4962
4963 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x ; then
4965 eval "DEFAULT_$LINE"
4966 else
4967 no_cache=1
4968 fi
4969
4970 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4971
4972 fi;
4973
4974 eval "$ac_cv_use_ipc"
4975 if test "$no_cache" != 1; then
4976 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4977 fi
4978
4979 if test "$wxUSE_IPC" = yes; then
4980 echo "$as_me:$LINENO: result: yes" >&5
4981 echo "${ECHO_T}yes" >&6
4982 else
4983 echo "$as_me:$LINENO: result: no" >&5
4984 echo "${ECHO_T}no" >&6
4985 fi
4986
4987
4988
4989 enablestring=
4990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4991 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4992 no_cache=0
4993 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4994 if test "${enable_apple_ieee+set}" = set; then
4995 enableval="$enable_apple_ieee"
4996
4997 if test "$enableval" = yes; then
4998 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4999 else
5000 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5001 fi
5002
5003 else
5004
5005 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5006 if test "x$LINE" != x ; then
5007 eval "DEFAULT_$LINE"
5008 else
5009 no_cache=1
5010 fi
5011
5012 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5013
5014 fi;
5015
5016 eval "$ac_cv_use_apple_ieee"
5017 if test "$no_cache" != 1; then
5018 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5019 fi
5020
5021 if test "$wxUSE_APPLE_IEEE" = yes; then
5022 echo "$as_me:$LINENO: result: yes" >&5
5023 echo "${ECHO_T}yes" >&6
5024 else
5025 echo "$as_me:$LINENO: result: no" >&5
5026 echo "${ECHO_T}no" >&6
5027 fi
5028
5029
5030 enablestring=
5031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5032 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5033 no_cache=0
5034 # Check whether --enable-arcstream or --disable-arcstream was given.
5035 if test "${enable_arcstream+set}" = set; then
5036 enableval="$enable_arcstream"
5037
5038 if test "$enableval" = yes; then
5039 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5040 else
5041 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5042 fi
5043
5044 else
5045
5046 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5047 if test "x$LINE" != x ; then
5048 eval "DEFAULT_$LINE"
5049 else
5050 no_cache=1
5051 fi
5052
5053 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5054
5055 fi;
5056
5057 eval "$ac_cv_use_arcstream"
5058 if test "$no_cache" != 1; then
5059 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5060 fi
5061
5062 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5063 echo "$as_me:$LINENO: result: yes" >&5
5064 echo "${ECHO_T}yes" >&6
5065 else
5066 echo "$as_me:$LINENO: result: no" >&5
5067 echo "${ECHO_T}no" >&6
5068 fi
5069
5070
5071 enablestring=
5072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backingfile" >&5
5073 echo $ECHO_N "checking for --${enablestring:-enable}-backingfile... $ECHO_C" >&6
5074 no_cache=0
5075 # Check whether --enable-backingfile or --disable-backingfile was given.
5076 if test "${enable_backingfile+set}" = set; then
5077 enableval="$enable_backingfile"
5078
5079 if test "$enableval" = yes; then
5080 ac_cv_use_backingfile='wxUSE_BACKINGFILE=yes'
5081 else
5082 ac_cv_use_backingfile='wxUSE_BACKINGFILE=no'
5083 fi
5084
5085 else
5086
5087 LINE=`grep "wxUSE_BACKINGFILE" ${wx_arg_cache_file}`
5088 if test "x$LINE" != x ; then
5089 eval "DEFAULT_$LINE"
5090 else
5091 no_cache=1
5092 fi
5093
5094 ac_cv_use_backingfile='wxUSE_BACKINGFILE='$DEFAULT_wxUSE_BACKINGFILE
5095
5096 fi;
5097
5098 eval "$ac_cv_use_backingfile"
5099 if test "$no_cache" != 1; then
5100 echo $ac_cv_use_backingfile >> ${wx_arg_cache_file}.tmp
5101 fi
5102
5103 if test "$wxUSE_BACKINGFILE" = yes; then
5104 echo "$as_me:$LINENO: result: yes" >&5
5105 echo "${ECHO_T}yes" >&6
5106 else
5107 echo "$as_me:$LINENO: result: no" >&5
5108 echo "${ECHO_T}no" >&6
5109 fi
5110
5111
5112 enablestring=
5113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5114 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5115 no_cache=0
5116 # Check whether --enable-backtrace or --disable-backtrace was given.
5117 if test "${enable_backtrace+set}" = set; then
5118 enableval="$enable_backtrace"
5119
5120 if test "$enableval" = yes; then
5121 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5122 else
5123 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5124 fi
5125
5126 else
5127
5128 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5129 if test "x$LINE" != x ; then
5130 eval "DEFAULT_$LINE"
5131 else
5132 no_cache=1
5133 fi
5134
5135 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5136
5137 fi;
5138
5139 eval "$ac_cv_use_backtrace"
5140 if test "$no_cache" != 1; then
5141 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5142 fi
5143
5144 if test "$wxUSE_STACKWALKER" = yes; then
5145 echo "$as_me:$LINENO: result: yes" >&5
5146 echo "${ECHO_T}yes" >&6
5147 else
5148 echo "$as_me:$LINENO: result: no" >&5
5149 echo "${ECHO_T}no" >&6
5150 fi
5151
5152
5153 enablestring=
5154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5155 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5156 no_cache=0
5157 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5158 if test "${enable_catch_segvs+set}" = set; then
5159 enableval="$enable_catch_segvs"
5160
5161 if test "$enableval" = yes; then
5162 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5163 else
5164 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5165 fi
5166
5167 else
5168
5169 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5170 if test "x$LINE" != x ; then
5171 eval "DEFAULT_$LINE"
5172 else
5173 no_cache=1
5174 fi
5175
5176 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5177
5178 fi;
5179
5180 eval "$ac_cv_use_catch_segvs"
5181 if test "$no_cache" != 1; then
5182 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5183 fi
5184
5185 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5186 echo "$as_me:$LINENO: result: yes" >&5
5187 echo "${ECHO_T}yes" >&6
5188 else
5189 echo "$as_me:$LINENO: result: no" >&5
5190 echo "${ECHO_T}no" >&6
5191 fi
5192
5193
5194 enablestring=
5195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5196 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5197 no_cache=0
5198 # Check whether --enable-cmdline or --disable-cmdline was given.
5199 if test "${enable_cmdline+set}" = set; then
5200 enableval="$enable_cmdline"
5201
5202 if test "$enableval" = yes; then
5203 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5204 else
5205 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5206 fi
5207
5208 else
5209
5210 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5211 if test "x$LINE" != x ; then
5212 eval "DEFAULT_$LINE"
5213 else
5214 no_cache=1
5215 fi
5216
5217 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5218
5219 fi;
5220
5221 eval "$ac_cv_use_cmdline"
5222 if test "$no_cache" != 1; then
5223 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5224 fi
5225
5226 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5227 echo "$as_me:$LINENO: result: yes" >&5
5228 echo "${ECHO_T}yes" >&6
5229 else
5230 echo "$as_me:$LINENO: result: no" >&5
5231 echo "${ECHO_T}no" >&6
5232 fi
5233
5234
5235 enablestring=
5236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5237 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5238 no_cache=0
5239 # Check whether --enable-datetime or --disable-datetime was given.
5240 if test "${enable_datetime+set}" = set; then
5241 enableval="$enable_datetime"
5242
5243 if test "$enableval" = yes; then
5244 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5245 else
5246 ac_cv_use_datetime='wxUSE_DATETIME=no'
5247 fi
5248
5249 else
5250
5251 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5252 if test "x$LINE" != x ; then
5253 eval "DEFAULT_$LINE"
5254 else
5255 no_cache=1
5256 fi
5257
5258 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5259
5260 fi;
5261
5262 eval "$ac_cv_use_datetime"
5263 if test "$no_cache" != 1; then
5264 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5265 fi
5266
5267 if test "$wxUSE_DATETIME" = yes; then
5268 echo "$as_me:$LINENO: result: yes" >&5
5269 echo "${ECHO_T}yes" >&6
5270 else
5271 echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6
5273 fi
5274
5275
5276 enablestring=
5277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5278 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5279 no_cache=0
5280 # Check whether --enable-debugreport or --disable-debugreport was given.
5281 if test "${enable_debugreport+set}" = set; then
5282 enableval="$enable_debugreport"
5283
5284 if test "$enableval" = yes; then
5285 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5286 else
5287 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5288 fi
5289
5290 else
5291
5292 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5293 if test "x$LINE" != x ; then
5294 eval "DEFAULT_$LINE"
5295 else
5296 no_cache=1
5297 fi
5298
5299 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5300
5301 fi;
5302
5303 eval "$ac_cv_use_debugreport"
5304 if test "$no_cache" != 1; then
5305 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5306 fi
5307
5308 if test "$wxUSE_DEBUGREPORT" = yes; then
5309 echo "$as_me:$LINENO: result: yes" >&5
5310 echo "${ECHO_T}yes" >&6
5311 else
5312 echo "$as_me:$LINENO: result: no" >&5
5313 echo "${ECHO_T}no" >&6
5314 fi
5315
5316
5317 enablestring=
5318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5319 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5320 no_cache=0
5321 # Check whether --enable-dialupman or --disable-dialupman was given.
5322 if test "${enable_dialupman+set}" = set; then
5323 enableval="$enable_dialupman"
5324
5325 if test "$enableval" = yes; then
5326 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5327 else
5328 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5329 fi
5330
5331 else
5332
5333 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5334 if test "x$LINE" != x ; then
5335 eval "DEFAULT_$LINE"
5336 else
5337 no_cache=1
5338 fi
5339
5340 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5341
5342 fi;
5343
5344 eval "$ac_cv_use_dialupman"
5345 if test "$no_cache" != 1; then
5346 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5347 fi
5348
5349 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5350 echo "$as_me:$LINENO: result: yes" >&5
5351 echo "${ECHO_T}yes" >&6
5352 else
5353 echo "$as_me:$LINENO: result: no" >&5
5354 echo "${ECHO_T}no" >&6
5355 fi
5356
5357
5358 enablestring=
5359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5361 no_cache=0
5362 # Check whether --enable-dynlib or --disable-dynlib was given.
5363 if test "${enable_dynlib+set}" = set; then
5364 enableval="$enable_dynlib"
5365
5366 if test "$enableval" = yes; then
5367 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5368 else
5369 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5370 fi
5371
5372 else
5373
5374 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5375 if test "x$LINE" != x ; then
5376 eval "DEFAULT_$LINE"
5377 else
5378 no_cache=1
5379 fi
5380
5381 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5382
5383 fi;
5384
5385 eval "$ac_cv_use_dynlib"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5388 fi
5389
5390 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5391 echo "$as_me:$LINENO: result: yes" >&5
5392 echo "${ECHO_T}yes" >&6
5393 else
5394 echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6
5396 fi
5397
5398
5399 enablestring=
5400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5402 no_cache=0
5403 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5404 if test "${enable_dynamicloader+set}" = set; then
5405 enableval="$enable_dynamicloader"
5406
5407 if test "$enableval" = yes; then
5408 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5409 else
5410 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5411 fi
5412
5413 else
5414
5415 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x ; then
5417 eval "DEFAULT_$LINE"
5418 else
5419 no_cache=1
5420 fi
5421
5422 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5423
5424 fi;
5425
5426 eval "$ac_cv_use_dynamicloader"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5429 fi
5430
5431 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5432 echo "$as_me:$LINENO: result: yes" >&5
5433 echo "${ECHO_T}yes" >&6
5434 else
5435 echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6
5437 fi
5438
5439
5440 enablestring=
5441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5443 no_cache=0
5444 # Check whether --enable-exceptions or --disable-exceptions was given.
5445 if test "${enable_exceptions+set}" = set; then
5446 enableval="$enable_exceptions"
5447
5448 if test "$enableval" = yes; then
5449 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5450 else
5451 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5452 fi
5453
5454 else
5455
5456 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5457 if test "x$LINE" != x ; then
5458 eval "DEFAULT_$LINE"
5459 else
5460 no_cache=1
5461 fi
5462
5463 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5464
5465 fi;
5466
5467 eval "$ac_cv_use_exceptions"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5470 fi
5471
5472 if test "$wxUSE_EXCEPTIONS" = yes; then
5473 echo "$as_me:$LINENO: result: yes" >&5
5474 echo "${ECHO_T}yes" >&6
5475 else
5476 echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6
5478 fi
5479
5480
5481 enablestring=
5482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5483 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5484 no_cache=0
5485 # Check whether --enable-ffile or --disable-ffile was given.
5486 if test "${enable_ffile+set}" = set; then
5487 enableval="$enable_ffile"
5488
5489 if test "$enableval" = yes; then
5490 ac_cv_use_ffile='wxUSE_FFILE=yes'
5491 else
5492 ac_cv_use_ffile='wxUSE_FFILE=no'
5493 fi
5494
5495 else
5496
5497 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x ; then
5499 eval "DEFAULT_$LINE"
5500 else
5501 no_cache=1
5502 fi
5503
5504 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5505
5506 fi;
5507
5508 eval "$ac_cv_use_ffile"
5509 if test "$no_cache" != 1; then
5510 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5511 fi
5512
5513 if test "$wxUSE_FFILE" = yes; then
5514 echo "$as_me:$LINENO: result: yes" >&5
5515 echo "${ECHO_T}yes" >&6
5516 else
5517 echo "$as_me:$LINENO: result: no" >&5
5518 echo "${ECHO_T}no" >&6
5519 fi
5520
5521
5522 enablestring=
5523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5525 no_cache=0
5526 # Check whether --enable-file or --disable-file was given.
5527 if test "${enable_file+set}" = set; then
5528 enableval="$enable_file"
5529
5530 if test "$enableval" = yes; then
5531 ac_cv_use_file='wxUSE_FILE=yes'
5532 else
5533 ac_cv_use_file='wxUSE_FILE=no'
5534 fi
5535
5536 else
5537
5538 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5541 else
5542 no_cache=1
5543 fi
5544
5545 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5546
5547 fi;
5548
5549 eval "$ac_cv_use_file"
5550 if test "$no_cache" != 1; then
5551 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5552 fi
5553
5554 if test "$wxUSE_FILE" = yes; then
5555 echo "$as_me:$LINENO: result: yes" >&5
5556 echo "${ECHO_T}yes" >&6
5557 else
5558 echo "$as_me:$LINENO: result: no" >&5
5559 echo "${ECHO_T}no" >&6
5560 fi
5561
5562
5563 enablestring=
5564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5565 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5566 no_cache=0
5567 # Check whether --enable-filesystem or --disable-filesystem was given.
5568 if test "${enable_filesystem+set}" = set; then
5569 enableval="$enable_filesystem"
5570
5571 if test "$enableval" = yes; then
5572 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5573 else
5574 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5575 fi
5576
5577 else
5578
5579 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x ; then
5581 eval "DEFAULT_$LINE"
5582 else
5583 no_cache=1
5584 fi
5585
5586 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5587
5588 fi;
5589
5590 eval "$ac_cv_use_filesystem"
5591 if test "$no_cache" != 1; then
5592 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5593 fi
5594
5595 if test "$wxUSE_FILESYSTEM" = yes; then
5596 echo "$as_me:$LINENO: result: yes" >&5
5597 echo "${ECHO_T}yes" >&6
5598 else
5599 echo "$as_me:$LINENO: result: no" >&5
5600 echo "${ECHO_T}no" >&6
5601 fi
5602
5603
5604 enablestring=
5605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5606 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5607 no_cache=0
5608 # Check whether --enable-fontmap or --disable-fontmap was given.
5609 if test "${enable_fontmap+set}" = set; then
5610 enableval="$enable_fontmap"
5611
5612 if test "$enableval" = yes; then
5613 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5614 else
5615 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5616 fi
5617
5618 else
5619
5620 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x ; then
5622 eval "DEFAULT_$LINE"
5623 else
5624 no_cache=1
5625 fi
5626
5627 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5628
5629 fi;
5630
5631 eval "$ac_cv_use_fontmap"
5632 if test "$no_cache" != 1; then
5633 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5634 fi
5635
5636 if test "$wxUSE_FONTMAP" = yes; then
5637 echo "$as_me:$LINENO: result: yes" >&5
5638 echo "${ECHO_T}yes" >&6
5639 else
5640 echo "$as_me:$LINENO: result: no" >&5
5641 echo "${ECHO_T}no" >&6
5642 fi
5643
5644
5645 enablestring=
5646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5647 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5648 no_cache=0
5649 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5650 if test "${enable_fs_archive+set}" = set; then
5651 enableval="$enable_fs_archive"
5652
5653 if test "$enableval" = yes; then
5654 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5655 else
5656 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5657 fi
5658
5659 else
5660
5661 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x ; then
5663 eval "DEFAULT_$LINE"
5664 else
5665 no_cache=1
5666 fi
5667
5668 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5669
5670 fi;
5671
5672 eval "$ac_cv_use_fs_archive"
5673 if test "$no_cache" != 1; then
5674 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5675 fi
5676
5677 if test "$wxUSE_FS_ARCHIVE" = yes; then
5678 echo "$as_me:$LINENO: result: yes" >&5
5679 echo "${ECHO_T}yes" >&6
5680 else
5681 echo "$as_me:$LINENO: result: no" >&5
5682 echo "${ECHO_T}no" >&6
5683 fi
5684
5685
5686 enablestring=
5687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5688 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5689 no_cache=0
5690 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5691 if test "${enable_fs_inet+set}" = set; then
5692 enableval="$enable_fs_inet"
5693
5694 if test "$enableval" = yes; then
5695 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5696 else
5697 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5698 fi
5699
5700 else
5701
5702 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5705 else
5706 no_cache=1
5707 fi
5708
5709 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5710
5711 fi;
5712
5713 eval "$ac_cv_use_fs_inet"
5714 if test "$no_cache" != 1; then
5715 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5716 fi
5717
5718 if test "$wxUSE_FS_INET" = yes; then
5719 echo "$as_me:$LINENO: result: yes" >&5
5720 echo "${ECHO_T}yes" >&6
5721 else
5722 echo "$as_me:$LINENO: result: no" >&5
5723 echo "${ECHO_T}no" >&6
5724 fi
5725
5726
5727 enablestring=
5728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5729 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5730 no_cache=0
5731 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5732 if test "${enable_fs_zip+set}" = set; then
5733 enableval="$enable_fs_zip"
5734
5735 if test "$enableval" = yes; then
5736 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5737 else
5738 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5739 fi
5740
5741 else
5742
5743 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5746 else
5747 no_cache=1
5748 fi
5749
5750 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5751
5752 fi;
5753
5754 eval "$ac_cv_use_fs_zip"
5755 if test "$no_cache" != 1; then
5756 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5757 fi
5758
5759 if test "$wxUSE_FS_ZIP" = yes; then
5760 echo "$as_me:$LINENO: result: yes" >&5
5761 echo "${ECHO_T}yes" >&6
5762 else
5763 echo "$as_me:$LINENO: result: no" >&5
5764 echo "${ECHO_T}no" >&6
5765 fi
5766
5767
5768 enablestring=
5769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5770 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5771 no_cache=0
5772 # Check whether --enable-geometry or --disable-geometry was given.
5773 if test "${enable_geometry+set}" = set; then
5774 enableval="$enable_geometry"
5775
5776 if test "$enableval" = yes; then
5777 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5778 else
5779 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5780 fi
5781
5782 else
5783
5784 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5785 if test "x$LINE" != x ; then
5786 eval "DEFAULT_$LINE"
5787 else
5788 no_cache=1
5789 fi
5790
5791 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5792
5793 fi;
5794
5795 eval "$ac_cv_use_geometry"
5796 if test "$no_cache" != 1; then
5797 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5798 fi
5799
5800 if test "$wxUSE_GEOMETRY" = yes; then
5801 echo "$as_me:$LINENO: result: yes" >&5
5802 echo "${ECHO_T}yes" >&6
5803 else
5804 echo "$as_me:$LINENO: result: no" >&5
5805 echo "${ECHO_T}no" >&6
5806 fi
5807
5808
5809 enablestring=
5810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5811 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5812 no_cache=0
5813 # Check whether --enable-log or --disable-log was given.
5814 if test "${enable_log+set}" = set; then
5815 enableval="$enable_log"
5816
5817 if test "$enableval" = yes; then
5818 ac_cv_use_log='wxUSE_LOG=yes'
5819 else
5820 ac_cv_use_log='wxUSE_LOG=no'
5821 fi
5822
5823 else
5824
5825 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5826 if test "x$LINE" != x ; then
5827 eval "DEFAULT_$LINE"
5828 else
5829 no_cache=1
5830 fi
5831
5832 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5833
5834 fi;
5835
5836 eval "$ac_cv_use_log"
5837 if test "$no_cache" != 1; then
5838 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5839 fi
5840
5841 if test "$wxUSE_LOG" = yes; then
5842 echo "$as_me:$LINENO: result: yes" >&5
5843 echo "${ECHO_T}yes" >&6
5844 else
5845 echo "$as_me:$LINENO: result: no" >&5
5846 echo "${ECHO_T}no" >&6
5847 fi
5848
5849
5850 enablestring=
5851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5852 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5853 no_cache=0
5854 # Check whether --enable-longlong or --disable-longlong was given.
5855 if test "${enable_longlong+set}" = set; then
5856 enableval="$enable_longlong"
5857
5858 if test "$enableval" = yes; then
5859 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5860 else
5861 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5862 fi
5863
5864 else
5865
5866 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5867 if test "x$LINE" != x ; then
5868 eval "DEFAULT_$LINE"
5869 else
5870 no_cache=1
5871 fi
5872
5873 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5874
5875 fi;
5876
5877 eval "$ac_cv_use_longlong"
5878 if test "$no_cache" != 1; then
5879 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5880 fi
5881
5882 if test "$wxUSE_LONGLONG" = yes; then
5883 echo "$as_me:$LINENO: result: yes" >&5
5884 echo "${ECHO_T}yes" >&6
5885 else
5886 echo "$as_me:$LINENO: result: no" >&5
5887 echo "${ECHO_T}no" >&6
5888 fi
5889
5890
5891 enablestring=
5892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5893 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5894 no_cache=0
5895 # Check whether --enable-mimetype or --disable-mimetype was given.
5896 if test "${enable_mimetype+set}" = set; then
5897 enableval="$enable_mimetype"
5898
5899 if test "$enableval" = yes; then
5900 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5901 else
5902 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5903 fi
5904
5905 else
5906
5907 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5908 if test "x$LINE" != x ; then
5909 eval "DEFAULT_$LINE"
5910 else
5911 no_cache=1
5912 fi
5913
5914 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5915
5916 fi;
5917
5918 eval "$ac_cv_use_mimetype"
5919 if test "$no_cache" != 1; then
5920 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5921 fi
5922
5923 if test "$wxUSE_MIMETYPE" = yes; then
5924 echo "$as_me:$LINENO: result: yes" >&5
5925 echo "${ECHO_T}yes" >&6
5926 else
5927 echo "$as_me:$LINENO: result: no" >&5
5928 echo "${ECHO_T}no" >&6
5929 fi
5930
5931
5932 enablestring=
5933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5934 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5935 no_cache=0
5936 # Check whether --enable-mslu or --disable-mslu was given.
5937 if test "${enable_mslu+set}" = set; then
5938 enableval="$enable_mslu"
5939
5940 if test "$enableval" = yes; then
5941 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5942 else
5943 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5944 fi
5945
5946 else
5947
5948 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x ; then
5950 eval "DEFAULT_$LINE"
5951 else
5952 no_cache=1
5953 fi
5954
5955 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5956
5957 fi;
5958
5959 eval "$ac_cv_use_mslu"
5960 if test "$no_cache" != 1; then
5961 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5962 fi
5963
5964 if test "$wxUSE_UNICODE_MSLU" = yes; then
5965 echo "$as_me:$LINENO: result: yes" >&5
5966 echo "${ECHO_T}yes" >&6
5967 else
5968 echo "$as_me:$LINENO: result: no" >&5
5969 echo "${ECHO_T}no" >&6
5970 fi
5971
5972
5973 enablestring=
5974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5976 no_cache=0
5977 # Check whether --enable-snglinst or --disable-snglinst was given.
5978 if test "${enable_snglinst+set}" = set; then
5979 enableval="$enable_snglinst"
5980
5981 if test "$enableval" = yes; then
5982 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5983 else
5984 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5985 fi
5986
5987 else
5988
5989 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5990 if test "x$LINE" != x ; then
5991 eval "DEFAULT_$LINE"
5992 else
5993 no_cache=1
5994 fi
5995
5996 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5997
5998 fi;
5999
6000 eval "$ac_cv_use_snglinst"
6001 if test "$no_cache" != 1; then
6002 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6003 fi
6004
6005 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6006 echo "$as_me:$LINENO: result: yes" >&5
6007 echo "${ECHO_T}yes" >&6
6008 else
6009 echo "$as_me:$LINENO: result: no" >&5
6010 echo "${ECHO_T}no" >&6
6011 fi
6012
6013
6014 enablestring=
6015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6016 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
6017 no_cache=0
6018 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
6019 if test "${enable_std_iostreams+set}" = set; then
6020 enableval="$enable_std_iostreams"
6021
6022 if test "$enableval" = yes; then
6023 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6024 else
6025 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6026 fi
6027
6028 else
6029
6030 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6031 if test "x$LINE" != x ; then
6032 eval "DEFAULT_$LINE"
6033 else
6034 no_cache=1
6035 fi
6036
6037 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6038
6039 fi;
6040
6041 eval "$ac_cv_use_std_iostreams"
6042 if test "$no_cache" != 1; then
6043 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6044 fi
6045
6046 if test "$wxUSE_STD_IOSTREAM" = yes; then
6047 echo "$as_me:$LINENO: result: yes" >&5
6048 echo "${ECHO_T}yes" >&6
6049 else
6050 echo "$as_me:$LINENO: result: no" >&5
6051 echo "${ECHO_T}no" >&6
6052 fi
6053
6054
6055 enablestring=
6056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6057 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6058 no_cache=0
6059 # Check whether --enable-std_string or --disable-std_string was given.
6060 if test "${enable_std_string+set}" = set; then
6061 enableval="$enable_std_string"
6062
6063 if test "$enableval" = yes; then
6064 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6065 else
6066 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6067 fi
6068
6069 else
6070
6071 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6072 if test "x$LINE" != x ; then
6073 eval "DEFAULT_$LINE"
6074 else
6075 no_cache=1
6076 fi
6077
6078 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6079
6080 fi;
6081
6082 eval "$ac_cv_use_std_string"
6083 if test "$no_cache" != 1; then
6084 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6085 fi
6086
6087 if test "$wxUSE_STD_STRING" = yes; then
6088 echo "$as_me:$LINENO: result: yes" >&5
6089 echo "${ECHO_T}yes" >&6
6090 else
6091 echo "$as_me:$LINENO: result: no" >&5
6092 echo "${ECHO_T}no" >&6
6093 fi
6094
6095
6096 enablestring=
6097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6098 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6099 no_cache=0
6100 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6101 if test "${enable_stdpaths+set}" = set; then
6102 enableval="$enable_stdpaths"
6103
6104 if test "$enableval" = yes; then
6105 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6106 else
6107 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6108 fi
6109
6110 else
6111
6112 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6113 if test "x$LINE" != x ; then
6114 eval "DEFAULT_$LINE"
6115 else
6116 no_cache=1
6117 fi
6118
6119 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6120
6121 fi;
6122
6123 eval "$ac_cv_use_stdpaths"
6124 if test "$no_cache" != 1; then
6125 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6126 fi
6127
6128 if test "$wxUSE_STDPATHS" = yes; then
6129 echo "$as_me:$LINENO: result: yes" >&5
6130 echo "${ECHO_T}yes" >&6
6131 else
6132 echo "$as_me:$LINENO: result: no" >&5
6133 echo "${ECHO_T}no" >&6
6134 fi
6135
6136
6137 enablestring=
6138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6139 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6140 no_cache=0
6141 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6142 if test "${enable_stopwatch+set}" = set; then
6143 enableval="$enable_stopwatch"
6144
6145 if test "$enableval" = yes; then
6146 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6147 else
6148 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6149 fi
6150
6151 else
6152
6153 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6154 if test "x$LINE" != x ; then
6155 eval "DEFAULT_$LINE"
6156 else
6157 no_cache=1
6158 fi
6159
6160 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6161
6162 fi;
6163
6164 eval "$ac_cv_use_stopwatch"
6165 if test "$no_cache" != 1; then
6166 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6167 fi
6168
6169 if test "$wxUSE_STOPWATCH" = yes; then
6170 echo "$as_me:$LINENO: result: yes" >&5
6171 echo "${ECHO_T}yes" >&6
6172 else
6173 echo "$as_me:$LINENO: result: no" >&5
6174 echo "${ECHO_T}no" >&6
6175 fi
6176
6177
6178 enablestring=
6179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6180 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6181 no_cache=0
6182 # Check whether --enable-streams or --disable-streams was given.
6183 if test "${enable_streams+set}" = set; then
6184 enableval="$enable_streams"
6185
6186 if test "$enableval" = yes; then
6187 ac_cv_use_streams='wxUSE_STREAMS=yes'
6188 else
6189 ac_cv_use_streams='wxUSE_STREAMS=no'
6190 fi
6191
6192 else
6193
6194 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6195 if test "x$LINE" != x ; then
6196 eval "DEFAULT_$LINE"
6197 else
6198 no_cache=1
6199 fi
6200
6201 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6202
6203 fi;
6204
6205 eval "$ac_cv_use_streams"
6206 if test "$no_cache" != 1; then
6207 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6208 fi
6209
6210 if test "$wxUSE_STREAMS" = yes; then
6211 echo "$as_me:$LINENO: result: yes" >&5
6212 echo "${ECHO_T}yes" >&6
6213 else
6214 echo "$as_me:$LINENO: result: no" >&5
6215 echo "${ECHO_T}no" >&6
6216 fi
6217
6218
6219 enablestring=
6220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6221 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6222 no_cache=0
6223 # Check whether --enable-system_options or --disable-system_options was given.
6224 if test "${enable_system_options+set}" = set; then
6225 enableval="$enable_system_options"
6226
6227 if test "$enableval" = yes; then
6228 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6229 else
6230 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6231 fi
6232
6233 else
6234
6235 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6236 if test "x$LINE" != x ; then
6237 eval "DEFAULT_$LINE"
6238 else
6239 no_cache=1
6240 fi
6241
6242 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6243
6244 fi;
6245
6246 eval "$ac_cv_use_system_options"
6247 if test "$no_cache" != 1; then
6248 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6249 fi
6250
6251 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6252 echo "$as_me:$LINENO: result: yes" >&5
6253 echo "${ECHO_T}yes" >&6
6254 else
6255 echo "$as_me:$LINENO: result: no" >&5
6256 echo "${ECHO_T}no" >&6
6257 fi
6258
6259
6260 enablestring=
6261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6262 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6263 no_cache=0
6264 # Check whether --enable-tarstream or --disable-tarstream was given.
6265 if test "${enable_tarstream+set}" = set; then
6266 enableval="$enable_tarstream"
6267
6268 if test "$enableval" = yes; then
6269 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6270 else
6271 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6272 fi
6273
6274 else
6275
6276 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6277 if test "x$LINE" != x ; then
6278 eval "DEFAULT_$LINE"
6279 else
6280 no_cache=1
6281 fi
6282
6283 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6284
6285 fi;
6286
6287 eval "$ac_cv_use_tarstream"
6288 if test "$no_cache" != 1; then
6289 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6290 fi
6291
6292 if test "$wxUSE_TARSTREAM" = yes; then
6293 echo "$as_me:$LINENO: result: yes" >&5
6294 echo "${ECHO_T}yes" >&6
6295 else
6296 echo "$as_me:$LINENO: result: no" >&5
6297 echo "${ECHO_T}no" >&6
6298 fi
6299
6300
6301 enablestring=
6302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6303 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6304 no_cache=0
6305 # Check whether --enable-textbuf or --disable-textbuf was given.
6306 if test "${enable_textbuf+set}" = set; then
6307 enableval="$enable_textbuf"
6308
6309 if test "$enableval" = yes; then
6310 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6311 else
6312 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6313 fi
6314
6315 else
6316
6317 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6318 if test "x$LINE" != x ; then
6319 eval "DEFAULT_$LINE"
6320 else
6321 no_cache=1
6322 fi
6323
6324 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6325
6326 fi;
6327
6328 eval "$ac_cv_use_textbuf"
6329 if test "$no_cache" != 1; then
6330 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6331 fi
6332
6333 if test "$wxUSE_TEXTBUFFER" = yes; then
6334 echo "$as_me:$LINENO: result: yes" >&5
6335 echo "${ECHO_T}yes" >&6
6336 else
6337 echo "$as_me:$LINENO: result: no" >&5
6338 echo "${ECHO_T}no" >&6
6339 fi
6340
6341
6342 enablestring=
6343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6344 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6345 no_cache=0
6346 # Check whether --enable-textfile or --disable-textfile was given.
6347 if test "${enable_textfile+set}" = set; then
6348 enableval="$enable_textfile"
6349
6350 if test "$enableval" = yes; then
6351 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6352 else
6353 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6354 fi
6355
6356 else
6357
6358 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x ; then
6360 eval "DEFAULT_$LINE"
6361 else
6362 no_cache=1
6363 fi
6364
6365 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6366
6367 fi;
6368
6369 eval "$ac_cv_use_textfile"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6372 fi
6373
6374 if test "$wxUSE_TEXTFILE" = yes; then
6375 echo "$as_me:$LINENO: result: yes" >&5
6376 echo "${ECHO_T}yes" >&6
6377 else
6378 echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6
6380 fi
6381
6382
6383 enablestring=
6384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6385 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6386 no_cache=0
6387 # Check whether --enable-timer or --disable-timer was given.
6388 if test "${enable_timer+set}" = set; then
6389 enableval="$enable_timer"
6390
6391 if test "$enableval" = yes; then
6392 ac_cv_use_timer='wxUSE_TIMER=yes'
6393 else
6394 ac_cv_use_timer='wxUSE_TIMER=no'
6395 fi
6396
6397 else
6398
6399 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6400 if test "x$LINE" != x ; then
6401 eval "DEFAULT_$LINE"
6402 else
6403 no_cache=1
6404 fi
6405
6406 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6407
6408 fi;
6409
6410 eval "$ac_cv_use_timer"
6411 if test "$no_cache" != 1; then
6412 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6413 fi
6414
6415 if test "$wxUSE_TIMER" = yes; then
6416 echo "$as_me:$LINENO: result: yes" >&5
6417 echo "${ECHO_T}yes" >&6
6418 else
6419 echo "$as_me:$LINENO: result: no" >&5
6420 echo "${ECHO_T}no" >&6
6421 fi
6422
6423
6424 enablestring=
6425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6426 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6427 no_cache=0
6428 # Check whether --enable-unicode or --disable-unicode was given.
6429 if test "${enable_unicode+set}" = set; then
6430 enableval="$enable_unicode"
6431
6432 if test "$enableval" = yes; then
6433 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6434 else
6435 ac_cv_use_unicode='wxUSE_UNICODE=no'
6436 fi
6437
6438 else
6439
6440 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6441 if test "x$LINE" != x ; then
6442 eval "DEFAULT_$LINE"
6443 else
6444 no_cache=1
6445 fi
6446
6447 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6448
6449 fi;
6450
6451 eval "$ac_cv_use_unicode"
6452 if test "$no_cache" != 1; then
6453 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6454 fi
6455
6456 if test "$wxUSE_UNICODE" = yes; then
6457 echo "$as_me:$LINENO: result: yes" >&5
6458 echo "${ECHO_T}yes" >&6
6459 else
6460 echo "$as_me:$LINENO: result: no" >&5
6461 echo "${ECHO_T}no" >&6
6462 fi
6463
6464
6465 enablestring=
6466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6468 no_cache=0
6469 # Check whether --enable-sound or --disable-sound was given.
6470 if test "${enable_sound+set}" = set; then
6471 enableval="$enable_sound"
6472
6473 if test "$enableval" = yes; then
6474 ac_cv_use_sound='wxUSE_SOUND=yes'
6475 else
6476 ac_cv_use_sound='wxUSE_SOUND=no'
6477 fi
6478
6479 else
6480
6481 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6482 if test "x$LINE" != x ; then
6483 eval "DEFAULT_$LINE"
6484 else
6485 no_cache=1
6486 fi
6487
6488 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6489
6490 fi;
6491
6492 eval "$ac_cv_use_sound"
6493 if test "$no_cache" != 1; then
6494 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6495 fi
6496
6497 if test "$wxUSE_SOUND" = yes; then
6498 echo "$as_me:$LINENO: result: yes" >&5
6499 echo "${ECHO_T}yes" >&6
6500 else
6501 echo "$as_me:$LINENO: result: no" >&5
6502 echo "${ECHO_T}no" >&6
6503 fi
6504
6505
6506 enablestring=
6507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6509 no_cache=0
6510 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6511 if test "${enable_mediactrl+set}" = set; then
6512 enableval="$enable_mediactrl"
6513
6514 if test "$enableval" = yes; then
6515 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6516 else
6517 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6518 fi
6519
6520 else
6521
6522 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6523 if test "x$LINE" != x ; then
6524 eval "DEFAULT_$LINE"
6525 else
6526 no_cache=1
6527 fi
6528
6529 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6530
6531 fi;
6532
6533 eval "$ac_cv_use_mediactrl"
6534 if test "$no_cache" != 1; then
6535 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6536 fi
6537
6538 if test "$wxUSE_MEDIACTRL" = yes; then
6539 echo "$as_me:$LINENO: result: yes" >&5
6540 echo "${ECHO_T}yes" >&6
6541 else
6542 echo "$as_me:$LINENO: result: no" >&5
6543 echo "${ECHO_T}no" >&6
6544 fi
6545
6546
6547 enablestring=
6548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6549 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6550 no_cache=0
6551 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6552 if test "${enable_gstreamer8+set}" = set; then
6553 enableval="$enable_gstreamer8"
6554
6555 if test "$enableval" = yes; then
6556 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6557 else
6558 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6559 fi
6560
6561 else
6562
6563 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6564 if test "x$LINE" != x ; then
6565 eval "DEFAULT_$LINE"
6566 else
6567 no_cache=1
6568 fi
6569
6570 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6571
6572 fi;
6573
6574 eval "$ac_cv_use_gstreamer8"
6575 if test "$no_cache" != 1; then
6576 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6577 fi
6578
6579 if test "$wxUSE_GSTREAMER8" = yes; then
6580 echo "$as_me:$LINENO: result: yes" >&5
6581 echo "${ECHO_T}yes" >&6
6582 else
6583 echo "$as_me:$LINENO: result: no" >&5
6584 echo "${ECHO_T}no" >&6
6585 fi
6586
6587
6588 enablestring=
6589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6590 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6591 no_cache=0
6592 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6593 if test "${enable_printfposparam+set}" = set; then
6594 enableval="$enable_printfposparam"
6595
6596 if test "$enableval" = yes; then
6597 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6598 else
6599 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6600 fi
6601
6602 else
6603
6604 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6605 if test "x$LINE" != x ; then
6606 eval "DEFAULT_$LINE"
6607 else
6608 no_cache=1
6609 fi
6610
6611 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6612
6613 fi;
6614
6615 eval "$ac_cv_use_printfposparam"
6616 if test "$no_cache" != 1; then
6617 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6618 fi
6619
6620 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6621 echo "$as_me:$LINENO: result: yes" >&5
6622 echo "${ECHO_T}yes" >&6
6623 else
6624 echo "$as_me:$LINENO: result: no" >&5
6625 echo "${ECHO_T}no" >&6
6626 fi
6627
6628
6629 enablestring=
6630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6631 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6632 no_cache=0
6633 # Check whether --enable-zipstream or --disable-zipstream was given.
6634 if test "${enable_zipstream+set}" = set; then
6635 enableval="$enable_zipstream"
6636
6637 if test "$enableval" = yes; then
6638 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6639 else
6640 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6641 fi
6642
6643 else
6644
6645 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6646 if test "x$LINE" != x ; then
6647 eval "DEFAULT_$LINE"
6648 else
6649 no_cache=1
6650 fi
6651
6652 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6653
6654 fi;
6655
6656 eval "$ac_cv_use_zipstream"
6657 if test "$no_cache" != 1; then
6658 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6659 fi
6660
6661 if test "$wxUSE_ZIPSTREAM" = yes; then
6662 echo "$as_me:$LINENO: result: yes" >&5
6663 echo "${ECHO_T}yes" >&6
6664 else
6665 echo "$as_me:$LINENO: result: no" >&5
6666 echo "${ECHO_T}no" >&6
6667 fi
6668
6669
6670
6671 enablestring=
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6674 no_cache=0
6675 # Check whether --enable-url or --disable-url was given.
6676 if test "${enable_url+set}" = set; then
6677 enableval="$enable_url"
6678
6679 if test "$enableval" = yes; then
6680 ac_cv_use_url='wxUSE_URL=yes'
6681 else
6682 ac_cv_use_url='wxUSE_URL=no'
6683 fi
6684
6685 else
6686
6687 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x ; then
6689 eval "DEFAULT_$LINE"
6690 else
6691 no_cache=1
6692 fi
6693
6694 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6695
6696 fi;
6697
6698 eval "$ac_cv_use_url"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6701 fi
6702
6703 if test "$wxUSE_URL" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6706 else
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6709 fi
6710
6711
6712 enablestring=
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6715 no_cache=0
6716 # Check whether --enable-variant or --disable-variant was given.
6717 if test "${enable_variant+set}" = set; then
6718 enableval="$enable_variant"
6719
6720 if test "$enableval" = yes; then
6721 ac_cv_use_variant='wxUSE_VARIANT=yes'
6722 else
6723 ac_cv_use_variant='wxUSE_VARIANT=no'
6724 fi
6725
6726 else
6727
6728 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x ; then
6730 eval "DEFAULT_$LINE"
6731 else
6732 no_cache=1
6733 fi
6734
6735 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6736
6737 fi;
6738
6739 eval "$ac_cv_use_variant"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6742 fi
6743
6744 if test "$wxUSE_VARIANT" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6747 else
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6750 fi
6751
6752
6753 enablestring=
6754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6756 no_cache=0
6757 # Check whether --enable-protocol or --disable-protocol was given.
6758 if test "${enable_protocol+set}" = set; then
6759 enableval="$enable_protocol"
6760
6761 if test "$enableval" = yes; then
6762 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6763 else
6764 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6765 fi
6766
6767 else
6768
6769 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6770 if test "x$LINE" != x ; then
6771 eval "DEFAULT_$LINE"
6772 else
6773 no_cache=1
6774 fi
6775
6776 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6777
6778 fi;
6779
6780 eval "$ac_cv_use_protocol"
6781 if test "$no_cache" != 1; then
6782 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6783 fi
6784
6785 if test "$wxUSE_PROTOCOL" = yes; then
6786 echo "$as_me:$LINENO: result: yes" >&5
6787 echo "${ECHO_T}yes" >&6
6788 else
6789 echo "$as_me:$LINENO: result: no" >&5
6790 echo "${ECHO_T}no" >&6
6791 fi
6792
6793
6794 enablestring=
6795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6796 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6797 no_cache=0
6798 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6799 if test "${enable_protocol_http+set}" = set; then
6800 enableval="$enable_protocol_http"
6801
6802 if test "$enableval" = yes; then
6803 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6804 else
6805 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6806 fi
6807
6808 else
6809
6810 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x ; then
6812 eval "DEFAULT_$LINE"
6813 else
6814 no_cache=1
6815 fi
6816
6817 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6818
6819 fi;
6820
6821 eval "$ac_cv_use_protocol_http"
6822 if test "$no_cache" != 1; then
6823 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6824 fi
6825
6826 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6827 echo "$as_me:$LINENO: result: yes" >&5
6828 echo "${ECHO_T}yes" >&6
6829 else
6830 echo "$as_me:$LINENO: result: no" >&5
6831 echo "${ECHO_T}no" >&6
6832 fi
6833
6834
6835 enablestring=
6836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6837 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6838 no_cache=0
6839 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6840 if test "${enable_protocol_ftp+set}" = set; then
6841 enableval="$enable_protocol_ftp"
6842
6843 if test "$enableval" = yes; then
6844 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6845 else
6846 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6847 fi
6848
6849 else
6850
6851 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6852 if test "x$LINE" != x ; then
6853 eval "DEFAULT_$LINE"
6854 else
6855 no_cache=1
6856 fi
6857
6858 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6859
6860 fi;
6861
6862 eval "$ac_cv_use_protocol_ftp"
6863 if test "$no_cache" != 1; then
6864 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6865 fi
6866
6867 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6868 echo "$as_me:$LINENO: result: yes" >&5
6869 echo "${ECHO_T}yes" >&6
6870 else
6871 echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6
6873 fi
6874
6875
6876 enablestring=
6877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6879 no_cache=0
6880 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6881 if test "${enable_protocol_file+set}" = set; then
6882 enableval="$enable_protocol_file"
6883
6884 if test "$enableval" = yes; then
6885 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6886 else
6887 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6888 fi
6889
6890 else
6891
6892 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6893 if test "x$LINE" != x ; then
6894 eval "DEFAULT_$LINE"
6895 else
6896 no_cache=1
6897 fi
6898
6899 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6900
6901 fi;
6902
6903 eval "$ac_cv_use_protocol_file"
6904 if test "$no_cache" != 1; then
6905 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6906 fi
6907
6908 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6909 echo "$as_me:$LINENO: result: yes" >&5
6910 echo "${ECHO_T}yes" >&6
6911 else
6912 echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6
6914 fi
6915
6916
6917
6918
6919
6920 enablestring=
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6922 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6923 no_cache=0
6924 # Check whether --enable-threads or --disable-threads was given.
6925 if test "${enable_threads+set}" = set; then
6926 enableval="$enable_threads"
6927
6928 if test "$enableval" = yes; then
6929 ac_cv_use_threads='wxUSE_THREADS=yes'
6930 else
6931 ac_cv_use_threads='wxUSE_THREADS=no'
6932 fi
6933
6934 else
6935
6936 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x ; then
6938 eval "DEFAULT_$LINE"
6939 else
6940 no_cache=1
6941 fi
6942
6943 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6944
6945 fi;
6946
6947 eval "$ac_cv_use_threads"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6950 fi
6951
6952 if test "$wxUSE_THREADS" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954 echo "${ECHO_T}yes" >&6
6955 else
6956 echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6
6958 fi
6959
6960
6961 if test "$wxUSE_GUI" = "yes"; then
6962
6963
6964
6965 enablestring=
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6968 no_cache=0
6969 # Check whether --enable-docview or --disable-docview was given.
6970 if test "${enable_docview+set}" = set; then
6971 enableval="$enable_docview"
6972
6973 if test "$enableval" = yes; then
6974 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6975 else
6976 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6977 fi
6978
6979 else
6980
6981 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x ; then
6983 eval "DEFAULT_$LINE"
6984 else
6985 no_cache=1
6986 fi
6987
6988 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6989
6990 fi;
6991
6992 eval "$ac_cv_use_docview"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6995 fi
6996
6997 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999 echo "${ECHO_T}yes" >&6
7000 else
7001 echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6
7003 fi
7004
7005
7006 enablestring=
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
7009 no_cache=0
7010 # Check whether --enable-help or --disable-help was given.
7011 if test "${enable_help+set}" = set; then
7012 enableval="$enable_help"
7013
7014 if test "$enableval" = yes; then
7015 ac_cv_use_help='wxUSE_HELP=yes'
7016 else
7017 ac_cv_use_help='wxUSE_HELP=no'
7018 fi
7019
7020 else
7021
7022 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x ; then
7024 eval "DEFAULT_$LINE"
7025 else
7026 no_cache=1
7027 fi
7028
7029 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7030
7031 fi;
7032
7033 eval "$ac_cv_use_help"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7036 fi
7037
7038 if test "$wxUSE_HELP" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7041 else
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7044 fi
7045
7046
7047 enablestring=
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7050 no_cache=0
7051 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7052 if test "${enable_mshtmlhelp+set}" = set; then
7053 enableval="$enable_mshtmlhelp"
7054
7055 if test "$enableval" = yes; then
7056 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7057 else
7058 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7059 fi
7060
7061 else
7062
7063 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x ; then
7065 eval "DEFAULT_$LINE"
7066 else
7067 no_cache=1
7068 fi
7069
7070 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7071
7072 fi;
7073
7074 eval "$ac_cv_use_mshtmlhelp"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7077 fi
7078
7079 if test "$wxUSE_MS_HTML_HELP" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7082 else
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7085 fi
7086
7087
7088 enablestring=
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7091 no_cache=0
7092 # Check whether --enable-html or --disable-html was given.
7093 if test "${enable_html+set}" = set; then
7094 enableval="$enable_html"
7095
7096 if test "$enableval" = yes; then
7097 ac_cv_use_html='wxUSE_HTML=yes'
7098 else
7099 ac_cv_use_html='wxUSE_HTML=no'
7100 fi
7101
7102 else
7103
7104 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x ; then
7106 eval "DEFAULT_$LINE"
7107 else
7108 no_cache=1
7109 fi
7110
7111 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7112
7113 fi;
7114
7115 eval "$ac_cv_use_html"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7118 fi
7119
7120 if test "$wxUSE_HTML" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122 echo "${ECHO_T}yes" >&6
7123 else
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7126 fi
7127
7128
7129 enablestring=
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7132 no_cache=0
7133 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7134 if test "${enable_htmlhelp+set}" = set; then
7135 enableval="$enable_htmlhelp"
7136
7137 if test "$enableval" = yes; then
7138 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7139 else
7140 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7141 fi
7142
7143 else
7144
7145 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x ; then
7147 eval "DEFAULT_$LINE"
7148 else
7149 no_cache=1
7150 fi
7151
7152 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7153
7154 fi;
7155
7156 eval "$ac_cv_use_htmlhelp"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7159 fi
7160
7161 if test "$wxUSE_WXHTML_HELP" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163 echo "${ECHO_T}yes" >&6
7164 else
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7167 fi
7168
7169
7170 enablestring=
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7173 no_cache=0
7174 # Check whether --enable-xrc or --disable-xrc was given.
7175 if test "${enable_xrc+set}" = set; then
7176 enableval="$enable_xrc"
7177
7178 if test "$enableval" = yes; then
7179 ac_cv_use_xrc='wxUSE_XRC=yes'
7180 else
7181 ac_cv_use_xrc='wxUSE_XRC=no'
7182 fi
7183
7184 else
7185
7186 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x ; then
7188 eval "DEFAULT_$LINE"
7189 else
7190 no_cache=1
7191 fi
7192
7193 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7194
7195 fi;
7196
7197 eval "$ac_cv_use_xrc"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7200 fi
7201
7202 if test "$wxUSE_XRC" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204 echo "${ECHO_T}yes" >&6
7205 else
7206 echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6
7208 fi
7209
7210
7211 enablestring=
7212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7214 no_cache=0
7215 # Check whether --enable-aui or --disable-aui was given.
7216 if test "${enable_aui+set}" = set; then
7217 enableval="$enable_aui"
7218
7219 if test "$enableval" = yes; then
7220 ac_cv_use_aui='wxUSE_AUI=yes'
7221 else
7222 ac_cv_use_aui='wxUSE_AUI=no'
7223 fi
7224
7225 else
7226
7227 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7228 if test "x$LINE" != x ; then
7229 eval "DEFAULT_$LINE"
7230 else
7231 no_cache=1
7232 fi
7233
7234 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7235
7236 fi;
7237
7238 eval "$ac_cv_use_aui"
7239 if test "$no_cache" != 1; then
7240 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7241 fi
7242
7243 if test "$wxUSE_AUI" = yes; then
7244 echo "$as_me:$LINENO: result: yes" >&5
7245 echo "${ECHO_T}yes" >&6
7246 else
7247 echo "$as_me:$LINENO: result: no" >&5
7248 echo "${ECHO_T}no" >&6
7249 fi
7250
7251
7252 enablestring=
7253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7255 no_cache=0
7256 # Check whether --enable-constraints or --disable-constraints was given.
7257 if test "${enable_constraints+set}" = set; then
7258 enableval="$enable_constraints"
7259
7260 if test "$enableval" = yes; then
7261 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7262 else
7263 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7264 fi
7265
7266 else
7267
7268 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x ; then
7270 eval "DEFAULT_$LINE"
7271 else
7272 no_cache=1
7273 fi
7274
7275 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7276
7277 fi;
7278
7279 eval "$ac_cv_use_constraints"
7280 if test "$no_cache" != 1; then
7281 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7282 fi
7283
7284 if test "$wxUSE_CONSTRAINTS" = yes; then
7285 echo "$as_me:$LINENO: result: yes" >&5
7286 echo "${ECHO_T}yes" >&6
7287 else
7288 echo "$as_me:$LINENO: result: no" >&5
7289 echo "${ECHO_T}no" >&6
7290 fi
7291
7292
7293 enablestring=
7294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7295 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7296 no_cache=0
7297 # Check whether --enable-printarch or --disable-printarch was given.
7298 if test "${enable_printarch+set}" = set; then
7299 enableval="$enable_printarch"
7300
7301 if test "$enableval" = yes; then
7302 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7303 else
7304 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7305 fi
7306
7307 else
7308
7309 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7310 if test "x$LINE" != x ; then
7311 eval "DEFAULT_$LINE"
7312 else
7313 no_cache=1
7314 fi
7315
7316 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7317
7318 fi;
7319
7320 eval "$ac_cv_use_printarch"
7321 if test "$no_cache" != 1; then
7322 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7323 fi
7324
7325 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7326 echo "$as_me:$LINENO: result: yes" >&5
7327 echo "${ECHO_T}yes" >&6
7328 else
7329 echo "$as_me:$LINENO: result: no" >&5
7330 echo "${ECHO_T}no" >&6
7331 fi
7332
7333
7334 enablestring=
7335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7336 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7337 no_cache=0
7338 # Check whether --enable-mdi or --disable-mdi was given.
7339 if test "${enable_mdi+set}" = set; then
7340 enableval="$enable_mdi"
7341
7342 if test "$enableval" = yes; then
7343 ac_cv_use_mdi='wxUSE_MDI=yes'
7344 else
7345 ac_cv_use_mdi='wxUSE_MDI=no'
7346 fi
7347
7348 else
7349
7350 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7351 if test "x$LINE" != x ; then
7352 eval "DEFAULT_$LINE"
7353 else
7354 no_cache=1
7355 fi
7356
7357 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7358
7359 fi;
7360
7361 eval "$ac_cv_use_mdi"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7364 fi
7365
7366 if test "$wxUSE_MDI" = yes; then
7367 echo "$as_me:$LINENO: result: yes" >&5
7368 echo "${ECHO_T}yes" >&6
7369 else
7370 echo "$as_me:$LINENO: result: no" >&5
7371 echo "${ECHO_T}no" >&6
7372 fi
7373
7374
7375 enablestring=
7376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7377 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7378 no_cache=0
7379 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7380 if test "${enable_mdidoc+set}" = set; then
7381 enableval="$enable_mdidoc"
7382
7383 if test "$enableval" = yes; then
7384 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7385 else
7386 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7387 fi
7388
7389 else
7390
7391 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x ; then
7393 eval "DEFAULT_$LINE"
7394 else
7395 no_cache=1
7396 fi
7397
7398 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7399
7400 fi;
7401
7402 eval "$ac_cv_use_mdidoc"
7403 if test "$no_cache" != 1; then
7404 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7405 fi
7406
7407 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7408 echo "$as_me:$LINENO: result: yes" >&5
7409 echo "${ECHO_T}yes" >&6
7410 else
7411 echo "$as_me:$LINENO: result: no" >&5
7412 echo "${ECHO_T}no" >&6
7413 fi
7414
7415
7416 enablestring=
7417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7418 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7419 no_cache=0
7420 # Check whether --enable-loggui or --disable-loggui was given.
7421 if test "${enable_loggui+set}" = set; then
7422 enableval="$enable_loggui"
7423
7424 if test "$enableval" = yes; then
7425 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7426 else
7427 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7428 fi
7429
7430 else
7431
7432 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x ; then
7434 eval "DEFAULT_$LINE"
7435 else
7436 no_cache=1
7437 fi
7438
7439 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7440
7441 fi;
7442
7443 eval "$ac_cv_use_loggui"
7444 if test "$no_cache" != 1; then
7445 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7446 fi
7447
7448 if test "$wxUSE_LOGGUI" = yes; then
7449 echo "$as_me:$LINENO: result: yes" >&5
7450 echo "${ECHO_T}yes" >&6
7451 else
7452 echo "$as_me:$LINENO: result: no" >&5
7453 echo "${ECHO_T}no" >&6
7454 fi
7455
7456
7457 enablestring=
7458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7459 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7460 no_cache=0
7461 # Check whether --enable-logwin or --disable-logwin was given.
7462 if test "${enable_logwin+set}" = set; then
7463 enableval="$enable_logwin"
7464
7465 if test "$enableval" = yes; then
7466 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7467 else
7468 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7469 fi
7470
7471 else
7472
7473 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7474 if test "x$LINE" != x ; then
7475 eval "DEFAULT_$LINE"
7476 else
7477 no_cache=1
7478 fi
7479
7480 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7481
7482 fi;
7483
7484 eval "$ac_cv_use_logwin"
7485 if test "$no_cache" != 1; then
7486 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7487 fi
7488
7489 if test "$wxUSE_LOGWINDOW" = yes; then
7490 echo "$as_me:$LINENO: result: yes" >&5
7491 echo "${ECHO_T}yes" >&6
7492 else
7493 echo "$as_me:$LINENO: result: no" >&5
7494 echo "${ECHO_T}no" >&6
7495 fi
7496
7497
7498 enablestring=
7499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7500 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7501 no_cache=0
7502 # Check whether --enable-logdialog or --disable-logdialog was given.
7503 if test "${enable_logdialog+set}" = set; then
7504 enableval="$enable_logdialog"
7505
7506 if test "$enableval" = yes; then
7507 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7508 else
7509 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7510 fi
7511
7512 else
7513
7514 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7515 if test "x$LINE" != x ; then
7516 eval "DEFAULT_$LINE"
7517 else
7518 no_cache=1
7519 fi
7520
7521 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7522
7523 fi;
7524
7525 eval "$ac_cv_use_logdialog"
7526 if test "$no_cache" != 1; then
7527 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7528 fi
7529
7530 if test "$wxUSE_LOGDIALOG" = yes; then
7531 echo "$as_me:$LINENO: result: yes" >&5
7532 echo "${ECHO_T}yes" >&6
7533 else
7534 echo "$as_me:$LINENO: result: no" >&5
7535 echo "${ECHO_T}no" >&6
7536 fi
7537
7538
7539 enablestring=
7540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7541 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7542 no_cache=0
7543 # Check whether --enable-webkit or --disable-webkit was given.
7544 if test "${enable_webkit+set}" = set; then
7545 enableval="$enable_webkit"
7546
7547 if test "$enableval" = yes; then
7548 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7549 else
7550 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7551 fi
7552
7553 else
7554
7555 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7556 if test "x$LINE" != x ; then
7557 eval "DEFAULT_$LINE"
7558 else
7559 no_cache=1
7560 fi
7561
7562 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7563
7564 fi;
7565
7566 eval "$ac_cv_use_webkit"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7569 fi
7570
7571 if test "$wxUSE_WEBKIT" = yes; then
7572 echo "$as_me:$LINENO: result: yes" >&5
7573 echo "${ECHO_T}yes" >&6
7574 else
7575 echo "$as_me:$LINENO: result: no" >&5
7576 echo "${ECHO_T}no" >&6
7577 fi
7578
7579
7580 enablestring=
7581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7582 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7583 no_cache=0
7584 # Check whether --enable-html or --disable-html was given.
7585 if test "${enable_html+set}" = set; then
7586 enableval="$enable_html"
7587
7588 if test "$enableval" = yes; then
7589 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7590 else
7591 ac_cv_use_html='wxUSE_RICHTEXT=no'
7592 fi
7593
7594 else
7595
7596 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x ; then
7598 eval "DEFAULT_$LINE"
7599 else
7600 no_cache=1
7601 fi
7602
7603 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7604
7605 fi;
7606
7607 eval "$ac_cv_use_html"
7608 if test "$no_cache" != 1; then
7609 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7610 fi
7611
7612 if test "$wxUSE_RICHTEXT" = yes; then
7613 echo "$as_me:$LINENO: result: yes" >&5
7614 echo "${ECHO_T}yes" >&6
7615 else
7616 echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6
7618 fi
7619
7620
7621 enablestring=
7622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7623 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7624 no_cache=0
7625 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7626 if test "${enable_graphics_ctx+set}" = set; then
7627 enableval="$enable_graphics_ctx"
7628
7629 if test "$enableval" = yes; then
7630 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7631 else
7632 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7633 fi
7634
7635 else
7636
7637 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x ; then
7639 eval "DEFAULT_$LINE"
7640 else
7641 no_cache=1
7642 fi
7643
7644 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7645
7646 fi;
7647
7648 eval "$ac_cv_use_graphics_ctx"
7649 if test "$no_cache" != 1; then
7650 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7651 fi
7652
7653 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7654 echo "$as_me:$LINENO: result: yes" >&5
7655 echo "${ECHO_T}yes" >&6
7656 else
7657 echo "$as_me:$LINENO: result: no" >&5
7658 echo "${ECHO_T}no" >&6
7659 fi
7660
7661
7662
7663 enablestring=
7664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7665 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7666 no_cache=0
7667 # Check whether --enable-postscript or --disable-postscript was given.
7668 if test "${enable_postscript+set}" = set; then
7669 enableval="$enable_postscript"
7670
7671 if test "$enableval" = yes; then
7672 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7673 else
7674 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7675 fi
7676
7677 else
7678
7679 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7680 if test "x$LINE" != x ; then
7681 eval "DEFAULT_$LINE"
7682 else
7683 no_cache=1
7684 fi
7685
7686 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7687
7688 fi;
7689
7690 eval "$ac_cv_use_postscript"
7691 if test "$no_cache" != 1; then
7692 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7693 fi
7694
7695 if test "$wxUSE_POSTSCRIPT" = yes; then
7696 echo "$as_me:$LINENO: result: yes" >&5
7697 echo "${ECHO_T}yes" >&6
7698 else
7699 echo "$as_me:$LINENO: result: no" >&5
7700 echo "${ECHO_T}no" >&6
7701 fi
7702
7703
7704
7705
7706
7707 enablestring=
7708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7709 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7710 no_cache=0
7711 # Check whether --enable-prologio or --disable-prologio was given.
7712 if test "${enable_prologio+set}" = set; then
7713 enableval="$enable_prologio"
7714
7715 if test "$enableval" = yes; then
7716 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7717 else
7718 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7719 fi
7720
7721 else
7722
7723 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7724 if test "x$LINE" != x ; then
7725 eval "DEFAULT_$LINE"
7726 else
7727 no_cache=1
7728 fi
7729
7730 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7731
7732 fi;
7733
7734 eval "$ac_cv_use_prologio"
7735 if test "$no_cache" != 1; then
7736 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7737 fi
7738
7739 if test "$wxUSE_PROLOGIO" = yes; then
7740 echo "$as_me:$LINENO: result: yes" >&5
7741 echo "${ECHO_T}yes" >&6
7742 else
7743 echo "$as_me:$LINENO: result: no" >&5
7744 echo "${ECHO_T}no" >&6
7745 fi
7746
7747
7748 enablestring=
7749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7750 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7751 no_cache=0
7752 # Check whether --enable-resources or --disable-resources was given.
7753 if test "${enable_resources+set}" = set; then
7754 enableval="$enable_resources"
7755
7756 if test "$enableval" = yes; then
7757 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7758 else
7759 ac_cv_use_resources='wxUSE_RESOURCES=no'
7760 fi
7761
7762 else
7763
7764 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7765 if test "x$LINE" != x ; then
7766 eval "DEFAULT_$LINE"
7767 else
7768 no_cache=1
7769 fi
7770
7771 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7772
7773 fi;
7774
7775 eval "$ac_cv_use_resources"
7776 if test "$no_cache" != 1; then
7777 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7778 fi
7779
7780 if test "$wxUSE_RESOURCES" = yes; then
7781 echo "$as_me:$LINENO: result: yes" >&5
7782 echo "${ECHO_T}yes" >&6
7783 else
7784 echo "$as_me:$LINENO: result: no" >&5
7785 echo "${ECHO_T}no" >&6
7786 fi
7787
7788
7789
7790
7791 enablestring=
7792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7794 no_cache=0
7795 # Check whether --enable-clipboard or --disable-clipboard was given.
7796 if test "${enable_clipboard+set}" = set; then
7797 enableval="$enable_clipboard"
7798
7799 if test "$enableval" = yes; then
7800 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7801 else
7802 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7803 fi
7804
7805 else
7806
7807 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x ; then
7809 eval "DEFAULT_$LINE"
7810 else
7811 no_cache=1
7812 fi
7813
7814 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7815
7816 fi;
7817
7818 eval "$ac_cv_use_clipboard"
7819 if test "$no_cache" != 1; then
7820 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7821 fi
7822
7823 if test "$wxUSE_CLIPBOARD" = yes; then
7824 echo "$as_me:$LINENO: result: yes" >&5
7825 echo "${ECHO_T}yes" >&6
7826 else
7827 echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6
7829 fi
7830
7831
7832 enablestring=
7833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7835 no_cache=0
7836 # Check whether --enable-dnd or --disable-dnd was given.
7837 if test "${enable_dnd+set}" = set; then
7838 enableval="$enable_dnd"
7839
7840 if test "$enableval" = yes; then
7841 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7842 else
7843 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7844 fi
7845
7846 else
7847
7848 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7849 if test "x$LINE" != x ; then
7850 eval "DEFAULT_$LINE"
7851 else
7852 no_cache=1
7853 fi
7854
7855 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7856
7857 fi;
7858
7859 eval "$ac_cv_use_dnd"
7860 if test "$no_cache" != 1; then
7861 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7862 fi
7863
7864 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7865 echo "$as_me:$LINENO: result: yes" >&5
7866 echo "${ECHO_T}yes" >&6
7867 else
7868 echo "$as_me:$LINENO: result: no" >&5
7869 echo "${ECHO_T}no" >&6
7870 fi
7871
7872
7873 enablestring=
7874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7876 no_cache=0
7877 # Check whether --enable-metafile or --disable-metafile was given.
7878 if test "${enable_metafile+set}" = set; then
7879 enableval="$enable_metafile"
7880
7881 if test "$enableval" = yes; then
7882 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7883 else
7884 ac_cv_use_metafile='wxUSE_METAFILE=no'
7885 fi
7886
7887 else
7888
7889 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7890 if test "x$LINE" != x ; then
7891 eval "DEFAULT_$LINE"
7892 else
7893 no_cache=1
7894 fi
7895
7896 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7897
7898 fi;
7899
7900 eval "$ac_cv_use_metafile"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7903 fi
7904
7905 if test "$wxUSE_METAFILE" = yes; then
7906 echo "$as_me:$LINENO: result: yes" >&5
7907 echo "${ECHO_T}yes" >&6
7908 else
7909 echo "$as_me:$LINENO: result: no" >&5
7910 echo "${ECHO_T}no" >&6
7911 fi
7912
7913
7914
7915
7916
7917 enablestring=
7918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7920 no_cache=0
7921 # Check whether --enable-controls or --disable-controls was given.
7922 if test "${enable_controls+set}" = set; then
7923 enableval="$enable_controls"
7924
7925 if test "$enableval" = yes; then
7926 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7927 else
7928 ac_cv_use_controls='wxUSE_CONTROLS=no'
7929 fi
7930
7931 else
7932
7933 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7934 if test "x$LINE" != x ; then
7935 eval "DEFAULT_$LINE"
7936 else
7937 no_cache=1
7938 fi
7939
7940 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7941
7942 fi;
7943
7944 eval "$ac_cv_use_controls"
7945 if test "$no_cache" != 1; then
7946 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7947 fi
7948
7949 if test "$wxUSE_CONTROLS" = yes; then
7950 echo "$as_me:$LINENO: result: yes" >&5
7951 echo "${ECHO_T}yes" >&6
7952 else
7953 echo "$as_me:$LINENO: result: no" >&5
7954 echo "${ECHO_T}no" >&6
7955 fi
7956
7957
7958 if test "$wxUSE_CONTROLS" = "yes"; then
7959 DEFAULT_wxUSE_ACCEL=yes
7960 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7961 DEFAULT_wxUSE_BMPBUTTON=yes
7962 DEFAULT_wxUSE_BUTTON=yes
7963 DEFAULT_wxUSE_CALCTRL=yes
7964 DEFAULT_wxUSE_CARET=yes
7965 DEFAULT_wxUSE_COMBOBOX=yes
7966 DEFAULT_wxUSE_CHECKBOX=yes
7967 DEFAULT_wxUSE_CHECKLISTBOX=yes
7968 DEFAULT_wxUSE_CHOICE=yes
7969 DEFAULT_wxUSE_CHOICEBOOK=yes
7970 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7971 DEFAULT_wxUSE_COMBOBOX=yes
7972 DEFAULT_wxUSE_DATEPICKCTRL=yes
7973 DEFAULT_wxUSE_DISPLAY=yes
7974 DEFAULT_wxUSE_DETECT_SM=yes
7975 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7976 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7977 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7978 DEFAULT_wxUSE_GAUGE=yes
7979 DEFAULT_wxUSE_GRID=yes
7980 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7981 DEFAULT_wxUSE_DATAVIEWCTRL=no
7982 DEFAULT_wxUSE_IMAGLIST=yes
7983 DEFAULT_wxUSE_LISTBOOK=yes
7984 DEFAULT_wxUSE_LISTBOX=yes
7985 DEFAULT_wxUSE_LISTCTRL=yes
7986 DEFAULT_wxUSE_NOTEBOOK=yes
7987 DEFAULT_wxUSE_RADIOBOX=yes
7988 DEFAULT_wxUSE_RADIOBTN=yes
7989 DEFAULT_wxUSE_SASH=yes
7990 DEFAULT_wxUSE_SCROLLBAR=yes
7991 DEFAULT_wxUSE_SLIDER=yes
7992 DEFAULT_wxUSE_SPINBTN=yes
7993 DEFAULT_wxUSE_SPINCTRL=yes
7994 DEFAULT_wxUSE_SPLITTER=yes
7995 DEFAULT_wxUSE_STATBMP=yes
7996 DEFAULT_wxUSE_STATBOX=yes
7997 DEFAULT_wxUSE_STATLINE=yes
7998 DEFAULT_wxUSE_STATUSBAR=yes
7999 DEFAULT_wxUSE_TAB_DIALOG=yes
8000 DEFAULT_wxUSE_TOGGLEBTN=yes
8001 DEFAULT_wxUSE_TOOLBAR=yes
8002 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8003 DEFAULT_wxUSE_TOOLTIPS=yes
8004 DEFAULT_wxUSE_TREEBOOK=yes
8005 DEFAULT_wxUSE_TOOLBOOK=yes
8006 DEFAULT_wxUSE_TREECTRL=yes
8007 DEFAULT_wxUSE_POPUPWIN=yes
8008 DEFAULT_wxUSE_TIPWINDOW=yes
8009 elif test "$wxUSE_CONTROLS" = "no"; then
8010 DEFAULT_wxUSE_ACCEL=no
8011 DEFAULT_wxUSE_ANIMATIONCTRL=no
8012 DEFAULT_wxUSE_BMPBUTTON=no
8013 DEFAULT_wxUSE_BUTTON=no
8014 DEFAULT_wxUSE_CALCTRL=no
8015 DEFAULT_wxUSE_CARET=no
8016 DEFAULT_wxUSE_COMBOBOX=no
8017 DEFAULT_wxUSE_CHECKBOX=no
8018 DEFAULT_wxUSE_CHECKLISTBOX=no
8019 DEFAULT_wxUSE_CHOICE=no
8020 DEFAULT_wxUSE_CHOICEBOOK=no
8021 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8022 DEFAULT_wxUSE_COMBOBOX=no
8023 DEFAULT_wxUSE_DATEPICKCTRL=no
8024 DEFAULT_wxUSE_DISPLAY=no
8025 DEFAULT_wxUSE_DETECT_SM=no
8026 DEFAULT_wxUSE_DIRPICKERCTRL=no
8027 DEFAULT_wxUSE_FILEPICKERCTRL=no
8028 DEFAULT_wxUSE_FONTPICKERCTRL=no
8029 DEFAULT_wxUSE_GAUGE=no
8030 DEFAULT_wxUSE_GRID=no
8031 DEFAULT_wxUSE_HYPERLINKCTRL=no
8032 DEFAULT_wxUSE_DATAVIEWCTRL=no
8033 DEFAULT_wxUSE_IMAGLIST=no
8034 DEFAULT_wxUSE_LISTBOOK=no
8035 DEFAULT_wxUSE_LISTBOX=no
8036 DEFAULT_wxUSE_LISTCTRL=no
8037 DEFAULT_wxUSE_NOTEBOOK=no
8038 DEFAULT_wxUSE_RADIOBOX=no
8039 DEFAULT_wxUSE_RADIOBTN=no
8040 DEFAULT_wxUSE_SASH=no
8041 DEFAULT_wxUSE_SCROLLBAR=no
8042 DEFAULT_wxUSE_SLIDER=no
8043 DEFAULT_wxUSE_SPINBTN=no
8044 DEFAULT_wxUSE_SPINCTRL=no
8045 DEFAULT_wxUSE_SPLITTER=no
8046 DEFAULT_wxUSE_STATBMP=no
8047 DEFAULT_wxUSE_STATBOX=no
8048 DEFAULT_wxUSE_STATLINE=no
8049 DEFAULT_wxUSE_STATUSBAR=no
8050 DEFAULT_wxUSE_TAB_DIALOG=no
8051 DEFAULT_wxUSE_TOGGLEBTN=no
8052 DEFAULT_wxUSE_TOOLBAR=no
8053 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8054 DEFAULT_wxUSE_TOOLTIPS=no
8055 DEFAULT_wxUSE_TREEBOOK=no
8056 DEFAULT_wxUSE_TOOLBOOK=no
8057 DEFAULT_wxUSE_TREECTRL=no
8058 DEFAULT_wxUSE_POPUPWIN=no
8059 DEFAULT_wxUSE_TIPWINDOW=no
8060 fi
8061
8062
8063 enablestring=
8064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8065 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8066 no_cache=0
8067 # Check whether --enable-accel or --disable-accel was given.
8068 if test "${enable_accel+set}" = set; then
8069 enableval="$enable_accel"
8070
8071 if test "$enableval" = yes; then
8072 ac_cv_use_accel='wxUSE_ACCEL=yes'
8073 else
8074 ac_cv_use_accel='wxUSE_ACCEL=no'
8075 fi
8076
8077 else
8078
8079 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8080 if test "x$LINE" != x ; then
8081 eval "DEFAULT_$LINE"
8082 else
8083 no_cache=1
8084 fi
8085
8086 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8087
8088 fi;
8089
8090 eval "$ac_cv_use_accel"
8091 if test "$no_cache" != 1; then
8092 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8093 fi
8094
8095 if test "$wxUSE_ACCEL" = yes; then
8096 echo "$as_me:$LINENO: result: yes" >&5
8097 echo "${ECHO_T}yes" >&6
8098 else
8099 echo "$as_me:$LINENO: result: no" >&5
8100 echo "${ECHO_T}no" >&6
8101 fi
8102
8103
8104 enablestring=
8105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8106 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8107 no_cache=0
8108 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8109 if test "${enable_animatectrl+set}" = set; then
8110 enableval="$enable_animatectrl"
8111
8112 if test "$enableval" = yes; then
8113 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8114 else
8115 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8116 fi
8117
8118 else
8119
8120 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8121 if test "x$LINE" != x ; then
8122 eval "DEFAULT_$LINE"
8123 else
8124 no_cache=1
8125 fi
8126
8127 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8128
8129 fi;
8130
8131 eval "$ac_cv_use_animatectrl"
8132 if test "$no_cache" != 1; then
8133 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8134 fi
8135
8136 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8137 echo "$as_me:$LINENO: result: yes" >&5
8138 echo "${ECHO_T}yes" >&6
8139 else
8140 echo "$as_me:$LINENO: result: no" >&5
8141 echo "${ECHO_T}no" >&6
8142 fi
8143
8144
8145 enablestring=
8146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8147 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8148 no_cache=0
8149 # Check whether --enable-button or --disable-button was given.
8150 if test "${enable_button+set}" = set; then
8151 enableval="$enable_button"
8152
8153 if test "$enableval" = yes; then
8154 ac_cv_use_button='wxUSE_BUTTON=yes'
8155 else
8156 ac_cv_use_button='wxUSE_BUTTON=no'
8157 fi
8158
8159 else
8160
8161 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8162 if test "x$LINE" != x ; then
8163 eval "DEFAULT_$LINE"
8164 else
8165 no_cache=1
8166 fi
8167
8168 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8169
8170 fi;
8171
8172 eval "$ac_cv_use_button"
8173 if test "$no_cache" != 1; then
8174 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8175 fi
8176
8177 if test "$wxUSE_BUTTON" = yes; then
8178 echo "$as_me:$LINENO: result: yes" >&5
8179 echo "${ECHO_T}yes" >&6
8180 else
8181 echo "$as_me:$LINENO: result: no" >&5
8182 echo "${ECHO_T}no" >&6
8183 fi
8184
8185
8186 enablestring=
8187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8188 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8189 no_cache=0
8190 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8191 if test "${enable_bmpbutton+set}" = set; then
8192 enableval="$enable_bmpbutton"
8193
8194 if test "$enableval" = yes; then
8195 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8196 else
8197 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8198 fi
8199
8200 else
8201
8202 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8203 if test "x$LINE" != x ; then
8204 eval "DEFAULT_$LINE"
8205 else
8206 no_cache=1
8207 fi
8208
8209 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8210
8211 fi;
8212
8213 eval "$ac_cv_use_bmpbutton"
8214 if test "$no_cache" != 1; then
8215 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8216 fi
8217
8218 if test "$wxUSE_BMPBUTTON" = yes; then
8219 echo "$as_me:$LINENO: result: yes" >&5
8220 echo "${ECHO_T}yes" >&6
8221 else
8222 echo "$as_me:$LINENO: result: no" >&5
8223 echo "${ECHO_T}no" >&6
8224 fi
8225
8226
8227 enablestring=
8228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8229 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8230 no_cache=0
8231 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8232 if test "${enable_bmpcombobox+set}" = set; then
8233 enableval="$enable_bmpcombobox"
8234
8235 if test "$enableval" = yes; then
8236 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8237 else
8238 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8239 fi
8240
8241 else
8242
8243 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8244 if test "x$LINE" != x ; then
8245 eval "DEFAULT_$LINE"
8246 else
8247 no_cache=1
8248 fi
8249
8250 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8251
8252 fi;
8253
8254 eval "$ac_cv_use_bmpcombobox"
8255 if test "$no_cache" != 1; then
8256 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8257 fi
8258
8259 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8260 echo "$as_me:$LINENO: result: yes" >&5
8261 echo "${ECHO_T}yes" >&6
8262 else
8263 echo "$as_me:$LINENO: result: no" >&5
8264 echo "${ECHO_T}no" >&6
8265 fi
8266
8267
8268 enablestring=
8269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8270 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8271 no_cache=0
8272 # Check whether --enable-calendar or --disable-calendar was given.
8273 if test "${enable_calendar+set}" = set; then
8274 enableval="$enable_calendar"
8275
8276 if test "$enableval" = yes; then
8277 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8278 else
8279 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8280 fi
8281
8282 else
8283
8284 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8285 if test "x$LINE" != x ; then
8286 eval "DEFAULT_$LINE"
8287 else
8288 no_cache=1
8289 fi
8290
8291 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8292
8293 fi;
8294
8295 eval "$ac_cv_use_calendar"
8296 if test "$no_cache" != 1; then
8297 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8298 fi
8299
8300 if test "$wxUSE_CALCTRL" = yes; then
8301 echo "$as_me:$LINENO: result: yes" >&5
8302 echo "${ECHO_T}yes" >&6
8303 else
8304 echo "$as_me:$LINENO: result: no" >&5
8305 echo "${ECHO_T}no" >&6
8306 fi
8307
8308
8309 enablestring=
8310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8311 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8312 no_cache=0
8313 # Check whether --enable-caret or --disable-caret was given.
8314 if test "${enable_caret+set}" = set; then
8315 enableval="$enable_caret"
8316
8317 if test "$enableval" = yes; then
8318 ac_cv_use_caret='wxUSE_CARET=yes'
8319 else
8320 ac_cv_use_caret='wxUSE_CARET=no'
8321 fi
8322
8323 else
8324
8325 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8326 if test "x$LINE" != x ; then
8327 eval "DEFAULT_$LINE"
8328 else
8329 no_cache=1
8330 fi
8331
8332 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8333
8334 fi;
8335
8336 eval "$ac_cv_use_caret"
8337 if test "$no_cache" != 1; then
8338 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8339 fi
8340
8341 if test "$wxUSE_CARET" = yes; then
8342 echo "$as_me:$LINENO: result: yes" >&5
8343 echo "${ECHO_T}yes" >&6
8344 else
8345 echo "$as_me:$LINENO: result: no" >&5
8346 echo "${ECHO_T}no" >&6
8347 fi
8348
8349
8350 enablestring=
8351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8352 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8353 no_cache=0
8354 # Check whether --enable-checkbox or --disable-checkbox was given.
8355 if test "${enable_checkbox+set}" = set; then
8356 enableval="$enable_checkbox"
8357
8358 if test "$enableval" = yes; then
8359 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8360 else
8361 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8362 fi
8363
8364 else
8365
8366 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8367 if test "x$LINE" != x ; then
8368 eval "DEFAULT_$LINE"
8369 else
8370 no_cache=1
8371 fi
8372
8373 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8374
8375 fi;
8376
8377 eval "$ac_cv_use_checkbox"
8378 if test "$no_cache" != 1; then
8379 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8380 fi
8381
8382 if test "$wxUSE_CHECKBOX" = yes; then
8383 echo "$as_me:$LINENO: result: yes" >&5
8384 echo "${ECHO_T}yes" >&6
8385 else
8386 echo "$as_me:$LINENO: result: no" >&5
8387 echo "${ECHO_T}no" >&6
8388 fi
8389
8390
8391 enablestring=
8392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8393 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8394 no_cache=0
8395 # Check whether --enable-checklst or --disable-checklst was given.
8396 if test "${enable_checklst+set}" = set; then
8397 enableval="$enable_checklst"
8398
8399 if test "$enableval" = yes; then
8400 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8401 else
8402 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8403 fi
8404
8405 else
8406
8407 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8408 if test "x$LINE" != x ; then
8409 eval "DEFAULT_$LINE"
8410 else
8411 no_cache=1
8412 fi
8413
8414 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8415
8416 fi;
8417
8418 eval "$ac_cv_use_checklst"
8419 if test "$no_cache" != 1; then
8420 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8421 fi
8422
8423 if test "$wxUSE_CHECKLST" = yes; then
8424 echo "$as_me:$LINENO: result: yes" >&5
8425 echo "${ECHO_T}yes" >&6
8426 else
8427 echo "$as_me:$LINENO: result: no" >&5
8428 echo "${ECHO_T}no" >&6
8429 fi
8430
8431
8432 enablestring=
8433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8434 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8435 no_cache=0
8436 # Check whether --enable-choice or --disable-choice was given.
8437 if test "${enable_choice+set}" = set; then
8438 enableval="$enable_choice"
8439
8440 if test "$enableval" = yes; then
8441 ac_cv_use_choice='wxUSE_CHOICE=yes'
8442 else
8443 ac_cv_use_choice='wxUSE_CHOICE=no'
8444 fi
8445
8446 else
8447
8448 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8449 if test "x$LINE" != x ; then
8450 eval "DEFAULT_$LINE"
8451 else
8452 no_cache=1
8453 fi
8454
8455 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8456
8457 fi;
8458
8459 eval "$ac_cv_use_choice"
8460 if test "$no_cache" != 1; then
8461 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8462 fi
8463
8464 if test "$wxUSE_CHOICE" = yes; then
8465 echo "$as_me:$LINENO: result: yes" >&5
8466 echo "${ECHO_T}yes" >&6
8467 else
8468 echo "$as_me:$LINENO: result: no" >&5
8469 echo "${ECHO_T}no" >&6
8470 fi
8471
8472
8473 enablestring=
8474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8475 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8476 no_cache=0
8477 # Check whether --enable-choicebook or --disable-choicebook was given.
8478 if test "${enable_choicebook+set}" = set; then
8479 enableval="$enable_choicebook"
8480
8481 if test "$enableval" = yes; then
8482 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8483 else
8484 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8485 fi
8486
8487 else
8488
8489 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8490 if test "x$LINE" != x ; then
8491 eval "DEFAULT_$LINE"
8492 else
8493 no_cache=1
8494 fi
8495
8496 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8497
8498 fi;
8499
8500 eval "$ac_cv_use_choicebook"
8501 if test "$no_cache" != 1; then
8502 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8503 fi
8504
8505 if test "$wxUSE_CHOICEBOOK" = yes; then
8506 echo "$as_me:$LINENO: result: yes" >&5
8507 echo "${ECHO_T}yes" >&6
8508 else
8509 echo "$as_me:$LINENO: result: no" >&5
8510 echo "${ECHO_T}no" >&6
8511 fi
8512
8513
8514 enablestring=
8515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8516 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8517 no_cache=0
8518 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8519 if test "${enable_colourpicker+set}" = set; then
8520 enableval="$enable_colourpicker"
8521
8522 if test "$enableval" = yes; then
8523 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8524 else
8525 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8526 fi
8527
8528 else
8529
8530 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8531 if test "x$LINE" != x ; then
8532 eval "DEFAULT_$LINE"
8533 else
8534 no_cache=1
8535 fi
8536
8537 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8538
8539 fi;
8540
8541 eval "$ac_cv_use_colourpicker"
8542 if test "$no_cache" != 1; then
8543 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8544 fi
8545
8546 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8547 echo "$as_me:$LINENO: result: yes" >&5
8548 echo "${ECHO_T}yes" >&6
8549 else
8550 echo "$as_me:$LINENO: result: no" >&5
8551 echo "${ECHO_T}no" >&6
8552 fi
8553
8554
8555 enablestring=
8556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8557 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8558 no_cache=0
8559 # Check whether --enable-combobox or --disable-combobox was given.
8560 if test "${enable_combobox+set}" = set; then
8561 enableval="$enable_combobox"
8562
8563 if test "$enableval" = yes; then
8564 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8565 else
8566 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8567 fi
8568
8569 else
8570
8571 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8572 if test "x$LINE" != x ; then
8573 eval "DEFAULT_$LINE"
8574 else
8575 no_cache=1
8576 fi
8577
8578 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8579
8580 fi;
8581
8582 eval "$ac_cv_use_combobox"
8583 if test "$no_cache" != 1; then
8584 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8585 fi
8586
8587 if test "$wxUSE_COMBOBOX" = yes; then
8588 echo "$as_me:$LINENO: result: yes" >&5
8589 echo "${ECHO_T}yes" >&6
8590 else
8591 echo "$as_me:$LINENO: result: no" >&5
8592 echo "${ECHO_T}no" >&6
8593 fi
8594
8595
8596 enablestring=
8597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8598 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8599 no_cache=0
8600 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8601 if test "${enable_comboctrl+set}" = set; then
8602 enableval="$enable_comboctrl"
8603
8604 if test "$enableval" = yes; then
8605 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8606 else
8607 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8608 fi
8609
8610 else
8611
8612 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8613 if test "x$LINE" != x ; then
8614 eval "DEFAULT_$LINE"
8615 else
8616 no_cache=1
8617 fi
8618
8619 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8620
8621 fi;
8622
8623 eval "$ac_cv_use_comboctrl"
8624 if test "$no_cache" != 1; then
8625 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8626 fi
8627
8628 if test "$wxUSE_COMBOCTRL" = yes; then
8629 echo "$as_me:$LINENO: result: yes" >&5
8630 echo "${ECHO_T}yes" >&6
8631 else
8632 echo "$as_me:$LINENO: result: no" >&5
8633 echo "${ECHO_T}no" >&6
8634 fi
8635
8636
8637 enablestring=
8638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8639 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8640 no_cache=0
8641 # Check whether --enable-datepick or --disable-datepick was given.
8642 if test "${enable_datepick+set}" = set; then
8643 enableval="$enable_datepick"
8644
8645 if test "$enableval" = yes; then
8646 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8647 else
8648 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8649 fi
8650
8651 else
8652
8653 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8654 if test "x$LINE" != x ; then
8655 eval "DEFAULT_$LINE"
8656 else
8657 no_cache=1
8658 fi
8659
8660 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8661
8662 fi;
8663
8664 eval "$ac_cv_use_datepick"
8665 if test "$no_cache" != 1; then
8666 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8667 fi
8668
8669 if test "$wxUSE_DATEPICKCTRL" = yes; then
8670 echo "$as_me:$LINENO: result: yes" >&5
8671 echo "${ECHO_T}yes" >&6
8672 else
8673 echo "$as_me:$LINENO: result: no" >&5
8674 echo "${ECHO_T}no" >&6
8675 fi
8676
8677
8678 enablestring=
8679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8680 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8681 no_cache=0
8682 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8683 if test "${enable_dirpicker+set}" = set; then
8684 enableval="$enable_dirpicker"
8685
8686 if test "$enableval" = yes; then
8687 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8688 else
8689 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8690 fi
8691
8692 else
8693
8694 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8695 if test "x$LINE" != x ; then
8696 eval "DEFAULT_$LINE"
8697 else
8698 no_cache=1
8699 fi
8700
8701 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8702
8703 fi;
8704
8705 eval "$ac_cv_use_dirpicker"
8706 if test "$no_cache" != 1; then
8707 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8708 fi
8709
8710 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8711 echo "$as_me:$LINENO: result: yes" >&5
8712 echo "${ECHO_T}yes" >&6
8713 else
8714 echo "$as_me:$LINENO: result: no" >&5
8715 echo "${ECHO_T}no" >&6
8716 fi
8717
8718
8719 enablestring=
8720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8721 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8722 no_cache=0
8723 # Check whether --enable-display or --disable-display was given.
8724 if test "${enable_display+set}" = set; then
8725 enableval="$enable_display"
8726
8727 if test "$enableval" = yes; then
8728 ac_cv_use_display='wxUSE_DISPLAY=yes'
8729 else
8730 ac_cv_use_display='wxUSE_DISPLAY=no'
8731 fi
8732
8733 else
8734
8735 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8736 if test "x$LINE" != x ; then
8737 eval "DEFAULT_$LINE"
8738 else
8739 no_cache=1
8740 fi
8741
8742 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8743
8744 fi;
8745
8746 eval "$ac_cv_use_display"
8747 if test "$no_cache" != 1; then
8748 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8749 fi
8750
8751 if test "$wxUSE_DISPLAY" = yes; then
8752 echo "$as_me:$LINENO: result: yes" >&5
8753 echo "${ECHO_T}yes" >&6
8754 else
8755 echo "$as_me:$LINENO: result: no" >&5
8756 echo "${ECHO_T}no" >&6
8757 fi
8758
8759
8760 enablestring=
8761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8762 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8763 no_cache=0
8764 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8765 if test "${enable_detect_sm+set}" = set; then
8766 enableval="$enable_detect_sm"
8767
8768 if test "$enableval" = yes; then
8769 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8770 else
8771 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8772 fi
8773
8774 else
8775
8776 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8777 if test "x$LINE" != x ; then
8778 eval "DEFAULT_$LINE"
8779 else
8780 no_cache=1
8781 fi
8782
8783 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8784
8785 fi;
8786
8787 eval "$ac_cv_use_detect_sm"
8788 if test "$no_cache" != 1; then
8789 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8790 fi
8791
8792 if test "$wxUSE_DETECT_SM" = yes; then
8793 echo "$as_me:$LINENO: result: yes" >&5
8794 echo "${ECHO_T}yes" >&6
8795 else
8796 echo "$as_me:$LINENO: result: no" >&5
8797 echo "${ECHO_T}no" >&6
8798 fi
8799
8800
8801 enablestring=
8802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8803 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8804 no_cache=0
8805 # Check whether --enable-filepicker or --disable-filepicker was given.
8806 if test "${enable_filepicker+set}" = set; then
8807 enableval="$enable_filepicker"
8808
8809 if test "$enableval" = yes; then
8810 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8811 else
8812 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8813 fi
8814
8815 else
8816
8817 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8818 if test "x$LINE" != x ; then
8819 eval "DEFAULT_$LINE"
8820 else
8821 no_cache=1
8822 fi
8823
8824 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8825
8826 fi;
8827
8828 eval "$ac_cv_use_filepicker"
8829 if test "$no_cache" != 1; then
8830 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8831 fi
8832
8833 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8834 echo "$as_me:$LINENO: result: yes" >&5
8835 echo "${ECHO_T}yes" >&6
8836 else
8837 echo "$as_me:$LINENO: result: no" >&5
8838 echo "${ECHO_T}no" >&6
8839 fi
8840
8841
8842 enablestring=
8843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8844 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8845 no_cache=0
8846 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8847 if test "${enable_fontpicker+set}" = set; then
8848 enableval="$enable_fontpicker"
8849
8850 if test "$enableval" = yes; then
8851 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8852 else
8853 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8854 fi
8855
8856 else
8857
8858 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8859 if test "x$LINE" != x ; then
8860 eval "DEFAULT_$LINE"
8861 else
8862 no_cache=1
8863 fi
8864
8865 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8866
8867 fi;
8868
8869 eval "$ac_cv_use_fontpicker"
8870 if test "$no_cache" != 1; then
8871 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8872 fi
8873
8874 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8875 echo "$as_me:$LINENO: result: yes" >&5
8876 echo "${ECHO_T}yes" >&6
8877 else
8878 echo "$as_me:$LINENO: result: no" >&5
8879 echo "${ECHO_T}no" >&6
8880 fi
8881
8882
8883 enablestring=
8884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8885 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8886 no_cache=0
8887 # Check whether --enable-gauge or --disable-gauge was given.
8888 if test "${enable_gauge+set}" = set; then
8889 enableval="$enable_gauge"
8890
8891 if test "$enableval" = yes; then
8892 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8893 else
8894 ac_cv_use_gauge='wxUSE_GAUGE=no'
8895 fi
8896
8897 else
8898
8899 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8900 if test "x$LINE" != x ; then
8901 eval "DEFAULT_$LINE"
8902 else
8903 no_cache=1
8904 fi
8905
8906 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8907
8908 fi;
8909
8910 eval "$ac_cv_use_gauge"
8911 if test "$no_cache" != 1; then
8912 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8913 fi
8914
8915 if test "$wxUSE_GAUGE" = yes; then
8916 echo "$as_me:$LINENO: result: yes" >&5
8917 echo "${ECHO_T}yes" >&6
8918 else
8919 echo "$as_me:$LINENO: result: no" >&5
8920 echo "${ECHO_T}no" >&6
8921 fi
8922
8923
8924 enablestring=
8925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8926 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8927 no_cache=0
8928 # Check whether --enable-grid or --disable-grid was given.
8929 if test "${enable_grid+set}" = set; then
8930 enableval="$enable_grid"
8931
8932 if test "$enableval" = yes; then
8933 ac_cv_use_grid='wxUSE_GRID=yes'
8934 else
8935 ac_cv_use_grid='wxUSE_GRID=no'
8936 fi
8937
8938 else
8939
8940 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8941 if test "x$LINE" != x ; then
8942 eval "DEFAULT_$LINE"
8943 else
8944 no_cache=1
8945 fi
8946
8947 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8948
8949 fi;
8950
8951 eval "$ac_cv_use_grid"
8952 if test "$no_cache" != 1; then
8953 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8954 fi
8955
8956 if test "$wxUSE_GRID" = yes; then
8957 echo "$as_me:$LINENO: result: yes" >&5
8958 echo "${ECHO_T}yes" >&6
8959 else
8960 echo "$as_me:$LINENO: result: no" >&5
8961 echo "${ECHO_T}no" >&6
8962 fi
8963
8964
8965 enablestring=
8966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8967 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8968 no_cache=0
8969 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8970 if test "${enable_dataviewctrl+set}" = set; then
8971 enableval="$enable_dataviewctrl"
8972
8973 if test "$enableval" = yes; then
8974 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8975 else
8976 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8977 fi
8978
8979 else
8980
8981 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8982 if test "x$LINE" != x ; then
8983 eval "DEFAULT_$LINE"
8984 else
8985 no_cache=1
8986 fi
8987
8988 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8989
8990 fi;
8991
8992 eval "$ac_cv_use_dataviewctrl"
8993 if test "$no_cache" != 1; then
8994 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8995 fi
8996
8997 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8998 echo "$as_me:$LINENO: result: yes" >&5
8999 echo "${ECHO_T}yes" >&6
9000 else
9001 echo "$as_me:$LINENO: result: no" >&5
9002 echo "${ECHO_T}no" >&6
9003 fi
9004
9005
9006 enablestring=
9007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9008 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9009 no_cache=0
9010 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9011 if test "${enable_hyperlink+set}" = set; then
9012 enableval="$enable_hyperlink"
9013
9014 if test "$enableval" = yes; then
9015 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9016 else
9017 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9018 fi
9019
9020 else
9021
9022 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9023 if test "x$LINE" != x ; then
9024 eval "DEFAULT_$LINE"
9025 else
9026 no_cache=1
9027 fi
9028
9029 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9030
9031 fi;
9032
9033 eval "$ac_cv_use_hyperlink"
9034 if test "$no_cache" != 1; then
9035 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9036 fi
9037
9038 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9039 echo "$as_me:$LINENO: result: yes" >&5
9040 echo "${ECHO_T}yes" >&6
9041 else
9042 echo "$as_me:$LINENO: result: no" >&5
9043 echo "${ECHO_T}no" >&6
9044 fi
9045
9046
9047 enablestring=
9048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9049 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9050 no_cache=0
9051 # Check whether --enable-imaglist or --disable-imaglist was given.
9052 if test "${enable_imaglist+set}" = set; then
9053 enableval="$enable_imaglist"
9054
9055 if test "$enableval" = yes; then
9056 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9057 else
9058 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9059 fi
9060
9061 else
9062
9063 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9064 if test "x$LINE" != x ; then
9065 eval "DEFAULT_$LINE"
9066 else
9067 no_cache=1
9068 fi
9069
9070 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9071
9072 fi;
9073
9074 eval "$ac_cv_use_imaglist"
9075 if test "$no_cache" != 1; then
9076 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9077 fi
9078
9079 if test "$wxUSE_IMAGLIST" = yes; then
9080 echo "$as_me:$LINENO: result: yes" >&5
9081 echo "${ECHO_T}yes" >&6
9082 else
9083 echo "$as_me:$LINENO: result: no" >&5
9084 echo "${ECHO_T}no" >&6
9085 fi
9086
9087
9088 enablestring=
9089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9090 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9091 no_cache=0
9092 # Check whether --enable-listbook or --disable-listbook was given.
9093 if test "${enable_listbook+set}" = set; then
9094 enableval="$enable_listbook"
9095
9096 if test "$enableval" = yes; then
9097 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9098 else
9099 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9100 fi
9101
9102 else
9103
9104 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9105 if test "x$LINE" != x ; then
9106 eval "DEFAULT_$LINE"
9107 else
9108 no_cache=1
9109 fi
9110
9111 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9112
9113 fi;
9114
9115 eval "$ac_cv_use_listbook"
9116 if test "$no_cache" != 1; then
9117 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9118 fi
9119
9120 if test "$wxUSE_LISTBOOK" = yes; then
9121 echo "$as_me:$LINENO: result: yes" >&5
9122 echo "${ECHO_T}yes" >&6
9123 else
9124 echo "$as_me:$LINENO: result: no" >&5
9125 echo "${ECHO_T}no" >&6
9126 fi
9127
9128
9129 enablestring=
9130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9131 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9132 no_cache=0
9133 # Check whether --enable-listbox or --disable-listbox was given.
9134 if test "${enable_listbox+set}" = set; then
9135 enableval="$enable_listbox"
9136
9137 if test "$enableval" = yes; then
9138 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9139 else
9140 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9141 fi
9142
9143 else
9144
9145 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9146 if test "x$LINE" != x ; then
9147 eval "DEFAULT_$LINE"
9148 else
9149 no_cache=1
9150 fi
9151
9152 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9153
9154 fi;
9155
9156 eval "$ac_cv_use_listbox"
9157 if test "$no_cache" != 1; then
9158 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9159 fi
9160
9161 if test "$wxUSE_LISTBOX" = yes; then
9162 echo "$as_me:$LINENO: result: yes" >&5
9163 echo "${ECHO_T}yes" >&6
9164 else
9165 echo "$as_me:$LINENO: result: no" >&5
9166 echo "${ECHO_T}no" >&6
9167 fi
9168
9169
9170 enablestring=
9171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9172 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9173 no_cache=0
9174 # Check whether --enable-listctrl or --disable-listctrl was given.
9175 if test "${enable_listctrl+set}" = set; then
9176 enableval="$enable_listctrl"
9177
9178 if test "$enableval" = yes; then
9179 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9180 else
9181 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9182 fi
9183
9184 else
9185
9186 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9187 if test "x$LINE" != x ; then
9188 eval "DEFAULT_$LINE"
9189 else
9190 no_cache=1
9191 fi
9192
9193 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9194
9195 fi;
9196
9197 eval "$ac_cv_use_listctrl"
9198 if test "$no_cache" != 1; then
9199 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9200 fi
9201
9202 if test "$wxUSE_LISTCTRL" = yes; then
9203 echo "$as_me:$LINENO: result: yes" >&5
9204 echo "${ECHO_T}yes" >&6
9205 else
9206 echo "$as_me:$LINENO: result: no" >&5
9207 echo "${ECHO_T}no" >&6
9208 fi
9209
9210
9211 enablestring=
9212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9213 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9214 no_cache=0
9215 # Check whether --enable-notebook or --disable-notebook was given.
9216 if test "${enable_notebook+set}" = set; then
9217 enableval="$enable_notebook"
9218
9219 if test "$enableval" = yes; then
9220 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9221 else
9222 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9223 fi
9224
9225 else
9226
9227 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9228 if test "x$LINE" != x ; then
9229 eval "DEFAULT_$LINE"
9230 else
9231 no_cache=1
9232 fi
9233
9234 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9235
9236 fi;
9237
9238 eval "$ac_cv_use_notebook"
9239 if test "$no_cache" != 1; then
9240 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9241 fi
9242
9243 if test "$wxUSE_NOTEBOOK" = yes; then
9244 echo "$as_me:$LINENO: result: yes" >&5
9245 echo "${ECHO_T}yes" >&6
9246 else
9247 echo "$as_me:$LINENO: result: no" >&5
9248 echo "${ECHO_T}no" >&6
9249 fi
9250
9251
9252 enablestring=
9253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9254 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9255 no_cache=0
9256 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9257 if test "${enable_odcombobox+set}" = set; then
9258 enableval="$enable_odcombobox"
9259
9260 if test "$enableval" = yes; then
9261 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9262 else
9263 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9264 fi
9265
9266 else
9267
9268 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9269 if test "x$LINE" != x ; then
9270 eval "DEFAULT_$LINE"
9271 else
9272 no_cache=1
9273 fi
9274
9275 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9276
9277 fi;
9278
9279 eval "$ac_cv_use_odcombobox"
9280 if test "$no_cache" != 1; then
9281 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9282 fi
9283
9284 if test "$wxUSE_ODCOMBOBOX" = yes; then
9285 echo "$as_me:$LINENO: result: yes" >&5
9286 echo "${ECHO_T}yes" >&6
9287 else
9288 echo "$as_me:$LINENO: result: no" >&5
9289 echo "${ECHO_T}no" >&6
9290 fi
9291
9292
9293 enablestring=
9294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9295 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9296 no_cache=0
9297 # Check whether --enable-radiobox or --disable-radiobox was given.
9298 if test "${enable_radiobox+set}" = set; then
9299 enableval="$enable_radiobox"
9300
9301 if test "$enableval" = yes; then
9302 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9303 else
9304 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9305 fi
9306
9307 else
9308
9309 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9310 if test "x$LINE" != x ; then
9311 eval "DEFAULT_$LINE"
9312 else
9313 no_cache=1
9314 fi
9315
9316 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9317
9318 fi;
9319
9320 eval "$ac_cv_use_radiobox"
9321 if test "$no_cache" != 1; then
9322 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9323 fi
9324
9325 if test "$wxUSE_RADIOBOX" = yes; then
9326 echo "$as_me:$LINENO: result: yes" >&5
9327 echo "${ECHO_T}yes" >&6
9328 else
9329 echo "$as_me:$LINENO: result: no" >&5
9330 echo "${ECHO_T}no" >&6
9331 fi
9332
9333
9334 enablestring=
9335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9336 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9337 no_cache=0
9338 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9339 if test "${enable_radiobtn+set}" = set; then
9340 enableval="$enable_radiobtn"
9341
9342 if test "$enableval" = yes; then
9343 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9344 else
9345 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9346 fi
9347
9348 else
9349
9350 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9351 if test "x$LINE" != x ; then
9352 eval "DEFAULT_$LINE"
9353 else
9354 no_cache=1
9355 fi
9356
9357 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9358
9359 fi;
9360
9361 eval "$ac_cv_use_radiobtn"
9362 if test "$no_cache" != 1; then
9363 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9364 fi
9365
9366 if test "$wxUSE_RADIOBTN" = yes; then
9367 echo "$as_me:$LINENO: result: yes" >&5
9368 echo "${ECHO_T}yes" >&6
9369 else
9370 echo "$as_me:$LINENO: result: no" >&5
9371 echo "${ECHO_T}no" >&6
9372 fi
9373
9374
9375 enablestring=
9376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9377 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9378 no_cache=0
9379 # Check whether --enable-sash or --disable-sash was given.
9380 if test "${enable_sash+set}" = set; then
9381 enableval="$enable_sash"
9382
9383 if test "$enableval" = yes; then
9384 ac_cv_use_sash='wxUSE_SASH=yes'
9385 else
9386 ac_cv_use_sash='wxUSE_SASH=no'
9387 fi
9388
9389 else
9390
9391 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9392 if test "x$LINE" != x ; then
9393 eval "DEFAULT_$LINE"
9394 else
9395 no_cache=1
9396 fi
9397
9398 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9399
9400 fi;
9401
9402 eval "$ac_cv_use_sash"
9403 if test "$no_cache" != 1; then
9404 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9405 fi
9406
9407 if test "$wxUSE_SASH" = yes; then
9408 echo "$as_me:$LINENO: result: yes" >&5
9409 echo "${ECHO_T}yes" >&6
9410 else
9411 echo "$as_me:$LINENO: result: no" >&5
9412 echo "${ECHO_T}no" >&6
9413 fi
9414
9415
9416 enablestring=
9417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9418 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9419 no_cache=0
9420 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9421 if test "${enable_scrollbar+set}" = set; then
9422 enableval="$enable_scrollbar"
9423
9424 if test "$enableval" = yes; then
9425 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9426 else
9427 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9428 fi
9429
9430 else
9431
9432 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9433 if test "x$LINE" != x ; then
9434 eval "DEFAULT_$LINE"
9435 else
9436 no_cache=1
9437 fi
9438
9439 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9440
9441 fi;
9442
9443 eval "$ac_cv_use_scrollbar"
9444 if test "$no_cache" != 1; then
9445 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9446 fi
9447
9448 if test "$wxUSE_SCROLLBAR" = yes; then
9449 echo "$as_me:$LINENO: result: yes" >&5
9450 echo "${ECHO_T}yes" >&6
9451 else
9452 echo "$as_me:$LINENO: result: no" >&5
9453 echo "${ECHO_T}no" >&6
9454 fi
9455
9456
9457 enablestring=
9458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9459 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9460 no_cache=0
9461 # Check whether --enable-slider or --disable-slider was given.
9462 if test "${enable_slider+set}" = set; then
9463 enableval="$enable_slider"
9464
9465 if test "$enableval" = yes; then
9466 ac_cv_use_slider='wxUSE_SLIDER=yes'
9467 else
9468 ac_cv_use_slider='wxUSE_SLIDER=no'
9469 fi
9470
9471 else
9472
9473 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9474 if test "x$LINE" != x ; then
9475 eval "DEFAULT_$LINE"
9476 else
9477 no_cache=1
9478 fi
9479
9480 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9481
9482 fi;
9483
9484 eval "$ac_cv_use_slider"
9485 if test "$no_cache" != 1; then
9486 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9487 fi
9488
9489 if test "$wxUSE_SLIDER" = yes; then
9490 echo "$as_me:$LINENO: result: yes" >&5
9491 echo "${ECHO_T}yes" >&6
9492 else
9493 echo "$as_me:$LINENO: result: no" >&5
9494 echo "${ECHO_T}no" >&6
9495 fi
9496
9497
9498 enablestring=
9499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9500 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9501 no_cache=0
9502 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9503 if test "${enable_spinbtn+set}" = set; then
9504 enableval="$enable_spinbtn"
9505
9506 if test "$enableval" = yes; then
9507 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9508 else
9509 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9510 fi
9511
9512 else
9513
9514 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9515 if test "x$LINE" != x ; then
9516 eval "DEFAULT_$LINE"
9517 else
9518 no_cache=1
9519 fi
9520
9521 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9522
9523 fi;
9524
9525 eval "$ac_cv_use_spinbtn"
9526 if test "$no_cache" != 1; then
9527 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9528 fi
9529
9530 if test "$wxUSE_SPINBTN" = yes; then
9531 echo "$as_me:$LINENO: result: yes" >&5
9532 echo "${ECHO_T}yes" >&6
9533 else
9534 echo "$as_me:$LINENO: result: no" >&5
9535 echo "${ECHO_T}no" >&6
9536 fi
9537
9538
9539 enablestring=
9540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9541 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9542 no_cache=0
9543 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9544 if test "${enable_spinctrl+set}" = set; then
9545 enableval="$enable_spinctrl"
9546
9547 if test "$enableval" = yes; then
9548 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9549 else
9550 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9551 fi
9552
9553 else
9554
9555 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9556 if test "x$LINE" != x ; then
9557 eval "DEFAULT_$LINE"
9558 else
9559 no_cache=1
9560 fi
9561
9562 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9563
9564 fi;
9565
9566 eval "$ac_cv_use_spinctrl"
9567 if test "$no_cache" != 1; then
9568 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9569 fi
9570
9571 if test "$wxUSE_SPINCTRL" = yes; then
9572 echo "$as_me:$LINENO: result: yes" >&5
9573 echo "${ECHO_T}yes" >&6
9574 else
9575 echo "$as_me:$LINENO: result: no" >&5
9576 echo "${ECHO_T}no" >&6
9577 fi
9578
9579
9580 enablestring=
9581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9582 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9583 no_cache=0
9584 # Check whether --enable-splitter or --disable-splitter was given.
9585 if test "${enable_splitter+set}" = set; then
9586 enableval="$enable_splitter"
9587
9588 if test "$enableval" = yes; then
9589 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9590 else
9591 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9592 fi
9593
9594 else
9595
9596 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9597 if test "x$LINE" != x ; then
9598 eval "DEFAULT_$LINE"
9599 else
9600 no_cache=1
9601 fi
9602
9603 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9604
9605 fi;
9606
9607 eval "$ac_cv_use_splitter"
9608 if test "$no_cache" != 1; then
9609 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9610 fi
9611
9612 if test "$wxUSE_SPLITTER" = yes; then
9613 echo "$as_me:$LINENO: result: yes" >&5
9614 echo "${ECHO_T}yes" >&6
9615 else
9616 echo "$as_me:$LINENO: result: no" >&5
9617 echo "${ECHO_T}no" >&6
9618 fi
9619
9620
9621 enablestring=
9622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9623 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9624 no_cache=0
9625 # Check whether --enable-statbmp or --disable-statbmp was given.
9626 if test "${enable_statbmp+set}" = set; then
9627 enableval="$enable_statbmp"
9628
9629 if test "$enableval" = yes; then
9630 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9631 else
9632 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9633 fi
9634
9635 else
9636
9637 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9638 if test "x$LINE" != x ; then
9639 eval "DEFAULT_$LINE"
9640 else
9641 no_cache=1
9642 fi
9643
9644 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9645
9646 fi;
9647
9648 eval "$ac_cv_use_statbmp"
9649 if test "$no_cache" != 1; then
9650 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9651 fi
9652
9653 if test "$wxUSE_STATBMP" = yes; then
9654 echo "$as_me:$LINENO: result: yes" >&5
9655 echo "${ECHO_T}yes" >&6
9656 else
9657 echo "$as_me:$LINENO: result: no" >&5
9658 echo "${ECHO_T}no" >&6
9659 fi
9660
9661
9662 enablestring=
9663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9664 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9665 no_cache=0
9666 # Check whether --enable-statbox or --disable-statbox was given.
9667 if test "${enable_statbox+set}" = set; then
9668 enableval="$enable_statbox"
9669
9670 if test "$enableval" = yes; then
9671 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9672 else
9673 ac_cv_use_statbox='wxUSE_STATBOX=no'
9674 fi
9675
9676 else
9677
9678 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9679 if test "x$LINE" != x ; then
9680 eval "DEFAULT_$LINE"
9681 else
9682 no_cache=1
9683 fi
9684
9685 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9686
9687 fi;
9688
9689 eval "$ac_cv_use_statbox"
9690 if test "$no_cache" != 1; then
9691 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9692 fi
9693
9694 if test "$wxUSE_STATBOX" = yes; then
9695 echo "$as_me:$LINENO: result: yes" >&5
9696 echo "${ECHO_T}yes" >&6
9697 else
9698 echo "$as_me:$LINENO: result: no" >&5
9699 echo "${ECHO_T}no" >&6
9700 fi
9701
9702
9703 enablestring=
9704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9705 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9706 no_cache=0
9707 # Check whether --enable-statline or --disable-statline was given.
9708 if test "${enable_statline+set}" = set; then
9709 enableval="$enable_statline"
9710
9711 if test "$enableval" = yes; then
9712 ac_cv_use_statline='wxUSE_STATLINE=yes'
9713 else
9714 ac_cv_use_statline='wxUSE_STATLINE=no'
9715 fi
9716
9717 else
9718
9719 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9720 if test "x$LINE" != x ; then
9721 eval "DEFAULT_$LINE"
9722 else
9723 no_cache=1
9724 fi
9725
9726 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9727
9728 fi;
9729
9730 eval "$ac_cv_use_statline"
9731 if test "$no_cache" != 1; then
9732 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9733 fi
9734
9735 if test "$wxUSE_STATLINE" = yes; then
9736 echo "$as_me:$LINENO: result: yes" >&5
9737 echo "${ECHO_T}yes" >&6
9738 else
9739 echo "$as_me:$LINENO: result: no" >&5
9740 echo "${ECHO_T}no" >&6
9741 fi
9742
9743
9744 enablestring=
9745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9746 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9747 no_cache=0
9748 # Check whether --enable-stattext or --disable-stattext was given.
9749 if test "${enable_stattext+set}" = set; then
9750 enableval="$enable_stattext"
9751
9752 if test "$enableval" = yes; then
9753 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9754 else
9755 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9756 fi
9757
9758 else
9759
9760 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9761 if test "x$LINE" != x ; then
9762 eval "DEFAULT_$LINE"
9763 else
9764 no_cache=1
9765 fi
9766
9767 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9768
9769 fi;
9770
9771 eval "$ac_cv_use_stattext"
9772 if test "$no_cache" != 1; then
9773 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9774 fi
9775
9776 if test "$wxUSE_STATTEXT" = yes; then
9777 echo "$as_me:$LINENO: result: yes" >&5
9778 echo "${ECHO_T}yes" >&6
9779 else
9780 echo "$as_me:$LINENO: result: no" >&5
9781 echo "${ECHO_T}no" >&6
9782 fi
9783
9784
9785 enablestring=
9786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9787 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9788 no_cache=0
9789 # Check whether --enable-statusbar or --disable-statusbar was given.
9790 if test "${enable_statusbar+set}" = set; then
9791 enableval="$enable_statusbar"
9792
9793 if test "$enableval" = yes; then
9794 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9795 else
9796 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9797 fi
9798
9799 else
9800
9801 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9802 if test "x$LINE" != x ; then
9803 eval "DEFAULT_$LINE"
9804 else
9805 no_cache=1
9806 fi
9807
9808 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9809
9810 fi;
9811
9812 eval "$ac_cv_use_statusbar"
9813 if test "$no_cache" != 1; then
9814 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9815 fi
9816
9817 if test "$wxUSE_STATUSBAR" = yes; then
9818 echo "$as_me:$LINENO: result: yes" >&5
9819 echo "${ECHO_T}yes" >&6
9820 else
9821 echo "$as_me:$LINENO: result: no" >&5
9822 echo "${ECHO_T}no" >&6
9823 fi
9824
9825
9826 enablestring=
9827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9828 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9829 no_cache=0
9830 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9831 if test "${enable_tabdialog+set}" = set; then
9832 enableval="$enable_tabdialog"
9833
9834 if test "$enableval" = yes; then
9835 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9836 else
9837 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9838 fi
9839
9840 else
9841
9842 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9843 if test "x$LINE" != x ; then
9844 eval "DEFAULT_$LINE"
9845 else
9846 no_cache=1
9847 fi
9848
9849 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9850
9851 fi;
9852
9853 eval "$ac_cv_use_tabdialog"
9854 if test "$no_cache" != 1; then
9855 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9856 fi
9857
9858 if test "$wxUSE_TAB_DIALOG" = yes; then
9859 echo "$as_me:$LINENO: result: yes" >&5
9860 echo "${ECHO_T}yes" >&6
9861 else
9862 echo "$as_me:$LINENO: result: no" >&5
9863 echo "${ECHO_T}no" >&6
9864 fi
9865
9866
9867 enablestring=
9868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9869 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9870 no_cache=0
9871 # Check whether --enable-textctrl or --disable-textctrl was given.
9872 if test "${enable_textctrl+set}" = set; then
9873 enableval="$enable_textctrl"
9874
9875 if test "$enableval" = yes; then
9876 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9877 else
9878 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9879 fi
9880
9881 else
9882
9883 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9884 if test "x$LINE" != x ; then
9885 eval "DEFAULT_$LINE"
9886 else
9887 no_cache=1
9888 fi
9889
9890 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9891
9892 fi;
9893
9894 eval "$ac_cv_use_textctrl"
9895 if test "$no_cache" != 1; then
9896 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9897 fi
9898
9899 if test "$wxUSE_TEXTCTRL" = yes; then
9900 echo "$as_me:$LINENO: result: yes" >&5
9901 echo "${ECHO_T}yes" >&6
9902 else
9903 echo "$as_me:$LINENO: result: no" >&5
9904 echo "${ECHO_T}no" >&6
9905 fi
9906
9907
9908 enablestring=
9909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9910 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9911 no_cache=0
9912 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9913 if test "${enable_togglebtn+set}" = set; then
9914 enableval="$enable_togglebtn"
9915
9916 if test "$enableval" = yes; then
9917 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9918 else
9919 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9920 fi
9921
9922 else
9923
9924 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9925 if test "x$LINE" != x ; then
9926 eval "DEFAULT_$LINE"
9927 else
9928 no_cache=1
9929 fi
9930
9931 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9932
9933 fi;
9934
9935 eval "$ac_cv_use_togglebtn"
9936 if test "$no_cache" != 1; then
9937 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9938 fi
9939
9940 if test "$wxUSE_TOGGLEBTN" = yes; then
9941 echo "$as_me:$LINENO: result: yes" >&5
9942 echo "${ECHO_T}yes" >&6
9943 else
9944 echo "$as_me:$LINENO: result: no" >&5
9945 echo "${ECHO_T}no" >&6
9946 fi
9947
9948
9949 enablestring=
9950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9951 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9952 no_cache=0
9953 # Check whether --enable-toolbar or --disable-toolbar was given.
9954 if test "${enable_toolbar+set}" = set; then
9955 enableval="$enable_toolbar"
9956
9957 if test "$enableval" = yes; then
9958 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9959 else
9960 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9961 fi
9962
9963 else
9964
9965 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9966 if test "x$LINE" != x ; then
9967 eval "DEFAULT_$LINE"
9968 else
9969 no_cache=1
9970 fi
9971
9972 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9973
9974 fi;
9975
9976 eval "$ac_cv_use_toolbar"
9977 if test "$no_cache" != 1; then
9978 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9979 fi
9980
9981 if test "$wxUSE_TOOLBAR" = yes; then
9982 echo "$as_me:$LINENO: result: yes" >&5
9983 echo "${ECHO_T}yes" >&6
9984 else
9985 echo "$as_me:$LINENO: result: no" >&5
9986 echo "${ECHO_T}no" >&6
9987 fi
9988
9989
9990 enablestring=
9991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9992 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9993 no_cache=0
9994 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9995 if test "${enable_tbarnative+set}" = set; then
9996 enableval="$enable_tbarnative"
9997
9998 if test "$enableval" = yes; then
9999 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10000 else
10001 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10002 fi
10003
10004 else
10005
10006 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10007 if test "x$LINE" != x ; then
10008 eval "DEFAULT_$LINE"
10009 else
10010 no_cache=1
10011 fi
10012
10013 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10014
10015 fi;
10016
10017 eval "$ac_cv_use_tbarnative"
10018 if test "$no_cache" != 1; then
10019 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10020 fi
10021
10022 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10023 echo "$as_me:$LINENO: result: yes" >&5
10024 echo "${ECHO_T}yes" >&6
10025 else
10026 echo "$as_me:$LINENO: result: no" >&5
10027 echo "${ECHO_T}no" >&6
10028 fi
10029
10030
10031 enablestring=
10032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10033 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10034 no_cache=0
10035 # Check whether --enable-treebook or --disable-treebook was given.
10036 if test "${enable_treebook+set}" = set; then
10037 enableval="$enable_treebook"
10038
10039 if test "$enableval" = yes; then
10040 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10041 else
10042 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10043 fi
10044
10045 else
10046
10047 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10048 if test "x$LINE" != x ; then
10049 eval "DEFAULT_$LINE"
10050 else
10051 no_cache=1
10052 fi
10053
10054 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10055
10056 fi;
10057
10058 eval "$ac_cv_use_treebook"
10059 if test "$no_cache" != 1; then
10060 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10061 fi
10062
10063 if test "$wxUSE_TREEBOOK" = yes; then
10064 echo "$as_me:$LINENO: result: yes" >&5
10065 echo "${ECHO_T}yes" >&6
10066 else
10067 echo "$as_me:$LINENO: result: no" >&5
10068 echo "${ECHO_T}no" >&6
10069 fi
10070
10071
10072 enablestring=
10073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10074 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10075 no_cache=0
10076 # Check whether --enable-toolbook or --disable-toolbook was given.
10077 if test "${enable_toolbook+set}" = set; then
10078 enableval="$enable_toolbook"
10079
10080 if test "$enableval" = yes; then
10081 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10082 else
10083 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10084 fi
10085
10086 else
10087
10088 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10089 if test "x$LINE" != x ; then
10090 eval "DEFAULT_$LINE"
10091 else
10092 no_cache=1
10093 fi
10094
10095 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10096
10097 fi;
10098
10099 eval "$ac_cv_use_toolbook"
10100 if test "$no_cache" != 1; then
10101 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10102 fi
10103
10104 if test "$wxUSE_TOOLBOOK" = yes; then
10105 echo "$as_me:$LINENO: result: yes" >&5
10106 echo "${ECHO_T}yes" >&6
10107 else
10108 echo "$as_me:$LINENO: result: no" >&5
10109 echo "${ECHO_T}no" >&6
10110 fi
10111
10112
10113 enablestring=
10114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10116 no_cache=0
10117 # Check whether --enable-treectrl or --disable-treectrl was given.
10118 if test "${enable_treectrl+set}" = set; then
10119 enableval="$enable_treectrl"
10120
10121 if test "$enableval" = yes; then
10122 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10123 else
10124 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10125 fi
10126
10127 else
10128
10129 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10130 if test "x$LINE" != x ; then
10131 eval "DEFAULT_$LINE"
10132 else
10133 no_cache=1
10134 fi
10135
10136 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10137
10138 fi;
10139
10140 eval "$ac_cv_use_treectrl"
10141 if test "$no_cache" != 1; then
10142 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10143 fi
10144
10145 if test "$wxUSE_TREECTRL" = yes; then
10146 echo "$as_me:$LINENO: result: yes" >&5
10147 echo "${ECHO_T}yes" >&6
10148 else
10149 echo "$as_me:$LINENO: result: no" >&5
10150 echo "${ECHO_T}no" >&6
10151 fi
10152
10153
10154 enablestring=
10155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10157 no_cache=0
10158 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10159 if test "${enable_tipwindow+set}" = set; then
10160 enableval="$enable_tipwindow"
10161
10162 if test "$enableval" = yes; then
10163 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10164 else
10165 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10166 fi
10167
10168 else
10169
10170 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10171 if test "x$LINE" != x ; then
10172 eval "DEFAULT_$LINE"
10173 else
10174 no_cache=1
10175 fi
10176
10177 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10178
10179 fi;
10180
10181 eval "$ac_cv_use_tipwindow"
10182 if test "$no_cache" != 1; then
10183 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10184 fi
10185
10186 if test "$wxUSE_TIPWINDOW" = yes; then
10187 echo "$as_me:$LINENO: result: yes" >&5
10188 echo "${ECHO_T}yes" >&6
10189 else
10190 echo "$as_me:$LINENO: result: no" >&5
10191 echo "${ECHO_T}no" >&6
10192 fi
10193
10194
10195 enablestring=
10196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10197 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10198 no_cache=0
10199 # Check whether --enable-popupwin or --disable-popupwin was given.
10200 if test "${enable_popupwin+set}" = set; then
10201 enableval="$enable_popupwin"
10202
10203 if test "$enableval" = yes; then
10204 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10205 else
10206 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10207 fi
10208
10209 else
10210
10211 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10212 if test "x$LINE" != x ; then
10213 eval "DEFAULT_$LINE"
10214 else
10215 no_cache=1
10216 fi
10217
10218 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10219
10220 fi;
10221
10222 eval "$ac_cv_use_popupwin"
10223 if test "$no_cache" != 1; then
10224 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10225 fi
10226
10227 if test "$wxUSE_POPUPWIN" = yes; then
10228 echo "$as_me:$LINENO: result: yes" >&5
10229 echo "${ECHO_T}yes" >&6
10230 else
10231 echo "$as_me:$LINENO: result: no" >&5
10232 echo "${ECHO_T}no" >&6
10233 fi
10234
10235
10236
10237
10238 enablestring=
10239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10240 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10241 no_cache=0
10242 # Check whether --enable-commondlg or --disable-commondlg was given.
10243 if test "${enable_commondlg+set}" = set; then
10244 enableval="$enable_commondlg"
10245
10246 if test "$enableval" = yes; then
10247 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10248 else
10249 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10250 fi
10251
10252 else
10253
10254 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10255 if test "x$LINE" != x ; then
10256 eval "DEFAULT_$LINE"
10257 else
10258 no_cache=1
10259 fi
10260
10261 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10262
10263 fi;
10264
10265 eval "$ac_cv_use_commondlg"
10266 if test "$no_cache" != 1; then
10267 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10268 fi
10269
10270 if test "$wxUSE_COMMONDLGS" = yes; then
10271 echo "$as_me:$LINENO: result: yes" >&5
10272 echo "${ECHO_T}yes" >&6
10273 else
10274 echo "$as_me:$LINENO: result: no" >&5
10275 echo "${ECHO_T}no" >&6
10276 fi
10277
10278
10279 enablestring=
10280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10281 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10282 no_cache=0
10283 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10284 if test "${enable_aboutdlg+set}" = set; then
10285 enableval="$enable_aboutdlg"
10286
10287 if test "$enableval" = yes; then
10288 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10289 else
10290 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10291 fi
10292
10293 else
10294
10295 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10296 if test "x$LINE" != x ; then
10297 eval "DEFAULT_$LINE"
10298 else
10299 no_cache=1
10300 fi
10301
10302 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10303
10304 fi;
10305
10306 eval "$ac_cv_use_aboutdlg"
10307 if test "$no_cache" != 1; then
10308 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10309 fi
10310
10311 if test "$wxUSE_ABOUTDLG" = yes; then
10312 echo "$as_me:$LINENO: result: yes" >&5
10313 echo "${ECHO_T}yes" >&6
10314 else
10315 echo "$as_me:$LINENO: result: no" >&5
10316 echo "${ECHO_T}no" >&6
10317 fi
10318
10319
10320 enablestring=
10321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10322 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10323 no_cache=0
10324 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10325 if test "${enable_choicedlg+set}" = set; then
10326 enableval="$enable_choicedlg"
10327
10328 if test "$enableval" = yes; then
10329 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10330 else
10331 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10332 fi
10333
10334 else
10335
10336 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10337 if test "x$LINE" != x ; then
10338 eval "DEFAULT_$LINE"
10339 else
10340 no_cache=1
10341 fi
10342
10343 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10344
10345 fi;
10346
10347 eval "$ac_cv_use_choicedlg"
10348 if test "$no_cache" != 1; then
10349 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10350 fi
10351
10352 if test "$wxUSE_CHOICEDLG" = yes; then
10353 echo "$as_me:$LINENO: result: yes" >&5
10354 echo "${ECHO_T}yes" >&6
10355 else
10356 echo "$as_me:$LINENO: result: no" >&5
10357 echo "${ECHO_T}no" >&6
10358 fi
10359
10360
10361 enablestring=
10362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10363 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10364 no_cache=0
10365 # Check whether --enable-coldlg or --disable-coldlg was given.
10366 if test "${enable_coldlg+set}" = set; then
10367 enableval="$enable_coldlg"
10368
10369 if test "$enableval" = yes; then
10370 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10371 else
10372 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10373 fi
10374
10375 else
10376
10377 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10378 if test "x$LINE" != x ; then
10379 eval "DEFAULT_$LINE"
10380 else
10381 no_cache=1
10382 fi
10383
10384 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10385
10386 fi;
10387
10388 eval "$ac_cv_use_coldlg"
10389 if test "$no_cache" != 1; then
10390 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10391 fi
10392
10393 if test "$wxUSE_COLOURDLG" = yes; then
10394 echo "$as_me:$LINENO: result: yes" >&5
10395 echo "${ECHO_T}yes" >&6
10396 else
10397 echo "$as_me:$LINENO: result: no" >&5
10398 echo "${ECHO_T}no" >&6
10399 fi
10400
10401
10402 enablestring=
10403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10404 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10405 no_cache=0
10406 # Check whether --enable-filedlg or --disable-filedlg was given.
10407 if test "${enable_filedlg+set}" = set; then
10408 enableval="$enable_filedlg"
10409
10410 if test "$enableval" = yes; then
10411 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10412 else
10413 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10414 fi
10415
10416 else
10417
10418 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10419 if test "x$LINE" != x ; then
10420 eval "DEFAULT_$LINE"
10421 else
10422 no_cache=1
10423 fi
10424
10425 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10426
10427 fi;
10428
10429 eval "$ac_cv_use_filedlg"
10430 if test "$no_cache" != 1; then
10431 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10432 fi
10433
10434 if test "$wxUSE_FILEDLG" = yes; then
10435 echo "$as_me:$LINENO: result: yes" >&5
10436 echo "${ECHO_T}yes" >&6
10437 else
10438 echo "$as_me:$LINENO: result: no" >&5
10439 echo "${ECHO_T}no" >&6
10440 fi
10441
10442
10443 enablestring=
10444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10445 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10446 no_cache=0
10447 # Check whether --enable-finddlg or --disable-finddlg was given.
10448 if test "${enable_finddlg+set}" = set; then
10449 enableval="$enable_finddlg"
10450
10451 if test "$enableval" = yes; then
10452 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10453 else
10454 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10455 fi
10456
10457 else
10458
10459 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10460 if test "x$LINE" != x ; then
10461 eval "DEFAULT_$LINE"
10462 else
10463 no_cache=1
10464 fi
10465
10466 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10467
10468 fi;
10469
10470 eval "$ac_cv_use_finddlg"
10471 if test "$no_cache" != 1; then
10472 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10473 fi
10474
10475 if test "$wxUSE_FINDREPLDLG" = yes; then
10476 echo "$as_me:$LINENO: result: yes" >&5
10477 echo "${ECHO_T}yes" >&6
10478 else
10479 echo "$as_me:$LINENO: result: no" >&5
10480 echo "${ECHO_T}no" >&6
10481 fi
10482
10483
10484 enablestring=
10485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10486 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10487 no_cache=0
10488 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10489 if test "${enable_fontdlg+set}" = set; then
10490 enableval="$enable_fontdlg"
10491
10492 if test "$enableval" = yes; then
10493 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10494 else
10495 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10496 fi
10497
10498 else
10499
10500 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10501 if test "x$LINE" != x ; then
10502 eval "DEFAULT_$LINE"
10503 else
10504 no_cache=1
10505 fi
10506
10507 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10508
10509 fi;
10510
10511 eval "$ac_cv_use_fontdlg"
10512 if test "$no_cache" != 1; then
10513 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10514 fi
10515
10516 if test "$wxUSE_FONTDLG" = yes; then
10517 echo "$as_me:$LINENO: result: yes" >&5
10518 echo "${ECHO_T}yes" >&6
10519 else
10520 echo "$as_me:$LINENO: result: no" >&5
10521 echo "${ECHO_T}no" >&6
10522 fi
10523
10524
10525 enablestring=
10526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10527 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10528 no_cache=0
10529 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10530 if test "${enable_dirdlg+set}" = set; then
10531 enableval="$enable_dirdlg"
10532
10533 if test "$enableval" = yes; then
10534 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10535 else
10536 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10537 fi
10538
10539 else
10540
10541 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10542 if test "x$LINE" != x ; then
10543 eval "DEFAULT_$LINE"
10544 else
10545 no_cache=1
10546 fi
10547
10548 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10549
10550 fi;
10551
10552 eval "$ac_cv_use_dirdlg"
10553 if test "$no_cache" != 1; then
10554 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10555 fi
10556
10557 if test "$wxUSE_DIRDLG" = yes; then
10558 echo "$as_me:$LINENO: result: yes" >&5
10559 echo "${ECHO_T}yes" >&6
10560 else
10561 echo "$as_me:$LINENO: result: no" >&5
10562 echo "${ECHO_T}no" >&6
10563 fi
10564
10565
10566 enablestring=
10567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10568 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10569 no_cache=0
10570 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10571 if test "${enable_msgdlg+set}" = set; then
10572 enableval="$enable_msgdlg"
10573
10574 if test "$enableval" = yes; then
10575 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10576 else
10577 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10578 fi
10579
10580 else
10581
10582 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10583 if test "x$LINE" != x ; then
10584 eval "DEFAULT_$LINE"
10585 else
10586 no_cache=1
10587 fi
10588
10589 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10590
10591 fi;
10592
10593 eval "$ac_cv_use_msgdlg"
10594 if test "$no_cache" != 1; then
10595 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10596 fi
10597
10598 if test "$wxUSE_MSGDLG" = yes; then
10599 echo "$as_me:$LINENO: result: yes" >&5
10600 echo "${ECHO_T}yes" >&6
10601 else
10602 echo "$as_me:$LINENO: result: no" >&5
10603 echo "${ECHO_T}no" >&6
10604 fi
10605
10606
10607 enablestring=
10608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10609 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10610 no_cache=0
10611 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10612 if test "${enable_numberdlg+set}" = set; then
10613 enableval="$enable_numberdlg"
10614
10615 if test "$enableval" = yes; then
10616 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10617 else
10618 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10619 fi
10620
10621 else
10622
10623 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10624 if test "x$LINE" != x ; then
10625 eval "DEFAULT_$LINE"
10626 else
10627 no_cache=1
10628 fi
10629
10630 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10631
10632 fi;
10633
10634 eval "$ac_cv_use_numberdlg"
10635 if test "$no_cache" != 1; then
10636 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10637 fi
10638
10639 if test "$wxUSE_NUMBERDLG" = yes; then
10640 echo "$as_me:$LINENO: result: yes" >&5
10641 echo "${ECHO_T}yes" >&6
10642 else
10643 echo "$as_me:$LINENO: result: no" >&5
10644 echo "${ECHO_T}no" >&6
10645 fi
10646
10647
10648 enablestring=
10649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10650 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10651 no_cache=0
10652 # Check whether --enable-splash or --disable-splash was given.
10653 if test "${enable_splash+set}" = set; then
10654 enableval="$enable_splash"
10655
10656 if test "$enableval" = yes; then
10657 ac_cv_use_splash='wxUSE_SPLASH=yes'
10658 else
10659 ac_cv_use_splash='wxUSE_SPLASH=no'
10660 fi
10661
10662 else
10663
10664 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10665 if test "x$LINE" != x ; then
10666 eval "DEFAULT_$LINE"
10667 else
10668 no_cache=1
10669 fi
10670
10671 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10672
10673 fi;
10674
10675 eval "$ac_cv_use_splash"
10676 if test "$no_cache" != 1; then
10677 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10678 fi
10679
10680 if test "$wxUSE_SPLASH" = yes; then
10681 echo "$as_me:$LINENO: result: yes" >&5
10682 echo "${ECHO_T}yes" >&6
10683 else
10684 echo "$as_me:$LINENO: result: no" >&5
10685 echo "${ECHO_T}no" >&6
10686 fi
10687
10688
10689 enablestring=
10690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10691 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10692 no_cache=0
10693 # Check whether --enable-textdlg or --disable-textdlg was given.
10694 if test "${enable_textdlg+set}" = set; then
10695 enableval="$enable_textdlg"
10696
10697 if test "$enableval" = yes; then
10698 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10699 else
10700 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10701 fi
10702
10703 else
10704
10705 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10706 if test "x$LINE" != x ; then
10707 eval "DEFAULT_$LINE"
10708 else
10709 no_cache=1
10710 fi
10711
10712 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10713
10714 fi;
10715
10716 eval "$ac_cv_use_textdlg"
10717 if test "$no_cache" != 1; then
10718 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10719 fi
10720
10721 if test "$wxUSE_TEXTDLG" = yes; then
10722 echo "$as_me:$LINENO: result: yes" >&5
10723 echo "${ECHO_T}yes" >&6
10724 else
10725 echo "$as_me:$LINENO: result: no" >&5
10726 echo "${ECHO_T}no" >&6
10727 fi
10728
10729
10730 enablestring=
10731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10732 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10733 no_cache=0
10734 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10735 if test "${enable_tipdlg+set}" = set; then
10736 enableval="$enable_tipdlg"
10737
10738 if test "$enableval" = yes; then
10739 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10740 else
10741 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10742 fi
10743
10744 else
10745
10746 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10747 if test "x$LINE" != x ; then
10748 eval "DEFAULT_$LINE"
10749 else
10750 no_cache=1
10751 fi
10752
10753 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10754
10755 fi;
10756
10757 eval "$ac_cv_use_tipdlg"
10758 if test "$no_cache" != 1; then
10759 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10760 fi
10761
10762 if test "$wxUSE_STARTUP_TIPS" = yes; then
10763 echo "$as_me:$LINENO: result: yes" >&5
10764 echo "${ECHO_T}yes" >&6
10765 else
10766 echo "$as_me:$LINENO: result: no" >&5
10767 echo "${ECHO_T}no" >&6
10768 fi
10769
10770
10771 enablestring=
10772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10773 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10774 no_cache=0
10775 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10776 if test "${enable_progressdlg+set}" = set; then
10777 enableval="$enable_progressdlg"
10778
10779 if test "$enableval" = yes; then
10780 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10781 else
10782 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10783 fi
10784
10785 else
10786
10787 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10788 if test "x$LINE" != x ; then
10789 eval "DEFAULT_$LINE"
10790 else
10791 no_cache=1
10792 fi
10793
10794 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10795
10796 fi;
10797
10798 eval "$ac_cv_use_progressdlg"
10799 if test "$no_cache" != 1; then
10800 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10801 fi
10802
10803 if test "$wxUSE_PROGRESSDLG" = yes; then
10804 echo "$as_me:$LINENO: result: yes" >&5
10805 echo "${ECHO_T}yes" >&6
10806 else
10807 echo "$as_me:$LINENO: result: no" >&5
10808 echo "${ECHO_T}no" >&6
10809 fi
10810
10811
10812 enablestring=
10813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10814 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10815 no_cache=0
10816 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10817 if test "${enable_wizarddlg+set}" = set; then
10818 enableval="$enable_wizarddlg"
10819
10820 if test "$enableval" = yes; then
10821 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10822 else
10823 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10824 fi
10825
10826 else
10827
10828 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10829 if test "x$LINE" != x ; then
10830 eval "DEFAULT_$LINE"
10831 else
10832 no_cache=1
10833 fi
10834
10835 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10836
10837 fi;
10838
10839 eval "$ac_cv_use_wizarddlg"
10840 if test "$no_cache" != 1; then
10841 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10842 fi
10843
10844 if test "$wxUSE_WIZARDDLG" = yes; then
10845 echo "$as_me:$LINENO: result: yes" >&5
10846 echo "${ECHO_T}yes" >&6
10847 else
10848 echo "$as_me:$LINENO: result: no" >&5
10849 echo "${ECHO_T}no" >&6
10850 fi
10851
10852
10853
10854
10855 enablestring=
10856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10857 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10858 no_cache=0
10859 # Check whether --enable-menus or --disable-menus was given.
10860 if test "${enable_menus+set}" = set; then
10861 enableval="$enable_menus"
10862
10863 if test "$enableval" = yes; then
10864 ac_cv_use_menus='wxUSE_MENUS=yes'
10865 else
10866 ac_cv_use_menus='wxUSE_MENUS=no'
10867 fi
10868
10869 else
10870
10871 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10872 if test "x$LINE" != x ; then
10873 eval "DEFAULT_$LINE"
10874 else
10875 no_cache=1
10876 fi
10877
10878 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10879
10880 fi;
10881
10882 eval "$ac_cv_use_menus"
10883 if test "$no_cache" != 1; then
10884 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10885 fi
10886
10887 if test "$wxUSE_MENUS" = yes; then
10888 echo "$as_me:$LINENO: result: yes" >&5
10889 echo "${ECHO_T}yes" >&6
10890 else
10891 echo "$as_me:$LINENO: result: no" >&5
10892 echo "${ECHO_T}no" >&6
10893 fi
10894
10895
10896 enablestring=
10897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10898 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10899 no_cache=0
10900 # Check whether --enable-miniframe or --disable-miniframe was given.
10901 if test "${enable_miniframe+set}" = set; then
10902 enableval="$enable_miniframe"
10903
10904 if test "$enableval" = yes; then
10905 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10906 else
10907 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10908 fi
10909
10910 else
10911
10912 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10913 if test "x$LINE" != x ; then
10914 eval "DEFAULT_$LINE"
10915 else
10916 no_cache=1
10917 fi
10918
10919 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10920
10921 fi;
10922
10923 eval "$ac_cv_use_miniframe"
10924 if test "$no_cache" != 1; then
10925 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10926 fi
10927
10928 if test "$wxUSE_MINIFRAME" = yes; then
10929 echo "$as_me:$LINENO: result: yes" >&5
10930 echo "${ECHO_T}yes" >&6
10931 else
10932 echo "$as_me:$LINENO: result: no" >&5
10933 echo "${ECHO_T}no" >&6
10934 fi
10935
10936
10937 enablestring=
10938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10939 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10940 no_cache=0
10941 # Check whether --enable-tooltips or --disable-tooltips was given.
10942 if test "${enable_tooltips+set}" = set; then
10943 enableval="$enable_tooltips"
10944
10945 if test "$enableval" = yes; then
10946 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10947 else
10948 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10949 fi
10950
10951 else
10952
10953 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10954 if test "x$LINE" != x ; then
10955 eval "DEFAULT_$LINE"
10956 else
10957 no_cache=1
10958 fi
10959
10960 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10961
10962 fi;
10963
10964 eval "$ac_cv_use_tooltips"
10965 if test "$no_cache" != 1; then
10966 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10967 fi
10968
10969 if test "$wxUSE_TOOLTIPS" = yes; then
10970 echo "$as_me:$LINENO: result: yes" >&5
10971 echo "${ECHO_T}yes" >&6
10972 else
10973 echo "$as_me:$LINENO: result: no" >&5
10974 echo "${ECHO_T}no" >&6
10975 fi
10976
10977
10978 enablestring=
10979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10980 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10981 no_cache=0
10982 # Check whether --enable-splines or --disable-splines was given.
10983 if test "${enable_splines+set}" = set; then
10984 enableval="$enable_splines"
10985
10986 if test "$enableval" = yes; then
10987 ac_cv_use_splines='wxUSE_SPLINES=yes'
10988 else
10989 ac_cv_use_splines='wxUSE_SPLINES=no'
10990 fi
10991
10992 else
10993
10994 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10995 if test "x$LINE" != x ; then
10996 eval "DEFAULT_$LINE"
10997 else
10998 no_cache=1
10999 fi
11000
11001 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11002
11003 fi;
11004
11005 eval "$ac_cv_use_splines"
11006 if test "$no_cache" != 1; then
11007 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11008 fi
11009
11010 if test "$wxUSE_SPLINES" = yes; then
11011 echo "$as_me:$LINENO: result: yes" >&5
11012 echo "${ECHO_T}yes" >&6
11013 else
11014 echo "$as_me:$LINENO: result: no" >&5
11015 echo "${ECHO_T}no" >&6
11016 fi
11017
11018
11019 enablestring=
11020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11021 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11022 no_cache=0
11023 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11024 if test "${enable_mousewheel+set}" = set; then
11025 enableval="$enable_mousewheel"
11026
11027 if test "$enableval" = yes; then
11028 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11029 else
11030 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11031 fi
11032
11033 else
11034
11035 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11036 if test "x$LINE" != x ; then
11037 eval "DEFAULT_$LINE"
11038 else
11039 no_cache=1
11040 fi
11041
11042 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11043
11044 fi;
11045
11046 eval "$ac_cv_use_mousewheel"
11047 if test "$no_cache" != 1; then
11048 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11049 fi
11050
11051 if test "$wxUSE_MOUSEWHEEL" = yes; then
11052 echo "$as_me:$LINENO: result: yes" >&5
11053 echo "${ECHO_T}yes" >&6
11054 else
11055 echo "$as_me:$LINENO: result: no" >&5
11056 echo "${ECHO_T}no" >&6
11057 fi
11058
11059
11060 enablestring=
11061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11062 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11063 no_cache=0
11064 # Check whether --enable-validators or --disable-validators was given.
11065 if test "${enable_validators+set}" = set; then
11066 enableval="$enable_validators"
11067
11068 if test "$enableval" = yes; then
11069 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11070 else
11071 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11072 fi
11073
11074 else
11075
11076 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11077 if test "x$LINE" != x ; then
11078 eval "DEFAULT_$LINE"
11079 else
11080 no_cache=1
11081 fi
11082
11083 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11084
11085 fi;
11086
11087 eval "$ac_cv_use_validators"
11088 if test "$no_cache" != 1; then
11089 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11090 fi
11091
11092 if test "$wxUSE_VALIDATORS" = yes; then
11093 echo "$as_me:$LINENO: result: yes" >&5
11094 echo "${ECHO_T}yes" >&6
11095 else
11096 echo "$as_me:$LINENO: result: no" >&5
11097 echo "${ECHO_T}no" >&6
11098 fi
11099
11100
11101 enablestring=
11102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11103 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11104 no_cache=0
11105 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11106 if test "${enable_busyinfo+set}" = set; then
11107 enableval="$enable_busyinfo"
11108
11109 if test "$enableval" = yes; then
11110 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11111 else
11112 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11113 fi
11114
11115 else
11116
11117 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11118 if test "x$LINE" != x ; then
11119 eval "DEFAULT_$LINE"
11120 else
11121 no_cache=1
11122 fi
11123
11124 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11125
11126 fi;
11127
11128 eval "$ac_cv_use_busyinfo"
11129 if test "$no_cache" != 1; then
11130 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11131 fi
11132
11133 if test "$wxUSE_BUSYINFO" = yes; then
11134 echo "$as_me:$LINENO: result: yes" >&5
11135 echo "${ECHO_T}yes" >&6
11136 else
11137 echo "$as_me:$LINENO: result: no" >&5
11138 echo "${ECHO_T}no" >&6
11139 fi
11140
11141
11142 enablestring=
11143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11144 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11145 no_cache=0
11146 # Check whether --enable-joystick or --disable-joystick was given.
11147 if test "${enable_joystick+set}" = set; then
11148 enableval="$enable_joystick"
11149
11150 if test "$enableval" = yes; then
11151 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11152 else
11153 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11154 fi
11155
11156 else
11157
11158 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11159 if test "x$LINE" != x ; then
11160 eval "DEFAULT_$LINE"
11161 else
11162 no_cache=1
11163 fi
11164
11165 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11166
11167 fi;
11168
11169 eval "$ac_cv_use_joystick"
11170 if test "$no_cache" != 1; then
11171 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11172 fi
11173
11174 if test "$wxUSE_JOYSTICK" = yes; then
11175 echo "$as_me:$LINENO: result: yes" >&5
11176 echo "${ECHO_T}yes" >&6
11177 else
11178 echo "$as_me:$LINENO: result: no" >&5
11179 echo "${ECHO_T}no" >&6
11180 fi
11181
11182
11183 enablestring=
11184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11185 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11186 no_cache=0
11187 # Check whether --enable-metafile or --disable-metafile was given.
11188 if test "${enable_metafile+set}" = set; then
11189 enableval="$enable_metafile"
11190
11191 if test "$enableval" = yes; then
11192 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11193 else
11194 ac_cv_use_metafile='wxUSE_METAFILE=no'
11195 fi
11196
11197 else
11198
11199 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11200 if test "x$LINE" != x ; then
11201 eval "DEFAULT_$LINE"
11202 else
11203 no_cache=1
11204 fi
11205
11206 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11207
11208 fi;
11209
11210 eval "$ac_cv_use_metafile"
11211 if test "$no_cache" != 1; then
11212 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11213 fi
11214
11215 if test "$wxUSE_METAFILE" = yes; then
11216 echo "$as_me:$LINENO: result: yes" >&5
11217 echo "${ECHO_T}yes" >&6
11218 else
11219 echo "$as_me:$LINENO: result: no" >&5
11220 echo "${ECHO_T}no" >&6
11221 fi
11222
11223
11224 enablestring=
11225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11226 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11227 no_cache=0
11228 # Check whether --enable-dragimage or --disable-dragimage was given.
11229 if test "${enable_dragimage+set}" = set; then
11230 enableval="$enable_dragimage"
11231
11232 if test "$enableval" = yes; then
11233 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11234 else
11235 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11236 fi
11237
11238 else
11239
11240 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11241 if test "x$LINE" != x ; then
11242 eval "DEFAULT_$LINE"
11243 else
11244 no_cache=1
11245 fi
11246
11247 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11248
11249 fi;
11250
11251 eval "$ac_cv_use_dragimage"
11252 if test "$no_cache" != 1; then
11253 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11254 fi
11255
11256 if test "$wxUSE_DRAGIMAGE" = yes; then
11257 echo "$as_me:$LINENO: result: yes" >&5
11258 echo "${ECHO_T}yes" >&6
11259 else
11260 echo "$as_me:$LINENO: result: no" >&5
11261 echo "${ECHO_T}no" >&6
11262 fi
11263
11264
11265 enablestring=
11266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11267 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11268 no_cache=0
11269 # Check whether --enable-accessibility or --disable-accessibility was given.
11270 if test "${enable_accessibility+set}" = set; then
11271 enableval="$enable_accessibility"
11272
11273 if test "$enableval" = yes; then
11274 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11275 else
11276 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11277 fi
11278
11279 else
11280
11281 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11282 if test "x$LINE" != x ; then
11283 eval "DEFAULT_$LINE"
11284 else
11285 no_cache=1
11286 fi
11287
11288 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11289
11290 fi;
11291
11292 eval "$ac_cv_use_accessibility"
11293 if test "$no_cache" != 1; then
11294 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11295 fi
11296
11297 if test "$wxUSE_ACCESSIBILITY" = yes; then
11298 echo "$as_me:$LINENO: result: yes" >&5
11299 echo "${ECHO_T}yes" >&6
11300 else
11301 echo "$as_me:$LINENO: result: no" >&5
11302 echo "${ECHO_T}no" >&6
11303 fi
11304
11305
11306 if test "$wxUSE_MSW" = "1"; then
11307
11308 enablestring=
11309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11310 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11311 no_cache=0
11312 # Check whether --enable-dccache or --disable-dccache was given.
11313 if test "${enable_dccache+set}" = set; then
11314 enableval="$enable_dccache"
11315
11316 if test "$enableval" = yes; then
11317 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11318 else
11319 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11320 fi
11321
11322 else
11323
11324 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11325 if test "x$LINE" != x ; then
11326 eval "DEFAULT_$LINE"
11327 else
11328 no_cache=1
11329 fi
11330
11331 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11332
11333 fi;
11334
11335 eval "$ac_cv_use_dccache"
11336 if test "$no_cache" != 1; then
11337 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11338 fi
11339
11340 if test "$wxUSE_DC_CACHEING" = yes; then
11341 echo "$as_me:$LINENO: result: yes" >&5
11342 echo "${ECHO_T}yes" >&6
11343 else
11344 echo "$as_me:$LINENO: result: no" >&5
11345 echo "${ECHO_T}no" >&6
11346 fi
11347
11348 fi
11349
11350
11351
11352 enablestring=
11353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11354 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11355 no_cache=0
11356 # Check whether --enable-palette or --disable-palette was given.
11357 if test "${enable_palette+set}" = set; then
11358 enableval="$enable_palette"
11359
11360 if test "$enableval" = yes; then
11361 ac_cv_use_palette='wxUSE_PALETTE=yes'
11362 else
11363 ac_cv_use_palette='wxUSE_PALETTE=no'
11364 fi
11365
11366 else
11367
11368 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11369 if test "x$LINE" != x ; then
11370 eval "DEFAULT_$LINE"
11371 else
11372 no_cache=1
11373 fi
11374
11375 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11376
11377 fi;
11378
11379 eval "$ac_cv_use_palette"
11380 if test "$no_cache" != 1; then
11381 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11382 fi
11383
11384 if test "$wxUSE_PALETTE" = yes; then
11385 echo "$as_me:$LINENO: result: yes" >&5
11386 echo "${ECHO_T}yes" >&6
11387 else
11388 echo "$as_me:$LINENO: result: no" >&5
11389 echo "${ECHO_T}no" >&6
11390 fi
11391
11392
11393 enablestring=
11394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11395 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11396 no_cache=0
11397 # Check whether --enable-image or --disable-image was given.
11398 if test "${enable_image+set}" = set; then
11399 enableval="$enable_image"
11400
11401 if test "$enableval" = yes; then
11402 ac_cv_use_image='wxUSE_IMAGE=yes'
11403 else
11404 ac_cv_use_image='wxUSE_IMAGE=no'
11405 fi
11406
11407 else
11408
11409 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11410 if test "x$LINE" != x ; then
11411 eval "DEFAULT_$LINE"
11412 else
11413 no_cache=1
11414 fi
11415
11416 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11417
11418 fi;
11419
11420 eval "$ac_cv_use_image"
11421 if test "$no_cache" != 1; then
11422 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11423 fi
11424
11425 if test "$wxUSE_IMAGE" = yes; then
11426 echo "$as_me:$LINENO: result: yes" >&5
11427 echo "${ECHO_T}yes" >&6
11428 else
11429 echo "$as_me:$LINENO: result: no" >&5
11430 echo "${ECHO_T}no" >&6
11431 fi
11432
11433
11434 enablestring=
11435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11436 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11437 no_cache=0
11438 # Check whether --enable-gif or --disable-gif was given.
11439 if test "${enable_gif+set}" = set; then
11440 enableval="$enable_gif"
11441
11442 if test "$enableval" = yes; then
11443 ac_cv_use_gif='wxUSE_GIF=yes'
11444 else
11445 ac_cv_use_gif='wxUSE_GIF=no'
11446 fi
11447
11448 else
11449
11450 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11451 if test "x$LINE" != x ; then
11452 eval "DEFAULT_$LINE"
11453 else
11454 no_cache=1
11455 fi
11456
11457 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11458
11459 fi;
11460
11461 eval "$ac_cv_use_gif"
11462 if test "$no_cache" != 1; then
11463 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11464 fi
11465
11466 if test "$wxUSE_GIF" = yes; then
11467 echo "$as_me:$LINENO: result: yes" >&5
11468 echo "${ECHO_T}yes" >&6
11469 else
11470 echo "$as_me:$LINENO: result: no" >&5
11471 echo "${ECHO_T}no" >&6
11472 fi
11473
11474
11475 enablestring=
11476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11477 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11478 no_cache=0
11479 # Check whether --enable-pcx or --disable-pcx was given.
11480 if test "${enable_pcx+set}" = set; then
11481 enableval="$enable_pcx"
11482
11483 if test "$enableval" = yes; then
11484 ac_cv_use_pcx='wxUSE_PCX=yes'
11485 else
11486 ac_cv_use_pcx='wxUSE_PCX=no'
11487 fi
11488
11489 else
11490
11491 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11492 if test "x$LINE" != x ; then
11493 eval "DEFAULT_$LINE"
11494 else
11495 no_cache=1
11496 fi
11497
11498 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11499
11500 fi;
11501
11502 eval "$ac_cv_use_pcx"
11503 if test "$no_cache" != 1; then
11504 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11505 fi
11506
11507 if test "$wxUSE_PCX" = yes; then
11508 echo "$as_me:$LINENO: result: yes" >&5
11509 echo "${ECHO_T}yes" >&6
11510 else
11511 echo "$as_me:$LINENO: result: no" >&5
11512 echo "${ECHO_T}no" >&6
11513 fi
11514
11515
11516 enablestring=
11517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11518 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11519 no_cache=0
11520 # Check whether --enable-iff or --disable-iff was given.
11521 if test "${enable_iff+set}" = set; then
11522 enableval="$enable_iff"
11523
11524 if test "$enableval" = yes; then
11525 ac_cv_use_iff='wxUSE_IFF=yes'
11526 else
11527 ac_cv_use_iff='wxUSE_IFF=no'
11528 fi
11529
11530 else
11531
11532 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11533 if test "x$LINE" != x ; then
11534 eval "DEFAULT_$LINE"
11535 else
11536 no_cache=1
11537 fi
11538
11539 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11540
11541 fi;
11542
11543 eval "$ac_cv_use_iff"
11544 if test "$no_cache" != 1; then
11545 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11546 fi
11547
11548 if test "$wxUSE_IFF" = yes; then
11549 echo "$as_me:$LINENO: result: yes" >&5
11550 echo "${ECHO_T}yes" >&6
11551 else
11552 echo "$as_me:$LINENO: result: no" >&5
11553 echo "${ECHO_T}no" >&6
11554 fi
11555
11556
11557 enablestring=
11558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11559 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11560 no_cache=0
11561 # Check whether --enable-pnm or --disable-pnm was given.
11562 if test "${enable_pnm+set}" = set; then
11563 enableval="$enable_pnm"
11564
11565 if test "$enableval" = yes; then
11566 ac_cv_use_pnm='wxUSE_PNM=yes'
11567 else
11568 ac_cv_use_pnm='wxUSE_PNM=no'
11569 fi
11570
11571 else
11572
11573 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11574 if test "x$LINE" != x ; then
11575 eval "DEFAULT_$LINE"
11576 else
11577 no_cache=1
11578 fi
11579
11580 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11581
11582 fi;
11583
11584 eval "$ac_cv_use_pnm"
11585 if test "$no_cache" != 1; then
11586 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11587 fi
11588
11589 if test "$wxUSE_PNM" = yes; then
11590 echo "$as_me:$LINENO: result: yes" >&5
11591 echo "${ECHO_T}yes" >&6
11592 else
11593 echo "$as_me:$LINENO: result: no" >&5
11594 echo "${ECHO_T}no" >&6
11595 fi
11596
11597
11598 enablestring=
11599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11600 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11601 no_cache=0
11602 # Check whether --enable-xpm or --disable-xpm was given.
11603 if test "${enable_xpm+set}" = set; then
11604 enableval="$enable_xpm"
11605
11606 if test "$enableval" = yes; then
11607 ac_cv_use_xpm='wxUSE_XPM=yes'
11608 else
11609 ac_cv_use_xpm='wxUSE_XPM=no'
11610 fi
11611
11612 else
11613
11614 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11615 if test "x$LINE" != x ; then
11616 eval "DEFAULT_$LINE"
11617 else
11618 no_cache=1
11619 fi
11620
11621 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11622
11623 fi;
11624
11625 eval "$ac_cv_use_xpm"
11626 if test "$no_cache" != 1; then
11627 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11628 fi
11629
11630 if test "$wxUSE_XPM" = yes; then
11631 echo "$as_me:$LINENO: result: yes" >&5
11632 echo "${ECHO_T}yes" >&6
11633 else
11634 echo "$as_me:$LINENO: result: no" >&5
11635 echo "${ECHO_T}no" >&6
11636 fi
11637
11638
11639 enablestring=
11640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11641 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11642 no_cache=0
11643 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11644 if test "${enable_ico_cur+set}" = set; then
11645 enableval="$enable_ico_cur"
11646
11647 if test "$enableval" = yes; then
11648 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11649 else
11650 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11651 fi
11652
11653 else
11654
11655 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11656 if test "x$LINE" != x ; then
11657 eval "DEFAULT_$LINE"
11658 else
11659 no_cache=1
11660 fi
11661
11662 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11663
11664 fi;
11665
11666 eval "$ac_cv_use_ico_cur"
11667 if test "$no_cache" != 1; then
11668 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11669 fi
11670
11671 if test "$wxUSE_ICO_CUR" = yes; then
11672 echo "$as_me:$LINENO: result: yes" >&5
11673 echo "${ECHO_T}yes" >&6
11674 else
11675 echo "$as_me:$LINENO: result: no" >&5
11676 echo "${ECHO_T}no" >&6
11677 fi
11678
11679
11680 fi
11681
11682
11683
11684 # Check whether --with-flavour or --without-flavour was given.
11685 if test "${with_flavour+set}" = set; then
11686 withval="$with_flavour"
11687 WX_FLAVOUR="$withval"
11688 fi;
11689
11690
11691
11692 enablestring=
11693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11694 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11695 no_cache=0
11696 # Check whether --enable-official_build or --disable-official_build was given.
11697 if test "${enable_official_build+set}" = set; then
11698 enableval="$enable_official_build"
11699
11700 if test "$enableval" = yes; then
11701 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11702 else
11703 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11704 fi
11705
11706 else
11707
11708 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11709 if test "x$LINE" != x ; then
11710 eval "DEFAULT_$LINE"
11711 else
11712 no_cache=1
11713 fi
11714
11715 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11716
11717 fi;
11718
11719 eval "$ac_cv_use_official_build"
11720 if test "$no_cache" != 1; then
11721 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11722 fi
11723
11724 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11725 echo "$as_me:$LINENO: result: yes" >&5
11726 echo "${ECHO_T}yes" >&6
11727 else
11728 echo "$as_me:$LINENO: result: no" >&5
11729 echo "${ECHO_T}no" >&6
11730 fi
11731
11732 # Check whether --enable-vendor or --disable-vendor was given.
11733 if test "${enable_vendor+set}" = set; then
11734 enableval="$enable_vendor"
11735 VENDOR="$enableval"
11736 fi;
11737 if test "x$VENDOR" = "x"; then
11738 VENDOR="custom"
11739 fi
11740
11741
11742
11743
11744 echo "saving argument cache $wx_arg_cache_file"
11745 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11746
11747
11748
11749 echo "$as_me:$LINENO: checking for toolkit" >&5
11750 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11751
11752 # In Wine, we need to default to MSW, not GTK or MOTIF
11753 if test "$wxUSE_WINE" = "yes"; then
11754 DEFAULT_DEFAULT_wxUSE_GTK=0
11755 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11756 DEFAULT_DEFAULT_wxUSE_MSW=1
11757 wxUSE_SHARED=no
11758 fi
11759
11760
11761 if test "$wxUSE_GUI" = "yes"; then
11762
11763 if test "$USE_BEOS" = 1; then
11764 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11765 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11766 { (exit 1); exit 1; }; }
11767 fi
11768
11769 if test "$TOOLKIT_GIVEN" = 1; then
11770 for toolkit in `echo $ALL_TOOLKITS`; do
11771 var=wxUSE_$toolkit
11772 eval "value=\$${var}"
11773 if test "x$value" = "xno"; then
11774 eval "$var=0"
11775 elif test "x$value" != "x"; then
11776 eval "$var=1"
11777 fi
11778
11779 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11780 eval "wx${toolkit}_VERSION=$value"
11781 fi
11782 done
11783 else
11784 for toolkit in `echo $ALL_TOOLKITS`; do
11785 if test "$has_toolkit_in_cache" != 1; then
11786 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11787 else
11788 var=DEFAULT_wxUSE_$toolkit
11789
11790 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11791 if test "x$version" != "x"; then
11792 eval "wx${toolkit}_VERSION=$version"
11793 fi
11794 fi
11795 eval "wxUSE_$toolkit=\$${var}"
11796 done
11797 fi
11798
11799 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11800 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11801 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11802
11803 case "${host}" in
11804 *-pc-os2_emx | *-pc-os2-emx )
11805 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11806 esac
11807
11808 case "$NUM_TOOLKITS" in
11809 1)
11810 ;;
11811 0)
11812 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11813 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11814 { (exit 1); exit 1; }; }
11815 ;;
11816 *)
11817 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11818 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11819 { (exit 1); exit 1; }; }
11820 esac
11821
11822 # to be removed when --disable-gtk2 isn't needed
11823 if test "x$wxUSE_GTK2" = "xyes"; then
11824 wxGTK_VERSION=2
11825 elif test "x$wxUSE_GTK2" = "xno"; then
11826 wxGTK_VERSION=1
11827 fi
11828
11829 for toolkit in `echo $ALL_TOOLKITS`; do
11830 var=wxUSE_$toolkit
11831 eval "value=\$${var}"
11832 if test "x$value" != x; then
11833 cache_var=CACHE_$toolkit
11834 eval "cache=\$${cache_var}"
11835 if test "$cache" = 1; then
11836 echo "$var=$value" >> ${wx_arg_cache_file}
11837 eval "version=\$wx${toolkit}_VERSION"
11838 if test "x$version" != "x"; then
11839 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11840 fi
11841 fi
11842 if test "$value" = 1; then
11843 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11844 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11845 echo "${ECHO_T}$toolkit_echo" >&6
11846 fi
11847 fi
11848 done
11849 else
11850 if test "x$host_alias" != "x"; then
11851 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11852 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11853 else
11854 echo "$as_me:$LINENO: result: base only" >&5
11855 echo "${ECHO_T}base only" >&6
11856 fi
11857 fi
11858
11859 wants_win32=0
11860 doesnt_want_win32=0
11861 case "${host}" in
11862 *-*-cygwin*)
11863 if test "$wxUSE_MSW" = 1 ; then
11864 wants_win32=1
11865 BAKEFILE_FORCE_PLATFORM=win32
11866 else
11867 doesnt_want_win32=1
11868 fi
11869 ;;
11870 *-*-mingw*)
11871 wants_win32=1
11872 ;;
11873 esac
11874
11875 if test "$wxUSE_WINE" = "yes"; then
11876 wants_win32=1
11877 CC=winegcc
11878 CXX=wineg++
11879 LDFLAGS_GUI="-mwindows"
11880 fi
11881
11882 if test "$wants_win32" = 1 ; then
11883 USE_UNIX=0
11884 USE_WIN32=1
11885 cat >>confdefs.h <<\_ACEOF
11886 #define __WIN32__ 1
11887 _ACEOF
11888
11889 cat >>confdefs.h <<\_ACEOF
11890 #define __WIN95__ 1
11891 _ACEOF
11892
11893 cat >>confdefs.h <<\_ACEOF
11894 #define __WINDOWS__ 1
11895 _ACEOF
11896
11897 cat >>confdefs.h <<\_ACEOF
11898 #define __GNUWIN32__ 1
11899 _ACEOF
11900
11901 cat >>confdefs.h <<\_ACEOF
11902 #define STRICT 1
11903 _ACEOF
11904
11905 cat >>confdefs.h <<\_ACEOF
11906 #define WINVER 0x0400
11907 _ACEOF
11908
11909 fi
11910 if test "$doesnt_want_win32" = 1 ; then
11911 USE_UNIX=1
11912 USE_WIN32=0
11913 fi
11914
11915 if test "$USE_UNIX" = 1 ; then
11916 wxUSE_UNIX=yes
11917 cat >>confdefs.h <<\_ACEOF
11918 #define __UNIX__ 1
11919 _ACEOF
11920
11921 fi
11922
11923
11924 cat >confcache <<\_ACEOF
11925 # This file is a shell script that caches the results of configure
11926 # tests run on this system so they can be shared between configure
11927 # scripts and configure runs, see configure's option --config-cache.
11928 # It is not useful on other systems. If it contains results you don't
11929 # want to keep, you may remove or edit it.
11930 #
11931 # config.status only pays attention to the cache file if you give it
11932 # the --recheck option to rerun configure.
11933 #
11934 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11935 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11936 # following values.
11937
11938 _ACEOF
11939
11940 # The following way of writing the cache mishandles newlines in values,
11941 # but we know of no workaround that is simple, portable, and efficient.
11942 # So, don't put newlines in cache variables' values.
11943 # Ultrix sh set writes to stderr and can't be redirected directly,
11944 # and sets the high bit in the cache file unless we assign to the vars.
11945 {
11946 (set) 2>&1 |
11947 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11948 *ac_space=\ *)
11949 # `set' does not quote correctly, so add quotes (double-quote
11950 # substitution turns \\\\ into \\, and sed turns \\ into \).
11951 sed -n \
11952 "s/'/'\\\\''/g;
11953 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11954 ;;
11955 *)
11956 # `set' quotes correctly as required by POSIX, so do not add quotes.
11957 sed -n \
11958 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11959 ;;
11960 esac;
11961 } |
11962 sed '
11963 t clear
11964 : clear
11965 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11966 t end
11967 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11968 : end' >>confcache
11969 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11970 if test -w $cache_file; then
11971 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11972 cat confcache >$cache_file
11973 else
11974 echo "not updating unwritable cache $cache_file"
11975 fi
11976 fi
11977 rm -f confcache
11978
11979 CFLAGS=${CFLAGS:=}
11980
11981
11982
11983 ac_ext=c
11984 ac_cpp='$CPP $CPPFLAGS'
11985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11988 if test -n "$ac_tool_prefix"; then
11989 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11990 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11991 echo "$as_me:$LINENO: checking for $ac_word" >&5
11992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11993 if test "${ac_cv_prog_CC+set}" = set; then
11994 echo $ECHO_N "(cached) $ECHO_C" >&6
11995 else
11996 if test -n "$CC"; then
11997 ac_cv_prog_CC="$CC" # Let the user override the test.
11998 else
11999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12000 for as_dir in $PATH
12001 do
12002 IFS=$as_save_IFS
12003 test -z "$as_dir" && as_dir=.
12004 for ac_exec_ext in '' $ac_executable_extensions; do
12005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12006 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12008 break 2
12009 fi
12010 done
12011 done
12012
12013 fi
12014 fi
12015 CC=$ac_cv_prog_CC
12016 if test -n "$CC"; then
12017 echo "$as_me:$LINENO: result: $CC" >&5
12018 echo "${ECHO_T}$CC" >&6
12019 else
12020 echo "$as_me:$LINENO: result: no" >&5
12021 echo "${ECHO_T}no" >&6
12022 fi
12023
12024 fi
12025 if test -z "$ac_cv_prog_CC"; then
12026 ac_ct_CC=$CC
12027 # Extract the first word of "gcc", so it can be a program name with args.
12028 set dummy gcc; ac_word=$2
12029 echo "$as_me:$LINENO: checking for $ac_word" >&5
12030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12031 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12032 echo $ECHO_N "(cached) $ECHO_C" >&6
12033 else
12034 if test -n "$ac_ct_CC"; then
12035 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12036 else
12037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12038 for as_dir in $PATH
12039 do
12040 IFS=$as_save_IFS
12041 test -z "$as_dir" && as_dir=.
12042 for ac_exec_ext in '' $ac_executable_extensions; do
12043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12044 ac_cv_prog_ac_ct_CC="gcc"
12045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12046 break 2
12047 fi
12048 done
12049 done
12050
12051 fi
12052 fi
12053 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12054 if test -n "$ac_ct_CC"; then
12055 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12056 echo "${ECHO_T}$ac_ct_CC" >&6
12057 else
12058 echo "$as_me:$LINENO: result: no" >&5
12059 echo "${ECHO_T}no" >&6
12060 fi
12061
12062 CC=$ac_ct_CC
12063 else
12064 CC="$ac_cv_prog_CC"
12065 fi
12066
12067 if test -z "$CC"; then
12068 if test -n "$ac_tool_prefix"; then
12069 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12070 set dummy ${ac_tool_prefix}cc; ac_word=$2
12071 echo "$as_me:$LINENO: checking for $ac_word" >&5
12072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12073 if test "${ac_cv_prog_CC+set}" = set; then
12074 echo $ECHO_N "(cached) $ECHO_C" >&6
12075 else
12076 if test -n "$CC"; then
12077 ac_cv_prog_CC="$CC" # Let the user override the test.
12078 else
12079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12080 for as_dir in $PATH
12081 do
12082 IFS=$as_save_IFS
12083 test -z "$as_dir" && as_dir=.
12084 for ac_exec_ext in '' $ac_executable_extensions; do
12085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12086 ac_cv_prog_CC="${ac_tool_prefix}cc"
12087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12088 break 2
12089 fi
12090 done
12091 done
12092
12093 fi
12094 fi
12095 CC=$ac_cv_prog_CC
12096 if test -n "$CC"; then
12097 echo "$as_me:$LINENO: result: $CC" >&5
12098 echo "${ECHO_T}$CC" >&6
12099 else
12100 echo "$as_me:$LINENO: result: no" >&5
12101 echo "${ECHO_T}no" >&6
12102 fi
12103
12104 fi
12105 if test -z "$ac_cv_prog_CC"; then
12106 ac_ct_CC=$CC
12107 # Extract the first word of "cc", so it can be a program name with args.
12108 set dummy cc; ac_word=$2
12109 echo "$as_me:$LINENO: checking for $ac_word" >&5
12110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12111 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12112 echo $ECHO_N "(cached) $ECHO_C" >&6
12113 else
12114 if test -n "$ac_ct_CC"; then
12115 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12116 else
12117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12118 for as_dir in $PATH
12119 do
12120 IFS=$as_save_IFS
12121 test -z "$as_dir" && as_dir=.
12122 for ac_exec_ext in '' $ac_executable_extensions; do
12123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12124 ac_cv_prog_ac_ct_CC="cc"
12125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12126 break 2
12127 fi
12128 done
12129 done
12130
12131 fi
12132 fi
12133 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12134 if test -n "$ac_ct_CC"; then
12135 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12136 echo "${ECHO_T}$ac_ct_CC" >&6
12137 else
12138 echo "$as_me:$LINENO: result: no" >&5
12139 echo "${ECHO_T}no" >&6
12140 fi
12141
12142 CC=$ac_ct_CC
12143 else
12144 CC="$ac_cv_prog_CC"
12145 fi
12146
12147 fi
12148 if test -z "$CC"; then
12149 # Extract the first word of "cc", so it can be a program name with args.
12150 set dummy cc; ac_word=$2
12151 echo "$as_me:$LINENO: checking for $ac_word" >&5
12152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12153 if test "${ac_cv_prog_CC+set}" = set; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 else
12156 if test -n "$CC"; then
12157 ac_cv_prog_CC="$CC" # Let the user override the test.
12158 else
12159 ac_prog_rejected=no
12160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12161 for as_dir in $PATH
12162 do
12163 IFS=$as_save_IFS
12164 test -z "$as_dir" && as_dir=.
12165 for ac_exec_ext in '' $ac_executable_extensions; do
12166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12167 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12168 ac_prog_rejected=yes
12169 continue
12170 fi
12171 ac_cv_prog_CC="cc"
12172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12173 break 2
12174 fi
12175 done
12176 done
12177
12178 if test $ac_prog_rejected = yes; then
12179 # We found a bogon in the path, so make sure we never use it.
12180 set dummy $ac_cv_prog_CC
12181 shift
12182 if test $# != 0; then
12183 # We chose a different compiler from the bogus one.
12184 # However, it has the same basename, so the bogon will be chosen
12185 # first if we set CC to just the basename; use the full file name.
12186 shift
12187 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12188 fi
12189 fi
12190 fi
12191 fi
12192 CC=$ac_cv_prog_CC
12193 if test -n "$CC"; then
12194 echo "$as_me:$LINENO: result: $CC" >&5
12195 echo "${ECHO_T}$CC" >&6
12196 else
12197 echo "$as_me:$LINENO: result: no" >&5
12198 echo "${ECHO_T}no" >&6
12199 fi
12200
12201 fi
12202 if test -z "$CC"; then
12203 if test -n "$ac_tool_prefix"; then
12204 for ac_prog in cl
12205 do
12206 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12207 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12208 echo "$as_me:$LINENO: checking for $ac_word" >&5
12209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12210 if test "${ac_cv_prog_CC+set}" = set; then
12211 echo $ECHO_N "(cached) $ECHO_C" >&6
12212 else
12213 if test -n "$CC"; then
12214 ac_cv_prog_CC="$CC" # Let the user override the test.
12215 else
12216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12217 for as_dir in $PATH
12218 do
12219 IFS=$as_save_IFS
12220 test -z "$as_dir" && as_dir=.
12221 for ac_exec_ext in '' $ac_executable_extensions; do
12222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12223 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12225 break 2
12226 fi
12227 done
12228 done
12229
12230 fi
12231 fi
12232 CC=$ac_cv_prog_CC
12233 if test -n "$CC"; then
12234 echo "$as_me:$LINENO: result: $CC" >&5
12235 echo "${ECHO_T}$CC" >&6
12236 else
12237 echo "$as_me:$LINENO: result: no" >&5
12238 echo "${ECHO_T}no" >&6
12239 fi
12240
12241 test -n "$CC" && break
12242 done
12243 fi
12244 if test -z "$CC"; then
12245 ac_ct_CC=$CC
12246 for ac_prog in cl
12247 do
12248 # Extract the first word of "$ac_prog", so it can be a program name with args.
12249 set dummy $ac_prog; ac_word=$2
12250 echo "$as_me:$LINENO: checking for $ac_word" >&5
12251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12252 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12253 echo $ECHO_N "(cached) $ECHO_C" >&6
12254 else
12255 if test -n "$ac_ct_CC"; then
12256 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12257 else
12258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12259 for as_dir in $PATH
12260 do
12261 IFS=$as_save_IFS
12262 test -z "$as_dir" && as_dir=.
12263 for ac_exec_ext in '' $ac_executable_extensions; do
12264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12265 ac_cv_prog_ac_ct_CC="$ac_prog"
12266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12267 break 2
12268 fi
12269 done
12270 done
12271
12272 fi
12273 fi
12274 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12275 if test -n "$ac_ct_CC"; then
12276 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12277 echo "${ECHO_T}$ac_ct_CC" >&6
12278 else
12279 echo "$as_me:$LINENO: result: no" >&5
12280 echo "${ECHO_T}no" >&6
12281 fi
12282
12283 test -n "$ac_ct_CC" && break
12284 done
12285
12286 CC=$ac_ct_CC
12287 fi
12288
12289 fi
12290
12291
12292 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12293 See \`config.log' for more details." >&5
12294 echo "$as_me: error: no acceptable C compiler found in \$PATH
12295 See \`config.log' for more details." >&2;}
12296 { (exit 1); exit 1; }; }
12297
12298 # Provide some information about the compiler.
12299 echo "$as_me:$LINENO:" \
12300 "checking for C compiler version" >&5
12301 ac_compiler=`set X $ac_compile; echo $2`
12302 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12303 (eval $ac_compiler --version </dev/null >&5) 2>&5
12304 ac_status=$?
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); }
12307 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12308 (eval $ac_compiler -v </dev/null >&5) 2>&5
12309 ac_status=$?
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); }
12312 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12313 (eval $ac_compiler -V </dev/null >&5) 2>&5
12314 ac_status=$?
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); }
12317
12318 cat >conftest.$ac_ext <<_ACEOF
12319 /* confdefs.h. */
12320 _ACEOF
12321 cat confdefs.h >>conftest.$ac_ext
12322 cat >>conftest.$ac_ext <<_ACEOF
12323 /* end confdefs.h. */
12324
12325 int
12326 main ()
12327 {
12328
12329 ;
12330 return 0;
12331 }
12332 _ACEOF
12333 ac_clean_files_save=$ac_clean_files
12334 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12335 # Try to create an executable without -o first, disregard a.out.
12336 # It will help us diagnose broken compilers, and finding out an intuition
12337 # of exeext.
12338 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12339 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12340 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12341 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12342 (eval $ac_link_default) 2>&5
12343 ac_status=$?
12344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12345 (exit $ac_status); }; then
12346 # Find the output, starting from the most likely. This scheme is
12347 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12348 # resort.
12349
12350 # Be careful to initialize this variable, since it used to be cached.
12351 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12352 ac_cv_exeext=
12353 # b.out is created by i960 compilers.
12354 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12355 do
12356 test -f "$ac_file" || continue
12357 case $ac_file in
12358 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12359 ;;
12360 conftest.$ac_ext )
12361 # This is the source file.
12362 ;;
12363 [ab].out )
12364 # We found the default executable, but exeext='' is most
12365 # certainly right.
12366 break;;
12367 *.* )
12368 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12369 # FIXME: I believe we export ac_cv_exeext for Libtool,
12370 # but it would be cool to find out if it's true. Does anybody
12371 # maintain Libtool? --akim.
12372 export ac_cv_exeext
12373 break;;
12374 * )
12375 break;;
12376 esac
12377 done
12378 else
12379 echo "$as_me: failed program was:" >&5
12380 sed 's/^/| /' conftest.$ac_ext >&5
12381
12382 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12383 See \`config.log' for more details." >&5
12384 echo "$as_me: error: C compiler cannot create executables
12385 See \`config.log' for more details." >&2;}
12386 { (exit 77); exit 77; }; }
12387 fi
12388
12389 ac_exeext=$ac_cv_exeext
12390 echo "$as_me:$LINENO: result: $ac_file" >&5
12391 echo "${ECHO_T}$ac_file" >&6
12392
12393 # Check the compiler produces executables we can run. If not, either
12394 # the compiler is broken, or we cross compile.
12395 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12396 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12397 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12398 # If not cross compiling, check that we can run a simple program.
12399 if test "$cross_compiling" != yes; then
12400 if { ac_try='./$ac_file'
12401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402 (eval $ac_try) 2>&5
12403 ac_status=$?
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; }; then
12406 cross_compiling=no
12407 else
12408 if test "$cross_compiling" = maybe; then
12409 cross_compiling=yes
12410 else
12411 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12412 If you meant to cross compile, use \`--host'.
12413 See \`config.log' for more details." >&5
12414 echo "$as_me: error: cannot run C compiled programs.
12415 If you meant to cross compile, use \`--host'.
12416 See \`config.log' for more details." >&2;}
12417 { (exit 1); exit 1; }; }
12418 fi
12419 fi
12420 fi
12421 echo "$as_me:$LINENO: result: yes" >&5
12422 echo "${ECHO_T}yes" >&6
12423
12424 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12425 ac_clean_files=$ac_clean_files_save
12426 # Check the compiler produces executables we can run. If not, either
12427 # the compiler is broken, or we cross compile.
12428 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12429 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12430 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12431 echo "${ECHO_T}$cross_compiling" >&6
12432
12433 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12434 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12436 (eval $ac_link) 2>&5
12437 ac_status=$?
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); }; then
12440 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12441 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12442 # work properly (i.e., refer to `conftest.exe'), while it won't with
12443 # `rm'.
12444 for ac_file in conftest.exe conftest conftest.*; do
12445 test -f "$ac_file" || continue
12446 case $ac_file in
12447 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12448 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12449 export ac_cv_exeext
12450 break;;
12451 * ) break;;
12452 esac
12453 done
12454 else
12455 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12456 See \`config.log' for more details." >&5
12457 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12458 See \`config.log' for more details." >&2;}
12459 { (exit 1); exit 1; }; }
12460 fi
12461
12462 rm -f conftest$ac_cv_exeext
12463 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12464 echo "${ECHO_T}$ac_cv_exeext" >&6
12465
12466 rm -f conftest.$ac_ext
12467 EXEEXT=$ac_cv_exeext
12468 ac_exeext=$EXEEXT
12469 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12470 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12471 if test "${ac_cv_objext+set}" = set; then
12472 echo $ECHO_N "(cached) $ECHO_C" >&6
12473 else
12474 cat >conftest.$ac_ext <<_ACEOF
12475 /* confdefs.h. */
12476 _ACEOF
12477 cat confdefs.h >>conftest.$ac_ext
12478 cat >>conftest.$ac_ext <<_ACEOF
12479 /* end confdefs.h. */
12480
12481 int
12482 main ()
12483 {
12484
12485 ;
12486 return 0;
12487 }
12488 _ACEOF
12489 rm -f conftest.o conftest.obj
12490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12491 (eval $ac_compile) 2>&5
12492 ac_status=$?
12493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12494 (exit $ac_status); }; then
12495 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12496 case $ac_file in
12497 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12498 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12499 break;;
12500 esac
12501 done
12502 else
12503 echo "$as_me: failed program was:" >&5
12504 sed 's/^/| /' conftest.$ac_ext >&5
12505
12506 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12507 See \`config.log' for more details." >&5
12508 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12509 See \`config.log' for more details." >&2;}
12510 { (exit 1); exit 1; }; }
12511 fi
12512
12513 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12514 fi
12515 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12516 echo "${ECHO_T}$ac_cv_objext" >&6
12517 OBJEXT=$ac_cv_objext
12518 ac_objext=$OBJEXT
12519 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12520 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12521 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12522 echo $ECHO_N "(cached) $ECHO_C" >&6
12523 else
12524 cat >conftest.$ac_ext <<_ACEOF
12525 /* confdefs.h. */
12526 _ACEOF
12527 cat confdefs.h >>conftest.$ac_ext
12528 cat >>conftest.$ac_ext <<_ACEOF
12529 /* end confdefs.h. */
12530
12531 int
12532 main ()
12533 {
12534 #ifndef __GNUC__
12535 choke me
12536 #endif
12537
12538 ;
12539 return 0;
12540 }
12541 _ACEOF
12542 rm -f conftest.$ac_objext
12543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12544 (eval $ac_compile) 2>conftest.er1
12545 ac_status=$?
12546 grep -v '^ *+' conftest.er1 >conftest.err
12547 rm -f conftest.er1
12548 cat conftest.err >&5
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); } &&
12551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12553 (eval $ac_try) 2>&5
12554 ac_status=$?
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); }; } &&
12557 { ac_try='test -s conftest.$ac_objext'
12558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12559 (eval $ac_try) 2>&5
12560 ac_status=$?
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); }; }; then
12563 ac_compiler_gnu=yes
12564 else
12565 echo "$as_me: failed program was:" >&5
12566 sed 's/^/| /' conftest.$ac_ext >&5
12567
12568 ac_compiler_gnu=no
12569 fi
12570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12571 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12572
12573 fi
12574 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12575 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12576 GCC=`test $ac_compiler_gnu = yes && echo yes`
12577 ac_test_CFLAGS=${CFLAGS+set}
12578 ac_save_CFLAGS=$CFLAGS
12579 CFLAGS="-g"
12580 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12581 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12582 if test "${ac_cv_prog_cc_g+set}" = set; then
12583 echo $ECHO_N "(cached) $ECHO_C" >&6
12584 else
12585 cat >conftest.$ac_ext <<_ACEOF
12586 /* confdefs.h. */
12587 _ACEOF
12588 cat confdefs.h >>conftest.$ac_ext
12589 cat >>conftest.$ac_ext <<_ACEOF
12590 /* end confdefs.h. */
12591
12592 int
12593 main ()
12594 {
12595
12596 ;
12597 return 0;
12598 }
12599 _ACEOF
12600 rm -f conftest.$ac_objext
12601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12602 (eval $ac_compile) 2>conftest.er1
12603 ac_status=$?
12604 grep -v '^ *+' conftest.er1 >conftest.err
12605 rm -f conftest.er1
12606 cat conftest.err >&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); } &&
12609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12611 (eval $ac_try) 2>&5
12612 ac_status=$?
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12614 (exit $ac_status); }; } &&
12615 { ac_try='test -s conftest.$ac_objext'
12616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12617 (eval $ac_try) 2>&5
12618 ac_status=$?
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); }; }; then
12621 ac_cv_prog_cc_g=yes
12622 else
12623 echo "$as_me: failed program was:" >&5
12624 sed 's/^/| /' conftest.$ac_ext >&5
12625
12626 ac_cv_prog_cc_g=no
12627 fi
12628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12629 fi
12630 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12631 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12632 if test "$ac_test_CFLAGS" = set; then
12633 CFLAGS=$ac_save_CFLAGS
12634 elif test $ac_cv_prog_cc_g = yes; then
12635 if test "$GCC" = yes; then
12636 CFLAGS="-g -O2"
12637 else
12638 CFLAGS="-g"
12639 fi
12640 else
12641 if test "$GCC" = yes; then
12642 CFLAGS="-O2"
12643 else
12644 CFLAGS=
12645 fi
12646 fi
12647 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12648 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12649 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12651 else
12652 ac_cv_prog_cc_stdc=no
12653 ac_save_CC=$CC
12654 cat >conftest.$ac_ext <<_ACEOF
12655 /* confdefs.h. */
12656 _ACEOF
12657 cat confdefs.h >>conftest.$ac_ext
12658 cat >>conftest.$ac_ext <<_ACEOF
12659 /* end confdefs.h. */
12660 #include <stdarg.h>
12661 #include <stdio.h>
12662 #include <sys/types.h>
12663 #include <sys/stat.h>
12664 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12665 struct buf { int x; };
12666 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12667 static char *e (p, i)
12668 char **p;
12669 int i;
12670 {
12671 return p[i];
12672 }
12673 static char *f (char * (*g) (char **, int), char **p, ...)
12674 {
12675 char *s;
12676 va_list v;
12677 va_start (v,p);
12678 s = g (p, va_arg (v,int));
12679 va_end (v);
12680 return s;
12681 }
12682
12683 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12684 function prototypes and stuff, but not '\xHH' hex character constants.
12685 These don't provoke an error unfortunately, instead are silently treated
12686 as 'x'. The following induces an error, until -std1 is added to get
12687 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12688 array size at least. It's necessary to write '\x00'==0 to get something
12689 that's true only with -std1. */
12690 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12691
12692 int test (int i, double x);
12693 struct s1 {int (*f) (int a);};
12694 struct s2 {int (*f) (double a);};
12695 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12696 int argc;
12697 char **argv;
12698 int
12699 main ()
12700 {
12701 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12702 ;
12703 return 0;
12704 }
12705 _ACEOF
12706 # Don't try gcc -ansi; that turns off useful extensions and
12707 # breaks some systems' header files.
12708 # AIX -qlanglvl=ansi
12709 # Ultrix and OSF/1 -std1
12710 # HP-UX 10.20 and later -Ae
12711 # HP-UX older versions -Aa -D_HPUX_SOURCE
12712 # SVR4 -Xc -D__EXTENSIONS__
12713 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12714 do
12715 CC="$ac_save_CC $ac_arg"
12716 rm -f conftest.$ac_objext
12717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12718 (eval $ac_compile) 2>conftest.er1
12719 ac_status=$?
12720 grep -v '^ *+' conftest.er1 >conftest.err
12721 rm -f conftest.er1
12722 cat conftest.err >&5
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); } &&
12725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12727 (eval $ac_try) 2>&5
12728 ac_status=$?
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); }; } &&
12731 { ac_try='test -s conftest.$ac_objext'
12732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12733 (eval $ac_try) 2>&5
12734 ac_status=$?
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); }; }; then
12737 ac_cv_prog_cc_stdc=$ac_arg
12738 break
12739 else
12740 echo "$as_me: failed program was:" >&5
12741 sed 's/^/| /' conftest.$ac_ext >&5
12742
12743 fi
12744 rm -f conftest.err conftest.$ac_objext
12745 done
12746 rm -f conftest.$ac_ext conftest.$ac_objext
12747 CC=$ac_save_CC
12748
12749 fi
12750
12751 case "x$ac_cv_prog_cc_stdc" in
12752 x|xno)
12753 echo "$as_me:$LINENO: result: none needed" >&5
12754 echo "${ECHO_T}none needed" >&6 ;;
12755 *)
12756 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12757 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12758 CC="$CC $ac_cv_prog_cc_stdc" ;;
12759 esac
12760
12761 # Some people use a C++ compiler to compile C. Since we use `exit',
12762 # in C++ we need to declare it. In case someone uses the same compiler
12763 # for both compiling C and C++ we need to have the C++ compiler decide
12764 # the declaration of exit, since it's the most demanding environment.
12765 cat >conftest.$ac_ext <<_ACEOF
12766 #ifndef __cplusplus
12767 choke me
12768 #endif
12769 _ACEOF
12770 rm -f conftest.$ac_objext
12771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12772 (eval $ac_compile) 2>conftest.er1
12773 ac_status=$?
12774 grep -v '^ *+' conftest.er1 >conftest.err
12775 rm -f conftest.er1
12776 cat conftest.err >&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); } &&
12779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12781 (eval $ac_try) 2>&5
12782 ac_status=$?
12783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784 (exit $ac_status); }; } &&
12785 { ac_try='test -s conftest.$ac_objext'
12786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12787 (eval $ac_try) 2>&5
12788 ac_status=$?
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); }; }; then
12791 for ac_declaration in \
12792 '' \
12793 'extern "C" void std::exit (int) throw (); using std::exit;' \
12794 'extern "C" void std::exit (int); using std::exit;' \
12795 'extern "C" void exit (int) throw ();' \
12796 'extern "C" void exit (int);' \
12797 'void exit (int);'
12798 do
12799 cat >conftest.$ac_ext <<_ACEOF
12800 /* confdefs.h. */
12801 _ACEOF
12802 cat confdefs.h >>conftest.$ac_ext
12803 cat >>conftest.$ac_ext <<_ACEOF
12804 /* end confdefs.h. */
12805 $ac_declaration
12806 #include <stdlib.h>
12807 int
12808 main ()
12809 {
12810 exit (42);
12811 ;
12812 return 0;
12813 }
12814 _ACEOF
12815 rm -f conftest.$ac_objext
12816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12817 (eval $ac_compile) 2>conftest.er1
12818 ac_status=$?
12819 grep -v '^ *+' conftest.er1 >conftest.err
12820 rm -f conftest.er1
12821 cat conftest.err >&5
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); } &&
12824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12826 (eval $ac_try) 2>&5
12827 ac_status=$?
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); }; } &&
12830 { ac_try='test -s conftest.$ac_objext'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12833 ac_status=$?
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; }; then
12836 :
12837 else
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.$ac_ext >&5
12840
12841 continue
12842 fi
12843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12844 cat >conftest.$ac_ext <<_ACEOF
12845 /* confdefs.h. */
12846 _ACEOF
12847 cat confdefs.h >>conftest.$ac_ext
12848 cat >>conftest.$ac_ext <<_ACEOF
12849 /* end confdefs.h. */
12850 $ac_declaration
12851 int
12852 main ()
12853 {
12854 exit (42);
12855 ;
12856 return 0;
12857 }
12858 _ACEOF
12859 rm -f conftest.$ac_objext
12860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12861 (eval $ac_compile) 2>conftest.er1
12862 ac_status=$?
12863 grep -v '^ *+' conftest.er1 >conftest.err
12864 rm -f conftest.er1
12865 cat conftest.err >&5
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); } &&
12868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12870 (eval $ac_try) 2>&5
12871 ac_status=$?
12872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12873 (exit $ac_status); }; } &&
12874 { ac_try='test -s conftest.$ac_objext'
12875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12876 (eval $ac_try) 2>&5
12877 ac_status=$?
12878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12879 (exit $ac_status); }; }; then
12880 break
12881 else
12882 echo "$as_me: failed program was:" >&5
12883 sed 's/^/| /' conftest.$ac_ext >&5
12884
12885 fi
12886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12887 done
12888 rm -f conftest*
12889 if test -n "$ac_declaration"; then
12890 echo '#ifdef __cplusplus' >>confdefs.h
12891 echo $ac_declaration >>confdefs.h
12892 echo '#endif' >>confdefs.h
12893 fi
12894
12895 else
12896 echo "$as_me: failed program was:" >&5
12897 sed 's/^/| /' conftest.$ac_ext >&5
12898
12899 fi
12900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12901 ac_ext=c
12902 ac_cpp='$CPP $CPPFLAGS'
12903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12906
12907
12908
12909 ac_ext=c
12910 ac_cpp='$CPP $CPPFLAGS'
12911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12914
12915 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12916 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12917 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12918 echo $ECHO_N "(cached) $ECHO_C" >&6
12919 else
12920 cat >conftest.$ac_ext <<_ACEOF
12921 /* confdefs.h. */
12922 _ACEOF
12923 cat confdefs.h >>conftest.$ac_ext
12924 cat >>conftest.$ac_ext <<_ACEOF
12925 /* end confdefs.h. */
12926
12927 int
12928 main ()
12929 {
12930
12931 #ifndef __INTEL_COMPILER
12932 choke me
12933 #endif
12934
12935 ;
12936 return 0;
12937 }
12938 _ACEOF
12939 rm -f conftest.$ac_objext
12940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12941 (eval $ac_compile) 2>conftest.er1
12942 ac_status=$?
12943 grep -v '^ *+' conftest.er1 >conftest.err
12944 rm -f conftest.er1
12945 cat conftest.err >&5
12946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 (exit $ac_status); } &&
12948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12950 (eval $ac_try) 2>&5
12951 ac_status=$?
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); }; } &&
12954 { ac_try='test -s conftest.$ac_objext'
12955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12956 (eval $ac_try) 2>&5
12957 ac_status=$?
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); }; }; then
12960 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12961 else
12962 echo "$as_me: failed program was:" >&5
12963 sed 's/^/| /' conftest.$ac_ext >&5
12964
12965 bakefile_cv_c_compiler___INTEL_COMPILER=no
12966
12967 fi
12968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12969
12970
12971 fi
12972 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12973 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12974 ac_ext=c
12975 ac_cpp='$CPP $CPPFLAGS'
12976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12979
12980 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12981 :; INTELCC=yes
12982 else
12983 :;
12984 fi
12985
12986
12987 if test "x$GCC" != "xyes"; then
12988 if test "xCC" = "xC"; then
12989 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12990 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12991 if test "${bakefile_cv_c_exto+set}" = set; then
12992 echo $ECHO_N "(cached) $ECHO_C" >&6
12993 else
12994 cat >conftest.$ac_ext <<_ACEOF
12995 /* confdefs.h. */
12996 _ACEOF
12997 cat confdefs.h >>conftest.$ac_ext
12998 cat >>conftest.$ac_ext <<_ACEOF
12999 /* end confdefs.h. */
13000
13001 int
13002 main ()
13003 {
13004
13005 ;
13006 return 0;
13007 }
13008 _ACEOF
13009 rm -f conftest.$ac_objext conftest.$ac_ext.o
13010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13011 (eval $ac_compile) 2>&5
13012 ac_status=$?
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); }; then
13015 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13016 case $ac_file in
13017 conftest.$ac_ext.o)
13018 bakefile_cv_c_exto="-ext o"
13019 ;;
13020 *)
13021 ;;
13022 esac
13023 done
13024 else
13025 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13026 See \`config.log' for more details." >&5
13027 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13028 See \`config.log' for more details." >&2;}
13029 { (exit 1); exit 1; }; }
13030
13031 fi
13032
13033 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13034
13035 fi
13036 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13037 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13038 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13039 if test "c" = "c"; then
13040 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13041 fi
13042 if test "c" = "cxx"; then
13043 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13044 fi
13045 fi
13046
13047 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13048 unset ac_cv_prog_cc_g
13049 ac_test_CFLAGS=${CFLAGS+set}
13050 ac_save_CFLAGS=$CFLAGS
13051 CFLAGS="-g"
13052 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13053 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13054 if test "${ac_cv_prog_cc_g+set}" = set; then
13055 echo $ECHO_N "(cached) $ECHO_C" >&6
13056 else
13057 cat >conftest.$ac_ext <<_ACEOF
13058 /* confdefs.h. */
13059 _ACEOF
13060 cat confdefs.h >>conftest.$ac_ext
13061 cat >>conftest.$ac_ext <<_ACEOF
13062 /* end confdefs.h. */
13063
13064 int
13065 main ()
13066 {
13067
13068 ;
13069 return 0;
13070 }
13071 _ACEOF
13072 rm -f conftest.$ac_objext
13073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13074 (eval $ac_compile) 2>conftest.er1
13075 ac_status=$?
13076 grep -v '^ *+' conftest.er1 >conftest.err
13077 rm -f conftest.er1
13078 cat conftest.err >&5
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); } &&
13081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13083 (eval $ac_try) 2>&5
13084 ac_status=$?
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); }; } &&
13087 { ac_try='test -s conftest.$ac_objext'
13088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13089 (eval $ac_try) 2>&5
13090 ac_status=$?
13091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13092 (exit $ac_status); }; }; then
13093 ac_cv_prog_cc_g=yes
13094 else
13095 echo "$as_me: failed program was:" >&5
13096 sed 's/^/| /' conftest.$ac_ext >&5
13097
13098 ac_cv_prog_cc_g=no
13099 fi
13100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13101 fi
13102 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13103 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13104 if test "$ac_test_CFLAGS" = set; then
13105 CFLAGS=$ac_save_CFLAGS
13106 elif test $ac_cv_prog_cc_g = yes; then
13107 if test "$GCC" = yes; then
13108 CFLAGS="-g -O2"
13109 else
13110 CFLAGS="-g"
13111 fi
13112 else
13113 if test "$GCC" = yes; then
13114 CFLAGS="-O2"
13115 else
13116 CFLAGS=
13117 fi
13118 fi
13119 fi
13120 fi
13121
13122 case `uname -s` in
13123 AIX*)
13124 ac_ext=c
13125 ac_cpp='$CPP $CPPFLAGS'
13126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13129
13130 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13131 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13132 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13133 echo $ECHO_N "(cached) $ECHO_C" >&6
13134 else
13135 cat >conftest.$ac_ext <<_ACEOF
13136 /* confdefs.h. */
13137 _ACEOF
13138 cat confdefs.h >>conftest.$ac_ext
13139 cat >>conftest.$ac_ext <<_ACEOF
13140 /* end confdefs.h. */
13141
13142 int
13143 main ()
13144 {
13145 #ifndef __xlC__
13146 choke me
13147 #endif
13148
13149 ;
13150 return 0;
13151 }
13152 _ACEOF
13153 rm -f conftest.$ac_objext
13154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13155 (eval $ac_compile) 2>conftest.er1
13156 ac_status=$?
13157 grep -v '^ *+' conftest.er1 >conftest.err
13158 rm -f conftest.er1
13159 cat conftest.err >&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); } &&
13162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13164 (eval $ac_try) 2>&5
13165 ac_status=$?
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); }; } &&
13168 { ac_try='test -s conftest.$ac_objext'
13169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13170 (eval $ac_try) 2>&5
13171 ac_status=$?
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); }; }; then
13174 bakefile_compiler_xlc=yes
13175 else
13176 echo "$as_me: failed program was:" >&5
13177 sed 's/^/| /' conftest.$ac_ext >&5
13178
13179 bakefile_compiler_xlc=no
13180 fi
13181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13182 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13183
13184 fi
13185 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13186 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13187
13188 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13189 ac_ext=c
13190 ac_cpp='$CPP $CPPFLAGS'
13191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13194
13195
13196 ;;
13197
13198 Darwin)
13199 ac_ext=c
13200 ac_cpp='$CPP $CPPFLAGS'
13201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13204
13205 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13206 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13207 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13208 echo $ECHO_N "(cached) $ECHO_C" >&6
13209 else
13210 cat >conftest.$ac_ext <<_ACEOF
13211 /* confdefs.h. */
13212 _ACEOF
13213 cat confdefs.h >>conftest.$ac_ext
13214 cat >>conftest.$ac_ext <<_ACEOF
13215 /* end confdefs.h. */
13216
13217 int
13218 main ()
13219 {
13220 #ifndef __MWERKS__
13221 choke me
13222 #endif
13223
13224 ;
13225 return 0;
13226 }
13227 _ACEOF
13228 rm -f conftest.$ac_objext
13229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13230 (eval $ac_compile) 2>conftest.er1
13231 ac_status=$?
13232 grep -v '^ *+' conftest.er1 >conftest.err
13233 rm -f conftest.er1
13234 cat conftest.err >&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); } &&
13237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13239 (eval $ac_try) 2>&5
13240 ac_status=$?
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; } &&
13243 { ac_try='test -s conftest.$ac_objext'
13244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13245 (eval $ac_try) 2>&5
13246 ac_status=$?
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); }; }; then
13249 bakefile_compiler_mwerks=yes
13250 else
13251 echo "$as_me: failed program was:" >&5
13252 sed 's/^/| /' conftest.$ac_ext >&5
13253
13254 bakefile_compiler_mwerks=no
13255 fi
13256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13257 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13258
13259 fi
13260 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13261 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13262
13263 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13264 ac_ext=c
13265 ac_cpp='$CPP $CPPFLAGS'
13266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13269
13270
13271 ac_ext=c
13272 ac_cpp='$CPP $CPPFLAGS'
13273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13276
13277 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13278 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13279 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13281 else
13282 cat >conftest.$ac_ext <<_ACEOF
13283 /* confdefs.h. */
13284 _ACEOF
13285 cat confdefs.h >>conftest.$ac_ext
13286 cat >>conftest.$ac_ext <<_ACEOF
13287 /* end confdefs.h. */
13288
13289 int
13290 main ()
13291 {
13292 #ifndef __xlC__
13293 choke me
13294 #endif
13295
13296 ;
13297 return 0;
13298 }
13299 _ACEOF
13300 rm -f conftest.$ac_objext
13301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13302 (eval $ac_compile) 2>conftest.er1
13303 ac_status=$?
13304 grep -v '^ *+' conftest.er1 >conftest.err
13305 rm -f conftest.er1
13306 cat conftest.err >&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } &&
13309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13311 (eval $ac_try) 2>&5
13312 ac_status=$?
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); }; } &&
13315 { ac_try='test -s conftest.$ac_objext'
13316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13317 (eval $ac_try) 2>&5
13318 ac_status=$?
13319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); }; }; then
13321 bakefile_compiler_xlc=yes
13322 else
13323 echo "$as_me: failed program was:" >&5
13324 sed 's/^/| /' conftest.$ac_ext >&5
13325
13326 bakefile_compiler_xlc=no
13327 fi
13328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13329 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13330
13331 fi
13332 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13333 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13334
13335 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13336 ac_ext=c
13337 ac_cpp='$CPP $CPPFLAGS'
13338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13341
13342
13343 ;;
13344
13345 IRIX*)
13346
13347
13348 ac_ext=c
13349 ac_cpp='$CPP $CPPFLAGS'
13350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13353
13354 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13355 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13356 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13357 echo $ECHO_N "(cached) $ECHO_C" >&6
13358 else
13359 cat >conftest.$ac_ext <<_ACEOF
13360 /* confdefs.h. */
13361 _ACEOF
13362 cat confdefs.h >>conftest.$ac_ext
13363 cat >>conftest.$ac_ext <<_ACEOF
13364 /* end confdefs.h. */
13365
13366 int
13367 main ()
13368 {
13369
13370 #ifndef _SGI_COMPILER_VERSION
13371 choke me
13372 #endif
13373
13374 ;
13375 return 0;
13376 }
13377 _ACEOF
13378 rm -f conftest.$ac_objext
13379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13380 (eval $ac_compile) 2>conftest.er1
13381 ac_status=$?
13382 grep -v '^ *+' conftest.er1 >conftest.err
13383 rm -f conftest.er1
13384 cat conftest.err >&5
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); } &&
13387 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13389 (eval $ac_try) 2>&5
13390 ac_status=$?
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); }; } &&
13393 { ac_try='test -s conftest.$ac_objext'
13394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13395 (eval $ac_try) 2>&5
13396 ac_status=$?
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); }; }; then
13399 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13400 else
13401 echo "$as_me: failed program was:" >&5
13402 sed 's/^/| /' conftest.$ac_ext >&5
13403
13404 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13405
13406 fi
13407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13408
13409
13410 fi
13411 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13412 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13413 ac_ext=c
13414 ac_cpp='$CPP $CPPFLAGS'
13415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13418
13419 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13420 :; SGICC=yes
13421 else
13422 :;
13423 fi
13424
13425
13426 ;;
13427
13428 HP-UX*)
13429
13430
13431 ac_ext=c
13432 ac_cpp='$CPP $CPPFLAGS'
13433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13436
13437 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13438 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13439 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13440 echo $ECHO_N "(cached) $ECHO_C" >&6
13441 else
13442 cat >conftest.$ac_ext <<_ACEOF
13443 /* confdefs.h. */
13444 _ACEOF
13445 cat confdefs.h >>conftest.$ac_ext
13446 cat >>conftest.$ac_ext <<_ACEOF
13447 /* end confdefs.h. */
13448
13449 int
13450 main ()
13451 {
13452
13453 #ifndef __HP_cc
13454 choke me
13455 #endif
13456
13457 ;
13458 return 0;
13459 }
13460 _ACEOF
13461 rm -f conftest.$ac_objext
13462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13463 (eval $ac_compile) 2>conftest.er1
13464 ac_status=$?
13465 grep -v '^ *+' conftest.er1 >conftest.err
13466 rm -f conftest.er1
13467 cat conftest.err >&5
13468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469 (exit $ac_status); } &&
13470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13472 (eval $ac_try) 2>&5
13473 ac_status=$?
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; } &&
13476 { ac_try='test -s conftest.$ac_objext'
13477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13478 (eval $ac_try) 2>&5
13479 ac_status=$?
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); }; }; then
13482 bakefile_cv_c_compiler___HP_cc=yes
13483 else
13484 echo "$as_me: failed program was:" >&5
13485 sed 's/^/| /' conftest.$ac_ext >&5
13486
13487 bakefile_cv_c_compiler___HP_cc=no
13488
13489 fi
13490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13491
13492
13493 fi
13494 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13495 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13496 ac_ext=c
13497 ac_cpp='$CPP $CPPFLAGS'
13498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13501
13502 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13503 :; HPCC=yes
13504 else
13505 :;
13506 fi
13507
13508
13509 ;;
13510
13511 OSF1)
13512
13513
13514 ac_ext=c
13515 ac_cpp='$CPP $CPPFLAGS'
13516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13519
13520 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13521 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13522 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13523 echo $ECHO_N "(cached) $ECHO_C" >&6
13524 else
13525 cat >conftest.$ac_ext <<_ACEOF
13526 /* confdefs.h. */
13527 _ACEOF
13528 cat confdefs.h >>conftest.$ac_ext
13529 cat >>conftest.$ac_ext <<_ACEOF
13530 /* end confdefs.h. */
13531
13532 int
13533 main ()
13534 {
13535
13536 #ifndef __DECC
13537 choke me
13538 #endif
13539
13540 ;
13541 return 0;
13542 }
13543 _ACEOF
13544 rm -f conftest.$ac_objext
13545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13546 (eval $ac_compile) 2>conftest.er1
13547 ac_status=$?
13548 grep -v '^ *+' conftest.er1 >conftest.err
13549 rm -f conftest.er1
13550 cat conftest.err >&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); } &&
13553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13555 (eval $ac_try) 2>&5
13556 ac_status=$?
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); }; } &&
13559 { ac_try='test -s conftest.$ac_objext'
13560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13561 (eval $ac_try) 2>&5
13562 ac_status=$?
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); }; }; then
13565 bakefile_cv_c_compiler___DECC=yes
13566 else
13567 echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.$ac_ext >&5
13569
13570 bakefile_cv_c_compiler___DECC=no
13571
13572 fi
13573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13574
13575
13576 fi
13577 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13578 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13579 ac_ext=c
13580 ac_cpp='$CPP $CPPFLAGS'
13581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13584
13585 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13586 :; COMPAQCC=yes
13587 else
13588 :;
13589 fi
13590
13591
13592 ;;
13593
13594 SunOS)
13595
13596
13597 ac_ext=c
13598 ac_cpp='$CPP $CPPFLAGS'
13599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13602
13603 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13604 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13605 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13606 echo $ECHO_N "(cached) $ECHO_C" >&6
13607 else
13608 cat >conftest.$ac_ext <<_ACEOF
13609 /* confdefs.h. */
13610 _ACEOF
13611 cat confdefs.h >>conftest.$ac_ext
13612 cat >>conftest.$ac_ext <<_ACEOF
13613 /* end confdefs.h. */
13614
13615 int
13616 main ()
13617 {
13618
13619 #ifndef __SUNPRO_C
13620 choke me
13621 #endif
13622
13623 ;
13624 return 0;
13625 }
13626 _ACEOF
13627 rm -f conftest.$ac_objext
13628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13629 (eval $ac_compile) 2>conftest.er1
13630 ac_status=$?
13631 grep -v '^ *+' conftest.er1 >conftest.err
13632 rm -f conftest.er1
13633 cat conftest.err >&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); } &&
13636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13638 (eval $ac_try) 2>&5
13639 ac_status=$?
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); }; } &&
13642 { ac_try='test -s conftest.$ac_objext'
13643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13644 (eval $ac_try) 2>&5
13645 ac_status=$?
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); }; }; then
13648 bakefile_cv_c_compiler___SUNPRO_C=yes
13649 else
13650 echo "$as_me: failed program was:" >&5
13651 sed 's/^/| /' conftest.$ac_ext >&5
13652
13653 bakefile_cv_c_compiler___SUNPRO_C=no
13654
13655 fi
13656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13657
13658
13659 fi
13660 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13661 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13662 ac_ext=c
13663 ac_cpp='$CPP $CPPFLAGS'
13664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13667
13668 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13669 :; SUNCC=yes
13670 else
13671 :;
13672 fi
13673
13674
13675 ;;
13676 esac
13677 fi
13678
13679
13680
13681 ac_ext=c
13682 ac_cpp='$CPP $CPPFLAGS'
13683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13686 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13687 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13688 # On Suns, sometimes $CPP names a directory.
13689 if test -n "$CPP" && test -d "$CPP"; then
13690 CPP=
13691 fi
13692 if test -z "$CPP"; then
13693 if test "${ac_cv_prog_CPP+set}" = set; then
13694 echo $ECHO_N "(cached) $ECHO_C" >&6
13695 else
13696 # Double quotes because CPP needs to be expanded
13697 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13698 do
13699 ac_preproc_ok=false
13700 for ac_c_preproc_warn_flag in '' yes
13701 do
13702 # Use a header file that comes with gcc, so configuring glibc
13703 # with a fresh cross-compiler works.
13704 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13705 # <limits.h> exists even on freestanding compilers.
13706 # On the NeXT, cc -E runs the code through the compiler's parser,
13707 # not just through cpp. "Syntax error" is here to catch this case.
13708 cat >conftest.$ac_ext <<_ACEOF
13709 /* confdefs.h. */
13710 _ACEOF
13711 cat confdefs.h >>conftest.$ac_ext
13712 cat >>conftest.$ac_ext <<_ACEOF
13713 /* end confdefs.h. */
13714 #ifdef __STDC__
13715 # include <limits.h>
13716 #else
13717 # include <assert.h>
13718 #endif
13719 Syntax error
13720 _ACEOF
13721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13723 ac_status=$?
13724 grep -v '^ *+' conftest.er1 >conftest.err
13725 rm -f conftest.er1
13726 cat conftest.err >&5
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); } >/dev/null; then
13729 if test -s conftest.err; then
13730 ac_cpp_err=$ac_c_preproc_warn_flag
13731 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13732 else
13733 ac_cpp_err=
13734 fi
13735 else
13736 ac_cpp_err=yes
13737 fi
13738 if test -z "$ac_cpp_err"; then
13739 :
13740 else
13741 echo "$as_me: failed program was:" >&5
13742 sed 's/^/| /' conftest.$ac_ext >&5
13743
13744 # Broken: fails on valid input.
13745 continue
13746 fi
13747 rm -f conftest.err conftest.$ac_ext
13748
13749 # OK, works on sane cases. Now check whether non-existent headers
13750 # can be detected and how.
13751 cat >conftest.$ac_ext <<_ACEOF
13752 /* confdefs.h. */
13753 _ACEOF
13754 cat confdefs.h >>conftest.$ac_ext
13755 cat >>conftest.$ac_ext <<_ACEOF
13756 /* end confdefs.h. */
13757 #include <ac_nonexistent.h>
13758 _ACEOF
13759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13760 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13761 ac_status=$?
13762 grep -v '^ *+' conftest.er1 >conftest.err
13763 rm -f conftest.er1
13764 cat conftest.err >&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); } >/dev/null; then
13767 if test -s conftest.err; then
13768 ac_cpp_err=$ac_c_preproc_warn_flag
13769 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13770 else
13771 ac_cpp_err=
13772 fi
13773 else
13774 ac_cpp_err=yes
13775 fi
13776 if test -z "$ac_cpp_err"; then
13777 # Broken: success on invalid input.
13778 continue
13779 else
13780 echo "$as_me: failed program was:" >&5
13781 sed 's/^/| /' conftest.$ac_ext >&5
13782
13783 # Passes both tests.
13784 ac_preproc_ok=:
13785 break
13786 fi
13787 rm -f conftest.err conftest.$ac_ext
13788
13789 done
13790 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13791 rm -f conftest.err conftest.$ac_ext
13792 if $ac_preproc_ok; then
13793 break
13794 fi
13795
13796 done
13797 ac_cv_prog_CPP=$CPP
13798
13799 fi
13800 CPP=$ac_cv_prog_CPP
13801 else
13802 ac_cv_prog_CPP=$CPP
13803 fi
13804 echo "$as_me:$LINENO: result: $CPP" >&5
13805 echo "${ECHO_T}$CPP" >&6
13806 ac_preproc_ok=false
13807 for ac_c_preproc_warn_flag in '' yes
13808 do
13809 # Use a header file that comes with gcc, so configuring glibc
13810 # with a fresh cross-compiler works.
13811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13812 # <limits.h> exists even on freestanding compilers.
13813 # On the NeXT, cc -E runs the code through the compiler's parser,
13814 # not just through cpp. "Syntax error" is here to catch this case.
13815 cat >conftest.$ac_ext <<_ACEOF
13816 /* confdefs.h. */
13817 _ACEOF
13818 cat confdefs.h >>conftest.$ac_ext
13819 cat >>conftest.$ac_ext <<_ACEOF
13820 /* end confdefs.h. */
13821 #ifdef __STDC__
13822 # include <limits.h>
13823 #else
13824 # include <assert.h>
13825 #endif
13826 Syntax error
13827 _ACEOF
13828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13829 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13830 ac_status=$?
13831 grep -v '^ *+' conftest.er1 >conftest.err
13832 rm -f conftest.er1
13833 cat conftest.err >&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); } >/dev/null; then
13836 if test -s conftest.err; then
13837 ac_cpp_err=$ac_c_preproc_warn_flag
13838 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13839 else
13840 ac_cpp_err=
13841 fi
13842 else
13843 ac_cpp_err=yes
13844 fi
13845 if test -z "$ac_cpp_err"; then
13846 :
13847 else
13848 echo "$as_me: failed program was:" >&5
13849 sed 's/^/| /' conftest.$ac_ext >&5
13850
13851 # Broken: fails on valid input.
13852 continue
13853 fi
13854 rm -f conftest.err conftest.$ac_ext
13855
13856 # OK, works on sane cases. Now check whether non-existent headers
13857 # can be detected and how.
13858 cat >conftest.$ac_ext <<_ACEOF
13859 /* confdefs.h. */
13860 _ACEOF
13861 cat confdefs.h >>conftest.$ac_ext
13862 cat >>conftest.$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13864 #include <ac_nonexistent.h>
13865 _ACEOF
13866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13868 ac_status=$?
13869 grep -v '^ *+' conftest.er1 >conftest.err
13870 rm -f conftest.er1
13871 cat conftest.err >&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); } >/dev/null; then
13874 if test -s conftest.err; then
13875 ac_cpp_err=$ac_c_preproc_warn_flag
13876 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13877 else
13878 ac_cpp_err=
13879 fi
13880 else
13881 ac_cpp_err=yes
13882 fi
13883 if test -z "$ac_cpp_err"; then
13884 # Broken: success on invalid input.
13885 continue
13886 else
13887 echo "$as_me: failed program was:" >&5
13888 sed 's/^/| /' conftest.$ac_ext >&5
13889
13890 # Passes both tests.
13891 ac_preproc_ok=:
13892 break
13893 fi
13894 rm -f conftest.err conftest.$ac_ext
13895
13896 done
13897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13898 rm -f conftest.err conftest.$ac_ext
13899 if $ac_preproc_ok; then
13900 :
13901 else
13902 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13903 See \`config.log' for more details." >&5
13904 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13905 See \`config.log' for more details." >&2;}
13906 { (exit 1); exit 1; }; }
13907 fi
13908
13909 ac_ext=c
13910 ac_cpp='$CPP $CPPFLAGS'
13911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13914
13915
13916 echo "$as_me:$LINENO: checking for egrep" >&5
13917 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13918 if test "${ac_cv_prog_egrep+set}" = set; then
13919 echo $ECHO_N "(cached) $ECHO_C" >&6
13920 else
13921 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13922 then ac_cv_prog_egrep='grep -E'
13923 else ac_cv_prog_egrep='egrep'
13924 fi
13925 fi
13926 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13927 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13928 EGREP=$ac_cv_prog_egrep
13929
13930
13931 if test $ac_cv_c_compiler_gnu = yes; then
13932 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13933 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13934 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13935 echo $ECHO_N "(cached) $ECHO_C" >&6
13936 else
13937 ac_pattern="Autoconf.*'x'"
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 #include <sgtty.h>
13945 Autoconf TIOCGETP
13946 _ACEOF
13947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13948 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13949 ac_cv_prog_gcc_traditional=yes
13950 else
13951 ac_cv_prog_gcc_traditional=no
13952 fi
13953 rm -f conftest*
13954
13955
13956 if test $ac_cv_prog_gcc_traditional = no; then
13957 cat >conftest.$ac_ext <<_ACEOF
13958 /* confdefs.h. */
13959 _ACEOF
13960 cat confdefs.h >>conftest.$ac_ext
13961 cat >>conftest.$ac_ext <<_ACEOF
13962 /* end confdefs.h. */
13963 #include <termio.h>
13964 Autoconf TCGETA
13965 _ACEOF
13966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13967 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13968 ac_cv_prog_gcc_traditional=yes
13969 fi
13970 rm -f conftest*
13971
13972 fi
13973 fi
13974 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13975 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13976 if test $ac_cv_prog_gcc_traditional = yes; then
13977 CC="$CC -traditional"
13978 fi
13979 fi
13980
13981
13982 ac_ext=cc
13983 ac_cpp='$CXXCPP $CPPFLAGS'
13984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13987
13988
13989 CXXFLAGS=${CXXFLAGS:=}
13990
13991
13992
13993 ac_ext=cc
13994 ac_cpp='$CXXCPP $CPPFLAGS'
13995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13998 if test -n "$ac_tool_prefix"; then
13999 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14000 do
14001 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14002 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14003 echo "$as_me:$LINENO: checking for $ac_word" >&5
14004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14005 if test "${ac_cv_prog_CXX+set}" = set; then
14006 echo $ECHO_N "(cached) $ECHO_C" >&6
14007 else
14008 if test -n "$CXX"; then
14009 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14010 else
14011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14012 for as_dir in $PATH
14013 do
14014 IFS=$as_save_IFS
14015 test -z "$as_dir" && as_dir=.
14016 for ac_exec_ext in '' $ac_executable_extensions; do
14017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14018 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14020 break 2
14021 fi
14022 done
14023 done
14024
14025 fi
14026 fi
14027 CXX=$ac_cv_prog_CXX
14028 if test -n "$CXX"; then
14029 echo "$as_me:$LINENO: result: $CXX" >&5
14030 echo "${ECHO_T}$CXX" >&6
14031 else
14032 echo "$as_me:$LINENO: result: no" >&5
14033 echo "${ECHO_T}no" >&6
14034 fi
14035
14036 test -n "$CXX" && break
14037 done
14038 fi
14039 if test -z "$CXX"; then
14040 ac_ct_CXX=$CXX
14041 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14042 do
14043 # Extract the first word of "$ac_prog", so it can be a program name with args.
14044 set dummy $ac_prog; ac_word=$2
14045 echo "$as_me:$LINENO: checking for $ac_word" >&5
14046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14047 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14048 echo $ECHO_N "(cached) $ECHO_C" >&6
14049 else
14050 if test -n "$ac_ct_CXX"; then
14051 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14052 else
14053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14054 for as_dir in $PATH
14055 do
14056 IFS=$as_save_IFS
14057 test -z "$as_dir" && as_dir=.
14058 for ac_exec_ext in '' $ac_executable_extensions; do
14059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14060 ac_cv_prog_ac_ct_CXX="$ac_prog"
14061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14062 break 2
14063 fi
14064 done
14065 done
14066
14067 fi
14068 fi
14069 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14070 if test -n "$ac_ct_CXX"; then
14071 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14072 echo "${ECHO_T}$ac_ct_CXX" >&6
14073 else
14074 echo "$as_me:$LINENO: result: no" >&5
14075 echo "${ECHO_T}no" >&6
14076 fi
14077
14078 test -n "$ac_ct_CXX" && break
14079 done
14080 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14081
14082 CXX=$ac_ct_CXX
14083 fi
14084
14085
14086 # Provide some information about the compiler.
14087 echo "$as_me:$LINENO:" \
14088 "checking for C++ compiler version" >&5
14089 ac_compiler=`set X $ac_compile; echo $2`
14090 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14091 (eval $ac_compiler --version </dev/null >&5) 2>&5
14092 ac_status=$?
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); }
14095 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14096 (eval $ac_compiler -v </dev/null >&5) 2>&5
14097 ac_status=$?
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); }
14100 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14101 (eval $ac_compiler -V </dev/null >&5) 2>&5
14102 ac_status=$?
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); }
14105
14106 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14107 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14108 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14109 echo $ECHO_N "(cached) $ECHO_C" >&6
14110 else
14111 cat >conftest.$ac_ext <<_ACEOF
14112 /* confdefs.h. */
14113 _ACEOF
14114 cat confdefs.h >>conftest.$ac_ext
14115 cat >>conftest.$ac_ext <<_ACEOF
14116 /* end confdefs.h. */
14117
14118 int
14119 main ()
14120 {
14121 #ifndef __GNUC__
14122 choke me
14123 #endif
14124
14125 ;
14126 return 0;
14127 }
14128 _ACEOF
14129 rm -f conftest.$ac_objext
14130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14131 (eval $ac_compile) 2>conftest.er1
14132 ac_status=$?
14133 grep -v '^ *+' conftest.er1 >conftest.err
14134 rm -f conftest.er1
14135 cat conftest.err >&5
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); } &&
14138 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14140 (eval $ac_try) 2>&5
14141 ac_status=$?
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); }; } &&
14144 { ac_try='test -s conftest.$ac_objext'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14147 ac_status=$?
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; }; then
14150 ac_compiler_gnu=yes
14151 else
14152 echo "$as_me: failed program was:" >&5
14153 sed 's/^/| /' conftest.$ac_ext >&5
14154
14155 ac_compiler_gnu=no
14156 fi
14157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14158 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14159
14160 fi
14161 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14162 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14163 GXX=`test $ac_compiler_gnu = yes && echo yes`
14164 ac_test_CXXFLAGS=${CXXFLAGS+set}
14165 ac_save_CXXFLAGS=$CXXFLAGS
14166 CXXFLAGS="-g"
14167 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14168 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14169 if test "${ac_cv_prog_cxx_g+set}" = set; then
14170 echo $ECHO_N "(cached) $ECHO_C" >&6
14171 else
14172 cat >conftest.$ac_ext <<_ACEOF
14173 /* confdefs.h. */
14174 _ACEOF
14175 cat confdefs.h >>conftest.$ac_ext
14176 cat >>conftest.$ac_ext <<_ACEOF
14177 /* end confdefs.h. */
14178
14179 int
14180 main ()
14181 {
14182
14183 ;
14184 return 0;
14185 }
14186 _ACEOF
14187 rm -f conftest.$ac_objext
14188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14189 (eval $ac_compile) 2>conftest.er1
14190 ac_status=$?
14191 grep -v '^ *+' conftest.er1 >conftest.err
14192 rm -f conftest.er1
14193 cat conftest.err >&5
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 (exit $ac_status); } &&
14196 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198 (eval $ac_try) 2>&5
14199 ac_status=$?
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); }; } &&
14202 { ac_try='test -s conftest.$ac_objext'
14203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14204 (eval $ac_try) 2>&5
14205 ac_status=$?
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); }; }; then
14208 ac_cv_prog_cxx_g=yes
14209 else
14210 echo "$as_me: failed program was:" >&5
14211 sed 's/^/| /' conftest.$ac_ext >&5
14212
14213 ac_cv_prog_cxx_g=no
14214 fi
14215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14216 fi
14217 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14218 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14219 if test "$ac_test_CXXFLAGS" = set; then
14220 CXXFLAGS=$ac_save_CXXFLAGS
14221 elif test $ac_cv_prog_cxx_g = yes; then
14222 if test "$GXX" = yes; then
14223 CXXFLAGS="-g -O2"
14224 else
14225 CXXFLAGS="-g"
14226 fi
14227 else
14228 if test "$GXX" = yes; then
14229 CXXFLAGS="-O2"
14230 else
14231 CXXFLAGS=
14232 fi
14233 fi
14234 for ac_declaration in \
14235 '' \
14236 'extern "C" void std::exit (int) throw (); using std::exit;' \
14237 'extern "C" void std::exit (int); using std::exit;' \
14238 'extern "C" void exit (int) throw ();' \
14239 'extern "C" void exit (int);' \
14240 'void exit (int);'
14241 do
14242 cat >conftest.$ac_ext <<_ACEOF
14243 /* confdefs.h. */
14244 _ACEOF
14245 cat confdefs.h >>conftest.$ac_ext
14246 cat >>conftest.$ac_ext <<_ACEOF
14247 /* end confdefs.h. */
14248 $ac_declaration
14249 #include <stdlib.h>
14250 int
14251 main ()
14252 {
14253 exit (42);
14254 ;
14255 return 0;
14256 }
14257 _ACEOF
14258 rm -f conftest.$ac_objext
14259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14260 (eval $ac_compile) 2>conftest.er1
14261 ac_status=$?
14262 grep -v '^ *+' conftest.er1 >conftest.err
14263 rm -f conftest.er1
14264 cat conftest.err >&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14269 (eval $ac_try) 2>&5
14270 ac_status=$?
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; } &&
14273 { ac_try='test -s conftest.$ac_objext'
14274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14275 (eval $ac_try) 2>&5
14276 ac_status=$?
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; }; then
14279 :
14280 else
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.$ac_ext >&5
14283
14284 continue
14285 fi
14286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14287 cat >conftest.$ac_ext <<_ACEOF
14288 /* confdefs.h. */
14289 _ACEOF
14290 cat confdefs.h >>conftest.$ac_ext
14291 cat >>conftest.$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14293 $ac_declaration
14294 int
14295 main ()
14296 {
14297 exit (42);
14298 ;
14299 return 0;
14300 }
14301 _ACEOF
14302 rm -f conftest.$ac_objext
14303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14304 (eval $ac_compile) 2>conftest.er1
14305 ac_status=$?
14306 grep -v '^ *+' conftest.er1 >conftest.err
14307 rm -f conftest.er1
14308 cat conftest.err >&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } &&
14311 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313 (eval $ac_try) 2>&5
14314 ac_status=$?
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }; } &&
14317 { ac_try='test -s conftest.$ac_objext'
14318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14319 (eval $ac_try) 2>&5
14320 ac_status=$?
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); }; }; then
14323 break
14324 else
14325 echo "$as_me: failed program was:" >&5
14326 sed 's/^/| /' conftest.$ac_ext >&5
14327
14328 fi
14329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14330 done
14331 rm -f conftest*
14332 if test -n "$ac_declaration"; then
14333 echo '#ifdef __cplusplus' >>confdefs.h
14334 echo $ac_declaration >>confdefs.h
14335 echo '#endif' >>confdefs.h
14336 fi
14337
14338 ac_ext=cc
14339 ac_cpp='$CXXCPP $CPPFLAGS'
14340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14343
14344
14345
14346 ac_ext=cc
14347 ac_cpp='$CXXCPP $CPPFLAGS'
14348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14351
14352 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14353 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14354 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14355 echo $ECHO_N "(cached) $ECHO_C" >&6
14356 else
14357 cat >conftest.$ac_ext <<_ACEOF
14358 /* confdefs.h. */
14359 _ACEOF
14360 cat confdefs.h >>conftest.$ac_ext
14361 cat >>conftest.$ac_ext <<_ACEOF
14362 /* end confdefs.h. */
14363
14364 int
14365 main ()
14366 {
14367
14368 #ifndef __INTEL_COMPILER
14369 choke me
14370 #endif
14371
14372 ;
14373 return 0;
14374 }
14375 _ACEOF
14376 rm -f conftest.$ac_objext
14377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14378 (eval $ac_compile) 2>conftest.er1
14379 ac_status=$?
14380 grep -v '^ *+' conftest.er1 >conftest.err
14381 rm -f conftest.er1
14382 cat conftest.err >&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); } &&
14385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14387 (eval $ac_try) 2>&5
14388 ac_status=$?
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); }; } &&
14391 { ac_try='test -s conftest.$ac_objext'
14392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14393 (eval $ac_try) 2>&5
14394 ac_status=$?
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); }; }; then
14397 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14398 else
14399 echo "$as_me: failed program was:" >&5
14400 sed 's/^/| /' conftest.$ac_ext >&5
14401
14402 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14403
14404 fi
14405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14406
14407
14408 fi
14409 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14410 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14411 ac_ext=cc
14412 ac_cpp='$CXXCPP $CPPFLAGS'
14413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14416
14417 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14418 :; INTELCXX=yes
14419 else
14420 :;
14421 fi
14422
14423
14424 if test "x$GCXX" != "xyes"; then
14425 if test "xCXX" = "xC"; then
14426 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14427 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14428 if test "${bakefile_cv_cxx_exto+set}" = set; then
14429 echo $ECHO_N "(cached) $ECHO_C" >&6
14430 else
14431 cat >conftest.$ac_ext <<_ACEOF
14432 /* confdefs.h. */
14433 _ACEOF
14434 cat confdefs.h >>conftest.$ac_ext
14435 cat >>conftest.$ac_ext <<_ACEOF
14436 /* end confdefs.h. */
14437
14438 int
14439 main ()
14440 {
14441
14442 ;
14443 return 0;
14444 }
14445 _ACEOF
14446 rm -f conftest.$ac_objext conftest.$ac_ext.o
14447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14448 (eval $ac_compile) 2>&5
14449 ac_status=$?
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); }; then
14452 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14453 case $ac_file in
14454 conftest.$ac_ext.o)
14455 bakefile_cv_cxx_exto="-ext o"
14456 ;;
14457 *)
14458 ;;
14459 esac
14460 done
14461 else
14462 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14463 See \`config.log' for more details." >&5
14464 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14465 See \`config.log' for more details." >&2;}
14466 { (exit 1); exit 1; }; }
14467
14468 fi
14469
14470 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14471
14472 fi
14473 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14474 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14475 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14476 if test "cxx" = "c"; then
14477 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14478 fi
14479 if test "cxx" = "cxx"; then
14480 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14481 fi
14482 fi
14483
14484 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14485 unset ac_cv_prog_cc_g
14486 ac_test_CFLAGS=${CFLAGS+set}
14487 ac_save_CFLAGS=$CFLAGS
14488 CFLAGS="-g"
14489 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14490 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14491 if test "${ac_cv_prog_cc_g+set}" = set; then
14492 echo $ECHO_N "(cached) $ECHO_C" >&6
14493 else
14494 cat >conftest.$ac_ext <<_ACEOF
14495 /* confdefs.h. */
14496 _ACEOF
14497 cat confdefs.h >>conftest.$ac_ext
14498 cat >>conftest.$ac_ext <<_ACEOF
14499 /* end confdefs.h. */
14500
14501 int
14502 main ()
14503 {
14504
14505 ;
14506 return 0;
14507 }
14508 _ACEOF
14509 rm -f conftest.$ac_objext
14510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14511 (eval $ac_compile) 2>conftest.er1
14512 ac_status=$?
14513 grep -v '^ *+' conftest.er1 >conftest.err
14514 rm -f conftest.er1
14515 cat conftest.err >&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); } &&
14518 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14521 ac_status=$?
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; } &&
14524 { ac_try='test -s conftest.$ac_objext'
14525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14526 (eval $ac_try) 2>&5
14527 ac_status=$?
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); }; }; then
14530 ac_cv_prog_cc_g=yes
14531 else
14532 echo "$as_me: failed program was:" >&5
14533 sed 's/^/| /' conftest.$ac_ext >&5
14534
14535 ac_cv_prog_cc_g=no
14536 fi
14537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14538 fi
14539 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14540 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14541 if test "$ac_test_CFLAGS" = set; then
14542 CFLAGS=$ac_save_CFLAGS
14543 elif test $ac_cv_prog_cc_g = yes; then
14544 if test "$GCC" = yes; then
14545 CFLAGS="-g -O2"
14546 else
14547 CFLAGS="-g"
14548 fi
14549 else
14550 if test "$GCC" = yes; then
14551 CFLAGS="-O2"
14552 else
14553 CFLAGS=
14554 fi
14555 fi
14556 fi
14557 fi
14558
14559 case `uname -s` in
14560 AIX*)
14561 ac_ext=cc
14562 ac_cpp='$CXXCPP $CPPFLAGS'
14563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14566
14567 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14568 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14569 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14570 echo $ECHO_N "(cached) $ECHO_C" >&6
14571 else
14572 cat >conftest.$ac_ext <<_ACEOF
14573 /* confdefs.h. */
14574 _ACEOF
14575 cat confdefs.h >>conftest.$ac_ext
14576 cat >>conftest.$ac_ext <<_ACEOF
14577 /* end confdefs.h. */
14578
14579 int
14580 main ()
14581 {
14582 #ifndef __xlC__
14583 choke me
14584 #endif
14585
14586 ;
14587 return 0;
14588 }
14589 _ACEOF
14590 rm -f conftest.$ac_objext
14591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14592 (eval $ac_compile) 2>conftest.er1
14593 ac_status=$?
14594 grep -v '^ *+' conftest.er1 >conftest.err
14595 rm -f conftest.er1
14596 cat conftest.err >&5
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); } &&
14599 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601 (eval $ac_try) 2>&5
14602 ac_status=$?
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); }; } &&
14605 { ac_try='test -s conftest.$ac_objext'
14606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607 (eval $ac_try) 2>&5
14608 ac_status=$?
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; }; then
14611 bakefile_compiler_xlc=yes
14612 else
14613 echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.$ac_ext >&5
14615
14616 bakefile_compiler_xlc=no
14617 fi
14618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14619 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14620
14621 fi
14622 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14623 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14624
14625 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14626 ac_ext=cc
14627 ac_cpp='$CXXCPP $CPPFLAGS'
14628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14631
14632
14633 ;;
14634
14635 Darwin)
14636 ac_ext=cc
14637 ac_cpp='$CXXCPP $CPPFLAGS'
14638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14641
14642 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14643 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14644 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14645 echo $ECHO_N "(cached) $ECHO_C" >&6
14646 else
14647 cat >conftest.$ac_ext <<_ACEOF
14648 /* confdefs.h. */
14649 _ACEOF
14650 cat confdefs.h >>conftest.$ac_ext
14651 cat >>conftest.$ac_ext <<_ACEOF
14652 /* end confdefs.h. */
14653
14654 int
14655 main ()
14656 {
14657 #ifndef __MWERKS__
14658 choke me
14659 #endif
14660
14661 ;
14662 return 0;
14663 }
14664 _ACEOF
14665 rm -f conftest.$ac_objext
14666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14667 (eval $ac_compile) 2>conftest.er1
14668 ac_status=$?
14669 grep -v '^ *+' conftest.er1 >conftest.err
14670 rm -f conftest.er1
14671 cat conftest.err >&5
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); } &&
14674 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14676 (eval $ac_try) 2>&5
14677 ac_status=$?
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; } &&
14680 { ac_try='test -s conftest.$ac_objext'
14681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14682 (eval $ac_try) 2>&5
14683 ac_status=$?
14684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14685 (exit $ac_status); }; }; then
14686 bakefile_compiler_mwerks=yes
14687 else
14688 echo "$as_me: failed program was:" >&5
14689 sed 's/^/| /' conftest.$ac_ext >&5
14690
14691 bakefile_compiler_mwerks=no
14692 fi
14693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14694 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14695
14696 fi
14697 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14698 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14699
14700 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14701 ac_ext=cc
14702 ac_cpp='$CXXCPP $CPPFLAGS'
14703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14706
14707
14708 ac_ext=cc
14709 ac_cpp='$CXXCPP $CPPFLAGS'
14710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14713
14714 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14715 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14716 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14717 echo $ECHO_N "(cached) $ECHO_C" >&6
14718 else
14719 cat >conftest.$ac_ext <<_ACEOF
14720 /* confdefs.h. */
14721 _ACEOF
14722 cat confdefs.h >>conftest.$ac_ext
14723 cat >>conftest.$ac_ext <<_ACEOF
14724 /* end confdefs.h. */
14725
14726 int
14727 main ()
14728 {
14729 #ifndef __xlC__
14730 choke me
14731 #endif
14732
14733 ;
14734 return 0;
14735 }
14736 _ACEOF
14737 rm -f conftest.$ac_objext
14738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14739 (eval $ac_compile) 2>conftest.er1
14740 ac_status=$?
14741 grep -v '^ *+' conftest.er1 >conftest.err
14742 rm -f conftest.er1
14743 cat conftest.err >&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); } &&
14746 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14748 (eval $ac_try) 2>&5
14749 ac_status=$?
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); }; } &&
14752 { ac_try='test -s conftest.$ac_objext'
14753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14754 (eval $ac_try) 2>&5
14755 ac_status=$?
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); }; }; then
14758 bakefile_compiler_xlc=yes
14759 else
14760 echo "$as_me: failed program was:" >&5
14761 sed 's/^/| /' conftest.$ac_ext >&5
14762
14763 bakefile_compiler_xlc=no
14764 fi
14765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14766 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14767
14768 fi
14769 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14770 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14771
14772 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14773 ac_ext=cc
14774 ac_cpp='$CXXCPP $CPPFLAGS'
14775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14778
14779
14780 ;;
14781
14782 IRIX*)
14783
14784
14785 ac_ext=cc
14786 ac_cpp='$CXXCPP $CPPFLAGS'
14787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14790
14791 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14792 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14793 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14794 echo $ECHO_N "(cached) $ECHO_C" >&6
14795 else
14796 cat >conftest.$ac_ext <<_ACEOF
14797 /* confdefs.h. */
14798 _ACEOF
14799 cat confdefs.h >>conftest.$ac_ext
14800 cat >>conftest.$ac_ext <<_ACEOF
14801 /* end confdefs.h. */
14802
14803 int
14804 main ()
14805 {
14806
14807 #ifndef _SGI_COMPILER_VERSION
14808 choke me
14809 #endif
14810
14811 ;
14812 return 0;
14813 }
14814 _ACEOF
14815 rm -f conftest.$ac_objext
14816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14817 (eval $ac_compile) 2>conftest.er1
14818 ac_status=$?
14819 grep -v '^ *+' conftest.er1 >conftest.err
14820 rm -f conftest.er1
14821 cat conftest.err >&5
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); } &&
14824 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14826 (eval $ac_try) 2>&5
14827 ac_status=$?
14828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14829 (exit $ac_status); }; } &&
14830 { ac_try='test -s conftest.$ac_objext'
14831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14832 (eval $ac_try) 2>&5
14833 ac_status=$?
14834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14835 (exit $ac_status); }; }; then
14836 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14837 else
14838 echo "$as_me: failed program was:" >&5
14839 sed 's/^/| /' conftest.$ac_ext >&5
14840
14841 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14842
14843 fi
14844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14845
14846
14847 fi
14848 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14849 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14850 ac_ext=cc
14851 ac_cpp='$CXXCPP $CPPFLAGS'
14852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14855
14856 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14857 :; SGICXX=yes
14858 else
14859 :;
14860 fi
14861
14862
14863 ;;
14864
14865 HP-UX*)
14866
14867
14868 ac_ext=cc
14869 ac_cpp='$CXXCPP $CPPFLAGS'
14870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14873
14874 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14875 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14876 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14877 echo $ECHO_N "(cached) $ECHO_C" >&6
14878 else
14879 cat >conftest.$ac_ext <<_ACEOF
14880 /* confdefs.h. */
14881 _ACEOF
14882 cat confdefs.h >>conftest.$ac_ext
14883 cat >>conftest.$ac_ext <<_ACEOF
14884 /* end confdefs.h. */
14885
14886 int
14887 main ()
14888 {
14889
14890 #ifndef __HP_aCC
14891 choke me
14892 #endif
14893
14894 ;
14895 return 0;
14896 }
14897 _ACEOF
14898 rm -f conftest.$ac_objext
14899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14900 (eval $ac_compile) 2>conftest.er1
14901 ac_status=$?
14902 grep -v '^ *+' conftest.er1 >conftest.err
14903 rm -f conftest.er1
14904 cat conftest.err >&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); } &&
14907 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14909 (eval $ac_try) 2>&5
14910 ac_status=$?
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); }; } &&
14913 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
14919 bakefile_cv_cxx_compiler___HP_aCC=yes
14920 else
14921 echo "$as_me: failed program was:" >&5
14922 sed 's/^/| /' conftest.$ac_ext >&5
14923
14924 bakefile_cv_cxx_compiler___HP_aCC=no
14925
14926 fi
14927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14928
14929
14930 fi
14931 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14932 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14933 ac_ext=cc
14934 ac_cpp='$CXXCPP $CPPFLAGS'
14935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14938
14939 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14940 :; HPCXX=yes
14941 else
14942 :;
14943 fi
14944
14945
14946 ;;
14947
14948 OSF1)
14949
14950
14951 ac_ext=cc
14952 ac_cpp='$CXXCPP $CPPFLAGS'
14953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14956
14957 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14958 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14959 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14960 echo $ECHO_N "(cached) $ECHO_C" >&6
14961 else
14962 cat >conftest.$ac_ext <<_ACEOF
14963 /* confdefs.h. */
14964 _ACEOF
14965 cat confdefs.h >>conftest.$ac_ext
14966 cat >>conftest.$ac_ext <<_ACEOF
14967 /* end confdefs.h. */
14968
14969 int
14970 main ()
14971 {
14972
14973 #ifndef __DECCXX
14974 choke me
14975 #endif
14976
14977 ;
14978 return 0;
14979 }
14980 _ACEOF
14981 rm -f conftest.$ac_objext
14982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14983 (eval $ac_compile) 2>conftest.er1
14984 ac_status=$?
14985 grep -v '^ *+' conftest.er1 >conftest.err
14986 rm -f conftest.er1
14987 cat conftest.err >&5
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); } &&
14990 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14992 (eval $ac_try) 2>&5
14993 ac_status=$?
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); }; } &&
14996 { ac_try='test -s conftest.$ac_objext'
14997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14998 (eval $ac_try) 2>&5
14999 ac_status=$?
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); }; }; then
15002 bakefile_cv_cxx_compiler___DECCXX=yes
15003 else
15004 echo "$as_me: failed program was:" >&5
15005 sed 's/^/| /' conftest.$ac_ext >&5
15006
15007 bakefile_cv_cxx_compiler___DECCXX=no
15008
15009 fi
15010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15011
15012
15013 fi
15014 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15015 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15016 ac_ext=cc
15017 ac_cpp='$CXXCPP $CPPFLAGS'
15018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15021
15022 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15023 :; COMPAQCXX=yes
15024 else
15025 :;
15026 fi
15027
15028
15029 ;;
15030
15031 SunOS)
15032
15033
15034 ac_ext=cc
15035 ac_cpp='$CXXCPP $CPPFLAGS'
15036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15039
15040 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15041 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15042 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15043 echo $ECHO_N "(cached) $ECHO_C" >&6
15044 else
15045 cat >conftest.$ac_ext <<_ACEOF
15046 /* confdefs.h. */
15047 _ACEOF
15048 cat confdefs.h >>conftest.$ac_ext
15049 cat >>conftest.$ac_ext <<_ACEOF
15050 /* end confdefs.h. */
15051
15052 int
15053 main ()
15054 {
15055
15056 #ifndef __SUNPRO_CC
15057 choke me
15058 #endif
15059
15060 ;
15061 return 0;
15062 }
15063 _ACEOF
15064 rm -f conftest.$ac_objext
15065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15066 (eval $ac_compile) 2>conftest.er1
15067 ac_status=$?
15068 grep -v '^ *+' conftest.er1 >conftest.err
15069 rm -f conftest.er1
15070 cat conftest.err >&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); } &&
15073 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15075 (eval $ac_try) 2>&5
15076 ac_status=$?
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); }; } &&
15079 { ac_try='test -s conftest.$ac_objext'
15080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081 (eval $ac_try) 2>&5
15082 ac_status=$?
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); }; }; then
15085 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15086 else
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.$ac_ext >&5
15089
15090 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15091
15092 fi
15093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15094
15095
15096 fi
15097 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15098 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15099 ac_ext=cc
15100 ac_cpp='$CXXCPP $CPPFLAGS'
15101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15104
15105 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15106 :; SUNCXX=yes
15107 else
15108 :;
15109 fi
15110
15111
15112 ;;
15113 esac
15114 fi
15115
15116
15117
15118 if test -n "$ac_tool_prefix"; then
15119 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15120 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15121 echo "$as_me:$LINENO: checking for $ac_word" >&5
15122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15123 if test "${ac_cv_prog_RANLIB+set}" = set; then
15124 echo $ECHO_N "(cached) $ECHO_C" >&6
15125 else
15126 if test -n "$RANLIB"; then
15127 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15128 else
15129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15130 for as_dir in $PATH
15131 do
15132 IFS=$as_save_IFS
15133 test -z "$as_dir" && as_dir=.
15134 for ac_exec_ext in '' $ac_executable_extensions; do
15135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15136 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15138 break 2
15139 fi
15140 done
15141 done
15142
15143 fi
15144 fi
15145 RANLIB=$ac_cv_prog_RANLIB
15146 if test -n "$RANLIB"; then
15147 echo "$as_me:$LINENO: result: $RANLIB" >&5
15148 echo "${ECHO_T}$RANLIB" >&6
15149 else
15150 echo "$as_me:$LINENO: result: no" >&5
15151 echo "${ECHO_T}no" >&6
15152 fi
15153
15154 fi
15155 if test -z "$ac_cv_prog_RANLIB"; then
15156 ac_ct_RANLIB=$RANLIB
15157 # Extract the first word of "ranlib", so it can be a program name with args.
15158 set dummy ranlib; ac_word=$2
15159 echo "$as_me:$LINENO: checking for $ac_word" >&5
15160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15161 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15162 echo $ECHO_N "(cached) $ECHO_C" >&6
15163 else
15164 if test -n "$ac_ct_RANLIB"; then
15165 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15166 else
15167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15168 for as_dir in $PATH
15169 do
15170 IFS=$as_save_IFS
15171 test -z "$as_dir" && as_dir=.
15172 for ac_exec_ext in '' $ac_executable_extensions; do
15173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15174 ac_cv_prog_ac_ct_RANLIB="ranlib"
15175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15176 break 2
15177 fi
15178 done
15179 done
15180
15181 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15182 fi
15183 fi
15184 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15185 if test -n "$ac_ct_RANLIB"; then
15186 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15187 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15188 else
15189 echo "$as_me:$LINENO: result: no" >&5
15190 echo "${ECHO_T}no" >&6
15191 fi
15192
15193 RANLIB=$ac_ct_RANLIB
15194 else
15195 RANLIB="$ac_cv_prog_RANLIB"
15196 fi
15197
15198
15199 if test -n "$ac_tool_prefix"; then
15200 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15201 set dummy ${ac_tool_prefix}ar; ac_word=$2
15202 echo "$as_me:$LINENO: checking for $ac_word" >&5
15203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15204 if test "${ac_cv_prog_AR+set}" = set; then
15205 echo $ECHO_N "(cached) $ECHO_C" >&6
15206 else
15207 if test -n "$AR"; then
15208 ac_cv_prog_AR="$AR" # Let the user override the test.
15209 else
15210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15211 for as_dir in $PATH
15212 do
15213 IFS=$as_save_IFS
15214 test -z "$as_dir" && as_dir=.
15215 for ac_exec_ext in '' $ac_executable_extensions; do
15216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15217 ac_cv_prog_AR="${ac_tool_prefix}ar"
15218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15219 break 2
15220 fi
15221 done
15222 done
15223
15224 fi
15225 fi
15226 AR=$ac_cv_prog_AR
15227 if test -n "$AR"; then
15228 echo "$as_me:$LINENO: result: $AR" >&5
15229 echo "${ECHO_T}$AR" >&6
15230 else
15231 echo "$as_me:$LINENO: result: no" >&5
15232 echo "${ECHO_T}no" >&6
15233 fi
15234
15235 fi
15236 if test -z "$ac_cv_prog_AR"; then
15237 ac_ct_AR=$AR
15238 # Extract the first word of "ar", so it can be a program name with args.
15239 set dummy ar; ac_word=$2
15240 echo "$as_me:$LINENO: checking for $ac_word" >&5
15241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15242 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15243 echo $ECHO_N "(cached) $ECHO_C" >&6
15244 else
15245 if test -n "$ac_ct_AR"; then
15246 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15247 else
15248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15249 for as_dir in $PATH
15250 do
15251 IFS=$as_save_IFS
15252 test -z "$as_dir" && as_dir=.
15253 for ac_exec_ext in '' $ac_executable_extensions; do
15254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15255 ac_cv_prog_ac_ct_AR="ar"
15256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15257 break 2
15258 fi
15259 done
15260 done
15261
15262 fi
15263 fi
15264 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15265 if test -n "$ac_ct_AR"; then
15266 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15267 echo "${ECHO_T}$ac_ct_AR" >&6
15268 else
15269 echo "$as_me:$LINENO: result: no" >&5
15270 echo "${ECHO_T}no" >&6
15271 fi
15272
15273 AR=$ac_ct_AR
15274 else
15275 AR="$ac_cv_prog_AR"
15276 fi
15277
15278 if test "x$AR" = "x" ; then
15279 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15280 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15281 { (exit 1); exit 1; }; }
15282 fi
15283
15284 # Find a good install program. We prefer a C program (faster),
15285 # so one script is as good as another. But avoid the broken or
15286 # incompatible versions:
15287 # SysV /etc/install, /usr/sbin/install
15288 # SunOS /usr/etc/install
15289 # IRIX /sbin/install
15290 # AIX /bin/install
15291 # AmigaOS /C/install, which installs bootblocks on floppy discs
15292 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15293 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15294 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15295 # OS/2's system install, which has a completely different semantic
15296 # ./install, which can be erroneously created by make from ./install.sh.
15297 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15298 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15299 if test -z "$INSTALL"; then
15300 if test "${ac_cv_path_install+set}" = set; then
15301 echo $ECHO_N "(cached) $ECHO_C" >&6
15302 else
15303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15304 for as_dir in $PATH
15305 do
15306 IFS=$as_save_IFS
15307 test -z "$as_dir" && as_dir=.
15308 # Account for people who put trailing slashes in PATH elements.
15309 case $as_dir/ in
15310 ./ | .// | /cC/* | \
15311 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15312 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15313 /usr/ucb/* ) ;;
15314 *)
15315 # OSF1 and SCO ODT 3.0 have their own names for install.
15316 # Don't use installbsd from OSF since it installs stuff as root
15317 # by default.
15318 for ac_prog in ginstall scoinst install; do
15319 for ac_exec_ext in '' $ac_executable_extensions; do
15320 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15321 if test $ac_prog = install &&
15322 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15323 # AIX install. It has an incompatible calling convention.
15324 :
15325 elif test $ac_prog = install &&
15326 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15327 # program-specific install script used by HP pwplus--don't use.
15328 :
15329 else
15330 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15331 break 3
15332 fi
15333 fi
15334 done
15335 done
15336 ;;
15337 esac
15338 done
15339
15340
15341 fi
15342 if test "${ac_cv_path_install+set}" = set; then
15343 INSTALL=$ac_cv_path_install
15344 else
15345 # As a last resort, use the slow shell script. We don't cache a
15346 # path for INSTALL within a source directory, because that will
15347 # break other packages using the cache if that directory is
15348 # removed, or if the path is relative.
15349 INSTALL=$ac_install_sh
15350 fi
15351 fi
15352 echo "$as_me:$LINENO: result: $INSTALL" >&5
15353 echo "${ECHO_T}$INSTALL" >&6
15354
15355 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15356 # It thinks the first close brace ends the variable substitution.
15357 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15358
15359 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15360
15361 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15362
15363
15364 case ${INSTALL} in
15365 /* ) # Absolute
15366 ;;
15367 ?:* ) # Drive letter, considered as absolute.
15368 ;;
15369 *)
15370 INSTALL=`pwd`/${INSTALL} ;;
15371 esac
15372
15373
15374 case "${host}" in
15375
15376 *-*-darwin* )
15377 INSTALL_PROGRAM="cp -fp"
15378 INSTALL_DATA="cp -fp"
15379 ;;
15380 *)
15381 ;;
15382 esac
15383
15384 if test -n "$ac_tool_prefix"; then
15385 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15386 set dummy ${ac_tool_prefix}strip; ac_word=$2
15387 echo "$as_me:$LINENO: checking for $ac_word" >&5
15388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15389 if test "${ac_cv_prog_STRIP+set}" = set; then
15390 echo $ECHO_N "(cached) $ECHO_C" >&6
15391 else
15392 if test -n "$STRIP"; then
15393 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15394 else
15395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15396 for as_dir in $PATH
15397 do
15398 IFS=$as_save_IFS
15399 test -z "$as_dir" && as_dir=.
15400 for ac_exec_ext in '' $ac_executable_extensions; do
15401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15402 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15404 break 2
15405 fi
15406 done
15407 done
15408
15409 fi
15410 fi
15411 STRIP=$ac_cv_prog_STRIP
15412 if test -n "$STRIP"; then
15413 echo "$as_me:$LINENO: result: $STRIP" >&5
15414 echo "${ECHO_T}$STRIP" >&6
15415 else
15416 echo "$as_me:$LINENO: result: no" >&5
15417 echo "${ECHO_T}no" >&6
15418 fi
15419
15420 fi
15421 if test -z "$ac_cv_prog_STRIP"; then
15422 ac_ct_STRIP=$STRIP
15423 # Extract the first word of "strip", so it can be a program name with args.
15424 set dummy strip; ac_word=$2
15425 echo "$as_me:$LINENO: checking for $ac_word" >&5
15426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15427 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15428 echo $ECHO_N "(cached) $ECHO_C" >&6
15429 else
15430 if test -n "$ac_ct_STRIP"; then
15431 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15432 else
15433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15434 for as_dir in $PATH
15435 do
15436 IFS=$as_save_IFS
15437 test -z "$as_dir" && as_dir=.
15438 for ac_exec_ext in '' $ac_executable_extensions; do
15439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15440 ac_cv_prog_ac_ct_STRIP="strip"
15441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15442 break 2
15443 fi
15444 done
15445 done
15446
15447 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15448 fi
15449 fi
15450 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15451 if test -n "$ac_ct_STRIP"; then
15452 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15453 echo "${ECHO_T}$ac_ct_STRIP" >&6
15454 else
15455 echo "$as_me:$LINENO: result: no" >&5
15456 echo "${ECHO_T}no" >&6
15457 fi
15458
15459 STRIP=$ac_ct_STRIP
15460 else
15461 STRIP="$ac_cv_prog_STRIP"
15462 fi
15463
15464
15465 if test "$wxUSE_WINE" = "yes"; then
15466 if test -n "$ac_tool_prefix"; then
15467 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15468 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15469 echo "$as_me:$LINENO: checking for $ac_word" >&5
15470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15471 if test "${ac_cv_prog_WINDRES+set}" = set; then
15472 echo $ECHO_N "(cached) $ECHO_C" >&6
15473 else
15474 if test -n "$WINDRES"; then
15475 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15476 else
15477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15478 for as_dir in $PATH
15479 do
15480 IFS=$as_save_IFS
15481 test -z "$as_dir" && as_dir=.
15482 for ac_exec_ext in '' $ac_executable_extensions; do
15483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15484 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15486 break 2
15487 fi
15488 done
15489 done
15490
15491 fi
15492 fi
15493 WINDRES=$ac_cv_prog_WINDRES
15494 if test -n "$WINDRES"; then
15495 echo "$as_me:$LINENO: result: $WINDRES" >&5
15496 echo "${ECHO_T}$WINDRES" >&6
15497 else
15498 echo "$as_me:$LINENO: result: no" >&5
15499 echo "${ECHO_T}no" >&6
15500 fi
15501
15502 fi
15503 if test -z "$ac_cv_prog_WINDRES"; then
15504 ac_ct_WINDRES=$WINDRES
15505 # Extract the first word of "wrc", so it can be a program name with args.
15506 set dummy wrc; ac_word=$2
15507 echo "$as_me:$LINENO: checking for $ac_word" >&5
15508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15509 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15510 echo $ECHO_N "(cached) $ECHO_C" >&6
15511 else
15512 if test -n "$ac_ct_WINDRES"; then
15513 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15514 else
15515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15516 for as_dir in $PATH
15517 do
15518 IFS=$as_save_IFS
15519 test -z "$as_dir" && as_dir=.
15520 for ac_exec_ext in '' $ac_executable_extensions; do
15521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15522 ac_cv_prog_ac_ct_WINDRES="wrc"
15523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15524 break 2
15525 fi
15526 done
15527 done
15528
15529 fi
15530 fi
15531 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15532 if test -n "$ac_ct_WINDRES"; then
15533 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15534 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15535 else
15536 echo "$as_me:$LINENO: result: no" >&5
15537 echo "${ECHO_T}no" >&6
15538 fi
15539
15540 WINDRES=$ac_ct_WINDRES
15541 else
15542 WINDRES="$ac_cv_prog_WINDRES"
15543 fi
15544
15545 RESCOMP="$WINDRES"
15546 else
15547 case "${host}" in
15548 *-*-cygwin* | *-*-mingw32* )
15549 if test -n "$ac_tool_prefix"; then
15550 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15551 set dummy ${ac_tool_prefix}windres; ac_word=$2
15552 echo "$as_me:$LINENO: checking for $ac_word" >&5
15553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15554 if test "${ac_cv_prog_WINDRES+set}" = set; then
15555 echo $ECHO_N "(cached) $ECHO_C" >&6
15556 else
15557 if test -n "$WINDRES"; then
15558 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15559 else
15560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15561 for as_dir in $PATH
15562 do
15563 IFS=$as_save_IFS
15564 test -z "$as_dir" && as_dir=.
15565 for ac_exec_ext in '' $ac_executable_extensions; do
15566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15567 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15569 break 2
15570 fi
15571 done
15572 done
15573
15574 fi
15575 fi
15576 WINDRES=$ac_cv_prog_WINDRES
15577 if test -n "$WINDRES"; then
15578 echo "$as_me:$LINENO: result: $WINDRES" >&5
15579 echo "${ECHO_T}$WINDRES" >&6
15580 else
15581 echo "$as_me:$LINENO: result: no" >&5
15582 echo "${ECHO_T}no" >&6
15583 fi
15584
15585 fi
15586 if test -z "$ac_cv_prog_WINDRES"; then
15587 ac_ct_WINDRES=$WINDRES
15588 # Extract the first word of "windres", so it can be a program name with args.
15589 set dummy windres; ac_word=$2
15590 echo "$as_me:$LINENO: checking for $ac_word" >&5
15591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15592 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15593 echo $ECHO_N "(cached) $ECHO_C" >&6
15594 else
15595 if test -n "$ac_ct_WINDRES"; then
15596 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15597 else
15598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15599 for as_dir in $PATH
15600 do
15601 IFS=$as_save_IFS
15602 test -z "$as_dir" && as_dir=.
15603 for ac_exec_ext in '' $ac_executable_extensions; do
15604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15605 ac_cv_prog_ac_ct_WINDRES="windres"
15606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15607 break 2
15608 fi
15609 done
15610 done
15611
15612 fi
15613 fi
15614 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15615 if test -n "$ac_ct_WINDRES"; then
15616 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15617 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15618 else
15619 echo "$as_me:$LINENO: result: no" >&5
15620 echo "${ECHO_T}no" >&6
15621 fi
15622
15623 WINDRES=$ac_ct_WINDRES
15624 else
15625 WINDRES="$ac_cv_prog_WINDRES"
15626 fi
15627
15628 RESCOMP="$WINDRES"
15629 if test -n "$ac_tool_prefix"; then
15630 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15631 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15632 echo "$as_me:$LINENO: checking for $ac_word" >&5
15633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15634 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15635 echo $ECHO_N "(cached) $ECHO_C" >&6
15636 else
15637 if test -n "$DLLTOOL"; then
15638 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15639 else
15640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15641 for as_dir in $PATH
15642 do
15643 IFS=$as_save_IFS
15644 test -z "$as_dir" && as_dir=.
15645 for ac_exec_ext in '' $ac_executable_extensions; do
15646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15647 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15649 break 2
15650 fi
15651 done
15652 done
15653
15654 fi
15655 fi
15656 DLLTOOL=$ac_cv_prog_DLLTOOL
15657 if test -n "$DLLTOOL"; then
15658 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15659 echo "${ECHO_T}$DLLTOOL" >&6
15660 else
15661 echo "$as_me:$LINENO: result: no" >&5
15662 echo "${ECHO_T}no" >&6
15663 fi
15664
15665 fi
15666 if test -z "$ac_cv_prog_DLLTOOL"; then
15667 ac_ct_DLLTOOL=$DLLTOOL
15668 # Extract the first word of "dlltool", so it can be a program name with args.
15669 set dummy dlltool; ac_word=$2
15670 echo "$as_me:$LINENO: checking for $ac_word" >&5
15671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15672 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15673 echo $ECHO_N "(cached) $ECHO_C" >&6
15674 else
15675 if test -n "$ac_ct_DLLTOOL"; then
15676 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15677 else
15678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15679 for as_dir in $PATH
15680 do
15681 IFS=$as_save_IFS
15682 test -z "$as_dir" && as_dir=.
15683 for ac_exec_ext in '' $ac_executable_extensions; do
15684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15685 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15687 break 2
15688 fi
15689 done
15690 done
15691
15692 fi
15693 fi
15694 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15695 if test -n "$ac_ct_DLLTOOL"; then
15696 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15697 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15698 else
15699 echo "$as_me:$LINENO: result: no" >&5
15700 echo "${ECHO_T}no" >&6
15701 fi
15702
15703 DLLTOOL=$ac_ct_DLLTOOL
15704 else
15705 DLLTOOL="$ac_cv_prog_DLLTOOL"
15706 fi
15707
15708 ;;
15709 esac
15710 fi
15711
15712 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15713 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15714 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15715 echo $ECHO_N "(cached) $ECHO_C" >&6
15716 else
15717
15718 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15719 egrep -s GNU > /dev/null); then
15720 wx_cv_prog_makeisgnu="yes"
15721 else
15722 wx_cv_prog_makeisgnu="no"
15723 fi
15724
15725 fi
15726 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15727 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15728
15729 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15730 IF_GNU_MAKE=""
15731 else
15732 IF_GNU_MAKE="#"
15733 fi
15734
15735
15736
15737 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15738 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15739 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15740 if test "${wx_cv_prog_makevpath+set}" = set; then
15741 echo $ECHO_N "(cached) $ECHO_C" >&6
15742 else
15743
15744 cat - << EOF > confMake
15745 check : file
15746 cp \$? \$@
15747 cp \$? final_file
15748 EOF
15749
15750 if test ! -d sub ; then
15751 mkdir sub
15752 fi
15753 echo dummy > sub/file
15754 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15755 RESULT=$?
15756 rm -f sub/file check final_file confMake
15757 rmdir sub
15758 if test "$RESULT" = 0; then
15759 wx_cv_prog_makevpath="yes"
15760 else
15761 wx_cv_prog_makevpath="no"
15762 fi
15763
15764 fi
15765 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15766 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15767
15768 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15769 { { echo "$as_me:$LINENO: error:
15770 You need a make-utility that is able to use the variable
15771 VPATH correctly.
15772 If your version of make does not support VPATH correctly,
15773 please install GNU-make (possibly as gmake), and start
15774 configure with the following command:
15775 export MAKE=gmake; ./configure for sh-type shells
15776 setenv MAKE gmake; ./configure for csh-type shells
15777 Also please do remember to use gmake in this case every time
15778 you are trying to compile.
15779 " >&5
15780 echo "$as_me: error:
15781 You need a make-utility that is able to use the variable
15782 VPATH correctly.
15783 If your version of make does not support VPATH correctly,
15784 please install GNU-make (possibly as gmake), and start
15785 configure with the following command:
15786 export MAKE=gmake; ./configure for sh-type shells
15787 setenv MAKE gmake; ./configure for csh-type shells
15788 Also please do remember to use gmake in this case every time
15789 you are trying to compile.
15790 " >&2;}
15791 { (exit 1); exit 1; }; }
15792 fi fi
15793 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15794 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15795 LN_S=$as_ln_s
15796 if test "$LN_S" = "ln -s"; then
15797 echo "$as_me:$LINENO: result: yes" >&5
15798 echo "${ECHO_T}yes" >&6
15799 else
15800 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15801 echo "${ECHO_T}no, using $LN_S" >&6
15802 fi
15803
15804
15805
15806
15807 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15808 CXXFLAGS="-qunique $CXXFLAGS"
15809 fi
15810
15811 case "${host}" in
15812 powerpc-*-darwin* )
15813 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15814 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15815 cat >conftest.$ac_ext <<_ACEOF
15816 /* confdefs.h. */
15817 _ACEOF
15818 cat confdefs.h >>conftest.$ac_ext
15819 cat >>conftest.$ac_ext <<_ACEOF
15820 /* end confdefs.h. */
15821
15822 int
15823 main ()
15824 {
15825 #ifndef __POWERPC__
15826 choke me for lack of PowerPC
15827 #endif
15828
15829 ;
15830 return 0;
15831 }
15832 _ACEOF
15833 rm -f conftest.$ac_objext
15834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15835 (eval $ac_compile) 2>conftest.er1
15836 ac_status=$?
15837 grep -v '^ *+' conftest.er1 >conftest.err
15838 rm -f conftest.er1
15839 cat conftest.err >&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); } &&
15842 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15845 ac_status=$?
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; } &&
15848 { ac_try='test -s conftest.$ac_objext'
15849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15850 (eval $ac_try) 2>&5
15851 ac_status=$?
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); }; }; then
15854 echo "$as_me:$LINENO: result: yes" >&5
15855 echo "${ECHO_T}yes" >&6
15856 else
15857 echo "$as_me: failed program was:" >&5
15858 sed 's/^/| /' conftest.$ac_ext >&5
15859
15860 echo "$as_me:$LINENO: result: no" >&5
15861 echo "${ECHO_T}no" >&6
15862 cat >>confdefs.h <<\_ACEOF
15863 #define __POWERPC__ 1
15864 _ACEOF
15865
15866
15867 fi
15868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15869 ;;
15870 esac
15871
15872 case "${host}" in
15873 *-*-darwin* )
15874 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15875 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15876 cat >conftest.$ac_ext <<_ACEOF
15877 /* confdefs.h. */
15878 _ACEOF
15879 cat confdefs.h >>conftest.$ac_ext
15880 cat >>conftest.$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15882 #include <CoreFoundation/CFBase.h>
15883
15884 int
15885 main ()
15886 {
15887
15888 ;
15889 return 0;
15890 }
15891 _ACEOF
15892 rm -f conftest.$ac_objext
15893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15894 (eval $ac_compile) 2>conftest.er1
15895 ac_status=$?
15896 grep -v '^ *+' conftest.er1 >conftest.err
15897 rm -f conftest.er1
15898 cat conftest.err >&5
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); } &&
15901 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15903 (eval $ac_try) 2>&5
15904 ac_status=$?
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); }; } &&
15907 { ac_try='test -s conftest.$ac_objext'
15908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15909 (eval $ac_try) 2>&5
15910 ac_status=$?
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); }; }; then
15913 echo "$as_me:$LINENO: result: yes" >&5
15914 echo "${ECHO_T}yes" >&6
15915 else
15916 echo "$as_me: failed program was:" >&5
15917 sed 's/^/| /' conftest.$ac_ext >&5
15918
15919 echo "$as_me:$LINENO: result: no" >&5
15920 echo "${ECHO_T}no" >&6
15921 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15922 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15923 cat >conftest.$ac_ext <<_ACEOF
15924 /* confdefs.h. */
15925 _ACEOF
15926 cat confdefs.h >>conftest.$ac_ext
15927 cat >>conftest.$ac_ext <<_ACEOF
15928 /* end confdefs.h. */
15929 #define __CF_USE_FRAMEWORK_INCLUDES__
15930 #include <CoreFoundation/CFBase.h>
15931
15932 int
15933 main ()
15934 {
15935
15936 ;
15937 return 0;
15938 }
15939 _ACEOF
15940 rm -f conftest.$ac_objext
15941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15942 (eval $ac_compile) 2>conftest.er1
15943 ac_status=$?
15944 grep -v '^ *+' conftest.er1 >conftest.err
15945 rm -f conftest.er1
15946 cat conftest.err >&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); } &&
15949 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
15955 { ac_try='test -s conftest.$ac_objext'
15956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15957 (eval $ac_try) 2>&5
15958 ac_status=$?
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); }; }; then
15961 echo "$as_me:$LINENO: result: yes" >&5
15962 echo "${ECHO_T}yes" >&6
15963 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15964 else
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.$ac_ext >&5
15967
15968 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15969 See \`config.log' for more details." >&5
15970 echo "$as_me: error: no. CoreFoundation not available.
15971 See \`config.log' for more details." >&2;}
15972 { (exit 1); exit 1; }; }
15973
15974 fi
15975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15976
15977
15978 fi
15979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15980 ;;
15981 esac
15982
15983 case "${host}" in
15984 *-pc-os2_emx | *-pc-os2-emx )
15985 ac_ext=c
15986 ac_cpp='$CPP $CPPFLAGS'
15987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15990
15991 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15992 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15993 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15994 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15995 echo $ECHO_N "(cached) $ECHO_C" >&6
15996 else
15997 ac_check_lib_save_LIBS=$LIBS
15998 LIBS="-lcExt $LIBS"
15999 cat >conftest.$ac_ext <<_ACEOF
16000 /* confdefs.h. */
16001 _ACEOF
16002 cat confdefs.h >>conftest.$ac_ext
16003 cat >>conftest.$ac_ext <<_ACEOF
16004 /* end confdefs.h. */
16005
16006 /* Override any gcc2 internal prototype to avoid an error. */
16007 #ifdef __cplusplus
16008 extern "C"
16009 #endif
16010 /* We use char because int might match the return type of a gcc2
16011 builtin and then its argument prototype would still apply. */
16012 char drand48 ();
16013 int
16014 main ()
16015 {
16016 drand48 ();
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_c_werror_flag" || test ! -s conftest.err'
16031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16032 (eval $ac_try) 2>&5
16033 ac_status=$?
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); }; } &&
16036 { ac_try='test -s conftest$ac_exeext'
16037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16038 (eval $ac_try) 2>&5
16039 ac_status=$?
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); }; }; then
16042 ac_cv_lib_cExt_drand48=yes
16043 else
16044 echo "$as_me: failed program was:" >&5
16045 sed 's/^/| /' conftest.$ac_ext >&5
16046
16047 ac_cv_lib_cExt_drand48=no
16048 fi
16049 rm -f conftest.err conftest.$ac_objext \
16050 conftest$ac_exeext conftest.$ac_ext
16051 LIBS=$ac_check_lib_save_LIBS
16052 fi
16053 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16054 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16055 if test $ac_cv_lib_cExt_drand48 = yes; then
16056 LIBS="$LIBS -lcExt"
16057 fi
16058
16059 else
16060 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16061 fi
16062 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16063 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16064 if test "${wx_cv_gccversion+set}" = set; then
16065 echo $ECHO_N "(cached) $ECHO_C" >&6
16066 else
16067
16068 if test "$cross_compiling" = yes; then
16069 wx_cv_gccversion="EMX2"
16070
16071 else
16072 cat >conftest.$ac_ext <<_ACEOF
16073 /* confdefs.h. */
16074 _ACEOF
16075 cat confdefs.h >>conftest.$ac_ext
16076 cat >>conftest.$ac_ext <<_ACEOF
16077 /* end confdefs.h. */
16078
16079 #include <stdio.h>
16080
16081 int main()
16082 {
16083 FILE *f=fopen("conftestval", "w");
16084 if (!f) exit(1);
16085 fprintf(f,
16086 #if (__GNUC__ < 3)
16087 "EMX2"
16088 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16089 "EMX3"
16090 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16091 "Innotek5"
16092 #else
16093 "Innotek6"
16094 #endif
16095 );
16096 exit(0);
16097 }
16098
16099 _ACEOF
16100 rm -f conftest$ac_exeext
16101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16102 (eval $ac_link) 2>&5
16103 ac_status=$?
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); } && { ac_try='./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 wx_cv_gccversion=`cat conftestval`
16112 else
16113 echo "$as_me: program exited with status $ac_status" >&5
16114 echo "$as_me: failed program was:" >&5
16115 sed 's/^/| /' conftest.$ac_ext >&5
16116
16117 ( exit $ac_status )
16118 wx_cv_gccversion="EMX2"
16119 fi
16120 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16121 fi
16122
16123 fi
16124 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16125 echo "${ECHO_T}$wx_cv_gccversion" >&6
16126 ac_ext=cc
16127 ac_cpp='$CXXCPP $CPPFLAGS'
16128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16131
16132 if test "$wx_cv_gccversion" = "EMX2"; then
16133 LIBS="$LIBS -lstdcpp"
16134 LDFLAGS="$LDFLAGS -Zsysv-signals"
16135 else
16136 if test "$wx_cv_gccversion" = "EMX3"; then
16137 LIBS="$LIBS -lstdcxx -lgcc"
16138 LDFLAGS="$LDFLAGS -Zsysv-signals"
16139 else
16140 LIBS="$LIBS -lstdc++"
16141 fi
16142 fi
16143 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16144 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16145 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16146 wxUSE_OMF=yes
16147 enable_omf=yes
16148 fi
16149 ;;
16150 *)
16151
16152 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16153 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16154 if test "${ac_cv_string_strcasecmp+set}" = set; then
16155 echo $ECHO_N "(cached) $ECHO_C" >&6
16156 else
16157
16158 cat >conftest.$ac_ext <<_ACEOF
16159 /* confdefs.h. */
16160 _ACEOF
16161 cat confdefs.h >>conftest.$ac_ext
16162 cat >>conftest.$ac_ext <<_ACEOF
16163 /* end confdefs.h. */
16164
16165 #include <string.h>
16166
16167 int
16168 main ()
16169 {
16170
16171 strcasecmp("foo", "bar");
16172
16173 ;
16174 return 0;
16175 }
16176 _ACEOF
16177 rm -f conftest.$ac_objext conftest$ac_exeext
16178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16179 (eval $ac_link) 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); } &&
16186 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16188 (eval $ac_try) 2>&5
16189 ac_status=$?
16190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191 (exit $ac_status); }; } &&
16192 { ac_try='test -s conftest$ac_exeext'
16193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16194 (eval $ac_try) 2>&5
16195 ac_status=$?
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); }; }; then
16198 ac_cv_string_strcasecmp=yes
16199 else
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.$ac_ext >&5
16202
16203 ac_cv_string_strcasecmp=no
16204
16205 fi
16206 rm -f conftest.err conftest.$ac_objext \
16207 conftest$ac_exeext conftest.$ac_ext
16208
16209 fi
16210 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16211 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16212
16213 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16214 cat >>confdefs.h <<\_ACEOF
16215 #define HAVE_STRCASECMP_IN_STRING_H 1
16216 _ACEOF
16217
16218 else
16219 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16220 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16221 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16222 echo $ECHO_N "(cached) $ECHO_C" >&6
16223 else
16224
16225 cat >conftest.$ac_ext <<_ACEOF
16226 /* confdefs.h. */
16227 _ACEOF
16228 cat confdefs.h >>conftest.$ac_ext
16229 cat >>conftest.$ac_ext <<_ACEOF
16230 /* end confdefs.h. */
16231
16232 #include <strings.h>
16233
16234 int
16235 main ()
16236 {
16237
16238 strcasecmp("foo", "bar");
16239
16240 ;
16241 return 0;
16242 }
16243 _ACEOF
16244 rm -f conftest.$ac_objext conftest$ac_exeext
16245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16246 (eval $ac_link) 2>conftest.er1
16247 ac_status=$?
16248 grep -v '^ *+' conftest.er1 >conftest.err
16249 rm -f conftest.er1
16250 cat conftest.err >&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } &&
16253 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 (eval $ac_try) 2>&5
16256 ac_status=$?
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); }; } &&
16259 { ac_try='test -s conftest$ac_exeext'
16260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16261 (eval $ac_try) 2>&5
16262 ac_status=$?
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); }; }; then
16265 ac_cv_strings_strcasecmp=yes
16266 else
16267 echo "$as_me: failed program was:" >&5
16268 sed 's/^/| /' conftest.$ac_ext >&5
16269
16270 ac_cv_strings_strcasecmp=no
16271
16272 fi
16273 rm -f conftest.err conftest.$ac_objext \
16274 conftest$ac_exeext conftest.$ac_ext
16275
16276 fi
16277 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16278 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16279
16280 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16281 cat >>confdefs.h <<\_ACEOF
16282 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16283 _ACEOF
16284
16285 else
16286 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16287 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16288 { (exit 1); exit 1; }; }
16289 fi
16290 fi
16291
16292 ;;
16293 esac
16294
16295
16296 ac_ext=cc
16297 ac_cpp='$CXXCPP $CPPFLAGS'
16298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16301 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16302 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16303 if test -z "$CXXCPP"; then
16304 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16305 echo $ECHO_N "(cached) $ECHO_C" >&6
16306 else
16307 # Double quotes because CXXCPP needs to be expanded
16308 for CXXCPP in "$CXX -E" "/lib/cpp"
16309 do
16310 ac_preproc_ok=false
16311 for ac_cxx_preproc_warn_flag in '' yes
16312 do
16313 # Use a header file that comes with gcc, so configuring glibc
16314 # with a fresh cross-compiler works.
16315 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16316 # <limits.h> exists even on freestanding compilers.
16317 # On the NeXT, cc -E runs the code through the compiler's parser,
16318 # not just through cpp. "Syntax error" is here to catch this case.
16319 cat >conftest.$ac_ext <<_ACEOF
16320 /* confdefs.h. */
16321 _ACEOF
16322 cat confdefs.h >>conftest.$ac_ext
16323 cat >>conftest.$ac_ext <<_ACEOF
16324 /* end confdefs.h. */
16325 #ifdef __STDC__
16326 # include <limits.h>
16327 #else
16328 # include <assert.h>
16329 #endif
16330 Syntax error
16331 _ACEOF
16332 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16333 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16334 ac_status=$?
16335 grep -v '^ *+' conftest.er1 >conftest.err
16336 rm -f conftest.er1
16337 cat conftest.err >&5
16338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339 (exit $ac_status); } >/dev/null; then
16340 if test -s conftest.err; then
16341 ac_cpp_err=$ac_cxx_preproc_warn_flag
16342 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16343 else
16344 ac_cpp_err=
16345 fi
16346 else
16347 ac_cpp_err=yes
16348 fi
16349 if test -z "$ac_cpp_err"; then
16350 :
16351 else
16352 echo "$as_me: failed program was:" >&5
16353 sed 's/^/| /' conftest.$ac_ext >&5
16354
16355 # Broken: fails on valid input.
16356 continue
16357 fi
16358 rm -f conftest.err conftest.$ac_ext
16359
16360 # OK, works on sane cases. Now check whether non-existent headers
16361 # can be detected and how.
16362 cat >conftest.$ac_ext <<_ACEOF
16363 /* confdefs.h. */
16364 _ACEOF
16365 cat confdefs.h >>conftest.$ac_ext
16366 cat >>conftest.$ac_ext <<_ACEOF
16367 /* end confdefs.h. */
16368 #include <ac_nonexistent.h>
16369 _ACEOF
16370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16371 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16372 ac_status=$?
16373 grep -v '^ *+' conftest.er1 >conftest.err
16374 rm -f conftest.er1
16375 cat conftest.err >&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); } >/dev/null; then
16378 if test -s conftest.err; then
16379 ac_cpp_err=$ac_cxx_preproc_warn_flag
16380 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16381 else
16382 ac_cpp_err=
16383 fi
16384 else
16385 ac_cpp_err=yes
16386 fi
16387 if test -z "$ac_cpp_err"; then
16388 # Broken: success on invalid input.
16389 continue
16390 else
16391 echo "$as_me: failed program was:" >&5
16392 sed 's/^/| /' conftest.$ac_ext >&5
16393
16394 # Passes both tests.
16395 ac_preproc_ok=:
16396 break
16397 fi
16398 rm -f conftest.err conftest.$ac_ext
16399
16400 done
16401 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16402 rm -f conftest.err conftest.$ac_ext
16403 if $ac_preproc_ok; then
16404 break
16405 fi
16406
16407 done
16408 ac_cv_prog_CXXCPP=$CXXCPP
16409
16410 fi
16411 CXXCPP=$ac_cv_prog_CXXCPP
16412 else
16413 ac_cv_prog_CXXCPP=$CXXCPP
16414 fi
16415 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16416 echo "${ECHO_T}$CXXCPP" >&6
16417 ac_preproc_ok=false
16418 for ac_cxx_preproc_warn_flag in '' yes
16419 do
16420 # Use a header file that comes with gcc, so configuring glibc
16421 # with a fresh cross-compiler works.
16422 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16423 # <limits.h> exists even on freestanding compilers.
16424 # On the NeXT, cc -E runs the code through the compiler's parser,
16425 # not just through cpp. "Syntax error" is here to catch this case.
16426 cat >conftest.$ac_ext <<_ACEOF
16427 /* confdefs.h. */
16428 _ACEOF
16429 cat confdefs.h >>conftest.$ac_ext
16430 cat >>conftest.$ac_ext <<_ACEOF
16431 /* end confdefs.h. */
16432 #ifdef __STDC__
16433 # include <limits.h>
16434 #else
16435 # include <assert.h>
16436 #endif
16437 Syntax error
16438 _ACEOF
16439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16440 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16441 ac_status=$?
16442 grep -v '^ *+' conftest.er1 >conftest.err
16443 rm -f conftest.er1
16444 cat conftest.err >&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); } >/dev/null; then
16447 if test -s conftest.err; then
16448 ac_cpp_err=$ac_cxx_preproc_warn_flag
16449 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16450 else
16451 ac_cpp_err=
16452 fi
16453 else
16454 ac_cpp_err=yes
16455 fi
16456 if test -z "$ac_cpp_err"; then
16457 :
16458 else
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.$ac_ext >&5
16461
16462 # Broken: fails on valid input.
16463 continue
16464 fi
16465 rm -f conftest.err conftest.$ac_ext
16466
16467 # OK, works on sane cases. Now check whether non-existent headers
16468 # can be detected and how.
16469 cat >conftest.$ac_ext <<_ACEOF
16470 /* confdefs.h. */
16471 _ACEOF
16472 cat confdefs.h >>conftest.$ac_ext
16473 cat >>conftest.$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16475 #include <ac_nonexistent.h>
16476 _ACEOF
16477 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16478 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16479 ac_status=$?
16480 grep -v '^ *+' conftest.er1 >conftest.err
16481 rm -f conftest.er1
16482 cat conftest.err >&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); } >/dev/null; then
16485 if test -s conftest.err; then
16486 ac_cpp_err=$ac_cxx_preproc_warn_flag
16487 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16488 else
16489 ac_cpp_err=
16490 fi
16491 else
16492 ac_cpp_err=yes
16493 fi
16494 if test -z "$ac_cpp_err"; then
16495 # Broken: success on invalid input.
16496 continue
16497 else
16498 echo "$as_me: failed program was:" >&5
16499 sed 's/^/| /' conftest.$ac_ext >&5
16500
16501 # Passes both tests.
16502 ac_preproc_ok=:
16503 break
16504 fi
16505 rm -f conftest.err conftest.$ac_ext
16506
16507 done
16508 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16509 rm -f conftest.err conftest.$ac_ext
16510 if $ac_preproc_ok; then
16511 :
16512 else
16513 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16514 See \`config.log' for more details." >&5
16515 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16516 See \`config.log' for more details." >&2;}
16517 { (exit 1); exit 1; }; }
16518 fi
16519
16520 ac_ext=cc
16521 ac_cpp='$CXXCPP $CPPFLAGS'
16522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16525
16526
16527 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16528 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16529 if test "${ac_cv_header_stdc+set}" = set; then
16530 echo $ECHO_N "(cached) $ECHO_C" >&6
16531 else
16532 cat >conftest.$ac_ext <<_ACEOF
16533 /* confdefs.h. */
16534 _ACEOF
16535 cat confdefs.h >>conftest.$ac_ext
16536 cat >>conftest.$ac_ext <<_ACEOF
16537 /* end confdefs.h. */
16538 #include <stdlib.h>
16539 #include <stdarg.h>
16540 #include <string.h>
16541 #include <float.h>
16542
16543 int
16544 main ()
16545 {
16546
16547 ;
16548 return 0;
16549 }
16550 _ACEOF
16551 rm -f conftest.$ac_objext
16552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16553 (eval $ac_compile) 2>conftest.er1
16554 ac_status=$?
16555 grep -v '^ *+' conftest.er1 >conftest.err
16556 rm -f conftest.er1
16557 cat conftest.err >&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); } &&
16560 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16562 (eval $ac_try) 2>&5
16563 ac_status=$?
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); }; } &&
16566 { ac_try='test -s conftest.$ac_objext'
16567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16568 (eval $ac_try) 2>&5
16569 ac_status=$?
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); }; }; then
16572 ac_cv_header_stdc=yes
16573 else
16574 echo "$as_me: failed program was:" >&5
16575 sed 's/^/| /' conftest.$ac_ext >&5
16576
16577 ac_cv_header_stdc=no
16578 fi
16579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16580
16581 if test $ac_cv_header_stdc = yes; then
16582 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16583 cat >conftest.$ac_ext <<_ACEOF
16584 /* confdefs.h. */
16585 _ACEOF
16586 cat confdefs.h >>conftest.$ac_ext
16587 cat >>conftest.$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16589 #include <string.h>
16590
16591 _ACEOF
16592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16593 $EGREP "memchr" >/dev/null 2>&1; then
16594 :
16595 else
16596 ac_cv_header_stdc=no
16597 fi
16598 rm -f conftest*
16599
16600 fi
16601
16602 if test $ac_cv_header_stdc = yes; then
16603 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16604 cat >conftest.$ac_ext <<_ACEOF
16605 /* confdefs.h. */
16606 _ACEOF
16607 cat confdefs.h >>conftest.$ac_ext
16608 cat >>conftest.$ac_ext <<_ACEOF
16609 /* end confdefs.h. */
16610 #include <stdlib.h>
16611
16612 _ACEOF
16613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16614 $EGREP "free" >/dev/null 2>&1; then
16615 :
16616 else
16617 ac_cv_header_stdc=no
16618 fi
16619 rm -f conftest*
16620
16621 fi
16622
16623 if test $ac_cv_header_stdc = yes; then
16624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16625 if test "$cross_compiling" = yes; then
16626 :
16627 else
16628 cat >conftest.$ac_ext <<_ACEOF
16629 /* confdefs.h. */
16630 _ACEOF
16631 cat confdefs.h >>conftest.$ac_ext
16632 cat >>conftest.$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16634 #include <ctype.h>
16635 #if ((' ' & 0x0FF) == 0x020)
16636 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16637 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16638 #else
16639 # define ISLOWER(c) \
16640 (('a' <= (c) && (c) <= 'i') \
16641 || ('j' <= (c) && (c) <= 'r') \
16642 || ('s' <= (c) && (c) <= 'z'))
16643 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16644 #endif
16645
16646 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16647 int
16648 main ()
16649 {
16650 int i;
16651 for (i = 0; i < 256; i++)
16652 if (XOR (islower (i), ISLOWER (i))
16653 || toupper (i) != TOUPPER (i))
16654 exit(2);
16655 exit (0);
16656 }
16657 _ACEOF
16658 rm -f conftest$ac_exeext
16659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16660 (eval $ac_link) 2>&5
16661 ac_status=$?
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16665 (eval $ac_try) 2>&5
16666 ac_status=$?
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); }; }; then
16669 :
16670 else
16671 echo "$as_me: program exited with status $ac_status" >&5
16672 echo "$as_me: failed program was:" >&5
16673 sed 's/^/| /' conftest.$ac_ext >&5
16674
16675 ( exit $ac_status )
16676 ac_cv_header_stdc=no
16677 fi
16678 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16679 fi
16680 fi
16681 fi
16682 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16683 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16684 if test $ac_cv_header_stdc = yes; then
16685
16686 cat >>confdefs.h <<\_ACEOF
16687 #define STDC_HEADERS 1
16688 _ACEOF
16689
16690 fi
16691
16692 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16703 inttypes.h stdint.h unistd.h
16704 do
16705 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16706 echo "$as_me:$LINENO: checking for $ac_header" >&5
16707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16709 echo $ECHO_N "(cached) $ECHO_C" >&6
16710 else
16711 cat >conftest.$ac_ext <<_ACEOF
16712 /* confdefs.h. */
16713 _ACEOF
16714 cat confdefs.h >>conftest.$ac_ext
16715 cat >>conftest.$ac_ext <<_ACEOF
16716 /* end confdefs.h. */
16717 $ac_includes_default
16718
16719 #include <$ac_header>
16720 _ACEOF
16721 rm -f conftest.$ac_objext
16722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16723 (eval $ac_compile) 2>conftest.er1
16724 ac_status=$?
16725 grep -v '^ *+' conftest.er1 >conftest.err
16726 rm -f conftest.er1
16727 cat conftest.err >&5
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); } &&
16730 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16732 (eval $ac_try) 2>&5
16733 ac_status=$?
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); }; } &&
16736 { ac_try='test -s conftest.$ac_objext'
16737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16738 (eval $ac_try) 2>&5
16739 ac_status=$?
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); }; }; then
16742 eval "$as_ac_Header=yes"
16743 else
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.$ac_ext >&5
16746
16747 eval "$as_ac_Header=no"
16748 fi
16749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16750 fi
16751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16754 cat >>confdefs.h <<_ACEOF
16755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16756 _ACEOF
16757
16758 fi
16759
16760 done
16761
16762
16763
16764 for ac_header in stdlib.h
16765 do
16766 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16768 echo "$as_me:$LINENO: checking for $ac_header" >&5
16769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16771 echo $ECHO_N "(cached) $ECHO_C" >&6
16772 fi
16773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16775 else
16776 # Is the header compilable?
16777 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16778 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16779 cat >conftest.$ac_ext <<_ACEOF
16780 /* confdefs.h. */
16781 _ACEOF
16782 cat confdefs.h >>conftest.$ac_ext
16783 cat >>conftest.$ac_ext <<_ACEOF
16784 /* end confdefs.h. */
16785 $ac_includes_default
16786 #include <$ac_header>
16787 _ACEOF
16788 rm -f conftest.$ac_objext
16789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16790 (eval $ac_compile) 2>conftest.er1
16791 ac_status=$?
16792 grep -v '^ *+' conftest.er1 >conftest.err
16793 rm -f conftest.er1
16794 cat conftest.err >&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); } &&
16797 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16799 (eval $ac_try) 2>&5
16800 ac_status=$?
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); }; } &&
16803 { ac_try='test -s conftest.$ac_objext'
16804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16805 (eval $ac_try) 2>&5
16806 ac_status=$?
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); }; }; then
16809 ac_header_compiler=yes
16810 else
16811 echo "$as_me: failed program was:" >&5
16812 sed 's/^/| /' conftest.$ac_ext >&5
16813
16814 ac_header_compiler=no
16815 fi
16816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16818 echo "${ECHO_T}$ac_header_compiler" >&6
16819
16820 # Is the header present?
16821 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16822 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16823 cat >conftest.$ac_ext <<_ACEOF
16824 /* confdefs.h. */
16825 _ACEOF
16826 cat confdefs.h >>conftest.$ac_ext
16827 cat >>conftest.$ac_ext <<_ACEOF
16828 /* end confdefs.h. */
16829 #include <$ac_header>
16830 _ACEOF
16831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16833 ac_status=$?
16834 grep -v '^ *+' conftest.er1 >conftest.err
16835 rm -f conftest.er1
16836 cat conftest.err >&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); } >/dev/null; then
16839 if test -s conftest.err; then
16840 ac_cpp_err=$ac_cxx_preproc_warn_flag
16841 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16842 else
16843 ac_cpp_err=
16844 fi
16845 else
16846 ac_cpp_err=yes
16847 fi
16848 if test -z "$ac_cpp_err"; then
16849 ac_header_preproc=yes
16850 else
16851 echo "$as_me: failed program was:" >&5
16852 sed 's/^/| /' conftest.$ac_ext >&5
16853
16854 ac_header_preproc=no
16855 fi
16856 rm -f conftest.err conftest.$ac_ext
16857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16858 echo "${ECHO_T}$ac_header_preproc" >&6
16859
16860 # So? What about this header?
16861 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16862 yes:no: )
16863 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16866 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16867 ac_header_preproc=yes
16868 ;;
16869 no:yes:* )
16870 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16871 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16872 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16873 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16874 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16875 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16876 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16877 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16880 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16881 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16882 (
16883 cat <<\_ASBOX
16884 ## ----------------------------------------- ##
16885 ## Report this to wx-dev@lists.wxwidgets.org ##
16886 ## ----------------------------------------- ##
16887 _ASBOX
16888 ) |
16889 sed "s/^/$as_me: WARNING: /" >&2
16890 ;;
16891 esac
16892 echo "$as_me:$LINENO: checking for $ac_header" >&5
16893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16895 echo $ECHO_N "(cached) $ECHO_C" >&6
16896 else
16897 eval "$as_ac_Header=\$ac_header_preproc"
16898 fi
16899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16901
16902 fi
16903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16904 cat >>confdefs.h <<_ACEOF
16905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16906 _ACEOF
16907
16908 fi
16909
16910 done
16911
16912
16913 for ac_header in malloc.h
16914 do
16915 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16917 echo "$as_me:$LINENO: checking for $ac_header" >&5
16918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16920 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 fi
16922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16924 else
16925 # Is the header compilable?
16926 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16927 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16928 cat >conftest.$ac_ext <<_ACEOF
16929 /* confdefs.h. */
16930 _ACEOF
16931 cat confdefs.h >>conftest.$ac_ext
16932 cat >>conftest.$ac_ext <<_ACEOF
16933 /* end confdefs.h. */
16934 $ac_includes_default
16935 #include <$ac_header>
16936 _ACEOF
16937 rm -f conftest.$ac_objext
16938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16939 (eval $ac_compile) 2>conftest.er1
16940 ac_status=$?
16941 grep -v '^ *+' conftest.er1 >conftest.err
16942 rm -f conftest.er1
16943 cat conftest.err >&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } &&
16946 { ac_try='test -z "$ac_cxx_werror_flag" || 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 unistd.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" || test ! -s conftest.err'
17096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17097 (eval $ac_try) 2>&5
17098 ac_status=$?
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; } &&
17101 { ac_try='test -s conftest.$ac_objext'
17102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17103 (eval $ac_try) 2>&5
17104 ac_status=$?
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); }; }; then
17107 ac_header_compiler=yes
17108 else
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.$ac_ext >&5
17111
17112 ac_header_compiler=no
17113 fi
17114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17116 echo "${ECHO_T}$ac_header_compiler" >&6
17117
17118 # Is the header present?
17119 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17120 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17121 cat >conftest.$ac_ext <<_ACEOF
17122 /* confdefs.h. */
17123 _ACEOF
17124 cat confdefs.h >>conftest.$ac_ext
17125 cat >>conftest.$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17127 #include <$ac_header>
17128 _ACEOF
17129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17130 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17131 ac_status=$?
17132 grep -v '^ *+' conftest.er1 >conftest.err
17133 rm -f conftest.er1
17134 cat conftest.err >&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } >/dev/null; then
17137 if test -s conftest.err; then
17138 ac_cpp_err=$ac_cxx_preproc_warn_flag
17139 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17140 else
17141 ac_cpp_err=
17142 fi
17143 else
17144 ac_cpp_err=yes
17145 fi
17146 if test -z "$ac_cpp_err"; then
17147 ac_header_preproc=yes
17148 else
17149 echo "$as_me: failed program was:" >&5
17150 sed 's/^/| /' conftest.$ac_ext >&5
17151
17152 ac_header_preproc=no
17153 fi
17154 rm -f conftest.err conftest.$ac_ext
17155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17156 echo "${ECHO_T}$ac_header_preproc" >&6
17157
17158 # So? What about this header?
17159 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17160 yes:no: )
17161 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17162 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17164 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17165 ac_header_preproc=yes
17166 ;;
17167 no:yes:* )
17168 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17169 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17170 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17171 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17172 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17173 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17174 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17175 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17177 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17178 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17179 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17180 (
17181 cat <<\_ASBOX
17182 ## ----------------------------------------- ##
17183 ## Report this to wx-dev@lists.wxwidgets.org ##
17184 ## ----------------------------------------- ##
17185 _ASBOX
17186 ) |
17187 sed "s/^/$as_me: WARNING: /" >&2
17188 ;;
17189 esac
17190 echo "$as_me:$LINENO: checking for $ac_header" >&5
17191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17193 echo $ECHO_N "(cached) $ECHO_C" >&6
17194 else
17195 eval "$as_ac_Header=\$ac_header_preproc"
17196 fi
17197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17199
17200 fi
17201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17202 cat >>confdefs.h <<_ACEOF
17203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17204 _ACEOF
17205
17206 fi
17207
17208 done
17209
17210
17211 for ac_header in wchar.h
17212 do
17213 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17215 echo "$as_me:$LINENO: checking for $ac_header" >&5
17216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17218 echo $ECHO_N "(cached) $ECHO_C" >&6
17219 fi
17220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17222 else
17223 # Is the header compilable?
17224 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17225 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17226 cat >conftest.$ac_ext <<_ACEOF
17227 /* confdefs.h. */
17228 _ACEOF
17229 cat confdefs.h >>conftest.$ac_ext
17230 cat >>conftest.$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 $ac_includes_default
17233 #include <$ac_header>
17234 _ACEOF
17235 rm -f conftest.$ac_objext
17236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17237 (eval $ac_compile) 2>conftest.er1
17238 ac_status=$?
17239 grep -v '^ *+' conftest.er1 >conftest.err
17240 rm -f conftest.er1
17241 cat conftest.err >&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); } &&
17244 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17246 (eval $ac_try) 2>&5
17247 ac_status=$?
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); }; } &&
17250 { ac_try='test -s conftest.$ac_objext'
17251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17252 (eval $ac_try) 2>&5
17253 ac_status=$?
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); }; }; then
17256 ac_header_compiler=yes
17257 else
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.$ac_ext >&5
17260
17261 ac_header_compiler=no
17262 fi
17263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17264 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17265 echo "${ECHO_T}$ac_header_compiler" >&6
17266
17267 # Is the header present?
17268 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17269 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17270 cat >conftest.$ac_ext <<_ACEOF
17271 /* confdefs.h. */
17272 _ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276 #include <$ac_header>
17277 _ACEOF
17278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17279 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17280 ac_status=$?
17281 grep -v '^ *+' conftest.er1 >conftest.err
17282 rm -f conftest.er1
17283 cat conftest.err >&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); } >/dev/null; then
17286 if test -s conftest.err; then
17287 ac_cpp_err=$ac_cxx_preproc_warn_flag
17288 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17289 else
17290 ac_cpp_err=
17291 fi
17292 else
17293 ac_cpp_err=yes
17294 fi
17295 if test -z "$ac_cpp_err"; then
17296 ac_header_preproc=yes
17297 else
17298 echo "$as_me: failed program was:" >&5
17299 sed 's/^/| /' conftest.$ac_ext >&5
17300
17301 ac_header_preproc=no
17302 fi
17303 rm -f conftest.err conftest.$ac_ext
17304 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17305 echo "${ECHO_T}$ac_header_preproc" >&6
17306
17307 # So? What about this header?
17308 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17309 yes:no: )
17310 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17311 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17313 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17314 ac_header_preproc=yes
17315 ;;
17316 no:yes:* )
17317 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17318 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17319 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17320 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17321 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17322 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17323 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17324 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17325 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17326 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17327 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17328 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17329 (
17330 cat <<\_ASBOX
17331 ## ----------------------------------------- ##
17332 ## Report this to wx-dev@lists.wxwidgets.org ##
17333 ## ----------------------------------------- ##
17334 _ASBOX
17335 ) |
17336 sed "s/^/$as_me: WARNING: /" >&2
17337 ;;
17338 esac
17339 echo "$as_me:$LINENO: checking for $ac_header" >&5
17340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17342 echo $ECHO_N "(cached) $ECHO_C" >&6
17343 else
17344 eval "$as_ac_Header=\$ac_header_preproc"
17345 fi
17346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17348
17349 fi
17350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17351 cat >>confdefs.h <<_ACEOF
17352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17353 _ACEOF
17354
17355 fi
17356
17357 done
17358
17359
17360 if test "$ac_cv_header_wchar_h" != "yes"; then
17361
17362 for ac_header in wcstr.h
17363 do
17364 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17366 echo "$as_me:$LINENO: checking for $ac_header" >&5
17367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17369 echo $ECHO_N "(cached) $ECHO_C" >&6
17370 fi
17371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17373 else
17374 # Is the header compilable?
17375 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17376 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17377 cat >conftest.$ac_ext <<_ACEOF
17378 /* confdefs.h. */
17379 _ACEOF
17380 cat confdefs.h >>conftest.$ac_ext
17381 cat >>conftest.$ac_ext <<_ACEOF
17382 /* end confdefs.h. */
17383 $ac_includes_default
17384 #include <$ac_header>
17385 _ACEOF
17386 rm -f conftest.$ac_objext
17387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17388 (eval $ac_compile) 2>conftest.er1
17389 ac_status=$?
17390 grep -v '^ *+' conftest.er1 >conftest.err
17391 rm -f conftest.er1
17392 cat conftest.err >&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); } &&
17395 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17398 ac_status=$?
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; } &&
17401 { ac_try='test -s conftest.$ac_objext'
17402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403 (eval $ac_try) 2>&5
17404 ac_status=$?
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); }; }; then
17407 ac_header_compiler=yes
17408 else
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.$ac_ext >&5
17411
17412 ac_header_compiler=no
17413 fi
17414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17415 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17416 echo "${ECHO_T}$ac_header_compiler" >&6
17417
17418 # Is the header present?
17419 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17420 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17421 cat >conftest.$ac_ext <<_ACEOF
17422 /* confdefs.h. */
17423 _ACEOF
17424 cat confdefs.h >>conftest.$ac_ext
17425 cat >>conftest.$ac_ext <<_ACEOF
17426 /* end confdefs.h. */
17427 #include <$ac_header>
17428 _ACEOF
17429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17430 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17431 ac_status=$?
17432 grep -v '^ *+' conftest.er1 >conftest.err
17433 rm -f conftest.er1
17434 cat conftest.err >&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); } >/dev/null; then
17437 if test -s conftest.err; then
17438 ac_cpp_err=$ac_cxx_preproc_warn_flag
17439 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17440 else
17441 ac_cpp_err=
17442 fi
17443 else
17444 ac_cpp_err=yes
17445 fi
17446 if test -z "$ac_cpp_err"; then
17447 ac_header_preproc=yes
17448 else
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.$ac_ext >&5
17451
17452 ac_header_preproc=no
17453 fi
17454 rm -f conftest.err conftest.$ac_ext
17455 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17456 echo "${ECHO_T}$ac_header_preproc" >&6
17457
17458 # So? What about this header?
17459 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17460 yes:no: )
17461 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17462 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17464 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17465 ac_header_preproc=yes
17466 ;;
17467 no:yes:* )
17468 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17469 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17470 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17471 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17472 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17473 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17474 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17475 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17478 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17479 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17480 (
17481 cat <<\_ASBOX
17482 ## ----------------------------------------- ##
17483 ## Report this to wx-dev@lists.wxwidgets.org ##
17484 ## ----------------------------------------- ##
17485 _ASBOX
17486 ) |
17487 sed "s/^/$as_me: WARNING: /" >&2
17488 ;;
17489 esac
17490 echo "$as_me:$LINENO: checking for $ac_header" >&5
17491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17493 echo $ECHO_N "(cached) $ECHO_C" >&6
17494 else
17495 eval "$as_ac_Header=\$ac_header_preproc"
17496 fi
17497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17499
17500 fi
17501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17502 cat >>confdefs.h <<_ACEOF
17503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17504 _ACEOF
17505
17506 fi
17507
17508 done
17509
17510 fi
17511
17512
17513 for ac_header in fnmatch.h
17514 do
17515 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17517 echo "$as_me:$LINENO: checking for $ac_header" >&5
17518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17520 echo $ECHO_N "(cached) $ECHO_C" >&6
17521 fi
17522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17524 else
17525 # Is the header compilable?
17526 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17527 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17528 cat >conftest.$ac_ext <<_ACEOF
17529 /* confdefs.h. */
17530 _ACEOF
17531 cat confdefs.h >>conftest.$ac_ext
17532 cat >>conftest.$ac_ext <<_ACEOF
17533 /* end confdefs.h. */
17534 $ac_includes_default
17535 #include <$ac_header>
17536 _ACEOF
17537 rm -f conftest.$ac_objext
17538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17539 (eval $ac_compile) 2>conftest.er1
17540 ac_status=$?
17541 grep -v '^ *+' conftest.er1 >conftest.err
17542 rm -f conftest.er1
17543 cat conftest.err >&5
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); } &&
17546 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17549 ac_status=$?
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; } &&
17552 { ac_try='test -s conftest.$ac_objext'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17555 ac_status=$?
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; }; then
17558 ac_header_compiler=yes
17559 else
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.$ac_ext >&5
17562
17563 ac_header_compiler=no
17564 fi
17565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17566 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17567 echo "${ECHO_T}$ac_header_compiler" >&6
17568
17569 # Is the header present?
17570 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17571 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17572 cat >conftest.$ac_ext <<_ACEOF
17573 /* confdefs.h. */
17574 _ACEOF
17575 cat confdefs.h >>conftest.$ac_ext
17576 cat >>conftest.$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578 #include <$ac_header>
17579 _ACEOF
17580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17581 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17582 ac_status=$?
17583 grep -v '^ *+' conftest.er1 >conftest.err
17584 rm -f conftest.er1
17585 cat conftest.err >&5
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); } >/dev/null; then
17588 if test -s conftest.err; then
17589 ac_cpp_err=$ac_cxx_preproc_warn_flag
17590 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17591 else
17592 ac_cpp_err=
17593 fi
17594 else
17595 ac_cpp_err=yes
17596 fi
17597 if test -z "$ac_cpp_err"; then
17598 ac_header_preproc=yes
17599 else
17600 echo "$as_me: failed program was:" >&5
17601 sed 's/^/| /' conftest.$ac_ext >&5
17602
17603 ac_header_preproc=no
17604 fi
17605 rm -f conftest.err conftest.$ac_ext
17606 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17607 echo "${ECHO_T}$ac_header_preproc" >&6
17608
17609 # So? What about this header?
17610 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17611 yes:no: )
17612 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17613 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17615 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17616 ac_header_preproc=yes
17617 ;;
17618 no:yes:* )
17619 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17620 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17621 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17622 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17623 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17624 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17625 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17626 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17629 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17630 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17631 (
17632 cat <<\_ASBOX
17633 ## ----------------------------------------- ##
17634 ## Report this to wx-dev@lists.wxwidgets.org ##
17635 ## ----------------------------------------- ##
17636 _ASBOX
17637 ) |
17638 sed "s/^/$as_me: WARNING: /" >&2
17639 ;;
17640 esac
17641 echo "$as_me:$LINENO: checking for $ac_header" >&5
17642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17644 echo $ECHO_N "(cached) $ECHO_C" >&6
17645 else
17646 eval "$as_ac_Header=\$ac_header_preproc"
17647 fi
17648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17650
17651 fi
17652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17653 cat >>confdefs.h <<_ACEOF
17654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17655 _ACEOF
17656
17657 fi
17658
17659 done
17660
17661
17662
17663 for ac_header in langinfo.h
17664 do
17665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17667 echo "$as_me:$LINENO: checking for $ac_header" >&5
17668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17670 echo $ECHO_N "(cached) $ECHO_C" >&6
17671 fi
17672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17674 else
17675 # Is the header compilable?
17676 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17677 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17678 cat >conftest.$ac_ext <<_ACEOF
17679 /* confdefs.h. */
17680 _ACEOF
17681 cat confdefs.h >>conftest.$ac_ext
17682 cat >>conftest.$ac_ext <<_ACEOF
17683 /* end confdefs.h. */
17684 $ac_includes_default
17685 #include <$ac_header>
17686 _ACEOF
17687 rm -f conftest.$ac_objext
17688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17689 (eval $ac_compile) 2>conftest.er1
17690 ac_status=$?
17691 grep -v '^ *+' conftest.er1 >conftest.err
17692 rm -f conftest.er1
17693 cat conftest.err >&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } &&
17696 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17698 (eval $ac_try) 2>&5
17699 ac_status=$?
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); }; } &&
17702 { ac_try='test -s conftest.$ac_objext'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17705 ac_status=$?
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; }; then
17708 ac_header_compiler=yes
17709 else
17710 echo "$as_me: failed program was:" >&5
17711 sed 's/^/| /' conftest.$ac_ext >&5
17712
17713 ac_header_compiler=no
17714 fi
17715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17717 echo "${ECHO_T}$ac_header_compiler" >&6
17718
17719 # Is the header present?
17720 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17721 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17722 cat >conftest.$ac_ext <<_ACEOF
17723 /* confdefs.h. */
17724 _ACEOF
17725 cat confdefs.h >>conftest.$ac_ext
17726 cat >>conftest.$ac_ext <<_ACEOF
17727 /* end confdefs.h. */
17728 #include <$ac_header>
17729 _ACEOF
17730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17731 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17732 ac_status=$?
17733 grep -v '^ *+' conftest.er1 >conftest.err
17734 rm -f conftest.er1
17735 cat conftest.err >&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } >/dev/null; then
17738 if test -s conftest.err; then
17739 ac_cpp_err=$ac_cxx_preproc_warn_flag
17740 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17741 else
17742 ac_cpp_err=
17743 fi
17744 else
17745 ac_cpp_err=yes
17746 fi
17747 if test -z "$ac_cpp_err"; then
17748 ac_header_preproc=yes
17749 else
17750 echo "$as_me: failed program was:" >&5
17751 sed 's/^/| /' conftest.$ac_ext >&5
17752
17753 ac_header_preproc=no
17754 fi
17755 rm -f conftest.err conftest.$ac_ext
17756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17757 echo "${ECHO_T}$ac_header_preproc" >&6
17758
17759 # So? What about this header?
17760 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17761 yes:no: )
17762 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17763 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17765 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17766 ac_header_preproc=yes
17767 ;;
17768 no:yes:* )
17769 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17770 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17771 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17772 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17773 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17774 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17775 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17776 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17779 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17780 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17781 (
17782 cat <<\_ASBOX
17783 ## ----------------------------------------- ##
17784 ## Report this to wx-dev@lists.wxwidgets.org ##
17785 ## ----------------------------------------- ##
17786 _ASBOX
17787 ) |
17788 sed "s/^/$as_me: WARNING: /" >&2
17789 ;;
17790 esac
17791 echo "$as_me:$LINENO: checking for $ac_header" >&5
17792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17794 echo $ECHO_N "(cached) $ECHO_C" >&6
17795 else
17796 eval "$as_ac_Header=\$ac_header_preproc"
17797 fi
17798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17800
17801 fi
17802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17803 cat >>confdefs.h <<_ACEOF
17804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17805 _ACEOF
17806
17807 fi
17808
17809 done
17810
17811
17812 case "${host}" in
17813 *-pc-os2_emx | *-pc-os2-emx )
17814 if test $ac_cv_header_langinfo_h = "yes" \
17815 -a \( "$wx_cv_gccversion" = "EMX2" \
17816 -o "$wx_cv_gccversion" = "EMX3" \
17817 -o "$wx_cv_gccversion" = "Innotek5" \); then
17818 LIBS="$LIBS -lintl"
17819 fi
17820 ;;
17821 esac
17822
17823 if test "$USE_UNIX" = 1 ; then
17824
17825 for ac_header in sys/select.h
17826 do
17827 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17829 echo "$as_me:$LINENO: checking for $ac_header" >&5
17830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17832 echo $ECHO_N "(cached) $ECHO_C" >&6
17833 fi
17834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17836 else
17837 # Is the header compilable?
17838 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17839 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17840 cat >conftest.$ac_ext <<_ACEOF
17841 /* confdefs.h. */
17842 _ACEOF
17843 cat confdefs.h >>conftest.$ac_ext
17844 cat >>conftest.$ac_ext <<_ACEOF
17845 /* end confdefs.h. */
17846 $ac_includes_default
17847 #include <$ac_header>
17848 _ACEOF
17849 rm -f conftest.$ac_objext
17850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17851 (eval $ac_compile) 2>conftest.er1
17852 ac_status=$?
17853 grep -v '^ *+' conftest.er1 >conftest.err
17854 rm -f conftest.er1
17855 cat conftest.err >&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); } &&
17858 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17861 ac_status=$?
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; } &&
17864 { ac_try='test -s conftest.$ac_objext'
17865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17866 (eval $ac_try) 2>&5
17867 ac_status=$?
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); }; }; then
17870 ac_header_compiler=yes
17871 else
17872 echo "$as_me: failed program was:" >&5
17873 sed 's/^/| /' conftest.$ac_ext >&5
17874
17875 ac_header_compiler=no
17876 fi
17877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17879 echo "${ECHO_T}$ac_header_compiler" >&6
17880
17881 # Is the header present?
17882 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17884 cat >conftest.$ac_ext <<_ACEOF
17885 /* confdefs.h. */
17886 _ACEOF
17887 cat confdefs.h >>conftest.$ac_ext
17888 cat >>conftest.$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17890 #include <$ac_header>
17891 _ACEOF
17892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17894 ac_status=$?
17895 grep -v '^ *+' conftest.er1 >conftest.err
17896 rm -f conftest.er1
17897 cat conftest.err >&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); } >/dev/null; then
17900 if test -s conftest.err; then
17901 ac_cpp_err=$ac_cxx_preproc_warn_flag
17902 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17903 else
17904 ac_cpp_err=
17905 fi
17906 else
17907 ac_cpp_err=yes
17908 fi
17909 if test -z "$ac_cpp_err"; then
17910 ac_header_preproc=yes
17911 else
17912 echo "$as_me: failed program was:" >&5
17913 sed 's/^/| /' conftest.$ac_ext >&5
17914
17915 ac_header_preproc=no
17916 fi
17917 rm -f conftest.err conftest.$ac_ext
17918 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17919 echo "${ECHO_T}$ac_header_preproc" >&6
17920
17921 # So? What about this header?
17922 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17923 yes:no: )
17924 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17925 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17927 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17928 ac_header_preproc=yes
17929 ;;
17930 no:yes:* )
17931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17935 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17936 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17937 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17938 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17940 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17941 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17942 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17943 (
17944 cat <<\_ASBOX
17945 ## ----------------------------------------- ##
17946 ## Report this to wx-dev@lists.wxwidgets.org ##
17947 ## ----------------------------------------- ##
17948 _ASBOX
17949 ) |
17950 sed "s/^/$as_me: WARNING: /" >&2
17951 ;;
17952 esac
17953 echo "$as_me:$LINENO: checking for $ac_header" >&5
17954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17956 echo $ECHO_N "(cached) $ECHO_C" >&6
17957 else
17958 eval "$as_ac_Header=\$ac_header_preproc"
17959 fi
17960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17962
17963 fi
17964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17965 cat >>confdefs.h <<_ACEOF
17966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17967 _ACEOF
17968
17969 fi
17970
17971 done
17972
17973 fi
17974
17975
17976 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17977 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17978 if test "${ac_cv_c_const+set}" = set; then
17979 echo $ECHO_N "(cached) $ECHO_C" >&6
17980 else
17981 cat >conftest.$ac_ext <<_ACEOF
17982 /* confdefs.h. */
17983 _ACEOF
17984 cat confdefs.h >>conftest.$ac_ext
17985 cat >>conftest.$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17987
17988 int
17989 main ()
17990 {
17991 /* FIXME: Include the comments suggested by Paul. */
17992 #ifndef __cplusplus
17993 /* Ultrix mips cc rejects this. */
17994 typedef int charset[2];
17995 const charset x;
17996 /* SunOS 4.1.1 cc rejects this. */
17997 char const *const *ccp;
17998 char **p;
17999 /* NEC SVR4.0.2 mips cc rejects this. */
18000 struct point {int x, y;};
18001 static struct point const zero = {0,0};
18002 /* AIX XL C 1.02.0.0 rejects this.
18003 It does not let you subtract one const X* pointer from another in
18004 an arm of an if-expression whose if-part is not a constant
18005 expression */
18006 const char *g = "string";
18007 ccp = &g + (g ? g-g : 0);
18008 /* HPUX 7.0 cc rejects these. */
18009 ++ccp;
18010 p = (char**) ccp;
18011 ccp = (char const *const *) p;
18012 { /* SCO 3.2v4 cc rejects this. */
18013 char *t;
18014 char const *s = 0 ? (char *) 0 : (char const *) 0;
18015
18016 *t++ = 0;
18017 }
18018 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18019 int x[] = {25, 17};
18020 const int *foo = &x[0];
18021 ++foo;
18022 }
18023 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18024 typedef const int *iptr;
18025 iptr p = 0;
18026 ++p;
18027 }
18028 { /* AIX XL C 1.02.0.0 rejects this saying
18029 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18030 struct s { int j; const int *ap[3]; };
18031 struct s *b; b->j = 5;
18032 }
18033 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18034 const int foo = 10;
18035 }
18036 #endif
18037
18038 ;
18039 return 0;
18040 }
18041 _ACEOF
18042 rm -f conftest.$ac_objext
18043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18044 (eval $ac_compile) 2>conftest.er1
18045 ac_status=$?
18046 grep -v '^ *+' conftest.er1 >conftest.err
18047 rm -f conftest.er1
18048 cat conftest.err >&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } &&
18051 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18053 (eval $ac_try) 2>&5
18054 ac_status=$?
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); }; } &&
18057 { ac_try='test -s conftest.$ac_objext'
18058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18059 (eval $ac_try) 2>&5
18060 ac_status=$?
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); }; }; then
18063 ac_cv_c_const=yes
18064 else
18065 echo "$as_me: failed program was:" >&5
18066 sed 's/^/| /' conftest.$ac_ext >&5
18067
18068 ac_cv_c_const=no
18069 fi
18070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18071 fi
18072 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18073 echo "${ECHO_T}$ac_cv_c_const" >&6
18074 if test $ac_cv_c_const = no; then
18075
18076 cat >>confdefs.h <<\_ACEOF
18077 #define const
18078 _ACEOF
18079
18080 fi
18081
18082 echo "$as_me:$LINENO: checking for inline" >&5
18083 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18084 if test "${ac_cv_c_inline+set}" = set; then
18085 echo $ECHO_N "(cached) $ECHO_C" >&6
18086 else
18087 ac_cv_c_inline=no
18088 for ac_kw in inline __inline__ __inline; do
18089 cat >conftest.$ac_ext <<_ACEOF
18090 /* confdefs.h. */
18091 _ACEOF
18092 cat confdefs.h >>conftest.$ac_ext
18093 cat >>conftest.$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18095 #ifndef __cplusplus
18096 typedef int foo_t;
18097 static $ac_kw foo_t static_foo () {return 0; }
18098 $ac_kw foo_t foo () {return 0; }
18099 #endif
18100
18101 _ACEOF
18102 rm -f conftest.$ac_objext
18103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18104 (eval $ac_compile) 2>conftest.er1
18105 ac_status=$?
18106 grep -v '^ *+' conftest.er1 >conftest.err
18107 rm -f conftest.er1
18108 cat conftest.err >&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); } &&
18111 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18113 (eval $ac_try) 2>&5
18114 ac_status=$?
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; } &&
18117 { ac_try='test -s conftest.$ac_objext'
18118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18119 (eval $ac_try) 2>&5
18120 ac_status=$?
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); }; }; then
18123 ac_cv_c_inline=$ac_kw; break
18124 else
18125 echo "$as_me: failed program was:" >&5
18126 sed 's/^/| /' conftest.$ac_ext >&5
18127
18128 fi
18129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18130 done
18131
18132 fi
18133 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18134 echo "${ECHO_T}$ac_cv_c_inline" >&6
18135
18136
18137 case $ac_cv_c_inline in
18138 inline | yes) ;;
18139 *)
18140 case $ac_cv_c_inline in
18141 no) ac_val=;;
18142 *) ac_val=$ac_cv_c_inline;;
18143 esac
18144 cat >>confdefs.h <<_ACEOF
18145 #ifndef __cplusplus
18146 #define inline $ac_val
18147 #endif
18148 _ACEOF
18149 ;;
18150 esac
18151
18152
18153 echo "$as_me:$LINENO: checking for char" >&5
18154 echo $ECHO_N "checking for char... $ECHO_C" >&6
18155 if test "${ac_cv_type_char+set}" = set; then
18156 echo $ECHO_N "(cached) $ECHO_C" >&6
18157 else
18158 cat >conftest.$ac_ext <<_ACEOF
18159 /* confdefs.h. */
18160 _ACEOF
18161 cat confdefs.h >>conftest.$ac_ext
18162 cat >>conftest.$ac_ext <<_ACEOF
18163 /* end confdefs.h. */
18164 $ac_includes_default
18165 int
18166 main ()
18167 {
18168 if ((char *) 0)
18169 return 0;
18170 if (sizeof (char))
18171 return 0;
18172 ;
18173 return 0;
18174 }
18175 _ACEOF
18176 rm -f conftest.$ac_objext
18177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18178 (eval $ac_compile) 2>conftest.er1
18179 ac_status=$?
18180 grep -v '^ *+' conftest.er1 >conftest.err
18181 rm -f conftest.er1
18182 cat conftest.err >&5
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); } &&
18185 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18187 (eval $ac_try) 2>&5
18188 ac_status=$?
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); }; } &&
18191 { ac_try='test -s conftest.$ac_objext'
18192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18193 (eval $ac_try) 2>&5
18194 ac_status=$?
18195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18196 (exit $ac_status); }; }; then
18197 ac_cv_type_char=yes
18198 else
18199 echo "$as_me: failed program was:" >&5
18200 sed 's/^/| /' conftest.$ac_ext >&5
18201
18202 ac_cv_type_char=no
18203 fi
18204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18205 fi
18206 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18207 echo "${ECHO_T}$ac_cv_type_char" >&6
18208
18209 echo "$as_me:$LINENO: checking size of char" >&5
18210 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18211 if test "${ac_cv_sizeof_char+set}" = set; then
18212 echo $ECHO_N "(cached) $ECHO_C" >&6
18213 else
18214 if test "$ac_cv_type_char" = yes; then
18215 # The cast to unsigned long works around a bug in the HP C Compiler
18216 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18217 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18218 # This bug is HP SR number 8606223364.
18219 if test "$cross_compiling" = yes; then
18220 # Depending upon the size, compute the lo and hi bounds.
18221 cat >conftest.$ac_ext <<_ACEOF
18222 /* confdefs.h. */
18223 _ACEOF
18224 cat confdefs.h >>conftest.$ac_ext
18225 cat >>conftest.$ac_ext <<_ACEOF
18226 /* end confdefs.h. */
18227 $ac_includes_default
18228 int
18229 main ()
18230 {
18231 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18232 test_array [0] = 0
18233
18234 ;
18235 return 0;
18236 }
18237 _ACEOF
18238 rm -f conftest.$ac_objext
18239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18240 (eval $ac_compile) 2>conftest.er1
18241 ac_status=$?
18242 grep -v '^ *+' conftest.er1 >conftest.err
18243 rm -f conftest.er1
18244 cat conftest.err >&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); } &&
18247 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18249 (eval $ac_try) 2>&5
18250 ac_status=$?
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); }; } &&
18253 { ac_try='test -s conftest.$ac_objext'
18254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18255 (eval $ac_try) 2>&5
18256 ac_status=$?
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); }; }; then
18259 ac_lo=0 ac_mid=0
18260 while :; do
18261 cat >conftest.$ac_ext <<_ACEOF
18262 /* confdefs.h. */
18263 _ACEOF
18264 cat confdefs.h >>conftest.$ac_ext
18265 cat >>conftest.$ac_ext <<_ACEOF
18266 /* end confdefs.h. */
18267 $ac_includes_default
18268 int
18269 main ()
18270 {
18271 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18272 test_array [0] = 0
18273
18274 ;
18275 return 0;
18276 }
18277 _ACEOF
18278 rm -f conftest.$ac_objext
18279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18280 (eval $ac_compile) 2>conftest.er1
18281 ac_status=$?
18282 grep -v '^ *+' conftest.er1 >conftest.err
18283 rm -f conftest.er1
18284 cat conftest.err >&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } &&
18287 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18290 ac_status=$?
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; } &&
18293 { ac_try='test -s conftest.$ac_objext'
18294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295 (eval $ac_try) 2>&5
18296 ac_status=$?
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; }; then
18299 ac_hi=$ac_mid; break
18300 else
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.$ac_ext >&5
18303
18304 ac_lo=`expr $ac_mid + 1`
18305 if test $ac_lo -le $ac_mid; then
18306 ac_lo= ac_hi=
18307 break
18308 fi
18309 ac_mid=`expr 2 '*' $ac_mid + 1`
18310 fi
18311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18312 done
18313 else
18314 echo "$as_me: failed program was:" >&5
18315 sed 's/^/| /' conftest.$ac_ext >&5
18316
18317 cat >conftest.$ac_ext <<_ACEOF
18318 /* confdefs.h. */
18319 _ACEOF
18320 cat confdefs.h >>conftest.$ac_ext
18321 cat >>conftest.$ac_ext <<_ACEOF
18322 /* end confdefs.h. */
18323 $ac_includes_default
18324 int
18325 main ()
18326 {
18327 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18328 test_array [0] = 0
18329
18330 ;
18331 return 0;
18332 }
18333 _ACEOF
18334 rm -f conftest.$ac_objext
18335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18336 (eval $ac_compile) 2>conftest.er1
18337 ac_status=$?
18338 grep -v '^ *+' conftest.er1 >conftest.err
18339 rm -f conftest.er1
18340 cat conftest.err >&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); } &&
18343 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18345 (eval $ac_try) 2>&5
18346 ac_status=$?
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }; } &&
18349 { ac_try='test -s conftest.$ac_objext'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18352 ac_status=$?
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; }; then
18355 ac_hi=-1 ac_mid=-1
18356 while :; do
18357 cat >conftest.$ac_ext <<_ACEOF
18358 /* confdefs.h. */
18359 _ACEOF
18360 cat confdefs.h >>conftest.$ac_ext
18361 cat >>conftest.$ac_ext <<_ACEOF
18362 /* end confdefs.h. */
18363 $ac_includes_default
18364 int
18365 main ()
18366 {
18367 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18368 test_array [0] = 0
18369
18370 ;
18371 return 0;
18372 }
18373 _ACEOF
18374 rm -f conftest.$ac_objext
18375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18376 (eval $ac_compile) 2>conftest.er1
18377 ac_status=$?
18378 grep -v '^ *+' conftest.er1 >conftest.err
18379 rm -f conftest.er1
18380 cat conftest.err >&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); } &&
18383 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18385 (eval $ac_try) 2>&5
18386 ac_status=$?
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); }; } &&
18389 { ac_try='test -s conftest.$ac_objext'
18390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18391 (eval $ac_try) 2>&5
18392 ac_status=$?
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); }; }; then
18395 ac_lo=$ac_mid; break
18396 else
18397 echo "$as_me: failed program was:" >&5
18398 sed 's/^/| /' conftest.$ac_ext >&5
18399
18400 ac_hi=`expr '(' $ac_mid ')' - 1`
18401 if test $ac_mid -le $ac_hi; then
18402 ac_lo= ac_hi=
18403 break
18404 fi
18405 ac_mid=`expr 2 '*' $ac_mid`
18406 fi
18407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18408 done
18409 else
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.$ac_ext >&5
18412
18413 ac_lo= ac_hi=
18414 fi
18415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18416 fi
18417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18418 # Binary search between lo and hi bounds.
18419 while test "x$ac_lo" != "x$ac_hi"; do
18420 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18421 cat >conftest.$ac_ext <<_ACEOF
18422 /* confdefs.h. */
18423 _ACEOF
18424 cat confdefs.h >>conftest.$ac_ext
18425 cat >>conftest.$ac_ext <<_ACEOF
18426 /* end confdefs.h. */
18427 $ac_includes_default
18428 int
18429 main ()
18430 {
18431 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18432 test_array [0] = 0
18433
18434 ;
18435 return 0;
18436 }
18437 _ACEOF
18438 rm -f conftest.$ac_objext
18439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18440 (eval $ac_compile) 2>conftest.er1
18441 ac_status=$?
18442 grep -v '^ *+' conftest.er1 >conftest.err
18443 rm -f conftest.er1
18444 cat conftest.err >&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); } &&
18447 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18449 (eval $ac_try) 2>&5
18450 ac_status=$?
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); }; } &&
18453 { ac_try='test -s conftest.$ac_objext'
18454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18455 (eval $ac_try) 2>&5
18456 ac_status=$?
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); }; }; then
18459 ac_hi=$ac_mid
18460 else
18461 echo "$as_me: failed program was:" >&5
18462 sed 's/^/| /' conftest.$ac_ext >&5
18463
18464 ac_lo=`expr '(' $ac_mid ')' + 1`
18465 fi
18466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18467 done
18468 case $ac_lo in
18469 ?*) ac_cv_sizeof_char=$ac_lo;;
18470 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18471 See \`config.log' for more details." >&5
18472 echo "$as_me: error: cannot compute sizeof (char), 77
18473 See \`config.log' for more details." >&2;}
18474 { (exit 1); exit 1; }; } ;;
18475 esac
18476 else
18477 if test "$cross_compiling" = yes; then
18478 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18479 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18480 { (exit 1); exit 1; }; }
18481 else
18482 cat >conftest.$ac_ext <<_ACEOF
18483 /* confdefs.h. */
18484 _ACEOF
18485 cat confdefs.h >>conftest.$ac_ext
18486 cat >>conftest.$ac_ext <<_ACEOF
18487 /* end confdefs.h. */
18488 $ac_includes_default
18489 long longval () { return (long) (sizeof (char)); }
18490 unsigned long ulongval () { return (long) (sizeof (char)); }
18491 #include <stdio.h>
18492 #include <stdlib.h>
18493 int
18494 main ()
18495 {
18496
18497 FILE *f = fopen ("conftest.val", "w");
18498 if (! f)
18499 exit (1);
18500 if (((long) (sizeof (char))) < 0)
18501 {
18502 long i = longval ();
18503 if (i != ((long) (sizeof (char))))
18504 exit (1);
18505 fprintf (f, "%ld\n", i);
18506 }
18507 else
18508 {
18509 unsigned long i = ulongval ();
18510 if (i != ((long) (sizeof (char))))
18511 exit (1);
18512 fprintf (f, "%lu\n", i);
18513 }
18514 exit (ferror (f) || fclose (f) != 0);
18515
18516 ;
18517 return 0;
18518 }
18519 _ACEOF
18520 rm -f conftest$ac_exeext
18521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18522 (eval $ac_link) 2>&5
18523 ac_status=$?
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18527 (eval $ac_try) 2>&5
18528 ac_status=$?
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); }; }; then
18531 ac_cv_sizeof_char=`cat conftest.val`
18532 else
18533 echo "$as_me: program exited with status $ac_status" >&5
18534 echo "$as_me: failed program was:" >&5
18535 sed 's/^/| /' conftest.$ac_ext >&5
18536
18537 ( exit $ac_status )
18538 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18539 See \`config.log' for more details." >&5
18540 echo "$as_me: error: cannot compute sizeof (char), 77
18541 See \`config.log' for more details." >&2;}
18542 { (exit 1); exit 1; }; }
18543 fi
18544 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18545 fi
18546 fi
18547 rm -f conftest.val
18548 else
18549 ac_cv_sizeof_char=0
18550 fi
18551 fi
18552 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18553 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18554 cat >>confdefs.h <<_ACEOF
18555 #define SIZEOF_CHAR $ac_cv_sizeof_char
18556 _ACEOF
18557
18558
18559 echo "$as_me:$LINENO: checking for short" >&5
18560 echo $ECHO_N "checking for short... $ECHO_C" >&6
18561 if test "${ac_cv_type_short+set}" = set; then
18562 echo $ECHO_N "(cached) $ECHO_C" >&6
18563 else
18564 cat >conftest.$ac_ext <<_ACEOF
18565 /* confdefs.h. */
18566 _ACEOF
18567 cat confdefs.h >>conftest.$ac_ext
18568 cat >>conftest.$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570 $ac_includes_default
18571 int
18572 main ()
18573 {
18574 if ((short *) 0)
18575 return 0;
18576 if (sizeof (short))
18577 return 0;
18578 ;
18579 return 0;
18580 }
18581 _ACEOF
18582 rm -f conftest.$ac_objext
18583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18584 (eval $ac_compile) 2>conftest.er1
18585 ac_status=$?
18586 grep -v '^ *+' conftest.er1 >conftest.err
18587 rm -f conftest.er1
18588 cat conftest.err >&5
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); } &&
18591 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18594 ac_status=$?
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; } &&
18597 { ac_try='test -s conftest.$ac_objext'
18598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18599 (eval $ac_try) 2>&5
18600 ac_status=$?
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); }; }; then
18603 ac_cv_type_short=yes
18604 else
18605 echo "$as_me: failed program was:" >&5
18606 sed 's/^/| /' conftest.$ac_ext >&5
18607
18608 ac_cv_type_short=no
18609 fi
18610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18611 fi
18612 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18613 echo "${ECHO_T}$ac_cv_type_short" >&6
18614
18615 echo "$as_me:$LINENO: checking size of short" >&5
18616 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18617 if test "${ac_cv_sizeof_short+set}" = set; then
18618 echo $ECHO_N "(cached) $ECHO_C" >&6
18619 else
18620 if test "$ac_cv_type_short" = yes; then
18621 # The cast to unsigned long works around a bug in the HP C Compiler
18622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18624 # This bug is HP SR number 8606223364.
18625 if test "$cross_compiling" = yes; then
18626 # Depending upon the size, compute the lo and hi bounds.
18627 cat >conftest.$ac_ext <<_ACEOF
18628 /* confdefs.h. */
18629 _ACEOF
18630 cat confdefs.h >>conftest.$ac_ext
18631 cat >>conftest.$ac_ext <<_ACEOF
18632 /* end confdefs.h. */
18633 $ac_includes_default
18634 int
18635 main ()
18636 {
18637 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18638 test_array [0] = 0
18639
18640 ;
18641 return 0;
18642 }
18643 _ACEOF
18644 rm -f conftest.$ac_objext
18645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18646 (eval $ac_compile) 2>conftest.er1
18647 ac_status=$?
18648 grep -v '^ *+' conftest.er1 >conftest.err
18649 rm -f conftest.er1
18650 cat conftest.err >&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } &&
18653 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18655 (eval $ac_try) 2>&5
18656 ac_status=$?
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); }; } &&
18659 { ac_try='test -s conftest.$ac_objext'
18660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18661 (eval $ac_try) 2>&5
18662 ac_status=$?
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); }; }; then
18665 ac_lo=0 ac_mid=0
18666 while :; do
18667 cat >conftest.$ac_ext <<_ACEOF
18668 /* confdefs.h. */
18669 _ACEOF
18670 cat confdefs.h >>conftest.$ac_ext
18671 cat >>conftest.$ac_ext <<_ACEOF
18672 /* end confdefs.h. */
18673 $ac_includes_default
18674 int
18675 main ()
18676 {
18677 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18678 test_array [0] = 0
18679
18680 ;
18681 return 0;
18682 }
18683 _ACEOF
18684 rm -f conftest.$ac_objext
18685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18686 (eval $ac_compile) 2>conftest.er1
18687 ac_status=$?
18688 grep -v '^ *+' conftest.er1 >conftest.err
18689 rm -f conftest.er1
18690 cat conftest.err >&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); } &&
18693 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18695 (eval $ac_try) 2>&5
18696 ac_status=$?
18697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698 (exit $ac_status); }; } &&
18699 { ac_try='test -s conftest.$ac_objext'
18700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18701 (eval $ac_try) 2>&5
18702 ac_status=$?
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); }; }; then
18705 ac_hi=$ac_mid; break
18706 else
18707 echo "$as_me: failed program was:" >&5
18708 sed 's/^/| /' conftest.$ac_ext >&5
18709
18710 ac_lo=`expr $ac_mid + 1`
18711 if test $ac_lo -le $ac_mid; then
18712 ac_lo= ac_hi=
18713 break
18714 fi
18715 ac_mid=`expr 2 '*' $ac_mid + 1`
18716 fi
18717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18718 done
18719 else
18720 echo "$as_me: failed program was:" >&5
18721 sed 's/^/| /' conftest.$ac_ext >&5
18722
18723 cat >conftest.$ac_ext <<_ACEOF
18724 /* confdefs.h. */
18725 _ACEOF
18726 cat confdefs.h >>conftest.$ac_ext
18727 cat >>conftest.$ac_ext <<_ACEOF
18728 /* end confdefs.h. */
18729 $ac_includes_default
18730 int
18731 main ()
18732 {
18733 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18734 test_array [0] = 0
18735
18736 ;
18737 return 0;
18738 }
18739 _ACEOF
18740 rm -f conftest.$ac_objext
18741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18742 (eval $ac_compile) 2>conftest.er1
18743 ac_status=$?
18744 grep -v '^ *+' conftest.er1 >conftest.err
18745 rm -f conftest.er1
18746 cat conftest.err >&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } &&
18749 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18751 (eval $ac_try) 2>&5
18752 ac_status=$?
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); }; } &&
18755 { ac_try='test -s conftest.$ac_objext'
18756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18757 (eval $ac_try) 2>&5
18758 ac_status=$?
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); }; }; then
18761 ac_hi=-1 ac_mid=-1
18762 while :; do
18763 cat >conftest.$ac_ext <<_ACEOF
18764 /* confdefs.h. */
18765 _ACEOF
18766 cat confdefs.h >>conftest.$ac_ext
18767 cat >>conftest.$ac_ext <<_ACEOF
18768 /* end confdefs.h. */
18769 $ac_includes_default
18770 int
18771 main ()
18772 {
18773 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18774 test_array [0] = 0
18775
18776 ;
18777 return 0;
18778 }
18779 _ACEOF
18780 rm -f conftest.$ac_objext
18781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18782 (eval $ac_compile) 2>conftest.er1
18783 ac_status=$?
18784 grep -v '^ *+' conftest.er1 >conftest.err
18785 rm -f conftest.er1
18786 cat conftest.err >&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); } &&
18789 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18791 (eval $ac_try) 2>&5
18792 ac_status=$?
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); }; } &&
18795 { ac_try='test -s conftest.$ac_objext'
18796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18797 (eval $ac_try) 2>&5
18798 ac_status=$?
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); }; }; then
18801 ac_lo=$ac_mid; break
18802 else
18803 echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.$ac_ext >&5
18805
18806 ac_hi=`expr '(' $ac_mid ')' - 1`
18807 if test $ac_mid -le $ac_hi; then
18808 ac_lo= ac_hi=
18809 break
18810 fi
18811 ac_mid=`expr 2 '*' $ac_mid`
18812 fi
18813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18814 done
18815 else
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.$ac_ext >&5
18818
18819 ac_lo= ac_hi=
18820 fi
18821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18822 fi
18823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18824 # Binary search between lo and hi bounds.
18825 while test "x$ac_lo" != "x$ac_hi"; do
18826 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18827 cat >conftest.$ac_ext <<_ACEOF
18828 /* confdefs.h. */
18829 _ACEOF
18830 cat confdefs.h >>conftest.$ac_ext
18831 cat >>conftest.$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18833 $ac_includes_default
18834 int
18835 main ()
18836 {
18837 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18838 test_array [0] = 0
18839
18840 ;
18841 return 0;
18842 }
18843 _ACEOF
18844 rm -f conftest.$ac_objext
18845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18846 (eval $ac_compile) 2>conftest.er1
18847 ac_status=$?
18848 grep -v '^ *+' conftest.er1 >conftest.err
18849 rm -f conftest.er1
18850 cat conftest.err >&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); } &&
18853 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18855 (eval $ac_try) 2>&5
18856 ac_status=$?
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); }; } &&
18859 { ac_try='test -s conftest.$ac_objext'
18860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18861 (eval $ac_try) 2>&5
18862 ac_status=$?
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); }; }; then
18865 ac_hi=$ac_mid
18866 else
18867 echo "$as_me: failed program was:" >&5
18868 sed 's/^/| /' conftest.$ac_ext >&5
18869
18870 ac_lo=`expr '(' $ac_mid ')' + 1`
18871 fi
18872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18873 done
18874 case $ac_lo in
18875 ?*) ac_cv_sizeof_short=$ac_lo;;
18876 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18877 See \`config.log' for more details." >&5
18878 echo "$as_me: error: cannot compute sizeof (short), 77
18879 See \`config.log' for more details." >&2;}
18880 { (exit 1); exit 1; }; } ;;
18881 esac
18882 else
18883 if test "$cross_compiling" = yes; then
18884 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18885 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18886 { (exit 1); exit 1; }; }
18887 else
18888 cat >conftest.$ac_ext <<_ACEOF
18889 /* confdefs.h. */
18890 _ACEOF
18891 cat confdefs.h >>conftest.$ac_ext
18892 cat >>conftest.$ac_ext <<_ACEOF
18893 /* end confdefs.h. */
18894 $ac_includes_default
18895 long longval () { return (long) (sizeof (short)); }
18896 unsigned long ulongval () { return (long) (sizeof (short)); }
18897 #include <stdio.h>
18898 #include <stdlib.h>
18899 int
18900 main ()
18901 {
18902
18903 FILE *f = fopen ("conftest.val", "w");
18904 if (! f)
18905 exit (1);
18906 if (((long) (sizeof (short))) < 0)
18907 {
18908 long i = longval ();
18909 if (i != ((long) (sizeof (short))))
18910 exit (1);
18911 fprintf (f, "%ld\n", i);
18912 }
18913 else
18914 {
18915 unsigned long i = ulongval ();
18916 if (i != ((long) (sizeof (short))))
18917 exit (1);
18918 fprintf (f, "%lu\n", i);
18919 }
18920 exit (ferror (f) || fclose (f) != 0);
18921
18922 ;
18923 return 0;
18924 }
18925 _ACEOF
18926 rm -f conftest$ac_exeext
18927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18928 (eval $ac_link) 2>&5
18929 ac_status=$?
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18933 (eval $ac_try) 2>&5
18934 ac_status=$?
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); }; }; then
18937 ac_cv_sizeof_short=`cat conftest.val`
18938 else
18939 echo "$as_me: program exited with status $ac_status" >&5
18940 echo "$as_me: failed program was:" >&5
18941 sed 's/^/| /' conftest.$ac_ext >&5
18942
18943 ( exit $ac_status )
18944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18945 See \`config.log' for more details." >&5
18946 echo "$as_me: error: cannot compute sizeof (short), 77
18947 See \`config.log' for more details." >&2;}
18948 { (exit 1); exit 1; }; }
18949 fi
18950 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18951 fi
18952 fi
18953 rm -f conftest.val
18954 else
18955 ac_cv_sizeof_short=0
18956 fi
18957 fi
18958 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18959 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18960 cat >>confdefs.h <<_ACEOF
18961 #define SIZEOF_SHORT $ac_cv_sizeof_short
18962 _ACEOF
18963
18964
18965 echo "$as_me:$LINENO: checking for void *" >&5
18966 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18967 if test "${ac_cv_type_void_p+set}" = set; then
18968 echo $ECHO_N "(cached) $ECHO_C" >&6
18969 else
18970 cat >conftest.$ac_ext <<_ACEOF
18971 /* confdefs.h. */
18972 _ACEOF
18973 cat confdefs.h >>conftest.$ac_ext
18974 cat >>conftest.$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18976 $ac_includes_default
18977 int
18978 main ()
18979 {
18980 if ((void * *) 0)
18981 return 0;
18982 if (sizeof (void *))
18983 return 0;
18984 ;
18985 return 0;
18986 }
18987 _ACEOF
18988 rm -f conftest.$ac_objext
18989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18990 (eval $ac_compile) 2>conftest.er1
18991 ac_status=$?
18992 grep -v '^ *+' conftest.er1 >conftest.err
18993 rm -f conftest.er1
18994 cat conftest.err >&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); } &&
18997 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19000 ac_status=$?
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; } &&
19003 { ac_try='test -s conftest.$ac_objext'
19004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005 (eval $ac_try) 2>&5
19006 ac_status=$?
19007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 (exit $ac_status); }; }; then
19009 ac_cv_type_void_p=yes
19010 else
19011 echo "$as_me: failed program was:" >&5
19012 sed 's/^/| /' conftest.$ac_ext >&5
19013
19014 ac_cv_type_void_p=no
19015 fi
19016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19017 fi
19018 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19019 echo "${ECHO_T}$ac_cv_type_void_p" >&6
19020
19021 echo "$as_me:$LINENO: checking size of void *" >&5
19022 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
19023 if test "${ac_cv_sizeof_void_p+set}" = set; then
19024 echo $ECHO_N "(cached) $ECHO_C" >&6
19025 else
19026 if test "$ac_cv_type_void_p" = yes; then
19027 # The cast to unsigned long works around a bug in the HP C Compiler
19028 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19029 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19030 # This bug is HP SR number 8606223364.
19031 if test "$cross_compiling" = yes; then
19032 # Depending upon the size, compute the lo and hi bounds.
19033 cat >conftest.$ac_ext <<_ACEOF
19034 /* confdefs.h. */
19035 _ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19039 $ac_includes_default
19040 int
19041 main ()
19042 {
19043 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
19044 test_array [0] = 0
19045
19046 ;
19047 return 0;
19048 }
19049 _ACEOF
19050 rm -f conftest.$ac_objext
19051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19052 (eval $ac_compile) 2>conftest.er1
19053 ac_status=$?
19054 grep -v '^ *+' conftest.er1 >conftest.err
19055 rm -f conftest.er1
19056 cat conftest.err >&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); } &&
19059 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061 (eval $ac_try) 2>&5
19062 ac_status=$?
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; } &&
19065 { ac_try='test -s conftest.$ac_objext'
19066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067 (eval $ac_try) 2>&5
19068 ac_status=$?
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); }; }; then
19071 ac_lo=0 ac_mid=0
19072 while :; do
19073 cat >conftest.$ac_ext <<_ACEOF
19074 /* confdefs.h. */
19075 _ACEOF
19076 cat confdefs.h >>conftest.$ac_ext
19077 cat >>conftest.$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19079 $ac_includes_default
19080 int
19081 main ()
19082 {
19083 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19084 test_array [0] = 0
19085
19086 ;
19087 return 0;
19088 }
19089 _ACEOF
19090 rm -f conftest.$ac_objext
19091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19092 (eval $ac_compile) 2>conftest.er1
19093 ac_status=$?
19094 grep -v '^ *+' conftest.er1 >conftest.err
19095 rm -f conftest.er1
19096 cat conftest.err >&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); } &&
19099 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19101 (eval $ac_try) 2>&5
19102 ac_status=$?
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); }; } &&
19105 { ac_try='test -s conftest.$ac_objext'
19106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19107 (eval $ac_try) 2>&5
19108 ac_status=$?
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; }; then
19111 ac_hi=$ac_mid; break
19112 else
19113 echo "$as_me: failed program was:" >&5
19114 sed 's/^/| /' conftest.$ac_ext >&5
19115
19116 ac_lo=`expr $ac_mid + 1`
19117 if test $ac_lo -le $ac_mid; then
19118 ac_lo= ac_hi=
19119 break
19120 fi
19121 ac_mid=`expr 2 '*' $ac_mid + 1`
19122 fi
19123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19124 done
19125 else
19126 echo "$as_me: failed program was:" >&5
19127 sed 's/^/| /' conftest.$ac_ext >&5
19128
19129 cat >conftest.$ac_ext <<_ACEOF
19130 /* confdefs.h. */
19131 _ACEOF
19132 cat confdefs.h >>conftest.$ac_ext
19133 cat >>conftest.$ac_ext <<_ACEOF
19134 /* end confdefs.h. */
19135 $ac_includes_default
19136 int
19137 main ()
19138 {
19139 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19140 test_array [0] = 0
19141
19142 ;
19143 return 0;
19144 }
19145 _ACEOF
19146 rm -f conftest.$ac_objext
19147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19148 (eval $ac_compile) 2>conftest.er1
19149 ac_status=$?
19150 grep -v '^ *+' conftest.er1 >conftest.err
19151 rm -f conftest.er1
19152 cat conftest.err >&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); } &&
19155 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19157 (eval $ac_try) 2>&5
19158 ac_status=$?
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; } &&
19161 { ac_try='test -s conftest.$ac_objext'
19162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19163 (eval $ac_try) 2>&5
19164 ac_status=$?
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); }; }; then
19167 ac_hi=-1 ac_mid=-1
19168 while :; do
19169 cat >conftest.$ac_ext <<_ACEOF
19170 /* confdefs.h. */
19171 _ACEOF
19172 cat confdefs.h >>conftest.$ac_ext
19173 cat >>conftest.$ac_ext <<_ACEOF
19174 /* end confdefs.h. */
19175 $ac_includes_default
19176 int
19177 main ()
19178 {
19179 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19180 test_array [0] = 0
19181
19182 ;
19183 return 0;
19184 }
19185 _ACEOF
19186 rm -f conftest.$ac_objext
19187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19188 (eval $ac_compile) 2>conftest.er1
19189 ac_status=$?
19190 grep -v '^ *+' conftest.er1 >conftest.err
19191 rm -f conftest.er1
19192 cat conftest.err >&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } &&
19195 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19197 (eval $ac_try) 2>&5
19198 ac_status=$?
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); }; } &&
19201 { ac_try='test -s conftest.$ac_objext'
19202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19203 (eval $ac_try) 2>&5
19204 ac_status=$?
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); }; }; then
19207 ac_lo=$ac_mid; break
19208 else
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19211
19212 ac_hi=`expr '(' $ac_mid ')' - 1`
19213 if test $ac_mid -le $ac_hi; then
19214 ac_lo= ac_hi=
19215 break
19216 fi
19217 ac_mid=`expr 2 '*' $ac_mid`
19218 fi
19219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19220 done
19221 else
19222 echo "$as_me: failed program was:" >&5
19223 sed 's/^/| /' conftest.$ac_ext >&5
19224
19225 ac_lo= ac_hi=
19226 fi
19227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19228 fi
19229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19230 # Binary search between lo and hi bounds.
19231 while test "x$ac_lo" != "x$ac_hi"; do
19232 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19233 cat >conftest.$ac_ext <<_ACEOF
19234 /* confdefs.h. */
19235 _ACEOF
19236 cat confdefs.h >>conftest.$ac_ext
19237 cat >>conftest.$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19239 $ac_includes_default
19240 int
19241 main ()
19242 {
19243 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19244 test_array [0] = 0
19245
19246 ;
19247 return 0;
19248 }
19249 _ACEOF
19250 rm -f conftest.$ac_objext
19251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19252 (eval $ac_compile) 2>conftest.er1
19253 ac_status=$?
19254 grep -v '^ *+' conftest.er1 >conftest.err
19255 rm -f conftest.er1
19256 cat conftest.err >&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); } &&
19259 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261 (eval $ac_try) 2>&5
19262 ac_status=$?
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; } &&
19265 { ac_try='test -s conftest.$ac_objext'
19266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19267 (eval $ac_try) 2>&5
19268 ac_status=$?
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); }; }; then
19271 ac_hi=$ac_mid
19272 else
19273 echo "$as_me: failed program was:" >&5
19274 sed 's/^/| /' conftest.$ac_ext >&5
19275
19276 ac_lo=`expr '(' $ac_mid ')' + 1`
19277 fi
19278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19279 done
19280 case $ac_lo in
19281 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19282 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19283 See \`config.log' for more details." >&5
19284 echo "$as_me: error: cannot compute sizeof (void *), 77
19285 See \`config.log' for more details." >&2;}
19286 { (exit 1); exit 1; }; } ;;
19287 esac
19288 else
19289 if test "$cross_compiling" = yes; then
19290 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19291 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19292 { (exit 1); exit 1; }; }
19293 else
19294 cat >conftest.$ac_ext <<_ACEOF
19295 /* confdefs.h. */
19296 _ACEOF
19297 cat confdefs.h >>conftest.$ac_ext
19298 cat >>conftest.$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 $ac_includes_default
19301 long longval () { return (long) (sizeof (void *)); }
19302 unsigned long ulongval () { return (long) (sizeof (void *)); }
19303 #include <stdio.h>
19304 #include <stdlib.h>
19305 int
19306 main ()
19307 {
19308
19309 FILE *f = fopen ("conftest.val", "w");
19310 if (! f)
19311 exit (1);
19312 if (((long) (sizeof (void *))) < 0)
19313 {
19314 long i = longval ();
19315 if (i != ((long) (sizeof (void *))))
19316 exit (1);
19317 fprintf (f, "%ld\n", i);
19318 }
19319 else
19320 {
19321 unsigned long i = ulongval ();
19322 if (i != ((long) (sizeof (void *))))
19323 exit (1);
19324 fprintf (f, "%lu\n", i);
19325 }
19326 exit (ferror (f) || fclose (f) != 0);
19327
19328 ;
19329 return 0;
19330 }
19331 _ACEOF
19332 rm -f conftest$ac_exeext
19333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19334 (eval $ac_link) 2>&5
19335 ac_status=$?
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19340 ac_status=$?
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; }; then
19343 ac_cv_sizeof_void_p=`cat conftest.val`
19344 else
19345 echo "$as_me: program exited with status $ac_status" >&5
19346 echo "$as_me: failed program was:" >&5
19347 sed 's/^/| /' conftest.$ac_ext >&5
19348
19349 ( exit $ac_status )
19350 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19351 See \`config.log' for more details." >&5
19352 echo "$as_me: error: cannot compute sizeof (void *), 77
19353 See \`config.log' for more details." >&2;}
19354 { (exit 1); exit 1; }; }
19355 fi
19356 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19357 fi
19358 fi
19359 rm -f conftest.val
19360 else
19361 ac_cv_sizeof_void_p=0
19362 fi
19363 fi
19364 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19365 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19366 cat >>confdefs.h <<_ACEOF
19367 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19368 _ACEOF
19369
19370
19371 echo "$as_me:$LINENO: checking for int" >&5
19372 echo $ECHO_N "checking for int... $ECHO_C" >&6
19373 if test "${ac_cv_type_int+set}" = set; then
19374 echo $ECHO_N "(cached) $ECHO_C" >&6
19375 else
19376 cat >conftest.$ac_ext <<_ACEOF
19377 /* confdefs.h. */
19378 _ACEOF
19379 cat confdefs.h >>conftest.$ac_ext
19380 cat >>conftest.$ac_ext <<_ACEOF
19381 /* end confdefs.h. */
19382 $ac_includes_default
19383 int
19384 main ()
19385 {
19386 if ((int *) 0)
19387 return 0;
19388 if (sizeof (int))
19389 return 0;
19390 ;
19391 return 0;
19392 }
19393 _ACEOF
19394 rm -f conftest.$ac_objext
19395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19396 (eval $ac_compile) 2>conftest.er1
19397 ac_status=$?
19398 grep -v '^ *+' conftest.er1 >conftest.err
19399 rm -f conftest.er1
19400 cat conftest.err >&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } &&
19403 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19405 (eval $ac_try) 2>&5
19406 ac_status=$?
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); }; } &&
19409 { ac_try='test -s conftest.$ac_objext'
19410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19411 (eval $ac_try) 2>&5
19412 ac_status=$?
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); }; }; then
19415 ac_cv_type_int=yes
19416 else
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.$ac_ext >&5
19419
19420 ac_cv_type_int=no
19421 fi
19422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19423 fi
19424 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19425 echo "${ECHO_T}$ac_cv_type_int" >&6
19426
19427 echo "$as_me:$LINENO: checking size of int" >&5
19428 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19429 if test "${ac_cv_sizeof_int+set}" = set; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19431 else
19432 if test "$ac_cv_type_int" = yes; then
19433 # The cast to unsigned long works around a bug in the HP C Compiler
19434 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19435 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19436 # This bug is HP SR number 8606223364.
19437 if test "$cross_compiling" = yes; then
19438 # Depending upon the size, compute the lo and hi bounds.
19439 cat >conftest.$ac_ext <<_ACEOF
19440 /* confdefs.h. */
19441 _ACEOF
19442 cat confdefs.h >>conftest.$ac_ext
19443 cat >>conftest.$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 $ac_includes_default
19446 int
19447 main ()
19448 {
19449 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19450 test_array [0] = 0
19451
19452 ;
19453 return 0;
19454 }
19455 _ACEOF
19456 rm -f conftest.$ac_objext
19457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19458 (eval $ac_compile) 2>conftest.er1
19459 ac_status=$?
19460 grep -v '^ *+' conftest.er1 >conftest.err
19461 rm -f conftest.er1
19462 cat conftest.err >&5
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); } &&
19465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19467 (eval $ac_try) 2>&5
19468 ac_status=$?
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); }; } &&
19471 { ac_try='test -s conftest.$ac_objext'
19472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19473 (eval $ac_try) 2>&5
19474 ac_status=$?
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); }; }; then
19477 ac_lo=0 ac_mid=0
19478 while :; do
19479 cat >conftest.$ac_ext <<_ACEOF
19480 /* confdefs.h. */
19481 _ACEOF
19482 cat confdefs.h >>conftest.$ac_ext
19483 cat >>conftest.$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19485 $ac_includes_default
19486 int
19487 main ()
19488 {
19489 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19490 test_array [0] = 0
19491
19492 ;
19493 return 0;
19494 }
19495 _ACEOF
19496 rm -f conftest.$ac_objext
19497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19498 (eval $ac_compile) 2>conftest.er1
19499 ac_status=$?
19500 grep -v '^ *+' conftest.er1 >conftest.err
19501 rm -f conftest.er1
19502 cat conftest.err >&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); } &&
19505 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19507 (eval $ac_try) 2>&5
19508 ac_status=$?
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); }; } &&
19511 { ac_try='test -s conftest.$ac_objext'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19514 ac_status=$?
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; }; then
19517 ac_hi=$ac_mid; break
19518 else
19519 echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.$ac_ext >&5
19521
19522 ac_lo=`expr $ac_mid + 1`
19523 if test $ac_lo -le $ac_mid; then
19524 ac_lo= ac_hi=
19525 break
19526 fi
19527 ac_mid=`expr 2 '*' $ac_mid + 1`
19528 fi
19529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19530 done
19531 else
19532 echo "$as_me: failed program was:" >&5
19533 sed 's/^/| /' conftest.$ac_ext >&5
19534
19535 cat >conftest.$ac_ext <<_ACEOF
19536 /* confdefs.h. */
19537 _ACEOF
19538 cat confdefs.h >>conftest.$ac_ext
19539 cat >>conftest.$ac_ext <<_ACEOF
19540 /* end confdefs.h. */
19541 $ac_includes_default
19542 int
19543 main ()
19544 {
19545 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19546 test_array [0] = 0
19547
19548 ;
19549 return 0;
19550 }
19551 _ACEOF
19552 rm -f conftest.$ac_objext
19553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19554 (eval $ac_compile) 2>conftest.er1
19555 ac_status=$?
19556 grep -v '^ *+' conftest.er1 >conftest.err
19557 rm -f conftest.er1
19558 cat conftest.err >&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); } &&
19561 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19563 (eval $ac_try) 2>&5
19564 ac_status=$?
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); }; } &&
19567 { ac_try='test -s conftest.$ac_objext'
19568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19569 (eval $ac_try) 2>&5
19570 ac_status=$?
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); }; }; then
19573 ac_hi=-1 ac_mid=-1
19574 while :; do
19575 cat >conftest.$ac_ext <<_ACEOF
19576 /* confdefs.h. */
19577 _ACEOF
19578 cat confdefs.h >>conftest.$ac_ext
19579 cat >>conftest.$ac_ext <<_ACEOF
19580 /* end confdefs.h. */
19581 $ac_includes_default
19582 int
19583 main ()
19584 {
19585 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19586 test_array [0] = 0
19587
19588 ;
19589 return 0;
19590 }
19591 _ACEOF
19592 rm -f conftest.$ac_objext
19593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19594 (eval $ac_compile) 2>conftest.er1
19595 ac_status=$?
19596 grep -v '^ *+' conftest.er1 >conftest.err
19597 rm -f conftest.er1
19598 cat conftest.err >&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); } &&
19601 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19604 ac_status=$?
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; } &&
19607 { ac_try='test -s conftest.$ac_objext'
19608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19609 (eval $ac_try) 2>&5
19610 ac_status=$?
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; }; then
19613 ac_lo=$ac_mid; break
19614 else
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.$ac_ext >&5
19617
19618 ac_hi=`expr '(' $ac_mid ')' - 1`
19619 if test $ac_mid -le $ac_hi; then
19620 ac_lo= ac_hi=
19621 break
19622 fi
19623 ac_mid=`expr 2 '*' $ac_mid`
19624 fi
19625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19626 done
19627 else
19628 echo "$as_me: failed program was:" >&5
19629 sed 's/^/| /' conftest.$ac_ext >&5
19630
19631 ac_lo= ac_hi=
19632 fi
19633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19634 fi
19635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19636 # Binary search between lo and hi bounds.
19637 while test "x$ac_lo" != "x$ac_hi"; do
19638 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19639 cat >conftest.$ac_ext <<_ACEOF
19640 /* confdefs.h. */
19641 _ACEOF
19642 cat confdefs.h >>conftest.$ac_ext
19643 cat >>conftest.$ac_ext <<_ACEOF
19644 /* end confdefs.h. */
19645 $ac_includes_default
19646 int
19647 main ()
19648 {
19649 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19650 test_array [0] = 0
19651
19652 ;
19653 return 0;
19654 }
19655 _ACEOF
19656 rm -f conftest.$ac_objext
19657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19658 (eval $ac_compile) 2>conftest.er1
19659 ac_status=$?
19660 grep -v '^ *+' conftest.er1 >conftest.err
19661 rm -f conftest.er1
19662 cat conftest.err >&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); } &&
19665 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667 (eval $ac_try) 2>&5
19668 ac_status=$?
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); }; } &&
19671 { ac_try='test -s conftest.$ac_objext'
19672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19673 (eval $ac_try) 2>&5
19674 ac_status=$?
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); }; }; then
19677 ac_hi=$ac_mid
19678 else
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.$ac_ext >&5
19681
19682 ac_lo=`expr '(' $ac_mid ')' + 1`
19683 fi
19684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19685 done
19686 case $ac_lo in
19687 ?*) ac_cv_sizeof_int=$ac_lo;;
19688 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19689 See \`config.log' for more details." >&5
19690 echo "$as_me: error: cannot compute sizeof (int), 77
19691 See \`config.log' for more details." >&2;}
19692 { (exit 1); exit 1; }; } ;;
19693 esac
19694 else
19695 if test "$cross_compiling" = yes; then
19696 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19697 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19698 { (exit 1); exit 1; }; }
19699 else
19700 cat >conftest.$ac_ext <<_ACEOF
19701 /* confdefs.h. */
19702 _ACEOF
19703 cat confdefs.h >>conftest.$ac_ext
19704 cat >>conftest.$ac_ext <<_ACEOF
19705 /* end confdefs.h. */
19706 $ac_includes_default
19707 long longval () { return (long) (sizeof (int)); }
19708 unsigned long ulongval () { return (long) (sizeof (int)); }
19709 #include <stdio.h>
19710 #include <stdlib.h>
19711 int
19712 main ()
19713 {
19714
19715 FILE *f = fopen ("conftest.val", "w");
19716 if (! f)
19717 exit (1);
19718 if (((long) (sizeof (int))) < 0)
19719 {
19720 long i = longval ();
19721 if (i != ((long) (sizeof (int))))
19722 exit (1);
19723 fprintf (f, "%ld\n", i);
19724 }
19725 else
19726 {
19727 unsigned long i = ulongval ();
19728 if (i != ((long) (sizeof (int))))
19729 exit (1);
19730 fprintf (f, "%lu\n", i);
19731 }
19732 exit (ferror (f) || fclose (f) != 0);
19733
19734 ;
19735 return 0;
19736 }
19737 _ACEOF
19738 rm -f conftest$ac_exeext
19739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19740 (eval $ac_link) 2>&5
19741 ac_status=$?
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19745 (eval $ac_try) 2>&5
19746 ac_status=$?
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); }; }; then
19749 ac_cv_sizeof_int=`cat conftest.val`
19750 else
19751 echo "$as_me: program exited with status $ac_status" >&5
19752 echo "$as_me: failed program was:" >&5
19753 sed 's/^/| /' conftest.$ac_ext >&5
19754
19755 ( exit $ac_status )
19756 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19757 See \`config.log' for more details." >&5
19758 echo "$as_me: error: cannot compute sizeof (int), 77
19759 See \`config.log' for more details." >&2;}
19760 { (exit 1); exit 1; }; }
19761 fi
19762 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19763 fi
19764 fi
19765 rm -f conftest.val
19766 else
19767 ac_cv_sizeof_int=0
19768 fi
19769 fi
19770 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19771 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19772 cat >>confdefs.h <<_ACEOF
19773 #define SIZEOF_INT $ac_cv_sizeof_int
19774 _ACEOF
19775
19776
19777 echo "$as_me:$LINENO: checking for long" >&5
19778 echo $ECHO_N "checking for long... $ECHO_C" >&6
19779 if test "${ac_cv_type_long+set}" = set; then
19780 echo $ECHO_N "(cached) $ECHO_C" >&6
19781 else
19782 cat >conftest.$ac_ext <<_ACEOF
19783 /* confdefs.h. */
19784 _ACEOF
19785 cat confdefs.h >>conftest.$ac_ext
19786 cat >>conftest.$ac_ext <<_ACEOF
19787 /* end confdefs.h. */
19788 $ac_includes_default
19789 int
19790 main ()
19791 {
19792 if ((long *) 0)
19793 return 0;
19794 if (sizeof (long))
19795 return 0;
19796 ;
19797 return 0;
19798 }
19799 _ACEOF
19800 rm -f conftest.$ac_objext
19801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19802 (eval $ac_compile) 2>conftest.er1
19803 ac_status=$?
19804 grep -v '^ *+' conftest.er1 >conftest.err
19805 rm -f conftest.er1
19806 cat conftest.err >&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } &&
19809 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811 (eval $ac_try) 2>&5
19812 ac_status=$?
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); }; } &&
19815 { ac_try='test -s conftest.$ac_objext'
19816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19817 (eval $ac_try) 2>&5
19818 ac_status=$?
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); }; }; then
19821 ac_cv_type_long=yes
19822 else
19823 echo "$as_me: failed program was:" >&5
19824 sed 's/^/| /' conftest.$ac_ext >&5
19825
19826 ac_cv_type_long=no
19827 fi
19828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19829 fi
19830 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19831 echo "${ECHO_T}$ac_cv_type_long" >&6
19832
19833 echo "$as_me:$LINENO: checking size of long" >&5
19834 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19835 if test "${ac_cv_sizeof_long+set}" = set; then
19836 echo $ECHO_N "(cached) $ECHO_C" >&6
19837 else
19838 if test "$ac_cv_type_long" = yes; then
19839 # The cast to unsigned long works around a bug in the HP C Compiler
19840 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19841 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19842 # This bug is HP SR number 8606223364.
19843 if test "$cross_compiling" = yes; then
19844 # Depending upon the size, compute the lo and hi bounds.
19845 cat >conftest.$ac_ext <<_ACEOF
19846 /* confdefs.h. */
19847 _ACEOF
19848 cat confdefs.h >>conftest.$ac_ext
19849 cat >>conftest.$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 $ac_includes_default
19852 int
19853 main ()
19854 {
19855 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19856 test_array [0] = 0
19857
19858 ;
19859 return 0;
19860 }
19861 _ACEOF
19862 rm -f conftest.$ac_objext
19863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19864 (eval $ac_compile) 2>conftest.er1
19865 ac_status=$?
19866 grep -v '^ *+' conftest.er1 >conftest.err
19867 rm -f conftest.er1
19868 cat conftest.err >&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); } &&
19871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19873 (eval $ac_try) 2>&5
19874 ac_status=$?
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); }; } &&
19877 { ac_try='test -s conftest.$ac_objext'
19878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19879 (eval $ac_try) 2>&5
19880 ac_status=$?
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); }; }; then
19883 ac_lo=0 ac_mid=0
19884 while :; do
19885 cat >conftest.$ac_ext <<_ACEOF
19886 /* confdefs.h. */
19887 _ACEOF
19888 cat confdefs.h >>conftest.$ac_ext
19889 cat >>conftest.$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19891 $ac_includes_default
19892 int
19893 main ()
19894 {
19895 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19896 test_array [0] = 0
19897
19898 ;
19899 return 0;
19900 }
19901 _ACEOF
19902 rm -f conftest.$ac_objext
19903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19904 (eval $ac_compile) 2>conftest.er1
19905 ac_status=$?
19906 grep -v '^ *+' conftest.er1 >conftest.err
19907 rm -f conftest.er1
19908 cat conftest.err >&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } &&
19911 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19913 (eval $ac_try) 2>&5
19914 ac_status=$?
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); }; } &&
19917 { ac_try='test -s conftest.$ac_objext'
19918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19919 (eval $ac_try) 2>&5
19920 ac_status=$?
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); }; }; then
19923 ac_hi=$ac_mid; break
19924 else
19925 echo "$as_me: failed program was:" >&5
19926 sed 's/^/| /' conftest.$ac_ext >&5
19927
19928 ac_lo=`expr $ac_mid + 1`
19929 if test $ac_lo -le $ac_mid; then
19930 ac_lo= ac_hi=
19931 break
19932 fi
19933 ac_mid=`expr 2 '*' $ac_mid + 1`
19934 fi
19935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19936 done
19937 else
19938 echo "$as_me: failed program was:" >&5
19939 sed 's/^/| /' conftest.$ac_ext >&5
19940
19941 cat >conftest.$ac_ext <<_ACEOF
19942 /* confdefs.h. */
19943 _ACEOF
19944 cat confdefs.h >>conftest.$ac_ext
19945 cat >>conftest.$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 $ac_includes_default
19948 int
19949 main ()
19950 {
19951 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19952 test_array [0] = 0
19953
19954 ;
19955 return 0;
19956 }
19957 _ACEOF
19958 rm -f conftest.$ac_objext
19959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19960 (eval $ac_compile) 2>conftest.er1
19961 ac_status=$?
19962 grep -v '^ *+' conftest.er1 >conftest.err
19963 rm -f conftest.er1
19964 cat conftest.err >&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } &&
19967 { ac_try='test -z "$ac_cxx_werror_flag" || 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=-1 ac_mid=-1
19980 while :; do
19981 cat >conftest.$ac_ext <<_ACEOF
19982 /* confdefs.h. */
19983 _ACEOF
19984 cat confdefs.h >>conftest.$ac_ext
19985 cat >>conftest.$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19987 $ac_includes_default
19988 int
19989 main ()
19990 {
19991 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19992 test_array [0] = 0
19993
19994 ;
19995 return 0;
19996 }
19997 _ACEOF
19998 rm -f conftest.$ac_objext
19999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20000 (eval $ac_compile) 2>conftest.er1
20001 ac_status=$?
20002 grep -v '^ *+' conftest.er1 >conftest.err
20003 rm -f conftest.er1
20004 cat conftest.err >&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } &&
20007 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20009 (eval $ac_try) 2>&5
20010 ac_status=$?
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); }; } &&
20013 { ac_try='test -s conftest.$ac_objext'
20014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20015 (eval $ac_try) 2>&5
20016 ac_status=$?
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); }; }; then
20019 ac_lo=$ac_mid; break
20020 else
20021 echo "$as_me: failed program was:" >&5
20022 sed 's/^/| /' conftest.$ac_ext >&5
20023
20024 ac_hi=`expr '(' $ac_mid ')' - 1`
20025 if test $ac_mid -le $ac_hi; then
20026 ac_lo= ac_hi=
20027 break
20028 fi
20029 ac_mid=`expr 2 '*' $ac_mid`
20030 fi
20031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20032 done
20033 else
20034 echo "$as_me: failed program was:" >&5
20035 sed 's/^/| /' conftest.$ac_ext >&5
20036
20037 ac_lo= ac_hi=
20038 fi
20039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20040 fi
20041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20042 # Binary search between lo and hi bounds.
20043 while test "x$ac_lo" != "x$ac_hi"; do
20044 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20045 cat >conftest.$ac_ext <<_ACEOF
20046 /* confdefs.h. */
20047 _ACEOF
20048 cat confdefs.h >>conftest.$ac_ext
20049 cat >>conftest.$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20051 $ac_includes_default
20052 int
20053 main ()
20054 {
20055 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20056 test_array [0] = 0
20057
20058 ;
20059 return 0;
20060 }
20061 _ACEOF
20062 rm -f conftest.$ac_objext
20063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20064 (eval $ac_compile) 2>conftest.er1
20065 ac_status=$?
20066 grep -v '^ *+' conftest.er1 >conftest.err
20067 rm -f conftest.er1
20068 cat conftest.err >&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } &&
20071 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20073 (eval $ac_try) 2>&5
20074 ac_status=$?
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); }; } &&
20077 { ac_try='test -s conftest.$ac_objext'
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20079 (eval $ac_try) 2>&5
20080 ac_status=$?
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; }; then
20083 ac_hi=$ac_mid
20084 else
20085 echo "$as_me: failed program was:" >&5
20086 sed 's/^/| /' conftest.$ac_ext >&5
20087
20088 ac_lo=`expr '(' $ac_mid ')' + 1`
20089 fi
20090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20091 done
20092 case $ac_lo in
20093 ?*) ac_cv_sizeof_long=$ac_lo;;
20094 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20095 See \`config.log' for more details." >&5
20096 echo "$as_me: error: cannot compute sizeof (long), 77
20097 See \`config.log' for more details." >&2;}
20098 { (exit 1); exit 1; }; } ;;
20099 esac
20100 else
20101 if test "$cross_compiling" = yes; then
20102 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20103 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20104 { (exit 1); exit 1; }; }
20105 else
20106 cat >conftest.$ac_ext <<_ACEOF
20107 /* confdefs.h. */
20108 _ACEOF
20109 cat confdefs.h >>conftest.$ac_ext
20110 cat >>conftest.$ac_ext <<_ACEOF
20111 /* end confdefs.h. */
20112 $ac_includes_default
20113 long longval () { return (long) (sizeof (long)); }
20114 unsigned long ulongval () { return (long) (sizeof (long)); }
20115 #include <stdio.h>
20116 #include <stdlib.h>
20117 int
20118 main ()
20119 {
20120
20121 FILE *f = fopen ("conftest.val", "w");
20122 if (! f)
20123 exit (1);
20124 if (((long) (sizeof (long))) < 0)
20125 {
20126 long i = longval ();
20127 if (i != ((long) (sizeof (long))))
20128 exit (1);
20129 fprintf (f, "%ld\n", i);
20130 }
20131 else
20132 {
20133 unsigned long i = ulongval ();
20134 if (i != ((long) (sizeof (long))))
20135 exit (1);
20136 fprintf (f, "%lu\n", i);
20137 }
20138 exit (ferror (f) || fclose (f) != 0);
20139
20140 ;
20141 return 0;
20142 }
20143 _ACEOF
20144 rm -f conftest$ac_exeext
20145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20146 (eval $ac_link) 2>&5
20147 ac_status=$?
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151 (eval $ac_try) 2>&5
20152 ac_status=$?
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); }; }; then
20155 ac_cv_sizeof_long=`cat conftest.val`
20156 else
20157 echo "$as_me: program exited with status $ac_status" >&5
20158 echo "$as_me: failed program was:" >&5
20159 sed 's/^/| /' conftest.$ac_ext >&5
20160
20161 ( exit $ac_status )
20162 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20163 See \`config.log' for more details." >&5
20164 echo "$as_me: error: cannot compute sizeof (long), 77
20165 See \`config.log' for more details." >&2;}
20166 { (exit 1); exit 1; }; }
20167 fi
20168 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20169 fi
20170 fi
20171 rm -f conftest.val
20172 else
20173 ac_cv_sizeof_long=0
20174 fi
20175 fi
20176 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20177 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20178 cat >>confdefs.h <<_ACEOF
20179 #define SIZEOF_LONG $ac_cv_sizeof_long
20180 _ACEOF
20181
20182
20183 echo "$as_me:$LINENO: checking for size_t" >&5
20184 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20185 if test "${ac_cv_type_size_t+set}" = set; then
20186 echo $ECHO_N "(cached) $ECHO_C" >&6
20187 else
20188 cat >conftest.$ac_ext <<_ACEOF
20189 /* confdefs.h. */
20190 _ACEOF
20191 cat confdefs.h >>conftest.$ac_ext
20192 cat >>conftest.$ac_ext <<_ACEOF
20193 /* end confdefs.h. */
20194 $ac_includes_default
20195 int
20196 main ()
20197 {
20198 if ((size_t *) 0)
20199 return 0;
20200 if (sizeof (size_t))
20201 return 0;
20202 ;
20203 return 0;
20204 }
20205 _ACEOF
20206 rm -f conftest.$ac_objext
20207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20208 (eval $ac_compile) 2>conftest.er1
20209 ac_status=$?
20210 grep -v '^ *+' conftest.er1 >conftest.err
20211 rm -f conftest.er1
20212 cat conftest.err >&5
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); } &&
20215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20217 (eval $ac_try) 2>&5
20218 ac_status=$?
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); }; } &&
20221 { ac_try='test -s conftest.$ac_objext'
20222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20223 (eval $ac_try) 2>&5
20224 ac_status=$?
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); }; }; then
20227 ac_cv_type_size_t=yes
20228 else
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.$ac_ext >&5
20231
20232 ac_cv_type_size_t=no
20233 fi
20234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20235 fi
20236 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20237 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20238
20239 echo "$as_me:$LINENO: checking size of size_t" >&5
20240 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20241 if test "${ac_cv_sizeof_size_t+set}" = set; then
20242 echo $ECHO_N "(cached) $ECHO_C" >&6
20243 else
20244 if test "$ac_cv_type_size_t" = yes; then
20245 # The cast to unsigned long works around a bug in the HP C Compiler
20246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20248 # This bug is HP SR number 8606223364.
20249 if test "$cross_compiling" = yes; then
20250 # Depending upon the size, compute the lo and hi bounds.
20251 cat >conftest.$ac_ext <<_ACEOF
20252 /* confdefs.h. */
20253 _ACEOF
20254 cat confdefs.h >>conftest.$ac_ext
20255 cat >>conftest.$ac_ext <<_ACEOF
20256 /* end confdefs.h. */
20257 $ac_includes_default
20258 int
20259 main ()
20260 {
20261 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20262 test_array [0] = 0
20263
20264 ;
20265 return 0;
20266 }
20267 _ACEOF
20268 rm -f conftest.$ac_objext
20269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20270 (eval $ac_compile) 2>conftest.er1
20271 ac_status=$?
20272 grep -v '^ *+' conftest.er1 >conftest.err
20273 rm -f conftest.er1
20274 cat conftest.err >&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); } &&
20277 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20279 (eval $ac_try) 2>&5
20280 ac_status=$?
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); }; } &&
20283 { ac_try='test -s conftest.$ac_objext'
20284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20285 (eval $ac_try) 2>&5
20286 ac_status=$?
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); }; }; then
20289 ac_lo=0 ac_mid=0
20290 while :; do
20291 cat >conftest.$ac_ext <<_ACEOF
20292 /* confdefs.h. */
20293 _ACEOF
20294 cat confdefs.h >>conftest.$ac_ext
20295 cat >>conftest.$ac_ext <<_ACEOF
20296 /* end confdefs.h. */
20297 $ac_includes_default
20298 int
20299 main ()
20300 {
20301 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20302 test_array [0] = 0
20303
20304 ;
20305 return 0;
20306 }
20307 _ACEOF
20308 rm -f conftest.$ac_objext
20309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20310 (eval $ac_compile) 2>conftest.er1
20311 ac_status=$?
20312 grep -v '^ *+' conftest.er1 >conftest.err
20313 rm -f conftest.er1
20314 cat conftest.err >&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); } &&
20317 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20319 (eval $ac_try) 2>&5
20320 ac_status=$?
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; } &&
20323 { ac_try='test -s conftest.$ac_objext'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20326 ac_status=$?
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; }; then
20329 ac_hi=$ac_mid; break
20330 else
20331 echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.$ac_ext >&5
20333
20334 ac_lo=`expr $ac_mid + 1`
20335 if test $ac_lo -le $ac_mid; then
20336 ac_lo= ac_hi=
20337 break
20338 fi
20339 ac_mid=`expr 2 '*' $ac_mid + 1`
20340 fi
20341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20342 done
20343 else
20344 echo "$as_me: failed program was:" >&5
20345 sed 's/^/| /' conftest.$ac_ext >&5
20346
20347 cat >conftest.$ac_ext <<_ACEOF
20348 /* confdefs.h. */
20349 _ACEOF
20350 cat confdefs.h >>conftest.$ac_ext
20351 cat >>conftest.$ac_ext <<_ACEOF
20352 /* end confdefs.h. */
20353 $ac_includes_default
20354 int
20355 main ()
20356 {
20357 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20358 test_array [0] = 0
20359
20360 ;
20361 return 0;
20362 }
20363 _ACEOF
20364 rm -f conftest.$ac_objext
20365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20366 (eval $ac_compile) 2>conftest.er1
20367 ac_status=$?
20368 grep -v '^ *+' conftest.er1 >conftest.err
20369 rm -f conftest.er1
20370 cat conftest.err >&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); } &&
20373 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20375 (eval $ac_try) 2>&5
20376 ac_status=$?
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); }; } &&
20379 { ac_try='test -s conftest.$ac_objext'
20380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20381 (eval $ac_try) 2>&5
20382 ac_status=$?
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); }; }; then
20385 ac_hi=-1 ac_mid=-1
20386 while :; do
20387 cat >conftest.$ac_ext <<_ACEOF
20388 /* confdefs.h. */
20389 _ACEOF
20390 cat confdefs.h >>conftest.$ac_ext
20391 cat >>conftest.$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393 $ac_includes_default
20394 int
20395 main ()
20396 {
20397 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20398 test_array [0] = 0
20399
20400 ;
20401 return 0;
20402 }
20403 _ACEOF
20404 rm -f conftest.$ac_objext
20405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20406 (eval $ac_compile) 2>conftest.er1
20407 ac_status=$?
20408 grep -v '^ *+' conftest.er1 >conftest.err
20409 rm -f conftest.er1
20410 cat conftest.err >&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } &&
20413 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415 (eval $ac_try) 2>&5
20416 ac_status=$?
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; } &&
20419 { ac_try='test -s conftest.$ac_objext'
20420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20421 (eval $ac_try) 2>&5
20422 ac_status=$?
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); }; }; then
20425 ac_lo=$ac_mid; break
20426 else
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5
20429
20430 ac_hi=`expr '(' $ac_mid ')' - 1`
20431 if test $ac_mid -le $ac_hi; then
20432 ac_lo= ac_hi=
20433 break
20434 fi
20435 ac_mid=`expr 2 '*' $ac_mid`
20436 fi
20437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20438 done
20439 else
20440 echo "$as_me: failed program was:" >&5
20441 sed 's/^/| /' conftest.$ac_ext >&5
20442
20443 ac_lo= ac_hi=
20444 fi
20445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20446 fi
20447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20448 # Binary search between lo and hi bounds.
20449 while test "x$ac_lo" != "x$ac_hi"; do
20450 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20451 cat >conftest.$ac_ext <<_ACEOF
20452 /* confdefs.h. */
20453 _ACEOF
20454 cat confdefs.h >>conftest.$ac_ext
20455 cat >>conftest.$ac_ext <<_ACEOF
20456 /* end confdefs.h. */
20457 $ac_includes_default
20458 int
20459 main ()
20460 {
20461 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20462 test_array [0] = 0
20463
20464 ;
20465 return 0;
20466 }
20467 _ACEOF
20468 rm -f conftest.$ac_objext
20469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20470 (eval $ac_compile) 2>conftest.er1
20471 ac_status=$?
20472 grep -v '^ *+' conftest.er1 >conftest.err
20473 rm -f conftest.er1
20474 cat conftest.err >&5
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); } &&
20477 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20479 (eval $ac_try) 2>&5
20480 ac_status=$?
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); }; } &&
20483 { ac_try='test -s conftest.$ac_objext'
20484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20485 (eval $ac_try) 2>&5
20486 ac_status=$?
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); }; }; then
20489 ac_hi=$ac_mid
20490 else
20491 echo "$as_me: failed program was:" >&5
20492 sed 's/^/| /' conftest.$ac_ext >&5
20493
20494 ac_lo=`expr '(' $ac_mid ')' + 1`
20495 fi
20496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20497 done
20498 case $ac_lo in
20499 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20500 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20501 See \`config.log' for more details." >&5
20502 echo "$as_me: error: cannot compute sizeof (size_t), 77
20503 See \`config.log' for more details." >&2;}
20504 { (exit 1); exit 1; }; } ;;
20505 esac
20506 else
20507 if test "$cross_compiling" = yes; then
20508 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20509 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20510 { (exit 1); exit 1; }; }
20511 else
20512 cat >conftest.$ac_ext <<_ACEOF
20513 /* confdefs.h. */
20514 _ACEOF
20515 cat confdefs.h >>conftest.$ac_ext
20516 cat >>conftest.$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20518 $ac_includes_default
20519 long longval () { return (long) (sizeof (size_t)); }
20520 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20521 #include <stdio.h>
20522 #include <stdlib.h>
20523 int
20524 main ()
20525 {
20526
20527 FILE *f = fopen ("conftest.val", "w");
20528 if (! f)
20529 exit (1);
20530 if (((long) (sizeof (size_t))) < 0)
20531 {
20532 long i = longval ();
20533 if (i != ((long) (sizeof (size_t))))
20534 exit (1);
20535 fprintf (f, "%ld\n", i);
20536 }
20537 else
20538 {
20539 unsigned long i = ulongval ();
20540 if (i != ((long) (sizeof (size_t))))
20541 exit (1);
20542 fprintf (f, "%lu\n", i);
20543 }
20544 exit (ferror (f) || fclose (f) != 0);
20545
20546 ;
20547 return 0;
20548 }
20549 _ACEOF
20550 rm -f conftest$ac_exeext
20551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20552 (eval $ac_link) 2>&5
20553 ac_status=$?
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20557 (eval $ac_try) 2>&5
20558 ac_status=$?
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 ac_cv_sizeof_size_t=`cat conftest.val`
20562 else
20563 echo "$as_me: program exited with status $ac_status" >&5
20564 echo "$as_me: failed program was:" >&5
20565 sed 's/^/| /' conftest.$ac_ext >&5
20566
20567 ( exit $ac_status )
20568 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20569 See \`config.log' for more details." >&5
20570 echo "$as_me: error: cannot compute sizeof (size_t), 77
20571 See \`config.log' for more details." >&2;}
20572 { (exit 1); exit 1; }; }
20573 fi
20574 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20575 fi
20576 fi
20577 rm -f conftest.val
20578 else
20579 ac_cv_sizeof_size_t=0
20580 fi
20581 fi
20582 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20583 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20584 cat >>confdefs.h <<_ACEOF
20585 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20586 _ACEOF
20587
20588
20589
20590 case "${host}" in
20591 arm-*-linux* )
20592 echo "$as_me:$LINENO: checking for long long" >&5
20593 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20594 if test "${ac_cv_type_long_long+set}" = set; then
20595 echo $ECHO_N "(cached) $ECHO_C" >&6
20596 else
20597 cat >conftest.$ac_ext <<_ACEOF
20598 /* confdefs.h. */
20599 _ACEOF
20600 cat confdefs.h >>conftest.$ac_ext
20601 cat >>conftest.$ac_ext <<_ACEOF
20602 /* end confdefs.h. */
20603 $ac_includes_default
20604 int
20605 main ()
20606 {
20607 if ((long long *) 0)
20608 return 0;
20609 if (sizeof (long long))
20610 return 0;
20611 ;
20612 return 0;
20613 }
20614 _ACEOF
20615 rm -f conftest.$ac_objext
20616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20617 (eval $ac_compile) 2>conftest.er1
20618 ac_status=$?
20619 grep -v '^ *+' conftest.er1 >conftest.err
20620 rm -f conftest.er1
20621 cat conftest.err >&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); } &&
20624 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20627 ac_status=$?
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; } &&
20630 { ac_try='test -s conftest.$ac_objext'
20631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632 (eval $ac_try) 2>&5
20633 ac_status=$?
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); }; }; then
20636 ac_cv_type_long_long=yes
20637 else
20638 echo "$as_me: failed program was:" >&5
20639 sed 's/^/| /' conftest.$ac_ext >&5
20640
20641 ac_cv_type_long_long=no
20642 fi
20643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20644 fi
20645 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20646 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20647
20648 echo "$as_me:$LINENO: checking size of long long" >&5
20649 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20650 if test "${ac_cv_sizeof_long_long+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6
20652 else
20653 if test "$ac_cv_type_long_long" = yes; then
20654 # The cast to unsigned long works around a bug in the HP C Compiler
20655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20656 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20657 # This bug is HP SR number 8606223364.
20658 if test "$cross_compiling" = yes; then
20659 # Depending upon the size, compute the lo and hi bounds.
20660 cat >conftest.$ac_ext <<_ACEOF
20661 /* confdefs.h. */
20662 _ACEOF
20663 cat confdefs.h >>conftest.$ac_ext
20664 cat >>conftest.$ac_ext <<_ACEOF
20665 /* end confdefs.h. */
20666 $ac_includes_default
20667 int
20668 main ()
20669 {
20670 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20671 test_array [0] = 0
20672
20673 ;
20674 return 0;
20675 }
20676 _ACEOF
20677 rm -f conftest.$ac_objext
20678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20679 (eval $ac_compile) 2>conftest.er1
20680 ac_status=$?
20681 grep -v '^ *+' conftest.er1 >conftest.err
20682 rm -f conftest.er1
20683 cat conftest.err >&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); } &&
20686 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20688 (eval $ac_try) 2>&5
20689 ac_status=$?
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); }; } &&
20692 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
20698 ac_lo=0 ac_mid=0
20699 while :; do
20700 cat >conftest.$ac_ext <<_ACEOF
20701 /* confdefs.h. */
20702 _ACEOF
20703 cat confdefs.h >>conftest.$ac_ext
20704 cat >>conftest.$ac_ext <<_ACEOF
20705 /* end confdefs.h. */
20706 $ac_includes_default
20707 int
20708 main ()
20709 {
20710 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20711 test_array [0] = 0
20712
20713 ;
20714 return 0;
20715 }
20716 _ACEOF
20717 rm -f conftest.$ac_objext
20718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20719 (eval $ac_compile) 2>conftest.er1
20720 ac_status=$?
20721 grep -v '^ *+' conftest.er1 >conftest.err
20722 rm -f conftest.er1
20723 cat conftest.err >&5
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); } &&
20726 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20728 (eval $ac_try) 2>&5
20729 ac_status=$?
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); }; } &&
20732 { ac_try='test -s conftest.$ac_objext'
20733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20734 (eval $ac_try) 2>&5
20735 ac_status=$?
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); }; }; then
20738 ac_hi=$ac_mid; break
20739 else
20740 echo "$as_me: failed program was:" >&5
20741 sed 's/^/| /' conftest.$ac_ext >&5
20742
20743 ac_lo=`expr $ac_mid + 1`
20744 if test $ac_lo -le $ac_mid; then
20745 ac_lo= ac_hi=
20746 break
20747 fi
20748 ac_mid=`expr 2 '*' $ac_mid + 1`
20749 fi
20750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20751 done
20752 else
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.$ac_ext >&5
20755
20756 cat >conftest.$ac_ext <<_ACEOF
20757 /* confdefs.h. */
20758 _ACEOF
20759 cat confdefs.h >>conftest.$ac_ext
20760 cat >>conftest.$ac_ext <<_ACEOF
20761 /* end confdefs.h. */
20762 $ac_includes_default
20763 int
20764 main ()
20765 {
20766 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20767 test_array [0] = 0
20768
20769 ;
20770 return 0;
20771 }
20772 _ACEOF
20773 rm -f conftest.$ac_objext
20774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20775 (eval $ac_compile) 2>conftest.er1
20776 ac_status=$?
20777 grep -v '^ *+' conftest.er1 >conftest.err
20778 rm -f conftest.er1
20779 cat conftest.err >&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); } &&
20782 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784 (eval $ac_try) 2>&5
20785 ac_status=$?
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; } &&
20788 { ac_try='test -s conftest.$ac_objext'
20789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20790 (eval $ac_try) 2>&5
20791 ac_status=$?
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); }; }; then
20794 ac_hi=-1 ac_mid=-1
20795 while :; do
20796 cat >conftest.$ac_ext <<_ACEOF
20797 /* confdefs.h. */
20798 _ACEOF
20799 cat confdefs.h >>conftest.$ac_ext
20800 cat >>conftest.$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20802 $ac_includes_default
20803 int
20804 main ()
20805 {
20806 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20807 test_array [0] = 0
20808
20809 ;
20810 return 0;
20811 }
20812 _ACEOF
20813 rm -f conftest.$ac_objext
20814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20815 (eval $ac_compile) 2>conftest.er1
20816 ac_status=$?
20817 grep -v '^ *+' conftest.er1 >conftest.err
20818 rm -f conftest.er1
20819 cat conftest.err >&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } &&
20822 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20824 (eval $ac_try) 2>&5
20825 ac_status=$?
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); }; } &&
20828 { ac_try='test -s conftest.$ac_objext'
20829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20830 (eval $ac_try) 2>&5
20831 ac_status=$?
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); }; }; then
20834 ac_lo=$ac_mid; break
20835 else
20836 echo "$as_me: failed program was:" >&5
20837 sed 's/^/| /' conftest.$ac_ext >&5
20838
20839 ac_hi=`expr '(' $ac_mid ')' - 1`
20840 if test $ac_mid -le $ac_hi; then
20841 ac_lo= ac_hi=
20842 break
20843 fi
20844 ac_mid=`expr 2 '*' $ac_mid`
20845 fi
20846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20847 done
20848 else
20849 echo "$as_me: failed program was:" >&5
20850 sed 's/^/| /' conftest.$ac_ext >&5
20851
20852 ac_lo= ac_hi=
20853 fi
20854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20855 fi
20856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20857 # Binary search between lo and hi bounds.
20858 while test "x$ac_lo" != "x$ac_hi"; do
20859 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20860 cat >conftest.$ac_ext <<_ACEOF
20861 /* confdefs.h. */
20862 _ACEOF
20863 cat confdefs.h >>conftest.$ac_ext
20864 cat >>conftest.$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20866 $ac_includes_default
20867 int
20868 main ()
20869 {
20870 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20871 test_array [0] = 0
20872
20873 ;
20874 return 0;
20875 }
20876 _ACEOF
20877 rm -f conftest.$ac_objext
20878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20879 (eval $ac_compile) 2>conftest.er1
20880 ac_status=$?
20881 grep -v '^ *+' conftest.er1 >conftest.err
20882 rm -f conftest.er1
20883 cat conftest.err >&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } &&
20886 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20888 (eval $ac_try) 2>&5
20889 ac_status=$?
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); }; } &&
20892 { ac_try='test -s conftest.$ac_objext'
20893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20894 (eval $ac_try) 2>&5
20895 ac_status=$?
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); }; }; then
20898 ac_hi=$ac_mid
20899 else
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.$ac_ext >&5
20902
20903 ac_lo=`expr '(' $ac_mid ')' + 1`
20904 fi
20905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20906 done
20907 case $ac_lo in
20908 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20909 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20910 See \`config.log' for more details." >&5
20911 echo "$as_me: error: cannot compute sizeof (long long), 77
20912 See \`config.log' for more details." >&2;}
20913 { (exit 1); exit 1; }; } ;;
20914 esac
20915 else
20916 if test "$cross_compiling" = yes; then
20917 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20918 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20919 { (exit 1); exit 1; }; }
20920 else
20921 cat >conftest.$ac_ext <<_ACEOF
20922 /* confdefs.h. */
20923 _ACEOF
20924 cat confdefs.h >>conftest.$ac_ext
20925 cat >>conftest.$ac_ext <<_ACEOF
20926 /* end confdefs.h. */
20927 $ac_includes_default
20928 long longval () { return (long) (sizeof (long long)); }
20929 unsigned long ulongval () { return (long) (sizeof (long long)); }
20930 #include <stdio.h>
20931 #include <stdlib.h>
20932 int
20933 main ()
20934 {
20935
20936 FILE *f = fopen ("conftest.val", "w");
20937 if (! f)
20938 exit (1);
20939 if (((long) (sizeof (long long))) < 0)
20940 {
20941 long i = longval ();
20942 if (i != ((long) (sizeof (long long))))
20943 exit (1);
20944 fprintf (f, "%ld\n", i);
20945 }
20946 else
20947 {
20948 unsigned long i = ulongval ();
20949 if (i != ((long) (sizeof (long long))))
20950 exit (1);
20951 fprintf (f, "%lu\n", i);
20952 }
20953 exit (ferror (f) || fclose (f) != 0);
20954
20955 ;
20956 return 0;
20957 }
20958 _ACEOF
20959 rm -f conftest$ac_exeext
20960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20961 (eval $ac_link) 2>&5
20962 ac_status=$?
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 (eval $ac_try) 2>&5
20967 ac_status=$?
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; }; then
20970 ac_cv_sizeof_long_long=`cat conftest.val`
20971 else
20972 echo "$as_me: program exited with status $ac_status" >&5
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.$ac_ext >&5
20975
20976 ( exit $ac_status )
20977 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20978 See \`config.log' for more details." >&5
20979 echo "$as_me: error: cannot compute sizeof (long long), 77
20980 See \`config.log' for more details." >&2;}
20981 { (exit 1); exit 1; }; }
20982 fi
20983 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20984 fi
20985 fi
20986 rm -f conftest.val
20987 else
20988 ac_cv_sizeof_long_long=0
20989 fi
20990 fi
20991 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20992 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20993 cat >>confdefs.h <<_ACEOF
20994 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20995 _ACEOF
20996
20997
20998 ;;
20999 *-hp-hpux* )
21000 echo "$as_me:$LINENO: checking for long long" >&5
21001 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21002 if test "${ac_cv_type_long_long+set}" = set; then
21003 echo $ECHO_N "(cached) $ECHO_C" >&6
21004 else
21005 cat >conftest.$ac_ext <<_ACEOF
21006 /* confdefs.h. */
21007 _ACEOF
21008 cat confdefs.h >>conftest.$ac_ext
21009 cat >>conftest.$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21011 $ac_includes_default
21012 int
21013 main ()
21014 {
21015 if ((long long *) 0)
21016 return 0;
21017 if (sizeof (long long))
21018 return 0;
21019 ;
21020 return 0;
21021 }
21022 _ACEOF
21023 rm -f conftest.$ac_objext
21024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21025 (eval $ac_compile) 2>conftest.er1
21026 ac_status=$?
21027 grep -v '^ *+' conftest.er1 >conftest.err
21028 rm -f conftest.er1
21029 cat conftest.err >&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); } &&
21032 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034 (eval $ac_try) 2>&5
21035 ac_status=$?
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; } &&
21038 { ac_try='test -s conftest.$ac_objext'
21039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040 (eval $ac_try) 2>&5
21041 ac_status=$?
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; }; then
21044 ac_cv_type_long_long=yes
21045 else
21046 echo "$as_me: failed program was:" >&5
21047 sed 's/^/| /' conftest.$ac_ext >&5
21048
21049 ac_cv_type_long_long=no
21050 fi
21051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21052 fi
21053 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21054 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21055
21056 echo "$as_me:$LINENO: checking size of long long" >&5
21057 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21058 if test "${ac_cv_sizeof_long_long+set}" = set; then
21059 echo $ECHO_N "(cached) $ECHO_C" >&6
21060 else
21061 if test "$ac_cv_type_long_long" = yes; then
21062 # The cast to unsigned long works around a bug in the HP C Compiler
21063 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21064 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21065 # This bug is HP SR number 8606223364.
21066 if test "$cross_compiling" = yes; then
21067 # Depending upon the size, compute the lo and hi bounds.
21068 cat >conftest.$ac_ext <<_ACEOF
21069 /* confdefs.h. */
21070 _ACEOF
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074 $ac_includes_default
21075 int
21076 main ()
21077 {
21078 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21079 test_array [0] = 0
21080
21081 ;
21082 return 0;
21083 }
21084 _ACEOF
21085 rm -f conftest.$ac_objext
21086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21087 (eval $ac_compile) 2>conftest.er1
21088 ac_status=$?
21089 grep -v '^ *+' conftest.er1 >conftest.err
21090 rm -f conftest.er1
21091 cat conftest.err >&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); } &&
21094 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21096 (eval $ac_try) 2>&5
21097 ac_status=$?
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); }; } &&
21100 { ac_try='test -s conftest.$ac_objext'
21101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21102 (eval $ac_try) 2>&5
21103 ac_status=$?
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); }; }; then
21106 ac_lo=0 ac_mid=0
21107 while :; do
21108 cat >conftest.$ac_ext <<_ACEOF
21109 /* confdefs.h. */
21110 _ACEOF
21111 cat confdefs.h >>conftest.$ac_ext
21112 cat >>conftest.$ac_ext <<_ACEOF
21113 /* end confdefs.h. */
21114 $ac_includes_default
21115 int
21116 main ()
21117 {
21118 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21119 test_array [0] = 0
21120
21121 ;
21122 return 0;
21123 }
21124 _ACEOF
21125 rm -f conftest.$ac_objext
21126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21127 (eval $ac_compile) 2>conftest.er1
21128 ac_status=$?
21129 grep -v '^ *+' conftest.er1 >conftest.err
21130 rm -f conftest.er1
21131 cat conftest.err >&5
21132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21133 (exit $ac_status); } &&
21134 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21136 (eval $ac_try) 2>&5
21137 ac_status=$?
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); }; } &&
21140 { ac_try='test -s conftest.$ac_objext'
21141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21142 (eval $ac_try) 2>&5
21143 ac_status=$?
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); }; }; then
21146 ac_hi=$ac_mid; break
21147 else
21148 echo "$as_me: failed program was:" >&5
21149 sed 's/^/| /' conftest.$ac_ext >&5
21150
21151 ac_lo=`expr $ac_mid + 1`
21152 if test $ac_lo -le $ac_mid; then
21153 ac_lo= ac_hi=
21154 break
21155 fi
21156 ac_mid=`expr 2 '*' $ac_mid + 1`
21157 fi
21158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21159 done
21160 else
21161 echo "$as_me: failed program was:" >&5
21162 sed 's/^/| /' conftest.$ac_ext >&5
21163
21164 cat >conftest.$ac_ext <<_ACEOF
21165 /* confdefs.h. */
21166 _ACEOF
21167 cat confdefs.h >>conftest.$ac_ext
21168 cat >>conftest.$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21170 $ac_includes_default
21171 int
21172 main ()
21173 {
21174 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21175 test_array [0] = 0
21176
21177 ;
21178 return 0;
21179 }
21180 _ACEOF
21181 rm -f conftest.$ac_objext
21182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21183 (eval $ac_compile) 2>conftest.er1
21184 ac_status=$?
21185 grep -v '^ *+' conftest.er1 >conftest.err
21186 rm -f conftest.er1
21187 cat conftest.err >&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } &&
21190 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21192 (eval $ac_try) 2>&5
21193 ac_status=$?
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); }; } &&
21196 { ac_try='test -s conftest.$ac_objext'
21197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21198 (eval $ac_try) 2>&5
21199 ac_status=$?
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; }; then
21202 ac_hi=-1 ac_mid=-1
21203 while :; do
21204 cat >conftest.$ac_ext <<_ACEOF
21205 /* confdefs.h. */
21206 _ACEOF
21207 cat confdefs.h >>conftest.$ac_ext
21208 cat >>conftest.$ac_ext <<_ACEOF
21209 /* end confdefs.h. */
21210 $ac_includes_default
21211 int
21212 main ()
21213 {
21214 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21215 test_array [0] = 0
21216
21217 ;
21218 return 0;
21219 }
21220 _ACEOF
21221 rm -f conftest.$ac_objext
21222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21223 (eval $ac_compile) 2>conftest.er1
21224 ac_status=$?
21225 grep -v '^ *+' conftest.er1 >conftest.err
21226 rm -f conftest.er1
21227 cat conftest.err >&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); } &&
21230 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21232 (eval $ac_try) 2>&5
21233 ac_status=$?
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); }; } &&
21236 { ac_try='test -s conftest.$ac_objext'
21237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21238 (eval $ac_try) 2>&5
21239 ac_status=$?
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); }; }; then
21242 ac_lo=$ac_mid; break
21243 else
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.$ac_ext >&5
21246
21247 ac_hi=`expr '(' $ac_mid ')' - 1`
21248 if test $ac_mid -le $ac_hi; then
21249 ac_lo= ac_hi=
21250 break
21251 fi
21252 ac_mid=`expr 2 '*' $ac_mid`
21253 fi
21254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21255 done
21256 else
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.$ac_ext >&5
21259
21260 ac_lo= ac_hi=
21261 fi
21262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21263 fi
21264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21265 # Binary search between lo and hi bounds.
21266 while test "x$ac_lo" != "x$ac_hi"; do
21267 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21268 cat >conftest.$ac_ext <<_ACEOF
21269 /* confdefs.h. */
21270 _ACEOF
21271 cat confdefs.h >>conftest.$ac_ext
21272 cat >>conftest.$ac_ext <<_ACEOF
21273 /* end confdefs.h. */
21274 $ac_includes_default
21275 int
21276 main ()
21277 {
21278 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21279 test_array [0] = 0
21280
21281 ;
21282 return 0;
21283 }
21284 _ACEOF
21285 rm -f conftest.$ac_objext
21286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21287 (eval $ac_compile) 2>conftest.er1
21288 ac_status=$?
21289 grep -v '^ *+' conftest.er1 >conftest.err
21290 rm -f conftest.er1
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } &&
21294 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
21300 { ac_try='test -s conftest.$ac_objext'
21301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21302 (eval $ac_try) 2>&5
21303 ac_status=$?
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); }; }; then
21306 ac_hi=$ac_mid
21307 else
21308 echo "$as_me: failed program was:" >&5
21309 sed 's/^/| /' conftest.$ac_ext >&5
21310
21311 ac_lo=`expr '(' $ac_mid ')' + 1`
21312 fi
21313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21314 done
21315 case $ac_lo in
21316 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21317 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21318 See \`config.log' for more details." >&5
21319 echo "$as_me: error: cannot compute sizeof (long long), 77
21320 See \`config.log' for more details." >&2;}
21321 { (exit 1); exit 1; }; } ;;
21322 esac
21323 else
21324 if test "$cross_compiling" = yes; then
21325 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21326 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21327 { (exit 1); exit 1; }; }
21328 else
21329 cat >conftest.$ac_ext <<_ACEOF
21330 /* confdefs.h. */
21331 _ACEOF
21332 cat confdefs.h >>conftest.$ac_ext
21333 cat >>conftest.$ac_ext <<_ACEOF
21334 /* end confdefs.h. */
21335 $ac_includes_default
21336 long longval () { return (long) (sizeof (long long)); }
21337 unsigned long ulongval () { return (long) (sizeof (long long)); }
21338 #include <stdio.h>
21339 #include <stdlib.h>
21340 int
21341 main ()
21342 {
21343
21344 FILE *f = fopen ("conftest.val", "w");
21345 if (! f)
21346 exit (1);
21347 if (((long) (sizeof (long long))) < 0)
21348 {
21349 long i = longval ();
21350 if (i != ((long) (sizeof (long long))))
21351 exit (1);
21352 fprintf (f, "%ld\n", i);
21353 }
21354 else
21355 {
21356 unsigned long i = ulongval ();
21357 if (i != ((long) (sizeof (long long))))
21358 exit (1);
21359 fprintf (f, "%lu\n", i);
21360 }
21361 exit (ferror (f) || fclose (f) != 0);
21362
21363 ;
21364 return 0;
21365 }
21366 _ACEOF
21367 rm -f conftest$ac_exeext
21368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21369 (eval $ac_link) 2>&5
21370 ac_status=$?
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_sizeof_long_long=`cat conftest.val`
21379 else
21380 echo "$as_me: program exited with status $ac_status" >&5
21381 echo "$as_me: failed program was:" >&5
21382 sed 's/^/| /' conftest.$ac_ext >&5
21383
21384 ( exit $ac_status )
21385 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21386 See \`config.log' for more details." >&5
21387 echo "$as_me: error: cannot compute sizeof (long long), 77
21388 See \`config.log' for more details." >&2;}
21389 { (exit 1); exit 1; }; }
21390 fi
21391 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21392 fi
21393 fi
21394 rm -f conftest.val
21395 else
21396 ac_cv_sizeof_long_long=0
21397 fi
21398 fi
21399 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21400 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21401 cat >>confdefs.h <<_ACEOF
21402 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21403 _ACEOF
21404
21405
21406 if test "$ac_cv_sizeof_long_long" != "0"; then
21407 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21408 fi
21409 ;;
21410 * )
21411 echo "$as_me:$LINENO: checking for long long" >&5
21412 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21413 if test "${ac_cv_type_long_long+set}" = set; then
21414 echo $ECHO_N "(cached) $ECHO_C" >&6
21415 else
21416 cat >conftest.$ac_ext <<_ACEOF
21417 /* confdefs.h. */
21418 _ACEOF
21419 cat confdefs.h >>conftest.$ac_ext
21420 cat >>conftest.$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21422 $ac_includes_default
21423 int
21424 main ()
21425 {
21426 if ((long long *) 0)
21427 return 0;
21428 if (sizeof (long long))
21429 return 0;
21430 ;
21431 return 0;
21432 }
21433 _ACEOF
21434 rm -f conftest.$ac_objext
21435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21436 (eval $ac_compile) 2>conftest.er1
21437 ac_status=$?
21438 grep -v '^ *+' conftest.er1 >conftest.err
21439 rm -f conftest.er1
21440 cat conftest.err >&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); } &&
21443 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21445 (eval $ac_try) 2>&5
21446 ac_status=$?
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); }; } &&
21449 { ac_try='test -s conftest.$ac_objext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21452 ac_status=$?
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21455 ac_cv_type_long_long=yes
21456 else
21457 echo "$as_me: failed program was:" >&5
21458 sed 's/^/| /' conftest.$ac_ext >&5
21459
21460 ac_cv_type_long_long=no
21461 fi
21462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21463 fi
21464 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21465 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21466
21467 echo "$as_me:$LINENO: checking size of long long" >&5
21468 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21469 if test "${ac_cv_sizeof_long_long+set}" = set; then
21470 echo $ECHO_N "(cached) $ECHO_C" >&6
21471 else
21472 if test "$ac_cv_type_long_long" = yes; then
21473 # The cast to unsigned long works around a bug in the HP C Compiler
21474 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21475 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21476 # This bug is HP SR number 8606223364.
21477 if test "$cross_compiling" = yes; then
21478 # Depending upon the size, compute the lo and hi bounds.
21479 cat >conftest.$ac_ext <<_ACEOF
21480 /* confdefs.h. */
21481 _ACEOF
21482 cat confdefs.h >>conftest.$ac_ext
21483 cat >>conftest.$ac_ext <<_ACEOF
21484 /* end confdefs.h. */
21485 $ac_includes_default
21486 int
21487 main ()
21488 {
21489 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21490 test_array [0] = 0
21491
21492 ;
21493 return 0;
21494 }
21495 _ACEOF
21496 rm -f conftest.$ac_objext
21497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21498 (eval $ac_compile) 2>conftest.er1
21499 ac_status=$?
21500 grep -v '^ *+' conftest.er1 >conftest.err
21501 rm -f conftest.er1
21502 cat conftest.err >&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } &&
21505 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21507 (eval $ac_try) 2>&5
21508 ac_status=$?
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; } &&
21511 { ac_try='test -s conftest.$ac_objext'
21512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21513 (eval $ac_try) 2>&5
21514 ac_status=$?
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); }; }; then
21517 ac_lo=0 ac_mid=0
21518 while :; do
21519 cat >conftest.$ac_ext <<_ACEOF
21520 /* confdefs.h. */
21521 _ACEOF
21522 cat confdefs.h >>conftest.$ac_ext
21523 cat >>conftest.$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21525 $ac_includes_default
21526 int
21527 main ()
21528 {
21529 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21530 test_array [0] = 0
21531
21532 ;
21533 return 0;
21534 }
21535 _ACEOF
21536 rm -f conftest.$ac_objext
21537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21538 (eval $ac_compile) 2>conftest.er1
21539 ac_status=$?
21540 grep -v '^ *+' conftest.er1 >conftest.err
21541 rm -f conftest.er1
21542 cat conftest.err >&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } &&
21545 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21547 (eval $ac_try) 2>&5
21548 ac_status=$?
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); }; } &&
21551 { ac_try='test -s conftest.$ac_objext'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21554 ac_status=$?
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; }; then
21557 ac_hi=$ac_mid; break
21558 else
21559 echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.$ac_ext >&5
21561
21562 ac_lo=`expr $ac_mid + 1`
21563 if test $ac_lo -le $ac_mid; then
21564 ac_lo= ac_hi=
21565 break
21566 fi
21567 ac_mid=`expr 2 '*' $ac_mid + 1`
21568 fi
21569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21570 done
21571 else
21572 echo "$as_me: failed program was:" >&5
21573 sed 's/^/| /' conftest.$ac_ext >&5
21574
21575 cat >conftest.$ac_ext <<_ACEOF
21576 /* confdefs.h. */
21577 _ACEOF
21578 cat confdefs.h >>conftest.$ac_ext
21579 cat >>conftest.$ac_ext <<_ACEOF
21580 /* end confdefs.h. */
21581 $ac_includes_default
21582 int
21583 main ()
21584 {
21585 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21586 test_array [0] = 0
21587
21588 ;
21589 return 0;
21590 }
21591 _ACEOF
21592 rm -f conftest.$ac_objext
21593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21594 (eval $ac_compile) 2>conftest.er1
21595 ac_status=$?
21596 grep -v '^ *+' conftest.er1 >conftest.err
21597 rm -f conftest.er1
21598 cat conftest.err >&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); } &&
21601 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21603 (eval $ac_try) 2>&5
21604 ac_status=$?
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); }; } &&
21607 { ac_try='test -s conftest.$ac_objext'
21608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21609 (eval $ac_try) 2>&5
21610 ac_status=$?
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); }; }; then
21613 ac_hi=-1 ac_mid=-1
21614 while :; do
21615 cat >conftest.$ac_ext <<_ACEOF
21616 /* confdefs.h. */
21617 _ACEOF
21618 cat confdefs.h >>conftest.$ac_ext
21619 cat >>conftest.$ac_ext <<_ACEOF
21620 /* end confdefs.h. */
21621 $ac_includes_default
21622 int
21623 main ()
21624 {
21625 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21626 test_array [0] = 0
21627
21628 ;
21629 return 0;
21630 }
21631 _ACEOF
21632 rm -f conftest.$ac_objext
21633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21634 (eval $ac_compile) 2>conftest.er1
21635 ac_status=$?
21636 grep -v '^ *+' conftest.er1 >conftest.err
21637 rm -f conftest.er1
21638 cat conftest.err >&5
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); } &&
21641 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21643 (eval $ac_try) 2>&5
21644 ac_status=$?
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); }; } &&
21647 { ac_try='test -s conftest.$ac_objext'
21648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21649 (eval $ac_try) 2>&5
21650 ac_status=$?
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); }; }; then
21653 ac_lo=$ac_mid; break
21654 else
21655 echo "$as_me: failed program was:" >&5
21656 sed 's/^/| /' conftest.$ac_ext >&5
21657
21658 ac_hi=`expr '(' $ac_mid ')' - 1`
21659 if test $ac_mid -le $ac_hi; then
21660 ac_lo= ac_hi=
21661 break
21662 fi
21663 ac_mid=`expr 2 '*' $ac_mid`
21664 fi
21665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21666 done
21667 else
21668 echo "$as_me: failed program was:" >&5
21669 sed 's/^/| /' conftest.$ac_ext >&5
21670
21671 ac_lo= ac_hi=
21672 fi
21673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21674 fi
21675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21676 # Binary search between lo and hi bounds.
21677 while test "x$ac_lo" != "x$ac_hi"; do
21678 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21679 cat >conftest.$ac_ext <<_ACEOF
21680 /* confdefs.h. */
21681 _ACEOF
21682 cat confdefs.h >>conftest.$ac_ext
21683 cat >>conftest.$ac_ext <<_ACEOF
21684 /* end confdefs.h. */
21685 $ac_includes_default
21686 int
21687 main ()
21688 {
21689 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21690 test_array [0] = 0
21691
21692 ;
21693 return 0;
21694 }
21695 _ACEOF
21696 rm -f conftest.$ac_objext
21697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21698 (eval $ac_compile) 2>conftest.er1
21699 ac_status=$?
21700 grep -v '^ *+' conftest.er1 >conftest.err
21701 rm -f conftest.er1
21702 cat conftest.err >&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); } &&
21705 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21707 (eval $ac_try) 2>&5
21708 ac_status=$?
21709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21710 (exit $ac_status); }; } &&
21711 { ac_try='test -s conftest.$ac_objext'
21712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21713 (eval $ac_try) 2>&5
21714 ac_status=$?
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); }; }; then
21717 ac_hi=$ac_mid
21718 else
21719 echo "$as_me: failed program was:" >&5
21720 sed 's/^/| /' conftest.$ac_ext >&5
21721
21722 ac_lo=`expr '(' $ac_mid ')' + 1`
21723 fi
21724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21725 done
21726 case $ac_lo in
21727 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21728 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21729 See \`config.log' for more details." >&5
21730 echo "$as_me: error: cannot compute sizeof (long long), 77
21731 See \`config.log' for more details." >&2;}
21732 { (exit 1); exit 1; }; } ;;
21733 esac
21734 else
21735 if test "$cross_compiling" = yes; then
21736 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21737 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21738 { (exit 1); exit 1; }; }
21739 else
21740 cat >conftest.$ac_ext <<_ACEOF
21741 /* confdefs.h. */
21742 _ACEOF
21743 cat confdefs.h >>conftest.$ac_ext
21744 cat >>conftest.$ac_ext <<_ACEOF
21745 /* end confdefs.h. */
21746 $ac_includes_default
21747 long longval () { return (long) (sizeof (long long)); }
21748 unsigned long ulongval () { return (long) (sizeof (long long)); }
21749 #include <stdio.h>
21750 #include <stdlib.h>
21751 int
21752 main ()
21753 {
21754
21755 FILE *f = fopen ("conftest.val", "w");
21756 if (! f)
21757 exit (1);
21758 if (((long) (sizeof (long long))) < 0)
21759 {
21760 long i = longval ();
21761 if (i != ((long) (sizeof (long long))))
21762 exit (1);
21763 fprintf (f, "%ld\n", i);
21764 }
21765 else
21766 {
21767 unsigned long i = ulongval ();
21768 if (i != ((long) (sizeof (long long))))
21769 exit (1);
21770 fprintf (f, "%lu\n", i);
21771 }
21772 exit (ferror (f) || fclose (f) != 0);
21773
21774 ;
21775 return 0;
21776 }
21777 _ACEOF
21778 rm -f conftest$ac_exeext
21779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21780 (eval $ac_link) 2>&5
21781 ac_status=$?
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21785 (eval $ac_try) 2>&5
21786 ac_status=$?
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); }; }; then
21789 ac_cv_sizeof_long_long=`cat conftest.val`
21790 else
21791 echo "$as_me: program exited with status $ac_status" >&5
21792 echo "$as_me: failed program was:" >&5
21793 sed 's/^/| /' conftest.$ac_ext >&5
21794
21795 ( exit $ac_status )
21796 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21797 See \`config.log' for more details." >&5
21798 echo "$as_me: error: cannot compute sizeof (long long), 77
21799 See \`config.log' for more details." >&2;}
21800 { (exit 1); exit 1; }; }
21801 fi
21802 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21803 fi
21804 fi
21805 rm -f conftest.val
21806 else
21807 ac_cv_sizeof_long_long=0
21808 fi
21809 fi
21810 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21811 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21812 cat >>confdefs.h <<_ACEOF
21813 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21814 _ACEOF
21815
21816
21817 esac
21818
21819 echo "$as_me:$LINENO: checking for wchar_t" >&5
21820 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21821 if test "${ac_cv_type_wchar_t+set}" = set; then
21822 echo $ECHO_N "(cached) $ECHO_C" >&6
21823 else
21824 cat >conftest.$ac_ext <<_ACEOF
21825 /* confdefs.h. */
21826 _ACEOF
21827 cat confdefs.h >>conftest.$ac_ext
21828 cat >>conftest.$ac_ext <<_ACEOF
21829 /* end confdefs.h. */
21830
21831 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21832 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21833 # error "fake wchar_t"
21834 #endif
21835 #ifdef HAVE_WCHAR_H
21836 # ifdef __CYGWIN__
21837 # include <stddef.h>
21838 # endif
21839 # include <wchar.h>
21840 #endif
21841 #ifdef HAVE_STDLIB_H
21842 # include <stdlib.h>
21843 #endif
21844 #include <stdio.h>
21845
21846
21847
21848 int
21849 main ()
21850 {
21851 if ((wchar_t *) 0)
21852 return 0;
21853 if (sizeof (wchar_t))
21854 return 0;
21855 ;
21856 return 0;
21857 }
21858 _ACEOF
21859 rm -f conftest.$ac_objext
21860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21861 (eval $ac_compile) 2>conftest.er1
21862 ac_status=$?
21863 grep -v '^ *+' conftest.er1 >conftest.err
21864 rm -f conftest.er1
21865 cat conftest.err >&5
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); } &&
21868 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21870 (eval $ac_try) 2>&5
21871 ac_status=$?
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); }; } &&
21874 { ac_try='test -s conftest.$ac_objext'
21875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21876 (eval $ac_try) 2>&5
21877 ac_status=$?
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); }; }; then
21880 ac_cv_type_wchar_t=yes
21881 else
21882 echo "$as_me: failed program was:" >&5
21883 sed 's/^/| /' conftest.$ac_ext >&5
21884
21885 ac_cv_type_wchar_t=no
21886 fi
21887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21888 fi
21889 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21890 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21891
21892 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21893 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21894 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21895 echo $ECHO_N "(cached) $ECHO_C" >&6
21896 else
21897 if test "$ac_cv_type_wchar_t" = yes; then
21898 # The cast to unsigned long works around a bug in the HP C Compiler
21899 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21900 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21901 # This bug is HP SR number 8606223364.
21902 if test "$cross_compiling" = yes; then
21903 # Depending upon the size, compute the lo and hi bounds.
21904 cat >conftest.$ac_ext <<_ACEOF
21905 /* confdefs.h. */
21906 _ACEOF
21907 cat confdefs.h >>conftest.$ac_ext
21908 cat >>conftest.$ac_ext <<_ACEOF
21909 /* end confdefs.h. */
21910
21911 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21912 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21913 # error "fake wchar_t"
21914 #endif
21915 #ifdef HAVE_WCHAR_H
21916 # ifdef __CYGWIN__
21917 # include <stddef.h>
21918 # endif
21919 # include <wchar.h>
21920 #endif
21921 #ifdef HAVE_STDLIB_H
21922 # include <stdlib.h>
21923 #endif
21924 #include <stdio.h>
21925
21926
21927
21928 int
21929 main ()
21930 {
21931 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21932 test_array [0] = 0
21933
21934 ;
21935 return 0;
21936 }
21937 _ACEOF
21938 rm -f conftest.$ac_objext
21939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21940 (eval $ac_compile) 2>conftest.er1
21941 ac_status=$?
21942 grep -v '^ *+' conftest.er1 >conftest.err
21943 rm -f conftest.er1
21944 cat conftest.err >&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); } &&
21947 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21949 (eval $ac_try) 2>&5
21950 ac_status=$?
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); }; } &&
21953 { ac_try='test -s conftest.$ac_objext'
21954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21955 (eval $ac_try) 2>&5
21956 ac_status=$?
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); }; }; then
21959 ac_lo=0 ac_mid=0
21960 while :; do
21961 cat >conftest.$ac_ext <<_ACEOF
21962 /* confdefs.h. */
21963 _ACEOF
21964 cat confdefs.h >>conftest.$ac_ext
21965 cat >>conftest.$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21967
21968 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21969 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21970 # error "fake wchar_t"
21971 #endif
21972 #ifdef HAVE_WCHAR_H
21973 # ifdef __CYGWIN__
21974 # include <stddef.h>
21975 # endif
21976 # include <wchar.h>
21977 #endif
21978 #ifdef HAVE_STDLIB_H
21979 # include <stdlib.h>
21980 #endif
21981 #include <stdio.h>
21982
21983
21984
21985 int
21986 main ()
21987 {
21988 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21989 test_array [0] = 0
21990
21991 ;
21992 return 0;
21993 }
21994 _ACEOF
21995 rm -f conftest.$ac_objext
21996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21997 (eval $ac_compile) 2>conftest.er1
21998 ac_status=$?
21999 grep -v '^ *+' conftest.er1 >conftest.err
22000 rm -f conftest.er1
22001 cat conftest.err >&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); } &&
22004 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22006 (eval $ac_try) 2>&5
22007 ac_status=$?
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); }; } &&
22010 { ac_try='test -s conftest.$ac_objext'
22011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22012 (eval $ac_try) 2>&5
22013 ac_status=$?
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); }; }; then
22016 ac_hi=$ac_mid; break
22017 else
22018 echo "$as_me: failed program was:" >&5
22019 sed 's/^/| /' conftest.$ac_ext >&5
22020
22021 ac_lo=`expr $ac_mid + 1`
22022 if test $ac_lo -le $ac_mid; then
22023 ac_lo= ac_hi=
22024 break
22025 fi
22026 ac_mid=`expr 2 '*' $ac_mid + 1`
22027 fi
22028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22029 done
22030 else
22031 echo "$as_me: failed program was:" >&5
22032 sed 's/^/| /' conftest.$ac_ext >&5
22033
22034 cat >conftest.$ac_ext <<_ACEOF
22035 /* confdefs.h. */
22036 _ACEOF
22037 cat confdefs.h >>conftest.$ac_ext
22038 cat >>conftest.$ac_ext <<_ACEOF
22039 /* end confdefs.h. */
22040
22041 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22042 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22043 # error "fake wchar_t"
22044 #endif
22045 #ifdef HAVE_WCHAR_H
22046 # ifdef __CYGWIN__
22047 # include <stddef.h>
22048 # endif
22049 # include <wchar.h>
22050 #endif
22051 #ifdef HAVE_STDLIB_H
22052 # include <stdlib.h>
22053 #endif
22054 #include <stdio.h>
22055
22056
22057
22058 int
22059 main ()
22060 {
22061 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22062 test_array [0] = 0
22063
22064 ;
22065 return 0;
22066 }
22067 _ACEOF
22068 rm -f conftest.$ac_objext
22069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22070 (eval $ac_compile) 2>conftest.er1
22071 ac_status=$?
22072 grep -v '^ *+' conftest.er1 >conftest.err
22073 rm -f conftest.er1
22074 cat conftest.err >&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } &&
22077 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22079 (eval $ac_try) 2>&5
22080 ac_status=$?
22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22082 (exit $ac_status); }; } &&
22083 { ac_try='test -s conftest.$ac_objext'
22084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22085 (eval $ac_try) 2>&5
22086 ac_status=$?
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 (exit $ac_status); }; }; then
22089 ac_hi=-1 ac_mid=-1
22090 while :; do
22091 cat >conftest.$ac_ext <<_ACEOF
22092 /* confdefs.h. */
22093 _ACEOF
22094 cat confdefs.h >>conftest.$ac_ext
22095 cat >>conftest.$ac_ext <<_ACEOF
22096 /* end confdefs.h. */
22097
22098 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22099 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22100 # error "fake wchar_t"
22101 #endif
22102 #ifdef HAVE_WCHAR_H
22103 # ifdef __CYGWIN__
22104 # include <stddef.h>
22105 # endif
22106 # include <wchar.h>
22107 #endif
22108 #ifdef HAVE_STDLIB_H
22109 # include <stdlib.h>
22110 #endif
22111 #include <stdio.h>
22112
22113
22114
22115 int
22116 main ()
22117 {
22118 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22119 test_array [0] = 0
22120
22121 ;
22122 return 0;
22123 }
22124 _ACEOF
22125 rm -f conftest.$ac_objext
22126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22127 (eval $ac_compile) 2>conftest.er1
22128 ac_status=$?
22129 grep -v '^ *+' conftest.er1 >conftest.err
22130 rm -f conftest.er1
22131 cat conftest.err >&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); } &&
22134 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136 (eval $ac_try) 2>&5
22137 ac_status=$?
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); }; } &&
22140 { ac_try='test -s conftest.$ac_objext'
22141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22142 (eval $ac_try) 2>&5
22143 ac_status=$?
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); }; }; then
22146 ac_lo=$ac_mid; break
22147 else
22148 echo "$as_me: failed program was:" >&5
22149 sed 's/^/| /' conftest.$ac_ext >&5
22150
22151 ac_hi=`expr '(' $ac_mid ')' - 1`
22152 if test $ac_mid -le $ac_hi; then
22153 ac_lo= ac_hi=
22154 break
22155 fi
22156 ac_mid=`expr 2 '*' $ac_mid`
22157 fi
22158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22159 done
22160 else
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.$ac_ext >&5
22163
22164 ac_lo= ac_hi=
22165 fi
22166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22167 fi
22168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22169 # Binary search between lo and hi bounds.
22170 while test "x$ac_lo" != "x$ac_hi"; do
22171 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22172 cat >conftest.$ac_ext <<_ACEOF
22173 /* confdefs.h. */
22174 _ACEOF
22175 cat confdefs.h >>conftest.$ac_ext
22176 cat >>conftest.$ac_ext <<_ACEOF
22177 /* end confdefs.h. */
22178
22179 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22180 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22181 # error "fake wchar_t"
22182 #endif
22183 #ifdef HAVE_WCHAR_H
22184 # ifdef __CYGWIN__
22185 # include <stddef.h>
22186 # endif
22187 # include <wchar.h>
22188 #endif
22189 #ifdef HAVE_STDLIB_H
22190 # include <stdlib.h>
22191 #endif
22192 #include <stdio.h>
22193
22194
22195
22196 int
22197 main ()
22198 {
22199 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22200 test_array [0] = 0
22201
22202 ;
22203 return 0;
22204 }
22205 _ACEOF
22206 rm -f conftest.$ac_objext
22207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22208 (eval $ac_compile) 2>conftest.er1
22209 ac_status=$?
22210 grep -v '^ *+' conftest.er1 >conftest.err
22211 rm -f conftest.er1
22212 cat conftest.err >&5
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); } &&
22215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22217 (eval $ac_try) 2>&5
22218 ac_status=$?
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); }; } &&
22221 { ac_try='test -s conftest.$ac_objext'
22222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22223 (eval $ac_try) 2>&5
22224 ac_status=$?
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); }; }; then
22227 ac_hi=$ac_mid
22228 else
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.$ac_ext >&5
22231
22232 ac_lo=`expr '(' $ac_mid ')' + 1`
22233 fi
22234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22235 done
22236 case $ac_lo in
22237 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22238 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22239 See \`config.log' for more details." >&5
22240 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22241 See \`config.log' for more details." >&2;}
22242 { (exit 1); exit 1; }; } ;;
22243 esac
22244 else
22245 if test "$cross_compiling" = yes; then
22246 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22247 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22248 { (exit 1); exit 1; }; }
22249 else
22250 cat >conftest.$ac_ext <<_ACEOF
22251 /* confdefs.h. */
22252 _ACEOF
22253 cat confdefs.h >>conftest.$ac_ext
22254 cat >>conftest.$ac_ext <<_ACEOF
22255 /* end confdefs.h. */
22256
22257 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22258 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22259 # error "fake wchar_t"
22260 #endif
22261 #ifdef HAVE_WCHAR_H
22262 # ifdef __CYGWIN__
22263 # include <stddef.h>
22264 # endif
22265 # include <wchar.h>
22266 #endif
22267 #ifdef HAVE_STDLIB_H
22268 # include <stdlib.h>
22269 #endif
22270 #include <stdio.h>
22271
22272
22273
22274 long longval () { return (long) (sizeof (wchar_t)); }
22275 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22276 #include <stdio.h>
22277 #include <stdlib.h>
22278 int
22279 main ()
22280 {
22281
22282 FILE *f = fopen ("conftest.val", "w");
22283 if (! f)
22284 exit (1);
22285 if (((long) (sizeof (wchar_t))) < 0)
22286 {
22287 long i = longval ();
22288 if (i != ((long) (sizeof (wchar_t))))
22289 exit (1);
22290 fprintf (f, "%ld\n", i);
22291 }
22292 else
22293 {
22294 unsigned long i = ulongval ();
22295 if (i != ((long) (sizeof (wchar_t))))
22296 exit (1);
22297 fprintf (f, "%lu\n", i);
22298 }
22299 exit (ferror (f) || fclose (f) != 0);
22300
22301 ;
22302 return 0;
22303 }
22304 _ACEOF
22305 rm -f conftest$ac_exeext
22306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22307 (eval $ac_link) 2>&5
22308 ac_status=$?
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22312 (eval $ac_try) 2>&5
22313 ac_status=$?
22314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22315 (exit $ac_status); }; }; then
22316 ac_cv_sizeof_wchar_t=`cat conftest.val`
22317 else
22318 echo "$as_me: program exited with status $ac_status" >&5
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.$ac_ext >&5
22321
22322 ( exit $ac_status )
22323 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22324 See \`config.log' for more details." >&5
22325 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22326 See \`config.log' for more details." >&2;}
22327 { (exit 1); exit 1; }; }
22328 fi
22329 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22330 fi
22331 fi
22332 rm -f conftest.val
22333 else
22334 ac_cv_sizeof_wchar_t=0
22335 fi
22336 fi
22337 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22338 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22339 cat >>confdefs.h <<_ACEOF
22340 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22341 _ACEOF
22342
22343
22344 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22345 wxUSE_WCHAR_T=yes
22346 else
22347 wxUSE_WCHAR_T=no
22348 fi
22349
22350 echo "$as_me:$LINENO: checking for va_copy" >&5
22351 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22352 if test "${wx_cv_func_va_copy+set}" = set; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22354 else
22355
22356 cat >conftest.$ac_ext <<_ACEOF
22357
22358 #include <stdarg.h>
22359 void foo(char *f, ...)
22360 {
22361 va_list ap1, ap2;
22362 va_start(ap1, f);
22363 va_copy(ap2, ap1);
22364 va_end(ap2);
22365 va_end(ap1);
22366 }
22367 int main()
22368 {
22369 foo("hi", 17);
22370 return 0;
22371 }
22372 _ACEOF
22373 rm -f conftest.$ac_objext conftest$ac_exeext
22374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22375 (eval $ac_link) 2>conftest.er1
22376 ac_status=$?
22377 grep -v '^ *+' conftest.er1 >conftest.err
22378 rm -f conftest.er1
22379 cat conftest.err >&5
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); } &&
22382 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22384 (eval $ac_try) 2>&5
22385 ac_status=$?
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); }; } &&
22388 { ac_try='test -s conftest$ac_exeext'
22389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22390 (eval $ac_try) 2>&5
22391 ac_status=$?
22392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22393 (exit $ac_status); }; }; then
22394 wx_cv_func_va_copy=yes
22395 else
22396 echo "$as_me: failed program was:" >&5
22397 sed 's/^/| /' conftest.$ac_ext >&5
22398
22399 wx_cv_func_va_copy=no
22400
22401 fi
22402 rm -f conftest.err conftest.$ac_objext \
22403 conftest$ac_exeext conftest.$ac_ext
22404
22405
22406 fi
22407 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22408 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22409
22410 if test $wx_cv_func_va_copy = "yes"; then
22411 cat >>confdefs.h <<\_ACEOF
22412 #define HAVE_VA_COPY 1
22413 _ACEOF
22414
22415 else
22416 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22417 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22418 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22419 echo $ECHO_N "(cached) $ECHO_C" >&6
22420 else
22421
22422 if test "$cross_compiling" = yes; then
22423 wx_cv_type_va_list_lvalue=yes
22424
22425 else
22426 cat >conftest.$ac_ext <<_ACEOF
22427
22428 #include <stdarg.h>
22429 int foo(char *f, ...)
22430 {
22431 va_list ap1, ap2;
22432 va_start(ap1, f);
22433 ap2 = ap1;
22434 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22435 return 1;
22436 va_end(ap2);
22437 va_end(ap1);
22438 return 0;
22439 }
22440 int main()
22441 {
22442 return foo("hi", 17);
22443 }
22444 _ACEOF
22445 rm -f conftest$ac_exeext
22446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22447 (eval $ac_link) 2>&5
22448 ac_status=$?
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22452 (eval $ac_try) 2>&5
22453 ac_status=$?
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); }; }; then
22456 wx_cv_type_va_list_lvalue=yes
22457 else
22458 echo "$as_me: program exited with status $ac_status" >&5
22459 echo "$as_me: failed program was:" >&5
22460 sed 's/^/| /' conftest.$ac_ext >&5
22461
22462 ( exit $ac_status )
22463 wx_cv_type_va_list_lvalue=no
22464 fi
22465 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22466 fi
22467
22468
22469 fi
22470 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22471 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22472
22473 if test $wx_cv_type_va_list_lvalue != "yes"; then
22474 cat >>confdefs.h <<\_ACEOF
22475 #define VA_LIST_IS_ARRAY 1
22476 _ACEOF
22477
22478 fi
22479 fi
22480
22481 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22482 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22483 if test "${wx_cv_have_variadic_macros+set}" = set; then
22484 echo $ECHO_N "(cached) $ECHO_C" >&6
22485 else
22486
22487 cat >conftest.$ac_ext <<_ACEOF
22488 /* confdefs.h. */
22489 _ACEOF
22490 cat confdefs.h >>conftest.$ac_ext
22491 cat >>conftest.$ac_ext <<_ACEOF
22492 /* end confdefs.h. */
22493
22494 #include <stdio.h>
22495 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22496
22497 int
22498 main ()
22499 {
22500
22501 test("%s %d %p", "test", 1, 0);
22502
22503
22504 ;
22505 return 0;
22506 }
22507 _ACEOF
22508 rm -f conftest.$ac_objext
22509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22510 (eval $ac_compile) 2>conftest.er1
22511 ac_status=$?
22512 grep -v '^ *+' conftest.er1 >conftest.err
22513 rm -f conftest.er1
22514 cat conftest.err >&5
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); } &&
22517 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22519 (eval $ac_try) 2>&5
22520 ac_status=$?
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); }; } &&
22523 { ac_try='test -s conftest.$ac_objext'
22524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22525 (eval $ac_try) 2>&5
22526 ac_status=$?
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); }; }; then
22529 wx_cv_have_variadic_macros=yes
22530 else
22531 echo "$as_me: failed program was:" >&5
22532 sed 's/^/| /' conftest.$ac_ext >&5
22533
22534 wx_cv_have_variadic_macros=no
22535
22536 fi
22537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22538
22539
22540 fi
22541 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22542 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22543
22544 if test $wx_cv_have_variadic_macros = "yes"; then
22545 cat >>confdefs.h <<\_ACEOF
22546 #define HAVE_VARIADIC_MACROS 1
22547 _ACEOF
22548
22549 fi
22550
22551 # Check whether --enable-largefile or --disable-largefile was given.
22552 if test "${enable_largefile+set}" = set; then
22553 enableval="$enable_largefile"
22554
22555 fi;
22556 if test "$enable_largefile" != no; then
22557 wx_largefile=no
22558
22559 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22560 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22561 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22562 echo $ECHO_N "(cached) $ECHO_C" >&6
22563 else
22564
22565 cat >conftest.$ac_ext <<_ACEOF
22566 /* confdefs.h. */
22567 _ACEOF
22568 cat confdefs.h >>conftest.$ac_ext
22569 cat >>conftest.$ac_ext <<_ACEOF
22570 /* end confdefs.h. */
22571 #define _FILE_OFFSET_BITS 64
22572 #include <sys/types.h>
22573 int
22574 main ()
22575 {
22576 typedef struct {
22577 unsigned int field: sizeof(off_t) == 8;
22578 } wxlf;
22579
22580 ;
22581 return 0;
22582 }
22583 _ACEOF
22584 rm -f conftest.$ac_objext
22585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22586 (eval $ac_compile) 2>conftest.er1
22587 ac_status=$?
22588 grep -v '^ *+' conftest.er1 >conftest.err
22589 rm -f conftest.er1
22590 cat conftest.err >&5
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); } &&
22593 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22595 (eval $ac_try) 2>&5
22596 ac_status=$?
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; } &&
22599 { ac_try='test -s conftest.$ac_objext'
22600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22601 (eval $ac_try) 2>&5
22602 ac_status=$?
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); }; }; then
22605 ac_cv_sys_file_offset_bits=64
22606 else
22607 echo "$as_me: failed program was:" >&5
22608 sed 's/^/| /' conftest.$ac_ext >&5
22609
22610 ac_cv_sys_file_offset_bits=no
22611 fi
22612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22613
22614
22615 fi
22616 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22617 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22618
22619 if test "$ac_cv_sys_file_offset_bits" != no; then
22620 wx_largefile=yes
22621 cat >>confdefs.h <<_ACEOF
22622 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22623 _ACEOF
22624
22625 fi
22626
22627 if test "x$wx_largefile" != "xyes"; then
22628
22629 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22630 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22631 if test "${ac_cv_sys_large_files+set}" = set; then
22632 echo $ECHO_N "(cached) $ECHO_C" >&6
22633 else
22634
22635 cat >conftest.$ac_ext <<_ACEOF
22636 /* confdefs.h. */
22637 _ACEOF
22638 cat confdefs.h >>conftest.$ac_ext
22639 cat >>conftest.$ac_ext <<_ACEOF
22640 /* end confdefs.h. */
22641 #define _LARGE_FILES 1
22642 #include <sys/types.h>
22643 int
22644 main ()
22645 {
22646 typedef struct {
22647 unsigned int field: sizeof(off_t) == 8;
22648 } wxlf;
22649
22650 ;
22651 return 0;
22652 }
22653 _ACEOF
22654 rm -f conftest.$ac_objext
22655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22656 (eval $ac_compile) 2>conftest.er1
22657 ac_status=$?
22658 grep -v '^ *+' conftest.er1 >conftest.err
22659 rm -f conftest.er1
22660 cat conftest.err >&5
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); } &&
22663 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22666 ac_status=$?
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; } &&
22669 { ac_try='test -s conftest.$ac_objext'
22670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22671 (eval $ac_try) 2>&5
22672 ac_status=$?
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); }; }; then
22675 ac_cv_sys_large_files=1
22676 else
22677 echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.$ac_ext >&5
22679
22680 ac_cv_sys_large_files=no
22681 fi
22682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22683
22684
22685 fi
22686 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22687 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22688
22689 if test "$ac_cv_sys_large_files" != no; then
22690 wx_largefile=yes
22691 cat >>confdefs.h <<_ACEOF
22692 #define _LARGE_FILES $ac_cv_sys_large_files
22693 _ACEOF
22694
22695 fi
22696
22697 fi
22698
22699 echo "$as_me:$LINENO: checking if large file support is available" >&5
22700 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22701 if test "x$wx_largefile" = "xyes"; then
22702 cat >>confdefs.h <<\_ACEOF
22703 #define HAVE_LARGEFILE_SUPPORT 1
22704 _ACEOF
22705
22706 fi
22707 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22708 echo "${ECHO_T}$wx_largefile" >&6
22709 fi
22710
22711
22712 if test "x$wx_largefile" = "xyes"; then
22713 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22714 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22715
22716 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22717 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22718 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22719 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22720 echo $ECHO_N "(cached) $ECHO_C" >&6
22721 else
22722
22723 cat >conftest.$ac_ext <<_ACEOF
22724 /* confdefs.h. */
22725 _ACEOF
22726 cat confdefs.h >>conftest.$ac_ext
22727 cat >>conftest.$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22729
22730 int
22731 main ()
22732 {
22733
22734 #ifndef __STDC_EXT__
22735 choke me
22736 #endif
22737
22738 ;
22739 return 0;
22740 }
22741 _ACEOF
22742 rm -f conftest.$ac_objext
22743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22744 (eval $ac_compile) 2>conftest.er1
22745 ac_status=$?
22746 grep -v '^ *+' conftest.er1 >conftest.err
22747 rm -f conftest.er1
22748 cat conftest.err >&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } &&
22751 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22754 ac_status=$?
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; } &&
22757 { ac_try='test -s conftest.$ac_objext'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22760 ac_status=$?
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; }; then
22763 wx_cv_STDC_EXT_required=no
22764 else
22765 echo "$as_me: failed program was:" >&5
22766 sed 's/^/| /' conftest.$ac_ext >&5
22767
22768 wx_cv_STDC_EXT_required=yes
22769
22770 fi
22771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22772
22773
22774 fi
22775 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22776 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22777 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22778 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22779 fi
22780 fi
22781 else
22782 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22783 fi
22784 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22785 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22786 if test "${ac_cv_sys_largefile_source+set}" = set; then
22787 echo $ECHO_N "(cached) $ECHO_C" >&6
22788 else
22789 while :; do
22790 ac_cv_sys_largefile_source=no
22791 cat >conftest.$ac_ext <<_ACEOF
22792 /* confdefs.h. */
22793 _ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
22797 #include <stdio.h>
22798 int
22799 main ()
22800 {
22801 return !fseeko;
22802 ;
22803 return 0;
22804 }
22805 _ACEOF
22806 rm -f conftest.$ac_objext
22807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22808 (eval $ac_compile) 2>conftest.er1
22809 ac_status=$?
22810 grep -v '^ *+' conftest.er1 >conftest.err
22811 rm -f conftest.er1
22812 cat conftest.err >&5
22813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814 (exit $ac_status); } &&
22815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22817 (eval $ac_try) 2>&5
22818 ac_status=$?
22819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22820 (exit $ac_status); }; } &&
22821 { ac_try='test -s conftest.$ac_objext'
22822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22823 (eval $ac_try) 2>&5
22824 ac_status=$?
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); }; }; then
22827 break
22828 else
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.$ac_ext >&5
22831
22832 fi
22833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22834 cat >conftest.$ac_ext <<_ACEOF
22835 /* confdefs.h. */
22836 _ACEOF
22837 cat confdefs.h >>conftest.$ac_ext
22838 cat >>conftest.$ac_ext <<_ACEOF
22839 /* end confdefs.h. */
22840 #define _LARGEFILE_SOURCE 1
22841 #include <stdio.h>
22842 int
22843 main ()
22844 {
22845 return !fseeko;
22846 ;
22847 return 0;
22848 }
22849 _ACEOF
22850 rm -f conftest.$ac_objext
22851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22852 (eval $ac_compile) 2>conftest.er1
22853 ac_status=$?
22854 grep -v '^ *+' conftest.er1 >conftest.err
22855 rm -f conftest.er1
22856 cat conftest.err >&5
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); } &&
22859 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22861 (eval $ac_try) 2>&5
22862 ac_status=$?
22863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22864 (exit $ac_status); }; } &&
22865 { ac_try='test -s conftest.$ac_objext'
22866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22867 (eval $ac_try) 2>&5
22868 ac_status=$?
22869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870 (exit $ac_status); }; }; then
22871 ac_cv_sys_largefile_source=1; break
22872 else
22873 echo "$as_me: failed program was:" >&5
22874 sed 's/^/| /' conftest.$ac_ext >&5
22875
22876 fi
22877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22878 break
22879 done
22880 fi
22881 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22882 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22883 if test "$ac_cv_sys_largefile_source" != no; then
22884
22885 cat >>confdefs.h <<_ACEOF
22886 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22887 _ACEOF
22888
22889 fi
22890 rm -f conftest*
22891
22892 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22893 # in glibc 2.1.3, but that breaks too many other things.
22894 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22895 echo "$as_me:$LINENO: checking for fseeko" >&5
22896 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22897 if test "${ac_cv_func_fseeko+set}" = set; then
22898 echo $ECHO_N "(cached) $ECHO_C" >&6
22899 else
22900 cat >conftest.$ac_ext <<_ACEOF
22901 /* confdefs.h. */
22902 _ACEOF
22903 cat confdefs.h >>conftest.$ac_ext
22904 cat >>conftest.$ac_ext <<_ACEOF
22905 /* end confdefs.h. */
22906 #include <stdio.h>
22907 int
22908 main ()
22909 {
22910 return fseeko && fseeko (stdin, 0, 0);
22911 ;
22912 return 0;
22913 }
22914 _ACEOF
22915 rm -f conftest.$ac_objext conftest$ac_exeext
22916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22917 (eval $ac_link) 2>conftest.er1
22918 ac_status=$?
22919 grep -v '^ *+' conftest.er1 >conftest.err
22920 rm -f conftest.er1
22921 cat conftest.err >&5
22922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923 (exit $ac_status); } &&
22924 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22926 (eval $ac_try) 2>&5
22927 ac_status=$?
22928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 (exit $ac_status); }; } &&
22930 { ac_try='test -s conftest$ac_exeext'
22931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22932 (eval $ac_try) 2>&5
22933 ac_status=$?
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); }; }; then
22936 ac_cv_func_fseeko=yes
22937 else
22938 echo "$as_me: failed program was:" >&5
22939 sed 's/^/| /' conftest.$ac_ext >&5
22940
22941 ac_cv_func_fseeko=no
22942 fi
22943 rm -f conftest.err conftest.$ac_objext \
22944 conftest$ac_exeext conftest.$ac_ext
22945 fi
22946 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22947 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22948 if test $ac_cv_func_fseeko = yes; then
22949
22950 cat >>confdefs.h <<\_ACEOF
22951 #define HAVE_FSEEKO 1
22952 _ACEOF
22953
22954 fi
22955
22956 if test "$ac_cv_sys_largefile_source" != no; then
22957 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22958 fi
22959 fi
22960
22961 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22962 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22963 if test "${ac_cv_c_bigendian+set}" = set; then
22964 echo $ECHO_N "(cached) $ECHO_C" >&6
22965 else
22966 ac_cv_c_bigendian=unknown
22967 # See if sys/param.h defines the BYTE_ORDER macro.
22968 cat >conftest.$ac_ext <<_ACEOF
22969 /* confdefs.h. */
22970 _ACEOF
22971 cat confdefs.h >>conftest.$ac_ext
22972 cat >>conftest.$ac_ext <<_ACEOF
22973 /* end confdefs.h. */
22974 #include <sys/types.h>
22975 #include <sys/param.h>
22976 int
22977 main ()
22978 {
22979
22980 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22981 bogus endian macros
22982 #endif
22983 ;
22984 return 0;
22985 }
22986 _ACEOF
22987 rm -f conftest.$ac_objext
22988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22989 (eval $ac_compile) 2>conftest.er1
22990 ac_status=$?
22991 grep -v '^ *+' conftest.er1 >conftest.err
22992 rm -f conftest.er1
22993 cat conftest.err >&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } &&
22996 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22998 (eval $ac_try) 2>&5
22999 ac_status=$?
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); }; } &&
23002 { ac_try='test -s conftest.$ac_objext'
23003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23004 (eval $ac_try) 2>&5
23005 ac_status=$?
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); }; }; then
23008 # It does; now see whether it defined to BIG_ENDIAN or not.
23009 cat >conftest.$ac_ext <<_ACEOF
23010 /* confdefs.h. */
23011 _ACEOF
23012 cat confdefs.h >>conftest.$ac_ext
23013 cat >>conftest.$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015 #include <sys/types.h>
23016 #include <sys/param.h>
23017 int
23018 main ()
23019 {
23020
23021 #if BYTE_ORDER != BIG_ENDIAN
23022 not big endian
23023 #endif
23024 ;
23025 return 0;
23026 }
23027 _ACEOF
23028 rm -f conftest.$ac_objext
23029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23030 (eval $ac_compile) 2>conftest.er1
23031 ac_status=$?
23032 grep -v '^ *+' conftest.er1 >conftest.err
23033 rm -f conftest.er1
23034 cat conftest.err >&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); } &&
23037 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
23043 { ac_try='test -s conftest.$ac_objext'
23044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23045 (eval $ac_try) 2>&5
23046 ac_status=$?
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); }; }; then
23049 ac_cv_c_bigendian=yes
23050 else
23051 echo "$as_me: failed program was:" >&5
23052 sed 's/^/| /' conftest.$ac_ext >&5
23053
23054 ac_cv_c_bigendian=no
23055 fi
23056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23057 else
23058 echo "$as_me: failed program was:" >&5
23059 sed 's/^/| /' conftest.$ac_ext >&5
23060
23061 fi
23062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23063 if test $ac_cv_c_bigendian = unknown; then
23064 if test "$cross_compiling" = yes; then
23065 ac_cv_c_bigendian=unknown
23066 else
23067 cat >conftest.$ac_ext <<_ACEOF
23068 /* confdefs.h. */
23069 _ACEOF
23070 cat confdefs.h >>conftest.$ac_ext
23071 cat >>conftest.$ac_ext <<_ACEOF
23072 /* end confdefs.h. */
23073 main () {
23074 /* Are we little or big endian? From Harbison&Steele. */
23075 union
23076 {
23077 long l;
23078 char c[sizeof (long)];
23079 } u;
23080 u.l = 1;
23081 exit (u.c[sizeof (long) - 1] == 1);
23082 }
23083 _ACEOF
23084 rm -f conftest$ac_exeext
23085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23086 (eval $ac_link) 2>&5
23087 ac_status=$?
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23091 (eval $ac_try) 2>&5
23092 ac_status=$?
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); }; }; then
23095 ac_cv_c_bigendian=no
23096 else
23097 echo "$as_me: program exited with status $ac_status" >&5
23098 echo "$as_me: failed program was:" >&5
23099 sed 's/^/| /' conftest.$ac_ext >&5
23100
23101 ( exit $ac_status )
23102 ac_cv_c_bigendian=yes
23103 fi
23104 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23105 fi
23106 fi
23107 fi
23108 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23109 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23110 if test $ac_cv_c_bigendian = unknown; then
23111 { 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
23112 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;}
23113 fi
23114 if test $ac_cv_c_bigendian = yes; then
23115 cat >>confdefs.h <<\_ACEOF
23116 #define WORDS_BIGENDIAN 1
23117 _ACEOF
23118
23119 fi
23120
23121
23122
23123
23124
23125 ac_ext=cc
23126 ac_cpp='$CXXCPP $CPPFLAGS'
23127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23130
23131
23132
23133 for ac_header in iostream
23134 do
23135 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23137 echo "$as_me:$LINENO: checking for $ac_header" >&5
23138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23140 echo $ECHO_N "(cached) $ECHO_C" >&6
23141 fi
23142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23144 else
23145 # Is the header compilable?
23146 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23147 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23148 cat >conftest.$ac_ext <<_ACEOF
23149 /* confdefs.h. */
23150 _ACEOF
23151 cat confdefs.h >>conftest.$ac_ext
23152 cat >>conftest.$ac_ext <<_ACEOF
23153 /* end confdefs.h. */
23154 $ac_includes_default
23155 #include <$ac_header>
23156 _ACEOF
23157 rm -f conftest.$ac_objext
23158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23159 (eval $ac_compile) 2>conftest.er1
23160 ac_status=$?
23161 grep -v '^ *+' conftest.er1 >conftest.err
23162 rm -f conftest.er1
23163 cat conftest.err >&5
23164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165 (exit $ac_status); } &&
23166 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23168 (eval $ac_try) 2>&5
23169 ac_status=$?
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); }; } &&
23172 { ac_try='test -s conftest.$ac_objext'
23173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23174 (eval $ac_try) 2>&5
23175 ac_status=$?
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); }; }; then
23178 ac_header_compiler=yes
23179 else
23180 echo "$as_me: failed program was:" >&5
23181 sed 's/^/| /' conftest.$ac_ext >&5
23182
23183 ac_header_compiler=no
23184 fi
23185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23186 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23187 echo "${ECHO_T}$ac_header_compiler" >&6
23188
23189 # Is the header present?
23190 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23191 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23192 cat >conftest.$ac_ext <<_ACEOF
23193 /* confdefs.h. */
23194 _ACEOF
23195 cat confdefs.h >>conftest.$ac_ext
23196 cat >>conftest.$ac_ext <<_ACEOF
23197 /* end confdefs.h. */
23198 #include <$ac_header>
23199 _ACEOF
23200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23202 ac_status=$?
23203 grep -v '^ *+' conftest.er1 >conftest.err
23204 rm -f conftest.er1
23205 cat conftest.err >&5
23206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23207 (exit $ac_status); } >/dev/null; then
23208 if test -s conftest.err; then
23209 ac_cpp_err=$ac_cxx_preproc_warn_flag
23210 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23211 else
23212 ac_cpp_err=
23213 fi
23214 else
23215 ac_cpp_err=yes
23216 fi
23217 if test -z "$ac_cpp_err"; then
23218 ac_header_preproc=yes
23219 else
23220 echo "$as_me: failed program was:" >&5
23221 sed 's/^/| /' conftest.$ac_ext >&5
23222
23223 ac_header_preproc=no
23224 fi
23225 rm -f conftest.err conftest.$ac_ext
23226 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23227 echo "${ECHO_T}$ac_header_preproc" >&6
23228
23229 # So? What about this header?
23230 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23231 yes:no: )
23232 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23233 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23235 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23236 ac_header_preproc=yes
23237 ;;
23238 no:yes:* )
23239 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23240 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23241 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23242 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23243 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23244 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23245 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23246 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23248 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23249 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23250 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23251 (
23252 cat <<\_ASBOX
23253 ## ----------------------------------------- ##
23254 ## Report this to wx-dev@lists.wxwidgets.org ##
23255 ## ----------------------------------------- ##
23256 _ASBOX
23257 ) |
23258 sed "s/^/$as_me: WARNING: /" >&2
23259 ;;
23260 esac
23261 echo "$as_me:$LINENO: checking for $ac_header" >&5
23262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23264 echo $ECHO_N "(cached) $ECHO_C" >&6
23265 else
23266 eval "$as_ac_Header=\$ac_header_preproc"
23267 fi
23268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23270
23271 fi
23272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23273 cat >>confdefs.h <<_ACEOF
23274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23275 _ACEOF
23276
23277 fi
23278
23279 done
23280
23281
23282 if test "$ac_cv_header_iostream" = "yes" ; then
23283 :
23284 else
23285 cat >>confdefs.h <<\_ACEOF
23286 #define wxUSE_IOSTREAMH 1
23287 _ACEOF
23288
23289 fi
23290
23291 ac_ext=cc
23292 ac_cpp='$CXXCPP $CPPFLAGS'
23293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23296
23297
23298
23299
23300 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23301 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23302 if test "${wx_cv_cpp_bool+set}" = set; then
23303 echo $ECHO_N "(cached) $ECHO_C" >&6
23304 else
23305
23306
23307
23308 ac_ext=cc
23309 ac_cpp='$CXXCPP $CPPFLAGS'
23310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23313
23314
23315 cat >conftest.$ac_ext <<_ACEOF
23316 /* confdefs.h. */
23317 _ACEOF
23318 cat confdefs.h >>conftest.$ac_ext
23319 cat >>conftest.$ac_ext <<_ACEOF
23320 /* end confdefs.h. */
23321
23322
23323 int
23324 main ()
23325 {
23326
23327 bool b = true;
23328
23329 return 0;
23330
23331 ;
23332 return 0;
23333 }
23334 _ACEOF
23335 rm -f conftest.$ac_objext
23336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23337 (eval $ac_compile) 2>conftest.er1
23338 ac_status=$?
23339 grep -v '^ *+' conftest.er1 >conftest.err
23340 rm -f conftest.er1
23341 cat conftest.err >&5
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); } &&
23344 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23346 (eval $ac_try) 2>&5
23347 ac_status=$?
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); }; } &&
23350 { ac_try='test -s conftest.$ac_objext'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23353 ac_status=$?
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; }; then
23356
23357 wx_cv_cpp_bool=yes
23358
23359 else
23360 echo "$as_me: failed program was:" >&5
23361 sed 's/^/| /' conftest.$ac_ext >&5
23362
23363
23364 wx_cv_cpp_bool=no
23365
23366
23367 fi
23368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23369
23370 ac_ext=cc
23371 ac_cpp='$CXXCPP $CPPFLAGS'
23372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23375
23376
23377 fi
23378 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23379 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23380
23381 if test "$wx_cv_cpp_bool" = "yes"; then
23382 cat >>confdefs.h <<\_ACEOF
23383 #define HAVE_BOOL 1
23384 _ACEOF
23385
23386 fi
23387
23388
23389
23390 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23391 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23392 if test "${wx_cv_explicit+set}" = set; then
23393 echo $ECHO_N "(cached) $ECHO_C" >&6
23394 else
23395
23396
23397
23398 ac_ext=cc
23399 ac_cpp='$CXXCPP $CPPFLAGS'
23400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23403
23404
23405 cat >conftest.$ac_ext <<_ACEOF
23406 /* confdefs.h. */
23407 _ACEOF
23408 cat confdefs.h >>conftest.$ac_ext
23409 cat >>conftest.$ac_ext <<_ACEOF
23410 /* end confdefs.h. */
23411
23412 class Foo { public: explicit Foo(int) {} };
23413
23414 int
23415 main ()
23416 {
23417
23418 return 0;
23419
23420 ;
23421 return 0;
23422 }
23423 _ACEOF
23424 rm -f conftest.$ac_objext
23425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23426 (eval $ac_compile) 2>conftest.er1
23427 ac_status=$?
23428 grep -v '^ *+' conftest.er1 >conftest.err
23429 rm -f conftest.er1
23430 cat conftest.err >&5
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); } &&
23433 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23435 (eval $ac_try) 2>&5
23436 ac_status=$?
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); }; } &&
23439 { ac_try='test -s conftest.$ac_objext'
23440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23441 (eval $ac_try) 2>&5
23442 ac_status=$?
23443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); }; }; then
23445
23446 cat >conftest.$ac_ext <<_ACEOF
23447 /* confdefs.h. */
23448 _ACEOF
23449 cat confdefs.h >>conftest.$ac_ext
23450 cat >>conftest.$ac_ext <<_ACEOF
23451 /* end confdefs.h. */
23452
23453 class Foo { public: explicit Foo(int) {} };
23454 static void TakeFoo(const Foo& foo) { }
23455
23456 int
23457 main ()
23458 {
23459
23460 TakeFoo(17);
23461 return 0;
23462
23463 ;
23464 return 0;
23465 }
23466 _ACEOF
23467 rm -f conftest.$ac_objext
23468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23469 (eval $ac_compile) 2>conftest.er1
23470 ac_status=$?
23471 grep -v '^ *+' conftest.er1 >conftest.err
23472 rm -f conftest.er1
23473 cat conftest.err >&5
23474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475 (exit $ac_status); } &&
23476 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23478 (eval $ac_try) 2>&5
23479 ac_status=$?
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); }; } &&
23482 { ac_try='test -s conftest.$ac_objext'
23483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23484 (eval $ac_try) 2>&5
23485 ac_status=$?
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; }; then
23488 wx_cv_explicit=no
23489 else
23490 echo "$as_me: failed program was:" >&5
23491 sed 's/^/| /' conftest.$ac_ext >&5
23492
23493 wx_cv_explicit=yes
23494
23495 fi
23496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23497
23498 else
23499 echo "$as_me: failed program was:" >&5
23500 sed 's/^/| /' conftest.$ac_ext >&5
23501
23502 wx_cv_explicit=no
23503
23504 fi
23505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23506
23507 ac_ext=cc
23508 ac_cpp='$CXXCPP $CPPFLAGS'
23509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23512
23513
23514 fi
23515 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23516 echo "${ECHO_T}$wx_cv_explicit" >&6
23517
23518 if test "$wx_cv_explicit" = "yes"; then
23519 cat >>confdefs.h <<\_ACEOF
23520 #define HAVE_EXPLICIT 1
23521 _ACEOF
23522
23523 fi
23524
23525
23526 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23527 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23528 if test "${ac_cv_cxx_const_cast+set}" = set; then
23529 echo $ECHO_N "(cached) $ECHO_C" >&6
23530 else
23531
23532
23533 ac_ext=cc
23534 ac_cpp='$CXXCPP $CPPFLAGS'
23535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23538
23539 cat >conftest.$ac_ext <<_ACEOF
23540 /* confdefs.h. */
23541 _ACEOF
23542 cat confdefs.h >>conftest.$ac_ext
23543 cat >>conftest.$ac_ext <<_ACEOF
23544 /* end confdefs.h. */
23545
23546 int
23547 main ()
23548 {
23549 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23550 ;
23551 return 0;
23552 }
23553 _ACEOF
23554 rm -f conftest.$ac_objext
23555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23556 (eval $ac_compile) 2>conftest.er1
23557 ac_status=$?
23558 grep -v '^ *+' conftest.er1 >conftest.err
23559 rm -f conftest.er1
23560 cat conftest.err >&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); } &&
23563 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23565 (eval $ac_try) 2>&5
23566 ac_status=$?
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); }; } &&
23569 { ac_try='test -s conftest.$ac_objext'
23570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23571 (eval $ac_try) 2>&5
23572 ac_status=$?
23573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23574 (exit $ac_status); }; }; then
23575 ac_cv_cxx_const_cast=yes
23576 else
23577 echo "$as_me: failed program was:" >&5
23578 sed 's/^/| /' conftest.$ac_ext >&5
23579
23580 ac_cv_cxx_const_cast=no
23581 fi
23582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23583 ac_ext=cc
23584 ac_cpp='$CXXCPP $CPPFLAGS'
23585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23588
23589
23590 fi
23591 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23592 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23593 if test "$ac_cv_cxx_const_cast" = yes; then
23594
23595 cat >>confdefs.h <<\_ACEOF
23596 #define HAVE_CONST_CAST
23597 _ACEOF
23598
23599 fi
23600
23601 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23602 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23603 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23604 echo $ECHO_N "(cached) $ECHO_C" >&6
23605 else
23606
23607
23608 ac_ext=cc
23609 ac_cpp='$CXXCPP $CPPFLAGS'
23610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23613
23614 cat >conftest.$ac_ext <<_ACEOF
23615 /* confdefs.h. */
23616 _ACEOF
23617 cat confdefs.h >>conftest.$ac_ext
23618 cat >>conftest.$ac_ext <<_ACEOF
23619 /* end confdefs.h. */
23620 #include <typeinfo>
23621 class Base { public : Base () {} virtual void f () = 0;};
23622 class Derived : public Base { public : Derived () {} virtual void f () {} };
23623 class Unrelated { public : Unrelated () {} };
23624 int g (Unrelated&) { return 0; }
23625 int
23626 main ()
23627 {
23628
23629 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23630 ;
23631 return 0;
23632 }
23633 _ACEOF
23634 rm -f conftest.$ac_objext
23635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23636 (eval $ac_compile) 2>conftest.er1
23637 ac_status=$?
23638 grep -v '^ *+' conftest.er1 >conftest.err
23639 rm -f conftest.er1
23640 cat conftest.err >&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); } &&
23643 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23645 (eval $ac_try) 2>&5
23646 ac_status=$?
23647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648 (exit $ac_status); }; } &&
23649 { ac_try='test -s conftest.$ac_objext'
23650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23651 (eval $ac_try) 2>&5
23652 ac_status=$?
23653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23654 (exit $ac_status); }; }; then
23655 ac_cv_cxx_reinterpret_cast=yes
23656 else
23657 echo "$as_me: failed program was:" >&5
23658 sed 's/^/| /' conftest.$ac_ext >&5
23659
23660 ac_cv_cxx_reinterpret_cast=no
23661 fi
23662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23663 ac_ext=cc
23664 ac_cpp='$CXXCPP $CPPFLAGS'
23665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23668
23669
23670 fi
23671 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23672 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23673 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23674
23675 cat >>confdefs.h <<\_ACEOF
23676 #define HAVE_REINTERPRET_CAST
23677 _ACEOF
23678
23679 fi
23680
23681 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23682 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23683 if test "${ac_cv_cxx_static_cast+set}" = set; then
23684 echo $ECHO_N "(cached) $ECHO_C" >&6
23685 else
23686
23687
23688 ac_ext=cc
23689 ac_cpp='$CXXCPP $CPPFLAGS'
23690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23693
23694 cat >conftest.$ac_ext <<_ACEOF
23695 /* confdefs.h. */
23696 _ACEOF
23697 cat confdefs.h >>conftest.$ac_ext
23698 cat >>conftest.$ac_ext <<_ACEOF
23699 /* end confdefs.h. */
23700 #include <typeinfo>
23701 class Base { public : Base () {} virtual void f () = 0; };
23702 class Derived : public Base { public : Derived () {} virtual void f () {} };
23703 int g (Derived&) { return 0; }
23704 int
23705 main ()
23706 {
23707
23708 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23709 ;
23710 return 0;
23711 }
23712 _ACEOF
23713 rm -f conftest.$ac_objext
23714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23715 (eval $ac_compile) 2>conftest.er1
23716 ac_status=$?
23717 grep -v '^ *+' conftest.er1 >conftest.err
23718 rm -f conftest.er1
23719 cat conftest.err >&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); } &&
23722 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23724 (eval $ac_try) 2>&5
23725 ac_status=$?
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); }; } &&
23728 { ac_try='test -s conftest.$ac_objext'
23729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23730 (eval $ac_try) 2>&5
23731 ac_status=$?
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); }; }; then
23734 ac_cv_cxx_static_cast=yes
23735 else
23736 echo "$as_me: failed program was:" >&5
23737 sed 's/^/| /' conftest.$ac_ext >&5
23738
23739 ac_cv_cxx_static_cast=no
23740 fi
23741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23742 ac_ext=cc
23743 ac_cpp='$CXXCPP $CPPFLAGS'
23744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23747
23748
23749 fi
23750 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23751 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23752 if test "$ac_cv_cxx_static_cast" = yes; then
23753
23754 cat >>confdefs.h <<\_ACEOF
23755 #define HAVE_STATIC_CAST
23756 _ACEOF
23757
23758 fi
23759
23760
23761 if test "x$SUNCXX" = xyes; then
23762 CXXFLAGS="-features=tmplife $CXXFLAGS"
23763 fi
23764
23765 if test "x$SUNCC" = xyes; then
23766 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23767 fi
23768
23769 if test "x$SGICC" = "xyes"; then
23770 CFLAGS="-woff 3970 $CFLAGS"
23771 fi
23772 if test "x$SGICXX" = "xyes"; then
23773 CXXFLAGS="-woff 3970 $CXXFLAGS"
23774 fi
23775
23776 if test "x$HPCC" = "xyes"; then
23777 CFLAGS="+W 2011,2450 $CFLAGS"
23778 fi
23779 if test "x$HPCXX" = "xyes"; then
23780 CXXFLAGS="+W 2340 $CXXFLAGS"
23781 fi
23782
23783 if test "x$COMPAQCXX" = "xyes"; then
23784 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23785 fi
23786
23787 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23788 if test "$wxUSE_UNICODE" = "yes"; then
23789 std_string="std::wstring"
23790 char_type="wchar_t"
23791 else
23792 std_string="std::string"
23793 char_type="char"
23794 fi
23795
23796 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23797 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23798 cat >conftest.$ac_ext <<_ACEOF
23799 /* confdefs.h. */
23800 _ACEOF
23801 cat confdefs.h >>conftest.$ac_ext
23802 cat >>conftest.$ac_ext <<_ACEOF
23803 /* end confdefs.h. */
23804 #include <string>
23805 int
23806 main ()
23807 {
23808 $std_string foo;
23809 ;
23810 return 0;
23811 }
23812 _ACEOF
23813 rm -f conftest.$ac_objext
23814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23815 (eval $ac_compile) 2>conftest.er1
23816 ac_status=$?
23817 grep -v '^ *+' conftest.er1 >conftest.err
23818 rm -f conftest.er1
23819 cat conftest.err >&5
23820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23821 (exit $ac_status); } &&
23822 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23824 (eval $ac_try) 2>&5
23825 ac_status=$?
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); }; } &&
23828 { ac_try='test -s conftest.$ac_objext'
23829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23830 (eval $ac_try) 2>&5
23831 ac_status=$?
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); }; }; then
23834 echo "$as_me:$LINENO: result: yes" >&5
23835 echo "${ECHO_T}yes" >&6
23836 cat >>confdefs.h <<\_ACEOF
23837 #define HAVE_STD_WSTRING 1
23838 _ACEOF
23839
23840 else
23841 echo "$as_me: failed program was:" >&5
23842 sed 's/^/| /' conftest.$ac_ext >&5
23843
23844 echo "$as_me:$LINENO: result: no" >&5
23845 echo "${ECHO_T}no" >&6
23846 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23847 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23848 cat >conftest.$ac_ext <<_ACEOF
23849 /* confdefs.h. */
23850 _ACEOF
23851 cat confdefs.h >>conftest.$ac_ext
23852 cat >>conftest.$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23854
23855 #ifdef HAVE_WCHAR_H
23856 # ifdef __CYGWIN__
23857 # include <stddef.h>
23858 # endif
23859 # include <wchar.h>
23860 #endif
23861 #ifdef HAVE_STDLIB_H
23862 # include <stdlib.h>
23863 #endif
23864 #include <stdio.h>
23865 #include <string>
23866
23867 int
23868 main ()
23869 {
23870 std::basic_string<$char_type> foo;
23871 const $char_type* dummy = foo.c_str();
23872 ;
23873 return 0;
23874 }
23875 _ACEOF
23876 rm -f conftest.$ac_objext
23877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23878 (eval $ac_compile) 2>conftest.er1
23879 ac_status=$?
23880 grep -v '^ *+' conftest.er1 >conftest.err
23881 rm -f conftest.er1
23882 cat conftest.err >&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); } &&
23885 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23887 (eval $ac_try) 2>&5
23888 ac_status=$?
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); }; } &&
23891 { ac_try='test -s conftest.$ac_objext'
23892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23893 (eval $ac_try) 2>&5
23894 ac_status=$?
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); }; }; then
23897 echo "$as_me:$LINENO: result: yes" >&5
23898 echo "${ECHO_T}yes" >&6
23899 else
23900 echo "$as_me: failed program was:" >&5
23901 sed 's/^/| /' conftest.$ac_ext >&5
23902
23903 echo "$as_me:$LINENO: result: no" >&5
23904 echo "${ECHO_T}no" >&6
23905 if test "$wxUSE_STL" = "yes"; then
23906 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23907 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23908 { (exit 1); exit 1; }; }
23909 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23910 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23911 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23912 { (exit 1); exit 1; }; }
23913 else
23914 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23915 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23916 wxUSE_STD_STRING=no
23917 fi
23918
23919
23920 fi
23921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23922
23923 fi
23924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23925 fi
23926
23927 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23928 echo "$as_me:$LINENO: checking for std::istream" >&5
23929 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23930 if test "${ac_cv_type_std__istream+set}" = set; then
23931 echo $ECHO_N "(cached) $ECHO_C" >&6
23932 else
23933 cat >conftest.$ac_ext <<_ACEOF
23934 /* confdefs.h. */
23935 _ACEOF
23936 cat confdefs.h >>conftest.$ac_ext
23937 cat >>conftest.$ac_ext <<_ACEOF
23938 /* end confdefs.h. */
23939 #include <iostream>
23940
23941 int
23942 main ()
23943 {
23944 if ((std::istream *) 0)
23945 return 0;
23946 if (sizeof (std::istream))
23947 return 0;
23948 ;
23949 return 0;
23950 }
23951 _ACEOF
23952 rm -f conftest.$ac_objext
23953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23954 (eval $ac_compile) 2>conftest.er1
23955 ac_status=$?
23956 grep -v '^ *+' conftest.er1 >conftest.err
23957 rm -f conftest.er1
23958 cat conftest.err >&5
23959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23960 (exit $ac_status); } &&
23961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23963 (eval $ac_try) 2>&5
23964 ac_status=$?
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); }; } &&
23967 { ac_try='test -s conftest.$ac_objext'
23968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23969 (eval $ac_try) 2>&5
23970 ac_status=$?
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); }; }; then
23973 ac_cv_type_std__istream=yes
23974 else
23975 echo "$as_me: failed program was:" >&5
23976 sed 's/^/| /' conftest.$ac_ext >&5
23977
23978 ac_cv_type_std__istream=no
23979 fi
23980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23981 fi
23982 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23983 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23984 if test $ac_cv_type_std__istream = yes; then
23985
23986 cat >>confdefs.h <<_ACEOF
23987 #define HAVE_STD__ISTREAM 1
23988 _ACEOF
23989
23990
23991 else
23992 wxUSE_STD_IOSTREAM=no
23993 fi
23994 echo "$as_me:$LINENO: checking for std::ostream" >&5
23995 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23996 if test "${ac_cv_type_std__ostream+set}" = set; then
23997 echo $ECHO_N "(cached) $ECHO_C" >&6
23998 else
23999 cat >conftest.$ac_ext <<_ACEOF
24000 /* confdefs.h. */
24001 _ACEOF
24002 cat confdefs.h >>conftest.$ac_ext
24003 cat >>conftest.$ac_ext <<_ACEOF
24004 /* end confdefs.h. */
24005 #include <iostream>
24006
24007 int
24008 main ()
24009 {
24010 if ((std::ostream *) 0)
24011 return 0;
24012 if (sizeof (std::ostream))
24013 return 0;
24014 ;
24015 return 0;
24016 }
24017 _ACEOF
24018 rm -f conftest.$ac_objext
24019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24020 (eval $ac_compile) 2>conftest.er1
24021 ac_status=$?
24022 grep -v '^ *+' conftest.er1 >conftest.err
24023 rm -f conftest.er1
24024 cat conftest.err >&5
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); } &&
24027 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24029 (eval $ac_try) 2>&5
24030 ac_status=$?
24031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 (exit $ac_status); }; } &&
24033 { ac_try='test -s conftest.$ac_objext'
24034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24035 (eval $ac_try) 2>&5
24036 ac_status=$?
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); }; }; then
24039 ac_cv_type_std__ostream=yes
24040 else
24041 echo "$as_me: failed program was:" >&5
24042 sed 's/^/| /' conftest.$ac_ext >&5
24043
24044 ac_cv_type_std__ostream=no
24045 fi
24046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24047 fi
24048 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24049 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24050 if test $ac_cv_type_std__ostream = yes; then
24051
24052 cat >>confdefs.h <<_ACEOF
24053 #define HAVE_STD__OSTREAM 1
24054 _ACEOF
24055
24056
24057 else
24058 wxUSE_STD_IOSTREAM=no
24059 fi
24060
24061
24062 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24063 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24064 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24065 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24066 { (exit 1); exit 1; }; }
24067 else
24068 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24069 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24070 fi
24071 fi
24072 fi
24073
24074 if test "$wxUSE_STL" = "yes"; then
24075 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24076 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24077 cat >conftest.$ac_ext <<_ACEOF
24078 /* confdefs.h. */
24079 _ACEOF
24080 cat confdefs.h >>conftest.$ac_ext
24081 cat >>conftest.$ac_ext <<_ACEOF
24082 /* end confdefs.h. */
24083 #include <string>
24084 #include <functional>
24085 #include <algorithm>
24086 #include <vector>
24087 #include <list>
24088 int
24089 main ()
24090 {
24091 std::vector<int> moo;
24092 std::list<int> foo;
24093 std::vector<int>::iterator it =
24094 std::find_if(moo.begin(), moo.end(),
24095 std::bind2nd(std::less<int>(), 3));
24096 ;
24097 return 0;
24098 }
24099 _ACEOF
24100 rm -f conftest.$ac_objext
24101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24102 (eval $ac_compile) 2>conftest.er1
24103 ac_status=$?
24104 grep -v '^ *+' conftest.er1 >conftest.err
24105 rm -f conftest.er1
24106 cat conftest.err >&5
24107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108 (exit $ac_status); } &&
24109 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24111 (eval $ac_try) 2>&5
24112 ac_status=$?
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); }; } &&
24115 { ac_try='test -s conftest.$ac_objext'
24116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24117 (eval $ac_try) 2>&5
24118 ac_status=$?
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); }; }; then
24121 echo "$as_me:$LINENO: result: yes" >&5
24122 echo "${ECHO_T}yes" >&6
24123 else
24124 echo "$as_me: failed program was:" >&5
24125 sed 's/^/| /' conftest.$ac_ext >&5
24126
24127 echo "$as_me:$LINENO: result: no" >&5
24128 echo "${ECHO_T}no" >&6
24129 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24130 echo "$as_me: error: Basic STL functionality missing" >&2;}
24131 { (exit 1); exit 1; }; }
24132 fi
24133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24134
24135 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24136 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24137 cat >conftest.$ac_ext <<_ACEOF
24138 /* confdefs.h. */
24139 _ACEOF
24140 cat confdefs.h >>conftest.$ac_ext
24141 cat >>conftest.$ac_ext <<_ACEOF
24142 /* end confdefs.h. */
24143 #include <string>
24144 int
24145 main ()
24146 {
24147 std::string foo, bar;
24148 foo.compare(bar);
24149 foo.compare(1, 1, bar);
24150 foo.compare(1, 1, bar, 1, 1);
24151 foo.compare("");
24152 foo.compare(1, 1, "");
24153 foo.compare(1, 1, "", 2);
24154 ;
24155 return 0;
24156 }
24157 _ACEOF
24158 rm -f conftest.$ac_objext
24159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24160 (eval $ac_compile) 2>conftest.er1
24161 ac_status=$?
24162 grep -v '^ *+' conftest.er1 >conftest.err
24163 rm -f conftest.er1
24164 cat conftest.err >&5
24165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166 (exit $ac_status); } &&
24167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24169 (eval $ac_try) 2>&5
24170 ac_status=$?
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); }; } &&
24173 { ac_try='test -s conftest.$ac_objext'
24174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24175 (eval $ac_try) 2>&5
24176 ac_status=$?
24177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24178 (exit $ac_status); }; }; then
24179 echo "$as_me:$LINENO: result: yes" >&5
24180 echo "${ECHO_T}yes" >&6
24181 cat >>confdefs.h <<\_ACEOF
24182 #define HAVE_STD_STRING_COMPARE 1
24183 _ACEOF
24184
24185 else
24186 echo "$as_me: failed program was:" >&5
24187 sed 's/^/| /' conftest.$ac_ext >&5
24188
24189 echo "$as_me:$LINENO: result: no" >&5
24190 echo "${ECHO_T}no" >&6
24191 fi
24192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24193
24194 if test "${ac_cv_header_hash_map+set}" = set; then
24195 echo "$as_me:$LINENO: checking for hash_map" >&5
24196 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24197 if test "${ac_cv_header_hash_map+set}" = set; then
24198 echo $ECHO_N "(cached) $ECHO_C" >&6
24199 fi
24200 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24201 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24202 else
24203 # Is the header compilable?
24204 echo "$as_me:$LINENO: checking hash_map usability" >&5
24205 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24206 cat >conftest.$ac_ext <<_ACEOF
24207 /* confdefs.h. */
24208 _ACEOF
24209 cat confdefs.h >>conftest.$ac_ext
24210 cat >>conftest.$ac_ext <<_ACEOF
24211 /* end confdefs.h. */
24212 $ac_includes_default
24213 #include <hash_map>
24214 _ACEOF
24215 rm -f conftest.$ac_objext
24216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24217 (eval $ac_compile) 2>conftest.er1
24218 ac_status=$?
24219 grep -v '^ *+' conftest.er1 >conftest.err
24220 rm -f conftest.er1
24221 cat conftest.err >&5
24222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24223 (exit $ac_status); } &&
24224 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24226 (eval $ac_try) 2>&5
24227 ac_status=$?
24228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229 (exit $ac_status); }; } &&
24230 { ac_try='test -s conftest.$ac_objext'
24231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24232 (eval $ac_try) 2>&5
24233 ac_status=$?
24234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235 (exit $ac_status); }; }; then
24236 ac_header_compiler=yes
24237 else
24238 echo "$as_me: failed program was:" >&5
24239 sed 's/^/| /' conftest.$ac_ext >&5
24240
24241 ac_header_compiler=no
24242 fi
24243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24245 echo "${ECHO_T}$ac_header_compiler" >&6
24246
24247 # Is the header present?
24248 echo "$as_me:$LINENO: checking hash_map presence" >&5
24249 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24250 cat >conftest.$ac_ext <<_ACEOF
24251 /* confdefs.h. */
24252 _ACEOF
24253 cat confdefs.h >>conftest.$ac_ext
24254 cat >>conftest.$ac_ext <<_ACEOF
24255 /* end confdefs.h. */
24256 #include <hash_map>
24257 _ACEOF
24258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24260 ac_status=$?
24261 grep -v '^ *+' conftest.er1 >conftest.err
24262 rm -f conftest.er1
24263 cat conftest.err >&5
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); } >/dev/null; then
24266 if test -s conftest.err; then
24267 ac_cpp_err=$ac_cxx_preproc_warn_flag
24268 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24269 else
24270 ac_cpp_err=
24271 fi
24272 else
24273 ac_cpp_err=yes
24274 fi
24275 if test -z "$ac_cpp_err"; then
24276 ac_header_preproc=yes
24277 else
24278 echo "$as_me: failed program was:" >&5
24279 sed 's/^/| /' conftest.$ac_ext >&5
24280
24281 ac_header_preproc=no
24282 fi
24283 rm -f conftest.err conftest.$ac_ext
24284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24285 echo "${ECHO_T}$ac_header_preproc" >&6
24286
24287 # So? What about this header?
24288 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24289 yes:no: )
24290 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24291 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24292 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24293 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24294 ac_header_preproc=yes
24295 ;;
24296 no:yes:* )
24297 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24298 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24299 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24300 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24301 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24302 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24303 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24304 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24305 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24306 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24307 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24308 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24309 (
24310 cat <<\_ASBOX
24311 ## ----------------------------------------- ##
24312 ## Report this to wx-dev@lists.wxwidgets.org ##
24313 ## ----------------------------------------- ##
24314 _ASBOX
24315 ) |
24316 sed "s/^/$as_me: WARNING: /" >&2
24317 ;;
24318 esac
24319 echo "$as_me:$LINENO: checking for hash_map" >&5
24320 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24321 if test "${ac_cv_header_hash_map+set}" = set; then
24322 echo $ECHO_N "(cached) $ECHO_C" >&6
24323 else
24324 ac_cv_header_hash_map=$ac_header_preproc
24325 fi
24326 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24327 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24328
24329 fi
24330 if test $ac_cv_header_hash_map = yes; then
24331 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24332 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24333 cat >conftest.$ac_ext <<_ACEOF
24334 /* confdefs.h. */
24335 _ACEOF
24336 cat confdefs.h >>conftest.$ac_ext
24337 cat >>conftest.$ac_ext <<_ACEOF
24338 /* end confdefs.h. */
24339 #include <hash_map>
24340 #include <hash_set>
24341 int
24342 main ()
24343 {
24344 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24345 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24346 ;
24347 return 0;
24348 }
24349 _ACEOF
24350 rm -f conftest.$ac_objext
24351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24352 (eval $ac_compile) 2>conftest.er1
24353 ac_status=$?
24354 grep -v '^ *+' conftest.er1 >conftest.err
24355 rm -f conftest.er1
24356 cat conftest.err >&5
24357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358 (exit $ac_status); } &&
24359 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24361 (eval $ac_try) 2>&5
24362 ac_status=$?
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); }; } &&
24365 { ac_try='test -s conftest.$ac_objext'
24366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24367 (eval $ac_try) 2>&5
24368 ac_status=$?
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); }; }; then
24371 echo "$as_me:$LINENO: result: yes" >&5
24372 echo "${ECHO_T}yes" >&6
24373 cat >>confdefs.h <<\_ACEOF
24374 #define HAVE_HASH_MAP 1
24375 _ACEOF
24376
24377 cat >>confdefs.h <<\_ACEOF
24378 #define HAVE_STD_HASH_MAP 1
24379 _ACEOF
24380
24381 else
24382 echo "$as_me: failed program was:" >&5
24383 sed 's/^/| /' conftest.$ac_ext >&5
24384
24385 echo "$as_me:$LINENO: result: no" >&5
24386 echo "${ECHO_T}no" >&6
24387 fi
24388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24389
24390 fi
24391
24392
24393
24394 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24395 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24396 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24397 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24398 echo $ECHO_N "(cached) $ECHO_C" >&6
24399 fi
24400 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24401 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24402 else
24403 # Is the header compilable?
24404 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24405 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24406 cat >conftest.$ac_ext <<_ACEOF
24407 /* confdefs.h. */
24408 _ACEOF
24409 cat confdefs.h >>conftest.$ac_ext
24410 cat >>conftest.$ac_ext <<_ACEOF
24411 /* end confdefs.h. */
24412 $ac_includes_default
24413 #include <ext/hash_map>
24414 _ACEOF
24415 rm -f conftest.$ac_objext
24416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24417 (eval $ac_compile) 2>conftest.er1
24418 ac_status=$?
24419 grep -v '^ *+' conftest.er1 >conftest.err
24420 rm -f conftest.er1
24421 cat conftest.err >&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } &&
24424 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24426 (eval $ac_try) 2>&5
24427 ac_status=$?
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); }; } &&
24430 { ac_try='test -s conftest.$ac_objext'
24431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24432 (eval $ac_try) 2>&5
24433 ac_status=$?
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); }; }; then
24436 ac_header_compiler=yes
24437 else
24438 echo "$as_me: failed program was:" >&5
24439 sed 's/^/| /' conftest.$ac_ext >&5
24440
24441 ac_header_compiler=no
24442 fi
24443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24445 echo "${ECHO_T}$ac_header_compiler" >&6
24446
24447 # Is the header present?
24448 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24449 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24450 cat >conftest.$ac_ext <<_ACEOF
24451 /* confdefs.h. */
24452 _ACEOF
24453 cat confdefs.h >>conftest.$ac_ext
24454 cat >>conftest.$ac_ext <<_ACEOF
24455 /* end confdefs.h. */
24456 #include <ext/hash_map>
24457 _ACEOF
24458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24460 ac_status=$?
24461 grep -v '^ *+' conftest.er1 >conftest.err
24462 rm -f conftest.er1
24463 cat conftest.err >&5
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); } >/dev/null; then
24466 if test -s conftest.err; then
24467 ac_cpp_err=$ac_cxx_preproc_warn_flag
24468 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24469 else
24470 ac_cpp_err=
24471 fi
24472 else
24473 ac_cpp_err=yes
24474 fi
24475 if test -z "$ac_cpp_err"; then
24476 ac_header_preproc=yes
24477 else
24478 echo "$as_me: failed program was:" >&5
24479 sed 's/^/| /' conftest.$ac_ext >&5
24480
24481 ac_header_preproc=no
24482 fi
24483 rm -f conftest.err conftest.$ac_ext
24484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24485 echo "${ECHO_T}$ac_header_preproc" >&6
24486
24487 # So? What about this header?
24488 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24489 yes:no: )
24490 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24491 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24492 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24493 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24494 ac_header_preproc=yes
24495 ;;
24496 no:yes:* )
24497 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24498 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24499 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24500 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24501 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24502 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24503 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24504 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24505 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24506 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24507 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24508 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24509 (
24510 cat <<\_ASBOX
24511 ## ----------------------------------------- ##
24512 ## Report this to wx-dev@lists.wxwidgets.org ##
24513 ## ----------------------------------------- ##
24514 _ASBOX
24515 ) |
24516 sed "s/^/$as_me: WARNING: /" >&2
24517 ;;
24518 esac
24519 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24520 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24521 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24522 echo $ECHO_N "(cached) $ECHO_C" >&6
24523 else
24524 ac_cv_header_ext_hash_map=$ac_header_preproc
24525 fi
24526 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24527 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24528
24529 fi
24530 if test $ac_cv_header_ext_hash_map = yes; then
24531 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24532 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24533 cat >conftest.$ac_ext <<_ACEOF
24534 /* confdefs.h. */
24535 _ACEOF
24536 cat confdefs.h >>conftest.$ac_ext
24537 cat >>conftest.$ac_ext <<_ACEOF
24538 /* end confdefs.h. */
24539 #include <ext/hash_map>
24540 #include <ext/hash_set>
24541 int
24542 main ()
24543 {
24544 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24545 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24546 ;
24547 return 0;
24548 }
24549 _ACEOF
24550 rm -f conftest.$ac_objext
24551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24552 (eval $ac_compile) 2>conftest.er1
24553 ac_status=$?
24554 grep -v '^ *+' conftest.er1 >conftest.err
24555 rm -f conftest.er1
24556 cat conftest.err >&5
24557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24558 (exit $ac_status); } &&
24559 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24561 (eval $ac_try) 2>&5
24562 ac_status=$?
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); }; } &&
24565 { ac_try='test -s conftest.$ac_objext'
24566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24567 (eval $ac_try) 2>&5
24568 ac_status=$?
24569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570 (exit $ac_status); }; }; then
24571 echo "$as_me:$LINENO: result: yes" >&5
24572 echo "${ECHO_T}yes" >&6
24573 cat >>confdefs.h <<\_ACEOF
24574 #define HAVE_EXT_HASH_MAP 1
24575 _ACEOF
24576
24577 cat >>confdefs.h <<\_ACEOF
24578 #define HAVE_GNU_CXX_HASH_MAP 1
24579 _ACEOF
24580
24581 else
24582 echo "$as_me: failed program was:" >&5
24583 sed 's/^/| /' conftest.$ac_ext >&5
24584
24585 echo "$as_me:$LINENO: result: no" >&5
24586 echo "${ECHO_T}no" >&6
24587 fi
24588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24589
24590 fi
24591
24592
24593 fi
24594
24595
24596 SEARCH_INCLUDE="\
24597 /usr/local/include \
24598 \
24599 /usr/Motif-2.1/include \
24600 /usr/Motif-1.2/include \
24601 /usr/include/Motif1.2 \
24602 \
24603 /usr/dt/include \
24604 /usr/openwin/include \
24605 \
24606 /usr/include/Xm \
24607 \
24608 /usr/X11R6/include \
24609 /usr/X11R6.4/include \
24610 /usr/X11R5/include \
24611 /usr/X11R4/include \
24612 \
24613 /usr/include/X11R6 \
24614 /usr/include/X11R5 \
24615 /usr/include/X11R4 \
24616 \
24617 /usr/local/X11R6/include \
24618 /usr/local/X11R5/include \
24619 /usr/local/X11R4/include \
24620 \
24621 /usr/local/include/X11R6 \
24622 /usr/local/include/X11R5 \
24623 /usr/local/include/X11R4 \
24624 \
24625 /usr/X11/include \
24626 /usr/include/X11 \
24627 /usr/local/X11/include \
24628 /usr/local/include/X11 \
24629 \
24630 /usr/XFree86/include/X11 \
24631 /usr/pkg/include \
24632 \
24633 /usr/openwin/share/include"
24634
24635 echo "$as_me:$LINENO: checking for libraries directory" >&5
24636 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24637
24638 case "${host}" in
24639 *-*-irix6* )
24640 if test "${wx_cv_std_libpath+set}" = set; then
24641 echo $ECHO_N "(cached) $ECHO_C" >&6
24642 else
24643
24644 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24645 for e in a so sl dylib dll.a; do
24646 libc="$d/libc.$e"
24647 if test -f $libc; then
24648 save_LIBS="$LIBS"
24649 LIBS="$libc"
24650 cat >conftest.$ac_ext <<_ACEOF
24651 int main() { return 0; }
24652 _ACEOF
24653 rm -f conftest.$ac_objext conftest$ac_exeext
24654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24655 (eval $ac_link) 2>conftest.er1
24656 ac_status=$?
24657 grep -v '^ *+' conftest.er1 >conftest.err
24658 rm -f conftest.er1
24659 cat conftest.err >&5
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); } &&
24662 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24664 (eval $ac_try) 2>&5
24665 ac_status=$?
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); }; } &&
24668 { ac_try='test -s conftest$ac_exeext'
24669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24670 (eval $ac_try) 2>&5
24671 ac_status=$?
24672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24673 (exit $ac_status); }; }; then
24674 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24675 else
24676 echo "$as_me: failed program was:" >&5
24677 sed 's/^/| /' conftest.$ac_ext >&5
24678
24679 fi
24680 rm -f conftest.err conftest.$ac_objext \
24681 conftest$ac_exeext conftest.$ac_ext
24682 LIBS="$save_LIBS"
24683 if test "x$wx_cv_std_libpath" != "x"; then
24684 break 2
24685 fi
24686 fi
24687 done
24688 done
24689 if test "x$wx_cv_std_libpath" = "x"; then
24690 wx_cv_std_libpath="lib"
24691 fi
24692
24693
24694 fi
24695
24696 ;;
24697
24698 *-*-solaris2* )
24699 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24700 wx_cv_std_libpath="lib/64"
24701 else
24702 wx_cv_std_libpath="lib"
24703 fi
24704 ;;
24705
24706 *-*-linux* )
24707 if test "$ac_cv_sizeof_void_p" = 8 -a \
24708 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24709 wx_cv_std_libpath="lib64"
24710 else
24711 wx_cv_std_libpath="lib"
24712 fi
24713 ;;
24714
24715 *)
24716 wx_cv_std_libpath="lib";
24717 ;;
24718 esac
24719
24720 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24721 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24722
24723 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24724
24725 if test "$build" != "$host" -a "$GCC" = yes; then
24726 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24727 cross_root=`dirname $cross_root`
24728 cross_root=`dirname $cross_root`
24729
24730 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24731 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24732 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24733
24734 if test -z "$PKG_CONFIG_PATH"; then
24735 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24736 export PKG_CONFIG_PATH
24737 fi
24738
24739 if test -z "$x_includes" -o "$x_includes" = NONE; then
24740
24741 ac_find_includes=
24742 for ac_dir in $SEARCH_INCLUDE /usr/include;
24743 do
24744 if test -f "$ac_dir/X11/Intrinsic.h"; then
24745 ac_find_includes=$ac_dir
24746 break
24747 fi
24748 done
24749
24750 x_includes=$ac_find_includes
24751 fi
24752 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24753
24754 ac_find_libraries=
24755 for ac_dir in $SEARCH_LIB;
24756 do
24757 for ac_extension in a so sl dylib dll.a; do
24758 if test -f "$ac_dir/libXt.$ac_extension"; then
24759 ac_find_libraries=$ac_dir
24760 break 2
24761 fi
24762 done
24763 done
24764
24765 x_libraries=$ac_find_libraries
24766 fi
24767 fi
24768 fi
24769
24770
24771 cat >confcache <<\_ACEOF
24772 # This file is a shell script that caches the results of configure
24773 # tests run on this system so they can be shared between configure
24774 # scripts and configure runs, see configure's option --config-cache.
24775 # It is not useful on other systems. If it contains results you don't
24776 # want to keep, you may remove or edit it.
24777 #
24778 # config.status only pays attention to the cache file if you give it
24779 # the --recheck option to rerun configure.
24780 #
24781 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24782 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24783 # following values.
24784
24785 _ACEOF
24786
24787 # The following way of writing the cache mishandles newlines in values,
24788 # but we know of no workaround that is simple, portable, and efficient.
24789 # So, don't put newlines in cache variables' values.
24790 # Ultrix sh set writes to stderr and can't be redirected directly,
24791 # and sets the high bit in the cache file unless we assign to the vars.
24792 {
24793 (set) 2>&1 |
24794 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24795 *ac_space=\ *)
24796 # `set' does not quote correctly, so add quotes (double-quote
24797 # substitution turns \\\\ into \\, and sed turns \\ into \).
24798 sed -n \
24799 "s/'/'\\\\''/g;
24800 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24801 ;;
24802 *)
24803 # `set' quotes correctly as required by POSIX, so do not add quotes.
24804 sed -n \
24805 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24806 ;;
24807 esac;
24808 } |
24809 sed '
24810 t clear
24811 : clear
24812 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24813 t end
24814 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24815 : end' >>confcache
24816 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24817 if test -w $cache_file; then
24818 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24819 cat confcache >$cache_file
24820 else
24821 echo "not updating unwritable cache $cache_file"
24822 fi
24823 fi
24824 rm -f confcache
24825
24826 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24827 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24828 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24829 if test "${wx_cv_lib_glibc21+set}" = set; then
24830 echo $ECHO_N "(cached) $ECHO_C" >&6
24831 else
24832
24833 cat >conftest.$ac_ext <<_ACEOF
24834 /* confdefs.h. */
24835 _ACEOF
24836 cat confdefs.h >>conftest.$ac_ext
24837 cat >>conftest.$ac_ext <<_ACEOF
24838 /* end confdefs.h. */
24839 #include <features.h>
24840 int
24841 main ()
24842 {
24843
24844 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24845 not glibc 2.1
24846 #endif
24847
24848 ;
24849 return 0;
24850 }
24851 _ACEOF
24852 rm -f conftest.$ac_objext
24853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24854 (eval $ac_compile) 2>conftest.er1
24855 ac_status=$?
24856 grep -v '^ *+' conftest.er1 >conftest.err
24857 rm -f conftest.er1
24858 cat conftest.err >&5
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); } &&
24861 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24863 (eval $ac_try) 2>&5
24864 ac_status=$?
24865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866 (exit $ac_status); }; } &&
24867 { ac_try='test -s conftest.$ac_objext'
24868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24869 (eval $ac_try) 2>&5
24870 ac_status=$?
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); }; }; then
24873
24874 wx_cv_lib_glibc21=yes
24875
24876 else
24877 echo "$as_me: failed program was:" >&5
24878 sed 's/^/| /' conftest.$ac_ext >&5
24879
24880
24881 wx_cv_lib_glibc21=no
24882
24883
24884 fi
24885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24886
24887 fi
24888 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24889 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24890 if test "$wx_cv_lib_glibc21" = "yes"; then
24891 cat >>confdefs.h <<\_ACEOF
24892 #define wxHAVE_GLIBC2 1
24893 _ACEOF
24894
24895 fi
24896 fi
24897
24898 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24899 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24900 cat >>confdefs.h <<\_ACEOF
24901 #define _GNU_SOURCE 1
24902 _ACEOF
24903
24904 fi
24905 fi
24906
24907 have_cos=0
24908 have_floor=0
24909
24910 for ac_func in cos
24911 do
24912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24913 echo "$as_me:$LINENO: checking for $ac_func" >&5
24914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24915 if eval "test \"\${$as_ac_var+set}\" = set"; then
24916 echo $ECHO_N "(cached) $ECHO_C" >&6
24917 else
24918 cat >conftest.$ac_ext <<_ACEOF
24919 /* confdefs.h. */
24920 _ACEOF
24921 cat confdefs.h >>conftest.$ac_ext
24922 cat >>conftest.$ac_ext <<_ACEOF
24923 /* end confdefs.h. */
24924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24926 #define $ac_func innocuous_$ac_func
24927
24928 /* System header to define __stub macros and hopefully few prototypes,
24929 which can conflict with char $ac_func (); below.
24930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24931 <limits.h> exists even on freestanding compilers. */
24932
24933 #ifdef __STDC__
24934 # include <limits.h>
24935 #else
24936 # include <assert.h>
24937 #endif
24938
24939 #undef $ac_func
24940
24941 /* Override any gcc2 internal prototype to avoid an error. */
24942 #ifdef __cplusplus
24943 extern "C"
24944 {
24945 #endif
24946 /* We use char because int might match the return type of a gcc2
24947 builtin and then its argument prototype would still apply. */
24948 char $ac_func ();
24949 /* The GNU C library defines this for functions which it implements
24950 to always fail with ENOSYS. Some functions are actually named
24951 something starting with __ and the normal name is an alias. */
24952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24953 choke me
24954 #else
24955 char (*f) () = $ac_func;
24956 #endif
24957 #ifdef __cplusplus
24958 }
24959 #endif
24960
24961 int
24962 main ()
24963 {
24964 return f != $ac_func;
24965 ;
24966 return 0;
24967 }
24968 _ACEOF
24969 rm -f conftest.$ac_objext conftest$ac_exeext
24970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24971 (eval $ac_link) 2>conftest.er1
24972 ac_status=$?
24973 grep -v '^ *+' conftest.er1 >conftest.err
24974 rm -f conftest.er1
24975 cat conftest.err >&5
24976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24977 (exit $ac_status); } &&
24978 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24980 (eval $ac_try) 2>&5
24981 ac_status=$?
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); }; } &&
24984 { ac_try='test -s conftest$ac_exeext'
24985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24986 (eval $ac_try) 2>&5
24987 ac_status=$?
24988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24989 (exit $ac_status); }; }; then
24990 eval "$as_ac_var=yes"
24991 else
24992 echo "$as_me: failed program was:" >&5
24993 sed 's/^/| /' conftest.$ac_ext >&5
24994
24995 eval "$as_ac_var=no"
24996 fi
24997 rm -f conftest.err conftest.$ac_objext \
24998 conftest$ac_exeext conftest.$ac_ext
24999 fi
25000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25002 if test `eval echo '${'$as_ac_var'}'` = yes; then
25003 cat >>confdefs.h <<_ACEOF
25004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25005 _ACEOF
25006 have_cos=1
25007 fi
25008 done
25009
25010
25011 for ac_func in floor
25012 do
25013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25014 echo "$as_me:$LINENO: checking for $ac_func" >&5
25015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25016 if eval "test \"\${$as_ac_var+set}\" = set"; then
25017 echo $ECHO_N "(cached) $ECHO_C" >&6
25018 else
25019 cat >conftest.$ac_ext <<_ACEOF
25020 /* confdefs.h. */
25021 _ACEOF
25022 cat confdefs.h >>conftest.$ac_ext
25023 cat >>conftest.$ac_ext <<_ACEOF
25024 /* end confdefs.h. */
25025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25027 #define $ac_func innocuous_$ac_func
25028
25029 /* System header to define __stub macros and hopefully few prototypes,
25030 which can conflict with char $ac_func (); below.
25031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25032 <limits.h> exists even on freestanding compilers. */
25033
25034 #ifdef __STDC__
25035 # include <limits.h>
25036 #else
25037 # include <assert.h>
25038 #endif
25039
25040 #undef $ac_func
25041
25042 /* Override any gcc2 internal prototype to avoid an error. */
25043 #ifdef __cplusplus
25044 extern "C"
25045 {
25046 #endif
25047 /* We use char because int might match the return type of a gcc2
25048 builtin and then its argument prototype would still apply. */
25049 char $ac_func ();
25050 /* The GNU C library defines this for functions which it implements
25051 to always fail with ENOSYS. Some functions are actually named
25052 something starting with __ and the normal name is an alias. */
25053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25054 choke me
25055 #else
25056 char (*f) () = $ac_func;
25057 #endif
25058 #ifdef __cplusplus
25059 }
25060 #endif
25061
25062 int
25063 main ()
25064 {
25065 return f != $ac_func;
25066 ;
25067 return 0;
25068 }
25069 _ACEOF
25070 rm -f conftest.$ac_objext conftest$ac_exeext
25071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25072 (eval $ac_link) 2>conftest.er1
25073 ac_status=$?
25074 grep -v '^ *+' conftest.er1 >conftest.err
25075 rm -f conftest.er1
25076 cat conftest.err >&5
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); } &&
25079 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25081 (eval $ac_try) 2>&5
25082 ac_status=$?
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); }; } &&
25085 { ac_try='test -s conftest$ac_exeext'
25086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25087 (eval $ac_try) 2>&5
25088 ac_status=$?
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); }; }; then
25091 eval "$as_ac_var=yes"
25092 else
25093 echo "$as_me: failed program was:" >&5
25094 sed 's/^/| /' conftest.$ac_ext >&5
25095
25096 eval "$as_ac_var=no"
25097 fi
25098 rm -f conftest.err conftest.$ac_objext \
25099 conftest$ac_exeext conftest.$ac_ext
25100 fi
25101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25103 if test `eval echo '${'$as_ac_var'}'` = yes; then
25104 cat >>confdefs.h <<_ACEOF
25105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25106 _ACEOF
25107 have_floor=1
25108 fi
25109 done
25110
25111 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25112 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25113 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25114 echo "$as_me:$LINENO: result: yes" >&5
25115 echo "${ECHO_T}yes" >&6
25116 else
25117 echo "$as_me:$LINENO: result: no" >&5
25118 echo "${ECHO_T}no" >&6
25119 LIBS="$LIBS -lm"
25120 # use different functions to avoid configure caching
25121 have_sin=0
25122 have_ceil=0
25123
25124 for ac_func in sin
25125 do
25126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25127 echo "$as_me:$LINENO: checking for $ac_func" >&5
25128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25129 if eval "test \"\${$as_ac_var+set}\" = set"; then
25130 echo $ECHO_N "(cached) $ECHO_C" >&6
25131 else
25132 cat >conftest.$ac_ext <<_ACEOF
25133 /* confdefs.h. */
25134 _ACEOF
25135 cat confdefs.h >>conftest.$ac_ext
25136 cat >>conftest.$ac_ext <<_ACEOF
25137 /* end confdefs.h. */
25138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25140 #define $ac_func innocuous_$ac_func
25141
25142 /* System header to define __stub macros and hopefully few prototypes,
25143 which can conflict with char $ac_func (); below.
25144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25145 <limits.h> exists even on freestanding compilers. */
25146
25147 #ifdef __STDC__
25148 # include <limits.h>
25149 #else
25150 # include <assert.h>
25151 #endif
25152
25153 #undef $ac_func
25154
25155 /* Override any gcc2 internal prototype to avoid an error. */
25156 #ifdef __cplusplus
25157 extern "C"
25158 {
25159 #endif
25160 /* We use char because int might match the return type of a gcc2
25161 builtin and then its argument prototype would still apply. */
25162 char $ac_func ();
25163 /* The GNU C library defines this for functions which it implements
25164 to always fail with ENOSYS. Some functions are actually named
25165 something starting with __ and the normal name is an alias. */
25166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25167 choke me
25168 #else
25169 char (*f) () = $ac_func;
25170 #endif
25171 #ifdef __cplusplus
25172 }
25173 #endif
25174
25175 int
25176 main ()
25177 {
25178 return f != $ac_func;
25179 ;
25180 return 0;
25181 }
25182 _ACEOF
25183 rm -f conftest.$ac_objext conftest$ac_exeext
25184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25185 (eval $ac_link) 2>conftest.er1
25186 ac_status=$?
25187 grep -v '^ *+' conftest.er1 >conftest.err
25188 rm -f conftest.er1
25189 cat conftest.err >&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); } &&
25192 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25194 (eval $ac_try) 2>&5
25195 ac_status=$?
25196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25197 (exit $ac_status); }; } &&
25198 { ac_try='test -s conftest$ac_exeext'
25199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25200 (eval $ac_try) 2>&5
25201 ac_status=$?
25202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25203 (exit $ac_status); }; }; then
25204 eval "$as_ac_var=yes"
25205 else
25206 echo "$as_me: failed program was:" >&5
25207 sed 's/^/| /' conftest.$ac_ext >&5
25208
25209 eval "$as_ac_var=no"
25210 fi
25211 rm -f conftest.err conftest.$ac_objext \
25212 conftest$ac_exeext conftest.$ac_ext
25213 fi
25214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25216 if test `eval echo '${'$as_ac_var'}'` = yes; then
25217 cat >>confdefs.h <<_ACEOF
25218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25219 _ACEOF
25220 have_sin=1
25221 fi
25222 done
25223
25224
25225 for ac_func in ceil
25226 do
25227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25228 echo "$as_me:$LINENO: checking for $ac_func" >&5
25229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25230 if eval "test \"\${$as_ac_var+set}\" = set"; then
25231 echo $ECHO_N "(cached) $ECHO_C" >&6
25232 else
25233 cat >conftest.$ac_ext <<_ACEOF
25234 /* confdefs.h. */
25235 _ACEOF
25236 cat confdefs.h >>conftest.$ac_ext
25237 cat >>conftest.$ac_ext <<_ACEOF
25238 /* end confdefs.h. */
25239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25241 #define $ac_func innocuous_$ac_func
25242
25243 /* System header to define __stub macros and hopefully few prototypes,
25244 which can conflict with char $ac_func (); below.
25245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25246 <limits.h> exists even on freestanding compilers. */
25247
25248 #ifdef __STDC__
25249 # include <limits.h>
25250 #else
25251 # include <assert.h>
25252 #endif
25253
25254 #undef $ac_func
25255
25256 /* Override any gcc2 internal prototype to avoid an error. */
25257 #ifdef __cplusplus
25258 extern "C"
25259 {
25260 #endif
25261 /* We use char because int might match the return type of a gcc2
25262 builtin and then its argument prototype would still apply. */
25263 char $ac_func ();
25264 /* The GNU C library defines this for functions which it implements
25265 to always fail with ENOSYS. Some functions are actually named
25266 something starting with __ and the normal name is an alias. */
25267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25268 choke me
25269 #else
25270 char (*f) () = $ac_func;
25271 #endif
25272 #ifdef __cplusplus
25273 }
25274 #endif
25275
25276 int
25277 main ()
25278 {
25279 return f != $ac_func;
25280 ;
25281 return 0;
25282 }
25283 _ACEOF
25284 rm -f conftest.$ac_objext conftest$ac_exeext
25285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25286 (eval $ac_link) 2>conftest.er1
25287 ac_status=$?
25288 grep -v '^ *+' conftest.er1 >conftest.err
25289 rm -f conftest.er1
25290 cat conftest.err >&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } &&
25293 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25295 (eval $ac_try) 2>&5
25296 ac_status=$?
25297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25298 (exit $ac_status); }; } &&
25299 { ac_try='test -s conftest$ac_exeext'
25300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25301 (eval $ac_try) 2>&5
25302 ac_status=$?
25303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25304 (exit $ac_status); }; }; then
25305 eval "$as_ac_var=yes"
25306 else
25307 echo "$as_me: failed program was:" >&5
25308 sed 's/^/| /' conftest.$ac_ext >&5
25309
25310 eval "$as_ac_var=no"
25311 fi
25312 rm -f conftest.err conftest.$ac_objext \
25313 conftest$ac_exeext conftest.$ac_ext
25314 fi
25315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25317 if test `eval echo '${'$as_ac_var'}'` = yes; then
25318 cat >>confdefs.h <<_ACEOF
25319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25320 _ACEOF
25321 have_ceil=1
25322 fi
25323 done
25324
25325 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25326 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25327 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25328 echo "$as_me:$LINENO: result: yes" >&5
25329 echo "${ECHO_T}yes" >&6
25330 else
25331 echo "$as_me:$LINENO: result: no" >&5
25332 echo "${ECHO_T}no" >&6
25333 # not sure we should warn the user, crash, etc.
25334 fi
25335 fi
25336
25337
25338
25339 if test "$wxUSE_REGEX" != "no"; then
25340 cat >>confdefs.h <<\_ACEOF
25341 #define wxUSE_REGEX 1
25342 _ACEOF
25343
25344
25345 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25346 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25347 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25348 wxUSE_REGEX=builtin
25349 fi
25350
25351 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25352 if test "${ac_cv_header_regex_h+set}" = set; then
25353 echo "$as_me:$LINENO: checking for regex.h" >&5
25354 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25355 if test "${ac_cv_header_regex_h+set}" = set; then
25356 echo $ECHO_N "(cached) $ECHO_C" >&6
25357 fi
25358 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25359 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25360 else
25361 # Is the header compilable?
25362 echo "$as_me:$LINENO: checking regex.h usability" >&5
25363 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25364 cat >conftest.$ac_ext <<_ACEOF
25365 /* confdefs.h. */
25366 _ACEOF
25367 cat confdefs.h >>conftest.$ac_ext
25368 cat >>conftest.$ac_ext <<_ACEOF
25369 /* end confdefs.h. */
25370 $ac_includes_default
25371 #include <regex.h>
25372 _ACEOF
25373 rm -f conftest.$ac_objext
25374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25375 (eval $ac_compile) 2>conftest.er1
25376 ac_status=$?
25377 grep -v '^ *+' conftest.er1 >conftest.err
25378 rm -f conftest.er1
25379 cat conftest.err >&5
25380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25381 (exit $ac_status); } &&
25382 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25384 (eval $ac_try) 2>&5
25385 ac_status=$?
25386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25387 (exit $ac_status); }; } &&
25388 { ac_try='test -s conftest.$ac_objext'
25389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25390 (eval $ac_try) 2>&5
25391 ac_status=$?
25392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25393 (exit $ac_status); }; }; then
25394 ac_header_compiler=yes
25395 else
25396 echo "$as_me: failed program was:" >&5
25397 sed 's/^/| /' conftest.$ac_ext >&5
25398
25399 ac_header_compiler=no
25400 fi
25401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25402 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25403 echo "${ECHO_T}$ac_header_compiler" >&6
25404
25405 # Is the header present?
25406 echo "$as_me:$LINENO: checking regex.h presence" >&5
25407 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25408 cat >conftest.$ac_ext <<_ACEOF
25409 /* confdefs.h. */
25410 _ACEOF
25411 cat confdefs.h >>conftest.$ac_ext
25412 cat >>conftest.$ac_ext <<_ACEOF
25413 /* end confdefs.h. */
25414 #include <regex.h>
25415 _ACEOF
25416 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25417 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25418 ac_status=$?
25419 grep -v '^ *+' conftest.er1 >conftest.err
25420 rm -f conftest.er1
25421 cat conftest.err >&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); } >/dev/null; then
25424 if test -s conftest.err; then
25425 ac_cpp_err=$ac_cxx_preproc_warn_flag
25426 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25427 else
25428 ac_cpp_err=
25429 fi
25430 else
25431 ac_cpp_err=yes
25432 fi
25433 if test -z "$ac_cpp_err"; then
25434 ac_header_preproc=yes
25435 else
25436 echo "$as_me: failed program was:" >&5
25437 sed 's/^/| /' conftest.$ac_ext >&5
25438
25439 ac_header_preproc=no
25440 fi
25441 rm -f conftest.err conftest.$ac_ext
25442 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25443 echo "${ECHO_T}$ac_header_preproc" >&6
25444
25445 # So? What about this header?
25446 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25447 yes:no: )
25448 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25449 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25450 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25451 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25452 ac_header_preproc=yes
25453 ;;
25454 no:yes:* )
25455 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25456 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25457 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25458 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25459 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25460 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25461 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25462 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25463 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25464 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25465 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25466 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25467 (
25468 cat <<\_ASBOX
25469 ## ----------------------------------------- ##
25470 ## Report this to wx-dev@lists.wxwidgets.org ##
25471 ## ----------------------------------------- ##
25472 _ASBOX
25473 ) |
25474 sed "s/^/$as_me: WARNING: /" >&2
25475 ;;
25476 esac
25477 echo "$as_me:$LINENO: checking for regex.h" >&5
25478 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25479 if test "${ac_cv_header_regex_h+set}" = set; then
25480 echo $ECHO_N "(cached) $ECHO_C" >&6
25481 else
25482 ac_cv_header_regex_h=$ac_header_preproc
25483 fi
25484 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25485 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25486
25487 fi
25488 if test $ac_cv_header_regex_h = yes; then
25489
25490
25491 for ac_func in regcomp re_search
25492 do
25493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25494 echo "$as_me:$LINENO: checking for $ac_func" >&5
25495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25496 if eval "test \"\${$as_ac_var+set}\" = set"; then
25497 echo $ECHO_N "(cached) $ECHO_C" >&6
25498 else
25499 cat >conftest.$ac_ext <<_ACEOF
25500 /* confdefs.h. */
25501 _ACEOF
25502 cat confdefs.h >>conftest.$ac_ext
25503 cat >>conftest.$ac_ext <<_ACEOF
25504 /* end confdefs.h. */
25505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25507 #define $ac_func innocuous_$ac_func
25508
25509 /* System header to define __stub macros and hopefully few prototypes,
25510 which can conflict with char $ac_func (); below.
25511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25512 <limits.h> exists even on freestanding compilers. */
25513
25514 #ifdef __STDC__
25515 # include <limits.h>
25516 #else
25517 # include <assert.h>
25518 #endif
25519
25520 #undef $ac_func
25521
25522 /* Override any gcc2 internal prototype to avoid an error. */
25523 #ifdef __cplusplus
25524 extern "C"
25525 {
25526 #endif
25527 /* We use char because int might match the return type of a gcc2
25528 builtin and then its argument prototype would still apply. */
25529 char $ac_func ();
25530 /* The GNU C library defines this for functions which it implements
25531 to always fail with ENOSYS. Some functions are actually named
25532 something starting with __ and the normal name is an alias. */
25533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25534 choke me
25535 #else
25536 char (*f) () = $ac_func;
25537 #endif
25538 #ifdef __cplusplus
25539 }
25540 #endif
25541
25542 int
25543 main ()
25544 {
25545 return f != $ac_func;
25546 ;
25547 return 0;
25548 }
25549 _ACEOF
25550 rm -f conftest.$ac_objext conftest$ac_exeext
25551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25552 (eval $ac_link) 2>conftest.er1
25553 ac_status=$?
25554 grep -v '^ *+' conftest.er1 >conftest.err
25555 rm -f conftest.er1
25556 cat conftest.err >&5
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); } &&
25559 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25561 (eval $ac_try) 2>&5
25562 ac_status=$?
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); }; } &&
25565 { ac_try='test -s conftest$ac_exeext'
25566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25567 (eval $ac_try) 2>&5
25568 ac_status=$?
25569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25570 (exit $ac_status); }; }; then
25571 eval "$as_ac_var=yes"
25572 else
25573 echo "$as_me: failed program was:" >&5
25574 sed 's/^/| /' conftest.$ac_ext >&5
25575
25576 eval "$as_ac_var=no"
25577 fi
25578 rm -f conftest.err conftest.$ac_objext \
25579 conftest$ac_exeext conftest.$ac_ext
25580 fi
25581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25583 if test `eval echo '${'$as_ac_var'}'` = yes; then
25584 cat >>confdefs.h <<_ACEOF
25585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25586 _ACEOF
25587
25588 fi
25589 done
25590
25591 fi
25592
25593
25594
25595 if test "x$ac_cv_func_regcomp" != "xyes"; then
25596 if test "$wxUSE_REGEX" = "sys" ; then
25597 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25598 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25599 { (exit 1); exit 1; }; }
25600 else
25601 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25602 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25603 wxUSE_REGEX=builtin
25604 fi
25605 else
25606 wxUSE_REGEX=sys
25607 cat >>confdefs.h <<\_ACEOF
25608 #define WX_NO_REGEX_ADVANCED 1
25609 _ACEOF
25610
25611 fi
25612 fi
25613 fi
25614
25615
25616 ZLIB_LINK=
25617 if test "$wxUSE_ZLIB" != "no" ; then
25618 cat >>confdefs.h <<\_ACEOF
25619 #define wxUSE_ZLIB 1
25620 _ACEOF
25621
25622
25623 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25624 if test "$USE_DARWIN" = 1; then
25625 system_zlib_h_ok="yes"
25626 else
25627 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25628 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25629 if test "${ac_cv_header_zlib_h+set}" = set; then
25630 echo $ECHO_N "(cached) $ECHO_C" >&6
25631 else
25632 if test "$cross_compiling" = yes; then
25633 unset ac_cv_header_zlib_h
25634
25635 else
25636 cat >conftest.$ac_ext <<_ACEOF
25637 /* confdefs.h. */
25638 _ACEOF
25639 cat confdefs.h >>conftest.$ac_ext
25640 cat >>conftest.$ac_ext <<_ACEOF
25641 /* end confdefs.h. */
25642
25643 #include <zlib.h>
25644 #include <stdio.h>
25645
25646 int main()
25647 {
25648 FILE *f=fopen("conftestval", "w");
25649 if (!f) exit(1);
25650 fprintf(f, "%s",
25651 ZLIB_VERSION[0] == '1' &&
25652 (ZLIB_VERSION[2] > '1' ||
25653 (ZLIB_VERSION[2] == '1' &&
25654 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25655 exit(0);
25656 }
25657
25658 _ACEOF
25659 rm -f conftest$ac_exeext
25660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25661 (eval $ac_link) 2>&5
25662 ac_status=$?
25663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25666 (eval $ac_try) 2>&5
25667 ac_status=$?
25668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25669 (exit $ac_status); }; }; then
25670 ac_cv_header_zlib_h=`cat conftestval`
25671 else
25672 echo "$as_me: program exited with status $ac_status" >&5
25673 echo "$as_me: failed program was:" >&5
25674 sed 's/^/| /' conftest.$ac_ext >&5
25675
25676 ( exit $ac_status )
25677 ac_cv_header_zlib_h=no
25678 fi
25679 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25680 fi
25681
25682 fi
25683 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25684 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25685 if test "${ac_cv_header_zlib_h+set}" = set; then
25686 echo "$as_me:$LINENO: checking for zlib.h" >&5
25687 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25688 if test "${ac_cv_header_zlib_h+set}" = set; then
25689 echo $ECHO_N "(cached) $ECHO_C" >&6
25690 fi
25691 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25692 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25693 else
25694 # Is the header compilable?
25695 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25696 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25697 cat >conftest.$ac_ext <<_ACEOF
25698 /* confdefs.h. */
25699 _ACEOF
25700 cat confdefs.h >>conftest.$ac_ext
25701 cat >>conftest.$ac_ext <<_ACEOF
25702 /* end confdefs.h. */
25703 $ac_includes_default
25704 #include <zlib.h>
25705 _ACEOF
25706 rm -f conftest.$ac_objext
25707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25708 (eval $ac_compile) 2>conftest.er1
25709 ac_status=$?
25710 grep -v '^ *+' conftest.er1 >conftest.err
25711 rm -f conftest.er1
25712 cat conftest.err >&5
25713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25714 (exit $ac_status); } &&
25715 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25717 (eval $ac_try) 2>&5
25718 ac_status=$?
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); }; } &&
25721 { ac_try='test -s conftest.$ac_objext'
25722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25723 (eval $ac_try) 2>&5
25724 ac_status=$?
25725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25726 (exit $ac_status); }; }; then
25727 ac_header_compiler=yes
25728 else
25729 echo "$as_me: failed program was:" >&5
25730 sed 's/^/| /' conftest.$ac_ext >&5
25731
25732 ac_header_compiler=no
25733 fi
25734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25735 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25736 echo "${ECHO_T}$ac_header_compiler" >&6
25737
25738 # Is the header present?
25739 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25740 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25741 cat >conftest.$ac_ext <<_ACEOF
25742 /* confdefs.h. */
25743 _ACEOF
25744 cat confdefs.h >>conftest.$ac_ext
25745 cat >>conftest.$ac_ext <<_ACEOF
25746 /* end confdefs.h. */
25747 #include <zlib.h>
25748 _ACEOF
25749 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25750 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25751 ac_status=$?
25752 grep -v '^ *+' conftest.er1 >conftest.err
25753 rm -f conftest.er1
25754 cat conftest.err >&5
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); } >/dev/null; then
25757 if test -s conftest.err; then
25758 ac_cpp_err=$ac_cxx_preproc_warn_flag
25759 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25760 else
25761 ac_cpp_err=
25762 fi
25763 else
25764 ac_cpp_err=yes
25765 fi
25766 if test -z "$ac_cpp_err"; then
25767 ac_header_preproc=yes
25768 else
25769 echo "$as_me: failed program was:" >&5
25770 sed 's/^/| /' conftest.$ac_ext >&5
25771
25772 ac_header_preproc=no
25773 fi
25774 rm -f conftest.err conftest.$ac_ext
25775 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25776 echo "${ECHO_T}$ac_header_preproc" >&6
25777
25778 # So? What about this header?
25779 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25780 yes:no: )
25781 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25782 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25783 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25784 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25785 ac_header_preproc=yes
25786 ;;
25787 no:yes:* )
25788 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25789 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25790 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25791 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25792 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25793 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25794 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25795 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25796 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25797 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25798 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25799 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25800 (
25801 cat <<\_ASBOX
25802 ## ----------------------------------------- ##
25803 ## Report this to wx-dev@lists.wxwidgets.org ##
25804 ## ----------------------------------------- ##
25805 _ASBOX
25806 ) |
25807 sed "s/^/$as_me: WARNING: /" >&2
25808 ;;
25809 esac
25810 echo "$as_me:$LINENO: checking for zlib.h" >&5
25811 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25812 if test "${ac_cv_header_zlib_h+set}" = set; then
25813 echo $ECHO_N "(cached) $ECHO_C" >&6
25814 else
25815 ac_cv_header_zlib_h=$ac_header_preproc
25816 fi
25817 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25818 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25819
25820 fi
25821
25822
25823
25824 system_zlib_h_ok=$ac_cv_header_zlib_h
25825 fi
25826
25827 if test "$system_zlib_h_ok" = "yes"; then
25828 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25829 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25830 if test "${ac_cv_lib_z_deflate+set}" = set; then
25831 echo $ECHO_N "(cached) $ECHO_C" >&6
25832 else
25833 ac_check_lib_save_LIBS=$LIBS
25834 LIBS="-lz $LIBS"
25835 cat >conftest.$ac_ext <<_ACEOF
25836 /* confdefs.h. */
25837 _ACEOF
25838 cat confdefs.h >>conftest.$ac_ext
25839 cat >>conftest.$ac_ext <<_ACEOF
25840 /* end confdefs.h. */
25841
25842 /* Override any gcc2 internal prototype to avoid an error. */
25843 #ifdef __cplusplus
25844 extern "C"
25845 #endif
25846 /* We use char because int might match the return type of a gcc2
25847 builtin and then its argument prototype would still apply. */
25848 char deflate ();
25849 int
25850 main ()
25851 {
25852 deflate ();
25853 ;
25854 return 0;
25855 }
25856 _ACEOF
25857 rm -f conftest.$ac_objext conftest$ac_exeext
25858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25859 (eval $ac_link) 2>conftest.er1
25860 ac_status=$?
25861 grep -v '^ *+' conftest.er1 >conftest.err
25862 rm -f conftest.er1
25863 cat conftest.err >&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } &&
25866 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25868 (eval $ac_try) 2>&5
25869 ac_status=$?
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); }; } &&
25872 { ac_try='test -s conftest$ac_exeext'
25873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25874 (eval $ac_try) 2>&5
25875 ac_status=$?
25876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877 (exit $ac_status); }; }; then
25878 ac_cv_lib_z_deflate=yes
25879 else
25880 echo "$as_me: failed program was:" >&5
25881 sed 's/^/| /' conftest.$ac_ext >&5
25882
25883 ac_cv_lib_z_deflate=no
25884 fi
25885 rm -f conftest.err conftest.$ac_objext \
25886 conftest$ac_exeext conftest.$ac_ext
25887 LIBS=$ac_check_lib_save_LIBS
25888 fi
25889 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25890 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25891 if test $ac_cv_lib_z_deflate = yes; then
25892 ZLIB_LINK=" -lz"
25893 fi
25894
25895 fi
25896
25897 if test "x$ZLIB_LINK" = "x" ; then
25898 if test "$wxUSE_ZLIB" = "sys" ; then
25899 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25900 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25901 { (exit 1); exit 1; }; }
25902 else
25903 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25904 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25905 wxUSE_ZLIB=builtin
25906 fi
25907 else
25908 wxUSE_ZLIB=sys
25909 fi
25910 fi
25911 fi
25912
25913
25914 PNG_LINK=
25915 if test "$wxUSE_LIBPNG" != "no" ; then
25916 cat >>confdefs.h <<\_ACEOF
25917 #define wxUSE_LIBPNG 1
25918 _ACEOF
25919
25920
25921 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25922 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25923 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25924 wxUSE_LIBPNG=sys
25925 fi
25926
25927 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25928 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25929 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25930 wxUSE_LIBPNG=builtin
25931 fi
25932
25933 if test "$wxUSE_MGL" != 1 ; then
25934 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25935 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25936 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25937 if test "${ac_cv_header_png_h+set}" = set; then
25938 echo $ECHO_N "(cached) $ECHO_C" >&6
25939 else
25940 if test "$cross_compiling" = yes; then
25941 unset ac_cv_header_png_h
25942
25943 else
25944 cat >conftest.$ac_ext <<_ACEOF
25945 /* confdefs.h. */
25946 _ACEOF
25947 cat confdefs.h >>conftest.$ac_ext
25948 cat >>conftest.$ac_ext <<_ACEOF
25949 /* end confdefs.h. */
25950
25951 #include <png.h>
25952 #include <stdio.h>
25953
25954 int main()
25955 {
25956 FILE *f=fopen("conftestval", "w");
25957 if (!f) exit(1);
25958 fprintf(f, "%s",
25959 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25960 exit(0);
25961 }
25962
25963 _ACEOF
25964 rm -f conftest$ac_exeext
25965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25966 (eval $ac_link) 2>&5
25967 ac_status=$?
25968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25971 (eval $ac_try) 2>&5
25972 ac_status=$?
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); }; }; then
25975 ac_cv_header_png_h=`cat conftestval`
25976 else
25977 echo "$as_me: program exited with status $ac_status" >&5
25978 echo "$as_me: failed program was:" >&5
25979 sed 's/^/| /' conftest.$ac_ext >&5
25980
25981 ( exit $ac_status )
25982 ac_cv_header_png_h=no
25983 fi
25984 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25985 fi
25986
25987 fi
25988 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25989 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25990 if test "${ac_cv_header_png_h+set}" = set; then
25991 echo "$as_me:$LINENO: checking for png.h" >&5
25992 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25993 if test "${ac_cv_header_png_h+set}" = set; then
25994 echo $ECHO_N "(cached) $ECHO_C" >&6
25995 fi
25996 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25997 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25998 else
25999 # Is the header compilable?
26000 echo "$as_me:$LINENO: checking png.h usability" >&5
26001 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
26002 cat >conftest.$ac_ext <<_ACEOF
26003 /* confdefs.h. */
26004 _ACEOF
26005 cat confdefs.h >>conftest.$ac_ext
26006 cat >>conftest.$ac_ext <<_ACEOF
26007 /* end confdefs.h. */
26008 $ac_includes_default
26009 #include <png.h>
26010 _ACEOF
26011 rm -f conftest.$ac_objext
26012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26013 (eval $ac_compile) 2>conftest.er1
26014 ac_status=$?
26015 grep -v '^ *+' conftest.er1 >conftest.err
26016 rm -f conftest.er1
26017 cat conftest.err >&5
26018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26019 (exit $ac_status); } &&
26020 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26022 (eval $ac_try) 2>&5
26023 ac_status=$?
26024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26025 (exit $ac_status); }; } &&
26026 { ac_try='test -s conftest.$ac_objext'
26027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26028 (eval $ac_try) 2>&5
26029 ac_status=$?
26030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031 (exit $ac_status); }; }; then
26032 ac_header_compiler=yes
26033 else
26034 echo "$as_me: failed program was:" >&5
26035 sed 's/^/| /' conftest.$ac_ext >&5
26036
26037 ac_header_compiler=no
26038 fi
26039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26040 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26041 echo "${ECHO_T}$ac_header_compiler" >&6
26042
26043 # Is the header present?
26044 echo "$as_me:$LINENO: checking png.h presence" >&5
26045 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26046 cat >conftest.$ac_ext <<_ACEOF
26047 /* confdefs.h. */
26048 _ACEOF
26049 cat confdefs.h >>conftest.$ac_ext
26050 cat >>conftest.$ac_ext <<_ACEOF
26051 /* end confdefs.h. */
26052 #include <png.h>
26053 _ACEOF
26054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26055 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26056 ac_status=$?
26057 grep -v '^ *+' conftest.er1 >conftest.err
26058 rm -f conftest.er1
26059 cat conftest.err >&5
26060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26061 (exit $ac_status); } >/dev/null; then
26062 if test -s conftest.err; then
26063 ac_cpp_err=$ac_cxx_preproc_warn_flag
26064 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26065 else
26066 ac_cpp_err=
26067 fi
26068 else
26069 ac_cpp_err=yes
26070 fi
26071 if test -z "$ac_cpp_err"; then
26072 ac_header_preproc=yes
26073 else
26074 echo "$as_me: failed program was:" >&5
26075 sed 's/^/| /' conftest.$ac_ext >&5
26076
26077 ac_header_preproc=no
26078 fi
26079 rm -f conftest.err conftest.$ac_ext
26080 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26081 echo "${ECHO_T}$ac_header_preproc" >&6
26082
26083 # So? What about this header?
26084 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26085 yes:no: )
26086 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26087 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26088 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26089 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26090 ac_header_preproc=yes
26091 ;;
26092 no:yes:* )
26093 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26094 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26095 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26096 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26097 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26098 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26099 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26100 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26101 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26102 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26103 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26104 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26105 (
26106 cat <<\_ASBOX
26107 ## ----------------------------------------- ##
26108 ## Report this to wx-dev@lists.wxwidgets.org ##
26109 ## ----------------------------------------- ##
26110 _ASBOX
26111 ) |
26112 sed "s/^/$as_me: WARNING: /" >&2
26113 ;;
26114 esac
26115 echo "$as_me:$LINENO: checking for png.h" >&5
26116 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26117 if test "${ac_cv_header_png_h+set}" = set; then
26118 echo $ECHO_N "(cached) $ECHO_C" >&6
26119 else
26120 ac_cv_header_png_h=$ac_header_preproc
26121 fi
26122 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26123 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26124
26125 fi
26126
26127
26128
26129 if test "$ac_cv_header_png_h" = "yes"; then
26130 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26131 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26132 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26133 echo $ECHO_N "(cached) $ECHO_C" >&6
26134 else
26135 ac_check_lib_save_LIBS=$LIBS
26136 LIBS="-lpng -lz -lm $LIBS"
26137 cat >conftest.$ac_ext <<_ACEOF
26138 /* confdefs.h. */
26139 _ACEOF
26140 cat confdefs.h >>conftest.$ac_ext
26141 cat >>conftest.$ac_ext <<_ACEOF
26142 /* end confdefs.h. */
26143
26144 /* Override any gcc2 internal prototype to avoid an error. */
26145 #ifdef __cplusplus
26146 extern "C"
26147 #endif
26148 /* We use char because int might match the return type of a gcc2
26149 builtin and then its argument prototype would still apply. */
26150 char png_check_sig ();
26151 int
26152 main ()
26153 {
26154 png_check_sig ();
26155 ;
26156 return 0;
26157 }
26158 _ACEOF
26159 rm -f conftest.$ac_objext conftest$ac_exeext
26160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26161 (eval $ac_link) 2>conftest.er1
26162 ac_status=$?
26163 grep -v '^ *+' conftest.er1 >conftest.err
26164 rm -f conftest.er1
26165 cat conftest.err >&5
26166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167 (exit $ac_status); } &&
26168 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26170 (eval $ac_try) 2>&5
26171 ac_status=$?
26172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173 (exit $ac_status); }; } &&
26174 { ac_try='test -s conftest$ac_exeext'
26175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26176 (eval $ac_try) 2>&5
26177 ac_status=$?
26178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179 (exit $ac_status); }; }; then
26180 ac_cv_lib_png_png_check_sig=yes
26181 else
26182 echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.$ac_ext >&5
26184
26185 ac_cv_lib_png_png_check_sig=no
26186 fi
26187 rm -f conftest.err conftest.$ac_objext \
26188 conftest$ac_exeext conftest.$ac_ext
26189 LIBS=$ac_check_lib_save_LIBS
26190 fi
26191 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26192 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26193 if test $ac_cv_lib_png_png_check_sig = yes; then
26194 PNG_LINK=" -lpng -lz"
26195 fi
26196
26197 fi
26198
26199 if test "x$PNG_LINK" = "x" ; then
26200 if test "$wxUSE_LIBPNG" = "sys" ; then
26201 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26202 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26203 { (exit 1); exit 1; }; }
26204 else
26205 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26206 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26207 wxUSE_LIBPNG=builtin
26208 fi
26209 else
26210 wxUSE_LIBPNG=sys
26211 fi
26212 fi
26213 fi
26214
26215 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26216 fi
26217
26218
26219 JPEG_LINK=
26220 if test "$wxUSE_LIBJPEG" != "no" ; then
26221 cat >>confdefs.h <<\_ACEOF
26222 #define wxUSE_LIBJPEG 1
26223 _ACEOF
26224
26225
26226 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26227 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26228 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26229 wxUSE_LIBJPEG=sys
26230 fi
26231
26232 if test "$wxUSE_MGL" != 1 ; then
26233 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26234 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26235 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26236 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26237 echo $ECHO_N "(cached) $ECHO_C" >&6
26238 else
26239 cat >conftest.$ac_ext <<_ACEOF
26240 /* confdefs.h. */
26241 _ACEOF
26242 cat confdefs.h >>conftest.$ac_ext
26243 cat >>conftest.$ac_ext <<_ACEOF
26244 /* end confdefs.h. */
26245
26246 #undef HAVE_STDLIB_H
26247 #include <stdio.h>
26248 #include <jpeglib.h>
26249
26250 int
26251 main ()
26252 {
26253
26254
26255 ;
26256 return 0;
26257 }
26258 _ACEOF
26259 rm -f conftest.$ac_objext
26260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26261 (eval $ac_compile) 2>conftest.er1
26262 ac_status=$?
26263 grep -v '^ *+' conftest.er1 >conftest.err
26264 rm -f conftest.er1
26265 cat conftest.err >&5
26266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26267 (exit $ac_status); } &&
26268 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26270 (eval $ac_try) 2>&5
26271 ac_status=$?
26272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26273 (exit $ac_status); }; } &&
26274 { ac_try='test -s conftest.$ac_objext'
26275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26276 (eval $ac_try) 2>&5
26277 ac_status=$?
26278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26279 (exit $ac_status); }; }; then
26280 ac_cv_header_jpeglib_h=yes
26281 else
26282 echo "$as_me: failed program was:" >&5
26283 sed 's/^/| /' conftest.$ac_ext >&5
26284
26285 ac_cv_header_jpeglib_h=no
26286
26287 fi
26288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26289
26290 fi
26291
26292 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26293 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26294
26295 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26296 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26297 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26298 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26299 echo $ECHO_N "(cached) $ECHO_C" >&6
26300 else
26301 ac_check_lib_save_LIBS=$LIBS
26302 LIBS="-ljpeg $LIBS"
26303 cat >conftest.$ac_ext <<_ACEOF
26304 /* confdefs.h. */
26305 _ACEOF
26306 cat confdefs.h >>conftest.$ac_ext
26307 cat >>conftest.$ac_ext <<_ACEOF
26308 /* end confdefs.h. */
26309
26310 /* Override any gcc2 internal prototype to avoid an error. */
26311 #ifdef __cplusplus
26312 extern "C"
26313 #endif
26314 /* We use char because int might match the return type of a gcc2
26315 builtin and then its argument prototype would still apply. */
26316 char jpeg_read_header ();
26317 int
26318 main ()
26319 {
26320 jpeg_read_header ();
26321 ;
26322 return 0;
26323 }
26324 _ACEOF
26325 rm -f conftest.$ac_objext conftest$ac_exeext
26326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26327 (eval $ac_link) 2>conftest.er1
26328 ac_status=$?
26329 grep -v '^ *+' conftest.er1 >conftest.err
26330 rm -f conftest.er1
26331 cat conftest.err >&5
26332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333 (exit $ac_status); } &&
26334 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26336 (eval $ac_try) 2>&5
26337 ac_status=$?
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); }; } &&
26340 { ac_try='test -s conftest$ac_exeext'
26341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26342 (eval $ac_try) 2>&5
26343 ac_status=$?
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); }; }; then
26346 ac_cv_lib_jpeg_jpeg_read_header=yes
26347 else
26348 echo "$as_me: failed program was:" >&5
26349 sed 's/^/| /' conftest.$ac_ext >&5
26350
26351 ac_cv_lib_jpeg_jpeg_read_header=no
26352 fi
26353 rm -f conftest.err conftest.$ac_objext \
26354 conftest$ac_exeext conftest.$ac_ext
26355 LIBS=$ac_check_lib_save_LIBS
26356 fi
26357 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26358 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26359 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26360 JPEG_LINK=" -ljpeg"
26361 fi
26362
26363 fi
26364
26365 if test "x$JPEG_LINK" = "x" ; then
26366 if test "$wxUSE_LIBJPEG" = "sys" ; then
26367 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26368 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26369 { (exit 1); exit 1; }; }
26370 else
26371 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26372 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26373 wxUSE_LIBJPEG=builtin
26374 fi
26375 else
26376 wxUSE_LIBJPEG=sys
26377 fi
26378 fi
26379 fi
26380 fi
26381
26382
26383 TIFF_LINK=
26384 TIFF_PREREQ_LINKS=-lm
26385 if test "$wxUSE_LIBTIFF" != "no" ; then
26386 cat >>confdefs.h <<\_ACEOF
26387 #define wxUSE_LIBTIFF 1
26388 _ACEOF
26389
26390
26391 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26392 if test "$wxUSE_LIBJPEG" = "sys"; then
26393 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26394 fi
26395 if test "$wxUSE_ZLIB" = "sys"; then
26396 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26397 fi
26398 if test "${ac_cv_header_tiffio_h+set}" = set; then
26399 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26400 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26401 if test "${ac_cv_header_tiffio_h+set}" = set; then
26402 echo $ECHO_N "(cached) $ECHO_C" >&6
26403 fi
26404 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26405 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26406 else
26407 # Is the header compilable?
26408 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26409 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26410 cat >conftest.$ac_ext <<_ACEOF
26411 /* confdefs.h. */
26412 _ACEOF
26413 cat confdefs.h >>conftest.$ac_ext
26414 cat >>conftest.$ac_ext <<_ACEOF
26415 /* end confdefs.h. */
26416 $ac_includes_default
26417 #include <tiffio.h>
26418 _ACEOF
26419 rm -f conftest.$ac_objext
26420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26421 (eval $ac_compile) 2>conftest.er1
26422 ac_status=$?
26423 grep -v '^ *+' conftest.er1 >conftest.err
26424 rm -f conftest.er1
26425 cat conftest.err >&5
26426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427 (exit $ac_status); } &&
26428 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26430 (eval $ac_try) 2>&5
26431 ac_status=$?
26432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26433 (exit $ac_status); }; } &&
26434 { ac_try='test -s conftest.$ac_objext'
26435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26436 (eval $ac_try) 2>&5
26437 ac_status=$?
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); }; }; then
26440 ac_header_compiler=yes
26441 else
26442 echo "$as_me: failed program was:" >&5
26443 sed 's/^/| /' conftest.$ac_ext >&5
26444
26445 ac_header_compiler=no
26446 fi
26447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26448 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26449 echo "${ECHO_T}$ac_header_compiler" >&6
26450
26451 # Is the header present?
26452 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26453 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26454 cat >conftest.$ac_ext <<_ACEOF
26455 /* confdefs.h. */
26456 _ACEOF
26457 cat confdefs.h >>conftest.$ac_ext
26458 cat >>conftest.$ac_ext <<_ACEOF
26459 /* end confdefs.h. */
26460 #include <tiffio.h>
26461 _ACEOF
26462 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26463 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26464 ac_status=$?
26465 grep -v '^ *+' conftest.er1 >conftest.err
26466 rm -f conftest.er1
26467 cat conftest.err >&5
26468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26469 (exit $ac_status); } >/dev/null; then
26470 if test -s conftest.err; then
26471 ac_cpp_err=$ac_cxx_preproc_warn_flag
26472 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26473 else
26474 ac_cpp_err=
26475 fi
26476 else
26477 ac_cpp_err=yes
26478 fi
26479 if test -z "$ac_cpp_err"; then
26480 ac_header_preproc=yes
26481 else
26482 echo "$as_me: failed program was:" >&5
26483 sed 's/^/| /' conftest.$ac_ext >&5
26484
26485 ac_header_preproc=no
26486 fi
26487 rm -f conftest.err conftest.$ac_ext
26488 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26489 echo "${ECHO_T}$ac_header_preproc" >&6
26490
26491 # So? What about this header?
26492 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26493 yes:no: )
26494 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26495 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26496 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26497 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26498 ac_header_preproc=yes
26499 ;;
26500 no:yes:* )
26501 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26502 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26503 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26504 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26505 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26506 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26507 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26508 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26509 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26510 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26511 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26512 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26513 (
26514 cat <<\_ASBOX
26515 ## ----------------------------------------- ##
26516 ## Report this to wx-dev@lists.wxwidgets.org ##
26517 ## ----------------------------------------- ##
26518 _ASBOX
26519 ) |
26520 sed "s/^/$as_me: WARNING: /" >&2
26521 ;;
26522 esac
26523 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26524 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26525 if test "${ac_cv_header_tiffio_h+set}" = set; then
26526 echo $ECHO_N "(cached) $ECHO_C" >&6
26527 else
26528 ac_cv_header_tiffio_h=$ac_header_preproc
26529 fi
26530 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26531 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26532
26533 fi
26534 if test $ac_cv_header_tiffio_h = yes; then
26535
26536 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26537 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26538 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26539 echo $ECHO_N "(cached) $ECHO_C" >&6
26540 else
26541 ac_check_lib_save_LIBS=$LIBS
26542 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26543 cat >conftest.$ac_ext <<_ACEOF
26544 /* confdefs.h. */
26545 _ACEOF
26546 cat confdefs.h >>conftest.$ac_ext
26547 cat >>conftest.$ac_ext <<_ACEOF
26548 /* end confdefs.h. */
26549
26550 /* Override any gcc2 internal prototype to avoid an error. */
26551 #ifdef __cplusplus
26552 extern "C"
26553 #endif
26554 /* We use char because int might match the return type of a gcc2
26555 builtin and then its argument prototype would still apply. */
26556 char TIFFError ();
26557 int
26558 main ()
26559 {
26560 TIFFError ();
26561 ;
26562 return 0;
26563 }
26564 _ACEOF
26565 rm -f conftest.$ac_objext conftest$ac_exeext
26566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26567 (eval $ac_link) 2>conftest.er1
26568 ac_status=$?
26569 grep -v '^ *+' conftest.er1 >conftest.err
26570 rm -f conftest.er1
26571 cat conftest.err >&5
26572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26573 (exit $ac_status); } &&
26574 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26576 (eval $ac_try) 2>&5
26577 ac_status=$?
26578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26579 (exit $ac_status); }; } &&
26580 { ac_try='test -s conftest$ac_exeext'
26581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26582 (eval $ac_try) 2>&5
26583 ac_status=$?
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); }; }; then
26586 ac_cv_lib_tiff_TIFFError=yes
26587 else
26588 echo "$as_me: failed program was:" >&5
26589 sed 's/^/| /' conftest.$ac_ext >&5
26590
26591 ac_cv_lib_tiff_TIFFError=no
26592 fi
26593 rm -f conftest.err conftest.$ac_objext \
26594 conftest$ac_exeext conftest.$ac_ext
26595 LIBS=$ac_check_lib_save_LIBS
26596 fi
26597 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26598 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26599 if test $ac_cv_lib_tiff_TIFFError = yes; then
26600 TIFF_LINK=" -ltiff"
26601 fi
26602
26603
26604
26605 fi
26606
26607
26608
26609 if test "x$TIFF_LINK" = "x" ; then
26610 if test "$wxUSE_LIBTIFF" = "sys" ; then
26611 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26612 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26613 { (exit 1); exit 1; }; }
26614 else
26615 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26616 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26617 wxUSE_LIBTIFF=builtin
26618 fi
26619 else
26620 wxUSE_LIBTIFF=sys
26621 fi
26622 fi
26623 fi
26624
26625
26626 if test "$wxUSE_WCHAR_T" != "yes"; then
26627 if test "$wxUSE_EXPAT" != "no"; then
26628 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26629 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26630 wxUSE_EXPAT=no
26631 fi
26632 if test "$wxUSE_XML" != "no"; then
26633 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26634 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26635 wxUSE_XML=no
26636 fi
26637 fi
26638
26639 if test "$wxUSE_EXPAT" != "no"; then
26640 wxUSE_XML=yes
26641 cat >>confdefs.h <<\_ACEOF
26642 #define wxUSE_EXPAT 1
26643 _ACEOF
26644
26645 cat >>confdefs.h <<\_ACEOF
26646 #define wxUSE_XML 1
26647 _ACEOF
26648
26649
26650 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26651 if test "${ac_cv_header_expat_h+set}" = set; then
26652 echo "$as_me:$LINENO: checking for expat.h" >&5
26653 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26654 if test "${ac_cv_header_expat_h+set}" = set; then
26655 echo $ECHO_N "(cached) $ECHO_C" >&6
26656 fi
26657 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26658 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26659 else
26660 # Is the header compilable?
26661 echo "$as_me:$LINENO: checking expat.h usability" >&5
26662 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26663 cat >conftest.$ac_ext <<_ACEOF
26664 /* confdefs.h. */
26665 _ACEOF
26666 cat confdefs.h >>conftest.$ac_ext
26667 cat >>conftest.$ac_ext <<_ACEOF
26668 /* end confdefs.h. */
26669 $ac_includes_default
26670 #include <expat.h>
26671 _ACEOF
26672 rm -f conftest.$ac_objext
26673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26674 (eval $ac_compile) 2>conftest.er1
26675 ac_status=$?
26676 grep -v '^ *+' conftest.er1 >conftest.err
26677 rm -f conftest.er1
26678 cat conftest.err >&5
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); } &&
26681 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26683 (eval $ac_try) 2>&5
26684 ac_status=$?
26685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686 (exit $ac_status); }; } &&
26687 { ac_try='test -s conftest.$ac_objext'
26688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26689 (eval $ac_try) 2>&5
26690 ac_status=$?
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); }; }; then
26693 ac_header_compiler=yes
26694 else
26695 echo "$as_me: failed program was:" >&5
26696 sed 's/^/| /' conftest.$ac_ext >&5
26697
26698 ac_header_compiler=no
26699 fi
26700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26701 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26702 echo "${ECHO_T}$ac_header_compiler" >&6
26703
26704 # Is the header present?
26705 echo "$as_me:$LINENO: checking expat.h presence" >&5
26706 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26707 cat >conftest.$ac_ext <<_ACEOF
26708 /* confdefs.h. */
26709 _ACEOF
26710 cat confdefs.h >>conftest.$ac_ext
26711 cat >>conftest.$ac_ext <<_ACEOF
26712 /* end confdefs.h. */
26713 #include <expat.h>
26714 _ACEOF
26715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26717 ac_status=$?
26718 grep -v '^ *+' conftest.er1 >conftest.err
26719 rm -f conftest.er1
26720 cat conftest.err >&5
26721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26722 (exit $ac_status); } >/dev/null; then
26723 if test -s conftest.err; then
26724 ac_cpp_err=$ac_cxx_preproc_warn_flag
26725 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26726 else
26727 ac_cpp_err=
26728 fi
26729 else
26730 ac_cpp_err=yes
26731 fi
26732 if test -z "$ac_cpp_err"; then
26733 ac_header_preproc=yes
26734 else
26735 echo "$as_me: failed program was:" >&5
26736 sed 's/^/| /' conftest.$ac_ext >&5
26737
26738 ac_header_preproc=no
26739 fi
26740 rm -f conftest.err conftest.$ac_ext
26741 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26742 echo "${ECHO_T}$ac_header_preproc" >&6
26743
26744 # So? What about this header?
26745 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26746 yes:no: )
26747 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26748 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26749 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26750 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26751 ac_header_preproc=yes
26752 ;;
26753 no:yes:* )
26754 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26755 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26756 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26757 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26758 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26759 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26760 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26761 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26762 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26763 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26764 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26765 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26766 (
26767 cat <<\_ASBOX
26768 ## ----------------------------------------- ##
26769 ## Report this to wx-dev@lists.wxwidgets.org ##
26770 ## ----------------------------------------- ##
26771 _ASBOX
26772 ) |
26773 sed "s/^/$as_me: WARNING: /" >&2
26774 ;;
26775 esac
26776 echo "$as_me:$LINENO: checking for expat.h" >&5
26777 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26778 if test "${ac_cv_header_expat_h+set}" = set; then
26779 echo $ECHO_N "(cached) $ECHO_C" >&6
26780 else
26781 ac_cv_header_expat_h=$ac_header_preproc
26782 fi
26783 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26784 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26785
26786 fi
26787 if test $ac_cv_header_expat_h = yes; then
26788 found_expat_h=1
26789 fi
26790
26791
26792 if test "x$found_expat_h" = "x1"; then
26793 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26794 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26795 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26796 echo $ECHO_N "(cached) $ECHO_C" >&6
26797 else
26798
26799 cat >conftest.$ac_ext <<_ACEOF
26800 /* confdefs.h. */
26801 _ACEOF
26802 cat confdefs.h >>conftest.$ac_ext
26803 cat >>conftest.$ac_ext <<_ACEOF
26804 /* end confdefs.h. */
26805 #include <expat.h>
26806 int
26807 main ()
26808 {
26809
26810 ;
26811 return 0;
26812 }
26813 _ACEOF
26814 rm -f conftest.$ac_objext
26815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26816 (eval $ac_compile) 2>conftest.er1
26817 ac_status=$?
26818 grep -v '^ *+' conftest.er1 >conftest.err
26819 rm -f conftest.er1
26820 cat conftest.err >&5
26821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26822 (exit $ac_status); } &&
26823 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26825 (eval $ac_try) 2>&5
26826 ac_status=$?
26827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828 (exit $ac_status); }; } &&
26829 { ac_try='test -s conftest.$ac_objext'
26830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26831 (eval $ac_try) 2>&5
26832 ac_status=$?
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); }; }; then
26835 wx_cv_expat_is_not_broken=yes
26836 else
26837 echo "$as_me: failed program was:" >&5
26838 sed 's/^/| /' conftest.$ac_ext >&5
26839
26840 wx_cv_expat_is_not_broken=no
26841
26842 fi
26843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26844
26845
26846 fi
26847 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26848 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26849 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26850 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26851 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26852 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26853 echo $ECHO_N "(cached) $ECHO_C" >&6
26854 else
26855 ac_check_lib_save_LIBS=$LIBS
26856 LIBS="-lexpat $LIBS"
26857 cat >conftest.$ac_ext <<_ACEOF
26858 /* confdefs.h. */
26859 _ACEOF
26860 cat confdefs.h >>conftest.$ac_ext
26861 cat >>conftest.$ac_ext <<_ACEOF
26862 /* end confdefs.h. */
26863
26864 /* Override any gcc2 internal prototype to avoid an error. */
26865 #ifdef __cplusplus
26866 extern "C"
26867 #endif
26868 /* We use char because int might match the return type of a gcc2
26869 builtin and then its argument prototype would still apply. */
26870 char XML_ParserCreate ();
26871 int
26872 main ()
26873 {
26874 XML_ParserCreate ();
26875 ;
26876 return 0;
26877 }
26878 _ACEOF
26879 rm -f conftest.$ac_objext conftest$ac_exeext
26880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26881 (eval $ac_link) 2>conftest.er1
26882 ac_status=$?
26883 grep -v '^ *+' conftest.er1 >conftest.err
26884 rm -f conftest.er1
26885 cat conftest.err >&5
26886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887 (exit $ac_status); } &&
26888 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26890 (eval $ac_try) 2>&5
26891 ac_status=$?
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); }; } &&
26894 { ac_try='test -s conftest$ac_exeext'
26895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26896 (eval $ac_try) 2>&5
26897 ac_status=$?
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); }; }; then
26900 ac_cv_lib_expat_XML_ParserCreate=yes
26901 else
26902 echo "$as_me: failed program was:" >&5
26903 sed 's/^/| /' conftest.$ac_ext >&5
26904
26905 ac_cv_lib_expat_XML_ParserCreate=no
26906 fi
26907 rm -f conftest.err conftest.$ac_objext \
26908 conftest$ac_exeext conftest.$ac_ext
26909 LIBS=$ac_check_lib_save_LIBS
26910 fi
26911 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26912 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26913 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26914 EXPAT_LINK=" -lexpat"
26915 fi
26916
26917 fi
26918 fi
26919 if test "x$EXPAT_LINK" = "x" ; then
26920 if test "$wxUSE_EXPAT" = "sys" ; then
26921 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26922 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26923 { (exit 1); exit 1; }; }
26924 else
26925 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26926 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26927 wxUSE_EXPAT=builtin
26928 fi
26929 else
26930 wxUSE_EXPAT=sys
26931 fi
26932 fi
26933 if test "$wxUSE_EXPAT" = "builtin" ; then
26934
26935
26936 subdirs="$subdirs src/expat"
26937
26938 fi
26939 fi
26940
26941
26942
26943 if test "$wxUSE_LIBMSPACK" != "no"; then
26944 if test "${ac_cv_header_mspack_h+set}" = set; then
26945 echo "$as_me:$LINENO: checking for mspack.h" >&5
26946 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26947 if test "${ac_cv_header_mspack_h+set}" = set; then
26948 echo $ECHO_N "(cached) $ECHO_C" >&6
26949 fi
26950 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26951 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26952 else
26953 # Is the header compilable?
26954 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26955 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26956 cat >conftest.$ac_ext <<_ACEOF
26957 /* confdefs.h. */
26958 _ACEOF
26959 cat confdefs.h >>conftest.$ac_ext
26960 cat >>conftest.$ac_ext <<_ACEOF
26961 /* end confdefs.h. */
26962 $ac_includes_default
26963 #include <mspack.h>
26964 _ACEOF
26965 rm -f conftest.$ac_objext
26966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26967 (eval $ac_compile) 2>conftest.er1
26968 ac_status=$?
26969 grep -v '^ *+' conftest.er1 >conftest.err
26970 rm -f conftest.er1
26971 cat conftest.err >&5
26972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26973 (exit $ac_status); } &&
26974 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26976 (eval $ac_try) 2>&5
26977 ac_status=$?
26978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26979 (exit $ac_status); }; } &&
26980 { ac_try='test -s conftest.$ac_objext'
26981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26982 (eval $ac_try) 2>&5
26983 ac_status=$?
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); }; }; then
26986 ac_header_compiler=yes
26987 else
26988 echo "$as_me: failed program was:" >&5
26989 sed 's/^/| /' conftest.$ac_ext >&5
26990
26991 ac_header_compiler=no
26992 fi
26993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26995 echo "${ECHO_T}$ac_header_compiler" >&6
26996
26997 # Is the header present?
26998 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26999 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27000 cat >conftest.$ac_ext <<_ACEOF
27001 /* confdefs.h. */
27002 _ACEOF
27003 cat confdefs.h >>conftest.$ac_ext
27004 cat >>conftest.$ac_ext <<_ACEOF
27005 /* end confdefs.h. */
27006 #include <mspack.h>
27007 _ACEOF
27008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27010 ac_status=$?
27011 grep -v '^ *+' conftest.er1 >conftest.err
27012 rm -f conftest.er1
27013 cat conftest.err >&5
27014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27015 (exit $ac_status); } >/dev/null; then
27016 if test -s conftest.err; then
27017 ac_cpp_err=$ac_cxx_preproc_warn_flag
27018 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27019 else
27020 ac_cpp_err=
27021 fi
27022 else
27023 ac_cpp_err=yes
27024 fi
27025 if test -z "$ac_cpp_err"; then
27026 ac_header_preproc=yes
27027 else
27028 echo "$as_me: failed program was:" >&5
27029 sed 's/^/| /' conftest.$ac_ext >&5
27030
27031 ac_header_preproc=no
27032 fi
27033 rm -f conftest.err conftest.$ac_ext
27034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27035 echo "${ECHO_T}$ac_header_preproc" >&6
27036
27037 # So? What about this header?
27038 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27039 yes:no: )
27040 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27041 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27042 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27043 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27044 ac_header_preproc=yes
27045 ;;
27046 no:yes:* )
27047 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27048 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27049 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27050 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27051 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27052 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27053 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27054 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27055 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27056 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27057 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27058 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27059 (
27060 cat <<\_ASBOX
27061 ## ----------------------------------------- ##
27062 ## Report this to wx-dev@lists.wxwidgets.org ##
27063 ## ----------------------------------------- ##
27064 _ASBOX
27065 ) |
27066 sed "s/^/$as_me: WARNING: /" >&2
27067 ;;
27068 esac
27069 echo "$as_me:$LINENO: checking for mspack.h" >&5
27070 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27071 if test "${ac_cv_header_mspack_h+set}" = set; then
27072 echo $ECHO_N "(cached) $ECHO_C" >&6
27073 else
27074 ac_cv_header_mspack_h=$ac_header_preproc
27075 fi
27076 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27077 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27078
27079 fi
27080 if test $ac_cv_header_mspack_h = yes; then
27081 found_mspack_h=1
27082 fi
27083
27084
27085 if test "x$found_mspack_h" = "x1"; then
27086 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27087 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27088 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27089 echo $ECHO_N "(cached) $ECHO_C" >&6
27090 else
27091 ac_check_lib_save_LIBS=$LIBS
27092 LIBS="-lmspack $LIBS"
27093 cat >conftest.$ac_ext <<_ACEOF
27094 /* confdefs.h. */
27095 _ACEOF
27096 cat confdefs.h >>conftest.$ac_ext
27097 cat >>conftest.$ac_ext <<_ACEOF
27098 /* end confdefs.h. */
27099
27100 /* Override any gcc2 internal prototype to avoid an error. */
27101 #ifdef __cplusplus
27102 extern "C"
27103 #endif
27104 /* We use char because int might match the return type of a gcc2
27105 builtin and then its argument prototype would still apply. */
27106 char mspack_create_chm_decompressor ();
27107 int
27108 main ()
27109 {
27110 mspack_create_chm_decompressor ();
27111 ;
27112 return 0;
27113 }
27114 _ACEOF
27115 rm -f conftest.$ac_objext conftest$ac_exeext
27116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27117 (eval $ac_link) 2>conftest.er1
27118 ac_status=$?
27119 grep -v '^ *+' conftest.er1 >conftest.err
27120 rm -f conftest.er1
27121 cat conftest.err >&5
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); } &&
27124 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27126 (eval $ac_try) 2>&5
27127 ac_status=$?
27128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129 (exit $ac_status); }; } &&
27130 { ac_try='test -s conftest$ac_exeext'
27131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27132 (eval $ac_try) 2>&5
27133 ac_status=$?
27134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135 (exit $ac_status); }; }; then
27136 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27137 else
27138 echo "$as_me: failed program was:" >&5
27139 sed 's/^/| /' conftest.$ac_ext >&5
27140
27141 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27142 fi
27143 rm -f conftest.err conftest.$ac_objext \
27144 conftest$ac_exeext conftest.$ac_ext
27145 LIBS=$ac_check_lib_save_LIBS
27146 fi
27147 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27148 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27149 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27150 MSPACK_LINK=" -lmspack"
27151 fi
27152
27153 fi
27154 if test "x$MSPACK_LINK" = "x" ; then
27155 wxUSE_LIBMSPACK=no
27156 fi
27157 fi
27158
27159 if test "$wxUSE_LIBMSPACK" != "no"; then
27160 cat >>confdefs.h <<\_ACEOF
27161 #define wxUSE_LIBMSPACK 1
27162 _ACEOF
27163
27164 fi
27165
27166
27167
27168 AFMINSTALL=
27169 WIN32INSTALL=
27170
27171 TOOLKIT=
27172 TOOLKIT_INCLUDE=
27173 WIDGET_SET=
27174
27175 if test "$USE_WIN32" = 1 ; then
27176
27177 for ac_header in w32api.h
27178 do
27179 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27181 echo "$as_me:$LINENO: checking for $ac_header" >&5
27182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27184 echo $ECHO_N "(cached) $ECHO_C" >&6
27185 fi
27186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27188 else
27189 # Is the header compilable?
27190 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27191 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27192 cat >conftest.$ac_ext <<_ACEOF
27193 /* confdefs.h. */
27194 _ACEOF
27195 cat confdefs.h >>conftest.$ac_ext
27196 cat >>conftest.$ac_ext <<_ACEOF
27197 /* end confdefs.h. */
27198 $ac_includes_default
27199 #include <$ac_header>
27200 _ACEOF
27201 rm -f conftest.$ac_objext
27202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27203 (eval $ac_compile) 2>conftest.er1
27204 ac_status=$?
27205 grep -v '^ *+' conftest.er1 >conftest.err
27206 rm -f conftest.er1
27207 cat conftest.err >&5
27208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27209 (exit $ac_status); } &&
27210 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27212 (eval $ac_try) 2>&5
27213 ac_status=$?
27214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27215 (exit $ac_status); }; } &&
27216 { ac_try='test -s conftest.$ac_objext'
27217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27218 (eval $ac_try) 2>&5
27219 ac_status=$?
27220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27221 (exit $ac_status); }; }; then
27222 ac_header_compiler=yes
27223 else
27224 echo "$as_me: failed program was:" >&5
27225 sed 's/^/| /' conftest.$ac_ext >&5
27226
27227 ac_header_compiler=no
27228 fi
27229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27230 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27231 echo "${ECHO_T}$ac_header_compiler" >&6
27232
27233 # Is the header present?
27234 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27235 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27236 cat >conftest.$ac_ext <<_ACEOF
27237 /* confdefs.h. */
27238 _ACEOF
27239 cat confdefs.h >>conftest.$ac_ext
27240 cat >>conftest.$ac_ext <<_ACEOF
27241 /* end confdefs.h. */
27242 #include <$ac_header>
27243 _ACEOF
27244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27245 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27246 ac_status=$?
27247 grep -v '^ *+' conftest.er1 >conftest.err
27248 rm -f conftest.er1
27249 cat conftest.err >&5
27250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27251 (exit $ac_status); } >/dev/null; then
27252 if test -s conftest.err; then
27253 ac_cpp_err=$ac_cxx_preproc_warn_flag
27254 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27255 else
27256 ac_cpp_err=
27257 fi
27258 else
27259 ac_cpp_err=yes
27260 fi
27261 if test -z "$ac_cpp_err"; then
27262 ac_header_preproc=yes
27263 else
27264 echo "$as_me: failed program was:" >&5
27265 sed 's/^/| /' conftest.$ac_ext >&5
27266
27267 ac_header_preproc=no
27268 fi
27269 rm -f conftest.err conftest.$ac_ext
27270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27271 echo "${ECHO_T}$ac_header_preproc" >&6
27272
27273 # So? What about this header?
27274 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27275 yes:no: )
27276 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27277 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27279 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27280 ac_header_preproc=yes
27281 ;;
27282 no:yes:* )
27283 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27284 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27285 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27286 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27287 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27288 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27289 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27290 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27292 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27293 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27294 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27295 (
27296 cat <<\_ASBOX
27297 ## ----------------------------------------- ##
27298 ## Report this to wx-dev@lists.wxwidgets.org ##
27299 ## ----------------------------------------- ##
27300 _ASBOX
27301 ) |
27302 sed "s/^/$as_me: WARNING: /" >&2
27303 ;;
27304 esac
27305 echo "$as_me:$LINENO: checking for $ac_header" >&5
27306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27308 echo $ECHO_N "(cached) $ECHO_C" >&6
27309 else
27310 eval "$as_ac_Header=\$ac_header_preproc"
27311 fi
27312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27314
27315 fi
27316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27317 cat >>confdefs.h <<_ACEOF
27318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27319 _ACEOF
27320
27321 fi
27322
27323 done
27324
27325 if test "${ac_cv_header_windows_h+set}" = set; then
27326 echo "$as_me:$LINENO: checking for windows.h" >&5
27327 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27328 if test "${ac_cv_header_windows_h+set}" = set; then
27329 echo $ECHO_N "(cached) $ECHO_C" >&6
27330 fi
27331 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27332 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27333 else
27334 # Is the header compilable?
27335 echo "$as_me:$LINENO: checking windows.h usability" >&5
27336 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27337 cat >conftest.$ac_ext <<_ACEOF
27338 /* confdefs.h. */
27339 _ACEOF
27340 cat confdefs.h >>conftest.$ac_ext
27341 cat >>conftest.$ac_ext <<_ACEOF
27342 /* end confdefs.h. */
27343 $ac_includes_default
27344 #include <windows.h>
27345 _ACEOF
27346 rm -f conftest.$ac_objext
27347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27348 (eval $ac_compile) 2>conftest.er1
27349 ac_status=$?
27350 grep -v '^ *+' conftest.er1 >conftest.err
27351 rm -f conftest.er1
27352 cat conftest.err >&5
27353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27354 (exit $ac_status); } &&
27355 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27357 (eval $ac_try) 2>&5
27358 ac_status=$?
27359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360 (exit $ac_status); }; } &&
27361 { ac_try='test -s conftest.$ac_objext'
27362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27363 (eval $ac_try) 2>&5
27364 ac_status=$?
27365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27366 (exit $ac_status); }; }; then
27367 ac_header_compiler=yes
27368 else
27369 echo "$as_me: failed program was:" >&5
27370 sed 's/^/| /' conftest.$ac_ext >&5
27371
27372 ac_header_compiler=no
27373 fi
27374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27375 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27376 echo "${ECHO_T}$ac_header_compiler" >&6
27377
27378 # Is the header present?
27379 echo "$as_me:$LINENO: checking windows.h presence" >&5
27380 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27381 cat >conftest.$ac_ext <<_ACEOF
27382 /* confdefs.h. */
27383 _ACEOF
27384 cat confdefs.h >>conftest.$ac_ext
27385 cat >>conftest.$ac_ext <<_ACEOF
27386 /* end confdefs.h. */
27387 #include <windows.h>
27388 _ACEOF
27389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27391 ac_status=$?
27392 grep -v '^ *+' conftest.er1 >conftest.err
27393 rm -f conftest.er1
27394 cat conftest.err >&5
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); } >/dev/null; then
27397 if test -s conftest.err; then
27398 ac_cpp_err=$ac_cxx_preproc_warn_flag
27399 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27400 else
27401 ac_cpp_err=
27402 fi
27403 else
27404 ac_cpp_err=yes
27405 fi
27406 if test -z "$ac_cpp_err"; then
27407 ac_header_preproc=yes
27408 else
27409 echo "$as_me: failed program was:" >&5
27410 sed 's/^/| /' conftest.$ac_ext >&5
27411
27412 ac_header_preproc=no
27413 fi
27414 rm -f conftest.err conftest.$ac_ext
27415 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27416 echo "${ECHO_T}$ac_header_preproc" >&6
27417
27418 # So? What about this header?
27419 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27420 yes:no: )
27421 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27422 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27423 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27424 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27425 ac_header_preproc=yes
27426 ;;
27427 no:yes:* )
27428 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27429 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27430 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27431 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27432 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27433 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27434 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27435 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27436 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27437 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27438 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27439 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27440 (
27441 cat <<\_ASBOX
27442 ## ----------------------------------------- ##
27443 ## Report this to wx-dev@lists.wxwidgets.org ##
27444 ## ----------------------------------------- ##
27445 _ASBOX
27446 ) |
27447 sed "s/^/$as_me: WARNING: /" >&2
27448 ;;
27449 esac
27450 echo "$as_me:$LINENO: checking for windows.h" >&5
27451 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27452 if test "${ac_cv_header_windows_h+set}" = set; then
27453 echo $ECHO_N "(cached) $ECHO_C" >&6
27454 else
27455 ac_cv_header_windows_h=$ac_header_preproc
27456 fi
27457 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27458 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27459
27460 fi
27461 if test $ac_cv_header_windows_h = yes; then
27462 :
27463 else
27464
27465 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27466 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27467 { (exit 1); exit 1; }; }
27468
27469 fi
27470
27471
27472
27473 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27474
27475 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27476 LIBS="$LIBS -loleacc"
27477 fi
27478
27479 case "${host}" in
27480 *-*-cygwin* )
27481 LIBS="$LIBS -lkernel32 -luser32"
27482 esac
27483
27484 if test "$wxUSE_ODBC" = "sys" ; then
27485 wxUSE_ODBC = "yes"
27486 fi
27487 if test "$wxUSE_ODBC" = "yes" ; then
27488 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27489 cat >>confdefs.h <<\_ACEOF
27490 #define wxUSE_ODBC 1
27491 _ACEOF
27492
27493 fi
27494
27495 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27496 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27497
27498 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27499
27500 WIN32INSTALL=win32install
27501
27502 echo "$as_me:$LINENO: checking for boolean" >&5
27503 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27504 if test "${ac_cv_type_boolean+set}" = set; then
27505 echo $ECHO_N "(cached) $ECHO_C" >&6
27506 else
27507 cat >conftest.$ac_ext <<_ACEOF
27508 /* confdefs.h. */
27509 _ACEOF
27510 cat confdefs.h >>conftest.$ac_ext
27511 cat >>conftest.$ac_ext <<_ACEOF
27512 /* end confdefs.h. */
27513 #include <windows.h>
27514
27515 int
27516 main ()
27517 {
27518 if ((boolean *) 0)
27519 return 0;
27520 if (sizeof (boolean))
27521 return 0;
27522 ;
27523 return 0;
27524 }
27525 _ACEOF
27526 rm -f conftest.$ac_objext
27527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27528 (eval $ac_compile) 2>conftest.er1
27529 ac_status=$?
27530 grep -v '^ *+' conftest.er1 >conftest.err
27531 rm -f conftest.er1
27532 cat conftest.err >&5
27533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534 (exit $ac_status); } &&
27535 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27537 (eval $ac_try) 2>&5
27538 ac_status=$?
27539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27540 (exit $ac_status); }; } &&
27541 { ac_try='test -s conftest.$ac_objext'
27542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27543 (eval $ac_try) 2>&5
27544 ac_status=$?
27545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27546 (exit $ac_status); }; }; then
27547 ac_cv_type_boolean=yes
27548 else
27549 echo "$as_me: failed program was:" >&5
27550 sed 's/^/| /' conftest.$ac_ext >&5
27551
27552 ac_cv_type_boolean=no
27553 fi
27554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27555 fi
27556 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27557 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27558 if test $ac_cv_type_boolean = yes; then
27559
27560 cat >>confdefs.h <<_ACEOF
27561 #define HAVE_BOOLEAN 1
27562 _ACEOF
27563
27564
27565 fi
27566
27567
27568
27569 for ac_header in pbt.h
27570 do
27571 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27573 echo "$as_me:$LINENO: checking for $ac_header" >&5
27574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27575 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27576 echo $ECHO_N "(cached) $ECHO_C" >&6
27577 fi
27578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27579 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27580 else
27581 # Is the header compilable?
27582 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27583 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27584 cat >conftest.$ac_ext <<_ACEOF
27585 /* confdefs.h. */
27586 _ACEOF
27587 cat confdefs.h >>conftest.$ac_ext
27588 cat >>conftest.$ac_ext <<_ACEOF
27589 /* end confdefs.h. */
27590 $ac_includes_default
27591 #include <$ac_header>
27592 _ACEOF
27593 rm -f conftest.$ac_objext
27594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27595 (eval $ac_compile) 2>conftest.er1
27596 ac_status=$?
27597 grep -v '^ *+' conftest.er1 >conftest.err
27598 rm -f conftest.er1
27599 cat conftest.err >&5
27600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601 (exit $ac_status); } &&
27602 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27604 (eval $ac_try) 2>&5
27605 ac_status=$?
27606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27607 (exit $ac_status); }; } &&
27608 { ac_try='test -s conftest.$ac_objext'
27609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27610 (eval $ac_try) 2>&5
27611 ac_status=$?
27612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27613 (exit $ac_status); }; }; then
27614 ac_header_compiler=yes
27615 else
27616 echo "$as_me: failed program was:" >&5
27617 sed 's/^/| /' conftest.$ac_ext >&5
27618
27619 ac_header_compiler=no
27620 fi
27621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27622 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27623 echo "${ECHO_T}$ac_header_compiler" >&6
27624
27625 # Is the header present?
27626 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27628 cat >conftest.$ac_ext <<_ACEOF
27629 /* confdefs.h. */
27630 _ACEOF
27631 cat confdefs.h >>conftest.$ac_ext
27632 cat >>conftest.$ac_ext <<_ACEOF
27633 /* end confdefs.h. */
27634 #include <$ac_header>
27635 _ACEOF
27636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27637 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27638 ac_status=$?
27639 grep -v '^ *+' conftest.er1 >conftest.err
27640 rm -f conftest.er1
27641 cat conftest.err >&5
27642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27643 (exit $ac_status); } >/dev/null; then
27644 if test -s conftest.err; then
27645 ac_cpp_err=$ac_cxx_preproc_warn_flag
27646 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27647 else
27648 ac_cpp_err=
27649 fi
27650 else
27651 ac_cpp_err=yes
27652 fi
27653 if test -z "$ac_cpp_err"; then
27654 ac_header_preproc=yes
27655 else
27656 echo "$as_me: failed program was:" >&5
27657 sed 's/^/| /' conftest.$ac_ext >&5
27658
27659 ac_header_preproc=no
27660 fi
27661 rm -f conftest.err conftest.$ac_ext
27662 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27663 echo "${ECHO_T}$ac_header_preproc" >&6
27664
27665 # So? What about this header?
27666 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27667 yes:no: )
27668 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27669 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27671 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27672 ac_header_preproc=yes
27673 ;;
27674 no:yes:* )
27675 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27676 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27677 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27678 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27679 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27680 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27681 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27682 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27683 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27684 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27685 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27686 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27687 (
27688 cat <<\_ASBOX
27689 ## ----------------------------------------- ##
27690 ## Report this to wx-dev@lists.wxwidgets.org ##
27691 ## ----------------------------------------- ##
27692 _ASBOX
27693 ) |
27694 sed "s/^/$as_me: WARNING: /" >&2
27695 ;;
27696 esac
27697 echo "$as_me:$LINENO: checking for $ac_header" >&5
27698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27700 echo $ECHO_N "(cached) $ECHO_C" >&6
27701 else
27702 eval "$as_ac_Header=\$ac_header_preproc"
27703 fi
27704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27706
27707 fi
27708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27709 cat >>confdefs.h <<_ACEOF
27710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27711 _ACEOF
27712
27713 else
27714 cat >>confdefs.h <<\_ACEOF
27715 #define NEED_PBT_H 1
27716 _ACEOF
27717
27718 fi
27719
27720 done
27721
27722 fi
27723
27724 if test "$wxUSE_GUI" = "yes"; then
27725 USE_GUI=1
27726
27727 GUI_TK_LIBRARY=
27728
27729 WXGTK12=
27730 WXGTK127=
27731 WXGTK20=
27732 WXGPE=
27733
27734 if test "$wxUSE_COCOA" = 1 ; then
27735 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27736 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27737 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27738 wxUSE_PRINTING_ARCHITECTURE=no
27739 fi
27740 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27741 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27742 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27743 wxUSE_DRAG_AND_DROP=no
27744 fi
27745 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27746 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27747 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27748 wxUSE_DRAGIMAGE=no
27749 fi
27750 fi
27751
27752 if test "$wxUSE_MSW" = 1 ; then
27753 TOOLKIT=MSW
27754 GUIDIST=MSW_DIST
27755
27756 case "${host}" in
27757 *-*-mingw32* )
27758 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27759 esac
27760 fi
27761
27762 if test "$wxUSE_GTK" = 1; then
27763 ac_ext=c
27764 ac_cpp='$CPP $CPPFLAGS'
27765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27768
27769
27770 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27771 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27772
27773 gtk_version_cached=1
27774 if test "${wx_cv_lib_gtk+set}" = set; then
27775 echo $ECHO_N "(cached) $ECHO_C" >&6
27776 else
27777
27778 gtk_version_cached=0
27779 echo "$as_me:$LINENO: result: " >&5
27780 echo "${ECHO_T}" >&6
27781
27782 GTK_MODULES=
27783 if test "$wxUSE_THREADS" = "yes"; then
27784 GTK_MODULES=gthread
27785 fi
27786
27787 wx_cv_lib_gtk=
27788 if test "x$wxGTK_VERSION" != "x1"
27789 then
27790 case "${host}" in
27791 *-*-solaris2* )
27792 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27793 enable_gtktest=no
27794 fi
27795 esac
27796
27797 # Check whether --enable-gtktest or --disable-gtktest was given.
27798 if test "${enable_gtktest+set}" = set; then
27799 enableval="$enable_gtktest"
27800
27801 else
27802 enable_gtktest=yes
27803 fi;
27804
27805 pkg_config_args=gtk+-2.0
27806 for module in . $GTK_MODULES
27807 do
27808 case "$module" in
27809 gthread)
27810 pkg_config_args="$pkg_config_args gthread-2.0"
27811 ;;
27812 esac
27813 done
27814
27815 no_gtk=""
27816
27817 # Extract the first word of "pkg-config", so it can be a program name with args.
27818 set dummy pkg-config; ac_word=$2
27819 echo "$as_me:$LINENO: checking for $ac_word" >&5
27820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27821 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27822 echo $ECHO_N "(cached) $ECHO_C" >&6
27823 else
27824 case $PKG_CONFIG in
27825 [\\/]* | ?:[\\/]*)
27826 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27827 ;;
27828 *)
27829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27830 for as_dir in $PATH
27831 do
27832 IFS=$as_save_IFS
27833 test -z "$as_dir" && as_dir=.
27834 for ac_exec_ext in '' $ac_executable_extensions; do
27835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27836 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27838 break 2
27839 fi
27840 done
27841 done
27842
27843 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27844 ;;
27845 esac
27846 fi
27847 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27848
27849 if test -n "$PKG_CONFIG"; then
27850 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27851 echo "${ECHO_T}$PKG_CONFIG" >&6
27852 else
27853 echo "$as_me:$LINENO: result: no" >&5
27854 echo "${ECHO_T}no" >&6
27855 fi
27856
27857
27858 if test x$PKG_CONFIG != xno ; then
27859 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27860 :
27861 else
27862 echo "*** pkg-config too old; version 0.7 or better required."
27863 no_gtk=yes
27864 PKG_CONFIG=no
27865 fi
27866 else
27867 no_gtk=yes
27868 fi
27869
27870 min_gtk_version=2.0.0
27871 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27872 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27873
27874 if test x$PKG_CONFIG != xno ; then
27875 ## don't try to run the test against uninstalled libtool libs
27876 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27877 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27878 enable_gtktest=no
27879 fi
27880
27881 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27882 :
27883 else
27884 no_gtk=yes
27885 fi
27886 fi
27887
27888 if test x"$no_gtk" = x ; then
27889 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27890 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27891 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27892 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27893 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27894 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27895 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27896 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27897 if test "x$enable_gtktest" = "xyes" ; then
27898 ac_save_CFLAGS="$CFLAGS"
27899 ac_save_LIBS="$LIBS"
27900 CFLAGS="$CFLAGS $GTK_CFLAGS"
27901 LIBS="$GTK_LIBS $LIBS"
27902 rm -f conf.gtktest
27903 if test "$cross_compiling" = yes; then
27904 echo $ac_n "cross compiling; assumed OK... $ac_c"
27905 else
27906 cat >conftest.$ac_ext <<_ACEOF
27907 /* confdefs.h. */
27908 _ACEOF
27909 cat confdefs.h >>conftest.$ac_ext
27910 cat >>conftest.$ac_ext <<_ACEOF
27911 /* end confdefs.h. */
27912
27913 #include <gtk/gtk.h>
27914 #include <stdio.h>
27915 #include <stdlib.h>
27916
27917 int
27918 main ()
27919 {
27920 int major, minor, micro;
27921 char *tmp_version;
27922
27923 system ("touch conf.gtktest");
27924
27925 /* HP/UX 9 (%@#!) writes to sscanf strings */
27926 tmp_version = g_strdup("$min_gtk_version");
27927 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27928 printf("%s, bad version string\n", "$min_gtk_version");
27929 exit(1);
27930 }
27931
27932 if ((gtk_major_version != $gtk_config_major_version) ||
27933 (gtk_minor_version != $gtk_config_minor_version) ||
27934 (gtk_micro_version != $gtk_config_micro_version))
27935 {
27936 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27937 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27938 gtk_major_version, gtk_minor_version, gtk_micro_version);
27939 printf ("*** was found! If pkg-config was correct, then it is best\n");
27940 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27941 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27942 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27943 printf("*** required on your system.\n");
27944 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27945 printf("*** to point to the correct configuration files\n");
27946 }
27947 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27948 (gtk_minor_version != GTK_MINOR_VERSION) ||
27949 (gtk_micro_version != GTK_MICRO_VERSION))
27950 {
27951 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27952 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27953 printf("*** library (version %d.%d.%d)\n",
27954 gtk_major_version, gtk_minor_version, gtk_micro_version);
27955 }
27956 else
27957 {
27958 if ((gtk_major_version > major) ||
27959 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27960 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27961 {
27962 return 0;
27963 }
27964 else
27965 {
27966 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27967 gtk_major_version, gtk_minor_version, gtk_micro_version);
27968 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27969 major, minor, micro);
27970 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27971 printf("***\n");
27972 printf("*** If you have already installed a sufficiently new version, this error\n");
27973 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27974 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27975 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27976 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27977 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27978 printf("*** so that the correct libraries are found at run-time))\n");
27979 }
27980 }
27981 return 1;
27982 }
27983
27984 _ACEOF
27985 rm -f conftest$ac_exeext
27986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27987 (eval $ac_link) 2>&5
27988 ac_status=$?
27989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27990 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27992 (eval $ac_try) 2>&5
27993 ac_status=$?
27994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995 (exit $ac_status); }; }; then
27996 :
27997 else
27998 echo "$as_me: program exited with status $ac_status" >&5
27999 echo "$as_me: failed program was:" >&5
28000 sed 's/^/| /' conftest.$ac_ext >&5
28001
28002 ( exit $ac_status )
28003 no_gtk=yes
28004 fi
28005 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28006 fi
28007 CFLAGS="$ac_save_CFLAGS"
28008 LIBS="$ac_save_LIBS"
28009 fi
28010 fi
28011 if test "x$no_gtk" = x ; then
28012 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28013 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28014 wx_cv_lib_gtk=2.0
28015 else
28016 echo "$as_me:$LINENO: result: no" >&5
28017 echo "${ECHO_T}no" >&6
28018 if test "$PKG_CONFIG" = "no" ; then
28019 echo "*** A new enough version of pkg-config was not found."
28020 echo "*** See http://pkgconfig.sourceforge.net"
28021 else
28022 if test -f conf.gtktest ; then
28023 :
28024 else
28025 echo "*** Could not run GTK+ test program, checking why..."
28026 ac_save_CFLAGS="$CFLAGS"
28027 ac_save_LIBS="$LIBS"
28028 CFLAGS="$CFLAGS $GTK_CFLAGS"
28029 LIBS="$LIBS $GTK_LIBS"
28030 cat >conftest.$ac_ext <<_ACEOF
28031 /* confdefs.h. */
28032 _ACEOF
28033 cat confdefs.h >>conftest.$ac_ext
28034 cat >>conftest.$ac_ext <<_ACEOF
28035 /* end confdefs.h. */
28036
28037 #include <gtk/gtk.h>
28038 #include <stdio.h>
28039
28040 int
28041 main ()
28042 {
28043 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28044 ;
28045 return 0;
28046 }
28047 _ACEOF
28048 rm -f conftest.$ac_objext conftest$ac_exeext
28049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28050 (eval $ac_link) 2>conftest.er1
28051 ac_status=$?
28052 grep -v '^ *+' conftest.er1 >conftest.err
28053 rm -f conftest.er1
28054 cat conftest.err >&5
28055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28056 (exit $ac_status); } &&
28057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28059 (eval $ac_try) 2>&5
28060 ac_status=$?
28061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28062 (exit $ac_status); }; } &&
28063 { ac_try='test -s conftest$ac_exeext'
28064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28065 (eval $ac_try) 2>&5
28066 ac_status=$?
28067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28068 (exit $ac_status); }; }; then
28069 echo "*** The test program compiled, but did not run. This usually means"
28070 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28071 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28072 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28073 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28074 echo "*** is required on your system"
28075 echo "***"
28076 echo "*** If you have an old version installed, it is best to remove it, although"
28077 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28078 else
28079 echo "$as_me: failed program was:" >&5
28080 sed 's/^/| /' conftest.$ac_ext >&5
28081
28082 echo "*** The test program failed to compile or link. See the file config.log for the"
28083 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28084 fi
28085 rm -f conftest.err conftest.$ac_objext \
28086 conftest$ac_exeext conftest.$ac_ext
28087 CFLAGS="$ac_save_CFLAGS"
28088 LIBS="$ac_save_LIBS"
28089 fi
28090 fi
28091 GTK_CFLAGS=""
28092 GTK_LIBS=""
28093 :
28094 fi
28095
28096
28097 rm -f conf.gtktest
28098
28099
28100 case "${host}" in
28101 *-*-solaris2* )
28102 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28103 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
28104 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
28105 fi
28106 if test "$wxUSE_SHARED" != "yes"; then
28107 GTK_LIBS="$GTK_LIBS -lX11"
28108 fi
28109 esac
28110 fi
28111
28112 if test -z "$wx_cv_lib_gtk"; then
28113 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28114
28115 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28116 if test "${with_gtk_prefix+set}" = set; then
28117 withval="$with_gtk_prefix"
28118 gtk_config_prefix="$withval"
28119 else
28120 gtk_config_prefix=""
28121 fi;
28122
28123 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28124 if test "${with_gtk_exec_prefix+set}" = set; then
28125 withval="$with_gtk_exec_prefix"
28126 gtk_config_exec_prefix="$withval"
28127 else
28128 gtk_config_exec_prefix=""
28129 fi;
28130 # Check whether --enable-gtktest or --disable-gtktest was given.
28131 if test "${enable_gtktest+set}" = set; then
28132 enableval="$enable_gtktest"
28133
28134 else
28135 enable_gtktest=yes
28136 fi;
28137
28138 for module in . $GTK_MODULES
28139 do
28140 case "$module" in
28141 gthread)
28142 gtk_config_args="$gtk_config_args gthread"
28143 ;;
28144 esac
28145 done
28146
28147 if test x$gtk_config_exec_prefix != x ; then
28148 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28149 if test x${GTK_CONFIG+set} != xset ; then
28150 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28151 fi
28152 fi
28153 if test x$gtk_config_prefix != x ; then
28154 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28155 if test x${GTK_CONFIG+set} != xset ; then
28156 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28157 fi
28158 fi
28159
28160 # Extract the first word of "gtk-config", so it can be a program name with args.
28161 set dummy gtk-config; ac_word=$2
28162 echo "$as_me:$LINENO: checking for $ac_word" >&5
28163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28164 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28165 echo $ECHO_N "(cached) $ECHO_C" >&6
28166 else
28167 case $GTK_CONFIG in
28168 [\\/]* | ?:[\\/]*)
28169 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28170 ;;
28171 *)
28172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28173 for as_dir in $PATH
28174 do
28175 IFS=$as_save_IFS
28176 test -z "$as_dir" && as_dir=.
28177 for ac_exec_ext in '' $ac_executable_extensions; do
28178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28179 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28181 break 2
28182 fi
28183 done
28184 done
28185
28186 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28187 ;;
28188 esac
28189 fi
28190 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28191
28192 if test -n "$GTK_CONFIG"; then
28193 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28194 echo "${ECHO_T}$GTK_CONFIG" >&6
28195 else
28196 echo "$as_me:$LINENO: result: no" >&5
28197 echo "${ECHO_T}no" >&6
28198 fi
28199
28200 min_gtk_version=1.2.7
28201 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28202 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28203 no_gtk=""
28204 if test "$GTK_CONFIG" = "no" ; then
28205 no_gtk=yes
28206 else
28207 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28208 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28209 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28210 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28211 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28212 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28213 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28214 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28215 if test "x$enable_gtktest" = "xyes" ; then
28216 ac_save_CFLAGS="$CFLAGS"
28217 ac_save_LIBS="$LIBS"
28218 CFLAGS="$CFLAGS $GTK_CFLAGS"
28219 LIBS="$GTK_LIBS $LIBS"
28220 rm -f conf.gtktest
28221 if test "$cross_compiling" = yes; then
28222 echo $ac_n "cross compiling; assumed OK... $ac_c"
28223 else
28224 cat >conftest.$ac_ext <<_ACEOF
28225 /* confdefs.h. */
28226 _ACEOF
28227 cat confdefs.h >>conftest.$ac_ext
28228 cat >>conftest.$ac_ext <<_ACEOF
28229 /* end confdefs.h. */
28230
28231 #include <gtk/gtk.h>
28232 #include <stdio.h>
28233 #include <stdlib.h>
28234
28235 int
28236 main ()
28237 {
28238 int major, minor, micro;
28239 char *tmp_version;
28240
28241 system ("touch conf.gtktest");
28242
28243 /* HP/UX 9 (%@#!) writes to sscanf strings */
28244 tmp_version = g_strdup("$min_gtk_version");
28245 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28246 printf("%s, bad version string\n", "$min_gtk_version");
28247 exit(1);
28248 }
28249
28250 if ((gtk_major_version != $gtk_config_major_version) ||
28251 (gtk_minor_version != $gtk_config_minor_version) ||
28252 (gtk_micro_version != $gtk_config_micro_version))
28253 {
28254 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28255 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28256 gtk_major_version, gtk_minor_version, gtk_micro_version);
28257 printf ("*** was found! If gtk-config was correct, then it is best\n");
28258 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28259 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28260 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28261 printf("*** required on your system.\n");
28262 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28263 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28264 printf("*** before re-running configure\n");
28265 }
28266 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28267 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28268 (gtk_minor_version != GTK_MINOR_VERSION) ||
28269 (gtk_micro_version != GTK_MICRO_VERSION))
28270 {
28271 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28272 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28273 printf("*** library (version %d.%d.%d)\n",
28274 gtk_major_version, gtk_minor_version, gtk_micro_version);
28275 }
28276 #endif /* defined (GTK_MAJOR_VERSION) ... */
28277 else
28278 {
28279 if ((gtk_major_version > major) ||
28280 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28281 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28282 {
28283 return 0;
28284 }
28285 else
28286 {
28287 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28288 gtk_major_version, gtk_minor_version, gtk_micro_version);
28289 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28290 major, minor, micro);
28291 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28292 printf("***\n");
28293 printf("*** If you have already installed a sufficiently new version, this error\n");
28294 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28295 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28296 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28297 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28298 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28299 printf("*** so that the correct libraries are found at run-time))\n");
28300 }
28301 }
28302 return 1;
28303 }
28304
28305 _ACEOF
28306 rm -f conftest$ac_exeext
28307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28308 (eval $ac_link) 2>&5
28309 ac_status=$?
28310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28311 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28313 (eval $ac_try) 2>&5
28314 ac_status=$?
28315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28316 (exit $ac_status); }; }; then
28317 :
28318 else
28319 echo "$as_me: program exited with status $ac_status" >&5
28320 echo "$as_me: failed program was:" >&5
28321 sed 's/^/| /' conftest.$ac_ext >&5
28322
28323 ( exit $ac_status )
28324 no_gtk=yes
28325 fi
28326 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28327 fi
28328 CFLAGS="$ac_save_CFLAGS"
28329 LIBS="$ac_save_LIBS"
28330 fi
28331 fi
28332 if test "x$no_gtk" = x ; then
28333 echo "$as_me:$LINENO: result: yes" >&5
28334 echo "${ECHO_T}yes" >&6
28335 wx_cv_lib_gtk=1.2.7
28336 else
28337 echo "$as_me:$LINENO: result: no" >&5
28338 echo "${ECHO_T}no" >&6
28339 if test "$GTK_CONFIG" = "no" ; then
28340 echo "*** The gtk-config script installed by GTK could not be found"
28341 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28342 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28343 echo "*** full path to gtk-config."
28344 else
28345 if test -f conf.gtktest ; then
28346 :
28347 else
28348 echo "*** Could not run GTK test program, checking why..."
28349 CFLAGS="$CFLAGS $GTK_CFLAGS"
28350 LIBS="$LIBS $GTK_LIBS"
28351 cat >conftest.$ac_ext <<_ACEOF
28352 /* confdefs.h. */
28353 _ACEOF
28354 cat confdefs.h >>conftest.$ac_ext
28355 cat >>conftest.$ac_ext <<_ACEOF
28356 /* end confdefs.h. */
28357
28358 #include <gtk/gtk.h>
28359 #include <stdio.h>
28360
28361 int
28362 main ()
28363 {
28364 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28365 ;
28366 return 0;
28367 }
28368 _ACEOF
28369 rm -f conftest.$ac_objext conftest$ac_exeext
28370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28371 (eval $ac_link) 2>conftest.er1
28372 ac_status=$?
28373 grep -v '^ *+' conftest.er1 >conftest.err
28374 rm -f conftest.er1
28375 cat conftest.err >&5
28376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28377 (exit $ac_status); } &&
28378 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28380 (eval $ac_try) 2>&5
28381 ac_status=$?
28382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28383 (exit $ac_status); }; } &&
28384 { ac_try='test -s conftest$ac_exeext'
28385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28386 (eval $ac_try) 2>&5
28387 ac_status=$?
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); }; }; then
28390 echo "*** The test program compiled, but did not run. This usually means"
28391 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28392 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28393 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28394 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28395 echo "*** is required on your system"
28396 echo "***"
28397 echo "*** If you have an old version installed, it is best to remove it, although"
28398 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28399 echo "***"
28400 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28401 echo "*** came with the system with the command"
28402 echo "***"
28403 echo "*** rpm --erase --nodeps gtk gtk-devel"
28404 else
28405 echo "$as_me: failed program was:" >&5
28406 sed 's/^/| /' conftest.$ac_ext >&5
28407
28408 echo "*** The test program failed to compile or link. See the file config.log for the"
28409 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28410 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28411 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28412 fi
28413 rm -f conftest.err conftest.$ac_objext \
28414 conftest$ac_exeext conftest.$ac_ext
28415 CFLAGS="$ac_save_CFLAGS"
28416 LIBS="$ac_save_LIBS"
28417 fi
28418 fi
28419 GTK_CFLAGS=""
28420 GTK_LIBS=""
28421 :
28422 fi
28423
28424
28425 rm -f conf.gtktest
28426
28427
28428 if test -z "$wx_cv_lib_gtk"; then
28429
28430 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28431 if test "${with_gtk_prefix+set}" = set; then
28432 withval="$with_gtk_prefix"
28433 gtk_config_prefix="$withval"
28434 else
28435 gtk_config_prefix=""
28436 fi;
28437
28438 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28439 if test "${with_gtk_exec_prefix+set}" = set; then
28440 withval="$with_gtk_exec_prefix"
28441 gtk_config_exec_prefix="$withval"
28442 else
28443 gtk_config_exec_prefix=""
28444 fi;
28445 # Check whether --enable-gtktest or --disable-gtktest was given.
28446 if test "${enable_gtktest+set}" = set; then
28447 enableval="$enable_gtktest"
28448
28449 else
28450 enable_gtktest=yes
28451 fi;
28452
28453 for module in . $GTK_MODULES
28454 do
28455 case "$module" in
28456 gthread)
28457 gtk_config_args="$gtk_config_args gthread"
28458 ;;
28459 esac
28460 done
28461
28462 if test x$gtk_config_exec_prefix != x ; then
28463 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28464 if test x${GTK_CONFIG+set} != xset ; then
28465 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28466 fi
28467 fi
28468 if test x$gtk_config_prefix != x ; then
28469 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28470 if test x${GTK_CONFIG+set} != xset ; then
28471 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28472 fi
28473 fi
28474
28475 # Extract the first word of "gtk-config", so it can be a program name with args.
28476 set dummy gtk-config; ac_word=$2
28477 echo "$as_me:$LINENO: checking for $ac_word" >&5
28478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28479 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28480 echo $ECHO_N "(cached) $ECHO_C" >&6
28481 else
28482 case $GTK_CONFIG in
28483 [\\/]* | ?:[\\/]*)
28484 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28485 ;;
28486 *)
28487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28488 for as_dir in $PATH
28489 do
28490 IFS=$as_save_IFS
28491 test -z "$as_dir" && as_dir=.
28492 for ac_exec_ext in '' $ac_executable_extensions; do
28493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28494 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28496 break 2
28497 fi
28498 done
28499 done
28500
28501 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28502 ;;
28503 esac
28504 fi
28505 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28506
28507 if test -n "$GTK_CONFIG"; then
28508 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28509 echo "${ECHO_T}$GTK_CONFIG" >&6
28510 else
28511 echo "$as_me:$LINENO: result: no" >&5
28512 echo "${ECHO_T}no" >&6
28513 fi
28514
28515 min_gtk_version=1.2.3
28516 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28517 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28518 no_gtk=""
28519 if test "$GTK_CONFIG" = "no" ; then
28520 no_gtk=yes
28521 else
28522 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28523 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28524 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28525 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28526 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28527 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28528 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28529 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28530 if test "x$enable_gtktest" = "xyes" ; then
28531 ac_save_CFLAGS="$CFLAGS"
28532 ac_save_LIBS="$LIBS"
28533 CFLAGS="$CFLAGS $GTK_CFLAGS"
28534 LIBS="$GTK_LIBS $LIBS"
28535 rm -f conf.gtktest
28536 if test "$cross_compiling" = yes; then
28537 echo $ac_n "cross compiling; assumed OK... $ac_c"
28538 else
28539 cat >conftest.$ac_ext <<_ACEOF
28540 /* confdefs.h. */
28541 _ACEOF
28542 cat confdefs.h >>conftest.$ac_ext
28543 cat >>conftest.$ac_ext <<_ACEOF
28544 /* end confdefs.h. */
28545
28546 #include <gtk/gtk.h>
28547 #include <stdio.h>
28548 #include <stdlib.h>
28549
28550 int
28551 main ()
28552 {
28553 int major, minor, micro;
28554 char *tmp_version;
28555
28556 system ("touch conf.gtktest");
28557
28558 /* HP/UX 9 (%@#!) writes to sscanf strings */
28559 tmp_version = g_strdup("$min_gtk_version");
28560 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28561 printf("%s, bad version string\n", "$min_gtk_version");
28562 exit(1);
28563 }
28564
28565 if ((gtk_major_version != $gtk_config_major_version) ||
28566 (gtk_minor_version != $gtk_config_minor_version) ||
28567 (gtk_micro_version != $gtk_config_micro_version))
28568 {
28569 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28570 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28571 gtk_major_version, gtk_minor_version, gtk_micro_version);
28572 printf ("*** was found! If gtk-config was correct, then it is best\n");
28573 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28574 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28575 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28576 printf("*** required on your system.\n");
28577 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28578 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28579 printf("*** before re-running configure\n");
28580 }
28581 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28582 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28583 (gtk_minor_version != GTK_MINOR_VERSION) ||
28584 (gtk_micro_version != GTK_MICRO_VERSION))
28585 {
28586 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28587 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28588 printf("*** library (version %d.%d.%d)\n",
28589 gtk_major_version, gtk_minor_version, gtk_micro_version);
28590 }
28591 #endif /* defined (GTK_MAJOR_VERSION) ... */
28592 else
28593 {
28594 if ((gtk_major_version > major) ||
28595 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28596 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28597 {
28598 return 0;
28599 }
28600 else
28601 {
28602 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28603 gtk_major_version, gtk_minor_version, gtk_micro_version);
28604 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28605 major, minor, micro);
28606 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28607 printf("***\n");
28608 printf("*** If you have already installed a sufficiently new version, this error\n");
28609 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28610 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28611 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28612 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28613 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28614 printf("*** so that the correct libraries are found at run-time))\n");
28615 }
28616 }
28617 return 1;
28618 }
28619
28620 _ACEOF
28621 rm -f conftest$ac_exeext
28622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28623 (eval $ac_link) 2>&5
28624 ac_status=$?
28625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28628 (eval $ac_try) 2>&5
28629 ac_status=$?
28630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28631 (exit $ac_status); }; }; then
28632 :
28633 else
28634 echo "$as_me: program exited with status $ac_status" >&5
28635 echo "$as_me: failed program was:" >&5
28636 sed 's/^/| /' conftest.$ac_ext >&5
28637
28638 ( exit $ac_status )
28639 no_gtk=yes
28640 fi
28641 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28642 fi
28643 CFLAGS="$ac_save_CFLAGS"
28644 LIBS="$ac_save_LIBS"
28645 fi
28646 fi
28647 if test "x$no_gtk" = x ; then
28648 echo "$as_me:$LINENO: result: yes" >&5
28649 echo "${ECHO_T}yes" >&6
28650 wx_cv_lib_gtk=1.2.3
28651 else
28652 echo "$as_me:$LINENO: result: no" >&5
28653 echo "${ECHO_T}no" >&6
28654 if test "$GTK_CONFIG" = "no" ; then
28655 echo "*** The gtk-config script installed by GTK could not be found"
28656 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28657 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28658 echo "*** full path to gtk-config."
28659 else
28660 if test -f conf.gtktest ; then
28661 :
28662 else
28663 echo "*** Could not run GTK test program, checking why..."
28664 CFLAGS="$CFLAGS $GTK_CFLAGS"
28665 LIBS="$LIBS $GTK_LIBS"
28666 cat >conftest.$ac_ext <<_ACEOF
28667 /* confdefs.h. */
28668 _ACEOF
28669 cat confdefs.h >>conftest.$ac_ext
28670 cat >>conftest.$ac_ext <<_ACEOF
28671 /* end confdefs.h. */
28672
28673 #include <gtk/gtk.h>
28674 #include <stdio.h>
28675
28676 int
28677 main ()
28678 {
28679 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28680 ;
28681 return 0;
28682 }
28683 _ACEOF
28684 rm -f conftest.$ac_objext conftest$ac_exeext
28685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28686 (eval $ac_link) 2>conftest.er1
28687 ac_status=$?
28688 grep -v '^ *+' conftest.er1 >conftest.err
28689 rm -f conftest.er1
28690 cat conftest.err >&5
28691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28692 (exit $ac_status); } &&
28693 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28695 (eval $ac_try) 2>&5
28696 ac_status=$?
28697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28698 (exit $ac_status); }; } &&
28699 { ac_try='test -s conftest$ac_exeext'
28700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28701 (eval $ac_try) 2>&5
28702 ac_status=$?
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); }; }; then
28705 echo "*** The test program compiled, but did not run. This usually means"
28706 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28707 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28708 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28709 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28710 echo "*** is required on your system"
28711 echo "***"
28712 echo "*** If you have an old version installed, it is best to remove it, although"
28713 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28714 echo "***"
28715 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28716 echo "*** came with the system with the command"
28717 echo "***"
28718 echo "*** rpm --erase --nodeps gtk gtk-devel"
28719 else
28720 echo "$as_me: failed program was:" >&5
28721 sed 's/^/| /' conftest.$ac_ext >&5
28722
28723 echo "*** The test program failed to compile or link. See the file config.log for the"
28724 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28725 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28726 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28727 fi
28728 rm -f conftest.err conftest.$ac_objext \
28729 conftest$ac_exeext conftest.$ac_ext
28730 CFLAGS="$ac_save_CFLAGS"
28731 LIBS="$ac_save_LIBS"
28732 fi
28733 fi
28734 GTK_CFLAGS=""
28735 GTK_LIBS=""
28736 :
28737 fi
28738
28739
28740 rm -f conf.gtktest
28741
28742 fi
28743 fi
28744 fi
28745
28746 if test -z "$wx_cv_lib_gtk"; then
28747 wx_cv_lib_gtk=none
28748 else
28749 wx_cv_cflags_gtk=$GTK_CFLAGS
28750 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28751 fi
28752
28753
28754 fi
28755
28756
28757 if test "$gtk_version_cached" = 1; then
28758 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28759 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28760 fi
28761
28762 case "$wx_cv_lib_gtk" in
28763 2.0) WXGTK20=1
28764 TOOLKIT_VERSION=2
28765 ;;
28766 1.2.7) WXGTK127=1
28767 WXGTK12=1
28768 ;;
28769 1.2.3) WXGTK12=1
28770 ;;
28771 *) { { echo "$as_me:$LINENO: error:
28772 The development files for GTK+ were not found. For GTK+ 2, please
28773 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28774 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28775 and that the version is 1.2.3 or above. Also check that the
28776 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28777 --libs' are in the LD_LIBRARY_PATH or equivalent.
28778 " >&5
28779 echo "$as_me: error:
28780 The development files for GTK+ were not found. For GTK+ 2, please
28781 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28782 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28783 and that the version is 1.2.3 or above. Also check that the
28784 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28785 --libs' are in the LD_LIBRARY_PATH or equivalent.
28786 " >&2;}
28787 { (exit 1); exit 1; }; }
28788 ;;
28789 esac
28790
28791 if test "$WXGTK20" = 1; then
28792 save_CFLAGS="$CFLAGS"
28793 save_LIBS="$LIBS"
28794 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28795 LIBS="$LIBS $wx_cv_libs_gtk"
28796
28797 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28798 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28799 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28800 echo $ECHO_N "(cached) $ECHO_C" >&6
28801 else
28802 cat >conftest.$ac_ext <<_ACEOF
28803 /* confdefs.h. */
28804 _ACEOF
28805 cat confdefs.h >>conftest.$ac_ext
28806 cat >>conftest.$ac_ext <<_ACEOF
28807 /* end confdefs.h. */
28808 #include <gtk/gtk.h>
28809
28810 int
28811 main ()
28812 {
28813 #ifndef gtk_icon_size_lookup
28814 char *p = (char *) gtk_icon_size_lookup;
28815 #endif
28816
28817 ;
28818 return 0;
28819 }
28820 _ACEOF
28821 rm -f conftest.$ac_objext
28822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28823 (eval $ac_compile) 2>conftest.er1
28824 ac_status=$?
28825 grep -v '^ *+' conftest.er1 >conftest.err
28826 rm -f conftest.er1
28827 cat conftest.err >&5
28828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28829 (exit $ac_status); } &&
28830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
28836 { ac_try='test -s conftest.$ac_objext'
28837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28838 (eval $ac_try) 2>&5
28839 ac_status=$?
28840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28841 (exit $ac_status); }; }; then
28842 ac_cv_have_decl_gtk_icon_size_lookup=yes
28843 else
28844 echo "$as_me: failed program was:" >&5
28845 sed 's/^/| /' conftest.$ac_ext >&5
28846
28847 ac_cv_have_decl_gtk_icon_size_lookup=no
28848 fi
28849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28850 fi
28851 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28852 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28853 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28854
28855 cat >>confdefs.h <<_ACEOF
28856 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28857 _ACEOF
28858
28859
28860 else
28861 cat >>confdefs.h <<_ACEOF
28862 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28863 _ACEOF
28864
28865 cat >>confdefs.h <<\_ACEOF
28866 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28867 _ACEOF
28868
28869 fi
28870
28871
28872
28873 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28874 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28875 cat >conftest.$ac_ext <<_ACEOF
28876 /* confdefs.h. */
28877 _ACEOF
28878 cat confdefs.h >>conftest.$ac_ext
28879 cat >>conftest.$ac_ext <<_ACEOF
28880 /* end confdefs.h. */
28881
28882 #include <gtk/gtk.h>
28883
28884 int
28885 main ()
28886 {
28887
28888 #if !GTK_CHECK_VERSION(2,6,0)
28889 Not GTK+ 2.6
28890 #endif
28891
28892 ;
28893 return 0;
28894 }
28895 _ACEOF
28896 rm -f conftest.$ac_objext
28897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28898 (eval $ac_compile) 2>conftest.er1
28899 ac_status=$?
28900 grep -v '^ *+' conftest.er1 >conftest.err
28901 rm -f conftest.er1
28902 cat conftest.err >&5
28903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28904 (exit $ac_status); } &&
28905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28907 (eval $ac_try) 2>&5
28908 ac_status=$?
28909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910 (exit $ac_status); }; } &&
28911 { ac_try='test -s conftest.$ac_objext'
28912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28913 (eval $ac_try) 2>&5
28914 ac_status=$?
28915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28916 (exit $ac_status); }; }; then
28917
28918 cat >>confdefs.h <<\_ACEOF
28919 #define __WXGTK26__ 1
28920 _ACEOF
28921
28922 cat >>confdefs.h <<\_ACEOF
28923 #define __WXGTK24__ 1
28924 _ACEOF
28925
28926 echo "$as_me:$LINENO: result: yes" >&5
28927 echo "${ECHO_T}yes" >&6
28928 ac_wxgtk26=1
28929
28930 else
28931 echo "$as_me: failed program was:" >&5
28932 sed 's/^/| /' conftest.$ac_ext >&5
28933
28934
28935 echo "$as_me:$LINENO: result: no" >&5
28936 echo "${ECHO_T}no" >&6
28937 ac_wxgtk26=0
28938
28939 fi
28940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28941
28942 if test "$ac_wxgtk26" = 0; then
28943 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28944 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28945 cat >conftest.$ac_ext <<_ACEOF
28946 /* confdefs.h. */
28947 _ACEOF
28948 cat confdefs.h >>conftest.$ac_ext
28949 cat >>conftest.$ac_ext <<_ACEOF
28950 /* end confdefs.h. */
28951
28952 #include <gtk/gtk.h>
28953
28954 int
28955 main ()
28956 {
28957
28958 #if !GTK_CHECK_VERSION(2,4,0)
28959 Not GTK+ 2.4
28960 #endif
28961
28962 ;
28963 return 0;
28964 }
28965 _ACEOF
28966 rm -f conftest.$ac_objext
28967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28968 (eval $ac_compile) 2>conftest.er1
28969 ac_status=$?
28970 grep -v '^ *+' conftest.er1 >conftest.err
28971 rm -f conftest.er1
28972 cat conftest.err >&5
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); } &&
28975 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28977 (eval $ac_try) 2>&5
28978 ac_status=$?
28979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28980 (exit $ac_status); }; } &&
28981 { ac_try='test -s conftest.$ac_objext'
28982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28983 (eval $ac_try) 2>&5
28984 ac_status=$?
28985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28986 (exit $ac_status); }; }; then
28987
28988 cat >>confdefs.h <<\_ACEOF
28989 #define __WXGTK24__ 1
28990 _ACEOF
28991
28992 echo "$as_me:$LINENO: result: yes" >&5
28993 echo "${ECHO_T}yes" >&6
28994
28995 else
28996 echo "$as_me: failed program was:" >&5
28997 sed 's/^/| /' conftest.$ac_ext >&5
28998
28999
29000 echo "$as_me:$LINENO: result: no" >&5
29001 echo "${ECHO_T}no" >&6
29002
29003 fi
29004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29005 fi
29006
29007 CFLAGS="$save_CFLAGS"
29008 LIBS="$save_LIBS"
29009 else
29010 if test "$wxUSE_UNICODE" = "yes"; then
29011 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29012 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29013 wxUSE_UNICODE=no
29014 fi
29015
29016 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29017 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29018 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29019 echo $ECHO_N "(cached) $ECHO_C" >&6
29020 else
29021 ac_check_lib_save_LIBS=$LIBS
29022 LIBS="-lgdk $LIBS"
29023 cat >conftest.$ac_ext <<_ACEOF
29024 /* confdefs.h. */
29025 _ACEOF
29026 cat confdefs.h >>conftest.$ac_ext
29027 cat >>conftest.$ac_ext <<_ACEOF
29028 /* end confdefs.h. */
29029
29030 /* Override any gcc2 internal prototype to avoid an error. */
29031 #ifdef __cplusplus
29032 extern "C"
29033 #endif
29034 /* We use char because int might match the return type of a gcc2
29035 builtin and then its argument prototype would still apply. */
29036 char gdk_im_open ();
29037 int
29038 main ()
29039 {
29040 gdk_im_open ();
29041 ;
29042 return 0;
29043 }
29044 _ACEOF
29045 rm -f conftest.$ac_objext conftest$ac_exeext
29046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29047 (eval $ac_link) 2>conftest.er1
29048 ac_status=$?
29049 grep -v '^ *+' conftest.er1 >conftest.err
29050 rm -f conftest.er1
29051 cat conftest.err >&5
29052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29053 (exit $ac_status); } &&
29054 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29056 (eval $ac_try) 2>&5
29057 ac_status=$?
29058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29059 (exit $ac_status); }; } &&
29060 { ac_try='test -s conftest$ac_exeext'
29061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29062 (eval $ac_try) 2>&5
29063 ac_status=$?
29064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29065 (exit $ac_status); }; }; then
29066 ac_cv_lib_gdk_gdk_im_open=yes
29067 else
29068 echo "$as_me: failed program was:" >&5
29069 sed 's/^/| /' conftest.$ac_ext >&5
29070
29071 ac_cv_lib_gdk_gdk_im_open=no
29072 fi
29073 rm -f conftest.err conftest.$ac_objext \
29074 conftest$ac_exeext conftest.$ac_ext
29075 LIBS=$ac_check_lib_save_LIBS
29076 fi
29077 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29078 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29079 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29080 cat >>confdefs.h <<\_ACEOF
29081 #define HAVE_XIM 1
29082 _ACEOF
29083
29084 fi
29085
29086 fi
29087
29088 ac_ext=cc
29089 ac_cpp='$CXXCPP $CPPFLAGS'
29090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29093
29094
29095 if test "$USE_DARWIN" != 1; then
29096
29097 for ac_func in poll
29098 do
29099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29100 echo "$as_me:$LINENO: checking for $ac_func" >&5
29101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29102 if eval "test \"\${$as_ac_var+set}\" = set"; then
29103 echo $ECHO_N "(cached) $ECHO_C" >&6
29104 else
29105 cat >conftest.$ac_ext <<_ACEOF
29106 /* confdefs.h. */
29107 _ACEOF
29108 cat confdefs.h >>conftest.$ac_ext
29109 cat >>conftest.$ac_ext <<_ACEOF
29110 /* end confdefs.h. */
29111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29113 #define $ac_func innocuous_$ac_func
29114
29115 /* System header to define __stub macros and hopefully few prototypes,
29116 which can conflict with char $ac_func (); below.
29117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29118 <limits.h> exists even on freestanding compilers. */
29119
29120 #ifdef __STDC__
29121 # include <limits.h>
29122 #else
29123 # include <assert.h>
29124 #endif
29125
29126 #undef $ac_func
29127
29128 /* Override any gcc2 internal prototype to avoid an error. */
29129 #ifdef __cplusplus
29130 extern "C"
29131 {
29132 #endif
29133 /* We use char because int might match the return type of a gcc2
29134 builtin and then its argument prototype would still apply. */
29135 char $ac_func ();
29136 /* The GNU C library defines this for functions which it implements
29137 to always fail with ENOSYS. Some functions are actually named
29138 something starting with __ and the normal name is an alias. */
29139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29140 choke me
29141 #else
29142 char (*f) () = $ac_func;
29143 #endif
29144 #ifdef __cplusplus
29145 }
29146 #endif
29147
29148 int
29149 main ()
29150 {
29151 return f != $ac_func;
29152 ;
29153 return 0;
29154 }
29155 _ACEOF
29156 rm -f conftest.$ac_objext conftest$ac_exeext
29157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29158 (eval $ac_link) 2>conftest.er1
29159 ac_status=$?
29160 grep -v '^ *+' conftest.er1 >conftest.err
29161 rm -f conftest.er1
29162 cat conftest.err >&5
29163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29164 (exit $ac_status); } &&
29165 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29167 (eval $ac_try) 2>&5
29168 ac_status=$?
29169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29170 (exit $ac_status); }; } &&
29171 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
29177 eval "$as_ac_var=yes"
29178 else
29179 echo "$as_me: failed program was:" >&5
29180 sed 's/^/| /' conftest.$ac_ext >&5
29181
29182 eval "$as_ac_var=no"
29183 fi
29184 rm -f conftest.err conftest.$ac_objext \
29185 conftest$ac_exeext conftest.$ac_ext
29186 fi
29187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29189 if test `eval echo '${'$as_ac_var'}'` = yes; then
29190 cat >>confdefs.h <<_ACEOF
29191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29192 _ACEOF
29193
29194 fi
29195 done
29196
29197 fi
29198
29199 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29200 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29201
29202 AFMINSTALL=afminstall
29203 TOOLKIT=GTK
29204 GUIDIST=GTK_DIST
29205
29206 if test "$wxUSE_GPE" = "yes"; then
29207 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29208 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29209
29210 ac_find_libraries=
29211 for ac_dir in $SEARCH_LIB;
29212 do
29213 for ac_extension in a so sl dylib dll.a; do
29214 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29215 ac_find_libraries=$ac_dir
29216 break 2
29217 fi
29218 done
29219 done
29220
29221 if test "$ac_find_libraries" != "" ; then
29222
29223 if test "$ac_find_libraries" = "default location"; then
29224 ac_path_to_link=""
29225 else
29226 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29227 result=$?
29228 if test $result = 0; then
29229 ac_path_to_link=""
29230 else
29231 ac_path_to_link=" -L$ac_find_libraries"
29232 fi
29233 fi
29234
29235 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29236 WXGPE=1
29237 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29238 echo "${ECHO_T}found in $ac_find_libraries" >&6
29239 else
29240 echo "$as_me:$LINENO: result: not found" >&5
29241 echo "${ECHO_T}not found" >&6
29242 fi
29243
29244 fi
29245 fi
29246
29247 if test "$wxUSE_MGL" = 1; then
29248 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29249 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29250 if test "x$MGL_ROOT" = x ; then
29251 echo "$as_me:$LINENO: result: not found" >&5
29252 echo "${ECHO_T}not found" >&6
29253 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29254 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29255 { (exit 1); exit 1; }; }
29256 else
29257 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29258 echo "${ECHO_T}$MGL_ROOT" >&6
29259 fi
29260
29261 echo "$as_me:$LINENO: checking for libmgl location" >&5
29262 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29263 case "${host}" in
29264 *-*-linux* )
29265 if test "x$wxUSE_SHARED" = xyes ; then
29266 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29267 else
29268 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29269 fi
29270 ;;
29271 *-pc-msdosdjgpp )
29272 mgl_os_candidates="dos32/dj2"
29273 ;;
29274 *)
29275 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29276 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29277 { (exit 1); exit 1; }; }
29278 esac
29279
29280 mgl_lib_type=""
29281 mgl_os=""
29282
29283 for mgl_os_i in $mgl_os_candidates ; do
29284 if test "x$mgl_os" = x ; then
29285 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29286 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29287 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29288 mgl_lib_type=debug
29289 mgl_os=$mgl_os_i
29290 fi
29291 fi
29292 if test "x$mgl_lib_type" = x ; then
29293 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29294 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29295 mgl_lib_type=release
29296 mgl_os=$mgl_os_i
29297 fi
29298 fi
29299 fi
29300 done
29301
29302 if test "x$mgl_os" = x ; then
29303 echo "$as_me:$LINENO: result: not found" >&5
29304 echo "${ECHO_T}not found" >&6
29305 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29306 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29307 { (exit 1); exit 1; }; }
29308 fi
29309 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29310 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29311
29312 wxUSE_UNIVERSAL="yes"
29313
29314 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29315 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29316
29317 AFMINSTALL=afminstall
29318 TOOLKIT=MGL
29319 GUIDIST=MGL_DIST
29320 fi
29321
29322 if test "$wxUSE_DFB" = 1; then
29323
29324
29325 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29326 if test -n "$ac_tool_prefix"; then
29327 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29328 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29329 echo "$as_me:$LINENO: checking for $ac_word" >&5
29330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29331 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29332 echo $ECHO_N "(cached) $ECHO_C" >&6
29333 else
29334 case $PKG_CONFIG in
29335 [\\/]* | ?:[\\/]*)
29336 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29337 ;;
29338 *)
29339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29340 for as_dir in $PATH
29341 do
29342 IFS=$as_save_IFS
29343 test -z "$as_dir" && as_dir=.
29344 for ac_exec_ext in '' $ac_executable_extensions; do
29345 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29346 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29348 break 2
29349 fi
29350 done
29351 done
29352
29353 ;;
29354 esac
29355 fi
29356 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29357
29358 if test -n "$PKG_CONFIG"; then
29359 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29360 echo "${ECHO_T}$PKG_CONFIG" >&6
29361 else
29362 echo "$as_me:$LINENO: result: no" >&5
29363 echo "${ECHO_T}no" >&6
29364 fi
29365
29366 fi
29367 if test -z "$ac_cv_path_PKG_CONFIG"; then
29368 ac_pt_PKG_CONFIG=$PKG_CONFIG
29369 # Extract the first word of "pkg-config", so it can be a program name with args.
29370 set dummy pkg-config; ac_word=$2
29371 echo "$as_me:$LINENO: checking for $ac_word" >&5
29372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29373 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29374 echo $ECHO_N "(cached) $ECHO_C" >&6
29375 else
29376 case $ac_pt_PKG_CONFIG in
29377 [\\/]* | ?:[\\/]*)
29378 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29379 ;;
29380 *)
29381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29382 for as_dir in $PATH
29383 do
29384 IFS=$as_save_IFS
29385 test -z "$as_dir" && as_dir=.
29386 for ac_exec_ext in '' $ac_executable_extensions; do
29387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29388 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29390 break 2
29391 fi
29392 done
29393 done
29394
29395 ;;
29396 esac
29397 fi
29398 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29399
29400 if test -n "$ac_pt_PKG_CONFIG"; then
29401 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29402 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29403 else
29404 echo "$as_me:$LINENO: result: no" >&5
29405 echo "${ECHO_T}no" >&6
29406 fi
29407
29408 PKG_CONFIG=$ac_pt_PKG_CONFIG
29409 else
29410 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29411 fi
29412
29413 fi
29414 if test -n "$PKG_CONFIG"; then
29415 _pkg_min_version=0.9.0
29416 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29417 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29418 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29419 echo "$as_me:$LINENO: result: yes" >&5
29420 echo "${ECHO_T}yes" >&6
29421 else
29422 echo "$as_me:$LINENO: result: no" >&5
29423 echo "${ECHO_T}no" >&6
29424 PKG_CONFIG=""
29425 fi
29426
29427 fi
29428
29429
29430 pkg_failed=no
29431 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29432 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29433
29434 if test -n "$PKG_CONFIG"; then
29435 if test -n "$DIRECTFB_CFLAGS"; then
29436 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29437 else
29438 if test -n "$PKG_CONFIG" && \
29439 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29440 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29441 ac_status=$?
29442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29443 (exit $ac_status); }; then
29444 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29445 else
29446 pkg_failed=yes
29447 fi
29448 fi
29449 else
29450 pkg_failed=untried
29451 fi
29452 if test -n "$PKG_CONFIG"; then
29453 if test -n "$DIRECTFB_LIBS"; then
29454 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29455 else
29456 if test -n "$PKG_CONFIG" && \
29457 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29458 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29459 ac_status=$?
29460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29461 (exit $ac_status); }; then
29462 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29463 else
29464 pkg_failed=yes
29465 fi
29466 fi
29467 else
29468 pkg_failed=untried
29469 fi
29470
29471
29472
29473 if test $pkg_failed = yes; then
29474
29475 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29476 _pkg_short_errors_supported=yes
29477 else
29478 _pkg_short_errors_supported=no
29479 fi
29480 if test $_pkg_short_errors_supported = yes; then
29481 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29482 else
29483 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29484 fi
29485 # Put the nasty error message in config.log where it belongs
29486 echo "$DIRECTFB_PKG_ERRORS" >&5
29487
29488
29489 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29490 echo "$as_me: error: DirectFB not found." >&2;}
29491 { (exit 1); exit 1; }; }
29492
29493
29494 elif test $pkg_failed = untried; then
29495
29496 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29497 echo "$as_me: error: DirectFB not found." >&2;}
29498 { (exit 1); exit 1; }; }
29499
29500
29501 else
29502 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29503 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29504 echo "$as_me:$LINENO: result: yes" >&5
29505 echo "${ECHO_T}yes" >&6
29506
29507 wxUSE_UNIVERSAL="yes"
29508 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29509 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29510 TOOLKIT=DFB
29511 GUIDIST=DFB_DIST
29512
29513 fi
29514 fi
29515
29516 if test "$wxUSE_MICROWIN" = 1; then
29517 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29518 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29519 if test "x$MICROWINDOWS" = x ; then
29520 echo "$as_me:$LINENO: result: not found" >&5
29521 echo "${ECHO_T}not found" >&6
29522 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29523 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29524 { (exit 1); exit 1; }; }
29525 else
29526 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29527 echo "${ECHO_T}$MICROWINDOWS" >&6
29528 fi
29529
29530 if test -f $MICROWINDOWS/lib/libmwin.a; then
29531 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29532 echo "${ECHO_T}MicroWindows' libraries found." >&6
29533 else
29534 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29535 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29536 { (exit 1); exit 1; }; }
29537 fi
29538
29539 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29540 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29541
29542 wxUSE_UNIVERSAL="yes"
29543
29544 AFMINSTALL=afminstall
29545 TOOLKIT=MICROWIN
29546 GUIDIST=MICROWIN_DIST
29547
29548 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29549 fi
29550
29551 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29552
29553 if test "x$ac_path_x_has_been_run" != xyes; then
29554 echo "$as_me:$LINENO: checking for X" >&5
29555 echo $ECHO_N "checking for X... $ECHO_C" >&6
29556
29557 ac_path_x_has_been_run=yes
29558
29559 # Check whether --with-x or --without-x was given.
29560 if test "${with_x+set}" = set; then
29561 withval="$with_x"
29562
29563 fi;
29564 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29565 if test "x$with_x" = xno; then
29566 # The user explicitly disabled X.
29567 have_x=disabled
29568 else
29569 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29570 # Both variables are already set.
29571 have_x=yes
29572 else
29573 if test "${ac_cv_have_x+set}" = set; then
29574 echo $ECHO_N "(cached) $ECHO_C" >&6
29575 else
29576 # One or both of the vars are not set, and there is no cached value.
29577 ac_x_includes=no ac_x_libraries=no
29578 rm -fr conftest.dir
29579 if mkdir conftest.dir; then
29580 cd conftest.dir
29581 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29582 cat >Imakefile <<'_ACEOF'
29583 acfindx:
29584 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29585 _ACEOF
29586 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29587 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29588 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29589 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29590 for ac_extension in a so sl; do
29591 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29592 test -f $ac_im_libdir/libX11.$ac_extension; then
29593 ac_im_usrlibdir=$ac_im_libdir; break
29594 fi
29595 done
29596 # Screen out bogus values from the imake configuration. They are
29597 # bogus both because they are the default anyway, and because
29598 # using them would break gcc on systems where it needs fixed includes.
29599 case $ac_im_incroot in
29600 /usr/include) ;;
29601 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29602 esac
29603 case $ac_im_usrlibdir in
29604 /usr/lib | /lib) ;;
29605 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29606 esac
29607 fi
29608 cd ..
29609 rm -fr conftest.dir
29610 fi
29611
29612 # Standard set of common directories for X headers.
29613 # Check X11 before X11Rn because it is often a symlink to the current release.
29614 ac_x_header_dirs='
29615 /usr/X11/include
29616 /usr/X11R6/include
29617 /usr/X11R5/include
29618 /usr/X11R4/include
29619
29620 /usr/include/X11
29621 /usr/include/X11R6
29622 /usr/include/X11R5
29623 /usr/include/X11R4
29624
29625 /usr/local/X11/include
29626 /usr/local/X11R6/include
29627 /usr/local/X11R5/include
29628 /usr/local/X11R4/include
29629
29630 /usr/local/include/X11
29631 /usr/local/include/X11R6
29632 /usr/local/include/X11R5
29633 /usr/local/include/X11R4
29634
29635 /usr/X386/include
29636 /usr/x386/include
29637 /usr/XFree86/include/X11
29638
29639 /usr/include
29640 /usr/local/include
29641 /usr/unsupported/include
29642 /usr/athena/include
29643 /usr/local/x11r5/include
29644 /usr/lpp/Xamples/include
29645
29646 /usr/openwin/include
29647 /usr/openwin/share/include'
29648
29649 if test "$ac_x_includes" = no; then
29650 # Guess where to find include files, by looking for a specified header file.
29651 # First, try using that file with no special directory specified.
29652 cat >conftest.$ac_ext <<_ACEOF
29653 /* confdefs.h. */
29654 _ACEOF
29655 cat confdefs.h >>conftest.$ac_ext
29656 cat >>conftest.$ac_ext <<_ACEOF
29657 /* end confdefs.h. */
29658 #include <X11/Intrinsic.h>
29659 _ACEOF
29660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29661 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29662 ac_status=$?
29663 grep -v '^ *+' conftest.er1 >conftest.err
29664 rm -f conftest.er1
29665 cat conftest.err >&5
29666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29667 (exit $ac_status); } >/dev/null; then
29668 if test -s conftest.err; then
29669 ac_cpp_err=$ac_cxx_preproc_warn_flag
29670 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29671 else
29672 ac_cpp_err=
29673 fi
29674 else
29675 ac_cpp_err=yes
29676 fi
29677 if test -z "$ac_cpp_err"; then
29678 # We can compile using X headers with no special include directory.
29679 ac_x_includes=
29680 else
29681 echo "$as_me: failed program was:" >&5
29682 sed 's/^/| /' conftest.$ac_ext >&5
29683
29684 for ac_dir in $ac_x_header_dirs; do
29685 if test -r "$ac_dir/X11/Intrinsic.h"; then
29686 ac_x_includes=$ac_dir
29687 break
29688 fi
29689 done
29690 fi
29691 rm -f conftest.err conftest.$ac_ext
29692 fi # $ac_x_includes = no
29693
29694 if test "$ac_x_libraries" = no; then
29695 # Check for the libraries.
29696 # See if we find them without any special options.
29697 # Don't add to $LIBS permanently.
29698 ac_save_LIBS=$LIBS
29699 LIBS="-lXt $LIBS"
29700 cat >conftest.$ac_ext <<_ACEOF
29701 /* confdefs.h. */
29702 _ACEOF
29703 cat confdefs.h >>conftest.$ac_ext
29704 cat >>conftest.$ac_ext <<_ACEOF
29705 /* end confdefs.h. */
29706 #include <X11/Intrinsic.h>
29707 int
29708 main ()
29709 {
29710 XtMalloc (0)
29711 ;
29712 return 0;
29713 }
29714 _ACEOF
29715 rm -f conftest.$ac_objext conftest$ac_exeext
29716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29717 (eval $ac_link) 2>conftest.er1
29718 ac_status=$?
29719 grep -v '^ *+' conftest.er1 >conftest.err
29720 rm -f conftest.er1
29721 cat conftest.err >&5
29722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29723 (exit $ac_status); } &&
29724 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29726 (eval $ac_try) 2>&5
29727 ac_status=$?
29728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29729 (exit $ac_status); }; } &&
29730 { ac_try='test -s conftest$ac_exeext'
29731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29732 (eval $ac_try) 2>&5
29733 ac_status=$?
29734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29735 (exit $ac_status); }; }; then
29736 LIBS=$ac_save_LIBS
29737 # We can link X programs with no special library path.
29738 ac_x_libraries=
29739 else
29740 echo "$as_me: failed program was:" >&5
29741 sed 's/^/| /' conftest.$ac_ext >&5
29742
29743 LIBS=$ac_save_LIBS
29744 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29745 do
29746 # Don't even attempt the hair of trying to link an X program!
29747 for ac_extension in a so sl; do
29748 if test -r $ac_dir/libXt.$ac_extension; then
29749 ac_x_libraries=$ac_dir
29750 break 2
29751 fi
29752 done
29753 done
29754 fi
29755 rm -f conftest.err conftest.$ac_objext \
29756 conftest$ac_exeext conftest.$ac_ext
29757 fi # $ac_x_libraries = no
29758
29759 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29760 # Didn't find X anywhere. Cache the known absence of X.
29761 ac_cv_have_x="have_x=no"
29762 else
29763 # Record where we found X for the cache.
29764 ac_cv_have_x="have_x=yes \
29765 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29766 fi
29767 fi
29768
29769 fi
29770 eval "$ac_cv_have_x"
29771 fi # $with_x != no
29772
29773 if test "$have_x" != yes; then
29774 echo "$as_me:$LINENO: result: $have_x" >&5
29775 echo "${ECHO_T}$have_x" >&6
29776 no_x=yes
29777 else
29778 # If each of the values was on the command line, it overrides each guess.
29779 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29780 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29781 # Update the cache value to reflect the command line values.
29782 ac_cv_have_x="have_x=yes \
29783 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29784 # It might be that x_includes is empty (headers are found in the
29785 # standard search path. Then output the corresponding message
29786 ac_out_x_includes=$x_includes
29787 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29788 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29789 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29790 fi
29791
29792 fi
29793 if test "$no_x" = yes; then
29794 # Not all programs may use this symbol, but it does not hurt to define it.
29795
29796 cat >>confdefs.h <<\_ACEOF
29797 #define X_DISPLAY_MISSING 1
29798 _ACEOF
29799
29800 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29801 else
29802 if test -n "$x_includes"; then
29803 X_CFLAGS="$X_CFLAGS -I$x_includes"
29804 fi
29805
29806 # It would also be nice to do this for all -L options, not just this one.
29807 if test -n "$x_libraries"; then
29808 X_LIBS="$X_LIBS -L$x_libraries"
29809 # For Solaris; some versions of Sun CC require a space after -R and
29810 # others require no space. Words are not sufficient . . . .
29811 case `(uname -sr) 2>/dev/null` in
29812 "SunOS 5"*)
29813 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29814 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29815 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29816 cat >conftest.$ac_ext <<_ACEOF
29817 /* confdefs.h. */
29818 _ACEOF
29819 cat confdefs.h >>conftest.$ac_ext
29820 cat >>conftest.$ac_ext <<_ACEOF
29821 /* end confdefs.h. */
29822
29823 int
29824 main ()
29825 {
29826
29827 ;
29828 return 0;
29829 }
29830 _ACEOF
29831 rm -f conftest.$ac_objext conftest$ac_exeext
29832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29833 (eval $ac_link) 2>conftest.er1
29834 ac_status=$?
29835 grep -v '^ *+' conftest.er1 >conftest.err
29836 rm -f conftest.er1
29837 cat conftest.err >&5
29838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29839 (exit $ac_status); } &&
29840 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29842 (eval $ac_try) 2>&5
29843 ac_status=$?
29844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29845 (exit $ac_status); }; } &&
29846 { ac_try='test -s conftest$ac_exeext'
29847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29848 (eval $ac_try) 2>&5
29849 ac_status=$?
29850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29851 (exit $ac_status); }; }; then
29852 ac_R_nospace=yes
29853 else
29854 echo "$as_me: failed program was:" >&5
29855 sed 's/^/| /' conftest.$ac_ext >&5
29856
29857 ac_R_nospace=no
29858 fi
29859 rm -f conftest.err conftest.$ac_objext \
29860 conftest$ac_exeext conftest.$ac_ext
29861 if test $ac_R_nospace = yes; then
29862 echo "$as_me:$LINENO: result: no" >&5
29863 echo "${ECHO_T}no" >&6
29864 X_LIBS="$X_LIBS -R$x_libraries"
29865 else
29866 LIBS="$ac_xsave_LIBS -R $x_libraries"
29867 cat >conftest.$ac_ext <<_ACEOF
29868 /* confdefs.h. */
29869 _ACEOF
29870 cat confdefs.h >>conftest.$ac_ext
29871 cat >>conftest.$ac_ext <<_ACEOF
29872 /* end confdefs.h. */
29873
29874 int
29875 main ()
29876 {
29877
29878 ;
29879 return 0;
29880 }
29881 _ACEOF
29882 rm -f conftest.$ac_objext conftest$ac_exeext
29883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29884 (eval $ac_link) 2>conftest.er1
29885 ac_status=$?
29886 grep -v '^ *+' conftest.er1 >conftest.err
29887 rm -f conftest.er1
29888 cat conftest.err >&5
29889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29890 (exit $ac_status); } &&
29891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29893 (eval $ac_try) 2>&5
29894 ac_status=$?
29895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29896 (exit $ac_status); }; } &&
29897 { ac_try='test -s conftest$ac_exeext'
29898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29899 (eval $ac_try) 2>&5
29900 ac_status=$?
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); }; }; then
29903 ac_R_space=yes
29904 else
29905 echo "$as_me: failed program was:" >&5
29906 sed 's/^/| /' conftest.$ac_ext >&5
29907
29908 ac_R_space=no
29909 fi
29910 rm -f conftest.err conftest.$ac_objext \
29911 conftest$ac_exeext conftest.$ac_ext
29912 if test $ac_R_space = yes; then
29913 echo "$as_me:$LINENO: result: yes" >&5
29914 echo "${ECHO_T}yes" >&6
29915 X_LIBS="$X_LIBS -R $x_libraries"
29916 else
29917 echo "$as_me:$LINENO: result: neither works" >&5
29918 echo "${ECHO_T}neither works" >&6
29919 fi
29920 fi
29921 LIBS=$ac_xsave_LIBS
29922 esac
29923 fi
29924
29925 # Check for system-dependent libraries X programs must link with.
29926 # Do this before checking for the system-independent R6 libraries
29927 # (-lICE), since we may need -lsocket or whatever for X linking.
29928
29929 if test "$ISC" = yes; then
29930 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29931 else
29932 # Martyn Johnson says this is needed for Ultrix, if the X
29933 # libraries were built with DECnet support. And Karl Berry says
29934 # the Alpha needs dnet_stub (dnet does not exist).
29935 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29936 cat >conftest.$ac_ext <<_ACEOF
29937 /* confdefs.h. */
29938 _ACEOF
29939 cat confdefs.h >>conftest.$ac_ext
29940 cat >>conftest.$ac_ext <<_ACEOF
29941 /* end confdefs.h. */
29942
29943 /* Override any gcc2 internal prototype to avoid an error. */
29944 #ifdef __cplusplus
29945 extern "C"
29946 #endif
29947 /* We use char because int might match the return type of a gcc2
29948 builtin and then its argument prototype would still apply. */
29949 char XOpenDisplay ();
29950 int
29951 main ()
29952 {
29953 XOpenDisplay ();
29954 ;
29955 return 0;
29956 }
29957 _ACEOF
29958 rm -f conftest.$ac_objext conftest$ac_exeext
29959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29960 (eval $ac_link) 2>conftest.er1
29961 ac_status=$?
29962 grep -v '^ *+' conftest.er1 >conftest.err
29963 rm -f conftest.er1
29964 cat conftest.err >&5
29965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966 (exit $ac_status); } &&
29967 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
29973 { ac_try='test -s conftest$ac_exeext'
29974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29975 (eval $ac_try) 2>&5
29976 ac_status=$?
29977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29978 (exit $ac_status); }; }; then
29979 :
29980 else
29981 echo "$as_me: failed program was:" >&5
29982 sed 's/^/| /' conftest.$ac_ext >&5
29983
29984 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29985 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29986 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29987 echo $ECHO_N "(cached) $ECHO_C" >&6
29988 else
29989 ac_check_lib_save_LIBS=$LIBS
29990 LIBS="-ldnet $LIBS"
29991 cat >conftest.$ac_ext <<_ACEOF
29992 /* confdefs.h. */
29993 _ACEOF
29994 cat confdefs.h >>conftest.$ac_ext
29995 cat >>conftest.$ac_ext <<_ACEOF
29996 /* end confdefs.h. */
29997
29998 /* Override any gcc2 internal prototype to avoid an error. */
29999 #ifdef __cplusplus
30000 extern "C"
30001 #endif
30002 /* We use char because int might match the return type of a gcc2
30003 builtin and then its argument prototype would still apply. */
30004 char dnet_ntoa ();
30005 int
30006 main ()
30007 {
30008 dnet_ntoa ();
30009 ;
30010 return 0;
30011 }
30012 _ACEOF
30013 rm -f conftest.$ac_objext conftest$ac_exeext
30014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30015 (eval $ac_link) 2>conftest.er1
30016 ac_status=$?
30017 grep -v '^ *+' conftest.er1 >conftest.err
30018 rm -f conftest.er1
30019 cat conftest.err >&5
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); } &&
30022 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30024 (eval $ac_try) 2>&5
30025 ac_status=$?
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); }; } &&
30028 { ac_try='test -s conftest$ac_exeext'
30029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30030 (eval $ac_try) 2>&5
30031 ac_status=$?
30032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30033 (exit $ac_status); }; }; then
30034 ac_cv_lib_dnet_dnet_ntoa=yes
30035 else
30036 echo "$as_me: failed program was:" >&5
30037 sed 's/^/| /' conftest.$ac_ext >&5
30038
30039 ac_cv_lib_dnet_dnet_ntoa=no
30040 fi
30041 rm -f conftest.err conftest.$ac_objext \
30042 conftest$ac_exeext conftest.$ac_ext
30043 LIBS=$ac_check_lib_save_LIBS
30044 fi
30045 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30046 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30047 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30048 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30049 fi
30050
30051 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30052 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30053 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30054 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30055 echo $ECHO_N "(cached) $ECHO_C" >&6
30056 else
30057 ac_check_lib_save_LIBS=$LIBS
30058 LIBS="-ldnet_stub $LIBS"
30059 cat >conftest.$ac_ext <<_ACEOF
30060 /* confdefs.h. */
30061 _ACEOF
30062 cat confdefs.h >>conftest.$ac_ext
30063 cat >>conftest.$ac_ext <<_ACEOF
30064 /* end confdefs.h. */
30065
30066 /* Override any gcc2 internal prototype to avoid an error. */
30067 #ifdef __cplusplus
30068 extern "C"
30069 #endif
30070 /* We use char because int might match the return type of a gcc2
30071 builtin and then its argument prototype would still apply. */
30072 char dnet_ntoa ();
30073 int
30074 main ()
30075 {
30076 dnet_ntoa ();
30077 ;
30078 return 0;
30079 }
30080 _ACEOF
30081 rm -f conftest.$ac_objext conftest$ac_exeext
30082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30083 (eval $ac_link) 2>conftest.er1
30084 ac_status=$?
30085 grep -v '^ *+' conftest.er1 >conftest.err
30086 rm -f conftest.er1
30087 cat conftest.err >&5
30088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30089 (exit $ac_status); } &&
30090 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30092 (eval $ac_try) 2>&5
30093 ac_status=$?
30094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095 (exit $ac_status); }; } &&
30096 { ac_try='test -s conftest$ac_exeext'
30097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30098 (eval $ac_try) 2>&5
30099 ac_status=$?
30100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30101 (exit $ac_status); }; }; then
30102 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30103 else
30104 echo "$as_me: failed program was:" >&5
30105 sed 's/^/| /' conftest.$ac_ext >&5
30106
30107 ac_cv_lib_dnet_stub_dnet_ntoa=no
30108 fi
30109 rm -f conftest.err conftest.$ac_objext \
30110 conftest$ac_exeext conftest.$ac_ext
30111 LIBS=$ac_check_lib_save_LIBS
30112 fi
30113 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30114 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30115 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30116 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30117 fi
30118
30119 fi
30120 fi
30121 rm -f conftest.err conftest.$ac_objext \
30122 conftest$ac_exeext conftest.$ac_ext
30123 LIBS="$ac_xsave_LIBS"
30124
30125 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30126 # to get the SysV transport functions.
30127 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30128 # needs -lnsl.
30129 # The nsl library prevents programs from opening the X display
30130 # on Irix 5.2, according to T.E. Dickey.
30131 # The functions gethostbyname, getservbyname, and inet_addr are
30132 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30133 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30134 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30135 if test "${ac_cv_func_gethostbyname+set}" = set; then
30136 echo $ECHO_N "(cached) $ECHO_C" >&6
30137 else
30138 cat >conftest.$ac_ext <<_ACEOF
30139 /* confdefs.h. */
30140 _ACEOF
30141 cat confdefs.h >>conftest.$ac_ext
30142 cat >>conftest.$ac_ext <<_ACEOF
30143 /* end confdefs.h. */
30144 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30146 #define gethostbyname innocuous_gethostbyname
30147
30148 /* System header to define __stub macros and hopefully few prototypes,
30149 which can conflict with char gethostbyname (); below.
30150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30151 <limits.h> exists even on freestanding compilers. */
30152
30153 #ifdef __STDC__
30154 # include <limits.h>
30155 #else
30156 # include <assert.h>
30157 #endif
30158
30159 #undef gethostbyname
30160
30161 /* Override any gcc2 internal prototype to avoid an error. */
30162 #ifdef __cplusplus
30163 extern "C"
30164 {
30165 #endif
30166 /* We use char because int might match the return type of a gcc2
30167 builtin and then its argument prototype would still apply. */
30168 char gethostbyname ();
30169 /* The GNU C library defines this for functions which it implements
30170 to always fail with ENOSYS. Some functions are actually named
30171 something starting with __ and the normal name is an alias. */
30172 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30173 choke me
30174 #else
30175 char (*f) () = gethostbyname;
30176 #endif
30177 #ifdef __cplusplus
30178 }
30179 #endif
30180
30181 int
30182 main ()
30183 {
30184 return f != gethostbyname;
30185 ;
30186 return 0;
30187 }
30188 _ACEOF
30189 rm -f conftest.$ac_objext conftest$ac_exeext
30190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30191 (eval $ac_link) 2>conftest.er1
30192 ac_status=$?
30193 grep -v '^ *+' conftest.er1 >conftest.err
30194 rm -f conftest.er1
30195 cat conftest.err >&5
30196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30197 (exit $ac_status); } &&
30198 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30200 (eval $ac_try) 2>&5
30201 ac_status=$?
30202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30203 (exit $ac_status); }; } &&
30204 { ac_try='test -s conftest$ac_exeext'
30205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30206 (eval $ac_try) 2>&5
30207 ac_status=$?
30208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30209 (exit $ac_status); }; }; then
30210 ac_cv_func_gethostbyname=yes
30211 else
30212 echo "$as_me: failed program was:" >&5
30213 sed 's/^/| /' conftest.$ac_ext >&5
30214
30215 ac_cv_func_gethostbyname=no
30216 fi
30217 rm -f conftest.err conftest.$ac_objext \
30218 conftest$ac_exeext conftest.$ac_ext
30219 fi
30220 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30221 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30222
30223 if test $ac_cv_func_gethostbyname = no; then
30224 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30225 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30226 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30227 echo $ECHO_N "(cached) $ECHO_C" >&6
30228 else
30229 ac_check_lib_save_LIBS=$LIBS
30230 LIBS="-lnsl $LIBS"
30231 cat >conftest.$ac_ext <<_ACEOF
30232 /* confdefs.h. */
30233 _ACEOF
30234 cat confdefs.h >>conftest.$ac_ext
30235 cat >>conftest.$ac_ext <<_ACEOF
30236 /* end confdefs.h. */
30237
30238 /* Override any gcc2 internal prototype to avoid an error. */
30239 #ifdef __cplusplus
30240 extern "C"
30241 #endif
30242 /* We use char because int might match the return type of a gcc2
30243 builtin and then its argument prototype would still apply. */
30244 char gethostbyname ();
30245 int
30246 main ()
30247 {
30248 gethostbyname ();
30249 ;
30250 return 0;
30251 }
30252 _ACEOF
30253 rm -f conftest.$ac_objext conftest$ac_exeext
30254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30255 (eval $ac_link) 2>conftest.er1
30256 ac_status=$?
30257 grep -v '^ *+' conftest.er1 >conftest.err
30258 rm -f conftest.er1
30259 cat conftest.err >&5
30260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30261 (exit $ac_status); } &&
30262 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30264 (eval $ac_try) 2>&5
30265 ac_status=$?
30266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30267 (exit $ac_status); }; } &&
30268 { ac_try='test -s conftest$ac_exeext'
30269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30270 (eval $ac_try) 2>&5
30271 ac_status=$?
30272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30273 (exit $ac_status); }; }; then
30274 ac_cv_lib_nsl_gethostbyname=yes
30275 else
30276 echo "$as_me: failed program was:" >&5
30277 sed 's/^/| /' conftest.$ac_ext >&5
30278
30279 ac_cv_lib_nsl_gethostbyname=no
30280 fi
30281 rm -f conftest.err conftest.$ac_objext \
30282 conftest$ac_exeext conftest.$ac_ext
30283 LIBS=$ac_check_lib_save_LIBS
30284 fi
30285 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30286 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30287 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30288 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30289 fi
30290
30291 if test $ac_cv_lib_nsl_gethostbyname = no; then
30292 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30293 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30294 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30295 echo $ECHO_N "(cached) $ECHO_C" >&6
30296 else
30297 ac_check_lib_save_LIBS=$LIBS
30298 LIBS="-lbsd $LIBS"
30299 cat >conftest.$ac_ext <<_ACEOF
30300 /* confdefs.h. */
30301 _ACEOF
30302 cat confdefs.h >>conftest.$ac_ext
30303 cat >>conftest.$ac_ext <<_ACEOF
30304 /* end confdefs.h. */
30305
30306 /* Override any gcc2 internal prototype to avoid an error. */
30307 #ifdef __cplusplus
30308 extern "C"
30309 #endif
30310 /* We use char because int might match the return type of a gcc2
30311 builtin and then its argument prototype would still apply. */
30312 char gethostbyname ();
30313 int
30314 main ()
30315 {
30316 gethostbyname ();
30317 ;
30318 return 0;
30319 }
30320 _ACEOF
30321 rm -f conftest.$ac_objext conftest$ac_exeext
30322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30323 (eval $ac_link) 2>conftest.er1
30324 ac_status=$?
30325 grep -v '^ *+' conftest.er1 >conftest.err
30326 rm -f conftest.er1
30327 cat conftest.err >&5
30328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30329 (exit $ac_status); } &&
30330 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30332 (eval $ac_try) 2>&5
30333 ac_status=$?
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); }; } &&
30336 { ac_try='test -s conftest$ac_exeext'
30337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30338 (eval $ac_try) 2>&5
30339 ac_status=$?
30340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30341 (exit $ac_status); }; }; then
30342 ac_cv_lib_bsd_gethostbyname=yes
30343 else
30344 echo "$as_me: failed program was:" >&5
30345 sed 's/^/| /' conftest.$ac_ext >&5
30346
30347 ac_cv_lib_bsd_gethostbyname=no
30348 fi
30349 rm -f conftest.err conftest.$ac_objext \
30350 conftest$ac_exeext conftest.$ac_ext
30351 LIBS=$ac_check_lib_save_LIBS
30352 fi
30353 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30354 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30355 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30356 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30357 fi
30358
30359 fi
30360 fi
30361
30362 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30363 # socket/setsockopt and other routines are undefined under SCO ODT
30364 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30365 # on later versions), says Simon Leinen: it contains gethostby*
30366 # variants that don't use the name server (or something). -lsocket
30367 # must be given before -lnsl if both are needed. We assume that
30368 # if connect needs -lnsl, so does gethostbyname.
30369 echo "$as_me:$LINENO: checking for connect" >&5
30370 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30371 if test "${ac_cv_func_connect+set}" = set; then
30372 echo $ECHO_N "(cached) $ECHO_C" >&6
30373 else
30374 cat >conftest.$ac_ext <<_ACEOF
30375 /* confdefs.h. */
30376 _ACEOF
30377 cat confdefs.h >>conftest.$ac_ext
30378 cat >>conftest.$ac_ext <<_ACEOF
30379 /* end confdefs.h. */
30380 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30382 #define connect innocuous_connect
30383
30384 /* System header to define __stub macros and hopefully few prototypes,
30385 which can conflict with char connect (); below.
30386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30387 <limits.h> exists even on freestanding compilers. */
30388
30389 #ifdef __STDC__
30390 # include <limits.h>
30391 #else
30392 # include <assert.h>
30393 #endif
30394
30395 #undef connect
30396
30397 /* Override any gcc2 internal prototype to avoid an error. */
30398 #ifdef __cplusplus
30399 extern "C"
30400 {
30401 #endif
30402 /* We use char because int might match the return type of a gcc2
30403 builtin and then its argument prototype would still apply. */
30404 char connect ();
30405 /* The GNU C library defines this for functions which it implements
30406 to always fail with ENOSYS. Some functions are actually named
30407 something starting with __ and the normal name is an alias. */
30408 #if defined (__stub_connect) || defined (__stub___connect)
30409 choke me
30410 #else
30411 char (*f) () = connect;
30412 #endif
30413 #ifdef __cplusplus
30414 }
30415 #endif
30416
30417 int
30418 main ()
30419 {
30420 return f != connect;
30421 ;
30422 return 0;
30423 }
30424 _ACEOF
30425 rm -f conftest.$ac_objext conftest$ac_exeext
30426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30427 (eval $ac_link) 2>conftest.er1
30428 ac_status=$?
30429 grep -v '^ *+' conftest.er1 >conftest.err
30430 rm -f conftest.er1
30431 cat conftest.err >&5
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); } &&
30434 { ac_try='test -z "$ac_cxx_werror_flag" || 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" || test ! -s conftest.err'
30499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30500 (eval $ac_try) 2>&5
30501 ac_status=$?
30502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30503 (exit $ac_status); }; } &&
30504 { ac_try='test -s conftest$ac_exeext'
30505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30506 (eval $ac_try) 2>&5
30507 ac_status=$?
30508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30509 (exit $ac_status); }; }; then
30510 ac_cv_lib_socket_connect=yes
30511 else
30512 echo "$as_me: failed program was:" >&5
30513 sed 's/^/| /' conftest.$ac_ext >&5
30514
30515 ac_cv_lib_socket_connect=no
30516 fi
30517 rm -f conftest.err conftest.$ac_objext \
30518 conftest$ac_exeext conftest.$ac_ext
30519 LIBS=$ac_check_lib_save_LIBS
30520 fi
30521 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30522 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30523 if test $ac_cv_lib_socket_connect = yes; then
30524 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30525 fi
30526
30527 fi
30528
30529 # Guillermo Gomez says -lposix is necessary on A/UX.
30530 echo "$as_me:$LINENO: checking for remove" >&5
30531 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30532 if test "${ac_cv_func_remove+set}" = set; then
30533 echo $ECHO_N "(cached) $ECHO_C" >&6
30534 else
30535 cat >conftest.$ac_ext <<_ACEOF
30536 /* confdefs.h. */
30537 _ACEOF
30538 cat confdefs.h >>conftest.$ac_ext
30539 cat >>conftest.$ac_ext <<_ACEOF
30540 /* end confdefs.h. */
30541 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30543 #define remove innocuous_remove
30544
30545 /* System header to define __stub macros and hopefully few prototypes,
30546 which can conflict with char remove (); below.
30547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30548 <limits.h> exists even on freestanding compilers. */
30549
30550 #ifdef __STDC__
30551 # include <limits.h>
30552 #else
30553 # include <assert.h>
30554 #endif
30555
30556 #undef remove
30557
30558 /* Override any gcc2 internal prototype to avoid an error. */
30559 #ifdef __cplusplus
30560 extern "C"
30561 {
30562 #endif
30563 /* We use char because int might match the return type of a gcc2
30564 builtin and then its argument prototype would still apply. */
30565 char remove ();
30566 /* The GNU C library defines this for functions which it implements
30567 to always fail with ENOSYS. Some functions are actually named
30568 something starting with __ and the normal name is an alias. */
30569 #if defined (__stub_remove) || defined (__stub___remove)
30570 choke me
30571 #else
30572 char (*f) () = remove;
30573 #endif
30574 #ifdef __cplusplus
30575 }
30576 #endif
30577
30578 int
30579 main ()
30580 {
30581 return f != remove;
30582 ;
30583 return 0;
30584 }
30585 _ACEOF
30586 rm -f conftest.$ac_objext conftest$ac_exeext
30587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30588 (eval $ac_link) 2>conftest.er1
30589 ac_status=$?
30590 grep -v '^ *+' conftest.er1 >conftest.err
30591 rm -f conftest.er1
30592 cat conftest.err >&5
30593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30594 (exit $ac_status); } &&
30595 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30597 (eval $ac_try) 2>&5
30598 ac_status=$?
30599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30600 (exit $ac_status); }; } &&
30601 { ac_try='test -s conftest$ac_exeext'
30602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30603 (eval $ac_try) 2>&5
30604 ac_status=$?
30605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30606 (exit $ac_status); }; }; then
30607 ac_cv_func_remove=yes
30608 else
30609 echo "$as_me: failed program was:" >&5
30610 sed 's/^/| /' conftest.$ac_ext >&5
30611
30612 ac_cv_func_remove=no
30613 fi
30614 rm -f conftest.err conftest.$ac_objext \
30615 conftest$ac_exeext conftest.$ac_ext
30616 fi
30617 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30618 echo "${ECHO_T}$ac_cv_func_remove" >&6
30619
30620 if test $ac_cv_func_remove = no; then
30621 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30622 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30623 if test "${ac_cv_lib_posix_remove+set}" = set; then
30624 echo $ECHO_N "(cached) $ECHO_C" >&6
30625 else
30626 ac_check_lib_save_LIBS=$LIBS
30627 LIBS="-lposix $LIBS"
30628 cat >conftest.$ac_ext <<_ACEOF
30629 /* confdefs.h. */
30630 _ACEOF
30631 cat confdefs.h >>conftest.$ac_ext
30632 cat >>conftest.$ac_ext <<_ACEOF
30633 /* end confdefs.h. */
30634
30635 /* Override any gcc2 internal prototype to avoid an error. */
30636 #ifdef __cplusplus
30637 extern "C"
30638 #endif
30639 /* We use char because int might match the return type of a gcc2
30640 builtin and then its argument prototype would still apply. */
30641 char remove ();
30642 int
30643 main ()
30644 {
30645 remove ();
30646 ;
30647 return 0;
30648 }
30649 _ACEOF
30650 rm -f conftest.$ac_objext conftest$ac_exeext
30651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30652 (eval $ac_link) 2>conftest.er1
30653 ac_status=$?
30654 grep -v '^ *+' conftest.er1 >conftest.err
30655 rm -f conftest.er1
30656 cat conftest.err >&5
30657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30658 (exit $ac_status); } &&
30659 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30661 (eval $ac_try) 2>&5
30662 ac_status=$?
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); }; } &&
30665 { ac_try='test -s conftest$ac_exeext'
30666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30667 (eval $ac_try) 2>&5
30668 ac_status=$?
30669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30670 (exit $ac_status); }; }; then
30671 ac_cv_lib_posix_remove=yes
30672 else
30673 echo "$as_me: failed program was:" >&5
30674 sed 's/^/| /' conftest.$ac_ext >&5
30675
30676 ac_cv_lib_posix_remove=no
30677 fi
30678 rm -f conftest.err conftest.$ac_objext \
30679 conftest$ac_exeext conftest.$ac_ext
30680 LIBS=$ac_check_lib_save_LIBS
30681 fi
30682 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30683 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30684 if test $ac_cv_lib_posix_remove = yes; then
30685 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30686 fi
30687
30688 fi
30689
30690 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30691 echo "$as_me:$LINENO: checking for shmat" >&5
30692 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30693 if test "${ac_cv_func_shmat+set}" = set; then
30694 echo $ECHO_N "(cached) $ECHO_C" >&6
30695 else
30696 cat >conftest.$ac_ext <<_ACEOF
30697 /* confdefs.h. */
30698 _ACEOF
30699 cat confdefs.h >>conftest.$ac_ext
30700 cat >>conftest.$ac_ext <<_ACEOF
30701 /* end confdefs.h. */
30702 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30704 #define shmat innocuous_shmat
30705
30706 /* System header to define __stub macros and hopefully few prototypes,
30707 which can conflict with char shmat (); below.
30708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30709 <limits.h> exists even on freestanding compilers. */
30710
30711 #ifdef __STDC__
30712 # include <limits.h>
30713 #else
30714 # include <assert.h>
30715 #endif
30716
30717 #undef shmat
30718
30719 /* Override any gcc2 internal prototype to avoid an error. */
30720 #ifdef __cplusplus
30721 extern "C"
30722 {
30723 #endif
30724 /* We use char because int might match the return type of a gcc2
30725 builtin and then its argument prototype would still apply. */
30726 char shmat ();
30727 /* The GNU C library defines this for functions which it implements
30728 to always fail with ENOSYS. Some functions are actually named
30729 something starting with __ and the normal name is an alias. */
30730 #if defined (__stub_shmat) || defined (__stub___shmat)
30731 choke me
30732 #else
30733 char (*f) () = shmat;
30734 #endif
30735 #ifdef __cplusplus
30736 }
30737 #endif
30738
30739 int
30740 main ()
30741 {
30742 return f != shmat;
30743 ;
30744 return 0;
30745 }
30746 _ACEOF
30747 rm -f conftest.$ac_objext conftest$ac_exeext
30748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30749 (eval $ac_link) 2>conftest.er1
30750 ac_status=$?
30751 grep -v '^ *+' conftest.er1 >conftest.err
30752 rm -f conftest.er1
30753 cat conftest.err >&5
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); } &&
30756 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30758 (eval $ac_try) 2>&5
30759 ac_status=$?
30760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30761 (exit $ac_status); }; } &&
30762 { ac_try='test -s conftest$ac_exeext'
30763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30764 (eval $ac_try) 2>&5
30765 ac_status=$?
30766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767 (exit $ac_status); }; }; then
30768 ac_cv_func_shmat=yes
30769 else
30770 echo "$as_me: failed program was:" >&5
30771 sed 's/^/| /' conftest.$ac_ext >&5
30772
30773 ac_cv_func_shmat=no
30774 fi
30775 rm -f conftest.err conftest.$ac_objext \
30776 conftest$ac_exeext conftest.$ac_ext
30777 fi
30778 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30779 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30780
30781 if test $ac_cv_func_shmat = no; then
30782 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30783 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30784 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30785 echo $ECHO_N "(cached) $ECHO_C" >&6
30786 else
30787 ac_check_lib_save_LIBS=$LIBS
30788 LIBS="-lipc $LIBS"
30789 cat >conftest.$ac_ext <<_ACEOF
30790 /* confdefs.h. */
30791 _ACEOF
30792 cat confdefs.h >>conftest.$ac_ext
30793 cat >>conftest.$ac_ext <<_ACEOF
30794 /* end confdefs.h. */
30795
30796 /* Override any gcc2 internal prototype to avoid an error. */
30797 #ifdef __cplusplus
30798 extern "C"
30799 #endif
30800 /* We use char because int might match the return type of a gcc2
30801 builtin and then its argument prototype would still apply. */
30802 char shmat ();
30803 int
30804 main ()
30805 {
30806 shmat ();
30807 ;
30808 return 0;
30809 }
30810 _ACEOF
30811 rm -f conftest.$ac_objext conftest$ac_exeext
30812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30813 (eval $ac_link) 2>conftest.er1
30814 ac_status=$?
30815 grep -v '^ *+' conftest.er1 >conftest.err
30816 rm -f conftest.er1
30817 cat conftest.err >&5
30818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30819 (exit $ac_status); } &&
30820 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30822 (eval $ac_try) 2>&5
30823 ac_status=$?
30824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30825 (exit $ac_status); }; } &&
30826 { ac_try='test -s conftest$ac_exeext'
30827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30828 (eval $ac_try) 2>&5
30829 ac_status=$?
30830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30831 (exit $ac_status); }; }; then
30832 ac_cv_lib_ipc_shmat=yes
30833 else
30834 echo "$as_me: failed program was:" >&5
30835 sed 's/^/| /' conftest.$ac_ext >&5
30836
30837 ac_cv_lib_ipc_shmat=no
30838 fi
30839 rm -f conftest.err conftest.$ac_objext \
30840 conftest$ac_exeext conftest.$ac_ext
30841 LIBS=$ac_check_lib_save_LIBS
30842 fi
30843 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30844 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30845 if test $ac_cv_lib_ipc_shmat = yes; then
30846 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30847 fi
30848
30849 fi
30850 fi
30851
30852 # Check for libraries that X11R6 Xt/Xaw programs need.
30853 ac_save_LDFLAGS=$LDFLAGS
30854 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30855 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30856 # check for ICE first), but we must link in the order -lSM -lICE or
30857 # we get undefined symbols. So assume we have SM if we have ICE.
30858 # These have to be linked with before -lX11, unlike the other
30859 # libraries we check for below, so use a different variable.
30860 # John Interrante, Karl Berry
30861 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30862 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30863 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30864 echo $ECHO_N "(cached) $ECHO_C" >&6
30865 else
30866 ac_check_lib_save_LIBS=$LIBS
30867 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30868 cat >conftest.$ac_ext <<_ACEOF
30869 /* confdefs.h. */
30870 _ACEOF
30871 cat confdefs.h >>conftest.$ac_ext
30872 cat >>conftest.$ac_ext <<_ACEOF
30873 /* end confdefs.h. */
30874
30875 /* Override any gcc2 internal prototype to avoid an error. */
30876 #ifdef __cplusplus
30877 extern "C"
30878 #endif
30879 /* We use char because int might match the return type of a gcc2
30880 builtin and then its argument prototype would still apply. */
30881 char IceConnectionNumber ();
30882 int
30883 main ()
30884 {
30885 IceConnectionNumber ();
30886 ;
30887 return 0;
30888 }
30889 _ACEOF
30890 rm -f conftest.$ac_objext conftest$ac_exeext
30891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30892 (eval $ac_link) 2>conftest.er1
30893 ac_status=$?
30894 grep -v '^ *+' conftest.er1 >conftest.err
30895 rm -f conftest.er1
30896 cat conftest.err >&5
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); } &&
30899 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30901 (eval $ac_try) 2>&5
30902 ac_status=$?
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); }; } &&
30905 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
30911 ac_cv_lib_ICE_IceConnectionNumber=yes
30912 else
30913 echo "$as_me: failed program was:" >&5
30914 sed 's/^/| /' conftest.$ac_ext >&5
30915
30916 ac_cv_lib_ICE_IceConnectionNumber=no
30917 fi
30918 rm -f conftest.err conftest.$ac_objext \
30919 conftest$ac_exeext conftest.$ac_ext
30920 LIBS=$ac_check_lib_save_LIBS
30921 fi
30922 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30923 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30924 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30925 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30926 fi
30927
30928 LDFLAGS=$ac_save_LDFLAGS
30929
30930 fi
30931
30932
30933 if test "$no_x" = "yes"; then
30934 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30935 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30936 { (exit 1); exit 1; }; }
30937 fi
30938
30939 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30940 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30941 AFMINSTALL=afminstall
30942 COMPILED_X_PROGRAM=0
30943
30944 fi
30945
30946 if test "$wxUSE_X11" = 1; then
30947 if test "$wxUSE_NANOX" = "yes"; then
30948 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30949 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30950 if test "x$MICROWIN" = x ; then
30951 echo "$as_me:$LINENO: result: not found" >&5
30952 echo "${ECHO_T}not found" >&6
30953 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30954 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30955 { (exit 1); exit 1; }; }
30956 else
30957 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30958 echo "${ECHO_T}$MICROWIN" >&6
30959 cat >>confdefs.h <<\_ACEOF
30960 #define wxUSE_NANOX 1
30961 _ACEOF
30962
30963 fi
30964 fi
30965
30966 if test "$wxUSE_UNICODE" = "yes"; then
30967
30968
30969 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30970 if test -n "$ac_tool_prefix"; then
30971 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30972 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30973 echo "$as_me:$LINENO: checking for $ac_word" >&5
30974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30975 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30976 echo $ECHO_N "(cached) $ECHO_C" >&6
30977 else
30978 case $PKG_CONFIG in
30979 [\\/]* | ?:[\\/]*)
30980 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30981 ;;
30982 *)
30983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30984 for as_dir in $PATH
30985 do
30986 IFS=$as_save_IFS
30987 test -z "$as_dir" && as_dir=.
30988 for ac_exec_ext in '' $ac_executable_extensions; do
30989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30990 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30992 break 2
30993 fi
30994 done
30995 done
30996
30997 ;;
30998 esac
30999 fi
31000 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31001
31002 if test -n "$PKG_CONFIG"; then
31003 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31004 echo "${ECHO_T}$PKG_CONFIG" >&6
31005 else
31006 echo "$as_me:$LINENO: result: no" >&5
31007 echo "${ECHO_T}no" >&6
31008 fi
31009
31010 fi
31011 if test -z "$ac_cv_path_PKG_CONFIG"; then
31012 ac_pt_PKG_CONFIG=$PKG_CONFIG
31013 # Extract the first word of "pkg-config", so it can be a program name with args.
31014 set dummy pkg-config; ac_word=$2
31015 echo "$as_me:$LINENO: checking for $ac_word" >&5
31016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31017 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31018 echo $ECHO_N "(cached) $ECHO_C" >&6
31019 else
31020 case $ac_pt_PKG_CONFIG in
31021 [\\/]* | ?:[\\/]*)
31022 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31023 ;;
31024 *)
31025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31026 for as_dir in $PATH
31027 do
31028 IFS=$as_save_IFS
31029 test -z "$as_dir" && as_dir=.
31030 for ac_exec_ext in '' $ac_executable_extensions; do
31031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31032 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31034 break 2
31035 fi
31036 done
31037 done
31038
31039 ;;
31040 esac
31041 fi
31042 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31043
31044 if test -n "$ac_pt_PKG_CONFIG"; then
31045 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31046 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31047 else
31048 echo "$as_me:$LINENO: result: no" >&5
31049 echo "${ECHO_T}no" >&6
31050 fi
31051
31052 PKG_CONFIG=$ac_pt_PKG_CONFIG
31053 else
31054 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31055 fi
31056
31057 fi
31058 if test -n "$PKG_CONFIG"; then
31059 _pkg_min_version=0.9.0
31060 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31061 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31062 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31063 echo "$as_me:$LINENO: result: yes" >&5
31064 echo "${ECHO_T}yes" >&6
31065 else
31066 echo "$as_me:$LINENO: result: no" >&5
31067 echo "${ECHO_T}no" >&6
31068 PKG_CONFIG=""
31069 fi
31070
31071 fi
31072
31073
31074 pkg_failed=no
31075 echo "$as_me:$LINENO: checking for PANGOX" >&5
31076 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31077
31078 if test -n "$PKG_CONFIG"; then
31079 if test -n "$PANGOX_CFLAGS"; then
31080 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31081 else
31082 if test -n "$PKG_CONFIG" && \
31083 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31084 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31085 ac_status=$?
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); }; then
31088 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31089 else
31090 pkg_failed=yes
31091 fi
31092 fi
31093 else
31094 pkg_failed=untried
31095 fi
31096 if test -n "$PKG_CONFIG"; then
31097 if test -n "$PANGOX_LIBS"; then
31098 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31099 else
31100 if test -n "$PKG_CONFIG" && \
31101 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31102 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31103 ac_status=$?
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); }; then
31106 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31107 else
31108 pkg_failed=yes
31109 fi
31110 fi
31111 else
31112 pkg_failed=untried
31113 fi
31114
31115
31116
31117 if test $pkg_failed = yes; then
31118
31119 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31120 _pkg_short_errors_supported=yes
31121 else
31122 _pkg_short_errors_supported=no
31123 fi
31124 if test $_pkg_short_errors_supported = yes; then
31125 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31126 else
31127 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31128 fi
31129 # Put the nasty error message in config.log where it belongs
31130 echo "$PANGOX_PKG_ERRORS" >&5
31131
31132
31133 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31134 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31135 { (exit 1); exit 1; }; }
31136
31137
31138 elif test $pkg_failed = untried; then
31139
31140 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31141 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31142 { (exit 1); exit 1; }; }
31143
31144
31145 else
31146 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31147 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31148 echo "$as_me:$LINENO: result: yes" >&5
31149 echo "${ECHO_T}yes" >&6
31150
31151 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31152 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31153
31154 fi
31155
31156 pkg_failed=no
31157 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31158 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31159
31160 if test -n "$PKG_CONFIG"; then
31161 if test -n "$PANGOFT2_CFLAGS"; then
31162 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31163 else
31164 if test -n "$PKG_CONFIG" && \
31165 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31166 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31167 ac_status=$?
31168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31169 (exit $ac_status); }; then
31170 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31171 else
31172 pkg_failed=yes
31173 fi
31174 fi
31175 else
31176 pkg_failed=untried
31177 fi
31178 if test -n "$PKG_CONFIG"; then
31179 if test -n "$PANGOFT2_LIBS"; then
31180 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31181 else
31182 if test -n "$PKG_CONFIG" && \
31183 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31184 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31185 ac_status=$?
31186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31187 (exit $ac_status); }; then
31188 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31189 else
31190 pkg_failed=yes
31191 fi
31192 fi
31193 else
31194 pkg_failed=untried
31195 fi
31196
31197
31198
31199 if test $pkg_failed = yes; then
31200
31201 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31202 _pkg_short_errors_supported=yes
31203 else
31204 _pkg_short_errors_supported=no
31205 fi
31206 if test $_pkg_short_errors_supported = yes; then
31207 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31208 else
31209 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31210 fi
31211 # Put the nasty error message in config.log where it belongs
31212 echo "$PANGOFT2_PKG_ERRORS" >&5
31213
31214
31215 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31216 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31217 wxUSE_PRINTING_ARCHITECTURE="no"
31218
31219
31220 elif test $pkg_failed = untried; then
31221
31222 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31223 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31224 wxUSE_PRINTING_ARCHITECTURE="no"
31225
31226
31227 else
31228 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31229 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31230 echo "$as_me:$LINENO: result: yes" >&5
31231 echo "${ECHO_T}yes" >&6
31232
31233 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31234 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31235
31236 fi
31237
31238 pkg_failed=no
31239 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31240 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31241
31242 if test -n "$PKG_CONFIG"; then
31243 if test -n "$PANGOXFT_CFLAGS"; then
31244 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31245 else
31246 if test -n "$PKG_CONFIG" && \
31247 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31248 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31249 ac_status=$?
31250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31251 (exit $ac_status); }; then
31252 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31253 else
31254 pkg_failed=yes
31255 fi
31256 fi
31257 else
31258 pkg_failed=untried
31259 fi
31260 if test -n "$PKG_CONFIG"; then
31261 if test -n "$PANGOXFT_LIBS"; then
31262 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31263 else
31264 if test -n "$PKG_CONFIG" && \
31265 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31266 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31267 ac_status=$?
31268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31269 (exit $ac_status); }; then
31270 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31271 else
31272 pkg_failed=yes
31273 fi
31274 fi
31275 else
31276 pkg_failed=untried
31277 fi
31278
31279
31280
31281 if test $pkg_failed = yes; then
31282
31283 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31284 _pkg_short_errors_supported=yes
31285 else
31286 _pkg_short_errors_supported=no
31287 fi
31288 if test $_pkg_short_errors_supported = yes; then
31289 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31290 else
31291 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31292 fi
31293 # Put the nasty error message in config.log where it belongs
31294 echo "$PANGOXFT_PKG_ERRORS" >&5
31295
31296
31297 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31298 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31299
31300
31301 elif test $pkg_failed = untried; then
31302
31303 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31304 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31305
31306
31307 else
31308 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31309 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31310 echo "$as_me:$LINENO: result: yes" >&5
31311 echo "${ECHO_T}yes" >&6
31312
31313 cat >>confdefs.h <<\_ACEOF
31314 #define HAVE_PANGO_XFT 1
31315 _ACEOF
31316
31317 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31318 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31319
31320 fi
31321 save_CXXFLAGS="$CXXFLAGS"
31322 save_LIBS="$LIBS"
31323 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31324 LIBS="$LIBS $PANGOX_LIBS"
31325
31326 for ac_func in pango_font_family_is_monospace
31327 do
31328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31329 echo "$as_me:$LINENO: checking for $ac_func" >&5
31330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31331 if eval "test \"\${$as_ac_var+set}\" = set"; then
31332 echo $ECHO_N "(cached) $ECHO_C" >&6
31333 else
31334 cat >conftest.$ac_ext <<_ACEOF
31335 /* confdefs.h. */
31336 _ACEOF
31337 cat confdefs.h >>conftest.$ac_ext
31338 cat >>conftest.$ac_ext <<_ACEOF
31339 /* end confdefs.h. */
31340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31342 #define $ac_func innocuous_$ac_func
31343
31344 /* System header to define __stub macros and hopefully few prototypes,
31345 which can conflict with char $ac_func (); below.
31346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31347 <limits.h> exists even on freestanding compilers. */
31348
31349 #ifdef __STDC__
31350 # include <limits.h>
31351 #else
31352 # include <assert.h>
31353 #endif
31354
31355 #undef $ac_func
31356
31357 /* Override any gcc2 internal prototype to avoid an error. */
31358 #ifdef __cplusplus
31359 extern "C"
31360 {
31361 #endif
31362 /* We use char because int might match the return type of a gcc2
31363 builtin and then its argument prototype would still apply. */
31364 char $ac_func ();
31365 /* The GNU C library defines this for functions which it implements
31366 to always fail with ENOSYS. Some functions are actually named
31367 something starting with __ and the normal name is an alias. */
31368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31369 choke me
31370 #else
31371 char (*f) () = $ac_func;
31372 #endif
31373 #ifdef __cplusplus
31374 }
31375 #endif
31376
31377 int
31378 main ()
31379 {
31380 return f != $ac_func;
31381 ;
31382 return 0;
31383 }
31384 _ACEOF
31385 rm -f conftest.$ac_objext conftest$ac_exeext
31386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31387 (eval $ac_link) 2>conftest.er1
31388 ac_status=$?
31389 grep -v '^ *+' conftest.er1 >conftest.err
31390 rm -f conftest.er1
31391 cat conftest.err >&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); } &&
31394 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31396 (eval $ac_try) 2>&5
31397 ac_status=$?
31398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31399 (exit $ac_status); }; } &&
31400 { ac_try='test -s conftest$ac_exeext'
31401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31402 (eval $ac_try) 2>&5
31403 ac_status=$?
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); }; }; then
31406 eval "$as_ac_var=yes"
31407 else
31408 echo "$as_me: failed program was:" >&5
31409 sed 's/^/| /' conftest.$ac_ext >&5
31410
31411 eval "$as_ac_var=no"
31412 fi
31413 rm -f conftest.err conftest.$ac_objext \
31414 conftest$ac_exeext conftest.$ac_ext
31415 fi
31416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31418 if test `eval echo '${'$as_ac_var'}'` = yes; then
31419 cat >>confdefs.h <<_ACEOF
31420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31421 _ACEOF
31422
31423 fi
31424 done
31425
31426 CXXFLAGS="$save_CXXFLAGS"
31427 LIBS="$save_LIBS"
31428 fi
31429
31430 wxUSE_UNIVERSAL="yes"
31431
31432 if test "$wxUSE_NANOX" = "yes"; then
31433 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31434 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"
31435 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31436 else
31437 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31438 fi
31439
31440 TOOLKIT=X11
31441 GUIDIST=X11_DIST
31442 fi
31443
31444 if test "$wxUSE_MOTIF" = 1; then
31445 if test "$wxUSE_UNICODE" = "yes"; then
31446 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31447 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31448 { (exit 1); exit 1; }; }
31449 fi
31450
31451 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31452 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31453
31454 ac_find_includes=
31455 for ac_dir in $SEARCH_INCLUDE /usr/include;
31456 do
31457 if test -f "$ac_dir/Xm/Xm.h"; then
31458 ac_find_includes=$ac_dir
31459 break
31460 fi
31461 done
31462
31463 if test "$ac_find_includes" != "" ; then
31464 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31465 echo "${ECHO_T}found in $ac_find_includes" >&6
31466
31467 if test "x$ac_find_includes" = "x/usr/include"; then
31468 ac_path_to_include=""
31469 else
31470 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31471 result=$?
31472 if test $result = 0; then
31473 ac_path_to_include=""
31474 else
31475 ac_path_to_include=" -I$ac_find_includes"
31476 fi
31477 fi
31478
31479 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31480 else
31481 save_CXXFLAGS=$CXXFLAGS
31482 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31483
31484 cat >conftest.$ac_ext <<_ACEOF
31485 /* confdefs.h. */
31486 _ACEOF
31487 cat confdefs.h >>conftest.$ac_ext
31488 cat >>conftest.$ac_ext <<_ACEOF
31489 /* end confdefs.h. */
31490
31491 #include <Xm/Xm.h>
31492
31493 int
31494 main ()
31495 {
31496
31497 int version;
31498 version = xmUseVersion;
31499
31500 ;
31501 return 0;
31502 }
31503 _ACEOF
31504 rm -f conftest.$ac_objext
31505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31506 (eval $ac_compile) 2>conftest.er1
31507 ac_status=$?
31508 grep -v '^ *+' conftest.er1 >conftest.err
31509 rm -f conftest.er1
31510 cat conftest.err >&5
31511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31512 (exit $ac_status); } &&
31513 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31515 (eval $ac_try) 2>&5
31516 ac_status=$?
31517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31518 (exit $ac_status); }; } &&
31519 { ac_try='test -s conftest.$ac_objext'
31520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31521 (eval $ac_try) 2>&5
31522 ac_status=$?
31523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31524 (exit $ac_status); }; }; then
31525
31526 echo "$as_me:$LINENO: result: found in default search path" >&5
31527 echo "${ECHO_T}found in default search path" >&6
31528 COMPILED_X_PROGRAM=1
31529
31530 else
31531 echo "$as_me: failed program was:" >&5
31532 sed 's/^/| /' conftest.$ac_ext >&5
31533
31534
31535 echo "$as_me:$LINENO: result: no" >&5
31536 echo "${ECHO_T}no" >&6
31537 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31538 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31539 { (exit 1); exit 1; }; }
31540
31541
31542 fi
31543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31544
31545 CXXFLAGS=$save_CXXFLAGS
31546 fi
31547
31548
31549 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31550 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31551
31552 ac_find_libraries=
31553 for ac_dir in $SEARCH_LIB;
31554 do
31555 for ac_extension in a so sl dylib dll.a; do
31556 if test -f "$ac_dir/libXm.$ac_extension"; then
31557 ac_find_libraries=$ac_dir
31558 break 2
31559 fi
31560 done
31561 done
31562
31563
31564 if test "x$ac_find_libraries" != "x" ; then
31565 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31566 echo "${ECHO_T}found in $ac_find_libraries" >&6
31567
31568
31569 if test "$ac_find_libraries" = "default location"; then
31570 ac_path_to_link=""
31571 else
31572 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31573 result=$?
31574 if test $result = 0; then
31575 ac_path_to_link=""
31576 else
31577 ac_path_to_link=" -L$ac_find_libraries"
31578 fi
31579 fi
31580
31581 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31582 else
31583 save_CXXFLAGS=$CXXFLAGS
31584 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31585 save_LIBS="$LIBS"
31586 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31587
31588 cat >conftest.$ac_ext <<_ACEOF
31589 /* confdefs.h. */
31590 _ACEOF
31591 cat confdefs.h >>conftest.$ac_ext
31592 cat >>conftest.$ac_ext <<_ACEOF
31593 /* end confdefs.h. */
31594
31595 #include <Xm/Xm.h>
31596
31597 int
31598 main ()
31599 {
31600
31601 int version;
31602 version = xmUseVersion;
31603
31604 ;
31605 return 0;
31606 }
31607 _ACEOF
31608 rm -f conftest.$ac_objext conftest$ac_exeext
31609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31610 (eval $ac_link) 2>conftest.er1
31611 ac_status=$?
31612 grep -v '^ *+' conftest.er1 >conftest.err
31613 rm -f conftest.er1
31614 cat conftest.err >&5
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); } &&
31617 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31619 (eval $ac_try) 2>&5
31620 ac_status=$?
31621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622 (exit $ac_status); }; } &&
31623 { ac_try='test -s conftest$ac_exeext'
31624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31625 (eval $ac_try) 2>&5
31626 ac_status=$?
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); }; }; then
31629
31630 echo "$as_me:$LINENO: result: found in default search path" >&5
31631 echo "${ECHO_T}found in default search path" >&6
31632 COMPILED_X_PROGRAM=1
31633
31634 else
31635 echo "$as_me: failed program was:" >&5
31636 sed 's/^/| /' conftest.$ac_ext >&5
31637
31638
31639 echo "$as_me:$LINENO: result: no" >&5
31640 echo "${ECHO_T}no" >&6
31641 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31642 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31643 { (exit 1); exit 1; }; }
31644
31645
31646 fi
31647 rm -f conftest.err conftest.$ac_objext \
31648 conftest$ac_exeext conftest.$ac_ext
31649
31650 CXXFLAGS=$save_CXXFLAGS
31651 LIBS="$save_LIBS"
31652 fi
31653
31654 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31655 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31656 libp_link=""
31657 libsm_ice_link=""
31658 libs_found=0
31659 for libp in "" " -lXp"; do
31660 if test "$libs_found" = "0"; then
31661 for libsm_ice in "" " -lSM -lICE"; do
31662 if test "$libs_found" = "0"; then
31663 save_LIBS="$LIBS"
31664 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31665 save_CXXFLAGS=$CXXFLAGS
31666 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31667
31668 cat >conftest.$ac_ext <<_ACEOF
31669 /* confdefs.h. */
31670 _ACEOF
31671 cat confdefs.h >>conftest.$ac_ext
31672 cat >>conftest.$ac_ext <<_ACEOF
31673 /* end confdefs.h. */
31674
31675 #include <Xm/Xm.h>
31676 #include <Xm/List.h>
31677
31678 int
31679 main ()
31680 {
31681
31682 XmString string = NULL;
31683 Widget w = NULL;
31684 int position = 0;
31685 XmListAddItem(w, string, position);
31686
31687 ;
31688 return 0;
31689 }
31690 _ACEOF
31691 rm -f conftest.$ac_objext conftest$ac_exeext
31692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31693 (eval $ac_link) 2>conftest.er1
31694 ac_status=$?
31695 grep -v '^ *+' conftest.er1 >conftest.err
31696 rm -f conftest.er1
31697 cat conftest.err >&5
31698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31699 (exit $ac_status); } &&
31700 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31702 (eval $ac_try) 2>&5
31703 ac_status=$?
31704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31705 (exit $ac_status); }; } &&
31706 { ac_try='test -s conftest$ac_exeext'
31707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31708 (eval $ac_try) 2>&5
31709 ac_status=$?
31710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31711 (exit $ac_status); }; }; then
31712
31713 libp_link="$libp"
31714 libsm_ice_link="$libsm_ice"
31715 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31716 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31717 libs_found=1
31718
31719 else
31720 echo "$as_me: failed program was:" >&5
31721 sed 's/^/| /' conftest.$ac_ext >&5
31722
31723
31724
31725 fi
31726 rm -f conftest.err conftest.$ac_objext \
31727 conftest$ac_exeext conftest.$ac_ext
31728
31729 LIBS="$save_LIBS"
31730 CXXFLAGS=$save_CXXFLAGS
31731 fi
31732 done
31733 fi
31734 done
31735
31736 if test "$libs_found" = "0"; then
31737 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31738 echo "${ECHO_T}can't find the right libraries" >&6
31739 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31740 echo "$as_me: error: can't link a simple motif program" >&2;}
31741 { (exit 1); exit 1; }; }
31742 fi
31743
31744 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31745 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31746 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31747 echo $ECHO_N "(cached) $ECHO_C" >&6
31748 else
31749 ac_check_lib_save_LIBS=$LIBS
31750 LIBS="-lSgm $LIBS"
31751 cat >conftest.$ac_ext <<_ACEOF
31752 /* confdefs.h. */
31753 _ACEOF
31754 cat confdefs.h >>conftest.$ac_ext
31755 cat >>conftest.$ac_ext <<_ACEOF
31756 /* end confdefs.h. */
31757
31758 /* Override any gcc2 internal prototype to avoid an error. */
31759 #ifdef __cplusplus
31760 extern "C"
31761 #endif
31762 /* We use char because int might match the return type of a gcc2
31763 builtin and then its argument prototype would still apply. */
31764 char SgCreateList ();
31765 int
31766 main ()
31767 {
31768 SgCreateList ();
31769 ;
31770 return 0;
31771 }
31772 _ACEOF
31773 rm -f conftest.$ac_objext conftest$ac_exeext
31774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31775 (eval $ac_link) 2>conftest.er1
31776 ac_status=$?
31777 grep -v '^ *+' conftest.er1 >conftest.err
31778 rm -f conftest.er1
31779 cat conftest.err >&5
31780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31781 (exit $ac_status); } &&
31782 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31784 (eval $ac_try) 2>&5
31785 ac_status=$?
31786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31787 (exit $ac_status); }; } &&
31788 { ac_try='test -s conftest$ac_exeext'
31789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31790 (eval $ac_try) 2>&5
31791 ac_status=$?
31792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31793 (exit $ac_status); }; }; then
31794 ac_cv_lib_Sgm_SgCreateList=yes
31795 else
31796 echo "$as_me: failed program was:" >&5
31797 sed 's/^/| /' conftest.$ac_ext >&5
31798
31799 ac_cv_lib_Sgm_SgCreateList=no
31800 fi
31801 rm -f conftest.err conftest.$ac_objext \
31802 conftest$ac_exeext conftest.$ac_ext
31803 LIBS=$ac_check_lib_save_LIBS
31804 fi
31805 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31806 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31807 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31808 libsgm_link=" -lSgm"
31809 fi
31810
31811
31812 save_CXXFLAGS=$CXXFLAGS
31813 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31814
31815 echo "$as_me:$LINENO: checking for Motif 2" >&5
31816 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31817 if test "${wx_cv_lib_motif2+set}" = set; then
31818 echo $ECHO_N "(cached) $ECHO_C" >&6
31819 else
31820 cat >conftest.$ac_ext <<_ACEOF
31821 /* confdefs.h. */
31822 _ACEOF
31823 cat confdefs.h >>conftest.$ac_ext
31824 cat >>conftest.$ac_ext <<_ACEOF
31825 /* end confdefs.h. */
31826
31827 #include <Xm/Xm.h>
31828
31829 int
31830 main ()
31831 {
31832
31833 #if XmVersion < 2000
31834 Not Motif 2
31835 #endif
31836
31837 ;
31838 return 0;
31839 }
31840 _ACEOF
31841 rm -f conftest.$ac_objext
31842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31843 (eval $ac_compile) 2>conftest.er1
31844 ac_status=$?
31845 grep -v '^ *+' conftest.er1 >conftest.err
31846 rm -f conftest.er1
31847 cat conftest.err >&5
31848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31849 (exit $ac_status); } &&
31850 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31852 (eval $ac_try) 2>&5
31853 ac_status=$?
31854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31855 (exit $ac_status); }; } &&
31856 { ac_try='test -s conftest.$ac_objext'
31857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31858 (eval $ac_try) 2>&5
31859 ac_status=$?
31860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31861 (exit $ac_status); }; }; then
31862 wx_cv_lib_motif2="yes"
31863 else
31864 echo "$as_me: failed program was:" >&5
31865 sed 's/^/| /' conftest.$ac_ext >&5
31866
31867 wx_cv_lib_motif2="no"
31868 fi
31869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31870 fi
31871 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31872 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31873 if test "$wx_cv_lib_motif2" = "yes"; then
31874 cat >>confdefs.h <<\_ACEOF
31875 #define __WXMOTIF20__ 1
31876 _ACEOF
31877
31878 else
31879 cat >>confdefs.h <<\_ACEOF
31880 #define __WXMOTIF20__ 0
31881 _ACEOF
31882
31883 fi
31884
31885 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31886 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31887 if test "${wx_cv_lib_lesstif+set}" = set; then
31888 echo $ECHO_N "(cached) $ECHO_C" >&6
31889 else
31890 cat >conftest.$ac_ext <<_ACEOF
31891 /* confdefs.h. */
31892 _ACEOF
31893 cat confdefs.h >>conftest.$ac_ext
31894 cat >>conftest.$ac_ext <<_ACEOF
31895 /* end confdefs.h. */
31896
31897 #include <Xm/Xm.h>
31898
31899 int
31900 main ()
31901 {
31902
31903 #if !defined(LesstifVersion) || LesstifVersion <= 0
31904 Not Lesstif
31905 #endif
31906
31907 ;
31908 return 0;
31909 }
31910 _ACEOF
31911 rm -f conftest.$ac_objext
31912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31913 (eval $ac_compile) 2>conftest.er1
31914 ac_status=$?
31915 grep -v '^ *+' conftest.er1 >conftest.err
31916 rm -f conftest.er1
31917 cat conftest.err >&5
31918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31919 (exit $ac_status); } &&
31920 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31922 (eval $ac_try) 2>&5
31923 ac_status=$?
31924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31925 (exit $ac_status); }; } &&
31926 { ac_try='test -s conftest.$ac_objext'
31927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31928 (eval $ac_try) 2>&5
31929 ac_status=$?
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); }; }; then
31932 wx_cv_lib_lesstif="yes"
31933 else
31934 echo "$as_me: failed program was:" >&5
31935 sed 's/^/| /' conftest.$ac_ext >&5
31936
31937 wx_cv_lib_lesstif="no"
31938 fi
31939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31940
31941 fi
31942 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31943 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31944 if test "$wx_cv_lib_lesstif" = "yes"; then
31945 cat >>confdefs.h <<\_ACEOF
31946 #define __WXLESSTIF__ 1
31947 _ACEOF
31948
31949 else
31950 cat >>confdefs.h <<\_ACEOF
31951 #define __WXLESSTIF__ 0
31952 _ACEOF
31953
31954 fi
31955
31956 CXXFLAGS=$save_CXXFLAGS
31957
31958 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31959 TOOLKIT=MOTIF
31960 GUIDIST=MOTIF_DIST
31961 fi
31962
31963 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31964 if test "$wxUSE_LIBXPM" = "sys"; then
31965 echo "$as_me:$LINENO: checking for Xpm library" >&5
31966 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31967
31968 ac_find_libraries=
31969 for ac_dir in $SEARCH_LIB;
31970 do
31971 for ac_extension in a so sl dylib dll.a; do
31972 if test -f "$ac_dir/libXpm.$ac_extension"; then
31973 ac_find_libraries=$ac_dir
31974 break 2
31975 fi
31976 done
31977 done
31978
31979 if test "$ac_find_libraries" != "" ; then
31980
31981 if test "$ac_find_libraries" = "default location"; then
31982 ac_path_to_link=""
31983 else
31984 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31985 result=$?
31986 if test $result = 0; then
31987 ac_path_to_link=""
31988 else
31989 ac_path_to_link=" -L$ac_find_libraries"
31990 fi
31991 fi
31992
31993 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31994 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31995 echo "${ECHO_T}found in $ac_find_libraries" >&6
31996
31997 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31998 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31999 if test "${wx_cv_x11_xpm_h+set}" = set; then
32000 echo $ECHO_N "(cached) $ECHO_C" >&6
32001 else
32002
32003 save_CXXFLAGS=$CXXFLAGS
32004 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32005
32006 cat >conftest.$ac_ext <<_ACEOF
32007 /* confdefs.h. */
32008 _ACEOF
32009 cat confdefs.h >>conftest.$ac_ext
32010 cat >>conftest.$ac_ext <<_ACEOF
32011 /* end confdefs.h. */
32012
32013 #include <X11/xpm.h>
32014
32015 int
32016 main ()
32017 {
32018
32019 int version;
32020 version = XpmLibraryVersion();
32021
32022 ;
32023 return 0;
32024 }
32025 _ACEOF
32026 rm -f conftest.$ac_objext
32027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32028 (eval $ac_compile) 2>conftest.er1
32029 ac_status=$?
32030 grep -v '^ *+' conftest.er1 >conftest.err
32031 rm -f conftest.er1
32032 cat conftest.err >&5
32033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32034 (exit $ac_status); } &&
32035 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32037 (eval $ac_try) 2>&5
32038 ac_status=$?
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); }; } &&
32041 { ac_try='test -s conftest.$ac_objext'
32042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32043 (eval $ac_try) 2>&5
32044 ac_status=$?
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); }; }; then
32047 wx_cv_x11_xpm_h=yes
32048 else
32049 echo "$as_me: failed program was:" >&5
32050 sed 's/^/| /' conftest.$ac_ext >&5
32051
32052 wx_cv_x11_xpm_h=no
32053
32054 fi
32055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32056
32057 CXXFLAGS=$save_CXXFLAGS
32058
32059
32060 fi
32061 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32062 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32063
32064 if test $wx_cv_x11_xpm_h = "yes"; then
32065 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32066 cat >>confdefs.h <<\_ACEOF
32067 #define wxHAVE_LIB_XPM 1
32068 _ACEOF
32069
32070 else
32071 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32072 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32073 fi
32074 fi
32075
32076 fi
32077
32078 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32079 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32080 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32081 echo $ECHO_N "(cached) $ECHO_C" >&6
32082 else
32083 ac_check_lib_save_LIBS=$LIBS
32084 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32085 cat >conftest.$ac_ext <<_ACEOF
32086 /* confdefs.h. */
32087 _ACEOF
32088 cat confdefs.h >>conftest.$ac_ext
32089 cat >>conftest.$ac_ext <<_ACEOF
32090 /* end confdefs.h. */
32091
32092 /* Override any gcc2 internal prototype to avoid an error. */
32093 #ifdef __cplusplus
32094 extern "C"
32095 #endif
32096 /* We use char because int might match the return type of a gcc2
32097 builtin and then its argument prototype would still apply. */
32098 char XShapeQueryExtension ();
32099 int
32100 main ()
32101 {
32102 XShapeQueryExtension ();
32103 ;
32104 return 0;
32105 }
32106 _ACEOF
32107 rm -f conftest.$ac_objext conftest$ac_exeext
32108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32109 (eval $ac_link) 2>conftest.er1
32110 ac_status=$?
32111 grep -v '^ *+' conftest.er1 >conftest.err
32112 rm -f conftest.er1
32113 cat conftest.err >&5
32114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32115 (exit $ac_status); } &&
32116 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32118 (eval $ac_try) 2>&5
32119 ac_status=$?
32120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32121 (exit $ac_status); }; } &&
32122 { ac_try='test -s conftest$ac_exeext'
32123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32124 (eval $ac_try) 2>&5
32125 ac_status=$?
32126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32127 (exit $ac_status); }; }; then
32128 ac_cv_lib_Xext_XShapeQueryExtension=yes
32129 else
32130 echo "$as_me: failed program was:" >&5
32131 sed 's/^/| /' conftest.$ac_ext >&5
32132
32133 ac_cv_lib_Xext_XShapeQueryExtension=no
32134 fi
32135 rm -f conftest.err conftest.$ac_objext \
32136 conftest$ac_exeext conftest.$ac_ext
32137 LIBS=$ac_check_lib_save_LIBS
32138 fi
32139 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32140 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32141 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32142
32143 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32144 wxHAVE_XEXT_LIB=1
32145
32146 fi
32147
32148
32149 if test "$wxHAVE_XEXT_LIB" = 1; then
32150 save_CXXFLAGS="$CXXFLAGS"
32151 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32152
32153 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32154 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32155 cat >conftest.$ac_ext <<_ACEOF
32156 /* confdefs.h. */
32157 _ACEOF
32158 cat confdefs.h >>conftest.$ac_ext
32159 cat >>conftest.$ac_ext <<_ACEOF
32160 /* end confdefs.h. */
32161
32162 #include <X11/Xlib.h>
32163 #include <X11/extensions/shape.h>
32164
32165 int
32166 main ()
32167 {
32168
32169 int dummy1, dummy2;
32170 XShapeQueryExtension((Display*)NULL,
32171 (int*)NULL, (int*)NULL);
32172
32173 ;
32174 return 0;
32175 }
32176 _ACEOF
32177 rm -f conftest.$ac_objext
32178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32179 (eval $ac_compile) 2>conftest.er1
32180 ac_status=$?
32181 grep -v '^ *+' conftest.er1 >conftest.err
32182 rm -f conftest.er1
32183 cat conftest.err >&5
32184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32185 (exit $ac_status); } &&
32186 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32188 (eval $ac_try) 2>&5
32189 ac_status=$?
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 (exit $ac_status); }; } &&
32192 { ac_try='test -s conftest.$ac_objext'
32193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32194 (eval $ac_try) 2>&5
32195 ac_status=$?
32196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32197 (exit $ac_status); }; }; then
32198
32199 cat >>confdefs.h <<\_ACEOF
32200 #define HAVE_XSHAPE 1
32201 _ACEOF
32202
32203 echo "$as_me:$LINENO: result: found" >&5
32204 echo "${ECHO_T}found" >&6
32205
32206 else
32207 echo "$as_me: failed program was:" >&5
32208 sed 's/^/| /' conftest.$ac_ext >&5
32209
32210
32211 echo "$as_me:$LINENO: result: not found" >&5
32212 echo "${ECHO_T}not found" >&6
32213
32214 fi
32215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32216 CXXFLAGS="$save_CXXFLAGS"
32217
32218 fi
32219 fi
32220
32221 if test "$wxUSE_MAC" = 1; then
32222 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32223 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32224 if test "$GCC" = yes; then
32225 echo "$as_me:$LINENO: result: gcc" >&5
32226 echo "${ECHO_T}gcc" >&6
32227 CPPFLAGS_PASCAL="-fpascal-strings"
32228 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32229 echo "$as_me:$LINENO: result: xlc" >&5
32230 echo "${ECHO_T}xlc" >&6
32231 CPPFLAGS_PASCAL="-qmacpstr"
32232 else
32233 echo "$as_me:$LINENO: result: none" >&5
32234 echo "${ECHO_T}none" >&6
32235 fi
32236
32237 if test "x$wxUSE_UNIX" = "xyes"; then
32238 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32239 else
32240 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32241 fi
32242
32243 TOOLKIT=MAC
32244 GUIDIST=MACX_DIST
32245 WXBASEPORT="_carbon"
32246 fi
32247
32248 if test "$wxUSE_COCOA" = 1; then
32249 TOOLKIT=COCOA
32250 GUIDIST=COCOA_DIST
32251 fi
32252
32253 if test "$wxUSE_PM" = 1; then
32254 TOOLKIT=PM
32255 GUIDIST=PM_DIST
32256 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32257 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32258 if test "${wx_cv_spbcdata+set}" = set; then
32259 echo $ECHO_N "(cached) $ECHO_C" >&6
32260 else
32261
32262 cat >conftest.$ac_ext <<_ACEOF
32263 /* confdefs.h. */
32264 _ACEOF
32265 cat confdefs.h >>conftest.$ac_ext
32266 cat >>conftest.$ac_ext <<_ACEOF
32267 /* end confdefs.h. */
32268
32269 #define INCL_PM
32270 #include <os2.h>
32271
32272 int
32273 main ()
32274 {
32275
32276 SPBCDATA test;
32277
32278 ;
32279 return 0;
32280 }
32281 _ACEOF
32282 rm -f conftest.$ac_objext
32283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32284 (eval $ac_compile) 2>conftest.er1
32285 ac_status=$?
32286 grep -v '^ *+' conftest.er1 >conftest.err
32287 rm -f conftest.er1
32288 cat conftest.err >&5
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); } &&
32291 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32293 (eval $ac_try) 2>&5
32294 ac_status=$?
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); }; } &&
32297 { ac_try='test -s conftest.$ac_objext'
32298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32299 (eval $ac_try) 2>&5
32300 ac_status=$?
32301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32302 (exit $ac_status); }; }; then
32303 wx_cv_spbcdata=yes
32304 else
32305 echo "$as_me: failed program was:" >&5
32306 sed 's/^/| /' conftest.$ac_ext >&5
32307
32308 wx_cv_spbcdata=no
32309
32310 fi
32311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32312
32313
32314 fi
32315 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32316 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32317
32318 if test $wx_cv_spbcdata = "yes"; then
32319 cat >>confdefs.h <<\_ACEOF
32320 #define HAVE_SPBCDATA 1
32321 _ACEOF
32322
32323 fi
32324 fi
32325
32326 if test "$TOOLKIT" = "PM" ; then
32327 TOOLKIT_DIR="os2"
32328 else
32329 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32330 fi
32331
32332 if test "$wxUSE_UNIVERSAL" = "yes"; then
32333 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32334 WIDGET_SET=univ
32335 fi
32336
32337 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32338 DISTDIR="wx\$(TOOLKIT)"
32339 else
32340 USE_GUI=0
32341
32342 TOOLKIT_DIR="base"
32343
32344 if test "$USE_WIN32" = 1 ; then
32345 TOOLKIT="MSW"
32346 fi
32347
32348 GUIDIST="BASE_DIST"
32349 DISTDIR="wxBase"
32350 fi
32351
32352
32353 if test "$wxUSE_GUI" = "yes"; then
32354 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32355
32356 for ac_header in X11/Xlib.h
32357 do
32358 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32360 echo "$as_me:$LINENO: checking for $ac_header" >&5
32361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32364 fi
32365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32366 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32367 else
32368 # Is the header compilable?
32369 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32370 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32371 cat >conftest.$ac_ext <<_ACEOF
32372 /* confdefs.h. */
32373 _ACEOF
32374 cat confdefs.h >>conftest.$ac_ext
32375 cat >>conftest.$ac_ext <<_ACEOF
32376 /* end confdefs.h. */
32377 $ac_includes_default
32378 #include <$ac_header>
32379 _ACEOF
32380 rm -f conftest.$ac_objext
32381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32382 (eval $ac_compile) 2>conftest.er1
32383 ac_status=$?
32384 grep -v '^ *+' conftest.er1 >conftest.err
32385 rm -f conftest.er1
32386 cat conftest.err >&5
32387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32388 (exit $ac_status); } &&
32389 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32391 (eval $ac_try) 2>&5
32392 ac_status=$?
32393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32394 (exit $ac_status); }; } &&
32395 { ac_try='test -s conftest.$ac_objext'
32396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32397 (eval $ac_try) 2>&5
32398 ac_status=$?
32399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32400 (exit $ac_status); }; }; then
32401 ac_header_compiler=yes
32402 else
32403 echo "$as_me: failed program was:" >&5
32404 sed 's/^/| /' conftest.$ac_ext >&5
32405
32406 ac_header_compiler=no
32407 fi
32408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32409 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32410 echo "${ECHO_T}$ac_header_compiler" >&6
32411
32412 # Is the header present?
32413 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32414 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32415 cat >conftest.$ac_ext <<_ACEOF
32416 /* confdefs.h. */
32417 _ACEOF
32418 cat confdefs.h >>conftest.$ac_ext
32419 cat >>conftest.$ac_ext <<_ACEOF
32420 /* end confdefs.h. */
32421 #include <$ac_header>
32422 _ACEOF
32423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32424 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32425 ac_status=$?
32426 grep -v '^ *+' conftest.er1 >conftest.err
32427 rm -f conftest.er1
32428 cat conftest.err >&5
32429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32430 (exit $ac_status); } >/dev/null; then
32431 if test -s conftest.err; then
32432 ac_cpp_err=$ac_cxx_preproc_warn_flag
32433 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32434 else
32435 ac_cpp_err=
32436 fi
32437 else
32438 ac_cpp_err=yes
32439 fi
32440 if test -z "$ac_cpp_err"; then
32441 ac_header_preproc=yes
32442 else
32443 echo "$as_me: failed program was:" >&5
32444 sed 's/^/| /' conftest.$ac_ext >&5
32445
32446 ac_header_preproc=no
32447 fi
32448 rm -f conftest.err conftest.$ac_ext
32449 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32450 echo "${ECHO_T}$ac_header_preproc" >&6
32451
32452 # So? What about this header?
32453 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32454 yes:no: )
32455 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32456 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32457 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32458 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32459 ac_header_preproc=yes
32460 ;;
32461 no:yes:* )
32462 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32463 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32464 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32465 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32466 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32467 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32468 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32469 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32472 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32473 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32474 (
32475 cat <<\_ASBOX
32476 ## ----------------------------------------- ##
32477 ## Report this to wx-dev@lists.wxwidgets.org ##
32478 ## ----------------------------------------- ##
32479 _ASBOX
32480 ) |
32481 sed "s/^/$as_me: WARNING: /" >&2
32482 ;;
32483 esac
32484 echo "$as_me:$LINENO: checking for $ac_header" >&5
32485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32487 echo $ECHO_N "(cached) $ECHO_C" >&6
32488 else
32489 eval "$as_ac_Header=\$ac_header_preproc"
32490 fi
32491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32493
32494 fi
32495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32496 cat >>confdefs.h <<_ACEOF
32497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32498 _ACEOF
32499
32500 fi
32501
32502 done
32503
32504
32505 for ac_header in X11/XKBlib.h
32506 do
32507 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32508 echo "$as_me:$LINENO: checking for $ac_header" >&5
32509 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32511 echo $ECHO_N "(cached) $ECHO_C" >&6
32512 else
32513 cat >conftest.$ac_ext <<_ACEOF
32514 /* confdefs.h. */
32515 _ACEOF
32516 cat confdefs.h >>conftest.$ac_ext
32517 cat >>conftest.$ac_ext <<_ACEOF
32518 /* end confdefs.h. */
32519
32520 #if HAVE_X11_XLIB_H
32521 #include <X11/Xlib.h>
32522 #endif
32523
32524
32525 #include <$ac_header>
32526 _ACEOF
32527 rm -f conftest.$ac_objext
32528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32529 (eval $ac_compile) 2>conftest.er1
32530 ac_status=$?
32531 grep -v '^ *+' conftest.er1 >conftest.err
32532 rm -f conftest.er1
32533 cat conftest.err >&5
32534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32535 (exit $ac_status); } &&
32536 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32538 (eval $ac_try) 2>&5
32539 ac_status=$?
32540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32541 (exit $ac_status); }; } &&
32542 { ac_try='test -s conftest.$ac_objext'
32543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32544 (eval $ac_try) 2>&5
32545 ac_status=$?
32546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32547 (exit $ac_status); }; }; then
32548 eval "$as_ac_Header=yes"
32549 else
32550 echo "$as_me: failed program was:" >&5
32551 sed 's/^/| /' conftest.$ac_ext >&5
32552
32553 eval "$as_ac_Header=no"
32554 fi
32555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32556 fi
32557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32558 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32560 cat >>confdefs.h <<_ACEOF
32561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32562 _ACEOF
32563
32564 fi
32565
32566 done
32567
32568 fi
32569 fi
32570
32571
32572
32573 IODBC_C_SRC=""
32574
32575
32576 if test "$TOOLKIT" != "MSW" ; then
32577
32578 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32579
32580 if test "${ac_cv_header_sql_h+set}" = set; then
32581 echo "$as_me:$LINENO: checking for sql.h" >&5
32582 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32583 if test "${ac_cv_header_sql_h+set}" = set; then
32584 echo $ECHO_N "(cached) $ECHO_C" >&6
32585 fi
32586 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32587 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32588 else
32589 # Is the header compilable?
32590 echo "$as_me:$LINENO: checking sql.h usability" >&5
32591 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32592 cat >conftest.$ac_ext <<_ACEOF
32593 /* confdefs.h. */
32594 _ACEOF
32595 cat confdefs.h >>conftest.$ac_ext
32596 cat >>conftest.$ac_ext <<_ACEOF
32597 /* end confdefs.h. */
32598 $ac_includes_default
32599 #include <sql.h>
32600 _ACEOF
32601 rm -f conftest.$ac_objext
32602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32603 (eval $ac_compile) 2>conftest.er1
32604 ac_status=$?
32605 grep -v '^ *+' conftest.er1 >conftest.err
32606 rm -f conftest.er1
32607 cat conftest.err >&5
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); } &&
32610 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32612 (eval $ac_try) 2>&5
32613 ac_status=$?
32614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32615 (exit $ac_status); }; } &&
32616 { ac_try='test -s conftest.$ac_objext'
32617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32618 (eval $ac_try) 2>&5
32619 ac_status=$?
32620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32621 (exit $ac_status); }; }; then
32622 ac_header_compiler=yes
32623 else
32624 echo "$as_me: failed program was:" >&5
32625 sed 's/^/| /' conftest.$ac_ext >&5
32626
32627 ac_header_compiler=no
32628 fi
32629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32630 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32631 echo "${ECHO_T}$ac_header_compiler" >&6
32632
32633 # Is the header present?
32634 echo "$as_me:$LINENO: checking sql.h presence" >&5
32635 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32636 cat >conftest.$ac_ext <<_ACEOF
32637 /* confdefs.h. */
32638 _ACEOF
32639 cat confdefs.h >>conftest.$ac_ext
32640 cat >>conftest.$ac_ext <<_ACEOF
32641 /* end confdefs.h. */
32642 #include <sql.h>
32643 _ACEOF
32644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32645 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32646 ac_status=$?
32647 grep -v '^ *+' conftest.er1 >conftest.err
32648 rm -f conftest.er1
32649 cat conftest.err >&5
32650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32651 (exit $ac_status); } >/dev/null; then
32652 if test -s conftest.err; then
32653 ac_cpp_err=$ac_cxx_preproc_warn_flag
32654 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32655 else
32656 ac_cpp_err=
32657 fi
32658 else
32659 ac_cpp_err=yes
32660 fi
32661 if test -z "$ac_cpp_err"; then
32662 ac_header_preproc=yes
32663 else
32664 echo "$as_me: failed program was:" >&5
32665 sed 's/^/| /' conftest.$ac_ext >&5
32666
32667 ac_header_preproc=no
32668 fi
32669 rm -f conftest.err conftest.$ac_ext
32670 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32671 echo "${ECHO_T}$ac_header_preproc" >&6
32672
32673 # So? What about this header?
32674 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32675 yes:no: )
32676 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32677 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32678 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32679 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32680 ac_header_preproc=yes
32681 ;;
32682 no:yes:* )
32683 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32684 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32685 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32686 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32687 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32688 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32689 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32690 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32691 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32692 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32693 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32694 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32695 (
32696 cat <<\_ASBOX
32697 ## ----------------------------------------- ##
32698 ## Report this to wx-dev@lists.wxwidgets.org ##
32699 ## ----------------------------------------- ##
32700 _ASBOX
32701 ) |
32702 sed "s/^/$as_me: WARNING: /" >&2
32703 ;;
32704 esac
32705 echo "$as_me:$LINENO: checking for sql.h" >&5
32706 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32707 if test "${ac_cv_header_sql_h+set}" = set; then
32708 echo $ECHO_N "(cached) $ECHO_C" >&6
32709 else
32710 ac_cv_header_sql_h=$ac_header_preproc
32711 fi
32712 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32713 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32714
32715 fi
32716 if test $ac_cv_header_sql_h = yes; then
32717 found_sql_h=1
32718 fi
32719
32720
32721 if test "x$found_sql_h" = "x1" ; then
32722 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32723 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32724 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32725 echo $ECHO_N "(cached) $ECHO_C" >&6
32726 else
32727 ac_check_lib_save_LIBS=$LIBS
32728 LIBS="-liodbc $LIBS"
32729 cat >conftest.$ac_ext <<_ACEOF
32730 /* confdefs.h. */
32731 _ACEOF
32732 cat confdefs.h >>conftest.$ac_ext
32733 cat >>conftest.$ac_ext <<_ACEOF
32734 /* end confdefs.h. */
32735
32736 /* Override any gcc2 internal prototype to avoid an error. */
32737 #ifdef __cplusplus
32738 extern "C"
32739 #endif
32740 /* We use char because int might match the return type of a gcc2
32741 builtin and then its argument prototype would still apply. */
32742 char SQLAllocEnv ();
32743 int
32744 main ()
32745 {
32746 SQLAllocEnv ();
32747 ;
32748 return 0;
32749 }
32750 _ACEOF
32751 rm -f conftest.$ac_objext conftest$ac_exeext
32752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32753 (eval $ac_link) 2>conftest.er1
32754 ac_status=$?
32755 grep -v '^ *+' conftest.er1 >conftest.err
32756 rm -f conftest.er1
32757 cat conftest.err >&5
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); } &&
32760 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32762 (eval $ac_try) 2>&5
32763 ac_status=$?
32764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32765 (exit $ac_status); }; } &&
32766 { ac_try='test -s conftest$ac_exeext'
32767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32768 (eval $ac_try) 2>&5
32769 ac_status=$?
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); }; }; then
32772 ac_cv_lib_iodbc_SQLAllocEnv=yes
32773 else
32774 echo "$as_me: failed program was:" >&5
32775 sed 's/^/| /' conftest.$ac_ext >&5
32776
32777 ac_cv_lib_iodbc_SQLAllocEnv=no
32778 fi
32779 rm -f conftest.err conftest.$ac_objext \
32780 conftest$ac_exeext conftest.$ac_ext
32781 LIBS=$ac_check_lib_save_LIBS
32782 fi
32783 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32784 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32785 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32786 ODBC_LINK=" -liodbc"
32787 else
32788
32789 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32790 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32791 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32792 echo $ECHO_N "(cached) $ECHO_C" >&6
32793 else
32794 ac_check_lib_save_LIBS=$LIBS
32795 LIBS="-lunixodbc $LIBS"
32796 cat >conftest.$ac_ext <<_ACEOF
32797 /* confdefs.h. */
32798 _ACEOF
32799 cat confdefs.h >>conftest.$ac_ext
32800 cat >>conftest.$ac_ext <<_ACEOF
32801 /* end confdefs.h. */
32802
32803 /* Override any gcc2 internal prototype to avoid an error. */
32804 #ifdef __cplusplus
32805 extern "C"
32806 #endif
32807 /* We use char because int might match the return type of a gcc2
32808 builtin and then its argument prototype would still apply. */
32809 char SQLAllocEnv ();
32810 int
32811 main ()
32812 {
32813 SQLAllocEnv ();
32814 ;
32815 return 0;
32816 }
32817 _ACEOF
32818 rm -f conftest.$ac_objext conftest$ac_exeext
32819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32820 (eval $ac_link) 2>conftest.er1
32821 ac_status=$?
32822 grep -v '^ *+' conftest.er1 >conftest.err
32823 rm -f conftest.er1
32824 cat conftest.err >&5
32825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32826 (exit $ac_status); } &&
32827 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32829 (eval $ac_try) 2>&5
32830 ac_status=$?
32831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32832 (exit $ac_status); }; } &&
32833 { ac_try='test -s conftest$ac_exeext'
32834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32835 (eval $ac_try) 2>&5
32836 ac_status=$?
32837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838 (exit $ac_status); }; }; then
32839 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32840 else
32841 echo "$as_me: failed program was:" >&5
32842 sed 's/^/| /' conftest.$ac_ext >&5
32843
32844 ac_cv_lib_unixodbc_SQLAllocEnv=no
32845 fi
32846 rm -f conftest.err conftest.$ac_objext \
32847 conftest$ac_exeext conftest.$ac_ext
32848 LIBS=$ac_check_lib_save_LIBS
32849 fi
32850 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32851 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32852 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32853 ODBC_LINK=" -lunixodbc"
32854 else
32855
32856 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32857 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32858 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32859 echo $ECHO_N "(cached) $ECHO_C" >&6
32860 else
32861 ac_check_lib_save_LIBS=$LIBS
32862 LIBS="-lodbc $LIBS"
32863 cat >conftest.$ac_ext <<_ACEOF
32864 /* confdefs.h. */
32865 _ACEOF
32866 cat confdefs.h >>conftest.$ac_ext
32867 cat >>conftest.$ac_ext <<_ACEOF
32868 /* end confdefs.h. */
32869
32870 /* Override any gcc2 internal prototype to avoid an error. */
32871 #ifdef __cplusplus
32872 extern "C"
32873 #endif
32874 /* We use char because int might match the return type of a gcc2
32875 builtin and then its argument prototype would still apply. */
32876 char SQLAllocEnv ();
32877 int
32878 main ()
32879 {
32880 SQLAllocEnv ();
32881 ;
32882 return 0;
32883 }
32884 _ACEOF
32885 rm -f conftest.$ac_objext conftest$ac_exeext
32886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32887 (eval $ac_link) 2>conftest.er1
32888 ac_status=$?
32889 grep -v '^ *+' conftest.er1 >conftest.err
32890 rm -f conftest.er1
32891 cat conftest.err >&5
32892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32893 (exit $ac_status); } &&
32894 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32896 (eval $ac_try) 2>&5
32897 ac_status=$?
32898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32899 (exit $ac_status); }; } &&
32900 { ac_try='test -s conftest$ac_exeext'
32901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32902 (eval $ac_try) 2>&5
32903 ac_status=$?
32904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32905 (exit $ac_status); }; }; then
32906 ac_cv_lib_odbc_SQLAllocEnv=yes
32907 else
32908 echo "$as_me: failed program was:" >&5
32909 sed 's/^/| /' conftest.$ac_ext >&5
32910
32911 ac_cv_lib_odbc_SQLAllocEnv=no
32912 fi
32913 rm -f conftest.err conftest.$ac_objext \
32914 conftest$ac_exeext conftest.$ac_ext
32915 LIBS=$ac_check_lib_save_LIBS
32916 fi
32917 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32918 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32919 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32920 ODBC_LINK=" -lodbc"
32921 fi
32922
32923
32924 fi
32925
32926
32927 fi
32928
32929 fi
32930 if test "x$ODBC_LINK" = "x" ; then
32931 if test "$wxUSE_ODBC" = "sys" ; then
32932 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32933 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32934 { (exit 1); exit 1; }; }
32935 else
32936 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32937 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32938 wxUSE_ODBC=builtin
32939 fi
32940 else
32941 wxUSE_ODBC=sys
32942 fi
32943 fi
32944
32945 if test "$wxUSE_ODBC" = "builtin" ; then
32946 cat >>confdefs.h <<\_ACEOF
32947 #define wxUSE_BUILTIN_IODBC 1
32948 _ACEOF
32949
32950 fi
32951 fi
32952
32953 if test "$wxUSE_ODBC" != "no" ; then
32954 cat >>confdefs.h <<\_ACEOF
32955 #define wxUSE_ODBC 1
32956 _ACEOF
32957
32958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32959
32960 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32961 fi
32962
32963
32964 if test "$wxUSE_DISPLAY" = "yes"; then
32965 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32966 echo "$as_me:$LINENO: checking for Xinerama" >&5
32967 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32968
32969 ac_find_libraries=
32970 for ac_dir in $SEARCH_LIB;
32971 do
32972 for ac_extension in a so sl dylib dll.a; do
32973 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32974 ac_find_libraries=$ac_dir
32975 break 2
32976 fi
32977 done
32978 done
32979
32980 if test "$ac_find_libraries" != "" ; then
32981
32982 if test "$ac_find_libraries" = "default location"; then
32983 ac_path_to_link=""
32984 else
32985 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32986 result=$?
32987 if test $result = 0; then
32988 ac_path_to_link=""
32989 else
32990 ac_path_to_link=" -L$ac_find_libraries"
32991 fi
32992 fi
32993
32994 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32995 LDFLAGS="$LDFLAGS $ac_path_to_link"
32996 fi
32997 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32998 echo "$as_me:$LINENO: result: yes" >&5
32999 echo "${ECHO_T}yes" >&6
33000
33001 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33002 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33003
33004 ac_find_libraries=
33005 for ac_dir in $SEARCH_LIB;
33006 do
33007 for ac_extension in a so sl dylib dll.a; do
33008 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33009 ac_find_libraries=$ac_dir
33010 break 2
33011 fi
33012 done
33013 done
33014
33015 if test "$ac_find_libraries" != "" ; then
33016 echo "$as_me:$LINENO: result: yes" >&5
33017 echo "${ECHO_T}yes" >&6
33018
33019 for ac_header in X11/extensions/xf86vmode.h
33020 do
33021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33022 echo "$as_me:$LINENO: checking for $ac_header" >&5
33023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33025 echo $ECHO_N "(cached) $ECHO_C" >&6
33026 else
33027 cat >conftest.$ac_ext <<_ACEOF
33028 /* confdefs.h. */
33029 _ACEOF
33030 cat confdefs.h >>conftest.$ac_ext
33031 cat >>conftest.$ac_ext <<_ACEOF
33032 /* end confdefs.h. */
33033
33034 #if HAVE_X11_XLIB_H
33035 #include <X11/Xlib.h>
33036 #endif
33037
33038
33039 #include <$ac_header>
33040 _ACEOF
33041 rm -f conftest.$ac_objext
33042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33043 (eval $ac_compile) 2>conftest.er1
33044 ac_status=$?
33045 grep -v '^ *+' conftest.er1 >conftest.err
33046 rm -f conftest.er1
33047 cat conftest.err >&5
33048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33049 (exit $ac_status); } &&
33050 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
33056 { ac_try='test -s conftest.$ac_objext'
33057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33058 (eval $ac_try) 2>&5
33059 ac_status=$?
33060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33061 (exit $ac_status); }; }; then
33062 eval "$as_ac_Header=yes"
33063 else
33064 echo "$as_me: failed program was:" >&5
33065 sed 's/^/| /' conftest.$ac_ext >&5
33066
33067 eval "$as_ac_Header=no"
33068 fi
33069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33070 fi
33071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33074 cat >>confdefs.h <<_ACEOF
33075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33076 _ACEOF
33077
33078 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33079
33080 fi
33081
33082 done
33083
33084 else
33085 echo "$as_me:$LINENO: result: no" >&5
33086 echo "${ECHO_T}no" >&6
33087 fi
33088
33089 else
33090 echo "$as_me:$LINENO: result: no" >&5
33091 echo "${ECHO_T}no" >&6
33092 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33093 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33094 wxUSE_DISPLAY="no"
33095 fi
33096 elif test "$wxUSE_MSW" = 1; then
33097
33098 for ac_header in ddraw.h
33099 do
33100 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33101 echo "$as_me:$LINENO: checking for $ac_header" >&5
33102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33104 echo $ECHO_N "(cached) $ECHO_C" >&6
33105 else
33106 cat >conftest.$ac_ext <<_ACEOF
33107 /* confdefs.h. */
33108 _ACEOF
33109 cat confdefs.h >>conftest.$ac_ext
33110 cat >>conftest.$ac_ext <<_ACEOF
33111 /* end confdefs.h. */
33112 #include <windows.h>
33113
33114 #include <$ac_header>
33115 _ACEOF
33116 rm -f conftest.$ac_objext
33117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33118 (eval $ac_compile) 2>conftest.er1
33119 ac_status=$?
33120 grep -v '^ *+' conftest.er1 >conftest.err
33121 rm -f conftest.er1
33122 cat conftest.err >&5
33123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124 (exit $ac_status); } &&
33125 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33127 (eval $ac_try) 2>&5
33128 ac_status=$?
33129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33130 (exit $ac_status); }; } &&
33131 { ac_try='test -s conftest.$ac_objext'
33132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33133 (eval $ac_try) 2>&5
33134 ac_status=$?
33135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33136 (exit $ac_status); }; }; then
33137 eval "$as_ac_Header=yes"
33138 else
33139 echo "$as_me: failed program was:" >&5
33140 sed 's/^/| /' conftest.$ac_ext >&5
33141
33142 eval "$as_ac_Header=no"
33143 fi
33144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33145 fi
33146 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33147 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33149 cat >>confdefs.h <<_ACEOF
33150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33151 _ACEOF
33152
33153 fi
33154
33155 done
33156
33157 fi
33158 fi
33159
33160 if test "$wxUSE_DETECT_SM" = "yes"; then
33161 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33162 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33163 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33164
33165 ac_find_libraries=
33166 for ac_dir in $SEARCH_LIB;
33167 do
33168 for ac_extension in a so sl dylib dll.a; do
33169 if test -f "$ac_dir/libSM.$ac_extension"; then
33170 ac_find_libraries=$ac_dir
33171 break 2
33172 fi
33173 done
33174 done
33175
33176 if test "$ac_find_libraries" != "" ; then
33177
33178 if test "$ac_find_libraries" = "default location"; then
33179 ac_path_to_link=""
33180 else
33181 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33182 result=$?
33183 if test $result = 0; then
33184 ac_path_to_link=""
33185 else
33186 ac_path_to_link=" -L$ac_find_libraries"
33187 fi
33188 fi
33189
33190 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33191 LDFLAGS="$LDFLAGS $ac_path_to_link"
33192 fi
33193 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33194 echo "$as_me:$LINENO: result: yes" >&5
33195 echo "${ECHO_T}yes" >&6
33196 else
33197 echo "$as_me:$LINENO: result: no" >&5
33198 echo "${ECHO_T}no" >&6
33199 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33200 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33201 wxUSE_DETECT_SM="no"
33202 fi
33203 else
33204 wxUSE_DETECT_SM="no"
33205 fi
33206 fi
33207
33208
33209
33210 USE_OPENGL=0
33211 if test "$wxUSE_OPENGL" = "yes"; then
33212 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33213 OPENGL_LIBS="-framework OpenGL -framework AGL"
33214 elif test "$wxUSE_MSW" = 1; then
33215 OPENGL_LIBS="-lopengl32 -lglu32"
33216 else
33217
33218
33219 ac_find_includes=
33220 for ac_dir in $SEARCH_INCLUDE /usr/include;
33221 do
33222 if test -f "$ac_dir/GL/gl.h"; then
33223 ac_find_includes=$ac_dir
33224 break
33225 fi
33226 done
33227
33228 if test "$ac_find_includes" != "" ; then
33229 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33230 echo "${ECHO_T}found in $ac_find_includes" >&6
33231
33232 if test "x$ac_find_includes" = "x/usr/include"; then
33233 ac_path_to_include=""
33234 else
33235 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33236 result=$?
33237 if test $result = 0; then
33238 ac_path_to_include=""
33239 else
33240 ac_path_to_include=" -I$ac_find_includes"
33241 fi
33242 fi
33243
33244 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33245 fi
33246
33247 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33248 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33249 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33250 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33251 echo $ECHO_N "(cached) $ECHO_C" >&6
33252 fi
33253 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33254 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33255 else
33256 # Is the header compilable?
33257 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33258 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33259 cat >conftest.$ac_ext <<_ACEOF
33260 /* confdefs.h. */
33261 _ACEOF
33262 cat confdefs.h >>conftest.$ac_ext
33263 cat >>conftest.$ac_ext <<_ACEOF
33264 /* end confdefs.h. */
33265 $ac_includes_default
33266 #include <GL/gl.h>
33267 _ACEOF
33268 rm -f conftest.$ac_objext
33269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33270 (eval $ac_compile) 2>conftest.er1
33271 ac_status=$?
33272 grep -v '^ *+' conftest.er1 >conftest.err
33273 rm -f conftest.er1
33274 cat conftest.err >&5
33275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33276 (exit $ac_status); } &&
33277 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33279 (eval $ac_try) 2>&5
33280 ac_status=$?
33281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33282 (exit $ac_status); }; } &&
33283 { ac_try='test -s conftest.$ac_objext'
33284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33285 (eval $ac_try) 2>&5
33286 ac_status=$?
33287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33288 (exit $ac_status); }; }; then
33289 ac_header_compiler=yes
33290 else
33291 echo "$as_me: failed program was:" >&5
33292 sed 's/^/| /' conftest.$ac_ext >&5
33293
33294 ac_header_compiler=no
33295 fi
33296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33298 echo "${ECHO_T}$ac_header_compiler" >&6
33299
33300 # Is the header present?
33301 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33302 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33303 cat >conftest.$ac_ext <<_ACEOF
33304 /* confdefs.h. */
33305 _ACEOF
33306 cat confdefs.h >>conftest.$ac_ext
33307 cat >>conftest.$ac_ext <<_ACEOF
33308 /* end confdefs.h. */
33309 #include <GL/gl.h>
33310 _ACEOF
33311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33313 ac_status=$?
33314 grep -v '^ *+' conftest.er1 >conftest.err
33315 rm -f conftest.er1
33316 cat conftest.err >&5
33317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33318 (exit $ac_status); } >/dev/null; then
33319 if test -s conftest.err; then
33320 ac_cpp_err=$ac_cxx_preproc_warn_flag
33321 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33322 else
33323 ac_cpp_err=
33324 fi
33325 else
33326 ac_cpp_err=yes
33327 fi
33328 if test -z "$ac_cpp_err"; then
33329 ac_header_preproc=yes
33330 else
33331 echo "$as_me: failed program was:" >&5
33332 sed 's/^/| /' conftest.$ac_ext >&5
33333
33334 ac_header_preproc=no
33335 fi
33336 rm -f conftest.err conftest.$ac_ext
33337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33338 echo "${ECHO_T}$ac_header_preproc" >&6
33339
33340 # So? What about this header?
33341 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33342 yes:no: )
33343 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33344 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33345 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33346 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33347 ac_header_preproc=yes
33348 ;;
33349 no:yes:* )
33350 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33351 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33352 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33353 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33354 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33355 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33356 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33357 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33358 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33359 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33360 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33361 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33362 (
33363 cat <<\_ASBOX
33364 ## ----------------------------------------- ##
33365 ## Report this to wx-dev@lists.wxwidgets.org ##
33366 ## ----------------------------------------- ##
33367 _ASBOX
33368 ) |
33369 sed "s/^/$as_me: WARNING: /" >&2
33370 ;;
33371 esac
33372 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33373 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33374 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33375 echo $ECHO_N "(cached) $ECHO_C" >&6
33376 else
33377 ac_cv_header_GL_gl_h=$ac_header_preproc
33378 fi
33379 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33380 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33381
33382 fi
33383 if test $ac_cv_header_GL_gl_h = yes; then
33384
33385 found_gl=0
33386
33387 echo "$as_me:$LINENO: checking for -lGL" >&5
33388 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33389
33390 ac_find_libraries=
33391 for ac_dir in $SEARCH_LIB;
33392 do
33393 for ac_extension in a so sl dylib dll.a; do
33394 if test -f "$ac_dir/libGL.$ac_extension"; then
33395 ac_find_libraries=$ac_dir
33396 break 2
33397 fi
33398 done
33399 done
33400
33401 if test "$ac_find_libraries" != "" ; then
33402 echo "$as_me:$LINENO: result: yes" >&5
33403 echo "${ECHO_T}yes" >&6
33404
33405
33406 if test "$ac_find_libraries" = "default location"; then
33407 ac_path_to_link=""
33408 else
33409 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33410 result=$?
33411 if test $result = 0; then
33412 ac_path_to_link=""
33413 else
33414 ac_path_to_link=" -L$ac_find_libraries"
33415 fi
33416 fi
33417
33418 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33419 LDFLAGS_GL="$ac_path_to_link"
33420 fi
33421
33422 echo "$as_me:$LINENO: checking for -lGLU" >&5
33423 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33424
33425 ac_find_libraries=
33426 for ac_dir in $SEARCH_LIB;
33427 do
33428 for ac_extension in a so sl dylib dll.a; do
33429 if test -f "$ac_dir/libGLU.$ac_extension"; then
33430 ac_find_libraries=$ac_dir
33431 break 2
33432 fi
33433 done
33434 done
33435
33436 if test "$ac_find_libraries" != "" ; then
33437
33438 if test "$ac_find_libraries" = "default location"; then
33439 ac_path_to_link=""
33440 else
33441 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33442 result=$?
33443 if test $result = 0; then
33444 ac_path_to_link=""
33445 else
33446 ac_path_to_link=" -L$ac_find_libraries"
33447 fi
33448 fi
33449
33450 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33451 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33452 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33453 fi
33454
33455 found_gl=1
33456 OPENGL_LIBS="-lGL -lGLU"
33457 echo "$as_me:$LINENO: result: yes" >&5
33458 echo "${ECHO_T}yes" >&6
33459 else
33460 echo "$as_me:$LINENO: result: no" >&5
33461 echo "${ECHO_T}no" >&6
33462 fi
33463 else
33464 echo "$as_me:$LINENO: result: no" >&5
33465 echo "${ECHO_T}no" >&6
33466 fi
33467
33468 if test "$found_gl" != 1; then
33469 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33470 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33471
33472 ac_find_libraries=
33473 for ac_dir in $SEARCH_LIB;
33474 do
33475 for ac_extension in a so sl dylib dll.a; do
33476 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33477 ac_find_libraries=$ac_dir
33478 break 2
33479 fi
33480 done
33481 done
33482
33483 if test "$ac_find_libraries" != "" ; then
33484
33485 if test "$ac_find_libraries" = "default location"; then
33486 ac_path_to_link=""
33487 else
33488 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33489 result=$?
33490 if test $result = 0; then
33491 ac_path_to_link=""
33492 else
33493 ac_path_to_link=" -L$ac_find_libraries"
33494 fi
33495 fi
33496
33497 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33498 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33499 echo "$as_me:$LINENO: result: yes" >&5
33500 echo "${ECHO_T}yes" >&6
33501 else
33502 echo "$as_me:$LINENO: result: no" >&5
33503 echo "${ECHO_T}no" >&6
33504 fi
33505 fi
33506
33507 fi
33508
33509
33510
33511 if test "x$OPENGL_LIBS" = "x"; then
33512 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33513 echo "$as_me: error: OpenGL libraries not available" >&2;}
33514 { (exit 1); exit 1; }; }
33515 fi
33516 fi
33517
33518 if test "$wxUSE_OPENGL" = "yes"; then
33519 USE_OPENGL=1
33520 cat >>confdefs.h <<\_ACEOF
33521 #define wxUSE_OPENGL 1
33522 _ACEOF
33523
33524 cat >>confdefs.h <<\_ACEOF
33525 #define wxUSE_GLCANVAS 1
33526 _ACEOF
33527
33528 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33529 fi
33530 fi
33531
33532
33533 if test -n "$TOOLKIT" ; then
33534 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33535 fi
33536
33537
33538
33539 if test "$wxUSE_SHARED" = "yes"; then
33540 case "${host}" in
33541 *-pc-msdosdjgpp )
33542 wxUSE_SHARED=no
33543 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33544 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33545 ;;
33546 esac
33547 fi
33548
33549 if test "$wxUSE_SHARED" = "yes"; then
33550
33551
33552 found_versioning=no
33553
33554
33555 if test $found_versioning = no ; then
33556 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33557 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33558 if test "${wx_cv_version_script+set}" = set; then
33559 echo $ECHO_N "(cached) $ECHO_C" >&6
33560 else
33561
33562 echo "VER_1 { *; };" >conftest.sym
33563 echo "int main() { return 0; }" >conftest.cpp
33564
33565 if { ac_try='
33566 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33567 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33569 (eval $ac_try) 2>&5
33570 ac_status=$?
33571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33572 (exit $ac_status); }; } ; then
33573 if test -s conftest.stderr ; then
33574 wx_cv_version_script=no
33575 else
33576 wx_cv_version_script=yes
33577 fi
33578 else
33579 wx_cv_version_script=no
33580 fi
33581
33582 if test $wx_cv_version_script = yes
33583 then
33584 echo "struct B { virtual ~B() { } }; \
33585 struct D : public B { }; \
33586 void F() { D d; }" > conftest.cpp
33587
33588 if { ac_try='
33589 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33590 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33592 (eval $ac_try) 2>&5
33593 ac_status=$?
33594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33595 (exit $ac_status); }; } &&
33596 { ac_try='
33597 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33598 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33600 (eval $ac_try) 2>&5
33601 ac_status=$?
33602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 (exit $ac_status); }; }
33604 then
33605 if { ac_try='
33606 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33607 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33609 (eval $ac_try) 2>&5
33610 ac_status=$?
33611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33612 (exit $ac_status); }; }
33613 then
33614 wx_cv_version_script=yes
33615 else
33616 wx_cv_version_script=no
33617 fi
33618 fi
33619 fi
33620
33621 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33622 rm -f conftest1.output conftest2.output conftest3.output
33623
33624 fi
33625 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33626 echo "${ECHO_T}$wx_cv_version_script" >&6
33627 if test $wx_cv_version_script = yes ; then
33628 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33629 fi
33630 fi
33631
33632
33633 case "${host}" in
33634 *-*-linux* | *-*-gnu* )
33635 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33636 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33637 ;;
33638
33639 *-*-solaris2* )
33640 if test "$GCC" = yes ; then
33641 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33642
33643 saveLdflags="$LDFLAGS"
33644 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33645 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33646 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33647 cat >conftest.$ac_ext <<_ACEOF
33648 /* confdefs.h. */
33649 _ACEOF
33650 cat confdefs.h >>conftest.$ac_ext
33651 cat >>conftest.$ac_ext <<_ACEOF
33652 /* end confdefs.h. */
33653
33654 int
33655 main ()
33656 {
33657
33658 ;
33659 return 0;
33660 }
33661 _ACEOF
33662 rm -f conftest.$ac_objext conftest$ac_exeext
33663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33664 (eval $ac_link) 2>conftest.er1
33665 ac_status=$?
33666 grep -v '^ *+' conftest.er1 >conftest.err
33667 rm -f conftest.er1
33668 cat conftest.err >&5
33669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33670 (exit $ac_status); } &&
33671 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33673 (eval $ac_try) 2>&5
33674 ac_status=$?
33675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33676 (exit $ac_status); }; } &&
33677 { ac_try='test -s conftest$ac_exeext'
33678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33679 (eval $ac_try) 2>&5
33680 ac_status=$?
33681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33682 (exit $ac_status); }; }; then
33683
33684 echo "$as_me:$LINENO: result: yes" >&5
33685 echo "${ECHO_T}yes" >&6
33686 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33687 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33688
33689 else
33690 echo "$as_me: failed program was:" >&5
33691 sed 's/^/| /' conftest.$ac_ext >&5
33692
33693
33694 echo "$as_me:$LINENO: result: no" >&5
33695 echo "${ECHO_T}no" >&6
33696 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33697 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33698 LDFLAGS="$saveLdflags -Wl,-R,/"
33699 cat >conftest.$ac_ext <<_ACEOF
33700 /* confdefs.h. */
33701 _ACEOF
33702 cat confdefs.h >>conftest.$ac_ext
33703 cat >>conftest.$ac_ext <<_ACEOF
33704 /* end confdefs.h. */
33705
33706 int
33707 main ()
33708 {
33709
33710 ;
33711 return 0;
33712 }
33713 _ACEOF
33714 rm -f conftest.$ac_objext conftest$ac_exeext
33715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33716 (eval $ac_link) 2>conftest.er1
33717 ac_status=$?
33718 grep -v '^ *+' conftest.er1 >conftest.err
33719 rm -f conftest.er1
33720 cat conftest.err >&5
33721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33722 (exit $ac_status); } &&
33723 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33725 (eval $ac_try) 2>&5
33726 ac_status=$?
33727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33728 (exit $ac_status); }; } &&
33729 { ac_try='test -s conftest$ac_exeext'
33730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33731 (eval $ac_try) 2>&5
33732 ac_status=$?
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); }; }; then
33735
33736 echo "$as_me:$LINENO: result: yes" >&5
33737 echo "${ECHO_T}yes" >&6
33738 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33739 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33740
33741 else
33742 echo "$as_me: failed program was:" >&5
33743 sed 's/^/| /' conftest.$ac_ext >&5
33744
33745
33746 echo "$as_me:$LINENO: result: no" >&5
33747 echo "${ECHO_T}no" >&6
33748
33749 fi
33750 rm -f conftest.err conftest.$ac_objext \
33751 conftest$ac_exeext conftest.$ac_ext
33752
33753 fi
33754 rm -f conftest.err conftest.$ac_objext \
33755 conftest$ac_exeext conftest.$ac_ext
33756 LDFLAGS="$saveLdflags"
33757 else
33758 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
33759 WXCONFIG_RPATH="-R\$libdir"
33760 fi
33761 ;;
33762
33763 *-*-darwin* )
33764 install_name_tool=`which install_name_tool`
33765 if test "$install_name_tool" -a -x "$install_name_tool"; then
33766 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33767 cat <<EOF >change-install-names
33768 #!/bin/sh
33769 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33770 inst_cmd="install_name_tool "
33771 for i in \${libnames} ; do
33772 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33773 done
33774 \${inst_cmd} \${3}
33775 EOF
33776 chmod +x change-install-names
33777 fi
33778 ;;
33779
33780 *-*-cygwin* | *-*-mingw32* )
33781 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33782 ;;
33783
33784 *-*-hpux* )
33785 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
33786 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33787 ;;
33788
33789 esac
33790
33791 if test $wxUSE_RPATH = "no"; then
33792 SAMPLES_RPATH_FLAG=''
33793 SAMPLES_RPATH_POSTLINK=''
33794 WXCONFIG_RPATH=''
33795 fi
33796
33797 SHARED=1
33798
33799 else
33800
33801 config_linkage_component="-static"
33802 SHARED=0
33803
33804 fi
33805
33806
33807 UNICODE=0
33808 lib_unicode_suffix=
33809 WX_CHARTYPE="ansi"
33810 if test "$wxUSE_UNICODE" = "yes"; then
33811 lib_unicode_suffix=u
33812 WX_CHARTYPE="unicode"
33813 UNICODE=1
33814 fi
33815
33816 lib_debug_suffix=
33817 WX_DEBUGTYPE="release"
33818 DEBUG_FLAG=0
33819 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33820 lib_debug_suffix=d
33821 WX_DEBUGTYPE="debug"
33822 DEBUG_FLAG=1
33823 fi
33824
33825 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33826 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33827
33828 DEBUG_INFO=0
33829 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33830 DEBUG_INFO=1
33831 fi
33832
33833 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33834
33835 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33836
33837 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33838
33839 if test "$cross_compiling" = "yes"; then
33840 HOST_SUFFIX="-$host_alias"
33841 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33842 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33843 fi
33844
33845 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33846 if test "${TOOLKIT_DIR}" = "os2"; then
33847 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33848 else
33849 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33850 fi
33851
33852
33853
33854 if test "$wxUSE_COCOA" = 1; then
33855
33856
33857 ac_ext=c
33858 ac_cpp='$CPP $CPPFLAGS'
33859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33862
33863 ac_ext=m
33864
33865 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33866 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33867 cat >conftest.$ac_ext <<_ACEOF
33868 /* confdefs.h. */
33869 _ACEOF
33870 cat confdefs.h >>conftest.$ac_ext
33871 cat >>conftest.$ac_ext <<_ACEOF
33872 /* end confdefs.h. */
33873 #include <AppKit/NSEvent.h>
33874 #include <CoreFoundation/CoreFoundation.h>
33875
33876 int
33877 main ()
33878 {
33879
33880 ;
33881 return 0;
33882 }
33883 _ACEOF
33884 rm -f conftest.$ac_objext
33885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33886 (eval $ac_compile) 2>conftest.er1
33887 ac_status=$?
33888 grep -v '^ *+' conftest.er1 >conftest.err
33889 rm -f conftest.er1
33890 cat conftest.err >&5
33891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33892 (exit $ac_status); } &&
33893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33895 (eval $ac_try) 2>&5
33896 ac_status=$?
33897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33898 (exit $ac_status); }; } &&
33899 { ac_try='test -s conftest.$ac_objext'
33900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33901 (eval $ac_try) 2>&5
33902 ac_status=$?
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); }; }; then
33905 echo "$as_me:$LINENO: result: no" >&5
33906 echo "${ECHO_T}no" >&6
33907 else
33908 echo "$as_me: failed program was:" >&5
33909 sed 's/^/| /' conftest.$ac_ext >&5
33910
33911 echo "$as_me:$LINENO: result: yes" >&5
33912 echo "${ECHO_T}yes" >&6
33913 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33914 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33915 cat >conftest.$ac_ext <<_ACEOF
33916 /* confdefs.h. */
33917 _ACEOF
33918 cat confdefs.h >>conftest.$ac_ext
33919 cat >>conftest.$ac_ext <<_ACEOF
33920 /* end confdefs.h. */
33921 #define __Point__ 1
33922 #include <AppKit/NSEvent.h>
33923 #include <CoreFoundation/CoreFoundation.h>
33924
33925 int
33926 main ()
33927 {
33928
33929 ;
33930 return 0;
33931 }
33932 _ACEOF
33933 rm -f conftest.$ac_objext
33934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33935 (eval $ac_compile) 2>conftest.er1
33936 ac_status=$?
33937 grep -v '^ *+' conftest.er1 >conftest.err
33938 rm -f conftest.er1
33939 cat conftest.err >&5
33940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941 (exit $ac_status); } &&
33942 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33944 (eval $ac_try) 2>&5
33945 ac_status=$?
33946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33947 (exit $ac_status); }; } &&
33948 { ac_try='test -s conftest.$ac_objext'
33949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33950 (eval $ac_try) 2>&5
33951 ac_status=$?
33952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33953 (exit $ac_status); }; }; then
33954 echo "$as_me:$LINENO: result: yes" >&5
33955 echo "${ECHO_T}yes" >&6
33956 cat >>confdefs.h <<\_ACEOF
33957 #define __Point__ 1
33958 _ACEOF
33959
33960
33961 else
33962 echo "$as_me: failed program was:" >&5
33963 sed 's/^/| /' conftest.$ac_ext >&5
33964
33965 { { echo "$as_me:$LINENO: error: no
33966 See \`config.log' for more details." >&5
33967 echo "$as_me: error: no
33968 See \`config.log' for more details." >&2;}
33969 { (exit 1); exit 1; }; }
33970
33971 fi
33972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33973
33974 fi
33975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33976 ac_ext=cc
33977 ac_cpp='$CXXCPP $CPPFLAGS'
33978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33981
33982 fi
33983
33984 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33985 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33986 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33987
33988 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33989
33990 # Extract the first word of "Rez", so it can be a program name with args.
33991 set dummy Rez; ac_word=$2
33992 echo "$as_me:$LINENO: checking for $ac_word" >&5
33993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33994 if test "${ac_cv_prog_REZ+set}" = set; then
33995 echo $ECHO_N "(cached) $ECHO_C" >&6
33996 else
33997 if test -n "$REZ"; then
33998 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33999 else
34000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34001 for as_dir in $PATH
34002 do
34003 IFS=$as_save_IFS
34004 test -z "$as_dir" && as_dir=.
34005 for ac_exec_ext in '' $ac_executable_extensions; do
34006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34007 ac_cv_prog_REZ="Rez"
34008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34009 break 2
34010 fi
34011 done
34012 done
34013
34014 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
34015 fi
34016 fi
34017 REZ=$ac_cv_prog_REZ
34018 if test -n "$REZ"; then
34019 echo "$as_me:$LINENO: result: $REZ" >&5
34020 echo "${ECHO_T}$REZ" >&6
34021 else
34022 echo "$as_me:$LINENO: result: no" >&5
34023 echo "${ECHO_T}no" >&6
34024 fi
34025
34026 # Extract the first word of "DeRez", so it can be a program name with args.
34027 set dummy DeRez; ac_word=$2
34028 echo "$as_me:$LINENO: checking for $ac_word" >&5
34029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34030 if test "${ac_cv_prog_DEREZ+set}" = set; then
34031 echo $ECHO_N "(cached) $ECHO_C" >&6
34032 else
34033 if test -n "$DEREZ"; then
34034 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
34035 else
34036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34037 for as_dir in $PATH
34038 do
34039 IFS=$as_save_IFS
34040 test -z "$as_dir" && as_dir=.
34041 for ac_exec_ext in '' $ac_executable_extensions; do
34042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34043 ac_cv_prog_DEREZ="DeRez"
34044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34045 break 2
34046 fi
34047 done
34048 done
34049
34050 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
34051 fi
34052 fi
34053 DEREZ=$ac_cv_prog_DEREZ
34054 if test -n "$DEREZ"; then
34055 echo "$as_me:$LINENO: result: $DEREZ" >&5
34056 echo "${ECHO_T}$DEREZ" >&6
34057 else
34058 echo "$as_me:$LINENO: result: no" >&5
34059 echo "${ECHO_T}no" >&6
34060 fi
34061
34062 # Extract the first word of "SetFile", so it can be a program name with args.
34063 set dummy SetFile; ac_word=$2
34064 echo "$as_me:$LINENO: checking for $ac_word" >&5
34065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34066 if test "${ac_cv_prog_SETFILE+set}" = set; then
34067 echo $ECHO_N "(cached) $ECHO_C" >&6
34068 else
34069 if test -n "$SETFILE"; then
34070 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34071 else
34072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34073 for as_dir in $PATH
34074 do
34075 IFS=$as_save_IFS
34076 test -z "$as_dir" && as_dir=.
34077 for ac_exec_ext in '' $ac_executable_extensions; do
34078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34079 ac_cv_prog_SETFILE="SetFile"
34080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34081 break 2
34082 fi
34083 done
34084 done
34085
34086 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34087 fi
34088 fi
34089 SETFILE=$ac_cv_prog_SETFILE
34090 if test -n "$SETFILE"; then
34091 echo "$as_me:$LINENO: result: $SETFILE" >&5
34092 echo "${ECHO_T}$SETFILE" >&6
34093 else
34094 echo "$as_me:$LINENO: result: no" >&5
34095 echo "${ECHO_T}no" >&6
34096 fi
34097
34098
34099 MACSETFILE="\$(SETFILE)"
34100
34101 if test "$wxUSE_MAC" = 1; then
34102 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34103 RESCOMP="$REZ"
34104 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
34105 else
34106 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34107 RESCOMP="echo -n \| $REZ"
34108 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34109 fi
34110
34111 else
34112 MACSETFILE="@true"
34113
34114 if test "$wxUSE_PM" = 1; then
34115 RESCOMP="emxbind"
34116 WXCONFIG_RESFLAGS="-ep"
34117
34118 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
34119 else
34120 POSTLINK_COMMAND="@true"
34121 fi
34122
34123 fi
34124
34125
34126
34127 echo "$as_me:$LINENO: checking for mode_t" >&5
34128 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34129 if test "${ac_cv_type_mode_t+set}" = set; then
34130 echo $ECHO_N "(cached) $ECHO_C" >&6
34131 else
34132 cat >conftest.$ac_ext <<_ACEOF
34133 /* confdefs.h. */
34134 _ACEOF
34135 cat confdefs.h >>conftest.$ac_ext
34136 cat >>conftest.$ac_ext <<_ACEOF
34137 /* end confdefs.h. */
34138 $ac_includes_default
34139 int
34140 main ()
34141 {
34142 if ((mode_t *) 0)
34143 return 0;
34144 if (sizeof (mode_t))
34145 return 0;
34146 ;
34147 return 0;
34148 }
34149 _ACEOF
34150 rm -f conftest.$ac_objext
34151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34152 (eval $ac_compile) 2>conftest.er1
34153 ac_status=$?
34154 grep -v '^ *+' conftest.er1 >conftest.err
34155 rm -f conftest.er1
34156 cat conftest.err >&5
34157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34158 (exit $ac_status); } &&
34159 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34161 (eval $ac_try) 2>&5
34162 ac_status=$?
34163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34164 (exit $ac_status); }; } &&
34165 { ac_try='test -s conftest.$ac_objext'
34166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34167 (eval $ac_try) 2>&5
34168 ac_status=$?
34169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34170 (exit $ac_status); }; }; then
34171 ac_cv_type_mode_t=yes
34172 else
34173 echo "$as_me: failed program was:" >&5
34174 sed 's/^/| /' conftest.$ac_ext >&5
34175
34176 ac_cv_type_mode_t=no
34177 fi
34178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34179 fi
34180 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34181 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34182 if test $ac_cv_type_mode_t = yes; then
34183 :
34184 else
34185
34186 cat >>confdefs.h <<_ACEOF
34187 #define mode_t int
34188 _ACEOF
34189
34190 fi
34191
34192 echo "$as_me:$LINENO: checking for off_t" >&5
34193 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34194 if test "${ac_cv_type_off_t+set}" = set; then
34195 echo $ECHO_N "(cached) $ECHO_C" >&6
34196 else
34197 cat >conftest.$ac_ext <<_ACEOF
34198 /* confdefs.h. */
34199 _ACEOF
34200 cat confdefs.h >>conftest.$ac_ext
34201 cat >>conftest.$ac_ext <<_ACEOF
34202 /* end confdefs.h. */
34203 $ac_includes_default
34204 int
34205 main ()
34206 {
34207 if ((off_t *) 0)
34208 return 0;
34209 if (sizeof (off_t))
34210 return 0;
34211 ;
34212 return 0;
34213 }
34214 _ACEOF
34215 rm -f conftest.$ac_objext
34216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34217 (eval $ac_compile) 2>conftest.er1
34218 ac_status=$?
34219 grep -v '^ *+' conftest.er1 >conftest.err
34220 rm -f conftest.er1
34221 cat conftest.err >&5
34222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34223 (exit $ac_status); } &&
34224 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34226 (eval $ac_try) 2>&5
34227 ac_status=$?
34228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34229 (exit $ac_status); }; } &&
34230 { ac_try='test -s conftest.$ac_objext'
34231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34232 (eval $ac_try) 2>&5
34233 ac_status=$?
34234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34235 (exit $ac_status); }; }; then
34236 ac_cv_type_off_t=yes
34237 else
34238 echo "$as_me: failed program was:" >&5
34239 sed 's/^/| /' conftest.$ac_ext >&5
34240
34241 ac_cv_type_off_t=no
34242 fi
34243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34244 fi
34245 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34246 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34247 if test $ac_cv_type_off_t = yes; then
34248 :
34249 else
34250
34251 cat >>confdefs.h <<_ACEOF
34252 #define off_t long
34253 _ACEOF
34254
34255 fi
34256
34257 echo "$as_me:$LINENO: checking for pid_t" >&5
34258 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34259 if test "${ac_cv_type_pid_t+set}" = set; then
34260 echo $ECHO_N "(cached) $ECHO_C" >&6
34261 else
34262 cat >conftest.$ac_ext <<_ACEOF
34263 /* confdefs.h. */
34264 _ACEOF
34265 cat confdefs.h >>conftest.$ac_ext
34266 cat >>conftest.$ac_ext <<_ACEOF
34267 /* end confdefs.h. */
34268 $ac_includes_default
34269 int
34270 main ()
34271 {
34272 if ((pid_t *) 0)
34273 return 0;
34274 if (sizeof (pid_t))
34275 return 0;
34276 ;
34277 return 0;
34278 }
34279 _ACEOF
34280 rm -f conftest.$ac_objext
34281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34282 (eval $ac_compile) 2>conftest.er1
34283 ac_status=$?
34284 grep -v '^ *+' conftest.er1 >conftest.err
34285 rm -f conftest.er1
34286 cat conftest.err >&5
34287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34288 (exit $ac_status); } &&
34289 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34291 (eval $ac_try) 2>&5
34292 ac_status=$?
34293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34294 (exit $ac_status); }; } &&
34295 { ac_try='test -s conftest.$ac_objext'
34296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34297 (eval $ac_try) 2>&5
34298 ac_status=$?
34299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34300 (exit $ac_status); }; }; then
34301 ac_cv_type_pid_t=yes
34302 else
34303 echo "$as_me: failed program was:" >&5
34304 sed 's/^/| /' conftest.$ac_ext >&5
34305
34306 ac_cv_type_pid_t=no
34307 fi
34308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34309 fi
34310 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34311 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34312 if test $ac_cv_type_pid_t = yes; then
34313 :
34314 else
34315
34316 cat >>confdefs.h <<_ACEOF
34317 #define pid_t int
34318 _ACEOF
34319
34320 fi
34321
34322 echo "$as_me:$LINENO: checking for size_t" >&5
34323 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34324 if test "${ac_cv_type_size_t+set}" = set; then
34325 echo $ECHO_N "(cached) $ECHO_C" >&6
34326 else
34327 cat >conftest.$ac_ext <<_ACEOF
34328 /* confdefs.h. */
34329 _ACEOF
34330 cat confdefs.h >>conftest.$ac_ext
34331 cat >>conftest.$ac_ext <<_ACEOF
34332 /* end confdefs.h. */
34333 $ac_includes_default
34334 int
34335 main ()
34336 {
34337 if ((size_t *) 0)
34338 return 0;
34339 if (sizeof (size_t))
34340 return 0;
34341 ;
34342 return 0;
34343 }
34344 _ACEOF
34345 rm -f conftest.$ac_objext
34346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34347 (eval $ac_compile) 2>conftest.er1
34348 ac_status=$?
34349 grep -v '^ *+' conftest.er1 >conftest.err
34350 rm -f conftest.er1
34351 cat conftest.err >&5
34352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34353 (exit $ac_status); } &&
34354 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34356 (eval $ac_try) 2>&5
34357 ac_status=$?
34358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34359 (exit $ac_status); }; } &&
34360 { ac_try='test -s conftest.$ac_objext'
34361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34362 (eval $ac_try) 2>&5
34363 ac_status=$?
34364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34365 (exit $ac_status); }; }; then
34366 ac_cv_type_size_t=yes
34367 else
34368 echo "$as_me: failed program was:" >&5
34369 sed 's/^/| /' conftest.$ac_ext >&5
34370
34371 ac_cv_type_size_t=no
34372 fi
34373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34374 fi
34375 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34376 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34377 if test $ac_cv_type_size_t = yes; then
34378 :
34379 else
34380
34381 cat >>confdefs.h <<_ACEOF
34382 #define size_t unsigned
34383 _ACEOF
34384
34385 fi
34386
34387 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34388 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34389 if test "${ac_cv_type_uid_t+set}" = set; then
34390 echo $ECHO_N "(cached) $ECHO_C" >&6
34391 else
34392 cat >conftest.$ac_ext <<_ACEOF
34393 /* confdefs.h. */
34394 _ACEOF
34395 cat confdefs.h >>conftest.$ac_ext
34396 cat >>conftest.$ac_ext <<_ACEOF
34397 /* end confdefs.h. */
34398 #include <sys/types.h>
34399
34400 _ACEOF
34401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34402 $EGREP "uid_t" >/dev/null 2>&1; then
34403 ac_cv_type_uid_t=yes
34404 else
34405 ac_cv_type_uid_t=no
34406 fi
34407 rm -f conftest*
34408
34409 fi
34410 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34411 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34412 if test $ac_cv_type_uid_t = no; then
34413
34414 cat >>confdefs.h <<\_ACEOF
34415 #define uid_t int
34416 _ACEOF
34417
34418
34419 cat >>confdefs.h <<\_ACEOF
34420 #define gid_t int
34421 _ACEOF
34422
34423 fi
34424
34425
34426 echo "$as_me:$LINENO: checking for ssize_t" >&5
34427 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34428 if test "${ac_cv_type_ssize_t+set}" = set; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34430 else
34431 cat >conftest.$ac_ext <<_ACEOF
34432 /* confdefs.h. */
34433 _ACEOF
34434 cat confdefs.h >>conftest.$ac_ext
34435 cat >>conftest.$ac_ext <<_ACEOF
34436 /* end confdefs.h. */
34437 $ac_includes_default
34438 int
34439 main ()
34440 {
34441 if ((ssize_t *) 0)
34442 return 0;
34443 if (sizeof (ssize_t))
34444 return 0;
34445 ;
34446 return 0;
34447 }
34448 _ACEOF
34449 rm -f conftest.$ac_objext
34450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34451 (eval $ac_compile) 2>conftest.er1
34452 ac_status=$?
34453 grep -v '^ *+' conftest.er1 >conftest.err
34454 rm -f conftest.er1
34455 cat conftest.err >&5
34456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34457 (exit $ac_status); } &&
34458 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34460 (eval $ac_try) 2>&5
34461 ac_status=$?
34462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34463 (exit $ac_status); }; } &&
34464 { ac_try='test -s conftest.$ac_objext'
34465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34466 (eval $ac_try) 2>&5
34467 ac_status=$?
34468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34469 (exit $ac_status); }; }; then
34470 ac_cv_type_ssize_t=yes
34471 else
34472 echo "$as_me: failed program was:" >&5
34473 sed 's/^/| /' conftest.$ac_ext >&5
34474
34475 ac_cv_type_ssize_t=no
34476 fi
34477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34478 fi
34479 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34480 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34481 if test $ac_cv_type_ssize_t = yes; then
34482
34483 cat >>confdefs.h <<_ACEOF
34484 #define HAVE_SSIZE_T 1
34485 _ACEOF
34486
34487
34488 fi
34489
34490
34491 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34492 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34493 if test "${wx_cv_size_t_is_uint+set}" = set; then
34494 echo $ECHO_N "(cached) $ECHO_C" >&6
34495 else
34496
34497 cat >conftest.$ac_ext <<_ACEOF
34498 /* confdefs.h. */
34499 _ACEOF
34500 cat confdefs.h >>conftest.$ac_ext
34501 cat >>conftest.$ac_ext <<_ACEOF
34502 /* end confdefs.h. */
34503 #include <stddef.h>
34504 int
34505 main ()
34506 {
34507
34508 return 0; }
34509
34510 struct Foo { void foo(size_t); void foo(unsigned int); };
34511
34512 int bar() {
34513
34514 ;
34515 return 0;
34516 }
34517 _ACEOF
34518 rm -f conftest.$ac_objext
34519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34520 (eval $ac_compile) 2>conftest.er1
34521 ac_status=$?
34522 grep -v '^ *+' conftest.er1 >conftest.err
34523 rm -f conftest.er1
34524 cat conftest.err >&5
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); } &&
34527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34529 (eval $ac_try) 2>&5
34530 ac_status=$?
34531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34532 (exit $ac_status); }; } &&
34533 { ac_try='test -s conftest.$ac_objext'
34534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34535 (eval $ac_try) 2>&5
34536 ac_status=$?
34537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34538 (exit $ac_status); }; }; then
34539 wx_cv_size_t_is_uint=no
34540 else
34541 echo "$as_me: failed program was:" >&5
34542 sed 's/^/| /' conftest.$ac_ext >&5
34543
34544 wx_cv_size_t_is_uint=yes
34545
34546 fi
34547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34548
34549
34550 fi
34551 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34552 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34553
34554 if test "$wx_cv_size_t_is_uint" = "yes"; then
34555 cat >>confdefs.h <<\_ACEOF
34556 #define wxSIZE_T_IS_UINT 1
34557 _ACEOF
34558
34559 else
34560 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34561 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34562 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34563 echo $ECHO_N "(cached) $ECHO_C" >&6
34564 else
34565 cat >conftest.$ac_ext <<_ACEOF
34566 /* confdefs.h. */
34567 _ACEOF
34568 cat confdefs.h >>conftest.$ac_ext
34569 cat >>conftest.$ac_ext <<_ACEOF
34570 /* end confdefs.h. */
34571 #include <stddef.h>
34572 int
34573 main ()
34574 {
34575
34576 return 0; }
34577
34578 struct Foo { void foo(size_t); void foo(unsigned long); };
34579
34580 int bar() {
34581
34582 ;
34583 return 0;
34584 }
34585 _ACEOF
34586 rm -f conftest.$ac_objext
34587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34588 (eval $ac_compile) 2>conftest.er1
34589 ac_status=$?
34590 grep -v '^ *+' conftest.er1 >conftest.err
34591 rm -f conftest.er1
34592 cat conftest.err >&5
34593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594 (exit $ac_status); } &&
34595 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34597 (eval $ac_try) 2>&5
34598 ac_status=$?
34599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34600 (exit $ac_status); }; } &&
34601 { ac_try='test -s conftest.$ac_objext'
34602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34603 (eval $ac_try) 2>&5
34604 ac_status=$?
34605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34606 (exit $ac_status); }; }; then
34607 wx_cv_size_t_is_ulong=no
34608 else
34609 echo "$as_me: failed program was:" >&5
34610 sed 's/^/| /' conftest.$ac_ext >&5
34611
34612 wx_cv_size_t_is_ulong=yes
34613
34614 fi
34615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34616
34617 fi
34618 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34619 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34620
34621 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34622 cat >>confdefs.h <<\_ACEOF
34623 #define wxSIZE_T_IS_ULONG 1
34624 _ACEOF
34625
34626 fi
34627 fi
34628
34629
34630 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34631 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34632 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34633 echo $ECHO_N "(cached) $ECHO_C" >&6
34634 else
34635
34636 cat >conftest.$ac_ext <<_ACEOF
34637 /* confdefs.h. */
34638 _ACEOF
34639 cat confdefs.h >>conftest.$ac_ext
34640 cat >>conftest.$ac_ext <<_ACEOF
34641 /* end confdefs.h. */
34642 #include <pwd.h>
34643 int
34644 main ()
34645 {
34646
34647 char *p;
34648 struct passwd *pw;
34649 p = pw->pw_gecos;
34650
34651 ;
34652 return 0;
34653 }
34654 _ACEOF
34655 rm -f conftest.$ac_objext
34656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34657 (eval $ac_compile) 2>conftest.er1
34658 ac_status=$?
34659 grep -v '^ *+' conftest.er1 >conftest.err
34660 rm -f conftest.er1
34661 cat conftest.err >&5
34662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34663 (exit $ac_status); } &&
34664 { ac_try='test -z "$ac_cxx_werror_flag" || 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_objext'
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
34677 wx_cv_struct_pw_gecos=yes
34678
34679 else
34680 echo "$as_me: failed program was:" >&5
34681 sed 's/^/| /' conftest.$ac_ext >&5
34682
34683
34684 wx_cv_struct_pw_gecos=no
34685
34686
34687 fi
34688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34689
34690
34691 fi
34692 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34693 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34694
34695 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34696 cat >>confdefs.h <<\_ACEOF
34697 #define HAVE_PW_GECOS 1
34698 _ACEOF
34699
34700 fi
34701
34702
34703 if test "$wxUSE_WCHAR_T" = "yes"; then
34704 cat >>confdefs.h <<\_ACEOF
34705 #define wxUSE_WCHAR_T 1
34706 _ACEOF
34707
34708
34709 WCSLEN_FOUND=0
34710 WCHAR_LINK=
34711
34712 for ac_func in wcslen
34713 do
34714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34715 echo "$as_me:$LINENO: checking for $ac_func" >&5
34716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34717 if eval "test \"\${$as_ac_var+set}\" = set"; then
34718 echo $ECHO_N "(cached) $ECHO_C" >&6
34719 else
34720 cat >conftest.$ac_ext <<_ACEOF
34721 /* confdefs.h. */
34722 _ACEOF
34723 cat confdefs.h >>conftest.$ac_ext
34724 cat >>conftest.$ac_ext <<_ACEOF
34725 /* end confdefs.h. */
34726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34728 #define $ac_func innocuous_$ac_func
34729
34730 /* System header to define __stub macros and hopefully few prototypes,
34731 which can conflict with char $ac_func (); below.
34732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34733 <limits.h> exists even on freestanding compilers. */
34734
34735 #ifdef __STDC__
34736 # include <limits.h>
34737 #else
34738 # include <assert.h>
34739 #endif
34740
34741 #undef $ac_func
34742
34743 /* Override any gcc2 internal prototype to avoid an error. */
34744 #ifdef __cplusplus
34745 extern "C"
34746 {
34747 #endif
34748 /* We use char because int might match the return type of a gcc2
34749 builtin and then its argument prototype would still apply. */
34750 char $ac_func ();
34751 /* The GNU C library defines this for functions which it implements
34752 to always fail with ENOSYS. Some functions are actually named
34753 something starting with __ and the normal name is an alias. */
34754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34755 choke me
34756 #else
34757 char (*f) () = $ac_func;
34758 #endif
34759 #ifdef __cplusplus
34760 }
34761 #endif
34762
34763 int
34764 main ()
34765 {
34766 return f != $ac_func;
34767 ;
34768 return 0;
34769 }
34770 _ACEOF
34771 rm -f conftest.$ac_objext conftest$ac_exeext
34772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34773 (eval $ac_link) 2>conftest.er1
34774 ac_status=$?
34775 grep -v '^ *+' conftest.er1 >conftest.err
34776 rm -f conftest.er1
34777 cat conftest.err >&5
34778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34779 (exit $ac_status); } &&
34780 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34782 (eval $ac_try) 2>&5
34783 ac_status=$?
34784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34785 (exit $ac_status); }; } &&
34786 { ac_try='test -s conftest$ac_exeext'
34787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34788 (eval $ac_try) 2>&5
34789 ac_status=$?
34790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34791 (exit $ac_status); }; }; then
34792 eval "$as_ac_var=yes"
34793 else
34794 echo "$as_me: failed program was:" >&5
34795 sed 's/^/| /' conftest.$ac_ext >&5
34796
34797 eval "$as_ac_var=no"
34798 fi
34799 rm -f conftest.err conftest.$ac_objext \
34800 conftest$ac_exeext conftest.$ac_ext
34801 fi
34802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34804 if test `eval echo '${'$as_ac_var'}'` = yes; then
34805 cat >>confdefs.h <<_ACEOF
34806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34807 _ACEOF
34808 WCSLEN_FOUND=1
34809 fi
34810 done
34811
34812
34813 if test "$WCSLEN_FOUND" = 0; then
34814 if test "$TOOLKIT" = "MSW"; then
34815 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34816 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34817 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34818 echo $ECHO_N "(cached) $ECHO_C" >&6
34819 else
34820 ac_check_lib_save_LIBS=$LIBS
34821 LIBS="-lmsvcrt $LIBS"
34822 cat >conftest.$ac_ext <<_ACEOF
34823 /* confdefs.h. */
34824 _ACEOF
34825 cat confdefs.h >>conftest.$ac_ext
34826 cat >>conftest.$ac_ext <<_ACEOF
34827 /* end confdefs.h. */
34828
34829 /* Override any gcc2 internal prototype to avoid an error. */
34830 #ifdef __cplusplus
34831 extern "C"
34832 #endif
34833 /* We use char because int might match the return type of a gcc2
34834 builtin and then its argument prototype would still apply. */
34835 char wcslen ();
34836 int
34837 main ()
34838 {
34839 wcslen ();
34840 ;
34841 return 0;
34842 }
34843 _ACEOF
34844 rm -f conftest.$ac_objext conftest$ac_exeext
34845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34846 (eval $ac_link) 2>conftest.er1
34847 ac_status=$?
34848 grep -v '^ *+' conftest.er1 >conftest.err
34849 rm -f conftest.er1
34850 cat conftest.err >&5
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); } &&
34853 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34855 (eval $ac_try) 2>&5
34856 ac_status=$?
34857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34858 (exit $ac_status); }; } &&
34859 { ac_try='test -s conftest$ac_exeext'
34860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34861 (eval $ac_try) 2>&5
34862 ac_status=$?
34863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34864 (exit $ac_status); }; }; then
34865 ac_cv_lib_msvcrt_wcslen=yes
34866 else
34867 echo "$as_me: failed program was:" >&5
34868 sed 's/^/| /' conftest.$ac_ext >&5
34869
34870 ac_cv_lib_msvcrt_wcslen=no
34871 fi
34872 rm -f conftest.err conftest.$ac_objext \
34873 conftest$ac_exeext conftest.$ac_ext
34874 LIBS=$ac_check_lib_save_LIBS
34875 fi
34876 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34877 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34878 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34879 WCHAR_OK=1
34880 fi
34881
34882 else
34883 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34884 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34885 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34886 echo $ECHO_N "(cached) $ECHO_C" >&6
34887 else
34888 ac_check_lib_save_LIBS=$LIBS
34889 LIBS="-lw $LIBS"
34890 cat >conftest.$ac_ext <<_ACEOF
34891 /* confdefs.h. */
34892 _ACEOF
34893 cat confdefs.h >>conftest.$ac_ext
34894 cat >>conftest.$ac_ext <<_ACEOF
34895 /* end confdefs.h. */
34896
34897 /* Override any gcc2 internal prototype to avoid an error. */
34898 #ifdef __cplusplus
34899 extern "C"
34900 #endif
34901 /* We use char because int might match the return type of a gcc2
34902 builtin and then its argument prototype would still apply. */
34903 char wcslen ();
34904 int
34905 main ()
34906 {
34907 wcslen ();
34908 ;
34909 return 0;
34910 }
34911 _ACEOF
34912 rm -f conftest.$ac_objext conftest$ac_exeext
34913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34914 (eval $ac_link) 2>conftest.er1
34915 ac_status=$?
34916 grep -v '^ *+' conftest.er1 >conftest.err
34917 rm -f conftest.er1
34918 cat conftest.err >&5
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); } &&
34921 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34924 ac_status=$?
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; } &&
34927 { ac_try='test -s conftest$ac_exeext'
34928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34929 (eval $ac_try) 2>&5
34930 ac_status=$?
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; }; then
34933 ac_cv_lib_w_wcslen=yes
34934 else
34935 echo "$as_me: failed program was:" >&5
34936 sed 's/^/| /' conftest.$ac_ext >&5
34937
34938 ac_cv_lib_w_wcslen=no
34939 fi
34940 rm -f conftest.err conftest.$ac_objext \
34941 conftest$ac_exeext conftest.$ac_ext
34942 LIBS=$ac_check_lib_save_LIBS
34943 fi
34944 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34945 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34946 if test $ac_cv_lib_w_wcslen = yes; then
34947
34948 WCHAR_LINK=" -lw"
34949 WCSLEN_FOUND=1
34950
34951 fi
34952
34953 fi
34954 fi
34955
34956 if test "$WCSLEN_FOUND" = 1; then
34957 cat >>confdefs.h <<\_ACEOF
34958 #define HAVE_WCSLEN 1
34959 _ACEOF
34960
34961 fi
34962
34963 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34964 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34965 fi
34966
34967 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34968 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34969 if test "${ac_cv_type_mbstate_t+set}" = set; then
34970 echo $ECHO_N "(cached) $ECHO_C" >&6
34971 else
34972 cat >conftest.$ac_ext <<_ACEOF
34973 /* confdefs.h. */
34974 _ACEOF
34975 cat confdefs.h >>conftest.$ac_ext
34976 cat >>conftest.$ac_ext <<_ACEOF
34977 /* end confdefs.h. */
34978 #include <wchar.h>
34979
34980 int
34981 main ()
34982 {
34983 if ((mbstate_t *) 0)
34984 return 0;
34985 if (sizeof (mbstate_t))
34986 return 0;
34987 ;
34988 return 0;
34989 }
34990 _ACEOF
34991 rm -f conftest.$ac_objext
34992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34993 (eval $ac_compile) 2>conftest.er1
34994 ac_status=$?
34995 grep -v '^ *+' conftest.er1 >conftest.err
34996 rm -f conftest.er1
34997 cat conftest.err >&5
34998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34999 (exit $ac_status); } &&
35000 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35002 (eval $ac_try) 2>&5
35003 ac_status=$?
35004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35005 (exit $ac_status); }; } &&
35006 { ac_try='test -s conftest.$ac_objext'
35007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35008 (eval $ac_try) 2>&5
35009 ac_status=$?
35010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35011 (exit $ac_status); }; }; then
35012 ac_cv_type_mbstate_t=yes
35013 else
35014 echo "$as_me: failed program was:" >&5
35015 sed 's/^/| /' conftest.$ac_ext >&5
35016
35017 ac_cv_type_mbstate_t=no
35018 fi
35019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35020 fi
35021 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35022 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35023 if test $ac_cv_type_mbstate_t = yes; then
35024
35025 cat >>confdefs.h <<_ACEOF
35026 #define HAVE_MBSTATE_T 1
35027 _ACEOF
35028
35029
35030 for ac_func in wcsrtombs
35031 do
35032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35033 echo "$as_me:$LINENO: checking for $ac_func" >&5
35034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35035 if eval "test \"\${$as_ac_var+set}\" = set"; then
35036 echo $ECHO_N "(cached) $ECHO_C" >&6
35037 else
35038 cat >conftest.$ac_ext <<_ACEOF
35039 /* confdefs.h. */
35040 _ACEOF
35041 cat confdefs.h >>conftest.$ac_ext
35042 cat >>conftest.$ac_ext <<_ACEOF
35043 /* end confdefs.h. */
35044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35046 #define $ac_func innocuous_$ac_func
35047
35048 /* System header to define __stub macros and hopefully few prototypes,
35049 which can conflict with char $ac_func (); below.
35050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35051 <limits.h> exists even on freestanding compilers. */
35052
35053 #ifdef __STDC__
35054 # include <limits.h>
35055 #else
35056 # include <assert.h>
35057 #endif
35058
35059 #undef $ac_func
35060
35061 /* Override any gcc2 internal prototype to avoid an error. */
35062 #ifdef __cplusplus
35063 extern "C"
35064 {
35065 #endif
35066 /* We use char because int might match the return type of a gcc2
35067 builtin and then its argument prototype would still apply. */
35068 char $ac_func ();
35069 /* The GNU C library defines this for functions which it implements
35070 to always fail with ENOSYS. Some functions are actually named
35071 something starting with __ and the normal name is an alias. */
35072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35073 choke me
35074 #else
35075 char (*f) () = $ac_func;
35076 #endif
35077 #ifdef __cplusplus
35078 }
35079 #endif
35080
35081 int
35082 main ()
35083 {
35084 return f != $ac_func;
35085 ;
35086 return 0;
35087 }
35088 _ACEOF
35089 rm -f conftest.$ac_objext conftest$ac_exeext
35090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35091 (eval $ac_link) 2>conftest.er1
35092 ac_status=$?
35093 grep -v '^ *+' conftest.er1 >conftest.err
35094 rm -f conftest.er1
35095 cat conftest.err >&5
35096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35097 (exit $ac_status); } &&
35098 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35100 (eval $ac_try) 2>&5
35101 ac_status=$?
35102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35103 (exit $ac_status); }; } &&
35104 { ac_try='test -s conftest$ac_exeext'
35105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35106 (eval $ac_try) 2>&5
35107 ac_status=$?
35108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35109 (exit $ac_status); }; }; then
35110 eval "$as_ac_var=yes"
35111 else
35112 echo "$as_me: failed program was:" >&5
35113 sed 's/^/| /' conftest.$ac_ext >&5
35114
35115 eval "$as_ac_var=no"
35116 fi
35117 rm -f conftest.err conftest.$ac_objext \
35118 conftest$ac_exeext conftest.$ac_ext
35119 fi
35120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35122 if test `eval echo '${'$as_ac_var'}'` = yes; then
35123 cat >>confdefs.h <<_ACEOF
35124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35125 _ACEOF
35126
35127 fi
35128 done
35129
35130 fi
35131
35132 else
35133 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35134 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35135 fi
35136
35137
35138
35139 for ac_func in snprintf vsnprintf
35140 do
35141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35142 echo "$as_me:$LINENO: checking for $ac_func" >&5
35143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35144 if eval "test \"\${$as_ac_var+set}\" = set"; then
35145 echo $ECHO_N "(cached) $ECHO_C" >&6
35146 else
35147 cat >conftest.$ac_ext <<_ACEOF
35148 /* confdefs.h. */
35149 _ACEOF
35150 cat confdefs.h >>conftest.$ac_ext
35151 cat >>conftest.$ac_ext <<_ACEOF
35152 /* end confdefs.h. */
35153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35155 #define $ac_func innocuous_$ac_func
35156
35157 /* System header to define __stub macros and hopefully few prototypes,
35158 which can conflict with char $ac_func (); below.
35159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35160 <limits.h> exists even on freestanding compilers. */
35161
35162 #ifdef __STDC__
35163 # include <limits.h>
35164 #else
35165 # include <assert.h>
35166 #endif
35167
35168 #undef $ac_func
35169
35170 /* Override any gcc2 internal prototype to avoid an error. */
35171 #ifdef __cplusplus
35172 extern "C"
35173 {
35174 #endif
35175 /* We use char because int might match the return type of a gcc2
35176 builtin and then its argument prototype would still apply. */
35177 char $ac_func ();
35178 /* The GNU C library defines this for functions which it implements
35179 to always fail with ENOSYS. Some functions are actually named
35180 something starting with __ and the normal name is an alias. */
35181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35182 choke me
35183 #else
35184 char (*f) () = $ac_func;
35185 #endif
35186 #ifdef __cplusplus
35187 }
35188 #endif
35189
35190 int
35191 main ()
35192 {
35193 return f != $ac_func;
35194 ;
35195 return 0;
35196 }
35197 _ACEOF
35198 rm -f conftest.$ac_objext conftest$ac_exeext
35199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35200 (eval $ac_link) 2>conftest.er1
35201 ac_status=$?
35202 grep -v '^ *+' conftest.er1 >conftest.err
35203 rm -f conftest.er1
35204 cat conftest.err >&5
35205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35206 (exit $ac_status); } &&
35207 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35209 (eval $ac_try) 2>&5
35210 ac_status=$?
35211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35212 (exit $ac_status); }; } &&
35213 { ac_try='test -s conftest$ac_exeext'
35214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35215 (eval $ac_try) 2>&5
35216 ac_status=$?
35217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35218 (exit $ac_status); }; }; then
35219 eval "$as_ac_var=yes"
35220 else
35221 echo "$as_me: failed program was:" >&5
35222 sed 's/^/| /' conftest.$ac_ext >&5
35223
35224 eval "$as_ac_var=no"
35225 fi
35226 rm -f conftest.err conftest.$ac_objext \
35227 conftest$ac_exeext conftest.$ac_ext
35228 fi
35229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35231 if test `eval echo '${'$as_ac_var'}'` = yes; then
35232 cat >>confdefs.h <<_ACEOF
35233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35234 _ACEOF
35235
35236 fi
35237 done
35238
35239
35240 if test "$ac_cv_func_vsnprintf" = "yes"; then
35241 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35242 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35243 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35244 echo $ECHO_N "(cached) $ECHO_C" >&6
35245 else
35246
35247 cat >conftest.$ac_ext <<_ACEOF
35248 /* confdefs.h. */
35249 _ACEOF
35250 cat confdefs.h >>conftest.$ac_ext
35251 cat >>conftest.$ac_ext <<_ACEOF
35252 /* end confdefs.h. */
35253
35254 #include <stdio.h>
35255 #include <stdarg.h>
35256 #ifdef __MSL__
35257 #if __MSL__ >= 0x6000
35258 namespace std {}
35259 using namespace std;
35260 #endif
35261 #endif
35262
35263 int
35264 main ()
35265 {
35266
35267 char *buf;
35268 va_list ap;
35269 vsnprintf(buf, 10u, "%s", ap);
35270
35271 ;
35272 return 0;
35273 }
35274 _ACEOF
35275 rm -f conftest.$ac_objext
35276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35277 (eval $ac_compile) 2>conftest.er1
35278 ac_status=$?
35279 grep -v '^ *+' conftest.er1 >conftest.err
35280 rm -f conftest.er1
35281 cat conftest.err >&5
35282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35283 (exit $ac_status); } &&
35284 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35286 (eval $ac_try) 2>&5
35287 ac_status=$?
35288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35289 (exit $ac_status); }; } &&
35290 { ac_try='test -s conftest.$ac_objext'
35291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35292 (eval $ac_try) 2>&5
35293 ac_status=$?
35294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35295 (exit $ac_status); }; }; then
35296 wx_cv_func_vsnprintf_decl=yes
35297 else
35298 echo "$as_me: failed program was:" >&5
35299 sed 's/^/| /' conftest.$ac_ext >&5
35300
35301 wx_cv_func_vsnprintf_decl=no
35302
35303 fi
35304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35305
35306
35307 fi
35308 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35309 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35310
35311 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35312 cat >>confdefs.h <<\_ACEOF
35313 #define HAVE_VSNPRINTF_DECL 1
35314 _ACEOF
35315
35316
35317 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35318 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35319 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35320 echo $ECHO_N "(cached) $ECHO_C" >&6
35321 else
35322
35323 cat >conftest.$ac_ext <<_ACEOF
35324 /* confdefs.h. */
35325 _ACEOF
35326 cat confdefs.h >>conftest.$ac_ext
35327 cat >>conftest.$ac_ext <<_ACEOF
35328 /* end confdefs.h. */
35329
35330 #include <stdio.h>
35331 #include <stdarg.h>
35332 #ifdef __MSL__
35333 #if __MSL__ >= 0x6000
35334 namespace std {}
35335 using namespace std;
35336 #endif
35337 #endif
35338
35339 int
35340 main ()
35341 {
35342
35343 char *buf;
35344 va_list ap;
35345 const char *fmt = "%s";
35346 vsnprintf(buf, 10u, fmt, ap);
35347
35348 ;
35349 return 0;
35350 }
35351 _ACEOF
35352 rm -f conftest.$ac_objext
35353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35354 (eval $ac_compile) 2>conftest.er1
35355 ac_status=$?
35356 grep -v '^ *+' conftest.er1 >conftest.err
35357 rm -f conftest.er1
35358 cat conftest.err >&5
35359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35360 (exit $ac_status); } &&
35361 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35363 (eval $ac_try) 2>&5
35364 ac_status=$?
35365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35366 (exit $ac_status); }; } &&
35367 { ac_try='test -s conftest.$ac_objext'
35368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35369 (eval $ac_try) 2>&5
35370 ac_status=$?
35371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35372 (exit $ac_status); }; }; then
35373 wx_cv_func_broken_vsnprintf_decl=no
35374 else
35375 echo "$as_me: failed program was:" >&5
35376 sed 's/^/| /' conftest.$ac_ext >&5
35377
35378 wx_cv_func_broken_vsnprintf_decl=yes
35379
35380 fi
35381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35382
35383
35384 fi
35385 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35386 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35387
35388 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35389 cat >>confdefs.h <<\_ACEOF
35390 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35391 _ACEOF
35392
35393 fi
35394 fi
35395 fi
35396
35397 if test "$ac_cv_func_snprintf" = "yes"; then
35398 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35399 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35400 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35401 echo $ECHO_N "(cached) $ECHO_C" >&6
35402 else
35403
35404 cat >conftest.$ac_ext <<_ACEOF
35405 /* confdefs.h. */
35406 _ACEOF
35407 cat confdefs.h >>conftest.$ac_ext
35408 cat >>conftest.$ac_ext <<_ACEOF
35409 /* end confdefs.h. */
35410
35411 #include <stdio.h>
35412 #include <stdarg.h>
35413 #ifdef __MSL__
35414 #if __MSL__ >= 0x6000
35415 namespace std {}
35416 using namespace std;
35417 #endif
35418 #endif
35419
35420 int
35421 main ()
35422 {
35423
35424 char *buf;
35425 snprintf(buf, 10u, "%s", "wx");
35426
35427 ;
35428 return 0;
35429 }
35430 _ACEOF
35431 rm -f conftest.$ac_objext
35432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35433 (eval $ac_compile) 2>conftest.er1
35434 ac_status=$?
35435 grep -v '^ *+' conftest.er1 >conftest.err
35436 rm -f conftest.er1
35437 cat conftest.err >&5
35438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35439 (exit $ac_status); } &&
35440 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35442 (eval $ac_try) 2>&5
35443 ac_status=$?
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); }; } &&
35446 { ac_try='test -s conftest.$ac_objext'
35447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35448 (eval $ac_try) 2>&5
35449 ac_status=$?
35450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35451 (exit $ac_status); }; }; then
35452 wx_cv_func_snprintf_decl=yes
35453 else
35454 echo "$as_me: failed program was:" >&5
35455 sed 's/^/| /' conftest.$ac_ext >&5
35456
35457 wx_cv_func_snprintf_decl=no
35458
35459 fi
35460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35461
35462
35463 fi
35464 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35465 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35466
35467 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35468 cat >>confdefs.h <<\_ACEOF
35469 #define HAVE_SNPRINTF_DECL 1
35470 _ACEOF
35471
35472
35473 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35474 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35475 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35476 echo $ECHO_N "(cached) $ECHO_C" >&6
35477 else
35478
35479 cat >conftest.$ac_ext <<_ACEOF
35480 /* confdefs.h. */
35481 _ACEOF
35482 cat confdefs.h >>conftest.$ac_ext
35483 cat >>conftest.$ac_ext <<_ACEOF
35484 /* end confdefs.h. */
35485
35486 #include <stdio.h>
35487 #include <stdarg.h>
35488 #ifdef __MSL__
35489 #if __MSL__ >= 0x6000
35490 namespace std {}
35491 using namespace std;
35492 #endif
35493 #endif
35494
35495 int
35496 main ()
35497 {
35498
35499 char *buf;
35500 const char *fmt = "%s";
35501 snprintf(buf, 10u, fmt, "wx");
35502
35503 ;
35504 return 0;
35505 }
35506 _ACEOF
35507 rm -f conftest.$ac_objext
35508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35509 (eval $ac_compile) 2>conftest.er1
35510 ac_status=$?
35511 grep -v '^ *+' conftest.er1 >conftest.err
35512 rm -f conftest.er1
35513 cat conftest.err >&5
35514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35515 (exit $ac_status); } &&
35516 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35518 (eval $ac_try) 2>&5
35519 ac_status=$?
35520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35521 (exit $ac_status); }; } &&
35522 { ac_try='test -s conftest.$ac_objext'
35523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35524 (eval $ac_try) 2>&5
35525 ac_status=$?
35526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35527 (exit $ac_status); }; }; then
35528 wx_cv_func_broken_snprintf_decl=no
35529 else
35530 echo "$as_me: failed program was:" >&5
35531 sed 's/^/| /' conftest.$ac_ext >&5
35532
35533 wx_cv_func_broken_snprintf_decl=yes
35534
35535 fi
35536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35537
35538
35539 fi
35540 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35541 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35542
35543 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35544 cat >>confdefs.h <<\_ACEOF
35545 #define HAVE_BROKEN_SNPRINTF_DECL 1
35546 _ACEOF
35547
35548 fi
35549 fi
35550
35551 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35552
35553 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35554 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35555 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35556 echo $ECHO_N "(cached) $ECHO_C" >&6
35557 else
35558
35559 if test "$cross_compiling" = yes; then
35560
35561 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35562 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35563 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35564 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35565 wx_cv_func_snprintf_pos_params=no
35566
35567
35568 else
35569 cat >conftest.$ac_ext <<_ACEOF
35570 /* confdefs.h. */
35571 _ACEOF
35572 cat confdefs.h >>conftest.$ac_ext
35573 cat >>conftest.$ac_ext <<_ACEOF
35574 /* end confdefs.h. */
35575
35576 #include <stdio.h>
35577
35578 int main (void)
35579 {
35580 char buffer[128];
35581 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35582 if (strcmp ("2 3 1", buffer) == 0)
35583 exit (0);
35584 exit (1);
35585 }
35586
35587 _ACEOF
35588 rm -f conftest$ac_exeext
35589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35590 (eval $ac_link) 2>&5
35591 ac_status=$?
35592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35593 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35595 (eval $ac_try) 2>&5
35596 ac_status=$?
35597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35598 (exit $ac_status); }; }; then
35599 wx_cv_func_snprintf_pos_params=no
35600 else
35601 echo "$as_me: program exited with status $ac_status" >&5
35602 echo "$as_me: failed program was:" >&5
35603 sed 's/^/| /' conftest.$ac_ext >&5
35604
35605 ( exit $ac_status )
35606 wx_cv_func_snprintf_pos_params=yes
35607 fi
35608 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35609 fi
35610
35611
35612 fi
35613 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35614 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35615
35616 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35617 cat >>confdefs.h <<\_ACEOF
35618 #define HAVE_UNIX98_PRINTF 1
35619 _ACEOF
35620
35621 fi
35622 fi
35623 fi
35624
35625 if test "$wxUSE_UNICODE" = yes; then
35626
35627
35628 for ac_func in swprintf
35629 do
35630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35631 echo "$as_me:$LINENO: checking for $ac_func" >&5
35632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35633 if eval "test \"\${$as_ac_var+set}\" = set"; then
35634 echo $ECHO_N "(cached) $ECHO_C" >&6
35635 else
35636 cat >conftest.$ac_ext <<_ACEOF
35637 /* confdefs.h. */
35638 _ACEOF
35639 cat confdefs.h >>conftest.$ac_ext
35640 cat >>conftest.$ac_ext <<_ACEOF
35641 /* end confdefs.h. */
35642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35644 #define $ac_func innocuous_$ac_func
35645
35646 /* System header to define __stub macros and hopefully few prototypes,
35647 which can conflict with char $ac_func (); below.
35648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35649 <limits.h> exists even on freestanding compilers. */
35650
35651 #ifdef __STDC__
35652 # include <limits.h>
35653 #else
35654 # include <assert.h>
35655 #endif
35656
35657 #undef $ac_func
35658
35659 /* Override any gcc2 internal prototype to avoid an error. */
35660 #ifdef __cplusplus
35661 extern "C"
35662 {
35663 #endif
35664 /* We use char because int might match the return type of a gcc2
35665 builtin and then its argument prototype would still apply. */
35666 char $ac_func ();
35667 /* The GNU C library defines this for functions which it implements
35668 to always fail with ENOSYS. Some functions are actually named
35669 something starting with __ and the normal name is an alias. */
35670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35671 choke me
35672 #else
35673 char (*f) () = $ac_func;
35674 #endif
35675 #ifdef __cplusplus
35676 }
35677 #endif
35678
35679 int
35680 main ()
35681 {
35682 return f != $ac_func;
35683 ;
35684 return 0;
35685 }
35686 _ACEOF
35687 rm -f conftest.$ac_objext conftest$ac_exeext
35688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35689 (eval $ac_link) 2>conftest.er1
35690 ac_status=$?
35691 grep -v '^ *+' conftest.er1 >conftest.err
35692 rm -f conftest.er1
35693 cat conftest.err >&5
35694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35695 (exit $ac_status); } &&
35696 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35698 (eval $ac_try) 2>&5
35699 ac_status=$?
35700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35701 (exit $ac_status); }; } &&
35702 { ac_try='test -s conftest$ac_exeext'
35703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35704 (eval $ac_try) 2>&5
35705 ac_status=$?
35706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35707 (exit $ac_status); }; }; then
35708 eval "$as_ac_var=yes"
35709 else
35710 echo "$as_me: failed program was:" >&5
35711 sed 's/^/| /' conftest.$ac_ext >&5
35712
35713 eval "$as_ac_var=no"
35714 fi
35715 rm -f conftest.err conftest.$ac_objext \
35716 conftest$ac_exeext conftest.$ac_ext
35717 fi
35718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35720 if test `eval echo '${'$as_ac_var'}'` = yes; then
35721 cat >>confdefs.h <<_ACEOF
35722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35723 _ACEOF
35724
35725 fi
35726 done
35727
35728
35729 if test "$ac_cv_func_swprintf" = "yes"; then
35730 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35731 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35732 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35733 echo $ECHO_N "(cached) $ECHO_C" >&6
35734 else
35735
35736 cat >conftest.$ac_ext <<_ACEOF
35737 /* confdefs.h. */
35738 _ACEOF
35739 cat confdefs.h >>conftest.$ac_ext
35740 cat >>conftest.$ac_ext <<_ACEOF
35741 /* end confdefs.h. */
35742
35743 #include <stdio.h>
35744 #include <stdarg.h>
35745 #include <wchar.h>
35746
35747 int
35748 main ()
35749 {
35750
35751 wchar_t *buf;
35752 const wchar_t *fmt = L"test";
35753 swprintf(buf, 10u, fmt);
35754
35755 ;
35756 return 0;
35757 }
35758 _ACEOF
35759 rm -f conftest.$ac_objext
35760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35761 (eval $ac_compile) 2>conftest.er1
35762 ac_status=$?
35763 grep -v '^ *+' conftest.er1 >conftest.err
35764 rm -f conftest.er1
35765 cat conftest.err >&5
35766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35767 (exit $ac_status); } &&
35768 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35770 (eval $ac_try) 2>&5
35771 ac_status=$?
35772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35773 (exit $ac_status); }; } &&
35774 { ac_try='test -s conftest.$ac_objext'
35775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35776 (eval $ac_try) 2>&5
35777 ac_status=$?
35778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35779 (exit $ac_status); }; }; then
35780 wx_cv_func_broken_swprintf_decl=no
35781 else
35782 echo "$as_me: failed program was:" >&5
35783 sed 's/^/| /' conftest.$ac_ext >&5
35784
35785 wx_cv_func_broken_swprintf_decl=yes
35786
35787 fi
35788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35789
35790
35791 fi
35792 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35793 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35794
35795 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35796 cat >>confdefs.h <<\_ACEOF
35797 #define HAVE_BROKEN_SWPRINTF_DECL 1
35798 _ACEOF
35799
35800 fi
35801 fi
35802
35803
35804
35805
35806
35807
35808
35809 for ac_func in wputc wputchar putws fputws wprintf vswprintf
35810 do
35811 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35812 echo "$as_me:$LINENO: checking for $ac_func" >&5
35813 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35814 if eval "test \"\${$as_ac_var+set}\" = set"; then
35815 echo $ECHO_N "(cached) $ECHO_C" >&6
35816 else
35817 cat >conftest.$ac_ext <<_ACEOF
35818 /* confdefs.h. */
35819 _ACEOF
35820 cat confdefs.h >>conftest.$ac_ext
35821 cat >>conftest.$ac_ext <<_ACEOF
35822 /* end confdefs.h. */
35823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35825 #define $ac_func innocuous_$ac_func
35826
35827 /* System header to define __stub macros and hopefully few prototypes,
35828 which can conflict with char $ac_func (); below.
35829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35830 <limits.h> exists even on freestanding compilers. */
35831
35832 #ifdef __STDC__
35833 # include <limits.h>
35834 #else
35835 # include <assert.h>
35836 #endif
35837
35838 #undef $ac_func
35839
35840 /* Override any gcc2 internal prototype to avoid an error. */
35841 #ifdef __cplusplus
35842 extern "C"
35843 {
35844 #endif
35845 /* We use char because int might match the return type of a gcc2
35846 builtin and then its argument prototype would still apply. */
35847 char $ac_func ();
35848 /* The GNU C library defines this for functions which it implements
35849 to always fail with ENOSYS. Some functions are actually named
35850 something starting with __ and the normal name is an alias. */
35851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35852 choke me
35853 #else
35854 char (*f) () = $ac_func;
35855 #endif
35856 #ifdef __cplusplus
35857 }
35858 #endif
35859
35860 int
35861 main ()
35862 {
35863 return f != $ac_func;
35864 ;
35865 return 0;
35866 }
35867 _ACEOF
35868 rm -f conftest.$ac_objext conftest$ac_exeext
35869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35870 (eval $ac_link) 2>conftest.er1
35871 ac_status=$?
35872 grep -v '^ *+' conftest.er1 >conftest.err
35873 rm -f conftest.er1
35874 cat conftest.err >&5
35875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35876 (exit $ac_status); } &&
35877 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35879 (eval $ac_try) 2>&5
35880 ac_status=$?
35881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35882 (exit $ac_status); }; } &&
35883 { ac_try='test -s conftest$ac_exeext'
35884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35885 (eval $ac_try) 2>&5
35886 ac_status=$?
35887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35888 (exit $ac_status); }; }; then
35889 eval "$as_ac_var=yes"
35890 else
35891 echo "$as_me: failed program was:" >&5
35892 sed 's/^/| /' conftest.$ac_ext >&5
35893
35894 eval "$as_ac_var=no"
35895 fi
35896 rm -f conftest.err conftest.$ac_objext \
35897 conftest$ac_exeext conftest.$ac_ext
35898 fi
35899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35901 if test `eval echo '${'$as_ac_var'}'` = yes; then
35902 cat >>confdefs.h <<_ACEOF
35903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35904 _ACEOF
35905
35906 fi
35907 done
35908
35909
35910 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35911 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35912 cat >conftest.$ac_ext <<_ACEOF
35913 /* confdefs.h. */
35914 _ACEOF
35915 cat confdefs.h >>conftest.$ac_ext
35916 cat >>conftest.$ac_ext <<_ACEOF
35917 /* end confdefs.h. */
35918 #include <wchar.h>
35919 int
35920 main ()
35921 {
35922 &_vsnwprintf;
35923 ;
35924 return 0;
35925 }
35926 _ACEOF
35927 rm -f conftest.$ac_objext
35928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35929 (eval $ac_compile) 2>conftest.er1
35930 ac_status=$?
35931 grep -v '^ *+' conftest.er1 >conftest.err
35932 rm -f conftest.er1
35933 cat conftest.err >&5
35934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35935 (exit $ac_status); } &&
35936 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35938 (eval $ac_try) 2>&5
35939 ac_status=$?
35940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35941 (exit $ac_status); }; } &&
35942 { ac_try='test -s conftest.$ac_objext'
35943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35944 (eval $ac_try) 2>&5
35945 ac_status=$?
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); }; }; then
35948 echo "$as_me:$LINENO: result: yes" >&5
35949 echo "${ECHO_T}yes" >&6
35950 cat >>confdefs.h <<\_ACEOF
35951 #define HAVE__VSNWPRINTF 1
35952 _ACEOF
35953
35954 else
35955 echo "$as_me: failed program was:" >&5
35956 sed 's/^/| /' conftest.$ac_ext >&5
35957
35958 echo "$as_me:$LINENO: result: no" >&5
35959 echo "${ECHO_T}no" >&6
35960 fi
35961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35962 fi
35963
35964 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35965
35966 for ac_func in fnmatch
35967 do
35968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35969 echo "$as_me:$LINENO: checking for $ac_func" >&5
35970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35971 if eval "test \"\${$as_ac_var+set}\" = set"; then
35972 echo $ECHO_N "(cached) $ECHO_C" >&6
35973 else
35974 cat >conftest.$ac_ext <<_ACEOF
35975 /* confdefs.h. */
35976 _ACEOF
35977 cat confdefs.h >>conftest.$ac_ext
35978 cat >>conftest.$ac_ext <<_ACEOF
35979 /* end confdefs.h. */
35980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35982 #define $ac_func innocuous_$ac_func
35983
35984 /* System header to define __stub macros and hopefully few prototypes,
35985 which can conflict with char $ac_func (); below.
35986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35987 <limits.h> exists even on freestanding compilers. */
35988
35989 #ifdef __STDC__
35990 # include <limits.h>
35991 #else
35992 # include <assert.h>
35993 #endif
35994
35995 #undef $ac_func
35996
35997 /* Override any gcc2 internal prototype to avoid an error. */
35998 #ifdef __cplusplus
35999 extern "C"
36000 {
36001 #endif
36002 /* We use char because int might match the return type of a gcc2
36003 builtin and then its argument prototype would still apply. */
36004 char $ac_func ();
36005 /* The GNU C library defines this for functions which it implements
36006 to always fail with ENOSYS. Some functions are actually named
36007 something starting with __ and the normal name is an alias. */
36008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36009 choke me
36010 #else
36011 char (*f) () = $ac_func;
36012 #endif
36013 #ifdef __cplusplus
36014 }
36015 #endif
36016
36017 int
36018 main ()
36019 {
36020 return f != $ac_func;
36021 ;
36022 return 0;
36023 }
36024 _ACEOF
36025 rm -f conftest.$ac_objext conftest$ac_exeext
36026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36027 (eval $ac_link) 2>conftest.er1
36028 ac_status=$?
36029 grep -v '^ *+' conftest.er1 >conftest.err
36030 rm -f conftest.er1
36031 cat conftest.err >&5
36032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36033 (exit $ac_status); } &&
36034 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36036 (eval $ac_try) 2>&5
36037 ac_status=$?
36038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36039 (exit $ac_status); }; } &&
36040 { ac_try='test -s conftest$ac_exeext'
36041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36042 (eval $ac_try) 2>&5
36043 ac_status=$?
36044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36045 (exit $ac_status); }; }; then
36046 eval "$as_ac_var=yes"
36047 else
36048 echo "$as_me: failed program was:" >&5
36049 sed 's/^/| /' conftest.$ac_ext >&5
36050
36051 eval "$as_ac_var=no"
36052 fi
36053 rm -f conftest.err conftest.$ac_objext \
36054 conftest$ac_exeext conftest.$ac_ext
36055 fi
36056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36057 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36058 if test `eval echo '${'$as_ac_var'}'` = yes; then
36059 cat >>confdefs.h <<_ACEOF
36060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36061 _ACEOF
36062
36063 fi
36064 done
36065
36066 fi
36067
36068 if test "$wxUSE_FILE" = "yes"; then
36069
36070 for ac_func in fsync
36071 do
36072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36073 echo "$as_me:$LINENO: checking for $ac_func" >&5
36074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36075 if eval "test \"\${$as_ac_var+set}\" = set"; then
36076 echo $ECHO_N "(cached) $ECHO_C" >&6
36077 else
36078 cat >conftest.$ac_ext <<_ACEOF
36079 /* confdefs.h. */
36080 _ACEOF
36081 cat confdefs.h >>conftest.$ac_ext
36082 cat >>conftest.$ac_ext <<_ACEOF
36083 /* end confdefs.h. */
36084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36086 #define $ac_func innocuous_$ac_func
36087
36088 /* System header to define __stub macros and hopefully few prototypes,
36089 which can conflict with char $ac_func (); below.
36090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36091 <limits.h> exists even on freestanding compilers. */
36092
36093 #ifdef __STDC__
36094 # include <limits.h>
36095 #else
36096 # include <assert.h>
36097 #endif
36098
36099 #undef $ac_func
36100
36101 /* Override any gcc2 internal prototype to avoid an error. */
36102 #ifdef __cplusplus
36103 extern "C"
36104 {
36105 #endif
36106 /* We use char because int might match the return type of a gcc2
36107 builtin and then its argument prototype would still apply. */
36108 char $ac_func ();
36109 /* The GNU C library defines this for functions which it implements
36110 to always fail with ENOSYS. Some functions are actually named
36111 something starting with __ and the normal name is an alias. */
36112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36113 choke me
36114 #else
36115 char (*f) () = $ac_func;
36116 #endif
36117 #ifdef __cplusplus
36118 }
36119 #endif
36120
36121 int
36122 main ()
36123 {
36124 return f != $ac_func;
36125 ;
36126 return 0;
36127 }
36128 _ACEOF
36129 rm -f conftest.$ac_objext conftest$ac_exeext
36130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36131 (eval $ac_link) 2>conftest.er1
36132 ac_status=$?
36133 grep -v '^ *+' conftest.er1 >conftest.err
36134 rm -f conftest.er1
36135 cat conftest.err >&5
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); } &&
36138 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36140 (eval $ac_try) 2>&5
36141 ac_status=$?
36142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36143 (exit $ac_status); }; } &&
36144 { ac_try='test -s conftest$ac_exeext'
36145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36146 (eval $ac_try) 2>&5
36147 ac_status=$?
36148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36149 (exit $ac_status); }; }; then
36150 eval "$as_ac_var=yes"
36151 else
36152 echo "$as_me: failed program was:" >&5
36153 sed 's/^/| /' conftest.$ac_ext >&5
36154
36155 eval "$as_ac_var=no"
36156 fi
36157 rm -f conftest.err conftest.$ac_objext \
36158 conftest$ac_exeext conftest.$ac_ext
36159 fi
36160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36162 if test `eval echo '${'$as_ac_var'}'` = yes; then
36163 cat >>confdefs.h <<_ACEOF
36164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36165 _ACEOF
36166
36167 fi
36168 done
36169
36170 fi
36171
36172
36173 for ac_func in round
36174 do
36175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36176 echo "$as_me:$LINENO: checking for $ac_func" >&5
36177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36178 if eval "test \"\${$as_ac_var+set}\" = set"; then
36179 echo $ECHO_N "(cached) $ECHO_C" >&6
36180 else
36181 cat >conftest.$ac_ext <<_ACEOF
36182 /* confdefs.h. */
36183 _ACEOF
36184 cat confdefs.h >>conftest.$ac_ext
36185 cat >>conftest.$ac_ext <<_ACEOF
36186 /* end confdefs.h. */
36187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36189 #define $ac_func innocuous_$ac_func
36190
36191 /* System header to define __stub macros and hopefully few prototypes,
36192 which can conflict with char $ac_func (); below.
36193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36194 <limits.h> exists even on freestanding compilers. */
36195
36196 #ifdef __STDC__
36197 # include <limits.h>
36198 #else
36199 # include <assert.h>
36200 #endif
36201
36202 #undef $ac_func
36203
36204 /* Override any gcc2 internal prototype to avoid an error. */
36205 #ifdef __cplusplus
36206 extern "C"
36207 {
36208 #endif
36209 /* We use char because int might match the return type of a gcc2
36210 builtin and then its argument prototype would still apply. */
36211 char $ac_func ();
36212 /* The GNU C library defines this for functions which it implements
36213 to always fail with ENOSYS. Some functions are actually named
36214 something starting with __ and the normal name is an alias. */
36215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36216 choke me
36217 #else
36218 char (*f) () = $ac_func;
36219 #endif
36220 #ifdef __cplusplus
36221 }
36222 #endif
36223
36224 int
36225 main ()
36226 {
36227 return f != $ac_func;
36228 ;
36229 return 0;
36230 }
36231 _ACEOF
36232 rm -f conftest.$ac_objext conftest$ac_exeext
36233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36234 (eval $ac_link) 2>conftest.er1
36235 ac_status=$?
36236 grep -v '^ *+' conftest.er1 >conftest.err
36237 rm -f conftest.er1
36238 cat conftest.err >&5
36239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36240 (exit $ac_status); } &&
36241 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36243 (eval $ac_try) 2>&5
36244 ac_status=$?
36245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246 (exit $ac_status); }; } &&
36247 { ac_try='test -s conftest$ac_exeext'
36248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36249 (eval $ac_try) 2>&5
36250 ac_status=$?
36251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36252 (exit $ac_status); }; }; then
36253 eval "$as_ac_var=yes"
36254 else
36255 echo "$as_me: failed program was:" >&5
36256 sed 's/^/| /' conftest.$ac_ext >&5
36257
36258 eval "$as_ac_var=no"
36259 fi
36260 rm -f conftest.err conftest.$ac_objext \
36261 conftest$ac_exeext conftest.$ac_ext
36262 fi
36263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36265 if test `eval echo '${'$as_ac_var'}'` = yes; then
36266 cat >>confdefs.h <<_ACEOF
36267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36268 _ACEOF
36269
36270 fi
36271 done
36272
36273 if test "$ac_cv_func_round" = yes; then
36274 echo "$as_me:$LINENO: checking whether round is declared" >&5
36275 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36276 if test "${ac_cv_have_decl_round+set}" = set; then
36277 echo $ECHO_N "(cached) $ECHO_C" >&6
36278 else
36279 cat >conftest.$ac_ext <<_ACEOF
36280 /* confdefs.h. */
36281 _ACEOF
36282 cat confdefs.h >>conftest.$ac_ext
36283 cat >>conftest.$ac_ext <<_ACEOF
36284 /* end confdefs.h. */
36285 #include <math.h>
36286
36287 int
36288 main ()
36289 {
36290 #ifndef round
36291 char *p = (char *) round;
36292 #endif
36293
36294 ;
36295 return 0;
36296 }
36297 _ACEOF
36298 rm -f conftest.$ac_objext
36299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36300 (eval $ac_compile) 2>conftest.er1
36301 ac_status=$?
36302 grep -v '^ *+' conftest.er1 >conftest.err
36303 rm -f conftest.er1
36304 cat conftest.err >&5
36305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36306 (exit $ac_status); } &&
36307 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36309 (eval $ac_try) 2>&5
36310 ac_status=$?
36311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36312 (exit $ac_status); }; } &&
36313 { ac_try='test -s conftest.$ac_objext'
36314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36315 (eval $ac_try) 2>&5
36316 ac_status=$?
36317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36318 (exit $ac_status); }; }; then
36319 ac_cv_have_decl_round=yes
36320 else
36321 echo "$as_me: failed program was:" >&5
36322 sed 's/^/| /' conftest.$ac_ext >&5
36323
36324 ac_cv_have_decl_round=no
36325 fi
36326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36327 fi
36328 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36329 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36330 if test $ac_cv_have_decl_round = yes; then
36331
36332 cat >>confdefs.h <<_ACEOF
36333 #define HAVE_DECL_ROUND 1
36334 _ACEOF
36335
36336
36337 else
36338 cat >>confdefs.h <<_ACEOF
36339 #define HAVE_DECL_ROUND 0
36340 _ACEOF
36341
36342
36343 fi
36344
36345
36346 fi
36347
36348
36349 if test "$TOOLKIT" != "MSW"; then
36350
36351
36352
36353
36354
36355 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36356 if test "${with_libiconv_prefix+set}" = set; then
36357 withval="$with_libiconv_prefix"
36358
36359 for dir in `echo "$withval" | tr : ' '`; do
36360 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36361 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36362 done
36363
36364 fi;
36365
36366 echo "$as_me:$LINENO: checking for iconv" >&5
36367 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36368 if test "${am_cv_func_iconv+set}" = set; then
36369 echo $ECHO_N "(cached) $ECHO_C" >&6
36370 else
36371
36372 am_cv_func_iconv="no, consider installing GNU libiconv"
36373 am_cv_lib_iconv=no
36374 cat >conftest.$ac_ext <<_ACEOF
36375 /* confdefs.h. */
36376 _ACEOF
36377 cat confdefs.h >>conftest.$ac_ext
36378 cat >>conftest.$ac_ext <<_ACEOF
36379 /* end confdefs.h. */
36380 #include <stdlib.h>
36381 #include <iconv.h>
36382 int
36383 main ()
36384 {
36385 iconv_t cd = iconv_open("","");
36386 iconv(cd,NULL,NULL,NULL,NULL);
36387 iconv_close(cd);
36388 ;
36389 return 0;
36390 }
36391 _ACEOF
36392 rm -f conftest.$ac_objext conftest$ac_exeext
36393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36394 (eval $ac_link) 2>conftest.er1
36395 ac_status=$?
36396 grep -v '^ *+' conftest.er1 >conftest.err
36397 rm -f conftest.er1
36398 cat conftest.err >&5
36399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36400 (exit $ac_status); } &&
36401 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36403 (eval $ac_try) 2>&5
36404 ac_status=$?
36405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36406 (exit $ac_status); }; } &&
36407 { ac_try='test -s conftest$ac_exeext'
36408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36409 (eval $ac_try) 2>&5
36410 ac_status=$?
36411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36412 (exit $ac_status); }; }; then
36413 am_cv_func_iconv=yes
36414 else
36415 echo "$as_me: failed program was:" >&5
36416 sed 's/^/| /' conftest.$ac_ext >&5
36417
36418 fi
36419 rm -f conftest.err conftest.$ac_objext \
36420 conftest$ac_exeext conftest.$ac_ext
36421 if test "$am_cv_func_iconv" != yes; then
36422 am_save_LIBS="$LIBS"
36423 LIBS="$LIBS -liconv"
36424 cat >conftest.$ac_ext <<_ACEOF
36425 /* confdefs.h. */
36426 _ACEOF
36427 cat confdefs.h >>conftest.$ac_ext
36428 cat >>conftest.$ac_ext <<_ACEOF
36429 /* end confdefs.h. */
36430 #include <stdlib.h>
36431 #include <iconv.h>
36432 int
36433 main ()
36434 {
36435 iconv_t cd = iconv_open("","");
36436 iconv(cd,NULL,NULL,NULL,NULL);
36437 iconv_close(cd);
36438 ;
36439 return 0;
36440 }
36441 _ACEOF
36442 rm -f conftest.$ac_objext conftest$ac_exeext
36443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36444 (eval $ac_link) 2>conftest.er1
36445 ac_status=$?
36446 grep -v '^ *+' conftest.er1 >conftest.err
36447 rm -f conftest.er1
36448 cat conftest.err >&5
36449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36450 (exit $ac_status); } &&
36451 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36453 (eval $ac_try) 2>&5
36454 ac_status=$?
36455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36456 (exit $ac_status); }; } &&
36457 { ac_try='test -s conftest$ac_exeext'
36458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36459 (eval $ac_try) 2>&5
36460 ac_status=$?
36461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36462 (exit $ac_status); }; }; then
36463 am_cv_lib_iconv=yes
36464 am_cv_func_iconv=yes
36465 else
36466 echo "$as_me: failed program was:" >&5
36467 sed 's/^/| /' conftest.$ac_ext >&5
36468
36469 fi
36470 rm -f conftest.err conftest.$ac_objext \
36471 conftest$ac_exeext conftest.$ac_ext
36472 LIBS="$am_save_LIBS"
36473 fi
36474
36475 fi
36476 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36477 echo "${ECHO_T}$am_cv_func_iconv" >&6
36478 if test "$am_cv_func_iconv" = yes; then
36479
36480 cat >>confdefs.h <<\_ACEOF
36481 #define HAVE_ICONV 1
36482 _ACEOF
36483
36484 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36485 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36486 if test "${wx_cv_func_iconv_const+set}" = set; then
36487 echo $ECHO_N "(cached) $ECHO_C" >&6
36488 else
36489 cat >conftest.$ac_ext <<_ACEOF
36490 /* confdefs.h. */
36491 _ACEOF
36492 cat confdefs.h >>conftest.$ac_ext
36493 cat >>conftest.$ac_ext <<_ACEOF
36494 /* end confdefs.h. */
36495
36496 #include <stdlib.h>
36497 #include <iconv.h>
36498 extern
36499 #ifdef __cplusplus
36500 "C"
36501 #endif
36502 #if defined(__STDC__) || defined(__cplusplus)
36503 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36504 #else
36505 size_t iconv();
36506 #endif
36507
36508 int
36509 main ()
36510 {
36511
36512 ;
36513 return 0;
36514 }
36515 _ACEOF
36516 rm -f conftest.$ac_objext
36517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36518 (eval $ac_compile) 2>conftest.er1
36519 ac_status=$?
36520 grep -v '^ *+' conftest.er1 >conftest.err
36521 rm -f conftest.er1
36522 cat conftest.err >&5
36523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36524 (exit $ac_status); } &&
36525 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36527 (eval $ac_try) 2>&5
36528 ac_status=$?
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); }; } &&
36531 { ac_try='test -s conftest.$ac_objext'
36532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36533 (eval $ac_try) 2>&5
36534 ac_status=$?
36535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36536 (exit $ac_status); }; }; then
36537 wx_cv_func_iconv_const="no"
36538 else
36539 echo "$as_me: failed program was:" >&5
36540 sed 's/^/| /' conftest.$ac_ext >&5
36541
36542 wx_cv_func_iconv_const="yes"
36543
36544 fi
36545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36546
36547 fi
36548 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36549 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36550
36551 iconv_const=
36552 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36553 iconv_const="const"
36554 fi
36555
36556
36557 cat >>confdefs.h <<_ACEOF
36558 #define ICONV_CONST $iconv_const
36559 _ACEOF
36560
36561 fi
36562 LIBICONV=
36563 if test "$am_cv_lib_iconv" = yes; then
36564 LIBICONV="-liconv"
36565 fi
36566
36567
36568 LIBS="$LIBICONV $LIBS"
36569
36570 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36571
36572 for ac_func in sigaction
36573 do
36574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36575 echo "$as_me:$LINENO: checking for $ac_func" >&5
36576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36577 if eval "test \"\${$as_ac_var+set}\" = set"; then
36578 echo $ECHO_N "(cached) $ECHO_C" >&6
36579 else
36580 cat >conftest.$ac_ext <<_ACEOF
36581 /* confdefs.h. */
36582 _ACEOF
36583 cat confdefs.h >>conftest.$ac_ext
36584 cat >>conftest.$ac_ext <<_ACEOF
36585 /* end confdefs.h. */
36586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36588 #define $ac_func innocuous_$ac_func
36589
36590 /* System header to define __stub macros and hopefully few prototypes,
36591 which can conflict with char $ac_func (); below.
36592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36593 <limits.h> exists even on freestanding compilers. */
36594
36595 #ifdef __STDC__
36596 # include <limits.h>
36597 #else
36598 # include <assert.h>
36599 #endif
36600
36601 #undef $ac_func
36602
36603 /* Override any gcc2 internal prototype to avoid an error. */
36604 #ifdef __cplusplus
36605 extern "C"
36606 {
36607 #endif
36608 /* We use char because int might match the return type of a gcc2
36609 builtin and then its argument prototype would still apply. */
36610 char $ac_func ();
36611 /* The GNU C library defines this for functions which it implements
36612 to always fail with ENOSYS. Some functions are actually named
36613 something starting with __ and the normal name is an alias. */
36614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36615 choke me
36616 #else
36617 char (*f) () = $ac_func;
36618 #endif
36619 #ifdef __cplusplus
36620 }
36621 #endif
36622
36623 int
36624 main ()
36625 {
36626 return f != $ac_func;
36627 ;
36628 return 0;
36629 }
36630 _ACEOF
36631 rm -f conftest.$ac_objext conftest$ac_exeext
36632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36633 (eval $ac_link) 2>conftest.er1
36634 ac_status=$?
36635 grep -v '^ *+' conftest.er1 >conftest.err
36636 rm -f conftest.er1
36637 cat conftest.err >&5
36638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36639 (exit $ac_status); } &&
36640 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36642 (eval $ac_try) 2>&5
36643 ac_status=$?
36644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36645 (exit $ac_status); }; } &&
36646 { ac_try='test -s conftest$ac_exeext'
36647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36648 (eval $ac_try) 2>&5
36649 ac_status=$?
36650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36651 (exit $ac_status); }; }; then
36652 eval "$as_ac_var=yes"
36653 else
36654 echo "$as_me: failed program was:" >&5
36655 sed 's/^/| /' conftest.$ac_ext >&5
36656
36657 eval "$as_ac_var=no"
36658 fi
36659 rm -f conftest.err conftest.$ac_objext \
36660 conftest$ac_exeext conftest.$ac_ext
36661 fi
36662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36664 if test `eval echo '${'$as_ac_var'}'` = yes; then
36665 cat >>confdefs.h <<_ACEOF
36666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36667 _ACEOF
36668
36669 fi
36670 done
36671
36672
36673 if test "$ac_cv_func_sigaction" = "no"; then
36674 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36675 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36676 wxUSE_ON_FATAL_EXCEPTION=no
36677 fi
36678
36679 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36680 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36681 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36682 if test "${wx_cv_type_sa_handler+set}" = set; then
36683 echo $ECHO_N "(cached) $ECHO_C" >&6
36684 else
36685
36686 cat >conftest.$ac_ext <<_ACEOF
36687 /* confdefs.h. */
36688 _ACEOF
36689 cat confdefs.h >>conftest.$ac_ext
36690 cat >>conftest.$ac_ext <<_ACEOF
36691 /* end confdefs.h. */
36692 #include <signal.h>
36693 int
36694 main ()
36695 {
36696
36697 extern void testSigHandler(int);
36698
36699 struct sigaction sa;
36700 sa.sa_handler = testSigHandler;
36701
36702 ;
36703 return 0;
36704 }
36705 _ACEOF
36706 rm -f conftest.$ac_objext
36707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36708 (eval $ac_compile) 2>conftest.er1
36709 ac_status=$?
36710 grep -v '^ *+' conftest.er1 >conftest.err
36711 rm -f conftest.er1
36712 cat conftest.err >&5
36713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714 (exit $ac_status); } &&
36715 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36717 (eval $ac_try) 2>&5
36718 ac_status=$?
36719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36720 (exit $ac_status); }; } &&
36721 { ac_try='test -s conftest.$ac_objext'
36722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36723 (eval $ac_try) 2>&5
36724 ac_status=$?
36725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36726 (exit $ac_status); }; }; then
36727
36728 wx_cv_type_sa_handler=int
36729
36730 else
36731 echo "$as_me: failed program was:" >&5
36732 sed 's/^/| /' conftest.$ac_ext >&5
36733
36734
36735 wx_cv_type_sa_handler=void
36736
36737 fi
36738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36739
36740 fi
36741 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36742 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36743
36744 cat >>confdefs.h <<_ACEOF
36745 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36746 _ACEOF
36747
36748 fi
36749 fi
36750
36751 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36752 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36753 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36754 if test "${wx_cv_func_backtrace+set}" = set; then
36755 echo $ECHO_N "(cached) $ECHO_C" >&6
36756 else
36757
36758 cat >conftest.$ac_ext <<_ACEOF
36759 /* confdefs.h. */
36760 _ACEOF
36761 cat confdefs.h >>conftest.$ac_ext
36762 cat >>conftest.$ac_ext <<_ACEOF
36763 /* end confdefs.h. */
36764 #include <execinfo.h>
36765 int
36766 main ()
36767 {
36768
36769 void *trace[1];
36770 char **messages;
36771
36772 backtrace(trace, 1);
36773 messages = backtrace_symbols(trace, 1);
36774
36775 ;
36776 return 0;
36777 }
36778 _ACEOF
36779 rm -f conftest.$ac_objext
36780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36781 (eval $ac_compile) 2>conftest.er1
36782 ac_status=$?
36783 grep -v '^ *+' conftest.er1 >conftest.err
36784 rm -f conftest.er1
36785 cat conftest.err >&5
36786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36787 (exit $ac_status); } &&
36788 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36790 (eval $ac_try) 2>&5
36791 ac_status=$?
36792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36793 (exit $ac_status); }; } &&
36794 { ac_try='test -s conftest.$ac_objext'
36795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36796 (eval $ac_try) 2>&5
36797 ac_status=$?
36798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799 (exit $ac_status); }; }; then
36800 wx_cv_func_backtrace=yes
36801 else
36802 echo "$as_me: failed program was:" >&5
36803 sed 's/^/| /' conftest.$ac_ext >&5
36804
36805 wx_cv_func_backtrace=no
36806
36807 fi
36808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36809
36810
36811 fi
36812 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36813 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36814
36815
36816 if test "$wx_cv_func_backtrace" = "no"; then
36817 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36818 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36819 wxUSE_STACKWALKER=no
36820 else
36821 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36822 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36823 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36824 echo $ECHO_N "(cached) $ECHO_C" >&6
36825 else
36826
36827 cat >conftest.$ac_ext <<_ACEOF
36828 /* confdefs.h. */
36829 _ACEOF
36830 cat confdefs.h >>conftest.$ac_ext
36831 cat >>conftest.$ac_ext <<_ACEOF
36832 /* end confdefs.h. */
36833 #include <cxxabi.h>
36834 int
36835 main ()
36836 {
36837
36838 int rc;
36839 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36840
36841 ;
36842 return 0;
36843 }
36844 _ACEOF
36845 rm -f conftest.$ac_objext conftest$ac_exeext
36846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36847 (eval $ac_link) 2>conftest.er1
36848 ac_status=$?
36849 grep -v '^ *+' conftest.er1 >conftest.err
36850 rm -f conftest.er1
36851 cat conftest.err >&5
36852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36853 (exit $ac_status); } &&
36854 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36856 (eval $ac_try) 2>&5
36857 ac_status=$?
36858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36859 (exit $ac_status); }; } &&
36860 { ac_try='test -s conftest$ac_exeext'
36861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36862 (eval $ac_try) 2>&5
36863 ac_status=$?
36864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865 (exit $ac_status); }; }; then
36866 wx_cv_func_cxa_demangle=yes
36867 else
36868 echo "$as_me: failed program was:" >&5
36869 sed 's/^/| /' conftest.$ac_ext >&5
36870
36871 wx_cv_func_cxa_demangle=no
36872
36873 fi
36874 rm -f conftest.err conftest.$ac_objext \
36875 conftest$ac_exeext conftest.$ac_ext
36876
36877
36878 fi
36879 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36880 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36881
36882 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36883 cat >>confdefs.h <<\_ACEOF
36884 #define HAVE_CXA_DEMANGLE 1
36885 _ACEOF
36886
36887 fi
36888 fi
36889 fi
36890
36891 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36892 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36893 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36894 wxUSE_STACKWALKER=no
36895 fi
36896
36897
36898
36899
36900 for ac_func in mkstemp mktemp
36901 do
36902 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36903 echo "$as_me:$LINENO: checking for $ac_func" >&5
36904 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36905 if eval "test \"\${$as_ac_var+set}\" = set"; then
36906 echo $ECHO_N "(cached) $ECHO_C" >&6
36907 else
36908 cat >conftest.$ac_ext <<_ACEOF
36909 /* confdefs.h. */
36910 _ACEOF
36911 cat confdefs.h >>conftest.$ac_ext
36912 cat >>conftest.$ac_ext <<_ACEOF
36913 /* end confdefs.h. */
36914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36916 #define $ac_func innocuous_$ac_func
36917
36918 /* System header to define __stub macros and hopefully few prototypes,
36919 which can conflict with char $ac_func (); below.
36920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36921 <limits.h> exists even on freestanding compilers. */
36922
36923 #ifdef __STDC__
36924 # include <limits.h>
36925 #else
36926 # include <assert.h>
36927 #endif
36928
36929 #undef $ac_func
36930
36931 /* Override any gcc2 internal prototype to avoid an error. */
36932 #ifdef __cplusplus
36933 extern "C"
36934 {
36935 #endif
36936 /* We use char because int might match the return type of a gcc2
36937 builtin and then its argument prototype would still apply. */
36938 char $ac_func ();
36939 /* The GNU C library defines this for functions which it implements
36940 to always fail with ENOSYS. Some functions are actually named
36941 something starting with __ and the normal name is an alias. */
36942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36943 choke me
36944 #else
36945 char (*f) () = $ac_func;
36946 #endif
36947 #ifdef __cplusplus
36948 }
36949 #endif
36950
36951 int
36952 main ()
36953 {
36954 return f != $ac_func;
36955 ;
36956 return 0;
36957 }
36958 _ACEOF
36959 rm -f conftest.$ac_objext conftest$ac_exeext
36960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36961 (eval $ac_link) 2>conftest.er1
36962 ac_status=$?
36963 grep -v '^ *+' conftest.er1 >conftest.err
36964 rm -f conftest.er1
36965 cat conftest.err >&5
36966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36967 (exit $ac_status); } &&
36968 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36970 (eval $ac_try) 2>&5
36971 ac_status=$?
36972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36973 (exit $ac_status); }; } &&
36974 { ac_try='test -s conftest$ac_exeext'
36975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36976 (eval $ac_try) 2>&5
36977 ac_status=$?
36978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36979 (exit $ac_status); }; }; then
36980 eval "$as_ac_var=yes"
36981 else
36982 echo "$as_me: failed program was:" >&5
36983 sed 's/^/| /' conftest.$ac_ext >&5
36984
36985 eval "$as_ac_var=no"
36986 fi
36987 rm -f conftest.err conftest.$ac_objext \
36988 conftest$ac_exeext conftest.$ac_ext
36989 fi
36990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36992 if test `eval echo '${'$as_ac_var'}'` = yes; then
36993 cat >>confdefs.h <<_ACEOF
36994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36995 _ACEOF
36996 break
36997 fi
36998 done
36999
37000
37001 echo "$as_me:$LINENO: checking for statfs" >&5
37002 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37003 if test "${wx_cv_func_statfs+set}" = set; then
37004 echo $ECHO_N "(cached) $ECHO_C" >&6
37005 else
37006 cat >conftest.$ac_ext <<_ACEOF
37007 /* confdefs.h. */
37008 _ACEOF
37009 cat confdefs.h >>conftest.$ac_ext
37010 cat >>conftest.$ac_ext <<_ACEOF
37011 /* end confdefs.h. */
37012
37013 #if defined(__BSD__)
37014 #include <sys/param.h>
37015 #include <sys/mount.h>
37016 #else
37017 #include <sys/vfs.h>
37018 #endif
37019
37020 int
37021 main ()
37022 {
37023
37024 long l;
37025 struct statfs fs;
37026 statfs("/", &fs);
37027 l = fs.f_bsize;
37028 l += fs.f_blocks;
37029 l += fs.f_bavail;
37030
37031 ;
37032 return 0;
37033 }
37034 _ACEOF
37035 rm -f conftest.$ac_objext
37036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37037 (eval $ac_compile) 2>conftest.er1
37038 ac_status=$?
37039 grep -v '^ *+' conftest.er1 >conftest.err
37040 rm -f conftest.er1
37041 cat conftest.err >&5
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); } &&
37044 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37046 (eval $ac_try) 2>&5
37047 ac_status=$?
37048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37049 (exit $ac_status); }; } &&
37050 { ac_try='test -s conftest.$ac_objext'
37051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37052 (eval $ac_try) 2>&5
37053 ac_status=$?
37054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37055 (exit $ac_status); }; }; then
37056 wx_cv_func_statfs=yes
37057 else
37058 echo "$as_me: failed program was:" >&5
37059 sed 's/^/| /' conftest.$ac_ext >&5
37060
37061 wx_cv_func_statfs=no
37062
37063 fi
37064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37065
37066 fi
37067 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37068 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37069
37070 if test "$wx_cv_func_statfs" = "yes"; then
37071 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37072 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37073 if test "${wx_cv_func_statfs_decl+set}" = set; then
37074 echo $ECHO_N "(cached) $ECHO_C" >&6
37075 else
37076 cat >conftest.$ac_ext <<_ACEOF
37077 /* confdefs.h. */
37078 _ACEOF
37079 cat confdefs.h >>conftest.$ac_ext
37080 cat >>conftest.$ac_ext <<_ACEOF
37081 /* end confdefs.h. */
37082
37083 #if defined(__BSD__)
37084 #include <sys/param.h>
37085 #include <sys/mount.h>
37086 #else
37087 #include <sys/vfs.h>
37088 #endif
37089
37090 int
37091 main ()
37092 {
37093
37094 struct statfs fs;
37095 statfs("", &fs);
37096
37097 ;
37098 return 0;
37099 }
37100 _ACEOF
37101 rm -f conftest.$ac_objext
37102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37103 (eval $ac_compile) 2>conftest.er1
37104 ac_status=$?
37105 grep -v '^ *+' conftest.er1 >conftest.err
37106 rm -f conftest.er1
37107 cat conftest.err >&5
37108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37109 (exit $ac_status); } &&
37110 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37112 (eval $ac_try) 2>&5
37113 ac_status=$?
37114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37115 (exit $ac_status); }; } &&
37116 { ac_try='test -s conftest.$ac_objext'
37117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37118 (eval $ac_try) 2>&5
37119 ac_status=$?
37120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37121 (exit $ac_status); }; }; then
37122 wx_cv_func_statfs_decl=yes
37123 else
37124 echo "$as_me: failed program was:" >&5
37125 sed 's/^/| /' conftest.$ac_ext >&5
37126
37127 wx_cv_func_statfs_decl=no
37128
37129 fi
37130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37131
37132 fi
37133 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37134 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37135
37136 if test "$wx_cv_func_statfs_decl" = "yes"; then
37137 cat >>confdefs.h <<\_ACEOF
37138 #define HAVE_STATFS_DECL 1
37139 _ACEOF
37140
37141 fi
37142
37143 wx_cv_type_statvfs_t="struct statfs"
37144 cat >>confdefs.h <<\_ACEOF
37145 #define HAVE_STATFS 1
37146 _ACEOF
37147
37148 else
37149 echo "$as_me:$LINENO: checking for statvfs" >&5
37150 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37151 if test "${wx_cv_func_statvfs+set}" = set; then
37152 echo $ECHO_N "(cached) $ECHO_C" >&6
37153 else
37154 cat >conftest.$ac_ext <<_ACEOF
37155 /* confdefs.h. */
37156 _ACEOF
37157 cat confdefs.h >>conftest.$ac_ext
37158 cat >>conftest.$ac_ext <<_ACEOF
37159 /* end confdefs.h. */
37160
37161 #include <stddef.h>
37162 #include <sys/statvfs.h>
37163
37164 int
37165 main ()
37166 {
37167
37168 statvfs("/", NULL);
37169
37170 ;
37171 return 0;
37172 }
37173 _ACEOF
37174 rm -f conftest.$ac_objext
37175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37176 (eval $ac_compile) 2>conftest.er1
37177 ac_status=$?
37178 grep -v '^ *+' conftest.er1 >conftest.err
37179 rm -f conftest.er1
37180 cat conftest.err >&5
37181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37182 (exit $ac_status); } &&
37183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37185 (eval $ac_try) 2>&5
37186 ac_status=$?
37187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37188 (exit $ac_status); }; } &&
37189 { ac_try='test -s conftest.$ac_objext'
37190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37191 (eval $ac_try) 2>&5
37192 ac_status=$?
37193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37194 (exit $ac_status); }; }; then
37195 wx_cv_func_statvfs=yes
37196 else
37197 echo "$as_me: failed program was:" >&5
37198 sed 's/^/| /' conftest.$ac_ext >&5
37199
37200 wx_cv_func_statvfs=no
37201
37202 fi
37203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37204
37205 fi
37206 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37207 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37208
37209 if test "$wx_cv_func_statvfs" = "yes"; then
37210 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37211 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37212 if test "${wx_cv_type_statvfs_t+set}" = set; then
37213 echo $ECHO_N "(cached) $ECHO_C" >&6
37214 else
37215 cat >conftest.$ac_ext <<_ACEOF
37216 /* confdefs.h. */
37217 _ACEOF
37218 cat confdefs.h >>conftest.$ac_ext
37219 cat >>conftest.$ac_ext <<_ACEOF
37220 /* end confdefs.h. */
37221
37222 #include <sys/statvfs.h>
37223
37224 int
37225 main ()
37226 {
37227
37228 long l;
37229 statvfs_t fs;
37230 statvfs("/", &fs);
37231 l = fs.f_bsize;
37232 l += fs.f_blocks;
37233 l += fs.f_bavail;
37234
37235 ;
37236 return 0;
37237 }
37238 _ACEOF
37239 rm -f conftest.$ac_objext
37240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37241 (eval $ac_compile) 2>conftest.er1
37242 ac_status=$?
37243 grep -v '^ *+' conftest.er1 >conftest.err
37244 rm -f conftest.er1
37245 cat conftest.err >&5
37246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37247 (exit $ac_status); } &&
37248 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37250 (eval $ac_try) 2>&5
37251 ac_status=$?
37252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37253 (exit $ac_status); }; } &&
37254 { ac_try='test -s conftest.$ac_objext'
37255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37256 (eval $ac_try) 2>&5
37257 ac_status=$?
37258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37259 (exit $ac_status); }; }; then
37260 wx_cv_type_statvfs_t=statvfs_t
37261 else
37262 echo "$as_me: failed program was:" >&5
37263 sed 's/^/| /' conftest.$ac_ext >&5
37264
37265
37266 cat >conftest.$ac_ext <<_ACEOF
37267 /* confdefs.h. */
37268 _ACEOF
37269 cat confdefs.h >>conftest.$ac_ext
37270 cat >>conftest.$ac_ext <<_ACEOF
37271 /* end confdefs.h. */
37272
37273 #include <sys/statvfs.h>
37274
37275 int
37276 main ()
37277 {
37278
37279 long l;
37280 struct statvfs fs;
37281 statvfs("/", &fs);
37282 l = fs.f_bsize;
37283 l += fs.f_blocks;
37284 l += fs.f_bavail;
37285
37286 ;
37287 return 0;
37288 }
37289 _ACEOF
37290 rm -f conftest.$ac_objext
37291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37292 (eval $ac_compile) 2>conftest.er1
37293 ac_status=$?
37294 grep -v '^ *+' conftest.er1 >conftest.err
37295 rm -f conftest.er1
37296 cat conftest.err >&5
37297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37298 (exit $ac_status); } &&
37299 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37301 (eval $ac_try) 2>&5
37302 ac_status=$?
37303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37304 (exit $ac_status); }; } &&
37305 { ac_try='test -s conftest.$ac_objext'
37306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37307 (eval $ac_try) 2>&5
37308 ac_status=$?
37309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37310 (exit $ac_status); }; }; then
37311 wx_cv_type_statvfs_t="struct statvfs"
37312 else
37313 echo "$as_me: failed program was:" >&5
37314 sed 's/^/| /' conftest.$ac_ext >&5
37315
37316 wx_cv_type_statvfs_t="unknown"
37317
37318 fi
37319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37320
37321
37322 fi
37323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37324
37325 fi
37326 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37327 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37328
37329 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37330 cat >>confdefs.h <<\_ACEOF
37331 #define HAVE_STATVFS 1
37332 _ACEOF
37333
37334 fi
37335 else
37336 wx_cv_type_statvfs_t="unknown"
37337 fi
37338 fi
37339
37340 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37341 cat >>confdefs.h <<_ACEOF
37342 #define WX_STATFS_T $wx_cv_type_statvfs_t
37343 _ACEOF
37344
37345 else
37346 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37347 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37348 fi
37349
37350 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37351
37352
37353 for ac_func in fcntl flock
37354 do
37355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37356 echo "$as_me:$LINENO: checking for $ac_func" >&5
37357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37358 if eval "test \"\${$as_ac_var+set}\" = set"; then
37359 echo $ECHO_N "(cached) $ECHO_C" >&6
37360 else
37361 cat >conftest.$ac_ext <<_ACEOF
37362 /* confdefs.h. */
37363 _ACEOF
37364 cat confdefs.h >>conftest.$ac_ext
37365 cat >>conftest.$ac_ext <<_ACEOF
37366 /* end confdefs.h. */
37367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37369 #define $ac_func innocuous_$ac_func
37370
37371 /* System header to define __stub macros and hopefully few prototypes,
37372 which can conflict with char $ac_func (); below.
37373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37374 <limits.h> exists even on freestanding compilers. */
37375
37376 #ifdef __STDC__
37377 # include <limits.h>
37378 #else
37379 # include <assert.h>
37380 #endif
37381
37382 #undef $ac_func
37383
37384 /* Override any gcc2 internal prototype to avoid an error. */
37385 #ifdef __cplusplus
37386 extern "C"
37387 {
37388 #endif
37389 /* We use char because int might match the return type of a gcc2
37390 builtin and then its argument prototype would still apply. */
37391 char $ac_func ();
37392 /* The GNU C library defines this for functions which it implements
37393 to always fail with ENOSYS. Some functions are actually named
37394 something starting with __ and the normal name is an alias. */
37395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37396 choke me
37397 #else
37398 char (*f) () = $ac_func;
37399 #endif
37400 #ifdef __cplusplus
37401 }
37402 #endif
37403
37404 int
37405 main ()
37406 {
37407 return f != $ac_func;
37408 ;
37409 return 0;
37410 }
37411 _ACEOF
37412 rm -f conftest.$ac_objext conftest$ac_exeext
37413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37414 (eval $ac_link) 2>conftest.er1
37415 ac_status=$?
37416 grep -v '^ *+' conftest.er1 >conftest.err
37417 rm -f conftest.er1
37418 cat conftest.err >&5
37419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37420 (exit $ac_status); } &&
37421 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37423 (eval $ac_try) 2>&5
37424 ac_status=$?
37425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37426 (exit $ac_status); }; } &&
37427 { ac_try='test -s conftest$ac_exeext'
37428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37429 (eval $ac_try) 2>&5
37430 ac_status=$?
37431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37432 (exit $ac_status); }; }; then
37433 eval "$as_ac_var=yes"
37434 else
37435 echo "$as_me: failed program was:" >&5
37436 sed 's/^/| /' conftest.$ac_ext >&5
37437
37438 eval "$as_ac_var=no"
37439 fi
37440 rm -f conftest.err conftest.$ac_objext \
37441 conftest$ac_exeext conftest.$ac_ext
37442 fi
37443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37445 if test `eval echo '${'$as_ac_var'}'` = yes; then
37446 cat >>confdefs.h <<_ACEOF
37447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37448 _ACEOF
37449 break
37450 fi
37451 done
37452
37453
37454 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37455 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37456 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37457 wxUSE_SNGLINST_CHECKER=no
37458 fi
37459 fi
37460
37461
37462 for ac_func in timegm
37463 do
37464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37465 echo "$as_me:$LINENO: checking for $ac_func" >&5
37466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37467 if eval "test \"\${$as_ac_var+set}\" = set"; then
37468 echo $ECHO_N "(cached) $ECHO_C" >&6
37469 else
37470 cat >conftest.$ac_ext <<_ACEOF
37471 /* confdefs.h. */
37472 _ACEOF
37473 cat confdefs.h >>conftest.$ac_ext
37474 cat >>conftest.$ac_ext <<_ACEOF
37475 /* end confdefs.h. */
37476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37478 #define $ac_func innocuous_$ac_func
37479
37480 /* System header to define __stub macros and hopefully few prototypes,
37481 which can conflict with char $ac_func (); below.
37482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37483 <limits.h> exists even on freestanding compilers. */
37484
37485 #ifdef __STDC__
37486 # include <limits.h>
37487 #else
37488 # include <assert.h>
37489 #endif
37490
37491 #undef $ac_func
37492
37493 /* Override any gcc2 internal prototype to avoid an error. */
37494 #ifdef __cplusplus
37495 extern "C"
37496 {
37497 #endif
37498 /* We use char because int might match the return type of a gcc2
37499 builtin and then its argument prototype would still apply. */
37500 char $ac_func ();
37501 /* The GNU C library defines this for functions which it implements
37502 to always fail with ENOSYS. Some functions are actually named
37503 something starting with __ and the normal name is an alias. */
37504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37505 choke me
37506 #else
37507 char (*f) () = $ac_func;
37508 #endif
37509 #ifdef __cplusplus
37510 }
37511 #endif
37512
37513 int
37514 main ()
37515 {
37516 return f != $ac_func;
37517 ;
37518 return 0;
37519 }
37520 _ACEOF
37521 rm -f conftest.$ac_objext conftest$ac_exeext
37522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37523 (eval $ac_link) 2>conftest.er1
37524 ac_status=$?
37525 grep -v '^ *+' conftest.er1 >conftest.err
37526 rm -f conftest.er1
37527 cat conftest.err >&5
37528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37529 (exit $ac_status); } &&
37530 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37532 (eval $ac_try) 2>&5
37533 ac_status=$?
37534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37535 (exit $ac_status); }; } &&
37536 { ac_try='test -s conftest$ac_exeext'
37537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37538 (eval $ac_try) 2>&5
37539 ac_status=$?
37540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37541 (exit $ac_status); }; }; then
37542 eval "$as_ac_var=yes"
37543 else
37544 echo "$as_me: failed program was:" >&5
37545 sed 's/^/| /' conftest.$ac_ext >&5
37546
37547 eval "$as_ac_var=no"
37548 fi
37549 rm -f conftest.err conftest.$ac_objext \
37550 conftest$ac_exeext conftest.$ac_ext
37551 fi
37552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37554 if test `eval echo '${'$as_ac_var'}'` = yes; then
37555 cat >>confdefs.h <<_ACEOF
37556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37557 _ACEOF
37558
37559 fi
37560 done
37561
37562
37563
37564
37565 for ac_func in putenv setenv
37566 do
37567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37568 echo "$as_me:$LINENO: checking for $ac_func" >&5
37569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37570 if eval "test \"\${$as_ac_var+set}\" = set"; then
37571 echo $ECHO_N "(cached) $ECHO_C" >&6
37572 else
37573 cat >conftest.$ac_ext <<_ACEOF
37574 /* confdefs.h. */
37575 _ACEOF
37576 cat confdefs.h >>conftest.$ac_ext
37577 cat >>conftest.$ac_ext <<_ACEOF
37578 /* end confdefs.h. */
37579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37581 #define $ac_func innocuous_$ac_func
37582
37583 /* System header to define __stub macros and hopefully few prototypes,
37584 which can conflict with char $ac_func (); below.
37585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37586 <limits.h> exists even on freestanding compilers. */
37587
37588 #ifdef __STDC__
37589 # include <limits.h>
37590 #else
37591 # include <assert.h>
37592 #endif
37593
37594 #undef $ac_func
37595
37596 /* Override any gcc2 internal prototype to avoid an error. */
37597 #ifdef __cplusplus
37598 extern "C"
37599 {
37600 #endif
37601 /* We use char because int might match the return type of a gcc2
37602 builtin and then its argument prototype would still apply. */
37603 char $ac_func ();
37604 /* The GNU C library defines this for functions which it implements
37605 to always fail with ENOSYS. Some functions are actually named
37606 something starting with __ and the normal name is an alias. */
37607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37608 choke me
37609 #else
37610 char (*f) () = $ac_func;
37611 #endif
37612 #ifdef __cplusplus
37613 }
37614 #endif
37615
37616 int
37617 main ()
37618 {
37619 return f != $ac_func;
37620 ;
37621 return 0;
37622 }
37623 _ACEOF
37624 rm -f conftest.$ac_objext conftest$ac_exeext
37625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37626 (eval $ac_link) 2>conftest.er1
37627 ac_status=$?
37628 grep -v '^ *+' conftest.er1 >conftest.err
37629 rm -f conftest.er1
37630 cat conftest.err >&5
37631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37632 (exit $ac_status); } &&
37633 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37635 (eval $ac_try) 2>&5
37636 ac_status=$?
37637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37638 (exit $ac_status); }; } &&
37639 { ac_try='test -s conftest$ac_exeext'
37640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37641 (eval $ac_try) 2>&5
37642 ac_status=$?
37643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37644 (exit $ac_status); }; }; then
37645 eval "$as_ac_var=yes"
37646 else
37647 echo "$as_me: failed program was:" >&5
37648 sed 's/^/| /' conftest.$ac_ext >&5
37649
37650 eval "$as_ac_var=no"
37651 fi
37652 rm -f conftest.err conftest.$ac_objext \
37653 conftest$ac_exeext conftest.$ac_ext
37654 fi
37655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37657 if test `eval echo '${'$as_ac_var'}'` = yes; then
37658 cat >>confdefs.h <<_ACEOF
37659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37660 _ACEOF
37661 break
37662 fi
37663 done
37664
37665
37666 HAVE_SOME_SLEEP_FUNC=0
37667 if test "$USE_BEOS" = 1; then
37668 cat >>confdefs.h <<\_ACEOF
37669 #define HAVE_SLEEP 1
37670 _ACEOF
37671
37672 HAVE_SOME_SLEEP_FUNC=1
37673 fi
37674
37675 if test "$USE_DARWIN" = 1; then
37676 cat >>confdefs.h <<\_ACEOF
37677 #define HAVE_USLEEP 1
37678 _ACEOF
37679
37680 HAVE_SOME_SLEEP_FUNC=1
37681 fi
37682
37683 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37684 POSIX4_LINK=
37685
37686 for ac_func in nanosleep
37687 do
37688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37689 echo "$as_me:$LINENO: checking for $ac_func" >&5
37690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37691 if eval "test \"\${$as_ac_var+set}\" = set"; then
37692 echo $ECHO_N "(cached) $ECHO_C" >&6
37693 else
37694 cat >conftest.$ac_ext <<_ACEOF
37695 /* confdefs.h. */
37696 _ACEOF
37697 cat confdefs.h >>conftest.$ac_ext
37698 cat >>conftest.$ac_ext <<_ACEOF
37699 /* end confdefs.h. */
37700 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37701 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37702 #define $ac_func innocuous_$ac_func
37703
37704 /* System header to define __stub macros and hopefully few prototypes,
37705 which can conflict with char $ac_func (); below.
37706 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37707 <limits.h> exists even on freestanding compilers. */
37708
37709 #ifdef __STDC__
37710 # include <limits.h>
37711 #else
37712 # include <assert.h>
37713 #endif
37714
37715 #undef $ac_func
37716
37717 /* Override any gcc2 internal prototype to avoid an error. */
37718 #ifdef __cplusplus
37719 extern "C"
37720 {
37721 #endif
37722 /* We use char because int might match the return type of a gcc2
37723 builtin and then its argument prototype would still apply. */
37724 char $ac_func ();
37725 /* The GNU C library defines this for functions which it implements
37726 to always fail with ENOSYS. Some functions are actually named
37727 something starting with __ and the normal name is an alias. */
37728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37729 choke me
37730 #else
37731 char (*f) () = $ac_func;
37732 #endif
37733 #ifdef __cplusplus
37734 }
37735 #endif
37736
37737 int
37738 main ()
37739 {
37740 return f != $ac_func;
37741 ;
37742 return 0;
37743 }
37744 _ACEOF
37745 rm -f conftest.$ac_objext conftest$ac_exeext
37746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37747 (eval $ac_link) 2>conftest.er1
37748 ac_status=$?
37749 grep -v '^ *+' conftest.er1 >conftest.err
37750 rm -f conftest.er1
37751 cat conftest.err >&5
37752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37753 (exit $ac_status); } &&
37754 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37756 (eval $ac_try) 2>&5
37757 ac_status=$?
37758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37759 (exit $ac_status); }; } &&
37760 { ac_try='test -s conftest$ac_exeext'
37761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37762 (eval $ac_try) 2>&5
37763 ac_status=$?
37764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37765 (exit $ac_status); }; }; then
37766 eval "$as_ac_var=yes"
37767 else
37768 echo "$as_me: failed program was:" >&5
37769 sed 's/^/| /' conftest.$ac_ext >&5
37770
37771 eval "$as_ac_var=no"
37772 fi
37773 rm -f conftest.err conftest.$ac_objext \
37774 conftest$ac_exeext conftest.$ac_ext
37775 fi
37776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37778 if test `eval echo '${'$as_ac_var'}'` = yes; then
37779 cat >>confdefs.h <<_ACEOF
37780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37781 _ACEOF
37782 cat >>confdefs.h <<\_ACEOF
37783 #define HAVE_NANOSLEEP 1
37784 _ACEOF
37785
37786 else
37787
37788 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37789 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37790 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37791 echo $ECHO_N "(cached) $ECHO_C" >&6
37792 else
37793 ac_check_lib_save_LIBS=$LIBS
37794 LIBS="-lposix4 $LIBS"
37795 cat >conftest.$ac_ext <<_ACEOF
37796 /* confdefs.h. */
37797 _ACEOF
37798 cat confdefs.h >>conftest.$ac_ext
37799 cat >>conftest.$ac_ext <<_ACEOF
37800 /* end confdefs.h. */
37801
37802 /* Override any gcc2 internal prototype to avoid an error. */
37803 #ifdef __cplusplus
37804 extern "C"
37805 #endif
37806 /* We use char because int might match the return type of a gcc2
37807 builtin and then its argument prototype would still apply. */
37808 char nanosleep ();
37809 int
37810 main ()
37811 {
37812 nanosleep ();
37813 ;
37814 return 0;
37815 }
37816 _ACEOF
37817 rm -f conftest.$ac_objext conftest$ac_exeext
37818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37819 (eval $ac_link) 2>conftest.er1
37820 ac_status=$?
37821 grep -v '^ *+' conftest.er1 >conftest.err
37822 rm -f conftest.er1
37823 cat conftest.err >&5
37824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37825 (exit $ac_status); } &&
37826 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37828 (eval $ac_try) 2>&5
37829 ac_status=$?
37830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37831 (exit $ac_status); }; } &&
37832 { ac_try='test -s conftest$ac_exeext'
37833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37834 (eval $ac_try) 2>&5
37835 ac_status=$?
37836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37837 (exit $ac_status); }; }; then
37838 ac_cv_lib_posix4_nanosleep=yes
37839 else
37840 echo "$as_me: failed program was:" >&5
37841 sed 's/^/| /' conftest.$ac_ext >&5
37842
37843 ac_cv_lib_posix4_nanosleep=no
37844 fi
37845 rm -f conftest.err conftest.$ac_objext \
37846 conftest$ac_exeext conftest.$ac_ext
37847 LIBS=$ac_check_lib_save_LIBS
37848 fi
37849 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37850 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37851 if test $ac_cv_lib_posix4_nanosleep = yes; then
37852
37853 cat >>confdefs.h <<\_ACEOF
37854 #define HAVE_NANOSLEEP 1
37855 _ACEOF
37856
37857 POSIX4_LINK=" -lposix4"
37858
37859 else
37860
37861
37862 for ac_func in usleep
37863 do
37864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37865 echo "$as_me:$LINENO: checking for $ac_func" >&5
37866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37867 if eval "test \"\${$as_ac_var+set}\" = set"; then
37868 echo $ECHO_N "(cached) $ECHO_C" >&6
37869 else
37870 cat >conftest.$ac_ext <<_ACEOF
37871 /* confdefs.h. */
37872 _ACEOF
37873 cat confdefs.h >>conftest.$ac_ext
37874 cat >>conftest.$ac_ext <<_ACEOF
37875 /* end confdefs.h. */
37876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37878 #define $ac_func innocuous_$ac_func
37879
37880 /* System header to define __stub macros and hopefully few prototypes,
37881 which can conflict with char $ac_func (); below.
37882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37883 <limits.h> exists even on freestanding compilers. */
37884
37885 #ifdef __STDC__
37886 # include <limits.h>
37887 #else
37888 # include <assert.h>
37889 #endif
37890
37891 #undef $ac_func
37892
37893 /* Override any gcc2 internal prototype to avoid an error. */
37894 #ifdef __cplusplus
37895 extern "C"
37896 {
37897 #endif
37898 /* We use char because int might match the return type of a gcc2
37899 builtin and then its argument prototype would still apply. */
37900 char $ac_func ();
37901 /* The GNU C library defines this for functions which it implements
37902 to always fail with ENOSYS. Some functions are actually named
37903 something starting with __ and the normal name is an alias. */
37904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37905 choke me
37906 #else
37907 char (*f) () = $ac_func;
37908 #endif
37909 #ifdef __cplusplus
37910 }
37911 #endif
37912
37913 int
37914 main ()
37915 {
37916 return f != $ac_func;
37917 ;
37918 return 0;
37919 }
37920 _ACEOF
37921 rm -f conftest.$ac_objext conftest$ac_exeext
37922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37923 (eval $ac_link) 2>conftest.er1
37924 ac_status=$?
37925 grep -v '^ *+' conftest.er1 >conftest.err
37926 rm -f conftest.er1
37927 cat conftest.err >&5
37928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37929 (exit $ac_status); } &&
37930 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37932 (eval $ac_try) 2>&5
37933 ac_status=$?
37934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37935 (exit $ac_status); }; } &&
37936 { ac_try='test -s conftest$ac_exeext'
37937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37938 (eval $ac_try) 2>&5
37939 ac_status=$?
37940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37941 (exit $ac_status); }; }; then
37942 eval "$as_ac_var=yes"
37943 else
37944 echo "$as_me: failed program was:" >&5
37945 sed 's/^/| /' conftest.$ac_ext >&5
37946
37947 eval "$as_ac_var=no"
37948 fi
37949 rm -f conftest.err conftest.$ac_objext \
37950 conftest$ac_exeext conftest.$ac_ext
37951 fi
37952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37954 if test `eval echo '${'$as_ac_var'}'` = yes; then
37955 cat >>confdefs.h <<_ACEOF
37956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37957 _ACEOF
37958 cat >>confdefs.h <<\_ACEOF
37959 #define HAVE_USLEEP 1
37960 _ACEOF
37961
37962 else
37963 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37964 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37965
37966 fi
37967 done
37968
37969
37970
37971 fi
37972
37973
37974
37975 fi
37976 done
37977
37978 fi
37979
37980
37981
37982 for ac_func in uname gethostname
37983 do
37984 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37985 echo "$as_me:$LINENO: checking for $ac_func" >&5
37986 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37987 if eval "test \"\${$as_ac_var+set}\" = set"; then
37988 echo $ECHO_N "(cached) $ECHO_C" >&6
37989 else
37990 cat >conftest.$ac_ext <<_ACEOF
37991 /* confdefs.h. */
37992 _ACEOF
37993 cat confdefs.h >>conftest.$ac_ext
37994 cat >>conftest.$ac_ext <<_ACEOF
37995 /* end confdefs.h. */
37996 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37997 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37998 #define $ac_func innocuous_$ac_func
37999
38000 /* System header to define __stub macros and hopefully few prototypes,
38001 which can conflict with char $ac_func (); below.
38002 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38003 <limits.h> exists even on freestanding compilers. */
38004
38005 #ifdef __STDC__
38006 # include <limits.h>
38007 #else
38008 # include <assert.h>
38009 #endif
38010
38011 #undef $ac_func
38012
38013 /* Override any gcc2 internal prototype to avoid an error. */
38014 #ifdef __cplusplus
38015 extern "C"
38016 {
38017 #endif
38018 /* We use char because int might match the return type of a gcc2
38019 builtin and then its argument prototype would still apply. */
38020 char $ac_func ();
38021 /* The GNU C library defines this for functions which it implements
38022 to always fail with ENOSYS. Some functions are actually named
38023 something starting with __ and the normal name is an alias. */
38024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38025 choke me
38026 #else
38027 char (*f) () = $ac_func;
38028 #endif
38029 #ifdef __cplusplus
38030 }
38031 #endif
38032
38033 int
38034 main ()
38035 {
38036 return f != $ac_func;
38037 ;
38038 return 0;
38039 }
38040 _ACEOF
38041 rm -f conftest.$ac_objext conftest$ac_exeext
38042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38043 (eval $ac_link) 2>conftest.er1
38044 ac_status=$?
38045 grep -v '^ *+' conftest.er1 >conftest.err
38046 rm -f conftest.er1
38047 cat conftest.err >&5
38048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38049 (exit $ac_status); } &&
38050 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38052 (eval $ac_try) 2>&5
38053 ac_status=$?
38054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38055 (exit $ac_status); }; } &&
38056 { ac_try='test -s conftest$ac_exeext'
38057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38058 (eval $ac_try) 2>&5
38059 ac_status=$?
38060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38061 (exit $ac_status); }; }; then
38062 eval "$as_ac_var=yes"
38063 else
38064 echo "$as_me: failed program was:" >&5
38065 sed 's/^/| /' conftest.$ac_ext >&5
38066
38067 eval "$as_ac_var=no"
38068 fi
38069 rm -f conftest.err conftest.$ac_objext \
38070 conftest$ac_exeext conftest.$ac_ext
38071 fi
38072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38074 if test `eval echo '${'$as_ac_var'}'` = yes; then
38075 cat >>confdefs.h <<_ACEOF
38076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38077 _ACEOF
38078 break
38079 fi
38080 done
38081
38082
38083
38084 for wx_func in strtok_r
38085 do
38086 echo "$as_me:$LINENO: checking for $wx_func" >&5
38087 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38088 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38089 echo $ECHO_N "(cached) $ECHO_C" >&6
38090 else
38091
38092 cat >conftest.$ac_ext <<_ACEOF
38093
38094 /* confdefs.h. */
38095 _ACEOF
38096 cat confdefs.h >>conftest.$ac_ext
38097 cat >>conftest.$ac_ext <<_ACEOF
38098 /* end confdefs.h. */
38099
38100 #define _REENTRANT
38101 $ac_includes_default
38102
38103 int
38104 main ()
38105 {
38106
38107 #ifndef $wx_func
38108 &$wx_func;
38109 #endif
38110
38111
38112 ;
38113 return 0;
38114 }
38115
38116 _ACEOF
38117 rm -f conftest.$ac_objext conftest$ac_exeext
38118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38119 (eval $ac_link) 2>conftest.er1
38120 ac_status=$?
38121 grep -v '^ *+' conftest.er1 >conftest.err
38122 rm -f conftest.er1
38123 cat conftest.err >&5
38124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38125 (exit $ac_status); } &&
38126 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38128 (eval $ac_try) 2>&5
38129 ac_status=$?
38130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38131 (exit $ac_status); }; } &&
38132 { ac_try='test -s conftest$ac_exeext'
38133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38134 (eval $ac_try) 2>&5
38135 ac_status=$?
38136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38137 (exit $ac_status); }; }; then
38138 eval wx_cv_func_$wx_func=yes
38139 else
38140 echo "$as_me: failed program was:" >&5
38141 sed 's/^/| /' conftest.$ac_ext >&5
38142
38143 eval wx_cv_func_$wx_func=no
38144 fi
38145 rm -f conftest.err conftest.$ac_objext \
38146 conftest$ac_exeext conftest.$ac_ext
38147
38148 fi
38149 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38150 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38151
38152 if eval test \$wx_cv_func_$wx_func = yes
38153 then
38154 cat >>confdefs.h <<_ACEOF
38155 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38156 _ACEOF
38157
38158
38159 else
38160 :
38161
38162 fi
38163 done
38164
38165
38166 INET_LINK=
38167
38168 for ac_func in inet_addr
38169 do
38170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38171 echo "$as_me:$LINENO: checking for $ac_func" >&5
38172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38173 if eval "test \"\${$as_ac_var+set}\" = set"; then
38174 echo $ECHO_N "(cached) $ECHO_C" >&6
38175 else
38176 cat >conftest.$ac_ext <<_ACEOF
38177 /* confdefs.h. */
38178 _ACEOF
38179 cat confdefs.h >>conftest.$ac_ext
38180 cat >>conftest.$ac_ext <<_ACEOF
38181 /* end confdefs.h. */
38182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38184 #define $ac_func innocuous_$ac_func
38185
38186 /* System header to define __stub macros and hopefully few prototypes,
38187 which can conflict with char $ac_func (); below.
38188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38189 <limits.h> exists even on freestanding compilers. */
38190
38191 #ifdef __STDC__
38192 # include <limits.h>
38193 #else
38194 # include <assert.h>
38195 #endif
38196
38197 #undef $ac_func
38198
38199 /* Override any gcc2 internal prototype to avoid an error. */
38200 #ifdef __cplusplus
38201 extern "C"
38202 {
38203 #endif
38204 /* We use char because int might match the return type of a gcc2
38205 builtin and then its argument prototype would still apply. */
38206 char $ac_func ();
38207 /* The GNU C library defines this for functions which it implements
38208 to always fail with ENOSYS. Some functions are actually named
38209 something starting with __ and the normal name is an alias. */
38210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38211 choke me
38212 #else
38213 char (*f) () = $ac_func;
38214 #endif
38215 #ifdef __cplusplus
38216 }
38217 #endif
38218
38219 int
38220 main ()
38221 {
38222 return f != $ac_func;
38223 ;
38224 return 0;
38225 }
38226 _ACEOF
38227 rm -f conftest.$ac_objext conftest$ac_exeext
38228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38229 (eval $ac_link) 2>conftest.er1
38230 ac_status=$?
38231 grep -v '^ *+' conftest.er1 >conftest.err
38232 rm -f conftest.er1
38233 cat conftest.err >&5
38234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38235 (exit $ac_status); } &&
38236 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38238 (eval $ac_try) 2>&5
38239 ac_status=$?
38240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38241 (exit $ac_status); }; } &&
38242 { ac_try='test -s conftest$ac_exeext'
38243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38244 (eval $ac_try) 2>&5
38245 ac_status=$?
38246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38247 (exit $ac_status); }; }; then
38248 eval "$as_ac_var=yes"
38249 else
38250 echo "$as_me: failed program was:" >&5
38251 sed 's/^/| /' conftest.$ac_ext >&5
38252
38253 eval "$as_ac_var=no"
38254 fi
38255 rm -f conftest.err conftest.$ac_objext \
38256 conftest$ac_exeext conftest.$ac_ext
38257 fi
38258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38260 if test `eval echo '${'$as_ac_var'}'` = yes; then
38261 cat >>confdefs.h <<_ACEOF
38262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38263 _ACEOF
38264 cat >>confdefs.h <<\_ACEOF
38265 #define HAVE_INET_ADDR 1
38266 _ACEOF
38267
38268 else
38269
38270 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38271 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38272 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38273 echo $ECHO_N "(cached) $ECHO_C" >&6
38274 else
38275 ac_check_lib_save_LIBS=$LIBS
38276 LIBS="-lnsl $LIBS"
38277 cat >conftest.$ac_ext <<_ACEOF
38278 /* confdefs.h. */
38279 _ACEOF
38280 cat confdefs.h >>conftest.$ac_ext
38281 cat >>conftest.$ac_ext <<_ACEOF
38282 /* end confdefs.h. */
38283
38284 /* Override any gcc2 internal prototype to avoid an error. */
38285 #ifdef __cplusplus
38286 extern "C"
38287 #endif
38288 /* We use char because int might match the return type of a gcc2
38289 builtin and then its argument prototype would still apply. */
38290 char inet_addr ();
38291 int
38292 main ()
38293 {
38294 inet_addr ();
38295 ;
38296 return 0;
38297 }
38298 _ACEOF
38299 rm -f conftest.$ac_objext conftest$ac_exeext
38300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38301 (eval $ac_link) 2>conftest.er1
38302 ac_status=$?
38303 grep -v '^ *+' conftest.er1 >conftest.err
38304 rm -f conftest.er1
38305 cat conftest.err >&5
38306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38307 (exit $ac_status); } &&
38308 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38310 (eval $ac_try) 2>&5
38311 ac_status=$?
38312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38313 (exit $ac_status); }; } &&
38314 { ac_try='test -s conftest$ac_exeext'
38315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38316 (eval $ac_try) 2>&5
38317 ac_status=$?
38318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38319 (exit $ac_status); }; }; then
38320 ac_cv_lib_nsl_inet_addr=yes
38321 else
38322 echo "$as_me: failed program was:" >&5
38323 sed 's/^/| /' conftest.$ac_ext >&5
38324
38325 ac_cv_lib_nsl_inet_addr=no
38326 fi
38327 rm -f conftest.err conftest.$ac_objext \
38328 conftest$ac_exeext conftest.$ac_ext
38329 LIBS=$ac_check_lib_save_LIBS
38330 fi
38331 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38332 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38333 if test $ac_cv_lib_nsl_inet_addr = yes; then
38334 INET_LINK="nsl"
38335 else
38336
38337 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38338 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38339 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38340 echo $ECHO_N "(cached) $ECHO_C" >&6
38341 else
38342 ac_check_lib_save_LIBS=$LIBS
38343 LIBS="-lresolv $LIBS"
38344 cat >conftest.$ac_ext <<_ACEOF
38345 /* confdefs.h. */
38346 _ACEOF
38347 cat confdefs.h >>conftest.$ac_ext
38348 cat >>conftest.$ac_ext <<_ACEOF
38349 /* end confdefs.h. */
38350
38351 /* Override any gcc2 internal prototype to avoid an error. */
38352 #ifdef __cplusplus
38353 extern "C"
38354 #endif
38355 /* We use char because int might match the return type of a gcc2
38356 builtin and then its argument prototype would still apply. */
38357 char inet_addr ();
38358 int
38359 main ()
38360 {
38361 inet_addr ();
38362 ;
38363 return 0;
38364 }
38365 _ACEOF
38366 rm -f conftest.$ac_objext conftest$ac_exeext
38367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38368 (eval $ac_link) 2>conftest.er1
38369 ac_status=$?
38370 grep -v '^ *+' conftest.er1 >conftest.err
38371 rm -f conftest.er1
38372 cat conftest.err >&5
38373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38374 (exit $ac_status); } &&
38375 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38377 (eval $ac_try) 2>&5
38378 ac_status=$?
38379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38380 (exit $ac_status); }; } &&
38381 { ac_try='test -s conftest$ac_exeext'
38382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38383 (eval $ac_try) 2>&5
38384 ac_status=$?
38385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38386 (exit $ac_status); }; }; then
38387 ac_cv_lib_resolv_inet_addr=yes
38388 else
38389 echo "$as_me: failed program was:" >&5
38390 sed 's/^/| /' conftest.$ac_ext >&5
38391
38392 ac_cv_lib_resolv_inet_addr=no
38393 fi
38394 rm -f conftest.err conftest.$ac_objext \
38395 conftest$ac_exeext conftest.$ac_ext
38396 LIBS=$ac_check_lib_save_LIBS
38397 fi
38398 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38399 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38400 if test $ac_cv_lib_resolv_inet_addr = yes; then
38401 INET_LINK="resolv"
38402 else
38403
38404 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38405 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38406 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38407 echo $ECHO_N "(cached) $ECHO_C" >&6
38408 else
38409 ac_check_lib_save_LIBS=$LIBS
38410 LIBS="-lsocket $LIBS"
38411 cat >conftest.$ac_ext <<_ACEOF
38412 /* confdefs.h. */
38413 _ACEOF
38414 cat confdefs.h >>conftest.$ac_ext
38415 cat >>conftest.$ac_ext <<_ACEOF
38416 /* end confdefs.h. */
38417
38418 /* Override any gcc2 internal prototype to avoid an error. */
38419 #ifdef __cplusplus
38420 extern "C"
38421 #endif
38422 /* We use char because int might match the return type of a gcc2
38423 builtin and then its argument prototype would still apply. */
38424 char inet_addr ();
38425 int
38426 main ()
38427 {
38428 inet_addr ();
38429 ;
38430 return 0;
38431 }
38432 _ACEOF
38433 rm -f conftest.$ac_objext conftest$ac_exeext
38434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38435 (eval $ac_link) 2>conftest.er1
38436 ac_status=$?
38437 grep -v '^ *+' conftest.er1 >conftest.err
38438 rm -f conftest.er1
38439 cat conftest.err >&5
38440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441 (exit $ac_status); } &&
38442 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38444 (eval $ac_try) 2>&5
38445 ac_status=$?
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); }; } &&
38448 { ac_try='test -s conftest$ac_exeext'
38449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38450 (eval $ac_try) 2>&5
38451 ac_status=$?
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); }; }; then
38454 ac_cv_lib_socket_inet_addr=yes
38455 else
38456 echo "$as_me: failed program was:" >&5
38457 sed 's/^/| /' conftest.$ac_ext >&5
38458
38459 ac_cv_lib_socket_inet_addr=no
38460 fi
38461 rm -f conftest.err conftest.$ac_objext \
38462 conftest$ac_exeext conftest.$ac_ext
38463 LIBS=$ac_check_lib_save_LIBS
38464 fi
38465 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38466 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38467 if test $ac_cv_lib_socket_inet_addr = yes; then
38468 INET_LINK="socket"
38469
38470 fi
38471
38472
38473
38474 fi
38475
38476
38477
38478 fi
38479
38480
38481
38482 fi
38483 done
38484
38485
38486
38487 for ac_func in inet_aton
38488 do
38489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38490 echo "$as_me:$LINENO: checking for $ac_func" >&5
38491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38492 if eval "test \"\${$as_ac_var+set}\" = set"; then
38493 echo $ECHO_N "(cached) $ECHO_C" >&6
38494 else
38495 cat >conftest.$ac_ext <<_ACEOF
38496 /* confdefs.h. */
38497 _ACEOF
38498 cat confdefs.h >>conftest.$ac_ext
38499 cat >>conftest.$ac_ext <<_ACEOF
38500 /* end confdefs.h. */
38501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38503 #define $ac_func innocuous_$ac_func
38504
38505 /* System header to define __stub macros and hopefully few prototypes,
38506 which can conflict with char $ac_func (); below.
38507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38508 <limits.h> exists even on freestanding compilers. */
38509
38510 #ifdef __STDC__
38511 # include <limits.h>
38512 #else
38513 # include <assert.h>
38514 #endif
38515
38516 #undef $ac_func
38517
38518 /* Override any gcc2 internal prototype to avoid an error. */
38519 #ifdef __cplusplus
38520 extern "C"
38521 {
38522 #endif
38523 /* We use char because int might match the return type of a gcc2
38524 builtin and then its argument prototype would still apply. */
38525 char $ac_func ();
38526 /* The GNU C library defines this for functions which it implements
38527 to always fail with ENOSYS. Some functions are actually named
38528 something starting with __ and the normal name is an alias. */
38529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38530 choke me
38531 #else
38532 char (*f) () = $ac_func;
38533 #endif
38534 #ifdef __cplusplus
38535 }
38536 #endif
38537
38538 int
38539 main ()
38540 {
38541 return f != $ac_func;
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" || test ! -s conftest.err'
38556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38557 (eval $ac_try) 2>&5
38558 ac_status=$?
38559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560 (exit $ac_status); }; } &&
38561 { ac_try='test -s conftest$ac_exeext'
38562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38563 (eval $ac_try) 2>&5
38564 ac_status=$?
38565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38566 (exit $ac_status); }; }; then
38567 eval "$as_ac_var=yes"
38568 else
38569 echo "$as_me: failed program was:" >&5
38570 sed 's/^/| /' conftest.$ac_ext >&5
38571
38572 eval "$as_ac_var=no"
38573 fi
38574 rm -f conftest.err conftest.$ac_objext \
38575 conftest$ac_exeext conftest.$ac_ext
38576 fi
38577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38579 if test `eval echo '${'$as_ac_var'}'` = yes; then
38580 cat >>confdefs.h <<_ACEOF
38581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38582 _ACEOF
38583 cat >>confdefs.h <<\_ACEOF
38584 #define HAVE_INET_ATON 1
38585 _ACEOF
38586
38587 else
38588
38589 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38590 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38591 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38592 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38593 echo $ECHO_N "(cached) $ECHO_C" >&6
38594 else
38595 ac_check_lib_save_LIBS=$LIBS
38596 LIBS="-l$INET_LINK $LIBS"
38597 cat >conftest.$ac_ext <<_ACEOF
38598 /* confdefs.h. */
38599 _ACEOF
38600 cat confdefs.h >>conftest.$ac_ext
38601 cat >>conftest.$ac_ext <<_ACEOF
38602 /* end confdefs.h. */
38603
38604 /* Override any gcc2 internal prototype to avoid an error. */
38605 #ifdef __cplusplus
38606 extern "C"
38607 #endif
38608 /* We use char because int might match the return type of a gcc2
38609 builtin and then its argument prototype would still apply. */
38610 char inet_aton ();
38611 int
38612 main ()
38613 {
38614 inet_aton ();
38615 ;
38616 return 0;
38617 }
38618 _ACEOF
38619 rm -f conftest.$ac_objext conftest$ac_exeext
38620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38621 (eval $ac_link) 2>conftest.er1
38622 ac_status=$?
38623 grep -v '^ *+' conftest.er1 >conftest.err
38624 rm -f conftest.er1
38625 cat conftest.err >&5
38626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38627 (exit $ac_status); } &&
38628 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38630 (eval $ac_try) 2>&5
38631 ac_status=$?
38632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38633 (exit $ac_status); }; } &&
38634 { ac_try='test -s conftest$ac_exeext'
38635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38636 (eval $ac_try) 2>&5
38637 ac_status=$?
38638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38639 (exit $ac_status); }; }; then
38640 eval "$as_ac_Lib=yes"
38641 else
38642 echo "$as_me: failed program was:" >&5
38643 sed 's/^/| /' conftest.$ac_ext >&5
38644
38645 eval "$as_ac_Lib=no"
38646 fi
38647 rm -f conftest.err conftest.$ac_objext \
38648 conftest$ac_exeext conftest.$ac_ext
38649 LIBS=$ac_check_lib_save_LIBS
38650 fi
38651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38652 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38653 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38654 cat >>confdefs.h <<\_ACEOF
38655 #define HAVE_INET_ATON 1
38656 _ACEOF
38657
38658 fi
38659
38660
38661 fi
38662 done
38663
38664
38665 if test "x$INET_LINK" != "x"; then
38666 cat >>confdefs.h <<\_ACEOF
38667 #define HAVE_INET_ADDR 1
38668 _ACEOF
38669
38670 INET_LINK=" -l$INET_LINK"
38671 fi
38672
38673
38674 for wx_func in fdopen
38675 do
38676 echo "$as_me:$LINENO: checking for $wx_func" >&5
38677 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38678 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38679 echo $ECHO_N "(cached) $ECHO_C" >&6
38680 else
38681
38682 cat >conftest.$ac_ext <<_ACEOF
38683
38684 /* confdefs.h. */
38685 _ACEOF
38686 cat confdefs.h >>conftest.$ac_ext
38687 cat >>conftest.$ac_ext <<_ACEOF
38688 /* end confdefs.h. */
38689
38690
38691 $ac_includes_default
38692
38693 int
38694 main ()
38695 {
38696
38697 #ifndef $wx_func
38698 &$wx_func;
38699 #endif
38700
38701
38702 ;
38703 return 0;
38704 }
38705
38706 _ACEOF
38707 rm -f conftest.$ac_objext conftest$ac_exeext
38708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38709 (eval $ac_link) 2>conftest.er1
38710 ac_status=$?
38711 grep -v '^ *+' conftest.er1 >conftest.err
38712 rm -f conftest.er1
38713 cat conftest.err >&5
38714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38715 (exit $ac_status); } &&
38716 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38718 (eval $ac_try) 2>&5
38719 ac_status=$?
38720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38721 (exit $ac_status); }; } &&
38722 { ac_try='test -s conftest$ac_exeext'
38723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38724 (eval $ac_try) 2>&5
38725 ac_status=$?
38726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38727 (exit $ac_status); }; }; then
38728 eval wx_cv_func_$wx_func=yes
38729 else
38730 echo "$as_me: failed program was:" >&5
38731 sed 's/^/| /' conftest.$ac_ext >&5
38732
38733 eval wx_cv_func_$wx_func=no
38734 fi
38735 rm -f conftest.err conftest.$ac_objext \
38736 conftest$ac_exeext conftest.$ac_ext
38737
38738 fi
38739 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38740 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38741
38742 if eval test \$wx_cv_func_$wx_func = yes
38743 then
38744 cat >>confdefs.h <<_ACEOF
38745 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38746 _ACEOF
38747
38748
38749 else
38750 :
38751
38752 fi
38753 done
38754
38755
38756 fi
38757
38758
38759
38760
38761 EXTRALIBS_ESD=
38762 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38763 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38764 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38765 echo $ECHO_N "(cached) $ECHO_C" >&6
38766 else
38767 ac_check_lib_save_LIBS=$LIBS
38768 LIBS="-lesd $LIBS"
38769 cat >conftest.$ac_ext <<_ACEOF
38770 /* confdefs.h. */
38771 _ACEOF
38772 cat confdefs.h >>conftest.$ac_ext
38773 cat >>conftest.$ac_ext <<_ACEOF
38774 /* end confdefs.h. */
38775
38776 /* Override any gcc2 internal prototype to avoid an error. */
38777 #ifdef __cplusplus
38778 extern "C"
38779 #endif
38780 /* We use char because int might match the return type of a gcc2
38781 builtin and then its argument prototype would still apply. */
38782 char esd_close ();
38783 int
38784 main ()
38785 {
38786 esd_close ();
38787 ;
38788 return 0;
38789 }
38790 _ACEOF
38791 rm -f conftest.$ac_objext conftest$ac_exeext
38792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38793 (eval $ac_link) 2>conftest.er1
38794 ac_status=$?
38795 grep -v '^ *+' conftest.er1 >conftest.err
38796 rm -f conftest.er1
38797 cat conftest.err >&5
38798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38799 (exit $ac_status); } &&
38800 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38802 (eval $ac_try) 2>&5
38803 ac_status=$?
38804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38805 (exit $ac_status); }; } &&
38806 { ac_try='test -s conftest$ac_exeext'
38807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38808 (eval $ac_try) 2>&5
38809 ac_status=$?
38810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811 (exit $ac_status); }; }; then
38812 ac_cv_lib_esd_esd_close=yes
38813 else
38814 echo "$as_me: failed program was:" >&5
38815 sed 's/^/| /' conftest.$ac_ext >&5
38816
38817 ac_cv_lib_esd_esd_close=no
38818 fi
38819 rm -f conftest.err conftest.$ac_objext \
38820 conftest$ac_exeext conftest.$ac_ext
38821 LIBS=$ac_check_lib_save_LIBS
38822 fi
38823 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38824 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38825 if test $ac_cv_lib_esd_esd_close = yes; then
38826
38827
38828 for ac_header in esd.h
38829 do
38830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38832 echo "$as_me:$LINENO: checking for $ac_header" >&5
38833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38835 echo $ECHO_N "(cached) $ECHO_C" >&6
38836 fi
38837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38839 else
38840 # Is the header compilable?
38841 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38842 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38843 cat >conftest.$ac_ext <<_ACEOF
38844 /* confdefs.h. */
38845 _ACEOF
38846 cat confdefs.h >>conftest.$ac_ext
38847 cat >>conftest.$ac_ext <<_ACEOF
38848 /* end confdefs.h. */
38849 $ac_includes_default
38850 #include <$ac_header>
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" || test ! -s conftest.err'
38862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38863 (eval $ac_try) 2>&5
38864 ac_status=$?
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); }; } &&
38867 { ac_try='test -s conftest.$ac_objext'
38868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38869 (eval $ac_try) 2>&5
38870 ac_status=$?
38871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38872 (exit $ac_status); }; }; then
38873 ac_header_compiler=yes
38874 else
38875 echo "$as_me: failed program was:" >&5
38876 sed 's/^/| /' conftest.$ac_ext >&5
38877
38878 ac_header_compiler=no
38879 fi
38880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38881 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38882 echo "${ECHO_T}$ac_header_compiler" >&6
38883
38884 # Is the header present?
38885 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38886 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38887 cat >conftest.$ac_ext <<_ACEOF
38888 /* confdefs.h. */
38889 _ACEOF
38890 cat confdefs.h >>conftest.$ac_ext
38891 cat >>conftest.$ac_ext <<_ACEOF
38892 /* end confdefs.h. */
38893 #include <$ac_header>
38894 _ACEOF
38895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38896 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38897 ac_status=$?
38898 grep -v '^ *+' conftest.er1 >conftest.err
38899 rm -f conftest.er1
38900 cat conftest.err >&5
38901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38902 (exit $ac_status); } >/dev/null; then
38903 if test -s conftest.err; then
38904 ac_cpp_err=$ac_cxx_preproc_warn_flag
38905 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38906 else
38907 ac_cpp_err=
38908 fi
38909 else
38910 ac_cpp_err=yes
38911 fi
38912 if test -z "$ac_cpp_err"; then
38913 ac_header_preproc=yes
38914 else
38915 echo "$as_me: failed program was:" >&5
38916 sed 's/^/| /' conftest.$ac_ext >&5
38917
38918 ac_header_preproc=no
38919 fi
38920 rm -f conftest.err conftest.$ac_ext
38921 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38922 echo "${ECHO_T}$ac_header_preproc" >&6
38923
38924 # So? What about this header?
38925 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38926 yes:no: )
38927 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38928 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38930 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38931 ac_header_preproc=yes
38932 ;;
38933 no:yes:* )
38934 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38935 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38936 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38937 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38938 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38939 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38940 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38941 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38943 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38944 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38945 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38946 (
38947 cat <<\_ASBOX
38948 ## ----------------------------------------- ##
38949 ## Report this to wx-dev@lists.wxwidgets.org ##
38950 ## ----------------------------------------- ##
38951 _ASBOX
38952 ) |
38953 sed "s/^/$as_me: WARNING: /" >&2
38954 ;;
38955 esac
38956 echo "$as_me:$LINENO: checking for $ac_header" >&5
38957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38959 echo $ECHO_N "(cached) $ECHO_C" >&6
38960 else
38961 eval "$as_ac_Header=\$ac_header_preproc"
38962 fi
38963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38965
38966 fi
38967 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38968 cat >>confdefs.h <<_ACEOF
38969 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38970 _ACEOF
38971
38972 EXTRALIBS_ESD="-lesd"
38973
38974 fi
38975
38976 done
38977
38978
38979 fi
38980
38981
38982
38983 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38984 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38985 cat >conftest.$ac_ext <<_ACEOF
38986 /* confdefs.h. */
38987 _ACEOF
38988 cat confdefs.h >>conftest.$ac_ext
38989 cat >>conftest.$ac_ext <<_ACEOF
38990 /* end confdefs.h. */
38991 #ifdef __linux__
38992 #include <linux/cdrom.h>
38993 #else
38994 /* For Solaris */
38995 #include <sys/cdio.h>
38996 #endif
38997
38998 int
38999 main ()
39000 {
39001 struct cdrom_tocentry entry, old_entry;
39002 ;
39003 return 0;
39004 }
39005 _ACEOF
39006 rm -f conftest.$ac_objext
39007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39008 (eval $ac_compile) 2>conftest.er1
39009 ac_status=$?
39010 grep -v '^ *+' conftest.er1 >conftest.err
39011 rm -f conftest.er1
39012 cat conftest.err >&5
39013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39014 (exit $ac_status); } &&
39015 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39017 (eval $ac_try) 2>&5
39018 ac_status=$?
39019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39020 (exit $ac_status); }; } &&
39021 { ac_try='test -s conftest.$ac_objext'
39022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39023 (eval $ac_try) 2>&5
39024 ac_status=$?
39025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39026 (exit $ac_status); }; }; then
39027 echo "$as_me:$LINENO: result: yes" >&5
39028 echo "${ECHO_T}yes" >&6
39029 cat >>confdefs.h <<\_ACEOF
39030 #define HAVE_KNOWN_CDROM_INTERFACE 1
39031 _ACEOF
39032
39033 else
39034 echo "$as_me: failed program was:" >&5
39035 sed 's/^/| /' conftest.$ac_ext >&5
39036
39037 echo "$as_me:$LINENO: result: no" >&5
39038 echo "${ECHO_T}no" >&6
39039 fi
39040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39041
39042
39043 cat >confcache <<\_ACEOF
39044 # This file is a shell script that caches the results of configure
39045 # tests run on this system so they can be shared between configure
39046 # scripts and configure runs, see configure's option --config-cache.
39047 # It is not useful on other systems. If it contains results you don't
39048 # want to keep, you may remove or edit it.
39049 #
39050 # config.status only pays attention to the cache file if you give it
39051 # the --recheck option to rerun configure.
39052 #
39053 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39054 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39055 # following values.
39056
39057 _ACEOF
39058
39059 # The following way of writing the cache mishandles newlines in values,
39060 # but we know of no workaround that is simple, portable, and efficient.
39061 # So, don't put newlines in cache variables' values.
39062 # Ultrix sh set writes to stderr and can't be redirected directly,
39063 # and sets the high bit in the cache file unless we assign to the vars.
39064 {
39065 (set) 2>&1 |
39066 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39067 *ac_space=\ *)
39068 # `set' does not quote correctly, so add quotes (double-quote
39069 # substitution turns \\\\ into \\, and sed turns \\ into \).
39070 sed -n \
39071 "s/'/'\\\\''/g;
39072 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39073 ;;
39074 *)
39075 # `set' quotes correctly as required by POSIX, so do not add quotes.
39076 sed -n \
39077 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39078 ;;
39079 esac;
39080 } |
39081 sed '
39082 t clear
39083 : clear
39084 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39085 t end
39086 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39087 : end' >>confcache
39088 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39089 if test -w $cache_file; then
39090 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39091 cat confcache >$cache_file
39092 else
39093 echo "not updating unwritable cache $cache_file"
39094 fi
39095 fi
39096 rm -f confcache
39097
39098
39099 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39100
39101
39102 THREADS_LINK=
39103 THREADS_CXXFLAGS=
39104
39105 if test "$wxUSE_THREADS" = "yes" ; then
39106 if test "$USE_BEOS" = 1; then
39107 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39108 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39109 wxUSE_THREADS="no"
39110 fi
39111 fi
39112
39113 if test "$wxUSE_THREADS" = "yes" ; then
39114
39115
39116 THREAD_OPTS="-pthread"
39117 case "${host}" in
39118 *-*-solaris2* | *-*-sunos4* )
39119 if test "x$GCC" = "xyes"; then
39120 THREAD_OPTS="-pthreads $THREAD_OPTS"
39121 else
39122 THREAD_OPTS="-mt $THREAD_OPTS"
39123 fi
39124 ;;
39125 *-*-freebsd*)
39126 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39127 ;;
39128 *-*-darwin* | *-*-cygwin* )
39129 THREAD_OPTS=""
39130 ;;
39131 *-*-aix*)
39132 THREAD_OPTS="pthreads"
39133 ;;
39134 *-hp-hpux* )
39135 if test "x$GCC" = "xyes"; then
39136 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39137 THREAD_OPTS=""
39138 else
39139 THREAD_OPTS="-mt"
39140 fi
39141 ;;
39142
39143 *-*-irix* )
39144 if test "x$GCC" = "xyes"; then
39145 THREAD_OPTS=""
39146 fi
39147 ;;
39148
39149 *-*-*UnixWare*)
39150 if test "x$GCC" != "xyes"; then
39151 THREAD_OPTS="-Ethread"
39152 fi
39153 ;;
39154 esac
39155
39156 THREAD_OPTS="$THREAD_OPTS pthread none"
39157
39158 THREADS_OK=no
39159 for flag in $THREAD_OPTS; do
39160 case $flag in
39161 none)
39162 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39163 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39164 ;;
39165
39166 -*)
39167 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39168 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39169 THREADS_CXXFLAGS="$flag"
39170 ;;
39171
39172 *)
39173 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39174 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39175 THREADS_LINK="-l$flag"
39176 ;;
39177 esac
39178
39179 save_LIBS="$LIBS"
39180 save_CXXFLAGS="$CXXFLAGS"
39181 LIBS="$THREADS_LINK $LIBS"
39182 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
39183
39184 cat >conftest.$ac_ext <<_ACEOF
39185 /* confdefs.h. */
39186 _ACEOF
39187 cat confdefs.h >>conftest.$ac_ext
39188 cat >>conftest.$ac_ext <<_ACEOF
39189 /* end confdefs.h. */
39190 #include <pthread.h>
39191 int
39192 main ()
39193 {
39194 pthread_create(0,0,0,0);
39195 ;
39196 return 0;
39197 }
39198 _ACEOF
39199 rm -f conftest.$ac_objext conftest$ac_exeext
39200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39201 (eval $ac_link) 2>conftest.er1
39202 ac_status=$?
39203 grep -v '^ *+' conftest.er1 >conftest.err
39204 rm -f conftest.er1
39205 cat conftest.err >&5
39206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39207 (exit $ac_status); } &&
39208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39210 (eval $ac_try) 2>&5
39211 ac_status=$?
39212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39213 (exit $ac_status); }; } &&
39214 { ac_try='test -s conftest$ac_exeext'
39215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39216 (eval $ac_try) 2>&5
39217 ac_status=$?
39218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39219 (exit $ac_status); }; }; then
39220 THREADS_OK=yes
39221 else
39222 echo "$as_me: failed program was:" >&5
39223 sed 's/^/| /' conftest.$ac_ext >&5
39224
39225 fi
39226 rm -f conftest.err conftest.$ac_objext \
39227 conftest$ac_exeext conftest.$ac_ext
39228
39229 LIBS="$save_LIBS"
39230 CXXFLAGS="$save_CXXFLAGS"
39231
39232 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39233 echo "${ECHO_T}$THREADS_OK" >&6
39234 if test "x$THREADS_OK" = "xyes"; then
39235 break;
39236 fi
39237
39238 THREADS_LINK=""
39239 THREADS_CXXFLAGS=""
39240 done
39241
39242 if test "x$THREADS_OK" != "xyes"; then
39243 wxUSE_THREADS=no
39244 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39245 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39246 else
39247 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
39248 LIBS="$THREADS_LINK $LIBS"
39249
39250 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39251 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39252 flag=no
39253 case "${host}" in
39254 *-aix*)
39255 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39256 flag="-D_THREAD_SAFE"
39257 ;;
39258 *-freebsd*)
39259 flag="-D_THREAD_SAFE"
39260 ;;
39261 *-hp-hpux* )
39262 flag="-D_REENTRANT"
39263 if test "x$GCC" != "xyes"; then
39264 flag="$flag -D_RWSTD_MULTI_THREAD"
39265 fi
39266 ;;
39267 *solaris* | alpha*-osf*)
39268 flag="-D_REENTRANT"
39269 ;;
39270 esac
39271 echo "$as_me:$LINENO: result: ${flag}" >&5
39272 echo "${ECHO_T}${flag}" >&6
39273 if test "x$flag" != xno; then
39274 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
39275 fi
39276
39277 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39278 fi
39279 fi
39280
39281 if test "$wxUSE_THREADS" = "yes" ; then
39282
39283 for ac_func in thr_setconcurrency
39284 do
39285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39286 echo "$as_me:$LINENO: checking for $ac_func" >&5
39287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39288 if eval "test \"\${$as_ac_var+set}\" = set"; then
39289 echo $ECHO_N "(cached) $ECHO_C" >&6
39290 else
39291 cat >conftest.$ac_ext <<_ACEOF
39292 /* confdefs.h. */
39293 _ACEOF
39294 cat confdefs.h >>conftest.$ac_ext
39295 cat >>conftest.$ac_ext <<_ACEOF
39296 /* end confdefs.h. */
39297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39299 #define $ac_func innocuous_$ac_func
39300
39301 /* System header to define __stub macros and hopefully few prototypes,
39302 which can conflict with char $ac_func (); below.
39303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39304 <limits.h> exists even on freestanding compilers. */
39305
39306 #ifdef __STDC__
39307 # include <limits.h>
39308 #else
39309 # include <assert.h>
39310 #endif
39311
39312 #undef $ac_func
39313
39314 /* Override any gcc2 internal prototype to avoid an error. */
39315 #ifdef __cplusplus
39316 extern "C"
39317 {
39318 #endif
39319 /* We use char because int might match the return type of a gcc2
39320 builtin and then its argument prototype would still apply. */
39321 char $ac_func ();
39322 /* The GNU C library defines this for functions which it implements
39323 to always fail with ENOSYS. Some functions are actually named
39324 something starting with __ and the normal name is an alias. */
39325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39326 choke me
39327 #else
39328 char (*f) () = $ac_func;
39329 #endif
39330 #ifdef __cplusplus
39331 }
39332 #endif
39333
39334 int
39335 main ()
39336 {
39337 return f != $ac_func;
39338 ;
39339 return 0;
39340 }
39341 _ACEOF
39342 rm -f conftest.$ac_objext conftest$ac_exeext
39343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39344 (eval $ac_link) 2>conftest.er1
39345 ac_status=$?
39346 grep -v '^ *+' conftest.er1 >conftest.err
39347 rm -f conftest.er1
39348 cat conftest.err >&5
39349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39350 (exit $ac_status); } &&
39351 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39353 (eval $ac_try) 2>&5
39354 ac_status=$?
39355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39356 (exit $ac_status); }; } &&
39357 { ac_try='test -s conftest$ac_exeext'
39358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39359 (eval $ac_try) 2>&5
39360 ac_status=$?
39361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39362 (exit $ac_status); }; }; then
39363 eval "$as_ac_var=yes"
39364 else
39365 echo "$as_me: failed program was:" >&5
39366 sed 's/^/| /' conftest.$ac_ext >&5
39367
39368 eval "$as_ac_var=no"
39369 fi
39370 rm -f conftest.err conftest.$ac_objext \
39371 conftest$ac_exeext conftest.$ac_ext
39372 fi
39373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39375 if test `eval echo '${'$as_ac_var'}'` = yes; then
39376 cat >>confdefs.h <<_ACEOF
39377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39378 _ACEOF
39379
39380 fi
39381 done
39382
39383
39384 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39385 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39386 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39387 echo $ECHO_N "(cached) $ECHO_C" >&6
39388 else
39389
39390 cat >conftest.$ac_ext <<_ACEOF
39391 /* confdefs.h. */
39392 _ACEOF
39393 cat confdefs.h >>conftest.$ac_ext
39394 cat >>conftest.$ac_ext <<_ACEOF
39395 /* end confdefs.h. */
39396 #include <pthread.h>
39397 void ThreadCleanupFunc(void *p);
39398
39399 int
39400 main ()
39401 {
39402
39403 void *p;
39404 pthread_cleanup_push(ThreadCleanupFunc, p);
39405 pthread_cleanup_pop(0);
39406
39407 ;
39408 return 0;
39409 }
39410 _ACEOF
39411 rm -f conftest.$ac_objext
39412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39413 (eval $ac_compile) 2>conftest.er1
39414 ac_status=$?
39415 grep -v '^ *+' conftest.er1 >conftest.err
39416 rm -f conftest.er1
39417 cat conftest.err >&5
39418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39419 (exit $ac_status); } &&
39420 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39422 (eval $ac_try) 2>&5
39423 ac_status=$?
39424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39425 (exit $ac_status); }; } &&
39426 { ac_try='test -s conftest.$ac_objext'
39427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39428 (eval $ac_try) 2>&5
39429 ac_status=$?
39430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39431 (exit $ac_status); }; }; then
39432
39433 wx_cv_func_pthread_cleanup=yes
39434
39435 else
39436 echo "$as_me: failed program was:" >&5
39437 sed 's/^/| /' conftest.$ac_ext >&5
39438
39439
39440 wx_cv_func_pthread_cleanup=no
39441
39442
39443 fi
39444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39445
39446 fi
39447 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39448 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39449 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39450 cat >>confdefs.h <<\_ACEOF
39451 #define wxHAVE_PTHREAD_CLEANUP 1
39452 _ACEOF
39453
39454 fi
39455
39456
39457 for ac_header in sched.h
39458 do
39459 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39460 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39461 echo "$as_me:$LINENO: checking for $ac_header" >&5
39462 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39464 echo $ECHO_N "(cached) $ECHO_C" >&6
39465 fi
39466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39468 else
39469 # Is the header compilable?
39470 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39471 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39472 cat >conftest.$ac_ext <<_ACEOF
39473 /* confdefs.h. */
39474 _ACEOF
39475 cat confdefs.h >>conftest.$ac_ext
39476 cat >>conftest.$ac_ext <<_ACEOF
39477 /* end confdefs.h. */
39478 $ac_includes_default
39479 #include <$ac_header>
39480 _ACEOF
39481 rm -f conftest.$ac_objext
39482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39483 (eval $ac_compile) 2>conftest.er1
39484 ac_status=$?
39485 grep -v '^ *+' conftest.er1 >conftest.err
39486 rm -f conftest.er1
39487 cat conftest.err >&5
39488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39489 (exit $ac_status); } &&
39490 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39492 (eval $ac_try) 2>&5
39493 ac_status=$?
39494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495 (exit $ac_status); }; } &&
39496 { ac_try='test -s conftest.$ac_objext'
39497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39498 (eval $ac_try) 2>&5
39499 ac_status=$?
39500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39501 (exit $ac_status); }; }; then
39502 ac_header_compiler=yes
39503 else
39504 echo "$as_me: failed program was:" >&5
39505 sed 's/^/| /' conftest.$ac_ext >&5
39506
39507 ac_header_compiler=no
39508 fi
39509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39511 echo "${ECHO_T}$ac_header_compiler" >&6
39512
39513 # Is the header present?
39514 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39515 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39516 cat >conftest.$ac_ext <<_ACEOF
39517 /* confdefs.h. */
39518 _ACEOF
39519 cat confdefs.h >>conftest.$ac_ext
39520 cat >>conftest.$ac_ext <<_ACEOF
39521 /* end confdefs.h. */
39522 #include <$ac_header>
39523 _ACEOF
39524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39525 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39526 ac_status=$?
39527 grep -v '^ *+' conftest.er1 >conftest.err
39528 rm -f conftest.er1
39529 cat conftest.err >&5
39530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39531 (exit $ac_status); } >/dev/null; then
39532 if test -s conftest.err; then
39533 ac_cpp_err=$ac_cxx_preproc_warn_flag
39534 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39535 else
39536 ac_cpp_err=
39537 fi
39538 else
39539 ac_cpp_err=yes
39540 fi
39541 if test -z "$ac_cpp_err"; then
39542 ac_header_preproc=yes
39543 else
39544 echo "$as_me: failed program was:" >&5
39545 sed 's/^/| /' conftest.$ac_ext >&5
39546
39547 ac_header_preproc=no
39548 fi
39549 rm -f conftest.err conftest.$ac_ext
39550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39551 echo "${ECHO_T}$ac_header_preproc" >&6
39552
39553 # So? What about this header?
39554 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39555 yes:no: )
39556 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39557 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39559 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39560 ac_header_preproc=yes
39561 ;;
39562 no:yes:* )
39563 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39564 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39565 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39566 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39567 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39568 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39569 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39570 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39572 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39573 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39574 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39575 (
39576 cat <<\_ASBOX
39577 ## ----------------------------------------- ##
39578 ## Report this to wx-dev@lists.wxwidgets.org ##
39579 ## ----------------------------------------- ##
39580 _ASBOX
39581 ) |
39582 sed "s/^/$as_me: WARNING: /" >&2
39583 ;;
39584 esac
39585 echo "$as_me:$LINENO: checking for $ac_header" >&5
39586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39588 echo $ECHO_N "(cached) $ECHO_C" >&6
39589 else
39590 eval "$as_ac_Header=\$ac_header_preproc"
39591 fi
39592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39594
39595 fi
39596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39597 cat >>confdefs.h <<_ACEOF
39598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39599 _ACEOF
39600
39601 fi
39602
39603 done
39604
39605 if test "$ac_cv_header_sched_h" = "yes"; then
39606 echo "$as_me:$LINENO: checking for sched_yield" >&5
39607 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39608 if test "${ac_cv_func_sched_yield+set}" = set; then
39609 echo $ECHO_N "(cached) $ECHO_C" >&6
39610 else
39611 cat >conftest.$ac_ext <<_ACEOF
39612 /* confdefs.h. */
39613 _ACEOF
39614 cat confdefs.h >>conftest.$ac_ext
39615 cat >>conftest.$ac_ext <<_ACEOF
39616 /* end confdefs.h. */
39617 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39619 #define sched_yield innocuous_sched_yield
39620
39621 /* System header to define __stub macros and hopefully few prototypes,
39622 which can conflict with char sched_yield (); below.
39623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39624 <limits.h> exists even on freestanding compilers. */
39625
39626 #ifdef __STDC__
39627 # include <limits.h>
39628 #else
39629 # include <assert.h>
39630 #endif
39631
39632 #undef sched_yield
39633
39634 /* Override any gcc2 internal prototype to avoid an error. */
39635 #ifdef __cplusplus
39636 extern "C"
39637 {
39638 #endif
39639 /* We use char because int might match the return type of a gcc2
39640 builtin and then its argument prototype would still apply. */
39641 char sched_yield ();
39642 /* The GNU C library defines this for functions which it implements
39643 to always fail with ENOSYS. Some functions are actually named
39644 something starting with __ and the normal name is an alias. */
39645 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39646 choke me
39647 #else
39648 char (*f) () = sched_yield;
39649 #endif
39650 #ifdef __cplusplus
39651 }
39652 #endif
39653
39654 int
39655 main ()
39656 {
39657 return f != sched_yield;
39658 ;
39659 return 0;
39660 }
39661 _ACEOF
39662 rm -f conftest.$ac_objext conftest$ac_exeext
39663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39664 (eval $ac_link) 2>conftest.er1
39665 ac_status=$?
39666 grep -v '^ *+' conftest.er1 >conftest.err
39667 rm -f conftest.er1
39668 cat conftest.err >&5
39669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39670 (exit $ac_status); } &&
39671 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39673 (eval $ac_try) 2>&5
39674 ac_status=$?
39675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39676 (exit $ac_status); }; } &&
39677 { ac_try='test -s conftest$ac_exeext'
39678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39679 (eval $ac_try) 2>&5
39680 ac_status=$?
39681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39682 (exit $ac_status); }; }; then
39683 ac_cv_func_sched_yield=yes
39684 else
39685 echo "$as_me: failed program was:" >&5
39686 sed 's/^/| /' conftest.$ac_ext >&5
39687
39688 ac_cv_func_sched_yield=no
39689 fi
39690 rm -f conftest.err conftest.$ac_objext \
39691 conftest$ac_exeext conftest.$ac_ext
39692 fi
39693 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39694 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39695 if test $ac_cv_func_sched_yield = yes; then
39696 cat >>confdefs.h <<\_ACEOF
39697 #define HAVE_SCHED_YIELD 1
39698 _ACEOF
39699
39700 else
39701
39702 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39703 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39704 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39705 echo $ECHO_N "(cached) $ECHO_C" >&6
39706 else
39707 ac_check_lib_save_LIBS=$LIBS
39708 LIBS="-lposix4 $LIBS"
39709 cat >conftest.$ac_ext <<_ACEOF
39710 /* confdefs.h. */
39711 _ACEOF
39712 cat confdefs.h >>conftest.$ac_ext
39713 cat >>conftest.$ac_ext <<_ACEOF
39714 /* end confdefs.h. */
39715
39716 /* Override any gcc2 internal prototype to avoid an error. */
39717 #ifdef __cplusplus
39718 extern "C"
39719 #endif
39720 /* We use char because int might match the return type of a gcc2
39721 builtin and then its argument prototype would still apply. */
39722 char sched_yield ();
39723 int
39724 main ()
39725 {
39726 sched_yield ();
39727 ;
39728 return 0;
39729 }
39730 _ACEOF
39731 rm -f conftest.$ac_objext conftest$ac_exeext
39732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39733 (eval $ac_link) 2>conftest.er1
39734 ac_status=$?
39735 grep -v '^ *+' conftest.er1 >conftest.err
39736 rm -f conftest.er1
39737 cat conftest.err >&5
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); } &&
39740 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39742 (eval $ac_try) 2>&5
39743 ac_status=$?
39744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39745 (exit $ac_status); }; } &&
39746 { ac_try='test -s conftest$ac_exeext'
39747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39748 (eval $ac_try) 2>&5
39749 ac_status=$?
39750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39751 (exit $ac_status); }; }; then
39752 ac_cv_lib_posix4_sched_yield=yes
39753 else
39754 echo "$as_me: failed program was:" >&5
39755 sed 's/^/| /' conftest.$ac_ext >&5
39756
39757 ac_cv_lib_posix4_sched_yield=no
39758 fi
39759 rm -f conftest.err conftest.$ac_objext \
39760 conftest$ac_exeext conftest.$ac_ext
39761 LIBS=$ac_check_lib_save_LIBS
39762 fi
39763 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39764 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39765 if test $ac_cv_lib_posix4_sched_yield = yes; then
39766 cat >>confdefs.h <<\_ACEOF
39767 #define HAVE_SCHED_YIELD 1
39768 _ACEOF
39769 POSIX4_LINK=" -lposix4"
39770 else
39771 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39772 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39773
39774 fi
39775
39776
39777
39778 fi
39779
39780 fi
39781
39782 HAVE_PRIOR_FUNCS=0
39783 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39784 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39785 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39786 echo $ECHO_N "(cached) $ECHO_C" >&6
39787 else
39788 cat >conftest.$ac_ext <<_ACEOF
39789 /* confdefs.h. */
39790 _ACEOF
39791 cat confdefs.h >>conftest.$ac_ext
39792 cat >>conftest.$ac_ext <<_ACEOF
39793 /* end confdefs.h. */
39794 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39796 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39797
39798 /* System header to define __stub macros and hopefully few prototypes,
39799 which can conflict with char pthread_attr_getschedpolicy (); below.
39800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39801 <limits.h> exists even on freestanding compilers. */
39802
39803 #ifdef __STDC__
39804 # include <limits.h>
39805 #else
39806 # include <assert.h>
39807 #endif
39808
39809 #undef pthread_attr_getschedpolicy
39810
39811 /* Override any gcc2 internal prototype to avoid an error. */
39812 #ifdef __cplusplus
39813 extern "C"
39814 {
39815 #endif
39816 /* We use char because int might match the return type of a gcc2
39817 builtin and then its argument prototype would still apply. */
39818 char pthread_attr_getschedpolicy ();
39819 /* The GNU C library defines this for functions which it implements
39820 to always fail with ENOSYS. Some functions are actually named
39821 something starting with __ and the normal name is an alias. */
39822 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39823 choke me
39824 #else
39825 char (*f) () = pthread_attr_getschedpolicy;
39826 #endif
39827 #ifdef __cplusplus
39828 }
39829 #endif
39830
39831 int
39832 main ()
39833 {
39834 return f != pthread_attr_getschedpolicy;
39835 ;
39836 return 0;
39837 }
39838 _ACEOF
39839 rm -f conftest.$ac_objext conftest$ac_exeext
39840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39841 (eval $ac_link) 2>conftest.er1
39842 ac_status=$?
39843 grep -v '^ *+' conftest.er1 >conftest.err
39844 rm -f conftest.er1
39845 cat conftest.err >&5
39846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39847 (exit $ac_status); } &&
39848 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39850 (eval $ac_try) 2>&5
39851 ac_status=$?
39852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39853 (exit $ac_status); }; } &&
39854 { ac_try='test -s conftest$ac_exeext'
39855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39856 (eval $ac_try) 2>&5
39857 ac_status=$?
39858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39859 (exit $ac_status); }; }; then
39860 ac_cv_func_pthread_attr_getschedpolicy=yes
39861 else
39862 echo "$as_me: failed program was:" >&5
39863 sed 's/^/| /' conftest.$ac_ext >&5
39864
39865 ac_cv_func_pthread_attr_getschedpolicy=no
39866 fi
39867 rm -f conftest.err conftest.$ac_objext \
39868 conftest$ac_exeext conftest.$ac_ext
39869 fi
39870 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39871 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39872 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39873 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39874 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39875 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39876 echo $ECHO_N "(cached) $ECHO_C" >&6
39877 else
39878 cat >conftest.$ac_ext <<_ACEOF
39879 /* confdefs.h. */
39880 _ACEOF
39881 cat confdefs.h >>conftest.$ac_ext
39882 cat >>conftest.$ac_ext <<_ACEOF
39883 /* end confdefs.h. */
39884 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39886 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39887
39888 /* System header to define __stub macros and hopefully few prototypes,
39889 which can conflict with char pthread_attr_setschedparam (); below.
39890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39891 <limits.h> exists even on freestanding compilers. */
39892
39893 #ifdef __STDC__
39894 # include <limits.h>
39895 #else
39896 # include <assert.h>
39897 #endif
39898
39899 #undef pthread_attr_setschedparam
39900
39901 /* Override any gcc2 internal prototype to avoid an error. */
39902 #ifdef __cplusplus
39903 extern "C"
39904 {
39905 #endif
39906 /* We use char because int might match the return type of a gcc2
39907 builtin and then its argument prototype would still apply. */
39908 char pthread_attr_setschedparam ();
39909 /* The GNU C library defines this for functions which it implements
39910 to always fail with ENOSYS. Some functions are actually named
39911 something starting with __ and the normal name is an alias. */
39912 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39913 choke me
39914 #else
39915 char (*f) () = pthread_attr_setschedparam;
39916 #endif
39917 #ifdef __cplusplus
39918 }
39919 #endif
39920
39921 int
39922 main ()
39923 {
39924 return f != pthread_attr_setschedparam;
39925 ;
39926 return 0;
39927 }
39928 _ACEOF
39929 rm -f conftest.$ac_objext conftest$ac_exeext
39930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39931 (eval $ac_link) 2>conftest.er1
39932 ac_status=$?
39933 grep -v '^ *+' conftest.er1 >conftest.err
39934 rm -f conftest.er1
39935 cat conftest.err >&5
39936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39937 (exit $ac_status); } &&
39938 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39940 (eval $ac_try) 2>&5
39941 ac_status=$?
39942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39943 (exit $ac_status); }; } &&
39944 { ac_try='test -s conftest$ac_exeext'
39945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39946 (eval $ac_try) 2>&5
39947 ac_status=$?
39948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39949 (exit $ac_status); }; }; then
39950 ac_cv_func_pthread_attr_setschedparam=yes
39951 else
39952 echo "$as_me: failed program was:" >&5
39953 sed 's/^/| /' conftest.$ac_ext >&5
39954
39955 ac_cv_func_pthread_attr_setschedparam=no
39956 fi
39957 rm -f conftest.err conftest.$ac_objext \
39958 conftest$ac_exeext conftest.$ac_ext
39959 fi
39960 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39961 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39962 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39963 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39964 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39965 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39966 echo $ECHO_N "(cached) $ECHO_C" >&6
39967 else
39968 cat >conftest.$ac_ext <<_ACEOF
39969 /* confdefs.h. */
39970 _ACEOF
39971 cat confdefs.h >>conftest.$ac_ext
39972 cat >>conftest.$ac_ext <<_ACEOF
39973 /* end confdefs.h. */
39974 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39976 #define sched_get_priority_max innocuous_sched_get_priority_max
39977
39978 /* System header to define __stub macros and hopefully few prototypes,
39979 which can conflict with char sched_get_priority_max (); below.
39980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39981 <limits.h> exists even on freestanding compilers. */
39982
39983 #ifdef __STDC__
39984 # include <limits.h>
39985 #else
39986 # include <assert.h>
39987 #endif
39988
39989 #undef sched_get_priority_max
39990
39991 /* Override any gcc2 internal prototype to avoid an error. */
39992 #ifdef __cplusplus
39993 extern "C"
39994 {
39995 #endif
39996 /* We use char because int might match the return type of a gcc2
39997 builtin and then its argument prototype would still apply. */
39998 char sched_get_priority_max ();
39999 /* The GNU C library defines this for functions which it implements
40000 to always fail with ENOSYS. Some functions are actually named
40001 something starting with __ and the normal name is an alias. */
40002 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40003 choke me
40004 #else
40005 char (*f) () = sched_get_priority_max;
40006 #endif
40007 #ifdef __cplusplus
40008 }
40009 #endif
40010
40011 int
40012 main ()
40013 {
40014 return f != sched_get_priority_max;
40015 ;
40016 return 0;
40017 }
40018 _ACEOF
40019 rm -f conftest.$ac_objext conftest$ac_exeext
40020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40021 (eval $ac_link) 2>conftest.er1
40022 ac_status=$?
40023 grep -v '^ *+' conftest.er1 >conftest.err
40024 rm -f conftest.er1
40025 cat conftest.err >&5
40026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40027 (exit $ac_status); } &&
40028 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40030 (eval $ac_try) 2>&5
40031 ac_status=$?
40032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40033 (exit $ac_status); }; } &&
40034 { ac_try='test -s conftest$ac_exeext'
40035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40036 (eval $ac_try) 2>&5
40037 ac_status=$?
40038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40039 (exit $ac_status); }; }; then
40040 ac_cv_func_sched_get_priority_max=yes
40041 else
40042 echo "$as_me: failed program was:" >&5
40043 sed 's/^/| /' conftest.$ac_ext >&5
40044
40045 ac_cv_func_sched_get_priority_max=no
40046 fi
40047 rm -f conftest.err conftest.$ac_objext \
40048 conftest$ac_exeext conftest.$ac_ext
40049 fi
40050 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40051 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40052 if test $ac_cv_func_sched_get_priority_max = yes; then
40053 HAVE_PRIOR_FUNCS=1
40054 else
40055 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40056 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40057 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40058 echo $ECHO_N "(cached) $ECHO_C" >&6
40059 else
40060 ac_check_lib_save_LIBS=$LIBS
40061 LIBS="-lposix4 $LIBS"
40062 cat >conftest.$ac_ext <<_ACEOF
40063 /* confdefs.h. */
40064 _ACEOF
40065 cat confdefs.h >>conftest.$ac_ext
40066 cat >>conftest.$ac_ext <<_ACEOF
40067 /* end confdefs.h. */
40068
40069 /* Override any gcc2 internal prototype to avoid an error. */
40070 #ifdef __cplusplus
40071 extern "C"
40072 #endif
40073 /* We use char because int might match the return type of a gcc2
40074 builtin and then its argument prototype would still apply. */
40075 char sched_get_priority_max ();
40076 int
40077 main ()
40078 {
40079 sched_get_priority_max ();
40080 ;
40081 return 0;
40082 }
40083 _ACEOF
40084 rm -f conftest.$ac_objext conftest$ac_exeext
40085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40086 (eval $ac_link) 2>conftest.er1
40087 ac_status=$?
40088 grep -v '^ *+' conftest.er1 >conftest.err
40089 rm -f conftest.er1
40090 cat conftest.err >&5
40091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40092 (exit $ac_status); } &&
40093 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40095 (eval $ac_try) 2>&5
40096 ac_status=$?
40097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40098 (exit $ac_status); }; } &&
40099 { ac_try='test -s conftest$ac_exeext'
40100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40101 (eval $ac_try) 2>&5
40102 ac_status=$?
40103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40104 (exit $ac_status); }; }; then
40105 ac_cv_lib_posix4_sched_get_priority_max=yes
40106 else
40107 echo "$as_me: failed program was:" >&5
40108 sed 's/^/| /' conftest.$ac_ext >&5
40109
40110 ac_cv_lib_posix4_sched_get_priority_max=no
40111 fi
40112 rm -f conftest.err conftest.$ac_objext \
40113 conftest$ac_exeext conftest.$ac_ext
40114 LIBS=$ac_check_lib_save_LIBS
40115 fi
40116 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40117 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40118 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40119
40120 HAVE_PRIOR_FUNCS=1
40121 POSIX4_LINK=" -lposix4"
40122
40123 fi
40124
40125
40126 fi
40127
40128
40129 fi
40130
40131
40132 fi
40133
40134
40135 if test "$HAVE_PRIOR_FUNCS" = 1; then
40136 cat >>confdefs.h <<\_ACEOF
40137 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40138 _ACEOF
40139
40140 else
40141 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40142 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40143 fi
40144
40145 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40146 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40147 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40148 echo $ECHO_N "(cached) $ECHO_C" >&6
40149 else
40150 cat >conftest.$ac_ext <<_ACEOF
40151 /* confdefs.h. */
40152 _ACEOF
40153 cat confdefs.h >>conftest.$ac_ext
40154 cat >>conftest.$ac_ext <<_ACEOF
40155 /* end confdefs.h. */
40156 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40158 #define pthread_cancel innocuous_pthread_cancel
40159
40160 /* System header to define __stub macros and hopefully few prototypes,
40161 which can conflict with char pthread_cancel (); below.
40162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40163 <limits.h> exists even on freestanding compilers. */
40164
40165 #ifdef __STDC__
40166 # include <limits.h>
40167 #else
40168 # include <assert.h>
40169 #endif
40170
40171 #undef pthread_cancel
40172
40173 /* Override any gcc2 internal prototype to avoid an error. */
40174 #ifdef __cplusplus
40175 extern "C"
40176 {
40177 #endif
40178 /* We use char because int might match the return type of a gcc2
40179 builtin and then its argument prototype would still apply. */
40180 char pthread_cancel ();
40181 /* The GNU C library defines this for functions which it implements
40182 to always fail with ENOSYS. Some functions are actually named
40183 something starting with __ and the normal name is an alias. */
40184 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40185 choke me
40186 #else
40187 char (*f) () = pthread_cancel;
40188 #endif
40189 #ifdef __cplusplus
40190 }
40191 #endif
40192
40193 int
40194 main ()
40195 {
40196 return f != pthread_cancel;
40197 ;
40198 return 0;
40199 }
40200 _ACEOF
40201 rm -f conftest.$ac_objext conftest$ac_exeext
40202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40203 (eval $ac_link) 2>conftest.er1
40204 ac_status=$?
40205 grep -v '^ *+' conftest.er1 >conftest.err
40206 rm -f conftest.er1
40207 cat conftest.err >&5
40208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40209 (exit $ac_status); } &&
40210 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40212 (eval $ac_try) 2>&5
40213 ac_status=$?
40214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40215 (exit $ac_status); }; } &&
40216 { ac_try='test -s conftest$ac_exeext'
40217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40218 (eval $ac_try) 2>&5
40219 ac_status=$?
40220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40221 (exit $ac_status); }; }; then
40222 ac_cv_func_pthread_cancel=yes
40223 else
40224 echo "$as_me: failed program was:" >&5
40225 sed 's/^/| /' conftest.$ac_ext >&5
40226
40227 ac_cv_func_pthread_cancel=no
40228 fi
40229 rm -f conftest.err conftest.$ac_objext \
40230 conftest$ac_exeext conftest.$ac_ext
40231 fi
40232 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40233 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40234 if test $ac_cv_func_pthread_cancel = yes; then
40235 cat >>confdefs.h <<\_ACEOF
40236 #define HAVE_PTHREAD_CANCEL 1
40237 _ACEOF
40238
40239 else
40240 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40241 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40242 fi
40243
40244
40245 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40246 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40247 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40248 echo $ECHO_N "(cached) $ECHO_C" >&6
40249 else
40250 cat >conftest.$ac_ext <<_ACEOF
40251 /* confdefs.h. */
40252 _ACEOF
40253 cat confdefs.h >>conftest.$ac_ext
40254 cat >>conftest.$ac_ext <<_ACEOF
40255 /* end confdefs.h. */
40256 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40258 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40259
40260 /* System header to define __stub macros and hopefully few prototypes,
40261 which can conflict with char pthread_attr_setstacksize (); below.
40262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40263 <limits.h> exists even on freestanding compilers. */
40264
40265 #ifdef __STDC__
40266 # include <limits.h>
40267 #else
40268 # include <assert.h>
40269 #endif
40270
40271 #undef pthread_attr_setstacksize
40272
40273 /* Override any gcc2 internal prototype to avoid an error. */
40274 #ifdef __cplusplus
40275 extern "C"
40276 {
40277 #endif
40278 /* We use char because int might match the return type of a gcc2
40279 builtin and then its argument prototype would still apply. */
40280 char pthread_attr_setstacksize ();
40281 /* The GNU C library defines this for functions which it implements
40282 to always fail with ENOSYS. Some functions are actually named
40283 something starting with __ and the normal name is an alias. */
40284 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40285 choke me
40286 #else
40287 char (*f) () = pthread_attr_setstacksize;
40288 #endif
40289 #ifdef __cplusplus
40290 }
40291 #endif
40292
40293 int
40294 main ()
40295 {
40296 return f != pthread_attr_setstacksize;
40297 ;
40298 return 0;
40299 }
40300 _ACEOF
40301 rm -f conftest.$ac_objext conftest$ac_exeext
40302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40303 (eval $ac_link) 2>conftest.er1
40304 ac_status=$?
40305 grep -v '^ *+' conftest.er1 >conftest.err
40306 rm -f conftest.er1
40307 cat conftest.err >&5
40308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40309 (exit $ac_status); } &&
40310 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40312 (eval $ac_try) 2>&5
40313 ac_status=$?
40314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40315 (exit $ac_status); }; } &&
40316 { ac_try='test -s conftest$ac_exeext'
40317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40318 (eval $ac_try) 2>&5
40319 ac_status=$?
40320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40321 (exit $ac_status); }; }; then
40322 ac_cv_func_pthread_attr_setstacksize=yes
40323 else
40324 echo "$as_me: failed program was:" >&5
40325 sed 's/^/| /' conftest.$ac_ext >&5
40326
40327 ac_cv_func_pthread_attr_setstacksize=no
40328 fi
40329 rm -f conftest.err conftest.$ac_objext \
40330 conftest$ac_exeext conftest.$ac_ext
40331 fi
40332 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40333 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40334 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40335 cat >>confdefs.h <<\_ACEOF
40336 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40337 _ACEOF
40338
40339 fi
40340
40341
40342
40343 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40344 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40345 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40346 echo $ECHO_N "(cached) $ECHO_C" >&6
40347 else
40348
40349 cat >conftest.$ac_ext <<_ACEOF
40350 /* confdefs.h. */
40351 _ACEOF
40352 cat confdefs.h >>conftest.$ac_ext
40353 cat >>conftest.$ac_ext <<_ACEOF
40354 /* end confdefs.h. */
40355 #include <pthread.h>
40356 int
40357 main ()
40358 {
40359
40360 pthread_mutexattr_t attr;
40361 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40362
40363 ;
40364 return 0;
40365 }
40366 _ACEOF
40367 rm -f conftest.$ac_objext
40368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40369 (eval $ac_compile) 2>conftest.er1
40370 ac_status=$?
40371 grep -v '^ *+' conftest.er1 >conftest.err
40372 rm -f conftest.er1
40373 cat conftest.err >&5
40374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40375 (exit $ac_status); } &&
40376 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40378 (eval $ac_try) 2>&5
40379 ac_status=$?
40380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40381 (exit $ac_status); }; } &&
40382 { ac_try='test -s conftest.$ac_objext'
40383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40384 (eval $ac_try) 2>&5
40385 ac_status=$?
40386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40387 (exit $ac_status); }; }; then
40388 wx_cv_type_pthread_mutexattr_t=yes
40389 else
40390 echo "$as_me: failed program was:" >&5
40391 sed 's/^/| /' conftest.$ac_ext >&5
40392
40393 wx_cv_type_pthread_mutexattr_t=no
40394
40395 fi
40396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40397
40398 fi
40399 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40400 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40401
40402 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40403 cat >>confdefs.h <<\_ACEOF
40404 #define HAVE_PTHREAD_MUTEXATTR_T 1
40405 _ACEOF
40406
40407
40408 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40409 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40410 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40411 echo $ECHO_N "(cached) $ECHO_C" >&6
40412 else
40413
40414 cat >conftest.$ac_ext <<_ACEOF
40415 /* confdefs.h. */
40416 _ACEOF
40417 cat confdefs.h >>conftest.$ac_ext
40418 cat >>conftest.$ac_ext <<_ACEOF
40419 /* end confdefs.h. */
40420 #include <pthread.h>
40421 int
40422 main ()
40423 {
40424
40425 pthread_mutexattr_t attr;
40426 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40427
40428 ;
40429 return 0;
40430 }
40431 _ACEOF
40432 rm -f conftest.$ac_objext
40433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40434 (eval $ac_compile) 2>conftest.er1
40435 ac_status=$?
40436 grep -v '^ *+' conftest.er1 >conftest.err
40437 rm -f conftest.er1
40438 cat conftest.err >&5
40439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40440 (exit $ac_status); } &&
40441 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40443 (eval $ac_try) 2>&5
40444 ac_status=$?
40445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40446 (exit $ac_status); }; } &&
40447 { ac_try='test -s conftest.$ac_objext'
40448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40449 (eval $ac_try) 2>&5
40450 ac_status=$?
40451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40452 (exit $ac_status); }; }; then
40453 wx_cv_func_pthread_mutexattr_settype_decl=yes
40454 else
40455 echo "$as_me: failed program was:" >&5
40456 sed 's/^/| /' conftest.$ac_ext >&5
40457
40458 wx_cv_func_pthread_mutexattr_settype_decl=no
40459
40460 fi
40461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40462
40463 fi
40464 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40465 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40466 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40467 cat >>confdefs.h <<\_ACEOF
40468 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40469 _ACEOF
40470
40471 fi
40472 else
40473 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40474 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40475 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40476 echo $ECHO_N "(cached) $ECHO_C" >&6
40477 else
40478
40479 cat >conftest.$ac_ext <<_ACEOF
40480 /* confdefs.h. */
40481 _ACEOF
40482 cat confdefs.h >>conftest.$ac_ext
40483 cat >>conftest.$ac_ext <<_ACEOF
40484 /* end confdefs.h. */
40485 #include <pthread.h>
40486 int
40487 main ()
40488 {
40489
40490 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40491
40492 ;
40493 return 0;
40494 }
40495 _ACEOF
40496 rm -f conftest.$ac_objext
40497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40498 (eval $ac_compile) 2>conftest.er1
40499 ac_status=$?
40500 grep -v '^ *+' conftest.er1 >conftest.err
40501 rm -f conftest.er1
40502 cat conftest.err >&5
40503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40504 (exit $ac_status); } &&
40505 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40507 (eval $ac_try) 2>&5
40508 ac_status=$?
40509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40510 (exit $ac_status); }; } &&
40511 { ac_try='test -s conftest.$ac_objext'
40512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40513 (eval $ac_try) 2>&5
40514 ac_status=$?
40515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40516 (exit $ac_status); }; }; then
40517
40518 wx_cv_type_pthread_rec_mutex_init=yes
40519
40520 else
40521 echo "$as_me: failed program was:" >&5
40522 sed 's/^/| /' conftest.$ac_ext >&5
40523
40524
40525 wx_cv_type_pthread_rec_mutex_init=no
40526
40527
40528 fi
40529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40530
40531 fi
40532 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40533 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40534 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40535 cat >>confdefs.h <<\_ACEOF
40536 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40537 _ACEOF
40538
40539 else
40540 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40541 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40542 fi
40543 fi
40544 fi
40545
40546 else
40547 if test "$wxUSE_THREADS" = "yes" ; then
40548 case "${host}" in
40549 *-*-mingw32* )
40550 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40551 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40552 if test "${wx_cv_cflags_mthread+set}" = set; then
40553 echo $ECHO_N "(cached) $ECHO_C" >&6
40554 else
40555
40556 CXXFLAGS_OLD="$CXXFLAGS"
40557 CXXFLAGS="-mthreads $CXXFLAGS"
40558 cat >conftest.$ac_ext <<_ACEOF
40559 /* confdefs.h. */
40560 _ACEOF
40561 cat confdefs.h >>conftest.$ac_ext
40562 cat >>conftest.$ac_ext <<_ACEOF
40563 /* end confdefs.h. */
40564
40565 int
40566 main ()
40567 {
40568
40569 ;
40570 return 0;
40571 }
40572 _ACEOF
40573 rm -f conftest.$ac_objext
40574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40575 (eval $ac_compile) 2>conftest.er1
40576 ac_status=$?
40577 grep -v '^ *+' conftest.er1 >conftest.err
40578 rm -f conftest.er1
40579 cat conftest.err >&5
40580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40581 (exit $ac_status); } &&
40582 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40584 (eval $ac_try) 2>&5
40585 ac_status=$?
40586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587 (exit $ac_status); }; } &&
40588 { ac_try='test -s conftest.$ac_objext'
40589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40590 (eval $ac_try) 2>&5
40591 ac_status=$?
40592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40593 (exit $ac_status); }; }; then
40594 wx_cv_cflags_mthread=yes
40595 else
40596 echo "$as_me: failed program was:" >&5
40597 sed 's/^/| /' conftest.$ac_ext >&5
40598
40599 wx_cv_cflags_mthread=no
40600
40601 fi
40602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40603
40604
40605 fi
40606 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40607 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40608
40609 if test "$wx_cv_cflags_mthread" = "yes"; then
40610 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40611 LDFLAGS="$LDFLAGS -mthreads"
40612 else
40613 CXXFLAGS="$CXXFLAGS_OLD"
40614 fi
40615 ;;
40616 *-pc-os2*emx )
40617 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40618 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40619 LDFLAGS="$LDFLAGS -Zmt"
40620 ;;
40621 esac
40622 fi
40623 fi
40624
40625 echo "$as_me:$LINENO: checking for localtime_r" >&5
40626 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40627 if test "${ac_cv_func_localtime_r+set}" = set; then
40628 echo $ECHO_N "(cached) $ECHO_C" >&6
40629 else
40630 cat >conftest.$ac_ext <<_ACEOF
40631 /* confdefs.h. */
40632 _ACEOF
40633 cat confdefs.h >>conftest.$ac_ext
40634 cat >>conftest.$ac_ext <<_ACEOF
40635 /* end confdefs.h. */
40636 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40638 #define localtime_r innocuous_localtime_r
40639
40640 /* System header to define __stub macros and hopefully few prototypes,
40641 which can conflict with char localtime_r (); below.
40642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40643 <limits.h> exists even on freestanding compilers. */
40644
40645 #ifdef __STDC__
40646 # include <limits.h>
40647 #else
40648 # include <assert.h>
40649 #endif
40650
40651 #undef localtime_r
40652
40653 /* Override any gcc2 internal prototype to avoid an error. */
40654 #ifdef __cplusplus
40655 extern "C"
40656 {
40657 #endif
40658 /* We use char because int might match the return type of a gcc2
40659 builtin and then its argument prototype would still apply. */
40660 char localtime_r ();
40661 /* The GNU C library defines this for functions which it implements
40662 to always fail with ENOSYS. Some functions are actually named
40663 something starting with __ and the normal name is an alias. */
40664 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40665 choke me
40666 #else
40667 char (*f) () = localtime_r;
40668 #endif
40669 #ifdef __cplusplus
40670 }
40671 #endif
40672
40673 int
40674 main ()
40675 {
40676 return f != localtime_r;
40677 ;
40678 return 0;
40679 }
40680 _ACEOF
40681 rm -f conftest.$ac_objext conftest$ac_exeext
40682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40683 (eval $ac_link) 2>conftest.er1
40684 ac_status=$?
40685 grep -v '^ *+' conftest.er1 >conftest.err
40686 rm -f conftest.er1
40687 cat conftest.err >&5
40688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40689 (exit $ac_status); } &&
40690 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40692 (eval $ac_try) 2>&5
40693 ac_status=$?
40694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40695 (exit $ac_status); }; } &&
40696 { ac_try='test -s conftest$ac_exeext'
40697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40698 (eval $ac_try) 2>&5
40699 ac_status=$?
40700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40701 (exit $ac_status); }; }; then
40702 ac_cv_func_localtime_r=yes
40703 else
40704 echo "$as_me: failed program was:" >&5
40705 sed 's/^/| /' conftest.$ac_ext >&5
40706
40707 ac_cv_func_localtime_r=no
40708 fi
40709 rm -f conftest.err conftest.$ac_objext \
40710 conftest$ac_exeext conftest.$ac_ext
40711 fi
40712 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40713 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40714 if test $ac_cv_func_localtime_r = yes; then
40715 cat >>confdefs.h <<\_ACEOF
40716 #define HAVE_LOCALTIME_R 1
40717 _ACEOF
40718
40719 fi
40720
40721 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40722 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40723 if test "${ac_cv_func_gmtime_r+set}" = set; then
40724 echo $ECHO_N "(cached) $ECHO_C" >&6
40725 else
40726 cat >conftest.$ac_ext <<_ACEOF
40727 /* confdefs.h. */
40728 _ACEOF
40729 cat confdefs.h >>conftest.$ac_ext
40730 cat >>conftest.$ac_ext <<_ACEOF
40731 /* end confdefs.h. */
40732 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40734 #define gmtime_r innocuous_gmtime_r
40735
40736 /* System header to define __stub macros and hopefully few prototypes,
40737 which can conflict with char gmtime_r (); below.
40738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40739 <limits.h> exists even on freestanding compilers. */
40740
40741 #ifdef __STDC__
40742 # include <limits.h>
40743 #else
40744 # include <assert.h>
40745 #endif
40746
40747 #undef gmtime_r
40748
40749 /* Override any gcc2 internal prototype to avoid an error. */
40750 #ifdef __cplusplus
40751 extern "C"
40752 {
40753 #endif
40754 /* We use char because int might match the return type of a gcc2
40755 builtin and then its argument prototype would still apply. */
40756 char gmtime_r ();
40757 /* The GNU C library defines this for functions which it implements
40758 to always fail with ENOSYS. Some functions are actually named
40759 something starting with __ and the normal name is an alias. */
40760 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40761 choke me
40762 #else
40763 char (*f) () = gmtime_r;
40764 #endif
40765 #ifdef __cplusplus
40766 }
40767 #endif
40768
40769 int
40770 main ()
40771 {
40772 return f != gmtime_r;
40773 ;
40774 return 0;
40775 }
40776 _ACEOF
40777 rm -f conftest.$ac_objext conftest$ac_exeext
40778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40779 (eval $ac_link) 2>conftest.er1
40780 ac_status=$?
40781 grep -v '^ *+' conftest.er1 >conftest.err
40782 rm -f conftest.er1
40783 cat conftest.err >&5
40784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40785 (exit $ac_status); } &&
40786 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40788 (eval $ac_try) 2>&5
40789 ac_status=$?
40790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40791 (exit $ac_status); }; } &&
40792 { ac_try='test -s conftest$ac_exeext'
40793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40794 (eval $ac_try) 2>&5
40795 ac_status=$?
40796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40797 (exit $ac_status); }; }; then
40798 ac_cv_func_gmtime_r=yes
40799 else
40800 echo "$as_me: failed program was:" >&5
40801 sed 's/^/| /' conftest.$ac_ext >&5
40802
40803 ac_cv_func_gmtime_r=no
40804 fi
40805 rm -f conftest.err conftest.$ac_objext \
40806 conftest$ac_exeext conftest.$ac_ext
40807 fi
40808 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40809 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40810 if test $ac_cv_func_gmtime_r = yes; then
40811 cat >>confdefs.h <<\_ACEOF
40812 #define HAVE_GMTIME_R 1
40813 _ACEOF
40814
40815 fi
40816
40817 echo "$as_me:$LINENO: checking for readdir_r" >&5
40818 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40819 if test "${ac_cv_func_readdir_r+set}" = set; then
40820 echo $ECHO_N "(cached) $ECHO_C" >&6
40821 else
40822 cat >conftest.$ac_ext <<_ACEOF
40823 /* confdefs.h. */
40824 _ACEOF
40825 cat confdefs.h >>conftest.$ac_ext
40826 cat >>conftest.$ac_ext <<_ACEOF
40827 /* end confdefs.h. */
40828 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40830 #define readdir_r innocuous_readdir_r
40831
40832 /* System header to define __stub macros and hopefully few prototypes,
40833 which can conflict with char readdir_r (); below.
40834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40835 <limits.h> exists even on freestanding compilers. */
40836
40837 #ifdef __STDC__
40838 # include <limits.h>
40839 #else
40840 # include <assert.h>
40841 #endif
40842
40843 #undef readdir_r
40844
40845 /* Override any gcc2 internal prototype to avoid an error. */
40846 #ifdef __cplusplus
40847 extern "C"
40848 {
40849 #endif
40850 /* We use char because int might match the return type of a gcc2
40851 builtin and then its argument prototype would still apply. */
40852 char readdir_r ();
40853 /* The GNU C library defines this for functions which it implements
40854 to always fail with ENOSYS. Some functions are actually named
40855 something starting with __ and the normal name is an alias. */
40856 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40857 choke me
40858 #else
40859 char (*f) () = readdir_r;
40860 #endif
40861 #ifdef __cplusplus
40862 }
40863 #endif
40864
40865 int
40866 main ()
40867 {
40868 return f != readdir_r;
40869 ;
40870 return 0;
40871 }
40872 _ACEOF
40873 rm -f conftest.$ac_objext conftest$ac_exeext
40874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40875 (eval $ac_link) 2>conftest.er1
40876 ac_status=$?
40877 grep -v '^ *+' conftest.er1 >conftest.err
40878 rm -f conftest.er1
40879 cat conftest.err >&5
40880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40881 (exit $ac_status); } &&
40882 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40884 (eval $ac_try) 2>&5
40885 ac_status=$?
40886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40887 (exit $ac_status); }; } &&
40888 { ac_try='test -s conftest$ac_exeext'
40889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40890 (eval $ac_try) 2>&5
40891 ac_status=$?
40892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40893 (exit $ac_status); }; }; then
40894 ac_cv_func_readdir_r=yes
40895 else
40896 echo "$as_me: failed program was:" >&5
40897 sed 's/^/| /' conftest.$ac_ext >&5
40898
40899 ac_cv_func_readdir_r=no
40900 fi
40901 rm -f conftest.err conftest.$ac_objext \
40902 conftest$ac_exeext conftest.$ac_ext
40903 fi
40904 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40905 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40906 if test $ac_cv_func_readdir_r = yes; then
40907 cat >>confdefs.h <<\_ACEOF
40908 #define HAVE_READDIR_R 1
40909 _ACEOF
40910
40911 fi
40912
40913
40914
40915
40916 ac_ext=c
40917 ac_cpp='$CPP $CPPFLAGS'
40918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40921
40922 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40923 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40924
40925 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40926 echo $ECHO_N "(cached) $ECHO_C" >&6
40927 else
40928
40929
40930 ################################################################
40931
40932 ac_cv_func_which_gethostbyname_r=unknown
40933
40934 #
40935 # ONE ARGUMENT (sanity check)
40936 #
40937
40938 # This should fail, as there is no variant of gethostbyname_r() that takes
40939 # a single argument. If it actually compiles, then we can assume that
40940 # netdb.h is not declaring the function, and the compiler is thereby
40941 # assuming an implicit prototype. In which case, we're out of luck.
40942 #
40943 cat >conftest.$ac_ext <<_ACEOF
40944 /* confdefs.h. */
40945 _ACEOF
40946 cat confdefs.h >>conftest.$ac_ext
40947 cat >>conftest.$ac_ext <<_ACEOF
40948 /* end confdefs.h. */
40949 #include <netdb.h>
40950 int
40951 main ()
40952 {
40953
40954 char *name = "www.gnu.org";
40955 (void)gethostbyname_r(name) /* ; */
40956
40957 ;
40958 return 0;
40959 }
40960 _ACEOF
40961 rm -f conftest.$ac_objext
40962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40963 (eval $ac_compile) 2>conftest.er1
40964 ac_status=$?
40965 grep -v '^ *+' conftest.er1 >conftest.err
40966 rm -f conftest.er1
40967 cat conftest.err >&5
40968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40969 (exit $ac_status); } &&
40970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40972 (eval $ac_try) 2>&5
40973 ac_status=$?
40974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40975 (exit $ac_status); }; } &&
40976 { ac_try='test -s conftest.$ac_objext'
40977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40978 (eval $ac_try) 2>&5
40979 ac_status=$?
40980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40981 (exit $ac_status); }; }; then
40982 ac_cv_func_which_gethostbyname_r=no
40983 else
40984 echo "$as_me: failed program was:" >&5
40985 sed 's/^/| /' conftest.$ac_ext >&5
40986
40987 fi
40988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40989
40990 #
40991 # SIX ARGUMENTS
40992 # (e.g. Linux)
40993 #
40994
40995 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40996
40997 cat >conftest.$ac_ext <<_ACEOF
40998 /* confdefs.h. */
40999 _ACEOF
41000 cat confdefs.h >>conftest.$ac_ext
41001 cat >>conftest.$ac_ext <<_ACEOF
41002 /* end confdefs.h. */
41003 #include <netdb.h>
41004 int
41005 main ()
41006 {
41007
41008 char *name = "www.gnu.org";
41009 struct hostent ret, *retp;
41010 char buf[1024];
41011 int buflen = 1024;
41012 int my_h_errno;
41013 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41014
41015 ;
41016 return 0;
41017 }
41018 _ACEOF
41019 rm -f conftest.$ac_objext
41020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41021 (eval $ac_compile) 2>conftest.er1
41022 ac_status=$?
41023 grep -v '^ *+' conftest.er1 >conftest.err
41024 rm -f conftest.er1
41025 cat conftest.err >&5
41026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41027 (exit $ac_status); } &&
41028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41030 (eval $ac_try) 2>&5
41031 ac_status=$?
41032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41033 (exit $ac_status); }; } &&
41034 { ac_try='test -s conftest.$ac_objext'
41035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41036 (eval $ac_try) 2>&5
41037 ac_status=$?
41038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41039 (exit $ac_status); }; }; then
41040 ac_cv_func_which_gethostbyname_r=six
41041 else
41042 echo "$as_me: failed program was:" >&5
41043 sed 's/^/| /' conftest.$ac_ext >&5
41044
41045 fi
41046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41047
41048 fi
41049
41050 #
41051 # FIVE ARGUMENTS
41052 # (e.g. Solaris)
41053 #
41054
41055 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41056
41057 cat >conftest.$ac_ext <<_ACEOF
41058 /* confdefs.h. */
41059 _ACEOF
41060 cat confdefs.h >>conftest.$ac_ext
41061 cat >>conftest.$ac_ext <<_ACEOF
41062 /* end confdefs.h. */
41063 #include <netdb.h>
41064 int
41065 main ()
41066 {
41067
41068 char *name = "www.gnu.org";
41069 struct hostent ret;
41070 char buf[1024];
41071 int buflen = 1024;
41072 int my_h_errno;
41073 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41074
41075 ;
41076 return 0;
41077 }
41078 _ACEOF
41079 rm -f conftest.$ac_objext
41080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41081 (eval $ac_compile) 2>conftest.er1
41082 ac_status=$?
41083 grep -v '^ *+' conftest.er1 >conftest.err
41084 rm -f conftest.er1
41085 cat conftest.err >&5
41086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41087 (exit $ac_status); } &&
41088 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41090 (eval $ac_try) 2>&5
41091 ac_status=$?
41092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41093 (exit $ac_status); }; } &&
41094 { ac_try='test -s conftest.$ac_objext'
41095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41096 (eval $ac_try) 2>&5
41097 ac_status=$?
41098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41099 (exit $ac_status); }; }; then
41100 ac_cv_func_which_gethostbyname_r=five
41101 else
41102 echo "$as_me: failed program was:" >&5
41103 sed 's/^/| /' conftest.$ac_ext >&5
41104
41105 fi
41106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41107
41108 fi
41109
41110 #
41111 # THREE ARGUMENTS
41112 # (e.g. AIX, HP-UX, Tru64)
41113 #
41114
41115 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41116
41117 cat >conftest.$ac_ext <<_ACEOF
41118 /* confdefs.h. */
41119 _ACEOF
41120 cat confdefs.h >>conftest.$ac_ext
41121 cat >>conftest.$ac_ext <<_ACEOF
41122 /* end confdefs.h. */
41123 #include <netdb.h>
41124 int
41125 main ()
41126 {
41127
41128 char *name = "www.gnu.org";
41129 struct hostent ret;
41130 struct hostent_data data;
41131 (void)gethostbyname_r(name, &ret, &data) /* ; */
41132
41133 ;
41134 return 0;
41135 }
41136 _ACEOF
41137 rm -f conftest.$ac_objext
41138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41139 (eval $ac_compile) 2>conftest.er1
41140 ac_status=$?
41141 grep -v '^ *+' conftest.er1 >conftest.err
41142 rm -f conftest.er1
41143 cat conftest.err >&5
41144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41145 (exit $ac_status); } &&
41146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41148 (eval $ac_try) 2>&5
41149 ac_status=$?
41150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41151 (exit $ac_status); }; } &&
41152 { ac_try='test -s conftest.$ac_objext'
41153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41154 (eval $ac_try) 2>&5
41155 ac_status=$?
41156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41157 (exit $ac_status); }; }; then
41158 ac_cv_func_which_gethostbyname_r=three
41159 else
41160 echo "$as_me: failed program was:" >&5
41161 sed 's/^/| /' conftest.$ac_ext >&5
41162
41163 fi
41164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41165
41166 fi
41167
41168 ################################################################
41169
41170
41171 fi
41172
41173 case "$ac_cv_func_which_gethostbyname_r" in
41174 three)
41175 echo "$as_me:$LINENO: result: three" >&5
41176 echo "${ECHO_T}three" >&6
41177 cat >>confdefs.h <<\_ACEOF
41178 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41179 _ACEOF
41180
41181 ;;
41182
41183 five)
41184 echo "$as_me:$LINENO: result: five" >&5
41185 echo "${ECHO_T}five" >&6
41186 cat >>confdefs.h <<\_ACEOF
41187 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41188 _ACEOF
41189
41190 ;;
41191
41192 six)
41193 echo "$as_me:$LINENO: result: six" >&5
41194 echo "${ECHO_T}six" >&6
41195 cat >>confdefs.h <<\_ACEOF
41196 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41197 _ACEOF
41198
41199 ;;
41200
41201 no)
41202 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41203 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41204 ;;
41205
41206 unknown)
41207 echo "$as_me:$LINENO: result: can't tell" >&5
41208 echo "${ECHO_T}can't tell" >&6
41209 ;;
41210
41211 *)
41212 { { echo "$as_me:$LINENO: error: internal error" >&5
41213 echo "$as_me: error: internal error" >&2;}
41214 { (exit 1); exit 1; }; }
41215 ;;
41216 esac
41217
41218 ac_ext=cc
41219 ac_cpp='$CXXCPP $CPPFLAGS'
41220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41223
41224
41225
41226 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41227 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41228 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41229 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41230 if test "${ac_cv_func_gethostbyname+set}" = set; then
41231 echo $ECHO_N "(cached) $ECHO_C" >&6
41232 else
41233 cat >conftest.$ac_ext <<_ACEOF
41234 /* confdefs.h. */
41235 _ACEOF
41236 cat confdefs.h >>conftest.$ac_ext
41237 cat >>conftest.$ac_ext <<_ACEOF
41238 /* end confdefs.h. */
41239 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41241 #define gethostbyname innocuous_gethostbyname
41242
41243 /* System header to define __stub macros and hopefully few prototypes,
41244 which can conflict with char gethostbyname (); below.
41245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41246 <limits.h> exists even on freestanding compilers. */
41247
41248 #ifdef __STDC__
41249 # include <limits.h>
41250 #else
41251 # include <assert.h>
41252 #endif
41253
41254 #undef gethostbyname
41255
41256 /* Override any gcc2 internal prototype to avoid an error. */
41257 #ifdef __cplusplus
41258 extern "C"
41259 {
41260 #endif
41261 /* We use char because int might match the return type of a gcc2
41262 builtin and then its argument prototype would still apply. */
41263 char gethostbyname ();
41264 /* The GNU C library defines this for functions which it implements
41265 to always fail with ENOSYS. Some functions are actually named
41266 something starting with __ and the normal name is an alias. */
41267 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41268 choke me
41269 #else
41270 char (*f) () = gethostbyname;
41271 #endif
41272 #ifdef __cplusplus
41273 }
41274 #endif
41275
41276 int
41277 main ()
41278 {
41279 return f != gethostbyname;
41280 ;
41281 return 0;
41282 }
41283 _ACEOF
41284 rm -f conftest.$ac_objext conftest$ac_exeext
41285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41286 (eval $ac_link) 2>conftest.er1
41287 ac_status=$?
41288 grep -v '^ *+' conftest.er1 >conftest.err
41289 rm -f conftest.er1
41290 cat conftest.err >&5
41291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41292 (exit $ac_status); } &&
41293 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41295 (eval $ac_try) 2>&5
41296 ac_status=$?
41297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41298 (exit $ac_status); }; } &&
41299 { ac_try='test -s conftest$ac_exeext'
41300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41301 (eval $ac_try) 2>&5
41302 ac_status=$?
41303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41304 (exit $ac_status); }; }; then
41305 ac_cv_func_gethostbyname=yes
41306 else
41307 echo "$as_me: failed program was:" >&5
41308 sed 's/^/| /' conftest.$ac_ext >&5
41309
41310 ac_cv_func_gethostbyname=no
41311 fi
41312 rm -f conftest.err conftest.$ac_objext \
41313 conftest$ac_exeext conftest.$ac_ext
41314 fi
41315 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41316 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41317 if test $ac_cv_func_gethostbyname = yes; then
41318 cat >>confdefs.h <<\_ACEOF
41319 #define HAVE_GETHOSTBYNAME 1
41320 _ACEOF
41321
41322 fi
41323
41324 fi
41325
41326 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41327 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41328 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41329 echo $ECHO_N "(cached) $ECHO_C" >&6
41330 else
41331
41332 cat >conftest.$ac_ext <<_ACEOF
41333 /* confdefs.h. */
41334 _ACEOF
41335 cat confdefs.h >>conftest.$ac_ext
41336 cat >>conftest.$ac_ext <<_ACEOF
41337 /* end confdefs.h. */
41338 #include <netdb.h>
41339 int
41340 main ()
41341 {
41342
41343 char *name;
41344 char *proto;
41345 struct servent *se, *res;
41346 char buffer[2048];
41347 int buflen = 2048;
41348 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41349
41350 ;
41351 return 0;
41352 }
41353 _ACEOF
41354 rm -f conftest.$ac_objext
41355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41356 (eval $ac_compile) 2>conftest.er1
41357 ac_status=$?
41358 grep -v '^ *+' conftest.er1 >conftest.err
41359 rm -f conftest.er1
41360 cat conftest.err >&5
41361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41362 (exit $ac_status); } &&
41363 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41365 (eval $ac_try) 2>&5
41366 ac_status=$?
41367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41368 (exit $ac_status); }; } &&
41369 { ac_try='test -s conftest.$ac_objext'
41370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41371 (eval $ac_try) 2>&5
41372 ac_status=$?
41373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41374 (exit $ac_status); }; }; then
41375 ac_cv_func_which_getservbyname_r=six
41376 else
41377 echo "$as_me: failed program was:" >&5
41378 sed 's/^/| /' conftest.$ac_ext >&5
41379
41380
41381 cat >conftest.$ac_ext <<_ACEOF
41382 /* confdefs.h. */
41383 _ACEOF
41384 cat confdefs.h >>conftest.$ac_ext
41385 cat >>conftest.$ac_ext <<_ACEOF
41386 /* end confdefs.h. */
41387 #include <netdb.h>
41388 int
41389 main ()
41390 {
41391
41392 char *name;
41393 char *proto;
41394 struct servent *se;
41395 char buffer[2048];
41396 int buflen = 2048;
41397 (void) getservbyname_r(name, proto, se, buffer, buflen)
41398
41399 ;
41400 return 0;
41401 }
41402 _ACEOF
41403 rm -f conftest.$ac_objext
41404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41405 (eval $ac_compile) 2>conftest.er1
41406 ac_status=$?
41407 grep -v '^ *+' conftest.er1 >conftest.err
41408 rm -f conftest.er1
41409 cat conftest.err >&5
41410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41411 (exit $ac_status); } &&
41412 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41414 (eval $ac_try) 2>&5
41415 ac_status=$?
41416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41417 (exit $ac_status); }; } &&
41418 { ac_try='test -s conftest.$ac_objext'
41419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41420 (eval $ac_try) 2>&5
41421 ac_status=$?
41422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41423 (exit $ac_status); }; }; then
41424 ac_cv_func_which_getservbyname_r=five
41425 else
41426 echo "$as_me: failed program was:" >&5
41427 sed 's/^/| /' conftest.$ac_ext >&5
41428
41429
41430 cat >conftest.$ac_ext <<_ACEOF
41431 /* confdefs.h. */
41432 _ACEOF
41433 cat confdefs.h >>conftest.$ac_ext
41434 cat >>conftest.$ac_ext <<_ACEOF
41435 /* end confdefs.h. */
41436 #include <netdb.h>
41437 int
41438 main ()
41439 {
41440
41441 char *name;
41442 char *proto;
41443 struct servent *se;
41444 struct servent_data data;
41445 (void) getservbyname_r(name, proto, se, &data);
41446
41447 ;
41448 return 0;
41449 }
41450 _ACEOF
41451 rm -f conftest.$ac_objext
41452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41453 (eval $ac_compile) 2>conftest.er1
41454 ac_status=$?
41455 grep -v '^ *+' conftest.er1 >conftest.err
41456 rm -f conftest.er1
41457 cat conftest.err >&5
41458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41459 (exit $ac_status); } &&
41460 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41462 (eval $ac_try) 2>&5
41463 ac_status=$?
41464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41465 (exit $ac_status); }; } &&
41466 { ac_try='test -s conftest.$ac_objext'
41467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41468 (eval $ac_try) 2>&5
41469 ac_status=$?
41470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41471 (exit $ac_status); }; }; then
41472 ac_cv_func_which_getservbyname_r=four
41473 else
41474 echo "$as_me: failed program was:" >&5
41475 sed 's/^/| /' conftest.$ac_ext >&5
41476
41477 ac_cv_func_which_getservbyname_r=no
41478
41479 fi
41480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41481
41482
41483 fi
41484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41485
41486
41487 fi
41488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41489
41490
41491 fi
41492 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41493 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41494
41495 if test $ac_cv_func_which_getservbyname_r = six; then
41496 cat >>confdefs.h <<\_ACEOF
41497 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41498 _ACEOF
41499
41500 elif test $ac_cv_func_which_getservbyname_r = five; then
41501 cat >>confdefs.h <<\_ACEOF
41502 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41503 _ACEOF
41504
41505 elif test $ac_cv_func_which_getservbyname_r = four; then
41506 cat >>confdefs.h <<\_ACEOF
41507 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41508 _ACEOF
41509
41510 fi
41511
41512
41513 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41514 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41515
41516 for ac_func in getservbyname
41517 do
41518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41519 echo "$as_me:$LINENO: checking for $ac_func" >&5
41520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41521 if eval "test \"\${$as_ac_var+set}\" = set"; then
41522 echo $ECHO_N "(cached) $ECHO_C" >&6
41523 else
41524 cat >conftest.$ac_ext <<_ACEOF
41525 /* confdefs.h. */
41526 _ACEOF
41527 cat confdefs.h >>conftest.$ac_ext
41528 cat >>conftest.$ac_ext <<_ACEOF
41529 /* end confdefs.h. */
41530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41532 #define $ac_func innocuous_$ac_func
41533
41534 /* System header to define __stub macros and hopefully few prototypes,
41535 which can conflict with char $ac_func (); below.
41536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41537 <limits.h> exists even on freestanding compilers. */
41538
41539 #ifdef __STDC__
41540 # include <limits.h>
41541 #else
41542 # include <assert.h>
41543 #endif
41544
41545 #undef $ac_func
41546
41547 /* Override any gcc2 internal prototype to avoid an error. */
41548 #ifdef __cplusplus
41549 extern "C"
41550 {
41551 #endif
41552 /* We use char because int might match the return type of a gcc2
41553 builtin and then its argument prototype would still apply. */
41554 char $ac_func ();
41555 /* The GNU C library defines this for functions which it implements
41556 to always fail with ENOSYS. Some functions are actually named
41557 something starting with __ and the normal name is an alias. */
41558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41559 choke me
41560 #else
41561 char (*f) () = $ac_func;
41562 #endif
41563 #ifdef __cplusplus
41564 }
41565 #endif
41566
41567 int
41568 main ()
41569 {
41570 return f != $ac_func;
41571 ;
41572 return 0;
41573 }
41574 _ACEOF
41575 rm -f conftest.$ac_objext conftest$ac_exeext
41576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41577 (eval $ac_link) 2>conftest.er1
41578 ac_status=$?
41579 grep -v '^ *+' conftest.er1 >conftest.err
41580 rm -f conftest.er1
41581 cat conftest.err >&5
41582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41583 (exit $ac_status); } &&
41584 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41586 (eval $ac_try) 2>&5
41587 ac_status=$?
41588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41589 (exit $ac_status); }; } &&
41590 { ac_try='test -s conftest$ac_exeext'
41591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41592 (eval $ac_try) 2>&5
41593 ac_status=$?
41594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41595 (exit $ac_status); }; }; then
41596 eval "$as_ac_var=yes"
41597 else
41598 echo "$as_me: failed program was:" >&5
41599 sed 's/^/| /' conftest.$ac_ext >&5
41600
41601 eval "$as_ac_var=no"
41602 fi
41603 rm -f conftest.err conftest.$ac_objext \
41604 conftest$ac_exeext conftest.$ac_ext
41605 fi
41606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41608 if test `eval echo '${'$as_ac_var'}'` = yes; then
41609 cat >>confdefs.h <<_ACEOF
41610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41611 _ACEOF
41612 cat >>confdefs.h <<\_ACEOF
41613 #define HAVE_GETSERVBYNAME 1
41614 _ACEOF
41615
41616 fi
41617 done
41618
41619 fi
41620
41621 if test "$wxUSE_THREADS" = "yes"; then
41622 cat >>confdefs.h <<\_ACEOF
41623 #define wxUSE_THREADS 1
41624 _ACEOF
41625
41626
41627 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41628 else
41629 if test "$wx_cv_func_strtok_r" = "yes"; then
41630 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41631 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41632 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41633 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41634 echo "$as_me:$LINENO: result: yes" >&5
41635 echo "${ECHO_T}yes" >&6
41636 else
41637 echo "$as_me:$LINENO: result: no" >&5
41638 echo "${ECHO_T}no" >&6
41639 fi
41640 fi
41641 fi
41642
41643 if test "$WXGTK20" = 1 ; then
41644 cat >>confdefs.h <<_ACEOF
41645 #define __WXGTK20__ $WXGTK20
41646 _ACEOF
41647
41648 WXGTK12=1
41649 fi
41650
41651 if test "$WXGTK12" = 1 ; then
41652 cat >>confdefs.h <<_ACEOF
41653 #define __WXGTK12__ $WXGTK12
41654 _ACEOF
41655
41656 fi
41657
41658 if test "$WXGTK127" = 1 ; then
41659 cat >>confdefs.h <<_ACEOF
41660 #define __WXGTK127__ $WXGTK127
41661 _ACEOF
41662
41663 fi
41664
41665 if test "$WXGPE" = 1 ; then
41666 cat >>confdefs.h <<_ACEOF
41667 #define __WXGPE__ $WXGPE
41668 _ACEOF
41669
41670 fi
41671
41672 DEBUG_CFLAGS=
41673 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41674 DEBUG_CFLAGS="-g"
41675 wxUSE_OPTIMISE=no
41676 fi
41677
41678 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41679 wxUSE_DEBUG_INFO=yes
41680 if test "$GCC" = yes; then
41681 DEBUG_CFLAGS="-ggdb"
41682 fi
41683 fi
41684
41685 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41686 cat >>confdefs.h <<\_ACEOF
41687 #define WXDEBUG 1
41688 _ACEOF
41689
41690 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41691 else
41692 if test "$wxUSE_GTK" = 1 ; then
41693 if test "x$wxGTK_VERSION" = "x1" ; then
41694 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41695 fi
41696 fi
41697 fi
41698
41699 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41700 cat >>confdefs.h <<\_ACEOF
41701 #define wxUSE_MEMORY_TRACING 1
41702 _ACEOF
41703
41704 cat >>confdefs.h <<\_ACEOF
41705 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41706 _ACEOF
41707
41708 cat >>confdefs.h <<\_ACEOF
41709 #define wxUSE_DEBUG_NEW_ALWAYS 1
41710 _ACEOF
41711
41712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41713 fi
41714
41715 if test "$wxUSE_DMALLOC" = "yes" ; then
41716 DMALLOC_LIBS="-ldmallocthcxx"
41717 fi
41718
41719 PROFILE_FLAGS=
41720 if test "$wxUSE_PROFILE" = "yes" ; then
41721 PROFILE_FLAGS=" -pg"
41722 fi
41723
41724 if test "$GCC" = "yes" ; then
41725 if test "$wxUSE_NO_RTTI" = "yes" ; then
41726 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41727 fi
41728 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41729 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41730 fi
41731 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41732 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41733 fi
41734
41735 case "${host}" in
41736 powerpc*-*-aix* )
41737 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41738 ;;
41739 *-hppa* )
41740 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41741 ;;
41742 esac
41743 fi
41744
41745 OPTIMISE_CFLAGS=
41746 if test "$wxUSE_OPTIMISE" = "no" ; then
41747 if test "$GCC" = yes ; then
41748 OPTIMISE_CFLAGS="-O0"
41749 fi
41750 else
41751 if test "$GCC" = yes ; then
41752 case "${host}" in
41753 *-pc-os2_emx | *-pc-os2-emx )
41754 OPTIMISE_CFLAGS="-O2"
41755 ;;
41756 *)
41757 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41758 ;;
41759 esac
41760 else
41761 OPTIMISE_CFLAGS="-O"
41762 fi
41763 fi
41764
41765
41766 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41767 cat >>confdefs.h <<\_ACEOF
41768 #define WXWIN_COMPATIBILITY_2_4 1
41769 _ACEOF
41770
41771
41772 WXWIN_COMPATIBILITY_2_6="yes"
41773 fi
41774
41775 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41776 cat >>confdefs.h <<\_ACEOF
41777 #define WXWIN_COMPATIBILITY_2_6 1
41778 _ACEOF
41779
41780 fi
41781
41782
41783 if test "$wxUSE_GUI" = "yes"; then
41784 cat >>confdefs.h <<\_ACEOF
41785 #define wxUSE_GUI 1
41786 _ACEOF
41787
41788
41789 fi
41790
41791
41792 if test "$wxUSE_UNIX" = "yes"; then
41793 cat >>confdefs.h <<\_ACEOF
41794 #define wxUSE_UNIX 1
41795 _ACEOF
41796
41797 fi
41798
41799
41800 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41801
41802 HAVE_DL_FUNCS=0
41803 HAVE_SHL_FUNCS=0
41804 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41805 if test "$USE_DARWIN" = 1; then
41806 HAVE_DL_FUNCS=1
41807 elif test "$USE_DOS" = 1; then
41808 HAVE_DL_FUNCS=0
41809 else
41810
41811 for ac_func in dlopen
41812 do
41813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41814 echo "$as_me:$LINENO: checking for $ac_func" >&5
41815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41816 if eval "test \"\${$as_ac_var+set}\" = set"; then
41817 echo $ECHO_N "(cached) $ECHO_C" >&6
41818 else
41819 cat >conftest.$ac_ext <<_ACEOF
41820 /* confdefs.h. */
41821 _ACEOF
41822 cat confdefs.h >>conftest.$ac_ext
41823 cat >>conftest.$ac_ext <<_ACEOF
41824 /* end confdefs.h. */
41825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41827 #define $ac_func innocuous_$ac_func
41828
41829 /* System header to define __stub macros and hopefully few prototypes,
41830 which can conflict with char $ac_func (); below.
41831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41832 <limits.h> exists even on freestanding compilers. */
41833
41834 #ifdef __STDC__
41835 # include <limits.h>
41836 #else
41837 # include <assert.h>
41838 #endif
41839
41840 #undef $ac_func
41841
41842 /* Override any gcc2 internal prototype to avoid an error. */
41843 #ifdef __cplusplus
41844 extern "C"
41845 {
41846 #endif
41847 /* We use char because int might match the return type of a gcc2
41848 builtin and then its argument prototype would still apply. */
41849 char $ac_func ();
41850 /* The GNU C library defines this for functions which it implements
41851 to always fail with ENOSYS. Some functions are actually named
41852 something starting with __ and the normal name is an alias. */
41853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41854 choke me
41855 #else
41856 char (*f) () = $ac_func;
41857 #endif
41858 #ifdef __cplusplus
41859 }
41860 #endif
41861
41862 int
41863 main ()
41864 {
41865 return f != $ac_func;
41866 ;
41867 return 0;
41868 }
41869 _ACEOF
41870 rm -f conftest.$ac_objext conftest$ac_exeext
41871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41872 (eval $ac_link) 2>conftest.er1
41873 ac_status=$?
41874 grep -v '^ *+' conftest.er1 >conftest.err
41875 rm -f conftest.er1
41876 cat conftest.err >&5
41877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41878 (exit $ac_status); } &&
41879 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41881 (eval $ac_try) 2>&5
41882 ac_status=$?
41883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41884 (exit $ac_status); }; } &&
41885 { ac_try='test -s conftest$ac_exeext'
41886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41887 (eval $ac_try) 2>&5
41888 ac_status=$?
41889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41890 (exit $ac_status); }; }; then
41891 eval "$as_ac_var=yes"
41892 else
41893 echo "$as_me: failed program was:" >&5
41894 sed 's/^/| /' conftest.$ac_ext >&5
41895
41896 eval "$as_ac_var=no"
41897 fi
41898 rm -f conftest.err conftest.$ac_objext \
41899 conftest$ac_exeext conftest.$ac_ext
41900 fi
41901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41903 if test `eval echo '${'$as_ac_var'}'` = yes; then
41904 cat >>confdefs.h <<_ACEOF
41905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41906 _ACEOF
41907
41908 cat >>confdefs.h <<\_ACEOF
41909 #define HAVE_DLOPEN 1
41910 _ACEOF
41911
41912 HAVE_DL_FUNCS=1
41913
41914 else
41915
41916 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41917 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41918 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41919 echo $ECHO_N "(cached) $ECHO_C" >&6
41920 else
41921 ac_check_lib_save_LIBS=$LIBS
41922 LIBS="-ldl $LIBS"
41923 cat >conftest.$ac_ext <<_ACEOF
41924 /* confdefs.h. */
41925 _ACEOF
41926 cat confdefs.h >>conftest.$ac_ext
41927 cat >>conftest.$ac_ext <<_ACEOF
41928 /* end confdefs.h. */
41929
41930 /* Override any gcc2 internal prototype to avoid an error. */
41931 #ifdef __cplusplus
41932 extern "C"
41933 #endif
41934 /* We use char because int might match the return type of a gcc2
41935 builtin and then its argument prototype would still apply. */
41936 char dlopen ();
41937 int
41938 main ()
41939 {
41940 dlopen ();
41941 ;
41942 return 0;
41943 }
41944 _ACEOF
41945 rm -f conftest.$ac_objext conftest$ac_exeext
41946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41947 (eval $ac_link) 2>conftest.er1
41948 ac_status=$?
41949 grep -v '^ *+' conftest.er1 >conftest.err
41950 rm -f conftest.er1
41951 cat conftest.err >&5
41952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41953 (exit $ac_status); } &&
41954 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41956 (eval $ac_try) 2>&5
41957 ac_status=$?
41958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41959 (exit $ac_status); }; } &&
41960 { ac_try='test -s conftest$ac_exeext'
41961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41962 (eval $ac_try) 2>&5
41963 ac_status=$?
41964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41965 (exit $ac_status); }; }; then
41966 ac_cv_lib_dl_dlopen=yes
41967 else
41968 echo "$as_me: failed program was:" >&5
41969 sed 's/^/| /' conftest.$ac_ext >&5
41970
41971 ac_cv_lib_dl_dlopen=no
41972 fi
41973 rm -f conftest.err conftest.$ac_objext \
41974 conftest$ac_exeext conftest.$ac_ext
41975 LIBS=$ac_check_lib_save_LIBS
41976 fi
41977 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41978 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41979 if test $ac_cv_lib_dl_dlopen = yes; then
41980
41981 cat >>confdefs.h <<\_ACEOF
41982 #define HAVE_DLOPEN 1
41983 _ACEOF
41984
41985 HAVE_DL_FUNCS=1
41986 DL_LINK=" -ldl$DL_LINK"
41987
41988 else
41989
41990
41991 for ac_func in shl_load
41992 do
41993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41994 echo "$as_me:$LINENO: checking for $ac_func" >&5
41995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41996 if eval "test \"\${$as_ac_var+set}\" = set"; then
41997 echo $ECHO_N "(cached) $ECHO_C" >&6
41998 else
41999 cat >conftest.$ac_ext <<_ACEOF
42000 /* confdefs.h. */
42001 _ACEOF
42002 cat confdefs.h >>conftest.$ac_ext
42003 cat >>conftest.$ac_ext <<_ACEOF
42004 /* end confdefs.h. */
42005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42007 #define $ac_func innocuous_$ac_func
42008
42009 /* System header to define __stub macros and hopefully few prototypes,
42010 which can conflict with char $ac_func (); below.
42011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42012 <limits.h> exists even on freestanding compilers. */
42013
42014 #ifdef __STDC__
42015 # include <limits.h>
42016 #else
42017 # include <assert.h>
42018 #endif
42019
42020 #undef $ac_func
42021
42022 /* Override any gcc2 internal prototype to avoid an error. */
42023 #ifdef __cplusplus
42024 extern "C"
42025 {
42026 #endif
42027 /* We use char because int might match the return type of a gcc2
42028 builtin and then its argument prototype would still apply. */
42029 char $ac_func ();
42030 /* The GNU C library defines this for functions which it implements
42031 to always fail with ENOSYS. Some functions are actually named
42032 something starting with __ and the normal name is an alias. */
42033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42034 choke me
42035 #else
42036 char (*f) () = $ac_func;
42037 #endif
42038 #ifdef __cplusplus
42039 }
42040 #endif
42041
42042 int
42043 main ()
42044 {
42045 return f != $ac_func;
42046 ;
42047 return 0;
42048 }
42049 _ACEOF
42050 rm -f conftest.$ac_objext conftest$ac_exeext
42051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42052 (eval $ac_link) 2>conftest.er1
42053 ac_status=$?
42054 grep -v '^ *+' conftest.er1 >conftest.err
42055 rm -f conftest.er1
42056 cat conftest.err >&5
42057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42058 (exit $ac_status); } &&
42059 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42061 (eval $ac_try) 2>&5
42062 ac_status=$?
42063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42064 (exit $ac_status); }; } &&
42065 { ac_try='test -s conftest$ac_exeext'
42066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42067 (eval $ac_try) 2>&5
42068 ac_status=$?
42069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42070 (exit $ac_status); }; }; then
42071 eval "$as_ac_var=yes"
42072 else
42073 echo "$as_me: failed program was:" >&5
42074 sed 's/^/| /' conftest.$ac_ext >&5
42075
42076 eval "$as_ac_var=no"
42077 fi
42078 rm -f conftest.err conftest.$ac_objext \
42079 conftest$ac_exeext conftest.$ac_ext
42080 fi
42081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42083 if test `eval echo '${'$as_ac_var'}'` = yes; then
42084 cat >>confdefs.h <<_ACEOF
42085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42086 _ACEOF
42087
42088 cat >>confdefs.h <<\_ACEOF
42089 #define HAVE_SHL_LOAD 1
42090 _ACEOF
42091
42092 HAVE_SHL_FUNCS=1
42093
42094 else
42095
42096 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42097 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42098 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42099 echo $ECHO_N "(cached) $ECHO_C" >&6
42100 else
42101 ac_check_lib_save_LIBS=$LIBS
42102 LIBS="-lshl_load $LIBS"
42103 cat >conftest.$ac_ext <<_ACEOF
42104 /* confdefs.h. */
42105 _ACEOF
42106 cat confdefs.h >>conftest.$ac_ext
42107 cat >>conftest.$ac_ext <<_ACEOF
42108 /* end confdefs.h. */
42109
42110 /* Override any gcc2 internal prototype to avoid an error. */
42111 #ifdef __cplusplus
42112 extern "C"
42113 #endif
42114 /* We use char because int might match the return type of a gcc2
42115 builtin and then its argument prototype would still apply. */
42116 char dld ();
42117 int
42118 main ()
42119 {
42120 dld ();
42121 ;
42122 return 0;
42123 }
42124 _ACEOF
42125 rm -f conftest.$ac_objext conftest$ac_exeext
42126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42127 (eval $ac_link) 2>conftest.er1
42128 ac_status=$?
42129 grep -v '^ *+' conftest.er1 >conftest.err
42130 rm -f conftest.er1
42131 cat conftest.err >&5
42132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42133 (exit $ac_status); } &&
42134 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
42140 { ac_try='test -s conftest$ac_exeext'
42141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42142 (eval $ac_try) 2>&5
42143 ac_status=$?
42144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42145 (exit $ac_status); }; }; then
42146 ac_cv_lib_shl_load_dld=yes
42147 else
42148 echo "$as_me: failed program was:" >&5
42149 sed 's/^/| /' conftest.$ac_ext >&5
42150
42151 ac_cv_lib_shl_load_dld=no
42152 fi
42153 rm -f conftest.err conftest.$ac_objext \
42154 conftest$ac_exeext conftest.$ac_ext
42155 LIBS=$ac_check_lib_save_LIBS
42156 fi
42157 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42158 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42159 if test $ac_cv_lib_shl_load_dld = yes; then
42160
42161 HAVE_SHL_FUNCS=1
42162 DL_LINK=" -ldld$DL_LINK"
42163
42164 fi
42165
42166
42167 fi
42168 done
42169
42170
42171 fi
42172
42173
42174 fi
42175 done
42176
42177
42178 if test "$HAVE_DL_FUNCS" = 1; then
42179
42180 for ac_func in dlerror
42181 do
42182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42183 echo "$as_me:$LINENO: checking for $ac_func" >&5
42184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42185 if eval "test \"\${$as_ac_var+set}\" = set"; then
42186 echo $ECHO_N "(cached) $ECHO_C" >&6
42187 else
42188 cat >conftest.$ac_ext <<_ACEOF
42189 /* confdefs.h. */
42190 _ACEOF
42191 cat confdefs.h >>conftest.$ac_ext
42192 cat >>conftest.$ac_ext <<_ACEOF
42193 /* end confdefs.h. */
42194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42196 #define $ac_func innocuous_$ac_func
42197
42198 /* System header to define __stub macros and hopefully few prototypes,
42199 which can conflict with char $ac_func (); below.
42200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42201 <limits.h> exists even on freestanding compilers. */
42202
42203 #ifdef __STDC__
42204 # include <limits.h>
42205 #else
42206 # include <assert.h>
42207 #endif
42208
42209 #undef $ac_func
42210
42211 /* Override any gcc2 internal prototype to avoid an error. */
42212 #ifdef __cplusplus
42213 extern "C"
42214 {
42215 #endif
42216 /* We use char because int might match the return type of a gcc2
42217 builtin and then its argument prototype would still apply. */
42218 char $ac_func ();
42219 /* The GNU C library defines this for functions which it implements
42220 to always fail with ENOSYS. Some functions are actually named
42221 something starting with __ and the normal name is an alias. */
42222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42223 choke me
42224 #else
42225 char (*f) () = $ac_func;
42226 #endif
42227 #ifdef __cplusplus
42228 }
42229 #endif
42230
42231 int
42232 main ()
42233 {
42234 return f != $ac_func;
42235 ;
42236 return 0;
42237 }
42238 _ACEOF
42239 rm -f conftest.$ac_objext conftest$ac_exeext
42240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42241 (eval $ac_link) 2>conftest.er1
42242 ac_status=$?
42243 grep -v '^ *+' conftest.er1 >conftest.err
42244 rm -f conftest.er1
42245 cat conftest.err >&5
42246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42247 (exit $ac_status); } &&
42248 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42250 (eval $ac_try) 2>&5
42251 ac_status=$?
42252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42253 (exit $ac_status); }; } &&
42254 { ac_try='test -s conftest$ac_exeext'
42255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42256 (eval $ac_try) 2>&5
42257 ac_status=$?
42258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42259 (exit $ac_status); }; }; then
42260 eval "$as_ac_var=yes"
42261 else
42262 echo "$as_me: failed program was:" >&5
42263 sed 's/^/| /' conftest.$ac_ext >&5
42264
42265 eval "$as_ac_var=no"
42266 fi
42267 rm -f conftest.err conftest.$ac_objext \
42268 conftest$ac_exeext conftest.$ac_ext
42269 fi
42270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42272 if test `eval echo '${'$as_ac_var'}'` = yes; then
42273 cat >>confdefs.h <<_ACEOF
42274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42275 _ACEOF
42276 cat >>confdefs.h <<\_ACEOF
42277 #define HAVE_DLERROR 1
42278 _ACEOF
42279
42280 else
42281
42282 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42283 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42284 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42285 echo $ECHO_N "(cached) $ECHO_C" >&6
42286 else
42287 ac_check_lib_save_LIBS=$LIBS
42288 LIBS="-ldl $LIBS"
42289 cat >conftest.$ac_ext <<_ACEOF
42290 /* confdefs.h. */
42291 _ACEOF
42292 cat confdefs.h >>conftest.$ac_ext
42293 cat >>conftest.$ac_ext <<_ACEOF
42294 /* end confdefs.h. */
42295
42296 /* Override any gcc2 internal prototype to avoid an error. */
42297 #ifdef __cplusplus
42298 extern "C"
42299 #endif
42300 /* We use char because int might match the return type of a gcc2
42301 builtin and then its argument prototype would still apply. */
42302 char dlerror ();
42303 int
42304 main ()
42305 {
42306 dlerror ();
42307 ;
42308 return 0;
42309 }
42310 _ACEOF
42311 rm -f conftest.$ac_objext conftest$ac_exeext
42312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42313 (eval $ac_link) 2>conftest.er1
42314 ac_status=$?
42315 grep -v '^ *+' conftest.er1 >conftest.err
42316 rm -f conftest.er1
42317 cat conftest.err >&5
42318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42319 (exit $ac_status); } &&
42320 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42322 (eval $ac_try) 2>&5
42323 ac_status=$?
42324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325 (exit $ac_status); }; } &&
42326 { ac_try='test -s conftest$ac_exeext'
42327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42328 (eval $ac_try) 2>&5
42329 ac_status=$?
42330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42331 (exit $ac_status); }; }; then
42332 ac_cv_lib_dl_dlerror=yes
42333 else
42334 echo "$as_me: failed program was:" >&5
42335 sed 's/^/| /' conftest.$ac_ext >&5
42336
42337 ac_cv_lib_dl_dlerror=no
42338 fi
42339 rm -f conftest.err conftest.$ac_objext \
42340 conftest$ac_exeext conftest.$ac_ext
42341 LIBS=$ac_check_lib_save_LIBS
42342 fi
42343 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42344 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42345 if test $ac_cv_lib_dl_dlerror = yes; then
42346 cat >>confdefs.h <<\_ACEOF
42347 #define HAVE_DLERROR 1
42348 _ACEOF
42349
42350 fi
42351
42352
42353
42354 fi
42355 done
42356
42357 fi
42358 fi
42359
42360 if test "$HAVE_DL_FUNCS" = 0; then
42361 if test "$HAVE_SHL_FUNCS" = 0; then
42362 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42363 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42364 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42365 wxUSE_DYNAMIC_LOADER=no
42366 wxUSE_DYNLIB_CLASS=no
42367 else
42368 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42369 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42370 fi
42371 fi
42372 fi
42373 fi
42374 fi
42375
42376 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42377 cat >>confdefs.h <<\_ACEOF
42378 #define wxUSE_DYNAMIC_LOADER 1
42379 _ACEOF
42380
42381 fi
42382 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42383 cat >>confdefs.h <<\_ACEOF
42384 #define wxUSE_DYNLIB_CLASS 1
42385 _ACEOF
42386
42387 fi
42388
42389
42390
42391 if test "$wxUSE_PLUGINS" = "yes" ; then
42392 if test "$wxUSE_SHARED" = "no" ; then
42393 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42394 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42395 wxUSE_PLUGINS=no
42396 fi
42397 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42398 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42399 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42400 wxUSE_PLUGINS=no
42401 fi
42402 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42403 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42404 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42405 wxUSE_PLUGINS=no
42406 fi
42407 if test "$wxUSE_PLUGINS" = "yes" ; then
42408 cat >>confdefs.h <<\_ACEOF
42409 #define wxUSE_PLUGINS 1
42410 _ACEOF
42411
42412 fi
42413 fi
42414
42415
42416 if test "$wxUSE_STL" = "yes"; then
42417 cat >>confdefs.h <<\_ACEOF
42418 #define wxUSE_STL 1
42419 _ACEOF
42420
42421 fi
42422
42423 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42424 cat >>confdefs.h <<\_ACEOF
42425 #define wxUSE_APPLE_IEEE 1
42426 _ACEOF
42427
42428 fi
42429
42430 if test "$wxUSE_TIMER" = "yes"; then
42431 cat >>confdefs.h <<\_ACEOF
42432 #define wxUSE_TIMER 1
42433 _ACEOF
42434
42435 fi
42436
42437 if test "$USE_UNIX" = "1" ; then
42438 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42439 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42440 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42441 echo $ECHO_N "(cached) $ECHO_C" >&6
42442 else
42443
42444 cat >conftest.$ac_ext <<_ACEOF
42445 /* confdefs.h. */
42446 _ACEOF
42447 cat confdefs.h >>conftest.$ac_ext
42448 cat >>conftest.$ac_ext <<_ACEOF
42449 /* end confdefs.h. */
42450
42451 #include <sys/ioctl.h>
42452 #include <sys/soundcard.h>
42453
42454 int
42455 main ()
42456 {
42457
42458 ioctl(0, SNDCTL_DSP_SPEED, 0);
42459
42460 ;
42461 return 0;
42462 }
42463 _ACEOF
42464 rm -f conftest.$ac_objext conftest$ac_exeext
42465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42466 (eval $ac_link) 2>conftest.er1
42467 ac_status=$?
42468 grep -v '^ *+' conftest.er1 >conftest.err
42469 rm -f conftest.er1
42470 cat conftest.err >&5
42471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42472 (exit $ac_status); } &&
42473 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42475 (eval $ac_try) 2>&5
42476 ac_status=$?
42477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42478 (exit $ac_status); }; } &&
42479 { ac_try='test -s conftest$ac_exeext'
42480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42481 (eval $ac_try) 2>&5
42482 ac_status=$?
42483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42484 (exit $ac_status); }; }; then
42485 ac_cv_header_sys_soundcard=yes
42486 else
42487 echo "$as_me: failed program was:" >&5
42488 sed 's/^/| /' conftest.$ac_ext >&5
42489
42490
42491 saveLibs="$LIBS"
42492 LIBS="$saveLibs -lossaudio"
42493 cat >conftest.$ac_ext <<_ACEOF
42494 /* confdefs.h. */
42495 _ACEOF
42496 cat confdefs.h >>conftest.$ac_ext
42497 cat >>conftest.$ac_ext <<_ACEOF
42498 /* end confdefs.h. */
42499
42500 #include <sys/ioctl.h>
42501 #include <sys/soundcard.h>
42502
42503 int
42504 main ()
42505 {
42506
42507 ioctl(0, SNDCTL_DSP_SPEED, 0);
42508
42509 ;
42510 return 0;
42511 }
42512 _ACEOF
42513 rm -f conftest.$ac_objext conftest$ac_exeext
42514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42515 (eval $ac_link) 2>conftest.er1
42516 ac_status=$?
42517 grep -v '^ *+' conftest.er1 >conftest.err
42518 rm -f conftest.er1
42519 cat conftest.err >&5
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); } &&
42522 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42524 (eval $ac_try) 2>&5
42525 ac_status=$?
42526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527 (exit $ac_status); }; } &&
42528 { ac_try='test -s conftest$ac_exeext'
42529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42530 (eval $ac_try) 2>&5
42531 ac_status=$?
42532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42533 (exit $ac_status); }; }; then
42534 ac_cv_header_sys_soundcard=yes
42535 else
42536 echo "$as_me: failed program was:" >&5
42537 sed 's/^/| /' conftest.$ac_ext >&5
42538
42539
42540 LIBS="$saveLibs"
42541 ac_cv_header_sys_soundcard=no
42542
42543
42544 fi
42545 rm -f conftest.err conftest.$ac_objext \
42546 conftest$ac_exeext conftest.$ac_ext
42547
42548
42549 fi
42550 rm -f conftest.err conftest.$ac_objext \
42551 conftest$ac_exeext conftest.$ac_ext
42552
42553 fi
42554 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42555 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42556
42557 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42558 cat >>confdefs.h <<\_ACEOF
42559 #define HAVE_SYS_SOUNDCARD_H 1
42560 _ACEOF
42561
42562 else
42563 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42564 fi
42565 fi
42566 WITH_PLUGIN_SDL=0
42567 if test "$wxUSE_SOUND" = "yes"; then
42568 if test "$USE_UNIX" = "1" ; then
42569 if test "$wxUSE_LIBSDL" != "no"; then
42570
42571 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42572 if test "${with_sdl_prefix+set}" = set; then
42573 withval="$with_sdl_prefix"
42574 sdl_prefix="$withval"
42575 else
42576 sdl_prefix=""
42577 fi;
42578
42579 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42580 if test "${with_sdl_exec_prefix+set}" = set; then
42581 withval="$with_sdl_exec_prefix"
42582 sdl_exec_prefix="$withval"
42583 else
42584 sdl_exec_prefix=""
42585 fi;
42586 # Check whether --enable-sdltest or --disable-sdltest was given.
42587 if test "${enable_sdltest+set}" = set; then
42588 enableval="$enable_sdltest"
42589
42590 else
42591 enable_sdltest=yes
42592 fi;
42593
42594 if test x$sdl_exec_prefix != x ; then
42595 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42596 if test x${SDL_CONFIG+set} != xset ; then
42597 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42598 fi
42599 fi
42600 if test x$sdl_prefix != x ; then
42601 sdl_args="$sdl_args --prefix=$sdl_prefix"
42602 if test x${SDL_CONFIG+set} != xset ; then
42603 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42604 fi
42605 fi
42606
42607 if test "x$prefix" != xNONE; then
42608 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42609 fi
42610 # Extract the first word of "sdl-config", so it can be a program name with args.
42611 set dummy sdl-config; ac_word=$2
42612 echo "$as_me:$LINENO: checking for $ac_word" >&5
42613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42614 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42615 echo $ECHO_N "(cached) $ECHO_C" >&6
42616 else
42617 case $SDL_CONFIG in
42618 [\\/]* | ?:[\\/]*)
42619 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42620 ;;
42621 *)
42622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42623 for as_dir in $PATH
42624 do
42625 IFS=$as_save_IFS
42626 test -z "$as_dir" && as_dir=.
42627 for ac_exec_ext in '' $ac_executable_extensions; do
42628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42629 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42631 break 2
42632 fi
42633 done
42634 done
42635
42636 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42637 ;;
42638 esac
42639 fi
42640 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42641
42642 if test -n "$SDL_CONFIG"; then
42643 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42644 echo "${ECHO_T}$SDL_CONFIG" >&6
42645 else
42646 echo "$as_me:$LINENO: result: no" >&5
42647 echo "${ECHO_T}no" >&6
42648 fi
42649
42650 min_sdl_version=1.2.0
42651 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42652 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42653 no_sdl=""
42654 if test "$SDL_CONFIG" = "no" ; then
42655 no_sdl=yes
42656 else
42657 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42658 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42659
42660 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42661 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42662 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42663 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42664 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42665 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42666 if test "x$enable_sdltest" = "xyes" ; then
42667 ac_save_CFLAGS="$CFLAGS"
42668 ac_save_CXXFLAGS="$CXXFLAGS"
42669 ac_save_LIBS="$LIBS"
42670 CFLAGS="$CFLAGS $SDL_CFLAGS"
42671 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42672 LIBS="$LIBS $SDL_LIBS"
42673 rm -f conf.sdltest
42674 if test "$cross_compiling" = yes; then
42675 echo $ac_n "cross compiling; assumed OK... $ac_c"
42676 else
42677 cat >conftest.$ac_ext <<_ACEOF
42678 /* confdefs.h. */
42679 _ACEOF
42680 cat confdefs.h >>conftest.$ac_ext
42681 cat >>conftest.$ac_ext <<_ACEOF
42682 /* end confdefs.h. */
42683
42684 #include <stdio.h>
42685 #include <stdlib.h>
42686 #include <string.h>
42687 #include "SDL.h"
42688
42689 char*
42690 my_strdup (char *str)
42691 {
42692 char *new_str;
42693
42694 if (str)
42695 {
42696 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42697 strcpy (new_str, str);
42698 }
42699 else
42700 new_str = NULL;
42701
42702 return new_str;
42703 }
42704
42705 int main (int argc, char *argv[])
42706 {
42707 int major, minor, micro;
42708 char *tmp_version;
42709
42710 /* This hangs on some systems (?)
42711 system ("touch conf.sdltest");
42712 */
42713 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42714
42715 /* HP/UX 9 (%@#!) writes to sscanf strings */
42716 tmp_version = my_strdup("$min_sdl_version");
42717 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42718 printf("%s, bad version string\n", "$min_sdl_version");
42719 exit(1);
42720 }
42721
42722 if (($sdl_major_version > major) ||
42723 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42724 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42725 {
42726 return 0;
42727 }
42728 else
42729 {
42730 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42731 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42732 printf("*** best to upgrade to the required version.\n");
42733 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42734 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42735 printf("*** config.cache before re-running configure\n");
42736 return 1;
42737 }
42738 }
42739
42740
42741 _ACEOF
42742 rm -f conftest$ac_exeext
42743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42744 (eval $ac_link) 2>&5
42745 ac_status=$?
42746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42747 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42749 (eval $ac_try) 2>&5
42750 ac_status=$?
42751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42752 (exit $ac_status); }; }; then
42753 :
42754 else
42755 echo "$as_me: program exited with status $ac_status" >&5
42756 echo "$as_me: failed program was:" >&5
42757 sed 's/^/| /' conftest.$ac_ext >&5
42758
42759 ( exit $ac_status )
42760 no_sdl=yes
42761 fi
42762 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42763 fi
42764 CFLAGS="$ac_save_CFLAGS"
42765 CXXFLAGS="$ac_save_CXXFLAGS"
42766 LIBS="$ac_save_LIBS"
42767 fi
42768 fi
42769 if test "x$no_sdl" = x ; then
42770 echo "$as_me:$LINENO: result: yes" >&5
42771 echo "${ECHO_T}yes" >&6
42772
42773 EXTRALIBS_SDL="$SDL_LIBS"
42774 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42775 cat >>confdefs.h <<\_ACEOF
42776 #define wxUSE_LIBSDL 1
42777 _ACEOF
42778
42779
42780 else
42781 echo "$as_me:$LINENO: result: no" >&5
42782 echo "${ECHO_T}no" >&6
42783 if test "$SDL_CONFIG" = "no" ; then
42784 echo "*** The sdl-config script installed by SDL could not be found"
42785 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42786 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42787 echo "*** full path to sdl-config."
42788 else
42789 if test -f conf.sdltest ; then
42790 :
42791 else
42792 echo "*** Could not run SDL test program, checking why..."
42793 CFLAGS="$CFLAGS $SDL_CFLAGS"
42794 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42795 LIBS="$LIBS $SDL_LIBS"
42796 cat >conftest.$ac_ext <<_ACEOF
42797 /* confdefs.h. */
42798 _ACEOF
42799 cat confdefs.h >>conftest.$ac_ext
42800 cat >>conftest.$ac_ext <<_ACEOF
42801 /* end confdefs.h. */
42802
42803 #include <stdio.h>
42804 #include "SDL.h"
42805
42806 int main(int argc, char *argv[])
42807 { return 0; }
42808 #undef main
42809 #define main K_and_R_C_main
42810
42811 int
42812 main ()
42813 {
42814 return 0;
42815 ;
42816 return 0;
42817 }
42818 _ACEOF
42819 rm -f conftest.$ac_objext conftest$ac_exeext
42820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42821 (eval $ac_link) 2>conftest.er1
42822 ac_status=$?
42823 grep -v '^ *+' conftest.er1 >conftest.err
42824 rm -f conftest.er1
42825 cat conftest.err >&5
42826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42827 (exit $ac_status); } &&
42828 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42830 (eval $ac_try) 2>&5
42831 ac_status=$?
42832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42833 (exit $ac_status); }; } &&
42834 { ac_try='test -s conftest$ac_exeext'
42835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42836 (eval $ac_try) 2>&5
42837 ac_status=$?
42838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42839 (exit $ac_status); }; }; then
42840 echo "*** The test program compiled, but did not run. This usually means"
42841 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42842 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42843 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42844 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42845 echo "*** is required on your system"
42846 echo "***"
42847 echo "*** If you have an old version installed, it is best to remove it, although"
42848 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42849 else
42850 echo "$as_me: failed program was:" >&5
42851 sed 's/^/| /' conftest.$ac_ext >&5
42852
42853 echo "*** The test program failed to compile or link. See the file config.log for the"
42854 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42855 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42856 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42857 fi
42858 rm -f conftest.err conftest.$ac_objext \
42859 conftest$ac_exeext conftest.$ac_ext
42860 CFLAGS="$ac_save_CFLAGS"
42861 CXXFLAGS="$ac_save_CXXFLAGS"
42862 LIBS="$ac_save_LIBS"
42863 fi
42864 fi
42865 SDL_CFLAGS=""
42866 SDL_LIBS=""
42867 wxUSE_LIBSDL="no"
42868 fi
42869
42870
42871 rm -f conf.sdltest
42872
42873 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42874 WITH_PLUGIN_SDL=1
42875 fi
42876 fi
42877 fi
42878
42879 cat >>confdefs.h <<\_ACEOF
42880 #define wxUSE_SOUND 1
42881 _ACEOF
42882
42883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42884 fi
42885
42886 if test "$WXGTK20" = 1; then
42887 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42888 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42889
42890
42891 pkg_failed=no
42892 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42893 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42894
42895 if test -n "$PKG_CONFIG"; then
42896 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42897 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42898 else
42899 if test -n "$PKG_CONFIG" && \
42900 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42901 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42902 ac_status=$?
42903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42904 (exit $ac_status); }; then
42905 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42906 else
42907 pkg_failed=yes
42908 fi
42909 fi
42910 else
42911 pkg_failed=untried
42912 fi
42913 if test -n "$PKG_CONFIG"; then
42914 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42915 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42916 else
42917 if test -n "$PKG_CONFIG" && \
42918 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42919 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42920 ac_status=$?
42921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42922 (exit $ac_status); }; then
42923 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42924 else
42925 pkg_failed=yes
42926 fi
42927 fi
42928 else
42929 pkg_failed=untried
42930 fi
42931
42932
42933
42934 if test $pkg_failed = yes; then
42935
42936 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42937 _pkg_short_errors_supported=yes
42938 else
42939 _pkg_short_errors_supported=no
42940 fi
42941 if test $_pkg_short_errors_supported = yes; then
42942 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42943 else
42944 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42945 fi
42946 # Put the nasty error message in config.log where it belongs
42947 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42948
42949
42950 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42951 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42952 wxUSE_LIBGNOMEPRINT="no"
42953
42954
42955 elif test $pkg_failed = untried; then
42956
42957 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42958 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42959 wxUSE_LIBGNOMEPRINT="no"
42960
42961
42962 else
42963 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42964 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42965 echo "$as_me:$LINENO: result: yes" >&5
42966 echo "${ECHO_T}yes" >&6
42967
42968 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42969 cat >>confdefs.h <<\_ACEOF
42970 #define wxUSE_LIBGNOMEPRINT 1
42971 _ACEOF
42972
42973
42974 fi
42975 fi
42976 fi
42977 fi
42978
42979 if test "$WXGTK20" = 1; then
42980 if test "$wxUSE_MIMETYPE" = "yes" ; then
42981 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42982
42983
42984 pkg_failed=no
42985 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42986 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42987
42988 if test -n "$PKG_CONFIG"; then
42989 if test -n "$GNOMEVFS_CFLAGS"; then
42990 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42991 else
42992 if test -n "$PKG_CONFIG" && \
42993 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42994 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42995 ac_status=$?
42996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42997 (exit $ac_status); }; then
42998 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42999 else
43000 pkg_failed=yes
43001 fi
43002 fi
43003 else
43004 pkg_failed=untried
43005 fi
43006 if test -n "$PKG_CONFIG"; then
43007 if test -n "$GNOMEVFS_LIBS"; then
43008 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43009 else
43010 if test -n "$PKG_CONFIG" && \
43011 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43012 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43013 ac_status=$?
43014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43015 (exit $ac_status); }; then
43016 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43017 else
43018 pkg_failed=yes
43019 fi
43020 fi
43021 else
43022 pkg_failed=untried
43023 fi
43024
43025
43026
43027 if test $pkg_failed = yes; then
43028
43029 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43030 _pkg_short_errors_supported=yes
43031 else
43032 _pkg_short_errors_supported=no
43033 fi
43034 if test $_pkg_short_errors_supported = yes; then
43035 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43036 else
43037 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43038 fi
43039 # Put the nasty error message in config.log where it belongs
43040 echo "$GNOMEVFS_PKG_ERRORS" >&5
43041
43042
43043 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43044 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43045 wxUSE_LIBGNOMEVFS="no"
43046
43047
43048 elif test $pkg_failed = untried; then
43049
43050 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43051 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43052 wxUSE_LIBGNOMEVFS="no"
43053
43054
43055 else
43056 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43057 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43058 echo "$as_me:$LINENO: result: yes" >&5
43059 echo "${ECHO_T}yes" >&6
43060
43061 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43062 cat >>confdefs.h <<\_ACEOF
43063 #define wxUSE_LIBGNOMEVFS 1
43064 _ACEOF
43065
43066
43067 fi
43068 fi
43069 fi
43070 fi
43071
43072 if test "$WXGTK20" = 1; then
43073 if test "$wxUSE_LIBHILDON" = "yes" ; then
43074
43075 pkg_failed=no
43076 echo "$as_me:$LINENO: checking for HILDON" >&5
43077 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43078
43079 if test -n "$PKG_CONFIG"; then
43080 if test -n "$HILDON_CFLAGS"; then
43081 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43082 else
43083 if test -n "$PKG_CONFIG" && \
43084 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43085 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43086 ac_status=$?
43087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43088 (exit $ac_status); }; then
43089 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43090 else
43091 pkg_failed=yes
43092 fi
43093 fi
43094 else
43095 pkg_failed=untried
43096 fi
43097 if test -n "$PKG_CONFIG"; then
43098 if test -n "$HILDON_LIBS"; then
43099 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43100 else
43101 if test -n "$PKG_CONFIG" && \
43102 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43103 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43104 ac_status=$?
43105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43106 (exit $ac_status); }; then
43107 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43108 else
43109 pkg_failed=yes
43110 fi
43111 fi
43112 else
43113 pkg_failed=untried
43114 fi
43115
43116
43117
43118 if test $pkg_failed = yes; then
43119
43120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43121 _pkg_short_errors_supported=yes
43122 else
43123 _pkg_short_errors_supported=no
43124 fi
43125 if test $_pkg_short_errors_supported = yes; then
43126 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43127 else
43128 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43129 fi
43130 # Put the nasty error message in config.log where it belongs
43131 echo "$HILDON_PKG_ERRORS" >&5
43132
43133
43134 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43135 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43136 wxUSE_LIBHILDON="no"
43137
43138
43139 elif test $pkg_failed = untried; then
43140
43141 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43142 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43143 wxUSE_LIBHILDON="no"
43144
43145
43146 else
43147 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43148 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43149 echo "$as_me:$LINENO: result: yes" >&5
43150 echo "${ECHO_T}yes" >&6
43151
43152 EXTRALIBS_HILDON="$HILDON_LIBS"
43153 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43154 cat >>confdefs.h <<\_ACEOF
43155 #define wxUSE_LIBHILDON 1
43156 _ACEOF
43157
43158
43159 fi
43160 fi
43161 fi
43162
43163 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43164 cat >>confdefs.h <<\_ACEOF
43165 #define wxUSE_CMDLINE_PARSER 1
43166 _ACEOF
43167
43168 fi
43169
43170 if test "$wxUSE_STOPWATCH" = "yes"; then
43171 cat >>confdefs.h <<\_ACEOF
43172 #define wxUSE_STOPWATCH 1
43173 _ACEOF
43174
43175 fi
43176
43177 if test "$wxUSE_DATETIME" = "yes"; then
43178 cat >>confdefs.h <<\_ACEOF
43179 #define wxUSE_DATETIME 1
43180 _ACEOF
43181
43182 fi
43183
43184 if test "$wxUSE_FILE" = "yes"; then
43185 cat >>confdefs.h <<\_ACEOF
43186 #define wxUSE_FILE 1
43187 _ACEOF
43188
43189 fi
43190
43191 if test "$wxUSE_FFILE" = "yes"; then
43192 cat >>confdefs.h <<\_ACEOF
43193 #define wxUSE_FFILE 1
43194 _ACEOF
43195
43196 fi
43197
43198 if test "$wxUSE_FILESYSTEM" = "yes"; then
43199 cat >>confdefs.h <<\_ACEOF
43200 #define wxUSE_FILESYSTEM 1
43201 _ACEOF
43202
43203 fi
43204
43205 if test "$wxUSE_FS_ZIP" = "yes"; then
43206 cat >>confdefs.h <<\_ACEOF
43207 #define wxUSE_FS_ZIP 1
43208 _ACEOF
43209
43210 fi
43211
43212 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43213 if test "$wxUSE_STREAMS" != yes; then
43214 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43215 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43216 else
43217 cat >>confdefs.h <<\_ACEOF
43218 #define wxUSE_ARCHIVE_STREAMS 1
43219 _ACEOF
43220
43221 fi
43222 fi
43223
43224 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43225 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43226 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43227 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43228 elif test "$wxUSE_ZLIB" = "no"; then
43229 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43230 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43231 else
43232 cat >>confdefs.h <<\_ACEOF
43233 #define wxUSE_ZIPSTREAM 1
43234 _ACEOF
43235
43236 fi
43237 fi
43238
43239 if test "$wxUSE_TARSTREAM" = "yes"; then
43240 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43241 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43242 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43243 else
43244 cat >>confdefs.h <<\_ACEOF
43245 #define wxUSE_TARSTREAM 1
43246 _ACEOF
43247
43248 fi
43249 fi
43250
43251 if test "$wxUSE_BACKINGFILE" = "yes"; then
43252 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43253 { echo "$as_me:$LINENO: WARNING: wxBackingFile requires wxStreams and wxFile or wxFFile... disabled" >&5
43254 echo "$as_me: WARNING: wxBackingFile requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43255 else
43256 cat >>confdefs.h <<\_ACEOF
43257 #define wxUSE_BACKINGFILE 1
43258 _ACEOF
43259
43260 fi
43261 fi
43262
43263 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43264 if test "$wxUSE_ARCHIVE_STREAMS" != yes -o "$wxUSE_BACKINGFILE" != yes; then
43265 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxBackingFile... disabled" >&5
43266 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxBackingFile... disabled" >&2;}
43267 else
43268 cat >>confdefs.h <<\_ACEOF
43269 #define wxUSE_FS_ARCHIVE 1
43270 _ACEOF
43271
43272 fi
43273 fi
43274
43275 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43276 if test "$USE_UNIX" != 1; then
43277 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43278 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43279 wxUSE_ON_FATAL_EXCEPTION=no
43280 else
43281 cat >>confdefs.h <<\_ACEOF
43282 #define wxUSE_ON_FATAL_EXCEPTION 1
43283 _ACEOF
43284
43285 fi
43286 fi
43287
43288 if test "$wxUSE_STACKWALKER" = "yes"; then
43289 cat >>confdefs.h <<\_ACEOF
43290 #define wxUSE_STACKWALKER 1
43291 _ACEOF
43292
43293 fi
43294
43295 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43296 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43297 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43298 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43299 wxUSE_DEBUGREPORT=no
43300 else
43301 cat >>confdefs.h <<\_ACEOF
43302 #define wxUSE_DEBUGREPORT 1
43303 _ACEOF
43304
43305 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43307 fi
43308 fi
43309 fi
43310
43311 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43312 cat >>confdefs.h <<\_ACEOF
43313 #define wxUSE_SNGLINST_CHECKER 1
43314 _ACEOF
43315
43316 fi
43317
43318 if test "$wxUSE_BUSYINFO" = "yes"; then
43319 cat >>confdefs.h <<\_ACEOF
43320 #define wxUSE_BUSYINFO 1
43321 _ACEOF
43322
43323 fi
43324
43325 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43326 cat >>confdefs.h <<\_ACEOF
43327 #define wxUSE_STD_IOSTREAM 1
43328 _ACEOF
43329
43330 fi
43331
43332 if test "$wxUSE_STD_STRING" = "yes"; then
43333 cat >>confdefs.h <<\_ACEOF
43334 #define wxUSE_STD_STRING 1
43335 _ACEOF
43336
43337 fi
43338
43339 if test "$wxUSE_STDPATHS" = "yes"; then
43340 cat >>confdefs.h <<\_ACEOF
43341 #define wxUSE_STDPATHS 1
43342 _ACEOF
43343
43344 fi
43345
43346 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43347 cat >>confdefs.h <<\_ACEOF
43348 #define wxUSE_TEXTBUFFER 1
43349 _ACEOF
43350
43351 fi
43352
43353 if test "$wxUSE_TEXTFILE" = "yes"; then
43354 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43355 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43356 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43357 else
43358 cat >>confdefs.h <<\_ACEOF
43359 #define wxUSE_TEXTFILE 1
43360 _ACEOF
43361
43362 fi
43363 fi
43364
43365 if test "$wxUSE_CONFIG" = "yes" ; then
43366 if test "$wxUSE_TEXTFILE" != "yes"; then
43367 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43368 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43369 else
43370 cat >>confdefs.h <<\_ACEOF
43371 #define wxUSE_CONFIG 1
43372 _ACEOF
43373
43374 cat >>confdefs.h <<\_ACEOF
43375 #define wxUSE_CONFIG_NATIVE 1
43376 _ACEOF
43377
43378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43379 fi
43380 fi
43381
43382 if test "$wxUSE_INTL" = "yes" ; then
43383 if test "$wxUSE_FILE" != "yes"; then
43384 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43385 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43386 else
43387 cat >>confdefs.h <<\_ACEOF
43388 #define wxUSE_INTL 1
43389 _ACEOF
43390
43391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43392 GUIDIST="$GUIDIST INTL_DIST"
43393 fi
43394 fi
43395
43396 if test "$wxUSE_LOG" = "yes"; then
43397 cat >>confdefs.h <<\_ACEOF
43398 #define wxUSE_LOG 1
43399 _ACEOF
43400
43401
43402 if test "$wxUSE_LOGGUI" = "yes"; then
43403 cat >>confdefs.h <<\_ACEOF
43404 #define wxUSE_LOGGUI 1
43405 _ACEOF
43406
43407 fi
43408
43409 if test "$wxUSE_LOGWINDOW" = "yes"; then
43410 cat >>confdefs.h <<\_ACEOF
43411 #define wxUSE_LOGWINDOW 1
43412 _ACEOF
43413
43414 fi
43415
43416 if test "$wxUSE_LOGDIALOG" = "yes"; then
43417 cat >>confdefs.h <<\_ACEOF
43418 #define wxUSE_LOG_DIALOG 1
43419 _ACEOF
43420
43421 fi
43422
43423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43424 fi
43425
43426 if test "$wxUSE_LONGLONG" = "yes"; then
43427 cat >>confdefs.h <<\_ACEOF
43428 #define wxUSE_LONGLONG 1
43429 _ACEOF
43430
43431 fi
43432
43433 if test "$wxUSE_GEOMETRY" = "yes"; then
43434 cat >>confdefs.h <<\_ACEOF
43435 #define wxUSE_GEOMETRY 1
43436 _ACEOF
43437
43438 fi
43439
43440 if test "$wxUSE_STREAMS" = "yes" ; then
43441 cat >>confdefs.h <<\_ACEOF
43442 #define wxUSE_STREAMS 1
43443 _ACEOF
43444
43445 fi
43446
43447 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43448 cat >>confdefs.h <<\_ACEOF
43449 #define wxUSE_PRINTF_POS_PARAMS 1
43450 _ACEOF
43451
43452 fi
43453
43454
43455
43456 if test "$wxUSE_DATETIME" = "yes"; then
43457
43458 for ac_func in strptime
43459 do
43460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43461 echo "$as_me:$LINENO: checking for $ac_func" >&5
43462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43463 if eval "test \"\${$as_ac_var+set}\" = set"; then
43464 echo $ECHO_N "(cached) $ECHO_C" >&6
43465 else
43466 cat >conftest.$ac_ext <<_ACEOF
43467 /* confdefs.h. */
43468 _ACEOF
43469 cat confdefs.h >>conftest.$ac_ext
43470 cat >>conftest.$ac_ext <<_ACEOF
43471 /* end confdefs.h. */
43472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43474 #define $ac_func innocuous_$ac_func
43475
43476 /* System header to define __stub macros and hopefully few prototypes,
43477 which can conflict with char $ac_func (); below.
43478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43479 <limits.h> exists even on freestanding compilers. */
43480
43481 #ifdef __STDC__
43482 # include <limits.h>
43483 #else
43484 # include <assert.h>
43485 #endif
43486
43487 #undef $ac_func
43488
43489 /* Override any gcc2 internal prototype to avoid an error. */
43490 #ifdef __cplusplus
43491 extern "C"
43492 {
43493 #endif
43494 /* We use char because int might match the return type of a gcc2
43495 builtin and then its argument prototype would still apply. */
43496 char $ac_func ();
43497 /* The GNU C library defines this for functions which it implements
43498 to always fail with ENOSYS. Some functions are actually named
43499 something starting with __ and the normal name is an alias. */
43500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43501 choke me
43502 #else
43503 char (*f) () = $ac_func;
43504 #endif
43505 #ifdef __cplusplus
43506 }
43507 #endif
43508
43509 int
43510 main ()
43511 {
43512 return f != $ac_func;
43513 ;
43514 return 0;
43515 }
43516 _ACEOF
43517 rm -f conftest.$ac_objext conftest$ac_exeext
43518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43519 (eval $ac_link) 2>conftest.er1
43520 ac_status=$?
43521 grep -v '^ *+' conftest.er1 >conftest.err
43522 rm -f conftest.er1
43523 cat conftest.err >&5
43524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43525 (exit $ac_status); } &&
43526 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43528 (eval $ac_try) 2>&5
43529 ac_status=$?
43530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43531 (exit $ac_status); }; } &&
43532 { ac_try='test -s conftest$ac_exeext'
43533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43534 (eval $ac_try) 2>&5
43535 ac_status=$?
43536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43537 (exit $ac_status); }; }; then
43538 eval "$as_ac_var=yes"
43539 else
43540 echo "$as_me: failed program was:" >&5
43541 sed 's/^/| /' conftest.$ac_ext >&5
43542
43543 eval "$as_ac_var=no"
43544 fi
43545 rm -f conftest.err conftest.$ac_objext \
43546 conftest$ac_exeext conftest.$ac_ext
43547 fi
43548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43550 if test `eval echo '${'$as_ac_var'}'` = yes; then
43551 cat >>confdefs.h <<_ACEOF
43552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43553 _ACEOF
43554
43555 fi
43556 done
43557
43558 if test "$ac_cv_func_strptime" = "yes"; then
43559 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43560 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43561 if test "${wx_cv_func_strptime_decl+set}" = set; then
43562 echo $ECHO_N "(cached) $ECHO_C" >&6
43563 else
43564
43565 cat >conftest.$ac_ext <<_ACEOF
43566 /* confdefs.h. */
43567 _ACEOF
43568 cat confdefs.h >>conftest.$ac_ext
43569 cat >>conftest.$ac_ext <<_ACEOF
43570 /* end confdefs.h. */
43571
43572 #include <time.h>
43573
43574 int
43575 main ()
43576 {
43577
43578 struct tm t;
43579 strptime("foo", "bar", &t);
43580
43581 ;
43582 return 0;
43583 }
43584 _ACEOF
43585 rm -f conftest.$ac_objext
43586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43587 (eval $ac_compile) 2>conftest.er1
43588 ac_status=$?
43589 grep -v '^ *+' conftest.er1 >conftest.err
43590 rm -f conftest.er1
43591 cat conftest.err >&5
43592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43593 (exit $ac_status); } &&
43594 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43596 (eval $ac_try) 2>&5
43597 ac_status=$?
43598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43599 (exit $ac_status); }; } &&
43600 { ac_try='test -s conftest.$ac_objext'
43601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43602 (eval $ac_try) 2>&5
43603 ac_status=$?
43604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43605 (exit $ac_status); }; }; then
43606 wx_cv_func_strptime_decl=yes
43607 else
43608 echo "$as_me: failed program was:" >&5
43609 sed 's/^/| /' conftest.$ac_ext >&5
43610
43611 wx_cv_func_strptime_decl=no
43612
43613 fi
43614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43615
43616
43617 fi
43618 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43619 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43620 fi
43621 if test "$wx_cv_func_strptime_decl" = "yes"; then
43622 cat >>confdefs.h <<\_ACEOF
43623 #define HAVE_STRPTIME_DECL 1
43624 _ACEOF
43625
43626 fi
43627
43628 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43629 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43630 if test "${wx_cv_var_timezone+set}" = set; then
43631 echo $ECHO_N "(cached) $ECHO_C" >&6
43632 else
43633
43634 cat >conftest.$ac_ext <<_ACEOF
43635 /* confdefs.h. */
43636 _ACEOF
43637 cat confdefs.h >>conftest.$ac_ext
43638 cat >>conftest.$ac_ext <<_ACEOF
43639 /* end confdefs.h. */
43640
43641 #include <time.h>
43642
43643 int
43644 main ()
43645 {
43646
43647 int tz;
43648 tz = timezone;
43649
43650 ;
43651 return 0;
43652 }
43653 _ACEOF
43654 rm -f conftest.$ac_objext
43655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43656 (eval $ac_compile) 2>conftest.er1
43657 ac_status=$?
43658 grep -v '^ *+' conftest.er1 >conftest.err
43659 rm -f conftest.er1
43660 cat conftest.err >&5
43661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43662 (exit $ac_status); } &&
43663 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43665 (eval $ac_try) 2>&5
43666 ac_status=$?
43667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668 (exit $ac_status); }; } &&
43669 { ac_try='test -s conftest.$ac_objext'
43670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43671 (eval $ac_try) 2>&5
43672 ac_status=$?
43673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43674 (exit $ac_status); }; }; then
43675
43676 wx_cv_var_timezone=timezone
43677
43678 else
43679 echo "$as_me: failed program was:" >&5
43680 sed 's/^/| /' conftest.$ac_ext >&5
43681
43682
43683 cat >conftest.$ac_ext <<_ACEOF
43684 /* confdefs.h. */
43685 _ACEOF
43686 cat confdefs.h >>conftest.$ac_ext
43687 cat >>conftest.$ac_ext <<_ACEOF
43688 /* end confdefs.h. */
43689
43690 #include <time.h>
43691
43692 int
43693 main ()
43694 {
43695
43696 int tz;
43697 tz = _timezone;
43698
43699 ;
43700 return 0;
43701 }
43702 _ACEOF
43703 rm -f conftest.$ac_objext
43704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43705 (eval $ac_compile) 2>conftest.er1
43706 ac_status=$?
43707 grep -v '^ *+' conftest.er1 >conftest.err
43708 rm -f conftest.er1
43709 cat conftest.err >&5
43710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43711 (exit $ac_status); } &&
43712 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43714 (eval $ac_try) 2>&5
43715 ac_status=$?
43716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43717 (exit $ac_status); }; } &&
43718 { ac_try='test -s conftest.$ac_objext'
43719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43720 (eval $ac_try) 2>&5
43721 ac_status=$?
43722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43723 (exit $ac_status); }; }; then
43724
43725 wx_cv_var_timezone=_timezone
43726
43727 else
43728 echo "$as_me: failed program was:" >&5
43729 sed 's/^/| /' conftest.$ac_ext >&5
43730
43731
43732 cat >conftest.$ac_ext <<_ACEOF
43733 /* confdefs.h. */
43734 _ACEOF
43735 cat confdefs.h >>conftest.$ac_ext
43736 cat >>conftest.$ac_ext <<_ACEOF
43737 /* end confdefs.h. */
43738
43739 #include <time.h>
43740
43741 int
43742 main ()
43743 {
43744
43745 int tz;
43746 tz = __timezone;
43747
43748 ;
43749 return 0;
43750 }
43751 _ACEOF
43752 rm -f conftest.$ac_objext
43753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43754 (eval $ac_compile) 2>conftest.er1
43755 ac_status=$?
43756 grep -v '^ *+' conftest.er1 >conftest.err
43757 rm -f conftest.er1
43758 cat conftest.err >&5
43759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43760 (exit $ac_status); } &&
43761 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43763 (eval $ac_try) 2>&5
43764 ac_status=$?
43765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43766 (exit $ac_status); }; } &&
43767 { ac_try='test -s conftest.$ac_objext'
43768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43769 (eval $ac_try) 2>&5
43770 ac_status=$?
43771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43772 (exit $ac_status); }; }; then
43773
43774 wx_cv_var_timezone=__timezone
43775
43776 else
43777 echo "$as_me: failed program was:" >&5
43778 sed 's/^/| /' conftest.$ac_ext >&5
43779
43780
43781 if test "$USE_DOS" = 0 ; then
43782 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43783 echo "$as_me: WARNING: no timezone variable" >&2;}
43784 fi
43785
43786
43787 fi
43788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43789
43790
43791 fi
43792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43793
43794
43795 fi
43796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43797
43798
43799 fi
43800 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43801 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43802
43803 if test "x$wx_cv_var_timezone" != x ; then
43804 cat >>confdefs.h <<_ACEOF
43805 #define WX_TIMEZONE $wx_cv_var_timezone
43806 _ACEOF
43807
43808 fi
43809
43810
43811 for ac_func in localtime
43812 do
43813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43814 echo "$as_me:$LINENO: checking for $ac_func" >&5
43815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43816 if eval "test \"\${$as_ac_var+set}\" = set"; then
43817 echo $ECHO_N "(cached) $ECHO_C" >&6
43818 else
43819 cat >conftest.$ac_ext <<_ACEOF
43820 /* confdefs.h. */
43821 _ACEOF
43822 cat confdefs.h >>conftest.$ac_ext
43823 cat >>conftest.$ac_ext <<_ACEOF
43824 /* end confdefs.h. */
43825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43827 #define $ac_func innocuous_$ac_func
43828
43829 /* System header to define __stub macros and hopefully few prototypes,
43830 which can conflict with char $ac_func (); below.
43831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43832 <limits.h> exists even on freestanding compilers. */
43833
43834 #ifdef __STDC__
43835 # include <limits.h>
43836 #else
43837 # include <assert.h>
43838 #endif
43839
43840 #undef $ac_func
43841
43842 /* Override any gcc2 internal prototype to avoid an error. */
43843 #ifdef __cplusplus
43844 extern "C"
43845 {
43846 #endif
43847 /* We use char because int might match the return type of a gcc2
43848 builtin and then its argument prototype would still apply. */
43849 char $ac_func ();
43850 /* The GNU C library defines this for functions which it implements
43851 to always fail with ENOSYS. Some functions are actually named
43852 something starting with __ and the normal name is an alias. */
43853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43854 choke me
43855 #else
43856 char (*f) () = $ac_func;
43857 #endif
43858 #ifdef __cplusplus
43859 }
43860 #endif
43861
43862 int
43863 main ()
43864 {
43865 return f != $ac_func;
43866 ;
43867 return 0;
43868 }
43869 _ACEOF
43870 rm -f conftest.$ac_objext conftest$ac_exeext
43871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43872 (eval $ac_link) 2>conftest.er1
43873 ac_status=$?
43874 grep -v '^ *+' conftest.er1 >conftest.err
43875 rm -f conftest.er1
43876 cat conftest.err >&5
43877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43878 (exit $ac_status); } &&
43879 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43881 (eval $ac_try) 2>&5
43882 ac_status=$?
43883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43884 (exit $ac_status); }; } &&
43885 { ac_try='test -s conftest$ac_exeext'
43886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43887 (eval $ac_try) 2>&5
43888 ac_status=$?
43889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43890 (exit $ac_status); }; }; then
43891 eval "$as_ac_var=yes"
43892 else
43893 echo "$as_me: failed program was:" >&5
43894 sed 's/^/| /' conftest.$ac_ext >&5
43895
43896 eval "$as_ac_var=no"
43897 fi
43898 rm -f conftest.err conftest.$ac_objext \
43899 conftest$ac_exeext conftest.$ac_ext
43900 fi
43901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43903 if test `eval echo '${'$as_ac_var'}'` = yes; then
43904 cat >>confdefs.h <<_ACEOF
43905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43906 _ACEOF
43907
43908 fi
43909 done
43910
43911
43912 if test "$ac_cv_func_localtime" = "yes"; then
43913 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43914 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43915 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43916 echo $ECHO_N "(cached) $ECHO_C" >&6
43917 else
43918
43919 cat >conftest.$ac_ext <<_ACEOF
43920 /* confdefs.h. */
43921 _ACEOF
43922 cat confdefs.h >>conftest.$ac_ext
43923 cat >>conftest.$ac_ext <<_ACEOF
43924 /* end confdefs.h. */
43925
43926 #include <time.h>
43927
43928 int
43929 main ()
43930 {
43931
43932 struct tm tm;
43933 tm.tm_gmtoff++;
43934
43935 ;
43936 return 0;
43937 }
43938 _ACEOF
43939 rm -f conftest.$ac_objext
43940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43941 (eval $ac_compile) 2>conftest.er1
43942 ac_status=$?
43943 grep -v '^ *+' conftest.er1 >conftest.err
43944 rm -f conftest.er1
43945 cat conftest.err >&5
43946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43947 (exit $ac_status); } &&
43948 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43950 (eval $ac_try) 2>&5
43951 ac_status=$?
43952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43953 (exit $ac_status); }; } &&
43954 { ac_try='test -s conftest.$ac_objext'
43955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43956 (eval $ac_try) 2>&5
43957 ac_status=$?
43958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43959 (exit $ac_status); }; }; then
43960
43961 wx_cv_struct_tm_has_gmtoff=yes
43962
43963 else
43964 echo "$as_me: failed program was:" >&5
43965 sed 's/^/| /' conftest.$ac_ext >&5
43966
43967 wx_cv_struct_tm_has_gmtoff=no
43968
43969 fi
43970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43971
43972 fi
43973 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43974 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43975 fi
43976
43977 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43978 cat >>confdefs.h <<\_ACEOF
43979 #define WX_GMTOFF_IN_TM 1
43980 _ACEOF
43981
43982 fi
43983
43984
43985
43986 for ac_func in gettimeofday ftime
43987 do
43988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43989 echo "$as_me:$LINENO: checking for $ac_func" >&5
43990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43991 if eval "test \"\${$as_ac_var+set}\" = set"; then
43992 echo $ECHO_N "(cached) $ECHO_C" >&6
43993 else
43994 cat >conftest.$ac_ext <<_ACEOF
43995 /* confdefs.h. */
43996 _ACEOF
43997 cat confdefs.h >>conftest.$ac_ext
43998 cat >>conftest.$ac_ext <<_ACEOF
43999 /* end confdefs.h. */
44000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44002 #define $ac_func innocuous_$ac_func
44003
44004 /* System header to define __stub macros and hopefully few prototypes,
44005 which can conflict with char $ac_func (); below.
44006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44007 <limits.h> exists even on freestanding compilers. */
44008
44009 #ifdef __STDC__
44010 # include <limits.h>
44011 #else
44012 # include <assert.h>
44013 #endif
44014
44015 #undef $ac_func
44016
44017 /* Override any gcc2 internal prototype to avoid an error. */
44018 #ifdef __cplusplus
44019 extern "C"
44020 {
44021 #endif
44022 /* We use char because int might match the return type of a gcc2
44023 builtin and then its argument prototype would still apply. */
44024 char $ac_func ();
44025 /* The GNU C library defines this for functions which it implements
44026 to always fail with ENOSYS. Some functions are actually named
44027 something starting with __ and the normal name is an alias. */
44028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44029 choke me
44030 #else
44031 char (*f) () = $ac_func;
44032 #endif
44033 #ifdef __cplusplus
44034 }
44035 #endif
44036
44037 int
44038 main ()
44039 {
44040 return f != $ac_func;
44041 ;
44042 return 0;
44043 }
44044 _ACEOF
44045 rm -f conftest.$ac_objext conftest$ac_exeext
44046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44047 (eval $ac_link) 2>conftest.er1
44048 ac_status=$?
44049 grep -v '^ *+' conftest.er1 >conftest.err
44050 rm -f conftest.er1
44051 cat conftest.err >&5
44052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44053 (exit $ac_status); } &&
44054 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44056 (eval $ac_try) 2>&5
44057 ac_status=$?
44058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44059 (exit $ac_status); }; } &&
44060 { ac_try='test -s conftest$ac_exeext'
44061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44062 (eval $ac_try) 2>&5
44063 ac_status=$?
44064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44065 (exit $ac_status); }; }; then
44066 eval "$as_ac_var=yes"
44067 else
44068 echo "$as_me: failed program was:" >&5
44069 sed 's/^/| /' conftest.$ac_ext >&5
44070
44071 eval "$as_ac_var=no"
44072 fi
44073 rm -f conftest.err conftest.$ac_objext \
44074 conftest$ac_exeext conftest.$ac_ext
44075 fi
44076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44078 if test `eval echo '${'$as_ac_var'}'` = yes; then
44079 cat >>confdefs.h <<_ACEOF
44080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44081 _ACEOF
44082 break
44083 fi
44084 done
44085
44086
44087 if test "$ac_cv_func_gettimeofday" = "yes"; then
44088 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44089 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44090 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44091 echo $ECHO_N "(cached) $ECHO_C" >&6
44092 else
44093
44094 cat >conftest.$ac_ext <<_ACEOF
44095 /* confdefs.h. */
44096 _ACEOF
44097 cat confdefs.h >>conftest.$ac_ext
44098 cat >>conftest.$ac_ext <<_ACEOF
44099 /* end confdefs.h. */
44100
44101 #include <sys/time.h>
44102 #include <unistd.h>
44103
44104 int
44105 main ()
44106 {
44107
44108 struct timeval tv;
44109 gettimeofday(&tv, NULL);
44110
44111 ;
44112 return 0;
44113 }
44114 _ACEOF
44115 rm -f conftest.$ac_objext
44116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44117 (eval $ac_compile) 2>conftest.er1
44118 ac_status=$?
44119 grep -v '^ *+' conftest.er1 >conftest.err
44120 rm -f conftest.er1
44121 cat conftest.err >&5
44122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44123 (exit $ac_status); } &&
44124 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44126 (eval $ac_try) 2>&5
44127 ac_status=$?
44128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44129 (exit $ac_status); }; } &&
44130 { ac_try='test -s conftest.$ac_objext'
44131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44132 (eval $ac_try) 2>&5
44133 ac_status=$?
44134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44135 (exit $ac_status); }; }; then
44136 wx_cv_func_gettimeofday_has_2_args=yes
44137 else
44138 echo "$as_me: failed program was:" >&5
44139 sed 's/^/| /' conftest.$ac_ext >&5
44140
44141 cat >conftest.$ac_ext <<_ACEOF
44142 /* confdefs.h. */
44143 _ACEOF
44144 cat confdefs.h >>conftest.$ac_ext
44145 cat >>conftest.$ac_ext <<_ACEOF
44146 /* end confdefs.h. */
44147
44148 #include <sys/time.h>
44149 #include <unistd.h>
44150
44151 int
44152 main ()
44153 {
44154
44155 struct timeval tv;
44156 gettimeofday(&tv);
44157
44158 ;
44159 return 0;
44160 }
44161 _ACEOF
44162 rm -f conftest.$ac_objext
44163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44164 (eval $ac_compile) 2>conftest.er1
44165 ac_status=$?
44166 grep -v '^ *+' conftest.er1 >conftest.err
44167 rm -f conftest.er1
44168 cat conftest.err >&5
44169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44170 (exit $ac_status); } &&
44171 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44173 (eval $ac_try) 2>&5
44174 ac_status=$?
44175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44176 (exit $ac_status); }; } &&
44177 { ac_try='test -s conftest.$ac_objext'
44178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44179 (eval $ac_try) 2>&5
44180 ac_status=$?
44181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44182 (exit $ac_status); }; }; then
44183 wx_cv_func_gettimeofday_has_2_args=no
44184 else
44185 echo "$as_me: failed program was:" >&5
44186 sed 's/^/| /' conftest.$ac_ext >&5
44187
44188
44189 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44190 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44191 wx_cv_func_gettimeofday_has_2_args=unknown
44192
44193
44194 fi
44195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44196
44197 fi
44198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44199
44200 fi
44201 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44202 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44203
44204 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44205 cat >>confdefs.h <<\_ACEOF
44206 #define WX_GETTIMEOFDAY_NO_TZ 1
44207 _ACEOF
44208
44209 fi
44210 fi
44211
44212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44213 fi
44214
44215
44216 if test "$wxUSE_SOCKETS" = "yes"; then
44217 if test "$wxUSE_MGL" = "1"; then
44218 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44219 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44220 wxUSE_SOCKETS="no"
44221 fi
44222 fi
44223
44224 if test "$wxUSE_SOCKETS" = "yes"; then
44225 if test "$TOOLKIT" != "MSW"; then
44226 echo "$as_me:$LINENO: checking for socket" >&5
44227 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44228 if test "${ac_cv_func_socket+set}" = set; then
44229 echo $ECHO_N "(cached) $ECHO_C" >&6
44230 else
44231 cat >conftest.$ac_ext <<_ACEOF
44232 /* confdefs.h. */
44233 _ACEOF
44234 cat confdefs.h >>conftest.$ac_ext
44235 cat >>conftest.$ac_ext <<_ACEOF
44236 /* end confdefs.h. */
44237 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44239 #define socket innocuous_socket
44240
44241 /* System header to define __stub macros and hopefully few prototypes,
44242 which can conflict with char socket (); below.
44243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44244 <limits.h> exists even on freestanding compilers. */
44245
44246 #ifdef __STDC__
44247 # include <limits.h>
44248 #else
44249 # include <assert.h>
44250 #endif
44251
44252 #undef socket
44253
44254 /* Override any gcc2 internal prototype to avoid an error. */
44255 #ifdef __cplusplus
44256 extern "C"
44257 {
44258 #endif
44259 /* We use char because int might match the return type of a gcc2
44260 builtin and then its argument prototype would still apply. */
44261 char socket ();
44262 /* The GNU C library defines this for functions which it implements
44263 to always fail with ENOSYS. Some functions are actually named
44264 something starting with __ and the normal name is an alias. */
44265 #if defined (__stub_socket) || defined (__stub___socket)
44266 choke me
44267 #else
44268 char (*f) () = socket;
44269 #endif
44270 #ifdef __cplusplus
44271 }
44272 #endif
44273
44274 int
44275 main ()
44276 {
44277 return f != socket;
44278 ;
44279 return 0;
44280 }
44281 _ACEOF
44282 rm -f conftest.$ac_objext conftest$ac_exeext
44283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44284 (eval $ac_link) 2>conftest.er1
44285 ac_status=$?
44286 grep -v '^ *+' conftest.er1 >conftest.err
44287 rm -f conftest.er1
44288 cat conftest.err >&5
44289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44290 (exit $ac_status); } &&
44291 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44293 (eval $ac_try) 2>&5
44294 ac_status=$?
44295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44296 (exit $ac_status); }; } &&
44297 { ac_try='test -s conftest$ac_exeext'
44298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44299 (eval $ac_try) 2>&5
44300 ac_status=$?
44301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44302 (exit $ac_status); }; }; then
44303 ac_cv_func_socket=yes
44304 else
44305 echo "$as_me: failed program was:" >&5
44306 sed 's/^/| /' conftest.$ac_ext >&5
44307
44308 ac_cv_func_socket=no
44309 fi
44310 rm -f conftest.err conftest.$ac_objext \
44311 conftest$ac_exeext conftest.$ac_ext
44312 fi
44313 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44314 echo "${ECHO_T}$ac_cv_func_socket" >&6
44315 if test $ac_cv_func_socket = yes; then
44316 :
44317 else
44318
44319 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44320 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44321 if test "${ac_cv_lib_socket_socket+set}" = set; then
44322 echo $ECHO_N "(cached) $ECHO_C" >&6
44323 else
44324 ac_check_lib_save_LIBS=$LIBS
44325 LIBS="-lsocket $LIBS"
44326 cat >conftest.$ac_ext <<_ACEOF
44327 /* confdefs.h. */
44328 _ACEOF
44329 cat confdefs.h >>conftest.$ac_ext
44330 cat >>conftest.$ac_ext <<_ACEOF
44331 /* end confdefs.h. */
44332
44333 /* Override any gcc2 internal prototype to avoid an error. */
44334 #ifdef __cplusplus
44335 extern "C"
44336 #endif
44337 /* We use char because int might match the return type of a gcc2
44338 builtin and then its argument prototype would still apply. */
44339 char socket ();
44340 int
44341 main ()
44342 {
44343 socket ();
44344 ;
44345 return 0;
44346 }
44347 _ACEOF
44348 rm -f conftest.$ac_objext conftest$ac_exeext
44349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44350 (eval $ac_link) 2>conftest.er1
44351 ac_status=$?
44352 grep -v '^ *+' conftest.er1 >conftest.err
44353 rm -f conftest.er1
44354 cat conftest.err >&5
44355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44356 (exit $ac_status); } &&
44357 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44359 (eval $ac_try) 2>&5
44360 ac_status=$?
44361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44362 (exit $ac_status); }; } &&
44363 { ac_try='test -s conftest$ac_exeext'
44364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44365 (eval $ac_try) 2>&5
44366 ac_status=$?
44367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44368 (exit $ac_status); }; }; then
44369 ac_cv_lib_socket_socket=yes
44370 else
44371 echo "$as_me: failed program was:" >&5
44372 sed 's/^/| /' conftest.$ac_ext >&5
44373
44374 ac_cv_lib_socket_socket=no
44375 fi
44376 rm -f conftest.err conftest.$ac_objext \
44377 conftest$ac_exeext conftest.$ac_ext
44378 LIBS=$ac_check_lib_save_LIBS
44379 fi
44380 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44381 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44382 if test $ac_cv_lib_socket_socket = yes; then
44383 if test "$INET_LINK" != " -lsocket"; then
44384 INET_LINK="$INET_LINK -lsocket"
44385 fi
44386 else
44387
44388 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44389 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44390 wxUSE_SOCKETS=no
44391
44392
44393 fi
44394
44395
44396
44397 fi
44398
44399 fi
44400 fi
44401
44402 if test "$wxUSE_SOCKETS" = "yes" ; then
44403 if test "$TOOLKIT" != "MSW"; then
44404 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44405 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44406 if test "${wx_cv_type_getsockname3+set}" = set; then
44407 echo $ECHO_N "(cached) $ECHO_C" >&6
44408 else
44409
44410 cat >conftest.$ac_ext <<_ACEOF
44411 /* confdefs.h. */
44412 _ACEOF
44413 cat confdefs.h >>conftest.$ac_ext
44414 cat >>conftest.$ac_ext <<_ACEOF
44415 /* end confdefs.h. */
44416
44417 #include <sys/types.h>
44418 #include <sys/socket.h>
44419
44420 int
44421 main ()
44422 {
44423
44424 socklen_t len;
44425 getsockname(0, 0, &len);
44426
44427 ;
44428 return 0;
44429 }
44430 _ACEOF
44431 rm -f conftest.$ac_objext
44432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44433 (eval $ac_compile) 2>conftest.er1
44434 ac_status=$?
44435 grep -v '^ *+' conftest.er1 >conftest.err
44436 rm -f conftest.er1
44437 cat conftest.err >&5
44438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44439 (exit $ac_status); } &&
44440 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44442 (eval $ac_try) 2>&5
44443 ac_status=$?
44444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44445 (exit $ac_status); }; } &&
44446 { ac_try='test -s conftest.$ac_objext'
44447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44448 (eval $ac_try) 2>&5
44449 ac_status=$?
44450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44451 (exit $ac_status); }; }; then
44452 wx_cv_type_getsockname3=socklen_t
44453 else
44454 echo "$as_me: failed program was:" >&5
44455 sed 's/^/| /' conftest.$ac_ext >&5
44456
44457
44458 CXXFLAGS_OLD="$CXXFLAGS"
44459 if test "$GCC" = yes ; then
44460 CXXFLAGS="-Werror $CXXFLAGS"
44461 fi
44462
44463 cat >conftest.$ac_ext <<_ACEOF
44464 /* confdefs.h. */
44465 _ACEOF
44466 cat confdefs.h >>conftest.$ac_ext
44467 cat >>conftest.$ac_ext <<_ACEOF
44468 /* end confdefs.h. */
44469
44470 #include <sys/types.h>
44471 #include <sys/socket.h>
44472
44473 int
44474 main ()
44475 {
44476
44477 size_t len;
44478 getsockname(0, 0, &len);
44479
44480 ;
44481 return 0;
44482 }
44483 _ACEOF
44484 rm -f conftest.$ac_objext
44485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44486 (eval $ac_compile) 2>conftest.er1
44487 ac_status=$?
44488 grep -v '^ *+' conftest.er1 >conftest.err
44489 rm -f conftest.er1
44490 cat conftest.err >&5
44491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44492 (exit $ac_status); } &&
44493 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44495 (eval $ac_try) 2>&5
44496 ac_status=$?
44497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44498 (exit $ac_status); }; } &&
44499 { ac_try='test -s conftest.$ac_objext'
44500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44501 (eval $ac_try) 2>&5
44502 ac_status=$?
44503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44504 (exit $ac_status); }; }; then
44505 wx_cv_type_getsockname3=size_t
44506 else
44507 echo "$as_me: failed program was:" >&5
44508 sed 's/^/| /' conftest.$ac_ext >&5
44509
44510 cat >conftest.$ac_ext <<_ACEOF
44511 /* confdefs.h. */
44512 _ACEOF
44513 cat confdefs.h >>conftest.$ac_ext
44514 cat >>conftest.$ac_ext <<_ACEOF
44515 /* end confdefs.h. */
44516
44517 #include <sys/types.h>
44518 #include <sys/socket.h>
44519
44520 int
44521 main ()
44522 {
44523
44524 int len;
44525 getsockname(0, 0, &len);
44526
44527 ;
44528 return 0;
44529 }
44530 _ACEOF
44531 rm -f conftest.$ac_objext
44532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44533 (eval $ac_compile) 2>conftest.er1
44534 ac_status=$?
44535 grep -v '^ *+' conftest.er1 >conftest.err
44536 rm -f conftest.er1
44537 cat conftest.err >&5
44538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44539 (exit $ac_status); } &&
44540 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
44546 { ac_try='test -s conftest.$ac_objext'
44547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44548 (eval $ac_try) 2>&5
44549 ac_status=$?
44550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44551 (exit $ac_status); }; }; then
44552 wx_cv_type_getsockname3=int
44553 else
44554 echo "$as_me: failed program was:" >&5
44555 sed 's/^/| /' conftest.$ac_ext >&5
44556
44557 wx_cv_type_getsockname3=unknown
44558
44559 fi
44560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44561
44562 fi
44563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44564
44565 CXXFLAGS="$CXXFLAGS_OLD"
44566
44567
44568 fi
44569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44570
44571 fi
44572 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44573 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44574
44575 if test "$wx_cv_type_getsockname3" = "unknown"; then
44576 wxUSE_SOCKETS=no
44577 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44578 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44579 else
44580 cat >>confdefs.h <<_ACEOF
44581 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44582 _ACEOF
44583
44584 fi
44585 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44586 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44587 if test "${wx_cv_type_getsockopt5+set}" = set; then
44588 echo $ECHO_N "(cached) $ECHO_C" >&6
44589 else
44590
44591 cat >conftest.$ac_ext <<_ACEOF
44592 /* confdefs.h. */
44593 _ACEOF
44594 cat confdefs.h >>conftest.$ac_ext
44595 cat >>conftest.$ac_ext <<_ACEOF
44596 /* end confdefs.h. */
44597
44598 #include <sys/types.h>
44599 #include <sys/socket.h>
44600
44601 int
44602 main ()
44603 {
44604
44605 socklen_t len;
44606 getsockopt(0, 0, 0, 0, &len);
44607
44608 ;
44609 return 0;
44610 }
44611 _ACEOF
44612 rm -f conftest.$ac_objext
44613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44614 (eval $ac_compile) 2>conftest.er1
44615 ac_status=$?
44616 grep -v '^ *+' conftest.er1 >conftest.err
44617 rm -f conftest.er1
44618 cat conftest.err >&5
44619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44620 (exit $ac_status); } &&
44621 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44623 (eval $ac_try) 2>&5
44624 ac_status=$?
44625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44626 (exit $ac_status); }; } &&
44627 { ac_try='test -s conftest.$ac_objext'
44628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44629 (eval $ac_try) 2>&5
44630 ac_status=$?
44631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44632 (exit $ac_status); }; }; then
44633 wx_cv_type_getsockopt5=socklen_t
44634 else
44635 echo "$as_me: failed program was:" >&5
44636 sed 's/^/| /' conftest.$ac_ext >&5
44637
44638
44639 CXXFLAGS_OLD="$CXXFLAGS"
44640 if test "$GCC" = yes ; then
44641 CXXFLAGS="-Werror $CXXFLAGS"
44642 fi
44643
44644 cat >conftest.$ac_ext <<_ACEOF
44645 /* confdefs.h. */
44646 _ACEOF
44647 cat confdefs.h >>conftest.$ac_ext
44648 cat >>conftest.$ac_ext <<_ACEOF
44649 /* end confdefs.h. */
44650
44651 #include <sys/types.h>
44652 #include <sys/socket.h>
44653
44654 int
44655 main ()
44656 {
44657
44658 size_t len;
44659 getsockopt(0, 0, 0, 0, &len);
44660
44661 ;
44662 return 0;
44663 }
44664 _ACEOF
44665 rm -f conftest.$ac_objext
44666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44667 (eval $ac_compile) 2>conftest.er1
44668 ac_status=$?
44669 grep -v '^ *+' conftest.er1 >conftest.err
44670 rm -f conftest.er1
44671 cat conftest.err >&5
44672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44673 (exit $ac_status); } &&
44674 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44676 (eval $ac_try) 2>&5
44677 ac_status=$?
44678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44679 (exit $ac_status); }; } &&
44680 { ac_try='test -s conftest.$ac_objext'
44681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44682 (eval $ac_try) 2>&5
44683 ac_status=$?
44684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44685 (exit $ac_status); }; }; then
44686 wx_cv_type_getsockopt5=size_t
44687 else
44688 echo "$as_me: failed program was:" >&5
44689 sed 's/^/| /' conftest.$ac_ext >&5
44690
44691 cat >conftest.$ac_ext <<_ACEOF
44692 /* confdefs.h. */
44693 _ACEOF
44694 cat confdefs.h >>conftest.$ac_ext
44695 cat >>conftest.$ac_ext <<_ACEOF
44696 /* end confdefs.h. */
44697
44698 #include <sys/types.h>
44699 #include <sys/socket.h>
44700
44701 int
44702 main ()
44703 {
44704
44705 int len;
44706 getsockopt(0, 0, 0, 0, &len);
44707
44708 ;
44709 return 0;
44710 }
44711 _ACEOF
44712 rm -f conftest.$ac_objext
44713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44714 (eval $ac_compile) 2>conftest.er1
44715 ac_status=$?
44716 grep -v '^ *+' conftest.er1 >conftest.err
44717 rm -f conftest.er1
44718 cat conftest.err >&5
44719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44720 (exit $ac_status); } &&
44721 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44723 (eval $ac_try) 2>&5
44724 ac_status=$?
44725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44726 (exit $ac_status); }; } &&
44727 { ac_try='test -s conftest.$ac_objext'
44728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44729 (eval $ac_try) 2>&5
44730 ac_status=$?
44731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44732 (exit $ac_status); }; }; then
44733 wx_cv_type_getsockopt5=int
44734 else
44735 echo "$as_me: failed program was:" >&5
44736 sed 's/^/| /' conftest.$ac_ext >&5
44737
44738 wx_cv_type_getsockopt5=unknown
44739
44740 fi
44741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44742
44743 fi
44744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44745
44746 CXXFLAGS="$CXXFLAGS_OLD"
44747
44748
44749 fi
44750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44751
44752 fi
44753 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44754 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44755
44756 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44757 wxUSE_SOCKETS=no
44758 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44759 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44760 else
44761 cat >>confdefs.h <<_ACEOF
44762 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44763 _ACEOF
44764
44765 fi
44766 fi
44767 fi
44768
44769 if test "$wxUSE_SOCKETS" = "yes" ; then
44770 cat >>confdefs.h <<\_ACEOF
44771 #define wxUSE_SOCKETS 1
44772 _ACEOF
44773
44774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44775 fi
44776
44777 if test "$wxUSE_PROTOCOL" = "yes"; then
44778 if test "$wxUSE_SOCKETS" != "yes"; then
44779 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44780 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44781 wxUSE_PROTOCOL=no
44782 fi
44783 fi
44784
44785 if test "$wxUSE_PROTOCOL" = "yes"; then
44786 cat >>confdefs.h <<\_ACEOF
44787 #define wxUSE_PROTOCOL 1
44788 _ACEOF
44789
44790
44791 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44792 cat >>confdefs.h <<\_ACEOF
44793 #define wxUSE_PROTOCOL_HTTP 1
44794 _ACEOF
44795
44796 fi
44797 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44798 cat >>confdefs.h <<\_ACEOF
44799 #define wxUSE_PROTOCOL_FTP 1
44800 _ACEOF
44801
44802 fi
44803 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44804 cat >>confdefs.h <<\_ACEOF
44805 #define wxUSE_PROTOCOL_FILE 1
44806 _ACEOF
44807
44808 fi
44809 else
44810 if test "$wxUSE_FS_INET" = "yes"; then
44811 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44812 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44813 wxUSE_FS_INET="no"
44814 fi
44815 fi
44816
44817 if test "$wxUSE_URL" = "yes"; then
44818 if test "$wxUSE_PROTOCOL" != "yes"; then
44819 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44820 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44821 wxUSE_URL=no
44822 fi
44823 if test "$wxUSE_URL" = "yes"; then
44824 cat >>confdefs.h <<\_ACEOF
44825 #define wxUSE_URL 1
44826 _ACEOF
44827
44828 fi
44829 fi
44830
44831 if test "$wxUSE_VARIANT" = "yes"; then
44832 cat >>confdefs.h <<\_ACEOF
44833 #define wxUSE_VARIANT 1
44834 _ACEOF
44835
44836 fi
44837
44838 if test "$wxUSE_FS_INET" = "yes"; then
44839 cat >>confdefs.h <<\_ACEOF
44840 #define wxUSE_FS_INET 1
44841 _ACEOF
44842
44843 fi
44844
44845
44846 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44847 wxUSE_JOYSTICK=no
44848
44849 if test "$TOOLKIT" = "MSW"; then
44850 wxUSE_JOYSTICK=yes
44851
44852 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44853 if test "$USE_DARWIN" = 1; then
44854 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44855 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44856 cat >conftest.$ac_ext <<_ACEOF
44857 /* confdefs.h. */
44858 _ACEOF
44859 cat confdefs.h >>conftest.$ac_ext
44860 cat >>conftest.$ac_ext <<_ACEOF
44861 /* end confdefs.h. */
44862 #include <IOKit/hid/IOHIDLib.h>
44863 int
44864 main ()
44865 {
44866 IOHIDQueueInterface *qi = NULL;
44867 IOHIDCallbackFunction cb = NULL;
44868 qi->setEventCallout(NULL, cb, NULL, NULL);
44869 ;
44870 return 0;
44871 }
44872 _ACEOF
44873 rm -f conftest.$ac_objext
44874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44875 (eval $ac_compile) 2>conftest.er1
44876 ac_status=$?
44877 grep -v '^ *+' conftest.er1 >conftest.err
44878 rm -f conftest.er1
44879 cat conftest.err >&5
44880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44881 (exit $ac_status); } &&
44882 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44884 (eval $ac_try) 2>&5
44885 ac_status=$?
44886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44887 (exit $ac_status); }; } &&
44888 { ac_try='test -s conftest.$ac_objext'
44889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44890 (eval $ac_try) 2>&5
44891 ac_status=$?
44892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44893 (exit $ac_status); }; }; then
44894 wxUSE_JOYSTICK=yes
44895
44896 else
44897 echo "$as_me: failed program was:" >&5
44898 sed 's/^/| /' conftest.$ac_ext >&5
44899
44900 fi
44901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44902 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44903 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44904 fi
44905
44906 else
44907
44908 for ac_header in linux/joystick.h
44909 do
44910 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44912 echo "$as_me:$LINENO: checking for $ac_header" >&5
44913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44915 echo $ECHO_N "(cached) $ECHO_C" >&6
44916 fi
44917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44919 else
44920 # Is the header compilable?
44921 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44922 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44923 cat >conftest.$ac_ext <<_ACEOF
44924 /* confdefs.h. */
44925 _ACEOF
44926 cat confdefs.h >>conftest.$ac_ext
44927 cat >>conftest.$ac_ext <<_ACEOF
44928 /* end confdefs.h. */
44929 $ac_includes_default
44930 #include <$ac_header>
44931 _ACEOF
44932 rm -f conftest.$ac_objext
44933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44934 (eval $ac_compile) 2>conftest.er1
44935 ac_status=$?
44936 grep -v '^ *+' conftest.er1 >conftest.err
44937 rm -f conftest.er1
44938 cat conftest.err >&5
44939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44940 (exit $ac_status); } &&
44941 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44943 (eval $ac_try) 2>&5
44944 ac_status=$?
44945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44946 (exit $ac_status); }; } &&
44947 { ac_try='test -s conftest.$ac_objext'
44948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44949 (eval $ac_try) 2>&5
44950 ac_status=$?
44951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44952 (exit $ac_status); }; }; then
44953 ac_header_compiler=yes
44954 else
44955 echo "$as_me: failed program was:" >&5
44956 sed 's/^/| /' conftest.$ac_ext >&5
44957
44958 ac_header_compiler=no
44959 fi
44960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44961 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44962 echo "${ECHO_T}$ac_header_compiler" >&6
44963
44964 # Is the header present?
44965 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44966 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44967 cat >conftest.$ac_ext <<_ACEOF
44968 /* confdefs.h. */
44969 _ACEOF
44970 cat confdefs.h >>conftest.$ac_ext
44971 cat >>conftest.$ac_ext <<_ACEOF
44972 /* end confdefs.h. */
44973 #include <$ac_header>
44974 _ACEOF
44975 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44976 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44977 ac_status=$?
44978 grep -v '^ *+' conftest.er1 >conftest.err
44979 rm -f conftest.er1
44980 cat conftest.err >&5
44981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44982 (exit $ac_status); } >/dev/null; then
44983 if test -s conftest.err; then
44984 ac_cpp_err=$ac_cxx_preproc_warn_flag
44985 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44986 else
44987 ac_cpp_err=
44988 fi
44989 else
44990 ac_cpp_err=yes
44991 fi
44992 if test -z "$ac_cpp_err"; then
44993 ac_header_preproc=yes
44994 else
44995 echo "$as_me: failed program was:" >&5
44996 sed 's/^/| /' conftest.$ac_ext >&5
44997
44998 ac_header_preproc=no
44999 fi
45000 rm -f conftest.err conftest.$ac_ext
45001 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45002 echo "${ECHO_T}$ac_header_preproc" >&6
45003
45004 # So? What about this header?
45005 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45006 yes:no: )
45007 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45008 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45010 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45011 ac_header_preproc=yes
45012 ;;
45013 no:yes:* )
45014 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45015 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45016 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45017 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45018 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45019 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45020 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45021 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45023 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45024 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45025 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45026 (
45027 cat <<\_ASBOX
45028 ## ----------------------------------------- ##
45029 ## Report this to wx-dev@lists.wxwidgets.org ##
45030 ## ----------------------------------------- ##
45031 _ASBOX
45032 ) |
45033 sed "s/^/$as_me: WARNING: /" >&2
45034 ;;
45035 esac
45036 echo "$as_me:$LINENO: checking for $ac_header" >&5
45037 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45038 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45039 echo $ECHO_N "(cached) $ECHO_C" >&6
45040 else
45041 eval "$as_ac_Header=\$ac_header_preproc"
45042 fi
45043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45045
45046 fi
45047 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45048 cat >>confdefs.h <<_ACEOF
45049 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45050 _ACEOF
45051 wxUSE_JOYSTICK=yes
45052 fi
45053
45054 done
45055
45056 fi
45057
45058 if test "$wxUSE_JOYSTICK" = "yes"; then
45059 cat >>confdefs.h <<\_ACEOF
45060 #define wxUSE_JOYSTICK 1
45061 _ACEOF
45062
45063 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45064 else
45065 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45066 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45067 fi
45068 fi
45069
45070
45071
45072 if test "$wxUSE_FONTMAP" = "yes" ; then
45073 cat >>confdefs.h <<\_ACEOF
45074 #define wxUSE_FONTMAP 1
45075 _ACEOF
45076
45077 fi
45078
45079 if test "$wxUSE_UNICODE" = "yes" ; then
45080 cat >>confdefs.h <<\_ACEOF
45081 #define wxUSE_UNICODE 1
45082 _ACEOF
45083
45084
45085 if test "$USE_WIN32" != 1; then
45086 wxUSE_UNICODE_MSLU=no
45087 fi
45088
45089 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45090 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45091 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45092 if test "${ac_cv_lib_unicows_main+set}" = set; then
45093 echo $ECHO_N "(cached) $ECHO_C" >&6
45094 else
45095 ac_check_lib_save_LIBS=$LIBS
45096 LIBS="-lunicows $LIBS"
45097 cat >conftest.$ac_ext <<_ACEOF
45098 /* confdefs.h. */
45099 _ACEOF
45100 cat confdefs.h >>conftest.$ac_ext
45101 cat >>conftest.$ac_ext <<_ACEOF
45102 /* end confdefs.h. */
45103
45104
45105 int
45106 main ()
45107 {
45108 main ();
45109 ;
45110 return 0;
45111 }
45112 _ACEOF
45113 rm -f conftest.$ac_objext conftest$ac_exeext
45114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45115 (eval $ac_link) 2>conftest.er1
45116 ac_status=$?
45117 grep -v '^ *+' conftest.er1 >conftest.err
45118 rm -f conftest.er1
45119 cat conftest.err >&5
45120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45121 (exit $ac_status); } &&
45122 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45124 (eval $ac_try) 2>&5
45125 ac_status=$?
45126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45127 (exit $ac_status); }; } &&
45128 { ac_try='test -s conftest$ac_exeext'
45129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45130 (eval $ac_try) 2>&5
45131 ac_status=$?
45132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45133 (exit $ac_status); }; }; then
45134 ac_cv_lib_unicows_main=yes
45135 else
45136 echo "$as_me: failed program was:" >&5
45137 sed 's/^/| /' conftest.$ac_ext >&5
45138
45139 ac_cv_lib_unicows_main=no
45140 fi
45141 rm -f conftest.err conftest.$ac_objext \
45142 conftest$ac_exeext conftest.$ac_ext
45143 LIBS=$ac_check_lib_save_LIBS
45144 fi
45145 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45146 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45147 if test $ac_cv_lib_unicows_main = yes; then
45148
45149 cat >>confdefs.h <<\_ACEOF
45150 #define wxUSE_UNICODE_MSLU 1
45151 _ACEOF
45152
45153
45154 else
45155
45156 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45157 Applications will only run on Windows NT/2000/XP!" >&5
45158 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45159 Applications will only run on Windows NT/2000/XP!" >&2;}
45160 wxUSE_UNICODE_MSLU=no
45161
45162 fi
45163
45164 fi
45165 fi
45166
45167 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45168 cat >>confdefs.h <<\_ACEOF
45169 #define wxUSE_EXPERIMENTAL_PRINTF 1
45170 _ACEOF
45171
45172 fi
45173
45174
45175 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45176 cat >>confdefs.h <<\_ACEOF
45177 #define wxUSE_POSTSCRIPT 1
45178 _ACEOF
45179
45180 fi
45181
45182 cat >>confdefs.h <<\_ACEOF
45183 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45184 _ACEOF
45185
45186
45187 cat >>confdefs.h <<\_ACEOF
45188 #define wxUSE_NORMALIZED_PS_FONTS 1
45189 _ACEOF
45190
45191
45192
45193 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45194 cat >>confdefs.h <<\_ACEOF
45195 #define wxUSE_CONSTRAINTS 1
45196 _ACEOF
45197
45198 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45199 fi
45200
45201 if test "$wxUSE_MDI" = "yes"; then
45202 cat >>confdefs.h <<\_ACEOF
45203 #define wxUSE_MDI 1
45204 _ACEOF
45205
45206
45207 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45208 cat >>confdefs.h <<\_ACEOF
45209 #define wxUSE_MDI_ARCHITECTURE 1
45210 _ACEOF
45211
45212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45213 fi
45214 fi
45215
45216 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45217 cat >>confdefs.h <<\_ACEOF
45218 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45219 _ACEOF
45220
45221 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45222 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45224 fi
45225 fi
45226
45227 if test "$wxUSE_HELP" = "yes"; then
45228 cat >>confdefs.h <<\_ACEOF
45229 #define wxUSE_HELP 1
45230 _ACEOF
45231
45232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45233
45234 if test "$wxUSE_MSW" = 1; then
45235 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45236 cat >>confdefs.h <<\_ACEOF
45237 #define wxUSE_MS_HTML_HELP 1
45238 _ACEOF
45239
45240 fi
45241 fi
45242
45243 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45244 if test "$wxUSE_HTML" = "yes"; then
45245 cat >>confdefs.h <<\_ACEOF
45246 #define wxUSE_WXHTML_HELP 1
45247 _ACEOF
45248
45249 else
45250 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45251 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45252 wxUSE_WXHTML_HELP=no
45253 fi
45254 fi
45255 fi
45256
45257 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45258 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45259 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45260 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45261 else
45262 cat >>confdefs.h <<\_ACEOF
45263 #define wxUSE_PRINTING_ARCHITECTURE 1
45264 _ACEOF
45265
45266 fi
45267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45268 fi
45269
45270 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45271 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45272 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45273 { (exit 1); exit 1; }; }
45274 fi
45275
45276
45277 if test "$wxUSE_METAFILE" = "yes"; then
45278 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45279 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45280 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45281 wxUSE_METAFILE=no
45282 fi
45283 fi
45284
45285
45286 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45287 -o "$wxUSE_CLIPBOARD" = "yes" \
45288 -o "$wxUSE_OLE" = "yes" \
45289 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45290
45291 for ac_header in ole2.h
45292 do
45293 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45295 echo "$as_me:$LINENO: checking for $ac_header" >&5
45296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45298 echo $ECHO_N "(cached) $ECHO_C" >&6
45299 fi
45300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45302 else
45303 # Is the header compilable?
45304 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45305 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45306 cat >conftest.$ac_ext <<_ACEOF
45307 /* confdefs.h. */
45308 _ACEOF
45309 cat confdefs.h >>conftest.$ac_ext
45310 cat >>conftest.$ac_ext <<_ACEOF
45311 /* end confdefs.h. */
45312 $ac_includes_default
45313 #include <$ac_header>
45314 _ACEOF
45315 rm -f conftest.$ac_objext
45316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45317 (eval $ac_compile) 2>conftest.er1
45318 ac_status=$?
45319 grep -v '^ *+' conftest.er1 >conftest.err
45320 rm -f conftest.er1
45321 cat conftest.err >&5
45322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45323 (exit $ac_status); } &&
45324 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45326 (eval $ac_try) 2>&5
45327 ac_status=$?
45328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45329 (exit $ac_status); }; } &&
45330 { ac_try='test -s conftest.$ac_objext'
45331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45332 (eval $ac_try) 2>&5
45333 ac_status=$?
45334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45335 (exit $ac_status); }; }; then
45336 ac_header_compiler=yes
45337 else
45338 echo "$as_me: failed program was:" >&5
45339 sed 's/^/| /' conftest.$ac_ext >&5
45340
45341 ac_header_compiler=no
45342 fi
45343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45345 echo "${ECHO_T}$ac_header_compiler" >&6
45346
45347 # Is the header present?
45348 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45350 cat >conftest.$ac_ext <<_ACEOF
45351 /* confdefs.h. */
45352 _ACEOF
45353 cat confdefs.h >>conftest.$ac_ext
45354 cat >>conftest.$ac_ext <<_ACEOF
45355 /* end confdefs.h. */
45356 #include <$ac_header>
45357 _ACEOF
45358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45360 ac_status=$?
45361 grep -v '^ *+' conftest.er1 >conftest.err
45362 rm -f conftest.er1
45363 cat conftest.err >&5
45364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45365 (exit $ac_status); } >/dev/null; then
45366 if test -s conftest.err; then
45367 ac_cpp_err=$ac_cxx_preproc_warn_flag
45368 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45369 else
45370 ac_cpp_err=
45371 fi
45372 else
45373 ac_cpp_err=yes
45374 fi
45375 if test -z "$ac_cpp_err"; then
45376 ac_header_preproc=yes
45377 else
45378 echo "$as_me: failed program was:" >&5
45379 sed 's/^/| /' conftest.$ac_ext >&5
45380
45381 ac_header_preproc=no
45382 fi
45383 rm -f conftest.err conftest.$ac_ext
45384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45385 echo "${ECHO_T}$ac_header_preproc" >&6
45386
45387 # So? What about this header?
45388 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45389 yes:no: )
45390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45393 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45394 ac_header_preproc=yes
45395 ;;
45396 no:yes:* )
45397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45401 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45402 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45403 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45404 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45407 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45408 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45409 (
45410 cat <<\_ASBOX
45411 ## ----------------------------------------- ##
45412 ## Report this to wx-dev@lists.wxwidgets.org ##
45413 ## ----------------------------------------- ##
45414 _ASBOX
45415 ) |
45416 sed "s/^/$as_me: WARNING: /" >&2
45417 ;;
45418 esac
45419 echo "$as_me:$LINENO: checking for $ac_header" >&5
45420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45422 echo $ECHO_N "(cached) $ECHO_C" >&6
45423 else
45424 eval "$as_ac_Header=\$ac_header_preproc"
45425 fi
45426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45428
45429 fi
45430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45431 cat >>confdefs.h <<_ACEOF
45432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45433 _ACEOF
45434
45435 fi
45436
45437 done
45438
45439
45440 if test "$ac_cv_header_ole2_h" = "yes" ; then
45441 if test "$GCC" = yes ; then
45442 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45443 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45444 cat >conftest.$ac_ext <<_ACEOF
45445 /* confdefs.h. */
45446 _ACEOF
45447 cat confdefs.h >>conftest.$ac_ext
45448 cat >>conftest.$ac_ext <<_ACEOF
45449 /* end confdefs.h. */
45450 #include <windows.h>
45451 #include <ole2.h>
45452 int
45453 main ()
45454 {
45455
45456 ;
45457 return 0;
45458 }
45459 _ACEOF
45460 rm -f conftest.$ac_objext
45461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45462 (eval $ac_compile) 2>conftest.er1
45463 ac_status=$?
45464 grep -v '^ *+' conftest.er1 >conftest.err
45465 rm -f conftest.er1
45466 cat conftest.err >&5
45467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45468 (exit $ac_status); } &&
45469 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45471 (eval $ac_try) 2>&5
45472 ac_status=$?
45473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45474 (exit $ac_status); }; } &&
45475 { ac_try='test -s conftest.$ac_objext'
45476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45477 (eval $ac_try) 2>&5
45478 ac_status=$?
45479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45480 (exit $ac_status); }; }; then
45481 echo "$as_me:$LINENO: result: no" >&5
45482 echo "${ECHO_T}no" >&6
45483 else
45484 echo "$as_me: failed program was:" >&5
45485 sed 's/^/| /' conftest.$ac_ext >&5
45486
45487 echo "$as_me:$LINENO: result: yes" >&5
45488 echo "${ECHO_T}yes" >&6
45489 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45490 fi
45491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45492 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45493 if test "$wxUSE_OLE" = "yes" ; then
45494 cat >>confdefs.h <<\_ACEOF
45495 #define wxUSE_OLE 1
45496 _ACEOF
45497
45498 cat >>confdefs.h <<\_ACEOF
45499 #define wxUSE_OLE_AUTOMATION 1
45500 _ACEOF
45501
45502 cat >>confdefs.h <<\_ACEOF
45503 #define wxUSE_OLE_ACTIVEX 1
45504 _ACEOF
45505
45506 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45507 fi
45508 fi
45509
45510 if test "$wxUSE_DATAOBJ" = "yes" ; then
45511 cat >>confdefs.h <<\_ACEOF
45512 #define wxUSE_DATAOBJ 1
45513 _ACEOF
45514
45515 fi
45516 else
45517 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45518 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45519
45520 wxUSE_CLIPBOARD=no
45521 wxUSE_DRAG_AND_DROP=no
45522 wxUSE_DATAOBJ=no
45523 wxUSE_OLE=no
45524 fi
45525
45526 if test "$wxUSE_METAFILE" = "yes"; then
45527 cat >>confdefs.h <<\_ACEOF
45528 #define wxUSE_METAFILE 1
45529 _ACEOF
45530
45531
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_ENH_METAFILE 1
45534 _ACEOF
45535
45536 fi
45537 fi
45538
45539 if test "$wxUSE_IPC" = "yes"; then
45540 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45541 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45542 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45543 wxUSE_IPC=no
45544 fi
45545
45546 if test "$wxUSE_IPC" = "yes"; then
45547 cat >>confdefs.h <<\_ACEOF
45548 #define wxUSE_IPC 1
45549 _ACEOF
45550
45551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45552 fi
45553 fi
45554
45555 if test "$wxUSE_DATAOBJ" = "yes"; then
45556 if test "$wxUSE_MGL" = 1; then
45557 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45558 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45559 wxUSE_DATAOBJ=no
45560 else
45561 cat >>confdefs.h <<\_ACEOF
45562 #define wxUSE_DATAOBJ 1
45563 _ACEOF
45564
45565 fi
45566 else
45567 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45568 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45569 wxUSE_CLIPBOARD=no
45570 wxUSE_DRAG_AND_DROP=no
45571 fi
45572
45573 if test "$wxUSE_CLIPBOARD" = "yes"; then
45574 if test "$wxUSE_MGL" = 1; then
45575 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45576 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45577 wxUSE_CLIPBOARD=no
45578 fi
45579
45580 if test "$wxUSE_CLIPBOARD" = "yes"; then
45581 cat >>confdefs.h <<\_ACEOF
45582 #define wxUSE_CLIPBOARD 1
45583 _ACEOF
45584
45585 fi
45586 fi
45587
45588 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45589 if test "$wxUSE_GTK" = 1; then
45590 if test "$WXGTK12" != 1; then
45591 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45592 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45593 wxUSE_DRAG_AND_DROP=no
45594 fi
45595 fi
45596
45597 if test "$wxUSE_MOTIF" = 1; then
45598 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45599 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45600 wxUSE_DRAG_AND_DROP=no
45601 fi
45602
45603 if test "$wxUSE_X11" = 1; then
45604 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45605 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45606 wxUSE_DRAG_AND_DROP=no
45607 fi
45608
45609 if test "$wxUSE_MGL" = 1; then
45610 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45611 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45612 wxUSE_DRAG_AND_DROP=no
45613 fi
45614
45615 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45616 cat >>confdefs.h <<\_ACEOF
45617 #define wxUSE_DRAG_AND_DROP 1
45618 _ACEOF
45619
45620 fi
45621
45622 fi
45623
45624 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45626 fi
45627
45628 if test "$wxUSE_SPLINES" = "yes" ; then
45629 cat >>confdefs.h <<\_ACEOF
45630 #define wxUSE_SPLINES 1
45631 _ACEOF
45632
45633 fi
45634
45635 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45636 cat >>confdefs.h <<\_ACEOF
45637 #define wxUSE_MOUSEWHEEL 1
45638 _ACEOF
45639
45640 fi
45641
45642
45643 USES_CONTROLS=0
45644 if test "$wxUSE_CONTROLS" = "yes"; then
45645 USES_CONTROLS=1
45646 fi
45647
45648 if test "$wxUSE_ACCEL" = "yes"; then
45649 cat >>confdefs.h <<\_ACEOF
45650 #define wxUSE_ACCEL 1
45651 _ACEOF
45652
45653 USES_CONTROLS=1
45654 fi
45655
45656 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45657 cat >>confdefs.h <<\_ACEOF
45658 #define wxUSE_ANIMATIONCTRL 1
45659 _ACEOF
45660
45661 USES_CONTROLS=1
45662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45663 fi
45664
45665 if test "$wxUSE_BUTTON" = "yes"; then
45666 cat >>confdefs.h <<\_ACEOF
45667 #define wxUSE_BUTTON 1
45668 _ACEOF
45669
45670 USES_CONTROLS=1
45671 fi
45672
45673 if test "$wxUSE_BMPBUTTON" = "yes"; then
45674 cat >>confdefs.h <<\_ACEOF
45675 #define wxUSE_BMPBUTTON 1
45676 _ACEOF
45677
45678 USES_CONTROLS=1
45679 fi
45680
45681 if test "$wxUSE_CALCTRL" = "yes"; then
45682 cat >>confdefs.h <<\_ACEOF
45683 #define wxUSE_CALENDARCTRL 1
45684 _ACEOF
45685
45686 USES_CONTROLS=1
45687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45688 fi
45689
45690 if test "$wxUSE_CARET" = "yes"; then
45691 cat >>confdefs.h <<\_ACEOF
45692 #define wxUSE_CARET 1
45693 _ACEOF
45694
45695 USES_CONTROLS=1
45696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45697 fi
45698
45699 if test "$wxUSE_COMBOBOX" = "yes"; then
45700 cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_COMBOBOX 1
45702 _ACEOF
45703
45704 USES_CONTROLS=1
45705 fi
45706
45707 if test "$wxUSE_COMBOCTRL" = "yes"; then
45708 cat >>confdefs.h <<\_ACEOF
45709 #define wxUSE_COMBOCTRL 1
45710 _ACEOF
45711
45712 USES_CONTROLS=1
45713 fi
45714
45715 if test "$wxUSE_CHOICE" = "yes"; then
45716 cat >>confdefs.h <<\_ACEOF
45717 #define wxUSE_CHOICE 1
45718 _ACEOF
45719
45720 USES_CONTROLS=1
45721 fi
45722
45723 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45724 cat >>confdefs.h <<\_ACEOF
45725 #define wxUSE_CHOICEBOOK 1
45726 _ACEOF
45727
45728 USES_CONTROLS=1
45729 fi
45730
45731 if test "$wxUSE_CHECKBOX" = "yes"; then
45732 cat >>confdefs.h <<\_ACEOF
45733 #define wxUSE_CHECKBOX 1
45734 _ACEOF
45735
45736 USES_CONTROLS=1
45737 fi
45738
45739 if test "$wxUSE_CHECKLST" = "yes"; then
45740 cat >>confdefs.h <<\_ACEOF
45741 #define wxUSE_CHECKLISTBOX 1
45742 _ACEOF
45743
45744 USES_CONTROLS=1
45745 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45746 fi
45747
45748 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45749 cat >>confdefs.h <<\_ACEOF
45750 #define wxUSE_COLOURPICKERCTRL 1
45751 _ACEOF
45752
45753 USES_CONTROLS=1
45754 fi
45755
45756 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45757 cat >>confdefs.h <<\_ACEOF
45758 #define wxUSE_DATEPICKCTRL 1
45759 _ACEOF
45760
45761 USES_CONTROLS=1
45762 fi
45763
45764 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45765 cat >>confdefs.h <<\_ACEOF
45766 #define wxUSE_DIRPICKERCTRL 1
45767 _ACEOF
45768
45769 USES_CONTROLS=1
45770 fi
45771
45772 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45773 cat >>confdefs.h <<\_ACEOF
45774 #define wxUSE_FILEPICKERCTRL 1
45775 _ACEOF
45776
45777 USES_CONTROLS=1
45778 fi
45779
45780 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45781 cat >>confdefs.h <<\_ACEOF
45782 #define wxUSE_FONTPICKERCTRL 1
45783 _ACEOF
45784
45785 USES_CONTROLS=1
45786 fi
45787
45788 if test "$wxUSE_DISPLAY" = "yes"; then
45789 cat >>confdefs.h <<\_ACEOF
45790 #define wxUSE_DISPLAY 1
45791 _ACEOF
45792
45793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45794 fi
45795
45796 if test "$wxUSE_DETECT_SM" = "yes"; then
45797 cat >>confdefs.h <<\_ACEOF
45798 #define wxUSE_DETECT_SM 1
45799 _ACEOF
45800
45801 fi
45802
45803 if test "$wxUSE_GAUGE" = "yes"; then
45804 cat >>confdefs.h <<\_ACEOF
45805 #define wxUSE_GAUGE 1
45806 _ACEOF
45807
45808 USES_CONTROLS=1
45809 fi
45810
45811 if test "$wxUSE_GRID" = "yes"; then
45812 cat >>confdefs.h <<\_ACEOF
45813 #define wxUSE_GRID 1
45814 _ACEOF
45815
45816 USES_CONTROLS=1
45817 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45818 fi
45819
45820 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45821 cat >>confdefs.h <<\_ACEOF
45822 #define wxUSE_HYPERLINKCTRL 1
45823 _ACEOF
45824
45825 USES_CONTROLS=1
45826 fi
45827
45828 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45829 cat >>confdefs.h <<\_ACEOF
45830 #define wxUSE_BITMAPCOMBOBOX 1
45831 _ACEOF
45832
45833 USES_CONTROLS=1
45834 fi
45835
45836 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45837 cat >>confdefs.h <<\_ACEOF
45838 #define wxUSE_DATAVIEWCTRL 1
45839 _ACEOF
45840
45841 USES_CONTROLS=1
45842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45843 fi
45844
45845 if test "$wxUSE_IMAGLIST" = "yes"; then
45846 cat >>confdefs.h <<\_ACEOF
45847 #define wxUSE_IMAGLIST 1
45848 _ACEOF
45849
45850 fi
45851
45852 if test "$wxUSE_LISTBOOK" = "yes"; then
45853 cat >>confdefs.h <<\_ACEOF
45854 #define wxUSE_LISTBOOK 1
45855 _ACEOF
45856
45857 USES_CONTROLS=1
45858 fi
45859
45860 if test "$wxUSE_LISTBOX" = "yes"; then
45861 cat >>confdefs.h <<\_ACEOF
45862 #define wxUSE_LISTBOX 1
45863 _ACEOF
45864
45865 USES_CONTROLS=1
45866 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45867 fi
45868
45869 if test "$wxUSE_LISTCTRL" = "yes"; then
45870 if test "$wxUSE_IMAGLIST" = "yes"; then
45871 cat >>confdefs.h <<\_ACEOF
45872 #define wxUSE_LISTCTRL 1
45873 _ACEOF
45874
45875 USES_CONTROLS=1
45876 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45877 else
45878 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45879 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45880 fi
45881 fi
45882
45883 if test "$wxUSE_NOTEBOOK" = "yes"; then
45884 cat >>confdefs.h <<\_ACEOF
45885 #define wxUSE_NOTEBOOK 1
45886 _ACEOF
45887
45888 USES_CONTROLS=1
45889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45890 fi
45891
45892 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45893 cat >>confdefs.h <<\_ACEOF
45894 #define wxUSE_ODCOMBOBOX 1
45895 _ACEOF
45896
45897 USES_CONTROLS=1
45898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45899 fi
45900
45901
45902 if test "$wxUSE_RADIOBOX" = "yes"; then
45903 cat >>confdefs.h <<\_ACEOF
45904 #define wxUSE_RADIOBOX 1
45905 _ACEOF
45906
45907 USES_CONTROLS=1
45908 fi
45909
45910 if test "$wxUSE_RADIOBTN" = "yes"; then
45911 cat >>confdefs.h <<\_ACEOF
45912 #define wxUSE_RADIOBTN 1
45913 _ACEOF
45914
45915 USES_CONTROLS=1
45916 fi
45917
45918 if test "$wxUSE_SASH" = "yes"; then
45919 cat >>confdefs.h <<\_ACEOF
45920 #define wxUSE_SASH 1
45921 _ACEOF
45922
45923 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45924 fi
45925
45926 if test "$wxUSE_SCROLLBAR" = "yes"; then
45927 cat >>confdefs.h <<\_ACEOF
45928 #define wxUSE_SCROLLBAR 1
45929 _ACEOF
45930
45931 USES_CONTROLS=1
45932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45933 fi
45934
45935 if test "$wxUSE_SLIDER" = "yes"; then
45936 cat >>confdefs.h <<\_ACEOF
45937 #define wxUSE_SLIDER 1
45938 _ACEOF
45939
45940 USES_CONTROLS=1
45941 fi
45942
45943 if test "$wxUSE_SPINBTN" = "yes"; then
45944 cat >>confdefs.h <<\_ACEOF
45945 #define wxUSE_SPINBTN 1
45946 _ACEOF
45947
45948 USES_CONTROLS=1
45949 fi
45950
45951 if test "$wxUSE_SPINCTRL" = "yes"; then
45952 cat >>confdefs.h <<\_ACEOF
45953 #define wxUSE_SPINCTRL 1
45954 _ACEOF
45955
45956 USES_CONTROLS=1
45957 fi
45958
45959 if test "$wxUSE_SPLITTER" = "yes"; then
45960 cat >>confdefs.h <<\_ACEOF
45961 #define wxUSE_SPLITTER 1
45962 _ACEOF
45963
45964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45965 fi
45966
45967 if test "$wxUSE_STATBMP" = "yes"; then
45968 cat >>confdefs.h <<\_ACEOF
45969 #define wxUSE_STATBMP 1
45970 _ACEOF
45971
45972 USES_CONTROLS=1
45973 fi
45974
45975 if test "$wxUSE_STATBOX" = "yes"; then
45976 cat >>confdefs.h <<\_ACEOF
45977 #define wxUSE_STATBOX 1
45978 _ACEOF
45979
45980 USES_CONTROLS=1
45981 fi
45982
45983 if test "$wxUSE_STATTEXT" = "yes"; then
45984 cat >>confdefs.h <<\_ACEOF
45985 #define wxUSE_STATTEXT 1
45986 _ACEOF
45987
45988 USES_CONTROLS=1
45989 fi
45990
45991 if test "$wxUSE_STATLINE" = "yes"; then
45992 cat >>confdefs.h <<\_ACEOF
45993 #define wxUSE_STATLINE 1
45994 _ACEOF
45995
45996 USES_CONTROLS=1
45997 fi
45998
45999 if test "$wxUSE_STATUSBAR" = "yes"; then
46000 cat >>confdefs.h <<\_ACEOF
46001 #define wxUSE_NATIVE_STATUSBAR 1
46002 _ACEOF
46003
46004 cat >>confdefs.h <<\_ACEOF
46005 #define wxUSE_STATUSBAR 1
46006 _ACEOF
46007
46008 USES_CONTROLS=1
46009
46010 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46011 fi
46012
46013 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46014 cat >>confdefs.h <<\_ACEOF
46015 #define wxUSE_TAB_DIALOG 1
46016 _ACEOF
46017
46018 fi
46019
46020 if test "$wxUSE_TEXTCTRL" = "yes"; then
46021 cat >>confdefs.h <<\_ACEOF
46022 #define wxUSE_TEXTCTRL 1
46023 _ACEOF
46024
46025 USES_CONTROLS=1
46026 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46027 fi
46028
46029 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46030 if test "$wxUSE_COCOA" = 1 ; then
46031 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46032 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46033 wxUSE_TOGGLEBTN=no
46034 fi
46035
46036 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46037 cat >>confdefs.h <<\_ACEOF
46038 #define wxUSE_TOGGLEBTN 1
46039 _ACEOF
46040
46041 USES_CONTROLS=1
46042 fi
46043 fi
46044
46045 if test "$wxUSE_TOOLBAR" = "yes"; then
46046 cat >>confdefs.h <<\_ACEOF
46047 #define wxUSE_TOOLBAR 1
46048 _ACEOF
46049
46050 USES_CONTROLS=1
46051
46052 if test "$wxUSE_UNIVERSAL" = "yes"; then
46053 wxUSE_TOOLBAR_NATIVE="no"
46054 else
46055 wxUSE_TOOLBAR_NATIVE="yes"
46056 cat >>confdefs.h <<\_ACEOF
46057 #define wxUSE_TOOLBAR_NATIVE 1
46058 _ACEOF
46059
46060 fi
46061
46062 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46063 fi
46064
46065 if test "$wxUSE_TOOLTIPS" = "yes"; then
46066 if test "$wxUSE_MOTIF" = 1; then
46067 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46068 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46069 else
46070 if test "$wxUSE_UNIVERSAL" = "yes"; then
46071 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46072 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46073 else
46074 cat >>confdefs.h <<\_ACEOF
46075 #define wxUSE_TOOLTIPS 1
46076 _ACEOF
46077
46078 fi
46079 fi
46080 fi
46081
46082 if test "$wxUSE_TREEBOOK" = "yes"; then
46083 cat >>confdefs.h <<\_ACEOF
46084 #define wxUSE_TREEBOOK 1
46085 _ACEOF
46086
46087 USES_CONTROLS=1
46088 fi
46089
46090 if test "$wxUSE_TOOLBOOK" = "yes"; then
46091 cat >>confdefs.h <<\_ACEOF
46092 #define wxUSE_TOOLBOOK 1
46093 _ACEOF
46094
46095 USES_CONTROLS=1
46096 fi
46097
46098 if test "$wxUSE_TREECTRL" = "yes"; then
46099 if test "$wxUSE_IMAGLIST" = "yes"; then
46100 cat >>confdefs.h <<\_ACEOF
46101 #define wxUSE_TREECTRL 1
46102 _ACEOF
46103
46104 USES_CONTROLS=1
46105 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46106 else
46107 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46108 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46109 fi
46110 fi
46111
46112 if test "$wxUSE_POPUPWIN" = "yes"; then
46113 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46114 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46115 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46116 else
46117 if test "$wxUSE_PM" = 1; then
46118 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46119 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46120 else
46121 cat >>confdefs.h <<\_ACEOF
46122 #define wxUSE_POPUPWIN 1
46123 _ACEOF
46124
46125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46126
46127 USES_CONTROLS=1
46128 fi
46129 fi
46130 fi
46131
46132 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46133 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46134 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
46135 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
46136 else
46137 cat >>confdefs.h <<\_ACEOF
46138 #define wxUSE_DIALUP_MANAGER 1
46139 _ACEOF
46140
46141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46142 fi
46143 fi
46144
46145 if test "$wxUSE_TIPWINDOW" = "yes"; then
46146 if test "$wxUSE_PM" = 1; then
46147 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46148 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46149 else
46150 cat >>confdefs.h <<\_ACEOF
46151 #define wxUSE_TIPWINDOW 1
46152 _ACEOF
46153
46154 fi
46155 fi
46156
46157 if test "$USES_CONTROLS" = 1; then
46158 cat >>confdefs.h <<\_ACEOF
46159 #define wxUSE_CONTROLS 1
46160 _ACEOF
46161
46162 fi
46163
46164
46165 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46166 cat >>confdefs.h <<\_ACEOF
46167 #define wxUSE_ACCESSIBILITY 1
46168 _ACEOF
46169
46170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46171 fi
46172
46173 if test "$wxUSE_DC_CACHEING" = "yes"; then
46174 cat >>confdefs.h <<\_ACEOF
46175 #define wxUSE_DC_CACHEING 1
46176 _ACEOF
46177
46178 fi
46179
46180 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46181 cat >>confdefs.h <<\_ACEOF
46182 #define wxUSE_DRAGIMAGE 1
46183 _ACEOF
46184
46185 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46186 fi
46187
46188 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46189 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46190 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46191 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46192 else
46193 cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_EXCEPTIONS 1
46195 _ACEOF
46196
46197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46198 fi
46199 fi
46200
46201 USE_HTML=0
46202 if test "$wxUSE_HTML" = "yes"; then
46203 cat >>confdefs.h <<\_ACEOF
46204 #define wxUSE_HTML 1
46205 _ACEOF
46206
46207 USE_HTML=1
46208 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46209 if test "$wxUSE_MAC" = 1; then
46210 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46211 fi
46212 fi
46213 if test "$wxUSE_WEBKIT" = "yes"; then
46214 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46215 old_CPPFLAGS="$CPPFLAGS"
46216 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46217 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46218 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46219 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46220 echo $ECHO_N "(cached) $ECHO_C" >&6
46221 else
46222 cat >conftest.$ac_ext <<_ACEOF
46223 /* confdefs.h. */
46224 _ACEOF
46225 cat confdefs.h >>conftest.$ac_ext
46226 cat >>conftest.$ac_ext <<_ACEOF
46227 /* end confdefs.h. */
46228 #include <Carbon/Carbon.h>
46229
46230 #include <WebKit/HIWebView.h>
46231 _ACEOF
46232 rm -f conftest.$ac_objext
46233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46234 (eval $ac_compile) 2>conftest.er1
46235 ac_status=$?
46236 grep -v '^ *+' conftest.er1 >conftest.err
46237 rm -f conftest.er1
46238 cat conftest.err >&5
46239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46240 (exit $ac_status); } &&
46241 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46243 (eval $ac_try) 2>&5
46244 ac_status=$?
46245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46246 (exit $ac_status); }; } &&
46247 { ac_try='test -s conftest.$ac_objext'
46248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46249 (eval $ac_try) 2>&5
46250 ac_status=$?
46251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46252 (exit $ac_status); }; }; then
46253 ac_cv_header_WebKit_HIWebView_h=yes
46254 else
46255 echo "$as_me: failed program was:" >&5
46256 sed 's/^/| /' conftest.$ac_ext >&5
46257
46258 ac_cv_header_WebKit_HIWebView_h=no
46259 fi
46260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46261 fi
46262 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46263 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46264 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46265
46266 cat >>confdefs.h <<\_ACEOF
46267 #define wxUSE_WEBKIT 1
46268 _ACEOF
46269
46270 WEBKIT_LINK="-framework WebKit"
46271
46272 else
46273
46274 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46275 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46276 wxUSE_WEBKIT=no
46277
46278 fi
46279
46280
46281 CPPFLAGS="$old_CPPFLAGS"
46282 elif test "$wxUSE_COCOA" = 1; then
46283 cat >>confdefs.h <<\_ACEOF
46284 #define wxUSE_WEBKIT 1
46285 _ACEOF
46286
46287 else
46288 wxUSE_WEBKIT=no
46289 fi
46290 fi
46291
46292 USE_XRC=0
46293 if test "$wxUSE_XRC" = "yes"; then
46294 if test "$wxUSE_XML" != "yes"; then
46295 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46296 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46297 wxUSE_XRC=no
46298 else
46299 cat >>confdefs.h <<\_ACEOF
46300 #define wxUSE_XRC 1
46301 _ACEOF
46302
46303 USE_XRC=1
46304 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46305 fi
46306 fi
46307
46308 USE_AUI=0
46309 if test "$wxUSE_AUI" = "yes"; then
46310 cat >>confdefs.h <<\_ACEOF
46311 #define wxUSE_AUI 1
46312 _ACEOF
46313
46314 USE_AUI=1
46315 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46316 fi
46317
46318 if test "$wxUSE_MENUS" = "yes"; then
46319 cat >>confdefs.h <<\_ACEOF
46320 #define wxUSE_MENUS 1
46321 _ACEOF
46322
46323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46324 fi
46325
46326 if test "$wxUSE_METAFILE" = "yes"; then
46327 cat >>confdefs.h <<\_ACEOF
46328 #define wxUSE_METAFILE 1
46329 _ACEOF
46330
46331 fi
46332
46333 if test "$wxUSE_MIMETYPE" = "yes"; then
46334 cat >>confdefs.h <<\_ACEOF
46335 #define wxUSE_MIMETYPE 1
46336 _ACEOF
46337
46338 fi
46339
46340 if test "$wxUSE_MINIFRAME" = "yes"; then
46341 cat >>confdefs.h <<\_ACEOF
46342 #define wxUSE_MINIFRAME 1
46343 _ACEOF
46344
46345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46346 fi
46347
46348 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46349 cat >>confdefs.h <<\_ACEOF
46350 #define wxUSE_SYSTEM_OPTIONS 1
46351 _ACEOF
46352
46353 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46354 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46355 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46356 fi
46357 fi
46358
46359
46360 if test "$wxUSE_VALIDATORS" = "yes"; then
46361 cat >>confdefs.h <<\_ACEOF
46362 #define wxUSE_VALIDATORS 1
46363 _ACEOF
46364
46365 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46366 fi
46367
46368 if test "$wxUSE_PALETTE" = "yes" ; then
46369 cat >>confdefs.h <<\_ACEOF
46370 #define wxUSE_PALETTE 1
46371 _ACEOF
46372
46373 fi
46374
46375 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46376 LIBS=" -lunicows $LIBS"
46377 fi
46378
46379 USE_RICHTEXT=0
46380 if test "$wxUSE_RICHTEXT" = "yes"; then
46381 cat >>confdefs.h <<\_ACEOF
46382 #define wxUSE_RICHTEXT 1
46383 _ACEOF
46384
46385 USE_RICHTEXT=1
46386 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46387 fi
46388
46389
46390 if test "$wxUSE_IMAGE" = "yes" ; then
46391 cat >>confdefs.h <<\_ACEOF
46392 #define wxUSE_IMAGE 1
46393 _ACEOF
46394
46395
46396 if test "$wxUSE_GIF" = "yes" ; then
46397 cat >>confdefs.h <<\_ACEOF
46398 #define wxUSE_GIF 1
46399 _ACEOF
46400
46401 fi
46402
46403 if test "$wxUSE_PCX" = "yes" ; then
46404 cat >>confdefs.h <<\_ACEOF
46405 #define wxUSE_PCX 1
46406 _ACEOF
46407
46408 fi
46409
46410 if test "$wxUSE_IFF" = "yes" ; then
46411 cat >>confdefs.h <<\_ACEOF
46412 #define wxUSE_IFF 1
46413 _ACEOF
46414
46415 fi
46416
46417 if test "$wxUSE_PNM" = "yes" ; then
46418 cat >>confdefs.h <<\_ACEOF
46419 #define wxUSE_PNM 1
46420 _ACEOF
46421
46422 fi
46423
46424 if test "$wxUSE_XPM" = "yes" ; then
46425 cat >>confdefs.h <<\_ACEOF
46426 #define wxUSE_XPM 1
46427 _ACEOF
46428
46429 fi
46430
46431 if test "$wxUSE_ICO_CUR" = "yes" ; then
46432 cat >>confdefs.h <<\_ACEOF
46433 #define wxUSE_ICO_CUR 1
46434 _ACEOF
46435
46436 fi
46437 fi
46438
46439
46440 if test "$wxUSE_ABOUTDLG" = "yes"; then
46441 cat >>confdefs.h <<\_ACEOF
46442 #define wxUSE_ABOUTDLG 1
46443 _ACEOF
46444
46445 fi
46446
46447 if test "$wxUSE_CHOICEDLG" = "yes"; then
46448 cat >>confdefs.h <<\_ACEOF
46449 #define wxUSE_CHOICEDLG 1
46450 _ACEOF
46451
46452 fi
46453
46454 if test "$wxUSE_COLOURDLG" = "yes"; then
46455 cat >>confdefs.h <<\_ACEOF
46456 #define wxUSE_COLOURDLG 1
46457 _ACEOF
46458
46459 fi
46460
46461 if test "$wxUSE_FILEDLG" = "yes"; then
46462 cat >>confdefs.h <<\_ACEOF
46463 #define wxUSE_FILEDLG 1
46464 _ACEOF
46465
46466 fi
46467
46468 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46469 cat >>confdefs.h <<\_ACEOF
46470 #define wxUSE_FINDREPLDLG 1
46471 _ACEOF
46472
46473 fi
46474
46475 if test "$wxUSE_FONTDLG" = "yes"; then
46476 cat >>confdefs.h <<\_ACEOF
46477 #define wxUSE_FONTDLG 1
46478 _ACEOF
46479
46480 fi
46481
46482 if test "$wxUSE_DIRDLG" = "yes"; then
46483 if test "$wxUSE_TREECTRL" != "yes"; then
46484 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46485 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46486 else
46487 cat >>confdefs.h <<\_ACEOF
46488 #define wxUSE_DIRDLG 1
46489 _ACEOF
46490
46491 fi
46492 fi
46493
46494 if test "$wxUSE_MSGDLG" = "yes"; then
46495 cat >>confdefs.h <<\_ACEOF
46496 #define wxUSE_MSGDLG 1
46497 _ACEOF
46498
46499 fi
46500
46501 if test "$wxUSE_NUMBERDLG" = "yes"; then
46502 cat >>confdefs.h <<\_ACEOF
46503 #define wxUSE_NUMBERDLG 1
46504 _ACEOF
46505
46506 fi
46507
46508 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46509 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46510 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46511 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46512 else
46513 cat >>confdefs.h <<\_ACEOF
46514 #define wxUSE_PROGRESSDLG 1
46515 _ACEOF
46516
46517 fi
46518 fi
46519
46520 if test "$wxUSE_SPLASH" = "yes"; then
46521 cat >>confdefs.h <<\_ACEOF
46522 #define wxUSE_SPLASH 1
46523 _ACEOF
46524
46525 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46526 fi
46527
46528 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46529 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46530 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46531 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46532 else
46533 cat >>confdefs.h <<\_ACEOF
46534 #define wxUSE_STARTUP_TIPS 1
46535 _ACEOF
46536
46537 fi
46538 fi
46539
46540 if test "$wxUSE_TEXTDLG" = "yes"; then
46541 cat >>confdefs.h <<\_ACEOF
46542 #define wxUSE_TEXTDLG 1
46543 _ACEOF
46544
46545 fi
46546
46547 if test "$wxUSE_WIZARDDLG" = "yes"; then
46548 cat >>confdefs.h <<\_ACEOF
46549 #define wxUSE_WIZARDDLG 1
46550 _ACEOF
46551
46552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46553 fi
46554
46555
46556 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46557 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46558 cat >>confdefs.h <<\_ACEOF
46559 #define wxUSE_GRAPHICS_CONTEXT 1
46560 _ACEOF
46561
46562 elif test "$wxUSE_GTK" != 1; then
46563 cat >>confdefs.h <<\_ACEOF
46564 #define wxUSE_GRAPHICS_CONTEXT 1
46565 _ACEOF
46566
46567 else
46568
46569 pkg_failed=no
46570 echo "$as_me:$LINENO: checking for CAIRO" >&5
46571 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46572
46573 if test -n "$PKG_CONFIG"; then
46574 if test -n "$CAIRO_CFLAGS"; then
46575 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46576 else
46577 if test -n "$PKG_CONFIG" && \
46578 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46579 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46580 ac_status=$?
46581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46582 (exit $ac_status); }; then
46583 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46584 else
46585 pkg_failed=yes
46586 fi
46587 fi
46588 else
46589 pkg_failed=untried
46590 fi
46591 if test -n "$PKG_CONFIG"; then
46592 if test -n "$CAIRO_LIBS"; then
46593 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46594 else
46595 if test -n "$PKG_CONFIG" && \
46596 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46597 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46598 ac_status=$?
46599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46600 (exit $ac_status); }; then
46601 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46602 else
46603 pkg_failed=yes
46604 fi
46605 fi
46606 else
46607 pkg_failed=untried
46608 fi
46609
46610
46611
46612 if test $pkg_failed = yes; then
46613
46614 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46615 _pkg_short_errors_supported=yes
46616 else
46617 _pkg_short_errors_supported=no
46618 fi
46619 if test $_pkg_short_errors_supported = yes; then
46620 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46621 else
46622 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46623 fi
46624 # Put the nasty error message in config.log where it belongs
46625 echo "$CAIRO_PKG_ERRORS" >&5
46626
46627
46628 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46629 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46630
46631
46632 elif test $pkg_failed = untried; then
46633
46634 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46635 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46636
46637
46638 else
46639 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46640 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46641 echo "$as_me:$LINENO: result: yes" >&5
46642 echo "${ECHO_T}yes" >&6
46643
46644 cat >>confdefs.h <<\_ACEOF
46645 #define wxUSE_GRAPHICS_CONTEXT 1
46646 _ACEOF
46647
46648
46649 fi
46650 fi
46651 fi
46652
46653
46654 USE_MEDIA=0
46655
46656 if test "$wxUSE_MEDIACTRL" = "yes"; then
46657 USE_MEDIA=1
46658
46659 if test "$wxUSE_GTK" = 1; then
46660 wxUSE_GSTREAMER="no"
46661
46662 GST_VERSION_MAJOR=0
46663 GST_VERSION_MINOR=10
46664 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46665
46666 if test "$wxUSE_GSTREAMER8" = "no"; then
46667
46668 pkg_failed=no
46669 echo "$as_me:$LINENO: checking for GST" >&5
46670 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46671
46672 if test -n "$PKG_CONFIG"; then
46673 if test -n "$GST_CFLAGS"; then
46674 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46675 else
46676 if test -n "$PKG_CONFIG" && \
46677 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46678 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46679 ac_status=$?
46680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46681 (exit $ac_status); }; then
46682 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46683 else
46684 pkg_failed=yes
46685 fi
46686 fi
46687 else
46688 pkg_failed=untried
46689 fi
46690 if test -n "$PKG_CONFIG"; then
46691 if test -n "$GST_LIBS"; then
46692 pkg_cv_GST_LIBS="$GST_LIBS"
46693 else
46694 if test -n "$PKG_CONFIG" && \
46695 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46696 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46697 ac_status=$?
46698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46699 (exit $ac_status); }; then
46700 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46701 else
46702 pkg_failed=yes
46703 fi
46704 fi
46705 else
46706 pkg_failed=untried
46707 fi
46708
46709
46710
46711 if test $pkg_failed = yes; then
46712
46713 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46714 _pkg_short_errors_supported=yes
46715 else
46716 _pkg_short_errors_supported=no
46717 fi
46718 if test $_pkg_short_errors_supported = yes; then
46719 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46720 else
46721 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46722 fi
46723 # Put the nasty error message in config.log where it belongs
46724 echo "$GST_PKG_ERRORS" >&5
46725
46726
46727 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46728 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46729 GST_VERSION_MINOR=8
46730
46731
46732 elif test $pkg_failed = untried; then
46733
46734 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46735 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46736 GST_VERSION_MINOR=8
46737
46738
46739 else
46740 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46741 GST_LIBS=$pkg_cv_GST_LIBS
46742 echo "$as_me:$LINENO: result: yes" >&5
46743 echo "${ECHO_T}yes" >&6
46744
46745 wxUSE_GSTREAMER="yes"
46746 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46747
46748 fi
46749 else
46750 GST_VERSION_MINOR=8
46751 fi
46752
46753 if test $GST_VERSION_MINOR = "8"; then
46754 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46755
46756 pkg_failed=no
46757 echo "$as_me:$LINENO: checking for GST" >&5
46758 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46759
46760 if test -n "$PKG_CONFIG"; then
46761 if test -n "$GST_CFLAGS"; then
46762 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46763 else
46764 if test -n "$PKG_CONFIG" && \
46765 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46766 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46767 ac_status=$?
46768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46769 (exit $ac_status); }; then
46770 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46771 else
46772 pkg_failed=yes
46773 fi
46774 fi
46775 else
46776 pkg_failed=untried
46777 fi
46778 if test -n "$PKG_CONFIG"; then
46779 if test -n "$GST_LIBS"; then
46780 pkg_cv_GST_LIBS="$GST_LIBS"
46781 else
46782 if test -n "$PKG_CONFIG" && \
46783 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46784 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46785 ac_status=$?
46786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46787 (exit $ac_status); }; then
46788 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46789 else
46790 pkg_failed=yes
46791 fi
46792 fi
46793 else
46794 pkg_failed=untried
46795 fi
46796
46797
46798
46799 if test $pkg_failed = yes; then
46800
46801 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46802 _pkg_short_errors_supported=yes
46803 else
46804 _pkg_short_errors_supported=no
46805 fi
46806 if test $_pkg_short_errors_supported = yes; then
46807 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46808 else
46809 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46810 fi
46811 # Put the nasty error message in config.log where it belongs
46812 echo "$GST_PKG_ERRORS" >&5
46813
46814
46815 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46816 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46817
46818 elif test $pkg_failed = untried; then
46819
46820 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46821 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46822
46823 else
46824 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46825 GST_LIBS=$pkg_cv_GST_LIBS
46826 echo "$as_me:$LINENO: result: yes" >&5
46827 echo "${ECHO_T}yes" >&6
46828 wxUSE_GSTREAMER="yes"
46829 fi
46830 fi
46831
46832
46833 if test "$wxUSE_GSTREAMER" = "yes"; then
46834 case "${host}" in
46835 *-*-solaris2* )
46836 if "$GCC" = yes; then
46837 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46838 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46839 fi
46840 esac
46841
46842 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46843 LIBS="$GST_LIBS $LIBS"
46844
46845 cat >>confdefs.h <<\_ACEOF
46846 #define wxUSE_GSTREAMER 1
46847 _ACEOF
46848
46849 else
46850 USE_MEDIA=0
46851 fi
46852 fi
46853
46854 if test $USE_MEDIA = 1; then
46855 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46856 cat >>confdefs.h <<\_ACEOF
46857 #define wxUSE_MEDIACTRL 1
46858 _ACEOF
46859
46860 fi
46861 fi
46862
46863
46864 if test "$cross_compiling" = "yes"; then
46865 OSINFO="\"$host\""
46866 else
46867 OSINFO=`uname -s -r -m`
46868 OSINFO="\"$OSINFO\""
46869 fi
46870
46871 cat >>confdefs.h <<_ACEOF
46872 #define WXWIN_OS_DESCRIPTION $OSINFO
46873 _ACEOF
46874
46875
46876
46877 if test "x$prefix" != "xNONE"; then
46878 wxPREFIX=$prefix
46879 else
46880 wxPREFIX=$ac_default_prefix
46881 fi
46882
46883 cat >>confdefs.h <<_ACEOF
46884 #define wxINSTALL_PREFIX "$wxPREFIX"
46885 _ACEOF
46886
46887
46888
46889
46890 CORE_BASE_LIBS="net base"
46891 CORE_GUI_LIBS="adv core"
46892
46893 if test "$wxUSE_XML" = "yes" ; then
46894 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46895 fi
46896 if test "$wxUSE_ODBC" != "no" ; then
46897 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46898 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46899 fi
46900 if test "$wxUSE_HTML" = "yes" ; then
46901 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46902 fi
46903 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46904 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46905 fi
46906 if test "$wxUSE_XRC" = "yes" ; then
46907 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46908 fi
46909 if test "$wxUSE_AUI" = "yes" ; then
46910 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46911 fi
46912
46913 if test "$wxUSE_GUI" != "yes"; then
46914 CORE_GUI_LIBS=""
46915 fi
46916
46917
46918
46919
46920
46921 ac_ext=c
46922 ac_cpp='$CPP $CPPFLAGS'
46923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46926
46927
46928
46929 if test "$wxUSE_MAC" = 1 ; then
46930 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46931 if test "$USE_DARWIN" = 1; then
46932 LDFLAGS="$LDFLAGS -framework QuickTime"
46933 else
46934 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46935 fi
46936 fi
46937 if test "$USE_DARWIN" = 1; then
46938 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46939 else
46940 LDFLAGS="$LDFLAGS -lCarbonLib"
46941 fi
46942 fi
46943 if test "$wxUSE_COCOA" = 1 ; then
46944 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46945 if test "$wxUSE_MEDIACTRL" = "yes"; then
46946 LDFLAGS="$LDFLAGS -framework QuickTime"
46947 fi
46948 fi
46949 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46950 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46951 fi
46952
46953 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46954
46955 if test "$wxUSE_GUI" = "yes"; then
46956
46957
46958 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46959 dynamic erase event exec font image minimal mobile \
46960 mobile/wxedit mobile/styles propsize render \
46961 rotate shaped vscroll widgets"
46962
46963 if test "$wxUSE_MONOLITHIC" != "yes"; then
46964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46965 fi
46966 if test "$TOOLKIT" = "MSW"; then
46967 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46968 if test "$wxUSE_UNIVERSAL" != "yes"; then
46969 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46970 fi
46971 fi
46972 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46974 fi
46975 else
46976 SAMPLES_SUBDIRS="console"
46977 fi
46978
46979
46980 if test "x$INTELCC" = "xyes" ; then
46981 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46982 elif test "$GCC" = yes ; then
46983 CWARNINGS="-Wall -Wundef"
46984 fi
46985
46986 if test "x$INTELCXX" = "xyes" ; then
46987 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46988 elif test "$GXX" = yes ; then
46989 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
46990 fi
46991
46992
46993 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46994 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46995
46996
46997 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46998 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46999 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47000 $CPPFLAGS `
47001
47002 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47003 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47004 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47005
47006 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47007
47008
47009 if test "x$MWCC" = "xyes"; then
47010
47011 CC="$CC -cwd source -I-"
47012 CXX="$CXX -cwd source -I-"
47013 fi
47014
47015
47016 LIBS=`echo $LIBS`
47017 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47018 EXTRALIBS_XML="$EXPAT_LINK"
47019 EXTRALIBS_HTML="$MSPACK_LINK"
47020 EXTRALIBS_ODBC="$ODBC_LINK"
47021 if test "$wxUSE_GUI" = "yes"; then
47022 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47023 fi
47024 if test "$wxUSE_OPENGL" = "yes"; then
47025 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47026 fi
47027
47028 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47029
47030 WXCONFIG_LIBS="$LIBS"
47031
47032 if test "$wxUSE_REGEX" = "builtin" ; then
47033 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47034 fi
47035 if test "$wxUSE_EXPAT" = "builtin" ; then
47036 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47037 fi
47038 if test "$wxUSE_ODBC" = "builtin" ; then
47039 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47040 fi
47041 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47042 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47043 fi
47044 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47045 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47046 fi
47047 if test "$wxUSE_LIBPNG" = "builtin" ; then
47048 wxconfig_3rdparty="png $wxconfig_3rdparty"
47049 fi
47050 if test "$wxUSE_ZLIB" = "builtin" ; then
47051 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47052 fi
47053
47054 for i in $wxconfig_3rdparty ; do
47055 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47056 done
47057
47058
47059 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47060 WXUNIV=1
47061
47062 case "$wxUNIV_THEMES" in
47063 ''|all)
47064 cat >>confdefs.h <<\_ACEOF
47065 #define wxUSE_ALL_THEMES 1
47066 _ACEOF
47067
47068 ;;
47069
47070 *)
47071 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47072 cat >>confdefs.h <<_ACEOF
47073 #define wxUSE_THEME_$t 1
47074 _ACEOF
47075
47076 done
47077 esac
47078 else
47079 WXUNIV=0
47080 fi
47081
47082
47083
47084
47085
47086
47087
47088
47089
47090 if test $wxUSE_MONOLITHIC = "yes" ; then
47091 MONOLITHIC=1
47092 else
47093 MONOLITHIC=0
47094 fi
47095
47096 if test $wxUSE_PLUGINS = "yes" ; then
47097 USE_PLUGINS=1
47098 else
47099 USE_PLUGINS=0
47100 fi
47101
47102 if test $wxUSE_ODBC != "no" ; then
47103 USE_ODBC=1
47104 else
47105 USE_ODBC=0
47106 fi
47107
47108 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47109 USE_QA=1
47110 else
47111 USE_QA=0
47112 fi
47113
47114 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47115 OFFICIAL_BUILD=1
47116 else
47117 OFFICIAL_BUILD=0
47118 fi
47119
47120
47121
47122
47123
47124
47125
47126
47127
47128
47129
47130
47131
47132
47133
47134
47135
47136
47137
47138
47139
47140
47141
47142
47143
47144 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47145
47146
47147
47148
47149
47150
47151
47152
47153 case "$TOOLKIT" in
47154 GTK)
47155 TOOLKIT_DESC="GTK+"
47156 if test "$WXGTK20" = 1; then
47157 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47158 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47159 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47160 fi
47161 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47162 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47163 fi
47164 if test "$wxUSE_LIBHILDON" = "yes"; then
47165 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47166 fi
47167
47168 if test "$TOOLKIT_EXTRA" != ""; then
47169 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47170 fi
47171 fi
47172 ;;
47173
47174 ?*)
47175 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47176 ;;
47177
47178 *)
47179 TOOLKIT_DESC="base only"
47180 ;;
47181 esac
47182
47183 if test "$wxUSE_WINE" = "yes"; then
47184 BAKEFILE_FORCE_PLATFORM=win32
47185 fi
47186
47187 if test "$wxUSE_MAC" = 1 ; then
47188 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47189 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47190 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47191 else
47192 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47193 fi
47194 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47195 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47196 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47197 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47198 bk_use_pch=no
47199 fi
47200 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47201 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47202 fi
47203
47204 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47205 then
47206 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47207 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47208 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47209 echo $ECHO_N "(cached) $ECHO_C" >&6
47210 else
47211
47212 echo '#include <stdio.h>
47213 const wchar_t test_var[] = L"awidetest";' > conftest.h
47214
47215 echo '#include "conftest.h"
47216 int main()
47217 {
47218 printf("%ls", test_var);
47219 return 0;
47220 }' > conftest.cpp
47221
47222 wx_cv_gcc_pch_bug="pch not supported"
47223
47224 if $CXX conftest.h >/dev/null 2>&1
47225 then
47226 wx_cv_gcc_pch_bug=
47227
47228 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47229 then
47230 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47231 grep awidetest >/dev/null
47232 then
47233 wx_cv_gcc_pch_bug=no
47234 else
47235 wx_cv_gcc_pch_bug=yes
47236 fi
47237 fi
47238 fi
47239
47240 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47241
47242 fi
47243 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47244 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47245
47246 if test "$wx_cv_gcc_pch_bug" = yes; then
47247 bk_use_pch=no
47248 fi
47249 fi
47250
47251
47252
47253
47254 if test "x$BAKEFILE_HOST" = "x"; then
47255 if test "x${host}" = "x" ; then
47256 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47257 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47258 { (exit 1); exit 1; }; }
47259 fi
47260
47261 BAKEFILE_HOST="${host}"
47262 fi
47263
47264 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47265
47266 if test -n "$ac_tool_prefix"; then
47267 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47268 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47269 echo "$as_me:$LINENO: checking for $ac_word" >&5
47270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47271 if test "${ac_cv_prog_RANLIB+set}" = set; then
47272 echo $ECHO_N "(cached) $ECHO_C" >&6
47273 else
47274 if test -n "$RANLIB"; then
47275 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47276 else
47277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47278 for as_dir in $PATH
47279 do
47280 IFS=$as_save_IFS
47281 test -z "$as_dir" && as_dir=.
47282 for ac_exec_ext in '' $ac_executable_extensions; do
47283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47284 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47286 break 2
47287 fi
47288 done
47289 done
47290
47291 fi
47292 fi
47293 RANLIB=$ac_cv_prog_RANLIB
47294 if test -n "$RANLIB"; then
47295 echo "$as_me:$LINENO: result: $RANLIB" >&5
47296 echo "${ECHO_T}$RANLIB" >&6
47297 else
47298 echo "$as_me:$LINENO: result: no" >&5
47299 echo "${ECHO_T}no" >&6
47300 fi
47301
47302 fi
47303 if test -z "$ac_cv_prog_RANLIB"; then
47304 ac_ct_RANLIB=$RANLIB
47305 # Extract the first word of "ranlib", so it can be a program name with args.
47306 set dummy ranlib; ac_word=$2
47307 echo "$as_me:$LINENO: checking for $ac_word" >&5
47308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47309 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47310 echo $ECHO_N "(cached) $ECHO_C" >&6
47311 else
47312 if test -n "$ac_ct_RANLIB"; then
47313 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47314 else
47315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47316 for as_dir in $PATH
47317 do
47318 IFS=$as_save_IFS
47319 test -z "$as_dir" && as_dir=.
47320 for ac_exec_ext in '' $ac_executable_extensions; do
47321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47322 ac_cv_prog_ac_ct_RANLIB="ranlib"
47323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47324 break 2
47325 fi
47326 done
47327 done
47328
47329 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47330 fi
47331 fi
47332 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47333 if test -n "$ac_ct_RANLIB"; then
47334 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47335 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47336 else
47337 echo "$as_me:$LINENO: result: no" >&5
47338 echo "${ECHO_T}no" >&6
47339 fi
47340
47341 RANLIB=$ac_ct_RANLIB
47342 else
47343 RANLIB="$ac_cv_prog_RANLIB"
47344 fi
47345
47346 # Find a good install program. We prefer a C program (faster),
47347 # so one script is as good as another. But avoid the broken or
47348 # incompatible versions:
47349 # SysV /etc/install, /usr/sbin/install
47350 # SunOS /usr/etc/install
47351 # IRIX /sbin/install
47352 # AIX /bin/install
47353 # AmigaOS /C/install, which installs bootblocks on floppy discs
47354 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47355 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47356 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47357 # OS/2's system install, which has a completely different semantic
47358 # ./install, which can be erroneously created by make from ./install.sh.
47359 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47360 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47361 if test -z "$INSTALL"; then
47362 if test "${ac_cv_path_install+set}" = set; then
47363 echo $ECHO_N "(cached) $ECHO_C" >&6
47364 else
47365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47366 for as_dir in $PATH
47367 do
47368 IFS=$as_save_IFS
47369 test -z "$as_dir" && as_dir=.
47370 # Account for people who put trailing slashes in PATH elements.
47371 case $as_dir/ in
47372 ./ | .// | /cC/* | \
47373 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47374 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47375 /usr/ucb/* ) ;;
47376 *)
47377 # OSF1 and SCO ODT 3.0 have their own names for install.
47378 # Don't use installbsd from OSF since it installs stuff as root
47379 # by default.
47380 for ac_prog in ginstall scoinst install; do
47381 for ac_exec_ext in '' $ac_executable_extensions; do
47382 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47383 if test $ac_prog = install &&
47384 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47385 # AIX install. It has an incompatible calling convention.
47386 :
47387 elif test $ac_prog = install &&
47388 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47389 # program-specific install script used by HP pwplus--don't use.
47390 :
47391 else
47392 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47393 break 3
47394 fi
47395 fi
47396 done
47397 done
47398 ;;
47399 esac
47400 done
47401
47402
47403 fi
47404 if test "${ac_cv_path_install+set}" = set; then
47405 INSTALL=$ac_cv_path_install
47406 else
47407 # As a last resort, use the slow shell script. We don't cache a
47408 # path for INSTALL within a source directory, because that will
47409 # break other packages using the cache if that directory is
47410 # removed, or if the path is relative.
47411 INSTALL=$ac_install_sh
47412 fi
47413 fi
47414 echo "$as_me:$LINENO: result: $INSTALL" >&5
47415 echo "${ECHO_T}$INSTALL" >&6
47416
47417 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47418 # It thinks the first close brace ends the variable substitution.
47419 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47420
47421 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47422
47423 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47424
47425 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47426 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47427 LN_S=$as_ln_s
47428 if test "$LN_S" = "ln -s"; then
47429 echo "$as_me:$LINENO: result: yes" >&5
47430 echo "${ECHO_T}yes" >&6
47431 else
47432 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47433 echo "${ECHO_T}no, using $LN_S" >&6
47434 fi
47435
47436
47437 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47438 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47439 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47440 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47441 echo $ECHO_N "(cached) $ECHO_C" >&6
47442 else
47443 cat >conftest.make <<\_ACEOF
47444 all:
47445 @echo 'ac_maketemp="$(MAKE)"'
47446 _ACEOF
47447 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47448 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47449 if test -n "$ac_maketemp"; then
47450 eval ac_cv_prog_make_${ac_make}_set=yes
47451 else
47452 eval ac_cv_prog_make_${ac_make}_set=no
47453 fi
47454 rm -f conftest.make
47455 fi
47456 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47457 echo "$as_me:$LINENO: result: yes" >&5
47458 echo "${ECHO_T}yes" >&6
47459 SET_MAKE=
47460 else
47461 echo "$as_me:$LINENO: result: no" >&5
47462 echo "${ECHO_T}no" >&6
47463 SET_MAKE="MAKE=${MAKE-make}"
47464 fi
47465
47466
47467
47468 if test -n "$ac_tool_prefix"; then
47469 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47470 set dummy ${ac_tool_prefix}ar; ac_word=$2
47471 echo "$as_me:$LINENO: checking for $ac_word" >&5
47472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47473 if test "${ac_cv_prog_AR+set}" = set; then
47474 echo $ECHO_N "(cached) $ECHO_C" >&6
47475 else
47476 if test -n "$AR"; then
47477 ac_cv_prog_AR="$AR" # Let the user override the test.
47478 else
47479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47480 for as_dir in $PATH
47481 do
47482 IFS=$as_save_IFS
47483 test -z "$as_dir" && as_dir=.
47484 for ac_exec_ext in '' $ac_executable_extensions; do
47485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47486 ac_cv_prog_AR="${ac_tool_prefix}ar"
47487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47488 break 2
47489 fi
47490 done
47491 done
47492
47493 fi
47494 fi
47495 AR=$ac_cv_prog_AR
47496 if test -n "$AR"; then
47497 echo "$as_me:$LINENO: result: $AR" >&5
47498 echo "${ECHO_T}$AR" >&6
47499 else
47500 echo "$as_me:$LINENO: result: no" >&5
47501 echo "${ECHO_T}no" >&6
47502 fi
47503
47504 fi
47505 if test -z "$ac_cv_prog_AR"; then
47506 ac_ct_AR=$AR
47507 # Extract the first word of "ar", so it can be a program name with args.
47508 set dummy ar; ac_word=$2
47509 echo "$as_me:$LINENO: checking for $ac_word" >&5
47510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47511 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47512 echo $ECHO_N "(cached) $ECHO_C" >&6
47513 else
47514 if test -n "$ac_ct_AR"; then
47515 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47516 else
47517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47518 for as_dir in $PATH
47519 do
47520 IFS=$as_save_IFS
47521 test -z "$as_dir" && as_dir=.
47522 for ac_exec_ext in '' $ac_executable_extensions; do
47523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47524 ac_cv_prog_ac_ct_AR="ar"
47525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47526 break 2
47527 fi
47528 done
47529 done
47530
47531 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47532 fi
47533 fi
47534 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47535 if test -n "$ac_ct_AR"; then
47536 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47537 echo "${ECHO_T}$ac_ct_AR" >&6
47538 else
47539 echo "$as_me:$LINENO: result: no" >&5
47540 echo "${ECHO_T}no" >&6
47541 fi
47542
47543 AR=$ac_ct_AR
47544 else
47545 AR="$ac_cv_prog_AR"
47546 fi
47547
47548 if test -n "$ac_tool_prefix"; then
47549 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47550 set dummy ${ac_tool_prefix}strip; ac_word=$2
47551 echo "$as_me:$LINENO: checking for $ac_word" >&5
47552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47553 if test "${ac_cv_prog_STRIP+set}" = set; then
47554 echo $ECHO_N "(cached) $ECHO_C" >&6
47555 else
47556 if test -n "$STRIP"; then
47557 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47558 else
47559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47560 for as_dir in $PATH
47561 do
47562 IFS=$as_save_IFS
47563 test -z "$as_dir" && as_dir=.
47564 for ac_exec_ext in '' $ac_executable_extensions; do
47565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47566 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47568 break 2
47569 fi
47570 done
47571 done
47572
47573 fi
47574 fi
47575 STRIP=$ac_cv_prog_STRIP
47576 if test -n "$STRIP"; then
47577 echo "$as_me:$LINENO: result: $STRIP" >&5
47578 echo "${ECHO_T}$STRIP" >&6
47579 else
47580 echo "$as_me:$LINENO: result: no" >&5
47581 echo "${ECHO_T}no" >&6
47582 fi
47583
47584 fi
47585 if test -z "$ac_cv_prog_STRIP"; then
47586 ac_ct_STRIP=$STRIP
47587 # Extract the first word of "strip", so it can be a program name with args.
47588 set dummy strip; ac_word=$2
47589 echo "$as_me:$LINENO: checking for $ac_word" >&5
47590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47591 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47592 echo $ECHO_N "(cached) $ECHO_C" >&6
47593 else
47594 if test -n "$ac_ct_STRIP"; then
47595 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47596 else
47597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47598 for as_dir in $PATH
47599 do
47600 IFS=$as_save_IFS
47601 test -z "$as_dir" && as_dir=.
47602 for ac_exec_ext in '' $ac_executable_extensions; do
47603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47604 ac_cv_prog_ac_ct_STRIP="strip"
47605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47606 break 2
47607 fi
47608 done
47609 done
47610
47611 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47612 fi
47613 fi
47614 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47615 if test -n "$ac_ct_STRIP"; then
47616 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47617 echo "${ECHO_T}$ac_ct_STRIP" >&6
47618 else
47619 echo "$as_me:$LINENO: result: no" >&5
47620 echo "${ECHO_T}no" >&6
47621 fi
47622
47623 STRIP=$ac_ct_STRIP
47624 else
47625 STRIP="$ac_cv_prog_STRIP"
47626 fi
47627
47628 if test -n "$ac_tool_prefix"; then
47629 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47630 set dummy ${ac_tool_prefix}nm; ac_word=$2
47631 echo "$as_me:$LINENO: checking for $ac_word" >&5
47632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47633 if test "${ac_cv_prog_NM+set}" = set; then
47634 echo $ECHO_N "(cached) $ECHO_C" >&6
47635 else
47636 if test -n "$NM"; then
47637 ac_cv_prog_NM="$NM" # Let the user override the test.
47638 else
47639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47640 for as_dir in $PATH
47641 do
47642 IFS=$as_save_IFS
47643 test -z "$as_dir" && as_dir=.
47644 for ac_exec_ext in '' $ac_executable_extensions; do
47645 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47646 ac_cv_prog_NM="${ac_tool_prefix}nm"
47647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47648 break 2
47649 fi
47650 done
47651 done
47652
47653 fi
47654 fi
47655 NM=$ac_cv_prog_NM
47656 if test -n "$NM"; then
47657 echo "$as_me:$LINENO: result: $NM" >&5
47658 echo "${ECHO_T}$NM" >&6
47659 else
47660 echo "$as_me:$LINENO: result: no" >&5
47661 echo "${ECHO_T}no" >&6
47662 fi
47663
47664 fi
47665 if test -z "$ac_cv_prog_NM"; then
47666 ac_ct_NM=$NM
47667 # Extract the first word of "nm", so it can be a program name with args.
47668 set dummy nm; ac_word=$2
47669 echo "$as_me:$LINENO: checking for $ac_word" >&5
47670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47671 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47672 echo $ECHO_N "(cached) $ECHO_C" >&6
47673 else
47674 if test -n "$ac_ct_NM"; then
47675 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47676 else
47677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47678 for as_dir in $PATH
47679 do
47680 IFS=$as_save_IFS
47681 test -z "$as_dir" && as_dir=.
47682 for ac_exec_ext in '' $ac_executable_extensions; do
47683 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47684 ac_cv_prog_ac_ct_NM="nm"
47685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47686 break 2
47687 fi
47688 done
47689 done
47690
47691 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47692 fi
47693 fi
47694 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47695 if test -n "$ac_ct_NM"; then
47696 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47697 echo "${ECHO_T}$ac_ct_NM" >&6
47698 else
47699 echo "$as_me:$LINENO: result: no" >&5
47700 echo "${ECHO_T}no" >&6
47701 fi
47702
47703 NM=$ac_ct_NM
47704 else
47705 NM="$ac_cv_prog_NM"
47706 fi
47707
47708
47709 case ${BAKEFILE_HOST} in
47710 *-hp-hpux* )
47711 INSTALL_DIR="mkdir -p"
47712 ;;
47713 *) INSTALL_DIR="$INSTALL -d"
47714 ;;
47715 esac
47716
47717
47718 LDFLAGS_GUI=
47719 case ${BAKEFILE_HOST} in
47720 *-*-cygwin* | *-*-mingw32* )
47721 LDFLAGS_GUI="-mwindows"
47722 esac
47723
47724
47725 fi
47726
47727 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47728 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47729 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47730 echo $ECHO_N "(cached) $ECHO_C" >&6
47731 else
47732
47733 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47734 egrep -s GNU > /dev/null); then
47735 bakefile_cv_prog_makeisgnu="yes"
47736 else
47737 bakefile_cv_prog_makeisgnu="no"
47738 fi
47739
47740 fi
47741 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47742 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47743
47744 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47745 IF_GNU_MAKE=""
47746 else
47747 IF_GNU_MAKE="#"
47748 fi
47749
47750
47751
47752 PLATFORM_UNIX=0
47753 PLATFORM_WIN32=0
47754 PLATFORM_MSDOS=0
47755 PLATFORM_MAC=0
47756 PLATFORM_MACOS=0
47757 PLATFORM_MACOSX=0
47758 PLATFORM_OS2=0
47759 PLATFORM_BEOS=0
47760
47761 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47762 case "${BAKEFILE_HOST}" in
47763 *-*-mingw32* )
47764 PLATFORM_WIN32=1
47765 ;;
47766 *-pc-msdosdjgpp )
47767 PLATFORM_MSDOS=1
47768 ;;
47769 *-pc-os2_emx | *-pc-os2-emx )
47770 PLATFORM_OS2=1
47771 ;;
47772 *-*-darwin* )
47773 PLATFORM_MAC=1
47774 PLATFORM_MACOSX=1
47775 ;;
47776 *-*-beos* )
47777 PLATFORM_BEOS=1
47778 ;;
47779 powerpc-apple-macos* )
47780 PLATFORM_MAC=1
47781 PLATFORM_MACOS=1
47782 ;;
47783 * )
47784 PLATFORM_UNIX=1
47785 ;;
47786 esac
47787 else
47788 case "$BAKEFILE_FORCE_PLATFORM" in
47789 win32 )
47790 PLATFORM_WIN32=1
47791 ;;
47792 msdos )
47793 PLATFORM_MSDOS=1
47794 ;;
47795 os2 )
47796 PLATFORM_OS2=1
47797 ;;
47798 darwin )
47799 PLATFORM_MAC=1
47800 PLATFORM_MACOSX=1
47801 ;;
47802 unix )
47803 PLATFORM_UNIX=1
47804 ;;
47805 beos )
47806 PLATFORM_BEOS=1
47807 ;;
47808 * )
47809 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47810 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47811 { (exit 1); exit 1; }; }
47812 ;;
47813 esac
47814 fi
47815
47816
47817
47818
47819
47820
47821
47822
47823
47824
47825
47826 # Check whether --enable-omf or --disable-omf was given.
47827 if test "${enable_omf+set}" = set; then
47828 enableval="$enable_omf"
47829 bk_os2_use_omf="$enableval"
47830 fi;
47831
47832 case "${BAKEFILE_HOST}" in
47833 *-*-darwin* )
47834 if test "x$GCC" = "xyes"; then
47835 CFLAGS="$CFLAGS -fno-common"
47836 CXXFLAGS="$CXXFLAGS -fno-common"
47837 fi
47838 if test "x$XLCC" = "xyes"; then
47839 CFLAGS="$CFLAGS -qnocommon"
47840 CXXFLAGS="$CXXFLAGS -qnocommon"
47841 fi
47842 ;;
47843
47844 *-pc-os2_emx | *-pc-os2-emx )
47845 if test "x$bk_os2_use_omf" = "xyes" ; then
47846 AR=emxomfar
47847 RANLIB=:
47848 LDFLAGS="-Zomf $LDFLAGS"
47849 CFLAGS="-Zomf $CFLAGS"
47850 CXXFLAGS="-Zomf $CXXFLAGS"
47851 OS2_LIBEXT="lib"
47852 else
47853 OS2_LIBEXT="a"
47854 fi
47855 ;;
47856
47857 i*86-*-beos* )
47858 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47859 ;;
47860 esac
47861
47862
47863 SO_SUFFIX="so"
47864 SO_SUFFIX_MODULE="so"
47865 EXEEXT=""
47866 LIBPREFIX="lib"
47867 LIBEXT=".a"
47868 DLLPREFIX="lib"
47869 DLLPREFIX_MODULE=""
47870 DLLIMP_SUFFIX=""
47871 dlldir="$libdir"
47872
47873 case "${BAKEFILE_HOST}" in
47874 *-hp-hpux* )
47875 SO_SUFFIX="sl"
47876 SO_SUFFIX_MODULE="sl"
47877 ;;
47878 *-*-aix* )
47879 SO_SUFFIX="a"
47880 SO_SUFFIX_MODULE="a"
47881 ;;
47882 *-*-cygwin* )
47883 SO_SUFFIX="dll"
47884 SO_SUFFIX_MODULE="dll"
47885 DLLIMP_SUFFIX="dll.a"
47886 EXEEXT=".exe"
47887 DLLPREFIX="cyg"
47888 dlldir="$bindir"
47889 ;;
47890 *-*-mingw32* )
47891 SO_SUFFIX="dll"
47892 SO_SUFFIX_MODULE="dll"
47893 DLLIMP_SUFFIX="dll.a"
47894 EXEEXT=".exe"
47895 DLLPREFIX=""
47896 dlldir="$bindir"
47897 ;;
47898 *-pc-msdosdjgpp )
47899 EXEEXT=".exe"
47900 DLLPREFIX=""
47901 dlldir="$bindir"
47902 ;;
47903 *-pc-os2_emx | *-pc-os2-emx )
47904 SO_SUFFIX="dll"
47905 SO_SUFFIX_MODULE="dll"
47906 DLLIMP_SUFFIX=$OS2_LIBEXT
47907 EXEEXT=".exe"
47908 DLLPREFIX=""
47909 LIBPREFIX=""
47910 LIBEXT=".$OS2_LIBEXT"
47911 dlldir="$bindir"
47912 ;;
47913 *-*-darwin* )
47914 SO_SUFFIX="dylib"
47915 SO_SUFFIX_MODULE="bundle"
47916 ;;
47917 esac
47918
47919 if test "x$DLLIMP_SUFFIX" = "x" ; then
47920 DLLIMP_SUFFIX="$SO_SUFFIX"
47921 fi
47922
47923
47924
47925
47926
47927
47928
47929
47930
47931
47932
47933
47934 PIC_FLAG=""
47935 if test "x$GCC" = "xyes"; then
47936 PIC_FLAG="-fPIC"
47937 fi
47938
47939 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47940 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47941 WINDOWS_IMPLIB=0
47942
47943 case "${BAKEFILE_HOST}" in
47944 *-hp-hpux* )
47945 if test "x$GCC" != "xyes"; then
47946 LDFLAGS="$LDFLAGS -L/usr/lib"
47947
47948 SHARED_LD_CC="${CC} -b -o"
47949 SHARED_LD_CXX="${CXX} -b -o"
47950 PIC_FLAG="+Z"
47951 fi
47952 ;;
47953
47954 *-*-linux* )
47955 if test "x$GCC" != "xyes"; then
47956 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47957 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47958 if test "${bakefile_cv_prog_icc+set}" = set; then
47959 echo $ECHO_N "(cached) $ECHO_C" >&6
47960 else
47961
47962 cat >conftest.$ac_ext <<_ACEOF
47963 /* confdefs.h. */
47964 _ACEOF
47965 cat confdefs.h >>conftest.$ac_ext
47966 cat >>conftest.$ac_ext <<_ACEOF
47967 /* end confdefs.h. */
47968
47969 int
47970 main ()
47971 {
47972
47973 #ifndef __INTEL_COMPILER
47974 This is not ICC
47975 #endif
47976
47977 ;
47978 return 0;
47979 }
47980 _ACEOF
47981 rm -f conftest.$ac_objext
47982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47983 (eval $ac_compile) 2>conftest.er1
47984 ac_status=$?
47985 grep -v '^ *+' conftest.er1 >conftest.err
47986 rm -f conftest.er1
47987 cat conftest.err >&5
47988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47989 (exit $ac_status); } &&
47990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47992 (eval $ac_try) 2>&5
47993 ac_status=$?
47994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47995 (exit $ac_status); }; } &&
47996 { ac_try='test -s conftest.$ac_objext'
47997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47998 (eval $ac_try) 2>&5
47999 ac_status=$?
48000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48001 (exit $ac_status); }; }; then
48002 bakefile_cv_prog_icc=yes
48003 else
48004 echo "$as_me: failed program was:" >&5
48005 sed 's/^/| /' conftest.$ac_ext >&5
48006
48007 bakefile_cv_prog_icc=no
48008
48009 fi
48010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48011
48012 fi
48013 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48014 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48015 if test "$bakefile_cv_prog_icc" = "yes"; then
48016 PIC_FLAG="-KPIC"
48017 fi
48018 fi
48019 ;;
48020
48021 *-*-solaris2* )
48022 if test "x$GCC" != xyes ; then
48023 SHARED_LD_CC="${CC} -G -o"
48024 SHARED_LD_CXX="${CXX} -G -o"
48025 PIC_FLAG="-KPIC"
48026 fi
48027 ;;
48028
48029 *-*-darwin* )
48030
48031 D='$'
48032 cat <<EOF >shared-ld-sh
48033 #!/bin/sh
48034 #-----------------------------------------------------------------------------
48035 #-- Name: distrib/mac/shared-ld-sh
48036 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48037 #-- Author: Gilles Depeyrot
48038 #-- Copyright: (c) 2002 Gilles Depeyrot
48039 #-- Licence: any use permitted
48040 #-----------------------------------------------------------------------------
48041
48042 verbose=0
48043 args=""
48044 objects=""
48045 linking_flag="-dynamiclib"
48046 ldargs="-r -keep_private_externs -nostdlib"
48047
48048 while test ${D}# -gt 0; do
48049 case ${D}1 in
48050
48051 -v)
48052 verbose=1
48053 ;;
48054
48055 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48056 # collect these options and values
48057 args="${D}{args} ${D}1 ${D}2"
48058 shift
48059 ;;
48060
48061 -s|-Wl,*)
48062 # collect these load args
48063 ldargs="${D}{ldargs} ${D}1"
48064 ;;
48065
48066 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48067 # collect these options
48068 args="${D}{args} ${D}1"
48069 ;;
48070
48071 -dynamiclib|-bundle)
48072 linking_flag="${D}1"
48073 ;;
48074
48075 -*)
48076 echo "shared-ld: unhandled option '${D}1'"
48077 exit 1
48078 ;;
48079
48080 *.o | *.a | *.dylib)
48081 # collect object files
48082 objects="${D}{objects} ${D}1"
48083 ;;
48084
48085 *)
48086 echo "shared-ld: unhandled argument '${D}1'"
48087 exit 1
48088 ;;
48089
48090 esac
48091 shift
48092 done
48093
48094 status=0
48095
48096 #
48097 # Link one module containing all the others
48098 #
48099 if test ${D}{verbose} = 1; then
48100 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48101 fi
48102 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48103 status=${D}?
48104
48105 #
48106 # Link the shared library from the single module created, but only if the
48107 # previous command didn't fail:
48108 #
48109 if test ${D}{status} = 0; then
48110 if test ${D}{verbose} = 1; then
48111 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48112 fi
48113 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48114 status=${D}?
48115 fi
48116
48117 #
48118 # Remove intermediate module
48119 #
48120 rm -f master.${D}${D}.o
48121
48122 exit ${D}status
48123 EOF
48124
48125 chmod +x shared-ld-sh
48126
48127 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48128 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48129
48130
48131 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48132 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48133 if test "${bakefile_cv_gcc31+set}" = set; then
48134 echo $ECHO_N "(cached) $ECHO_C" >&6
48135 else
48136
48137 cat >conftest.$ac_ext <<_ACEOF
48138 /* confdefs.h. */
48139 _ACEOF
48140 cat confdefs.h >>conftest.$ac_ext
48141 cat >>conftest.$ac_ext <<_ACEOF
48142 /* end confdefs.h. */
48143
48144 int
48145 main ()
48146 {
48147
48148 #if (__GNUC__ < 3) || \
48149 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48150 This is old gcc
48151 #endif
48152
48153 ;
48154 return 0;
48155 }
48156 _ACEOF
48157 rm -f conftest.$ac_objext
48158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48159 (eval $ac_compile) 2>conftest.er1
48160 ac_status=$?
48161 grep -v '^ *+' conftest.er1 >conftest.err
48162 rm -f conftest.er1
48163 cat conftest.err >&5
48164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48165 (exit $ac_status); } &&
48166 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48168 (eval $ac_try) 2>&5
48169 ac_status=$?
48170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48171 (exit $ac_status); }; } &&
48172 { ac_try='test -s conftest.$ac_objext'
48173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48174 (eval $ac_try) 2>&5
48175 ac_status=$?
48176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48177 (exit $ac_status); }; }; then
48178
48179 bakefile_cv_gcc31=yes
48180
48181 else
48182 echo "$as_me: failed program was:" >&5
48183 sed 's/^/| /' conftest.$ac_ext >&5
48184
48185
48186 bakefile_cv_gcc31=no
48187
48188
48189 fi
48190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48191
48192 fi
48193 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48194 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48195 if test "$bakefile_cv_gcc31" = "no"; then
48196 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48197 SHARED_LD_CXX="$SHARED_LD_CC"
48198 else
48199 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48200 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48201 fi
48202
48203 if test "x$GCC" == "xyes"; then
48204 PIC_FLAG="-dynamic -fPIC"
48205 fi
48206 if test "x$XLCC" = "xyes"; then
48207 PIC_FLAG="-dynamic -DPIC"
48208 fi
48209 ;;
48210
48211 *-*-aix* )
48212 if test "x$GCC" = "xyes"; then
48213 PIC_FLAG=""
48214
48215 case "${BAKEFILE_HOST}" in
48216 *-*-aix5* )
48217 LD_EXPFULL="-Wl,-bexpfull"
48218 ;;
48219 esac
48220
48221 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48222 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48223 else
48224 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48225 set dummy makeC++SharedLib; ac_word=$2
48226 echo "$as_me:$LINENO: checking for $ac_word" >&5
48227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48228 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48229 echo $ECHO_N "(cached) $ECHO_C" >&6
48230 else
48231 if test -n "$AIX_CXX_LD"; then
48232 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48233 else
48234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48235 for as_dir in $PATH
48236 do
48237 IFS=$as_save_IFS
48238 test -z "$as_dir" && as_dir=.
48239 for ac_exec_ext in '' $ac_executable_extensions; do
48240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48241 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48243 break 2
48244 fi
48245 done
48246 done
48247
48248 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48249 fi
48250 fi
48251 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48252 if test -n "$AIX_CXX_LD"; then
48253 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48254 echo "${ECHO_T}$AIX_CXX_LD" >&6
48255 else
48256 echo "$as_me:$LINENO: result: no" >&5
48257 echo "${ECHO_T}no" >&6
48258 fi
48259
48260 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48261 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48262 fi
48263 ;;
48264
48265 *-*-beos* )
48266 SHARED_LD_CC="${LD} -nostart -o"
48267 SHARED_LD_CXX="${LD} -nostart -o"
48268 ;;
48269
48270 *-*-irix* )
48271 if test "x$GCC" != "xyes"; then
48272 PIC_FLAG="-KPIC"
48273 fi
48274 ;;
48275
48276 *-*-cygwin* | *-*-mingw32* )
48277 PIC_FLAG=""
48278 SHARED_LD_CC="\$(CC) -shared -o"
48279 SHARED_LD_CXX="\$(CXX) -shared -o"
48280 WINDOWS_IMPLIB=1
48281 ;;
48282
48283 *-pc-os2_emx | *-pc-os2-emx )
48284 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48285 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48286 PIC_FLAG=""
48287
48288 D='$'
48289 cat <<EOF >dllar.sh
48290 #!/bin/sh
48291 #
48292 # dllar - a tool to build both a .dll and an .a file
48293 # from a set of object (.o) files for EMX/OS2.
48294 #
48295 # Written by Andrew Zabolotny, bit@freya.etu.ru
48296 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48297 #
48298 # This script will accept a set of files on the command line.
48299 # All the public symbols from the .o files will be exported into
48300 # a .DEF file, then linker will be run (through gcc) against them to
48301 # build a shared library consisting of all given .o files. All libraries
48302 # (.a) will be first decompressed into component .o files then act as
48303 # described above. You can optionally give a description (-d "description")
48304 # which will be put into .DLL. To see the list of accepted options (as well
48305 # as command-line format) simply run this program without options. The .DLL
48306 # is built to be imported by name (there is no guarantee that new versions
48307 # of the library you build will have same ordinals for same symbols).
48308 #
48309 # dllar is free software; you can redistribute it and/or modify
48310 # it under the terms of the GNU General Public License as published by
48311 # the Free Software Foundation; either version 2, or (at your option)
48312 # any later version.
48313 #
48314 # dllar is distributed in the hope that it will be useful,
48315 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48316 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48317 # GNU General Public License for more details.
48318 #
48319 # You should have received a copy of the GNU General Public License
48320 # along with dllar; see the file COPYING. If not, write to the Free
48321 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48322 # 02111-1307, USA.
48323
48324 # To successfuly run this program you will need:
48325 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48326 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48327 # - gcc
48328 # (used to build the .dll)
48329 # - emxexp
48330 # (used to create .def file from .o files)
48331 # - emximp
48332 # (used to create .a file from .def file)
48333 # - GNU text utilites (cat, sort, uniq)
48334 # used to process emxexp output
48335 # - GNU file utilities (mv, rm)
48336 # - GNU sed
48337 # - lxlite (optional, see flag below)
48338 # (used for general .dll cleanup)
48339 #
48340
48341 flag_USE_LXLITE=1;
48342
48343 #
48344 # helper functions
48345 # basnam, variant of basename, which does _not_ remove the path, _iff_
48346 # second argument (suffix to remove) is given
48347 basnam(){
48348 case ${D}# in
48349 1)
48350 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48351 ;;
48352 2)
48353 echo ${D}1 | sed 's/'${D}2'${D}//'
48354 ;;
48355 *)
48356 echo "error in basnam ${D}*"
48357 exit 8
48358 ;;
48359 esac
48360 }
48361
48362 # Cleanup temporary files and output
48363 CleanUp() {
48364 cd ${D}curDir
48365 for i in ${D}inputFiles ; do
48366 case ${D}i in
48367 *!)
48368 rm -rf \`basnam ${D}i !\`
48369 ;;
48370 *)
48371 ;;
48372 esac
48373 done
48374
48375 # Kill result in case of failure as there is just to many stupid make/nmake
48376 # things out there which doesn't do this.
48377 if [ ${D}# -eq 0 ]; then
48378 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48379 fi
48380 }
48381
48382 # Print usage and exit script with rc=1.
48383 PrintHelp() {
48384 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48385 echo ' [-name-mangler-script script.sh]'
48386 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48387 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48388 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48389 echo ' [*.o] [*.a]'
48390 echo '*> "output_file" should have no extension.'
48391 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48392 echo ' The import library name is derived from this and is set to "name".a,'
48393 echo ' unless overridden by -import'
48394 echo '*> "importlib_name" should have no extension.'
48395 echo ' If it has the .o, or .a extension, it is automatically removed.'
48396 echo ' This name is used as the import library name and may be longer and'
48397 echo ' more descriptive than the DLL name which has to follow the old '
48398 echo ' 8.3 convention of FAT.'
48399 echo '*> "script.sh may be given to override the output_file name by a'
48400 echo ' different name. It is mainly useful if the regular make process'
48401 echo ' of some package does not take into account OS/2 restriction of'
48402 echo ' DLL name lengths. It takes the importlib name as input and is'
48403 echo ' supposed to procude a shorter name as output. The script should'
48404 echo ' expect to get importlib_name without extension and should produce'
48405 echo ' a (max.) 8 letter name without extension.'
48406 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48407 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48408 echo ' These flags will be put at the start of GCC command line.'
48409 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48410 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48411 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48412 echo ' If the last character of a symbol is "*", all symbols beginning'
48413 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48414 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48415 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48416 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48417 echo ' C runtime DLLs.'
48418 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48419 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48420 echo ' unchanged to GCC at the end of command line.'
48421 echo '*> If you create a DLL from a library and you do not specify -o,'
48422 echo ' the basename for DLL and import library will be set to library name,'
48423 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48424 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48425 echo ' library will be renamed into gcc_s.a.'
48426 echo '--------'
48427 echo 'Example:'
48428 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48429 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48430 CleanUp
48431 exit 1
48432 }
48433
48434 # Execute a command.
48435 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48436 # @Uses Whatever CleanUp() uses.
48437 doCommand() {
48438 echo "${D}*"
48439 eval ${D}*
48440 rcCmd=${D}?
48441
48442 if [ ${D}rcCmd -ne 0 ]; then
48443 echo "command failed, exit code="${D}rcCmd
48444 CleanUp
48445 exit ${D}rcCmd
48446 fi
48447 }
48448
48449 # main routine
48450 # setup globals
48451 cmdLine=${D}*
48452 outFile=""
48453 outimpFile=""
48454 inputFiles=""
48455 renameScript=""
48456 description=""
48457 CC=gcc.exe
48458 CFLAGS="-s -Zcrtdll"
48459 EXTRA_CFLAGS=""
48460 EXPORT_BY_ORDINALS=0
48461 exclude_symbols=""
48462 library_flags=""
48463 curDir=\`pwd\`
48464 curDirS=curDir
48465 case ${D}curDirS in
48466 */)
48467 ;;
48468 *)
48469 curDirS=${D}{curDirS}"/"
48470 ;;
48471 esac
48472 # Parse commandline
48473 libsToLink=0
48474 omfLinking=0
48475 while [ ${D}1 ]; do
48476 case ${D}1 in
48477 -ord*)
48478 EXPORT_BY_ORDINALS=1;
48479 ;;
48480 -o*)
48481 shift
48482 outFile=${D}1
48483 ;;
48484 -i*)
48485 shift
48486 outimpFile=${D}1
48487 ;;
48488 -name-mangler-script)
48489 shift
48490 renameScript=${D}1
48491 ;;
48492 -d*)
48493 shift
48494 description=${D}1
48495 ;;
48496 -f*)
48497 shift
48498 CFLAGS=${D}1
48499 ;;
48500 -c*)
48501 shift
48502 CC=${D}1
48503 ;;
48504 -h*)
48505 PrintHelp
48506 ;;
48507 -ex*)
48508 shift
48509 exclude_symbols=${D}{exclude_symbols}${D}1" "
48510 ;;
48511 -libf*)
48512 shift
48513 library_flags=${D}{library_flags}${D}1" "
48514 ;;
48515 -nocrt*)
48516 CFLAGS="-s"
48517 ;;
48518 -nolxl*)
48519 flag_USE_LXLITE=0
48520 ;;
48521 -* | /*)
48522 case ${D}1 in
48523 -L* | -l*)
48524 libsToLink=1
48525 ;;
48526 -Zomf)
48527 omfLinking=1
48528 ;;
48529 *)
48530 ;;
48531 esac
48532 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48533 ;;
48534 *.dll)
48535 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48536 if [ ${D}omfLinking -eq 1 ]; then
48537 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48538 else
48539 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48540 fi
48541 ;;
48542 *)
48543 found=0;
48544 if [ ${D}libsToLink -ne 0 ]; then
48545 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48546 else
48547 for file in ${D}1 ; do
48548 if [ -f ${D}file ]; then
48549 inputFiles="${D}{inputFiles} ${D}file"
48550 found=1
48551 fi
48552 done
48553 if [ ${D}found -eq 0 ]; then
48554 echo "ERROR: No file(s) found: "${D}1
48555 exit 8
48556 fi
48557 fi
48558 ;;
48559 esac
48560 shift
48561 done # iterate cmdline words
48562
48563 #
48564 if [ -z "${D}inputFiles" ]; then
48565 echo "dllar: no input files"
48566 PrintHelp
48567 fi
48568
48569 # Now extract all .o files from .a files
48570 newInputFiles=""
48571 for file in ${D}inputFiles ; do
48572 case ${D}file in
48573 *.a | *.lib)
48574 case ${D}file in
48575 *.a)
48576 suffix=".a"
48577 AR="ar"
48578 ;;
48579 *.lib)
48580 suffix=".lib"
48581 AR="emxomfar"
48582 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48583 ;;
48584 *)
48585 ;;
48586 esac
48587 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48588 mkdir ${D}dirname
48589 if [ ${D}? -ne 0 ]; then
48590 echo "Failed to create subdirectory ./${D}dirname"
48591 CleanUp
48592 exit 8;
48593 fi
48594 # Append '!' to indicate archive
48595 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48596 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48597 cd ${D}curDir
48598 found=0;
48599 for subfile in ${D}dirname/*.o* ; do
48600 if [ -f ${D}subfile ]; then
48601 found=1
48602 if [ -s ${D}subfile ]; then
48603 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48604 newInputFiles="${D}newInputFiles ${D}subfile"
48605 fi
48606 fi
48607 done
48608 if [ ${D}found -eq 0 ]; then
48609 echo "WARNING: there are no files in archive \\'${D}file\\'"
48610 fi
48611 ;;
48612 *)
48613 newInputFiles="${D}{newInputFiles} ${D}file"
48614 ;;
48615 esac
48616 done
48617 inputFiles="${D}newInputFiles"
48618
48619 # Output filename(s).
48620 do_backup=0;
48621 if [ -z ${D}outFile ]; then
48622 do_backup=1;
48623 set outFile ${D}inputFiles; outFile=${D}2
48624 fi
48625
48626 # If it is an archive, remove the '!' and the '_%' suffixes
48627 case ${D}outFile in
48628 *_%!)
48629 outFile=\`basnam ${D}outFile _%!\`
48630 ;;
48631 *)
48632 ;;
48633 esac
48634 case ${D}outFile in
48635 *.dll)
48636 outFile=\`basnam ${D}outFile .dll\`
48637 ;;
48638 *.DLL)
48639 outFile=\`basnam ${D}outFile .DLL\`
48640 ;;
48641 *.o)
48642 outFile=\`basnam ${D}outFile .o\`
48643 ;;
48644 *.obj)
48645 outFile=\`basnam ${D}outFile .obj\`
48646 ;;
48647 *.a)
48648 outFile=\`basnam ${D}outFile .a\`
48649 ;;
48650 *.lib)
48651 outFile=\`basnam ${D}outFile .lib\`
48652 ;;
48653 *)
48654 ;;
48655 esac
48656 case ${D}outimpFile in
48657 *.a)
48658 outimpFile=\`basnam ${D}outimpFile .a\`
48659 ;;
48660 *.lib)
48661 outimpFile=\`basnam ${D}outimpFile .lib\`
48662 ;;
48663 *)
48664 ;;
48665 esac
48666 if [ -z ${D}outimpFile ]; then
48667 outimpFile=${D}outFile
48668 fi
48669 defFile="${D}{outFile}.def"
48670 arcFile="${D}{outimpFile}.a"
48671 arcFile2="${D}{outimpFile}.lib"
48672
48673 #create ${D}dllFile as something matching 8.3 restrictions,
48674 if [ -z ${D}renameScript ] ; then
48675 dllFile="${D}outFile"
48676 else
48677 dllFile=\`${D}renameScript ${D}outimpFile\`
48678 fi
48679
48680 if [ ${D}do_backup -ne 0 ] ; then
48681 if [ -f ${D}arcFile ] ; then
48682 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48683 fi
48684 if [ -f ${D}arcFile2 ] ; then
48685 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48686 fi
48687 fi
48688
48689 # Extract public symbols from all the object files.
48690 tmpdefFile=${D}{defFile}_%
48691 rm -f ${D}tmpdefFile
48692 for file in ${D}inputFiles ; do
48693 case ${D}file in
48694 *!)
48695 ;;
48696 *)
48697 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48698 ;;
48699 esac
48700 done
48701
48702 # Create the def file.
48703 rm -f ${D}defFile
48704 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48705 dllFile="${D}{dllFile}.dll"
48706 if [ ! -z ${D}description ]; then
48707 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48708 fi
48709 echo "EXPORTS" >> ${D}defFile
48710
48711 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48712 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48713
48714 # Checks if the export is ok or not.
48715 for word in ${D}exclude_symbols; do
48716 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48717 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48718 done
48719
48720
48721 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48722 sed "=" < ${D}tmpdefFile | \\
48723 sed '
48724 N
48725 : loop
48726 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48727 t loop
48728 ' > ${D}{tmpdefFile}%
48729 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48730 else
48731 rm -f ${D}{tmpdefFile}%
48732 fi
48733 cat ${D}tmpdefFile >> ${D}defFile
48734 rm -f ${D}tmpdefFile
48735
48736 # Do linking, create implib, and apply lxlite.
48737 gccCmdl="";
48738 for file in ${D}inputFiles ; do
48739 case ${D}file in
48740 *!)
48741 ;;
48742 *)
48743 gccCmdl="${D}gccCmdl ${D}file"
48744 ;;
48745 esac
48746 done
48747 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48748 touch "${D}{outFile}.dll"
48749
48750 doCommand "emximp -o ${D}arcFile ${D}defFile"
48751 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48752 add_flags="";
48753 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48754 add_flags="-ynd"
48755 fi
48756 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48757 fi
48758 doCommand "emxomf -s -l ${D}arcFile"
48759
48760 # Successful exit.
48761 CleanUp 1
48762 exit 0
48763 EOF
48764
48765 chmod +x dllar.sh
48766 ;;
48767
48768 powerpc-apple-macos* | \
48769 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48770 *-*-sunos4* | \
48771 *-*-osf* | \
48772 *-*-dgux5* | \
48773 *-*-sysv5* | \
48774 *-pc-msdosdjgpp )
48775 ;;
48776
48777 *)
48778 esac
48779
48780 if test "x$PIC_FLAG" != "x" ; then
48781 PIC_FLAG="$PIC_FLAG -DPIC"
48782 fi
48783
48784 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48785 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48786 fi
48787 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48788 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48789 fi
48790
48791
48792
48793
48794
48795
48796
48797
48798
48799 USE_SOVERSION=0
48800 USE_SOVERLINUX=0
48801 USE_SOVERSOLARIS=0
48802 USE_SOVERCYGWIN=0
48803 USE_SOSYMLINKS=0
48804 USE_MACVERSION=0
48805 SONAME_FLAG=
48806
48807 case "${BAKEFILE_HOST}" in
48808 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48809 SONAME_FLAG="-Wl,-soname,"
48810 USE_SOVERSION=1
48811 USE_SOVERLINUX=1
48812 USE_SOSYMLINKS=1
48813 ;;
48814
48815 *-*-solaris2* )
48816 SONAME_FLAG="-h "
48817 USE_SOVERSION=1
48818 USE_SOVERSOLARIS=1
48819 USE_SOSYMLINKS=1
48820 ;;
48821
48822 *-*-darwin* )
48823 USE_MACVERSION=1
48824 USE_SOVERSION=1
48825 USE_SOSYMLINKS=1
48826 ;;
48827
48828 *-*-cygwin* )
48829 USE_SOVERSION=1
48830 USE_SOVERCYGWIN=1
48831 ;;
48832 esac
48833
48834
48835
48836
48837
48838
48839
48840
48841
48842
48843 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48844 if test "${enable_dependency_tracking+set}" = set; then
48845 enableval="$enable_dependency_tracking"
48846 bk_use_trackdeps="$enableval"
48847 fi;
48848
48849 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48850 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48851
48852 if test "x$bk_use_trackdeps" = "xno" ; then
48853 DEPS_TRACKING=0
48854 echo "$as_me:$LINENO: result: disabled" >&5
48855 echo "${ECHO_T}disabled" >&6
48856 else
48857 DEPS_TRACKING=1
48858
48859 if test "x$GCC" = "xyes"; then
48860 DEPSMODE=gcc
48861 case "${BAKEFILE_HOST}" in
48862 *-*-darwin* )
48863 DEPSFLAG="-no-cpp-precomp -MMD"
48864 ;;
48865 * )
48866 DEPSFLAG="-MMD"
48867 ;;
48868 esac
48869 echo "$as_me:$LINENO: result: gcc" >&5
48870 echo "${ECHO_T}gcc" >&6
48871 elif test "x$MWCC" = "xyes"; then
48872 DEPSMODE=mwcc
48873 DEPSFLAG="-MM"
48874 echo "$as_me:$LINENO: result: mwcc" >&5
48875 echo "${ECHO_T}mwcc" >&6
48876 elif test "x$SUNCC" = "xyes"; then
48877 DEPSMODE=unixcc
48878 DEPSFLAG="-xM1"
48879 echo "$as_me:$LINENO: result: Sun cc" >&5
48880 echo "${ECHO_T}Sun cc" >&6
48881 elif test "x$SGICC" = "xyes"; then
48882 DEPSMODE=unixcc
48883 DEPSFLAG="-M"
48884 echo "$as_me:$LINENO: result: SGI cc" >&5
48885 echo "${ECHO_T}SGI cc" >&6
48886 elif test "x$HPCC" = "xyes"; then
48887 DEPSMODE=unixcc
48888 DEPSFLAG="+make"
48889 echo "$as_me:$LINENO: result: HP cc" >&5
48890 echo "${ECHO_T}HP cc" >&6
48891 elif test "x$COMPAQCC" = "xyes"; then
48892 DEPSMODE=gcc
48893 DEPSFLAG="-MD"
48894 echo "$as_me:$LINENO: result: Compaq cc" >&5
48895 echo "${ECHO_T}Compaq cc" >&6
48896 else
48897 DEPS_TRACKING=0
48898 echo "$as_me:$LINENO: result: none" >&5
48899 echo "${ECHO_T}none" >&6
48900 fi
48901
48902 if test $DEPS_TRACKING = 1 ; then
48903
48904 D='$'
48905 cat <<EOF >bk-deps
48906 #!/bin/sh
48907
48908 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48909 # script. It is used to track C/C++ files dependencies in portable way.
48910 #
48911 # Permission is given to use this file in any way.
48912
48913 DEPSMODE=${DEPSMODE}
48914 DEPSDIR=.deps
48915 DEPSFLAG="${DEPSFLAG}"
48916
48917 mkdir -p ${D}DEPSDIR
48918
48919 if test ${D}DEPSMODE = gcc ; then
48920 ${D}* ${D}{DEPSFLAG}
48921 status=${D}?
48922 if test ${D}{status} != 0 ; then
48923 exit ${D}{status}
48924 fi
48925 # move created file to the location we want it in:
48926 while test ${D}# -gt 0; do
48927 case "${D}1" in
48928 -o )
48929 shift
48930 objfile=${D}1
48931 ;;
48932 -* )
48933 ;;
48934 * )
48935 srcfile=${D}1
48936 ;;
48937 esac
48938 shift
48939 done
48940 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48941 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48942 if test -f ${D}depfile ; then
48943 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48944 rm -f ${D}depfile
48945 else
48946 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48947 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48948 if test ! -f ${D}depfile ; then
48949 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48950 depfile="${D}objfile.d"
48951 fi
48952 if test -f ${D}depfile ; then
48953 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48954 rm -f ${D}depfile
48955 fi
48956 fi
48957 exit 0
48958 elif test ${D}DEPSMODE = mwcc ; then
48959 ${D}* || exit ${D}?
48960 # Run mwcc again with -MM and redirect into the dep file we want
48961 # NOTE: We can't use shift here because we need ${D}* to be valid
48962 prevarg=
48963 for arg in ${D}* ; do
48964 if test "${D}prevarg" = "-o"; then
48965 objfile=${D}arg
48966 else
48967 case "${D}arg" in
48968 -* )
48969 ;;
48970 * )
48971 srcfile=${D}arg
48972 ;;
48973 esac
48974 fi
48975 prevarg="${D}arg"
48976 done
48977 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48978 exit 0
48979 elif test ${D}DEPSMODE = unixcc; then
48980 ${D}* || exit ${D}?
48981 # Run compiler again with deps flag and redirect into the dep file.
48982 # It doesn't work if the '-o FILE' option is used, but without it the
48983 # dependency file will contain the wrong name for the object. So it is
48984 # removed from the command line, and the dep file is fixed with sed.
48985 cmd=""
48986 while test ${D}# -gt 0; do
48987 case "${D}1" in
48988 -o )
48989 shift
48990 objfile=${D}1
48991 ;;
48992 * )
48993 eval arg${D}#=\\${D}1
48994 cmd="${D}cmd \\${D}arg${D}#"
48995 ;;
48996 esac
48997 shift
48998 done
48999 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49000 exit 0
49001 else
49002 ${D}*
49003 exit ${D}?
49004 fi
49005 EOF
49006
49007 chmod +x bk-deps
49008 fi
49009 fi
49010
49011
49012
49013
49014 case ${BAKEFILE_HOST} in
49015 *-*-cygwin* | *-*-mingw32* )
49016 if test -n "$ac_tool_prefix"; then
49017 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49018 set dummy ${ac_tool_prefix}windres; ac_word=$2
49019 echo "$as_me:$LINENO: checking for $ac_word" >&5
49020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49021 if test "${ac_cv_prog_WINDRES+set}" = set; then
49022 echo $ECHO_N "(cached) $ECHO_C" >&6
49023 else
49024 if test -n "$WINDRES"; then
49025 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49026 else
49027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49028 for as_dir in $PATH
49029 do
49030 IFS=$as_save_IFS
49031 test -z "$as_dir" && as_dir=.
49032 for ac_exec_ext in '' $ac_executable_extensions; do
49033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49034 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49036 break 2
49037 fi
49038 done
49039 done
49040
49041 fi
49042 fi
49043 WINDRES=$ac_cv_prog_WINDRES
49044 if test -n "$WINDRES"; then
49045 echo "$as_me:$LINENO: result: $WINDRES" >&5
49046 echo "${ECHO_T}$WINDRES" >&6
49047 else
49048 echo "$as_me:$LINENO: result: no" >&5
49049 echo "${ECHO_T}no" >&6
49050 fi
49051
49052 fi
49053 if test -z "$ac_cv_prog_WINDRES"; then
49054 ac_ct_WINDRES=$WINDRES
49055 # Extract the first word of "windres", so it can be a program name with args.
49056 set dummy windres; ac_word=$2
49057 echo "$as_me:$LINENO: checking for $ac_word" >&5
49058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49059 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49060 echo $ECHO_N "(cached) $ECHO_C" >&6
49061 else
49062 if test -n "$ac_ct_WINDRES"; then
49063 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49064 else
49065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49066 for as_dir in $PATH
49067 do
49068 IFS=$as_save_IFS
49069 test -z "$as_dir" && as_dir=.
49070 for ac_exec_ext in '' $ac_executable_extensions; do
49071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49072 ac_cv_prog_ac_ct_WINDRES="windres"
49073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49074 break 2
49075 fi
49076 done
49077 done
49078
49079 fi
49080 fi
49081 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49082 if test -n "$ac_ct_WINDRES"; then
49083 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49084 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49085 else
49086 echo "$as_me:$LINENO: result: no" >&5
49087 echo "${ECHO_T}no" >&6
49088 fi
49089
49090 WINDRES=$ac_ct_WINDRES
49091 else
49092 WINDRES="$ac_cv_prog_WINDRES"
49093 fi
49094
49095 ;;
49096
49097 *-*-darwin* | powerpc-apple-macos* )
49098 # Extract the first word of "Rez", so it can be a program name with args.
49099 set dummy Rez; ac_word=$2
49100 echo "$as_me:$LINENO: checking for $ac_word" >&5
49101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49102 if test "${ac_cv_prog_REZ+set}" = set; then
49103 echo $ECHO_N "(cached) $ECHO_C" >&6
49104 else
49105 if test -n "$REZ"; then
49106 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49107 else
49108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49109 for as_dir in $PATH
49110 do
49111 IFS=$as_save_IFS
49112 test -z "$as_dir" && as_dir=.
49113 for ac_exec_ext in '' $ac_executable_extensions; do
49114 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49115 ac_cv_prog_REZ="Rez"
49116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49117 break 2
49118 fi
49119 done
49120 done
49121
49122 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49123 fi
49124 fi
49125 REZ=$ac_cv_prog_REZ
49126 if test -n "$REZ"; then
49127 echo "$as_me:$LINENO: result: $REZ" >&5
49128 echo "${ECHO_T}$REZ" >&6
49129 else
49130 echo "$as_me:$LINENO: result: no" >&5
49131 echo "${ECHO_T}no" >&6
49132 fi
49133
49134 # Extract the first word of "SetFile", so it can be a program name with args.
49135 set dummy SetFile; ac_word=$2
49136 echo "$as_me:$LINENO: checking for $ac_word" >&5
49137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49138 if test "${ac_cv_prog_SETFILE+set}" = set; then
49139 echo $ECHO_N "(cached) $ECHO_C" >&6
49140 else
49141 if test -n "$SETFILE"; then
49142 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49143 else
49144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49145 for as_dir in $PATH
49146 do
49147 IFS=$as_save_IFS
49148 test -z "$as_dir" && as_dir=.
49149 for ac_exec_ext in '' $ac_executable_extensions; do
49150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49151 ac_cv_prog_SETFILE="SetFile"
49152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49153 break 2
49154 fi
49155 done
49156 done
49157
49158 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49159 fi
49160 fi
49161 SETFILE=$ac_cv_prog_SETFILE
49162 if test -n "$SETFILE"; then
49163 echo "$as_me:$LINENO: result: $SETFILE" >&5
49164 echo "${ECHO_T}$SETFILE" >&6
49165 else
49166 echo "$as_me:$LINENO: result: no" >&5
49167 echo "${ECHO_T}no" >&6
49168 fi
49169
49170 ;;
49171 esac
49172
49173
49174
49175
49176
49177
49178 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
49179
49180
49181 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
49182
49183
49184
49185 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49186 if test "${enable_precomp_headers+set}" = set; then
49187 enableval="$enable_precomp_headers"
49188 bk_use_pch="$enableval"
49189 fi;
49190
49191 GCC_PCH=0
49192 ICC_PCH=0
49193 USE_PCH=0
49194
49195 case ${BAKEFILE_HOST} in
49196 *-*-cygwin* )
49197 bk_use_pch="no"
49198 ;;
49199 esac
49200
49201 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49202 if test "x$GCC" = "xyes"; then
49203 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49204 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49205 cat >conftest.$ac_ext <<_ACEOF
49206 /* confdefs.h. */
49207 _ACEOF
49208 cat confdefs.h >>conftest.$ac_ext
49209 cat >>conftest.$ac_ext <<_ACEOF
49210 /* end confdefs.h. */
49211
49212 int
49213 main ()
49214 {
49215
49216 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49217 There is no PCH support
49218 #endif
49219 #if (__GNUC__ < 3)
49220 There is no PCH support
49221 #endif
49222 #if (__GNUC__ == 3) && \
49223 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49224 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49225 ( defined(__INTEL_COMPILER) )
49226 There is no PCH support
49227 #endif
49228
49229 ;
49230 return 0;
49231 }
49232 _ACEOF
49233 rm -f conftest.$ac_objext
49234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49235 (eval $ac_compile) 2>conftest.er1
49236 ac_status=$?
49237 grep -v '^ *+' conftest.er1 >conftest.err
49238 rm -f conftest.er1
49239 cat conftest.err >&5
49240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49241 (exit $ac_status); } &&
49242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49244 (eval $ac_try) 2>&5
49245 ac_status=$?
49246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49247 (exit $ac_status); }; } &&
49248 { ac_try='test -s conftest.$ac_objext'
49249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49250 (eval $ac_try) 2>&5
49251 ac_status=$?
49252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49253 (exit $ac_status); }; }; then
49254
49255 echo "$as_me:$LINENO: result: yes" >&5
49256 echo "${ECHO_T}yes" >&6
49257 GCC_PCH=1
49258
49259 else
49260 echo "$as_me: failed program was:" >&5
49261 sed 's/^/| /' conftest.$ac_ext >&5
49262
49263
49264 cat >conftest.$ac_ext <<_ACEOF
49265 /* confdefs.h. */
49266 _ACEOF
49267 cat confdefs.h >>conftest.$ac_ext
49268 cat >>conftest.$ac_ext <<_ACEOF
49269 /* end confdefs.h. */
49270
49271 int
49272 main ()
49273 {
49274
49275 #if !defined(__INTEL_COMPILER) || \
49276 (__INTEL_COMPILER < 800)
49277 There is no PCH support
49278 #endif
49279
49280 ;
49281 return 0;
49282 }
49283 _ACEOF
49284 rm -f conftest.$ac_objext
49285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49286 (eval $ac_compile) 2>conftest.er1
49287 ac_status=$?
49288 grep -v '^ *+' conftest.er1 >conftest.err
49289 rm -f conftest.er1
49290 cat conftest.err >&5
49291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49292 (exit $ac_status); } &&
49293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49295 (eval $ac_try) 2>&5
49296 ac_status=$?
49297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49298 (exit $ac_status); }; } &&
49299 { ac_try='test -s conftest.$ac_objext'
49300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49301 (eval $ac_try) 2>&5
49302 ac_status=$?
49303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49304 (exit $ac_status); }; }; then
49305
49306 echo "$as_me:$LINENO: result: yes" >&5
49307 echo "${ECHO_T}yes" >&6
49308 ICC_PCH=1
49309
49310 else
49311 echo "$as_me: failed program was:" >&5
49312 sed 's/^/| /' conftest.$ac_ext >&5
49313
49314
49315 echo "$as_me:$LINENO: result: no" >&5
49316 echo "${ECHO_T}no" >&6
49317
49318 fi
49319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49320
49321 fi
49322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49323 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49324 USE_PCH=1
49325
49326 D='$'
49327 cat <<EOF >bk-make-pch
49328 #!/bin/sh
49329
49330 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49331 # script. It is used to generated precompiled headers.
49332 #
49333 # Permission is given to use this file in any way.
49334
49335 outfile="${D}{1}"
49336 header="${D}{2}"
49337 shift
49338 shift
49339
49340 compiler=""
49341 headerfile=""
49342
49343 while test ${D}{#} -gt 0; do
49344 add_to_cmdline=1
49345 case "${D}{1}" in
49346 -I* )
49347 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49348 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49349 headerfile="${D}{incdir}/${D}{header}"
49350 fi
49351 ;;
49352 -use-pch|-use_pch )
49353 shift
49354 add_to_cmdline=0
49355 ;;
49356 esac
49357 if test ${D}add_to_cmdline = 1 ; then
49358 compiler="${D}{compiler} ${D}{1}"
49359 fi
49360 shift
49361 done
49362
49363 if test "x${D}{headerfile}" = "x" ; then
49364 echo "error: can't find header ${D}{header} in include paths" >&2
49365 else
49366 if test -f ${D}{outfile} ; then
49367 rm -f ${D}{outfile}
49368 else
49369 mkdir -p \`dirname ${D}{outfile}\`
49370 fi
49371 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49372 mkdir -p .deps
49373 if test "x${GCC_PCH}" = "x1" ; then
49374 # can do this because gcc is >= 3.4:
49375 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49376 elif test "x${ICC_PCH}" = "x1" ; then
49377 filename=pch_gen-${D}${D}
49378 file=${D}{filename}.c
49379 dfile=${D}{filename}.d
49380 cat > ${D}file <<EOT
49381 #include "${D}header"
49382 EOT
49383 # using -MF icc complains about differing command lines in creation/use
49384 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49385 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49386 rm -f ${D}file ${D}dfile ${D}{filename}.o
49387 fi
49388 exit ${D}{?}
49389 fi
49390 EOF
49391
49392 chmod +x bk-make-pch
49393 fi
49394 fi
49395 fi
49396
49397
49398
49399
49400 COND_BUILD_DEBUG="#"
49401 if test "x$BUILD" = "xdebug" ; then
49402 COND_BUILD_DEBUG=""
49403 fi
49404
49405 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49406 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49407 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49408 fi
49409
49410 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49411 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49412 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49413 fi
49414
49415 COND_BUILD_DEBUG_UNICODE_0="#"
49416 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49417 COND_BUILD_DEBUG_UNICODE_0=""
49418 fi
49419
49420 COND_BUILD_DEBUG_UNICODE_1="#"
49421 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49422 COND_BUILD_DEBUG_UNICODE_1=""
49423 fi
49424
49425 COND_BUILD_RELEASE="#"
49426 if test "x$BUILD" = "xrelease" ; then
49427 COND_BUILD_RELEASE=""
49428 fi
49429
49430 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49431 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49432 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49433 fi
49434
49435 COND_BUILD_RELEASE_UNICODE_0="#"
49436 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49437 COND_BUILD_RELEASE_UNICODE_0=""
49438 fi
49439
49440 COND_BUILD_RELEASE_UNICODE_1="#"
49441 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49442 COND_BUILD_RELEASE_UNICODE_1=""
49443 fi
49444
49445 COND_DEBUG_FLAG_1="#"
49446 if test "x$DEBUG_FLAG" = "x1" ; then
49447 COND_DEBUG_FLAG_1=""
49448 fi
49449
49450 COND_DEBUG_INFO_0="#"
49451 if test "x$DEBUG_INFO" = "x0" ; then
49452 COND_DEBUG_INFO_0=""
49453 fi
49454
49455 COND_DEBUG_INFO_1="#"
49456 if test "x$DEBUG_INFO" = "x1" ; then
49457 COND_DEBUG_INFO_1=""
49458 fi
49459
49460 COND_DEPS_TRACKING_0="#"
49461 if test "x$DEPS_TRACKING" = "x0" ; then
49462 COND_DEPS_TRACKING_0=""
49463 fi
49464
49465 COND_DEPS_TRACKING_1="#"
49466 if test "x$DEPS_TRACKING" = "x1" ; then
49467 COND_DEPS_TRACKING_1=""
49468 fi
49469
49470 COND_GCC_PCH_1="#"
49471 if test "x$GCC_PCH" = "x1" ; then
49472 COND_GCC_PCH_1=""
49473 fi
49474
49475 COND_ICC_PCH_1="#"
49476 if test "x$ICC_PCH" = "x1" ; then
49477 COND_ICC_PCH_1=""
49478 fi
49479
49480 COND_MONOLITHIC_0="#"
49481 if test "x$MONOLITHIC" = "x0" ; then
49482 COND_MONOLITHIC_0=""
49483 fi
49484
49485 COND_MONOLITHIC_0_SHARED_0="#"
49486 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49487 COND_MONOLITHIC_0_SHARED_0=""
49488 fi
49489
49490 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49491 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49492 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49493 fi
49494
49495 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49496 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49497 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49498 fi
49499
49500 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49501 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49502 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49503 fi
49504
49505 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49506 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49507 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49508 fi
49509
49510 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49511 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49512 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49513 fi
49514
49515 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49516 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49517 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49518 fi
49519
49520 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49521 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49522 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49523 fi
49524
49525 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49526 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49527 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49528 fi
49529
49530 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49531 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49532 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49533 fi
49534
49535 COND_MONOLITHIC_0_SHARED_1="#"
49536 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49537 COND_MONOLITHIC_0_SHARED_1=""
49538 fi
49539
49540 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49541 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49542 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49543 fi
49544
49545 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49546 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49547 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49548 fi
49549
49550 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49551 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49552 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49553 fi
49554
49555 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49556 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49557 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49558 fi
49559
49560 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49561 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49562 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49563 fi
49564
49565 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49566 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49567 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49568 fi
49569
49570 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49571 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49572 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49573 fi
49574
49575 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49576 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49577 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49578 fi
49579
49580 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49581 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49582 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49583 fi
49584
49585 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49586 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49587 COND_MONOLITHIC_0_USE_MEDIA_1=""
49588 fi
49589
49590 COND_MONOLITHIC_0_USE_ODBC_1="#"
49591 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49592 COND_MONOLITHIC_0_USE_ODBC_1=""
49593 fi
49594
49595 COND_MONOLITHIC_1="#"
49596 if test "x$MONOLITHIC" = "x1" ; then
49597 COND_MONOLITHIC_1=""
49598 fi
49599
49600 COND_MONOLITHIC_1_SHARED_0="#"
49601 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49602 COND_MONOLITHIC_1_SHARED_0=""
49603 fi
49604
49605 COND_MONOLITHIC_1_SHARED_1="#"
49606 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49607 COND_MONOLITHIC_1_SHARED_1=""
49608 fi
49609
49610 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49611 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49612 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49613 fi
49614
49615 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49616 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49617 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49618 fi
49619
49620 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49621 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49622 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49623 fi
49624
49625 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49626 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49627 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49628 fi
49629
49630 COND_PLATFORM_MACOSX_1="#"
49631 if test "x$PLATFORM_MACOSX" = "x1" ; then
49632 COND_PLATFORM_MACOSX_1=""
49633 fi
49634
49635 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49636 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49637 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49638 fi
49639
49640 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49641 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49642 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49643 fi
49644
49645 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49646 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49647 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49648 fi
49649
49650 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49651 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49652 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49653 fi
49654
49655 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49656 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49657 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49658 fi
49659
49660 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49661 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49662 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49663 fi
49664
49665 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49666 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49667 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49668 fi
49669
49670 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49671 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49672 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49673 fi
49674
49675 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49676 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49677 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49678 fi
49679
49680 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49681 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49682 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49683 fi
49684
49685 COND_PLATFORM_MACOS_1="#"
49686 if test "x$PLATFORM_MACOS" = "x1" ; then
49687 COND_PLATFORM_MACOS_1=""
49688 fi
49689
49690 COND_PLATFORM_MAC_1="#"
49691 if test "x$PLATFORM_MAC" = "x1" ; then
49692 COND_PLATFORM_MAC_1=""
49693 fi
49694
49695 COND_PLATFORM_MSDOS_0="#"
49696 if test "x$PLATFORM_MSDOS" = "x0" ; then
49697 COND_PLATFORM_MSDOS_0=""
49698 fi
49699
49700 COND_PLATFORM_MSDOS_1="#"
49701 if test "x$PLATFORM_MSDOS" = "x1" ; then
49702 COND_PLATFORM_MSDOS_1=""
49703 fi
49704
49705 COND_PLATFORM_OS2_1="#"
49706 if test "x$PLATFORM_OS2" = "x1" ; then
49707 COND_PLATFORM_OS2_1=""
49708 fi
49709
49710 COND_PLATFORM_UNIX_0="#"
49711 if test "x$PLATFORM_UNIX" = "x0" ; then
49712 COND_PLATFORM_UNIX_0=""
49713 fi
49714
49715 COND_PLATFORM_UNIX_1="#"
49716 if test "x$PLATFORM_UNIX" = "x1" ; then
49717 COND_PLATFORM_UNIX_1=""
49718 fi
49719
49720 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49721 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49722 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49723 fi
49724
49725 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49726 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49727 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49728 fi
49729
49730 COND_PLATFORM_WIN32_0="#"
49731 if test "x$PLATFORM_WIN32" = "x0" ; then
49732 COND_PLATFORM_WIN32_0=""
49733 fi
49734
49735 COND_PLATFORM_WIN32_1="#"
49736 if test "x$PLATFORM_WIN32" = "x1" ; then
49737 COND_PLATFORM_WIN32_1=""
49738 fi
49739
49740 COND_SHARED_0="#"
49741 if test "x$SHARED" = "x0" ; then
49742 COND_SHARED_0=""
49743 fi
49744
49745 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49746 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49747 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49748 fi
49749
49750 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49751 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49752 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49753 fi
49754
49755 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49756 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49757 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49758 fi
49759
49760 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49761 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49762 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49763 fi
49764
49765 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49766 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49767 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49768 fi
49769
49770 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49771 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49772 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49773 fi
49774
49775 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49776 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49777 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49778 fi
49779
49780 COND_SHARED_0_USE_XRC_1="#"
49781 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49782 COND_SHARED_0_USE_XRC_1=""
49783 fi
49784
49785 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49786 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49787 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49788 fi
49789
49790 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49791 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49792 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49793 fi
49794
49795 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49796 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49797 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49798 fi
49799
49800 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49801 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49802 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49803 fi
49804
49805 COND_SHARED_1="#"
49806 if test "x$SHARED" = "x1" ; then
49807 COND_SHARED_1=""
49808 fi
49809
49810 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49811 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49812 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49813 fi
49814
49815 COND_SHARED_1_USE_XRC_1="#"
49816 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49817 COND_SHARED_1_USE_XRC_1=""
49818 fi
49819
49820 COND_TOOLKIT_="#"
49821 if test "x$TOOLKIT" = "x" ; then
49822 COND_TOOLKIT_=""
49823 fi
49824
49825 COND_TOOLKIT_COCOA="#"
49826 if test "x$TOOLKIT" = "xCOCOA" ; then
49827 COND_TOOLKIT_COCOA=""
49828 fi
49829
49830 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49831 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49832 COND_TOOLKIT_COCOA_USE_GUI_1=""
49833 fi
49834
49835 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49836 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49837 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49838 fi
49839
49840 COND_TOOLKIT_DFB="#"
49841 if test "x$TOOLKIT" = "xDFB" ; then
49842 COND_TOOLKIT_DFB=""
49843 fi
49844
49845 COND_TOOLKIT_DFB_USE_GUI_1="#"
49846 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49847 COND_TOOLKIT_DFB_USE_GUI_1=""
49848 fi
49849
49850 COND_TOOLKIT_GTK="#"
49851 if test "x$TOOLKIT" = "xGTK" ; then
49852 COND_TOOLKIT_GTK=""
49853 fi
49854
49855 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49856 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49857 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49858 fi
49859
49860 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49861 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49862 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49863 fi
49864
49865 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49866 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49867 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49868 fi
49869
49870 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49871 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49872 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49873 fi
49874
49875 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49876 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49877 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49878 fi
49879
49880 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49881 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49882 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49883 fi
49884
49885 COND_TOOLKIT_GTK_USE_GUI_1="#"
49886 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49887 COND_TOOLKIT_GTK_USE_GUI_1=""
49888 fi
49889
49890 COND_TOOLKIT_MAC="#"
49891 if test "x$TOOLKIT" = "xMAC" ; then
49892 COND_TOOLKIT_MAC=""
49893 fi
49894
49895 COND_TOOLKIT_MAC_USE_GUI_1="#"
49896 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49897 COND_TOOLKIT_MAC_USE_GUI_1=""
49898 fi
49899
49900 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49901 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49902 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49903 fi
49904
49905 COND_TOOLKIT_MGL="#"
49906 if test "x$TOOLKIT" = "xMGL" ; then
49907 COND_TOOLKIT_MGL=""
49908 fi
49909
49910 COND_TOOLKIT_MGL_USE_GUI_1="#"
49911 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49912 COND_TOOLKIT_MGL_USE_GUI_1=""
49913 fi
49914
49915 COND_TOOLKIT_MOTIF="#"
49916 if test "x$TOOLKIT" = "xMOTIF" ; then
49917 COND_TOOLKIT_MOTIF=""
49918 fi
49919
49920 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49921 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49922 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49923 fi
49924
49925 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49926 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49927 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49928 fi
49929
49930 COND_TOOLKIT_MSW="#"
49931 if test "x$TOOLKIT" = "xMSW" ; then
49932 COND_TOOLKIT_MSW=""
49933 fi
49934
49935 COND_TOOLKIT_MSW_USE_GUI_1="#"
49936 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49937 COND_TOOLKIT_MSW_USE_GUI_1=""
49938 fi
49939
49940 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49941 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49942 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49943 fi
49944
49945 COND_TOOLKIT_MSW_WXUNIV_0="#"
49946 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49947 COND_TOOLKIT_MSW_WXUNIV_0=""
49948 fi
49949
49950 COND_TOOLKIT_PM="#"
49951 if test "x$TOOLKIT" = "xPM" ; then
49952 COND_TOOLKIT_PM=""
49953 fi
49954
49955 COND_TOOLKIT_PM_USE_GUI_1="#"
49956 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49957 COND_TOOLKIT_PM_USE_GUI_1=""
49958 fi
49959
49960 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49961 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49962 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49963 fi
49964
49965 COND_TOOLKIT_WINCE="#"
49966 if test "x$TOOLKIT" = "xWINCE" ; then
49967 COND_TOOLKIT_WINCE=""
49968 fi
49969
49970 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49971 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49972 COND_TOOLKIT_WINCE_USE_GUI_1=""
49973 fi
49974
49975 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49976 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49977 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49978 fi
49979
49980 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49981 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49982 COND_TOOLKIT_WINCE_WXUNIV_0=""
49983 fi
49984
49985 COND_TOOLKIT_X11="#"
49986 if test "x$TOOLKIT" = "xX11" ; then
49987 COND_TOOLKIT_X11=""
49988 fi
49989
49990 COND_TOOLKIT_X11_USE_GUI_1="#"
49991 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49992 COND_TOOLKIT_X11_USE_GUI_1=""
49993 fi
49994
49995 COND_UNICODE_1="#"
49996 if test "x$UNICODE" = "x1" ; then
49997 COND_UNICODE_1=""
49998 fi
49999
50000 COND_USE_EXCEPTIONS_0="#"
50001 if test "x$USE_EXCEPTIONS" = "x0" ; then
50002 COND_USE_EXCEPTIONS_0=""
50003 fi
50004
50005 COND_USE_EXCEPTIONS_1="#"
50006 if test "x$USE_EXCEPTIONS" = "x1" ; then
50007 COND_USE_EXCEPTIONS_1=""
50008 fi
50009
50010 COND_USE_GUI_0="#"
50011 if test "x$USE_GUI" = "x0" ; then
50012 COND_USE_GUI_0=""
50013 fi
50014
50015 COND_USE_GUI_1="#"
50016 if test "x$USE_GUI" = "x1" ; then
50017 COND_USE_GUI_1=""
50018 fi
50019
50020 COND_USE_GUI_1_WXUNIV_0="#"
50021 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50022 COND_USE_GUI_1_WXUNIV_0=""
50023 fi
50024
50025 COND_USE_GUI_1_WXUNIV_1="#"
50026 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50027 COND_USE_GUI_1_WXUNIV_1=""
50028 fi
50029
50030 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50031 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50032 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50033 fi
50034
50035 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50036 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50037 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50038 fi
50039
50040 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50041 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50042 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50043 fi
50044
50045 COND_USE_ODBC_1="#"
50046 if test "x$USE_ODBC" = "x1" ; then
50047 COND_USE_ODBC_1=""
50048 fi
50049
50050 COND_USE_OPENGL_1="#"
50051 if test "x$USE_OPENGL" = "x1" ; then
50052 COND_USE_OPENGL_1=""
50053 fi
50054
50055 COND_USE_PCH_1="#"
50056 if test "x$USE_PCH" = "x1" ; then
50057 COND_USE_PCH_1=""
50058 fi
50059
50060 COND_USE_PLUGINS_0="#"
50061 if test "x$USE_PLUGINS" = "x0" ; then
50062 COND_USE_PLUGINS_0=""
50063 fi
50064
50065 COND_USE_RTTI_0="#"
50066 if test "x$USE_RTTI" = "x0" ; then
50067 COND_USE_RTTI_0=""
50068 fi
50069
50070 COND_USE_RTTI_1="#"
50071 if test "x$USE_RTTI" = "x1" ; then
50072 COND_USE_RTTI_1=""
50073 fi
50074
50075 COND_USE_SOSYMLINKS_1="#"
50076 if test "x$USE_SOSYMLINKS" = "x1" ; then
50077 COND_USE_SOSYMLINKS_1=""
50078 fi
50079
50080 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50081 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50082 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50083 fi
50084
50085 COND_USE_SOVERLINUX_1="#"
50086 if test "x$USE_SOVERLINUX" = "x1" ; then
50087 COND_USE_SOVERLINUX_1=""
50088 fi
50089
50090 COND_USE_SOVERSION_0="#"
50091 if test "x$USE_SOVERSION" = "x0" ; then
50092 COND_USE_SOVERSION_0=""
50093 fi
50094
50095 COND_USE_SOVERSOLARIS_1="#"
50096 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50097 COND_USE_SOVERSOLARIS_1=""
50098 fi
50099
50100 COND_USE_THREADS_0="#"
50101 if test "x$USE_THREADS" = "x0" ; then
50102 COND_USE_THREADS_0=""
50103 fi
50104
50105 COND_USE_THREADS_1="#"
50106 if test "x$USE_THREADS" = "x1" ; then
50107 COND_USE_THREADS_1=""
50108 fi
50109
50110 COND_USE_XRC_1="#"
50111 if test "x$USE_XRC" = "x1" ; then
50112 COND_USE_XRC_1=""
50113 fi
50114
50115 COND_WINDOWS_IMPLIB_1="#"
50116 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50117 COND_WINDOWS_IMPLIB_1=""
50118 fi
50119
50120 COND_WITH_PLUGIN_SDL_1="#"
50121 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50122 COND_WITH_PLUGIN_SDL_1=""
50123 fi
50124
50125 COND_WXUNIV_0="#"
50126 if test "x$WXUNIV" = "x0" ; then
50127 COND_WXUNIV_0=""
50128 fi
50129
50130 COND_WXUNIV_1="#"
50131 if test "x$WXUNIV" = "x1" ; then
50132 COND_WXUNIV_1=""
50133 fi
50134
50135 COND_WXUSE_EXPAT_BUILTIN="#"
50136 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50137 COND_WXUSE_EXPAT_BUILTIN=""
50138 fi
50139
50140 COND_WXUSE_LIBJPEG_BUILTIN="#"
50141 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50142 COND_WXUSE_LIBJPEG_BUILTIN=""
50143 fi
50144
50145 COND_WXUSE_LIBPNG_BUILTIN="#"
50146 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50147 COND_WXUSE_LIBPNG_BUILTIN=""
50148 fi
50149
50150 COND_WXUSE_LIBTIFF_BUILTIN="#"
50151 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50152 COND_WXUSE_LIBTIFF_BUILTIN=""
50153 fi
50154
50155 COND_WXUSE_ODBC_BUILTIN="#"
50156 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50157 COND_WXUSE_ODBC_BUILTIN=""
50158 fi
50159
50160 COND_WXUSE_REGEX_BUILTIN="#"
50161 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50162 COND_WXUSE_REGEX_BUILTIN=""
50163 fi
50164
50165 COND_WXUSE_ZLIB_BUILTIN="#"
50166 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50167 COND_WXUSE_ZLIB_BUILTIN=""
50168 fi
50169
50170
50171
50172 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50173 { { 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
50174 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;}
50175 { (exit 1); exit 1; }; }
50176 fi
50177
50178 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50179 { { 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
50180 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;}
50181 { (exit 1); exit 1; }; }
50182 fi
50183
50184
50185 if test $GCC_PCH = 1
50186 then
50187 if test "$wx_cv_gcc_pch_bug" = yes; then
50188 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50189 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50190 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50191 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50192 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50193 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50194 fi
50195
50196 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50197 fi
50198
50199
50200 if test "$wxUSE_MAC" = 1 ; then
50201 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50202 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50203 mv temp bk-deps
50204 chmod +x bk-deps
50205 fi
50206 fi
50207
50208 if test "$wxUSE_SHARED" = "yes"; then
50209
50210 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50211 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50212
50213 case "${host}" in
50214 *-pc-os2_emx | *-pc-os2-emx )
50215 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50216 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50217 cp -p ${srcdir}/src/os2/dllnames.sh .
50218 cp -p ${srcdir}/src/os2/dllar.sh .
50219 ;;
50220 esac
50221 else
50222
50223 EXE_LINKER="$CXX -o"
50224
50225 fi
50226 if test "$wxUSE_OMF" = "yes"; then
50227 case "${host}" in
50228 *-pc-os2_emx | *-pc-os2-emx )
50229 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50230 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50231 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50232 ;;
50233 esac
50234 fi
50235
50236 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50237
50238 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50239
50240
50241
50242
50243
50244
50245
50246
50247
50248
50249
50250
50251
50252
50253
50254
50255
50256
50257
50258
50259
50260
50261
50262
50263
50264
50265
50266
50267
50268
50269
50270
50271
50272
50273
50274
50275
50276
50277
50278
50279
50280
50281
50282
50283
50284
50285
50286
50287
50288
50289
50290
50291
50292
50293
50294
50295
50296
50297
50298
50299
50300 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50301 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50302 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50303 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50304 echo $ECHO_N "(cached) $ECHO_C" >&6
50305 else
50306 cat >conftest.make <<\_ACEOF
50307 all:
50308 @echo 'ac_maketemp="$(MAKE)"'
50309 _ACEOF
50310 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50311 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50312 if test -n "$ac_maketemp"; then
50313 eval ac_cv_prog_make_${ac_make}_set=yes
50314 else
50315 eval ac_cv_prog_make_${ac_make}_set=no
50316 fi
50317 rm -f conftest.make
50318 fi
50319 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50320 echo "$as_me:$LINENO: result: yes" >&5
50321 echo "${ECHO_T}yes" >&6
50322 SET_MAKE=
50323 else
50324 echo "$as_me:$LINENO: result: no" >&5
50325 echo "${ECHO_T}no" >&6
50326 SET_MAKE="MAKE=${MAKE-make}"
50327 fi
50328
50329
50330
50331 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50332
50333
50334 if test "$USE_WIN32" = 1; then
50335 ac_config_commands="$ac_config_commands
50336 rcdefs.h
50337 "
50338
50339 fi
50340
50341 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50342
50343
50344 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50345
50346
50347 ac_config_files="$ac_config_files version-script Makefile"
50348
50349
50350 ac_config_commands="$ac_config_commands wx-config"
50351
50352
50353
50354 if test "$wxWITH_SUBDIRS" != "no"; then
50355 if test "$wxUSE_GUI" = "yes"; then
50356 SUBDIRS="samples demos utils contrib"
50357 else SUBDIRS="samples utils"
50358 fi
50359
50360
50361
50362 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50363 if test "${with_cppunit_prefix+set}" = set; then
50364 withval="$with_cppunit_prefix"
50365 cppunit_config_prefix="$withval"
50366 else
50367 cppunit_config_prefix=""
50368 fi;
50369
50370 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50371 if test "${with_cppunit_exec_prefix+set}" = set; then
50372 withval="$with_cppunit_exec_prefix"
50373 cppunit_config_exec_prefix="$withval"
50374 else
50375 cppunit_config_exec_prefix=""
50376 fi;
50377
50378 if test x$cppunit_config_exec_prefix != x ; then
50379 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50380 if test x${CPPUNIT_CONFIG+set} != xset ; then
50381 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50382 fi
50383 fi
50384 if test x$cppunit_config_prefix != x ; then
50385 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50386 if test x${CPPUNIT_CONFIG+set} != xset ; then
50387 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50388 fi
50389 fi
50390
50391 # Extract the first word of "cppunit-config", so it can be a program name with args.
50392 set dummy cppunit-config; ac_word=$2
50393 echo "$as_me:$LINENO: checking for $ac_word" >&5
50394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50395 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50396 echo $ECHO_N "(cached) $ECHO_C" >&6
50397 else
50398 case $CPPUNIT_CONFIG in
50399 [\\/]* | ?:[\\/]*)
50400 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50401 ;;
50402 *)
50403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50404 for as_dir in $PATH
50405 do
50406 IFS=$as_save_IFS
50407 test -z "$as_dir" && as_dir=.
50408 for ac_exec_ext in '' $ac_executable_extensions; do
50409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50410 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50412 break 2
50413 fi
50414 done
50415 done
50416
50417 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50418 ;;
50419 esac
50420 fi
50421 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50422
50423 if test -n "$CPPUNIT_CONFIG"; then
50424 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50425 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50426 else
50427 echo "$as_me:$LINENO: result: no" >&5
50428 echo "${ECHO_T}no" >&6
50429 fi
50430
50431 cppunit_version_min=1.8.0
50432
50433 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50434 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50435 no_cppunit=""
50436 if test "$CPPUNIT_CONFIG" = "no" ; then
50437 echo "$as_me:$LINENO: result: no" >&5
50438 echo "${ECHO_T}no" >&6
50439 no_cppunit=yes
50440 else
50441 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50442 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50443 cppunit_version=`$CPPUNIT_CONFIG --version`
50444
50445 cppunit_major_version=`echo $cppunit_version | \
50446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50447 cppunit_minor_version=`echo $cppunit_version | \
50448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50449 cppunit_micro_version=`echo $cppunit_version | \
50450 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50451
50452 cppunit_major_min=`echo $cppunit_version_min | \
50453 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50454 cppunit_minor_min=`echo $cppunit_version_min | \
50455 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50456 cppunit_micro_min=`echo $cppunit_version_min | \
50457 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50458
50459 cppunit_version_proper=`expr \
50460 $cppunit_major_version \> $cppunit_major_min \| \
50461 $cppunit_major_version \= $cppunit_major_min \& \
50462 $cppunit_minor_version \> $cppunit_minor_min \| \
50463 $cppunit_major_version \= $cppunit_major_min \& \
50464 $cppunit_minor_version \= $cppunit_minor_min \& \
50465 $cppunit_micro_version \>= $cppunit_micro_min `
50466
50467 if test "$cppunit_version_proper" = "1" ; then
50468 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50469 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50470 else
50471 echo "$as_me:$LINENO: result: no" >&5
50472 echo "${ECHO_T}no" >&6
50473 no_cppunit=yes
50474 fi
50475 fi
50476
50477 if test "x$no_cppunit" = x ; then
50478 SUBDIRS="$SUBDIRS tests"
50479 else
50480 CPPUNIT_CFLAGS=""
50481 CPPUNIT_LIBS=""
50482 :
50483 fi
50484
50485
50486
50487
50488
50489 for subdir in `echo $SUBDIRS`; do
50490 if test -d ${srcdir}/${subdir} ; then
50491 if test "$wxUSE_GUI" = "yes"; then
50492 if test ${subdir} = "samples"; then
50493 makefiles="samples/Makefile.in $makefiles"
50494 for sample in `echo $SAMPLES_SUBDIRS`; do
50495 if test -d $srcdir/samples/$sample; then
50496 makefiles="samples/$sample/Makefile.in $makefiles"
50497 fi
50498 done
50499 else
50500 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50501 eval "disabled=\$$disabled_var"
50502 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50503 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50504 fi
50505 else if test ${subdir} = "samples"; then
50506 makefiles="samples/Makefile.in samples/console/Makefile.in"
50507 elif test ${subdir} = "utils"; then
50508 makefiles=""
50509 for util in HelpGen tex2rtf ; do
50510 if test -d $srcdir/utils/$util ; then
50511 makefiles="utils/$util/Makefile.in \
50512 utils/$util/src/Makefile.in \
50513 $makefiles"
50514 fi
50515 done
50516 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50517 fi
50518 fi
50519
50520 for mkin in $makefiles ; do
50521 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50522 ac_config_files="$ac_config_files $mk"
50523
50524 done
50525 fi
50526 done
50527 fi
50528 cat >confcache <<\_ACEOF
50529 # This file is a shell script that caches the results of configure
50530 # tests run on this system so they can be shared between configure
50531 # scripts and configure runs, see configure's option --config-cache.
50532 # It is not useful on other systems. If it contains results you don't
50533 # want to keep, you may remove or edit it.
50534 #
50535 # config.status only pays attention to the cache file if you give it
50536 # the --recheck option to rerun configure.
50537 #
50538 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50539 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50540 # following values.
50541
50542 _ACEOF
50543
50544 # The following way of writing the cache mishandles newlines in values,
50545 # but we know of no workaround that is simple, portable, and efficient.
50546 # So, don't put newlines in cache variables' values.
50547 # Ultrix sh set writes to stderr and can't be redirected directly,
50548 # and sets the high bit in the cache file unless we assign to the vars.
50549 {
50550 (set) 2>&1 |
50551 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50552 *ac_space=\ *)
50553 # `set' does not quote correctly, so add quotes (double-quote
50554 # substitution turns \\\\ into \\, and sed turns \\ into \).
50555 sed -n \
50556 "s/'/'\\\\''/g;
50557 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50558 ;;
50559 *)
50560 # `set' quotes correctly as required by POSIX, so do not add quotes.
50561 sed -n \
50562 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50563 ;;
50564 esac;
50565 } |
50566 sed '
50567 t clear
50568 : clear
50569 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50570 t end
50571 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50572 : end' >>confcache
50573 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50574 if test -w $cache_file; then
50575 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50576 cat confcache >$cache_file
50577 else
50578 echo "not updating unwritable cache $cache_file"
50579 fi
50580 fi
50581 rm -f confcache
50582
50583 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50584 # Let make expand exec_prefix.
50585 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50586
50587 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50588 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50589 # trailing colons and then remove the whole line if VPATH becomes empty
50590 # (actually we leave an empty line to preserve line numbers).
50591 if test "x$srcdir" = x.; then
50592 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50593 s/:*\$(srcdir):*/:/;
50594 s/:*\${srcdir}:*/:/;
50595 s/:*@srcdir@:*/:/;
50596 s/^\([^=]*=[ ]*\):*/\1/;
50597 s/:*$//;
50598 s/^[^=]*=[ ]*$//;
50599 }'
50600 fi
50601
50602 DEFS=-DHAVE_CONFIG_H
50603
50604 ac_libobjs=
50605 ac_ltlibobjs=
50606 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50607 # 1. Remove the extension, and $U if already installed.
50608 ac_i=`echo "$ac_i" |
50609 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50610 # 2. Add them.
50611 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50612 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50613 done
50614 LIBOBJS=$ac_libobjs
50615
50616 LTLIBOBJS=$ac_ltlibobjs
50617
50618
50619
50620 : ${CONFIG_STATUS=./config.status}
50621 ac_clean_files_save=$ac_clean_files
50622 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50623 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50624 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50625 cat >$CONFIG_STATUS <<_ACEOF
50626 #! $SHELL
50627 # Generated by $as_me.
50628 # Run this file to recreate the current configuration.
50629 # Compiler output produced by configure, useful for debugging
50630 # configure, is in config.log if it exists.
50631
50632 debug=false
50633 ac_cs_recheck=false
50634 ac_cs_silent=false
50635 SHELL=\${CONFIG_SHELL-$SHELL}
50636 _ACEOF
50637
50638 cat >>$CONFIG_STATUS <<\_ACEOF
50639 ## --------------------- ##
50640 ## M4sh Initialization. ##
50641 ## --------------------- ##
50642
50643 # Be Bourne compatible
50644 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50645 emulate sh
50646 NULLCMD=:
50647 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50648 # is contrary to our usage. Disable this feature.
50649 alias -g '${1+"$@"}'='"$@"'
50650 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50651 set -o posix
50652 fi
50653 DUALCASE=1; export DUALCASE # for MKS sh
50654
50655 # Support unset when possible.
50656 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50657 as_unset=unset
50658 else
50659 as_unset=false
50660 fi
50661
50662
50663 # Work around bugs in pre-3.0 UWIN ksh.
50664 $as_unset ENV MAIL MAILPATH
50665 PS1='$ '
50666 PS2='> '
50667 PS4='+ '
50668
50669 # NLS nuisances.
50670 for as_var in \
50671 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50672 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50673 LC_TELEPHONE LC_TIME
50674 do
50675 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50676 eval $as_var=C; export $as_var
50677 else
50678 $as_unset $as_var
50679 fi
50680 done
50681
50682 # Required to use basename.
50683 if expr a : '\(a\)' >/dev/null 2>&1; then
50684 as_expr=expr
50685 else
50686 as_expr=false
50687 fi
50688
50689 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50690 as_basename=basename
50691 else
50692 as_basename=false
50693 fi
50694
50695
50696 # Name of the executable.
50697 as_me=`$as_basename "$0" ||
50698 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50699 X"$0" : 'X\(//\)$' \| \
50700 X"$0" : 'X\(/\)$' \| \
50701 . : '\(.\)' 2>/dev/null ||
50702 echo X/"$0" |
50703 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50704 /^X\/\(\/\/\)$/{ s//\1/; q; }
50705 /^X\/\(\/\).*/{ s//\1/; q; }
50706 s/.*/./; q'`
50707
50708
50709 # PATH needs CR, and LINENO needs CR and PATH.
50710 # Avoid depending upon Character Ranges.
50711 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50712 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50713 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50714 as_cr_digits='0123456789'
50715 as_cr_alnum=$as_cr_Letters$as_cr_digits
50716
50717 # The user is always right.
50718 if test "${PATH_SEPARATOR+set}" != set; then
50719 echo "#! /bin/sh" >conf$$.sh
50720 echo "exit 0" >>conf$$.sh
50721 chmod +x conf$$.sh
50722 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50723 PATH_SEPARATOR=';'
50724 else
50725 PATH_SEPARATOR=:
50726 fi
50727 rm -f conf$$.sh
50728 fi
50729
50730
50731 as_lineno_1=$LINENO
50732 as_lineno_2=$LINENO
50733 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50734 test "x$as_lineno_1" != "x$as_lineno_2" &&
50735 test "x$as_lineno_3" = "x$as_lineno_2" || {
50736 # Find who we are. Look in the path if we contain no path at all
50737 # relative or not.
50738 case $0 in
50739 *[\\/]* ) as_myself=$0 ;;
50740 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50741 for as_dir in $PATH
50742 do
50743 IFS=$as_save_IFS
50744 test -z "$as_dir" && as_dir=.
50745 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50746 done
50747
50748 ;;
50749 esac
50750 # We did not find ourselves, most probably we were run as `sh COMMAND'
50751 # in which case we are not to be found in the path.
50752 if test "x$as_myself" = x; then
50753 as_myself=$0
50754 fi
50755 if test ! -f "$as_myself"; then
50756 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50757 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50758 { (exit 1); exit 1; }; }
50759 fi
50760 case $CONFIG_SHELL in
50761 '')
50762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50763 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50764 do
50765 IFS=$as_save_IFS
50766 test -z "$as_dir" && as_dir=.
50767 for as_base in sh bash ksh sh5; do
50768 case $as_dir in
50769 /*)
50770 if ("$as_dir/$as_base" -c '
50771 as_lineno_1=$LINENO
50772 as_lineno_2=$LINENO
50773 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50774 test "x$as_lineno_1" != "x$as_lineno_2" &&
50775 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50776 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50777 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50778 CONFIG_SHELL=$as_dir/$as_base
50779 export CONFIG_SHELL
50780 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50781 fi;;
50782 esac
50783 done
50784 done
50785 ;;
50786 esac
50787
50788 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50789 # uniformly replaced by the line number. The first 'sed' inserts a
50790 # line-number line before each line; the second 'sed' does the real
50791 # work. The second script uses 'N' to pair each line-number line
50792 # with the numbered line, and appends trailing '-' during
50793 # substitution so that $LINENO is not a special case at line end.
50794 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50795 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50796 sed '=' <$as_myself |
50797 sed '
50798 N
50799 s,$,-,
50800 : loop
50801 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50802 t loop
50803 s,-$,,
50804 s,^['$as_cr_digits']*\n,,
50805 ' >$as_me.lineno &&
50806 chmod +x $as_me.lineno ||
50807 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50808 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50809 { (exit 1); exit 1; }; }
50810
50811 # Don't try to exec as it changes $[0], causing all sort of problems
50812 # (the dirname of $[0] is not the place where we might find the
50813 # original and so on. Autoconf is especially sensible to this).
50814 . ./$as_me.lineno
50815 # Exit status is that of the last command.
50816 exit
50817 }
50818
50819
50820 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50821 *c*,-n*) ECHO_N= ECHO_C='
50822 ' ECHO_T=' ' ;;
50823 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50824 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50825 esac
50826
50827 if expr a : '\(a\)' >/dev/null 2>&1; then
50828 as_expr=expr
50829 else
50830 as_expr=false
50831 fi
50832
50833 rm -f conf$$ conf$$.exe conf$$.file
50834 echo >conf$$.file
50835 if ln -s conf$$.file conf$$ 2>/dev/null; then
50836 # We could just check for DJGPP; but this test a) works b) is more generic
50837 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50838 if test -f conf$$.exe; then
50839 # Don't use ln at all; we don't have any links
50840 as_ln_s='cp -p'
50841 else
50842 as_ln_s='ln -s'
50843 fi
50844 elif ln conf$$.file conf$$ 2>/dev/null; then
50845 as_ln_s=ln
50846 else
50847 as_ln_s='cp -p'
50848 fi
50849 rm -f conf$$ conf$$.exe conf$$.file
50850
50851 if mkdir -p . 2>/dev/null; then
50852 as_mkdir_p=:
50853 else
50854 test -d ./-p && rmdir ./-p
50855 as_mkdir_p=false
50856 fi
50857
50858 as_executable_p="test -f"
50859
50860 # Sed expression to map a string onto a valid CPP name.
50861 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50862
50863 # Sed expression to map a string onto a valid variable name.
50864 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50865
50866
50867 # IFS
50868 # We need space, tab and new line, in precisely that order.
50869 as_nl='
50870 '
50871 IFS=" $as_nl"
50872
50873 # CDPATH.
50874 $as_unset CDPATH
50875
50876 exec 6>&1
50877
50878 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50879 # report actual input values of CONFIG_FILES etc. instead of their
50880 # values after options handling. Logging --version etc. is OK.
50881 exec 5>>config.log
50882 {
50883 echo
50884 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50885 ## Running $as_me. ##
50886 _ASBOX
50887 } >&5
50888 cat >&5 <<_CSEOF
50889
50890 This file was extended by wxWidgets $as_me 2.7.1, which was
50891 generated by GNU Autoconf 2.59. Invocation command line was
50892
50893 CONFIG_FILES = $CONFIG_FILES
50894 CONFIG_HEADERS = $CONFIG_HEADERS
50895 CONFIG_LINKS = $CONFIG_LINKS
50896 CONFIG_COMMANDS = $CONFIG_COMMANDS
50897 $ $0 $@
50898
50899 _CSEOF
50900 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50901 echo >&5
50902 _ACEOF
50903
50904 # Files that config.status was made for.
50905 if test -n "$ac_config_files"; then
50906 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50907 fi
50908
50909 if test -n "$ac_config_headers"; then
50910 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50911 fi
50912
50913 if test -n "$ac_config_links"; then
50914 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50915 fi
50916
50917 if test -n "$ac_config_commands"; then
50918 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50919 fi
50920
50921 cat >>$CONFIG_STATUS <<\_ACEOF
50922
50923 ac_cs_usage="\
50924 \`$as_me' instantiates files from templates according to the
50925 current configuration.
50926
50927 Usage: $0 [OPTIONS] [FILE]...
50928
50929 -h, --help print this help, then exit
50930 -V, --version print version number, then exit
50931 -q, --quiet do not print progress messages
50932 -d, --debug don't remove temporary files
50933 --recheck update $as_me by reconfiguring in the same conditions
50934 --file=FILE[:TEMPLATE]
50935 instantiate the configuration file FILE
50936 --header=FILE[:TEMPLATE]
50937 instantiate the configuration header FILE
50938
50939 Configuration files:
50940 $config_files
50941
50942 Configuration headers:
50943 $config_headers
50944
50945 Configuration commands:
50946 $config_commands
50947
50948 Report bugs to <bug-autoconf@gnu.org>."
50949 _ACEOF
50950
50951 cat >>$CONFIG_STATUS <<_ACEOF
50952 ac_cs_version="\\
50953 wxWidgets config.status 2.7.1
50954 configured by $0, generated by GNU Autoconf 2.59,
50955 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50956
50957 Copyright (C) 2003 Free Software Foundation, Inc.
50958 This config.status script is free software; the Free Software Foundation
50959 gives unlimited permission to copy, distribute and modify it."
50960 srcdir=$srcdir
50961 INSTALL="$INSTALL"
50962 _ACEOF
50963
50964 cat >>$CONFIG_STATUS <<\_ACEOF
50965 # If no file are specified by the user, then we need to provide default
50966 # value. By we need to know if files were specified by the user.
50967 ac_need_defaults=:
50968 while test $# != 0
50969 do
50970 case $1 in
50971 --*=*)
50972 ac_option=`expr "x$1" : 'x\([^=]*\)='`
50973 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
50974 ac_shift=:
50975 ;;
50976 -*)
50977 ac_option=$1
50978 ac_optarg=$2
50979 ac_shift=shift
50980 ;;
50981 *) # This is not an option, so the user has probably given explicit
50982 # arguments.
50983 ac_option=$1
50984 ac_need_defaults=false;;
50985 esac
50986
50987 case $ac_option in
50988 # Handling of the options.
50989 _ACEOF
50990 cat >>$CONFIG_STATUS <<\_ACEOF
50991 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50992 ac_cs_recheck=: ;;
50993 --version | --vers* | -V )
50994 echo "$ac_cs_version"; exit 0 ;;
50995 --he | --h)
50996 # Conflict between --help and --header
50997 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50998 Try \`$0 --help' for more information." >&5
50999 echo "$as_me: error: ambiguous option: $1
51000 Try \`$0 --help' for more information." >&2;}
51001 { (exit 1); exit 1; }; };;
51002 --help | --hel | -h )
51003 echo "$ac_cs_usage"; exit 0 ;;
51004 --debug | --d* | -d )
51005 debug=: ;;
51006 --file | --fil | --fi | --f )
51007 $ac_shift
51008 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51009 ac_need_defaults=false;;
51010 --header | --heade | --head | --hea )
51011 $ac_shift
51012 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51013 ac_need_defaults=false;;
51014 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51015 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51016 ac_cs_silent=: ;;
51017
51018 # This is an error.
51019 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51020 Try \`$0 --help' for more information." >&5
51021 echo "$as_me: error: unrecognized option: $1
51022 Try \`$0 --help' for more information." >&2;}
51023 { (exit 1); exit 1; }; } ;;
51024
51025 *) ac_config_targets="$ac_config_targets $1" ;;
51026
51027 esac
51028 shift
51029 done
51030
51031 ac_configure_extra_args=
51032
51033 if $ac_cs_silent; then
51034 exec 6>/dev/null
51035 ac_configure_extra_args="$ac_configure_extra_args --silent"
51036 fi
51037
51038 _ACEOF
51039 cat >>$CONFIG_STATUS <<_ACEOF
51040 if \$ac_cs_recheck; then
51041 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51042 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51043 fi
51044
51045 _ACEOF
51046
51047 cat >>$CONFIG_STATUS <<_ACEOF
51048 #
51049 # INIT-COMMANDS section.
51050 #
51051
51052
51053 CPP="$CPP"
51054 infile="$srcdir/include/wx/msw/genrcdefs.h"
51055 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51056
51057
51058 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51059 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51060 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51061 LN_S="${LN_S}"
51062
51063
51064 _ACEOF
51065
51066
51067
51068 cat >>$CONFIG_STATUS <<\_ACEOF
51069 for ac_config_target in $ac_config_targets
51070 do
51071 case "$ac_config_target" in
51072 # Handling of arguments.
51073 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51074 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51075 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
51076 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51077 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
51078 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51079 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51080 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51081 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51082 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51083 { (exit 1); exit 1; }; };;
51084 esac
51085 done
51086
51087 # If the user did not use the arguments to specify the items to instantiate,
51088 # then the envvar interface is used. Set only those that are not.
51089 # We use the long form for the default assignment because of an extremely
51090 # bizarre bug on SunOS 4.1.3.
51091 if $ac_need_defaults; then
51092 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51093 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51094 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51095 fi
51096
51097 # Have a temporary directory for convenience. Make it in the build tree
51098 # simply because there is no reason to put it here, and in addition,
51099 # creating and moving files from /tmp can sometimes cause problems.
51100 # Create a temporary directory, and hook for its removal unless debugging.
51101 $debug ||
51102 {
51103 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51104 trap '{ (exit 1); exit 1; }' 1 2 13 15
51105 }
51106
51107 # Create a (secure) tmp directory for tmp files.
51108
51109 {
51110 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51111 test -n "$tmp" && test -d "$tmp"
51112 } ||
51113 {
51114 tmp=./confstat$$-$RANDOM
51115 (umask 077 && mkdir $tmp)
51116 } ||
51117 {
51118 echo "$me: cannot create a temporary directory in ." >&2
51119 { (exit 1); exit 1; }
51120 }
51121
51122 _ACEOF
51123
51124 cat >>$CONFIG_STATUS <<_ACEOF
51125
51126 #
51127 # CONFIG_FILES section.
51128 #
51129
51130 # No need to generate the scripts if there are no CONFIG_FILES.
51131 # This happens for instance when ./config.status config.h
51132 if test -n "\$CONFIG_FILES"; then
51133 # Protect against being on the right side of a sed subst in config.status.
51134 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51135 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51136 s,@SHELL@,$SHELL,;t t
51137 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51138 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51139 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51140 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51141 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51142 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51143 s,@exec_prefix@,$exec_prefix,;t t
51144 s,@prefix@,$prefix,;t t
51145 s,@program_transform_name@,$program_transform_name,;t t
51146 s,@bindir@,$bindir,;t t
51147 s,@sbindir@,$sbindir,;t t
51148 s,@libexecdir@,$libexecdir,;t t
51149 s,@datadir@,$datadir,;t t
51150 s,@sysconfdir@,$sysconfdir,;t t
51151 s,@sharedstatedir@,$sharedstatedir,;t t
51152 s,@localstatedir@,$localstatedir,;t t
51153 s,@libdir@,$libdir,;t t
51154 s,@includedir@,$includedir,;t t
51155 s,@oldincludedir@,$oldincludedir,;t t
51156 s,@infodir@,$infodir,;t t
51157 s,@mandir@,$mandir,;t t
51158 s,@build_alias@,$build_alias,;t t
51159 s,@host_alias@,$host_alias,;t t
51160 s,@target_alias@,$target_alias,;t t
51161 s,@DEFS@,$DEFS,;t t
51162 s,@ECHO_C@,$ECHO_C,;t t
51163 s,@ECHO_N@,$ECHO_N,;t t
51164 s,@ECHO_T@,$ECHO_T,;t t
51165 s,@LIBS@,$LIBS,;t t
51166 s,@build@,$build,;t t
51167 s,@build_cpu@,$build_cpu,;t t
51168 s,@build_vendor@,$build_vendor,;t t
51169 s,@build_os@,$build_os,;t t
51170 s,@host@,$host,;t t
51171 s,@host_cpu@,$host_cpu,;t t
51172 s,@host_vendor@,$host_vendor,;t t
51173 s,@host_os@,$host_os,;t t
51174 s,@target@,$target,;t t
51175 s,@target_cpu@,$target_cpu,;t t
51176 s,@target_vendor@,$target_vendor,;t t
51177 s,@target_os@,$target_os,;t t
51178 s,@CC@,$CC,;t t
51179 s,@CFLAGS@,$CFLAGS,;t t
51180 s,@LDFLAGS@,$LDFLAGS,;t t
51181 s,@CPPFLAGS@,$CPPFLAGS,;t t
51182 s,@ac_ct_CC@,$ac_ct_CC,;t t
51183 s,@EXEEXT@,$EXEEXT,;t t
51184 s,@OBJEXT@,$OBJEXT,;t t
51185 s,@CPP@,$CPP,;t t
51186 s,@EGREP@,$EGREP,;t t
51187 s,@CXX@,$CXX,;t t
51188 s,@CXXFLAGS@,$CXXFLAGS,;t t
51189 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51190 s,@RANLIB@,$RANLIB,;t t
51191 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51192 s,@AR@,$AR,;t t
51193 s,@ac_ct_AR@,$ac_ct_AR,;t t
51194 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51195 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51196 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51197 s,@STRIP@,$STRIP,;t t
51198 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51199 s,@WINDRES@,$WINDRES,;t t
51200 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51201 s,@DLLTOOL@,$DLLTOOL,;t t
51202 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51203 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51204 s,@LN_S@,$LN_S,;t t
51205 s,@CXXCPP@,$CXXCPP,;t t
51206 s,@subdirs@,$subdirs,;t t
51207 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51208 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51209 s,@GTK_LIBS@,$GTK_LIBS,;t t
51210 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51211 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51212 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51213 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51214 s,@X_CFLAGS@,$X_CFLAGS,;t t
51215 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51216 s,@X_LIBS@,$X_LIBS,;t t
51217 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51218 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51219 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51220 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51221 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51222 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51223 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51224 s,@REZ@,$REZ,;t t
51225 s,@DEREZ@,$DEREZ,;t t
51226 s,@SETFILE@,$SETFILE,;t t
51227 s,@LIBICONV@,$LIBICONV,;t t
51228 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51229 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51230 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51231 s,@SDL_LIBS@,$SDL_LIBS,;t t
51232 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51233 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51234 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51235 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51236 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51237 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51238 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51239 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51240 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51241 s,@GST_LIBS@,$GST_LIBS,;t t
51242 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51243 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51244 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51245 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51246 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51247 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51248 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51249 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51250 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51251 s,@VENDOR@,$VENDOR,;t t
51252 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51253 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51254 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51255 s,@WXUNIV@,$WXUNIV,;t t
51256 s,@MONOLITHIC@,$MONOLITHIC,;t t
51257 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51258 s,@EXTRALIBS@,$EXTRALIBS,;t t
51259 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51260 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51261 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51262 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51263 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51264 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51265 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51266 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51267 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51268 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51269 s,@UNICODE@,$UNICODE,;t t
51270 s,@BUILD@,$BUILD,;t t
51271 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51272 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51273 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51274 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51275 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51276 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51277 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51278 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51279 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51280 s,@SET_MAKE@,$SET_MAKE,;t t
51281 s,@MAKE_SET@,$MAKE_SET,;t t
51282 s,@NM@,$NM,;t t
51283 s,@ac_ct_NM@,$ac_ct_NM,;t t
51284 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51285 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51286 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51287 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51288 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51289 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51290 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51291 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51292 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51293 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51294 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51295 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51296 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51297 s,@LIBPREFIX@,$LIBPREFIX,;t t
51298 s,@LIBEXT@,$LIBEXT,;t t
51299 s,@DLLPREFIX@,$DLLPREFIX,;t t
51300 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51301 s,@dlldir@,$dlldir,;t t
51302 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51303 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51304 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51305 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51306 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51307 s,@PIC_FLAG@,$PIC_FLAG,;t t
51308 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51309 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51310 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51311 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51312 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51313 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51314 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51315 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51316 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51317 s,@GCC_PCH@,$GCC_PCH,;t t
51318 s,@ICC_PCH@,$ICC_PCH,;t t
51319 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51320 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51321 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51322 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51323 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51324 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51325 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51326 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51327 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51328 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51329 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51330 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51331 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51332 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51333 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51334 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51335 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51336 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51337 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51338 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51339 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
51340 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
51341 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
51342 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
51343 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51344 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51345 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51346 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51347 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51348 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51349 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
51350 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
51351 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
51352 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
51353 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51354 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51355 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51356 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51357 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51358 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51359 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51360 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51361 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51362 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51363 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51364 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51365 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51366 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51367 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51368 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51369 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51370 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51371 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
51372 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51373 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51374 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51375 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51376 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51377 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51378 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51379 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51380 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51381 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51382 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51383 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51384 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51385 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51386 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51387 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51388 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51389 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51390 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51391 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51392 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51393 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51394 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51395 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51396 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51397 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51398 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51399 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51400 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51401 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51402 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51403 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51404 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51405 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51406 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51407 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51408 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51409 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51410 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51411 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51412 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51413 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
51414 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51415 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51416 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51417 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51418 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51419 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51420 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51421 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51422 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51423 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51424 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51425 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51426 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51427 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51428 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51429 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51430 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51431 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51432 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51433 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51434 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51435 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51436 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51437 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51438 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51439 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51440 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51441 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51442 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51443 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51444 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51445 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51446 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51447 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51448 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51449 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51450 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51451 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51452 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51453 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51454 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51455 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51456 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51457 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51458 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51459 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51460 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51461 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51462 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51463 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51464 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51465 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51466 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51467 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51468 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51469 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51470 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51471 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51472 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51473 s,@SHARED@,$SHARED,;t t
51474 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51475 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51476 s,@USE_GUI@,$USE_GUI,;t t
51477 s,@AFMINSTALL@,$AFMINSTALL,;t t
51478 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51479 s,@TOOLKIT@,$TOOLKIT,;t t
51480 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51481 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51482 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51483 s,@cross_compiling@,$cross_compiling,;t t
51484 s,@WIDGET_SET@,$WIDGET_SET,;t t
51485 s,@WX_RELEASE@,$WX_RELEASE,;t t
51486 s,@WX_VERSION@,$WX_VERSION,;t t
51487 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51488 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51489 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51490 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51491 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51492 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51493 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51494 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51495 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51496 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51497 s,@EXE_LINKER@,$EXE_LINKER,;t t
51498 s,@GUIDIST@,$GUIDIST,;t t
51499 s,@DISTDIR@,$DISTDIR,;t t
51500 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51501 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51502 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51503 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51504 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51505 s,@RESCOMP@,$RESCOMP,;t t
51506 s,@RESFLAGS@,$RESFLAGS,;t t
51507 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51508 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51509 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51510 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51511 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51512 s,@MACSETFILE@,$MACSETFILE,;t t
51513 s,@GCC@,$GCC,;t t
51514 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51515 s,@LIBOBJS@,$LIBOBJS,;t t
51516 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51517 CEOF
51518
51519 _ACEOF
51520
51521 cat >>$CONFIG_STATUS <<\_ACEOF
51522 # Split the substitutions into bite-sized pieces for seds with
51523 # small command number limits, like on Digital OSF/1 and HP-UX.
51524 ac_max_sed_lines=48
51525 ac_sed_frag=1 # Number of current file.
51526 ac_beg=1 # First line for current file.
51527 ac_end=$ac_max_sed_lines # Line after last line for current file.
51528 ac_more_lines=:
51529 ac_sed_cmds=
51530 while $ac_more_lines; do
51531 if test $ac_beg -gt 1; then
51532 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51533 else
51534 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51535 fi
51536 if test ! -s $tmp/subs.frag; then
51537 ac_more_lines=false
51538 else
51539 # The purpose of the label and of the branching condition is to
51540 # speed up the sed processing (if there are no `@' at all, there
51541 # is no need to browse any of the substitutions).
51542 # These are the two extra sed commands mentioned above.
51543 (echo ':t
51544 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51545 if test -z "$ac_sed_cmds"; then
51546 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51547 else
51548 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51549 fi
51550 ac_sed_frag=`expr $ac_sed_frag + 1`
51551 ac_beg=$ac_end
51552 ac_end=`expr $ac_end + $ac_max_sed_lines`
51553 fi
51554 done
51555 if test -z "$ac_sed_cmds"; then
51556 ac_sed_cmds=cat
51557 fi
51558 fi # test -n "$CONFIG_FILES"
51559
51560 _ACEOF
51561 cat >>$CONFIG_STATUS <<\_ACEOF
51562 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51563 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51564 case $ac_file in
51565 - | *:- | *:-:* ) # input from stdin
51566 cat >$tmp/stdin
51567 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51568 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51569 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51570 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51571 * ) ac_file_in=$ac_file.in ;;
51572 esac
51573
51574 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51575 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51576 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51577 X"$ac_file" : 'X\(//\)[^/]' \| \
51578 X"$ac_file" : 'X\(//\)$' \| \
51579 X"$ac_file" : 'X\(/\)' \| \
51580 . : '\(.\)' 2>/dev/null ||
51581 echo X"$ac_file" |
51582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51583 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51584 /^X\(\/\/\)$/{ s//\1/; q; }
51585 /^X\(\/\).*/{ s//\1/; q; }
51586 s/.*/./; q'`
51587 { if $as_mkdir_p; then
51588 mkdir -p "$ac_dir"
51589 else
51590 as_dir="$ac_dir"
51591 as_dirs=
51592 while test ! -d "$as_dir"; do
51593 as_dirs="$as_dir $as_dirs"
51594 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51595 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51596 X"$as_dir" : 'X\(//\)[^/]' \| \
51597 X"$as_dir" : 'X\(//\)$' \| \
51598 X"$as_dir" : 'X\(/\)' \| \
51599 . : '\(.\)' 2>/dev/null ||
51600 echo X"$as_dir" |
51601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51602 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51603 /^X\(\/\/\)$/{ s//\1/; q; }
51604 /^X\(\/\).*/{ s//\1/; q; }
51605 s/.*/./; q'`
51606 done
51607 test ! -n "$as_dirs" || mkdir $as_dirs
51608 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51609 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51610 { (exit 1); exit 1; }; }; }
51611
51612 ac_builddir=.
51613
51614 if test "$ac_dir" != .; then
51615 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51616 # A "../" for each directory in $ac_dir_suffix.
51617 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51618 else
51619 ac_dir_suffix= ac_top_builddir=
51620 fi
51621
51622 case $srcdir in
51623 .) # No --srcdir option. We are building in place.
51624 ac_srcdir=.
51625 if test -z "$ac_top_builddir"; then
51626 ac_top_srcdir=.
51627 else
51628 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51629 fi ;;
51630 [\\/]* | ?:[\\/]* ) # Absolute path.
51631 ac_srcdir=$srcdir$ac_dir_suffix;
51632 ac_top_srcdir=$srcdir ;;
51633 *) # Relative path.
51634 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51635 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51636 esac
51637
51638 # Do not use `cd foo && pwd` to compute absolute paths, because
51639 # the directories may not exist.
51640 case `pwd` in
51641 .) ac_abs_builddir="$ac_dir";;
51642 *)
51643 case "$ac_dir" in
51644 .) ac_abs_builddir=`pwd`;;
51645 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51646 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51647 esac;;
51648 esac
51649 case $ac_abs_builddir in
51650 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51651 *)
51652 case ${ac_top_builddir}. in
51653 .) ac_abs_top_builddir=$ac_abs_builddir;;
51654 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51655 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51656 esac;;
51657 esac
51658 case $ac_abs_builddir in
51659 .) ac_abs_srcdir=$ac_srcdir;;
51660 *)
51661 case $ac_srcdir in
51662 .) ac_abs_srcdir=$ac_abs_builddir;;
51663 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51664 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51665 esac;;
51666 esac
51667 case $ac_abs_builddir in
51668 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51669 *)
51670 case $ac_top_srcdir in
51671 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51672 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51673 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51674 esac;;
51675 esac
51676
51677
51678 case $INSTALL in
51679 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51680 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51681 esac
51682
51683 # Let's still pretend it is `configure' which instantiates (i.e., don't
51684 # use $as_me), people would be surprised to read:
51685 # /* config.h. Generated by config.status. */
51686 if test x"$ac_file" = x-; then
51687 configure_input=
51688 else
51689 configure_input="$ac_file. "
51690 fi
51691 configure_input=$configure_input"Generated from `echo $ac_file_in |
51692 sed 's,.*/,,'` by configure."
51693
51694 # First look for the input files in the build tree, otherwise in the
51695 # src tree.
51696 ac_file_inputs=`IFS=:
51697 for f in $ac_file_in; do
51698 case $f in
51699 -) echo $tmp/stdin ;;
51700 [\\/$]*)
51701 # Absolute (can't be DOS-style, as IFS=:)
51702 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51703 echo "$as_me: error: cannot find input file: $f" >&2;}
51704 { (exit 1); exit 1; }; }
51705 echo "$f";;
51706 *) # Relative
51707 if test -f "$f"; then
51708 # Build tree
51709 echo "$f"
51710 elif test -f "$srcdir/$f"; then
51711 # Source tree
51712 echo "$srcdir/$f"
51713 else
51714 # /dev/null tree
51715 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51716 echo "$as_me: error: cannot find input file: $f" >&2;}
51717 { (exit 1); exit 1; }; }
51718 fi;;
51719 esac
51720 done` || { (exit 1); exit 1; }
51721
51722 if test x"$ac_file" != x-; then
51723 { echo "$as_me:$LINENO: creating $ac_file" >&5
51724 echo "$as_me: creating $ac_file" >&6;}
51725 rm -f "$ac_file"
51726 fi
51727 _ACEOF
51728 cat >>$CONFIG_STATUS <<_ACEOF
51729 sed "$ac_vpsub
51730 $extrasub
51731 _ACEOF
51732 cat >>$CONFIG_STATUS <<\_ACEOF
51733 :t
51734 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51735 s,@configure_input@,$configure_input,;t t
51736 s,@srcdir@,$ac_srcdir,;t t
51737 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51738 s,@top_srcdir@,$ac_top_srcdir,;t t
51739 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51740 s,@builddir@,$ac_builddir,;t t
51741 s,@abs_builddir@,$ac_abs_builddir,;t t
51742 s,@top_builddir@,$ac_top_builddir,;t t
51743 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51744 s,@INSTALL@,$ac_INSTALL,;t t
51745 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51746 rm -f $tmp/stdin
51747 if test x"$ac_file" != x-; then
51748 mv $tmp/out $ac_file
51749 else
51750 cat $tmp/out
51751 rm -f $tmp/out
51752 fi
51753
51754 # Run the commands associated with the file.
51755 case $ac_file in
51756 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51757 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51758 esac
51759 done
51760 _ACEOF
51761 cat >>$CONFIG_STATUS <<\_ACEOF
51762
51763 #
51764 # CONFIG_HEADER section.
51765 #
51766
51767 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51768 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51769 #
51770 # ac_d sets the value in "#define NAME VALUE" lines.
51771 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51772 ac_dB='[ ].*$,\1#\2'
51773 ac_dC=' '
51774 ac_dD=',;t'
51775 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51776 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51777 ac_uB='$,\1#\2define\3'
51778 ac_uC=' '
51779 ac_uD=',;t'
51780
51781 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51782 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51783 case $ac_file in
51784 - | *:- | *:-:* ) # input from stdin
51785 cat >$tmp/stdin
51786 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51787 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51788 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51789 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51790 * ) ac_file_in=$ac_file.in ;;
51791 esac
51792
51793 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51794 echo "$as_me: creating $ac_file" >&6;}
51795
51796 # First look for the input files in the build tree, otherwise in the
51797 # src tree.
51798 ac_file_inputs=`IFS=:
51799 for f in $ac_file_in; do
51800 case $f in
51801 -) echo $tmp/stdin ;;
51802 [\\/$]*)
51803 # Absolute (can't be DOS-style, as IFS=:)
51804 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51805 echo "$as_me: error: cannot find input file: $f" >&2;}
51806 { (exit 1); exit 1; }; }
51807 # Do quote $f, to prevent DOS paths from being IFS'd.
51808 echo "$f";;
51809 *) # Relative
51810 if test -f "$f"; then
51811 # Build tree
51812 echo "$f"
51813 elif test -f "$srcdir/$f"; then
51814 # Source tree
51815 echo "$srcdir/$f"
51816 else
51817 # /dev/null tree
51818 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51819 echo "$as_me: error: cannot find input file: $f" >&2;}
51820 { (exit 1); exit 1; }; }
51821 fi;;
51822 esac
51823 done` || { (exit 1); exit 1; }
51824 # Remove the trailing spaces.
51825 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51826
51827 _ACEOF
51828
51829 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51830 # `conftest.undefs', that substitutes the proper values into
51831 # config.h.in to produce config.h. The first handles `#define'
51832 # templates, and the second `#undef' templates.
51833 # And first: Protect against being on the right side of a sed subst in
51834 # config.status. Protect against being in an unquoted here document
51835 # in config.status.
51836 rm -f conftest.defines conftest.undefs
51837 # Using a here document instead of a string reduces the quoting nightmare.
51838 # Putting comments in sed scripts is not portable.
51839 #
51840 # `end' is used to avoid that the second main sed command (meant for
51841 # 0-ary CPP macros) applies to n-ary macro definitions.
51842 # See the Autoconf documentation for `clear'.
51843 cat >confdef2sed.sed <<\_ACEOF
51844 s/[\\&,]/\\&/g
51845 s,[\\$`],\\&,g
51846 t clear
51847 : clear
51848 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51849 t end
51850 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51851 : end
51852 _ACEOF
51853 # If some macros were called several times there might be several times
51854 # the same #defines, which is useless. Nevertheless, we may not want to
51855 # sort them, since we want the *last* AC-DEFINE to be honored.
51856 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51857 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51858 rm -f confdef2sed.sed
51859
51860 # This sed command replaces #undef with comments. This is necessary, for
51861 # example, in the case of _POSIX_SOURCE, which is predefined and required
51862 # on some systems where configure will not decide to define it.
51863 cat >>conftest.undefs <<\_ACEOF
51864 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51865 _ACEOF
51866
51867 # Break up conftest.defines because some shells have a limit on the size
51868 # of here documents, and old seds have small limits too (100 cmds).
51869 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51870 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51871 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51872 echo ' :' >>$CONFIG_STATUS
51873 rm -f conftest.tail
51874 while grep . conftest.defines >/dev/null
51875 do
51876 # Write a limited-size here document to $tmp/defines.sed.
51877 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51878 # Speed up: don't consider the non `#define' lines.
51879 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51880 # Work around the forget-to-reset-the-flag bug.
51881 echo 't clr' >>$CONFIG_STATUS
51882 echo ': clr' >>$CONFIG_STATUS
51883 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
51884 echo 'CEOF
51885 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51886 rm -f $tmp/in
51887 mv $tmp/out $tmp/in
51888 ' >>$CONFIG_STATUS
51889 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
51890 rm -f conftest.defines
51891 mv conftest.tail conftest.defines
51892 done
51893 rm -f conftest.defines
51894 echo ' fi # grep' >>$CONFIG_STATUS
51895 echo >>$CONFIG_STATUS
51896
51897 # Break up conftest.undefs because some shells have a limit on the size
51898 # of here documents, and old seds have small limits too (100 cmds).
51899 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51900 rm -f conftest.tail
51901 while grep . conftest.undefs >/dev/null
51902 do
51903 # Write a limited-size here document to $tmp/undefs.sed.
51904 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51905 # Speed up: don't consider the non `#undef'
51906 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51907 # Work around the forget-to-reset-the-flag bug.
51908 echo 't clr' >>$CONFIG_STATUS
51909 echo ': clr' >>$CONFIG_STATUS
51910 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51911 echo 'CEOF
51912 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51913 rm -f $tmp/in
51914 mv $tmp/out $tmp/in
51915 ' >>$CONFIG_STATUS
51916 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51917 rm -f conftest.undefs
51918 mv conftest.tail conftest.undefs
51919 done
51920 rm -f conftest.undefs
51921
51922 cat >>$CONFIG_STATUS <<\_ACEOF
51923 # Let's still pretend it is `configure' which instantiates (i.e., don't
51924 # use $as_me), people would be surprised to read:
51925 # /* config.h. Generated by config.status. */
51926 if test x"$ac_file" = x-; then
51927 echo "/* Generated by configure. */" >$tmp/config.h
51928 else
51929 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51930 fi
51931 cat $tmp/in >>$tmp/config.h
51932 rm -f $tmp/in
51933 if test x"$ac_file" != x-; then
51934 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
51935 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51936 echo "$as_me: $ac_file is unchanged" >&6;}
51937 else
51938 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51939 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51940 X"$ac_file" : 'X\(//\)[^/]' \| \
51941 X"$ac_file" : 'X\(//\)$' \| \
51942 X"$ac_file" : 'X\(/\)' \| \
51943 . : '\(.\)' 2>/dev/null ||
51944 echo X"$ac_file" |
51945 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51946 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51947 /^X\(\/\/\)$/{ s//\1/; q; }
51948 /^X\(\/\).*/{ s//\1/; q; }
51949 s/.*/./; q'`
51950 { if $as_mkdir_p; then
51951 mkdir -p "$ac_dir"
51952 else
51953 as_dir="$ac_dir"
51954 as_dirs=
51955 while test ! -d "$as_dir"; do
51956 as_dirs="$as_dir $as_dirs"
51957 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51958 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51959 X"$as_dir" : 'X\(//\)[^/]' \| \
51960 X"$as_dir" : 'X\(//\)$' \| \
51961 X"$as_dir" : 'X\(/\)' \| \
51962 . : '\(.\)' 2>/dev/null ||
51963 echo X"$as_dir" |
51964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51965 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51966 /^X\(\/\/\)$/{ s//\1/; q; }
51967 /^X\(\/\).*/{ s//\1/; q; }
51968 s/.*/./; q'`
51969 done
51970 test ! -n "$as_dirs" || mkdir $as_dirs
51971 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51972 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51973 { (exit 1); exit 1; }; }; }
51974
51975 rm -f $ac_file
51976 mv $tmp/config.h $ac_file
51977 fi
51978 else
51979 cat $tmp/config.h
51980 rm -f $tmp/config.h
51981 fi
51982 done
51983 _ACEOF
51984 cat >>$CONFIG_STATUS <<\_ACEOF
51985
51986 #
51987 # CONFIG_COMMANDS section.
51988 #
51989 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
51990 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
51991 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
51992 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
51993 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51994 X"$ac_dest" : 'X\(//\)[^/]' \| \
51995 X"$ac_dest" : 'X\(//\)$' \| \
51996 X"$ac_dest" : 'X\(/\)' \| \
51997 . : '\(.\)' 2>/dev/null ||
51998 echo X"$ac_dest" |
51999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52000 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52001 /^X\(\/\/\)$/{ s//\1/; q; }
52002 /^X\(\/\).*/{ s//\1/; q; }
52003 s/.*/./; q'`
52004 { if $as_mkdir_p; then
52005 mkdir -p "$ac_dir"
52006 else
52007 as_dir="$ac_dir"
52008 as_dirs=
52009 while test ! -d "$as_dir"; do
52010 as_dirs="$as_dir $as_dirs"
52011 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52012 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52013 X"$as_dir" : 'X\(//\)[^/]' \| \
52014 X"$as_dir" : 'X\(//\)$' \| \
52015 X"$as_dir" : 'X\(/\)' \| \
52016 . : '\(.\)' 2>/dev/null ||
52017 echo X"$as_dir" |
52018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52019 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52020 /^X\(\/\/\)$/{ s//\1/; q; }
52021 /^X\(\/\).*/{ s//\1/; q; }
52022 s/.*/./; q'`
52023 done
52024 test ! -n "$as_dirs" || mkdir $as_dirs
52025 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52026 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52027 { (exit 1); exit 1; }; }; }
52028
52029 ac_builddir=.
52030
52031 if test "$ac_dir" != .; then
52032 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52033 # A "../" for each directory in $ac_dir_suffix.
52034 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52035 else
52036 ac_dir_suffix= ac_top_builddir=
52037 fi
52038
52039 case $srcdir in
52040 .) # No --srcdir option. We are building in place.
52041 ac_srcdir=.
52042 if test -z "$ac_top_builddir"; then
52043 ac_top_srcdir=.
52044 else
52045 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52046 fi ;;
52047 [\\/]* | ?:[\\/]* ) # Absolute path.
52048 ac_srcdir=$srcdir$ac_dir_suffix;
52049 ac_top_srcdir=$srcdir ;;
52050 *) # Relative path.
52051 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52052 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52053 esac
52054
52055 # Do not use `cd foo && pwd` to compute absolute paths, because
52056 # the directories may not exist.
52057 case `pwd` in
52058 .) ac_abs_builddir="$ac_dir";;
52059 *)
52060 case "$ac_dir" in
52061 .) ac_abs_builddir=`pwd`;;
52062 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52063 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52064 esac;;
52065 esac
52066 case $ac_abs_builddir in
52067 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52068 *)
52069 case ${ac_top_builddir}. in
52070 .) ac_abs_top_builddir=$ac_abs_builddir;;
52071 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52072 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52073 esac;;
52074 esac
52075 case $ac_abs_builddir in
52076 .) ac_abs_srcdir=$ac_srcdir;;
52077 *)
52078 case $ac_srcdir in
52079 .) ac_abs_srcdir=$ac_abs_builddir;;
52080 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52081 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52082 esac;;
52083 esac
52084 case $ac_abs_builddir in
52085 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52086 *)
52087 case $ac_top_srcdir in
52088 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52089 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52090 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52091 esac;;
52092 esac
52093
52094
52095 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52096 echo "$as_me: executing $ac_dest commands" >&6;}
52097 case $ac_dest in
52098 rcdefs.h )
52099 mkdir -p $outdir &&
52100 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52101 ;;
52102 wx-config ) rm -f wx-config
52103 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52104 ;;
52105 esac
52106 done
52107 _ACEOF
52108
52109 cat >>$CONFIG_STATUS <<\_ACEOF
52110
52111 { (exit 0); exit 0; }
52112 _ACEOF
52113 chmod +x $CONFIG_STATUS
52114 ac_clean_files=$ac_clean_files_save
52115
52116
52117 # configure is writing to config.log, and then calls config.status.
52118 # config.status does its own redirection, appending to config.log.
52119 # Unfortunately, on DOS this fails, as config.log is still kept open
52120 # by configure, so config.status won't be able to write to it; its
52121 # output is simply discarded. So we exec the FD to /dev/null,
52122 # effectively closing config.log, so it can be properly (re)opened and
52123 # appended to by config.status. When coming back to configure, we
52124 # need to make the FD available again.
52125 if test "$no_create" != yes; then
52126 ac_cs_success=:
52127 ac_config_status_args=
52128 test "$silent" = yes &&
52129 ac_config_status_args="$ac_config_status_args --quiet"
52130 exec 5>/dev/null
52131 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52132 exec 5>>config.log
52133 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52134 # would make configure fail if this is the last instruction.
52135 $ac_cs_success || { (exit 1); exit 1; }
52136 fi
52137
52138 #
52139 # CONFIG_SUBDIRS section.
52140 #
52141 if test "$no_recursion" != yes; then
52142
52143 # Remove --cache-file and --srcdir arguments so they do not pile up.
52144 ac_sub_configure_args=
52145 ac_prev=
52146 for ac_arg in $ac_configure_args; do
52147 if test -n "$ac_prev"; then
52148 ac_prev=
52149 continue
52150 fi
52151 case $ac_arg in
52152 -cache-file | --cache-file | --cache-fil | --cache-fi \
52153 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52154 ac_prev=cache_file ;;
52155 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52156 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52157 | --c=*)
52158 ;;
52159 --config-cache | -C)
52160 ;;
52161 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52162 ac_prev=srcdir ;;
52163 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52164 ;;
52165 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52166 ac_prev=prefix ;;
52167 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52168 ;;
52169 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52170 esac
52171 done
52172
52173 # Always prepend --prefix to ensure using the same prefix
52174 # in subdir configurations.
52175 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52176
52177 ac_popdir=`pwd`
52178 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52179
52180 # Do not complain, so a configure script can configure whichever
52181 # parts of a large source tree are present.
52182 test -d $srcdir/$ac_dir || continue
52183
52184 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52185 echo "$as_me: configuring in $ac_dir" >&6;}
52186 { if $as_mkdir_p; then
52187 mkdir -p "$ac_dir"
52188 else
52189 as_dir="$ac_dir"
52190 as_dirs=
52191 while test ! -d "$as_dir"; do
52192 as_dirs="$as_dir $as_dirs"
52193 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52194 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52195 X"$as_dir" : 'X\(//\)[^/]' \| \
52196 X"$as_dir" : 'X\(//\)$' \| \
52197 X"$as_dir" : 'X\(/\)' \| \
52198 . : '\(.\)' 2>/dev/null ||
52199 echo X"$as_dir" |
52200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52201 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52202 /^X\(\/\/\)$/{ s//\1/; q; }
52203 /^X\(\/\).*/{ s//\1/; q; }
52204 s/.*/./; q'`
52205 done
52206 test ! -n "$as_dirs" || mkdir $as_dirs
52207 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52208 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52209 { (exit 1); exit 1; }; }; }
52210
52211 ac_builddir=.
52212
52213 if test "$ac_dir" != .; then
52214 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52215 # A "../" for each directory in $ac_dir_suffix.
52216 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52217 else
52218 ac_dir_suffix= ac_top_builddir=
52219 fi
52220
52221 case $srcdir in
52222 .) # No --srcdir option. We are building in place.
52223 ac_srcdir=.
52224 if test -z "$ac_top_builddir"; then
52225 ac_top_srcdir=.
52226 else
52227 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52228 fi ;;
52229 [\\/]* | ?:[\\/]* ) # Absolute path.
52230 ac_srcdir=$srcdir$ac_dir_suffix;
52231 ac_top_srcdir=$srcdir ;;
52232 *) # Relative path.
52233 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52234 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52235 esac
52236
52237 # Do not use `cd foo && pwd` to compute absolute paths, because
52238 # the directories may not exist.
52239 case `pwd` in
52240 .) ac_abs_builddir="$ac_dir";;
52241 *)
52242 case "$ac_dir" in
52243 .) ac_abs_builddir=`pwd`;;
52244 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52245 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52246 esac;;
52247 esac
52248 case $ac_abs_builddir in
52249 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52250 *)
52251 case ${ac_top_builddir}. in
52252 .) ac_abs_top_builddir=$ac_abs_builddir;;
52253 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52254 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52255 esac;;
52256 esac
52257 case $ac_abs_builddir in
52258 .) ac_abs_srcdir=$ac_srcdir;;
52259 *)
52260 case $ac_srcdir in
52261 .) ac_abs_srcdir=$ac_abs_builddir;;
52262 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52263 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52264 esac;;
52265 esac
52266 case $ac_abs_builddir in
52267 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52268 *)
52269 case $ac_top_srcdir in
52270 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52271 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52272 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52273 esac;;
52274 esac
52275
52276
52277 cd $ac_dir
52278
52279 # Check for guested configure; otherwise get Cygnus style configure.
52280 if test -f $ac_srcdir/configure.gnu; then
52281 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52282 elif test -f $ac_srcdir/configure; then
52283 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52284 elif test -f $ac_srcdir/configure.in; then
52285 ac_sub_configure=$ac_configure
52286 else
52287 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52288 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52289 ac_sub_configure=
52290 fi
52291
52292 # The recursion is here.
52293 if test -n "$ac_sub_configure"; then
52294 # Make the cache file name correct relative to the subdirectory.
52295 case $cache_file in
52296 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52297 *) # Relative path.
52298 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52299 esac
52300
52301 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52302 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52303 # The eval makes quoting arguments work.
52304 eval $ac_sub_configure $ac_sub_configure_args \
52305 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52306 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52307 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52308 { (exit 1); exit 1; }; }
52309 fi
52310
52311 cd "$ac_popdir"
52312 done
52313 fi
52314
52315
52316 echo
52317 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52318 echo ""
52319 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52320 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52321
52322 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52323 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52324 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52325
52326 echo " What level of wxWidgets compatibility should be enabled?"
52327 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52328 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52329
52330 echo " Which libraries should wxWidgets use?"
52331 echo " jpeg ${wxUSE_LIBJPEG-none}"
52332 echo " png ${wxUSE_LIBPNG-none}"
52333 echo " regex ${wxUSE_REGEX}"
52334 echo " tiff ${wxUSE_LIBTIFF-none}"
52335 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52336 echo " xpm ${wxUSE_LIBXPM-none}"
52337 fi
52338 echo " zlib ${wxUSE_ZLIB}"
52339 echo " odbc ${wxUSE_ODBC}"
52340 echo " expat ${wxUSE_EXPAT}"
52341 echo " libmspack ${wxUSE_LIBMSPACK}"
52342 echo " sdl ${wxUSE_LIBSDL}"
52343
52344 echo ""
52345