]> git.saurik.com Git - wxWidgets.git/blob - configure
f76cd18461e254511de8f7cd49d0d020cb5cf93e
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47340 2007-07-11 20:11:37Z VZ .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.9.0.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.9.0'
274 PACKAGE_STRING='wxWidgets 2.9.0'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os wx_top_builddir 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 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 CFLAGS_VISIBILITY CXXFLAGS_VISIBILITY REZ DEREZ SETFILE LIBICONV 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 ALL_WX_LIBS BUILT_WX_LIBS STD_BASE_LIBS STD_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 CXXWARNINGS 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 AROPTIONS 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 BK_DEPS GCC_PCH ICC_PCH BK_MAKE_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_STC_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_STC_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_AUI_1 COND_MONOLITHIC_0_USE_GUI_1 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_USE_HTML_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_0_USE_QA_1 COND_MONOLITHIC_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_USE_STC_1 COND_MONOLITHIC_0_USE_XRC_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_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_TOOLKIT_MGL COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_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_STC_1 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_USE_OPENGL_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_STC_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_PKG_CONFIG_set=${PKG_CONFIG+set}
786 ac_env_PKG_CONFIG_value=$PKG_CONFIG
787 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
788 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
789 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
790 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
791 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
792 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
793 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
794 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
795 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
796 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
797 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
798 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
799 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
800 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
801 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
802 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
803 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
804 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
805 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
806 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
807 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
808 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
809 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
810 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
811 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
812 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
813 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
814 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
815 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
816 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
817 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
818 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
819 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
820 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
821 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
822 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
823 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
824 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
825 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
826 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
827 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
829 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
830 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
831 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
832 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
833 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
834 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
835 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
836 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
837 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
838 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
839 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
840 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
841 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
842 ac_env_HILDON_LIBS_value=$HILDON_LIBS
843 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
844 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
845 ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
846 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
847 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
848 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
849 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
850 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
851 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
852 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
853 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
854 ac_env_GST_CFLAGS_value=$GST_CFLAGS
855 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
856 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
857 ac_env_GST_LIBS_set=${GST_LIBS+set}
858 ac_env_GST_LIBS_value=$GST_LIBS
859 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
860 ac_cv_env_GST_LIBS_value=$GST_LIBS
861
862 #
863 # Report the --help message.
864 #
865 if test "$ac_init_help" = "long"; then
866 # Omit some internal or obsolete options to make the list less imposing.
867 # This message is too long to be a string in the A/UX 3.1 sh.
868 cat <<_ACEOF
869 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
870
871 Usage: $0 [OPTION]... [VAR=VALUE]...
872
873 To assign environment variables (e.g., CC, CFLAGS...), specify them as
874 VAR=VALUE. See below for descriptions of some of the useful variables.
875
876 Defaults for the options are specified in brackets.
877
878 Configuration:
879 -h, --help display this help and exit
880 --help=short display options specific to this package
881 --help=recursive display the short help of all the included packages
882 -V, --version display version information and exit
883 -q, --quiet, --silent do not print \`checking...' messages
884 --cache-file=FILE cache test results in FILE [disabled]
885 -C, --config-cache alias for \`--cache-file=config.cache'
886 -n, --no-create do not create output files
887 --srcdir=DIR find the sources in DIR [configure dir or \`..']
888
889 _ACEOF
890
891 cat <<_ACEOF
892 Installation directories:
893 --prefix=PREFIX install architecture-independent files in PREFIX
894 [$ac_default_prefix]
895 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
896 [PREFIX]
897
898 By default, \`make install' will install all the files in
899 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
900 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
901 for instance \`--prefix=\$HOME'.
902
903 For better control, use the options below.
904
905 Fine tuning of the installation directories:
906 --bindir=DIR user executables [EPREFIX/bin]
907 --sbindir=DIR system admin executables [EPREFIX/sbin]
908 --libexecdir=DIR program executables [EPREFIX/libexec]
909 --datadir=DIR read-only architecture-independent data [PREFIX/share]
910 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
911 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
912 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
913 --libdir=DIR object code libraries [EPREFIX/lib]
914 --includedir=DIR C header files [PREFIX/include]
915 --oldincludedir=DIR C header files for non-gcc [/usr/include]
916 --infodir=DIR info documentation [PREFIX/info]
917 --mandir=DIR man documentation [PREFIX/man]
918 _ACEOF
919
920 cat <<\_ACEOF
921
922 X features:
923 --x-includes=DIR X include files are in DIR
924 --x-libraries=DIR X library files are in DIR
925
926 System types:
927 --build=BUILD configure for building on BUILD [guessed]
928 --host=HOST cross-compile to build programs to run on HOST [BUILD]
929 --target=TARGET configure for building compilers for TARGET [HOST]
930 _ACEOF
931 fi
932
933 if test -n "$ac_init_help"; then
934 case $ac_init_help in
935 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
936 esac
937 cat <<\_ACEOF
938
939 Optional Features:
940 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
941 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
942 --disable-gui don't build GUI parts of the library
943 --enable-monolithic build wxWidgets as single library
944 --enable-plugins build parts of wxWidgets as loadable components
945 --enable-official_build official build of wxWidgets (win32 DLL only)
946 --enable-vendor=VENDOR vendor name (win32 DLL only)
947 --disable-all_features disable all optional features to build minimal library
948 --enable-universal use wxWidgets GUI controls instead of native ones
949 --enable-nanox use NanoX
950 --disable-gtk2 use GTK+ 1.2 instead of 2.0
951 --enable-gpe use GNOME PDA Environment features if possible
952 --disable-shared create static library instead of shared
953 --enable-optimise create optimised code
954 --enable-debug same as debug_flag and debug_info
955 --enable-stl use STL for containers
956 --enable-std_iostreams use standard C++ stream classes
957 --enable-std_string use standard C++ string classes
958 --disable-unicode compile without Unicode support
959 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
960 --enable-utf8 use UTF-8 representation for strings (Unix only)
961 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
962 --enable-extended_rtti use extended RTTI (XTI)
963 --enable-omf use OMF object format
964 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
965 --enable-debug_info create code with debugging information
966 --enable-debug_gdb create code with extra GDB debugging information
967 --enable-debug_cntxt use wxDebugContext
968 --enable-mem_tracing create code with memory tracing
969 --enable-profile create code with profiling information
970 --enable-no_rtti create code without RTTI information
971 --enable-no_exceptions create code without C++ exceptions handling
972 --enable-permissive compile code disregarding strict ANSI
973 --enable-no_deps create code without dependency information
974 --disable-vararg_macros don't use vararg macros, even if they are supported
975 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
976 --enable-compat26 enable wxWidgets 2.6 compatibility
977 --disable-compat28 disable wxWidgets 2.8 compatibility
978 --disable-rpath disable use of rpath for uninstalled builds
979 --enable-objc_uniquifying enable Objective-C class name uniquifying
980 --enable-intl use internationalization system
981 --enable-config use wxConfig (and derived) classes
982 --enable-protocols use wxProtocol and derived classes
983 --enable-ftp use wxFTP (requires wxProtocol
984 --enable-http use wxHTTP (requires wxProtocol
985 --enable-fileproto use wxFileProto class (requires wxProtocol
986 --enable-sockets use socket/network classes
987 --enable-ole use OLE classes (Win32 only)
988 --enable-dataobj use data object classes
989 --enable-ipc use interprocess communication (wxSocket etc.)
990 --enable-apple_ieee use the Apple IEEE codec
991 --enable-arcstream use wxArchive streams
992 --enable-base64 use base64 encoding/decoding functions
993 --enable-backtrace use wxStackWalker class for getting backtraces
994 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
995 --enable-cmdline use wxCmdLineParser class
996 --enable-datetime use wxDateTime class
997 --enable-debugreport use wxDebugReport class
998 --enable-dialupman use dialup network classes
999 --enable-dynlib use wxLibrary class for DLL loading
1000 --enable-dynamicloader use (new) wxDynamicLibrary class
1001 --enable-exceptions build exception-safe library
1002 --enable-ffile use wxFFile class
1003 --enable-file use wxFile class
1004 --enable-filesystem use virtual file systems classes
1005 --enable-fontmap use font encodings conversion classes
1006 --enable-fs_archive use virtual archive filesystems
1007 --enable-fs_inet use virtual HTTP/FTP filesystems
1008 --enable-fs_zip now replaced by fs_archive
1009 --enable-geometry use geometry class
1010 --enable-log use logging system
1011 --enable-longlong use wxLongLong class
1012 --enable-mimetype use wxMimeTypesManager
1013 --enable-snglinst use wxSingleInstanceChecker class
1014 --enable-stdpaths use wxStandardPaths class
1015 --enable-stopwatch use wxStopWatch class
1016 --enable-streams use wxStream etc classes
1017 --enable-sysoptions use wxSystemOptions
1018 --enable-tarstream use wxTar streams
1019 --enable-textbuf use wxTextBuffer class
1020 --enable-textfile use wxTextFile class
1021 --enable-timer use wxTimer class
1022 --enable-sound use wxSound class
1023 --enable-mediactrl use wxMediaCtrl class
1024 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1025 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1026 --enable-zipstream use wxZip streams
1027 --enable-url use wxURL class
1028 --enable-variant use wxVariant class
1029 --enable-protocol use wxProtocol class
1030 --enable-protocol-http HTTP support in wxProtocol
1031 --enable-protocol-ftp FTP support in wxProtocol
1032 --enable-protocol-file FILE support in wxProtocol
1033 --enable-threads use threads
1034 --enable-docview use document view architecture
1035 --enable-help use help subsystem
1036 --enable-mshtmlhelp use MS HTML Help (win32)
1037 --enable-html use wxHTML sub-library
1038 --enable-htmlhelp use wxHTML-based help
1039 --enable-xrc use XRC resources sub-library
1040 --enable-aui use AUI docking library
1041 --enable-stc use wxStyledTextCtrl library
1042 --enable-constraints use layout-constraints system
1043 --enable-printarch use printing architecture
1044 --enable-mdi use multiple document interface architecture
1045 --enable-mdidoc use docview architecture with MDI
1046 --enable-loggui use standard GUI logger
1047 --enable-logwin use wxLogWindow
1048 --enable-logdialog use wxLogDialog
1049 --enable-webkit use wxWebKitCtrl (Mac)
1050 --enable-richtext use wxRichTextCtrl
1051 --enable-graphics_ctx use graphics context 2D drawing API
1052 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1053 --enable-svg use wxSVGFileDC device context
1054 --enable-clipboard use wxClipboard class
1055 --enable-dnd use Drag'n'Drop classes
1056 --enable-metafile use win32 metafiles
1057 --enable-controls use all usual controls
1058 --enable-accel use accelerators
1059 --enable-animatectrl use wxAnimationCtrl class
1060 --enable-button use wxButton class
1061 --enable-bmpbutton use wxBitmapButton class
1062 --enable-bmpcombobox use wxBitmapComboBox class
1063 --enable-calendar use wxCalendarCtrl class
1064 --enable-caret use wxCaret class
1065 --enable-checkbox use wxCheckBox class
1066 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1067 --enable-choice use wxChoice class
1068 --enable-choicebook use wxChoicebook class
1069 --enable-collpane use wxCollapsiblePane class
1070 --enable-colourpicker use wxColourPickerCtrl class
1071 --enable-combobox use wxComboBox class
1072 --enable-comboctrl use wxComboCtrl class
1073 --enable-datepick use wxDatePickerCtrl class
1074 --enable-dirpicker use wxDirPickerCtrl class
1075 --enable-display use wxDisplay class
1076 --enable-detect_sm use code to detect X11 session manager
1077 --enable-editablebox use wxEditableListBox class
1078 --enable-filepicker use wxFilePickerCtrl class
1079 --enable-fontpicker use wxFontPickerCtrl class
1080 --enable-gauge use wxGauge class
1081 --enable-grid use wxGrid class
1082 --enable-dataviewctrl use wxDataViewCtrl class
1083 --enable-hyperlink use wxHyperlinkCtrl class
1084 --enable-imaglist use wxImageList class
1085 --enable-listbook use wxListbook class
1086 --enable-listbox use wxListBox class
1087 --enable-listctrl use wxListCtrl class
1088 --enable-notebook use wxNotebook class
1089 --enable-odcombobox use wxOwnerDrawnComboBox class
1090 --enable-radiobox use wxRadioBox class
1091 --enable-radiobtn use wxRadioButton class
1092 --enable-sash use wxSashWindow class
1093 --enable-scrollbar use wxScrollBar class and scrollable windows
1094 --enable-searchctrl use wxSearchCtrl class
1095 --enable-slider use wxSlider class
1096 --enable-spinbtn use wxSpinButton class
1097 --enable-spinctrl use wxSpinCtrl class
1098 --enable-splitter use wxSplitterWindow class
1099 --enable-statbmp use wxStaticBitmap class
1100 --enable-statbox use wxStaticBox class
1101 --enable-statline use wxStaticLine class
1102 --enable-stattext use wxStaticText class
1103 --enable-statusbar use wxStatusBar class
1104 --enable-tabdialog use wxTabControl class
1105 --enable-textctrl use wxTextCtrl class
1106 --enable-togglebtn use wxToggleButton class
1107 --enable-toolbar use wxToolBar class
1108 --enable-tbarnative use native wxToolBar class
1109 --enable-treebook use wxTreebook class
1110 --enable-toolbook use wxToolbook class
1111 --enable-treectrl use wxTreeCtrl class
1112 --enable-tipwindow use wxTipWindow class
1113 --enable-popupwin use wxPopUpWindow class
1114 --enable-commondlg use all common dialogs
1115 --enable-aboutdlg use wxAboutBox
1116 --enable-choicedlg use wxChoiceDialog
1117 --enable-coldlg use wxColourDialog
1118 --enable-filedlg use wxFileDialog
1119 --enable-finddlg use wxFindReplaceDialog
1120 --enable-fontdlg use wxFontDialog
1121 --enable-dirdlg use wxDirDialog
1122 --enable-msgdlg use wxMessageDialog
1123 --enable-numberdlg use wxNumberEntryDialog
1124 --enable-splash use wxSplashScreen
1125 --enable-textdlg use wxTextDialog
1126 --enable-tipdlg use startup tips
1127 --enable-progressdlg use wxProgressDialog
1128 --enable-wizarddlg use wxWizard
1129 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1130 --enable-miniframe use wxMiniFrame class
1131 --enable-tooltips use wxToolTip class
1132 --enable-splines use spline drawing code
1133 --enable-mousewheel use mousewheel
1134 --enable-validators use wxValidator and derived classes
1135 --enable-busyinfo use wxBusyInfo
1136 --enable-joystick use wxJoystick
1137 --enable-metafiles use wxMetaFile (Win32 only)
1138 --enable-dragimage use wxDragImage
1139 --enable-accessibility enable accessibility support
1140 --enable-dccache cache temporary wxDC objects (Win32 only)
1141 --enable-palette use wxPalette class
1142 --enable-image use wxImage class
1143 --enable-gif use gif images (GIF file format)
1144 --enable-pcx use pcx images (PCX file format)
1145 --enable-tga use tga images (TGA file format)
1146 --enable-iff use iff images (IFF file format)
1147 --enable-pnm use pnm images (PNM file format)
1148 --enable-xpm use xpm images (XPM file format)
1149 --enable-icocur use Windows ICO and CUR formats
1150 --disable-largefile omit support for large files
1151 --disable-gtktest do not try to compile and run a test GTK+ program
1152 --disable-gtktest Do not try to compile and run a test GTK program
1153 --disable-sdltest Do not try to compile and run a test SDL program
1154 --enable-omf use OMF object format (OS/2)
1155 --disable-dependency-tracking
1156 don't use dependency tracking even if the compiler
1157 can
1158 --disable-precomp-headers
1159 don't use precompiled headers even if compiler can
1160
1161 Optional Packages:
1162 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1163 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1164 --without-subdirs don't generate makefiles for samples/demos/...
1165 --with-flavour=NAME specify a name to identify this build
1166 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1167 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1168 --with-motif use Motif/Lesstif
1169 --with-mac use Mac OS X
1170 --with-cocoa use Cocoa
1171 --with-wine use Wine
1172 --with-msw use MS-Windows
1173 --with-pm use OS/2 Presentation Manager
1174 --with-mgl use SciTech MGL
1175 --with-directfb use DirectFB
1176 --with-microwin use MicroWindows
1177 --with-x11 use X11
1178 --with-libpng use libpng (PNG image format)
1179 --with-libjpeg use libjpeg (JPEG file format)
1180 --with-libtiff use libtiff (TIFF file format)
1181 --with-libxpm use libxpm (XPM file format)
1182 --with-libmspack use libmspack (CHM help files loading)
1183 --with-sdl use SDL for audio on Unix
1184 --without-gnomeprint don't use GNOME printing libraries
1185 --with-gnomevfs use GNOME VFS for associating MIME types
1186 --with-hildon use Hildon framework for Nokia 770
1187 --with-opengl use OpenGL (or Mesa)
1188 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1189 --with-regex enable support for wxRegEx class
1190 --with-zlib use zlib for LZW compression
1191 --with-odbc use the IODBC and wxODBC classes
1192 --with-expat enable XML support using expat parser
1193 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1194 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1195 --with-x use the X Window System
1196 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1197 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1198 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1199 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1200 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1201
1202 Some influential environment variables:
1203 CC C compiler command
1204 CFLAGS C compiler flags
1205 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1206 nonstandard directory <lib dir>
1207 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1208 headers in a nonstandard directory <include dir>
1209 CPP C preprocessor
1210 CXX C++ compiler command
1211 CXXFLAGS C++ compiler flags
1212 PKG_CONFIG path to pkg-config utility
1213 DIRECTFB_CFLAGS
1214 C compiler flags for DIRECTFB, overriding pkg-config
1215 DIRECTFB_LIBS
1216 linker flags for DIRECTFB, overriding pkg-config
1217 PANGOX_CFLAGS
1218 C compiler flags for PANGOX, overriding pkg-config
1219 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1220 PANGOFT2_CFLAGS
1221 C compiler flags for PANGOFT2, overriding pkg-config
1222 PANGOFT2_LIBS
1223 linker flags for PANGOFT2, overriding pkg-config
1224 PANGOXFT_CFLAGS
1225 C compiler flags for PANGOXFT, overriding pkg-config
1226 PANGOXFT_LIBS
1227 linker flags for PANGOXFT, overriding pkg-config
1228 LIBGNOMEPRINTUI_CFLAGS
1229 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1230 LIBGNOMEPRINTUI_LIBS
1231 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1232 GNOMEVFS_CFLAGS
1233 C compiler flags for GNOMEVFS, overriding pkg-config
1234 GNOMEVFS_LIBS
1235 linker flags for GNOMEVFS, overriding pkg-config
1236 HILDON_CFLAGS
1237 C compiler flags for HILDON, overriding pkg-config
1238 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1239 CAIRO_CFLAGS
1240 C compiler flags for CAIRO, overriding pkg-config
1241 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1242 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1243 GST_LIBS linker flags for GST, overriding pkg-config
1244
1245 Use these variables to override the choices made by `configure' or to help
1246 it to find libraries and programs with nonstandard names/locations.
1247
1248 Report bugs to <wx-dev@lists.wxwidgets.org>.
1249 _ACEOF
1250 fi
1251
1252 if test "$ac_init_help" = "recursive"; then
1253 # If there are subdirs, report their specific --help.
1254 ac_popdir=`pwd`
1255 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1256 test -d $ac_dir || continue
1257 ac_builddir=.
1258
1259 if test "$ac_dir" != .; then
1260 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1261 # A "../" for each directory in $ac_dir_suffix.
1262 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1263 else
1264 ac_dir_suffix= ac_top_builddir=
1265 fi
1266
1267 case $srcdir in
1268 .) # No --srcdir option. We are building in place.
1269 ac_srcdir=.
1270 if test -z "$ac_top_builddir"; then
1271 ac_top_srcdir=.
1272 else
1273 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1274 fi ;;
1275 [\\/]* | ?:[\\/]* ) # Absolute path.
1276 ac_srcdir=$srcdir$ac_dir_suffix;
1277 ac_top_srcdir=$srcdir ;;
1278 *) # Relative path.
1279 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1280 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1281 esac
1282
1283 # Do not use `cd foo && pwd` to compute absolute paths, because
1284 # the directories may not exist.
1285 case `pwd` in
1286 .) ac_abs_builddir="$ac_dir";;
1287 *)
1288 case "$ac_dir" in
1289 .) ac_abs_builddir=`pwd`;;
1290 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1291 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1292 esac;;
1293 esac
1294 case $ac_abs_builddir in
1295 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1296 *)
1297 case ${ac_top_builddir}. in
1298 .) ac_abs_top_builddir=$ac_abs_builddir;;
1299 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1300 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1301 esac;;
1302 esac
1303 case $ac_abs_builddir in
1304 .) ac_abs_srcdir=$ac_srcdir;;
1305 *)
1306 case $ac_srcdir in
1307 .) ac_abs_srcdir=$ac_abs_builddir;;
1308 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1309 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1310 esac;;
1311 esac
1312 case $ac_abs_builddir in
1313 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1314 *)
1315 case $ac_top_srcdir in
1316 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1317 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1318 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1319 esac;;
1320 esac
1321
1322 cd $ac_dir
1323 # Check for guested configure; otherwise get Cygnus style configure.
1324 if test -f $ac_srcdir/configure.gnu; then
1325 echo
1326 $SHELL $ac_srcdir/configure.gnu --help=recursive
1327 elif test -f $ac_srcdir/configure; then
1328 echo
1329 $SHELL $ac_srcdir/configure --help=recursive
1330 elif test -f $ac_srcdir/configure.ac ||
1331 test -f $ac_srcdir/configure.in; then
1332 echo
1333 $ac_configure --help
1334 else
1335 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1336 fi
1337 cd "$ac_popdir"
1338 done
1339 fi
1340
1341 test -n "$ac_init_help" && exit 0
1342 if $ac_init_version; then
1343 cat <<\_ACEOF
1344 wxWidgets configure 2.9.0
1345 generated by GNU Autoconf 2.59
1346
1347 Copyright (C) 2003 Free Software Foundation, Inc.
1348 This configure script is free software; the Free Software Foundation
1349 gives unlimited permission to copy, distribute and modify it.
1350 _ACEOF
1351 exit 0
1352 fi
1353 exec 5>config.log
1354 cat >&5 <<_ACEOF
1355 This file contains any messages produced by compilers while
1356 running configure, to aid debugging if configure makes a mistake.
1357
1358 It was created by wxWidgets $as_me 2.9.0, which was
1359 generated by GNU Autoconf 2.59. Invocation command line was
1360
1361 $ $0 $@
1362
1363 _ACEOF
1364 {
1365 cat <<_ASUNAME
1366 ## --------- ##
1367 ## Platform. ##
1368 ## --------- ##
1369
1370 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1371 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1372 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1373 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1374 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1375
1376 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1377 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1378
1379 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1380 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1381 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1382 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1383 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1384 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1385 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1386
1387 _ASUNAME
1388
1389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1390 for as_dir in $PATH
1391 do
1392 IFS=$as_save_IFS
1393 test -z "$as_dir" && as_dir=.
1394 echo "PATH: $as_dir"
1395 done
1396
1397 } >&5
1398
1399 cat >&5 <<_ACEOF
1400
1401
1402 ## ----------- ##
1403 ## Core tests. ##
1404 ## ----------- ##
1405
1406 _ACEOF
1407
1408
1409 # Keep a trace of the command line.
1410 # Strip out --no-create and --no-recursion so they do not pile up.
1411 # Strip out --silent because we don't want to record it for future runs.
1412 # Also quote any args containing shell meta-characters.
1413 # Make two passes to allow for proper duplicate-argument suppression.
1414 ac_configure_args=
1415 ac_configure_args0=
1416 ac_configure_args1=
1417 ac_sep=
1418 ac_must_keep_next=false
1419 for ac_pass in 1 2
1420 do
1421 for ac_arg
1422 do
1423 case $ac_arg in
1424 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1425 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1426 | -silent | --silent | --silen | --sile | --sil)
1427 continue ;;
1428 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1429 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1430 esac
1431 case $ac_pass in
1432 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1433 2)
1434 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1435 if test $ac_must_keep_next = true; then
1436 ac_must_keep_next=false # Got value, back to normal.
1437 else
1438 case $ac_arg in
1439 *=* | --config-cache | -C | -disable-* | --disable-* \
1440 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1441 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1442 | -with-* | --with-* | -without-* | --without-* | --x)
1443 case "$ac_configure_args0 " in
1444 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1445 esac
1446 ;;
1447 -* ) ac_must_keep_next=true ;;
1448 esac
1449 fi
1450 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1451 # Get rid of the leading space.
1452 ac_sep=" "
1453 ;;
1454 esac
1455 done
1456 done
1457 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1458 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1459
1460 # When interrupted or exit'd, cleanup temporary files, and complete
1461 # config.log. We remove comments because anyway the quotes in there
1462 # would cause problems or look ugly.
1463 # WARNING: Be sure not to use single quotes in there, as some shells,
1464 # such as our DU 5.0 friend, will then `close' the trap.
1465 trap 'exit_status=$?
1466 # Save into config.log some information that might help in debugging.
1467 {
1468 echo
1469
1470 cat <<\_ASBOX
1471 ## ---------------- ##
1472 ## Cache variables. ##
1473 ## ---------------- ##
1474 _ASBOX
1475 echo
1476 # The following way of writing the cache mishandles newlines in values,
1477 {
1478 (set) 2>&1 |
1479 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1480 *ac_space=\ *)
1481 sed -n \
1482 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1483 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1484 ;;
1485 *)
1486 sed -n \
1487 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1488 ;;
1489 esac;
1490 }
1491 echo
1492
1493 cat <<\_ASBOX
1494 ## ----------------- ##
1495 ## Output variables. ##
1496 ## ----------------- ##
1497 _ASBOX
1498 echo
1499 for ac_var in $ac_subst_vars
1500 do
1501 eval ac_val=$`echo $ac_var`
1502 echo "$ac_var='"'"'$ac_val'"'"'"
1503 done | sort
1504 echo
1505
1506 if test -n "$ac_subst_files"; then
1507 cat <<\_ASBOX
1508 ## ------------- ##
1509 ## Output files. ##
1510 ## ------------- ##
1511 _ASBOX
1512 echo
1513 for ac_var in $ac_subst_files
1514 do
1515 eval ac_val=$`echo $ac_var`
1516 echo "$ac_var='"'"'$ac_val'"'"'"
1517 done | sort
1518 echo
1519 fi
1520
1521 if test -s confdefs.h; then
1522 cat <<\_ASBOX
1523 ## ----------- ##
1524 ## confdefs.h. ##
1525 ## ----------- ##
1526 _ASBOX
1527 echo
1528 sed "/^$/d" confdefs.h | sort
1529 echo
1530 fi
1531 test "$ac_signal" != 0 &&
1532 echo "$as_me: caught signal $ac_signal"
1533 echo "$as_me: exit $exit_status"
1534 } >&5
1535 rm -f core *.core &&
1536 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1537 exit $exit_status
1538 ' 0
1539 for ac_signal in 1 2 13 15; do
1540 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1541 done
1542 ac_signal=0
1543
1544 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1545 rm -rf conftest* confdefs.h
1546 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1547 echo >confdefs.h
1548
1549 # Predefined preprocessor variables.
1550
1551 cat >>confdefs.h <<_ACEOF
1552 #define PACKAGE_NAME "$PACKAGE_NAME"
1553 _ACEOF
1554
1555
1556 cat >>confdefs.h <<_ACEOF
1557 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1558 _ACEOF
1559
1560
1561 cat >>confdefs.h <<_ACEOF
1562 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1563 _ACEOF
1564
1565
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_STRING "$PACKAGE_STRING"
1568 _ACEOF
1569
1570
1571 cat >>confdefs.h <<_ACEOF
1572 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1573 _ACEOF
1574
1575
1576 # Let the site file select an alternate cache file if it wants to.
1577 # Prefer explicitly selected file to automatically selected ones.
1578 if test -z "$CONFIG_SITE"; then
1579 if test "x$prefix" != xNONE; then
1580 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1581 else
1582 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1583 fi
1584 fi
1585 for ac_site_file in $CONFIG_SITE; do
1586 if test -r "$ac_site_file"; then
1587 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1588 echo "$as_me: loading site script $ac_site_file" >&6;}
1589 sed 's/^/| /' "$ac_site_file" >&5
1590 . "$ac_site_file"
1591 fi
1592 done
1593
1594 if test -r "$cache_file"; then
1595 # Some versions of bash will fail to source /dev/null (special
1596 # files actually), so we avoid doing that.
1597 if test -f "$cache_file"; then
1598 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1599 echo "$as_me: loading cache $cache_file" >&6;}
1600 case $cache_file in
1601 [\\/]* | ?:[\\/]* ) . $cache_file;;
1602 *) . ./$cache_file;;
1603 esac
1604 fi
1605 else
1606 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1607 echo "$as_me: creating cache $cache_file" >&6;}
1608 >$cache_file
1609 fi
1610
1611 # Check that the precious variables saved in the cache have kept the same
1612 # value.
1613 ac_cache_corrupted=false
1614 for ac_var in `(set) 2>&1 |
1615 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1616 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1617 eval ac_new_set=\$ac_env_${ac_var}_set
1618 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1619 eval ac_new_val="\$ac_env_${ac_var}_value"
1620 case $ac_old_set,$ac_new_set in
1621 set,)
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1625 ,set)
1626 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1627 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1628 ac_cache_corrupted=: ;;
1629 ,);;
1630 *)
1631 if test "x$ac_old_val" != "x$ac_new_val"; then
1632 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1633 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1634 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1635 echo "$as_me: former value: $ac_old_val" >&2;}
1636 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1637 echo "$as_me: current value: $ac_new_val" >&2;}
1638 ac_cache_corrupted=:
1639 fi;;
1640 esac
1641 # Pass precious variables to config.status.
1642 if test "$ac_new_set" = set; then
1643 case $ac_new_val in
1644 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1645 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1646 *) ac_arg=$ac_var=$ac_new_val ;;
1647 esac
1648 case " $ac_configure_args " in
1649 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1650 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1651 esac
1652 fi
1653 done
1654 if $ac_cache_corrupted; then
1655 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1656 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1657 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1658 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1659 { (exit 1); exit 1; }; }
1660 fi
1661
1662 ac_ext=c
1663 ac_cpp='$CPP $CPPFLAGS'
1664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1693
1694
1695
1696
1697 ac_aux_dir=
1698 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1699 if test -f $ac_dir/install-sh; then
1700 ac_aux_dir=$ac_dir
1701 ac_install_sh="$ac_aux_dir/install-sh -c"
1702 break
1703 elif test -f $ac_dir/install.sh; then
1704 ac_aux_dir=$ac_dir
1705 ac_install_sh="$ac_aux_dir/install.sh -c"
1706 break
1707 elif test -f $ac_dir/shtool; then
1708 ac_aux_dir=$ac_dir
1709 ac_install_sh="$ac_aux_dir/shtool install -c"
1710 break
1711 fi
1712 done
1713 if test -z "$ac_aux_dir"; then
1714 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1715 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1716 { (exit 1); exit 1; }; }
1717 fi
1718 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1719 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1720 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1721
1722 # Make sure we can run config.sub.
1723 $ac_config_sub sun4 >/dev/null 2>&1 ||
1724 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1725 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1726 { (exit 1); exit 1; }; }
1727
1728 echo "$as_me:$LINENO: checking build system type" >&5
1729 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1730 if test "${ac_cv_build+set}" = set; then
1731 echo $ECHO_N "(cached) $ECHO_C" >&6
1732 else
1733 ac_cv_build_alias=$build_alias
1734 test -z "$ac_cv_build_alias" &&
1735 ac_cv_build_alias=`$ac_config_guess`
1736 test -z "$ac_cv_build_alias" &&
1737 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1738 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1739 { (exit 1); exit 1; }; }
1740 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1741 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1742 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1743 { (exit 1); exit 1; }; }
1744
1745 fi
1746 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1747 echo "${ECHO_T}$ac_cv_build" >&6
1748 build=$ac_cv_build
1749 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1750 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1751 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1752
1753
1754 echo "$as_me:$LINENO: checking host system type" >&5
1755 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1756 if test "${ac_cv_host+set}" = set; then
1757 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 else
1759 ac_cv_host_alias=$host_alias
1760 test -z "$ac_cv_host_alias" &&
1761 ac_cv_host_alias=$ac_cv_build_alias
1762 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1763 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1764 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1765 { (exit 1); exit 1; }; }
1766
1767 fi
1768 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1769 echo "${ECHO_T}$ac_cv_host" >&6
1770 host=$ac_cv_host
1771 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1772 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1773 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1774
1775
1776 echo "$as_me:$LINENO: checking target system type" >&5
1777 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1778 if test "${ac_cv_target+set}" = set; then
1779 echo $ECHO_N "(cached) $ECHO_C" >&6
1780 else
1781 ac_cv_target_alias=$target_alias
1782 test "x$ac_cv_target_alias" = "x" &&
1783 ac_cv_target_alias=$ac_cv_host_alias
1784 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1785 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1786 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1787 { (exit 1); exit 1; }; }
1788
1789 fi
1790 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1791 echo "${ECHO_T}$ac_cv_target" >&6
1792 target=$ac_cv_target
1793 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1794 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1795 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1796
1797
1798 # The aliases save the names the user supplied, while $host etc.
1799 # will get canonicalized.
1800 test -n "$target_alias" &&
1801 test "$program_prefix$program_suffix$program_transform_name" = \
1802 NONENONEs,x,x, &&
1803 program_prefix=${target_alias}-
1804
1805
1806
1807 wx_major_version_number=2
1808 wx_minor_version_number=9
1809 wx_release_number=0
1810 wx_subrelease_number=0
1811
1812 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1813 WX_VERSION=$WX_RELEASE.$wx_release_number
1814 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1815
1816 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1817
1818
1819 wx_top_builddir="`pwd`"
1820
1821
1822
1823
1824 USE_UNIX=1
1825 USE_OS2=0
1826 USE_WIN32=0
1827 USE_DOS=0
1828 USE_BEOS=0
1829 USE_MAC=0
1830
1831 USE_AIX=
1832 USE_BSD= USE_DARWIN= USE_FREEBSD=
1833 USE_GNU= USE_HPUX=
1834 USE_LINUX=
1835 USE_NETBSD=
1836 USE_OPENBSD=
1837 USE_OSF= USE_SGI=
1838 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1839 USE_ULTRIX=
1840 USE_UNIXWARE=
1841
1842 USE_ALPHA=
1843
1844 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1845
1846 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1847
1848 DEFAULT_wxUSE_COCOA=0
1849 DEFAULT_wxUSE_GTK=0
1850 DEFAULT_wxUSE_MAC=0
1851 DEFAULT_wxUSE_MGL=0
1852 DEFAULT_wxUSE_MICROWIN=0
1853 DEFAULT_wxUSE_MOTIF=0
1854 DEFAULT_wxUSE_MSW=0
1855 DEFAULT_wxUSE_PM=0
1856 DEFAULT_wxUSE_X11=0
1857 DEFAULT_wxUSE_DFB=0
1858
1859 DEFAULT_DEFAULT_wxUSE_COCOA=0
1860 DEFAULT_DEFAULT_wxUSE_GTK=0
1861 DEFAULT_DEFAULT_wxUSE_MAC=0
1862 DEFAULT_DEFAULT_wxUSE_MGL=0
1863 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1864 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1865 DEFAULT_DEFAULT_wxUSE_MSW=0
1866 DEFAULT_DEFAULT_wxUSE_PM=0
1867 DEFAULT_DEFAULT_wxUSE_X11=0
1868 DEFAULT_DEFAULT_wxUSE_DFB=0
1869
1870 PROGRAM_EXT=
1871 SO_SUFFIX=so
1872 SAMPLES_RPATH_FLAG=
1873 SAMPLES_RPATH_POSTLINK=
1874
1875 DEFAULT_STD_FLAG=yes
1876
1877 case "${host}" in
1878 *-hp-hpux* )
1879 USE_HPUX=1
1880 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1881 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1882 SO_SUFFIX=sl
1883 cat >>confdefs.h <<\_ACEOF
1884 #define __HPUX__ 1
1885 _ACEOF
1886
1887
1888 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1889 ;;
1890 *-*-linux* )
1891 USE_LINUX=1
1892 cat >>confdefs.h <<\_ACEOF
1893 #define __LINUX__ 1
1894 _ACEOF
1895
1896 TMP=`uname -m`
1897 if test "x$TMP" = "xalpha"; then
1898 USE_ALPHA=1
1899 cat >>confdefs.h <<\_ACEOF
1900 #define __ALPHA__ 1
1901 _ACEOF
1902
1903 fi
1904 DEFAULT_DEFAULT_wxUSE_GTK=1
1905 ;;
1906 *-*-gnu* | *-*-k*bsd*-gnu )
1907 USE_GNU=1
1908 TMP=`uname -m`
1909 if test "x$TMP" = "xalpha"; then
1910 USE_ALPHA=1
1911 cat >>confdefs.h <<\_ACEOF
1912 #define __ALPHA__ 1
1913 _ACEOF
1914
1915 fi
1916 DEFAULT_DEFAULT_wxUSE_GTK=1
1917 ;;
1918 *-*-irix5* | *-*-irix6* )
1919 USE_SGI=1
1920 USE_SVR4=1
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __SGI__ 1
1923 _ACEOF
1924
1925 cat >>confdefs.h <<\_ACEOF
1926 #define __SVR4__ 1
1927 _ACEOF
1928
1929 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1930 ;;
1931 *-*-solaris2* )
1932 USE_SUN=1
1933 USE_SOLARIS=1
1934 USE_SVR4=1
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __SUN__ 1
1937 _ACEOF
1938
1939 cat >>confdefs.h <<\_ACEOF
1940 #define __SOLARIS__ 1
1941 _ACEOF
1942
1943 cat >>confdefs.h <<\_ACEOF
1944 #define __SVR4__ 1
1945 _ACEOF
1946
1947 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1948 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1949 ;;
1950 *-*-sunos4* )
1951 USE_SUN=1
1952 USE_SUNOS=1
1953 USE_BSD=1
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __SUN__ 1
1956 _ACEOF
1957
1958 cat >>confdefs.h <<\_ACEOF
1959 #define __SUNOS__ 1
1960 _ACEOF
1961
1962 cat >>confdefs.h <<\_ACEOF
1963 #define __BSD__ 1
1964 _ACEOF
1965
1966 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1967 ;;
1968 *-*-freebsd*)
1969 USE_BSD=1
1970 USE_FREEBSD=1
1971 cat >>confdefs.h <<\_ACEOF
1972 #define __FREEBSD__ 1
1973 _ACEOF
1974
1975 cat >>confdefs.h <<\_ACEOF
1976 #define __BSD__ 1
1977 _ACEOF
1978
1979 DEFAULT_DEFAULT_wxUSE_GTK=1
1980 ;;
1981 *-*-openbsd*|*-*-mirbsd*)
1982 USE_BSD=1
1983 USE_OPENBSD=1
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __OPENBSD__ 1
1986 _ACEOF
1987
1988 cat >>confdefs.h <<\_ACEOF
1989 #define __BSD__ 1
1990 _ACEOF
1991
1992 DEFAULT_DEFAULT_wxUSE_GTK=1
1993 ;;
1994 *-*-netbsd*)
1995 USE_BSD=1
1996 USE_NETBSD=1
1997 cat >>confdefs.h <<\_ACEOF
1998 #define __NETBSD__ 1
1999 _ACEOF
2000
2001 cat >>confdefs.h <<\_ACEOF
2002 #define __BSD__ 1
2003 _ACEOF
2004
2005 DEFAULT_DEFAULT_wxUSE_GTK=1
2006 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2007
2008 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2009 ;;
2010 *-*-osf* )
2011 USE_ALPHA=1
2012 USE_OSF=1
2013 cat >>confdefs.h <<\_ACEOF
2014 #define __ALPHA__ 1
2015 _ACEOF
2016
2017 cat >>confdefs.h <<\_ACEOF
2018 #define __OSF__ 1
2019 _ACEOF
2020
2021 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2022 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2023 ;;
2024 *-*-dgux5* )
2025 USE_ALPHA=1
2026 USE_SVR4=1
2027 cat >>confdefs.h <<\_ACEOF
2028 #define __ALPHA__ 1
2029 _ACEOF
2030
2031 cat >>confdefs.h <<\_ACEOF
2032 #define __SVR4__ 1
2033 _ACEOF
2034
2035 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2036 ;;
2037 *-*-sysv5* )
2038 USE_SYSV=1
2039 USE_SVR4=1
2040 cat >>confdefs.h <<\_ACEOF
2041 #define __SYSV__ 1
2042 _ACEOF
2043
2044 cat >>confdefs.h <<\_ACEOF
2045 #define __SVR4__ 1
2046 _ACEOF
2047
2048 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2049 ;;
2050 *-*-aix* )
2051 USE_AIX=1
2052 USE_SYSV=1
2053 USE_SVR4=1
2054 SO_SUFFIX=a
2055 cat >>confdefs.h <<\_ACEOF
2056 #define __AIX__ 1
2057 _ACEOF
2058
2059 cat >>confdefs.h <<\_ACEOF
2060 #define __SYSV__ 1
2061 _ACEOF
2062
2063 cat >>confdefs.h <<\_ACEOF
2064 #define __SVR4__ 1
2065 _ACEOF
2066
2067 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2068 ;;
2069
2070 *-*-*UnixWare*)
2071 USE_SYSV=1
2072 USE_SVR4=1
2073 USE_UNIXWARE=1
2074 cat >>confdefs.h <<\_ACEOF
2075 #define __UNIXWARE__ 1
2076 _ACEOF
2077
2078 ;;
2079
2080 *-*-cygwin* | *-*-mingw32* )
2081 SO_SUFFIX=dll
2082 PROGRAM_EXT=".exe"
2083 DEFAULT_DEFAULT_wxUSE_MSW=1
2084 ;;
2085
2086 *-pc-msdosdjgpp )
2087 USE_UNIX=0
2088 USE_DOS=1
2089 cat >>confdefs.h <<\_ACEOF
2090 #define __DOS__ 1
2091 _ACEOF
2092
2093 PROGRAM_EXT=".exe"
2094 DEFAULT_DEFAULT_wxUSE_MGL=1
2095 ;;
2096
2097 *-pc-os2_emx | *-pc-os2-emx )
2098 cat >>confdefs.h <<\_ACEOF
2099 #define __EMX__ 1
2100 _ACEOF
2101
2102 USE_OS2=1
2103 cat >>confdefs.h <<\_ACEOF
2104 #define __OS2__ 1
2105 _ACEOF
2106
2107 PROGRAM_EXT=".exe"
2108 DEFAULT_DEFAULT_wxUSE_PM=1
2109 CXX=gcc
2110 LDFLAGS="$LDFLAGS -Zcrtdll"
2111 ac_executable_extensions=".exe"
2112 export ac_executable_extensions
2113 ac_save_IFS="$IFS"
2114 IFS='\\'
2115 ac_TEMP_PATH=
2116 for ac_dir in $PATH; do
2117 IFS=$ac_save_IFS
2118 if test -z "$ac_TEMP_PATH"; then
2119 ac_TEMP_PATH="$ac_dir"
2120 else
2121 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2122 fi
2123 done
2124 export PATH="$ac_TEMP_PATH"
2125 unset ac_TEMP_PATH
2126 DEFAULT_STD_FLAG=no
2127 ;;
2128
2129 *-*-darwin* )
2130 USE_BSD=1
2131 USE_DARWIN=1
2132 SO_SUFFIX=dylib
2133 cat >>confdefs.h <<\_ACEOF
2134 #define __BSD__ 1
2135 _ACEOF
2136
2137 cat >>confdefs.h <<\_ACEOF
2138 #define __DARWIN__ 1
2139 _ACEOF
2140
2141 cat >>confdefs.h <<\_ACEOF
2142 #define TARGET_CARBON 1
2143 _ACEOF
2144
2145 DEFAULT_DEFAULT_wxUSE_MAC=1
2146 DEFAULT_STD_FLAG=no
2147 ;;
2148 powerpc-apple-macos* )
2149 USE_UNIX=0
2150 ac_cv_c_bigendian=yes
2151 SO_SUFFIX=shlib
2152 DEFAULT_DEFAULT_wxUSE_MAC=1
2153 DEFAULT_STD_FLAG=no
2154 ;;
2155
2156 *-*-beos* )
2157 USE_BEOS=1
2158 cat >>confdefs.h <<\_ACEOF
2159 #define __BEOS__ 1
2160 _ACEOF
2161
2162 ;;
2163
2164 *)
2165 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2166 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2167 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2168 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2169
2170 DEFAULT_DEFAULT_wxUSE_X11=1
2171 DEFAULT_wxUSE_SHARED=no
2172 esac
2173
2174
2175
2176
2177 wx_arg_cache_file="configarg.cache"
2178 echo "loading argument cache $wx_arg_cache_file"
2179 rm -f ${wx_arg_cache_file}.tmp
2180 touch ${wx_arg_cache_file}.tmp
2181 touch ${wx_arg_cache_file}
2182
2183
2184 DEFAULT_wxUSE_ALL_FEATURES=yes
2185
2186 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2187 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2188
2189 DEFAULT_wxUSE_UNICODE_UTF8=auto
2190 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2191 DEFAULT_wxUSE_WCSRTOMBS=no
2192
2193 DEFAULT_wxUSE_ACCESSIBILITY=no
2194
2195 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2196
2197 DEFAULT_wxUSE_GTK2=yes
2198
2199 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2200
2201
2202 for toolkit in `echo $ALL_TOOLKITS`; do
2203 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2204 if test "x$LINE" != "x" ; then
2205 has_toolkit_in_cache=1
2206 eval "DEFAULT_$LINE"
2207 eval "CACHE_$toolkit=1"
2208
2209 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2210 if test "x$LINE" != "x" ; then
2211 eval "DEFAULT_$LINE"
2212 fi
2213 fi
2214 done
2215
2216
2217
2218
2219
2220 enablestring=disable
2221 defaultval=
2222 if test -z"$defaultval"; then
2223 if test x"$enablestring" = xdisable; then
2224 defaultval=yes
2225 else
2226 defaultval=no
2227 fi
2228 fi
2229
2230 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2231 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2232 no_cache=0
2233 # Check whether --enable-gui or --disable-gui was given.
2234 if test "${enable_gui+set}" = set; then
2235 enableval="$enable_gui"
2236
2237 if test "$enableval" = yes; then
2238 ac_cv_use_gui='wxUSE_GUI=yes'
2239 else
2240 ac_cv_use_gui='wxUSE_GUI=no'
2241 fi
2242
2243 else
2244
2245 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2246 if test "x$LINE" != x ; then
2247 eval "DEFAULT_$LINE"
2248 else
2249 no_cache=1
2250 fi
2251
2252 ac_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2253
2254 fi;
2255
2256 eval "$ac_cv_use_gui"
2257 if test "$no_cache" != 1; then
2258 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2259 fi
2260
2261 if test x"$enablestring" = xdisable; then
2262 if test $wxUSE_GUI = yes; then
2263 result=no
2264 else
2265 result=yes
2266 fi
2267 else
2268 result=$wxUSE_GUI
2269 fi
2270
2271 echo "$as_me:$LINENO: result: $result" >&5
2272 echo "${ECHO_T}$result" >&6
2273
2274
2275 enablestring=
2276 defaultval=
2277 if test -z"$defaultval"; then
2278 if test x"$enablestring" = xdisable; then
2279 defaultval=yes
2280 else
2281 defaultval=no
2282 fi
2283 fi
2284
2285 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2286 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2287 no_cache=0
2288 # Check whether --enable-monolithic or --disable-monolithic was given.
2289 if test "${enable_monolithic+set}" = set; then
2290 enableval="$enable_monolithic"
2291
2292 if test "$enableval" = yes; then
2293 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2294 else
2295 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2296 fi
2297
2298 else
2299
2300 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
2301 if test "x$LINE" != x ; then
2302 eval "DEFAULT_$LINE"
2303 else
2304 no_cache=1
2305 fi
2306
2307 ac_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
2308
2309 fi;
2310
2311 eval "$ac_cv_use_monolithic"
2312 if test "$no_cache" != 1; then
2313 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2314 fi
2315
2316 if test x"$enablestring" = xdisable; then
2317 if test $wxUSE_MONOLITHIC = yes; then
2318 result=no
2319 else
2320 result=yes
2321 fi
2322 else
2323 result=$wxUSE_MONOLITHIC
2324 fi
2325
2326 echo "$as_me:$LINENO: result: $result" >&5
2327 echo "${ECHO_T}$result" >&6
2328
2329
2330 enablestring=
2331 defaultval=
2332 if test -z"$defaultval"; then
2333 if test x"$enablestring" = xdisable; then
2334 defaultval=yes
2335 else
2336 defaultval=no
2337 fi
2338 fi
2339
2340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2341 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2342 no_cache=0
2343 # Check whether --enable-plugins or --disable-plugins was given.
2344 if test "${enable_plugins+set}" = set; then
2345 enableval="$enable_plugins"
2346
2347 if test "$enableval" = yes; then
2348 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2349 else
2350 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2351 fi
2352
2353 else
2354
2355 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
2356 if test "x$LINE" != x ; then
2357 eval "DEFAULT_$LINE"
2358 else
2359 no_cache=1
2360 fi
2361
2362 ac_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
2363
2364 fi;
2365
2366 eval "$ac_cv_use_plugins"
2367 if test "$no_cache" != 1; then
2368 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2369 fi
2370
2371 if test x"$enablestring" = xdisable; then
2372 if test $wxUSE_PLUGINS = yes; then
2373 result=no
2374 else
2375 result=yes
2376 fi
2377 else
2378 result=$wxUSE_PLUGINS
2379 fi
2380
2381 echo "$as_me:$LINENO: result: $result" >&5
2382 echo "${ECHO_T}$result" >&6
2383
2384
2385 withstring=without
2386 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2387 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2388 no_cache=0
2389
2390 # Check whether --with-subdirs or --without-subdirs was given.
2391 if test "${with_subdirs+set}" = set; then
2392 withval="$with_subdirs"
2393
2394 if test "$withval" = yes; then
2395 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2396 else
2397 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2398 fi
2399
2400 else
2401
2402 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
2403 if test "x$LINE" != x ; then
2404 eval "DEFAULT_$LINE"
2405 else
2406 no_cache=1
2407 fi
2408
2409 ac_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$wxUSE_ALL_FEATURES}"
2410
2411 fi;
2412
2413 eval "$ac_cv_use_subdirs"
2414 if test "$no_cache" != 1; then
2415 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2416 fi
2417
2418 if test x"$withstring" = xwithout; then
2419 if test $wxWITH_SUBDIRS = yes; then
2420 result=no
2421 else
2422 result=yes
2423 fi
2424 else
2425 result=$wxWITH_SUBDIRS
2426 fi
2427
2428 echo "$as_me:$LINENO: result: $result" >&5
2429 echo "${ECHO_T}$result" >&6
2430
2431
2432 # Check whether --with-flavour or --without-flavour was given.
2433 if test "${with_flavour+set}" = set; then
2434 withval="$with_flavour"
2435 WX_FLAVOUR="$withval"
2436 fi;
2437
2438 enablestring=
2439 defaultval=
2440 if test -z"$defaultval"; then
2441 if test x"$enablestring" = xdisable; then
2442 defaultval=yes
2443 else
2444 defaultval=no
2445 fi
2446 fi
2447
2448 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
2449 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
2450 no_cache=0
2451 # Check whether --enable-official_build or --disable-official_build was given.
2452 if test "${enable_official_build+set}" = set; then
2453 enableval="$enable_official_build"
2454
2455 if test "$enableval" = yes; then
2456 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
2457 else
2458 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
2459 fi
2460
2461 else
2462
2463 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
2464 if test "x$LINE" != x ; then
2465 eval "DEFAULT_$LINE"
2466 else
2467 no_cache=1
2468 fi
2469
2470 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
2471
2472 fi;
2473
2474 eval "$ac_cv_use_official_build"
2475 if test "$no_cache" != 1; then
2476 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
2477 fi
2478
2479 if test x"$enablestring" = xdisable; then
2480 if test $wxUSE_OFFICIAL_BUILD = yes; then
2481 result=no
2482 else
2483 result=yes
2484 fi
2485 else
2486 result=$wxUSE_OFFICIAL_BUILD
2487 fi
2488
2489 echo "$as_me:$LINENO: result: $result" >&5
2490 echo "${ECHO_T}$result" >&6
2491
2492 # Check whether --enable-vendor or --disable-vendor was given.
2493 if test "${enable_vendor+set}" = set; then
2494 enableval="$enable_vendor"
2495 VENDOR="$enableval"
2496 fi;
2497 if test "x$VENDOR" = "x"; then
2498 VENDOR="custom"
2499 fi
2500
2501
2502 enablestring=disable
2503 defaultval=
2504 if test -z"$defaultval"; then
2505 if test x"$enablestring" = xdisable; then
2506 defaultval=yes
2507 else
2508 defaultval=no
2509 fi
2510 fi
2511
2512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all_features" >&5
2513 echo $ECHO_N "checking for --${enablestring:-enable}-all_features... $ECHO_C" >&6
2514 no_cache=0
2515 # Check whether --enable-all_features or --disable-all_features was given.
2516 if test "${enable_all_features+set}" = set; then
2517 enableval="$enable_all_features"
2518
2519 if test "$enableval" = yes; then
2520 ac_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
2521 else
2522 ac_cv_use_all_features='wxUSE_ALL_FEATURES=no'
2523 fi
2524
2525 else
2526
2527 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
2528 if test "x$LINE" != x ; then
2529 eval "DEFAULT_$LINE"
2530 else
2531 no_cache=1
2532 fi
2533
2534 ac_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
2535
2536 fi;
2537
2538 eval "$ac_cv_use_all_features"
2539 if test "$no_cache" != 1; then
2540 echo $ac_cv_use_all_features >> ${wx_arg_cache_file}.tmp
2541 fi
2542
2543 if test x"$enablestring" = xdisable; then
2544 if test $wxUSE_ALL_FEATURES = yes; then
2545 result=no
2546 else
2547 result=yes
2548 fi
2549 else
2550 result=$wxUSE_ALL_FEATURES
2551 fi
2552
2553 echo "$as_me:$LINENO: result: $result" >&5
2554 echo "${ECHO_T}$result" >&6
2555
2556
2557
2558 if test "$wxUSE_GUI" = "yes"; then
2559
2560
2561 enablestring=
2562 defaultval=
2563 if test -z"$defaultval"; then
2564 if test x"$enablestring" = xdisable; then
2565 defaultval=yes
2566 else
2567 defaultval=no
2568 fi
2569 fi
2570
2571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2572 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2573 no_cache=0
2574 # Check whether --enable-universal or --disable-universal was given.
2575 if test "${enable_universal+set}" = set; then
2576 enableval="$enable_universal"
2577
2578 if test "$enableval" = yes; then
2579 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2580 else
2581 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2582 fi
2583
2584 else
2585
2586 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
2587 if test "x$LINE" != x ; then
2588 eval "DEFAULT_$LINE"
2589 else
2590 no_cache=1
2591 fi
2592
2593 ac_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
2594
2595 fi;
2596
2597 eval "$ac_cv_use_universal"
2598 if test "$no_cache" != 1; then
2599 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2600 fi
2601
2602 if test x"$enablestring" = xdisable; then
2603 if test $wxUSE_UNIVERSAL = yes; then
2604 result=no
2605 else
2606 result=yes
2607 fi
2608 else
2609 result=$wxUSE_UNIVERSAL
2610 fi
2611
2612 echo "$as_me:$LINENO: result: $result" >&5
2613 echo "${ECHO_T}$result" >&6
2614
2615 if test "$wxUSE_UNIVERSAL" = "yes"; then
2616
2617 # Check whether --with-themes or --without-themes was given.
2618 if test "${with_themes+set}" = set; then
2619 withval="$with_themes"
2620 wxUNIV_THEMES="$withval"
2621 fi;
2622 fi
2623
2624
2625 # Check whether --with-gtk or --without-gtk was given.
2626 if test "${with_gtk+set}" = set; then
2627 withval="$with_gtk"
2628 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2629 fi;
2630
2631 # Check whether --with-motif or --without-motif was given.
2632 if test "${with_motif+set}" = set; then
2633 withval="$with_motif"
2634 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2635 fi;
2636
2637 # Check whether --with-mac or --without-mac was given.
2638 if test "${with_mac+set}" = set; then
2639 withval="$with_mac"
2640 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2641 fi;
2642
2643 # Check whether --with-cocoa or --without-cocoa was given.
2644 if test "${with_cocoa+set}" = set; then
2645 withval="$with_cocoa"
2646 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2647 fi;
2648
2649 # Check whether --with-wine or --without-wine was given.
2650 if test "${with_wine+set}" = set; then
2651 withval="$with_wine"
2652 wxUSE_WINE="$withval" CACHE_WINE=1
2653 fi;
2654
2655 # Check whether --with-msw or --without-msw was given.
2656 if test "${with_msw+set}" = set; then
2657 withval="$with_msw"
2658 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2659 fi;
2660
2661 # Check whether --with-pm or --without-pm was given.
2662 if test "${with_pm+set}" = set; then
2663 withval="$with_pm"
2664 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2665 fi;
2666
2667 # Check whether --with-mgl or --without-mgl was given.
2668 if test "${with_mgl+set}" = set; then
2669 withval="$with_mgl"
2670 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2671 fi;
2672
2673 # Check whether --with-directfb or --without-directfb was given.
2674 if test "${with_directfb+set}" = set; then
2675 withval="$with_directfb"
2676 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2677 fi;
2678
2679 # Check whether --with-microwin or --without-microwin was given.
2680 if test "${with_microwin+set}" = set; then
2681 withval="$with_microwin"
2682 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2683 fi;
2684
2685 # Check whether --with-x11 or --without-x11 was given.
2686 if test "${with_x11+set}" = set; then
2687 withval="$with_x11"
2688 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2689 fi;
2690
2691 enablestring=
2692 defaultval=
2693 if test -z"$defaultval"; then
2694 if test x"$enablestring" = xdisable; then
2695 defaultval=yes
2696 else
2697 defaultval=no
2698 fi
2699 fi
2700
2701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2702 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2703 no_cache=0
2704 # Check whether --enable-nanox or --disable-nanox was given.
2705 if test "${enable_nanox+set}" = set; then
2706 enableval="$enable_nanox"
2707
2708 if test "$enableval" = yes; then
2709 ac_cv_use_nanox='wxUSE_NANOX=yes'
2710 else
2711 ac_cv_use_nanox='wxUSE_NANOX=no'
2712 fi
2713
2714 else
2715
2716 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
2717 if test "x$LINE" != x ; then
2718 eval "DEFAULT_$LINE"
2719 else
2720 no_cache=1
2721 fi
2722
2723 ac_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
2724
2725 fi;
2726
2727 eval "$ac_cv_use_nanox"
2728 if test "$no_cache" != 1; then
2729 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2730 fi
2731
2732 if test x"$enablestring" = xdisable; then
2733 if test $wxUSE_NANOX = yes; then
2734 result=no
2735 else
2736 result=yes
2737 fi
2738 else
2739 result=$wxUSE_NANOX
2740 fi
2741
2742 echo "$as_me:$LINENO: result: $result" >&5
2743 echo "${ECHO_T}$result" >&6
2744
2745
2746 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2747 if test "${enable_gtk2+set}" = set; then
2748 enableval="$enable_gtk2"
2749 wxUSE_GTK2="$enableval"
2750 fi;
2751
2752 enablestring=
2753 defaultval=
2754 if test -z"$defaultval"; then
2755 if test x"$enablestring" = xdisable; then
2756 defaultval=yes
2757 else
2758 defaultval=no
2759 fi
2760 fi
2761
2762 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2763 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2764 no_cache=0
2765 # Check whether --enable-gpe or --disable-gpe was given.
2766 if test "${enable_gpe+set}" = set; then
2767 enableval="$enable_gpe"
2768
2769 if test "$enableval" = yes; then
2770 ac_cv_use_gpe='wxUSE_GPE=yes'
2771 else
2772 ac_cv_use_gpe='wxUSE_GPE=no'
2773 fi
2774
2775 else
2776
2777 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
2778 if test "x$LINE" != x ; then
2779 eval "DEFAULT_$LINE"
2780 else
2781 no_cache=1
2782 fi
2783
2784 ac_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
2785
2786 fi;
2787
2788 eval "$ac_cv_use_gpe"
2789 if test "$no_cache" != 1; then
2790 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2791 fi
2792
2793 if test x"$enablestring" = xdisable; then
2794 if test $wxUSE_GPE = yes; then
2795 result=no
2796 else
2797 result=yes
2798 fi
2799 else
2800 result=$wxUSE_GPE
2801 fi
2802
2803 echo "$as_me:$LINENO: result: $result" >&5
2804 echo "${ECHO_T}$result" >&6
2805
2806
2807
2808
2809 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2810 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2811 no_cache=0
2812
2813 # Check whether --with-libpng or --without-libpng was given.
2814 if test "${with_libpng+set}" = set; then
2815 withval="$with_libpng"
2816
2817 if test "$withval" = yes; then
2818 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2819 elif test "$withval" = no; then
2820 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2821 elif test "$withval" = sys; then
2822 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2823 elif test "$withval" = builtin; then
2824 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2825 else
2826 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2827 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2828 { (exit 1); exit 1; }; }
2829 fi
2830
2831 else
2832
2833 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
2834 if test "x$LINE" != x ; then
2835 eval "DEFAULT_$LINE"
2836 else
2837 no_cache=1
2838 fi
2839
2840 ac_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
2841
2842 fi;
2843
2844 eval "$ac_cv_use_libpng"
2845 if test "$no_cache" != 1; then
2846 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2847 fi
2848
2849 if test "$wxUSE_LIBPNG" = yes; then
2850 echo "$as_me:$LINENO: result: yes" >&5
2851 echo "${ECHO_T}yes" >&6
2852 elif test "$wxUSE_LIBPNG" = no; then
2853 echo "$as_me:$LINENO: result: no" >&5
2854 echo "${ECHO_T}no" >&6
2855 elif test "$wxUSE_LIBPNG" = sys; then
2856 echo "$as_me:$LINENO: result: system version" >&5
2857 echo "${ECHO_T}system version" >&6
2858 elif test "$wxUSE_LIBPNG" = builtin; then
2859 echo "$as_me:$LINENO: result: builtin version" >&5
2860 echo "${ECHO_T}builtin version" >&6
2861 else
2862 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2863 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2864 { (exit 1); exit 1; }; }
2865 fi
2866
2867
2868 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2869 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2870 no_cache=0
2871
2872 # Check whether --with-libjpeg or --without-libjpeg was given.
2873 if test "${with_libjpeg+set}" = set; then
2874 withval="$with_libjpeg"
2875
2876 if test "$withval" = yes; then
2877 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2878 elif test "$withval" = no; then
2879 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2880 elif test "$withval" = sys; then
2881 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2882 elif test "$withval" = builtin; then
2883 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2884 else
2885 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2886 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2887 { (exit 1); exit 1; }; }
2888 fi
2889
2890 else
2891
2892 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
2893 if test "x$LINE" != x ; then
2894 eval "DEFAULT_$LINE"
2895 else
2896 no_cache=1
2897 fi
2898
2899 ac_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
2900
2901 fi;
2902
2903 eval "$ac_cv_use_libjpeg"
2904 if test "$no_cache" != 1; then
2905 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2906 fi
2907
2908 if test "$wxUSE_LIBJPEG" = yes; then
2909 echo "$as_me:$LINENO: result: yes" >&5
2910 echo "${ECHO_T}yes" >&6
2911 elif test "$wxUSE_LIBJPEG" = no; then
2912 echo "$as_me:$LINENO: result: no" >&5
2913 echo "${ECHO_T}no" >&6
2914 elif test "$wxUSE_LIBJPEG" = sys; then
2915 echo "$as_me:$LINENO: result: system version" >&5
2916 echo "${ECHO_T}system version" >&6
2917 elif test "$wxUSE_LIBJPEG" = builtin; then
2918 echo "$as_me:$LINENO: result: builtin version" >&5
2919 echo "${ECHO_T}builtin version" >&6
2920 else
2921 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2922 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2923 { (exit 1); exit 1; }; }
2924 fi
2925
2926
2927 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
2928 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2929 no_cache=0
2930
2931 # Check whether --with-libtiff or --without-libtiff was given.
2932 if test "${with_libtiff+set}" = set; then
2933 withval="$with_libtiff"
2934
2935 if test "$withval" = yes; then
2936 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2937 elif test "$withval" = no; then
2938 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
2939 elif test "$withval" = sys; then
2940 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2941 elif test "$withval" = builtin; then
2942 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
2943 else
2944 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2945 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2946 { (exit 1); exit 1; }; }
2947 fi
2948
2949 else
2950
2951 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
2952 if test "x$LINE" != x ; then
2953 eval "DEFAULT_$LINE"
2954 else
2955 no_cache=1
2956 fi
2957
2958 ac_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
2959
2960 fi;
2961
2962 eval "$ac_cv_use_libtiff"
2963 if test "$no_cache" != 1; then
2964 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2965 fi
2966
2967 if test "$wxUSE_LIBTIFF" = yes; then
2968 echo "$as_me:$LINENO: result: yes" >&5
2969 echo "${ECHO_T}yes" >&6
2970 elif test "$wxUSE_LIBTIFF" = no; then
2971 echo "$as_me:$LINENO: result: no" >&5
2972 echo "${ECHO_T}no" >&6
2973 elif test "$wxUSE_LIBTIFF" = sys; then
2974 echo "$as_me:$LINENO: result: system version" >&5
2975 echo "${ECHO_T}system version" >&6
2976 elif test "$wxUSE_LIBTIFF" = builtin; then
2977 echo "$as_me:$LINENO: result: builtin version" >&5
2978 echo "${ECHO_T}builtin version" >&6
2979 else
2980 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
2981 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
2982 { (exit 1); exit 1; }; }
2983 fi
2984
2985
2986 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
2987 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
2988 no_cache=0
2989
2990 # Check whether --with-libxpm or --without-libxpm was given.
2991 if test "${with_libxpm+set}" = set; then
2992 withval="$with_libxpm"
2993
2994 if test "$withval" = yes; then
2995 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
2996 elif test "$withval" = no; then
2997 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
2998 elif test "$withval" = sys; then
2999 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3000 elif test "$withval" = builtin; then
3001 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3002 else
3003 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3004 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3005 { (exit 1); exit 1; }; }
3006 fi
3007
3008 else
3009
3010 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3011 if test "x$LINE" != x ; then
3012 eval "DEFAULT_$LINE"
3013 else
3014 no_cache=1
3015 fi
3016
3017 ac_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3018
3019 fi;
3020
3021 eval "$ac_cv_use_libxpm"
3022 if test "$no_cache" != 1; then
3023 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3024 fi
3025
3026 if test "$wxUSE_LIBXPM" = yes; then
3027 echo "$as_me:$LINENO: result: yes" >&5
3028 echo "${ECHO_T}yes" >&6
3029 elif test "$wxUSE_LIBXPM" = no; then
3030 echo "$as_me:$LINENO: result: no" >&5
3031 echo "${ECHO_T}no" >&6
3032 elif test "$wxUSE_LIBXPM" = sys; then
3033 echo "$as_me:$LINENO: result: system version" >&5
3034 echo "${ECHO_T}system version" >&6
3035 elif test "$wxUSE_LIBXPM" = builtin; then
3036 echo "$as_me:$LINENO: result: builtin version" >&5
3037 echo "${ECHO_T}builtin version" >&6
3038 else
3039 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3040 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3041 { (exit 1); exit 1; }; }
3042 fi
3043
3044
3045 withstring=
3046 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3047 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3048 no_cache=0
3049
3050 # Check whether --with-libmspack or --without-libmspack was given.
3051 if test "${with_libmspack+set}" = set; then
3052 withval="$with_libmspack"
3053
3054 if test "$withval" = yes; then
3055 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3056 else
3057 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3058 fi
3059
3060 else
3061
3062 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3063 if test "x$LINE" != x ; then
3064 eval "DEFAULT_$LINE"
3065 else
3066 no_cache=1
3067 fi
3068
3069 ac_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$wxUSE_ALL_FEATURES}"
3070
3071 fi;
3072
3073 eval "$ac_cv_use_libmspack"
3074 if test "$no_cache" != 1; then
3075 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3076 fi
3077
3078 if test x"$withstring" = xwithout; then
3079 if test $wxUSE_LIBMSPACK = yes; then
3080 result=no
3081 else
3082 result=yes
3083 fi
3084 else
3085 result=$wxUSE_LIBMSPACK
3086 fi
3087
3088 echo "$as_me:$LINENO: result: $result" >&5
3089 echo "${ECHO_T}$result" >&6
3090
3091
3092 withstring=
3093 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3094 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3095 no_cache=0
3096
3097 # Check whether --with-sdl or --without-sdl was given.
3098 if test "${with_sdl+set}" = set; then
3099 withval="$with_sdl"
3100
3101 if test "$withval" = yes; then
3102 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3103 else
3104 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3105 fi
3106
3107 else
3108
3109 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
3110 if test "x$LINE" != x ; then
3111 eval "DEFAULT_$LINE"
3112 else
3113 no_cache=1
3114 fi
3115
3116 ac_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$wxUSE_ALL_FEATURES}"
3117
3118 fi;
3119
3120 eval "$ac_cv_use_sdl"
3121 if test "$no_cache" != 1; then
3122 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3123 fi
3124
3125 if test x"$withstring" = xwithout; then
3126 if test $wxUSE_LIBSDL = yes; then
3127 result=no
3128 else
3129 result=yes
3130 fi
3131 else
3132 result=$wxUSE_LIBSDL
3133 fi
3134
3135 echo "$as_me:$LINENO: result: $result" >&5
3136 echo "${ECHO_T}$result" >&6
3137
3138
3139 withstring=without
3140 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3141 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3142 no_cache=0
3143
3144 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3145 if test "${with_gnomeprint+set}" = set; then
3146 withval="$with_gnomeprint"
3147
3148 if test "$withval" = yes; then
3149 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3150 else
3151 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3152 fi
3153
3154 else
3155
3156 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3157 if test "x$LINE" != x ; then
3158 eval "DEFAULT_$LINE"
3159 else
3160 no_cache=1
3161 fi
3162
3163 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$wxUSE_ALL_FEATURES}"
3164
3165 fi;
3166
3167 eval "$ac_cv_use_gnomeprint"
3168 if test "$no_cache" != 1; then
3169 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3170 fi
3171
3172 if test x"$withstring" = xwithout; then
3173 if test $wxUSE_LIBGNOMEPRINT = yes; then
3174 result=no
3175 else
3176 result=yes
3177 fi
3178 else
3179 result=$wxUSE_LIBGNOMEPRINT
3180 fi
3181
3182 echo "$as_me:$LINENO: result: $result" >&5
3183 echo "${ECHO_T}$result" >&6
3184
3185
3186 withstring=
3187 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3188 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3189 no_cache=0
3190
3191 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3192 if test "${with_gnomevfs+set}" = set; then
3193 withval="$with_gnomevfs"
3194
3195 if test "$withval" = yes; then
3196 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3197 else
3198 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3199 fi
3200
3201 else
3202
3203 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3204 if test "x$LINE" != x ; then
3205 eval "DEFAULT_$LINE"
3206 else
3207 no_cache=1
3208 fi
3209
3210 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$wxUSE_ALL_FEATURES}"
3211
3212 fi;
3213
3214 eval "$ac_cv_use_gnomevfs"
3215 if test "$no_cache" != 1; then
3216 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3217 fi
3218
3219 if test x"$withstring" = xwithout; then
3220 if test $wxUSE_LIBGNOMEVFS = yes; then
3221 result=no
3222 else
3223 result=yes
3224 fi
3225 else
3226 result=$wxUSE_LIBGNOMEVFS
3227 fi
3228
3229 echo "$as_me:$LINENO: result: $result" >&5
3230 echo "${ECHO_T}$result" >&6
3231
3232
3233 withstring=
3234 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3235 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3236 no_cache=0
3237
3238 # Check whether --with-hildon or --without-hildon was given.
3239 if test "${with_hildon+set}" = set; then
3240 withval="$with_hildon"
3241
3242 if test "$withval" = yes; then
3243 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3244 else
3245 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3246 fi
3247
3248 else
3249
3250 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3251 if test "x$LINE" != x ; then
3252 eval "DEFAULT_$LINE"
3253 else
3254 no_cache=1
3255 fi
3256
3257 ac_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$wxUSE_ALL_FEATURES}"
3258
3259 fi;
3260
3261 eval "$ac_cv_use_hildon"
3262 if test "$no_cache" != 1; then
3263 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3264 fi
3265
3266 if test x"$withstring" = xwithout; then
3267 if test $wxUSE_LIBHILDON = yes; then
3268 result=no
3269 else
3270 result=yes
3271 fi
3272 else
3273 result=$wxUSE_LIBHILDON
3274 fi
3275
3276 echo "$as_me:$LINENO: result: $result" >&5
3277 echo "${ECHO_T}$result" >&6
3278
3279
3280 withstring=
3281 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3282 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3283 no_cache=0
3284
3285 # Check whether --with-opengl or --without-opengl was given.
3286 if test "${with_opengl+set}" = set; then
3287 withval="$with_opengl"
3288
3289 if test "$withval" = yes; then
3290 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3291 else
3292 ac_cv_use_opengl='wxUSE_OPENGL=no'
3293 fi
3294
3295 else
3296
3297 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
3298 if test "x$LINE" != x ; then
3299 eval "DEFAULT_$LINE"
3300 else
3301 no_cache=1
3302 fi
3303
3304 ac_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$wxUSE_ALL_FEATURES}"
3305
3306 fi;
3307
3308 eval "$ac_cv_use_opengl"
3309 if test "$no_cache" != 1; then
3310 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3311 fi
3312
3313 if test x"$withstring" = xwithout; then
3314 if test $wxUSE_OPENGL = yes; then
3315 result=no
3316 else
3317 result=yes
3318 fi
3319 else
3320 result=$wxUSE_OPENGL
3321 fi
3322
3323 echo "$as_me:$LINENO: result: $result" >&5
3324 echo "${ECHO_T}$result" >&6
3325
3326
3327 fi
3328
3329
3330 withstring=
3331 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3332 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3333 no_cache=0
3334
3335 # Check whether --with-dmalloc or --without-dmalloc was given.
3336 if test "${with_dmalloc+set}" = set; then
3337 withval="$with_dmalloc"
3338
3339 if test "$withval" = yes; then
3340 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3341 else
3342 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3343 fi
3344
3345 else
3346
3347 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
3348 if test "x$LINE" != x ; then
3349 eval "DEFAULT_$LINE"
3350 else
3351 no_cache=1
3352 fi
3353
3354 ac_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$wxUSE_ALL_FEATURES}"
3355
3356 fi;
3357
3358 eval "$ac_cv_use_dmalloc"
3359 if test "$no_cache" != 1; then
3360 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3361 fi
3362
3363 if test x"$withstring" = xwithout; then
3364 if test $wxUSE_DMALLOC = yes; then
3365 result=no
3366 else
3367 result=yes
3368 fi
3369 else
3370 result=$wxUSE_DMALLOC
3371 fi
3372
3373 echo "$as_me:$LINENO: result: $result" >&5
3374 echo "${ECHO_T}$result" >&6
3375
3376
3377 echo "$as_me:$LINENO: checking for --with-regex" >&5
3378 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3379 no_cache=0
3380
3381 # Check whether --with-regex or --without-regex was given.
3382 if test "${with_regex+set}" = set; then
3383 withval="$with_regex"
3384
3385 if test "$withval" = yes; then
3386 ac_cv_use_regex='wxUSE_REGEX=yes'
3387 elif test "$withval" = no; then
3388 ac_cv_use_regex='wxUSE_REGEX=no'
3389 elif test "$withval" = sys; then
3390 ac_cv_use_regex='wxUSE_REGEX=sys'
3391 elif test "$withval" = builtin; then
3392 ac_cv_use_regex='wxUSE_REGEX=builtin'
3393 else
3394 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3395 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3396 { (exit 1); exit 1; }; }
3397 fi
3398
3399 else
3400
3401 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
3402 if test "x$LINE" != x ; then
3403 eval "DEFAULT_$LINE"
3404 else
3405 no_cache=1
3406 fi
3407
3408 ac_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
3409
3410 fi;
3411
3412 eval "$ac_cv_use_regex"
3413 if test "$no_cache" != 1; then
3414 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3415 fi
3416
3417 if test "$wxUSE_REGEX" = yes; then
3418 echo "$as_me:$LINENO: result: yes" >&5
3419 echo "${ECHO_T}yes" >&6
3420 elif test "$wxUSE_REGEX" = no; then
3421 echo "$as_me:$LINENO: result: no" >&5
3422 echo "${ECHO_T}no" >&6
3423 elif test "$wxUSE_REGEX" = sys; then
3424 echo "$as_me:$LINENO: result: system version" >&5
3425 echo "${ECHO_T}system version" >&6
3426 elif test "$wxUSE_REGEX" = builtin; then
3427 echo "$as_me:$LINENO: result: builtin version" >&5
3428 echo "${ECHO_T}builtin version" >&6
3429 else
3430 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3431 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3432 { (exit 1); exit 1; }; }
3433 fi
3434
3435
3436 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3437 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3438 no_cache=0
3439
3440 # Check whether --with-zlib or --without-zlib was given.
3441 if test "${with_zlib+set}" = set; then
3442 withval="$with_zlib"
3443
3444 if test "$withval" = yes; then
3445 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3446 elif test "$withval" = no; then
3447 ac_cv_use_zlib='wxUSE_ZLIB=no'
3448 elif test "$withval" = sys; then
3449 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3450 elif test "$withval" = builtin; then
3451 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3452 else
3453 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3454 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3455 { (exit 1); exit 1; }; }
3456 fi
3457
3458 else
3459
3460 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
3461 if test "x$LINE" != x ; then
3462 eval "DEFAULT_$LINE"
3463 else
3464 no_cache=1
3465 fi
3466
3467 ac_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
3468
3469 fi;
3470
3471 eval "$ac_cv_use_zlib"
3472 if test "$no_cache" != 1; then
3473 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3474 fi
3475
3476 if test "$wxUSE_ZLIB" = yes; then
3477 echo "$as_me:$LINENO: result: yes" >&5
3478 echo "${ECHO_T}yes" >&6
3479 elif test "$wxUSE_ZLIB" = no; then
3480 echo "$as_me:$LINENO: result: no" >&5
3481 echo "${ECHO_T}no" >&6
3482 elif test "$wxUSE_ZLIB" = sys; then
3483 echo "$as_me:$LINENO: result: system version" >&5
3484 echo "${ECHO_T}system version" >&6
3485 elif test "$wxUSE_ZLIB" = builtin; then
3486 echo "$as_me:$LINENO: result: builtin version" >&5
3487 echo "${ECHO_T}builtin version" >&6
3488 else
3489 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3490 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3491 { (exit 1); exit 1; }; }
3492 fi
3493
3494
3495 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3496 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3497 no_cache=0
3498
3499 # Check whether --with-odbc or --without-odbc was given.
3500 if test "${with_odbc+set}" = set; then
3501 withval="$with_odbc"
3502
3503 if test "$withval" = yes; then
3504 ac_cv_use_odbc='wxUSE_ODBC=yes'
3505 elif test "$withval" = no; then
3506 ac_cv_use_odbc='wxUSE_ODBC=no'
3507 elif test "$withval" = sys; then
3508 ac_cv_use_odbc='wxUSE_ODBC=sys'
3509 elif test "$withval" = builtin; then
3510 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3511 else
3512 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3513 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3514 { (exit 1); exit 1; }; }
3515 fi
3516
3517 else
3518
3519 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
3520 if test "x$LINE" != x ; then
3521 eval "DEFAULT_$LINE"
3522 else
3523 no_cache=1
3524 fi
3525
3526 ac_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
3527
3528 fi;
3529
3530 eval "$ac_cv_use_odbc"
3531 if test "$no_cache" != 1; then
3532 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3533 fi
3534
3535 if test "$wxUSE_ODBC" = yes; then
3536 echo "$as_me:$LINENO: result: yes" >&5
3537 echo "${ECHO_T}yes" >&6
3538 elif test "$wxUSE_ODBC" = no; then
3539 echo "$as_me:$LINENO: result: no" >&5
3540 echo "${ECHO_T}no" >&6
3541 elif test "$wxUSE_ODBC" = sys; then
3542 echo "$as_me:$LINENO: result: system version" >&5
3543 echo "${ECHO_T}system version" >&6
3544 elif test "$wxUSE_ODBC" = builtin; then
3545 echo "$as_me:$LINENO: result: builtin version" >&5
3546 echo "${ECHO_T}builtin version" >&6
3547 else
3548 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3549 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3550 { (exit 1); exit 1; }; }
3551 fi
3552
3553
3554 echo "$as_me:$LINENO: checking for --with-expat" >&5
3555 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3556 no_cache=0
3557
3558 # Check whether --with-expat or --without-expat was given.
3559 if test "${with_expat+set}" = set; then
3560 withval="$with_expat"
3561
3562 if test "$withval" = yes; then
3563 ac_cv_use_expat='wxUSE_EXPAT=yes'
3564 elif test "$withval" = no; then
3565 ac_cv_use_expat='wxUSE_EXPAT=no'
3566 elif test "$withval" = sys; then
3567 ac_cv_use_expat='wxUSE_EXPAT=sys'
3568 elif test "$withval" = builtin; then
3569 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3570 else
3571 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3572 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3573 { (exit 1); exit 1; }; }
3574 fi
3575
3576 else
3577
3578 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
3579 if test "x$LINE" != x ; then
3580 eval "DEFAULT_$LINE"
3581 else
3582 no_cache=1
3583 fi
3584
3585 ac_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
3586
3587 fi;
3588
3589 eval "$ac_cv_use_expat"
3590 if test "$no_cache" != 1; then
3591 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3592 fi
3593
3594 if test "$wxUSE_EXPAT" = yes; then
3595 echo "$as_me:$LINENO: result: yes" >&5
3596 echo "${ECHO_T}yes" >&6
3597 elif test "$wxUSE_EXPAT" = no; then
3598 echo "$as_me:$LINENO: result: no" >&5
3599 echo "${ECHO_T}no" >&6
3600 elif test "$wxUSE_EXPAT" = sys; then
3601 echo "$as_me:$LINENO: result: system version" >&5
3602 echo "${ECHO_T}system version" >&6
3603 elif test "$wxUSE_EXPAT" = builtin; then
3604 echo "$as_me:$LINENO: result: builtin version" >&5
3605 echo "${ECHO_T}builtin version" >&6
3606 else
3607 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3608 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3609 { (exit 1); exit 1; }; }
3610 fi
3611
3612
3613
3614
3615 enablestring=disable
3616 defaultval=
3617 if test -z"$defaultval"; then
3618 if test x"$enablestring" = xdisable; then
3619 defaultval=yes
3620 else
3621 defaultval=no
3622 fi
3623 fi
3624
3625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3626 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3627 no_cache=0
3628 # Check whether --enable-shared or --disable-shared was given.
3629 if test "${enable_shared+set}" = set; then
3630 enableval="$enable_shared"
3631
3632 if test "$enableval" = yes; then
3633 ac_cv_use_shared='wxUSE_SHARED=yes'
3634 else
3635 ac_cv_use_shared='wxUSE_SHARED=no'
3636 fi
3637
3638 else
3639
3640 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
3641 if test "x$LINE" != x ; then
3642 eval "DEFAULT_$LINE"
3643 else
3644 no_cache=1
3645 fi
3646
3647 ac_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
3648
3649 fi;
3650
3651 eval "$ac_cv_use_shared"
3652 if test "$no_cache" != 1; then
3653 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3654 fi
3655
3656 if test x"$enablestring" = xdisable; then
3657 if test $wxUSE_SHARED = yes; then
3658 result=no
3659 else
3660 result=yes
3661 fi
3662 else
3663 result=$wxUSE_SHARED
3664 fi
3665
3666 echo "$as_me:$LINENO: result: $result" >&5
3667 echo "${ECHO_T}$result" >&6
3668
3669
3670 enablestring=
3671 defaultval=
3672 if test -z"$defaultval"; then
3673 if test x"$enablestring" = xdisable; then
3674 defaultval=yes
3675 else
3676 defaultval=no
3677 fi
3678 fi
3679
3680 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3681 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3682 no_cache=0
3683 # Check whether --enable-optimise or --disable-optimise was given.
3684 if test "${enable_optimise+set}" = set; then
3685 enableval="$enable_optimise"
3686
3687 if test "$enableval" = yes; then
3688 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3689 else
3690 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3691 fi
3692
3693 else
3694
3695 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
3696 if test "x$LINE" != x ; then
3697 eval "DEFAULT_$LINE"
3698 else
3699 no_cache=1
3700 fi
3701
3702 ac_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
3703
3704 fi;
3705
3706 eval "$ac_cv_use_optimise"
3707 if test "$no_cache" != 1; then
3708 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3709 fi
3710
3711 if test x"$enablestring" = xdisable; then
3712 if test $wxUSE_OPTIMISE = yes; then
3713 result=no
3714 else
3715 result=yes
3716 fi
3717 else
3718 result=$wxUSE_OPTIMISE
3719 fi
3720
3721 echo "$as_me:$LINENO: result: $result" >&5
3722 echo "${ECHO_T}$result" >&6
3723
3724
3725 enablestring=
3726 defaultval=
3727 if test -z"$defaultval"; then
3728 if test x"$enablestring" = xdisable; then
3729 defaultval=yes
3730 else
3731 defaultval=no
3732 fi
3733 fi
3734
3735 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3736 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3737 no_cache=0
3738 # Check whether --enable-debug or --disable-debug was given.
3739 if test "${enable_debug+set}" = set; then
3740 enableval="$enable_debug"
3741
3742 if test "$enableval" = yes; then
3743 ac_cv_use_debug='wxUSE_DEBUG=yes'
3744 else
3745 ac_cv_use_debug='wxUSE_DEBUG=no'
3746 fi
3747
3748 else
3749
3750 LINE=`grep "^wxUSE_DEBUG=" ${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_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
3758
3759 fi;
3760
3761 eval "$ac_cv_use_debug"
3762 if test "$no_cache" != 1; then
3763 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3764 fi
3765
3766 if test x"$enablestring" = xdisable; then
3767 if test $wxUSE_DEBUG = yes; then
3768 result=no
3769 else
3770 result=yes
3771 fi
3772 else
3773 result=$wxUSE_DEBUG
3774 fi
3775
3776 echo "$as_me:$LINENO: result: $result" >&5
3777 echo "${ECHO_T}$result" >&6
3778
3779
3780 enablestring=
3781 defaultval=
3782 if test -z"$defaultval"; then
3783 if test x"$enablestring" = xdisable; then
3784 defaultval=yes
3785 else
3786 defaultval=no
3787 fi
3788 fi
3789
3790 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3791 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3792 no_cache=0
3793 # Check whether --enable-stl or --disable-stl was given.
3794 if test "${enable_stl+set}" = set; then
3795 enableval="$enable_stl"
3796
3797 if test "$enableval" = yes; then
3798 ac_cv_use_stl='wxUSE_STL=yes'
3799 else
3800 ac_cv_use_stl='wxUSE_STL=no'
3801 fi
3802
3803 else
3804
3805 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
3806 if test "x$LINE" != x ; then
3807 eval "DEFAULT_$LINE"
3808 else
3809 no_cache=1
3810 fi
3811
3812 ac_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
3813
3814 fi;
3815
3816 eval "$ac_cv_use_stl"
3817 if test "$no_cache" != 1; then
3818 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3819 fi
3820
3821 if test x"$enablestring" = xdisable; then
3822 if test $wxUSE_STL = yes; then
3823 result=no
3824 else
3825 result=yes
3826 fi
3827 else
3828 result=$wxUSE_STL
3829 fi
3830
3831 echo "$as_me:$LINENO: result: $result" >&5
3832 echo "${ECHO_T}$result" >&6
3833
3834
3835 enablestring=
3836 defaultval=
3837 if test -z"$defaultval"; then
3838 if test x"$enablestring" = xdisable; then
3839 defaultval=yes
3840 else
3841 defaultval=no
3842 fi
3843 fi
3844
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
3846 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
3847 no_cache=0
3848 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3849 if test "${enable_std_iostreams+set}" = set; then
3850 enableval="$enable_std_iostreams"
3851
3852 if test "$enableval" = yes; then
3853 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
3854 else
3855 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
3856 fi
3857
3858 else
3859
3860 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x ; then
3862 eval "DEFAULT_$LINE"
3863 else
3864 no_cache=1
3865 fi
3866
3867 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
3868
3869 fi;
3870
3871 eval "$ac_cv_use_std_iostreams"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3874 fi
3875
3876 if test x"$enablestring" = xdisable; then
3877 if test $wxUSE_STD_IOSTREAM = yes; then
3878 result=no
3879 else
3880 result=yes
3881 fi
3882 else
3883 result=$wxUSE_STD_IOSTREAM
3884 fi
3885
3886 echo "$as_me:$LINENO: result: $result" >&5
3887 echo "${ECHO_T}$result" >&6
3888
3889
3890 enablestring=
3891 defaultval=
3892 if test -z"$defaultval"; then
3893 if test x"$enablestring" = xdisable; then
3894 defaultval=yes
3895 else
3896 defaultval=no
3897 fi
3898 fi
3899
3900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
3901 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
3902 no_cache=0
3903 # Check whether --enable-std_string or --disable-std_string was given.
3904 if test "${enable_std_string+set}" = set; then
3905 enableval="$enable_std_string"
3906
3907 if test "$enableval" = yes; then
3908 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
3909 else
3910 ac_cv_use_std_string='wxUSE_STD_STRING=no'
3911 fi
3912
3913 else
3914
3915 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
3916 if test "x$LINE" != x ; then
3917 eval "DEFAULT_$LINE"
3918 else
3919 no_cache=1
3920 fi
3921
3922 ac_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
3923
3924 fi;
3925
3926 eval "$ac_cv_use_std_string"
3927 if test "$no_cache" != 1; then
3928 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
3929 fi
3930
3931 if test x"$enablestring" = xdisable; then
3932 if test $wxUSE_STD_STRING = yes; then
3933 result=no
3934 else
3935 result=yes
3936 fi
3937 else
3938 result=$wxUSE_STD_STRING
3939 fi
3940
3941 echo "$as_me:$LINENO: result: $result" >&5
3942 echo "${ECHO_T}$result" >&6
3943
3944
3945 enablestring=disable
3946 defaultval=
3947 if test -z"$defaultval"; then
3948 if test x"$enablestring" = xdisable; then
3949 defaultval=yes
3950 else
3951 defaultval=no
3952 fi
3953 fi
3954
3955 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
3956 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
3957 no_cache=0
3958 # Check whether --enable-unicode or --disable-unicode was given.
3959 if test "${enable_unicode+set}" = set; then
3960 enableval="$enable_unicode"
3961
3962 if test "$enableval" = yes; then
3963 ac_cv_use_unicode='wxUSE_UNICODE=yes'
3964 else
3965 ac_cv_use_unicode='wxUSE_UNICODE=no'
3966 fi
3967
3968 else
3969
3970 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
3971 if test "x$LINE" != x ; then
3972 eval "DEFAULT_$LINE"
3973 else
3974 no_cache=1
3975 fi
3976
3977 ac_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
3978
3979 fi;
3980
3981 eval "$ac_cv_use_unicode"
3982 if test "$no_cache" != 1; then
3983 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3984 fi
3985
3986 if test x"$enablestring" = xdisable; then
3987 if test $wxUSE_UNICODE = yes; then
3988 result=no
3989 else
3990 result=yes
3991 fi
3992 else
3993 result=$wxUSE_UNICODE
3994 fi
3995
3996 echo "$as_me:$LINENO: result: $result" >&5
3997 echo "${ECHO_T}$result" >&6
3998
3999
4000 enablestring=
4001 defaultval=
4002 if test -z"$defaultval"; then
4003 if test x"$enablestring" = xdisable; then
4004 defaultval=yes
4005 else
4006 defaultval=no
4007 fi
4008 fi
4009
4010 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4011 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4012 no_cache=0
4013 # Check whether --enable-mslu or --disable-mslu was given.
4014 if test "${enable_mslu+set}" = set; then
4015 enableval="$enable_mslu"
4016
4017 if test "$enableval" = yes; then
4018 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4019 else
4020 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4021 fi
4022
4023 else
4024
4025 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4026 if test "x$LINE" != x ; then
4027 eval "DEFAULT_$LINE"
4028 else
4029 no_cache=1
4030 fi
4031
4032 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4033
4034 fi;
4035
4036 eval "$ac_cv_use_mslu"
4037 if test "$no_cache" != 1; then
4038 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4039 fi
4040
4041 if test x"$enablestring" = xdisable; then
4042 if test $wxUSE_UNICODE_MSLU = yes; then
4043 result=no
4044 else
4045 result=yes
4046 fi
4047 else
4048 result=$wxUSE_UNICODE_MSLU
4049 fi
4050
4051 echo "$as_me:$LINENO: result: $result" >&5
4052 echo "${ECHO_T}$result" >&6
4053
4054
4055 enablestring=
4056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4057 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6
4058 no_cache=0
4059 # Check whether --enable-utf8 or --disable-utf8 was given.
4060 if test "${enable_utf8+set}" = set; then
4061 enableval="$enable_utf8"
4062
4063 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4064
4065 else
4066
4067 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4068 if test "x$LINE" != x ; then
4069 eval "DEFAULT_$LINE"
4070 else
4071 no_cache=1
4072 fi
4073
4074 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4075
4076 fi;
4077
4078 eval "$wx_cv_use_utf8"
4079 if test "$no_cache" != 1; then
4080 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
4081 fi
4082
4083 echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4084 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6
4085
4086
4087 enablestring=
4088 defaultval=
4089 if test -z"$defaultval"; then
4090 if test x"$enablestring" = xdisable; then
4091 defaultval=yes
4092 else
4093 defaultval=no
4094 fi
4095 fi
4096
4097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4098 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6
4099 no_cache=0
4100 # Check whether --enable-utf8only or --disable-utf8only was given.
4101 if test "${enable_utf8only+set}" = set; then
4102 enableval="$enable_utf8only"
4103
4104 if test "$enableval" = yes; then
4105 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4106 else
4107 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4108 fi
4109
4110 else
4111
4112 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4113 if test "x$LINE" != x ; then
4114 eval "DEFAULT_$LINE"
4115 else
4116 no_cache=1
4117 fi
4118
4119 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4120
4121 fi;
4122
4123 eval "$ac_cv_use_utf8only"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
4126 fi
4127
4128 if test x"$enablestring" = xdisable; then
4129 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4130 result=no
4131 else
4132 result=yes
4133 fi
4134 else
4135 result=$wxUSE_UNICODE_UTF8_LOCALE
4136 fi
4137
4138 echo "$as_me:$LINENO: result: $result" >&5
4139 echo "${ECHO_T}$result" >&6
4140
4141
4142 enablestring=
4143 defaultval=
4144 if test -z"$defaultval"; then
4145 if test x"$enablestring" = xdisable; then
4146 defaultval=yes
4147 else
4148 defaultval=no
4149 fi
4150 fi
4151
4152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4153 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6
4154 no_cache=0
4155 # Check whether --enable-extended_rtti or --disable-extended_rtti was given.
4156 if test "${enable_extended_rtti+set}" = set; then
4157 enableval="$enable_extended_rtti"
4158
4159 if test "$enableval" = yes; then
4160 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4161 else
4162 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4163 fi
4164
4165 else
4166
4167 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4168 if test "x$LINE" != x ; then
4169 eval "DEFAULT_$LINE"
4170 else
4171 no_cache=1
4172 fi
4173
4174 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4175
4176 fi;
4177
4178 eval "$ac_cv_use_extended_rtti"
4179 if test "$no_cache" != 1; then
4180 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4181 fi
4182
4183 if test x"$enablestring" = xdisable; then
4184 if test $wxUSE_EXTENDED_RTTI = yes; then
4185 result=no
4186 else
4187 result=yes
4188 fi
4189 else
4190 result=$wxUSE_EXTENDED_RTTI
4191 fi
4192
4193 echo "$as_me:$LINENO: result: $result" >&5
4194 echo "${ECHO_T}$result" >&6
4195
4196 if test "$USE_OS2" = "1"; then
4197 DEFAULT_wxUSE_OMF=no
4198
4199 enablestring=
4200 defaultval=
4201 if test -z"$defaultval"; then
4202 if test x"$enablestring" = xdisable; then
4203 defaultval=yes
4204 else
4205 defaultval=no
4206 fi
4207 fi
4208
4209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4210 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
4211 no_cache=0
4212 # Check whether --enable-omf or --disable-omf was given.
4213 if test "${enable_omf+set}" = set; then
4214 enableval="$enable_omf"
4215
4216 if test "$enableval" = yes; then
4217 ac_cv_use_omf='wxUSE_OMF=yes'
4218 else
4219 ac_cv_use_omf='wxUSE_OMF=no'
4220 fi
4221
4222 else
4223
4224 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4225 if test "x$LINE" != x ; then
4226 eval "DEFAULT_$LINE"
4227 else
4228 no_cache=1
4229 fi
4230
4231 ac_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4232
4233 fi;
4234
4235 eval "$ac_cv_use_omf"
4236 if test "$no_cache" != 1; then
4237 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4238 fi
4239
4240 if test x"$enablestring" = xdisable; then
4241 if test $wxUSE_OMF = yes; then
4242 result=no
4243 else
4244 result=yes
4245 fi
4246 else
4247 result=$wxUSE_OMF
4248 fi
4249
4250 echo "$as_me:$LINENO: result: $result" >&5
4251 echo "${ECHO_T}$result" >&6
4252
4253 fi
4254
4255 if test "$wxUSE_DEBUG" = "yes"; then
4256 DEFAULT_wxUSE_DEBUG_FLAG=yes
4257 DEFAULT_wxUSE_DEBUG_INFO=yes
4258 BUILD=debug
4259 elif test "$wxUSE_DEBUG" = "no"; then
4260 DEFAULT_wxUSE_DEBUG_FLAG=no
4261 DEFAULT_wxUSE_DEBUG_INFO=no
4262 BUILD=release
4263 fi
4264
4265
4266 enablestring=
4267 defaultval=
4268 if test -z"$defaultval"; then
4269 if test x"$enablestring" = xdisable; then
4270 defaultval=yes
4271 else
4272 defaultval=no
4273 fi
4274 fi
4275
4276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4277 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4278 no_cache=0
4279 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4280 if test "${enable_debug_flag+set}" = set; then
4281 enableval="$enable_debug_flag"
4282
4283 if test "$enableval" = yes; then
4284 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4285 else
4286 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4287 fi
4288
4289 else
4290
4291 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
4292 if test "x$LINE" != x ; then
4293 eval "DEFAULT_$LINE"
4294 else
4295 no_cache=1
4296 fi
4297
4298 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4299
4300 fi;
4301
4302 eval "$ac_cv_use_debug_flag"
4303 if test "$no_cache" != 1; then
4304 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4305 fi
4306
4307 if test x"$enablestring" = xdisable; then
4308 if test $wxUSE_DEBUG_FLAG = yes; then
4309 result=no
4310 else
4311 result=yes
4312 fi
4313 else
4314 result=$wxUSE_DEBUG_FLAG
4315 fi
4316
4317 echo "$as_me:$LINENO: result: $result" >&5
4318 echo "${ECHO_T}$result" >&6
4319
4320
4321 enablestring=
4322 defaultval=
4323 if test -z"$defaultval"; then
4324 if test x"$enablestring" = xdisable; then
4325 defaultval=yes
4326 else
4327 defaultval=no
4328 fi
4329 fi
4330
4331 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4332 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4333 no_cache=0
4334 # Check whether --enable-debug_info or --disable-debug_info was given.
4335 if test "${enable_debug_info+set}" = set; then
4336 enableval="$enable_debug_info"
4337
4338 if test "$enableval" = yes; then
4339 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4340 else
4341 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4342 fi
4343
4344 else
4345
4346 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
4347 if test "x$LINE" != x ; then
4348 eval "DEFAULT_$LINE"
4349 else
4350 no_cache=1
4351 fi
4352
4353 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4354
4355 fi;
4356
4357 eval "$ac_cv_use_debug_info"
4358 if test "$no_cache" != 1; then
4359 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4360 fi
4361
4362 if test x"$enablestring" = xdisable; then
4363 if test $wxUSE_DEBUG_INFO = yes; then
4364 result=no
4365 else
4366 result=yes
4367 fi
4368 else
4369 result=$wxUSE_DEBUG_INFO
4370 fi
4371
4372 echo "$as_me:$LINENO: result: $result" >&5
4373 echo "${ECHO_T}$result" >&6
4374
4375
4376 enablestring=
4377 defaultval=
4378 if test -z"$defaultval"; then
4379 if test x"$enablestring" = xdisable; then
4380 defaultval=yes
4381 else
4382 defaultval=no
4383 fi
4384 fi
4385
4386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4387 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4388 no_cache=0
4389 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4390 if test "${enable_debug_gdb+set}" = set; then
4391 enableval="$enable_debug_gdb"
4392
4393 if test "$enableval" = yes; then
4394 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4395 else
4396 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4397 fi
4398
4399 else
4400
4401 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
4402 if test "x$LINE" != x ; then
4403 eval "DEFAULT_$LINE"
4404 else
4405 no_cache=1
4406 fi
4407
4408 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4409
4410 fi;
4411
4412 eval "$ac_cv_use_debug_gdb"
4413 if test "$no_cache" != 1; then
4414 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4415 fi
4416
4417 if test x"$enablestring" = xdisable; then
4418 if test $wxUSE_DEBUG_GDB = yes; then
4419 result=no
4420 else
4421 result=yes
4422 fi
4423 else
4424 result=$wxUSE_DEBUG_GDB
4425 fi
4426
4427 echo "$as_me:$LINENO: result: $result" >&5
4428 echo "${ECHO_T}$result" >&6
4429
4430
4431 enablestring=
4432 defaultval=
4433 if test -z"$defaultval"; then
4434 if test x"$enablestring" = xdisable; then
4435 defaultval=yes
4436 else
4437 defaultval=no
4438 fi
4439 fi
4440
4441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4442 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4443 no_cache=0
4444 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4445 if test "${enable_debug_cntxt+set}" = set; then
4446 enableval="$enable_debug_cntxt"
4447
4448 if test "$enableval" = yes; then
4449 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4450 else
4451 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4452 fi
4453
4454 else
4455
4456 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
4457 if test "x$LINE" != x ; then
4458 eval "DEFAULT_$LINE"
4459 else
4460 no_cache=1
4461 fi
4462
4463 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4464
4465 fi;
4466
4467 eval "$ac_cv_use_debug_cntxt"
4468 if test "$no_cache" != 1; then
4469 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4470 fi
4471
4472 if test x"$enablestring" = xdisable; then
4473 if test $wxUSE_DEBUG_CONTEXT = yes; then
4474 result=no
4475 else
4476 result=yes
4477 fi
4478 else
4479 result=$wxUSE_DEBUG_CONTEXT
4480 fi
4481
4482 echo "$as_me:$LINENO: result: $result" >&5
4483 echo "${ECHO_T}$result" >&6
4484
4485
4486 enablestring=
4487 defaultval=
4488 if test -z"$defaultval"; then
4489 if test x"$enablestring" = xdisable; then
4490 defaultval=yes
4491 else
4492 defaultval=no
4493 fi
4494 fi
4495
4496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4498 no_cache=0
4499 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4500 if test "${enable_mem_tracing+set}" = set; then
4501 enableval="$enable_mem_tracing"
4502
4503 if test "$enableval" = yes; then
4504 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4505 else
4506 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4507 fi
4508
4509 else
4510
4511 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x ; then
4513 eval "DEFAULT_$LINE"
4514 else
4515 no_cache=1
4516 fi
4517
4518 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4519
4520 fi;
4521
4522 eval "$ac_cv_use_mem_tracing"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4525 fi
4526
4527 if test x"$enablestring" = xdisable; then
4528 if test $wxUSE_MEM_TRACING = yes; then
4529 result=no
4530 else
4531 result=yes
4532 fi
4533 else
4534 result=$wxUSE_MEM_TRACING
4535 fi
4536
4537 echo "$as_me:$LINENO: result: $result" >&5
4538 echo "${ECHO_T}$result" >&6
4539
4540
4541 enablestring=
4542 defaultval=
4543 if test -z"$defaultval"; then
4544 if test x"$enablestring" = xdisable; then
4545 defaultval=yes
4546 else
4547 defaultval=no
4548 fi
4549 fi
4550
4551 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4552 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4553 no_cache=0
4554 # Check whether --enable-profile or --disable-profile was given.
4555 if test "${enable_profile+set}" = set; then
4556 enableval="$enable_profile"
4557
4558 if test "$enableval" = yes; then
4559 ac_cv_use_profile='wxUSE_PROFILE=yes'
4560 else
4561 ac_cv_use_profile='wxUSE_PROFILE=no'
4562 fi
4563
4564 else
4565
4566 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
4567 if test "x$LINE" != x ; then
4568 eval "DEFAULT_$LINE"
4569 else
4570 no_cache=1
4571 fi
4572
4573 ac_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4574
4575 fi;
4576
4577 eval "$ac_cv_use_profile"
4578 if test "$no_cache" != 1; then
4579 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4580 fi
4581
4582 if test x"$enablestring" = xdisable; then
4583 if test $wxUSE_PROFILE = yes; then
4584 result=no
4585 else
4586 result=yes
4587 fi
4588 else
4589 result=$wxUSE_PROFILE
4590 fi
4591
4592 echo "$as_me:$LINENO: result: $result" >&5
4593 echo "${ECHO_T}$result" >&6
4594
4595
4596 enablestring=
4597 defaultval=
4598 if test -z"$defaultval"; then
4599 if test x"$enablestring" = xdisable; then
4600 defaultval=yes
4601 else
4602 defaultval=no
4603 fi
4604 fi
4605
4606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4607 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4608 no_cache=0
4609 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4610 if test "${enable_no_rtti+set}" = set; then
4611 enableval="$enable_no_rtti"
4612
4613 if test "$enableval" = yes; then
4614 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4615 else
4616 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4617 fi
4618
4619 else
4620
4621 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
4622 if test "x$LINE" != x ; then
4623 eval "DEFAULT_$LINE"
4624 else
4625 no_cache=1
4626 fi
4627
4628 ac_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4629
4630 fi;
4631
4632 eval "$ac_cv_use_no_rtti"
4633 if test "$no_cache" != 1; then
4634 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4635 fi
4636
4637 if test x"$enablestring" = xdisable; then
4638 if test $wxUSE_NO_RTTI = yes; then
4639 result=no
4640 else
4641 result=yes
4642 fi
4643 else
4644 result=$wxUSE_NO_RTTI
4645 fi
4646
4647 echo "$as_me:$LINENO: result: $result" >&5
4648 echo "${ECHO_T}$result" >&6
4649
4650
4651 enablestring=
4652 defaultval=
4653 if test -z"$defaultval"; then
4654 if test x"$enablestring" = xdisable; then
4655 defaultval=yes
4656 else
4657 defaultval=no
4658 fi
4659 fi
4660
4661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4662 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4663 no_cache=0
4664 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4665 if test "${enable_no_exceptions+set}" = set; then
4666 enableval="$enable_no_exceptions"
4667
4668 if test "$enableval" = yes; then
4669 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4670 else
4671 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4672 fi
4673
4674 else
4675
4676 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
4677 if test "x$LINE" != x ; then
4678 eval "DEFAULT_$LINE"
4679 else
4680 no_cache=1
4681 fi
4682
4683 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
4684
4685 fi;
4686
4687 eval "$ac_cv_use_no_exceptions"
4688 if test "$no_cache" != 1; then
4689 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4690 fi
4691
4692 if test x"$enablestring" = xdisable; then
4693 if test $wxUSE_NO_EXCEPTIONS = yes; then
4694 result=no
4695 else
4696 result=yes
4697 fi
4698 else
4699 result=$wxUSE_NO_EXCEPTIONS
4700 fi
4701
4702 echo "$as_me:$LINENO: result: $result" >&5
4703 echo "${ECHO_T}$result" >&6
4704
4705
4706 enablestring=
4707 defaultval=
4708 if test -z"$defaultval"; then
4709 if test x"$enablestring" = xdisable; then
4710 defaultval=yes
4711 else
4712 defaultval=no
4713 fi
4714 fi
4715
4716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4717 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4718 no_cache=0
4719 # Check whether --enable-permissive or --disable-permissive was given.
4720 if test "${enable_permissive+set}" = set; then
4721 enableval="$enable_permissive"
4722
4723 if test "$enableval" = yes; then
4724 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4725 else
4726 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4727 fi
4728
4729 else
4730
4731 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
4732 if test "x$LINE" != x ; then
4733 eval "DEFAULT_$LINE"
4734 else
4735 no_cache=1
4736 fi
4737
4738 ac_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
4739
4740 fi;
4741
4742 eval "$ac_cv_use_permissive"
4743 if test "$no_cache" != 1; then
4744 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4745 fi
4746
4747 if test x"$enablestring" = xdisable; then
4748 if test $wxUSE_PERMISSIVE = yes; then
4749 result=no
4750 else
4751 result=yes
4752 fi
4753 else
4754 result=$wxUSE_PERMISSIVE
4755 fi
4756
4757 echo "$as_me:$LINENO: result: $result" >&5
4758 echo "${ECHO_T}$result" >&6
4759
4760
4761 enablestring=
4762 defaultval=
4763 if test -z"$defaultval"; then
4764 if test x"$enablestring" = xdisable; then
4765 defaultval=yes
4766 else
4767 defaultval=no
4768 fi
4769 fi
4770
4771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4772 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4773 no_cache=0
4774 # Check whether --enable-no_deps or --disable-no_deps was given.
4775 if test "${enable_no_deps+set}" = set; then
4776 enableval="$enable_no_deps"
4777
4778 if test "$enableval" = yes; then
4779 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4780 else
4781 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4782 fi
4783
4784 else
4785
4786 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
4787 if test "x$LINE" != x ; then
4788 eval "DEFAULT_$LINE"
4789 else
4790 no_cache=1
4791 fi
4792
4793 ac_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
4794
4795 fi;
4796
4797 eval "$ac_cv_use_no_deps"
4798 if test "$no_cache" != 1; then
4799 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4800 fi
4801
4802 if test x"$enablestring" = xdisable; then
4803 if test $wxUSE_NO_DEPS = yes; then
4804 result=no
4805 else
4806 result=yes
4807 fi
4808 else
4809 result=$wxUSE_NO_DEPS
4810 fi
4811
4812 echo "$as_me:$LINENO: result: $result" >&5
4813 echo "${ECHO_T}$result" >&6
4814
4815
4816 enablestring=disable
4817 defaultval=
4818 if test -z"$defaultval"; then
4819 if test x"$enablestring" = xdisable; then
4820 defaultval=yes
4821 else
4822 defaultval=no
4823 fi
4824 fi
4825
4826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
4827 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
4828 no_cache=0
4829 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
4830 if test "${enable_vararg_macros+set}" = set; then
4831 enableval="$enable_vararg_macros"
4832
4833 if test "$enableval" = yes; then
4834 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
4835 else
4836 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
4837 fi
4838
4839 else
4840
4841 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
4842 if test "x$LINE" != x ; then
4843 eval "DEFAULT_$LINE"
4844 else
4845 no_cache=1
4846 fi
4847
4848 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
4849
4850 fi;
4851
4852 eval "$ac_cv_use_vararg_macros"
4853 if test "$no_cache" != 1; then
4854 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
4855 fi
4856
4857 if test x"$enablestring" = xdisable; then
4858 if test $wxUSE_VARARG_MACROS = yes; then
4859 result=no
4860 else
4861 result=yes
4862 fi
4863 else
4864 result=$wxUSE_VARARG_MACROS
4865 fi
4866
4867 echo "$as_me:$LINENO: result: $result" >&5
4868 echo "${ECHO_T}$result" >&6
4869
4870
4871 enablestring=
4872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4873 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4874 no_cache=0
4875 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4876 if test "${enable_universal_binary+set}" = set; then
4877 enableval="$enable_universal_binary"
4878
4879 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4880
4881 else
4882
4883 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
4884 if test "x$LINE" != x ; then
4885 eval "DEFAULT_$LINE"
4886 else
4887 no_cache=1
4888 fi
4889
4890 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4891
4892 fi;
4893
4894 eval "$wx_cv_use_universal_binary"
4895 if test "$no_cache" != 1; then
4896 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4897 fi
4898
4899 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4900 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4901
4902
4903
4904 enablestring=
4905 defaultval=
4906 if test -z"$defaultval"; then
4907 if test x"$enablestring" = xdisable; then
4908 defaultval=yes
4909 else
4910 defaultval=no
4911 fi
4912 fi
4913
4914 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4915 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4916 no_cache=0
4917 # Check whether --enable-compat26 or --disable-compat26 was given.
4918 if test "${enable_compat26+set}" = set; then
4919 enableval="$enable_compat26"
4920
4921 if test "$enableval" = yes; then
4922 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4923 else
4924 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4925 fi
4926
4927 else
4928
4929 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
4930 if test "x$LINE" != x ; then
4931 eval "DEFAULT_$LINE"
4932 else
4933 no_cache=1
4934 fi
4935
4936 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
4937
4938 fi;
4939
4940 eval "$ac_cv_use_compat26"
4941 if test "$no_cache" != 1; then
4942 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4943 fi
4944
4945 if test x"$enablestring" = xdisable; then
4946 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
4947 result=no
4948 else
4949 result=yes
4950 fi
4951 else
4952 result=$WXWIN_COMPATIBILITY_2_6
4953 fi
4954
4955 echo "$as_me:$LINENO: result: $result" >&5
4956 echo "${ECHO_T}$result" >&6
4957
4958
4959 enablestring=disable
4960 defaultval=
4961 if test -z"$defaultval"; then
4962 if test x"$enablestring" = xdisable; then
4963 defaultval=yes
4964 else
4965 defaultval=no
4966 fi
4967 fi
4968
4969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
4970 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6
4971 no_cache=0
4972 # Check whether --enable-compat28 or --disable-compat28 was given.
4973 if test "${enable_compat28+set}" = set; then
4974 enableval="$enable_compat28"
4975
4976 if test "$enableval" = yes; then
4977 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
4978 else
4979 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
4980 fi
4981
4982 else
4983
4984 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
4985 if test "x$LINE" != x ; then
4986 eval "DEFAULT_$LINE"
4987 else
4988 no_cache=1
4989 fi
4990
4991 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
4992
4993 fi;
4994
4995 eval "$ac_cv_use_compat28"
4996 if test "$no_cache" != 1; then
4997 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
4998 fi
4999
5000 if test x"$enablestring" = xdisable; then
5001 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5002 result=no
5003 else
5004 result=yes
5005 fi
5006 else
5007 result=$WXWIN_COMPATIBILITY_2_8
5008 fi
5009
5010 echo "$as_me:$LINENO: result: $result" >&5
5011 echo "${ECHO_T}$result" >&6
5012
5013
5014
5015 enablestring=disable
5016 defaultval=
5017 if test -z"$defaultval"; then
5018 if test x"$enablestring" = xdisable; then
5019 defaultval=yes
5020 else
5021 defaultval=no
5022 fi
5023 fi
5024
5025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5026 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
5027 no_cache=0
5028 # Check whether --enable-rpath or --disable-rpath was given.
5029 if test "${enable_rpath+set}" = set; then
5030 enableval="$enable_rpath"
5031
5032 if test "$enableval" = yes; then
5033 ac_cv_use_rpath='wxUSE_RPATH=yes'
5034 else
5035 ac_cv_use_rpath='wxUSE_RPATH=no'
5036 fi
5037
5038 else
5039
5040 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5041 if test "x$LINE" != x ; then
5042 eval "DEFAULT_$LINE"
5043 else
5044 no_cache=1
5045 fi
5046
5047 ac_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5048
5049 fi;
5050
5051 eval "$ac_cv_use_rpath"
5052 if test "$no_cache" != 1; then
5053 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5054 fi
5055
5056 if test x"$enablestring" = xdisable; then
5057 if test $wxUSE_RPATH = yes; then
5058 result=no
5059 else
5060 result=yes
5061 fi
5062 else
5063 result=$wxUSE_RPATH
5064 fi
5065
5066 echo "$as_me:$LINENO: result: $result" >&5
5067 echo "${ECHO_T}$result" >&6
5068
5069
5070
5071 enablestring=
5072 defaultval=
5073 if test -z"$defaultval"; then
5074 if test x"$enablestring" = xdisable; then
5075 defaultval=yes
5076 else
5077 defaultval=no
5078 fi
5079 fi
5080
5081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5082 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6
5083 no_cache=0
5084 # Check whether --enable-objc_uniquifying or --disable-objc_uniquifying was given.
5085 if test "${enable_objc_uniquifying+set}" = set; then
5086 enableval="$enable_objc_uniquifying"
5087
5088 if test "$enableval" = yes; then
5089 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5090 else
5091 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5092 fi
5093
5094 else
5095
5096 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5097 if test "x$LINE" != x ; then
5098 eval "DEFAULT_$LINE"
5099 else
5100 no_cache=1
5101 fi
5102
5103 ac_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5104
5105 fi;
5106
5107 eval "$ac_cv_use_objc_uniquifying"
5108 if test "$no_cache" != 1; then
5109 echo $ac_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5110 fi
5111
5112 if test x"$enablestring" = xdisable; then
5113 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5114 result=no
5115 else
5116 result=yes
5117 fi
5118 else
5119 result=$wxUSE_OBJC_UNIQUIFYING
5120 fi
5121
5122 echo "$as_me:$LINENO: result: $result" >&5
5123 echo "${ECHO_T}$result" >&6
5124
5125
5126
5127
5128 enablestring=
5129 defaultval=$wxUSE_ALL_FEATURES
5130 if test -z"$defaultval"; then
5131 if test x"$enablestring" = xdisable; then
5132 defaultval=yes
5133 else
5134 defaultval=no
5135 fi
5136 fi
5137
5138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5139 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
5140 no_cache=0
5141 # Check whether --enable-intl or --disable-intl was given.
5142 if test "${enable_intl+set}" = set; then
5143 enableval="$enable_intl"
5144
5145 if test "$enableval" = yes; then
5146 ac_cv_use_intl='wxUSE_INTL=yes'
5147 else
5148 ac_cv_use_intl='wxUSE_INTL=no'
5149 fi
5150
5151 else
5152
5153 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5154 if test "x$LINE" != x ; then
5155 eval "DEFAULT_$LINE"
5156 else
5157 no_cache=1
5158 fi
5159
5160 ac_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5161
5162 fi;
5163
5164 eval "$ac_cv_use_intl"
5165 if test "$no_cache" != 1; then
5166 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5167 fi
5168
5169 if test x"$enablestring" = xdisable; then
5170 if test $wxUSE_INTL = yes; then
5171 result=no
5172 else
5173 result=yes
5174 fi
5175 else
5176 result=$wxUSE_INTL
5177 fi
5178
5179 echo "$as_me:$LINENO: result: $result" >&5
5180 echo "${ECHO_T}$result" >&6
5181
5182
5183 enablestring=
5184 defaultval=$wxUSE_ALL_FEATURES
5185 if test -z"$defaultval"; then
5186 if test x"$enablestring" = xdisable; then
5187 defaultval=yes
5188 else
5189 defaultval=no
5190 fi
5191 fi
5192
5193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5194 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
5195 no_cache=0
5196 # Check whether --enable-config or --disable-config was given.
5197 if test "${enable_config+set}" = set; then
5198 enableval="$enable_config"
5199
5200 if test "$enableval" = yes; then
5201 ac_cv_use_config='wxUSE_CONFIG=yes'
5202 else
5203 ac_cv_use_config='wxUSE_CONFIG=no'
5204 fi
5205
5206 else
5207
5208 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5209 if test "x$LINE" != x ; then
5210 eval "DEFAULT_$LINE"
5211 else
5212 no_cache=1
5213 fi
5214
5215 ac_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5216
5217 fi;
5218
5219 eval "$ac_cv_use_config"
5220 if test "$no_cache" != 1; then
5221 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5222 fi
5223
5224 if test x"$enablestring" = xdisable; then
5225 if test $wxUSE_CONFIG = yes; then
5226 result=no
5227 else
5228 result=yes
5229 fi
5230 else
5231 result=$wxUSE_CONFIG
5232 fi
5233
5234 echo "$as_me:$LINENO: result: $result" >&5
5235 echo "${ECHO_T}$result" >&6
5236
5237
5238
5239 enablestring=
5240 defaultval=$wxUSE_ALL_FEATURES
5241 if test -z"$defaultval"; then
5242 if test x"$enablestring" = xdisable; then
5243 defaultval=yes
5244 else
5245 defaultval=no
5246 fi
5247 fi
5248
5249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5250 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
5251 no_cache=0
5252 # Check whether --enable-protocols or --disable-protocols was given.
5253 if test "${enable_protocols+set}" = set; then
5254 enableval="$enable_protocols"
5255
5256 if test "$enableval" = yes; then
5257 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5258 else
5259 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5260 fi
5261
5262 else
5263
5264 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
5265 if test "x$LINE" != x ; then
5266 eval "DEFAULT_$LINE"
5267 else
5268 no_cache=1
5269 fi
5270
5271 ac_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5272
5273 fi;
5274
5275 eval "$ac_cv_use_protocols"
5276 if test "$no_cache" != 1; then
5277 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5278 fi
5279
5280 if test x"$enablestring" = xdisable; then
5281 if test $wxUSE_PROTOCOL = yes; then
5282 result=no
5283 else
5284 result=yes
5285 fi
5286 else
5287 result=$wxUSE_PROTOCOL
5288 fi
5289
5290 echo "$as_me:$LINENO: result: $result" >&5
5291 echo "${ECHO_T}$result" >&6
5292
5293
5294 enablestring=
5295 defaultval=$wxUSE_ALL_FEATURES
5296 if test -z"$defaultval"; then
5297 if test x"$enablestring" = xdisable; then
5298 defaultval=yes
5299 else
5300 defaultval=no
5301 fi
5302 fi
5303
5304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5305 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
5306 no_cache=0
5307 # Check whether --enable-ftp or --disable-ftp was given.
5308 if test "${enable_ftp+set}" = set; then
5309 enableval="$enable_ftp"
5310
5311 if test "$enableval" = yes; then
5312 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5313 else
5314 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5315 fi
5316
5317 else
5318
5319 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
5320 if test "x$LINE" != x ; then
5321 eval "DEFAULT_$LINE"
5322 else
5323 no_cache=1
5324 fi
5325
5326 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5327
5328 fi;
5329
5330 eval "$ac_cv_use_ftp"
5331 if test "$no_cache" != 1; then
5332 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5333 fi
5334
5335 if test x"$enablestring" = xdisable; then
5336 if test $wxUSE_PROTOCOL_FTP = yes; then
5337 result=no
5338 else
5339 result=yes
5340 fi
5341 else
5342 result=$wxUSE_PROTOCOL_FTP
5343 fi
5344
5345 echo "$as_me:$LINENO: result: $result" >&5
5346 echo "${ECHO_T}$result" >&6
5347
5348
5349 enablestring=
5350 defaultval=$wxUSE_ALL_FEATURES
5351 if test -z"$defaultval"; then
5352 if test x"$enablestring" = xdisable; then
5353 defaultval=yes
5354 else
5355 defaultval=no
5356 fi
5357 fi
5358
5359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
5361 no_cache=0
5362 # Check whether --enable-http or --disable-http was given.
5363 if test "${enable_http+set}" = set; then
5364 enableval="$enable_http"
5365
5366 if test "$enableval" = yes; then
5367 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5368 else
5369 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5370 fi
5371
5372 else
5373
5374 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${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_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5382
5383 fi;
5384
5385 eval "$ac_cv_use_http"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5388 fi
5389
5390 if test x"$enablestring" = xdisable; then
5391 if test $wxUSE_PROTOCOL_HTTP = yes; then
5392 result=no
5393 else
5394 result=yes
5395 fi
5396 else
5397 result=$wxUSE_PROTOCOL_HTTP
5398 fi
5399
5400 echo "$as_me:$LINENO: result: $result" >&5
5401 echo "${ECHO_T}$result" >&6
5402
5403
5404 enablestring=
5405 defaultval=$wxUSE_ALL_FEATURES
5406 if test -z"$defaultval"; then
5407 if test x"$enablestring" = xdisable; then
5408 defaultval=yes
5409 else
5410 defaultval=no
5411 fi
5412 fi
5413
5414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5415 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
5416 no_cache=0
5417 # Check whether --enable-fileproto or --disable-fileproto was given.
5418 if test "${enable_fileproto+set}" = set; then
5419 enableval="$enable_fileproto"
5420
5421 if test "$enableval" = yes; then
5422 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5423 else
5424 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5425 fi
5426
5427 else
5428
5429 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
5430 if test "x$LINE" != x ; then
5431 eval "DEFAULT_$LINE"
5432 else
5433 no_cache=1
5434 fi
5435
5436 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5437
5438 fi;
5439
5440 eval "$ac_cv_use_fileproto"
5441 if test "$no_cache" != 1; then
5442 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5443 fi
5444
5445 if test x"$enablestring" = xdisable; then
5446 if test $wxUSE_PROTOCOL_FILE = yes; then
5447 result=no
5448 else
5449 result=yes
5450 fi
5451 else
5452 result=$wxUSE_PROTOCOL_FILE
5453 fi
5454
5455 echo "$as_me:$LINENO: result: $result" >&5
5456 echo "${ECHO_T}$result" >&6
5457
5458
5459 enablestring=
5460 defaultval=$wxUSE_ALL_FEATURES
5461 if test -z"$defaultval"; then
5462 if test x"$enablestring" = xdisable; then
5463 defaultval=yes
5464 else
5465 defaultval=no
5466 fi
5467 fi
5468
5469 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5470 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
5471 no_cache=0
5472 # Check whether --enable-sockets or --disable-sockets was given.
5473 if test "${enable_sockets+set}" = set; then
5474 enableval="$enable_sockets"
5475
5476 if test "$enableval" = yes; then
5477 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5478 else
5479 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5480 fi
5481
5482 else
5483
5484 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
5485 if test "x$LINE" != x ; then
5486 eval "DEFAULT_$LINE"
5487 else
5488 no_cache=1
5489 fi
5490
5491 ac_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5492
5493 fi;
5494
5495 eval "$ac_cv_use_sockets"
5496 if test "$no_cache" != 1; then
5497 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5498 fi
5499
5500 if test x"$enablestring" = xdisable; then
5501 if test $wxUSE_SOCKETS = yes; then
5502 result=no
5503 else
5504 result=yes
5505 fi
5506 else
5507 result=$wxUSE_SOCKETS
5508 fi
5509
5510 echo "$as_me:$LINENO: result: $result" >&5
5511 echo "${ECHO_T}$result" >&6
5512
5513
5514 enablestring=
5515 defaultval=$wxUSE_ALL_FEATURES
5516 if test -z"$defaultval"; then
5517 if test x"$enablestring" = xdisable; then
5518 defaultval=yes
5519 else
5520 defaultval=no
5521 fi
5522 fi
5523
5524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5525 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
5526 no_cache=0
5527 # Check whether --enable-ole or --disable-ole was given.
5528 if test "${enable_ole+set}" = set; then
5529 enableval="$enable_ole"
5530
5531 if test "$enableval" = yes; then
5532 ac_cv_use_ole='wxUSE_OLE=yes'
5533 else
5534 ac_cv_use_ole='wxUSE_OLE=no'
5535 fi
5536
5537 else
5538
5539 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
5540 if test "x$LINE" != x ; then
5541 eval "DEFAULT_$LINE"
5542 else
5543 no_cache=1
5544 fi
5545
5546 ac_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5547
5548 fi;
5549
5550 eval "$ac_cv_use_ole"
5551 if test "$no_cache" != 1; then
5552 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5553 fi
5554
5555 if test x"$enablestring" = xdisable; then
5556 if test $wxUSE_OLE = yes; then
5557 result=no
5558 else
5559 result=yes
5560 fi
5561 else
5562 result=$wxUSE_OLE
5563 fi
5564
5565 echo "$as_me:$LINENO: result: $result" >&5
5566 echo "${ECHO_T}$result" >&6
5567
5568
5569 enablestring=
5570 defaultval=$wxUSE_ALL_FEATURES
5571 if test -z"$defaultval"; then
5572 if test x"$enablestring" = xdisable; then
5573 defaultval=yes
5574 else
5575 defaultval=no
5576 fi
5577 fi
5578
5579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5580 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
5581 no_cache=0
5582 # Check whether --enable-dataobj or --disable-dataobj was given.
5583 if test "${enable_dataobj+set}" = set; then
5584 enableval="$enable_dataobj"
5585
5586 if test "$enableval" = yes; then
5587 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5588 else
5589 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5590 fi
5591
5592 else
5593
5594 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
5595 if test "x$LINE" != x ; then
5596 eval "DEFAULT_$LINE"
5597 else
5598 no_cache=1
5599 fi
5600
5601 ac_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5602
5603 fi;
5604
5605 eval "$ac_cv_use_dataobj"
5606 if test "$no_cache" != 1; then
5607 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5608 fi
5609
5610 if test x"$enablestring" = xdisable; then
5611 if test $wxUSE_DATAOBJ = yes; then
5612 result=no
5613 else
5614 result=yes
5615 fi
5616 else
5617 result=$wxUSE_DATAOBJ
5618 fi
5619
5620 echo "$as_me:$LINENO: result: $result" >&5
5621 echo "${ECHO_T}$result" >&6
5622
5623
5624
5625 enablestring=
5626 defaultval=$wxUSE_ALL_FEATURES
5627 if test -z"$defaultval"; then
5628 if test x"$enablestring" = xdisable; then
5629 defaultval=yes
5630 else
5631 defaultval=no
5632 fi
5633 fi
5634
5635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5636 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
5637 no_cache=0
5638 # Check whether --enable-ipc or --disable-ipc was given.
5639 if test "${enable_ipc+set}" = set; then
5640 enableval="$enable_ipc"
5641
5642 if test "$enableval" = yes; then
5643 ac_cv_use_ipc='wxUSE_IPC=yes'
5644 else
5645 ac_cv_use_ipc='wxUSE_IPC=no'
5646 fi
5647
5648 else
5649
5650 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
5651 if test "x$LINE" != x ; then
5652 eval "DEFAULT_$LINE"
5653 else
5654 no_cache=1
5655 fi
5656
5657 ac_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5658
5659 fi;
5660
5661 eval "$ac_cv_use_ipc"
5662 if test "$no_cache" != 1; then
5663 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5664 fi
5665
5666 if test x"$enablestring" = xdisable; then
5667 if test $wxUSE_IPC = yes; then
5668 result=no
5669 else
5670 result=yes
5671 fi
5672 else
5673 result=$wxUSE_IPC
5674 fi
5675
5676 echo "$as_me:$LINENO: result: $result" >&5
5677 echo "${ECHO_T}$result" >&6
5678
5679
5680
5681 enablestring=
5682 defaultval=$wxUSE_ALL_FEATURES
5683 if test -z"$defaultval"; then
5684 if test x"$enablestring" = xdisable; then
5685 defaultval=yes
5686 else
5687 defaultval=no
5688 fi
5689 fi
5690
5691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5692 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
5693 no_cache=0
5694 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
5695 if test "${enable_apple_ieee+set}" = set; then
5696 enableval="$enable_apple_ieee"
5697
5698 if test "$enableval" = yes; then
5699 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5700 else
5701 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5702 fi
5703
5704 else
5705
5706 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
5707 if test "x$LINE" != x ; then
5708 eval "DEFAULT_$LINE"
5709 else
5710 no_cache=1
5711 fi
5712
5713 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
5714
5715 fi;
5716
5717 eval "$ac_cv_use_apple_ieee"
5718 if test "$no_cache" != 1; then
5719 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5720 fi
5721
5722 if test x"$enablestring" = xdisable; then
5723 if test $wxUSE_APPLE_IEEE = yes; then
5724 result=no
5725 else
5726 result=yes
5727 fi
5728 else
5729 result=$wxUSE_APPLE_IEEE
5730 fi
5731
5732 echo "$as_me:$LINENO: result: $result" >&5
5733 echo "${ECHO_T}$result" >&6
5734
5735
5736 enablestring=
5737 defaultval=$wxUSE_ALL_FEATURES
5738 if test -z"$defaultval"; then
5739 if test x"$enablestring" = xdisable; then
5740 defaultval=yes
5741 else
5742 defaultval=no
5743 fi
5744 fi
5745
5746 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5747 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5748 no_cache=0
5749 # Check whether --enable-arcstream or --disable-arcstream was given.
5750 if test "${enable_arcstream+set}" = set; then
5751 enableval="$enable_arcstream"
5752
5753 if test "$enableval" = yes; then
5754 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5755 else
5756 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5757 fi
5758
5759 else
5760
5761 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
5762 if test "x$LINE" != x ; then
5763 eval "DEFAULT_$LINE"
5764 else
5765 no_cache=1
5766 fi
5767
5768 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
5769
5770 fi;
5771
5772 eval "$ac_cv_use_arcstream"
5773 if test "$no_cache" != 1; then
5774 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5775 fi
5776
5777 if test x"$enablestring" = xdisable; then
5778 if test $wxUSE_ARCHIVE_STREAMS = yes; then
5779 result=no
5780 else
5781 result=yes
5782 fi
5783 else
5784 result=$wxUSE_ARCHIVE_STREAMS
5785 fi
5786
5787 echo "$as_me:$LINENO: result: $result" >&5
5788 echo "${ECHO_T}$result" >&6
5789
5790
5791 enablestring=
5792 defaultval=$wxUSE_ALL_FEATURES
5793 if test -z"$defaultval"; then
5794 if test x"$enablestring" = xdisable; then
5795 defaultval=yes
5796 else
5797 defaultval=no
5798 fi
5799 fi
5800
5801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
5802 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6
5803 no_cache=0
5804 # Check whether --enable-base64 or --disable-base64 was given.
5805 if test "${enable_base64+set}" = set; then
5806 enableval="$enable_base64"
5807
5808 if test "$enableval" = yes; then
5809 ac_cv_use_base64='wxUSE_BASE64=yes'
5810 else
5811 ac_cv_use_base64='wxUSE_BASE64=no'
5812 fi
5813
5814 else
5815
5816 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
5817 if test "x$LINE" != x ; then
5818 eval "DEFAULT_$LINE"
5819 else
5820 no_cache=1
5821 fi
5822
5823 ac_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
5824
5825 fi;
5826
5827 eval "$ac_cv_use_base64"
5828 if test "$no_cache" != 1; then
5829 echo $ac_cv_use_base64 >> ${wx_arg_cache_file}.tmp
5830 fi
5831
5832 if test x"$enablestring" = xdisable; then
5833 if test $wxUSE_BASE64 = yes; then
5834 result=no
5835 else
5836 result=yes
5837 fi
5838 else
5839 result=$wxUSE_BASE64
5840 fi
5841
5842 echo "$as_me:$LINENO: result: $result" >&5
5843 echo "${ECHO_T}$result" >&6
5844
5845
5846 enablestring=
5847 defaultval=$wxUSE_ALL_FEATURES
5848 if test -z"$defaultval"; then
5849 if test x"$enablestring" = xdisable; then
5850 defaultval=yes
5851 else
5852 defaultval=no
5853 fi
5854 fi
5855
5856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5858 no_cache=0
5859 # Check whether --enable-backtrace or --disable-backtrace was given.
5860 if test "${enable_backtrace+set}" = set; then
5861 enableval="$enable_backtrace"
5862
5863 if test "$enableval" = yes; then
5864 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5865 else
5866 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5867 fi
5868
5869 else
5870
5871 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x ; then
5873 eval "DEFAULT_$LINE"
5874 else
5875 no_cache=1
5876 fi
5877
5878 ac_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
5879
5880 fi;
5881
5882 eval "$ac_cv_use_backtrace"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5885 fi
5886
5887 if test x"$enablestring" = xdisable; then
5888 if test $wxUSE_STACKWALKER = yes; then
5889 result=no
5890 else
5891 result=yes
5892 fi
5893 else
5894 result=$wxUSE_STACKWALKER
5895 fi
5896
5897 echo "$as_me:$LINENO: result: $result" >&5
5898 echo "${ECHO_T}$result" >&6
5899
5900
5901 enablestring=
5902 defaultval=$wxUSE_ALL_FEATURES
5903 if test -z"$defaultval"; then
5904 if test x"$enablestring" = xdisable; then
5905 defaultval=yes
5906 else
5907 defaultval=no
5908 fi
5909 fi
5910
5911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5912 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5913 no_cache=0
5914 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5915 if test "${enable_catch_segvs+set}" = set; then
5916 enableval="$enable_catch_segvs"
5917
5918 if test "$enableval" = yes; then
5919 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5920 else
5921 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5922 fi
5923
5924 else
5925
5926 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
5927 if test "x$LINE" != x ; then
5928 eval "DEFAULT_$LINE"
5929 else
5930 no_cache=1
5931 fi
5932
5933 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
5934
5935 fi;
5936
5937 eval "$ac_cv_use_catch_segvs"
5938 if test "$no_cache" != 1; then
5939 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5940 fi
5941
5942 if test x"$enablestring" = xdisable; then
5943 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
5944 result=no
5945 else
5946 result=yes
5947 fi
5948 else
5949 result=$wxUSE_ON_FATAL_EXCEPTION
5950 fi
5951
5952 echo "$as_me:$LINENO: result: $result" >&5
5953 echo "${ECHO_T}$result" >&6
5954
5955
5956 enablestring=
5957 defaultval=$wxUSE_ALL_FEATURES
5958 if test -z"$defaultval"; then
5959 if test x"$enablestring" = xdisable; then
5960 defaultval=yes
5961 else
5962 defaultval=no
5963 fi
5964 fi
5965
5966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5967 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5968 no_cache=0
5969 # Check whether --enable-cmdline or --disable-cmdline was given.
5970 if test "${enable_cmdline+set}" = set; then
5971 enableval="$enable_cmdline"
5972
5973 if test "$enableval" = yes; then
5974 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5975 else
5976 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5977 fi
5978
5979 else
5980
5981 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
5982 if test "x$LINE" != x ; then
5983 eval "DEFAULT_$LINE"
5984 else
5985 no_cache=1
5986 fi
5987
5988 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
5989
5990 fi;
5991
5992 eval "$ac_cv_use_cmdline"
5993 if test "$no_cache" != 1; then
5994 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5995 fi
5996
5997 if test x"$enablestring" = xdisable; then
5998 if test $wxUSE_CMDLINE_PARSER = yes; then
5999 result=no
6000 else
6001 result=yes
6002 fi
6003 else
6004 result=$wxUSE_CMDLINE_PARSER
6005 fi
6006
6007 echo "$as_me:$LINENO: result: $result" >&5
6008 echo "${ECHO_T}$result" >&6
6009
6010
6011 enablestring=
6012 defaultval=$wxUSE_ALL_FEATURES
6013 if test -z"$defaultval"; then
6014 if test x"$enablestring" = xdisable; then
6015 defaultval=yes
6016 else
6017 defaultval=no
6018 fi
6019 fi
6020
6021 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
6023 no_cache=0
6024 # Check whether --enable-datetime or --disable-datetime was given.
6025 if test "${enable_datetime+set}" = set; then
6026 enableval="$enable_datetime"
6027
6028 if test "$enableval" = yes; then
6029 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6030 else
6031 ac_cv_use_datetime='wxUSE_DATETIME=no'
6032 fi
6033
6034 else
6035
6036 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6037 if test "x$LINE" != x ; then
6038 eval "DEFAULT_$LINE"
6039 else
6040 no_cache=1
6041 fi
6042
6043 ac_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6044
6045 fi;
6046
6047 eval "$ac_cv_use_datetime"
6048 if test "$no_cache" != 1; then
6049 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6050 fi
6051
6052 if test x"$enablestring" = xdisable; then
6053 if test $wxUSE_DATETIME = yes; then
6054 result=no
6055 else
6056 result=yes
6057 fi
6058 else
6059 result=$wxUSE_DATETIME
6060 fi
6061
6062 echo "$as_me:$LINENO: result: $result" >&5
6063 echo "${ECHO_T}$result" >&6
6064
6065
6066 enablestring=
6067 defaultval=$wxUSE_ALL_FEATURES
6068 if test -z"$defaultval"; then
6069 if test x"$enablestring" = xdisable; then
6070 defaultval=yes
6071 else
6072 defaultval=no
6073 fi
6074 fi
6075
6076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6077 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
6078 no_cache=0
6079 # Check whether --enable-debugreport or --disable-debugreport was given.
6080 if test "${enable_debugreport+set}" = set; then
6081 enableval="$enable_debugreport"
6082
6083 if test "$enableval" = yes; then
6084 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6085 else
6086 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6087 fi
6088
6089 else
6090
6091 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6092 if test "x$LINE" != x ; then
6093 eval "DEFAULT_$LINE"
6094 else
6095 no_cache=1
6096 fi
6097
6098 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6099
6100 fi;
6101
6102 eval "$ac_cv_use_debugreport"
6103 if test "$no_cache" != 1; then
6104 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6105 fi
6106
6107 if test x"$enablestring" = xdisable; then
6108 if test $wxUSE_DEBUGREPORT = yes; then
6109 result=no
6110 else
6111 result=yes
6112 fi
6113 else
6114 result=$wxUSE_DEBUGREPORT
6115 fi
6116
6117 echo "$as_me:$LINENO: result: $result" >&5
6118 echo "${ECHO_T}$result" >&6
6119
6120
6121 enablestring=
6122 defaultval=$wxUSE_ALL_FEATURES
6123 if test -z"$defaultval"; then
6124 if test x"$enablestring" = xdisable; then
6125 defaultval=yes
6126 else
6127 defaultval=no
6128 fi
6129 fi
6130
6131 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6132 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
6133 no_cache=0
6134 # Check whether --enable-dialupman or --disable-dialupman was given.
6135 if test "${enable_dialupman+set}" = set; then
6136 enableval="$enable_dialupman"
6137
6138 if test "$enableval" = yes; then
6139 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6140 else
6141 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6142 fi
6143
6144 else
6145
6146 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6147 if test "x$LINE" != x ; then
6148 eval "DEFAULT_$LINE"
6149 else
6150 no_cache=1
6151 fi
6152
6153 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6154
6155 fi;
6156
6157 eval "$ac_cv_use_dialupman"
6158 if test "$no_cache" != 1; then
6159 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6160 fi
6161
6162 if test x"$enablestring" = xdisable; then
6163 if test $wxUSE_DIALUP_MANAGER = yes; then
6164 result=no
6165 else
6166 result=yes
6167 fi
6168 else
6169 result=$wxUSE_DIALUP_MANAGER
6170 fi
6171
6172 echo "$as_me:$LINENO: result: $result" >&5
6173 echo "${ECHO_T}$result" >&6
6174
6175
6176 enablestring=
6177 defaultval=$wxUSE_ALL_FEATURES
6178 if test -z"$defaultval"; then
6179 if test x"$enablestring" = xdisable; then
6180 defaultval=yes
6181 else
6182 defaultval=no
6183 fi
6184 fi
6185
6186 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6187 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
6188 no_cache=0
6189 # Check whether --enable-dynlib or --disable-dynlib was given.
6190 if test "${enable_dynlib+set}" = set; then
6191 enableval="$enable_dynlib"
6192
6193 if test "$enableval" = yes; then
6194 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6195 else
6196 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6197 fi
6198
6199 else
6200
6201 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6202 if test "x$LINE" != x ; then
6203 eval "DEFAULT_$LINE"
6204 else
6205 no_cache=1
6206 fi
6207
6208 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6209
6210 fi;
6211
6212 eval "$ac_cv_use_dynlib"
6213 if test "$no_cache" != 1; then
6214 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6215 fi
6216
6217 if test x"$enablestring" = xdisable; then
6218 if test $wxUSE_DYNLIB_CLASS = yes; then
6219 result=no
6220 else
6221 result=yes
6222 fi
6223 else
6224 result=$wxUSE_DYNLIB_CLASS
6225 fi
6226
6227 echo "$as_me:$LINENO: result: $result" >&5
6228 echo "${ECHO_T}$result" >&6
6229
6230
6231 enablestring=
6232 defaultval=$wxUSE_ALL_FEATURES
6233 if test -z"$defaultval"; then
6234 if test x"$enablestring" = xdisable; then
6235 defaultval=yes
6236 else
6237 defaultval=no
6238 fi
6239 fi
6240
6241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6242 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
6243 no_cache=0
6244 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
6245 if test "${enable_dynamicloader+set}" = set; then
6246 enableval="$enable_dynamicloader"
6247
6248 if test "$enableval" = yes; then
6249 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6250 else
6251 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6252 fi
6253
6254 else
6255
6256 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
6257 if test "x$LINE" != x ; then
6258 eval "DEFAULT_$LINE"
6259 else
6260 no_cache=1
6261 fi
6262
6263 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6264
6265 fi;
6266
6267 eval "$ac_cv_use_dynamicloader"
6268 if test "$no_cache" != 1; then
6269 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6270 fi
6271
6272 if test x"$enablestring" = xdisable; then
6273 if test $wxUSE_DYNAMIC_LOADER = yes; then
6274 result=no
6275 else
6276 result=yes
6277 fi
6278 else
6279 result=$wxUSE_DYNAMIC_LOADER
6280 fi
6281
6282 echo "$as_me:$LINENO: result: $result" >&5
6283 echo "${ECHO_T}$result" >&6
6284
6285
6286 enablestring=
6287 defaultval=$wxUSE_ALL_FEATURES
6288 if test -z"$defaultval"; then
6289 if test x"$enablestring" = xdisable; then
6290 defaultval=yes
6291 else
6292 defaultval=no
6293 fi
6294 fi
6295
6296 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6297 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
6298 no_cache=0
6299 # Check whether --enable-exceptions or --disable-exceptions was given.
6300 if test "${enable_exceptions+set}" = set; then
6301 enableval="$enable_exceptions"
6302
6303 if test "$enableval" = yes; then
6304 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6305 else
6306 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6307 fi
6308
6309 else
6310
6311 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x ; then
6313 eval "DEFAULT_$LINE"
6314 else
6315 no_cache=1
6316 fi
6317
6318 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6319
6320 fi;
6321
6322 eval "$ac_cv_use_exceptions"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6325 fi
6326
6327 if test x"$enablestring" = xdisable; then
6328 if test $wxUSE_EXCEPTIONS = yes; then
6329 result=no
6330 else
6331 result=yes
6332 fi
6333 else
6334 result=$wxUSE_EXCEPTIONS
6335 fi
6336
6337 echo "$as_me:$LINENO: result: $result" >&5
6338 echo "${ECHO_T}$result" >&6
6339
6340
6341 enablestring=
6342 defaultval=$wxUSE_ALL_FEATURES
6343 if test -z"$defaultval"; then
6344 if test x"$enablestring" = xdisable; then
6345 defaultval=yes
6346 else
6347 defaultval=no
6348 fi
6349 fi
6350
6351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6352 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
6353 no_cache=0
6354 # Check whether --enable-ffile or --disable-ffile was given.
6355 if test "${enable_ffile+set}" = set; then
6356 enableval="$enable_ffile"
6357
6358 if test "$enableval" = yes; then
6359 ac_cv_use_ffile='wxUSE_FFILE=yes'
6360 else
6361 ac_cv_use_ffile='wxUSE_FFILE=no'
6362 fi
6363
6364 else
6365
6366 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
6367 if test "x$LINE" != x ; then
6368 eval "DEFAULT_$LINE"
6369 else
6370 no_cache=1
6371 fi
6372
6373 ac_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6374
6375 fi;
6376
6377 eval "$ac_cv_use_ffile"
6378 if test "$no_cache" != 1; then
6379 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6380 fi
6381
6382 if test x"$enablestring" = xdisable; then
6383 if test $wxUSE_FFILE = yes; then
6384 result=no
6385 else
6386 result=yes
6387 fi
6388 else
6389 result=$wxUSE_FFILE
6390 fi
6391
6392 echo "$as_me:$LINENO: result: $result" >&5
6393 echo "${ECHO_T}$result" >&6
6394
6395
6396 enablestring=
6397 defaultval=$wxUSE_ALL_FEATURES
6398 if test -z"$defaultval"; then
6399 if test x"$enablestring" = xdisable; then
6400 defaultval=yes
6401 else
6402 defaultval=no
6403 fi
6404 fi
6405
6406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6407 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
6408 no_cache=0
6409 # Check whether --enable-file or --disable-file was given.
6410 if test "${enable_file+set}" = set; then
6411 enableval="$enable_file"
6412
6413 if test "$enableval" = yes; then
6414 ac_cv_use_file='wxUSE_FILE=yes'
6415 else
6416 ac_cv_use_file='wxUSE_FILE=no'
6417 fi
6418
6419 else
6420
6421 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
6422 if test "x$LINE" != x ; then
6423 eval "DEFAULT_$LINE"
6424 else
6425 no_cache=1
6426 fi
6427
6428 ac_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6429
6430 fi;
6431
6432 eval "$ac_cv_use_file"
6433 if test "$no_cache" != 1; then
6434 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6435 fi
6436
6437 if test x"$enablestring" = xdisable; then
6438 if test $wxUSE_FILE = yes; then
6439 result=no
6440 else
6441 result=yes
6442 fi
6443 else
6444 result=$wxUSE_FILE
6445 fi
6446
6447 echo "$as_me:$LINENO: result: $result" >&5
6448 echo "${ECHO_T}$result" >&6
6449
6450
6451 enablestring=
6452 defaultval=$wxUSE_ALL_FEATURES
6453 if test -z"$defaultval"; then
6454 if test x"$enablestring" = xdisable; then
6455 defaultval=yes
6456 else
6457 defaultval=no
6458 fi
6459 fi
6460
6461 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6462 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
6463 no_cache=0
6464 # Check whether --enable-filesystem or --disable-filesystem was given.
6465 if test "${enable_filesystem+set}" = set; then
6466 enableval="$enable_filesystem"
6467
6468 if test "$enableval" = yes; then
6469 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6470 else
6471 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6472 fi
6473
6474 else
6475
6476 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
6477 if test "x$LINE" != x ; then
6478 eval "DEFAULT_$LINE"
6479 else
6480 no_cache=1
6481 fi
6482
6483 ac_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6484
6485 fi;
6486
6487 eval "$ac_cv_use_filesystem"
6488 if test "$no_cache" != 1; then
6489 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6490 fi
6491
6492 if test x"$enablestring" = xdisable; then
6493 if test $wxUSE_FILESYSTEM = yes; then
6494 result=no
6495 else
6496 result=yes
6497 fi
6498 else
6499 result=$wxUSE_FILESYSTEM
6500 fi
6501
6502 echo "$as_me:$LINENO: result: $result" >&5
6503 echo "${ECHO_T}$result" >&6
6504
6505
6506 enablestring=
6507 defaultval=$wxUSE_ALL_FEATURES
6508 if test -z"$defaultval"; then
6509 if test x"$enablestring" = xdisable; then
6510 defaultval=yes
6511 else
6512 defaultval=no
6513 fi
6514 fi
6515
6516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6517 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
6518 no_cache=0
6519 # Check whether --enable-fontmap or --disable-fontmap was given.
6520 if test "${enable_fontmap+set}" = set; then
6521 enableval="$enable_fontmap"
6522
6523 if test "$enableval" = yes; then
6524 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6525 else
6526 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6527 fi
6528
6529 else
6530
6531 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
6532 if test "x$LINE" != x ; then
6533 eval "DEFAULT_$LINE"
6534 else
6535 no_cache=1
6536 fi
6537
6538 ac_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6539
6540 fi;
6541
6542 eval "$ac_cv_use_fontmap"
6543 if test "$no_cache" != 1; then
6544 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6545 fi
6546
6547 if test x"$enablestring" = xdisable; then
6548 if test $wxUSE_FONTMAP = yes; then
6549 result=no
6550 else
6551 result=yes
6552 fi
6553 else
6554 result=$wxUSE_FONTMAP
6555 fi
6556
6557 echo "$as_me:$LINENO: result: $result" >&5
6558 echo "${ECHO_T}$result" >&6
6559
6560
6561 enablestring=
6562 defaultval=$wxUSE_ALL_FEATURES
6563 if test -z"$defaultval"; then
6564 if test x"$enablestring" = xdisable; then
6565 defaultval=yes
6566 else
6567 defaultval=no
6568 fi
6569 fi
6570
6571 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6572 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
6573 no_cache=0
6574 # Check whether --enable-fs_archive or --disable-fs_archive was given.
6575 if test "${enable_fs_archive+set}" = set; then
6576 enableval="$enable_fs_archive"
6577
6578 if test "$enableval" = yes; then
6579 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6580 else
6581 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6582 fi
6583
6584 else
6585
6586 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
6587 if test "x$LINE" != x ; then
6588 eval "DEFAULT_$LINE"
6589 else
6590 no_cache=1
6591 fi
6592
6593 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6594
6595 fi;
6596
6597 eval "$ac_cv_use_fs_archive"
6598 if test "$no_cache" != 1; then
6599 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6600 fi
6601
6602 if test x"$enablestring" = xdisable; then
6603 if test $wxUSE_FS_ARCHIVE = yes; then
6604 result=no
6605 else
6606 result=yes
6607 fi
6608 else
6609 result=$wxUSE_FS_ARCHIVE
6610 fi
6611
6612 echo "$as_me:$LINENO: result: $result" >&5
6613 echo "${ECHO_T}$result" >&6
6614
6615
6616 enablestring=
6617 defaultval=$wxUSE_ALL_FEATURES
6618 if test -z"$defaultval"; then
6619 if test x"$enablestring" = xdisable; then
6620 defaultval=yes
6621 else
6622 defaultval=no
6623 fi
6624 fi
6625
6626 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6627 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
6628 no_cache=0
6629 # Check whether --enable-fs_inet or --disable-fs_inet was given.
6630 if test "${enable_fs_inet+set}" = set; then
6631 enableval="$enable_fs_inet"
6632
6633 if test "$enableval" = yes; then
6634 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6635 else
6636 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6637 fi
6638
6639 else
6640
6641 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
6642 if test "x$LINE" != x ; then
6643 eval "DEFAULT_$LINE"
6644 else
6645 no_cache=1
6646 fi
6647
6648 ac_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
6649
6650 fi;
6651
6652 eval "$ac_cv_use_fs_inet"
6653 if test "$no_cache" != 1; then
6654 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6655 fi
6656
6657 if test x"$enablestring" = xdisable; then
6658 if test $wxUSE_FS_INET = yes; then
6659 result=no
6660 else
6661 result=yes
6662 fi
6663 else
6664 result=$wxUSE_FS_INET
6665 fi
6666
6667 echo "$as_me:$LINENO: result: $result" >&5
6668 echo "${ECHO_T}$result" >&6
6669
6670
6671 enablestring=
6672 defaultval=$wxUSE_ALL_FEATURES
6673 if test -z"$defaultval"; then
6674 if test x"$enablestring" = xdisable; then
6675 defaultval=yes
6676 else
6677 defaultval=no
6678 fi
6679 fi
6680
6681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6682 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
6683 no_cache=0
6684 # Check whether --enable-fs_zip or --disable-fs_zip was given.
6685 if test "${enable_fs_zip+set}" = set; then
6686 enableval="$enable_fs_zip"
6687
6688 if test "$enableval" = yes; then
6689 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6690 else
6691 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6692 fi
6693
6694 else
6695
6696 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
6697 if test "x$LINE" != x ; then
6698 eval "DEFAULT_$LINE"
6699 else
6700 no_cache=1
6701 fi
6702
6703 ac_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
6704
6705 fi;
6706
6707 eval "$ac_cv_use_fs_zip"
6708 if test "$no_cache" != 1; then
6709 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6710 fi
6711
6712 if test x"$enablestring" = xdisable; then
6713 if test $wxUSE_FS_ZIP = yes; then
6714 result=no
6715 else
6716 result=yes
6717 fi
6718 else
6719 result=$wxUSE_FS_ZIP
6720 fi
6721
6722 echo "$as_me:$LINENO: result: $result" >&5
6723 echo "${ECHO_T}$result" >&6
6724
6725
6726 enablestring=
6727 defaultval=$wxUSE_ALL_FEATURES
6728 if test -z"$defaultval"; then
6729 if test x"$enablestring" = xdisable; then
6730 defaultval=yes
6731 else
6732 defaultval=no
6733 fi
6734 fi
6735
6736 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6737 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
6738 no_cache=0
6739 # Check whether --enable-geometry or --disable-geometry was given.
6740 if test "${enable_geometry+set}" = set; then
6741 enableval="$enable_geometry"
6742
6743 if test "$enableval" = yes; then
6744 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6745 else
6746 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6747 fi
6748
6749 else
6750
6751 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
6752 if test "x$LINE" != x ; then
6753 eval "DEFAULT_$LINE"
6754 else
6755 no_cache=1
6756 fi
6757
6758 ac_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
6759
6760 fi;
6761
6762 eval "$ac_cv_use_geometry"
6763 if test "$no_cache" != 1; then
6764 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6765 fi
6766
6767 if test x"$enablestring" = xdisable; then
6768 if test $wxUSE_GEOMETRY = yes; then
6769 result=no
6770 else
6771 result=yes
6772 fi
6773 else
6774 result=$wxUSE_GEOMETRY
6775 fi
6776
6777 echo "$as_me:$LINENO: result: $result" >&5
6778 echo "${ECHO_T}$result" >&6
6779
6780
6781 enablestring=
6782 defaultval=$wxUSE_ALL_FEATURES
6783 if test -z"$defaultval"; then
6784 if test x"$enablestring" = xdisable; then
6785 defaultval=yes
6786 else
6787 defaultval=no
6788 fi
6789 fi
6790
6791 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6792 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
6793 no_cache=0
6794 # Check whether --enable-log or --disable-log was given.
6795 if test "${enable_log+set}" = set; then
6796 enableval="$enable_log"
6797
6798 if test "$enableval" = yes; then
6799 ac_cv_use_log='wxUSE_LOG=yes'
6800 else
6801 ac_cv_use_log='wxUSE_LOG=no'
6802 fi
6803
6804 else
6805
6806 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
6807 if test "x$LINE" != x ; then
6808 eval "DEFAULT_$LINE"
6809 else
6810 no_cache=1
6811 fi
6812
6813 ac_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
6814
6815 fi;
6816
6817 eval "$ac_cv_use_log"
6818 if test "$no_cache" != 1; then
6819 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6820 fi
6821
6822 if test x"$enablestring" = xdisable; then
6823 if test $wxUSE_LOG = yes; then
6824 result=no
6825 else
6826 result=yes
6827 fi
6828 else
6829 result=$wxUSE_LOG
6830 fi
6831
6832 echo "$as_me:$LINENO: result: $result" >&5
6833 echo "${ECHO_T}$result" >&6
6834
6835
6836 enablestring=
6837 defaultval=$wxUSE_ALL_FEATURES
6838 if test -z"$defaultval"; then
6839 if test x"$enablestring" = xdisable; then
6840 defaultval=yes
6841 else
6842 defaultval=no
6843 fi
6844 fi
6845
6846 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6847 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
6848 no_cache=0
6849 # Check whether --enable-longlong or --disable-longlong was given.
6850 if test "${enable_longlong+set}" = set; then
6851 enableval="$enable_longlong"
6852
6853 if test "$enableval" = yes; then
6854 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6855 else
6856 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6857 fi
6858
6859 else
6860
6861 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
6862 if test "x$LINE" != x ; then
6863 eval "DEFAULT_$LINE"
6864 else
6865 no_cache=1
6866 fi
6867
6868 ac_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
6869
6870 fi;
6871
6872 eval "$ac_cv_use_longlong"
6873 if test "$no_cache" != 1; then
6874 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6875 fi
6876
6877 if test x"$enablestring" = xdisable; then
6878 if test $wxUSE_LONGLONG = yes; then
6879 result=no
6880 else
6881 result=yes
6882 fi
6883 else
6884 result=$wxUSE_LONGLONG
6885 fi
6886
6887 echo "$as_me:$LINENO: result: $result" >&5
6888 echo "${ECHO_T}$result" >&6
6889
6890
6891 enablestring=
6892 defaultval=$wxUSE_ALL_FEATURES
6893 if test -z"$defaultval"; then
6894 if test x"$enablestring" = xdisable; then
6895 defaultval=yes
6896 else
6897 defaultval=no
6898 fi
6899 fi
6900
6901 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6902 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
6903 no_cache=0
6904 # Check whether --enable-mimetype or --disable-mimetype was given.
6905 if test "${enable_mimetype+set}" = set; then
6906 enableval="$enable_mimetype"
6907
6908 if test "$enableval" = yes; then
6909 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6910 else
6911 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6912 fi
6913
6914 else
6915
6916 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
6917 if test "x$LINE" != x ; then
6918 eval "DEFAULT_$LINE"
6919 else
6920 no_cache=1
6921 fi
6922
6923 ac_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
6924
6925 fi;
6926
6927 eval "$ac_cv_use_mimetype"
6928 if test "$no_cache" != 1; then
6929 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6930 fi
6931
6932 if test x"$enablestring" = xdisable; then
6933 if test $wxUSE_MIMETYPE = yes; then
6934 result=no
6935 else
6936 result=yes
6937 fi
6938 else
6939 result=$wxUSE_MIMETYPE
6940 fi
6941
6942 echo "$as_me:$LINENO: result: $result" >&5
6943 echo "${ECHO_T}$result" >&6
6944
6945
6946 enablestring=
6947 defaultval=$wxUSE_ALL_FEATURES
6948 if test -z"$defaultval"; then
6949 if test x"$enablestring" = xdisable; then
6950 defaultval=yes
6951 else
6952 defaultval=no
6953 fi
6954 fi
6955
6956 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6957 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
6958 no_cache=0
6959 # Check whether --enable-snglinst or --disable-snglinst was given.
6960 if test "${enable_snglinst+set}" = set; then
6961 enableval="$enable_snglinst"
6962
6963 if test "$enableval" = yes; then
6964 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6965 else
6966 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6967 fi
6968
6969 else
6970
6971 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
6972 if test "x$LINE" != x ; then
6973 eval "DEFAULT_$LINE"
6974 else
6975 no_cache=1
6976 fi
6977
6978 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
6979
6980 fi;
6981
6982 eval "$ac_cv_use_snglinst"
6983 if test "$no_cache" != 1; then
6984 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6985 fi
6986
6987 if test x"$enablestring" = xdisable; then
6988 if test $wxUSE_SNGLINST_CHECKER = yes; then
6989 result=no
6990 else
6991 result=yes
6992 fi
6993 else
6994 result=$wxUSE_SNGLINST_CHECKER
6995 fi
6996
6997 echo "$as_me:$LINENO: result: $result" >&5
6998 echo "${ECHO_T}$result" >&6
6999
7000
7001 enablestring=
7002 defaultval=$wxUSE_ALL_FEATURES
7003 if test -z"$defaultval"; then
7004 if test x"$enablestring" = xdisable; then
7005 defaultval=yes
7006 else
7007 defaultval=no
7008 fi
7009 fi
7010
7011 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7012 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
7013 no_cache=0
7014 # Check whether --enable-stdpaths or --disable-stdpaths was given.
7015 if test "${enable_stdpaths+set}" = set; then
7016 enableval="$enable_stdpaths"
7017
7018 if test "$enableval" = yes; then
7019 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7020 else
7021 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
7022 fi
7023
7024 else
7025
7026 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7027 if test "x$LINE" != x ; then
7028 eval "DEFAULT_$LINE"
7029 else
7030 no_cache=1
7031 fi
7032
7033 ac_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7034
7035 fi;
7036
7037 eval "$ac_cv_use_stdpaths"
7038 if test "$no_cache" != 1; then
7039 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
7040 fi
7041
7042 if test x"$enablestring" = xdisable; then
7043 if test $wxUSE_STDPATHS = yes; then
7044 result=no
7045 else
7046 result=yes
7047 fi
7048 else
7049 result=$wxUSE_STDPATHS
7050 fi
7051
7052 echo "$as_me:$LINENO: result: $result" >&5
7053 echo "${ECHO_T}$result" >&6
7054
7055
7056 enablestring=
7057 defaultval=$wxUSE_ALL_FEATURES
7058 if test -z"$defaultval"; then
7059 if test x"$enablestring" = xdisable; then
7060 defaultval=yes
7061 else
7062 defaultval=no
7063 fi
7064 fi
7065
7066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7067 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
7068 no_cache=0
7069 # Check whether --enable-stopwatch or --disable-stopwatch was given.
7070 if test "${enable_stopwatch+set}" = set; then
7071 enableval="$enable_stopwatch"
7072
7073 if test "$enableval" = yes; then
7074 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7075 else
7076 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7077 fi
7078
7079 else
7080
7081 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7082 if test "x$LINE" != x ; then
7083 eval "DEFAULT_$LINE"
7084 else
7085 no_cache=1
7086 fi
7087
7088 ac_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7089
7090 fi;
7091
7092 eval "$ac_cv_use_stopwatch"
7093 if test "$no_cache" != 1; then
7094 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7095 fi
7096
7097 if test x"$enablestring" = xdisable; then
7098 if test $wxUSE_STOPWATCH = yes; then
7099 result=no
7100 else
7101 result=yes
7102 fi
7103 else
7104 result=$wxUSE_STOPWATCH
7105 fi
7106
7107 echo "$as_me:$LINENO: result: $result" >&5
7108 echo "${ECHO_T}$result" >&6
7109
7110
7111 enablestring=
7112 defaultval=$wxUSE_ALL_FEATURES
7113 if test -z"$defaultval"; then
7114 if test x"$enablestring" = xdisable; then
7115 defaultval=yes
7116 else
7117 defaultval=no
7118 fi
7119 fi
7120
7121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7122 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
7123 no_cache=0
7124 # Check whether --enable-streams or --disable-streams was given.
7125 if test "${enable_streams+set}" = set; then
7126 enableval="$enable_streams"
7127
7128 if test "$enableval" = yes; then
7129 ac_cv_use_streams='wxUSE_STREAMS=yes'
7130 else
7131 ac_cv_use_streams='wxUSE_STREAMS=no'
7132 fi
7133
7134 else
7135
7136 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7137 if test "x$LINE" != x ; then
7138 eval "DEFAULT_$LINE"
7139 else
7140 no_cache=1
7141 fi
7142
7143 ac_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7144
7145 fi;
7146
7147 eval "$ac_cv_use_streams"
7148 if test "$no_cache" != 1; then
7149 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7150 fi
7151
7152 if test x"$enablestring" = xdisable; then
7153 if test $wxUSE_STREAMS = yes; then
7154 result=no
7155 else
7156 result=yes
7157 fi
7158 else
7159 result=$wxUSE_STREAMS
7160 fi
7161
7162 echo "$as_me:$LINENO: result: $result" >&5
7163 echo "${ECHO_T}$result" >&6
7164
7165
7166 enablestring=
7167 defaultval=$wxUSE_ALL_FEATURES
7168 if test -z"$defaultval"; then
7169 if test x"$enablestring" = xdisable; then
7170 defaultval=yes
7171 else
7172 defaultval=no
7173 fi
7174 fi
7175
7176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
7178 no_cache=0
7179 # Check whether --enable-system_options or --disable-system_options was given.
7180 if test "${enable_system_options+set}" = set; then
7181 enableval="$enable_system_options"
7182
7183 if test "$enableval" = yes; then
7184 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7185 else
7186 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7187 fi
7188
7189 else
7190
7191 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x ; then
7193 eval "DEFAULT_$LINE"
7194 else
7195 no_cache=1
7196 fi
7197
7198 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7199
7200 fi;
7201
7202 eval "$ac_cv_use_system_options"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7205 fi
7206
7207 if test x"$enablestring" = xdisable; then
7208 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7209 result=no
7210 else
7211 result=yes
7212 fi
7213 else
7214 result=$wxUSE_SYSTEM_OPTIONS
7215 fi
7216
7217 echo "$as_me:$LINENO: result: $result" >&5
7218 echo "${ECHO_T}$result" >&6
7219
7220
7221 enablestring=
7222 defaultval=$wxUSE_ALL_FEATURES
7223 if test -z"$defaultval"; then
7224 if test x"$enablestring" = xdisable; then
7225 defaultval=yes
7226 else
7227 defaultval=no
7228 fi
7229 fi
7230
7231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7232 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
7233 no_cache=0
7234 # Check whether --enable-tarstream or --disable-tarstream was given.
7235 if test "${enable_tarstream+set}" = set; then
7236 enableval="$enable_tarstream"
7237
7238 if test "$enableval" = yes; then
7239 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7240 else
7241 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7242 fi
7243
7244 else
7245
7246 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
7247 if test "x$LINE" != x ; then
7248 eval "DEFAULT_$LINE"
7249 else
7250 no_cache=1
7251 fi
7252
7253 ac_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7254
7255 fi;
7256
7257 eval "$ac_cv_use_tarstream"
7258 if test "$no_cache" != 1; then
7259 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7260 fi
7261
7262 if test x"$enablestring" = xdisable; then
7263 if test $wxUSE_TARSTREAM = yes; then
7264 result=no
7265 else
7266 result=yes
7267 fi
7268 else
7269 result=$wxUSE_TARSTREAM
7270 fi
7271
7272 echo "$as_me:$LINENO: result: $result" >&5
7273 echo "${ECHO_T}$result" >&6
7274
7275
7276 enablestring=
7277 defaultval=$wxUSE_ALL_FEATURES
7278 if test -z"$defaultval"; then
7279 if test x"$enablestring" = xdisable; then
7280 defaultval=yes
7281 else
7282 defaultval=no
7283 fi
7284 fi
7285
7286 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7287 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
7288 no_cache=0
7289 # Check whether --enable-textbuf or --disable-textbuf was given.
7290 if test "${enable_textbuf+set}" = set; then
7291 enableval="$enable_textbuf"
7292
7293 if test "$enableval" = yes; then
7294 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7295 else
7296 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7297 fi
7298
7299 else
7300
7301 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
7302 if test "x$LINE" != x ; then
7303 eval "DEFAULT_$LINE"
7304 else
7305 no_cache=1
7306 fi
7307
7308 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7309
7310 fi;
7311
7312 eval "$ac_cv_use_textbuf"
7313 if test "$no_cache" != 1; then
7314 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7315 fi
7316
7317 if test x"$enablestring" = xdisable; then
7318 if test $wxUSE_TEXTBUFFER = yes; then
7319 result=no
7320 else
7321 result=yes
7322 fi
7323 else
7324 result=$wxUSE_TEXTBUFFER
7325 fi
7326
7327 echo "$as_me:$LINENO: result: $result" >&5
7328 echo "${ECHO_T}$result" >&6
7329
7330
7331 enablestring=
7332 defaultval=$wxUSE_ALL_FEATURES
7333 if test -z"$defaultval"; then
7334 if test x"$enablestring" = xdisable; then
7335 defaultval=yes
7336 else
7337 defaultval=no
7338 fi
7339 fi
7340
7341 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7342 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
7343 no_cache=0
7344 # Check whether --enable-textfile or --disable-textfile was given.
7345 if test "${enable_textfile+set}" = set; then
7346 enableval="$enable_textfile"
7347
7348 if test "$enableval" = yes; then
7349 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7350 else
7351 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7352 fi
7353
7354 else
7355
7356 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
7357 if test "x$LINE" != x ; then
7358 eval "DEFAULT_$LINE"
7359 else
7360 no_cache=1
7361 fi
7362
7363 ac_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7364
7365 fi;
7366
7367 eval "$ac_cv_use_textfile"
7368 if test "$no_cache" != 1; then
7369 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7370 fi
7371
7372 if test x"$enablestring" = xdisable; then
7373 if test $wxUSE_TEXTFILE = yes; then
7374 result=no
7375 else
7376 result=yes
7377 fi
7378 else
7379 result=$wxUSE_TEXTFILE
7380 fi
7381
7382 echo "$as_me:$LINENO: result: $result" >&5
7383 echo "${ECHO_T}$result" >&6
7384
7385
7386 enablestring=
7387 defaultval=$wxUSE_ALL_FEATURES
7388 if test -z"$defaultval"; then
7389 if test x"$enablestring" = xdisable; then
7390 defaultval=yes
7391 else
7392 defaultval=no
7393 fi
7394 fi
7395
7396 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7397 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
7398 no_cache=0
7399 # Check whether --enable-timer or --disable-timer was given.
7400 if test "${enable_timer+set}" = set; then
7401 enableval="$enable_timer"
7402
7403 if test "$enableval" = yes; then
7404 ac_cv_use_timer='wxUSE_TIMER=yes'
7405 else
7406 ac_cv_use_timer='wxUSE_TIMER=no'
7407 fi
7408
7409 else
7410
7411 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
7412 if test "x$LINE" != x ; then
7413 eval "DEFAULT_$LINE"
7414 else
7415 no_cache=1
7416 fi
7417
7418 ac_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7419
7420 fi;
7421
7422 eval "$ac_cv_use_timer"
7423 if test "$no_cache" != 1; then
7424 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7425 fi
7426
7427 if test x"$enablestring" = xdisable; then
7428 if test $wxUSE_TIMER = yes; then
7429 result=no
7430 else
7431 result=yes
7432 fi
7433 else
7434 result=$wxUSE_TIMER
7435 fi
7436
7437 echo "$as_me:$LINENO: result: $result" >&5
7438 echo "${ECHO_T}$result" >&6
7439
7440
7441 enablestring=
7442 defaultval=$wxUSE_ALL_FEATURES
7443 if test -z"$defaultval"; then
7444 if test x"$enablestring" = xdisable; then
7445 defaultval=yes
7446 else
7447 defaultval=no
7448 fi
7449 fi
7450
7451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7452 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
7453 no_cache=0
7454 # Check whether --enable-sound or --disable-sound was given.
7455 if test "${enable_sound+set}" = set; then
7456 enableval="$enable_sound"
7457
7458 if test "$enableval" = yes; then
7459 ac_cv_use_sound='wxUSE_SOUND=yes'
7460 else
7461 ac_cv_use_sound='wxUSE_SOUND=no'
7462 fi
7463
7464 else
7465
7466 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
7467 if test "x$LINE" != x ; then
7468 eval "DEFAULT_$LINE"
7469 else
7470 no_cache=1
7471 fi
7472
7473 ac_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7474
7475 fi;
7476
7477 eval "$ac_cv_use_sound"
7478 if test "$no_cache" != 1; then
7479 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7480 fi
7481
7482 if test x"$enablestring" = xdisable; then
7483 if test $wxUSE_SOUND = yes; then
7484 result=no
7485 else
7486 result=yes
7487 fi
7488 else
7489 result=$wxUSE_SOUND
7490 fi
7491
7492 echo "$as_me:$LINENO: result: $result" >&5
7493 echo "${ECHO_T}$result" >&6
7494
7495
7496 enablestring=
7497 defaultval=$wxUSE_ALL_FEATURES
7498 if test -z"$defaultval"; then
7499 if test x"$enablestring" = xdisable; then
7500 defaultval=yes
7501 else
7502 defaultval=no
7503 fi
7504 fi
7505
7506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7507 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
7508 no_cache=0
7509 # Check whether --enable-mediactrl or --disable-mediactrl was given.
7510 if test "${enable_mediactrl+set}" = set; then
7511 enableval="$enable_mediactrl"
7512
7513 if test "$enableval" = yes; then
7514 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7515 else
7516 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7517 fi
7518
7519 else
7520
7521 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
7522 if test "x$LINE" != x ; then
7523 eval "DEFAULT_$LINE"
7524 else
7525 no_cache=1
7526 fi
7527
7528 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7529
7530 fi;
7531
7532 eval "$ac_cv_use_mediactrl"
7533 if test "$no_cache" != 1; then
7534 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7535 fi
7536
7537 if test x"$enablestring" = xdisable; then
7538 if test $wxUSE_MEDIACTRL = yes; then
7539 result=no
7540 else
7541 result=yes
7542 fi
7543 else
7544 result=$wxUSE_MEDIACTRL
7545 fi
7546
7547 echo "$as_me:$LINENO: result: $result" >&5
7548 echo "${ECHO_T}$result" >&6
7549
7550
7551 enablestring=
7552 defaultval=$wxUSE_ALL_FEATURES
7553 if test -z"$defaultval"; then
7554 if test x"$enablestring" = xdisable; then
7555 defaultval=yes
7556 else
7557 defaultval=no
7558 fi
7559 fi
7560
7561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7562 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
7563 no_cache=0
7564 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
7565 if test "${enable_gstreamer8+set}" = set; then
7566 enableval="$enable_gstreamer8"
7567
7568 if test "$enableval" = yes; then
7569 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7570 else
7571 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7572 fi
7573
7574 else
7575
7576 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
7577 if test "x$LINE" != x ; then
7578 eval "DEFAULT_$LINE"
7579 else
7580 no_cache=1
7581 fi
7582
7583 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7584
7585 fi;
7586
7587 eval "$ac_cv_use_gstreamer8"
7588 if test "$no_cache" != 1; then
7589 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7590 fi
7591
7592 if test x"$enablestring" = xdisable; then
7593 if test $wxUSE_GSTREAMER8 = yes; then
7594 result=no
7595 else
7596 result=yes
7597 fi
7598 else
7599 result=$wxUSE_GSTREAMER8
7600 fi
7601
7602 echo "$as_me:$LINENO: result: $result" >&5
7603 echo "${ECHO_T}$result" >&6
7604
7605
7606 enablestring=
7607 defaultval=$wxUSE_ALL_FEATURES
7608 if test -z"$defaultval"; then
7609 if test x"$enablestring" = xdisable; then
7610 defaultval=yes
7611 else
7612 defaultval=no
7613 fi
7614 fi
7615
7616 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7617 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
7618 no_cache=0
7619 # Check whether --enable-printfposparam or --disable-printfposparam was given.
7620 if test "${enable_printfposparam+set}" = set; then
7621 enableval="$enable_printfposparam"
7622
7623 if test "$enableval" = yes; then
7624 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7625 else
7626 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7627 fi
7628
7629 else
7630
7631 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
7632 if test "x$LINE" != x ; then
7633 eval "DEFAULT_$LINE"
7634 else
7635 no_cache=1
7636 fi
7637
7638 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7639
7640 fi;
7641
7642 eval "$ac_cv_use_printfposparam"
7643 if test "$no_cache" != 1; then
7644 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7645 fi
7646
7647 if test x"$enablestring" = xdisable; then
7648 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7649 result=no
7650 else
7651 result=yes
7652 fi
7653 else
7654 result=$wxUSE_PRINTF_POS_PARAMS
7655 fi
7656
7657 echo "$as_me:$LINENO: result: $result" >&5
7658 echo "${ECHO_T}$result" >&6
7659
7660
7661 enablestring=
7662 defaultval=$wxUSE_ALL_FEATURES
7663 if test -z"$defaultval"; then
7664 if test x"$enablestring" = xdisable; then
7665 defaultval=yes
7666 else
7667 defaultval=no
7668 fi
7669 fi
7670
7671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7672 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
7673 no_cache=0
7674 # Check whether --enable-zipstream or --disable-zipstream was given.
7675 if test "${enable_zipstream+set}" = set; then
7676 enableval="$enable_zipstream"
7677
7678 if test "$enableval" = yes; then
7679 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7680 else
7681 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7682 fi
7683
7684 else
7685
7686 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
7687 if test "x$LINE" != x ; then
7688 eval "DEFAULT_$LINE"
7689 else
7690 no_cache=1
7691 fi
7692
7693 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7694
7695 fi;
7696
7697 eval "$ac_cv_use_zipstream"
7698 if test "$no_cache" != 1; then
7699 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7700 fi
7701
7702 if test x"$enablestring" = xdisable; then
7703 if test $wxUSE_ZIPSTREAM = yes; then
7704 result=no
7705 else
7706 result=yes
7707 fi
7708 else
7709 result=$wxUSE_ZIPSTREAM
7710 fi
7711
7712 echo "$as_me:$LINENO: result: $result" >&5
7713 echo "${ECHO_T}$result" >&6
7714
7715
7716
7717 enablestring=
7718 defaultval=$wxUSE_ALL_FEATURES
7719 if test -z"$defaultval"; then
7720 if test x"$enablestring" = xdisable; then
7721 defaultval=yes
7722 else
7723 defaultval=no
7724 fi
7725 fi
7726
7727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7728 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
7729 no_cache=0
7730 # Check whether --enable-url or --disable-url was given.
7731 if test "${enable_url+set}" = set; then
7732 enableval="$enable_url"
7733
7734 if test "$enableval" = yes; then
7735 ac_cv_use_url='wxUSE_URL=yes'
7736 else
7737 ac_cv_use_url='wxUSE_URL=no'
7738 fi
7739
7740 else
7741
7742 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
7743 if test "x$LINE" != x ; then
7744 eval "DEFAULT_$LINE"
7745 else
7746 no_cache=1
7747 fi
7748
7749 ac_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7750
7751 fi;
7752
7753 eval "$ac_cv_use_url"
7754 if test "$no_cache" != 1; then
7755 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7756 fi
7757
7758 if test x"$enablestring" = xdisable; then
7759 if test $wxUSE_URL = yes; then
7760 result=no
7761 else
7762 result=yes
7763 fi
7764 else
7765 result=$wxUSE_URL
7766 fi
7767
7768 echo "$as_me:$LINENO: result: $result" >&5
7769 echo "${ECHO_T}$result" >&6
7770
7771
7772 enablestring=
7773 defaultval=$wxUSE_ALL_FEATURES
7774 if test -z"$defaultval"; then
7775 if test x"$enablestring" = xdisable; then
7776 defaultval=yes
7777 else
7778 defaultval=no
7779 fi
7780 fi
7781
7782 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7783 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
7784 no_cache=0
7785 # Check whether --enable-variant or --disable-variant was given.
7786 if test "${enable_variant+set}" = set; then
7787 enableval="$enable_variant"
7788
7789 if test "$enableval" = yes; then
7790 ac_cv_use_variant='wxUSE_VARIANT=yes'
7791 else
7792 ac_cv_use_variant='wxUSE_VARIANT=no'
7793 fi
7794
7795 else
7796
7797 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
7798 if test "x$LINE" != x ; then
7799 eval "DEFAULT_$LINE"
7800 else
7801 no_cache=1
7802 fi
7803
7804 ac_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7805
7806 fi;
7807
7808 eval "$ac_cv_use_variant"
7809 if test "$no_cache" != 1; then
7810 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7811 fi
7812
7813 if test x"$enablestring" = xdisable; then
7814 if test $wxUSE_VARIANT = yes; then
7815 result=no
7816 else
7817 result=yes
7818 fi
7819 else
7820 result=$wxUSE_VARIANT
7821 fi
7822
7823 echo "$as_me:$LINENO: result: $result" >&5
7824 echo "${ECHO_T}$result" >&6
7825
7826
7827 enablestring=
7828 defaultval=$wxUSE_ALL_FEATURES
7829 if test -z"$defaultval"; then
7830 if test x"$enablestring" = xdisable; then
7831 defaultval=yes
7832 else
7833 defaultval=no
7834 fi
7835 fi
7836
7837 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7838 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
7839 no_cache=0
7840 # Check whether --enable-protocol or --disable-protocol was given.
7841 if test "${enable_protocol+set}" = set; then
7842 enableval="$enable_protocol"
7843
7844 if test "$enableval" = yes; then
7845 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7846 else
7847 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7848 fi
7849
7850 else
7851
7852 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
7853 if test "x$LINE" != x ; then
7854 eval "DEFAULT_$LINE"
7855 else
7856 no_cache=1
7857 fi
7858
7859 ac_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7860
7861 fi;
7862
7863 eval "$ac_cv_use_protocol"
7864 if test "$no_cache" != 1; then
7865 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7866 fi
7867
7868 if test x"$enablestring" = xdisable; then
7869 if test $wxUSE_PROTOCOL = yes; then
7870 result=no
7871 else
7872 result=yes
7873 fi
7874 else
7875 result=$wxUSE_PROTOCOL
7876 fi
7877
7878 echo "$as_me:$LINENO: result: $result" >&5
7879 echo "${ECHO_T}$result" >&6
7880
7881
7882 enablestring=
7883 defaultval=$wxUSE_ALL_FEATURES
7884 if test -z"$defaultval"; then
7885 if test x"$enablestring" = xdisable; then
7886 defaultval=yes
7887 else
7888 defaultval=no
7889 fi
7890 fi
7891
7892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7893 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
7894 no_cache=0
7895 # Check whether --enable-protocol_http or --disable-protocol_http was given.
7896 if test "${enable_protocol_http+set}" = set; then
7897 enableval="$enable_protocol_http"
7898
7899 if test "$enableval" = yes; then
7900 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7901 else
7902 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7903 fi
7904
7905 else
7906
7907 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
7908 if test "x$LINE" != x ; then
7909 eval "DEFAULT_$LINE"
7910 else
7911 no_cache=1
7912 fi
7913
7914 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7915
7916 fi;
7917
7918 eval "$ac_cv_use_protocol_http"
7919 if test "$no_cache" != 1; then
7920 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7921 fi
7922
7923 if test x"$enablestring" = xdisable; then
7924 if test $wxUSE_PROTOCOL_HTTP = yes; then
7925 result=no
7926 else
7927 result=yes
7928 fi
7929 else
7930 result=$wxUSE_PROTOCOL_HTTP
7931 fi
7932
7933 echo "$as_me:$LINENO: result: $result" >&5
7934 echo "${ECHO_T}$result" >&6
7935
7936
7937 enablestring=
7938 defaultval=$wxUSE_ALL_FEATURES
7939 if test -z"$defaultval"; then
7940 if test x"$enablestring" = xdisable; then
7941 defaultval=yes
7942 else
7943 defaultval=no
7944 fi
7945 fi
7946
7947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7948 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
7949 no_cache=0
7950 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
7951 if test "${enable_protocol_ftp+set}" = set; then
7952 enableval="$enable_protocol_ftp"
7953
7954 if test "$enableval" = yes; then
7955 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7956 else
7957 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7958 fi
7959
7960 else
7961
7962 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
7963 if test "x$LINE" != x ; then
7964 eval "DEFAULT_$LINE"
7965 else
7966 no_cache=1
7967 fi
7968
7969 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
7970
7971 fi;
7972
7973 eval "$ac_cv_use_protocol_ftp"
7974 if test "$no_cache" != 1; then
7975 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7976 fi
7977
7978 if test x"$enablestring" = xdisable; then
7979 if test $wxUSE_PROTOCOL_FTP = yes; then
7980 result=no
7981 else
7982 result=yes
7983 fi
7984 else
7985 result=$wxUSE_PROTOCOL_FTP
7986 fi
7987
7988 echo "$as_me:$LINENO: result: $result" >&5
7989 echo "${ECHO_T}$result" >&6
7990
7991
7992 enablestring=
7993 defaultval=$wxUSE_ALL_FEATURES
7994 if test -z"$defaultval"; then
7995 if test x"$enablestring" = xdisable; then
7996 defaultval=yes
7997 else
7998 defaultval=no
7999 fi
8000 fi
8001
8002 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8003 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
8004 no_cache=0
8005 # Check whether --enable-protocol_file or --disable-protocol_file was given.
8006 if test "${enable_protocol_file+set}" = set; then
8007 enableval="$enable_protocol_file"
8008
8009 if test "$enableval" = yes; then
8010 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8011 else
8012 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8013 fi
8014
8015 else
8016
8017 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8018 if test "x$LINE" != x ; then
8019 eval "DEFAULT_$LINE"
8020 else
8021 no_cache=1
8022 fi
8023
8024 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8025
8026 fi;
8027
8028 eval "$ac_cv_use_protocol_file"
8029 if test "$no_cache" != 1; then
8030 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
8031 fi
8032
8033 if test x"$enablestring" = xdisable; then
8034 if test $wxUSE_PROTOCOL_FILE = yes; then
8035 result=no
8036 else
8037 result=yes
8038 fi
8039 else
8040 result=$wxUSE_PROTOCOL_FILE
8041 fi
8042
8043 echo "$as_me:$LINENO: result: $result" >&5
8044 echo "${ECHO_T}$result" >&6
8045
8046
8047
8048 enablestring=
8049 defaultval=$wxUSE_ALL_FEATURES
8050 if test -z"$defaultval"; then
8051 if test x"$enablestring" = xdisable; then
8052 defaultval=yes
8053 else
8054 defaultval=no
8055 fi
8056 fi
8057
8058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8059 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
8060 no_cache=0
8061 # Check whether --enable-threads or --disable-threads was given.
8062 if test "${enable_threads+set}" = set; then
8063 enableval="$enable_threads"
8064
8065 if test "$enableval" = yes; then
8066 ac_cv_use_threads='wxUSE_THREADS=yes'
8067 else
8068 ac_cv_use_threads='wxUSE_THREADS=no'
8069 fi
8070
8071 else
8072
8073 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x ; then
8075 eval "DEFAULT_$LINE"
8076 else
8077 no_cache=1
8078 fi
8079
8080 ac_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8081
8082 fi;
8083
8084 eval "$ac_cv_use_threads"
8085 if test "$no_cache" != 1; then
8086 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
8087 fi
8088
8089 if test x"$enablestring" = xdisable; then
8090 if test $wxUSE_THREADS = yes; then
8091 result=no
8092 else
8093 result=yes
8094 fi
8095 else
8096 result=$wxUSE_THREADS
8097 fi
8098
8099 echo "$as_me:$LINENO: result: $result" >&5
8100 echo "${ECHO_T}$result" >&6
8101
8102
8103 if test "$wxUSE_GUI" = "yes"; then
8104
8105
8106
8107 enablestring=
8108 defaultval=$wxUSE_ALL_FEATURES
8109 if test -z"$defaultval"; then
8110 if test x"$enablestring" = xdisable; then
8111 defaultval=yes
8112 else
8113 defaultval=no
8114 fi
8115 fi
8116
8117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
8119 no_cache=0
8120 # Check whether --enable-docview or --disable-docview was given.
8121 if test "${enable_docview+set}" = set; then
8122 enableval="$enable_docview"
8123
8124 if test "$enableval" = yes; then
8125 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8126 else
8127 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8128 fi
8129
8130 else
8131
8132 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
8133 if test "x$LINE" != x ; then
8134 eval "DEFAULT_$LINE"
8135 else
8136 no_cache=1
8137 fi
8138
8139 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8140
8141 fi;
8142
8143 eval "$ac_cv_use_docview"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
8146 fi
8147
8148 if test x"$enablestring" = xdisable; then
8149 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8150 result=no
8151 else
8152 result=yes
8153 fi
8154 else
8155 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8156 fi
8157
8158 echo "$as_me:$LINENO: result: $result" >&5
8159 echo "${ECHO_T}$result" >&6
8160
8161
8162 enablestring=
8163 defaultval=$wxUSE_ALL_FEATURES
8164 if test -z"$defaultval"; then
8165 if test x"$enablestring" = xdisable; then
8166 defaultval=yes
8167 else
8168 defaultval=no
8169 fi
8170 fi
8171
8172 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8173 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
8174 no_cache=0
8175 # Check whether --enable-help or --disable-help was given.
8176 if test "${enable_help+set}" = set; then
8177 enableval="$enable_help"
8178
8179 if test "$enableval" = yes; then
8180 ac_cv_use_help='wxUSE_HELP=yes'
8181 else
8182 ac_cv_use_help='wxUSE_HELP=no'
8183 fi
8184
8185 else
8186
8187 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
8188 if test "x$LINE" != x ; then
8189 eval "DEFAULT_$LINE"
8190 else
8191 no_cache=1
8192 fi
8193
8194 ac_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8195
8196 fi;
8197
8198 eval "$ac_cv_use_help"
8199 if test "$no_cache" != 1; then
8200 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
8201 fi
8202
8203 if test x"$enablestring" = xdisable; then
8204 if test $wxUSE_HELP = yes; then
8205 result=no
8206 else
8207 result=yes
8208 fi
8209 else
8210 result=$wxUSE_HELP
8211 fi
8212
8213 echo "$as_me:$LINENO: result: $result" >&5
8214 echo "${ECHO_T}$result" >&6
8215
8216
8217 enablestring=
8218 defaultval=$wxUSE_ALL_FEATURES
8219 if test -z"$defaultval"; then
8220 if test x"$enablestring" = xdisable; then
8221 defaultval=yes
8222 else
8223 defaultval=no
8224 fi
8225 fi
8226
8227 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8228 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
8229 no_cache=0
8230 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
8231 if test "${enable_mshtmlhelp+set}" = set; then
8232 enableval="$enable_mshtmlhelp"
8233
8234 if test "$enableval" = yes; then
8235 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8236 else
8237 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8238 fi
8239
8240 else
8241
8242 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
8243 if test "x$LINE" != x ; then
8244 eval "DEFAULT_$LINE"
8245 else
8246 no_cache=1
8247 fi
8248
8249 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8250
8251 fi;
8252
8253 eval "$ac_cv_use_mshtmlhelp"
8254 if test "$no_cache" != 1; then
8255 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
8256 fi
8257
8258 if test x"$enablestring" = xdisable; then
8259 if test $wxUSE_MS_HTML_HELP = yes; then
8260 result=no
8261 else
8262 result=yes
8263 fi
8264 else
8265 result=$wxUSE_MS_HTML_HELP
8266 fi
8267
8268 echo "$as_me:$LINENO: result: $result" >&5
8269 echo "${ECHO_T}$result" >&6
8270
8271
8272 enablestring=
8273 defaultval=$wxUSE_ALL_FEATURES
8274 if test -z"$defaultval"; then
8275 if test x"$enablestring" = xdisable; then
8276 defaultval=yes
8277 else
8278 defaultval=no
8279 fi
8280 fi
8281
8282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8283 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
8284 no_cache=0
8285 # Check whether --enable-html or --disable-html was given.
8286 if test "${enable_html+set}" = set; then
8287 enableval="$enable_html"
8288
8289 if test "$enableval" = yes; then
8290 ac_cv_use_html='wxUSE_HTML=yes'
8291 else
8292 ac_cv_use_html='wxUSE_HTML=no'
8293 fi
8294
8295 else
8296
8297 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
8298 if test "x$LINE" != x ; then
8299 eval "DEFAULT_$LINE"
8300 else
8301 no_cache=1
8302 fi
8303
8304 ac_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8305
8306 fi;
8307
8308 eval "$ac_cv_use_html"
8309 if test "$no_cache" != 1; then
8310 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
8311 fi
8312
8313 if test x"$enablestring" = xdisable; then
8314 if test $wxUSE_HTML = yes; then
8315 result=no
8316 else
8317 result=yes
8318 fi
8319 else
8320 result=$wxUSE_HTML
8321 fi
8322
8323 echo "$as_me:$LINENO: result: $result" >&5
8324 echo "${ECHO_T}$result" >&6
8325
8326
8327 enablestring=
8328 defaultval=$wxUSE_ALL_FEATURES
8329 if test -z"$defaultval"; then
8330 if test x"$enablestring" = xdisable; then
8331 defaultval=yes
8332 else
8333 defaultval=no
8334 fi
8335 fi
8336
8337 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8338 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
8339 no_cache=0
8340 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
8341 if test "${enable_htmlhelp+set}" = set; then
8342 enableval="$enable_htmlhelp"
8343
8344 if test "$enableval" = yes; then
8345 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8346 else
8347 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8348 fi
8349
8350 else
8351
8352 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
8353 if test "x$LINE" != x ; then
8354 eval "DEFAULT_$LINE"
8355 else
8356 no_cache=1
8357 fi
8358
8359 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8360
8361 fi;
8362
8363 eval "$ac_cv_use_htmlhelp"
8364 if test "$no_cache" != 1; then
8365 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
8366 fi
8367
8368 if test x"$enablestring" = xdisable; then
8369 if test $wxUSE_WXHTML_HELP = yes; then
8370 result=no
8371 else
8372 result=yes
8373 fi
8374 else
8375 result=$wxUSE_WXHTML_HELP
8376 fi
8377
8378 echo "$as_me:$LINENO: result: $result" >&5
8379 echo "${ECHO_T}$result" >&6
8380
8381
8382 enablestring=
8383 defaultval=$wxUSE_ALL_FEATURES
8384 if test -z"$defaultval"; then
8385 if test x"$enablestring" = xdisable; then
8386 defaultval=yes
8387 else
8388 defaultval=no
8389 fi
8390 fi
8391
8392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8393 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
8394 no_cache=0
8395 # Check whether --enable-xrc or --disable-xrc was given.
8396 if test "${enable_xrc+set}" = set; then
8397 enableval="$enable_xrc"
8398
8399 if test "$enableval" = yes; then
8400 ac_cv_use_xrc='wxUSE_XRC=yes'
8401 else
8402 ac_cv_use_xrc='wxUSE_XRC=no'
8403 fi
8404
8405 else
8406
8407 LINE=`grep "^wxUSE_XRC=" ${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_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8415
8416 fi;
8417
8418 eval "$ac_cv_use_xrc"
8419 if test "$no_cache" != 1; then
8420 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8421 fi
8422
8423 if test x"$enablestring" = xdisable; then
8424 if test $wxUSE_XRC = yes; then
8425 result=no
8426 else
8427 result=yes
8428 fi
8429 else
8430 result=$wxUSE_XRC
8431 fi
8432
8433 echo "$as_me:$LINENO: result: $result" >&5
8434 echo "${ECHO_T}$result" >&6
8435
8436
8437 enablestring=
8438 defaultval=$wxUSE_ALL_FEATURES
8439 if test -z"$defaultval"; then
8440 if test x"$enablestring" = xdisable; then
8441 defaultval=yes
8442 else
8443 defaultval=no
8444 fi
8445 fi
8446
8447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8448 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
8449 no_cache=0
8450 # Check whether --enable-aui or --disable-aui was given.
8451 if test "${enable_aui+set}" = set; then
8452 enableval="$enable_aui"
8453
8454 if test "$enableval" = yes; then
8455 ac_cv_use_aui='wxUSE_AUI=yes'
8456 else
8457 ac_cv_use_aui='wxUSE_AUI=no'
8458 fi
8459
8460 else
8461
8462 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
8463 if test "x$LINE" != x ; then
8464 eval "DEFAULT_$LINE"
8465 else
8466 no_cache=1
8467 fi
8468
8469 ac_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8470
8471 fi;
8472
8473 eval "$ac_cv_use_aui"
8474 if test "$no_cache" != 1; then
8475 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8476 fi
8477
8478 if test x"$enablestring" = xdisable; then
8479 if test $wxUSE_AUI = yes; then
8480 result=no
8481 else
8482 result=yes
8483 fi
8484 else
8485 result=$wxUSE_AUI
8486 fi
8487
8488 echo "$as_me:$LINENO: result: $result" >&5
8489 echo "${ECHO_T}$result" >&6
8490
8491
8492 enablestring=
8493 defaultval=$wxUSE_ALL_FEATURES
8494 if test -z"$defaultval"; then
8495 if test x"$enablestring" = xdisable; then
8496 defaultval=yes
8497 else
8498 defaultval=no
8499 fi
8500 fi
8501
8502 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8503 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6
8504 no_cache=0
8505 # Check whether --enable-stc or --disable-stc was given.
8506 if test "${enable_stc+set}" = set; then
8507 enableval="$enable_stc"
8508
8509 if test "$enableval" = yes; then
8510 ac_cv_use_stc='wxUSE_STC=yes'
8511 else
8512 ac_cv_use_stc='wxUSE_STC=no'
8513 fi
8514
8515 else
8516
8517 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
8518 if test "x$LINE" != x ; then
8519 eval "DEFAULT_$LINE"
8520 else
8521 no_cache=1
8522 fi
8523
8524 ac_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8525
8526 fi;
8527
8528 eval "$ac_cv_use_stc"
8529 if test "$no_cache" != 1; then
8530 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8531 fi
8532
8533 if test x"$enablestring" = xdisable; then
8534 if test $wxUSE_STC = yes; then
8535 result=no
8536 else
8537 result=yes
8538 fi
8539 else
8540 result=$wxUSE_STC
8541 fi
8542
8543 echo "$as_me:$LINENO: result: $result" >&5
8544 echo "${ECHO_T}$result" >&6
8545
8546
8547 enablestring=
8548 defaultval=$wxUSE_ALL_FEATURES
8549 if test -z"$defaultval"; then
8550 if test x"$enablestring" = xdisable; then
8551 defaultval=yes
8552 else
8553 defaultval=no
8554 fi
8555 fi
8556
8557 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8558 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
8559 no_cache=0
8560 # Check whether --enable-constraints or --disable-constraints was given.
8561 if test "${enable_constraints+set}" = set; then
8562 enableval="$enable_constraints"
8563
8564 if test "$enableval" = yes; then
8565 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8566 else
8567 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8568 fi
8569
8570 else
8571
8572 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
8573 if test "x$LINE" != x ; then
8574 eval "DEFAULT_$LINE"
8575 else
8576 no_cache=1
8577 fi
8578
8579 ac_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8580
8581 fi;
8582
8583 eval "$ac_cv_use_constraints"
8584 if test "$no_cache" != 1; then
8585 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8586 fi
8587
8588 if test x"$enablestring" = xdisable; then
8589 if test $wxUSE_CONSTRAINTS = yes; then
8590 result=no
8591 else
8592 result=yes
8593 fi
8594 else
8595 result=$wxUSE_CONSTRAINTS
8596 fi
8597
8598 echo "$as_me:$LINENO: result: $result" >&5
8599 echo "${ECHO_T}$result" >&6
8600
8601
8602 enablestring=
8603 defaultval=$wxUSE_ALL_FEATURES
8604 if test -z"$defaultval"; then
8605 if test x"$enablestring" = xdisable; then
8606 defaultval=yes
8607 else
8608 defaultval=no
8609 fi
8610 fi
8611
8612 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8613 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
8614 no_cache=0
8615 # Check whether --enable-printarch or --disable-printarch was given.
8616 if test "${enable_printarch+set}" = set; then
8617 enableval="$enable_printarch"
8618
8619 if test "$enableval" = yes; then
8620 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8621 else
8622 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8623 fi
8624
8625 else
8626
8627 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
8628 if test "x$LINE" != x ; then
8629 eval "DEFAULT_$LINE"
8630 else
8631 no_cache=1
8632 fi
8633
8634 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8635
8636 fi;
8637
8638 eval "$ac_cv_use_printarch"
8639 if test "$no_cache" != 1; then
8640 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8641 fi
8642
8643 if test x"$enablestring" = xdisable; then
8644 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8645 result=no
8646 else
8647 result=yes
8648 fi
8649 else
8650 result=$wxUSE_PRINTING_ARCHITECTURE
8651 fi
8652
8653 echo "$as_me:$LINENO: result: $result" >&5
8654 echo "${ECHO_T}$result" >&6
8655
8656
8657 enablestring=
8658 defaultval=$wxUSE_ALL_FEATURES
8659 if test -z"$defaultval"; then
8660 if test x"$enablestring" = xdisable; then
8661 defaultval=yes
8662 else
8663 defaultval=no
8664 fi
8665 fi
8666
8667 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8668 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
8669 no_cache=0
8670 # Check whether --enable-mdi or --disable-mdi was given.
8671 if test "${enable_mdi+set}" = set; then
8672 enableval="$enable_mdi"
8673
8674 if test "$enableval" = yes; then
8675 ac_cv_use_mdi='wxUSE_MDI=yes'
8676 else
8677 ac_cv_use_mdi='wxUSE_MDI=no'
8678 fi
8679
8680 else
8681
8682 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
8683 if test "x$LINE" != x ; then
8684 eval "DEFAULT_$LINE"
8685 else
8686 no_cache=1
8687 fi
8688
8689 ac_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8690
8691 fi;
8692
8693 eval "$ac_cv_use_mdi"
8694 if test "$no_cache" != 1; then
8695 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8696 fi
8697
8698 if test x"$enablestring" = xdisable; then
8699 if test $wxUSE_MDI = yes; then
8700 result=no
8701 else
8702 result=yes
8703 fi
8704 else
8705 result=$wxUSE_MDI
8706 fi
8707
8708 echo "$as_me:$LINENO: result: $result" >&5
8709 echo "${ECHO_T}$result" >&6
8710
8711
8712 enablestring=
8713 defaultval=$wxUSE_ALL_FEATURES
8714 if test -z"$defaultval"; then
8715 if test x"$enablestring" = xdisable; then
8716 defaultval=yes
8717 else
8718 defaultval=no
8719 fi
8720 fi
8721
8722 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8723 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
8724 no_cache=0
8725 # Check whether --enable-mdidoc or --disable-mdidoc was given.
8726 if test "${enable_mdidoc+set}" = set; then
8727 enableval="$enable_mdidoc"
8728
8729 if test "$enableval" = yes; then
8730 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8731 else
8732 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8733 fi
8734
8735 else
8736
8737 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
8738 if test "x$LINE" != x ; then
8739 eval "DEFAULT_$LINE"
8740 else
8741 no_cache=1
8742 fi
8743
8744 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8745
8746 fi;
8747
8748 eval "$ac_cv_use_mdidoc"
8749 if test "$no_cache" != 1; then
8750 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8751 fi
8752
8753 if test x"$enablestring" = xdisable; then
8754 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8755 result=no
8756 else
8757 result=yes
8758 fi
8759 else
8760 result=$wxUSE_MDI_ARCHITECTURE
8761 fi
8762
8763 echo "$as_me:$LINENO: result: $result" >&5
8764 echo "${ECHO_T}$result" >&6
8765
8766
8767 enablestring=
8768 defaultval=$wxUSE_ALL_FEATURES
8769 if test -z"$defaultval"; then
8770 if test x"$enablestring" = xdisable; then
8771 defaultval=yes
8772 else
8773 defaultval=no
8774 fi
8775 fi
8776
8777 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8778 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
8779 no_cache=0
8780 # Check whether --enable-loggui or --disable-loggui was given.
8781 if test "${enable_loggui+set}" = set; then
8782 enableval="$enable_loggui"
8783
8784 if test "$enableval" = yes; then
8785 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8786 else
8787 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8788 fi
8789
8790 else
8791
8792 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
8793 if test "x$LINE" != x ; then
8794 eval "DEFAULT_$LINE"
8795 else
8796 no_cache=1
8797 fi
8798
8799 ac_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8800
8801 fi;
8802
8803 eval "$ac_cv_use_loggui"
8804 if test "$no_cache" != 1; then
8805 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8806 fi
8807
8808 if test x"$enablestring" = xdisable; then
8809 if test $wxUSE_LOGGUI = yes; then
8810 result=no
8811 else
8812 result=yes
8813 fi
8814 else
8815 result=$wxUSE_LOGGUI
8816 fi
8817
8818 echo "$as_me:$LINENO: result: $result" >&5
8819 echo "${ECHO_T}$result" >&6
8820
8821
8822 enablestring=
8823 defaultval=$wxUSE_ALL_FEATURES
8824 if test -z"$defaultval"; then
8825 if test x"$enablestring" = xdisable; then
8826 defaultval=yes
8827 else
8828 defaultval=no
8829 fi
8830 fi
8831
8832 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8833 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
8834 no_cache=0
8835 # Check whether --enable-logwin or --disable-logwin was given.
8836 if test "${enable_logwin+set}" = set; then
8837 enableval="$enable_logwin"
8838
8839 if test "$enableval" = yes; then
8840 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8841 else
8842 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8843 fi
8844
8845 else
8846
8847 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
8848 if test "x$LINE" != x ; then
8849 eval "DEFAULT_$LINE"
8850 else
8851 no_cache=1
8852 fi
8853
8854 ac_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8855
8856 fi;
8857
8858 eval "$ac_cv_use_logwin"
8859 if test "$no_cache" != 1; then
8860 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8861 fi
8862
8863 if test x"$enablestring" = xdisable; then
8864 if test $wxUSE_LOGWINDOW = yes; then
8865 result=no
8866 else
8867 result=yes
8868 fi
8869 else
8870 result=$wxUSE_LOGWINDOW
8871 fi
8872
8873 echo "$as_me:$LINENO: result: $result" >&5
8874 echo "${ECHO_T}$result" >&6
8875
8876
8877 enablestring=
8878 defaultval=$wxUSE_ALL_FEATURES
8879 if test -z"$defaultval"; then
8880 if test x"$enablestring" = xdisable; then
8881 defaultval=yes
8882 else
8883 defaultval=no
8884 fi
8885 fi
8886
8887 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8888 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
8889 no_cache=0
8890 # Check whether --enable-logdialog or --disable-logdialog was given.
8891 if test "${enable_logdialog+set}" = set; then
8892 enableval="$enable_logdialog"
8893
8894 if test "$enableval" = yes; then
8895 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8896 else
8897 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8898 fi
8899
8900 else
8901
8902 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
8903 if test "x$LINE" != x ; then
8904 eval "DEFAULT_$LINE"
8905 else
8906 no_cache=1
8907 fi
8908
8909 ac_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8910
8911 fi;
8912
8913 eval "$ac_cv_use_logdialog"
8914 if test "$no_cache" != 1; then
8915 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8916 fi
8917
8918 if test x"$enablestring" = xdisable; then
8919 if test $wxUSE_LOGDIALOG = yes; then
8920 result=no
8921 else
8922 result=yes
8923 fi
8924 else
8925 result=$wxUSE_LOGDIALOG
8926 fi
8927
8928 echo "$as_me:$LINENO: result: $result" >&5
8929 echo "${ECHO_T}$result" >&6
8930
8931
8932 enablestring=
8933 defaultval=$wxUSE_ALL_FEATURES
8934 if test -z"$defaultval"; then
8935 if test x"$enablestring" = xdisable; then
8936 defaultval=yes
8937 else
8938 defaultval=no
8939 fi
8940 fi
8941
8942 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8943 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
8944 no_cache=0
8945 # Check whether --enable-webkit or --disable-webkit was given.
8946 if test "${enable_webkit+set}" = set; then
8947 enableval="$enable_webkit"
8948
8949 if test "$enableval" = yes; then
8950 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8951 else
8952 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8953 fi
8954
8955 else
8956
8957 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
8958 if test "x$LINE" != x ; then
8959 eval "DEFAULT_$LINE"
8960 else
8961 no_cache=1
8962 fi
8963
8964 ac_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8965
8966 fi;
8967
8968 eval "$ac_cv_use_webkit"
8969 if test "$no_cache" != 1; then
8970 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8971 fi
8972
8973 if test x"$enablestring" = xdisable; then
8974 if test $wxUSE_WEBKIT = yes; then
8975 result=no
8976 else
8977 result=yes
8978 fi
8979 else
8980 result=$wxUSE_WEBKIT
8981 fi
8982
8983 echo "$as_me:$LINENO: result: $result" >&5
8984 echo "${ECHO_T}$result" >&6
8985
8986
8987 enablestring=
8988 defaultval=$wxUSE_ALL_FEATURES
8989 if test -z"$defaultval"; then
8990 if test x"$enablestring" = xdisable; then
8991 defaultval=yes
8992 else
8993 defaultval=no
8994 fi
8995 fi
8996
8997 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8998 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
8999 no_cache=0
9000 # Check whether --enable-richtext or --disable-richtext was given.
9001 if test "${enable_richtext+set}" = set; then
9002 enableval="$enable_richtext"
9003
9004 if test "$enableval" = yes; then
9005 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
9006 else
9007 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
9008 fi
9009
9010 else
9011
9012 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9013 if test "x$LINE" != x ; then
9014 eval "DEFAULT_$LINE"
9015 else
9016 no_cache=1
9017 fi
9018
9019 ac_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9020
9021 fi;
9022
9023 eval "$ac_cv_use_richtext"
9024 if test "$no_cache" != 1; then
9025 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
9026 fi
9027
9028 if test x"$enablestring" = xdisable; then
9029 if test $wxUSE_RICHTEXT = yes; then
9030 result=no
9031 else
9032 result=yes
9033 fi
9034 else
9035 result=$wxUSE_RICHTEXT
9036 fi
9037
9038 echo "$as_me:$LINENO: result: $result" >&5
9039 echo "${ECHO_T}$result" >&6
9040
9041
9042 enablestring=
9043 defaultval=$wxUSE_ALL_FEATURES
9044 if test -z"$defaultval"; then
9045 if test x"$enablestring" = xdisable; then
9046 defaultval=yes
9047 else
9048 defaultval=no
9049 fi
9050 fi
9051
9052 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9053 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
9054 no_cache=0
9055 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
9056 if test "${enable_graphics_ctx+set}" = set; then
9057 enableval="$enable_graphics_ctx"
9058
9059 if test "$enableval" = yes; then
9060 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9061 else
9062 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9063 fi
9064
9065 else
9066
9067 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
9068 if test "x$LINE" != x ; then
9069 eval "DEFAULT_$LINE"
9070 else
9071 no_cache=1
9072 fi
9073
9074 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9075
9076 fi;
9077
9078 eval "$ac_cv_use_graphics_ctx"
9079 if test "$no_cache" != 1; then
9080 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
9081 fi
9082
9083 if test x"$enablestring" = xdisable; then
9084 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9085 result=no
9086 else
9087 result=yes
9088 fi
9089 else
9090 result=$wxUSE_GRAPHICS_CONTEXT
9091 fi
9092
9093 echo "$as_me:$LINENO: result: $result" >&5
9094 echo "${ECHO_T}$result" >&6
9095
9096
9097 enablestring=
9098 defaultval=$wxUSE_ALL_FEATURES
9099 if test -z"$defaultval"; then
9100 if test x"$enablestring" = xdisable; then
9101 defaultval=yes
9102 else
9103 defaultval=no
9104 fi
9105 fi
9106
9107 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9108 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
9109 no_cache=0
9110 # Check whether --enable-postscript or --disable-postscript was given.
9111 if test "${enable_postscript+set}" = set; then
9112 enableval="$enable_postscript"
9113
9114 if test "$enableval" = yes; then
9115 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9116 else
9117 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9118 fi
9119
9120 else
9121
9122 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9123 if test "x$LINE" != x ; then
9124 eval "DEFAULT_$LINE"
9125 else
9126 no_cache=1
9127 fi
9128
9129 ac_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9130
9131 fi;
9132
9133 eval "$ac_cv_use_postscript"
9134 if test "$no_cache" != 1; then
9135 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
9136 fi
9137
9138 if test x"$enablestring" = xdisable; then
9139 if test $wxUSE_POSTSCRIPT = yes; then
9140 result=no
9141 else
9142 result=yes
9143 fi
9144 else
9145 result=$wxUSE_POSTSCRIPT
9146 fi
9147
9148 echo "$as_me:$LINENO: result: $result" >&5
9149 echo "${ECHO_T}$result" >&6
9150
9151
9152 enablestring=
9153 defaultval=$wxUSE_ALL_FEATURES
9154 if test -z"$defaultval"; then
9155 if test x"$enablestring" = xdisable; then
9156 defaultval=yes
9157 else
9158 defaultval=no
9159 fi
9160 fi
9161
9162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9163 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6
9164 no_cache=0
9165 # Check whether --enable-svg or --disable-svg was given.
9166 if test "${enable_svg+set}" = set; then
9167 enableval="$enable_svg"
9168
9169 if test "$enableval" = yes; then
9170 ac_cv_use_svg='wxUSE_SVG=yes'
9171 else
9172 ac_cv_use_svg='wxUSE_SVG=no'
9173 fi
9174
9175 else
9176
9177 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
9178 if test "x$LINE" != x ; then
9179 eval "DEFAULT_$LINE"
9180 else
9181 no_cache=1
9182 fi
9183
9184 ac_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9185
9186 fi;
9187
9188 eval "$ac_cv_use_svg"
9189 if test "$no_cache" != 1; then
9190 echo $ac_cv_use_svg >> ${wx_arg_cache_file}.tmp
9191 fi
9192
9193 if test x"$enablestring" = xdisable; then
9194 if test $wxUSE_SVG = yes; then
9195 result=no
9196 else
9197 result=yes
9198 fi
9199 else
9200 result=$wxUSE_SVG
9201 fi
9202
9203 echo "$as_me:$LINENO: result: $result" >&5
9204 echo "${ECHO_T}$result" >&6
9205
9206
9207
9208
9209 enablestring=
9210 defaultval=$wxUSE_ALL_FEATURES
9211 if test -z"$defaultval"; then
9212 if test x"$enablestring" = xdisable; then
9213 defaultval=yes
9214 else
9215 defaultval=no
9216 fi
9217 fi
9218
9219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9220 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
9221 no_cache=0
9222 # Check whether --enable-clipboard or --disable-clipboard was given.
9223 if test "${enable_clipboard+set}" = set; then
9224 enableval="$enable_clipboard"
9225
9226 if test "$enableval" = yes; then
9227 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9228 else
9229 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9230 fi
9231
9232 else
9233
9234 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
9235 if test "x$LINE" != x ; then
9236 eval "DEFAULT_$LINE"
9237 else
9238 no_cache=1
9239 fi
9240
9241 ac_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9242
9243 fi;
9244
9245 eval "$ac_cv_use_clipboard"
9246 if test "$no_cache" != 1; then
9247 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
9248 fi
9249
9250 if test x"$enablestring" = xdisable; then
9251 if test $wxUSE_CLIPBOARD = yes; then
9252 result=no
9253 else
9254 result=yes
9255 fi
9256 else
9257 result=$wxUSE_CLIPBOARD
9258 fi
9259
9260 echo "$as_me:$LINENO: result: $result" >&5
9261 echo "${ECHO_T}$result" >&6
9262
9263
9264 enablestring=
9265 defaultval=$wxUSE_ALL_FEATURES
9266 if test -z"$defaultval"; then
9267 if test x"$enablestring" = xdisable; then
9268 defaultval=yes
9269 else
9270 defaultval=no
9271 fi
9272 fi
9273
9274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9275 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
9276 no_cache=0
9277 # Check whether --enable-dnd or --disable-dnd was given.
9278 if test "${enable_dnd+set}" = set; then
9279 enableval="$enable_dnd"
9280
9281 if test "$enableval" = yes; then
9282 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9283 else
9284 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9285 fi
9286
9287 else
9288
9289 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
9290 if test "x$LINE" != x ; then
9291 eval "DEFAULT_$LINE"
9292 else
9293 no_cache=1
9294 fi
9295
9296 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9297
9298 fi;
9299
9300 eval "$ac_cv_use_dnd"
9301 if test "$no_cache" != 1; then
9302 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
9303 fi
9304
9305 if test x"$enablestring" = xdisable; then
9306 if test $wxUSE_DRAG_AND_DROP = yes; then
9307 result=no
9308 else
9309 result=yes
9310 fi
9311 else
9312 result=$wxUSE_DRAG_AND_DROP
9313 fi
9314
9315 echo "$as_me:$LINENO: result: $result" >&5
9316 echo "${ECHO_T}$result" >&6
9317
9318
9319 enablestring=
9320 defaultval=$wxUSE_ALL_FEATURES
9321 if test -z"$defaultval"; then
9322 if test x"$enablestring" = xdisable; then
9323 defaultval=yes
9324 else
9325 defaultval=no
9326 fi
9327 fi
9328
9329 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9330 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
9331 no_cache=0
9332 # Check whether --enable-metafile or --disable-metafile was given.
9333 if test "${enable_metafile+set}" = set; then
9334 enableval="$enable_metafile"
9335
9336 if test "$enableval" = yes; then
9337 ac_cv_use_metafile='wxUSE_METAFILE=yes'
9338 else
9339 ac_cv_use_metafile='wxUSE_METAFILE=no'
9340 fi
9341
9342 else
9343
9344 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
9345 if test "x$LINE" != x ; then
9346 eval "DEFAULT_$LINE"
9347 else
9348 no_cache=1
9349 fi
9350
9351 ac_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9352
9353 fi;
9354
9355 eval "$ac_cv_use_metafile"
9356 if test "$no_cache" != 1; then
9357 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
9358 fi
9359
9360 if test x"$enablestring" = xdisable; then
9361 if test $wxUSE_METAFILE = yes; then
9362 result=no
9363 else
9364 result=yes
9365 fi
9366 else
9367 result=$wxUSE_METAFILE
9368 fi
9369
9370 echo "$as_me:$LINENO: result: $result" >&5
9371 echo "${ECHO_T}$result" >&6
9372
9373
9374
9375
9376 enablestring=
9377 defaultval=$wxUSE_ALL_FEATURES
9378 if test -z"$defaultval"; then
9379 if test x"$enablestring" = xdisable; then
9380 defaultval=yes
9381 else
9382 defaultval=no
9383 fi
9384 fi
9385
9386 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9387 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
9388 no_cache=0
9389 # Check whether --enable-controls or --disable-controls was given.
9390 if test "${enable_controls+set}" = set; then
9391 enableval="$enable_controls"
9392
9393 if test "$enableval" = yes; then
9394 ac_cv_use_controls='wxUSE_CONTROLS=yes'
9395 else
9396 ac_cv_use_controls='wxUSE_CONTROLS=no'
9397 fi
9398
9399 else
9400
9401 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
9402 if test "x$LINE" != x ; then
9403 eval "DEFAULT_$LINE"
9404 else
9405 no_cache=1
9406 fi
9407
9408 ac_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9409
9410 fi;
9411
9412 eval "$ac_cv_use_controls"
9413 if test "$no_cache" != 1; then
9414 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
9415 fi
9416
9417 if test x"$enablestring" = xdisable; then
9418 if test $wxUSE_CONTROLS = yes; then
9419 result=no
9420 else
9421 result=yes
9422 fi
9423 else
9424 result=$wxUSE_CONTROLS
9425 fi
9426
9427 echo "$as_me:$LINENO: result: $result" >&5
9428 echo "${ECHO_T}$result" >&6
9429
9430
9431 if test "$wxUSE_CONTROLS" = "yes"; then
9432 DEFAULT_wxUSE_ACCEL=yes
9433 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9434 DEFAULT_wxUSE_BMPBUTTON=yes
9435 DEFAULT_wxUSE_BUTTON=yes
9436 DEFAULT_wxUSE_CALCTRL=yes
9437 DEFAULT_wxUSE_CARET=yes
9438 DEFAULT_wxUSE_COMBOBOX=yes
9439 DEFAULT_wxUSE_CHECKBOX=yes
9440 DEFAULT_wxUSE_CHECKLISTBOX=yes
9441 DEFAULT_wxUSE_CHOICE=yes
9442 DEFAULT_wxUSE_CHOICEBOOK=yes
9443 DEFAULT_wxUSE_COLLPANE=yes
9444 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9445 DEFAULT_wxUSE_COMBOBOX=yes
9446 DEFAULT_wxUSE_DATEPICKCTRL=yes
9447 DEFAULT_wxUSE_DISPLAY=yes
9448 DEFAULT_wxUSE_DETECT_SM=yes
9449 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9450 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9451 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9452 DEFAULT_wxUSE_GAUGE=yes
9453 DEFAULT_wxUSE_GRID=yes
9454 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9455 DEFAULT_wxUSE_DATAVIEWCTRL=no
9456 DEFAULT_wxUSE_IMAGLIST=yes
9457 DEFAULT_wxUSE_LISTBOOK=yes
9458 DEFAULT_wxUSE_LISTBOX=yes
9459 DEFAULT_wxUSE_LISTCTRL=yes
9460 DEFAULT_wxUSE_NOTEBOOK=yes
9461 DEFAULT_wxUSE_RADIOBOX=yes
9462 DEFAULT_wxUSE_RADIOBTN=yes
9463 DEFAULT_wxUSE_SASH=yes
9464 DEFAULT_wxUSE_SCROLLBAR=yes
9465 DEFAULT_wxUSE_SEARCHCTRL=yes
9466 DEFAULT_wxUSE_SLIDER=yes
9467 DEFAULT_wxUSE_SPINBTN=yes
9468 DEFAULT_wxUSE_SPINCTRL=yes
9469 DEFAULT_wxUSE_SPLITTER=yes
9470 DEFAULT_wxUSE_STATBMP=yes
9471 DEFAULT_wxUSE_STATBOX=yes
9472 DEFAULT_wxUSE_STATLINE=yes
9473 DEFAULT_wxUSE_STATUSBAR=yes
9474 DEFAULT_wxUSE_TAB_DIALOG=yes
9475 DEFAULT_wxUSE_TOGGLEBTN=yes
9476 DEFAULT_wxUSE_TOOLBAR=yes
9477 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9478 DEFAULT_wxUSE_TOOLTIPS=yes
9479 DEFAULT_wxUSE_TREEBOOK=yes
9480 DEFAULT_wxUSE_TOOLBOOK=yes
9481 DEFAULT_wxUSE_TREECTRL=yes
9482 DEFAULT_wxUSE_POPUPWIN=yes
9483 DEFAULT_wxUSE_TIPWINDOW=yes
9484 elif test "$wxUSE_CONTROLS" = "no"; then
9485 DEFAULT_wxUSE_ACCEL=no
9486 DEFAULT_wxUSE_ANIMATIONCTRL=no
9487 DEFAULT_wxUSE_BMPBUTTON=no
9488 DEFAULT_wxUSE_BUTTON=no
9489 DEFAULT_wxUSE_CALCTRL=no
9490 DEFAULT_wxUSE_CARET=no
9491 DEFAULT_wxUSE_COLLPANE=no
9492 DEFAULT_wxUSE_COMBOBOX=no
9493 DEFAULT_wxUSE_CHECKBOX=no
9494 DEFAULT_wxUSE_CHECKLISTBOX=no
9495 DEFAULT_wxUSE_CHOICE=no
9496 DEFAULT_wxUSE_CHOICEBOOK=no
9497 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9498 DEFAULT_wxUSE_COMBOBOX=no
9499 DEFAULT_wxUSE_DATEPICKCTRL=no
9500 DEFAULT_wxUSE_DISPLAY=no
9501 DEFAULT_wxUSE_DETECT_SM=no
9502 DEFAULT_wxUSE_DIRPICKERCTRL=no
9503 DEFAULT_wxUSE_FILEPICKERCTRL=no
9504 DEFAULT_wxUSE_FONTPICKERCTRL=no
9505 DEFAULT_wxUSE_GAUGE=no
9506 DEFAULT_wxUSE_GRID=no
9507 DEFAULT_wxUSE_HYPERLINKCTRL=no
9508 DEFAULT_wxUSE_DATAVIEWCTRL=no
9509 DEFAULT_wxUSE_IMAGLIST=no
9510 DEFAULT_wxUSE_LISTBOOK=no
9511 DEFAULT_wxUSE_LISTBOX=no
9512 DEFAULT_wxUSE_LISTCTRL=no
9513 DEFAULT_wxUSE_NOTEBOOK=no
9514 DEFAULT_wxUSE_RADIOBOX=no
9515 DEFAULT_wxUSE_RADIOBTN=no
9516 DEFAULT_wxUSE_SASH=no
9517 DEFAULT_wxUSE_SCROLLBAR=no
9518 DEFAULT_wxUSE_SEARCHCTRL=no
9519 DEFAULT_wxUSE_SLIDER=no
9520 DEFAULT_wxUSE_SPINBTN=no
9521 DEFAULT_wxUSE_SPINCTRL=no
9522 DEFAULT_wxUSE_SPLITTER=no
9523 DEFAULT_wxUSE_STATBMP=no
9524 DEFAULT_wxUSE_STATBOX=no
9525 DEFAULT_wxUSE_STATLINE=no
9526 DEFAULT_wxUSE_STATUSBAR=no
9527 DEFAULT_wxUSE_TAB_DIALOG=no
9528 DEFAULT_wxUSE_TOGGLEBTN=no
9529 DEFAULT_wxUSE_TOOLBAR=no
9530 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9531 DEFAULT_wxUSE_TOOLTIPS=no
9532 DEFAULT_wxUSE_TREEBOOK=no
9533 DEFAULT_wxUSE_TOOLBOOK=no
9534 DEFAULT_wxUSE_TREECTRL=no
9535 DEFAULT_wxUSE_POPUPWIN=no
9536 DEFAULT_wxUSE_TIPWINDOW=no
9537 fi
9538
9539
9540 enablestring=
9541 defaultval=$wxUSE_ALL_FEATURES
9542 if test -z"$defaultval"; then
9543 if test x"$enablestring" = xdisable; then
9544 defaultval=yes
9545 else
9546 defaultval=no
9547 fi
9548 fi
9549
9550 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9551 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
9552 no_cache=0
9553 # Check whether --enable-accel or --disable-accel was given.
9554 if test "${enable_accel+set}" = set; then
9555 enableval="$enable_accel"
9556
9557 if test "$enableval" = yes; then
9558 ac_cv_use_accel='wxUSE_ACCEL=yes'
9559 else
9560 ac_cv_use_accel='wxUSE_ACCEL=no'
9561 fi
9562
9563 else
9564
9565 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
9566 if test "x$LINE" != x ; then
9567 eval "DEFAULT_$LINE"
9568 else
9569 no_cache=1
9570 fi
9571
9572 ac_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9573
9574 fi;
9575
9576 eval "$ac_cv_use_accel"
9577 if test "$no_cache" != 1; then
9578 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
9579 fi
9580
9581 if test x"$enablestring" = xdisable; then
9582 if test $wxUSE_ACCEL = yes; then
9583 result=no
9584 else
9585 result=yes
9586 fi
9587 else
9588 result=$wxUSE_ACCEL
9589 fi
9590
9591 echo "$as_me:$LINENO: result: $result" >&5
9592 echo "${ECHO_T}$result" >&6
9593
9594
9595 enablestring=
9596 defaultval=$wxUSE_ALL_FEATURES
9597 if test -z"$defaultval"; then
9598 if test x"$enablestring" = xdisable; then
9599 defaultval=yes
9600 else
9601 defaultval=no
9602 fi
9603 fi
9604
9605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9606 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
9607 no_cache=0
9608 # Check whether --enable-animatectrl or --disable-animatectrl was given.
9609 if test "${enable_animatectrl+set}" = set; then
9610 enableval="$enable_animatectrl"
9611
9612 if test "$enableval" = yes; then
9613 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9614 else
9615 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9616 fi
9617
9618 else
9619
9620 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
9621 if test "x$LINE" != x ; then
9622 eval "DEFAULT_$LINE"
9623 else
9624 no_cache=1
9625 fi
9626
9627 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9628
9629 fi;
9630
9631 eval "$ac_cv_use_animatectrl"
9632 if test "$no_cache" != 1; then
9633 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
9634 fi
9635
9636 if test x"$enablestring" = xdisable; then
9637 if test $wxUSE_ANIMATIONCTRL = yes; then
9638 result=no
9639 else
9640 result=yes
9641 fi
9642 else
9643 result=$wxUSE_ANIMATIONCTRL
9644 fi
9645
9646 echo "$as_me:$LINENO: result: $result" >&5
9647 echo "${ECHO_T}$result" >&6
9648
9649
9650 enablestring=
9651 defaultval=$wxUSE_ALL_FEATURES
9652 if test -z"$defaultval"; then
9653 if test x"$enablestring" = xdisable; then
9654 defaultval=yes
9655 else
9656 defaultval=no
9657 fi
9658 fi
9659
9660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9661 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
9662 no_cache=0
9663 # Check whether --enable-button or --disable-button was given.
9664 if test "${enable_button+set}" = set; then
9665 enableval="$enable_button"
9666
9667 if test "$enableval" = yes; then
9668 ac_cv_use_button='wxUSE_BUTTON=yes'
9669 else
9670 ac_cv_use_button='wxUSE_BUTTON=no'
9671 fi
9672
9673 else
9674
9675 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
9676 if test "x$LINE" != x ; then
9677 eval "DEFAULT_$LINE"
9678 else
9679 no_cache=1
9680 fi
9681
9682 ac_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9683
9684 fi;
9685
9686 eval "$ac_cv_use_button"
9687 if test "$no_cache" != 1; then
9688 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
9689 fi
9690
9691 if test x"$enablestring" = xdisable; then
9692 if test $wxUSE_BUTTON = yes; then
9693 result=no
9694 else
9695 result=yes
9696 fi
9697 else
9698 result=$wxUSE_BUTTON
9699 fi
9700
9701 echo "$as_me:$LINENO: result: $result" >&5
9702 echo "${ECHO_T}$result" >&6
9703
9704
9705 enablestring=
9706 defaultval=$wxUSE_ALL_FEATURES
9707 if test -z"$defaultval"; then
9708 if test x"$enablestring" = xdisable; then
9709 defaultval=yes
9710 else
9711 defaultval=no
9712 fi
9713 fi
9714
9715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9716 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
9717 no_cache=0
9718 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
9719 if test "${enable_bmpbutton+set}" = set; then
9720 enableval="$enable_bmpbutton"
9721
9722 if test "$enableval" = yes; then
9723 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9724 else
9725 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9726 fi
9727
9728 else
9729
9730 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
9731 if test "x$LINE" != x ; then
9732 eval "DEFAULT_$LINE"
9733 else
9734 no_cache=1
9735 fi
9736
9737 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9738
9739 fi;
9740
9741 eval "$ac_cv_use_bmpbutton"
9742 if test "$no_cache" != 1; then
9743 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
9744 fi
9745
9746 if test x"$enablestring" = xdisable; then
9747 if test $wxUSE_BMPBUTTON = yes; then
9748 result=no
9749 else
9750 result=yes
9751 fi
9752 else
9753 result=$wxUSE_BMPBUTTON
9754 fi
9755
9756 echo "$as_me:$LINENO: result: $result" >&5
9757 echo "${ECHO_T}$result" >&6
9758
9759
9760 enablestring=
9761 defaultval=$wxUSE_ALL_FEATURES
9762 if test -z"$defaultval"; then
9763 if test x"$enablestring" = xdisable; then
9764 defaultval=yes
9765 else
9766 defaultval=no
9767 fi
9768 fi
9769
9770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9771 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
9772 no_cache=0
9773 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
9774 if test "${enable_bmpcombobox+set}" = set; then
9775 enableval="$enable_bmpcombobox"
9776
9777 if test "$enableval" = yes; then
9778 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9779 else
9780 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9781 fi
9782
9783 else
9784
9785 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
9786 if test "x$LINE" != x ; then
9787 eval "DEFAULT_$LINE"
9788 else
9789 no_cache=1
9790 fi
9791
9792 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9793
9794 fi;
9795
9796 eval "$ac_cv_use_bmpcombobox"
9797 if test "$no_cache" != 1; then
9798 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9799 fi
9800
9801 if test x"$enablestring" = xdisable; then
9802 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9803 result=no
9804 else
9805 result=yes
9806 fi
9807 else
9808 result=$wxUSE_BITMAPCOMBOBOX
9809 fi
9810
9811 echo "$as_me:$LINENO: result: $result" >&5
9812 echo "${ECHO_T}$result" >&6
9813
9814
9815 enablestring=
9816 defaultval=$wxUSE_ALL_FEATURES
9817 if test -z"$defaultval"; then
9818 if test x"$enablestring" = xdisable; then
9819 defaultval=yes
9820 else
9821 defaultval=no
9822 fi
9823 fi
9824
9825 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
9827 no_cache=0
9828 # Check whether --enable-calendar or --disable-calendar was given.
9829 if test "${enable_calendar+set}" = set; then
9830 enableval="$enable_calendar"
9831
9832 if test "$enableval" = yes; then
9833 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9834 else
9835 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9836 fi
9837
9838 else
9839
9840 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
9841 if test "x$LINE" != x ; then
9842 eval "DEFAULT_$LINE"
9843 else
9844 no_cache=1
9845 fi
9846
9847 ac_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9848
9849 fi;
9850
9851 eval "$ac_cv_use_calendar"
9852 if test "$no_cache" != 1; then
9853 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9854 fi
9855
9856 if test x"$enablestring" = xdisable; then
9857 if test $wxUSE_CALCTRL = yes; then
9858 result=no
9859 else
9860 result=yes
9861 fi
9862 else
9863 result=$wxUSE_CALCTRL
9864 fi
9865
9866 echo "$as_me:$LINENO: result: $result" >&5
9867 echo "${ECHO_T}$result" >&6
9868
9869
9870 enablestring=
9871 defaultval=$wxUSE_ALL_FEATURES
9872 if test -z"$defaultval"; then
9873 if test x"$enablestring" = xdisable; then
9874 defaultval=yes
9875 else
9876 defaultval=no
9877 fi
9878 fi
9879
9880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9881 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
9882 no_cache=0
9883 # Check whether --enable-caret or --disable-caret was given.
9884 if test "${enable_caret+set}" = set; then
9885 enableval="$enable_caret"
9886
9887 if test "$enableval" = yes; then
9888 ac_cv_use_caret='wxUSE_CARET=yes'
9889 else
9890 ac_cv_use_caret='wxUSE_CARET=no'
9891 fi
9892
9893 else
9894
9895 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
9896 if test "x$LINE" != x ; then
9897 eval "DEFAULT_$LINE"
9898 else
9899 no_cache=1
9900 fi
9901
9902 ac_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9903
9904 fi;
9905
9906 eval "$ac_cv_use_caret"
9907 if test "$no_cache" != 1; then
9908 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9909 fi
9910
9911 if test x"$enablestring" = xdisable; then
9912 if test $wxUSE_CARET = yes; then
9913 result=no
9914 else
9915 result=yes
9916 fi
9917 else
9918 result=$wxUSE_CARET
9919 fi
9920
9921 echo "$as_me:$LINENO: result: $result" >&5
9922 echo "${ECHO_T}$result" >&6
9923
9924
9925 enablestring=
9926 defaultval=$wxUSE_ALL_FEATURES
9927 if test -z"$defaultval"; then
9928 if test x"$enablestring" = xdisable; then
9929 defaultval=yes
9930 else
9931 defaultval=no
9932 fi
9933 fi
9934
9935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9936 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
9937 no_cache=0
9938 # Check whether --enable-checkbox or --disable-checkbox was given.
9939 if test "${enable_checkbox+set}" = set; then
9940 enableval="$enable_checkbox"
9941
9942 if test "$enableval" = yes; then
9943 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9944 else
9945 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9946 fi
9947
9948 else
9949
9950 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
9951 if test "x$LINE" != x ; then
9952 eval "DEFAULT_$LINE"
9953 else
9954 no_cache=1
9955 fi
9956
9957 ac_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9958
9959 fi;
9960
9961 eval "$ac_cv_use_checkbox"
9962 if test "$no_cache" != 1; then
9963 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9964 fi
9965
9966 if test x"$enablestring" = xdisable; then
9967 if test $wxUSE_CHECKBOX = yes; then
9968 result=no
9969 else
9970 result=yes
9971 fi
9972 else
9973 result=$wxUSE_CHECKBOX
9974 fi
9975
9976 echo "$as_me:$LINENO: result: $result" >&5
9977 echo "${ECHO_T}$result" >&6
9978
9979
9980 enablestring=
9981 defaultval=$wxUSE_ALL_FEATURES
9982 if test -z"$defaultval"; then
9983 if test x"$enablestring" = xdisable; then
9984 defaultval=yes
9985 else
9986 defaultval=no
9987 fi
9988 fi
9989
9990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9991 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
9992 no_cache=0
9993 # Check whether --enable-checklst or --disable-checklst was given.
9994 if test "${enable_checklst+set}" = set; then
9995 enableval="$enable_checklst"
9996
9997 if test "$enableval" = yes; then
9998 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9999 else
10000 ac_cv_use_checklst='wxUSE_CHECKLST=no'
10001 fi
10002
10003 else
10004
10005 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10006 if test "x$LINE" != x ; then
10007 eval "DEFAULT_$LINE"
10008 else
10009 no_cache=1
10010 fi
10011
10012 ac_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10013
10014 fi;
10015
10016 eval "$ac_cv_use_checklst"
10017 if test "$no_cache" != 1; then
10018 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
10019 fi
10020
10021 if test x"$enablestring" = xdisable; then
10022 if test $wxUSE_CHECKLST = yes; then
10023 result=no
10024 else
10025 result=yes
10026 fi
10027 else
10028 result=$wxUSE_CHECKLST
10029 fi
10030
10031 echo "$as_me:$LINENO: result: $result" >&5
10032 echo "${ECHO_T}$result" >&6
10033
10034
10035 enablestring=
10036 defaultval=$wxUSE_ALL_FEATURES
10037 if test -z"$defaultval"; then
10038 if test x"$enablestring" = xdisable; then
10039 defaultval=yes
10040 else
10041 defaultval=no
10042 fi
10043 fi
10044
10045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10046 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
10047 no_cache=0
10048 # Check whether --enable-choice or --disable-choice was given.
10049 if test "${enable_choice+set}" = set; then
10050 enableval="$enable_choice"
10051
10052 if test "$enableval" = yes; then
10053 ac_cv_use_choice='wxUSE_CHOICE=yes'
10054 else
10055 ac_cv_use_choice='wxUSE_CHOICE=no'
10056 fi
10057
10058 else
10059
10060 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10061 if test "x$LINE" != x ; then
10062 eval "DEFAULT_$LINE"
10063 else
10064 no_cache=1
10065 fi
10066
10067 ac_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10068
10069 fi;
10070
10071 eval "$ac_cv_use_choice"
10072 if test "$no_cache" != 1; then
10073 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
10074 fi
10075
10076 if test x"$enablestring" = xdisable; then
10077 if test $wxUSE_CHOICE = yes; then
10078 result=no
10079 else
10080 result=yes
10081 fi
10082 else
10083 result=$wxUSE_CHOICE
10084 fi
10085
10086 echo "$as_me:$LINENO: result: $result" >&5
10087 echo "${ECHO_T}$result" >&6
10088
10089
10090 enablestring=
10091 defaultval=$wxUSE_ALL_FEATURES
10092 if test -z"$defaultval"; then
10093 if test x"$enablestring" = xdisable; then
10094 defaultval=yes
10095 else
10096 defaultval=no
10097 fi
10098 fi
10099
10100 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10101 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
10102 no_cache=0
10103 # Check whether --enable-choicebook or --disable-choicebook was given.
10104 if test "${enable_choicebook+set}" = set; then
10105 enableval="$enable_choicebook"
10106
10107 if test "$enableval" = yes; then
10108 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10109 else
10110 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10111 fi
10112
10113 else
10114
10115 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10116 if test "x$LINE" != x ; then
10117 eval "DEFAULT_$LINE"
10118 else
10119 no_cache=1
10120 fi
10121
10122 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10123
10124 fi;
10125
10126 eval "$ac_cv_use_choicebook"
10127 if test "$no_cache" != 1; then
10128 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
10129 fi
10130
10131 if test x"$enablestring" = xdisable; then
10132 if test $wxUSE_CHOICEBOOK = yes; then
10133 result=no
10134 else
10135 result=yes
10136 fi
10137 else
10138 result=$wxUSE_CHOICEBOOK
10139 fi
10140
10141 echo "$as_me:$LINENO: result: $result" >&5
10142 echo "${ECHO_T}$result" >&6
10143
10144
10145 enablestring=
10146 defaultval=$wxUSE_ALL_FEATURES
10147 if test -z"$defaultval"; then
10148 if test x"$enablestring" = xdisable; then
10149 defaultval=yes
10150 else
10151 defaultval=no
10152 fi
10153 fi
10154
10155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
10157 no_cache=0
10158 # Check whether --enable-collpane or --disable-collpane was given.
10159 if test "${enable_collpane+set}" = set; then
10160 enableval="$enable_collpane"
10161
10162 if test "$enableval" = yes; then
10163 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
10164 else
10165 ac_cv_use_collpane='wxUSE_COLLPANE=no'
10166 fi
10167
10168 else
10169
10170 LINE=`grep "^wxUSE_COLLPANE=" ${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_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10178
10179 fi;
10180
10181 eval "$ac_cv_use_collpane"
10182 if test "$no_cache" != 1; then
10183 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
10184 fi
10185
10186 if test x"$enablestring" = xdisable; then
10187 if test $wxUSE_COLLPANE = yes; then
10188 result=no
10189 else
10190 result=yes
10191 fi
10192 else
10193 result=$wxUSE_COLLPANE
10194 fi
10195
10196 echo "$as_me:$LINENO: result: $result" >&5
10197 echo "${ECHO_T}$result" >&6
10198
10199
10200 enablestring=
10201 defaultval=$wxUSE_ALL_FEATURES
10202 if test -z"$defaultval"; then
10203 if test x"$enablestring" = xdisable; then
10204 defaultval=yes
10205 else
10206 defaultval=no
10207 fi
10208 fi
10209
10210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10211 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
10212 no_cache=0
10213 # Check whether --enable-colourpicker or --disable-colourpicker was given.
10214 if test "${enable_colourpicker+set}" = set; then
10215 enableval="$enable_colourpicker"
10216
10217 if test "$enableval" = yes; then
10218 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10219 else
10220 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10221 fi
10222
10223 else
10224
10225 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
10226 if test "x$LINE" != x ; then
10227 eval "DEFAULT_$LINE"
10228 else
10229 no_cache=1
10230 fi
10231
10232 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10233
10234 fi;
10235
10236 eval "$ac_cv_use_colourpicker"
10237 if test "$no_cache" != 1; then
10238 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
10239 fi
10240
10241 if test x"$enablestring" = xdisable; then
10242 if test $wxUSE_COLOURPICKERCTRL = yes; then
10243 result=no
10244 else
10245 result=yes
10246 fi
10247 else
10248 result=$wxUSE_COLOURPICKERCTRL
10249 fi
10250
10251 echo "$as_me:$LINENO: result: $result" >&5
10252 echo "${ECHO_T}$result" >&6
10253
10254
10255 enablestring=
10256 defaultval=$wxUSE_ALL_FEATURES
10257 if test -z"$defaultval"; then
10258 if test x"$enablestring" = xdisable; then
10259 defaultval=yes
10260 else
10261 defaultval=no
10262 fi
10263 fi
10264
10265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10266 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
10267 no_cache=0
10268 # Check whether --enable-combobox or --disable-combobox was given.
10269 if test "${enable_combobox+set}" = set; then
10270 enableval="$enable_combobox"
10271
10272 if test "$enableval" = yes; then
10273 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
10274 else
10275 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
10276 fi
10277
10278 else
10279
10280 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
10281 if test "x$LINE" != x ; then
10282 eval "DEFAULT_$LINE"
10283 else
10284 no_cache=1
10285 fi
10286
10287 ac_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10288
10289 fi;
10290
10291 eval "$ac_cv_use_combobox"
10292 if test "$no_cache" != 1; then
10293 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
10294 fi
10295
10296 if test x"$enablestring" = xdisable; then
10297 if test $wxUSE_COMBOBOX = yes; then
10298 result=no
10299 else
10300 result=yes
10301 fi
10302 else
10303 result=$wxUSE_COMBOBOX
10304 fi
10305
10306 echo "$as_me:$LINENO: result: $result" >&5
10307 echo "${ECHO_T}$result" >&6
10308
10309
10310 enablestring=
10311 defaultval=$wxUSE_ALL_FEATURES
10312 if test -z"$defaultval"; then
10313 if test x"$enablestring" = xdisable; then
10314 defaultval=yes
10315 else
10316 defaultval=no
10317 fi
10318 fi
10319
10320 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10321 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
10322 no_cache=0
10323 # Check whether --enable-comboctrl or --disable-comboctrl was given.
10324 if test "${enable_comboctrl+set}" = set; then
10325 enableval="$enable_comboctrl"
10326
10327 if test "$enableval" = yes; then
10328 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10329 else
10330 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10331 fi
10332
10333 else
10334
10335 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
10336 if test "x$LINE" != x ; then
10337 eval "DEFAULT_$LINE"
10338 else
10339 no_cache=1
10340 fi
10341
10342 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10343
10344 fi;
10345
10346 eval "$ac_cv_use_comboctrl"
10347 if test "$no_cache" != 1; then
10348 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
10349 fi
10350
10351 if test x"$enablestring" = xdisable; then
10352 if test $wxUSE_COMBOCTRL = yes; then
10353 result=no
10354 else
10355 result=yes
10356 fi
10357 else
10358 result=$wxUSE_COMBOCTRL
10359 fi
10360
10361 echo "$as_me:$LINENO: result: $result" >&5
10362 echo "${ECHO_T}$result" >&6
10363
10364
10365 enablestring=
10366 defaultval=$wxUSE_ALL_FEATURES
10367 if test -z"$defaultval"; then
10368 if test x"$enablestring" = xdisable; then
10369 defaultval=yes
10370 else
10371 defaultval=no
10372 fi
10373 fi
10374
10375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10376 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
10377 no_cache=0
10378 # Check whether --enable-datepick or --disable-datepick was given.
10379 if test "${enable_datepick+set}" = set; then
10380 enableval="$enable_datepick"
10381
10382 if test "$enableval" = yes; then
10383 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10384 else
10385 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10386 fi
10387
10388 else
10389
10390 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
10391 if test "x$LINE" != x ; then
10392 eval "DEFAULT_$LINE"
10393 else
10394 no_cache=1
10395 fi
10396
10397 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10398
10399 fi;
10400
10401 eval "$ac_cv_use_datepick"
10402 if test "$no_cache" != 1; then
10403 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
10404 fi
10405
10406 if test x"$enablestring" = xdisable; then
10407 if test $wxUSE_DATEPICKCTRL = yes; then
10408 result=no
10409 else
10410 result=yes
10411 fi
10412 else
10413 result=$wxUSE_DATEPICKCTRL
10414 fi
10415
10416 echo "$as_me:$LINENO: result: $result" >&5
10417 echo "${ECHO_T}$result" >&6
10418
10419
10420 enablestring=
10421 defaultval=$wxUSE_ALL_FEATURES
10422 if test -z"$defaultval"; then
10423 if test x"$enablestring" = xdisable; then
10424 defaultval=yes
10425 else
10426 defaultval=no
10427 fi
10428 fi
10429
10430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10431 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
10432 no_cache=0
10433 # Check whether --enable-dirpicker or --disable-dirpicker was given.
10434 if test "${enable_dirpicker+set}" = set; then
10435 enableval="$enable_dirpicker"
10436
10437 if test "$enableval" = yes; then
10438 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10439 else
10440 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10441 fi
10442
10443 else
10444
10445 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
10446 if test "x$LINE" != x ; then
10447 eval "DEFAULT_$LINE"
10448 else
10449 no_cache=1
10450 fi
10451
10452 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10453
10454 fi;
10455
10456 eval "$ac_cv_use_dirpicker"
10457 if test "$no_cache" != 1; then
10458 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
10459 fi
10460
10461 if test x"$enablestring" = xdisable; then
10462 if test $wxUSE_DIRPICKERCTRL = yes; then
10463 result=no
10464 else
10465 result=yes
10466 fi
10467 else
10468 result=$wxUSE_DIRPICKERCTRL
10469 fi
10470
10471 echo "$as_me:$LINENO: result: $result" >&5
10472 echo "${ECHO_T}$result" >&6
10473
10474
10475 enablestring=
10476 defaultval=$wxUSE_ALL_FEATURES
10477 if test -z"$defaultval"; then
10478 if test x"$enablestring" = xdisable; then
10479 defaultval=yes
10480 else
10481 defaultval=no
10482 fi
10483 fi
10484
10485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10486 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
10487 no_cache=0
10488 # Check whether --enable-display or --disable-display was given.
10489 if test "${enable_display+set}" = set; then
10490 enableval="$enable_display"
10491
10492 if test "$enableval" = yes; then
10493 ac_cv_use_display='wxUSE_DISPLAY=yes'
10494 else
10495 ac_cv_use_display='wxUSE_DISPLAY=no'
10496 fi
10497
10498 else
10499
10500 LINE=`grep "^wxUSE_DISPLAY=" ${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_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10508
10509 fi;
10510
10511 eval "$ac_cv_use_display"
10512 if test "$no_cache" != 1; then
10513 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
10514 fi
10515
10516 if test x"$enablestring" = xdisable; then
10517 if test $wxUSE_DISPLAY = yes; then
10518 result=no
10519 else
10520 result=yes
10521 fi
10522 else
10523 result=$wxUSE_DISPLAY
10524 fi
10525
10526 echo "$as_me:$LINENO: result: $result" >&5
10527 echo "${ECHO_T}$result" >&6
10528
10529
10530 enablestring=
10531 defaultval=$wxUSE_ALL_FEATURES
10532 if test -z"$defaultval"; then
10533 if test x"$enablestring" = xdisable; then
10534 defaultval=yes
10535 else
10536 defaultval=no
10537 fi
10538 fi
10539
10540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10541 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
10542 no_cache=0
10543 # Check whether --enable-detect_sm or --disable-detect_sm was given.
10544 if test "${enable_detect_sm+set}" = set; then
10545 enableval="$enable_detect_sm"
10546
10547 if test "$enableval" = yes; then
10548 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10549 else
10550 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10551 fi
10552
10553 else
10554
10555 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
10556 if test "x$LINE" != x ; then
10557 eval "DEFAULT_$LINE"
10558 else
10559 no_cache=1
10560 fi
10561
10562 ac_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10563
10564 fi;
10565
10566 eval "$ac_cv_use_detect_sm"
10567 if test "$no_cache" != 1; then
10568 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
10569 fi
10570
10571 if test x"$enablestring" = xdisable; then
10572 if test $wxUSE_DETECT_SM = yes; then
10573 result=no
10574 else
10575 result=yes
10576 fi
10577 else
10578 result=$wxUSE_DETECT_SM
10579 fi
10580
10581 echo "$as_me:$LINENO: result: $result" >&5
10582 echo "${ECHO_T}$result" >&6
10583
10584
10585 enablestring=
10586 defaultval=$wxUSE_ALL_FEATURES
10587 if test -z"$defaultval"; then
10588 if test x"$enablestring" = xdisable; then
10589 defaultval=yes
10590 else
10591 defaultval=no
10592 fi
10593 fi
10594
10595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10596 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6
10597 no_cache=0
10598 # Check whether --enable-editablebox or --disable-editablebox was given.
10599 if test "${enable_editablebox+set}" = set; then
10600 enableval="$enable_editablebox"
10601
10602 if test "$enableval" = yes; then
10603 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10604 else
10605 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10606 fi
10607
10608 else
10609
10610 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
10611 if test "x$LINE" != x ; then
10612 eval "DEFAULT_$LINE"
10613 else
10614 no_cache=1
10615 fi
10616
10617 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10618
10619 fi;
10620
10621 eval "$ac_cv_use_editablebox"
10622 if test "$no_cache" != 1; then
10623 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
10624 fi
10625
10626 if test x"$enablestring" = xdisable; then
10627 if test $wxUSE_EDITABLELISTBOX = yes; then
10628 result=no
10629 else
10630 result=yes
10631 fi
10632 else
10633 result=$wxUSE_EDITABLELISTBOX
10634 fi
10635
10636 echo "$as_me:$LINENO: result: $result" >&5
10637 echo "${ECHO_T}$result" >&6
10638
10639
10640 enablestring=
10641 defaultval=$wxUSE_ALL_FEATURES
10642 if test -z"$defaultval"; then
10643 if test x"$enablestring" = xdisable; then
10644 defaultval=yes
10645 else
10646 defaultval=no
10647 fi
10648 fi
10649
10650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10651 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
10652 no_cache=0
10653 # Check whether --enable-filepicker or --disable-filepicker was given.
10654 if test "${enable_filepicker+set}" = set; then
10655 enableval="$enable_filepicker"
10656
10657 if test "$enableval" = yes; then
10658 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10659 else
10660 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10661 fi
10662
10663 else
10664
10665 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
10666 if test "x$LINE" != x ; then
10667 eval "DEFAULT_$LINE"
10668 else
10669 no_cache=1
10670 fi
10671
10672 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10673
10674 fi;
10675
10676 eval "$ac_cv_use_filepicker"
10677 if test "$no_cache" != 1; then
10678 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
10679 fi
10680
10681 if test x"$enablestring" = xdisable; then
10682 if test $wxUSE_FILEPICKERCTRL = yes; then
10683 result=no
10684 else
10685 result=yes
10686 fi
10687 else
10688 result=$wxUSE_FILEPICKERCTRL
10689 fi
10690
10691 echo "$as_me:$LINENO: result: $result" >&5
10692 echo "${ECHO_T}$result" >&6
10693
10694
10695 enablestring=
10696 defaultval=$wxUSE_ALL_FEATURES
10697 if test -z"$defaultval"; then
10698 if test x"$enablestring" = xdisable; then
10699 defaultval=yes
10700 else
10701 defaultval=no
10702 fi
10703 fi
10704
10705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10706 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
10707 no_cache=0
10708 # Check whether --enable-fontpicker or --disable-fontpicker was given.
10709 if test "${enable_fontpicker+set}" = set; then
10710 enableval="$enable_fontpicker"
10711
10712 if test "$enableval" = yes; then
10713 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10714 else
10715 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10716 fi
10717
10718 else
10719
10720 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
10721 if test "x$LINE" != x ; then
10722 eval "DEFAULT_$LINE"
10723 else
10724 no_cache=1
10725 fi
10726
10727 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10728
10729 fi;
10730
10731 eval "$ac_cv_use_fontpicker"
10732 if test "$no_cache" != 1; then
10733 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
10734 fi
10735
10736 if test x"$enablestring" = xdisable; then
10737 if test $wxUSE_FONTPICKERCTRL = yes; then
10738 result=no
10739 else
10740 result=yes
10741 fi
10742 else
10743 result=$wxUSE_FONTPICKERCTRL
10744 fi
10745
10746 echo "$as_me:$LINENO: result: $result" >&5
10747 echo "${ECHO_T}$result" >&6
10748
10749
10750 enablestring=
10751 defaultval=$wxUSE_ALL_FEATURES
10752 if test -z"$defaultval"; then
10753 if test x"$enablestring" = xdisable; then
10754 defaultval=yes
10755 else
10756 defaultval=no
10757 fi
10758 fi
10759
10760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10761 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
10762 no_cache=0
10763 # Check whether --enable-gauge or --disable-gauge was given.
10764 if test "${enable_gauge+set}" = set; then
10765 enableval="$enable_gauge"
10766
10767 if test "$enableval" = yes; then
10768 ac_cv_use_gauge='wxUSE_GAUGE=yes'
10769 else
10770 ac_cv_use_gauge='wxUSE_GAUGE=no'
10771 fi
10772
10773 else
10774
10775 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
10776 if test "x$LINE" != x ; then
10777 eval "DEFAULT_$LINE"
10778 else
10779 no_cache=1
10780 fi
10781
10782 ac_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10783
10784 fi;
10785
10786 eval "$ac_cv_use_gauge"
10787 if test "$no_cache" != 1; then
10788 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
10789 fi
10790
10791 if test x"$enablestring" = xdisable; then
10792 if test $wxUSE_GAUGE = yes; then
10793 result=no
10794 else
10795 result=yes
10796 fi
10797 else
10798 result=$wxUSE_GAUGE
10799 fi
10800
10801 echo "$as_me:$LINENO: result: $result" >&5
10802 echo "${ECHO_T}$result" >&6
10803
10804
10805 enablestring=
10806 defaultval=$wxUSE_ALL_FEATURES
10807 if test -z"$defaultval"; then
10808 if test x"$enablestring" = xdisable; then
10809 defaultval=yes
10810 else
10811 defaultval=no
10812 fi
10813 fi
10814
10815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10816 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
10817 no_cache=0
10818 # Check whether --enable-grid or --disable-grid was given.
10819 if test "${enable_grid+set}" = set; then
10820 enableval="$enable_grid"
10821
10822 if test "$enableval" = yes; then
10823 ac_cv_use_grid='wxUSE_GRID=yes'
10824 else
10825 ac_cv_use_grid='wxUSE_GRID=no'
10826 fi
10827
10828 else
10829
10830 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
10831 if test "x$LINE" != x ; then
10832 eval "DEFAULT_$LINE"
10833 else
10834 no_cache=1
10835 fi
10836
10837 ac_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10838
10839 fi;
10840
10841 eval "$ac_cv_use_grid"
10842 if test "$no_cache" != 1; then
10843 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
10844 fi
10845
10846 if test x"$enablestring" = xdisable; then
10847 if test $wxUSE_GRID = yes; then
10848 result=no
10849 else
10850 result=yes
10851 fi
10852 else
10853 result=$wxUSE_GRID
10854 fi
10855
10856 echo "$as_me:$LINENO: result: $result" >&5
10857 echo "${ECHO_T}$result" >&6
10858
10859
10860 enablestring=
10861 defaultval=$wxUSE_ALL_FEATURES
10862 if test -z"$defaultval"; then
10863 if test x"$enablestring" = xdisable; then
10864 defaultval=yes
10865 else
10866 defaultval=no
10867 fi
10868 fi
10869
10870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10871 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
10872 no_cache=0
10873 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
10874 if test "${enable_dataviewctrl+set}" = set; then
10875 enableval="$enable_dataviewctrl"
10876
10877 if test "$enableval" = yes; then
10878 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10879 else
10880 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10881 fi
10882
10883 else
10884
10885 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
10886 if test "x$LINE" != x ; then
10887 eval "DEFAULT_$LINE"
10888 else
10889 no_cache=1
10890 fi
10891
10892 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10893
10894 fi;
10895
10896 eval "$ac_cv_use_dataviewctrl"
10897 if test "$no_cache" != 1; then
10898 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
10899 fi
10900
10901 if test x"$enablestring" = xdisable; then
10902 if test $wxUSE_DATAVIEWCTRL = yes; then
10903 result=no
10904 else
10905 result=yes
10906 fi
10907 else
10908 result=$wxUSE_DATAVIEWCTRL
10909 fi
10910
10911 echo "$as_me:$LINENO: result: $result" >&5
10912 echo "${ECHO_T}$result" >&6
10913
10914
10915 enablestring=
10916 defaultval=$wxUSE_ALL_FEATURES
10917 if test -z"$defaultval"; then
10918 if test x"$enablestring" = xdisable; then
10919 defaultval=yes
10920 else
10921 defaultval=no
10922 fi
10923 fi
10924
10925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10926 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
10927 no_cache=0
10928 # Check whether --enable-hyperlink or --disable-hyperlink was given.
10929 if test "${enable_hyperlink+set}" = set; then
10930 enableval="$enable_hyperlink"
10931
10932 if test "$enableval" = yes; then
10933 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10934 else
10935 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10936 fi
10937
10938 else
10939
10940 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
10941 if test "x$LINE" != x ; then
10942 eval "DEFAULT_$LINE"
10943 else
10944 no_cache=1
10945 fi
10946
10947 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10948
10949 fi;
10950
10951 eval "$ac_cv_use_hyperlink"
10952 if test "$no_cache" != 1; then
10953 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
10954 fi
10955
10956 if test x"$enablestring" = xdisable; then
10957 if test $wxUSE_HYPERLINKCTRL = yes; then
10958 result=no
10959 else
10960 result=yes
10961 fi
10962 else
10963 result=$wxUSE_HYPERLINKCTRL
10964 fi
10965
10966 echo "$as_me:$LINENO: result: $result" >&5
10967 echo "${ECHO_T}$result" >&6
10968
10969
10970 enablestring=
10971 defaultval=$wxUSE_ALL_FEATURES
10972 if test -z"$defaultval"; then
10973 if test x"$enablestring" = xdisable; then
10974 defaultval=yes
10975 else
10976 defaultval=no
10977 fi
10978 fi
10979
10980 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10981 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
10982 no_cache=0
10983 # Check whether --enable-imaglist or --disable-imaglist was given.
10984 if test "${enable_imaglist+set}" = set; then
10985 enableval="$enable_imaglist"
10986
10987 if test "$enableval" = yes; then
10988 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10989 else
10990 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
10991 fi
10992
10993 else
10994
10995 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
10996 if test "x$LINE" != x ; then
10997 eval "DEFAULT_$LINE"
10998 else
10999 no_cache=1
11000 fi
11001
11002 ac_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11003
11004 fi;
11005
11006 eval "$ac_cv_use_imaglist"
11007 if test "$no_cache" != 1; then
11008 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
11009 fi
11010
11011 if test x"$enablestring" = xdisable; then
11012 if test $wxUSE_IMAGLIST = yes; then
11013 result=no
11014 else
11015 result=yes
11016 fi
11017 else
11018 result=$wxUSE_IMAGLIST
11019 fi
11020
11021 echo "$as_me:$LINENO: result: $result" >&5
11022 echo "${ECHO_T}$result" >&6
11023
11024
11025 enablestring=
11026 defaultval=$wxUSE_ALL_FEATURES
11027 if test -z"$defaultval"; then
11028 if test x"$enablestring" = xdisable; then
11029 defaultval=yes
11030 else
11031 defaultval=no
11032 fi
11033 fi
11034
11035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11036 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
11037 no_cache=0
11038 # Check whether --enable-listbook or --disable-listbook was given.
11039 if test "${enable_listbook+set}" = set; then
11040 enableval="$enable_listbook"
11041
11042 if test "$enableval" = yes; then
11043 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
11044 else
11045 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
11046 fi
11047
11048 else
11049
11050 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11051 if test "x$LINE" != x ; then
11052 eval "DEFAULT_$LINE"
11053 else
11054 no_cache=1
11055 fi
11056
11057 ac_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11058
11059 fi;
11060
11061 eval "$ac_cv_use_listbook"
11062 if test "$no_cache" != 1; then
11063 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
11064 fi
11065
11066 if test x"$enablestring" = xdisable; then
11067 if test $wxUSE_LISTBOOK = yes; then
11068 result=no
11069 else
11070 result=yes
11071 fi
11072 else
11073 result=$wxUSE_LISTBOOK
11074 fi
11075
11076 echo "$as_me:$LINENO: result: $result" >&5
11077 echo "${ECHO_T}$result" >&6
11078
11079
11080 enablestring=
11081 defaultval=$wxUSE_ALL_FEATURES
11082 if test -z"$defaultval"; then
11083 if test x"$enablestring" = xdisable; then
11084 defaultval=yes
11085 else
11086 defaultval=no
11087 fi
11088 fi
11089
11090 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11091 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
11092 no_cache=0
11093 # Check whether --enable-listbox or --disable-listbox was given.
11094 if test "${enable_listbox+set}" = set; then
11095 enableval="$enable_listbox"
11096
11097 if test "$enableval" = yes; then
11098 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
11099 else
11100 ac_cv_use_listbox='wxUSE_LISTBOX=no'
11101 fi
11102
11103 else
11104
11105 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11106 if test "x$LINE" != x ; then
11107 eval "DEFAULT_$LINE"
11108 else
11109 no_cache=1
11110 fi
11111
11112 ac_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11113
11114 fi;
11115
11116 eval "$ac_cv_use_listbox"
11117 if test "$no_cache" != 1; then
11118 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
11119 fi
11120
11121 if test x"$enablestring" = xdisable; then
11122 if test $wxUSE_LISTBOX = yes; then
11123 result=no
11124 else
11125 result=yes
11126 fi
11127 else
11128 result=$wxUSE_LISTBOX
11129 fi
11130
11131 echo "$as_me:$LINENO: result: $result" >&5
11132 echo "${ECHO_T}$result" >&6
11133
11134
11135 enablestring=
11136 defaultval=$wxUSE_ALL_FEATURES
11137 if test -z"$defaultval"; then
11138 if test x"$enablestring" = xdisable; then
11139 defaultval=yes
11140 else
11141 defaultval=no
11142 fi
11143 fi
11144
11145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11146 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
11147 no_cache=0
11148 # Check whether --enable-listctrl or --disable-listctrl was given.
11149 if test "${enable_listctrl+set}" = set; then
11150 enableval="$enable_listctrl"
11151
11152 if test "$enableval" = yes; then
11153 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11154 else
11155 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
11156 fi
11157
11158 else
11159
11160 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
11161 if test "x$LINE" != x ; then
11162 eval "DEFAULT_$LINE"
11163 else
11164 no_cache=1
11165 fi
11166
11167 ac_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11168
11169 fi;
11170
11171 eval "$ac_cv_use_listctrl"
11172 if test "$no_cache" != 1; then
11173 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
11174 fi
11175
11176 if test x"$enablestring" = xdisable; then
11177 if test $wxUSE_LISTCTRL = yes; then
11178 result=no
11179 else
11180 result=yes
11181 fi
11182 else
11183 result=$wxUSE_LISTCTRL
11184 fi
11185
11186 echo "$as_me:$LINENO: result: $result" >&5
11187 echo "${ECHO_T}$result" >&6
11188
11189
11190 enablestring=
11191 defaultval=$wxUSE_ALL_FEATURES
11192 if test -z"$defaultval"; then
11193 if test x"$enablestring" = xdisable; then
11194 defaultval=yes
11195 else
11196 defaultval=no
11197 fi
11198 fi
11199
11200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11201 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
11202 no_cache=0
11203 # Check whether --enable-notebook or --disable-notebook was given.
11204 if test "${enable_notebook+set}" = set; then
11205 enableval="$enable_notebook"
11206
11207 if test "$enableval" = yes; then
11208 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11209 else
11210 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
11211 fi
11212
11213 else
11214
11215 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
11216 if test "x$LINE" != x ; then
11217 eval "DEFAULT_$LINE"
11218 else
11219 no_cache=1
11220 fi
11221
11222 ac_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11223
11224 fi;
11225
11226 eval "$ac_cv_use_notebook"
11227 if test "$no_cache" != 1; then
11228 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
11229 fi
11230
11231 if test x"$enablestring" = xdisable; then
11232 if test $wxUSE_NOTEBOOK = yes; then
11233 result=no
11234 else
11235 result=yes
11236 fi
11237 else
11238 result=$wxUSE_NOTEBOOK
11239 fi
11240
11241 echo "$as_me:$LINENO: result: $result" >&5
11242 echo "${ECHO_T}$result" >&6
11243
11244
11245 enablestring=
11246 defaultval=$wxUSE_ALL_FEATURES
11247 if test -z"$defaultval"; then
11248 if test x"$enablestring" = xdisable; then
11249 defaultval=yes
11250 else
11251 defaultval=no
11252 fi
11253 fi
11254
11255 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11256 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
11257 no_cache=0
11258 # Check whether --enable-odcombobox or --disable-odcombobox was given.
11259 if test "${enable_odcombobox+set}" = set; then
11260 enableval="$enable_odcombobox"
11261
11262 if test "$enableval" = yes; then
11263 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11264 else
11265 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11266 fi
11267
11268 else
11269
11270 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
11271 if test "x$LINE" != x ; then
11272 eval "DEFAULT_$LINE"
11273 else
11274 no_cache=1
11275 fi
11276
11277 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11278
11279 fi;
11280
11281 eval "$ac_cv_use_odcombobox"
11282 if test "$no_cache" != 1; then
11283 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
11284 fi
11285
11286 if test x"$enablestring" = xdisable; then
11287 if test $wxUSE_ODCOMBOBOX = yes; then
11288 result=no
11289 else
11290 result=yes
11291 fi
11292 else
11293 result=$wxUSE_ODCOMBOBOX
11294 fi
11295
11296 echo "$as_me:$LINENO: result: $result" >&5
11297 echo "${ECHO_T}$result" >&6
11298
11299
11300 enablestring=
11301 defaultval=$wxUSE_ALL_FEATURES
11302 if test -z"$defaultval"; then
11303 if test x"$enablestring" = xdisable; then
11304 defaultval=yes
11305 else
11306 defaultval=no
11307 fi
11308 fi
11309
11310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11311 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
11312 no_cache=0
11313 # Check whether --enable-radiobox or --disable-radiobox was given.
11314 if test "${enable_radiobox+set}" = set; then
11315 enableval="$enable_radiobox"
11316
11317 if test "$enableval" = yes; then
11318 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11319 else
11320 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
11321 fi
11322
11323 else
11324
11325 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
11326 if test "x$LINE" != x ; then
11327 eval "DEFAULT_$LINE"
11328 else
11329 no_cache=1
11330 fi
11331
11332 ac_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11333
11334 fi;
11335
11336 eval "$ac_cv_use_radiobox"
11337 if test "$no_cache" != 1; then
11338 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
11339 fi
11340
11341 if test x"$enablestring" = xdisable; then
11342 if test $wxUSE_RADIOBOX = yes; then
11343 result=no
11344 else
11345 result=yes
11346 fi
11347 else
11348 result=$wxUSE_RADIOBOX
11349 fi
11350
11351 echo "$as_me:$LINENO: result: $result" >&5
11352 echo "${ECHO_T}$result" >&6
11353
11354
11355 enablestring=
11356 defaultval=$wxUSE_ALL_FEATURES
11357 if test -z"$defaultval"; then
11358 if test x"$enablestring" = xdisable; then
11359 defaultval=yes
11360 else
11361 defaultval=no
11362 fi
11363 fi
11364
11365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11366 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
11367 no_cache=0
11368 # Check whether --enable-radiobtn or --disable-radiobtn was given.
11369 if test "${enable_radiobtn+set}" = set; then
11370 enableval="$enable_radiobtn"
11371
11372 if test "$enableval" = yes; then
11373 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11374 else
11375 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11376 fi
11377
11378 else
11379
11380 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
11381 if test "x$LINE" != x ; then
11382 eval "DEFAULT_$LINE"
11383 else
11384 no_cache=1
11385 fi
11386
11387 ac_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11388
11389 fi;
11390
11391 eval "$ac_cv_use_radiobtn"
11392 if test "$no_cache" != 1; then
11393 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
11394 fi
11395
11396 if test x"$enablestring" = xdisable; then
11397 if test $wxUSE_RADIOBTN = yes; then
11398 result=no
11399 else
11400 result=yes
11401 fi
11402 else
11403 result=$wxUSE_RADIOBTN
11404 fi
11405
11406 echo "$as_me:$LINENO: result: $result" >&5
11407 echo "${ECHO_T}$result" >&6
11408
11409
11410 enablestring=
11411 defaultval=$wxUSE_ALL_FEATURES
11412 if test -z"$defaultval"; then
11413 if test x"$enablestring" = xdisable; then
11414 defaultval=yes
11415 else
11416 defaultval=no
11417 fi
11418 fi
11419
11420 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11421 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
11422 no_cache=0
11423 # Check whether --enable-sash or --disable-sash was given.
11424 if test "${enable_sash+set}" = set; then
11425 enableval="$enable_sash"
11426
11427 if test "$enableval" = yes; then
11428 ac_cv_use_sash='wxUSE_SASH=yes'
11429 else
11430 ac_cv_use_sash='wxUSE_SASH=no'
11431 fi
11432
11433 else
11434
11435 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
11436 if test "x$LINE" != x ; then
11437 eval "DEFAULT_$LINE"
11438 else
11439 no_cache=1
11440 fi
11441
11442 ac_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11443
11444 fi;
11445
11446 eval "$ac_cv_use_sash"
11447 if test "$no_cache" != 1; then
11448 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
11449 fi
11450
11451 if test x"$enablestring" = xdisable; then
11452 if test $wxUSE_SASH = yes; then
11453 result=no
11454 else
11455 result=yes
11456 fi
11457 else
11458 result=$wxUSE_SASH
11459 fi
11460
11461 echo "$as_me:$LINENO: result: $result" >&5
11462 echo "${ECHO_T}$result" >&6
11463
11464
11465 enablestring=
11466 defaultval=$wxUSE_ALL_FEATURES
11467 if test -z"$defaultval"; then
11468 if test x"$enablestring" = xdisable; then
11469 defaultval=yes
11470 else
11471 defaultval=no
11472 fi
11473 fi
11474
11475 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11476 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
11477 no_cache=0
11478 # Check whether --enable-scrollbar or --disable-scrollbar was given.
11479 if test "${enable_scrollbar+set}" = set; then
11480 enableval="$enable_scrollbar"
11481
11482 if test "$enableval" = yes; then
11483 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11484 else
11485 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11486 fi
11487
11488 else
11489
11490 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
11491 if test "x$LINE" != x ; then
11492 eval "DEFAULT_$LINE"
11493 else
11494 no_cache=1
11495 fi
11496
11497 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11498
11499 fi;
11500
11501 eval "$ac_cv_use_scrollbar"
11502 if test "$no_cache" != 1; then
11503 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
11504 fi
11505
11506 if test x"$enablestring" = xdisable; then
11507 if test $wxUSE_SCROLLBAR = yes; then
11508 result=no
11509 else
11510 result=yes
11511 fi
11512 else
11513 result=$wxUSE_SCROLLBAR
11514 fi
11515
11516 echo "$as_me:$LINENO: result: $result" >&5
11517 echo "${ECHO_T}$result" >&6
11518
11519
11520 enablestring=
11521 defaultval=$wxUSE_ALL_FEATURES
11522 if test -z"$defaultval"; then
11523 if test x"$enablestring" = xdisable; then
11524 defaultval=yes
11525 else
11526 defaultval=no
11527 fi
11528 fi
11529
11530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11531 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6
11532 no_cache=0
11533 # Check whether --enable-searchctrl or --disable-searchctrl was given.
11534 if test "${enable_searchctrl+set}" = set; then
11535 enableval="$enable_searchctrl"
11536
11537 if test "$enableval" = yes; then
11538 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11539 else
11540 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11541 fi
11542
11543 else
11544
11545 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
11546 if test "x$LINE" != x ; then
11547 eval "DEFAULT_$LINE"
11548 else
11549 no_cache=1
11550 fi
11551
11552 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11553
11554 fi;
11555
11556 eval "$ac_cv_use_searchctrl"
11557 if test "$no_cache" != 1; then
11558 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
11559 fi
11560
11561 if test x"$enablestring" = xdisable; then
11562 if test $wxUSE_SEARCHCTRL = yes; then
11563 result=no
11564 else
11565 result=yes
11566 fi
11567 else
11568 result=$wxUSE_SEARCHCTRL
11569 fi
11570
11571 echo "$as_me:$LINENO: result: $result" >&5
11572 echo "${ECHO_T}$result" >&6
11573
11574
11575 enablestring=
11576 defaultval=$wxUSE_ALL_FEATURES
11577 if test -z"$defaultval"; then
11578 if test x"$enablestring" = xdisable; then
11579 defaultval=yes
11580 else
11581 defaultval=no
11582 fi
11583 fi
11584
11585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11586 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
11587 no_cache=0
11588 # Check whether --enable-slider or --disable-slider was given.
11589 if test "${enable_slider+set}" = set; then
11590 enableval="$enable_slider"
11591
11592 if test "$enableval" = yes; then
11593 ac_cv_use_slider='wxUSE_SLIDER=yes'
11594 else
11595 ac_cv_use_slider='wxUSE_SLIDER=no'
11596 fi
11597
11598 else
11599
11600 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
11601 if test "x$LINE" != x ; then
11602 eval "DEFAULT_$LINE"
11603 else
11604 no_cache=1
11605 fi
11606
11607 ac_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11608
11609 fi;
11610
11611 eval "$ac_cv_use_slider"
11612 if test "$no_cache" != 1; then
11613 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
11614 fi
11615
11616 if test x"$enablestring" = xdisable; then
11617 if test $wxUSE_SLIDER = yes; then
11618 result=no
11619 else
11620 result=yes
11621 fi
11622 else
11623 result=$wxUSE_SLIDER
11624 fi
11625
11626 echo "$as_me:$LINENO: result: $result" >&5
11627 echo "${ECHO_T}$result" >&6
11628
11629
11630 enablestring=
11631 defaultval=$wxUSE_ALL_FEATURES
11632 if test -z"$defaultval"; then
11633 if test x"$enablestring" = xdisable; then
11634 defaultval=yes
11635 else
11636 defaultval=no
11637 fi
11638 fi
11639
11640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11641 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
11642 no_cache=0
11643 # Check whether --enable-spinbtn or --disable-spinbtn was given.
11644 if test "${enable_spinbtn+set}" = set; then
11645 enableval="$enable_spinbtn"
11646
11647 if test "$enableval" = yes; then
11648 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11649 else
11650 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
11651 fi
11652
11653 else
11654
11655 LINE=`grep "^wxUSE_SPINBTN=" ${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_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11663
11664 fi;
11665
11666 eval "$ac_cv_use_spinbtn"
11667 if test "$no_cache" != 1; then
11668 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
11669 fi
11670
11671 if test x"$enablestring" = xdisable; then
11672 if test $wxUSE_SPINBTN = yes; then
11673 result=no
11674 else
11675 result=yes
11676 fi
11677 else
11678 result=$wxUSE_SPINBTN
11679 fi
11680
11681 echo "$as_me:$LINENO: result: $result" >&5
11682 echo "${ECHO_T}$result" >&6
11683
11684
11685 enablestring=
11686 defaultval=$wxUSE_ALL_FEATURES
11687 if test -z"$defaultval"; then
11688 if test x"$enablestring" = xdisable; then
11689 defaultval=yes
11690 else
11691 defaultval=no
11692 fi
11693 fi
11694
11695 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11696 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
11697 no_cache=0
11698 # Check whether --enable-spinctrl or --disable-spinctrl was given.
11699 if test "${enable_spinctrl+set}" = set; then
11700 enableval="$enable_spinctrl"
11701
11702 if test "$enableval" = yes; then
11703 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11704 else
11705 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11706 fi
11707
11708 else
11709
11710 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
11711 if test "x$LINE" != x ; then
11712 eval "DEFAULT_$LINE"
11713 else
11714 no_cache=1
11715 fi
11716
11717 ac_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11718
11719 fi;
11720
11721 eval "$ac_cv_use_spinctrl"
11722 if test "$no_cache" != 1; then
11723 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
11724 fi
11725
11726 if test x"$enablestring" = xdisable; then
11727 if test $wxUSE_SPINCTRL = yes; then
11728 result=no
11729 else
11730 result=yes
11731 fi
11732 else
11733 result=$wxUSE_SPINCTRL
11734 fi
11735
11736 echo "$as_me:$LINENO: result: $result" >&5
11737 echo "${ECHO_T}$result" >&6
11738
11739
11740 enablestring=
11741 defaultval=$wxUSE_ALL_FEATURES
11742 if test -z"$defaultval"; then
11743 if test x"$enablestring" = xdisable; then
11744 defaultval=yes
11745 else
11746 defaultval=no
11747 fi
11748 fi
11749
11750 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11751 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
11752 no_cache=0
11753 # Check whether --enable-splitter or --disable-splitter was given.
11754 if test "${enable_splitter+set}" = set; then
11755 enableval="$enable_splitter"
11756
11757 if test "$enableval" = yes; then
11758 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
11759 else
11760 ac_cv_use_splitter='wxUSE_SPLITTER=no'
11761 fi
11762
11763 else
11764
11765 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
11766 if test "x$LINE" != x ; then
11767 eval "DEFAULT_$LINE"
11768 else
11769 no_cache=1
11770 fi
11771
11772 ac_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11773
11774 fi;
11775
11776 eval "$ac_cv_use_splitter"
11777 if test "$no_cache" != 1; then
11778 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
11779 fi
11780
11781 if test x"$enablestring" = xdisable; then
11782 if test $wxUSE_SPLITTER = yes; then
11783 result=no
11784 else
11785 result=yes
11786 fi
11787 else
11788 result=$wxUSE_SPLITTER
11789 fi
11790
11791 echo "$as_me:$LINENO: result: $result" >&5
11792 echo "${ECHO_T}$result" >&6
11793
11794
11795 enablestring=
11796 defaultval=$wxUSE_ALL_FEATURES
11797 if test -z"$defaultval"; then
11798 if test x"$enablestring" = xdisable; then
11799 defaultval=yes
11800 else
11801 defaultval=no
11802 fi
11803 fi
11804
11805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11806 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
11807 no_cache=0
11808 # Check whether --enable-statbmp or --disable-statbmp was given.
11809 if test "${enable_statbmp+set}" = set; then
11810 enableval="$enable_statbmp"
11811
11812 if test "$enableval" = yes; then
11813 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
11814 else
11815 ac_cv_use_statbmp='wxUSE_STATBMP=no'
11816 fi
11817
11818 else
11819
11820 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
11821 if test "x$LINE" != x ; then
11822 eval "DEFAULT_$LINE"
11823 else
11824 no_cache=1
11825 fi
11826
11827 ac_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11828
11829 fi;
11830
11831 eval "$ac_cv_use_statbmp"
11832 if test "$no_cache" != 1; then
11833 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
11834 fi
11835
11836 if test x"$enablestring" = xdisable; then
11837 if test $wxUSE_STATBMP = yes; then
11838 result=no
11839 else
11840 result=yes
11841 fi
11842 else
11843 result=$wxUSE_STATBMP
11844 fi
11845
11846 echo "$as_me:$LINENO: result: $result" >&5
11847 echo "${ECHO_T}$result" >&6
11848
11849
11850 enablestring=
11851 defaultval=$wxUSE_ALL_FEATURES
11852 if test -z"$defaultval"; then
11853 if test x"$enablestring" = xdisable; then
11854 defaultval=yes
11855 else
11856 defaultval=no
11857 fi
11858 fi
11859
11860 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11861 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
11862 no_cache=0
11863 # Check whether --enable-statbox or --disable-statbox was given.
11864 if test "${enable_statbox+set}" = set; then
11865 enableval="$enable_statbox"
11866
11867 if test "$enableval" = yes; then
11868 ac_cv_use_statbox='wxUSE_STATBOX=yes'
11869 else
11870 ac_cv_use_statbox='wxUSE_STATBOX=no'
11871 fi
11872
11873 else
11874
11875 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
11876 if test "x$LINE" != x ; then
11877 eval "DEFAULT_$LINE"
11878 else
11879 no_cache=1
11880 fi
11881
11882 ac_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11883
11884 fi;
11885
11886 eval "$ac_cv_use_statbox"
11887 if test "$no_cache" != 1; then
11888 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
11889 fi
11890
11891 if test x"$enablestring" = xdisable; then
11892 if test $wxUSE_STATBOX = yes; then
11893 result=no
11894 else
11895 result=yes
11896 fi
11897 else
11898 result=$wxUSE_STATBOX
11899 fi
11900
11901 echo "$as_me:$LINENO: result: $result" >&5
11902 echo "${ECHO_T}$result" >&6
11903
11904
11905 enablestring=
11906 defaultval=$wxUSE_ALL_FEATURES
11907 if test -z"$defaultval"; then
11908 if test x"$enablestring" = xdisable; then
11909 defaultval=yes
11910 else
11911 defaultval=no
11912 fi
11913 fi
11914
11915 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11916 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
11917 no_cache=0
11918 # Check whether --enable-statline or --disable-statline was given.
11919 if test "${enable_statline+set}" = set; then
11920 enableval="$enable_statline"
11921
11922 if test "$enableval" = yes; then
11923 ac_cv_use_statline='wxUSE_STATLINE=yes'
11924 else
11925 ac_cv_use_statline='wxUSE_STATLINE=no'
11926 fi
11927
11928 else
11929
11930 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
11931 if test "x$LINE" != x ; then
11932 eval "DEFAULT_$LINE"
11933 else
11934 no_cache=1
11935 fi
11936
11937 ac_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11938
11939 fi;
11940
11941 eval "$ac_cv_use_statline"
11942 if test "$no_cache" != 1; then
11943 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
11944 fi
11945
11946 if test x"$enablestring" = xdisable; then
11947 if test $wxUSE_STATLINE = yes; then
11948 result=no
11949 else
11950 result=yes
11951 fi
11952 else
11953 result=$wxUSE_STATLINE
11954 fi
11955
11956 echo "$as_me:$LINENO: result: $result" >&5
11957 echo "${ECHO_T}$result" >&6
11958
11959
11960 enablestring=
11961 defaultval=$wxUSE_ALL_FEATURES
11962 if test -z"$defaultval"; then
11963 if test x"$enablestring" = xdisable; then
11964 defaultval=yes
11965 else
11966 defaultval=no
11967 fi
11968 fi
11969
11970 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11971 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
11972 no_cache=0
11973 # Check whether --enable-stattext or --disable-stattext was given.
11974 if test "${enable_stattext+set}" = set; then
11975 enableval="$enable_stattext"
11976
11977 if test "$enableval" = yes; then
11978 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
11979 else
11980 ac_cv_use_stattext='wxUSE_STATTEXT=no'
11981 fi
11982
11983 else
11984
11985 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
11986 if test "x$LINE" != x ; then
11987 eval "DEFAULT_$LINE"
11988 else
11989 no_cache=1
11990 fi
11991
11992 ac_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11993
11994 fi;
11995
11996 eval "$ac_cv_use_stattext"
11997 if test "$no_cache" != 1; then
11998 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
11999 fi
12000
12001 if test x"$enablestring" = xdisable; then
12002 if test $wxUSE_STATTEXT = yes; then
12003 result=no
12004 else
12005 result=yes
12006 fi
12007 else
12008 result=$wxUSE_STATTEXT
12009 fi
12010
12011 echo "$as_me:$LINENO: result: $result" >&5
12012 echo "${ECHO_T}$result" >&6
12013
12014
12015 enablestring=
12016 defaultval=$wxUSE_ALL_FEATURES
12017 if test -z"$defaultval"; then
12018 if test x"$enablestring" = xdisable; then
12019 defaultval=yes
12020 else
12021 defaultval=no
12022 fi
12023 fi
12024
12025 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12026 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
12027 no_cache=0
12028 # Check whether --enable-statusbar or --disable-statusbar was given.
12029 if test "${enable_statusbar+set}" = set; then
12030 enableval="$enable_statusbar"
12031
12032 if test "$enableval" = yes; then
12033 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12034 else
12035 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
12036 fi
12037
12038 else
12039
12040 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12041 if test "x$LINE" != x ; then
12042 eval "DEFAULT_$LINE"
12043 else
12044 no_cache=1
12045 fi
12046
12047 ac_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12048
12049 fi;
12050
12051 eval "$ac_cv_use_statusbar"
12052 if test "$no_cache" != 1; then
12053 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
12054 fi
12055
12056 if test x"$enablestring" = xdisable; then
12057 if test $wxUSE_STATUSBAR = yes; then
12058 result=no
12059 else
12060 result=yes
12061 fi
12062 else
12063 result=$wxUSE_STATUSBAR
12064 fi
12065
12066 echo "$as_me:$LINENO: result: $result" >&5
12067 echo "${ECHO_T}$result" >&6
12068
12069
12070 enablestring=
12071 defaultval=$wxUSE_ALL_FEATURES
12072 if test -z"$defaultval"; then
12073 if test x"$enablestring" = xdisable; then
12074 defaultval=yes
12075 else
12076 defaultval=no
12077 fi
12078 fi
12079
12080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12081 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
12082 no_cache=0
12083 # Check whether --enable-tabdialog or --disable-tabdialog was given.
12084 if test "${enable_tabdialog+set}" = set; then
12085 enableval="$enable_tabdialog"
12086
12087 if test "$enableval" = yes; then
12088 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12089 else
12090 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
12091 fi
12092
12093 else
12094
12095 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12096 if test "x$LINE" != x ; then
12097 eval "DEFAULT_$LINE"
12098 else
12099 no_cache=1
12100 fi
12101
12102 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12103
12104 fi;
12105
12106 eval "$ac_cv_use_tabdialog"
12107 if test "$no_cache" != 1; then
12108 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
12109 fi
12110
12111 if test x"$enablestring" = xdisable; then
12112 if test $wxUSE_TAB_DIALOG = yes; then
12113 result=no
12114 else
12115 result=yes
12116 fi
12117 else
12118 result=$wxUSE_TAB_DIALOG
12119 fi
12120
12121 echo "$as_me:$LINENO: result: $result" >&5
12122 echo "${ECHO_T}$result" >&6
12123
12124
12125 enablestring=
12126 defaultval=$wxUSE_ALL_FEATURES
12127 if test -z"$defaultval"; then
12128 if test x"$enablestring" = xdisable; then
12129 defaultval=yes
12130 else
12131 defaultval=no
12132 fi
12133 fi
12134
12135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12136 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
12137 no_cache=0
12138 # Check whether --enable-textctrl or --disable-textctrl was given.
12139 if test "${enable_textctrl+set}" = set; then
12140 enableval="$enable_textctrl"
12141
12142 if test "$enableval" = yes; then
12143 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12144 else
12145 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12146 fi
12147
12148 else
12149
12150 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
12151 if test "x$LINE" != x ; then
12152 eval "DEFAULT_$LINE"
12153 else
12154 no_cache=1
12155 fi
12156
12157 ac_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12158
12159 fi;
12160
12161 eval "$ac_cv_use_textctrl"
12162 if test "$no_cache" != 1; then
12163 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
12164 fi
12165
12166 if test x"$enablestring" = xdisable; then
12167 if test $wxUSE_TEXTCTRL = yes; then
12168 result=no
12169 else
12170 result=yes
12171 fi
12172 else
12173 result=$wxUSE_TEXTCTRL
12174 fi
12175
12176 echo "$as_me:$LINENO: result: $result" >&5
12177 echo "${ECHO_T}$result" >&6
12178
12179
12180 enablestring=
12181 defaultval=$wxUSE_ALL_FEATURES
12182 if test -z"$defaultval"; then
12183 if test x"$enablestring" = xdisable; then
12184 defaultval=yes
12185 else
12186 defaultval=no
12187 fi
12188 fi
12189
12190 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12191 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
12192 no_cache=0
12193 # Check whether --enable-togglebtn or --disable-togglebtn was given.
12194 if test "${enable_togglebtn+set}" = set; then
12195 enableval="$enable_togglebtn"
12196
12197 if test "$enableval" = yes; then
12198 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12199 else
12200 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12201 fi
12202
12203 else
12204
12205 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
12206 if test "x$LINE" != x ; then
12207 eval "DEFAULT_$LINE"
12208 else
12209 no_cache=1
12210 fi
12211
12212 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12213
12214 fi;
12215
12216 eval "$ac_cv_use_togglebtn"
12217 if test "$no_cache" != 1; then
12218 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
12219 fi
12220
12221 if test x"$enablestring" = xdisable; then
12222 if test $wxUSE_TOGGLEBTN = yes; then
12223 result=no
12224 else
12225 result=yes
12226 fi
12227 else
12228 result=$wxUSE_TOGGLEBTN
12229 fi
12230
12231 echo "$as_me:$LINENO: result: $result" >&5
12232 echo "${ECHO_T}$result" >&6
12233
12234
12235 enablestring=
12236 defaultval=$wxUSE_ALL_FEATURES
12237 if test -z"$defaultval"; then
12238 if test x"$enablestring" = xdisable; then
12239 defaultval=yes
12240 else
12241 defaultval=no
12242 fi
12243 fi
12244
12245 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12246 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
12247 no_cache=0
12248 # Check whether --enable-toolbar or --disable-toolbar was given.
12249 if test "${enable_toolbar+set}" = set; then
12250 enableval="$enable_toolbar"
12251
12252 if test "$enableval" = yes; then
12253 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12254 else
12255 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
12256 fi
12257
12258 else
12259
12260 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
12261 if test "x$LINE" != x ; then
12262 eval "DEFAULT_$LINE"
12263 else
12264 no_cache=1
12265 fi
12266
12267 ac_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12268
12269 fi;
12270
12271 eval "$ac_cv_use_toolbar"
12272 if test "$no_cache" != 1; then
12273 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
12274 fi
12275
12276 if test x"$enablestring" = xdisable; then
12277 if test $wxUSE_TOOLBAR = yes; then
12278 result=no
12279 else
12280 result=yes
12281 fi
12282 else
12283 result=$wxUSE_TOOLBAR
12284 fi
12285
12286 echo "$as_me:$LINENO: result: $result" >&5
12287 echo "${ECHO_T}$result" >&6
12288
12289
12290 enablestring=
12291 defaultval=$wxUSE_ALL_FEATURES
12292 if test -z"$defaultval"; then
12293 if test x"$enablestring" = xdisable; then
12294 defaultval=yes
12295 else
12296 defaultval=no
12297 fi
12298 fi
12299
12300 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12301 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
12302 no_cache=0
12303 # Check whether --enable-tbarnative or --disable-tbarnative was given.
12304 if test "${enable_tbarnative+set}" = set; then
12305 enableval="$enable_tbarnative"
12306
12307 if test "$enableval" = yes; then
12308 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12309 else
12310 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12311 fi
12312
12313 else
12314
12315 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
12316 if test "x$LINE" != x ; then
12317 eval "DEFAULT_$LINE"
12318 else
12319 no_cache=1
12320 fi
12321
12322 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12323
12324 fi;
12325
12326 eval "$ac_cv_use_tbarnative"
12327 if test "$no_cache" != 1; then
12328 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
12329 fi
12330
12331 if test x"$enablestring" = xdisable; then
12332 if test $wxUSE_TOOLBAR_NATIVE = yes; then
12333 result=no
12334 else
12335 result=yes
12336 fi
12337 else
12338 result=$wxUSE_TOOLBAR_NATIVE
12339 fi
12340
12341 echo "$as_me:$LINENO: result: $result" >&5
12342 echo "${ECHO_T}$result" >&6
12343
12344
12345 enablestring=
12346 defaultval=$wxUSE_ALL_FEATURES
12347 if test -z"$defaultval"; then
12348 if test x"$enablestring" = xdisable; then
12349 defaultval=yes
12350 else
12351 defaultval=no
12352 fi
12353 fi
12354
12355 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12356 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
12357 no_cache=0
12358 # Check whether --enable-treebook or --disable-treebook was given.
12359 if test "${enable_treebook+set}" = set; then
12360 enableval="$enable_treebook"
12361
12362 if test "$enableval" = yes; then
12363 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
12364 else
12365 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
12366 fi
12367
12368 else
12369
12370 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
12371 if test "x$LINE" != x ; then
12372 eval "DEFAULT_$LINE"
12373 else
12374 no_cache=1
12375 fi
12376
12377 ac_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12378
12379 fi;
12380
12381 eval "$ac_cv_use_treebook"
12382 if test "$no_cache" != 1; then
12383 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
12384 fi
12385
12386 if test x"$enablestring" = xdisable; then
12387 if test $wxUSE_TREEBOOK = yes; then
12388 result=no
12389 else
12390 result=yes
12391 fi
12392 else
12393 result=$wxUSE_TREEBOOK
12394 fi
12395
12396 echo "$as_me:$LINENO: result: $result" >&5
12397 echo "${ECHO_T}$result" >&6
12398
12399
12400 enablestring=
12401 defaultval=$wxUSE_ALL_FEATURES
12402 if test -z"$defaultval"; then
12403 if test x"$enablestring" = xdisable; then
12404 defaultval=yes
12405 else
12406 defaultval=no
12407 fi
12408 fi
12409
12410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12411 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
12412 no_cache=0
12413 # Check whether --enable-toolbook or --disable-toolbook was given.
12414 if test "${enable_toolbook+set}" = set; then
12415 enableval="$enable_toolbook"
12416
12417 if test "$enableval" = yes; then
12418 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12419 else
12420 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12421 fi
12422
12423 else
12424
12425 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
12426 if test "x$LINE" != x ; then
12427 eval "DEFAULT_$LINE"
12428 else
12429 no_cache=1
12430 fi
12431
12432 ac_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12433
12434 fi;
12435
12436 eval "$ac_cv_use_toolbook"
12437 if test "$no_cache" != 1; then
12438 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
12439 fi
12440
12441 if test x"$enablestring" = xdisable; then
12442 if test $wxUSE_TOOLBOOK = yes; then
12443 result=no
12444 else
12445 result=yes
12446 fi
12447 else
12448 result=$wxUSE_TOOLBOOK
12449 fi
12450
12451 echo "$as_me:$LINENO: result: $result" >&5
12452 echo "${ECHO_T}$result" >&6
12453
12454
12455 enablestring=
12456 defaultval=$wxUSE_ALL_FEATURES
12457 if test -z"$defaultval"; then
12458 if test x"$enablestring" = xdisable; then
12459 defaultval=yes
12460 else
12461 defaultval=no
12462 fi
12463 fi
12464
12465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12466 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
12467 no_cache=0
12468 # Check whether --enable-treectrl or --disable-treectrl was given.
12469 if test "${enable_treectrl+set}" = set; then
12470 enableval="$enable_treectrl"
12471
12472 if test "$enableval" = yes; then
12473 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
12474 else
12475 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
12476 fi
12477
12478 else
12479
12480 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
12481 if test "x$LINE" != x ; then
12482 eval "DEFAULT_$LINE"
12483 else
12484 no_cache=1
12485 fi
12486
12487 ac_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12488
12489 fi;
12490
12491 eval "$ac_cv_use_treectrl"
12492 if test "$no_cache" != 1; then
12493 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
12494 fi
12495
12496 if test x"$enablestring" = xdisable; then
12497 if test $wxUSE_TREECTRL = yes; then
12498 result=no
12499 else
12500 result=yes
12501 fi
12502 else
12503 result=$wxUSE_TREECTRL
12504 fi
12505
12506 echo "$as_me:$LINENO: result: $result" >&5
12507 echo "${ECHO_T}$result" >&6
12508
12509
12510 enablestring=
12511 defaultval=$wxUSE_ALL_FEATURES
12512 if test -z"$defaultval"; then
12513 if test x"$enablestring" = xdisable; then
12514 defaultval=yes
12515 else
12516 defaultval=no
12517 fi
12518 fi
12519
12520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12521 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
12522 no_cache=0
12523 # Check whether --enable-tipwindow or --disable-tipwindow was given.
12524 if test "${enable_tipwindow+set}" = set; then
12525 enableval="$enable_tipwindow"
12526
12527 if test "$enableval" = yes; then
12528 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12529 else
12530 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12531 fi
12532
12533 else
12534
12535 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
12536 if test "x$LINE" != x ; then
12537 eval "DEFAULT_$LINE"
12538 else
12539 no_cache=1
12540 fi
12541
12542 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12543
12544 fi;
12545
12546 eval "$ac_cv_use_tipwindow"
12547 if test "$no_cache" != 1; then
12548 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
12549 fi
12550
12551 if test x"$enablestring" = xdisable; then
12552 if test $wxUSE_TIPWINDOW = yes; then
12553 result=no
12554 else
12555 result=yes
12556 fi
12557 else
12558 result=$wxUSE_TIPWINDOW
12559 fi
12560
12561 echo "$as_me:$LINENO: result: $result" >&5
12562 echo "${ECHO_T}$result" >&6
12563
12564
12565 enablestring=
12566 defaultval=$wxUSE_ALL_FEATURES
12567 if test -z"$defaultval"; then
12568 if test x"$enablestring" = xdisable; then
12569 defaultval=yes
12570 else
12571 defaultval=no
12572 fi
12573 fi
12574
12575 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12576 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
12577 no_cache=0
12578 # Check whether --enable-popupwin or --disable-popupwin was given.
12579 if test "${enable_popupwin+set}" = set; then
12580 enableval="$enable_popupwin"
12581
12582 if test "$enableval" = yes; then
12583 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12584 else
12585 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
12586 fi
12587
12588 else
12589
12590 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
12591 if test "x$LINE" != x ; then
12592 eval "DEFAULT_$LINE"
12593 else
12594 no_cache=1
12595 fi
12596
12597 ac_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12598
12599 fi;
12600
12601 eval "$ac_cv_use_popupwin"
12602 if test "$no_cache" != 1; then
12603 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
12604 fi
12605
12606 if test x"$enablestring" = xdisable; then
12607 if test $wxUSE_POPUPWIN = yes; then
12608 result=no
12609 else
12610 result=yes
12611 fi
12612 else
12613 result=$wxUSE_POPUPWIN
12614 fi
12615
12616 echo "$as_me:$LINENO: result: $result" >&5
12617 echo "${ECHO_T}$result" >&6
12618
12619
12620
12621
12622 enablestring=
12623 defaultval=$wxUSE_ALL_FEATURES
12624 if test -z"$defaultval"; then
12625 if test x"$enablestring" = xdisable; then
12626 defaultval=yes
12627 else
12628 defaultval=no
12629 fi
12630 fi
12631
12632 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12633 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
12634 no_cache=0
12635 # Check whether --enable-commondlg or --disable-commondlg was given.
12636 if test "${enable_commondlg+set}" = set; then
12637 enableval="$enable_commondlg"
12638
12639 if test "$enableval" = yes; then
12640 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12641 else
12642 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12643 fi
12644
12645 else
12646
12647 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
12648 if test "x$LINE" != x ; then
12649 eval "DEFAULT_$LINE"
12650 else
12651 no_cache=1
12652 fi
12653
12654 ac_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12655
12656 fi;
12657
12658 eval "$ac_cv_use_commondlg"
12659 if test "$no_cache" != 1; then
12660 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
12661 fi
12662
12663 if test x"$enablestring" = xdisable; then
12664 if test $wxUSE_COMMONDLGS = yes; then
12665 result=no
12666 else
12667 result=yes
12668 fi
12669 else
12670 result=$wxUSE_COMMONDLGS
12671 fi
12672
12673 echo "$as_me:$LINENO: result: $result" >&5
12674 echo "${ECHO_T}$result" >&6
12675
12676
12677 enablestring=
12678 defaultval=$wxUSE_ALL_FEATURES
12679 if test -z"$defaultval"; then
12680 if test x"$enablestring" = xdisable; then
12681 defaultval=yes
12682 else
12683 defaultval=no
12684 fi
12685 fi
12686
12687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12688 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
12689 no_cache=0
12690 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
12691 if test "${enable_aboutdlg+set}" = set; then
12692 enableval="$enable_aboutdlg"
12693
12694 if test "$enableval" = yes; then
12695 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12696 else
12697 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12698 fi
12699
12700 else
12701
12702 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
12703 if test "x$LINE" != x ; then
12704 eval "DEFAULT_$LINE"
12705 else
12706 no_cache=1
12707 fi
12708
12709 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12710
12711 fi;
12712
12713 eval "$ac_cv_use_aboutdlg"
12714 if test "$no_cache" != 1; then
12715 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
12716 fi
12717
12718 if test x"$enablestring" = xdisable; then
12719 if test $wxUSE_ABOUTDLG = yes; then
12720 result=no
12721 else
12722 result=yes
12723 fi
12724 else
12725 result=$wxUSE_ABOUTDLG
12726 fi
12727
12728 echo "$as_me:$LINENO: result: $result" >&5
12729 echo "${ECHO_T}$result" >&6
12730
12731
12732 enablestring=
12733 defaultval=$wxUSE_ALL_FEATURES
12734 if test -z"$defaultval"; then
12735 if test x"$enablestring" = xdisable; then
12736 defaultval=yes
12737 else
12738 defaultval=no
12739 fi
12740 fi
12741
12742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12743 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
12744 no_cache=0
12745 # Check whether --enable-choicedlg or --disable-choicedlg was given.
12746 if test "${enable_choicedlg+set}" = set; then
12747 enableval="$enable_choicedlg"
12748
12749 if test "$enableval" = yes; then
12750 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12751 else
12752 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12753 fi
12754
12755 else
12756
12757 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
12758 if test "x$LINE" != x ; then
12759 eval "DEFAULT_$LINE"
12760 else
12761 no_cache=1
12762 fi
12763
12764 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12765
12766 fi;
12767
12768 eval "$ac_cv_use_choicedlg"
12769 if test "$no_cache" != 1; then
12770 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
12771 fi
12772
12773 if test x"$enablestring" = xdisable; then
12774 if test $wxUSE_CHOICEDLG = yes; then
12775 result=no
12776 else
12777 result=yes
12778 fi
12779 else
12780 result=$wxUSE_CHOICEDLG
12781 fi
12782
12783 echo "$as_me:$LINENO: result: $result" >&5
12784 echo "${ECHO_T}$result" >&6
12785
12786
12787 enablestring=
12788 defaultval=$wxUSE_ALL_FEATURES
12789 if test -z"$defaultval"; then
12790 if test x"$enablestring" = xdisable; then
12791 defaultval=yes
12792 else
12793 defaultval=no
12794 fi
12795 fi
12796
12797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12798 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
12799 no_cache=0
12800 # Check whether --enable-coldlg or --disable-coldlg was given.
12801 if test "${enable_coldlg+set}" = set; then
12802 enableval="$enable_coldlg"
12803
12804 if test "$enableval" = yes; then
12805 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12806 else
12807 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
12808 fi
12809
12810 else
12811
12812 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
12813 if test "x$LINE" != x ; then
12814 eval "DEFAULT_$LINE"
12815 else
12816 no_cache=1
12817 fi
12818
12819 ac_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12820
12821 fi;
12822
12823 eval "$ac_cv_use_coldlg"
12824 if test "$no_cache" != 1; then
12825 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
12826 fi
12827
12828 if test x"$enablestring" = xdisable; then
12829 if test $wxUSE_COLOURDLG = yes; then
12830 result=no
12831 else
12832 result=yes
12833 fi
12834 else
12835 result=$wxUSE_COLOURDLG
12836 fi
12837
12838 echo "$as_me:$LINENO: result: $result" >&5
12839 echo "${ECHO_T}$result" >&6
12840
12841
12842 enablestring=
12843 defaultval=$wxUSE_ALL_FEATURES
12844 if test -z"$defaultval"; then
12845 if test x"$enablestring" = xdisable; then
12846 defaultval=yes
12847 else
12848 defaultval=no
12849 fi
12850 fi
12851
12852 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12853 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
12854 no_cache=0
12855 # Check whether --enable-filedlg or --disable-filedlg was given.
12856 if test "${enable_filedlg+set}" = set; then
12857 enableval="$enable_filedlg"
12858
12859 if test "$enableval" = yes; then
12860 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
12861 else
12862 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
12863 fi
12864
12865 else
12866
12867 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
12868 if test "x$LINE" != x ; then
12869 eval "DEFAULT_$LINE"
12870 else
12871 no_cache=1
12872 fi
12873
12874 ac_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12875
12876 fi;
12877
12878 eval "$ac_cv_use_filedlg"
12879 if test "$no_cache" != 1; then
12880 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
12881 fi
12882
12883 if test x"$enablestring" = xdisable; then
12884 if test $wxUSE_FILEDLG = yes; then
12885 result=no
12886 else
12887 result=yes
12888 fi
12889 else
12890 result=$wxUSE_FILEDLG
12891 fi
12892
12893 echo "$as_me:$LINENO: result: $result" >&5
12894 echo "${ECHO_T}$result" >&6
12895
12896
12897 enablestring=
12898 defaultval=$wxUSE_ALL_FEATURES
12899 if test -z"$defaultval"; then
12900 if test x"$enablestring" = xdisable; then
12901 defaultval=yes
12902 else
12903 defaultval=no
12904 fi
12905 fi
12906
12907 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12908 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
12909 no_cache=0
12910 # Check whether --enable-finddlg or --disable-finddlg was given.
12911 if test "${enable_finddlg+set}" = set; then
12912 enableval="$enable_finddlg"
12913
12914 if test "$enableval" = yes; then
12915 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12916 else
12917 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12918 fi
12919
12920 else
12921
12922 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
12923 if test "x$LINE" != x ; then
12924 eval "DEFAULT_$LINE"
12925 else
12926 no_cache=1
12927 fi
12928
12929 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12930
12931 fi;
12932
12933 eval "$ac_cv_use_finddlg"
12934 if test "$no_cache" != 1; then
12935 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
12936 fi
12937
12938 if test x"$enablestring" = xdisable; then
12939 if test $wxUSE_FINDREPLDLG = yes; then
12940 result=no
12941 else
12942 result=yes
12943 fi
12944 else
12945 result=$wxUSE_FINDREPLDLG
12946 fi
12947
12948 echo "$as_me:$LINENO: result: $result" >&5
12949 echo "${ECHO_T}$result" >&6
12950
12951
12952 enablestring=
12953 defaultval=$wxUSE_ALL_FEATURES
12954 if test -z"$defaultval"; then
12955 if test x"$enablestring" = xdisable; then
12956 defaultval=yes
12957 else
12958 defaultval=no
12959 fi
12960 fi
12961
12962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12963 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
12964 no_cache=0
12965 # Check whether --enable-fontdlg or --disable-fontdlg was given.
12966 if test "${enable_fontdlg+set}" = set; then
12967 enableval="$enable_fontdlg"
12968
12969 if test "$enableval" = yes; then
12970 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12971 else
12972 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
12973 fi
12974
12975 else
12976
12977 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
12978 if test "x$LINE" != x ; then
12979 eval "DEFAULT_$LINE"
12980 else
12981 no_cache=1
12982 fi
12983
12984 ac_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12985
12986 fi;
12987
12988 eval "$ac_cv_use_fontdlg"
12989 if test "$no_cache" != 1; then
12990 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
12991 fi
12992
12993 if test x"$enablestring" = xdisable; then
12994 if test $wxUSE_FONTDLG = yes; then
12995 result=no
12996 else
12997 result=yes
12998 fi
12999 else
13000 result=$wxUSE_FONTDLG
13001 fi
13002
13003 echo "$as_me:$LINENO: result: $result" >&5
13004 echo "${ECHO_T}$result" >&6
13005
13006
13007 enablestring=
13008 defaultval=$wxUSE_ALL_FEATURES
13009 if test -z"$defaultval"; then
13010 if test x"$enablestring" = xdisable; then
13011 defaultval=yes
13012 else
13013 defaultval=no
13014 fi
13015 fi
13016
13017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13018 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
13019 no_cache=0
13020 # Check whether --enable-dirdlg or --disable-dirdlg was given.
13021 if test "${enable_dirdlg+set}" = set; then
13022 enableval="$enable_dirdlg"
13023
13024 if test "$enableval" = yes; then
13025 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13026 else
13027 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
13028 fi
13029
13030 else
13031
13032 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13033 if test "x$LINE" != x ; then
13034 eval "DEFAULT_$LINE"
13035 else
13036 no_cache=1
13037 fi
13038
13039 ac_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13040
13041 fi;
13042
13043 eval "$ac_cv_use_dirdlg"
13044 if test "$no_cache" != 1; then
13045 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
13046 fi
13047
13048 if test x"$enablestring" = xdisable; then
13049 if test $wxUSE_DIRDLG = yes; then
13050 result=no
13051 else
13052 result=yes
13053 fi
13054 else
13055 result=$wxUSE_DIRDLG
13056 fi
13057
13058 echo "$as_me:$LINENO: result: $result" >&5
13059 echo "${ECHO_T}$result" >&6
13060
13061
13062 enablestring=
13063 defaultval=$wxUSE_ALL_FEATURES
13064 if test -z"$defaultval"; then
13065 if test x"$enablestring" = xdisable; then
13066 defaultval=yes
13067 else
13068 defaultval=no
13069 fi
13070 fi
13071
13072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13073 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
13074 no_cache=0
13075 # Check whether --enable-msgdlg or --disable-msgdlg was given.
13076 if test "${enable_msgdlg+set}" = set; then
13077 enableval="$enable_msgdlg"
13078
13079 if test "$enableval" = yes; then
13080 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13081 else
13082 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
13083 fi
13084
13085 else
13086
13087 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
13088 if test "x$LINE" != x ; then
13089 eval "DEFAULT_$LINE"
13090 else
13091 no_cache=1
13092 fi
13093
13094 ac_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13095
13096 fi;
13097
13098 eval "$ac_cv_use_msgdlg"
13099 if test "$no_cache" != 1; then
13100 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
13101 fi
13102
13103 if test x"$enablestring" = xdisable; then
13104 if test $wxUSE_MSGDLG = yes; then
13105 result=no
13106 else
13107 result=yes
13108 fi
13109 else
13110 result=$wxUSE_MSGDLG
13111 fi
13112
13113 echo "$as_me:$LINENO: result: $result" >&5
13114 echo "${ECHO_T}$result" >&6
13115
13116
13117 enablestring=
13118 defaultval=$wxUSE_ALL_FEATURES
13119 if test -z"$defaultval"; then
13120 if test x"$enablestring" = xdisable; then
13121 defaultval=yes
13122 else
13123 defaultval=no
13124 fi
13125 fi
13126
13127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13128 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
13129 no_cache=0
13130 # Check whether --enable-numberdlg or --disable-numberdlg was given.
13131 if test "${enable_numberdlg+set}" = set; then
13132 enableval="$enable_numberdlg"
13133
13134 if test "$enableval" = yes; then
13135 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13136 else
13137 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13138 fi
13139
13140 else
13141
13142 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
13143 if test "x$LINE" != x ; then
13144 eval "DEFAULT_$LINE"
13145 else
13146 no_cache=1
13147 fi
13148
13149 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13150
13151 fi;
13152
13153 eval "$ac_cv_use_numberdlg"
13154 if test "$no_cache" != 1; then
13155 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
13156 fi
13157
13158 if test x"$enablestring" = xdisable; then
13159 if test $wxUSE_NUMBERDLG = yes; then
13160 result=no
13161 else
13162 result=yes
13163 fi
13164 else
13165 result=$wxUSE_NUMBERDLG
13166 fi
13167
13168 echo "$as_me:$LINENO: result: $result" >&5
13169 echo "${ECHO_T}$result" >&6
13170
13171
13172 enablestring=
13173 defaultval=$wxUSE_ALL_FEATURES
13174 if test -z"$defaultval"; then
13175 if test x"$enablestring" = xdisable; then
13176 defaultval=yes
13177 else
13178 defaultval=no
13179 fi
13180 fi
13181
13182 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13183 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
13184 no_cache=0
13185 # Check whether --enable-splash or --disable-splash was given.
13186 if test "${enable_splash+set}" = set; then
13187 enableval="$enable_splash"
13188
13189 if test "$enableval" = yes; then
13190 ac_cv_use_splash='wxUSE_SPLASH=yes'
13191 else
13192 ac_cv_use_splash='wxUSE_SPLASH=no'
13193 fi
13194
13195 else
13196
13197 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
13198 if test "x$LINE" != x ; then
13199 eval "DEFAULT_$LINE"
13200 else
13201 no_cache=1
13202 fi
13203
13204 ac_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13205
13206 fi;
13207
13208 eval "$ac_cv_use_splash"
13209 if test "$no_cache" != 1; then
13210 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
13211 fi
13212
13213 if test x"$enablestring" = xdisable; then
13214 if test $wxUSE_SPLASH = yes; then
13215 result=no
13216 else
13217 result=yes
13218 fi
13219 else
13220 result=$wxUSE_SPLASH
13221 fi
13222
13223 echo "$as_me:$LINENO: result: $result" >&5
13224 echo "${ECHO_T}$result" >&6
13225
13226
13227 enablestring=
13228 defaultval=$wxUSE_ALL_FEATURES
13229 if test -z"$defaultval"; then
13230 if test x"$enablestring" = xdisable; then
13231 defaultval=yes
13232 else
13233 defaultval=no
13234 fi
13235 fi
13236
13237 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13238 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
13239 no_cache=0
13240 # Check whether --enable-textdlg or --disable-textdlg was given.
13241 if test "${enable_textdlg+set}" = set; then
13242 enableval="$enable_textdlg"
13243
13244 if test "$enableval" = yes; then
13245 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13246 else
13247 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
13248 fi
13249
13250 else
13251
13252 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
13253 if test "x$LINE" != x ; then
13254 eval "DEFAULT_$LINE"
13255 else
13256 no_cache=1
13257 fi
13258
13259 ac_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13260
13261 fi;
13262
13263 eval "$ac_cv_use_textdlg"
13264 if test "$no_cache" != 1; then
13265 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
13266 fi
13267
13268 if test x"$enablestring" = xdisable; then
13269 if test $wxUSE_TEXTDLG = yes; then
13270 result=no
13271 else
13272 result=yes
13273 fi
13274 else
13275 result=$wxUSE_TEXTDLG
13276 fi
13277
13278 echo "$as_me:$LINENO: result: $result" >&5
13279 echo "${ECHO_T}$result" >&6
13280
13281
13282 enablestring=
13283 defaultval=$wxUSE_ALL_FEATURES
13284 if test -z"$defaultval"; then
13285 if test x"$enablestring" = xdisable; then
13286 defaultval=yes
13287 else
13288 defaultval=no
13289 fi
13290 fi
13291
13292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13293 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
13294 no_cache=0
13295 # Check whether --enable-tipdlg or --disable-tipdlg was given.
13296 if test "${enable_tipdlg+set}" = set; then
13297 enableval="$enable_tipdlg"
13298
13299 if test "$enableval" = yes; then
13300 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13301 else
13302 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13303 fi
13304
13305 else
13306
13307 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
13308 if test "x$LINE" != x ; then
13309 eval "DEFAULT_$LINE"
13310 else
13311 no_cache=1
13312 fi
13313
13314 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13315
13316 fi;
13317
13318 eval "$ac_cv_use_tipdlg"
13319 if test "$no_cache" != 1; then
13320 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
13321 fi
13322
13323 if test x"$enablestring" = xdisable; then
13324 if test $wxUSE_STARTUP_TIPS = yes; then
13325 result=no
13326 else
13327 result=yes
13328 fi
13329 else
13330 result=$wxUSE_STARTUP_TIPS
13331 fi
13332
13333 echo "$as_me:$LINENO: result: $result" >&5
13334 echo "${ECHO_T}$result" >&6
13335
13336
13337 enablestring=
13338 defaultval=$wxUSE_ALL_FEATURES
13339 if test -z"$defaultval"; then
13340 if test x"$enablestring" = xdisable; then
13341 defaultval=yes
13342 else
13343 defaultval=no
13344 fi
13345 fi
13346
13347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13348 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
13349 no_cache=0
13350 # Check whether --enable-progressdlg or --disable-progressdlg was given.
13351 if test "${enable_progressdlg+set}" = set; then
13352 enableval="$enable_progressdlg"
13353
13354 if test "$enableval" = yes; then
13355 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13356 else
13357 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13358 fi
13359
13360 else
13361
13362 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
13363 if test "x$LINE" != x ; then
13364 eval "DEFAULT_$LINE"
13365 else
13366 no_cache=1
13367 fi
13368
13369 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13370
13371 fi;
13372
13373 eval "$ac_cv_use_progressdlg"
13374 if test "$no_cache" != 1; then
13375 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
13376 fi
13377
13378 if test x"$enablestring" = xdisable; then
13379 if test $wxUSE_PROGRESSDLG = yes; then
13380 result=no
13381 else
13382 result=yes
13383 fi
13384 else
13385 result=$wxUSE_PROGRESSDLG
13386 fi
13387
13388 echo "$as_me:$LINENO: result: $result" >&5
13389 echo "${ECHO_T}$result" >&6
13390
13391
13392 enablestring=
13393 defaultval=$wxUSE_ALL_FEATURES
13394 if test -z"$defaultval"; then
13395 if test x"$enablestring" = xdisable; then
13396 defaultval=yes
13397 else
13398 defaultval=no
13399 fi
13400 fi
13401
13402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13403 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
13404 no_cache=0
13405 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
13406 if test "${enable_wizarddlg+set}" = set; then
13407 enableval="$enable_wizarddlg"
13408
13409 if test "$enableval" = yes; then
13410 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13411 else
13412 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13413 fi
13414
13415 else
13416
13417 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
13418 if test "x$LINE" != x ; then
13419 eval "DEFAULT_$LINE"
13420 else
13421 no_cache=1
13422 fi
13423
13424 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13425
13426 fi;
13427
13428 eval "$ac_cv_use_wizarddlg"
13429 if test "$no_cache" != 1; then
13430 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
13431 fi
13432
13433 if test x"$enablestring" = xdisable; then
13434 if test $wxUSE_WIZARDDLG = yes; then
13435 result=no
13436 else
13437 result=yes
13438 fi
13439 else
13440 result=$wxUSE_WIZARDDLG
13441 fi
13442
13443 echo "$as_me:$LINENO: result: $result" >&5
13444 echo "${ECHO_T}$result" >&6
13445
13446
13447
13448
13449 enablestring=
13450 defaultval=$wxUSE_ALL_FEATURES
13451 if test -z"$defaultval"; then
13452 if test x"$enablestring" = xdisable; then
13453 defaultval=yes
13454 else
13455 defaultval=no
13456 fi
13457 fi
13458
13459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13460 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
13461 no_cache=0
13462 # Check whether --enable-menus or --disable-menus was given.
13463 if test "${enable_menus+set}" = set; then
13464 enableval="$enable_menus"
13465
13466 if test "$enableval" = yes; then
13467 ac_cv_use_menus='wxUSE_MENUS=yes'
13468 else
13469 ac_cv_use_menus='wxUSE_MENUS=no'
13470 fi
13471
13472 else
13473
13474 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
13475 if test "x$LINE" != x ; then
13476 eval "DEFAULT_$LINE"
13477 else
13478 no_cache=1
13479 fi
13480
13481 ac_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13482
13483 fi;
13484
13485 eval "$ac_cv_use_menus"
13486 if test "$no_cache" != 1; then
13487 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
13488 fi
13489
13490 if test x"$enablestring" = xdisable; then
13491 if test $wxUSE_MENUS = yes; then
13492 result=no
13493 else
13494 result=yes
13495 fi
13496 else
13497 result=$wxUSE_MENUS
13498 fi
13499
13500 echo "$as_me:$LINENO: result: $result" >&5
13501 echo "${ECHO_T}$result" >&6
13502
13503
13504 enablestring=
13505 defaultval=$wxUSE_ALL_FEATURES
13506 if test -z"$defaultval"; then
13507 if test x"$enablestring" = xdisable; then
13508 defaultval=yes
13509 else
13510 defaultval=no
13511 fi
13512 fi
13513
13514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13515 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
13516 no_cache=0
13517 # Check whether --enable-miniframe or --disable-miniframe was given.
13518 if test "${enable_miniframe+set}" = set; then
13519 enableval="$enable_miniframe"
13520
13521 if test "$enableval" = yes; then
13522 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13523 else
13524 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
13525 fi
13526
13527 else
13528
13529 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
13530 if test "x$LINE" != x ; then
13531 eval "DEFAULT_$LINE"
13532 else
13533 no_cache=1
13534 fi
13535
13536 ac_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13537
13538 fi;
13539
13540 eval "$ac_cv_use_miniframe"
13541 if test "$no_cache" != 1; then
13542 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
13543 fi
13544
13545 if test x"$enablestring" = xdisable; then
13546 if test $wxUSE_MINIFRAME = yes; then
13547 result=no
13548 else
13549 result=yes
13550 fi
13551 else
13552 result=$wxUSE_MINIFRAME
13553 fi
13554
13555 echo "$as_me:$LINENO: result: $result" >&5
13556 echo "${ECHO_T}$result" >&6
13557
13558
13559 enablestring=
13560 defaultval=$wxUSE_ALL_FEATURES
13561 if test -z"$defaultval"; then
13562 if test x"$enablestring" = xdisable; then
13563 defaultval=yes
13564 else
13565 defaultval=no
13566 fi
13567 fi
13568
13569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13570 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
13571 no_cache=0
13572 # Check whether --enable-tooltips or --disable-tooltips was given.
13573 if test "${enable_tooltips+set}" = set; then
13574 enableval="$enable_tooltips"
13575
13576 if test "$enableval" = yes; then
13577 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13578 else
13579 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13580 fi
13581
13582 else
13583
13584 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
13585 if test "x$LINE" != x ; then
13586 eval "DEFAULT_$LINE"
13587 else
13588 no_cache=1
13589 fi
13590
13591 ac_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13592
13593 fi;
13594
13595 eval "$ac_cv_use_tooltips"
13596 if test "$no_cache" != 1; then
13597 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
13598 fi
13599
13600 if test x"$enablestring" = xdisable; then
13601 if test $wxUSE_TOOLTIPS = yes; then
13602 result=no
13603 else
13604 result=yes
13605 fi
13606 else
13607 result=$wxUSE_TOOLTIPS
13608 fi
13609
13610 echo "$as_me:$LINENO: result: $result" >&5
13611 echo "${ECHO_T}$result" >&6
13612
13613
13614 enablestring=
13615 defaultval=$wxUSE_ALL_FEATURES
13616 if test -z"$defaultval"; then
13617 if test x"$enablestring" = xdisable; then
13618 defaultval=yes
13619 else
13620 defaultval=no
13621 fi
13622 fi
13623
13624 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13625 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
13626 no_cache=0
13627 # Check whether --enable-splines or --disable-splines was given.
13628 if test "${enable_splines+set}" = set; then
13629 enableval="$enable_splines"
13630
13631 if test "$enableval" = yes; then
13632 ac_cv_use_splines='wxUSE_SPLINES=yes'
13633 else
13634 ac_cv_use_splines='wxUSE_SPLINES=no'
13635 fi
13636
13637 else
13638
13639 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
13640 if test "x$LINE" != x ; then
13641 eval "DEFAULT_$LINE"
13642 else
13643 no_cache=1
13644 fi
13645
13646 ac_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13647
13648 fi;
13649
13650 eval "$ac_cv_use_splines"
13651 if test "$no_cache" != 1; then
13652 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
13653 fi
13654
13655 if test x"$enablestring" = xdisable; then
13656 if test $wxUSE_SPLINES = yes; then
13657 result=no
13658 else
13659 result=yes
13660 fi
13661 else
13662 result=$wxUSE_SPLINES
13663 fi
13664
13665 echo "$as_me:$LINENO: result: $result" >&5
13666 echo "${ECHO_T}$result" >&6
13667
13668
13669 enablestring=
13670 defaultval=$wxUSE_ALL_FEATURES
13671 if test -z"$defaultval"; then
13672 if test x"$enablestring" = xdisable; then
13673 defaultval=yes
13674 else
13675 defaultval=no
13676 fi
13677 fi
13678
13679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13680 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
13681 no_cache=0
13682 # Check whether --enable-mousewheel or --disable-mousewheel was given.
13683 if test "${enable_mousewheel+set}" = set; then
13684 enableval="$enable_mousewheel"
13685
13686 if test "$enableval" = yes; then
13687 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13688 else
13689 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13690 fi
13691
13692 else
13693
13694 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
13695 if test "x$LINE" != x ; then
13696 eval "DEFAULT_$LINE"
13697 else
13698 no_cache=1
13699 fi
13700
13701 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13702
13703 fi;
13704
13705 eval "$ac_cv_use_mousewheel"
13706 if test "$no_cache" != 1; then
13707 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
13708 fi
13709
13710 if test x"$enablestring" = xdisable; then
13711 if test $wxUSE_MOUSEWHEEL = yes; then
13712 result=no
13713 else
13714 result=yes
13715 fi
13716 else
13717 result=$wxUSE_MOUSEWHEEL
13718 fi
13719
13720 echo "$as_me:$LINENO: result: $result" >&5
13721 echo "${ECHO_T}$result" >&6
13722
13723
13724 enablestring=
13725 defaultval=$wxUSE_ALL_FEATURES
13726 if test -z"$defaultval"; then
13727 if test x"$enablestring" = xdisable; then
13728 defaultval=yes
13729 else
13730 defaultval=no
13731 fi
13732 fi
13733
13734 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13735 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
13736 no_cache=0
13737 # Check whether --enable-validators or --disable-validators was given.
13738 if test "${enable_validators+set}" = set; then
13739 enableval="$enable_validators"
13740
13741 if test "$enableval" = yes; then
13742 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
13743 else
13744 ac_cv_use_validators='wxUSE_VALIDATORS=no'
13745 fi
13746
13747 else
13748
13749 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
13750 if test "x$LINE" != x ; then
13751 eval "DEFAULT_$LINE"
13752 else
13753 no_cache=1
13754 fi
13755
13756 ac_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13757
13758 fi;
13759
13760 eval "$ac_cv_use_validators"
13761 if test "$no_cache" != 1; then
13762 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
13763 fi
13764
13765 if test x"$enablestring" = xdisable; then
13766 if test $wxUSE_VALIDATORS = yes; then
13767 result=no
13768 else
13769 result=yes
13770 fi
13771 else
13772 result=$wxUSE_VALIDATORS
13773 fi
13774
13775 echo "$as_me:$LINENO: result: $result" >&5
13776 echo "${ECHO_T}$result" >&6
13777
13778
13779 enablestring=
13780 defaultval=$wxUSE_ALL_FEATURES
13781 if test -z"$defaultval"; then
13782 if test x"$enablestring" = xdisable; then
13783 defaultval=yes
13784 else
13785 defaultval=no
13786 fi
13787 fi
13788
13789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13790 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
13791 no_cache=0
13792 # Check whether --enable-busyinfo or --disable-busyinfo was given.
13793 if test "${enable_busyinfo+set}" = set; then
13794 enableval="$enable_busyinfo"
13795
13796 if test "$enableval" = yes; then
13797 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13798 else
13799 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13800 fi
13801
13802 else
13803
13804 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
13805 if test "x$LINE" != x ; then
13806 eval "DEFAULT_$LINE"
13807 else
13808 no_cache=1
13809 fi
13810
13811 ac_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13812
13813 fi;
13814
13815 eval "$ac_cv_use_busyinfo"
13816 if test "$no_cache" != 1; then
13817 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
13818 fi
13819
13820 if test x"$enablestring" = xdisable; then
13821 if test $wxUSE_BUSYINFO = yes; then
13822 result=no
13823 else
13824 result=yes
13825 fi
13826 else
13827 result=$wxUSE_BUSYINFO
13828 fi
13829
13830 echo "$as_me:$LINENO: result: $result" >&5
13831 echo "${ECHO_T}$result" >&6
13832
13833
13834 enablestring=
13835 defaultval=$wxUSE_ALL_FEATURES
13836 if test -z"$defaultval"; then
13837 if test x"$enablestring" = xdisable; then
13838 defaultval=yes
13839 else
13840 defaultval=no
13841 fi
13842 fi
13843
13844 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13845 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
13846 no_cache=0
13847 # Check whether --enable-joystick or --disable-joystick was given.
13848 if test "${enable_joystick+set}" = set; then
13849 enableval="$enable_joystick"
13850
13851 if test "$enableval" = yes; then
13852 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
13853 else
13854 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
13855 fi
13856
13857 else
13858
13859 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
13860 if test "x$LINE" != x ; then
13861 eval "DEFAULT_$LINE"
13862 else
13863 no_cache=1
13864 fi
13865
13866 ac_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13867
13868 fi;
13869
13870 eval "$ac_cv_use_joystick"
13871 if test "$no_cache" != 1; then
13872 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
13873 fi
13874
13875 if test x"$enablestring" = xdisable; then
13876 if test $wxUSE_JOYSTICK = yes; then
13877 result=no
13878 else
13879 result=yes
13880 fi
13881 else
13882 result=$wxUSE_JOYSTICK
13883 fi
13884
13885 echo "$as_me:$LINENO: result: $result" >&5
13886 echo "${ECHO_T}$result" >&6
13887
13888
13889 enablestring=
13890 defaultval=$wxUSE_ALL_FEATURES
13891 if test -z"$defaultval"; then
13892 if test x"$enablestring" = xdisable; then
13893 defaultval=yes
13894 else
13895 defaultval=no
13896 fi
13897 fi
13898
13899 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13900 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
13901 no_cache=0
13902 # Check whether --enable-metafile or --disable-metafile was given.
13903 if test "${enable_metafile+set}" = set; then
13904 enableval="$enable_metafile"
13905
13906 if test "$enableval" = yes; then
13907 ac_cv_use_metafile='wxUSE_METAFILE=yes'
13908 else
13909 ac_cv_use_metafile='wxUSE_METAFILE=no'
13910 fi
13911
13912 else
13913
13914 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
13915 if test "x$LINE" != x ; then
13916 eval "DEFAULT_$LINE"
13917 else
13918 no_cache=1
13919 fi
13920
13921 ac_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13922
13923 fi;
13924
13925 eval "$ac_cv_use_metafile"
13926 if test "$no_cache" != 1; then
13927 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
13928 fi
13929
13930 if test x"$enablestring" = xdisable; then
13931 if test $wxUSE_METAFILE = yes; then
13932 result=no
13933 else
13934 result=yes
13935 fi
13936 else
13937 result=$wxUSE_METAFILE
13938 fi
13939
13940 echo "$as_me:$LINENO: result: $result" >&5
13941 echo "${ECHO_T}$result" >&6
13942
13943
13944 enablestring=
13945 defaultval=$wxUSE_ALL_FEATURES
13946 if test -z"$defaultval"; then
13947 if test x"$enablestring" = xdisable; then
13948 defaultval=yes
13949 else
13950 defaultval=no
13951 fi
13952 fi
13953
13954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13955 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
13956 no_cache=0
13957 # Check whether --enable-dragimage or --disable-dragimage was given.
13958 if test "${enable_dragimage+set}" = set; then
13959 enableval="$enable_dragimage"
13960
13961 if test "$enableval" = yes; then
13962 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13963 else
13964 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13965 fi
13966
13967 else
13968
13969 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
13970 if test "x$LINE" != x ; then
13971 eval "DEFAULT_$LINE"
13972 else
13973 no_cache=1
13974 fi
13975
13976 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13977
13978 fi;
13979
13980 eval "$ac_cv_use_dragimage"
13981 if test "$no_cache" != 1; then
13982 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
13983 fi
13984
13985 if test x"$enablestring" = xdisable; then
13986 if test $wxUSE_DRAGIMAGE = yes; then
13987 result=no
13988 else
13989 result=yes
13990 fi
13991 else
13992 result=$wxUSE_DRAGIMAGE
13993 fi
13994
13995 echo "$as_me:$LINENO: result: $result" >&5
13996 echo "${ECHO_T}$result" >&6
13997
13998
13999 enablestring=
14000 defaultval=$wxUSE_ALL_FEATURES
14001 if test -z"$defaultval"; then
14002 if test x"$enablestring" = xdisable; then
14003 defaultval=yes
14004 else
14005 defaultval=no
14006 fi
14007 fi
14008
14009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14010 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
14011 no_cache=0
14012 # Check whether --enable-accessibility or --disable-accessibility was given.
14013 if test "${enable_accessibility+set}" = set; then
14014 enableval="$enable_accessibility"
14015
14016 if test "$enableval" = yes; then
14017 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14018 else
14019 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14020 fi
14021
14022 else
14023
14024 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14025 if test "x$LINE" != x ; then
14026 eval "DEFAULT_$LINE"
14027 else
14028 no_cache=1
14029 fi
14030
14031 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14032
14033 fi;
14034
14035 eval "$ac_cv_use_accessibility"
14036 if test "$no_cache" != 1; then
14037 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
14038 fi
14039
14040 if test x"$enablestring" = xdisable; then
14041 if test $wxUSE_ACCESSIBILITY = yes; then
14042 result=no
14043 else
14044 result=yes
14045 fi
14046 else
14047 result=$wxUSE_ACCESSIBILITY
14048 fi
14049
14050 echo "$as_me:$LINENO: result: $result" >&5
14051 echo "${ECHO_T}$result" >&6
14052
14053
14054 if test "$wxUSE_MSW" = "1"; then
14055
14056 enablestring=
14057 defaultval=$wxUSE_ALL_FEATURES
14058 if test -z"$defaultval"; then
14059 if test x"$enablestring" = xdisable; then
14060 defaultval=yes
14061 else
14062 defaultval=no
14063 fi
14064 fi
14065
14066 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14067 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
14068 no_cache=0
14069 # Check whether --enable-dccache or --disable-dccache was given.
14070 if test "${enable_dccache+set}" = set; then
14071 enableval="$enable_dccache"
14072
14073 if test "$enableval" = yes; then
14074 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14075 else
14076 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
14077 fi
14078
14079 else
14080
14081 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
14082 if test "x$LINE" != x ; then
14083 eval "DEFAULT_$LINE"
14084 else
14085 no_cache=1
14086 fi
14087
14088 ac_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14089
14090 fi;
14091
14092 eval "$ac_cv_use_dccache"
14093 if test "$no_cache" != 1; then
14094 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
14095 fi
14096
14097 if test x"$enablestring" = xdisable; then
14098 if test $wxUSE_DC_CACHEING = yes; then
14099 result=no
14100 else
14101 result=yes
14102 fi
14103 else
14104 result=$wxUSE_DC_CACHEING
14105 fi
14106
14107 echo "$as_me:$LINENO: result: $result" >&5
14108 echo "${ECHO_T}$result" >&6
14109
14110 fi
14111
14112
14113
14114 enablestring=
14115 defaultval=$wxUSE_ALL_FEATURES
14116 if test -z"$defaultval"; then
14117 if test x"$enablestring" = xdisable; then
14118 defaultval=yes
14119 else
14120 defaultval=no
14121 fi
14122 fi
14123
14124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14125 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
14126 no_cache=0
14127 # Check whether --enable-palette or --disable-palette was given.
14128 if test "${enable_palette+set}" = set; then
14129 enableval="$enable_palette"
14130
14131 if test "$enableval" = yes; then
14132 ac_cv_use_palette='wxUSE_PALETTE=yes'
14133 else
14134 ac_cv_use_palette='wxUSE_PALETTE=no'
14135 fi
14136
14137 else
14138
14139 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
14140 if test "x$LINE" != x ; then
14141 eval "DEFAULT_$LINE"
14142 else
14143 no_cache=1
14144 fi
14145
14146 ac_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14147
14148 fi;
14149
14150 eval "$ac_cv_use_palette"
14151 if test "$no_cache" != 1; then
14152 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
14153 fi
14154
14155 if test x"$enablestring" = xdisable; then
14156 if test $wxUSE_PALETTE = yes; then
14157 result=no
14158 else
14159 result=yes
14160 fi
14161 else
14162 result=$wxUSE_PALETTE
14163 fi
14164
14165 echo "$as_me:$LINENO: result: $result" >&5
14166 echo "${ECHO_T}$result" >&6
14167
14168
14169 enablestring=
14170 defaultval=$wxUSE_ALL_FEATURES
14171 if test -z"$defaultval"; then
14172 if test x"$enablestring" = xdisable; then
14173 defaultval=yes
14174 else
14175 defaultval=no
14176 fi
14177 fi
14178
14179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14180 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
14181 no_cache=0
14182 # Check whether --enable-image or --disable-image was given.
14183 if test "${enable_image+set}" = set; then
14184 enableval="$enable_image"
14185
14186 if test "$enableval" = yes; then
14187 ac_cv_use_image='wxUSE_IMAGE=yes'
14188 else
14189 ac_cv_use_image='wxUSE_IMAGE=no'
14190 fi
14191
14192 else
14193
14194 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
14195 if test "x$LINE" != x ; then
14196 eval "DEFAULT_$LINE"
14197 else
14198 no_cache=1
14199 fi
14200
14201 ac_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14202
14203 fi;
14204
14205 eval "$ac_cv_use_image"
14206 if test "$no_cache" != 1; then
14207 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
14208 fi
14209
14210 if test x"$enablestring" = xdisable; then
14211 if test $wxUSE_IMAGE = yes; then
14212 result=no
14213 else
14214 result=yes
14215 fi
14216 else
14217 result=$wxUSE_IMAGE
14218 fi
14219
14220 echo "$as_me:$LINENO: result: $result" >&5
14221 echo "${ECHO_T}$result" >&6
14222
14223
14224 enablestring=
14225 defaultval=$wxUSE_ALL_FEATURES
14226 if test -z"$defaultval"; then
14227 if test x"$enablestring" = xdisable; then
14228 defaultval=yes
14229 else
14230 defaultval=no
14231 fi
14232 fi
14233
14234 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14235 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
14236 no_cache=0
14237 # Check whether --enable-gif or --disable-gif was given.
14238 if test "${enable_gif+set}" = set; then
14239 enableval="$enable_gif"
14240
14241 if test "$enableval" = yes; then
14242 ac_cv_use_gif='wxUSE_GIF=yes'
14243 else
14244 ac_cv_use_gif='wxUSE_GIF=no'
14245 fi
14246
14247 else
14248
14249 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
14250 if test "x$LINE" != x ; then
14251 eval "DEFAULT_$LINE"
14252 else
14253 no_cache=1
14254 fi
14255
14256 ac_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14257
14258 fi;
14259
14260 eval "$ac_cv_use_gif"
14261 if test "$no_cache" != 1; then
14262 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
14263 fi
14264
14265 if test x"$enablestring" = xdisable; then
14266 if test $wxUSE_GIF = yes; then
14267 result=no
14268 else
14269 result=yes
14270 fi
14271 else
14272 result=$wxUSE_GIF
14273 fi
14274
14275 echo "$as_me:$LINENO: result: $result" >&5
14276 echo "${ECHO_T}$result" >&6
14277
14278
14279 enablestring=
14280 defaultval=$wxUSE_ALL_FEATURES
14281 if test -z"$defaultval"; then
14282 if test x"$enablestring" = xdisable; then
14283 defaultval=yes
14284 else
14285 defaultval=no
14286 fi
14287 fi
14288
14289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14290 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
14291 no_cache=0
14292 # Check whether --enable-pcx or --disable-pcx was given.
14293 if test "${enable_pcx+set}" = set; then
14294 enableval="$enable_pcx"
14295
14296 if test "$enableval" = yes; then
14297 ac_cv_use_pcx='wxUSE_PCX=yes'
14298 else
14299 ac_cv_use_pcx='wxUSE_PCX=no'
14300 fi
14301
14302 else
14303
14304 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
14305 if test "x$LINE" != x ; then
14306 eval "DEFAULT_$LINE"
14307 else
14308 no_cache=1
14309 fi
14310
14311 ac_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14312
14313 fi;
14314
14315 eval "$ac_cv_use_pcx"
14316 if test "$no_cache" != 1; then
14317 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
14318 fi
14319
14320 if test x"$enablestring" = xdisable; then
14321 if test $wxUSE_PCX = yes; then
14322 result=no
14323 else
14324 result=yes
14325 fi
14326 else
14327 result=$wxUSE_PCX
14328 fi
14329
14330 echo "$as_me:$LINENO: result: $result" >&5
14331 echo "${ECHO_T}$result" >&6
14332
14333
14334 enablestring=
14335 defaultval=$wxUSE_ALL_FEATURES
14336 if test -z"$defaultval"; then
14337 if test x"$enablestring" = xdisable; then
14338 defaultval=yes
14339 else
14340 defaultval=no
14341 fi
14342 fi
14343
14344 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14345 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
14346 no_cache=0
14347 # Check whether --enable-tga or --disable-tga was given.
14348 if test "${enable_tga+set}" = set; then
14349 enableval="$enable_tga"
14350
14351 if test "$enableval" = yes; then
14352 ac_cv_use_tga='wxUSE_TGA=yes'
14353 else
14354 ac_cv_use_tga='wxUSE_TGA=no'
14355 fi
14356
14357 else
14358
14359 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
14360 if test "x$LINE" != x ; then
14361 eval "DEFAULT_$LINE"
14362 else
14363 no_cache=1
14364 fi
14365
14366 ac_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14367
14368 fi;
14369
14370 eval "$ac_cv_use_tga"
14371 if test "$no_cache" != 1; then
14372 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
14373 fi
14374
14375 if test x"$enablestring" = xdisable; then
14376 if test $wxUSE_TGA = yes; then
14377 result=no
14378 else
14379 result=yes
14380 fi
14381 else
14382 result=$wxUSE_TGA
14383 fi
14384
14385 echo "$as_me:$LINENO: result: $result" >&5
14386 echo "${ECHO_T}$result" >&6
14387
14388
14389 enablestring=
14390 defaultval=$wxUSE_ALL_FEATURES
14391 if test -z"$defaultval"; then
14392 if test x"$enablestring" = xdisable; then
14393 defaultval=yes
14394 else
14395 defaultval=no
14396 fi
14397 fi
14398
14399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14400 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
14401 no_cache=0
14402 # Check whether --enable-iff or --disable-iff was given.
14403 if test "${enable_iff+set}" = set; then
14404 enableval="$enable_iff"
14405
14406 if test "$enableval" = yes; then
14407 ac_cv_use_iff='wxUSE_IFF=yes'
14408 else
14409 ac_cv_use_iff='wxUSE_IFF=no'
14410 fi
14411
14412 else
14413
14414 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
14415 if test "x$LINE" != x ; then
14416 eval "DEFAULT_$LINE"
14417 else
14418 no_cache=1
14419 fi
14420
14421 ac_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14422
14423 fi;
14424
14425 eval "$ac_cv_use_iff"
14426 if test "$no_cache" != 1; then
14427 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
14428 fi
14429
14430 if test x"$enablestring" = xdisable; then
14431 if test $wxUSE_IFF = yes; then
14432 result=no
14433 else
14434 result=yes
14435 fi
14436 else
14437 result=$wxUSE_IFF
14438 fi
14439
14440 echo "$as_me:$LINENO: result: $result" >&5
14441 echo "${ECHO_T}$result" >&6
14442
14443
14444 enablestring=
14445 defaultval=$wxUSE_ALL_FEATURES
14446 if test -z"$defaultval"; then
14447 if test x"$enablestring" = xdisable; then
14448 defaultval=yes
14449 else
14450 defaultval=no
14451 fi
14452 fi
14453
14454 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14455 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
14456 no_cache=0
14457 # Check whether --enable-pnm or --disable-pnm was given.
14458 if test "${enable_pnm+set}" = set; then
14459 enableval="$enable_pnm"
14460
14461 if test "$enableval" = yes; then
14462 ac_cv_use_pnm='wxUSE_PNM=yes'
14463 else
14464 ac_cv_use_pnm='wxUSE_PNM=no'
14465 fi
14466
14467 else
14468
14469 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
14470 if test "x$LINE" != x ; then
14471 eval "DEFAULT_$LINE"
14472 else
14473 no_cache=1
14474 fi
14475
14476 ac_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14477
14478 fi;
14479
14480 eval "$ac_cv_use_pnm"
14481 if test "$no_cache" != 1; then
14482 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
14483 fi
14484
14485 if test x"$enablestring" = xdisable; then
14486 if test $wxUSE_PNM = yes; then
14487 result=no
14488 else
14489 result=yes
14490 fi
14491 else
14492 result=$wxUSE_PNM
14493 fi
14494
14495 echo "$as_me:$LINENO: result: $result" >&5
14496 echo "${ECHO_T}$result" >&6
14497
14498
14499 enablestring=
14500 defaultval=$wxUSE_ALL_FEATURES
14501 if test -z"$defaultval"; then
14502 if test x"$enablestring" = xdisable; then
14503 defaultval=yes
14504 else
14505 defaultval=no
14506 fi
14507 fi
14508
14509 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14510 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
14511 no_cache=0
14512 # Check whether --enable-xpm or --disable-xpm was given.
14513 if test "${enable_xpm+set}" = set; then
14514 enableval="$enable_xpm"
14515
14516 if test "$enableval" = yes; then
14517 ac_cv_use_xpm='wxUSE_XPM=yes'
14518 else
14519 ac_cv_use_xpm='wxUSE_XPM=no'
14520 fi
14521
14522 else
14523
14524 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
14525 if test "x$LINE" != x ; then
14526 eval "DEFAULT_$LINE"
14527 else
14528 no_cache=1
14529 fi
14530
14531 ac_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14532
14533 fi;
14534
14535 eval "$ac_cv_use_xpm"
14536 if test "$no_cache" != 1; then
14537 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
14538 fi
14539
14540 if test x"$enablestring" = xdisable; then
14541 if test $wxUSE_XPM = yes; then
14542 result=no
14543 else
14544 result=yes
14545 fi
14546 else
14547 result=$wxUSE_XPM
14548 fi
14549
14550 echo "$as_me:$LINENO: result: $result" >&5
14551 echo "${ECHO_T}$result" >&6
14552
14553
14554 enablestring=
14555 defaultval=$wxUSE_ALL_FEATURES
14556 if test -z"$defaultval"; then
14557 if test x"$enablestring" = xdisable; then
14558 defaultval=yes
14559 else
14560 defaultval=no
14561 fi
14562 fi
14563
14564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14565 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
14566 no_cache=0
14567 # Check whether --enable-ico_cur or --disable-ico_cur was given.
14568 if test "${enable_ico_cur+set}" = set; then
14569 enableval="$enable_ico_cur"
14570
14571 if test "$enableval" = yes; then
14572 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14573 else
14574 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14575 fi
14576
14577 else
14578
14579 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
14580 if test "x$LINE" != x ; then
14581 eval "DEFAULT_$LINE"
14582 else
14583 no_cache=1
14584 fi
14585
14586 ac_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14587
14588 fi;
14589
14590 eval "$ac_cv_use_ico_cur"
14591 if test "$no_cache" != 1; then
14592 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
14593 fi
14594
14595 if test x"$enablestring" = xdisable; then
14596 if test $wxUSE_ICO_CUR = yes; then
14597 result=no
14598 else
14599 result=yes
14600 fi
14601 else
14602 result=$wxUSE_ICO_CUR
14603 fi
14604
14605 echo "$as_me:$LINENO: result: $result" >&5
14606 echo "${ECHO_T}$result" >&6
14607
14608
14609 fi
14610
14611
14612 echo "saving argument cache $wx_arg_cache_file"
14613 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
14614
14615
14616
14617 echo "$as_me:$LINENO: checking for toolkit" >&5
14618 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
14619
14620 # In Wine, we need to default to MSW, not GTK or MOTIF
14621 if test "$wxUSE_WINE" = "yes"; then
14622 DEFAULT_DEFAULT_wxUSE_GTK=0
14623 DEFAULT_DEFAULT_wxUSE_MOTIF=0
14624 DEFAULT_DEFAULT_wxUSE_MSW=1
14625 wxUSE_SHARED=no
14626 CC=${CC:-winegcc}
14627 CXX=${CXX:-wineg++}
14628 fi
14629
14630
14631 if test "$wxUSE_GUI" = "yes"; then
14632
14633 if test "$USE_BEOS" = 1; then
14634 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
14635 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
14636 { (exit 1); exit 1; }; }
14637 fi
14638
14639 if test "$TOOLKIT_GIVEN" = 1; then
14640 for toolkit in `echo $ALL_TOOLKITS`; do
14641 var=wxUSE_$toolkit
14642 eval "value=\$${var}"
14643 if test "x$value" = "xno"; then
14644 eval "$var=0"
14645 elif test "x$value" != "x"; then
14646 eval "$var=1"
14647 fi
14648
14649 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
14650 eval "wx${toolkit}_VERSION=$value"
14651 fi
14652 done
14653 else
14654 for toolkit in `echo $ALL_TOOLKITS`; do
14655 if test "$has_toolkit_in_cache" != 1; then
14656 var=DEFAULT_DEFAULT_wxUSE_$toolkit
14657 else
14658 var=DEFAULT_wxUSE_$toolkit
14659
14660 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
14661 if test "x$version" != "x"; then
14662 eval "wx${toolkit}_VERSION=$version"
14663 fi
14664 fi
14665 eval "wxUSE_$toolkit=\$${var}"
14666 done
14667 fi
14668
14669 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
14670 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
14671 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
14672
14673 case "${host}" in
14674 *-pc-os2_emx | *-pc-os2-emx )
14675 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
14676 esac
14677
14678 case "$NUM_TOOLKITS" in
14679 1)
14680 ;;
14681 0)
14682 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
14683 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
14684 { (exit 1); exit 1; }; }
14685 ;;
14686 *)
14687 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
14688 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
14689 { (exit 1); exit 1; }; }
14690 esac
14691
14692 # to be removed when --disable-gtk2 isn't needed
14693 if test "x$wxUSE_GTK2" = "xyes"; then
14694 wxGTK_VERSION=2
14695 elif test "x$wxUSE_GTK2" = "xno"; then
14696 wxGTK_VERSION=1
14697 fi
14698
14699 for toolkit in `echo $ALL_TOOLKITS`; do
14700 var=wxUSE_$toolkit
14701 eval "value=\$${var}"
14702 if test "x$value" != x; then
14703 cache_var=CACHE_$toolkit
14704 eval "cache=\$${cache_var}"
14705 if test "$cache" = 1; then
14706 echo "$var=$value" >> ${wx_arg_cache_file}
14707 eval "version=\$wx${toolkit}_VERSION"
14708 if test "x$version" != "x"; then
14709 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
14710 fi
14711 fi
14712 if test "$value" = 1; then
14713 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
14714 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
14715 echo "${ECHO_T}$toolkit_echo" >&6
14716 fi
14717 fi
14718 done
14719 else
14720 if test "x$host_alias" != "x"; then
14721 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
14722 echo "${ECHO_T}base ($host_alias hosted) only" >&6
14723 else
14724 echo "$as_me:$LINENO: result: base only" >&5
14725 echo "${ECHO_T}base only" >&6
14726 fi
14727 fi
14728
14729
14730 cat >confcache <<\_ACEOF
14731 # This file is a shell script that caches the results of configure
14732 # tests run on this system so they can be shared between configure
14733 # scripts and configure runs, see configure's option --config-cache.
14734 # It is not useful on other systems. If it contains results you don't
14735 # want to keep, you may remove or edit it.
14736 #
14737 # config.status only pays attention to the cache file if you give it
14738 # the --recheck option to rerun configure.
14739 #
14740 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14741 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14742 # following values.
14743
14744 _ACEOF
14745
14746 # The following way of writing the cache mishandles newlines in values,
14747 # but we know of no workaround that is simple, portable, and efficient.
14748 # So, don't put newlines in cache variables' values.
14749 # Ultrix sh set writes to stderr and can't be redirected directly,
14750 # and sets the high bit in the cache file unless we assign to the vars.
14751 {
14752 (set) 2>&1 |
14753 case `(ac_space=' '; set | grep ac_space) 2>&1` in
14754 *ac_space=\ *)
14755 # `set' does not quote correctly, so add quotes (double-quote
14756 # substitution turns \\\\ into \\, and sed turns \\ into \).
14757 sed -n \
14758 "s/'/'\\\\''/g;
14759 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14760 ;;
14761 *)
14762 # `set' quotes correctly as required by POSIX, so do not add quotes.
14763 sed -n \
14764 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
14765 ;;
14766 esac;
14767 } |
14768 sed '
14769 t clear
14770 : clear
14771 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14772 t end
14773 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14774 : end' >>confcache
14775 if diff $cache_file confcache >/dev/null 2>&1; then :; else
14776 if test -w $cache_file; then
14777 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
14778 cat confcache >$cache_file
14779 else
14780 echo "not updating unwritable cache $cache_file"
14781 fi
14782 fi
14783 rm -f confcache
14784
14785 CFLAGS=${CFLAGS:=}
14786
14787
14788
14789 ac_ext=c
14790 ac_cpp='$CPP $CPPFLAGS'
14791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14794 if test -n "$ac_tool_prefix"; then
14795 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
14796 set dummy ${ac_tool_prefix}gcc; ac_word=$2
14797 echo "$as_me:$LINENO: checking for $ac_word" >&5
14798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14799 if test "${ac_cv_prog_CC+set}" = set; then
14800 echo $ECHO_N "(cached) $ECHO_C" >&6
14801 else
14802 if test -n "$CC"; then
14803 ac_cv_prog_CC="$CC" # Let the user override the test.
14804 else
14805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14806 for as_dir in $PATH
14807 do
14808 IFS=$as_save_IFS
14809 test -z "$as_dir" && as_dir=.
14810 for ac_exec_ext in '' $ac_executable_extensions; do
14811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14812 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14814 break 2
14815 fi
14816 done
14817 done
14818
14819 fi
14820 fi
14821 CC=$ac_cv_prog_CC
14822 if test -n "$CC"; then
14823 echo "$as_me:$LINENO: result: $CC" >&5
14824 echo "${ECHO_T}$CC" >&6
14825 else
14826 echo "$as_me:$LINENO: result: no" >&5
14827 echo "${ECHO_T}no" >&6
14828 fi
14829
14830 fi
14831 if test -z "$ac_cv_prog_CC"; then
14832 ac_ct_CC=$CC
14833 # Extract the first word of "gcc", so it can be a program name with args.
14834 set dummy gcc; ac_word=$2
14835 echo "$as_me:$LINENO: checking for $ac_word" >&5
14836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14837 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14838 echo $ECHO_N "(cached) $ECHO_C" >&6
14839 else
14840 if test -n "$ac_ct_CC"; then
14841 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14842 else
14843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14844 for as_dir in $PATH
14845 do
14846 IFS=$as_save_IFS
14847 test -z "$as_dir" && as_dir=.
14848 for ac_exec_ext in '' $ac_executable_extensions; do
14849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14850 ac_cv_prog_ac_ct_CC="gcc"
14851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14852 break 2
14853 fi
14854 done
14855 done
14856
14857 fi
14858 fi
14859 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14860 if test -n "$ac_ct_CC"; then
14861 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14862 echo "${ECHO_T}$ac_ct_CC" >&6
14863 else
14864 echo "$as_me:$LINENO: result: no" >&5
14865 echo "${ECHO_T}no" >&6
14866 fi
14867
14868 CC=$ac_ct_CC
14869 else
14870 CC="$ac_cv_prog_CC"
14871 fi
14872
14873 if test -z "$CC"; then
14874 if test -n "$ac_tool_prefix"; then
14875 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14876 set dummy ${ac_tool_prefix}cc; ac_word=$2
14877 echo "$as_me:$LINENO: checking for $ac_word" >&5
14878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14879 if test "${ac_cv_prog_CC+set}" = set; then
14880 echo $ECHO_N "(cached) $ECHO_C" >&6
14881 else
14882 if test -n "$CC"; then
14883 ac_cv_prog_CC="$CC" # Let the user override the test.
14884 else
14885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14886 for as_dir in $PATH
14887 do
14888 IFS=$as_save_IFS
14889 test -z "$as_dir" && as_dir=.
14890 for ac_exec_ext in '' $ac_executable_extensions; do
14891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14892 ac_cv_prog_CC="${ac_tool_prefix}cc"
14893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14894 break 2
14895 fi
14896 done
14897 done
14898
14899 fi
14900 fi
14901 CC=$ac_cv_prog_CC
14902 if test -n "$CC"; then
14903 echo "$as_me:$LINENO: result: $CC" >&5
14904 echo "${ECHO_T}$CC" >&6
14905 else
14906 echo "$as_me:$LINENO: result: no" >&5
14907 echo "${ECHO_T}no" >&6
14908 fi
14909
14910 fi
14911 if test -z "$ac_cv_prog_CC"; then
14912 ac_ct_CC=$CC
14913 # Extract the first word of "cc", so it can be a program name with args.
14914 set dummy cc; ac_word=$2
14915 echo "$as_me:$LINENO: checking for $ac_word" >&5
14916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14917 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14918 echo $ECHO_N "(cached) $ECHO_C" >&6
14919 else
14920 if test -n "$ac_ct_CC"; then
14921 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14922 else
14923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14924 for as_dir in $PATH
14925 do
14926 IFS=$as_save_IFS
14927 test -z "$as_dir" && as_dir=.
14928 for ac_exec_ext in '' $ac_executable_extensions; do
14929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14930 ac_cv_prog_ac_ct_CC="cc"
14931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14932 break 2
14933 fi
14934 done
14935 done
14936
14937 fi
14938 fi
14939 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14940 if test -n "$ac_ct_CC"; then
14941 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14942 echo "${ECHO_T}$ac_ct_CC" >&6
14943 else
14944 echo "$as_me:$LINENO: result: no" >&5
14945 echo "${ECHO_T}no" >&6
14946 fi
14947
14948 CC=$ac_ct_CC
14949 else
14950 CC="$ac_cv_prog_CC"
14951 fi
14952
14953 fi
14954 if test -z "$CC"; then
14955 # Extract the first word of "cc", so it can be a program name with args.
14956 set dummy cc; ac_word=$2
14957 echo "$as_me:$LINENO: checking for $ac_word" >&5
14958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14959 if test "${ac_cv_prog_CC+set}" = set; then
14960 echo $ECHO_N "(cached) $ECHO_C" >&6
14961 else
14962 if test -n "$CC"; then
14963 ac_cv_prog_CC="$CC" # Let the user override the test.
14964 else
14965 ac_prog_rejected=no
14966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14967 for as_dir in $PATH
14968 do
14969 IFS=$as_save_IFS
14970 test -z "$as_dir" && as_dir=.
14971 for ac_exec_ext in '' $ac_executable_extensions; do
14972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14973 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14974 ac_prog_rejected=yes
14975 continue
14976 fi
14977 ac_cv_prog_CC="cc"
14978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14979 break 2
14980 fi
14981 done
14982 done
14983
14984 if test $ac_prog_rejected = yes; then
14985 # We found a bogon in the path, so make sure we never use it.
14986 set dummy $ac_cv_prog_CC
14987 shift
14988 if test $# != 0; then
14989 # We chose a different compiler from the bogus one.
14990 # However, it has the same basename, so the bogon will be chosen
14991 # first if we set CC to just the basename; use the full file name.
14992 shift
14993 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14994 fi
14995 fi
14996 fi
14997 fi
14998 CC=$ac_cv_prog_CC
14999 if test -n "$CC"; then
15000 echo "$as_me:$LINENO: result: $CC" >&5
15001 echo "${ECHO_T}$CC" >&6
15002 else
15003 echo "$as_me:$LINENO: result: no" >&5
15004 echo "${ECHO_T}no" >&6
15005 fi
15006
15007 fi
15008 if test -z "$CC"; then
15009 if test -n "$ac_tool_prefix"; then
15010 for ac_prog in cl
15011 do
15012 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15013 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15014 echo "$as_me:$LINENO: checking for $ac_word" >&5
15015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15016 if test "${ac_cv_prog_CC+set}" = set; then
15017 echo $ECHO_N "(cached) $ECHO_C" >&6
15018 else
15019 if test -n "$CC"; then
15020 ac_cv_prog_CC="$CC" # Let the user override the test.
15021 else
15022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15023 for as_dir in $PATH
15024 do
15025 IFS=$as_save_IFS
15026 test -z "$as_dir" && as_dir=.
15027 for ac_exec_ext in '' $ac_executable_extensions; do
15028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15029 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15031 break 2
15032 fi
15033 done
15034 done
15035
15036 fi
15037 fi
15038 CC=$ac_cv_prog_CC
15039 if test -n "$CC"; then
15040 echo "$as_me:$LINENO: result: $CC" >&5
15041 echo "${ECHO_T}$CC" >&6
15042 else
15043 echo "$as_me:$LINENO: result: no" >&5
15044 echo "${ECHO_T}no" >&6
15045 fi
15046
15047 test -n "$CC" && break
15048 done
15049 fi
15050 if test -z "$CC"; then
15051 ac_ct_CC=$CC
15052 for ac_prog in cl
15053 do
15054 # Extract the first word of "$ac_prog", so it can be a program name with args.
15055 set dummy $ac_prog; ac_word=$2
15056 echo "$as_me:$LINENO: checking for $ac_word" >&5
15057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15058 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15059 echo $ECHO_N "(cached) $ECHO_C" >&6
15060 else
15061 if test -n "$ac_ct_CC"; then
15062 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15063 else
15064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15065 for as_dir in $PATH
15066 do
15067 IFS=$as_save_IFS
15068 test -z "$as_dir" && as_dir=.
15069 for ac_exec_ext in '' $ac_executable_extensions; do
15070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15071 ac_cv_prog_ac_ct_CC="$ac_prog"
15072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15073 break 2
15074 fi
15075 done
15076 done
15077
15078 fi
15079 fi
15080 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15081 if test -n "$ac_ct_CC"; then
15082 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15083 echo "${ECHO_T}$ac_ct_CC" >&6
15084 else
15085 echo "$as_me:$LINENO: result: no" >&5
15086 echo "${ECHO_T}no" >&6
15087 fi
15088
15089 test -n "$ac_ct_CC" && break
15090 done
15091
15092 CC=$ac_ct_CC
15093 fi
15094
15095 fi
15096
15097
15098 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15099 See \`config.log' for more details." >&5
15100 echo "$as_me: error: no acceptable C compiler found in \$PATH
15101 See \`config.log' for more details." >&2;}
15102 { (exit 1); exit 1; }; }
15103
15104 # Provide some information about the compiler.
15105 echo "$as_me:$LINENO:" \
15106 "checking for C compiler version" >&5
15107 ac_compiler=`set X $ac_compile; echo $2`
15108 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
15109 (eval $ac_compiler --version </dev/null >&5) 2>&5
15110 ac_status=$?
15111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15112 (exit $ac_status); }
15113 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
15114 (eval $ac_compiler -v </dev/null >&5) 2>&5
15115 ac_status=$?
15116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15117 (exit $ac_status); }
15118 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
15119 (eval $ac_compiler -V </dev/null >&5) 2>&5
15120 ac_status=$?
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); }
15123
15124 cat >conftest.$ac_ext <<_ACEOF
15125 /* confdefs.h. */
15126 _ACEOF
15127 cat confdefs.h >>conftest.$ac_ext
15128 cat >>conftest.$ac_ext <<_ACEOF
15129 /* end confdefs.h. */
15130
15131 int
15132 main ()
15133 {
15134
15135 ;
15136 return 0;
15137 }
15138 _ACEOF
15139 ac_clean_files_save=$ac_clean_files
15140 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15141 # Try to create an executable without -o first, disregard a.out.
15142 # It will help us diagnose broken compilers, and finding out an intuition
15143 # of exeext.
15144 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15145 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
15146 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15147 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
15148 (eval $ac_link_default) 2>&5
15149 ac_status=$?
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); }; then
15152 # Find the output, starting from the most likely. This scheme is
15153 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
15154 # resort.
15155
15156 # Be careful to initialize this variable, since it used to be cached.
15157 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
15158 ac_cv_exeext=
15159 # b.out is created by i960 compilers.
15160 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
15161 do
15162 test -f "$ac_file" || continue
15163 case $ac_file in
15164 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
15165 ;;
15166 conftest.$ac_ext )
15167 # This is the source file.
15168 ;;
15169 [ab].out )
15170 # We found the default executable, but exeext='' is most
15171 # certainly right.
15172 break;;
15173 *.* )
15174 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15175 # FIXME: I believe we export ac_cv_exeext for Libtool,
15176 # but it would be cool to find out if it's true. Does anybody
15177 # maintain Libtool? --akim.
15178 export ac_cv_exeext
15179 break;;
15180 * )
15181 break;;
15182 esac
15183 done
15184 else
15185 echo "$as_me: failed program was:" >&5
15186 sed 's/^/| /' conftest.$ac_ext >&5
15187
15188 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15189 See \`config.log' for more details." >&5
15190 echo "$as_me: error: C compiler cannot create executables
15191 See \`config.log' for more details." >&2;}
15192 { (exit 77); exit 77; }; }
15193 fi
15194
15195 ac_exeext=$ac_cv_exeext
15196 echo "$as_me:$LINENO: result: $ac_file" >&5
15197 echo "${ECHO_T}$ac_file" >&6
15198
15199 # Check the compiler produces executables we can run. If not, either
15200 # the compiler is broken, or we cross compile.
15201 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15202 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
15203 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15204 # If not cross compiling, check that we can run a simple program.
15205 if test "$cross_compiling" != yes; then
15206 if { ac_try='./$ac_file'
15207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15208 (eval $ac_try) 2>&5
15209 ac_status=$?
15210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15211 (exit $ac_status); }; }; then
15212 cross_compiling=no
15213 else
15214 if test "$cross_compiling" = maybe; then
15215 cross_compiling=yes
15216 else
15217 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15218 If you meant to cross compile, use \`--host'.
15219 See \`config.log' for more details." >&5
15220 echo "$as_me: error: cannot run C compiled programs.
15221 If you meant to cross compile, use \`--host'.
15222 See \`config.log' for more details." >&2;}
15223 { (exit 1); exit 1; }; }
15224 fi
15225 fi
15226 fi
15227 echo "$as_me:$LINENO: result: yes" >&5
15228 echo "${ECHO_T}yes" >&6
15229
15230 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15231 ac_clean_files=$ac_clean_files_save
15232 # Check the compiler produces executables we can run. If not, either
15233 # the compiler is broken, or we cross compile.
15234 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15235 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
15236 echo "$as_me:$LINENO: result: $cross_compiling" >&5
15237 echo "${ECHO_T}$cross_compiling" >&6
15238
15239 echo "$as_me:$LINENO: checking for suffix of executables" >&5
15240 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
15241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15242 (eval $ac_link) 2>&5
15243 ac_status=$?
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; then
15246 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15247 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15248 # work properly (i.e., refer to `conftest.exe'), while it won't with
15249 # `rm'.
15250 for ac_file in conftest.exe conftest conftest.*; do
15251 test -f "$ac_file" || continue
15252 case $ac_file in
15253 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
15254 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15255 export ac_cv_exeext
15256 break;;
15257 * ) break;;
15258 esac
15259 done
15260 else
15261 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15262 See \`config.log' for more details." >&5
15263 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15264 See \`config.log' for more details." >&2;}
15265 { (exit 1); exit 1; }; }
15266 fi
15267
15268 rm -f conftest$ac_cv_exeext
15269 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15270 echo "${ECHO_T}$ac_cv_exeext" >&6
15271
15272 rm -f conftest.$ac_ext
15273 EXEEXT=$ac_cv_exeext
15274 ac_exeext=$EXEEXT
15275 echo "$as_me:$LINENO: checking for suffix of object files" >&5
15276 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
15277 if test "${ac_cv_objext+set}" = set; then
15278 echo $ECHO_N "(cached) $ECHO_C" >&6
15279 else
15280 cat >conftest.$ac_ext <<_ACEOF
15281 /* confdefs.h. */
15282 _ACEOF
15283 cat confdefs.h >>conftest.$ac_ext
15284 cat >>conftest.$ac_ext <<_ACEOF
15285 /* end confdefs.h. */
15286
15287 int
15288 main ()
15289 {
15290
15291 ;
15292 return 0;
15293 }
15294 _ACEOF
15295 rm -f conftest.o conftest.obj
15296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15297 (eval $ac_compile) 2>&5
15298 ac_status=$?
15299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15300 (exit $ac_status); }; then
15301 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
15302 case $ac_file in
15303 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
15304 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15305 break;;
15306 esac
15307 done
15308 else
15309 echo "$as_me: failed program was:" >&5
15310 sed 's/^/| /' conftest.$ac_ext >&5
15311
15312 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15313 See \`config.log' for more details." >&5
15314 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15315 See \`config.log' for more details." >&2;}
15316 { (exit 1); exit 1; }; }
15317 fi
15318
15319 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15320 fi
15321 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15322 echo "${ECHO_T}$ac_cv_objext" >&6
15323 OBJEXT=$ac_cv_objext
15324 ac_objext=$OBJEXT
15325 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15326 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
15327 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15328 echo $ECHO_N "(cached) $ECHO_C" >&6
15329 else
15330 cat >conftest.$ac_ext <<_ACEOF
15331 /* confdefs.h. */
15332 _ACEOF
15333 cat confdefs.h >>conftest.$ac_ext
15334 cat >>conftest.$ac_ext <<_ACEOF
15335 /* end confdefs.h. */
15336
15337 int
15338 main ()
15339 {
15340 #ifndef __GNUC__
15341 choke me
15342 #endif
15343
15344 ;
15345 return 0;
15346 }
15347 _ACEOF
15348 rm -f conftest.$ac_objext
15349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15350 (eval $ac_compile) 2>conftest.er1
15351 ac_status=$?
15352 grep -v '^ *+' conftest.er1 >conftest.err
15353 rm -f conftest.er1
15354 cat conftest.err >&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); } &&
15357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15359 (eval $ac_try) 2>&5
15360 ac_status=$?
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); }; } &&
15363 { ac_try='test -s conftest.$ac_objext'
15364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15365 (eval $ac_try) 2>&5
15366 ac_status=$?
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); }; }; then
15369 ac_compiler_gnu=yes
15370 else
15371 echo "$as_me: failed program was:" >&5
15372 sed 's/^/| /' conftest.$ac_ext >&5
15373
15374 ac_compiler_gnu=no
15375 fi
15376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15377 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15378
15379 fi
15380 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15381 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
15382 GCC=`test $ac_compiler_gnu = yes && echo yes`
15383 ac_test_CFLAGS=${CFLAGS+set}
15384 ac_save_CFLAGS=$CFLAGS
15385 CFLAGS="-g"
15386 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15387 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15388 if test "${ac_cv_prog_cc_g+set}" = set; then
15389 echo $ECHO_N "(cached) $ECHO_C" >&6
15390 else
15391 cat >conftest.$ac_ext <<_ACEOF
15392 /* confdefs.h. */
15393 _ACEOF
15394 cat confdefs.h >>conftest.$ac_ext
15395 cat >>conftest.$ac_ext <<_ACEOF
15396 /* end confdefs.h. */
15397
15398 int
15399 main ()
15400 {
15401
15402 ;
15403 return 0;
15404 }
15405 _ACEOF
15406 rm -f conftest.$ac_objext
15407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15408 (eval $ac_compile) 2>conftest.er1
15409 ac_status=$?
15410 grep -v '^ *+' conftest.er1 >conftest.err
15411 rm -f conftest.er1
15412 cat conftest.err >&5
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); } &&
15415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15417 (eval $ac_try) 2>&5
15418 ac_status=$?
15419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15420 (exit $ac_status); }; } &&
15421 { ac_try='test -s conftest.$ac_objext'
15422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15423 (eval $ac_try) 2>&5
15424 ac_status=$?
15425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15426 (exit $ac_status); }; }; then
15427 ac_cv_prog_cc_g=yes
15428 else
15429 echo "$as_me: failed program was:" >&5
15430 sed 's/^/| /' conftest.$ac_ext >&5
15431
15432 ac_cv_prog_cc_g=no
15433 fi
15434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15435 fi
15436 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15437 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
15438 if test "$ac_test_CFLAGS" = set; then
15439 CFLAGS=$ac_save_CFLAGS
15440 elif test $ac_cv_prog_cc_g = yes; then
15441 if test "$GCC" = yes; then
15442 CFLAGS="-g -O2"
15443 else
15444 CFLAGS="-g"
15445 fi
15446 else
15447 if test "$GCC" = yes; then
15448 CFLAGS="-O2"
15449 else
15450 CFLAGS=
15451 fi
15452 fi
15453 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
15454 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
15455 if test "${ac_cv_prog_cc_stdc+set}" = set; then
15456 echo $ECHO_N "(cached) $ECHO_C" >&6
15457 else
15458 ac_cv_prog_cc_stdc=no
15459 ac_save_CC=$CC
15460 cat >conftest.$ac_ext <<_ACEOF
15461 /* confdefs.h. */
15462 _ACEOF
15463 cat confdefs.h >>conftest.$ac_ext
15464 cat >>conftest.$ac_ext <<_ACEOF
15465 /* end confdefs.h. */
15466 #include <stdarg.h>
15467 #include <stdio.h>
15468 #include <sys/types.h>
15469 #include <sys/stat.h>
15470 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15471 struct buf { int x; };
15472 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15473 static char *e (p, i)
15474 char **p;
15475 int i;
15476 {
15477 return p[i];
15478 }
15479 static char *f (char * (*g) (char **, int), char **p, ...)
15480 {
15481 char *s;
15482 va_list v;
15483 va_start (v,p);
15484 s = g (p, va_arg (v,int));
15485 va_end (v);
15486 return s;
15487 }
15488
15489 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15490 function prototypes and stuff, but not '\xHH' hex character constants.
15491 These don't provoke an error unfortunately, instead are silently treated
15492 as 'x'. The following induces an error, until -std1 is added to get
15493 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15494 array size at least. It's necessary to write '\x00'==0 to get something
15495 that's true only with -std1. */
15496 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15497
15498 int test (int i, double x);
15499 struct s1 {int (*f) (int a);};
15500 struct s2 {int (*f) (double a);};
15501 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15502 int argc;
15503 char **argv;
15504 int
15505 main ()
15506 {
15507 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15508 ;
15509 return 0;
15510 }
15511 _ACEOF
15512 # Don't try gcc -ansi; that turns off useful extensions and
15513 # breaks some systems' header files.
15514 # AIX -qlanglvl=ansi
15515 # Ultrix and OSF/1 -std1
15516 # HP-UX 10.20 and later -Ae
15517 # HP-UX older versions -Aa -D_HPUX_SOURCE
15518 # SVR4 -Xc -D__EXTENSIONS__
15519 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15520 do
15521 CC="$ac_save_CC $ac_arg"
15522 rm -f conftest.$ac_objext
15523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15524 (eval $ac_compile) 2>conftest.er1
15525 ac_status=$?
15526 grep -v '^ *+' conftest.er1 >conftest.err
15527 rm -f conftest.er1
15528 cat conftest.err >&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } &&
15531 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15533 (eval $ac_try) 2>&5
15534 ac_status=$?
15535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15536 (exit $ac_status); }; } &&
15537 { ac_try='test -s conftest.$ac_objext'
15538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15539 (eval $ac_try) 2>&5
15540 ac_status=$?
15541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15542 (exit $ac_status); }; }; then
15543 ac_cv_prog_cc_stdc=$ac_arg
15544 break
15545 else
15546 echo "$as_me: failed program was:" >&5
15547 sed 's/^/| /' conftest.$ac_ext >&5
15548
15549 fi
15550 rm -f conftest.err conftest.$ac_objext
15551 done
15552 rm -f conftest.$ac_ext conftest.$ac_objext
15553 CC=$ac_save_CC
15554
15555 fi
15556
15557 case "x$ac_cv_prog_cc_stdc" in
15558 x|xno)
15559 echo "$as_me:$LINENO: result: none needed" >&5
15560 echo "${ECHO_T}none needed" >&6 ;;
15561 *)
15562 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
15563 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
15564 CC="$CC $ac_cv_prog_cc_stdc" ;;
15565 esac
15566
15567 # Some people use a C++ compiler to compile C. Since we use `exit',
15568 # in C++ we need to declare it. In case someone uses the same compiler
15569 # for both compiling C and C++ we need to have the C++ compiler decide
15570 # the declaration of exit, since it's the most demanding environment.
15571 cat >conftest.$ac_ext <<_ACEOF
15572 #ifndef __cplusplus
15573 choke me
15574 #endif
15575 _ACEOF
15576 rm -f conftest.$ac_objext
15577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15578 (eval $ac_compile) 2>conftest.er1
15579 ac_status=$?
15580 grep -v '^ *+' conftest.er1 >conftest.err
15581 rm -f conftest.er1
15582 cat conftest.err >&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); } &&
15585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15587 (eval $ac_try) 2>&5
15588 ac_status=$?
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); }; } &&
15591 { ac_try='test -s conftest.$ac_objext'
15592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15593 (eval $ac_try) 2>&5
15594 ac_status=$?
15595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); }; }; then
15597 for ac_declaration in \
15598 '' \
15599 'extern "C" void std::exit (int) throw (); using std::exit;' \
15600 'extern "C" void std::exit (int); using std::exit;' \
15601 'extern "C" void exit (int) throw ();' \
15602 'extern "C" void exit (int);' \
15603 'void exit (int);'
15604 do
15605 cat >conftest.$ac_ext <<_ACEOF
15606 /* confdefs.h. */
15607 _ACEOF
15608 cat confdefs.h >>conftest.$ac_ext
15609 cat >>conftest.$ac_ext <<_ACEOF
15610 /* end confdefs.h. */
15611 $ac_declaration
15612 #include <stdlib.h>
15613 int
15614 main ()
15615 {
15616 exit (42);
15617 ;
15618 return 0;
15619 }
15620 _ACEOF
15621 rm -f conftest.$ac_objext
15622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15623 (eval $ac_compile) 2>conftest.er1
15624 ac_status=$?
15625 grep -v '^ *+' conftest.er1 >conftest.err
15626 rm -f conftest.er1
15627 cat conftest.err >&5
15628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15629 (exit $ac_status); } &&
15630 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15632 (eval $ac_try) 2>&5
15633 ac_status=$?
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); }; } &&
15636 { ac_try='test -s conftest.$ac_objext'
15637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15638 (eval $ac_try) 2>&5
15639 ac_status=$?
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); }; }; then
15642 :
15643 else
15644 echo "$as_me: failed program was:" >&5
15645 sed 's/^/| /' conftest.$ac_ext >&5
15646
15647 continue
15648 fi
15649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15650 cat >conftest.$ac_ext <<_ACEOF
15651 /* confdefs.h. */
15652 _ACEOF
15653 cat confdefs.h >>conftest.$ac_ext
15654 cat >>conftest.$ac_ext <<_ACEOF
15655 /* end confdefs.h. */
15656 $ac_declaration
15657 int
15658 main ()
15659 {
15660 exit (42);
15661 ;
15662 return 0;
15663 }
15664 _ACEOF
15665 rm -f conftest.$ac_objext
15666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15667 (eval $ac_compile) 2>conftest.er1
15668 ac_status=$?
15669 grep -v '^ *+' conftest.er1 >conftest.err
15670 rm -f conftest.er1
15671 cat conftest.err >&5
15672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673 (exit $ac_status); } &&
15674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15676 (eval $ac_try) 2>&5
15677 ac_status=$?
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); }; } &&
15680 { ac_try='test -s conftest.$ac_objext'
15681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15682 (eval $ac_try) 2>&5
15683 ac_status=$?
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); }; }; then
15686 break
15687 else
15688 echo "$as_me: failed program was:" >&5
15689 sed 's/^/| /' conftest.$ac_ext >&5
15690
15691 fi
15692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15693 done
15694 rm -f conftest*
15695 if test -n "$ac_declaration"; then
15696 echo '#ifdef __cplusplus' >>confdefs.h
15697 echo $ac_declaration >>confdefs.h
15698 echo '#endif' >>confdefs.h
15699 fi
15700
15701 else
15702 echo "$as_me: failed program was:" >&5
15703 sed 's/^/| /' conftest.$ac_ext >&5
15704
15705 fi
15706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15707 ac_ext=c
15708 ac_cpp='$CPP $CPPFLAGS'
15709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15712
15713
15714
15715
15716 ac_ext=c
15717 ac_cpp='$CPP $CPPFLAGS'
15718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15721
15722 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
15723 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
15724 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
15725 echo $ECHO_N "(cached) $ECHO_C" >&6
15726 else
15727 cat >conftest.$ac_ext <<_ACEOF
15728 /* confdefs.h. */
15729 _ACEOF
15730 cat confdefs.h >>conftest.$ac_ext
15731 cat >>conftest.$ac_ext <<_ACEOF
15732 /* end confdefs.h. */
15733
15734 int
15735 main ()
15736 {
15737
15738 #ifndef __INTEL_COMPILER
15739 choke me
15740 #endif
15741
15742 ;
15743 return 0;
15744 }
15745 _ACEOF
15746 rm -f conftest.$ac_objext
15747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15748 (eval $ac_compile) 2>conftest.er1
15749 ac_status=$?
15750 grep -v '^ *+' conftest.er1 >conftest.err
15751 rm -f conftest.er1
15752 cat conftest.err >&5
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); } &&
15755 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15757 (eval $ac_try) 2>&5
15758 ac_status=$?
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); }; } &&
15761 { ac_try='test -s conftest.$ac_objext'
15762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15763 (eval $ac_try) 2>&5
15764 ac_status=$?
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); }; }; then
15767 bakefile_cv_c_compiler___INTEL_COMPILER=yes
15768 else
15769 echo "$as_me: failed program was:" >&5
15770 sed 's/^/| /' conftest.$ac_ext >&5
15771
15772 bakefile_cv_c_compiler___INTEL_COMPILER=no
15773
15774 fi
15775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15776
15777
15778 fi
15779 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
15780 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
15781 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15782 :; INTELCC=yes
15783 else
15784 :;
15785 fi
15786 ac_ext=c
15787 ac_cpp='$CPP $CPPFLAGS'
15788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15791
15792
15793
15794
15795 if test "x$GCC" != "xyes"; then
15796 if test "xCC" = "xC"; then
15797 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15798 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
15799 if test "${bakefile_cv_c_exto+set}" = set; then
15800 echo $ECHO_N "(cached) $ECHO_C" >&6
15801 else
15802 cat >conftest.$ac_ext <<_ACEOF
15803 /* confdefs.h. */
15804 _ACEOF
15805 cat confdefs.h >>conftest.$ac_ext
15806 cat >>conftest.$ac_ext <<_ACEOF
15807 /* end confdefs.h. */
15808
15809 int
15810 main ()
15811 {
15812
15813 ;
15814 return 0;
15815 }
15816 _ACEOF
15817 rm -f conftest.$ac_objext conftest.$ac_ext.o
15818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15819 (eval $ac_compile) 2>&5
15820 ac_status=$?
15821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15822 (exit $ac_status); }; then
15823 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15824 case $ac_file in
15825 conftest.$ac_ext.o)
15826 bakefile_cv_c_exto="-ext o"
15827 ;;
15828 *)
15829 ;;
15830 esac
15831 done
15832 else
15833 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15834 See \`config.log' for more details." >&5
15835 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15836 See \`config.log' for more details." >&2;}
15837 { (exit 1); exit 1; }; }
15838
15839 fi
15840
15841 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15842
15843 fi
15844 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15845 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
15846 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15847 if test "c" = "c"; then
15848 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15849 fi
15850 if test "c" = "cxx"; then
15851 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15852 fi
15853 fi
15854
15855 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15856 unset ac_cv_prog_cc_g
15857 ac_test_CFLAGS=${CFLAGS+set}
15858 ac_save_CFLAGS=$CFLAGS
15859 CFLAGS="-g"
15860 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15861 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15862 if test "${ac_cv_prog_cc_g+set}" = set; then
15863 echo $ECHO_N "(cached) $ECHO_C" >&6
15864 else
15865 cat >conftest.$ac_ext <<_ACEOF
15866 /* confdefs.h. */
15867 _ACEOF
15868 cat confdefs.h >>conftest.$ac_ext
15869 cat >>conftest.$ac_ext <<_ACEOF
15870 /* end confdefs.h. */
15871
15872 int
15873 main ()
15874 {
15875
15876 ;
15877 return 0;
15878 }
15879 _ACEOF
15880 rm -f conftest.$ac_objext
15881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15882 (eval $ac_compile) 2>conftest.er1
15883 ac_status=$?
15884 grep -v '^ *+' conftest.er1 >conftest.err
15885 rm -f conftest.er1
15886 cat conftest.err >&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } &&
15889 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15891 (eval $ac_try) 2>&5
15892 ac_status=$?
15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894 (exit $ac_status); }; } &&
15895 { ac_try='test -s conftest.$ac_objext'
15896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15897 (eval $ac_try) 2>&5
15898 ac_status=$?
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); }; }; then
15901 ac_cv_prog_cc_g=yes
15902 else
15903 echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.$ac_ext >&5
15905
15906 ac_cv_prog_cc_g=no
15907 fi
15908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15909 fi
15910 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15911 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
15912 if test "$ac_test_CFLAGS" = set; then
15913 CFLAGS=$ac_save_CFLAGS
15914 elif test $ac_cv_prog_cc_g = yes; then
15915 if test "$GCC" = yes; then
15916 CFLAGS="-g -O2"
15917 else
15918 CFLAGS="-g"
15919 fi
15920 else
15921 if test "$GCC" = yes; then
15922 CFLAGS="-O2"
15923 else
15924 CFLAGS=
15925 fi
15926 fi
15927 fi
15928 fi
15929
15930 case `uname -s` in
15931 AIX*)
15932
15933
15934 ac_ext=c
15935 ac_cpp='$CPP $CPPFLAGS'
15936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15939
15940 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15941 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
15942 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15943 echo $ECHO_N "(cached) $ECHO_C" >&6
15944 else
15945 cat >conftest.$ac_ext <<_ACEOF
15946 /* confdefs.h. */
15947 _ACEOF
15948 cat confdefs.h >>conftest.$ac_ext
15949 cat >>conftest.$ac_ext <<_ACEOF
15950 /* end confdefs.h. */
15951
15952 int
15953 main ()
15954 {
15955
15956 #ifndef __xlC__
15957 choke me
15958 #endif
15959
15960 ;
15961 return 0;
15962 }
15963 _ACEOF
15964 rm -f conftest.$ac_objext
15965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15966 (eval $ac_compile) 2>conftest.er1
15967 ac_status=$?
15968 grep -v '^ *+' conftest.er1 >conftest.err
15969 rm -f conftest.er1
15970 cat conftest.err >&5
15971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15972 (exit $ac_status); } &&
15973 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15975 (eval $ac_try) 2>&5
15976 ac_status=$?
15977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15978 (exit $ac_status); }; } &&
15979 { ac_try='test -s conftest.$ac_objext'
15980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15981 (eval $ac_try) 2>&5
15982 ac_status=$?
15983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15984 (exit $ac_status); }; }; then
15985 bakefile_cv_c_compiler___xlC__=yes
15986 else
15987 echo "$as_me: failed program was:" >&5
15988 sed 's/^/| /' conftest.$ac_ext >&5
15989
15990 bakefile_cv_c_compiler___xlC__=no
15991
15992 fi
15993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15994
15995
15996 fi
15997 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15998 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6
15999 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16000 :; XLCC=yes
16001 else
16002 :;
16003 fi
16004 ac_ext=c
16005 ac_cpp='$CPP $CPPFLAGS'
16006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16009
16010
16011
16012 ;;
16013
16014 Darwin)
16015
16016
16017 ac_ext=c
16018 ac_cpp='$CPP $CPPFLAGS'
16019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16022
16023 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16024 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
16025 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16026 echo $ECHO_N "(cached) $ECHO_C" >&6
16027 else
16028 cat >conftest.$ac_ext <<_ACEOF
16029 /* confdefs.h. */
16030 _ACEOF
16031 cat confdefs.h >>conftest.$ac_ext
16032 cat >>conftest.$ac_ext <<_ACEOF
16033 /* end confdefs.h. */
16034
16035 int
16036 main ()
16037 {
16038
16039 #ifndef __MWERKS__
16040 choke me
16041 #endif
16042
16043 ;
16044 return 0;
16045 }
16046 _ACEOF
16047 rm -f conftest.$ac_objext
16048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16049 (eval $ac_compile) 2>conftest.er1
16050 ac_status=$?
16051 grep -v '^ *+' conftest.er1 >conftest.err
16052 rm -f conftest.er1
16053 cat conftest.err >&5
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); } &&
16056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16058 (eval $ac_try) 2>&5
16059 ac_status=$?
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); }; } &&
16062 { ac_try='test -s conftest.$ac_objext'
16063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16064 (eval $ac_try) 2>&5
16065 ac_status=$?
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); }; }; then
16068 bakefile_cv_c_compiler___MWERKS__=yes
16069 else
16070 echo "$as_me: failed program was:" >&5
16071 sed 's/^/| /' conftest.$ac_ext >&5
16072
16073 bakefile_cv_c_compiler___MWERKS__=no
16074
16075 fi
16076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16077
16078
16079 fi
16080 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16081 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6
16082 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16083 :; MWCC=yes
16084 else
16085 :;
16086 fi
16087 ac_ext=c
16088 ac_cpp='$CPP $CPPFLAGS'
16089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16092
16093
16094
16095
16096
16097 ac_ext=c
16098 ac_cpp='$CPP $CPPFLAGS'
16099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16102
16103 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16104 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
16105 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16106 echo $ECHO_N "(cached) $ECHO_C" >&6
16107 else
16108 cat >conftest.$ac_ext <<_ACEOF
16109 /* confdefs.h. */
16110 _ACEOF
16111 cat confdefs.h >>conftest.$ac_ext
16112 cat >>conftest.$ac_ext <<_ACEOF
16113 /* end confdefs.h. */
16114
16115 int
16116 main ()
16117 {
16118
16119 #ifndef __xlC__
16120 choke me
16121 #endif
16122
16123 ;
16124 return 0;
16125 }
16126 _ACEOF
16127 rm -f conftest.$ac_objext
16128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16129 (eval $ac_compile) 2>conftest.er1
16130 ac_status=$?
16131 grep -v '^ *+' conftest.er1 >conftest.err
16132 rm -f conftest.er1
16133 cat conftest.err >&5
16134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16135 (exit $ac_status); } &&
16136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16138 (eval $ac_try) 2>&5
16139 ac_status=$?
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); }; } &&
16142 { ac_try='test -s conftest.$ac_objext'
16143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16144 (eval $ac_try) 2>&5
16145 ac_status=$?
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); }; }; then
16148 bakefile_cv_c_compiler___xlC__=yes
16149 else
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.$ac_ext >&5
16152
16153 bakefile_cv_c_compiler___xlC__=no
16154
16155 fi
16156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16157
16158
16159 fi
16160 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16161 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6
16162 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16163 :; XLCC=yes
16164 else
16165 :;
16166 fi
16167 ac_ext=c
16168 ac_cpp='$CPP $CPPFLAGS'
16169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16172
16173
16174
16175 ;;
16176
16177 IRIX*)
16178
16179
16180 ac_ext=c
16181 ac_cpp='$CPP $CPPFLAGS'
16182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16185
16186 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16187 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
16188 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16189 echo $ECHO_N "(cached) $ECHO_C" >&6
16190 else
16191 cat >conftest.$ac_ext <<_ACEOF
16192 /* confdefs.h. */
16193 _ACEOF
16194 cat confdefs.h >>conftest.$ac_ext
16195 cat >>conftest.$ac_ext <<_ACEOF
16196 /* end confdefs.h. */
16197
16198 int
16199 main ()
16200 {
16201
16202 #ifndef _SGI_COMPILER_VERSION
16203 choke me
16204 #endif
16205
16206 ;
16207 return 0;
16208 }
16209 _ACEOF
16210 rm -f conftest.$ac_objext
16211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16212 (eval $ac_compile) 2>conftest.er1
16213 ac_status=$?
16214 grep -v '^ *+' conftest.er1 >conftest.err
16215 rm -f conftest.er1
16216 cat conftest.err >&5
16217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); } &&
16219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16221 (eval $ac_try) 2>&5
16222 ac_status=$?
16223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16224 (exit $ac_status); }; } &&
16225 { ac_try='test -s conftest.$ac_objext'
16226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16227 (eval $ac_try) 2>&5
16228 ac_status=$?
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); }; }; then
16231 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16232 else
16233 echo "$as_me: failed program was:" >&5
16234 sed 's/^/| /' conftest.$ac_ext >&5
16235
16236 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16237
16238 fi
16239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16240
16241
16242 fi
16243 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16244 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
16245 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16246 :; SGICC=yes
16247 else
16248 :;
16249 fi
16250 ac_ext=c
16251 ac_cpp='$CPP $CPPFLAGS'
16252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16255
16256
16257
16258 ;;
16259
16260 Linux*)
16261
16262
16263 ac_ext=c
16264 ac_cpp='$CPP $CPPFLAGS'
16265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16268
16269 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16270 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
16271 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16272 echo $ECHO_N "(cached) $ECHO_C" >&6
16273 else
16274 cat >conftest.$ac_ext <<_ACEOF
16275 /* confdefs.h. */
16276 _ACEOF
16277 cat confdefs.h >>conftest.$ac_ext
16278 cat >>conftest.$ac_ext <<_ACEOF
16279 /* end confdefs.h. */
16280
16281 int
16282 main ()
16283 {
16284
16285 #ifndef __SUNPRO_C
16286 choke me
16287 #endif
16288
16289 ;
16290 return 0;
16291 }
16292 _ACEOF
16293 rm -f conftest.$ac_objext
16294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16295 (eval $ac_compile) 2>conftest.er1
16296 ac_status=$?
16297 grep -v '^ *+' conftest.er1 >conftest.err
16298 rm -f conftest.er1
16299 cat conftest.err >&5
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); } &&
16302 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16304 (eval $ac_try) 2>&5
16305 ac_status=$?
16306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16307 (exit $ac_status); }; } &&
16308 { ac_try='test -s conftest.$ac_objext'
16309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16310 (eval $ac_try) 2>&5
16311 ac_status=$?
16312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313 (exit $ac_status); }; }; then
16314 bakefile_cv_c_compiler___SUNPRO_C=yes
16315 else
16316 echo "$as_me: failed program was:" >&5
16317 sed 's/^/| /' conftest.$ac_ext >&5
16318
16319 bakefile_cv_c_compiler___SUNPRO_C=no
16320
16321 fi
16322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16323
16324
16325 fi
16326 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16327 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
16328 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16329 :; SUNCC=yes
16330 else
16331 :;
16332 fi
16333 ac_ext=c
16334 ac_cpp='$CPP $CPPFLAGS'
16335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16338
16339
16340
16341 ;;
16342
16343 HP-UX*)
16344
16345
16346 ac_ext=c
16347 ac_cpp='$CPP $CPPFLAGS'
16348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16351
16352 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16353 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
16354 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16355 echo $ECHO_N "(cached) $ECHO_C" >&6
16356 else
16357 cat >conftest.$ac_ext <<_ACEOF
16358 /* confdefs.h. */
16359 _ACEOF
16360 cat confdefs.h >>conftest.$ac_ext
16361 cat >>conftest.$ac_ext <<_ACEOF
16362 /* end confdefs.h. */
16363
16364 int
16365 main ()
16366 {
16367
16368 #ifndef __HP_cc
16369 choke me
16370 #endif
16371
16372 ;
16373 return 0;
16374 }
16375 _ACEOF
16376 rm -f conftest.$ac_objext
16377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16378 (eval $ac_compile) 2>conftest.er1
16379 ac_status=$?
16380 grep -v '^ *+' conftest.er1 >conftest.err
16381 rm -f conftest.er1
16382 cat conftest.err >&5
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); } &&
16385 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16387 (eval $ac_try) 2>&5
16388 ac_status=$?
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); }; } &&
16391 { ac_try='test -s conftest.$ac_objext'
16392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16393 (eval $ac_try) 2>&5
16394 ac_status=$?
16395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16396 (exit $ac_status); }; }; then
16397 bakefile_cv_c_compiler___HP_cc=yes
16398 else
16399 echo "$as_me: failed program was:" >&5
16400 sed 's/^/| /' conftest.$ac_ext >&5
16401
16402 bakefile_cv_c_compiler___HP_cc=no
16403
16404 fi
16405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16406
16407
16408 fi
16409 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16410 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
16411 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
16412 :; HPCC=yes
16413 else
16414 :;
16415 fi
16416 ac_ext=c
16417 ac_cpp='$CPP $CPPFLAGS'
16418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16421
16422
16423
16424 ;;
16425
16426 OSF1)
16427
16428
16429 ac_ext=c
16430 ac_cpp='$CPP $CPPFLAGS'
16431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16434
16435 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16436 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
16437 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16438 echo $ECHO_N "(cached) $ECHO_C" >&6
16439 else
16440 cat >conftest.$ac_ext <<_ACEOF
16441 /* confdefs.h. */
16442 _ACEOF
16443 cat confdefs.h >>conftest.$ac_ext
16444 cat >>conftest.$ac_ext <<_ACEOF
16445 /* end confdefs.h. */
16446
16447 int
16448 main ()
16449 {
16450
16451 #ifndef __DECC
16452 choke me
16453 #endif
16454
16455 ;
16456 return 0;
16457 }
16458 _ACEOF
16459 rm -f conftest.$ac_objext
16460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16461 (eval $ac_compile) 2>conftest.er1
16462 ac_status=$?
16463 grep -v '^ *+' conftest.er1 >conftest.err
16464 rm -f conftest.er1
16465 cat conftest.err >&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); } &&
16468 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16470 (eval $ac_try) 2>&5
16471 ac_status=$?
16472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16473 (exit $ac_status); }; } &&
16474 { ac_try='test -s conftest.$ac_objext'
16475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16476 (eval $ac_try) 2>&5
16477 ac_status=$?
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); }; }; then
16480 bakefile_cv_c_compiler___DECC=yes
16481 else
16482 echo "$as_me: failed program was:" >&5
16483 sed 's/^/| /' conftest.$ac_ext >&5
16484
16485 bakefile_cv_c_compiler___DECC=no
16486
16487 fi
16488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16489
16490
16491 fi
16492 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
16493 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
16494 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
16495 :; COMPAQCC=yes
16496 else
16497 :;
16498 fi
16499 ac_ext=c
16500 ac_cpp='$CPP $CPPFLAGS'
16501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16504
16505
16506
16507 ;;
16508
16509 SunOS)
16510
16511
16512 ac_ext=c
16513 ac_cpp='$CPP $CPPFLAGS'
16514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16517
16518 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16519 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
16520 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16521 echo $ECHO_N "(cached) $ECHO_C" >&6
16522 else
16523 cat >conftest.$ac_ext <<_ACEOF
16524 /* confdefs.h. */
16525 _ACEOF
16526 cat confdefs.h >>conftest.$ac_ext
16527 cat >>conftest.$ac_ext <<_ACEOF
16528 /* end confdefs.h. */
16529
16530 int
16531 main ()
16532 {
16533
16534 #ifndef __SUNPRO_C
16535 choke me
16536 #endif
16537
16538 ;
16539 return 0;
16540 }
16541 _ACEOF
16542 rm -f conftest.$ac_objext
16543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16544 (eval $ac_compile) 2>conftest.er1
16545 ac_status=$?
16546 grep -v '^ *+' conftest.er1 >conftest.err
16547 rm -f conftest.er1
16548 cat conftest.err >&5
16549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16550 (exit $ac_status); } &&
16551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16553 (eval $ac_try) 2>&5
16554 ac_status=$?
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); }; } &&
16557 { ac_try='test -s conftest.$ac_objext'
16558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559 (eval $ac_try) 2>&5
16560 ac_status=$?
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); }; }; then
16563 bakefile_cv_c_compiler___SUNPRO_C=yes
16564 else
16565 echo "$as_me: failed program was:" >&5
16566 sed 's/^/| /' conftest.$ac_ext >&5
16567
16568 bakefile_cv_c_compiler___SUNPRO_C=no
16569
16570 fi
16571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16572
16573
16574 fi
16575 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16576 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
16577 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16578 :; SUNCC=yes
16579 else
16580 :;
16581 fi
16582 ac_ext=c
16583 ac_cpp='$CPP $CPPFLAGS'
16584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16587
16588
16589
16590 ;;
16591 esac
16592 fi
16593
16594
16595
16596 ac_ext=c
16597 ac_cpp='$CPP $CPPFLAGS'
16598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16601 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
16602 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
16603 # On Suns, sometimes $CPP names a directory.
16604 if test -n "$CPP" && test -d "$CPP"; then
16605 CPP=
16606 fi
16607 if test -z "$CPP"; then
16608 if test "${ac_cv_prog_CPP+set}" = set; then
16609 echo $ECHO_N "(cached) $ECHO_C" >&6
16610 else
16611 # Double quotes because CPP needs to be expanded
16612 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16613 do
16614 ac_preproc_ok=false
16615 for ac_c_preproc_warn_flag in '' yes
16616 do
16617 # Use a header file that comes with gcc, so configuring glibc
16618 # with a fresh cross-compiler works.
16619 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16620 # <limits.h> exists even on freestanding compilers.
16621 # On the NeXT, cc -E runs the code through the compiler's parser,
16622 # not just through cpp. "Syntax error" is here to catch this case.
16623 cat >conftest.$ac_ext <<_ACEOF
16624 /* confdefs.h. */
16625 _ACEOF
16626 cat confdefs.h >>conftest.$ac_ext
16627 cat >>conftest.$ac_ext <<_ACEOF
16628 /* end confdefs.h. */
16629 #ifdef __STDC__
16630 # include <limits.h>
16631 #else
16632 # include <assert.h>
16633 #endif
16634 Syntax error
16635 _ACEOF
16636 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16637 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16638 ac_status=$?
16639 grep -v '^ *+' conftest.er1 >conftest.err
16640 rm -f conftest.er1
16641 cat conftest.err >&5
16642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16643 (exit $ac_status); } >/dev/null; then
16644 if test -s conftest.err; then
16645 ac_cpp_err=$ac_c_preproc_warn_flag
16646 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16647 else
16648 ac_cpp_err=
16649 fi
16650 else
16651 ac_cpp_err=yes
16652 fi
16653 if test -z "$ac_cpp_err"; then
16654 :
16655 else
16656 echo "$as_me: failed program was:" >&5
16657 sed 's/^/| /' conftest.$ac_ext >&5
16658
16659 # Broken: fails on valid input.
16660 continue
16661 fi
16662 rm -f conftest.err conftest.$ac_ext
16663
16664 # OK, works on sane cases. Now check whether non-existent headers
16665 # can be detected and how.
16666 cat >conftest.$ac_ext <<_ACEOF
16667 /* confdefs.h. */
16668 _ACEOF
16669 cat confdefs.h >>conftest.$ac_ext
16670 cat >>conftest.$ac_ext <<_ACEOF
16671 /* end confdefs.h. */
16672 #include <ac_nonexistent.h>
16673 _ACEOF
16674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16675 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16676 ac_status=$?
16677 grep -v '^ *+' conftest.er1 >conftest.err
16678 rm -f conftest.er1
16679 cat conftest.err >&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); } >/dev/null; then
16682 if test -s conftest.err; then
16683 ac_cpp_err=$ac_c_preproc_warn_flag
16684 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16685 else
16686 ac_cpp_err=
16687 fi
16688 else
16689 ac_cpp_err=yes
16690 fi
16691 if test -z "$ac_cpp_err"; then
16692 # Broken: success on invalid input.
16693 continue
16694 else
16695 echo "$as_me: failed program was:" >&5
16696 sed 's/^/| /' conftest.$ac_ext >&5
16697
16698 # Passes both tests.
16699 ac_preproc_ok=:
16700 break
16701 fi
16702 rm -f conftest.err conftest.$ac_ext
16703
16704 done
16705 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16706 rm -f conftest.err conftest.$ac_ext
16707 if $ac_preproc_ok; then
16708 break
16709 fi
16710
16711 done
16712 ac_cv_prog_CPP=$CPP
16713
16714 fi
16715 CPP=$ac_cv_prog_CPP
16716 else
16717 ac_cv_prog_CPP=$CPP
16718 fi
16719 echo "$as_me:$LINENO: result: $CPP" >&5
16720 echo "${ECHO_T}$CPP" >&6
16721 ac_preproc_ok=false
16722 for ac_c_preproc_warn_flag in '' yes
16723 do
16724 # Use a header file that comes with gcc, so configuring glibc
16725 # with a fresh cross-compiler works.
16726 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16727 # <limits.h> exists even on freestanding compilers.
16728 # On the NeXT, cc -E runs the code through the compiler's parser,
16729 # not just through cpp. "Syntax error" is here to catch this case.
16730 cat >conftest.$ac_ext <<_ACEOF
16731 /* confdefs.h. */
16732 _ACEOF
16733 cat confdefs.h >>conftest.$ac_ext
16734 cat >>conftest.$ac_ext <<_ACEOF
16735 /* end confdefs.h. */
16736 #ifdef __STDC__
16737 # include <limits.h>
16738 #else
16739 # include <assert.h>
16740 #endif
16741 Syntax error
16742 _ACEOF
16743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16745 ac_status=$?
16746 grep -v '^ *+' conftest.er1 >conftest.err
16747 rm -f conftest.er1
16748 cat conftest.err >&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); } >/dev/null; then
16751 if test -s conftest.err; then
16752 ac_cpp_err=$ac_c_preproc_warn_flag
16753 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16754 else
16755 ac_cpp_err=
16756 fi
16757 else
16758 ac_cpp_err=yes
16759 fi
16760 if test -z "$ac_cpp_err"; then
16761 :
16762 else
16763 echo "$as_me: failed program was:" >&5
16764 sed 's/^/| /' conftest.$ac_ext >&5
16765
16766 # Broken: fails on valid input.
16767 continue
16768 fi
16769 rm -f conftest.err conftest.$ac_ext
16770
16771 # OK, works on sane cases. Now check whether non-existent headers
16772 # can be detected and how.
16773 cat >conftest.$ac_ext <<_ACEOF
16774 /* confdefs.h. */
16775 _ACEOF
16776 cat confdefs.h >>conftest.$ac_ext
16777 cat >>conftest.$ac_ext <<_ACEOF
16778 /* end confdefs.h. */
16779 #include <ac_nonexistent.h>
16780 _ACEOF
16781 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16782 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16783 ac_status=$?
16784 grep -v '^ *+' conftest.er1 >conftest.err
16785 rm -f conftest.er1
16786 cat conftest.err >&5
16787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16788 (exit $ac_status); } >/dev/null; then
16789 if test -s conftest.err; then
16790 ac_cpp_err=$ac_c_preproc_warn_flag
16791 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16792 else
16793 ac_cpp_err=
16794 fi
16795 else
16796 ac_cpp_err=yes
16797 fi
16798 if test -z "$ac_cpp_err"; then
16799 # Broken: success on invalid input.
16800 continue
16801 else
16802 echo "$as_me: failed program was:" >&5
16803 sed 's/^/| /' conftest.$ac_ext >&5
16804
16805 # Passes both tests.
16806 ac_preproc_ok=:
16807 break
16808 fi
16809 rm -f conftest.err conftest.$ac_ext
16810
16811 done
16812 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16813 rm -f conftest.err conftest.$ac_ext
16814 if $ac_preproc_ok; then
16815 :
16816 else
16817 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16818 See \`config.log' for more details." >&5
16819 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16820 See \`config.log' for more details." >&2;}
16821 { (exit 1); exit 1; }; }
16822 fi
16823
16824 ac_ext=c
16825 ac_cpp='$CPP $CPPFLAGS'
16826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16829
16830
16831 echo "$as_me:$LINENO: checking for egrep" >&5
16832 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
16833 if test "${ac_cv_prog_egrep+set}" = set; then
16834 echo $ECHO_N "(cached) $ECHO_C" >&6
16835 else
16836 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
16837 then ac_cv_prog_egrep='grep -E'
16838 else ac_cv_prog_egrep='egrep'
16839 fi
16840 fi
16841 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
16842 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
16843 EGREP=$ac_cv_prog_egrep
16844
16845
16846 if test $ac_cv_c_compiler_gnu = yes; then
16847 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16848 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
16849 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16850 echo $ECHO_N "(cached) $ECHO_C" >&6
16851 else
16852 ac_pattern="Autoconf.*'x'"
16853 cat >conftest.$ac_ext <<_ACEOF
16854 /* confdefs.h. */
16855 _ACEOF
16856 cat confdefs.h >>conftest.$ac_ext
16857 cat >>conftest.$ac_ext <<_ACEOF
16858 /* end confdefs.h. */
16859 #include <sgtty.h>
16860 Autoconf TIOCGETP
16861 _ACEOF
16862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16863 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16864 ac_cv_prog_gcc_traditional=yes
16865 else
16866 ac_cv_prog_gcc_traditional=no
16867 fi
16868 rm -f conftest*
16869
16870
16871 if test $ac_cv_prog_gcc_traditional = no; then
16872 cat >conftest.$ac_ext <<_ACEOF
16873 /* confdefs.h. */
16874 _ACEOF
16875 cat confdefs.h >>conftest.$ac_ext
16876 cat >>conftest.$ac_ext <<_ACEOF
16877 /* end confdefs.h. */
16878 #include <termio.h>
16879 Autoconf TCGETA
16880 _ACEOF
16881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16882 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16883 ac_cv_prog_gcc_traditional=yes
16884 fi
16885 rm -f conftest*
16886
16887 fi
16888 fi
16889 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16890 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
16891 if test $ac_cv_prog_gcc_traditional = yes; then
16892 CC="$CC -traditional"
16893 fi
16894 fi
16895
16896
16897 CXXFLAGS=${CXXFLAGS:=}
16898
16899
16900
16901 ac_ext=cc
16902 ac_cpp='$CXXCPP $CPPFLAGS'
16903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16906 if test -n "$ac_tool_prefix"; then
16907 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
16908 do
16909 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16910 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16911 echo "$as_me:$LINENO: checking for $ac_word" >&5
16912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16913 if test "${ac_cv_prog_CXX+set}" = set; then
16914 echo $ECHO_N "(cached) $ECHO_C" >&6
16915 else
16916 if test -n "$CXX"; then
16917 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16918 else
16919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16920 for as_dir in $PATH
16921 do
16922 IFS=$as_save_IFS
16923 test -z "$as_dir" && as_dir=.
16924 for ac_exec_ext in '' $ac_executable_extensions; do
16925 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16926 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16928 break 2
16929 fi
16930 done
16931 done
16932
16933 fi
16934 fi
16935 CXX=$ac_cv_prog_CXX
16936 if test -n "$CXX"; then
16937 echo "$as_me:$LINENO: result: $CXX" >&5
16938 echo "${ECHO_T}$CXX" >&6
16939 else
16940 echo "$as_me:$LINENO: result: no" >&5
16941 echo "${ECHO_T}no" >&6
16942 fi
16943
16944 test -n "$CXX" && break
16945 done
16946 fi
16947 if test -z "$CXX"; then
16948 ac_ct_CXX=$CXX
16949 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
16950 do
16951 # Extract the first word of "$ac_prog", so it can be a program name with args.
16952 set dummy $ac_prog; ac_word=$2
16953 echo "$as_me:$LINENO: checking for $ac_word" >&5
16954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16955 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16956 echo $ECHO_N "(cached) $ECHO_C" >&6
16957 else
16958 if test -n "$ac_ct_CXX"; then
16959 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16960 else
16961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16962 for as_dir in $PATH
16963 do
16964 IFS=$as_save_IFS
16965 test -z "$as_dir" && as_dir=.
16966 for ac_exec_ext in '' $ac_executable_extensions; do
16967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16968 ac_cv_prog_ac_ct_CXX="$ac_prog"
16969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16970 break 2
16971 fi
16972 done
16973 done
16974
16975 fi
16976 fi
16977 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16978 if test -n "$ac_ct_CXX"; then
16979 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16980 echo "${ECHO_T}$ac_ct_CXX" >&6
16981 else
16982 echo "$as_me:$LINENO: result: no" >&5
16983 echo "${ECHO_T}no" >&6
16984 fi
16985
16986 test -n "$ac_ct_CXX" && break
16987 done
16988 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
16989
16990 CXX=$ac_ct_CXX
16991 fi
16992
16993
16994 # Provide some information about the compiler.
16995 echo "$as_me:$LINENO:" \
16996 "checking for C++ compiler version" >&5
16997 ac_compiler=`set X $ac_compile; echo $2`
16998 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
16999 (eval $ac_compiler --version </dev/null >&5) 2>&5
17000 ac_status=$?
17001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17002 (exit $ac_status); }
17003 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
17004 (eval $ac_compiler -v </dev/null >&5) 2>&5
17005 ac_status=$?
17006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17007 (exit $ac_status); }
17008 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
17009 (eval $ac_compiler -V </dev/null >&5) 2>&5
17010 ac_status=$?
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); }
17013
17014 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17015 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
17016 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17017 echo $ECHO_N "(cached) $ECHO_C" >&6
17018 else
17019 cat >conftest.$ac_ext <<_ACEOF
17020 /* confdefs.h. */
17021 _ACEOF
17022 cat confdefs.h >>conftest.$ac_ext
17023 cat >>conftest.$ac_ext <<_ACEOF
17024 /* end confdefs.h. */
17025
17026 int
17027 main ()
17028 {
17029 #ifndef __GNUC__
17030 choke me
17031 #endif
17032
17033 ;
17034 return 0;
17035 }
17036 _ACEOF
17037 rm -f conftest.$ac_objext
17038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17039 (eval $ac_compile) 2>conftest.er1
17040 ac_status=$?
17041 grep -v '^ *+' conftest.er1 >conftest.err
17042 rm -f conftest.er1
17043 cat conftest.err >&5
17044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045 (exit $ac_status); } &&
17046 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17048 (eval $ac_try) 2>&5
17049 ac_status=$?
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); }; } &&
17052 { ac_try='test -s conftest.$ac_objext'
17053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17054 (eval $ac_try) 2>&5
17055 ac_status=$?
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); }; }; then
17058 ac_compiler_gnu=yes
17059 else
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17062
17063 ac_compiler_gnu=no
17064 fi
17065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17066 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17067
17068 fi
17069 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17070 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
17071 GXX=`test $ac_compiler_gnu = yes && echo yes`
17072 ac_test_CXXFLAGS=${CXXFLAGS+set}
17073 ac_save_CXXFLAGS=$CXXFLAGS
17074 CXXFLAGS="-g"
17075 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17076 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
17077 if test "${ac_cv_prog_cxx_g+set}" = set; then
17078 echo $ECHO_N "(cached) $ECHO_C" >&6
17079 else
17080 cat >conftest.$ac_ext <<_ACEOF
17081 /* confdefs.h. */
17082 _ACEOF
17083 cat confdefs.h >>conftest.$ac_ext
17084 cat >>conftest.$ac_ext <<_ACEOF
17085 /* end confdefs.h. */
17086
17087 int
17088 main ()
17089 {
17090
17091 ;
17092 return 0;
17093 }
17094 _ACEOF
17095 rm -f conftest.$ac_objext
17096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17097 (eval $ac_compile) 2>conftest.er1
17098 ac_status=$?
17099 grep -v '^ *+' conftest.er1 >conftest.err
17100 rm -f conftest.er1
17101 cat conftest.err >&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); } &&
17104 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17106 (eval $ac_try) 2>&5
17107 ac_status=$?
17108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109 (exit $ac_status); }; } &&
17110 { ac_try='test -s conftest.$ac_objext'
17111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17112 (eval $ac_try) 2>&5
17113 ac_status=$?
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); }; }; then
17116 ac_cv_prog_cxx_g=yes
17117 else
17118 echo "$as_me: failed program was:" >&5
17119 sed 's/^/| /' conftest.$ac_ext >&5
17120
17121 ac_cv_prog_cxx_g=no
17122 fi
17123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17124 fi
17125 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17126 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
17127 if test "$ac_test_CXXFLAGS" = set; then
17128 CXXFLAGS=$ac_save_CXXFLAGS
17129 elif test $ac_cv_prog_cxx_g = yes; then
17130 if test "$GXX" = yes; then
17131 CXXFLAGS="-g -O2"
17132 else
17133 CXXFLAGS="-g"
17134 fi
17135 else
17136 if test "$GXX" = yes; then
17137 CXXFLAGS="-O2"
17138 else
17139 CXXFLAGS=
17140 fi
17141 fi
17142 for ac_declaration in \
17143 '' \
17144 'extern "C" void std::exit (int) throw (); using std::exit;' \
17145 'extern "C" void std::exit (int); using std::exit;' \
17146 'extern "C" void exit (int) throw ();' \
17147 'extern "C" void exit (int);' \
17148 'void exit (int);'
17149 do
17150 cat >conftest.$ac_ext <<_ACEOF
17151 /* confdefs.h. */
17152 _ACEOF
17153 cat confdefs.h >>conftest.$ac_ext
17154 cat >>conftest.$ac_ext <<_ACEOF
17155 /* end confdefs.h. */
17156 $ac_declaration
17157 #include <stdlib.h>
17158 int
17159 main ()
17160 {
17161 exit (42);
17162 ;
17163 return 0;
17164 }
17165 _ACEOF
17166 rm -f conftest.$ac_objext
17167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17168 (eval $ac_compile) 2>conftest.er1
17169 ac_status=$?
17170 grep -v '^ *+' conftest.er1 >conftest.err
17171 rm -f conftest.er1
17172 cat conftest.err >&5
17173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17174 (exit $ac_status); } &&
17175 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17177 (eval $ac_try) 2>&5
17178 ac_status=$?
17179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17180 (exit $ac_status); }; } &&
17181 { ac_try='test -s conftest.$ac_objext'
17182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17183 (eval $ac_try) 2>&5
17184 ac_status=$?
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); }; }; then
17187 :
17188 else
17189 echo "$as_me: failed program was:" >&5
17190 sed 's/^/| /' conftest.$ac_ext >&5
17191
17192 continue
17193 fi
17194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17195 cat >conftest.$ac_ext <<_ACEOF
17196 /* confdefs.h. */
17197 _ACEOF
17198 cat confdefs.h >>conftest.$ac_ext
17199 cat >>conftest.$ac_ext <<_ACEOF
17200 /* end confdefs.h. */
17201 $ac_declaration
17202 int
17203 main ()
17204 {
17205 exit (42);
17206 ;
17207 return 0;
17208 }
17209 _ACEOF
17210 rm -f conftest.$ac_objext
17211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17212 (eval $ac_compile) 2>conftest.er1
17213 ac_status=$?
17214 grep -v '^ *+' conftest.er1 >conftest.err
17215 rm -f conftest.er1
17216 cat conftest.err >&5
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); } &&
17219 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17221 (eval $ac_try) 2>&5
17222 ac_status=$?
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); }; } &&
17225 { ac_try='test -s conftest.$ac_objext'
17226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17227 (eval $ac_try) 2>&5
17228 ac_status=$?
17229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17230 (exit $ac_status); }; }; then
17231 break
17232 else
17233 echo "$as_me: failed program was:" >&5
17234 sed 's/^/| /' conftest.$ac_ext >&5
17235
17236 fi
17237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17238 done
17239 rm -f conftest*
17240 if test -n "$ac_declaration"; then
17241 echo '#ifdef __cplusplus' >>confdefs.h
17242 echo $ac_declaration >>confdefs.h
17243 echo '#endif' >>confdefs.h
17244 fi
17245
17246 ac_ext=c
17247 ac_cpp='$CPP $CPPFLAGS'
17248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17251
17252
17253
17254
17255 ac_ext=cc
17256 ac_cpp='$CXXCPP $CPPFLAGS'
17257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17260
17261 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17262 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
17263 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17264 echo $ECHO_N "(cached) $ECHO_C" >&6
17265 else
17266 cat >conftest.$ac_ext <<_ACEOF
17267 /* confdefs.h. */
17268 _ACEOF
17269 cat confdefs.h >>conftest.$ac_ext
17270 cat >>conftest.$ac_ext <<_ACEOF
17271 /* end confdefs.h. */
17272
17273 int
17274 main ()
17275 {
17276
17277 #ifndef __INTEL_COMPILER
17278 choke me
17279 #endif
17280
17281 ;
17282 return 0;
17283 }
17284 _ACEOF
17285 rm -f conftest.$ac_objext
17286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17287 (eval $ac_compile) 2>conftest.er1
17288 ac_status=$?
17289 grep -v '^ *+' conftest.er1 >conftest.err
17290 rm -f conftest.er1
17291 cat conftest.err >&5
17292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17293 (exit $ac_status); } &&
17294 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17296 (eval $ac_try) 2>&5
17297 ac_status=$?
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); }; } &&
17300 { ac_try='test -s conftest.$ac_objext'
17301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17302 (eval $ac_try) 2>&5
17303 ac_status=$?
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); }; }; then
17306 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
17307 else
17308 echo "$as_me: failed program was:" >&5
17309 sed 's/^/| /' conftest.$ac_ext >&5
17310
17311 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
17312
17313 fi
17314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17315
17316
17317 fi
17318 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17319 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
17320 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17321 :; INTELCXX=yes
17322 else
17323 :;
17324 fi
17325 ac_ext=c
17326 ac_cpp='$CPP $CPPFLAGS'
17327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17330
17331
17332
17333
17334 if test "x$GCXX" != "xyes"; then
17335 if test "xCXX" = "xC"; then
17336 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
17337 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
17338 if test "${bakefile_cv_c_exto+set}" = set; then
17339 echo $ECHO_N "(cached) $ECHO_C" >&6
17340 else
17341 cat >conftest.$ac_ext <<_ACEOF
17342 /* confdefs.h. */
17343 _ACEOF
17344 cat confdefs.h >>conftest.$ac_ext
17345 cat >>conftest.$ac_ext <<_ACEOF
17346 /* end confdefs.h. */
17347
17348 int
17349 main ()
17350 {
17351
17352 ;
17353 return 0;
17354 }
17355 _ACEOF
17356 rm -f conftest.$ac_objext conftest.$ac_ext.o
17357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17358 (eval $ac_compile) 2>&5
17359 ac_status=$?
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); }; then
17362 for ac_file in `(ls conftest.* 2>/dev/null)`; do
17363 case $ac_file in
17364 conftest.$ac_ext.o)
17365 bakefile_cv_c_exto="-ext o"
17366 ;;
17367 *)
17368 ;;
17369 esac
17370 done
17371 else
17372 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
17373 See \`config.log' for more details." >&5
17374 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
17375 See \`config.log' for more details." >&2;}
17376 { (exit 1); exit 1; }; }
17377
17378 fi
17379
17380 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
17381
17382 fi
17383 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
17384 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
17385 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17386 if test "c" = "c"; then
17387 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17388 fi
17389 if test "c" = "cxx"; then
17390 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17391 fi
17392 fi
17393
17394 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17395 unset ac_cv_prog_cc_g
17396 ac_test_CFLAGS=${CFLAGS+set}
17397 ac_save_CFLAGS=$CFLAGS
17398 CFLAGS="-g"
17399 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17400 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
17401 if test "${ac_cv_prog_cc_g+set}" = set; then
17402 echo $ECHO_N "(cached) $ECHO_C" >&6
17403 else
17404 cat >conftest.$ac_ext <<_ACEOF
17405 /* confdefs.h. */
17406 _ACEOF
17407 cat confdefs.h >>conftest.$ac_ext
17408 cat >>conftest.$ac_ext <<_ACEOF
17409 /* end confdefs.h. */
17410
17411 int
17412 main ()
17413 {
17414
17415 ;
17416 return 0;
17417 }
17418 _ACEOF
17419 rm -f conftest.$ac_objext
17420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17421 (eval $ac_compile) 2>conftest.er1
17422 ac_status=$?
17423 grep -v '^ *+' conftest.er1 >conftest.err
17424 rm -f conftest.er1
17425 cat conftest.err >&5
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); } &&
17428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17430 (eval $ac_try) 2>&5
17431 ac_status=$?
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); }; } &&
17434 { ac_try='test -s conftest.$ac_objext'
17435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17436 (eval $ac_try) 2>&5
17437 ac_status=$?
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); }; }; then
17440 ac_cv_prog_cc_g=yes
17441 else
17442 echo "$as_me: failed program was:" >&5
17443 sed 's/^/| /' conftest.$ac_ext >&5
17444
17445 ac_cv_prog_cc_g=no
17446 fi
17447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17448 fi
17449 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17450 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
17451 if test "$ac_test_CFLAGS" = set; then
17452 CFLAGS=$ac_save_CFLAGS
17453 elif test $ac_cv_prog_cc_g = yes; then
17454 if test "$GCC" = yes; then
17455 CFLAGS="-g -O2"
17456 else
17457 CFLAGS="-g"
17458 fi
17459 else
17460 if test "$GCC" = yes; then
17461 CFLAGS="-O2"
17462 else
17463 CFLAGS=
17464 fi
17465 fi
17466 fi
17467 fi
17468
17469 case `uname -s` in
17470 AIX*)
17471
17472
17473 ac_ext=cc
17474 ac_cpp='$CXXCPP $CPPFLAGS'
17475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17478
17479 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17480 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
17481 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17482 echo $ECHO_N "(cached) $ECHO_C" >&6
17483 else
17484 cat >conftest.$ac_ext <<_ACEOF
17485 /* confdefs.h. */
17486 _ACEOF
17487 cat confdefs.h >>conftest.$ac_ext
17488 cat >>conftest.$ac_ext <<_ACEOF
17489 /* end confdefs.h. */
17490
17491 int
17492 main ()
17493 {
17494
17495 #ifndef __xlC__
17496 choke me
17497 #endif
17498
17499 ;
17500 return 0;
17501 }
17502 _ACEOF
17503 rm -f conftest.$ac_objext
17504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17505 (eval $ac_compile) 2>conftest.er1
17506 ac_status=$?
17507 grep -v '^ *+' conftest.er1 >conftest.err
17508 rm -f conftest.er1
17509 cat conftest.err >&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); } &&
17512 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17514 (eval $ac_try) 2>&5
17515 ac_status=$?
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); }; } &&
17518 { ac_try='test -s conftest.$ac_objext'
17519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17520 (eval $ac_try) 2>&5
17521 ac_status=$?
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); }; }; then
17524 bakefile_cv_cxx_compiler___xlC__=yes
17525 else
17526 echo "$as_me: failed program was:" >&5
17527 sed 's/^/| /' conftest.$ac_ext >&5
17528
17529 bakefile_cv_cxx_compiler___xlC__=no
17530
17531 fi
17532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17533
17534
17535 fi
17536 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17537 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6
17538 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17539 :; XLCXX=yes
17540 else
17541 :;
17542 fi
17543 ac_ext=c
17544 ac_cpp='$CPP $CPPFLAGS'
17545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17548
17549
17550
17551 ;;
17552
17553 Darwin)
17554
17555
17556 ac_ext=cc
17557 ac_cpp='$CXXCPP $CPPFLAGS'
17558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17561
17562 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17563 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
17564 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17565 echo $ECHO_N "(cached) $ECHO_C" >&6
17566 else
17567 cat >conftest.$ac_ext <<_ACEOF
17568 /* confdefs.h. */
17569 _ACEOF
17570 cat confdefs.h >>conftest.$ac_ext
17571 cat >>conftest.$ac_ext <<_ACEOF
17572 /* end confdefs.h. */
17573
17574 int
17575 main ()
17576 {
17577
17578 #ifndef __MWERKS__
17579 choke me
17580 #endif
17581
17582 ;
17583 return 0;
17584 }
17585 _ACEOF
17586 rm -f conftest.$ac_objext
17587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17588 (eval $ac_compile) 2>conftest.er1
17589 ac_status=$?
17590 grep -v '^ *+' conftest.er1 >conftest.err
17591 rm -f conftest.er1
17592 cat conftest.err >&5
17593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594 (exit $ac_status); } &&
17595 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17597 (eval $ac_try) 2>&5
17598 ac_status=$?
17599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17600 (exit $ac_status); }; } &&
17601 { ac_try='test -s conftest.$ac_objext'
17602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17603 (eval $ac_try) 2>&5
17604 ac_status=$?
17605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17606 (exit $ac_status); }; }; then
17607 bakefile_cv_cxx_compiler___MWERKS__=yes
17608 else
17609 echo "$as_me: failed program was:" >&5
17610 sed 's/^/| /' conftest.$ac_ext >&5
17611
17612 bakefile_cv_cxx_compiler___MWERKS__=no
17613
17614 fi
17615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17616
17617
17618 fi
17619 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17620 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6
17621 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17622 :; MWCXX=yes
17623 else
17624 :;
17625 fi
17626 ac_ext=c
17627 ac_cpp='$CPP $CPPFLAGS'
17628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17631
17632
17633
17634
17635
17636 ac_ext=cc
17637 ac_cpp='$CXXCPP $CPPFLAGS'
17638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17641
17642 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17643 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
17644 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17645 echo $ECHO_N "(cached) $ECHO_C" >&6
17646 else
17647 cat >conftest.$ac_ext <<_ACEOF
17648 /* confdefs.h. */
17649 _ACEOF
17650 cat confdefs.h >>conftest.$ac_ext
17651 cat >>conftest.$ac_ext <<_ACEOF
17652 /* end confdefs.h. */
17653
17654 int
17655 main ()
17656 {
17657
17658 #ifndef __xlC__
17659 choke me
17660 #endif
17661
17662 ;
17663 return 0;
17664 }
17665 _ACEOF
17666 rm -f conftest.$ac_objext
17667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17668 (eval $ac_compile) 2>conftest.er1
17669 ac_status=$?
17670 grep -v '^ *+' conftest.er1 >conftest.err
17671 rm -f conftest.er1
17672 cat conftest.err >&5
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); } &&
17675 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17677 (eval $ac_try) 2>&5
17678 ac_status=$?
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); }; } &&
17681 { ac_try='test -s conftest.$ac_objext'
17682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17683 (eval $ac_try) 2>&5
17684 ac_status=$?
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); }; }; then
17687 bakefile_cv_cxx_compiler___xlC__=yes
17688 else
17689 echo "$as_me: failed program was:" >&5
17690 sed 's/^/| /' conftest.$ac_ext >&5
17691
17692 bakefile_cv_cxx_compiler___xlC__=no
17693
17694 fi
17695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17696
17697
17698 fi
17699 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17700 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6
17701 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17702 :; XLCXX=yes
17703 else
17704 :;
17705 fi
17706 ac_ext=c
17707 ac_cpp='$CPP $CPPFLAGS'
17708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17711
17712
17713
17714 ;;
17715
17716 IRIX*)
17717
17718
17719 ac_ext=cc
17720 ac_cpp='$CXXCPP $CPPFLAGS'
17721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17724
17725 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17726 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
17727 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17728 echo $ECHO_N "(cached) $ECHO_C" >&6
17729 else
17730 cat >conftest.$ac_ext <<_ACEOF
17731 /* confdefs.h. */
17732 _ACEOF
17733 cat confdefs.h >>conftest.$ac_ext
17734 cat >>conftest.$ac_ext <<_ACEOF
17735 /* end confdefs.h. */
17736
17737 int
17738 main ()
17739 {
17740
17741 #ifndef _SGI_COMPILER_VERSION
17742 choke me
17743 #endif
17744
17745 ;
17746 return 0;
17747 }
17748 _ACEOF
17749 rm -f conftest.$ac_objext
17750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17751 (eval $ac_compile) 2>conftest.er1
17752 ac_status=$?
17753 grep -v '^ *+' conftest.er1 >conftest.err
17754 rm -f conftest.er1
17755 cat conftest.err >&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); } &&
17758 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760 (eval $ac_try) 2>&5
17761 ac_status=$?
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }; } &&
17764 { ac_try='test -s conftest.$ac_objext'
17765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766 (eval $ac_try) 2>&5
17767 ac_status=$?
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }; }; then
17770 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17771 else
17772 echo "$as_me: failed program was:" >&5
17773 sed 's/^/| /' conftest.$ac_ext >&5
17774
17775 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17776
17777 fi
17778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17779
17780
17781 fi
17782 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17783 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
17784 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17785 :; SGICXX=yes
17786 else
17787 :;
17788 fi
17789 ac_ext=c
17790 ac_cpp='$CPP $CPPFLAGS'
17791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17794
17795
17796
17797 ;;
17798
17799 Linux*)
17800
17801
17802 ac_ext=cc
17803 ac_cpp='$CXXCPP $CPPFLAGS'
17804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17807
17808 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17809 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
17810 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17811 echo $ECHO_N "(cached) $ECHO_C" >&6
17812 else
17813 cat >conftest.$ac_ext <<_ACEOF
17814 /* confdefs.h. */
17815 _ACEOF
17816 cat confdefs.h >>conftest.$ac_ext
17817 cat >>conftest.$ac_ext <<_ACEOF
17818 /* end confdefs.h. */
17819
17820 int
17821 main ()
17822 {
17823
17824 #ifndef __SUNPRO_CC
17825 choke me
17826 #endif
17827
17828 ;
17829 return 0;
17830 }
17831 _ACEOF
17832 rm -f conftest.$ac_objext
17833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17834 (eval $ac_compile) 2>conftest.er1
17835 ac_status=$?
17836 grep -v '^ *+' conftest.er1 >conftest.err
17837 rm -f conftest.er1
17838 cat conftest.err >&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); } &&
17841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17843 (eval $ac_try) 2>&5
17844 ac_status=$?
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); }; } &&
17847 { ac_try='test -s conftest.$ac_objext'
17848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17849 (eval $ac_try) 2>&5
17850 ac_status=$?
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); }; }; then
17853 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17854 else
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.$ac_ext >&5
17857
17858 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17859
17860 fi
17861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17862
17863
17864 fi
17865 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17866 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
17867 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17868 :; SUNCXX=yes
17869 else
17870 :;
17871 fi
17872 ac_ext=c
17873 ac_cpp='$CPP $CPPFLAGS'
17874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17877
17878
17879
17880 ;;
17881
17882 HP-UX*)
17883
17884
17885 ac_ext=cc
17886 ac_cpp='$CXXCPP $CPPFLAGS'
17887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17890
17891 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17892 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
17893 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17894 echo $ECHO_N "(cached) $ECHO_C" >&6
17895 else
17896 cat >conftest.$ac_ext <<_ACEOF
17897 /* confdefs.h. */
17898 _ACEOF
17899 cat confdefs.h >>conftest.$ac_ext
17900 cat >>conftest.$ac_ext <<_ACEOF
17901 /* end confdefs.h. */
17902
17903 int
17904 main ()
17905 {
17906
17907 #ifndef __HP_aCC
17908 choke me
17909 #endif
17910
17911 ;
17912 return 0;
17913 }
17914 _ACEOF
17915 rm -f conftest.$ac_objext
17916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17917 (eval $ac_compile) 2>conftest.er1
17918 ac_status=$?
17919 grep -v '^ *+' conftest.er1 >conftest.err
17920 rm -f conftest.er1
17921 cat conftest.err >&5
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); } &&
17924 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17926 (eval $ac_try) 2>&5
17927 ac_status=$?
17928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17929 (exit $ac_status); }; } &&
17930 { ac_try='test -s conftest.$ac_objext'
17931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17932 (eval $ac_try) 2>&5
17933 ac_status=$?
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); }; }; then
17936 bakefile_cv_cxx_compiler___HP_aCC=yes
17937 else
17938 echo "$as_me: failed program was:" >&5
17939 sed 's/^/| /' conftest.$ac_ext >&5
17940
17941 bakefile_cv_cxx_compiler___HP_aCC=no
17942
17943 fi
17944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17945
17946
17947 fi
17948 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17949 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
17950 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17951 :; HPCXX=yes
17952 else
17953 :;
17954 fi
17955 ac_ext=c
17956 ac_cpp='$CPP $CPPFLAGS'
17957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17960
17961
17962
17963 ;;
17964
17965 OSF1)
17966
17967
17968 ac_ext=cc
17969 ac_cpp='$CXXCPP $CPPFLAGS'
17970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17973
17974 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17975 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
17976 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17977 echo $ECHO_N "(cached) $ECHO_C" >&6
17978 else
17979 cat >conftest.$ac_ext <<_ACEOF
17980 /* confdefs.h. */
17981 _ACEOF
17982 cat confdefs.h >>conftest.$ac_ext
17983 cat >>conftest.$ac_ext <<_ACEOF
17984 /* end confdefs.h. */
17985
17986 int
17987 main ()
17988 {
17989
17990 #ifndef __DECCXX
17991 choke me
17992 #endif
17993
17994 ;
17995 return 0;
17996 }
17997 _ACEOF
17998 rm -f conftest.$ac_objext
17999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18000 (eval $ac_compile) 2>conftest.er1
18001 ac_status=$?
18002 grep -v '^ *+' conftest.er1 >conftest.err
18003 rm -f conftest.er1
18004 cat conftest.err >&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); } &&
18007 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18009 (eval $ac_try) 2>&5
18010 ac_status=$?
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; } &&
18013 { ac_try='test -s conftest.$ac_objext'
18014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18015 (eval $ac_try) 2>&5
18016 ac_status=$?
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); }; }; then
18019 bakefile_cv_cxx_compiler___DECCXX=yes
18020 else
18021 echo "$as_me: failed program was:" >&5
18022 sed 's/^/| /' conftest.$ac_ext >&5
18023
18024 bakefile_cv_cxx_compiler___DECCXX=no
18025
18026 fi
18027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18028
18029
18030 fi
18031 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18032 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
18033 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18034 :; COMPAQCXX=yes
18035 else
18036 :;
18037 fi
18038 ac_ext=c
18039 ac_cpp='$CPP $CPPFLAGS'
18040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18043
18044
18045
18046 ;;
18047
18048 SunOS)
18049
18050
18051 ac_ext=cc
18052 ac_cpp='$CXXCPP $CPPFLAGS'
18053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18056
18057 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18058 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
18059 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18060 echo $ECHO_N "(cached) $ECHO_C" >&6
18061 else
18062 cat >conftest.$ac_ext <<_ACEOF
18063 /* confdefs.h. */
18064 _ACEOF
18065 cat confdefs.h >>conftest.$ac_ext
18066 cat >>conftest.$ac_ext <<_ACEOF
18067 /* end confdefs.h. */
18068
18069 int
18070 main ()
18071 {
18072
18073 #ifndef __SUNPRO_CC
18074 choke me
18075 #endif
18076
18077 ;
18078 return 0;
18079 }
18080 _ACEOF
18081 rm -f conftest.$ac_objext
18082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18083 (eval $ac_compile) 2>conftest.er1
18084 ac_status=$?
18085 grep -v '^ *+' conftest.er1 >conftest.err
18086 rm -f conftest.er1
18087 cat conftest.err >&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); } &&
18090 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18092 (eval $ac_try) 2>&5
18093 ac_status=$?
18094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18095 (exit $ac_status); }; } &&
18096 { ac_try='test -s conftest.$ac_objext'
18097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18098 (eval $ac_try) 2>&5
18099 ac_status=$?
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); }; }; then
18102 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18103 else
18104 echo "$as_me: failed program was:" >&5
18105 sed 's/^/| /' conftest.$ac_ext >&5
18106
18107 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18108
18109 fi
18110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18111
18112
18113 fi
18114 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18115 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
18116 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18117 :; SUNCXX=yes
18118 else
18119 :;
18120 fi
18121 ac_ext=c
18122 ac_cpp='$CPP $CPPFLAGS'
18123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18126
18127
18128
18129 ;;
18130 esac
18131 fi
18132
18133
18134
18135 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
18136 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
18137 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
18138 { (exit 1); exit 1; }; }
18139 fi
18140
18141 if test -n "$ac_tool_prefix"; then
18142 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
18143 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
18144 echo "$as_me:$LINENO: checking for $ac_word" >&5
18145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18146 if test "${ac_cv_prog_RANLIB+set}" = set; then
18147 echo $ECHO_N "(cached) $ECHO_C" >&6
18148 else
18149 if test -n "$RANLIB"; then
18150 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
18151 else
18152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18153 for as_dir in $PATH
18154 do
18155 IFS=$as_save_IFS
18156 test -z "$as_dir" && as_dir=.
18157 for ac_exec_ext in '' $ac_executable_extensions; do
18158 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18159 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
18160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18161 break 2
18162 fi
18163 done
18164 done
18165
18166 fi
18167 fi
18168 RANLIB=$ac_cv_prog_RANLIB
18169 if test -n "$RANLIB"; then
18170 echo "$as_me:$LINENO: result: $RANLIB" >&5
18171 echo "${ECHO_T}$RANLIB" >&6
18172 else
18173 echo "$as_me:$LINENO: result: no" >&5
18174 echo "${ECHO_T}no" >&6
18175 fi
18176
18177 fi
18178 if test -z "$ac_cv_prog_RANLIB"; then
18179 ac_ct_RANLIB=$RANLIB
18180 # Extract the first word of "ranlib", so it can be a program name with args.
18181 set dummy ranlib; ac_word=$2
18182 echo "$as_me:$LINENO: checking for $ac_word" >&5
18183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18184 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
18185 echo $ECHO_N "(cached) $ECHO_C" >&6
18186 else
18187 if test -n "$ac_ct_RANLIB"; then
18188 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
18189 else
18190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18191 for as_dir in $PATH
18192 do
18193 IFS=$as_save_IFS
18194 test -z "$as_dir" && as_dir=.
18195 for ac_exec_ext in '' $ac_executable_extensions; do
18196 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18197 ac_cv_prog_ac_ct_RANLIB="ranlib"
18198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18199 break 2
18200 fi
18201 done
18202 done
18203
18204 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
18205 fi
18206 fi
18207 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
18208 if test -n "$ac_ct_RANLIB"; then
18209 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
18210 echo "${ECHO_T}$ac_ct_RANLIB" >&6
18211 else
18212 echo "$as_me:$LINENO: result: no" >&5
18213 echo "${ECHO_T}no" >&6
18214 fi
18215
18216 RANLIB=$ac_ct_RANLIB
18217 else
18218 RANLIB="$ac_cv_prog_RANLIB"
18219 fi
18220
18221
18222 if test "x$SUNCXX" != xyes; then
18223 if test -n "$ac_tool_prefix"; then
18224 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
18225 set dummy ${ac_tool_prefix}ar; ac_word=$2
18226 echo "$as_me:$LINENO: checking for $ac_word" >&5
18227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18228 if test "${ac_cv_prog_AR+set}" = set; then
18229 echo $ECHO_N "(cached) $ECHO_C" >&6
18230 else
18231 if test -n "$AR"; then
18232 ac_cv_prog_AR="$AR" # Let the user override the test.
18233 else
18234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18235 for as_dir in $PATH
18236 do
18237 IFS=$as_save_IFS
18238 test -z "$as_dir" && as_dir=.
18239 for ac_exec_ext in '' $ac_executable_extensions; do
18240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18241 ac_cv_prog_AR="${ac_tool_prefix}ar"
18242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18243 break 2
18244 fi
18245 done
18246 done
18247
18248 fi
18249 fi
18250 AR=$ac_cv_prog_AR
18251 if test -n "$AR"; then
18252 echo "$as_me:$LINENO: result: $AR" >&5
18253 echo "${ECHO_T}$AR" >&6
18254 else
18255 echo "$as_me:$LINENO: result: no" >&5
18256 echo "${ECHO_T}no" >&6
18257 fi
18258
18259 fi
18260 if test -z "$ac_cv_prog_AR"; then
18261 ac_ct_AR=$AR
18262 # Extract the first word of "ar", so it can be a program name with args.
18263 set dummy ar; ac_word=$2
18264 echo "$as_me:$LINENO: checking for $ac_word" >&5
18265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18266 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
18267 echo $ECHO_N "(cached) $ECHO_C" >&6
18268 else
18269 if test -n "$ac_ct_AR"; then
18270 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
18271 else
18272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18273 for as_dir in $PATH
18274 do
18275 IFS=$as_save_IFS
18276 test -z "$as_dir" && as_dir=.
18277 for ac_exec_ext in '' $ac_executable_extensions; do
18278 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18279 ac_cv_prog_ac_ct_AR="ar"
18280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18281 break 2
18282 fi
18283 done
18284 done
18285
18286 fi
18287 fi
18288 ac_ct_AR=$ac_cv_prog_ac_ct_AR
18289 if test -n "$ac_ct_AR"; then
18290 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
18291 echo "${ECHO_T}$ac_ct_AR" >&6
18292 else
18293 echo "$as_me:$LINENO: result: no" >&5
18294 echo "${ECHO_T}no" >&6
18295 fi
18296
18297 AR=$ac_ct_AR
18298 else
18299 AR="$ac_cv_prog_AR"
18300 fi
18301
18302 if test "x$AR" = "x" ; then
18303 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
18304 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
18305 { (exit 1); exit 1; }; }
18306 fi
18307 fi
18308
18309 # Find a good install program. We prefer a C program (faster),
18310 # so one script is as good as another. But avoid the broken or
18311 # incompatible versions:
18312 # SysV /etc/install, /usr/sbin/install
18313 # SunOS /usr/etc/install
18314 # IRIX /sbin/install
18315 # AIX /bin/install
18316 # AmigaOS /C/install, which installs bootblocks on floppy discs
18317 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
18318 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
18319 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
18320 # OS/2's system install, which has a completely different semantic
18321 # ./install, which can be erroneously created by make from ./install.sh.
18322 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
18323 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
18324 if test -z "$INSTALL"; then
18325 if test "${ac_cv_path_install+set}" = set; then
18326 echo $ECHO_N "(cached) $ECHO_C" >&6
18327 else
18328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18329 for as_dir in $PATH
18330 do
18331 IFS=$as_save_IFS
18332 test -z "$as_dir" && as_dir=.
18333 # Account for people who put trailing slashes in PATH elements.
18334 case $as_dir/ in
18335 ./ | .// | /cC/* | \
18336 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
18337 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
18338 /usr/ucb/* ) ;;
18339 *)
18340 # OSF1 and SCO ODT 3.0 have their own names for install.
18341 # Don't use installbsd from OSF since it installs stuff as root
18342 # by default.
18343 for ac_prog in ginstall scoinst install; do
18344 for ac_exec_ext in '' $ac_executable_extensions; do
18345 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
18346 if test $ac_prog = install &&
18347 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
18348 # AIX install. It has an incompatible calling convention.
18349 :
18350 elif test $ac_prog = install &&
18351 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
18352 # program-specific install script used by HP pwplus--don't use.
18353 :
18354 else
18355 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
18356 break 3
18357 fi
18358 fi
18359 done
18360 done
18361 ;;
18362 esac
18363 done
18364
18365
18366 fi
18367 if test "${ac_cv_path_install+set}" = set; then
18368 INSTALL=$ac_cv_path_install
18369 else
18370 # As a last resort, use the slow shell script. We don't cache a
18371 # path for INSTALL within a source directory, because that will
18372 # break other packages using the cache if that directory is
18373 # removed, or if the path is relative.
18374 INSTALL=$ac_install_sh
18375 fi
18376 fi
18377 echo "$as_me:$LINENO: result: $INSTALL" >&5
18378 echo "${ECHO_T}$INSTALL" >&6
18379
18380 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
18381 # It thinks the first close brace ends the variable substitution.
18382 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
18383
18384 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
18385
18386 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
18387
18388
18389 case ${INSTALL} in
18390 /* ) # Absolute
18391 ;;
18392 ?:* ) # Drive letter, considered as absolute.
18393 ;;
18394 *)
18395 INSTALL=`pwd`/${INSTALL} ;;
18396 esac
18397
18398
18399 case "${host}" in
18400
18401 *-*-darwin* )
18402 INSTALL_PROGRAM="cp -fp"
18403 INSTALL_DATA="cp -fp"
18404 ;;
18405 *)
18406 ;;
18407 esac
18408
18409 if test -n "$ac_tool_prefix"; then
18410 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
18411 set dummy ${ac_tool_prefix}strip; ac_word=$2
18412 echo "$as_me:$LINENO: checking for $ac_word" >&5
18413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18414 if test "${ac_cv_prog_STRIP+set}" = set; then
18415 echo $ECHO_N "(cached) $ECHO_C" >&6
18416 else
18417 if test -n "$STRIP"; then
18418 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
18419 else
18420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18421 for as_dir in $PATH
18422 do
18423 IFS=$as_save_IFS
18424 test -z "$as_dir" && as_dir=.
18425 for ac_exec_ext in '' $ac_executable_extensions; do
18426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18427 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
18428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18429 break 2
18430 fi
18431 done
18432 done
18433
18434 fi
18435 fi
18436 STRIP=$ac_cv_prog_STRIP
18437 if test -n "$STRIP"; then
18438 echo "$as_me:$LINENO: result: $STRIP" >&5
18439 echo "${ECHO_T}$STRIP" >&6
18440 else
18441 echo "$as_me:$LINENO: result: no" >&5
18442 echo "${ECHO_T}no" >&6
18443 fi
18444
18445 fi
18446 if test -z "$ac_cv_prog_STRIP"; then
18447 ac_ct_STRIP=$STRIP
18448 # Extract the first word of "strip", so it can be a program name with args.
18449 set dummy strip; ac_word=$2
18450 echo "$as_me:$LINENO: checking for $ac_word" >&5
18451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18452 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
18453 echo $ECHO_N "(cached) $ECHO_C" >&6
18454 else
18455 if test -n "$ac_ct_STRIP"; then
18456 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
18457 else
18458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18459 for as_dir in $PATH
18460 do
18461 IFS=$as_save_IFS
18462 test -z "$as_dir" && as_dir=.
18463 for ac_exec_ext in '' $ac_executable_extensions; do
18464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18465 ac_cv_prog_ac_ct_STRIP="strip"
18466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18467 break 2
18468 fi
18469 done
18470 done
18471
18472 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
18473 fi
18474 fi
18475 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
18476 if test -n "$ac_ct_STRIP"; then
18477 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
18478 echo "${ECHO_T}$ac_ct_STRIP" >&6
18479 else
18480 echo "$as_me:$LINENO: result: no" >&5
18481 echo "${ECHO_T}no" >&6
18482 fi
18483
18484 STRIP=$ac_ct_STRIP
18485 else
18486 STRIP="$ac_cv_prog_STRIP"
18487 fi
18488
18489
18490 if test "$wxUSE_WINE" = "yes"; then
18491 if test -n "$ac_tool_prefix"; then
18492 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
18493 set dummy ${ac_tool_prefix}wrc; ac_word=$2
18494 echo "$as_me:$LINENO: checking for $ac_word" >&5
18495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18496 if test "${ac_cv_prog_WINDRES+set}" = set; then
18497 echo $ECHO_N "(cached) $ECHO_C" >&6
18498 else
18499 if test -n "$WINDRES"; then
18500 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
18501 else
18502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18503 for as_dir in $PATH
18504 do
18505 IFS=$as_save_IFS
18506 test -z "$as_dir" && as_dir=.
18507 for ac_exec_ext in '' $ac_executable_extensions; do
18508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18509 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
18510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18511 break 2
18512 fi
18513 done
18514 done
18515
18516 fi
18517 fi
18518 WINDRES=$ac_cv_prog_WINDRES
18519 if test -n "$WINDRES"; then
18520 echo "$as_me:$LINENO: result: $WINDRES" >&5
18521 echo "${ECHO_T}$WINDRES" >&6
18522 else
18523 echo "$as_me:$LINENO: result: no" >&5
18524 echo "${ECHO_T}no" >&6
18525 fi
18526
18527 fi
18528 if test -z "$ac_cv_prog_WINDRES"; then
18529 ac_ct_WINDRES=$WINDRES
18530 # Extract the first word of "wrc", so it can be a program name with args.
18531 set dummy wrc; ac_word=$2
18532 echo "$as_me:$LINENO: checking for $ac_word" >&5
18533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18534 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
18535 echo $ECHO_N "(cached) $ECHO_C" >&6
18536 else
18537 if test -n "$ac_ct_WINDRES"; then
18538 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
18539 else
18540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18541 for as_dir in $PATH
18542 do
18543 IFS=$as_save_IFS
18544 test -z "$as_dir" && as_dir=.
18545 for ac_exec_ext in '' $ac_executable_extensions; do
18546 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18547 ac_cv_prog_ac_ct_WINDRES="wrc"
18548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18549 break 2
18550 fi
18551 done
18552 done
18553
18554 fi
18555 fi
18556 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
18557 if test -n "$ac_ct_WINDRES"; then
18558 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
18559 echo "${ECHO_T}$ac_ct_WINDRES" >&6
18560 else
18561 echo "$as_me:$LINENO: result: no" >&5
18562 echo "${ECHO_T}no" >&6
18563 fi
18564
18565 WINDRES=$ac_ct_WINDRES
18566 else
18567 WINDRES="$ac_cv_prog_WINDRES"
18568 fi
18569
18570 RESCOMP="$WINDRES"
18571 else
18572 case "${host}" in
18573 *-*-cygwin* | *-*-mingw32* )
18574 if test -n "$ac_tool_prefix"; then
18575 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
18576 set dummy ${ac_tool_prefix}windres; ac_word=$2
18577 echo "$as_me:$LINENO: checking for $ac_word" >&5
18578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18579 if test "${ac_cv_prog_WINDRES+set}" = set; then
18580 echo $ECHO_N "(cached) $ECHO_C" >&6
18581 else
18582 if test -n "$WINDRES"; then
18583 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
18584 else
18585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18586 for as_dir in $PATH
18587 do
18588 IFS=$as_save_IFS
18589 test -z "$as_dir" && as_dir=.
18590 for ac_exec_ext in '' $ac_executable_extensions; do
18591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18592 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
18593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18594 break 2
18595 fi
18596 done
18597 done
18598
18599 fi
18600 fi
18601 WINDRES=$ac_cv_prog_WINDRES
18602 if test -n "$WINDRES"; then
18603 echo "$as_me:$LINENO: result: $WINDRES" >&5
18604 echo "${ECHO_T}$WINDRES" >&6
18605 else
18606 echo "$as_me:$LINENO: result: no" >&5
18607 echo "${ECHO_T}no" >&6
18608 fi
18609
18610 fi
18611 if test -z "$ac_cv_prog_WINDRES"; then
18612 ac_ct_WINDRES=$WINDRES
18613 # Extract the first word of "windres", so it can be a program name with args.
18614 set dummy windres; ac_word=$2
18615 echo "$as_me:$LINENO: checking for $ac_word" >&5
18616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18617 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
18618 echo $ECHO_N "(cached) $ECHO_C" >&6
18619 else
18620 if test -n "$ac_ct_WINDRES"; then
18621 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
18622 else
18623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18624 for as_dir in $PATH
18625 do
18626 IFS=$as_save_IFS
18627 test -z "$as_dir" && as_dir=.
18628 for ac_exec_ext in '' $ac_executable_extensions; do
18629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18630 ac_cv_prog_ac_ct_WINDRES="windres"
18631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18632 break 2
18633 fi
18634 done
18635 done
18636
18637 fi
18638 fi
18639 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
18640 if test -n "$ac_ct_WINDRES"; then
18641 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
18642 echo "${ECHO_T}$ac_ct_WINDRES" >&6
18643 else
18644 echo "$as_me:$LINENO: result: no" >&5
18645 echo "${ECHO_T}no" >&6
18646 fi
18647
18648 WINDRES=$ac_ct_WINDRES
18649 else
18650 WINDRES="$ac_cv_prog_WINDRES"
18651 fi
18652
18653 RESCOMP="$WINDRES"
18654 if test -n "$ac_tool_prefix"; then
18655 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
18656 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
18657 echo "$as_me:$LINENO: checking for $ac_word" >&5
18658 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18659 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
18660 echo $ECHO_N "(cached) $ECHO_C" >&6
18661 else
18662 if test -n "$DLLTOOL"; then
18663 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
18664 else
18665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18666 for as_dir in $PATH
18667 do
18668 IFS=$as_save_IFS
18669 test -z "$as_dir" && as_dir=.
18670 for ac_exec_ext in '' $ac_executable_extensions; do
18671 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18672 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
18673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18674 break 2
18675 fi
18676 done
18677 done
18678
18679 fi
18680 fi
18681 DLLTOOL=$ac_cv_prog_DLLTOOL
18682 if test -n "$DLLTOOL"; then
18683 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
18684 echo "${ECHO_T}$DLLTOOL" >&6
18685 else
18686 echo "$as_me:$LINENO: result: no" >&5
18687 echo "${ECHO_T}no" >&6
18688 fi
18689
18690 fi
18691 if test -z "$ac_cv_prog_DLLTOOL"; then
18692 ac_ct_DLLTOOL=$DLLTOOL
18693 # Extract the first word of "dlltool", so it can be a program name with args.
18694 set dummy dlltool; ac_word=$2
18695 echo "$as_me:$LINENO: checking for $ac_word" >&5
18696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18697 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
18698 echo $ECHO_N "(cached) $ECHO_C" >&6
18699 else
18700 if test -n "$ac_ct_DLLTOOL"; then
18701 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
18702 else
18703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18704 for as_dir in $PATH
18705 do
18706 IFS=$as_save_IFS
18707 test -z "$as_dir" && as_dir=.
18708 for ac_exec_ext in '' $ac_executable_extensions; do
18709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18710 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
18711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18712 break 2
18713 fi
18714 done
18715 done
18716
18717 fi
18718 fi
18719 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
18720 if test -n "$ac_ct_DLLTOOL"; then
18721 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
18722 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
18723 else
18724 echo "$as_me:$LINENO: result: no" >&5
18725 echo "${ECHO_T}no" >&6
18726 fi
18727
18728 DLLTOOL=$ac_ct_DLLTOOL
18729 else
18730 DLLTOOL="$ac_cv_prog_DLLTOOL"
18731 fi
18732
18733 ;;
18734 esac
18735 fi
18736
18737 echo "$as_me:$LINENO: checking if make is GNU make" >&5
18738 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
18739 if test "${wx_cv_prog_makeisgnu+set}" = set; then
18740 echo $ECHO_N "(cached) $ECHO_C" >&6
18741 else
18742
18743 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
18744 $EGREP -s GNU > /dev/null); then
18745 wx_cv_prog_makeisgnu="yes"
18746 else
18747 wx_cv_prog_makeisgnu="no"
18748 fi
18749
18750 fi
18751 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
18752 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
18753
18754 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
18755 IF_GNU_MAKE=""
18756 else
18757 IF_GNU_MAKE="#"
18758 fi
18759
18760
18761
18762 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
18763 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
18764 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
18765 if test "${wx_cv_prog_makevpath+set}" = set; then
18766 echo $ECHO_N "(cached) $ECHO_C" >&6
18767 else
18768
18769 cat - << EOF > confMake
18770 check : file
18771 cp \$? \$@
18772 cp \$? final_file
18773 EOF
18774
18775 if test ! -d sub ; then
18776 mkdir sub
18777 fi
18778 echo dummy > sub/file
18779 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
18780 RESULT=$?
18781 rm -f sub/file check final_file confMake
18782 rmdir sub
18783 if test "$RESULT" = 0; then
18784 wx_cv_prog_makevpath="yes"
18785 else
18786 wx_cv_prog_makevpath="no"
18787 fi
18788
18789 fi
18790 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
18791 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
18792
18793 if test "x$wx_cv_prog_makevpath" != "xyes"; then
18794 { { echo "$as_me:$LINENO: error:
18795 You need a make-utility that is able to use the variable
18796 VPATH correctly.
18797 If your version of make does not support VPATH correctly,
18798 please install GNU-make (possibly as gmake), and start
18799 configure with the following command:
18800 export MAKE=gmake; ./configure for sh-type shells
18801 setenv MAKE gmake; ./configure for csh-type shells
18802 Also please do remember to use gmake in this case every time
18803 you are trying to compile.
18804 " >&5
18805 echo "$as_me: error:
18806 You need a make-utility that is able to use the variable
18807 VPATH correctly.
18808 If your version of make does not support VPATH correctly,
18809 please install GNU-make (possibly as gmake), and start
18810 configure with the following command:
18811 export MAKE=gmake; ./configure for sh-type shells
18812 setenv MAKE gmake; ./configure for csh-type shells
18813 Also please do remember to use gmake in this case every time
18814 you are trying to compile.
18815 " >&2;}
18816 { (exit 1); exit 1; }; }
18817 fi fi
18818 echo "$as_me:$LINENO: checking whether ln -s works" >&5
18819 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
18820 LN_S=$as_ln_s
18821 if test "$LN_S" = "ln -s"; then
18822 echo "$as_me:$LINENO: result: yes" >&5
18823 echo "${ECHO_T}yes" >&6
18824 else
18825 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
18826 echo "${ECHO_T}no, using $LN_S" >&6
18827 fi
18828
18829
18830
18831
18832 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
18833 CXXFLAGS="-qunique $CXXFLAGS"
18834 fi
18835
18836 case "${host}" in
18837 powerpc-*-darwin* )
18838 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
18839 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
18840 cat >conftest.$ac_ext <<_ACEOF
18841 /* confdefs.h. */
18842 _ACEOF
18843 cat confdefs.h >>conftest.$ac_ext
18844 cat >>conftest.$ac_ext <<_ACEOF
18845 /* end confdefs.h. */
18846
18847 int
18848 main ()
18849 {
18850 #ifndef __POWERPC__
18851 choke me for lack of PowerPC
18852 #endif
18853
18854 ;
18855 return 0;
18856 }
18857 _ACEOF
18858 rm -f conftest.$ac_objext
18859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18860 (eval $ac_compile) 2>conftest.er1
18861 ac_status=$?
18862 grep -v '^ *+' conftest.er1 >conftest.err
18863 rm -f conftest.er1
18864 cat conftest.err >&5
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); } &&
18867 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18869 (eval $ac_try) 2>&5
18870 ac_status=$?
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); }; } &&
18873 { ac_try='test -s conftest.$ac_objext'
18874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18875 (eval $ac_try) 2>&5
18876 ac_status=$?
18877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18878 (exit $ac_status); }; }; then
18879 echo "$as_me:$LINENO: result: yes" >&5
18880 echo "${ECHO_T}yes" >&6
18881 else
18882 echo "$as_me: failed program was:" >&5
18883 sed 's/^/| /' conftest.$ac_ext >&5
18884
18885 echo "$as_me:$LINENO: result: no" >&5
18886 echo "${ECHO_T}no" >&6
18887 cat >>confdefs.h <<\_ACEOF
18888 #define __POWERPC__ 1
18889 _ACEOF
18890
18891
18892 fi
18893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18894 ;;
18895 esac
18896
18897 case "${host}" in
18898 *-*-darwin* )
18899 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18900 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
18901 cat >conftest.$ac_ext <<_ACEOF
18902 /* confdefs.h. */
18903 _ACEOF
18904 cat confdefs.h >>conftest.$ac_ext
18905 cat >>conftest.$ac_ext <<_ACEOF
18906 /* end confdefs.h. */
18907 #include <CoreFoundation/CFBase.h>
18908
18909 int
18910 main ()
18911 {
18912
18913 ;
18914 return 0;
18915 }
18916 _ACEOF
18917 rm -f conftest.$ac_objext
18918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18919 (eval $ac_compile) 2>conftest.er1
18920 ac_status=$?
18921 grep -v '^ *+' conftest.er1 >conftest.err
18922 rm -f conftest.er1
18923 cat conftest.err >&5
18924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18925 (exit $ac_status); } &&
18926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18928 (eval $ac_try) 2>&5
18929 ac_status=$?
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); }; } &&
18932 { ac_try='test -s conftest.$ac_objext'
18933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18934 (eval $ac_try) 2>&5
18935 ac_status=$?
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); }; }; then
18938 echo "$as_me:$LINENO: result: yes" >&5
18939 echo "${ECHO_T}yes" >&6
18940 else
18941 echo "$as_me: failed program was:" >&5
18942 sed 's/^/| /' conftest.$ac_ext >&5
18943
18944 echo "$as_me:$LINENO: result: no" >&5
18945 echo "${ECHO_T}no" >&6
18946 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18947 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
18948 cat >conftest.$ac_ext <<_ACEOF
18949 /* confdefs.h. */
18950 _ACEOF
18951 cat confdefs.h >>conftest.$ac_ext
18952 cat >>conftest.$ac_ext <<_ACEOF
18953 /* end confdefs.h. */
18954 #define __CF_USE_FRAMEWORK_INCLUDES__
18955 #include <CoreFoundation/CFBase.h>
18956
18957 int
18958 main ()
18959 {
18960
18961 ;
18962 return 0;
18963 }
18964 _ACEOF
18965 rm -f conftest.$ac_objext
18966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18967 (eval $ac_compile) 2>conftest.er1
18968 ac_status=$?
18969 grep -v '^ *+' conftest.er1 >conftest.err
18970 rm -f conftest.er1
18971 cat conftest.err >&5
18972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18973 (exit $ac_status); } &&
18974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18976 (eval $ac_try) 2>&5
18977 ac_status=$?
18978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18979 (exit $ac_status); }; } &&
18980 { ac_try='test -s conftest.$ac_objext'
18981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18982 (eval $ac_try) 2>&5
18983 ac_status=$?
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); }; }; then
18986 echo "$as_me:$LINENO: result: yes" >&5
18987 echo "${ECHO_T}yes" >&6
18988 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18989 else
18990 echo "$as_me: failed program was:" >&5
18991 sed 's/^/| /' conftest.$ac_ext >&5
18992
18993 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18994 See \`config.log' for more details." >&5
18995 echo "$as_me: error: no. CoreFoundation not available.
18996 See \`config.log' for more details." >&2;}
18997 { (exit 1); exit 1; }; }
18998
18999 fi
19000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19001
19002
19003 fi
19004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19005 ;;
19006 esac
19007
19008 wants_win32=0
19009 doesnt_want_win32=0
19010 case "${host}" in
19011 *-*-cygwin*)
19012 if test "$wxUSE_MSW" = 1 ; then
19013 wants_win32=1
19014 else
19015 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19016 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
19017 if test "${wx_cv_nocygwin+set}" = set; then
19018 echo $ECHO_N "(cached) $ECHO_C" >&6
19019 else
19020
19021 cat >conftest.$ac_ext <<_ACEOF
19022 /* confdefs.h. */
19023 _ACEOF
19024 cat confdefs.h >>conftest.$ac_ext
19025 cat >>conftest.$ac_ext <<_ACEOF
19026 /* end confdefs.h. */
19027
19028 int
19029 main ()
19030 {
19031
19032 #ifdef __MINGW32__
19033 choke me
19034 #endif
19035
19036 ;
19037 return 0;
19038 }
19039 _ACEOF
19040 rm -f conftest.$ac_objext
19041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19042 (eval $ac_compile) 2>conftest.er1
19043 ac_status=$?
19044 grep -v '^ *+' conftest.er1 >conftest.err
19045 rm -f conftest.er1
19046 cat conftest.err >&5
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); } &&
19049 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19051 (eval $ac_try) 2>&5
19052 ac_status=$?
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); }; } &&
19055 { ac_try='test -s conftest.$ac_objext'
19056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19057 (eval $ac_try) 2>&5
19058 ac_status=$?
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); }; }; then
19061 wx_cv_nocygwin=no
19062 else
19063 echo "$as_me: failed program was:" >&5
19064 sed 's/^/| /' conftest.$ac_ext >&5
19065
19066 wx_cv_nocygwin=yes
19067
19068 fi
19069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19070
19071
19072 fi
19073 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19074 echo "${ECHO_T}$wx_cv_nocygwin" >&6
19075
19076 if test "$wx_cv_nocygwin" = "yes"; then
19077 wants_win32=1
19078 else
19079 doesnt_want_win32=1
19080 fi
19081 fi
19082 if test "$wants_win32" = 1 ; then
19083 BAKEFILE_FORCE_PLATFORM=win32
19084 fi
19085 ;;
19086 *-*-mingw*)
19087 wants_win32=1
19088 ;;
19089 esac
19090
19091 if test "$wxUSE_WINE" = "yes"; then
19092 wants_win32=1
19093 LDFLAGS_GUI="-mwindows"
19094 fi
19095
19096 if test "$wants_win32" = 1 ; then
19097 USE_UNIX=0
19098 USE_WIN32=1
19099 cat >>confdefs.h <<\_ACEOF
19100 #define __WIN32__ 1
19101 _ACEOF
19102
19103 cat >>confdefs.h <<\_ACEOF
19104 #define __WIN95__ 1
19105 _ACEOF
19106
19107 cat >>confdefs.h <<\_ACEOF
19108 #define __WINDOWS__ 1
19109 _ACEOF
19110
19111 cat >>confdefs.h <<\_ACEOF
19112 #define __GNUWIN32__ 1
19113 _ACEOF
19114
19115 cat >>confdefs.h <<\_ACEOF
19116 #define STRICT 1
19117 _ACEOF
19118
19119 fi
19120 if test "$doesnt_want_win32" = 1 ; then
19121 USE_UNIX=1
19122 USE_WIN32=0
19123 fi
19124
19125 if test "$USE_UNIX" = 1 ; then
19126 wxUSE_UNIX=yes
19127 cat >>confdefs.h <<\_ACEOF
19128 #define __UNIX__ 1
19129 _ACEOF
19130
19131 fi
19132
19133 case "${host}" in
19134 *-pc-os2_emx | *-pc-os2-emx )
19135 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19136 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19137 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
19138 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19139 echo $ECHO_N "(cached) $ECHO_C" >&6
19140 else
19141 ac_check_lib_save_LIBS=$LIBS
19142 LIBS="-lcExt $LIBS"
19143 cat >conftest.$ac_ext <<_ACEOF
19144 /* confdefs.h. */
19145 _ACEOF
19146 cat confdefs.h >>conftest.$ac_ext
19147 cat >>conftest.$ac_ext <<_ACEOF
19148 /* end confdefs.h. */
19149
19150 /* Override any gcc2 internal prototype to avoid an error. */
19151 #ifdef __cplusplus
19152 extern "C"
19153 #endif
19154 /* We use char because int might match the return type of a gcc2
19155 builtin and then its argument prototype would still apply. */
19156 char drand48 ();
19157 int
19158 main ()
19159 {
19160 drand48 ();
19161 ;
19162 return 0;
19163 }
19164 _ACEOF
19165 rm -f conftest.$ac_objext conftest$ac_exeext
19166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19167 (eval $ac_link) 2>conftest.er1
19168 ac_status=$?
19169 grep -v '^ *+' conftest.er1 >conftest.err
19170 rm -f conftest.er1
19171 cat conftest.err >&5
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); } &&
19174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19176 (eval $ac_try) 2>&5
19177 ac_status=$?
19178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); }; } &&
19180 { ac_try='test -s conftest$ac_exeext'
19181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19182 (eval $ac_try) 2>&5
19183 ac_status=$?
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); }; }; then
19186 ac_cv_lib_cExt_drand48=yes
19187 else
19188 echo "$as_me: failed program was:" >&5
19189 sed 's/^/| /' conftest.$ac_ext >&5
19190
19191 ac_cv_lib_cExt_drand48=no
19192 fi
19193 rm -f conftest.err conftest.$ac_objext \
19194 conftest$ac_exeext conftest.$ac_ext
19195 LIBS=$ac_check_lib_save_LIBS
19196 fi
19197 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19198 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
19199 if test $ac_cv_lib_cExt_drand48 = yes; then
19200 LIBS="$LIBS -lcExt"
19201 fi
19202
19203 else
19204 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19205 fi
19206 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19207 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
19208 if test "${wx_cv_gccversion+set}" = set; then
19209 echo $ECHO_N "(cached) $ECHO_C" >&6
19210 else
19211
19212 if test "$cross_compiling" = yes; then
19213 wx_cv_gccversion="EMX2"
19214
19215 else
19216 cat >conftest.$ac_ext <<_ACEOF
19217 /* confdefs.h. */
19218 _ACEOF
19219 cat confdefs.h >>conftest.$ac_ext
19220 cat >>conftest.$ac_ext <<_ACEOF
19221 /* end confdefs.h. */
19222
19223 #include <stdio.h>
19224
19225 int main()
19226 {
19227 FILE *f=fopen("conftestval", "w");
19228 if (!f) exit(1);
19229 fprintf(f,
19230 #if (__GNUC__ < 3)
19231 "EMX2"
19232 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19233 "EMX3"
19234 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19235 "Innotek5"
19236 #else
19237 "Innotek6"
19238 #endif
19239 );
19240 exit(0);
19241 }
19242
19243 _ACEOF
19244 rm -f conftest$ac_exeext
19245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19246 (eval $ac_link) 2>&5
19247 ac_status=$?
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19251 (eval $ac_try) 2>&5
19252 ac_status=$?
19253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19254 (exit $ac_status); }; }; then
19255 wx_cv_gccversion=`cat conftestval`
19256 else
19257 echo "$as_me: program exited with status $ac_status" >&5
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.$ac_ext >&5
19260
19261 ( exit $ac_status )
19262 wx_cv_gccversion="EMX2"
19263 fi
19264 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19265 fi
19266
19267 fi
19268 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
19269 echo "${ECHO_T}$wx_cv_gccversion" >&6
19270 if test "$wx_cv_gccversion" = "EMX2"; then
19271 LIBS="$LIBS -lstdcpp"
19272 LDFLAGS="$LDFLAGS -Zsysv-signals"
19273 else
19274 if test "$wx_cv_gccversion" = "EMX3"; then
19275 LIBS="$LIBS -lstdcxx -lgcc"
19276 LDFLAGS="$LDFLAGS -Zsysv-signals"
19277 else
19278 LIBS="$LIBS -lstdc++"
19279 fi
19280 fi
19281 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
19282 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
19283 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
19284 wxUSE_OMF=yes
19285 enable_omf=yes
19286 fi
19287 ;;
19288 *)
19289
19290 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
19291 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
19292 if test "${ac_cv_string_strcasecmp+set}" = set; then
19293 echo $ECHO_N "(cached) $ECHO_C" >&6
19294 else
19295
19296 cat >conftest.$ac_ext <<_ACEOF
19297 /* confdefs.h. */
19298 _ACEOF
19299 cat confdefs.h >>conftest.$ac_ext
19300 cat >>conftest.$ac_ext <<_ACEOF
19301 /* end confdefs.h. */
19302
19303 #include <string.h>
19304
19305 int
19306 main ()
19307 {
19308
19309 strcasecmp("foo", "bar");
19310
19311 ;
19312 return 0;
19313 }
19314 _ACEOF
19315 rm -f conftest.$ac_objext conftest$ac_exeext
19316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19317 (eval $ac_link) 2>conftest.er1
19318 ac_status=$?
19319 grep -v '^ *+' conftest.er1 >conftest.err
19320 rm -f conftest.er1
19321 cat conftest.err >&5
19322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19323 (exit $ac_status); } &&
19324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19326 (eval $ac_try) 2>&5
19327 ac_status=$?
19328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19329 (exit $ac_status); }; } &&
19330 { ac_try='test -s conftest$ac_exeext'
19331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19332 (eval $ac_try) 2>&5
19333 ac_status=$?
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); }; }; then
19336 ac_cv_string_strcasecmp=yes
19337 else
19338 echo "$as_me: failed program was:" >&5
19339 sed 's/^/| /' conftest.$ac_ext >&5
19340
19341 ac_cv_string_strcasecmp=no
19342
19343 fi
19344 rm -f conftest.err conftest.$ac_objext \
19345 conftest$ac_exeext conftest.$ac_ext
19346
19347 fi
19348 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
19349 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
19350
19351 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
19352 cat >>confdefs.h <<\_ACEOF
19353 #define HAVE_STRCASECMP_IN_STRING_H 1
19354 _ACEOF
19355
19356 else
19357 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
19358 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
19359 if test "${ac_cv_strings_strcasecmp+set}" = set; then
19360 echo $ECHO_N "(cached) $ECHO_C" >&6
19361 else
19362
19363 cat >conftest.$ac_ext <<_ACEOF
19364 /* confdefs.h. */
19365 _ACEOF
19366 cat confdefs.h >>conftest.$ac_ext
19367 cat >>conftest.$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369
19370 #include <strings.h>
19371
19372 int
19373 main ()
19374 {
19375
19376 strcasecmp("foo", "bar");
19377
19378 ;
19379 return 0;
19380 }
19381 _ACEOF
19382 rm -f conftest.$ac_objext conftest$ac_exeext
19383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19384 (eval $ac_link) 2>conftest.er1
19385 ac_status=$?
19386 grep -v '^ *+' conftest.er1 >conftest.err
19387 rm -f conftest.er1
19388 cat conftest.err >&5
19389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19390 (exit $ac_status); } &&
19391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19393 (eval $ac_try) 2>&5
19394 ac_status=$?
19395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 (exit $ac_status); }; } &&
19397 { ac_try='test -s conftest$ac_exeext'
19398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19399 (eval $ac_try) 2>&5
19400 ac_status=$?
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); }; }; then
19403 ac_cv_strings_strcasecmp=yes
19404 else
19405 echo "$as_me: failed program was:" >&5
19406 sed 's/^/| /' conftest.$ac_ext >&5
19407
19408 ac_cv_strings_strcasecmp=no
19409
19410 fi
19411 rm -f conftest.err conftest.$ac_objext \
19412 conftest$ac_exeext conftest.$ac_ext
19413
19414 fi
19415 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
19416 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
19417
19418 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
19419 cat >>confdefs.h <<\_ACEOF
19420 #define HAVE_STRCASECMP_IN_STRINGS_H 1
19421 _ACEOF
19422
19423 else
19424 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
19425 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
19426 { (exit 1); exit 1; }; }
19427 fi
19428 fi
19429
19430 ;;
19431 esac
19432
19433
19434 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19435 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19436 if test "${ac_cv_header_stdc+set}" = set; then
19437 echo $ECHO_N "(cached) $ECHO_C" >&6
19438 else
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 #include <stdlib.h>
19446 #include <stdarg.h>
19447 #include <string.h>
19448 #include <float.h>
19449
19450 int
19451 main ()
19452 {
19453
19454 ;
19455 return 0;
19456 }
19457 _ACEOF
19458 rm -f conftest.$ac_objext
19459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19460 (eval $ac_compile) 2>conftest.er1
19461 ac_status=$?
19462 grep -v '^ *+' conftest.er1 >conftest.err
19463 rm -f conftest.er1
19464 cat conftest.err >&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); } &&
19467 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19469 (eval $ac_try) 2>&5
19470 ac_status=$?
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); }; } &&
19473 { ac_try='test -s conftest.$ac_objext'
19474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 (eval $ac_try) 2>&5
19476 ac_status=$?
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); }; }; then
19479 ac_cv_header_stdc=yes
19480 else
19481 echo "$as_me: failed program was:" >&5
19482 sed 's/^/| /' conftest.$ac_ext >&5
19483
19484 ac_cv_header_stdc=no
19485 fi
19486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19487
19488 if test $ac_cv_header_stdc = yes; then
19489 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19490 cat >conftest.$ac_ext <<_ACEOF
19491 /* confdefs.h. */
19492 _ACEOF
19493 cat confdefs.h >>conftest.$ac_ext
19494 cat >>conftest.$ac_ext <<_ACEOF
19495 /* end confdefs.h. */
19496 #include <string.h>
19497
19498 _ACEOF
19499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19500 $EGREP "memchr" >/dev/null 2>&1; then
19501 :
19502 else
19503 ac_cv_header_stdc=no
19504 fi
19505 rm -f conftest*
19506
19507 fi
19508
19509 if test $ac_cv_header_stdc = yes; then
19510 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19511 cat >conftest.$ac_ext <<_ACEOF
19512 /* confdefs.h. */
19513 _ACEOF
19514 cat confdefs.h >>conftest.$ac_ext
19515 cat >>conftest.$ac_ext <<_ACEOF
19516 /* end confdefs.h. */
19517 #include <stdlib.h>
19518
19519 _ACEOF
19520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19521 $EGREP "free" >/dev/null 2>&1; then
19522 :
19523 else
19524 ac_cv_header_stdc=no
19525 fi
19526 rm -f conftest*
19527
19528 fi
19529
19530 if test $ac_cv_header_stdc = yes; then
19531 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19532 if test "$cross_compiling" = yes; then
19533 :
19534 else
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 #include <ctype.h>
19542 #if ((' ' & 0x0FF) == 0x020)
19543 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19544 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19545 #else
19546 # define ISLOWER(c) \
19547 (('a' <= (c) && (c) <= 'i') \
19548 || ('j' <= (c) && (c) <= 'r') \
19549 || ('s' <= (c) && (c) <= 'z'))
19550 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19551 #endif
19552
19553 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19554 int
19555 main ()
19556 {
19557 int i;
19558 for (i = 0; i < 256; i++)
19559 if (XOR (islower (i), ISLOWER (i))
19560 || toupper (i) != TOUPPER (i))
19561 exit(2);
19562 exit (0);
19563 }
19564 _ACEOF
19565 rm -f conftest$ac_exeext
19566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19567 (eval $ac_link) 2>&5
19568 ac_status=$?
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19572 (eval $ac_try) 2>&5
19573 ac_status=$?
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); }; }; then
19576 :
19577 else
19578 echo "$as_me: program exited with status $ac_status" >&5
19579 echo "$as_me: failed program was:" >&5
19580 sed 's/^/| /' conftest.$ac_ext >&5
19581
19582 ( exit $ac_status )
19583 ac_cv_header_stdc=no
19584 fi
19585 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19586 fi
19587 fi
19588 fi
19589 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19590 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19591 if test $ac_cv_header_stdc = yes; then
19592
19593 cat >>confdefs.h <<\_ACEOF
19594 #define STDC_HEADERS 1
19595 _ACEOF
19596
19597 fi
19598
19599 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
19610 inttypes.h stdint.h unistd.h
19611 do
19612 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19613 echo "$as_me:$LINENO: checking for $ac_header" >&5
19614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19616 echo $ECHO_N "(cached) $ECHO_C" >&6
19617 else
19618 cat >conftest.$ac_ext <<_ACEOF
19619 /* confdefs.h. */
19620 _ACEOF
19621 cat confdefs.h >>conftest.$ac_ext
19622 cat >>conftest.$ac_ext <<_ACEOF
19623 /* end confdefs.h. */
19624 $ac_includes_default
19625
19626 #include <$ac_header>
19627 _ACEOF
19628 rm -f conftest.$ac_objext
19629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19630 (eval $ac_compile) 2>conftest.er1
19631 ac_status=$?
19632 grep -v '^ *+' conftest.er1 >conftest.err
19633 rm -f conftest.er1
19634 cat conftest.err >&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } &&
19637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19639 (eval $ac_try) 2>&5
19640 ac_status=$?
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); }; } &&
19643 { ac_try='test -s conftest.$ac_objext'
19644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19645 (eval $ac_try) 2>&5
19646 ac_status=$?
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); }; }; then
19649 eval "$as_ac_Header=yes"
19650 else
19651 echo "$as_me: failed program was:" >&5
19652 sed 's/^/| /' conftest.$ac_ext >&5
19653
19654 eval "$as_ac_Header=no"
19655 fi
19656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19657 fi
19658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19661 cat >>confdefs.h <<_ACEOF
19662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19663 _ACEOF
19664
19665 fi
19666
19667 done
19668
19669
19670
19671
19672
19673
19674
19675
19676 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
19677 do
19678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19679 echo "$as_me:$LINENO: checking for $ac_header" >&5
19680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19682 echo $ECHO_N "(cached) $ECHO_C" >&6
19683 else
19684 cat >conftest.$ac_ext <<_ACEOF
19685 /* confdefs.h. */
19686 _ACEOF
19687 cat confdefs.h >>conftest.$ac_ext
19688 cat >>conftest.$ac_ext <<_ACEOF
19689 /* end confdefs.h. */
19690 $ac_includes_default
19691
19692 #include <$ac_header>
19693 _ACEOF
19694 rm -f conftest.$ac_objext
19695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19696 (eval $ac_compile) 2>conftest.er1
19697 ac_status=$?
19698 grep -v '^ *+' conftest.er1 >conftest.err
19699 rm -f conftest.er1
19700 cat conftest.err >&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); } &&
19703 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19705 (eval $ac_try) 2>&5
19706 ac_status=$?
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); }; } &&
19709 { ac_try='test -s conftest.$ac_objext'
19710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711 (eval $ac_try) 2>&5
19712 ac_status=$?
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); }; }; then
19715 eval "$as_ac_Header=yes"
19716 else
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.$ac_ext >&5
19719
19720 eval "$as_ac_Header=no"
19721 fi
19722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19723 fi
19724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19727 cat >>confdefs.h <<_ACEOF
19728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19729 _ACEOF
19730
19731 fi
19732
19733 done
19734
19735
19736 if test "$ac_cv_header_wchar_h" != "yes"; then
19737 echo "$as_me:$LINENO: checking for wcstr.h" >&5
19738 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6
19739 if test "${ac_cv_header_wcstr_h+set}" = set; then
19740 echo $ECHO_N "(cached) $ECHO_C" >&6
19741 else
19742 cat >conftest.$ac_ext <<_ACEOF
19743 /* confdefs.h. */
19744 _ACEOF
19745 cat confdefs.h >>conftest.$ac_ext
19746 cat >>conftest.$ac_ext <<_ACEOF
19747 /* end confdefs.h. */
19748 $ac_includes_default
19749
19750 #include <wcstr.h>
19751 _ACEOF
19752 rm -f conftest.$ac_objext
19753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19754 (eval $ac_compile) 2>conftest.er1
19755 ac_status=$?
19756 grep -v '^ *+' conftest.er1 >conftest.err
19757 rm -f conftest.er1
19758 cat conftest.err >&5
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); } &&
19761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19763 (eval $ac_try) 2>&5
19764 ac_status=$?
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); }; } &&
19767 { ac_try='test -s conftest.$ac_objext'
19768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19769 (eval $ac_try) 2>&5
19770 ac_status=$?
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); }; }; then
19773 ac_cv_header_wcstr_h=yes
19774 else
19775 echo "$as_me: failed program was:" >&5
19776 sed 's/^/| /' conftest.$ac_ext >&5
19777
19778 ac_cv_header_wcstr_h=no
19779 fi
19780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19781 fi
19782 echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
19783 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6
19784
19785
19786 fi
19787
19788 case "${host}" in
19789 *-pc-os2_emx | *-pc-os2-emx )
19790 if test $ac_cv_header_langinfo_h = "yes" \
19791 -a \( "$wx_cv_gccversion" = "EMX2" \
19792 -o "$wx_cv_gccversion" = "EMX3" \
19793 -o "$wx_cv_gccversion" = "Innotek5" \); then
19794 LIBS="$LIBS -lintl"
19795 fi
19796 ;;
19797 esac
19798
19799 if test "$USE_UNIX" = 1 ; then
19800 echo "$as_me:$LINENO: checking for sys/select.h" >&5
19801 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6
19802 if test "${ac_cv_header_sys_select_h+set}" = set; then
19803 echo $ECHO_N "(cached) $ECHO_C" >&6
19804 else
19805 cat >conftest.$ac_ext <<_ACEOF
19806 /* confdefs.h. */
19807 _ACEOF
19808 cat confdefs.h >>conftest.$ac_ext
19809 cat >>conftest.$ac_ext <<_ACEOF
19810 /* end confdefs.h. */
19811 $ac_includes_default
19812
19813 #include <sys/select.h>
19814 _ACEOF
19815 rm -f conftest.$ac_objext
19816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19817 (eval $ac_compile) 2>conftest.er1
19818 ac_status=$?
19819 grep -v '^ *+' conftest.er1 >conftest.err
19820 rm -f conftest.er1
19821 cat conftest.err >&5
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); } &&
19824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19827 ac_status=$?
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; } &&
19830 { ac_try='test -s conftest.$ac_objext'
19831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19832 (eval $ac_try) 2>&5
19833 ac_status=$?
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); }; }; then
19836 ac_cv_header_sys_select_h=yes
19837 else
19838 echo "$as_me: failed program was:" >&5
19839 sed 's/^/| /' conftest.$ac_ext >&5
19840
19841 ac_cv_header_sys_select_h=no
19842 fi
19843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19844 fi
19845 echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
19846 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6
19847
19848
19849 fi
19850
19851
19852 for ac_header in sys/epoll.h
19853 do
19854 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19856 echo "$as_me:$LINENO: checking for $ac_header" >&5
19857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19859 echo $ECHO_N "(cached) $ECHO_C" >&6
19860 fi
19861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19862 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19863 else
19864 # Is the header compilable?
19865 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19866 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19867 cat >conftest.$ac_ext <<_ACEOF
19868 /* confdefs.h. */
19869 _ACEOF
19870 cat confdefs.h >>conftest.$ac_ext
19871 cat >>conftest.$ac_ext <<_ACEOF
19872 /* end confdefs.h. */
19873 $ac_includes_default
19874 #include <$ac_header>
19875 _ACEOF
19876 rm -f conftest.$ac_objext
19877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19878 (eval $ac_compile) 2>conftest.er1
19879 ac_status=$?
19880 grep -v '^ *+' conftest.er1 >conftest.err
19881 rm -f conftest.er1
19882 cat conftest.err >&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } &&
19885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19887 (eval $ac_try) 2>&5
19888 ac_status=$?
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); }; } &&
19891 { ac_try='test -s conftest.$ac_objext'
19892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19893 (eval $ac_try) 2>&5
19894 ac_status=$?
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); }; }; then
19897 ac_header_compiler=yes
19898 else
19899 echo "$as_me: failed program was:" >&5
19900 sed 's/^/| /' conftest.$ac_ext >&5
19901
19902 ac_header_compiler=no
19903 fi
19904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19905 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19906 echo "${ECHO_T}$ac_header_compiler" >&6
19907
19908 # Is the header present?
19909 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19910 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19911 cat >conftest.$ac_ext <<_ACEOF
19912 /* confdefs.h. */
19913 _ACEOF
19914 cat confdefs.h >>conftest.$ac_ext
19915 cat >>conftest.$ac_ext <<_ACEOF
19916 /* end confdefs.h. */
19917 #include <$ac_header>
19918 _ACEOF
19919 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19920 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19921 ac_status=$?
19922 grep -v '^ *+' conftest.er1 >conftest.err
19923 rm -f conftest.er1
19924 cat conftest.err >&5
19925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19926 (exit $ac_status); } >/dev/null; then
19927 if test -s conftest.err; then
19928 ac_cpp_err=$ac_c_preproc_warn_flag
19929 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19930 else
19931 ac_cpp_err=
19932 fi
19933 else
19934 ac_cpp_err=yes
19935 fi
19936 if test -z "$ac_cpp_err"; then
19937 ac_header_preproc=yes
19938 else
19939 echo "$as_me: failed program was:" >&5
19940 sed 's/^/| /' conftest.$ac_ext >&5
19941
19942 ac_header_preproc=no
19943 fi
19944 rm -f conftest.err conftest.$ac_ext
19945 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19946 echo "${ECHO_T}$ac_header_preproc" >&6
19947
19948 # So? What about this header?
19949 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19950 yes:no: )
19951 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19952 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19954 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19955 ac_header_preproc=yes
19956 ;;
19957 no:yes:* )
19958 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19959 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19960 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19961 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19962 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19963 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19964 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19965 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19966 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19967 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19968 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19969 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19970 (
19971 cat <<\_ASBOX
19972 ## ----------------------------------------- ##
19973 ## Report this to wx-dev@lists.wxwidgets.org ##
19974 ## ----------------------------------------- ##
19975 _ASBOX
19976 ) |
19977 sed "s/^/$as_me: WARNING: /" >&2
19978 ;;
19979 esac
19980 echo "$as_me:$LINENO: checking for $ac_header" >&5
19981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19983 echo $ECHO_N "(cached) $ECHO_C" >&6
19984 else
19985 eval "$as_ac_Header=\$ac_header_preproc"
19986 fi
19987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19988 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19989
19990 fi
19991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19992 cat >>confdefs.h <<_ACEOF
19993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19994 _ACEOF
19995
19996 fi
19997
19998 done
19999
20000
20001
20002 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20003 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20004 if test "${ac_cv_c_const+set}" = set; then
20005 echo $ECHO_N "(cached) $ECHO_C" >&6
20006 else
20007 cat >conftest.$ac_ext <<_ACEOF
20008 /* confdefs.h. */
20009 _ACEOF
20010 cat confdefs.h >>conftest.$ac_ext
20011 cat >>conftest.$ac_ext <<_ACEOF
20012 /* end confdefs.h. */
20013
20014 int
20015 main ()
20016 {
20017 /* FIXME: Include the comments suggested by Paul. */
20018 #ifndef __cplusplus
20019 /* Ultrix mips cc rejects this. */
20020 typedef int charset[2];
20021 const charset x;
20022 /* SunOS 4.1.1 cc rejects this. */
20023 char const *const *ccp;
20024 char **p;
20025 /* NEC SVR4.0.2 mips cc rejects this. */
20026 struct point {int x, y;};
20027 static struct point const zero = {0,0};
20028 /* AIX XL C 1.02.0.0 rejects this.
20029 It does not let you subtract one const X* pointer from another in
20030 an arm of an if-expression whose if-part is not a constant
20031 expression */
20032 const char *g = "string";
20033 ccp = &g + (g ? g-g : 0);
20034 /* HPUX 7.0 cc rejects these. */
20035 ++ccp;
20036 p = (char**) ccp;
20037 ccp = (char const *const *) p;
20038 { /* SCO 3.2v4 cc rejects this. */
20039 char *t;
20040 char const *s = 0 ? (char *) 0 : (char const *) 0;
20041
20042 *t++ = 0;
20043 }
20044 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20045 int x[] = {25, 17};
20046 const int *foo = &x[0];
20047 ++foo;
20048 }
20049 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20050 typedef const int *iptr;
20051 iptr p = 0;
20052 ++p;
20053 }
20054 { /* AIX XL C 1.02.0.0 rejects this saying
20055 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20056 struct s { int j; const int *ap[3]; };
20057 struct s *b; b->j = 5;
20058 }
20059 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20060 const int foo = 10;
20061 }
20062 #endif
20063
20064 ;
20065 return 0;
20066 }
20067 _ACEOF
20068 rm -f conftest.$ac_objext
20069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20070 (eval $ac_compile) 2>conftest.er1
20071 ac_status=$?
20072 grep -v '^ *+' conftest.er1 >conftest.err
20073 rm -f conftest.er1
20074 cat conftest.err >&5
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); } &&
20077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
20083 { ac_try='test -s conftest.$ac_objext'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20086 ac_status=$?
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; }; then
20089 ac_cv_c_const=yes
20090 else
20091 echo "$as_me: failed program was:" >&5
20092 sed 's/^/| /' conftest.$ac_ext >&5
20093
20094 ac_cv_c_const=no
20095 fi
20096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20097 fi
20098 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20099 echo "${ECHO_T}$ac_cv_c_const" >&6
20100 if test $ac_cv_c_const = no; then
20101
20102 cat >>confdefs.h <<\_ACEOF
20103 #define const
20104 _ACEOF
20105
20106 fi
20107
20108 echo "$as_me:$LINENO: checking for inline" >&5
20109 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20110 if test "${ac_cv_c_inline+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20112 else
20113 ac_cv_c_inline=no
20114 for ac_kw in inline __inline__ __inline; do
20115 cat >conftest.$ac_ext <<_ACEOF
20116 /* confdefs.h. */
20117 _ACEOF
20118 cat confdefs.h >>conftest.$ac_ext
20119 cat >>conftest.$ac_ext <<_ACEOF
20120 /* end confdefs.h. */
20121 #ifndef __cplusplus
20122 typedef int foo_t;
20123 static $ac_kw foo_t static_foo () {return 0; }
20124 $ac_kw foo_t foo () {return 0; }
20125 #endif
20126
20127 _ACEOF
20128 rm -f conftest.$ac_objext
20129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20130 (eval $ac_compile) 2>conftest.er1
20131 ac_status=$?
20132 grep -v '^ *+' conftest.er1 >conftest.err
20133 rm -f conftest.er1
20134 cat conftest.err >&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); } &&
20137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20139 (eval $ac_try) 2>&5
20140 ac_status=$?
20141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20142 (exit $ac_status); }; } &&
20143 { ac_try='test -s conftest.$ac_objext'
20144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20145 (eval $ac_try) 2>&5
20146 ac_status=$?
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); }; }; then
20149 ac_cv_c_inline=$ac_kw; break
20150 else
20151 echo "$as_me: failed program was:" >&5
20152 sed 's/^/| /' conftest.$ac_ext >&5
20153
20154 fi
20155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20156 done
20157
20158 fi
20159 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20160 echo "${ECHO_T}$ac_cv_c_inline" >&6
20161
20162
20163 case $ac_cv_c_inline in
20164 inline | yes) ;;
20165 *)
20166 case $ac_cv_c_inline in
20167 no) ac_val=;;
20168 *) ac_val=$ac_cv_c_inline;;
20169 esac
20170 cat >>confdefs.h <<_ACEOF
20171 #ifndef __cplusplus
20172 #define inline $ac_val
20173 #endif
20174 _ACEOF
20175 ;;
20176 esac
20177
20178
20179 echo "$as_me:$LINENO: checking for short" >&5
20180 echo $ECHO_N "checking for short... $ECHO_C" >&6
20181 if test "${ac_cv_type_short+set}" = set; then
20182 echo $ECHO_N "(cached) $ECHO_C" >&6
20183 else
20184 cat >conftest.$ac_ext <<_ACEOF
20185 /* confdefs.h. */
20186 _ACEOF
20187 cat confdefs.h >>conftest.$ac_ext
20188 cat >>conftest.$ac_ext <<_ACEOF
20189 /* end confdefs.h. */
20190 $ac_includes_default
20191 int
20192 main ()
20193 {
20194 if ((short *) 0)
20195 return 0;
20196 if (sizeof (short))
20197 return 0;
20198 ;
20199 return 0;
20200 }
20201 _ACEOF
20202 rm -f conftest.$ac_objext
20203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20204 (eval $ac_compile) 2>conftest.er1
20205 ac_status=$?
20206 grep -v '^ *+' conftest.er1 >conftest.err
20207 rm -f conftest.er1
20208 cat conftest.err >&5
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); } &&
20211 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20213 (eval $ac_try) 2>&5
20214 ac_status=$?
20215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20216 (exit $ac_status); }; } &&
20217 { ac_try='test -s conftest.$ac_objext'
20218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20219 (eval $ac_try) 2>&5
20220 ac_status=$?
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); }; }; then
20223 ac_cv_type_short=yes
20224 else
20225 echo "$as_me: failed program was:" >&5
20226 sed 's/^/| /' conftest.$ac_ext >&5
20227
20228 ac_cv_type_short=no
20229 fi
20230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20231 fi
20232 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20233 echo "${ECHO_T}$ac_cv_type_short" >&6
20234
20235 echo "$as_me:$LINENO: checking size of short" >&5
20236 echo $ECHO_N "checking size of short... $ECHO_C" >&6
20237 if test "${ac_cv_sizeof_short+set}" = set; then
20238 echo $ECHO_N "(cached) $ECHO_C" >&6
20239 else
20240 if test "$ac_cv_type_short" = yes; then
20241 # The cast to unsigned long works around a bug in the HP C Compiler
20242 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20243 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20244 # This bug is HP SR number 8606223364.
20245 if test "$cross_compiling" = yes; then
20246 # Depending upon the size, compute the lo and hi bounds.
20247 cat >conftest.$ac_ext <<_ACEOF
20248 /* confdefs.h. */
20249 _ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 $ac_includes_default
20254 int
20255 main ()
20256 {
20257 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
20258 test_array [0] = 0
20259
20260 ;
20261 return 0;
20262 }
20263 _ACEOF
20264 rm -f conftest.$ac_objext
20265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20266 (eval $ac_compile) 2>conftest.er1
20267 ac_status=$?
20268 grep -v '^ *+' conftest.er1 >conftest.err
20269 rm -f conftest.er1
20270 cat conftest.err >&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); } &&
20273 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20275 (eval $ac_try) 2>&5
20276 ac_status=$?
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); }; } &&
20279 { ac_try='test -s conftest.$ac_objext'
20280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20281 (eval $ac_try) 2>&5
20282 ac_status=$?
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); }; }; then
20285 ac_lo=0 ac_mid=0
20286 while :; do
20287 cat >conftest.$ac_ext <<_ACEOF
20288 /* confdefs.h. */
20289 _ACEOF
20290 cat confdefs.h >>conftest.$ac_ext
20291 cat >>conftest.$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20293 $ac_includes_default
20294 int
20295 main ()
20296 {
20297 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
20298 test_array [0] = 0
20299
20300 ;
20301 return 0;
20302 }
20303 _ACEOF
20304 rm -f conftest.$ac_objext
20305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20306 (eval $ac_compile) 2>conftest.er1
20307 ac_status=$?
20308 grep -v '^ *+' conftest.er1 >conftest.err
20309 rm -f conftest.er1
20310 cat conftest.err >&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); } &&
20313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20315 (eval $ac_try) 2>&5
20316 ac_status=$?
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); }; } &&
20319 { ac_try='test -s conftest.$ac_objext'
20320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20321 (eval $ac_try) 2>&5
20322 ac_status=$?
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); }; }; then
20325 ac_hi=$ac_mid; break
20326 else
20327 echo "$as_me: failed program was:" >&5
20328 sed 's/^/| /' conftest.$ac_ext >&5
20329
20330 ac_lo=`expr $ac_mid + 1`
20331 if test $ac_lo -le $ac_mid; then
20332 ac_lo= ac_hi=
20333 break
20334 fi
20335 ac_mid=`expr 2 '*' $ac_mid + 1`
20336 fi
20337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20338 done
20339 else
20340 echo "$as_me: failed program was:" >&5
20341 sed 's/^/| /' conftest.$ac_ext >&5
20342
20343 cat >conftest.$ac_ext <<_ACEOF
20344 /* confdefs.h. */
20345 _ACEOF
20346 cat confdefs.h >>conftest.$ac_ext
20347 cat >>conftest.$ac_ext <<_ACEOF
20348 /* end confdefs.h. */
20349 $ac_includes_default
20350 int
20351 main ()
20352 {
20353 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
20354 test_array [0] = 0
20355
20356 ;
20357 return 0;
20358 }
20359 _ACEOF
20360 rm -f conftest.$ac_objext
20361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20362 (eval $ac_compile) 2>conftest.er1
20363 ac_status=$?
20364 grep -v '^ *+' conftest.er1 >conftest.err
20365 rm -f conftest.er1
20366 cat conftest.err >&5
20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368 (exit $ac_status); } &&
20369 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20371 (eval $ac_try) 2>&5
20372 ac_status=$?
20373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 (exit $ac_status); }; } &&
20375 { ac_try='test -s conftest.$ac_objext'
20376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20377 (eval $ac_try) 2>&5
20378 ac_status=$?
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); }; }; then
20381 ac_hi=-1 ac_mid=-1
20382 while :; do
20383 cat >conftest.$ac_ext <<_ACEOF
20384 /* confdefs.h. */
20385 _ACEOF
20386 cat confdefs.h >>conftest.$ac_ext
20387 cat >>conftest.$ac_ext <<_ACEOF
20388 /* end confdefs.h. */
20389 $ac_includes_default
20390 int
20391 main ()
20392 {
20393 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
20394 test_array [0] = 0
20395
20396 ;
20397 return 0;
20398 }
20399 _ACEOF
20400 rm -f conftest.$ac_objext
20401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20402 (eval $ac_compile) 2>conftest.er1
20403 ac_status=$?
20404 grep -v '^ *+' conftest.er1 >conftest.err
20405 rm -f conftest.er1
20406 cat conftest.err >&5
20407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20408 (exit $ac_status); } &&
20409 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20411 (eval $ac_try) 2>&5
20412 ac_status=$?
20413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20414 (exit $ac_status); }; } &&
20415 { ac_try='test -s conftest.$ac_objext'
20416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20417 (eval $ac_try) 2>&5
20418 ac_status=$?
20419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20420 (exit $ac_status); }; }; then
20421 ac_lo=$ac_mid; break
20422 else
20423 echo "$as_me: failed program was:" >&5
20424 sed 's/^/| /' conftest.$ac_ext >&5
20425
20426 ac_hi=`expr '(' $ac_mid ')' - 1`
20427 if test $ac_mid -le $ac_hi; then
20428 ac_lo= ac_hi=
20429 break
20430 fi
20431 ac_mid=`expr 2 '*' $ac_mid`
20432 fi
20433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20434 done
20435 else
20436 echo "$as_me: failed program was:" >&5
20437 sed 's/^/| /' conftest.$ac_ext >&5
20438
20439 ac_lo= ac_hi=
20440 fi
20441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20442 fi
20443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20444 # Binary search between lo and hi bounds.
20445 while test "x$ac_lo" != "x$ac_hi"; do
20446 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20447 cat >conftest.$ac_ext <<_ACEOF
20448 /* confdefs.h. */
20449 _ACEOF
20450 cat confdefs.h >>conftest.$ac_ext
20451 cat >>conftest.$ac_ext <<_ACEOF
20452 /* end confdefs.h. */
20453 $ac_includes_default
20454 int
20455 main ()
20456 {
20457 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
20458 test_array [0] = 0
20459
20460 ;
20461 return 0;
20462 }
20463 _ACEOF
20464 rm -f conftest.$ac_objext
20465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20466 (eval $ac_compile) 2>conftest.er1
20467 ac_status=$?
20468 grep -v '^ *+' conftest.er1 >conftest.err
20469 rm -f conftest.er1
20470 cat conftest.err >&5
20471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20472 (exit $ac_status); } &&
20473 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20475 (eval $ac_try) 2>&5
20476 ac_status=$?
20477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20478 (exit $ac_status); }; } &&
20479 { ac_try='test -s conftest.$ac_objext'
20480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20481 (eval $ac_try) 2>&5
20482 ac_status=$?
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); }; }; then
20485 ac_hi=$ac_mid
20486 else
20487 echo "$as_me: failed program was:" >&5
20488 sed 's/^/| /' conftest.$ac_ext >&5
20489
20490 ac_lo=`expr '(' $ac_mid ')' + 1`
20491 fi
20492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20493 done
20494 case $ac_lo in
20495 ?*) ac_cv_sizeof_short=$ac_lo;;
20496 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
20497 See \`config.log' for more details." >&5
20498 echo "$as_me: error: cannot compute sizeof (short), 77
20499 See \`config.log' for more details." >&2;}
20500 { (exit 1); exit 1; }; } ;;
20501 esac
20502 else
20503 if test "$cross_compiling" = yes; then
20504 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20505 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20506 { (exit 1); exit 1; }; }
20507 else
20508 cat >conftest.$ac_ext <<_ACEOF
20509 /* confdefs.h. */
20510 _ACEOF
20511 cat confdefs.h >>conftest.$ac_ext
20512 cat >>conftest.$ac_ext <<_ACEOF
20513 /* end confdefs.h. */
20514 $ac_includes_default
20515 long longval () { return (long) (sizeof (short)); }
20516 unsigned long ulongval () { return (long) (sizeof (short)); }
20517 #include <stdio.h>
20518 #include <stdlib.h>
20519 int
20520 main ()
20521 {
20522
20523 FILE *f = fopen ("conftest.val", "w");
20524 if (! f)
20525 exit (1);
20526 if (((long) (sizeof (short))) < 0)
20527 {
20528 long i = longval ();
20529 if (i != ((long) (sizeof (short))))
20530 exit (1);
20531 fprintf (f, "%ld\n", i);
20532 }
20533 else
20534 {
20535 unsigned long i = ulongval ();
20536 if (i != ((long) (sizeof (short))))
20537 exit (1);
20538 fprintf (f, "%lu\n", i);
20539 }
20540 exit (ferror (f) || fclose (f) != 0);
20541
20542 ;
20543 return 0;
20544 }
20545 _ACEOF
20546 rm -f conftest$ac_exeext
20547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20548 (eval $ac_link) 2>&5
20549 ac_status=$?
20550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20551 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20553 (eval $ac_try) 2>&5
20554 ac_status=$?
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); }; }; then
20557 ac_cv_sizeof_short=`cat conftest.val`
20558 else
20559 echo "$as_me: program exited with status $ac_status" >&5
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.$ac_ext >&5
20562
20563 ( exit $ac_status )
20564 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
20565 See \`config.log' for more details." >&5
20566 echo "$as_me: error: cannot compute sizeof (short), 77
20567 See \`config.log' for more details." >&2;}
20568 { (exit 1); exit 1; }; }
20569 fi
20570 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20571 fi
20572 fi
20573 rm -f conftest.val
20574 else
20575 ac_cv_sizeof_short=0
20576 fi
20577 fi
20578 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
20579 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
20580 cat >>confdefs.h <<_ACEOF
20581 #define SIZEOF_SHORT $ac_cv_sizeof_short
20582 _ACEOF
20583
20584
20585 echo "$as_me:$LINENO: checking for void *" >&5
20586 echo $ECHO_N "checking for void *... $ECHO_C" >&6
20587 if test "${ac_cv_type_void_p+set}" = set; then
20588 echo $ECHO_N "(cached) $ECHO_C" >&6
20589 else
20590 cat >conftest.$ac_ext <<_ACEOF
20591 /* confdefs.h. */
20592 _ACEOF
20593 cat confdefs.h >>conftest.$ac_ext
20594 cat >>conftest.$ac_ext <<_ACEOF
20595 /* end confdefs.h. */
20596 $ac_includes_default
20597 int
20598 main ()
20599 {
20600 if ((void * *) 0)
20601 return 0;
20602 if (sizeof (void *))
20603 return 0;
20604 ;
20605 return 0;
20606 }
20607 _ACEOF
20608 rm -f conftest.$ac_objext
20609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20610 (eval $ac_compile) 2>conftest.er1
20611 ac_status=$?
20612 grep -v '^ *+' conftest.er1 >conftest.err
20613 rm -f conftest.er1
20614 cat conftest.err >&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); } &&
20617 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20619 (eval $ac_try) 2>&5
20620 ac_status=$?
20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); }; } &&
20623 { ac_try='test -s conftest.$ac_objext'
20624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20625 (eval $ac_try) 2>&5
20626 ac_status=$?
20627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20628 (exit $ac_status); }; }; then
20629 ac_cv_type_void_p=yes
20630 else
20631 echo "$as_me: failed program was:" >&5
20632 sed 's/^/| /' conftest.$ac_ext >&5
20633
20634 ac_cv_type_void_p=no
20635 fi
20636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20637 fi
20638 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
20639 echo "${ECHO_T}$ac_cv_type_void_p" >&6
20640
20641 echo "$as_me:$LINENO: checking size of void *" >&5
20642 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
20643 if test "${ac_cv_sizeof_void_p+set}" = set; then
20644 echo $ECHO_N "(cached) $ECHO_C" >&6
20645 else
20646 if test "$ac_cv_type_void_p" = yes; then
20647 # The cast to unsigned long works around a bug in the HP C Compiler
20648 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20649 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20650 # This bug is HP SR number 8606223364.
20651 if test "$cross_compiling" = yes; then
20652 # Depending upon the size, compute the lo and hi bounds.
20653 cat >conftest.$ac_ext <<_ACEOF
20654 /* confdefs.h. */
20655 _ACEOF
20656 cat confdefs.h >>conftest.$ac_ext
20657 cat >>conftest.$ac_ext <<_ACEOF
20658 /* end confdefs.h. */
20659 $ac_includes_default
20660 int
20661 main ()
20662 {
20663 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
20664 test_array [0] = 0
20665
20666 ;
20667 return 0;
20668 }
20669 _ACEOF
20670 rm -f conftest.$ac_objext
20671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20672 (eval $ac_compile) 2>conftest.er1
20673 ac_status=$?
20674 grep -v '^ *+' conftest.er1 >conftest.err
20675 rm -f conftest.er1
20676 cat conftest.err >&5
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); } &&
20679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20681 (eval $ac_try) 2>&5
20682 ac_status=$?
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); }; } &&
20685 { ac_try='test -s conftest.$ac_objext'
20686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20687 (eval $ac_try) 2>&5
20688 ac_status=$?
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); }; }; then
20691 ac_lo=0 ac_mid=0
20692 while :; do
20693 cat >conftest.$ac_ext <<_ACEOF
20694 /* confdefs.h. */
20695 _ACEOF
20696 cat confdefs.h >>conftest.$ac_ext
20697 cat >>conftest.$ac_ext <<_ACEOF
20698 /* end confdefs.h. */
20699 $ac_includes_default
20700 int
20701 main ()
20702 {
20703 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
20704 test_array [0] = 0
20705
20706 ;
20707 return 0;
20708 }
20709 _ACEOF
20710 rm -f conftest.$ac_objext
20711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20712 (eval $ac_compile) 2>conftest.er1
20713 ac_status=$?
20714 grep -v '^ *+' conftest.er1 >conftest.err
20715 rm -f conftest.er1
20716 cat conftest.err >&5
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); } &&
20719 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20721 (eval $ac_try) 2>&5
20722 ac_status=$?
20723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20724 (exit $ac_status); }; } &&
20725 { ac_try='test -s conftest.$ac_objext'
20726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20727 (eval $ac_try) 2>&5
20728 ac_status=$?
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); }; }; then
20731 ac_hi=$ac_mid; break
20732 else
20733 echo "$as_me: failed program was:" >&5
20734 sed 's/^/| /' conftest.$ac_ext >&5
20735
20736 ac_lo=`expr $ac_mid + 1`
20737 if test $ac_lo -le $ac_mid; then
20738 ac_lo= ac_hi=
20739 break
20740 fi
20741 ac_mid=`expr 2 '*' $ac_mid + 1`
20742 fi
20743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20744 done
20745 else
20746 echo "$as_me: failed program was:" >&5
20747 sed 's/^/| /' conftest.$ac_ext >&5
20748
20749 cat >conftest.$ac_ext <<_ACEOF
20750 /* confdefs.h. */
20751 _ACEOF
20752 cat confdefs.h >>conftest.$ac_ext
20753 cat >>conftest.$ac_ext <<_ACEOF
20754 /* end confdefs.h. */
20755 $ac_includes_default
20756 int
20757 main ()
20758 {
20759 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
20760 test_array [0] = 0
20761
20762 ;
20763 return 0;
20764 }
20765 _ACEOF
20766 rm -f conftest.$ac_objext
20767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20768 (eval $ac_compile) 2>conftest.er1
20769 ac_status=$?
20770 grep -v '^ *+' conftest.er1 >conftest.err
20771 rm -f conftest.er1
20772 cat conftest.err >&5
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); } &&
20775 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20777 (eval $ac_try) 2>&5
20778 ac_status=$?
20779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20780 (exit $ac_status); }; } &&
20781 { ac_try='test -s conftest.$ac_objext'
20782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20783 (eval $ac_try) 2>&5
20784 ac_status=$?
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); }; }; then
20787 ac_hi=-1 ac_mid=-1
20788 while :; do
20789 cat >conftest.$ac_ext <<_ACEOF
20790 /* confdefs.h. */
20791 _ACEOF
20792 cat confdefs.h >>conftest.$ac_ext
20793 cat >>conftest.$ac_ext <<_ACEOF
20794 /* end confdefs.h. */
20795 $ac_includes_default
20796 int
20797 main ()
20798 {
20799 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
20800 test_array [0] = 0
20801
20802 ;
20803 return 0;
20804 }
20805 _ACEOF
20806 rm -f conftest.$ac_objext
20807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20808 (eval $ac_compile) 2>conftest.er1
20809 ac_status=$?
20810 grep -v '^ *+' conftest.er1 >conftest.err
20811 rm -f conftest.er1
20812 cat conftest.err >&5
20813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20814 (exit $ac_status); } &&
20815 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20817 (eval $ac_try) 2>&5
20818 ac_status=$?
20819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20820 (exit $ac_status); }; } &&
20821 { ac_try='test -s conftest.$ac_objext'
20822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20823 (eval $ac_try) 2>&5
20824 ac_status=$?
20825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20826 (exit $ac_status); }; }; then
20827 ac_lo=$ac_mid; break
20828 else
20829 echo "$as_me: failed program was:" >&5
20830 sed 's/^/| /' conftest.$ac_ext >&5
20831
20832 ac_hi=`expr '(' $ac_mid ')' - 1`
20833 if test $ac_mid -le $ac_hi; then
20834 ac_lo= ac_hi=
20835 break
20836 fi
20837 ac_mid=`expr 2 '*' $ac_mid`
20838 fi
20839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20840 done
20841 else
20842 echo "$as_me: failed program was:" >&5
20843 sed 's/^/| /' conftest.$ac_ext >&5
20844
20845 ac_lo= ac_hi=
20846 fi
20847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20848 fi
20849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20850 # Binary search between lo and hi bounds.
20851 while test "x$ac_lo" != "x$ac_hi"; do
20852 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20853 cat >conftest.$ac_ext <<_ACEOF
20854 /* confdefs.h. */
20855 _ACEOF
20856 cat confdefs.h >>conftest.$ac_ext
20857 cat >>conftest.$ac_ext <<_ACEOF
20858 /* end confdefs.h. */
20859 $ac_includes_default
20860 int
20861 main ()
20862 {
20863 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
20864 test_array [0] = 0
20865
20866 ;
20867 return 0;
20868 }
20869 _ACEOF
20870 rm -f conftest.$ac_objext
20871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20872 (eval $ac_compile) 2>conftest.er1
20873 ac_status=$?
20874 grep -v '^ *+' conftest.er1 >conftest.err
20875 rm -f conftest.er1
20876 cat conftest.err >&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } &&
20879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20881 (eval $ac_try) 2>&5
20882 ac_status=$?
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); }; } &&
20885 { ac_try='test -s conftest.$ac_objext'
20886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20887 (eval $ac_try) 2>&5
20888 ac_status=$?
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); }; }; then
20891 ac_hi=$ac_mid
20892 else
20893 echo "$as_me: failed program was:" >&5
20894 sed 's/^/| /' conftest.$ac_ext >&5
20895
20896 ac_lo=`expr '(' $ac_mid ')' + 1`
20897 fi
20898 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20899 done
20900 case $ac_lo in
20901 ?*) ac_cv_sizeof_void_p=$ac_lo;;
20902 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
20903 See \`config.log' for more details." >&5
20904 echo "$as_me: error: cannot compute sizeof (void *), 77
20905 See \`config.log' for more details." >&2;}
20906 { (exit 1); exit 1; }; } ;;
20907 esac
20908 else
20909 if test "$cross_compiling" = yes; then
20910 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20911 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20912 { (exit 1); exit 1; }; }
20913 else
20914 cat >conftest.$ac_ext <<_ACEOF
20915 /* confdefs.h. */
20916 _ACEOF
20917 cat confdefs.h >>conftest.$ac_ext
20918 cat >>conftest.$ac_ext <<_ACEOF
20919 /* end confdefs.h. */
20920 $ac_includes_default
20921 long longval () { return (long) (sizeof (void *)); }
20922 unsigned long ulongval () { return (long) (sizeof (void *)); }
20923 #include <stdio.h>
20924 #include <stdlib.h>
20925 int
20926 main ()
20927 {
20928
20929 FILE *f = fopen ("conftest.val", "w");
20930 if (! f)
20931 exit (1);
20932 if (((long) (sizeof (void *))) < 0)
20933 {
20934 long i = longval ();
20935 if (i != ((long) (sizeof (void *))))
20936 exit (1);
20937 fprintf (f, "%ld\n", i);
20938 }
20939 else
20940 {
20941 unsigned long i = ulongval ();
20942 if (i != ((long) (sizeof (void *))))
20943 exit (1);
20944 fprintf (f, "%lu\n", i);
20945 }
20946 exit (ferror (f) || fclose (f) != 0);
20947
20948 ;
20949 return 0;
20950 }
20951 _ACEOF
20952 rm -f conftest$ac_exeext
20953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20954 (eval $ac_link) 2>&5
20955 ac_status=$?
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20959 (eval $ac_try) 2>&5
20960 ac_status=$?
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); }; }; then
20963 ac_cv_sizeof_void_p=`cat conftest.val`
20964 else
20965 echo "$as_me: program exited with status $ac_status" >&5
20966 echo "$as_me: failed program was:" >&5
20967 sed 's/^/| /' conftest.$ac_ext >&5
20968
20969 ( exit $ac_status )
20970 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
20971 See \`config.log' for more details." >&5
20972 echo "$as_me: error: cannot compute sizeof (void *), 77
20973 See \`config.log' for more details." >&2;}
20974 { (exit 1); exit 1; }; }
20975 fi
20976 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20977 fi
20978 fi
20979 rm -f conftest.val
20980 else
20981 ac_cv_sizeof_void_p=0
20982 fi
20983 fi
20984 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
20985 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
20986 cat >>confdefs.h <<_ACEOF
20987 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
20988 _ACEOF
20989
20990
20991 echo "$as_me:$LINENO: checking for int" >&5
20992 echo $ECHO_N "checking for int... $ECHO_C" >&6
20993 if test "${ac_cv_type_int+set}" = set; then
20994 echo $ECHO_N "(cached) $ECHO_C" >&6
20995 else
20996 cat >conftest.$ac_ext <<_ACEOF
20997 /* confdefs.h. */
20998 _ACEOF
20999 cat confdefs.h >>conftest.$ac_ext
21000 cat >>conftest.$ac_ext <<_ACEOF
21001 /* end confdefs.h. */
21002 $ac_includes_default
21003 int
21004 main ()
21005 {
21006 if ((int *) 0)
21007 return 0;
21008 if (sizeof (int))
21009 return 0;
21010 ;
21011 return 0;
21012 }
21013 _ACEOF
21014 rm -f conftest.$ac_objext
21015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21016 (eval $ac_compile) 2>conftest.er1
21017 ac_status=$?
21018 grep -v '^ *+' conftest.er1 >conftest.err
21019 rm -f conftest.er1
21020 cat conftest.err >&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); } &&
21023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21025 (eval $ac_try) 2>&5
21026 ac_status=$?
21027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21028 (exit $ac_status); }; } &&
21029 { ac_try='test -s conftest.$ac_objext'
21030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21031 (eval $ac_try) 2>&5
21032 ac_status=$?
21033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21034 (exit $ac_status); }; }; then
21035 ac_cv_type_int=yes
21036 else
21037 echo "$as_me: failed program was:" >&5
21038 sed 's/^/| /' conftest.$ac_ext >&5
21039
21040 ac_cv_type_int=no
21041 fi
21042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21043 fi
21044 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21045 echo "${ECHO_T}$ac_cv_type_int" >&6
21046
21047 echo "$as_me:$LINENO: checking size of int" >&5
21048 echo $ECHO_N "checking size of int... $ECHO_C" >&6
21049 if test "${ac_cv_sizeof_int+set}" = set; then
21050 echo $ECHO_N "(cached) $ECHO_C" >&6
21051 else
21052 if test "$ac_cv_type_int" = yes; then
21053 # The cast to unsigned long works around a bug in the HP C Compiler
21054 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21055 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21056 # This bug is HP SR number 8606223364.
21057 if test "$cross_compiling" = yes; then
21058 # Depending upon the size, compute the lo and hi bounds.
21059 cat >conftest.$ac_ext <<_ACEOF
21060 /* confdefs.h. */
21061 _ACEOF
21062 cat confdefs.h >>conftest.$ac_ext
21063 cat >>conftest.$ac_ext <<_ACEOF
21064 /* end confdefs.h. */
21065 $ac_includes_default
21066 int
21067 main ()
21068 {
21069 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
21070 test_array [0] = 0
21071
21072 ;
21073 return 0;
21074 }
21075 _ACEOF
21076 rm -f conftest.$ac_objext
21077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21078 (eval $ac_compile) 2>conftest.er1
21079 ac_status=$?
21080 grep -v '^ *+' conftest.er1 >conftest.err
21081 rm -f conftest.er1
21082 cat conftest.err >&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); } &&
21085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087 (eval $ac_try) 2>&5
21088 ac_status=$?
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); }; } &&
21091 { ac_try='test -s conftest.$ac_objext'
21092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093 (eval $ac_try) 2>&5
21094 ac_status=$?
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; }; then
21097 ac_lo=0 ac_mid=0
21098 while :; do
21099 cat >conftest.$ac_ext <<_ACEOF
21100 /* confdefs.h. */
21101 _ACEOF
21102 cat confdefs.h >>conftest.$ac_ext
21103 cat >>conftest.$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21105 $ac_includes_default
21106 int
21107 main ()
21108 {
21109 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
21110 test_array [0] = 0
21111
21112 ;
21113 return 0;
21114 }
21115 _ACEOF
21116 rm -f conftest.$ac_objext
21117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21118 (eval $ac_compile) 2>conftest.er1
21119 ac_status=$?
21120 grep -v '^ *+' conftest.er1 >conftest.err
21121 rm -f conftest.er1
21122 cat conftest.err >&5
21123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21124 (exit $ac_status); } &&
21125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21127 (eval $ac_try) 2>&5
21128 ac_status=$?
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); }; } &&
21131 { ac_try='test -s conftest.$ac_objext'
21132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21133 (eval $ac_try) 2>&5
21134 ac_status=$?
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); }; }; then
21137 ac_hi=$ac_mid; break
21138 else
21139 echo "$as_me: failed program was:" >&5
21140 sed 's/^/| /' conftest.$ac_ext >&5
21141
21142 ac_lo=`expr $ac_mid + 1`
21143 if test $ac_lo -le $ac_mid; then
21144 ac_lo= ac_hi=
21145 break
21146 fi
21147 ac_mid=`expr 2 '*' $ac_mid + 1`
21148 fi
21149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21150 done
21151 else
21152 echo "$as_me: failed program was:" >&5
21153 sed 's/^/| /' conftest.$ac_ext >&5
21154
21155 cat >conftest.$ac_ext <<_ACEOF
21156 /* confdefs.h. */
21157 _ACEOF
21158 cat confdefs.h >>conftest.$ac_ext
21159 cat >>conftest.$ac_ext <<_ACEOF
21160 /* end confdefs.h. */
21161 $ac_includes_default
21162 int
21163 main ()
21164 {
21165 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
21166 test_array [0] = 0
21167
21168 ;
21169 return 0;
21170 }
21171 _ACEOF
21172 rm -f conftest.$ac_objext
21173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21174 (eval $ac_compile) 2>conftest.er1
21175 ac_status=$?
21176 grep -v '^ *+' conftest.er1 >conftest.err
21177 rm -f conftest.er1
21178 cat conftest.err >&5
21179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); } &&
21181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21183 (eval $ac_try) 2>&5
21184 ac_status=$?
21185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21186 (exit $ac_status); }; } &&
21187 { ac_try='test -s conftest.$ac_objext'
21188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21189 (eval $ac_try) 2>&5
21190 ac_status=$?
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); }; }; then
21193 ac_hi=-1 ac_mid=-1
21194 while :; do
21195 cat >conftest.$ac_ext <<_ACEOF
21196 /* confdefs.h. */
21197 _ACEOF
21198 cat confdefs.h >>conftest.$ac_ext
21199 cat >>conftest.$ac_ext <<_ACEOF
21200 /* end confdefs.h. */
21201 $ac_includes_default
21202 int
21203 main ()
21204 {
21205 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
21206 test_array [0] = 0
21207
21208 ;
21209 return 0;
21210 }
21211 _ACEOF
21212 rm -f conftest.$ac_objext
21213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21214 (eval $ac_compile) 2>conftest.er1
21215 ac_status=$?
21216 grep -v '^ *+' conftest.er1 >conftest.err
21217 rm -f conftest.er1
21218 cat conftest.err >&5
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); } &&
21221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21223 (eval $ac_try) 2>&5
21224 ac_status=$?
21225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21226 (exit $ac_status); }; } &&
21227 { ac_try='test -s conftest.$ac_objext'
21228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21229 (eval $ac_try) 2>&5
21230 ac_status=$?
21231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21232 (exit $ac_status); }; }; then
21233 ac_lo=$ac_mid; break
21234 else
21235 echo "$as_me: failed program was:" >&5
21236 sed 's/^/| /' conftest.$ac_ext >&5
21237
21238 ac_hi=`expr '(' $ac_mid ')' - 1`
21239 if test $ac_mid -le $ac_hi; then
21240 ac_lo= ac_hi=
21241 break
21242 fi
21243 ac_mid=`expr 2 '*' $ac_mid`
21244 fi
21245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21246 done
21247 else
21248 echo "$as_me: failed program was:" >&5
21249 sed 's/^/| /' conftest.$ac_ext >&5
21250
21251 ac_lo= ac_hi=
21252 fi
21253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21254 fi
21255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21256 # Binary search between lo and hi bounds.
21257 while test "x$ac_lo" != "x$ac_hi"; do
21258 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21259 cat >conftest.$ac_ext <<_ACEOF
21260 /* confdefs.h. */
21261 _ACEOF
21262 cat confdefs.h >>conftest.$ac_ext
21263 cat >>conftest.$ac_ext <<_ACEOF
21264 /* end confdefs.h. */
21265 $ac_includes_default
21266 int
21267 main ()
21268 {
21269 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
21270 test_array [0] = 0
21271
21272 ;
21273 return 0;
21274 }
21275 _ACEOF
21276 rm -f conftest.$ac_objext
21277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21278 (eval $ac_compile) 2>conftest.er1
21279 ac_status=$?
21280 grep -v '^ *+' conftest.er1 >conftest.err
21281 rm -f conftest.er1
21282 cat conftest.err >&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); } &&
21285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21287 (eval $ac_try) 2>&5
21288 ac_status=$?
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); }; } &&
21291 { ac_try='test -s conftest.$ac_objext'
21292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21293 (eval $ac_try) 2>&5
21294 ac_status=$?
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); }; }; then
21297 ac_hi=$ac_mid
21298 else
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.$ac_ext >&5
21301
21302 ac_lo=`expr '(' $ac_mid ')' + 1`
21303 fi
21304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21305 done
21306 case $ac_lo in
21307 ?*) ac_cv_sizeof_int=$ac_lo;;
21308 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
21309 See \`config.log' for more details." >&5
21310 echo "$as_me: error: cannot compute sizeof (int), 77
21311 See \`config.log' for more details." >&2;}
21312 { (exit 1); exit 1; }; } ;;
21313 esac
21314 else
21315 if test "$cross_compiling" = yes; then
21316 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21317 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21318 { (exit 1); exit 1; }; }
21319 else
21320 cat >conftest.$ac_ext <<_ACEOF
21321 /* confdefs.h. */
21322 _ACEOF
21323 cat confdefs.h >>conftest.$ac_ext
21324 cat >>conftest.$ac_ext <<_ACEOF
21325 /* end confdefs.h. */
21326 $ac_includes_default
21327 long longval () { return (long) (sizeof (int)); }
21328 unsigned long ulongval () { return (long) (sizeof (int)); }
21329 #include <stdio.h>
21330 #include <stdlib.h>
21331 int
21332 main ()
21333 {
21334
21335 FILE *f = fopen ("conftest.val", "w");
21336 if (! f)
21337 exit (1);
21338 if (((long) (sizeof (int))) < 0)
21339 {
21340 long i = longval ();
21341 if (i != ((long) (sizeof (int))))
21342 exit (1);
21343 fprintf (f, "%ld\n", i);
21344 }
21345 else
21346 {
21347 unsigned long i = ulongval ();
21348 if (i != ((long) (sizeof (int))))
21349 exit (1);
21350 fprintf (f, "%lu\n", i);
21351 }
21352 exit (ferror (f) || fclose (f) != 0);
21353
21354 ;
21355 return 0;
21356 }
21357 _ACEOF
21358 rm -f conftest$ac_exeext
21359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21360 (eval $ac_link) 2>&5
21361 ac_status=$?
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21365 (eval $ac_try) 2>&5
21366 ac_status=$?
21367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21368 (exit $ac_status); }; }; then
21369 ac_cv_sizeof_int=`cat conftest.val`
21370 else
21371 echo "$as_me: program exited with status $ac_status" >&5
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.$ac_ext >&5
21374
21375 ( exit $ac_status )
21376 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
21377 See \`config.log' for more details." >&5
21378 echo "$as_me: error: cannot compute sizeof (int), 77
21379 See \`config.log' for more details." >&2;}
21380 { (exit 1); exit 1; }; }
21381 fi
21382 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21383 fi
21384 fi
21385 rm -f conftest.val
21386 else
21387 ac_cv_sizeof_int=0
21388 fi
21389 fi
21390 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21391 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
21392 cat >>confdefs.h <<_ACEOF
21393 #define SIZEOF_INT $ac_cv_sizeof_int
21394 _ACEOF
21395
21396
21397 echo "$as_me:$LINENO: checking for long" >&5
21398 echo $ECHO_N "checking for long... $ECHO_C" >&6
21399 if test "${ac_cv_type_long+set}" = set; then
21400 echo $ECHO_N "(cached) $ECHO_C" >&6
21401 else
21402 cat >conftest.$ac_ext <<_ACEOF
21403 /* confdefs.h. */
21404 _ACEOF
21405 cat confdefs.h >>conftest.$ac_ext
21406 cat >>conftest.$ac_ext <<_ACEOF
21407 /* end confdefs.h. */
21408 $ac_includes_default
21409 int
21410 main ()
21411 {
21412 if ((long *) 0)
21413 return 0;
21414 if (sizeof (long))
21415 return 0;
21416 ;
21417 return 0;
21418 }
21419 _ACEOF
21420 rm -f conftest.$ac_objext
21421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21422 (eval $ac_compile) 2>conftest.er1
21423 ac_status=$?
21424 grep -v '^ *+' conftest.er1 >conftest.err
21425 rm -f conftest.er1
21426 cat conftest.err >&5
21427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21428 (exit $ac_status); } &&
21429 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21431 (eval $ac_try) 2>&5
21432 ac_status=$?
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); }; } &&
21435 { ac_try='test -s conftest.$ac_objext'
21436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437 (eval $ac_try) 2>&5
21438 ac_status=$?
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); }; }; then
21441 ac_cv_type_long=yes
21442 else
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.$ac_ext >&5
21445
21446 ac_cv_type_long=no
21447 fi
21448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21449 fi
21450 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21451 echo "${ECHO_T}$ac_cv_type_long" >&6
21452
21453 echo "$as_me:$LINENO: checking size of long" >&5
21454 echo $ECHO_N "checking size of long... $ECHO_C" >&6
21455 if test "${ac_cv_sizeof_long+set}" = set; then
21456 echo $ECHO_N "(cached) $ECHO_C" >&6
21457 else
21458 if test "$ac_cv_type_long" = yes; then
21459 # The cast to unsigned long works around a bug in the HP C Compiler
21460 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21461 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21462 # This bug is HP SR number 8606223364.
21463 if test "$cross_compiling" = yes; then
21464 # Depending upon the size, compute the lo and hi bounds.
21465 cat >conftest.$ac_ext <<_ACEOF
21466 /* confdefs.h. */
21467 _ACEOF
21468 cat confdefs.h >>conftest.$ac_ext
21469 cat >>conftest.$ac_ext <<_ACEOF
21470 /* end confdefs.h. */
21471 $ac_includes_default
21472 int
21473 main ()
21474 {
21475 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
21476 test_array [0] = 0
21477
21478 ;
21479 return 0;
21480 }
21481 _ACEOF
21482 rm -f conftest.$ac_objext
21483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21484 (eval $ac_compile) 2>conftest.er1
21485 ac_status=$?
21486 grep -v '^ *+' conftest.er1 >conftest.err
21487 rm -f conftest.er1
21488 cat conftest.err >&5
21489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21490 (exit $ac_status); } &&
21491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21493 (eval $ac_try) 2>&5
21494 ac_status=$?
21495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21496 (exit $ac_status); }; } &&
21497 { ac_try='test -s conftest.$ac_objext'
21498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21499 (eval $ac_try) 2>&5
21500 ac_status=$?
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); }; }; then
21503 ac_lo=0 ac_mid=0
21504 while :; do
21505 cat >conftest.$ac_ext <<_ACEOF
21506 /* confdefs.h. */
21507 _ACEOF
21508 cat confdefs.h >>conftest.$ac_ext
21509 cat >>conftest.$ac_ext <<_ACEOF
21510 /* end confdefs.h. */
21511 $ac_includes_default
21512 int
21513 main ()
21514 {
21515 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
21516 test_array [0] = 0
21517
21518 ;
21519 return 0;
21520 }
21521 _ACEOF
21522 rm -f conftest.$ac_objext
21523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21524 (eval $ac_compile) 2>conftest.er1
21525 ac_status=$?
21526 grep -v '^ *+' conftest.er1 >conftest.err
21527 rm -f conftest.er1
21528 cat conftest.err >&5
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); } &&
21531 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21533 (eval $ac_try) 2>&5
21534 ac_status=$?
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); }; } &&
21537 { ac_try='test -s conftest.$ac_objext'
21538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21539 (eval $ac_try) 2>&5
21540 ac_status=$?
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); }; }; then
21543 ac_hi=$ac_mid; break
21544 else
21545 echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.$ac_ext >&5
21547
21548 ac_lo=`expr $ac_mid + 1`
21549 if test $ac_lo -le $ac_mid; then
21550 ac_lo= ac_hi=
21551 break
21552 fi
21553 ac_mid=`expr 2 '*' $ac_mid + 1`
21554 fi
21555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21556 done
21557 else
21558 echo "$as_me: failed program was:" >&5
21559 sed 's/^/| /' conftest.$ac_ext >&5
21560
21561 cat >conftest.$ac_ext <<_ACEOF
21562 /* confdefs.h. */
21563 _ACEOF
21564 cat confdefs.h >>conftest.$ac_ext
21565 cat >>conftest.$ac_ext <<_ACEOF
21566 /* end confdefs.h. */
21567 $ac_includes_default
21568 int
21569 main ()
21570 {
21571 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
21572 test_array [0] = 0
21573
21574 ;
21575 return 0;
21576 }
21577 _ACEOF
21578 rm -f conftest.$ac_objext
21579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21580 (eval $ac_compile) 2>conftest.er1
21581 ac_status=$?
21582 grep -v '^ *+' conftest.er1 >conftest.err
21583 rm -f conftest.er1
21584 cat conftest.err >&5
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); } &&
21587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21589 (eval $ac_try) 2>&5
21590 ac_status=$?
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); }; } &&
21593 { ac_try='test -s conftest.$ac_objext'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21596 ac_status=$?
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; }; then
21599 ac_hi=-1 ac_mid=-1
21600 while :; do
21601 cat >conftest.$ac_ext <<_ACEOF
21602 /* confdefs.h. */
21603 _ACEOF
21604 cat confdefs.h >>conftest.$ac_ext
21605 cat >>conftest.$ac_ext <<_ACEOF
21606 /* end confdefs.h. */
21607 $ac_includes_default
21608 int
21609 main ()
21610 {
21611 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
21612 test_array [0] = 0
21613
21614 ;
21615 return 0;
21616 }
21617 _ACEOF
21618 rm -f conftest.$ac_objext
21619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21620 (eval $ac_compile) 2>conftest.er1
21621 ac_status=$?
21622 grep -v '^ *+' conftest.er1 >conftest.err
21623 rm -f conftest.er1
21624 cat conftest.err >&5
21625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21626 (exit $ac_status); } &&
21627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21629 (eval $ac_try) 2>&5
21630 ac_status=$?
21631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21632 (exit $ac_status); }; } &&
21633 { ac_try='test -s conftest.$ac_objext'
21634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21635 (eval $ac_try) 2>&5
21636 ac_status=$?
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); }; }; then
21639 ac_lo=$ac_mid; break
21640 else
21641 echo "$as_me: failed program was:" >&5
21642 sed 's/^/| /' conftest.$ac_ext >&5
21643
21644 ac_hi=`expr '(' $ac_mid ')' - 1`
21645 if test $ac_mid -le $ac_hi; then
21646 ac_lo= ac_hi=
21647 break
21648 fi
21649 ac_mid=`expr 2 '*' $ac_mid`
21650 fi
21651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21652 done
21653 else
21654 echo "$as_me: failed program was:" >&5
21655 sed 's/^/| /' conftest.$ac_ext >&5
21656
21657 ac_lo= ac_hi=
21658 fi
21659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21660 fi
21661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21662 # Binary search between lo and hi bounds.
21663 while test "x$ac_lo" != "x$ac_hi"; do
21664 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21665 cat >conftest.$ac_ext <<_ACEOF
21666 /* confdefs.h. */
21667 _ACEOF
21668 cat confdefs.h >>conftest.$ac_ext
21669 cat >>conftest.$ac_ext <<_ACEOF
21670 /* end confdefs.h. */
21671 $ac_includes_default
21672 int
21673 main ()
21674 {
21675 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
21676 test_array [0] = 0
21677
21678 ;
21679 return 0;
21680 }
21681 _ACEOF
21682 rm -f conftest.$ac_objext
21683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21684 (eval $ac_compile) 2>conftest.er1
21685 ac_status=$?
21686 grep -v '^ *+' conftest.er1 >conftest.err
21687 rm -f conftest.er1
21688 cat conftest.err >&5
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); } &&
21691 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21693 (eval $ac_try) 2>&5
21694 ac_status=$?
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); }; } &&
21697 { ac_try='test -s conftest.$ac_objext'
21698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21699 (eval $ac_try) 2>&5
21700 ac_status=$?
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); }; }; then
21703 ac_hi=$ac_mid
21704 else
21705 echo "$as_me: failed program was:" >&5
21706 sed 's/^/| /' conftest.$ac_ext >&5
21707
21708 ac_lo=`expr '(' $ac_mid ')' + 1`
21709 fi
21710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21711 done
21712 case $ac_lo in
21713 ?*) ac_cv_sizeof_long=$ac_lo;;
21714 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
21715 See \`config.log' for more details." >&5
21716 echo "$as_me: error: cannot compute sizeof (long), 77
21717 See \`config.log' for more details." >&2;}
21718 { (exit 1); exit 1; }; } ;;
21719 esac
21720 else
21721 if test "$cross_compiling" = yes; then
21722 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21723 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21724 { (exit 1); exit 1; }; }
21725 else
21726 cat >conftest.$ac_ext <<_ACEOF
21727 /* confdefs.h. */
21728 _ACEOF
21729 cat confdefs.h >>conftest.$ac_ext
21730 cat >>conftest.$ac_ext <<_ACEOF
21731 /* end confdefs.h. */
21732 $ac_includes_default
21733 long longval () { return (long) (sizeof (long)); }
21734 unsigned long ulongval () { return (long) (sizeof (long)); }
21735 #include <stdio.h>
21736 #include <stdlib.h>
21737 int
21738 main ()
21739 {
21740
21741 FILE *f = fopen ("conftest.val", "w");
21742 if (! f)
21743 exit (1);
21744 if (((long) (sizeof (long))) < 0)
21745 {
21746 long i = longval ();
21747 if (i != ((long) (sizeof (long))))
21748 exit (1);
21749 fprintf (f, "%ld\n", i);
21750 }
21751 else
21752 {
21753 unsigned long i = ulongval ();
21754 if (i != ((long) (sizeof (long))))
21755 exit (1);
21756 fprintf (f, "%lu\n", i);
21757 }
21758 exit (ferror (f) || fclose (f) != 0);
21759
21760 ;
21761 return 0;
21762 }
21763 _ACEOF
21764 rm -f conftest$ac_exeext
21765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21766 (eval $ac_link) 2>&5
21767 ac_status=$?
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21771 (eval $ac_try) 2>&5
21772 ac_status=$?
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); }; }; then
21775 ac_cv_sizeof_long=`cat conftest.val`
21776 else
21777 echo "$as_me: program exited with status $ac_status" >&5
21778 echo "$as_me: failed program was:" >&5
21779 sed 's/^/| /' conftest.$ac_ext >&5
21780
21781 ( exit $ac_status )
21782 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
21783 See \`config.log' for more details." >&5
21784 echo "$as_me: error: cannot compute sizeof (long), 77
21785 See \`config.log' for more details." >&2;}
21786 { (exit 1); exit 1; }; }
21787 fi
21788 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21789 fi
21790 fi
21791 rm -f conftest.val
21792 else
21793 ac_cv_sizeof_long=0
21794 fi
21795 fi
21796 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
21797 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
21798 cat >>confdefs.h <<_ACEOF
21799 #define SIZEOF_LONG $ac_cv_sizeof_long
21800 _ACEOF
21801
21802
21803 echo "$as_me:$LINENO: checking for size_t" >&5
21804 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
21805 if test "${ac_cv_type_size_t+set}" = set; then
21806 echo $ECHO_N "(cached) $ECHO_C" >&6
21807 else
21808 cat >conftest.$ac_ext <<_ACEOF
21809 /* confdefs.h. */
21810 _ACEOF
21811 cat confdefs.h >>conftest.$ac_ext
21812 cat >>conftest.$ac_ext <<_ACEOF
21813 /* end confdefs.h. */
21814 $ac_includes_default
21815 int
21816 main ()
21817 {
21818 if ((size_t *) 0)
21819 return 0;
21820 if (sizeof (size_t))
21821 return 0;
21822 ;
21823 return 0;
21824 }
21825 _ACEOF
21826 rm -f conftest.$ac_objext
21827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21828 (eval $ac_compile) 2>conftest.er1
21829 ac_status=$?
21830 grep -v '^ *+' conftest.er1 >conftest.err
21831 rm -f conftest.er1
21832 cat conftest.err >&5
21833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21834 (exit $ac_status); } &&
21835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21837 (eval $ac_try) 2>&5
21838 ac_status=$?
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); }; } &&
21841 { ac_try='test -s conftest.$ac_objext'
21842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21843 (eval $ac_try) 2>&5
21844 ac_status=$?
21845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21846 (exit $ac_status); }; }; then
21847 ac_cv_type_size_t=yes
21848 else
21849 echo "$as_me: failed program was:" >&5
21850 sed 's/^/| /' conftest.$ac_ext >&5
21851
21852 ac_cv_type_size_t=no
21853 fi
21854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21855 fi
21856 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
21857 echo "${ECHO_T}$ac_cv_type_size_t" >&6
21858
21859 echo "$as_me:$LINENO: checking size of size_t" >&5
21860 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
21861 if test "${ac_cv_sizeof_size_t+set}" = set; then
21862 echo $ECHO_N "(cached) $ECHO_C" >&6
21863 else
21864 if test "$ac_cv_type_size_t" = yes; then
21865 # The cast to unsigned long works around a bug in the HP C Compiler
21866 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21867 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21868 # This bug is HP SR number 8606223364.
21869 if test "$cross_compiling" = yes; then
21870 # Depending upon the size, compute the lo and hi bounds.
21871 cat >conftest.$ac_ext <<_ACEOF
21872 /* confdefs.h. */
21873 _ACEOF
21874 cat confdefs.h >>conftest.$ac_ext
21875 cat >>conftest.$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21877 $ac_includes_default
21878 int
21879 main ()
21880 {
21881 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
21882 test_array [0] = 0
21883
21884 ;
21885 return 0;
21886 }
21887 _ACEOF
21888 rm -f conftest.$ac_objext
21889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21890 (eval $ac_compile) 2>conftest.er1
21891 ac_status=$?
21892 grep -v '^ *+' conftest.er1 >conftest.err
21893 rm -f conftest.er1
21894 cat conftest.err >&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); } &&
21897 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21899 (eval $ac_try) 2>&5
21900 ac_status=$?
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); }; } &&
21903 { ac_try='test -s conftest.$ac_objext'
21904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21905 (eval $ac_try) 2>&5
21906 ac_status=$?
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); }; }; then
21909 ac_lo=0 ac_mid=0
21910 while :; do
21911 cat >conftest.$ac_ext <<_ACEOF
21912 /* confdefs.h. */
21913 _ACEOF
21914 cat confdefs.h >>conftest.$ac_ext
21915 cat >>conftest.$ac_ext <<_ACEOF
21916 /* end confdefs.h. */
21917 $ac_includes_default
21918 int
21919 main ()
21920 {
21921 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
21922 test_array [0] = 0
21923
21924 ;
21925 return 0;
21926 }
21927 _ACEOF
21928 rm -f conftest.$ac_objext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21930 (eval $ac_compile) 2>conftest.er1
21931 ac_status=$?
21932 grep -v '^ *+' conftest.er1 >conftest.err
21933 rm -f conftest.er1
21934 cat conftest.err >&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); } &&
21937 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21939 (eval $ac_try) 2>&5
21940 ac_status=$?
21941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942 (exit $ac_status); }; } &&
21943 { ac_try='test -s conftest.$ac_objext'
21944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21945 (eval $ac_try) 2>&5
21946 ac_status=$?
21947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21948 (exit $ac_status); }; }; then
21949 ac_hi=$ac_mid; break
21950 else
21951 echo "$as_me: failed program was:" >&5
21952 sed 's/^/| /' conftest.$ac_ext >&5
21953
21954 ac_lo=`expr $ac_mid + 1`
21955 if test $ac_lo -le $ac_mid; then
21956 ac_lo= ac_hi=
21957 break
21958 fi
21959 ac_mid=`expr 2 '*' $ac_mid + 1`
21960 fi
21961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21962 done
21963 else
21964 echo "$as_me: failed program was:" >&5
21965 sed 's/^/| /' conftest.$ac_ext >&5
21966
21967 cat >conftest.$ac_ext <<_ACEOF
21968 /* confdefs.h. */
21969 _ACEOF
21970 cat confdefs.h >>conftest.$ac_ext
21971 cat >>conftest.$ac_ext <<_ACEOF
21972 /* end confdefs.h. */
21973 $ac_includes_default
21974 int
21975 main ()
21976 {
21977 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
21978 test_array [0] = 0
21979
21980 ;
21981 return 0;
21982 }
21983 _ACEOF
21984 rm -f conftest.$ac_objext
21985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21986 (eval $ac_compile) 2>conftest.er1
21987 ac_status=$?
21988 grep -v '^ *+' conftest.er1 >conftest.err
21989 rm -f conftest.er1
21990 cat conftest.err >&5
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); } &&
21993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21995 (eval $ac_try) 2>&5
21996 ac_status=$?
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); }; } &&
21999 { ac_try='test -s conftest.$ac_objext'
22000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22001 (eval $ac_try) 2>&5
22002 ac_status=$?
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); }; }; then
22005 ac_hi=-1 ac_mid=-1
22006 while :; do
22007 cat >conftest.$ac_ext <<_ACEOF
22008 /* confdefs.h. */
22009 _ACEOF
22010 cat confdefs.h >>conftest.$ac_ext
22011 cat >>conftest.$ac_ext <<_ACEOF
22012 /* end confdefs.h. */
22013 $ac_includes_default
22014 int
22015 main ()
22016 {
22017 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
22018 test_array [0] = 0
22019
22020 ;
22021 return 0;
22022 }
22023 _ACEOF
22024 rm -f conftest.$ac_objext
22025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22026 (eval $ac_compile) 2>conftest.er1
22027 ac_status=$?
22028 grep -v '^ *+' conftest.er1 >conftest.err
22029 rm -f conftest.er1
22030 cat conftest.err >&5
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); } &&
22033 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22035 (eval $ac_try) 2>&5
22036 ac_status=$?
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); }; } &&
22039 { ac_try='test -s conftest.$ac_objext'
22040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22041 (eval $ac_try) 2>&5
22042 ac_status=$?
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); }; }; then
22045 ac_lo=$ac_mid; break
22046 else
22047 echo "$as_me: failed program was:" >&5
22048 sed 's/^/| /' conftest.$ac_ext >&5
22049
22050 ac_hi=`expr '(' $ac_mid ')' - 1`
22051 if test $ac_mid -le $ac_hi; then
22052 ac_lo= ac_hi=
22053 break
22054 fi
22055 ac_mid=`expr 2 '*' $ac_mid`
22056 fi
22057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22058 done
22059 else
22060 echo "$as_me: failed program was:" >&5
22061 sed 's/^/| /' conftest.$ac_ext >&5
22062
22063 ac_lo= ac_hi=
22064 fi
22065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22066 fi
22067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22068 # Binary search between lo and hi bounds.
22069 while test "x$ac_lo" != "x$ac_hi"; do
22070 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22071 cat >conftest.$ac_ext <<_ACEOF
22072 /* confdefs.h. */
22073 _ACEOF
22074 cat confdefs.h >>conftest.$ac_ext
22075 cat >>conftest.$ac_ext <<_ACEOF
22076 /* end confdefs.h. */
22077 $ac_includes_default
22078 int
22079 main ()
22080 {
22081 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
22082 test_array [0] = 0
22083
22084 ;
22085 return 0;
22086 }
22087 _ACEOF
22088 rm -f conftest.$ac_objext
22089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22090 (eval $ac_compile) 2>conftest.er1
22091 ac_status=$?
22092 grep -v '^ *+' conftest.er1 >conftest.err
22093 rm -f conftest.er1
22094 cat conftest.err >&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); } &&
22097 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22099 (eval $ac_try) 2>&5
22100 ac_status=$?
22101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22102 (exit $ac_status); }; } &&
22103 { ac_try='test -s conftest.$ac_objext'
22104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22105 (eval $ac_try) 2>&5
22106 ac_status=$?
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); }; }; then
22109 ac_hi=$ac_mid
22110 else
22111 echo "$as_me: failed program was:" >&5
22112 sed 's/^/| /' conftest.$ac_ext >&5
22113
22114 ac_lo=`expr '(' $ac_mid ')' + 1`
22115 fi
22116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22117 done
22118 case $ac_lo in
22119 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22120 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
22121 See \`config.log' for more details." >&5
22122 echo "$as_me: error: cannot compute sizeof (size_t), 77
22123 See \`config.log' for more details." >&2;}
22124 { (exit 1); exit 1; }; } ;;
22125 esac
22126 else
22127 if test "$cross_compiling" = yes; then
22128 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22129 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22130 { (exit 1); exit 1; }; }
22131 else
22132 cat >conftest.$ac_ext <<_ACEOF
22133 /* confdefs.h. */
22134 _ACEOF
22135 cat confdefs.h >>conftest.$ac_ext
22136 cat >>conftest.$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22138 $ac_includes_default
22139 long longval () { return (long) (sizeof (size_t)); }
22140 unsigned long ulongval () { return (long) (sizeof (size_t)); }
22141 #include <stdio.h>
22142 #include <stdlib.h>
22143 int
22144 main ()
22145 {
22146
22147 FILE *f = fopen ("conftest.val", "w");
22148 if (! f)
22149 exit (1);
22150 if (((long) (sizeof (size_t))) < 0)
22151 {
22152 long i = longval ();
22153 if (i != ((long) (sizeof (size_t))))
22154 exit (1);
22155 fprintf (f, "%ld\n", i);
22156 }
22157 else
22158 {
22159 unsigned long i = ulongval ();
22160 if (i != ((long) (sizeof (size_t))))
22161 exit (1);
22162 fprintf (f, "%lu\n", i);
22163 }
22164 exit (ferror (f) || fclose (f) != 0);
22165
22166 ;
22167 return 0;
22168 }
22169 _ACEOF
22170 rm -f conftest$ac_exeext
22171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22172 (eval $ac_link) 2>&5
22173 ac_status=$?
22174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22175 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22177 (eval $ac_try) 2>&5
22178 ac_status=$?
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); }; }; then
22181 ac_cv_sizeof_size_t=`cat conftest.val`
22182 else
22183 echo "$as_me: program exited with status $ac_status" >&5
22184 echo "$as_me: failed program was:" >&5
22185 sed 's/^/| /' conftest.$ac_ext >&5
22186
22187 ( exit $ac_status )
22188 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
22189 See \`config.log' for more details." >&5
22190 echo "$as_me: error: cannot compute sizeof (size_t), 77
22191 See \`config.log' for more details." >&2;}
22192 { (exit 1); exit 1; }; }
22193 fi
22194 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22195 fi
22196 fi
22197 rm -f conftest.val
22198 else
22199 ac_cv_sizeof_size_t=0
22200 fi
22201 fi
22202 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22203 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
22204 cat >>confdefs.h <<_ACEOF
22205 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22206 _ACEOF
22207
22208
22209
22210 case "${host}" in
22211 arm-*-linux* )
22212 echo "$as_me:$LINENO: checking for long long" >&5
22213 echo $ECHO_N "checking for long long... $ECHO_C" >&6
22214 if test "${ac_cv_type_long_long+set}" = set; then
22215 echo $ECHO_N "(cached) $ECHO_C" >&6
22216 else
22217 cat >conftest.$ac_ext <<_ACEOF
22218 /* confdefs.h. */
22219 _ACEOF
22220 cat confdefs.h >>conftest.$ac_ext
22221 cat >>conftest.$ac_ext <<_ACEOF
22222 /* end confdefs.h. */
22223 $ac_includes_default
22224 int
22225 main ()
22226 {
22227 if ((long long *) 0)
22228 return 0;
22229 if (sizeof (long long))
22230 return 0;
22231 ;
22232 return 0;
22233 }
22234 _ACEOF
22235 rm -f conftest.$ac_objext
22236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22237 (eval $ac_compile) 2>conftest.er1
22238 ac_status=$?
22239 grep -v '^ *+' conftest.er1 >conftest.err
22240 rm -f conftest.er1
22241 cat conftest.err >&5
22242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243 (exit $ac_status); } &&
22244 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22246 (eval $ac_try) 2>&5
22247 ac_status=$?
22248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22249 (exit $ac_status); }; } &&
22250 { ac_try='test -s conftest.$ac_objext'
22251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22252 (eval $ac_try) 2>&5
22253 ac_status=$?
22254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22255 (exit $ac_status); }; }; then
22256 ac_cv_type_long_long=yes
22257 else
22258 echo "$as_me: failed program was:" >&5
22259 sed 's/^/| /' conftest.$ac_ext >&5
22260
22261 ac_cv_type_long_long=no
22262 fi
22263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22264 fi
22265 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22266 echo "${ECHO_T}$ac_cv_type_long_long" >&6
22267
22268 echo "$as_me:$LINENO: checking size of long long" >&5
22269 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
22270 if test "${ac_cv_sizeof_long_long+set}" = set; then
22271 echo $ECHO_N "(cached) $ECHO_C" >&6
22272 else
22273 if test "$ac_cv_type_long_long" = yes; then
22274 # The cast to unsigned long works around a bug in the HP C Compiler
22275 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22276 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22277 # This bug is HP SR number 8606223364.
22278 if test "$cross_compiling" = yes; then
22279 # Depending upon the size, compute the lo and hi bounds.
22280 cat >conftest.$ac_ext <<_ACEOF
22281 /* confdefs.h. */
22282 _ACEOF
22283 cat confdefs.h >>conftest.$ac_ext
22284 cat >>conftest.$ac_ext <<_ACEOF
22285 /* end confdefs.h. */
22286 $ac_includes_default
22287 int
22288 main ()
22289 {
22290 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
22291 test_array [0] = 0
22292
22293 ;
22294 return 0;
22295 }
22296 _ACEOF
22297 rm -f conftest.$ac_objext
22298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22299 (eval $ac_compile) 2>conftest.er1
22300 ac_status=$?
22301 grep -v '^ *+' conftest.er1 >conftest.err
22302 rm -f conftest.er1
22303 cat conftest.err >&5
22304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22305 (exit $ac_status); } &&
22306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22308 (eval $ac_try) 2>&5
22309 ac_status=$?
22310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22311 (exit $ac_status); }; } &&
22312 { ac_try='test -s conftest.$ac_objext'
22313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22314 (eval $ac_try) 2>&5
22315 ac_status=$?
22316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22317 (exit $ac_status); }; }; then
22318 ac_lo=0 ac_mid=0
22319 while :; do
22320 cat >conftest.$ac_ext <<_ACEOF
22321 /* confdefs.h. */
22322 _ACEOF
22323 cat confdefs.h >>conftest.$ac_ext
22324 cat >>conftest.$ac_ext <<_ACEOF
22325 /* end confdefs.h. */
22326 $ac_includes_default
22327 int
22328 main ()
22329 {
22330 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22331 test_array [0] = 0
22332
22333 ;
22334 return 0;
22335 }
22336 _ACEOF
22337 rm -f conftest.$ac_objext
22338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22339 (eval $ac_compile) 2>conftest.er1
22340 ac_status=$?
22341 grep -v '^ *+' conftest.er1 >conftest.err
22342 rm -f conftest.er1
22343 cat conftest.err >&5
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); } &&
22346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22348 (eval $ac_try) 2>&5
22349 ac_status=$?
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); }; } &&
22352 { ac_try='test -s conftest.$ac_objext'
22353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22354 (eval $ac_try) 2>&5
22355 ac_status=$?
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22358 ac_hi=$ac_mid; break
22359 else
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.$ac_ext >&5
22362
22363 ac_lo=`expr $ac_mid + 1`
22364 if test $ac_lo -le $ac_mid; then
22365 ac_lo= ac_hi=
22366 break
22367 fi
22368 ac_mid=`expr 2 '*' $ac_mid + 1`
22369 fi
22370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22371 done
22372 else
22373 echo "$as_me: failed program was:" >&5
22374 sed 's/^/| /' conftest.$ac_ext >&5
22375
22376 cat >conftest.$ac_ext <<_ACEOF
22377 /* confdefs.h. */
22378 _ACEOF
22379 cat confdefs.h >>conftest.$ac_ext
22380 cat >>conftest.$ac_ext <<_ACEOF
22381 /* end confdefs.h. */
22382 $ac_includes_default
22383 int
22384 main ()
22385 {
22386 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
22387 test_array [0] = 0
22388
22389 ;
22390 return 0;
22391 }
22392 _ACEOF
22393 rm -f conftest.$ac_objext
22394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22395 (eval $ac_compile) 2>conftest.er1
22396 ac_status=$?
22397 grep -v '^ *+' conftest.er1 >conftest.err
22398 rm -f conftest.er1
22399 cat conftest.err >&5
22400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22401 (exit $ac_status); } &&
22402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22404 (eval $ac_try) 2>&5
22405 ac_status=$?
22406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22407 (exit $ac_status); }; } &&
22408 { ac_try='test -s conftest.$ac_objext'
22409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22410 (eval $ac_try) 2>&5
22411 ac_status=$?
22412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413 (exit $ac_status); }; }; then
22414 ac_hi=-1 ac_mid=-1
22415 while :; do
22416 cat >conftest.$ac_ext <<_ACEOF
22417 /* confdefs.h. */
22418 _ACEOF
22419 cat confdefs.h >>conftest.$ac_ext
22420 cat >>conftest.$ac_ext <<_ACEOF
22421 /* end confdefs.h. */
22422 $ac_includes_default
22423 int
22424 main ()
22425 {
22426 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
22427 test_array [0] = 0
22428
22429 ;
22430 return 0;
22431 }
22432 _ACEOF
22433 rm -f conftest.$ac_objext
22434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22435 (eval $ac_compile) 2>conftest.er1
22436 ac_status=$?
22437 grep -v '^ *+' conftest.er1 >conftest.err
22438 rm -f conftest.er1
22439 cat conftest.err >&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); } &&
22442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22444 (eval $ac_try) 2>&5
22445 ac_status=$?
22446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447 (exit $ac_status); }; } &&
22448 { ac_try='test -s conftest.$ac_objext'
22449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22450 (eval $ac_try) 2>&5
22451 ac_status=$?
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); }; }; then
22454 ac_lo=$ac_mid; break
22455 else
22456 echo "$as_me: failed program was:" >&5
22457 sed 's/^/| /' conftest.$ac_ext >&5
22458
22459 ac_hi=`expr '(' $ac_mid ')' - 1`
22460 if test $ac_mid -le $ac_hi; then
22461 ac_lo= ac_hi=
22462 break
22463 fi
22464 ac_mid=`expr 2 '*' $ac_mid`
22465 fi
22466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22467 done
22468 else
22469 echo "$as_me: failed program was:" >&5
22470 sed 's/^/| /' conftest.$ac_ext >&5
22471
22472 ac_lo= ac_hi=
22473 fi
22474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22475 fi
22476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22477 # Binary search between lo and hi bounds.
22478 while test "x$ac_lo" != "x$ac_hi"; do
22479 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22480 cat >conftest.$ac_ext <<_ACEOF
22481 /* confdefs.h. */
22482 _ACEOF
22483 cat confdefs.h >>conftest.$ac_ext
22484 cat >>conftest.$ac_ext <<_ACEOF
22485 /* end confdefs.h. */
22486 $ac_includes_default
22487 int
22488 main ()
22489 {
22490 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22491 test_array [0] = 0
22492
22493 ;
22494 return 0;
22495 }
22496 _ACEOF
22497 rm -f conftest.$ac_objext
22498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22499 (eval $ac_compile) 2>conftest.er1
22500 ac_status=$?
22501 grep -v '^ *+' conftest.er1 >conftest.err
22502 rm -f conftest.er1
22503 cat conftest.err >&5
22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); } &&
22506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22508 (eval $ac_try) 2>&5
22509 ac_status=$?
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); }; } &&
22512 { ac_try='test -s conftest.$ac_objext'
22513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22514 (eval $ac_try) 2>&5
22515 ac_status=$?
22516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22517 (exit $ac_status); }; }; then
22518 ac_hi=$ac_mid
22519 else
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.$ac_ext >&5
22522
22523 ac_lo=`expr '(' $ac_mid ')' + 1`
22524 fi
22525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22526 done
22527 case $ac_lo in
22528 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22529 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22530 See \`config.log' for more details." >&5
22531 echo "$as_me: error: cannot compute sizeof (long long), 77
22532 See \`config.log' for more details." >&2;}
22533 { (exit 1); exit 1; }; } ;;
22534 esac
22535 else
22536 if test "$cross_compiling" = yes; then
22537 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22538 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22539 { (exit 1); exit 1; }; }
22540 else
22541 cat >conftest.$ac_ext <<_ACEOF
22542 /* confdefs.h. */
22543 _ACEOF
22544 cat confdefs.h >>conftest.$ac_ext
22545 cat >>conftest.$ac_ext <<_ACEOF
22546 /* end confdefs.h. */
22547 $ac_includes_default
22548 long longval () { return (long) (sizeof (long long)); }
22549 unsigned long ulongval () { return (long) (sizeof (long long)); }
22550 #include <stdio.h>
22551 #include <stdlib.h>
22552 int
22553 main ()
22554 {
22555
22556 FILE *f = fopen ("conftest.val", "w");
22557 if (! f)
22558 exit (1);
22559 if (((long) (sizeof (long long))) < 0)
22560 {
22561 long i = longval ();
22562 if (i != ((long) (sizeof (long long))))
22563 exit (1);
22564 fprintf (f, "%ld\n", i);
22565 }
22566 else
22567 {
22568 unsigned long i = ulongval ();
22569 if (i != ((long) (sizeof (long long))))
22570 exit (1);
22571 fprintf (f, "%lu\n", i);
22572 }
22573 exit (ferror (f) || fclose (f) != 0);
22574
22575 ;
22576 return 0;
22577 }
22578 _ACEOF
22579 rm -f conftest$ac_exeext
22580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22581 (eval $ac_link) 2>&5
22582 ac_status=$?
22583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22584 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22586 (eval $ac_try) 2>&5
22587 ac_status=$?
22588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589 (exit $ac_status); }; }; then
22590 ac_cv_sizeof_long_long=`cat conftest.val`
22591 else
22592 echo "$as_me: program exited with status $ac_status" >&5
22593 echo "$as_me: failed program was:" >&5
22594 sed 's/^/| /' conftest.$ac_ext >&5
22595
22596 ( exit $ac_status )
22597 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22598 See \`config.log' for more details." >&5
22599 echo "$as_me: error: cannot compute sizeof (long long), 77
22600 See \`config.log' for more details." >&2;}
22601 { (exit 1); exit 1; }; }
22602 fi
22603 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22604 fi
22605 fi
22606 rm -f conftest.val
22607 else
22608 ac_cv_sizeof_long_long=0
22609 fi
22610 fi
22611 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22612 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
22613 cat >>confdefs.h <<_ACEOF
22614 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22615 _ACEOF
22616
22617
22618 ;;
22619 *-hp-hpux* )
22620 echo "$as_me:$LINENO: checking for long long" >&5
22621 echo $ECHO_N "checking for long long... $ECHO_C" >&6
22622 if test "${ac_cv_type_long_long+set}" = set; then
22623 echo $ECHO_N "(cached) $ECHO_C" >&6
22624 else
22625 cat >conftest.$ac_ext <<_ACEOF
22626 /* confdefs.h. */
22627 _ACEOF
22628 cat confdefs.h >>conftest.$ac_ext
22629 cat >>conftest.$ac_ext <<_ACEOF
22630 /* end confdefs.h. */
22631 $ac_includes_default
22632 int
22633 main ()
22634 {
22635 if ((long long *) 0)
22636 return 0;
22637 if (sizeof (long long))
22638 return 0;
22639 ;
22640 return 0;
22641 }
22642 _ACEOF
22643 rm -f conftest.$ac_objext
22644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22645 (eval $ac_compile) 2>conftest.er1
22646 ac_status=$?
22647 grep -v '^ *+' conftest.er1 >conftest.err
22648 rm -f conftest.er1
22649 cat conftest.err >&5
22650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651 (exit $ac_status); } &&
22652 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22654 (eval $ac_try) 2>&5
22655 ac_status=$?
22656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22657 (exit $ac_status); }; } &&
22658 { ac_try='test -s conftest.$ac_objext'
22659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22660 (eval $ac_try) 2>&5
22661 ac_status=$?
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); }; }; then
22664 ac_cv_type_long_long=yes
22665 else
22666 echo "$as_me: failed program was:" >&5
22667 sed 's/^/| /' conftest.$ac_ext >&5
22668
22669 ac_cv_type_long_long=no
22670 fi
22671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22672 fi
22673 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22674 echo "${ECHO_T}$ac_cv_type_long_long" >&6
22675
22676 echo "$as_me:$LINENO: checking size of long long" >&5
22677 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
22678 if test "${ac_cv_sizeof_long_long+set}" = set; then
22679 echo $ECHO_N "(cached) $ECHO_C" >&6
22680 else
22681 if test "$ac_cv_type_long_long" = yes; then
22682 # The cast to unsigned long works around a bug in the HP C Compiler
22683 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22684 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22685 # This bug is HP SR number 8606223364.
22686 if test "$cross_compiling" = yes; then
22687 # Depending upon the size, compute the lo and hi bounds.
22688 cat >conftest.$ac_ext <<_ACEOF
22689 /* confdefs.h. */
22690 _ACEOF
22691 cat confdefs.h >>conftest.$ac_ext
22692 cat >>conftest.$ac_ext <<_ACEOF
22693 /* end confdefs.h. */
22694 $ac_includes_default
22695 int
22696 main ()
22697 {
22698 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
22699 test_array [0] = 0
22700
22701 ;
22702 return 0;
22703 }
22704 _ACEOF
22705 rm -f conftest.$ac_objext
22706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22707 (eval $ac_compile) 2>conftest.er1
22708 ac_status=$?
22709 grep -v '^ *+' conftest.er1 >conftest.err
22710 rm -f conftest.er1
22711 cat conftest.err >&5
22712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22713 (exit $ac_status); } &&
22714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22716 (eval $ac_try) 2>&5
22717 ac_status=$?
22718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719 (exit $ac_status); }; } &&
22720 { ac_try='test -s conftest.$ac_objext'
22721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22722 (eval $ac_try) 2>&5
22723 ac_status=$?
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); }; }; then
22726 ac_lo=0 ac_mid=0
22727 while :; do
22728 cat >conftest.$ac_ext <<_ACEOF
22729 /* confdefs.h. */
22730 _ACEOF
22731 cat confdefs.h >>conftest.$ac_ext
22732 cat >>conftest.$ac_ext <<_ACEOF
22733 /* end confdefs.h. */
22734 $ac_includes_default
22735 int
22736 main ()
22737 {
22738 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22739 test_array [0] = 0
22740
22741 ;
22742 return 0;
22743 }
22744 _ACEOF
22745 rm -f conftest.$ac_objext
22746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22747 (eval $ac_compile) 2>conftest.er1
22748 ac_status=$?
22749 grep -v '^ *+' conftest.er1 >conftest.err
22750 rm -f conftest.er1
22751 cat conftest.err >&5
22752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22753 (exit $ac_status); } &&
22754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22756 (eval $ac_try) 2>&5
22757 ac_status=$?
22758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22759 (exit $ac_status); }; } &&
22760 { ac_try='test -s conftest.$ac_objext'
22761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22762 (eval $ac_try) 2>&5
22763 ac_status=$?
22764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22765 (exit $ac_status); }; }; then
22766 ac_hi=$ac_mid; break
22767 else
22768 echo "$as_me: failed program was:" >&5
22769 sed 's/^/| /' conftest.$ac_ext >&5
22770
22771 ac_lo=`expr $ac_mid + 1`
22772 if test $ac_lo -le $ac_mid; then
22773 ac_lo= ac_hi=
22774 break
22775 fi
22776 ac_mid=`expr 2 '*' $ac_mid + 1`
22777 fi
22778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22779 done
22780 else
22781 echo "$as_me: failed program was:" >&5
22782 sed 's/^/| /' conftest.$ac_ext >&5
22783
22784 cat >conftest.$ac_ext <<_ACEOF
22785 /* confdefs.h. */
22786 _ACEOF
22787 cat confdefs.h >>conftest.$ac_ext
22788 cat >>conftest.$ac_ext <<_ACEOF
22789 /* end confdefs.h. */
22790 $ac_includes_default
22791 int
22792 main ()
22793 {
22794 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
22795 test_array [0] = 0
22796
22797 ;
22798 return 0;
22799 }
22800 _ACEOF
22801 rm -f conftest.$ac_objext
22802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22803 (eval $ac_compile) 2>conftest.er1
22804 ac_status=$?
22805 grep -v '^ *+' conftest.er1 >conftest.err
22806 rm -f conftest.er1
22807 cat conftest.err >&5
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); } &&
22810 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22812 (eval $ac_try) 2>&5
22813 ac_status=$?
22814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22815 (exit $ac_status); }; } &&
22816 { ac_try='test -s conftest.$ac_objext'
22817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22818 (eval $ac_try) 2>&5
22819 ac_status=$?
22820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821 (exit $ac_status); }; }; then
22822 ac_hi=-1 ac_mid=-1
22823 while :; do
22824 cat >conftest.$ac_ext <<_ACEOF
22825 /* confdefs.h. */
22826 _ACEOF
22827 cat confdefs.h >>conftest.$ac_ext
22828 cat >>conftest.$ac_ext <<_ACEOF
22829 /* end confdefs.h. */
22830 $ac_includes_default
22831 int
22832 main ()
22833 {
22834 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
22835 test_array [0] = 0
22836
22837 ;
22838 return 0;
22839 }
22840 _ACEOF
22841 rm -f conftest.$ac_objext
22842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22843 (eval $ac_compile) 2>conftest.er1
22844 ac_status=$?
22845 grep -v '^ *+' conftest.er1 >conftest.err
22846 rm -f conftest.er1
22847 cat conftest.err >&5
22848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22849 (exit $ac_status); } &&
22850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22852 (eval $ac_try) 2>&5
22853 ac_status=$?
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); }; } &&
22856 { ac_try='test -s conftest.$ac_objext'
22857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22858 (eval $ac_try) 2>&5
22859 ac_status=$?
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); }; }; then
22862 ac_lo=$ac_mid; break
22863 else
22864 echo "$as_me: failed program was:" >&5
22865 sed 's/^/| /' conftest.$ac_ext >&5
22866
22867 ac_hi=`expr '(' $ac_mid ')' - 1`
22868 if test $ac_mid -le $ac_hi; then
22869 ac_lo= ac_hi=
22870 break
22871 fi
22872 ac_mid=`expr 2 '*' $ac_mid`
22873 fi
22874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22875 done
22876 else
22877 echo "$as_me: failed program was:" >&5
22878 sed 's/^/| /' conftest.$ac_ext >&5
22879
22880 ac_lo= ac_hi=
22881 fi
22882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22883 fi
22884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22885 # Binary search between lo and hi bounds.
22886 while test "x$ac_lo" != "x$ac_hi"; do
22887 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22888 cat >conftest.$ac_ext <<_ACEOF
22889 /* confdefs.h. */
22890 _ACEOF
22891 cat confdefs.h >>conftest.$ac_ext
22892 cat >>conftest.$ac_ext <<_ACEOF
22893 /* end confdefs.h. */
22894 $ac_includes_default
22895 int
22896 main ()
22897 {
22898 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
22899 test_array [0] = 0
22900
22901 ;
22902 return 0;
22903 }
22904 _ACEOF
22905 rm -f conftest.$ac_objext
22906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22907 (eval $ac_compile) 2>conftest.er1
22908 ac_status=$?
22909 grep -v '^ *+' conftest.er1 >conftest.err
22910 rm -f conftest.er1
22911 cat conftest.err >&5
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); } &&
22914 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22916 (eval $ac_try) 2>&5
22917 ac_status=$?
22918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22919 (exit $ac_status); }; } &&
22920 { ac_try='test -s conftest.$ac_objext'
22921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22922 (eval $ac_try) 2>&5
22923 ac_status=$?
22924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22925 (exit $ac_status); }; }; then
22926 ac_hi=$ac_mid
22927 else
22928 echo "$as_me: failed program was:" >&5
22929 sed 's/^/| /' conftest.$ac_ext >&5
22930
22931 ac_lo=`expr '(' $ac_mid ')' + 1`
22932 fi
22933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22934 done
22935 case $ac_lo in
22936 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22937 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
22938 See \`config.log' for more details." >&5
22939 echo "$as_me: error: cannot compute sizeof (long long), 77
22940 See \`config.log' for more details." >&2;}
22941 { (exit 1); exit 1; }; } ;;
22942 esac
22943 else
22944 if test "$cross_compiling" = yes; then
22945 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22946 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22947 { (exit 1); exit 1; }; }
22948 else
22949 cat >conftest.$ac_ext <<_ACEOF
22950 /* confdefs.h. */
22951 _ACEOF
22952 cat confdefs.h >>conftest.$ac_ext
22953 cat >>conftest.$ac_ext <<_ACEOF
22954 /* end confdefs.h. */
22955 $ac_includes_default
22956 long longval () { return (long) (sizeof (long long)); }
22957 unsigned long ulongval () { return (long) (sizeof (long long)); }
22958 #include <stdio.h>
22959 #include <stdlib.h>
22960 int
22961 main ()
22962 {
22963
22964 FILE *f = fopen ("conftest.val", "w");
22965 if (! f)
22966 exit (1);
22967 if (((long) (sizeof (long long))) < 0)
22968 {
22969 long i = longval ();
22970 if (i != ((long) (sizeof (long long))))
22971 exit (1);
22972 fprintf (f, "%ld\n", i);
22973 }
22974 else
22975 {
22976 unsigned long i = ulongval ();
22977 if (i != ((long) (sizeof (long long))))
22978 exit (1);
22979 fprintf (f, "%lu\n", i);
22980 }
22981 exit (ferror (f) || fclose (f) != 0);
22982
22983 ;
22984 return 0;
22985 }
22986 _ACEOF
22987 rm -f conftest$ac_exeext
22988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22989 (eval $ac_link) 2>&5
22990 ac_status=$?
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22994 (eval $ac_try) 2>&5
22995 ac_status=$?
22996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997 (exit $ac_status); }; }; then
22998 ac_cv_sizeof_long_long=`cat conftest.val`
22999 else
23000 echo "$as_me: program exited with status $ac_status" >&5
23001 echo "$as_me: failed program was:" >&5
23002 sed 's/^/| /' conftest.$ac_ext >&5
23003
23004 ( exit $ac_status )
23005 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23006 See \`config.log' for more details." >&5
23007 echo "$as_me: error: cannot compute sizeof (long long), 77
23008 See \`config.log' for more details." >&2;}
23009 { (exit 1); exit 1; }; }
23010 fi
23011 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23012 fi
23013 fi
23014 rm -f conftest.val
23015 else
23016 ac_cv_sizeof_long_long=0
23017 fi
23018 fi
23019 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23020 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
23021 cat >>confdefs.h <<_ACEOF
23022 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23023 _ACEOF
23024
23025
23026 if test "$ac_cv_sizeof_long_long" != "0"; then
23027 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23028 fi
23029 ;;
23030 * )
23031 echo "$as_me:$LINENO: checking for long long" >&5
23032 echo $ECHO_N "checking for long long... $ECHO_C" >&6
23033 if test "${ac_cv_type_long_long+set}" = set; then
23034 echo $ECHO_N "(cached) $ECHO_C" >&6
23035 else
23036 cat >conftest.$ac_ext <<_ACEOF
23037 /* confdefs.h. */
23038 _ACEOF
23039 cat confdefs.h >>conftest.$ac_ext
23040 cat >>conftest.$ac_ext <<_ACEOF
23041 /* end confdefs.h. */
23042 $ac_includes_default
23043 int
23044 main ()
23045 {
23046 if ((long long *) 0)
23047 return 0;
23048 if (sizeof (long long))
23049 return 0;
23050 ;
23051 return 0;
23052 }
23053 _ACEOF
23054 rm -f conftest.$ac_objext
23055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23056 (eval $ac_compile) 2>conftest.er1
23057 ac_status=$?
23058 grep -v '^ *+' conftest.er1 >conftest.err
23059 rm -f conftest.er1
23060 cat conftest.err >&5
23061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23062 (exit $ac_status); } &&
23063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23065 (eval $ac_try) 2>&5
23066 ac_status=$?
23067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23068 (exit $ac_status); }; } &&
23069 { ac_try='test -s conftest.$ac_objext'
23070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23071 (eval $ac_try) 2>&5
23072 ac_status=$?
23073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074 (exit $ac_status); }; }; then
23075 ac_cv_type_long_long=yes
23076 else
23077 echo "$as_me: failed program was:" >&5
23078 sed 's/^/| /' conftest.$ac_ext >&5
23079
23080 ac_cv_type_long_long=no
23081 fi
23082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23083 fi
23084 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23085 echo "${ECHO_T}$ac_cv_type_long_long" >&6
23086
23087 echo "$as_me:$LINENO: checking size of long long" >&5
23088 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
23089 if test "${ac_cv_sizeof_long_long+set}" = set; then
23090 echo $ECHO_N "(cached) $ECHO_C" >&6
23091 else
23092 if test "$ac_cv_type_long_long" = yes; then
23093 # The cast to unsigned long works around a bug in the HP C Compiler
23094 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23095 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23096 # This bug is HP SR number 8606223364.
23097 if test "$cross_compiling" = yes; then
23098 # Depending upon the size, compute the lo and hi bounds.
23099 cat >conftest.$ac_ext <<_ACEOF
23100 /* confdefs.h. */
23101 _ACEOF
23102 cat confdefs.h >>conftest.$ac_ext
23103 cat >>conftest.$ac_ext <<_ACEOF
23104 /* end confdefs.h. */
23105 $ac_includes_default
23106 int
23107 main ()
23108 {
23109 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
23110 test_array [0] = 0
23111
23112 ;
23113 return 0;
23114 }
23115 _ACEOF
23116 rm -f conftest.$ac_objext
23117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23118 (eval $ac_compile) 2>conftest.er1
23119 ac_status=$?
23120 grep -v '^ *+' conftest.er1 >conftest.err
23121 rm -f conftest.er1
23122 cat conftest.err >&5
23123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23124 (exit $ac_status); } &&
23125 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23127 (eval $ac_try) 2>&5
23128 ac_status=$?
23129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23130 (exit $ac_status); }; } &&
23131 { ac_try='test -s conftest.$ac_objext'
23132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23133 (eval $ac_try) 2>&5
23134 ac_status=$?
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); }; }; then
23137 ac_lo=0 ac_mid=0
23138 while :; do
23139 cat >conftest.$ac_ext <<_ACEOF
23140 /* confdefs.h. */
23141 _ACEOF
23142 cat confdefs.h >>conftest.$ac_ext
23143 cat >>conftest.$ac_ext <<_ACEOF
23144 /* end confdefs.h. */
23145 $ac_includes_default
23146 int
23147 main ()
23148 {
23149 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23150 test_array [0] = 0
23151
23152 ;
23153 return 0;
23154 }
23155 _ACEOF
23156 rm -f conftest.$ac_objext
23157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23158 (eval $ac_compile) 2>conftest.er1
23159 ac_status=$?
23160 grep -v '^ *+' conftest.er1 >conftest.err
23161 rm -f conftest.er1
23162 cat conftest.err >&5
23163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23164 (exit $ac_status); } &&
23165 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23167 (eval $ac_try) 2>&5
23168 ac_status=$?
23169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23170 (exit $ac_status); }; } &&
23171 { ac_try='test -s conftest.$ac_objext'
23172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23173 (eval $ac_try) 2>&5
23174 ac_status=$?
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); }; }; then
23177 ac_hi=$ac_mid; break
23178 else
23179 echo "$as_me: failed program was:" >&5
23180 sed 's/^/| /' conftest.$ac_ext >&5
23181
23182 ac_lo=`expr $ac_mid + 1`
23183 if test $ac_lo -le $ac_mid; then
23184 ac_lo= ac_hi=
23185 break
23186 fi
23187 ac_mid=`expr 2 '*' $ac_mid + 1`
23188 fi
23189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23190 done
23191 else
23192 echo "$as_me: failed program was:" >&5
23193 sed 's/^/| /' conftest.$ac_ext >&5
23194
23195 cat >conftest.$ac_ext <<_ACEOF
23196 /* confdefs.h. */
23197 _ACEOF
23198 cat confdefs.h >>conftest.$ac_ext
23199 cat >>conftest.$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23201 $ac_includes_default
23202 int
23203 main ()
23204 {
23205 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
23206 test_array [0] = 0
23207
23208 ;
23209 return 0;
23210 }
23211 _ACEOF
23212 rm -f conftest.$ac_objext
23213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23214 (eval $ac_compile) 2>conftest.er1
23215 ac_status=$?
23216 grep -v '^ *+' conftest.er1 >conftest.err
23217 rm -f conftest.er1
23218 cat conftest.err >&5
23219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23220 (exit $ac_status); } &&
23221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23223 (eval $ac_try) 2>&5
23224 ac_status=$?
23225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23226 (exit $ac_status); }; } &&
23227 { ac_try='test -s conftest.$ac_objext'
23228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23229 (eval $ac_try) 2>&5
23230 ac_status=$?
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); }; }; then
23233 ac_hi=-1 ac_mid=-1
23234 while :; do
23235 cat >conftest.$ac_ext <<_ACEOF
23236 /* confdefs.h. */
23237 _ACEOF
23238 cat confdefs.h >>conftest.$ac_ext
23239 cat >>conftest.$ac_ext <<_ACEOF
23240 /* end confdefs.h. */
23241 $ac_includes_default
23242 int
23243 main ()
23244 {
23245 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
23246 test_array [0] = 0
23247
23248 ;
23249 return 0;
23250 }
23251 _ACEOF
23252 rm -f conftest.$ac_objext
23253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23254 (eval $ac_compile) 2>conftest.er1
23255 ac_status=$?
23256 grep -v '^ *+' conftest.er1 >conftest.err
23257 rm -f conftest.er1
23258 cat conftest.err >&5
23259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23260 (exit $ac_status); } &&
23261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23263 (eval $ac_try) 2>&5
23264 ac_status=$?
23265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23266 (exit $ac_status); }; } &&
23267 { ac_try='test -s conftest.$ac_objext'
23268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23269 (eval $ac_try) 2>&5
23270 ac_status=$?
23271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23272 (exit $ac_status); }; }; then
23273 ac_lo=$ac_mid; break
23274 else
23275 echo "$as_me: failed program was:" >&5
23276 sed 's/^/| /' conftest.$ac_ext >&5
23277
23278 ac_hi=`expr '(' $ac_mid ')' - 1`
23279 if test $ac_mid -le $ac_hi; then
23280 ac_lo= ac_hi=
23281 break
23282 fi
23283 ac_mid=`expr 2 '*' $ac_mid`
23284 fi
23285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23286 done
23287 else
23288 echo "$as_me: failed program was:" >&5
23289 sed 's/^/| /' conftest.$ac_ext >&5
23290
23291 ac_lo= ac_hi=
23292 fi
23293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23294 fi
23295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23296 # Binary search between lo and hi bounds.
23297 while test "x$ac_lo" != "x$ac_hi"; do
23298 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23299 cat >conftest.$ac_ext <<_ACEOF
23300 /* confdefs.h. */
23301 _ACEOF
23302 cat confdefs.h >>conftest.$ac_ext
23303 cat >>conftest.$ac_ext <<_ACEOF
23304 /* end confdefs.h. */
23305 $ac_includes_default
23306 int
23307 main ()
23308 {
23309 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23310 test_array [0] = 0
23311
23312 ;
23313 return 0;
23314 }
23315 _ACEOF
23316 rm -f conftest.$ac_objext
23317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23318 (eval $ac_compile) 2>conftest.er1
23319 ac_status=$?
23320 grep -v '^ *+' conftest.er1 >conftest.err
23321 rm -f conftest.er1
23322 cat conftest.err >&5
23323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23324 (exit $ac_status); } &&
23325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23327 (eval $ac_try) 2>&5
23328 ac_status=$?
23329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23330 (exit $ac_status); }; } &&
23331 { ac_try='test -s conftest.$ac_objext'
23332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23333 (eval $ac_try) 2>&5
23334 ac_status=$?
23335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23336 (exit $ac_status); }; }; then
23337 ac_hi=$ac_mid
23338 else
23339 echo "$as_me: failed program was:" >&5
23340 sed 's/^/| /' conftest.$ac_ext >&5
23341
23342 ac_lo=`expr '(' $ac_mid ')' + 1`
23343 fi
23344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23345 done
23346 case $ac_lo in
23347 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23348 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23349 See \`config.log' for more details." >&5
23350 echo "$as_me: error: cannot compute sizeof (long long), 77
23351 See \`config.log' for more details." >&2;}
23352 { (exit 1); exit 1; }; } ;;
23353 esac
23354 else
23355 if test "$cross_compiling" = yes; then
23356 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
23357 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
23358 { (exit 1); exit 1; }; }
23359 else
23360 cat >conftest.$ac_ext <<_ACEOF
23361 /* confdefs.h. */
23362 _ACEOF
23363 cat confdefs.h >>conftest.$ac_ext
23364 cat >>conftest.$ac_ext <<_ACEOF
23365 /* end confdefs.h. */
23366 $ac_includes_default
23367 long longval () { return (long) (sizeof (long long)); }
23368 unsigned long ulongval () { return (long) (sizeof (long long)); }
23369 #include <stdio.h>
23370 #include <stdlib.h>
23371 int
23372 main ()
23373 {
23374
23375 FILE *f = fopen ("conftest.val", "w");
23376 if (! f)
23377 exit (1);
23378 if (((long) (sizeof (long long))) < 0)
23379 {
23380 long i = longval ();
23381 if (i != ((long) (sizeof (long long))))
23382 exit (1);
23383 fprintf (f, "%ld\n", i);
23384 }
23385 else
23386 {
23387 unsigned long i = ulongval ();
23388 if (i != ((long) (sizeof (long long))))
23389 exit (1);
23390 fprintf (f, "%lu\n", i);
23391 }
23392 exit (ferror (f) || fclose (f) != 0);
23393
23394 ;
23395 return 0;
23396 }
23397 _ACEOF
23398 rm -f conftest$ac_exeext
23399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23400 (eval $ac_link) 2>&5
23401 ac_status=$?
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23405 (eval $ac_try) 2>&5
23406 ac_status=$?
23407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23408 (exit $ac_status); }; }; then
23409 ac_cv_sizeof_long_long=`cat conftest.val`
23410 else
23411 echo "$as_me: program exited with status $ac_status" >&5
23412 echo "$as_me: failed program was:" >&5
23413 sed 's/^/| /' conftest.$ac_ext >&5
23414
23415 ( exit $ac_status )
23416 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23417 See \`config.log' for more details." >&5
23418 echo "$as_me: error: cannot compute sizeof (long long), 77
23419 See \`config.log' for more details." >&2;}
23420 { (exit 1); exit 1; }; }
23421 fi
23422 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23423 fi
23424 fi
23425 rm -f conftest.val
23426 else
23427 ac_cv_sizeof_long_long=0
23428 fi
23429 fi
23430 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23431 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
23432 cat >>confdefs.h <<_ACEOF
23433 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23434 _ACEOF
23435
23436
23437 esac
23438
23439 echo "$as_me:$LINENO: checking for wchar_t" >&5
23440 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
23441 if test "${ac_cv_type_wchar_t+set}" = set; then
23442 echo $ECHO_N "(cached) $ECHO_C" >&6
23443 else
23444 cat >conftest.$ac_ext <<_ACEOF
23445 /* confdefs.h. */
23446 _ACEOF
23447 cat confdefs.h >>conftest.$ac_ext
23448 cat >>conftest.$ac_ext <<_ACEOF
23449 /* end confdefs.h. */
23450
23451 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23452 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23453 # error "fake wchar_t"
23454 #endif
23455 #ifdef HAVE_WCHAR_H
23456 # ifdef __CYGWIN__
23457 # include <stddef.h>
23458 # endif
23459 # include <wchar.h>
23460 #endif
23461 #ifdef HAVE_STDLIB_H
23462 # include <stdlib.h>
23463 #endif
23464 #include <stdio.h>
23465
23466
23467
23468 int
23469 main ()
23470 {
23471 if ((wchar_t *) 0)
23472 return 0;
23473 if (sizeof (wchar_t))
23474 return 0;
23475 ;
23476 return 0;
23477 }
23478 _ACEOF
23479 rm -f conftest.$ac_objext
23480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23481 (eval $ac_compile) 2>conftest.er1
23482 ac_status=$?
23483 grep -v '^ *+' conftest.er1 >conftest.err
23484 rm -f conftest.er1
23485 cat conftest.err >&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); } &&
23488 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23490 (eval $ac_try) 2>&5
23491 ac_status=$?
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); }; } &&
23494 { ac_try='test -s conftest.$ac_objext'
23495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23496 (eval $ac_try) 2>&5
23497 ac_status=$?
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); }; }; then
23500 ac_cv_type_wchar_t=yes
23501 else
23502 echo "$as_me: failed program was:" >&5
23503 sed 's/^/| /' conftest.$ac_ext >&5
23504
23505 ac_cv_type_wchar_t=no
23506 fi
23507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23508 fi
23509 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
23510 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
23511
23512 echo "$as_me:$LINENO: checking size of wchar_t" >&5
23513 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
23514 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
23515 echo $ECHO_N "(cached) $ECHO_C" >&6
23516 else
23517 if test "$ac_cv_type_wchar_t" = yes; then
23518 # The cast to unsigned long works around a bug in the HP C Compiler
23519 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23520 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23521 # This bug is HP SR number 8606223364.
23522 if test "$cross_compiling" = yes; then
23523 # Depending upon the size, compute the lo and hi bounds.
23524 cat >conftest.$ac_ext <<_ACEOF
23525 /* confdefs.h. */
23526 _ACEOF
23527 cat confdefs.h >>conftest.$ac_ext
23528 cat >>conftest.$ac_ext <<_ACEOF
23529 /* end confdefs.h. */
23530
23531 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23532 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23533 # error "fake wchar_t"
23534 #endif
23535 #ifdef HAVE_WCHAR_H
23536 # ifdef __CYGWIN__
23537 # include <stddef.h>
23538 # endif
23539 # include <wchar.h>
23540 #endif
23541 #ifdef HAVE_STDLIB_H
23542 # include <stdlib.h>
23543 #endif
23544 #include <stdio.h>
23545
23546
23547
23548 int
23549 main ()
23550 {
23551 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
23552 test_array [0] = 0
23553
23554 ;
23555 return 0;
23556 }
23557 _ACEOF
23558 rm -f conftest.$ac_objext
23559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23560 (eval $ac_compile) 2>conftest.er1
23561 ac_status=$?
23562 grep -v '^ *+' conftest.er1 >conftest.err
23563 rm -f conftest.er1
23564 cat conftest.err >&5
23565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23566 (exit $ac_status); } &&
23567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23569 (eval $ac_try) 2>&5
23570 ac_status=$?
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); }; } &&
23573 { ac_try='test -s conftest.$ac_objext'
23574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23575 (eval $ac_try) 2>&5
23576 ac_status=$?
23577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23578 (exit $ac_status); }; }; then
23579 ac_lo=0 ac_mid=0
23580 while :; do
23581 cat >conftest.$ac_ext <<_ACEOF
23582 /* confdefs.h. */
23583 _ACEOF
23584 cat confdefs.h >>conftest.$ac_ext
23585 cat >>conftest.$ac_ext <<_ACEOF
23586 /* end confdefs.h. */
23587
23588 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23589 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23590 # error "fake wchar_t"
23591 #endif
23592 #ifdef HAVE_WCHAR_H
23593 # ifdef __CYGWIN__
23594 # include <stddef.h>
23595 # endif
23596 # include <wchar.h>
23597 #endif
23598 #ifdef HAVE_STDLIB_H
23599 # include <stdlib.h>
23600 #endif
23601 #include <stdio.h>
23602
23603
23604
23605 int
23606 main ()
23607 {
23608 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
23609 test_array [0] = 0
23610
23611 ;
23612 return 0;
23613 }
23614 _ACEOF
23615 rm -f conftest.$ac_objext
23616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23617 (eval $ac_compile) 2>conftest.er1
23618 ac_status=$?
23619 grep -v '^ *+' conftest.er1 >conftest.err
23620 rm -f conftest.er1
23621 cat conftest.err >&5
23622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623 (exit $ac_status); } &&
23624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23626 (eval $ac_try) 2>&5
23627 ac_status=$?
23628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23629 (exit $ac_status); }; } &&
23630 { ac_try='test -s conftest.$ac_objext'
23631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23632 (eval $ac_try) 2>&5
23633 ac_status=$?
23634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23635 (exit $ac_status); }; }; then
23636 ac_hi=$ac_mid; break
23637 else
23638 echo "$as_me: failed program was:" >&5
23639 sed 's/^/| /' conftest.$ac_ext >&5
23640
23641 ac_lo=`expr $ac_mid + 1`
23642 if test $ac_lo -le $ac_mid; then
23643 ac_lo= ac_hi=
23644 break
23645 fi
23646 ac_mid=`expr 2 '*' $ac_mid + 1`
23647 fi
23648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23649 done
23650 else
23651 echo "$as_me: failed program was:" >&5
23652 sed 's/^/| /' conftest.$ac_ext >&5
23653
23654 cat >conftest.$ac_ext <<_ACEOF
23655 /* confdefs.h. */
23656 _ACEOF
23657 cat confdefs.h >>conftest.$ac_ext
23658 cat >>conftest.$ac_ext <<_ACEOF
23659 /* end confdefs.h. */
23660
23661 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23662 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23663 # error "fake wchar_t"
23664 #endif
23665 #ifdef HAVE_WCHAR_H
23666 # ifdef __CYGWIN__
23667 # include <stddef.h>
23668 # endif
23669 # include <wchar.h>
23670 #endif
23671 #ifdef HAVE_STDLIB_H
23672 # include <stdlib.h>
23673 #endif
23674 #include <stdio.h>
23675
23676
23677
23678 int
23679 main ()
23680 {
23681 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
23682 test_array [0] = 0
23683
23684 ;
23685 return 0;
23686 }
23687 _ACEOF
23688 rm -f conftest.$ac_objext
23689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23690 (eval $ac_compile) 2>conftest.er1
23691 ac_status=$?
23692 grep -v '^ *+' conftest.er1 >conftest.err
23693 rm -f conftest.er1
23694 cat conftest.err >&5
23695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23696 (exit $ac_status); } &&
23697 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23699 (eval $ac_try) 2>&5
23700 ac_status=$?
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); }; } &&
23703 { ac_try='test -s conftest.$ac_objext'
23704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23705 (eval $ac_try) 2>&5
23706 ac_status=$?
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); }; }; then
23709 ac_hi=-1 ac_mid=-1
23710 while :; do
23711 cat >conftest.$ac_ext <<_ACEOF
23712 /* confdefs.h. */
23713 _ACEOF
23714 cat confdefs.h >>conftest.$ac_ext
23715 cat >>conftest.$ac_ext <<_ACEOF
23716 /* end confdefs.h. */
23717
23718 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23719 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23720 # error "fake wchar_t"
23721 #endif
23722 #ifdef HAVE_WCHAR_H
23723 # ifdef __CYGWIN__
23724 # include <stddef.h>
23725 # endif
23726 # include <wchar.h>
23727 #endif
23728 #ifdef HAVE_STDLIB_H
23729 # include <stdlib.h>
23730 #endif
23731 #include <stdio.h>
23732
23733
23734
23735 int
23736 main ()
23737 {
23738 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
23739 test_array [0] = 0
23740
23741 ;
23742 return 0;
23743 }
23744 _ACEOF
23745 rm -f conftest.$ac_objext
23746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23747 (eval $ac_compile) 2>conftest.er1
23748 ac_status=$?
23749 grep -v '^ *+' conftest.er1 >conftest.err
23750 rm -f conftest.er1
23751 cat conftest.err >&5
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); } &&
23754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756 (eval $ac_try) 2>&5
23757 ac_status=$?
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); }; } &&
23760 { ac_try='test -s conftest.$ac_objext'
23761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23762 (eval $ac_try) 2>&5
23763 ac_status=$?
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); }; }; then
23766 ac_lo=$ac_mid; break
23767 else
23768 echo "$as_me: failed program was:" >&5
23769 sed 's/^/| /' conftest.$ac_ext >&5
23770
23771 ac_hi=`expr '(' $ac_mid ')' - 1`
23772 if test $ac_mid -le $ac_hi; then
23773 ac_lo= ac_hi=
23774 break
23775 fi
23776 ac_mid=`expr 2 '*' $ac_mid`
23777 fi
23778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23779 done
23780 else
23781 echo "$as_me: failed program was:" >&5
23782 sed 's/^/| /' conftest.$ac_ext >&5
23783
23784 ac_lo= ac_hi=
23785 fi
23786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23787 fi
23788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23789 # Binary search between lo and hi bounds.
23790 while test "x$ac_lo" != "x$ac_hi"; do
23791 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23792 cat >conftest.$ac_ext <<_ACEOF
23793 /* confdefs.h. */
23794 _ACEOF
23795 cat confdefs.h >>conftest.$ac_ext
23796 cat >>conftest.$ac_ext <<_ACEOF
23797 /* end confdefs.h. */
23798
23799 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23800 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23801 # error "fake wchar_t"
23802 #endif
23803 #ifdef HAVE_WCHAR_H
23804 # ifdef __CYGWIN__
23805 # include <stddef.h>
23806 # endif
23807 # include <wchar.h>
23808 #endif
23809 #ifdef HAVE_STDLIB_H
23810 # include <stdlib.h>
23811 #endif
23812 #include <stdio.h>
23813
23814
23815
23816 int
23817 main ()
23818 {
23819 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
23820 test_array [0] = 0
23821
23822 ;
23823 return 0;
23824 }
23825 _ACEOF
23826 rm -f conftest.$ac_objext
23827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23828 (eval $ac_compile) 2>conftest.er1
23829 ac_status=$?
23830 grep -v '^ *+' conftest.er1 >conftest.err
23831 rm -f conftest.er1
23832 cat conftest.err >&5
23833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23834 (exit $ac_status); } &&
23835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23837 (eval $ac_try) 2>&5
23838 ac_status=$?
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); }; } &&
23841 { ac_try='test -s conftest.$ac_objext'
23842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23843 (eval $ac_try) 2>&5
23844 ac_status=$?
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); }; }; then
23847 ac_hi=$ac_mid
23848 else
23849 echo "$as_me: failed program was:" >&5
23850 sed 's/^/| /' conftest.$ac_ext >&5
23851
23852 ac_lo=`expr '(' $ac_mid ')' + 1`
23853 fi
23854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23855 done
23856 case $ac_lo in
23857 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
23858 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
23859 See \`config.log' for more details." >&5
23860 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
23861 See \`config.log' for more details." >&2;}
23862 { (exit 1); exit 1; }; } ;;
23863 esac
23864 else
23865 if test "$cross_compiling" = yes; then
23866 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
23867 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
23868 { (exit 1); exit 1; }; }
23869 else
23870 cat >conftest.$ac_ext <<_ACEOF
23871 /* confdefs.h. */
23872 _ACEOF
23873 cat confdefs.h >>conftest.$ac_ext
23874 cat >>conftest.$ac_ext <<_ACEOF
23875 /* end confdefs.h. */
23876
23877 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
23878 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23879 # error "fake wchar_t"
23880 #endif
23881 #ifdef HAVE_WCHAR_H
23882 # ifdef __CYGWIN__
23883 # include <stddef.h>
23884 # endif
23885 # include <wchar.h>
23886 #endif
23887 #ifdef HAVE_STDLIB_H
23888 # include <stdlib.h>
23889 #endif
23890 #include <stdio.h>
23891
23892
23893
23894 long longval () { return (long) (sizeof (wchar_t)); }
23895 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
23896 #include <stdio.h>
23897 #include <stdlib.h>
23898 int
23899 main ()
23900 {
23901
23902 FILE *f = fopen ("conftest.val", "w");
23903 if (! f)
23904 exit (1);
23905 if (((long) (sizeof (wchar_t))) < 0)
23906 {
23907 long i = longval ();
23908 if (i != ((long) (sizeof (wchar_t))))
23909 exit (1);
23910 fprintf (f, "%ld\n", i);
23911 }
23912 else
23913 {
23914 unsigned long i = ulongval ();
23915 if (i != ((long) (sizeof (wchar_t))))
23916 exit (1);
23917 fprintf (f, "%lu\n", i);
23918 }
23919 exit (ferror (f) || fclose (f) != 0);
23920
23921 ;
23922 return 0;
23923 }
23924 _ACEOF
23925 rm -f conftest$ac_exeext
23926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23927 (eval $ac_link) 2>&5
23928 ac_status=$?
23929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23930 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23932 (eval $ac_try) 2>&5
23933 ac_status=$?
23934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23935 (exit $ac_status); }; }; then
23936 ac_cv_sizeof_wchar_t=`cat conftest.val`
23937 else
23938 echo "$as_me: program exited with status $ac_status" >&5
23939 echo "$as_me: failed program was:" >&5
23940 sed 's/^/| /' conftest.$ac_ext >&5
23941
23942 ( exit $ac_status )
23943 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
23944 See \`config.log' for more details." >&5
23945 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
23946 See \`config.log' for more details." >&2;}
23947 { (exit 1); exit 1; }; }
23948 fi
23949 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23950 fi
23951 fi
23952 rm -f conftest.val
23953 else
23954 ac_cv_sizeof_wchar_t=0
23955 fi
23956 fi
23957 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
23958 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
23959 cat >>confdefs.h <<_ACEOF
23960 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
23961 _ACEOF
23962
23963
23964 if test "$ac_cv_sizeof_wchar_t" != "0"; then
23965 wxUSE_WCHAR_T=yes
23966 else
23967 wxUSE_WCHAR_T=no
23968 fi
23969
23970 echo "$as_me:$LINENO: checking for va_copy" >&5
23971 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
23972 if test "${wx_cv_func_va_copy+set}" = set; then
23973 echo $ECHO_N "(cached) $ECHO_C" >&6
23974 else
23975
23976 ac_ext=cc
23977 ac_cpp='$CXXCPP $CPPFLAGS'
23978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23981
23982 cat >conftest.$ac_ext <<_ACEOF
23983
23984 #include <stdarg.h>
23985 void foo(char *f, ...)
23986 {
23987 va_list ap1, ap2;
23988 va_start(ap1, f);
23989 va_copy(ap2, ap1);
23990 va_end(ap2);
23991 va_end(ap1);
23992 }
23993 int main()
23994 {
23995 foo("hi", 17);
23996 return 0;
23997 }
23998 _ACEOF
23999 rm -f conftest.$ac_objext conftest$ac_exeext
24000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24001 (eval $ac_link) 2>conftest.er1
24002 ac_status=$?
24003 grep -v '^ *+' conftest.er1 >conftest.err
24004 rm -f conftest.er1
24005 cat conftest.err >&5
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } &&
24008 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24010 (eval $ac_try) 2>&5
24011 ac_status=$?
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); }; } &&
24014 { ac_try='test -s conftest$ac_exeext'
24015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24016 (eval $ac_try) 2>&5
24017 ac_status=$?
24018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 (exit $ac_status); }; }; then
24020 wx_cv_func_va_copy=yes
24021 else
24022 echo "$as_me: failed program was:" >&5
24023 sed 's/^/| /' conftest.$ac_ext >&5
24024
24025 wx_cv_func_va_copy=no
24026
24027 fi
24028 rm -f conftest.err conftest.$ac_objext \
24029 conftest$ac_exeext conftest.$ac_ext
24030 ac_ext=c
24031 ac_cpp='$CPP $CPPFLAGS'
24032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24035
24036
24037
24038 fi
24039 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24040 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
24041
24042 if test $wx_cv_func_va_copy = "yes"; then
24043 cat >>confdefs.h <<\_ACEOF
24044 #define HAVE_VA_COPY 1
24045 _ACEOF
24046
24047 else
24048 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24049 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
24050 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24051 echo $ECHO_N "(cached) $ECHO_C" >&6
24052 else
24053
24054 if test "$cross_compiling" = yes; then
24055 wx_cv_type_va_list_lvalue=yes
24056
24057 else
24058 cat >conftest.$ac_ext <<_ACEOF
24059
24060 #include <stdarg.h>
24061 int foo(char *f, ...)
24062 {
24063 va_list ap1, ap2;
24064 va_start(ap1, f);
24065 ap2 = ap1;
24066 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24067 return 1;
24068 va_end(ap2);
24069 va_end(ap1);
24070 return 0;
24071 }
24072 int main()
24073 {
24074 return foo("hi", 17);
24075 }
24076 _ACEOF
24077 rm -f conftest$ac_exeext
24078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24079 (eval $ac_link) 2>&5
24080 ac_status=$?
24081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24082 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24084 (eval $ac_try) 2>&5
24085 ac_status=$?
24086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24087 (exit $ac_status); }; }; then
24088 wx_cv_type_va_list_lvalue=yes
24089 else
24090 echo "$as_me: program exited with status $ac_status" >&5
24091 echo "$as_me: failed program was:" >&5
24092 sed 's/^/| /' conftest.$ac_ext >&5
24093
24094 ( exit $ac_status )
24095 wx_cv_type_va_list_lvalue=no
24096 fi
24097 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24098 fi
24099
24100
24101 fi
24102 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24103 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
24104
24105 if test $wx_cv_type_va_list_lvalue != "yes"; then
24106 cat >>confdefs.h <<\_ACEOF
24107 #define VA_LIST_IS_ARRAY 1
24108 _ACEOF
24109
24110 fi
24111 fi
24112
24113 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24114
24115 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24116 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
24117 if test "${wx_cv_have_variadic_macros+set}" = set; then
24118 echo $ECHO_N "(cached) $ECHO_C" >&6
24119 else
24120
24121 ac_ext=cc
24122 ac_cpp='$CXXCPP $CPPFLAGS'
24123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24126
24127 cat >conftest.$ac_ext <<_ACEOF
24128 /* confdefs.h. */
24129 _ACEOF
24130 cat confdefs.h >>conftest.$ac_ext
24131 cat >>conftest.$ac_ext <<_ACEOF
24132 /* end confdefs.h. */
24133
24134 #include <stdio.h>
24135 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24136
24137 int
24138 main ()
24139 {
24140
24141 test("%s %d %p", "test", 1, 0);
24142
24143
24144 ;
24145 return 0;
24146 }
24147 _ACEOF
24148 rm -f conftest.$ac_objext
24149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24150 (eval $ac_compile) 2>conftest.er1
24151 ac_status=$?
24152 grep -v '^ *+' conftest.er1 >conftest.err
24153 rm -f conftest.er1
24154 cat conftest.err >&5
24155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24156 (exit $ac_status); } &&
24157 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24159 (eval $ac_try) 2>&5
24160 ac_status=$?
24161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162 (exit $ac_status); }; } &&
24163 { ac_try='test -s conftest.$ac_objext'
24164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24165 (eval $ac_try) 2>&5
24166 ac_status=$?
24167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24168 (exit $ac_status); }; }; then
24169 wx_cv_have_variadic_macros=yes
24170 else
24171 echo "$as_me: failed program was:" >&5
24172 sed 's/^/| /' conftest.$ac_ext >&5
24173
24174 wx_cv_have_variadic_macros=no
24175
24176 fi
24177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24178 ac_ext=c
24179 ac_cpp='$CPP $CPPFLAGS'
24180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24183
24184
24185
24186 fi
24187 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24188 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
24189
24190 if test $wx_cv_have_variadic_macros = "yes"; then
24191 cat >>confdefs.h <<\_ACEOF
24192 #define HAVE_VARIADIC_MACROS 1
24193 _ACEOF
24194
24195 fi
24196
24197 fi
24198 # Check whether --enable-largefile or --disable-largefile was given.
24199 if test "${enable_largefile+set}" = set; then
24200 enableval="$enable_largefile"
24201
24202 fi;
24203 if test "$enable_largefile" != no; then
24204 wx_largefile=no
24205
24206 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24207 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
24208 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24209 echo $ECHO_N "(cached) $ECHO_C" >&6
24210 else
24211
24212 cat >conftest.$ac_ext <<_ACEOF
24213 /* confdefs.h. */
24214 _ACEOF
24215 cat confdefs.h >>conftest.$ac_ext
24216 cat >>conftest.$ac_ext <<_ACEOF
24217 /* end confdefs.h. */
24218 #define _FILE_OFFSET_BITS 64
24219 #include <sys/types.h>
24220 int
24221 main ()
24222 {
24223 typedef struct {
24224 unsigned int field: sizeof(off_t) == 8;
24225 } wxlf;
24226
24227 ;
24228 return 0;
24229 }
24230 _ACEOF
24231 rm -f conftest.$ac_objext
24232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24233 (eval $ac_compile) 2>conftest.er1
24234 ac_status=$?
24235 grep -v '^ *+' conftest.er1 >conftest.err
24236 rm -f conftest.er1
24237 cat conftest.err >&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); } &&
24240 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24242 (eval $ac_try) 2>&5
24243 ac_status=$?
24244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24245 (exit $ac_status); }; } &&
24246 { ac_try='test -s conftest.$ac_objext'
24247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24248 (eval $ac_try) 2>&5
24249 ac_status=$?
24250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24251 (exit $ac_status); }; }; then
24252 ac_cv_sys_file_offset_bits=64
24253 else
24254 echo "$as_me: failed program was:" >&5
24255 sed 's/^/| /' conftest.$ac_ext >&5
24256
24257 ac_cv_sys_file_offset_bits=no
24258 fi
24259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24260
24261
24262 fi
24263 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24264 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
24265
24266 if test "$ac_cv_sys_file_offset_bits" != no; then
24267 wx_largefile=yes
24268 cat >>confdefs.h <<_ACEOF
24269 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24270 _ACEOF
24271
24272 fi
24273
24274 if test "x$wx_largefile" != "xyes"; then
24275
24276 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24277 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
24278 if test "${ac_cv_sys_large_files+set}" = set; then
24279 echo $ECHO_N "(cached) $ECHO_C" >&6
24280 else
24281
24282 cat >conftest.$ac_ext <<_ACEOF
24283 /* confdefs.h. */
24284 _ACEOF
24285 cat confdefs.h >>conftest.$ac_ext
24286 cat >>conftest.$ac_ext <<_ACEOF
24287 /* end confdefs.h. */
24288 #define _LARGE_FILES 1
24289 #include <sys/types.h>
24290 int
24291 main ()
24292 {
24293 typedef struct {
24294 unsigned int field: sizeof(off_t) == 8;
24295 } wxlf;
24296
24297 ;
24298 return 0;
24299 }
24300 _ACEOF
24301 rm -f conftest.$ac_objext
24302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24303 (eval $ac_compile) 2>conftest.er1
24304 ac_status=$?
24305 grep -v '^ *+' conftest.er1 >conftest.err
24306 rm -f conftest.er1
24307 cat conftest.err >&5
24308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24309 (exit $ac_status); } &&
24310 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24312 (eval $ac_try) 2>&5
24313 ac_status=$?
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); }; } &&
24316 { ac_try='test -s conftest.$ac_objext'
24317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24318 (eval $ac_try) 2>&5
24319 ac_status=$?
24320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24321 (exit $ac_status); }; }; then
24322 ac_cv_sys_large_files=1
24323 else
24324 echo "$as_me: failed program was:" >&5
24325 sed 's/^/| /' conftest.$ac_ext >&5
24326
24327 ac_cv_sys_large_files=no
24328 fi
24329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24330
24331
24332 fi
24333 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24334 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
24335
24336 if test "$ac_cv_sys_large_files" != no; then
24337 wx_largefile=yes
24338 cat >>confdefs.h <<_ACEOF
24339 #define _LARGE_FILES $ac_cv_sys_large_files
24340 _ACEOF
24341
24342 fi
24343
24344 fi
24345
24346 echo "$as_me:$LINENO: checking if large file support is available" >&5
24347 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
24348 if test "x$wx_largefile" = "xyes"; then
24349 cat >>confdefs.h <<\_ACEOF
24350 #define HAVE_LARGEFILE_SUPPORT 1
24351 _ACEOF
24352
24353 fi
24354 echo "$as_me:$LINENO: result: $wx_largefile" >&5
24355 echo "${ECHO_T}$wx_largefile" >&6
24356 fi
24357
24358
24359 if test "x$wx_largefile" = "xyes"; then
24360 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
24361 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
24362
24363 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24364 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24365 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
24366 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24367 echo $ECHO_N "(cached) $ECHO_C" >&6
24368 else
24369
24370 ac_ext=cc
24371 ac_cpp='$CXXCPP $CPPFLAGS'
24372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24375
24376 cat >conftest.$ac_ext <<_ACEOF
24377 /* confdefs.h. */
24378 _ACEOF
24379 cat confdefs.h >>conftest.$ac_ext
24380 cat >>conftest.$ac_ext <<_ACEOF
24381 /* end confdefs.h. */
24382
24383 int
24384 main ()
24385 {
24386
24387 #ifndef __STDC_EXT__
24388 choke me
24389 #endif
24390
24391 ;
24392 return 0;
24393 }
24394 _ACEOF
24395 rm -f conftest.$ac_objext
24396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24397 (eval $ac_compile) 2>conftest.er1
24398 ac_status=$?
24399 grep -v '^ *+' conftest.er1 >conftest.err
24400 rm -f conftest.er1
24401 cat conftest.err >&5
24402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24403 (exit $ac_status); } &&
24404 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24406 (eval $ac_try) 2>&5
24407 ac_status=$?
24408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24409 (exit $ac_status); }; } &&
24410 { ac_try='test -s conftest.$ac_objext'
24411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24412 (eval $ac_try) 2>&5
24413 ac_status=$?
24414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24415 (exit $ac_status); }; }; then
24416 wx_cv_STDC_EXT_required=no
24417 else
24418 echo "$as_me: failed program was:" >&5
24419 sed 's/^/| /' conftest.$ac_ext >&5
24420
24421 wx_cv_STDC_EXT_required=yes
24422
24423 fi
24424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24425 ac_ext=c
24426 ac_cpp='$CPP $CPPFLAGS'
24427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24430
24431
24432
24433 fi
24434 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24435 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
24436 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24437 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24438 fi
24439 fi
24440 else
24441 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
24442 fi
24443 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24444 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
24445 if test "${ac_cv_sys_largefile_source+set}" = set; then
24446 echo $ECHO_N "(cached) $ECHO_C" >&6
24447 else
24448 while :; do
24449 ac_cv_sys_largefile_source=no
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 <stdio.h>
24457 int
24458 main ()
24459 {
24460 return !fseeko;
24461 ;
24462 return 0;
24463 }
24464 _ACEOF
24465 rm -f conftest.$ac_objext
24466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24467 (eval $ac_compile) 2>conftest.er1
24468 ac_status=$?
24469 grep -v '^ *+' conftest.er1 >conftest.err
24470 rm -f conftest.er1
24471 cat conftest.err >&5
24472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24473 (exit $ac_status); } &&
24474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24476 (eval $ac_try) 2>&5
24477 ac_status=$?
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); }; } &&
24480 { ac_try='test -s conftest.$ac_objext'
24481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24482 (eval $ac_try) 2>&5
24483 ac_status=$?
24484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24485 (exit $ac_status); }; }; then
24486 break
24487 else
24488 echo "$as_me: failed program was:" >&5
24489 sed 's/^/| /' conftest.$ac_ext >&5
24490
24491 fi
24492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24493 cat >conftest.$ac_ext <<_ACEOF
24494 /* confdefs.h. */
24495 _ACEOF
24496 cat confdefs.h >>conftest.$ac_ext
24497 cat >>conftest.$ac_ext <<_ACEOF
24498 /* end confdefs.h. */
24499 #define _LARGEFILE_SOURCE 1
24500 #include <stdio.h>
24501 int
24502 main ()
24503 {
24504 return !fseeko;
24505 ;
24506 return 0;
24507 }
24508 _ACEOF
24509 rm -f conftest.$ac_objext
24510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24511 (eval $ac_compile) 2>conftest.er1
24512 ac_status=$?
24513 grep -v '^ *+' conftest.er1 >conftest.err
24514 rm -f conftest.er1
24515 cat conftest.err >&5
24516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24517 (exit $ac_status); } &&
24518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24520 (eval $ac_try) 2>&5
24521 ac_status=$?
24522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24523 (exit $ac_status); }; } &&
24524 { ac_try='test -s conftest.$ac_objext'
24525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24526 (eval $ac_try) 2>&5
24527 ac_status=$?
24528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24529 (exit $ac_status); }; }; then
24530 ac_cv_sys_largefile_source=1; break
24531 else
24532 echo "$as_me: failed program was:" >&5
24533 sed 's/^/| /' conftest.$ac_ext >&5
24534
24535 fi
24536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24537 break
24538 done
24539 fi
24540 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
24541 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
24542 if test "$ac_cv_sys_largefile_source" != no; then
24543
24544 cat >>confdefs.h <<_ACEOF
24545 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
24546 _ACEOF
24547
24548 fi
24549 rm -f conftest*
24550
24551 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
24552 # in glibc 2.1.3, but that breaks too many other things.
24553 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
24554 echo "$as_me:$LINENO: checking for fseeko" >&5
24555 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
24556 if test "${ac_cv_func_fseeko+set}" = set; then
24557 echo $ECHO_N "(cached) $ECHO_C" >&6
24558 else
24559 cat >conftest.$ac_ext <<_ACEOF
24560 /* confdefs.h. */
24561 _ACEOF
24562 cat confdefs.h >>conftest.$ac_ext
24563 cat >>conftest.$ac_ext <<_ACEOF
24564 /* end confdefs.h. */
24565 #include <stdio.h>
24566 int
24567 main ()
24568 {
24569 return fseeko && fseeko (stdin, 0, 0);
24570 ;
24571 return 0;
24572 }
24573 _ACEOF
24574 rm -f conftest.$ac_objext conftest$ac_exeext
24575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24576 (eval $ac_link) 2>conftest.er1
24577 ac_status=$?
24578 grep -v '^ *+' conftest.er1 >conftest.err
24579 rm -f conftest.er1
24580 cat conftest.err >&5
24581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24582 (exit $ac_status); } &&
24583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24585 (eval $ac_try) 2>&5
24586 ac_status=$?
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); }; } &&
24589 { ac_try='test -s conftest$ac_exeext'
24590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24591 (eval $ac_try) 2>&5
24592 ac_status=$?
24593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24594 (exit $ac_status); }; }; then
24595 ac_cv_func_fseeko=yes
24596 else
24597 echo "$as_me: failed program was:" >&5
24598 sed 's/^/| /' conftest.$ac_ext >&5
24599
24600 ac_cv_func_fseeko=no
24601 fi
24602 rm -f conftest.err conftest.$ac_objext \
24603 conftest$ac_exeext conftest.$ac_ext
24604 fi
24605 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
24606 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
24607 if test $ac_cv_func_fseeko = yes; then
24608
24609 cat >>confdefs.h <<\_ACEOF
24610 #define HAVE_FSEEKO 1
24611 _ACEOF
24612
24613 fi
24614
24615 if test "$ac_cv_sys_largefile_source" != no; then
24616 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
24617 fi
24618 fi
24619
24620 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
24621 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
24622 if test "${ac_cv_c_bigendian+set}" = set; then
24623 echo $ECHO_N "(cached) $ECHO_C" >&6
24624 else
24625 ac_cv_c_bigendian=unknown
24626 # See if sys/param.h defines the BYTE_ORDER macro.
24627 cat >conftest.$ac_ext <<_ACEOF
24628 /* confdefs.h. */
24629 _ACEOF
24630 cat confdefs.h >>conftest.$ac_ext
24631 cat >>conftest.$ac_ext <<_ACEOF
24632 /* end confdefs.h. */
24633 #include <sys/types.h>
24634 #include <sys/param.h>
24635 int
24636 main ()
24637 {
24638
24639 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
24640 bogus endian macros
24641 #endif
24642 ;
24643 return 0;
24644 }
24645 _ACEOF
24646 rm -f conftest.$ac_objext
24647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24648 (eval $ac_compile) 2>conftest.er1
24649 ac_status=$?
24650 grep -v '^ *+' conftest.er1 >conftest.err
24651 rm -f conftest.er1
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } &&
24655 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24657 (eval $ac_try) 2>&5
24658 ac_status=$?
24659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24660 (exit $ac_status); }; } &&
24661 { ac_try='test -s conftest.$ac_objext'
24662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24663 (eval $ac_try) 2>&5
24664 ac_status=$?
24665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24666 (exit $ac_status); }; }; then
24667 # It does; now see whether it defined to BIG_ENDIAN or not.
24668 cat >conftest.$ac_ext <<_ACEOF
24669 /* confdefs.h. */
24670 _ACEOF
24671 cat confdefs.h >>conftest.$ac_ext
24672 cat >>conftest.$ac_ext <<_ACEOF
24673 /* end confdefs.h. */
24674 #include <sys/types.h>
24675 #include <sys/param.h>
24676 int
24677 main ()
24678 {
24679
24680 #if BYTE_ORDER != BIG_ENDIAN
24681 not big endian
24682 #endif
24683 ;
24684 return 0;
24685 }
24686 _ACEOF
24687 rm -f conftest.$ac_objext
24688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24689 (eval $ac_compile) 2>conftest.er1
24690 ac_status=$?
24691 grep -v '^ *+' conftest.er1 >conftest.err
24692 rm -f conftest.er1
24693 cat conftest.err >&5
24694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24695 (exit $ac_status); } &&
24696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
24697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24698 (eval $ac_try) 2>&5
24699 ac_status=$?
24700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701 (exit $ac_status); }; } &&
24702 { ac_try='test -s conftest.$ac_objext'
24703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24704 (eval $ac_try) 2>&5
24705 ac_status=$?
24706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24707 (exit $ac_status); }; }; then
24708 ac_cv_c_bigendian=yes
24709 else
24710 echo "$as_me: failed program was:" >&5
24711 sed 's/^/| /' conftest.$ac_ext >&5
24712
24713 ac_cv_c_bigendian=no
24714 fi
24715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24716 else
24717 echo "$as_me: failed program was:" >&5
24718 sed 's/^/| /' conftest.$ac_ext >&5
24719
24720 fi
24721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24722 if test $ac_cv_c_bigendian = unknown; then
24723 if test "$cross_compiling" = yes; then
24724 ac_cv_c_bigendian=unknown
24725 else
24726 cat >conftest.$ac_ext <<_ACEOF
24727 /* confdefs.h. */
24728 _ACEOF
24729 cat confdefs.h >>conftest.$ac_ext
24730 cat >>conftest.$ac_ext <<_ACEOF
24731 /* end confdefs.h. */
24732 main () {
24733 /* Are we little or big endian? From Harbison&Steele. */
24734 union
24735 {
24736 long l;
24737 char c[sizeof (long)];
24738 } u;
24739 u.l = 1;
24740 exit (u.c[sizeof (long) - 1] == 1);
24741 }
24742 _ACEOF
24743 rm -f conftest$ac_exeext
24744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24745 (eval $ac_link) 2>&5
24746 ac_status=$?
24747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24748 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24750 (eval $ac_try) 2>&5
24751 ac_status=$?
24752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24753 (exit $ac_status); }; }; then
24754 ac_cv_c_bigendian=no
24755 else
24756 echo "$as_me: program exited with status $ac_status" >&5
24757 echo "$as_me: failed program was:" >&5
24758 sed 's/^/| /' conftest.$ac_ext >&5
24759
24760 ( exit $ac_status )
24761 ac_cv_c_bigendian=yes
24762 fi
24763 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24764 fi
24765 fi
24766 fi
24767 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
24768 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
24769 if test $ac_cv_c_bigendian = unknown; then
24770 { 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
24771 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;}
24772 fi
24773 if test $ac_cv_c_bigendian = yes; then
24774 cat >>confdefs.h <<\_ACEOF
24775 #define WORDS_BIGENDIAN 1
24776 _ACEOF
24777
24778 fi
24779
24780
24781
24782
24783
24784 ac_ext=cc
24785 ac_cpp='$CXXCPP $CPPFLAGS'
24786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24789
24790
24791 echo "$as_me:$LINENO: checking for iostream" >&5
24792 echo $ECHO_N "checking for iostream... $ECHO_C" >&6
24793 if test "${ac_cv_header_iostream+set}" = set; then
24794 echo $ECHO_N "(cached) $ECHO_C" >&6
24795 else
24796 cat >conftest.$ac_ext <<_ACEOF
24797 /* confdefs.h. */
24798 _ACEOF
24799 cat confdefs.h >>conftest.$ac_ext
24800 cat >>conftest.$ac_ext <<_ACEOF
24801 /* end confdefs.h. */
24802
24803
24804 #include <iostream>
24805 _ACEOF
24806 rm -f conftest.$ac_objext
24807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24808 (eval $ac_compile) 2>conftest.er1
24809 ac_status=$?
24810 grep -v '^ *+' conftest.er1 >conftest.err
24811 rm -f conftest.er1
24812 cat conftest.err >&5
24813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814 (exit $ac_status); } &&
24815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24817 (eval $ac_try) 2>&5
24818 ac_status=$?
24819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24820 (exit $ac_status); }; } &&
24821 { ac_try='test -s conftest.$ac_objext'
24822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24823 (eval $ac_try) 2>&5
24824 ac_status=$?
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); }; }; then
24827 ac_cv_header_iostream=yes
24828 else
24829 echo "$as_me: failed program was:" >&5
24830 sed 's/^/| /' conftest.$ac_ext >&5
24831
24832 ac_cv_header_iostream=no
24833 fi
24834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24835 fi
24836 echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
24837 echo "${ECHO_T}$ac_cv_header_iostream" >&6
24838
24839
24840
24841 if test "$ac_cv_header_iostream" = "yes" ; then
24842 :
24843 else
24844 cat >>confdefs.h <<\_ACEOF
24845 #define wxUSE_IOSTREAMH 1
24846 _ACEOF
24847
24848 fi
24849
24850 ac_ext=c
24851 ac_cpp='$CPP $CPPFLAGS'
24852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24855
24856
24857
24858
24859 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
24860 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
24861 if test "${wx_cv_cpp_bool+set}" = set; then
24862 echo $ECHO_N "(cached) $ECHO_C" >&6
24863 else
24864
24865
24866
24867 ac_ext=cc
24868 ac_cpp='$CXXCPP $CPPFLAGS'
24869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24872
24873
24874 cat >conftest.$ac_ext <<_ACEOF
24875 /* confdefs.h. */
24876 _ACEOF
24877 cat confdefs.h >>conftest.$ac_ext
24878 cat >>conftest.$ac_ext <<_ACEOF
24879 /* end confdefs.h. */
24880
24881
24882 int
24883 main ()
24884 {
24885
24886 bool b = true;
24887
24888 return 0;
24889
24890 ;
24891 return 0;
24892 }
24893 _ACEOF
24894 rm -f conftest.$ac_objext
24895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24896 (eval $ac_compile) 2>conftest.er1
24897 ac_status=$?
24898 grep -v '^ *+' conftest.er1 >conftest.err
24899 rm -f conftest.er1
24900 cat conftest.err >&5
24901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902 (exit $ac_status); } &&
24903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24906 ac_status=$?
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; } &&
24909 { ac_try='test -s conftest.$ac_objext'
24910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24911 (eval $ac_try) 2>&5
24912 ac_status=$?
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); }; }; then
24915
24916 wx_cv_cpp_bool=yes
24917
24918 else
24919 echo "$as_me: failed program was:" >&5
24920 sed 's/^/| /' conftest.$ac_ext >&5
24921
24922
24923 wx_cv_cpp_bool=no
24924
24925
24926 fi
24927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24928
24929 ac_ext=c
24930 ac_cpp='$CPP $CPPFLAGS'
24931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24934
24935
24936 fi
24937 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
24938 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
24939
24940 if test "$wx_cv_cpp_bool" = "yes"; then
24941 cat >>confdefs.h <<\_ACEOF
24942 #define HAVE_BOOL 1
24943 _ACEOF
24944
24945 fi
24946
24947
24948
24949 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
24950 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
24951 if test "${wx_cv_explicit+set}" = set; then
24952 echo $ECHO_N "(cached) $ECHO_C" >&6
24953 else
24954
24955
24956
24957 ac_ext=cc
24958 ac_cpp='$CXXCPP $CPPFLAGS'
24959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24962
24963
24964 cat >conftest.$ac_ext <<_ACEOF
24965 /* confdefs.h. */
24966 _ACEOF
24967 cat confdefs.h >>conftest.$ac_ext
24968 cat >>conftest.$ac_ext <<_ACEOF
24969 /* end confdefs.h. */
24970
24971 class Foo { public: explicit Foo(int) {} };
24972
24973 int
24974 main ()
24975 {
24976
24977 return 0;
24978
24979 ;
24980 return 0;
24981 }
24982 _ACEOF
24983 rm -f conftest.$ac_objext
24984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24985 (eval $ac_compile) 2>conftest.er1
24986 ac_status=$?
24987 grep -v '^ *+' conftest.er1 >conftest.err
24988 rm -f conftest.er1
24989 cat conftest.err >&5
24990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24991 (exit $ac_status); } &&
24992 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24994 (eval $ac_try) 2>&5
24995 ac_status=$?
24996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24997 (exit $ac_status); }; } &&
24998 { ac_try='test -s conftest.$ac_objext'
24999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25000 (eval $ac_try) 2>&5
25001 ac_status=$?
25002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25003 (exit $ac_status); }; }; then
25004
25005 cat >conftest.$ac_ext <<_ACEOF
25006 /* confdefs.h. */
25007 _ACEOF
25008 cat confdefs.h >>conftest.$ac_ext
25009 cat >>conftest.$ac_ext <<_ACEOF
25010 /* end confdefs.h. */
25011
25012 class Foo { public: explicit Foo(int) {} };
25013 static void TakeFoo(const Foo& foo) { }
25014
25015 int
25016 main ()
25017 {
25018
25019 TakeFoo(17);
25020 return 0;
25021
25022 ;
25023 return 0;
25024 }
25025 _ACEOF
25026 rm -f conftest.$ac_objext
25027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25028 (eval $ac_compile) 2>conftest.er1
25029 ac_status=$?
25030 grep -v '^ *+' conftest.er1 >conftest.err
25031 rm -f conftest.er1
25032 cat conftest.err >&5
25033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25034 (exit $ac_status); } &&
25035 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25037 (eval $ac_try) 2>&5
25038 ac_status=$?
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); }; } &&
25041 { ac_try='test -s conftest.$ac_objext'
25042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25043 (eval $ac_try) 2>&5
25044 ac_status=$?
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); }; }; then
25047 wx_cv_explicit=no
25048 else
25049 echo "$as_me: failed program was:" >&5
25050 sed 's/^/| /' conftest.$ac_ext >&5
25051
25052 wx_cv_explicit=yes
25053
25054 fi
25055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25056
25057 else
25058 echo "$as_me: failed program was:" >&5
25059 sed 's/^/| /' conftest.$ac_ext >&5
25060
25061 wx_cv_explicit=no
25062
25063 fi
25064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25065
25066 ac_ext=c
25067 ac_cpp='$CPP $CPPFLAGS'
25068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25071
25072
25073 fi
25074 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25075 echo "${ECHO_T}$wx_cv_explicit" >&6
25076
25077 if test "$wx_cv_explicit" = "yes"; then
25078 cat >>confdefs.h <<\_ACEOF
25079 #define HAVE_EXPLICIT 1
25080 _ACEOF
25081
25082 fi
25083
25084
25085 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
25086 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
25087 if test "${ac_cv_cxx_const_cast+set}" = set; then
25088 echo $ECHO_N "(cached) $ECHO_C" >&6
25089 else
25090
25091
25092 ac_ext=cc
25093 ac_cpp='$CXXCPP $CPPFLAGS'
25094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25097
25098 cat >conftest.$ac_ext <<_ACEOF
25099 /* confdefs.h. */
25100 _ACEOF
25101 cat confdefs.h >>conftest.$ac_ext
25102 cat >>conftest.$ac_ext <<_ACEOF
25103 /* end confdefs.h. */
25104
25105 int
25106 main ()
25107 {
25108 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
25109 ;
25110 return 0;
25111 }
25112 _ACEOF
25113 rm -f conftest.$ac_objext
25114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25115 (eval $ac_compile) 2>conftest.er1
25116 ac_status=$?
25117 grep -v '^ *+' conftest.er1 >conftest.err
25118 rm -f conftest.er1
25119 cat conftest.err >&5
25120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25121 (exit $ac_status); } &&
25122 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25124 (eval $ac_try) 2>&5
25125 ac_status=$?
25126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25127 (exit $ac_status); }; } &&
25128 { ac_try='test -s conftest.$ac_objext'
25129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25130 (eval $ac_try) 2>&5
25131 ac_status=$?
25132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25133 (exit $ac_status); }; }; then
25134 ac_cv_cxx_const_cast=yes
25135 else
25136 echo "$as_me: failed program was:" >&5
25137 sed 's/^/| /' conftest.$ac_ext >&5
25138
25139 ac_cv_cxx_const_cast=no
25140 fi
25141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25142 ac_ext=c
25143 ac_cpp='$CPP $CPPFLAGS'
25144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25147
25148
25149 fi
25150 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
25151 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
25152 if test "$ac_cv_cxx_const_cast" = yes; then
25153
25154 cat >>confdefs.h <<\_ACEOF
25155 #define HAVE_CONST_CAST
25156 _ACEOF
25157
25158 fi
25159
25160 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
25161 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
25162 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
25163 echo $ECHO_N "(cached) $ECHO_C" >&6
25164 else
25165
25166
25167 ac_ext=cc
25168 ac_cpp='$CXXCPP $CPPFLAGS'
25169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25172
25173 cat >conftest.$ac_ext <<_ACEOF
25174 /* confdefs.h. */
25175 _ACEOF
25176 cat confdefs.h >>conftest.$ac_ext
25177 cat >>conftest.$ac_ext <<_ACEOF
25178 /* end confdefs.h. */
25179 #include <typeinfo>
25180 class Base { public : Base () {} virtual void f () = 0;};
25181 class Derived : public Base { public : Derived () {} virtual void f () {} };
25182 class Unrelated { public : Unrelated () {} };
25183 int g (Unrelated&) { return 0; }
25184 int
25185 main ()
25186 {
25187
25188 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
25189 ;
25190 return 0;
25191 }
25192 _ACEOF
25193 rm -f conftest.$ac_objext
25194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25195 (eval $ac_compile) 2>conftest.er1
25196 ac_status=$?
25197 grep -v '^ *+' conftest.er1 >conftest.err
25198 rm -f conftest.er1
25199 cat conftest.err >&5
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); } &&
25202 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25204 (eval $ac_try) 2>&5
25205 ac_status=$?
25206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25207 (exit $ac_status); }; } &&
25208 { ac_try='test -s conftest.$ac_objext'
25209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25210 (eval $ac_try) 2>&5
25211 ac_status=$?
25212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213 (exit $ac_status); }; }; then
25214 ac_cv_cxx_reinterpret_cast=yes
25215 else
25216 echo "$as_me: failed program was:" >&5
25217 sed 's/^/| /' conftest.$ac_ext >&5
25218
25219 ac_cv_cxx_reinterpret_cast=no
25220 fi
25221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25222 ac_ext=c
25223 ac_cpp='$CPP $CPPFLAGS'
25224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25227
25228
25229 fi
25230 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
25231 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
25232 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
25233
25234 cat >>confdefs.h <<\_ACEOF
25235 #define HAVE_REINTERPRET_CAST
25236 _ACEOF
25237
25238 fi
25239
25240 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
25241 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
25242 if test "${ac_cv_cxx_static_cast+set}" = set; then
25243 echo $ECHO_N "(cached) $ECHO_C" >&6
25244 else
25245
25246
25247 ac_ext=cc
25248 ac_cpp='$CXXCPP $CPPFLAGS'
25249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25252
25253 cat >conftest.$ac_ext <<_ACEOF
25254 /* confdefs.h. */
25255 _ACEOF
25256 cat confdefs.h >>conftest.$ac_ext
25257 cat >>conftest.$ac_ext <<_ACEOF
25258 /* end confdefs.h. */
25259 #include <typeinfo>
25260 class Base { public : Base () {} virtual void f () = 0; };
25261 class Derived : public Base { public : Derived () {} virtual void f () {} };
25262 int g (Derived&) { return 0; }
25263 int
25264 main ()
25265 {
25266
25267 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
25268 ;
25269 return 0;
25270 }
25271 _ACEOF
25272 rm -f conftest.$ac_objext
25273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25274 (eval $ac_compile) 2>conftest.er1
25275 ac_status=$?
25276 grep -v '^ *+' conftest.er1 >conftest.err
25277 rm -f conftest.er1
25278 cat conftest.err >&5
25279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25280 (exit $ac_status); } &&
25281 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25283 (eval $ac_try) 2>&5
25284 ac_status=$?
25285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25286 (exit $ac_status); }; } &&
25287 { ac_try='test -s conftest.$ac_objext'
25288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25289 (eval $ac_try) 2>&5
25290 ac_status=$?
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); }; }; then
25293 ac_cv_cxx_static_cast=yes
25294 else
25295 echo "$as_me: failed program was:" >&5
25296 sed 's/^/| /' conftest.$ac_ext >&5
25297
25298 ac_cv_cxx_static_cast=no
25299 fi
25300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25301 ac_ext=c
25302 ac_cpp='$CPP $CPPFLAGS'
25303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25306
25307
25308 fi
25309 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
25310 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
25311 if test "$ac_cv_cxx_static_cast" = yes; then
25312
25313 cat >>confdefs.h <<\_ACEOF
25314 #define HAVE_STATIC_CAST
25315 _ACEOF
25316
25317 fi
25318
25319
25320 if test "x$SUNCXX" = xyes; then
25321 CXXFLAGS="-features=tmplife $CXXFLAGS"
25322 fi
25323
25324 if test "x$SUNCC" = xyes; then
25325 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25326 fi
25327
25328 if test "x$SGICC" = "xyes"; then
25329 CFLAGS="-woff 3970 $CFLAGS"
25330 fi
25331 if test "x$SGICXX" = "xyes"; then
25332 CXXFLAGS="-woff 3970 $CXXFLAGS"
25333 fi
25334
25335 if test "x$HPCC" = "xyes"; then
25336 CFLAGS="+W 2011,2450 $CFLAGS"
25337 fi
25338 if test "x$HPCXX" = "xyes"; then
25339 CXXFLAGS="+W 2340 $CXXFLAGS"
25340 fi
25341
25342 if test "x$COMPAQCXX" = "xyes"; then
25343 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25344 fi
25345
25346 ac_ext=cc
25347 ac_cpp='$CXXCPP $CPPFLAGS'
25348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25351
25352
25353 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25354 if test "$wxUSE_UNICODE" = "yes"; then
25355 std_string="std::wstring"
25356 char_type="wchar_t"
25357 else
25358 std_string="std::string"
25359 char_type="char"
25360 fi
25361
25362 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25363 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
25364 if test "${wx_cv_class_stdstring+set}" = set; then
25365 echo $ECHO_N "(cached) $ECHO_C" >&6
25366 else
25367
25368 cat >conftest.$ac_ext <<_ACEOF
25369 /* confdefs.h. */
25370 _ACEOF
25371 cat confdefs.h >>conftest.$ac_ext
25372 cat >>conftest.$ac_ext <<_ACEOF
25373 /* end confdefs.h. */
25374 #include <string>
25375 int
25376 main ()
25377 {
25378 $std_string foo;
25379 ;
25380 return 0;
25381 }
25382 _ACEOF
25383 rm -f conftest.$ac_objext
25384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25385 (eval $ac_compile) 2>conftest.er1
25386 ac_status=$?
25387 grep -v '^ *+' conftest.er1 >conftest.err
25388 rm -f conftest.er1
25389 cat conftest.err >&5
25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 (exit $ac_status); } &&
25392 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25394 (eval $ac_try) 2>&5
25395 ac_status=$?
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); }; } &&
25398 { ac_try='test -s conftest.$ac_objext'
25399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25400 (eval $ac_try) 2>&5
25401 ac_status=$?
25402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25403 (exit $ac_status); }; }; then
25404 wx_cv_class_stdstring=yes
25405 else
25406 echo "$as_me: failed program was:" >&5
25407 sed 's/^/| /' conftest.$ac_ext >&5
25408
25409 wx_cv_class_stdstring=no
25410
25411 fi
25412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25413
25414
25415 fi
25416 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25417 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
25418
25419 if test "$wx_cv_class_stdstring" = yes; then
25420 if test "$wxUSE_UNICODE" = "yes"; then
25421 cat >>confdefs.h <<\_ACEOF
25422 #define HAVE_STD_WSTRING 1
25423 _ACEOF
25424
25425 fi
25426 else
25427 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25428 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
25429 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25430 echo $ECHO_N "(cached) $ECHO_C" >&6
25431 else
25432
25433 cat >conftest.$ac_ext <<_ACEOF
25434 /* confdefs.h. */
25435 _ACEOF
25436 cat confdefs.h >>conftest.$ac_ext
25437 cat >>conftest.$ac_ext <<_ACEOF
25438 /* end confdefs.h. */
25439
25440 #ifdef HAVE_WCHAR_H
25441 # ifdef __CYGWIN__
25442 # include <stddef.h>
25443 # endif
25444 # include <wchar.h>
25445 #endif
25446 #ifdef HAVE_STDLIB_H
25447 # include <stdlib.h>
25448 #endif
25449 #include <stdio.h>
25450 #include <string>
25451
25452 int
25453 main ()
25454 {
25455 std::basic_string<$char_type> foo;
25456 const $char_type* dummy = foo.c_str();
25457 ;
25458 return 0;
25459 }
25460 _ACEOF
25461 rm -f conftest.$ac_objext
25462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25463 (eval $ac_compile) 2>conftest.er1
25464 ac_status=$?
25465 grep -v '^ *+' conftest.er1 >conftest.err
25466 rm -f conftest.er1
25467 cat conftest.err >&5
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); } &&
25470 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25472 (eval $ac_try) 2>&5
25473 ac_status=$?
25474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25475 (exit $ac_status); }; } &&
25476 { ac_try='test -s conftest.$ac_objext'
25477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25478 (eval $ac_try) 2>&5
25479 ac_status=$?
25480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25481 (exit $ac_status); }; }; then
25482 wx_cv_class_stdbasicstring=yes
25483 else
25484 echo "$as_me: failed program was:" >&5
25485 sed 's/^/| /' conftest.$ac_ext >&5
25486
25487 wx_cv_class_stdbasicstring=no
25488
25489 fi
25490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25491
25492
25493 fi
25494 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25495 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
25496
25497 if test "$wx_cv_class_stdbasicstring" != yes; then
25498 if test "$wxUSE_STL" = "yes"; then
25499 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25500 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25501 { (exit 1); exit 1; }; }
25502 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
25503 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25504 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25505 { (exit 1); exit 1; }; }
25506 else
25507 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25508 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25509 wxUSE_STD_STRING=no
25510 fi
25511 fi
25512 fi
25513 fi
25514
25515 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25516 echo "$as_me:$LINENO: checking for std::istream" >&5
25517 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
25518 if test "${ac_cv_type_std__istream+set}" = set; then
25519 echo $ECHO_N "(cached) $ECHO_C" >&6
25520 else
25521 cat >conftest.$ac_ext <<_ACEOF
25522 /* confdefs.h. */
25523 _ACEOF
25524 cat confdefs.h >>conftest.$ac_ext
25525 cat >>conftest.$ac_ext <<_ACEOF
25526 /* end confdefs.h. */
25527 #include <iostream>
25528
25529 int
25530 main ()
25531 {
25532 if ((std::istream *) 0)
25533 return 0;
25534 if (sizeof (std::istream))
25535 return 0;
25536 ;
25537 return 0;
25538 }
25539 _ACEOF
25540 rm -f conftest.$ac_objext
25541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25542 (eval $ac_compile) 2>conftest.er1
25543 ac_status=$?
25544 grep -v '^ *+' conftest.er1 >conftest.err
25545 rm -f conftest.er1
25546 cat conftest.err >&5
25547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25548 (exit $ac_status); } &&
25549 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25551 (eval $ac_try) 2>&5
25552 ac_status=$?
25553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25554 (exit $ac_status); }; } &&
25555 { ac_try='test -s conftest.$ac_objext'
25556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25557 (eval $ac_try) 2>&5
25558 ac_status=$?
25559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25560 (exit $ac_status); }; }; then
25561 ac_cv_type_std__istream=yes
25562 else
25563 echo "$as_me: failed program was:" >&5
25564 sed 's/^/| /' conftest.$ac_ext >&5
25565
25566 ac_cv_type_std__istream=no
25567 fi
25568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25569 fi
25570 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25571 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
25572 if test $ac_cv_type_std__istream = yes; then
25573
25574 cat >>confdefs.h <<_ACEOF
25575 #define HAVE_STD__ISTREAM 1
25576 _ACEOF
25577
25578
25579 else
25580 wxUSE_STD_IOSTREAM=no
25581 fi
25582 echo "$as_me:$LINENO: checking for std::ostream" >&5
25583 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
25584 if test "${ac_cv_type_std__ostream+set}" = set; then
25585 echo $ECHO_N "(cached) $ECHO_C" >&6
25586 else
25587 cat >conftest.$ac_ext <<_ACEOF
25588 /* confdefs.h. */
25589 _ACEOF
25590 cat confdefs.h >>conftest.$ac_ext
25591 cat >>conftest.$ac_ext <<_ACEOF
25592 /* end confdefs.h. */
25593 #include <iostream>
25594
25595 int
25596 main ()
25597 {
25598 if ((std::ostream *) 0)
25599 return 0;
25600 if (sizeof (std::ostream))
25601 return 0;
25602 ;
25603 return 0;
25604 }
25605 _ACEOF
25606 rm -f conftest.$ac_objext
25607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25608 (eval $ac_compile) 2>conftest.er1
25609 ac_status=$?
25610 grep -v '^ *+' conftest.er1 >conftest.err
25611 rm -f conftest.er1
25612 cat conftest.err >&5
25613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25614 (exit $ac_status); } &&
25615 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25617 (eval $ac_try) 2>&5
25618 ac_status=$?
25619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25620 (exit $ac_status); }; } &&
25621 { ac_try='test -s conftest.$ac_objext'
25622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25623 (eval $ac_try) 2>&5
25624 ac_status=$?
25625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25626 (exit $ac_status); }; }; then
25627 ac_cv_type_std__ostream=yes
25628 else
25629 echo "$as_me: failed program was:" >&5
25630 sed 's/^/| /' conftest.$ac_ext >&5
25631
25632 ac_cv_type_std__ostream=no
25633 fi
25634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25635 fi
25636 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25637 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
25638 if test $ac_cv_type_std__ostream = yes; then
25639
25640 cat >>confdefs.h <<_ACEOF
25641 #define HAVE_STD__OSTREAM 1
25642 _ACEOF
25643
25644
25645 else
25646 wxUSE_STD_IOSTREAM=no
25647 fi
25648
25649
25650 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25651 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
25652 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
25653 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25654 { (exit 1); exit 1; }; }
25655 else
25656 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25657 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25658 fi
25659 fi
25660 fi
25661
25662 if test "$wxUSE_STL" = "yes"; then
25663 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25664 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
25665 if test "${wx_cv_lib_stl+set}" = set; then
25666 echo $ECHO_N "(cached) $ECHO_C" >&6
25667 else
25668 cat >conftest.$ac_ext <<_ACEOF
25669 /* confdefs.h. */
25670 _ACEOF
25671 cat confdefs.h >>conftest.$ac_ext
25672 cat >>conftest.$ac_ext <<_ACEOF
25673 /* end confdefs.h. */
25674 #include <string>
25675 #include <functional>
25676 #include <algorithm>
25677 #include <vector>
25678 #include <list>
25679 int
25680 main ()
25681 {
25682 std::vector<int> moo;
25683 std::list<int> foo;
25684 std::vector<int>::iterator it =
25685 std::find_if(moo.begin(), moo.end(),
25686 std::bind2nd(std::less<int>(), 3));
25687 ;
25688 return 0;
25689 }
25690 _ACEOF
25691 rm -f conftest.$ac_objext
25692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25693 (eval $ac_compile) 2>conftest.er1
25694 ac_status=$?
25695 grep -v '^ *+' conftest.er1 >conftest.err
25696 rm -f conftest.er1
25697 cat conftest.err >&5
25698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699 (exit $ac_status); } &&
25700 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25702 (eval $ac_try) 2>&5
25703 ac_status=$?
25704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25705 (exit $ac_status); }; } &&
25706 { ac_try='test -s conftest.$ac_objext'
25707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25708 (eval $ac_try) 2>&5
25709 ac_status=$?
25710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25711 (exit $ac_status); }; }; then
25712 wx_cv_lib_stl=yes
25713 else
25714 echo "$as_me: failed program was:" >&5
25715 sed 's/^/| /' conftest.$ac_ext >&5
25716
25717 wx_cv_lib_stl=no
25718
25719 fi
25720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25721
25722 fi
25723 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
25724 echo "${ECHO_T}$wx_cv_lib_stl" >&6
25725
25726 if test "$wx_cv_lib_stl" != yes; then
25727 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
25728 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
25729 { (exit 1); exit 1; }; }
25730 fi
25731
25732 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
25733 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
25734 if test "${wx_cv_func_stdstring_compare+set}" = set; then
25735 echo $ECHO_N "(cached) $ECHO_C" >&6
25736 else
25737 cat >conftest.$ac_ext <<_ACEOF
25738 /* confdefs.h. */
25739 _ACEOF
25740 cat confdefs.h >>conftest.$ac_ext
25741 cat >>conftest.$ac_ext <<_ACEOF
25742 /* end confdefs.h. */
25743 #include <string>
25744 int
25745 main ()
25746 {
25747 std::string foo, bar;
25748 foo.compare(bar);
25749 foo.compare(1, 1, bar);
25750 foo.compare(1, 1, bar, 1, 1);
25751 foo.compare("");
25752 foo.compare(1, 1, "");
25753 foo.compare(1, 1, "", 2);
25754 ;
25755 return 0;
25756 }
25757 _ACEOF
25758 rm -f conftest.$ac_objext
25759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25760 (eval $ac_compile) 2>conftest.er1
25761 ac_status=$?
25762 grep -v '^ *+' conftest.er1 >conftest.err
25763 rm -f conftest.er1
25764 cat conftest.err >&5
25765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25766 (exit $ac_status); } &&
25767 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25769 (eval $ac_try) 2>&5
25770 ac_status=$?
25771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25772 (exit $ac_status); }; } &&
25773 { ac_try='test -s conftest.$ac_objext'
25774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25775 (eval $ac_try) 2>&5
25776 ac_status=$?
25777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25778 (exit $ac_status); }; }; then
25779 wx_cv_func_stdstring_compare=yes
25780 else
25781 echo "$as_me: failed program was:" >&5
25782 sed 's/^/| /' conftest.$ac_ext >&5
25783
25784 wx_cv_func_stdstring_compare=no
25785
25786 fi
25787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25788
25789 fi
25790 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
25791 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
25792
25793 if test "$wx_cv_func_stdstring_compare" = yes; then
25794 cat >>confdefs.h <<\_ACEOF
25795 #define HAVE_STD_STRING_COMPARE 1
25796 _ACEOF
25797
25798 fi
25799
25800 echo "$as_me:$LINENO: checking for hash_map" >&5
25801 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
25802 if test "${ac_cv_header_hash_map+set}" = set; then
25803 echo $ECHO_N "(cached) $ECHO_C" >&6
25804 else
25805 cat >conftest.$ac_ext <<_ACEOF
25806 /* confdefs.h. */
25807 _ACEOF
25808 cat confdefs.h >>conftest.$ac_ext
25809 cat >>conftest.$ac_ext <<_ACEOF
25810 /* end confdefs.h. */
25811
25812
25813
25814 #include <hash_map>
25815 _ACEOF
25816 rm -f conftest.$ac_objext
25817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25818 (eval $ac_compile) 2>conftest.er1
25819 ac_status=$?
25820 grep -v '^ *+' conftest.er1 >conftest.err
25821 rm -f conftest.er1
25822 cat conftest.err >&5
25823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25824 (exit $ac_status); } &&
25825 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25827 (eval $ac_try) 2>&5
25828 ac_status=$?
25829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25830 (exit $ac_status); }; } &&
25831 { ac_try='test -s conftest.$ac_objext'
25832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25833 (eval $ac_try) 2>&5
25834 ac_status=$?
25835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25836 (exit $ac_status); }; }; then
25837 ac_cv_header_hash_map=yes
25838 else
25839 echo "$as_me: failed program was:" >&5
25840 sed 's/^/| /' conftest.$ac_ext >&5
25841
25842 ac_cv_header_hash_map=no
25843 fi
25844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25845 fi
25846 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
25847 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
25848 if test $ac_cv_header_hash_map = yes; then
25849 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
25850 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
25851 if test "${wx_cv_class_stdhashmapset+set}" = set; then
25852 echo $ECHO_N "(cached) $ECHO_C" >&6
25853 else
25854 cat >conftest.$ac_ext <<_ACEOF
25855 /* confdefs.h. */
25856 _ACEOF
25857 cat confdefs.h >>conftest.$ac_ext
25858 cat >>conftest.$ac_ext <<_ACEOF
25859 /* end confdefs.h. */
25860 #include <hash_map>
25861 #include <hash_set>
25862 int
25863 main ()
25864 {
25865 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25866 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25867 ;
25868 return 0;
25869 }
25870 _ACEOF
25871 rm -f conftest.$ac_objext
25872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25873 (eval $ac_compile) 2>conftest.er1
25874 ac_status=$?
25875 grep -v '^ *+' conftest.er1 >conftest.err
25876 rm -f conftest.er1
25877 cat conftest.err >&5
25878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25879 (exit $ac_status); } &&
25880 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25882 (eval $ac_try) 2>&5
25883 ac_status=$?
25884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25885 (exit $ac_status); }; } &&
25886 { ac_try='test -s conftest.$ac_objext'
25887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25888 (eval $ac_try) 2>&5
25889 ac_status=$?
25890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25891 (exit $ac_status); }; }; then
25892 wx_cv_class_stdhashmapset=yes
25893 else
25894 echo "$as_me: failed program was:" >&5
25895 sed 's/^/| /' conftest.$ac_ext >&5
25896
25897 wx_cv_class_stdhashmapset=no
25898 fi
25899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25900
25901
25902 fi
25903 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25904 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
25905 fi
25906
25907
25908
25909 if test "$wx_cv_class_stdhashmapset" = yes; then
25910 cat >>confdefs.h <<\_ACEOF
25911 #define HAVE_HASH_MAP 1
25912 _ACEOF
25913
25914 cat >>confdefs.h <<\_ACEOF
25915 #define HAVE_STD_HASH_MAP 1
25916 _ACEOF
25917
25918 fi
25919
25920 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25921 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
25922 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25923 echo $ECHO_N "(cached) $ECHO_C" >&6
25924 else
25925 cat >conftest.$ac_ext <<_ACEOF
25926 /* confdefs.h. */
25927 _ACEOF
25928 cat confdefs.h >>conftest.$ac_ext
25929 cat >>conftest.$ac_ext <<_ACEOF
25930 /* end confdefs.h. */
25931
25932
25933
25934 #include <ext/hash_map>
25935 _ACEOF
25936 rm -f conftest.$ac_objext
25937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25938 (eval $ac_compile) 2>conftest.er1
25939 ac_status=$?
25940 grep -v '^ *+' conftest.er1 >conftest.err
25941 rm -f conftest.er1
25942 cat conftest.err >&5
25943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25944 (exit $ac_status); } &&
25945 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25947 (eval $ac_try) 2>&5
25948 ac_status=$?
25949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25950 (exit $ac_status); }; } &&
25951 { ac_try='test -s conftest.$ac_objext'
25952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25953 (eval $ac_try) 2>&5
25954 ac_status=$?
25955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956 (exit $ac_status); }; }; then
25957 ac_cv_header_ext_hash_map=yes
25958 else
25959 echo "$as_me: failed program was:" >&5
25960 sed 's/^/| /' conftest.$ac_ext >&5
25961
25962 ac_cv_header_ext_hash_map=no
25963 fi
25964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25965 fi
25966 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25967 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
25968 if test $ac_cv_header_ext_hash_map = yes; then
25969 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25970 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
25971 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25972 echo $ECHO_N "(cached) $ECHO_C" >&6
25973 else
25974 cat >conftest.$ac_ext <<_ACEOF
25975 /* confdefs.h. */
25976 _ACEOF
25977 cat confdefs.h >>conftest.$ac_ext
25978 cat >>conftest.$ac_ext <<_ACEOF
25979 /* end confdefs.h. */
25980 #include <ext/hash_map>
25981 #include <ext/hash_set>
25982 int
25983 main ()
25984 {
25985 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25986 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25987 ;
25988 return 0;
25989 }
25990 _ACEOF
25991 rm -f conftest.$ac_objext
25992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25993 (eval $ac_compile) 2>conftest.er1
25994 ac_status=$?
25995 grep -v '^ *+' conftest.er1 >conftest.err
25996 rm -f conftest.er1
25997 cat conftest.err >&5
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); } &&
26000 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26002 (eval $ac_try) 2>&5
26003 ac_status=$?
26004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26005 (exit $ac_status); }; } &&
26006 { ac_try='test -s conftest.$ac_objext'
26007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26008 (eval $ac_try) 2>&5
26009 ac_status=$?
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); }; }; then
26012 wx_cv_class_gnuhashmapset=yes
26013 else
26014 echo "$as_me: failed program was:" >&5
26015 sed 's/^/| /' conftest.$ac_ext >&5
26016
26017 wx_cv_class_gnuhashmapset=no
26018 fi
26019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26020
26021
26022 fi
26023 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26024 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
26025 fi
26026
26027
26028
26029 if test "$wx_cv_class_gnuhashmapset" = yes; then
26030 cat >>confdefs.h <<\_ACEOF
26031 #define HAVE_EXT_HASH_MAP 1
26032 _ACEOF
26033
26034 cat >>confdefs.h <<\_ACEOF
26035 #define HAVE_GNU_CXX_HASH_MAP 1
26036 _ACEOF
26037
26038 fi
26039 fi
26040
26041 ac_ext=c
26042 ac_cpp='$CPP $CPPFLAGS'
26043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26046
26047
26048
26049 SEARCH_INCLUDE="\
26050 /usr/local/include \
26051 \
26052 /usr/Motif-2.1/include \
26053 /usr/Motif-1.2/include \
26054 /usr/include/Motif1.2 \
26055 \
26056 /usr/dt/include \
26057 /usr/openwin/include \
26058 \
26059 /usr/include/Xm \
26060 \
26061 /usr/X11R6/include \
26062 /usr/X11R6.4/include \
26063 /usr/X11R5/include \
26064 /usr/X11R4/include \
26065 \
26066 /usr/include/X11R6 \
26067 /usr/include/X11R5 \
26068 /usr/include/X11R4 \
26069 \
26070 /usr/local/X11R6/include \
26071 /usr/local/X11R5/include \
26072 /usr/local/X11R4/include \
26073 \
26074 /usr/local/include/X11R6 \
26075 /usr/local/include/X11R5 \
26076 /usr/local/include/X11R4 \
26077 \
26078 /usr/X11/include \
26079 /usr/include/X11 \
26080 /usr/local/X11/include \
26081 /usr/local/include/X11 \
26082 \
26083 /usr/XFree86/include/X11 \
26084 /usr/pkg/include \
26085 \
26086 /usr/openwin/share/include"
26087
26088 echo "$as_me:$LINENO: checking for libraries directory" >&5
26089 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
26090
26091 case "${host}" in
26092 *-*-irix6* )
26093 if test "${wx_cv_std_libpath+set}" = set; then
26094 echo $ECHO_N "(cached) $ECHO_C" >&6
26095 else
26096
26097 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26098 for e in a so sl dylib dll.a; do
26099 libc="$d/libc.$e"
26100 if test -f $libc; then
26101 save_LIBS="$LIBS"
26102 LIBS="$libc"
26103 cat >conftest.$ac_ext <<_ACEOF
26104 int main() { return 0; }
26105 _ACEOF
26106 rm -f conftest.$ac_objext conftest$ac_exeext
26107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26108 (eval $ac_link) 2>conftest.er1
26109 ac_status=$?
26110 grep -v '^ *+' conftest.er1 >conftest.err
26111 rm -f conftest.er1
26112 cat conftest.err >&5
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); } &&
26115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26117 (eval $ac_try) 2>&5
26118 ac_status=$?
26119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26120 (exit $ac_status); }; } &&
26121 { ac_try='test -s conftest$ac_exeext'
26122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26123 (eval $ac_try) 2>&5
26124 ac_status=$?
26125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26126 (exit $ac_status); }; }; then
26127 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26128 else
26129 echo "$as_me: failed program was:" >&5
26130 sed 's/^/| /' conftest.$ac_ext >&5
26131
26132 fi
26133 rm -f conftest.err conftest.$ac_objext \
26134 conftest$ac_exeext conftest.$ac_ext
26135 LIBS="$save_LIBS"
26136 if test "x$wx_cv_std_libpath" != "x"; then
26137 break 2
26138 fi
26139 fi
26140 done
26141 done
26142 if test "x$wx_cv_std_libpath" = "x"; then
26143 wx_cv_std_libpath="lib"
26144 fi
26145
26146
26147 fi
26148
26149 ;;
26150
26151 *-*-solaris2* )
26152 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26153 wx_cv_std_libpath="lib/64"
26154 else
26155 wx_cv_std_libpath="lib"
26156 fi
26157 ;;
26158
26159 *-*-linux* )
26160 if test "$ac_cv_sizeof_void_p" = 8 -a \
26161 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26162 wx_cv_std_libpath="lib64"
26163 else
26164 wx_cv_std_libpath="lib"
26165 fi
26166 ;;
26167
26168 *)
26169 wx_cv_std_libpath="lib";
26170 ;;
26171 esac
26172
26173 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26174 echo "${ECHO_T}$wx_cv_std_libpath" >&6
26175
26176 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26177
26178 if test "$build" != "$host" -a "$GCC" = yes; then
26179 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26180 cross_root=`dirname $cross_root`
26181 cross_root=`dirname $cross_root`
26182
26183 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26184 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26185 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26186
26187 if test -z "$PKG_CONFIG_PATH"; then
26188 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26189 export PKG_CONFIG_PATH
26190 fi
26191
26192 if test -z "$x_includes" -o "$x_includes" = NONE; then
26193
26194 ac_find_includes=
26195 for ac_dir in $SEARCH_INCLUDE /usr/include;
26196 do
26197 if test -f "$ac_dir/X11/Intrinsic.h"; then
26198 ac_find_includes=$ac_dir
26199 break
26200 fi
26201 done
26202
26203 x_includes=$ac_find_includes
26204 fi
26205 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26206
26207 ac_find_libraries=
26208 for ac_dir in $SEARCH_LIB;
26209 do
26210 for ac_extension in a so sl dylib dll.a; do
26211 if test -f "$ac_dir/libXt.$ac_extension"; then
26212 ac_find_libraries=$ac_dir
26213 break 2
26214 fi
26215 done
26216 done
26217
26218 x_libraries=$ac_find_libraries
26219 fi
26220 fi
26221 fi
26222
26223
26224 cat >confcache <<\_ACEOF
26225 # This file is a shell script that caches the results of configure
26226 # tests run on this system so they can be shared between configure
26227 # scripts and configure runs, see configure's option --config-cache.
26228 # It is not useful on other systems. If it contains results you don't
26229 # want to keep, you may remove or edit it.
26230 #
26231 # config.status only pays attention to the cache file if you give it
26232 # the --recheck option to rerun configure.
26233 #
26234 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26235 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26236 # following values.
26237
26238 _ACEOF
26239
26240 # The following way of writing the cache mishandles newlines in values,
26241 # but we know of no workaround that is simple, portable, and efficient.
26242 # So, don't put newlines in cache variables' values.
26243 # Ultrix sh set writes to stderr and can't be redirected directly,
26244 # and sets the high bit in the cache file unless we assign to the vars.
26245 {
26246 (set) 2>&1 |
26247 case `(ac_space=' '; set | grep ac_space) 2>&1` in
26248 *ac_space=\ *)
26249 # `set' does not quote correctly, so add quotes (double-quote
26250 # substitution turns \\\\ into \\, and sed turns \\ into \).
26251 sed -n \
26252 "s/'/'\\\\''/g;
26253 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26254 ;;
26255 *)
26256 # `set' quotes correctly as required by POSIX, so do not add quotes.
26257 sed -n \
26258 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
26259 ;;
26260 esac;
26261 } |
26262 sed '
26263 t clear
26264 : clear
26265 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26266 t end
26267 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26268 : end' >>confcache
26269 if diff $cache_file confcache >/dev/null 2>&1; then :; else
26270 if test -w $cache_file; then
26271 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
26272 cat confcache >$cache_file
26273 else
26274 echo "not updating unwritable cache $cache_file"
26275 fi
26276 fi
26277 rm -f confcache
26278
26279 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
26280 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
26281 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
26282 if test "${wx_cv_lib_glibc21+set}" = set; then
26283 echo $ECHO_N "(cached) $ECHO_C" >&6
26284 else
26285
26286 cat >conftest.$ac_ext <<_ACEOF
26287 /* confdefs.h. */
26288 _ACEOF
26289 cat confdefs.h >>conftest.$ac_ext
26290 cat >>conftest.$ac_ext <<_ACEOF
26291 /* end confdefs.h. */
26292 #include <features.h>
26293 int
26294 main ()
26295 {
26296
26297 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
26298 not glibc 2.1
26299 #endif
26300
26301 ;
26302 return 0;
26303 }
26304 _ACEOF
26305 rm -f conftest.$ac_objext
26306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26307 (eval $ac_compile) 2>conftest.er1
26308 ac_status=$?
26309 grep -v '^ *+' conftest.er1 >conftest.err
26310 rm -f conftest.er1
26311 cat conftest.err >&5
26312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26313 (exit $ac_status); } &&
26314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26316 (eval $ac_try) 2>&5
26317 ac_status=$?
26318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26319 (exit $ac_status); }; } &&
26320 { ac_try='test -s conftest.$ac_objext'
26321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26322 (eval $ac_try) 2>&5
26323 ac_status=$?
26324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26325 (exit $ac_status); }; }; then
26326
26327 wx_cv_lib_glibc21=yes
26328
26329 else
26330 echo "$as_me: failed program was:" >&5
26331 sed 's/^/| /' conftest.$ac_ext >&5
26332
26333
26334 wx_cv_lib_glibc21=no
26335
26336
26337 fi
26338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26339
26340 fi
26341 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
26342 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
26343 if test "$wx_cv_lib_glibc21" = "yes"; then
26344 cat >>confdefs.h <<\_ACEOF
26345 #define wxHAVE_GLIBC2 1
26346 _ACEOF
26347
26348 fi
26349 fi
26350
26351 if test "x$wx_cv_lib_glibc21" = "xyes"; then
26352 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
26353 cat >>confdefs.h <<\_ACEOF
26354 #define _GNU_SOURCE 1
26355 _ACEOF
26356
26357 fi
26358 fi
26359
26360 have_cos=0
26361 have_floor=0
26362
26363 for ac_func in cos
26364 do
26365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26366 echo "$as_me:$LINENO: checking for $ac_func" >&5
26367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26368 if eval "test \"\${$as_ac_var+set}\" = set"; then
26369 echo $ECHO_N "(cached) $ECHO_C" >&6
26370 else
26371 cat >conftest.$ac_ext <<_ACEOF
26372 /* confdefs.h. */
26373 _ACEOF
26374 cat confdefs.h >>conftest.$ac_ext
26375 cat >>conftest.$ac_ext <<_ACEOF
26376 /* end confdefs.h. */
26377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26379 #define $ac_func innocuous_$ac_func
26380
26381 /* System header to define __stub macros and hopefully few prototypes,
26382 which can conflict with char $ac_func (); below.
26383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26384 <limits.h> exists even on freestanding compilers. */
26385
26386 #ifdef __STDC__
26387 # include <limits.h>
26388 #else
26389 # include <assert.h>
26390 #endif
26391
26392 #undef $ac_func
26393
26394 /* Override any gcc2 internal prototype to avoid an error. */
26395 #ifdef __cplusplus
26396 extern "C"
26397 {
26398 #endif
26399 /* We use char because int might match the return type of a gcc2
26400 builtin and then its argument prototype would still apply. */
26401 char $ac_func ();
26402 /* The GNU C library defines this for functions which it implements
26403 to always fail with ENOSYS. Some functions are actually named
26404 something starting with __ and the normal name is an alias. */
26405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26406 choke me
26407 #else
26408 char (*f) () = $ac_func;
26409 #endif
26410 #ifdef __cplusplus
26411 }
26412 #endif
26413
26414 int
26415 main ()
26416 {
26417 return f != $ac_func;
26418 ;
26419 return 0;
26420 }
26421 _ACEOF
26422 rm -f conftest.$ac_objext conftest$ac_exeext
26423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26424 (eval $ac_link) 2>conftest.er1
26425 ac_status=$?
26426 grep -v '^ *+' conftest.er1 >conftest.err
26427 rm -f conftest.er1
26428 cat conftest.err >&5
26429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26430 (exit $ac_status); } &&
26431 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26433 (eval $ac_try) 2>&5
26434 ac_status=$?
26435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26436 (exit $ac_status); }; } &&
26437 { ac_try='test -s conftest$ac_exeext'
26438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26439 (eval $ac_try) 2>&5
26440 ac_status=$?
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); }; }; then
26443 eval "$as_ac_var=yes"
26444 else
26445 echo "$as_me: failed program was:" >&5
26446 sed 's/^/| /' conftest.$ac_ext >&5
26447
26448 eval "$as_ac_var=no"
26449 fi
26450 rm -f conftest.err conftest.$ac_objext \
26451 conftest$ac_exeext conftest.$ac_ext
26452 fi
26453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26455 if test `eval echo '${'$as_ac_var'}'` = yes; then
26456 cat >>confdefs.h <<_ACEOF
26457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26458 _ACEOF
26459 have_cos=1
26460 fi
26461 done
26462
26463
26464 for ac_func in floor
26465 do
26466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26467 echo "$as_me:$LINENO: checking for $ac_func" >&5
26468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26469 if eval "test \"\${$as_ac_var+set}\" = set"; then
26470 echo $ECHO_N "(cached) $ECHO_C" >&6
26471 else
26472 cat >conftest.$ac_ext <<_ACEOF
26473 /* confdefs.h. */
26474 _ACEOF
26475 cat confdefs.h >>conftest.$ac_ext
26476 cat >>conftest.$ac_ext <<_ACEOF
26477 /* end confdefs.h. */
26478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26480 #define $ac_func innocuous_$ac_func
26481
26482 /* System header to define __stub macros and hopefully few prototypes,
26483 which can conflict with char $ac_func (); below.
26484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26485 <limits.h> exists even on freestanding compilers. */
26486
26487 #ifdef __STDC__
26488 # include <limits.h>
26489 #else
26490 # include <assert.h>
26491 #endif
26492
26493 #undef $ac_func
26494
26495 /* Override any gcc2 internal prototype to avoid an error. */
26496 #ifdef __cplusplus
26497 extern "C"
26498 {
26499 #endif
26500 /* We use char because int might match the return type of a gcc2
26501 builtin and then its argument prototype would still apply. */
26502 char $ac_func ();
26503 /* The GNU C library defines this for functions which it implements
26504 to always fail with ENOSYS. Some functions are actually named
26505 something starting with __ and the normal name is an alias. */
26506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26507 choke me
26508 #else
26509 char (*f) () = $ac_func;
26510 #endif
26511 #ifdef __cplusplus
26512 }
26513 #endif
26514
26515 int
26516 main ()
26517 {
26518 return f != $ac_func;
26519 ;
26520 return 0;
26521 }
26522 _ACEOF
26523 rm -f conftest.$ac_objext conftest$ac_exeext
26524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26525 (eval $ac_link) 2>conftest.er1
26526 ac_status=$?
26527 grep -v '^ *+' conftest.er1 >conftest.err
26528 rm -f conftest.er1
26529 cat conftest.err >&5
26530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26531 (exit $ac_status); } &&
26532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26534 (eval $ac_try) 2>&5
26535 ac_status=$?
26536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26537 (exit $ac_status); }; } &&
26538 { ac_try='test -s conftest$ac_exeext'
26539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26540 (eval $ac_try) 2>&5
26541 ac_status=$?
26542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26543 (exit $ac_status); }; }; then
26544 eval "$as_ac_var=yes"
26545 else
26546 echo "$as_me: failed program was:" >&5
26547 sed 's/^/| /' conftest.$ac_ext >&5
26548
26549 eval "$as_ac_var=no"
26550 fi
26551 rm -f conftest.err conftest.$ac_objext \
26552 conftest$ac_exeext conftest.$ac_ext
26553 fi
26554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26556 if test `eval echo '${'$as_ac_var'}'` = yes; then
26557 cat >>confdefs.h <<_ACEOF
26558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26559 _ACEOF
26560 have_floor=1
26561 fi
26562 done
26563
26564 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
26565 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
26566 if test "$have_cos" = 1 -a "$have_floor" = 1; then
26567 echo "$as_me:$LINENO: result: yes" >&5
26568 echo "${ECHO_T}yes" >&6
26569 else
26570 echo "$as_me:$LINENO: result: no" >&5
26571 echo "${ECHO_T}no" >&6
26572 LIBS="$LIBS -lm"
26573 # use different functions to avoid configure caching
26574 have_sin=0
26575 have_ceil=0
26576
26577 for ac_func in sin
26578 do
26579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26580 echo "$as_me:$LINENO: checking for $ac_func" >&5
26581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26582 if eval "test \"\${$as_ac_var+set}\" = set"; then
26583 echo $ECHO_N "(cached) $ECHO_C" >&6
26584 else
26585 cat >conftest.$ac_ext <<_ACEOF
26586 /* confdefs.h. */
26587 _ACEOF
26588 cat confdefs.h >>conftest.$ac_ext
26589 cat >>conftest.$ac_ext <<_ACEOF
26590 /* end confdefs.h. */
26591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26593 #define $ac_func innocuous_$ac_func
26594
26595 /* System header to define __stub macros and hopefully few prototypes,
26596 which can conflict with char $ac_func (); below.
26597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26598 <limits.h> exists even on freestanding compilers. */
26599
26600 #ifdef __STDC__
26601 # include <limits.h>
26602 #else
26603 # include <assert.h>
26604 #endif
26605
26606 #undef $ac_func
26607
26608 /* Override any gcc2 internal prototype to avoid an error. */
26609 #ifdef __cplusplus
26610 extern "C"
26611 {
26612 #endif
26613 /* We use char because int might match the return type of a gcc2
26614 builtin and then its argument prototype would still apply. */
26615 char $ac_func ();
26616 /* The GNU C library defines this for functions which it implements
26617 to always fail with ENOSYS. Some functions are actually named
26618 something starting with __ and the normal name is an alias. */
26619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26620 choke me
26621 #else
26622 char (*f) () = $ac_func;
26623 #endif
26624 #ifdef __cplusplus
26625 }
26626 #endif
26627
26628 int
26629 main ()
26630 {
26631 return f != $ac_func;
26632 ;
26633 return 0;
26634 }
26635 _ACEOF
26636 rm -f conftest.$ac_objext conftest$ac_exeext
26637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26638 (eval $ac_link) 2>conftest.er1
26639 ac_status=$?
26640 grep -v '^ *+' conftest.er1 >conftest.err
26641 rm -f conftest.er1
26642 cat conftest.err >&5
26643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26644 (exit $ac_status); } &&
26645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26647 (eval $ac_try) 2>&5
26648 ac_status=$?
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); }; } &&
26651 { ac_try='test -s conftest$ac_exeext'
26652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26653 (eval $ac_try) 2>&5
26654 ac_status=$?
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); }; }; then
26657 eval "$as_ac_var=yes"
26658 else
26659 echo "$as_me: failed program was:" >&5
26660 sed 's/^/| /' conftest.$ac_ext >&5
26661
26662 eval "$as_ac_var=no"
26663 fi
26664 rm -f conftest.err conftest.$ac_objext \
26665 conftest$ac_exeext conftest.$ac_ext
26666 fi
26667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26669 if test `eval echo '${'$as_ac_var'}'` = yes; then
26670 cat >>confdefs.h <<_ACEOF
26671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26672 _ACEOF
26673 have_sin=1
26674 fi
26675 done
26676
26677
26678 for ac_func in ceil
26679 do
26680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26681 echo "$as_me:$LINENO: checking for $ac_func" >&5
26682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26683 if eval "test \"\${$as_ac_var+set}\" = set"; then
26684 echo $ECHO_N "(cached) $ECHO_C" >&6
26685 else
26686 cat >conftest.$ac_ext <<_ACEOF
26687 /* confdefs.h. */
26688 _ACEOF
26689 cat confdefs.h >>conftest.$ac_ext
26690 cat >>conftest.$ac_ext <<_ACEOF
26691 /* end confdefs.h. */
26692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26694 #define $ac_func innocuous_$ac_func
26695
26696 /* System header to define __stub macros and hopefully few prototypes,
26697 which can conflict with char $ac_func (); below.
26698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26699 <limits.h> exists even on freestanding compilers. */
26700
26701 #ifdef __STDC__
26702 # include <limits.h>
26703 #else
26704 # include <assert.h>
26705 #endif
26706
26707 #undef $ac_func
26708
26709 /* Override any gcc2 internal prototype to avoid an error. */
26710 #ifdef __cplusplus
26711 extern "C"
26712 {
26713 #endif
26714 /* We use char because int might match the return type of a gcc2
26715 builtin and then its argument prototype would still apply. */
26716 char $ac_func ();
26717 /* The GNU C library defines this for functions which it implements
26718 to always fail with ENOSYS. Some functions are actually named
26719 something starting with __ and the normal name is an alias. */
26720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26721 choke me
26722 #else
26723 char (*f) () = $ac_func;
26724 #endif
26725 #ifdef __cplusplus
26726 }
26727 #endif
26728
26729 int
26730 main ()
26731 {
26732 return f != $ac_func;
26733 ;
26734 return 0;
26735 }
26736 _ACEOF
26737 rm -f conftest.$ac_objext conftest$ac_exeext
26738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26739 (eval $ac_link) 2>conftest.er1
26740 ac_status=$?
26741 grep -v '^ *+' conftest.er1 >conftest.err
26742 rm -f conftest.er1
26743 cat conftest.err >&5
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); } &&
26746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
26747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748 (eval $ac_try) 2>&5
26749 ac_status=$?
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); }; } &&
26752 { ac_try='test -s conftest$ac_exeext'
26753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26754 (eval $ac_try) 2>&5
26755 ac_status=$?
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); }; }; then
26758 eval "$as_ac_var=yes"
26759 else
26760 echo "$as_me: failed program was:" >&5
26761 sed 's/^/| /' conftest.$ac_ext >&5
26762
26763 eval "$as_ac_var=no"
26764 fi
26765 rm -f conftest.err conftest.$ac_objext \
26766 conftest$ac_exeext conftest.$ac_ext
26767 fi
26768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26770 if test `eval echo '${'$as_ac_var'}'` = yes; then
26771 cat >>confdefs.h <<_ACEOF
26772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26773 _ACEOF
26774 have_ceil=1
26775 fi
26776 done
26777
26778 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
26779 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
26780 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
26781 echo "$as_me:$LINENO: result: yes" >&5
26782 echo "${ECHO_T}yes" >&6
26783 else
26784 echo "$as_me:$LINENO: result: no" >&5
26785 echo "${ECHO_T}no" >&6
26786 # not sure we should warn the user, crash, etc.
26787 fi
26788 fi
26789
26790 ac_ext=cc
26791 ac_cpp='$CXXCPP $CPPFLAGS'
26792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26795
26796 if test "wxUSE_UNICODE" = "yes"; then
26797
26798 for wx_func in wcstoull
26799 do
26800 echo "$as_me:$LINENO: checking for $wx_func" >&5
26801 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
26802 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
26803 echo $ECHO_N "(cached) $ECHO_C" >&6
26804 else
26805
26806 cat >conftest.$ac_ext <<_ACEOF
26807
26808 /* confdefs.h. */
26809 _ACEOF
26810 cat confdefs.h >>conftest.$ac_ext
26811 cat >>conftest.$ac_ext <<_ACEOF
26812 /* end confdefs.h. */
26813
26814
26815 $ac_includes_default
26816
26817 int
26818 main ()
26819 {
26820
26821 #ifndef $wx_func
26822 &$wx_func;
26823 #endif
26824
26825
26826 ;
26827 return 0;
26828 }
26829
26830 _ACEOF
26831 rm -f conftest.$ac_objext conftest$ac_exeext
26832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26833 (eval $ac_link) 2>conftest.er1
26834 ac_status=$?
26835 grep -v '^ *+' conftest.er1 >conftest.err
26836 rm -f conftest.er1
26837 cat conftest.err >&5
26838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26839 (exit $ac_status); } &&
26840 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26842 (eval $ac_try) 2>&5
26843 ac_status=$?
26844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26845 (exit $ac_status); }; } &&
26846 { ac_try='test -s conftest$ac_exeext'
26847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26848 (eval $ac_try) 2>&5
26849 ac_status=$?
26850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851 (exit $ac_status); }; }; then
26852 eval wx_cv_func_$wx_func=yes
26853 else
26854 echo "$as_me: failed program was:" >&5
26855 sed 's/^/| /' conftest.$ac_ext >&5
26856
26857 eval wx_cv_func_$wx_func=no
26858 fi
26859 rm -f conftest.err conftest.$ac_objext \
26860 conftest$ac_exeext conftest.$ac_ext
26861
26862 fi
26863 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
26864 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
26865
26866 if eval test \$wx_cv_func_$wx_func = yes
26867 then
26868 cat >>confdefs.h <<_ACEOF
26869 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
26870 _ACEOF
26871
26872
26873 else
26874 :
26875
26876 fi
26877 done
26878
26879 else
26880
26881 for wx_func in strtoull
26882 do
26883 echo "$as_me:$LINENO: checking for $wx_func" >&5
26884 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
26885 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
26886 echo $ECHO_N "(cached) $ECHO_C" >&6
26887 else
26888
26889 cat >conftest.$ac_ext <<_ACEOF
26890
26891 /* confdefs.h. */
26892 _ACEOF
26893 cat confdefs.h >>conftest.$ac_ext
26894 cat >>conftest.$ac_ext <<_ACEOF
26895 /* end confdefs.h. */
26896
26897
26898 $ac_includes_default
26899
26900 int
26901 main ()
26902 {
26903
26904 #ifndef $wx_func
26905 &$wx_func;
26906 #endif
26907
26908
26909 ;
26910 return 0;
26911 }
26912
26913 _ACEOF
26914 rm -f conftest.$ac_objext conftest$ac_exeext
26915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26916 (eval $ac_link) 2>conftest.er1
26917 ac_status=$?
26918 grep -v '^ *+' conftest.er1 >conftest.err
26919 rm -f conftest.er1
26920 cat conftest.err >&5
26921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26922 (exit $ac_status); } &&
26923 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26925 (eval $ac_try) 2>&5
26926 ac_status=$?
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); }; } &&
26929 { ac_try='test -s conftest$ac_exeext'
26930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26931 (eval $ac_try) 2>&5
26932 ac_status=$?
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); }; }; then
26935 eval wx_cv_func_$wx_func=yes
26936 else
26937 echo "$as_me: failed program was:" >&5
26938 sed 's/^/| /' conftest.$ac_ext >&5
26939
26940 eval wx_cv_func_$wx_func=no
26941 fi
26942 rm -f conftest.err conftest.$ac_objext \
26943 conftest$ac_exeext conftest.$ac_ext
26944
26945 fi
26946 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
26947 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
26948
26949 if eval test \$wx_cv_func_$wx_func = yes
26950 then
26951 cat >>confdefs.h <<_ACEOF
26952 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
26953 _ACEOF
26954
26955
26956 else
26957 :
26958
26959 fi
26960 done
26961
26962 fi
26963 ac_ext=c
26964 ac_cpp='$CPP $CPPFLAGS'
26965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26968
26969
26970
26971
26972 if test "$wxUSE_REGEX" != "no"; then
26973 cat >>confdefs.h <<\_ACEOF
26974 #define wxUSE_REGEX 1
26975 _ACEOF
26976
26977
26978 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26979 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
26980 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
26981 wxUSE_REGEX=builtin
26982 fi
26983
26984 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26985 echo "$as_me:$LINENO: checking for regex.h" >&5
26986 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
26987 if test "${ac_cv_header_regex_h+set}" = set; then
26988 echo $ECHO_N "(cached) $ECHO_C" >&6
26989 else
26990 cat >conftest.$ac_ext <<_ACEOF
26991 /* confdefs.h. */
26992 _ACEOF
26993 cat confdefs.h >>conftest.$ac_ext
26994 cat >>conftest.$ac_ext <<_ACEOF
26995 /* end confdefs.h. */
26996
26997
26998 #include <regex.h>
26999 _ACEOF
27000 rm -f conftest.$ac_objext
27001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27002 (eval $ac_compile) 2>conftest.er1
27003 ac_status=$?
27004 grep -v '^ *+' conftest.er1 >conftest.err
27005 rm -f conftest.er1
27006 cat conftest.err >&5
27007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27008 (exit $ac_status); } &&
27009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27011 (eval $ac_try) 2>&5
27012 ac_status=$?
27013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014 (exit $ac_status); }; } &&
27015 { ac_try='test -s conftest.$ac_objext'
27016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27017 (eval $ac_try) 2>&5
27018 ac_status=$?
27019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27020 (exit $ac_status); }; }; then
27021 ac_cv_header_regex_h=yes
27022 else
27023 echo "$as_me: failed program was:" >&5
27024 sed 's/^/| /' conftest.$ac_ext >&5
27025
27026 ac_cv_header_regex_h=no
27027 fi
27028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27029 fi
27030 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27031 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
27032 if test $ac_cv_header_regex_h = yes; then
27033
27034
27035 for ac_func in regcomp re_search
27036 do
27037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27038 echo "$as_me:$LINENO: checking for $ac_func" >&5
27039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27040 if eval "test \"\${$as_ac_var+set}\" = set"; then
27041 echo $ECHO_N "(cached) $ECHO_C" >&6
27042 else
27043 cat >conftest.$ac_ext <<_ACEOF
27044 /* confdefs.h. */
27045 _ACEOF
27046 cat confdefs.h >>conftest.$ac_ext
27047 cat >>conftest.$ac_ext <<_ACEOF
27048 /* end confdefs.h. */
27049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27051 #define $ac_func innocuous_$ac_func
27052
27053 /* System header to define __stub macros and hopefully few prototypes,
27054 which can conflict with char $ac_func (); below.
27055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27056 <limits.h> exists even on freestanding compilers. */
27057
27058 #ifdef __STDC__
27059 # include <limits.h>
27060 #else
27061 # include <assert.h>
27062 #endif
27063
27064 #undef $ac_func
27065
27066 /* Override any gcc2 internal prototype to avoid an error. */
27067 #ifdef __cplusplus
27068 extern "C"
27069 {
27070 #endif
27071 /* We use char because int might match the return type of a gcc2
27072 builtin and then its argument prototype would still apply. */
27073 char $ac_func ();
27074 /* The GNU C library defines this for functions which it implements
27075 to always fail with ENOSYS. Some functions are actually named
27076 something starting with __ and the normal name is an alias. */
27077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27078 choke me
27079 #else
27080 char (*f) () = $ac_func;
27081 #endif
27082 #ifdef __cplusplus
27083 }
27084 #endif
27085
27086 int
27087 main ()
27088 {
27089 return f != $ac_func;
27090 ;
27091 return 0;
27092 }
27093 _ACEOF
27094 rm -f conftest.$ac_objext conftest$ac_exeext
27095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27096 (eval $ac_link) 2>conftest.er1
27097 ac_status=$?
27098 grep -v '^ *+' conftest.er1 >conftest.err
27099 rm -f conftest.er1
27100 cat conftest.err >&5
27101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27102 (exit $ac_status); } &&
27103 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27105 (eval $ac_try) 2>&5
27106 ac_status=$?
27107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108 (exit $ac_status); }; } &&
27109 { ac_try='test -s conftest$ac_exeext'
27110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27111 (eval $ac_try) 2>&5
27112 ac_status=$?
27113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27114 (exit $ac_status); }; }; then
27115 eval "$as_ac_var=yes"
27116 else
27117 echo "$as_me: failed program was:" >&5
27118 sed 's/^/| /' conftest.$ac_ext >&5
27119
27120 eval "$as_ac_var=no"
27121 fi
27122 rm -f conftest.err conftest.$ac_objext \
27123 conftest$ac_exeext conftest.$ac_ext
27124 fi
27125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27127 if test `eval echo '${'$as_ac_var'}'` = yes; then
27128 cat >>confdefs.h <<_ACEOF
27129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27130 _ACEOF
27131
27132 fi
27133 done
27134
27135 fi
27136
27137
27138
27139 if test "x$ac_cv_func_regcomp" != "xyes"; then
27140 if test "$wxUSE_REGEX" = "sys" ; then
27141 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27142 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27143 { (exit 1); exit 1; }; }
27144 else
27145 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27146 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27147 wxUSE_REGEX=builtin
27148 fi
27149 else
27150 wxUSE_REGEX=sys
27151 cat >>confdefs.h <<\_ACEOF
27152 #define WX_NO_REGEX_ADVANCED 1
27153 _ACEOF
27154
27155 fi
27156 fi
27157 fi
27158
27159
27160 ZLIB_LINK=
27161 if test "$wxUSE_ZLIB" != "no" ; then
27162 cat >>confdefs.h <<\_ACEOF
27163 #define wxUSE_ZLIB 1
27164 _ACEOF
27165
27166
27167 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27168 if test "$USE_DARWIN" = 1; then
27169 system_zlib_h_ok="yes"
27170 else
27171 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27172 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
27173 if test "${ac_cv_header_zlib_h+set}" = set; then
27174 echo $ECHO_N "(cached) $ECHO_C" >&6
27175 else
27176 if test "$cross_compiling" = yes; then
27177 unset ac_cv_header_zlib_h
27178
27179 else
27180 cat >conftest.$ac_ext <<_ACEOF
27181 /* confdefs.h. */
27182 _ACEOF
27183 cat confdefs.h >>conftest.$ac_ext
27184 cat >>conftest.$ac_ext <<_ACEOF
27185 /* end confdefs.h. */
27186
27187 #include <zlib.h>
27188 #include <stdio.h>
27189
27190 int main()
27191 {
27192 FILE *f=fopen("conftestval", "w");
27193 if (!f) exit(1);
27194 fprintf(f, "%s",
27195 ZLIB_VERSION[0] == '1' &&
27196 (ZLIB_VERSION[2] > '1' ||
27197 (ZLIB_VERSION[2] == '1' &&
27198 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27199 exit(0);
27200 }
27201
27202 _ACEOF
27203 rm -f conftest$ac_exeext
27204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27205 (eval $ac_link) 2>&5
27206 ac_status=$?
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27210 (eval $ac_try) 2>&5
27211 ac_status=$?
27212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213 (exit $ac_status); }; }; then
27214 ac_cv_header_zlib_h=`cat conftestval`
27215 else
27216 echo "$as_me: program exited with status $ac_status" >&5
27217 echo "$as_me: failed program was:" >&5
27218 sed 's/^/| /' conftest.$ac_ext >&5
27219
27220 ( exit $ac_status )
27221 ac_cv_header_zlib_h=no
27222 fi
27223 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27224 fi
27225
27226 fi
27227 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27228 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
27229 echo "$as_me:$LINENO: checking for zlib.h" >&5
27230 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
27231 if test "${ac_cv_header_zlib_h+set}" = set; then
27232 echo $ECHO_N "(cached) $ECHO_C" >&6
27233 else
27234 cat >conftest.$ac_ext <<_ACEOF
27235 /* confdefs.h. */
27236 _ACEOF
27237 cat confdefs.h >>conftest.$ac_ext
27238 cat >>conftest.$ac_ext <<_ACEOF
27239 /* end confdefs.h. */
27240
27241
27242 #include <zlib.h>
27243 _ACEOF
27244 rm -f conftest.$ac_objext
27245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27246 (eval $ac_compile) 2>conftest.er1
27247 ac_status=$?
27248 grep -v '^ *+' conftest.er1 >conftest.err
27249 rm -f conftest.er1
27250 cat conftest.err >&5
27251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27252 (exit $ac_status); } &&
27253 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27255 (eval $ac_try) 2>&5
27256 ac_status=$?
27257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27258 (exit $ac_status); }; } &&
27259 { ac_try='test -s conftest.$ac_objext'
27260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27261 (eval $ac_try) 2>&5
27262 ac_status=$?
27263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27264 (exit $ac_status); }; }; then
27265 ac_cv_header_zlib_h=yes
27266 else
27267 echo "$as_me: failed program was:" >&5
27268 sed 's/^/| /' conftest.$ac_ext >&5
27269
27270 ac_cv_header_zlib_h=no
27271 fi
27272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27273 fi
27274 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
27275 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
27276
27277
27278
27279 system_zlib_h_ok=$ac_cv_header_zlib_h
27280 fi
27281
27282 if test "$system_zlib_h_ok" = "yes"; then
27283 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
27284 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
27285 if test "${ac_cv_lib_z_deflate+set}" = set; then
27286 echo $ECHO_N "(cached) $ECHO_C" >&6
27287 else
27288 ac_check_lib_save_LIBS=$LIBS
27289 LIBS="-lz $LIBS"
27290 cat >conftest.$ac_ext <<_ACEOF
27291 /* confdefs.h. */
27292 _ACEOF
27293 cat confdefs.h >>conftest.$ac_ext
27294 cat >>conftest.$ac_ext <<_ACEOF
27295 /* end confdefs.h. */
27296
27297 /* Override any gcc2 internal prototype to avoid an error. */
27298 #ifdef __cplusplus
27299 extern "C"
27300 #endif
27301 /* We use char because int might match the return type of a gcc2
27302 builtin and then its argument prototype would still apply. */
27303 char deflate ();
27304 int
27305 main ()
27306 {
27307 deflate ();
27308 ;
27309 return 0;
27310 }
27311 _ACEOF
27312 rm -f conftest.$ac_objext conftest$ac_exeext
27313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27314 (eval $ac_link) 2>conftest.er1
27315 ac_status=$?
27316 grep -v '^ *+' conftest.er1 >conftest.err
27317 rm -f conftest.er1
27318 cat conftest.err >&5
27319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27320 (exit $ac_status); } &&
27321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27323 (eval $ac_try) 2>&5
27324 ac_status=$?
27325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27326 (exit $ac_status); }; } &&
27327 { ac_try='test -s conftest$ac_exeext'
27328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27329 (eval $ac_try) 2>&5
27330 ac_status=$?
27331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332 (exit $ac_status); }; }; then
27333 ac_cv_lib_z_deflate=yes
27334 else
27335 echo "$as_me: failed program was:" >&5
27336 sed 's/^/| /' conftest.$ac_ext >&5
27337
27338 ac_cv_lib_z_deflate=no
27339 fi
27340 rm -f conftest.err conftest.$ac_objext \
27341 conftest$ac_exeext conftest.$ac_ext
27342 LIBS=$ac_check_lib_save_LIBS
27343 fi
27344 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
27345 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
27346 if test $ac_cv_lib_z_deflate = yes; then
27347 ZLIB_LINK=" -lz"
27348 fi
27349
27350 fi
27351
27352 if test "x$ZLIB_LINK" = "x" ; then
27353 if test "$wxUSE_ZLIB" = "sys" ; then
27354 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
27355 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
27356 { (exit 1); exit 1; }; }
27357 else
27358 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
27359 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
27360 wxUSE_ZLIB=builtin
27361 fi
27362 else
27363 wxUSE_ZLIB=sys
27364 fi
27365 fi
27366 fi
27367
27368
27369 PNG_LINK=
27370 if test "$wxUSE_LIBPNG" != "no" ; then
27371 cat >>confdefs.h <<\_ACEOF
27372 #define wxUSE_LIBPNG 1
27373 _ACEOF
27374
27375
27376 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
27377 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
27378 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
27379 wxUSE_LIBPNG=sys
27380 fi
27381
27382 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
27383 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
27384 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
27385 wxUSE_LIBPNG=builtin
27386 fi
27387
27388 if test "$wxUSE_MGL" != 1 ; then
27389 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
27390 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
27391 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
27392 if test "${ac_cv_header_png_h+set}" = set; then
27393 echo $ECHO_N "(cached) $ECHO_C" >&6
27394 else
27395 if test "$cross_compiling" = yes; then
27396 unset ac_cv_header_png_h
27397
27398 else
27399 cat >conftest.$ac_ext <<_ACEOF
27400 /* confdefs.h. */
27401 _ACEOF
27402 cat confdefs.h >>conftest.$ac_ext
27403 cat >>conftest.$ac_ext <<_ACEOF
27404 /* end confdefs.h. */
27405
27406 #include <png.h>
27407 #include <stdio.h>
27408
27409 int main()
27410 {
27411 FILE *f=fopen("conftestval", "w");
27412 if (!f) exit(1);
27413 fprintf(f, "%s",
27414 PNG_LIBPNG_VER > 90 ? "yes" : "no");
27415 exit(0);
27416 }
27417
27418 _ACEOF
27419 rm -f conftest$ac_exeext
27420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27421 (eval $ac_link) 2>&5
27422 ac_status=$?
27423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27424 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27426 (eval $ac_try) 2>&5
27427 ac_status=$?
27428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429 (exit $ac_status); }; }; then
27430 ac_cv_header_png_h=`cat conftestval`
27431 else
27432 echo "$as_me: program exited with status $ac_status" >&5
27433 echo "$as_me: failed program was:" >&5
27434 sed 's/^/| /' conftest.$ac_ext >&5
27435
27436 ( exit $ac_status )
27437 ac_cv_header_png_h=no
27438 fi
27439 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27440 fi
27441
27442 fi
27443 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27444 echo "${ECHO_T}$ac_cv_header_png_h" >&6
27445 echo "$as_me:$LINENO: checking for png.h" >&5
27446 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
27447 if test "${ac_cv_header_png_h+set}" = set; then
27448 echo $ECHO_N "(cached) $ECHO_C" >&6
27449 else
27450 cat >conftest.$ac_ext <<_ACEOF
27451 /* confdefs.h. */
27452 _ACEOF
27453 cat confdefs.h >>conftest.$ac_ext
27454 cat >>conftest.$ac_ext <<_ACEOF
27455 /* end confdefs.h. */
27456
27457
27458 #include <png.h>
27459 _ACEOF
27460 rm -f conftest.$ac_objext
27461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27462 (eval $ac_compile) 2>conftest.er1
27463 ac_status=$?
27464 grep -v '^ *+' conftest.er1 >conftest.err
27465 rm -f conftest.er1
27466 cat conftest.err >&5
27467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27468 (exit $ac_status); } &&
27469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27471 (eval $ac_try) 2>&5
27472 ac_status=$?
27473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27474 (exit $ac_status); }; } &&
27475 { ac_try='test -s conftest.$ac_objext'
27476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27477 (eval $ac_try) 2>&5
27478 ac_status=$?
27479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27480 (exit $ac_status); }; }; then
27481 ac_cv_header_png_h=yes
27482 else
27483 echo "$as_me: failed program was:" >&5
27484 sed 's/^/| /' conftest.$ac_ext >&5
27485
27486 ac_cv_header_png_h=no
27487 fi
27488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27489 fi
27490 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
27491 echo "${ECHO_T}$ac_cv_header_png_h" >&6
27492
27493
27494
27495 if test "$ac_cv_header_png_h" = "yes"; then
27496 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
27497 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
27498 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
27499 echo $ECHO_N "(cached) $ECHO_C" >&6
27500 else
27501 ac_check_lib_save_LIBS=$LIBS
27502 LIBS="-lpng -lz -lm $LIBS"
27503 cat >conftest.$ac_ext <<_ACEOF
27504 /* confdefs.h. */
27505 _ACEOF
27506 cat confdefs.h >>conftest.$ac_ext
27507 cat >>conftest.$ac_ext <<_ACEOF
27508 /* end confdefs.h. */
27509
27510 /* Override any gcc2 internal prototype to avoid an error. */
27511 #ifdef __cplusplus
27512 extern "C"
27513 #endif
27514 /* We use char because int might match the return type of a gcc2
27515 builtin and then its argument prototype would still apply. */
27516 char png_check_sig ();
27517 int
27518 main ()
27519 {
27520 png_check_sig ();
27521 ;
27522 return 0;
27523 }
27524 _ACEOF
27525 rm -f conftest.$ac_objext conftest$ac_exeext
27526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27527 (eval $ac_link) 2>conftest.er1
27528 ac_status=$?
27529 grep -v '^ *+' conftest.er1 >conftest.err
27530 rm -f conftest.er1
27531 cat conftest.err >&5
27532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27533 (exit $ac_status); } &&
27534 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27536 (eval $ac_try) 2>&5
27537 ac_status=$?
27538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27539 (exit $ac_status); }; } &&
27540 { ac_try='test -s conftest$ac_exeext'
27541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27542 (eval $ac_try) 2>&5
27543 ac_status=$?
27544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27545 (exit $ac_status); }; }; then
27546 ac_cv_lib_png_png_check_sig=yes
27547 else
27548 echo "$as_me: failed program was:" >&5
27549 sed 's/^/| /' conftest.$ac_ext >&5
27550
27551 ac_cv_lib_png_png_check_sig=no
27552 fi
27553 rm -f conftest.err conftest.$ac_objext \
27554 conftest$ac_exeext conftest.$ac_ext
27555 LIBS=$ac_check_lib_save_LIBS
27556 fi
27557 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
27558 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
27559 if test $ac_cv_lib_png_png_check_sig = yes; then
27560 PNG_LINK=" -lpng -lz"
27561 fi
27562
27563 fi
27564
27565 if test "x$PNG_LINK" = "x" ; then
27566 if test "$wxUSE_LIBPNG" = "sys" ; then
27567 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
27568 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
27569 { (exit 1); exit 1; }; }
27570 else
27571 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
27572 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
27573 wxUSE_LIBPNG=builtin
27574 fi
27575 else
27576 wxUSE_LIBPNG=sys
27577 fi
27578 fi
27579 fi
27580
27581 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
27582 fi
27583
27584
27585 JPEG_LINK=
27586 if test "$wxUSE_LIBJPEG" != "no" ; then
27587 cat >>confdefs.h <<\_ACEOF
27588 #define wxUSE_LIBJPEG 1
27589 _ACEOF
27590
27591
27592 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
27593 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
27594 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
27595 wxUSE_LIBJPEG=sys
27596 fi
27597
27598 if test "$wxUSE_MGL" != 1 ; then
27599 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
27600 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
27601 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
27602 if test "${ac_cv_header_jpeglib_h+set}" = set; then
27603 echo $ECHO_N "(cached) $ECHO_C" >&6
27604 else
27605 cat >conftest.$ac_ext <<_ACEOF
27606 /* confdefs.h. */
27607 _ACEOF
27608 cat confdefs.h >>conftest.$ac_ext
27609 cat >>conftest.$ac_ext <<_ACEOF
27610 /* end confdefs.h. */
27611
27612 #undef HAVE_STDLIB_H
27613 #include <stdio.h>
27614 #include <jpeglib.h>
27615
27616 int
27617 main ()
27618 {
27619
27620
27621 ;
27622 return 0;
27623 }
27624 _ACEOF
27625 rm -f conftest.$ac_objext
27626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27627 (eval $ac_compile) 2>conftest.er1
27628 ac_status=$?
27629 grep -v '^ *+' conftest.er1 >conftest.err
27630 rm -f conftest.er1
27631 cat conftest.err >&5
27632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27633 (exit $ac_status); } &&
27634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27636 (eval $ac_try) 2>&5
27637 ac_status=$?
27638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639 (exit $ac_status); }; } &&
27640 { ac_try='test -s conftest.$ac_objext'
27641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27642 (eval $ac_try) 2>&5
27643 ac_status=$?
27644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645 (exit $ac_status); }; }; then
27646 ac_cv_header_jpeglib_h=yes
27647 else
27648 echo "$as_me: failed program was:" >&5
27649 sed 's/^/| /' conftest.$ac_ext >&5
27650
27651 ac_cv_header_jpeglib_h=no
27652
27653 fi
27654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27655
27656 fi
27657
27658 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
27659 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
27660
27661 if test "$ac_cv_header_jpeglib_h" = "yes"; then
27662 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
27663 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
27664 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
27665 echo $ECHO_N "(cached) $ECHO_C" >&6
27666 else
27667 ac_check_lib_save_LIBS=$LIBS
27668 LIBS="-ljpeg $LIBS"
27669 cat >conftest.$ac_ext <<_ACEOF
27670 /* confdefs.h. */
27671 _ACEOF
27672 cat confdefs.h >>conftest.$ac_ext
27673 cat >>conftest.$ac_ext <<_ACEOF
27674 /* end confdefs.h. */
27675
27676 /* Override any gcc2 internal prototype to avoid an error. */
27677 #ifdef __cplusplus
27678 extern "C"
27679 #endif
27680 /* We use char because int might match the return type of a gcc2
27681 builtin and then its argument prototype would still apply. */
27682 char jpeg_read_header ();
27683 int
27684 main ()
27685 {
27686 jpeg_read_header ();
27687 ;
27688 return 0;
27689 }
27690 _ACEOF
27691 rm -f conftest.$ac_objext conftest$ac_exeext
27692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27693 (eval $ac_link) 2>conftest.er1
27694 ac_status=$?
27695 grep -v '^ *+' conftest.er1 >conftest.err
27696 rm -f conftest.er1
27697 cat conftest.err >&5
27698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27699 (exit $ac_status); } &&
27700 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27702 (eval $ac_try) 2>&5
27703 ac_status=$?
27704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27705 (exit $ac_status); }; } &&
27706 { ac_try='test -s conftest$ac_exeext'
27707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27708 (eval $ac_try) 2>&5
27709 ac_status=$?
27710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711 (exit $ac_status); }; }; then
27712 ac_cv_lib_jpeg_jpeg_read_header=yes
27713 else
27714 echo "$as_me: failed program was:" >&5
27715 sed 's/^/| /' conftest.$ac_ext >&5
27716
27717 ac_cv_lib_jpeg_jpeg_read_header=no
27718 fi
27719 rm -f conftest.err conftest.$ac_objext \
27720 conftest$ac_exeext conftest.$ac_ext
27721 LIBS=$ac_check_lib_save_LIBS
27722 fi
27723 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
27724 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
27725 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
27726 JPEG_LINK=" -ljpeg"
27727 fi
27728
27729 fi
27730
27731 if test "x$JPEG_LINK" = "x" ; then
27732 if test "$wxUSE_LIBJPEG" = "sys" ; then
27733 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
27734 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
27735 { (exit 1); exit 1; }; }
27736 else
27737 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
27738 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
27739 wxUSE_LIBJPEG=builtin
27740 fi
27741 else
27742 wxUSE_LIBJPEG=sys
27743
27744 if test "$wxUSE_MSW" = 1; then
27745 echo "$as_me:$LINENO: checking for boolean" >&5
27746 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27747 if test "${ac_cv_type_boolean+set}" = set; then
27748 echo $ECHO_N "(cached) $ECHO_C" >&6
27749 else
27750 cat >conftest.$ac_ext <<_ACEOF
27751 /* confdefs.h. */
27752 _ACEOF
27753 cat confdefs.h >>conftest.$ac_ext
27754 cat >>conftest.$ac_ext <<_ACEOF
27755 /* end confdefs.h. */
27756 #include <windows.h>
27757
27758 int
27759 main ()
27760 {
27761 if ((boolean *) 0)
27762 return 0;
27763 if (sizeof (boolean))
27764 return 0;
27765 ;
27766 return 0;
27767 }
27768 _ACEOF
27769 rm -f conftest.$ac_objext
27770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27771 (eval $ac_compile) 2>conftest.er1
27772 ac_status=$?
27773 grep -v '^ *+' conftest.er1 >conftest.err
27774 rm -f conftest.er1
27775 cat conftest.err >&5
27776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777 (exit $ac_status); } &&
27778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27780 (eval $ac_try) 2>&5
27781 ac_status=$?
27782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783 (exit $ac_status); }; } &&
27784 { ac_try='test -s conftest.$ac_objext'
27785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27786 (eval $ac_try) 2>&5
27787 ac_status=$?
27788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27789 (exit $ac_status); }; }; then
27790 ac_cv_type_boolean=yes
27791 else
27792 echo "$as_me: failed program was:" >&5
27793 sed 's/^/| /' conftest.$ac_ext >&5
27794
27795 ac_cv_type_boolean=no
27796 fi
27797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27798 fi
27799 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27800 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27801 if test $ac_cv_type_boolean = yes; then
27802
27803 cat >>confdefs.h <<_ACEOF
27804 #define HAVE_BOOLEAN 1
27805 _ACEOF
27806
27807
27808 echo "$as_me:$LINENO: checking for boolean" >&5
27809 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27810 if test "${ac_cv_type_boolean+set}" = set; then
27811 echo $ECHO_N "(cached) $ECHO_C" >&6
27812 else
27813 cat >conftest.$ac_ext <<_ACEOF
27814 /* confdefs.h. */
27815 _ACEOF
27816 cat confdefs.h >>conftest.$ac_ext
27817 cat >>conftest.$ac_ext <<_ACEOF
27818 /* end confdefs.h. */
27819
27820 #undef HAVE_BOOLEAN
27821 #include <stdio.h>
27822 #include <jpeglib.h>
27823
27824
27825 int
27826 main ()
27827 {
27828 if ((boolean *) 0)
27829 return 0;
27830 if (sizeof (boolean))
27831 return 0;
27832 ;
27833 return 0;
27834 }
27835 _ACEOF
27836 rm -f conftest.$ac_objext
27837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27838 (eval $ac_compile) 2>conftest.er1
27839 ac_status=$?
27840 grep -v '^ *+' conftest.er1 >conftest.err
27841 rm -f conftest.er1
27842 cat conftest.err >&5
27843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27844 (exit $ac_status); } &&
27845 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27847 (eval $ac_try) 2>&5
27848 ac_status=$?
27849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27850 (exit $ac_status); }; } &&
27851 { ac_try='test -s conftest.$ac_objext'
27852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27853 (eval $ac_try) 2>&5
27854 ac_status=$?
27855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27856 (exit $ac_status); }; }; then
27857 ac_cv_type_boolean=yes
27858 else
27859 echo "$as_me: failed program was:" >&5
27860 sed 's/^/| /' conftest.$ac_ext >&5
27861
27862 ac_cv_type_boolean=no
27863 fi
27864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27865 fi
27866 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27867 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27868
27869 echo "$as_me:$LINENO: checking size of boolean" >&5
27870 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
27871 if test "${ac_cv_sizeof_boolean+set}" = set; then
27872 echo $ECHO_N "(cached) $ECHO_C" >&6
27873 else
27874 if test "$ac_cv_type_boolean" = yes; then
27875 # The cast to unsigned long works around a bug in the HP C Compiler
27876 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27877 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27878 # This bug is HP SR number 8606223364.
27879 if test "$cross_compiling" = yes; then
27880 # Depending upon the size, compute the lo and hi bounds.
27881 cat >conftest.$ac_ext <<_ACEOF
27882 /* confdefs.h. */
27883 _ACEOF
27884 cat confdefs.h >>conftest.$ac_ext
27885 cat >>conftest.$ac_ext <<_ACEOF
27886 /* end confdefs.h. */
27887
27888 #undef HAVE_BOOLEAN
27889 #include <stdio.h>
27890 #include <jpeglib.h>
27891
27892
27893 int
27894 main ()
27895 {
27896 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
27897 test_array [0] = 0
27898
27899 ;
27900 return 0;
27901 }
27902 _ACEOF
27903 rm -f conftest.$ac_objext
27904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27905 (eval $ac_compile) 2>conftest.er1
27906 ac_status=$?
27907 grep -v '^ *+' conftest.er1 >conftest.err
27908 rm -f conftest.er1
27909 cat conftest.err >&5
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); } &&
27912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27914 (eval $ac_try) 2>&5
27915 ac_status=$?
27916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27917 (exit $ac_status); }; } &&
27918 { ac_try='test -s conftest.$ac_objext'
27919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27920 (eval $ac_try) 2>&5
27921 ac_status=$?
27922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27923 (exit $ac_status); }; }; then
27924 ac_lo=0 ac_mid=0
27925 while :; do
27926 cat >conftest.$ac_ext <<_ACEOF
27927 /* confdefs.h. */
27928 _ACEOF
27929 cat confdefs.h >>conftest.$ac_ext
27930 cat >>conftest.$ac_ext <<_ACEOF
27931 /* end confdefs.h. */
27932
27933 #undef HAVE_BOOLEAN
27934 #include <stdio.h>
27935 #include <jpeglib.h>
27936
27937
27938 int
27939 main ()
27940 {
27941 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
27942 test_array [0] = 0
27943
27944 ;
27945 return 0;
27946 }
27947 _ACEOF
27948 rm -f conftest.$ac_objext
27949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27950 (eval $ac_compile) 2>conftest.er1
27951 ac_status=$?
27952 grep -v '^ *+' conftest.er1 >conftest.err
27953 rm -f conftest.er1
27954 cat conftest.err >&5
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); } &&
27957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27959 (eval $ac_try) 2>&5
27960 ac_status=$?
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); }; } &&
27963 { ac_try='test -s conftest.$ac_objext'
27964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27965 (eval $ac_try) 2>&5
27966 ac_status=$?
27967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27968 (exit $ac_status); }; }; then
27969 ac_hi=$ac_mid; break
27970 else
27971 echo "$as_me: failed program was:" >&5
27972 sed 's/^/| /' conftest.$ac_ext >&5
27973
27974 ac_lo=`expr $ac_mid + 1`
27975 if test $ac_lo -le $ac_mid; then
27976 ac_lo= ac_hi=
27977 break
27978 fi
27979 ac_mid=`expr 2 '*' $ac_mid + 1`
27980 fi
27981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27982 done
27983 else
27984 echo "$as_me: failed program was:" >&5
27985 sed 's/^/| /' conftest.$ac_ext >&5
27986
27987 cat >conftest.$ac_ext <<_ACEOF
27988 /* confdefs.h. */
27989 _ACEOF
27990 cat confdefs.h >>conftest.$ac_ext
27991 cat >>conftest.$ac_ext <<_ACEOF
27992 /* end confdefs.h. */
27993
27994 #undef HAVE_BOOLEAN
27995 #include <stdio.h>
27996 #include <jpeglib.h>
27997
27998
27999 int
28000 main ()
28001 {
28002 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
28003 test_array [0] = 0
28004
28005 ;
28006 return 0;
28007 }
28008 _ACEOF
28009 rm -f conftest.$ac_objext
28010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28011 (eval $ac_compile) 2>conftest.er1
28012 ac_status=$?
28013 grep -v '^ *+' conftest.er1 >conftest.err
28014 rm -f conftest.er1
28015 cat conftest.err >&5
28016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28017 (exit $ac_status); } &&
28018 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28020 (eval $ac_try) 2>&5
28021 ac_status=$?
28022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28023 (exit $ac_status); }; } &&
28024 { ac_try='test -s conftest.$ac_objext'
28025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28026 (eval $ac_try) 2>&5
28027 ac_status=$?
28028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28029 (exit $ac_status); }; }; then
28030 ac_hi=-1 ac_mid=-1
28031 while :; do
28032 cat >conftest.$ac_ext <<_ACEOF
28033 /* confdefs.h. */
28034 _ACEOF
28035 cat confdefs.h >>conftest.$ac_ext
28036 cat >>conftest.$ac_ext <<_ACEOF
28037 /* end confdefs.h. */
28038
28039 #undef HAVE_BOOLEAN
28040 #include <stdio.h>
28041 #include <jpeglib.h>
28042
28043
28044 int
28045 main ()
28046 {
28047 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
28048 test_array [0] = 0
28049
28050 ;
28051 return 0;
28052 }
28053 _ACEOF
28054 rm -f conftest.$ac_objext
28055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28056 (eval $ac_compile) 2>conftest.er1
28057 ac_status=$?
28058 grep -v '^ *+' conftest.er1 >conftest.err
28059 rm -f conftest.er1
28060 cat conftest.err >&5
28061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28062 (exit $ac_status); } &&
28063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
28069 { ac_try='test -s conftest.$ac_objext'
28070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28071 (eval $ac_try) 2>&5
28072 ac_status=$?
28073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28074 (exit $ac_status); }; }; then
28075 ac_lo=$ac_mid; break
28076 else
28077 echo "$as_me: failed program was:" >&5
28078 sed 's/^/| /' conftest.$ac_ext >&5
28079
28080 ac_hi=`expr '(' $ac_mid ')' - 1`
28081 if test $ac_mid -le $ac_hi; then
28082 ac_lo= ac_hi=
28083 break
28084 fi
28085 ac_mid=`expr 2 '*' $ac_mid`
28086 fi
28087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28088 done
28089 else
28090 echo "$as_me: failed program was:" >&5
28091 sed 's/^/| /' conftest.$ac_ext >&5
28092
28093 ac_lo= ac_hi=
28094 fi
28095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28096 fi
28097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28098 # Binary search between lo and hi bounds.
28099 while test "x$ac_lo" != "x$ac_hi"; do
28100 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28101 cat >conftest.$ac_ext <<_ACEOF
28102 /* confdefs.h. */
28103 _ACEOF
28104 cat confdefs.h >>conftest.$ac_ext
28105 cat >>conftest.$ac_ext <<_ACEOF
28106 /* end confdefs.h. */
28107
28108 #undef HAVE_BOOLEAN
28109 #include <stdio.h>
28110 #include <jpeglib.h>
28111
28112
28113 int
28114 main ()
28115 {
28116 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
28117 test_array [0] = 0
28118
28119 ;
28120 return 0;
28121 }
28122 _ACEOF
28123 rm -f conftest.$ac_objext
28124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28125 (eval $ac_compile) 2>conftest.er1
28126 ac_status=$?
28127 grep -v '^ *+' conftest.er1 >conftest.err
28128 rm -f conftest.er1
28129 cat conftest.err >&5
28130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28131 (exit $ac_status); } &&
28132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28134 (eval $ac_try) 2>&5
28135 ac_status=$?
28136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28137 (exit $ac_status); }; } &&
28138 { ac_try='test -s conftest.$ac_objext'
28139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28140 (eval $ac_try) 2>&5
28141 ac_status=$?
28142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28143 (exit $ac_status); }; }; then
28144 ac_hi=$ac_mid
28145 else
28146 echo "$as_me: failed program was:" >&5
28147 sed 's/^/| /' conftest.$ac_ext >&5
28148
28149 ac_lo=`expr '(' $ac_mid ')' + 1`
28150 fi
28151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28152 done
28153 case $ac_lo in
28154 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28155 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
28156 See \`config.log' for more details." >&5
28157 echo "$as_me: error: cannot compute sizeof (boolean), 77
28158 See \`config.log' for more details." >&2;}
28159 { (exit 1); exit 1; }; } ;;
28160 esac
28161 else
28162 if test "$cross_compiling" = yes; then
28163 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
28164 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
28165 { (exit 1); exit 1; }; }
28166 else
28167 cat >conftest.$ac_ext <<_ACEOF
28168 /* confdefs.h. */
28169 _ACEOF
28170 cat confdefs.h >>conftest.$ac_ext
28171 cat >>conftest.$ac_ext <<_ACEOF
28172 /* end confdefs.h. */
28173
28174 #undef HAVE_BOOLEAN
28175 #include <stdio.h>
28176 #include <jpeglib.h>
28177
28178
28179 long longval () { return (long) (sizeof (boolean)); }
28180 unsigned long ulongval () { return (long) (sizeof (boolean)); }
28181 #include <stdio.h>
28182 #include <stdlib.h>
28183 int
28184 main ()
28185 {
28186
28187 FILE *f = fopen ("conftest.val", "w");
28188 if (! f)
28189 exit (1);
28190 if (((long) (sizeof (boolean))) < 0)
28191 {
28192 long i = longval ();
28193 if (i != ((long) (sizeof (boolean))))
28194 exit (1);
28195 fprintf (f, "%ld\n", i);
28196 }
28197 else
28198 {
28199 unsigned long i = ulongval ();
28200 if (i != ((long) (sizeof (boolean))))
28201 exit (1);
28202 fprintf (f, "%lu\n", i);
28203 }
28204 exit (ferror (f) || fclose (f) != 0);
28205
28206 ;
28207 return 0;
28208 }
28209 _ACEOF
28210 rm -f conftest$ac_exeext
28211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28212 (eval $ac_link) 2>&5
28213 ac_status=$?
28214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28217 (eval $ac_try) 2>&5
28218 ac_status=$?
28219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220 (exit $ac_status); }; }; then
28221 ac_cv_sizeof_boolean=`cat conftest.val`
28222 else
28223 echo "$as_me: program exited with status $ac_status" >&5
28224 echo "$as_me: failed program was:" >&5
28225 sed 's/^/| /' conftest.$ac_ext >&5
28226
28227 ( exit $ac_status )
28228 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
28229 See \`config.log' for more details." >&5
28230 echo "$as_me: error: cannot compute sizeof (boolean), 77
28231 See \`config.log' for more details." >&2;}
28232 { (exit 1); exit 1; }; }
28233 fi
28234 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28235 fi
28236 fi
28237 rm -f conftest.val
28238 else
28239 ac_cv_sizeof_boolean=0
28240 fi
28241 fi
28242 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
28243 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
28244 cat >>confdefs.h <<_ACEOF
28245 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
28246 _ACEOF
28247
28248
28249 cat >>confdefs.h <<_ACEOF
28250 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
28251 _ACEOF
28252
28253
28254 fi
28255
28256 fi
28257 fi
28258 fi
28259 fi
28260 fi
28261
28262
28263 TIFF_LINK=
28264 TIFF_PREREQ_LINKS=-lm
28265 if test "$wxUSE_LIBTIFF" != "no" ; then
28266 cat >>confdefs.h <<\_ACEOF
28267 #define wxUSE_LIBTIFF 1
28268 _ACEOF
28269
28270
28271 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
28272 if test "$wxUSE_LIBJPEG" = "sys"; then
28273 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
28274 fi
28275 if test "$wxUSE_ZLIB" = "sys"; then
28276 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
28277 fi
28278 echo "$as_me:$LINENO: checking for tiffio.h" >&5
28279 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
28280 if test "${ac_cv_header_tiffio_h+set}" = set; then
28281 echo $ECHO_N "(cached) $ECHO_C" >&6
28282 else
28283 cat >conftest.$ac_ext <<_ACEOF
28284 /* confdefs.h. */
28285 _ACEOF
28286 cat confdefs.h >>conftest.$ac_ext
28287 cat >>conftest.$ac_ext <<_ACEOF
28288 /* end confdefs.h. */
28289
28290
28291
28292 #include <tiffio.h>
28293 _ACEOF
28294 rm -f conftest.$ac_objext
28295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28296 (eval $ac_compile) 2>conftest.er1
28297 ac_status=$?
28298 grep -v '^ *+' conftest.er1 >conftest.err
28299 rm -f conftest.er1
28300 cat conftest.err >&5
28301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28302 (exit $ac_status); } &&
28303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28305 (eval $ac_try) 2>&5
28306 ac_status=$?
28307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28308 (exit $ac_status); }; } &&
28309 { ac_try='test -s conftest.$ac_objext'
28310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28311 (eval $ac_try) 2>&5
28312 ac_status=$?
28313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28314 (exit $ac_status); }; }; then
28315 ac_cv_header_tiffio_h=yes
28316 else
28317 echo "$as_me: failed program was:" >&5
28318 sed 's/^/| /' conftest.$ac_ext >&5
28319
28320 ac_cv_header_tiffio_h=no
28321 fi
28322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28323 fi
28324 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
28325 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
28326 if test $ac_cv_header_tiffio_h = yes; then
28327
28328 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
28329 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
28330 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
28331 echo $ECHO_N "(cached) $ECHO_C" >&6
28332 else
28333 ac_check_lib_save_LIBS=$LIBS
28334 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
28335 cat >conftest.$ac_ext <<_ACEOF
28336 /* confdefs.h. */
28337 _ACEOF
28338 cat confdefs.h >>conftest.$ac_ext
28339 cat >>conftest.$ac_ext <<_ACEOF
28340 /* end confdefs.h. */
28341
28342 /* Override any gcc2 internal prototype to avoid an error. */
28343 #ifdef __cplusplus
28344 extern "C"
28345 #endif
28346 /* We use char because int might match the return type of a gcc2
28347 builtin and then its argument prototype would still apply. */
28348 char TIFFError ();
28349 int
28350 main ()
28351 {
28352 TIFFError ();
28353 ;
28354 return 0;
28355 }
28356 _ACEOF
28357 rm -f conftest.$ac_objext conftest$ac_exeext
28358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28359 (eval $ac_link) 2>conftest.er1
28360 ac_status=$?
28361 grep -v '^ *+' conftest.er1 >conftest.err
28362 rm -f conftest.er1
28363 cat conftest.err >&5
28364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28365 (exit $ac_status); } &&
28366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28368 (eval $ac_try) 2>&5
28369 ac_status=$?
28370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28371 (exit $ac_status); }; } &&
28372 { ac_try='test -s conftest$ac_exeext'
28373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28374 (eval $ac_try) 2>&5
28375 ac_status=$?
28376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28377 (exit $ac_status); }; }; then
28378 ac_cv_lib_tiff_TIFFError=yes
28379 else
28380 echo "$as_me: failed program was:" >&5
28381 sed 's/^/| /' conftest.$ac_ext >&5
28382
28383 ac_cv_lib_tiff_TIFFError=no
28384 fi
28385 rm -f conftest.err conftest.$ac_objext \
28386 conftest$ac_exeext conftest.$ac_ext
28387 LIBS=$ac_check_lib_save_LIBS
28388 fi
28389 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
28390 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
28391 if test $ac_cv_lib_tiff_TIFFError = yes; then
28392 TIFF_LINK=" -ltiff"
28393 fi
28394
28395
28396 fi
28397
28398
28399
28400 if test "x$TIFF_LINK" = "x" ; then
28401 if test "$wxUSE_LIBTIFF" = "sys" ; then
28402 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
28403 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
28404 { (exit 1); exit 1; }; }
28405 else
28406 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
28407 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
28408 wxUSE_LIBTIFF=builtin
28409 fi
28410 else
28411 wxUSE_LIBTIFF=sys
28412 fi
28413 fi
28414 fi
28415
28416
28417 if test "$wxUSE_WCHAR_T" != "yes"; then
28418 if test "$wxUSE_EXPAT" != "no"; then
28419 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
28420 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
28421 wxUSE_EXPAT=no
28422 fi
28423 if test "$wxUSE_XML" != "no"; then
28424 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
28425 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
28426 wxUSE_XML=no
28427 fi
28428 fi
28429
28430 if test "$wxUSE_EXPAT" != "no"; then
28431 wxUSE_XML=yes
28432 cat >>confdefs.h <<\_ACEOF
28433 #define wxUSE_EXPAT 1
28434 _ACEOF
28435
28436 cat >>confdefs.h <<\_ACEOF
28437 #define wxUSE_XML 1
28438 _ACEOF
28439
28440
28441 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
28442 echo "$as_me:$LINENO: checking for expat.h" >&5
28443 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
28444 if test "${ac_cv_header_expat_h+set}" = set; then
28445 echo $ECHO_N "(cached) $ECHO_C" >&6
28446 else
28447 cat >conftest.$ac_ext <<_ACEOF
28448 /* confdefs.h. */
28449 _ACEOF
28450 cat confdefs.h >>conftest.$ac_ext
28451 cat >>conftest.$ac_ext <<_ACEOF
28452 /* end confdefs.h. */
28453
28454
28455 #include <expat.h>
28456 _ACEOF
28457 rm -f conftest.$ac_objext
28458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28459 (eval $ac_compile) 2>conftest.er1
28460 ac_status=$?
28461 grep -v '^ *+' conftest.er1 >conftest.err
28462 rm -f conftest.er1
28463 cat conftest.err >&5
28464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28465 (exit $ac_status); } &&
28466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28468 (eval $ac_try) 2>&5
28469 ac_status=$?
28470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28471 (exit $ac_status); }; } &&
28472 { ac_try='test -s conftest.$ac_objext'
28473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28474 (eval $ac_try) 2>&5
28475 ac_status=$?
28476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28477 (exit $ac_status); }; }; then
28478 ac_cv_header_expat_h=yes
28479 else
28480 echo "$as_me: failed program was:" >&5
28481 sed 's/^/| /' conftest.$ac_ext >&5
28482
28483 ac_cv_header_expat_h=no
28484 fi
28485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28486 fi
28487 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
28488 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
28489 if test $ac_cv_header_expat_h = yes; then
28490 found_expat_h=1
28491 fi
28492
28493
28494 if test "x$found_expat_h" = "x1"; then
28495 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
28496 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
28497 if test "${wx_cv_expat_is_not_broken+set}" = set; then
28498 echo $ECHO_N "(cached) $ECHO_C" >&6
28499 else
28500
28501 ac_ext=cc
28502 ac_cpp='$CXXCPP $CPPFLAGS'
28503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28506
28507 cat >conftest.$ac_ext <<_ACEOF
28508 /* confdefs.h. */
28509 _ACEOF
28510 cat confdefs.h >>conftest.$ac_ext
28511 cat >>conftest.$ac_ext <<_ACEOF
28512 /* end confdefs.h. */
28513 #include <expat.h>
28514 int
28515 main ()
28516 {
28517
28518 ;
28519 return 0;
28520 }
28521 _ACEOF
28522 rm -f conftest.$ac_objext
28523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28524 (eval $ac_compile) 2>conftest.er1
28525 ac_status=$?
28526 grep -v '^ *+' conftest.er1 >conftest.err
28527 rm -f conftest.er1
28528 cat conftest.err >&5
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); } &&
28531 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28533 (eval $ac_try) 2>&5
28534 ac_status=$?
28535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28536 (exit $ac_status); }; } &&
28537 { ac_try='test -s conftest.$ac_objext'
28538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28539 (eval $ac_try) 2>&5
28540 ac_status=$?
28541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28542 (exit $ac_status); }; }; then
28543 wx_cv_expat_is_not_broken=yes
28544 else
28545 echo "$as_me: failed program was:" >&5
28546 sed 's/^/| /' conftest.$ac_ext >&5
28547
28548 wx_cv_expat_is_not_broken=no
28549
28550 fi
28551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28552 ac_ext=c
28553 ac_cpp='$CPP $CPPFLAGS'
28554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28557
28558
28559
28560 fi
28561 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
28562 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
28563 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
28564 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
28565 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
28566 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
28567 echo $ECHO_N "(cached) $ECHO_C" >&6
28568 else
28569 ac_check_lib_save_LIBS=$LIBS
28570 LIBS="-lexpat $LIBS"
28571 cat >conftest.$ac_ext <<_ACEOF
28572 /* confdefs.h. */
28573 _ACEOF
28574 cat confdefs.h >>conftest.$ac_ext
28575 cat >>conftest.$ac_ext <<_ACEOF
28576 /* end confdefs.h. */
28577
28578 /* Override any gcc2 internal prototype to avoid an error. */
28579 #ifdef __cplusplus
28580 extern "C"
28581 #endif
28582 /* We use char because int might match the return type of a gcc2
28583 builtin and then its argument prototype would still apply. */
28584 char XML_ParserCreate ();
28585 int
28586 main ()
28587 {
28588 XML_ParserCreate ();
28589 ;
28590 return 0;
28591 }
28592 _ACEOF
28593 rm -f conftest.$ac_objext conftest$ac_exeext
28594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28595 (eval $ac_link) 2>conftest.er1
28596 ac_status=$?
28597 grep -v '^ *+' conftest.er1 >conftest.err
28598 rm -f conftest.er1
28599 cat conftest.err >&5
28600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28601 (exit $ac_status); } &&
28602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28604 (eval $ac_try) 2>&5
28605 ac_status=$?
28606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28607 (exit $ac_status); }; } &&
28608 { ac_try='test -s conftest$ac_exeext'
28609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28610 (eval $ac_try) 2>&5
28611 ac_status=$?
28612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613 (exit $ac_status); }; }; then
28614 ac_cv_lib_expat_XML_ParserCreate=yes
28615 else
28616 echo "$as_me: failed program was:" >&5
28617 sed 's/^/| /' conftest.$ac_ext >&5
28618
28619 ac_cv_lib_expat_XML_ParserCreate=no
28620 fi
28621 rm -f conftest.err conftest.$ac_objext \
28622 conftest$ac_exeext conftest.$ac_ext
28623 LIBS=$ac_check_lib_save_LIBS
28624 fi
28625 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
28626 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
28627 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
28628 EXPAT_LINK=" -lexpat"
28629 fi
28630
28631 fi
28632 fi
28633 if test "x$EXPAT_LINK" = "x" ; then
28634 if test "$wxUSE_EXPAT" = "sys" ; then
28635 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
28636 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
28637 { (exit 1); exit 1; }; }
28638 else
28639 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
28640 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
28641 wxUSE_EXPAT=builtin
28642 fi
28643 else
28644 wxUSE_EXPAT=sys
28645 fi
28646 fi
28647 if test "$wxUSE_EXPAT" = "builtin" ; then
28648
28649
28650 subdirs="$subdirs src/expat"
28651
28652 fi
28653 fi
28654
28655
28656
28657 if test "$wxUSE_LIBMSPACK" != "no"; then
28658 echo "$as_me:$LINENO: checking for mspack.h" >&5
28659 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
28660 if test "${ac_cv_header_mspack_h+set}" = set; then
28661 echo $ECHO_N "(cached) $ECHO_C" >&6
28662 else
28663 cat >conftest.$ac_ext <<_ACEOF
28664 /* confdefs.h. */
28665 _ACEOF
28666 cat confdefs.h >>conftest.$ac_ext
28667 cat >>conftest.$ac_ext <<_ACEOF
28668 /* end confdefs.h. */
28669
28670
28671 #include <mspack.h>
28672 _ACEOF
28673 rm -f conftest.$ac_objext
28674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28675 (eval $ac_compile) 2>conftest.er1
28676 ac_status=$?
28677 grep -v '^ *+' conftest.er1 >conftest.err
28678 rm -f conftest.er1
28679 cat conftest.err >&5
28680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28681 (exit $ac_status); } &&
28682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28684 (eval $ac_try) 2>&5
28685 ac_status=$?
28686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28687 (exit $ac_status); }; } &&
28688 { ac_try='test -s conftest.$ac_objext'
28689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28690 (eval $ac_try) 2>&5
28691 ac_status=$?
28692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28693 (exit $ac_status); }; }; then
28694 ac_cv_header_mspack_h=yes
28695 else
28696 echo "$as_me: failed program was:" >&5
28697 sed 's/^/| /' conftest.$ac_ext >&5
28698
28699 ac_cv_header_mspack_h=no
28700 fi
28701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28702 fi
28703 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
28704 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
28705 if test $ac_cv_header_mspack_h = yes; then
28706 found_mspack_h=1
28707 fi
28708
28709
28710 if test "x$found_mspack_h" = "x1"; then
28711 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
28712 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
28713 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
28714 echo $ECHO_N "(cached) $ECHO_C" >&6
28715 else
28716 ac_check_lib_save_LIBS=$LIBS
28717 LIBS="-lmspack $LIBS"
28718 cat >conftest.$ac_ext <<_ACEOF
28719 /* confdefs.h. */
28720 _ACEOF
28721 cat confdefs.h >>conftest.$ac_ext
28722 cat >>conftest.$ac_ext <<_ACEOF
28723 /* end confdefs.h. */
28724
28725 /* Override any gcc2 internal prototype to avoid an error. */
28726 #ifdef __cplusplus
28727 extern "C"
28728 #endif
28729 /* We use char because int might match the return type of a gcc2
28730 builtin and then its argument prototype would still apply. */
28731 char mspack_create_chm_decompressor ();
28732 int
28733 main ()
28734 {
28735 mspack_create_chm_decompressor ();
28736 ;
28737 return 0;
28738 }
28739 _ACEOF
28740 rm -f conftest.$ac_objext conftest$ac_exeext
28741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28742 (eval $ac_link) 2>conftest.er1
28743 ac_status=$?
28744 grep -v '^ *+' conftest.er1 >conftest.err
28745 rm -f conftest.er1
28746 cat conftest.err >&5
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); } &&
28749 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28751 (eval $ac_try) 2>&5
28752 ac_status=$?
28753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28754 (exit $ac_status); }; } &&
28755 { ac_try='test -s conftest$ac_exeext'
28756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28757 (eval $ac_try) 2>&5
28758 ac_status=$?
28759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28760 (exit $ac_status); }; }; then
28761 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
28762 else
28763 echo "$as_me: failed program was:" >&5
28764 sed 's/^/| /' conftest.$ac_ext >&5
28765
28766 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
28767 fi
28768 rm -f conftest.err conftest.$ac_objext \
28769 conftest$ac_exeext conftest.$ac_ext
28770 LIBS=$ac_check_lib_save_LIBS
28771 fi
28772 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
28773 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
28774 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
28775 MSPACK_LINK=" -lmspack"
28776 fi
28777
28778 fi
28779 if test "x$MSPACK_LINK" = "x" ; then
28780 wxUSE_LIBMSPACK=no
28781 fi
28782 fi
28783
28784 if test "$wxUSE_LIBMSPACK" != "no"; then
28785 cat >>confdefs.h <<\_ACEOF
28786 #define wxUSE_LIBMSPACK 1
28787 _ACEOF
28788
28789 fi
28790
28791
28792
28793 AFMINSTALL=
28794 WIN32INSTALL=
28795
28796 TOOLKIT=
28797 TOOLKIT_INCLUDE=
28798 WIDGET_SET=
28799
28800 if test "$USE_WIN32" = 1 ; then
28801 echo "$as_me:$LINENO: checking for w32api.h" >&5
28802 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6
28803 if test "${ac_cv_header_w32api_h+set}" = set; then
28804 echo $ECHO_N "(cached) $ECHO_C" >&6
28805 else
28806 cat >conftest.$ac_ext <<_ACEOF
28807 /* confdefs.h. */
28808 _ACEOF
28809 cat confdefs.h >>conftest.$ac_ext
28810 cat >>conftest.$ac_ext <<_ACEOF
28811 /* end confdefs.h. */
28812
28813
28814 #include <w32api.h>
28815 _ACEOF
28816 rm -f conftest.$ac_objext
28817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28818 (eval $ac_compile) 2>conftest.er1
28819 ac_status=$?
28820 grep -v '^ *+' conftest.er1 >conftest.err
28821 rm -f conftest.er1
28822 cat conftest.err >&5
28823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28824 (exit $ac_status); } &&
28825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28827 (eval $ac_try) 2>&5
28828 ac_status=$?
28829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28830 (exit $ac_status); }; } &&
28831 { ac_try='test -s conftest.$ac_objext'
28832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28833 (eval $ac_try) 2>&5
28834 ac_status=$?
28835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836 (exit $ac_status); }; }; then
28837 ac_cv_header_w32api_h=yes
28838 else
28839 echo "$as_me: failed program was:" >&5
28840 sed 's/^/| /' conftest.$ac_ext >&5
28841
28842 ac_cv_header_w32api_h=no
28843 fi
28844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28845 fi
28846 echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
28847 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6
28848
28849
28850 echo "$as_me:$LINENO: checking for windows.h" >&5
28851 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
28852 if test "${ac_cv_header_windows_h+set}" = set; then
28853 echo $ECHO_N "(cached) $ECHO_C" >&6
28854 else
28855 cat >conftest.$ac_ext <<_ACEOF
28856 /* confdefs.h. */
28857 _ACEOF
28858 cat confdefs.h >>conftest.$ac_ext
28859 cat >>conftest.$ac_ext <<_ACEOF
28860 /* end confdefs.h. */
28861
28862
28863 #include <windows.h>
28864 _ACEOF
28865 rm -f conftest.$ac_objext
28866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28867 (eval $ac_compile) 2>conftest.er1
28868 ac_status=$?
28869 grep -v '^ *+' conftest.er1 >conftest.err
28870 rm -f conftest.er1
28871 cat conftest.err >&5
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); } &&
28874 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28876 (eval $ac_try) 2>&5
28877 ac_status=$?
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); }; } &&
28880 { ac_try='test -s conftest.$ac_objext'
28881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28882 (eval $ac_try) 2>&5
28883 ac_status=$?
28884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28885 (exit $ac_status); }; }; then
28886 ac_cv_header_windows_h=yes
28887 else
28888 echo "$as_me: failed program was:" >&5
28889 sed 's/^/| /' conftest.$ac_ext >&5
28890
28891 ac_cv_header_windows_h=no
28892 fi
28893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28894 fi
28895 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28896 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
28897 if test $ac_cv_header_windows_h = yes; then
28898 :
28899 else
28900
28901 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28902 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28903 { (exit 1); exit 1; }; }
28904
28905 fi
28906
28907
28908
28909 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28910
28911 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28912 LIBS="$LIBS -loleacc"
28913 fi
28914
28915 case "${host}" in
28916 *-*-cygwin* )
28917 LIBS="$LIBS -lkernel32 -luser32"
28918 esac
28919
28920 if test "$wxUSE_ODBC" = "sys" ; then
28921 wxUSE_ODBC = "yes"
28922 fi
28923 if test "$wxUSE_ODBC" = "yes" ; then
28924 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
28925 cat >>confdefs.h <<\_ACEOF
28926 #define wxUSE_ODBC 1
28927 _ACEOF
28928
28929 fi
28930
28931 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28932 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28933
28934 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28935
28936 WIN32INSTALL=win32install
28937
28938 echo "$as_me:$LINENO: checking for pbt.h" >&5
28939 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6
28940 if test "${ac_cv_header_pbt_h+set}" = set; then
28941 echo $ECHO_N "(cached) $ECHO_C" >&6
28942 else
28943 cat >conftest.$ac_ext <<_ACEOF
28944 /* confdefs.h. */
28945 _ACEOF
28946 cat confdefs.h >>conftest.$ac_ext
28947 cat >>conftest.$ac_ext <<_ACEOF
28948 /* end confdefs.h. */
28949
28950
28951 #include <pbt.h>
28952 _ACEOF
28953 rm -f conftest.$ac_objext
28954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28955 (eval $ac_compile) 2>conftest.er1
28956 ac_status=$?
28957 grep -v '^ *+' conftest.er1 >conftest.err
28958 rm -f conftest.er1
28959 cat conftest.err >&5
28960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28961 (exit $ac_status); } &&
28962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28964 (eval $ac_try) 2>&5
28965 ac_status=$?
28966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28967 (exit $ac_status); }; } &&
28968 { ac_try='test -s conftest.$ac_objext'
28969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28970 (eval $ac_try) 2>&5
28971 ac_status=$?
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); }; }; then
28974 ac_cv_header_pbt_h=yes
28975 else
28976 echo "$as_me: failed program was:" >&5
28977 sed 's/^/| /' conftest.$ac_ext >&5
28978
28979 ac_cv_header_pbt_h=no
28980 fi
28981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28982 fi
28983 echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28984 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6
28985 if test $ac_cv_header_pbt_h = yes; then
28986 :
28987 else
28988 cat >>confdefs.h <<\_ACEOF
28989 #define NEED_PBT_H 1
28990 _ACEOF
28991
28992 fi
28993
28994
28995 fi
28996
28997 if test "$wxUSE_GUI" = "yes"; then
28998 USE_GUI=1
28999
29000 GUI_TK_LIBRARY=
29001
29002 WXGTK12=
29003 WXGTK127=
29004 WXGTK20=
29005 WXGPE=
29006
29007 if test "$wxUSE_COCOA" = 1 ; then
29008 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29009 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29010 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29011 wxUSE_PRINTING_ARCHITECTURE=no
29012 fi
29013 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29014 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29015 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29016 wxUSE_DRAG_AND_DROP=no
29017 fi
29018 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29019 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29020 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29021 wxUSE_DRAGIMAGE=no
29022 fi
29023 fi
29024
29025 if test "$wxUSE_MSW" = 1 ; then
29026 TOOLKIT=MSW
29027 GUIDIST=MSW_DIST
29028
29029 case "${host}" in
29030 *-*-mingw32* )
29031 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29032 esac
29033 fi
29034
29035 if test "$wxUSE_GTK" = 1; then
29036 echo "$as_me:$LINENO: checking for GTK+ version" >&5
29037 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
29038
29039 gtk_version_cached=1
29040 if test "${wx_cv_lib_gtk+set}" = set; then
29041 echo $ECHO_N "(cached) $ECHO_C" >&6
29042 else
29043
29044 gtk_version_cached=0
29045 echo "$as_me:$LINENO: result: " >&5
29046 echo "${ECHO_T}" >&6
29047
29048 GTK_MODULES=
29049 if test "$wxUSE_THREADS" = "yes"; then
29050 GTK_MODULES=gthread
29051 fi
29052
29053 wx_cv_lib_gtk=
29054 if test "x$wxGTK_VERSION" != "x1"
29055 then
29056 case "${host}" in
29057 *-*-solaris2* )
29058 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29059 enable_gtktest=no
29060 fi
29061 esac
29062
29063 # Check whether --enable-gtktest or --disable-gtktest was given.
29064 if test "${enable_gtktest+set}" = set; then
29065 enableval="$enable_gtktest"
29066
29067 else
29068 enable_gtktest=yes
29069 fi;
29070
29071 pkg_config_args=gtk+-2.0
29072 for module in . $GTK_MODULES
29073 do
29074 case "$module" in
29075 gthread)
29076 pkg_config_args="$pkg_config_args gthread-2.0"
29077 ;;
29078 esac
29079 done
29080
29081 no_gtk=""
29082
29083 # Extract the first word of "pkg-config", so it can be a program name with args.
29084 set dummy pkg-config; ac_word=$2
29085 echo "$as_me:$LINENO: checking for $ac_word" >&5
29086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29087 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29088 echo $ECHO_N "(cached) $ECHO_C" >&6
29089 else
29090 case $PKG_CONFIG in
29091 [\\/]* | ?:[\\/]*)
29092 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29093 ;;
29094 *)
29095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29096 for as_dir in $PATH
29097 do
29098 IFS=$as_save_IFS
29099 test -z "$as_dir" && as_dir=.
29100 for ac_exec_ext in '' $ac_executable_extensions; do
29101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29102 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29104 break 2
29105 fi
29106 done
29107 done
29108
29109 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29110 ;;
29111 esac
29112 fi
29113 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29114
29115 if test -n "$PKG_CONFIG"; then
29116 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29117 echo "${ECHO_T}$PKG_CONFIG" >&6
29118 else
29119 echo "$as_me:$LINENO: result: no" >&5
29120 echo "${ECHO_T}no" >&6
29121 fi
29122
29123
29124 if test x$PKG_CONFIG != xno ; then
29125 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29126 :
29127 else
29128 echo "*** pkg-config too old; version 0.7 or better required."
29129 no_gtk=yes
29130 PKG_CONFIG=no
29131 fi
29132 else
29133 no_gtk=yes
29134 fi
29135
29136 min_gtk_version=2.0.0
29137 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29138 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
29139
29140 if test x$PKG_CONFIG != xno ; then
29141 ## don't try to run the test against uninstalled libtool libs
29142 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29143 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29144 enable_gtktest=no
29145 fi
29146
29147 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29148 :
29149 else
29150 no_gtk=yes
29151 fi
29152 fi
29153
29154 if test x"$no_gtk" = x ; then
29155 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29156 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29157 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29158 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29159 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29160 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29161 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29162 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29163 if test "x$enable_gtktest" = "xyes" ; then
29164 ac_save_CFLAGS="$CFLAGS"
29165 ac_save_LIBS="$LIBS"
29166 CFLAGS="$CFLAGS $GTK_CFLAGS"
29167 LIBS="$GTK_LIBS $LIBS"
29168 rm -f conf.gtktest
29169 if test "$cross_compiling" = yes; then
29170 echo $ac_n "cross compiling; assumed OK... $ac_c"
29171 else
29172 cat >conftest.$ac_ext <<_ACEOF
29173 /* confdefs.h. */
29174 _ACEOF
29175 cat confdefs.h >>conftest.$ac_ext
29176 cat >>conftest.$ac_ext <<_ACEOF
29177 /* end confdefs.h. */
29178
29179 #include <gtk/gtk.h>
29180 #include <stdio.h>
29181 #include <stdlib.h>
29182
29183 int
29184 main ()
29185 {
29186 int major, minor, micro;
29187 char *tmp_version;
29188
29189 system ("touch conf.gtktest");
29190
29191 /* HP/UX 9 (%@#!) writes to sscanf strings */
29192 tmp_version = g_strdup("$min_gtk_version");
29193 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29194 printf("%s, bad version string\n", "$min_gtk_version");
29195 exit(1);
29196 }
29197
29198 if ((gtk_major_version != $gtk_config_major_version) ||
29199 (gtk_minor_version != $gtk_config_minor_version) ||
29200 (gtk_micro_version != $gtk_config_micro_version))
29201 {
29202 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29203 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29204 gtk_major_version, gtk_minor_version, gtk_micro_version);
29205 printf ("*** was found! If pkg-config was correct, then it is best\n");
29206 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29207 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29208 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29209 printf("*** required on your system.\n");
29210 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
29211 printf("*** to point to the correct configuration files\n");
29212 }
29213 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29214 (gtk_minor_version != GTK_MINOR_VERSION) ||
29215 (gtk_micro_version != GTK_MICRO_VERSION))
29216 {
29217 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29218 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29219 printf("*** library (version %d.%d.%d)\n",
29220 gtk_major_version, gtk_minor_version, gtk_micro_version);
29221 }
29222 else
29223 {
29224 if ((gtk_major_version > major) ||
29225 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29226 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29227 {
29228 return 0;
29229 }
29230 else
29231 {
29232 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29233 gtk_major_version, gtk_minor_version, gtk_micro_version);
29234 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29235 major, minor, micro);
29236 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29237 printf("***\n");
29238 printf("*** If you have already installed a sufficiently new version, this error\n");
29239 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
29240 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29241 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
29242 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
29243 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29244 printf("*** so that the correct libraries are found at run-time))\n");
29245 }
29246 }
29247 return 1;
29248 }
29249
29250 _ACEOF
29251 rm -f conftest$ac_exeext
29252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29253 (eval $ac_link) 2>&5
29254 ac_status=$?
29255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29256 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29258 (eval $ac_try) 2>&5
29259 ac_status=$?
29260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29261 (exit $ac_status); }; }; then
29262 :
29263 else
29264 echo "$as_me: program exited with status $ac_status" >&5
29265 echo "$as_me: failed program was:" >&5
29266 sed 's/^/| /' conftest.$ac_ext >&5
29267
29268 ( exit $ac_status )
29269 no_gtk=yes
29270 fi
29271 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29272 fi
29273 CFLAGS="$ac_save_CFLAGS"
29274 LIBS="$ac_save_LIBS"
29275 fi
29276 fi
29277 if test "x$no_gtk" = x ; then
29278 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
29279 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
29280 wx_cv_lib_gtk=2.0
29281 else
29282 echo "$as_me:$LINENO: result: no" >&5
29283 echo "${ECHO_T}no" >&6
29284 if test "$PKG_CONFIG" = "no" ; then
29285 echo "*** A new enough version of pkg-config was not found."
29286 echo "*** See http://pkgconfig.sourceforge.net"
29287 else
29288 if test -f conf.gtktest ; then
29289 :
29290 else
29291 echo "*** Could not run GTK+ test program, checking why..."
29292 ac_save_CFLAGS="$CFLAGS"
29293 ac_save_LIBS="$LIBS"
29294 CFLAGS="$CFLAGS $GTK_CFLAGS"
29295 LIBS="$LIBS $GTK_LIBS"
29296 cat >conftest.$ac_ext <<_ACEOF
29297 /* confdefs.h. */
29298 _ACEOF
29299 cat confdefs.h >>conftest.$ac_ext
29300 cat >>conftest.$ac_ext <<_ACEOF
29301 /* end confdefs.h. */
29302
29303 #include <gtk/gtk.h>
29304 #include <stdio.h>
29305
29306 int
29307 main ()
29308 {
29309 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29310 ;
29311 return 0;
29312 }
29313 _ACEOF
29314 rm -f conftest.$ac_objext conftest$ac_exeext
29315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29316 (eval $ac_link) 2>conftest.er1
29317 ac_status=$?
29318 grep -v '^ *+' conftest.er1 >conftest.err
29319 rm -f conftest.er1
29320 cat conftest.err >&5
29321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29322 (exit $ac_status); } &&
29323 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29325 (eval $ac_try) 2>&5
29326 ac_status=$?
29327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29328 (exit $ac_status); }; } &&
29329 { ac_try='test -s conftest$ac_exeext'
29330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29331 (eval $ac_try) 2>&5
29332 ac_status=$?
29333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29334 (exit $ac_status); }; }; then
29335 echo "*** The test program compiled, but did not run. This usually means"
29336 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
29337 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
29338 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29339 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29340 echo "*** is required on your system"
29341 echo "***"
29342 echo "*** If you have an old version installed, it is best to remove it, although"
29343 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29344 else
29345 echo "$as_me: failed program was:" >&5
29346 sed 's/^/| /' conftest.$ac_ext >&5
29347
29348 echo "*** The test program failed to compile or link. See the file config.log for the"
29349 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
29350 fi
29351 rm -f conftest.err conftest.$ac_objext \
29352 conftest$ac_exeext conftest.$ac_ext
29353 CFLAGS="$ac_save_CFLAGS"
29354 LIBS="$ac_save_LIBS"
29355 fi
29356 fi
29357 GTK_CFLAGS=""
29358 GTK_LIBS=""
29359 :
29360 fi
29361
29362
29363 rm -f conf.gtktest
29364
29365
29366 case "${host}" in
29367 *-*-solaris2* )
29368 if test "$wxUSE_SHARED" != "yes"; then
29369 GTK_LIBS="$GTK_LIBS -lX11"
29370 fi
29371 esac
29372 fi
29373
29374 if test -z "$wx_cv_lib_gtk"; then
29375 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
29376
29377 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
29378 if test "${with_gtk_prefix+set}" = set; then
29379 withval="$with_gtk_prefix"
29380 gtk_config_prefix="$withval"
29381 else
29382 gtk_config_prefix=""
29383 fi;
29384
29385 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
29386 if test "${with_gtk_exec_prefix+set}" = set; then
29387 withval="$with_gtk_exec_prefix"
29388 gtk_config_exec_prefix="$withval"
29389 else
29390 gtk_config_exec_prefix=""
29391 fi;
29392 # Check whether --enable-gtktest or --disable-gtktest was given.
29393 if test "${enable_gtktest+set}" = set; then
29394 enableval="$enable_gtktest"
29395
29396 else
29397 enable_gtktest=yes
29398 fi;
29399
29400 for module in . $GTK_MODULES
29401 do
29402 case "$module" in
29403 gthread)
29404 gtk_config_args="$gtk_config_args gthread"
29405 ;;
29406 esac
29407 done
29408
29409 if test x$gtk_config_exec_prefix != x ; then
29410 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29411 if test x${GTK_CONFIG+set} != xset ; then
29412 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29413 fi
29414 fi
29415 if test x$gtk_config_prefix != x ; then
29416 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29417 if test x${GTK_CONFIG+set} != xset ; then
29418 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29419 fi
29420 fi
29421
29422 # Extract the first word of "gtk-config", so it can be a program name with args.
29423 set dummy gtk-config; ac_word=$2
29424 echo "$as_me:$LINENO: checking for $ac_word" >&5
29425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29426 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29427 echo $ECHO_N "(cached) $ECHO_C" >&6
29428 else
29429 case $GTK_CONFIG in
29430 [\\/]* | ?:[\\/]*)
29431 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29432 ;;
29433 *)
29434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29435 for as_dir in $PATH
29436 do
29437 IFS=$as_save_IFS
29438 test -z "$as_dir" && as_dir=.
29439 for ac_exec_ext in '' $ac_executable_extensions; do
29440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29441 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29443 break 2
29444 fi
29445 done
29446 done
29447
29448 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29449 ;;
29450 esac
29451 fi
29452 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29453
29454 if test -n "$GTK_CONFIG"; then
29455 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29456 echo "${ECHO_T}$GTK_CONFIG" >&6
29457 else
29458 echo "$as_me:$LINENO: result: no" >&5
29459 echo "${ECHO_T}no" >&6
29460 fi
29461
29462 min_gtk_version=1.2.7
29463 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29464 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
29465 no_gtk=""
29466 if test "$GTK_CONFIG" = "no" ; then
29467 no_gtk=yes
29468 else
29469 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29470 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29471 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29472 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29473 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29474 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29475 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29476 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29477 if test "x$enable_gtktest" = "xyes" ; then
29478 ac_save_CFLAGS="$CFLAGS"
29479 ac_save_LIBS="$LIBS"
29480 CFLAGS="$CFLAGS $GTK_CFLAGS"
29481 LIBS="$GTK_LIBS $LIBS"
29482 rm -f conf.gtktest
29483 if test "$cross_compiling" = yes; then
29484 echo $ac_n "cross compiling; assumed OK... $ac_c"
29485 else
29486 cat >conftest.$ac_ext <<_ACEOF
29487 /* confdefs.h. */
29488 _ACEOF
29489 cat confdefs.h >>conftest.$ac_ext
29490 cat >>conftest.$ac_ext <<_ACEOF
29491 /* end confdefs.h. */
29492
29493 #include <gtk/gtk.h>
29494 #include <stdio.h>
29495 #include <stdlib.h>
29496
29497 int
29498 main ()
29499 {
29500 int major, minor, micro;
29501 char *tmp_version;
29502
29503 system ("touch conf.gtktest");
29504
29505 /* HP/UX 9 (%@#!) writes to sscanf strings */
29506 tmp_version = g_strdup("$min_gtk_version");
29507 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29508 printf("%s, bad version string\n", "$min_gtk_version");
29509 exit(1);
29510 }
29511
29512 if ((gtk_major_version != $gtk_config_major_version) ||
29513 (gtk_minor_version != $gtk_config_minor_version) ||
29514 (gtk_micro_version != $gtk_config_micro_version))
29515 {
29516 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29517 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29518 gtk_major_version, gtk_minor_version, gtk_micro_version);
29519 printf ("*** was found! If gtk-config was correct, then it is best\n");
29520 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29521 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29522 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29523 printf("*** required on your system.\n");
29524 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29525 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29526 printf("*** before re-running configure\n");
29527 }
29528 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29529 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29530 (gtk_minor_version != GTK_MINOR_VERSION) ||
29531 (gtk_micro_version != GTK_MICRO_VERSION))
29532 {
29533 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29534 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29535 printf("*** library (version %d.%d.%d)\n",
29536 gtk_major_version, gtk_minor_version, gtk_micro_version);
29537 }
29538 #endif /* defined (GTK_MAJOR_VERSION) ... */
29539 else
29540 {
29541 if ((gtk_major_version > major) ||
29542 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29543 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29544 {
29545 return 0;
29546 }
29547 else
29548 {
29549 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29550 gtk_major_version, gtk_minor_version, gtk_micro_version);
29551 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29552 major, minor, micro);
29553 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29554 printf("***\n");
29555 printf("*** If you have already installed a sufficiently new version, this error\n");
29556 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29557 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29558 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29559 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29560 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29561 printf("*** so that the correct libraries are found at run-time))\n");
29562 }
29563 }
29564 return 1;
29565 }
29566
29567 _ACEOF
29568 rm -f conftest$ac_exeext
29569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29570 (eval $ac_link) 2>&5
29571 ac_status=$?
29572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29575 (eval $ac_try) 2>&5
29576 ac_status=$?
29577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29578 (exit $ac_status); }; }; then
29579 :
29580 else
29581 echo "$as_me: program exited with status $ac_status" >&5
29582 echo "$as_me: failed program was:" >&5
29583 sed 's/^/| /' conftest.$ac_ext >&5
29584
29585 ( exit $ac_status )
29586 no_gtk=yes
29587 fi
29588 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29589 fi
29590 CFLAGS="$ac_save_CFLAGS"
29591 LIBS="$ac_save_LIBS"
29592 fi
29593 fi
29594 if test "x$no_gtk" = x ; then
29595 echo "$as_me:$LINENO: result: yes" >&5
29596 echo "${ECHO_T}yes" >&6
29597 wx_cv_lib_gtk=1.2.7
29598 else
29599 echo "$as_me:$LINENO: result: no" >&5
29600 echo "${ECHO_T}no" >&6
29601 if test "$GTK_CONFIG" = "no" ; then
29602 echo "*** The gtk-config script installed by GTK could not be found"
29603 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29604 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29605 echo "*** full path to gtk-config."
29606 else
29607 if test -f conf.gtktest ; then
29608 :
29609 else
29610 echo "*** Could not run GTK test program, checking why..."
29611 CFLAGS="$CFLAGS $GTK_CFLAGS"
29612 LIBS="$LIBS $GTK_LIBS"
29613 cat >conftest.$ac_ext <<_ACEOF
29614 /* confdefs.h. */
29615 _ACEOF
29616 cat confdefs.h >>conftest.$ac_ext
29617 cat >>conftest.$ac_ext <<_ACEOF
29618 /* end confdefs.h. */
29619
29620 #include <gtk/gtk.h>
29621 #include <stdio.h>
29622
29623 int
29624 main ()
29625 {
29626 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29627 ;
29628 return 0;
29629 }
29630 _ACEOF
29631 rm -f conftest.$ac_objext conftest$ac_exeext
29632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29633 (eval $ac_link) 2>conftest.er1
29634 ac_status=$?
29635 grep -v '^ *+' conftest.er1 >conftest.err
29636 rm -f conftest.er1
29637 cat conftest.err >&5
29638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29639 (exit $ac_status); } &&
29640 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29642 (eval $ac_try) 2>&5
29643 ac_status=$?
29644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29645 (exit $ac_status); }; } &&
29646 { ac_try='test -s conftest$ac_exeext'
29647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29648 (eval $ac_try) 2>&5
29649 ac_status=$?
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); }; }; then
29652 echo "*** The test program compiled, but did not run. This usually means"
29653 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29654 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29655 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29656 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29657 echo "*** is required on your system"
29658 echo "***"
29659 echo "*** If you have an old version installed, it is best to remove it, although"
29660 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29661 echo "***"
29662 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29663 echo "*** came with the system with the command"
29664 echo "***"
29665 echo "*** rpm --erase --nodeps gtk gtk-devel"
29666 else
29667 echo "$as_me: failed program was:" >&5
29668 sed 's/^/| /' conftest.$ac_ext >&5
29669
29670 echo "*** The test program failed to compile or link. See the file config.log for the"
29671 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29672 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29673 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29674 fi
29675 rm -f conftest.err conftest.$ac_objext \
29676 conftest$ac_exeext conftest.$ac_ext
29677 CFLAGS="$ac_save_CFLAGS"
29678 LIBS="$ac_save_LIBS"
29679 fi
29680 fi
29681 GTK_CFLAGS=""
29682 GTK_LIBS=""
29683 :
29684 fi
29685
29686
29687 rm -f conf.gtktest
29688
29689
29690 if test -z "$wx_cv_lib_gtk"; then
29691
29692 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
29693 if test "${with_gtk_prefix+set}" = set; then
29694 withval="$with_gtk_prefix"
29695 gtk_config_prefix="$withval"
29696 else
29697 gtk_config_prefix=""
29698 fi;
29699
29700 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
29701 if test "${with_gtk_exec_prefix+set}" = set; then
29702 withval="$with_gtk_exec_prefix"
29703 gtk_config_exec_prefix="$withval"
29704 else
29705 gtk_config_exec_prefix=""
29706 fi;
29707 # Check whether --enable-gtktest or --disable-gtktest was given.
29708 if test "${enable_gtktest+set}" = set; then
29709 enableval="$enable_gtktest"
29710
29711 else
29712 enable_gtktest=yes
29713 fi;
29714
29715 for module in . $GTK_MODULES
29716 do
29717 case "$module" in
29718 gthread)
29719 gtk_config_args="$gtk_config_args gthread"
29720 ;;
29721 esac
29722 done
29723
29724 if test x$gtk_config_exec_prefix != x ; then
29725 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
29726 if test x${GTK_CONFIG+set} != xset ; then
29727 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
29728 fi
29729 fi
29730 if test x$gtk_config_prefix != x ; then
29731 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
29732 if test x${GTK_CONFIG+set} != xset ; then
29733 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
29734 fi
29735 fi
29736
29737 # Extract the first word of "gtk-config", so it can be a program name with args.
29738 set dummy gtk-config; ac_word=$2
29739 echo "$as_me:$LINENO: checking for $ac_word" >&5
29740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29741 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
29742 echo $ECHO_N "(cached) $ECHO_C" >&6
29743 else
29744 case $GTK_CONFIG in
29745 [\\/]* | ?:[\\/]*)
29746 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
29747 ;;
29748 *)
29749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29750 for as_dir in $PATH
29751 do
29752 IFS=$as_save_IFS
29753 test -z "$as_dir" && as_dir=.
29754 for ac_exec_ext in '' $ac_executable_extensions; do
29755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29756 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29758 break 2
29759 fi
29760 done
29761 done
29762
29763 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
29764 ;;
29765 esac
29766 fi
29767 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
29768
29769 if test -n "$GTK_CONFIG"; then
29770 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
29771 echo "${ECHO_T}$GTK_CONFIG" >&6
29772 else
29773 echo "$as_me:$LINENO: result: no" >&5
29774 echo "${ECHO_T}no" >&6
29775 fi
29776
29777 min_gtk_version=1.2.3
29778 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
29779 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
29780 no_gtk=""
29781 if test "$GTK_CONFIG" = "no" ; then
29782 no_gtk=yes
29783 else
29784 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
29785 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
29786 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
29787 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29788 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
29789 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29790 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
29791 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29792 if test "x$enable_gtktest" = "xyes" ; then
29793 ac_save_CFLAGS="$CFLAGS"
29794 ac_save_LIBS="$LIBS"
29795 CFLAGS="$CFLAGS $GTK_CFLAGS"
29796 LIBS="$GTK_LIBS $LIBS"
29797 rm -f conf.gtktest
29798 if test "$cross_compiling" = yes; then
29799 echo $ac_n "cross compiling; assumed OK... $ac_c"
29800 else
29801 cat >conftest.$ac_ext <<_ACEOF
29802 /* confdefs.h. */
29803 _ACEOF
29804 cat confdefs.h >>conftest.$ac_ext
29805 cat >>conftest.$ac_ext <<_ACEOF
29806 /* end confdefs.h. */
29807
29808 #include <gtk/gtk.h>
29809 #include <stdio.h>
29810 #include <stdlib.h>
29811
29812 int
29813 main ()
29814 {
29815 int major, minor, micro;
29816 char *tmp_version;
29817
29818 system ("touch conf.gtktest");
29819
29820 /* HP/UX 9 (%@#!) writes to sscanf strings */
29821 tmp_version = g_strdup("$min_gtk_version");
29822 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29823 printf("%s, bad version string\n", "$min_gtk_version");
29824 exit(1);
29825 }
29826
29827 if ((gtk_major_version != $gtk_config_major_version) ||
29828 (gtk_minor_version != $gtk_config_minor_version) ||
29829 (gtk_micro_version != $gtk_config_micro_version))
29830 {
29831 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29832 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29833 gtk_major_version, gtk_minor_version, gtk_micro_version);
29834 printf ("*** was found! If gtk-config was correct, then it is best\n");
29835 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29836 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29837 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29838 printf("*** required on your system.\n");
29839 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29840 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29841 printf("*** before re-running configure\n");
29842 }
29843 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29844 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29845 (gtk_minor_version != GTK_MINOR_VERSION) ||
29846 (gtk_micro_version != GTK_MICRO_VERSION))
29847 {
29848 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29849 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29850 printf("*** library (version %d.%d.%d)\n",
29851 gtk_major_version, gtk_minor_version, gtk_micro_version);
29852 }
29853 #endif /* defined (GTK_MAJOR_VERSION) ... */
29854 else
29855 {
29856 if ((gtk_major_version > major) ||
29857 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29858 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29859 {
29860 return 0;
29861 }
29862 else
29863 {
29864 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29865 gtk_major_version, gtk_minor_version, gtk_micro_version);
29866 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29867 major, minor, micro);
29868 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29869 printf("***\n");
29870 printf("*** If you have already installed a sufficiently new version, this error\n");
29871 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29872 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29873 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29874 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29875 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29876 printf("*** so that the correct libraries are found at run-time))\n");
29877 }
29878 }
29879 return 1;
29880 }
29881
29882 _ACEOF
29883 rm -f conftest$ac_exeext
29884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29885 (eval $ac_link) 2>&5
29886 ac_status=$?
29887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29888 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29890 (eval $ac_try) 2>&5
29891 ac_status=$?
29892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29893 (exit $ac_status); }; }; then
29894 :
29895 else
29896 echo "$as_me: program exited with status $ac_status" >&5
29897 echo "$as_me: failed program was:" >&5
29898 sed 's/^/| /' conftest.$ac_ext >&5
29899
29900 ( exit $ac_status )
29901 no_gtk=yes
29902 fi
29903 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29904 fi
29905 CFLAGS="$ac_save_CFLAGS"
29906 LIBS="$ac_save_LIBS"
29907 fi
29908 fi
29909 if test "x$no_gtk" = x ; then
29910 echo "$as_me:$LINENO: result: yes" >&5
29911 echo "${ECHO_T}yes" >&6
29912 wx_cv_lib_gtk=1.2.3
29913 else
29914 echo "$as_me:$LINENO: result: no" >&5
29915 echo "${ECHO_T}no" >&6
29916 if test "$GTK_CONFIG" = "no" ; then
29917 echo "*** The gtk-config script installed by GTK could not be found"
29918 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29919 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29920 echo "*** full path to gtk-config."
29921 else
29922 if test -f conf.gtktest ; then
29923 :
29924 else
29925 echo "*** Could not run GTK test program, checking why..."
29926 CFLAGS="$CFLAGS $GTK_CFLAGS"
29927 LIBS="$LIBS $GTK_LIBS"
29928 cat >conftest.$ac_ext <<_ACEOF
29929 /* confdefs.h. */
29930 _ACEOF
29931 cat confdefs.h >>conftest.$ac_ext
29932 cat >>conftest.$ac_ext <<_ACEOF
29933 /* end confdefs.h. */
29934
29935 #include <gtk/gtk.h>
29936 #include <stdio.h>
29937
29938 int
29939 main ()
29940 {
29941 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29942 ;
29943 return 0;
29944 }
29945 _ACEOF
29946 rm -f conftest.$ac_objext conftest$ac_exeext
29947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29948 (eval $ac_link) 2>conftest.er1
29949 ac_status=$?
29950 grep -v '^ *+' conftest.er1 >conftest.err
29951 rm -f conftest.er1
29952 cat conftest.err >&5
29953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29954 (exit $ac_status); } &&
29955 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29957 (eval $ac_try) 2>&5
29958 ac_status=$?
29959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29960 (exit $ac_status); }; } &&
29961 { ac_try='test -s conftest$ac_exeext'
29962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29963 (eval $ac_try) 2>&5
29964 ac_status=$?
29965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29966 (exit $ac_status); }; }; then
29967 echo "*** The test program compiled, but did not run. This usually means"
29968 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29969 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29970 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29971 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29972 echo "*** is required on your system"
29973 echo "***"
29974 echo "*** If you have an old version installed, it is best to remove it, although"
29975 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29976 echo "***"
29977 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29978 echo "*** came with the system with the command"
29979 echo "***"
29980 echo "*** rpm --erase --nodeps gtk gtk-devel"
29981 else
29982 echo "$as_me: failed program was:" >&5
29983 sed 's/^/| /' conftest.$ac_ext >&5
29984
29985 echo "*** The test program failed to compile or link. See the file config.log for the"
29986 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29987 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29988 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29989 fi
29990 rm -f conftest.err conftest.$ac_objext \
29991 conftest$ac_exeext conftest.$ac_ext
29992 CFLAGS="$ac_save_CFLAGS"
29993 LIBS="$ac_save_LIBS"
29994 fi
29995 fi
29996 GTK_CFLAGS=""
29997 GTK_LIBS=""
29998 :
29999 fi
30000
30001
30002 rm -f conf.gtktest
30003
30004 fi
30005 fi
30006 fi
30007
30008 if test -z "$wx_cv_lib_gtk"; then
30009 wx_cv_lib_gtk=none
30010 else
30011 wx_cv_cflags_gtk=$GTK_CFLAGS
30012 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30013 fi
30014
30015
30016 fi
30017
30018
30019 if test "$gtk_version_cached" = 1; then
30020 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30021 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
30022 fi
30023
30024 case "$wx_cv_lib_gtk" in
30025 2.0) WXGTK20=1
30026 TOOLKIT_VERSION=2
30027 ;;
30028 1.2.7) WXGTK127=1
30029 WXGTK12=1
30030 ;;
30031 1.2.3) WXGTK12=1
30032 ;;
30033 *) { { echo "$as_me:$LINENO: error:
30034 The development files for GTK+ were not found. For GTK+ 2, please
30035 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30036 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30037 and that the version is 1.2.3 or above. Also check that the
30038 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30039 --libs' are in the LD_LIBRARY_PATH or equivalent.
30040 " >&5
30041 echo "$as_me: error:
30042 The development files for GTK+ were not found. For GTK+ 2, please
30043 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30044 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30045 and that the version is 1.2.3 or above. Also check that the
30046 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30047 --libs' are in the LD_LIBRARY_PATH or equivalent.
30048 " >&2;}
30049 { (exit 1); exit 1; }; }
30050 ;;
30051 esac
30052
30053 if test "$WXGTK20" = 1; then
30054 save_CFLAGS="$CFLAGS"
30055 save_LIBS="$LIBS"
30056 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30057 LIBS="$LIBS $wx_cv_libs_gtk"
30058
30059 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
30060 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
30061 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
30062 echo $ECHO_N "(cached) $ECHO_C" >&6
30063 else
30064 cat >conftest.$ac_ext <<_ACEOF
30065 /* confdefs.h. */
30066 _ACEOF
30067 cat confdefs.h >>conftest.$ac_ext
30068 cat >>conftest.$ac_ext <<_ACEOF
30069 /* end confdefs.h. */
30070 #include <gtk/gtk.h>
30071
30072 int
30073 main ()
30074 {
30075 #ifndef gtk_icon_size_lookup
30076 char *p = (char *) gtk_icon_size_lookup;
30077 #endif
30078
30079 ;
30080 return 0;
30081 }
30082 _ACEOF
30083 rm -f conftest.$ac_objext
30084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30085 (eval $ac_compile) 2>conftest.er1
30086 ac_status=$?
30087 grep -v '^ *+' conftest.er1 >conftest.err
30088 rm -f conftest.er1
30089 cat conftest.err >&5
30090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30091 (exit $ac_status); } &&
30092 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30094 (eval $ac_try) 2>&5
30095 ac_status=$?
30096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30097 (exit $ac_status); }; } &&
30098 { ac_try='test -s conftest.$ac_objext'
30099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30100 (eval $ac_try) 2>&5
30101 ac_status=$?
30102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30103 (exit $ac_status); }; }; then
30104 ac_cv_have_decl_gtk_icon_size_lookup=yes
30105 else
30106 echo "$as_me: failed program was:" >&5
30107 sed 's/^/| /' conftest.$ac_ext >&5
30108
30109 ac_cv_have_decl_gtk_icon_size_lookup=no
30110 fi
30111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30112 fi
30113 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
30114 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
30115 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
30116
30117 cat >>confdefs.h <<_ACEOF
30118 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
30119 _ACEOF
30120
30121
30122 else
30123 cat >>confdefs.h <<_ACEOF
30124 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
30125 _ACEOF
30126
30127 cat >>confdefs.h <<\_ACEOF
30128 #define NEED_GTK_ICON_SIZE_LOOKUP 1
30129 _ACEOF
30130
30131 fi
30132
30133
30134
30135
30136 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30137 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6
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
30145 #include <gtk/gtk.h>
30146
30147 int
30148 main ()
30149 {
30150
30151 #if !GTK_CHECK_VERSION(2,10,0)
30152 Not GTK+ 2.10
30153 #endif
30154
30155 ;
30156 return 0;
30157 }
30158 _ACEOF
30159 rm -f conftest.$ac_objext
30160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30161 (eval $ac_compile) 2>conftest.er1
30162 ac_status=$?
30163 grep -v '^ *+' conftest.er1 >conftest.err
30164 rm -f conftest.er1
30165 cat conftest.err >&5
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); } &&
30168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30170 (eval $ac_try) 2>&5
30171 ac_status=$?
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); }; } &&
30174 { ac_try='test -s conftest.$ac_objext'
30175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30176 (eval $ac_try) 2>&5
30177 ac_status=$?
30178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30179 (exit $ac_status); }; }; then
30180
30181 cat >>confdefs.h <<\_ACEOF
30182 #define __WXGTK210__ 1
30183 _ACEOF
30184
30185 cat >>confdefs.h <<\_ACEOF
30186 #define __WXGTK26__ 1
30187 _ACEOF
30188
30189 cat >>confdefs.h <<\_ACEOF
30190 #define __WXGTK24__ 1
30191 _ACEOF
30192
30193 echo "$as_me:$LINENO: result: yes" >&5
30194 echo "${ECHO_T}yes" >&6
30195 ac_wxgtk210=1
30196
30197 else
30198 echo "$as_me: failed program was:" >&5
30199 sed 's/^/| /' conftest.$ac_ext >&5
30200
30201
30202 echo "$as_me:$LINENO: result: no" >&5
30203 echo "${ECHO_T}no" >&6
30204 ac_wxgtk210=0
30205
30206 fi
30207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30208
30209 if test "$ac_wxgtk210" = 0; then
30210 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
30211 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
30212 cat >conftest.$ac_ext <<_ACEOF
30213 /* confdefs.h. */
30214 _ACEOF
30215 cat confdefs.h >>conftest.$ac_ext
30216 cat >>conftest.$ac_ext <<_ACEOF
30217 /* end confdefs.h. */
30218
30219 #include <gtk/gtk.h>
30220
30221 int
30222 main ()
30223 {
30224
30225 #if !GTK_CHECK_VERSION(2,6,0)
30226 Not GTK+ 2.6
30227 #endif
30228
30229 ;
30230 return 0;
30231 }
30232 _ACEOF
30233 rm -f conftest.$ac_objext
30234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30235 (eval $ac_compile) 2>conftest.er1
30236 ac_status=$?
30237 grep -v '^ *+' conftest.er1 >conftest.err
30238 rm -f conftest.er1
30239 cat conftest.err >&5
30240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30241 (exit $ac_status); } &&
30242 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30244 (eval $ac_try) 2>&5
30245 ac_status=$?
30246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30247 (exit $ac_status); }; } &&
30248 { ac_try='test -s conftest.$ac_objext'
30249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30250 (eval $ac_try) 2>&5
30251 ac_status=$?
30252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30253 (exit $ac_status); }; }; then
30254
30255 cat >>confdefs.h <<\_ACEOF
30256 #define __WXGTK26__ 1
30257 _ACEOF
30258
30259 cat >>confdefs.h <<\_ACEOF
30260 #define __WXGTK24__ 1
30261 _ACEOF
30262
30263 echo "$as_me:$LINENO: result: yes" >&5
30264 echo "${ECHO_T}yes" >&6
30265 ac_wxgtk26=1
30266
30267 else
30268 echo "$as_me: failed program was:" >&5
30269 sed 's/^/| /' conftest.$ac_ext >&5
30270
30271
30272 echo "$as_me:$LINENO: result: no" >&5
30273 echo "${ECHO_T}no" >&6
30274 ac_wxgtk26=0
30275
30276 fi
30277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30278 fi
30279
30280 if test "$ac_wxgtk26" = 0; then
30281 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
30282 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
30283 cat >conftest.$ac_ext <<_ACEOF
30284 /* confdefs.h. */
30285 _ACEOF
30286 cat confdefs.h >>conftest.$ac_ext
30287 cat >>conftest.$ac_ext <<_ACEOF
30288 /* end confdefs.h. */
30289
30290 #include <gtk/gtk.h>
30291
30292 int
30293 main ()
30294 {
30295
30296 #if !GTK_CHECK_VERSION(2,4,0)
30297 Not GTK+ 2.4
30298 #endif
30299
30300 ;
30301 return 0;
30302 }
30303 _ACEOF
30304 rm -f conftest.$ac_objext
30305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30306 (eval $ac_compile) 2>conftest.er1
30307 ac_status=$?
30308 grep -v '^ *+' conftest.er1 >conftest.err
30309 rm -f conftest.er1
30310 cat conftest.err >&5
30311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30312 (exit $ac_status); } &&
30313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30315 (eval $ac_try) 2>&5
30316 ac_status=$?
30317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30318 (exit $ac_status); }; } &&
30319 { ac_try='test -s conftest.$ac_objext'
30320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30321 (eval $ac_try) 2>&5
30322 ac_status=$?
30323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30324 (exit $ac_status); }; }; then
30325
30326 cat >>confdefs.h <<\_ACEOF
30327 #define __WXGTK24__ 1
30328 _ACEOF
30329
30330 echo "$as_me:$LINENO: result: yes" >&5
30331 echo "${ECHO_T}yes" >&6
30332
30333 else
30334 echo "$as_me: failed program was:" >&5
30335 sed 's/^/| /' conftest.$ac_ext >&5
30336
30337
30338 echo "$as_me:$LINENO: result: no" >&5
30339 echo "${ECHO_T}no" >&6
30340
30341 fi
30342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30343 fi
30344
30345 CFLAGS="$save_CFLAGS"
30346 LIBS="$save_LIBS"
30347 else
30348 if test "$wxUSE_UNICODE" = "yes"; then
30349 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
30350 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
30351 wxUSE_UNICODE=no
30352 fi
30353
30354 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
30355 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
30356 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
30357 echo $ECHO_N "(cached) $ECHO_C" >&6
30358 else
30359 ac_check_lib_save_LIBS=$LIBS
30360 LIBS="-lgdk $LIBS"
30361 cat >conftest.$ac_ext <<_ACEOF
30362 /* confdefs.h. */
30363 _ACEOF
30364 cat confdefs.h >>conftest.$ac_ext
30365 cat >>conftest.$ac_ext <<_ACEOF
30366 /* end confdefs.h. */
30367
30368 /* Override any gcc2 internal prototype to avoid an error. */
30369 #ifdef __cplusplus
30370 extern "C"
30371 #endif
30372 /* We use char because int might match the return type of a gcc2
30373 builtin and then its argument prototype would still apply. */
30374 char gdk_im_open ();
30375 int
30376 main ()
30377 {
30378 gdk_im_open ();
30379 ;
30380 return 0;
30381 }
30382 _ACEOF
30383 rm -f conftest.$ac_objext conftest$ac_exeext
30384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30385 (eval $ac_link) 2>conftest.er1
30386 ac_status=$?
30387 grep -v '^ *+' conftest.er1 >conftest.err
30388 rm -f conftest.er1
30389 cat conftest.err >&5
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); } &&
30392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30394 (eval $ac_try) 2>&5
30395 ac_status=$?
30396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30397 (exit $ac_status); }; } &&
30398 { ac_try='test -s conftest$ac_exeext'
30399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30400 (eval $ac_try) 2>&5
30401 ac_status=$?
30402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30403 (exit $ac_status); }; }; then
30404 ac_cv_lib_gdk_gdk_im_open=yes
30405 else
30406 echo "$as_me: failed program was:" >&5
30407 sed 's/^/| /' conftest.$ac_ext >&5
30408
30409 ac_cv_lib_gdk_gdk_im_open=no
30410 fi
30411 rm -f conftest.err conftest.$ac_objext \
30412 conftest$ac_exeext conftest.$ac_ext
30413 LIBS=$ac_check_lib_save_LIBS
30414 fi
30415 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
30416 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
30417 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
30418 cat >>confdefs.h <<\_ACEOF
30419 #define HAVE_XIM 1
30420 _ACEOF
30421
30422 fi
30423
30424
30425 if test "$USE_DARWIN" != 1; then
30426
30427 for ac_func in poll
30428 do
30429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30430 echo "$as_me:$LINENO: checking for $ac_func" >&5
30431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30432 if eval "test \"\${$as_ac_var+set}\" = set"; then
30433 echo $ECHO_N "(cached) $ECHO_C" >&6
30434 else
30435 cat >conftest.$ac_ext <<_ACEOF
30436 /* confdefs.h. */
30437 _ACEOF
30438 cat confdefs.h >>conftest.$ac_ext
30439 cat >>conftest.$ac_ext <<_ACEOF
30440 /* end confdefs.h. */
30441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30443 #define $ac_func innocuous_$ac_func
30444
30445 /* System header to define __stub macros and hopefully few prototypes,
30446 which can conflict with char $ac_func (); below.
30447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30448 <limits.h> exists even on freestanding compilers. */
30449
30450 #ifdef __STDC__
30451 # include <limits.h>
30452 #else
30453 # include <assert.h>
30454 #endif
30455
30456 #undef $ac_func
30457
30458 /* Override any gcc2 internal prototype to avoid an error. */
30459 #ifdef __cplusplus
30460 extern "C"
30461 {
30462 #endif
30463 /* We use char because int might match the return type of a gcc2
30464 builtin and then its argument prototype would still apply. */
30465 char $ac_func ();
30466 /* The GNU C library defines this for functions which it implements
30467 to always fail with ENOSYS. Some functions are actually named
30468 something starting with __ and the normal name is an alias. */
30469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30470 choke me
30471 #else
30472 char (*f) () = $ac_func;
30473 #endif
30474 #ifdef __cplusplus
30475 }
30476 #endif
30477
30478 int
30479 main ()
30480 {
30481 return f != $ac_func;
30482 ;
30483 return 0;
30484 }
30485 _ACEOF
30486 rm -f conftest.$ac_objext conftest$ac_exeext
30487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30488 (eval $ac_link) 2>conftest.er1
30489 ac_status=$?
30490 grep -v '^ *+' conftest.er1 >conftest.err
30491 rm -f conftest.er1
30492 cat conftest.err >&5
30493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30494 (exit $ac_status); } &&
30495 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
30496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30497 (eval $ac_try) 2>&5
30498 ac_status=$?
30499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500 (exit $ac_status); }; } &&
30501 { ac_try='test -s conftest$ac_exeext'
30502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30503 (eval $ac_try) 2>&5
30504 ac_status=$?
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); }; }; then
30507 eval "$as_ac_var=yes"
30508 else
30509 echo "$as_me: failed program was:" >&5
30510 sed 's/^/| /' conftest.$ac_ext >&5
30511
30512 eval "$as_ac_var=no"
30513 fi
30514 rm -f conftest.err conftest.$ac_objext \
30515 conftest$ac_exeext conftest.$ac_ext
30516 fi
30517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30519 if test `eval echo '${'$as_ac_var'}'` = yes; then
30520 cat >>confdefs.h <<_ACEOF
30521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30522 _ACEOF
30523
30524 fi
30525 done
30526
30527 fi
30528 fi
30529
30530 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
30531 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
30532
30533 AFMINSTALL=afminstall
30534 TOOLKIT=GTK
30535 GUIDIST=GTK_DIST
30536
30537 if test "$wxUSE_GPE" = "yes"; then
30538 echo "$as_me:$LINENO: checking for gpewidget library" >&5
30539 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
30540
30541 ac_find_libraries=
30542 for ac_dir in $SEARCH_LIB;
30543 do
30544 for ac_extension in a so sl dylib dll.a; do
30545 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
30546 ac_find_libraries=$ac_dir
30547 break 2
30548 fi
30549 done
30550 done
30551
30552 if test "$ac_find_libraries" != "" ; then
30553
30554 if test "$ac_find_libraries" = "default location"; then
30555 ac_path_to_link=""
30556 else
30557 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30558 result=$?
30559 if test $result = 0; then
30560 ac_path_to_link=""
30561 else
30562 ac_path_to_link=" -L$ac_find_libraries"
30563 fi
30564 fi
30565
30566 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
30567 WXGPE=1
30568 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30569 echo "${ECHO_T}found in $ac_find_libraries" >&6
30570 else
30571 echo "$as_me:$LINENO: result: not found" >&5
30572 echo "${ECHO_T}not found" >&6
30573 fi
30574
30575 fi
30576 fi
30577
30578 if test "$wxUSE_MGL" = 1; then
30579 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
30580 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
30581 if test "x$MGL_ROOT" = x ; then
30582 echo "$as_me:$LINENO: result: not found" >&5
30583 echo "${ECHO_T}not found" >&6
30584 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
30585 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
30586 { (exit 1); exit 1; }; }
30587 else
30588 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
30589 echo "${ECHO_T}$MGL_ROOT" >&6
30590 fi
30591
30592 echo "$as_me:$LINENO: checking for libmgl location" >&5
30593 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
30594 case "${host}" in
30595 *-*-linux* )
30596 if test "x$wxUSE_SHARED" = xyes ; then
30597 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
30598 else
30599 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
30600 fi
30601 ;;
30602 *-pc-msdosdjgpp )
30603 mgl_os_candidates="dos32/dj2"
30604 ;;
30605 *)
30606 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
30607 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
30608 { (exit 1); exit 1; }; }
30609 esac
30610
30611 mgl_lib_type=""
30612 mgl_os=""
30613
30614 for mgl_os_i in $mgl_os_candidates ; do
30615 if test "x$mgl_os" = x ; then
30616 if test "$wxUSE_DEBUG_FLAG" = yes ; then
30617 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
30618 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
30619 mgl_lib_type=debug
30620 mgl_os=$mgl_os_i
30621 fi
30622 fi
30623 if test "x$mgl_lib_type" = x ; then
30624 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
30625 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
30626 mgl_lib_type=release
30627 mgl_os=$mgl_os_i
30628 fi
30629 fi
30630 fi
30631 done
30632
30633 if test "x$mgl_os" = x ; then
30634 echo "$as_me:$LINENO: result: not found" >&5
30635 echo "${ECHO_T}not found" >&6
30636 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
30637 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
30638 { (exit 1); exit 1; }; }
30639 fi
30640 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
30641 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
30642
30643 wxUSE_UNIVERSAL="yes"
30644
30645 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
30646 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
30647
30648 AFMINSTALL=afminstall
30649 TOOLKIT=MGL
30650 GUIDIST=MGL_DIST
30651 fi
30652
30653 if test "$wxUSE_DFB" = 1; then
30654
30655
30656 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30657 if test -n "$ac_tool_prefix"; then
30658 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30659 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30660 echo "$as_me:$LINENO: checking for $ac_word" >&5
30661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30662 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30663 echo $ECHO_N "(cached) $ECHO_C" >&6
30664 else
30665 case $PKG_CONFIG in
30666 [\\/]* | ?:[\\/]*)
30667 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30668 ;;
30669 *)
30670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30671 for as_dir in $PATH
30672 do
30673 IFS=$as_save_IFS
30674 test -z "$as_dir" && as_dir=.
30675 for ac_exec_ext in '' $ac_executable_extensions; do
30676 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30677 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30679 break 2
30680 fi
30681 done
30682 done
30683
30684 ;;
30685 esac
30686 fi
30687 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30688
30689 if test -n "$PKG_CONFIG"; then
30690 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30691 echo "${ECHO_T}$PKG_CONFIG" >&6
30692 else
30693 echo "$as_me:$LINENO: result: no" >&5
30694 echo "${ECHO_T}no" >&6
30695 fi
30696
30697 fi
30698 if test -z "$ac_cv_path_PKG_CONFIG"; then
30699 ac_pt_PKG_CONFIG=$PKG_CONFIG
30700 # Extract the first word of "pkg-config", so it can be a program name with args.
30701 set dummy pkg-config; ac_word=$2
30702 echo "$as_me:$LINENO: checking for $ac_word" >&5
30703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30704 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30705 echo $ECHO_N "(cached) $ECHO_C" >&6
30706 else
30707 case $ac_pt_PKG_CONFIG in
30708 [\\/]* | ?:[\\/]*)
30709 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30710 ;;
30711 *)
30712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30713 for as_dir in $PATH
30714 do
30715 IFS=$as_save_IFS
30716 test -z "$as_dir" && as_dir=.
30717 for ac_exec_ext in '' $ac_executable_extensions; do
30718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30719 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30721 break 2
30722 fi
30723 done
30724 done
30725
30726 ;;
30727 esac
30728 fi
30729 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30730
30731 if test -n "$ac_pt_PKG_CONFIG"; then
30732 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30733 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
30734 else
30735 echo "$as_me:$LINENO: result: no" >&5
30736 echo "${ECHO_T}no" >&6
30737 fi
30738
30739 PKG_CONFIG=$ac_pt_PKG_CONFIG
30740 else
30741 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30742 fi
30743
30744 fi
30745 if test -n "$PKG_CONFIG"; then
30746 _pkg_min_version=0.9.0
30747 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30748 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
30749 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30750 echo "$as_me:$LINENO: result: yes" >&5
30751 echo "${ECHO_T}yes" >&6
30752 else
30753 echo "$as_me:$LINENO: result: no" >&5
30754 echo "${ECHO_T}no" >&6
30755 PKG_CONFIG=""
30756 fi
30757
30758 fi
30759
30760
30761 pkg_failed=no
30762 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
30763 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
30764
30765 if test -n "$PKG_CONFIG"; then
30766 if test -n "$DIRECTFB_CFLAGS"; then
30767 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
30768 else
30769 if test -n "$PKG_CONFIG" && \
30770 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30771 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30772 ac_status=$?
30773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774 (exit $ac_status); }; then
30775 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
30776 else
30777 pkg_failed=yes
30778 fi
30779 fi
30780 else
30781 pkg_failed=untried
30782 fi
30783 if test -n "$PKG_CONFIG"; then
30784 if test -n "$DIRECTFB_LIBS"; then
30785 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
30786 else
30787 if test -n "$PKG_CONFIG" && \
30788 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
30789 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
30790 ac_status=$?
30791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30792 (exit $ac_status); }; then
30793 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
30794 else
30795 pkg_failed=yes
30796 fi
30797 fi
30798 else
30799 pkg_failed=untried
30800 fi
30801
30802
30803
30804 if test $pkg_failed = yes; then
30805
30806 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30807 _pkg_short_errors_supported=yes
30808 else
30809 _pkg_short_errors_supported=no
30810 fi
30811 if test $_pkg_short_errors_supported = yes; then
30812 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30813 else
30814 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
30815 fi
30816 # Put the nasty error message in config.log where it belongs
30817 echo "$DIRECTFB_PKG_ERRORS" >&5
30818
30819
30820 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30821 echo "$as_me: error: DirectFB not found." >&2;}
30822 { (exit 1); exit 1; }; }
30823
30824
30825 elif test $pkg_failed = untried; then
30826
30827 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
30828 echo "$as_me: error: DirectFB not found." >&2;}
30829 { (exit 1); exit 1; }; }
30830
30831
30832 else
30833 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
30834 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
30835 echo "$as_me:$LINENO: result: yes" >&5
30836 echo "${ECHO_T}yes" >&6
30837
30838 wxUSE_UNIVERSAL="yes"
30839 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
30840 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
30841 TOOLKIT=DFB
30842 GUIDIST=DFB_DIST
30843
30844 fi
30845 fi
30846
30847 if test "$wxUSE_MICROWIN" = 1; then
30848 echo "$as_me:$LINENO: checking for MicroWindows" >&5
30849 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
30850 if test "x$MICROWINDOWS" = x ; then
30851 echo "$as_me:$LINENO: result: not found" >&5
30852 echo "${ECHO_T}not found" >&6
30853 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
30854 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
30855 { (exit 1); exit 1; }; }
30856 else
30857 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
30858 echo "${ECHO_T}$MICROWINDOWS" >&6
30859 fi
30860
30861 if test -f $MICROWINDOWS/lib/libmwin.a; then
30862 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
30863 echo "${ECHO_T}MicroWindows' libraries found." >&6
30864 else
30865 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
30866 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
30867 { (exit 1); exit 1; }; }
30868 fi
30869
30870 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
30871 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
30872
30873 wxUSE_UNIVERSAL="yes"
30874
30875 AFMINSTALL=afminstall
30876 TOOLKIT=MICROWIN
30877 GUIDIST=MICROWIN_DIST
30878
30879 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
30880 fi
30881
30882 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
30883
30884 if test "x$ac_path_x_has_been_run" != xyes; then
30885 echo "$as_me:$LINENO: checking for X" >&5
30886 echo $ECHO_N "checking for X... $ECHO_C" >&6
30887
30888 ac_path_x_has_been_run=yes
30889
30890 # Check whether --with-x or --without-x was given.
30891 if test "${with_x+set}" = set; then
30892 withval="$with_x"
30893
30894 fi;
30895 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
30896 if test "x$with_x" = xno; then
30897 # The user explicitly disabled X.
30898 have_x=disabled
30899 else
30900 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
30901 # Both variables are already set.
30902 have_x=yes
30903 else
30904 if test "${ac_cv_have_x+set}" = set; then
30905 echo $ECHO_N "(cached) $ECHO_C" >&6
30906 else
30907 # One or both of the vars are not set, and there is no cached value.
30908 ac_x_includes=no ac_x_libraries=no
30909 rm -fr conftest.dir
30910 if mkdir conftest.dir; then
30911 cd conftest.dir
30912 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
30913 cat >Imakefile <<'_ACEOF'
30914 acfindx:
30915 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
30916 _ACEOF
30917 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
30918 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
30919 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
30920 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
30921 for ac_extension in a so sl; do
30922 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
30923 test -f $ac_im_libdir/libX11.$ac_extension; then
30924 ac_im_usrlibdir=$ac_im_libdir; break
30925 fi
30926 done
30927 # Screen out bogus values from the imake configuration. They are
30928 # bogus both because they are the default anyway, and because
30929 # using them would break gcc on systems where it needs fixed includes.
30930 case $ac_im_incroot in
30931 /usr/include) ;;
30932 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
30933 esac
30934 case $ac_im_usrlibdir in
30935 /usr/lib | /lib) ;;
30936 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
30937 esac
30938 fi
30939 cd ..
30940 rm -fr conftest.dir
30941 fi
30942
30943 # Standard set of common directories for X headers.
30944 # Check X11 before X11Rn because it is often a symlink to the current release.
30945 ac_x_header_dirs='
30946 /usr/X11/include
30947 /usr/X11R6/include
30948 /usr/X11R5/include
30949 /usr/X11R4/include
30950
30951 /usr/include/X11
30952 /usr/include/X11R6
30953 /usr/include/X11R5
30954 /usr/include/X11R4
30955
30956 /usr/local/X11/include
30957 /usr/local/X11R6/include
30958 /usr/local/X11R5/include
30959 /usr/local/X11R4/include
30960
30961 /usr/local/include/X11
30962 /usr/local/include/X11R6
30963 /usr/local/include/X11R5
30964 /usr/local/include/X11R4
30965
30966 /usr/X386/include
30967 /usr/x386/include
30968 /usr/XFree86/include/X11
30969
30970 /usr/include
30971 /usr/local/include
30972 /usr/unsupported/include
30973 /usr/athena/include
30974 /usr/local/x11r5/include
30975 /usr/lpp/Xamples/include
30976
30977 /usr/openwin/include
30978 /usr/openwin/share/include'
30979
30980 if test "$ac_x_includes" = no; then
30981 # Guess where to find include files, by looking for a specified header file.
30982 # First, try using that file with no special directory specified.
30983 cat >conftest.$ac_ext <<_ACEOF
30984 /* confdefs.h. */
30985 _ACEOF
30986 cat confdefs.h >>conftest.$ac_ext
30987 cat >>conftest.$ac_ext <<_ACEOF
30988 /* end confdefs.h. */
30989 #include <X11/Xlib.h>
30990 _ACEOF
30991 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30992 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30993 ac_status=$?
30994 grep -v '^ *+' conftest.er1 >conftest.err
30995 rm -f conftest.er1
30996 cat conftest.err >&5
30997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30998 (exit $ac_status); } >/dev/null; then
30999 if test -s conftest.err; then
31000 ac_cpp_err=$ac_c_preproc_warn_flag
31001 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31002 else
31003 ac_cpp_err=
31004 fi
31005 else
31006 ac_cpp_err=yes
31007 fi
31008 if test -z "$ac_cpp_err"; then
31009 # We can compile using X headers with no special include directory.
31010 ac_x_includes=
31011 else
31012 echo "$as_me: failed program was:" >&5
31013 sed 's/^/| /' conftest.$ac_ext >&5
31014
31015 for ac_dir in $ac_x_header_dirs; do
31016 if test -r "$ac_dir/X11/Xlib.h"; then
31017 ac_x_includes=$ac_dir
31018 break
31019 fi
31020 done
31021 fi
31022 rm -f conftest.err conftest.$ac_ext
31023 fi # $ac_x_includes = no
31024
31025 if test "$ac_x_libraries" = no; then
31026 # Check for the libraries.
31027 # See if we find them without any special options.
31028 # Don't add to $LIBS permanently.
31029 ac_save_LIBS=$LIBS
31030 LIBS="-lX11 $LIBS"
31031 cat >conftest.$ac_ext <<_ACEOF
31032 /* confdefs.h. */
31033 _ACEOF
31034 cat confdefs.h >>conftest.$ac_ext
31035 cat >>conftest.$ac_ext <<_ACEOF
31036 /* end confdefs.h. */
31037 #include <X11/Xlib.h>
31038 int
31039 main ()
31040 {
31041 XrmInitialize ()
31042 ;
31043 return 0;
31044 }
31045 _ACEOF
31046 rm -f conftest.$ac_objext conftest$ac_exeext
31047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31048 (eval $ac_link) 2>conftest.er1
31049 ac_status=$?
31050 grep -v '^ *+' conftest.er1 >conftest.err
31051 rm -f conftest.er1
31052 cat conftest.err >&5
31053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31054 (exit $ac_status); } &&
31055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31057 (eval $ac_try) 2>&5
31058 ac_status=$?
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); }; } &&
31061 { ac_try='test -s conftest$ac_exeext'
31062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31063 (eval $ac_try) 2>&5
31064 ac_status=$?
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); }; }; then
31067 LIBS=$ac_save_LIBS
31068 # We can link X programs with no special library path.
31069 ac_x_libraries=
31070 else
31071 echo "$as_me: failed program was:" >&5
31072 sed 's/^/| /' conftest.$ac_ext >&5
31073
31074 LIBS=$ac_save_LIBS
31075 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31076 do
31077 # Don't even attempt the hair of trying to link an X program!
31078 for ac_extension in a so sl; do
31079 if test -r $ac_dir/libX11.$ac_extension; then
31080 ac_x_libraries=$ac_dir
31081 break 2
31082 fi
31083 done
31084 done
31085 fi
31086 rm -f conftest.err conftest.$ac_objext \
31087 conftest$ac_exeext conftest.$ac_ext
31088 fi # $ac_x_libraries = no
31089
31090 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
31091 # Didn't find X anywhere. Cache the known absence of X.
31092 ac_cv_have_x="have_x=no"
31093 else
31094 # Record where we found X for the cache.
31095 ac_cv_have_x="have_x=yes \
31096 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
31097 fi
31098 fi
31099
31100 fi
31101 eval "$ac_cv_have_x"
31102 fi # $with_x != no
31103
31104 if test "$have_x" != yes; then
31105 echo "$as_me:$LINENO: result: $have_x" >&5
31106 echo "${ECHO_T}$have_x" >&6
31107 no_x=yes
31108 else
31109 # If each of the values was on the command line, it overrides each guess.
31110 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31111 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31112 # Update the cache value to reflect the command line values.
31113 ac_cv_have_x="have_x=yes \
31114 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
31115 # It might be that x_includes is empty (headers are found in the
31116 # standard search path. Then output the corresponding message
31117 ac_out_x_includes=$x_includes
31118 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
31119 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
31120 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
31121 fi
31122
31123 fi
31124 if test "$no_x" = yes; then
31125 # Not all programs may use this symbol, but it does not hurt to define it.
31126
31127 cat >>confdefs.h <<\_ACEOF
31128 #define X_DISPLAY_MISSING 1
31129 _ACEOF
31130
31131 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31132 else
31133 if test -n "$x_includes"; then
31134 X_CFLAGS="$X_CFLAGS -I$x_includes"
31135 fi
31136
31137 # It would also be nice to do this for all -L options, not just this one.
31138 if test -n "$x_libraries"; then
31139 X_LIBS="$X_LIBS -L$x_libraries"
31140 # For Solaris; some versions of Sun CC require a space after -R and
31141 # others require no space. Words are not sufficient . . . .
31142 case `(uname -sr) 2>/dev/null` in
31143 "SunOS 5"*)
31144 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31145 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
31146 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31147 cat >conftest.$ac_ext <<_ACEOF
31148 /* confdefs.h. */
31149 _ACEOF
31150 cat confdefs.h >>conftest.$ac_ext
31151 cat >>conftest.$ac_ext <<_ACEOF
31152 /* end confdefs.h. */
31153
31154 int
31155 main ()
31156 {
31157
31158 ;
31159 return 0;
31160 }
31161 _ACEOF
31162 rm -f conftest.$ac_objext conftest$ac_exeext
31163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31164 (eval $ac_link) 2>conftest.er1
31165 ac_status=$?
31166 grep -v '^ *+' conftest.er1 >conftest.err
31167 rm -f conftest.er1
31168 cat conftest.err >&5
31169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31170 (exit $ac_status); } &&
31171 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31173 (eval $ac_try) 2>&5
31174 ac_status=$?
31175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31176 (exit $ac_status); }; } &&
31177 { ac_try='test -s conftest$ac_exeext'
31178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31179 (eval $ac_try) 2>&5
31180 ac_status=$?
31181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182 (exit $ac_status); }; }; then
31183 ac_R_nospace=yes
31184 else
31185 echo "$as_me: failed program was:" >&5
31186 sed 's/^/| /' conftest.$ac_ext >&5
31187
31188 ac_R_nospace=no
31189 fi
31190 rm -f conftest.err conftest.$ac_objext \
31191 conftest$ac_exeext conftest.$ac_ext
31192 if test $ac_R_nospace = yes; then
31193 echo "$as_me:$LINENO: result: no" >&5
31194 echo "${ECHO_T}no" >&6
31195 X_LIBS="$X_LIBS -R$x_libraries"
31196 else
31197 LIBS="$ac_xsave_LIBS -R $x_libraries"
31198 cat >conftest.$ac_ext <<_ACEOF
31199 /* confdefs.h. */
31200 _ACEOF
31201 cat confdefs.h >>conftest.$ac_ext
31202 cat >>conftest.$ac_ext <<_ACEOF
31203 /* end confdefs.h. */
31204
31205 int
31206 main ()
31207 {
31208
31209 ;
31210 return 0;
31211 }
31212 _ACEOF
31213 rm -f conftest.$ac_objext conftest$ac_exeext
31214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31215 (eval $ac_link) 2>conftest.er1
31216 ac_status=$?
31217 grep -v '^ *+' conftest.er1 >conftest.err
31218 rm -f conftest.er1
31219 cat conftest.err >&5
31220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31221 (exit $ac_status); } &&
31222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31224 (eval $ac_try) 2>&5
31225 ac_status=$?
31226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31227 (exit $ac_status); }; } &&
31228 { ac_try='test -s conftest$ac_exeext'
31229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31230 (eval $ac_try) 2>&5
31231 ac_status=$?
31232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31233 (exit $ac_status); }; }; then
31234 ac_R_space=yes
31235 else
31236 echo "$as_me: failed program was:" >&5
31237 sed 's/^/| /' conftest.$ac_ext >&5
31238
31239 ac_R_space=no
31240 fi
31241 rm -f conftest.err conftest.$ac_objext \
31242 conftest$ac_exeext conftest.$ac_ext
31243 if test $ac_R_space = yes; then
31244 echo "$as_me:$LINENO: result: yes" >&5
31245 echo "${ECHO_T}yes" >&6
31246 X_LIBS="$X_LIBS -R $x_libraries"
31247 else
31248 echo "$as_me:$LINENO: result: neither works" >&5
31249 echo "${ECHO_T}neither works" >&6
31250 fi
31251 fi
31252 LIBS=$ac_xsave_LIBS
31253 esac
31254 fi
31255
31256 # Check for system-dependent libraries X programs must link with.
31257 # Do this before checking for the system-independent R6 libraries
31258 # (-lICE), since we may need -lsocket or whatever for X linking.
31259
31260 if test "$ISC" = yes; then
31261 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
31262 else
31263 # Martyn Johnson says this is needed for Ultrix, if the X
31264 # libraries were built with DECnet support. And Karl Berry says
31265 # the Alpha needs dnet_stub (dnet does not exist).
31266 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
31267 cat >conftest.$ac_ext <<_ACEOF
31268 /* confdefs.h. */
31269 _ACEOF
31270 cat confdefs.h >>conftest.$ac_ext
31271 cat >>conftest.$ac_ext <<_ACEOF
31272 /* end confdefs.h. */
31273
31274 /* Override any gcc2 internal prototype to avoid an error. */
31275 #ifdef __cplusplus
31276 extern "C"
31277 #endif
31278 /* We use char because int might match the return type of a gcc2
31279 builtin and then its argument prototype would still apply. */
31280 char XOpenDisplay ();
31281 int
31282 main ()
31283 {
31284 XOpenDisplay ();
31285 ;
31286 return 0;
31287 }
31288 _ACEOF
31289 rm -f conftest.$ac_objext conftest$ac_exeext
31290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31291 (eval $ac_link) 2>conftest.er1
31292 ac_status=$?
31293 grep -v '^ *+' conftest.er1 >conftest.err
31294 rm -f conftest.er1
31295 cat conftest.err >&5
31296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31297 (exit $ac_status); } &&
31298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31300 (eval $ac_try) 2>&5
31301 ac_status=$?
31302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31303 (exit $ac_status); }; } &&
31304 { ac_try='test -s conftest$ac_exeext'
31305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31306 (eval $ac_try) 2>&5
31307 ac_status=$?
31308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31309 (exit $ac_status); }; }; then
31310 :
31311 else
31312 echo "$as_me: failed program was:" >&5
31313 sed 's/^/| /' conftest.$ac_ext >&5
31314
31315 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
31316 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
31317 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
31318 echo $ECHO_N "(cached) $ECHO_C" >&6
31319 else
31320 ac_check_lib_save_LIBS=$LIBS
31321 LIBS="-ldnet $LIBS"
31322 cat >conftest.$ac_ext <<_ACEOF
31323 /* confdefs.h. */
31324 _ACEOF
31325 cat confdefs.h >>conftest.$ac_ext
31326 cat >>conftest.$ac_ext <<_ACEOF
31327 /* end confdefs.h. */
31328
31329 /* Override any gcc2 internal prototype to avoid an error. */
31330 #ifdef __cplusplus
31331 extern "C"
31332 #endif
31333 /* We use char because int might match the return type of a gcc2
31334 builtin and then its argument prototype would still apply. */
31335 char dnet_ntoa ();
31336 int
31337 main ()
31338 {
31339 dnet_ntoa ();
31340 ;
31341 return 0;
31342 }
31343 _ACEOF
31344 rm -f conftest.$ac_objext conftest$ac_exeext
31345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31346 (eval $ac_link) 2>conftest.er1
31347 ac_status=$?
31348 grep -v '^ *+' conftest.er1 >conftest.err
31349 rm -f conftest.er1
31350 cat conftest.err >&5
31351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31352 (exit $ac_status); } &&
31353 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31355 (eval $ac_try) 2>&5
31356 ac_status=$?
31357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31358 (exit $ac_status); }; } &&
31359 { ac_try='test -s conftest$ac_exeext'
31360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31361 (eval $ac_try) 2>&5
31362 ac_status=$?
31363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31364 (exit $ac_status); }; }; then
31365 ac_cv_lib_dnet_dnet_ntoa=yes
31366 else
31367 echo "$as_me: failed program was:" >&5
31368 sed 's/^/| /' conftest.$ac_ext >&5
31369
31370 ac_cv_lib_dnet_dnet_ntoa=no
31371 fi
31372 rm -f conftest.err conftest.$ac_objext \
31373 conftest$ac_exeext conftest.$ac_ext
31374 LIBS=$ac_check_lib_save_LIBS
31375 fi
31376 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
31377 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
31378 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
31379 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
31380 fi
31381
31382 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
31383 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
31384 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
31385 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
31386 echo $ECHO_N "(cached) $ECHO_C" >&6
31387 else
31388 ac_check_lib_save_LIBS=$LIBS
31389 LIBS="-ldnet_stub $LIBS"
31390 cat >conftest.$ac_ext <<_ACEOF
31391 /* confdefs.h. */
31392 _ACEOF
31393 cat confdefs.h >>conftest.$ac_ext
31394 cat >>conftest.$ac_ext <<_ACEOF
31395 /* end confdefs.h. */
31396
31397 /* Override any gcc2 internal prototype to avoid an error. */
31398 #ifdef __cplusplus
31399 extern "C"
31400 #endif
31401 /* We use char because int might match the return type of a gcc2
31402 builtin and then its argument prototype would still apply. */
31403 char dnet_ntoa ();
31404 int
31405 main ()
31406 {
31407 dnet_ntoa ();
31408 ;
31409 return 0;
31410 }
31411 _ACEOF
31412 rm -f conftest.$ac_objext conftest$ac_exeext
31413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31414 (eval $ac_link) 2>conftest.er1
31415 ac_status=$?
31416 grep -v '^ *+' conftest.er1 >conftest.err
31417 rm -f conftest.er1
31418 cat conftest.err >&5
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); } &&
31421 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31423 (eval $ac_try) 2>&5
31424 ac_status=$?
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); }; } &&
31427 { ac_try='test -s conftest$ac_exeext'
31428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31429 (eval $ac_try) 2>&5
31430 ac_status=$?
31431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31432 (exit $ac_status); }; }; then
31433 ac_cv_lib_dnet_stub_dnet_ntoa=yes
31434 else
31435 echo "$as_me: failed program was:" >&5
31436 sed 's/^/| /' conftest.$ac_ext >&5
31437
31438 ac_cv_lib_dnet_stub_dnet_ntoa=no
31439 fi
31440 rm -f conftest.err conftest.$ac_objext \
31441 conftest$ac_exeext conftest.$ac_ext
31442 LIBS=$ac_check_lib_save_LIBS
31443 fi
31444 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
31445 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
31446 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
31447 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
31448 fi
31449
31450 fi
31451 fi
31452 rm -f conftest.err conftest.$ac_objext \
31453 conftest$ac_exeext conftest.$ac_ext
31454 LIBS="$ac_xsave_LIBS"
31455
31456 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
31457 # to get the SysV transport functions.
31458 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
31459 # needs -lnsl.
31460 # The nsl library prevents programs from opening the X display
31461 # on Irix 5.2, according to T.E. Dickey.
31462 # The functions gethostbyname, getservbyname, and inet_addr are
31463 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
31464 echo "$as_me:$LINENO: checking for gethostbyname" >&5
31465 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
31466 if test "${ac_cv_func_gethostbyname+set}" = set; then
31467 echo $ECHO_N "(cached) $ECHO_C" >&6
31468 else
31469 cat >conftest.$ac_ext <<_ACEOF
31470 /* confdefs.h. */
31471 _ACEOF
31472 cat confdefs.h >>conftest.$ac_ext
31473 cat >>conftest.$ac_ext <<_ACEOF
31474 /* end confdefs.h. */
31475 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
31476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31477 #define gethostbyname innocuous_gethostbyname
31478
31479 /* System header to define __stub macros and hopefully few prototypes,
31480 which can conflict with char gethostbyname (); below.
31481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31482 <limits.h> exists even on freestanding compilers. */
31483
31484 #ifdef __STDC__
31485 # include <limits.h>
31486 #else
31487 # include <assert.h>
31488 #endif
31489
31490 #undef gethostbyname
31491
31492 /* Override any gcc2 internal prototype to avoid an error. */
31493 #ifdef __cplusplus
31494 extern "C"
31495 {
31496 #endif
31497 /* We use char because int might match the return type of a gcc2
31498 builtin and then its argument prototype would still apply. */
31499 char gethostbyname ();
31500 /* The GNU C library defines this for functions which it implements
31501 to always fail with ENOSYS. Some functions are actually named
31502 something starting with __ and the normal name is an alias. */
31503 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
31504 choke me
31505 #else
31506 char (*f) () = gethostbyname;
31507 #endif
31508 #ifdef __cplusplus
31509 }
31510 #endif
31511
31512 int
31513 main ()
31514 {
31515 return f != gethostbyname;
31516 ;
31517 return 0;
31518 }
31519 _ACEOF
31520 rm -f conftest.$ac_objext conftest$ac_exeext
31521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31522 (eval $ac_link) 2>conftest.er1
31523 ac_status=$?
31524 grep -v '^ *+' conftest.er1 >conftest.err
31525 rm -f conftest.er1
31526 cat conftest.err >&5
31527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528 (exit $ac_status); } &&
31529 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31531 (eval $ac_try) 2>&5
31532 ac_status=$?
31533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31534 (exit $ac_status); }; } &&
31535 { ac_try='test -s conftest$ac_exeext'
31536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31537 (eval $ac_try) 2>&5
31538 ac_status=$?
31539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31540 (exit $ac_status); }; }; then
31541 ac_cv_func_gethostbyname=yes
31542 else
31543 echo "$as_me: failed program was:" >&5
31544 sed 's/^/| /' conftest.$ac_ext >&5
31545
31546 ac_cv_func_gethostbyname=no
31547 fi
31548 rm -f conftest.err conftest.$ac_objext \
31549 conftest$ac_exeext conftest.$ac_ext
31550 fi
31551 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
31552 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
31553
31554 if test $ac_cv_func_gethostbyname = no; then
31555 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
31556 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
31557 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
31558 echo $ECHO_N "(cached) $ECHO_C" >&6
31559 else
31560 ac_check_lib_save_LIBS=$LIBS
31561 LIBS="-lnsl $LIBS"
31562 cat >conftest.$ac_ext <<_ACEOF
31563 /* confdefs.h. */
31564 _ACEOF
31565 cat confdefs.h >>conftest.$ac_ext
31566 cat >>conftest.$ac_ext <<_ACEOF
31567 /* end confdefs.h. */
31568
31569 /* Override any gcc2 internal prototype to avoid an error. */
31570 #ifdef __cplusplus
31571 extern "C"
31572 #endif
31573 /* We use char because int might match the return type of a gcc2
31574 builtin and then its argument prototype would still apply. */
31575 char gethostbyname ();
31576 int
31577 main ()
31578 {
31579 gethostbyname ();
31580 ;
31581 return 0;
31582 }
31583 _ACEOF
31584 rm -f conftest.$ac_objext conftest$ac_exeext
31585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31586 (eval $ac_link) 2>conftest.er1
31587 ac_status=$?
31588 grep -v '^ *+' conftest.er1 >conftest.err
31589 rm -f conftest.er1
31590 cat conftest.err >&5
31591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31592 (exit $ac_status); } &&
31593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31595 (eval $ac_try) 2>&5
31596 ac_status=$?
31597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31598 (exit $ac_status); }; } &&
31599 { ac_try='test -s conftest$ac_exeext'
31600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31601 (eval $ac_try) 2>&5
31602 ac_status=$?
31603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31604 (exit $ac_status); }; }; then
31605 ac_cv_lib_nsl_gethostbyname=yes
31606 else
31607 echo "$as_me: failed program was:" >&5
31608 sed 's/^/| /' conftest.$ac_ext >&5
31609
31610 ac_cv_lib_nsl_gethostbyname=no
31611 fi
31612 rm -f conftest.err conftest.$ac_objext \
31613 conftest$ac_exeext conftest.$ac_ext
31614 LIBS=$ac_check_lib_save_LIBS
31615 fi
31616 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
31617 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
31618 if test $ac_cv_lib_nsl_gethostbyname = yes; then
31619 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
31620 fi
31621
31622 if test $ac_cv_lib_nsl_gethostbyname = no; then
31623 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
31624 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
31625 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
31626 echo $ECHO_N "(cached) $ECHO_C" >&6
31627 else
31628 ac_check_lib_save_LIBS=$LIBS
31629 LIBS="-lbsd $LIBS"
31630 cat >conftest.$ac_ext <<_ACEOF
31631 /* confdefs.h. */
31632 _ACEOF
31633 cat confdefs.h >>conftest.$ac_ext
31634 cat >>conftest.$ac_ext <<_ACEOF
31635 /* end confdefs.h. */
31636
31637 /* Override any gcc2 internal prototype to avoid an error. */
31638 #ifdef __cplusplus
31639 extern "C"
31640 #endif
31641 /* We use char because int might match the return type of a gcc2
31642 builtin and then its argument prototype would still apply. */
31643 char gethostbyname ();
31644 int
31645 main ()
31646 {
31647 gethostbyname ();
31648 ;
31649 return 0;
31650 }
31651 _ACEOF
31652 rm -f conftest.$ac_objext conftest$ac_exeext
31653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31654 (eval $ac_link) 2>conftest.er1
31655 ac_status=$?
31656 grep -v '^ *+' conftest.er1 >conftest.err
31657 rm -f conftest.er1
31658 cat conftest.err >&5
31659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31660 (exit $ac_status); } &&
31661 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31663 (eval $ac_try) 2>&5
31664 ac_status=$?
31665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31666 (exit $ac_status); }; } &&
31667 { ac_try='test -s conftest$ac_exeext'
31668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31669 (eval $ac_try) 2>&5
31670 ac_status=$?
31671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31672 (exit $ac_status); }; }; then
31673 ac_cv_lib_bsd_gethostbyname=yes
31674 else
31675 echo "$as_me: failed program was:" >&5
31676 sed 's/^/| /' conftest.$ac_ext >&5
31677
31678 ac_cv_lib_bsd_gethostbyname=no
31679 fi
31680 rm -f conftest.err conftest.$ac_objext \
31681 conftest$ac_exeext conftest.$ac_ext
31682 LIBS=$ac_check_lib_save_LIBS
31683 fi
31684 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
31685 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
31686 if test $ac_cv_lib_bsd_gethostbyname = yes; then
31687 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
31688 fi
31689
31690 fi
31691 fi
31692
31693 # lieder@skyler.mavd.honeywell.com says without -lsocket,
31694 # socket/setsockopt and other routines are undefined under SCO ODT
31695 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
31696 # on later versions), says Simon Leinen: it contains gethostby*
31697 # variants that don't use the name server (or something). -lsocket
31698 # must be given before -lnsl if both are needed. We assume that
31699 # if connect needs -lnsl, so does gethostbyname.
31700 echo "$as_me:$LINENO: checking for connect" >&5
31701 echo $ECHO_N "checking for connect... $ECHO_C" >&6
31702 if test "${ac_cv_func_connect+set}" = set; then
31703 echo $ECHO_N "(cached) $ECHO_C" >&6
31704 else
31705 cat >conftest.$ac_ext <<_ACEOF
31706 /* confdefs.h. */
31707 _ACEOF
31708 cat confdefs.h >>conftest.$ac_ext
31709 cat >>conftest.$ac_ext <<_ACEOF
31710 /* end confdefs.h. */
31711 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
31712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31713 #define connect innocuous_connect
31714
31715 /* System header to define __stub macros and hopefully few prototypes,
31716 which can conflict with char connect (); below.
31717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31718 <limits.h> exists even on freestanding compilers. */
31719
31720 #ifdef __STDC__
31721 # include <limits.h>
31722 #else
31723 # include <assert.h>
31724 #endif
31725
31726 #undef connect
31727
31728 /* Override any gcc2 internal prototype to avoid an error. */
31729 #ifdef __cplusplus
31730 extern "C"
31731 {
31732 #endif
31733 /* We use char because int might match the return type of a gcc2
31734 builtin and then its argument prototype would still apply. */
31735 char connect ();
31736 /* The GNU C library defines this for functions which it implements
31737 to always fail with ENOSYS. Some functions are actually named
31738 something starting with __ and the normal name is an alias. */
31739 #if defined (__stub_connect) || defined (__stub___connect)
31740 choke me
31741 #else
31742 char (*f) () = connect;
31743 #endif
31744 #ifdef __cplusplus
31745 }
31746 #endif
31747
31748 int
31749 main ()
31750 {
31751 return f != connect;
31752 ;
31753 return 0;
31754 }
31755 _ACEOF
31756 rm -f conftest.$ac_objext conftest$ac_exeext
31757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31758 (eval $ac_link) 2>conftest.er1
31759 ac_status=$?
31760 grep -v '^ *+' conftest.er1 >conftest.err
31761 rm -f conftest.er1
31762 cat conftest.err >&5
31763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31764 (exit $ac_status); } &&
31765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31767 (eval $ac_try) 2>&5
31768 ac_status=$?
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); }; } &&
31771 { ac_try='test -s conftest$ac_exeext'
31772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31773 (eval $ac_try) 2>&5
31774 ac_status=$?
31775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31776 (exit $ac_status); }; }; then
31777 ac_cv_func_connect=yes
31778 else
31779 echo "$as_me: failed program was:" >&5
31780 sed 's/^/| /' conftest.$ac_ext >&5
31781
31782 ac_cv_func_connect=no
31783 fi
31784 rm -f conftest.err conftest.$ac_objext \
31785 conftest$ac_exeext conftest.$ac_ext
31786 fi
31787 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
31788 echo "${ECHO_T}$ac_cv_func_connect" >&6
31789
31790 if test $ac_cv_func_connect = no; then
31791 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
31792 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
31793 if test "${ac_cv_lib_socket_connect+set}" = set; then
31794 echo $ECHO_N "(cached) $ECHO_C" >&6
31795 else
31796 ac_check_lib_save_LIBS=$LIBS
31797 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
31798 cat >conftest.$ac_ext <<_ACEOF
31799 /* confdefs.h. */
31800 _ACEOF
31801 cat confdefs.h >>conftest.$ac_ext
31802 cat >>conftest.$ac_ext <<_ACEOF
31803 /* end confdefs.h. */
31804
31805 /* Override any gcc2 internal prototype to avoid an error. */
31806 #ifdef __cplusplus
31807 extern "C"
31808 #endif
31809 /* We use char because int might match the return type of a gcc2
31810 builtin and then its argument prototype would still apply. */
31811 char connect ();
31812 int
31813 main ()
31814 {
31815 connect ();
31816 ;
31817 return 0;
31818 }
31819 _ACEOF
31820 rm -f conftest.$ac_objext conftest$ac_exeext
31821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31822 (eval $ac_link) 2>conftest.er1
31823 ac_status=$?
31824 grep -v '^ *+' conftest.er1 >conftest.err
31825 rm -f conftest.er1
31826 cat conftest.err >&5
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); } &&
31829 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31831 (eval $ac_try) 2>&5
31832 ac_status=$?
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); }; } &&
31835 { ac_try='test -s conftest$ac_exeext'
31836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31837 (eval $ac_try) 2>&5
31838 ac_status=$?
31839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31840 (exit $ac_status); }; }; then
31841 ac_cv_lib_socket_connect=yes
31842 else
31843 echo "$as_me: failed program was:" >&5
31844 sed 's/^/| /' conftest.$ac_ext >&5
31845
31846 ac_cv_lib_socket_connect=no
31847 fi
31848 rm -f conftest.err conftest.$ac_objext \
31849 conftest$ac_exeext conftest.$ac_ext
31850 LIBS=$ac_check_lib_save_LIBS
31851 fi
31852 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
31853 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
31854 if test $ac_cv_lib_socket_connect = yes; then
31855 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
31856 fi
31857
31858 fi
31859
31860 # Guillermo Gomez says -lposix is necessary on A/UX.
31861 echo "$as_me:$LINENO: checking for remove" >&5
31862 echo $ECHO_N "checking for remove... $ECHO_C" >&6
31863 if test "${ac_cv_func_remove+set}" = set; then
31864 echo $ECHO_N "(cached) $ECHO_C" >&6
31865 else
31866 cat >conftest.$ac_ext <<_ACEOF
31867 /* confdefs.h. */
31868 _ACEOF
31869 cat confdefs.h >>conftest.$ac_ext
31870 cat >>conftest.$ac_ext <<_ACEOF
31871 /* end confdefs.h. */
31872 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
31873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31874 #define remove innocuous_remove
31875
31876 /* System header to define __stub macros and hopefully few prototypes,
31877 which can conflict with char remove (); below.
31878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31879 <limits.h> exists even on freestanding compilers. */
31880
31881 #ifdef __STDC__
31882 # include <limits.h>
31883 #else
31884 # include <assert.h>
31885 #endif
31886
31887 #undef remove
31888
31889 /* Override any gcc2 internal prototype to avoid an error. */
31890 #ifdef __cplusplus
31891 extern "C"
31892 {
31893 #endif
31894 /* We use char because int might match the return type of a gcc2
31895 builtin and then its argument prototype would still apply. */
31896 char remove ();
31897 /* The GNU C library defines this for functions which it implements
31898 to always fail with ENOSYS. Some functions are actually named
31899 something starting with __ and the normal name is an alias. */
31900 #if defined (__stub_remove) || defined (__stub___remove)
31901 choke me
31902 #else
31903 char (*f) () = remove;
31904 #endif
31905 #ifdef __cplusplus
31906 }
31907 #endif
31908
31909 int
31910 main ()
31911 {
31912 return f != remove;
31913 ;
31914 return 0;
31915 }
31916 _ACEOF
31917 rm -f conftest.$ac_objext conftest$ac_exeext
31918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31919 (eval $ac_link) 2>conftest.er1
31920 ac_status=$?
31921 grep -v '^ *+' conftest.er1 >conftest.err
31922 rm -f conftest.er1
31923 cat conftest.err >&5
31924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31925 (exit $ac_status); } &&
31926 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
31932 { ac_try='test -s conftest$ac_exeext'
31933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31934 (eval $ac_try) 2>&5
31935 ac_status=$?
31936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31937 (exit $ac_status); }; }; then
31938 ac_cv_func_remove=yes
31939 else
31940 echo "$as_me: failed program was:" >&5
31941 sed 's/^/| /' conftest.$ac_ext >&5
31942
31943 ac_cv_func_remove=no
31944 fi
31945 rm -f conftest.err conftest.$ac_objext \
31946 conftest$ac_exeext conftest.$ac_ext
31947 fi
31948 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
31949 echo "${ECHO_T}$ac_cv_func_remove" >&6
31950
31951 if test $ac_cv_func_remove = no; then
31952 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
31953 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
31954 if test "${ac_cv_lib_posix_remove+set}" = set; then
31955 echo $ECHO_N "(cached) $ECHO_C" >&6
31956 else
31957 ac_check_lib_save_LIBS=$LIBS
31958 LIBS="-lposix $LIBS"
31959 cat >conftest.$ac_ext <<_ACEOF
31960 /* confdefs.h. */
31961 _ACEOF
31962 cat confdefs.h >>conftest.$ac_ext
31963 cat >>conftest.$ac_ext <<_ACEOF
31964 /* end confdefs.h. */
31965
31966 /* Override any gcc2 internal prototype to avoid an error. */
31967 #ifdef __cplusplus
31968 extern "C"
31969 #endif
31970 /* We use char because int might match the return type of a gcc2
31971 builtin and then its argument prototype would still apply. */
31972 char remove ();
31973 int
31974 main ()
31975 {
31976 remove ();
31977 ;
31978 return 0;
31979 }
31980 _ACEOF
31981 rm -f conftest.$ac_objext conftest$ac_exeext
31982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31983 (eval $ac_link) 2>conftest.er1
31984 ac_status=$?
31985 grep -v '^ *+' conftest.er1 >conftest.err
31986 rm -f conftest.er1
31987 cat conftest.err >&5
31988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31989 (exit $ac_status); } &&
31990 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
31991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31992 (eval $ac_try) 2>&5
31993 ac_status=$?
31994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31995 (exit $ac_status); }; } &&
31996 { ac_try='test -s conftest$ac_exeext'
31997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31998 (eval $ac_try) 2>&5
31999 ac_status=$?
32000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001 (exit $ac_status); }; }; then
32002 ac_cv_lib_posix_remove=yes
32003 else
32004 echo "$as_me: failed program was:" >&5
32005 sed 's/^/| /' conftest.$ac_ext >&5
32006
32007 ac_cv_lib_posix_remove=no
32008 fi
32009 rm -f conftest.err conftest.$ac_objext \
32010 conftest$ac_exeext conftest.$ac_ext
32011 LIBS=$ac_check_lib_save_LIBS
32012 fi
32013 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32014 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
32015 if test $ac_cv_lib_posix_remove = yes; then
32016 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32017 fi
32018
32019 fi
32020
32021 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32022 echo "$as_me:$LINENO: checking for shmat" >&5
32023 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
32024 if test "${ac_cv_func_shmat+set}" = set; then
32025 echo $ECHO_N "(cached) $ECHO_C" >&6
32026 else
32027 cat >conftest.$ac_ext <<_ACEOF
32028 /* confdefs.h. */
32029 _ACEOF
32030 cat confdefs.h >>conftest.$ac_ext
32031 cat >>conftest.$ac_ext <<_ACEOF
32032 /* end confdefs.h. */
32033 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32035 #define shmat innocuous_shmat
32036
32037 /* System header to define __stub macros and hopefully few prototypes,
32038 which can conflict with char shmat (); below.
32039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32040 <limits.h> exists even on freestanding compilers. */
32041
32042 #ifdef __STDC__
32043 # include <limits.h>
32044 #else
32045 # include <assert.h>
32046 #endif
32047
32048 #undef shmat
32049
32050 /* Override any gcc2 internal prototype to avoid an error. */
32051 #ifdef __cplusplus
32052 extern "C"
32053 {
32054 #endif
32055 /* We use char because int might match the return type of a gcc2
32056 builtin and then its argument prototype would still apply. */
32057 char shmat ();
32058 /* The GNU C library defines this for functions which it implements
32059 to always fail with ENOSYS. Some functions are actually named
32060 something starting with __ and the normal name is an alias. */
32061 #if defined (__stub_shmat) || defined (__stub___shmat)
32062 choke me
32063 #else
32064 char (*f) () = shmat;
32065 #endif
32066 #ifdef __cplusplus
32067 }
32068 #endif
32069
32070 int
32071 main ()
32072 {
32073 return f != shmat;
32074 ;
32075 return 0;
32076 }
32077 _ACEOF
32078 rm -f conftest.$ac_objext conftest$ac_exeext
32079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32080 (eval $ac_link) 2>conftest.er1
32081 ac_status=$?
32082 grep -v '^ *+' conftest.er1 >conftest.err
32083 rm -f conftest.er1
32084 cat conftest.err >&5
32085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32086 (exit $ac_status); } &&
32087 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32089 (eval $ac_try) 2>&5
32090 ac_status=$?
32091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32092 (exit $ac_status); }; } &&
32093 { ac_try='test -s conftest$ac_exeext'
32094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32095 (eval $ac_try) 2>&5
32096 ac_status=$?
32097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32098 (exit $ac_status); }; }; then
32099 ac_cv_func_shmat=yes
32100 else
32101 echo "$as_me: failed program was:" >&5
32102 sed 's/^/| /' conftest.$ac_ext >&5
32103
32104 ac_cv_func_shmat=no
32105 fi
32106 rm -f conftest.err conftest.$ac_objext \
32107 conftest$ac_exeext conftest.$ac_ext
32108 fi
32109 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32110 echo "${ECHO_T}$ac_cv_func_shmat" >&6
32111
32112 if test $ac_cv_func_shmat = no; then
32113 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32114 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
32115 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32116 echo $ECHO_N "(cached) $ECHO_C" >&6
32117 else
32118 ac_check_lib_save_LIBS=$LIBS
32119 LIBS="-lipc $LIBS"
32120 cat >conftest.$ac_ext <<_ACEOF
32121 /* confdefs.h. */
32122 _ACEOF
32123 cat confdefs.h >>conftest.$ac_ext
32124 cat >>conftest.$ac_ext <<_ACEOF
32125 /* end confdefs.h. */
32126
32127 /* Override any gcc2 internal prototype to avoid an error. */
32128 #ifdef __cplusplus
32129 extern "C"
32130 #endif
32131 /* We use char because int might match the return type of a gcc2
32132 builtin and then its argument prototype would still apply. */
32133 char shmat ();
32134 int
32135 main ()
32136 {
32137 shmat ();
32138 ;
32139 return 0;
32140 }
32141 _ACEOF
32142 rm -f conftest.$ac_objext conftest$ac_exeext
32143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32144 (eval $ac_link) 2>conftest.er1
32145 ac_status=$?
32146 grep -v '^ *+' conftest.er1 >conftest.err
32147 rm -f conftest.er1
32148 cat conftest.err >&5
32149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32150 (exit $ac_status); } &&
32151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32153 (eval $ac_try) 2>&5
32154 ac_status=$?
32155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32156 (exit $ac_status); }; } &&
32157 { ac_try='test -s conftest$ac_exeext'
32158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32159 (eval $ac_try) 2>&5
32160 ac_status=$?
32161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32162 (exit $ac_status); }; }; then
32163 ac_cv_lib_ipc_shmat=yes
32164 else
32165 echo "$as_me: failed program was:" >&5
32166 sed 's/^/| /' conftest.$ac_ext >&5
32167
32168 ac_cv_lib_ipc_shmat=no
32169 fi
32170 rm -f conftest.err conftest.$ac_objext \
32171 conftest$ac_exeext conftest.$ac_ext
32172 LIBS=$ac_check_lib_save_LIBS
32173 fi
32174 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32175 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
32176 if test $ac_cv_lib_ipc_shmat = yes; then
32177 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32178 fi
32179
32180 fi
32181 fi
32182
32183 # Check for libraries that X11R6 Xt/Xaw programs need.
32184 ac_save_LDFLAGS=$LDFLAGS
32185 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32186 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32187 # check for ICE first), but we must link in the order -lSM -lICE or
32188 # we get undefined symbols. So assume we have SM if we have ICE.
32189 # These have to be linked with before -lX11, unlike the other
32190 # libraries we check for below, so use a different variable.
32191 # John Interrante, Karl Berry
32192 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32193 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
32194 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32195 echo $ECHO_N "(cached) $ECHO_C" >&6
32196 else
32197 ac_check_lib_save_LIBS=$LIBS
32198 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32199 cat >conftest.$ac_ext <<_ACEOF
32200 /* confdefs.h. */
32201 _ACEOF
32202 cat confdefs.h >>conftest.$ac_ext
32203 cat >>conftest.$ac_ext <<_ACEOF
32204 /* end confdefs.h. */
32205
32206 /* Override any gcc2 internal prototype to avoid an error. */
32207 #ifdef __cplusplus
32208 extern "C"
32209 #endif
32210 /* We use char because int might match the return type of a gcc2
32211 builtin and then its argument prototype would still apply. */
32212 char IceConnectionNumber ();
32213 int
32214 main ()
32215 {
32216 IceConnectionNumber ();
32217 ;
32218 return 0;
32219 }
32220 _ACEOF
32221 rm -f conftest.$ac_objext conftest$ac_exeext
32222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32223 (eval $ac_link) 2>conftest.er1
32224 ac_status=$?
32225 grep -v '^ *+' conftest.er1 >conftest.err
32226 rm -f conftest.er1
32227 cat conftest.err >&5
32228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32229 (exit $ac_status); } &&
32230 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32232 (eval $ac_try) 2>&5
32233 ac_status=$?
32234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32235 (exit $ac_status); }; } &&
32236 { ac_try='test -s conftest$ac_exeext'
32237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32238 (eval $ac_try) 2>&5
32239 ac_status=$?
32240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32241 (exit $ac_status); }; }; then
32242 ac_cv_lib_ICE_IceConnectionNumber=yes
32243 else
32244 echo "$as_me: failed program was:" >&5
32245 sed 's/^/| /' conftest.$ac_ext >&5
32246
32247 ac_cv_lib_ICE_IceConnectionNumber=no
32248 fi
32249 rm -f conftest.err conftest.$ac_objext \
32250 conftest$ac_exeext conftest.$ac_ext
32251 LIBS=$ac_check_lib_save_LIBS
32252 fi
32253 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32254 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
32255 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32256 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32257 fi
32258
32259 LDFLAGS=$ac_save_LDFLAGS
32260
32261 fi
32262
32263
32264 if test "$no_x" = "yes"; then
32265 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32266 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32267 { (exit 1); exit 1; }; }
32268 fi
32269
32270 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32271 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32272 AFMINSTALL=afminstall
32273 COMPILED_X_PROGRAM=0
32274
32275 fi
32276
32277 if test "$wxUSE_X11" = 1; then
32278 if test "$wxUSE_NANOX" = "yes"; then
32279 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32280 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
32281 if test "x$MICROWIN" = x ; then
32282 echo "$as_me:$LINENO: result: not found" >&5
32283 echo "${ECHO_T}not found" >&6
32284 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32285 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32286 { (exit 1); exit 1; }; }
32287 else
32288 echo "$as_me:$LINENO: result: $MICROWIN" >&5
32289 echo "${ECHO_T}$MICROWIN" >&6
32290 cat >>confdefs.h <<\_ACEOF
32291 #define wxUSE_NANOX 1
32292 _ACEOF
32293
32294 fi
32295 fi
32296
32297 if test "$wxUSE_UNICODE" = "yes"; then
32298
32299
32300 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32301 if test -n "$ac_tool_prefix"; then
32302 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32303 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32304 echo "$as_me:$LINENO: checking for $ac_word" >&5
32305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32306 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32307 echo $ECHO_N "(cached) $ECHO_C" >&6
32308 else
32309 case $PKG_CONFIG in
32310 [\\/]* | ?:[\\/]*)
32311 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32312 ;;
32313 *)
32314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32315 for as_dir in $PATH
32316 do
32317 IFS=$as_save_IFS
32318 test -z "$as_dir" && as_dir=.
32319 for ac_exec_ext in '' $ac_executable_extensions; do
32320 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32321 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32323 break 2
32324 fi
32325 done
32326 done
32327
32328 ;;
32329 esac
32330 fi
32331 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
32332
32333 if test -n "$PKG_CONFIG"; then
32334 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
32335 echo "${ECHO_T}$PKG_CONFIG" >&6
32336 else
32337 echo "$as_me:$LINENO: result: no" >&5
32338 echo "${ECHO_T}no" >&6
32339 fi
32340
32341 fi
32342 if test -z "$ac_cv_path_PKG_CONFIG"; then
32343 ac_pt_PKG_CONFIG=$PKG_CONFIG
32344 # Extract the first word of "pkg-config", so it can be a program name with args.
32345 set dummy pkg-config; ac_word=$2
32346 echo "$as_me:$LINENO: checking for $ac_word" >&5
32347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
32348 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
32349 echo $ECHO_N "(cached) $ECHO_C" >&6
32350 else
32351 case $ac_pt_PKG_CONFIG in
32352 [\\/]* | ?:[\\/]*)
32353 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
32354 ;;
32355 *)
32356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32357 for as_dir in $PATH
32358 do
32359 IFS=$as_save_IFS
32360 test -z "$as_dir" && as_dir=.
32361 for ac_exec_ext in '' $ac_executable_extensions; do
32362 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
32363 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32365 break 2
32366 fi
32367 done
32368 done
32369
32370 ;;
32371 esac
32372 fi
32373 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
32374
32375 if test -n "$ac_pt_PKG_CONFIG"; then
32376 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
32377 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
32378 else
32379 echo "$as_me:$LINENO: result: no" >&5
32380 echo "${ECHO_T}no" >&6
32381 fi
32382
32383 PKG_CONFIG=$ac_pt_PKG_CONFIG
32384 else
32385 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32386 fi
32387
32388 fi
32389 if test -n "$PKG_CONFIG"; then
32390 _pkg_min_version=0.9.0
32391 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32392 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
32393 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32394 echo "$as_me:$LINENO: result: yes" >&5
32395 echo "${ECHO_T}yes" >&6
32396 else
32397 echo "$as_me:$LINENO: result: no" >&5
32398 echo "${ECHO_T}no" >&6
32399 PKG_CONFIG=""
32400 fi
32401
32402 fi
32403
32404
32405 pkg_failed=no
32406 echo "$as_me:$LINENO: checking for PANGOX" >&5
32407 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
32408
32409 if test -n "$PKG_CONFIG"; then
32410 if test -n "$PANGOX_CFLAGS"; then
32411 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
32412 else
32413 if test -n "$PKG_CONFIG" && \
32414 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32415 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32416 ac_status=$?
32417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32418 (exit $ac_status); }; then
32419 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
32420 else
32421 pkg_failed=yes
32422 fi
32423 fi
32424 else
32425 pkg_failed=untried
32426 fi
32427 if test -n "$PKG_CONFIG"; then
32428 if test -n "$PANGOX_LIBS"; then
32429 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
32430 else
32431 if test -n "$PKG_CONFIG" && \
32432 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
32433 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
32434 ac_status=$?
32435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32436 (exit $ac_status); }; then
32437 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
32438 else
32439 pkg_failed=yes
32440 fi
32441 fi
32442 else
32443 pkg_failed=untried
32444 fi
32445
32446
32447
32448 if test $pkg_failed = yes; then
32449
32450 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32451 _pkg_short_errors_supported=yes
32452 else
32453 _pkg_short_errors_supported=no
32454 fi
32455 if test $_pkg_short_errors_supported = yes; then
32456 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
32457 else
32458 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
32459 fi
32460 # Put the nasty error message in config.log where it belongs
32461 echo "$PANGOX_PKG_ERRORS" >&5
32462
32463
32464 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32465 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32466 { (exit 1); exit 1; }; }
32467
32468
32469 elif test $pkg_failed = untried; then
32470
32471 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
32472 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
32473 { (exit 1); exit 1; }; }
32474
32475
32476 else
32477 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
32478 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
32479 echo "$as_me:$LINENO: result: yes" >&5
32480 echo "${ECHO_T}yes" >&6
32481
32482 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
32483 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
32484 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
32485
32486 fi
32487
32488 pkg_failed=no
32489 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
32490 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
32491
32492 if test -n "$PKG_CONFIG"; then
32493 if test -n "$PANGOFT2_CFLAGS"; then
32494 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
32495 else
32496 if test -n "$PKG_CONFIG" && \
32497 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32498 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32499 ac_status=$?
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); }; then
32502 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
32503 else
32504 pkg_failed=yes
32505 fi
32506 fi
32507 else
32508 pkg_failed=untried
32509 fi
32510 if test -n "$PKG_CONFIG"; then
32511 if test -n "$PANGOFT2_LIBS"; then
32512 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
32513 else
32514 if test -n "$PKG_CONFIG" && \
32515 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
32516 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
32517 ac_status=$?
32518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32519 (exit $ac_status); }; then
32520 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
32521 else
32522 pkg_failed=yes
32523 fi
32524 fi
32525 else
32526 pkg_failed=untried
32527 fi
32528
32529
32530
32531 if test $pkg_failed = yes; then
32532
32533 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32534 _pkg_short_errors_supported=yes
32535 else
32536 _pkg_short_errors_supported=no
32537 fi
32538 if test $_pkg_short_errors_supported = yes; then
32539 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
32540 else
32541 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
32542 fi
32543 # Put the nasty error message in config.log where it belongs
32544 echo "$PANGOFT2_PKG_ERRORS" >&5
32545
32546
32547 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32548 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32549 wxUSE_PRINTING_ARCHITECTURE="no"
32550
32551
32552 elif test $pkg_failed = untried; then
32553
32554 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
32555 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
32556 wxUSE_PRINTING_ARCHITECTURE="no"
32557
32558
32559 else
32560 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
32561 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
32562 echo "$as_me:$LINENO: result: yes" >&5
32563 echo "${ECHO_T}yes" >&6
32564
32565 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
32566 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
32567 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
32568
32569 fi
32570
32571 pkg_failed=no
32572 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
32573 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
32574
32575 if test -n "$PKG_CONFIG"; then
32576 if test -n "$PANGOXFT_CFLAGS"; then
32577 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
32578 else
32579 if test -n "$PKG_CONFIG" && \
32580 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32581 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32582 ac_status=$?
32583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32584 (exit $ac_status); }; then
32585 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
32586 else
32587 pkg_failed=yes
32588 fi
32589 fi
32590 else
32591 pkg_failed=untried
32592 fi
32593 if test -n "$PKG_CONFIG"; then
32594 if test -n "$PANGOXFT_LIBS"; then
32595 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
32596 else
32597 if test -n "$PKG_CONFIG" && \
32598 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
32599 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
32600 ac_status=$?
32601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32602 (exit $ac_status); }; then
32603 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
32604 else
32605 pkg_failed=yes
32606 fi
32607 fi
32608 else
32609 pkg_failed=untried
32610 fi
32611
32612
32613
32614 if test $pkg_failed = yes; then
32615
32616 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32617 _pkg_short_errors_supported=yes
32618 else
32619 _pkg_short_errors_supported=no
32620 fi
32621 if test $_pkg_short_errors_supported = yes; then
32622 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
32623 else
32624 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
32625 fi
32626 # Put the nasty error message in config.log where it belongs
32627 echo "$PANGOXFT_PKG_ERRORS" >&5
32628
32629
32630 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32631 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32632
32633
32634 elif test $pkg_failed = untried; then
32635
32636 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
32637 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
32638
32639
32640 else
32641 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
32642 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
32643 echo "$as_me:$LINENO: result: yes" >&5
32644 echo "${ECHO_T}yes" >&6
32645
32646 cat >>confdefs.h <<\_ACEOF
32647 #define HAVE_PANGO_XFT 1
32648 _ACEOF
32649
32650 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
32651 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
32652 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
32653
32654 fi
32655 save_LIBS="$LIBS"
32656 LIBS="$LIBS $PANGOX_LIBS"
32657
32658 for ac_func in pango_font_family_is_monospace
32659 do
32660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32661 echo "$as_me:$LINENO: checking for $ac_func" >&5
32662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32663 if eval "test \"\${$as_ac_var+set}\" = set"; then
32664 echo $ECHO_N "(cached) $ECHO_C" >&6
32665 else
32666 cat >conftest.$ac_ext <<_ACEOF
32667 /* confdefs.h. */
32668 _ACEOF
32669 cat confdefs.h >>conftest.$ac_ext
32670 cat >>conftest.$ac_ext <<_ACEOF
32671 /* end confdefs.h. */
32672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32673 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32674 #define $ac_func innocuous_$ac_func
32675
32676 /* System header to define __stub macros and hopefully few prototypes,
32677 which can conflict with char $ac_func (); below.
32678 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32679 <limits.h> exists even on freestanding compilers. */
32680
32681 #ifdef __STDC__
32682 # include <limits.h>
32683 #else
32684 # include <assert.h>
32685 #endif
32686
32687 #undef $ac_func
32688
32689 /* Override any gcc2 internal prototype to avoid an error. */
32690 #ifdef __cplusplus
32691 extern "C"
32692 {
32693 #endif
32694 /* We use char because int might match the return type of a gcc2
32695 builtin and then its argument prototype would still apply. */
32696 char $ac_func ();
32697 /* The GNU C library defines this for functions which it implements
32698 to always fail with ENOSYS. Some functions are actually named
32699 something starting with __ and the normal name is an alias. */
32700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32701 choke me
32702 #else
32703 char (*f) () = $ac_func;
32704 #endif
32705 #ifdef __cplusplus
32706 }
32707 #endif
32708
32709 int
32710 main ()
32711 {
32712 return f != $ac_func;
32713 ;
32714 return 0;
32715 }
32716 _ACEOF
32717 rm -f conftest.$ac_objext conftest$ac_exeext
32718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32719 (eval $ac_link) 2>conftest.er1
32720 ac_status=$?
32721 grep -v '^ *+' conftest.er1 >conftest.err
32722 rm -f conftest.er1
32723 cat conftest.err >&5
32724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32725 (exit $ac_status); } &&
32726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32728 (eval $ac_try) 2>&5
32729 ac_status=$?
32730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32731 (exit $ac_status); }; } &&
32732 { ac_try='test -s conftest$ac_exeext'
32733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32734 (eval $ac_try) 2>&5
32735 ac_status=$?
32736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32737 (exit $ac_status); }; }; then
32738 eval "$as_ac_var=yes"
32739 else
32740 echo "$as_me: failed program was:" >&5
32741 sed 's/^/| /' conftest.$ac_ext >&5
32742
32743 eval "$as_ac_var=no"
32744 fi
32745 rm -f conftest.err conftest.$ac_objext \
32746 conftest$ac_exeext conftest.$ac_ext
32747 fi
32748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32750 if test `eval echo '${'$as_ac_var'}'` = yes; then
32751 cat >>confdefs.h <<_ACEOF
32752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32753 _ACEOF
32754
32755 fi
32756 done
32757
32758 LIBS="$save_LIBS"
32759 fi
32760
32761 wxUSE_UNIVERSAL="yes"
32762
32763 if test "$wxUSE_NANOX" = "yes"; then
32764 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
32765 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"
32766 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
32767 else
32768 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
32769 fi
32770
32771 TOOLKIT=X11
32772 GUIDIST=X11_DIST
32773 fi
32774
32775 if test "$wxUSE_MOTIF" = 1; then
32776 if test "$wxUSE_UNICODE" = "yes"; then
32777 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
32778 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
32779 { (exit 1); exit 1; }; }
32780 fi
32781
32782 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
32783 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
32784
32785 ac_find_includes=
32786 for ac_dir in $SEARCH_INCLUDE /usr/include;
32787 do
32788 if test -f "$ac_dir/Xm/Xm.h"; then
32789 ac_find_includes=$ac_dir
32790 break
32791 fi
32792 done
32793
32794 if test "$ac_find_includes" != "" ; then
32795 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32796 echo "${ECHO_T}found in $ac_find_includes" >&6
32797
32798 if test "x$ac_find_includes" = "x/usr/include"; then
32799 ac_path_to_include=""
32800 else
32801 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
32802 result=$?
32803 if test $result = 0; then
32804 ac_path_to_include=""
32805 else
32806 ac_path_to_include=" -I$ac_find_includes"
32807 fi
32808 fi
32809
32810 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
32811 else
32812 save_CFLAGS=$CFLAGS
32813 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32814
32815 cat >conftest.$ac_ext <<_ACEOF
32816 /* confdefs.h. */
32817 _ACEOF
32818 cat confdefs.h >>conftest.$ac_ext
32819 cat >>conftest.$ac_ext <<_ACEOF
32820 /* end confdefs.h. */
32821
32822 #include <Xm/Xm.h>
32823
32824 int
32825 main ()
32826 {
32827
32828 int version;
32829 version = xmUseVersion;
32830
32831 ;
32832 return 0;
32833 }
32834 _ACEOF
32835 rm -f conftest.$ac_objext
32836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32837 (eval $ac_compile) 2>conftest.er1
32838 ac_status=$?
32839 grep -v '^ *+' conftest.er1 >conftest.err
32840 rm -f conftest.er1
32841 cat conftest.err >&5
32842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32843 (exit $ac_status); } &&
32844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32846 (eval $ac_try) 2>&5
32847 ac_status=$?
32848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32849 (exit $ac_status); }; } &&
32850 { ac_try='test -s conftest.$ac_objext'
32851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32852 (eval $ac_try) 2>&5
32853 ac_status=$?
32854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32855 (exit $ac_status); }; }; then
32856
32857 echo "$as_me:$LINENO: result: found in default search path" >&5
32858 echo "${ECHO_T}found in default search path" >&6
32859 COMPILED_X_PROGRAM=1
32860
32861 else
32862 echo "$as_me: failed program was:" >&5
32863 sed 's/^/| /' conftest.$ac_ext >&5
32864
32865
32866 echo "$as_me:$LINENO: result: no" >&5
32867 echo "${ECHO_T}no" >&6
32868 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
32869 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
32870 { (exit 1); exit 1; }; }
32871
32872
32873 fi
32874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32875
32876 CFLAGS=$save_CFLAGS
32877 fi
32878
32879
32880 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
32881 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
32882
32883 ac_find_libraries=
32884 for ac_dir in $SEARCH_LIB;
32885 do
32886 for ac_extension in a so sl dylib dll.a; do
32887 if test -f "$ac_dir/libXm.$ac_extension"; then
32888 ac_find_libraries=$ac_dir
32889 break 2
32890 fi
32891 done
32892 done
32893
32894
32895 if test "x$ac_find_libraries" != "x" ; then
32896 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32897 echo "${ECHO_T}found in $ac_find_libraries" >&6
32898
32899
32900 if test "$ac_find_libraries" = "default location"; then
32901 ac_path_to_link=""
32902 else
32903 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32904 result=$?
32905 if test $result = 0; then
32906 ac_path_to_link=""
32907 else
32908 ac_path_to_link=" -L$ac_find_libraries"
32909 fi
32910 fi
32911
32912 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32913 else
32914 save_CFLAGS=$CFLAGS
32915 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32916 save_LIBS="$LIBS"
32917 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
32918
32919 cat >conftest.$ac_ext <<_ACEOF
32920 /* confdefs.h. */
32921 _ACEOF
32922 cat confdefs.h >>conftest.$ac_ext
32923 cat >>conftest.$ac_ext <<_ACEOF
32924 /* end confdefs.h. */
32925
32926 #include <Xm/Xm.h>
32927
32928 int
32929 main ()
32930 {
32931
32932 int version;
32933 version = xmUseVersion;
32934
32935 ;
32936 return 0;
32937 }
32938 _ACEOF
32939 rm -f conftest.$ac_objext conftest$ac_exeext
32940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32941 (eval $ac_link) 2>conftest.er1
32942 ac_status=$?
32943 grep -v '^ *+' conftest.er1 >conftest.err
32944 rm -f conftest.er1
32945 cat conftest.err >&5
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); } &&
32948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
32949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32950 (eval $ac_try) 2>&5
32951 ac_status=$?
32952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32953 (exit $ac_status); }; } &&
32954 { ac_try='test -s conftest$ac_exeext'
32955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32956 (eval $ac_try) 2>&5
32957 ac_status=$?
32958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32959 (exit $ac_status); }; }; then
32960
32961 echo "$as_me:$LINENO: result: found in default search path" >&5
32962 echo "${ECHO_T}found in default search path" >&6
32963 COMPILED_X_PROGRAM=1
32964
32965 else
32966 echo "$as_me: failed program was:" >&5
32967 sed 's/^/| /' conftest.$ac_ext >&5
32968
32969
32970 echo "$as_me:$LINENO: result: no" >&5
32971 echo "${ECHO_T}no" >&6
32972 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
32973 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
32974 { (exit 1); exit 1; }; }
32975
32976
32977 fi
32978 rm -f conftest.err conftest.$ac_objext \
32979 conftest$ac_exeext conftest.$ac_ext
32980
32981 CFLAGS=$save_CFLAGS
32982 LIBS="$save_LIBS"
32983 fi
32984
32985 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
32986 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
32987 libp_link=""
32988 libsm_ice_link=""
32989 libs_found=0
32990 for libp in "" " -lXp"; do
32991 if test "$libs_found" = "0"; then
32992 for libsm_ice in "" " -lSM -lICE"; do
32993 if test "$libs_found" = "0"; then
32994 save_LIBS="$LIBS"
32995 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
32996 save_CFLAGS=$CFLAGS
32997 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32998
32999 cat >conftest.$ac_ext <<_ACEOF
33000 /* confdefs.h. */
33001 _ACEOF
33002 cat confdefs.h >>conftest.$ac_ext
33003 cat >>conftest.$ac_ext <<_ACEOF
33004 /* end confdefs.h. */
33005
33006 #include <Xm/Xm.h>
33007 #include <Xm/List.h>
33008
33009 int
33010 main ()
33011 {
33012
33013 XmString string = NULL;
33014 Widget w = NULL;
33015 int position = 0;
33016 XmListAddItem(w, string, position);
33017
33018 ;
33019 return 0;
33020 }
33021 _ACEOF
33022 rm -f conftest.$ac_objext conftest$ac_exeext
33023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33024 (eval $ac_link) 2>conftest.er1
33025 ac_status=$?
33026 grep -v '^ *+' conftest.er1 >conftest.err
33027 rm -f conftest.er1
33028 cat conftest.err >&5
33029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33030 (exit $ac_status); } &&
33031 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33033 (eval $ac_try) 2>&5
33034 ac_status=$?
33035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33036 (exit $ac_status); }; } &&
33037 { ac_try='test -s conftest$ac_exeext'
33038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33039 (eval $ac_try) 2>&5
33040 ac_status=$?
33041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33042 (exit $ac_status); }; }; then
33043
33044 libp_link="$libp"
33045 libsm_ice_link="$libsm_ice"
33046 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33047 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
33048 libs_found=1
33049
33050 else
33051 echo "$as_me: failed program was:" >&5
33052 sed 's/^/| /' conftest.$ac_ext >&5
33053
33054
33055
33056 fi
33057 rm -f conftest.err conftest.$ac_objext \
33058 conftest$ac_exeext conftest.$ac_ext
33059
33060 LIBS="$save_LIBS"
33061 CFLAGS=$save_CFLAGS
33062 fi
33063 done
33064 fi
33065 done
33066
33067 if test "$libs_found" = "0"; then
33068 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33069 echo "${ECHO_T}can't find the right libraries" >&6
33070 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33071 echo "$as_me: error: can't link a simple motif program" >&2;}
33072 { (exit 1); exit 1; }; }
33073 fi
33074
33075 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33076 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
33077 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33078 echo $ECHO_N "(cached) $ECHO_C" >&6
33079 else
33080 ac_check_lib_save_LIBS=$LIBS
33081 LIBS="-lSgm $LIBS"
33082 cat >conftest.$ac_ext <<_ACEOF
33083 /* confdefs.h. */
33084 _ACEOF
33085 cat confdefs.h >>conftest.$ac_ext
33086 cat >>conftest.$ac_ext <<_ACEOF
33087 /* end confdefs.h. */
33088
33089 /* Override any gcc2 internal prototype to avoid an error. */
33090 #ifdef __cplusplus
33091 extern "C"
33092 #endif
33093 /* We use char because int might match the return type of a gcc2
33094 builtin and then its argument prototype would still apply. */
33095 char SgCreateList ();
33096 int
33097 main ()
33098 {
33099 SgCreateList ();
33100 ;
33101 return 0;
33102 }
33103 _ACEOF
33104 rm -f conftest.$ac_objext conftest$ac_exeext
33105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33106 (eval $ac_link) 2>conftest.er1
33107 ac_status=$?
33108 grep -v '^ *+' conftest.er1 >conftest.err
33109 rm -f conftest.er1
33110 cat conftest.err >&5
33111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33112 (exit $ac_status); } &&
33113 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33115 (eval $ac_try) 2>&5
33116 ac_status=$?
33117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33118 (exit $ac_status); }; } &&
33119 { ac_try='test -s conftest$ac_exeext'
33120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33121 (eval $ac_try) 2>&5
33122 ac_status=$?
33123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124 (exit $ac_status); }; }; then
33125 ac_cv_lib_Sgm_SgCreateList=yes
33126 else
33127 echo "$as_me: failed program was:" >&5
33128 sed 's/^/| /' conftest.$ac_ext >&5
33129
33130 ac_cv_lib_Sgm_SgCreateList=no
33131 fi
33132 rm -f conftest.err conftest.$ac_objext \
33133 conftest$ac_exeext conftest.$ac_ext
33134 LIBS=$ac_check_lib_save_LIBS
33135 fi
33136 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33137 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
33138 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33139 libsgm_link=" -lSgm"
33140 fi
33141
33142
33143 save_CFLAGS=$CFLAGS
33144 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33145
33146 echo "$as_me:$LINENO: checking for Motif 2" >&5
33147 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
33148 if test "${wx_cv_lib_motif2+set}" = set; then
33149 echo $ECHO_N "(cached) $ECHO_C" >&6
33150 else
33151 cat >conftest.$ac_ext <<_ACEOF
33152 /* confdefs.h. */
33153 _ACEOF
33154 cat confdefs.h >>conftest.$ac_ext
33155 cat >>conftest.$ac_ext <<_ACEOF
33156 /* end confdefs.h. */
33157
33158 #include <Xm/Xm.h>
33159
33160 int
33161 main ()
33162 {
33163
33164 #if XmVersion < 2000
33165 Not Motif 2
33166 #endif
33167
33168 ;
33169 return 0;
33170 }
33171 _ACEOF
33172 rm -f conftest.$ac_objext
33173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33174 (eval $ac_compile) 2>conftest.er1
33175 ac_status=$?
33176 grep -v '^ *+' conftest.er1 >conftest.err
33177 rm -f conftest.er1
33178 cat conftest.err >&5
33179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33180 (exit $ac_status); } &&
33181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33183 (eval $ac_try) 2>&5
33184 ac_status=$?
33185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33186 (exit $ac_status); }; } &&
33187 { ac_try='test -s conftest.$ac_objext'
33188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33189 (eval $ac_try) 2>&5
33190 ac_status=$?
33191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33192 (exit $ac_status); }; }; then
33193 wx_cv_lib_motif2="yes"
33194 else
33195 echo "$as_me: failed program was:" >&5
33196 sed 's/^/| /' conftest.$ac_ext >&5
33197
33198 wx_cv_lib_motif2="no"
33199 fi
33200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33201 fi
33202 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33203 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
33204 if test "$wx_cv_lib_motif2" = "yes"; then
33205 cat >>confdefs.h <<\_ACEOF
33206 #define __WXMOTIF20__ 1
33207 _ACEOF
33208
33209 else
33210 cat >>confdefs.h <<\_ACEOF
33211 #define __WXMOTIF20__ 0
33212 _ACEOF
33213
33214 fi
33215
33216 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33217 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
33218 if test "${wx_cv_lib_lesstif+set}" = set; then
33219 echo $ECHO_N "(cached) $ECHO_C" >&6
33220 else
33221 cat >conftest.$ac_ext <<_ACEOF
33222 /* confdefs.h. */
33223 _ACEOF
33224 cat confdefs.h >>conftest.$ac_ext
33225 cat >>conftest.$ac_ext <<_ACEOF
33226 /* end confdefs.h. */
33227
33228 #include <Xm/Xm.h>
33229
33230 int
33231 main ()
33232 {
33233
33234 #if !defined(LesstifVersion) || LesstifVersion <= 0
33235 Not Lesstif
33236 #endif
33237
33238 ;
33239 return 0;
33240 }
33241 _ACEOF
33242 rm -f conftest.$ac_objext
33243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33244 (eval $ac_compile) 2>conftest.er1
33245 ac_status=$?
33246 grep -v '^ *+' conftest.er1 >conftest.err
33247 rm -f conftest.er1
33248 cat conftest.err >&5
33249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33250 (exit $ac_status); } &&
33251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33253 (eval $ac_try) 2>&5
33254 ac_status=$?
33255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33256 (exit $ac_status); }; } &&
33257 { ac_try='test -s conftest.$ac_objext'
33258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33259 (eval $ac_try) 2>&5
33260 ac_status=$?
33261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33262 (exit $ac_status); }; }; then
33263 wx_cv_lib_lesstif="yes"
33264 else
33265 echo "$as_me: failed program was:" >&5
33266 sed 's/^/| /' conftest.$ac_ext >&5
33267
33268 wx_cv_lib_lesstif="no"
33269 fi
33270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33271
33272 fi
33273 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33274 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
33275 if test "$wx_cv_lib_lesstif" = "yes"; then
33276 cat >>confdefs.h <<\_ACEOF
33277 #define __WXLESSTIF__ 1
33278 _ACEOF
33279
33280 else
33281 cat >>confdefs.h <<\_ACEOF
33282 #define __WXLESSTIF__ 0
33283 _ACEOF
33284
33285 fi
33286
33287 CFLAGS=$save_CFLAGS
33288
33289 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33290 TOOLKIT=MOTIF
33291 GUIDIST=MOTIF_DIST
33292 fi
33293
33294 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33295 if test "$wxUSE_LIBXPM" = "sys"; then
33296 echo "$as_me:$LINENO: checking for Xpm library" >&5
33297 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
33298
33299 ac_find_libraries=
33300 for ac_dir in $SEARCH_LIB;
33301 do
33302 for ac_extension in a so sl dylib dll.a; do
33303 if test -f "$ac_dir/libXpm.$ac_extension"; then
33304 ac_find_libraries=$ac_dir
33305 break 2
33306 fi
33307 done
33308 done
33309
33310 if test "$ac_find_libraries" != "" ; then
33311
33312 if test "$ac_find_libraries" = "default location"; then
33313 ac_path_to_link=""
33314 else
33315 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33316 result=$?
33317 if test $result = 0; then
33318 ac_path_to_link=""
33319 else
33320 ac_path_to_link=" -L$ac_find_libraries"
33321 fi
33322 fi
33323
33324 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33325 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33326 echo "${ECHO_T}found in $ac_find_libraries" >&6
33327
33328 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33329 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
33330 if test "${wx_cv_x11_xpm_h+set}" = set; then
33331 echo $ECHO_N "(cached) $ECHO_C" >&6
33332 else
33333
33334 save_CFLAGS=$CFLAGS
33335 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33336
33337 cat >conftest.$ac_ext <<_ACEOF
33338 /* confdefs.h. */
33339 _ACEOF
33340 cat confdefs.h >>conftest.$ac_ext
33341 cat >>conftest.$ac_ext <<_ACEOF
33342 /* end confdefs.h. */
33343
33344 #include <X11/xpm.h>
33345
33346 int
33347 main ()
33348 {
33349
33350 int version;
33351 version = XpmLibraryVersion();
33352
33353 ;
33354 return 0;
33355 }
33356 _ACEOF
33357 rm -f conftest.$ac_objext
33358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33359 (eval $ac_compile) 2>conftest.er1
33360 ac_status=$?
33361 grep -v '^ *+' conftest.er1 >conftest.err
33362 rm -f conftest.er1
33363 cat conftest.err >&5
33364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33365 (exit $ac_status); } &&
33366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33368 (eval $ac_try) 2>&5
33369 ac_status=$?
33370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33371 (exit $ac_status); }; } &&
33372 { ac_try='test -s conftest.$ac_objext'
33373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33374 (eval $ac_try) 2>&5
33375 ac_status=$?
33376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33377 (exit $ac_status); }; }; then
33378 wx_cv_x11_xpm_h=yes
33379 else
33380 echo "$as_me: failed program was:" >&5
33381 sed 's/^/| /' conftest.$ac_ext >&5
33382
33383 wx_cv_x11_xpm_h=no
33384
33385 fi
33386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33387
33388 CFLAGS=$save_CFLAGS
33389
33390
33391 fi
33392 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
33393 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
33394
33395 if test $wx_cv_x11_xpm_h = "yes"; then
33396 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
33397 cat >>confdefs.h <<\_ACEOF
33398 #define wxHAVE_LIB_XPM 1
33399 _ACEOF
33400
33401 else
33402 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
33403 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
33404 fi
33405 fi
33406
33407 fi
33408
33409 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
33410 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
33411 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
33412 echo $ECHO_N "(cached) $ECHO_C" >&6
33413 else
33414 ac_check_lib_save_LIBS=$LIBS
33415 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
33416 cat >conftest.$ac_ext <<_ACEOF
33417 /* confdefs.h. */
33418 _ACEOF
33419 cat confdefs.h >>conftest.$ac_ext
33420 cat >>conftest.$ac_ext <<_ACEOF
33421 /* end confdefs.h. */
33422
33423 /* Override any gcc2 internal prototype to avoid an error. */
33424 #ifdef __cplusplus
33425 extern "C"
33426 #endif
33427 /* We use char because int might match the return type of a gcc2
33428 builtin and then its argument prototype would still apply. */
33429 char XShapeQueryExtension ();
33430 int
33431 main ()
33432 {
33433 XShapeQueryExtension ();
33434 ;
33435 return 0;
33436 }
33437 _ACEOF
33438 rm -f conftest.$ac_objext conftest$ac_exeext
33439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33440 (eval $ac_link) 2>conftest.er1
33441 ac_status=$?
33442 grep -v '^ *+' conftest.er1 >conftest.err
33443 rm -f conftest.er1
33444 cat conftest.err >&5
33445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33446 (exit $ac_status); } &&
33447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33449 (eval $ac_try) 2>&5
33450 ac_status=$?
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); }; } &&
33453 { ac_try='test -s conftest$ac_exeext'
33454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33455 (eval $ac_try) 2>&5
33456 ac_status=$?
33457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33458 (exit $ac_status); }; }; then
33459 ac_cv_lib_Xext_XShapeQueryExtension=yes
33460 else
33461 echo "$as_me: failed program was:" >&5
33462 sed 's/^/| /' conftest.$ac_ext >&5
33463
33464 ac_cv_lib_Xext_XShapeQueryExtension=no
33465 fi
33466 rm -f conftest.err conftest.$ac_objext \
33467 conftest$ac_exeext conftest.$ac_ext
33468 LIBS=$ac_check_lib_save_LIBS
33469 fi
33470 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
33471 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
33472 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
33473
33474 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
33475 wxHAVE_XEXT_LIB=1
33476
33477 fi
33478
33479
33480 if test "$wxHAVE_XEXT_LIB" = 1; then
33481 save_CFLAGS="$CFLAGS"
33482 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33483
33484 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
33485 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
33486 cat >conftest.$ac_ext <<_ACEOF
33487 /* confdefs.h. */
33488 _ACEOF
33489 cat confdefs.h >>conftest.$ac_ext
33490 cat >>conftest.$ac_ext <<_ACEOF
33491 /* end confdefs.h. */
33492
33493 #include <X11/Xlib.h>
33494 #include <X11/extensions/shape.h>
33495
33496 int
33497 main ()
33498 {
33499
33500 int dummy1, dummy2;
33501 XShapeQueryExtension((Display*)NULL,
33502 (int*)NULL, (int*)NULL);
33503
33504 ;
33505 return 0;
33506 }
33507 _ACEOF
33508 rm -f conftest.$ac_objext
33509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33510 (eval $ac_compile) 2>conftest.er1
33511 ac_status=$?
33512 grep -v '^ *+' conftest.er1 >conftest.err
33513 rm -f conftest.er1
33514 cat conftest.err >&5
33515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33516 (exit $ac_status); } &&
33517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33519 (eval $ac_try) 2>&5
33520 ac_status=$?
33521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33522 (exit $ac_status); }; } &&
33523 { ac_try='test -s conftest.$ac_objext'
33524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33525 (eval $ac_try) 2>&5
33526 ac_status=$?
33527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33528 (exit $ac_status); }; }; then
33529
33530 cat >>confdefs.h <<\_ACEOF
33531 #define HAVE_XSHAPE 1
33532 _ACEOF
33533
33534 echo "$as_me:$LINENO: result: found" >&5
33535 echo "${ECHO_T}found" >&6
33536
33537 else
33538 echo "$as_me: failed program was:" >&5
33539 sed 's/^/| /' conftest.$ac_ext >&5
33540
33541
33542 echo "$as_me:$LINENO: result: not found" >&5
33543 echo "${ECHO_T}not found" >&6
33544
33545 fi
33546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33547 CFLAGS="$save_CFLAGS"
33548
33549 fi
33550 fi
33551
33552 if test "$wxUSE_MAC" = 1; then
33553 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
33554 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
33555 if test "$GCC" = yes; then
33556 echo "$as_me:$LINENO: result: gcc" >&5
33557 echo "${ECHO_T}gcc" >&6
33558 CPPFLAGS_PASCAL="-fpascal-strings"
33559 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
33560 echo "$as_me:$LINENO: result: xlc" >&5
33561 echo "${ECHO_T}xlc" >&6
33562 CPPFLAGS_PASCAL="-qmacpstr"
33563 else
33564 echo "$as_me:$LINENO: result: none" >&5
33565 echo "${ECHO_T}none" >&6
33566 fi
33567
33568 if test "x$wxUSE_UNIX" = "xyes"; then
33569 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
33570 else
33571 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
33572 fi
33573
33574 TOOLKIT=MAC
33575 GUIDIST=MACX_DIST
33576 WXBASEPORT="_carbon"
33577 fi
33578
33579 if test "$wxUSE_COCOA" = 1; then
33580 TOOLKIT=COCOA
33581 GUIDIST=COCOA_DIST
33582 fi
33583
33584 if test "$wxUSE_PM" = 1; then
33585 TOOLKIT=PM
33586 GUIDIST=PM_DIST
33587 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
33588 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
33589 if test "${wx_cv_spbcdata+set}" = set; then
33590 echo $ECHO_N "(cached) $ECHO_C" >&6
33591 else
33592
33593 cat >conftest.$ac_ext <<_ACEOF
33594 /* confdefs.h. */
33595 _ACEOF
33596 cat confdefs.h >>conftest.$ac_ext
33597 cat >>conftest.$ac_ext <<_ACEOF
33598 /* end confdefs.h. */
33599
33600 #define INCL_PM
33601 #include <os2.h>
33602
33603 int
33604 main ()
33605 {
33606
33607 SPBCDATA test;
33608
33609 ;
33610 return 0;
33611 }
33612 _ACEOF
33613 rm -f conftest.$ac_objext
33614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33615 (eval $ac_compile) 2>conftest.er1
33616 ac_status=$?
33617 grep -v '^ *+' conftest.er1 >conftest.err
33618 rm -f conftest.er1
33619 cat conftest.err >&5
33620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33621 (exit $ac_status); } &&
33622 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33624 (eval $ac_try) 2>&5
33625 ac_status=$?
33626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33627 (exit $ac_status); }; } &&
33628 { ac_try='test -s conftest.$ac_objext'
33629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33630 (eval $ac_try) 2>&5
33631 ac_status=$?
33632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33633 (exit $ac_status); }; }; then
33634 wx_cv_spbcdata=yes
33635 else
33636 echo "$as_me: failed program was:" >&5
33637 sed 's/^/| /' conftest.$ac_ext >&5
33638
33639 wx_cv_spbcdata=no
33640
33641 fi
33642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33643
33644
33645 fi
33646 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
33647 echo "${ECHO_T}$wx_cv_spbcdata" >&6
33648
33649 if test $wx_cv_spbcdata = "yes"; then
33650 cat >>confdefs.h <<\_ACEOF
33651 #define HAVE_SPBCDATA 1
33652 _ACEOF
33653
33654 fi
33655 fi
33656
33657 if test "$TOOLKIT" = "PM" ; then
33658 TOOLKIT_DIR="os2"
33659 else
33660 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
33661 fi
33662
33663 if test "$wxUSE_UNIVERSAL" = "yes"; then
33664 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
33665 WIDGET_SET=univ
33666 fi
33667
33668 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
33669 DISTDIR="wx\$(TOOLKIT)"
33670 else
33671 USE_GUI=0
33672
33673 TOOLKIT_DIR="base"
33674
33675 if test "$USE_WIN32" = 1 ; then
33676 TOOLKIT="MSW"
33677 fi
33678
33679 GUIDIST="BASE_DIST"
33680 DISTDIR="wxBase"
33681 fi
33682
33683
33684
33685 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
33686 if test "$TOOLKIT" = "DFB" ; then
33687 wxUSE_UNICODE_UTF8=yes
33688 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
33689 wxUSE_UNICODE_UTF8=yes
33690 elif test "$USE_OS2" = "1" ; then
33691 wxUSE_UNICODE_UTF8=yes
33692 else
33693 wxUSE_UNICODE_UTF8=no
33694 fi
33695 fi
33696
33697
33698 if test "$wxUSE_GUI" = "yes"; then
33699 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
33700 echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
33701 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6
33702 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
33703 echo $ECHO_N "(cached) $ECHO_C" >&6
33704 else
33705 cat >conftest.$ac_ext <<_ACEOF
33706 /* confdefs.h. */
33707 _ACEOF
33708 cat confdefs.h >>conftest.$ac_ext
33709 cat >>conftest.$ac_ext <<_ACEOF
33710 /* end confdefs.h. */
33711
33712
33713 #include <X11/Xlib.h>
33714 _ACEOF
33715 rm -f conftest.$ac_objext
33716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33717 (eval $ac_compile) 2>conftest.er1
33718 ac_status=$?
33719 grep -v '^ *+' conftest.er1 >conftest.err
33720 rm -f conftest.er1
33721 cat conftest.err >&5
33722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33723 (exit $ac_status); } &&
33724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33726 (eval $ac_try) 2>&5
33727 ac_status=$?
33728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33729 (exit $ac_status); }; } &&
33730 { ac_try='test -s conftest.$ac_objext'
33731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33732 (eval $ac_try) 2>&5
33733 ac_status=$?
33734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33735 (exit $ac_status); }; }; then
33736 ac_cv_header_X11_Xlib_h=yes
33737 else
33738 echo "$as_me: failed program was:" >&5
33739 sed 's/^/| /' conftest.$ac_ext >&5
33740
33741 ac_cv_header_X11_Xlib_h=no
33742 fi
33743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33744 fi
33745 echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
33746 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6
33747
33748
33749 echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
33750 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6
33751 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
33752 echo $ECHO_N "(cached) $ECHO_C" >&6
33753 else
33754 cat >conftest.$ac_ext <<_ACEOF
33755 /* confdefs.h. */
33756 _ACEOF
33757 cat confdefs.h >>conftest.$ac_ext
33758 cat >>conftest.$ac_ext <<_ACEOF
33759 /* end confdefs.h. */
33760
33761 #if HAVE_X11_XLIB_H
33762 #include <X11/Xlib.h>
33763 #endif
33764
33765
33766 #include <X11/XKBlib.h>
33767 _ACEOF
33768 rm -f conftest.$ac_objext
33769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33770 (eval $ac_compile) 2>conftest.er1
33771 ac_status=$?
33772 grep -v '^ *+' conftest.er1 >conftest.err
33773 rm -f conftest.er1
33774 cat conftest.err >&5
33775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33776 (exit $ac_status); } &&
33777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33779 (eval $ac_try) 2>&5
33780 ac_status=$?
33781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33782 (exit $ac_status); }; } &&
33783 { ac_try='test -s conftest.$ac_objext'
33784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33785 (eval $ac_try) 2>&5
33786 ac_status=$?
33787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788 (exit $ac_status); }; }; then
33789 ac_cv_header_X11_XKBlib_h=yes
33790 else
33791 echo "$as_me: failed program was:" >&5
33792 sed 's/^/| /' conftest.$ac_ext >&5
33793
33794 ac_cv_header_X11_XKBlib_h=no
33795 fi
33796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33797 fi
33798 echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
33799 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6
33800
33801
33802 fi
33803 fi
33804
33805
33806
33807 IODBC_C_SRC=""
33808
33809
33810 if test "$TOOLKIT" != "MSW" ; then
33811
33812 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
33813
33814 echo "$as_me:$LINENO: checking for sql.h" >&5
33815 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
33816 if test "${ac_cv_header_sql_h+set}" = set; then
33817 echo $ECHO_N "(cached) $ECHO_C" >&6
33818 else
33819 cat >conftest.$ac_ext <<_ACEOF
33820 /* confdefs.h. */
33821 _ACEOF
33822 cat confdefs.h >>conftest.$ac_ext
33823 cat >>conftest.$ac_ext <<_ACEOF
33824 /* end confdefs.h. */
33825
33826
33827 #include <sql.h>
33828 _ACEOF
33829 rm -f conftest.$ac_objext
33830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33831 (eval $ac_compile) 2>conftest.er1
33832 ac_status=$?
33833 grep -v '^ *+' conftest.er1 >conftest.err
33834 rm -f conftest.er1
33835 cat conftest.err >&5
33836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33837 (exit $ac_status); } &&
33838 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33840 (eval $ac_try) 2>&5
33841 ac_status=$?
33842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33843 (exit $ac_status); }; } &&
33844 { ac_try='test -s conftest.$ac_objext'
33845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33846 (eval $ac_try) 2>&5
33847 ac_status=$?
33848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33849 (exit $ac_status); }; }; then
33850 ac_cv_header_sql_h=yes
33851 else
33852 echo "$as_me: failed program was:" >&5
33853 sed 's/^/| /' conftest.$ac_ext >&5
33854
33855 ac_cv_header_sql_h=no
33856 fi
33857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33858 fi
33859 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33860 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
33861 if test $ac_cv_header_sql_h = yes; then
33862 found_sql_h=1
33863 fi
33864
33865
33866 if test "x$found_sql_h" = "x1" ; then
33867 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
33868 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
33869 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
33870 echo $ECHO_N "(cached) $ECHO_C" >&6
33871 else
33872 ac_check_lib_save_LIBS=$LIBS
33873 LIBS="-liodbc $LIBS"
33874 cat >conftest.$ac_ext <<_ACEOF
33875 /* confdefs.h. */
33876 _ACEOF
33877 cat confdefs.h >>conftest.$ac_ext
33878 cat >>conftest.$ac_ext <<_ACEOF
33879 /* end confdefs.h. */
33880
33881 /* Override any gcc2 internal prototype to avoid an error. */
33882 #ifdef __cplusplus
33883 extern "C"
33884 #endif
33885 /* We use char because int might match the return type of a gcc2
33886 builtin and then its argument prototype would still apply. */
33887 char SQLAllocEnv ();
33888 int
33889 main ()
33890 {
33891 SQLAllocEnv ();
33892 ;
33893 return 0;
33894 }
33895 _ACEOF
33896 rm -f conftest.$ac_objext conftest$ac_exeext
33897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33898 (eval $ac_link) 2>conftest.er1
33899 ac_status=$?
33900 grep -v '^ *+' conftest.er1 >conftest.err
33901 rm -f conftest.er1
33902 cat conftest.err >&5
33903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33904 (exit $ac_status); } &&
33905 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33907 (eval $ac_try) 2>&5
33908 ac_status=$?
33909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33910 (exit $ac_status); }; } &&
33911 { ac_try='test -s conftest$ac_exeext'
33912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33913 (eval $ac_try) 2>&5
33914 ac_status=$?
33915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33916 (exit $ac_status); }; }; then
33917 ac_cv_lib_iodbc_SQLAllocEnv=yes
33918 else
33919 echo "$as_me: failed program was:" >&5
33920 sed 's/^/| /' conftest.$ac_ext >&5
33921
33922 ac_cv_lib_iodbc_SQLAllocEnv=no
33923 fi
33924 rm -f conftest.err conftest.$ac_objext \
33925 conftest$ac_exeext conftest.$ac_ext
33926 LIBS=$ac_check_lib_save_LIBS
33927 fi
33928 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33929 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
33930 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33931 ODBC_LINK=" -liodbc"
33932 else
33933
33934 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33935 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
33936 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33937 echo $ECHO_N "(cached) $ECHO_C" >&6
33938 else
33939 ac_check_lib_save_LIBS=$LIBS
33940 LIBS="-lunixodbc $LIBS"
33941 cat >conftest.$ac_ext <<_ACEOF
33942 /* confdefs.h. */
33943 _ACEOF
33944 cat confdefs.h >>conftest.$ac_ext
33945 cat >>conftest.$ac_ext <<_ACEOF
33946 /* end confdefs.h. */
33947
33948 /* Override any gcc2 internal prototype to avoid an error. */
33949 #ifdef __cplusplus
33950 extern "C"
33951 #endif
33952 /* We use char because int might match the return type of a gcc2
33953 builtin and then its argument prototype would still apply. */
33954 char SQLAllocEnv ();
33955 int
33956 main ()
33957 {
33958 SQLAllocEnv ();
33959 ;
33960 return 0;
33961 }
33962 _ACEOF
33963 rm -f conftest.$ac_objext conftest$ac_exeext
33964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33965 (eval $ac_link) 2>conftest.er1
33966 ac_status=$?
33967 grep -v '^ *+' conftest.er1 >conftest.err
33968 rm -f conftest.er1
33969 cat conftest.err >&5
33970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33971 (exit $ac_status); } &&
33972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33974 (eval $ac_try) 2>&5
33975 ac_status=$?
33976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33977 (exit $ac_status); }; } &&
33978 { ac_try='test -s conftest$ac_exeext'
33979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33980 (eval $ac_try) 2>&5
33981 ac_status=$?
33982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33983 (exit $ac_status); }; }; then
33984 ac_cv_lib_unixodbc_SQLAllocEnv=yes
33985 else
33986 echo "$as_me: failed program was:" >&5
33987 sed 's/^/| /' conftest.$ac_ext >&5
33988
33989 ac_cv_lib_unixodbc_SQLAllocEnv=no
33990 fi
33991 rm -f conftest.err conftest.$ac_objext \
33992 conftest$ac_exeext conftest.$ac_ext
33993 LIBS=$ac_check_lib_save_LIBS
33994 fi
33995 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33996 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33997 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33998 ODBC_LINK=" -lunixodbc"
33999 else
34000
34001 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
34002 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
34003 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
34004 echo $ECHO_N "(cached) $ECHO_C" >&6
34005 else
34006 ac_check_lib_save_LIBS=$LIBS
34007 LIBS="-lodbc $LIBS"
34008 cat >conftest.$ac_ext <<_ACEOF
34009 /* confdefs.h. */
34010 _ACEOF
34011 cat confdefs.h >>conftest.$ac_ext
34012 cat >>conftest.$ac_ext <<_ACEOF
34013 /* end confdefs.h. */
34014
34015 /* Override any gcc2 internal prototype to avoid an error. */
34016 #ifdef __cplusplus
34017 extern "C"
34018 #endif
34019 /* We use char because int might match the return type of a gcc2
34020 builtin and then its argument prototype would still apply. */
34021 char SQLAllocEnv ();
34022 int
34023 main ()
34024 {
34025 SQLAllocEnv ();
34026 ;
34027 return 0;
34028 }
34029 _ACEOF
34030 rm -f conftest.$ac_objext conftest$ac_exeext
34031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34032 (eval $ac_link) 2>conftest.er1
34033 ac_status=$?
34034 grep -v '^ *+' conftest.er1 >conftest.err
34035 rm -f conftest.er1
34036 cat conftest.err >&5
34037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34038 (exit $ac_status); } &&
34039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34041 (eval $ac_try) 2>&5
34042 ac_status=$?
34043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34044 (exit $ac_status); }; } &&
34045 { ac_try='test -s conftest$ac_exeext'
34046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34047 (eval $ac_try) 2>&5
34048 ac_status=$?
34049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34050 (exit $ac_status); }; }; then
34051 ac_cv_lib_odbc_SQLAllocEnv=yes
34052 else
34053 echo "$as_me: failed program was:" >&5
34054 sed 's/^/| /' conftest.$ac_ext >&5
34055
34056 ac_cv_lib_odbc_SQLAllocEnv=no
34057 fi
34058 rm -f conftest.err conftest.$ac_objext \
34059 conftest$ac_exeext conftest.$ac_ext
34060 LIBS=$ac_check_lib_save_LIBS
34061 fi
34062 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
34063 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
34064 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
34065 ODBC_LINK=" -lodbc"
34066 fi
34067
34068
34069 fi
34070
34071
34072 fi
34073
34074 fi
34075 if test "x$ODBC_LINK" = "x" ; then
34076 if test "$wxUSE_ODBC" = "sys" ; then
34077 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
34078 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
34079 { (exit 1); exit 1; }; }
34080 else
34081 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
34082 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
34083 wxUSE_ODBC=builtin
34084 fi
34085 else
34086 wxUSE_ODBC=sys
34087 fi
34088 fi
34089
34090 if test "$wxUSE_ODBC" = "builtin" ; then
34091 cat >>confdefs.h <<\_ACEOF
34092 #define wxUSE_BUILTIN_IODBC 1
34093 _ACEOF
34094
34095 fi
34096 fi
34097
34098 if test "$wxUSE_ODBC" != "no" ; then
34099 cat >>confdefs.h <<\_ACEOF
34100 #define wxUSE_ODBC 1
34101 _ACEOF
34102
34103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
34104
34105 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
34106 fi
34107
34108
34109 if test "$wxUSE_DISPLAY" = "yes"; then
34110 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34111 echo "$as_me:$LINENO: checking for Xinerama" >&5
34112 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
34113
34114 ac_find_libraries=
34115 for ac_dir in $SEARCH_LIB;
34116 do
34117 for ac_extension in a so sl dylib dll.a; do
34118 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34119 ac_find_libraries=$ac_dir
34120 break 2
34121 fi
34122 done
34123 done
34124
34125 if test "$ac_find_libraries" != "" ; then
34126
34127 if test "$ac_find_libraries" = "default location"; then
34128 ac_path_to_link=""
34129 else
34130 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34131 result=$?
34132 if test $result = 0; then
34133 ac_path_to_link=""
34134 else
34135 ac_path_to_link=" -L$ac_find_libraries"
34136 fi
34137 fi
34138
34139 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34140 LDFLAGS="$LDFLAGS $ac_path_to_link"
34141 fi
34142 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34143 echo "$as_me:$LINENO: result: yes" >&5
34144 echo "${ECHO_T}yes" >&6
34145
34146 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34147 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
34148
34149 ac_find_libraries=
34150 for ac_dir in $SEARCH_LIB;
34151 do
34152 for ac_extension in a so sl dylib dll.a; do
34153 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34154 ac_find_libraries=$ac_dir
34155 break 2
34156 fi
34157 done
34158 done
34159
34160 if test "$ac_find_libraries" != "" ; then
34161 echo "$as_me:$LINENO: result: yes" >&5
34162 echo "${ECHO_T}yes" >&6
34163 echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
34164 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6
34165 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
34166 echo $ECHO_N "(cached) $ECHO_C" >&6
34167 else
34168 cat >conftest.$ac_ext <<_ACEOF
34169 /* confdefs.h. */
34170 _ACEOF
34171 cat confdefs.h >>conftest.$ac_ext
34172 cat >>conftest.$ac_ext <<_ACEOF
34173 /* end confdefs.h. */
34174
34175 #if HAVE_X11_XLIB_H
34176 #include <X11/Xlib.h>
34177 #endif
34178
34179
34180 #include <X11/extensions/xf86vmode.h>
34181 _ACEOF
34182 rm -f conftest.$ac_objext
34183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34184 (eval $ac_compile) 2>conftest.er1
34185 ac_status=$?
34186 grep -v '^ *+' conftest.er1 >conftest.err
34187 rm -f conftest.er1
34188 cat conftest.err >&5
34189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34190 (exit $ac_status); } &&
34191 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34193 (eval $ac_try) 2>&5
34194 ac_status=$?
34195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34196 (exit $ac_status); }; } &&
34197 { ac_try='test -s conftest.$ac_objext'
34198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34199 (eval $ac_try) 2>&5
34200 ac_status=$?
34201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34202 (exit $ac_status); }; }; then
34203 ac_cv_header_X11_extensions_xf86vmode_h=yes
34204 else
34205 echo "$as_me: failed program was:" >&5
34206 sed 's/^/| /' conftest.$ac_ext >&5
34207
34208 ac_cv_header_X11_extensions_xf86vmode_h=no
34209 fi
34210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34211 fi
34212 echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
34213 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6
34214 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
34215
34216 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34217
34218 fi
34219
34220
34221 else
34222 echo "$as_me:$LINENO: result: no" >&5
34223 echo "${ECHO_T}no" >&6
34224 fi
34225
34226 else
34227 echo "$as_me:$LINENO: result: no" >&5
34228 echo "${ECHO_T}no" >&6
34229 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34230 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34231 wxUSE_DISPLAY="no"
34232 fi
34233 elif test "$wxUSE_MSW" = 1; then
34234 echo "$as_me:$LINENO: checking for ddraw.h" >&5
34235 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6
34236 if test "${ac_cv_header_ddraw_h+set}" = set; then
34237 echo $ECHO_N "(cached) $ECHO_C" >&6
34238 else
34239 cat >conftest.$ac_ext <<_ACEOF
34240 /* confdefs.h. */
34241 _ACEOF
34242 cat confdefs.h >>conftest.$ac_ext
34243 cat >>conftest.$ac_ext <<_ACEOF
34244 /* end confdefs.h. */
34245 #include <windows.h>
34246
34247 #include <ddraw.h>
34248 _ACEOF
34249 rm -f conftest.$ac_objext
34250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34251 (eval $ac_compile) 2>conftest.er1
34252 ac_status=$?
34253 grep -v '^ *+' conftest.er1 >conftest.err
34254 rm -f conftest.er1
34255 cat conftest.err >&5
34256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34257 (exit $ac_status); } &&
34258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34260 (eval $ac_try) 2>&5
34261 ac_status=$?
34262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263 (exit $ac_status); }; } &&
34264 { ac_try='test -s conftest.$ac_objext'
34265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34266 (eval $ac_try) 2>&5
34267 ac_status=$?
34268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34269 (exit $ac_status); }; }; then
34270 ac_cv_header_ddraw_h=yes
34271 else
34272 echo "$as_me: failed program was:" >&5
34273 sed 's/^/| /' conftest.$ac_ext >&5
34274
34275 ac_cv_header_ddraw_h=no
34276 fi
34277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34278 fi
34279 echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34280 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6
34281
34282
34283 fi
34284 fi
34285
34286 if test "$wxUSE_DETECT_SM" = "yes"; then
34287 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34288 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34289 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
34290
34291 ac_find_libraries=
34292 for ac_dir in $SEARCH_LIB;
34293 do
34294 for ac_extension in a so sl dylib dll.a; do
34295 if test -f "$ac_dir/libSM.$ac_extension"; then
34296 ac_find_libraries=$ac_dir
34297 break 2
34298 fi
34299 done
34300 done
34301
34302 if test "$ac_find_libraries" != "" ; then
34303
34304 if test "$ac_find_libraries" = "default location"; then
34305 ac_path_to_link=""
34306 else
34307 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34308 result=$?
34309 if test $result = 0; then
34310 ac_path_to_link=""
34311 else
34312 ac_path_to_link=" -L$ac_find_libraries"
34313 fi
34314 fi
34315
34316 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34317 LDFLAGS="$LDFLAGS $ac_path_to_link"
34318 fi
34319 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34320 echo "$as_me:$LINENO: result: yes" >&5
34321 echo "${ECHO_T}yes" >&6
34322 else
34323 echo "$as_me:$LINENO: result: no" >&5
34324 echo "${ECHO_T}no" >&6
34325 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34326 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34327 wxUSE_DETECT_SM="no"
34328 fi
34329 else
34330 wxUSE_DETECT_SM="no"
34331 fi
34332 fi
34333
34334
34335
34336 USE_OPENGL=0
34337 if test "$wxUSE_OPENGL" = "yes"; then
34338 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
34339 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
34340 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
34341 wxUSE_OPENGL="no"
34342 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
34343 OPENGL_LIBS="-framework OpenGL -framework AGL"
34344 elif test "$wxUSE_MSW" = 1; then
34345 OPENGL_LIBS="-lopengl32 -lglu32"
34346 else
34347 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34348 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
34349
34350 ac_find_includes=
34351 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
34352 do
34353 if test -f "$ac_dir/GL/gl.h"; then
34354 ac_find_includes=$ac_dir
34355 break
34356 fi
34357 done
34358
34359 if test "$ac_find_includes" != "" ; then
34360 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34361 echo "${ECHO_T}found in $ac_find_includes" >&6
34362
34363 if test "x$ac_find_includes" = "x/usr/include"; then
34364 ac_path_to_include=""
34365 else
34366 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34367 result=$?
34368 if test $result = 0; then
34369 ac_path_to_include=""
34370 else
34371 ac_path_to_include=" -I$ac_find_includes"
34372 fi
34373 fi
34374
34375 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34376 else
34377 echo "$as_me:$LINENO: result: not found" >&5
34378 echo "${ECHO_T}not found" >&6
34379 fi
34380
34381 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34382 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
34383 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34384 echo $ECHO_N "(cached) $ECHO_C" >&6
34385 else
34386 cat >conftest.$ac_ext <<_ACEOF
34387 /* confdefs.h. */
34388 _ACEOF
34389 cat confdefs.h >>conftest.$ac_ext
34390 cat >>conftest.$ac_ext <<_ACEOF
34391 /* end confdefs.h. */
34392
34393
34394 #include <GL/gl.h>
34395 _ACEOF
34396 rm -f conftest.$ac_objext
34397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34398 (eval $ac_compile) 2>conftest.er1
34399 ac_status=$?
34400 grep -v '^ *+' conftest.er1 >conftest.err
34401 rm -f conftest.er1
34402 cat conftest.err >&5
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); } &&
34405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34407 (eval $ac_try) 2>&5
34408 ac_status=$?
34409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34410 (exit $ac_status); }; } &&
34411 { ac_try='test -s conftest.$ac_objext'
34412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34413 (eval $ac_try) 2>&5
34414 ac_status=$?
34415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34416 (exit $ac_status); }; }; then
34417 ac_cv_header_GL_gl_h=yes
34418 else
34419 echo "$as_me: failed program was:" >&5
34420 sed 's/^/| /' conftest.$ac_ext >&5
34421
34422 ac_cv_header_GL_gl_h=no
34423 fi
34424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34425 fi
34426 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34427 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
34428 if test $ac_cv_header_GL_gl_h = yes; then
34429
34430 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34431 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34432 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
34433 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34434 echo $ECHO_N "(cached) $ECHO_C" >&6
34435 fi
34436 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34437 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
34438 else
34439 # Is the header compilable?
34440 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
34441 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
34442 cat >conftest.$ac_ext <<_ACEOF
34443 /* confdefs.h. */
34444 _ACEOF
34445 cat confdefs.h >>conftest.$ac_ext
34446 cat >>conftest.$ac_ext <<_ACEOF
34447 /* end confdefs.h. */
34448 $ac_includes_default
34449 #include <GL/glu.h>
34450 _ACEOF
34451 rm -f conftest.$ac_objext
34452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34453 (eval $ac_compile) 2>conftest.er1
34454 ac_status=$?
34455 grep -v '^ *+' conftest.er1 >conftest.err
34456 rm -f conftest.er1
34457 cat conftest.err >&5
34458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34459 (exit $ac_status); } &&
34460 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34462 (eval $ac_try) 2>&5
34463 ac_status=$?
34464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34465 (exit $ac_status); }; } &&
34466 { ac_try='test -s conftest.$ac_objext'
34467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34468 (eval $ac_try) 2>&5
34469 ac_status=$?
34470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34471 (exit $ac_status); }; }; then
34472 ac_header_compiler=yes
34473 else
34474 echo "$as_me: failed program was:" >&5
34475 sed 's/^/| /' conftest.$ac_ext >&5
34476
34477 ac_header_compiler=no
34478 fi
34479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
34481 echo "${ECHO_T}$ac_header_compiler" >&6
34482
34483 # Is the header present?
34484 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
34485 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
34486 cat >conftest.$ac_ext <<_ACEOF
34487 /* confdefs.h. */
34488 _ACEOF
34489 cat confdefs.h >>conftest.$ac_ext
34490 cat >>conftest.$ac_ext <<_ACEOF
34491 /* end confdefs.h. */
34492 #include <GL/glu.h>
34493 _ACEOF
34494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
34495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
34496 ac_status=$?
34497 grep -v '^ *+' conftest.er1 >conftest.err
34498 rm -f conftest.er1
34499 cat conftest.err >&5
34500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34501 (exit $ac_status); } >/dev/null; then
34502 if test -s conftest.err; then
34503 ac_cpp_err=$ac_c_preproc_warn_flag
34504 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
34505 else
34506 ac_cpp_err=
34507 fi
34508 else
34509 ac_cpp_err=yes
34510 fi
34511 if test -z "$ac_cpp_err"; then
34512 ac_header_preproc=yes
34513 else
34514 echo "$as_me: failed program was:" >&5
34515 sed 's/^/| /' conftest.$ac_ext >&5
34516
34517 ac_header_preproc=no
34518 fi
34519 rm -f conftest.err conftest.$ac_ext
34520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
34521 echo "${ECHO_T}$ac_header_preproc" >&6
34522
34523 # So? What about this header?
34524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
34525 yes:no: )
34526 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
34527 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
34528 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
34529 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
34530 ac_header_preproc=yes
34531 ;;
34532 no:yes:* )
34533 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
34534 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
34535 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
34536 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
34537 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
34538 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
34539 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
34540 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
34541 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
34542 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
34543 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
34544 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
34545 (
34546 cat <<\_ASBOX
34547 ## ----------------------------------------- ##
34548 ## Report this to wx-dev@lists.wxwidgets.org ##
34549 ## ----------------------------------------- ##
34550 _ASBOX
34551 ) |
34552 sed "s/^/$as_me: WARNING: /" >&2
34553 ;;
34554 esac
34555 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34556 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
34557 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34558 echo $ECHO_N "(cached) $ECHO_C" >&6
34559 else
34560 ac_cv_header_GL_glu_h=$ac_header_preproc
34561 fi
34562 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34563 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
34564
34565 fi
34566 if test $ac_cv_header_GL_glu_h = yes; then
34567
34568 found_gl=0
34569
34570 echo "$as_me:$LINENO: checking for -lGL" >&5
34571 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
34572
34573 ac_find_libraries=
34574 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
34575 do
34576 for ac_extension in a so sl dylib dll.a; do
34577 if test -f "$ac_dir/libGL.$ac_extension"; then
34578 ac_find_libraries=$ac_dir
34579 break 2
34580 fi
34581 done
34582 done
34583
34584 if test "$ac_find_libraries" != "" ; then
34585 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34586 echo "${ECHO_T}found in $ac_find_libraries" >&6
34587
34588
34589 if test "$ac_find_libraries" = "default location"; then
34590 ac_path_to_link=""
34591 else
34592 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34593 result=$?
34594 if test $result = 0; then
34595 ac_path_to_link=""
34596 else
34597 ac_path_to_link=" -L$ac_find_libraries"
34598 fi
34599 fi
34600
34601 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34602 LDFLAGS_GL="$ac_path_to_link"
34603 fi
34604
34605 echo "$as_me:$LINENO: checking for -lGLU" >&5
34606 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
34607
34608 ac_find_libraries=
34609 for ac_dir in $SEARCH_LIB;
34610 do
34611 for ac_extension in a so sl dylib dll.a; do
34612 if test -f "$ac_dir/libGLU.$ac_extension"; then
34613 ac_find_libraries=$ac_dir
34614 break 2
34615 fi
34616 done
34617 done
34618
34619 if test "$ac_find_libraries" != "" ; then
34620
34621 if test "$ac_find_libraries" = "default location"; then
34622 ac_path_to_link=""
34623 else
34624 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34625 result=$?
34626 if test $result = 0; then
34627 ac_path_to_link=""
34628 else
34629 ac_path_to_link=" -L$ac_find_libraries"
34630 fi
34631 fi
34632
34633 if test "$ac_path_to_link" != " -L/usr/lib" -a \
34634 "$ac_path_to_link" != "$LDFLAGS_GL"; then
34635 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
34636 fi
34637
34638 found_gl=1
34639 OPENGL_LIBS="-lGL -lGLU"
34640 echo "$as_me:$LINENO: result: yes" >&5
34641 echo "${ECHO_T}yes" >&6
34642 else
34643 echo "$as_me:$LINENO: result: no" >&5
34644 echo "${ECHO_T}no" >&6
34645 fi
34646 else
34647 echo "$as_me:$LINENO: result: no" >&5
34648 echo "${ECHO_T}no" >&6
34649 fi
34650
34651 if test "$found_gl" != 1; then
34652 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
34653 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
34654
34655 ac_find_libraries=
34656 for ac_dir in $SEARCH_LIB;
34657 do
34658 for ac_extension in a so sl dylib dll.a; do
34659 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
34660 ac_find_libraries=$ac_dir
34661 break 2
34662 fi
34663 done
34664 done
34665
34666 if test "$ac_find_libraries" != "" ; then
34667
34668 if test "$ac_find_libraries" = "default location"; then
34669 ac_path_to_link=""
34670 else
34671 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34672 result=$?
34673 if test $result = 0; then
34674 ac_path_to_link=""
34675 else
34676 ac_path_to_link=" -L$ac_find_libraries"
34677 fi
34678 fi
34679
34680 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
34681 OPENGL_LIBS="-lMesaGL -lMesaGLU"
34682 echo "$as_me:$LINENO: result: yes" >&5
34683 echo "${ECHO_T}yes" >&6
34684 else
34685 echo "$as_me:$LINENO: result: no" >&5
34686 echo "${ECHO_T}no" >&6
34687 fi
34688 fi
34689
34690 fi
34691
34692
34693
34694 fi
34695
34696
34697
34698 if test "x$OPENGL_LIBS" = "x"; then
34699 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
34700 echo "$as_me: error: OpenGL libraries not available" >&2;}
34701 { (exit 1); exit 1; }; }
34702 fi
34703 fi
34704
34705 if test "$wxUSE_OPENGL" = "yes"; then
34706 USE_OPENGL=1
34707 cat >>confdefs.h <<\_ACEOF
34708 #define wxUSE_OPENGL 1
34709 _ACEOF
34710
34711 cat >>confdefs.h <<\_ACEOF
34712 #define wxUSE_GLCANVAS 1
34713 _ACEOF
34714
34715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
34716 fi
34717 fi
34718
34719
34720 if test -n "$TOOLKIT" ; then
34721 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
34722 fi
34723
34724
34725
34726 if test "$wxUSE_SHARED" = "yes"; then
34727 case "${host}" in
34728 *-pc-msdosdjgpp )
34729 wxUSE_SHARED=no
34730 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34731 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34732 ;;
34733 esac
34734 fi
34735
34736 if test "$wxUSE_SHARED" = "yes"; then
34737
34738
34739 case "${host}" in
34740 *-*-cygwin* | *-*-mingw* )
34741 wx_cv_version_script=no
34742 ;;
34743
34744 *)
34745 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34746 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
34747 if test "${wx_cv_version_script+set}" = set; then
34748 echo $ECHO_N "(cached) $ECHO_C" >&6
34749 else
34750
34751 echo "VER_1 { *; };" >conftest.sym
34752 echo "int main() { return 0; }" >conftest.cpp
34753
34754 if { ac_try='
34755 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34756 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34758 (eval $ac_try) 2>&5
34759 ac_status=$?
34760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34761 (exit $ac_status); }; } ; then
34762 if test -s conftest.stderr ; then
34763 wx_cv_version_script=no
34764 else
34765 wx_cv_version_script=yes
34766 fi
34767 else
34768 wx_cv_version_script=no
34769 fi
34770
34771 if test $wx_cv_version_script = yes
34772 then
34773 echo "struct B { virtual ~B() { } }; \
34774 struct D : public B { }; \
34775 void F() { D d; }" > conftest.cpp
34776
34777 if { ac_try='
34778 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34779 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34781 (eval $ac_try) 2>&5
34782 ac_status=$?
34783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34784 (exit $ac_status); }; } &&
34785 { ac_try='
34786 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34787 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34789 (eval $ac_try) 2>&5
34790 ac_status=$?
34791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34792 (exit $ac_status); }; }
34793 then
34794 if { ac_try='
34795 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34796 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34798 (eval $ac_try) 2>&5
34799 ac_status=$?
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); }; }
34802 then
34803 wx_cv_version_script=yes
34804 else
34805 wx_cv_version_script=no
34806 fi
34807 fi
34808 fi
34809
34810 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34811 rm -f conftest1.output conftest2.output conftest3.output
34812
34813 fi
34814 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34815 echo "${ECHO_T}$wx_cv_version_script" >&6
34816
34817 if test $wx_cv_version_script = yes ; then
34818 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34819 fi
34820 ;;
34821 esac
34822
34823
34824
34825
34826 if test -n "$GCC"; then
34827 CFLAGS_VISIBILITY="-fvisibility=hidden"
34828 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
34829 echo "$as_me:$LINENO: checking for symbols visibility support" >&5
34830 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6
34831 if test "${wx_cv_cc_visibility+set}" = set; then
34832 echo $ECHO_N "(cached) $ECHO_C" >&6
34833 else
34834
34835 wx_save_CXXFLAGS="$CXXFLAGS"
34836 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
34837 ac_ext=cc
34838 ac_cpp='$CXXCPP $CPPFLAGS'
34839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34842
34843 cat >conftest.$ac_ext <<_ACEOF
34844 /* confdefs.h. */
34845 _ACEOF
34846 cat confdefs.h >>conftest.$ac_ext
34847 cat >>conftest.$ac_ext <<_ACEOF
34848 /* end confdefs.h. */
34849
34850 /* we need gcc >= 4.0, older versions with visibility support
34851 didn't have class visibility: */
34852 #if defined(__GNUC__) && __GNUC__ < 4
34853 error this gcc is too old;
34854 #endif
34855
34856 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
34857 extern __attribute__((__visibility__("default"))) int exportedvar;
34858 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
34859 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
34860 class __attribute__((__visibility__("default"))) Foo {
34861 Foo() {}
34862 };
34863
34864 int
34865 main ()
34866 {
34867
34868 ;
34869 return 0;
34870 }
34871 _ACEOF
34872 rm -f conftest.$ac_objext
34873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34874 (eval $ac_compile) 2>conftest.er1
34875 ac_status=$?
34876 grep -v '^ *+' conftest.er1 >conftest.err
34877 rm -f conftest.er1
34878 cat conftest.err >&5
34879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34880 (exit $ac_status); } &&
34881 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34883 (eval $ac_try) 2>&5
34884 ac_status=$?
34885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34886 (exit $ac_status); }; } &&
34887 { ac_try='test -s conftest.$ac_objext'
34888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34889 (eval $ac_try) 2>&5
34890 ac_status=$?
34891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34892 (exit $ac_status); }; }; then
34893 wx_cv_cc_visibility=yes
34894 else
34895 echo "$as_me: failed program was:" >&5
34896 sed 's/^/| /' conftest.$ac_ext >&5
34897
34898 wx_cv_cc_visibility=no
34899 fi
34900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34901 ac_ext=c
34902 ac_cpp='$CPP $CPPFLAGS'
34903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34906
34907 CXXFLAGS="$wx_save_CXXFLAGS"
34908 fi
34909
34910 echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
34911 echo "${ECHO_T}$wx_cv_cc_visibility" >&6
34912 if test $wx_cv_cc_visibility = yes; then
34913 cat >>confdefs.h <<\_ACEOF
34914 #define HAVE_VISIBILITY 1
34915 _ACEOF
34916
34917 else
34918 CFLAGS_VISIBILITY=""
34919 CXXFLAGS_VISIBILITY=""
34920 fi
34921
34922
34923 fi
34924
34925
34926 if test "x$SUNCXX" = xyes; then
34927 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34928 WXCONFIG_RPATH="-R\$libdir"
34929 else
34930 case "${host}" in
34931 *-*-linux* | *-*-gnu* )
34932 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34933 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34934 ;;
34935
34936 *-*-solaris2* )
34937
34938 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34939
34940 saveLdflags="$LDFLAGS"
34941 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34942 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34943 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
34944 cat >conftest.$ac_ext <<_ACEOF
34945 /* confdefs.h. */
34946 _ACEOF
34947 cat confdefs.h >>conftest.$ac_ext
34948 cat >>conftest.$ac_ext <<_ACEOF
34949 /* end confdefs.h. */
34950
34951 int
34952 main ()
34953 {
34954
34955 ;
34956 return 0;
34957 }
34958 _ACEOF
34959 rm -f conftest.$ac_objext conftest$ac_exeext
34960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34961 (eval $ac_link) 2>conftest.er1
34962 ac_status=$?
34963 grep -v '^ *+' conftest.er1 >conftest.err
34964 rm -f conftest.er1
34965 cat conftest.err >&5
34966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34967 (exit $ac_status); } &&
34968 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34970 (eval $ac_try) 2>&5
34971 ac_status=$?
34972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34973 (exit $ac_status); }; } &&
34974 { ac_try='test -s conftest$ac_exeext'
34975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34976 (eval $ac_try) 2>&5
34977 ac_status=$?
34978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34979 (exit $ac_status); }; }; then
34980
34981 echo "$as_me:$LINENO: result: yes" >&5
34982 echo "${ECHO_T}yes" >&6
34983 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34984 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34985
34986 else
34987 echo "$as_me: failed program was:" >&5
34988 sed 's/^/| /' conftest.$ac_ext >&5
34989
34990
34991 echo "$as_me:$LINENO: result: no" >&5
34992 echo "${ECHO_T}no" >&6
34993 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34994 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
34995 LDFLAGS="$saveLdflags -Wl,-R,/"
34996 cat >conftest.$ac_ext <<_ACEOF
34997 /* confdefs.h. */
34998 _ACEOF
34999 cat confdefs.h >>conftest.$ac_ext
35000 cat >>conftest.$ac_ext <<_ACEOF
35001 /* end confdefs.h. */
35002
35003 int
35004 main ()
35005 {
35006
35007 ;
35008 return 0;
35009 }
35010 _ACEOF
35011 rm -f conftest.$ac_objext conftest$ac_exeext
35012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35013 (eval $ac_link) 2>conftest.er1
35014 ac_status=$?
35015 grep -v '^ *+' conftest.er1 >conftest.err
35016 rm -f conftest.er1
35017 cat conftest.err >&5
35018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35019 (exit $ac_status); } &&
35020 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35022 (eval $ac_try) 2>&5
35023 ac_status=$?
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); }; } &&
35026 { ac_try='test -s conftest$ac_exeext'
35027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35028 (eval $ac_try) 2>&5
35029 ac_status=$?
35030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35031 (exit $ac_status); }; }; then
35032
35033 echo "$as_me:$LINENO: result: yes" >&5
35034 echo "${ECHO_T}yes" >&6
35035 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35036 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35037
35038 else
35039 echo "$as_me: failed program was:" >&5
35040 sed 's/^/| /' conftest.$ac_ext >&5
35041
35042
35043 echo "$as_me:$LINENO: result: no" >&5
35044 echo "${ECHO_T}no" >&6
35045
35046 fi
35047 rm -f conftest.err conftest.$ac_objext \
35048 conftest$ac_exeext conftest.$ac_ext
35049
35050 fi
35051 rm -f conftest.err conftest.$ac_objext \
35052 conftest$ac_exeext conftest.$ac_ext
35053 LDFLAGS="$saveLdflags"
35054 ;;
35055
35056 *-*-darwin* )
35057 install_name_tool=`which install_name_tool`
35058 if test "$install_name_tool" -a -x "$install_name_tool"; then
35059 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
35060 cat <<EOF >change-install-names
35061 #!/bin/sh
35062 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35063 inst_cmd="install_name_tool "
35064 for i in \${libnames} ; do
35065 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
35066 done
35067 \${inst_cmd} \${3}
35068 EOF
35069 chmod +x change-install-names
35070 fi
35071 ;;
35072
35073 *-*-cygwin* | *-*-mingw32* )
35074 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35075 ;;
35076
35077 *-*-hpux* )
35078 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35079 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35080 ;;
35081
35082 esac
35083 fi
35084
35085 if test $wxUSE_RPATH = "no"; then
35086 SAMPLES_RPATH_FLAG=''
35087 SAMPLES_RPATH_POSTLINK=''
35088 WXCONFIG_RPATH=''
35089 fi
35090
35091 SHARED=1
35092
35093 else
35094
35095 config_linkage_component="-static"
35096 SHARED=0
35097
35098 fi
35099
35100
35101 UNICODE=0
35102 lib_unicode_suffix=
35103 WX_CHARTYPE="ansi"
35104 if test "$wxUSE_UNICODE" = "yes"; then
35105 lib_unicode_suffix=u
35106 WX_CHARTYPE="unicode"
35107 UNICODE=1
35108 fi
35109
35110 lib_debug_suffix=
35111 WX_DEBUGTYPE="release"
35112 DEBUG_FLAG=0
35113 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
35114 lib_debug_suffix=d
35115 WX_DEBUGTYPE="debug"
35116 DEBUG_FLAG=1
35117 fi
35118
35119 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
35120 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
35121
35122 DEBUG_INFO=0
35123 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35124 DEBUG_INFO=1
35125 fi
35126
35127 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
35128
35129 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
35130
35131 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35132
35133 if test "$cross_compiling" = "yes"; then
35134 HOST_SUFFIX="-$host_alias"
35135 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
35136 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
35137 fi
35138
35139 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35140 if test "${TOOLKIT_DIR}" = "os2"; then
35141 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35142 else
35143 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
35144 fi
35145
35146
35147
35148 if test "$wxUSE_COCOA" = 1; then
35149
35150
35151 ac_ext=c
35152 ac_cpp='$CPP $CPPFLAGS'
35153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35156
35157 ac_ext=m
35158
35159 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35160 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
35161 cat >conftest.$ac_ext <<_ACEOF
35162 /* confdefs.h. */
35163 _ACEOF
35164 cat confdefs.h >>conftest.$ac_ext
35165 cat >>conftest.$ac_ext <<_ACEOF
35166 /* end confdefs.h. */
35167 #include <AppKit/NSEvent.h>
35168 #include <CoreFoundation/CoreFoundation.h>
35169
35170 int
35171 main ()
35172 {
35173
35174 ;
35175 return 0;
35176 }
35177 _ACEOF
35178 rm -f conftest.$ac_objext
35179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35180 (eval $ac_compile) 2>conftest.er1
35181 ac_status=$?
35182 grep -v '^ *+' conftest.er1 >conftest.err
35183 rm -f conftest.er1
35184 cat conftest.err >&5
35185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35186 (exit $ac_status); } &&
35187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35189 (eval $ac_try) 2>&5
35190 ac_status=$?
35191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35192 (exit $ac_status); }; } &&
35193 { ac_try='test -s conftest.$ac_objext'
35194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35195 (eval $ac_try) 2>&5
35196 ac_status=$?
35197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35198 (exit $ac_status); }; }; then
35199 echo "$as_me:$LINENO: result: no" >&5
35200 echo "${ECHO_T}no" >&6
35201 else
35202 echo "$as_me: failed program was:" >&5
35203 sed 's/^/| /' conftest.$ac_ext >&5
35204
35205 echo "$as_me:$LINENO: result: yes" >&5
35206 echo "${ECHO_T}yes" >&6
35207 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35208 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
35209 cat >conftest.$ac_ext <<_ACEOF
35210 /* confdefs.h. */
35211 _ACEOF
35212 cat confdefs.h >>conftest.$ac_ext
35213 cat >>conftest.$ac_ext <<_ACEOF
35214 /* end confdefs.h. */
35215 #define __Point__ 1
35216 #include <AppKit/NSEvent.h>
35217 #include <CoreFoundation/CoreFoundation.h>
35218
35219 int
35220 main ()
35221 {
35222
35223 ;
35224 return 0;
35225 }
35226 _ACEOF
35227 rm -f conftest.$ac_objext
35228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35229 (eval $ac_compile) 2>conftest.er1
35230 ac_status=$?
35231 grep -v '^ *+' conftest.er1 >conftest.err
35232 rm -f conftest.er1
35233 cat conftest.err >&5
35234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35235 (exit $ac_status); } &&
35236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35238 (eval $ac_try) 2>&5
35239 ac_status=$?
35240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35241 (exit $ac_status); }; } &&
35242 { ac_try='test -s conftest.$ac_objext'
35243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35244 (eval $ac_try) 2>&5
35245 ac_status=$?
35246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35247 (exit $ac_status); }; }; then
35248 echo "$as_me:$LINENO: result: yes" >&5
35249 echo "${ECHO_T}yes" >&6
35250 cat >>confdefs.h <<\_ACEOF
35251 #define __Point__ 1
35252 _ACEOF
35253
35254
35255 else
35256 echo "$as_me: failed program was:" >&5
35257 sed 's/^/| /' conftest.$ac_ext >&5
35258
35259 { { echo "$as_me:$LINENO: error: no
35260 See \`config.log' for more details." >&5
35261 echo "$as_me: error: no
35262 See \`config.log' for more details." >&2;}
35263 { (exit 1); exit 1; }; }
35264
35265 fi
35266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35267
35268 fi
35269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35270 ac_ext=c
35271 ac_cpp='$CPP $CPPFLAGS'
35272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35275
35276 fi
35277
35278 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
35279 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
35280 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
35281
35282 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
35283
35284 # Extract the first word of "Rez", so it can be a program name with args.
35285 set dummy Rez; ac_word=$2
35286 echo "$as_me:$LINENO: checking for $ac_word" >&5
35287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35288 if test "${ac_cv_prog_REZ+set}" = set; then
35289 echo $ECHO_N "(cached) $ECHO_C" >&6
35290 else
35291 if test -n "$REZ"; then
35292 ac_cv_prog_REZ="$REZ" # Let the user override the test.
35293 else
35294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35295 for as_dir in $PATH
35296 do
35297 IFS=$as_save_IFS
35298 test -z "$as_dir" && as_dir=.
35299 for ac_exec_ext in '' $ac_executable_extensions; do
35300 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35301 ac_cv_prog_REZ="Rez"
35302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35303 break 2
35304 fi
35305 done
35306 done
35307
35308 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
35309 fi
35310 fi
35311 REZ=$ac_cv_prog_REZ
35312 if test -n "$REZ"; then
35313 echo "$as_me:$LINENO: result: $REZ" >&5
35314 echo "${ECHO_T}$REZ" >&6
35315 else
35316 echo "$as_me:$LINENO: result: no" >&5
35317 echo "${ECHO_T}no" >&6
35318 fi
35319
35320 # Extract the first word of "DeRez", so it can be a program name with args.
35321 set dummy DeRez; ac_word=$2
35322 echo "$as_me:$LINENO: checking for $ac_word" >&5
35323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35324 if test "${ac_cv_prog_DEREZ+set}" = set; then
35325 echo $ECHO_N "(cached) $ECHO_C" >&6
35326 else
35327 if test -n "$DEREZ"; then
35328 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
35329 else
35330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35331 for as_dir in $PATH
35332 do
35333 IFS=$as_save_IFS
35334 test -z "$as_dir" && as_dir=.
35335 for ac_exec_ext in '' $ac_executable_extensions; do
35336 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35337 ac_cv_prog_DEREZ="DeRez"
35338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35339 break 2
35340 fi
35341 done
35342 done
35343
35344 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
35345 fi
35346 fi
35347 DEREZ=$ac_cv_prog_DEREZ
35348 if test -n "$DEREZ"; then
35349 echo "$as_me:$LINENO: result: $DEREZ" >&5
35350 echo "${ECHO_T}$DEREZ" >&6
35351 else
35352 echo "$as_me:$LINENO: result: no" >&5
35353 echo "${ECHO_T}no" >&6
35354 fi
35355
35356 # Extract the first word of "SetFile", so it can be a program name with args.
35357 set dummy SetFile; ac_word=$2
35358 echo "$as_me:$LINENO: checking for $ac_word" >&5
35359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
35360 if test "${ac_cv_prog_SETFILE+set}" = set; then
35361 echo $ECHO_N "(cached) $ECHO_C" >&6
35362 else
35363 if test -n "$SETFILE"; then
35364 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
35365 else
35366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35367 for as_dir in $PATH
35368 do
35369 IFS=$as_save_IFS
35370 test -z "$as_dir" && as_dir=.
35371 for ac_exec_ext in '' $ac_executable_extensions; do
35372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
35373 ac_cv_prog_SETFILE="SetFile"
35374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35375 break 2
35376 fi
35377 done
35378 done
35379
35380 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
35381 fi
35382 fi
35383 SETFILE=$ac_cv_prog_SETFILE
35384 if test -n "$SETFILE"; then
35385 echo "$as_me:$LINENO: result: $SETFILE" >&5
35386 echo "${ECHO_T}$SETFILE" >&6
35387 else
35388 echo "$as_me:$LINENO: result: no" >&5
35389 echo "${ECHO_T}no" >&6
35390 fi
35391
35392
35393 MACSETFILE="\$(SETFILE)"
35394
35395 if test "$wxUSE_MAC" = 1; then
35396 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
35397 RESCOMP="$REZ"
35398 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
35399 else
35400 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
35401 RESCOMP="echo -n \| $REZ"
35402 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
35403 fi
35404
35405 else
35406 MACSETFILE="@true"
35407
35408 if test "$wxUSE_PM" = 1; then
35409 RESCOMP="emxbind"
35410 WXCONFIG_RESFLAGS="-ep"
35411
35412 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
35413 else
35414 POSTLINK_COMMAND="@true"
35415 fi
35416
35417 fi
35418
35419
35420
35421 echo "$as_me:$LINENO: checking for mode_t" >&5
35422 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
35423 if test "${ac_cv_type_mode_t+set}" = set; then
35424 echo $ECHO_N "(cached) $ECHO_C" >&6
35425 else
35426 cat >conftest.$ac_ext <<_ACEOF
35427 /* confdefs.h. */
35428 _ACEOF
35429 cat confdefs.h >>conftest.$ac_ext
35430 cat >>conftest.$ac_ext <<_ACEOF
35431 /* end confdefs.h. */
35432 $ac_includes_default
35433 int
35434 main ()
35435 {
35436 if ((mode_t *) 0)
35437 return 0;
35438 if (sizeof (mode_t))
35439 return 0;
35440 ;
35441 return 0;
35442 }
35443 _ACEOF
35444 rm -f conftest.$ac_objext
35445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35446 (eval $ac_compile) 2>conftest.er1
35447 ac_status=$?
35448 grep -v '^ *+' conftest.er1 >conftest.err
35449 rm -f conftest.er1
35450 cat conftest.err >&5
35451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35452 (exit $ac_status); } &&
35453 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35455 (eval $ac_try) 2>&5
35456 ac_status=$?
35457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35458 (exit $ac_status); }; } &&
35459 { ac_try='test -s conftest.$ac_objext'
35460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35461 (eval $ac_try) 2>&5
35462 ac_status=$?
35463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35464 (exit $ac_status); }; }; then
35465 ac_cv_type_mode_t=yes
35466 else
35467 echo "$as_me: failed program was:" >&5
35468 sed 's/^/| /' conftest.$ac_ext >&5
35469
35470 ac_cv_type_mode_t=no
35471 fi
35472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35473 fi
35474 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35475 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
35476 if test $ac_cv_type_mode_t = yes; then
35477 :
35478 else
35479
35480 cat >>confdefs.h <<_ACEOF
35481 #define mode_t int
35482 _ACEOF
35483
35484 fi
35485
35486 echo "$as_me:$LINENO: checking for off_t" >&5
35487 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
35488 if test "${ac_cv_type_off_t+set}" = set; then
35489 echo $ECHO_N "(cached) $ECHO_C" >&6
35490 else
35491 cat >conftest.$ac_ext <<_ACEOF
35492 /* confdefs.h. */
35493 _ACEOF
35494 cat confdefs.h >>conftest.$ac_ext
35495 cat >>conftest.$ac_ext <<_ACEOF
35496 /* end confdefs.h. */
35497 $ac_includes_default
35498 int
35499 main ()
35500 {
35501 if ((off_t *) 0)
35502 return 0;
35503 if (sizeof (off_t))
35504 return 0;
35505 ;
35506 return 0;
35507 }
35508 _ACEOF
35509 rm -f conftest.$ac_objext
35510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35511 (eval $ac_compile) 2>conftest.er1
35512 ac_status=$?
35513 grep -v '^ *+' conftest.er1 >conftest.err
35514 rm -f conftest.er1
35515 cat conftest.err >&5
35516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35517 (exit $ac_status); } &&
35518 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35520 (eval $ac_try) 2>&5
35521 ac_status=$?
35522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35523 (exit $ac_status); }; } &&
35524 { ac_try='test -s conftest.$ac_objext'
35525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35526 (eval $ac_try) 2>&5
35527 ac_status=$?
35528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35529 (exit $ac_status); }; }; then
35530 ac_cv_type_off_t=yes
35531 else
35532 echo "$as_me: failed program was:" >&5
35533 sed 's/^/| /' conftest.$ac_ext >&5
35534
35535 ac_cv_type_off_t=no
35536 fi
35537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35538 fi
35539 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35540 echo "${ECHO_T}$ac_cv_type_off_t" >&6
35541 if test $ac_cv_type_off_t = yes; then
35542 :
35543 else
35544
35545 cat >>confdefs.h <<_ACEOF
35546 #define off_t long
35547 _ACEOF
35548
35549 fi
35550
35551 echo "$as_me:$LINENO: checking for pid_t" >&5
35552 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
35553 if test "${ac_cv_type_pid_t+set}" = set; then
35554 echo $ECHO_N "(cached) $ECHO_C" >&6
35555 else
35556 cat >conftest.$ac_ext <<_ACEOF
35557 /* confdefs.h. */
35558 _ACEOF
35559 cat confdefs.h >>conftest.$ac_ext
35560 cat >>conftest.$ac_ext <<_ACEOF
35561 /* end confdefs.h. */
35562 $ac_includes_default
35563 int
35564 main ()
35565 {
35566 if ((pid_t *) 0)
35567 return 0;
35568 if (sizeof (pid_t))
35569 return 0;
35570 ;
35571 return 0;
35572 }
35573 _ACEOF
35574 rm -f conftest.$ac_objext
35575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35576 (eval $ac_compile) 2>conftest.er1
35577 ac_status=$?
35578 grep -v '^ *+' conftest.er1 >conftest.err
35579 rm -f conftest.er1
35580 cat conftest.err >&5
35581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35582 (exit $ac_status); } &&
35583 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35585 (eval $ac_try) 2>&5
35586 ac_status=$?
35587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35588 (exit $ac_status); }; } &&
35589 { ac_try='test -s conftest.$ac_objext'
35590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35591 (eval $ac_try) 2>&5
35592 ac_status=$?
35593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35594 (exit $ac_status); }; }; then
35595 ac_cv_type_pid_t=yes
35596 else
35597 echo "$as_me: failed program was:" >&5
35598 sed 's/^/| /' conftest.$ac_ext >&5
35599
35600 ac_cv_type_pid_t=no
35601 fi
35602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35603 fi
35604 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
35605 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
35606 if test $ac_cv_type_pid_t = yes; then
35607 :
35608 else
35609
35610 cat >>confdefs.h <<_ACEOF
35611 #define pid_t int
35612 _ACEOF
35613
35614 fi
35615
35616 echo "$as_me:$LINENO: checking for size_t" >&5
35617 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
35618 if test "${ac_cv_type_size_t+set}" = set; then
35619 echo $ECHO_N "(cached) $ECHO_C" >&6
35620 else
35621 cat >conftest.$ac_ext <<_ACEOF
35622 /* confdefs.h. */
35623 _ACEOF
35624 cat confdefs.h >>conftest.$ac_ext
35625 cat >>conftest.$ac_ext <<_ACEOF
35626 /* end confdefs.h. */
35627 $ac_includes_default
35628 int
35629 main ()
35630 {
35631 if ((size_t *) 0)
35632 return 0;
35633 if (sizeof (size_t))
35634 return 0;
35635 ;
35636 return 0;
35637 }
35638 _ACEOF
35639 rm -f conftest.$ac_objext
35640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35641 (eval $ac_compile) 2>conftest.er1
35642 ac_status=$?
35643 grep -v '^ *+' conftest.er1 >conftest.err
35644 rm -f conftest.er1
35645 cat conftest.err >&5
35646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35647 (exit $ac_status); } &&
35648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35650 (eval $ac_try) 2>&5
35651 ac_status=$?
35652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35653 (exit $ac_status); }; } &&
35654 { ac_try='test -s conftest.$ac_objext'
35655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35656 (eval $ac_try) 2>&5
35657 ac_status=$?
35658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35659 (exit $ac_status); }; }; then
35660 ac_cv_type_size_t=yes
35661 else
35662 echo "$as_me: failed program was:" >&5
35663 sed 's/^/| /' conftest.$ac_ext >&5
35664
35665 ac_cv_type_size_t=no
35666 fi
35667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35668 fi
35669 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
35670 echo "${ECHO_T}$ac_cv_type_size_t" >&6
35671 if test $ac_cv_type_size_t = yes; then
35672 :
35673 else
35674
35675 cat >>confdefs.h <<_ACEOF
35676 #define size_t unsigned
35677 _ACEOF
35678
35679 fi
35680
35681 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
35682 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
35683 if test "${ac_cv_type_uid_t+set}" = set; then
35684 echo $ECHO_N "(cached) $ECHO_C" >&6
35685 else
35686 cat >conftest.$ac_ext <<_ACEOF
35687 /* confdefs.h. */
35688 _ACEOF
35689 cat confdefs.h >>conftest.$ac_ext
35690 cat >>conftest.$ac_ext <<_ACEOF
35691 /* end confdefs.h. */
35692 #include <sys/types.h>
35693
35694 _ACEOF
35695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
35696 $EGREP "uid_t" >/dev/null 2>&1; then
35697 ac_cv_type_uid_t=yes
35698 else
35699 ac_cv_type_uid_t=no
35700 fi
35701 rm -f conftest*
35702
35703 fi
35704 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
35705 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
35706 if test $ac_cv_type_uid_t = no; then
35707
35708 cat >>confdefs.h <<\_ACEOF
35709 #define uid_t int
35710 _ACEOF
35711
35712
35713 cat >>confdefs.h <<\_ACEOF
35714 #define gid_t int
35715 _ACEOF
35716
35717 fi
35718
35719
35720 echo "$as_me:$LINENO: checking for ssize_t" >&5
35721 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
35722 if test "${ac_cv_type_ssize_t+set}" = set; then
35723 echo $ECHO_N "(cached) $ECHO_C" >&6
35724 else
35725 cat >conftest.$ac_ext <<_ACEOF
35726 /* confdefs.h. */
35727 _ACEOF
35728 cat confdefs.h >>conftest.$ac_ext
35729 cat >>conftest.$ac_ext <<_ACEOF
35730 /* end confdefs.h. */
35731 $ac_includes_default
35732 int
35733 main ()
35734 {
35735 if ((ssize_t *) 0)
35736 return 0;
35737 if (sizeof (ssize_t))
35738 return 0;
35739 ;
35740 return 0;
35741 }
35742 _ACEOF
35743 rm -f conftest.$ac_objext
35744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35745 (eval $ac_compile) 2>conftest.er1
35746 ac_status=$?
35747 grep -v '^ *+' conftest.er1 >conftest.err
35748 rm -f conftest.er1
35749 cat conftest.err >&5
35750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35751 (exit $ac_status); } &&
35752 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
35753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35754 (eval $ac_try) 2>&5
35755 ac_status=$?
35756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35757 (exit $ac_status); }; } &&
35758 { ac_try='test -s conftest.$ac_objext'
35759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35760 (eval $ac_try) 2>&5
35761 ac_status=$?
35762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35763 (exit $ac_status); }; }; then
35764 ac_cv_type_ssize_t=yes
35765 else
35766 echo "$as_me: failed program was:" >&5
35767 sed 's/^/| /' conftest.$ac_ext >&5
35768
35769 ac_cv_type_ssize_t=no
35770 fi
35771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35772 fi
35773 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
35774 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
35775 if test $ac_cv_type_ssize_t = yes; then
35776
35777 cat >>confdefs.h <<_ACEOF
35778 #define HAVE_SSIZE_T 1
35779 _ACEOF
35780
35781
35782 fi
35783
35784
35785 ac_ext=cc
35786 ac_cpp='$CXXCPP $CPPFLAGS'
35787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35790 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
35791 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
35792 if test "${wx_cv_size_t_is_uint+set}" = set; then
35793 echo $ECHO_N "(cached) $ECHO_C" >&6
35794 else
35795
35796 cat >conftest.$ac_ext <<_ACEOF
35797 /* confdefs.h. */
35798 _ACEOF
35799 cat confdefs.h >>conftest.$ac_ext
35800 cat >>conftest.$ac_ext <<_ACEOF
35801 /* end confdefs.h. */
35802 #include <stddef.h>
35803 int
35804 main ()
35805 {
35806
35807 return 0; }
35808
35809 struct Foo { void foo(size_t); void foo(unsigned int); };
35810
35811 int bar() {
35812
35813 ;
35814 return 0;
35815 }
35816 _ACEOF
35817 rm -f conftest.$ac_objext
35818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35819 (eval $ac_compile) 2>conftest.er1
35820 ac_status=$?
35821 grep -v '^ *+' conftest.er1 >conftest.err
35822 rm -f conftest.er1
35823 cat conftest.err >&5
35824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35825 (exit $ac_status); } &&
35826 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35828 (eval $ac_try) 2>&5
35829 ac_status=$?
35830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35831 (exit $ac_status); }; } &&
35832 { ac_try='test -s conftest.$ac_objext'
35833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35834 (eval $ac_try) 2>&5
35835 ac_status=$?
35836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35837 (exit $ac_status); }; }; then
35838 wx_cv_size_t_is_uint=no
35839 else
35840 echo "$as_me: failed program was:" >&5
35841 sed 's/^/| /' conftest.$ac_ext >&5
35842
35843 wx_cv_size_t_is_uint=yes
35844
35845 fi
35846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35847
35848
35849 fi
35850 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35851 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
35852
35853 if test "$wx_cv_size_t_is_uint" = "yes"; then
35854 cat >>confdefs.h <<\_ACEOF
35855 #define wxSIZE_T_IS_UINT 1
35856 _ACEOF
35857
35858 else
35859 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35860 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
35861 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35862 echo $ECHO_N "(cached) $ECHO_C" >&6
35863 else
35864 cat >conftest.$ac_ext <<_ACEOF
35865 /* confdefs.h. */
35866 _ACEOF
35867 cat confdefs.h >>conftest.$ac_ext
35868 cat >>conftest.$ac_ext <<_ACEOF
35869 /* end confdefs.h. */
35870 #include <stddef.h>
35871 int
35872 main ()
35873 {
35874
35875 return 0; }
35876
35877 struct Foo { void foo(size_t); void foo(unsigned long); };
35878
35879 int bar() {
35880
35881 ;
35882 return 0;
35883 }
35884 _ACEOF
35885 rm -f conftest.$ac_objext
35886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35887 (eval $ac_compile) 2>conftest.er1
35888 ac_status=$?
35889 grep -v '^ *+' conftest.er1 >conftest.err
35890 rm -f conftest.er1
35891 cat conftest.err >&5
35892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35893 (exit $ac_status); } &&
35894 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35896 (eval $ac_try) 2>&5
35897 ac_status=$?
35898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35899 (exit $ac_status); }; } &&
35900 { ac_try='test -s conftest.$ac_objext'
35901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35902 (eval $ac_try) 2>&5
35903 ac_status=$?
35904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35905 (exit $ac_status); }; }; then
35906 wx_cv_size_t_is_ulong=no
35907 else
35908 echo "$as_me: failed program was:" >&5
35909 sed 's/^/| /' conftest.$ac_ext >&5
35910
35911 wx_cv_size_t_is_ulong=yes
35912
35913 fi
35914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35915
35916 fi
35917 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35918 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
35919
35920 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35921 cat >>confdefs.h <<\_ACEOF
35922 #define wxSIZE_T_IS_ULONG 1
35923 _ACEOF
35924
35925 fi
35926 fi
35927
35928 echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
35929 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6
35930 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
35931 echo $ECHO_N "(cached) $ECHO_C" >&6
35932 else
35933 cat >conftest.$ac_ext <<_ACEOF
35934 /* confdefs.h. */
35935 _ACEOF
35936 cat confdefs.h >>conftest.$ac_ext
35937 cat >>conftest.$ac_ext <<_ACEOF
35938 /* end confdefs.h. */
35939 #include <wchar.h>
35940 int
35941 main ()
35942 {
35943
35944 return 0; }
35945
35946 struct Foo { void foo(wchar_t);
35947 void foo(unsigned short);
35948 void foo(unsigned int);
35949 void foo(unsigned long); };
35950
35951 int bar() {
35952
35953 ;
35954 return 0;
35955 }
35956 _ACEOF
35957 rm -f conftest.$ac_objext
35958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35959 (eval $ac_compile) 2>conftest.er1
35960 ac_status=$?
35961 grep -v '^ *+' conftest.er1 >conftest.err
35962 rm -f conftest.er1
35963 cat conftest.err >&5
35964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35965 (exit $ac_status); } &&
35966 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35968 (eval $ac_try) 2>&5
35969 ac_status=$?
35970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35971 (exit $ac_status); }; } &&
35972 { ac_try='test -s conftest.$ac_objext'
35973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35974 (eval $ac_try) 2>&5
35975 ac_status=$?
35976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35977 (exit $ac_status); }; }; then
35978 wx_cv_wchar_t_is_separate_type=yes
35979 else
35980 echo "$as_me: failed program was:" >&5
35981 sed 's/^/| /' conftest.$ac_ext >&5
35982
35983 wx_cv_wchar_t_is_separate_type=no
35984
35985 fi
35986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35987
35988 fi
35989 echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
35990 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6
35991
35992 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
35993 cat >>confdefs.h <<\_ACEOF
35994 #define wxWCHAR_T_IS_REAL_TYPE 1
35995 _ACEOF
35996
35997 else
35998 cat >>confdefs.h <<\_ACEOF
35999 #define wxWCHAR_T_IS_REAL_TYPE 0
36000 _ACEOF
36001
36002 fi
36003
36004 ac_ext=c
36005 ac_cpp='$CPP $CPPFLAGS'
36006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36009
36010
36011 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36012 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
36013 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36014 echo $ECHO_N "(cached) $ECHO_C" >&6
36015 else
36016
36017 cat >conftest.$ac_ext <<_ACEOF
36018 /* confdefs.h. */
36019 _ACEOF
36020 cat confdefs.h >>conftest.$ac_ext
36021 cat >>conftest.$ac_ext <<_ACEOF
36022 /* end confdefs.h. */
36023 #include <pwd.h>
36024 int
36025 main ()
36026 {
36027
36028 char *p;
36029 struct passwd *pw;
36030 p = pw->pw_gecos;
36031
36032 ;
36033 return 0;
36034 }
36035 _ACEOF
36036 rm -f conftest.$ac_objext
36037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36038 (eval $ac_compile) 2>conftest.er1
36039 ac_status=$?
36040 grep -v '^ *+' conftest.er1 >conftest.err
36041 rm -f conftest.er1
36042 cat conftest.err >&5
36043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36044 (exit $ac_status); } &&
36045 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36047 (eval $ac_try) 2>&5
36048 ac_status=$?
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 (exit $ac_status); }; } &&
36051 { ac_try='test -s conftest.$ac_objext'
36052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36053 (eval $ac_try) 2>&5
36054 ac_status=$?
36055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36056 (exit $ac_status); }; }; then
36057
36058 wx_cv_struct_pw_gecos=yes
36059
36060 else
36061 echo "$as_me: failed program was:" >&5
36062 sed 's/^/| /' conftest.$ac_ext >&5
36063
36064
36065 wx_cv_struct_pw_gecos=no
36066
36067
36068 fi
36069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36070
36071
36072 fi
36073 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36074 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
36075
36076 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36077 cat >>confdefs.h <<\_ACEOF
36078 #define HAVE_PW_GECOS 1
36079 _ACEOF
36080
36081 fi
36082
36083
36084 if test "$wxUSE_WCHAR_T" = "yes"; then
36085 cat >>confdefs.h <<\_ACEOF
36086 #define wxUSE_WCHAR_T 1
36087 _ACEOF
36088
36089
36090 WCSLEN_FOUND=0
36091 WCHAR_LINK=
36092
36093 for ac_func in wcslen
36094 do
36095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36096 echo "$as_me:$LINENO: checking for $ac_func" >&5
36097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36098 if eval "test \"\${$as_ac_var+set}\" = set"; then
36099 echo $ECHO_N "(cached) $ECHO_C" >&6
36100 else
36101 cat >conftest.$ac_ext <<_ACEOF
36102 /* confdefs.h. */
36103 _ACEOF
36104 cat confdefs.h >>conftest.$ac_ext
36105 cat >>conftest.$ac_ext <<_ACEOF
36106 /* end confdefs.h. */
36107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36109 #define $ac_func innocuous_$ac_func
36110
36111 /* System header to define __stub macros and hopefully few prototypes,
36112 which can conflict with char $ac_func (); below.
36113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36114 <limits.h> exists even on freestanding compilers. */
36115
36116 #ifdef __STDC__
36117 # include <limits.h>
36118 #else
36119 # include <assert.h>
36120 #endif
36121
36122 #undef $ac_func
36123
36124 /* Override any gcc2 internal prototype to avoid an error. */
36125 #ifdef __cplusplus
36126 extern "C"
36127 {
36128 #endif
36129 /* We use char because int might match the return type of a gcc2
36130 builtin and then its argument prototype would still apply. */
36131 char $ac_func ();
36132 /* The GNU C library defines this for functions which it implements
36133 to always fail with ENOSYS. Some functions are actually named
36134 something starting with __ and the normal name is an alias. */
36135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36136 choke me
36137 #else
36138 char (*f) () = $ac_func;
36139 #endif
36140 #ifdef __cplusplus
36141 }
36142 #endif
36143
36144 int
36145 main ()
36146 {
36147 return f != $ac_func;
36148 ;
36149 return 0;
36150 }
36151 _ACEOF
36152 rm -f conftest.$ac_objext conftest$ac_exeext
36153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36154 (eval $ac_link) 2>conftest.er1
36155 ac_status=$?
36156 grep -v '^ *+' conftest.er1 >conftest.err
36157 rm -f conftest.er1
36158 cat conftest.err >&5
36159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36160 (exit $ac_status); } &&
36161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36163 (eval $ac_try) 2>&5
36164 ac_status=$?
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); }; } &&
36167 { ac_try='test -s conftest$ac_exeext'
36168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36169 (eval $ac_try) 2>&5
36170 ac_status=$?
36171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36172 (exit $ac_status); }; }; then
36173 eval "$as_ac_var=yes"
36174 else
36175 echo "$as_me: failed program was:" >&5
36176 sed 's/^/| /' conftest.$ac_ext >&5
36177
36178 eval "$as_ac_var=no"
36179 fi
36180 rm -f conftest.err conftest.$ac_objext \
36181 conftest$ac_exeext conftest.$ac_ext
36182 fi
36183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36185 if test `eval echo '${'$as_ac_var'}'` = yes; then
36186 cat >>confdefs.h <<_ACEOF
36187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36188 _ACEOF
36189 WCSLEN_FOUND=1
36190 fi
36191 done
36192
36193
36194 if test "$WCSLEN_FOUND" = 0; then
36195 if test "$TOOLKIT" = "MSW"; then
36196 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36197 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
36198 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36199 echo $ECHO_N "(cached) $ECHO_C" >&6
36200 else
36201 ac_check_lib_save_LIBS=$LIBS
36202 LIBS="-lmsvcrt $LIBS"
36203 cat >conftest.$ac_ext <<_ACEOF
36204 /* confdefs.h. */
36205 _ACEOF
36206 cat confdefs.h >>conftest.$ac_ext
36207 cat >>conftest.$ac_ext <<_ACEOF
36208 /* end confdefs.h. */
36209
36210 /* Override any gcc2 internal prototype to avoid an error. */
36211 #ifdef __cplusplus
36212 extern "C"
36213 #endif
36214 /* We use char because int might match the return type of a gcc2
36215 builtin and then its argument prototype would still apply. */
36216 char wcslen ();
36217 int
36218 main ()
36219 {
36220 wcslen ();
36221 ;
36222 return 0;
36223 }
36224 _ACEOF
36225 rm -f conftest.$ac_objext conftest$ac_exeext
36226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36227 (eval $ac_link) 2>conftest.er1
36228 ac_status=$?
36229 grep -v '^ *+' conftest.er1 >conftest.err
36230 rm -f conftest.er1
36231 cat conftest.err >&5
36232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36233 (exit $ac_status); } &&
36234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36236 (eval $ac_try) 2>&5
36237 ac_status=$?
36238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36239 (exit $ac_status); }; } &&
36240 { ac_try='test -s conftest$ac_exeext'
36241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36242 (eval $ac_try) 2>&5
36243 ac_status=$?
36244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36245 (exit $ac_status); }; }; then
36246 ac_cv_lib_msvcrt_wcslen=yes
36247 else
36248 echo "$as_me: failed program was:" >&5
36249 sed 's/^/| /' conftest.$ac_ext >&5
36250
36251 ac_cv_lib_msvcrt_wcslen=no
36252 fi
36253 rm -f conftest.err conftest.$ac_objext \
36254 conftest$ac_exeext conftest.$ac_ext
36255 LIBS=$ac_check_lib_save_LIBS
36256 fi
36257 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36258 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
36259 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36260 WCHAR_OK=1
36261 fi
36262
36263 else
36264 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36265 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
36266 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36267 echo $ECHO_N "(cached) $ECHO_C" >&6
36268 else
36269 ac_check_lib_save_LIBS=$LIBS
36270 LIBS="-lw $LIBS"
36271 cat >conftest.$ac_ext <<_ACEOF
36272 /* confdefs.h. */
36273 _ACEOF
36274 cat confdefs.h >>conftest.$ac_ext
36275 cat >>conftest.$ac_ext <<_ACEOF
36276 /* end confdefs.h. */
36277
36278 /* Override any gcc2 internal prototype to avoid an error. */
36279 #ifdef __cplusplus
36280 extern "C"
36281 #endif
36282 /* We use char because int might match the return type of a gcc2
36283 builtin and then its argument prototype would still apply. */
36284 char wcslen ();
36285 int
36286 main ()
36287 {
36288 wcslen ();
36289 ;
36290 return 0;
36291 }
36292 _ACEOF
36293 rm -f conftest.$ac_objext conftest$ac_exeext
36294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36295 (eval $ac_link) 2>conftest.er1
36296 ac_status=$?
36297 grep -v '^ *+' conftest.er1 >conftest.err
36298 rm -f conftest.er1
36299 cat conftest.err >&5
36300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36301 (exit $ac_status); } &&
36302 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36304 (eval $ac_try) 2>&5
36305 ac_status=$?
36306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36307 (exit $ac_status); }; } &&
36308 { ac_try='test -s conftest$ac_exeext'
36309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36310 (eval $ac_try) 2>&5
36311 ac_status=$?
36312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36313 (exit $ac_status); }; }; then
36314 ac_cv_lib_w_wcslen=yes
36315 else
36316 echo "$as_me: failed program was:" >&5
36317 sed 's/^/| /' conftest.$ac_ext >&5
36318
36319 ac_cv_lib_w_wcslen=no
36320 fi
36321 rm -f conftest.err conftest.$ac_objext \
36322 conftest$ac_exeext conftest.$ac_ext
36323 LIBS=$ac_check_lib_save_LIBS
36324 fi
36325 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36326 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
36327 if test $ac_cv_lib_w_wcslen = yes; then
36328
36329 WCHAR_LINK=" -lw"
36330 WCSLEN_FOUND=1
36331
36332 fi
36333
36334 fi
36335 fi
36336
36337 if test "$WCSLEN_FOUND" = 1; then
36338 cat >>confdefs.h <<\_ACEOF
36339 #define HAVE_WCSLEN 1
36340 _ACEOF
36341
36342 fi
36343
36344
36345 for ac_func in wcsdup
36346 do
36347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36348 echo "$as_me:$LINENO: checking for $ac_func" >&5
36349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36350 if eval "test \"\${$as_ac_var+set}\" = set"; then
36351 echo $ECHO_N "(cached) $ECHO_C" >&6
36352 else
36353 cat >conftest.$ac_ext <<_ACEOF
36354 /* confdefs.h. */
36355 _ACEOF
36356 cat confdefs.h >>conftest.$ac_ext
36357 cat >>conftest.$ac_ext <<_ACEOF
36358 /* end confdefs.h. */
36359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36361 #define $ac_func innocuous_$ac_func
36362
36363 /* System header to define __stub macros and hopefully few prototypes,
36364 which can conflict with char $ac_func (); below.
36365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36366 <limits.h> exists even on freestanding compilers. */
36367
36368 #ifdef __STDC__
36369 # include <limits.h>
36370 #else
36371 # include <assert.h>
36372 #endif
36373
36374 #undef $ac_func
36375
36376 /* Override any gcc2 internal prototype to avoid an error. */
36377 #ifdef __cplusplus
36378 extern "C"
36379 {
36380 #endif
36381 /* We use char because int might match the return type of a gcc2
36382 builtin and then its argument prototype would still apply. */
36383 char $ac_func ();
36384 /* The GNU C library defines this for functions which it implements
36385 to always fail with ENOSYS. Some functions are actually named
36386 something starting with __ and the normal name is an alias. */
36387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36388 choke me
36389 #else
36390 char (*f) () = $ac_func;
36391 #endif
36392 #ifdef __cplusplus
36393 }
36394 #endif
36395
36396 int
36397 main ()
36398 {
36399 return f != $ac_func;
36400 ;
36401 return 0;
36402 }
36403 _ACEOF
36404 rm -f conftest.$ac_objext conftest$ac_exeext
36405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36406 (eval $ac_link) 2>conftest.er1
36407 ac_status=$?
36408 grep -v '^ *+' conftest.er1 >conftest.err
36409 rm -f conftest.er1
36410 cat conftest.err >&5
36411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36412 (exit $ac_status); } &&
36413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36415 (eval $ac_try) 2>&5
36416 ac_status=$?
36417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36418 (exit $ac_status); }; } &&
36419 { ac_try='test -s conftest$ac_exeext'
36420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36421 (eval $ac_try) 2>&5
36422 ac_status=$?
36423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36424 (exit $ac_status); }; }; then
36425 eval "$as_ac_var=yes"
36426 else
36427 echo "$as_me: failed program was:" >&5
36428 sed 's/^/| /' conftest.$ac_ext >&5
36429
36430 eval "$as_ac_var=no"
36431 fi
36432 rm -f conftest.err conftest.$ac_objext \
36433 conftest$ac_exeext conftest.$ac_ext
36434 fi
36435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36437 if test `eval echo '${'$as_ac_var'}'` = yes; then
36438 cat >>confdefs.h <<_ACEOF
36439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36440 _ACEOF
36441
36442 fi
36443 done
36444
36445
36446 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36447 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36448 fi
36449
36450 echo "$as_me:$LINENO: checking for mbstate_t" >&5
36451 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
36452 if test "${ac_cv_type_mbstate_t+set}" = set; then
36453 echo $ECHO_N "(cached) $ECHO_C" >&6
36454 else
36455 cat >conftest.$ac_ext <<_ACEOF
36456 /* confdefs.h. */
36457 _ACEOF
36458 cat confdefs.h >>conftest.$ac_ext
36459 cat >>conftest.$ac_ext <<_ACEOF
36460 /* end confdefs.h. */
36461 #include <wchar.h>
36462
36463 int
36464 main ()
36465 {
36466 if ((mbstate_t *) 0)
36467 return 0;
36468 if (sizeof (mbstate_t))
36469 return 0;
36470 ;
36471 return 0;
36472 }
36473 _ACEOF
36474 rm -f conftest.$ac_objext
36475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36476 (eval $ac_compile) 2>conftest.er1
36477 ac_status=$?
36478 grep -v '^ *+' conftest.er1 >conftest.err
36479 rm -f conftest.er1
36480 cat conftest.err >&5
36481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36482 (exit $ac_status); } &&
36483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36485 (eval $ac_try) 2>&5
36486 ac_status=$?
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); }; } &&
36489 { ac_try='test -s conftest.$ac_objext'
36490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36491 (eval $ac_try) 2>&5
36492 ac_status=$?
36493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36494 (exit $ac_status); }; }; then
36495 ac_cv_type_mbstate_t=yes
36496 else
36497 echo "$as_me: failed program was:" >&5
36498 sed 's/^/| /' conftest.$ac_ext >&5
36499
36500 ac_cv_type_mbstate_t=no
36501 fi
36502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36503 fi
36504 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36505 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
36506 if test $ac_cv_type_mbstate_t = yes; then
36507
36508 cat >>confdefs.h <<_ACEOF
36509 #define HAVE_MBSTATE_T 1
36510 _ACEOF
36511
36512
36513 for ac_func in wcsrtombs
36514 do
36515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36516 echo "$as_me:$LINENO: checking for $ac_func" >&5
36517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36518 if eval "test \"\${$as_ac_var+set}\" = set"; then
36519 echo $ECHO_N "(cached) $ECHO_C" >&6
36520 else
36521 cat >conftest.$ac_ext <<_ACEOF
36522 /* confdefs.h. */
36523 _ACEOF
36524 cat confdefs.h >>conftest.$ac_ext
36525 cat >>conftest.$ac_ext <<_ACEOF
36526 /* end confdefs.h. */
36527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36529 #define $ac_func innocuous_$ac_func
36530
36531 /* System header to define __stub macros and hopefully few prototypes,
36532 which can conflict with char $ac_func (); below.
36533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36534 <limits.h> exists even on freestanding compilers. */
36535
36536 #ifdef __STDC__
36537 # include <limits.h>
36538 #else
36539 # include <assert.h>
36540 #endif
36541
36542 #undef $ac_func
36543
36544 /* Override any gcc2 internal prototype to avoid an error. */
36545 #ifdef __cplusplus
36546 extern "C"
36547 {
36548 #endif
36549 /* We use char because int might match the return type of a gcc2
36550 builtin and then its argument prototype would still apply. */
36551 char $ac_func ();
36552 /* The GNU C library defines this for functions which it implements
36553 to always fail with ENOSYS. Some functions are actually named
36554 something starting with __ and the normal name is an alias. */
36555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36556 choke me
36557 #else
36558 char (*f) () = $ac_func;
36559 #endif
36560 #ifdef __cplusplus
36561 }
36562 #endif
36563
36564 int
36565 main ()
36566 {
36567 return f != $ac_func;
36568 ;
36569 return 0;
36570 }
36571 _ACEOF
36572 rm -f conftest.$ac_objext conftest$ac_exeext
36573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36574 (eval $ac_link) 2>conftest.er1
36575 ac_status=$?
36576 grep -v '^ *+' conftest.er1 >conftest.err
36577 rm -f conftest.er1
36578 cat conftest.err >&5
36579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36580 (exit $ac_status); } &&
36581 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36583 (eval $ac_try) 2>&5
36584 ac_status=$?
36585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36586 (exit $ac_status); }; } &&
36587 { ac_try='test -s conftest$ac_exeext'
36588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36589 (eval $ac_try) 2>&5
36590 ac_status=$?
36591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36592 (exit $ac_status); }; }; then
36593 eval "$as_ac_var=yes"
36594 else
36595 echo "$as_me: failed program was:" >&5
36596 sed 's/^/| /' conftest.$ac_ext >&5
36597
36598 eval "$as_ac_var=no"
36599 fi
36600 rm -f conftest.err conftest.$ac_objext \
36601 conftest$ac_exeext conftest.$ac_ext
36602 fi
36603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36605 if test `eval echo '${'$as_ac_var'}'` = yes; then
36606 cat >>confdefs.h <<_ACEOF
36607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36608 _ACEOF
36609
36610 fi
36611 done
36612
36613 fi
36614
36615 else
36616 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
36617 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
36618 fi
36619
36620
36621
36622 for ac_func in snprintf vsnprintf
36623 do
36624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36625 echo "$as_me:$LINENO: checking for $ac_func" >&5
36626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36627 if eval "test \"\${$as_ac_var+set}\" = set"; then
36628 echo $ECHO_N "(cached) $ECHO_C" >&6
36629 else
36630 cat >conftest.$ac_ext <<_ACEOF
36631 /* confdefs.h. */
36632 _ACEOF
36633 cat confdefs.h >>conftest.$ac_ext
36634 cat >>conftest.$ac_ext <<_ACEOF
36635 /* end confdefs.h. */
36636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36638 #define $ac_func innocuous_$ac_func
36639
36640 /* System header to define __stub macros and hopefully few prototypes,
36641 which can conflict with char $ac_func (); below.
36642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36643 <limits.h> exists even on freestanding compilers. */
36644
36645 #ifdef __STDC__
36646 # include <limits.h>
36647 #else
36648 # include <assert.h>
36649 #endif
36650
36651 #undef $ac_func
36652
36653 /* Override any gcc2 internal prototype to avoid an error. */
36654 #ifdef __cplusplus
36655 extern "C"
36656 {
36657 #endif
36658 /* We use char because int might match the return type of a gcc2
36659 builtin and then its argument prototype would still apply. */
36660 char $ac_func ();
36661 /* The GNU C library defines this for functions which it implements
36662 to always fail with ENOSYS. Some functions are actually named
36663 something starting with __ and the normal name is an alias. */
36664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36665 choke me
36666 #else
36667 char (*f) () = $ac_func;
36668 #endif
36669 #ifdef __cplusplus
36670 }
36671 #endif
36672
36673 int
36674 main ()
36675 {
36676 return f != $ac_func;
36677 ;
36678 return 0;
36679 }
36680 _ACEOF
36681 rm -f conftest.$ac_objext conftest$ac_exeext
36682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36683 (eval $ac_link) 2>conftest.er1
36684 ac_status=$?
36685 grep -v '^ *+' conftest.er1 >conftest.err
36686 rm -f conftest.er1
36687 cat conftest.err >&5
36688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36689 (exit $ac_status); } &&
36690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36692 (eval $ac_try) 2>&5
36693 ac_status=$?
36694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36695 (exit $ac_status); }; } &&
36696 { ac_try='test -s conftest$ac_exeext'
36697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36698 (eval $ac_try) 2>&5
36699 ac_status=$?
36700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36701 (exit $ac_status); }; }; then
36702 eval "$as_ac_var=yes"
36703 else
36704 echo "$as_me: failed program was:" >&5
36705 sed 's/^/| /' conftest.$ac_ext >&5
36706
36707 eval "$as_ac_var=no"
36708 fi
36709 rm -f conftest.err conftest.$ac_objext \
36710 conftest$ac_exeext conftest.$ac_ext
36711 fi
36712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36714 if test `eval echo '${'$as_ac_var'}'` = yes; then
36715 cat >>confdefs.h <<_ACEOF
36716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36717 _ACEOF
36718
36719 fi
36720 done
36721
36722
36723 if test "$ac_cv_func_vsnprintf" = "yes"; then
36724 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
36725 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
36726 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
36727 echo $ECHO_N "(cached) $ECHO_C" >&6
36728 else
36729
36730 cat >conftest.$ac_ext <<_ACEOF
36731 /* confdefs.h. */
36732 _ACEOF
36733 cat confdefs.h >>conftest.$ac_ext
36734 cat >>conftest.$ac_ext <<_ACEOF
36735 /* end confdefs.h. */
36736
36737 #include <stdio.h>
36738 #include <stdarg.h>
36739 #ifdef __MSL__
36740 #if __MSL__ >= 0x6000
36741 namespace std {}
36742 using namespace std;
36743 #endif
36744 #endif
36745
36746 int
36747 main ()
36748 {
36749
36750 char *buf;
36751 va_list ap;
36752 vsnprintf(buf, 10u, "%s", ap);
36753
36754 ;
36755 return 0;
36756 }
36757 _ACEOF
36758 rm -f conftest.$ac_objext
36759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36760 (eval $ac_compile) 2>conftest.er1
36761 ac_status=$?
36762 grep -v '^ *+' conftest.er1 >conftest.err
36763 rm -f conftest.er1
36764 cat conftest.err >&5
36765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36766 (exit $ac_status); } &&
36767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36769 (eval $ac_try) 2>&5
36770 ac_status=$?
36771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36772 (exit $ac_status); }; } &&
36773 { ac_try='test -s conftest.$ac_objext'
36774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36775 (eval $ac_try) 2>&5
36776 ac_status=$?
36777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36778 (exit $ac_status); }; }; then
36779 wx_cv_func_vsnprintf_decl=yes
36780 else
36781 echo "$as_me: failed program was:" >&5
36782 sed 's/^/| /' conftest.$ac_ext >&5
36783
36784 wx_cv_func_vsnprintf_decl=no
36785
36786 fi
36787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36788
36789
36790 fi
36791 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
36792 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
36793
36794 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
36795 cat >>confdefs.h <<\_ACEOF
36796 #define HAVE_VSNPRINTF_DECL 1
36797 _ACEOF
36798
36799
36800 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
36801 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
36802 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
36803 echo $ECHO_N "(cached) $ECHO_C" >&6
36804 else
36805
36806 cat >conftest.$ac_ext <<_ACEOF
36807 /* confdefs.h. */
36808 _ACEOF
36809 cat confdefs.h >>conftest.$ac_ext
36810 cat >>conftest.$ac_ext <<_ACEOF
36811 /* end confdefs.h. */
36812
36813 #include <stdio.h>
36814 #include <stdarg.h>
36815 #ifdef __MSL__
36816 #if __MSL__ >= 0x6000
36817 namespace std {}
36818 using namespace std;
36819 #endif
36820 #endif
36821
36822 int
36823 main ()
36824 {
36825
36826 char *buf;
36827 va_list ap;
36828 const char *fmt = "%s";
36829 vsnprintf(buf, 10u, fmt, ap);
36830
36831 ;
36832 return 0;
36833 }
36834 _ACEOF
36835 rm -f conftest.$ac_objext
36836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36837 (eval $ac_compile) 2>conftest.er1
36838 ac_status=$?
36839 grep -v '^ *+' conftest.er1 >conftest.err
36840 rm -f conftest.er1
36841 cat conftest.err >&5
36842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36843 (exit $ac_status); } &&
36844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36846 (eval $ac_try) 2>&5
36847 ac_status=$?
36848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36849 (exit $ac_status); }; } &&
36850 { ac_try='test -s conftest.$ac_objext'
36851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36852 (eval $ac_try) 2>&5
36853 ac_status=$?
36854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36855 (exit $ac_status); }; }; then
36856 wx_cv_func_broken_vsnprintf_decl=no
36857 else
36858 echo "$as_me: failed program was:" >&5
36859 sed 's/^/| /' conftest.$ac_ext >&5
36860
36861 wx_cv_func_broken_vsnprintf_decl=yes
36862
36863 fi
36864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36865
36866
36867 fi
36868 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
36869 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
36870
36871 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
36872 cat >>confdefs.h <<\_ACEOF
36873 #define HAVE_BROKEN_VSNPRINTF_DECL 1
36874 _ACEOF
36875
36876 fi
36877 fi
36878 fi
36879
36880 if test "$ac_cv_func_snprintf" = "yes"; then
36881 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
36882 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
36883 if test "${wx_cv_func_snprintf_decl+set}" = set; then
36884 echo $ECHO_N "(cached) $ECHO_C" >&6
36885 else
36886
36887 cat >conftest.$ac_ext <<_ACEOF
36888 /* confdefs.h. */
36889 _ACEOF
36890 cat confdefs.h >>conftest.$ac_ext
36891 cat >>conftest.$ac_ext <<_ACEOF
36892 /* end confdefs.h. */
36893
36894 #include <stdio.h>
36895 #include <stdarg.h>
36896 #ifdef __MSL__
36897 #if __MSL__ >= 0x6000
36898 namespace std {}
36899 using namespace std;
36900 #endif
36901 #endif
36902
36903 int
36904 main ()
36905 {
36906
36907 char *buf;
36908 snprintf(buf, 10u, "%s", "wx");
36909
36910 ;
36911 return 0;
36912 }
36913 _ACEOF
36914 rm -f conftest.$ac_objext
36915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36916 (eval $ac_compile) 2>conftest.er1
36917 ac_status=$?
36918 grep -v '^ *+' conftest.er1 >conftest.err
36919 rm -f conftest.er1
36920 cat conftest.err >&5
36921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36922 (exit $ac_status); } &&
36923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
36924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36925 (eval $ac_try) 2>&5
36926 ac_status=$?
36927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36928 (exit $ac_status); }; } &&
36929 { ac_try='test -s conftest.$ac_objext'
36930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36931 (eval $ac_try) 2>&5
36932 ac_status=$?
36933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36934 (exit $ac_status); }; }; then
36935 wx_cv_func_snprintf_decl=yes
36936 else
36937 echo "$as_me: failed program was:" >&5
36938 sed 's/^/| /' conftest.$ac_ext >&5
36939
36940 wx_cv_func_snprintf_decl=no
36941
36942 fi
36943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36944
36945
36946 fi
36947 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
36948 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
36949
36950 if test "$wx_cv_func_snprintf_decl" = "yes"; then
36951 cat >>confdefs.h <<\_ACEOF
36952 #define HAVE_SNPRINTF_DECL 1
36953 _ACEOF
36954
36955
36956 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
36957 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
36958 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
36959 echo $ECHO_N "(cached) $ECHO_C" >&6
36960 else
36961
36962 cat >conftest.$ac_ext <<_ACEOF
36963 /* confdefs.h. */
36964 _ACEOF
36965 cat confdefs.h >>conftest.$ac_ext
36966 cat >>conftest.$ac_ext <<_ACEOF
36967 /* end confdefs.h. */
36968
36969 #include <stdio.h>
36970 #include <stdarg.h>
36971 #ifdef __MSL__
36972 #if __MSL__ >= 0x6000
36973 namespace std {}
36974 using namespace std;
36975 #endif
36976 #endif
36977
36978 int
36979 main ()
36980 {
36981
36982 char *buf;
36983 const char *fmt = "%s";
36984 snprintf(buf, 10u, fmt, "wx");
36985
36986 ;
36987 return 0;
36988 }
36989 _ACEOF
36990 rm -f conftest.$ac_objext
36991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36992 (eval $ac_compile) 2>conftest.er1
36993 ac_status=$?
36994 grep -v '^ *+' conftest.er1 >conftest.err
36995 rm -f conftest.er1
36996 cat conftest.err >&5
36997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36998 (exit $ac_status); } &&
36999 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37001 (eval $ac_try) 2>&5
37002 ac_status=$?
37003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37004 (exit $ac_status); }; } &&
37005 { ac_try='test -s conftest.$ac_objext'
37006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37007 (eval $ac_try) 2>&5
37008 ac_status=$?
37009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37010 (exit $ac_status); }; }; then
37011 wx_cv_func_broken_snprintf_decl=no
37012 else
37013 echo "$as_me: failed program was:" >&5
37014 sed 's/^/| /' conftest.$ac_ext >&5
37015
37016 wx_cv_func_broken_snprintf_decl=yes
37017
37018 fi
37019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37020
37021
37022 fi
37023 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
37024 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
37025
37026 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37027 cat >>confdefs.h <<\_ACEOF
37028 #define HAVE_BROKEN_SNPRINTF_DECL 1
37029 _ACEOF
37030
37031 fi
37032 fi
37033
37034 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37035
37036 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37037 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
37038 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37039 echo $ECHO_N "(cached) $ECHO_C" >&6
37040 else
37041
37042 if test "$cross_compiling" = yes; then
37043
37044 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37045 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37046 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37047 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37048 wx_cv_func_snprintf_pos_params=no
37049
37050
37051 else
37052 cat >conftest.$ac_ext <<_ACEOF
37053 /* confdefs.h. */
37054 _ACEOF
37055 cat confdefs.h >>conftest.$ac_ext
37056 cat >>conftest.$ac_ext <<_ACEOF
37057 /* end confdefs.h. */
37058
37059 #include <stdio.h>
37060
37061 int main (void)
37062 {
37063 char buffer[128];
37064 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37065 if (strcmp ("2 3 1", buffer) == 0)
37066 exit (0);
37067 exit (1);
37068 }
37069
37070 _ACEOF
37071 rm -f conftest$ac_exeext
37072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37073 (eval $ac_link) 2>&5
37074 ac_status=$?
37075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37076 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37078 (eval $ac_try) 2>&5
37079 ac_status=$?
37080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37081 (exit $ac_status); }; }; then
37082 wx_cv_func_snprintf_pos_params=no
37083 else
37084 echo "$as_me: program exited with status $ac_status" >&5
37085 echo "$as_me: failed program was:" >&5
37086 sed 's/^/| /' conftest.$ac_ext >&5
37087
37088 ( exit $ac_status )
37089 wx_cv_func_snprintf_pos_params=yes
37090 fi
37091 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37092 fi
37093
37094
37095 fi
37096 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37097 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
37098
37099 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37100 cat >>confdefs.h <<\_ACEOF
37101 #define HAVE_UNIX98_PRINTF 1
37102 _ACEOF
37103
37104 fi
37105 fi
37106 fi
37107
37108 if test "$wxUSE_UNICODE" = yes; then
37109
37110
37111 for ac_func in swprintf
37112 do
37113 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37114 echo "$as_me:$LINENO: checking for $ac_func" >&5
37115 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37116 if eval "test \"\${$as_ac_var+set}\" = set"; then
37117 echo $ECHO_N "(cached) $ECHO_C" >&6
37118 else
37119 cat >conftest.$ac_ext <<_ACEOF
37120 /* confdefs.h. */
37121 _ACEOF
37122 cat confdefs.h >>conftest.$ac_ext
37123 cat >>conftest.$ac_ext <<_ACEOF
37124 /* end confdefs.h. */
37125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37127 #define $ac_func innocuous_$ac_func
37128
37129 /* System header to define __stub macros and hopefully few prototypes,
37130 which can conflict with char $ac_func (); below.
37131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37132 <limits.h> exists even on freestanding compilers. */
37133
37134 #ifdef __STDC__
37135 # include <limits.h>
37136 #else
37137 # include <assert.h>
37138 #endif
37139
37140 #undef $ac_func
37141
37142 /* Override any gcc2 internal prototype to avoid an error. */
37143 #ifdef __cplusplus
37144 extern "C"
37145 {
37146 #endif
37147 /* We use char because int might match the return type of a gcc2
37148 builtin and then its argument prototype would still apply. */
37149 char $ac_func ();
37150 /* The GNU C library defines this for functions which it implements
37151 to always fail with ENOSYS. Some functions are actually named
37152 something starting with __ and the normal name is an alias. */
37153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37154 choke me
37155 #else
37156 char (*f) () = $ac_func;
37157 #endif
37158 #ifdef __cplusplus
37159 }
37160 #endif
37161
37162 int
37163 main ()
37164 {
37165 return f != $ac_func;
37166 ;
37167 return 0;
37168 }
37169 _ACEOF
37170 rm -f conftest.$ac_objext conftest$ac_exeext
37171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37172 (eval $ac_link) 2>conftest.er1
37173 ac_status=$?
37174 grep -v '^ *+' conftest.er1 >conftest.err
37175 rm -f conftest.er1
37176 cat conftest.err >&5
37177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37178 (exit $ac_status); } &&
37179 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37181 (eval $ac_try) 2>&5
37182 ac_status=$?
37183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37184 (exit $ac_status); }; } &&
37185 { ac_try='test -s conftest$ac_exeext'
37186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37187 (eval $ac_try) 2>&5
37188 ac_status=$?
37189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37190 (exit $ac_status); }; }; then
37191 eval "$as_ac_var=yes"
37192 else
37193 echo "$as_me: failed program was:" >&5
37194 sed 's/^/| /' conftest.$ac_ext >&5
37195
37196 eval "$as_ac_var=no"
37197 fi
37198 rm -f conftest.err conftest.$ac_objext \
37199 conftest$ac_exeext conftest.$ac_ext
37200 fi
37201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37203 if test `eval echo '${'$as_ac_var'}'` = yes; then
37204 cat >>confdefs.h <<_ACEOF
37205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37206 _ACEOF
37207
37208 fi
37209 done
37210
37211
37212 if test "$ac_cv_func_swprintf" = "yes"; then
37213 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
37214 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
37215 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
37216 echo $ECHO_N "(cached) $ECHO_C" >&6
37217 else
37218
37219 cat >conftest.$ac_ext <<_ACEOF
37220 /* confdefs.h. */
37221 _ACEOF
37222 cat confdefs.h >>conftest.$ac_ext
37223 cat >>conftest.$ac_ext <<_ACEOF
37224 /* end confdefs.h. */
37225
37226 #include <stdio.h>
37227 #include <stdarg.h>
37228 #include <wchar.h>
37229
37230 int
37231 main ()
37232 {
37233
37234 wchar_t *buf;
37235 const wchar_t *fmt = L"test";
37236 swprintf(buf, 10u, fmt);
37237
37238 ;
37239 return 0;
37240 }
37241 _ACEOF
37242 rm -f conftest.$ac_objext
37243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37244 (eval $ac_compile) 2>conftest.er1
37245 ac_status=$?
37246 grep -v '^ *+' conftest.er1 >conftest.err
37247 rm -f conftest.er1
37248 cat conftest.err >&5
37249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37250 (exit $ac_status); } &&
37251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37253 (eval $ac_try) 2>&5
37254 ac_status=$?
37255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37256 (exit $ac_status); }; } &&
37257 { ac_try='test -s conftest.$ac_objext'
37258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37259 (eval $ac_try) 2>&5
37260 ac_status=$?
37261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37262 (exit $ac_status); }; }; then
37263 wx_cv_func_broken_swprintf_decl=no
37264 else
37265 echo "$as_me: failed program was:" >&5
37266 sed 's/^/| /' conftest.$ac_ext >&5
37267
37268 wx_cv_func_broken_swprintf_decl=yes
37269
37270 fi
37271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37272
37273
37274 fi
37275 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
37276 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
37277
37278 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
37279 cat >>confdefs.h <<\_ACEOF
37280 #define HAVE_BROKEN_SWPRINTF_DECL 1
37281 _ACEOF
37282
37283 fi
37284 fi
37285
37286 wchar_headers="#include <stdio.h>
37287 #include <wchar.h>"
37288 case "${host}" in
37289 *-*-solaris2* )
37290 echo "$as_me:$LINENO: checking for widec.h" >&5
37291 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6
37292 if test "${ac_cv_header_widec_h+set}" = set; then
37293 echo $ECHO_N "(cached) $ECHO_C" >&6
37294 else
37295 cat >conftest.$ac_ext <<_ACEOF
37296 /* confdefs.h. */
37297 _ACEOF
37298 cat confdefs.h >>conftest.$ac_ext
37299 cat >>conftest.$ac_ext <<_ACEOF
37300 /* end confdefs.h. */
37301 $ac_includes_default
37302
37303 #include <widec.h>
37304 _ACEOF
37305 rm -f conftest.$ac_objext
37306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37307 (eval $ac_compile) 2>conftest.er1
37308 ac_status=$?
37309 grep -v '^ *+' conftest.er1 >conftest.err
37310 rm -f conftest.er1
37311 cat conftest.err >&5
37312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37313 (exit $ac_status); } &&
37314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37316 (eval $ac_try) 2>&5
37317 ac_status=$?
37318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37319 (exit $ac_status); }; } &&
37320 { ac_try='test -s conftest.$ac_objext'
37321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37322 (eval $ac_try) 2>&5
37323 ac_status=$?
37324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37325 (exit $ac_status); }; }; then
37326 ac_cv_header_widec_h=yes
37327 else
37328 echo "$as_me: failed program was:" >&5
37329 sed 's/^/| /' conftest.$ac_ext >&5
37330
37331 ac_cv_header_widec_h=no
37332 fi
37333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37334 fi
37335 echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
37336 echo "${ECHO_T}$ac_cv_header_widec_h" >&6
37337
37338
37339 if test "$ac_cv_header_widec_h" = "yes"; then
37340 wchar_headers="$wchar_headers
37341 #include <widec.h>"
37342 fi
37343 esac
37344
37345
37346 for wx_func in wputc wputchar putws fputws wprintf vswprintf
37347 do
37348 echo "$as_me:$LINENO: checking for $wx_func" >&5
37349 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37350 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37351 echo $ECHO_N "(cached) $ECHO_C" >&6
37352 else
37353
37354 cat >conftest.$ac_ext <<_ACEOF
37355
37356 /* confdefs.h. */
37357 _ACEOF
37358 cat confdefs.h >>conftest.$ac_ext
37359 cat >>conftest.$ac_ext <<_ACEOF
37360 /* end confdefs.h. */
37361
37362 $wchar_headers
37363 $ac_includes_default
37364
37365 int
37366 main ()
37367 {
37368
37369 #ifndef $wx_func
37370 &$wx_func;
37371 #endif
37372
37373
37374 ;
37375 return 0;
37376 }
37377
37378 _ACEOF
37379 rm -f conftest.$ac_objext conftest$ac_exeext
37380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37381 (eval $ac_link) 2>conftest.er1
37382 ac_status=$?
37383 grep -v '^ *+' conftest.er1 >conftest.err
37384 rm -f conftest.er1
37385 cat conftest.err >&5
37386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37387 (exit $ac_status); } &&
37388 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37390 (eval $ac_try) 2>&5
37391 ac_status=$?
37392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37393 (exit $ac_status); }; } &&
37394 { ac_try='test -s conftest$ac_exeext'
37395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37396 (eval $ac_try) 2>&5
37397 ac_status=$?
37398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37399 (exit $ac_status); }; }; then
37400 eval wx_cv_func_$wx_func=yes
37401 else
37402 echo "$as_me: failed program was:" >&5
37403 sed 's/^/| /' conftest.$ac_ext >&5
37404
37405 eval wx_cv_func_$wx_func=no
37406 fi
37407 rm -f conftest.err conftest.$ac_objext \
37408 conftest$ac_exeext conftest.$ac_ext
37409
37410 fi
37411 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37412 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37413
37414 if eval test \$wx_cv_func_$wx_func = yes
37415 then
37416 cat >>confdefs.h <<_ACEOF
37417 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37418 _ACEOF
37419
37420
37421 else
37422 :
37423
37424 fi
37425 done
37426
37427
37428 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37429 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
37430 cat >conftest.$ac_ext <<_ACEOF
37431 /* confdefs.h. */
37432 _ACEOF
37433 cat confdefs.h >>conftest.$ac_ext
37434 cat >>conftest.$ac_ext <<_ACEOF
37435 /* end confdefs.h. */
37436 #include <wchar.h>
37437 int
37438 main ()
37439 {
37440 &_vsnwprintf;
37441 ;
37442 return 0;
37443 }
37444 _ACEOF
37445 rm -f conftest.$ac_objext
37446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37447 (eval $ac_compile) 2>conftest.er1
37448 ac_status=$?
37449 grep -v '^ *+' conftest.er1 >conftest.err
37450 rm -f conftest.er1
37451 cat conftest.err >&5
37452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37453 (exit $ac_status); } &&
37454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37456 (eval $ac_try) 2>&5
37457 ac_status=$?
37458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459 (exit $ac_status); }; } &&
37460 { ac_try='test -s conftest.$ac_objext'
37461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37462 (eval $ac_try) 2>&5
37463 ac_status=$?
37464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37465 (exit $ac_status); }; }; then
37466 echo "$as_me:$LINENO: result: yes" >&5
37467 echo "${ECHO_T}yes" >&6
37468 cat >>confdefs.h <<\_ACEOF
37469 #define HAVE__VSNWPRINTF 1
37470 _ACEOF
37471
37472 else
37473 echo "$as_me: failed program was:" >&5
37474 sed 's/^/| /' conftest.$ac_ext >&5
37475
37476 echo "$as_me:$LINENO: result: no" >&5
37477 echo "${ECHO_T}no" >&6
37478 fi
37479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
37480 fi
37481
37482 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
37483
37484 for wx_func in fnmatch
37485 do
37486 echo "$as_me:$LINENO: checking for $wx_func" >&5
37487 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37488 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37489 echo $ECHO_N "(cached) $ECHO_C" >&6
37490 else
37491
37492 cat >conftest.$ac_ext <<_ACEOF
37493
37494 /* confdefs.h. */
37495 _ACEOF
37496 cat confdefs.h >>conftest.$ac_ext
37497 cat >>conftest.$ac_ext <<_ACEOF
37498 /* end confdefs.h. */
37499
37500 #include <fnmatch.h>
37501 $ac_includes_default
37502
37503 int
37504 main ()
37505 {
37506
37507 #ifndef $wx_func
37508 &$wx_func;
37509 #endif
37510
37511
37512 ;
37513 return 0;
37514 }
37515
37516 _ACEOF
37517 rm -f conftest.$ac_objext conftest$ac_exeext
37518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37519 (eval $ac_link) 2>conftest.er1
37520 ac_status=$?
37521 grep -v '^ *+' conftest.er1 >conftest.err
37522 rm -f conftest.er1
37523 cat conftest.err >&5
37524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525 (exit $ac_status); } &&
37526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37528 (eval $ac_try) 2>&5
37529 ac_status=$?
37530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37531 (exit $ac_status); }; } &&
37532 { ac_try='test -s conftest$ac_exeext'
37533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37534 (eval $ac_try) 2>&5
37535 ac_status=$?
37536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37537 (exit $ac_status); }; }; then
37538 eval wx_cv_func_$wx_func=yes
37539 else
37540 echo "$as_me: failed program was:" >&5
37541 sed 's/^/| /' conftest.$ac_ext >&5
37542
37543 eval wx_cv_func_$wx_func=no
37544 fi
37545 rm -f conftest.err conftest.$ac_objext \
37546 conftest$ac_exeext conftest.$ac_ext
37547
37548 fi
37549 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37550 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37551
37552 if eval test \$wx_cv_func_$wx_func = yes
37553 then
37554 cat >>confdefs.h <<_ACEOF
37555 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37556 _ACEOF
37557
37558
37559 else
37560 :
37561
37562 fi
37563 done
37564
37565 fi
37566
37567 if test "$wxUSE_FILE" = "yes"; then
37568
37569 for wx_func in fsync
37570 do
37571 echo "$as_me:$LINENO: checking for $wx_func" >&5
37572 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37573 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37574 echo $ECHO_N "(cached) $ECHO_C" >&6
37575 else
37576
37577 cat >conftest.$ac_ext <<_ACEOF
37578
37579 /* confdefs.h. */
37580 _ACEOF
37581 cat confdefs.h >>conftest.$ac_ext
37582 cat >>conftest.$ac_ext <<_ACEOF
37583 /* end confdefs.h. */
37584
37585
37586 $ac_includes_default
37587
37588 int
37589 main ()
37590 {
37591
37592 #ifndef $wx_func
37593 &$wx_func;
37594 #endif
37595
37596
37597 ;
37598 return 0;
37599 }
37600
37601 _ACEOF
37602 rm -f conftest.$ac_objext conftest$ac_exeext
37603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37604 (eval $ac_link) 2>conftest.er1
37605 ac_status=$?
37606 grep -v '^ *+' conftest.er1 >conftest.err
37607 rm -f conftest.er1
37608 cat conftest.err >&5
37609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37610 (exit $ac_status); } &&
37611 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37613 (eval $ac_try) 2>&5
37614 ac_status=$?
37615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37616 (exit $ac_status); }; } &&
37617 { ac_try='test -s conftest$ac_exeext'
37618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37619 (eval $ac_try) 2>&5
37620 ac_status=$?
37621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37622 (exit $ac_status); }; }; then
37623 eval wx_cv_func_$wx_func=yes
37624 else
37625 echo "$as_me: failed program was:" >&5
37626 sed 's/^/| /' conftest.$ac_ext >&5
37627
37628 eval wx_cv_func_$wx_func=no
37629 fi
37630 rm -f conftest.err conftest.$ac_objext \
37631 conftest$ac_exeext conftest.$ac_ext
37632
37633 fi
37634 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37635 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37636
37637 if eval test \$wx_cv_func_$wx_func = yes
37638 then
37639 cat >>confdefs.h <<_ACEOF
37640 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37641 _ACEOF
37642
37643
37644 else
37645 :
37646
37647 fi
37648 done
37649
37650 fi
37651
37652 ac_ext=cc
37653 ac_cpp='$CXXCPP $CPPFLAGS'
37654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37657
37658
37659 for wx_func in round
37660 do
37661 echo "$as_me:$LINENO: checking for $wx_func" >&5
37662 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37663 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37664 echo $ECHO_N "(cached) $ECHO_C" >&6
37665 else
37666
37667 cat >conftest.$ac_ext <<_ACEOF
37668
37669 /* confdefs.h. */
37670 _ACEOF
37671 cat confdefs.h >>conftest.$ac_ext
37672 cat >>conftest.$ac_ext <<_ACEOF
37673 /* end confdefs.h. */
37674
37675 #include <math.h>
37676 $ac_includes_default
37677
37678 int
37679 main ()
37680 {
37681
37682 #ifndef $wx_func
37683 &$wx_func;
37684 #endif
37685
37686
37687 ;
37688 return 0;
37689 }
37690
37691 _ACEOF
37692 rm -f conftest.$ac_objext conftest$ac_exeext
37693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37694 (eval $ac_link) 2>conftest.er1
37695 ac_status=$?
37696 grep -v '^ *+' conftest.er1 >conftest.err
37697 rm -f conftest.er1
37698 cat conftest.err >&5
37699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37700 (exit $ac_status); } &&
37701 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37703 (eval $ac_try) 2>&5
37704 ac_status=$?
37705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37706 (exit $ac_status); }; } &&
37707 { ac_try='test -s conftest$ac_exeext'
37708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37709 (eval $ac_try) 2>&5
37710 ac_status=$?
37711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37712 (exit $ac_status); }; }; then
37713 eval wx_cv_func_$wx_func=yes
37714 else
37715 echo "$as_me: failed program was:" >&5
37716 sed 's/^/| /' conftest.$ac_ext >&5
37717
37718 eval wx_cv_func_$wx_func=no
37719 fi
37720 rm -f conftest.err conftest.$ac_objext \
37721 conftest$ac_exeext conftest.$ac_ext
37722
37723 fi
37724 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37725 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37726
37727 if eval test \$wx_cv_func_$wx_func = yes
37728 then
37729 cat >>confdefs.h <<_ACEOF
37730 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37731 _ACEOF
37732
37733
37734 else
37735 :
37736
37737 fi
37738 done
37739
37740 ac_ext=c
37741 ac_cpp='$CPP $CPPFLAGS'
37742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37745
37746
37747 if test "$TOOLKIT" != "MSW"; then
37748
37749
37750
37751
37752
37753 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
37754 if test "${with_libiconv_prefix+set}" = set; then
37755 withval="$with_libiconv_prefix"
37756
37757 for dir in `echo "$withval" | tr : ' '`; do
37758 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37759 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37760 done
37761
37762 fi;
37763
37764 echo "$as_me:$LINENO: checking for iconv" >&5
37765 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
37766 if test "${am_cv_func_iconv+set}" = set; then
37767 echo $ECHO_N "(cached) $ECHO_C" >&6
37768 else
37769
37770 am_cv_func_iconv="no, consider installing GNU libiconv"
37771 am_cv_lib_iconv=no
37772 cat >conftest.$ac_ext <<_ACEOF
37773 /* confdefs.h. */
37774 _ACEOF
37775 cat confdefs.h >>conftest.$ac_ext
37776 cat >>conftest.$ac_ext <<_ACEOF
37777 /* end confdefs.h. */
37778 #include <stdlib.h>
37779 #include <iconv.h>
37780 int
37781 main ()
37782 {
37783 iconv_t cd = iconv_open("","");
37784 iconv(cd,NULL,NULL,NULL,NULL);
37785 iconv_close(cd);
37786 ;
37787 return 0;
37788 }
37789 _ACEOF
37790 rm -f conftest.$ac_objext conftest$ac_exeext
37791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37792 (eval $ac_link) 2>conftest.er1
37793 ac_status=$?
37794 grep -v '^ *+' conftest.er1 >conftest.err
37795 rm -f conftest.er1
37796 cat conftest.err >&5
37797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37798 (exit $ac_status); } &&
37799 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37801 (eval $ac_try) 2>&5
37802 ac_status=$?
37803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37804 (exit $ac_status); }; } &&
37805 { ac_try='test -s conftest$ac_exeext'
37806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37807 (eval $ac_try) 2>&5
37808 ac_status=$?
37809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37810 (exit $ac_status); }; }; then
37811 am_cv_func_iconv=yes
37812 else
37813 echo "$as_me: failed program was:" >&5
37814 sed 's/^/| /' conftest.$ac_ext >&5
37815
37816 fi
37817 rm -f conftest.err conftest.$ac_objext \
37818 conftest$ac_exeext conftest.$ac_ext
37819 if test "$am_cv_func_iconv" != yes; then
37820 am_save_LIBS="$LIBS"
37821 LIBS="$LIBS -liconv"
37822 cat >conftest.$ac_ext <<_ACEOF
37823 /* confdefs.h. */
37824 _ACEOF
37825 cat confdefs.h >>conftest.$ac_ext
37826 cat >>conftest.$ac_ext <<_ACEOF
37827 /* end confdefs.h. */
37828 #include <stdlib.h>
37829 #include <iconv.h>
37830 int
37831 main ()
37832 {
37833 iconv_t cd = iconv_open("","");
37834 iconv(cd,NULL,NULL,NULL,NULL);
37835 iconv_close(cd);
37836 ;
37837 return 0;
37838 }
37839 _ACEOF
37840 rm -f conftest.$ac_objext conftest$ac_exeext
37841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37842 (eval $ac_link) 2>conftest.er1
37843 ac_status=$?
37844 grep -v '^ *+' conftest.er1 >conftest.err
37845 rm -f conftest.er1
37846 cat conftest.err >&5
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); } &&
37849 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37851 (eval $ac_try) 2>&5
37852 ac_status=$?
37853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37854 (exit $ac_status); }; } &&
37855 { ac_try='test -s conftest$ac_exeext'
37856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37857 (eval $ac_try) 2>&5
37858 ac_status=$?
37859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37860 (exit $ac_status); }; }; then
37861 am_cv_lib_iconv=yes
37862 am_cv_func_iconv=yes
37863 else
37864 echo "$as_me: failed program was:" >&5
37865 sed 's/^/| /' conftest.$ac_ext >&5
37866
37867 fi
37868 rm -f conftest.err conftest.$ac_objext \
37869 conftest$ac_exeext conftest.$ac_ext
37870 LIBS="$am_save_LIBS"
37871 fi
37872
37873 fi
37874 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37875 echo "${ECHO_T}$am_cv_func_iconv" >&6
37876 if test "$am_cv_func_iconv" = yes; then
37877
37878 cat >>confdefs.h <<\_ACEOF
37879 #define HAVE_ICONV 1
37880 _ACEOF
37881
37882 echo "$as_me:$LINENO: checking if iconv needs const" >&5
37883 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
37884 if test "${wx_cv_func_iconv_const+set}" = set; then
37885 echo $ECHO_N "(cached) $ECHO_C" >&6
37886 else
37887 cat >conftest.$ac_ext <<_ACEOF
37888 /* confdefs.h. */
37889 _ACEOF
37890 cat confdefs.h >>conftest.$ac_ext
37891 cat >>conftest.$ac_ext <<_ACEOF
37892 /* end confdefs.h. */
37893
37894 #include <stdlib.h>
37895 #include <iconv.h>
37896 extern
37897 #ifdef __cplusplus
37898 "C"
37899 #endif
37900 #if defined(__STDC__) || defined(__cplusplus)
37901 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
37902 #else
37903 size_t iconv();
37904 #endif
37905
37906 int
37907 main ()
37908 {
37909
37910 ;
37911 return 0;
37912 }
37913 _ACEOF
37914 rm -f conftest.$ac_objext
37915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37916 (eval $ac_compile) 2>conftest.er1
37917 ac_status=$?
37918 grep -v '^ *+' conftest.er1 >conftest.err
37919 rm -f conftest.er1
37920 cat conftest.err >&5
37921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37922 (exit $ac_status); } &&
37923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
37924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37925 (eval $ac_try) 2>&5
37926 ac_status=$?
37927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37928 (exit $ac_status); }; } &&
37929 { ac_try='test -s conftest.$ac_objext'
37930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37931 (eval $ac_try) 2>&5
37932 ac_status=$?
37933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37934 (exit $ac_status); }; }; then
37935 wx_cv_func_iconv_const="no"
37936 else
37937 echo "$as_me: failed program was:" >&5
37938 sed 's/^/| /' conftest.$ac_ext >&5
37939
37940 wx_cv_func_iconv_const="yes"
37941
37942 fi
37943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37944
37945 fi
37946 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37947 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
37948
37949 iconv_const=
37950 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37951 iconv_const="const"
37952 fi
37953
37954
37955 cat >>confdefs.h <<_ACEOF
37956 #define ICONV_CONST $iconv_const
37957 _ACEOF
37958
37959 fi
37960 LIBICONV=
37961 if test "$am_cv_lib_iconv" = yes; then
37962 LIBICONV="-liconv"
37963 fi
37964
37965
37966 LIBS="$LIBICONV $LIBS"
37967
37968 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37969
37970 for ac_func in sigaction
37971 do
37972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37973 echo "$as_me:$LINENO: checking for $ac_func" >&5
37974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37975 if eval "test \"\${$as_ac_var+set}\" = set"; then
37976 echo $ECHO_N "(cached) $ECHO_C" >&6
37977 else
37978 cat >conftest.$ac_ext <<_ACEOF
37979 /* confdefs.h. */
37980 _ACEOF
37981 cat confdefs.h >>conftest.$ac_ext
37982 cat >>conftest.$ac_ext <<_ACEOF
37983 /* end confdefs.h. */
37984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37986 #define $ac_func innocuous_$ac_func
37987
37988 /* System header to define __stub macros and hopefully few prototypes,
37989 which can conflict with char $ac_func (); below.
37990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37991 <limits.h> exists even on freestanding compilers. */
37992
37993 #ifdef __STDC__
37994 # include <limits.h>
37995 #else
37996 # include <assert.h>
37997 #endif
37998
37999 #undef $ac_func
38000
38001 /* Override any gcc2 internal prototype to avoid an error. */
38002 #ifdef __cplusplus
38003 extern "C"
38004 {
38005 #endif
38006 /* We use char because int might match the return type of a gcc2
38007 builtin and then its argument prototype would still apply. */
38008 char $ac_func ();
38009 /* The GNU C library defines this for functions which it implements
38010 to always fail with ENOSYS. Some functions are actually named
38011 something starting with __ and the normal name is an alias. */
38012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38013 choke me
38014 #else
38015 char (*f) () = $ac_func;
38016 #endif
38017 #ifdef __cplusplus
38018 }
38019 #endif
38020
38021 int
38022 main ()
38023 {
38024 return f != $ac_func;
38025 ;
38026 return 0;
38027 }
38028 _ACEOF
38029 rm -f conftest.$ac_objext conftest$ac_exeext
38030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38031 (eval $ac_link) 2>conftest.er1
38032 ac_status=$?
38033 grep -v '^ *+' conftest.er1 >conftest.err
38034 rm -f conftest.er1
38035 cat conftest.err >&5
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); } &&
38038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38040 (eval $ac_try) 2>&5
38041 ac_status=$?
38042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38043 (exit $ac_status); }; } &&
38044 { ac_try='test -s conftest$ac_exeext'
38045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38046 (eval $ac_try) 2>&5
38047 ac_status=$?
38048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38049 (exit $ac_status); }; }; then
38050 eval "$as_ac_var=yes"
38051 else
38052 echo "$as_me: failed program was:" >&5
38053 sed 's/^/| /' conftest.$ac_ext >&5
38054
38055 eval "$as_ac_var=no"
38056 fi
38057 rm -f conftest.err conftest.$ac_objext \
38058 conftest$ac_exeext conftest.$ac_ext
38059 fi
38060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38062 if test `eval echo '${'$as_ac_var'}'` = yes; then
38063 cat >>confdefs.h <<_ACEOF
38064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38065 _ACEOF
38066
38067 fi
38068 done
38069
38070
38071 if test "$ac_cv_func_sigaction" = "no"; then
38072 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38073 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38074 wxUSE_ON_FATAL_EXCEPTION=no
38075 fi
38076
38077 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38078 echo "$as_me:$LINENO: checking for sa_handler type" >&5
38079 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
38080 if test "${wx_cv_type_sa_handler+set}" = set; then
38081 echo $ECHO_N "(cached) $ECHO_C" >&6
38082 else
38083
38084 ac_ext=cc
38085 ac_cpp='$CXXCPP $CPPFLAGS'
38086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38089
38090 cat >conftest.$ac_ext <<_ACEOF
38091 /* confdefs.h. */
38092 _ACEOF
38093 cat confdefs.h >>conftest.$ac_ext
38094 cat >>conftest.$ac_ext <<_ACEOF
38095 /* end confdefs.h. */
38096 #include <signal.h>
38097 int
38098 main ()
38099 {
38100
38101 extern void testSigHandler(int);
38102
38103 struct sigaction sa;
38104 sa.sa_handler = testSigHandler;
38105
38106 ;
38107 return 0;
38108 }
38109 _ACEOF
38110 rm -f conftest.$ac_objext
38111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38112 (eval $ac_compile) 2>conftest.er1
38113 ac_status=$?
38114 grep -v '^ *+' conftest.er1 >conftest.err
38115 rm -f conftest.er1
38116 cat conftest.err >&5
38117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38118 (exit $ac_status); } &&
38119 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38121 (eval $ac_try) 2>&5
38122 ac_status=$?
38123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38124 (exit $ac_status); }; } &&
38125 { ac_try='test -s conftest.$ac_objext'
38126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38127 (eval $ac_try) 2>&5
38128 ac_status=$?
38129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38130 (exit $ac_status); }; }; then
38131
38132 wx_cv_type_sa_handler=int
38133
38134 else
38135 echo "$as_me: failed program was:" >&5
38136 sed 's/^/| /' conftest.$ac_ext >&5
38137
38138
38139 wx_cv_type_sa_handler=void
38140
38141 fi
38142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38143 ac_ext=c
38144 ac_cpp='$CPP $CPPFLAGS'
38145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38148
38149
38150 fi
38151 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38152 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
38153
38154 cat >>confdefs.h <<_ACEOF
38155 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38156 _ACEOF
38157
38158 fi
38159 fi
38160
38161 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38162 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38163 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
38164 if test "${wx_cv_func_backtrace+set}" = set; then
38165 echo $ECHO_N "(cached) $ECHO_C" >&6
38166 else
38167
38168 ac_ext=cc
38169 ac_cpp='$CXXCPP $CPPFLAGS'
38170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38173
38174 cat >conftest.$ac_ext <<_ACEOF
38175 /* confdefs.h. */
38176 _ACEOF
38177 cat confdefs.h >>conftest.$ac_ext
38178 cat >>conftest.$ac_ext <<_ACEOF
38179 /* end confdefs.h. */
38180 #include <execinfo.h>
38181 int
38182 main ()
38183 {
38184
38185 void *trace[1];
38186 char **messages;
38187
38188 backtrace(trace, 1);
38189 messages = backtrace_symbols(trace, 1);
38190
38191 ;
38192 return 0;
38193 }
38194 _ACEOF
38195 rm -f conftest.$ac_objext
38196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38197 (eval $ac_compile) 2>conftest.er1
38198 ac_status=$?
38199 grep -v '^ *+' conftest.er1 >conftest.err
38200 rm -f conftest.er1
38201 cat conftest.err >&5
38202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38203 (exit $ac_status); } &&
38204 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38206 (eval $ac_try) 2>&5
38207 ac_status=$?
38208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38209 (exit $ac_status); }; } &&
38210 { ac_try='test -s conftest.$ac_objext'
38211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38212 (eval $ac_try) 2>&5
38213 ac_status=$?
38214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38215 (exit $ac_status); }; }; then
38216 wx_cv_func_backtrace=yes
38217 else
38218 echo "$as_me: failed program was:" >&5
38219 sed 's/^/| /' conftest.$ac_ext >&5
38220
38221 wx_cv_func_backtrace=no
38222
38223 fi
38224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38225 ac_ext=c
38226 ac_cpp='$CPP $CPPFLAGS'
38227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38230
38231
38232
38233 fi
38234 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38235 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
38236
38237
38238 if test "$wx_cv_func_backtrace" = "no"; then
38239 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38240 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38241 wxUSE_STACKWALKER=no
38242 else
38243 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38244 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
38245 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38246 echo $ECHO_N "(cached) $ECHO_C" >&6
38247 else
38248
38249 ac_ext=cc
38250 ac_cpp='$CXXCPP $CPPFLAGS'
38251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38254
38255 cat >conftest.$ac_ext <<_ACEOF
38256 /* confdefs.h. */
38257 _ACEOF
38258 cat confdefs.h >>conftest.$ac_ext
38259 cat >>conftest.$ac_ext <<_ACEOF
38260 /* end confdefs.h. */
38261 #include <cxxabi.h>
38262 int
38263 main ()
38264 {
38265
38266 int rc;
38267 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38268
38269 ;
38270 return 0;
38271 }
38272 _ACEOF
38273 rm -f conftest.$ac_objext conftest$ac_exeext
38274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38275 (eval $ac_link) 2>conftest.er1
38276 ac_status=$?
38277 grep -v '^ *+' conftest.er1 >conftest.err
38278 rm -f conftest.er1
38279 cat conftest.err >&5
38280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38281 (exit $ac_status); } &&
38282 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38284 (eval $ac_try) 2>&5
38285 ac_status=$?
38286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38287 (exit $ac_status); }; } &&
38288 { ac_try='test -s conftest$ac_exeext'
38289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38290 (eval $ac_try) 2>&5
38291 ac_status=$?
38292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38293 (exit $ac_status); }; }; then
38294 wx_cv_func_cxa_demangle=yes
38295 else
38296 echo "$as_me: failed program was:" >&5
38297 sed 's/^/| /' conftest.$ac_ext >&5
38298
38299 wx_cv_func_cxa_demangle=no
38300
38301 fi
38302 rm -f conftest.err conftest.$ac_objext \
38303 conftest$ac_exeext conftest.$ac_ext
38304 ac_ext=c
38305 ac_cpp='$CPP $CPPFLAGS'
38306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38309
38310
38311
38312 fi
38313 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38314 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
38315
38316 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38317 cat >>confdefs.h <<\_ACEOF
38318 #define HAVE_CXA_DEMANGLE 1
38319 _ACEOF
38320
38321 fi
38322 fi
38323 fi
38324
38325 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
38326 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38327 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38328 wxUSE_STACKWALKER=no
38329 fi
38330
38331
38332
38333
38334 for ac_func in mkstemp mktemp
38335 do
38336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38337 echo "$as_me:$LINENO: checking for $ac_func" >&5
38338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38339 if eval "test \"\${$as_ac_var+set}\" = set"; then
38340 echo $ECHO_N "(cached) $ECHO_C" >&6
38341 else
38342 cat >conftest.$ac_ext <<_ACEOF
38343 /* confdefs.h. */
38344 _ACEOF
38345 cat confdefs.h >>conftest.$ac_ext
38346 cat >>conftest.$ac_ext <<_ACEOF
38347 /* end confdefs.h. */
38348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38350 #define $ac_func innocuous_$ac_func
38351
38352 /* System header to define __stub macros and hopefully few prototypes,
38353 which can conflict with char $ac_func (); below.
38354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38355 <limits.h> exists even on freestanding compilers. */
38356
38357 #ifdef __STDC__
38358 # include <limits.h>
38359 #else
38360 # include <assert.h>
38361 #endif
38362
38363 #undef $ac_func
38364
38365 /* Override any gcc2 internal prototype to avoid an error. */
38366 #ifdef __cplusplus
38367 extern "C"
38368 {
38369 #endif
38370 /* We use char because int might match the return type of a gcc2
38371 builtin and then its argument prototype would still apply. */
38372 char $ac_func ();
38373 /* The GNU C library defines this for functions which it implements
38374 to always fail with ENOSYS. Some functions are actually named
38375 something starting with __ and the normal name is an alias. */
38376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38377 choke me
38378 #else
38379 char (*f) () = $ac_func;
38380 #endif
38381 #ifdef __cplusplus
38382 }
38383 #endif
38384
38385 int
38386 main ()
38387 {
38388 return f != $ac_func;
38389 ;
38390 return 0;
38391 }
38392 _ACEOF
38393 rm -f conftest.$ac_objext conftest$ac_exeext
38394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38395 (eval $ac_link) 2>conftest.er1
38396 ac_status=$?
38397 grep -v '^ *+' conftest.er1 >conftest.err
38398 rm -f conftest.er1
38399 cat conftest.err >&5
38400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38401 (exit $ac_status); } &&
38402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38404 (eval $ac_try) 2>&5
38405 ac_status=$?
38406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38407 (exit $ac_status); }; } &&
38408 { ac_try='test -s conftest$ac_exeext'
38409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38410 (eval $ac_try) 2>&5
38411 ac_status=$?
38412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38413 (exit $ac_status); }; }; then
38414 eval "$as_ac_var=yes"
38415 else
38416 echo "$as_me: failed program was:" >&5
38417 sed 's/^/| /' conftest.$ac_ext >&5
38418
38419 eval "$as_ac_var=no"
38420 fi
38421 rm -f conftest.err conftest.$ac_objext \
38422 conftest$ac_exeext conftest.$ac_ext
38423 fi
38424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38426 if test `eval echo '${'$as_ac_var'}'` = yes; then
38427 cat >>confdefs.h <<_ACEOF
38428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38429 _ACEOF
38430 break
38431 fi
38432 done
38433
38434
38435 echo "$as_me:$LINENO: checking for statfs" >&5
38436 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
38437 if test "${wx_cv_func_statfs+set}" = set; then
38438 echo $ECHO_N "(cached) $ECHO_C" >&6
38439 else
38440 cat >conftest.$ac_ext <<_ACEOF
38441 /* confdefs.h. */
38442 _ACEOF
38443 cat confdefs.h >>conftest.$ac_ext
38444 cat >>conftest.$ac_ext <<_ACEOF
38445 /* end confdefs.h. */
38446
38447 #if defined(__BSD__)
38448 #include <sys/param.h>
38449 #include <sys/mount.h>
38450 #else
38451 #include <sys/vfs.h>
38452 #endif
38453
38454 int
38455 main ()
38456 {
38457
38458 long l;
38459 struct statfs fs;
38460 statfs("/", &fs);
38461 l = fs.f_bsize;
38462 l += fs.f_blocks;
38463 l += fs.f_bavail;
38464
38465 ;
38466 return 0;
38467 }
38468 _ACEOF
38469 rm -f conftest.$ac_objext
38470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38471 (eval $ac_compile) 2>conftest.er1
38472 ac_status=$?
38473 grep -v '^ *+' conftest.er1 >conftest.err
38474 rm -f conftest.er1
38475 cat conftest.err >&5
38476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38477 (exit $ac_status); } &&
38478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38480 (eval $ac_try) 2>&5
38481 ac_status=$?
38482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38483 (exit $ac_status); }; } &&
38484 { ac_try='test -s conftest.$ac_objext'
38485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38486 (eval $ac_try) 2>&5
38487 ac_status=$?
38488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38489 (exit $ac_status); }; }; then
38490 wx_cv_func_statfs=yes
38491 else
38492 echo "$as_me: failed program was:" >&5
38493 sed 's/^/| /' conftest.$ac_ext >&5
38494
38495 wx_cv_func_statfs=no
38496
38497 fi
38498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38499
38500 fi
38501 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38502 echo "${ECHO_T}$wx_cv_func_statfs" >&6
38503
38504 if test "$wx_cv_func_statfs" = "yes"; then
38505 echo "$as_me:$LINENO: checking for statfs declaration" >&5
38506 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
38507 if test "${wx_cv_func_statfs_decl+set}" = set; then
38508 echo $ECHO_N "(cached) $ECHO_C" >&6
38509 else
38510 ac_ext=cc
38511 ac_cpp='$CXXCPP $CPPFLAGS'
38512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38515
38516 cat >conftest.$ac_ext <<_ACEOF
38517 /* confdefs.h. */
38518 _ACEOF
38519 cat confdefs.h >>conftest.$ac_ext
38520 cat >>conftest.$ac_ext <<_ACEOF
38521 /* end confdefs.h. */
38522
38523 #if defined(__BSD__)
38524 #include <sys/param.h>
38525 #include <sys/mount.h>
38526 #else
38527 #include <sys/vfs.h>
38528 #endif
38529
38530 int
38531 main ()
38532 {
38533
38534 struct statfs fs;
38535 statfs("", &fs);
38536
38537 ;
38538 return 0;
38539 }
38540 _ACEOF
38541 rm -f conftest.$ac_objext
38542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38543 (eval $ac_compile) 2>conftest.er1
38544 ac_status=$?
38545 grep -v '^ *+' conftest.er1 >conftest.err
38546 rm -f conftest.er1
38547 cat conftest.err >&5
38548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38549 (exit $ac_status); } &&
38550 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38552 (eval $ac_try) 2>&5
38553 ac_status=$?
38554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38555 (exit $ac_status); }; } &&
38556 { ac_try='test -s conftest.$ac_objext'
38557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38558 (eval $ac_try) 2>&5
38559 ac_status=$?
38560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38561 (exit $ac_status); }; }; then
38562 wx_cv_func_statfs_decl=yes
38563 else
38564 echo "$as_me: failed program was:" >&5
38565 sed 's/^/| /' conftest.$ac_ext >&5
38566
38567 wx_cv_func_statfs_decl=no
38568
38569 fi
38570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38571 ac_ext=c
38572 ac_cpp='$CPP $CPPFLAGS'
38573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38576
38577
38578 fi
38579 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38580 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
38581
38582 if test "$wx_cv_func_statfs_decl" = "yes"; then
38583 cat >>confdefs.h <<\_ACEOF
38584 #define HAVE_STATFS_DECL 1
38585 _ACEOF
38586
38587 fi
38588
38589 wx_cv_type_statvfs_t="struct statfs"
38590 cat >>confdefs.h <<\_ACEOF
38591 #define HAVE_STATFS 1
38592 _ACEOF
38593
38594 else
38595 echo "$as_me:$LINENO: checking for statvfs" >&5
38596 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
38597 if test "${wx_cv_func_statvfs+set}" = set; then
38598 echo $ECHO_N "(cached) $ECHO_C" >&6
38599 else
38600 cat >conftest.$ac_ext <<_ACEOF
38601 /* confdefs.h. */
38602 _ACEOF
38603 cat confdefs.h >>conftest.$ac_ext
38604 cat >>conftest.$ac_ext <<_ACEOF
38605 /* end confdefs.h. */
38606
38607 #include <stddef.h>
38608 #include <sys/statvfs.h>
38609
38610 int
38611 main ()
38612 {
38613
38614 statvfs("/", NULL);
38615
38616 ;
38617 return 0;
38618 }
38619 _ACEOF
38620 rm -f conftest.$ac_objext
38621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38622 (eval $ac_compile) 2>conftest.er1
38623 ac_status=$?
38624 grep -v '^ *+' conftest.er1 >conftest.err
38625 rm -f conftest.er1
38626 cat conftest.err >&5
38627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38628 (exit $ac_status); } &&
38629 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38631 (eval $ac_try) 2>&5
38632 ac_status=$?
38633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38634 (exit $ac_status); }; } &&
38635 { ac_try='test -s conftest.$ac_objext'
38636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38637 (eval $ac_try) 2>&5
38638 ac_status=$?
38639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38640 (exit $ac_status); }; }; then
38641 wx_cv_func_statvfs=yes
38642 else
38643 echo "$as_me: failed program was:" >&5
38644 sed 's/^/| /' conftest.$ac_ext >&5
38645
38646 wx_cv_func_statvfs=no
38647
38648 fi
38649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38650
38651 fi
38652 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38653 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
38654
38655 if test "$wx_cv_func_statvfs" = "yes"; then
38656 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38657 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
38658 if test "${wx_cv_type_statvfs_t+set}" = set; then
38659 echo $ECHO_N "(cached) $ECHO_C" >&6
38660 else
38661 ac_ext=cc
38662 ac_cpp='$CXXCPP $CPPFLAGS'
38663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38666
38667 cat >conftest.$ac_ext <<_ACEOF
38668 /* confdefs.h. */
38669 _ACEOF
38670 cat confdefs.h >>conftest.$ac_ext
38671 cat >>conftest.$ac_ext <<_ACEOF
38672 /* end confdefs.h. */
38673
38674 #include <sys/statvfs.h>
38675
38676 int
38677 main ()
38678 {
38679
38680 long l;
38681 statvfs_t fs;
38682 statvfs("/", &fs);
38683 l = fs.f_bsize;
38684 l += fs.f_blocks;
38685 l += fs.f_bavail;
38686
38687 ;
38688 return 0;
38689 }
38690 _ACEOF
38691 rm -f conftest.$ac_objext
38692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38693 (eval $ac_compile) 2>conftest.er1
38694 ac_status=$?
38695 grep -v '^ *+' conftest.er1 >conftest.err
38696 rm -f conftest.er1
38697 cat conftest.err >&5
38698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38699 (exit $ac_status); } &&
38700 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38702 (eval $ac_try) 2>&5
38703 ac_status=$?
38704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38705 (exit $ac_status); }; } &&
38706 { ac_try='test -s conftest.$ac_objext'
38707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38708 (eval $ac_try) 2>&5
38709 ac_status=$?
38710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38711 (exit $ac_status); }; }; then
38712 wx_cv_type_statvfs_t=statvfs_t
38713 else
38714 echo "$as_me: failed program was:" >&5
38715 sed 's/^/| /' conftest.$ac_ext >&5
38716
38717
38718 cat >conftest.$ac_ext <<_ACEOF
38719 /* confdefs.h. */
38720 _ACEOF
38721 cat confdefs.h >>conftest.$ac_ext
38722 cat >>conftest.$ac_ext <<_ACEOF
38723 /* end confdefs.h. */
38724
38725 #include <sys/statvfs.h>
38726
38727 int
38728 main ()
38729 {
38730
38731 long l;
38732 struct statvfs fs;
38733 statvfs("/", &fs);
38734 l = fs.f_bsize;
38735 l += fs.f_blocks;
38736 l += fs.f_bavail;
38737
38738 ;
38739 return 0;
38740 }
38741 _ACEOF
38742 rm -f conftest.$ac_objext
38743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38744 (eval $ac_compile) 2>conftest.er1
38745 ac_status=$?
38746 grep -v '^ *+' conftest.er1 >conftest.err
38747 rm -f conftest.er1
38748 cat conftest.err >&5
38749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38750 (exit $ac_status); } &&
38751 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38753 (eval $ac_try) 2>&5
38754 ac_status=$?
38755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38756 (exit $ac_status); }; } &&
38757 { ac_try='test -s conftest.$ac_objext'
38758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38759 (eval $ac_try) 2>&5
38760 ac_status=$?
38761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38762 (exit $ac_status); }; }; then
38763 wx_cv_type_statvfs_t="struct statvfs"
38764 else
38765 echo "$as_me: failed program was:" >&5
38766 sed 's/^/| /' conftest.$ac_ext >&5
38767
38768 wx_cv_type_statvfs_t="unknown"
38769
38770 fi
38771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38772
38773
38774 fi
38775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38776 ac_ext=c
38777 ac_cpp='$CPP $CPPFLAGS'
38778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38781
38782
38783 fi
38784 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38785 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
38786
38787 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38788 cat >>confdefs.h <<\_ACEOF
38789 #define HAVE_STATVFS 1
38790 _ACEOF
38791
38792 fi
38793 else
38794 wx_cv_type_statvfs_t="unknown"
38795 fi
38796 fi
38797
38798 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38799 cat >>confdefs.h <<_ACEOF
38800 #define WX_STATFS_T $wx_cv_type_statvfs_t
38801 _ACEOF
38802
38803 else
38804 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38805 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38806 fi
38807
38808 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38809
38810
38811 for ac_func in fcntl flock
38812 do
38813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38814 echo "$as_me:$LINENO: checking for $ac_func" >&5
38815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38816 if eval "test \"\${$as_ac_var+set}\" = set"; then
38817 echo $ECHO_N "(cached) $ECHO_C" >&6
38818 else
38819 cat >conftest.$ac_ext <<_ACEOF
38820 /* confdefs.h. */
38821 _ACEOF
38822 cat confdefs.h >>conftest.$ac_ext
38823 cat >>conftest.$ac_ext <<_ACEOF
38824 /* end confdefs.h. */
38825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38827 #define $ac_func innocuous_$ac_func
38828
38829 /* System header to define __stub macros and hopefully few prototypes,
38830 which can conflict with char $ac_func (); below.
38831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38832 <limits.h> exists even on freestanding compilers. */
38833
38834 #ifdef __STDC__
38835 # include <limits.h>
38836 #else
38837 # include <assert.h>
38838 #endif
38839
38840 #undef $ac_func
38841
38842 /* Override any gcc2 internal prototype to avoid an error. */
38843 #ifdef __cplusplus
38844 extern "C"
38845 {
38846 #endif
38847 /* We use char because int might match the return type of a gcc2
38848 builtin and then its argument prototype would still apply. */
38849 char $ac_func ();
38850 /* The GNU C library defines this for functions which it implements
38851 to always fail with ENOSYS. Some functions are actually named
38852 something starting with __ and the normal name is an alias. */
38853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38854 choke me
38855 #else
38856 char (*f) () = $ac_func;
38857 #endif
38858 #ifdef __cplusplus
38859 }
38860 #endif
38861
38862 int
38863 main ()
38864 {
38865 return f != $ac_func;
38866 ;
38867 return 0;
38868 }
38869 _ACEOF
38870 rm -f conftest.$ac_objext conftest$ac_exeext
38871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38872 (eval $ac_link) 2>conftest.er1
38873 ac_status=$?
38874 grep -v '^ *+' conftest.er1 >conftest.err
38875 rm -f conftest.er1
38876 cat conftest.err >&5
38877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38878 (exit $ac_status); } &&
38879 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38881 (eval $ac_try) 2>&5
38882 ac_status=$?
38883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38884 (exit $ac_status); }; } &&
38885 { ac_try='test -s conftest$ac_exeext'
38886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38887 (eval $ac_try) 2>&5
38888 ac_status=$?
38889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38890 (exit $ac_status); }; }; then
38891 eval "$as_ac_var=yes"
38892 else
38893 echo "$as_me: failed program was:" >&5
38894 sed 's/^/| /' conftest.$ac_ext >&5
38895
38896 eval "$as_ac_var=no"
38897 fi
38898 rm -f conftest.err conftest.$ac_objext \
38899 conftest$ac_exeext conftest.$ac_ext
38900 fi
38901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38903 if test `eval echo '${'$as_ac_var'}'` = yes; then
38904 cat >>confdefs.h <<_ACEOF
38905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38906 _ACEOF
38907 break
38908 fi
38909 done
38910
38911
38912 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38913 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38914 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38915 wxUSE_SNGLINST_CHECKER=no
38916 fi
38917 fi
38918
38919
38920 for ac_func in timegm
38921 do
38922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38923 echo "$as_me:$LINENO: checking for $ac_func" >&5
38924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38925 if eval "test \"\${$as_ac_var+set}\" = set"; then
38926 echo $ECHO_N "(cached) $ECHO_C" >&6
38927 else
38928 cat >conftest.$ac_ext <<_ACEOF
38929 /* confdefs.h. */
38930 _ACEOF
38931 cat confdefs.h >>conftest.$ac_ext
38932 cat >>conftest.$ac_ext <<_ACEOF
38933 /* end confdefs.h. */
38934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38936 #define $ac_func innocuous_$ac_func
38937
38938 /* System header to define __stub macros and hopefully few prototypes,
38939 which can conflict with char $ac_func (); below.
38940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38941 <limits.h> exists even on freestanding compilers. */
38942
38943 #ifdef __STDC__
38944 # include <limits.h>
38945 #else
38946 # include <assert.h>
38947 #endif
38948
38949 #undef $ac_func
38950
38951 /* Override any gcc2 internal prototype to avoid an error. */
38952 #ifdef __cplusplus
38953 extern "C"
38954 {
38955 #endif
38956 /* We use char because int might match the return type of a gcc2
38957 builtin and then its argument prototype would still apply. */
38958 char $ac_func ();
38959 /* The GNU C library defines this for functions which it implements
38960 to always fail with ENOSYS. Some functions are actually named
38961 something starting with __ and the normal name is an alias. */
38962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38963 choke me
38964 #else
38965 char (*f) () = $ac_func;
38966 #endif
38967 #ifdef __cplusplus
38968 }
38969 #endif
38970
38971 int
38972 main ()
38973 {
38974 return f != $ac_func;
38975 ;
38976 return 0;
38977 }
38978 _ACEOF
38979 rm -f conftest.$ac_objext conftest$ac_exeext
38980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38981 (eval $ac_link) 2>conftest.er1
38982 ac_status=$?
38983 grep -v '^ *+' conftest.er1 >conftest.err
38984 rm -f conftest.er1
38985 cat conftest.err >&5
38986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38987 (exit $ac_status); } &&
38988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
38989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38990 (eval $ac_try) 2>&5
38991 ac_status=$?
38992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38993 (exit $ac_status); }; } &&
38994 { ac_try='test -s conftest$ac_exeext'
38995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38996 (eval $ac_try) 2>&5
38997 ac_status=$?
38998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38999 (exit $ac_status); }; }; then
39000 eval "$as_ac_var=yes"
39001 else
39002 echo "$as_me: failed program was:" >&5
39003 sed 's/^/| /' conftest.$ac_ext >&5
39004
39005 eval "$as_ac_var=no"
39006 fi
39007 rm -f conftest.err conftest.$ac_objext \
39008 conftest$ac_exeext conftest.$ac_ext
39009 fi
39010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39012 if test `eval echo '${'$as_ac_var'}'` = yes; then
39013 cat >>confdefs.h <<_ACEOF
39014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39015 _ACEOF
39016
39017 fi
39018 done
39019
39020
39021
39022
39023 for ac_func in putenv setenv
39024 do
39025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39026 echo "$as_me:$LINENO: checking for $ac_func" >&5
39027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39028 if eval "test \"\${$as_ac_var+set}\" = set"; then
39029 echo $ECHO_N "(cached) $ECHO_C" >&6
39030 else
39031 cat >conftest.$ac_ext <<_ACEOF
39032 /* confdefs.h. */
39033 _ACEOF
39034 cat confdefs.h >>conftest.$ac_ext
39035 cat >>conftest.$ac_ext <<_ACEOF
39036 /* end confdefs.h. */
39037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39039 #define $ac_func innocuous_$ac_func
39040
39041 /* System header to define __stub macros and hopefully few prototypes,
39042 which can conflict with char $ac_func (); below.
39043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39044 <limits.h> exists even on freestanding compilers. */
39045
39046 #ifdef __STDC__
39047 # include <limits.h>
39048 #else
39049 # include <assert.h>
39050 #endif
39051
39052 #undef $ac_func
39053
39054 /* Override any gcc2 internal prototype to avoid an error. */
39055 #ifdef __cplusplus
39056 extern "C"
39057 {
39058 #endif
39059 /* We use char because int might match the return type of a gcc2
39060 builtin and then its argument prototype would still apply. */
39061 char $ac_func ();
39062 /* The GNU C library defines this for functions which it implements
39063 to always fail with ENOSYS. Some functions are actually named
39064 something starting with __ and the normal name is an alias. */
39065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39066 choke me
39067 #else
39068 char (*f) () = $ac_func;
39069 #endif
39070 #ifdef __cplusplus
39071 }
39072 #endif
39073
39074 int
39075 main ()
39076 {
39077 return f != $ac_func;
39078 ;
39079 return 0;
39080 }
39081 _ACEOF
39082 rm -f conftest.$ac_objext conftest$ac_exeext
39083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39084 (eval $ac_link) 2>conftest.er1
39085 ac_status=$?
39086 grep -v '^ *+' conftest.er1 >conftest.err
39087 rm -f conftest.er1
39088 cat conftest.err >&5
39089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39090 (exit $ac_status); } &&
39091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39093 (eval $ac_try) 2>&5
39094 ac_status=$?
39095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39096 (exit $ac_status); }; } &&
39097 { ac_try='test -s conftest$ac_exeext'
39098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39099 (eval $ac_try) 2>&5
39100 ac_status=$?
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); }; }; then
39103 eval "$as_ac_var=yes"
39104 else
39105 echo "$as_me: failed program was:" >&5
39106 sed 's/^/| /' conftest.$ac_ext >&5
39107
39108 eval "$as_ac_var=no"
39109 fi
39110 rm -f conftest.err conftest.$ac_objext \
39111 conftest$ac_exeext conftest.$ac_ext
39112 fi
39113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39115 if test `eval echo '${'$as_ac_var'}'` = yes; then
39116 cat >>confdefs.h <<_ACEOF
39117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39118 _ACEOF
39119 break
39120 fi
39121 done
39122
39123
39124 HAVE_SOME_SLEEP_FUNC=0
39125 if test "$USE_BEOS" = 1; then
39126 cat >>confdefs.h <<\_ACEOF
39127 #define HAVE_SLEEP 1
39128 _ACEOF
39129
39130 HAVE_SOME_SLEEP_FUNC=1
39131 fi
39132
39133 if test "$USE_DARWIN" = 1; then
39134 cat >>confdefs.h <<\_ACEOF
39135 #define HAVE_USLEEP 1
39136 _ACEOF
39137
39138 HAVE_SOME_SLEEP_FUNC=1
39139 fi
39140
39141 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39142 POSIX4_LINK=
39143
39144 for ac_func in nanosleep
39145 do
39146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39147 echo "$as_me:$LINENO: checking for $ac_func" >&5
39148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39149 if eval "test \"\${$as_ac_var+set}\" = set"; then
39150 echo $ECHO_N "(cached) $ECHO_C" >&6
39151 else
39152 cat >conftest.$ac_ext <<_ACEOF
39153 /* confdefs.h. */
39154 _ACEOF
39155 cat confdefs.h >>conftest.$ac_ext
39156 cat >>conftest.$ac_ext <<_ACEOF
39157 /* end confdefs.h. */
39158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39160 #define $ac_func innocuous_$ac_func
39161
39162 /* System header to define __stub macros and hopefully few prototypes,
39163 which can conflict with char $ac_func (); below.
39164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39165 <limits.h> exists even on freestanding compilers. */
39166
39167 #ifdef __STDC__
39168 # include <limits.h>
39169 #else
39170 # include <assert.h>
39171 #endif
39172
39173 #undef $ac_func
39174
39175 /* Override any gcc2 internal prototype to avoid an error. */
39176 #ifdef __cplusplus
39177 extern "C"
39178 {
39179 #endif
39180 /* We use char because int might match the return type of a gcc2
39181 builtin and then its argument prototype would still apply. */
39182 char $ac_func ();
39183 /* The GNU C library defines this for functions which it implements
39184 to always fail with ENOSYS. Some functions are actually named
39185 something starting with __ and the normal name is an alias. */
39186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39187 choke me
39188 #else
39189 char (*f) () = $ac_func;
39190 #endif
39191 #ifdef __cplusplus
39192 }
39193 #endif
39194
39195 int
39196 main ()
39197 {
39198 return f != $ac_func;
39199 ;
39200 return 0;
39201 }
39202 _ACEOF
39203 rm -f conftest.$ac_objext conftest$ac_exeext
39204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39205 (eval $ac_link) 2>conftest.er1
39206 ac_status=$?
39207 grep -v '^ *+' conftest.er1 >conftest.err
39208 rm -f conftest.er1
39209 cat conftest.err >&5
39210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39211 (exit $ac_status); } &&
39212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39214 (eval $ac_try) 2>&5
39215 ac_status=$?
39216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39217 (exit $ac_status); }; } &&
39218 { ac_try='test -s conftest$ac_exeext'
39219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39220 (eval $ac_try) 2>&5
39221 ac_status=$?
39222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39223 (exit $ac_status); }; }; then
39224 eval "$as_ac_var=yes"
39225 else
39226 echo "$as_me: failed program was:" >&5
39227 sed 's/^/| /' conftest.$ac_ext >&5
39228
39229 eval "$as_ac_var=no"
39230 fi
39231 rm -f conftest.err conftest.$ac_objext \
39232 conftest$ac_exeext conftest.$ac_ext
39233 fi
39234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39236 if test `eval echo '${'$as_ac_var'}'` = yes; then
39237 cat >>confdefs.h <<_ACEOF
39238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39239 _ACEOF
39240 cat >>confdefs.h <<\_ACEOF
39241 #define HAVE_NANOSLEEP 1
39242 _ACEOF
39243
39244 else
39245
39246 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39247 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
39248 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39249 echo $ECHO_N "(cached) $ECHO_C" >&6
39250 else
39251 ac_check_lib_save_LIBS=$LIBS
39252 LIBS="-lposix4 $LIBS"
39253 cat >conftest.$ac_ext <<_ACEOF
39254 /* confdefs.h. */
39255 _ACEOF
39256 cat confdefs.h >>conftest.$ac_ext
39257 cat >>conftest.$ac_ext <<_ACEOF
39258 /* end confdefs.h. */
39259
39260 /* Override any gcc2 internal prototype to avoid an error. */
39261 #ifdef __cplusplus
39262 extern "C"
39263 #endif
39264 /* We use char because int might match the return type of a gcc2
39265 builtin and then its argument prototype would still apply. */
39266 char nanosleep ();
39267 int
39268 main ()
39269 {
39270 nanosleep ();
39271 ;
39272 return 0;
39273 }
39274 _ACEOF
39275 rm -f conftest.$ac_objext conftest$ac_exeext
39276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39277 (eval $ac_link) 2>conftest.er1
39278 ac_status=$?
39279 grep -v '^ *+' conftest.er1 >conftest.err
39280 rm -f conftest.er1
39281 cat conftest.err >&5
39282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39283 (exit $ac_status); } &&
39284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39286 (eval $ac_try) 2>&5
39287 ac_status=$?
39288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39289 (exit $ac_status); }; } &&
39290 { ac_try='test -s conftest$ac_exeext'
39291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39292 (eval $ac_try) 2>&5
39293 ac_status=$?
39294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39295 (exit $ac_status); }; }; then
39296 ac_cv_lib_posix4_nanosleep=yes
39297 else
39298 echo "$as_me: failed program was:" >&5
39299 sed 's/^/| /' conftest.$ac_ext >&5
39300
39301 ac_cv_lib_posix4_nanosleep=no
39302 fi
39303 rm -f conftest.err conftest.$ac_objext \
39304 conftest$ac_exeext conftest.$ac_ext
39305 LIBS=$ac_check_lib_save_LIBS
39306 fi
39307 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39308 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
39309 if test $ac_cv_lib_posix4_nanosleep = yes; then
39310
39311 cat >>confdefs.h <<\_ACEOF
39312 #define HAVE_NANOSLEEP 1
39313 _ACEOF
39314
39315 POSIX4_LINK=" -lposix4"
39316
39317 else
39318
39319
39320 for wx_func in usleep
39321 do
39322 echo "$as_me:$LINENO: checking for $wx_func" >&5
39323 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39324 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39325 echo $ECHO_N "(cached) $ECHO_C" >&6
39326 else
39327
39328 cat >conftest.$ac_ext <<_ACEOF
39329
39330 /* confdefs.h. */
39331 _ACEOF
39332 cat confdefs.h >>conftest.$ac_ext
39333 cat >>conftest.$ac_ext <<_ACEOF
39334 /* end confdefs.h. */
39335
39336
39337 $ac_includes_default
39338
39339 int
39340 main ()
39341 {
39342
39343 #ifndef $wx_func
39344 &$wx_func;
39345 #endif
39346
39347
39348 ;
39349 return 0;
39350 }
39351
39352 _ACEOF
39353 rm -f conftest.$ac_objext conftest$ac_exeext
39354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39355 (eval $ac_link) 2>conftest.er1
39356 ac_status=$?
39357 grep -v '^ *+' conftest.er1 >conftest.err
39358 rm -f conftest.er1
39359 cat conftest.err >&5
39360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39361 (exit $ac_status); } &&
39362 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39364 (eval $ac_try) 2>&5
39365 ac_status=$?
39366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39367 (exit $ac_status); }; } &&
39368 { ac_try='test -s conftest$ac_exeext'
39369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39370 (eval $ac_try) 2>&5
39371 ac_status=$?
39372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39373 (exit $ac_status); }; }; then
39374 eval wx_cv_func_$wx_func=yes
39375 else
39376 echo "$as_me: failed program was:" >&5
39377 sed 's/^/| /' conftest.$ac_ext >&5
39378
39379 eval wx_cv_func_$wx_func=no
39380 fi
39381 rm -f conftest.err conftest.$ac_objext \
39382 conftest$ac_exeext conftest.$ac_ext
39383
39384 fi
39385 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39386 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39387
39388 if eval test \$wx_cv_func_$wx_func = yes
39389 then
39390 cat >>confdefs.h <<_ACEOF
39391 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39392 _ACEOF
39393
39394
39395 else
39396 :
39397 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39398 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39399
39400 fi
39401 done
39402
39403
39404
39405 fi
39406
39407
39408
39409 fi
39410 done
39411
39412 fi
39413
39414
39415 for wx_func in uname
39416 do
39417 echo "$as_me:$LINENO: checking for $wx_func" >&5
39418 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39419 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39420 echo $ECHO_N "(cached) $ECHO_C" >&6
39421 else
39422
39423 cat >conftest.$ac_ext <<_ACEOF
39424
39425 /* confdefs.h. */
39426 _ACEOF
39427 cat confdefs.h >>conftest.$ac_ext
39428 cat >>conftest.$ac_ext <<_ACEOF
39429 /* end confdefs.h. */
39430
39431 #include <sys/utsname.h>
39432 $ac_includes_default
39433
39434 int
39435 main ()
39436 {
39437
39438 #ifndef $wx_func
39439 &$wx_func;
39440 #endif
39441
39442
39443 ;
39444 return 0;
39445 }
39446
39447 _ACEOF
39448 rm -f conftest.$ac_objext conftest$ac_exeext
39449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39450 (eval $ac_link) 2>conftest.er1
39451 ac_status=$?
39452 grep -v '^ *+' conftest.er1 >conftest.err
39453 rm -f conftest.er1
39454 cat conftest.err >&5
39455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39456 (exit $ac_status); } &&
39457 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39459 (eval $ac_try) 2>&5
39460 ac_status=$?
39461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39462 (exit $ac_status); }; } &&
39463 { ac_try='test -s conftest$ac_exeext'
39464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39465 (eval $ac_try) 2>&5
39466 ac_status=$?
39467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39468 (exit $ac_status); }; }; then
39469 eval wx_cv_func_$wx_func=yes
39470 else
39471 echo "$as_me: failed program was:" >&5
39472 sed 's/^/| /' conftest.$ac_ext >&5
39473
39474 eval wx_cv_func_$wx_func=no
39475 fi
39476 rm -f conftest.err conftest.$ac_objext \
39477 conftest$ac_exeext conftest.$ac_ext
39478
39479 fi
39480 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39481 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39482
39483 if eval test \$wx_cv_func_$wx_func = yes
39484 then
39485 cat >>confdefs.h <<_ACEOF
39486 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39487 _ACEOF
39488
39489
39490 else
39491 :
39492
39493 fi
39494 done
39495
39496 if test "$wx_cv_func_uname" != yes; then
39497
39498 for wx_func in gethostname
39499 do
39500 echo "$as_me:$LINENO: checking for $wx_func" >&5
39501 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39502 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39503 echo $ECHO_N "(cached) $ECHO_C" >&6
39504 else
39505
39506 cat >conftest.$ac_ext <<_ACEOF
39507
39508 /* confdefs.h. */
39509 _ACEOF
39510 cat confdefs.h >>conftest.$ac_ext
39511 cat >>conftest.$ac_ext <<_ACEOF
39512 /* end confdefs.h. */
39513
39514
39515 $ac_includes_default
39516
39517 int
39518 main ()
39519 {
39520
39521 #ifndef $wx_func
39522 &$wx_func;
39523 #endif
39524
39525
39526 ;
39527 return 0;
39528 }
39529
39530 _ACEOF
39531 rm -f conftest.$ac_objext conftest$ac_exeext
39532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39533 (eval $ac_link) 2>conftest.er1
39534 ac_status=$?
39535 grep -v '^ *+' conftest.er1 >conftest.err
39536 rm -f conftest.er1
39537 cat conftest.err >&5
39538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39539 (exit $ac_status); } &&
39540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39542 (eval $ac_try) 2>&5
39543 ac_status=$?
39544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39545 (exit $ac_status); }; } &&
39546 { ac_try='test -s conftest$ac_exeext'
39547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39548 (eval $ac_try) 2>&5
39549 ac_status=$?
39550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39551 (exit $ac_status); }; }; then
39552 eval wx_cv_func_$wx_func=yes
39553 else
39554 echo "$as_me: failed program was:" >&5
39555 sed 's/^/| /' conftest.$ac_ext >&5
39556
39557 eval wx_cv_func_$wx_func=no
39558 fi
39559 rm -f conftest.err conftest.$ac_objext \
39560 conftest$ac_exeext conftest.$ac_ext
39561
39562 fi
39563 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39564 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39565
39566 if eval test \$wx_cv_func_$wx_func = yes
39567 then
39568 cat >>confdefs.h <<_ACEOF
39569 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39570 _ACEOF
39571
39572
39573 else
39574 :
39575
39576 fi
39577 done
39578
39579 fi
39580
39581
39582 for wx_func in strtok_r
39583 do
39584 echo "$as_me:$LINENO: checking for $wx_func" >&5
39585 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39586 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39587 echo $ECHO_N "(cached) $ECHO_C" >&6
39588 else
39589
39590 cat >conftest.$ac_ext <<_ACEOF
39591
39592 /* confdefs.h. */
39593 _ACEOF
39594 cat confdefs.h >>conftest.$ac_ext
39595 cat >>conftest.$ac_ext <<_ACEOF
39596 /* end confdefs.h. */
39597
39598 #define _REENTRANT
39599 $ac_includes_default
39600
39601 int
39602 main ()
39603 {
39604
39605 #ifndef $wx_func
39606 &$wx_func;
39607 #endif
39608
39609
39610 ;
39611 return 0;
39612 }
39613
39614 _ACEOF
39615 rm -f conftest.$ac_objext conftest$ac_exeext
39616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39617 (eval $ac_link) 2>conftest.er1
39618 ac_status=$?
39619 grep -v '^ *+' conftest.er1 >conftest.err
39620 rm -f conftest.er1
39621 cat conftest.err >&5
39622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39623 (exit $ac_status); } &&
39624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39626 (eval $ac_try) 2>&5
39627 ac_status=$?
39628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39629 (exit $ac_status); }; } &&
39630 { ac_try='test -s conftest$ac_exeext'
39631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39632 (eval $ac_try) 2>&5
39633 ac_status=$?
39634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39635 (exit $ac_status); }; }; then
39636 eval wx_cv_func_$wx_func=yes
39637 else
39638 echo "$as_me: failed program was:" >&5
39639 sed 's/^/| /' conftest.$ac_ext >&5
39640
39641 eval wx_cv_func_$wx_func=no
39642 fi
39643 rm -f conftest.err conftest.$ac_objext \
39644 conftest$ac_exeext conftest.$ac_ext
39645
39646 fi
39647 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39648 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39649
39650 if eval test \$wx_cv_func_$wx_func = yes
39651 then
39652 cat >>confdefs.h <<_ACEOF
39653 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39654 _ACEOF
39655
39656
39657 else
39658 :
39659
39660 fi
39661 done
39662
39663
39664 INET_LINK=
39665
39666 for ac_func in inet_addr
39667 do
39668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39669 echo "$as_me:$LINENO: checking for $ac_func" >&5
39670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39671 if eval "test \"\${$as_ac_var+set}\" = set"; then
39672 echo $ECHO_N "(cached) $ECHO_C" >&6
39673 else
39674 cat >conftest.$ac_ext <<_ACEOF
39675 /* confdefs.h. */
39676 _ACEOF
39677 cat confdefs.h >>conftest.$ac_ext
39678 cat >>conftest.$ac_ext <<_ACEOF
39679 /* end confdefs.h. */
39680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39682 #define $ac_func innocuous_$ac_func
39683
39684 /* System header to define __stub macros and hopefully few prototypes,
39685 which can conflict with char $ac_func (); below.
39686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39687 <limits.h> exists even on freestanding compilers. */
39688
39689 #ifdef __STDC__
39690 # include <limits.h>
39691 #else
39692 # include <assert.h>
39693 #endif
39694
39695 #undef $ac_func
39696
39697 /* Override any gcc2 internal prototype to avoid an error. */
39698 #ifdef __cplusplus
39699 extern "C"
39700 {
39701 #endif
39702 /* We use char because int might match the return type of a gcc2
39703 builtin and then its argument prototype would still apply. */
39704 char $ac_func ();
39705 /* The GNU C library defines this for functions which it implements
39706 to always fail with ENOSYS. Some functions are actually named
39707 something starting with __ and the normal name is an alias. */
39708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39709 choke me
39710 #else
39711 char (*f) () = $ac_func;
39712 #endif
39713 #ifdef __cplusplus
39714 }
39715 #endif
39716
39717 int
39718 main ()
39719 {
39720 return f != $ac_func;
39721 ;
39722 return 0;
39723 }
39724 _ACEOF
39725 rm -f conftest.$ac_objext conftest$ac_exeext
39726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39727 (eval $ac_link) 2>conftest.er1
39728 ac_status=$?
39729 grep -v '^ *+' conftest.er1 >conftest.err
39730 rm -f conftest.er1
39731 cat conftest.err >&5
39732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39733 (exit $ac_status); } &&
39734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39736 (eval $ac_try) 2>&5
39737 ac_status=$?
39738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39739 (exit $ac_status); }; } &&
39740 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
39746 eval "$as_ac_var=yes"
39747 else
39748 echo "$as_me: failed program was:" >&5
39749 sed 's/^/| /' conftest.$ac_ext >&5
39750
39751 eval "$as_ac_var=no"
39752 fi
39753 rm -f conftest.err conftest.$ac_objext \
39754 conftest$ac_exeext conftest.$ac_ext
39755 fi
39756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39758 if test `eval echo '${'$as_ac_var'}'` = yes; then
39759 cat >>confdefs.h <<_ACEOF
39760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39761 _ACEOF
39762 cat >>confdefs.h <<\_ACEOF
39763 #define HAVE_INET_ADDR 1
39764 _ACEOF
39765
39766 else
39767
39768 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39769 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
39770 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39771 echo $ECHO_N "(cached) $ECHO_C" >&6
39772 else
39773 ac_check_lib_save_LIBS=$LIBS
39774 LIBS="-lnsl $LIBS"
39775 cat >conftest.$ac_ext <<_ACEOF
39776 /* confdefs.h. */
39777 _ACEOF
39778 cat confdefs.h >>conftest.$ac_ext
39779 cat >>conftest.$ac_ext <<_ACEOF
39780 /* end confdefs.h. */
39781
39782 /* Override any gcc2 internal prototype to avoid an error. */
39783 #ifdef __cplusplus
39784 extern "C"
39785 #endif
39786 /* We use char because int might match the return type of a gcc2
39787 builtin and then its argument prototype would still apply. */
39788 char inet_addr ();
39789 int
39790 main ()
39791 {
39792 inet_addr ();
39793 ;
39794 return 0;
39795 }
39796 _ACEOF
39797 rm -f conftest.$ac_objext conftest$ac_exeext
39798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39799 (eval $ac_link) 2>conftest.er1
39800 ac_status=$?
39801 grep -v '^ *+' conftest.er1 >conftest.err
39802 rm -f conftest.er1
39803 cat conftest.err >&5
39804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39805 (exit $ac_status); } &&
39806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39808 (eval $ac_try) 2>&5
39809 ac_status=$?
39810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39811 (exit $ac_status); }; } &&
39812 { ac_try='test -s conftest$ac_exeext'
39813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39814 (eval $ac_try) 2>&5
39815 ac_status=$?
39816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39817 (exit $ac_status); }; }; then
39818 ac_cv_lib_nsl_inet_addr=yes
39819 else
39820 echo "$as_me: failed program was:" >&5
39821 sed 's/^/| /' conftest.$ac_ext >&5
39822
39823 ac_cv_lib_nsl_inet_addr=no
39824 fi
39825 rm -f conftest.err conftest.$ac_objext \
39826 conftest$ac_exeext conftest.$ac_ext
39827 LIBS=$ac_check_lib_save_LIBS
39828 fi
39829 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39830 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
39831 if test $ac_cv_lib_nsl_inet_addr = yes; then
39832 INET_LINK="nsl"
39833 else
39834
39835 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39836 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
39837 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39838 echo $ECHO_N "(cached) $ECHO_C" >&6
39839 else
39840 ac_check_lib_save_LIBS=$LIBS
39841 LIBS="-lresolv $LIBS"
39842 cat >conftest.$ac_ext <<_ACEOF
39843 /* confdefs.h. */
39844 _ACEOF
39845 cat confdefs.h >>conftest.$ac_ext
39846 cat >>conftest.$ac_ext <<_ACEOF
39847 /* end confdefs.h. */
39848
39849 /* Override any gcc2 internal prototype to avoid an error. */
39850 #ifdef __cplusplus
39851 extern "C"
39852 #endif
39853 /* We use char because int might match the return type of a gcc2
39854 builtin and then its argument prototype would still apply. */
39855 char inet_addr ();
39856 int
39857 main ()
39858 {
39859 inet_addr ();
39860 ;
39861 return 0;
39862 }
39863 _ACEOF
39864 rm -f conftest.$ac_objext conftest$ac_exeext
39865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39866 (eval $ac_link) 2>conftest.er1
39867 ac_status=$?
39868 grep -v '^ *+' conftest.er1 >conftest.err
39869 rm -f conftest.er1
39870 cat conftest.err >&5
39871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39872 (exit $ac_status); } &&
39873 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39875 (eval $ac_try) 2>&5
39876 ac_status=$?
39877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39878 (exit $ac_status); }; } &&
39879 { ac_try='test -s conftest$ac_exeext'
39880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39881 (eval $ac_try) 2>&5
39882 ac_status=$?
39883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39884 (exit $ac_status); }; }; then
39885 ac_cv_lib_resolv_inet_addr=yes
39886 else
39887 echo "$as_me: failed program was:" >&5
39888 sed 's/^/| /' conftest.$ac_ext >&5
39889
39890 ac_cv_lib_resolv_inet_addr=no
39891 fi
39892 rm -f conftest.err conftest.$ac_objext \
39893 conftest$ac_exeext conftest.$ac_ext
39894 LIBS=$ac_check_lib_save_LIBS
39895 fi
39896 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39897 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
39898 if test $ac_cv_lib_resolv_inet_addr = yes; then
39899 INET_LINK="resolv"
39900 else
39901
39902 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39903 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
39904 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39905 echo $ECHO_N "(cached) $ECHO_C" >&6
39906 else
39907 ac_check_lib_save_LIBS=$LIBS
39908 LIBS="-lsocket $LIBS"
39909 cat >conftest.$ac_ext <<_ACEOF
39910 /* confdefs.h. */
39911 _ACEOF
39912 cat confdefs.h >>conftest.$ac_ext
39913 cat >>conftest.$ac_ext <<_ACEOF
39914 /* end confdefs.h. */
39915
39916 /* Override any gcc2 internal prototype to avoid an error. */
39917 #ifdef __cplusplus
39918 extern "C"
39919 #endif
39920 /* We use char because int might match the return type of a gcc2
39921 builtin and then its argument prototype would still apply. */
39922 char inet_addr ();
39923 int
39924 main ()
39925 {
39926 inet_addr ();
39927 ;
39928 return 0;
39929 }
39930 _ACEOF
39931 rm -f conftest.$ac_objext conftest$ac_exeext
39932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39933 (eval $ac_link) 2>conftest.er1
39934 ac_status=$?
39935 grep -v '^ *+' conftest.er1 >conftest.err
39936 rm -f conftest.er1
39937 cat conftest.err >&5
39938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39939 (exit $ac_status); } &&
39940 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
39941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39942 (eval $ac_try) 2>&5
39943 ac_status=$?
39944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39945 (exit $ac_status); }; } &&
39946 { ac_try='test -s conftest$ac_exeext'
39947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39948 (eval $ac_try) 2>&5
39949 ac_status=$?
39950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39951 (exit $ac_status); }; }; then
39952 ac_cv_lib_socket_inet_addr=yes
39953 else
39954 echo "$as_me: failed program was:" >&5
39955 sed 's/^/| /' conftest.$ac_ext >&5
39956
39957 ac_cv_lib_socket_inet_addr=no
39958 fi
39959 rm -f conftest.err conftest.$ac_objext \
39960 conftest$ac_exeext conftest.$ac_ext
39961 LIBS=$ac_check_lib_save_LIBS
39962 fi
39963 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39964 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
39965 if test $ac_cv_lib_socket_inet_addr = yes; then
39966 INET_LINK="socket"
39967
39968 fi
39969
39970
39971
39972 fi
39973
39974
39975
39976 fi
39977
39978
39979
39980 fi
39981 done
39982
39983
39984
39985 for ac_func in inet_aton
39986 do
39987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39988 echo "$as_me:$LINENO: checking for $ac_func" >&5
39989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39990 if eval "test \"\${$as_ac_var+set}\" = set"; then
39991 echo $ECHO_N "(cached) $ECHO_C" >&6
39992 else
39993 cat >conftest.$ac_ext <<_ACEOF
39994 /* confdefs.h. */
39995 _ACEOF
39996 cat confdefs.h >>conftest.$ac_ext
39997 cat >>conftest.$ac_ext <<_ACEOF
39998 /* end confdefs.h. */
39999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40001 #define $ac_func innocuous_$ac_func
40002
40003 /* System header to define __stub macros and hopefully few prototypes,
40004 which can conflict with char $ac_func (); below.
40005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40006 <limits.h> exists even on freestanding compilers. */
40007
40008 #ifdef __STDC__
40009 # include <limits.h>
40010 #else
40011 # include <assert.h>
40012 #endif
40013
40014 #undef $ac_func
40015
40016 /* Override any gcc2 internal prototype to avoid an error. */
40017 #ifdef __cplusplus
40018 extern "C"
40019 {
40020 #endif
40021 /* We use char because int might match the return type of a gcc2
40022 builtin and then its argument prototype would still apply. */
40023 char $ac_func ();
40024 /* The GNU C library defines this for functions which it implements
40025 to always fail with ENOSYS. Some functions are actually named
40026 something starting with __ and the normal name is an alias. */
40027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40028 choke me
40029 #else
40030 char (*f) () = $ac_func;
40031 #endif
40032 #ifdef __cplusplus
40033 }
40034 #endif
40035
40036 int
40037 main ()
40038 {
40039 return f != $ac_func;
40040 ;
40041 return 0;
40042 }
40043 _ACEOF
40044 rm -f conftest.$ac_objext conftest$ac_exeext
40045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40046 (eval $ac_link) 2>conftest.er1
40047 ac_status=$?
40048 grep -v '^ *+' conftest.er1 >conftest.err
40049 rm -f conftest.er1
40050 cat conftest.err >&5
40051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40052 (exit $ac_status); } &&
40053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40055 (eval $ac_try) 2>&5
40056 ac_status=$?
40057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40058 (exit $ac_status); }; } &&
40059 { ac_try='test -s conftest$ac_exeext'
40060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40061 (eval $ac_try) 2>&5
40062 ac_status=$?
40063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40064 (exit $ac_status); }; }; then
40065 eval "$as_ac_var=yes"
40066 else
40067 echo "$as_me: failed program was:" >&5
40068 sed 's/^/| /' conftest.$ac_ext >&5
40069
40070 eval "$as_ac_var=no"
40071 fi
40072 rm -f conftest.err conftest.$ac_objext \
40073 conftest$ac_exeext conftest.$ac_ext
40074 fi
40075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40077 if test `eval echo '${'$as_ac_var'}'` = yes; then
40078 cat >>confdefs.h <<_ACEOF
40079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40080 _ACEOF
40081 cat >>confdefs.h <<\_ACEOF
40082 #define HAVE_INET_ATON 1
40083 _ACEOF
40084
40085 else
40086
40087 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40088 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40089 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
40090 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
40091 echo $ECHO_N "(cached) $ECHO_C" >&6
40092 else
40093 ac_check_lib_save_LIBS=$LIBS
40094 LIBS="-l$INET_LINK $LIBS"
40095 cat >conftest.$ac_ext <<_ACEOF
40096 /* confdefs.h. */
40097 _ACEOF
40098 cat confdefs.h >>conftest.$ac_ext
40099 cat >>conftest.$ac_ext <<_ACEOF
40100 /* end confdefs.h. */
40101
40102 /* Override any gcc2 internal prototype to avoid an error. */
40103 #ifdef __cplusplus
40104 extern "C"
40105 #endif
40106 /* We use char because int might match the return type of a gcc2
40107 builtin and then its argument prototype would still apply. */
40108 char inet_aton ();
40109 int
40110 main ()
40111 {
40112 inet_aton ();
40113 ;
40114 return 0;
40115 }
40116 _ACEOF
40117 rm -f conftest.$ac_objext conftest$ac_exeext
40118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40119 (eval $ac_link) 2>conftest.er1
40120 ac_status=$?
40121 grep -v '^ *+' conftest.er1 >conftest.err
40122 rm -f conftest.er1
40123 cat conftest.err >&5
40124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40125 (exit $ac_status); } &&
40126 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40128 (eval $ac_try) 2>&5
40129 ac_status=$?
40130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40131 (exit $ac_status); }; } &&
40132 { ac_try='test -s conftest$ac_exeext'
40133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40134 (eval $ac_try) 2>&5
40135 ac_status=$?
40136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40137 (exit $ac_status); }; }; then
40138 eval "$as_ac_Lib=yes"
40139 else
40140 echo "$as_me: failed program was:" >&5
40141 sed 's/^/| /' conftest.$ac_ext >&5
40142
40143 eval "$as_ac_Lib=no"
40144 fi
40145 rm -f conftest.err conftest.$ac_objext \
40146 conftest$ac_exeext conftest.$ac_ext
40147 LIBS=$ac_check_lib_save_LIBS
40148 fi
40149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
40150 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
40151 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40152 cat >>confdefs.h <<\_ACEOF
40153 #define HAVE_INET_ATON 1
40154 _ACEOF
40155
40156 fi
40157
40158
40159 fi
40160 done
40161
40162
40163 if test "x$INET_LINK" != "x"; then
40164 cat >>confdefs.h <<\_ACEOF
40165 #define HAVE_INET_ADDR 1
40166 _ACEOF
40167
40168 INET_LINK=" -l$INET_LINK"
40169 fi
40170
40171
40172 for wx_func in fdopen
40173 do
40174 echo "$as_me:$LINENO: checking for $wx_func" >&5
40175 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
40176 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
40177 echo $ECHO_N "(cached) $ECHO_C" >&6
40178 else
40179
40180 cat >conftest.$ac_ext <<_ACEOF
40181
40182 /* confdefs.h. */
40183 _ACEOF
40184 cat confdefs.h >>conftest.$ac_ext
40185 cat >>conftest.$ac_ext <<_ACEOF
40186 /* end confdefs.h. */
40187
40188
40189 $ac_includes_default
40190
40191 int
40192 main ()
40193 {
40194
40195 #ifndef $wx_func
40196 &$wx_func;
40197 #endif
40198
40199
40200 ;
40201 return 0;
40202 }
40203
40204 _ACEOF
40205 rm -f conftest.$ac_objext conftest$ac_exeext
40206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40207 (eval $ac_link) 2>conftest.er1
40208 ac_status=$?
40209 grep -v '^ *+' conftest.er1 >conftest.err
40210 rm -f conftest.er1
40211 cat conftest.err >&5
40212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40213 (exit $ac_status); } &&
40214 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40216 (eval $ac_try) 2>&5
40217 ac_status=$?
40218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40219 (exit $ac_status); }; } &&
40220 { ac_try='test -s conftest$ac_exeext'
40221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40222 (eval $ac_try) 2>&5
40223 ac_status=$?
40224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40225 (exit $ac_status); }; }; then
40226 eval wx_cv_func_$wx_func=yes
40227 else
40228 echo "$as_me: failed program was:" >&5
40229 sed 's/^/| /' conftest.$ac_ext >&5
40230
40231 eval wx_cv_func_$wx_func=no
40232 fi
40233 rm -f conftest.err conftest.$ac_objext \
40234 conftest$ac_exeext conftest.$ac_ext
40235
40236 fi
40237 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
40238 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
40239
40240 if eval test \$wx_cv_func_$wx_func = yes
40241 then
40242 cat >>confdefs.h <<_ACEOF
40243 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40244 _ACEOF
40245
40246
40247 else
40248 :
40249
40250 fi
40251 done
40252
40253
40254 fi
40255
40256
40257
40258 cat >confcache <<\_ACEOF
40259 # This file is a shell script that caches the results of configure
40260 # tests run on this system so they can be shared between configure
40261 # scripts and configure runs, see configure's option --config-cache.
40262 # It is not useful on other systems. If it contains results you don't
40263 # want to keep, you may remove or edit it.
40264 #
40265 # config.status only pays attention to the cache file if you give it
40266 # the --recheck option to rerun configure.
40267 #
40268 # `ac_cv_env_foo' variables (set or unset) will be overridden when
40269 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40270 # following values.
40271
40272 _ACEOF
40273
40274 # The following way of writing the cache mishandles newlines in values,
40275 # but we know of no workaround that is simple, portable, and efficient.
40276 # So, don't put newlines in cache variables' values.
40277 # Ultrix sh set writes to stderr and can't be redirected directly,
40278 # and sets the high bit in the cache file unless we assign to the vars.
40279 {
40280 (set) 2>&1 |
40281 case `(ac_space=' '; set | grep ac_space) 2>&1` in
40282 *ac_space=\ *)
40283 # `set' does not quote correctly, so add quotes (double-quote
40284 # substitution turns \\\\ into \\, and sed turns \\ into \).
40285 sed -n \
40286 "s/'/'\\\\''/g;
40287 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40288 ;;
40289 *)
40290 # `set' quotes correctly as required by POSIX, so do not add quotes.
40291 sed -n \
40292 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
40293 ;;
40294 esac;
40295 } |
40296 sed '
40297 t clear
40298 : clear
40299 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40300 t end
40301 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40302 : end' >>confcache
40303 if diff $cache_file confcache >/dev/null 2>&1; then :; else
40304 if test -w $cache_file; then
40305 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
40306 cat confcache >$cache_file
40307 else
40308 echo "not updating unwritable cache $cache_file"
40309 fi
40310 fi
40311 rm -f confcache
40312
40313
40314 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40315
40316
40317 THREADS_LINK=
40318 THREADS_CFLAGS=
40319
40320 if test "$wxUSE_THREADS" = "yes" ; then
40321 if test "$USE_BEOS" = 1; then
40322 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40323 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40324 wxUSE_THREADS="no"
40325 fi
40326 fi
40327
40328 if test "$wxUSE_THREADS" = "yes" ; then
40329
40330
40331 THREAD_OPTS="-pthread"
40332 if test "x$SUNCXX" = xyes; then
40333 THREAD_OPTS="-mt lthread $THREAD_OPTS"
40334 fi
40335
40336 case "${host}" in
40337 *-*-solaris2* | *-*-sunos4* )
40338 if test "x$GCC" = "xyes"; then
40339 THREAD_OPTS="-pthreads $THREAD_OPTS"
40340 fi
40341 ;;
40342 *-*-freebsd*)
40343 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
40344 ;;
40345 *-*-darwin* | *-*-cygwin* )
40346 THREAD_OPTS=""
40347 ;;
40348 *-*-aix*)
40349 THREAD_OPTS="pthreads"
40350 ;;
40351 *-hp-hpux* )
40352 if test "x$GCC" = "xyes"; then
40353 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
40354 THREAD_OPTS=""
40355 else
40356 THREAD_OPTS="-mt"
40357 fi
40358 ;;
40359
40360 *-*-irix* )
40361 if test "x$GCC" = "xyes"; then
40362 THREAD_OPTS=""
40363 fi
40364 ;;
40365
40366 *-*-*UnixWare*)
40367 if test "x$GCC" != "xyes"; then
40368 THREAD_OPTS="-Ethread"
40369 fi
40370 ;;
40371 esac
40372
40373 THREAD_OPTS="$THREAD_OPTS pthread none"
40374
40375 THREADS_OK=no
40376 for flag in $THREAD_OPTS; do
40377 case $flag in
40378 none)
40379 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40380 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
40381 ;;
40382
40383 -*)
40384 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40385 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
40386 THREADS_CFLAGS="$flag"
40387 ;;
40388
40389 *)
40390 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40391 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
40392 THREADS_LINK="-l$flag"
40393 ;;
40394 esac
40395
40396 save_LIBS="$LIBS"
40397 save_CFLAGS="$CFLAGS"
40398 LIBS="$THREADS_LINK $LIBS"
40399 CFLAGS="$THREADS_CFLAGS $CFLAGS"
40400
40401 cat >conftest.$ac_ext <<_ACEOF
40402 /* confdefs.h. */
40403 _ACEOF
40404 cat confdefs.h >>conftest.$ac_ext
40405 cat >>conftest.$ac_ext <<_ACEOF
40406 /* end confdefs.h. */
40407 #include <pthread.h>
40408 int
40409 main ()
40410 {
40411 pthread_create(0,0,0,0);
40412 ;
40413 return 0;
40414 }
40415 _ACEOF
40416 rm -f conftest.$ac_objext conftest$ac_exeext
40417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40418 (eval $ac_link) 2>conftest.er1
40419 ac_status=$?
40420 grep -v '^ *+' conftest.er1 >conftest.err
40421 rm -f conftest.er1
40422 cat conftest.err >&5
40423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40424 (exit $ac_status); } &&
40425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40427 (eval $ac_try) 2>&5
40428 ac_status=$?
40429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40430 (exit $ac_status); }; } &&
40431 { ac_try='test -s conftest$ac_exeext'
40432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40433 (eval $ac_try) 2>&5
40434 ac_status=$?
40435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40436 (exit $ac_status); }; }; then
40437 THREADS_OK=yes
40438 else
40439 echo "$as_me: failed program was:" >&5
40440 sed 's/^/| /' conftest.$ac_ext >&5
40441
40442 fi
40443 rm -f conftest.err conftest.$ac_objext \
40444 conftest$ac_exeext conftest.$ac_ext
40445
40446 LIBS="$save_LIBS"
40447 CFLAGS="$save_CFLAGS"
40448
40449 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40450 echo "${ECHO_T}$THREADS_OK" >&6
40451 if test "x$THREADS_OK" = "xyes"; then
40452 break;
40453 fi
40454
40455 THREADS_LINK=""
40456 THREADS_CFLAGS=""
40457 done
40458
40459 if test "x$THREADS_OK" != "xyes"; then
40460 wxUSE_THREADS=no
40461 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40462 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40463 else
40464 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40465 LIBS="$THREADS_LINK $LIBS"
40466
40467 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40468 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
40469 flag=no
40470 case "${host}" in
40471 *-aix*)
40472 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40473 flag="-D_THREAD_SAFE"
40474 ;;
40475 *-freebsd*)
40476 flag="-D_THREAD_SAFE"
40477 ;;
40478 *-hp-hpux* )
40479 flag="-D_REENTRANT"
40480 if test "x$GCC" != "xyes"; then
40481 flag="$flag -D_RWSTD_MULTI_THREAD"
40482 fi
40483 ;;
40484 *solaris* | alpha*-osf*)
40485 flag="-D_REENTRANT"
40486 ;;
40487 esac
40488 echo "$as_me:$LINENO: result: ${flag}" >&5
40489 echo "${ECHO_T}${flag}" >&6
40490 if test "x$flag" != xno; then
40491 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40492 fi
40493
40494 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40495 fi
40496 fi
40497
40498 if test "$wxUSE_THREADS" = "yes" ; then
40499
40500 for ac_func in thr_setconcurrency
40501 do
40502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40503 echo "$as_me:$LINENO: checking for $ac_func" >&5
40504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40505 if eval "test \"\${$as_ac_var+set}\" = set"; then
40506 echo $ECHO_N "(cached) $ECHO_C" >&6
40507 else
40508 cat >conftest.$ac_ext <<_ACEOF
40509 /* confdefs.h. */
40510 _ACEOF
40511 cat confdefs.h >>conftest.$ac_ext
40512 cat >>conftest.$ac_ext <<_ACEOF
40513 /* end confdefs.h. */
40514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40516 #define $ac_func innocuous_$ac_func
40517
40518 /* System header to define __stub macros and hopefully few prototypes,
40519 which can conflict with char $ac_func (); below.
40520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40521 <limits.h> exists even on freestanding compilers. */
40522
40523 #ifdef __STDC__
40524 # include <limits.h>
40525 #else
40526 # include <assert.h>
40527 #endif
40528
40529 #undef $ac_func
40530
40531 /* Override any gcc2 internal prototype to avoid an error. */
40532 #ifdef __cplusplus
40533 extern "C"
40534 {
40535 #endif
40536 /* We use char because int might match the return type of a gcc2
40537 builtin and then its argument prototype would still apply. */
40538 char $ac_func ();
40539 /* The GNU C library defines this for functions which it implements
40540 to always fail with ENOSYS. Some functions are actually named
40541 something starting with __ and the normal name is an alias. */
40542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40543 choke me
40544 #else
40545 char (*f) () = $ac_func;
40546 #endif
40547 #ifdef __cplusplus
40548 }
40549 #endif
40550
40551 int
40552 main ()
40553 {
40554 return f != $ac_func;
40555 ;
40556 return 0;
40557 }
40558 _ACEOF
40559 rm -f conftest.$ac_objext conftest$ac_exeext
40560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40561 (eval $ac_link) 2>conftest.er1
40562 ac_status=$?
40563 grep -v '^ *+' conftest.er1 >conftest.err
40564 rm -f conftest.er1
40565 cat conftest.err >&5
40566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40567 (exit $ac_status); } &&
40568 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40570 (eval $ac_try) 2>&5
40571 ac_status=$?
40572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40573 (exit $ac_status); }; } &&
40574 { ac_try='test -s conftest$ac_exeext'
40575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40576 (eval $ac_try) 2>&5
40577 ac_status=$?
40578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40579 (exit $ac_status); }; }; then
40580 eval "$as_ac_var=yes"
40581 else
40582 echo "$as_me: failed program was:" >&5
40583 sed 's/^/| /' conftest.$ac_ext >&5
40584
40585 eval "$as_ac_var=no"
40586 fi
40587 rm -f conftest.err conftest.$ac_objext \
40588 conftest$ac_exeext conftest.$ac_ext
40589 fi
40590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40592 if test `eval echo '${'$as_ac_var'}'` = yes; then
40593 cat >>confdefs.h <<_ACEOF
40594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40595 _ACEOF
40596
40597 fi
40598 done
40599
40600
40601 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40602 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
40603 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40604 echo $ECHO_N "(cached) $ECHO_C" >&6
40605 else
40606
40607 ac_ext=cc
40608 ac_cpp='$CXXCPP $CPPFLAGS'
40609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40612
40613 cat >conftest.$ac_ext <<_ACEOF
40614 /* confdefs.h. */
40615 _ACEOF
40616 cat confdefs.h >>conftest.$ac_ext
40617 cat >>conftest.$ac_ext <<_ACEOF
40618 /* end confdefs.h. */
40619 #include <pthread.h>
40620 void ThreadCleanupFunc(void *p);
40621
40622 int
40623 main ()
40624 {
40625
40626 void *p;
40627 pthread_cleanup_push(ThreadCleanupFunc, p);
40628 pthread_cleanup_pop(0);
40629
40630 ;
40631 return 0;
40632 }
40633 _ACEOF
40634 rm -f conftest.$ac_objext
40635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40636 (eval $ac_compile) 2>conftest.er1
40637 ac_status=$?
40638 grep -v '^ *+' conftest.er1 >conftest.err
40639 rm -f conftest.er1
40640 cat conftest.err >&5
40641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40642 (exit $ac_status); } &&
40643 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40645 (eval $ac_try) 2>&5
40646 ac_status=$?
40647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40648 (exit $ac_status); }; } &&
40649 { ac_try='test -s conftest.$ac_objext'
40650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40651 (eval $ac_try) 2>&5
40652 ac_status=$?
40653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40654 (exit $ac_status); }; }; then
40655
40656 wx_cv_func_pthread_cleanup=yes
40657
40658 else
40659 echo "$as_me: failed program was:" >&5
40660 sed 's/^/| /' conftest.$ac_ext >&5
40661
40662
40663 wx_cv_func_pthread_cleanup=no
40664
40665
40666 fi
40667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40668 ac_ext=c
40669 ac_cpp='$CPP $CPPFLAGS'
40670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40673
40674
40675 fi
40676 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40677 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
40678 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40679 cat >>confdefs.h <<\_ACEOF
40680 #define wxHAVE_PTHREAD_CLEANUP 1
40681 _ACEOF
40682
40683 fi
40684
40685 echo "$as_me:$LINENO: checking for sched.h" >&5
40686 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6
40687 if test "${ac_cv_header_sched_h+set}" = set; then
40688 echo $ECHO_N "(cached) $ECHO_C" >&6
40689 else
40690 cat >conftest.$ac_ext <<_ACEOF
40691 /* confdefs.h. */
40692 _ACEOF
40693 cat confdefs.h >>conftest.$ac_ext
40694 cat >>conftest.$ac_ext <<_ACEOF
40695 /* end confdefs.h. */
40696 $ac_includes_default
40697
40698 #include <sched.h>
40699 _ACEOF
40700 rm -f conftest.$ac_objext
40701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40702 (eval $ac_compile) 2>conftest.er1
40703 ac_status=$?
40704 grep -v '^ *+' conftest.er1 >conftest.err
40705 rm -f conftest.er1
40706 cat conftest.err >&5
40707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40708 (exit $ac_status); } &&
40709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40711 (eval $ac_try) 2>&5
40712 ac_status=$?
40713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40714 (exit $ac_status); }; } &&
40715 { ac_try='test -s conftest.$ac_objext'
40716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40717 (eval $ac_try) 2>&5
40718 ac_status=$?
40719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40720 (exit $ac_status); }; }; then
40721 ac_cv_header_sched_h=yes
40722 else
40723 echo "$as_me: failed program was:" >&5
40724 sed 's/^/| /' conftest.$ac_ext >&5
40725
40726 ac_cv_header_sched_h=no
40727 fi
40728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40729 fi
40730 echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
40731 echo "${ECHO_T}$ac_cv_header_sched_h" >&6
40732
40733
40734 if test "$ac_cv_header_sched_h" = "yes"; then
40735 echo "$as_me:$LINENO: checking for sched_yield" >&5
40736 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
40737 if test "${ac_cv_func_sched_yield+set}" = set; then
40738 echo $ECHO_N "(cached) $ECHO_C" >&6
40739 else
40740 cat >conftest.$ac_ext <<_ACEOF
40741 /* confdefs.h. */
40742 _ACEOF
40743 cat confdefs.h >>conftest.$ac_ext
40744 cat >>conftest.$ac_ext <<_ACEOF
40745 /* end confdefs.h. */
40746 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40748 #define sched_yield innocuous_sched_yield
40749
40750 /* System header to define __stub macros and hopefully few prototypes,
40751 which can conflict with char sched_yield (); below.
40752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40753 <limits.h> exists even on freestanding compilers. */
40754
40755 #ifdef __STDC__
40756 # include <limits.h>
40757 #else
40758 # include <assert.h>
40759 #endif
40760
40761 #undef sched_yield
40762
40763 /* Override any gcc2 internal prototype to avoid an error. */
40764 #ifdef __cplusplus
40765 extern "C"
40766 {
40767 #endif
40768 /* We use char because int might match the return type of a gcc2
40769 builtin and then its argument prototype would still apply. */
40770 char sched_yield ();
40771 /* The GNU C library defines this for functions which it implements
40772 to always fail with ENOSYS. Some functions are actually named
40773 something starting with __ and the normal name is an alias. */
40774 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
40775 choke me
40776 #else
40777 char (*f) () = sched_yield;
40778 #endif
40779 #ifdef __cplusplus
40780 }
40781 #endif
40782
40783 int
40784 main ()
40785 {
40786 return f != sched_yield;
40787 ;
40788 return 0;
40789 }
40790 _ACEOF
40791 rm -f conftest.$ac_objext conftest$ac_exeext
40792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40793 (eval $ac_link) 2>conftest.er1
40794 ac_status=$?
40795 grep -v '^ *+' conftest.er1 >conftest.err
40796 rm -f conftest.er1
40797 cat conftest.err >&5
40798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40799 (exit $ac_status); } &&
40800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40802 (eval $ac_try) 2>&5
40803 ac_status=$?
40804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40805 (exit $ac_status); }; } &&
40806 { ac_try='test -s conftest$ac_exeext'
40807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40808 (eval $ac_try) 2>&5
40809 ac_status=$?
40810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40811 (exit $ac_status); }; }; then
40812 ac_cv_func_sched_yield=yes
40813 else
40814 echo "$as_me: failed program was:" >&5
40815 sed 's/^/| /' conftest.$ac_ext >&5
40816
40817 ac_cv_func_sched_yield=no
40818 fi
40819 rm -f conftest.err conftest.$ac_objext \
40820 conftest$ac_exeext conftest.$ac_ext
40821 fi
40822 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40823 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
40824 if test $ac_cv_func_sched_yield = yes; then
40825 cat >>confdefs.h <<\_ACEOF
40826 #define HAVE_SCHED_YIELD 1
40827 _ACEOF
40828
40829 else
40830
40831 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40832 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
40833 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40834 echo $ECHO_N "(cached) $ECHO_C" >&6
40835 else
40836 ac_check_lib_save_LIBS=$LIBS
40837 LIBS="-lposix4 $LIBS"
40838 cat >conftest.$ac_ext <<_ACEOF
40839 /* confdefs.h. */
40840 _ACEOF
40841 cat confdefs.h >>conftest.$ac_ext
40842 cat >>conftest.$ac_ext <<_ACEOF
40843 /* end confdefs.h. */
40844
40845 /* Override any gcc2 internal prototype to avoid an error. */
40846 #ifdef __cplusplus
40847 extern "C"
40848 #endif
40849 /* We use char because int might match the return type of a gcc2
40850 builtin and then its argument prototype would still apply. */
40851 char sched_yield ();
40852 int
40853 main ()
40854 {
40855 sched_yield ();
40856 ;
40857 return 0;
40858 }
40859 _ACEOF
40860 rm -f conftest.$ac_objext conftest$ac_exeext
40861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40862 (eval $ac_link) 2>conftest.er1
40863 ac_status=$?
40864 grep -v '^ *+' conftest.er1 >conftest.err
40865 rm -f conftest.er1
40866 cat conftest.err >&5
40867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40868 (exit $ac_status); } &&
40869 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40871 (eval $ac_try) 2>&5
40872 ac_status=$?
40873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40874 (exit $ac_status); }; } &&
40875 { ac_try='test -s conftest$ac_exeext'
40876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40877 (eval $ac_try) 2>&5
40878 ac_status=$?
40879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40880 (exit $ac_status); }; }; then
40881 ac_cv_lib_posix4_sched_yield=yes
40882 else
40883 echo "$as_me: failed program was:" >&5
40884 sed 's/^/| /' conftest.$ac_ext >&5
40885
40886 ac_cv_lib_posix4_sched_yield=no
40887 fi
40888 rm -f conftest.err conftest.$ac_objext \
40889 conftest$ac_exeext conftest.$ac_ext
40890 LIBS=$ac_check_lib_save_LIBS
40891 fi
40892 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40893 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40894 if test $ac_cv_lib_posix4_sched_yield = yes; then
40895 cat >>confdefs.h <<\_ACEOF
40896 #define HAVE_SCHED_YIELD 1
40897 _ACEOF
40898 POSIX4_LINK=" -lposix4"
40899 else
40900 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40901 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40902
40903 fi
40904
40905
40906
40907 fi
40908
40909 fi
40910
40911 HAVE_PRIOR_FUNCS=0
40912 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40913 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40914 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40915 echo $ECHO_N "(cached) $ECHO_C" >&6
40916 else
40917 cat >conftest.$ac_ext <<_ACEOF
40918 /* confdefs.h. */
40919 _ACEOF
40920 cat confdefs.h >>conftest.$ac_ext
40921 cat >>conftest.$ac_ext <<_ACEOF
40922 /* end confdefs.h. */
40923 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40925 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40926
40927 /* System header to define __stub macros and hopefully few prototypes,
40928 which can conflict with char pthread_attr_getschedpolicy (); below.
40929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40930 <limits.h> exists even on freestanding compilers. */
40931
40932 #ifdef __STDC__
40933 # include <limits.h>
40934 #else
40935 # include <assert.h>
40936 #endif
40937
40938 #undef pthread_attr_getschedpolicy
40939
40940 /* Override any gcc2 internal prototype to avoid an error. */
40941 #ifdef __cplusplus
40942 extern "C"
40943 {
40944 #endif
40945 /* We use char because int might match the return type of a gcc2
40946 builtin and then its argument prototype would still apply. */
40947 char pthread_attr_getschedpolicy ();
40948 /* The GNU C library defines this for functions which it implements
40949 to always fail with ENOSYS. Some functions are actually named
40950 something starting with __ and the normal name is an alias. */
40951 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40952 choke me
40953 #else
40954 char (*f) () = pthread_attr_getschedpolicy;
40955 #endif
40956 #ifdef __cplusplus
40957 }
40958 #endif
40959
40960 int
40961 main ()
40962 {
40963 return f != pthread_attr_getschedpolicy;
40964 ;
40965 return 0;
40966 }
40967 _ACEOF
40968 rm -f conftest.$ac_objext conftest$ac_exeext
40969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40970 (eval $ac_link) 2>conftest.er1
40971 ac_status=$?
40972 grep -v '^ *+' conftest.er1 >conftest.err
40973 rm -f conftest.er1
40974 cat conftest.err >&5
40975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40976 (exit $ac_status); } &&
40977 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40979 (eval $ac_try) 2>&5
40980 ac_status=$?
40981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40982 (exit $ac_status); }; } &&
40983 { ac_try='test -s conftest$ac_exeext'
40984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40985 (eval $ac_try) 2>&5
40986 ac_status=$?
40987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40988 (exit $ac_status); }; }; then
40989 ac_cv_func_pthread_attr_getschedpolicy=yes
40990 else
40991 echo "$as_me: failed program was:" >&5
40992 sed 's/^/| /' conftest.$ac_ext >&5
40993
40994 ac_cv_func_pthread_attr_getschedpolicy=no
40995 fi
40996 rm -f conftest.err conftest.$ac_objext \
40997 conftest$ac_exeext conftest.$ac_ext
40998 fi
40999 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41000 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
41001 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41002 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41003 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
41004 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41005 echo $ECHO_N "(cached) $ECHO_C" >&6
41006 else
41007 cat >conftest.$ac_ext <<_ACEOF
41008 /* confdefs.h. */
41009 _ACEOF
41010 cat confdefs.h >>conftest.$ac_ext
41011 cat >>conftest.$ac_ext <<_ACEOF
41012 /* end confdefs.h. */
41013 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41015 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41016
41017 /* System header to define __stub macros and hopefully few prototypes,
41018 which can conflict with char pthread_attr_setschedparam (); below.
41019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41020 <limits.h> exists even on freestanding compilers. */
41021
41022 #ifdef __STDC__
41023 # include <limits.h>
41024 #else
41025 # include <assert.h>
41026 #endif
41027
41028 #undef pthread_attr_setschedparam
41029
41030 /* Override any gcc2 internal prototype to avoid an error. */
41031 #ifdef __cplusplus
41032 extern "C"
41033 {
41034 #endif
41035 /* We use char because int might match the return type of a gcc2
41036 builtin and then its argument prototype would still apply. */
41037 char pthread_attr_setschedparam ();
41038 /* The GNU C library defines this for functions which it implements
41039 to always fail with ENOSYS. Some functions are actually named
41040 something starting with __ and the normal name is an alias. */
41041 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
41042 choke me
41043 #else
41044 char (*f) () = pthread_attr_setschedparam;
41045 #endif
41046 #ifdef __cplusplus
41047 }
41048 #endif
41049
41050 int
41051 main ()
41052 {
41053 return f != pthread_attr_setschedparam;
41054 ;
41055 return 0;
41056 }
41057 _ACEOF
41058 rm -f conftest.$ac_objext conftest$ac_exeext
41059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41060 (eval $ac_link) 2>conftest.er1
41061 ac_status=$?
41062 grep -v '^ *+' conftest.er1 >conftest.err
41063 rm -f conftest.er1
41064 cat conftest.err >&5
41065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41066 (exit $ac_status); } &&
41067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41069 (eval $ac_try) 2>&5
41070 ac_status=$?
41071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41072 (exit $ac_status); }; } &&
41073 { ac_try='test -s conftest$ac_exeext'
41074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41075 (eval $ac_try) 2>&5
41076 ac_status=$?
41077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41078 (exit $ac_status); }; }; then
41079 ac_cv_func_pthread_attr_setschedparam=yes
41080 else
41081 echo "$as_me: failed program was:" >&5
41082 sed 's/^/| /' conftest.$ac_ext >&5
41083
41084 ac_cv_func_pthread_attr_setschedparam=no
41085 fi
41086 rm -f conftest.err conftest.$ac_objext \
41087 conftest$ac_exeext conftest.$ac_ext
41088 fi
41089 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41090 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
41091 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41092 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41093 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
41094 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41095 echo $ECHO_N "(cached) $ECHO_C" >&6
41096 else
41097 cat >conftest.$ac_ext <<_ACEOF
41098 /* confdefs.h. */
41099 _ACEOF
41100 cat confdefs.h >>conftest.$ac_ext
41101 cat >>conftest.$ac_ext <<_ACEOF
41102 /* end confdefs.h. */
41103 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41105 #define sched_get_priority_max innocuous_sched_get_priority_max
41106
41107 /* System header to define __stub macros and hopefully few prototypes,
41108 which can conflict with char sched_get_priority_max (); below.
41109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41110 <limits.h> exists even on freestanding compilers. */
41111
41112 #ifdef __STDC__
41113 # include <limits.h>
41114 #else
41115 # include <assert.h>
41116 #endif
41117
41118 #undef sched_get_priority_max
41119
41120 /* Override any gcc2 internal prototype to avoid an error. */
41121 #ifdef __cplusplus
41122 extern "C"
41123 {
41124 #endif
41125 /* We use char because int might match the return type of a gcc2
41126 builtin and then its argument prototype would still apply. */
41127 char sched_get_priority_max ();
41128 /* The GNU C library defines this for functions which it implements
41129 to always fail with ENOSYS. Some functions are actually named
41130 something starting with __ and the normal name is an alias. */
41131 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
41132 choke me
41133 #else
41134 char (*f) () = sched_get_priority_max;
41135 #endif
41136 #ifdef __cplusplus
41137 }
41138 #endif
41139
41140 int
41141 main ()
41142 {
41143 return f != sched_get_priority_max;
41144 ;
41145 return 0;
41146 }
41147 _ACEOF
41148 rm -f conftest.$ac_objext conftest$ac_exeext
41149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41150 (eval $ac_link) 2>conftest.er1
41151 ac_status=$?
41152 grep -v '^ *+' conftest.er1 >conftest.err
41153 rm -f conftest.er1
41154 cat conftest.err >&5
41155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41156 (exit $ac_status); } &&
41157 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41159 (eval $ac_try) 2>&5
41160 ac_status=$?
41161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41162 (exit $ac_status); }; } &&
41163 { ac_try='test -s conftest$ac_exeext'
41164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41165 (eval $ac_try) 2>&5
41166 ac_status=$?
41167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41168 (exit $ac_status); }; }; then
41169 ac_cv_func_sched_get_priority_max=yes
41170 else
41171 echo "$as_me: failed program was:" >&5
41172 sed 's/^/| /' conftest.$ac_ext >&5
41173
41174 ac_cv_func_sched_get_priority_max=no
41175 fi
41176 rm -f conftest.err conftest.$ac_objext \
41177 conftest$ac_exeext conftest.$ac_ext
41178 fi
41179 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41180 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
41181 if test $ac_cv_func_sched_get_priority_max = yes; then
41182 HAVE_PRIOR_FUNCS=1
41183 else
41184 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41185 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
41186 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41187 echo $ECHO_N "(cached) $ECHO_C" >&6
41188 else
41189 ac_check_lib_save_LIBS=$LIBS
41190 LIBS="-lposix4 $LIBS"
41191 cat >conftest.$ac_ext <<_ACEOF
41192 /* confdefs.h. */
41193 _ACEOF
41194 cat confdefs.h >>conftest.$ac_ext
41195 cat >>conftest.$ac_ext <<_ACEOF
41196 /* end confdefs.h. */
41197
41198 /* Override any gcc2 internal prototype to avoid an error. */
41199 #ifdef __cplusplus
41200 extern "C"
41201 #endif
41202 /* We use char because int might match the return type of a gcc2
41203 builtin and then its argument prototype would still apply. */
41204 char sched_get_priority_max ();
41205 int
41206 main ()
41207 {
41208 sched_get_priority_max ();
41209 ;
41210 return 0;
41211 }
41212 _ACEOF
41213 rm -f conftest.$ac_objext conftest$ac_exeext
41214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41215 (eval $ac_link) 2>conftest.er1
41216 ac_status=$?
41217 grep -v '^ *+' conftest.er1 >conftest.err
41218 rm -f conftest.er1
41219 cat conftest.err >&5
41220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41221 (exit $ac_status); } &&
41222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41224 (eval $ac_try) 2>&5
41225 ac_status=$?
41226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41227 (exit $ac_status); }; } &&
41228 { ac_try='test -s conftest$ac_exeext'
41229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41230 (eval $ac_try) 2>&5
41231 ac_status=$?
41232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41233 (exit $ac_status); }; }; then
41234 ac_cv_lib_posix4_sched_get_priority_max=yes
41235 else
41236 echo "$as_me: failed program was:" >&5
41237 sed 's/^/| /' conftest.$ac_ext >&5
41238
41239 ac_cv_lib_posix4_sched_get_priority_max=no
41240 fi
41241 rm -f conftest.err conftest.$ac_objext \
41242 conftest$ac_exeext conftest.$ac_ext
41243 LIBS=$ac_check_lib_save_LIBS
41244 fi
41245 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41246 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
41247 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41248
41249 HAVE_PRIOR_FUNCS=1
41250 POSIX4_LINK=" -lposix4"
41251
41252 fi
41253
41254
41255 fi
41256
41257
41258 fi
41259
41260
41261 fi
41262
41263
41264 if test "$HAVE_PRIOR_FUNCS" = 1; then
41265 cat >>confdefs.h <<\_ACEOF
41266 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41267 _ACEOF
41268
41269 else
41270 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41271 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41272 fi
41273
41274 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41275 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
41276 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41277 echo $ECHO_N "(cached) $ECHO_C" >&6
41278 else
41279 cat >conftest.$ac_ext <<_ACEOF
41280 /* confdefs.h. */
41281 _ACEOF
41282 cat confdefs.h >>conftest.$ac_ext
41283 cat >>conftest.$ac_ext <<_ACEOF
41284 /* end confdefs.h. */
41285 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41286 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41287 #define pthread_cancel innocuous_pthread_cancel
41288
41289 /* System header to define __stub macros and hopefully few prototypes,
41290 which can conflict with char pthread_cancel (); below.
41291 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41292 <limits.h> exists even on freestanding compilers. */
41293
41294 #ifdef __STDC__
41295 # include <limits.h>
41296 #else
41297 # include <assert.h>
41298 #endif
41299
41300 #undef pthread_cancel
41301
41302 /* Override any gcc2 internal prototype to avoid an error. */
41303 #ifdef __cplusplus
41304 extern "C"
41305 {
41306 #endif
41307 /* We use char because int might match the return type of a gcc2
41308 builtin and then its argument prototype would still apply. */
41309 char pthread_cancel ();
41310 /* The GNU C library defines this for functions which it implements
41311 to always fail with ENOSYS. Some functions are actually named
41312 something starting with __ and the normal name is an alias. */
41313 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
41314 choke me
41315 #else
41316 char (*f) () = pthread_cancel;
41317 #endif
41318 #ifdef __cplusplus
41319 }
41320 #endif
41321
41322 int
41323 main ()
41324 {
41325 return f != pthread_cancel;
41326 ;
41327 return 0;
41328 }
41329 _ACEOF
41330 rm -f conftest.$ac_objext conftest$ac_exeext
41331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41332 (eval $ac_link) 2>conftest.er1
41333 ac_status=$?
41334 grep -v '^ *+' conftest.er1 >conftest.err
41335 rm -f conftest.er1
41336 cat conftest.err >&5
41337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41338 (exit $ac_status); } &&
41339 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41341 (eval $ac_try) 2>&5
41342 ac_status=$?
41343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41344 (exit $ac_status); }; } &&
41345 { ac_try='test -s conftest$ac_exeext'
41346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41347 (eval $ac_try) 2>&5
41348 ac_status=$?
41349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41350 (exit $ac_status); }; }; then
41351 ac_cv_func_pthread_cancel=yes
41352 else
41353 echo "$as_me: failed program was:" >&5
41354 sed 's/^/| /' conftest.$ac_ext >&5
41355
41356 ac_cv_func_pthread_cancel=no
41357 fi
41358 rm -f conftest.err conftest.$ac_objext \
41359 conftest$ac_exeext conftest.$ac_ext
41360 fi
41361 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41362 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
41363 if test $ac_cv_func_pthread_cancel = yes; then
41364 cat >>confdefs.h <<\_ACEOF
41365 #define HAVE_PTHREAD_CANCEL 1
41366 _ACEOF
41367
41368 else
41369 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41370 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41371 fi
41372
41373
41374 echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41375 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6
41376 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41377 echo $ECHO_N "(cached) $ECHO_C" >&6
41378 else
41379 cat >conftest.$ac_ext <<_ACEOF
41380 /* confdefs.h. */
41381 _ACEOF
41382 cat confdefs.h >>conftest.$ac_ext
41383 cat >>conftest.$ac_ext <<_ACEOF
41384 /* end confdefs.h. */
41385 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41387 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41388
41389 /* System header to define __stub macros and hopefully few prototypes,
41390 which can conflict with char pthread_mutex_timedlock (); below.
41391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41392 <limits.h> exists even on freestanding compilers. */
41393
41394 #ifdef __STDC__
41395 # include <limits.h>
41396 #else
41397 # include <assert.h>
41398 #endif
41399
41400 #undef pthread_mutex_timedlock
41401
41402 /* Override any gcc2 internal prototype to avoid an error. */
41403 #ifdef __cplusplus
41404 extern "C"
41405 {
41406 #endif
41407 /* We use char because int might match the return type of a gcc2
41408 builtin and then its argument prototype would still apply. */
41409 char pthread_mutex_timedlock ();
41410 /* The GNU C library defines this for functions which it implements
41411 to always fail with ENOSYS. Some functions are actually named
41412 something starting with __ and the normal name is an alias. */
41413 #if defined (__stub_pthread_mutex_timedlock) || defined (__stub___pthread_mutex_timedlock)
41414 choke me
41415 #else
41416 char (*f) () = pthread_mutex_timedlock;
41417 #endif
41418 #ifdef __cplusplus
41419 }
41420 #endif
41421
41422 int
41423 main ()
41424 {
41425 return f != pthread_mutex_timedlock;
41426 ;
41427 return 0;
41428 }
41429 _ACEOF
41430 rm -f conftest.$ac_objext conftest$ac_exeext
41431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41432 (eval $ac_link) 2>conftest.er1
41433 ac_status=$?
41434 grep -v '^ *+' conftest.er1 >conftest.err
41435 rm -f conftest.er1
41436 cat conftest.err >&5
41437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41438 (exit $ac_status); } &&
41439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41441 (eval $ac_try) 2>&5
41442 ac_status=$?
41443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41444 (exit $ac_status); }; } &&
41445 { ac_try='test -s conftest$ac_exeext'
41446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41447 (eval $ac_try) 2>&5
41448 ac_status=$?
41449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41450 (exit $ac_status); }; }; then
41451 ac_cv_func_pthread_mutex_timedlock=yes
41452 else
41453 echo "$as_me: failed program was:" >&5
41454 sed 's/^/| /' conftest.$ac_ext >&5
41455
41456 ac_cv_func_pthread_mutex_timedlock=no
41457 fi
41458 rm -f conftest.err conftest.$ac_objext \
41459 conftest$ac_exeext conftest.$ac_ext
41460 fi
41461 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41462 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6
41463 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41464 cat >>confdefs.h <<\_ACEOF
41465 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41466 _ACEOF
41467
41468 else
41469 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41470 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41471 fi
41472
41473
41474 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41475 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
41476 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41477 echo $ECHO_N "(cached) $ECHO_C" >&6
41478 else
41479 cat >conftest.$ac_ext <<_ACEOF
41480 /* confdefs.h. */
41481 _ACEOF
41482 cat confdefs.h >>conftest.$ac_ext
41483 cat >>conftest.$ac_ext <<_ACEOF
41484 /* end confdefs.h. */
41485 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41487 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41488
41489 /* System header to define __stub macros and hopefully few prototypes,
41490 which can conflict with char pthread_attr_setstacksize (); below.
41491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41492 <limits.h> exists even on freestanding compilers. */
41493
41494 #ifdef __STDC__
41495 # include <limits.h>
41496 #else
41497 # include <assert.h>
41498 #endif
41499
41500 #undef pthread_attr_setstacksize
41501
41502 /* Override any gcc2 internal prototype to avoid an error. */
41503 #ifdef __cplusplus
41504 extern "C"
41505 {
41506 #endif
41507 /* We use char because int might match the return type of a gcc2
41508 builtin and then its argument prototype would still apply. */
41509 char pthread_attr_setstacksize ();
41510 /* The GNU C library defines this for functions which it implements
41511 to always fail with ENOSYS. Some functions are actually named
41512 something starting with __ and the normal name is an alias. */
41513 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
41514 choke me
41515 #else
41516 char (*f) () = pthread_attr_setstacksize;
41517 #endif
41518 #ifdef __cplusplus
41519 }
41520 #endif
41521
41522 int
41523 main ()
41524 {
41525 return f != pthread_attr_setstacksize;
41526 ;
41527 return 0;
41528 }
41529 _ACEOF
41530 rm -f conftest.$ac_objext conftest$ac_exeext
41531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41532 (eval $ac_link) 2>conftest.er1
41533 ac_status=$?
41534 grep -v '^ *+' conftest.er1 >conftest.err
41535 rm -f conftest.er1
41536 cat conftest.err >&5
41537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41538 (exit $ac_status); } &&
41539 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41541 (eval $ac_try) 2>&5
41542 ac_status=$?
41543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41544 (exit $ac_status); }; } &&
41545 { ac_try='test -s conftest$ac_exeext'
41546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41547 (eval $ac_try) 2>&5
41548 ac_status=$?
41549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41550 (exit $ac_status); }; }; then
41551 ac_cv_func_pthread_attr_setstacksize=yes
41552 else
41553 echo "$as_me: failed program was:" >&5
41554 sed 's/^/| /' conftest.$ac_ext >&5
41555
41556 ac_cv_func_pthread_attr_setstacksize=no
41557 fi
41558 rm -f conftest.err conftest.$ac_objext \
41559 conftest$ac_exeext conftest.$ac_ext
41560 fi
41561 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41562 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
41563 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41564 cat >>confdefs.h <<\_ACEOF
41565 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41566 _ACEOF
41567
41568 fi
41569
41570
41571
41572 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41573 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
41574 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41575 echo $ECHO_N "(cached) $ECHO_C" >&6
41576 else
41577
41578 cat >conftest.$ac_ext <<_ACEOF
41579 /* confdefs.h. */
41580 _ACEOF
41581 cat confdefs.h >>conftest.$ac_ext
41582 cat >>conftest.$ac_ext <<_ACEOF
41583 /* end confdefs.h. */
41584 #include <pthread.h>
41585 int
41586 main ()
41587 {
41588
41589 pthread_mutexattr_t attr;
41590 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41591
41592 ;
41593 return 0;
41594 }
41595 _ACEOF
41596 rm -f conftest.$ac_objext
41597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41598 (eval $ac_compile) 2>conftest.er1
41599 ac_status=$?
41600 grep -v '^ *+' conftest.er1 >conftest.err
41601 rm -f conftest.er1
41602 cat conftest.err >&5
41603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41604 (exit $ac_status); } &&
41605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41607 (eval $ac_try) 2>&5
41608 ac_status=$?
41609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41610 (exit $ac_status); }; } &&
41611 { ac_try='test -s conftest.$ac_objext'
41612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41613 (eval $ac_try) 2>&5
41614 ac_status=$?
41615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41616 (exit $ac_status); }; }; then
41617 wx_cv_type_pthread_mutexattr_t=yes
41618 else
41619 echo "$as_me: failed program was:" >&5
41620 sed 's/^/| /' conftest.$ac_ext >&5
41621
41622 wx_cv_type_pthread_mutexattr_t=no
41623
41624 fi
41625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41626
41627 fi
41628 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41629 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
41630
41631 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41632 cat >>confdefs.h <<\_ACEOF
41633 #define HAVE_PTHREAD_MUTEXATTR_T 1
41634 _ACEOF
41635
41636
41637 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41638 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
41639 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41640 echo $ECHO_N "(cached) $ECHO_C" >&6
41641 else
41642
41643 cat >conftest.$ac_ext <<_ACEOF
41644 /* confdefs.h. */
41645 _ACEOF
41646 cat confdefs.h >>conftest.$ac_ext
41647 cat >>conftest.$ac_ext <<_ACEOF
41648 /* end confdefs.h. */
41649 #include <pthread.h>
41650 int
41651 main ()
41652 {
41653
41654 pthread_mutexattr_t attr;
41655 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41656
41657 ;
41658 return 0;
41659 }
41660 _ACEOF
41661 rm -f conftest.$ac_objext
41662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41663 (eval $ac_compile) 2>conftest.er1
41664 ac_status=$?
41665 grep -v '^ *+' conftest.er1 >conftest.err
41666 rm -f conftest.er1
41667 cat conftest.err >&5
41668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41669 (exit $ac_status); } &&
41670 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41672 (eval $ac_try) 2>&5
41673 ac_status=$?
41674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41675 (exit $ac_status); }; } &&
41676 { ac_try='test -s conftest.$ac_objext'
41677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41678 (eval $ac_try) 2>&5
41679 ac_status=$?
41680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41681 (exit $ac_status); }; }; then
41682 wx_cv_func_pthread_mutexattr_settype_decl=yes
41683 else
41684 echo "$as_me: failed program was:" >&5
41685 sed 's/^/| /' conftest.$ac_ext >&5
41686
41687 wx_cv_func_pthread_mutexattr_settype_decl=no
41688
41689 fi
41690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41691
41692 fi
41693 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41694 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
41695 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41696 cat >>confdefs.h <<\_ACEOF
41697 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41698 _ACEOF
41699
41700 fi
41701 else
41702 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41703 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
41704 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41705 echo $ECHO_N "(cached) $ECHO_C" >&6
41706 else
41707
41708 cat >conftest.$ac_ext <<_ACEOF
41709 /* confdefs.h. */
41710 _ACEOF
41711 cat confdefs.h >>conftest.$ac_ext
41712 cat >>conftest.$ac_ext <<_ACEOF
41713 /* end confdefs.h. */
41714 #include <pthread.h>
41715 int
41716 main ()
41717 {
41718
41719 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41720
41721 ;
41722 return 0;
41723 }
41724 _ACEOF
41725 rm -f conftest.$ac_objext
41726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41727 (eval $ac_compile) 2>conftest.er1
41728 ac_status=$?
41729 grep -v '^ *+' conftest.er1 >conftest.err
41730 rm -f conftest.er1
41731 cat conftest.err >&5
41732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41733 (exit $ac_status); } &&
41734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41736 (eval $ac_try) 2>&5
41737 ac_status=$?
41738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41739 (exit $ac_status); }; } &&
41740 { ac_try='test -s conftest.$ac_objext'
41741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41742 (eval $ac_try) 2>&5
41743 ac_status=$?
41744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41745 (exit $ac_status); }; }; then
41746
41747 wx_cv_type_pthread_rec_mutex_init=yes
41748
41749 else
41750 echo "$as_me: failed program was:" >&5
41751 sed 's/^/| /' conftest.$ac_ext >&5
41752
41753
41754 wx_cv_type_pthread_rec_mutex_init=no
41755
41756
41757 fi
41758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41759
41760 fi
41761 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41762 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
41763 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41764 cat >>confdefs.h <<\_ACEOF
41765 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41766 _ACEOF
41767
41768 else
41769 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41770 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41771 fi
41772 fi
41773 fi
41774
41775 else
41776 if test "$wxUSE_THREADS" = "yes" ; then
41777 case "${host}" in
41778 *-*-mingw32* )
41779 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41780 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
41781 if test "${wx_cv_cflags_mthread+set}" = set; then
41782 echo $ECHO_N "(cached) $ECHO_C" >&6
41783 else
41784
41785 CFLAGS_OLD="$CFLAGS"
41786 CFLAGS="-mthreads $CFLAGS"
41787 cat >conftest.$ac_ext <<_ACEOF
41788 /* confdefs.h. */
41789 _ACEOF
41790 cat confdefs.h >>conftest.$ac_ext
41791 cat >>conftest.$ac_ext <<_ACEOF
41792 /* end confdefs.h. */
41793
41794 int
41795 main ()
41796 {
41797
41798 ;
41799 return 0;
41800 }
41801 _ACEOF
41802 rm -f conftest.$ac_objext
41803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41804 (eval $ac_compile) 2>conftest.er1
41805 ac_status=$?
41806 grep -v '^ *+' conftest.er1 >conftest.err
41807 rm -f conftest.er1
41808 cat conftest.err >&5
41809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41810 (exit $ac_status); } &&
41811 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41813 (eval $ac_try) 2>&5
41814 ac_status=$?
41815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41816 (exit $ac_status); }; } &&
41817 { ac_try='test -s conftest.$ac_objext'
41818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41819 (eval $ac_try) 2>&5
41820 ac_status=$?
41821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41822 (exit $ac_status); }; }; then
41823 wx_cv_cflags_mthread=yes
41824 else
41825 echo "$as_me: failed program was:" >&5
41826 sed 's/^/| /' conftest.$ac_ext >&5
41827
41828 wx_cv_cflags_mthread=no
41829
41830 fi
41831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41832
41833
41834 fi
41835 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41836 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
41837
41838 if test "$wx_cv_cflags_mthread" = "yes"; then
41839 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
41840 LDFLAGS="$LDFLAGS -mthreads"
41841 else
41842 CFLAGS="$CFLAGS_OLD"
41843 fi
41844 ;;
41845 *-pc-os2*emx )
41846 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41847 LDFLAGS="$LDFLAGS -Zmt"
41848 ;;
41849 esac
41850 fi
41851 fi
41852
41853 echo "$as_me:$LINENO: checking for localtime_r" >&5
41854 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
41855 if test "${ac_cv_func_localtime_r+set}" = set; then
41856 echo $ECHO_N "(cached) $ECHO_C" >&6
41857 else
41858 cat >conftest.$ac_ext <<_ACEOF
41859 /* confdefs.h. */
41860 _ACEOF
41861 cat confdefs.h >>conftest.$ac_ext
41862 cat >>conftest.$ac_ext <<_ACEOF
41863 /* end confdefs.h. */
41864 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41866 #define localtime_r innocuous_localtime_r
41867
41868 /* System header to define __stub macros and hopefully few prototypes,
41869 which can conflict with char localtime_r (); below.
41870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41871 <limits.h> exists even on freestanding compilers. */
41872
41873 #ifdef __STDC__
41874 # include <limits.h>
41875 #else
41876 # include <assert.h>
41877 #endif
41878
41879 #undef localtime_r
41880
41881 /* Override any gcc2 internal prototype to avoid an error. */
41882 #ifdef __cplusplus
41883 extern "C"
41884 {
41885 #endif
41886 /* We use char because int might match the return type of a gcc2
41887 builtin and then its argument prototype would still apply. */
41888 char localtime_r ();
41889 /* The GNU C library defines this for functions which it implements
41890 to always fail with ENOSYS. Some functions are actually named
41891 something starting with __ and the normal name is an alias. */
41892 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
41893 choke me
41894 #else
41895 char (*f) () = localtime_r;
41896 #endif
41897 #ifdef __cplusplus
41898 }
41899 #endif
41900
41901 int
41902 main ()
41903 {
41904 return f != localtime_r;
41905 ;
41906 return 0;
41907 }
41908 _ACEOF
41909 rm -f conftest.$ac_objext conftest$ac_exeext
41910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41911 (eval $ac_link) 2>conftest.er1
41912 ac_status=$?
41913 grep -v '^ *+' conftest.er1 >conftest.err
41914 rm -f conftest.er1
41915 cat conftest.err >&5
41916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41917 (exit $ac_status); } &&
41918 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41920 (eval $ac_try) 2>&5
41921 ac_status=$?
41922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41923 (exit $ac_status); }; } &&
41924 { ac_try='test -s conftest$ac_exeext'
41925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41926 (eval $ac_try) 2>&5
41927 ac_status=$?
41928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41929 (exit $ac_status); }; }; then
41930 ac_cv_func_localtime_r=yes
41931 else
41932 echo "$as_me: failed program was:" >&5
41933 sed 's/^/| /' conftest.$ac_ext >&5
41934
41935 ac_cv_func_localtime_r=no
41936 fi
41937 rm -f conftest.err conftest.$ac_objext \
41938 conftest$ac_exeext conftest.$ac_ext
41939 fi
41940 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41941 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
41942 if test $ac_cv_func_localtime_r = yes; then
41943 cat >>confdefs.h <<\_ACEOF
41944 #define HAVE_LOCALTIME_R 1
41945 _ACEOF
41946
41947 fi
41948
41949 echo "$as_me:$LINENO: checking for gmtime_r" >&5
41950 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
41951 if test "${ac_cv_func_gmtime_r+set}" = set; then
41952 echo $ECHO_N "(cached) $ECHO_C" >&6
41953 else
41954 cat >conftest.$ac_ext <<_ACEOF
41955 /* confdefs.h. */
41956 _ACEOF
41957 cat confdefs.h >>conftest.$ac_ext
41958 cat >>conftest.$ac_ext <<_ACEOF
41959 /* end confdefs.h. */
41960 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41962 #define gmtime_r innocuous_gmtime_r
41963
41964 /* System header to define __stub macros and hopefully few prototypes,
41965 which can conflict with char gmtime_r (); below.
41966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41967 <limits.h> exists even on freestanding compilers. */
41968
41969 #ifdef __STDC__
41970 # include <limits.h>
41971 #else
41972 # include <assert.h>
41973 #endif
41974
41975 #undef gmtime_r
41976
41977 /* Override any gcc2 internal prototype to avoid an error. */
41978 #ifdef __cplusplus
41979 extern "C"
41980 {
41981 #endif
41982 /* We use char because int might match the return type of a gcc2
41983 builtin and then its argument prototype would still apply. */
41984 char gmtime_r ();
41985 /* The GNU C library defines this for functions which it implements
41986 to always fail with ENOSYS. Some functions are actually named
41987 something starting with __ and the normal name is an alias. */
41988 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41989 choke me
41990 #else
41991 char (*f) () = gmtime_r;
41992 #endif
41993 #ifdef __cplusplus
41994 }
41995 #endif
41996
41997 int
41998 main ()
41999 {
42000 return f != gmtime_r;
42001 ;
42002 return 0;
42003 }
42004 _ACEOF
42005 rm -f conftest.$ac_objext conftest$ac_exeext
42006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42007 (eval $ac_link) 2>conftest.er1
42008 ac_status=$?
42009 grep -v '^ *+' conftest.er1 >conftest.err
42010 rm -f conftest.er1
42011 cat conftest.err >&5
42012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42013 (exit $ac_status); } &&
42014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42016 (eval $ac_try) 2>&5
42017 ac_status=$?
42018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42019 (exit $ac_status); }; } &&
42020 { ac_try='test -s conftest$ac_exeext'
42021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42022 (eval $ac_try) 2>&5
42023 ac_status=$?
42024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42025 (exit $ac_status); }; }; then
42026 ac_cv_func_gmtime_r=yes
42027 else
42028 echo "$as_me: failed program was:" >&5
42029 sed 's/^/| /' conftest.$ac_ext >&5
42030
42031 ac_cv_func_gmtime_r=no
42032 fi
42033 rm -f conftest.err conftest.$ac_objext \
42034 conftest$ac_exeext conftest.$ac_ext
42035 fi
42036 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42037 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
42038 if test $ac_cv_func_gmtime_r = yes; then
42039 cat >>confdefs.h <<\_ACEOF
42040 #define HAVE_GMTIME_R 1
42041 _ACEOF
42042
42043 fi
42044
42045 echo "$as_me:$LINENO: checking for readdir_r" >&5
42046 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
42047 if test "${ac_cv_func_readdir_r+set}" = set; then
42048 echo $ECHO_N "(cached) $ECHO_C" >&6
42049 else
42050 cat >conftest.$ac_ext <<_ACEOF
42051 /* confdefs.h. */
42052 _ACEOF
42053 cat confdefs.h >>conftest.$ac_ext
42054 cat >>conftest.$ac_ext <<_ACEOF
42055 /* end confdefs.h. */
42056 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
42057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42058 #define readdir_r innocuous_readdir_r
42059
42060 /* System header to define __stub macros and hopefully few prototypes,
42061 which can conflict with char readdir_r (); below.
42062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42063 <limits.h> exists even on freestanding compilers. */
42064
42065 #ifdef __STDC__
42066 # include <limits.h>
42067 #else
42068 # include <assert.h>
42069 #endif
42070
42071 #undef readdir_r
42072
42073 /* Override any gcc2 internal prototype to avoid an error. */
42074 #ifdef __cplusplus
42075 extern "C"
42076 {
42077 #endif
42078 /* We use char because int might match the return type of a gcc2
42079 builtin and then its argument prototype would still apply. */
42080 char readdir_r ();
42081 /* The GNU C library defines this for functions which it implements
42082 to always fail with ENOSYS. Some functions are actually named
42083 something starting with __ and the normal name is an alias. */
42084 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
42085 choke me
42086 #else
42087 char (*f) () = readdir_r;
42088 #endif
42089 #ifdef __cplusplus
42090 }
42091 #endif
42092
42093 int
42094 main ()
42095 {
42096 return f != readdir_r;
42097 ;
42098 return 0;
42099 }
42100 _ACEOF
42101 rm -f conftest.$ac_objext conftest$ac_exeext
42102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42103 (eval $ac_link) 2>conftest.er1
42104 ac_status=$?
42105 grep -v '^ *+' conftest.er1 >conftest.err
42106 rm -f conftest.er1
42107 cat conftest.err >&5
42108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42109 (exit $ac_status); } &&
42110 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42112 (eval $ac_try) 2>&5
42113 ac_status=$?
42114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42115 (exit $ac_status); }; } &&
42116 { ac_try='test -s conftest$ac_exeext'
42117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42118 (eval $ac_try) 2>&5
42119 ac_status=$?
42120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42121 (exit $ac_status); }; }; then
42122 ac_cv_func_readdir_r=yes
42123 else
42124 echo "$as_me: failed program was:" >&5
42125 sed 's/^/| /' conftest.$ac_ext >&5
42126
42127 ac_cv_func_readdir_r=no
42128 fi
42129 rm -f conftest.err conftest.$ac_objext \
42130 conftest$ac_exeext conftest.$ac_ext
42131 fi
42132 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
42133 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
42134 if test $ac_cv_func_readdir_r = yes; then
42135 cat >>confdefs.h <<\_ACEOF
42136 #define HAVE_READDIR_R 1
42137 _ACEOF
42138
42139 fi
42140
42141
42142
42143
42144 ac_ext=c
42145 ac_cpp='$CPP $CPPFLAGS'
42146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42149
42150 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42151 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
42152
42153 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42154 echo $ECHO_N "(cached) $ECHO_C" >&6
42155 else
42156
42157
42158 ################################################################
42159
42160 ac_cv_func_which_gethostbyname_r=unknown
42161
42162 #
42163 # ONE ARGUMENT (sanity check)
42164 #
42165
42166 # This should fail, as there is no variant of gethostbyname_r() that takes
42167 # a single argument. If it actually compiles, then we can assume that
42168 # netdb.h is not declaring the function, and the compiler is thereby
42169 # assuming an implicit prototype. In which case, we're out of luck.
42170 #
42171 cat >conftest.$ac_ext <<_ACEOF
42172 /* confdefs.h. */
42173 _ACEOF
42174 cat confdefs.h >>conftest.$ac_ext
42175 cat >>conftest.$ac_ext <<_ACEOF
42176 /* end confdefs.h. */
42177 #include <netdb.h>
42178 int
42179 main ()
42180 {
42181
42182 char *name = "www.gnu.org";
42183 (void)gethostbyname_r(name) /* ; */
42184
42185 ;
42186 return 0;
42187 }
42188 _ACEOF
42189 rm -f conftest.$ac_objext
42190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42191 (eval $ac_compile) 2>conftest.er1
42192 ac_status=$?
42193 grep -v '^ *+' conftest.er1 >conftest.err
42194 rm -f conftest.er1
42195 cat conftest.err >&5
42196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42197 (exit $ac_status); } &&
42198 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42200 (eval $ac_try) 2>&5
42201 ac_status=$?
42202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42203 (exit $ac_status); }; } &&
42204 { ac_try='test -s conftest.$ac_objext'
42205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42206 (eval $ac_try) 2>&5
42207 ac_status=$?
42208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42209 (exit $ac_status); }; }; then
42210 ac_cv_func_which_gethostbyname_r=no
42211 else
42212 echo "$as_me: failed program was:" >&5
42213 sed 's/^/| /' conftest.$ac_ext >&5
42214
42215 fi
42216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42217
42218 #
42219 # SIX ARGUMENTS
42220 # (e.g. Linux)
42221 #
42222
42223 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42224
42225 cat >conftest.$ac_ext <<_ACEOF
42226 /* confdefs.h. */
42227 _ACEOF
42228 cat confdefs.h >>conftest.$ac_ext
42229 cat >>conftest.$ac_ext <<_ACEOF
42230 /* end confdefs.h. */
42231 #include <netdb.h>
42232 int
42233 main ()
42234 {
42235
42236 char *name = "www.gnu.org";
42237 struct hostent ret, *retp;
42238 char buf[1024];
42239 int buflen = 1024;
42240 int my_h_errno;
42241 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42242
42243 ;
42244 return 0;
42245 }
42246 _ACEOF
42247 rm -f conftest.$ac_objext
42248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42249 (eval $ac_compile) 2>conftest.er1
42250 ac_status=$?
42251 grep -v '^ *+' conftest.er1 >conftest.err
42252 rm -f conftest.er1
42253 cat conftest.err >&5
42254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42255 (exit $ac_status); } &&
42256 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42258 (eval $ac_try) 2>&5
42259 ac_status=$?
42260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42261 (exit $ac_status); }; } &&
42262 { ac_try='test -s conftest.$ac_objext'
42263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42264 (eval $ac_try) 2>&5
42265 ac_status=$?
42266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42267 (exit $ac_status); }; }; then
42268 ac_cv_func_which_gethostbyname_r=six
42269 else
42270 echo "$as_me: failed program was:" >&5
42271 sed 's/^/| /' conftest.$ac_ext >&5
42272
42273 fi
42274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42275
42276 fi
42277
42278 #
42279 # FIVE ARGUMENTS
42280 # (e.g. Solaris)
42281 #
42282
42283 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42284
42285 cat >conftest.$ac_ext <<_ACEOF
42286 /* confdefs.h. */
42287 _ACEOF
42288 cat confdefs.h >>conftest.$ac_ext
42289 cat >>conftest.$ac_ext <<_ACEOF
42290 /* end confdefs.h. */
42291 #include <netdb.h>
42292 int
42293 main ()
42294 {
42295
42296 char *name = "www.gnu.org";
42297 struct hostent ret;
42298 char buf[1024];
42299 int buflen = 1024;
42300 int my_h_errno;
42301 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42302
42303 ;
42304 return 0;
42305 }
42306 _ACEOF
42307 rm -f conftest.$ac_objext
42308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42309 (eval $ac_compile) 2>conftest.er1
42310 ac_status=$?
42311 grep -v '^ *+' conftest.er1 >conftest.err
42312 rm -f conftest.er1
42313 cat conftest.err >&5
42314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42315 (exit $ac_status); } &&
42316 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42318 (eval $ac_try) 2>&5
42319 ac_status=$?
42320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42321 (exit $ac_status); }; } &&
42322 { ac_try='test -s conftest.$ac_objext'
42323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42324 (eval $ac_try) 2>&5
42325 ac_status=$?
42326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42327 (exit $ac_status); }; }; then
42328 ac_cv_func_which_gethostbyname_r=five
42329 else
42330 echo "$as_me: failed program was:" >&5
42331 sed 's/^/| /' conftest.$ac_ext >&5
42332
42333 fi
42334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42335
42336 fi
42337
42338 #
42339 # THREE ARGUMENTS
42340 # (e.g. AIX, HP-UX, Tru64)
42341 #
42342
42343 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42344
42345 cat >conftest.$ac_ext <<_ACEOF
42346 /* confdefs.h. */
42347 _ACEOF
42348 cat confdefs.h >>conftest.$ac_ext
42349 cat >>conftest.$ac_ext <<_ACEOF
42350 /* end confdefs.h. */
42351 #include <netdb.h>
42352 int
42353 main ()
42354 {
42355
42356 char *name = "www.gnu.org";
42357 struct hostent ret;
42358 struct hostent_data data;
42359 (void)gethostbyname_r(name, &ret, &data) /* ; */
42360
42361 ;
42362 return 0;
42363 }
42364 _ACEOF
42365 rm -f conftest.$ac_objext
42366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42367 (eval $ac_compile) 2>conftest.er1
42368 ac_status=$?
42369 grep -v '^ *+' conftest.er1 >conftest.err
42370 rm -f conftest.er1
42371 cat conftest.err >&5
42372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42373 (exit $ac_status); } &&
42374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42376 (eval $ac_try) 2>&5
42377 ac_status=$?
42378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42379 (exit $ac_status); }; } &&
42380 { ac_try='test -s conftest.$ac_objext'
42381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42382 (eval $ac_try) 2>&5
42383 ac_status=$?
42384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42385 (exit $ac_status); }; }; then
42386 ac_cv_func_which_gethostbyname_r=three
42387 else
42388 echo "$as_me: failed program was:" >&5
42389 sed 's/^/| /' conftest.$ac_ext >&5
42390
42391 fi
42392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42393
42394 fi
42395
42396 ################################################################
42397
42398
42399 fi
42400
42401 case "$ac_cv_func_which_gethostbyname_r" in
42402 three)
42403 echo "$as_me:$LINENO: result: three" >&5
42404 echo "${ECHO_T}three" >&6
42405 cat >>confdefs.h <<\_ACEOF
42406 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42407 _ACEOF
42408
42409 ;;
42410
42411 five)
42412 echo "$as_me:$LINENO: result: five" >&5
42413 echo "${ECHO_T}five" >&6
42414 cat >>confdefs.h <<\_ACEOF
42415 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42416 _ACEOF
42417
42418 ;;
42419
42420 six)
42421 echo "$as_me:$LINENO: result: six" >&5
42422 echo "${ECHO_T}six" >&6
42423 cat >>confdefs.h <<\_ACEOF
42424 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42425 _ACEOF
42426
42427 ;;
42428
42429 no)
42430 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42431 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
42432 ;;
42433
42434 unknown)
42435 echo "$as_me:$LINENO: result: can't tell" >&5
42436 echo "${ECHO_T}can't tell" >&6
42437 ;;
42438
42439 *)
42440 { { echo "$as_me:$LINENO: error: internal error" >&5
42441 echo "$as_me: error: internal error" >&2;}
42442 { (exit 1); exit 1; }; }
42443 ;;
42444 esac
42445
42446 ac_ext=c
42447 ac_cpp='$CPP $CPPFLAGS'
42448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42451
42452
42453
42454 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42455 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42456 echo "$as_me:$LINENO: checking for gethostbyname" >&5
42457 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
42458 if test "${ac_cv_func_gethostbyname+set}" = set; then
42459 echo $ECHO_N "(cached) $ECHO_C" >&6
42460 else
42461 cat >conftest.$ac_ext <<_ACEOF
42462 /* confdefs.h. */
42463 _ACEOF
42464 cat confdefs.h >>conftest.$ac_ext
42465 cat >>conftest.$ac_ext <<_ACEOF
42466 /* end confdefs.h. */
42467 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42469 #define gethostbyname innocuous_gethostbyname
42470
42471 /* System header to define __stub macros and hopefully few prototypes,
42472 which can conflict with char gethostbyname (); below.
42473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42474 <limits.h> exists even on freestanding compilers. */
42475
42476 #ifdef __STDC__
42477 # include <limits.h>
42478 #else
42479 # include <assert.h>
42480 #endif
42481
42482 #undef gethostbyname
42483
42484 /* Override any gcc2 internal prototype to avoid an error. */
42485 #ifdef __cplusplus
42486 extern "C"
42487 {
42488 #endif
42489 /* We use char because int might match the return type of a gcc2
42490 builtin and then its argument prototype would still apply. */
42491 char gethostbyname ();
42492 /* The GNU C library defines this for functions which it implements
42493 to always fail with ENOSYS. Some functions are actually named
42494 something starting with __ and the normal name is an alias. */
42495 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
42496 choke me
42497 #else
42498 char (*f) () = gethostbyname;
42499 #endif
42500 #ifdef __cplusplus
42501 }
42502 #endif
42503
42504 int
42505 main ()
42506 {
42507 return f != gethostbyname;
42508 ;
42509 return 0;
42510 }
42511 _ACEOF
42512 rm -f conftest.$ac_objext conftest$ac_exeext
42513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42514 (eval $ac_link) 2>conftest.er1
42515 ac_status=$?
42516 grep -v '^ *+' conftest.er1 >conftest.err
42517 rm -f conftest.er1
42518 cat conftest.err >&5
42519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42520 (exit $ac_status); } &&
42521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42523 (eval $ac_try) 2>&5
42524 ac_status=$?
42525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42526 (exit $ac_status); }; } &&
42527 { ac_try='test -s conftest$ac_exeext'
42528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42529 (eval $ac_try) 2>&5
42530 ac_status=$?
42531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42532 (exit $ac_status); }; }; then
42533 ac_cv_func_gethostbyname=yes
42534 else
42535 echo "$as_me: failed program was:" >&5
42536 sed 's/^/| /' conftest.$ac_ext >&5
42537
42538 ac_cv_func_gethostbyname=no
42539 fi
42540 rm -f conftest.err conftest.$ac_objext \
42541 conftest$ac_exeext conftest.$ac_ext
42542 fi
42543 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42544 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
42545 if test $ac_cv_func_gethostbyname = yes; then
42546 cat >>confdefs.h <<\_ACEOF
42547 #define HAVE_GETHOSTBYNAME 1
42548 _ACEOF
42549
42550 fi
42551
42552 fi
42553
42554 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42555 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
42556 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42557 echo $ECHO_N "(cached) $ECHO_C" >&6
42558 else
42559
42560 ac_ext=cc
42561 ac_cpp='$CXXCPP $CPPFLAGS'
42562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42565
42566
42567 cat >conftest.$ac_ext <<_ACEOF
42568 /* confdefs.h. */
42569 _ACEOF
42570 cat confdefs.h >>conftest.$ac_ext
42571 cat >>conftest.$ac_ext <<_ACEOF
42572 /* end confdefs.h. */
42573 #include <netdb.h>
42574 int
42575 main ()
42576 {
42577
42578 char *name;
42579 char *proto;
42580 struct servent *se, *res;
42581 char buffer[2048];
42582 int buflen = 2048;
42583 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42584
42585 ;
42586 return 0;
42587 }
42588 _ACEOF
42589 rm -f conftest.$ac_objext
42590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42591 (eval $ac_compile) 2>conftest.er1
42592 ac_status=$?
42593 grep -v '^ *+' conftest.er1 >conftest.err
42594 rm -f conftest.er1
42595 cat conftest.err >&5
42596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42597 (exit $ac_status); } &&
42598 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42600 (eval $ac_try) 2>&5
42601 ac_status=$?
42602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42603 (exit $ac_status); }; } &&
42604 { ac_try='test -s conftest.$ac_objext'
42605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42606 (eval $ac_try) 2>&5
42607 ac_status=$?
42608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42609 (exit $ac_status); }; }; then
42610 ac_cv_func_which_getservbyname_r=six
42611 else
42612 echo "$as_me: failed program was:" >&5
42613 sed 's/^/| /' conftest.$ac_ext >&5
42614
42615
42616 cat >conftest.$ac_ext <<_ACEOF
42617 /* confdefs.h. */
42618 _ACEOF
42619 cat confdefs.h >>conftest.$ac_ext
42620 cat >>conftest.$ac_ext <<_ACEOF
42621 /* end confdefs.h. */
42622 #include <netdb.h>
42623 int
42624 main ()
42625 {
42626
42627 char *name;
42628 char *proto;
42629 struct servent *se;
42630 char buffer[2048];
42631 int buflen = 2048;
42632 (void) getservbyname_r(name, proto, se, buffer, buflen)
42633
42634 ;
42635 return 0;
42636 }
42637 _ACEOF
42638 rm -f conftest.$ac_objext
42639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42640 (eval $ac_compile) 2>conftest.er1
42641 ac_status=$?
42642 grep -v '^ *+' conftest.er1 >conftest.err
42643 rm -f conftest.er1
42644 cat conftest.err >&5
42645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42646 (exit $ac_status); } &&
42647 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42649 (eval $ac_try) 2>&5
42650 ac_status=$?
42651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42652 (exit $ac_status); }; } &&
42653 { ac_try='test -s conftest.$ac_objext'
42654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42655 (eval $ac_try) 2>&5
42656 ac_status=$?
42657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42658 (exit $ac_status); }; }; then
42659 ac_cv_func_which_getservbyname_r=five
42660 else
42661 echo "$as_me: failed program was:" >&5
42662 sed 's/^/| /' conftest.$ac_ext >&5
42663
42664
42665 cat >conftest.$ac_ext <<_ACEOF
42666 /* confdefs.h. */
42667 _ACEOF
42668 cat confdefs.h >>conftest.$ac_ext
42669 cat >>conftest.$ac_ext <<_ACEOF
42670 /* end confdefs.h. */
42671 #include <netdb.h>
42672 int
42673 main ()
42674 {
42675
42676 char *name;
42677 char *proto;
42678 struct servent *se;
42679 struct servent_data data;
42680 (void) getservbyname_r(name, proto, se, &data);
42681
42682 ;
42683 return 0;
42684 }
42685 _ACEOF
42686 rm -f conftest.$ac_objext
42687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42688 (eval $ac_compile) 2>conftest.er1
42689 ac_status=$?
42690 grep -v '^ *+' conftest.er1 >conftest.err
42691 rm -f conftest.er1
42692 cat conftest.err >&5
42693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42694 (exit $ac_status); } &&
42695 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42697 (eval $ac_try) 2>&5
42698 ac_status=$?
42699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42700 (exit $ac_status); }; } &&
42701 { ac_try='test -s conftest.$ac_objext'
42702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42703 (eval $ac_try) 2>&5
42704 ac_status=$?
42705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42706 (exit $ac_status); }; }; then
42707 ac_cv_func_which_getservbyname_r=four
42708 else
42709 echo "$as_me: failed program was:" >&5
42710 sed 's/^/| /' conftest.$ac_ext >&5
42711
42712 ac_cv_func_which_getservbyname_r=no
42713
42714 fi
42715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42716
42717
42718 fi
42719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42720
42721
42722 fi
42723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42724 ac_ext=c
42725 ac_cpp='$CPP $CPPFLAGS'
42726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42729
42730
42731
42732 fi
42733 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
42734 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
42735
42736 if test $ac_cv_func_which_getservbyname_r = six; then
42737 cat >>confdefs.h <<\_ACEOF
42738 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
42739 _ACEOF
42740
42741 elif test $ac_cv_func_which_getservbyname_r = five; then
42742 cat >>confdefs.h <<\_ACEOF
42743 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
42744 _ACEOF
42745
42746 elif test $ac_cv_func_which_getservbyname_r = four; then
42747 cat >>confdefs.h <<\_ACEOF
42748 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
42749 _ACEOF
42750
42751 fi
42752
42753
42754 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
42755 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
42756
42757 for ac_func in getservbyname
42758 do
42759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42760 echo "$as_me:$LINENO: checking for $ac_func" >&5
42761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42762 if eval "test \"\${$as_ac_var+set}\" = set"; then
42763 echo $ECHO_N "(cached) $ECHO_C" >&6
42764 else
42765 cat >conftest.$ac_ext <<_ACEOF
42766 /* confdefs.h. */
42767 _ACEOF
42768 cat confdefs.h >>conftest.$ac_ext
42769 cat >>conftest.$ac_ext <<_ACEOF
42770 /* end confdefs.h. */
42771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42773 #define $ac_func innocuous_$ac_func
42774
42775 /* System header to define __stub macros and hopefully few prototypes,
42776 which can conflict with char $ac_func (); below.
42777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42778 <limits.h> exists even on freestanding compilers. */
42779
42780 #ifdef __STDC__
42781 # include <limits.h>
42782 #else
42783 # include <assert.h>
42784 #endif
42785
42786 #undef $ac_func
42787
42788 /* Override any gcc2 internal prototype to avoid an error. */
42789 #ifdef __cplusplus
42790 extern "C"
42791 {
42792 #endif
42793 /* We use char because int might match the return type of a gcc2
42794 builtin and then its argument prototype would still apply. */
42795 char $ac_func ();
42796 /* The GNU C library defines this for functions which it implements
42797 to always fail with ENOSYS. Some functions are actually named
42798 something starting with __ and the normal name is an alias. */
42799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42800 choke me
42801 #else
42802 char (*f) () = $ac_func;
42803 #endif
42804 #ifdef __cplusplus
42805 }
42806 #endif
42807
42808 int
42809 main ()
42810 {
42811 return f != $ac_func;
42812 ;
42813 return 0;
42814 }
42815 _ACEOF
42816 rm -f conftest.$ac_objext conftest$ac_exeext
42817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42818 (eval $ac_link) 2>conftest.er1
42819 ac_status=$?
42820 grep -v '^ *+' conftest.er1 >conftest.err
42821 rm -f conftest.er1
42822 cat conftest.err >&5
42823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42824 (exit $ac_status); } &&
42825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
42826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42827 (eval $ac_try) 2>&5
42828 ac_status=$?
42829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42830 (exit $ac_status); }; } &&
42831 { ac_try='test -s conftest$ac_exeext'
42832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42833 (eval $ac_try) 2>&5
42834 ac_status=$?
42835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42836 (exit $ac_status); }; }; then
42837 eval "$as_ac_var=yes"
42838 else
42839 echo "$as_me: failed program was:" >&5
42840 sed 's/^/| /' conftest.$ac_ext >&5
42841
42842 eval "$as_ac_var=no"
42843 fi
42844 rm -f conftest.err conftest.$ac_objext \
42845 conftest$ac_exeext conftest.$ac_ext
42846 fi
42847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42849 if test `eval echo '${'$as_ac_var'}'` = yes; then
42850 cat >>confdefs.h <<_ACEOF
42851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42852 _ACEOF
42853 cat >>confdefs.h <<\_ACEOF
42854 #define HAVE_GETSERVBYNAME 1
42855 _ACEOF
42856
42857 fi
42858 done
42859
42860 fi
42861
42862 if test "$wxUSE_THREADS" = "yes"; then
42863 cat >>confdefs.h <<\_ACEOF
42864 #define wxUSE_THREADS 1
42865 _ACEOF
42866
42867
42868 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42869 else
42870 if test "$wx_cv_func_strtok_r" = "yes"; then
42871 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42872 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
42873 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42874 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42875 echo "$as_me:$LINENO: result: yes" >&5
42876 echo "${ECHO_T}yes" >&6
42877 else
42878 echo "$as_me:$LINENO: result: no" >&5
42879 echo "${ECHO_T}no" >&6
42880 fi
42881 fi
42882 fi
42883
42884 if test "$WXGTK20" = 1 ; then
42885 cat >>confdefs.h <<_ACEOF
42886 #define __WXGTK20__ $WXGTK20
42887 _ACEOF
42888
42889 WXGTK12=1
42890 fi
42891
42892 if test "$WXGTK12" = 1 ; then
42893 cat >>confdefs.h <<_ACEOF
42894 #define __WXGTK12__ $WXGTK12
42895 _ACEOF
42896
42897 fi
42898
42899 if test "$WXGTK127" = 1 ; then
42900 cat >>confdefs.h <<_ACEOF
42901 #define __WXGTK127__ $WXGTK127
42902 _ACEOF
42903
42904 fi
42905
42906 if test "$WXGPE" = 1 ; then
42907 cat >>confdefs.h <<_ACEOF
42908 #define __WXGPE__ $WXGPE
42909 _ACEOF
42910
42911 fi
42912
42913 DEBUG_CFLAGS=
42914 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42915 DEBUG_CFLAGS="-g"
42916 wxUSE_OPTIMISE=no
42917 fi
42918
42919 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42920 wxUSE_DEBUG_INFO=yes
42921 if test "$GCC" = yes; then
42922 DEBUG_CFLAGS="-ggdb"
42923 fi
42924 fi
42925
42926 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42927 cat >>confdefs.h <<\_ACEOF
42928 #define WXDEBUG 1
42929 _ACEOF
42930
42931 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42932 else
42933 if test "$wxUSE_GTK" = 1 ; then
42934 if test "x$wxGTK_VERSION" = "x1" ; then
42935 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42936 fi
42937 fi
42938 fi
42939
42940 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42941 cat >>confdefs.h <<\_ACEOF
42942 #define wxUSE_MEMORY_TRACING 1
42943 _ACEOF
42944
42945 cat >>confdefs.h <<\_ACEOF
42946 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42947 _ACEOF
42948
42949 cat >>confdefs.h <<\_ACEOF
42950 #define wxUSE_DEBUG_NEW_ALWAYS 1
42951 _ACEOF
42952
42953 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42954 fi
42955
42956 if test "$wxUSE_DMALLOC" = "yes" ; then
42957 DMALLOC_LIBS="-ldmallocthcxx"
42958 fi
42959
42960 PROFILE_FLAGS=
42961 if test "$wxUSE_PROFILE" = "yes" ; then
42962 PROFILE_FLAGS=" -pg"
42963 fi
42964
42965 if test "$GCC" = "yes" ; then
42966 if test "$wxUSE_NO_RTTI" = "yes" ; then
42967 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42968 fi
42969 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42970 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42971 fi
42972 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42973 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42974 fi
42975
42976 case "${host}" in
42977 powerpc*-*-aix* )
42978 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42979 ;;
42980 *-hppa* )
42981 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42982 ;;
42983 esac
42984 fi
42985
42986 OPTIMISE_CFLAGS=
42987 if test "$wxUSE_OPTIMISE" = "no" ; then
42988 if test "$GCC" = yes ; then
42989 OPTIMISE_CFLAGS="-O0"
42990 fi
42991 else
42992 if test "$GCC" = yes ; then
42993 case "${host}" in
42994 *-pc-os2_emx | *-pc-os2-emx )
42995 OPTIMISE_CFLAGS="-O2"
42996 ;;
42997 *)
42998 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42999 ;;
43000 esac
43001 else
43002 OPTIMISE_CFLAGS="-O"
43003 fi
43004 fi
43005
43006
43007 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43008 cat >>confdefs.h <<\_ACEOF
43009 #define WXWIN_COMPATIBILITY_2_6 1
43010 _ACEOF
43011
43012
43013 WXWIN_COMPATIBILITY_2_8="yes"
43014 fi
43015
43016 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43017 cat >>confdefs.h <<\_ACEOF
43018 #define WXWIN_COMPATIBILITY_2_8 1
43019 _ACEOF
43020
43021 fi
43022
43023
43024 if test "$wxUSE_GUI" = "yes"; then
43025 cat >>confdefs.h <<\_ACEOF
43026 #define wxUSE_GUI 1
43027 _ACEOF
43028
43029
43030 fi
43031
43032
43033 if test "$wxUSE_UNIX" = "yes"; then
43034 cat >>confdefs.h <<\_ACEOF
43035 #define wxUSE_UNIX 1
43036 _ACEOF
43037
43038 fi
43039
43040
43041 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43042
43043 HAVE_DL_FUNCS=0
43044 HAVE_SHL_FUNCS=0
43045 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43046 if test "$USE_DARWIN" = 1; then
43047 HAVE_DL_FUNCS=1
43048 elif test "$USE_DOS" = 1; then
43049 HAVE_DL_FUNCS=0
43050 else
43051
43052 for ac_func in dlopen
43053 do
43054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43055 echo "$as_me:$LINENO: checking for $ac_func" >&5
43056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43057 if eval "test \"\${$as_ac_var+set}\" = set"; then
43058 echo $ECHO_N "(cached) $ECHO_C" >&6
43059 else
43060 cat >conftest.$ac_ext <<_ACEOF
43061 /* confdefs.h. */
43062 _ACEOF
43063 cat confdefs.h >>conftest.$ac_ext
43064 cat >>conftest.$ac_ext <<_ACEOF
43065 /* end confdefs.h. */
43066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43068 #define $ac_func innocuous_$ac_func
43069
43070 /* System header to define __stub macros and hopefully few prototypes,
43071 which can conflict with char $ac_func (); below.
43072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43073 <limits.h> exists even on freestanding compilers. */
43074
43075 #ifdef __STDC__
43076 # include <limits.h>
43077 #else
43078 # include <assert.h>
43079 #endif
43080
43081 #undef $ac_func
43082
43083 /* Override any gcc2 internal prototype to avoid an error. */
43084 #ifdef __cplusplus
43085 extern "C"
43086 {
43087 #endif
43088 /* We use char because int might match the return type of a gcc2
43089 builtin and then its argument prototype would still apply. */
43090 char $ac_func ();
43091 /* The GNU C library defines this for functions which it implements
43092 to always fail with ENOSYS. Some functions are actually named
43093 something starting with __ and the normal name is an alias. */
43094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43095 choke me
43096 #else
43097 char (*f) () = $ac_func;
43098 #endif
43099 #ifdef __cplusplus
43100 }
43101 #endif
43102
43103 int
43104 main ()
43105 {
43106 return f != $ac_func;
43107 ;
43108 return 0;
43109 }
43110 _ACEOF
43111 rm -f conftest.$ac_objext conftest$ac_exeext
43112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43113 (eval $ac_link) 2>conftest.er1
43114 ac_status=$?
43115 grep -v '^ *+' conftest.er1 >conftest.err
43116 rm -f conftest.er1
43117 cat conftest.err >&5
43118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43119 (exit $ac_status); } &&
43120 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43122 (eval $ac_try) 2>&5
43123 ac_status=$?
43124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43125 (exit $ac_status); }; } &&
43126 { ac_try='test -s conftest$ac_exeext'
43127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43128 (eval $ac_try) 2>&5
43129 ac_status=$?
43130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43131 (exit $ac_status); }; }; then
43132 eval "$as_ac_var=yes"
43133 else
43134 echo "$as_me: failed program was:" >&5
43135 sed 's/^/| /' conftest.$ac_ext >&5
43136
43137 eval "$as_ac_var=no"
43138 fi
43139 rm -f conftest.err conftest.$ac_objext \
43140 conftest$ac_exeext conftest.$ac_ext
43141 fi
43142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43144 if test `eval echo '${'$as_ac_var'}'` = yes; then
43145 cat >>confdefs.h <<_ACEOF
43146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43147 _ACEOF
43148
43149 cat >>confdefs.h <<\_ACEOF
43150 #define HAVE_DLOPEN 1
43151 _ACEOF
43152
43153 HAVE_DL_FUNCS=1
43154
43155 else
43156
43157 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43158 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
43159 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43160 echo $ECHO_N "(cached) $ECHO_C" >&6
43161 else
43162 ac_check_lib_save_LIBS=$LIBS
43163 LIBS="-ldl $LIBS"
43164 cat >conftest.$ac_ext <<_ACEOF
43165 /* confdefs.h. */
43166 _ACEOF
43167 cat confdefs.h >>conftest.$ac_ext
43168 cat >>conftest.$ac_ext <<_ACEOF
43169 /* end confdefs.h. */
43170
43171 /* Override any gcc2 internal prototype to avoid an error. */
43172 #ifdef __cplusplus
43173 extern "C"
43174 #endif
43175 /* We use char because int might match the return type of a gcc2
43176 builtin and then its argument prototype would still apply. */
43177 char dlopen ();
43178 int
43179 main ()
43180 {
43181 dlopen ();
43182 ;
43183 return 0;
43184 }
43185 _ACEOF
43186 rm -f conftest.$ac_objext conftest$ac_exeext
43187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43188 (eval $ac_link) 2>conftest.er1
43189 ac_status=$?
43190 grep -v '^ *+' conftest.er1 >conftest.err
43191 rm -f conftest.er1
43192 cat conftest.err >&5
43193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43194 (exit $ac_status); } &&
43195 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43197 (eval $ac_try) 2>&5
43198 ac_status=$?
43199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43200 (exit $ac_status); }; } &&
43201 { ac_try='test -s conftest$ac_exeext'
43202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43203 (eval $ac_try) 2>&5
43204 ac_status=$?
43205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43206 (exit $ac_status); }; }; then
43207 ac_cv_lib_dl_dlopen=yes
43208 else
43209 echo "$as_me: failed program was:" >&5
43210 sed 's/^/| /' conftest.$ac_ext >&5
43211
43212 ac_cv_lib_dl_dlopen=no
43213 fi
43214 rm -f conftest.err conftest.$ac_objext \
43215 conftest$ac_exeext conftest.$ac_ext
43216 LIBS=$ac_check_lib_save_LIBS
43217 fi
43218 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43219 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
43220 if test $ac_cv_lib_dl_dlopen = yes; then
43221
43222 cat >>confdefs.h <<\_ACEOF
43223 #define HAVE_DLOPEN 1
43224 _ACEOF
43225
43226 HAVE_DL_FUNCS=1
43227 DL_LINK=" -ldl$DL_LINK"
43228
43229 else
43230
43231
43232 for ac_func in shl_load
43233 do
43234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43235 echo "$as_me:$LINENO: checking for $ac_func" >&5
43236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43237 if eval "test \"\${$as_ac_var+set}\" = set"; then
43238 echo $ECHO_N "(cached) $ECHO_C" >&6
43239 else
43240 cat >conftest.$ac_ext <<_ACEOF
43241 /* confdefs.h. */
43242 _ACEOF
43243 cat confdefs.h >>conftest.$ac_ext
43244 cat >>conftest.$ac_ext <<_ACEOF
43245 /* end confdefs.h. */
43246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43248 #define $ac_func innocuous_$ac_func
43249
43250 /* System header to define __stub macros and hopefully few prototypes,
43251 which can conflict with char $ac_func (); below.
43252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43253 <limits.h> exists even on freestanding compilers. */
43254
43255 #ifdef __STDC__
43256 # include <limits.h>
43257 #else
43258 # include <assert.h>
43259 #endif
43260
43261 #undef $ac_func
43262
43263 /* Override any gcc2 internal prototype to avoid an error. */
43264 #ifdef __cplusplus
43265 extern "C"
43266 {
43267 #endif
43268 /* We use char because int might match the return type of a gcc2
43269 builtin and then its argument prototype would still apply. */
43270 char $ac_func ();
43271 /* The GNU C library defines this for functions which it implements
43272 to always fail with ENOSYS. Some functions are actually named
43273 something starting with __ and the normal name is an alias. */
43274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43275 choke me
43276 #else
43277 char (*f) () = $ac_func;
43278 #endif
43279 #ifdef __cplusplus
43280 }
43281 #endif
43282
43283 int
43284 main ()
43285 {
43286 return f != $ac_func;
43287 ;
43288 return 0;
43289 }
43290 _ACEOF
43291 rm -f conftest.$ac_objext conftest$ac_exeext
43292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43293 (eval $ac_link) 2>conftest.er1
43294 ac_status=$?
43295 grep -v '^ *+' conftest.er1 >conftest.err
43296 rm -f conftest.er1
43297 cat conftest.err >&5
43298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43299 (exit $ac_status); } &&
43300 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43302 (eval $ac_try) 2>&5
43303 ac_status=$?
43304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43305 (exit $ac_status); }; } &&
43306 { ac_try='test -s conftest$ac_exeext'
43307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43308 (eval $ac_try) 2>&5
43309 ac_status=$?
43310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43311 (exit $ac_status); }; }; then
43312 eval "$as_ac_var=yes"
43313 else
43314 echo "$as_me: failed program was:" >&5
43315 sed 's/^/| /' conftest.$ac_ext >&5
43316
43317 eval "$as_ac_var=no"
43318 fi
43319 rm -f conftest.err conftest.$ac_objext \
43320 conftest$ac_exeext conftest.$ac_ext
43321 fi
43322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43324 if test `eval echo '${'$as_ac_var'}'` = yes; then
43325 cat >>confdefs.h <<_ACEOF
43326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43327 _ACEOF
43328
43329 cat >>confdefs.h <<\_ACEOF
43330 #define HAVE_SHL_LOAD 1
43331 _ACEOF
43332
43333 HAVE_SHL_FUNCS=1
43334
43335 else
43336
43337 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43338 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
43339 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43340 echo $ECHO_N "(cached) $ECHO_C" >&6
43341 else
43342 ac_check_lib_save_LIBS=$LIBS
43343 LIBS="-lshl_load $LIBS"
43344 cat >conftest.$ac_ext <<_ACEOF
43345 /* confdefs.h. */
43346 _ACEOF
43347 cat confdefs.h >>conftest.$ac_ext
43348 cat >>conftest.$ac_ext <<_ACEOF
43349 /* end confdefs.h. */
43350
43351 /* Override any gcc2 internal prototype to avoid an error. */
43352 #ifdef __cplusplus
43353 extern "C"
43354 #endif
43355 /* We use char because int might match the return type of a gcc2
43356 builtin and then its argument prototype would still apply. */
43357 char dld ();
43358 int
43359 main ()
43360 {
43361 dld ();
43362 ;
43363 return 0;
43364 }
43365 _ACEOF
43366 rm -f conftest.$ac_objext conftest$ac_exeext
43367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43368 (eval $ac_link) 2>conftest.er1
43369 ac_status=$?
43370 grep -v '^ *+' conftest.er1 >conftest.err
43371 rm -f conftest.er1
43372 cat conftest.err >&5
43373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43374 (exit $ac_status); } &&
43375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43377 (eval $ac_try) 2>&5
43378 ac_status=$?
43379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43380 (exit $ac_status); }; } &&
43381 { ac_try='test -s conftest$ac_exeext'
43382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43383 (eval $ac_try) 2>&5
43384 ac_status=$?
43385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43386 (exit $ac_status); }; }; then
43387 ac_cv_lib_shl_load_dld=yes
43388 else
43389 echo "$as_me: failed program was:" >&5
43390 sed 's/^/| /' conftest.$ac_ext >&5
43391
43392 ac_cv_lib_shl_load_dld=no
43393 fi
43394 rm -f conftest.err conftest.$ac_objext \
43395 conftest$ac_exeext conftest.$ac_ext
43396 LIBS=$ac_check_lib_save_LIBS
43397 fi
43398 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43399 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
43400 if test $ac_cv_lib_shl_load_dld = yes; then
43401
43402 HAVE_SHL_FUNCS=1
43403 DL_LINK=" -ldld$DL_LINK"
43404
43405 fi
43406
43407
43408 fi
43409 done
43410
43411
43412 fi
43413
43414
43415 fi
43416 done
43417
43418
43419 if test "$HAVE_DL_FUNCS" = 1; then
43420
43421 for ac_func in dlerror
43422 do
43423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43424 echo "$as_me:$LINENO: checking for $ac_func" >&5
43425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43426 if eval "test \"\${$as_ac_var+set}\" = set"; then
43427 echo $ECHO_N "(cached) $ECHO_C" >&6
43428 else
43429 cat >conftest.$ac_ext <<_ACEOF
43430 /* confdefs.h. */
43431 _ACEOF
43432 cat confdefs.h >>conftest.$ac_ext
43433 cat >>conftest.$ac_ext <<_ACEOF
43434 /* end confdefs.h. */
43435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43437 #define $ac_func innocuous_$ac_func
43438
43439 /* System header to define __stub macros and hopefully few prototypes,
43440 which can conflict with char $ac_func (); below.
43441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43442 <limits.h> exists even on freestanding compilers. */
43443
43444 #ifdef __STDC__
43445 # include <limits.h>
43446 #else
43447 # include <assert.h>
43448 #endif
43449
43450 #undef $ac_func
43451
43452 /* Override any gcc2 internal prototype to avoid an error. */
43453 #ifdef __cplusplus
43454 extern "C"
43455 {
43456 #endif
43457 /* We use char because int might match the return type of a gcc2
43458 builtin and then its argument prototype would still apply. */
43459 char $ac_func ();
43460 /* The GNU C library defines this for functions which it implements
43461 to always fail with ENOSYS. Some functions are actually named
43462 something starting with __ and the normal name is an alias. */
43463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43464 choke me
43465 #else
43466 char (*f) () = $ac_func;
43467 #endif
43468 #ifdef __cplusplus
43469 }
43470 #endif
43471
43472 int
43473 main ()
43474 {
43475 return f != $ac_func;
43476 ;
43477 return 0;
43478 }
43479 _ACEOF
43480 rm -f conftest.$ac_objext conftest$ac_exeext
43481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43482 (eval $ac_link) 2>conftest.er1
43483 ac_status=$?
43484 grep -v '^ *+' conftest.er1 >conftest.err
43485 rm -f conftest.er1
43486 cat conftest.err >&5
43487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43488 (exit $ac_status); } &&
43489 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43491 (eval $ac_try) 2>&5
43492 ac_status=$?
43493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43494 (exit $ac_status); }; } &&
43495 { ac_try='test -s conftest$ac_exeext'
43496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43497 (eval $ac_try) 2>&5
43498 ac_status=$?
43499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43500 (exit $ac_status); }; }; then
43501 eval "$as_ac_var=yes"
43502 else
43503 echo "$as_me: failed program was:" >&5
43504 sed 's/^/| /' conftest.$ac_ext >&5
43505
43506 eval "$as_ac_var=no"
43507 fi
43508 rm -f conftest.err conftest.$ac_objext \
43509 conftest$ac_exeext conftest.$ac_ext
43510 fi
43511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43513 if test `eval echo '${'$as_ac_var'}'` = yes; then
43514 cat >>confdefs.h <<_ACEOF
43515 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43516 _ACEOF
43517 cat >>confdefs.h <<\_ACEOF
43518 #define HAVE_DLERROR 1
43519 _ACEOF
43520
43521 else
43522
43523 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43524 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
43525 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43526 echo $ECHO_N "(cached) $ECHO_C" >&6
43527 else
43528 ac_check_lib_save_LIBS=$LIBS
43529 LIBS="-ldl $LIBS"
43530 cat >conftest.$ac_ext <<_ACEOF
43531 /* confdefs.h. */
43532 _ACEOF
43533 cat confdefs.h >>conftest.$ac_ext
43534 cat >>conftest.$ac_ext <<_ACEOF
43535 /* end confdefs.h. */
43536
43537 /* Override any gcc2 internal prototype to avoid an error. */
43538 #ifdef __cplusplus
43539 extern "C"
43540 #endif
43541 /* We use char because int might match the return type of a gcc2
43542 builtin and then its argument prototype would still apply. */
43543 char dlerror ();
43544 int
43545 main ()
43546 {
43547 dlerror ();
43548 ;
43549 return 0;
43550 }
43551 _ACEOF
43552 rm -f conftest.$ac_objext conftest$ac_exeext
43553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43554 (eval $ac_link) 2>conftest.er1
43555 ac_status=$?
43556 grep -v '^ *+' conftest.er1 >conftest.err
43557 rm -f conftest.er1
43558 cat conftest.err >&5
43559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43560 (exit $ac_status); } &&
43561 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43563 (eval $ac_try) 2>&5
43564 ac_status=$?
43565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43566 (exit $ac_status); }; } &&
43567 { ac_try='test -s conftest$ac_exeext'
43568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43569 (eval $ac_try) 2>&5
43570 ac_status=$?
43571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43572 (exit $ac_status); }; }; then
43573 ac_cv_lib_dl_dlerror=yes
43574 else
43575 echo "$as_me: failed program was:" >&5
43576 sed 's/^/| /' conftest.$ac_ext >&5
43577
43578 ac_cv_lib_dl_dlerror=no
43579 fi
43580 rm -f conftest.err conftest.$ac_objext \
43581 conftest$ac_exeext conftest.$ac_ext
43582 LIBS=$ac_check_lib_save_LIBS
43583 fi
43584 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43585 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
43586 if test $ac_cv_lib_dl_dlerror = yes; then
43587 cat >>confdefs.h <<\_ACEOF
43588 #define HAVE_DLERROR 1
43589 _ACEOF
43590
43591 fi
43592
43593
43594
43595 fi
43596 done
43597
43598 fi
43599 fi
43600
43601 if test "$HAVE_DL_FUNCS" = 0; then
43602 if test "$HAVE_SHL_FUNCS" = 0; then
43603 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43604 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43605 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43606 wxUSE_DYNAMIC_LOADER=no
43607 wxUSE_DYNLIB_CLASS=no
43608 else
43609 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43610 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43611 fi
43612 fi
43613 fi
43614 fi
43615 fi
43616
43617 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43618 cat >>confdefs.h <<\_ACEOF
43619 #define wxUSE_DYNAMIC_LOADER 1
43620 _ACEOF
43621
43622 fi
43623 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43624 cat >>confdefs.h <<\_ACEOF
43625 #define wxUSE_DYNLIB_CLASS 1
43626 _ACEOF
43627
43628 fi
43629
43630
43631
43632 if test "$wxUSE_PLUGINS" = "yes" ; then
43633 if test "$wxUSE_SHARED" = "no" ; then
43634 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43635 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43636 wxUSE_PLUGINS=no
43637 fi
43638 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43639 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43640 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43641 wxUSE_PLUGINS=no
43642 fi
43643 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43644 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43645 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43646 wxUSE_PLUGINS=no
43647 fi
43648 if test "$wxUSE_PLUGINS" = "yes" ; then
43649 cat >>confdefs.h <<\_ACEOF
43650 #define wxUSE_PLUGINS 1
43651 _ACEOF
43652
43653 fi
43654 fi
43655
43656
43657 if test "$wxUSE_STL" = "yes"; then
43658 cat >>confdefs.h <<\_ACEOF
43659 #define wxUSE_STL 1
43660 _ACEOF
43661
43662 fi
43663
43664 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
43665 cat >>confdefs.h <<\_ACEOF
43666 #define wxUSE_EXTENDED_RTTI 1
43667 _ACEOF
43668
43669 fi
43670
43671 if test "$wxUSE_APPLE_IEEE" = "yes"; then
43672 cat >>confdefs.h <<\_ACEOF
43673 #define wxUSE_APPLE_IEEE 1
43674 _ACEOF
43675
43676 fi
43677
43678 if test "$wxUSE_TIMER" = "yes"; then
43679 cat >>confdefs.h <<\_ACEOF
43680 #define wxUSE_TIMER 1
43681 _ACEOF
43682
43683 fi
43684
43685 if test "$USE_UNIX" = "1" ; then
43686 if test "$wxUSE_MGL" != 1; then
43687 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
43688 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
43689 if test "${ac_cv_header_sys_soundcard+set}" = set; then
43690 echo $ECHO_N "(cached) $ECHO_C" >&6
43691 else
43692
43693 cat >conftest.$ac_ext <<_ACEOF
43694 /* confdefs.h. */
43695 _ACEOF
43696 cat confdefs.h >>conftest.$ac_ext
43697 cat >>conftest.$ac_ext <<_ACEOF
43698 /* end confdefs.h. */
43699
43700 #include <sys/ioctl.h>
43701 #include <sys/soundcard.h>
43702
43703 int
43704 main ()
43705 {
43706
43707 ioctl(0, SNDCTL_DSP_SPEED, 0);
43708
43709 ;
43710 return 0;
43711 }
43712 _ACEOF
43713 rm -f conftest.$ac_objext conftest$ac_exeext
43714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43715 (eval $ac_link) 2>conftest.er1
43716 ac_status=$?
43717 grep -v '^ *+' conftest.er1 >conftest.err
43718 rm -f conftest.er1
43719 cat conftest.err >&5
43720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43721 (exit $ac_status); } &&
43722 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43724 (eval $ac_try) 2>&5
43725 ac_status=$?
43726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43727 (exit $ac_status); }; } &&
43728 { ac_try='test -s conftest$ac_exeext'
43729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43730 (eval $ac_try) 2>&5
43731 ac_status=$?
43732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43733 (exit $ac_status); }; }; then
43734 ac_cv_header_sys_soundcard=yes
43735 else
43736 echo "$as_me: failed program was:" >&5
43737 sed 's/^/| /' conftest.$ac_ext >&5
43738
43739
43740 saveLibs="$LIBS"
43741 LIBS="$saveLibs -lossaudio"
43742 cat >conftest.$ac_ext <<_ACEOF
43743 /* confdefs.h. */
43744 _ACEOF
43745 cat confdefs.h >>conftest.$ac_ext
43746 cat >>conftest.$ac_ext <<_ACEOF
43747 /* end confdefs.h. */
43748
43749 #include <sys/ioctl.h>
43750 #include <sys/soundcard.h>
43751
43752 int
43753 main ()
43754 {
43755
43756 ioctl(0, SNDCTL_DSP_SPEED, 0);
43757
43758 ;
43759 return 0;
43760 }
43761 _ACEOF
43762 rm -f conftest.$ac_objext conftest$ac_exeext
43763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43764 (eval $ac_link) 2>conftest.er1
43765 ac_status=$?
43766 grep -v '^ *+' conftest.er1 >conftest.err
43767 rm -f conftest.er1
43768 cat conftest.err >&5
43769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43770 (exit $ac_status); } &&
43771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
43772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43773 (eval $ac_try) 2>&5
43774 ac_status=$?
43775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43776 (exit $ac_status); }; } &&
43777 { ac_try='test -s conftest$ac_exeext'
43778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43779 (eval $ac_try) 2>&5
43780 ac_status=$?
43781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782 (exit $ac_status); }; }; then
43783 ac_cv_header_sys_soundcard=yes
43784 else
43785 echo "$as_me: failed program was:" >&5
43786 sed 's/^/| /' conftest.$ac_ext >&5
43787
43788
43789 LIBS="$saveLibs"
43790 ac_cv_header_sys_soundcard=no
43791
43792
43793 fi
43794 rm -f conftest.err conftest.$ac_objext \
43795 conftest$ac_exeext conftest.$ac_ext
43796
43797
43798 fi
43799 rm -f conftest.err conftest.$ac_objext \
43800 conftest$ac_exeext conftest.$ac_ext
43801
43802 fi
43803 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43804 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
43805 fi
43806
43807 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43808 cat >>confdefs.h <<\_ACEOF
43809 #define HAVE_SYS_SOUNDCARD_H 1
43810 _ACEOF
43811
43812 fi
43813 fi
43814
43815 WITH_PLUGIN_SDL=0
43816 if test "$wxUSE_SOUND" = "yes"; then
43817 if test "$USE_UNIX" = "1" ; then
43818 if test "$wxUSE_LIBSDL" != "no"; then
43819
43820 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
43821 if test "${with_sdl_prefix+set}" = set; then
43822 withval="$with_sdl_prefix"
43823 sdl_prefix="$withval"
43824 else
43825 sdl_prefix=""
43826 fi;
43827
43828 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
43829 if test "${with_sdl_exec_prefix+set}" = set; then
43830 withval="$with_sdl_exec_prefix"
43831 sdl_exec_prefix="$withval"
43832 else
43833 sdl_exec_prefix=""
43834 fi;
43835 # Check whether --enable-sdltest or --disable-sdltest was given.
43836 if test "${enable_sdltest+set}" = set; then
43837 enableval="$enable_sdltest"
43838
43839 else
43840 enable_sdltest=yes
43841 fi;
43842
43843 if test x$sdl_exec_prefix != x ; then
43844 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43845 if test x${SDL_CONFIG+set} != xset ; then
43846 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43847 fi
43848 fi
43849 if test x$sdl_prefix != x ; then
43850 sdl_args="$sdl_args --prefix=$sdl_prefix"
43851 if test x${SDL_CONFIG+set} != xset ; then
43852 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43853 fi
43854 fi
43855
43856 if test "x$prefix" != xNONE; then
43857 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43858 fi
43859 # Extract the first word of "sdl-config", so it can be a program name with args.
43860 set dummy sdl-config; ac_word=$2
43861 echo "$as_me:$LINENO: checking for $ac_word" >&5
43862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43863 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43864 echo $ECHO_N "(cached) $ECHO_C" >&6
43865 else
43866 case $SDL_CONFIG in
43867 [\\/]* | ?:[\\/]*)
43868 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43869 ;;
43870 *)
43871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43872 for as_dir in $PATH
43873 do
43874 IFS=$as_save_IFS
43875 test -z "$as_dir" && as_dir=.
43876 for ac_exec_ext in '' $ac_executable_extensions; do
43877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43878 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43880 break 2
43881 fi
43882 done
43883 done
43884
43885 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43886 ;;
43887 esac
43888 fi
43889 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43890
43891 if test -n "$SDL_CONFIG"; then
43892 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43893 echo "${ECHO_T}$SDL_CONFIG" >&6
43894 else
43895 echo "$as_me:$LINENO: result: no" >&5
43896 echo "${ECHO_T}no" >&6
43897 fi
43898
43899 min_sdl_version=1.2.0
43900 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43901 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
43902 no_sdl=""
43903 if test "$SDL_CONFIG" = "no" ; then
43904 no_sdl=yes
43905 else
43906 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43907 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43908
43909 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43910 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43911 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43912 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43913 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43914 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43915 if test "x$enable_sdltest" = "xyes" ; then
43916 ac_save_CFLAGS="$CFLAGS"
43917 ac_save_CXXFLAGS="$CXXFLAGS"
43918 ac_save_LIBS="$LIBS"
43919 CFLAGS="$CFLAGS $SDL_CFLAGS"
43920 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43921 LIBS="$LIBS $SDL_LIBS"
43922 rm -f conf.sdltest
43923 if test "$cross_compiling" = yes; then
43924 echo $ac_n "cross compiling; assumed OK... $ac_c"
43925 else
43926 cat >conftest.$ac_ext <<_ACEOF
43927 /* confdefs.h. */
43928 _ACEOF
43929 cat confdefs.h >>conftest.$ac_ext
43930 cat >>conftest.$ac_ext <<_ACEOF
43931 /* end confdefs.h. */
43932
43933 #include <stdio.h>
43934 #include <stdlib.h>
43935 #include <string.h>
43936 #include "SDL.h"
43937
43938 char*
43939 my_strdup (char *str)
43940 {
43941 char *new_str;
43942
43943 if (str)
43944 {
43945 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43946 strcpy (new_str, str);
43947 }
43948 else
43949 new_str = NULL;
43950
43951 return new_str;
43952 }
43953
43954 int main (int argc, char *argv[])
43955 {
43956 int major, minor, micro;
43957 char *tmp_version;
43958
43959 /* This hangs on some systems (?)
43960 system ("touch conf.sdltest");
43961 */
43962 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43963
43964 /* HP/UX 9 (%@#!) writes to sscanf strings */
43965 tmp_version = my_strdup("$min_sdl_version");
43966 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43967 printf("%s, bad version string\n", "$min_sdl_version");
43968 exit(1);
43969 }
43970
43971 if (($sdl_major_version > major) ||
43972 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43973 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43974 {
43975 return 0;
43976 }
43977 else
43978 {
43979 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43980 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43981 printf("*** best to upgrade to the required version.\n");
43982 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43983 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43984 printf("*** config.cache before re-running configure\n");
43985 return 1;
43986 }
43987 }
43988
43989
43990 _ACEOF
43991 rm -f conftest$ac_exeext
43992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43993 (eval $ac_link) 2>&5
43994 ac_status=$?
43995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43996 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43998 (eval $ac_try) 2>&5
43999 ac_status=$?
44000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44001 (exit $ac_status); }; }; then
44002 :
44003 else
44004 echo "$as_me: program exited with status $ac_status" >&5
44005 echo "$as_me: failed program was:" >&5
44006 sed 's/^/| /' conftest.$ac_ext >&5
44007
44008 ( exit $ac_status )
44009 no_sdl=yes
44010 fi
44011 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44012 fi
44013 CFLAGS="$ac_save_CFLAGS"
44014 CXXFLAGS="$ac_save_CXXFLAGS"
44015 LIBS="$ac_save_LIBS"
44016 fi
44017 fi
44018 if test "x$no_sdl" = x ; then
44019 echo "$as_me:$LINENO: result: yes" >&5
44020 echo "${ECHO_T}yes" >&6
44021
44022 EXTRALIBS_SDL="$SDL_LIBS"
44023 CFLAGS="$SDL_CFLAGS $CFLAGS"
44024 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44025 cat >>confdefs.h <<\_ACEOF
44026 #define wxUSE_LIBSDL 1
44027 _ACEOF
44028
44029
44030 else
44031 echo "$as_me:$LINENO: result: no" >&5
44032 echo "${ECHO_T}no" >&6
44033 if test "$SDL_CONFIG" = "no" ; then
44034 echo "*** The sdl-config script installed by SDL could not be found"
44035 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44036 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44037 echo "*** full path to sdl-config."
44038 else
44039 if test -f conf.sdltest ; then
44040 :
44041 else
44042 echo "*** Could not run SDL test program, checking why..."
44043 CFLAGS="$CFLAGS $SDL_CFLAGS"
44044 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44045 LIBS="$LIBS $SDL_LIBS"
44046 cat >conftest.$ac_ext <<_ACEOF
44047 /* confdefs.h. */
44048 _ACEOF
44049 cat confdefs.h >>conftest.$ac_ext
44050 cat >>conftest.$ac_ext <<_ACEOF
44051 /* end confdefs.h. */
44052
44053 #include <stdio.h>
44054 #include "SDL.h"
44055
44056 int main(int argc, char *argv[])
44057 { return 0; }
44058 #undef main
44059 #define main K_and_R_C_main
44060
44061 int
44062 main ()
44063 {
44064 return 0;
44065 ;
44066 return 0;
44067 }
44068 _ACEOF
44069 rm -f conftest.$ac_objext conftest$ac_exeext
44070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44071 (eval $ac_link) 2>conftest.er1
44072 ac_status=$?
44073 grep -v '^ *+' conftest.er1 >conftest.err
44074 rm -f conftest.er1
44075 cat conftest.err >&5
44076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44077 (exit $ac_status); } &&
44078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44080 (eval $ac_try) 2>&5
44081 ac_status=$?
44082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44083 (exit $ac_status); }; } &&
44084 { ac_try='test -s conftest$ac_exeext'
44085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44086 (eval $ac_try) 2>&5
44087 ac_status=$?
44088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44089 (exit $ac_status); }; }; then
44090 echo "*** The test program compiled, but did not run. This usually means"
44091 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44092 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44093 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44094 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44095 echo "*** is required on your system"
44096 echo "***"
44097 echo "*** If you have an old version installed, it is best to remove it, although"
44098 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44099 else
44100 echo "$as_me: failed program was:" >&5
44101 sed 's/^/| /' conftest.$ac_ext >&5
44102
44103 echo "*** The test program failed to compile or link. See the file config.log for the"
44104 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44105 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44106 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44107 fi
44108 rm -f conftest.err conftest.$ac_objext \
44109 conftest$ac_exeext conftest.$ac_ext
44110 CFLAGS="$ac_save_CFLAGS"
44111 CXXFLAGS="$ac_save_CXXFLAGS"
44112 LIBS="$ac_save_LIBS"
44113 fi
44114 fi
44115 SDL_CFLAGS=""
44116 SDL_LIBS=""
44117 wxUSE_LIBSDL="no"
44118 fi
44119
44120
44121 rm -f conf.sdltest
44122
44123 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44124 WITH_PLUGIN_SDL=1
44125 fi
44126 fi
44127 else
44128 if test "$wxUSE_MGL" = 1; then
44129 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44130 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44131 wxUSE_SOUND="no"
44132 fi
44133 fi
44134 fi
44135
44136 if test "$wxUSE_SOUND" = "yes"; then
44137 cat >>confdefs.h <<\_ACEOF
44138 #define wxUSE_SOUND 1
44139 _ACEOF
44140
44141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
44142 fi
44143
44144 if test "$WXGTK20" = 1; then
44145
44146
44147 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44148 if test -n "$ac_tool_prefix"; then
44149 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44150 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
44151 echo "$as_me:$LINENO: checking for $ac_word" >&5
44152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44153 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44154 echo $ECHO_N "(cached) $ECHO_C" >&6
44155 else
44156 case $PKG_CONFIG in
44157 [\\/]* | ?:[\\/]*)
44158 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
44159 ;;
44160 *)
44161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44162 for as_dir in $PATH
44163 do
44164 IFS=$as_save_IFS
44165 test -z "$as_dir" && as_dir=.
44166 for ac_exec_ext in '' $ac_executable_extensions; do
44167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44168 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44170 break 2
44171 fi
44172 done
44173 done
44174
44175 ;;
44176 esac
44177 fi
44178 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
44179
44180 if test -n "$PKG_CONFIG"; then
44181 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44182 echo "${ECHO_T}$PKG_CONFIG" >&6
44183 else
44184 echo "$as_me:$LINENO: result: no" >&5
44185 echo "${ECHO_T}no" >&6
44186 fi
44187
44188 fi
44189 if test -z "$ac_cv_path_PKG_CONFIG"; then
44190 ac_pt_PKG_CONFIG=$PKG_CONFIG
44191 # Extract the first word of "pkg-config", so it can be a program name with args.
44192 set dummy pkg-config; ac_word=$2
44193 echo "$as_me:$LINENO: checking for $ac_word" >&5
44194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44195 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44196 echo $ECHO_N "(cached) $ECHO_C" >&6
44197 else
44198 case $ac_pt_PKG_CONFIG in
44199 [\\/]* | ?:[\\/]*)
44200 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44201 ;;
44202 *)
44203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44204 for as_dir in $PATH
44205 do
44206 IFS=$as_save_IFS
44207 test -z "$as_dir" && as_dir=.
44208 for ac_exec_ext in '' $ac_executable_extensions; do
44209 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44210 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44212 break 2
44213 fi
44214 done
44215 done
44216
44217 ;;
44218 esac
44219 fi
44220 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
44221
44222 if test -n "$ac_pt_PKG_CONFIG"; then
44223 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44224 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
44225 else
44226 echo "$as_me:$LINENO: result: no" >&5
44227 echo "${ECHO_T}no" >&6
44228 fi
44229
44230 PKG_CONFIG=$ac_pt_PKG_CONFIG
44231 else
44232 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
44233 fi
44234
44235 fi
44236 if test -n "$PKG_CONFIG"; then
44237 _pkg_min_version=0.9.0
44238 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44239 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
44240 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44241 echo "$as_me:$LINENO: result: yes" >&5
44242 echo "${ECHO_T}yes" >&6
44243 else
44244 echo "$as_me:$LINENO: result: no" >&5
44245 echo "${ECHO_T}no" >&6
44246 PKG_CONFIG=""
44247 fi
44248
44249 fi
44250
44251 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44252 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44253
44254
44255 pkg_failed=no
44256 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44257 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
44258
44259 if test -n "$PKG_CONFIG"; then
44260 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44261 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
44262 else
44263 if test -n "$PKG_CONFIG" && \
44264 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44265 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44266 ac_status=$?
44267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44268 (exit $ac_status); }; then
44269 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44270 else
44271 pkg_failed=yes
44272 fi
44273 fi
44274 else
44275 pkg_failed=untried
44276 fi
44277 if test -n "$PKG_CONFIG"; then
44278 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44279 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
44280 else
44281 if test -n "$PKG_CONFIG" && \
44282 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44283 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44284 ac_status=$?
44285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44286 (exit $ac_status); }; then
44287 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44288 else
44289 pkg_failed=yes
44290 fi
44291 fi
44292 else
44293 pkg_failed=untried
44294 fi
44295
44296
44297
44298 if test $pkg_failed = yes; then
44299
44300 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44301 _pkg_short_errors_supported=yes
44302 else
44303 _pkg_short_errors_supported=no
44304 fi
44305 if test $_pkg_short_errors_supported = yes; then
44306 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44307 else
44308 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44309 fi
44310 # Put the nasty error message in config.log where it belongs
44311 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44312
44313
44314 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44315 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44316 wxUSE_LIBGNOMEPRINT="no"
44317
44318
44319 elif test $pkg_failed = untried; then
44320
44321 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44322 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44323 wxUSE_LIBGNOMEPRINT="no"
44324
44325
44326 else
44327 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44328 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44329 echo "$as_me:$LINENO: result: yes" >&5
44330 echo "${ECHO_T}yes" >&6
44331
44332 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44333 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44334 cat >>confdefs.h <<\_ACEOF
44335 #define wxUSE_LIBGNOMEPRINT 1
44336 _ACEOF
44337
44338
44339 fi
44340 fi
44341 fi
44342
44343 if test "$wxUSE_MIMETYPE" = "yes" ; then
44344 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44345
44346
44347 pkg_failed=no
44348 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44349 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
44350
44351 if test -n "$PKG_CONFIG"; then
44352 if test -n "$GNOMEVFS_CFLAGS"; then
44353 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
44354 else
44355 if test -n "$PKG_CONFIG" && \
44356 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44357 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44358 ac_status=$?
44359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44360 (exit $ac_status); }; then
44361 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44362 else
44363 pkg_failed=yes
44364 fi
44365 fi
44366 else
44367 pkg_failed=untried
44368 fi
44369 if test -n "$PKG_CONFIG"; then
44370 if test -n "$GNOMEVFS_LIBS"; then
44371 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
44372 else
44373 if test -n "$PKG_CONFIG" && \
44374 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44375 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44376 ac_status=$?
44377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44378 (exit $ac_status); }; then
44379 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44380 else
44381 pkg_failed=yes
44382 fi
44383 fi
44384 else
44385 pkg_failed=untried
44386 fi
44387
44388
44389
44390 if test $pkg_failed = yes; then
44391
44392 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44393 _pkg_short_errors_supported=yes
44394 else
44395 _pkg_short_errors_supported=no
44396 fi
44397 if test $_pkg_short_errors_supported = yes; then
44398 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44399 else
44400 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44401 fi
44402 # Put the nasty error message in config.log where it belongs
44403 echo "$GNOMEVFS_PKG_ERRORS" >&5
44404
44405
44406 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44407 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44408 wxUSE_LIBGNOMEVFS="no"
44409
44410
44411 elif test $pkg_failed = untried; then
44412
44413 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44414 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44415 wxUSE_LIBGNOMEVFS="no"
44416
44417
44418 else
44419 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
44420 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
44421 echo "$as_me:$LINENO: result: yes" >&5
44422 echo "${ECHO_T}yes" >&6
44423
44424 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
44425 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
44426 cat >>confdefs.h <<\_ACEOF
44427 #define wxUSE_LIBGNOMEVFS 1
44428 _ACEOF
44429
44430
44431 fi
44432 fi
44433 fi
44434
44435 if test "$wxUSE_LIBHILDON" = "yes" ; then
44436
44437 pkg_failed=no
44438 echo "$as_me:$LINENO: checking for HILDON" >&5
44439 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
44440
44441 if test -n "$PKG_CONFIG"; then
44442 if test -n "$HILDON_CFLAGS"; then
44443 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
44444 else
44445 if test -n "$PKG_CONFIG" && \
44446 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44447 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44448 ac_status=$?
44449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44450 (exit $ac_status); }; then
44451 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44452 else
44453 pkg_failed=yes
44454 fi
44455 fi
44456 else
44457 pkg_failed=untried
44458 fi
44459 if test -n "$PKG_CONFIG"; then
44460 if test -n "$HILDON_LIBS"; then
44461 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
44462 else
44463 if test -n "$PKG_CONFIG" && \
44464 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44465 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44466 ac_status=$?
44467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44468 (exit $ac_status); }; then
44469 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
44470 else
44471 pkg_failed=yes
44472 fi
44473 fi
44474 else
44475 pkg_failed=untried
44476 fi
44477
44478
44479
44480 if test $pkg_failed = yes; then
44481
44482 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44483 _pkg_short_errors_supported=yes
44484 else
44485 _pkg_short_errors_supported=no
44486 fi
44487 if test $_pkg_short_errors_supported = yes; then
44488 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44489 else
44490 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
44491 fi
44492 # Put the nasty error message in config.log where it belongs
44493 echo "$HILDON_PKG_ERRORS" >&5
44494
44495
44496 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44497 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44498 wxUSE_LIBHILDON="no"
44499
44500
44501 elif test $pkg_failed = untried; then
44502
44503 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
44504 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
44505 wxUSE_LIBHILDON="no"
44506
44507
44508 else
44509 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
44510 HILDON_LIBS=$pkg_cv_HILDON_LIBS
44511 echo "$as_me:$LINENO: result: yes" >&5
44512 echo "${ECHO_T}yes" >&6
44513
44514 EXTRALIBS_HILDON="$HILDON_LIBS"
44515 CFLAGS="$CFLAGS $HILDON_CFLAGS"
44516 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
44517 cat >>confdefs.h <<\_ACEOF
44518 #define wxUSE_LIBHILDON 1
44519 _ACEOF
44520
44521
44522 fi
44523 fi
44524 fi
44525
44526 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
44527 cat >>confdefs.h <<\_ACEOF
44528 #define wxUSE_CMDLINE_PARSER 1
44529 _ACEOF
44530
44531 fi
44532
44533 if test "$wxUSE_STOPWATCH" = "yes"; then
44534 cat >>confdefs.h <<\_ACEOF
44535 #define wxUSE_STOPWATCH 1
44536 _ACEOF
44537
44538 fi
44539
44540 if test "$wxUSE_DATETIME" = "yes"; then
44541 cat >>confdefs.h <<\_ACEOF
44542 #define wxUSE_DATETIME 1
44543 _ACEOF
44544
44545 fi
44546
44547 if test "$wxUSE_FILE" = "yes"; then
44548 cat >>confdefs.h <<\_ACEOF
44549 #define wxUSE_FILE 1
44550 _ACEOF
44551
44552 fi
44553
44554 if test "$wxUSE_FFILE" = "yes"; then
44555 cat >>confdefs.h <<\_ACEOF
44556 #define wxUSE_FFILE 1
44557 _ACEOF
44558
44559 fi
44560
44561 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
44562 if test "$wxUSE_STREAMS" != yes; then
44563 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
44564 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
44565 wxUSE_ARCHIVE_STREAMS=no
44566 else
44567 cat >>confdefs.h <<\_ACEOF
44568 #define wxUSE_ARCHIVE_STREAMS 1
44569 _ACEOF
44570
44571 fi
44572 fi
44573
44574 if test "$wxUSE_ZIPSTREAM" = "yes"; then
44575 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44576 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
44577 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
44578 elif test "$wxUSE_ZLIB" = "no"; then
44579 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
44580 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
44581 else
44582 cat >>confdefs.h <<\_ACEOF
44583 #define wxUSE_ZIPSTREAM 1
44584 _ACEOF
44585
44586 fi
44587 fi
44588
44589 if test "$wxUSE_TARSTREAM" = "yes"; then
44590 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
44591 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
44592 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
44593 else
44594 cat >>confdefs.h <<\_ACEOF
44595 #define wxUSE_TARSTREAM 1
44596 _ACEOF
44597
44598 fi
44599 fi
44600
44601 if test "$wxUSE_FILESYSTEM" = "yes"; then
44602 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
44603 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
44604 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
44605 wxUSE_FILESYSTEM=no
44606 else
44607 cat >>confdefs.h <<\_ACEOF
44608 #define wxUSE_FILESYSTEM 1
44609 _ACEOF
44610
44611 fi
44612 fi
44613
44614 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
44615 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
44616 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
44617 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
44618 else
44619 cat >>confdefs.h <<\_ACEOF
44620 #define wxUSE_FS_ARCHIVE 1
44621 _ACEOF
44622
44623 fi
44624 fi
44625
44626 if test "$wxUSE_FS_ZIP" = "yes"; then
44627 if test "$wxUSE_FS_ARCHIVE" != yes; then
44628 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
44629 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
44630 else
44631 cat >>confdefs.h <<\_ACEOF
44632 #define wxUSE_FS_ZIP 1
44633 _ACEOF
44634
44635 fi
44636 fi
44637
44638 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44639 if test "$USE_UNIX" != 1; then
44640 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
44641 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
44642 wxUSE_ON_FATAL_EXCEPTION=no
44643 else
44644 cat >>confdefs.h <<\_ACEOF
44645 #define wxUSE_ON_FATAL_EXCEPTION 1
44646 _ACEOF
44647
44648 fi
44649 fi
44650
44651 if test "$wxUSE_STACKWALKER" = "yes"; then
44652 cat >>confdefs.h <<\_ACEOF
44653 #define wxUSE_STACKWALKER 1
44654 _ACEOF
44655
44656 fi
44657
44658 if test "$wxUSE_DEBUGREPORT" = "yes"; then
44659 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
44660 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
44661 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
44662 wxUSE_DEBUGREPORT=no
44663 else
44664 cat >>confdefs.h <<\_ACEOF
44665 #define wxUSE_DEBUGREPORT 1
44666 _ACEOF
44667
44668 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
44669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
44670 fi
44671 fi
44672 fi
44673
44674 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
44675 cat >>confdefs.h <<\_ACEOF
44676 #define wxUSE_SNGLINST_CHECKER 1
44677 _ACEOF
44678
44679 fi
44680
44681 if test "$wxUSE_BUSYINFO" = "yes"; then
44682 cat >>confdefs.h <<\_ACEOF
44683 #define wxUSE_BUSYINFO 1
44684 _ACEOF
44685
44686 fi
44687
44688 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
44689 cat >>confdefs.h <<\_ACEOF
44690 #define wxUSE_STD_IOSTREAM 1
44691 _ACEOF
44692
44693 fi
44694
44695 if test "$wxUSE_STD_STRING" = "yes"; then
44696 cat >>confdefs.h <<\_ACEOF
44697 #define wxUSE_STD_STRING 1
44698 _ACEOF
44699
44700 fi
44701
44702 if test "$wxUSE_STDPATHS" = "yes"; then
44703 cat >>confdefs.h <<\_ACEOF
44704 #define wxUSE_STDPATHS 1
44705 _ACEOF
44706
44707 fi
44708
44709 if test "$wxUSE_TEXTBUFFER" = "yes"; then
44710 cat >>confdefs.h <<\_ACEOF
44711 #define wxUSE_TEXTBUFFER 1
44712 _ACEOF
44713
44714 fi
44715
44716 if test "$wxUSE_TEXTFILE" = "yes"; then
44717 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
44718 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
44719 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
44720 else
44721 cat >>confdefs.h <<\_ACEOF
44722 #define wxUSE_TEXTFILE 1
44723 _ACEOF
44724
44725 fi
44726 fi
44727
44728 if test "$wxUSE_CONFIG" = "yes" ; then
44729 if test "$wxUSE_TEXTFILE" != "yes"; then
44730 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
44731 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
44732 else
44733 cat >>confdefs.h <<\_ACEOF
44734 #define wxUSE_CONFIG 1
44735 _ACEOF
44736
44737 cat >>confdefs.h <<\_ACEOF
44738 #define wxUSE_CONFIG_NATIVE 1
44739 _ACEOF
44740
44741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
44742 fi
44743 fi
44744
44745 if test "$wxUSE_INTL" = "yes" ; then
44746 if test "$wxUSE_FILE" != "yes"; then
44747 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
44748 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
44749 else
44750 cat >>confdefs.h <<\_ACEOF
44751 #define wxUSE_INTL 1
44752 _ACEOF
44753
44754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
44755 GUIDIST="$GUIDIST INTL_DIST"
44756 fi
44757 fi
44758
44759 if test "$wxUSE_LOG" = "yes"; then
44760 cat >>confdefs.h <<\_ACEOF
44761 #define wxUSE_LOG 1
44762 _ACEOF
44763
44764
44765 if test "$wxUSE_LOGGUI" = "yes"; then
44766 cat >>confdefs.h <<\_ACEOF
44767 #define wxUSE_LOGGUI 1
44768 _ACEOF
44769
44770 fi
44771
44772 if test "$wxUSE_LOGWINDOW" = "yes"; then
44773 cat >>confdefs.h <<\_ACEOF
44774 #define wxUSE_LOGWINDOW 1
44775 _ACEOF
44776
44777 fi
44778
44779 if test "$wxUSE_LOGDIALOG" = "yes"; then
44780 cat >>confdefs.h <<\_ACEOF
44781 #define wxUSE_LOG_DIALOG 1
44782 _ACEOF
44783
44784 fi
44785
44786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
44787 fi
44788
44789 if test "$wxUSE_LONGLONG" = "yes"; then
44790 cat >>confdefs.h <<\_ACEOF
44791 #define wxUSE_LONGLONG 1
44792 _ACEOF
44793
44794 fi
44795
44796 if test "$wxUSE_GEOMETRY" = "yes"; then
44797 cat >>confdefs.h <<\_ACEOF
44798 #define wxUSE_GEOMETRY 1
44799 _ACEOF
44800
44801 fi
44802
44803 if test "$wxUSE_BASE64" = "yes"; then
44804 cat >>confdefs.h <<\_ACEOF
44805 #define wxUSE_BASE64 1
44806 _ACEOF
44807
44808 fi
44809
44810 if test "$wxUSE_STREAMS" = "yes" ; then
44811 cat >>confdefs.h <<\_ACEOF
44812 #define wxUSE_STREAMS 1
44813 _ACEOF
44814
44815 fi
44816
44817 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44818 cat >>confdefs.h <<\_ACEOF
44819 #define wxUSE_PRINTF_POS_PARAMS 1
44820 _ACEOF
44821
44822 fi
44823
44824 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
44825 cat >>confdefs.h <<\_ACEOF
44826 #define wxUSE_OBJC_UNIQUIFYING 1
44827 _ACEOF
44828
44829 fi
44830
44831
44832 if test "$wxUSE_DATETIME" = "yes"; then
44833 echo "$as_me:$LINENO: checking for strptime" >&5
44834 echo $ECHO_N "checking for strptime... $ECHO_C" >&6
44835 if test "${ac_cv_func_strptime+set}" = set; then
44836 echo $ECHO_N "(cached) $ECHO_C" >&6
44837 else
44838 cat >conftest.$ac_ext <<_ACEOF
44839 /* confdefs.h. */
44840 _ACEOF
44841 cat confdefs.h >>conftest.$ac_ext
44842 cat >>conftest.$ac_ext <<_ACEOF
44843 /* end confdefs.h. */
44844 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
44845 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44846 #define strptime innocuous_strptime
44847
44848 /* System header to define __stub macros and hopefully few prototypes,
44849 which can conflict with char strptime (); below.
44850 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44851 <limits.h> exists even on freestanding compilers. */
44852
44853 #ifdef __STDC__
44854 # include <limits.h>
44855 #else
44856 # include <assert.h>
44857 #endif
44858
44859 #undef strptime
44860
44861 /* Override any gcc2 internal prototype to avoid an error. */
44862 #ifdef __cplusplus
44863 extern "C"
44864 {
44865 #endif
44866 /* We use char because int might match the return type of a gcc2
44867 builtin and then its argument prototype would still apply. */
44868 char strptime ();
44869 /* The GNU C library defines this for functions which it implements
44870 to always fail with ENOSYS. Some functions are actually named
44871 something starting with __ and the normal name is an alias. */
44872 #if defined (__stub_strptime) || defined (__stub___strptime)
44873 choke me
44874 #else
44875 char (*f) () = strptime;
44876 #endif
44877 #ifdef __cplusplus
44878 }
44879 #endif
44880
44881 int
44882 main ()
44883 {
44884 return f != strptime;
44885 ;
44886 return 0;
44887 }
44888 _ACEOF
44889 rm -f conftest.$ac_objext conftest$ac_exeext
44890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44891 (eval $ac_link) 2>conftest.er1
44892 ac_status=$?
44893 grep -v '^ *+' conftest.er1 >conftest.err
44894 rm -f conftest.er1
44895 cat conftest.err >&5
44896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44897 (exit $ac_status); } &&
44898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
44899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44900 (eval $ac_try) 2>&5
44901 ac_status=$?
44902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44903 (exit $ac_status); }; } &&
44904 { ac_try='test -s conftest$ac_exeext'
44905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44906 (eval $ac_try) 2>&5
44907 ac_status=$?
44908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44909 (exit $ac_status); }; }; then
44910 ac_cv_func_strptime=yes
44911 else
44912 echo "$as_me: failed program was:" >&5
44913 sed 's/^/| /' conftest.$ac_ext >&5
44914
44915 ac_cv_func_strptime=no
44916 fi
44917 rm -f conftest.err conftest.$ac_objext \
44918 conftest$ac_exeext conftest.$ac_ext
44919 fi
44920 echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
44921 echo "${ECHO_T}$ac_cv_func_strptime" >&6
44922
44923 if test "$ac_cv_func_strptime" = "yes"; then
44924 echo "$as_me:$LINENO: checking for strptime declaration" >&5
44925 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
44926 if test "${wx_cv_func_strptime_decl+set}" = set; then
44927 echo $ECHO_N "(cached) $ECHO_C" >&6
44928 else
44929
44930 ac_ext=cc
44931 ac_cpp='$CXXCPP $CPPFLAGS'
44932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44935
44936 cat >conftest.$ac_ext <<_ACEOF
44937 /* confdefs.h. */
44938 _ACEOF
44939 cat confdefs.h >>conftest.$ac_ext
44940 cat >>conftest.$ac_ext <<_ACEOF
44941 /* end confdefs.h. */
44942
44943 #include <time.h>
44944
44945 int
44946 main ()
44947 {
44948
44949 struct tm t;
44950 strptime("foo", "bar", &t);
44951
44952 ;
44953 return 0;
44954 }
44955 _ACEOF
44956 rm -f conftest.$ac_objext
44957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44958 (eval $ac_compile) 2>conftest.er1
44959 ac_status=$?
44960 grep -v '^ *+' conftest.er1 >conftest.err
44961 rm -f conftest.er1
44962 cat conftest.err >&5
44963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44964 (exit $ac_status); } &&
44965 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44967 (eval $ac_try) 2>&5
44968 ac_status=$?
44969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44970 (exit $ac_status); }; } &&
44971 { ac_try='test -s conftest.$ac_objext'
44972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44973 (eval $ac_try) 2>&5
44974 ac_status=$?
44975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44976 (exit $ac_status); }; }; then
44977 wx_cv_func_strptime_decl=yes
44978 else
44979 echo "$as_me: failed program was:" >&5
44980 sed 's/^/| /' conftest.$ac_ext >&5
44981
44982 wx_cv_func_strptime_decl=no
44983
44984 fi
44985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44986 ac_ext=c
44987 ac_cpp='$CPP $CPPFLAGS'
44988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44991
44992
44993
44994 fi
44995 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44996 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
44997 fi
44998 if test "$wx_cv_func_strptime_decl" = "yes"; then
44999 cat >>confdefs.h <<\_ACEOF
45000 #define HAVE_STRPTIME_DECL 1
45001 _ACEOF
45002
45003 else
45004 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
45005 fi
45006 if test "$ac_cv_func_strptime" = "yes"; then
45007 echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
45008 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6
45009 if test "${wx_cv_func_strptime_ok+set}" = set; then
45010 echo $ECHO_N "(cached) $ECHO_C" >&6
45011 else
45012 if test "$cross_compiling" = yes; then
45013 wx_cv_func_strptime_ok=no
45014
45015 else
45016 cat >conftest.$ac_ext <<_ACEOF
45017
45018 #include <stdlib.h>
45019 #include <time.h>
45020 #include "confdefs.h"
45021
45022 $wx_strptime_decl
45023
45024 int main()
45025 {
45026 struct tm t;
45027 return !!strptime("", "%x", &t);
45028 }
45029
45030 _ACEOF
45031 rm -f conftest$ac_exeext
45032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45033 (eval $ac_link) 2>&5
45034 ac_status=$?
45035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45036 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
45037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45038 (eval $ac_try) 2>&5
45039 ac_status=$?
45040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45041 (exit $ac_status); }; }; then
45042 wx_cv_func_strptime_ok=yes
45043 else
45044 echo "$as_me: program exited with status $ac_status" >&5
45045 echo "$as_me: failed program was:" >&5
45046 sed 's/^/| /' conftest.$ac_ext >&5
45047
45048 ( exit $ac_status )
45049 wx_cv_func_strptime_ok=no
45050 fi
45051 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
45052 fi
45053
45054 fi
45055 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
45056 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6
45057
45058 if test "$wx_cv_func_strptime_ok" = "yes"; then
45059 cat >>confdefs.h <<\_ACEOF
45060 #define HAVE_STRPTIME 1
45061 _ACEOF
45062
45063 fi
45064 fi
45065
45066 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45067 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
45068 if test "${wx_cv_var_timezone+set}" = set; then
45069 echo $ECHO_N "(cached) $ECHO_C" >&6
45070 else
45071
45072 ac_ext=cc
45073 ac_cpp='$CXXCPP $CPPFLAGS'
45074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45077
45078 cat >conftest.$ac_ext <<_ACEOF
45079 /* confdefs.h. */
45080 _ACEOF
45081 cat confdefs.h >>conftest.$ac_ext
45082 cat >>conftest.$ac_ext <<_ACEOF
45083 /* end confdefs.h. */
45084
45085 #include <time.h>
45086
45087 int
45088 main ()
45089 {
45090
45091 int tz;
45092 tz = timezone;
45093
45094 ;
45095 return 0;
45096 }
45097 _ACEOF
45098 rm -f conftest.$ac_objext
45099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45100 (eval $ac_compile) 2>conftest.er1
45101 ac_status=$?
45102 grep -v '^ *+' conftest.er1 >conftest.err
45103 rm -f conftest.er1
45104 cat conftest.err >&5
45105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45106 (exit $ac_status); } &&
45107 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45109 (eval $ac_try) 2>&5
45110 ac_status=$?
45111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45112 (exit $ac_status); }; } &&
45113 { ac_try='test -s conftest.$ac_objext'
45114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45115 (eval $ac_try) 2>&5
45116 ac_status=$?
45117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45118 (exit $ac_status); }; }; then
45119
45120 wx_cv_var_timezone=timezone
45121
45122 else
45123 echo "$as_me: failed program was:" >&5
45124 sed 's/^/| /' conftest.$ac_ext >&5
45125
45126
45127 cat >conftest.$ac_ext <<_ACEOF
45128 /* confdefs.h. */
45129 _ACEOF
45130 cat confdefs.h >>conftest.$ac_ext
45131 cat >>conftest.$ac_ext <<_ACEOF
45132 /* end confdefs.h. */
45133
45134 #include <time.h>
45135
45136 int
45137 main ()
45138 {
45139
45140 int tz;
45141 tz = _timezone;
45142
45143 ;
45144 return 0;
45145 }
45146 _ACEOF
45147 rm -f conftest.$ac_objext
45148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45149 (eval $ac_compile) 2>conftest.er1
45150 ac_status=$?
45151 grep -v '^ *+' conftest.er1 >conftest.err
45152 rm -f conftest.er1
45153 cat conftest.err >&5
45154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45155 (exit $ac_status); } &&
45156 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45158 (eval $ac_try) 2>&5
45159 ac_status=$?
45160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45161 (exit $ac_status); }; } &&
45162 { ac_try='test -s conftest.$ac_objext'
45163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45164 (eval $ac_try) 2>&5
45165 ac_status=$?
45166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45167 (exit $ac_status); }; }; then
45168
45169 wx_cv_var_timezone=_timezone
45170
45171 else
45172 echo "$as_me: failed program was:" >&5
45173 sed 's/^/| /' conftest.$ac_ext >&5
45174
45175
45176 cat >conftest.$ac_ext <<_ACEOF
45177 /* confdefs.h. */
45178 _ACEOF
45179 cat confdefs.h >>conftest.$ac_ext
45180 cat >>conftest.$ac_ext <<_ACEOF
45181 /* end confdefs.h. */
45182
45183 #include <time.h>
45184
45185 int
45186 main ()
45187 {
45188
45189 int tz;
45190 tz = __timezone;
45191
45192 ;
45193 return 0;
45194 }
45195 _ACEOF
45196 rm -f conftest.$ac_objext
45197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45198 (eval $ac_compile) 2>conftest.er1
45199 ac_status=$?
45200 grep -v '^ *+' conftest.er1 >conftest.err
45201 rm -f conftest.er1
45202 cat conftest.err >&5
45203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45204 (exit $ac_status); } &&
45205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45207 (eval $ac_try) 2>&5
45208 ac_status=$?
45209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45210 (exit $ac_status); }; } &&
45211 { ac_try='test -s conftest.$ac_objext'
45212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45213 (eval $ac_try) 2>&5
45214 ac_status=$?
45215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45216 (exit $ac_status); }; }; then
45217
45218 wx_cv_var_timezone=__timezone
45219
45220 else
45221 echo "$as_me: failed program was:" >&5
45222 sed 's/^/| /' conftest.$ac_ext >&5
45223
45224
45225 if test "$USE_DOS" = 0 ; then
45226 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
45227 echo "$as_me: WARNING: no timezone variable" >&2;}
45228 fi
45229
45230
45231 fi
45232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45233
45234
45235 fi
45236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45237
45238
45239 fi
45240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45241 ac_ext=c
45242 ac_cpp='$CPP $CPPFLAGS'
45243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45246
45247
45248
45249 fi
45250 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
45251 echo "${ECHO_T}$wx_cv_var_timezone" >&6
45252
45253 if test "x$wx_cv_var_timezone" != x ; then
45254 cat >>confdefs.h <<_ACEOF
45255 #define WX_TIMEZONE $wx_cv_var_timezone
45256 _ACEOF
45257
45258 fi
45259
45260
45261 for ac_func in localtime
45262 do
45263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45264 echo "$as_me:$LINENO: checking for $ac_func" >&5
45265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45266 if eval "test \"\${$as_ac_var+set}\" = set"; then
45267 echo $ECHO_N "(cached) $ECHO_C" >&6
45268 else
45269 cat >conftest.$ac_ext <<_ACEOF
45270 /* confdefs.h. */
45271 _ACEOF
45272 cat confdefs.h >>conftest.$ac_ext
45273 cat >>conftest.$ac_ext <<_ACEOF
45274 /* end confdefs.h. */
45275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45277 #define $ac_func innocuous_$ac_func
45278
45279 /* System header to define __stub macros and hopefully few prototypes,
45280 which can conflict with char $ac_func (); below.
45281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45282 <limits.h> exists even on freestanding compilers. */
45283
45284 #ifdef __STDC__
45285 # include <limits.h>
45286 #else
45287 # include <assert.h>
45288 #endif
45289
45290 #undef $ac_func
45291
45292 /* Override any gcc2 internal prototype to avoid an error. */
45293 #ifdef __cplusplus
45294 extern "C"
45295 {
45296 #endif
45297 /* We use char because int might match the return type of a gcc2
45298 builtin and then its argument prototype would still apply. */
45299 char $ac_func ();
45300 /* The GNU C library defines this for functions which it implements
45301 to always fail with ENOSYS. Some functions are actually named
45302 something starting with __ and the normal name is an alias. */
45303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45304 choke me
45305 #else
45306 char (*f) () = $ac_func;
45307 #endif
45308 #ifdef __cplusplus
45309 }
45310 #endif
45311
45312 int
45313 main ()
45314 {
45315 return f != $ac_func;
45316 ;
45317 return 0;
45318 }
45319 _ACEOF
45320 rm -f conftest.$ac_objext conftest$ac_exeext
45321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45322 (eval $ac_link) 2>conftest.er1
45323 ac_status=$?
45324 grep -v '^ *+' conftest.er1 >conftest.err
45325 rm -f conftest.er1
45326 cat conftest.err >&5
45327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45328 (exit $ac_status); } &&
45329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45331 (eval $ac_try) 2>&5
45332 ac_status=$?
45333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45334 (exit $ac_status); }; } &&
45335 { ac_try='test -s conftest$ac_exeext'
45336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45337 (eval $ac_try) 2>&5
45338 ac_status=$?
45339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45340 (exit $ac_status); }; }; then
45341 eval "$as_ac_var=yes"
45342 else
45343 echo "$as_me: failed program was:" >&5
45344 sed 's/^/| /' conftest.$ac_ext >&5
45345
45346 eval "$as_ac_var=no"
45347 fi
45348 rm -f conftest.err conftest.$ac_objext \
45349 conftest$ac_exeext conftest.$ac_ext
45350 fi
45351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45353 if test `eval echo '${'$as_ac_var'}'` = yes; then
45354 cat >>confdefs.h <<_ACEOF
45355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45356 _ACEOF
45357
45358 fi
45359 done
45360
45361
45362 if test "$ac_cv_func_localtime" = "yes"; then
45363 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
45364 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
45365 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
45366 echo $ECHO_N "(cached) $ECHO_C" >&6
45367 else
45368
45369 cat >conftest.$ac_ext <<_ACEOF
45370 /* confdefs.h. */
45371 _ACEOF
45372 cat confdefs.h >>conftest.$ac_ext
45373 cat >>conftest.$ac_ext <<_ACEOF
45374 /* end confdefs.h. */
45375
45376 #include <time.h>
45377
45378 int
45379 main ()
45380 {
45381
45382 struct tm tm;
45383 tm.tm_gmtoff++;
45384
45385 ;
45386 return 0;
45387 }
45388 _ACEOF
45389 rm -f conftest.$ac_objext
45390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45391 (eval $ac_compile) 2>conftest.er1
45392 ac_status=$?
45393 grep -v '^ *+' conftest.er1 >conftest.err
45394 rm -f conftest.er1
45395 cat conftest.err >&5
45396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45397 (exit $ac_status); } &&
45398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45400 (eval $ac_try) 2>&5
45401 ac_status=$?
45402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45403 (exit $ac_status); }; } &&
45404 { ac_try='test -s conftest.$ac_objext'
45405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45406 (eval $ac_try) 2>&5
45407 ac_status=$?
45408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45409 (exit $ac_status); }; }; then
45410
45411 wx_cv_struct_tm_has_gmtoff=yes
45412
45413 else
45414 echo "$as_me: failed program was:" >&5
45415 sed 's/^/| /' conftest.$ac_ext >&5
45416
45417 wx_cv_struct_tm_has_gmtoff=no
45418
45419 fi
45420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45421
45422 fi
45423 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
45424 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
45425 fi
45426
45427 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
45428 cat >>confdefs.h <<\_ACEOF
45429 #define WX_GMTOFF_IN_TM 1
45430 _ACEOF
45431
45432 fi
45433
45434
45435
45436 for ac_func in gettimeofday ftime
45437 do
45438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45439 echo "$as_me:$LINENO: checking for $ac_func" >&5
45440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45441 if eval "test \"\${$as_ac_var+set}\" = set"; then
45442 echo $ECHO_N "(cached) $ECHO_C" >&6
45443 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45452 #define $ac_func innocuous_$ac_func
45453
45454 /* System header to define __stub macros and hopefully few prototypes,
45455 which can conflict with char $ac_func (); below.
45456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45457 <limits.h> exists even on freestanding compilers. */
45458
45459 #ifdef __STDC__
45460 # include <limits.h>
45461 #else
45462 # include <assert.h>
45463 #endif
45464
45465 #undef $ac_func
45466
45467 /* Override any gcc2 internal prototype to avoid an error. */
45468 #ifdef __cplusplus
45469 extern "C"
45470 {
45471 #endif
45472 /* We use char because int might match the return type of a gcc2
45473 builtin and then its argument prototype would still apply. */
45474 char $ac_func ();
45475 /* The GNU C library defines this for functions which it implements
45476 to always fail with ENOSYS. Some functions are actually named
45477 something starting with __ and the normal name is an alias. */
45478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45479 choke me
45480 #else
45481 char (*f) () = $ac_func;
45482 #endif
45483 #ifdef __cplusplus
45484 }
45485 #endif
45486
45487 int
45488 main ()
45489 {
45490 return f != $ac_func;
45491 ;
45492 return 0;
45493 }
45494 _ACEOF
45495 rm -f conftest.$ac_objext conftest$ac_exeext
45496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45497 (eval $ac_link) 2>conftest.er1
45498 ac_status=$?
45499 grep -v '^ *+' conftest.er1 >conftest.err
45500 rm -f conftest.er1
45501 cat conftest.err >&5
45502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45503 (exit $ac_status); } &&
45504 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45506 (eval $ac_try) 2>&5
45507 ac_status=$?
45508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45509 (exit $ac_status); }; } &&
45510 { ac_try='test -s conftest$ac_exeext'
45511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45512 (eval $ac_try) 2>&5
45513 ac_status=$?
45514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45515 (exit $ac_status); }; }; then
45516 eval "$as_ac_var=yes"
45517 else
45518 echo "$as_me: failed program was:" >&5
45519 sed 's/^/| /' conftest.$ac_ext >&5
45520
45521 eval "$as_ac_var=no"
45522 fi
45523 rm -f conftest.err conftest.$ac_objext \
45524 conftest$ac_exeext conftest.$ac_ext
45525 fi
45526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45528 if test `eval echo '${'$as_ac_var'}'` = yes; then
45529 cat >>confdefs.h <<_ACEOF
45530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45531 _ACEOF
45532 break
45533 fi
45534 done
45535
45536
45537 if test "$ac_cv_func_gettimeofday" = "yes"; then
45538 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45539 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
45540 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45541 echo $ECHO_N "(cached) $ECHO_C" >&6
45542 else
45543
45544 cat >conftest.$ac_ext <<_ACEOF
45545 /* confdefs.h. */
45546 _ACEOF
45547 cat confdefs.h >>conftest.$ac_ext
45548 cat >>conftest.$ac_ext <<_ACEOF
45549 /* end confdefs.h. */
45550
45551 #include <sys/time.h>
45552 #include <unistd.h>
45553
45554 int
45555 main ()
45556 {
45557
45558 struct timeval tv;
45559 gettimeofday(&tv, NULL);
45560
45561 ;
45562 return 0;
45563 }
45564 _ACEOF
45565 rm -f conftest.$ac_objext
45566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45567 (eval $ac_compile) 2>conftest.er1
45568 ac_status=$?
45569 grep -v '^ *+' conftest.er1 >conftest.err
45570 rm -f conftest.er1
45571 cat conftest.err >&5
45572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45573 (exit $ac_status); } &&
45574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45576 (eval $ac_try) 2>&5
45577 ac_status=$?
45578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45579 (exit $ac_status); }; } &&
45580 { ac_try='test -s conftest.$ac_objext'
45581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45582 (eval $ac_try) 2>&5
45583 ac_status=$?
45584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45585 (exit $ac_status); }; }; then
45586 wx_cv_func_gettimeofday_has_2_args=yes
45587 else
45588 echo "$as_me: failed program was:" >&5
45589 sed 's/^/| /' conftest.$ac_ext >&5
45590
45591 cat >conftest.$ac_ext <<_ACEOF
45592 /* confdefs.h. */
45593 _ACEOF
45594 cat confdefs.h >>conftest.$ac_ext
45595 cat >>conftest.$ac_ext <<_ACEOF
45596 /* end confdefs.h. */
45597
45598 #include <sys/time.h>
45599 #include <unistd.h>
45600
45601 int
45602 main ()
45603 {
45604
45605 struct timeval tv;
45606 gettimeofday(&tv);
45607
45608 ;
45609 return 0;
45610 }
45611 _ACEOF
45612 rm -f conftest.$ac_objext
45613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45614 (eval $ac_compile) 2>conftest.er1
45615 ac_status=$?
45616 grep -v '^ *+' conftest.er1 >conftest.err
45617 rm -f conftest.er1
45618 cat conftest.err >&5
45619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45620 (exit $ac_status); } &&
45621 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45623 (eval $ac_try) 2>&5
45624 ac_status=$?
45625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45626 (exit $ac_status); }; } &&
45627 { ac_try='test -s conftest.$ac_objext'
45628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45629 (eval $ac_try) 2>&5
45630 ac_status=$?
45631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45632 (exit $ac_status); }; }; then
45633 wx_cv_func_gettimeofday_has_2_args=no
45634 else
45635 echo "$as_me: failed program was:" >&5
45636 sed 's/^/| /' conftest.$ac_ext >&5
45637
45638
45639 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45640 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45641 wx_cv_func_gettimeofday_has_2_args=unknown
45642
45643
45644 fi
45645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45646
45647 fi
45648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45649
45650 fi
45651 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45652 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
45653
45654 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45655 cat >>confdefs.h <<\_ACEOF
45656 #define WX_GETTIMEOFDAY_NO_TZ 1
45657 _ACEOF
45658
45659 fi
45660 fi
45661
45662 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
45663 fi
45664
45665
45666 if test "$wxUSE_SOCKETS" = "yes"; then
45667 if test "$wxUSE_MGL" = "1"; then
45668 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
45669 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
45670 wxUSE_SOCKETS="no"
45671 fi
45672 fi
45673
45674 if test "$wxUSE_SOCKETS" = "yes"; then
45675 if test "$TOOLKIT" != "MSW"; then
45676 echo "$as_me:$LINENO: checking for socket" >&5
45677 echo $ECHO_N "checking for socket... $ECHO_C" >&6
45678 if test "${ac_cv_func_socket+set}" = set; then
45679 echo $ECHO_N "(cached) $ECHO_C" >&6
45680 else
45681 cat >conftest.$ac_ext <<_ACEOF
45682 /* confdefs.h. */
45683 _ACEOF
45684 cat confdefs.h >>conftest.$ac_ext
45685 cat >>conftest.$ac_ext <<_ACEOF
45686 /* end confdefs.h. */
45687 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
45688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45689 #define socket innocuous_socket
45690
45691 /* System header to define __stub macros and hopefully few prototypes,
45692 which can conflict with char socket (); below.
45693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45694 <limits.h> exists even on freestanding compilers. */
45695
45696 #ifdef __STDC__
45697 # include <limits.h>
45698 #else
45699 # include <assert.h>
45700 #endif
45701
45702 #undef socket
45703
45704 /* Override any gcc2 internal prototype to avoid an error. */
45705 #ifdef __cplusplus
45706 extern "C"
45707 {
45708 #endif
45709 /* We use char because int might match the return type of a gcc2
45710 builtin and then its argument prototype would still apply. */
45711 char socket ();
45712 /* The GNU C library defines this for functions which it implements
45713 to always fail with ENOSYS. Some functions are actually named
45714 something starting with __ and the normal name is an alias. */
45715 #if defined (__stub_socket) || defined (__stub___socket)
45716 choke me
45717 #else
45718 char (*f) () = socket;
45719 #endif
45720 #ifdef __cplusplus
45721 }
45722 #endif
45723
45724 int
45725 main ()
45726 {
45727 return f != socket;
45728 ;
45729 return 0;
45730 }
45731 _ACEOF
45732 rm -f conftest.$ac_objext conftest$ac_exeext
45733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45734 (eval $ac_link) 2>conftest.er1
45735 ac_status=$?
45736 grep -v '^ *+' conftest.er1 >conftest.err
45737 rm -f conftest.er1
45738 cat conftest.err >&5
45739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45740 (exit $ac_status); } &&
45741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45743 (eval $ac_try) 2>&5
45744 ac_status=$?
45745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45746 (exit $ac_status); }; } &&
45747 { ac_try='test -s conftest$ac_exeext'
45748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45749 (eval $ac_try) 2>&5
45750 ac_status=$?
45751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45752 (exit $ac_status); }; }; then
45753 ac_cv_func_socket=yes
45754 else
45755 echo "$as_me: failed program was:" >&5
45756 sed 's/^/| /' conftest.$ac_ext >&5
45757
45758 ac_cv_func_socket=no
45759 fi
45760 rm -f conftest.err conftest.$ac_objext \
45761 conftest$ac_exeext conftest.$ac_ext
45762 fi
45763 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
45764 echo "${ECHO_T}$ac_cv_func_socket" >&6
45765 if test $ac_cv_func_socket = yes; then
45766 :
45767 else
45768
45769 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
45770 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
45771 if test "${ac_cv_lib_socket_socket+set}" = set; then
45772 echo $ECHO_N "(cached) $ECHO_C" >&6
45773 else
45774 ac_check_lib_save_LIBS=$LIBS
45775 LIBS="-lsocket $LIBS"
45776 cat >conftest.$ac_ext <<_ACEOF
45777 /* confdefs.h. */
45778 _ACEOF
45779 cat confdefs.h >>conftest.$ac_ext
45780 cat >>conftest.$ac_ext <<_ACEOF
45781 /* end confdefs.h. */
45782
45783 /* Override any gcc2 internal prototype to avoid an error. */
45784 #ifdef __cplusplus
45785 extern "C"
45786 #endif
45787 /* We use char because int might match the return type of a gcc2
45788 builtin and then its argument prototype would still apply. */
45789 char socket ();
45790 int
45791 main ()
45792 {
45793 socket ();
45794 ;
45795 return 0;
45796 }
45797 _ACEOF
45798 rm -f conftest.$ac_objext conftest$ac_exeext
45799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45800 (eval $ac_link) 2>conftest.er1
45801 ac_status=$?
45802 grep -v '^ *+' conftest.er1 >conftest.err
45803 rm -f conftest.er1
45804 cat conftest.err >&5
45805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45806 (exit $ac_status); } &&
45807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
45808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45809 (eval $ac_try) 2>&5
45810 ac_status=$?
45811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45812 (exit $ac_status); }; } &&
45813 { ac_try='test -s conftest$ac_exeext'
45814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45815 (eval $ac_try) 2>&5
45816 ac_status=$?
45817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45818 (exit $ac_status); }; }; then
45819 ac_cv_lib_socket_socket=yes
45820 else
45821 echo "$as_me: failed program was:" >&5
45822 sed 's/^/| /' conftest.$ac_ext >&5
45823
45824 ac_cv_lib_socket_socket=no
45825 fi
45826 rm -f conftest.err conftest.$ac_objext \
45827 conftest$ac_exeext conftest.$ac_ext
45828 LIBS=$ac_check_lib_save_LIBS
45829 fi
45830 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
45831 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
45832 if test $ac_cv_lib_socket_socket = yes; then
45833 if test "$INET_LINK" != " -lsocket"; then
45834 INET_LINK="$INET_LINK -lsocket"
45835 fi
45836 else
45837
45838 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
45839 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
45840 wxUSE_SOCKETS=no
45841
45842
45843 fi
45844
45845
45846
45847 fi
45848
45849 fi
45850 fi
45851
45852 if test "$wxUSE_SOCKETS" = "yes" ; then
45853 if test "$TOOLKIT" != "MSW"; then
45854 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
45855 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
45856 if test "${wx_cv_type_getsockname3+set}" = set; then
45857 echo $ECHO_N "(cached) $ECHO_C" >&6
45858 else
45859
45860 ac_ext=cc
45861 ac_cpp='$CXXCPP $CPPFLAGS'
45862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45865
45866 cat >conftest.$ac_ext <<_ACEOF
45867 /* confdefs.h. */
45868 _ACEOF
45869 cat confdefs.h >>conftest.$ac_ext
45870 cat >>conftest.$ac_ext <<_ACEOF
45871 /* end confdefs.h. */
45872
45873 #include <sys/types.h>
45874 #include <sys/socket.h>
45875
45876 int
45877 main ()
45878 {
45879
45880 socklen_t len;
45881 getsockname(0, 0, &len);
45882
45883 ;
45884 return 0;
45885 }
45886 _ACEOF
45887 rm -f conftest.$ac_objext
45888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45889 (eval $ac_compile) 2>conftest.er1
45890 ac_status=$?
45891 grep -v '^ *+' conftest.er1 >conftest.err
45892 rm -f conftest.er1
45893 cat conftest.err >&5
45894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45895 (exit $ac_status); } &&
45896 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45898 (eval $ac_try) 2>&5
45899 ac_status=$?
45900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45901 (exit $ac_status); }; } &&
45902 { ac_try='test -s conftest.$ac_objext'
45903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45904 (eval $ac_try) 2>&5
45905 ac_status=$?
45906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45907 (exit $ac_status); }; }; then
45908 wx_cv_type_getsockname3=socklen_t
45909 else
45910 echo "$as_me: failed program was:" >&5
45911 sed 's/^/| /' conftest.$ac_ext >&5
45912
45913
45914 CFLAGS_OLD="$CFLAGS"
45915 if test "$GCC" = yes ; then
45916 CFLAGS="-Werror $CFLAGS"
45917 fi
45918
45919 cat >conftest.$ac_ext <<_ACEOF
45920 /* confdefs.h. */
45921 _ACEOF
45922 cat confdefs.h >>conftest.$ac_ext
45923 cat >>conftest.$ac_ext <<_ACEOF
45924 /* end confdefs.h. */
45925
45926 #include <sys/types.h>
45927 #include <sys/socket.h>
45928
45929 int
45930 main ()
45931 {
45932
45933 size_t len;
45934 getsockname(0, 0, &len);
45935
45936 ;
45937 return 0;
45938 }
45939 _ACEOF
45940 rm -f conftest.$ac_objext
45941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45942 (eval $ac_compile) 2>conftest.er1
45943 ac_status=$?
45944 grep -v '^ *+' conftest.er1 >conftest.err
45945 rm -f conftest.er1
45946 cat conftest.err >&5
45947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45948 (exit $ac_status); } &&
45949 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45951 (eval $ac_try) 2>&5
45952 ac_status=$?
45953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45954 (exit $ac_status); }; } &&
45955 { ac_try='test -s conftest.$ac_objext'
45956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45957 (eval $ac_try) 2>&5
45958 ac_status=$?
45959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45960 (exit $ac_status); }; }; then
45961 wx_cv_type_getsockname3=size_t
45962 else
45963 echo "$as_me: failed program was:" >&5
45964 sed 's/^/| /' conftest.$ac_ext >&5
45965
45966 cat >conftest.$ac_ext <<_ACEOF
45967 /* confdefs.h. */
45968 _ACEOF
45969 cat confdefs.h >>conftest.$ac_ext
45970 cat >>conftest.$ac_ext <<_ACEOF
45971 /* end confdefs.h. */
45972
45973 #include <sys/types.h>
45974 #include <sys/socket.h>
45975
45976 int
45977 main ()
45978 {
45979
45980 int len;
45981 getsockname(0, 0, &len);
45982
45983 ;
45984 return 0;
45985 }
45986 _ACEOF
45987 rm -f conftest.$ac_objext
45988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45989 (eval $ac_compile) 2>conftest.er1
45990 ac_status=$?
45991 grep -v '^ *+' conftest.er1 >conftest.err
45992 rm -f conftest.er1
45993 cat conftest.err >&5
45994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45995 (exit $ac_status); } &&
45996 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45998 (eval $ac_try) 2>&5
45999 ac_status=$?
46000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46001 (exit $ac_status); }; } &&
46002 { ac_try='test -s conftest.$ac_objext'
46003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46004 (eval $ac_try) 2>&5
46005 ac_status=$?
46006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46007 (exit $ac_status); }; }; then
46008 wx_cv_type_getsockname3=int
46009 else
46010 echo "$as_me: failed program was:" >&5
46011 sed 's/^/| /' conftest.$ac_ext >&5
46012
46013 wx_cv_type_getsockname3=unknown
46014
46015 fi
46016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46017
46018 fi
46019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46020
46021 CFLAGS="$CFLAGS_OLD"
46022
46023
46024 fi
46025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46026 ac_ext=c
46027 ac_cpp='$CPP $CPPFLAGS'
46028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46031
46032
46033 fi
46034 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46035 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
46036
46037 if test "$wx_cv_type_getsockname3" = "unknown"; then
46038 wxUSE_SOCKETS=no
46039 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46040 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46041 else
46042 cat >>confdefs.h <<_ACEOF
46043 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46044 _ACEOF
46045
46046 fi
46047 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46048 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
46049 if test "${wx_cv_type_getsockopt5+set}" = set; then
46050 echo $ECHO_N "(cached) $ECHO_C" >&6
46051 else
46052
46053 ac_ext=cc
46054 ac_cpp='$CXXCPP $CPPFLAGS'
46055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46058
46059 cat >conftest.$ac_ext <<_ACEOF
46060 /* confdefs.h. */
46061 _ACEOF
46062 cat confdefs.h >>conftest.$ac_ext
46063 cat >>conftest.$ac_ext <<_ACEOF
46064 /* end confdefs.h. */
46065
46066 #include <sys/types.h>
46067 #include <sys/socket.h>
46068
46069 int
46070 main ()
46071 {
46072
46073 socklen_t len;
46074 getsockopt(0, 0, 0, 0, &len);
46075
46076 ;
46077 return 0;
46078 }
46079 _ACEOF
46080 rm -f conftest.$ac_objext
46081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46082 (eval $ac_compile) 2>conftest.er1
46083 ac_status=$?
46084 grep -v '^ *+' conftest.er1 >conftest.err
46085 rm -f conftest.er1
46086 cat conftest.err >&5
46087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46088 (exit $ac_status); } &&
46089 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46091 (eval $ac_try) 2>&5
46092 ac_status=$?
46093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46094 (exit $ac_status); }; } &&
46095 { ac_try='test -s conftest.$ac_objext'
46096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46097 (eval $ac_try) 2>&5
46098 ac_status=$?
46099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46100 (exit $ac_status); }; }; then
46101 wx_cv_type_getsockopt5=socklen_t
46102 else
46103 echo "$as_me: failed program was:" >&5
46104 sed 's/^/| /' conftest.$ac_ext >&5
46105
46106
46107 cat >conftest.$ac_ext <<_ACEOF
46108 /* confdefs.h. */
46109 _ACEOF
46110 cat confdefs.h >>conftest.$ac_ext
46111 cat >>conftest.$ac_ext <<_ACEOF
46112 /* end confdefs.h. */
46113
46114 #include <sys/types.h>
46115 #include <sys/socket.h>
46116
46117 int
46118 main ()
46119 {
46120
46121 size_t len;
46122 getsockopt(0, 0, 0, 0, &len);
46123
46124 ;
46125 return 0;
46126 }
46127 _ACEOF
46128 rm -f conftest.$ac_objext
46129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46130 (eval $ac_compile) 2>conftest.er1
46131 ac_status=$?
46132 grep -v '^ *+' conftest.er1 >conftest.err
46133 rm -f conftest.er1
46134 cat conftest.err >&5
46135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46136 (exit $ac_status); } &&
46137 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46139 (eval $ac_try) 2>&5
46140 ac_status=$?
46141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46142 (exit $ac_status); }; } &&
46143 { ac_try='test -s conftest.$ac_objext'
46144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46145 (eval $ac_try) 2>&5
46146 ac_status=$?
46147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46148 (exit $ac_status); }; }; then
46149 wx_cv_type_getsockopt5=size_t
46150 else
46151 echo "$as_me: failed program was:" >&5
46152 sed 's/^/| /' conftest.$ac_ext >&5
46153
46154 cat >conftest.$ac_ext <<_ACEOF
46155 /* confdefs.h. */
46156 _ACEOF
46157 cat confdefs.h >>conftest.$ac_ext
46158 cat >>conftest.$ac_ext <<_ACEOF
46159 /* end confdefs.h. */
46160
46161 #include <sys/types.h>
46162 #include <sys/socket.h>
46163
46164 int
46165 main ()
46166 {
46167
46168 int len;
46169 getsockopt(0, 0, 0, 0, &len);
46170
46171 ;
46172 return 0;
46173 }
46174 _ACEOF
46175 rm -f conftest.$ac_objext
46176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46177 (eval $ac_compile) 2>conftest.er1
46178 ac_status=$?
46179 grep -v '^ *+' conftest.er1 >conftest.err
46180 rm -f conftest.er1
46181 cat conftest.err >&5
46182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46183 (exit $ac_status); } &&
46184 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46186 (eval $ac_try) 2>&5
46187 ac_status=$?
46188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46189 (exit $ac_status); }; } &&
46190 { ac_try='test -s conftest.$ac_objext'
46191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46192 (eval $ac_try) 2>&5
46193 ac_status=$?
46194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46195 (exit $ac_status); }; }; then
46196 wx_cv_type_getsockopt5=int
46197 else
46198 echo "$as_me: failed program was:" >&5
46199 sed 's/^/| /' conftest.$ac_ext >&5
46200
46201 wx_cv_type_getsockopt5=unknown
46202
46203 fi
46204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46205
46206 fi
46207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46208
46209
46210 fi
46211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46212 ac_ext=c
46213 ac_cpp='$CPP $CPPFLAGS'
46214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46217
46218
46219 fi
46220 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46221 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
46222
46223 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46224 wxUSE_SOCKETS=no
46225 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46226 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46227 else
46228 cat >>confdefs.h <<_ACEOF
46229 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46230 _ACEOF
46231
46232 fi
46233 fi
46234 fi
46235
46236 if test "$wxUSE_SOCKETS" = "yes" ; then
46237 cat >>confdefs.h <<\_ACEOF
46238 #define wxUSE_SOCKETS 1
46239 _ACEOF
46240
46241 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46242 fi
46243
46244 if test "$wxUSE_PROTOCOL" = "yes"; then
46245 if test "$wxUSE_SOCKETS" != "yes"; then
46246 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46247 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46248 wxUSE_PROTOCOL=no
46249 fi
46250 fi
46251
46252 if test "$wxUSE_PROTOCOL" = "yes"; then
46253 cat >>confdefs.h <<\_ACEOF
46254 #define wxUSE_PROTOCOL 1
46255 _ACEOF
46256
46257
46258 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46259 cat >>confdefs.h <<\_ACEOF
46260 #define wxUSE_PROTOCOL_HTTP 1
46261 _ACEOF
46262
46263 fi
46264 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46265 cat >>confdefs.h <<\_ACEOF
46266 #define wxUSE_PROTOCOL_FTP 1
46267 _ACEOF
46268
46269 fi
46270 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46271 cat >>confdefs.h <<\_ACEOF
46272 #define wxUSE_PROTOCOL_FILE 1
46273 _ACEOF
46274
46275 fi
46276 else
46277 if test "$wxUSE_FS_INET" = "yes"; then
46278 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46279 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46280 wxUSE_FS_INET="no"
46281 fi
46282 fi
46283
46284 if test "$wxUSE_URL" = "yes"; then
46285 if test "$wxUSE_PROTOCOL" != "yes"; then
46286 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46287 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46288 wxUSE_URL=no
46289 fi
46290 if test "$wxUSE_URL" = "yes"; then
46291 cat >>confdefs.h <<\_ACEOF
46292 #define wxUSE_URL 1
46293 _ACEOF
46294
46295 fi
46296 fi
46297
46298 if test "$wxUSE_VARIANT" = "yes"; then
46299 cat >>confdefs.h <<\_ACEOF
46300 #define wxUSE_VARIANT 1
46301 _ACEOF
46302
46303 fi
46304
46305 if test "$wxUSE_FS_INET" = "yes"; then
46306 cat >>confdefs.h <<\_ACEOF
46307 #define wxUSE_FS_INET 1
46308 _ACEOF
46309
46310 fi
46311
46312
46313 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46314 wxUSE_JOYSTICK=no
46315
46316 if test "$TOOLKIT" = "MSW"; then
46317 wxUSE_JOYSTICK=yes
46318
46319 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
46320 if test "$USE_DARWIN" = 1; then
46321 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46322 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
46323 ac_ext=cc
46324 ac_cpp='$CXXCPP $CPPFLAGS'
46325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46328
46329 cat >conftest.$ac_ext <<_ACEOF
46330 /* confdefs.h. */
46331 _ACEOF
46332 cat confdefs.h >>conftest.$ac_ext
46333 cat >>conftest.$ac_ext <<_ACEOF
46334 /* end confdefs.h. */
46335 #include <IOKit/hid/IOHIDLib.h>
46336 int
46337 main ()
46338 {
46339 IOHIDQueueInterface *qi = NULL;
46340 IOHIDCallbackFunction cb = NULL;
46341 qi->setEventCallout(NULL, cb, NULL, NULL);
46342 ;
46343 return 0;
46344 }
46345 _ACEOF
46346 rm -f conftest.$ac_objext
46347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46348 (eval $ac_compile) 2>conftest.er1
46349 ac_status=$?
46350 grep -v '^ *+' conftest.er1 >conftest.err
46351 rm -f conftest.er1
46352 cat conftest.err >&5
46353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46354 (exit $ac_status); } &&
46355 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46357 (eval $ac_try) 2>&5
46358 ac_status=$?
46359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46360 (exit $ac_status); }; } &&
46361 { ac_try='test -s conftest.$ac_objext'
46362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46363 (eval $ac_try) 2>&5
46364 ac_status=$?
46365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46366 (exit $ac_status); }; }; then
46367 wxUSE_JOYSTICK=yes
46368
46369 else
46370 echo "$as_me: failed program was:" >&5
46371 sed 's/^/| /' conftest.$ac_ext >&5
46372
46373 fi
46374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46375 ac_ext=c
46376 ac_cpp='$CPP $CPPFLAGS'
46377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46380
46381 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46382 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
46383 fi
46384
46385 else
46386 if test "$wxUSE_MGL" != "1"; then
46387 echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
46388 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6
46389 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
46390 echo $ECHO_N "(cached) $ECHO_C" >&6
46391 else
46392 cat >conftest.$ac_ext <<_ACEOF
46393 /* confdefs.h. */
46394 _ACEOF
46395 cat confdefs.h >>conftest.$ac_ext
46396 cat >>conftest.$ac_ext <<_ACEOF
46397 /* end confdefs.h. */
46398 $ac_includes_default
46399
46400 #include <linux/joystick.h>
46401 _ACEOF
46402 rm -f conftest.$ac_objext
46403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46404 (eval $ac_compile) 2>conftest.er1
46405 ac_status=$?
46406 grep -v '^ *+' conftest.er1 >conftest.err
46407 rm -f conftest.er1
46408 cat conftest.err >&5
46409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46410 (exit $ac_status); } &&
46411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46413 (eval $ac_try) 2>&5
46414 ac_status=$?
46415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46416 (exit $ac_status); }; } &&
46417 { ac_try='test -s conftest.$ac_objext'
46418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46419 (eval $ac_try) 2>&5
46420 ac_status=$?
46421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46422 (exit $ac_status); }; }; then
46423 ac_cv_header_linux_joystick_h=yes
46424 else
46425 echo "$as_me: failed program was:" >&5
46426 sed 's/^/| /' conftest.$ac_ext >&5
46427
46428 ac_cv_header_linux_joystick_h=no
46429 fi
46430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46431 fi
46432 echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
46433 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6
46434 if test $ac_cv_header_linux_joystick_h = yes; then
46435 wxUSE_JOYSTICK=yes
46436 fi
46437
46438
46439 fi
46440 fi
46441
46442 if test "$wxUSE_JOYSTICK" = "yes"; then
46443 cat >>confdefs.h <<\_ACEOF
46444 #define wxUSE_JOYSTICK 1
46445 _ACEOF
46446
46447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
46448 else
46449 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
46450 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
46451 fi
46452 fi
46453
46454
46455
46456 if test "$wxUSE_FONTMAP" = "yes" ; then
46457 cat >>confdefs.h <<\_ACEOF
46458 #define wxUSE_FONTMAP 1
46459 _ACEOF
46460
46461 fi
46462
46463 if test "$wxUSE_UNICODE" = "yes" ; then
46464 cat >>confdefs.h <<\_ACEOF
46465 #define wxUSE_UNICODE 1
46466 _ACEOF
46467
46468
46469 if test "$USE_WIN32" != 1; then
46470 wxUSE_UNICODE_MSLU=no
46471 fi
46472
46473 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
46474 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
46475 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
46476 if test "${ac_cv_lib_unicows_main+set}" = set; then
46477 echo $ECHO_N "(cached) $ECHO_C" >&6
46478 else
46479 ac_check_lib_save_LIBS=$LIBS
46480 LIBS="-lunicows $LIBS"
46481 cat >conftest.$ac_ext <<_ACEOF
46482 /* confdefs.h. */
46483 _ACEOF
46484 cat confdefs.h >>conftest.$ac_ext
46485 cat >>conftest.$ac_ext <<_ACEOF
46486 /* end confdefs.h. */
46487
46488
46489 int
46490 main ()
46491 {
46492 main ();
46493 ;
46494 return 0;
46495 }
46496 _ACEOF
46497 rm -f conftest.$ac_objext conftest$ac_exeext
46498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46499 (eval $ac_link) 2>conftest.er1
46500 ac_status=$?
46501 grep -v '^ *+' conftest.er1 >conftest.err
46502 rm -f conftest.er1
46503 cat conftest.err >&5
46504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46505 (exit $ac_status); } &&
46506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46508 (eval $ac_try) 2>&5
46509 ac_status=$?
46510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46511 (exit $ac_status); }; } &&
46512 { ac_try='test -s conftest$ac_exeext'
46513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46514 (eval $ac_try) 2>&5
46515 ac_status=$?
46516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46517 (exit $ac_status); }; }; then
46518 ac_cv_lib_unicows_main=yes
46519 else
46520 echo "$as_me: failed program was:" >&5
46521 sed 's/^/| /' conftest.$ac_ext >&5
46522
46523 ac_cv_lib_unicows_main=no
46524 fi
46525 rm -f conftest.err conftest.$ac_objext \
46526 conftest$ac_exeext conftest.$ac_ext
46527 LIBS=$ac_check_lib_save_LIBS
46528 fi
46529 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
46530 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
46531 if test $ac_cv_lib_unicows_main = yes; then
46532
46533 cat >>confdefs.h <<\_ACEOF
46534 #define wxUSE_UNICODE_MSLU 1
46535 _ACEOF
46536
46537
46538 else
46539
46540 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46541 Applications will only run on Windows NT/2000/XP!" >&5
46542 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
46543 Applications will only run on Windows NT/2000/XP!" >&2;}
46544 wxUSE_UNICODE_MSLU=no
46545
46546 fi
46547
46548 fi
46549 fi
46550
46551 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
46552 cat >>confdefs.h <<\_ACEOF
46553 #define wxUSE_UNICODE_UTF8 1
46554 _ACEOF
46555
46556
46557 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
46558 cat >>confdefs.h <<\_ACEOF
46559 #define wxUSE_UTF8_LOCALE_ONLY 1
46560 _ACEOF
46561
46562 fi
46563 fi
46564
46565 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
46566 cat >>confdefs.h <<\_ACEOF
46567 #define wxUSE_EXPERIMENTAL_PRINTF 1
46568 _ACEOF
46569
46570 fi
46571
46572
46573 if test "$wxUSE_CONSTRAINTS" = "yes"; then
46574 cat >>confdefs.h <<\_ACEOF
46575 #define wxUSE_CONSTRAINTS 1
46576 _ACEOF
46577
46578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
46579 fi
46580
46581 if test "$wxUSE_MDI" = "yes"; then
46582 cat >>confdefs.h <<\_ACEOF
46583 #define wxUSE_MDI 1
46584 _ACEOF
46585
46586
46587 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46588 cat >>confdefs.h <<\_ACEOF
46589 #define wxUSE_MDI_ARCHITECTURE 1
46590 _ACEOF
46591
46592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
46593 fi
46594 fi
46595
46596 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
46597 cat >>confdefs.h <<\_ACEOF
46598 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
46599 _ACEOF
46600
46601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
46602 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
46603 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
46604 fi
46605 fi
46606
46607 if test "$wxUSE_HELP" = "yes"; then
46608 cat >>confdefs.h <<\_ACEOF
46609 #define wxUSE_HELP 1
46610 _ACEOF
46611
46612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
46613
46614 if test "$wxUSE_MSW" = 1; then
46615 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
46616 cat >>confdefs.h <<\_ACEOF
46617 #define wxUSE_MS_HTML_HELP 1
46618 _ACEOF
46619
46620 fi
46621 fi
46622
46623 if test "$wxUSE_WXHTML_HELP" = "yes"; then
46624 if test "$wxUSE_HTML" = "yes"; then
46625 cat >>confdefs.h <<\_ACEOF
46626 #define wxUSE_WXHTML_HELP 1
46627 _ACEOF
46628
46629 else
46630 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
46631 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
46632 wxUSE_WXHTML_HELP=no
46633 fi
46634 fi
46635 fi
46636
46637 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46638 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46639 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
46640 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
46641 else
46642 cat >>confdefs.h <<\_ACEOF
46643 #define wxUSE_PRINTING_ARCHITECTURE 1
46644 _ACEOF
46645
46646 fi
46647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
46648 fi
46649
46650 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
46651 cat >>confdefs.h <<\_ACEOF
46652 #define wxUSE_POSTSCRIPT 1
46653 _ACEOF
46654
46655 fi
46656
46657 cat >>confdefs.h <<\_ACEOF
46658 #define wxUSE_AFM_FOR_POSTSCRIPT 1
46659 _ACEOF
46660
46661
46662 cat >>confdefs.h <<\_ACEOF
46663 #define wxUSE_NORMALIZED_PS_FONTS 1
46664 _ACEOF
46665
46666
46667 if test "$wxUSE_SVG" = "yes"; then
46668 cat >>confdefs.h <<\_ACEOF
46669 #define wxUSE_SVG 1
46670 _ACEOF
46671
46672 fi
46673
46674
46675 if test "$wxUSE_METAFILE" = "yes"; then
46676 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
46677 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
46678 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
46679 wxUSE_METAFILE=no
46680 fi
46681 fi
46682
46683
46684 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
46685 -o "$wxUSE_CLIPBOARD" = "yes" \
46686 -o "$wxUSE_OLE" = "yes" \
46687 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
46688 echo "$as_me:$LINENO: checking for ole2.h" >&5
46689 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6
46690 if test "${ac_cv_header_ole2_h+set}" = set; then
46691 echo $ECHO_N "(cached) $ECHO_C" >&6
46692 else
46693 cat >conftest.$ac_ext <<_ACEOF
46694 /* confdefs.h. */
46695 _ACEOF
46696 cat confdefs.h >>conftest.$ac_ext
46697 cat >>conftest.$ac_ext <<_ACEOF
46698 /* end confdefs.h. */
46699
46700
46701 #include <ole2.h>
46702 _ACEOF
46703 rm -f conftest.$ac_objext
46704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46705 (eval $ac_compile) 2>conftest.er1
46706 ac_status=$?
46707 grep -v '^ *+' conftest.er1 >conftest.err
46708 rm -f conftest.er1
46709 cat conftest.err >&5
46710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46711 (exit $ac_status); } &&
46712 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46714 (eval $ac_try) 2>&5
46715 ac_status=$?
46716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46717 (exit $ac_status); }; } &&
46718 { ac_try='test -s conftest.$ac_objext'
46719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46720 (eval $ac_try) 2>&5
46721 ac_status=$?
46722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46723 (exit $ac_status); }; }; then
46724 ac_cv_header_ole2_h=yes
46725 else
46726 echo "$as_me: failed program was:" >&5
46727 sed 's/^/| /' conftest.$ac_ext >&5
46728
46729 ac_cv_header_ole2_h=no
46730 fi
46731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46732 fi
46733 echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
46734 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6
46735
46736
46737
46738 if test "$ac_cv_header_ole2_h" = "yes" ; then
46739 if test "$GCC" = yes ; then
46740 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46741 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
46742 cat >conftest.$ac_ext <<_ACEOF
46743 /* confdefs.h. */
46744 _ACEOF
46745 cat confdefs.h >>conftest.$ac_ext
46746 cat >>conftest.$ac_ext <<_ACEOF
46747 /* end confdefs.h. */
46748 #include <windows.h>
46749 #include <ole2.h>
46750 int
46751 main ()
46752 {
46753
46754 ;
46755 return 0;
46756 }
46757 _ACEOF
46758 rm -f conftest.$ac_objext
46759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46760 (eval $ac_compile) 2>conftest.er1
46761 ac_status=$?
46762 grep -v '^ *+' conftest.er1 >conftest.err
46763 rm -f conftest.er1
46764 cat conftest.err >&5
46765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46766 (exit $ac_status); } &&
46767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
46768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46769 (eval $ac_try) 2>&5
46770 ac_status=$?
46771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46772 (exit $ac_status); }; } &&
46773 { ac_try='test -s conftest.$ac_objext'
46774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46775 (eval $ac_try) 2>&5
46776 ac_status=$?
46777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46778 (exit $ac_status); }; }; then
46779 echo "$as_me:$LINENO: result: no" >&5
46780 echo "${ECHO_T}no" >&6
46781 else
46782 echo "$as_me: failed program was:" >&5
46783 sed 's/^/| /' conftest.$ac_ext >&5
46784
46785 echo "$as_me:$LINENO: result: yes" >&5
46786 echo "${ECHO_T}yes" >&6
46787 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46788 fi
46789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46790 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46791 if test "$wxUSE_OLE" = "yes" ; then
46792 cat >>confdefs.h <<\_ACEOF
46793 #define wxUSE_OLE 1
46794 _ACEOF
46795
46796 cat >>confdefs.h <<\_ACEOF
46797 #define wxUSE_OLE_AUTOMATION 1
46798 _ACEOF
46799
46800 cat >>confdefs.h <<\_ACEOF
46801 #define wxUSE_ACTIVEX 1
46802 _ACEOF
46803
46804 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46805 fi
46806 fi
46807
46808 if test "$wxUSE_DATAOBJ" = "yes" ; then
46809 cat >>confdefs.h <<\_ACEOF
46810 #define wxUSE_DATAOBJ 1
46811 _ACEOF
46812
46813 fi
46814 else
46815 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46816 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46817
46818 wxUSE_CLIPBOARD=no
46819 wxUSE_DRAG_AND_DROP=no
46820 wxUSE_DATAOBJ=no
46821 wxUSE_OLE=no
46822 fi
46823
46824 if test "$wxUSE_METAFILE" = "yes"; then
46825 cat >>confdefs.h <<\_ACEOF
46826 #define wxUSE_METAFILE 1
46827 _ACEOF
46828
46829
46830 cat >>confdefs.h <<\_ACEOF
46831 #define wxUSE_ENH_METAFILE 1
46832 _ACEOF
46833
46834 fi
46835 fi
46836
46837 if test "$wxUSE_IPC" = "yes"; then
46838 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46839 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46840 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46841 wxUSE_IPC=no
46842 fi
46843
46844 if test "$wxUSE_IPC" = "yes"; then
46845 cat >>confdefs.h <<\_ACEOF
46846 #define wxUSE_IPC 1
46847 _ACEOF
46848
46849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46850 fi
46851 fi
46852
46853 if test "$wxUSE_DATAOBJ" = "yes"; then
46854 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46855 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
46856 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
46857 wxUSE_DATAOBJ=no
46858 else
46859 cat >>confdefs.h <<\_ACEOF
46860 #define wxUSE_DATAOBJ 1
46861 _ACEOF
46862
46863 fi
46864 else
46865 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46866 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46867 wxUSE_CLIPBOARD=no
46868 wxUSE_DRAG_AND_DROP=no
46869 fi
46870
46871 if test "$wxUSE_CLIPBOARD" = "yes"; then
46872 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
46873 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
46874 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
46875 wxUSE_CLIPBOARD=no
46876 fi
46877
46878 if test "$wxUSE_CLIPBOARD" = "yes"; then
46879 cat >>confdefs.h <<\_ACEOF
46880 #define wxUSE_CLIPBOARD 1
46881 _ACEOF
46882
46883 fi
46884 fi
46885
46886 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46887 if test "$wxUSE_GTK" = 1; then
46888 if test "$WXGTK12" != 1; then
46889 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46890 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46891 wxUSE_DRAG_AND_DROP=no
46892 fi
46893 fi
46894
46895 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
46896 "$wxUSE_DFB" = 1; then
46897 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
46898 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
46899 wxUSE_DRAG_AND_DROP=no
46900 fi
46901
46902 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46903 cat >>confdefs.h <<\_ACEOF
46904 #define wxUSE_DRAG_AND_DROP 1
46905 _ACEOF
46906
46907 fi
46908
46909 fi
46910
46911 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46913 fi
46914
46915 if test "$wxUSE_SPLINES" = "yes" ; then
46916 cat >>confdefs.h <<\_ACEOF
46917 #define wxUSE_SPLINES 1
46918 _ACEOF
46919
46920 fi
46921
46922 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46923 cat >>confdefs.h <<\_ACEOF
46924 #define wxUSE_MOUSEWHEEL 1
46925 _ACEOF
46926
46927 fi
46928
46929
46930 USES_CONTROLS=0
46931 if test "$wxUSE_CONTROLS" = "yes"; then
46932 USES_CONTROLS=1
46933 fi
46934
46935 if test "$wxUSE_ACCEL" = "yes"; then
46936 cat >>confdefs.h <<\_ACEOF
46937 #define wxUSE_ACCEL 1
46938 _ACEOF
46939
46940 USES_CONTROLS=1
46941 fi
46942
46943 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46944 cat >>confdefs.h <<\_ACEOF
46945 #define wxUSE_ANIMATIONCTRL 1
46946 _ACEOF
46947
46948 USES_CONTROLS=1
46949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46950 fi
46951
46952 if test "$wxUSE_BUTTON" = "yes"; then
46953 cat >>confdefs.h <<\_ACEOF
46954 #define wxUSE_BUTTON 1
46955 _ACEOF
46956
46957 USES_CONTROLS=1
46958 fi
46959
46960 if test "$wxUSE_BMPBUTTON" = "yes"; then
46961 cat >>confdefs.h <<\_ACEOF
46962 #define wxUSE_BMPBUTTON 1
46963 _ACEOF
46964
46965 USES_CONTROLS=1
46966 fi
46967
46968 if test "$wxUSE_CALCTRL" = "yes"; then
46969 cat >>confdefs.h <<\_ACEOF
46970 #define wxUSE_CALENDARCTRL 1
46971 _ACEOF
46972
46973 USES_CONTROLS=1
46974 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46975 fi
46976
46977 if test "$wxUSE_CARET" = "yes"; then
46978 cat >>confdefs.h <<\_ACEOF
46979 #define wxUSE_CARET 1
46980 _ACEOF
46981
46982 USES_CONTROLS=1
46983 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46984 fi
46985
46986 if test "$wxUSE_COLLPANE" = "yes"; then
46987 cat >>confdefs.h <<\_ACEOF
46988 #define wxUSE_COLLPANE 1
46989 _ACEOF
46990
46991 USES_CONTROLS=1
46992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46993 fi
46994
46995 if test "$wxUSE_COMBOBOX" = "yes"; then
46996 cat >>confdefs.h <<\_ACEOF
46997 #define wxUSE_COMBOBOX 1
46998 _ACEOF
46999
47000 USES_CONTROLS=1
47001 fi
47002
47003 if test "$wxUSE_COMBOCTRL" = "yes"; then
47004 cat >>confdefs.h <<\_ACEOF
47005 #define wxUSE_COMBOCTRL 1
47006 _ACEOF
47007
47008 USES_CONTROLS=1
47009 fi
47010
47011 if test "$wxUSE_CHOICE" = "yes"; then
47012 cat >>confdefs.h <<\_ACEOF
47013 #define wxUSE_CHOICE 1
47014 _ACEOF
47015
47016 USES_CONTROLS=1
47017 fi
47018
47019 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47020 cat >>confdefs.h <<\_ACEOF
47021 #define wxUSE_CHOICEBOOK 1
47022 _ACEOF
47023
47024 USES_CONTROLS=1
47025 fi
47026
47027 if test "$wxUSE_CHECKBOX" = "yes"; then
47028 cat >>confdefs.h <<\_ACEOF
47029 #define wxUSE_CHECKBOX 1
47030 _ACEOF
47031
47032 USES_CONTROLS=1
47033 fi
47034
47035 if test "$wxUSE_CHECKLST" = "yes"; then
47036 cat >>confdefs.h <<\_ACEOF
47037 #define wxUSE_CHECKLISTBOX 1
47038 _ACEOF
47039
47040 USES_CONTROLS=1
47041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
47042 fi
47043
47044 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47045 cat >>confdefs.h <<\_ACEOF
47046 #define wxUSE_COLOURPICKERCTRL 1
47047 _ACEOF
47048
47049 USES_CONTROLS=1
47050 fi
47051
47052 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47053 cat >>confdefs.h <<\_ACEOF
47054 #define wxUSE_DATEPICKCTRL 1
47055 _ACEOF
47056
47057 USES_CONTROLS=1
47058 fi
47059
47060 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47061 cat >>confdefs.h <<\_ACEOF
47062 #define wxUSE_DIRPICKERCTRL 1
47063 _ACEOF
47064
47065 USES_CONTROLS=1
47066 fi
47067
47068 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47069 cat >>confdefs.h <<\_ACEOF
47070 #define wxUSE_FILEPICKERCTRL 1
47071 _ACEOF
47072
47073 USES_CONTROLS=1
47074 fi
47075
47076 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47077 cat >>confdefs.h <<\_ACEOF
47078 #define wxUSE_FONTPICKERCTRL 1
47079 _ACEOF
47080
47081 USES_CONTROLS=1
47082 fi
47083
47084 if test "$wxUSE_DISPLAY" = "yes"; then
47085 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47086 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47087 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47088 wxUSE_DISPLAY=no
47089 else
47090 cat >>confdefs.h <<\_ACEOF
47091 #define wxUSE_DISPLAY 1
47092 _ACEOF
47093
47094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
47095 fi
47096 fi
47097
47098 if test "$wxUSE_DETECT_SM" = "yes"; then
47099 cat >>confdefs.h <<\_ACEOF
47100 #define wxUSE_DETECT_SM 1
47101 _ACEOF
47102
47103 fi
47104
47105 if test "$wxUSE_GAUGE" = "yes"; then
47106 cat >>confdefs.h <<\_ACEOF
47107 #define wxUSE_GAUGE 1
47108 _ACEOF
47109
47110 USES_CONTROLS=1
47111 fi
47112
47113 if test "$wxUSE_GRID" = "yes"; then
47114 cat >>confdefs.h <<\_ACEOF
47115 #define wxUSE_GRID 1
47116 _ACEOF
47117
47118 USES_CONTROLS=1
47119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
47120 fi
47121
47122 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47123 cat >>confdefs.h <<\_ACEOF
47124 #define wxUSE_HYPERLINKCTRL 1
47125 _ACEOF
47126
47127 USES_CONTROLS=1
47128 fi
47129
47130 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47131 cat >>confdefs.h <<\_ACEOF
47132 #define wxUSE_BITMAPCOMBOBOX 1
47133 _ACEOF
47134
47135 USES_CONTROLS=1
47136 fi
47137
47138 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47139 cat >>confdefs.h <<\_ACEOF
47140 #define wxUSE_DATAVIEWCTRL 1
47141 _ACEOF
47142
47143 USES_CONTROLS=1
47144 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
47145 fi
47146
47147 if test "$wxUSE_IMAGLIST" = "yes"; then
47148 cat >>confdefs.h <<\_ACEOF
47149 #define wxUSE_IMAGLIST 1
47150 _ACEOF
47151
47152 fi
47153
47154 if test "$wxUSE_LISTBOOK" = "yes"; then
47155 cat >>confdefs.h <<\_ACEOF
47156 #define wxUSE_LISTBOOK 1
47157 _ACEOF
47158
47159 USES_CONTROLS=1
47160 fi
47161
47162 if test "$wxUSE_LISTBOX" = "yes"; then
47163 cat >>confdefs.h <<\_ACEOF
47164 #define wxUSE_LISTBOX 1
47165 _ACEOF
47166
47167 USES_CONTROLS=1
47168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
47169 fi
47170
47171 if test "$wxUSE_LISTCTRL" = "yes"; then
47172 if test "$wxUSE_IMAGLIST" = "yes"; then
47173 cat >>confdefs.h <<\_ACEOF
47174 #define wxUSE_LISTCTRL 1
47175 _ACEOF
47176
47177 USES_CONTROLS=1
47178 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
47179 else
47180 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47181 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47182 fi
47183 fi
47184
47185 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47186 cat >>confdefs.h <<\_ACEOF
47187 #define wxUSE_EDITABLELISTBOX 1
47188 _ACEOF
47189
47190 USES_CONTROLS=1
47191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
47192 fi
47193
47194 if test "$wxUSE_NOTEBOOK" = "yes"; then
47195 cat >>confdefs.h <<\_ACEOF
47196 #define wxUSE_NOTEBOOK 1
47197 _ACEOF
47198
47199 USES_CONTROLS=1
47200 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
47201 fi
47202
47203 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47204 cat >>confdefs.h <<\_ACEOF
47205 #define wxUSE_ODCOMBOBOX 1
47206 _ACEOF
47207
47208 USES_CONTROLS=1
47209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
47210 fi
47211
47212
47213 if test "$wxUSE_RADIOBOX" = "yes"; then
47214 cat >>confdefs.h <<\_ACEOF
47215 #define wxUSE_RADIOBOX 1
47216 _ACEOF
47217
47218 USES_CONTROLS=1
47219 fi
47220
47221 if test "$wxUSE_RADIOBTN" = "yes"; then
47222 cat >>confdefs.h <<\_ACEOF
47223 #define wxUSE_RADIOBTN 1
47224 _ACEOF
47225
47226 USES_CONTROLS=1
47227 fi
47228
47229 if test "$wxUSE_SASH" = "yes"; then
47230 cat >>confdefs.h <<\_ACEOF
47231 #define wxUSE_SASH 1
47232 _ACEOF
47233
47234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
47235 fi
47236
47237 if test "$wxUSE_SCROLLBAR" = "yes"; then
47238 cat >>confdefs.h <<\_ACEOF
47239 #define wxUSE_SCROLLBAR 1
47240 _ACEOF
47241
47242 USES_CONTROLS=1
47243 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
47244 fi
47245
47246 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47247 cat >>confdefs.h <<\_ACEOF
47248 #define wxUSE_SEARCHCTRL 1
47249 _ACEOF
47250
47251 USES_CONTROLS=1
47252 fi
47253
47254 if test "$wxUSE_SLIDER" = "yes"; then
47255 cat >>confdefs.h <<\_ACEOF
47256 #define wxUSE_SLIDER 1
47257 _ACEOF
47258
47259 USES_CONTROLS=1
47260 fi
47261
47262 if test "$wxUSE_SPINBTN" = "yes"; then
47263 cat >>confdefs.h <<\_ACEOF
47264 #define wxUSE_SPINBTN 1
47265 _ACEOF
47266
47267 USES_CONTROLS=1
47268 fi
47269
47270 if test "$wxUSE_SPINCTRL" = "yes"; then
47271 cat >>confdefs.h <<\_ACEOF
47272 #define wxUSE_SPINCTRL 1
47273 _ACEOF
47274
47275 USES_CONTROLS=1
47276 fi
47277
47278 if test "$wxUSE_SPLITTER" = "yes"; then
47279 cat >>confdefs.h <<\_ACEOF
47280 #define wxUSE_SPLITTER 1
47281 _ACEOF
47282
47283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
47284 fi
47285
47286 if test "$wxUSE_STATBMP" = "yes"; then
47287 cat >>confdefs.h <<\_ACEOF
47288 #define wxUSE_STATBMP 1
47289 _ACEOF
47290
47291 USES_CONTROLS=1
47292 fi
47293
47294 if test "$wxUSE_STATBOX" = "yes"; then
47295 cat >>confdefs.h <<\_ACEOF
47296 #define wxUSE_STATBOX 1
47297 _ACEOF
47298
47299 USES_CONTROLS=1
47300 fi
47301
47302 if test "$wxUSE_STATTEXT" = "yes"; then
47303 cat >>confdefs.h <<\_ACEOF
47304 #define wxUSE_STATTEXT 1
47305 _ACEOF
47306
47307 USES_CONTROLS=1
47308 fi
47309
47310 if test "$wxUSE_STATLINE" = "yes"; then
47311 cat >>confdefs.h <<\_ACEOF
47312 #define wxUSE_STATLINE 1
47313 _ACEOF
47314
47315 USES_CONTROLS=1
47316 fi
47317
47318 if test "$wxUSE_STATUSBAR" = "yes"; then
47319 cat >>confdefs.h <<\_ACEOF
47320 #define wxUSE_NATIVE_STATUSBAR 1
47321 _ACEOF
47322
47323 cat >>confdefs.h <<\_ACEOF
47324 #define wxUSE_STATUSBAR 1
47325 _ACEOF
47326
47327 USES_CONTROLS=1
47328
47329 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
47330 fi
47331
47332 if test "$wxUSE_TAB_DIALOG" = "yes"; then
47333 cat >>confdefs.h <<\_ACEOF
47334 #define wxUSE_TAB_DIALOG 1
47335 _ACEOF
47336
47337 fi
47338
47339 if test "$wxUSE_TEXTCTRL" = "yes"; then
47340 cat >>confdefs.h <<\_ACEOF
47341 #define wxUSE_TEXTCTRL 1
47342 _ACEOF
47343
47344 USES_CONTROLS=1
47345 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
47346 fi
47347
47348 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47349 if test "$wxUSE_COCOA" = 1 ; then
47350 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
47351 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
47352 wxUSE_TOGGLEBTN=no
47353 fi
47354
47355 if test "$wxUSE_TOGGLEBTN" = "yes"; then
47356 cat >>confdefs.h <<\_ACEOF
47357 #define wxUSE_TOGGLEBTN 1
47358 _ACEOF
47359
47360 USES_CONTROLS=1
47361 fi
47362 fi
47363
47364 if test "$wxUSE_TOOLBAR" = "yes"; then
47365 cat >>confdefs.h <<\_ACEOF
47366 #define wxUSE_TOOLBAR 1
47367 _ACEOF
47368
47369 USES_CONTROLS=1
47370
47371 if test "$wxUSE_UNIVERSAL" = "yes"; then
47372 wxUSE_TOOLBAR_NATIVE="no"
47373 else
47374 wxUSE_TOOLBAR_NATIVE="yes"
47375 cat >>confdefs.h <<\_ACEOF
47376 #define wxUSE_TOOLBAR_NATIVE 1
47377 _ACEOF
47378
47379 fi
47380
47381 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
47382 fi
47383
47384 if test "$wxUSE_TOOLTIPS" = "yes"; then
47385 if test "$wxUSE_MOTIF" = 1; then
47386 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
47387 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
47388 else
47389 if test "$wxUSE_UNIVERSAL" = "yes"; then
47390 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
47391 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
47392 else
47393 cat >>confdefs.h <<\_ACEOF
47394 #define wxUSE_TOOLTIPS 1
47395 _ACEOF
47396
47397 fi
47398 fi
47399 fi
47400
47401 if test "$wxUSE_TREEBOOK" = "yes"; then
47402 cat >>confdefs.h <<\_ACEOF
47403 #define wxUSE_TREEBOOK 1
47404 _ACEOF
47405
47406 USES_CONTROLS=1
47407 fi
47408
47409 if test "$wxUSE_TOOLBOOK" = "yes"; then
47410 cat >>confdefs.h <<\_ACEOF
47411 #define wxUSE_TOOLBOOK 1
47412 _ACEOF
47413
47414 USES_CONTROLS=1
47415 fi
47416
47417 if test "$wxUSE_TREECTRL" = "yes"; then
47418 if test "$wxUSE_IMAGLIST" = "yes"; then
47419 cat >>confdefs.h <<\_ACEOF
47420 #define wxUSE_TREECTRL 1
47421 _ACEOF
47422
47423 USES_CONTROLS=1
47424 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
47425 else
47426 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
47427 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
47428 fi
47429 fi
47430
47431 if test "$wxUSE_POPUPWIN" = "yes"; then
47432 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
47433 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
47434 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
47435 else
47436 if test "$wxUSE_PM" = 1; then
47437 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
47438 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
47439 else
47440 cat >>confdefs.h <<\_ACEOF
47441 #define wxUSE_POPUPWIN 1
47442 _ACEOF
47443
47444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
47445
47446 USES_CONTROLS=1
47447 fi
47448 fi
47449 fi
47450
47451 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
47452 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
47453 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
47454 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
47455 else
47456 cat >>confdefs.h <<\_ACEOF
47457 #define wxUSE_DIALUP_MANAGER 1
47458 _ACEOF
47459
47460 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
47461 fi
47462 fi
47463
47464 if test "$wxUSE_TIPWINDOW" = "yes"; then
47465 if test "$wxUSE_PM" = 1; then
47466 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
47467 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
47468 else
47469 cat >>confdefs.h <<\_ACEOF
47470 #define wxUSE_TIPWINDOW 1
47471 _ACEOF
47472
47473 fi
47474 fi
47475
47476 if test "$USES_CONTROLS" = 1; then
47477 cat >>confdefs.h <<\_ACEOF
47478 #define wxUSE_CONTROLS 1
47479 _ACEOF
47480
47481 fi
47482
47483
47484 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
47485 cat >>confdefs.h <<\_ACEOF
47486 #define wxUSE_ACCESSIBILITY 1
47487 _ACEOF
47488
47489 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
47490 fi
47491
47492 if test "$wxUSE_DC_CACHEING" = "yes"; then
47493 cat >>confdefs.h <<\_ACEOF
47494 #define wxUSE_DC_CACHEING 1
47495 _ACEOF
47496
47497 fi
47498
47499 if test "$wxUSE_DRAGIMAGE" = "yes"; then
47500 cat >>confdefs.h <<\_ACEOF
47501 #define wxUSE_DRAGIMAGE 1
47502 _ACEOF
47503
47504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
47505 fi
47506
47507 if test "$wxUSE_EXCEPTIONS" = "yes"; then
47508 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
47509 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
47510 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
47511 else
47512 cat >>confdefs.h <<\_ACEOF
47513 #define wxUSE_EXCEPTIONS 1
47514 _ACEOF
47515
47516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
47517 fi
47518 fi
47519
47520 USE_HTML=0
47521 if test "$wxUSE_HTML" = "yes"; then
47522 cat >>confdefs.h <<\_ACEOF
47523 #define wxUSE_HTML 1
47524 _ACEOF
47525
47526 USE_HTML=1
47527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
47528 if test "$wxUSE_MAC" = 1; then
47529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
47530 fi
47531 fi
47532 if test "$wxUSE_WEBKIT" = "yes"; then
47533 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
47534 old_CPPFLAGS="$CPPFLAGS"
47535 CPPFLAGS="-x objective-c++ $CPPFLAGS"
47536 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
47537 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
47538 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
47539 echo $ECHO_N "(cached) $ECHO_C" >&6
47540 else
47541 cat >conftest.$ac_ext <<_ACEOF
47542 /* confdefs.h. */
47543 _ACEOF
47544 cat confdefs.h >>conftest.$ac_ext
47545 cat >>conftest.$ac_ext <<_ACEOF
47546 /* end confdefs.h. */
47547
47548 #include <Carbon/Carbon.h>
47549 #include <WebKit/WebKit.h>
47550
47551
47552 #include <WebKit/HIWebView.h>
47553 _ACEOF
47554 rm -f conftest.$ac_objext
47555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47556 (eval $ac_compile) 2>conftest.er1
47557 ac_status=$?
47558 grep -v '^ *+' conftest.er1 >conftest.err
47559 rm -f conftest.er1
47560 cat conftest.err >&5
47561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47562 (exit $ac_status); } &&
47563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47565 (eval $ac_try) 2>&5
47566 ac_status=$?
47567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47568 (exit $ac_status); }; } &&
47569 { ac_try='test -s conftest.$ac_objext'
47570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47571 (eval $ac_try) 2>&5
47572 ac_status=$?
47573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47574 (exit $ac_status); }; }; then
47575 ac_cv_header_WebKit_HIWebView_h=yes
47576 else
47577 echo "$as_me: failed program was:" >&5
47578 sed 's/^/| /' conftest.$ac_ext >&5
47579
47580 ac_cv_header_WebKit_HIWebView_h=no
47581 fi
47582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47583 fi
47584 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
47585 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
47586 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
47587
47588 cat >>confdefs.h <<\_ACEOF
47589 #define wxUSE_WEBKIT 1
47590 _ACEOF
47591
47592 WEBKIT_LINK="-framework WebKit"
47593
47594 else
47595
47596 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
47597 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
47598 wxUSE_WEBKIT=no
47599
47600 fi
47601
47602
47603 CPPFLAGS="$old_CPPFLAGS"
47604 elif test "$wxUSE_COCOA" = 1; then
47605 cat >>confdefs.h <<\_ACEOF
47606 #define wxUSE_WEBKIT 1
47607 _ACEOF
47608
47609 else
47610 wxUSE_WEBKIT=no
47611 fi
47612 fi
47613
47614 USE_XRC=0
47615 if test "$wxUSE_XRC" = "yes"; then
47616 if test "$wxUSE_XML" != "yes"; then
47617 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
47618 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
47619 wxUSE_XRC=no
47620 else
47621 cat >>confdefs.h <<\_ACEOF
47622 #define wxUSE_XRC 1
47623 _ACEOF
47624
47625 USE_XRC=1
47626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
47627 fi
47628 fi
47629
47630 USE_AUI=0
47631 if test "$wxUSE_AUI" = "yes"; then
47632 cat >>confdefs.h <<\_ACEOF
47633 #define wxUSE_AUI 1
47634 _ACEOF
47635
47636 USE_AUI=1
47637 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
47638 fi
47639
47640 USE_STC=0
47641 if test "$wxUSE_STC" = "yes"; then
47642 cat >>confdefs.h <<\_ACEOF
47643 #define wxUSE_STC 1
47644 _ACEOF
47645
47646 USE_STC=1
47647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
47648 fi
47649
47650 if test "$wxUSE_MENUS" = "yes"; then
47651 cat >>confdefs.h <<\_ACEOF
47652 #define wxUSE_MENUS 1
47653 _ACEOF
47654
47655 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
47656 fi
47657
47658 if test "$wxUSE_METAFILE" = "yes"; then
47659 cat >>confdefs.h <<\_ACEOF
47660 #define wxUSE_METAFILE 1
47661 _ACEOF
47662
47663 fi
47664
47665 if test "$wxUSE_MIMETYPE" = "yes"; then
47666 cat >>confdefs.h <<\_ACEOF
47667 #define wxUSE_MIMETYPE 1
47668 _ACEOF
47669
47670 fi
47671
47672 if test "$wxUSE_MINIFRAME" = "yes"; then
47673 cat >>confdefs.h <<\_ACEOF
47674 #define wxUSE_MINIFRAME 1
47675 _ACEOF
47676
47677 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
47678 fi
47679
47680 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
47681 cat >>confdefs.h <<\_ACEOF
47682 #define wxUSE_SYSTEM_OPTIONS 1
47683 _ACEOF
47684
47685 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
47686 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
47687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
47688 fi
47689 fi
47690
47691
47692 if test "$wxUSE_VALIDATORS" = "yes"; then
47693 cat >>confdefs.h <<\_ACEOF
47694 #define wxUSE_VALIDATORS 1
47695 _ACEOF
47696
47697 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
47698 fi
47699
47700 if test "$wxUSE_PALETTE" = "yes" ; then
47701 if test "$wxUSE_DFB" = 1; then
47702 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
47703 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
47704 wxUSE_PALETTE=no
47705 else
47706 cat >>confdefs.h <<\_ACEOF
47707 #define wxUSE_PALETTE 1
47708 _ACEOF
47709
47710 fi
47711 fi
47712
47713 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
47714 LIBS=" -lunicows $LIBS"
47715 fi
47716
47717 USE_RICHTEXT=0
47718 if test "$wxUSE_RICHTEXT" = "yes"; then
47719 cat >>confdefs.h <<\_ACEOF
47720 #define wxUSE_RICHTEXT 1
47721 _ACEOF
47722
47723 USE_RICHTEXT=1
47724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
47725 fi
47726
47727
47728 if test "$wxUSE_IMAGE" = "yes" ; then
47729 cat >>confdefs.h <<\_ACEOF
47730 #define wxUSE_IMAGE 1
47731 _ACEOF
47732
47733
47734 if test "$wxUSE_GIF" = "yes" ; then
47735 cat >>confdefs.h <<\_ACEOF
47736 #define wxUSE_GIF 1
47737 _ACEOF
47738
47739 fi
47740
47741 if test "$wxUSE_PCX" = "yes" ; then
47742 cat >>confdefs.h <<\_ACEOF
47743 #define wxUSE_PCX 1
47744 _ACEOF
47745
47746 fi
47747
47748 if test "$wxUSE_TGA" = "yes" ; then
47749 cat >>confdefs.h <<\_ACEOF
47750 #define wxUSE_TGA 1
47751 _ACEOF
47752
47753 fi
47754
47755 if test "$wxUSE_IFF" = "yes" ; then
47756 cat >>confdefs.h <<\_ACEOF
47757 #define wxUSE_IFF 1
47758 _ACEOF
47759
47760 fi
47761
47762 if test "$wxUSE_PNM" = "yes" ; then
47763 cat >>confdefs.h <<\_ACEOF
47764 #define wxUSE_PNM 1
47765 _ACEOF
47766
47767 fi
47768
47769 if test "$wxUSE_XPM" = "yes" ; then
47770 cat >>confdefs.h <<\_ACEOF
47771 #define wxUSE_XPM 1
47772 _ACEOF
47773
47774 fi
47775
47776 if test "$wxUSE_ICO_CUR" = "yes" ; then
47777 cat >>confdefs.h <<\_ACEOF
47778 #define wxUSE_ICO_CUR 1
47779 _ACEOF
47780
47781 fi
47782 fi
47783
47784
47785 if test "$wxUSE_ABOUTDLG" = "yes"; then
47786 cat >>confdefs.h <<\_ACEOF
47787 #define wxUSE_ABOUTDLG 1
47788 _ACEOF
47789
47790 fi
47791
47792 if test "$wxUSE_CHOICEDLG" = "yes"; then
47793 cat >>confdefs.h <<\_ACEOF
47794 #define wxUSE_CHOICEDLG 1
47795 _ACEOF
47796
47797 fi
47798
47799 if test "$wxUSE_COLOURDLG" = "yes"; then
47800 cat >>confdefs.h <<\_ACEOF
47801 #define wxUSE_COLOURDLG 1
47802 _ACEOF
47803
47804 fi
47805
47806 if test "$wxUSE_FILEDLG" = "yes"; then
47807 cat >>confdefs.h <<\_ACEOF
47808 #define wxUSE_FILEDLG 1
47809 _ACEOF
47810
47811 fi
47812
47813 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47814 cat >>confdefs.h <<\_ACEOF
47815 #define wxUSE_FINDREPLDLG 1
47816 _ACEOF
47817
47818 fi
47819
47820 if test "$wxUSE_FONTDLG" = "yes"; then
47821 cat >>confdefs.h <<\_ACEOF
47822 #define wxUSE_FONTDLG 1
47823 _ACEOF
47824
47825 fi
47826
47827 if test "$wxUSE_DIRDLG" = "yes"; then
47828 if test "$wxUSE_TREECTRL" != "yes"; then
47829 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47830 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47831 else
47832 cat >>confdefs.h <<\_ACEOF
47833 #define wxUSE_DIRDLG 1
47834 _ACEOF
47835
47836 fi
47837 fi
47838
47839 if test "$wxUSE_MSGDLG" = "yes"; then
47840 cat >>confdefs.h <<\_ACEOF
47841 #define wxUSE_MSGDLG 1
47842 _ACEOF
47843
47844 fi
47845
47846 if test "$wxUSE_NUMBERDLG" = "yes"; then
47847 cat >>confdefs.h <<\_ACEOF
47848 #define wxUSE_NUMBERDLG 1
47849 _ACEOF
47850
47851 fi
47852
47853 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47854 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47855 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
47856 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
47857 else
47858 cat >>confdefs.h <<\_ACEOF
47859 #define wxUSE_PROGRESSDLG 1
47860 _ACEOF
47861
47862 fi
47863 fi
47864
47865 if test "$wxUSE_SPLASH" = "yes"; then
47866 cat >>confdefs.h <<\_ACEOF
47867 #define wxUSE_SPLASH 1
47868 _ACEOF
47869
47870 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47871 fi
47872
47873 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47874 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47875 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47876 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47877 else
47878 cat >>confdefs.h <<\_ACEOF
47879 #define wxUSE_STARTUP_TIPS 1
47880 _ACEOF
47881
47882 fi
47883 fi
47884
47885 if test "$wxUSE_TEXTDLG" = "yes"; then
47886 cat >>confdefs.h <<\_ACEOF
47887 #define wxUSE_TEXTDLG 1
47888 _ACEOF
47889
47890 fi
47891
47892 if test "$wxUSE_WIZARDDLG" = "yes"; then
47893 cat >>confdefs.h <<\_ACEOF
47894 #define wxUSE_WIZARDDLG 1
47895 _ACEOF
47896
47897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47898 fi
47899
47900
47901 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47902 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47903 cat >>confdefs.h <<\_ACEOF
47904 #define wxUSE_GRAPHICS_CONTEXT 1
47905 _ACEOF
47906
47907 elif test "$wxUSE_GTK" != 1; then
47908 cat >>confdefs.h <<\_ACEOF
47909 #define wxUSE_GRAPHICS_CONTEXT 1
47910 _ACEOF
47911
47912 else
47913
47914 pkg_failed=no
47915 echo "$as_me:$LINENO: checking for CAIRO" >&5
47916 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
47917
47918 if test -n "$PKG_CONFIG"; then
47919 if test -n "$CAIRO_CFLAGS"; then
47920 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47921 else
47922 if test -n "$PKG_CONFIG" && \
47923 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47924 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47925 ac_status=$?
47926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47927 (exit $ac_status); }; then
47928 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47929 else
47930 pkg_failed=yes
47931 fi
47932 fi
47933 else
47934 pkg_failed=untried
47935 fi
47936 if test -n "$PKG_CONFIG"; then
47937 if test -n "$CAIRO_LIBS"; then
47938 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47939 else
47940 if test -n "$PKG_CONFIG" && \
47941 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47942 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47943 ac_status=$?
47944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47945 (exit $ac_status); }; then
47946 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47947 else
47948 pkg_failed=yes
47949 fi
47950 fi
47951 else
47952 pkg_failed=untried
47953 fi
47954
47955
47956
47957 if test $pkg_failed = yes; then
47958
47959 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47960 _pkg_short_errors_supported=yes
47961 else
47962 _pkg_short_errors_supported=no
47963 fi
47964 if test $_pkg_short_errors_supported = yes; then
47965 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47966 else
47967 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47968 fi
47969 # Put the nasty error message in config.log where it belongs
47970 echo "$CAIRO_PKG_ERRORS" >&5
47971
47972 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47973 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47974
47975 elif test $pkg_failed = untried; then
47976 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47977 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47978
47979 else
47980 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47981 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47982 echo "$as_me:$LINENO: result: yes" >&5
47983 echo "${ECHO_T}yes" >&6
47984 cat >>confdefs.h <<\_ACEOF
47985 #define wxUSE_GRAPHICS_CONTEXT 1
47986 _ACEOF
47987
47988 fi
47989 fi
47990 fi
47991
47992
47993 USE_MEDIA=0
47994
47995 if test "$wxUSE_MEDIACTRL" = "yes"; then
47996 USE_MEDIA=1
47997
47998 if test "$wxUSE_GTK" = 1; then
47999 wxUSE_GSTREAMER="no"
48000
48001 GST_VERSION_MAJOR=0
48002 GST_VERSION_MINOR=10
48003 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48004
48005 if test "$wxUSE_GSTREAMER8" = "no"; then
48006
48007 pkg_failed=no
48008 echo "$as_me:$LINENO: checking for GST" >&5
48009 echo $ECHO_N "checking for GST... $ECHO_C" >&6
48010
48011 if test -n "$PKG_CONFIG"; then
48012 if test -n "$GST_CFLAGS"; then
48013 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48014 else
48015 if test -n "$PKG_CONFIG" && \
48016 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48017 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48018 ac_status=$?
48019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48020 (exit $ac_status); }; then
48021 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48022 else
48023 pkg_failed=yes
48024 fi
48025 fi
48026 else
48027 pkg_failed=untried
48028 fi
48029 if test -n "$PKG_CONFIG"; then
48030 if test -n "$GST_LIBS"; then
48031 pkg_cv_GST_LIBS="$GST_LIBS"
48032 else
48033 if test -n "$PKG_CONFIG" && \
48034 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
48035 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
48036 ac_status=$?
48037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48038 (exit $ac_status); }; then
48039 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
48040 else
48041 pkg_failed=yes
48042 fi
48043 fi
48044 else
48045 pkg_failed=untried
48046 fi
48047
48048
48049
48050 if test $pkg_failed = yes; then
48051
48052 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48053 _pkg_short_errors_supported=yes
48054 else
48055 _pkg_short_errors_supported=no
48056 fi
48057 if test $_pkg_short_errors_supported = yes; then
48058 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48059 else
48060 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
48061 fi
48062 # Put the nasty error message in config.log where it belongs
48063 echo "$GST_PKG_ERRORS" >&5
48064
48065
48066 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48067 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48068 GST_VERSION_MINOR=8
48069
48070
48071 elif test $pkg_failed = untried; then
48072
48073 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
48074 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
48075 GST_VERSION_MINOR=8
48076
48077
48078 else
48079 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48080 GST_LIBS=$pkg_cv_GST_LIBS
48081 echo "$as_me:$LINENO: result: yes" >&5
48082 echo "${ECHO_T}yes" >&6
48083
48084 wxUSE_GSTREAMER="yes"
48085 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
48086
48087 fi
48088 else
48089 GST_VERSION_MINOR=8
48090 fi
48091
48092 if test $GST_VERSION_MINOR = "8"; then
48093 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
48094
48095 pkg_failed=no
48096 echo "$as_me:$LINENO: checking for GST" >&5
48097 echo $ECHO_N "checking for GST... $ECHO_C" >&6
48098
48099 if test -n "$PKG_CONFIG"; then
48100 if test -n "$GST_CFLAGS"; then
48101 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
48102 else
48103 if test -n "$PKG_CONFIG" && \
48104 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48105 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48106 ac_status=$?
48107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48108 (exit $ac_status); }; then
48109 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48110 else
48111 pkg_failed=yes
48112 fi
48113 fi
48114 else
48115 pkg_failed=untried
48116 fi
48117 if test -n "$PKG_CONFIG"; then
48118 if test -n "$GST_LIBS"; then
48119 pkg_cv_GST_LIBS="$GST_LIBS"
48120 else
48121 if test -n "$PKG_CONFIG" && \
48122 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
48123 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
48124 ac_status=$?
48125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48126 (exit $ac_status); }; then
48127 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
48128 else
48129 pkg_failed=yes
48130 fi
48131 fi
48132 else
48133 pkg_failed=untried
48134 fi
48135
48136
48137
48138 if test $pkg_failed = yes; then
48139
48140 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48141 _pkg_short_errors_supported=yes
48142 else
48143 _pkg_short_errors_supported=no
48144 fi
48145 if test $_pkg_short_errors_supported = yes; then
48146 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48147 else
48148 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
48149 fi
48150 # Put the nasty error message in config.log where it belongs
48151 echo "$GST_PKG_ERRORS" >&5
48152
48153
48154 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48155 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48156
48157 elif test $pkg_failed = untried; then
48158
48159 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
48160 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
48161
48162 else
48163 GST_CFLAGS=$pkg_cv_GST_CFLAGS
48164 GST_LIBS=$pkg_cv_GST_LIBS
48165 echo "$as_me:$LINENO: result: yes" >&5
48166 echo "${ECHO_T}yes" >&6
48167 wxUSE_GSTREAMER="yes"
48168 fi
48169 fi
48170
48171
48172 if test "$wxUSE_GSTREAMER" = "yes"; then
48173 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
48174 LIBS="$GST_LIBS $LIBS"
48175
48176 cat >>confdefs.h <<\_ACEOF
48177 #define wxUSE_GSTREAMER 1
48178 _ACEOF
48179
48180 else
48181 USE_MEDIA=0
48182 fi
48183 fi
48184
48185 if test $USE_MEDIA = 1; then
48186 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
48187 cat >>confdefs.h <<\_ACEOF
48188 #define wxUSE_MEDIACTRL 1
48189 _ACEOF
48190
48191 fi
48192 fi
48193
48194
48195 if test "$cross_compiling" = "yes"; then
48196 OSINFO="\"$host\""
48197 else
48198 OSINFO=`uname -s -r -m`
48199 OSINFO="\"$OSINFO\""
48200 fi
48201
48202 cat >>confdefs.h <<_ACEOF
48203 #define WXWIN_OS_DESCRIPTION $OSINFO
48204 _ACEOF
48205
48206
48207
48208 if test "x$prefix" != "xNONE"; then
48209 wxPREFIX=$prefix
48210 else
48211 wxPREFIX=$ac_default_prefix
48212 fi
48213
48214 cat >>confdefs.h <<_ACEOF
48215 #define wxINSTALL_PREFIX "$wxPREFIX"
48216 _ACEOF
48217
48218
48219
48220
48221 STD_BASE_LIBS="base"
48222 STD_GUI_LIBS=""
48223 BUILT_WX_LIBS="base"
48224 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
48225
48226 if test "$wxUSE_SOCKETS" = "yes" ; then
48227 STD_BASE_LIBS="net $STD_BASE_LIBS"
48228 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
48229 fi
48230 if test "$wxUSE_ODBC" != "no" ; then
48231 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
48232 fi
48233 if test "$wxUSE_XML" = "yes" ; then
48234 STD_BASE_LIBS="xml $STD_BASE_LIBS"
48235 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
48236 fi
48237
48238 if test "$wxUSE_GUI" = "yes"; then
48239 STD_GUI_LIBS="adv core"
48240 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
48241
48242 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48243 STD_GUI_LIBS="qa $STD_GUI_LIBS"
48244 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
48245 fi
48246 if test "$wxUSE_ODBC" != "no" ; then
48247 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
48248 fi
48249 if test "$wxUSE_HTML" = "yes" ; then
48250 STD_GUI_LIBS="html $STD_GUI_LIBS"
48251 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
48252 fi
48253 if test "$wxUSE_MEDIACTRL" = "yes" ; then
48254 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
48255 fi
48256 if test "$wxUSE_OPENGL" = "yes" ; then
48257 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
48258 fi
48259 if test "$wxUSE_AUI" = "yes" ; then
48260 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
48261 fi
48262 if test "$wxUSE_STC" = "yes" ; then
48263 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
48264 fi
48265 if test "$wxUSE_XRC" = "yes" ; then
48266 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
48267 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
48268 fi
48269 fi
48270
48271
48272
48273
48274
48275
48276
48277
48278 if test "$wxUSE_MAC" = 1 ; then
48279 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
48280 if test "$USE_DARWIN" = 1; then
48281 LDFLAGS="$LDFLAGS -framework QuickTime"
48282 else
48283 LDFLAGS="$LDFLAGS -lQuickTimeLib"
48284 fi
48285 fi
48286 if test "$USE_DARWIN" = 1; then
48287 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
48288 else
48289 LDFLAGS="$LDFLAGS -lCarbonLib"
48290 fi
48291 fi
48292 if test "$wxUSE_COCOA" = 1 ; then
48293 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
48294 if test "$wxUSE_MEDIACTRL" = "yes"; then
48295 LDFLAGS="$LDFLAGS -framework QuickTime"
48296 fi
48297 fi
48298 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
48299 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
48300 fi
48301
48302 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
48303
48304 if test "$wxUSE_GUI" = "yes"; then
48305
48306
48307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
48308 dynamic erase event exec font image minimal mobile \
48309 mobile/wxedit mobile/styles propsize render \
48310 rotate shaped svg taborder vscroll widgets"
48311
48312 if test "$wxUSE_MONOLITHIC" != "yes"; then
48313 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
48314 fi
48315 if test "$TOOLKIT" = "MSW"; then
48316 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
48317 if test "$wxUSE_UNIVERSAL" != "yes"; then
48318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
48319 fi
48320 fi
48321 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
48322 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
48323 fi
48324 else
48325 SAMPLES_SUBDIRS="console"
48326 fi
48327
48328
48329 if test "x$INTELCC" = "xyes" ; then
48330 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
48331 elif test "$GCC" = yes ; then
48332 CWARNINGS="-Wall -Wundef"
48333 fi
48334
48335 if test "x$INTELCXX" = "xyes" ; then
48336 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
48337 elif test "$GXX" = yes ; then
48338 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
48339 fi
48340
48341
48342 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
48343 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
48344
48345
48346 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
48347 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
48348 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
48349 $CPPFLAGS `
48350
48351 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
48352 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
48353 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
48354
48355 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
48356
48357
48358 if test "x$MWCC" = "xyes"; then
48359
48360 CC="$CC -cwd source -I-"
48361 CXX="$CXX -cwd source -I-"
48362 fi
48363
48364
48365 LIBS=`echo $LIBS`
48366 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
48367 EXTRALIBS_XML="$EXPAT_LINK"
48368 EXTRALIBS_HTML="$MSPACK_LINK"
48369 EXTRALIBS_ODBC="$ODBC_LINK"
48370 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
48371 if test "$wxUSE_GUI" = "yes"; then
48372 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
48373 fi
48374 if test "$wxUSE_OPENGL" = "yes"; then
48375 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
48376 fi
48377
48378 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
48379
48380 WXCONFIG_LIBS="$LIBS"
48381
48382 if test "$wxUSE_REGEX" = "builtin" ; then
48383 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
48384 fi
48385 if test "$wxUSE_EXPAT" = "builtin" ; then
48386 wxconfig_3rdparty="expat $wxconfig_3rdparty"
48387 fi
48388 if test "$wxUSE_ODBC" = "builtin" ; then
48389 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
48390 fi
48391 if test "$wxUSE_LIBTIFF" = "builtin" ; then
48392 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
48393 fi
48394 if test "$wxUSE_LIBJPEG" = "builtin" ; then
48395 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
48396 fi
48397 if test "$wxUSE_LIBPNG" = "builtin" ; then
48398 wxconfig_3rdparty="png $wxconfig_3rdparty"
48399 fi
48400 if test "$wxUSE_ZLIB" = "builtin" ; then
48401 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
48402 fi
48403
48404 for i in $wxconfig_3rdparty ; do
48405 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
48406 done
48407
48408
48409 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
48410 WXUNIV=1
48411
48412 case "$wxUNIV_THEMES" in
48413 ''|all)
48414 cat >>confdefs.h <<\_ACEOF
48415 #define wxUSE_ALL_THEMES 1
48416 _ACEOF
48417
48418 ;;
48419
48420 *)
48421 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
48422 cat >>confdefs.h <<_ACEOF
48423 #define wxUSE_THEME_$t 1
48424 _ACEOF
48425
48426 done
48427 esac
48428 else
48429 WXUNIV=0
48430 fi
48431
48432
48433
48434
48435
48436
48437
48438
48439
48440 if test $wxUSE_MONOLITHIC = "yes" ; then
48441 MONOLITHIC=1
48442 else
48443 MONOLITHIC=0
48444 fi
48445
48446 if test $wxUSE_PLUGINS = "yes" ; then
48447 USE_PLUGINS=1
48448 else
48449 USE_PLUGINS=0
48450 fi
48451
48452 if test $wxUSE_ODBC != "no" ; then
48453 USE_ODBC=1
48454 else
48455 USE_ODBC=0
48456 fi
48457
48458 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
48459 USE_QA=1
48460 else
48461 USE_QA=0
48462 fi
48463
48464 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
48465 OFFICIAL_BUILD=1
48466 else
48467 OFFICIAL_BUILD=0
48468 fi
48469
48470
48471
48472
48473
48474
48475
48476
48477
48478
48479
48480
48481
48482
48483
48484
48485
48486
48487
48488
48489
48490
48491
48492
48493
48494
48495 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
48496
48497
48498
48499
48500
48501
48502
48503
48504 case "$TOOLKIT" in
48505 GTK)
48506 TOOLKIT_DESC="GTK+"
48507 if test "$WXGTK20" = 1; then
48508 TOOLKIT_DESC="$TOOLKIT_DESC 2"
48509 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
48510 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
48511 fi
48512 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
48513 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
48514 fi
48515 if test "$wxUSE_LIBHILDON" = "yes"; then
48516 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
48517 fi
48518
48519 if test "$TOOLKIT_EXTRA" != ""; then
48520 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
48521 fi
48522 fi
48523 ;;
48524
48525 ?*)
48526 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
48527 ;;
48528
48529 *)
48530 TOOLKIT_DESC="base only"
48531 ;;
48532 esac
48533
48534 if test "$wxUSE_WINE" = "yes"; then
48535 BAKEFILE_FORCE_PLATFORM=win32
48536 fi
48537
48538 if test "$wxUSE_MAC" = 1 ; then
48539 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
48540 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
48541 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
48542 else
48543 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
48544 fi
48545 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
48546 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
48547 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
48548 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
48549 bk_use_pch=no
48550 fi
48551 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
48552 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
48553 fi
48554
48555 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
48556 then
48557 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
48558 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
48559 if test "${wx_cv_gcc_pch_bug+set}" = set; then
48560 echo $ECHO_N "(cached) $ECHO_C" >&6
48561 else
48562
48563 echo '#include <stdio.h>
48564 const wchar_t test_var[] = L"awidetest";' > conftest.h
48565
48566 echo '#include "conftest.h"
48567 int main()
48568 {
48569 printf("%ls", test_var);
48570 return 0;
48571 }' > conftest.cpp
48572
48573 wx_cv_gcc_pch_bug="pch not supported"
48574
48575 if $CXX conftest.h >/dev/null 2>&1
48576 then
48577 wx_cv_gcc_pch_bug=
48578
48579 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
48580 then
48581 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
48582 grep awidetest >/dev/null
48583 then
48584 wx_cv_gcc_pch_bug=no
48585 else
48586 wx_cv_gcc_pch_bug=yes
48587 fi
48588 fi
48589 fi
48590
48591 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
48592
48593 fi
48594 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
48595 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
48596
48597 if test "$wx_cv_gcc_pch_bug" = yes; then
48598 bk_use_pch=no
48599 fi
48600 fi
48601
48602
48603
48604
48605 if test "x$BAKEFILE_HOST" = "x"; then
48606 if test "x${host}" = "x" ; then
48607 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
48608 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
48609 { (exit 1); exit 1; }; }
48610 fi
48611
48612 BAKEFILE_HOST="${host}"
48613 fi
48614
48615 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
48616
48617 if test -n "$ac_tool_prefix"; then
48618 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
48619 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
48620 echo "$as_me:$LINENO: checking for $ac_word" >&5
48621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48622 if test "${ac_cv_prog_RANLIB+set}" = set; then
48623 echo $ECHO_N "(cached) $ECHO_C" >&6
48624 else
48625 if test -n "$RANLIB"; then
48626 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
48627 else
48628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48629 for as_dir in $PATH
48630 do
48631 IFS=$as_save_IFS
48632 test -z "$as_dir" && as_dir=.
48633 for ac_exec_ext in '' $ac_executable_extensions; do
48634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48635 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
48636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48637 break 2
48638 fi
48639 done
48640 done
48641
48642 fi
48643 fi
48644 RANLIB=$ac_cv_prog_RANLIB
48645 if test -n "$RANLIB"; then
48646 echo "$as_me:$LINENO: result: $RANLIB" >&5
48647 echo "${ECHO_T}$RANLIB" >&6
48648 else
48649 echo "$as_me:$LINENO: result: no" >&5
48650 echo "${ECHO_T}no" >&6
48651 fi
48652
48653 fi
48654 if test -z "$ac_cv_prog_RANLIB"; then
48655 ac_ct_RANLIB=$RANLIB
48656 # Extract the first word of "ranlib", so it can be a program name with args.
48657 set dummy ranlib; ac_word=$2
48658 echo "$as_me:$LINENO: checking for $ac_word" >&5
48659 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48660 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
48661 echo $ECHO_N "(cached) $ECHO_C" >&6
48662 else
48663 if test -n "$ac_ct_RANLIB"; then
48664 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
48665 else
48666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48667 for as_dir in $PATH
48668 do
48669 IFS=$as_save_IFS
48670 test -z "$as_dir" && as_dir=.
48671 for ac_exec_ext in '' $ac_executable_extensions; do
48672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48673 ac_cv_prog_ac_ct_RANLIB="ranlib"
48674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48675 break 2
48676 fi
48677 done
48678 done
48679
48680 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
48681 fi
48682 fi
48683 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
48684 if test -n "$ac_ct_RANLIB"; then
48685 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
48686 echo "${ECHO_T}$ac_ct_RANLIB" >&6
48687 else
48688 echo "$as_me:$LINENO: result: no" >&5
48689 echo "${ECHO_T}no" >&6
48690 fi
48691
48692 RANLIB=$ac_ct_RANLIB
48693 else
48694 RANLIB="$ac_cv_prog_RANLIB"
48695 fi
48696
48697 # Find a good install program. We prefer a C program (faster),
48698 # so one script is as good as another. But avoid the broken or
48699 # incompatible versions:
48700 # SysV /etc/install, /usr/sbin/install
48701 # SunOS /usr/etc/install
48702 # IRIX /sbin/install
48703 # AIX /bin/install
48704 # AmigaOS /C/install, which installs bootblocks on floppy discs
48705 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
48706 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
48707 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
48708 # OS/2's system install, which has a completely different semantic
48709 # ./install, which can be erroneously created by make from ./install.sh.
48710 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
48711 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
48712 if test -z "$INSTALL"; then
48713 if test "${ac_cv_path_install+set}" = set; then
48714 echo $ECHO_N "(cached) $ECHO_C" >&6
48715 else
48716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48717 for as_dir in $PATH
48718 do
48719 IFS=$as_save_IFS
48720 test -z "$as_dir" && as_dir=.
48721 # Account for people who put trailing slashes in PATH elements.
48722 case $as_dir/ in
48723 ./ | .// | /cC/* | \
48724 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
48725 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
48726 /usr/ucb/* ) ;;
48727 *)
48728 # OSF1 and SCO ODT 3.0 have their own names for install.
48729 # Don't use installbsd from OSF since it installs stuff as root
48730 # by default.
48731 for ac_prog in ginstall scoinst install; do
48732 for ac_exec_ext in '' $ac_executable_extensions; do
48733 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
48734 if test $ac_prog = install &&
48735 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48736 # AIX install. It has an incompatible calling convention.
48737 :
48738 elif test $ac_prog = install &&
48739 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
48740 # program-specific install script used by HP pwplus--don't use.
48741 :
48742 else
48743 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
48744 break 3
48745 fi
48746 fi
48747 done
48748 done
48749 ;;
48750 esac
48751 done
48752
48753
48754 fi
48755 if test "${ac_cv_path_install+set}" = set; then
48756 INSTALL=$ac_cv_path_install
48757 else
48758 # As a last resort, use the slow shell script. We don't cache a
48759 # path for INSTALL within a source directory, because that will
48760 # break other packages using the cache if that directory is
48761 # removed, or if the path is relative.
48762 INSTALL=$ac_install_sh
48763 fi
48764 fi
48765 echo "$as_me:$LINENO: result: $INSTALL" >&5
48766 echo "${ECHO_T}$INSTALL" >&6
48767
48768 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
48769 # It thinks the first close brace ends the variable substitution.
48770 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
48771
48772 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
48773
48774 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
48775
48776 echo "$as_me:$LINENO: checking whether ln -s works" >&5
48777 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
48778 LN_S=$as_ln_s
48779 if test "$LN_S" = "ln -s"; then
48780 echo "$as_me:$LINENO: result: yes" >&5
48781 echo "${ECHO_T}yes" >&6
48782 else
48783 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48784 echo "${ECHO_T}no, using $LN_S" >&6
48785 fi
48786
48787
48788 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48789 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48790 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
48791 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48792 echo $ECHO_N "(cached) $ECHO_C" >&6
48793 else
48794 cat >conftest.make <<\_ACEOF
48795 all:
48796 @echo 'ac_maketemp="$(MAKE)"'
48797 _ACEOF
48798 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48799 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48800 if test -n "$ac_maketemp"; then
48801 eval ac_cv_prog_make_${ac_make}_set=yes
48802 else
48803 eval ac_cv_prog_make_${ac_make}_set=no
48804 fi
48805 rm -f conftest.make
48806 fi
48807 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48808 echo "$as_me:$LINENO: result: yes" >&5
48809 echo "${ECHO_T}yes" >&6
48810 SET_MAKE=
48811 else
48812 echo "$as_me:$LINENO: result: no" >&5
48813 echo "${ECHO_T}no" >&6
48814 SET_MAKE="MAKE=${MAKE-make}"
48815 fi
48816
48817
48818
48819 if test "x$SUNCXX" = "xyes"; then
48820 AR=$CXX
48821 AROPTIONS="-xar -o"
48822
48823 elif test "x$SGICC" = "xyes"; then
48824 AR=$CXX
48825 AROPTIONS="-ar -o"
48826
48827 else
48828 if test -n "$ac_tool_prefix"; then
48829 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48830 set dummy ${ac_tool_prefix}ar; ac_word=$2
48831 echo "$as_me:$LINENO: checking for $ac_word" >&5
48832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48833 if test "${ac_cv_prog_AR+set}" = set; then
48834 echo $ECHO_N "(cached) $ECHO_C" >&6
48835 else
48836 if test -n "$AR"; then
48837 ac_cv_prog_AR="$AR" # Let the user override the test.
48838 else
48839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48840 for as_dir in $PATH
48841 do
48842 IFS=$as_save_IFS
48843 test -z "$as_dir" && as_dir=.
48844 for ac_exec_ext in '' $ac_executable_extensions; do
48845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48846 ac_cv_prog_AR="${ac_tool_prefix}ar"
48847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48848 break 2
48849 fi
48850 done
48851 done
48852
48853 fi
48854 fi
48855 AR=$ac_cv_prog_AR
48856 if test -n "$AR"; then
48857 echo "$as_me:$LINENO: result: $AR" >&5
48858 echo "${ECHO_T}$AR" >&6
48859 else
48860 echo "$as_me:$LINENO: result: no" >&5
48861 echo "${ECHO_T}no" >&6
48862 fi
48863
48864 fi
48865 if test -z "$ac_cv_prog_AR"; then
48866 ac_ct_AR=$AR
48867 # Extract the first word of "ar", so it can be a program name with args.
48868 set dummy ar; ac_word=$2
48869 echo "$as_me:$LINENO: checking for $ac_word" >&5
48870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48871 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48872 echo $ECHO_N "(cached) $ECHO_C" >&6
48873 else
48874 if test -n "$ac_ct_AR"; then
48875 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48876 else
48877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48878 for as_dir in $PATH
48879 do
48880 IFS=$as_save_IFS
48881 test -z "$as_dir" && as_dir=.
48882 for ac_exec_ext in '' $ac_executable_extensions; do
48883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48884 ac_cv_prog_ac_ct_AR="ar"
48885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48886 break 2
48887 fi
48888 done
48889 done
48890
48891 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
48892 fi
48893 fi
48894 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48895 if test -n "$ac_ct_AR"; then
48896 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48897 echo "${ECHO_T}$ac_ct_AR" >&6
48898 else
48899 echo "$as_me:$LINENO: result: no" >&5
48900 echo "${ECHO_T}no" >&6
48901 fi
48902
48903 AR=$ac_ct_AR
48904 else
48905 AR="$ac_cv_prog_AR"
48906 fi
48907
48908 AROPTIONS=rcu
48909 fi
48910
48911
48912 if test -n "$ac_tool_prefix"; then
48913 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48914 set dummy ${ac_tool_prefix}strip; ac_word=$2
48915 echo "$as_me:$LINENO: checking for $ac_word" >&5
48916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48917 if test "${ac_cv_prog_STRIP+set}" = set; then
48918 echo $ECHO_N "(cached) $ECHO_C" >&6
48919 else
48920 if test -n "$STRIP"; then
48921 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48922 else
48923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48924 for as_dir in $PATH
48925 do
48926 IFS=$as_save_IFS
48927 test -z "$as_dir" && as_dir=.
48928 for ac_exec_ext in '' $ac_executable_extensions; do
48929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48930 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48932 break 2
48933 fi
48934 done
48935 done
48936
48937 fi
48938 fi
48939 STRIP=$ac_cv_prog_STRIP
48940 if test -n "$STRIP"; then
48941 echo "$as_me:$LINENO: result: $STRIP" >&5
48942 echo "${ECHO_T}$STRIP" >&6
48943 else
48944 echo "$as_me:$LINENO: result: no" >&5
48945 echo "${ECHO_T}no" >&6
48946 fi
48947
48948 fi
48949 if test -z "$ac_cv_prog_STRIP"; then
48950 ac_ct_STRIP=$STRIP
48951 # Extract the first word of "strip", so it can be a program name with args.
48952 set dummy strip; ac_word=$2
48953 echo "$as_me:$LINENO: checking for $ac_word" >&5
48954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48955 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48956 echo $ECHO_N "(cached) $ECHO_C" >&6
48957 else
48958 if test -n "$ac_ct_STRIP"; then
48959 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48960 else
48961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48962 for as_dir in $PATH
48963 do
48964 IFS=$as_save_IFS
48965 test -z "$as_dir" && as_dir=.
48966 for ac_exec_ext in '' $ac_executable_extensions; do
48967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48968 ac_cv_prog_ac_ct_STRIP="strip"
48969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48970 break 2
48971 fi
48972 done
48973 done
48974
48975 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
48976 fi
48977 fi
48978 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48979 if test -n "$ac_ct_STRIP"; then
48980 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48981 echo "${ECHO_T}$ac_ct_STRIP" >&6
48982 else
48983 echo "$as_me:$LINENO: result: no" >&5
48984 echo "${ECHO_T}no" >&6
48985 fi
48986
48987 STRIP=$ac_ct_STRIP
48988 else
48989 STRIP="$ac_cv_prog_STRIP"
48990 fi
48991
48992 if test -n "$ac_tool_prefix"; then
48993 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48994 set dummy ${ac_tool_prefix}nm; ac_word=$2
48995 echo "$as_me:$LINENO: checking for $ac_word" >&5
48996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48997 if test "${ac_cv_prog_NM+set}" = set; then
48998 echo $ECHO_N "(cached) $ECHO_C" >&6
48999 else
49000 if test -n "$NM"; then
49001 ac_cv_prog_NM="$NM" # Let the user override the test.
49002 else
49003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49004 for as_dir in $PATH
49005 do
49006 IFS=$as_save_IFS
49007 test -z "$as_dir" && as_dir=.
49008 for ac_exec_ext in '' $ac_executable_extensions; do
49009 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49010 ac_cv_prog_NM="${ac_tool_prefix}nm"
49011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49012 break 2
49013 fi
49014 done
49015 done
49016
49017 fi
49018 fi
49019 NM=$ac_cv_prog_NM
49020 if test -n "$NM"; then
49021 echo "$as_me:$LINENO: result: $NM" >&5
49022 echo "${ECHO_T}$NM" >&6
49023 else
49024 echo "$as_me:$LINENO: result: no" >&5
49025 echo "${ECHO_T}no" >&6
49026 fi
49027
49028 fi
49029 if test -z "$ac_cv_prog_NM"; then
49030 ac_ct_NM=$NM
49031 # Extract the first word of "nm", so it can be a program name with args.
49032 set dummy nm; ac_word=$2
49033 echo "$as_me:$LINENO: checking for $ac_word" >&5
49034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49035 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
49036 echo $ECHO_N "(cached) $ECHO_C" >&6
49037 else
49038 if test -n "$ac_ct_NM"; then
49039 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
49040 else
49041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49042 for as_dir in $PATH
49043 do
49044 IFS=$as_save_IFS
49045 test -z "$as_dir" && as_dir=.
49046 for ac_exec_ext in '' $ac_executable_extensions; do
49047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49048 ac_cv_prog_ac_ct_NM="nm"
49049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49050 break 2
49051 fi
49052 done
49053 done
49054
49055 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
49056 fi
49057 fi
49058 ac_ct_NM=$ac_cv_prog_ac_ct_NM
49059 if test -n "$ac_ct_NM"; then
49060 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
49061 echo "${ECHO_T}$ac_ct_NM" >&6
49062 else
49063 echo "$as_me:$LINENO: result: no" >&5
49064 echo "${ECHO_T}no" >&6
49065 fi
49066
49067 NM=$ac_ct_NM
49068 else
49069 NM="$ac_cv_prog_NM"
49070 fi
49071
49072
49073 case ${BAKEFILE_HOST} in
49074 *-hp-hpux* )
49075 INSTALL_DIR="mkdir -p"
49076 ;;
49077 * )
49078 INSTALL_DIR='$(INSTALL) -d'
49079 ;;
49080 esac
49081
49082
49083 LDFLAGS_GUI=
49084 case ${BAKEFILE_HOST} in
49085 *-*-cygwin* | *-*-mingw32* )
49086 LDFLAGS_GUI="-mwindows"
49087 esac
49088
49089
49090 fi
49091
49092 echo "$as_me:$LINENO: checking if make is GNU make" >&5
49093 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
49094 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
49095 echo $ECHO_N "(cached) $ECHO_C" >&6
49096 else
49097
49098 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
49099 egrep -s GNU > /dev/null); then
49100 bakefile_cv_prog_makeisgnu="yes"
49101 else
49102 bakefile_cv_prog_makeisgnu="no"
49103 fi
49104
49105 fi
49106 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
49107 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
49108
49109 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
49110 IF_GNU_MAKE=""
49111 else
49112 IF_GNU_MAKE="#"
49113 fi
49114
49115
49116
49117 PLATFORM_UNIX=0
49118 PLATFORM_WIN32=0
49119 PLATFORM_MSDOS=0
49120 PLATFORM_MAC=0
49121 PLATFORM_MACOS=0
49122 PLATFORM_MACOSX=0
49123 PLATFORM_OS2=0
49124 PLATFORM_BEOS=0
49125
49126 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
49127 case "${BAKEFILE_HOST}" in
49128 *-*-mingw32* )
49129 PLATFORM_WIN32=1
49130 ;;
49131 *-pc-msdosdjgpp )
49132 PLATFORM_MSDOS=1
49133 ;;
49134 *-pc-os2_emx | *-pc-os2-emx )
49135 PLATFORM_OS2=1
49136 ;;
49137 *-*-darwin* )
49138 PLATFORM_MAC=1
49139 PLATFORM_MACOSX=1
49140 ;;
49141 *-*-beos* )
49142 PLATFORM_BEOS=1
49143 ;;
49144 powerpc-apple-macos* )
49145 PLATFORM_MAC=1
49146 PLATFORM_MACOS=1
49147 ;;
49148 * )
49149 PLATFORM_UNIX=1
49150 ;;
49151 esac
49152 else
49153 case "$BAKEFILE_FORCE_PLATFORM" in
49154 win32 )
49155 PLATFORM_WIN32=1
49156 ;;
49157 msdos )
49158 PLATFORM_MSDOS=1
49159 ;;
49160 os2 )
49161 PLATFORM_OS2=1
49162 ;;
49163 darwin )
49164 PLATFORM_MAC=1
49165 PLATFORM_MACOSX=1
49166 ;;
49167 unix )
49168 PLATFORM_UNIX=1
49169 ;;
49170 beos )
49171 PLATFORM_BEOS=1
49172 ;;
49173 * )
49174 ;;
49175 esac
49176 fi
49177
49178
49179
49180
49181
49182
49183
49184
49185
49186
49187
49188 # Check whether --enable-omf or --disable-omf was given.
49189 if test "${enable_omf+set}" = set; then
49190 enableval="$enable_omf"
49191 bk_os2_use_omf="$enableval"
49192 fi;
49193
49194 case "${BAKEFILE_HOST}" in
49195 *-*-darwin* )
49196 if test "x$GCC" = "xyes"; then
49197 CFLAGS="$CFLAGS -fno-common"
49198 CXXFLAGS="$CXXFLAGS -fno-common"
49199 fi
49200 if test "x$XLCC" = "xyes"; then
49201 CFLAGS="$CFLAGS -qnocommon"
49202 CXXFLAGS="$CXXFLAGS -qnocommon"
49203 fi
49204 ;;
49205
49206 *-pc-os2_emx | *-pc-os2-emx )
49207 if test "x$bk_os2_use_omf" = "xyes" ; then
49208 AR=emxomfar
49209 RANLIB=:
49210 LDFLAGS="-Zomf $LDFLAGS"
49211 CFLAGS="-Zomf $CFLAGS"
49212 CXXFLAGS="-Zomf $CXXFLAGS"
49213 OS2_LIBEXT="lib"
49214 else
49215 OS2_LIBEXT="a"
49216 fi
49217 ;;
49218
49219 i*86-*-beos* )
49220 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
49221 ;;
49222 esac
49223
49224
49225 SO_SUFFIX="so"
49226 SO_SUFFIX_MODULE="so"
49227 EXEEXT=""
49228 LIBPREFIX="lib"
49229 LIBEXT=".a"
49230 DLLPREFIX="lib"
49231 DLLPREFIX_MODULE=""
49232 DLLIMP_SUFFIX=""
49233 dlldir="$libdir"
49234
49235 case "${BAKEFILE_HOST}" in
49236 *-hp-hpux* )
49237 SO_SUFFIX="sl"
49238 SO_SUFFIX_MODULE="sl"
49239 ;;
49240 *-*-aix* )
49241 SO_SUFFIX="a"
49242 SO_SUFFIX_MODULE="a"
49243 ;;
49244 *-*-cygwin* )
49245 SO_SUFFIX="dll"
49246 SO_SUFFIX_MODULE="dll"
49247 DLLIMP_SUFFIX="dll.a"
49248 EXEEXT=".exe"
49249 DLLPREFIX="cyg"
49250 dlldir="$bindir"
49251 ;;
49252 *-*-mingw32* )
49253 SO_SUFFIX="dll"
49254 SO_SUFFIX_MODULE="dll"
49255 DLLIMP_SUFFIX="dll.a"
49256 EXEEXT=".exe"
49257 DLLPREFIX=""
49258 dlldir="$bindir"
49259 ;;
49260 *-pc-msdosdjgpp )
49261 EXEEXT=".exe"
49262 DLLPREFIX=""
49263 dlldir="$bindir"
49264 ;;
49265 *-pc-os2_emx | *-pc-os2-emx )
49266 SO_SUFFIX="dll"
49267 SO_SUFFIX_MODULE="dll"
49268 DLLIMP_SUFFIX=$OS2_LIBEXT
49269 EXEEXT=".exe"
49270 DLLPREFIX=""
49271 LIBPREFIX=""
49272 LIBEXT=".$OS2_LIBEXT"
49273 dlldir="$bindir"
49274 ;;
49275 *-*-darwin* )
49276 SO_SUFFIX="dylib"
49277 SO_SUFFIX_MODULE="bundle"
49278 ;;
49279 esac
49280
49281 if test "x$DLLIMP_SUFFIX" = "x" ; then
49282 DLLIMP_SUFFIX="$SO_SUFFIX"
49283 fi
49284
49285
49286
49287
49288
49289
49290
49291
49292
49293
49294
49295
49296 PIC_FLAG=""
49297 if test "x$GCC" = "xyes"; then
49298 PIC_FLAG="-fPIC"
49299 fi
49300
49301 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
49302 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
49303 WINDOWS_IMPLIB=0
49304
49305 case "${BAKEFILE_HOST}" in
49306 *-hp-hpux* )
49307 if test "x$GCC" != "xyes"; then
49308 LDFLAGS="$LDFLAGS -L/usr/lib"
49309
49310 SHARED_LD_CC="${CC} -b -o"
49311 SHARED_LD_CXX="${CXX} -b -o"
49312 PIC_FLAG="+Z"
49313 fi
49314 ;;
49315
49316 *-*-linux* )
49317 if test "$INTELCC" = "yes"; then
49318 PIC_FLAG="-KPIC"
49319 elif test "x$SUNCXX" = "xyes"; then
49320 SHARED_LD_CC="${CC} -G -o"
49321 SHARED_LD_CXX="${CXX} -G -o"
49322 PIC_FLAG="-KPIC"
49323 fi
49324 ;;
49325
49326 *-*-solaris2* )
49327 if test "x$SUNCXX" = xyes ; then
49328 SHARED_LD_CC="${CC} -G -o"
49329 SHARED_LD_CXX="${CXX} -G -o"
49330 PIC_FLAG="-KPIC"
49331 fi
49332 ;;
49333
49334 *-*-darwin* )
49335
49336 D='$'
49337 cat <<EOF >shared-ld-sh
49338 #!/bin/sh
49339 #-----------------------------------------------------------------------------
49340 #-- Name: distrib/mac/shared-ld-sh
49341 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
49342 #-- Author: Gilles Depeyrot
49343 #-- Copyright: (c) 2002 Gilles Depeyrot
49344 #-- Licence: any use permitted
49345 #-----------------------------------------------------------------------------
49346
49347 verbose=0
49348 args=""
49349 objects=""
49350 linking_flag="-dynamiclib"
49351 ldargs="-r -keep_private_externs -nostdlib"
49352
49353 while test ${D}# -gt 0; do
49354 case ${D}1 in
49355
49356 -v)
49357 verbose=1
49358 ;;
49359
49360 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
49361 # collect these options and values
49362 args="${D}{args} ${D}1 ${D}2"
49363 shift
49364 ;;
49365
49366 -s|-Wl,*)
49367 # collect these load args
49368 ldargs="${D}{ldargs} ${D}1"
49369 ;;
49370
49371 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
49372 # collect these options
49373 args="${D}{args} ${D}1"
49374 ;;
49375
49376 -dynamiclib|-bundle)
49377 linking_flag="${D}1"
49378 ;;
49379
49380 -*)
49381 echo "shared-ld: unhandled option '${D}1'"
49382 exit 1
49383 ;;
49384
49385 *.o | *.a | *.dylib)
49386 # collect object files
49387 objects="${D}{objects} ${D}1"
49388 ;;
49389
49390 *)
49391 echo "shared-ld: unhandled argument '${D}1'"
49392 exit 1
49393 ;;
49394
49395 esac
49396 shift
49397 done
49398
49399 status=0
49400
49401 #
49402 # Link one module containing all the others
49403 #
49404 if test ${D}{verbose} = 1; then
49405 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
49406 fi
49407 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
49408 status=${D}?
49409
49410 #
49411 # Link the shared library from the single module created, but only if the
49412 # previous command didn't fail:
49413 #
49414 if test ${D}{status} = 0; then
49415 if test ${D}{verbose} = 1; then
49416 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
49417 fi
49418 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
49419 status=${D}?
49420 fi
49421
49422 #
49423 # Remove intermediate module
49424 #
49425 rm -f master.${D}${D}.o
49426
49427 exit ${D}status
49428 EOF
49429
49430 chmod +x shared-ld-sh
49431
49432 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
49433 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
49434
49435
49436 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
49437 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
49438 if test "${bakefile_cv_gcc31+set}" = set; then
49439 echo $ECHO_N "(cached) $ECHO_C" >&6
49440 else
49441
49442 cat >conftest.$ac_ext <<_ACEOF
49443 /* confdefs.h. */
49444 _ACEOF
49445 cat confdefs.h >>conftest.$ac_ext
49446 cat >>conftest.$ac_ext <<_ACEOF
49447 /* end confdefs.h. */
49448
49449 int
49450 main ()
49451 {
49452
49453 #if (__GNUC__ < 3) || \
49454 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
49455 This is old gcc
49456 #endif
49457
49458 ;
49459 return 0;
49460 }
49461 _ACEOF
49462 rm -f conftest.$ac_objext
49463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49464 (eval $ac_compile) 2>conftest.er1
49465 ac_status=$?
49466 grep -v '^ *+' conftest.er1 >conftest.err
49467 rm -f conftest.er1
49468 cat conftest.err >&5
49469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49470 (exit $ac_status); } &&
49471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49473 (eval $ac_try) 2>&5
49474 ac_status=$?
49475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49476 (exit $ac_status); }; } &&
49477 { ac_try='test -s conftest.$ac_objext'
49478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49479 (eval $ac_try) 2>&5
49480 ac_status=$?
49481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49482 (exit $ac_status); }; }; then
49483
49484 bakefile_cv_gcc31=yes
49485
49486 else
49487 echo "$as_me: failed program was:" >&5
49488 sed 's/^/| /' conftest.$ac_ext >&5
49489
49490
49491 bakefile_cv_gcc31=no
49492
49493
49494 fi
49495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49496
49497 fi
49498 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
49499 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
49500 if test "$bakefile_cv_gcc31" = "no"; then
49501 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
49502 SHARED_LD_CXX="$SHARED_LD_CC"
49503 else
49504 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
49505 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
49506 fi
49507
49508 if test "x$GCC" == "xyes"; then
49509 PIC_FLAG="-dynamic -fPIC"
49510 fi
49511 if test "x$XLCC" = "xyes"; then
49512 PIC_FLAG="-dynamic -DPIC"
49513 fi
49514 ;;
49515
49516 *-*-aix* )
49517 if test "x$GCC" = "xyes"; then
49518 PIC_FLAG=""
49519
49520 case "${BAKEFILE_HOST}" in
49521 *-*-aix5* )
49522 LD_EXPFULL="-Wl,-bexpfull"
49523 ;;
49524 esac
49525
49526 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
49527 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
49528 else
49529 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
49530 set dummy makeC++SharedLib; ac_word=$2
49531 echo "$as_me:$LINENO: checking for $ac_word" >&5
49532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49533 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
49534 echo $ECHO_N "(cached) $ECHO_C" >&6
49535 else
49536 if test -n "$AIX_CXX_LD"; then
49537 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
49538 else
49539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49540 for as_dir in $PATH
49541 do
49542 IFS=$as_save_IFS
49543 test -z "$as_dir" && as_dir=.
49544 for ac_exec_ext in '' $ac_executable_extensions; do
49545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49546 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
49547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49548 break 2
49549 fi
49550 done
49551 done
49552
49553 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
49554 fi
49555 fi
49556 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
49557 if test -n "$AIX_CXX_LD"; then
49558 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
49559 echo "${ECHO_T}$AIX_CXX_LD" >&6
49560 else
49561 echo "$as_me:$LINENO: result: no" >&5
49562 echo "${ECHO_T}no" >&6
49563 fi
49564
49565 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
49566 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
49567 fi
49568 ;;
49569
49570 *-*-beos* )
49571 SHARED_LD_CC="${LD} -nostart -o"
49572 SHARED_LD_CXX="${LD} -nostart -o"
49573 ;;
49574
49575 *-*-irix* )
49576 if test "x$GCC" != "xyes"; then
49577 PIC_FLAG="-KPIC"
49578 fi
49579 ;;
49580
49581 *-*-cygwin* | *-*-mingw32* )
49582 PIC_FLAG=""
49583 SHARED_LD_CC="\$(CC) -shared -o"
49584 SHARED_LD_CXX="\$(CXX) -shared -o"
49585 WINDOWS_IMPLIB=1
49586 ;;
49587
49588 *-pc-os2_emx | *-pc-os2-emx )
49589 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49590 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49591 PIC_FLAG=""
49592
49593 D='$'
49594 cat <<EOF >dllar.sh
49595 #!/bin/sh
49596 #
49597 # dllar - a tool to build both a .dll and an .a file
49598 # from a set of object (.o) files for EMX/OS2.
49599 #
49600 # Written by Andrew Zabolotny, bit@freya.etu.ru
49601 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
49602 #
49603 # This script will accept a set of files on the command line.
49604 # All the public symbols from the .o files will be exported into
49605 # a .DEF file, then linker will be run (through gcc) against them to
49606 # build a shared library consisting of all given .o files. All libraries
49607 # (.a) will be first decompressed into component .o files then act as
49608 # described above. You can optionally give a description (-d "description")
49609 # which will be put into .DLL. To see the list of accepted options (as well
49610 # as command-line format) simply run this program without options. The .DLL
49611 # is built to be imported by name (there is no guarantee that new versions
49612 # of the library you build will have same ordinals for same symbols).
49613 #
49614 # dllar is free software; you can redistribute it and/or modify
49615 # it under the terms of the GNU General Public License as published by
49616 # the Free Software Foundation; either version 2, or (at your option)
49617 # any later version.
49618 #
49619 # dllar is distributed in the hope that it will be useful,
49620 # but WITHOUT ANY WARRANTY; without even the implied warranty of
49621 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49622 # GNU General Public License for more details.
49623 #
49624 # You should have received a copy of the GNU General Public License
49625 # along with dllar; see the file COPYING. If not, write to the Free
49626 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
49627 # 02111-1307, USA.
49628
49629 # To successfuly run this program you will need:
49630 # - Current drive should have LFN support (HPFS, ext2, network, etc)
49631 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
49632 # - gcc
49633 # (used to build the .dll)
49634 # - emxexp
49635 # (used to create .def file from .o files)
49636 # - emximp
49637 # (used to create .a file from .def file)
49638 # - GNU text utilites (cat, sort, uniq)
49639 # used to process emxexp output
49640 # - GNU file utilities (mv, rm)
49641 # - GNU sed
49642 # - lxlite (optional, see flag below)
49643 # (used for general .dll cleanup)
49644 #
49645
49646 flag_USE_LXLITE=1;
49647
49648 #
49649 # helper functions
49650 # basnam, variant of basename, which does _not_ remove the path, _iff_
49651 # second argument (suffix to remove) is given
49652 basnam(){
49653 case ${D}# in
49654 1)
49655 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
49656 ;;
49657 2)
49658 echo ${D}1 | sed 's/'${D}2'${D}//'
49659 ;;
49660 *)
49661 echo "error in basnam ${D}*"
49662 exit 8
49663 ;;
49664 esac
49665 }
49666
49667 # Cleanup temporary files and output
49668 CleanUp() {
49669 cd ${D}curDir
49670 for i in ${D}inputFiles ; do
49671 case ${D}i in
49672 *!)
49673 rm -rf \`basnam ${D}i !\`
49674 ;;
49675 *)
49676 ;;
49677 esac
49678 done
49679
49680 # Kill result in case of failure as there is just to many stupid make/nmake
49681 # things out there which doesn't do this.
49682 if [ ${D}# -eq 0 ]; then
49683 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
49684 fi
49685 }
49686
49687 # Print usage and exit script with rc=1.
49688 PrintHelp() {
49689 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
49690 echo ' [-name-mangler-script script.sh]'
49691 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
49692 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
49693 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
49694 echo ' [*.o] [*.a]'
49695 echo '*> "output_file" should have no extension.'
49696 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
49697 echo ' The import library name is derived from this and is set to "name".a,'
49698 echo ' unless overridden by -import'
49699 echo '*> "importlib_name" should have no extension.'
49700 echo ' If it has the .o, or .a extension, it is automatically removed.'
49701 echo ' This name is used as the import library name and may be longer and'
49702 echo ' more descriptive than the DLL name which has to follow the old '
49703 echo ' 8.3 convention of FAT.'
49704 echo '*> "script.sh may be given to override the output_file name by a'
49705 echo ' different name. It is mainly useful if the regular make process'
49706 echo ' of some package does not take into account OS/2 restriction of'
49707 echo ' DLL name lengths. It takes the importlib name as input and is'
49708 echo ' supposed to procude a shorter name as output. The script should'
49709 echo ' expect to get importlib_name without extension and should produce'
49710 echo ' a (max.) 8 letter name without extension.'
49711 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
49712 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
49713 echo ' These flags will be put at the start of GCC command line.'
49714 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
49715 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
49716 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
49717 echo ' If the last character of a symbol is "*", all symbols beginning'
49718 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
49719 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49720 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49721 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49722 echo ' C runtime DLLs.'
49723 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49724 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49725 echo ' unchanged to GCC at the end of command line.'
49726 echo '*> If you create a DLL from a library and you do not specify -o,'
49727 echo ' the basename for DLL and import library will be set to library name,'
49728 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49729 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49730 echo ' library will be renamed into gcc_s.a.'
49731 echo '--------'
49732 echo 'Example:'
49733 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49734 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49735 CleanUp
49736 exit 1
49737 }
49738
49739 # Execute a command.
49740 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49741 # @Uses Whatever CleanUp() uses.
49742 doCommand() {
49743 echo "${D}*"
49744 eval ${D}*
49745 rcCmd=${D}?
49746
49747 if [ ${D}rcCmd -ne 0 ]; then
49748 echo "command failed, exit code="${D}rcCmd
49749 CleanUp
49750 exit ${D}rcCmd
49751 fi
49752 }
49753
49754 # main routine
49755 # setup globals
49756 cmdLine=${D}*
49757 outFile=""
49758 outimpFile=""
49759 inputFiles=""
49760 renameScript=""
49761 description=""
49762 CC=gcc.exe
49763 CFLAGS="-s -Zcrtdll"
49764 EXTRA_CFLAGS=""
49765 EXPORT_BY_ORDINALS=0
49766 exclude_symbols=""
49767 library_flags=""
49768 curDir=\`pwd\`
49769 curDirS=curDir
49770 case ${D}curDirS in
49771 */)
49772 ;;
49773 *)
49774 curDirS=${D}{curDirS}"/"
49775 ;;
49776 esac
49777 # Parse commandline
49778 libsToLink=0
49779 omfLinking=0
49780 while [ ${D}1 ]; do
49781 case ${D}1 in
49782 -ord*)
49783 EXPORT_BY_ORDINALS=1;
49784 ;;
49785 -o*)
49786 shift
49787 outFile=${D}1
49788 ;;
49789 -i*)
49790 shift
49791 outimpFile=${D}1
49792 ;;
49793 -name-mangler-script)
49794 shift
49795 renameScript=${D}1
49796 ;;
49797 -d*)
49798 shift
49799 description=${D}1
49800 ;;
49801 -f*)
49802 shift
49803 CFLAGS=${D}1
49804 ;;
49805 -c*)
49806 shift
49807 CC=${D}1
49808 ;;
49809 -h*)
49810 PrintHelp
49811 ;;
49812 -ex*)
49813 shift
49814 exclude_symbols=${D}{exclude_symbols}${D}1" "
49815 ;;
49816 -libf*)
49817 shift
49818 library_flags=${D}{library_flags}${D}1" "
49819 ;;
49820 -nocrt*)
49821 CFLAGS="-s"
49822 ;;
49823 -nolxl*)
49824 flag_USE_LXLITE=0
49825 ;;
49826 -* | /*)
49827 case ${D}1 in
49828 -L* | -l*)
49829 libsToLink=1
49830 ;;
49831 -Zomf)
49832 omfLinking=1
49833 ;;
49834 *)
49835 ;;
49836 esac
49837 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49838 ;;
49839 *.dll)
49840 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49841 if [ ${D}omfLinking -eq 1 ]; then
49842 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49843 else
49844 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49845 fi
49846 ;;
49847 *)
49848 found=0;
49849 if [ ${D}libsToLink -ne 0 ]; then
49850 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49851 else
49852 for file in ${D}1 ; do
49853 if [ -f ${D}file ]; then
49854 inputFiles="${D}{inputFiles} ${D}file"
49855 found=1
49856 fi
49857 done
49858 if [ ${D}found -eq 0 ]; then
49859 echo "ERROR: No file(s) found: "${D}1
49860 exit 8
49861 fi
49862 fi
49863 ;;
49864 esac
49865 shift
49866 done # iterate cmdline words
49867
49868 #
49869 if [ -z "${D}inputFiles" ]; then
49870 echo "dllar: no input files"
49871 PrintHelp
49872 fi
49873
49874 # Now extract all .o files from .a files
49875 newInputFiles=""
49876 for file in ${D}inputFiles ; do
49877 case ${D}file in
49878 *.a | *.lib)
49879 case ${D}file in
49880 *.a)
49881 suffix=".a"
49882 AR="ar"
49883 ;;
49884 *.lib)
49885 suffix=".lib"
49886 AR="emxomfar"
49887 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49888 ;;
49889 *)
49890 ;;
49891 esac
49892 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49893 mkdir ${D}dirname
49894 if [ ${D}? -ne 0 ]; then
49895 echo "Failed to create subdirectory ./${D}dirname"
49896 CleanUp
49897 exit 8;
49898 fi
49899 # Append '!' to indicate archive
49900 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49901 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49902 cd ${D}curDir
49903 found=0;
49904 for subfile in ${D}dirname/*.o* ; do
49905 if [ -f ${D}subfile ]; then
49906 found=1
49907 if [ -s ${D}subfile ]; then
49908 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49909 newInputFiles="${D}newInputFiles ${D}subfile"
49910 fi
49911 fi
49912 done
49913 if [ ${D}found -eq 0 ]; then
49914 echo "WARNING: there are no files in archive \\'${D}file\\'"
49915 fi
49916 ;;
49917 *)
49918 newInputFiles="${D}{newInputFiles} ${D}file"
49919 ;;
49920 esac
49921 done
49922 inputFiles="${D}newInputFiles"
49923
49924 # Output filename(s).
49925 do_backup=0;
49926 if [ -z ${D}outFile ]; then
49927 do_backup=1;
49928 set outFile ${D}inputFiles; outFile=${D}2
49929 fi
49930
49931 # If it is an archive, remove the '!' and the '_%' suffixes
49932 case ${D}outFile in
49933 *_%!)
49934 outFile=\`basnam ${D}outFile _%!\`
49935 ;;
49936 *)
49937 ;;
49938 esac
49939 case ${D}outFile in
49940 *.dll)
49941 outFile=\`basnam ${D}outFile .dll\`
49942 ;;
49943 *.DLL)
49944 outFile=\`basnam ${D}outFile .DLL\`
49945 ;;
49946 *.o)
49947 outFile=\`basnam ${D}outFile .o\`
49948 ;;
49949 *.obj)
49950 outFile=\`basnam ${D}outFile .obj\`
49951 ;;
49952 *.a)
49953 outFile=\`basnam ${D}outFile .a\`
49954 ;;
49955 *.lib)
49956 outFile=\`basnam ${D}outFile .lib\`
49957 ;;
49958 *)
49959 ;;
49960 esac
49961 case ${D}outimpFile in
49962 *.a)
49963 outimpFile=\`basnam ${D}outimpFile .a\`
49964 ;;
49965 *.lib)
49966 outimpFile=\`basnam ${D}outimpFile .lib\`
49967 ;;
49968 *)
49969 ;;
49970 esac
49971 if [ -z ${D}outimpFile ]; then
49972 outimpFile=${D}outFile
49973 fi
49974 defFile="${D}{outFile}.def"
49975 arcFile="${D}{outimpFile}.a"
49976 arcFile2="${D}{outimpFile}.lib"
49977
49978 #create ${D}dllFile as something matching 8.3 restrictions,
49979 if [ -z ${D}renameScript ] ; then
49980 dllFile="${D}outFile"
49981 else
49982 dllFile=\`${D}renameScript ${D}outimpFile\`
49983 fi
49984
49985 if [ ${D}do_backup -ne 0 ] ; then
49986 if [ -f ${D}arcFile ] ; then
49987 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49988 fi
49989 if [ -f ${D}arcFile2 ] ; then
49990 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49991 fi
49992 fi
49993
49994 # Extract public symbols from all the object files.
49995 tmpdefFile=${D}{defFile}_%
49996 rm -f ${D}tmpdefFile
49997 for file in ${D}inputFiles ; do
49998 case ${D}file in
49999 *!)
50000 ;;
50001 *)
50002 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
50003 ;;
50004 esac
50005 done
50006
50007 # Create the def file.
50008 rm -f ${D}defFile
50009 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
50010 dllFile="${D}{dllFile}.dll"
50011 if [ ! -z ${D}description ]; then
50012 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
50013 fi
50014 echo "EXPORTS" >> ${D}defFile
50015
50016 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
50017 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
50018
50019 # Checks if the export is ok or not.
50020 for word in ${D}exclude_symbols; do
50021 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
50022 mv ${D}{tmpdefFile}% ${D}tmpdefFile
50023 done
50024
50025
50026 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50027 sed "=" < ${D}tmpdefFile | \\
50028 sed '
50029 N
50030 : loop
50031 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
50032 t loop
50033 ' > ${D}{tmpdefFile}%
50034 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
50035 else
50036 rm -f ${D}{tmpdefFile}%
50037 fi
50038 cat ${D}tmpdefFile >> ${D}defFile
50039 rm -f ${D}tmpdefFile
50040
50041 # Do linking, create implib, and apply lxlite.
50042 gccCmdl="";
50043 for file in ${D}inputFiles ; do
50044 case ${D}file in
50045 *!)
50046 ;;
50047 *)
50048 gccCmdl="${D}gccCmdl ${D}file"
50049 ;;
50050 esac
50051 done
50052 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
50053 touch "${D}{outFile}.dll"
50054
50055 doCommand "emximp -o ${D}arcFile ${D}defFile"
50056 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
50057 add_flags="";
50058 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
50059 add_flags="-ynd"
50060 fi
50061 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
50062 fi
50063 doCommand "emxomf -s -l ${D}arcFile"
50064
50065 # Successful exit.
50066 CleanUp 1
50067 exit 0
50068 EOF
50069
50070 chmod +x dllar.sh
50071 ;;
50072
50073 powerpc-apple-macos* | \
50074 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
50075 *-*-mirbsd* | \
50076 *-*-sunos4* | \
50077 *-*-osf* | \
50078 *-*-dgux5* | \
50079 *-*-sysv5* | \
50080 *-pc-msdosdjgpp )
50081 ;;
50082
50083 *)
50084 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
50085 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
50086 { (exit 1); exit 1; }; }
50087 esac
50088
50089 if test "x$PIC_FLAG" != "x" ; then
50090 PIC_FLAG="$PIC_FLAG -DPIC"
50091 fi
50092
50093 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
50094 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
50095 fi
50096 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
50097 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
50098 fi
50099
50100
50101
50102
50103
50104
50105
50106
50107
50108 USE_SOVERSION=0
50109 USE_SOVERLINUX=0
50110 USE_SOVERSOLARIS=0
50111 USE_SOVERCYGWIN=0
50112 USE_SOSYMLINKS=0
50113 USE_MACVERSION=0
50114 SONAME_FLAG=
50115
50116 case "${BAKEFILE_HOST}" in
50117 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
50118 if test "x$SUNCXX" = "xyes"; then
50119 SONAME_FLAG="-h "
50120 else
50121 SONAME_FLAG="-Wl,-soname,"
50122 fi
50123 USE_SOVERSION=1
50124 USE_SOVERLINUX=1
50125 USE_SOSYMLINKS=1
50126 ;;
50127
50128 *-*-solaris2* )
50129 SONAME_FLAG="-h "
50130 USE_SOVERSION=1
50131 USE_SOVERSOLARIS=1
50132 USE_SOSYMLINKS=1
50133 ;;
50134
50135 *-*-darwin* )
50136 USE_MACVERSION=1
50137 USE_SOVERSION=1
50138 USE_SOSYMLINKS=1
50139 ;;
50140
50141 *-*-cygwin* )
50142 USE_SOVERSION=1
50143 USE_SOVERCYGWIN=1
50144 ;;
50145 esac
50146
50147
50148
50149
50150
50151
50152
50153
50154
50155
50156 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
50157 if test "${enable_dependency_tracking+set}" = set; then
50158 enableval="$enable_dependency_tracking"
50159 bk_use_trackdeps="$enableval"
50160 fi;
50161
50162 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
50163 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
50164
50165 BK_DEPS=""
50166 if test "x$bk_use_trackdeps" = "xno" ; then
50167 DEPS_TRACKING=0
50168 echo "$as_me:$LINENO: result: disabled" >&5
50169 echo "${ECHO_T}disabled" >&6
50170 else
50171 DEPS_TRACKING=1
50172
50173 if test "x$GCC" = "xyes"; then
50174 DEPSMODE=gcc
50175 case "${BAKEFILE_HOST}" in
50176 *-*-darwin* )
50177 DEPSFLAG="-no-cpp-precomp -MMD"
50178 ;;
50179 * )
50180 DEPSFLAG="-MMD"
50181 ;;
50182 esac
50183 echo "$as_me:$LINENO: result: gcc" >&5
50184 echo "${ECHO_T}gcc" >&6
50185 elif test "x$MWCC" = "xyes"; then
50186 DEPSMODE=mwcc
50187 DEPSFLAG="-MM"
50188 echo "$as_me:$LINENO: result: mwcc" >&5
50189 echo "${ECHO_T}mwcc" >&6
50190 elif test "x$SUNCC" = "xyes"; then
50191 DEPSMODE=unixcc
50192 DEPSFLAG="-xM1"
50193 echo "$as_me:$LINENO: result: Sun cc" >&5
50194 echo "${ECHO_T}Sun cc" >&6
50195 elif test "x$SGICC" = "xyes"; then
50196 DEPSMODE=unixcc
50197 DEPSFLAG="-M"
50198 echo "$as_me:$LINENO: result: SGI cc" >&5
50199 echo "${ECHO_T}SGI cc" >&6
50200 elif test "x$HPCC" = "xyes"; then
50201 DEPSMODE=unixcc
50202 DEPSFLAG="+make"
50203 echo "$as_me:$LINENO: result: HP cc" >&5
50204 echo "${ECHO_T}HP cc" >&6
50205 elif test "x$COMPAQCC" = "xyes"; then
50206 DEPSMODE=gcc
50207 DEPSFLAG="-MD"
50208 echo "$as_me:$LINENO: result: Compaq cc" >&5
50209 echo "${ECHO_T}Compaq cc" >&6
50210 else
50211 DEPS_TRACKING=0
50212 echo "$as_me:$LINENO: result: none" >&5
50213 echo "${ECHO_T}none" >&6
50214 fi
50215
50216 if test $DEPS_TRACKING = 1 ; then
50217
50218 D='$'
50219 cat <<EOF >bk-deps
50220 #!/bin/sh
50221
50222 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50223 # script. It is used to track C/C++ files dependencies in portable way.
50224 #
50225 # Permission is given to use this file in any way.
50226
50227 DEPSMODE=${DEPSMODE}
50228 DEPSDIR=.deps
50229 DEPSFLAG="${DEPSFLAG}"
50230
50231 mkdir -p ${D}DEPSDIR
50232
50233 if test ${D}DEPSMODE = gcc ; then
50234 ${D}* ${D}{DEPSFLAG}
50235 status=${D}?
50236 if test ${D}{status} != 0 ; then
50237 exit ${D}{status}
50238 fi
50239 # move created file to the location we want it in:
50240 while test ${D}# -gt 0; do
50241 case "${D}1" in
50242 -o )
50243 shift
50244 objfile=${D}1
50245 ;;
50246 -* )
50247 ;;
50248 * )
50249 srcfile=${D}1
50250 ;;
50251 esac
50252 shift
50253 done
50254 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
50255 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
50256 if test -f ${D}depfile ; then
50257 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50258 rm -f ${D}depfile
50259 else
50260 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
50261 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
50262 if test ! -f ${D}depfile ; then
50263 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
50264 depfile="${D}objfile.d"
50265 fi
50266 if test -f ${D}depfile ; then
50267 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
50268 rm -f ${D}depfile
50269 fi
50270 fi
50271 exit 0
50272 elif test ${D}DEPSMODE = mwcc ; then
50273 ${D}* || exit ${D}?
50274 # Run mwcc again with -MM and redirect into the dep file we want
50275 # NOTE: We can't use shift here because we need ${D}* to be valid
50276 prevarg=
50277 for arg in ${D}* ; do
50278 if test "${D}prevarg" = "-o"; then
50279 objfile=${D}arg
50280 else
50281 case "${D}arg" in
50282 -* )
50283 ;;
50284 * )
50285 srcfile=${D}arg
50286 ;;
50287 esac
50288 fi
50289 prevarg="${D}arg"
50290 done
50291 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
50292 exit 0
50293 elif test ${D}DEPSMODE = unixcc; then
50294 ${D}* || exit ${D}?
50295 # Run compiler again with deps flag and redirect into the dep file.
50296 # It doesn't work if the '-o FILE' option is used, but without it the
50297 # dependency file will contain the wrong name for the object. So it is
50298 # removed from the command line, and the dep file is fixed with sed.
50299 cmd=""
50300 while test ${D}# -gt 0; do
50301 case "${D}1" in
50302 -o )
50303 shift
50304 objfile=${D}1
50305 ;;
50306 * )
50307 eval arg${D}#=\\${D}1
50308 cmd="${D}cmd \\${D}arg${D}#"
50309 ;;
50310 esac
50311 shift
50312 done
50313 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
50314 exit 0
50315 else
50316 ${D}*
50317 exit ${D}?
50318 fi
50319 EOF
50320
50321 chmod +x bk-deps
50322 BK_DEPS="`pwd`/bk-deps"
50323 fi
50324 fi
50325
50326
50327
50328
50329
50330 case ${BAKEFILE_HOST} in
50331 *-*-cygwin* | *-*-mingw32* )
50332 if test -n "$ac_tool_prefix"; then
50333 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
50334 set dummy ${ac_tool_prefix}windres; ac_word=$2
50335 echo "$as_me:$LINENO: checking for $ac_word" >&5
50336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50337 if test "${ac_cv_prog_WINDRES+set}" = set; then
50338 echo $ECHO_N "(cached) $ECHO_C" >&6
50339 else
50340 if test -n "$WINDRES"; then
50341 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
50342 else
50343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50344 for as_dir in $PATH
50345 do
50346 IFS=$as_save_IFS
50347 test -z "$as_dir" && as_dir=.
50348 for ac_exec_ext in '' $ac_executable_extensions; do
50349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50350 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
50351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50352 break 2
50353 fi
50354 done
50355 done
50356
50357 fi
50358 fi
50359 WINDRES=$ac_cv_prog_WINDRES
50360 if test -n "$WINDRES"; then
50361 echo "$as_me:$LINENO: result: $WINDRES" >&5
50362 echo "${ECHO_T}$WINDRES" >&6
50363 else
50364 echo "$as_me:$LINENO: result: no" >&5
50365 echo "${ECHO_T}no" >&6
50366 fi
50367
50368 fi
50369 if test -z "$ac_cv_prog_WINDRES"; then
50370 ac_ct_WINDRES=$WINDRES
50371 # Extract the first word of "windres", so it can be a program name with args.
50372 set dummy windres; ac_word=$2
50373 echo "$as_me:$LINENO: checking for $ac_word" >&5
50374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50375 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
50376 echo $ECHO_N "(cached) $ECHO_C" >&6
50377 else
50378 if test -n "$ac_ct_WINDRES"; then
50379 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
50380 else
50381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50382 for as_dir in $PATH
50383 do
50384 IFS=$as_save_IFS
50385 test -z "$as_dir" && as_dir=.
50386 for ac_exec_ext in '' $ac_executable_extensions; do
50387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50388 ac_cv_prog_ac_ct_WINDRES="windres"
50389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50390 break 2
50391 fi
50392 done
50393 done
50394
50395 fi
50396 fi
50397 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
50398 if test -n "$ac_ct_WINDRES"; then
50399 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
50400 echo "${ECHO_T}$ac_ct_WINDRES" >&6
50401 else
50402 echo "$as_me:$LINENO: result: no" >&5
50403 echo "${ECHO_T}no" >&6
50404 fi
50405
50406 WINDRES=$ac_ct_WINDRES
50407 else
50408 WINDRES="$ac_cv_prog_WINDRES"
50409 fi
50410
50411 ;;
50412
50413 *-*-darwin* | powerpc-apple-macos* )
50414 # Extract the first word of "Rez", so it can be a program name with args.
50415 set dummy Rez; ac_word=$2
50416 echo "$as_me:$LINENO: checking for $ac_word" >&5
50417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50418 if test "${ac_cv_prog_REZ+set}" = set; then
50419 echo $ECHO_N "(cached) $ECHO_C" >&6
50420 else
50421 if test -n "$REZ"; then
50422 ac_cv_prog_REZ="$REZ" # Let the user override the test.
50423 else
50424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50425 for as_dir in $PATH
50426 do
50427 IFS=$as_save_IFS
50428 test -z "$as_dir" && as_dir=.
50429 for ac_exec_ext in '' $ac_executable_extensions; do
50430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50431 ac_cv_prog_REZ="Rez"
50432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50433 break 2
50434 fi
50435 done
50436 done
50437
50438 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
50439 fi
50440 fi
50441 REZ=$ac_cv_prog_REZ
50442 if test -n "$REZ"; then
50443 echo "$as_me:$LINENO: result: $REZ" >&5
50444 echo "${ECHO_T}$REZ" >&6
50445 else
50446 echo "$as_me:$LINENO: result: no" >&5
50447 echo "${ECHO_T}no" >&6
50448 fi
50449
50450 # Extract the first word of "SetFile", so it can be a program name with args.
50451 set dummy SetFile; ac_word=$2
50452 echo "$as_me:$LINENO: checking for $ac_word" >&5
50453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50454 if test "${ac_cv_prog_SETFILE+set}" = set; then
50455 echo $ECHO_N "(cached) $ECHO_C" >&6
50456 else
50457 if test -n "$SETFILE"; then
50458 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
50459 else
50460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50461 for as_dir in $PATH
50462 do
50463 IFS=$as_save_IFS
50464 test -z "$as_dir" && as_dir=.
50465 for ac_exec_ext in '' $ac_executable_extensions; do
50466 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50467 ac_cv_prog_SETFILE="SetFile"
50468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50469 break 2
50470 fi
50471 done
50472 done
50473
50474 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
50475 fi
50476 fi
50477 SETFILE=$ac_cv_prog_SETFILE
50478 if test -n "$SETFILE"; then
50479 echo "$as_me:$LINENO: result: $SETFILE" >&5
50480 echo "${ECHO_T}$SETFILE" >&6
50481 else
50482 echo "$as_me:$LINENO: result: no" >&5
50483 echo "${ECHO_T}no" >&6
50484 fi
50485
50486 ;;
50487 esac
50488
50489
50490
50491
50492
50493
50494 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
50495
50496
50497 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
50498
50499
50500
50501 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
50502 if test "${enable_precomp_headers+set}" = set; then
50503 enableval="$enable_precomp_headers"
50504 bk_use_pch="$enableval"
50505 fi;
50506
50507 GCC_PCH=0
50508 ICC_PCH=0
50509 USE_PCH=0
50510 BK_MAKE_PCH=""
50511
50512 case ${BAKEFILE_HOST} in
50513 *-*-cygwin* )
50514 bk_use_pch="no"
50515 ;;
50516 esac
50517
50518 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
50519 if test "x$GCC" = "xyes"; then
50520 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
50521 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
50522 cat >conftest.$ac_ext <<_ACEOF
50523 /* confdefs.h. */
50524 _ACEOF
50525 cat confdefs.h >>conftest.$ac_ext
50526 cat >>conftest.$ac_ext <<_ACEOF
50527 /* end confdefs.h. */
50528
50529 int
50530 main ()
50531 {
50532
50533 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
50534 There is no PCH support
50535 #endif
50536 #if (__GNUC__ < 3)
50537 There is no PCH support
50538 #endif
50539 #if (__GNUC__ == 3) && \
50540 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
50541 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
50542 ( defined(__INTEL_COMPILER) )
50543 There is no PCH support
50544 #endif
50545
50546 ;
50547 return 0;
50548 }
50549 _ACEOF
50550 rm -f conftest.$ac_objext
50551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50552 (eval $ac_compile) 2>conftest.er1
50553 ac_status=$?
50554 grep -v '^ *+' conftest.er1 >conftest.err
50555 rm -f conftest.er1
50556 cat conftest.err >&5
50557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50558 (exit $ac_status); } &&
50559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50561 (eval $ac_try) 2>&5
50562 ac_status=$?
50563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50564 (exit $ac_status); }; } &&
50565 { ac_try='test -s conftest.$ac_objext'
50566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50567 (eval $ac_try) 2>&5
50568 ac_status=$?
50569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50570 (exit $ac_status); }; }; then
50571
50572 echo "$as_me:$LINENO: result: yes" >&5
50573 echo "${ECHO_T}yes" >&6
50574 GCC_PCH=1
50575
50576 else
50577 echo "$as_me: failed program was:" >&5
50578 sed 's/^/| /' conftest.$ac_ext >&5
50579
50580
50581 cat >conftest.$ac_ext <<_ACEOF
50582 /* confdefs.h. */
50583 _ACEOF
50584 cat confdefs.h >>conftest.$ac_ext
50585 cat >>conftest.$ac_ext <<_ACEOF
50586 /* end confdefs.h. */
50587
50588 int
50589 main ()
50590 {
50591
50592 #if !defined(__INTEL_COMPILER) || \
50593 (__INTEL_COMPILER < 800)
50594 There is no PCH support
50595 #endif
50596
50597 ;
50598 return 0;
50599 }
50600 _ACEOF
50601 rm -f conftest.$ac_objext
50602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50603 (eval $ac_compile) 2>conftest.er1
50604 ac_status=$?
50605 grep -v '^ *+' conftest.er1 >conftest.err
50606 rm -f conftest.er1
50607 cat conftest.err >&5
50608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50609 (exit $ac_status); } &&
50610 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
50611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50612 (eval $ac_try) 2>&5
50613 ac_status=$?
50614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50615 (exit $ac_status); }; } &&
50616 { ac_try='test -s conftest.$ac_objext'
50617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50618 (eval $ac_try) 2>&5
50619 ac_status=$?
50620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50621 (exit $ac_status); }; }; then
50622
50623 echo "$as_me:$LINENO: result: yes" >&5
50624 echo "${ECHO_T}yes" >&6
50625 ICC_PCH=1
50626
50627 else
50628 echo "$as_me: failed program was:" >&5
50629 sed 's/^/| /' conftest.$ac_ext >&5
50630
50631
50632 echo "$as_me:$LINENO: result: no" >&5
50633 echo "${ECHO_T}no" >&6
50634
50635 fi
50636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50637
50638 fi
50639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50640 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
50641 USE_PCH=1
50642
50643 D='$'
50644 cat <<EOF >bk-make-pch
50645 #!/bin/sh
50646
50647 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
50648 # script. It is used to generated precompiled headers.
50649 #
50650 # Permission is given to use this file in any way.
50651
50652 outfile="${D}{1}"
50653 header="${D}{2}"
50654 shift
50655 shift
50656
50657 compiler=""
50658 headerfile=""
50659
50660 while test ${D}{#} -gt 0; do
50661 add_to_cmdline=1
50662 case "${D}{1}" in
50663 -I* )
50664 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
50665 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
50666 headerfile="${D}{incdir}/${D}{header}"
50667 fi
50668 ;;
50669 -use-pch|-use_pch )
50670 shift
50671 add_to_cmdline=0
50672 ;;
50673 esac
50674 if test ${D}add_to_cmdline = 1 ; then
50675 compiler="${D}{compiler} ${D}{1}"
50676 fi
50677 shift
50678 done
50679
50680 if test "x${D}{headerfile}" = "x" ; then
50681 echo "error: can't find header ${D}{header} in include paths" >&2
50682 else
50683 if test -f ${D}{outfile} ; then
50684 rm -f ${D}{outfile}
50685 else
50686 mkdir -p \`dirname ${D}{outfile}\`
50687 fi
50688 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
50689 mkdir -p .deps
50690 if test "x${GCC_PCH}" = "x1" ; then
50691 # can do this because gcc is >= 3.4:
50692 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
50693 elif test "x${ICC_PCH}" = "x1" ; then
50694 filename=pch_gen-${D}${D}
50695 file=${D}{filename}.c
50696 dfile=${D}{filename}.d
50697 cat > ${D}file <<EOT
50698 #include "${D}header"
50699 EOT
50700 # using -MF icc complains about differing command lines in creation/use
50701 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
50702 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
50703 rm -f ${D}file ${D}dfile ${D}{filename}.o
50704 fi
50705 exit ${D}{?}
50706 fi
50707 EOF
50708
50709 chmod +x bk-make-pch
50710 BK_MAKE_PCH="`pwd`/bk-make-pch"
50711 fi
50712 fi
50713 fi
50714
50715
50716
50717
50718
50719 COND_BUILD_DEBUG="#"
50720 if test "x$BUILD" = "xdebug" ; then
50721 COND_BUILD_DEBUG=""
50722 fi
50723
50724 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
50725 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
50726 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50727 fi
50728
50729 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50730 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50731 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50732 fi
50733
50734 COND_BUILD_DEBUG_UNICODE_0="#"
50735 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50736 COND_BUILD_DEBUG_UNICODE_0=""
50737 fi
50738
50739 COND_BUILD_DEBUG_UNICODE_1="#"
50740 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50741 COND_BUILD_DEBUG_UNICODE_1=""
50742 fi
50743
50744 COND_BUILD_RELEASE="#"
50745 if test "x$BUILD" = "xrelease" ; then
50746 COND_BUILD_RELEASE=""
50747 fi
50748
50749 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50750 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50751 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50752 fi
50753
50754 COND_BUILD_RELEASE_UNICODE_0="#"
50755 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50756 COND_BUILD_RELEASE_UNICODE_0=""
50757 fi
50758
50759 COND_BUILD_RELEASE_UNICODE_1="#"
50760 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50761 COND_BUILD_RELEASE_UNICODE_1=""
50762 fi
50763
50764 COND_DEBUG_FLAG_1="#"
50765 if test "x$DEBUG_FLAG" = "x1" ; then
50766 COND_DEBUG_FLAG_1=""
50767 fi
50768
50769 COND_DEBUG_INFO_0="#"
50770 if test "x$DEBUG_INFO" = "x0" ; then
50771 COND_DEBUG_INFO_0=""
50772 fi
50773
50774 COND_DEBUG_INFO_1="#"
50775 if test "x$DEBUG_INFO" = "x1" ; then
50776 COND_DEBUG_INFO_1=""
50777 fi
50778
50779 COND_DEPS_TRACKING_0="#"
50780 if test "x$DEPS_TRACKING" = "x0" ; then
50781 COND_DEPS_TRACKING_0=""
50782 fi
50783
50784 COND_DEPS_TRACKING_1="#"
50785 if test "x$DEPS_TRACKING" = "x1" ; then
50786 COND_DEPS_TRACKING_1=""
50787 fi
50788
50789 COND_GCC_PCH_1="#"
50790 if test "x$GCC_PCH" = "x1" ; then
50791 COND_GCC_PCH_1=""
50792 fi
50793
50794 COND_ICC_PCH_1="#"
50795 if test "x$ICC_PCH" = "x1" ; then
50796 COND_ICC_PCH_1=""
50797 fi
50798
50799 COND_MONOLITHIC_0="#"
50800 if test "x$MONOLITHIC" = "x0" ; then
50801 COND_MONOLITHIC_0=""
50802 fi
50803
50804 COND_MONOLITHIC_0_SHARED_0="#"
50805 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50806 COND_MONOLITHIC_0_SHARED_0=""
50807 fi
50808
50809 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50810 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50811 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50812 fi
50813
50814 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50815 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50816 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50817 fi
50818
50819 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50820 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50821 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50822 fi
50823
50824 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50825 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50827 fi
50828
50829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
50830 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
50832 fi
50833
50834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50835 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50836 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50837 fi
50838
50839 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
50840 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50841 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
50842 fi
50843
50844 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50845 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50846 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50847 fi
50848
50849 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
50850 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
50851 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
50852 fi
50853
50854 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50855 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50856 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50857 fi
50858
50859 COND_MONOLITHIC_0_SHARED_1="#"
50860 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50861 COND_MONOLITHIC_0_SHARED_1=""
50862 fi
50863
50864 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50865 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50866 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50867 fi
50868
50869 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50870 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50871 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50872 fi
50873
50874 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50875 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50876 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50877 fi
50878
50879 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50880 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50881 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50882 fi
50883
50884 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
50885 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50886 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
50887 fi
50888
50889 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50890 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50891 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50892 fi
50893
50894 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
50895 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50896 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
50897 fi
50898
50899 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50900 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50901 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50902 fi
50903
50904 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
50905 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
50906 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
50907 fi
50908
50909 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50910 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50911 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50912 fi
50913
50914 COND_MONOLITHIC_0_USE_AUI_1="#"
50915 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
50916 COND_MONOLITHIC_0_USE_AUI_1=""
50917 fi
50918
50919 COND_MONOLITHIC_0_USE_GUI_1="#"
50920 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
50921 COND_MONOLITHIC_0_USE_GUI_1=""
50922 fi
50923
50924 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
50925 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50926 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
50927 fi
50928
50929 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
50930 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50931 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
50932 fi
50933
50934 COND_MONOLITHIC_0_USE_HTML_1="#"
50935 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
50936 COND_MONOLITHIC_0_USE_HTML_1=""
50937 fi
50938
50939 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50940 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50941 COND_MONOLITHIC_0_USE_MEDIA_1=""
50942 fi
50943
50944 COND_MONOLITHIC_0_USE_ODBC_1="#"
50945 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50946 COND_MONOLITHIC_0_USE_ODBC_1=""
50947 fi
50948
50949 COND_MONOLITHIC_0_USE_QA_1="#"
50950 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
50951 COND_MONOLITHIC_0_USE_QA_1=""
50952 fi
50953
50954 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
50955 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50956 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
50957 fi
50958
50959 COND_MONOLITHIC_0_USE_STC_1="#"
50960 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
50961 COND_MONOLITHIC_0_USE_STC_1=""
50962 fi
50963
50964 COND_MONOLITHIC_0_USE_XRC_1="#"
50965 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
50966 COND_MONOLITHIC_0_USE_XRC_1=""
50967 fi
50968
50969 COND_MONOLITHIC_1="#"
50970 if test "x$MONOLITHIC" = "x1" ; then
50971 COND_MONOLITHIC_1=""
50972 fi
50973
50974 COND_MONOLITHIC_1_SHARED_0="#"
50975 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50976 COND_MONOLITHIC_1_SHARED_0=""
50977 fi
50978
50979 COND_MONOLITHIC_1_SHARED_1="#"
50980 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50981 COND_MONOLITHIC_1_SHARED_1=""
50982 fi
50983
50984 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50985 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50986 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50987 fi
50988
50989 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50990 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50991 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50992 fi
50993
50994 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50995 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50996 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50997 fi
50998
50999 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
51000 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
51001 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
51002 fi
51003
51004 COND_PLATFORM_MACOSX_1="#"
51005 if test "x$PLATFORM_MACOSX" = "x1" ; then
51006 COND_PLATFORM_MACOSX_1=""
51007 fi
51008
51009 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
51010 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
51011 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
51012 fi
51013
51014 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
51015 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
51016 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
51017 fi
51018
51019 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
51020 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
51021 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
51022 fi
51023
51024 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
51025 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
51026 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
51027 fi
51028
51029 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
51030 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51031 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
51032 fi
51033
51034 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
51035 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
51036 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
51037 fi
51038
51039 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
51040 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
51041 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
51042 fi
51043
51044 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
51045 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
51046 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
51047 fi
51048
51049 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
51050 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51051 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
51052 fi
51053
51054 COND_PLATFORM_MACOS_1="#"
51055 if test "x$PLATFORM_MACOS" = "x1" ; then
51056 COND_PLATFORM_MACOS_1=""
51057 fi
51058
51059 COND_PLATFORM_MAC_1="#"
51060 if test "x$PLATFORM_MAC" = "x1" ; then
51061 COND_PLATFORM_MAC_1=""
51062 fi
51063
51064 COND_PLATFORM_MSDOS_0="#"
51065 if test "x$PLATFORM_MSDOS" = "x0" ; then
51066 COND_PLATFORM_MSDOS_0=""
51067 fi
51068
51069 COND_PLATFORM_MSDOS_1="#"
51070 if test "x$PLATFORM_MSDOS" = "x1" ; then
51071 COND_PLATFORM_MSDOS_1=""
51072 fi
51073
51074 COND_PLATFORM_OS2_1="#"
51075 if test "x$PLATFORM_OS2" = "x1" ; then
51076 COND_PLATFORM_OS2_1=""
51077 fi
51078
51079 COND_PLATFORM_UNIX_0="#"
51080 if test "x$PLATFORM_UNIX" = "x0" ; then
51081 COND_PLATFORM_UNIX_0=""
51082 fi
51083
51084 COND_PLATFORM_UNIX_1="#"
51085 if test "x$PLATFORM_UNIX" = "x1" ; then
51086 COND_PLATFORM_UNIX_1=""
51087 fi
51088
51089 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
51090 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
51091 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
51092 fi
51093
51094 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
51095 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51096 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
51097 fi
51098
51099 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
51100 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
51101 COND_PLATFORM_UNIX_1_USE_GUI_1=""
51102 fi
51103
51104 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
51105 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
51106 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
51107 fi
51108
51109 COND_PLATFORM_WIN32_0="#"
51110 if test "x$PLATFORM_WIN32" = "x0" ; then
51111 COND_PLATFORM_WIN32_0=""
51112 fi
51113
51114 COND_PLATFORM_WIN32_1="#"
51115 if test "x$PLATFORM_WIN32" = "x1" ; then
51116 COND_PLATFORM_WIN32_1=""
51117 fi
51118
51119 COND_SHARED_0="#"
51120 if test "x$SHARED" = "x0" ; then
51121 COND_SHARED_0=""
51122 fi
51123
51124 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
51125 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
51126 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
51127 fi
51128
51129 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
51130 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51131 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
51132 fi
51133
51134 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
51135 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
51136 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
51137 fi
51138
51139 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
51140 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51141 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
51142 fi
51143
51144 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51145 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51146 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51147 fi
51148
51149 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51150 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51151 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51152 fi
51153
51154 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51155 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51156 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51157 fi
51158
51159 COND_SHARED_0_USE_STC_1="#"
51160 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51161 COND_SHARED_0_USE_STC_1=""
51162 fi
51163
51164 COND_SHARED_0_USE_XRC_1="#"
51165 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51166 COND_SHARED_0_USE_XRC_1=""
51167 fi
51168
51169 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
51170 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
51171 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
51172 fi
51173
51174 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
51175 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
51176 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
51177 fi
51178
51179 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
51180 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
51181 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
51182 fi
51183
51184 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
51185 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
51186 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
51187 fi
51188
51189 COND_SHARED_1="#"
51190 if test "x$SHARED" = "x1" ; then
51191 COND_SHARED_1=""
51192 fi
51193
51194 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
51195 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51196 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
51197 fi
51198
51199 COND_SHARED_1_USE_XRC_1="#"
51200 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
51201 COND_SHARED_1_USE_XRC_1=""
51202 fi
51203
51204 COND_TOOLKIT_="#"
51205 if test "x$TOOLKIT" = "x" ; then
51206 COND_TOOLKIT_=""
51207 fi
51208
51209 COND_TOOLKIT_COCOA="#"
51210 if test "x$TOOLKIT" = "xCOCOA" ; then
51211 COND_TOOLKIT_COCOA=""
51212 fi
51213
51214 COND_TOOLKIT_COCOA_USE_GUI_1="#"
51215 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
51216 COND_TOOLKIT_COCOA_USE_GUI_1=""
51217 fi
51218
51219 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
51220 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51221 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
51222 fi
51223
51224 COND_TOOLKIT_DFB="#"
51225 if test "x$TOOLKIT" = "xDFB" ; then
51226 COND_TOOLKIT_DFB=""
51227 fi
51228
51229 COND_TOOLKIT_DFB_USE_GUI_1="#"
51230 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
51231 COND_TOOLKIT_DFB_USE_GUI_1=""
51232 fi
51233
51234 COND_TOOLKIT_GTK="#"
51235 if test "x$TOOLKIT" = "xGTK" ; then
51236 COND_TOOLKIT_GTK=""
51237 fi
51238
51239 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
51240 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
51241 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
51242 fi
51243
51244 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
51245 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
51246 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
51247 fi
51248
51249 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
51250 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
51251 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
51252 fi
51253
51254 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
51255 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51256 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
51257 fi
51258
51259 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
51260 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
51261 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
51262 fi
51263
51264 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
51265 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51266 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
51267 fi
51268
51269 COND_TOOLKIT_GTK_USE_GUI_1="#"
51270 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
51271 COND_TOOLKIT_GTK_USE_GUI_1=""
51272 fi
51273
51274 COND_TOOLKIT_MAC="#"
51275 if test "x$TOOLKIT" = "xMAC" ; then
51276 COND_TOOLKIT_MAC=""
51277 fi
51278
51279 COND_TOOLKIT_MAC_USE_GUI_1="#"
51280 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
51281 COND_TOOLKIT_MAC_USE_GUI_1=""
51282 fi
51283
51284 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
51285 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51286 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
51287 fi
51288
51289 COND_TOOLKIT_MGL="#"
51290 if test "x$TOOLKIT" = "xMGL" ; then
51291 COND_TOOLKIT_MGL=""
51292 fi
51293
51294 COND_TOOLKIT_MGL_USE_GUI_1="#"
51295 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
51296 COND_TOOLKIT_MGL_USE_GUI_1=""
51297 fi
51298
51299 COND_TOOLKIT_MOTIF="#"
51300 if test "x$TOOLKIT" = "xMOTIF" ; then
51301 COND_TOOLKIT_MOTIF=""
51302 fi
51303
51304 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
51305 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
51306 COND_TOOLKIT_MOTIF_USE_GUI_1=""
51307 fi
51308
51309 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
51310 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51311 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
51312 fi
51313
51314 COND_TOOLKIT_MSW="#"
51315 if test "x$TOOLKIT" = "xMSW" ; then
51316 COND_TOOLKIT_MSW=""
51317 fi
51318
51319 COND_TOOLKIT_MSW_USE_GUI_1="#"
51320 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
51321 COND_TOOLKIT_MSW_USE_GUI_1=""
51322 fi
51323
51324 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
51325 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51326 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
51327 fi
51328
51329 COND_TOOLKIT_MSW_WXUNIV_0="#"
51330 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
51331 COND_TOOLKIT_MSW_WXUNIV_0=""
51332 fi
51333
51334 COND_TOOLKIT_PM="#"
51335 if test "x$TOOLKIT" = "xPM" ; then
51336 COND_TOOLKIT_PM=""
51337 fi
51338
51339 COND_TOOLKIT_PM_USE_GUI_1="#"
51340 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
51341 COND_TOOLKIT_PM_USE_GUI_1=""
51342 fi
51343
51344 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
51345 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51346 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
51347 fi
51348
51349 COND_TOOLKIT_WINCE="#"
51350 if test "x$TOOLKIT" = "xWINCE" ; then
51351 COND_TOOLKIT_WINCE=""
51352 fi
51353
51354 COND_TOOLKIT_WINCE_USE_GUI_1="#"
51355 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
51356 COND_TOOLKIT_WINCE_USE_GUI_1=""
51357 fi
51358
51359 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
51360 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51361 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
51362 fi
51363
51364 COND_TOOLKIT_WINCE_WXUNIV_0="#"
51365 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
51366 COND_TOOLKIT_WINCE_WXUNIV_0=""
51367 fi
51368
51369 COND_TOOLKIT_X11="#"
51370 if test "x$TOOLKIT" = "xX11" ; then
51371 COND_TOOLKIT_X11=""
51372 fi
51373
51374 COND_TOOLKIT_X11_USE_GUI_1="#"
51375 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
51376 COND_TOOLKIT_X11_USE_GUI_1=""
51377 fi
51378
51379 COND_UNICODE_1="#"
51380 if test "x$UNICODE" = "x1" ; then
51381 COND_UNICODE_1=""
51382 fi
51383
51384 COND_USE_EXCEPTIONS_0="#"
51385 if test "x$USE_EXCEPTIONS" = "x0" ; then
51386 COND_USE_EXCEPTIONS_0=""
51387 fi
51388
51389 COND_USE_EXCEPTIONS_1="#"
51390 if test "x$USE_EXCEPTIONS" = "x1" ; then
51391 COND_USE_EXCEPTIONS_1=""
51392 fi
51393
51394 COND_USE_GUI_0="#"
51395 if test "x$USE_GUI" = "x0" ; then
51396 COND_USE_GUI_0=""
51397 fi
51398
51399 COND_USE_GUI_1="#"
51400 if test "x$USE_GUI" = "x1" ; then
51401 COND_USE_GUI_1=""
51402 fi
51403
51404 COND_USE_GUI_1_USE_OPENGL_1="#"
51405 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
51406 COND_USE_GUI_1_USE_OPENGL_1=""
51407 fi
51408
51409 COND_USE_GUI_1_WXUNIV_0="#"
51410 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
51411 COND_USE_GUI_1_WXUNIV_0=""
51412 fi
51413
51414 COND_USE_GUI_1_WXUNIV_1="#"
51415 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
51416 COND_USE_GUI_1_WXUNIV_1=""
51417 fi
51418
51419 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
51420 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51421 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
51422 fi
51423
51424 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
51425 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51426 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
51427 fi
51428
51429 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
51430 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51431 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
51432 fi
51433
51434 COND_USE_ODBC_1="#"
51435 if test "x$USE_ODBC" = "x1" ; then
51436 COND_USE_ODBC_1=""
51437 fi
51438
51439 COND_USE_OPENGL_1="#"
51440 if test "x$USE_OPENGL" = "x1" ; then
51441 COND_USE_OPENGL_1=""
51442 fi
51443
51444 COND_USE_PCH_1="#"
51445 if test "x$USE_PCH" = "x1" ; then
51446 COND_USE_PCH_1=""
51447 fi
51448
51449 COND_USE_PLUGINS_0="#"
51450 if test "x$USE_PLUGINS" = "x0" ; then
51451 COND_USE_PLUGINS_0=""
51452 fi
51453
51454 COND_USE_RTTI_0="#"
51455 if test "x$USE_RTTI" = "x0" ; then
51456 COND_USE_RTTI_0=""
51457 fi
51458
51459 COND_USE_RTTI_1="#"
51460 if test "x$USE_RTTI" = "x1" ; then
51461 COND_USE_RTTI_1=""
51462 fi
51463
51464 COND_USE_SOSYMLINKS_1="#"
51465 if test "x$USE_SOSYMLINKS" = "x1" ; then
51466 COND_USE_SOSYMLINKS_1=""
51467 fi
51468
51469 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
51470 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
51471 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
51472 fi
51473
51474 COND_USE_SOVERLINUX_1="#"
51475 if test "x$USE_SOVERLINUX" = "x1" ; then
51476 COND_USE_SOVERLINUX_1=""
51477 fi
51478
51479 COND_USE_SOVERSION_0="#"
51480 if test "x$USE_SOVERSION" = "x0" ; then
51481 COND_USE_SOVERSION_0=""
51482 fi
51483
51484 COND_USE_SOVERSOLARIS_1="#"
51485 if test "x$USE_SOVERSOLARIS" = "x1" ; then
51486 COND_USE_SOVERSOLARIS_1=""
51487 fi
51488
51489 COND_USE_STC_1="#"
51490 if test "x$USE_STC" = "x1" ; then
51491 COND_USE_STC_1=""
51492 fi
51493
51494 COND_USE_THREADS_0="#"
51495 if test "x$USE_THREADS" = "x0" ; then
51496 COND_USE_THREADS_0=""
51497 fi
51498
51499 COND_USE_THREADS_1="#"
51500 if test "x$USE_THREADS" = "x1" ; then
51501 COND_USE_THREADS_1=""
51502 fi
51503
51504 COND_USE_XRC_1="#"
51505 if test "x$USE_XRC" = "x1" ; then
51506 COND_USE_XRC_1=""
51507 fi
51508
51509 COND_WINDOWS_IMPLIB_1="#"
51510 if test "x$WINDOWS_IMPLIB" = "x1" ; then
51511 COND_WINDOWS_IMPLIB_1=""
51512 fi
51513
51514 COND_WITH_PLUGIN_SDL_1="#"
51515 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
51516 COND_WITH_PLUGIN_SDL_1=""
51517 fi
51518
51519 COND_WXUNIV_0="#"
51520 if test "x$WXUNIV" = "x0" ; then
51521 COND_WXUNIV_0=""
51522 fi
51523
51524 COND_WXUNIV_1="#"
51525 if test "x$WXUNIV" = "x1" ; then
51526 COND_WXUNIV_1=""
51527 fi
51528
51529 COND_WXUSE_EXPAT_BUILTIN="#"
51530 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
51531 COND_WXUSE_EXPAT_BUILTIN=""
51532 fi
51533
51534 COND_WXUSE_LIBJPEG_BUILTIN="#"
51535 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
51536 COND_WXUSE_LIBJPEG_BUILTIN=""
51537 fi
51538
51539 COND_WXUSE_LIBPNG_BUILTIN="#"
51540 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
51541 COND_WXUSE_LIBPNG_BUILTIN=""
51542 fi
51543
51544 COND_WXUSE_LIBTIFF_BUILTIN="#"
51545 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
51546 COND_WXUSE_LIBTIFF_BUILTIN=""
51547 fi
51548
51549 COND_WXUSE_ODBC_BUILTIN="#"
51550 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
51551 COND_WXUSE_ODBC_BUILTIN=""
51552 fi
51553
51554 COND_WXUSE_REGEX_BUILTIN="#"
51555 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
51556 COND_WXUSE_REGEX_BUILTIN=""
51557 fi
51558
51559 COND_WXUSE_ZLIB_BUILTIN="#"
51560 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
51561 COND_WXUSE_ZLIB_BUILTIN=""
51562 fi
51563
51564
51565
51566 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
51567 { { 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
51568 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;}
51569 { (exit 1); exit 1; }; }
51570 fi
51571
51572 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
51573 { { 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
51574 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;}
51575 { (exit 1); exit 1; }; }
51576 fi
51577
51578
51579 if test $GCC_PCH = 1
51580 then
51581 if test "$wx_cv_gcc_pch_bug" = yes; then
51582 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
51583 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
51584 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
51585 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
51586 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
51587 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
51588 fi
51589
51590 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
51591 fi
51592
51593
51594 if test "$wxUSE_MAC" = 1 ; then
51595 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
51596 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
51597 mv temp bk-deps
51598 chmod +x bk-deps
51599 fi
51600 fi
51601
51602 if test "$wxUSE_SHARED" = "yes"; then
51603
51604 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
51605 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
51606
51607 case "${host}" in
51608 *-pc-os2_emx | *-pc-os2-emx )
51609 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51610 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
51611 cp -p ${srcdir}/src/os2/dllnames.sh .
51612 cp -p ${srcdir}/src/os2/dllar.sh .
51613 ;;
51614 esac
51615 else
51616
51617 EXE_LINKER="$CXX -o"
51618
51619 fi
51620 if test "$wxUSE_OMF" = "yes"; then
51621 case "${host}" in
51622 *-pc-os2_emx | *-pc-os2-emx )
51623 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
51624 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51625 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
51626 ;;
51627 esac
51628 fi
51629
51630 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
51631
51632
51633 case "${host}" in
51634 *-*-solaris2* )
51635 if "$GCC" = yes; then
51636 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
51637 LIBS=`echo $LIBS | sed 's/-mt//'`
51638 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
51639 fi
51640 ;;
51641
51642 *-*-linux* )
51643 if test "x$SUNCXX" = xyes; then
51644 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
51645 LIBS=`echo $LIBS | sed 's/-pthread//'`
51646 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
51647 fi
51648 ;;
51649 esac
51650
51651 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
51652 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
51653
51654 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
51655
51656
51657
51658
51659
51660
51661
51662
51663
51664
51665
51666
51667
51668
51669
51670
51671
51672
51673
51674
51675
51676
51677
51678
51679
51680
51681
51682
51683
51684
51685
51686
51687
51688
51689
51690
51691
51692
51693
51694
51695
51696
51697
51698
51699
51700
51701
51702
51703
51704
51705
51706
51707
51708
51709
51710
51711
51712
51713
51714
51715
51716 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
51717 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
51718 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
51719 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
51720 echo $ECHO_N "(cached) $ECHO_C" >&6
51721 else
51722 cat >conftest.make <<\_ACEOF
51723 all:
51724 @echo 'ac_maketemp="$(MAKE)"'
51725 _ACEOF
51726 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
51727 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
51728 if test -n "$ac_maketemp"; then
51729 eval ac_cv_prog_make_${ac_make}_set=yes
51730 else
51731 eval ac_cv_prog_make_${ac_make}_set=no
51732 fi
51733 rm -f conftest.make
51734 fi
51735 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
51736 echo "$as_me:$LINENO: result: yes" >&5
51737 echo "${ECHO_T}yes" >&6
51738 SET_MAKE=
51739 else
51740 echo "$as_me:$LINENO: result: no" >&5
51741 echo "${ECHO_T}no" >&6
51742 SET_MAKE="MAKE=${MAKE-make}"
51743 fi
51744
51745
51746
51747 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
51748
51749
51750 if test "$USE_WIN32" = 1; then
51751 ac_config_commands="$ac_config_commands
51752 rcdefs.h
51753 "
51754
51755 fi
51756
51757 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
51758
51759
51760 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
51761
51762
51763 if test "$wx_cv_version_script" = "yes"; then
51764 ac_config_files="$ac_config_files version-script"
51765
51766 fi
51767 ac_config_files="$ac_config_files Makefile"
51768
51769
51770 ac_config_commands="$ac_config_commands wx-config"
51771
51772
51773
51774 if test "$wxWITH_SUBDIRS" != "no"; then
51775 if test "$wxUSE_GUI" = "yes"; then
51776 SUBDIRS="samples demos utils"
51777 else SUBDIRS="samples utils"
51778 fi
51779
51780
51781
51782 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
51783 if test "${with_cppunit_prefix+set}" = set; then
51784 withval="$with_cppunit_prefix"
51785 cppunit_config_prefix="$withval"
51786 else
51787 cppunit_config_prefix=""
51788 fi;
51789
51790 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
51791 if test "${with_cppunit_exec_prefix+set}" = set; then
51792 withval="$with_cppunit_exec_prefix"
51793 cppunit_config_exec_prefix="$withval"
51794 else
51795 cppunit_config_exec_prefix=""
51796 fi;
51797
51798 if test x$cppunit_config_exec_prefix != x ; then
51799 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
51800 if test x${CPPUNIT_CONFIG+set} != xset ; then
51801 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
51802 fi
51803 fi
51804 if test x$cppunit_config_prefix != x ; then
51805 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
51806 if test x${CPPUNIT_CONFIG+set} != xset ; then
51807 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
51808 fi
51809 fi
51810
51811 # Extract the first word of "cppunit-config", so it can be a program name with args.
51812 set dummy cppunit-config; ac_word=$2
51813 echo "$as_me:$LINENO: checking for $ac_word" >&5
51814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
51815 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
51816 echo $ECHO_N "(cached) $ECHO_C" >&6
51817 else
51818 case $CPPUNIT_CONFIG in
51819 [\\/]* | ?:[\\/]*)
51820 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
51821 ;;
51822 *)
51823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51824 for as_dir in $PATH
51825 do
51826 IFS=$as_save_IFS
51827 test -z "$as_dir" && as_dir=.
51828 for ac_exec_ext in '' $ac_executable_extensions; do
51829 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
51830 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
51831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51832 break 2
51833 fi
51834 done
51835 done
51836
51837 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51838 ;;
51839 esac
51840 fi
51841 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51842
51843 if test -n "$CPPUNIT_CONFIG"; then
51844 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51845 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
51846 else
51847 echo "$as_me:$LINENO: result: no" >&5
51848 echo "${ECHO_T}no" >&6
51849 fi
51850
51851 cppunit_version_min=1.8.0
51852
51853 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51854 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
51855 no_cppunit=""
51856 if test "$CPPUNIT_CONFIG" = "no" ; then
51857 echo "$as_me:$LINENO: result: no" >&5
51858 echo "${ECHO_T}no" >&6
51859 no_cppunit=yes
51860 else
51861 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51862 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51863 cppunit_version=`$CPPUNIT_CONFIG --version`
51864
51865 cppunit_major_version=`echo $cppunit_version | \
51866 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51867 cppunit_minor_version=`echo $cppunit_version | \
51868 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51869 cppunit_micro_version=`echo $cppunit_version | \
51870 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51871
51872 cppunit_major_min=`echo $cppunit_version_min | \
51873 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51874 cppunit_minor_min=`echo $cppunit_version_min | \
51875 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51876 cppunit_micro_min=`echo $cppunit_version_min | \
51877 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51878
51879 cppunit_version_proper=`expr \
51880 $cppunit_major_version \> $cppunit_major_min \| \
51881 $cppunit_major_version \= $cppunit_major_min \& \
51882 $cppunit_minor_version \> $cppunit_minor_min \| \
51883 $cppunit_major_version \= $cppunit_major_min \& \
51884 $cppunit_minor_version \= $cppunit_minor_min \& \
51885 $cppunit_micro_version \>= $cppunit_micro_min `
51886
51887 if test "$cppunit_version_proper" = "1" ; then
51888 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51889 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
51890 else
51891 echo "$as_me:$LINENO: result: no" >&5
51892 echo "${ECHO_T}no" >&6
51893 no_cppunit=yes
51894 fi
51895 fi
51896
51897 if test "x$no_cppunit" = x ; then
51898 SUBDIRS="$SUBDIRS tests"
51899 else
51900 CPPUNIT_CFLAGS=""
51901 CPPUNIT_LIBS=""
51902 :
51903 fi
51904
51905
51906
51907
51908
51909 for subdir in `echo $SUBDIRS`; do
51910 if test -d ${srcdir}/${subdir} ; then
51911 if test "$wxUSE_GUI" = "yes"; then
51912 if test ${subdir} = "samples"; then
51913 makefiles="samples/Makefile.in $makefiles"
51914 for sample in `echo $SAMPLES_SUBDIRS`; do
51915 if test -d $srcdir/samples/$sample; then
51916 makefiles="samples/$sample/Makefile.in $makefiles"
51917 fi
51918 done
51919 else
51920 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
51921 eval "disabled=\$$disabled_var"
51922 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51923 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
51924 fi
51925 else if test ${subdir} = "samples"; then
51926 makefiles="samples/Makefile.in samples/console/Makefile.in"
51927 elif test ${subdir} = "utils"; then
51928 makefiles=""
51929 for util in HelpGen tex2rtf ; do
51930 if test -d $srcdir/utils/$util ; then
51931 makefiles="utils/$util/Makefile.in \
51932 utils/$util/src/Makefile.in \
51933 $makefiles"
51934 fi
51935 done
51936 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51937 fi
51938 fi
51939
51940 for mkin in $makefiles ; do
51941 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51942 ac_config_files="$ac_config_files $mk"
51943
51944 done
51945 fi
51946 done
51947 fi
51948 cat >confcache <<\_ACEOF
51949 # This file is a shell script that caches the results of configure
51950 # tests run on this system so they can be shared between configure
51951 # scripts and configure runs, see configure's option --config-cache.
51952 # It is not useful on other systems. If it contains results you don't
51953 # want to keep, you may remove or edit it.
51954 #
51955 # config.status only pays attention to the cache file if you give it
51956 # the --recheck option to rerun configure.
51957 #
51958 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51959 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51960 # following values.
51961
51962 _ACEOF
51963
51964 # The following way of writing the cache mishandles newlines in values,
51965 # but we know of no workaround that is simple, portable, and efficient.
51966 # So, don't put newlines in cache variables' values.
51967 # Ultrix sh set writes to stderr and can't be redirected directly,
51968 # and sets the high bit in the cache file unless we assign to the vars.
51969 {
51970 (set) 2>&1 |
51971 case `(ac_space=' '; set | grep ac_space) 2>&1` in
51972 *ac_space=\ *)
51973 # `set' does not quote correctly, so add quotes (double-quote
51974 # substitution turns \\\\ into \\, and sed turns \\ into \).
51975 sed -n \
51976 "s/'/'\\\\''/g;
51977 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51978 ;;
51979 *)
51980 # `set' quotes correctly as required by POSIX, so do not add quotes.
51981 sed -n \
51982 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
51983 ;;
51984 esac;
51985 } |
51986 sed '
51987 t clear
51988 : clear
51989 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51990 t end
51991 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51992 : end' >>confcache
51993 if diff $cache_file confcache >/dev/null 2>&1; then :; else
51994 if test -w $cache_file; then
51995 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
51996 cat confcache >$cache_file
51997 else
51998 echo "not updating unwritable cache $cache_file"
51999 fi
52000 fi
52001 rm -f confcache
52002
52003 test "x$prefix" = xNONE && prefix=$ac_default_prefix
52004 # Let make expand exec_prefix.
52005 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
52006
52007 # VPATH may cause trouble with some makes, so we remove $(srcdir),
52008 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
52009 # trailing colons and then remove the whole line if VPATH becomes empty
52010 # (actually we leave an empty line to preserve line numbers).
52011 if test "x$srcdir" = x.; then
52012 ac_vpsub='/^[ ]*VPATH[ ]*=/{
52013 s/:*\$(srcdir):*/:/;
52014 s/:*\${srcdir}:*/:/;
52015 s/:*@srcdir@:*/:/;
52016 s/^\([^=]*=[ ]*\):*/\1/;
52017 s/:*$//;
52018 s/^[^=]*=[ ]*$//;
52019 }'
52020 fi
52021
52022 DEFS=-DHAVE_CONFIG_H
52023
52024 ac_libobjs=
52025 ac_ltlibobjs=
52026 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
52027 # 1. Remove the extension, and $U if already installed.
52028 ac_i=`echo "$ac_i" |
52029 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
52030 # 2. Add them.
52031 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
52032 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
52033 done
52034 LIBOBJS=$ac_libobjs
52035
52036 LTLIBOBJS=$ac_ltlibobjs
52037
52038
52039
52040 : ${CONFIG_STATUS=./config.status}
52041 ac_clean_files_save=$ac_clean_files
52042 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
52043 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
52044 echo "$as_me: creating $CONFIG_STATUS" >&6;}
52045 cat >$CONFIG_STATUS <<_ACEOF
52046 #! $SHELL
52047 # Generated by $as_me.
52048 # Run this file to recreate the current configuration.
52049 # Compiler output produced by configure, useful for debugging
52050 # configure, is in config.log if it exists.
52051
52052 debug=false
52053 ac_cs_recheck=false
52054 ac_cs_silent=false
52055 SHELL=\${CONFIG_SHELL-$SHELL}
52056 _ACEOF
52057
52058 cat >>$CONFIG_STATUS <<\_ACEOF
52059 ## --------------------- ##
52060 ## M4sh Initialization. ##
52061 ## --------------------- ##
52062
52063 # Be Bourne compatible
52064 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
52065 emulate sh
52066 NULLCMD=:
52067 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
52068 # is contrary to our usage. Disable this feature.
52069 alias -g '${1+"$@"}'='"$@"'
52070 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
52071 set -o posix
52072 fi
52073 DUALCASE=1; export DUALCASE # for MKS sh
52074
52075 # Support unset when possible.
52076 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
52077 as_unset=unset
52078 else
52079 as_unset=false
52080 fi
52081
52082
52083 # Work around bugs in pre-3.0 UWIN ksh.
52084 $as_unset ENV MAIL MAILPATH
52085 PS1='$ '
52086 PS2='> '
52087 PS4='+ '
52088
52089 # NLS nuisances.
52090 for as_var in \
52091 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
52092 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
52093 LC_TELEPHONE LC_TIME
52094 do
52095 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
52096 eval $as_var=C; export $as_var
52097 else
52098 $as_unset $as_var
52099 fi
52100 done
52101
52102 # Required to use basename.
52103 if expr a : '\(a\)' >/dev/null 2>&1; then
52104 as_expr=expr
52105 else
52106 as_expr=false
52107 fi
52108
52109 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
52110 as_basename=basename
52111 else
52112 as_basename=false
52113 fi
52114
52115
52116 # Name of the executable.
52117 as_me=`$as_basename "$0" ||
52118 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
52119 X"$0" : 'X\(//\)$' \| \
52120 X"$0" : 'X\(/\)$' \| \
52121 . : '\(.\)' 2>/dev/null ||
52122 echo X/"$0" |
52123 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
52124 /^X\/\(\/\/\)$/{ s//\1/; q; }
52125 /^X\/\(\/\).*/{ s//\1/; q; }
52126 s/.*/./; q'`
52127
52128
52129 # PATH needs CR, and LINENO needs CR and PATH.
52130 # Avoid depending upon Character Ranges.
52131 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
52132 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
52133 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
52134 as_cr_digits='0123456789'
52135 as_cr_alnum=$as_cr_Letters$as_cr_digits
52136
52137 # The user is always right.
52138 if test "${PATH_SEPARATOR+set}" != set; then
52139 echo "#! /bin/sh" >conf$$.sh
52140 echo "exit 0" >>conf$$.sh
52141 chmod +x conf$$.sh
52142 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
52143 PATH_SEPARATOR=';'
52144 else
52145 PATH_SEPARATOR=:
52146 fi
52147 rm -f conf$$.sh
52148 fi
52149
52150
52151 as_lineno_1=$LINENO
52152 as_lineno_2=$LINENO
52153 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
52154 test "x$as_lineno_1" != "x$as_lineno_2" &&
52155 test "x$as_lineno_3" = "x$as_lineno_2" || {
52156 # Find who we are. Look in the path if we contain no path at all
52157 # relative or not.
52158 case $0 in
52159 *[\\/]* ) as_myself=$0 ;;
52160 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52161 for as_dir in $PATH
52162 do
52163 IFS=$as_save_IFS
52164 test -z "$as_dir" && as_dir=.
52165 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
52166 done
52167
52168 ;;
52169 esac
52170 # We did not find ourselves, most probably we were run as `sh COMMAND'
52171 # in which case we are not to be found in the path.
52172 if test "x$as_myself" = x; then
52173 as_myself=$0
52174 fi
52175 if test ! -f "$as_myself"; then
52176 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
52177 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
52178 { (exit 1); exit 1; }; }
52179 fi
52180 case $CONFIG_SHELL in
52181 '')
52182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
52184 do
52185 IFS=$as_save_IFS
52186 test -z "$as_dir" && as_dir=.
52187 for as_base in sh bash ksh sh5; do
52188 case $as_dir in
52189 /*)
52190 if ("$as_dir/$as_base" -c '
52191 as_lineno_1=$LINENO
52192 as_lineno_2=$LINENO
52193 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
52194 test "x$as_lineno_1" != "x$as_lineno_2" &&
52195 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
52196 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
52197 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
52198 CONFIG_SHELL=$as_dir/$as_base
52199 export CONFIG_SHELL
52200 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
52201 fi;;
52202 esac
52203 done
52204 done
52205 ;;
52206 esac
52207
52208 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
52209 # uniformly replaced by the line number. The first 'sed' inserts a
52210 # line-number line before each line; the second 'sed' does the real
52211 # work. The second script uses 'N' to pair each line-number line
52212 # with the numbered line, and appends trailing '-' during
52213 # substitution so that $LINENO is not a special case at line end.
52214 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
52215 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
52216 sed '=' <$as_myself |
52217 sed '
52218 N
52219 s,$,-,
52220 : loop
52221 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
52222 t loop
52223 s,-$,,
52224 s,^['$as_cr_digits']*\n,,
52225 ' >$as_me.lineno &&
52226 chmod +x $as_me.lineno ||
52227 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
52228 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
52229 { (exit 1); exit 1; }; }
52230
52231 # Don't try to exec as it changes $[0], causing all sort of problems
52232 # (the dirname of $[0] is not the place where we might find the
52233 # original and so on. Autoconf is especially sensible to this).
52234 . ./$as_me.lineno
52235 # Exit status is that of the last command.
52236 exit
52237 }
52238
52239
52240 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
52241 *c*,-n*) ECHO_N= ECHO_C='
52242 ' ECHO_T=' ' ;;
52243 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
52244 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
52245 esac
52246
52247 if expr a : '\(a\)' >/dev/null 2>&1; then
52248 as_expr=expr
52249 else
52250 as_expr=false
52251 fi
52252
52253 rm -f conf$$ conf$$.exe conf$$.file
52254 echo >conf$$.file
52255 if ln -s conf$$.file conf$$ 2>/dev/null; then
52256 # We could just check for DJGPP; but this test a) works b) is more generic
52257 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
52258 if test -f conf$$.exe; then
52259 # Don't use ln at all; we don't have any links
52260 as_ln_s='cp -p'
52261 else
52262 as_ln_s='ln -s'
52263 fi
52264 elif ln conf$$.file conf$$ 2>/dev/null; then
52265 as_ln_s=ln
52266 else
52267 as_ln_s='cp -p'
52268 fi
52269 rm -f conf$$ conf$$.exe conf$$.file
52270
52271 if mkdir -p . 2>/dev/null; then
52272 as_mkdir_p=:
52273 else
52274 test -d ./-p && rmdir ./-p
52275 as_mkdir_p=false
52276 fi
52277
52278 as_executable_p="test -f"
52279
52280 # Sed expression to map a string onto a valid CPP name.
52281 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
52282
52283 # Sed expression to map a string onto a valid variable name.
52284 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
52285
52286
52287 # IFS
52288 # We need space, tab and new line, in precisely that order.
52289 as_nl='
52290 '
52291 IFS=" $as_nl"
52292
52293 # CDPATH.
52294 $as_unset CDPATH
52295
52296 exec 6>&1
52297
52298 # Open the log real soon, to keep \$[0] and so on meaningful, and to
52299 # report actual input values of CONFIG_FILES etc. instead of their
52300 # values after options handling. Logging --version etc. is OK.
52301 exec 5>>config.log
52302 {
52303 echo
52304 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
52305 ## Running $as_me. ##
52306 _ASBOX
52307 } >&5
52308 cat >&5 <<_CSEOF
52309
52310 This file was extended by wxWidgets $as_me 2.9.0, which was
52311 generated by GNU Autoconf 2.59. Invocation command line was
52312
52313 CONFIG_FILES = $CONFIG_FILES
52314 CONFIG_HEADERS = $CONFIG_HEADERS
52315 CONFIG_LINKS = $CONFIG_LINKS
52316 CONFIG_COMMANDS = $CONFIG_COMMANDS
52317 $ $0 $@
52318
52319 _CSEOF
52320 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
52321 echo >&5
52322 _ACEOF
52323
52324 # Files that config.status was made for.
52325 if test -n "$ac_config_files"; then
52326 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
52327 fi
52328
52329 if test -n "$ac_config_headers"; then
52330 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
52331 fi
52332
52333 if test -n "$ac_config_links"; then
52334 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
52335 fi
52336
52337 if test -n "$ac_config_commands"; then
52338 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
52339 fi
52340
52341 cat >>$CONFIG_STATUS <<\_ACEOF
52342
52343 ac_cs_usage="\
52344 \`$as_me' instantiates files from templates according to the
52345 current configuration.
52346
52347 Usage: $0 [OPTIONS] [FILE]...
52348
52349 -h, --help print this help, then exit
52350 -V, --version print version number, then exit
52351 -q, --quiet do not print progress messages
52352 -d, --debug don't remove temporary files
52353 --recheck update $as_me by reconfiguring in the same conditions
52354 --file=FILE[:TEMPLATE]
52355 instantiate the configuration file FILE
52356 --header=FILE[:TEMPLATE]
52357 instantiate the configuration header FILE
52358
52359 Configuration files:
52360 $config_files
52361
52362 Configuration headers:
52363 $config_headers
52364
52365 Configuration commands:
52366 $config_commands
52367
52368 Report bugs to <bug-autoconf@gnu.org>."
52369 _ACEOF
52370
52371 cat >>$CONFIG_STATUS <<_ACEOF
52372 ac_cs_version="\\
52373 wxWidgets config.status 2.9.0
52374 configured by $0, generated by GNU Autoconf 2.59,
52375 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
52376
52377 Copyright (C) 2003 Free Software Foundation, Inc.
52378 This config.status script is free software; the Free Software Foundation
52379 gives unlimited permission to copy, distribute and modify it."
52380 srcdir=$srcdir
52381 INSTALL="$INSTALL"
52382 _ACEOF
52383
52384 cat >>$CONFIG_STATUS <<\_ACEOF
52385 # If no file are specified by the user, then we need to provide default
52386 # value. By we need to know if files were specified by the user.
52387 ac_need_defaults=:
52388 while test $# != 0
52389 do
52390 case $1 in
52391 --*=*)
52392 ac_option=`expr "x$1" : 'x\([^=]*\)='`
52393 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
52394 ac_shift=:
52395 ;;
52396 -*)
52397 ac_option=$1
52398 ac_optarg=$2
52399 ac_shift=shift
52400 ;;
52401 *) # This is not an option, so the user has probably given explicit
52402 # arguments.
52403 ac_option=$1
52404 ac_need_defaults=false;;
52405 esac
52406
52407 case $ac_option in
52408 # Handling of the options.
52409 _ACEOF
52410 cat >>$CONFIG_STATUS <<\_ACEOF
52411 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52412 ac_cs_recheck=: ;;
52413 --version | --vers* | -V )
52414 echo "$ac_cs_version"; exit 0 ;;
52415 --he | --h)
52416 # Conflict between --help and --header
52417 { { echo "$as_me:$LINENO: error: ambiguous option: $1
52418 Try \`$0 --help' for more information." >&5
52419 echo "$as_me: error: ambiguous option: $1
52420 Try \`$0 --help' for more information." >&2;}
52421 { (exit 1); exit 1; }; };;
52422 --help | --hel | -h )
52423 echo "$ac_cs_usage"; exit 0 ;;
52424 --debug | --d* | -d )
52425 debug=: ;;
52426 --file | --fil | --fi | --f )
52427 $ac_shift
52428 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
52429 ac_need_defaults=false;;
52430 --header | --heade | --head | --hea )
52431 $ac_shift
52432 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
52433 ac_need_defaults=false;;
52434 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
52435 | -silent | --silent | --silen | --sile | --sil | --si | --s)
52436 ac_cs_silent=: ;;
52437
52438 # This is an error.
52439 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
52440 Try \`$0 --help' for more information." >&5
52441 echo "$as_me: error: unrecognized option: $1
52442 Try \`$0 --help' for more information." >&2;}
52443 { (exit 1); exit 1; }; } ;;
52444
52445 *) ac_config_targets="$ac_config_targets $1" ;;
52446
52447 esac
52448 shift
52449 done
52450
52451 ac_configure_extra_args=
52452
52453 if $ac_cs_silent; then
52454 exec 6>/dev/null
52455 ac_configure_extra_args="$ac_configure_extra_args --silent"
52456 fi
52457
52458 _ACEOF
52459 cat >>$CONFIG_STATUS <<_ACEOF
52460 if \$ac_cs_recheck; then
52461 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
52462 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
52463 fi
52464
52465 _ACEOF
52466
52467 cat >>$CONFIG_STATUS <<_ACEOF
52468 #
52469 # INIT-COMMANDS section.
52470 #
52471
52472
52473 CPP="$CPP"
52474 infile="$srcdir/include/wx/msw/genrcdefs.h"
52475 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
52476
52477
52478 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52479 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52480 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
52481 LN_S="${LN_S}"
52482
52483
52484 _ACEOF
52485
52486
52487
52488 cat >>$CONFIG_STATUS <<\_ACEOF
52489 for ac_config_target in $ac_config_targets
52490 do
52491 case "$ac_config_target" in
52492 # Handling of arguments.
52493 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
52494 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
52495 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
52496 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
52497 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
52498 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
52499 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
52500 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
52501 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
52502 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
52503 { (exit 1); exit 1; }; };;
52504 esac
52505 done
52506
52507 # If the user did not use the arguments to specify the items to instantiate,
52508 # then the envvar interface is used. Set only those that are not.
52509 # We use the long form for the default assignment because of an extremely
52510 # bizarre bug on SunOS 4.1.3.
52511 if $ac_need_defaults; then
52512 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
52513 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
52514 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
52515 fi
52516
52517 # Have a temporary directory for convenience. Make it in the build tree
52518 # simply because there is no reason to put it here, and in addition,
52519 # creating and moving files from /tmp can sometimes cause problems.
52520 # Create a temporary directory, and hook for its removal unless debugging.
52521 $debug ||
52522 {
52523 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
52524 trap '{ (exit 1); exit 1; }' 1 2 13 15
52525 }
52526
52527 # Create a (secure) tmp directory for tmp files.
52528
52529 {
52530 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
52531 test -n "$tmp" && test -d "$tmp"
52532 } ||
52533 {
52534 tmp=./confstat$$-$RANDOM
52535 (umask 077 && mkdir $tmp)
52536 } ||
52537 {
52538 echo "$me: cannot create a temporary directory in ." >&2
52539 { (exit 1); exit 1; }
52540 }
52541
52542 _ACEOF
52543
52544 cat >>$CONFIG_STATUS <<_ACEOF
52545
52546 #
52547 # CONFIG_FILES section.
52548 #
52549
52550 # No need to generate the scripts if there are no CONFIG_FILES.
52551 # This happens for instance when ./config.status config.h
52552 if test -n "\$CONFIG_FILES"; then
52553 # Protect against being on the right side of a sed subst in config.status.
52554 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
52555 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
52556 s,@SHELL@,$SHELL,;t t
52557 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
52558 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
52559 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
52560 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
52561 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
52562 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
52563 s,@exec_prefix@,$exec_prefix,;t t
52564 s,@prefix@,$prefix,;t t
52565 s,@program_transform_name@,$program_transform_name,;t t
52566 s,@bindir@,$bindir,;t t
52567 s,@sbindir@,$sbindir,;t t
52568 s,@libexecdir@,$libexecdir,;t t
52569 s,@datadir@,$datadir,;t t
52570 s,@sysconfdir@,$sysconfdir,;t t
52571 s,@sharedstatedir@,$sharedstatedir,;t t
52572 s,@localstatedir@,$localstatedir,;t t
52573 s,@libdir@,$libdir,;t t
52574 s,@includedir@,$includedir,;t t
52575 s,@oldincludedir@,$oldincludedir,;t t
52576 s,@infodir@,$infodir,;t t
52577 s,@mandir@,$mandir,;t t
52578 s,@build_alias@,$build_alias,;t t
52579 s,@host_alias@,$host_alias,;t t
52580 s,@target_alias@,$target_alias,;t t
52581 s,@DEFS@,$DEFS,;t t
52582 s,@ECHO_C@,$ECHO_C,;t t
52583 s,@ECHO_N@,$ECHO_N,;t t
52584 s,@ECHO_T@,$ECHO_T,;t t
52585 s,@LIBS@,$LIBS,;t t
52586 s,@build@,$build,;t t
52587 s,@build_cpu@,$build_cpu,;t t
52588 s,@build_vendor@,$build_vendor,;t t
52589 s,@build_os@,$build_os,;t t
52590 s,@host@,$host,;t t
52591 s,@host_cpu@,$host_cpu,;t t
52592 s,@host_vendor@,$host_vendor,;t t
52593 s,@host_os@,$host_os,;t t
52594 s,@target@,$target,;t t
52595 s,@target_cpu@,$target_cpu,;t t
52596 s,@target_vendor@,$target_vendor,;t t
52597 s,@target_os@,$target_os,;t t
52598 s,@wx_top_builddir@,$wx_top_builddir,;t t
52599 s,@CC@,$CC,;t t
52600 s,@CFLAGS@,$CFLAGS,;t t
52601 s,@LDFLAGS@,$LDFLAGS,;t t
52602 s,@CPPFLAGS@,$CPPFLAGS,;t t
52603 s,@ac_ct_CC@,$ac_ct_CC,;t t
52604 s,@EXEEXT@,$EXEEXT,;t t
52605 s,@OBJEXT@,$OBJEXT,;t t
52606 s,@CPP@,$CPP,;t t
52607 s,@EGREP@,$EGREP,;t t
52608 s,@CXX@,$CXX,;t t
52609 s,@CXXFLAGS@,$CXXFLAGS,;t t
52610 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
52611 s,@RANLIB@,$RANLIB,;t t
52612 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
52613 s,@AR@,$AR,;t t
52614 s,@ac_ct_AR@,$ac_ct_AR,;t t
52615 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
52616 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
52617 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
52618 s,@STRIP@,$STRIP,;t t
52619 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
52620 s,@WINDRES@,$WINDRES,;t t
52621 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
52622 s,@DLLTOOL@,$DLLTOOL,;t t
52623 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
52624 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
52625 s,@LN_S@,$LN_S,;t t
52626 s,@subdirs@,$subdirs,;t t
52627 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
52628 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
52629 s,@GTK_LIBS@,$GTK_LIBS,;t t
52630 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
52631 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
52632 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
52633 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
52634 s,@X_CFLAGS@,$X_CFLAGS,;t t
52635 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
52636 s,@X_LIBS@,$X_LIBS,;t t
52637 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
52638 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
52639 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
52640 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
52641 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
52642 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
52643 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
52644 s,@CFLAGS_VISIBILITY@,$CFLAGS_VISIBILITY,;t t
52645 s,@CXXFLAGS_VISIBILITY@,$CXXFLAGS_VISIBILITY,;t t
52646 s,@REZ@,$REZ,;t t
52647 s,@DEREZ@,$DEREZ,;t t
52648 s,@SETFILE@,$SETFILE,;t t
52649 s,@LIBICONV@,$LIBICONV,;t t
52650 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
52651 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
52652 s,@SDL_LIBS@,$SDL_LIBS,;t t
52653 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
52654 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
52655 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
52656 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
52657 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
52658 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
52659 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
52660 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
52661 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
52662 s,@GST_LIBS@,$GST_LIBS,;t t
52663 s,@ALL_WX_LIBS@,$ALL_WX_LIBS,;t t
52664 s,@BUILT_WX_LIBS@,$BUILT_WX_LIBS,;t t
52665 s,@STD_BASE_LIBS@,$STD_BASE_LIBS,;t t
52666 s,@STD_GUI_LIBS@,$STD_GUI_LIBS,;t t
52667 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
52668 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
52669 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
52670 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
52671 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
52672 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
52673 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
52674 s,@VENDOR@,$VENDOR,;t t
52675 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
52676 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
52677 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
52678 s,@WXUNIV@,$WXUNIV,;t t
52679 s,@MONOLITHIC@,$MONOLITHIC,;t t
52680 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
52681 s,@CXXWARNINGS@,$CXXWARNINGS,;t t
52682 s,@EXTRALIBS@,$EXTRALIBS,;t t
52683 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
52684 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
52685 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
52686 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
52687 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
52688 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
52689 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
52690 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
52691 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
52692 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
52693 s,@UNICODE@,$UNICODE,;t t
52694 s,@BUILD@,$BUILD,;t t
52695 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
52696 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
52697 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
52698 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
52699 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
52700 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
52701 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
52702 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
52703 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
52704 s,@SET_MAKE@,$SET_MAKE,;t t
52705 s,@MAKE_SET@,$MAKE_SET,;t t
52706 s,@AROPTIONS@,$AROPTIONS,;t t
52707 s,@NM@,$NM,;t t
52708 s,@ac_ct_NM@,$ac_ct_NM,;t t
52709 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
52710 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
52711 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
52712 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
52713 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
52714 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
52715 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
52716 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
52717 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
52718 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
52719 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
52720 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
52721 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
52722 s,@LIBPREFIX@,$LIBPREFIX,;t t
52723 s,@LIBEXT@,$LIBEXT,;t t
52724 s,@DLLPREFIX@,$DLLPREFIX,;t t
52725 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
52726 s,@dlldir@,$dlldir,;t t
52727 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
52728 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
52729 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
52730 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
52731 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
52732 s,@PIC_FLAG@,$PIC_FLAG,;t t
52733 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
52734 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
52735 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
52736 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
52737 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
52738 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
52739 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
52740 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
52741 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
52742 s,@BK_DEPS@,$BK_DEPS,;t t
52743 s,@GCC_PCH@,$GCC_PCH,;t t
52744 s,@ICC_PCH@,$ICC_PCH,;t t
52745 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
52746 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
52747 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
52748 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
52749 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
52750 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
52751 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
52752 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
52753 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
52754 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
52755 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
52756 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
52757 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
52758 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
52759 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
52760 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
52761 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
52762 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
52763 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
52764 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
52765 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
52766 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
52767 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
52768 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
52769 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
52770 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
52771 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
52772 s,@COND_MONOLITHIC_0_SHARED_0_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_STC_1,;t t
52773 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
52774 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
52775 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
52776 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
52777 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
52778 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
52779 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
52780 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
52781 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
52782 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
52783 s,@COND_MONOLITHIC_0_SHARED_1_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_STC_1,;t t
52784 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
52785 s,@COND_MONOLITHIC_0_USE_AUI_1@,$COND_MONOLITHIC_0_USE_AUI_1,;t t
52786 s,@COND_MONOLITHIC_0_USE_GUI_1@,$COND_MONOLITHIC_0_USE_GUI_1,;t t
52787 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1,;t t
52788 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1,;t t
52789 s,@COND_MONOLITHIC_0_USE_HTML_1@,$COND_MONOLITHIC_0_USE_HTML_1,;t t
52790 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
52791 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
52792 s,@COND_MONOLITHIC_0_USE_QA_1@,$COND_MONOLITHIC_0_USE_QA_1,;t t
52793 s,@COND_MONOLITHIC_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_USE_RICHTEXT_1,;t t
52794 s,@COND_MONOLITHIC_0_USE_STC_1@,$COND_MONOLITHIC_0_USE_STC_1,;t t
52795 s,@COND_MONOLITHIC_0_USE_XRC_1@,$COND_MONOLITHIC_0_USE_XRC_1,;t t
52796 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
52797 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
52798 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
52799 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
52800 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
52801 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
52802 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
52803 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
52804 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
52805 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
52806 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
52807 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
52808 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
52809 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
52810 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
52811 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
52812 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
52813 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
52814 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
52815 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
52816 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
52817 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
52818 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
52819 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
52820 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
52821 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
52822 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
52823 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
52824 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
52825 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
52826 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
52827 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
52828 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
52829 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
52830 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
52831 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52832 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52833 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52834 s,@COND_SHARED_0_USE_STC_1@,$COND_SHARED_0_USE_STC_1,;t t
52835 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
52836 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
52837 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
52838 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
52839 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
52840 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
52841 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
52842 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
52843 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
52844 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
52845 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
52846 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
52847 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
52848 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
52849 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
52850 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
52851 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
52852 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
52853 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
52854 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
52855 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
52856 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
52857 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
52858 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
52859 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
52860 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
52861 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
52862 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
52863 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
52864 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
52865 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
52866 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
52867 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
52868 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
52869 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
52870 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
52871 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
52872 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
52873 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
52874 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
52875 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
52876 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
52877 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
52878 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
52879 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
52880 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
52881 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
52882 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
52883 s,@COND_USE_GUI_1_USE_OPENGL_1@,$COND_USE_GUI_1_USE_OPENGL_1,;t t
52884 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
52885 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
52886 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52887 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52888 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52889 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
52890 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
52891 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
52892 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
52893 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
52894 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
52895 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
52896 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
52897 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
52898 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
52899 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
52900 s,@COND_USE_STC_1@,$COND_USE_STC_1,;t t
52901 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
52902 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
52903 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
52904 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
52905 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
52906 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
52907 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
52908 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
52909 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
52910 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
52911 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
52912 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
52913 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
52914 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
52915 s,@SHARED@,$SHARED,;t t
52916 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
52917 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
52918 s,@USE_GUI@,$USE_GUI,;t t
52919 s,@AFMINSTALL@,$AFMINSTALL,;t t
52920 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
52921 s,@TOOLKIT@,$TOOLKIT,;t t
52922 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
52923 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
52924 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
52925 s,@cross_compiling@,$cross_compiling,;t t
52926 s,@WIDGET_SET@,$WIDGET_SET,;t t
52927 s,@WX_RELEASE@,$WX_RELEASE,;t t
52928 s,@WX_VERSION@,$WX_VERSION,;t t
52929 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
52930 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
52931 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
52932 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
52933 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
52934 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
52935 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
52936 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
52937 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
52938 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
52939 s,@EXE_LINKER@,$EXE_LINKER,;t t
52940 s,@GUIDIST@,$GUIDIST,;t t
52941 s,@DISTDIR@,$DISTDIR,;t t
52942 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
52943 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
52944 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
52945 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
52946 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
52947 s,@RESCOMP@,$RESCOMP,;t t
52948 s,@RESFLAGS@,$RESFLAGS,;t t
52949 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
52950 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
52951 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
52952 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
52953 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
52954 s,@MACSETFILE@,$MACSETFILE,;t t
52955 s,@GCC@,$GCC,;t t
52956 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
52957 s,@LIBOBJS@,$LIBOBJS,;t t
52958 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
52959 CEOF
52960
52961 _ACEOF
52962
52963 cat >>$CONFIG_STATUS <<\_ACEOF
52964 # Split the substitutions into bite-sized pieces for seds with
52965 # small command number limits, like on Digital OSF/1 and HP-UX.
52966 ac_max_sed_lines=48
52967 ac_sed_frag=1 # Number of current file.
52968 ac_beg=1 # First line for current file.
52969 ac_end=$ac_max_sed_lines # Line after last line for current file.
52970 ac_more_lines=:
52971 ac_sed_cmds=
52972 while $ac_more_lines; do
52973 if test $ac_beg -gt 1; then
52974 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52975 else
52976 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52977 fi
52978 if test ! -s $tmp/subs.frag; then
52979 ac_more_lines=false
52980 else
52981 # The purpose of the label and of the branching condition is to
52982 # speed up the sed processing (if there are no `@' at all, there
52983 # is no need to browse any of the substitutions).
52984 # These are the two extra sed commands mentioned above.
52985 (echo ':t
52986 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
52987 if test -z "$ac_sed_cmds"; then
52988 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
52989 else
52990 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
52991 fi
52992 ac_sed_frag=`expr $ac_sed_frag + 1`
52993 ac_beg=$ac_end
52994 ac_end=`expr $ac_end + $ac_max_sed_lines`
52995 fi
52996 done
52997 if test -z "$ac_sed_cmds"; then
52998 ac_sed_cmds=cat
52999 fi
53000 fi # test -n "$CONFIG_FILES"
53001
53002 _ACEOF
53003 cat >>$CONFIG_STATUS <<\_ACEOF
53004 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
53005 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
53006 case $ac_file in
53007 - | *:- | *:-:* ) # input from stdin
53008 cat >$tmp/stdin
53009 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53010 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53011 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53012 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53013 * ) ac_file_in=$ac_file.in ;;
53014 esac
53015
53016 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
53017 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
53018 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53019 X"$ac_file" : 'X\(//\)[^/]' \| \
53020 X"$ac_file" : 'X\(//\)$' \| \
53021 X"$ac_file" : 'X\(/\)' \| \
53022 . : '\(.\)' 2>/dev/null ||
53023 echo X"$ac_file" |
53024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53025 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53026 /^X\(\/\/\)$/{ s//\1/; q; }
53027 /^X\(\/\).*/{ s//\1/; q; }
53028 s/.*/./; q'`
53029 { if $as_mkdir_p; then
53030 mkdir -p "$ac_dir"
53031 else
53032 as_dir="$ac_dir"
53033 as_dirs=
53034 while test ! -d "$as_dir"; do
53035 as_dirs="$as_dir $as_dirs"
53036 as_dir=`(dirname "$as_dir") 2>/dev/null ||
53037 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53038 X"$as_dir" : 'X\(//\)[^/]' \| \
53039 X"$as_dir" : 'X\(//\)$' \| \
53040 X"$as_dir" : 'X\(/\)' \| \
53041 . : '\(.\)' 2>/dev/null ||
53042 echo X"$as_dir" |
53043 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53044 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53045 /^X\(\/\/\)$/{ s//\1/; q; }
53046 /^X\(\/\).*/{ s//\1/; q; }
53047 s/.*/./; q'`
53048 done
53049 test ! -n "$as_dirs" || mkdir $as_dirs
53050 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53051 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53052 { (exit 1); exit 1; }; }; }
53053
53054 ac_builddir=.
53055
53056 if test "$ac_dir" != .; then
53057 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53058 # A "../" for each directory in $ac_dir_suffix.
53059 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
53060 else
53061 ac_dir_suffix= ac_top_builddir=
53062 fi
53063
53064 case $srcdir in
53065 .) # No --srcdir option. We are building in place.
53066 ac_srcdir=.
53067 if test -z "$ac_top_builddir"; then
53068 ac_top_srcdir=.
53069 else
53070 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
53071 fi ;;
53072 [\\/]* | ?:[\\/]* ) # Absolute path.
53073 ac_srcdir=$srcdir$ac_dir_suffix;
53074 ac_top_srcdir=$srcdir ;;
53075 *) # Relative path.
53076 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
53077 ac_top_srcdir=$ac_top_builddir$srcdir ;;
53078 esac
53079
53080 # Do not use `cd foo && pwd` to compute absolute paths, because
53081 # the directories may not exist.
53082 case `pwd` in
53083 .) ac_abs_builddir="$ac_dir";;
53084 *)
53085 case "$ac_dir" in
53086 .) ac_abs_builddir=`pwd`;;
53087 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
53088 *) ac_abs_builddir=`pwd`/"$ac_dir";;
53089 esac;;
53090 esac
53091 case $ac_abs_builddir in
53092 .) ac_abs_top_builddir=${ac_top_builddir}.;;
53093 *)
53094 case ${ac_top_builddir}. in
53095 .) ac_abs_top_builddir=$ac_abs_builddir;;
53096 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
53097 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
53098 esac;;
53099 esac
53100 case $ac_abs_builddir in
53101 .) ac_abs_srcdir=$ac_srcdir;;
53102 *)
53103 case $ac_srcdir in
53104 .) ac_abs_srcdir=$ac_abs_builddir;;
53105 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
53106 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
53107 esac;;
53108 esac
53109 case $ac_abs_builddir in
53110 .) ac_abs_top_srcdir=$ac_top_srcdir;;
53111 *)
53112 case $ac_top_srcdir in
53113 .) ac_abs_top_srcdir=$ac_abs_builddir;;
53114 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
53115 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
53116 esac;;
53117 esac
53118
53119
53120 case $INSTALL in
53121 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
53122 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
53123 esac
53124
53125 # Let's still pretend it is `configure' which instantiates (i.e., don't
53126 # use $as_me), people would be surprised to read:
53127 # /* config.h. Generated by config.status. */
53128 if test x"$ac_file" = x-; then
53129 configure_input=
53130 else
53131 configure_input="$ac_file. "
53132 fi
53133 configure_input=$configure_input"Generated from `echo $ac_file_in |
53134 sed 's,.*/,,'` by configure."
53135
53136 # First look for the input files in the build tree, otherwise in the
53137 # src tree.
53138 ac_file_inputs=`IFS=:
53139 for f in $ac_file_in; do
53140 case $f in
53141 -) echo $tmp/stdin ;;
53142 [\\/$]*)
53143 # Absolute (can't be DOS-style, as IFS=:)
53144 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
53145 echo "$as_me: error: cannot find input file: $f" >&2;}
53146 { (exit 1); exit 1; }; }
53147 echo "$f";;
53148 *) # Relative
53149 if test -f "$f"; then
53150 # Build tree
53151 echo "$f"
53152 elif test -f "$srcdir/$f"; then
53153 # Source tree
53154 echo "$srcdir/$f"
53155 else
53156 # /dev/null tree
53157 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
53158 echo "$as_me: error: cannot find input file: $f" >&2;}
53159 { (exit 1); exit 1; }; }
53160 fi;;
53161 esac
53162 done` || { (exit 1); exit 1; }
53163
53164 if test x"$ac_file" != x-; then
53165 { echo "$as_me:$LINENO: creating $ac_file" >&5
53166 echo "$as_me: creating $ac_file" >&6;}
53167 rm -f "$ac_file"
53168 fi
53169 _ACEOF
53170 cat >>$CONFIG_STATUS <<_ACEOF
53171 sed "$ac_vpsub
53172 $extrasub
53173 _ACEOF
53174 cat >>$CONFIG_STATUS <<\_ACEOF
53175 :t
53176 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53177 s,@configure_input@,$configure_input,;t t
53178 s,@srcdir@,$ac_srcdir,;t t
53179 s,@abs_srcdir@,$ac_abs_srcdir,;t t
53180 s,@top_srcdir@,$ac_top_srcdir,;t t
53181 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
53182 s,@builddir@,$ac_builddir,;t t
53183 s,@abs_builddir@,$ac_abs_builddir,;t t
53184 s,@top_builddir@,$ac_top_builddir,;t t
53185 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
53186 s,@INSTALL@,$ac_INSTALL,;t t
53187 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
53188 rm -f $tmp/stdin
53189 if test x"$ac_file" != x-; then
53190 mv $tmp/out $ac_file
53191 else
53192 cat $tmp/out
53193 rm -f $tmp/out
53194 fi
53195
53196 # Run the commands associated with the file.
53197 case $ac_file in
53198 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
53199 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
53200 esac
53201 done
53202 _ACEOF
53203 cat >>$CONFIG_STATUS <<\_ACEOF
53204
53205 #
53206 # CONFIG_HEADER section.
53207 #
53208
53209 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
53210 # NAME is the cpp macro being defined and VALUE is the value it is being given.
53211 #
53212 # ac_d sets the value in "#define NAME VALUE" lines.
53213 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
53214 ac_dB='[ ].*$,\1#\2'
53215 ac_dC=' '
53216 ac_dD=',;t'
53217 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
53218 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
53219 ac_uB='$,\1#\2define\3'
53220 ac_uC=' '
53221 ac_uD=',;t'
53222
53223 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
53224 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
53225 case $ac_file in
53226 - | *:- | *:-:* ) # input from stdin
53227 cat >$tmp/stdin
53228 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53229 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53230 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
53231 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
53232 * ) ac_file_in=$ac_file.in ;;
53233 esac
53234
53235 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
53236 echo "$as_me: creating $ac_file" >&6;}
53237
53238 # First look for the input files in the build tree, otherwise in the
53239 # src tree.
53240 ac_file_inputs=`IFS=:
53241 for f in $ac_file_in; do
53242 case $f in
53243 -) echo $tmp/stdin ;;
53244 [\\/$]*)
53245 # Absolute (can't be DOS-style, as IFS=:)
53246 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
53247 echo "$as_me: error: cannot find input file: $f" >&2;}
53248 { (exit 1); exit 1; }; }
53249 # Do quote $f, to prevent DOS paths from being IFS'd.
53250 echo "$f";;
53251 *) # Relative
53252 if test -f "$f"; then
53253 # Build tree
53254 echo "$f"
53255 elif test -f "$srcdir/$f"; then
53256 # Source tree
53257 echo "$srcdir/$f"
53258 else
53259 # /dev/null tree
53260 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
53261 echo "$as_me: error: cannot find input file: $f" >&2;}
53262 { (exit 1); exit 1; }; }
53263 fi;;
53264 esac
53265 done` || { (exit 1); exit 1; }
53266 # Remove the trailing spaces.
53267 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
53268
53269 _ACEOF
53270
53271 # Transform confdefs.h into two sed scripts, `conftest.defines' and
53272 # `conftest.undefs', that substitutes the proper values into
53273 # config.h.in to produce config.h. The first handles `#define'
53274 # templates, and the second `#undef' templates.
53275 # And first: Protect against being on the right side of a sed subst in
53276 # config.status. Protect against being in an unquoted here document
53277 # in config.status.
53278 rm -f conftest.defines conftest.undefs
53279 # Using a here document instead of a string reduces the quoting nightmare.
53280 # Putting comments in sed scripts is not portable.
53281 #
53282 # `end' is used to avoid that the second main sed command (meant for
53283 # 0-ary CPP macros) applies to n-ary macro definitions.
53284 # See the Autoconf documentation for `clear'.
53285 cat >confdef2sed.sed <<\_ACEOF
53286 s/[\\&,]/\\&/g
53287 s,[\\$`],\\&,g
53288 t clear
53289 : clear
53290 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
53291 t end
53292 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
53293 : end
53294 _ACEOF
53295 # If some macros were called several times there might be several times
53296 # the same #defines, which is useless. Nevertheless, we may not want to
53297 # sort them, since we want the *last* AC-DEFINE to be honored.
53298 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
53299 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
53300 rm -f confdef2sed.sed
53301
53302 # This sed command replaces #undef with comments. This is necessary, for
53303 # example, in the case of _POSIX_SOURCE, which is predefined and required
53304 # on some systems where configure will not decide to define it.
53305 cat >>conftest.undefs <<\_ACEOF
53306 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
53307 _ACEOF
53308
53309 # Break up conftest.defines because some shells have a limit on the size
53310 # of here documents, and old seds have small limits too (100 cmds).
53311 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
53312 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
53313 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
53314 echo ' :' >>$CONFIG_STATUS
53315 rm -f conftest.tail
53316 while grep . conftest.defines >/dev/null
53317 do
53318 # Write a limited-size here document to $tmp/defines.sed.
53319 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
53320 # Speed up: don't consider the non `#define' lines.
53321 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
53322 # Work around the forget-to-reset-the-flag bug.
53323 echo 't clr' >>$CONFIG_STATUS
53324 echo ': clr' >>$CONFIG_STATUS
53325 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
53326 echo 'CEOF
53327 sed -f $tmp/defines.sed $tmp/in >$tmp/out
53328 rm -f $tmp/in
53329 mv $tmp/out $tmp/in
53330 ' >>$CONFIG_STATUS
53331 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
53332 rm -f conftest.defines
53333 mv conftest.tail conftest.defines
53334 done
53335 rm -f conftest.defines
53336 echo ' fi # grep' >>$CONFIG_STATUS
53337 echo >>$CONFIG_STATUS
53338
53339 # Break up conftest.undefs because some shells have a limit on the size
53340 # of here documents, and old seds have small limits too (100 cmds).
53341 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
53342 rm -f conftest.tail
53343 while grep . conftest.undefs >/dev/null
53344 do
53345 # Write a limited-size here document to $tmp/undefs.sed.
53346 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
53347 # Speed up: don't consider the non `#undef'
53348 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
53349 # Work around the forget-to-reset-the-flag bug.
53350 echo 't clr' >>$CONFIG_STATUS
53351 echo ': clr' >>$CONFIG_STATUS
53352 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
53353 echo 'CEOF
53354 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
53355 rm -f $tmp/in
53356 mv $tmp/out $tmp/in
53357 ' >>$CONFIG_STATUS
53358 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
53359 rm -f conftest.undefs
53360 mv conftest.tail conftest.undefs
53361 done
53362 rm -f conftest.undefs
53363
53364 cat >>$CONFIG_STATUS <<\_ACEOF
53365 # Let's still pretend it is `configure' which instantiates (i.e., don't
53366 # use $as_me), people would be surprised to read:
53367 # /* config.h. Generated by config.status. */
53368 if test x"$ac_file" = x-; then
53369 echo "/* Generated by configure. */" >$tmp/config.h
53370 else
53371 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
53372 fi
53373 cat $tmp/in >>$tmp/config.h
53374 rm -f $tmp/in
53375 if test x"$ac_file" != x-; then
53376 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
53377 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
53378 echo "$as_me: $ac_file is unchanged" >&6;}
53379 else
53380 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
53381 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53382 X"$ac_file" : 'X\(//\)[^/]' \| \
53383 X"$ac_file" : 'X\(//\)$' \| \
53384 X"$ac_file" : 'X\(/\)' \| \
53385 . : '\(.\)' 2>/dev/null ||
53386 echo X"$ac_file" |
53387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53388 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53389 /^X\(\/\/\)$/{ s//\1/; q; }
53390 /^X\(\/\).*/{ s//\1/; q; }
53391 s/.*/./; q'`
53392 { if $as_mkdir_p; then
53393 mkdir -p "$ac_dir"
53394 else
53395 as_dir="$ac_dir"
53396 as_dirs=
53397 while test ! -d "$as_dir"; do
53398 as_dirs="$as_dir $as_dirs"
53399 as_dir=`(dirname "$as_dir") 2>/dev/null ||
53400 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53401 X"$as_dir" : 'X\(//\)[^/]' \| \
53402 X"$as_dir" : 'X\(//\)$' \| \
53403 X"$as_dir" : 'X\(/\)' \| \
53404 . : '\(.\)' 2>/dev/null ||
53405 echo X"$as_dir" |
53406 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53407 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53408 /^X\(\/\/\)$/{ s//\1/; q; }
53409 /^X\(\/\).*/{ s//\1/; q; }
53410 s/.*/./; q'`
53411 done
53412 test ! -n "$as_dirs" || mkdir $as_dirs
53413 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53414 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53415 { (exit 1); exit 1; }; }; }
53416
53417 rm -f $ac_file
53418 mv $tmp/config.h $ac_file
53419 fi
53420 else
53421 cat $tmp/config.h
53422 rm -f $tmp/config.h
53423 fi
53424 done
53425 _ACEOF
53426 cat >>$CONFIG_STATUS <<\_ACEOF
53427
53428 #
53429 # CONFIG_COMMANDS section.
53430 #
53431 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
53432 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
53433 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
53434 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
53435 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53436 X"$ac_dest" : 'X\(//\)[^/]' \| \
53437 X"$ac_dest" : 'X\(//\)$' \| \
53438 X"$ac_dest" : 'X\(/\)' \| \
53439 . : '\(.\)' 2>/dev/null ||
53440 echo X"$ac_dest" |
53441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53442 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53443 /^X\(\/\/\)$/{ s//\1/; q; }
53444 /^X\(\/\).*/{ s//\1/; q; }
53445 s/.*/./; q'`
53446 { if $as_mkdir_p; then
53447 mkdir -p "$ac_dir"
53448 else
53449 as_dir="$ac_dir"
53450 as_dirs=
53451 while test ! -d "$as_dir"; do
53452 as_dirs="$as_dir $as_dirs"
53453 as_dir=`(dirname "$as_dir") 2>/dev/null ||
53454 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53455 X"$as_dir" : 'X\(//\)[^/]' \| \
53456 X"$as_dir" : 'X\(//\)$' \| \
53457 X"$as_dir" : 'X\(/\)' \| \
53458 . : '\(.\)' 2>/dev/null ||
53459 echo X"$as_dir" |
53460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53461 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53462 /^X\(\/\/\)$/{ s//\1/; q; }
53463 /^X\(\/\).*/{ s//\1/; q; }
53464 s/.*/./; q'`
53465 done
53466 test ! -n "$as_dirs" || mkdir $as_dirs
53467 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53468 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53469 { (exit 1); exit 1; }; }; }
53470
53471 ac_builddir=.
53472
53473 if test "$ac_dir" != .; then
53474 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53475 # A "../" for each directory in $ac_dir_suffix.
53476 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
53477 else
53478 ac_dir_suffix= ac_top_builddir=
53479 fi
53480
53481 case $srcdir in
53482 .) # No --srcdir option. We are building in place.
53483 ac_srcdir=.
53484 if test -z "$ac_top_builddir"; then
53485 ac_top_srcdir=.
53486 else
53487 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
53488 fi ;;
53489 [\\/]* | ?:[\\/]* ) # Absolute path.
53490 ac_srcdir=$srcdir$ac_dir_suffix;
53491 ac_top_srcdir=$srcdir ;;
53492 *) # Relative path.
53493 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
53494 ac_top_srcdir=$ac_top_builddir$srcdir ;;
53495 esac
53496
53497 # Do not use `cd foo && pwd` to compute absolute paths, because
53498 # the directories may not exist.
53499 case `pwd` in
53500 .) ac_abs_builddir="$ac_dir";;
53501 *)
53502 case "$ac_dir" in
53503 .) ac_abs_builddir=`pwd`;;
53504 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
53505 *) ac_abs_builddir=`pwd`/"$ac_dir";;
53506 esac;;
53507 esac
53508 case $ac_abs_builddir in
53509 .) ac_abs_top_builddir=${ac_top_builddir}.;;
53510 *)
53511 case ${ac_top_builddir}. in
53512 .) ac_abs_top_builddir=$ac_abs_builddir;;
53513 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
53514 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
53515 esac;;
53516 esac
53517 case $ac_abs_builddir in
53518 .) ac_abs_srcdir=$ac_srcdir;;
53519 *)
53520 case $ac_srcdir in
53521 .) ac_abs_srcdir=$ac_abs_builddir;;
53522 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
53523 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
53524 esac;;
53525 esac
53526 case $ac_abs_builddir in
53527 .) ac_abs_top_srcdir=$ac_top_srcdir;;
53528 *)
53529 case $ac_top_srcdir in
53530 .) ac_abs_top_srcdir=$ac_abs_builddir;;
53531 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
53532 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
53533 esac;;
53534 esac
53535
53536
53537 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
53538 echo "$as_me: executing $ac_dest commands" >&6;}
53539 case $ac_dest in
53540 rcdefs.h )
53541 mkdir -p $outdir &&
53542 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
53543 ;;
53544 wx-config ) rm -f wx-config
53545 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
53546 ;;
53547 esac
53548 done
53549 _ACEOF
53550
53551 cat >>$CONFIG_STATUS <<\_ACEOF
53552
53553 { (exit 0); exit 0; }
53554 _ACEOF
53555 chmod +x $CONFIG_STATUS
53556 ac_clean_files=$ac_clean_files_save
53557
53558
53559 # configure is writing to config.log, and then calls config.status.
53560 # config.status does its own redirection, appending to config.log.
53561 # Unfortunately, on DOS this fails, as config.log is still kept open
53562 # by configure, so config.status won't be able to write to it; its
53563 # output is simply discarded. So we exec the FD to /dev/null,
53564 # effectively closing config.log, so it can be properly (re)opened and
53565 # appended to by config.status. When coming back to configure, we
53566 # need to make the FD available again.
53567 if test "$no_create" != yes; then
53568 ac_cs_success=:
53569 ac_config_status_args=
53570 test "$silent" = yes &&
53571 ac_config_status_args="$ac_config_status_args --quiet"
53572 exec 5>/dev/null
53573 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
53574 exec 5>>config.log
53575 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
53576 # would make configure fail if this is the last instruction.
53577 $ac_cs_success || { (exit 1); exit 1; }
53578 fi
53579
53580 #
53581 # CONFIG_SUBDIRS section.
53582 #
53583 if test "$no_recursion" != yes; then
53584
53585 # Remove --cache-file and --srcdir arguments so they do not pile up.
53586 ac_sub_configure_args=
53587 ac_prev=
53588 for ac_arg in $ac_configure_args; do
53589 if test -n "$ac_prev"; then
53590 ac_prev=
53591 continue
53592 fi
53593 case $ac_arg in
53594 -cache-file | --cache-file | --cache-fil | --cache-fi \
53595 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53596 ac_prev=cache_file ;;
53597 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53598 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
53599 | --c=*)
53600 ;;
53601 --config-cache | -C)
53602 ;;
53603 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
53604 ac_prev=srcdir ;;
53605 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
53606 ;;
53607 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
53608 ac_prev=prefix ;;
53609 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
53610 ;;
53611 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
53612 esac
53613 done
53614
53615 # Always prepend --prefix to ensure using the same prefix
53616 # in subdir configurations.
53617 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
53618
53619 ac_popdir=`pwd`
53620 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
53621
53622 # Do not complain, so a configure script can configure whichever
53623 # parts of a large source tree are present.
53624 test -d $srcdir/$ac_dir || continue
53625
53626 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
53627 echo "$as_me: configuring in $ac_dir" >&6;}
53628 { if $as_mkdir_p; then
53629 mkdir -p "$ac_dir"
53630 else
53631 as_dir="$ac_dir"
53632 as_dirs=
53633 while test ! -d "$as_dir"; do
53634 as_dirs="$as_dir $as_dirs"
53635 as_dir=`(dirname "$as_dir") 2>/dev/null ||
53636 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
53637 X"$as_dir" : 'X\(//\)[^/]' \| \
53638 X"$as_dir" : 'X\(//\)$' \| \
53639 X"$as_dir" : 'X\(/\)' \| \
53640 . : '\(.\)' 2>/dev/null ||
53641 echo X"$as_dir" |
53642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
53643 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
53644 /^X\(\/\/\)$/{ s//\1/; q; }
53645 /^X\(\/\).*/{ s//\1/; q; }
53646 s/.*/./; q'`
53647 done
53648 test ! -n "$as_dirs" || mkdir $as_dirs
53649 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
53650 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
53651 { (exit 1); exit 1; }; }; }
53652
53653 ac_builddir=.
53654
53655 if test "$ac_dir" != .; then
53656 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
53657 # A "../" for each directory in $ac_dir_suffix.
53658 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
53659 else
53660 ac_dir_suffix= ac_top_builddir=
53661 fi
53662
53663 case $srcdir in
53664 .) # No --srcdir option. We are building in place.
53665 ac_srcdir=.
53666 if test -z "$ac_top_builddir"; then
53667 ac_top_srcdir=.
53668 else
53669 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
53670 fi ;;
53671 [\\/]* | ?:[\\/]* ) # Absolute path.
53672 ac_srcdir=$srcdir$ac_dir_suffix;
53673 ac_top_srcdir=$srcdir ;;
53674 *) # Relative path.
53675 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
53676 ac_top_srcdir=$ac_top_builddir$srcdir ;;
53677 esac
53678
53679 # Do not use `cd foo && pwd` to compute absolute paths, because
53680 # the directories may not exist.
53681 case `pwd` in
53682 .) ac_abs_builddir="$ac_dir";;
53683 *)
53684 case "$ac_dir" in
53685 .) ac_abs_builddir=`pwd`;;
53686 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
53687 *) ac_abs_builddir=`pwd`/"$ac_dir";;
53688 esac;;
53689 esac
53690 case $ac_abs_builddir in
53691 .) ac_abs_top_builddir=${ac_top_builddir}.;;
53692 *)
53693 case ${ac_top_builddir}. in
53694 .) ac_abs_top_builddir=$ac_abs_builddir;;
53695 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
53696 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
53697 esac;;
53698 esac
53699 case $ac_abs_builddir in
53700 .) ac_abs_srcdir=$ac_srcdir;;
53701 *)
53702 case $ac_srcdir in
53703 .) ac_abs_srcdir=$ac_abs_builddir;;
53704 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
53705 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
53706 esac;;
53707 esac
53708 case $ac_abs_builddir in
53709 .) ac_abs_top_srcdir=$ac_top_srcdir;;
53710 *)
53711 case $ac_top_srcdir in
53712 .) ac_abs_top_srcdir=$ac_abs_builddir;;
53713 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
53714 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
53715 esac;;
53716 esac
53717
53718
53719 cd $ac_dir
53720
53721 # Check for guested configure; otherwise get Cygnus style configure.
53722 if test -f $ac_srcdir/configure.gnu; then
53723 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
53724 elif test -f $ac_srcdir/configure; then
53725 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
53726 elif test -f $ac_srcdir/configure.in; then
53727 ac_sub_configure=$ac_configure
53728 else
53729 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
53730 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
53731 ac_sub_configure=
53732 fi
53733
53734 # The recursion is here.
53735 if test -n "$ac_sub_configure"; then
53736 # Make the cache file name correct relative to the subdirectory.
53737 case $cache_file in
53738 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
53739 *) # Relative path.
53740 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
53741 esac
53742
53743 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
53744 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
53745 # The eval makes quoting arguments work.
53746 eval $ac_sub_configure $ac_sub_configure_args \
53747 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
53748 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
53749 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
53750 { (exit 1); exit 1; }; }
53751 fi
53752
53753 cd "$ac_popdir"
53754 done
53755 fi
53756
53757
53758 echo
53759 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
53760 echo ""
53761 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
53762 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
53763
53764 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
53765 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
53766 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
53767 if test "$wxUSE_UNICODE" = "yes"; then
53768 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
53769 echo " (using UTF-8)"
53770 else
53771 echo " (using wchar_t)"
53772 fi
53773 else
53774 echo
53775 fi
53776
53777 echo " What level of wxWidgets compatibility should be enabled?"
53778 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
53779 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
53780
53781 echo " Which libraries should wxWidgets use?"
53782 echo " jpeg ${wxUSE_LIBJPEG-none}"
53783 echo " png ${wxUSE_LIBPNG-none}"
53784 echo " regex ${wxUSE_REGEX}"
53785 echo " tiff ${wxUSE_LIBTIFF-none}"
53786 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
53787 echo " xpm ${wxUSE_LIBXPM-none}"
53788 fi
53789 echo " zlib ${wxUSE_ZLIB}"
53790 echo " odbc ${wxUSE_ODBC}"
53791 echo " expat ${wxUSE_EXPAT}"
53792 echo " libmspack ${wxUSE_LIBMSPACK}"
53793 echo " sdl ${wxUSE_LIBSDL}"
53794
53795 echo ""
53796