]> git.saurik.com Git - wxWidgets.git/blob - configure
Add GtkPrint detection code and configure switch
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 48336 2007-08-22 15:11:12Z VS .
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 AR ac_ct_AR 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 LIBICONV SDL_CONFIG SDL_CFLAGS SDL_LIBS GTKPRINT_CFLAGS GTKPRINT_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_GTKPRINT 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 RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S SET_MAKE MAKE_SET AROPTIONS STRIP ac_ct_STRIP NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI IF_GNU_MAKE 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 WINDRES ac_ct_WINDRES REZ SETFILE 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 DEREZ 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 DLLTOOL 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_GTKPRINT_CFLAGS_set=${GTKPRINT_CFLAGS+set}
822 ac_env_GTKPRINT_CFLAGS_value=$GTKPRINT_CFLAGS
823 ac_cv_env_GTKPRINT_CFLAGS_set=${GTKPRINT_CFLAGS+set}
824 ac_cv_env_GTKPRINT_CFLAGS_value=$GTKPRINT_CFLAGS
825 ac_env_GTKPRINT_LIBS_set=${GTKPRINT_LIBS+set}
826 ac_env_GTKPRINT_LIBS_value=$GTKPRINT_LIBS
827 ac_cv_env_GTKPRINT_LIBS_set=${GTKPRINT_LIBS+set}
828 ac_cv_env_GTKPRINT_LIBS_value=$GTKPRINT_LIBS
829 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
830 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
831 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
833 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
834 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
835 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
836 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
837 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
838 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
839 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
840 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
841 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
842 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
843 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
844 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
845 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
846 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
847 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
848 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
849 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
850 ac_env_HILDON_LIBS_value=$HILDON_LIBS
851 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
852 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
853 ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
854 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
855 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
856 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
857 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
858 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
859 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
860 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
861 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
862 ac_env_GST_CFLAGS_value=$GST_CFLAGS
863 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
864 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
865 ac_env_GST_LIBS_set=${GST_LIBS+set}
866 ac_env_GST_LIBS_value=$GST_LIBS
867 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
868 ac_cv_env_GST_LIBS_value=$GST_LIBS
869
870 #
871 # Report the --help message.
872 #
873 if test "$ac_init_help" = "long"; then
874 # Omit some internal or obsolete options to make the list less imposing.
875 # This message is too long to be a string in the A/UX 3.1 sh.
876 cat <<_ACEOF
877 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
878
879 Usage: $0 [OPTION]... [VAR=VALUE]...
880
881 To assign environment variables (e.g., CC, CFLAGS...), specify them as
882 VAR=VALUE. See below for descriptions of some of the useful variables.
883
884 Defaults for the options are specified in brackets.
885
886 Configuration:
887 -h, --help display this help and exit
888 --help=short display options specific to this package
889 --help=recursive display the short help of all the included packages
890 -V, --version display version information and exit
891 -q, --quiet, --silent do not print \`checking...' messages
892 --cache-file=FILE cache test results in FILE [disabled]
893 -C, --config-cache alias for \`--cache-file=config.cache'
894 -n, --no-create do not create output files
895 --srcdir=DIR find the sources in DIR [configure dir or \`..']
896
897 _ACEOF
898
899 cat <<_ACEOF
900 Installation directories:
901 --prefix=PREFIX install architecture-independent files in PREFIX
902 [$ac_default_prefix]
903 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
904 [PREFIX]
905
906 By default, \`make install' will install all the files in
907 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
908 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
909 for instance \`--prefix=\$HOME'.
910
911 For better control, use the options below.
912
913 Fine tuning of the installation directories:
914 --bindir=DIR user executables [EPREFIX/bin]
915 --sbindir=DIR system admin executables [EPREFIX/sbin]
916 --libexecdir=DIR program executables [EPREFIX/libexec]
917 --datadir=DIR read-only architecture-independent data [PREFIX/share]
918 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
919 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
920 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
921 --libdir=DIR object code libraries [EPREFIX/lib]
922 --includedir=DIR C header files [PREFIX/include]
923 --oldincludedir=DIR C header files for non-gcc [/usr/include]
924 --infodir=DIR info documentation [PREFIX/info]
925 --mandir=DIR man documentation [PREFIX/man]
926 _ACEOF
927
928 cat <<\_ACEOF
929
930 X features:
931 --x-includes=DIR X include files are in DIR
932 --x-libraries=DIR X library files are in DIR
933
934 System types:
935 --build=BUILD configure for building on BUILD [guessed]
936 --host=HOST cross-compile to build programs to run on HOST [BUILD]
937 --target=TARGET configure for building compilers for TARGET [HOST]
938 _ACEOF
939 fi
940
941 if test -n "$ac_init_help"; then
942 case $ac_init_help in
943 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
944 esac
945 cat <<\_ACEOF
946
947 Optional Features:
948 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
949 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
950 --disable-gui don't build GUI parts of the library
951 --enable-monolithic build wxWidgets as single library
952 --enable-plugins build parts of wxWidgets as loadable components
953 --enable-official_build official build of wxWidgets (win32 DLL only)
954 --enable-vendor=VENDOR vendor name (win32 DLL only)
955 --disable-all-features disable all optional features to build minimal library
956 --enable-universal use wxWidgets GUI controls instead of native ones
957 --enable-nanox use NanoX
958 --disable-gtk2 use GTK+ 1.2 instead of 2.0
959 --enable-gpe use GNOME PDA Environment features if possible
960 --disable-shared create static library instead of shared
961 --disable-optimise create optimised code
962 --enable-debug same as debug_flag and debug_info
963 --enable-stl use STL for containers
964 --enable-std_iostreams use standard C++ stream classes
965 --enable-std_string use standard C++ string classes
966 --disable-unicode compile without Unicode support
967 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
968 --enable-utf8 use UTF-8 representation for strings (Unix only)
969 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
970 --enable-extended_rtti use extended RTTI (XTI)
971 --enable-omf use OMF object format
972 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
973 --enable-debug_info create code with debugging information
974 --enable-debug_gdb create code with extra GDB debugging information
975 --enable-debug_cntxt use wxDebugContext
976 --enable-mem_tracing create code with memory tracing
977 --enable-profile create code with profiling information
978 --enable-no_rtti create code without RTTI information
979 --enable-no_exceptions create code without C++ exceptions handling
980 --enable-permissive compile code disregarding strict ANSI
981 --enable-no_deps create code without dependency information
982 --disable-vararg_macros don't use vararg macros, even if they are supported
983 --enable-universal_binary create Mac PowerPC and Intel Universal binary (not yet working)
984 --enable-compat26 enable wxWidgets 2.6 compatibility
985 --disable-compat28 disable wxWidgets 2.8 compatibility
986 --disable-rpath disable use of rpath for uninstalled builds
987 --enable-objc_uniquifying enable Objective-C class name uniquifying
988 --disable-visibility disable use of ELF symbols visibility even if supported
989 --enable-intl use internationalization system
990 --enable-config use wxConfig (and derived) classes
991 --enable-protocols use wxProtocol and derived classes
992 --enable-ftp use wxFTP (requires wxProtocol
993 --enable-http use wxHTTP (requires wxProtocol
994 --enable-fileproto use wxFileProto class (requires wxProtocol
995 --enable-sockets use socket/network classes
996 --enable-ole use OLE classes (Win32 only)
997 --enable-dataobj use data object classes
998 --enable-ipc use interprocess communication (wxSocket etc.)
999 --enable-baseevtloop use event loop in console programs too
1000 --enable-epoolloop use wxEpollDispatcher class (Linux only)
1001 --enable-selectloop use wxSelectDispatcher class
1002 --enable-apple_ieee use the Apple IEEE codec
1003 --enable-arcstream use wxArchive streams
1004 --enable-base64 use base64 encoding/decoding functions
1005 --enable-backtrace use wxStackWalker class for getting backtraces
1006 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1007 --enable-cmdline use wxCmdLineParser class
1008 --enable-datetime use wxDateTime class
1009 --enable-debugreport use wxDebugReport class
1010 --enable-dialupman use dialup network classes
1011 --enable-dynlib use wxLibrary class for DLL loading
1012 --enable-dynamicloader use (new) wxDynamicLibrary class
1013 --enable-exceptions build exception-safe library
1014 --enable-ffile use wxFFile class
1015 --enable-file use wxFile class
1016 --enable-filesystem use virtual file systems classes
1017 --enable-fontenum use wxFontEnumerator class
1018 --enable-fontmap use font encodings conversion classes
1019 --enable-fs_archive use virtual archive filesystems
1020 --enable-fs_inet use virtual HTTP/FTP filesystems
1021 --enable-fs_zip now replaced by fs_archive
1022 --enable-geometry use geometry class
1023 --enable-log use logging system
1024 --enable-longlong use wxLongLong class
1025 --enable-mimetype use wxMimeTypesManager
1026 --enable-snglinst use wxSingleInstanceChecker class
1027 --enable-stdpaths use wxStandardPaths class
1028 --enable-stopwatch use wxStopWatch class
1029 --enable-streams use wxStream etc classes
1030 --enable-sysoptions use wxSystemOptions
1031 --enable-tarstream use wxTar streams
1032 --enable-textbuf use wxTextBuffer class
1033 --enable-textfile use wxTextFile class
1034 --enable-timer use wxTimer class
1035 --enable-sound use wxSound class
1036 --enable-mediactrl use wxMediaCtrl class
1037 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1038 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1039 --enable-zipstream use wxZip streams
1040 --enable-url use wxURL class
1041 --enable-variant use wxVariant class
1042 --enable-protocol use wxProtocol class
1043 --enable-protocol-http HTTP support in wxProtocol
1044 --enable-protocol-ftp FTP support in wxProtocol
1045 --enable-protocol-file FILE support in wxProtocol
1046 --enable-threads use threads
1047 --enable-iniconf use wxIniConfig (Win32 only)
1048 --enable-regkey use wxRegKey class (Win32 only)
1049 --enable-docview use document view architecture
1050 --enable-help use help subsystem
1051 --enable-mshtmlhelp use MS HTML Help (win32)
1052 --enable-html use wxHTML sub-library
1053 --enable-htmlhelp use wxHTML-based help
1054 --enable-xrc use XRC resources sub-library
1055 --enable-aui use AUI docking library
1056 --enable-stc use wxStyledTextCtrl library
1057 --enable-constraints use layout-constraints system
1058 --enable-printarch use printing architecture
1059 --enable-mdi use multiple document interface architecture
1060 --enable-mdidoc use docview architecture with MDI
1061 --enable-loggui use standard GUI logger
1062 --enable-logwin use wxLogWindow
1063 --enable-logdialog use wxLogDialog
1064 --enable-webkit use wxWebKitCtrl (Mac)
1065 --enable-richtext use wxRichTextCtrl
1066 --enable-graphics_ctx use graphics context 2D drawing API
1067 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1068 --enable-svg use wxSVGFileDC device context
1069 --enable-clipboard use wxClipboard class
1070 --enable-dnd use Drag'n'Drop classes
1071 --enable-metafile use win32 metafiles
1072 --disable-controls disable compilation of all standard controls
1073 --enable-accel use accelerators
1074 --enable-animatectrl use wxAnimationCtrl class
1075 --enable-button use wxButton class
1076 --enable-bmpbutton use wxBitmapButton class
1077 --enable-bmpcombobox use wxBitmapComboBox class
1078 --enable-calendar use wxCalendarCtrl class
1079 --enable-caret use wxCaret class
1080 --enable-checkbox use wxCheckBox class
1081 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1082 --enable-choice use wxChoice class
1083 --enable-choicebook use wxChoicebook class
1084 --enable-collpane use wxCollapsiblePane class
1085 --enable-colourpicker use wxColourPickerCtrl class
1086 --enable-combobox use wxComboBox class
1087 --enable-comboctrl use wxComboCtrl class
1088 --enable-datepick use wxDatePickerCtrl class
1089 --enable-dirpicker use wxDirPickerCtrl class
1090 --enable-display use wxDisplay class
1091 --enable-detect_sm use code to detect X11 session manager
1092 --enable-editablebox use wxEditableListBox class
1093 --enable-filepicker use wxFilePickerCtrl class
1094 --enable-fontpicker use wxFontPickerCtrl class
1095 --enable-gauge use wxGauge class
1096 --enable-grid use wxGrid class
1097 --enable-dataviewctrl use wxDataViewCtrl class
1098 --enable-hyperlink use wxHyperlinkCtrl class
1099 --enable-imaglist use wxImageList class
1100 --enable-listbook use wxListbook class
1101 --enable-listbox use wxListBox class
1102 --enable-listctrl use wxListCtrl class
1103 --enable-notebook use wxNotebook class
1104 --enable-odcombobox use wxOwnerDrawnComboBox class
1105 --enable-radiobox use wxRadioBox class
1106 --enable-radiobtn use wxRadioButton class
1107 --enable-sash use wxSashWindow class
1108 --enable-scrollbar use wxScrollBar class and scrollable windows
1109 --enable-searchctrl use wxSearchCtrl class
1110 --enable-slider use wxSlider class
1111 --enable-spinbtn use wxSpinButton class
1112 --enable-spinctrl use wxSpinCtrl class
1113 --enable-splitter use wxSplitterWindow class
1114 --enable-statbmp use wxStaticBitmap class
1115 --enable-statbox use wxStaticBox class
1116 --enable-statline use wxStaticLine class
1117 --enable-stattext use wxStaticText class
1118 --enable-statusbar use wxStatusBar class
1119 --enable-tabdialog use wxTabControl class
1120 --enable-taskbaricon use wxTaskBarIcon class
1121 --enable-textctrl use wxTextCtrl class
1122 --enable-togglebtn use wxToggleButton class
1123 --enable-toolbar use wxToolBar class
1124 --enable-tbarnative use native wxToolBar class
1125 --enable-treebook use wxTreebook class
1126 --enable-toolbook use wxToolbook class
1127 --enable-treectrl use wxTreeCtrl class
1128 --enable-tipwindow use wxTipWindow class
1129 --enable-popupwin use wxPopUpWindow class
1130 --enable-commondlg use all common dialogs
1131 --enable-aboutdlg use wxAboutBox
1132 --enable-choicedlg use wxChoiceDialog
1133 --enable-coldlg use wxColourDialog
1134 --enable-filedlg use wxFileDialog
1135 --enable-finddlg use wxFindReplaceDialog
1136 --enable-fontdlg use wxFontDialog
1137 --enable-dirdlg use wxDirDialog
1138 --enable-msgdlg use wxMessageDialog
1139 --enable-numberdlg use wxNumberEntryDialog
1140 --enable-splash use wxSplashScreen
1141 --enable-textdlg use wxTextDialog
1142 --enable-tipdlg use startup tips
1143 --enable-progressdlg use wxProgressDialog
1144 --enable-wizarddlg use wxWizard
1145 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1146 --enable-miniframe use wxMiniFrame class
1147 --enable-tooltips use wxToolTip class
1148 --enable-splines use spline drawing code
1149 --enable-mousewheel use mousewheel
1150 --enable-validators use wxValidator and derived classes
1151 --enable-busyinfo use wxBusyInfo
1152 --enable-joystick use wxJoystick
1153 --enable-metafiles use wxMetaFile (Win32 only)
1154 --enable-dragimage use wxDragImage
1155 --enable-accessibility enable accessibility support
1156 --enable-palette use wxPalette class
1157 --enable-image use wxImage class
1158 --enable-gif use gif images (GIF file format)
1159 --enable-pcx use pcx images (PCX file format)
1160 --enable-tga use tga images (TGA file format)
1161 --enable-iff use iff images (IFF file format)
1162 --enable-pnm use pnm images (PNM file format)
1163 --enable-xpm use xpm images (XPM file format)
1164 --enable-icocur use Windows ICO and CUR formats
1165 --enable-dccache cache temporary wxDC objects (Win32 only)
1166 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1167 --enable-ownerdrawn use owner drawn controls (Win32 only)
1168 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1169 --enable-wxdib use wxDIB class (Win32 only)
1170 --disable-largefile omit support for large files
1171 --disable-gtktest do not try to compile and run a test GTK+ program
1172 --disable-gtktest Do not try to compile and run a test GTK program
1173 --disable-sdltest Do not try to compile and run a test SDL program
1174 --enable-omf use OMF object format (OS/2)
1175 --disable-dependency-tracking
1176 don't use dependency tracking even if the compiler
1177 can
1178 --disable-precomp-headers
1179 don't use precompiled headers even if compiler can
1180
1181 Optional Packages:
1182 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1183 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1184 --without-subdirs don't generate makefiles for samples/demos/...
1185 --with-flavour=NAME specify a name to identify this build
1186 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1187 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1188 --with-motif use Motif/Lesstif
1189 --with-mac use Mac OS X
1190 --with-cocoa use Cocoa
1191 --with-wine use Wine
1192 --with-msw use MS-Windows
1193 --with-pm use OS/2 Presentation Manager
1194 --with-mgl use SciTech MGL
1195 --with-directfb use DirectFB
1196 --with-microwin use MicroWindows
1197 --with-x11 use X11
1198 --with-libpng use libpng (PNG image format)
1199 --with-libjpeg use libjpeg (JPEG file format)
1200 --with-libtiff use libtiff (TIFF file format)
1201 --with-libxpm use libxpm (XPM file format)
1202 --with-libmspack use libmspack (CHM help files loading)
1203 --without-gtkprint don't use GTK printing support
1204 --without-gnomeprint don't use GNOME printing libraries
1205 --with-gnomevfs use GNOME VFS for associating MIME types
1206 --with-hildon use Hildon framework for Nokia 770
1207 --with-opengl use OpenGL (or Mesa)
1208 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1209 --with-sdl use SDL for audio on Unix
1210 --with-regex enable support for wxRegEx class
1211 --with-zlib use zlib for LZW compression
1212 --with-odbc use the IODBC and wxODBC classes
1213 --with-expat enable XML support using expat parser
1214 --with-macosx-sdk=PATH use an OS X SDK at PATH
1215 --with-macosx-version-min=VER build binaries which require at least this OS X version
1216 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1217 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1218 --with-x use the X Window System
1219 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1220 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1221 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1222 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1223 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1224
1225 Some influential environment variables:
1226 CC C compiler command
1227 CFLAGS C compiler flags
1228 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1229 nonstandard directory <lib dir>
1230 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1231 headers in a nonstandard directory <include dir>
1232 CPP C preprocessor
1233 CXX C++ compiler command
1234 CXXFLAGS C++ compiler flags
1235 PKG_CONFIG path to pkg-config utility
1236 DIRECTFB_CFLAGS
1237 C compiler flags for DIRECTFB, overriding pkg-config
1238 DIRECTFB_LIBS
1239 linker flags for DIRECTFB, overriding pkg-config
1240 PANGOX_CFLAGS
1241 C compiler flags for PANGOX, overriding pkg-config
1242 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1243 PANGOFT2_CFLAGS
1244 C compiler flags for PANGOFT2, overriding pkg-config
1245 PANGOFT2_LIBS
1246 linker flags for PANGOFT2, overriding pkg-config
1247 PANGOXFT_CFLAGS
1248 C compiler flags for PANGOXFT, overriding pkg-config
1249 PANGOXFT_LIBS
1250 linker flags for PANGOXFT, overriding pkg-config
1251 GTKPRINT_CFLAGS
1252 C compiler flags for GTKPRINT, overriding pkg-config
1253 GTKPRINT_LIBS
1254 linker flags for GTKPRINT, overriding pkg-config
1255 LIBGNOMEPRINTUI_CFLAGS
1256 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1257 LIBGNOMEPRINTUI_LIBS
1258 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1259 GNOMEVFS_CFLAGS
1260 C compiler flags for GNOMEVFS, overriding pkg-config
1261 GNOMEVFS_LIBS
1262 linker flags for GNOMEVFS, overriding pkg-config
1263 HILDON_CFLAGS
1264 C compiler flags for HILDON, overriding pkg-config
1265 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1266 CAIRO_CFLAGS
1267 C compiler flags for CAIRO, overriding pkg-config
1268 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1269 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1270 GST_LIBS linker flags for GST, overriding pkg-config
1271
1272 Use these variables to override the choices made by `configure' or to help
1273 it to find libraries and programs with nonstandard names/locations.
1274
1275 Report bugs to <wx-dev@lists.wxwidgets.org>.
1276 _ACEOF
1277 fi
1278
1279 if test "$ac_init_help" = "recursive"; then
1280 # If there are subdirs, report their specific --help.
1281 ac_popdir=`pwd`
1282 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1283 test -d $ac_dir || continue
1284 ac_builddir=.
1285
1286 if test "$ac_dir" != .; then
1287 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1288 # A "../" for each directory in $ac_dir_suffix.
1289 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1290 else
1291 ac_dir_suffix= ac_top_builddir=
1292 fi
1293
1294 case $srcdir in
1295 .) # No --srcdir option. We are building in place.
1296 ac_srcdir=.
1297 if test -z "$ac_top_builddir"; then
1298 ac_top_srcdir=.
1299 else
1300 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1301 fi ;;
1302 [\\/]* | ?:[\\/]* ) # Absolute path.
1303 ac_srcdir=$srcdir$ac_dir_suffix;
1304 ac_top_srcdir=$srcdir ;;
1305 *) # Relative path.
1306 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1307 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1308 esac
1309
1310 # Do not use `cd foo && pwd` to compute absolute paths, because
1311 # the directories may not exist.
1312 case `pwd` in
1313 .) ac_abs_builddir="$ac_dir";;
1314 *)
1315 case "$ac_dir" in
1316 .) ac_abs_builddir=`pwd`;;
1317 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1318 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1319 esac;;
1320 esac
1321 case $ac_abs_builddir in
1322 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1323 *)
1324 case ${ac_top_builddir}. in
1325 .) ac_abs_top_builddir=$ac_abs_builddir;;
1326 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1327 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1328 esac;;
1329 esac
1330 case $ac_abs_builddir in
1331 .) ac_abs_srcdir=$ac_srcdir;;
1332 *)
1333 case $ac_srcdir in
1334 .) ac_abs_srcdir=$ac_abs_builddir;;
1335 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1336 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1337 esac;;
1338 esac
1339 case $ac_abs_builddir in
1340 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1341 *)
1342 case $ac_top_srcdir in
1343 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1344 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1345 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1346 esac;;
1347 esac
1348
1349 cd $ac_dir
1350 # Check for guested configure; otherwise get Cygnus style configure.
1351 if test -f $ac_srcdir/configure.gnu; then
1352 echo
1353 $SHELL $ac_srcdir/configure.gnu --help=recursive
1354 elif test -f $ac_srcdir/configure; then
1355 echo
1356 $SHELL $ac_srcdir/configure --help=recursive
1357 elif test -f $ac_srcdir/configure.ac ||
1358 test -f $ac_srcdir/configure.in; then
1359 echo
1360 $ac_configure --help
1361 else
1362 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1363 fi
1364 cd $ac_popdir
1365 done
1366 fi
1367
1368 test -n "$ac_init_help" && exit 0
1369 if $ac_init_version; then
1370 cat <<\_ACEOF
1371 wxWidgets configure 2.9.0
1372 generated by GNU Autoconf 2.59
1373
1374 Copyright (C) 2003 Free Software Foundation, Inc.
1375 This configure script is free software; the Free Software Foundation
1376 gives unlimited permission to copy, distribute and modify it.
1377 _ACEOF
1378 exit 0
1379 fi
1380 exec 5>config.log
1381 cat >&5 <<_ACEOF
1382 This file contains any messages produced by compilers while
1383 running configure, to aid debugging if configure makes a mistake.
1384
1385 It was created by wxWidgets $as_me 2.9.0, which was
1386 generated by GNU Autoconf 2.59. Invocation command line was
1387
1388 $ $0 $@
1389
1390 _ACEOF
1391 {
1392 cat <<_ASUNAME
1393 ## --------- ##
1394 ## Platform. ##
1395 ## --------- ##
1396
1397 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1398 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1399 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1400 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1401 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1402
1403 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1404 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1405
1406 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1407 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1408 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1409 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1410 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1411 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1412 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1413
1414 _ASUNAME
1415
1416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1417 for as_dir in $PATH
1418 do
1419 IFS=$as_save_IFS
1420 test -z "$as_dir" && as_dir=.
1421 echo "PATH: $as_dir"
1422 done
1423
1424 } >&5
1425
1426 cat >&5 <<_ACEOF
1427
1428
1429 ## ----------- ##
1430 ## Core tests. ##
1431 ## ----------- ##
1432
1433 _ACEOF
1434
1435
1436 # Keep a trace of the command line.
1437 # Strip out --no-create and --no-recursion so they do not pile up.
1438 # Strip out --silent because we don't want to record it for future runs.
1439 # Also quote any args containing shell meta-characters.
1440 # Make two passes to allow for proper duplicate-argument suppression.
1441 ac_configure_args=
1442 ac_configure_args0=
1443 ac_configure_args1=
1444 ac_sep=
1445 ac_must_keep_next=false
1446 for ac_pass in 1 2
1447 do
1448 for ac_arg
1449 do
1450 case $ac_arg in
1451 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1452 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1453 | -silent | --silent | --silen | --sile | --sil)
1454 continue ;;
1455 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1456 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1457 esac
1458 case $ac_pass in
1459 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1460 2)
1461 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1462 if test $ac_must_keep_next = true; then
1463 ac_must_keep_next=false # Got value, back to normal.
1464 else
1465 case $ac_arg in
1466 *=* | --config-cache | -C | -disable-* | --disable-* \
1467 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1468 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1469 | -with-* | --with-* | -without-* | --without-* | --x)
1470 case "$ac_configure_args0 " in
1471 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1472 esac
1473 ;;
1474 -* ) ac_must_keep_next=true ;;
1475 esac
1476 fi
1477 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1478 # Get rid of the leading space.
1479 ac_sep=" "
1480 ;;
1481 esac
1482 done
1483 done
1484 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1485 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1486
1487 # When interrupted or exit'd, cleanup temporary files, and complete
1488 # config.log. We remove comments because anyway the quotes in there
1489 # would cause problems or look ugly.
1490 # WARNING: Be sure not to use single quotes in there, as some shells,
1491 # such as our DU 5.0 friend, will then `close' the trap.
1492 trap 'exit_status=$?
1493 # Save into config.log some information that might help in debugging.
1494 {
1495 echo
1496
1497 cat <<\_ASBOX
1498 ## ---------------- ##
1499 ## Cache variables. ##
1500 ## ---------------- ##
1501 _ASBOX
1502 echo
1503 # The following way of writing the cache mishandles newlines in values,
1504 {
1505 (set) 2>&1 |
1506 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1507 *ac_space=\ *)
1508 sed -n \
1509 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1510 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1511 ;;
1512 *)
1513 sed -n \
1514 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1515 ;;
1516 esac;
1517 }
1518 echo
1519
1520 cat <<\_ASBOX
1521 ## ----------------- ##
1522 ## Output variables. ##
1523 ## ----------------- ##
1524 _ASBOX
1525 echo
1526 for ac_var in $ac_subst_vars
1527 do
1528 eval ac_val=$`echo $ac_var`
1529 echo "$ac_var='"'"'$ac_val'"'"'"
1530 done | sort
1531 echo
1532
1533 if test -n "$ac_subst_files"; then
1534 cat <<\_ASBOX
1535 ## ------------- ##
1536 ## Output files. ##
1537 ## ------------- ##
1538 _ASBOX
1539 echo
1540 for ac_var in $ac_subst_files
1541 do
1542 eval ac_val=$`echo $ac_var`
1543 echo "$ac_var='"'"'$ac_val'"'"'"
1544 done | sort
1545 echo
1546 fi
1547
1548 if test -s confdefs.h; then
1549 cat <<\_ASBOX
1550 ## ----------- ##
1551 ## confdefs.h. ##
1552 ## ----------- ##
1553 _ASBOX
1554 echo
1555 sed "/^$/d" confdefs.h | sort
1556 echo
1557 fi
1558 test "$ac_signal" != 0 &&
1559 echo "$as_me: caught signal $ac_signal"
1560 echo "$as_me: exit $exit_status"
1561 } >&5
1562 rm -f core *.core &&
1563 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1564 exit $exit_status
1565 ' 0
1566 for ac_signal in 1 2 13 15; do
1567 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1568 done
1569 ac_signal=0
1570
1571 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1572 rm -rf conftest* confdefs.h
1573 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1574 echo >confdefs.h
1575
1576 # Predefined preprocessor variables.
1577
1578 cat >>confdefs.h <<_ACEOF
1579 #define PACKAGE_NAME "$PACKAGE_NAME"
1580 _ACEOF
1581
1582
1583 cat >>confdefs.h <<_ACEOF
1584 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1585 _ACEOF
1586
1587
1588 cat >>confdefs.h <<_ACEOF
1589 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1590 _ACEOF
1591
1592
1593 cat >>confdefs.h <<_ACEOF
1594 #define PACKAGE_STRING "$PACKAGE_STRING"
1595 _ACEOF
1596
1597
1598 cat >>confdefs.h <<_ACEOF
1599 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1600 _ACEOF
1601
1602
1603 # Let the site file select an alternate cache file if it wants to.
1604 # Prefer explicitly selected file to automatically selected ones.
1605 if test -z "$CONFIG_SITE"; then
1606 if test "x$prefix" != xNONE; then
1607 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1608 else
1609 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1610 fi
1611 fi
1612 for ac_site_file in $CONFIG_SITE; do
1613 if test -r "$ac_site_file"; then
1614 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1615 echo "$as_me: loading site script $ac_site_file" >&6;}
1616 sed 's/^/| /' "$ac_site_file" >&5
1617 . "$ac_site_file"
1618 fi
1619 done
1620
1621 if test -r "$cache_file"; then
1622 # Some versions of bash will fail to source /dev/null (special
1623 # files actually), so we avoid doing that.
1624 if test -f "$cache_file"; then
1625 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1626 echo "$as_me: loading cache $cache_file" >&6;}
1627 case $cache_file in
1628 [\\/]* | ?:[\\/]* ) . $cache_file;;
1629 *) . ./$cache_file;;
1630 esac
1631 fi
1632 else
1633 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1634 echo "$as_me: creating cache $cache_file" >&6;}
1635 >$cache_file
1636 fi
1637
1638 # Check that the precious variables saved in the cache have kept the same
1639 # value.
1640 ac_cache_corrupted=false
1641 for ac_var in `(set) 2>&1 |
1642 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1643 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1644 eval ac_new_set=\$ac_env_${ac_var}_set
1645 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1646 eval ac_new_val="\$ac_env_${ac_var}_value"
1647 case $ac_old_set,$ac_new_set in
1648 set,)
1649 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1650 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1651 ac_cache_corrupted=: ;;
1652 ,set)
1653 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1654 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1655 ac_cache_corrupted=: ;;
1656 ,);;
1657 *)
1658 if test "x$ac_old_val" != "x$ac_new_val"; then
1659 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1660 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1661 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1662 echo "$as_me: former value: $ac_old_val" >&2;}
1663 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1664 echo "$as_me: current value: $ac_new_val" >&2;}
1665 ac_cache_corrupted=:
1666 fi;;
1667 esac
1668 # Pass precious variables to config.status.
1669 if test "$ac_new_set" = set; then
1670 case $ac_new_val in
1671 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1672 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1673 *) ac_arg=$ac_var=$ac_new_val ;;
1674 esac
1675 case " $ac_configure_args " in
1676 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1677 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1678 esac
1679 fi
1680 done
1681 if $ac_cache_corrupted; then
1682 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1683 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1684 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1685 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1686 { (exit 1); exit 1; }; }
1687 fi
1688
1689 ac_ext=c
1690 ac_cpp='$CPP $CPPFLAGS'
1691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724 ac_aux_dir=
1725 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1726 if test -f $ac_dir/install-sh; then
1727 ac_aux_dir=$ac_dir
1728 ac_install_sh="$ac_aux_dir/install-sh -c"
1729 break
1730 elif test -f $ac_dir/install.sh; then
1731 ac_aux_dir=$ac_dir
1732 ac_install_sh="$ac_aux_dir/install.sh -c"
1733 break
1734 elif test -f $ac_dir/shtool; then
1735 ac_aux_dir=$ac_dir
1736 ac_install_sh="$ac_aux_dir/shtool install -c"
1737 break
1738 fi
1739 done
1740 if test -z "$ac_aux_dir"; then
1741 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1742 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1743 { (exit 1); exit 1; }; }
1744 fi
1745 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1746 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1747 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1748
1749 # Make sure we can run config.sub.
1750 $ac_config_sub sun4 >/dev/null 2>&1 ||
1751 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1752 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1753 { (exit 1); exit 1; }; }
1754
1755 echo "$as_me:$LINENO: checking build system type" >&5
1756 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1757 if test "${ac_cv_build+set}" = set; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1759 else
1760 ac_cv_build_alias=$build_alias
1761 test -z "$ac_cv_build_alias" &&
1762 ac_cv_build_alias=`$ac_config_guess`
1763 test -z "$ac_cv_build_alias" &&
1764 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1765 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1766 { (exit 1); exit 1; }; }
1767 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1768 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1769 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1770 { (exit 1); exit 1; }; }
1771
1772 fi
1773 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1774 echo "${ECHO_T}$ac_cv_build" >&6
1775 build=$ac_cv_build
1776 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1777 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1778 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1779
1780
1781 echo "$as_me:$LINENO: checking host system type" >&5
1782 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1783 if test "${ac_cv_host+set}" = set; then
1784 echo $ECHO_N "(cached) $ECHO_C" >&6
1785 else
1786 ac_cv_host_alias=$host_alias
1787 test -z "$ac_cv_host_alias" &&
1788 ac_cv_host_alias=$ac_cv_build_alias
1789 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1790 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1791 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1792 { (exit 1); exit 1; }; }
1793
1794 fi
1795 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1796 echo "${ECHO_T}$ac_cv_host" >&6
1797 host=$ac_cv_host
1798 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1799 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1800 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1801
1802
1803 echo "$as_me:$LINENO: checking target system type" >&5
1804 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1805 if test "${ac_cv_target+set}" = set; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 else
1808 ac_cv_target_alias=$target_alias
1809 test "x$ac_cv_target_alias" = "x" &&
1810 ac_cv_target_alias=$ac_cv_host_alias
1811 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1812 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1813 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1814 { (exit 1); exit 1; }; }
1815
1816 fi
1817 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1818 echo "${ECHO_T}$ac_cv_target" >&6
1819 target=$ac_cv_target
1820 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1821 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1822 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1823
1824
1825 # The aliases save the names the user supplied, while $host etc.
1826 # will get canonicalized.
1827 test -n "$target_alias" &&
1828 test "$program_prefix$program_suffix$program_transform_name" = \
1829 NONENONEs,x,x, &&
1830 program_prefix=${target_alias}-
1831
1832
1833
1834 wx_major_version_number=2
1835 wx_minor_version_number=9
1836 wx_release_number=0
1837 wx_subrelease_number=0
1838
1839 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1840 WX_VERSION=$WX_RELEASE.$wx_release_number
1841 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1842
1843 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1844
1845
1846 wx_top_builddir="`pwd`"
1847
1848
1849
1850
1851 USE_UNIX=1
1852 USE_OS2=0
1853 USE_WIN32=0
1854 USE_DOS=0
1855 USE_BEOS=0
1856 USE_MAC=0
1857
1858 USE_AIX=
1859 USE_BSD= USE_DARWIN= USE_FREEBSD=
1860 USE_GNU= USE_HPUX=
1861 USE_LINUX=
1862 USE_NETBSD=
1863 USE_OPENBSD=
1864 USE_OSF= USE_SGI=
1865 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1866 USE_ULTRIX=
1867 USE_UNIXWARE=
1868
1869 USE_ALPHA=
1870
1871 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1872
1873 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1874
1875 DEFAULT_wxUSE_COCOA=0
1876 DEFAULT_wxUSE_GTK=0
1877 DEFAULT_wxUSE_MAC=0
1878 DEFAULT_wxUSE_MGL=0
1879 DEFAULT_wxUSE_MICROWIN=0
1880 DEFAULT_wxUSE_MOTIF=0
1881 DEFAULT_wxUSE_MSW=0
1882 DEFAULT_wxUSE_PM=0
1883 DEFAULT_wxUSE_X11=0
1884 DEFAULT_wxUSE_DFB=0
1885
1886 DEFAULT_DEFAULT_wxUSE_COCOA=0
1887 DEFAULT_DEFAULT_wxUSE_GTK=0
1888 DEFAULT_DEFAULT_wxUSE_MAC=0
1889 DEFAULT_DEFAULT_wxUSE_MGL=0
1890 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1891 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1892 DEFAULT_DEFAULT_wxUSE_MSW=0
1893 DEFAULT_DEFAULT_wxUSE_PM=0
1894 DEFAULT_DEFAULT_wxUSE_X11=0
1895 DEFAULT_DEFAULT_wxUSE_DFB=0
1896
1897 PROGRAM_EXT=
1898 SO_SUFFIX=so
1899 SAMPLES_RPATH_FLAG=
1900 SAMPLES_RPATH_POSTLINK=
1901
1902 DEFAULT_STD_FLAG=yes
1903
1904 case "${host}" in
1905 *-hp-hpux* )
1906 USE_HPUX=1
1907 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1908 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1909 SO_SUFFIX=sl
1910 cat >>confdefs.h <<\_ACEOF
1911 #define __HPUX__ 1
1912 _ACEOF
1913
1914
1915 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1916 ;;
1917 *-*-linux* )
1918 USE_LINUX=1
1919 cat >>confdefs.h <<\_ACEOF
1920 #define __LINUX__ 1
1921 _ACEOF
1922
1923 TMP=`uname -m`
1924 if test "x$TMP" = "xalpha"; then
1925 USE_ALPHA=1
1926 cat >>confdefs.h <<\_ACEOF
1927 #define __ALPHA__ 1
1928 _ACEOF
1929
1930 fi
1931 DEFAULT_DEFAULT_wxUSE_GTK=1
1932 ;;
1933 *-*-gnu* | *-*-k*bsd*-gnu )
1934 USE_GNU=1
1935 TMP=`uname -m`
1936 if test "x$TMP" = "xalpha"; then
1937 USE_ALPHA=1
1938 cat >>confdefs.h <<\_ACEOF
1939 #define __ALPHA__ 1
1940 _ACEOF
1941
1942 fi
1943 DEFAULT_DEFAULT_wxUSE_GTK=1
1944 ;;
1945 *-*-irix5* | *-*-irix6* )
1946 USE_SGI=1
1947 USE_SVR4=1
1948 cat >>confdefs.h <<\_ACEOF
1949 #define __SGI__ 1
1950 _ACEOF
1951
1952 cat >>confdefs.h <<\_ACEOF
1953 #define __SVR4__ 1
1954 _ACEOF
1955
1956 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1957 ;;
1958 *-*-solaris2* )
1959 USE_SUN=1
1960 USE_SOLARIS=1
1961 USE_SVR4=1
1962 cat >>confdefs.h <<\_ACEOF
1963 #define __SUN__ 1
1964 _ACEOF
1965
1966 cat >>confdefs.h <<\_ACEOF
1967 #define __SOLARIS__ 1
1968 _ACEOF
1969
1970 cat >>confdefs.h <<\_ACEOF
1971 #define __SVR4__ 1
1972 _ACEOF
1973
1974 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1975 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1976 ;;
1977 *-*-sunos4* )
1978 USE_SUN=1
1979 USE_SUNOS=1
1980 USE_BSD=1
1981 cat >>confdefs.h <<\_ACEOF
1982 #define __SUN__ 1
1983 _ACEOF
1984
1985 cat >>confdefs.h <<\_ACEOF
1986 #define __SUNOS__ 1
1987 _ACEOF
1988
1989 cat >>confdefs.h <<\_ACEOF
1990 #define __BSD__ 1
1991 _ACEOF
1992
1993 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1994 ;;
1995 *-*-freebsd*)
1996 USE_BSD=1
1997 USE_FREEBSD=1
1998 cat >>confdefs.h <<\_ACEOF
1999 #define __FREEBSD__ 1
2000 _ACEOF
2001
2002 cat >>confdefs.h <<\_ACEOF
2003 #define __BSD__ 1
2004 _ACEOF
2005
2006 DEFAULT_DEFAULT_wxUSE_GTK=1
2007 ;;
2008 *-*-openbsd*|*-*-mirbsd*)
2009 USE_BSD=1
2010 USE_OPENBSD=1
2011 cat >>confdefs.h <<\_ACEOF
2012 #define __OPENBSD__ 1
2013 _ACEOF
2014
2015 cat >>confdefs.h <<\_ACEOF
2016 #define __BSD__ 1
2017 _ACEOF
2018
2019 DEFAULT_DEFAULT_wxUSE_GTK=1
2020 ;;
2021 *-*-netbsd*)
2022 USE_BSD=1
2023 USE_NETBSD=1
2024 cat >>confdefs.h <<\_ACEOF
2025 #define __NETBSD__ 1
2026 _ACEOF
2027
2028 cat >>confdefs.h <<\_ACEOF
2029 #define __BSD__ 1
2030 _ACEOF
2031
2032 DEFAULT_DEFAULT_wxUSE_GTK=1
2033 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2034
2035 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2036 ;;
2037 *-*-osf* )
2038 USE_ALPHA=1
2039 USE_OSF=1
2040 cat >>confdefs.h <<\_ACEOF
2041 #define __ALPHA__ 1
2042 _ACEOF
2043
2044 cat >>confdefs.h <<\_ACEOF
2045 #define __OSF__ 1
2046 _ACEOF
2047
2048 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2049 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2050 ;;
2051 *-*-dgux5* )
2052 USE_ALPHA=1
2053 USE_SVR4=1
2054 cat >>confdefs.h <<\_ACEOF
2055 #define __ALPHA__ 1
2056 _ACEOF
2057
2058 cat >>confdefs.h <<\_ACEOF
2059 #define __SVR4__ 1
2060 _ACEOF
2061
2062 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2063 ;;
2064 *-*-sysv5* )
2065 USE_SYSV=1
2066 USE_SVR4=1
2067 cat >>confdefs.h <<\_ACEOF
2068 #define __SYSV__ 1
2069 _ACEOF
2070
2071 cat >>confdefs.h <<\_ACEOF
2072 #define __SVR4__ 1
2073 _ACEOF
2074
2075 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2076 ;;
2077 *-*-aix* )
2078 USE_AIX=1
2079 USE_SYSV=1
2080 USE_SVR4=1
2081 SO_SUFFIX=a
2082 cat >>confdefs.h <<\_ACEOF
2083 #define __AIX__ 1
2084 _ACEOF
2085
2086 cat >>confdefs.h <<\_ACEOF
2087 #define __SYSV__ 1
2088 _ACEOF
2089
2090 cat >>confdefs.h <<\_ACEOF
2091 #define __SVR4__ 1
2092 _ACEOF
2093
2094 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2095 ;;
2096
2097 *-*-*UnixWare*)
2098 USE_SYSV=1
2099 USE_SVR4=1
2100 USE_UNIXWARE=1
2101 cat >>confdefs.h <<\_ACEOF
2102 #define __UNIXWARE__ 1
2103 _ACEOF
2104
2105 ;;
2106
2107 *-*-cygwin* | *-*-mingw32* )
2108 SO_SUFFIX=dll
2109 PROGRAM_EXT=".exe"
2110 DEFAULT_DEFAULT_wxUSE_MSW=1
2111 ;;
2112
2113 *-pc-msdosdjgpp )
2114 USE_UNIX=0
2115 USE_DOS=1
2116 cat >>confdefs.h <<\_ACEOF
2117 #define __DOS__ 1
2118 _ACEOF
2119
2120 PROGRAM_EXT=".exe"
2121 DEFAULT_DEFAULT_wxUSE_MGL=1
2122 ;;
2123
2124 *-pc-os2_emx | *-pc-os2-emx )
2125 cat >>confdefs.h <<\_ACEOF
2126 #define __EMX__ 1
2127 _ACEOF
2128
2129 USE_OS2=1
2130 cat >>confdefs.h <<\_ACEOF
2131 #define __OS2__ 1
2132 _ACEOF
2133
2134 PROGRAM_EXT=".exe"
2135 DEFAULT_DEFAULT_wxUSE_PM=1
2136 CXX=gcc
2137 LDFLAGS="$LDFLAGS -Zcrtdll"
2138 ac_executable_extensions=".exe"
2139 export ac_executable_extensions
2140 ac_save_IFS="$IFS"
2141 IFS='\\'
2142 ac_TEMP_PATH=
2143 for ac_dir in $PATH; do
2144 IFS=$ac_save_IFS
2145 if test -z "$ac_TEMP_PATH"; then
2146 ac_TEMP_PATH="$ac_dir"
2147 else
2148 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2149 fi
2150 done
2151 export PATH="$ac_TEMP_PATH"
2152 unset ac_TEMP_PATH
2153 DEFAULT_STD_FLAG=no
2154 ;;
2155
2156 *-*-darwin* )
2157 USE_BSD=1
2158 USE_DARWIN=1
2159 SO_SUFFIX=dylib
2160 cat >>confdefs.h <<\_ACEOF
2161 #define __BSD__ 1
2162 _ACEOF
2163
2164 cat >>confdefs.h <<\_ACEOF
2165 #define __DARWIN__ 1
2166 _ACEOF
2167
2168 cat >>confdefs.h <<\_ACEOF
2169 #define TARGET_CARBON 1
2170 _ACEOF
2171
2172 DEFAULT_DEFAULT_wxUSE_MAC=1
2173 DEFAULT_STD_FLAG=no
2174 ;;
2175 powerpc-apple-macos* )
2176 USE_UNIX=0
2177 ac_cv_c_bigendian=yes
2178 SO_SUFFIX=shlib
2179 DEFAULT_DEFAULT_wxUSE_MAC=1
2180 DEFAULT_STD_FLAG=no
2181 ;;
2182
2183 *-*-beos* )
2184 USE_BEOS=1
2185 cat >>confdefs.h <<\_ACEOF
2186 #define __BEOS__ 1
2187 _ACEOF
2188
2189 ;;
2190
2191 *)
2192 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2193 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2194 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2195 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2196
2197 DEFAULT_DEFAULT_wxUSE_X11=1
2198 DEFAULT_wxUSE_SHARED=no
2199 esac
2200
2201
2202
2203
2204 wx_arg_cache_file="configarg.cache"
2205 echo "loading argument cache $wx_arg_cache_file"
2206 rm -f ${wx_arg_cache_file}.tmp
2207 touch ${wx_arg_cache_file}.tmp
2208 touch ${wx_arg_cache_file}
2209
2210
2211 DEFAULT_wxUSE_ALL_FEATURES=yes
2212
2213 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2214 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2215
2216 DEFAULT_wxUSE_DMALLOC=no
2217 DEFAULT_wxUSE_LIBGNOMEVFS=no
2218 DEFAULT_wxUSE_LIBHILDON=no
2219 DEFAULT_wxUSE_LIBMSPACK=no
2220 DEFAULT_wxUSE_LIBSDL=no
2221 DEFAULT_wxUSE_ODBC=no
2222 DEFAULT_wxUSE_OPENGL=no
2223
2224 DEFAULT_wxUSE_ACCESSIBILITY=no
2225 DEFAULT_wxUSE_DATAVIEWCTRL=no
2226 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2227 DEFAULT_wxUSE_MEDIACTRL=no
2228 DEFAULT_wxUSE_TAB_DIALOG=no
2229
2230 DEFAULT_wxUSE_UNICODE_UTF8=auto
2231 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2232
2233 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2234
2235 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2236
2237 DEFAULT_wxUSE_GTK2=yes
2238
2239 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2240
2241
2242 for toolkit in `echo $ALL_TOOLKITS`; do
2243 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2244 if test "x$LINE" != "x" ; then
2245 has_toolkit_in_cache=1
2246 eval "DEFAULT_$LINE"
2247 eval "CACHE_$toolkit=1"
2248
2249 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2250 if test "x$LINE" != "x" ; then
2251 eval "DEFAULT_$LINE"
2252 fi
2253 fi
2254 done
2255
2256
2257
2258
2259
2260 enablestring=disable
2261 defaultval=
2262 if test -z "$defaultval"; then
2263 if test x"$enablestring" = xdisable; then
2264 defaultval=yes
2265 else
2266 defaultval=no
2267 fi
2268 fi
2269
2270 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2271 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2272 # Check whether --enable-gui or --disable-gui was given.
2273 if test "${enable_gui+set}" = set; then
2274 enableval="$enable_gui"
2275
2276 if test "$enableval" = yes; then
2277 wx_cv_use_gui='wxUSE_GUI=yes'
2278 else
2279 wx_cv_use_gui='wxUSE_GUI=no'
2280 fi
2281 cache=yes
2282
2283 else
2284
2285 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2286 if test "x$LINE" != x ; then
2287 eval "DEFAULT_$LINE"
2288 cache=yes
2289 else
2290 cache=no
2291 fi
2292
2293 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2294
2295 fi;
2296
2297 eval "$wx_cv_use_gui"
2298 if test "x$cache" = xyes; then
2299 echo "wxUSE_GUI=$wxUSE_GUI" >> ${wx_arg_cache_file}.tmp
2300 fi
2301
2302 if test x"$enablestring" = xdisable; then
2303 if test $wxUSE_GUI = yes; then
2304 result=no
2305 else
2306 result=yes
2307 fi
2308 else
2309 result=$wxUSE_GUI
2310 fi
2311
2312 echo "$as_me:$LINENO: result: $result" >&5
2313 echo "${ECHO_T}$result" >&6
2314
2315
2316 enablestring=
2317 defaultval=
2318 if test -z "$defaultval"; then
2319 if test x"$enablestring" = xdisable; then
2320 defaultval=yes
2321 else
2322 defaultval=no
2323 fi
2324 fi
2325
2326 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2327 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2328 # Check whether --enable-monolithic or --disable-monolithic was given.
2329 if test "${enable_monolithic+set}" = set; then
2330 enableval="$enable_monolithic"
2331
2332 if test "$enableval" = yes; then
2333 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2334 else
2335 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2336 fi
2337 cache=yes
2338
2339 else
2340
2341 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
2342 if test "x$LINE" != x ; then
2343 eval "DEFAULT_$LINE"
2344 cache=yes
2345 else
2346 cache=no
2347 fi
2348
2349 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
2350
2351 fi;
2352
2353 eval "$wx_cv_use_monolithic"
2354 if test "x$cache" = xyes; then
2355 echo "wxUSE_MONOLITHIC=$wxUSE_MONOLITHIC" >> ${wx_arg_cache_file}.tmp
2356 fi
2357
2358 if test x"$enablestring" = xdisable; then
2359 if test $wxUSE_MONOLITHIC = yes; then
2360 result=no
2361 else
2362 result=yes
2363 fi
2364 else
2365 result=$wxUSE_MONOLITHIC
2366 fi
2367
2368 echo "$as_me:$LINENO: result: $result" >&5
2369 echo "${ECHO_T}$result" >&6
2370
2371
2372 enablestring=
2373 defaultval=
2374 if test -z "$defaultval"; then
2375 if test x"$enablestring" = xdisable; then
2376 defaultval=yes
2377 else
2378 defaultval=no
2379 fi
2380 fi
2381
2382 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2383 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2384 # Check whether --enable-plugins or --disable-plugins was given.
2385 if test "${enable_plugins+set}" = set; then
2386 enableval="$enable_plugins"
2387
2388 if test "$enableval" = yes; then
2389 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
2390 else
2391 wx_cv_use_plugins='wxUSE_PLUGINS=no'
2392 fi
2393 cache=yes
2394
2395 else
2396
2397 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
2398 if test "x$LINE" != x ; then
2399 eval "DEFAULT_$LINE"
2400 cache=yes
2401 else
2402 cache=no
2403 fi
2404
2405 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
2406
2407 fi;
2408
2409 eval "$wx_cv_use_plugins"
2410 if test "x$cache" = xyes; then
2411 echo "wxUSE_PLUGINS=$wxUSE_PLUGINS" >> ${wx_arg_cache_file}.tmp
2412 fi
2413
2414 if test x"$enablestring" = xdisable; then
2415 if test $wxUSE_PLUGINS = yes; then
2416 result=no
2417 else
2418 result=yes
2419 fi
2420 else
2421 result=$wxUSE_PLUGINS
2422 fi
2423
2424 echo "$as_me:$LINENO: result: $result" >&5
2425 echo "${ECHO_T}$result" >&6
2426
2427
2428 withstring=without
2429 defaultval=$wxUSE_ALL_FEATURES
2430 if test -z "$defaultval"; then
2431 if test x"$withstring" = xwithout; then
2432 defaultval=yes
2433 else
2434 defaultval=no
2435 fi
2436 fi
2437 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2438 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2439
2440 # Check whether --with-subdirs or --without-subdirs was given.
2441 if test "${with_subdirs+set}" = set; then
2442 withval="$with_subdirs"
2443
2444 if test "$withval" = yes; then
2445 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2446 else
2447 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
2448 fi
2449 cache=yes
2450
2451 else
2452
2453 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
2454 if test "x$LINE" != x ; then
2455 eval "DEFAULT_$LINE"
2456 cache=yes
2457 else
2458 cache=no
2459 fi
2460
2461 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
2462
2463 fi;
2464
2465 eval "$wx_cv_use_subdirs"
2466 if test "x$cache" = xyes; then
2467 echo "wxWITH_SUBDIRS=$wxWITH_SUBDIRS" >> ${wx_arg_cache_file}.tmp
2468 fi
2469
2470 if test x"$withstring" = xwithout; then
2471 if test $wxWITH_SUBDIRS = yes; then
2472 result=no
2473 else
2474 result=yes
2475 fi
2476 else
2477 result=$wxWITH_SUBDIRS
2478 fi
2479
2480 echo "$as_me:$LINENO: result: $result" >&5
2481 echo "${ECHO_T}$result" >&6
2482
2483
2484 # Check whether --with-flavour or --without-flavour was given.
2485 if test "${with_flavour+set}" = set; then
2486 withval="$with_flavour"
2487 WX_FLAVOUR="$withval"
2488 fi;
2489
2490 enablestring=
2491 defaultval=
2492 if test -z "$defaultval"; then
2493 if test x"$enablestring" = xdisable; then
2494 defaultval=yes
2495 else
2496 defaultval=no
2497 fi
2498 fi
2499
2500 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
2501 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
2502 # Check whether --enable-official_build or --disable-official_build was given.
2503 if test "${enable_official_build+set}" = set; then
2504 enableval="$enable_official_build"
2505
2506 if test "$enableval" = yes; then
2507 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
2508 else
2509 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
2510 fi
2511 cache=yes
2512
2513 else
2514
2515 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
2516 if test "x$LINE" != x ; then
2517 eval "DEFAULT_$LINE"
2518 cache=yes
2519 else
2520 cache=no
2521 fi
2522
2523 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
2524
2525 fi;
2526
2527 eval "$wx_cv_use_official_build"
2528 if test "x$cache" = xyes; then
2529 echo "wxUSE_OFFICIAL_BUILD=$wxUSE_OFFICIAL_BUILD" >> ${wx_arg_cache_file}.tmp
2530 fi
2531
2532 if test x"$enablestring" = xdisable; then
2533 if test $wxUSE_OFFICIAL_BUILD = yes; then
2534 result=no
2535 else
2536 result=yes
2537 fi
2538 else
2539 result=$wxUSE_OFFICIAL_BUILD
2540 fi
2541
2542 echo "$as_me:$LINENO: result: $result" >&5
2543 echo "${ECHO_T}$result" >&6
2544
2545 # Check whether --enable-vendor or --disable-vendor was given.
2546 if test "${enable_vendor+set}" = set; then
2547 enableval="$enable_vendor"
2548 VENDOR="$enableval"
2549 fi;
2550 if test "x$VENDOR" = "x"; then
2551 VENDOR="custom"
2552 fi
2553
2554
2555 enablestring=disable
2556 defaultval=
2557 if test -z "$defaultval"; then
2558 if test x"$enablestring" = xdisable; then
2559 defaultval=yes
2560 else
2561 defaultval=no
2562 fi
2563 fi
2564
2565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
2566 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6
2567 # Check whether --enable-all-features or --disable-all-features was given.
2568 if test "${enable_all_features+set}" = set; then
2569 enableval="$enable_all_features"
2570
2571 if test "$enableval" = yes; then
2572 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
2573 else
2574 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
2575 fi
2576 cache=yes
2577
2578 else
2579
2580 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
2581 if test "x$LINE" != x ; then
2582 eval "DEFAULT_$LINE"
2583 cache=yes
2584 else
2585 cache=no
2586 fi
2587
2588 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
2589
2590 fi;
2591
2592 eval "$wx_cv_use_all_features"
2593 if test "x$cache" = xyes; then
2594 echo "wxUSE_ALL_FEATURES=$wxUSE_ALL_FEATURES" >> ${wx_arg_cache_file}.tmp
2595 fi
2596
2597 if test x"$enablestring" = xdisable; then
2598 if test $wxUSE_ALL_FEATURES = yes; then
2599 result=no
2600 else
2601 result=yes
2602 fi
2603 else
2604 result=$wxUSE_ALL_FEATURES
2605 fi
2606
2607 echo "$as_me:$LINENO: result: $result" >&5
2608 echo "${ECHO_T}$result" >&6
2609
2610
2611
2612 if test "$wxUSE_GUI" = "yes"; then
2613
2614
2615 enablestring=
2616 defaultval=
2617 if test -z "$defaultval"; then
2618 if test x"$enablestring" = xdisable; then
2619 defaultval=yes
2620 else
2621 defaultval=no
2622 fi
2623 fi
2624
2625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2626 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2627 # Check whether --enable-universal or --disable-universal was given.
2628 if test "${enable_universal+set}" = set; then
2629 enableval="$enable_universal"
2630
2631 if test "$enableval" = yes; then
2632 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
2633 else
2634 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
2635 fi
2636 cache=yes
2637
2638 else
2639
2640 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
2641 if test "x$LINE" != x ; then
2642 eval "DEFAULT_$LINE"
2643 cache=yes
2644 else
2645 cache=no
2646 fi
2647
2648 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
2649
2650 fi;
2651
2652 eval "$wx_cv_use_universal"
2653 if test "x$cache" = xyes; then
2654 echo "wxUSE_UNIVERSAL=$wxUSE_UNIVERSAL" >> ${wx_arg_cache_file}.tmp
2655 fi
2656
2657 if test x"$enablestring" = xdisable; then
2658 if test $wxUSE_UNIVERSAL = yes; then
2659 result=no
2660 else
2661 result=yes
2662 fi
2663 else
2664 result=$wxUSE_UNIVERSAL
2665 fi
2666
2667 echo "$as_me:$LINENO: result: $result" >&5
2668 echo "${ECHO_T}$result" >&6
2669
2670 if test "$wxUSE_UNIVERSAL" = "yes"; then
2671
2672 # Check whether --with-themes or --without-themes was given.
2673 if test "${with_themes+set}" = set; then
2674 withval="$with_themes"
2675 wxUNIV_THEMES="$withval"
2676 fi;
2677 fi
2678
2679
2680 # Check whether --with-gtk or --without-gtk was given.
2681 if test "${with_gtk+set}" = set; then
2682 withval="$with_gtk"
2683 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2684 fi;
2685
2686 # Check whether --with-motif or --without-motif was given.
2687 if test "${with_motif+set}" = set; then
2688 withval="$with_motif"
2689 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2690 fi;
2691
2692 # Check whether --with-mac or --without-mac was given.
2693 if test "${with_mac+set}" = set; then
2694 withval="$with_mac"
2695 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2696 fi;
2697
2698 # Check whether --with-cocoa or --without-cocoa was given.
2699 if test "${with_cocoa+set}" = set; then
2700 withval="$with_cocoa"
2701 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2702 fi;
2703
2704 # Check whether --with-wine or --without-wine was given.
2705 if test "${with_wine+set}" = set; then
2706 withval="$with_wine"
2707 wxUSE_WINE="$withval" CACHE_WINE=1
2708 fi;
2709
2710 # Check whether --with-msw or --without-msw was given.
2711 if test "${with_msw+set}" = set; then
2712 withval="$with_msw"
2713 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2714 fi;
2715
2716 # Check whether --with-pm or --without-pm was given.
2717 if test "${with_pm+set}" = set; then
2718 withval="$with_pm"
2719 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2720 fi;
2721
2722 # Check whether --with-mgl or --without-mgl was given.
2723 if test "${with_mgl+set}" = set; then
2724 withval="$with_mgl"
2725 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2726 fi;
2727
2728 # Check whether --with-directfb or --without-directfb was given.
2729 if test "${with_directfb+set}" = set; then
2730 withval="$with_directfb"
2731 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2732 fi;
2733
2734 # Check whether --with-microwin or --without-microwin was given.
2735 if test "${with_microwin+set}" = set; then
2736 withval="$with_microwin"
2737 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2738 fi;
2739
2740 # Check whether --with-x11 or --without-x11 was given.
2741 if test "${with_x11+set}" = set; then
2742 withval="$with_x11"
2743 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2744 fi;
2745
2746 enablestring=
2747 defaultval=
2748 if test -z "$defaultval"; then
2749 if test x"$enablestring" = xdisable; then
2750 defaultval=yes
2751 else
2752 defaultval=no
2753 fi
2754 fi
2755
2756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2757 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2758 # Check whether --enable-nanox or --disable-nanox was given.
2759 if test "${enable_nanox+set}" = set; then
2760 enableval="$enable_nanox"
2761
2762 if test "$enableval" = yes; then
2763 wx_cv_use_nanox='wxUSE_NANOX=yes'
2764 else
2765 wx_cv_use_nanox='wxUSE_NANOX=no'
2766 fi
2767 cache=yes
2768
2769 else
2770
2771 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
2772 if test "x$LINE" != x ; then
2773 eval "DEFAULT_$LINE"
2774 cache=yes
2775 else
2776 cache=no
2777 fi
2778
2779 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
2780
2781 fi;
2782
2783 eval "$wx_cv_use_nanox"
2784 if test "x$cache" = xyes; then
2785 echo "wxUSE_NANOX=$wxUSE_NANOX" >> ${wx_arg_cache_file}.tmp
2786 fi
2787
2788 if test x"$enablestring" = xdisable; then
2789 if test $wxUSE_NANOX = yes; then
2790 result=no
2791 else
2792 result=yes
2793 fi
2794 else
2795 result=$wxUSE_NANOX
2796 fi
2797
2798 echo "$as_me:$LINENO: result: $result" >&5
2799 echo "${ECHO_T}$result" >&6
2800
2801
2802 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2803 if test "${enable_gtk2+set}" = set; then
2804 enableval="$enable_gtk2"
2805 wxUSE_GTK2="$enableval"
2806 fi;
2807
2808 enablestring=
2809 defaultval=
2810 if test -z "$defaultval"; then
2811 if test x"$enablestring" = xdisable; then
2812 defaultval=yes
2813 else
2814 defaultval=no
2815 fi
2816 fi
2817
2818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2819 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2820 # Check whether --enable-gpe or --disable-gpe was given.
2821 if test "${enable_gpe+set}" = set; then
2822 enableval="$enable_gpe"
2823
2824 if test "$enableval" = yes; then
2825 wx_cv_use_gpe='wxUSE_GPE=yes'
2826 else
2827 wx_cv_use_gpe='wxUSE_GPE=no'
2828 fi
2829 cache=yes
2830
2831 else
2832
2833 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
2834 if test "x$LINE" != x ; then
2835 eval "DEFAULT_$LINE"
2836 cache=yes
2837 else
2838 cache=no
2839 fi
2840
2841 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
2842
2843 fi;
2844
2845 eval "$wx_cv_use_gpe"
2846 if test "x$cache" = xyes; then
2847 echo "wxUSE_GPE=$wxUSE_GPE" >> ${wx_arg_cache_file}.tmp
2848 fi
2849
2850 if test x"$enablestring" = xdisable; then
2851 if test $wxUSE_GPE = yes; then
2852 result=no
2853 else
2854 result=yes
2855 fi
2856 else
2857 result=$wxUSE_GPE
2858 fi
2859
2860 echo "$as_me:$LINENO: result: $result" >&5
2861 echo "${ECHO_T}$result" >&6
2862
2863
2864
2865
2866 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2867 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2868
2869 # Check whether --with-libpng or --without-libpng was given.
2870 if test "${with_libpng+set}" = set; then
2871 withval="$with_libpng"
2872
2873 if test "$withval" = yes; then
2874 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
2875 elif test "$withval" = no; then
2876 wx_cv_use_libpng='wxUSE_LIBPNG=no'
2877 elif test "$withval" = sys; then
2878 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
2879 elif test "$withval" = builtin; then
2880 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
2881 else
2882 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2883 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2884 { (exit 1); exit 1; }; }
2885 fi
2886 cache=yes
2887
2888 else
2889
2890 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
2891 if test "x$LINE" != x ; then
2892 eval "DEFAULT_$LINE"
2893 cache=yes
2894 else
2895 cache=no
2896 fi
2897
2898 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
2899
2900 fi;
2901
2902 eval "$wx_cv_use_libpng"
2903 if test "x$cache" = xyes; then
2904 echo "wxUSE_LIBPNG=$wxUSE_LIBPNG" >> ${wx_arg_cache_file}.tmp
2905 fi
2906
2907 if test "$wxUSE_LIBPNG" = yes; then
2908 echo "$as_me:$LINENO: result: yes" >&5
2909 echo "${ECHO_T}yes" >&6
2910 elif test "$wxUSE_LIBPNG" = no; then
2911 echo "$as_me:$LINENO: result: no" >&5
2912 echo "${ECHO_T}no" >&6
2913 elif test "$wxUSE_LIBPNG" = sys; then
2914 echo "$as_me:$LINENO: result: system version" >&5
2915 echo "${ECHO_T}system version" >&6
2916 elif test "$wxUSE_LIBPNG" = builtin; then
2917 echo "$as_me:$LINENO: result: builtin version" >&5
2918 echo "${ECHO_T}builtin version" >&6
2919 else
2920 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
2921 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
2922 { (exit 1); exit 1; }; }
2923 fi
2924
2925
2926 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
2927 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
2928
2929 # Check whether --with-libjpeg or --without-libjpeg was given.
2930 if test "${with_libjpeg+set}" = set; then
2931 withval="$with_libjpeg"
2932
2933 if test "$withval" = yes; then
2934 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
2935 elif test "$withval" = no; then
2936 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
2937 elif test "$withval" = sys; then
2938 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
2939 elif test "$withval" = builtin; then
2940 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
2941 else
2942 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
2943 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
2944 { (exit 1); exit 1; }; }
2945 fi
2946 cache=yes
2947
2948 else
2949
2950 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
2951 if test "x$LINE" != x ; then
2952 eval "DEFAULT_$LINE"
2953 cache=yes
2954 else
2955 cache=no
2956 fi
2957
2958 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
2959
2960 fi;
2961
2962 eval "$wx_cv_use_libjpeg"
2963 if test "x$cache" = xyes; then
2964 echo "wxUSE_LIBJPEG=$wxUSE_LIBJPEG" >> ${wx_arg_cache_file}.tmp
2965 fi
2966
2967 if test "$wxUSE_LIBJPEG" = yes; then
2968 echo "$as_me:$LINENO: result: yes" >&5
2969 echo "${ECHO_T}yes" >&6
2970 elif test "$wxUSE_LIBJPEG" = no; then
2971 echo "$as_me:$LINENO: result: no" >&5
2972 echo "${ECHO_T}no" >&6
2973 elif test "$wxUSE_LIBJPEG" = sys; then
2974 echo "$as_me:$LINENO: result: system version" >&5
2975 echo "${ECHO_T}system version" >&6
2976 elif test "$wxUSE_LIBJPEG" = 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-libjpeg: should be yes, no, sys, or builtin" >&5
2981 echo "$as_me: error: Invalid value for --with-libjpeg: 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-libtiff" >&5
2987 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
2988
2989 # Check whether --with-libtiff or --without-libtiff was given.
2990 if test "${with_libtiff+set}" = set; then
2991 withval="$with_libtiff"
2992
2993 if test "$withval" = yes; then
2994 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
2995 elif test "$withval" = no; then
2996 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
2997 elif test "$withval" = sys; then
2998 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
2999 elif test "$withval" = builtin; then
3000 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3001 else
3002 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3003 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3004 { (exit 1); exit 1; }; }
3005 fi
3006 cache=yes
3007
3008 else
3009
3010 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3011 if test "x$LINE" != x ; then
3012 eval "DEFAULT_$LINE"
3013 cache=yes
3014 else
3015 cache=no
3016 fi
3017
3018 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3019
3020 fi;
3021
3022 eval "$wx_cv_use_libtiff"
3023 if test "x$cache" = xyes; then
3024 echo "wxUSE_LIBTIFF=$wxUSE_LIBTIFF" >> ${wx_arg_cache_file}.tmp
3025 fi
3026
3027 if test "$wxUSE_LIBTIFF" = yes; then
3028 echo "$as_me:$LINENO: result: yes" >&5
3029 echo "${ECHO_T}yes" >&6
3030 elif test "$wxUSE_LIBTIFF" = no; then
3031 echo "$as_me:$LINENO: result: no" >&5
3032 echo "${ECHO_T}no" >&6
3033 elif test "$wxUSE_LIBTIFF" = sys; then
3034 echo "$as_me:$LINENO: result: system version" >&5
3035 echo "${ECHO_T}system version" >&6
3036 elif test "$wxUSE_LIBTIFF" = builtin; then
3037 echo "$as_me:$LINENO: result: builtin version" >&5
3038 echo "${ECHO_T}builtin version" >&6
3039 else
3040 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3041 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3042 { (exit 1); exit 1; }; }
3043 fi
3044
3045
3046 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3047 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3048
3049 # Check whether --with-libxpm or --without-libxpm was given.
3050 if test "${with_libxpm+set}" = set; then
3051 withval="$with_libxpm"
3052
3053 if test "$withval" = yes; then
3054 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3055 elif test "$withval" = no; then
3056 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3057 elif test "$withval" = sys; then
3058 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3059 elif test "$withval" = builtin; then
3060 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3061 else
3062 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3063 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3064 { (exit 1); exit 1; }; }
3065 fi
3066 cache=yes
3067
3068 else
3069
3070 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3071 if test "x$LINE" != x ; then
3072 eval "DEFAULT_$LINE"
3073 cache=yes
3074 else
3075 cache=no
3076 fi
3077
3078 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3079
3080 fi;
3081
3082 eval "$wx_cv_use_libxpm"
3083 if test "x$cache" = xyes; then
3084 echo "wxUSE_LIBXPM=$wxUSE_LIBXPM" >> ${wx_arg_cache_file}.tmp
3085 fi
3086
3087 if test "$wxUSE_LIBXPM" = yes; then
3088 echo "$as_me:$LINENO: result: yes" >&5
3089 echo "${ECHO_T}yes" >&6
3090 elif test "$wxUSE_LIBXPM" = no; then
3091 echo "$as_me:$LINENO: result: no" >&5
3092 echo "${ECHO_T}no" >&6
3093 elif test "$wxUSE_LIBXPM" = sys; then
3094 echo "$as_me:$LINENO: result: system version" >&5
3095 echo "${ECHO_T}system version" >&6
3096 elif test "$wxUSE_LIBXPM" = builtin; then
3097 echo "$as_me:$LINENO: result: builtin version" >&5
3098 echo "${ECHO_T}builtin version" >&6
3099 else
3100 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3101 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3102 { (exit 1); exit 1; }; }
3103 fi
3104
3105
3106 withstring=
3107 defaultval=$wxUSE_ALL_FEATURES
3108 if test -z "$defaultval"; then
3109 if test x"$withstring" = xwithout; then
3110 defaultval=yes
3111 else
3112 defaultval=no
3113 fi
3114 fi
3115 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3116 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3117
3118 # Check whether --with-libmspack or --without-libmspack was given.
3119 if test "${with_libmspack+set}" = set; then
3120 withval="$with_libmspack"
3121
3122 if test "$withval" = yes; then
3123 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3124 else
3125 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3126 fi
3127 cache=yes
3128
3129 else
3130
3131 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3132 if test "x$LINE" != x ; then
3133 eval "DEFAULT_$LINE"
3134 cache=yes
3135 else
3136 cache=no
3137 fi
3138
3139 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3140
3141 fi;
3142
3143 eval "$wx_cv_use_libmspack"
3144 if test "x$cache" = xyes; then
3145 echo "wxUSE_LIBMSPACK=$wxUSE_LIBMSPACK" >> ${wx_arg_cache_file}.tmp
3146 fi
3147
3148 if test x"$withstring" = xwithout; then
3149 if test $wxUSE_LIBMSPACK = yes; then
3150 result=no
3151 else
3152 result=yes
3153 fi
3154 else
3155 result=$wxUSE_LIBMSPACK
3156 fi
3157
3158 echo "$as_me:$LINENO: result: $result" >&5
3159 echo "${ECHO_T}$result" >&6
3160
3161
3162 withstring=without
3163 defaultval=$wxUSE_ALL_FEATURES
3164 if test -z "$defaultval"; then
3165 if test x"$withstring" = xwithout; then
3166 defaultval=yes
3167 else
3168 defaultval=no
3169 fi
3170 fi
3171 echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3172 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6
3173
3174 # Check whether --with-gtkprint or --without-gtkprint was given.
3175 if test "${with_gtkprint+set}" = set; then
3176 withval="$with_gtkprint"
3177
3178 if test "$withval" = yes; then
3179 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3180 else
3181 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3182 fi
3183 cache=yes
3184
3185 else
3186
3187 LINE=`grep "^wxUSE_GTKPRINT=" ${wx_arg_cache_file}`
3188 if test "x$LINE" != x ; then
3189 eval "DEFAULT_$LINE"
3190 cache=yes
3191 else
3192 cache=no
3193 fi
3194
3195 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3196
3197 fi;
3198
3199 eval "$wx_cv_use_gtkprint"
3200 if test "x$cache" = xyes; then
3201 echo "wxUSE_GTKPRINT=$wxUSE_GTKPRINT" >> ${wx_arg_cache_file}.tmp
3202 fi
3203
3204 if test x"$withstring" = xwithout; then
3205 if test $wxUSE_GTKPRINT = yes; then
3206 result=no
3207 else
3208 result=yes
3209 fi
3210 else
3211 result=$wxUSE_GTKPRINT
3212 fi
3213
3214 echo "$as_me:$LINENO: result: $result" >&5
3215 echo "${ECHO_T}$result" >&6
3216
3217
3218 withstring=without
3219 defaultval=$wxUSE_ALL_FEATURES
3220 if test -z "$defaultval"; then
3221 if test x"$withstring" = xwithout; then
3222 defaultval=yes
3223 else
3224 defaultval=no
3225 fi
3226 fi
3227 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3228 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3229
3230 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3231 if test "${with_gnomeprint+set}" = set; then
3232 withval="$with_gnomeprint"
3233
3234 if test "$withval" = yes; then
3235 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3236 else
3237 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3238 fi
3239 cache=yes
3240
3241 else
3242
3243 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3244 if test "x$LINE" != x ; then
3245 eval "DEFAULT_$LINE"
3246 cache=yes
3247 else
3248 cache=no
3249 fi
3250
3251 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3252
3253 fi;
3254
3255 eval "$wx_cv_use_gnomeprint"
3256 if test "x$cache" = xyes; then
3257 echo "wxUSE_LIBGNOMEPRINT=$wxUSE_LIBGNOMEPRINT" >> ${wx_arg_cache_file}.tmp
3258 fi
3259
3260 if test x"$withstring" = xwithout; then
3261 if test $wxUSE_LIBGNOMEPRINT = yes; then
3262 result=no
3263 else
3264 result=yes
3265 fi
3266 else
3267 result=$wxUSE_LIBGNOMEPRINT
3268 fi
3269
3270 echo "$as_me:$LINENO: result: $result" >&5
3271 echo "${ECHO_T}$result" >&6
3272
3273
3274 withstring=
3275 defaultval=$wxUSE_ALL_FEATURES
3276 if test -z "$defaultval"; then
3277 if test x"$withstring" = xwithout; then
3278 defaultval=yes
3279 else
3280 defaultval=no
3281 fi
3282 fi
3283 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3284 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3285
3286 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3287 if test "${with_gnomevfs+set}" = set; then
3288 withval="$with_gnomevfs"
3289
3290 if test "$withval" = yes; then
3291 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3292 else
3293 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3294 fi
3295 cache=yes
3296
3297 else
3298
3299 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3300 if test "x$LINE" != x ; then
3301 eval "DEFAULT_$LINE"
3302 cache=yes
3303 else
3304 cache=no
3305 fi
3306
3307 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3308
3309 fi;
3310
3311 eval "$wx_cv_use_gnomevfs"
3312 if test "x$cache" = xyes; then
3313 echo "wxUSE_LIBGNOMEVFS=$wxUSE_LIBGNOMEVFS" >> ${wx_arg_cache_file}.tmp
3314 fi
3315
3316 if test x"$withstring" = xwithout; then
3317 if test $wxUSE_LIBGNOMEVFS = yes; then
3318 result=no
3319 else
3320 result=yes
3321 fi
3322 else
3323 result=$wxUSE_LIBGNOMEVFS
3324 fi
3325
3326 echo "$as_me:$LINENO: result: $result" >&5
3327 echo "${ECHO_T}$result" >&6
3328
3329
3330 withstring=
3331 defaultval=$wxUSE_ALL_FEATURES
3332 if test -z "$defaultval"; then
3333 if test x"$withstring" = xwithout; then
3334 defaultval=yes
3335 else
3336 defaultval=no
3337 fi
3338 fi
3339 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3340 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3341
3342 # Check whether --with-hildon or --without-hildon was given.
3343 if test "${with_hildon+set}" = set; then
3344 withval="$with_hildon"
3345
3346 if test "$withval" = yes; then
3347 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3348 else
3349 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3350 fi
3351 cache=yes
3352
3353 else
3354
3355 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3356 if test "x$LINE" != x ; then
3357 eval "DEFAULT_$LINE"
3358 cache=yes
3359 else
3360 cache=no
3361 fi
3362
3363 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3364
3365 fi;
3366
3367 eval "$wx_cv_use_hildon"
3368 if test "x$cache" = xyes; then
3369 echo "wxUSE_LIBHILDON=$wxUSE_LIBHILDON" >> ${wx_arg_cache_file}.tmp
3370 fi
3371
3372 if test x"$withstring" = xwithout; then
3373 if test $wxUSE_LIBHILDON = yes; then
3374 result=no
3375 else
3376 result=yes
3377 fi
3378 else
3379 result=$wxUSE_LIBHILDON
3380 fi
3381
3382 echo "$as_me:$LINENO: result: $result" >&5
3383 echo "${ECHO_T}$result" >&6
3384
3385
3386 withstring=
3387 defaultval=$wxUSE_ALL_FEATURES
3388 if test -z "$defaultval"; then
3389 if test x"$withstring" = xwithout; then
3390 defaultval=yes
3391 else
3392 defaultval=no
3393 fi
3394 fi
3395 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3396 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3397
3398 # Check whether --with-opengl or --without-opengl was given.
3399 if test "${with_opengl+set}" = set; then
3400 withval="$with_opengl"
3401
3402 if test "$withval" = yes; then
3403 wx_cv_use_opengl='wxUSE_OPENGL=yes'
3404 else
3405 wx_cv_use_opengl='wxUSE_OPENGL=no'
3406 fi
3407 cache=yes
3408
3409 else
3410
3411 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
3412 if test "x$LINE" != x ; then
3413 eval "DEFAULT_$LINE"
3414 cache=yes
3415 else
3416 cache=no
3417 fi
3418
3419 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
3420
3421 fi;
3422
3423 eval "$wx_cv_use_opengl"
3424 if test "x$cache" = xyes; then
3425 echo "wxUSE_OPENGL=$wxUSE_OPENGL" >> ${wx_arg_cache_file}.tmp
3426 fi
3427
3428 if test x"$withstring" = xwithout; then
3429 if test $wxUSE_OPENGL = yes; then
3430 result=no
3431 else
3432 result=yes
3433 fi
3434 else
3435 result=$wxUSE_OPENGL
3436 fi
3437
3438 echo "$as_me:$LINENO: result: $result" >&5
3439 echo "${ECHO_T}$result" >&6
3440
3441
3442 fi
3443
3444
3445 withstring=
3446 defaultval=$wxUSE_ALL_FEATURES
3447 if test -z "$defaultval"; then
3448 if test x"$withstring" = xwithout; then
3449 defaultval=yes
3450 else
3451 defaultval=no
3452 fi
3453 fi
3454 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3455 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3456
3457 # Check whether --with-dmalloc or --without-dmalloc was given.
3458 if test "${with_dmalloc+set}" = set; then
3459 withval="$with_dmalloc"
3460
3461 if test "$withval" = yes; then
3462 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3463 else
3464 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
3465 fi
3466 cache=yes
3467
3468 else
3469
3470 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
3471 if test "x$LINE" != x ; then
3472 eval "DEFAULT_$LINE"
3473 cache=yes
3474 else
3475 cache=no
3476 fi
3477
3478 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
3479
3480 fi;
3481
3482 eval "$wx_cv_use_dmalloc"
3483 if test "x$cache" = xyes; then
3484 echo "wxUSE_DMALLOC=$wxUSE_DMALLOC" >> ${wx_arg_cache_file}.tmp
3485 fi
3486
3487 if test x"$withstring" = xwithout; then
3488 if test $wxUSE_DMALLOC = yes; then
3489 result=no
3490 else
3491 result=yes
3492 fi
3493 else
3494 result=$wxUSE_DMALLOC
3495 fi
3496
3497 echo "$as_me:$LINENO: result: $result" >&5
3498 echo "${ECHO_T}$result" >&6
3499
3500
3501 withstring=
3502 defaultval=$wxUSE_ALL_FEATURES
3503 if test -z "$defaultval"; then
3504 if test x"$withstring" = xwithout; then
3505 defaultval=yes
3506 else
3507 defaultval=no
3508 fi
3509 fi
3510 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3511 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3512
3513 # Check whether --with-sdl or --without-sdl was given.
3514 if test "${with_sdl+set}" = set; then
3515 withval="$with_sdl"
3516
3517 if test "$withval" = yes; then
3518 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
3519 else
3520 wx_cv_use_sdl='wxUSE_LIBSDL=no'
3521 fi
3522 cache=yes
3523
3524 else
3525
3526 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
3527 if test "x$LINE" != x ; then
3528 eval "DEFAULT_$LINE"
3529 cache=yes
3530 else
3531 cache=no
3532 fi
3533
3534 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
3535
3536 fi;
3537
3538 eval "$wx_cv_use_sdl"
3539 if test "x$cache" = xyes; then
3540 echo "wxUSE_LIBSDL=$wxUSE_LIBSDL" >> ${wx_arg_cache_file}.tmp
3541 fi
3542
3543 if test x"$withstring" = xwithout; then
3544 if test $wxUSE_LIBSDL = yes; then
3545 result=no
3546 else
3547 result=yes
3548 fi
3549 else
3550 result=$wxUSE_LIBSDL
3551 fi
3552
3553 echo "$as_me:$LINENO: result: $result" >&5
3554 echo "${ECHO_T}$result" >&6
3555
3556
3557 echo "$as_me:$LINENO: checking for --with-regex" >&5
3558 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3559
3560 # Check whether --with-regex or --without-regex was given.
3561 if test "${with_regex+set}" = set; then
3562 withval="$with_regex"
3563
3564 if test "$withval" = yes; then
3565 wx_cv_use_regex='wxUSE_REGEX=yes'
3566 elif test "$withval" = no; then
3567 wx_cv_use_regex='wxUSE_REGEX=no'
3568 elif test "$withval" = sys; then
3569 wx_cv_use_regex='wxUSE_REGEX=sys'
3570 elif test "$withval" = builtin; then
3571 wx_cv_use_regex='wxUSE_REGEX=builtin'
3572 else
3573 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3574 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3575 { (exit 1); exit 1; }; }
3576 fi
3577 cache=yes
3578
3579 else
3580
3581 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
3582 if test "x$LINE" != x ; then
3583 eval "DEFAULT_$LINE"
3584 cache=yes
3585 else
3586 cache=no
3587 fi
3588
3589 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
3590
3591 fi;
3592
3593 eval "$wx_cv_use_regex"
3594 if test "x$cache" = xyes; then
3595 echo "wxUSE_REGEX=$wxUSE_REGEX" >> ${wx_arg_cache_file}.tmp
3596 fi
3597
3598 if test "$wxUSE_REGEX" = yes; then
3599 echo "$as_me:$LINENO: result: yes" >&5
3600 echo "${ECHO_T}yes" >&6
3601 elif test "$wxUSE_REGEX" = no; then
3602 echo "$as_me:$LINENO: result: no" >&5
3603 echo "${ECHO_T}no" >&6
3604 elif test "$wxUSE_REGEX" = sys; then
3605 echo "$as_me:$LINENO: result: system version" >&5
3606 echo "${ECHO_T}system version" >&6
3607 elif test "$wxUSE_REGEX" = builtin; then
3608 echo "$as_me:$LINENO: result: builtin version" >&5
3609 echo "${ECHO_T}builtin version" >&6
3610 else
3611 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3612 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3613 { (exit 1); exit 1; }; }
3614 fi
3615
3616
3617 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3618 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3619
3620 # Check whether --with-zlib or --without-zlib was given.
3621 if test "${with_zlib+set}" = set; then
3622 withval="$with_zlib"
3623
3624 if test "$withval" = yes; then
3625 wx_cv_use_zlib='wxUSE_ZLIB=yes'
3626 elif test "$withval" = no; then
3627 wx_cv_use_zlib='wxUSE_ZLIB=no'
3628 elif test "$withval" = sys; then
3629 wx_cv_use_zlib='wxUSE_ZLIB=sys'
3630 elif test "$withval" = builtin; then
3631 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
3632 else
3633 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3634 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3635 { (exit 1); exit 1; }; }
3636 fi
3637 cache=yes
3638
3639 else
3640
3641 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
3642 if test "x$LINE" != x ; then
3643 eval "DEFAULT_$LINE"
3644 cache=yes
3645 else
3646 cache=no
3647 fi
3648
3649 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
3650
3651 fi;
3652
3653 eval "$wx_cv_use_zlib"
3654 if test "x$cache" = xyes; then
3655 echo "wxUSE_ZLIB=$wxUSE_ZLIB" >> ${wx_arg_cache_file}.tmp
3656 fi
3657
3658 if test "$wxUSE_ZLIB" = yes; then
3659 echo "$as_me:$LINENO: result: yes" >&5
3660 echo "${ECHO_T}yes" >&6
3661 elif test "$wxUSE_ZLIB" = no; then
3662 echo "$as_me:$LINENO: result: no" >&5
3663 echo "${ECHO_T}no" >&6
3664 elif test "$wxUSE_ZLIB" = sys; then
3665 echo "$as_me:$LINENO: result: system version" >&5
3666 echo "${ECHO_T}system version" >&6
3667 elif test "$wxUSE_ZLIB" = builtin; then
3668 echo "$as_me:$LINENO: result: builtin version" >&5
3669 echo "${ECHO_T}builtin version" >&6
3670 else
3671 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3672 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3673 { (exit 1); exit 1; }; }
3674 fi
3675
3676
3677 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3678 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3679
3680 # Check whether --with-odbc or --without-odbc was given.
3681 if test "${with_odbc+set}" = set; then
3682 withval="$with_odbc"
3683
3684 if test "$withval" = yes; then
3685 wx_cv_use_odbc='wxUSE_ODBC=yes'
3686 elif test "$withval" = no; then
3687 wx_cv_use_odbc='wxUSE_ODBC=no'
3688 elif test "$withval" = sys; then
3689 wx_cv_use_odbc='wxUSE_ODBC=sys'
3690 elif test "$withval" = builtin; then
3691 wx_cv_use_odbc='wxUSE_ODBC=builtin'
3692 else
3693 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3694 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3695 { (exit 1); exit 1; }; }
3696 fi
3697 cache=yes
3698
3699 else
3700
3701 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
3702 if test "x$LINE" != x ; then
3703 eval "DEFAULT_$LINE"
3704 cache=yes
3705 else
3706 cache=no
3707 fi
3708
3709 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
3710
3711 fi;
3712
3713 eval "$wx_cv_use_odbc"
3714 if test "x$cache" = xyes; then
3715 echo "wxUSE_ODBC=$wxUSE_ODBC" >> ${wx_arg_cache_file}.tmp
3716 fi
3717
3718 if test "$wxUSE_ODBC" = yes; then
3719 echo "$as_me:$LINENO: result: yes" >&5
3720 echo "${ECHO_T}yes" >&6
3721 elif test "$wxUSE_ODBC" = no; then
3722 echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6
3724 elif test "$wxUSE_ODBC" = sys; then
3725 echo "$as_me:$LINENO: result: system version" >&5
3726 echo "${ECHO_T}system version" >&6
3727 elif test "$wxUSE_ODBC" = builtin; then
3728 echo "$as_me:$LINENO: result: builtin version" >&5
3729 echo "${ECHO_T}builtin version" >&6
3730 else
3731 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3732 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3733 { (exit 1); exit 1; }; }
3734 fi
3735
3736
3737 echo "$as_me:$LINENO: checking for --with-expat" >&5
3738 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3739
3740 # Check whether --with-expat or --without-expat was given.
3741 if test "${with_expat+set}" = set; then
3742 withval="$with_expat"
3743
3744 if test "$withval" = yes; then
3745 wx_cv_use_expat='wxUSE_EXPAT=yes'
3746 elif test "$withval" = no; then
3747 wx_cv_use_expat='wxUSE_EXPAT=no'
3748 elif test "$withval" = sys; then
3749 wx_cv_use_expat='wxUSE_EXPAT=sys'
3750 elif test "$withval" = builtin; then
3751 wx_cv_use_expat='wxUSE_EXPAT=builtin'
3752 else
3753 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3754 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3755 { (exit 1); exit 1; }; }
3756 fi
3757 cache=yes
3758
3759 else
3760
3761 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
3762 if test "x$LINE" != x ; then
3763 eval "DEFAULT_$LINE"
3764 cache=yes
3765 else
3766 cache=no
3767 fi
3768
3769 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
3770
3771 fi;
3772
3773 eval "$wx_cv_use_expat"
3774 if test "x$cache" = xyes; then
3775 echo "wxUSE_EXPAT=$wxUSE_EXPAT" >> ${wx_arg_cache_file}.tmp
3776 fi
3777
3778 if test "$wxUSE_EXPAT" = yes; then
3779 echo "$as_me:$LINENO: result: yes" >&5
3780 echo "${ECHO_T}yes" >&6
3781 elif test "$wxUSE_EXPAT" = no; then
3782 echo "$as_me:$LINENO: result: no" >&5
3783 echo "${ECHO_T}no" >&6
3784 elif test "$wxUSE_EXPAT" = sys; then
3785 echo "$as_me:$LINENO: result: system version" >&5
3786 echo "${ECHO_T}system version" >&6
3787 elif test "$wxUSE_EXPAT" = builtin; then
3788 echo "$as_me:$LINENO: result: builtin version" >&5
3789 echo "${ECHO_T}builtin version" >&6
3790 else
3791 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3792 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3793 { (exit 1); exit 1; }; }
3794 fi
3795
3796
3797 echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
3798 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6
3799
3800 # Check whether --with-macosx-sdk or --without-macosx-sdk was given.
3801 if test "${with_macosx_sdk+set}" = set; then
3802 withval="$with_macosx_sdk"
3803
3804 wxUSE_MACOSX_SDK=$withval
3805 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
3806 echo "wxUSE_MACOSX_SDK=$wxUSE_MACOSX_SDK" >> ${wx_arg_cache_file}.tmp
3807
3808 else
3809
3810 # NOTE: Empty string on purpose so that --without-macosx-sdk (thus no)
3811 # will override --enable-universal_binary's automatic SDK usage.
3812 wxUSE_MACOSX_SDK=
3813 LINE=`grep "^wxUSE_MACOSX_SDK=" ${wx_arg_cache_file}`
3814 if test "x$LINE" != x ; then
3815 eval "$LINE"
3816 echo "$LINE" >> ${wx_arg_cache_file}.tmp
3817 fi
3818
3819 fi;
3820 echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
3821 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6
3822
3823 echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
3824 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6
3825
3826 # Check whether --with-macosx-version-min or --without-macosx-version-min was given.
3827 if test "${with_macosx_version_min+set}" = set; then
3828 withval="$with_macosx_version_min"
3829
3830 wxUSE_MACOSX_VERSION_MIN=$withval
3831 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
3832 echo "wxUSE_MACOSX_VERSION_MIN=$wxUSE_MACOSX_VERSION_MIN" >> ${wx_arg_cache_file}.tmp
3833
3834 else
3835
3836 # default "yes" because when not using an SDK it means the same as no
3837 # but when using an SDK it means to use the SDK version
3838 wxUSE_MACOSX_VERSION_MIN=yes
3839 # See if there is a value in the cache
3840 LINE=`grep "^wxUSE_MACOSX_VERSION_MIN=" ${wx_arg_cache_file}`
3841 if test "x$LINE" != x ; then
3842 eval "$LINE"
3843 echo "$LINE" >> ${wx_arg_cache_file}.tmp
3844 fi
3845
3846 fi;
3847 echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
3848 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6
3849
3850
3851
3852 enablestring=disable
3853 defaultval=
3854 if test -z "$defaultval"; then
3855 if test x"$enablestring" = xdisable; then
3856 defaultval=yes
3857 else
3858 defaultval=no
3859 fi
3860 fi
3861
3862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3863 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3864 # Check whether --enable-shared or --disable-shared was given.
3865 if test "${enable_shared+set}" = set; then
3866 enableval="$enable_shared"
3867
3868 if test "$enableval" = yes; then
3869 wx_cv_use_shared='wxUSE_SHARED=yes'
3870 else
3871 wx_cv_use_shared='wxUSE_SHARED=no'
3872 fi
3873 cache=yes
3874
3875 else
3876
3877 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
3878 if test "x$LINE" != x ; then
3879 eval "DEFAULT_$LINE"
3880 cache=yes
3881 else
3882 cache=no
3883 fi
3884
3885 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
3886
3887 fi;
3888
3889 eval "$wx_cv_use_shared"
3890 if test "x$cache" = xyes; then
3891 echo "wxUSE_SHARED=$wxUSE_SHARED" >> ${wx_arg_cache_file}.tmp
3892 fi
3893
3894 if test x"$enablestring" = xdisable; then
3895 if test $wxUSE_SHARED = yes; then
3896 result=no
3897 else
3898 result=yes
3899 fi
3900 else
3901 result=$wxUSE_SHARED
3902 fi
3903
3904 echo "$as_me:$LINENO: result: $result" >&5
3905 echo "${ECHO_T}$result" >&6
3906
3907
3908 enablestring=disable
3909 defaultval=
3910 if test -z "$defaultval"; then
3911 if test x"$enablestring" = xdisable; then
3912 defaultval=yes
3913 else
3914 defaultval=no
3915 fi
3916 fi
3917
3918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3919 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3920 # Check whether --enable-optimise or --disable-optimise was given.
3921 if test "${enable_optimise+set}" = set; then
3922 enableval="$enable_optimise"
3923
3924 if test "$enableval" = yes; then
3925 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
3926 else
3927 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
3928 fi
3929 cache=yes
3930
3931 else
3932
3933 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
3934 if test "x$LINE" != x ; then
3935 eval "DEFAULT_$LINE"
3936 cache=yes
3937 else
3938 cache=no
3939 fi
3940
3941 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
3942
3943 fi;
3944
3945 eval "$wx_cv_use_optimise"
3946 if test "x$cache" = xyes; then
3947 echo "wxUSE_OPTIMISE=$wxUSE_OPTIMISE" >> ${wx_arg_cache_file}.tmp
3948 fi
3949
3950 if test x"$enablestring" = xdisable; then
3951 if test $wxUSE_OPTIMISE = yes; then
3952 result=no
3953 else
3954 result=yes
3955 fi
3956 else
3957 result=$wxUSE_OPTIMISE
3958 fi
3959
3960 echo "$as_me:$LINENO: result: $result" >&5
3961 echo "${ECHO_T}$result" >&6
3962
3963
3964 enablestring=
3965 defaultval=
3966 if test -z "$defaultval"; then
3967 if test x"$enablestring" = xdisable; then
3968 defaultval=yes
3969 else
3970 defaultval=no
3971 fi
3972 fi
3973
3974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3975 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3976 # Check whether --enable-debug or --disable-debug was given.
3977 if test "${enable_debug+set}" = set; then
3978 enableval="$enable_debug"
3979
3980 if test "$enableval" = yes; then
3981 wx_cv_use_debug='wxUSE_DEBUG=yes'
3982 else
3983 wx_cv_use_debug='wxUSE_DEBUG=no'
3984 fi
3985 cache=yes
3986
3987 else
3988
3989 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
3990 if test "x$LINE" != x ; then
3991 eval "DEFAULT_$LINE"
3992 cache=yes
3993 else
3994 cache=no
3995 fi
3996
3997 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
3998
3999 fi;
4000
4001 eval "$wx_cv_use_debug"
4002 if test "x$cache" = xyes; then
4003 echo "wxUSE_DEBUG=$wxUSE_DEBUG" >> ${wx_arg_cache_file}.tmp
4004 fi
4005
4006 if test x"$enablestring" = xdisable; then
4007 if test $wxUSE_DEBUG = yes; then
4008 result=no
4009 else
4010 result=yes
4011 fi
4012 else
4013 result=$wxUSE_DEBUG
4014 fi
4015
4016 echo "$as_me:$LINENO: result: $result" >&5
4017 echo "${ECHO_T}$result" >&6
4018
4019
4020 enablestring=
4021 defaultval=
4022 if test -z "$defaultval"; then
4023 if test x"$enablestring" = xdisable; then
4024 defaultval=yes
4025 else
4026 defaultval=no
4027 fi
4028 fi
4029
4030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4031 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
4032 # Check whether --enable-stl or --disable-stl was given.
4033 if test "${enable_stl+set}" = set; then
4034 enableval="$enable_stl"
4035
4036 if test "$enableval" = yes; then
4037 wx_cv_use_stl='wxUSE_STL=yes'
4038 else
4039 wx_cv_use_stl='wxUSE_STL=no'
4040 fi
4041 cache=yes
4042
4043 else
4044
4045 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4046 if test "x$LINE" != x ; then
4047 eval "DEFAULT_$LINE"
4048 cache=yes
4049 else
4050 cache=no
4051 fi
4052
4053 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4054
4055 fi;
4056
4057 eval "$wx_cv_use_stl"
4058 if test "x$cache" = xyes; then
4059 echo "wxUSE_STL=$wxUSE_STL" >> ${wx_arg_cache_file}.tmp
4060 fi
4061
4062 if test x"$enablestring" = xdisable; then
4063 if test $wxUSE_STL = yes; then
4064 result=no
4065 else
4066 result=yes
4067 fi
4068 else
4069 result=$wxUSE_STL
4070 fi
4071
4072 echo "$as_me:$LINENO: result: $result" >&5
4073 echo "${ECHO_T}$result" >&6
4074
4075
4076 enablestring=
4077 defaultval=
4078 if test -z "$defaultval"; then
4079 if test x"$enablestring" = xdisable; then
4080 defaultval=yes
4081 else
4082 defaultval=no
4083 fi
4084 fi
4085
4086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4087 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
4088 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4089 if test "${enable_std_iostreams+set}" = set; then
4090 enableval="$enable_std_iostreams"
4091
4092 if test "$enableval" = yes; then
4093 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4094 else
4095 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4096 fi
4097 cache=yes
4098
4099 else
4100
4101 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x ; then
4103 eval "DEFAULT_$LINE"
4104 cache=yes
4105 else
4106 cache=no
4107 fi
4108
4109 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4110
4111 fi;
4112
4113 eval "$wx_cv_use_std_iostreams"
4114 if test "x$cache" = xyes; then
4115 echo "wxUSE_STD_IOSTREAM=$wxUSE_STD_IOSTREAM" >> ${wx_arg_cache_file}.tmp
4116 fi
4117
4118 if test x"$enablestring" = xdisable; then
4119 if test $wxUSE_STD_IOSTREAM = yes; then
4120 result=no
4121 else
4122 result=yes
4123 fi
4124 else
4125 result=$wxUSE_STD_IOSTREAM
4126 fi
4127
4128 echo "$as_me:$LINENO: result: $result" >&5
4129 echo "${ECHO_T}$result" >&6
4130
4131
4132 enablestring=
4133 defaultval=
4134 if test -z "$defaultval"; then
4135 if test x"$enablestring" = xdisable; then
4136 defaultval=yes
4137 else
4138 defaultval=no
4139 fi
4140 fi
4141
4142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4143 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
4144 # Check whether --enable-std_string or --disable-std_string was given.
4145 if test "${enable_std_string+set}" = set; then
4146 enableval="$enable_std_string"
4147
4148 if test "$enableval" = yes; then
4149 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4150 else
4151 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4152 fi
4153 cache=yes
4154
4155 else
4156
4157 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4158 if test "x$LINE" != x ; then
4159 eval "DEFAULT_$LINE"
4160 cache=yes
4161 else
4162 cache=no
4163 fi
4164
4165 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4166
4167 fi;
4168
4169 eval "$wx_cv_use_std_string"
4170 if test "x$cache" = xyes; then
4171 echo "wxUSE_STD_STRING=$wxUSE_STD_STRING" >> ${wx_arg_cache_file}.tmp
4172 fi
4173
4174 if test x"$enablestring" = xdisable; then
4175 if test $wxUSE_STD_STRING = yes; then
4176 result=no
4177 else
4178 result=yes
4179 fi
4180 else
4181 result=$wxUSE_STD_STRING
4182 fi
4183
4184 echo "$as_me:$LINENO: result: $result" >&5
4185 echo "${ECHO_T}$result" >&6
4186
4187
4188 enablestring=disable
4189 defaultval=
4190 if test -z "$defaultval"; then
4191 if test x"$enablestring" = xdisable; then
4192 defaultval=yes
4193 else
4194 defaultval=no
4195 fi
4196 fi
4197
4198 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4199 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
4200 # Check whether --enable-unicode or --disable-unicode was given.
4201 if test "${enable_unicode+set}" = set; then
4202 enableval="$enable_unicode"
4203
4204 if test "$enableval" = yes; then
4205 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4206 else
4207 wx_cv_use_unicode='wxUSE_UNICODE=no'
4208 fi
4209 cache=yes
4210
4211 else
4212
4213 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4214 if test "x$LINE" != x ; then
4215 eval "DEFAULT_$LINE"
4216 cache=yes
4217 else
4218 cache=no
4219 fi
4220
4221 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4222
4223 fi;
4224
4225 eval "$wx_cv_use_unicode"
4226 if test "x$cache" = xyes; then
4227 echo "wxUSE_UNICODE=$wxUSE_UNICODE" >> ${wx_arg_cache_file}.tmp
4228 fi
4229
4230 if test x"$enablestring" = xdisable; then
4231 if test $wxUSE_UNICODE = yes; then
4232 result=no
4233 else
4234 result=yes
4235 fi
4236 else
4237 result=$wxUSE_UNICODE
4238 fi
4239
4240 echo "$as_me:$LINENO: result: $result" >&5
4241 echo "${ECHO_T}$result" >&6
4242
4243
4244 enablestring=
4245 defaultval=
4246 if test -z "$defaultval"; then
4247 if test x"$enablestring" = xdisable; then
4248 defaultval=yes
4249 else
4250 defaultval=no
4251 fi
4252 fi
4253
4254 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4255 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
4256 # Check whether --enable-mslu or --disable-mslu was given.
4257 if test "${enable_mslu+set}" = set; then
4258 enableval="$enable_mslu"
4259
4260 if test "$enableval" = yes; then
4261 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4262 else
4263 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4264 fi
4265 cache=yes
4266
4267 else
4268
4269 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4270 if test "x$LINE" != x ; then
4271 eval "DEFAULT_$LINE"
4272 cache=yes
4273 else
4274 cache=no
4275 fi
4276
4277 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4278
4279 fi;
4280
4281 eval "$wx_cv_use_mslu"
4282 if test "x$cache" = xyes; then
4283 echo "wxUSE_UNICODE_MSLU=$wxUSE_UNICODE_MSLU" >> ${wx_arg_cache_file}.tmp
4284 fi
4285
4286 if test x"$enablestring" = xdisable; then
4287 if test $wxUSE_UNICODE_MSLU = yes; then
4288 result=no
4289 else
4290 result=yes
4291 fi
4292 else
4293 result=$wxUSE_UNICODE_MSLU
4294 fi
4295
4296 echo "$as_me:$LINENO: result: $result" >&5
4297 echo "${ECHO_T}$result" >&6
4298
4299
4300 enablestring=
4301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4302 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6
4303 # Check whether --enable-utf8 or --disable-utf8 was given.
4304 if test "${enable_utf8+set}" = set; then
4305 enableval="$enable_utf8"
4306
4307 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4308 cache=yes
4309
4310 else
4311
4312 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4313 if test "x$LINE" != x ; then
4314 eval "DEFAULT_$LINE"
4315 cache=yes
4316 else
4317 cache=no
4318 fi
4319
4320 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4321
4322 fi;
4323
4324 eval "$wx_cv_use_utf8"
4325 if test "x$cache" = xyes; then
4326 echo "wxUSE_UNICODE_UTF8=$wxUSE_UNICODE_UTF8" >> ${wx_arg_cache_file}.tmp
4327 fi
4328
4329 echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4330 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6
4331
4332
4333 enablestring=
4334 defaultval=
4335 if test -z "$defaultval"; then
4336 if test x"$enablestring" = xdisable; then
4337 defaultval=yes
4338 else
4339 defaultval=no
4340 fi
4341 fi
4342
4343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4344 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6
4345 # Check whether --enable-utf8only or --disable-utf8only was given.
4346 if test "${enable_utf8only+set}" = set; then
4347 enableval="$enable_utf8only"
4348
4349 if test "$enableval" = yes; then
4350 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4351 else
4352 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4353 fi
4354 cache=yes
4355
4356 else
4357
4358 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4359 if test "x$LINE" != x ; then
4360 eval "DEFAULT_$LINE"
4361 cache=yes
4362 else
4363 cache=no
4364 fi
4365
4366 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4367
4368 fi;
4369
4370 eval "$wx_cv_use_utf8only"
4371 if test "x$cache" = xyes; then
4372 echo "wxUSE_UNICODE_UTF8_LOCALE=$wxUSE_UNICODE_UTF8_LOCALE" >> ${wx_arg_cache_file}.tmp
4373 fi
4374
4375 if test x"$enablestring" = xdisable; then
4376 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4377 result=no
4378 else
4379 result=yes
4380 fi
4381 else
4382 result=$wxUSE_UNICODE_UTF8_LOCALE
4383 fi
4384
4385 echo "$as_me:$LINENO: result: $result" >&5
4386 echo "${ECHO_T}$result" >&6
4387
4388
4389 enablestring=
4390 defaultval=
4391 if test -z "$defaultval"; then
4392 if test x"$enablestring" = xdisable; then
4393 defaultval=yes
4394 else
4395 defaultval=no
4396 fi
4397 fi
4398
4399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4400 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6
4401 # Check whether --enable-extended_rtti or --disable-extended_rtti was given.
4402 if test "${enable_extended_rtti+set}" = set; then
4403 enableval="$enable_extended_rtti"
4404
4405 if test "$enableval" = yes; then
4406 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4407 else
4408 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4409 fi
4410 cache=yes
4411
4412 else
4413
4414 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4415 if test "x$LINE" != x ; then
4416 eval "DEFAULT_$LINE"
4417 cache=yes
4418 else
4419 cache=no
4420 fi
4421
4422 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4423
4424 fi;
4425
4426 eval "$wx_cv_use_extended_rtti"
4427 if test "x$cache" = xyes; then
4428 echo "wxUSE_EXTENDED_RTTI=$wxUSE_EXTENDED_RTTI" >> ${wx_arg_cache_file}.tmp
4429 fi
4430
4431 if test x"$enablestring" = xdisable; then
4432 if test $wxUSE_EXTENDED_RTTI = yes; then
4433 result=no
4434 else
4435 result=yes
4436 fi
4437 else
4438 result=$wxUSE_EXTENDED_RTTI
4439 fi
4440
4441 echo "$as_me:$LINENO: result: $result" >&5
4442 echo "${ECHO_T}$result" >&6
4443
4444 if test "$USE_OS2" = "1"; then
4445 DEFAULT_wxUSE_OMF=no
4446
4447 enablestring=
4448 defaultval=
4449 if test -z "$defaultval"; then
4450 if test x"$enablestring" = xdisable; then
4451 defaultval=yes
4452 else
4453 defaultval=no
4454 fi
4455 fi
4456
4457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4458 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
4459 # Check whether --enable-omf or --disable-omf was given.
4460 if test "${enable_omf+set}" = set; then
4461 enableval="$enable_omf"
4462
4463 if test "$enableval" = yes; then
4464 wx_cv_use_omf='wxUSE_OMF=yes'
4465 else
4466 wx_cv_use_omf='wxUSE_OMF=no'
4467 fi
4468 cache=yes
4469
4470 else
4471
4472 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4473 if test "x$LINE" != x ; then
4474 eval "DEFAULT_$LINE"
4475 cache=yes
4476 else
4477 cache=no
4478 fi
4479
4480 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4481
4482 fi;
4483
4484 eval "$wx_cv_use_omf"
4485 if test "x$cache" = xyes; then
4486 echo "wxUSE_OMF=$wxUSE_OMF" >> ${wx_arg_cache_file}.tmp
4487 fi
4488
4489 if test x"$enablestring" = xdisable; then
4490 if test $wxUSE_OMF = yes; then
4491 result=no
4492 else
4493 result=yes
4494 fi
4495 else
4496 result=$wxUSE_OMF
4497 fi
4498
4499 echo "$as_me:$LINENO: result: $result" >&5
4500 echo "${ECHO_T}$result" >&6
4501
4502 fi
4503
4504 if test "$wxUSE_DEBUG" = "yes"; then
4505 DEFAULT_wxUSE_DEBUG_FLAG=yes
4506 DEFAULT_wxUSE_DEBUG_INFO=yes
4507 BUILD=debug
4508 elif test "$wxUSE_DEBUG" = "no"; then
4509 DEFAULT_wxUSE_DEBUG_FLAG=no
4510 DEFAULT_wxUSE_DEBUG_INFO=no
4511 BUILD=release
4512 fi
4513
4514
4515 enablestring=
4516 defaultval=
4517 if test -z "$defaultval"; then
4518 if test x"$enablestring" = xdisable; then
4519 defaultval=yes
4520 else
4521 defaultval=no
4522 fi
4523 fi
4524
4525 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4526 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4527 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4528 if test "${enable_debug_flag+set}" = set; then
4529 enableval="$enable_debug_flag"
4530
4531 if test "$enableval" = yes; then
4532 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4533 else
4534 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4535 fi
4536 cache=yes
4537
4538 else
4539
4540 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
4541 if test "x$LINE" != x ; then
4542 eval "DEFAULT_$LINE"
4543 cache=yes
4544 else
4545 cache=no
4546 fi
4547
4548 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4549
4550 fi;
4551
4552 eval "$wx_cv_use_debug_flag"
4553 if test "x$cache" = xyes; then
4554 echo "wxUSE_DEBUG_FLAG=$wxUSE_DEBUG_FLAG" >> ${wx_arg_cache_file}.tmp
4555 fi
4556
4557 if test x"$enablestring" = xdisable; then
4558 if test $wxUSE_DEBUG_FLAG = yes; then
4559 result=no
4560 else
4561 result=yes
4562 fi
4563 else
4564 result=$wxUSE_DEBUG_FLAG
4565 fi
4566
4567 echo "$as_me:$LINENO: result: $result" >&5
4568 echo "${ECHO_T}$result" >&6
4569
4570
4571 enablestring=
4572 defaultval=
4573 if test -z "$defaultval"; then
4574 if test x"$enablestring" = xdisable; then
4575 defaultval=yes
4576 else
4577 defaultval=no
4578 fi
4579 fi
4580
4581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4582 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4583 # Check whether --enable-debug_info or --disable-debug_info was given.
4584 if test "${enable_debug_info+set}" = set; then
4585 enableval="$enable_debug_info"
4586
4587 if test "$enableval" = yes; then
4588 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4589 else
4590 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4591 fi
4592 cache=yes
4593
4594 else
4595
4596 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
4597 if test "x$LINE" != x ; then
4598 eval "DEFAULT_$LINE"
4599 cache=yes
4600 else
4601 cache=no
4602 fi
4603
4604 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4605
4606 fi;
4607
4608 eval "$wx_cv_use_debug_info"
4609 if test "x$cache" = xyes; then
4610 echo "wxUSE_DEBUG_INFO=$wxUSE_DEBUG_INFO" >> ${wx_arg_cache_file}.tmp
4611 fi
4612
4613 if test x"$enablestring" = xdisable; then
4614 if test $wxUSE_DEBUG_INFO = yes; then
4615 result=no
4616 else
4617 result=yes
4618 fi
4619 else
4620 result=$wxUSE_DEBUG_INFO
4621 fi
4622
4623 echo "$as_me:$LINENO: result: $result" >&5
4624 echo "${ECHO_T}$result" >&6
4625
4626
4627 enablestring=
4628 defaultval=
4629 if test -z "$defaultval"; then
4630 if test x"$enablestring" = xdisable; then
4631 defaultval=yes
4632 else
4633 defaultval=no
4634 fi
4635 fi
4636
4637 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4638 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4639 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4640 if test "${enable_debug_gdb+set}" = set; then
4641 enableval="$enable_debug_gdb"
4642
4643 if test "$enableval" = yes; then
4644 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4645 else
4646 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4647 fi
4648 cache=yes
4649
4650 else
4651
4652 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x ; then
4654 eval "DEFAULT_$LINE"
4655 cache=yes
4656 else
4657 cache=no
4658 fi
4659
4660 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4661
4662 fi;
4663
4664 eval "$wx_cv_use_debug_gdb"
4665 if test "x$cache" = xyes; then
4666 echo "wxUSE_DEBUG_GDB=$wxUSE_DEBUG_GDB" >> ${wx_arg_cache_file}.tmp
4667 fi
4668
4669 if test x"$enablestring" = xdisable; then
4670 if test $wxUSE_DEBUG_GDB = yes; then
4671 result=no
4672 else
4673 result=yes
4674 fi
4675 else
4676 result=$wxUSE_DEBUG_GDB
4677 fi
4678
4679 echo "$as_me:$LINENO: result: $result" >&5
4680 echo "${ECHO_T}$result" >&6
4681
4682
4683 enablestring=
4684 defaultval=
4685 if test -z "$defaultval"; then
4686 if test x"$enablestring" = xdisable; then
4687 defaultval=yes
4688 else
4689 defaultval=no
4690 fi
4691 fi
4692
4693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4695 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4696 if test "${enable_debug_cntxt+set}" = set; then
4697 enableval="$enable_debug_cntxt"
4698
4699 if test "$enableval" = yes; then
4700 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4701 else
4702 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4703 fi
4704 cache=yes
4705
4706 else
4707
4708 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
4709 if test "x$LINE" != x ; then
4710 eval "DEFAULT_$LINE"
4711 cache=yes
4712 else
4713 cache=no
4714 fi
4715
4716 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4717
4718 fi;
4719
4720 eval "$wx_cv_use_debug_cntxt"
4721 if test "x$cache" = xyes; then
4722 echo "wxUSE_DEBUG_CONTEXT=$wxUSE_DEBUG_CONTEXT" >> ${wx_arg_cache_file}.tmp
4723 fi
4724
4725 if test x"$enablestring" = xdisable; then
4726 if test $wxUSE_DEBUG_CONTEXT = yes; then
4727 result=no
4728 else
4729 result=yes
4730 fi
4731 else
4732 result=$wxUSE_DEBUG_CONTEXT
4733 fi
4734
4735 echo "$as_me:$LINENO: result: $result" >&5
4736 echo "${ECHO_T}$result" >&6
4737
4738
4739 enablestring=
4740 defaultval=
4741 if test -z "$defaultval"; then
4742 if test x"$enablestring" = xdisable; then
4743 defaultval=yes
4744 else
4745 defaultval=no
4746 fi
4747 fi
4748
4749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4750 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4751 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4752 if test "${enable_mem_tracing+set}" = set; then
4753 enableval="$enable_mem_tracing"
4754
4755 if test "$enableval" = yes; then
4756 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4757 else
4758 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4759 fi
4760 cache=yes
4761
4762 else
4763
4764 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
4765 if test "x$LINE" != x ; then
4766 eval "DEFAULT_$LINE"
4767 cache=yes
4768 else
4769 cache=no
4770 fi
4771
4772 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4773
4774 fi;
4775
4776 eval "$wx_cv_use_mem_tracing"
4777 if test "x$cache" = xyes; then
4778 echo "wxUSE_MEM_TRACING=$wxUSE_MEM_TRACING" >> ${wx_arg_cache_file}.tmp
4779 fi
4780
4781 if test x"$enablestring" = xdisable; then
4782 if test $wxUSE_MEM_TRACING = yes; then
4783 result=no
4784 else
4785 result=yes
4786 fi
4787 else
4788 result=$wxUSE_MEM_TRACING
4789 fi
4790
4791 echo "$as_me:$LINENO: result: $result" >&5
4792 echo "${ECHO_T}$result" >&6
4793
4794
4795 enablestring=
4796 defaultval=
4797 if test -z "$defaultval"; then
4798 if test x"$enablestring" = xdisable; then
4799 defaultval=yes
4800 else
4801 defaultval=no
4802 fi
4803 fi
4804
4805 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4806 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4807 # Check whether --enable-profile or --disable-profile was given.
4808 if test "${enable_profile+set}" = set; then
4809 enableval="$enable_profile"
4810
4811 if test "$enableval" = yes; then
4812 wx_cv_use_profile='wxUSE_PROFILE=yes'
4813 else
4814 wx_cv_use_profile='wxUSE_PROFILE=no'
4815 fi
4816 cache=yes
4817
4818 else
4819
4820 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
4821 if test "x$LINE" != x ; then
4822 eval "DEFAULT_$LINE"
4823 cache=yes
4824 else
4825 cache=no
4826 fi
4827
4828 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
4829
4830 fi;
4831
4832 eval "$wx_cv_use_profile"
4833 if test "x$cache" = xyes; then
4834 echo "wxUSE_PROFILE=$wxUSE_PROFILE" >> ${wx_arg_cache_file}.tmp
4835 fi
4836
4837 if test x"$enablestring" = xdisable; then
4838 if test $wxUSE_PROFILE = yes; then
4839 result=no
4840 else
4841 result=yes
4842 fi
4843 else
4844 result=$wxUSE_PROFILE
4845 fi
4846
4847 echo "$as_me:$LINENO: result: $result" >&5
4848 echo "${ECHO_T}$result" >&6
4849
4850
4851 enablestring=
4852 defaultval=
4853 if test -z "$defaultval"; then
4854 if test x"$enablestring" = xdisable; then
4855 defaultval=yes
4856 else
4857 defaultval=no
4858 fi
4859 fi
4860
4861 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4862 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4863 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4864 if test "${enable_no_rtti+set}" = set; then
4865 enableval="$enable_no_rtti"
4866
4867 if test "$enableval" = yes; then
4868 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4869 else
4870 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4871 fi
4872 cache=yes
4873
4874 else
4875
4876 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
4877 if test "x$LINE" != x ; then
4878 eval "DEFAULT_$LINE"
4879 cache=yes
4880 else
4881 cache=no
4882 fi
4883
4884 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
4885
4886 fi;
4887
4888 eval "$wx_cv_use_no_rtti"
4889 if test "x$cache" = xyes; then
4890 echo "wxUSE_NO_RTTI=$wxUSE_NO_RTTI" >> ${wx_arg_cache_file}.tmp
4891 fi
4892
4893 if test x"$enablestring" = xdisable; then
4894 if test $wxUSE_NO_RTTI = yes; then
4895 result=no
4896 else
4897 result=yes
4898 fi
4899 else
4900 result=$wxUSE_NO_RTTI
4901 fi
4902
4903 echo "$as_me:$LINENO: result: $result" >&5
4904 echo "${ECHO_T}$result" >&6
4905
4906
4907 enablestring=
4908 defaultval=
4909 if test -z "$defaultval"; then
4910 if test x"$enablestring" = xdisable; then
4911 defaultval=yes
4912 else
4913 defaultval=no
4914 fi
4915 fi
4916
4917 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4918 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4919 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4920 if test "${enable_no_exceptions+set}" = set; then
4921 enableval="$enable_no_exceptions"
4922
4923 if test "$enableval" = yes; then
4924 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4925 else
4926 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4927 fi
4928 cache=yes
4929
4930 else
4931
4932 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
4933 if test "x$LINE" != x ; then
4934 eval "DEFAULT_$LINE"
4935 cache=yes
4936 else
4937 cache=no
4938 fi
4939
4940 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
4941
4942 fi;
4943
4944 eval "$wx_cv_use_no_exceptions"
4945 if test "x$cache" = xyes; then
4946 echo "wxUSE_NO_EXCEPTIONS=$wxUSE_NO_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
4947 fi
4948
4949 if test x"$enablestring" = xdisable; then
4950 if test $wxUSE_NO_EXCEPTIONS = yes; then
4951 result=no
4952 else
4953 result=yes
4954 fi
4955 else
4956 result=$wxUSE_NO_EXCEPTIONS
4957 fi
4958
4959 echo "$as_me:$LINENO: result: $result" >&5
4960 echo "${ECHO_T}$result" >&6
4961
4962
4963 enablestring=
4964 defaultval=
4965 if test -z "$defaultval"; then
4966 if test x"$enablestring" = xdisable; then
4967 defaultval=yes
4968 else
4969 defaultval=no
4970 fi
4971 fi
4972
4973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4974 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4975 # Check whether --enable-permissive or --disable-permissive was given.
4976 if test "${enable_permissive+set}" = set; then
4977 enableval="$enable_permissive"
4978
4979 if test "$enableval" = yes; then
4980 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4981 else
4982 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
4983 fi
4984 cache=yes
4985
4986 else
4987
4988 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
4989 if test "x$LINE" != x ; then
4990 eval "DEFAULT_$LINE"
4991 cache=yes
4992 else
4993 cache=no
4994 fi
4995
4996 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
4997
4998 fi;
4999
5000 eval "$wx_cv_use_permissive"
5001 if test "x$cache" = xyes; then
5002 echo "wxUSE_PERMISSIVE=$wxUSE_PERMISSIVE" >> ${wx_arg_cache_file}.tmp
5003 fi
5004
5005 if test x"$enablestring" = xdisable; then
5006 if test $wxUSE_PERMISSIVE = yes; then
5007 result=no
5008 else
5009 result=yes
5010 fi
5011 else
5012 result=$wxUSE_PERMISSIVE
5013 fi
5014
5015 echo "$as_me:$LINENO: result: $result" >&5
5016 echo "${ECHO_T}$result" >&6
5017
5018
5019 enablestring=
5020 defaultval=
5021 if test -z "$defaultval"; then
5022 if test x"$enablestring" = xdisable; then
5023 defaultval=yes
5024 else
5025 defaultval=no
5026 fi
5027 fi
5028
5029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5030 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
5031 # Check whether --enable-no_deps or --disable-no_deps was given.
5032 if test "${enable_no_deps+set}" = set; then
5033 enableval="$enable_no_deps"
5034
5035 if test "$enableval" = yes; then
5036 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5037 else
5038 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5039 fi
5040 cache=yes
5041
5042 else
5043
5044 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5045 if test "x$LINE" != x ; then
5046 eval "DEFAULT_$LINE"
5047 cache=yes
5048 else
5049 cache=no
5050 fi
5051
5052 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5053
5054 fi;
5055
5056 eval "$wx_cv_use_no_deps"
5057 if test "x$cache" = xyes; then
5058 echo "wxUSE_NO_DEPS=$wxUSE_NO_DEPS" >> ${wx_arg_cache_file}.tmp
5059 fi
5060
5061 if test x"$enablestring" = xdisable; then
5062 if test $wxUSE_NO_DEPS = yes; then
5063 result=no
5064 else
5065 result=yes
5066 fi
5067 else
5068 result=$wxUSE_NO_DEPS
5069 fi
5070
5071 echo "$as_me:$LINENO: result: $result" >&5
5072 echo "${ECHO_T}$result" >&6
5073
5074
5075 enablestring=disable
5076 defaultval=
5077 if test -z "$defaultval"; then
5078 if test x"$enablestring" = xdisable; then
5079 defaultval=yes
5080 else
5081 defaultval=no
5082 fi
5083 fi
5084
5085 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5086 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6
5087 # Check whether --enable-vararg_macros or --disable-vararg_macros was given.
5088 if test "${enable_vararg_macros+set}" = set; then
5089 enableval="$enable_vararg_macros"
5090
5091 if test "$enableval" = yes; then
5092 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5093 else
5094 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5095 fi
5096 cache=yes
5097
5098 else
5099
5100 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5101 if test "x$LINE" != x ; then
5102 eval "DEFAULT_$LINE"
5103 cache=yes
5104 else
5105 cache=no
5106 fi
5107
5108 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5109
5110 fi;
5111
5112 eval "$wx_cv_use_vararg_macros"
5113 if test "x$cache" = xyes; then
5114 echo "wxUSE_VARARG_MACROS=$wxUSE_VARARG_MACROS" >> ${wx_arg_cache_file}.tmp
5115 fi
5116
5117 if test x"$enablestring" = xdisable; then
5118 if test $wxUSE_VARARG_MACROS = yes; then
5119 result=no
5120 else
5121 result=yes
5122 fi
5123 else
5124 result=$wxUSE_VARARG_MACROS
5125 fi
5126
5127 echo "$as_me:$LINENO: result: $result" >&5
5128 echo "${ECHO_T}$result" >&6
5129
5130
5131 enablestring=
5132 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5133 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
5134 # Check whether --enable-universal_binary or --disable-universal_binary was given.
5135 if test "${enable_universal_binary+set}" = set; then
5136 enableval="$enable_universal_binary"
5137
5138 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5139 cache=yes
5140
5141 else
5142
5143 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5144 if test "x$LINE" != x ; then
5145 eval "DEFAULT_$LINE"
5146 cache=yes
5147 else
5148 cache=no
5149 fi
5150
5151 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5152
5153 fi;
5154
5155 eval "$wx_cv_use_universal_binary"
5156 if test "x$cache" = xyes; then
5157 echo "wxUSE_UNIVERSAL_BINARY=$wxUSE_UNIVERSAL_BINARY" >> ${wx_arg_cache_file}.tmp
5158 fi
5159
5160 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5161 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
5162
5163
5164
5165 enablestring=
5166 defaultval=
5167 if test -z "$defaultval"; then
5168 if test x"$enablestring" = xdisable; then
5169 defaultval=yes
5170 else
5171 defaultval=no
5172 fi
5173 fi
5174
5175 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5176 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
5177 # Check whether --enable-compat26 or --disable-compat26 was given.
5178 if test "${enable_compat26+set}" = set; then
5179 enableval="$enable_compat26"
5180
5181 if test "$enableval" = yes; then
5182 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5183 else
5184 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5185 fi
5186 cache=yes
5187
5188 else
5189
5190 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5191 if test "x$LINE" != x ; then
5192 eval "DEFAULT_$LINE"
5193 cache=yes
5194 else
5195 cache=no
5196 fi
5197
5198 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5199
5200 fi;
5201
5202 eval "$wx_cv_use_compat26"
5203 if test "x$cache" = xyes; then
5204 echo "WXWIN_COMPATIBILITY_2_6=$WXWIN_COMPATIBILITY_2_6" >> ${wx_arg_cache_file}.tmp
5205 fi
5206
5207 if test x"$enablestring" = xdisable; then
5208 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5209 result=no
5210 else
5211 result=yes
5212 fi
5213 else
5214 result=$WXWIN_COMPATIBILITY_2_6
5215 fi
5216
5217 echo "$as_me:$LINENO: result: $result" >&5
5218 echo "${ECHO_T}$result" >&6
5219
5220
5221 enablestring=disable
5222 defaultval=
5223 if test -z "$defaultval"; then
5224 if test x"$enablestring" = xdisable; then
5225 defaultval=yes
5226 else
5227 defaultval=no
5228 fi
5229 fi
5230
5231 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5232 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6
5233 # Check whether --enable-compat28 or --disable-compat28 was given.
5234 if test "${enable_compat28+set}" = set; then
5235 enableval="$enable_compat28"
5236
5237 if test "$enableval" = yes; then
5238 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5239 else
5240 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5241 fi
5242 cache=yes
5243
5244 else
5245
5246 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5247 if test "x$LINE" != x ; then
5248 eval "DEFAULT_$LINE"
5249 cache=yes
5250 else
5251 cache=no
5252 fi
5253
5254 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5255
5256 fi;
5257
5258 eval "$wx_cv_use_compat28"
5259 if test "x$cache" = xyes; then
5260 echo "WXWIN_COMPATIBILITY_2_8=$WXWIN_COMPATIBILITY_2_8" >> ${wx_arg_cache_file}.tmp
5261 fi
5262
5263 if test x"$enablestring" = xdisable; then
5264 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5265 result=no
5266 else
5267 result=yes
5268 fi
5269 else
5270 result=$WXWIN_COMPATIBILITY_2_8
5271 fi
5272
5273 echo "$as_me:$LINENO: result: $result" >&5
5274 echo "${ECHO_T}$result" >&6
5275
5276
5277
5278 enablestring=disable
5279 defaultval=
5280 if test -z "$defaultval"; then
5281 if test x"$enablestring" = xdisable; then
5282 defaultval=yes
5283 else
5284 defaultval=no
5285 fi
5286 fi
5287
5288 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5289 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
5290 # Check whether --enable-rpath or --disable-rpath was given.
5291 if test "${enable_rpath+set}" = set; then
5292 enableval="$enable_rpath"
5293
5294 if test "$enableval" = yes; then
5295 wx_cv_use_rpath='wxUSE_RPATH=yes'
5296 else
5297 wx_cv_use_rpath='wxUSE_RPATH=no'
5298 fi
5299 cache=yes
5300
5301 else
5302
5303 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5304 if test "x$LINE" != x ; then
5305 eval "DEFAULT_$LINE"
5306 cache=yes
5307 else
5308 cache=no
5309 fi
5310
5311 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5312
5313 fi;
5314
5315 eval "$wx_cv_use_rpath"
5316 if test "x$cache" = xyes; then
5317 echo "wxUSE_RPATH=$wxUSE_RPATH" >> ${wx_arg_cache_file}.tmp
5318 fi
5319
5320 if test x"$enablestring" = xdisable; then
5321 if test $wxUSE_RPATH = yes; then
5322 result=no
5323 else
5324 result=yes
5325 fi
5326 else
5327 result=$wxUSE_RPATH
5328 fi
5329
5330 echo "$as_me:$LINENO: result: $result" >&5
5331 echo "${ECHO_T}$result" >&6
5332
5333
5334
5335 enablestring=
5336 defaultval=
5337 if test -z "$defaultval"; then
5338 if test x"$enablestring" = xdisable; then
5339 defaultval=yes
5340 else
5341 defaultval=no
5342 fi
5343 fi
5344
5345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5346 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6
5347 # Check whether --enable-objc_uniquifying or --disable-objc_uniquifying was given.
5348 if test "${enable_objc_uniquifying+set}" = set; then
5349 enableval="$enable_objc_uniquifying"
5350
5351 if test "$enableval" = yes; then
5352 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5353 else
5354 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5355 fi
5356 cache=yes
5357
5358 else
5359
5360 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5361 if test "x$LINE" != x ; then
5362 eval "DEFAULT_$LINE"
5363 cache=yes
5364 else
5365 cache=no
5366 fi
5367
5368 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5369
5370 fi;
5371
5372 eval "$wx_cv_use_objc_uniquifying"
5373 if test "x$cache" = xyes; then
5374 echo "wxUSE_OBJC_UNIQUIFYING=$wxUSE_OBJC_UNIQUIFYING" >> ${wx_arg_cache_file}.tmp
5375 fi
5376
5377 if test x"$enablestring" = xdisable; then
5378 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5379 result=no
5380 else
5381 result=yes
5382 fi
5383 else
5384 result=$wxUSE_OBJC_UNIQUIFYING
5385 fi
5386
5387 echo "$as_me:$LINENO: result: $result" >&5
5388 echo "${ECHO_T}$result" >&6
5389
5390
5391
5392 enablestring=disable
5393 defaultval=
5394 if test -z "$defaultval"; then
5395 if test x"$enablestring" = xdisable; then
5396 defaultval=yes
5397 else
5398 defaultval=no
5399 fi
5400 fi
5401
5402 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5403 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6
5404 # Check whether --enable-visibility or --disable-visibility was given.
5405 if test "${enable_visibility+set}" = set; then
5406 enableval="$enable_visibility"
5407
5408 if test "$enableval" = yes; then
5409 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5410 else
5411 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5412 fi
5413 cache=yes
5414
5415 else
5416
5417 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5418 if test "x$LINE" != x ; then
5419 eval "DEFAULT_$LINE"
5420 cache=yes
5421 else
5422 cache=no
5423 fi
5424
5425 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5426
5427 fi;
5428
5429 eval "$wx_cv_use_visibility"
5430 if test "x$cache" = xyes; then
5431 echo "wxUSE_VISIBILITY=$wxUSE_VISIBILITY" >> ${wx_arg_cache_file}.tmp
5432 fi
5433
5434 if test x"$enablestring" = xdisable; then
5435 if test $wxUSE_VISIBILITY = yes; then
5436 result=no
5437 else
5438 result=yes
5439 fi
5440 else
5441 result=$wxUSE_VISIBILITY
5442 fi
5443
5444 echo "$as_me:$LINENO: result: $result" >&5
5445 echo "${ECHO_T}$result" >&6
5446
5447
5448
5449
5450 enablestring=
5451 defaultval=$wxUSE_ALL_FEATURES
5452 if test -z "$defaultval"; then
5453 if test x"$enablestring" = xdisable; then
5454 defaultval=yes
5455 else
5456 defaultval=no
5457 fi
5458 fi
5459
5460 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5461 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
5462 # Check whether --enable-intl or --disable-intl was given.
5463 if test "${enable_intl+set}" = set; then
5464 enableval="$enable_intl"
5465
5466 if test "$enableval" = yes; then
5467 wx_cv_use_intl='wxUSE_INTL=yes'
5468 else
5469 wx_cv_use_intl='wxUSE_INTL=no'
5470 fi
5471 cache=yes
5472
5473 else
5474
5475 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5476 if test "x$LINE" != x ; then
5477 eval "DEFAULT_$LINE"
5478 cache=yes
5479 else
5480 cache=no
5481 fi
5482
5483 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5484
5485 fi;
5486
5487 eval "$wx_cv_use_intl"
5488 if test "x$cache" = xyes; then
5489 echo "wxUSE_INTL=$wxUSE_INTL" >> ${wx_arg_cache_file}.tmp
5490 fi
5491
5492 if test x"$enablestring" = xdisable; then
5493 if test $wxUSE_INTL = yes; then
5494 result=no
5495 else
5496 result=yes
5497 fi
5498 else
5499 result=$wxUSE_INTL
5500 fi
5501
5502 echo "$as_me:$LINENO: result: $result" >&5
5503 echo "${ECHO_T}$result" >&6
5504
5505
5506 enablestring=
5507 defaultval=$wxUSE_ALL_FEATURES
5508 if test -z "$defaultval"; then
5509 if test x"$enablestring" = xdisable; then
5510 defaultval=yes
5511 else
5512 defaultval=no
5513 fi
5514 fi
5515
5516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5517 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
5518 # Check whether --enable-config or --disable-config was given.
5519 if test "${enable_config+set}" = set; then
5520 enableval="$enable_config"
5521
5522 if test "$enableval" = yes; then
5523 wx_cv_use_config='wxUSE_CONFIG=yes'
5524 else
5525 wx_cv_use_config='wxUSE_CONFIG=no'
5526 fi
5527 cache=yes
5528
5529 else
5530
5531 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5532 if test "x$LINE" != x ; then
5533 eval "DEFAULT_$LINE"
5534 cache=yes
5535 else
5536 cache=no
5537 fi
5538
5539 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5540
5541 fi;
5542
5543 eval "$wx_cv_use_config"
5544 if test "x$cache" = xyes; then
5545 echo "wxUSE_CONFIG=$wxUSE_CONFIG" >> ${wx_arg_cache_file}.tmp
5546 fi
5547
5548 if test x"$enablestring" = xdisable; then
5549 if test $wxUSE_CONFIG = yes; then
5550 result=no
5551 else
5552 result=yes
5553 fi
5554 else
5555 result=$wxUSE_CONFIG
5556 fi
5557
5558 echo "$as_me:$LINENO: result: $result" >&5
5559 echo "${ECHO_T}$result" >&6
5560
5561
5562
5563 enablestring=
5564 defaultval=$wxUSE_ALL_FEATURES
5565 if test -z "$defaultval"; then
5566 if test x"$enablestring" = xdisable; then
5567 defaultval=yes
5568 else
5569 defaultval=no
5570 fi
5571 fi
5572
5573 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5574 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
5575 # Check whether --enable-protocols or --disable-protocols was given.
5576 if test "${enable_protocols+set}" = set; then
5577 enableval="$enable_protocols"
5578
5579 if test "$enableval" = yes; then
5580 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5581 else
5582 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5583 fi
5584 cache=yes
5585
5586 else
5587
5588 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
5589 if test "x$LINE" != x ; then
5590 eval "DEFAULT_$LINE"
5591 cache=yes
5592 else
5593 cache=no
5594 fi
5595
5596 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5597
5598 fi;
5599
5600 eval "$wx_cv_use_protocols"
5601 if test "x$cache" = xyes; then
5602 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
5603 fi
5604
5605 if test x"$enablestring" = xdisable; then
5606 if test $wxUSE_PROTOCOL = yes; then
5607 result=no
5608 else
5609 result=yes
5610 fi
5611 else
5612 result=$wxUSE_PROTOCOL
5613 fi
5614
5615 echo "$as_me:$LINENO: result: $result" >&5
5616 echo "${ECHO_T}$result" >&6
5617
5618
5619 enablestring=
5620 defaultval=$wxUSE_ALL_FEATURES
5621 if test -z "$defaultval"; then
5622 if test x"$enablestring" = xdisable; then
5623 defaultval=yes
5624 else
5625 defaultval=no
5626 fi
5627 fi
5628
5629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5630 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
5631 # Check whether --enable-ftp or --disable-ftp was given.
5632 if test "${enable_ftp+set}" = set; then
5633 enableval="$enable_ftp"
5634
5635 if test "$enableval" = yes; then
5636 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5637 else
5638 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5639 fi
5640 cache=yes
5641
5642 else
5643
5644 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
5645 if test "x$LINE" != x ; then
5646 eval "DEFAULT_$LINE"
5647 cache=yes
5648 else
5649 cache=no
5650 fi
5651
5652 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5653
5654 fi;
5655
5656 eval "$wx_cv_use_ftp"
5657 if test "x$cache" = xyes; then
5658 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
5659 fi
5660
5661 if test x"$enablestring" = xdisable; then
5662 if test $wxUSE_PROTOCOL_FTP = yes; then
5663 result=no
5664 else
5665 result=yes
5666 fi
5667 else
5668 result=$wxUSE_PROTOCOL_FTP
5669 fi
5670
5671 echo "$as_me:$LINENO: result: $result" >&5
5672 echo "${ECHO_T}$result" >&6
5673
5674
5675 enablestring=
5676 defaultval=$wxUSE_ALL_FEATURES
5677 if test -z "$defaultval"; then
5678 if test x"$enablestring" = xdisable; then
5679 defaultval=yes
5680 else
5681 defaultval=no
5682 fi
5683 fi
5684
5685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5686 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
5687 # Check whether --enable-http or --disable-http was given.
5688 if test "${enable_http+set}" = set; then
5689 enableval="$enable_http"
5690
5691 if test "$enableval" = yes; then
5692 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5693 else
5694 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5695 fi
5696 cache=yes
5697
5698 else
5699
5700 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
5701 if test "x$LINE" != x ; then
5702 eval "DEFAULT_$LINE"
5703 cache=yes
5704 else
5705 cache=no
5706 fi
5707
5708 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5709
5710 fi;
5711
5712 eval "$wx_cv_use_http"
5713 if test "x$cache" = xyes; then
5714 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
5715 fi
5716
5717 if test x"$enablestring" = xdisable; then
5718 if test $wxUSE_PROTOCOL_HTTP = yes; then
5719 result=no
5720 else
5721 result=yes
5722 fi
5723 else
5724 result=$wxUSE_PROTOCOL_HTTP
5725 fi
5726
5727 echo "$as_me:$LINENO: result: $result" >&5
5728 echo "${ECHO_T}$result" >&6
5729
5730
5731 enablestring=
5732 defaultval=$wxUSE_ALL_FEATURES
5733 if test -z "$defaultval"; then
5734 if test x"$enablestring" = xdisable; then
5735 defaultval=yes
5736 else
5737 defaultval=no
5738 fi
5739 fi
5740
5741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5742 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
5743 # Check whether --enable-fileproto or --disable-fileproto was given.
5744 if test "${enable_fileproto+set}" = set; then
5745 enableval="$enable_fileproto"
5746
5747 if test "$enableval" = yes; then
5748 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5749 else
5750 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5751 fi
5752 cache=yes
5753
5754 else
5755
5756 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
5757 if test "x$LINE" != x ; then
5758 eval "DEFAULT_$LINE"
5759 cache=yes
5760 else
5761 cache=no
5762 fi
5763
5764 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5765
5766 fi;
5767
5768 eval "$wx_cv_use_fileproto"
5769 if test "x$cache" = xyes; then
5770 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
5771 fi
5772
5773 if test x"$enablestring" = xdisable; then
5774 if test $wxUSE_PROTOCOL_FILE = yes; then
5775 result=no
5776 else
5777 result=yes
5778 fi
5779 else
5780 result=$wxUSE_PROTOCOL_FILE
5781 fi
5782
5783 echo "$as_me:$LINENO: result: $result" >&5
5784 echo "${ECHO_T}$result" >&6
5785
5786
5787 enablestring=
5788 defaultval=$wxUSE_ALL_FEATURES
5789 if test -z "$defaultval"; then
5790 if test x"$enablestring" = xdisable; then
5791 defaultval=yes
5792 else
5793 defaultval=no
5794 fi
5795 fi
5796
5797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5798 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
5799 # Check whether --enable-sockets or --disable-sockets was given.
5800 if test "${enable_sockets+set}" = set; then
5801 enableval="$enable_sockets"
5802
5803 if test "$enableval" = yes; then
5804 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5805 else
5806 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5807 fi
5808 cache=yes
5809
5810 else
5811
5812 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
5813 if test "x$LINE" != x ; then
5814 eval "DEFAULT_$LINE"
5815 cache=yes
5816 else
5817 cache=no
5818 fi
5819
5820 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5821
5822 fi;
5823
5824 eval "$wx_cv_use_sockets"
5825 if test "x$cache" = xyes; then
5826 echo "wxUSE_SOCKETS=$wxUSE_SOCKETS" >> ${wx_arg_cache_file}.tmp
5827 fi
5828
5829 if test x"$enablestring" = xdisable; then
5830 if test $wxUSE_SOCKETS = yes; then
5831 result=no
5832 else
5833 result=yes
5834 fi
5835 else
5836 result=$wxUSE_SOCKETS
5837 fi
5838
5839 echo "$as_me:$LINENO: result: $result" >&5
5840 echo "${ECHO_T}$result" >&6
5841
5842
5843 enablestring=
5844 defaultval=$wxUSE_ALL_FEATURES
5845 if test -z "$defaultval"; then
5846 if test x"$enablestring" = xdisable; then
5847 defaultval=yes
5848 else
5849 defaultval=no
5850 fi
5851 fi
5852
5853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5854 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
5855 # Check whether --enable-ole or --disable-ole was given.
5856 if test "${enable_ole+set}" = set; then
5857 enableval="$enable_ole"
5858
5859 if test "$enableval" = yes; then
5860 wx_cv_use_ole='wxUSE_OLE=yes'
5861 else
5862 wx_cv_use_ole='wxUSE_OLE=no'
5863 fi
5864 cache=yes
5865
5866 else
5867
5868 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x ; then
5870 eval "DEFAULT_$LINE"
5871 cache=yes
5872 else
5873 cache=no
5874 fi
5875
5876 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5877
5878 fi;
5879
5880 eval "$wx_cv_use_ole"
5881 if test "x$cache" = xyes; then
5882 echo "wxUSE_OLE=$wxUSE_OLE" >> ${wx_arg_cache_file}.tmp
5883 fi
5884
5885 if test x"$enablestring" = xdisable; then
5886 if test $wxUSE_OLE = yes; then
5887 result=no
5888 else
5889 result=yes
5890 fi
5891 else
5892 result=$wxUSE_OLE
5893 fi
5894
5895 echo "$as_me:$LINENO: result: $result" >&5
5896 echo "${ECHO_T}$result" >&6
5897
5898
5899 enablestring=
5900 defaultval=$wxUSE_ALL_FEATURES
5901 if test -z "$defaultval"; then
5902 if test x"$enablestring" = xdisable; then
5903 defaultval=yes
5904 else
5905 defaultval=no
5906 fi
5907 fi
5908
5909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5910 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
5911 # Check whether --enable-dataobj or --disable-dataobj was given.
5912 if test "${enable_dataobj+set}" = set; then
5913 enableval="$enable_dataobj"
5914
5915 if test "$enableval" = yes; then
5916 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5917 else
5918 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5919 fi
5920 cache=yes
5921
5922 else
5923
5924 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
5925 if test "x$LINE" != x ; then
5926 eval "DEFAULT_$LINE"
5927 cache=yes
5928 else
5929 cache=no
5930 fi
5931
5932 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5933
5934 fi;
5935
5936 eval "$wx_cv_use_dataobj"
5937 if test "x$cache" = xyes; then
5938 echo "wxUSE_DATAOBJ=$wxUSE_DATAOBJ" >> ${wx_arg_cache_file}.tmp
5939 fi
5940
5941 if test x"$enablestring" = xdisable; then
5942 if test $wxUSE_DATAOBJ = yes; then
5943 result=no
5944 else
5945 result=yes
5946 fi
5947 else
5948 result=$wxUSE_DATAOBJ
5949 fi
5950
5951 echo "$as_me:$LINENO: result: $result" >&5
5952 echo "${ECHO_T}$result" >&6
5953
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}-ipc" >&5
5967 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
5968 # Check whether --enable-ipc or --disable-ipc was given.
5969 if test "${enable_ipc+set}" = set; then
5970 enableval="$enable_ipc"
5971
5972 if test "$enableval" = yes; then
5973 wx_cv_use_ipc='wxUSE_IPC=yes'
5974 else
5975 wx_cv_use_ipc='wxUSE_IPC=no'
5976 fi
5977 cache=yes
5978
5979 else
5980
5981 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
5982 if test "x$LINE" != x ; then
5983 eval "DEFAULT_$LINE"
5984 cache=yes
5985 else
5986 cache=no
5987 fi
5988
5989 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
5990
5991 fi;
5992
5993 eval "$wx_cv_use_ipc"
5994 if test "x$cache" = xyes; then
5995 echo "wxUSE_IPC=$wxUSE_IPC" >> ${wx_arg_cache_file}.tmp
5996 fi
5997
5998 if test x"$enablestring" = xdisable; then
5999 if test $wxUSE_IPC = yes; then
6000 result=no
6001 else
6002 result=yes
6003 fi
6004 else
6005 result=$wxUSE_IPC
6006 fi
6007
6008 echo "$as_me:$LINENO: result: $result" >&5
6009 echo "${ECHO_T}$result" >&6
6010
6011
6012
6013 enablestring=
6014 defaultval=$wxUSE_ALL_FEATURES
6015 if test -z "$defaultval"; then
6016 if test x"$enablestring" = xdisable; then
6017 defaultval=yes
6018 else
6019 defaultval=no
6020 fi
6021 fi
6022
6023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6024 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6
6025 # Check whether --enable-baseevtloop or --disable-baseevtloop was given.
6026 if test "${enable_baseevtloop+set}" = set; then
6027 enableval="$enable_baseevtloop"
6028
6029 if test "$enableval" = yes; then
6030 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6031 else
6032 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6033 fi
6034 cache=yes
6035
6036 else
6037
6038 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6039 if test "x$LINE" != x ; then
6040 eval "DEFAULT_$LINE"
6041 cache=yes
6042 else
6043 cache=no
6044 fi
6045
6046 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6047
6048 fi;
6049
6050 eval "$wx_cv_use_baseevtloop"
6051 if test "x$cache" = xyes; then
6052 echo "wxUSE_CONSOLE_EVENTLOOP=$wxUSE_CONSOLE_EVENTLOOP" >> ${wx_arg_cache_file}.tmp
6053 fi
6054
6055 if test x"$enablestring" = xdisable; then
6056 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6057 result=no
6058 else
6059 result=yes
6060 fi
6061 else
6062 result=$wxUSE_CONSOLE_EVENTLOOP
6063 fi
6064
6065 echo "$as_me:$LINENO: result: $result" >&5
6066 echo "${ECHO_T}$result" >&6
6067
6068
6069 enablestring=
6070 defaultval=$wxUSE_ALL_FEATURES
6071 if test -z "$defaultval"; then
6072 if test x"$enablestring" = xdisable; then
6073 defaultval=yes
6074 else
6075 defaultval=no
6076 fi
6077 fi
6078
6079 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6080 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6
6081 # Check whether --enable-epoolloop or --disable-epoolloop was given.
6082 if test "${enable_epoolloop+set}" = set; then
6083 enableval="$enable_epoolloop"
6084
6085 if test "$enableval" = yes; then
6086 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6087 else
6088 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6089 fi
6090 cache=yes
6091
6092 else
6093
6094 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6095 if test "x$LINE" != x ; then
6096 eval "DEFAULT_$LINE"
6097 cache=yes
6098 else
6099 cache=no
6100 fi
6101
6102 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6103
6104 fi;
6105
6106 eval "$wx_cv_use_epoolloop"
6107 if test "x$cache" = xyes; then
6108 echo "wxUSE_EPOLL_DISPATCHER=$wxUSE_EPOLL_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6109 fi
6110
6111 if test x"$enablestring" = xdisable; then
6112 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6113 result=no
6114 else
6115 result=yes
6116 fi
6117 else
6118 result=$wxUSE_EPOLL_DISPATCHER
6119 fi
6120
6121 echo "$as_me:$LINENO: result: $result" >&5
6122 echo "${ECHO_T}$result" >&6
6123
6124
6125 enablestring=
6126 defaultval=$wxUSE_ALL_FEATURES
6127 if test -z "$defaultval"; then
6128 if test x"$enablestring" = xdisable; then
6129 defaultval=yes
6130 else
6131 defaultval=no
6132 fi
6133 fi
6134
6135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6
6137 # Check whether --enable-selectloop or --disable-selectloop was given.
6138 if test "${enable_selectloop+set}" = set; then
6139 enableval="$enable_selectloop"
6140
6141 if test "$enableval" = yes; then
6142 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6143 else
6144 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6145 fi
6146 cache=yes
6147
6148 else
6149
6150 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x ; then
6152 eval "DEFAULT_$LINE"
6153 cache=yes
6154 else
6155 cache=no
6156 fi
6157
6158 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6159
6160 fi;
6161
6162 eval "$wx_cv_use_selectloop"
6163 if test "x$cache" = xyes; then
6164 echo "wxUSE_SELECT_DISPATCHER=$wxUSE_SELECT_DISPATCHER" >> ${wx_arg_cache_file}.tmp
6165 fi
6166
6167 if test x"$enablestring" = xdisable; then
6168 if test $wxUSE_SELECT_DISPATCHER = yes; then
6169 result=no
6170 else
6171 result=yes
6172 fi
6173 else
6174 result=$wxUSE_SELECT_DISPATCHER
6175 fi
6176
6177 echo "$as_me:$LINENO: result: $result" >&5
6178 echo "${ECHO_T}$result" >&6
6179
6180
6181
6182 enablestring=
6183 defaultval=$wxUSE_ALL_FEATURES
6184 if test -z "$defaultval"; then
6185 if test x"$enablestring" = xdisable; then
6186 defaultval=yes
6187 else
6188 defaultval=no
6189 fi
6190 fi
6191
6192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6193 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
6194 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
6195 if test "${enable_apple_ieee+set}" = set; then
6196 enableval="$enable_apple_ieee"
6197
6198 if test "$enableval" = yes; then
6199 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6200 else
6201 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6202 fi
6203 cache=yes
6204
6205 else
6206
6207 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6208 if test "x$LINE" != x ; then
6209 eval "DEFAULT_$LINE"
6210 cache=yes
6211 else
6212 cache=no
6213 fi
6214
6215 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6216
6217 fi;
6218
6219 eval "$wx_cv_use_apple_ieee"
6220 if test "x$cache" = xyes; then
6221 echo "wxUSE_APPLE_IEEE=$wxUSE_APPLE_IEEE" >> ${wx_arg_cache_file}.tmp
6222 fi
6223
6224 if test x"$enablestring" = xdisable; then
6225 if test $wxUSE_APPLE_IEEE = yes; then
6226 result=no
6227 else
6228 result=yes
6229 fi
6230 else
6231 result=$wxUSE_APPLE_IEEE
6232 fi
6233
6234 echo "$as_me:$LINENO: result: $result" >&5
6235 echo "${ECHO_T}$result" >&6
6236
6237
6238 enablestring=
6239 defaultval=$wxUSE_ALL_FEATURES
6240 if test -z "$defaultval"; then
6241 if test x"$enablestring" = xdisable; then
6242 defaultval=yes
6243 else
6244 defaultval=no
6245 fi
6246 fi
6247
6248 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6249 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
6250 # Check whether --enable-arcstream or --disable-arcstream was given.
6251 if test "${enable_arcstream+set}" = set; then
6252 enableval="$enable_arcstream"
6253
6254 if test "$enableval" = yes; then
6255 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6256 else
6257 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6258 fi
6259 cache=yes
6260
6261 else
6262
6263 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6264 if test "x$LINE" != x ; then
6265 eval "DEFAULT_$LINE"
6266 cache=yes
6267 else
6268 cache=no
6269 fi
6270
6271 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6272
6273 fi;
6274
6275 eval "$wx_cv_use_arcstream"
6276 if test "x$cache" = xyes; then
6277 echo "wxUSE_ARCHIVE_STREAMS=$wxUSE_ARCHIVE_STREAMS" >> ${wx_arg_cache_file}.tmp
6278 fi
6279
6280 if test x"$enablestring" = xdisable; then
6281 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6282 result=no
6283 else
6284 result=yes
6285 fi
6286 else
6287 result=$wxUSE_ARCHIVE_STREAMS
6288 fi
6289
6290 echo "$as_me:$LINENO: result: $result" >&5
6291 echo "${ECHO_T}$result" >&6
6292
6293
6294 enablestring=
6295 defaultval=$wxUSE_ALL_FEATURES
6296 if test -z "$defaultval"; then
6297 if test x"$enablestring" = xdisable; then
6298 defaultval=yes
6299 else
6300 defaultval=no
6301 fi
6302 fi
6303
6304 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6305 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6
6306 # Check whether --enable-base64 or --disable-base64 was given.
6307 if test "${enable_base64+set}" = set; then
6308 enableval="$enable_base64"
6309
6310 if test "$enableval" = yes; then
6311 wx_cv_use_base64='wxUSE_BASE64=yes'
6312 else
6313 wx_cv_use_base64='wxUSE_BASE64=no'
6314 fi
6315 cache=yes
6316
6317 else
6318
6319 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x ; then
6321 eval "DEFAULT_$LINE"
6322 cache=yes
6323 else
6324 cache=no
6325 fi
6326
6327 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6328
6329 fi;
6330
6331 eval "$wx_cv_use_base64"
6332 if test "x$cache" = xyes; then
6333 echo "wxUSE_BASE64=$wxUSE_BASE64" >> ${wx_arg_cache_file}.tmp
6334 fi
6335
6336 if test x"$enablestring" = xdisable; then
6337 if test $wxUSE_BASE64 = yes; then
6338 result=no
6339 else
6340 result=yes
6341 fi
6342 else
6343 result=$wxUSE_BASE64
6344 fi
6345
6346 echo "$as_me:$LINENO: result: $result" >&5
6347 echo "${ECHO_T}$result" >&6
6348
6349
6350 enablestring=
6351 defaultval=$wxUSE_ALL_FEATURES
6352 if test -z "$defaultval"; then
6353 if test x"$enablestring" = xdisable; then
6354 defaultval=yes
6355 else
6356 defaultval=no
6357 fi
6358 fi
6359
6360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6361 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
6362 # Check whether --enable-backtrace or --disable-backtrace was given.
6363 if test "${enable_backtrace+set}" = set; then
6364 enableval="$enable_backtrace"
6365
6366 if test "$enableval" = yes; then
6367 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6368 else
6369 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6370 fi
6371 cache=yes
6372
6373 else
6374
6375 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6376 if test "x$LINE" != x ; then
6377 eval "DEFAULT_$LINE"
6378 cache=yes
6379 else
6380 cache=no
6381 fi
6382
6383 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6384
6385 fi;
6386
6387 eval "$wx_cv_use_backtrace"
6388 if test "x$cache" = xyes; then
6389 echo "wxUSE_STACKWALKER=$wxUSE_STACKWALKER" >> ${wx_arg_cache_file}.tmp
6390 fi
6391
6392 if test x"$enablestring" = xdisable; then
6393 if test $wxUSE_STACKWALKER = yes; then
6394 result=no
6395 else
6396 result=yes
6397 fi
6398 else
6399 result=$wxUSE_STACKWALKER
6400 fi
6401
6402 echo "$as_me:$LINENO: result: $result" >&5
6403 echo "${ECHO_T}$result" >&6
6404
6405
6406 enablestring=
6407 defaultval=$wxUSE_ALL_FEATURES
6408 if test -z "$defaultval"; then
6409 if test x"$enablestring" = xdisable; then
6410 defaultval=yes
6411 else
6412 defaultval=no
6413 fi
6414 fi
6415
6416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6417 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
6418 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
6419 if test "${enable_catch_segvs+set}" = set; then
6420 enableval="$enable_catch_segvs"
6421
6422 if test "$enableval" = yes; then
6423 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6424 else
6425 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6426 fi
6427 cache=yes
6428
6429 else
6430
6431 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6432 if test "x$LINE" != x ; then
6433 eval "DEFAULT_$LINE"
6434 cache=yes
6435 else
6436 cache=no
6437 fi
6438
6439 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6440
6441 fi;
6442
6443 eval "$wx_cv_use_catch_segvs"
6444 if test "x$cache" = xyes; then
6445 echo "wxUSE_ON_FATAL_EXCEPTION=$wxUSE_ON_FATAL_EXCEPTION" >> ${wx_arg_cache_file}.tmp
6446 fi
6447
6448 if test x"$enablestring" = xdisable; then
6449 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6450 result=no
6451 else
6452 result=yes
6453 fi
6454 else
6455 result=$wxUSE_ON_FATAL_EXCEPTION
6456 fi
6457
6458 echo "$as_me:$LINENO: result: $result" >&5
6459 echo "${ECHO_T}$result" >&6
6460
6461
6462 enablestring=
6463 defaultval=$wxUSE_ALL_FEATURES
6464 if test -z "$defaultval"; then
6465 if test x"$enablestring" = xdisable; then
6466 defaultval=yes
6467 else
6468 defaultval=no
6469 fi
6470 fi
6471
6472 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6473 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
6474 # Check whether --enable-cmdline or --disable-cmdline was given.
6475 if test "${enable_cmdline+set}" = set; then
6476 enableval="$enable_cmdline"
6477
6478 if test "$enableval" = yes; then
6479 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6480 else
6481 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6482 fi
6483 cache=yes
6484
6485 else
6486
6487 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
6488 if test "x$LINE" != x ; then
6489 eval "DEFAULT_$LINE"
6490 cache=yes
6491 else
6492 cache=no
6493 fi
6494
6495 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6496
6497 fi;
6498
6499 eval "$wx_cv_use_cmdline"
6500 if test "x$cache" = xyes; then
6501 echo "wxUSE_CMDLINE_PARSER=$wxUSE_CMDLINE_PARSER" >> ${wx_arg_cache_file}.tmp
6502 fi
6503
6504 if test x"$enablestring" = xdisable; then
6505 if test $wxUSE_CMDLINE_PARSER = yes; then
6506 result=no
6507 else
6508 result=yes
6509 fi
6510 else
6511 result=$wxUSE_CMDLINE_PARSER
6512 fi
6513
6514 echo "$as_me:$LINENO: result: $result" >&5
6515 echo "${ECHO_T}$result" >&6
6516
6517
6518 enablestring=
6519 defaultval=$wxUSE_ALL_FEATURES
6520 if test -z "$defaultval"; then
6521 if test x"$enablestring" = xdisable; then
6522 defaultval=yes
6523 else
6524 defaultval=no
6525 fi
6526 fi
6527
6528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6529 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
6530 # Check whether --enable-datetime or --disable-datetime was given.
6531 if test "${enable_datetime+set}" = set; then
6532 enableval="$enable_datetime"
6533
6534 if test "$enableval" = yes; then
6535 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6536 else
6537 wx_cv_use_datetime='wxUSE_DATETIME=no'
6538 fi
6539 cache=yes
6540
6541 else
6542
6543 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6544 if test "x$LINE" != x ; then
6545 eval "DEFAULT_$LINE"
6546 cache=yes
6547 else
6548 cache=no
6549 fi
6550
6551 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6552
6553 fi;
6554
6555 eval "$wx_cv_use_datetime"
6556 if test "x$cache" = xyes; then
6557 echo "wxUSE_DATETIME=$wxUSE_DATETIME" >> ${wx_arg_cache_file}.tmp
6558 fi
6559
6560 if test x"$enablestring" = xdisable; then
6561 if test $wxUSE_DATETIME = yes; then
6562 result=no
6563 else
6564 result=yes
6565 fi
6566 else
6567 result=$wxUSE_DATETIME
6568 fi
6569
6570 echo "$as_me:$LINENO: result: $result" >&5
6571 echo "${ECHO_T}$result" >&6
6572
6573
6574 enablestring=
6575 defaultval=$wxUSE_ALL_FEATURES
6576 if test -z "$defaultval"; then
6577 if test x"$enablestring" = xdisable; then
6578 defaultval=yes
6579 else
6580 defaultval=no
6581 fi
6582 fi
6583
6584 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6585 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
6586 # Check whether --enable-debugreport or --disable-debugreport was given.
6587 if test "${enable_debugreport+set}" = set; then
6588 enableval="$enable_debugreport"
6589
6590 if test "$enableval" = yes; then
6591 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6592 else
6593 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6594 fi
6595 cache=yes
6596
6597 else
6598
6599 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6600 if test "x$LINE" != x ; then
6601 eval "DEFAULT_$LINE"
6602 cache=yes
6603 else
6604 cache=no
6605 fi
6606
6607 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6608
6609 fi;
6610
6611 eval "$wx_cv_use_debugreport"
6612 if test "x$cache" = xyes; then
6613 echo "wxUSE_DEBUGREPORT=$wxUSE_DEBUGREPORT" >> ${wx_arg_cache_file}.tmp
6614 fi
6615
6616 if test x"$enablestring" = xdisable; then
6617 if test $wxUSE_DEBUGREPORT = yes; then
6618 result=no
6619 else
6620 result=yes
6621 fi
6622 else
6623 result=$wxUSE_DEBUGREPORT
6624 fi
6625
6626 echo "$as_me:$LINENO: result: $result" >&5
6627 echo "${ECHO_T}$result" >&6
6628
6629
6630 enablestring=
6631 defaultval=$wxUSE_ALL_FEATURES
6632 if test -z "$defaultval"; then
6633 if test x"$enablestring" = xdisable; then
6634 defaultval=yes
6635 else
6636 defaultval=no
6637 fi
6638 fi
6639
6640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6641 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
6642 # Check whether --enable-dialupman or --disable-dialupman was given.
6643 if test "${enable_dialupman+set}" = set; then
6644 enableval="$enable_dialupman"
6645
6646 if test "$enableval" = yes; then
6647 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6648 else
6649 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6650 fi
6651 cache=yes
6652
6653 else
6654
6655 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6656 if test "x$LINE" != x ; then
6657 eval "DEFAULT_$LINE"
6658 cache=yes
6659 else
6660 cache=no
6661 fi
6662
6663 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6664
6665 fi;
6666
6667 eval "$wx_cv_use_dialupman"
6668 if test "x$cache" = xyes; then
6669 echo "wxUSE_DIALUP_MANAGER=$wxUSE_DIALUP_MANAGER" >> ${wx_arg_cache_file}.tmp
6670 fi
6671
6672 if test x"$enablestring" = xdisable; then
6673 if test $wxUSE_DIALUP_MANAGER = yes; then
6674 result=no
6675 else
6676 result=yes
6677 fi
6678 else
6679 result=$wxUSE_DIALUP_MANAGER
6680 fi
6681
6682 echo "$as_me:$LINENO: result: $result" >&5
6683 echo "${ECHO_T}$result" >&6
6684
6685
6686 enablestring=
6687 defaultval=$wxUSE_ALL_FEATURES
6688 if test -z "$defaultval"; then
6689 if test x"$enablestring" = xdisable; then
6690 defaultval=yes
6691 else
6692 defaultval=no
6693 fi
6694 fi
6695
6696 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6697 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
6698 # Check whether --enable-dynlib or --disable-dynlib was given.
6699 if test "${enable_dynlib+set}" = set; then
6700 enableval="$enable_dynlib"
6701
6702 if test "$enableval" = yes; then
6703 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6704 else
6705 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6706 fi
6707 cache=yes
6708
6709 else
6710
6711 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6712 if test "x$LINE" != x ; then
6713 eval "DEFAULT_$LINE"
6714 cache=yes
6715 else
6716 cache=no
6717 fi
6718
6719 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6720
6721 fi;
6722
6723 eval "$wx_cv_use_dynlib"
6724 if test "x$cache" = xyes; then
6725 echo "wxUSE_DYNLIB_CLASS=$wxUSE_DYNLIB_CLASS" >> ${wx_arg_cache_file}.tmp
6726 fi
6727
6728 if test x"$enablestring" = xdisable; then
6729 if test $wxUSE_DYNLIB_CLASS = yes; then
6730 result=no
6731 else
6732 result=yes
6733 fi
6734 else
6735 result=$wxUSE_DYNLIB_CLASS
6736 fi
6737
6738 echo "$as_me:$LINENO: result: $result" >&5
6739 echo "${ECHO_T}$result" >&6
6740
6741
6742 enablestring=
6743 defaultval=$wxUSE_ALL_FEATURES
6744 if test -z "$defaultval"; then
6745 if test x"$enablestring" = xdisable; then
6746 defaultval=yes
6747 else
6748 defaultval=no
6749 fi
6750 fi
6751
6752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6753 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
6754 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
6755 if test "${enable_dynamicloader+set}" = set; then
6756 enableval="$enable_dynamicloader"
6757
6758 if test "$enableval" = yes; then
6759 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6760 else
6761 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6762 fi
6763 cache=yes
6764
6765 else
6766
6767 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
6768 if test "x$LINE" != x ; then
6769 eval "DEFAULT_$LINE"
6770 cache=yes
6771 else
6772 cache=no
6773 fi
6774
6775 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6776
6777 fi;
6778
6779 eval "$wx_cv_use_dynamicloader"
6780 if test "x$cache" = xyes; then
6781 echo "wxUSE_DYNAMIC_LOADER=$wxUSE_DYNAMIC_LOADER" >> ${wx_arg_cache_file}.tmp
6782 fi
6783
6784 if test x"$enablestring" = xdisable; then
6785 if test $wxUSE_DYNAMIC_LOADER = yes; then
6786 result=no
6787 else
6788 result=yes
6789 fi
6790 else
6791 result=$wxUSE_DYNAMIC_LOADER
6792 fi
6793
6794 echo "$as_me:$LINENO: result: $result" >&5
6795 echo "${ECHO_T}$result" >&6
6796
6797
6798 enablestring=
6799 defaultval=$wxUSE_ALL_FEATURES
6800 if test -z "$defaultval"; then
6801 if test x"$enablestring" = xdisable; then
6802 defaultval=yes
6803 else
6804 defaultval=no
6805 fi
6806 fi
6807
6808 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6809 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
6810 # Check whether --enable-exceptions or --disable-exceptions was given.
6811 if test "${enable_exceptions+set}" = set; then
6812 enableval="$enable_exceptions"
6813
6814 if test "$enableval" = yes; then
6815 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6816 else
6817 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6818 fi
6819 cache=yes
6820
6821 else
6822
6823 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
6824 if test "x$LINE" != x ; then
6825 eval "DEFAULT_$LINE"
6826 cache=yes
6827 else
6828 cache=no
6829 fi
6830
6831 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6832
6833 fi;
6834
6835 eval "$wx_cv_use_exceptions"
6836 if test "x$cache" = xyes; then
6837 echo "wxUSE_EXCEPTIONS=$wxUSE_EXCEPTIONS" >> ${wx_arg_cache_file}.tmp
6838 fi
6839
6840 if test x"$enablestring" = xdisable; then
6841 if test $wxUSE_EXCEPTIONS = yes; then
6842 result=no
6843 else
6844 result=yes
6845 fi
6846 else
6847 result=$wxUSE_EXCEPTIONS
6848 fi
6849
6850 echo "$as_me:$LINENO: result: $result" >&5
6851 echo "${ECHO_T}$result" >&6
6852
6853
6854 enablestring=
6855 defaultval=$wxUSE_ALL_FEATURES
6856 if test -z "$defaultval"; then
6857 if test x"$enablestring" = xdisable; then
6858 defaultval=yes
6859 else
6860 defaultval=no
6861 fi
6862 fi
6863
6864 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6865 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
6866 # Check whether --enable-ffile or --disable-ffile was given.
6867 if test "${enable_ffile+set}" = set; then
6868 enableval="$enable_ffile"
6869
6870 if test "$enableval" = yes; then
6871 wx_cv_use_ffile='wxUSE_FFILE=yes'
6872 else
6873 wx_cv_use_ffile='wxUSE_FFILE=no'
6874 fi
6875 cache=yes
6876
6877 else
6878
6879 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
6880 if test "x$LINE" != x ; then
6881 eval "DEFAULT_$LINE"
6882 cache=yes
6883 else
6884 cache=no
6885 fi
6886
6887 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6888
6889 fi;
6890
6891 eval "$wx_cv_use_ffile"
6892 if test "x$cache" = xyes; then
6893 echo "wxUSE_FFILE=$wxUSE_FFILE" >> ${wx_arg_cache_file}.tmp
6894 fi
6895
6896 if test x"$enablestring" = xdisable; then
6897 if test $wxUSE_FFILE = yes; then
6898 result=no
6899 else
6900 result=yes
6901 fi
6902 else
6903 result=$wxUSE_FFILE
6904 fi
6905
6906 echo "$as_me:$LINENO: result: $result" >&5
6907 echo "${ECHO_T}$result" >&6
6908
6909
6910 enablestring=
6911 defaultval=$wxUSE_ALL_FEATURES
6912 if test -z "$defaultval"; then
6913 if test x"$enablestring" = xdisable; then
6914 defaultval=yes
6915 else
6916 defaultval=no
6917 fi
6918 fi
6919
6920 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6921 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
6922 # Check whether --enable-file or --disable-file was given.
6923 if test "${enable_file+set}" = set; then
6924 enableval="$enable_file"
6925
6926 if test "$enableval" = yes; then
6927 wx_cv_use_file='wxUSE_FILE=yes'
6928 else
6929 wx_cv_use_file='wxUSE_FILE=no'
6930 fi
6931 cache=yes
6932
6933 else
6934
6935 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
6936 if test "x$LINE" != x ; then
6937 eval "DEFAULT_$LINE"
6938 cache=yes
6939 else
6940 cache=no
6941 fi
6942
6943 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6944
6945 fi;
6946
6947 eval "$wx_cv_use_file"
6948 if test "x$cache" = xyes; then
6949 echo "wxUSE_FILE=$wxUSE_FILE" >> ${wx_arg_cache_file}.tmp
6950 fi
6951
6952 if test x"$enablestring" = xdisable; then
6953 if test $wxUSE_FILE = yes; then
6954 result=no
6955 else
6956 result=yes
6957 fi
6958 else
6959 result=$wxUSE_FILE
6960 fi
6961
6962 echo "$as_me:$LINENO: result: $result" >&5
6963 echo "${ECHO_T}$result" >&6
6964
6965
6966 enablestring=
6967 defaultval=$wxUSE_ALL_FEATURES
6968 if test -z "$defaultval"; then
6969 if test x"$enablestring" = xdisable; then
6970 defaultval=yes
6971 else
6972 defaultval=no
6973 fi
6974 fi
6975
6976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6977 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
6978 # Check whether --enable-filesystem or --disable-filesystem was given.
6979 if test "${enable_filesystem+set}" = set; then
6980 enableval="$enable_filesystem"
6981
6982 if test "$enableval" = yes; then
6983 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6984 else
6985 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6986 fi
6987 cache=yes
6988
6989 else
6990
6991 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
6992 if test "x$LINE" != x ; then
6993 eval "DEFAULT_$LINE"
6994 cache=yes
6995 else
6996 cache=no
6997 fi
6998
6999 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7000
7001 fi;
7002
7003 eval "$wx_cv_use_filesystem"
7004 if test "x$cache" = xyes; then
7005 echo "wxUSE_FILESYSTEM=$wxUSE_FILESYSTEM" >> ${wx_arg_cache_file}.tmp
7006 fi
7007
7008 if test x"$enablestring" = xdisable; then
7009 if test $wxUSE_FILESYSTEM = yes; then
7010 result=no
7011 else
7012 result=yes
7013 fi
7014 else
7015 result=$wxUSE_FILESYSTEM
7016 fi
7017
7018 echo "$as_me:$LINENO: result: $result" >&5
7019 echo "${ECHO_T}$result" >&6
7020
7021
7022 enablestring=
7023 defaultval=$wxUSE_ALL_FEATURES
7024 if test -z "$defaultval"; then
7025 if test x"$enablestring" = xdisable; then
7026 defaultval=yes
7027 else
7028 defaultval=no
7029 fi
7030 fi
7031
7032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7033 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6
7034 # Check whether --enable-fontenum or --disable-fontenum was given.
7035 if test "${enable_fontenum+set}" = set; then
7036 enableval="$enable_fontenum"
7037
7038 if test "$enableval" = yes; then
7039 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7040 else
7041 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7042 fi
7043 cache=yes
7044
7045 else
7046
7047 LINE=`grep "^wxUSE_FONTENUM=" ${wx_arg_cache_file}`
7048 if test "x$LINE" != x ; then
7049 eval "DEFAULT_$LINE"
7050 cache=yes
7051 else
7052 cache=no
7053 fi
7054
7055 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7056
7057 fi;
7058
7059 eval "$wx_cv_use_fontenum"
7060 if test "x$cache" = xyes; then
7061 echo "wxUSE_FONTENUM=$wxUSE_FONTENUM" >> ${wx_arg_cache_file}.tmp
7062 fi
7063
7064 if test x"$enablestring" = xdisable; then
7065 if test $wxUSE_FONTENUM = yes; then
7066 result=no
7067 else
7068 result=yes
7069 fi
7070 else
7071 result=$wxUSE_FONTENUM
7072 fi
7073
7074 echo "$as_me:$LINENO: result: $result" >&5
7075 echo "${ECHO_T}$result" >&6
7076
7077
7078 enablestring=
7079 defaultval=$wxUSE_ALL_FEATURES
7080 if test -z "$defaultval"; then
7081 if test x"$enablestring" = xdisable; then
7082 defaultval=yes
7083 else
7084 defaultval=no
7085 fi
7086 fi
7087
7088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7089 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
7090 # Check whether --enable-fontmap or --disable-fontmap was given.
7091 if test "${enable_fontmap+set}" = set; then
7092 enableval="$enable_fontmap"
7093
7094 if test "$enableval" = yes; then
7095 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7096 else
7097 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7098 fi
7099 cache=yes
7100
7101 else
7102
7103 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7104 if test "x$LINE" != x ; then
7105 eval "DEFAULT_$LINE"
7106 cache=yes
7107 else
7108 cache=no
7109 fi
7110
7111 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7112
7113 fi;
7114
7115 eval "$wx_cv_use_fontmap"
7116 if test "x$cache" = xyes; then
7117 echo "wxUSE_FONTMAP=$wxUSE_FONTMAP" >> ${wx_arg_cache_file}.tmp
7118 fi
7119
7120 if test x"$enablestring" = xdisable; then
7121 if test $wxUSE_FONTMAP = yes; then
7122 result=no
7123 else
7124 result=yes
7125 fi
7126 else
7127 result=$wxUSE_FONTMAP
7128 fi
7129
7130 echo "$as_me:$LINENO: result: $result" >&5
7131 echo "${ECHO_T}$result" >&6
7132
7133
7134 enablestring=
7135 defaultval=$wxUSE_ALL_FEATURES
7136 if test -z "$defaultval"; then
7137 if test x"$enablestring" = xdisable; then
7138 defaultval=yes
7139 else
7140 defaultval=no
7141 fi
7142 fi
7143
7144 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7145 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
7146 # Check whether --enable-fs_archive or --disable-fs_archive was given.
7147 if test "${enable_fs_archive+set}" = set; then
7148 enableval="$enable_fs_archive"
7149
7150 if test "$enableval" = yes; then
7151 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7152 else
7153 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7154 fi
7155 cache=yes
7156
7157 else
7158
7159 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7160 if test "x$LINE" != x ; then
7161 eval "DEFAULT_$LINE"
7162 cache=yes
7163 else
7164 cache=no
7165 fi
7166
7167 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7168
7169 fi;
7170
7171 eval "$wx_cv_use_fs_archive"
7172 if test "x$cache" = xyes; then
7173 echo "wxUSE_FS_ARCHIVE=$wxUSE_FS_ARCHIVE" >> ${wx_arg_cache_file}.tmp
7174 fi
7175
7176 if test x"$enablestring" = xdisable; then
7177 if test $wxUSE_FS_ARCHIVE = yes; then
7178 result=no
7179 else
7180 result=yes
7181 fi
7182 else
7183 result=$wxUSE_FS_ARCHIVE
7184 fi
7185
7186 echo "$as_me:$LINENO: result: $result" >&5
7187 echo "${ECHO_T}$result" >&6
7188
7189
7190 enablestring=
7191 defaultval=$wxUSE_ALL_FEATURES
7192 if test -z "$defaultval"; then
7193 if test x"$enablestring" = xdisable; then
7194 defaultval=yes
7195 else
7196 defaultval=no
7197 fi
7198 fi
7199
7200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7201 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
7202 # Check whether --enable-fs_inet or --disable-fs_inet was given.
7203 if test "${enable_fs_inet+set}" = set; then
7204 enableval="$enable_fs_inet"
7205
7206 if test "$enableval" = yes; then
7207 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7208 else
7209 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7210 fi
7211 cache=yes
7212
7213 else
7214
7215 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7216 if test "x$LINE" != x ; then
7217 eval "DEFAULT_$LINE"
7218 cache=yes
7219 else
7220 cache=no
7221 fi
7222
7223 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7224
7225 fi;
7226
7227 eval "$wx_cv_use_fs_inet"
7228 if test "x$cache" = xyes; then
7229 echo "wxUSE_FS_INET=$wxUSE_FS_INET" >> ${wx_arg_cache_file}.tmp
7230 fi
7231
7232 if test x"$enablestring" = xdisable; then
7233 if test $wxUSE_FS_INET = yes; then
7234 result=no
7235 else
7236 result=yes
7237 fi
7238 else
7239 result=$wxUSE_FS_INET
7240 fi
7241
7242 echo "$as_me:$LINENO: result: $result" >&5
7243 echo "${ECHO_T}$result" >&6
7244
7245
7246 enablestring=
7247 defaultval=$wxUSE_ALL_FEATURES
7248 if test -z "$defaultval"; then
7249 if test x"$enablestring" = xdisable; then
7250 defaultval=yes
7251 else
7252 defaultval=no
7253 fi
7254 fi
7255
7256 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7257 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
7258 # Check whether --enable-fs_zip or --disable-fs_zip was given.
7259 if test "${enable_fs_zip+set}" = set; then
7260 enableval="$enable_fs_zip"
7261
7262 if test "$enableval" = yes; then
7263 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7264 else
7265 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7266 fi
7267 cache=yes
7268
7269 else
7270
7271 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7272 if test "x$LINE" != x ; then
7273 eval "DEFAULT_$LINE"
7274 cache=yes
7275 else
7276 cache=no
7277 fi
7278
7279 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7280
7281 fi;
7282
7283 eval "$wx_cv_use_fs_zip"
7284 if test "x$cache" = xyes; then
7285 echo "wxUSE_FS_ZIP=$wxUSE_FS_ZIP" >> ${wx_arg_cache_file}.tmp
7286 fi
7287
7288 if test x"$enablestring" = xdisable; then
7289 if test $wxUSE_FS_ZIP = yes; then
7290 result=no
7291 else
7292 result=yes
7293 fi
7294 else
7295 result=$wxUSE_FS_ZIP
7296 fi
7297
7298 echo "$as_me:$LINENO: result: $result" >&5
7299 echo "${ECHO_T}$result" >&6
7300
7301
7302 enablestring=
7303 defaultval=$wxUSE_ALL_FEATURES
7304 if test -z "$defaultval"; then
7305 if test x"$enablestring" = xdisable; then
7306 defaultval=yes
7307 else
7308 defaultval=no
7309 fi
7310 fi
7311
7312 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7313 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
7314 # Check whether --enable-geometry or --disable-geometry was given.
7315 if test "${enable_geometry+set}" = set; then
7316 enableval="$enable_geometry"
7317
7318 if test "$enableval" = yes; then
7319 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7320 else
7321 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7322 fi
7323 cache=yes
7324
7325 else
7326
7327 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7328 if test "x$LINE" != x ; then
7329 eval "DEFAULT_$LINE"
7330 cache=yes
7331 else
7332 cache=no
7333 fi
7334
7335 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7336
7337 fi;
7338
7339 eval "$wx_cv_use_geometry"
7340 if test "x$cache" = xyes; then
7341 echo "wxUSE_GEOMETRY=$wxUSE_GEOMETRY" >> ${wx_arg_cache_file}.tmp
7342 fi
7343
7344 if test x"$enablestring" = xdisable; then
7345 if test $wxUSE_GEOMETRY = yes; then
7346 result=no
7347 else
7348 result=yes
7349 fi
7350 else
7351 result=$wxUSE_GEOMETRY
7352 fi
7353
7354 echo "$as_me:$LINENO: result: $result" >&5
7355 echo "${ECHO_T}$result" >&6
7356
7357
7358 enablestring=
7359 defaultval=$wxUSE_ALL_FEATURES
7360 if test -z "$defaultval"; then
7361 if test x"$enablestring" = xdisable; then
7362 defaultval=yes
7363 else
7364 defaultval=no
7365 fi
7366 fi
7367
7368 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7369 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
7370 # Check whether --enable-log or --disable-log was given.
7371 if test "${enable_log+set}" = set; then
7372 enableval="$enable_log"
7373
7374 if test "$enableval" = yes; then
7375 wx_cv_use_log='wxUSE_LOG=yes'
7376 else
7377 wx_cv_use_log='wxUSE_LOG=no'
7378 fi
7379 cache=yes
7380
7381 else
7382
7383 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7384 if test "x$LINE" != x ; then
7385 eval "DEFAULT_$LINE"
7386 cache=yes
7387 else
7388 cache=no
7389 fi
7390
7391 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7392
7393 fi;
7394
7395 eval "$wx_cv_use_log"
7396 if test "x$cache" = xyes; then
7397 echo "wxUSE_LOG=$wxUSE_LOG" >> ${wx_arg_cache_file}.tmp
7398 fi
7399
7400 if test x"$enablestring" = xdisable; then
7401 if test $wxUSE_LOG = yes; then
7402 result=no
7403 else
7404 result=yes
7405 fi
7406 else
7407 result=$wxUSE_LOG
7408 fi
7409
7410 echo "$as_me:$LINENO: result: $result" >&5
7411 echo "${ECHO_T}$result" >&6
7412
7413
7414 enablestring=
7415 defaultval=$wxUSE_ALL_FEATURES
7416 if test -z "$defaultval"; then
7417 if test x"$enablestring" = xdisable; then
7418 defaultval=yes
7419 else
7420 defaultval=no
7421 fi
7422 fi
7423
7424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7425 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
7426 # Check whether --enable-longlong or --disable-longlong was given.
7427 if test "${enable_longlong+set}" = set; then
7428 enableval="$enable_longlong"
7429
7430 if test "$enableval" = yes; then
7431 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7432 else
7433 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7434 fi
7435 cache=yes
7436
7437 else
7438
7439 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7440 if test "x$LINE" != x ; then
7441 eval "DEFAULT_$LINE"
7442 cache=yes
7443 else
7444 cache=no
7445 fi
7446
7447 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7448
7449 fi;
7450
7451 eval "$wx_cv_use_longlong"
7452 if test "x$cache" = xyes; then
7453 echo "wxUSE_LONGLONG=$wxUSE_LONGLONG" >> ${wx_arg_cache_file}.tmp
7454 fi
7455
7456 if test x"$enablestring" = xdisable; then
7457 if test $wxUSE_LONGLONG = yes; then
7458 result=no
7459 else
7460 result=yes
7461 fi
7462 else
7463 result=$wxUSE_LONGLONG
7464 fi
7465
7466 echo "$as_me:$LINENO: result: $result" >&5
7467 echo "${ECHO_T}$result" >&6
7468
7469
7470 enablestring=
7471 defaultval=$wxUSE_ALL_FEATURES
7472 if test -z "$defaultval"; then
7473 if test x"$enablestring" = xdisable; then
7474 defaultval=yes
7475 else
7476 defaultval=no
7477 fi
7478 fi
7479
7480 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7481 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
7482 # Check whether --enable-mimetype or --disable-mimetype was given.
7483 if test "${enable_mimetype+set}" = set; then
7484 enableval="$enable_mimetype"
7485
7486 if test "$enableval" = yes; then
7487 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7488 else
7489 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7490 fi
7491 cache=yes
7492
7493 else
7494
7495 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7496 if test "x$LINE" != x ; then
7497 eval "DEFAULT_$LINE"
7498 cache=yes
7499 else
7500 cache=no
7501 fi
7502
7503 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7504
7505 fi;
7506
7507 eval "$wx_cv_use_mimetype"
7508 if test "x$cache" = xyes; then
7509 echo "wxUSE_MIMETYPE=$wxUSE_MIMETYPE" >> ${wx_arg_cache_file}.tmp
7510 fi
7511
7512 if test x"$enablestring" = xdisable; then
7513 if test $wxUSE_MIMETYPE = yes; then
7514 result=no
7515 else
7516 result=yes
7517 fi
7518 else
7519 result=$wxUSE_MIMETYPE
7520 fi
7521
7522 echo "$as_me:$LINENO: result: $result" >&5
7523 echo "${ECHO_T}$result" >&6
7524
7525
7526 enablestring=
7527 defaultval=$wxUSE_ALL_FEATURES
7528 if test -z "$defaultval"; then
7529 if test x"$enablestring" = xdisable; then
7530 defaultval=yes
7531 else
7532 defaultval=no
7533 fi
7534 fi
7535
7536 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7537 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
7538 # Check whether --enable-snglinst or --disable-snglinst was given.
7539 if test "${enable_snglinst+set}" = set; then
7540 enableval="$enable_snglinst"
7541
7542 if test "$enableval" = yes; then
7543 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7544 else
7545 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7546 fi
7547 cache=yes
7548
7549 else
7550
7551 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
7552 if test "x$LINE" != x ; then
7553 eval "DEFAULT_$LINE"
7554 cache=yes
7555 else
7556 cache=no
7557 fi
7558
7559 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7560
7561 fi;
7562
7563 eval "$wx_cv_use_snglinst"
7564 if test "x$cache" = xyes; then
7565 echo "wxUSE_SNGLINST_CHECKER=$wxUSE_SNGLINST_CHECKER" >> ${wx_arg_cache_file}.tmp
7566 fi
7567
7568 if test x"$enablestring" = xdisable; then
7569 if test $wxUSE_SNGLINST_CHECKER = yes; then
7570 result=no
7571 else
7572 result=yes
7573 fi
7574 else
7575 result=$wxUSE_SNGLINST_CHECKER
7576 fi
7577
7578 echo "$as_me:$LINENO: result: $result" >&5
7579 echo "${ECHO_T}$result" >&6
7580
7581
7582 enablestring=
7583 defaultval=$wxUSE_ALL_FEATURES
7584 if test -z "$defaultval"; then
7585 if test x"$enablestring" = xdisable; then
7586 defaultval=yes
7587 else
7588 defaultval=no
7589 fi
7590 fi
7591
7592 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7593 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
7594 # Check whether --enable-stdpaths or --disable-stdpaths was given.
7595 if test "${enable_stdpaths+set}" = set; then
7596 enableval="$enable_stdpaths"
7597
7598 if test "$enableval" = yes; then
7599 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7600 else
7601 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7602 fi
7603 cache=yes
7604
7605 else
7606
7607 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
7608 if test "x$LINE" != x ; then
7609 eval "DEFAULT_$LINE"
7610 cache=yes
7611 else
7612 cache=no
7613 fi
7614
7615 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7616
7617 fi;
7618
7619 eval "$wx_cv_use_stdpaths"
7620 if test "x$cache" = xyes; then
7621 echo "wxUSE_STDPATHS=$wxUSE_STDPATHS" >> ${wx_arg_cache_file}.tmp
7622 fi
7623
7624 if test x"$enablestring" = xdisable; then
7625 if test $wxUSE_STDPATHS = yes; then
7626 result=no
7627 else
7628 result=yes
7629 fi
7630 else
7631 result=$wxUSE_STDPATHS
7632 fi
7633
7634 echo "$as_me:$LINENO: result: $result" >&5
7635 echo "${ECHO_T}$result" >&6
7636
7637
7638 enablestring=
7639 defaultval=$wxUSE_ALL_FEATURES
7640 if test -z "$defaultval"; then
7641 if test x"$enablestring" = xdisable; then
7642 defaultval=yes
7643 else
7644 defaultval=no
7645 fi
7646 fi
7647
7648 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7649 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
7650 # Check whether --enable-stopwatch or --disable-stopwatch was given.
7651 if test "${enable_stopwatch+set}" = set; then
7652 enableval="$enable_stopwatch"
7653
7654 if test "$enableval" = yes; then
7655 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7656 else
7657 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7658 fi
7659 cache=yes
7660
7661 else
7662
7663 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7664 if test "x$LINE" != x ; then
7665 eval "DEFAULT_$LINE"
7666 cache=yes
7667 else
7668 cache=no
7669 fi
7670
7671 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7672
7673 fi;
7674
7675 eval "$wx_cv_use_stopwatch"
7676 if test "x$cache" = xyes; then
7677 echo "wxUSE_STOPWATCH=$wxUSE_STOPWATCH" >> ${wx_arg_cache_file}.tmp
7678 fi
7679
7680 if test x"$enablestring" = xdisable; then
7681 if test $wxUSE_STOPWATCH = yes; then
7682 result=no
7683 else
7684 result=yes
7685 fi
7686 else
7687 result=$wxUSE_STOPWATCH
7688 fi
7689
7690 echo "$as_me:$LINENO: result: $result" >&5
7691 echo "${ECHO_T}$result" >&6
7692
7693
7694 enablestring=
7695 defaultval=$wxUSE_ALL_FEATURES
7696 if test -z "$defaultval"; then
7697 if test x"$enablestring" = xdisable; then
7698 defaultval=yes
7699 else
7700 defaultval=no
7701 fi
7702 fi
7703
7704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7705 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
7706 # Check whether --enable-streams or --disable-streams was given.
7707 if test "${enable_streams+set}" = set; then
7708 enableval="$enable_streams"
7709
7710 if test "$enableval" = yes; then
7711 wx_cv_use_streams='wxUSE_STREAMS=yes'
7712 else
7713 wx_cv_use_streams='wxUSE_STREAMS=no'
7714 fi
7715 cache=yes
7716
7717 else
7718
7719 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7720 if test "x$LINE" != x ; then
7721 eval "DEFAULT_$LINE"
7722 cache=yes
7723 else
7724 cache=no
7725 fi
7726
7727 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7728
7729 fi;
7730
7731 eval "$wx_cv_use_streams"
7732 if test "x$cache" = xyes; then
7733 echo "wxUSE_STREAMS=$wxUSE_STREAMS" >> ${wx_arg_cache_file}.tmp
7734 fi
7735
7736 if test x"$enablestring" = xdisable; then
7737 if test $wxUSE_STREAMS = yes; then
7738 result=no
7739 else
7740 result=yes
7741 fi
7742 else
7743 result=$wxUSE_STREAMS
7744 fi
7745
7746 echo "$as_me:$LINENO: result: $result" >&5
7747 echo "${ECHO_T}$result" >&6
7748
7749
7750 enablestring=
7751 defaultval=$wxUSE_ALL_FEATURES
7752 if test -z "$defaultval"; then
7753 if test x"$enablestring" = xdisable; then
7754 defaultval=yes
7755 else
7756 defaultval=no
7757 fi
7758 fi
7759
7760 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7761 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
7762 # Check whether --enable-system_options or --disable-system_options was given.
7763 if test "${enable_system_options+set}" = set; then
7764 enableval="$enable_system_options"
7765
7766 if test "$enableval" = yes; then
7767 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7768 else
7769 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7770 fi
7771 cache=yes
7772
7773 else
7774
7775 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
7776 if test "x$LINE" != x ; then
7777 eval "DEFAULT_$LINE"
7778 cache=yes
7779 else
7780 cache=no
7781 fi
7782
7783 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7784
7785 fi;
7786
7787 eval "$wx_cv_use_system_options"
7788 if test "x$cache" = xyes; then
7789 echo "wxUSE_SYSTEM_OPTIONS=$wxUSE_SYSTEM_OPTIONS" >> ${wx_arg_cache_file}.tmp
7790 fi
7791
7792 if test x"$enablestring" = xdisable; then
7793 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7794 result=no
7795 else
7796 result=yes
7797 fi
7798 else
7799 result=$wxUSE_SYSTEM_OPTIONS
7800 fi
7801
7802 echo "$as_me:$LINENO: result: $result" >&5
7803 echo "${ECHO_T}$result" >&6
7804
7805
7806 enablestring=
7807 defaultval=$wxUSE_ALL_FEATURES
7808 if test -z "$defaultval"; then
7809 if test x"$enablestring" = xdisable; then
7810 defaultval=yes
7811 else
7812 defaultval=no
7813 fi
7814 fi
7815
7816 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7817 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
7818 # Check whether --enable-tarstream or --disable-tarstream was given.
7819 if test "${enable_tarstream+set}" = set; then
7820 enableval="$enable_tarstream"
7821
7822 if test "$enableval" = yes; then
7823 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7824 else
7825 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7826 fi
7827 cache=yes
7828
7829 else
7830
7831 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
7832 if test "x$LINE" != x ; then
7833 eval "DEFAULT_$LINE"
7834 cache=yes
7835 else
7836 cache=no
7837 fi
7838
7839 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7840
7841 fi;
7842
7843 eval "$wx_cv_use_tarstream"
7844 if test "x$cache" = xyes; then
7845 echo "wxUSE_TARSTREAM=$wxUSE_TARSTREAM" >> ${wx_arg_cache_file}.tmp
7846 fi
7847
7848 if test x"$enablestring" = xdisable; then
7849 if test $wxUSE_TARSTREAM = yes; then
7850 result=no
7851 else
7852 result=yes
7853 fi
7854 else
7855 result=$wxUSE_TARSTREAM
7856 fi
7857
7858 echo "$as_me:$LINENO: result: $result" >&5
7859 echo "${ECHO_T}$result" >&6
7860
7861
7862 enablestring=
7863 defaultval=$wxUSE_ALL_FEATURES
7864 if test -z "$defaultval"; then
7865 if test x"$enablestring" = xdisable; then
7866 defaultval=yes
7867 else
7868 defaultval=no
7869 fi
7870 fi
7871
7872 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
7874 # Check whether --enable-textbuf or --disable-textbuf was given.
7875 if test "${enable_textbuf+set}" = set; then
7876 enableval="$enable_textbuf"
7877
7878 if test "$enableval" = yes; then
7879 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7880 else
7881 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7882 fi
7883 cache=yes
7884
7885 else
7886
7887 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
7888 if test "x$LINE" != x ; then
7889 eval "DEFAULT_$LINE"
7890 cache=yes
7891 else
7892 cache=no
7893 fi
7894
7895 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7896
7897 fi;
7898
7899 eval "$wx_cv_use_textbuf"
7900 if test "x$cache" = xyes; then
7901 echo "wxUSE_TEXTBUFFER=$wxUSE_TEXTBUFFER" >> ${wx_arg_cache_file}.tmp
7902 fi
7903
7904 if test x"$enablestring" = xdisable; then
7905 if test $wxUSE_TEXTBUFFER = yes; then
7906 result=no
7907 else
7908 result=yes
7909 fi
7910 else
7911 result=$wxUSE_TEXTBUFFER
7912 fi
7913
7914 echo "$as_me:$LINENO: result: $result" >&5
7915 echo "${ECHO_T}$result" >&6
7916
7917
7918 enablestring=
7919 defaultval=$wxUSE_ALL_FEATURES
7920 if test -z "$defaultval"; then
7921 if test x"$enablestring" = xdisable; then
7922 defaultval=yes
7923 else
7924 defaultval=no
7925 fi
7926 fi
7927
7928 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7929 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
7930 # Check whether --enable-textfile or --disable-textfile was given.
7931 if test "${enable_textfile+set}" = set; then
7932 enableval="$enable_textfile"
7933
7934 if test "$enableval" = yes; then
7935 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7936 else
7937 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7938 fi
7939 cache=yes
7940
7941 else
7942
7943 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
7944 if test "x$LINE" != x ; then
7945 eval "DEFAULT_$LINE"
7946 cache=yes
7947 else
7948 cache=no
7949 fi
7950
7951 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7952
7953 fi;
7954
7955 eval "$wx_cv_use_textfile"
7956 if test "x$cache" = xyes; then
7957 echo "wxUSE_TEXTFILE=$wxUSE_TEXTFILE" >> ${wx_arg_cache_file}.tmp
7958 fi
7959
7960 if test x"$enablestring" = xdisable; then
7961 if test $wxUSE_TEXTFILE = yes; then
7962 result=no
7963 else
7964 result=yes
7965 fi
7966 else
7967 result=$wxUSE_TEXTFILE
7968 fi
7969
7970 echo "$as_me:$LINENO: result: $result" >&5
7971 echo "${ECHO_T}$result" >&6
7972
7973
7974 enablestring=
7975 defaultval=$wxUSE_ALL_FEATURES
7976 if test -z "$defaultval"; then
7977 if test x"$enablestring" = xdisable; then
7978 defaultval=yes
7979 else
7980 defaultval=no
7981 fi
7982 fi
7983
7984 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7985 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
7986 # Check whether --enable-timer or --disable-timer was given.
7987 if test "${enable_timer+set}" = set; then
7988 enableval="$enable_timer"
7989
7990 if test "$enableval" = yes; then
7991 wx_cv_use_timer='wxUSE_TIMER=yes'
7992 else
7993 wx_cv_use_timer='wxUSE_TIMER=no'
7994 fi
7995 cache=yes
7996
7997 else
7998
7999 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8000 if test "x$LINE" != x ; then
8001 eval "DEFAULT_$LINE"
8002 cache=yes
8003 else
8004 cache=no
8005 fi
8006
8007 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8008
8009 fi;
8010
8011 eval "$wx_cv_use_timer"
8012 if test "x$cache" = xyes; then
8013 echo "wxUSE_TIMER=$wxUSE_TIMER" >> ${wx_arg_cache_file}.tmp
8014 fi
8015
8016 if test x"$enablestring" = xdisable; then
8017 if test $wxUSE_TIMER = yes; then
8018 result=no
8019 else
8020 result=yes
8021 fi
8022 else
8023 result=$wxUSE_TIMER
8024 fi
8025
8026 echo "$as_me:$LINENO: result: $result" >&5
8027 echo "${ECHO_T}$result" >&6
8028
8029
8030 enablestring=
8031 defaultval=$wxUSE_ALL_FEATURES
8032 if test -z "$defaultval"; then
8033 if test x"$enablestring" = xdisable; then
8034 defaultval=yes
8035 else
8036 defaultval=no
8037 fi
8038 fi
8039
8040 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8041 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
8042 # Check whether --enable-sound or --disable-sound was given.
8043 if test "${enable_sound+set}" = set; then
8044 enableval="$enable_sound"
8045
8046 if test "$enableval" = yes; then
8047 wx_cv_use_sound='wxUSE_SOUND=yes'
8048 else
8049 wx_cv_use_sound='wxUSE_SOUND=no'
8050 fi
8051 cache=yes
8052
8053 else
8054
8055 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8056 if test "x$LINE" != x ; then
8057 eval "DEFAULT_$LINE"
8058 cache=yes
8059 else
8060 cache=no
8061 fi
8062
8063 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8064
8065 fi;
8066
8067 eval "$wx_cv_use_sound"
8068 if test "x$cache" = xyes; then
8069 echo "wxUSE_SOUND=$wxUSE_SOUND" >> ${wx_arg_cache_file}.tmp
8070 fi
8071
8072 if test x"$enablestring" = xdisable; then
8073 if test $wxUSE_SOUND = yes; then
8074 result=no
8075 else
8076 result=yes
8077 fi
8078 else
8079 result=$wxUSE_SOUND
8080 fi
8081
8082 echo "$as_me:$LINENO: result: $result" >&5
8083 echo "${ECHO_T}$result" >&6
8084
8085
8086 enablestring=
8087 defaultval=$wxUSE_ALL_FEATURES
8088 if test -z "$defaultval"; then
8089 if test x"$enablestring" = xdisable; then
8090 defaultval=yes
8091 else
8092 defaultval=no
8093 fi
8094 fi
8095
8096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8097 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
8098 # Check whether --enable-mediactrl or --disable-mediactrl was given.
8099 if test "${enable_mediactrl+set}" = set; then
8100 enableval="$enable_mediactrl"
8101
8102 if test "$enableval" = yes; then
8103 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8104 else
8105 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8106 fi
8107 cache=yes
8108
8109 else
8110
8111 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8112 if test "x$LINE" != x ; then
8113 eval "DEFAULT_$LINE"
8114 cache=yes
8115 else
8116 cache=no
8117 fi
8118
8119 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8120
8121 fi;
8122
8123 eval "$wx_cv_use_mediactrl"
8124 if test "x$cache" = xyes; then
8125 echo "wxUSE_MEDIACTRL=$wxUSE_MEDIACTRL" >> ${wx_arg_cache_file}.tmp
8126 fi
8127
8128 if test x"$enablestring" = xdisable; then
8129 if test $wxUSE_MEDIACTRL = yes; then
8130 result=no
8131 else
8132 result=yes
8133 fi
8134 else
8135 result=$wxUSE_MEDIACTRL
8136 fi
8137
8138 echo "$as_me:$LINENO: result: $result" >&5
8139 echo "${ECHO_T}$result" >&6
8140
8141
8142 enablestring=
8143 defaultval=$wxUSE_ALL_FEATURES
8144 if test -z "$defaultval"; then
8145 if test x"$enablestring" = xdisable; then
8146 defaultval=yes
8147 else
8148 defaultval=no
8149 fi
8150 fi
8151
8152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
8154 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
8155 if test "${enable_gstreamer8+set}" = set; then
8156 enableval="$enable_gstreamer8"
8157
8158 if test "$enableval" = yes; then
8159 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8160 else
8161 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8162 fi
8163 cache=yes
8164
8165 else
8166
8167 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8168 if test "x$LINE" != x ; then
8169 eval "DEFAULT_$LINE"
8170 cache=yes
8171 else
8172 cache=no
8173 fi
8174
8175 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8176
8177 fi;
8178
8179 eval "$wx_cv_use_gstreamer8"
8180 if test "x$cache" = xyes; then
8181 echo "wxUSE_GSTREAMER8=$wxUSE_GSTREAMER8" >> ${wx_arg_cache_file}.tmp
8182 fi
8183
8184 if test x"$enablestring" = xdisable; then
8185 if test $wxUSE_GSTREAMER8 = yes; then
8186 result=no
8187 else
8188 result=yes
8189 fi
8190 else
8191 result=$wxUSE_GSTREAMER8
8192 fi
8193
8194 echo "$as_me:$LINENO: result: $result" >&5
8195 echo "${ECHO_T}$result" >&6
8196
8197
8198 enablestring=
8199 defaultval=$wxUSE_ALL_FEATURES
8200 if test -z "$defaultval"; then
8201 if test x"$enablestring" = xdisable; then
8202 defaultval=yes
8203 else
8204 defaultval=no
8205 fi
8206 fi
8207
8208 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8209 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
8210 # Check whether --enable-printfposparam or --disable-printfposparam was given.
8211 if test "${enable_printfposparam+set}" = set; then
8212 enableval="$enable_printfposparam"
8213
8214 if test "$enableval" = yes; then
8215 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8216 else
8217 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8218 fi
8219 cache=yes
8220
8221 else
8222
8223 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8224 if test "x$LINE" != x ; then
8225 eval "DEFAULT_$LINE"
8226 cache=yes
8227 else
8228 cache=no
8229 fi
8230
8231 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8232
8233 fi;
8234
8235 eval "$wx_cv_use_printfposparam"
8236 if test "x$cache" = xyes; then
8237 echo "wxUSE_PRINTF_POS_PARAMS=$wxUSE_PRINTF_POS_PARAMS" >> ${wx_arg_cache_file}.tmp
8238 fi
8239
8240 if test x"$enablestring" = xdisable; then
8241 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8242 result=no
8243 else
8244 result=yes
8245 fi
8246 else
8247 result=$wxUSE_PRINTF_POS_PARAMS
8248 fi
8249
8250 echo "$as_me:$LINENO: result: $result" >&5
8251 echo "${ECHO_T}$result" >&6
8252
8253
8254 enablestring=
8255 defaultval=$wxUSE_ALL_FEATURES
8256 if test -z "$defaultval"; then
8257 if test x"$enablestring" = xdisable; then
8258 defaultval=yes
8259 else
8260 defaultval=no
8261 fi
8262 fi
8263
8264 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8265 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
8266 # Check whether --enable-zipstream or --disable-zipstream was given.
8267 if test "${enable_zipstream+set}" = set; then
8268 enableval="$enable_zipstream"
8269
8270 if test "$enableval" = yes; then
8271 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8272 else
8273 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8274 fi
8275 cache=yes
8276
8277 else
8278
8279 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8280 if test "x$LINE" != x ; then
8281 eval "DEFAULT_$LINE"
8282 cache=yes
8283 else
8284 cache=no
8285 fi
8286
8287 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8288
8289 fi;
8290
8291 eval "$wx_cv_use_zipstream"
8292 if test "x$cache" = xyes; then
8293 echo "wxUSE_ZIPSTREAM=$wxUSE_ZIPSTREAM" >> ${wx_arg_cache_file}.tmp
8294 fi
8295
8296 if test x"$enablestring" = xdisable; then
8297 if test $wxUSE_ZIPSTREAM = yes; then
8298 result=no
8299 else
8300 result=yes
8301 fi
8302 else
8303 result=$wxUSE_ZIPSTREAM
8304 fi
8305
8306 echo "$as_me:$LINENO: result: $result" >&5
8307 echo "${ECHO_T}$result" >&6
8308
8309
8310
8311 enablestring=
8312 defaultval=$wxUSE_ALL_FEATURES
8313 if test -z "$defaultval"; then
8314 if test x"$enablestring" = xdisable; then
8315 defaultval=yes
8316 else
8317 defaultval=no
8318 fi
8319 fi
8320
8321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8322 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
8323 # Check whether --enable-url or --disable-url was given.
8324 if test "${enable_url+set}" = set; then
8325 enableval="$enable_url"
8326
8327 if test "$enableval" = yes; then
8328 wx_cv_use_url='wxUSE_URL=yes'
8329 else
8330 wx_cv_use_url='wxUSE_URL=no'
8331 fi
8332 cache=yes
8333
8334 else
8335
8336 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8337 if test "x$LINE" != x ; then
8338 eval "DEFAULT_$LINE"
8339 cache=yes
8340 else
8341 cache=no
8342 fi
8343
8344 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8345
8346 fi;
8347
8348 eval "$wx_cv_use_url"
8349 if test "x$cache" = xyes; then
8350 echo "wxUSE_URL=$wxUSE_URL" >> ${wx_arg_cache_file}.tmp
8351 fi
8352
8353 if test x"$enablestring" = xdisable; then
8354 if test $wxUSE_URL = yes; then
8355 result=no
8356 else
8357 result=yes
8358 fi
8359 else
8360 result=$wxUSE_URL
8361 fi
8362
8363 echo "$as_me:$LINENO: result: $result" >&5
8364 echo "${ECHO_T}$result" >&6
8365
8366
8367 enablestring=
8368 defaultval=$wxUSE_ALL_FEATURES
8369 if test -z "$defaultval"; then
8370 if test x"$enablestring" = xdisable; then
8371 defaultval=yes
8372 else
8373 defaultval=no
8374 fi
8375 fi
8376
8377 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8378 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
8379 # Check whether --enable-variant or --disable-variant was given.
8380 if test "${enable_variant+set}" = set; then
8381 enableval="$enable_variant"
8382
8383 if test "$enableval" = yes; then
8384 wx_cv_use_variant='wxUSE_VARIANT=yes'
8385 else
8386 wx_cv_use_variant='wxUSE_VARIANT=no'
8387 fi
8388 cache=yes
8389
8390 else
8391
8392 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8393 if test "x$LINE" != x ; then
8394 eval "DEFAULT_$LINE"
8395 cache=yes
8396 else
8397 cache=no
8398 fi
8399
8400 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8401
8402 fi;
8403
8404 eval "$wx_cv_use_variant"
8405 if test "x$cache" = xyes; then
8406 echo "wxUSE_VARIANT=$wxUSE_VARIANT" >> ${wx_arg_cache_file}.tmp
8407 fi
8408
8409 if test x"$enablestring" = xdisable; then
8410 if test $wxUSE_VARIANT = yes; then
8411 result=no
8412 else
8413 result=yes
8414 fi
8415 else
8416 result=$wxUSE_VARIANT
8417 fi
8418
8419 echo "$as_me:$LINENO: result: $result" >&5
8420 echo "${ECHO_T}$result" >&6
8421
8422
8423 enablestring=
8424 defaultval=$wxUSE_ALL_FEATURES
8425 if test -z "$defaultval"; then
8426 if test x"$enablestring" = xdisable; then
8427 defaultval=yes
8428 else
8429 defaultval=no
8430 fi
8431 fi
8432
8433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8434 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
8435 # Check whether --enable-protocol or --disable-protocol was given.
8436 if test "${enable_protocol+set}" = set; then
8437 enableval="$enable_protocol"
8438
8439 if test "$enableval" = yes; then
8440 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8441 else
8442 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8443 fi
8444 cache=yes
8445
8446 else
8447
8448 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8449 if test "x$LINE" != x ; then
8450 eval "DEFAULT_$LINE"
8451 cache=yes
8452 else
8453 cache=no
8454 fi
8455
8456 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8457
8458 fi;
8459
8460 eval "$wx_cv_use_protocol"
8461 if test "x$cache" = xyes; then
8462 echo "wxUSE_PROTOCOL=$wxUSE_PROTOCOL" >> ${wx_arg_cache_file}.tmp
8463 fi
8464
8465 if test x"$enablestring" = xdisable; then
8466 if test $wxUSE_PROTOCOL = yes; then
8467 result=no
8468 else
8469 result=yes
8470 fi
8471 else
8472 result=$wxUSE_PROTOCOL
8473 fi
8474
8475 echo "$as_me:$LINENO: result: $result" >&5
8476 echo "${ECHO_T}$result" >&6
8477
8478
8479 enablestring=
8480 defaultval=$wxUSE_ALL_FEATURES
8481 if test -z "$defaultval"; then
8482 if test x"$enablestring" = xdisable; then
8483 defaultval=yes
8484 else
8485 defaultval=no
8486 fi
8487 fi
8488
8489 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8490 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
8491 # Check whether --enable-protocol_http or --disable-protocol_http was given.
8492 if test "${enable_protocol_http+set}" = set; then
8493 enableval="$enable_protocol_http"
8494
8495 if test "$enableval" = yes; then
8496 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8497 else
8498 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8499 fi
8500 cache=yes
8501
8502 else
8503
8504 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8505 if test "x$LINE" != x ; then
8506 eval "DEFAULT_$LINE"
8507 cache=yes
8508 else
8509 cache=no
8510 fi
8511
8512 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8513
8514 fi;
8515
8516 eval "$wx_cv_use_protocol_http"
8517 if test "x$cache" = xyes; then
8518 echo "wxUSE_PROTOCOL_HTTP=$wxUSE_PROTOCOL_HTTP" >> ${wx_arg_cache_file}.tmp
8519 fi
8520
8521 if test x"$enablestring" = xdisable; then
8522 if test $wxUSE_PROTOCOL_HTTP = yes; then
8523 result=no
8524 else
8525 result=yes
8526 fi
8527 else
8528 result=$wxUSE_PROTOCOL_HTTP
8529 fi
8530
8531 echo "$as_me:$LINENO: result: $result" >&5
8532 echo "${ECHO_T}$result" >&6
8533
8534
8535 enablestring=
8536 defaultval=$wxUSE_ALL_FEATURES
8537 if test -z "$defaultval"; then
8538 if test x"$enablestring" = xdisable; then
8539 defaultval=yes
8540 else
8541 defaultval=no
8542 fi
8543 fi
8544
8545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8546 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
8547 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
8548 if test "${enable_protocol_ftp+set}" = set; then
8549 enableval="$enable_protocol_ftp"
8550
8551 if test "$enableval" = yes; then
8552 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8553 else
8554 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8555 fi
8556 cache=yes
8557
8558 else
8559
8560 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8561 if test "x$LINE" != x ; then
8562 eval "DEFAULT_$LINE"
8563 cache=yes
8564 else
8565 cache=no
8566 fi
8567
8568 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8569
8570 fi;
8571
8572 eval "$wx_cv_use_protocol_ftp"
8573 if test "x$cache" = xyes; then
8574 echo "wxUSE_PROTOCOL_FTP=$wxUSE_PROTOCOL_FTP" >> ${wx_arg_cache_file}.tmp
8575 fi
8576
8577 if test x"$enablestring" = xdisable; then
8578 if test $wxUSE_PROTOCOL_FTP = yes; then
8579 result=no
8580 else
8581 result=yes
8582 fi
8583 else
8584 result=$wxUSE_PROTOCOL_FTP
8585 fi
8586
8587 echo "$as_me:$LINENO: result: $result" >&5
8588 echo "${ECHO_T}$result" >&6
8589
8590
8591 enablestring=
8592 defaultval=$wxUSE_ALL_FEATURES
8593 if test -z "$defaultval"; then
8594 if test x"$enablestring" = xdisable; then
8595 defaultval=yes
8596 else
8597 defaultval=no
8598 fi
8599 fi
8600
8601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8602 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
8603 # Check whether --enable-protocol_file or --disable-protocol_file was given.
8604 if test "${enable_protocol_file+set}" = set; then
8605 enableval="$enable_protocol_file"
8606
8607 if test "$enableval" = yes; then
8608 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8609 else
8610 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8611 fi
8612 cache=yes
8613
8614 else
8615
8616 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
8617 if test "x$LINE" != x ; then
8618 eval "DEFAULT_$LINE"
8619 cache=yes
8620 else
8621 cache=no
8622 fi
8623
8624 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8625
8626 fi;
8627
8628 eval "$wx_cv_use_protocol_file"
8629 if test "x$cache" = xyes; then
8630 echo "wxUSE_PROTOCOL_FILE=$wxUSE_PROTOCOL_FILE" >> ${wx_arg_cache_file}.tmp
8631 fi
8632
8633 if test x"$enablestring" = xdisable; then
8634 if test $wxUSE_PROTOCOL_FILE = yes; then
8635 result=no
8636 else
8637 result=yes
8638 fi
8639 else
8640 result=$wxUSE_PROTOCOL_FILE
8641 fi
8642
8643 echo "$as_me:$LINENO: result: $result" >&5
8644 echo "${ECHO_T}$result" >&6
8645
8646
8647
8648 enablestring=
8649 defaultval=$wxUSE_ALL_FEATURES
8650 if test -z "$defaultval"; then
8651 if test x"$enablestring" = xdisable; then
8652 defaultval=yes
8653 else
8654 defaultval=no
8655 fi
8656 fi
8657
8658 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8659 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
8660 # Check whether --enable-threads or --disable-threads was given.
8661 if test "${enable_threads+set}" = set; then
8662 enableval="$enable_threads"
8663
8664 if test "$enableval" = yes; then
8665 wx_cv_use_threads='wxUSE_THREADS=yes'
8666 else
8667 wx_cv_use_threads='wxUSE_THREADS=no'
8668 fi
8669 cache=yes
8670
8671 else
8672
8673 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
8674 if test "x$LINE" != x ; then
8675 eval "DEFAULT_$LINE"
8676 cache=yes
8677 else
8678 cache=no
8679 fi
8680
8681 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8682
8683 fi;
8684
8685 eval "$wx_cv_use_threads"
8686 if test "x$cache" = xyes; then
8687 echo "wxUSE_THREADS=$wxUSE_THREADS" >> ${wx_arg_cache_file}.tmp
8688 fi
8689
8690 if test x"$enablestring" = xdisable; then
8691 if test $wxUSE_THREADS = yes; then
8692 result=no
8693 else
8694 result=yes
8695 fi
8696 else
8697 result=$wxUSE_THREADS
8698 fi
8699
8700 echo "$as_me:$LINENO: result: $result" >&5
8701 echo "${ECHO_T}$result" >&6
8702
8703
8704
8705 enablestring=
8706 defaultval=
8707 if test -z "$defaultval"; then
8708 if test x"$enablestring" = xdisable; then
8709 defaultval=yes
8710 else
8711 defaultval=no
8712 fi
8713 fi
8714
8715 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6
8717 # Check whether --enable-iniconf or --disable-iniconf was given.
8718 if test "${enable_iniconf+set}" = set; then
8719 enableval="$enable_iniconf"
8720
8721 if test "$enableval" = yes; then
8722 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8723 else
8724 wx_cv_use_iniconf='wxUSE_INICONF=no'
8725 fi
8726 cache=yes
8727
8728 else
8729
8730 LINE=`grep "^wxUSE_INICONF=" ${wx_arg_cache_file}`
8731 if test "x$LINE" != x ; then
8732 eval "DEFAULT_$LINE"
8733 cache=yes
8734 else
8735 cache=no
8736 fi
8737
8738 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8739
8740 fi;
8741
8742 eval "$wx_cv_use_iniconf"
8743 if test "x$cache" = xyes; then
8744 echo "wxUSE_INICONF=$wxUSE_INICONF" >> ${wx_arg_cache_file}.tmp
8745 fi
8746
8747 if test x"$enablestring" = xdisable; then
8748 if test $wxUSE_INICONF = yes; then
8749 result=no
8750 else
8751 result=yes
8752 fi
8753 else
8754 result=$wxUSE_INICONF
8755 fi
8756
8757 echo "$as_me:$LINENO: result: $result" >&5
8758 echo "${ECHO_T}$result" >&6
8759
8760
8761 enablestring=
8762 defaultval=$wxUSE_ALL_FEATURES
8763 if test -z "$defaultval"; then
8764 if test x"$enablestring" = xdisable; then
8765 defaultval=yes
8766 else
8767 defaultval=no
8768 fi
8769 fi
8770
8771 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8772 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6
8773 # Check whether --enable-regkey or --disable-regkey was given.
8774 if test "${enable_regkey+set}" = set; then
8775 enableval="$enable_regkey"
8776
8777 if test "$enableval" = yes; then
8778 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8779 else
8780 wx_cv_use_regkey='wxUSE_REGKEY=no'
8781 fi
8782 cache=yes
8783
8784 else
8785
8786 LINE=`grep "^wxUSE_REGKEY=" ${wx_arg_cache_file}`
8787 if test "x$LINE" != x ; then
8788 eval "DEFAULT_$LINE"
8789 cache=yes
8790 else
8791 cache=no
8792 fi
8793
8794 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8795
8796 fi;
8797
8798 eval "$wx_cv_use_regkey"
8799 if test "x$cache" = xyes; then
8800 echo "wxUSE_REGKEY=$wxUSE_REGKEY" >> ${wx_arg_cache_file}.tmp
8801 fi
8802
8803 if test x"$enablestring" = xdisable; then
8804 if test $wxUSE_REGKEY = yes; then
8805 result=no
8806 else
8807 result=yes
8808 fi
8809 else
8810 result=$wxUSE_REGKEY
8811 fi
8812
8813 echo "$as_me:$LINENO: result: $result" >&5
8814 echo "${ECHO_T}$result" >&6
8815
8816
8817 if test "$wxUSE_GUI" = "yes"; then
8818
8819
8820
8821 enablestring=
8822 defaultval=$wxUSE_ALL_FEATURES
8823 if test -z "$defaultval"; then
8824 if test x"$enablestring" = xdisable; then
8825 defaultval=yes
8826 else
8827 defaultval=no
8828 fi
8829 fi
8830
8831 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8832 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
8833 # Check whether --enable-docview or --disable-docview was given.
8834 if test "${enable_docview+set}" = set; then
8835 enableval="$enable_docview"
8836
8837 if test "$enableval" = yes; then
8838 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8839 else
8840 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8841 fi
8842 cache=yes
8843
8844 else
8845
8846 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
8847 if test "x$LINE" != x ; then
8848 eval "DEFAULT_$LINE"
8849 cache=yes
8850 else
8851 cache=no
8852 fi
8853
8854 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8855
8856 fi;
8857
8858 eval "$wx_cv_use_docview"
8859 if test "x$cache" = xyes; then
8860 echo "wxUSE_DOC_VIEW_ARCHITECTURE=$wxUSE_DOC_VIEW_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
8861 fi
8862
8863 if test x"$enablestring" = xdisable; then
8864 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8865 result=no
8866 else
8867 result=yes
8868 fi
8869 else
8870 result=$wxUSE_DOC_VIEW_ARCHITECTURE
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}-help" >&5
8888 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
8889 # Check whether --enable-help or --disable-help was given.
8890 if test "${enable_help+set}" = set; then
8891 enableval="$enable_help"
8892
8893 if test "$enableval" = yes; then
8894 wx_cv_use_help='wxUSE_HELP=yes'
8895 else
8896 wx_cv_use_help='wxUSE_HELP=no'
8897 fi
8898 cache=yes
8899
8900 else
8901
8902 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
8903 if test "x$LINE" != x ; then
8904 eval "DEFAULT_$LINE"
8905 cache=yes
8906 else
8907 cache=no
8908 fi
8909
8910 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8911
8912 fi;
8913
8914 eval "$wx_cv_use_help"
8915 if test "x$cache" = xyes; then
8916 echo "wxUSE_HELP=$wxUSE_HELP" >> ${wx_arg_cache_file}.tmp
8917 fi
8918
8919 if test x"$enablestring" = xdisable; then
8920 if test $wxUSE_HELP = yes; then
8921 result=no
8922 else
8923 result=yes
8924 fi
8925 else
8926 result=$wxUSE_HELP
8927 fi
8928
8929 echo "$as_me:$LINENO: result: $result" >&5
8930 echo "${ECHO_T}$result" >&6
8931
8932
8933 enablestring=
8934 defaultval=$wxUSE_ALL_FEATURES
8935 if test -z "$defaultval"; then
8936 if test x"$enablestring" = xdisable; then
8937 defaultval=yes
8938 else
8939 defaultval=no
8940 fi
8941 fi
8942
8943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8944 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
8945 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
8946 if test "${enable_mshtmlhelp+set}" = set; then
8947 enableval="$enable_mshtmlhelp"
8948
8949 if test "$enableval" = yes; then
8950 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8951 else
8952 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8953 fi
8954 cache=yes
8955
8956 else
8957
8958 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
8959 if test "x$LINE" != x ; then
8960 eval "DEFAULT_$LINE"
8961 cache=yes
8962 else
8963 cache=no
8964 fi
8965
8966 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8967
8968 fi;
8969
8970 eval "$wx_cv_use_mshtmlhelp"
8971 if test "x$cache" = xyes; then
8972 echo "wxUSE_MS_HTML_HELP=$wxUSE_MS_HTML_HELP" >> ${wx_arg_cache_file}.tmp
8973 fi
8974
8975 if test x"$enablestring" = xdisable; then
8976 if test $wxUSE_MS_HTML_HELP = yes; then
8977 result=no
8978 else
8979 result=yes
8980 fi
8981 else
8982 result=$wxUSE_MS_HTML_HELP
8983 fi
8984
8985 echo "$as_me:$LINENO: result: $result" >&5
8986 echo "${ECHO_T}$result" >&6
8987
8988
8989 enablestring=
8990 defaultval=$wxUSE_ALL_FEATURES
8991 if test -z "$defaultval"; then
8992 if test x"$enablestring" = xdisable; then
8993 defaultval=yes
8994 else
8995 defaultval=no
8996 fi
8997 fi
8998
8999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9000 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
9001 # Check whether --enable-html or --disable-html was given.
9002 if test "${enable_html+set}" = set; then
9003 enableval="$enable_html"
9004
9005 if test "$enableval" = yes; then
9006 wx_cv_use_html='wxUSE_HTML=yes'
9007 else
9008 wx_cv_use_html='wxUSE_HTML=no'
9009 fi
9010 cache=yes
9011
9012 else
9013
9014 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9015 if test "x$LINE" != x ; then
9016 eval "DEFAULT_$LINE"
9017 cache=yes
9018 else
9019 cache=no
9020 fi
9021
9022 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9023
9024 fi;
9025
9026 eval "$wx_cv_use_html"
9027 if test "x$cache" = xyes; then
9028 echo "wxUSE_HTML=$wxUSE_HTML" >> ${wx_arg_cache_file}.tmp
9029 fi
9030
9031 if test x"$enablestring" = xdisable; then
9032 if test $wxUSE_HTML = yes; then
9033 result=no
9034 else
9035 result=yes
9036 fi
9037 else
9038 result=$wxUSE_HTML
9039 fi
9040
9041 echo "$as_me:$LINENO: result: $result" >&5
9042 echo "${ECHO_T}$result" >&6
9043
9044
9045 enablestring=
9046 defaultval=$wxUSE_ALL_FEATURES
9047 if test -z "$defaultval"; then
9048 if test x"$enablestring" = xdisable; then
9049 defaultval=yes
9050 else
9051 defaultval=no
9052 fi
9053 fi
9054
9055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9056 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
9057 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
9058 if test "${enable_htmlhelp+set}" = set; then
9059 enableval="$enable_htmlhelp"
9060
9061 if test "$enableval" = yes; then
9062 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9063 else
9064 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9065 fi
9066 cache=yes
9067
9068 else
9069
9070 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9071 if test "x$LINE" != x ; then
9072 eval "DEFAULT_$LINE"
9073 cache=yes
9074 else
9075 cache=no
9076 fi
9077
9078 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9079
9080 fi;
9081
9082 eval "$wx_cv_use_htmlhelp"
9083 if test "x$cache" = xyes; then
9084 echo "wxUSE_WXHTML_HELP=$wxUSE_WXHTML_HELP" >> ${wx_arg_cache_file}.tmp
9085 fi
9086
9087 if test x"$enablestring" = xdisable; then
9088 if test $wxUSE_WXHTML_HELP = yes; then
9089 result=no
9090 else
9091 result=yes
9092 fi
9093 else
9094 result=$wxUSE_WXHTML_HELP
9095 fi
9096
9097 echo "$as_me:$LINENO: result: $result" >&5
9098 echo "${ECHO_T}$result" >&6
9099
9100
9101 enablestring=
9102 defaultval=$wxUSE_ALL_FEATURES
9103 if test -z "$defaultval"; then
9104 if test x"$enablestring" = xdisable; then
9105 defaultval=yes
9106 else
9107 defaultval=no
9108 fi
9109 fi
9110
9111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9112 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
9113 # Check whether --enable-xrc or --disable-xrc was given.
9114 if test "${enable_xrc+set}" = set; then
9115 enableval="$enable_xrc"
9116
9117 if test "$enableval" = yes; then
9118 wx_cv_use_xrc='wxUSE_XRC=yes'
9119 else
9120 wx_cv_use_xrc='wxUSE_XRC=no'
9121 fi
9122 cache=yes
9123
9124 else
9125
9126 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9127 if test "x$LINE" != x ; then
9128 eval "DEFAULT_$LINE"
9129 cache=yes
9130 else
9131 cache=no
9132 fi
9133
9134 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9135
9136 fi;
9137
9138 eval "$wx_cv_use_xrc"
9139 if test "x$cache" = xyes; then
9140 echo "wxUSE_XRC=$wxUSE_XRC" >> ${wx_arg_cache_file}.tmp
9141 fi
9142
9143 if test x"$enablestring" = xdisable; then
9144 if test $wxUSE_XRC = yes; then
9145 result=no
9146 else
9147 result=yes
9148 fi
9149 else
9150 result=$wxUSE_XRC
9151 fi
9152
9153 echo "$as_me:$LINENO: result: $result" >&5
9154 echo "${ECHO_T}$result" >&6
9155
9156
9157 enablestring=
9158 defaultval=$wxUSE_ALL_FEATURES
9159 if test -z "$defaultval"; then
9160 if test x"$enablestring" = xdisable; then
9161 defaultval=yes
9162 else
9163 defaultval=no
9164 fi
9165 fi
9166
9167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
9169 # Check whether --enable-aui or --disable-aui was given.
9170 if test "${enable_aui+set}" = set; then
9171 enableval="$enable_aui"
9172
9173 if test "$enableval" = yes; then
9174 wx_cv_use_aui='wxUSE_AUI=yes'
9175 else
9176 wx_cv_use_aui='wxUSE_AUI=no'
9177 fi
9178 cache=yes
9179
9180 else
9181
9182 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9183 if test "x$LINE" != x ; then
9184 eval "DEFAULT_$LINE"
9185 cache=yes
9186 else
9187 cache=no
9188 fi
9189
9190 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9191
9192 fi;
9193
9194 eval "$wx_cv_use_aui"
9195 if test "x$cache" = xyes; then
9196 echo "wxUSE_AUI=$wxUSE_AUI" >> ${wx_arg_cache_file}.tmp
9197 fi
9198
9199 if test x"$enablestring" = xdisable; then
9200 if test $wxUSE_AUI = yes; then
9201 result=no
9202 else
9203 result=yes
9204 fi
9205 else
9206 result=$wxUSE_AUI
9207 fi
9208
9209 echo "$as_me:$LINENO: result: $result" >&5
9210 echo "${ECHO_T}$result" >&6
9211
9212
9213 enablestring=
9214 defaultval=$wxUSE_ALL_FEATURES
9215 if test -z "$defaultval"; then
9216 if test x"$enablestring" = xdisable; then
9217 defaultval=yes
9218 else
9219 defaultval=no
9220 fi
9221 fi
9222
9223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9224 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6
9225 # Check whether --enable-stc or --disable-stc was given.
9226 if test "${enable_stc+set}" = set; then
9227 enableval="$enable_stc"
9228
9229 if test "$enableval" = yes; then
9230 wx_cv_use_stc='wxUSE_STC=yes'
9231 else
9232 wx_cv_use_stc='wxUSE_STC=no'
9233 fi
9234 cache=yes
9235
9236 else
9237
9238 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9239 if test "x$LINE" != x ; then
9240 eval "DEFAULT_$LINE"
9241 cache=yes
9242 else
9243 cache=no
9244 fi
9245
9246 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9247
9248 fi;
9249
9250 eval "$wx_cv_use_stc"
9251 if test "x$cache" = xyes; then
9252 echo "wxUSE_STC=$wxUSE_STC" >> ${wx_arg_cache_file}.tmp
9253 fi
9254
9255 if test x"$enablestring" = xdisable; then
9256 if test $wxUSE_STC = yes; then
9257 result=no
9258 else
9259 result=yes
9260 fi
9261 else
9262 result=$wxUSE_STC
9263 fi
9264
9265 echo "$as_me:$LINENO: result: $result" >&5
9266 echo "${ECHO_T}$result" >&6
9267
9268
9269 enablestring=
9270 defaultval=$wxUSE_ALL_FEATURES
9271 if test -z "$defaultval"; then
9272 if test x"$enablestring" = xdisable; then
9273 defaultval=yes
9274 else
9275 defaultval=no
9276 fi
9277 fi
9278
9279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9280 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
9281 # Check whether --enable-constraints or --disable-constraints was given.
9282 if test "${enable_constraints+set}" = set; then
9283 enableval="$enable_constraints"
9284
9285 if test "$enableval" = yes; then
9286 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9287 else
9288 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9289 fi
9290 cache=yes
9291
9292 else
9293
9294 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9295 if test "x$LINE" != x ; then
9296 eval "DEFAULT_$LINE"
9297 cache=yes
9298 else
9299 cache=no
9300 fi
9301
9302 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9303
9304 fi;
9305
9306 eval "$wx_cv_use_constraints"
9307 if test "x$cache" = xyes; then
9308 echo "wxUSE_CONSTRAINTS=$wxUSE_CONSTRAINTS" >> ${wx_arg_cache_file}.tmp
9309 fi
9310
9311 if test x"$enablestring" = xdisable; then
9312 if test $wxUSE_CONSTRAINTS = yes; then
9313 result=no
9314 else
9315 result=yes
9316 fi
9317 else
9318 result=$wxUSE_CONSTRAINTS
9319 fi
9320
9321 echo "$as_me:$LINENO: result: $result" >&5
9322 echo "${ECHO_T}$result" >&6
9323
9324
9325 enablestring=
9326 defaultval=$wxUSE_ALL_FEATURES
9327 if test -z "$defaultval"; then
9328 if test x"$enablestring" = xdisable; then
9329 defaultval=yes
9330 else
9331 defaultval=no
9332 fi
9333 fi
9334
9335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9336 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
9337 # Check whether --enable-printarch or --disable-printarch was given.
9338 if test "${enable_printarch+set}" = set; then
9339 enableval="$enable_printarch"
9340
9341 if test "$enableval" = yes; then
9342 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9343 else
9344 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9345 fi
9346 cache=yes
9347
9348 else
9349
9350 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9351 if test "x$LINE" != x ; then
9352 eval "DEFAULT_$LINE"
9353 cache=yes
9354 else
9355 cache=no
9356 fi
9357
9358 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9359
9360 fi;
9361
9362 eval "$wx_cv_use_printarch"
9363 if test "x$cache" = xyes; then
9364 echo "wxUSE_PRINTING_ARCHITECTURE=$wxUSE_PRINTING_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9365 fi
9366
9367 if test x"$enablestring" = xdisable; then
9368 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9369 result=no
9370 else
9371 result=yes
9372 fi
9373 else
9374 result=$wxUSE_PRINTING_ARCHITECTURE
9375 fi
9376
9377 echo "$as_me:$LINENO: result: $result" >&5
9378 echo "${ECHO_T}$result" >&6
9379
9380
9381 enablestring=
9382 defaultval=$wxUSE_ALL_FEATURES
9383 if test -z "$defaultval"; then
9384 if test x"$enablestring" = xdisable; then
9385 defaultval=yes
9386 else
9387 defaultval=no
9388 fi
9389 fi
9390
9391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9392 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
9393 # Check whether --enable-mdi or --disable-mdi was given.
9394 if test "${enable_mdi+set}" = set; then
9395 enableval="$enable_mdi"
9396
9397 if test "$enableval" = yes; then
9398 wx_cv_use_mdi='wxUSE_MDI=yes'
9399 else
9400 wx_cv_use_mdi='wxUSE_MDI=no'
9401 fi
9402 cache=yes
9403
9404 else
9405
9406 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9407 if test "x$LINE" != x ; then
9408 eval "DEFAULT_$LINE"
9409 cache=yes
9410 else
9411 cache=no
9412 fi
9413
9414 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9415
9416 fi;
9417
9418 eval "$wx_cv_use_mdi"
9419 if test "x$cache" = xyes; then
9420 echo "wxUSE_MDI=$wxUSE_MDI" >> ${wx_arg_cache_file}.tmp
9421 fi
9422
9423 if test x"$enablestring" = xdisable; then
9424 if test $wxUSE_MDI = yes; then
9425 result=no
9426 else
9427 result=yes
9428 fi
9429 else
9430 result=$wxUSE_MDI
9431 fi
9432
9433 echo "$as_me:$LINENO: result: $result" >&5
9434 echo "${ECHO_T}$result" >&6
9435
9436
9437 enablestring=
9438 defaultval=$wxUSE_ALL_FEATURES
9439 if test -z "$defaultval"; then
9440 if test x"$enablestring" = xdisable; then
9441 defaultval=yes
9442 else
9443 defaultval=no
9444 fi
9445 fi
9446
9447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9448 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
9449 # Check whether --enable-mdidoc or --disable-mdidoc was given.
9450 if test "${enable_mdidoc+set}" = set; then
9451 enableval="$enable_mdidoc"
9452
9453 if test "$enableval" = yes; then
9454 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9455 else
9456 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9457 fi
9458 cache=yes
9459
9460 else
9461
9462 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9463 if test "x$LINE" != x ; then
9464 eval "DEFAULT_$LINE"
9465 cache=yes
9466 else
9467 cache=no
9468 fi
9469
9470 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9471
9472 fi;
9473
9474 eval "$wx_cv_use_mdidoc"
9475 if test "x$cache" = xyes; then
9476 echo "wxUSE_MDI_ARCHITECTURE=$wxUSE_MDI_ARCHITECTURE" >> ${wx_arg_cache_file}.tmp
9477 fi
9478
9479 if test x"$enablestring" = xdisable; then
9480 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9481 result=no
9482 else
9483 result=yes
9484 fi
9485 else
9486 result=$wxUSE_MDI_ARCHITECTURE
9487 fi
9488
9489 echo "$as_me:$LINENO: result: $result" >&5
9490 echo "${ECHO_T}$result" >&6
9491
9492
9493 enablestring=
9494 defaultval=$wxUSE_ALL_FEATURES
9495 if test -z "$defaultval"; then
9496 if test x"$enablestring" = xdisable; then
9497 defaultval=yes
9498 else
9499 defaultval=no
9500 fi
9501 fi
9502
9503 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9504 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
9505 # Check whether --enable-loggui or --disable-loggui was given.
9506 if test "${enable_loggui+set}" = set; then
9507 enableval="$enable_loggui"
9508
9509 if test "$enableval" = yes; then
9510 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9511 else
9512 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9513 fi
9514 cache=yes
9515
9516 else
9517
9518 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9519 if test "x$LINE" != x ; then
9520 eval "DEFAULT_$LINE"
9521 cache=yes
9522 else
9523 cache=no
9524 fi
9525
9526 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9527
9528 fi;
9529
9530 eval "$wx_cv_use_loggui"
9531 if test "x$cache" = xyes; then
9532 echo "wxUSE_LOGGUI=$wxUSE_LOGGUI" >> ${wx_arg_cache_file}.tmp
9533 fi
9534
9535 if test x"$enablestring" = xdisable; then
9536 if test $wxUSE_LOGGUI = yes; then
9537 result=no
9538 else
9539 result=yes
9540 fi
9541 else
9542 result=$wxUSE_LOGGUI
9543 fi
9544
9545 echo "$as_me:$LINENO: result: $result" >&5
9546 echo "${ECHO_T}$result" >&6
9547
9548
9549 enablestring=
9550 defaultval=$wxUSE_ALL_FEATURES
9551 if test -z "$defaultval"; then
9552 if test x"$enablestring" = xdisable; then
9553 defaultval=yes
9554 else
9555 defaultval=no
9556 fi
9557 fi
9558
9559 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9560 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
9561 # Check whether --enable-logwin or --disable-logwin was given.
9562 if test "${enable_logwin+set}" = set; then
9563 enableval="$enable_logwin"
9564
9565 if test "$enableval" = yes; then
9566 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9567 else
9568 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9569 fi
9570 cache=yes
9571
9572 else
9573
9574 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9575 if test "x$LINE" != x ; then
9576 eval "DEFAULT_$LINE"
9577 cache=yes
9578 else
9579 cache=no
9580 fi
9581
9582 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9583
9584 fi;
9585
9586 eval "$wx_cv_use_logwin"
9587 if test "x$cache" = xyes; then
9588 echo "wxUSE_LOGWINDOW=$wxUSE_LOGWINDOW" >> ${wx_arg_cache_file}.tmp
9589 fi
9590
9591 if test x"$enablestring" = xdisable; then
9592 if test $wxUSE_LOGWINDOW = yes; then
9593 result=no
9594 else
9595 result=yes
9596 fi
9597 else
9598 result=$wxUSE_LOGWINDOW
9599 fi
9600
9601 echo "$as_me:$LINENO: result: $result" >&5
9602 echo "${ECHO_T}$result" >&6
9603
9604
9605 enablestring=
9606 defaultval=$wxUSE_ALL_FEATURES
9607 if test -z "$defaultval"; then
9608 if test x"$enablestring" = xdisable; then
9609 defaultval=yes
9610 else
9611 defaultval=no
9612 fi
9613 fi
9614
9615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9616 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
9617 # Check whether --enable-logdialog or --disable-logdialog was given.
9618 if test "${enable_logdialog+set}" = set; then
9619 enableval="$enable_logdialog"
9620
9621 if test "$enableval" = yes; then
9622 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9623 else
9624 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9625 fi
9626 cache=yes
9627
9628 else
9629
9630 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9631 if test "x$LINE" != x ; then
9632 eval "DEFAULT_$LINE"
9633 cache=yes
9634 else
9635 cache=no
9636 fi
9637
9638 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9639
9640 fi;
9641
9642 eval "$wx_cv_use_logdialog"
9643 if test "x$cache" = xyes; then
9644 echo "wxUSE_LOGDIALOG=$wxUSE_LOGDIALOG" >> ${wx_arg_cache_file}.tmp
9645 fi
9646
9647 if test x"$enablestring" = xdisable; then
9648 if test $wxUSE_LOGDIALOG = yes; then
9649 result=no
9650 else
9651 result=yes
9652 fi
9653 else
9654 result=$wxUSE_LOGDIALOG
9655 fi
9656
9657 echo "$as_me:$LINENO: result: $result" >&5
9658 echo "${ECHO_T}$result" >&6
9659
9660
9661 enablestring=
9662 defaultval=$wxUSE_ALL_FEATURES
9663 if test -z "$defaultval"; then
9664 if test x"$enablestring" = xdisable; then
9665 defaultval=yes
9666 else
9667 defaultval=no
9668 fi
9669 fi
9670
9671 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9672 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
9673 # Check whether --enable-webkit or --disable-webkit was given.
9674 if test "${enable_webkit+set}" = set; then
9675 enableval="$enable_webkit"
9676
9677 if test "$enableval" = yes; then
9678 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9679 else
9680 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9681 fi
9682 cache=yes
9683
9684 else
9685
9686 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9687 if test "x$LINE" != x ; then
9688 eval "DEFAULT_$LINE"
9689 cache=yes
9690 else
9691 cache=no
9692 fi
9693
9694 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9695
9696 fi;
9697
9698 eval "$wx_cv_use_webkit"
9699 if test "x$cache" = xyes; then
9700 echo "wxUSE_WEBKIT=$wxUSE_WEBKIT" >> ${wx_arg_cache_file}.tmp
9701 fi
9702
9703 if test x"$enablestring" = xdisable; then
9704 if test $wxUSE_WEBKIT = yes; then
9705 result=no
9706 else
9707 result=yes
9708 fi
9709 else
9710 result=$wxUSE_WEBKIT
9711 fi
9712
9713 echo "$as_me:$LINENO: result: $result" >&5
9714 echo "${ECHO_T}$result" >&6
9715
9716
9717 enablestring=
9718 defaultval=$wxUSE_ALL_FEATURES
9719 if test -z "$defaultval"; then
9720 if test x"$enablestring" = xdisable; then
9721 defaultval=yes
9722 else
9723 defaultval=no
9724 fi
9725 fi
9726
9727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9728 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
9729 # Check whether --enable-richtext or --disable-richtext was given.
9730 if test "${enable_richtext+set}" = set; then
9731 enableval="$enable_richtext"
9732
9733 if test "$enableval" = yes; then
9734 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9735 else
9736 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9737 fi
9738 cache=yes
9739
9740 else
9741
9742 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
9743 if test "x$LINE" != x ; then
9744 eval "DEFAULT_$LINE"
9745 cache=yes
9746 else
9747 cache=no
9748 fi
9749
9750 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9751
9752 fi;
9753
9754 eval "$wx_cv_use_richtext"
9755 if test "x$cache" = xyes; then
9756 echo "wxUSE_RICHTEXT=$wxUSE_RICHTEXT" >> ${wx_arg_cache_file}.tmp
9757 fi
9758
9759 if test x"$enablestring" = xdisable; then
9760 if test $wxUSE_RICHTEXT = yes; then
9761 result=no
9762 else
9763 result=yes
9764 fi
9765 else
9766 result=$wxUSE_RICHTEXT
9767 fi
9768
9769 echo "$as_me:$LINENO: result: $result" >&5
9770 echo "${ECHO_T}$result" >&6
9771
9772
9773 enablestring=
9774 defaultval=$wxUSE_ALL_FEATURES
9775 if test -z "$defaultval"; then
9776 if test x"$enablestring" = xdisable; then
9777 defaultval=yes
9778 else
9779 defaultval=no
9780 fi
9781 fi
9782
9783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9784 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
9785 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
9786 if test "${enable_graphics_ctx+set}" = set; then
9787 enableval="$enable_graphics_ctx"
9788
9789 if test "$enableval" = yes; then
9790 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9791 else
9792 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9793 fi
9794 cache=yes
9795
9796 else
9797
9798 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
9799 if test "x$LINE" != x ; then
9800 eval "DEFAULT_$LINE"
9801 cache=yes
9802 else
9803 cache=no
9804 fi
9805
9806 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9807
9808 fi;
9809
9810 eval "$wx_cv_use_graphics_ctx"
9811 if test "x$cache" = xyes; then
9812 echo "wxUSE_GRAPHICS_CONTEXT=$wxUSE_GRAPHICS_CONTEXT" >> ${wx_arg_cache_file}.tmp
9813 fi
9814
9815 if test x"$enablestring" = xdisable; then
9816 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9817 result=no
9818 else
9819 result=yes
9820 fi
9821 else
9822 result=$wxUSE_GRAPHICS_CONTEXT
9823 fi
9824
9825 echo "$as_me:$LINENO: result: $result" >&5
9826 echo "${ECHO_T}$result" >&6
9827
9828
9829 enablestring=
9830 defaultval=$wxUSE_ALL_FEATURES
9831 if test -z "$defaultval"; then
9832 if test x"$enablestring" = xdisable; then
9833 defaultval=yes
9834 else
9835 defaultval=no
9836 fi
9837 fi
9838
9839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9840 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
9841 # Check whether --enable-postscript or --disable-postscript was given.
9842 if test "${enable_postscript+set}" = set; then
9843 enableval="$enable_postscript"
9844
9845 if test "$enableval" = yes; then
9846 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9847 else
9848 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9849 fi
9850 cache=yes
9851
9852 else
9853
9854 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
9855 if test "x$LINE" != x ; then
9856 eval "DEFAULT_$LINE"
9857 cache=yes
9858 else
9859 cache=no
9860 fi
9861
9862 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9863
9864 fi;
9865
9866 eval "$wx_cv_use_postscript"
9867 if test "x$cache" = xyes; then
9868 echo "wxUSE_POSTSCRIPT=$wxUSE_POSTSCRIPT" >> ${wx_arg_cache_file}.tmp
9869 fi
9870
9871 if test x"$enablestring" = xdisable; then
9872 if test $wxUSE_POSTSCRIPT = yes; then
9873 result=no
9874 else
9875 result=yes
9876 fi
9877 else
9878 result=$wxUSE_POSTSCRIPT
9879 fi
9880
9881 echo "$as_me:$LINENO: result: $result" >&5
9882 echo "${ECHO_T}$result" >&6
9883
9884
9885 enablestring=
9886 defaultval=$wxUSE_ALL_FEATURES
9887 if test -z "$defaultval"; then
9888 if test x"$enablestring" = xdisable; then
9889 defaultval=yes
9890 else
9891 defaultval=no
9892 fi
9893 fi
9894
9895 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9896 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6
9897 # Check whether --enable-svg or --disable-svg was given.
9898 if test "${enable_svg+set}" = set; then
9899 enableval="$enable_svg"
9900
9901 if test "$enableval" = yes; then
9902 wx_cv_use_svg='wxUSE_SVG=yes'
9903 else
9904 wx_cv_use_svg='wxUSE_SVG=no'
9905 fi
9906 cache=yes
9907
9908 else
9909
9910 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
9911 if test "x$LINE" != x ; then
9912 eval "DEFAULT_$LINE"
9913 cache=yes
9914 else
9915 cache=no
9916 fi
9917
9918 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9919
9920 fi;
9921
9922 eval "$wx_cv_use_svg"
9923 if test "x$cache" = xyes; then
9924 echo "wxUSE_SVG=$wxUSE_SVG" >> ${wx_arg_cache_file}.tmp
9925 fi
9926
9927 if test x"$enablestring" = xdisable; then
9928 if test $wxUSE_SVG = yes; then
9929 result=no
9930 else
9931 result=yes
9932 fi
9933 else
9934 result=$wxUSE_SVG
9935 fi
9936
9937 echo "$as_me:$LINENO: result: $result" >&5
9938 echo "${ECHO_T}$result" >&6
9939
9940
9941
9942
9943 enablestring=
9944 defaultval=$wxUSE_ALL_FEATURES
9945 if test -z "$defaultval"; then
9946 if test x"$enablestring" = xdisable; then
9947 defaultval=yes
9948 else
9949 defaultval=no
9950 fi
9951 fi
9952
9953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9954 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
9955 # Check whether --enable-clipboard or --disable-clipboard was given.
9956 if test "${enable_clipboard+set}" = set; then
9957 enableval="$enable_clipboard"
9958
9959 if test "$enableval" = yes; then
9960 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9961 else
9962 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9963 fi
9964 cache=yes
9965
9966 else
9967
9968 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
9969 if test "x$LINE" != x ; then
9970 eval "DEFAULT_$LINE"
9971 cache=yes
9972 else
9973 cache=no
9974 fi
9975
9976 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9977
9978 fi;
9979
9980 eval "$wx_cv_use_clipboard"
9981 if test "x$cache" = xyes; then
9982 echo "wxUSE_CLIPBOARD=$wxUSE_CLIPBOARD" >> ${wx_arg_cache_file}.tmp
9983 fi
9984
9985 if test x"$enablestring" = xdisable; then
9986 if test $wxUSE_CLIPBOARD = yes; then
9987 result=no
9988 else
9989 result=yes
9990 fi
9991 else
9992 result=$wxUSE_CLIPBOARD
9993 fi
9994
9995 echo "$as_me:$LINENO: result: $result" >&5
9996 echo "${ECHO_T}$result" >&6
9997
9998
9999 enablestring=
10000 defaultval=$wxUSE_ALL_FEATURES
10001 if test -z "$defaultval"; then
10002 if test x"$enablestring" = xdisable; then
10003 defaultval=yes
10004 else
10005 defaultval=no
10006 fi
10007 fi
10008
10009 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10010 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
10011 # Check whether --enable-dnd or --disable-dnd was given.
10012 if test "${enable_dnd+set}" = set; then
10013 enableval="$enable_dnd"
10014
10015 if test "$enableval" = yes; then
10016 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10017 else
10018 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10019 fi
10020 cache=yes
10021
10022 else
10023
10024 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10025 if test "x$LINE" != x ; then
10026 eval "DEFAULT_$LINE"
10027 cache=yes
10028 else
10029 cache=no
10030 fi
10031
10032 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10033
10034 fi;
10035
10036 eval "$wx_cv_use_dnd"
10037 if test "x$cache" = xyes; then
10038 echo "wxUSE_DRAG_AND_DROP=$wxUSE_DRAG_AND_DROP" >> ${wx_arg_cache_file}.tmp
10039 fi
10040
10041 if test x"$enablestring" = xdisable; then
10042 if test $wxUSE_DRAG_AND_DROP = yes; then
10043 result=no
10044 else
10045 result=yes
10046 fi
10047 else
10048 result=$wxUSE_DRAG_AND_DROP
10049 fi
10050
10051 echo "$as_me:$LINENO: result: $result" >&5
10052 echo "${ECHO_T}$result" >&6
10053
10054
10055 enablestring=
10056 defaultval=$wxUSE_ALL_FEATURES
10057 if test -z "$defaultval"; then
10058 if test x"$enablestring" = xdisable; then
10059 defaultval=yes
10060 else
10061 defaultval=no
10062 fi
10063 fi
10064
10065 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10067 # Check whether --enable-metafile or --disable-metafile was given.
10068 if test "${enable_metafile+set}" = set; then
10069 enableval="$enable_metafile"
10070
10071 if test "$enableval" = yes; then
10072 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10073 else
10074 wx_cv_use_metafile='wxUSE_METAFILE=no'
10075 fi
10076 cache=yes
10077
10078 else
10079
10080 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10081 if test "x$LINE" != x ; then
10082 eval "DEFAULT_$LINE"
10083 cache=yes
10084 else
10085 cache=no
10086 fi
10087
10088 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10089
10090 fi;
10091
10092 eval "$wx_cv_use_metafile"
10093 if test "x$cache" = xyes; then
10094 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
10095 fi
10096
10097 if test x"$enablestring" = xdisable; then
10098 if test $wxUSE_METAFILE = yes; then
10099 result=no
10100 else
10101 result=yes
10102 fi
10103 else
10104 result=$wxUSE_METAFILE
10105 fi
10106
10107 echo "$as_me:$LINENO: result: $result" >&5
10108 echo "${ECHO_T}$result" >&6
10109
10110
10111
10112 DEFAULT_wxUSE_CONTROLS=none
10113
10114 enablestring=disable
10115 defaultval=
10116 if test -z "$defaultval"; then
10117 if test x"$enablestring" = xdisable; then
10118 defaultval=yes
10119 else
10120 defaultval=no
10121 fi
10122 fi
10123
10124 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10125 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
10126 # Check whether --enable-controls or --disable-controls was given.
10127 if test "${enable_controls+set}" = set; then
10128 enableval="$enable_controls"
10129
10130 if test "$enableval" = yes; then
10131 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10132 else
10133 wx_cv_use_controls='wxUSE_CONTROLS=no'
10134 fi
10135 cache=yes
10136
10137 else
10138
10139 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10140 if test "x$LINE" != x ; then
10141 eval "DEFAULT_$LINE"
10142 cache=yes
10143 else
10144 cache=no
10145 fi
10146
10147 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10148
10149 fi;
10150
10151 eval "$wx_cv_use_controls"
10152 if test "x$cache" = xyes; then
10153 echo "wxUSE_CONTROLS=$wxUSE_CONTROLS" >> ${wx_arg_cache_file}.tmp
10154 fi
10155
10156 if test x"$enablestring" = xdisable; then
10157 if test $wxUSE_CONTROLS = yes; then
10158 result=no
10159 else
10160 result=yes
10161 fi
10162 else
10163 result=$wxUSE_CONTROLS
10164 fi
10165
10166 echo "$as_me:$LINENO: result: $result" >&5
10167 echo "${ECHO_T}$result" >&6
10168
10169
10170 if test "$wxUSE_CONTROLS" = "yes"; then
10171 DEFAULT_wxUSE_ACCEL=yes
10172 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10173 DEFAULT_wxUSE_BMPBUTTON=yes
10174 DEFAULT_wxUSE_BUTTON=yes
10175 DEFAULT_wxUSE_CALCTRL=yes
10176 DEFAULT_wxUSE_CARET=yes
10177 DEFAULT_wxUSE_COMBOBOX=yes
10178 DEFAULT_wxUSE_CHECKBOX=yes
10179 DEFAULT_wxUSE_CHECKLISTBOX=yes
10180 DEFAULT_wxUSE_CHOICE=yes
10181 DEFAULT_wxUSE_CHOICEBOOK=yes
10182 DEFAULT_wxUSE_COLLPANE=yes
10183 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10184 DEFAULT_wxUSE_COMBOBOX=yes
10185 DEFAULT_wxUSE_DATEPICKCTRL=yes
10186 DEFAULT_wxUSE_DISPLAY=yes
10187 DEFAULT_wxUSE_DETECT_SM=yes
10188 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10189 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10190 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10191 DEFAULT_wxUSE_GAUGE=yes
10192 DEFAULT_wxUSE_GRID=yes
10193 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10194 DEFAULT_wxUSE_DATAVIEWCTRL=no
10195 DEFAULT_wxUSE_IMAGLIST=yes
10196 DEFAULT_wxUSE_LISTBOOK=yes
10197 DEFAULT_wxUSE_LISTBOX=yes
10198 DEFAULT_wxUSE_LISTCTRL=yes
10199 DEFAULT_wxUSE_NOTEBOOK=yes
10200 DEFAULT_wxUSE_RADIOBOX=yes
10201 DEFAULT_wxUSE_RADIOBTN=yes
10202 DEFAULT_wxUSE_SASH=yes
10203 DEFAULT_wxUSE_SCROLLBAR=yes
10204 DEFAULT_wxUSE_SEARCHCTRL=yes
10205 DEFAULT_wxUSE_SLIDER=yes
10206 DEFAULT_wxUSE_SPINBTN=yes
10207 DEFAULT_wxUSE_SPINCTRL=yes
10208 DEFAULT_wxUSE_SPLITTER=yes
10209 DEFAULT_wxUSE_STATBMP=yes
10210 DEFAULT_wxUSE_STATBOX=yes
10211 DEFAULT_wxUSE_STATLINE=yes
10212 DEFAULT_wxUSE_STATUSBAR=yes
10213 DEFAULT_wxUSE_TAB_DIALOG=yes
10214 DEFAULT_wxUSE_TOGGLEBTN=yes
10215 DEFAULT_wxUSE_TOOLBAR=yes
10216 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10217 DEFAULT_wxUSE_TOOLTIPS=yes
10218 DEFAULT_wxUSE_TREEBOOK=yes
10219 DEFAULT_wxUSE_TOOLBOOK=yes
10220 DEFAULT_wxUSE_TREECTRL=yes
10221 DEFAULT_wxUSE_POPUPWIN=yes
10222 DEFAULT_wxUSE_TIPWINDOW=yes
10223 elif test "$wxUSE_CONTROLS" = "no"; then
10224 DEFAULT_wxUSE_ACCEL=no
10225 DEFAULT_wxUSE_ANIMATIONCTRL=no
10226 DEFAULT_wxUSE_BMPBUTTON=no
10227 DEFAULT_wxUSE_BUTTON=no
10228 DEFAULT_wxUSE_CALCTRL=no
10229 DEFAULT_wxUSE_CARET=no
10230 DEFAULT_wxUSE_COLLPANE=no
10231 DEFAULT_wxUSE_COMBOBOX=no
10232 DEFAULT_wxUSE_CHECKBOX=no
10233 DEFAULT_wxUSE_CHECKLISTBOX=no
10234 DEFAULT_wxUSE_CHOICE=no
10235 DEFAULT_wxUSE_CHOICEBOOK=no
10236 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10237 DEFAULT_wxUSE_COMBOBOX=no
10238 DEFAULT_wxUSE_DATEPICKCTRL=no
10239 DEFAULT_wxUSE_DISPLAY=no
10240 DEFAULT_wxUSE_DETECT_SM=no
10241 DEFAULT_wxUSE_DIRPICKERCTRL=no
10242 DEFAULT_wxUSE_FILEPICKERCTRL=no
10243 DEFAULT_wxUSE_FONTPICKERCTRL=no
10244 DEFAULT_wxUSE_GAUGE=no
10245 DEFAULT_wxUSE_GRID=no
10246 DEFAULT_wxUSE_HYPERLINKCTRL=no
10247 DEFAULT_wxUSE_DATAVIEWCTRL=no
10248 DEFAULT_wxUSE_IMAGLIST=no
10249 DEFAULT_wxUSE_LISTBOOK=no
10250 DEFAULT_wxUSE_LISTBOX=no
10251 DEFAULT_wxUSE_LISTCTRL=no
10252 DEFAULT_wxUSE_NOTEBOOK=no
10253 DEFAULT_wxUSE_RADIOBOX=no
10254 DEFAULT_wxUSE_RADIOBTN=no
10255 DEFAULT_wxUSE_SASH=no
10256 DEFAULT_wxUSE_SCROLLBAR=no
10257 DEFAULT_wxUSE_SEARCHCTRL=no
10258 DEFAULT_wxUSE_SLIDER=no
10259 DEFAULT_wxUSE_SPINBTN=no
10260 DEFAULT_wxUSE_SPINCTRL=no
10261 DEFAULT_wxUSE_SPLITTER=no
10262 DEFAULT_wxUSE_STATBMP=no
10263 DEFAULT_wxUSE_STATBOX=no
10264 DEFAULT_wxUSE_STATLINE=no
10265 DEFAULT_wxUSE_STATUSBAR=no
10266 DEFAULT_wxUSE_TAB_DIALOG=no
10267 DEFAULT_wxUSE_TOGGLEBTN=no
10268 DEFAULT_wxUSE_TOOLBAR=no
10269 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10270 DEFAULT_wxUSE_TOOLTIPS=no
10271 DEFAULT_wxUSE_TREEBOOK=no
10272 DEFAULT_wxUSE_TOOLBOOK=no
10273 DEFAULT_wxUSE_TREECTRL=no
10274 DEFAULT_wxUSE_POPUPWIN=no
10275 DEFAULT_wxUSE_TIPWINDOW=no
10276 fi
10277
10278
10279 enablestring=
10280 defaultval=$wxUSE_ALL_FEATURES
10281 if test -z "$defaultval"; then
10282 if test x"$enablestring" = xdisable; then
10283 defaultval=yes
10284 else
10285 defaultval=no
10286 fi
10287 fi
10288
10289 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10290 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
10291 # Check whether --enable-accel or --disable-accel was given.
10292 if test "${enable_accel+set}" = set; then
10293 enableval="$enable_accel"
10294
10295 if test "$enableval" = yes; then
10296 wx_cv_use_accel='wxUSE_ACCEL=yes'
10297 else
10298 wx_cv_use_accel='wxUSE_ACCEL=no'
10299 fi
10300 cache=yes
10301
10302 else
10303
10304 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10305 if test "x$LINE" != x ; then
10306 eval "DEFAULT_$LINE"
10307 cache=yes
10308 else
10309 cache=no
10310 fi
10311
10312 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10313
10314 fi;
10315
10316 eval "$wx_cv_use_accel"
10317 if test "x$cache" = xyes; then
10318 echo "wxUSE_ACCEL=$wxUSE_ACCEL" >> ${wx_arg_cache_file}.tmp
10319 fi
10320
10321 if test x"$enablestring" = xdisable; then
10322 if test $wxUSE_ACCEL = yes; then
10323 result=no
10324 else
10325 result=yes
10326 fi
10327 else
10328 result=$wxUSE_ACCEL
10329 fi
10330
10331 echo "$as_me:$LINENO: result: $result" >&5
10332 echo "${ECHO_T}$result" >&6
10333
10334
10335 enablestring=
10336 defaultval=$wxUSE_ALL_FEATURES
10337 if test -z "$defaultval"; then
10338 if test x"$enablestring" = xdisable; then
10339 defaultval=yes
10340 else
10341 defaultval=no
10342 fi
10343 fi
10344
10345 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10346 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
10347 # Check whether --enable-animatectrl or --disable-animatectrl was given.
10348 if test "${enable_animatectrl+set}" = set; then
10349 enableval="$enable_animatectrl"
10350
10351 if test "$enableval" = yes; then
10352 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10353 else
10354 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10355 fi
10356 cache=yes
10357
10358 else
10359
10360 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10361 if test "x$LINE" != x ; then
10362 eval "DEFAULT_$LINE"
10363 cache=yes
10364 else
10365 cache=no
10366 fi
10367
10368 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10369
10370 fi;
10371
10372 eval "$wx_cv_use_animatectrl"
10373 if test "x$cache" = xyes; then
10374 echo "wxUSE_ANIMATIONCTRL=$wxUSE_ANIMATIONCTRL" >> ${wx_arg_cache_file}.tmp
10375 fi
10376
10377 if test x"$enablestring" = xdisable; then
10378 if test $wxUSE_ANIMATIONCTRL = yes; then
10379 result=no
10380 else
10381 result=yes
10382 fi
10383 else
10384 result=$wxUSE_ANIMATIONCTRL
10385 fi
10386
10387 echo "$as_me:$LINENO: result: $result" >&5
10388 echo "${ECHO_T}$result" >&6
10389
10390
10391 enablestring=
10392 defaultval=$wxUSE_ALL_FEATURES
10393 if test -z "$defaultval"; then
10394 if test x"$enablestring" = xdisable; then
10395 defaultval=yes
10396 else
10397 defaultval=no
10398 fi
10399 fi
10400
10401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10402 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
10403 # Check whether --enable-button or --disable-button was given.
10404 if test "${enable_button+set}" = set; then
10405 enableval="$enable_button"
10406
10407 if test "$enableval" = yes; then
10408 wx_cv_use_button='wxUSE_BUTTON=yes'
10409 else
10410 wx_cv_use_button='wxUSE_BUTTON=no'
10411 fi
10412 cache=yes
10413
10414 else
10415
10416 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10417 if test "x$LINE" != x ; then
10418 eval "DEFAULT_$LINE"
10419 cache=yes
10420 else
10421 cache=no
10422 fi
10423
10424 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10425
10426 fi;
10427
10428 eval "$wx_cv_use_button"
10429 if test "x$cache" = xyes; then
10430 echo "wxUSE_BUTTON=$wxUSE_BUTTON" >> ${wx_arg_cache_file}.tmp
10431 fi
10432
10433 if test x"$enablestring" = xdisable; then
10434 if test $wxUSE_BUTTON = yes; then
10435 result=no
10436 else
10437 result=yes
10438 fi
10439 else
10440 result=$wxUSE_BUTTON
10441 fi
10442
10443 echo "$as_me:$LINENO: result: $result" >&5
10444 echo "${ECHO_T}$result" >&6
10445
10446
10447 enablestring=
10448 defaultval=$wxUSE_ALL_FEATURES
10449 if test -z "$defaultval"; then
10450 if test x"$enablestring" = xdisable; then
10451 defaultval=yes
10452 else
10453 defaultval=no
10454 fi
10455 fi
10456
10457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10458 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
10459 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
10460 if test "${enable_bmpbutton+set}" = set; then
10461 enableval="$enable_bmpbutton"
10462
10463 if test "$enableval" = yes; then
10464 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10465 else
10466 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10467 fi
10468 cache=yes
10469
10470 else
10471
10472 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10473 if test "x$LINE" != x ; then
10474 eval "DEFAULT_$LINE"
10475 cache=yes
10476 else
10477 cache=no
10478 fi
10479
10480 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10481
10482 fi;
10483
10484 eval "$wx_cv_use_bmpbutton"
10485 if test "x$cache" = xyes; then
10486 echo "wxUSE_BMPBUTTON=$wxUSE_BMPBUTTON" >> ${wx_arg_cache_file}.tmp
10487 fi
10488
10489 if test x"$enablestring" = xdisable; then
10490 if test $wxUSE_BMPBUTTON = yes; then
10491 result=no
10492 else
10493 result=yes
10494 fi
10495 else
10496 result=$wxUSE_BMPBUTTON
10497 fi
10498
10499 echo "$as_me:$LINENO: result: $result" >&5
10500 echo "${ECHO_T}$result" >&6
10501
10502
10503 enablestring=
10504 defaultval=$wxUSE_ALL_FEATURES
10505 if test -z "$defaultval"; then
10506 if test x"$enablestring" = xdisable; then
10507 defaultval=yes
10508 else
10509 defaultval=no
10510 fi
10511 fi
10512
10513 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10514 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
10515 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
10516 if test "${enable_bmpcombobox+set}" = set; then
10517 enableval="$enable_bmpcombobox"
10518
10519 if test "$enableval" = yes; then
10520 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10521 else
10522 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10523 fi
10524 cache=yes
10525
10526 else
10527
10528 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10529 if test "x$LINE" != x ; then
10530 eval "DEFAULT_$LINE"
10531 cache=yes
10532 else
10533 cache=no
10534 fi
10535
10536 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10537
10538 fi;
10539
10540 eval "$wx_cv_use_bmpcombobox"
10541 if test "x$cache" = xyes; then
10542 echo "wxUSE_BITMAPCOMBOBOX=$wxUSE_BITMAPCOMBOBOX" >> ${wx_arg_cache_file}.tmp
10543 fi
10544
10545 if test x"$enablestring" = xdisable; then
10546 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10547 result=no
10548 else
10549 result=yes
10550 fi
10551 else
10552 result=$wxUSE_BITMAPCOMBOBOX
10553 fi
10554
10555 echo "$as_me:$LINENO: result: $result" >&5
10556 echo "${ECHO_T}$result" >&6
10557
10558
10559 enablestring=
10560 defaultval=$wxUSE_ALL_FEATURES
10561 if test -z "$defaultval"; then
10562 if test x"$enablestring" = xdisable; then
10563 defaultval=yes
10564 else
10565 defaultval=no
10566 fi
10567 fi
10568
10569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10570 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
10571 # Check whether --enable-calendar or --disable-calendar was given.
10572 if test "${enable_calendar+set}" = set; then
10573 enableval="$enable_calendar"
10574
10575 if test "$enableval" = yes; then
10576 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10577 else
10578 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10579 fi
10580 cache=yes
10581
10582 else
10583
10584 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10585 if test "x$LINE" != x ; then
10586 eval "DEFAULT_$LINE"
10587 cache=yes
10588 else
10589 cache=no
10590 fi
10591
10592 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10593
10594 fi;
10595
10596 eval "$wx_cv_use_calendar"
10597 if test "x$cache" = xyes; then
10598 echo "wxUSE_CALCTRL=$wxUSE_CALCTRL" >> ${wx_arg_cache_file}.tmp
10599 fi
10600
10601 if test x"$enablestring" = xdisable; then
10602 if test $wxUSE_CALCTRL = yes; then
10603 result=no
10604 else
10605 result=yes
10606 fi
10607 else
10608 result=$wxUSE_CALCTRL
10609 fi
10610
10611 echo "$as_me:$LINENO: result: $result" >&5
10612 echo "${ECHO_T}$result" >&6
10613
10614
10615 enablestring=
10616 defaultval=$wxUSE_ALL_FEATURES
10617 if test -z "$defaultval"; then
10618 if test x"$enablestring" = xdisable; then
10619 defaultval=yes
10620 else
10621 defaultval=no
10622 fi
10623 fi
10624
10625 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10626 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
10627 # Check whether --enable-caret or --disable-caret was given.
10628 if test "${enable_caret+set}" = set; then
10629 enableval="$enable_caret"
10630
10631 if test "$enableval" = yes; then
10632 wx_cv_use_caret='wxUSE_CARET=yes'
10633 else
10634 wx_cv_use_caret='wxUSE_CARET=no'
10635 fi
10636 cache=yes
10637
10638 else
10639
10640 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10641 if test "x$LINE" != x ; then
10642 eval "DEFAULT_$LINE"
10643 cache=yes
10644 else
10645 cache=no
10646 fi
10647
10648 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10649
10650 fi;
10651
10652 eval "$wx_cv_use_caret"
10653 if test "x$cache" = xyes; then
10654 echo "wxUSE_CARET=$wxUSE_CARET" >> ${wx_arg_cache_file}.tmp
10655 fi
10656
10657 if test x"$enablestring" = xdisable; then
10658 if test $wxUSE_CARET = yes; then
10659 result=no
10660 else
10661 result=yes
10662 fi
10663 else
10664 result=$wxUSE_CARET
10665 fi
10666
10667 echo "$as_me:$LINENO: result: $result" >&5
10668 echo "${ECHO_T}$result" >&6
10669
10670
10671 enablestring=
10672 defaultval=$wxUSE_ALL_FEATURES
10673 if test -z "$defaultval"; then
10674 if test x"$enablestring" = xdisable; then
10675 defaultval=yes
10676 else
10677 defaultval=no
10678 fi
10679 fi
10680
10681 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10682 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
10683 # Check whether --enable-checkbox or --disable-checkbox was given.
10684 if test "${enable_checkbox+set}" = set; then
10685 enableval="$enable_checkbox"
10686
10687 if test "$enableval" = yes; then
10688 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10689 else
10690 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10691 fi
10692 cache=yes
10693
10694 else
10695
10696 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10697 if test "x$LINE" != x ; then
10698 eval "DEFAULT_$LINE"
10699 cache=yes
10700 else
10701 cache=no
10702 fi
10703
10704 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10705
10706 fi;
10707
10708 eval "$wx_cv_use_checkbox"
10709 if test "x$cache" = xyes; then
10710 echo "wxUSE_CHECKBOX=$wxUSE_CHECKBOX" >> ${wx_arg_cache_file}.tmp
10711 fi
10712
10713 if test x"$enablestring" = xdisable; then
10714 if test $wxUSE_CHECKBOX = yes; then
10715 result=no
10716 else
10717 result=yes
10718 fi
10719 else
10720 result=$wxUSE_CHECKBOX
10721 fi
10722
10723 echo "$as_me:$LINENO: result: $result" >&5
10724 echo "${ECHO_T}$result" >&6
10725
10726
10727 enablestring=
10728 defaultval=$wxUSE_ALL_FEATURES
10729 if test -z "$defaultval"; then
10730 if test x"$enablestring" = xdisable; then
10731 defaultval=yes
10732 else
10733 defaultval=no
10734 fi
10735 fi
10736
10737 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10738 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
10739 # Check whether --enable-checklst or --disable-checklst was given.
10740 if test "${enable_checklst+set}" = set; then
10741 enableval="$enable_checklst"
10742
10743 if test "$enableval" = yes; then
10744 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10745 else
10746 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10747 fi
10748 cache=yes
10749
10750 else
10751
10752 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
10753 if test "x$LINE" != x ; then
10754 eval "DEFAULT_$LINE"
10755 cache=yes
10756 else
10757 cache=no
10758 fi
10759
10760 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10761
10762 fi;
10763
10764 eval "$wx_cv_use_checklst"
10765 if test "x$cache" = xyes; then
10766 echo "wxUSE_CHECKLST=$wxUSE_CHECKLST" >> ${wx_arg_cache_file}.tmp
10767 fi
10768
10769 if test x"$enablestring" = xdisable; then
10770 if test $wxUSE_CHECKLST = yes; then
10771 result=no
10772 else
10773 result=yes
10774 fi
10775 else
10776 result=$wxUSE_CHECKLST
10777 fi
10778
10779 echo "$as_me:$LINENO: result: $result" >&5
10780 echo "${ECHO_T}$result" >&6
10781
10782
10783 enablestring=
10784 defaultval=$wxUSE_ALL_FEATURES
10785 if test -z "$defaultval"; then
10786 if test x"$enablestring" = xdisable; then
10787 defaultval=yes
10788 else
10789 defaultval=no
10790 fi
10791 fi
10792
10793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10794 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
10795 # Check whether --enable-choice or --disable-choice was given.
10796 if test "${enable_choice+set}" = set; then
10797 enableval="$enable_choice"
10798
10799 if test "$enableval" = yes; then
10800 wx_cv_use_choice='wxUSE_CHOICE=yes'
10801 else
10802 wx_cv_use_choice='wxUSE_CHOICE=no'
10803 fi
10804 cache=yes
10805
10806 else
10807
10808 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
10809 if test "x$LINE" != x ; then
10810 eval "DEFAULT_$LINE"
10811 cache=yes
10812 else
10813 cache=no
10814 fi
10815
10816 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10817
10818 fi;
10819
10820 eval "$wx_cv_use_choice"
10821 if test "x$cache" = xyes; then
10822 echo "wxUSE_CHOICE=$wxUSE_CHOICE" >> ${wx_arg_cache_file}.tmp
10823 fi
10824
10825 if test x"$enablestring" = xdisable; then
10826 if test $wxUSE_CHOICE = yes; then
10827 result=no
10828 else
10829 result=yes
10830 fi
10831 else
10832 result=$wxUSE_CHOICE
10833 fi
10834
10835 echo "$as_me:$LINENO: result: $result" >&5
10836 echo "${ECHO_T}$result" >&6
10837
10838
10839 enablestring=
10840 defaultval=$wxUSE_ALL_FEATURES
10841 if test -z "$defaultval"; then
10842 if test x"$enablestring" = xdisable; then
10843 defaultval=yes
10844 else
10845 defaultval=no
10846 fi
10847 fi
10848
10849 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10850 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
10851 # Check whether --enable-choicebook or --disable-choicebook was given.
10852 if test "${enable_choicebook+set}" = set; then
10853 enableval="$enable_choicebook"
10854
10855 if test "$enableval" = yes; then
10856 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10857 else
10858 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10859 fi
10860 cache=yes
10861
10862 else
10863
10864 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
10865 if test "x$LINE" != x ; then
10866 eval "DEFAULT_$LINE"
10867 cache=yes
10868 else
10869 cache=no
10870 fi
10871
10872 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10873
10874 fi;
10875
10876 eval "$wx_cv_use_choicebook"
10877 if test "x$cache" = xyes; then
10878 echo "wxUSE_CHOICEBOOK=$wxUSE_CHOICEBOOK" >> ${wx_arg_cache_file}.tmp
10879 fi
10880
10881 if test x"$enablestring" = xdisable; then
10882 if test $wxUSE_CHOICEBOOK = yes; then
10883 result=no
10884 else
10885 result=yes
10886 fi
10887 else
10888 result=$wxUSE_CHOICEBOOK
10889 fi
10890
10891 echo "$as_me:$LINENO: result: $result" >&5
10892 echo "${ECHO_T}$result" >&6
10893
10894
10895 enablestring=
10896 defaultval=$wxUSE_ALL_FEATURES
10897 if test -z "$defaultval"; then
10898 if test x"$enablestring" = xdisable; then
10899 defaultval=yes
10900 else
10901 defaultval=no
10902 fi
10903 fi
10904
10905 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10906 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
10907 # Check whether --enable-collpane or --disable-collpane was given.
10908 if test "${enable_collpane+set}" = set; then
10909 enableval="$enable_collpane"
10910
10911 if test "$enableval" = yes; then
10912 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10913 else
10914 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10915 fi
10916 cache=yes
10917
10918 else
10919
10920 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
10921 if test "x$LINE" != x ; then
10922 eval "DEFAULT_$LINE"
10923 cache=yes
10924 else
10925 cache=no
10926 fi
10927
10928 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10929
10930 fi;
10931
10932 eval "$wx_cv_use_collpane"
10933 if test "x$cache" = xyes; then
10934 echo "wxUSE_COLLPANE=$wxUSE_COLLPANE" >> ${wx_arg_cache_file}.tmp
10935 fi
10936
10937 if test x"$enablestring" = xdisable; then
10938 if test $wxUSE_COLLPANE = yes; then
10939 result=no
10940 else
10941 result=yes
10942 fi
10943 else
10944 result=$wxUSE_COLLPANE
10945 fi
10946
10947 echo "$as_me:$LINENO: result: $result" >&5
10948 echo "${ECHO_T}$result" >&6
10949
10950
10951 enablestring=
10952 defaultval=$wxUSE_ALL_FEATURES
10953 if test -z "$defaultval"; then
10954 if test x"$enablestring" = xdisable; then
10955 defaultval=yes
10956 else
10957 defaultval=no
10958 fi
10959 fi
10960
10961 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10962 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
10963 # Check whether --enable-colourpicker or --disable-colourpicker was given.
10964 if test "${enable_colourpicker+set}" = set; then
10965 enableval="$enable_colourpicker"
10966
10967 if test "$enableval" = yes; then
10968 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10969 else
10970 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10971 fi
10972 cache=yes
10973
10974 else
10975
10976 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
10977 if test "x$LINE" != x ; then
10978 eval "DEFAULT_$LINE"
10979 cache=yes
10980 else
10981 cache=no
10982 fi
10983
10984 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10985
10986 fi;
10987
10988 eval "$wx_cv_use_colourpicker"
10989 if test "x$cache" = xyes; then
10990 echo "wxUSE_COLOURPICKERCTRL=$wxUSE_COLOURPICKERCTRL" >> ${wx_arg_cache_file}.tmp
10991 fi
10992
10993 if test x"$enablestring" = xdisable; then
10994 if test $wxUSE_COLOURPICKERCTRL = yes; then
10995 result=no
10996 else
10997 result=yes
10998 fi
10999 else
11000 result=$wxUSE_COLOURPICKERCTRL
11001 fi
11002
11003 echo "$as_me:$LINENO: result: $result" >&5
11004 echo "${ECHO_T}$result" >&6
11005
11006
11007 enablestring=
11008 defaultval=$wxUSE_ALL_FEATURES
11009 if test -z "$defaultval"; then
11010 if test x"$enablestring" = xdisable; then
11011 defaultval=yes
11012 else
11013 defaultval=no
11014 fi
11015 fi
11016
11017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
11018 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
11019 # Check whether --enable-combobox or --disable-combobox was given.
11020 if test "${enable_combobox+set}" = set; then
11021 enableval="$enable_combobox"
11022
11023 if test "$enableval" = yes; then
11024 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11025 else
11026 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11027 fi
11028 cache=yes
11029
11030 else
11031
11032 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11033 if test "x$LINE" != x ; then
11034 eval "DEFAULT_$LINE"
11035 cache=yes
11036 else
11037 cache=no
11038 fi
11039
11040 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11041
11042 fi;
11043
11044 eval "$wx_cv_use_combobox"
11045 if test "x$cache" = xyes; then
11046 echo "wxUSE_COMBOBOX=$wxUSE_COMBOBOX" >> ${wx_arg_cache_file}.tmp
11047 fi
11048
11049 if test x"$enablestring" = xdisable; then
11050 if test $wxUSE_COMBOBOX = yes; then
11051 result=no
11052 else
11053 result=yes
11054 fi
11055 else
11056 result=$wxUSE_COMBOBOX
11057 fi
11058
11059 echo "$as_me:$LINENO: result: $result" >&5
11060 echo "${ECHO_T}$result" >&6
11061
11062
11063 enablestring=
11064 defaultval=$wxUSE_ALL_FEATURES
11065 if test -z "$defaultval"; then
11066 if test x"$enablestring" = xdisable; then
11067 defaultval=yes
11068 else
11069 defaultval=no
11070 fi
11071 fi
11072
11073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11074 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
11075 # Check whether --enable-comboctrl or --disable-comboctrl was given.
11076 if test "${enable_comboctrl+set}" = set; then
11077 enableval="$enable_comboctrl"
11078
11079 if test "$enableval" = yes; then
11080 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11081 else
11082 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11083 fi
11084 cache=yes
11085
11086 else
11087
11088 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11089 if test "x$LINE" != x ; then
11090 eval "DEFAULT_$LINE"
11091 cache=yes
11092 else
11093 cache=no
11094 fi
11095
11096 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11097
11098 fi;
11099
11100 eval "$wx_cv_use_comboctrl"
11101 if test "x$cache" = xyes; then
11102 echo "wxUSE_COMBOCTRL=$wxUSE_COMBOCTRL" >> ${wx_arg_cache_file}.tmp
11103 fi
11104
11105 if test x"$enablestring" = xdisable; then
11106 if test $wxUSE_COMBOCTRL = yes; then
11107 result=no
11108 else
11109 result=yes
11110 fi
11111 else
11112 result=$wxUSE_COMBOCTRL
11113 fi
11114
11115 echo "$as_me:$LINENO: result: $result" >&5
11116 echo "${ECHO_T}$result" >&6
11117
11118
11119 enablestring=
11120 defaultval=$wxUSE_ALL_FEATURES
11121 if test -z "$defaultval"; then
11122 if test x"$enablestring" = xdisable; then
11123 defaultval=yes
11124 else
11125 defaultval=no
11126 fi
11127 fi
11128
11129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11130 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
11131 # Check whether --enable-datepick or --disable-datepick was given.
11132 if test "${enable_datepick+set}" = set; then
11133 enableval="$enable_datepick"
11134
11135 if test "$enableval" = yes; then
11136 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11137 else
11138 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11139 fi
11140 cache=yes
11141
11142 else
11143
11144 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11145 if test "x$LINE" != x ; then
11146 eval "DEFAULT_$LINE"
11147 cache=yes
11148 else
11149 cache=no
11150 fi
11151
11152 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11153
11154 fi;
11155
11156 eval "$wx_cv_use_datepick"
11157 if test "x$cache" = xyes; then
11158 echo "wxUSE_DATEPICKCTRL=$wxUSE_DATEPICKCTRL" >> ${wx_arg_cache_file}.tmp
11159 fi
11160
11161 if test x"$enablestring" = xdisable; then
11162 if test $wxUSE_DATEPICKCTRL = yes; then
11163 result=no
11164 else
11165 result=yes
11166 fi
11167 else
11168 result=$wxUSE_DATEPICKCTRL
11169 fi
11170
11171 echo "$as_me:$LINENO: result: $result" >&5
11172 echo "${ECHO_T}$result" >&6
11173
11174
11175 enablestring=
11176 defaultval=$wxUSE_ALL_FEATURES
11177 if test -z "$defaultval"; then
11178 if test x"$enablestring" = xdisable; then
11179 defaultval=yes
11180 else
11181 defaultval=no
11182 fi
11183 fi
11184
11185 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11186 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
11187 # Check whether --enable-dirpicker or --disable-dirpicker was given.
11188 if test "${enable_dirpicker+set}" = set; then
11189 enableval="$enable_dirpicker"
11190
11191 if test "$enableval" = yes; then
11192 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11193 else
11194 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11195 fi
11196 cache=yes
11197
11198 else
11199
11200 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11201 if test "x$LINE" != x ; then
11202 eval "DEFAULT_$LINE"
11203 cache=yes
11204 else
11205 cache=no
11206 fi
11207
11208 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11209
11210 fi;
11211
11212 eval "$wx_cv_use_dirpicker"
11213 if test "x$cache" = xyes; then
11214 echo "wxUSE_DIRPICKERCTRL=$wxUSE_DIRPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11215 fi
11216
11217 if test x"$enablestring" = xdisable; then
11218 if test $wxUSE_DIRPICKERCTRL = yes; then
11219 result=no
11220 else
11221 result=yes
11222 fi
11223 else
11224 result=$wxUSE_DIRPICKERCTRL
11225 fi
11226
11227 echo "$as_me:$LINENO: result: $result" >&5
11228 echo "${ECHO_T}$result" >&6
11229
11230
11231 enablestring=
11232 defaultval=$wxUSE_ALL_FEATURES
11233 if test -z "$defaultval"; then
11234 if test x"$enablestring" = xdisable; then
11235 defaultval=yes
11236 else
11237 defaultval=no
11238 fi
11239 fi
11240
11241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11242 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
11243 # Check whether --enable-display or --disable-display was given.
11244 if test "${enable_display+set}" = set; then
11245 enableval="$enable_display"
11246
11247 if test "$enableval" = yes; then
11248 wx_cv_use_display='wxUSE_DISPLAY=yes'
11249 else
11250 wx_cv_use_display='wxUSE_DISPLAY=no'
11251 fi
11252 cache=yes
11253
11254 else
11255
11256 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11257 if test "x$LINE" != x ; then
11258 eval "DEFAULT_$LINE"
11259 cache=yes
11260 else
11261 cache=no
11262 fi
11263
11264 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11265
11266 fi;
11267
11268 eval "$wx_cv_use_display"
11269 if test "x$cache" = xyes; then
11270 echo "wxUSE_DISPLAY=$wxUSE_DISPLAY" >> ${wx_arg_cache_file}.tmp
11271 fi
11272
11273 if test x"$enablestring" = xdisable; then
11274 if test $wxUSE_DISPLAY = yes; then
11275 result=no
11276 else
11277 result=yes
11278 fi
11279 else
11280 result=$wxUSE_DISPLAY
11281 fi
11282
11283 echo "$as_me:$LINENO: result: $result" >&5
11284 echo "${ECHO_T}$result" >&6
11285
11286
11287 enablestring=
11288 defaultval=$wxUSE_ALL_FEATURES
11289 if test -z "$defaultval"; then
11290 if test x"$enablestring" = xdisable; then
11291 defaultval=yes
11292 else
11293 defaultval=no
11294 fi
11295 fi
11296
11297 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11298 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
11299 # Check whether --enable-detect_sm or --disable-detect_sm was given.
11300 if test "${enable_detect_sm+set}" = set; then
11301 enableval="$enable_detect_sm"
11302
11303 if test "$enableval" = yes; then
11304 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11305 else
11306 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11307 fi
11308 cache=yes
11309
11310 else
11311
11312 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11313 if test "x$LINE" != x ; then
11314 eval "DEFAULT_$LINE"
11315 cache=yes
11316 else
11317 cache=no
11318 fi
11319
11320 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11321
11322 fi;
11323
11324 eval "$wx_cv_use_detect_sm"
11325 if test "x$cache" = xyes; then
11326 echo "wxUSE_DETECT_SM=$wxUSE_DETECT_SM" >> ${wx_arg_cache_file}.tmp
11327 fi
11328
11329 if test x"$enablestring" = xdisable; then
11330 if test $wxUSE_DETECT_SM = yes; then
11331 result=no
11332 else
11333 result=yes
11334 fi
11335 else
11336 result=$wxUSE_DETECT_SM
11337 fi
11338
11339 echo "$as_me:$LINENO: result: $result" >&5
11340 echo "${ECHO_T}$result" >&6
11341
11342
11343 enablestring=
11344 defaultval=$wxUSE_ALL_FEATURES
11345 if test -z "$defaultval"; then
11346 if test x"$enablestring" = xdisable; then
11347 defaultval=yes
11348 else
11349 defaultval=no
11350 fi
11351 fi
11352
11353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11354 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6
11355 # Check whether --enable-editablebox or --disable-editablebox was given.
11356 if test "${enable_editablebox+set}" = set; then
11357 enableval="$enable_editablebox"
11358
11359 if test "$enableval" = yes; then
11360 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11361 else
11362 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11363 fi
11364 cache=yes
11365
11366 else
11367
11368 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11369 if test "x$LINE" != x ; then
11370 eval "DEFAULT_$LINE"
11371 cache=yes
11372 else
11373 cache=no
11374 fi
11375
11376 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11377
11378 fi;
11379
11380 eval "$wx_cv_use_editablebox"
11381 if test "x$cache" = xyes; then
11382 echo "wxUSE_EDITABLELISTBOX=$wxUSE_EDITABLELISTBOX" >> ${wx_arg_cache_file}.tmp
11383 fi
11384
11385 if test x"$enablestring" = xdisable; then
11386 if test $wxUSE_EDITABLELISTBOX = yes; then
11387 result=no
11388 else
11389 result=yes
11390 fi
11391 else
11392 result=$wxUSE_EDITABLELISTBOX
11393 fi
11394
11395 echo "$as_me:$LINENO: result: $result" >&5
11396 echo "${ECHO_T}$result" >&6
11397
11398
11399 enablestring=
11400 defaultval=$wxUSE_ALL_FEATURES
11401 if test -z "$defaultval"; then
11402 if test x"$enablestring" = xdisable; then
11403 defaultval=yes
11404 else
11405 defaultval=no
11406 fi
11407 fi
11408
11409 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11410 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
11411 # Check whether --enable-filepicker or --disable-filepicker was given.
11412 if test "${enable_filepicker+set}" = set; then
11413 enableval="$enable_filepicker"
11414
11415 if test "$enableval" = yes; then
11416 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11417 else
11418 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11419 fi
11420 cache=yes
11421
11422 else
11423
11424 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11425 if test "x$LINE" != x ; then
11426 eval "DEFAULT_$LINE"
11427 cache=yes
11428 else
11429 cache=no
11430 fi
11431
11432 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11433
11434 fi;
11435
11436 eval "$wx_cv_use_filepicker"
11437 if test "x$cache" = xyes; then
11438 echo "wxUSE_FILEPICKERCTRL=$wxUSE_FILEPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11439 fi
11440
11441 if test x"$enablestring" = xdisable; then
11442 if test $wxUSE_FILEPICKERCTRL = yes; then
11443 result=no
11444 else
11445 result=yes
11446 fi
11447 else
11448 result=$wxUSE_FILEPICKERCTRL
11449 fi
11450
11451 echo "$as_me:$LINENO: result: $result" >&5
11452 echo "${ECHO_T}$result" >&6
11453
11454
11455 enablestring=
11456 defaultval=$wxUSE_ALL_FEATURES
11457 if test -z "$defaultval"; then
11458 if test x"$enablestring" = xdisable; then
11459 defaultval=yes
11460 else
11461 defaultval=no
11462 fi
11463 fi
11464
11465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11466 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
11467 # Check whether --enable-fontpicker or --disable-fontpicker was given.
11468 if test "${enable_fontpicker+set}" = set; then
11469 enableval="$enable_fontpicker"
11470
11471 if test "$enableval" = yes; then
11472 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11473 else
11474 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11475 fi
11476 cache=yes
11477
11478 else
11479
11480 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11481 if test "x$LINE" != x ; then
11482 eval "DEFAULT_$LINE"
11483 cache=yes
11484 else
11485 cache=no
11486 fi
11487
11488 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11489
11490 fi;
11491
11492 eval "$wx_cv_use_fontpicker"
11493 if test "x$cache" = xyes; then
11494 echo "wxUSE_FONTPICKERCTRL=$wxUSE_FONTPICKERCTRL" >> ${wx_arg_cache_file}.tmp
11495 fi
11496
11497 if test x"$enablestring" = xdisable; then
11498 if test $wxUSE_FONTPICKERCTRL = yes; then
11499 result=no
11500 else
11501 result=yes
11502 fi
11503 else
11504 result=$wxUSE_FONTPICKERCTRL
11505 fi
11506
11507 echo "$as_me:$LINENO: result: $result" >&5
11508 echo "${ECHO_T}$result" >&6
11509
11510
11511 enablestring=
11512 defaultval=$wxUSE_ALL_FEATURES
11513 if test -z "$defaultval"; then
11514 if test x"$enablestring" = xdisable; then
11515 defaultval=yes
11516 else
11517 defaultval=no
11518 fi
11519 fi
11520
11521 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11522 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
11523 # Check whether --enable-gauge or --disable-gauge was given.
11524 if test "${enable_gauge+set}" = set; then
11525 enableval="$enable_gauge"
11526
11527 if test "$enableval" = yes; then
11528 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11529 else
11530 wx_cv_use_gauge='wxUSE_GAUGE=no'
11531 fi
11532 cache=yes
11533
11534 else
11535
11536 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11537 if test "x$LINE" != x ; then
11538 eval "DEFAULT_$LINE"
11539 cache=yes
11540 else
11541 cache=no
11542 fi
11543
11544 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11545
11546 fi;
11547
11548 eval "$wx_cv_use_gauge"
11549 if test "x$cache" = xyes; then
11550 echo "wxUSE_GAUGE=$wxUSE_GAUGE" >> ${wx_arg_cache_file}.tmp
11551 fi
11552
11553 if test x"$enablestring" = xdisable; then
11554 if test $wxUSE_GAUGE = yes; then
11555 result=no
11556 else
11557 result=yes
11558 fi
11559 else
11560 result=$wxUSE_GAUGE
11561 fi
11562
11563 echo "$as_me:$LINENO: result: $result" >&5
11564 echo "${ECHO_T}$result" >&6
11565
11566
11567 enablestring=
11568 defaultval=$wxUSE_ALL_FEATURES
11569 if test -z "$defaultval"; then
11570 if test x"$enablestring" = xdisable; then
11571 defaultval=yes
11572 else
11573 defaultval=no
11574 fi
11575 fi
11576
11577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11578 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
11579 # Check whether --enable-grid or --disable-grid was given.
11580 if test "${enable_grid+set}" = set; then
11581 enableval="$enable_grid"
11582
11583 if test "$enableval" = yes; then
11584 wx_cv_use_grid='wxUSE_GRID=yes'
11585 else
11586 wx_cv_use_grid='wxUSE_GRID=no'
11587 fi
11588 cache=yes
11589
11590 else
11591
11592 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11593 if test "x$LINE" != x ; then
11594 eval "DEFAULT_$LINE"
11595 cache=yes
11596 else
11597 cache=no
11598 fi
11599
11600 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11601
11602 fi;
11603
11604 eval "$wx_cv_use_grid"
11605 if test "x$cache" = xyes; then
11606 echo "wxUSE_GRID=$wxUSE_GRID" >> ${wx_arg_cache_file}.tmp
11607 fi
11608
11609 if test x"$enablestring" = xdisable; then
11610 if test $wxUSE_GRID = yes; then
11611 result=no
11612 else
11613 result=yes
11614 fi
11615 else
11616 result=$wxUSE_GRID
11617 fi
11618
11619 echo "$as_me:$LINENO: result: $result" >&5
11620 echo "${ECHO_T}$result" >&6
11621
11622
11623 enablestring=
11624 defaultval=$wxUSE_ALL_FEATURES
11625 if test -z "$defaultval"; then
11626 if test x"$enablestring" = xdisable; then
11627 defaultval=yes
11628 else
11629 defaultval=no
11630 fi
11631 fi
11632
11633 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11634 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
11635 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
11636 if test "${enable_dataviewctrl+set}" = set; then
11637 enableval="$enable_dataviewctrl"
11638
11639 if test "$enableval" = yes; then
11640 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11641 else
11642 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11643 fi
11644 cache=yes
11645
11646 else
11647
11648 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11649 if test "x$LINE" != x ; then
11650 eval "DEFAULT_$LINE"
11651 cache=yes
11652 else
11653 cache=no
11654 fi
11655
11656 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11657
11658 fi;
11659
11660 eval "$wx_cv_use_dataviewctrl"
11661 if test "x$cache" = xyes; then
11662 echo "wxUSE_DATAVIEWCTRL=$wxUSE_DATAVIEWCTRL" >> ${wx_arg_cache_file}.tmp
11663 fi
11664
11665 if test x"$enablestring" = xdisable; then
11666 if test $wxUSE_DATAVIEWCTRL = yes; then
11667 result=no
11668 else
11669 result=yes
11670 fi
11671 else
11672 result=$wxUSE_DATAVIEWCTRL
11673 fi
11674
11675 echo "$as_me:$LINENO: result: $result" >&5
11676 echo "${ECHO_T}$result" >&6
11677
11678
11679 enablestring=
11680 defaultval=$wxUSE_ALL_FEATURES
11681 if test -z "$defaultval"; then
11682 if test x"$enablestring" = xdisable; then
11683 defaultval=yes
11684 else
11685 defaultval=no
11686 fi
11687 fi
11688
11689 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11690 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
11691 # Check whether --enable-hyperlink or --disable-hyperlink was given.
11692 if test "${enable_hyperlink+set}" = set; then
11693 enableval="$enable_hyperlink"
11694
11695 if test "$enableval" = yes; then
11696 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11697 else
11698 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11699 fi
11700 cache=yes
11701
11702 else
11703
11704 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11705 if test "x$LINE" != x ; then
11706 eval "DEFAULT_$LINE"
11707 cache=yes
11708 else
11709 cache=no
11710 fi
11711
11712 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11713
11714 fi;
11715
11716 eval "$wx_cv_use_hyperlink"
11717 if test "x$cache" = xyes; then
11718 echo "wxUSE_HYPERLINKCTRL=$wxUSE_HYPERLINKCTRL" >> ${wx_arg_cache_file}.tmp
11719 fi
11720
11721 if test x"$enablestring" = xdisable; then
11722 if test $wxUSE_HYPERLINKCTRL = yes; then
11723 result=no
11724 else
11725 result=yes
11726 fi
11727 else
11728 result=$wxUSE_HYPERLINKCTRL
11729 fi
11730
11731 echo "$as_me:$LINENO: result: $result" >&5
11732 echo "${ECHO_T}$result" >&6
11733
11734
11735 enablestring=
11736 defaultval=$wxUSE_ALL_FEATURES
11737 if test -z "$defaultval"; then
11738 if test x"$enablestring" = xdisable; then
11739 defaultval=yes
11740 else
11741 defaultval=no
11742 fi
11743 fi
11744
11745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11746 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
11747 # Check whether --enable-imaglist or --disable-imaglist was given.
11748 if test "${enable_imaglist+set}" = set; then
11749 enableval="$enable_imaglist"
11750
11751 if test "$enableval" = yes; then
11752 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11753 else
11754 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11755 fi
11756 cache=yes
11757
11758 else
11759
11760 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
11761 if test "x$LINE" != x ; then
11762 eval "DEFAULT_$LINE"
11763 cache=yes
11764 else
11765 cache=no
11766 fi
11767
11768 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11769
11770 fi;
11771
11772 eval "$wx_cv_use_imaglist"
11773 if test "x$cache" = xyes; then
11774 echo "wxUSE_IMAGLIST=$wxUSE_IMAGLIST" >> ${wx_arg_cache_file}.tmp
11775 fi
11776
11777 if test x"$enablestring" = xdisable; then
11778 if test $wxUSE_IMAGLIST = yes; then
11779 result=no
11780 else
11781 result=yes
11782 fi
11783 else
11784 result=$wxUSE_IMAGLIST
11785 fi
11786
11787 echo "$as_me:$LINENO: result: $result" >&5
11788 echo "${ECHO_T}$result" >&6
11789
11790
11791 enablestring=
11792 defaultval=$wxUSE_ALL_FEATURES
11793 if test -z "$defaultval"; then
11794 if test x"$enablestring" = xdisable; then
11795 defaultval=yes
11796 else
11797 defaultval=no
11798 fi
11799 fi
11800
11801 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11802 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
11803 # Check whether --enable-listbook or --disable-listbook was given.
11804 if test "${enable_listbook+set}" = set; then
11805 enableval="$enable_listbook"
11806
11807 if test "$enableval" = yes; then
11808 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11809 else
11810 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11811 fi
11812 cache=yes
11813
11814 else
11815
11816 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
11817 if test "x$LINE" != x ; then
11818 eval "DEFAULT_$LINE"
11819 cache=yes
11820 else
11821 cache=no
11822 fi
11823
11824 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11825
11826 fi;
11827
11828 eval "$wx_cv_use_listbook"
11829 if test "x$cache" = xyes; then
11830 echo "wxUSE_LISTBOOK=$wxUSE_LISTBOOK" >> ${wx_arg_cache_file}.tmp
11831 fi
11832
11833 if test x"$enablestring" = xdisable; then
11834 if test $wxUSE_LISTBOOK = yes; then
11835 result=no
11836 else
11837 result=yes
11838 fi
11839 else
11840 result=$wxUSE_LISTBOOK
11841 fi
11842
11843 echo "$as_me:$LINENO: result: $result" >&5
11844 echo "${ECHO_T}$result" >&6
11845
11846
11847 enablestring=
11848 defaultval=$wxUSE_ALL_FEATURES
11849 if test -z "$defaultval"; then
11850 if test x"$enablestring" = xdisable; then
11851 defaultval=yes
11852 else
11853 defaultval=no
11854 fi
11855 fi
11856
11857 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11858 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
11859 # Check whether --enable-listbox or --disable-listbox was given.
11860 if test "${enable_listbox+set}" = set; then
11861 enableval="$enable_listbox"
11862
11863 if test "$enableval" = yes; then
11864 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11865 else
11866 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11867 fi
11868 cache=yes
11869
11870 else
11871
11872 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
11873 if test "x$LINE" != x ; then
11874 eval "DEFAULT_$LINE"
11875 cache=yes
11876 else
11877 cache=no
11878 fi
11879
11880 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11881
11882 fi;
11883
11884 eval "$wx_cv_use_listbox"
11885 if test "x$cache" = xyes; then
11886 echo "wxUSE_LISTBOX=$wxUSE_LISTBOX" >> ${wx_arg_cache_file}.tmp
11887 fi
11888
11889 if test x"$enablestring" = xdisable; then
11890 if test $wxUSE_LISTBOX = yes; then
11891 result=no
11892 else
11893 result=yes
11894 fi
11895 else
11896 result=$wxUSE_LISTBOX
11897 fi
11898
11899 echo "$as_me:$LINENO: result: $result" >&5
11900 echo "${ECHO_T}$result" >&6
11901
11902
11903 enablestring=
11904 defaultval=$wxUSE_ALL_FEATURES
11905 if test -z "$defaultval"; then
11906 if test x"$enablestring" = xdisable; then
11907 defaultval=yes
11908 else
11909 defaultval=no
11910 fi
11911 fi
11912
11913 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11914 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
11915 # Check whether --enable-listctrl or --disable-listctrl was given.
11916 if test "${enable_listctrl+set}" = set; then
11917 enableval="$enable_listctrl"
11918
11919 if test "$enableval" = yes; then
11920 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11921 else
11922 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11923 fi
11924 cache=yes
11925
11926 else
11927
11928 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
11929 if test "x$LINE" != x ; then
11930 eval "DEFAULT_$LINE"
11931 cache=yes
11932 else
11933 cache=no
11934 fi
11935
11936 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11937
11938 fi;
11939
11940 eval "$wx_cv_use_listctrl"
11941 if test "x$cache" = xyes; then
11942 echo "wxUSE_LISTCTRL=$wxUSE_LISTCTRL" >> ${wx_arg_cache_file}.tmp
11943 fi
11944
11945 if test x"$enablestring" = xdisable; then
11946 if test $wxUSE_LISTCTRL = yes; then
11947 result=no
11948 else
11949 result=yes
11950 fi
11951 else
11952 result=$wxUSE_LISTCTRL
11953 fi
11954
11955 echo "$as_me:$LINENO: result: $result" >&5
11956 echo "${ECHO_T}$result" >&6
11957
11958
11959 enablestring=
11960 defaultval=$wxUSE_ALL_FEATURES
11961 if test -z "$defaultval"; then
11962 if test x"$enablestring" = xdisable; then
11963 defaultval=yes
11964 else
11965 defaultval=no
11966 fi
11967 fi
11968
11969 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11970 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
11971 # Check whether --enable-notebook or --disable-notebook was given.
11972 if test "${enable_notebook+set}" = set; then
11973 enableval="$enable_notebook"
11974
11975 if test "$enableval" = yes; then
11976 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11977 else
11978 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11979 fi
11980 cache=yes
11981
11982 else
11983
11984 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
11985 if test "x$LINE" != x ; then
11986 eval "DEFAULT_$LINE"
11987 cache=yes
11988 else
11989 cache=no
11990 fi
11991
11992 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11993
11994 fi;
11995
11996 eval "$wx_cv_use_notebook"
11997 if test "x$cache" = xyes; then
11998 echo "wxUSE_NOTEBOOK=$wxUSE_NOTEBOOK" >> ${wx_arg_cache_file}.tmp
11999 fi
12000
12001 if test x"$enablestring" = xdisable; then
12002 if test $wxUSE_NOTEBOOK = yes; then
12003 result=no
12004 else
12005 result=yes
12006 fi
12007 else
12008 result=$wxUSE_NOTEBOOK
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}-odcombobox" >&5
12026 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
12027 # Check whether --enable-odcombobox or --disable-odcombobox was given.
12028 if test "${enable_odcombobox+set}" = set; then
12029 enableval="$enable_odcombobox"
12030
12031 if test "$enableval" = yes; then
12032 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12033 else
12034 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12035 fi
12036 cache=yes
12037
12038 else
12039
12040 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12041 if test "x$LINE" != x ; then
12042 eval "DEFAULT_$LINE"
12043 cache=yes
12044 else
12045 cache=no
12046 fi
12047
12048 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12049
12050 fi;
12051
12052 eval "$wx_cv_use_odcombobox"
12053 if test "x$cache" = xyes; then
12054 echo "wxUSE_ODCOMBOBOX=$wxUSE_ODCOMBOBOX" >> ${wx_arg_cache_file}.tmp
12055 fi
12056
12057 if test x"$enablestring" = xdisable; then
12058 if test $wxUSE_ODCOMBOBOX = yes; then
12059 result=no
12060 else
12061 result=yes
12062 fi
12063 else
12064 result=$wxUSE_ODCOMBOBOX
12065 fi
12066
12067 echo "$as_me:$LINENO: result: $result" >&5
12068 echo "${ECHO_T}$result" >&6
12069
12070
12071 enablestring=
12072 defaultval=$wxUSE_ALL_FEATURES
12073 if test -z "$defaultval"; then
12074 if test x"$enablestring" = xdisable; then
12075 defaultval=yes
12076 else
12077 defaultval=no
12078 fi
12079 fi
12080
12081 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12082 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
12083 # Check whether --enable-radiobox or --disable-radiobox was given.
12084 if test "${enable_radiobox+set}" = set; then
12085 enableval="$enable_radiobox"
12086
12087 if test "$enableval" = yes; then
12088 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12089 else
12090 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12091 fi
12092 cache=yes
12093
12094 else
12095
12096 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12097 if test "x$LINE" != x ; then
12098 eval "DEFAULT_$LINE"
12099 cache=yes
12100 else
12101 cache=no
12102 fi
12103
12104 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12105
12106 fi;
12107
12108 eval "$wx_cv_use_radiobox"
12109 if test "x$cache" = xyes; then
12110 echo "wxUSE_RADIOBOX=$wxUSE_RADIOBOX" >> ${wx_arg_cache_file}.tmp
12111 fi
12112
12113 if test x"$enablestring" = xdisable; then
12114 if test $wxUSE_RADIOBOX = yes; then
12115 result=no
12116 else
12117 result=yes
12118 fi
12119 else
12120 result=$wxUSE_RADIOBOX
12121 fi
12122
12123 echo "$as_me:$LINENO: result: $result" >&5
12124 echo "${ECHO_T}$result" >&6
12125
12126
12127 enablestring=
12128 defaultval=$wxUSE_ALL_FEATURES
12129 if test -z "$defaultval"; then
12130 if test x"$enablestring" = xdisable; then
12131 defaultval=yes
12132 else
12133 defaultval=no
12134 fi
12135 fi
12136
12137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
12138 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
12139 # Check whether --enable-radiobtn or --disable-radiobtn was given.
12140 if test "${enable_radiobtn+set}" = set; then
12141 enableval="$enable_radiobtn"
12142
12143 if test "$enableval" = yes; then
12144 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12145 else
12146 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12147 fi
12148 cache=yes
12149
12150 else
12151
12152 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12153 if test "x$LINE" != x ; then
12154 eval "DEFAULT_$LINE"
12155 cache=yes
12156 else
12157 cache=no
12158 fi
12159
12160 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12161
12162 fi;
12163
12164 eval "$wx_cv_use_radiobtn"
12165 if test "x$cache" = xyes; then
12166 echo "wxUSE_RADIOBTN=$wxUSE_RADIOBTN" >> ${wx_arg_cache_file}.tmp
12167 fi
12168
12169 if test x"$enablestring" = xdisable; then
12170 if test $wxUSE_RADIOBTN = yes; then
12171 result=no
12172 else
12173 result=yes
12174 fi
12175 else
12176 result=$wxUSE_RADIOBTN
12177 fi
12178
12179 echo "$as_me:$LINENO: result: $result" >&5
12180 echo "${ECHO_T}$result" >&6
12181
12182
12183 enablestring=
12184 defaultval=$wxUSE_ALL_FEATURES
12185 if test -z "$defaultval"; then
12186 if test x"$enablestring" = xdisable; then
12187 defaultval=yes
12188 else
12189 defaultval=no
12190 fi
12191 fi
12192
12193 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12194 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
12195 # Check whether --enable-sash or --disable-sash was given.
12196 if test "${enable_sash+set}" = set; then
12197 enableval="$enable_sash"
12198
12199 if test "$enableval" = yes; then
12200 wx_cv_use_sash='wxUSE_SASH=yes'
12201 else
12202 wx_cv_use_sash='wxUSE_SASH=no'
12203 fi
12204 cache=yes
12205
12206 else
12207
12208 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12209 if test "x$LINE" != x ; then
12210 eval "DEFAULT_$LINE"
12211 cache=yes
12212 else
12213 cache=no
12214 fi
12215
12216 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12217
12218 fi;
12219
12220 eval "$wx_cv_use_sash"
12221 if test "x$cache" = xyes; then
12222 echo "wxUSE_SASH=$wxUSE_SASH" >> ${wx_arg_cache_file}.tmp
12223 fi
12224
12225 if test x"$enablestring" = xdisable; then
12226 if test $wxUSE_SASH = yes; then
12227 result=no
12228 else
12229 result=yes
12230 fi
12231 else
12232 result=$wxUSE_SASH
12233 fi
12234
12235 echo "$as_me:$LINENO: result: $result" >&5
12236 echo "${ECHO_T}$result" >&6
12237
12238
12239 enablestring=
12240 defaultval=$wxUSE_ALL_FEATURES
12241 if test -z "$defaultval"; then
12242 if test x"$enablestring" = xdisable; then
12243 defaultval=yes
12244 else
12245 defaultval=no
12246 fi
12247 fi
12248
12249 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12250 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
12251 # Check whether --enable-scrollbar or --disable-scrollbar was given.
12252 if test "${enable_scrollbar+set}" = set; then
12253 enableval="$enable_scrollbar"
12254
12255 if test "$enableval" = yes; then
12256 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12257 else
12258 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12259 fi
12260 cache=yes
12261
12262 else
12263
12264 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12265 if test "x$LINE" != x ; then
12266 eval "DEFAULT_$LINE"
12267 cache=yes
12268 else
12269 cache=no
12270 fi
12271
12272 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12273
12274 fi;
12275
12276 eval "$wx_cv_use_scrollbar"
12277 if test "x$cache" = xyes; then
12278 echo "wxUSE_SCROLLBAR=$wxUSE_SCROLLBAR" >> ${wx_arg_cache_file}.tmp
12279 fi
12280
12281 if test x"$enablestring" = xdisable; then
12282 if test $wxUSE_SCROLLBAR = yes; then
12283 result=no
12284 else
12285 result=yes
12286 fi
12287 else
12288 result=$wxUSE_SCROLLBAR
12289 fi
12290
12291 echo "$as_me:$LINENO: result: $result" >&5
12292 echo "${ECHO_T}$result" >&6
12293
12294
12295 enablestring=
12296 defaultval=$wxUSE_ALL_FEATURES
12297 if test -z "$defaultval"; then
12298 if test x"$enablestring" = xdisable; then
12299 defaultval=yes
12300 else
12301 defaultval=no
12302 fi
12303 fi
12304
12305 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12306 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6
12307 # Check whether --enable-searchctrl or --disable-searchctrl was given.
12308 if test "${enable_searchctrl+set}" = set; then
12309 enableval="$enable_searchctrl"
12310
12311 if test "$enableval" = yes; then
12312 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12313 else
12314 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12315 fi
12316 cache=yes
12317
12318 else
12319
12320 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12321 if test "x$LINE" != x ; then
12322 eval "DEFAULT_$LINE"
12323 cache=yes
12324 else
12325 cache=no
12326 fi
12327
12328 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12329
12330 fi;
12331
12332 eval "$wx_cv_use_searchctrl"
12333 if test "x$cache" = xyes; then
12334 echo "wxUSE_SEARCHCTRL=$wxUSE_SEARCHCTRL" >> ${wx_arg_cache_file}.tmp
12335 fi
12336
12337 if test x"$enablestring" = xdisable; then
12338 if test $wxUSE_SEARCHCTRL = yes; then
12339 result=no
12340 else
12341 result=yes
12342 fi
12343 else
12344 result=$wxUSE_SEARCHCTRL
12345 fi
12346
12347 echo "$as_me:$LINENO: result: $result" >&5
12348 echo "${ECHO_T}$result" >&6
12349
12350
12351 enablestring=
12352 defaultval=$wxUSE_ALL_FEATURES
12353 if test -z "$defaultval"; then
12354 if test x"$enablestring" = xdisable; then
12355 defaultval=yes
12356 else
12357 defaultval=no
12358 fi
12359 fi
12360
12361 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12362 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
12363 # Check whether --enable-slider or --disable-slider was given.
12364 if test "${enable_slider+set}" = set; then
12365 enableval="$enable_slider"
12366
12367 if test "$enableval" = yes; then
12368 wx_cv_use_slider='wxUSE_SLIDER=yes'
12369 else
12370 wx_cv_use_slider='wxUSE_SLIDER=no'
12371 fi
12372 cache=yes
12373
12374 else
12375
12376 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12377 if test "x$LINE" != x ; then
12378 eval "DEFAULT_$LINE"
12379 cache=yes
12380 else
12381 cache=no
12382 fi
12383
12384 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12385
12386 fi;
12387
12388 eval "$wx_cv_use_slider"
12389 if test "x$cache" = xyes; then
12390 echo "wxUSE_SLIDER=$wxUSE_SLIDER" >> ${wx_arg_cache_file}.tmp
12391 fi
12392
12393 if test x"$enablestring" = xdisable; then
12394 if test $wxUSE_SLIDER = yes; then
12395 result=no
12396 else
12397 result=yes
12398 fi
12399 else
12400 result=$wxUSE_SLIDER
12401 fi
12402
12403 echo "$as_me:$LINENO: result: $result" >&5
12404 echo "${ECHO_T}$result" >&6
12405
12406
12407 enablestring=
12408 defaultval=$wxUSE_ALL_FEATURES
12409 if test -z "$defaultval"; then
12410 if test x"$enablestring" = xdisable; then
12411 defaultval=yes
12412 else
12413 defaultval=no
12414 fi
12415 fi
12416
12417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12418 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
12419 # Check whether --enable-spinbtn or --disable-spinbtn was given.
12420 if test "${enable_spinbtn+set}" = set; then
12421 enableval="$enable_spinbtn"
12422
12423 if test "$enableval" = yes; then
12424 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12425 else
12426 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12427 fi
12428 cache=yes
12429
12430 else
12431
12432 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12433 if test "x$LINE" != x ; then
12434 eval "DEFAULT_$LINE"
12435 cache=yes
12436 else
12437 cache=no
12438 fi
12439
12440 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12441
12442 fi;
12443
12444 eval "$wx_cv_use_spinbtn"
12445 if test "x$cache" = xyes; then
12446 echo "wxUSE_SPINBTN=$wxUSE_SPINBTN" >> ${wx_arg_cache_file}.tmp
12447 fi
12448
12449 if test x"$enablestring" = xdisable; then
12450 if test $wxUSE_SPINBTN = yes; then
12451 result=no
12452 else
12453 result=yes
12454 fi
12455 else
12456 result=$wxUSE_SPINBTN
12457 fi
12458
12459 echo "$as_me:$LINENO: result: $result" >&5
12460 echo "${ECHO_T}$result" >&6
12461
12462
12463 enablestring=
12464 defaultval=$wxUSE_ALL_FEATURES
12465 if test -z "$defaultval"; then
12466 if test x"$enablestring" = xdisable; then
12467 defaultval=yes
12468 else
12469 defaultval=no
12470 fi
12471 fi
12472
12473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12474 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
12475 # Check whether --enable-spinctrl or --disable-spinctrl was given.
12476 if test "${enable_spinctrl+set}" = set; then
12477 enableval="$enable_spinctrl"
12478
12479 if test "$enableval" = yes; then
12480 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12481 else
12482 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12483 fi
12484 cache=yes
12485
12486 else
12487
12488 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12489 if test "x$LINE" != x ; then
12490 eval "DEFAULT_$LINE"
12491 cache=yes
12492 else
12493 cache=no
12494 fi
12495
12496 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12497
12498 fi;
12499
12500 eval "$wx_cv_use_spinctrl"
12501 if test "x$cache" = xyes; then
12502 echo "wxUSE_SPINCTRL=$wxUSE_SPINCTRL" >> ${wx_arg_cache_file}.tmp
12503 fi
12504
12505 if test x"$enablestring" = xdisable; then
12506 if test $wxUSE_SPINCTRL = yes; then
12507 result=no
12508 else
12509 result=yes
12510 fi
12511 else
12512 result=$wxUSE_SPINCTRL
12513 fi
12514
12515 echo "$as_me:$LINENO: result: $result" >&5
12516 echo "${ECHO_T}$result" >&6
12517
12518
12519 enablestring=
12520 defaultval=$wxUSE_ALL_FEATURES
12521 if test -z "$defaultval"; then
12522 if test x"$enablestring" = xdisable; then
12523 defaultval=yes
12524 else
12525 defaultval=no
12526 fi
12527 fi
12528
12529 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12530 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
12531 # Check whether --enable-splitter or --disable-splitter was given.
12532 if test "${enable_splitter+set}" = set; then
12533 enableval="$enable_splitter"
12534
12535 if test "$enableval" = yes; then
12536 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12537 else
12538 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12539 fi
12540 cache=yes
12541
12542 else
12543
12544 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12545 if test "x$LINE" != x ; then
12546 eval "DEFAULT_$LINE"
12547 cache=yes
12548 else
12549 cache=no
12550 fi
12551
12552 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12553
12554 fi;
12555
12556 eval "$wx_cv_use_splitter"
12557 if test "x$cache" = xyes; then
12558 echo "wxUSE_SPLITTER=$wxUSE_SPLITTER" >> ${wx_arg_cache_file}.tmp
12559 fi
12560
12561 if test x"$enablestring" = xdisable; then
12562 if test $wxUSE_SPLITTER = yes; then
12563 result=no
12564 else
12565 result=yes
12566 fi
12567 else
12568 result=$wxUSE_SPLITTER
12569 fi
12570
12571 echo "$as_me:$LINENO: result: $result" >&5
12572 echo "${ECHO_T}$result" >&6
12573
12574
12575 enablestring=
12576 defaultval=$wxUSE_ALL_FEATURES
12577 if test -z "$defaultval"; then
12578 if test x"$enablestring" = xdisable; then
12579 defaultval=yes
12580 else
12581 defaultval=no
12582 fi
12583 fi
12584
12585 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12586 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
12587 # Check whether --enable-statbmp or --disable-statbmp was given.
12588 if test "${enable_statbmp+set}" = set; then
12589 enableval="$enable_statbmp"
12590
12591 if test "$enableval" = yes; then
12592 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12593 else
12594 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12595 fi
12596 cache=yes
12597
12598 else
12599
12600 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12601 if test "x$LINE" != x ; then
12602 eval "DEFAULT_$LINE"
12603 cache=yes
12604 else
12605 cache=no
12606 fi
12607
12608 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12609
12610 fi;
12611
12612 eval "$wx_cv_use_statbmp"
12613 if test "x$cache" = xyes; then
12614 echo "wxUSE_STATBMP=$wxUSE_STATBMP" >> ${wx_arg_cache_file}.tmp
12615 fi
12616
12617 if test x"$enablestring" = xdisable; then
12618 if test $wxUSE_STATBMP = yes; then
12619 result=no
12620 else
12621 result=yes
12622 fi
12623 else
12624 result=$wxUSE_STATBMP
12625 fi
12626
12627 echo "$as_me:$LINENO: result: $result" >&5
12628 echo "${ECHO_T}$result" >&6
12629
12630
12631 enablestring=
12632 defaultval=$wxUSE_ALL_FEATURES
12633 if test -z "$defaultval"; then
12634 if test x"$enablestring" = xdisable; then
12635 defaultval=yes
12636 else
12637 defaultval=no
12638 fi
12639 fi
12640
12641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12642 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
12643 # Check whether --enable-statbox or --disable-statbox was given.
12644 if test "${enable_statbox+set}" = set; then
12645 enableval="$enable_statbox"
12646
12647 if test "$enableval" = yes; then
12648 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12649 else
12650 wx_cv_use_statbox='wxUSE_STATBOX=no'
12651 fi
12652 cache=yes
12653
12654 else
12655
12656 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12657 if test "x$LINE" != x ; then
12658 eval "DEFAULT_$LINE"
12659 cache=yes
12660 else
12661 cache=no
12662 fi
12663
12664 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12665
12666 fi;
12667
12668 eval "$wx_cv_use_statbox"
12669 if test "x$cache" = xyes; then
12670 echo "wxUSE_STATBOX=$wxUSE_STATBOX" >> ${wx_arg_cache_file}.tmp
12671 fi
12672
12673 if test x"$enablestring" = xdisable; then
12674 if test $wxUSE_STATBOX = yes; then
12675 result=no
12676 else
12677 result=yes
12678 fi
12679 else
12680 result=$wxUSE_STATBOX
12681 fi
12682
12683 echo "$as_me:$LINENO: result: $result" >&5
12684 echo "${ECHO_T}$result" >&6
12685
12686
12687 enablestring=
12688 defaultval=$wxUSE_ALL_FEATURES
12689 if test -z "$defaultval"; then
12690 if test x"$enablestring" = xdisable; then
12691 defaultval=yes
12692 else
12693 defaultval=no
12694 fi
12695 fi
12696
12697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12698 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
12699 # Check whether --enable-statline or --disable-statline was given.
12700 if test "${enable_statline+set}" = set; then
12701 enableval="$enable_statline"
12702
12703 if test "$enableval" = yes; then
12704 wx_cv_use_statline='wxUSE_STATLINE=yes'
12705 else
12706 wx_cv_use_statline='wxUSE_STATLINE=no'
12707 fi
12708 cache=yes
12709
12710 else
12711
12712 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12713 if test "x$LINE" != x ; then
12714 eval "DEFAULT_$LINE"
12715 cache=yes
12716 else
12717 cache=no
12718 fi
12719
12720 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12721
12722 fi;
12723
12724 eval "$wx_cv_use_statline"
12725 if test "x$cache" = xyes; then
12726 echo "wxUSE_STATLINE=$wxUSE_STATLINE" >> ${wx_arg_cache_file}.tmp
12727 fi
12728
12729 if test x"$enablestring" = xdisable; then
12730 if test $wxUSE_STATLINE = yes; then
12731 result=no
12732 else
12733 result=yes
12734 fi
12735 else
12736 result=$wxUSE_STATLINE
12737 fi
12738
12739 echo "$as_me:$LINENO: result: $result" >&5
12740 echo "${ECHO_T}$result" >&6
12741
12742
12743 enablestring=
12744 defaultval=$wxUSE_ALL_FEATURES
12745 if test -z "$defaultval"; then
12746 if test x"$enablestring" = xdisable; then
12747 defaultval=yes
12748 else
12749 defaultval=no
12750 fi
12751 fi
12752
12753 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12754 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
12755 # Check whether --enable-stattext or --disable-stattext was given.
12756 if test "${enable_stattext+set}" = set; then
12757 enableval="$enable_stattext"
12758
12759 if test "$enableval" = yes; then
12760 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12761 else
12762 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12763 fi
12764 cache=yes
12765
12766 else
12767
12768 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
12769 if test "x$LINE" != x ; then
12770 eval "DEFAULT_$LINE"
12771 cache=yes
12772 else
12773 cache=no
12774 fi
12775
12776 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12777
12778 fi;
12779
12780 eval "$wx_cv_use_stattext"
12781 if test "x$cache" = xyes; then
12782 echo "wxUSE_STATTEXT=$wxUSE_STATTEXT" >> ${wx_arg_cache_file}.tmp
12783 fi
12784
12785 if test x"$enablestring" = xdisable; then
12786 if test $wxUSE_STATTEXT = yes; then
12787 result=no
12788 else
12789 result=yes
12790 fi
12791 else
12792 result=$wxUSE_STATTEXT
12793 fi
12794
12795 echo "$as_me:$LINENO: result: $result" >&5
12796 echo "${ECHO_T}$result" >&6
12797
12798
12799 enablestring=
12800 defaultval=$wxUSE_ALL_FEATURES
12801 if test -z "$defaultval"; then
12802 if test x"$enablestring" = xdisable; then
12803 defaultval=yes
12804 else
12805 defaultval=no
12806 fi
12807 fi
12808
12809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12810 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
12811 # Check whether --enable-statusbar or --disable-statusbar was given.
12812 if test "${enable_statusbar+set}" = set; then
12813 enableval="$enable_statusbar"
12814
12815 if test "$enableval" = yes; then
12816 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12817 else
12818 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12819 fi
12820 cache=yes
12821
12822 else
12823
12824 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
12825 if test "x$LINE" != x ; then
12826 eval "DEFAULT_$LINE"
12827 cache=yes
12828 else
12829 cache=no
12830 fi
12831
12832 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12833
12834 fi;
12835
12836 eval "$wx_cv_use_statusbar"
12837 if test "x$cache" = xyes; then
12838 echo "wxUSE_STATUSBAR=$wxUSE_STATUSBAR" >> ${wx_arg_cache_file}.tmp
12839 fi
12840
12841 if test x"$enablestring" = xdisable; then
12842 if test $wxUSE_STATUSBAR = yes; then
12843 result=no
12844 else
12845 result=yes
12846 fi
12847 else
12848 result=$wxUSE_STATUSBAR
12849 fi
12850
12851 echo "$as_me:$LINENO: result: $result" >&5
12852 echo "${ECHO_T}$result" >&6
12853
12854
12855 enablestring=
12856 defaultval=$wxUSE_ALL_FEATURES
12857 if test -z "$defaultval"; then
12858 if test x"$enablestring" = xdisable; then
12859 defaultval=yes
12860 else
12861 defaultval=no
12862 fi
12863 fi
12864
12865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
12866 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
12867 # Check whether --enable-tabdialog or --disable-tabdialog was given.
12868 if test "${enable_tabdialog+set}" = set; then
12869 enableval="$enable_tabdialog"
12870
12871 if test "$enableval" = yes; then
12872 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
12873 else
12874 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
12875 fi
12876 cache=yes
12877
12878 else
12879
12880 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
12881 if test "x$LINE" != x ; then
12882 eval "DEFAULT_$LINE"
12883 cache=yes
12884 else
12885 cache=no
12886 fi
12887
12888 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
12889
12890 fi;
12891
12892 eval "$wx_cv_use_tabdialog"
12893 if test "x$cache" = xyes; then
12894 echo "wxUSE_TAB_DIALOG=$wxUSE_TAB_DIALOG" >> ${wx_arg_cache_file}.tmp
12895 fi
12896
12897 if test x"$enablestring" = xdisable; then
12898 if test $wxUSE_TAB_DIALOG = yes; then
12899 result=no
12900 else
12901 result=yes
12902 fi
12903 else
12904 result=$wxUSE_TAB_DIALOG
12905 fi
12906
12907 echo "$as_me:$LINENO: result: $result" >&5
12908 echo "${ECHO_T}$result" >&6
12909
12910
12911 enablestring=
12912 defaultval=$wxUSE_ALL_FEATURES
12913 if test -z "$defaultval"; then
12914 if test x"$enablestring" = xdisable; then
12915 defaultval=yes
12916 else
12917 defaultval=no
12918 fi
12919 fi
12920
12921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12922 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6
12923 # Check whether --enable-taskbaricon or --disable-taskbaricon was given.
12924 if test "${enable_taskbaricon+set}" = set; then
12925 enableval="$enable_taskbaricon"
12926
12927 if test "$enableval" = yes; then
12928 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12929 else
12930 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12931 fi
12932 cache=yes
12933
12934 else
12935
12936 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
12937 if test "x$LINE" != x ; then
12938 eval "DEFAULT_$LINE"
12939 cache=yes
12940 else
12941 cache=no
12942 fi
12943
12944 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12945
12946 fi;
12947
12948 eval "$wx_cv_use_taskbaricon"
12949 if test "x$cache" = xyes; then
12950 echo "wxUSE_TASKBARICON=$wxUSE_TASKBARICON" >> ${wx_arg_cache_file}.tmp
12951 fi
12952
12953 if test x"$enablestring" = xdisable; then
12954 if test $wxUSE_TASKBARICON = yes; then
12955 result=no
12956 else
12957 result=yes
12958 fi
12959 else
12960 result=$wxUSE_TASKBARICON
12961 fi
12962
12963 echo "$as_me:$LINENO: result: $result" >&5
12964 echo "${ECHO_T}$result" >&6
12965
12966
12967 enablestring=
12968 defaultval=$wxUSE_ALL_FEATURES
12969 if test -z "$defaultval"; then
12970 if test x"$enablestring" = xdisable; then
12971 defaultval=yes
12972 else
12973 defaultval=no
12974 fi
12975 fi
12976
12977 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12978 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
12979 # Check whether --enable-textctrl or --disable-textctrl was given.
12980 if test "${enable_textctrl+set}" = set; then
12981 enableval="$enable_textctrl"
12982
12983 if test "$enableval" = yes; then
12984 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12985 else
12986 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12987 fi
12988 cache=yes
12989
12990 else
12991
12992 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
12993 if test "x$LINE" != x ; then
12994 eval "DEFAULT_$LINE"
12995 cache=yes
12996 else
12997 cache=no
12998 fi
12999
13000 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13001
13002 fi;
13003
13004 eval "$wx_cv_use_textctrl"
13005 if test "x$cache" = xyes; then
13006 echo "wxUSE_TEXTCTRL=$wxUSE_TEXTCTRL" >> ${wx_arg_cache_file}.tmp
13007 fi
13008
13009 if test x"$enablestring" = xdisable; then
13010 if test $wxUSE_TEXTCTRL = yes; then
13011 result=no
13012 else
13013 result=yes
13014 fi
13015 else
13016 result=$wxUSE_TEXTCTRL
13017 fi
13018
13019 echo "$as_me:$LINENO: result: $result" >&5
13020 echo "${ECHO_T}$result" >&6
13021
13022
13023 enablestring=
13024 defaultval=$wxUSE_ALL_FEATURES
13025 if test -z "$defaultval"; then
13026 if test x"$enablestring" = xdisable; then
13027 defaultval=yes
13028 else
13029 defaultval=no
13030 fi
13031 fi
13032
13033 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13034 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
13035 # Check whether --enable-togglebtn or --disable-togglebtn was given.
13036 if test "${enable_togglebtn+set}" = set; then
13037 enableval="$enable_togglebtn"
13038
13039 if test "$enableval" = yes; then
13040 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13041 else
13042 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13043 fi
13044 cache=yes
13045
13046 else
13047
13048 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13049 if test "x$LINE" != x ; then
13050 eval "DEFAULT_$LINE"
13051 cache=yes
13052 else
13053 cache=no
13054 fi
13055
13056 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13057
13058 fi;
13059
13060 eval "$wx_cv_use_togglebtn"
13061 if test "x$cache" = xyes; then
13062 echo "wxUSE_TOGGLEBTN=$wxUSE_TOGGLEBTN" >> ${wx_arg_cache_file}.tmp
13063 fi
13064
13065 if test x"$enablestring" = xdisable; then
13066 if test $wxUSE_TOGGLEBTN = yes; then
13067 result=no
13068 else
13069 result=yes
13070 fi
13071 else
13072 result=$wxUSE_TOGGLEBTN
13073 fi
13074
13075 echo "$as_me:$LINENO: result: $result" >&5
13076 echo "${ECHO_T}$result" >&6
13077
13078
13079 enablestring=
13080 defaultval=$wxUSE_ALL_FEATURES
13081 if test -z "$defaultval"; then
13082 if test x"$enablestring" = xdisable; then
13083 defaultval=yes
13084 else
13085 defaultval=no
13086 fi
13087 fi
13088
13089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13090 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
13091 # Check whether --enable-toolbar or --disable-toolbar was given.
13092 if test "${enable_toolbar+set}" = set; then
13093 enableval="$enable_toolbar"
13094
13095 if test "$enableval" = yes; then
13096 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13097 else
13098 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13099 fi
13100 cache=yes
13101
13102 else
13103
13104 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13105 if test "x$LINE" != x ; then
13106 eval "DEFAULT_$LINE"
13107 cache=yes
13108 else
13109 cache=no
13110 fi
13111
13112 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13113
13114 fi;
13115
13116 eval "$wx_cv_use_toolbar"
13117 if test "x$cache" = xyes; then
13118 echo "wxUSE_TOOLBAR=$wxUSE_TOOLBAR" >> ${wx_arg_cache_file}.tmp
13119 fi
13120
13121 if test x"$enablestring" = xdisable; then
13122 if test $wxUSE_TOOLBAR = yes; then
13123 result=no
13124 else
13125 result=yes
13126 fi
13127 else
13128 result=$wxUSE_TOOLBAR
13129 fi
13130
13131 echo "$as_me:$LINENO: result: $result" >&5
13132 echo "${ECHO_T}$result" >&6
13133
13134
13135 enablestring=
13136 defaultval=$wxUSE_ALL_FEATURES
13137 if test -z "$defaultval"; then
13138 if test x"$enablestring" = xdisable; then
13139 defaultval=yes
13140 else
13141 defaultval=no
13142 fi
13143 fi
13144
13145 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13146 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
13147 # Check whether --enable-tbarnative or --disable-tbarnative was given.
13148 if test "${enable_tbarnative+set}" = set; then
13149 enableval="$enable_tbarnative"
13150
13151 if test "$enableval" = yes; then
13152 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13153 else
13154 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13155 fi
13156 cache=yes
13157
13158 else
13159
13160 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13161 if test "x$LINE" != x ; then
13162 eval "DEFAULT_$LINE"
13163 cache=yes
13164 else
13165 cache=no
13166 fi
13167
13168 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13169
13170 fi;
13171
13172 eval "$wx_cv_use_tbarnative"
13173 if test "x$cache" = xyes; then
13174 echo "wxUSE_TOOLBAR_NATIVE=$wxUSE_TOOLBAR_NATIVE" >> ${wx_arg_cache_file}.tmp
13175 fi
13176
13177 if test x"$enablestring" = xdisable; then
13178 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13179 result=no
13180 else
13181 result=yes
13182 fi
13183 else
13184 result=$wxUSE_TOOLBAR_NATIVE
13185 fi
13186
13187 echo "$as_me:$LINENO: result: $result" >&5
13188 echo "${ECHO_T}$result" >&6
13189
13190
13191 enablestring=
13192 defaultval=$wxUSE_ALL_FEATURES
13193 if test -z "$defaultval"; then
13194 if test x"$enablestring" = xdisable; then
13195 defaultval=yes
13196 else
13197 defaultval=no
13198 fi
13199 fi
13200
13201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13202 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
13203 # Check whether --enable-treebook or --disable-treebook was given.
13204 if test "${enable_treebook+set}" = set; then
13205 enableval="$enable_treebook"
13206
13207 if test "$enableval" = yes; then
13208 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13209 else
13210 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13211 fi
13212 cache=yes
13213
13214 else
13215
13216 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13217 if test "x$LINE" != x ; then
13218 eval "DEFAULT_$LINE"
13219 cache=yes
13220 else
13221 cache=no
13222 fi
13223
13224 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13225
13226 fi;
13227
13228 eval "$wx_cv_use_treebook"
13229 if test "x$cache" = xyes; then
13230 echo "wxUSE_TREEBOOK=$wxUSE_TREEBOOK" >> ${wx_arg_cache_file}.tmp
13231 fi
13232
13233 if test x"$enablestring" = xdisable; then
13234 if test $wxUSE_TREEBOOK = yes; then
13235 result=no
13236 else
13237 result=yes
13238 fi
13239 else
13240 result=$wxUSE_TREEBOOK
13241 fi
13242
13243 echo "$as_me:$LINENO: result: $result" >&5
13244 echo "${ECHO_T}$result" >&6
13245
13246
13247 enablestring=
13248 defaultval=$wxUSE_ALL_FEATURES
13249 if test -z "$defaultval"; then
13250 if test x"$enablestring" = xdisable; then
13251 defaultval=yes
13252 else
13253 defaultval=no
13254 fi
13255 fi
13256
13257 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13258 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
13259 # Check whether --enable-toolbook or --disable-toolbook was given.
13260 if test "${enable_toolbook+set}" = set; then
13261 enableval="$enable_toolbook"
13262
13263 if test "$enableval" = yes; then
13264 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13265 else
13266 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13267 fi
13268 cache=yes
13269
13270 else
13271
13272 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13273 if test "x$LINE" != x ; then
13274 eval "DEFAULT_$LINE"
13275 cache=yes
13276 else
13277 cache=no
13278 fi
13279
13280 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13281
13282 fi;
13283
13284 eval "$wx_cv_use_toolbook"
13285 if test "x$cache" = xyes; then
13286 echo "wxUSE_TOOLBOOK=$wxUSE_TOOLBOOK" >> ${wx_arg_cache_file}.tmp
13287 fi
13288
13289 if test x"$enablestring" = xdisable; then
13290 if test $wxUSE_TOOLBOOK = yes; then
13291 result=no
13292 else
13293 result=yes
13294 fi
13295 else
13296 result=$wxUSE_TOOLBOOK
13297 fi
13298
13299 echo "$as_me:$LINENO: result: $result" >&5
13300 echo "${ECHO_T}$result" >&6
13301
13302
13303 enablestring=
13304 defaultval=$wxUSE_ALL_FEATURES
13305 if test -z "$defaultval"; then
13306 if test x"$enablestring" = xdisable; then
13307 defaultval=yes
13308 else
13309 defaultval=no
13310 fi
13311 fi
13312
13313 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13314 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
13315 # Check whether --enable-treectrl or --disable-treectrl was given.
13316 if test "${enable_treectrl+set}" = set; then
13317 enableval="$enable_treectrl"
13318
13319 if test "$enableval" = yes; then
13320 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13321 else
13322 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13323 fi
13324 cache=yes
13325
13326 else
13327
13328 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13329 if test "x$LINE" != x ; then
13330 eval "DEFAULT_$LINE"
13331 cache=yes
13332 else
13333 cache=no
13334 fi
13335
13336 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13337
13338 fi;
13339
13340 eval "$wx_cv_use_treectrl"
13341 if test "x$cache" = xyes; then
13342 echo "wxUSE_TREECTRL=$wxUSE_TREECTRL" >> ${wx_arg_cache_file}.tmp
13343 fi
13344
13345 if test x"$enablestring" = xdisable; then
13346 if test $wxUSE_TREECTRL = yes; then
13347 result=no
13348 else
13349 result=yes
13350 fi
13351 else
13352 result=$wxUSE_TREECTRL
13353 fi
13354
13355 echo "$as_me:$LINENO: result: $result" >&5
13356 echo "${ECHO_T}$result" >&6
13357
13358
13359 enablestring=
13360 defaultval=$wxUSE_ALL_FEATURES
13361 if test -z "$defaultval"; then
13362 if test x"$enablestring" = xdisable; then
13363 defaultval=yes
13364 else
13365 defaultval=no
13366 fi
13367 fi
13368
13369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13370 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
13371 # Check whether --enable-tipwindow or --disable-tipwindow was given.
13372 if test "${enable_tipwindow+set}" = set; then
13373 enableval="$enable_tipwindow"
13374
13375 if test "$enableval" = yes; then
13376 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13377 else
13378 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13379 fi
13380 cache=yes
13381
13382 else
13383
13384 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13385 if test "x$LINE" != x ; then
13386 eval "DEFAULT_$LINE"
13387 cache=yes
13388 else
13389 cache=no
13390 fi
13391
13392 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13393
13394 fi;
13395
13396 eval "$wx_cv_use_tipwindow"
13397 if test "x$cache" = xyes; then
13398 echo "wxUSE_TIPWINDOW=$wxUSE_TIPWINDOW" >> ${wx_arg_cache_file}.tmp
13399 fi
13400
13401 if test x"$enablestring" = xdisable; then
13402 if test $wxUSE_TIPWINDOW = yes; then
13403 result=no
13404 else
13405 result=yes
13406 fi
13407 else
13408 result=$wxUSE_TIPWINDOW
13409 fi
13410
13411 echo "$as_me:$LINENO: result: $result" >&5
13412 echo "${ECHO_T}$result" >&6
13413
13414
13415 enablestring=
13416 defaultval=$wxUSE_ALL_FEATURES
13417 if test -z "$defaultval"; then
13418 if test x"$enablestring" = xdisable; then
13419 defaultval=yes
13420 else
13421 defaultval=no
13422 fi
13423 fi
13424
13425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13426 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
13427 # Check whether --enable-popupwin or --disable-popupwin was given.
13428 if test "${enable_popupwin+set}" = set; then
13429 enableval="$enable_popupwin"
13430
13431 if test "$enableval" = yes; then
13432 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13433 else
13434 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13435 fi
13436 cache=yes
13437
13438 else
13439
13440 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13441 if test "x$LINE" != x ; then
13442 eval "DEFAULT_$LINE"
13443 cache=yes
13444 else
13445 cache=no
13446 fi
13447
13448 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13449
13450 fi;
13451
13452 eval "$wx_cv_use_popupwin"
13453 if test "x$cache" = xyes; then
13454 echo "wxUSE_POPUPWIN=$wxUSE_POPUPWIN" >> ${wx_arg_cache_file}.tmp
13455 fi
13456
13457 if test x"$enablestring" = xdisable; then
13458 if test $wxUSE_POPUPWIN = yes; then
13459 result=no
13460 else
13461 result=yes
13462 fi
13463 else
13464 result=$wxUSE_POPUPWIN
13465 fi
13466
13467 echo "$as_me:$LINENO: result: $result" >&5
13468 echo "${ECHO_T}$result" >&6
13469
13470
13471
13472
13473 enablestring=
13474 defaultval=$wxUSE_ALL_FEATURES
13475 if test -z "$defaultval"; then
13476 if test x"$enablestring" = xdisable; then
13477 defaultval=yes
13478 else
13479 defaultval=no
13480 fi
13481 fi
13482
13483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13484 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
13485 # Check whether --enable-commondlg or --disable-commondlg was given.
13486 if test "${enable_commondlg+set}" = set; then
13487 enableval="$enable_commondlg"
13488
13489 if test "$enableval" = yes; then
13490 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13491 else
13492 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13493 fi
13494 cache=yes
13495
13496 else
13497
13498 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13499 if test "x$LINE" != x ; then
13500 eval "DEFAULT_$LINE"
13501 cache=yes
13502 else
13503 cache=no
13504 fi
13505
13506 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13507
13508 fi;
13509
13510 eval "$wx_cv_use_commondlg"
13511 if test "x$cache" = xyes; then
13512 echo "wxUSE_COMMONDLGS=$wxUSE_COMMONDLGS" >> ${wx_arg_cache_file}.tmp
13513 fi
13514
13515 if test x"$enablestring" = xdisable; then
13516 if test $wxUSE_COMMONDLGS = yes; then
13517 result=no
13518 else
13519 result=yes
13520 fi
13521 else
13522 result=$wxUSE_COMMONDLGS
13523 fi
13524
13525 echo "$as_me:$LINENO: result: $result" >&5
13526 echo "${ECHO_T}$result" >&6
13527
13528
13529 enablestring=
13530 defaultval=$wxUSE_ALL_FEATURES
13531 if test -z "$defaultval"; then
13532 if test x"$enablestring" = xdisable; then
13533 defaultval=yes
13534 else
13535 defaultval=no
13536 fi
13537 fi
13538
13539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13540 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
13541 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
13542 if test "${enable_aboutdlg+set}" = set; then
13543 enableval="$enable_aboutdlg"
13544
13545 if test "$enableval" = yes; then
13546 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13547 else
13548 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13549 fi
13550 cache=yes
13551
13552 else
13553
13554 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13555 if test "x$LINE" != x ; then
13556 eval "DEFAULT_$LINE"
13557 cache=yes
13558 else
13559 cache=no
13560 fi
13561
13562 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13563
13564 fi;
13565
13566 eval "$wx_cv_use_aboutdlg"
13567 if test "x$cache" = xyes; then
13568 echo "wxUSE_ABOUTDLG=$wxUSE_ABOUTDLG" >> ${wx_arg_cache_file}.tmp
13569 fi
13570
13571 if test x"$enablestring" = xdisable; then
13572 if test $wxUSE_ABOUTDLG = yes; then
13573 result=no
13574 else
13575 result=yes
13576 fi
13577 else
13578 result=$wxUSE_ABOUTDLG
13579 fi
13580
13581 echo "$as_me:$LINENO: result: $result" >&5
13582 echo "${ECHO_T}$result" >&6
13583
13584
13585 enablestring=
13586 defaultval=$wxUSE_ALL_FEATURES
13587 if test -z "$defaultval"; then
13588 if test x"$enablestring" = xdisable; then
13589 defaultval=yes
13590 else
13591 defaultval=no
13592 fi
13593 fi
13594
13595 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13596 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
13597 # Check whether --enable-choicedlg or --disable-choicedlg was given.
13598 if test "${enable_choicedlg+set}" = set; then
13599 enableval="$enable_choicedlg"
13600
13601 if test "$enableval" = yes; then
13602 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13603 else
13604 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13605 fi
13606 cache=yes
13607
13608 else
13609
13610 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13611 if test "x$LINE" != x ; then
13612 eval "DEFAULT_$LINE"
13613 cache=yes
13614 else
13615 cache=no
13616 fi
13617
13618 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13619
13620 fi;
13621
13622 eval "$wx_cv_use_choicedlg"
13623 if test "x$cache" = xyes; then
13624 echo "wxUSE_CHOICEDLG=$wxUSE_CHOICEDLG" >> ${wx_arg_cache_file}.tmp
13625 fi
13626
13627 if test x"$enablestring" = xdisable; then
13628 if test $wxUSE_CHOICEDLG = yes; then
13629 result=no
13630 else
13631 result=yes
13632 fi
13633 else
13634 result=$wxUSE_CHOICEDLG
13635 fi
13636
13637 echo "$as_me:$LINENO: result: $result" >&5
13638 echo "${ECHO_T}$result" >&6
13639
13640
13641 enablestring=
13642 defaultval=$wxUSE_ALL_FEATURES
13643 if test -z "$defaultval"; then
13644 if test x"$enablestring" = xdisable; then
13645 defaultval=yes
13646 else
13647 defaultval=no
13648 fi
13649 fi
13650
13651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13652 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
13653 # Check whether --enable-coldlg or --disable-coldlg was given.
13654 if test "${enable_coldlg+set}" = set; then
13655 enableval="$enable_coldlg"
13656
13657 if test "$enableval" = yes; then
13658 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13659 else
13660 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13661 fi
13662 cache=yes
13663
13664 else
13665
13666 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13667 if test "x$LINE" != x ; then
13668 eval "DEFAULT_$LINE"
13669 cache=yes
13670 else
13671 cache=no
13672 fi
13673
13674 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13675
13676 fi;
13677
13678 eval "$wx_cv_use_coldlg"
13679 if test "x$cache" = xyes; then
13680 echo "wxUSE_COLOURDLG=$wxUSE_COLOURDLG" >> ${wx_arg_cache_file}.tmp
13681 fi
13682
13683 if test x"$enablestring" = xdisable; then
13684 if test $wxUSE_COLOURDLG = yes; then
13685 result=no
13686 else
13687 result=yes
13688 fi
13689 else
13690 result=$wxUSE_COLOURDLG
13691 fi
13692
13693 echo "$as_me:$LINENO: result: $result" >&5
13694 echo "${ECHO_T}$result" >&6
13695
13696
13697 enablestring=
13698 defaultval=$wxUSE_ALL_FEATURES
13699 if test -z "$defaultval"; then
13700 if test x"$enablestring" = xdisable; then
13701 defaultval=yes
13702 else
13703 defaultval=no
13704 fi
13705 fi
13706
13707 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13708 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
13709 # Check whether --enable-filedlg or --disable-filedlg was given.
13710 if test "${enable_filedlg+set}" = set; then
13711 enableval="$enable_filedlg"
13712
13713 if test "$enableval" = yes; then
13714 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13715 else
13716 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13717 fi
13718 cache=yes
13719
13720 else
13721
13722 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13723 if test "x$LINE" != x ; then
13724 eval "DEFAULT_$LINE"
13725 cache=yes
13726 else
13727 cache=no
13728 fi
13729
13730 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13731
13732 fi;
13733
13734 eval "$wx_cv_use_filedlg"
13735 if test "x$cache" = xyes; then
13736 echo "wxUSE_FILEDLG=$wxUSE_FILEDLG" >> ${wx_arg_cache_file}.tmp
13737 fi
13738
13739 if test x"$enablestring" = xdisable; then
13740 if test $wxUSE_FILEDLG = yes; then
13741 result=no
13742 else
13743 result=yes
13744 fi
13745 else
13746 result=$wxUSE_FILEDLG
13747 fi
13748
13749 echo "$as_me:$LINENO: result: $result" >&5
13750 echo "${ECHO_T}$result" >&6
13751
13752
13753 enablestring=
13754 defaultval=$wxUSE_ALL_FEATURES
13755 if test -z "$defaultval"; then
13756 if test x"$enablestring" = xdisable; then
13757 defaultval=yes
13758 else
13759 defaultval=no
13760 fi
13761 fi
13762
13763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13764 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
13765 # Check whether --enable-finddlg or --disable-finddlg was given.
13766 if test "${enable_finddlg+set}" = set; then
13767 enableval="$enable_finddlg"
13768
13769 if test "$enableval" = yes; then
13770 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13771 else
13772 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13773 fi
13774 cache=yes
13775
13776 else
13777
13778 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
13779 if test "x$LINE" != x ; then
13780 eval "DEFAULT_$LINE"
13781 cache=yes
13782 else
13783 cache=no
13784 fi
13785
13786 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13787
13788 fi;
13789
13790 eval "$wx_cv_use_finddlg"
13791 if test "x$cache" = xyes; then
13792 echo "wxUSE_FINDREPLDLG=$wxUSE_FINDREPLDLG" >> ${wx_arg_cache_file}.tmp
13793 fi
13794
13795 if test x"$enablestring" = xdisable; then
13796 if test $wxUSE_FINDREPLDLG = yes; then
13797 result=no
13798 else
13799 result=yes
13800 fi
13801 else
13802 result=$wxUSE_FINDREPLDLG
13803 fi
13804
13805 echo "$as_me:$LINENO: result: $result" >&5
13806 echo "${ECHO_T}$result" >&6
13807
13808
13809 enablestring=
13810 defaultval=$wxUSE_ALL_FEATURES
13811 if test -z "$defaultval"; then
13812 if test x"$enablestring" = xdisable; then
13813 defaultval=yes
13814 else
13815 defaultval=no
13816 fi
13817 fi
13818
13819 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13820 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
13821 # Check whether --enable-fontdlg or --disable-fontdlg was given.
13822 if test "${enable_fontdlg+set}" = set; then
13823 enableval="$enable_fontdlg"
13824
13825 if test "$enableval" = yes; then
13826 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13827 else
13828 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13829 fi
13830 cache=yes
13831
13832 else
13833
13834 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
13835 if test "x$LINE" != x ; then
13836 eval "DEFAULT_$LINE"
13837 cache=yes
13838 else
13839 cache=no
13840 fi
13841
13842 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13843
13844 fi;
13845
13846 eval "$wx_cv_use_fontdlg"
13847 if test "x$cache" = xyes; then
13848 echo "wxUSE_FONTDLG=$wxUSE_FONTDLG" >> ${wx_arg_cache_file}.tmp
13849 fi
13850
13851 if test x"$enablestring" = xdisable; then
13852 if test $wxUSE_FONTDLG = yes; then
13853 result=no
13854 else
13855 result=yes
13856 fi
13857 else
13858 result=$wxUSE_FONTDLG
13859 fi
13860
13861 echo "$as_me:$LINENO: result: $result" >&5
13862 echo "${ECHO_T}$result" >&6
13863
13864
13865 enablestring=
13866 defaultval=$wxUSE_ALL_FEATURES
13867 if test -z "$defaultval"; then
13868 if test x"$enablestring" = xdisable; then
13869 defaultval=yes
13870 else
13871 defaultval=no
13872 fi
13873 fi
13874
13875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13876 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
13877 # Check whether --enable-dirdlg or --disable-dirdlg was given.
13878 if test "${enable_dirdlg+set}" = set; then
13879 enableval="$enable_dirdlg"
13880
13881 if test "$enableval" = yes; then
13882 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13883 else
13884 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13885 fi
13886 cache=yes
13887
13888 else
13889
13890 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
13891 if test "x$LINE" != x ; then
13892 eval "DEFAULT_$LINE"
13893 cache=yes
13894 else
13895 cache=no
13896 fi
13897
13898 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13899
13900 fi;
13901
13902 eval "$wx_cv_use_dirdlg"
13903 if test "x$cache" = xyes; then
13904 echo "wxUSE_DIRDLG=$wxUSE_DIRDLG" >> ${wx_arg_cache_file}.tmp
13905 fi
13906
13907 if test x"$enablestring" = xdisable; then
13908 if test $wxUSE_DIRDLG = yes; then
13909 result=no
13910 else
13911 result=yes
13912 fi
13913 else
13914 result=$wxUSE_DIRDLG
13915 fi
13916
13917 echo "$as_me:$LINENO: result: $result" >&5
13918 echo "${ECHO_T}$result" >&6
13919
13920
13921 enablestring=
13922 defaultval=$wxUSE_ALL_FEATURES
13923 if test -z "$defaultval"; then
13924 if test x"$enablestring" = xdisable; then
13925 defaultval=yes
13926 else
13927 defaultval=no
13928 fi
13929 fi
13930
13931 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13932 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
13933 # Check whether --enable-msgdlg or --disable-msgdlg was given.
13934 if test "${enable_msgdlg+set}" = set; then
13935 enableval="$enable_msgdlg"
13936
13937 if test "$enableval" = yes; then
13938 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13939 else
13940 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13941 fi
13942 cache=yes
13943
13944 else
13945
13946 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
13947 if test "x$LINE" != x ; then
13948 eval "DEFAULT_$LINE"
13949 cache=yes
13950 else
13951 cache=no
13952 fi
13953
13954 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13955
13956 fi;
13957
13958 eval "$wx_cv_use_msgdlg"
13959 if test "x$cache" = xyes; then
13960 echo "wxUSE_MSGDLG=$wxUSE_MSGDLG" >> ${wx_arg_cache_file}.tmp
13961 fi
13962
13963 if test x"$enablestring" = xdisable; then
13964 if test $wxUSE_MSGDLG = yes; then
13965 result=no
13966 else
13967 result=yes
13968 fi
13969 else
13970 result=$wxUSE_MSGDLG
13971 fi
13972
13973 echo "$as_me:$LINENO: result: $result" >&5
13974 echo "${ECHO_T}$result" >&6
13975
13976
13977 enablestring=
13978 defaultval=$wxUSE_ALL_FEATURES
13979 if test -z "$defaultval"; then
13980 if test x"$enablestring" = xdisable; then
13981 defaultval=yes
13982 else
13983 defaultval=no
13984 fi
13985 fi
13986
13987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13988 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
13989 # Check whether --enable-numberdlg or --disable-numberdlg was given.
13990 if test "${enable_numberdlg+set}" = set; then
13991 enableval="$enable_numberdlg"
13992
13993 if test "$enableval" = yes; then
13994 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13995 else
13996 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13997 fi
13998 cache=yes
13999
14000 else
14001
14002 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14003 if test "x$LINE" != x ; then
14004 eval "DEFAULT_$LINE"
14005 cache=yes
14006 else
14007 cache=no
14008 fi
14009
14010 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14011
14012 fi;
14013
14014 eval "$wx_cv_use_numberdlg"
14015 if test "x$cache" = xyes; then
14016 echo "wxUSE_NUMBERDLG=$wxUSE_NUMBERDLG" >> ${wx_arg_cache_file}.tmp
14017 fi
14018
14019 if test x"$enablestring" = xdisable; then
14020 if test $wxUSE_NUMBERDLG = yes; then
14021 result=no
14022 else
14023 result=yes
14024 fi
14025 else
14026 result=$wxUSE_NUMBERDLG
14027 fi
14028
14029 echo "$as_me:$LINENO: result: $result" >&5
14030 echo "${ECHO_T}$result" >&6
14031
14032
14033 enablestring=
14034 defaultval=$wxUSE_ALL_FEATURES
14035 if test -z "$defaultval"; then
14036 if test x"$enablestring" = xdisable; then
14037 defaultval=yes
14038 else
14039 defaultval=no
14040 fi
14041 fi
14042
14043 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14044 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
14045 # Check whether --enable-splash or --disable-splash was given.
14046 if test "${enable_splash+set}" = set; then
14047 enableval="$enable_splash"
14048
14049 if test "$enableval" = yes; then
14050 wx_cv_use_splash='wxUSE_SPLASH=yes'
14051 else
14052 wx_cv_use_splash='wxUSE_SPLASH=no'
14053 fi
14054 cache=yes
14055
14056 else
14057
14058 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14059 if test "x$LINE" != x ; then
14060 eval "DEFAULT_$LINE"
14061 cache=yes
14062 else
14063 cache=no
14064 fi
14065
14066 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14067
14068 fi;
14069
14070 eval "$wx_cv_use_splash"
14071 if test "x$cache" = xyes; then
14072 echo "wxUSE_SPLASH=$wxUSE_SPLASH" >> ${wx_arg_cache_file}.tmp
14073 fi
14074
14075 if test x"$enablestring" = xdisable; then
14076 if test $wxUSE_SPLASH = yes; then
14077 result=no
14078 else
14079 result=yes
14080 fi
14081 else
14082 result=$wxUSE_SPLASH
14083 fi
14084
14085 echo "$as_me:$LINENO: result: $result" >&5
14086 echo "${ECHO_T}$result" >&6
14087
14088
14089 enablestring=
14090 defaultval=$wxUSE_ALL_FEATURES
14091 if test -z "$defaultval"; then
14092 if test x"$enablestring" = xdisable; then
14093 defaultval=yes
14094 else
14095 defaultval=no
14096 fi
14097 fi
14098
14099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14100 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
14101 # Check whether --enable-textdlg or --disable-textdlg was given.
14102 if test "${enable_textdlg+set}" = set; then
14103 enableval="$enable_textdlg"
14104
14105 if test "$enableval" = yes; then
14106 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14107 else
14108 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14109 fi
14110 cache=yes
14111
14112 else
14113
14114 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14115 if test "x$LINE" != x ; then
14116 eval "DEFAULT_$LINE"
14117 cache=yes
14118 else
14119 cache=no
14120 fi
14121
14122 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14123
14124 fi;
14125
14126 eval "$wx_cv_use_textdlg"
14127 if test "x$cache" = xyes; then
14128 echo "wxUSE_TEXTDLG=$wxUSE_TEXTDLG" >> ${wx_arg_cache_file}.tmp
14129 fi
14130
14131 if test x"$enablestring" = xdisable; then
14132 if test $wxUSE_TEXTDLG = yes; then
14133 result=no
14134 else
14135 result=yes
14136 fi
14137 else
14138 result=$wxUSE_TEXTDLG
14139 fi
14140
14141 echo "$as_me:$LINENO: result: $result" >&5
14142 echo "${ECHO_T}$result" >&6
14143
14144
14145 enablestring=
14146 defaultval=$wxUSE_ALL_FEATURES
14147 if test -z "$defaultval"; then
14148 if test x"$enablestring" = xdisable; then
14149 defaultval=yes
14150 else
14151 defaultval=no
14152 fi
14153 fi
14154
14155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14156 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
14157 # Check whether --enable-tipdlg or --disable-tipdlg was given.
14158 if test "${enable_tipdlg+set}" = set; then
14159 enableval="$enable_tipdlg"
14160
14161 if test "$enableval" = yes; then
14162 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14163 else
14164 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14165 fi
14166 cache=yes
14167
14168 else
14169
14170 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14171 if test "x$LINE" != x ; then
14172 eval "DEFAULT_$LINE"
14173 cache=yes
14174 else
14175 cache=no
14176 fi
14177
14178 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14179
14180 fi;
14181
14182 eval "$wx_cv_use_tipdlg"
14183 if test "x$cache" = xyes; then
14184 echo "wxUSE_STARTUP_TIPS=$wxUSE_STARTUP_TIPS" >> ${wx_arg_cache_file}.tmp
14185 fi
14186
14187 if test x"$enablestring" = xdisable; then
14188 if test $wxUSE_STARTUP_TIPS = yes; then
14189 result=no
14190 else
14191 result=yes
14192 fi
14193 else
14194 result=$wxUSE_STARTUP_TIPS
14195 fi
14196
14197 echo "$as_me:$LINENO: result: $result" >&5
14198 echo "${ECHO_T}$result" >&6
14199
14200
14201 enablestring=
14202 defaultval=$wxUSE_ALL_FEATURES
14203 if test -z "$defaultval"; then
14204 if test x"$enablestring" = xdisable; then
14205 defaultval=yes
14206 else
14207 defaultval=no
14208 fi
14209 fi
14210
14211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14212 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
14213 # Check whether --enable-progressdlg or --disable-progressdlg was given.
14214 if test "${enable_progressdlg+set}" = set; then
14215 enableval="$enable_progressdlg"
14216
14217 if test "$enableval" = yes; then
14218 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14219 else
14220 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14221 fi
14222 cache=yes
14223
14224 else
14225
14226 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14227 if test "x$LINE" != x ; then
14228 eval "DEFAULT_$LINE"
14229 cache=yes
14230 else
14231 cache=no
14232 fi
14233
14234 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14235
14236 fi;
14237
14238 eval "$wx_cv_use_progressdlg"
14239 if test "x$cache" = xyes; then
14240 echo "wxUSE_PROGRESSDLG=$wxUSE_PROGRESSDLG" >> ${wx_arg_cache_file}.tmp
14241 fi
14242
14243 if test x"$enablestring" = xdisable; then
14244 if test $wxUSE_PROGRESSDLG = yes; then
14245 result=no
14246 else
14247 result=yes
14248 fi
14249 else
14250 result=$wxUSE_PROGRESSDLG
14251 fi
14252
14253 echo "$as_me:$LINENO: result: $result" >&5
14254 echo "${ECHO_T}$result" >&6
14255
14256
14257 enablestring=
14258 defaultval=$wxUSE_ALL_FEATURES
14259 if test -z "$defaultval"; then
14260 if test x"$enablestring" = xdisable; then
14261 defaultval=yes
14262 else
14263 defaultval=no
14264 fi
14265 fi
14266
14267 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14268 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
14269 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
14270 if test "${enable_wizarddlg+set}" = set; then
14271 enableval="$enable_wizarddlg"
14272
14273 if test "$enableval" = yes; then
14274 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14275 else
14276 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14277 fi
14278 cache=yes
14279
14280 else
14281
14282 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14283 if test "x$LINE" != x ; then
14284 eval "DEFAULT_$LINE"
14285 cache=yes
14286 else
14287 cache=no
14288 fi
14289
14290 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14291
14292 fi;
14293
14294 eval "$wx_cv_use_wizarddlg"
14295 if test "x$cache" = xyes; then
14296 echo "wxUSE_WIZARDDLG=$wxUSE_WIZARDDLG" >> ${wx_arg_cache_file}.tmp
14297 fi
14298
14299 if test x"$enablestring" = xdisable; then
14300 if test $wxUSE_WIZARDDLG = yes; then
14301 result=no
14302 else
14303 result=yes
14304 fi
14305 else
14306 result=$wxUSE_WIZARDDLG
14307 fi
14308
14309 echo "$as_me:$LINENO: result: $result" >&5
14310 echo "${ECHO_T}$result" >&6
14311
14312
14313
14314
14315 enablestring=
14316 defaultval=$wxUSE_ALL_FEATURES
14317 if test -z "$defaultval"; then
14318 if test x"$enablestring" = xdisable; then
14319 defaultval=yes
14320 else
14321 defaultval=no
14322 fi
14323 fi
14324
14325 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14326 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
14327 # Check whether --enable-menus or --disable-menus was given.
14328 if test "${enable_menus+set}" = set; then
14329 enableval="$enable_menus"
14330
14331 if test "$enableval" = yes; then
14332 wx_cv_use_menus='wxUSE_MENUS=yes'
14333 else
14334 wx_cv_use_menus='wxUSE_MENUS=no'
14335 fi
14336 cache=yes
14337
14338 else
14339
14340 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14341 if test "x$LINE" != x ; then
14342 eval "DEFAULT_$LINE"
14343 cache=yes
14344 else
14345 cache=no
14346 fi
14347
14348 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14349
14350 fi;
14351
14352 eval "$wx_cv_use_menus"
14353 if test "x$cache" = xyes; then
14354 echo "wxUSE_MENUS=$wxUSE_MENUS" >> ${wx_arg_cache_file}.tmp
14355 fi
14356
14357 if test x"$enablestring" = xdisable; then
14358 if test $wxUSE_MENUS = yes; then
14359 result=no
14360 else
14361 result=yes
14362 fi
14363 else
14364 result=$wxUSE_MENUS
14365 fi
14366
14367 echo "$as_me:$LINENO: result: $result" >&5
14368 echo "${ECHO_T}$result" >&6
14369
14370
14371 enablestring=
14372 defaultval=$wxUSE_ALL_FEATURES
14373 if test -z "$defaultval"; then
14374 if test x"$enablestring" = xdisable; then
14375 defaultval=yes
14376 else
14377 defaultval=no
14378 fi
14379 fi
14380
14381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14382 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
14383 # Check whether --enable-miniframe or --disable-miniframe was given.
14384 if test "${enable_miniframe+set}" = set; then
14385 enableval="$enable_miniframe"
14386
14387 if test "$enableval" = yes; then
14388 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14389 else
14390 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14391 fi
14392 cache=yes
14393
14394 else
14395
14396 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14397 if test "x$LINE" != x ; then
14398 eval "DEFAULT_$LINE"
14399 cache=yes
14400 else
14401 cache=no
14402 fi
14403
14404 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14405
14406 fi;
14407
14408 eval "$wx_cv_use_miniframe"
14409 if test "x$cache" = xyes; then
14410 echo "wxUSE_MINIFRAME=$wxUSE_MINIFRAME" >> ${wx_arg_cache_file}.tmp
14411 fi
14412
14413 if test x"$enablestring" = xdisable; then
14414 if test $wxUSE_MINIFRAME = yes; then
14415 result=no
14416 else
14417 result=yes
14418 fi
14419 else
14420 result=$wxUSE_MINIFRAME
14421 fi
14422
14423 echo "$as_me:$LINENO: result: $result" >&5
14424 echo "${ECHO_T}$result" >&6
14425
14426
14427 enablestring=
14428 defaultval=$wxUSE_ALL_FEATURES
14429 if test -z "$defaultval"; then
14430 if test x"$enablestring" = xdisable; then
14431 defaultval=yes
14432 else
14433 defaultval=no
14434 fi
14435 fi
14436
14437 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14438 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
14439 # Check whether --enable-tooltips or --disable-tooltips was given.
14440 if test "${enable_tooltips+set}" = set; then
14441 enableval="$enable_tooltips"
14442
14443 if test "$enableval" = yes; then
14444 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14445 else
14446 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14447 fi
14448 cache=yes
14449
14450 else
14451
14452 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14453 if test "x$LINE" != x ; then
14454 eval "DEFAULT_$LINE"
14455 cache=yes
14456 else
14457 cache=no
14458 fi
14459
14460 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14461
14462 fi;
14463
14464 eval "$wx_cv_use_tooltips"
14465 if test "x$cache" = xyes; then
14466 echo "wxUSE_TOOLTIPS=$wxUSE_TOOLTIPS" >> ${wx_arg_cache_file}.tmp
14467 fi
14468
14469 if test x"$enablestring" = xdisable; then
14470 if test $wxUSE_TOOLTIPS = yes; then
14471 result=no
14472 else
14473 result=yes
14474 fi
14475 else
14476 result=$wxUSE_TOOLTIPS
14477 fi
14478
14479 echo "$as_me:$LINENO: result: $result" >&5
14480 echo "${ECHO_T}$result" >&6
14481
14482
14483 enablestring=
14484 defaultval=$wxUSE_ALL_FEATURES
14485 if test -z "$defaultval"; then
14486 if test x"$enablestring" = xdisable; then
14487 defaultval=yes
14488 else
14489 defaultval=no
14490 fi
14491 fi
14492
14493 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14494 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
14495 # Check whether --enable-splines or --disable-splines was given.
14496 if test "${enable_splines+set}" = set; then
14497 enableval="$enable_splines"
14498
14499 if test "$enableval" = yes; then
14500 wx_cv_use_splines='wxUSE_SPLINES=yes'
14501 else
14502 wx_cv_use_splines='wxUSE_SPLINES=no'
14503 fi
14504 cache=yes
14505
14506 else
14507
14508 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14509 if test "x$LINE" != x ; then
14510 eval "DEFAULT_$LINE"
14511 cache=yes
14512 else
14513 cache=no
14514 fi
14515
14516 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14517
14518 fi;
14519
14520 eval "$wx_cv_use_splines"
14521 if test "x$cache" = xyes; then
14522 echo "wxUSE_SPLINES=$wxUSE_SPLINES" >> ${wx_arg_cache_file}.tmp
14523 fi
14524
14525 if test x"$enablestring" = xdisable; then
14526 if test $wxUSE_SPLINES = yes; then
14527 result=no
14528 else
14529 result=yes
14530 fi
14531 else
14532 result=$wxUSE_SPLINES
14533 fi
14534
14535 echo "$as_me:$LINENO: result: $result" >&5
14536 echo "${ECHO_T}$result" >&6
14537
14538
14539 enablestring=
14540 defaultval=$wxUSE_ALL_FEATURES
14541 if test -z "$defaultval"; then
14542 if test x"$enablestring" = xdisable; then
14543 defaultval=yes
14544 else
14545 defaultval=no
14546 fi
14547 fi
14548
14549 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14550 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
14551 # Check whether --enable-mousewheel or --disable-mousewheel was given.
14552 if test "${enable_mousewheel+set}" = set; then
14553 enableval="$enable_mousewheel"
14554
14555 if test "$enableval" = yes; then
14556 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14557 else
14558 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14559 fi
14560 cache=yes
14561
14562 else
14563
14564 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14565 if test "x$LINE" != x ; then
14566 eval "DEFAULT_$LINE"
14567 cache=yes
14568 else
14569 cache=no
14570 fi
14571
14572 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14573
14574 fi;
14575
14576 eval "$wx_cv_use_mousewheel"
14577 if test "x$cache" = xyes; then
14578 echo "wxUSE_MOUSEWHEEL=$wxUSE_MOUSEWHEEL" >> ${wx_arg_cache_file}.tmp
14579 fi
14580
14581 if test x"$enablestring" = xdisable; then
14582 if test $wxUSE_MOUSEWHEEL = yes; then
14583 result=no
14584 else
14585 result=yes
14586 fi
14587 else
14588 result=$wxUSE_MOUSEWHEEL
14589 fi
14590
14591 echo "$as_me:$LINENO: result: $result" >&5
14592 echo "${ECHO_T}$result" >&6
14593
14594
14595 enablestring=
14596 defaultval=$wxUSE_ALL_FEATURES
14597 if test -z "$defaultval"; then
14598 if test x"$enablestring" = xdisable; then
14599 defaultval=yes
14600 else
14601 defaultval=no
14602 fi
14603 fi
14604
14605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14606 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
14607 # Check whether --enable-validators or --disable-validators was given.
14608 if test "${enable_validators+set}" = set; then
14609 enableval="$enable_validators"
14610
14611 if test "$enableval" = yes; then
14612 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14613 else
14614 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14615 fi
14616 cache=yes
14617
14618 else
14619
14620 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14621 if test "x$LINE" != x ; then
14622 eval "DEFAULT_$LINE"
14623 cache=yes
14624 else
14625 cache=no
14626 fi
14627
14628 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14629
14630 fi;
14631
14632 eval "$wx_cv_use_validators"
14633 if test "x$cache" = xyes; then
14634 echo "wxUSE_VALIDATORS=$wxUSE_VALIDATORS" >> ${wx_arg_cache_file}.tmp
14635 fi
14636
14637 if test x"$enablestring" = xdisable; then
14638 if test $wxUSE_VALIDATORS = yes; then
14639 result=no
14640 else
14641 result=yes
14642 fi
14643 else
14644 result=$wxUSE_VALIDATORS
14645 fi
14646
14647 echo "$as_me:$LINENO: result: $result" >&5
14648 echo "${ECHO_T}$result" >&6
14649
14650
14651 enablestring=
14652 defaultval=$wxUSE_ALL_FEATURES
14653 if test -z "$defaultval"; then
14654 if test x"$enablestring" = xdisable; then
14655 defaultval=yes
14656 else
14657 defaultval=no
14658 fi
14659 fi
14660
14661 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14662 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
14663 # Check whether --enable-busyinfo or --disable-busyinfo was given.
14664 if test "${enable_busyinfo+set}" = set; then
14665 enableval="$enable_busyinfo"
14666
14667 if test "$enableval" = yes; then
14668 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14669 else
14670 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14671 fi
14672 cache=yes
14673
14674 else
14675
14676 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14677 if test "x$LINE" != x ; then
14678 eval "DEFAULT_$LINE"
14679 cache=yes
14680 else
14681 cache=no
14682 fi
14683
14684 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14685
14686 fi;
14687
14688 eval "$wx_cv_use_busyinfo"
14689 if test "x$cache" = xyes; then
14690 echo "wxUSE_BUSYINFO=$wxUSE_BUSYINFO" >> ${wx_arg_cache_file}.tmp
14691 fi
14692
14693 if test x"$enablestring" = xdisable; then
14694 if test $wxUSE_BUSYINFO = yes; then
14695 result=no
14696 else
14697 result=yes
14698 fi
14699 else
14700 result=$wxUSE_BUSYINFO
14701 fi
14702
14703 echo "$as_me:$LINENO: result: $result" >&5
14704 echo "${ECHO_T}$result" >&6
14705
14706
14707 enablestring=
14708 defaultval=$wxUSE_ALL_FEATURES
14709 if test -z "$defaultval"; then
14710 if test x"$enablestring" = xdisable; then
14711 defaultval=yes
14712 else
14713 defaultval=no
14714 fi
14715 fi
14716
14717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14718 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
14719 # Check whether --enable-joystick or --disable-joystick was given.
14720 if test "${enable_joystick+set}" = set; then
14721 enableval="$enable_joystick"
14722
14723 if test "$enableval" = yes; then
14724 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14725 else
14726 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14727 fi
14728 cache=yes
14729
14730 else
14731
14732 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14733 if test "x$LINE" != x ; then
14734 eval "DEFAULT_$LINE"
14735 cache=yes
14736 else
14737 cache=no
14738 fi
14739
14740 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14741
14742 fi;
14743
14744 eval "$wx_cv_use_joystick"
14745 if test "x$cache" = xyes; then
14746 echo "wxUSE_JOYSTICK=$wxUSE_JOYSTICK" >> ${wx_arg_cache_file}.tmp
14747 fi
14748
14749 if test x"$enablestring" = xdisable; then
14750 if test $wxUSE_JOYSTICK = yes; then
14751 result=no
14752 else
14753 result=yes
14754 fi
14755 else
14756 result=$wxUSE_JOYSTICK
14757 fi
14758
14759 echo "$as_me:$LINENO: result: $result" >&5
14760 echo "${ECHO_T}$result" >&6
14761
14762
14763 enablestring=
14764 defaultval=$wxUSE_ALL_FEATURES
14765 if test -z "$defaultval"; then
14766 if test x"$enablestring" = xdisable; then
14767 defaultval=yes
14768 else
14769 defaultval=no
14770 fi
14771 fi
14772
14773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14774 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
14775 # Check whether --enable-metafile or --disable-metafile was given.
14776 if test "${enable_metafile+set}" = set; then
14777 enableval="$enable_metafile"
14778
14779 if test "$enableval" = yes; then
14780 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14781 else
14782 wx_cv_use_metafile='wxUSE_METAFILE=no'
14783 fi
14784 cache=yes
14785
14786 else
14787
14788 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
14789 if test "x$LINE" != x ; then
14790 eval "DEFAULT_$LINE"
14791 cache=yes
14792 else
14793 cache=no
14794 fi
14795
14796 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14797
14798 fi;
14799
14800 eval "$wx_cv_use_metafile"
14801 if test "x$cache" = xyes; then
14802 echo "wxUSE_METAFILE=$wxUSE_METAFILE" >> ${wx_arg_cache_file}.tmp
14803 fi
14804
14805 if test x"$enablestring" = xdisable; then
14806 if test $wxUSE_METAFILE = yes; then
14807 result=no
14808 else
14809 result=yes
14810 fi
14811 else
14812 result=$wxUSE_METAFILE
14813 fi
14814
14815 echo "$as_me:$LINENO: result: $result" >&5
14816 echo "${ECHO_T}$result" >&6
14817
14818
14819 enablestring=
14820 defaultval=$wxUSE_ALL_FEATURES
14821 if test -z "$defaultval"; then
14822 if test x"$enablestring" = xdisable; then
14823 defaultval=yes
14824 else
14825 defaultval=no
14826 fi
14827 fi
14828
14829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14830 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
14831 # Check whether --enable-dragimage or --disable-dragimage was given.
14832 if test "${enable_dragimage+set}" = set; then
14833 enableval="$enable_dragimage"
14834
14835 if test "$enableval" = yes; then
14836 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14837 else
14838 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14839 fi
14840 cache=yes
14841
14842 else
14843
14844 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
14845 if test "x$LINE" != x ; then
14846 eval "DEFAULT_$LINE"
14847 cache=yes
14848 else
14849 cache=no
14850 fi
14851
14852 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14853
14854 fi;
14855
14856 eval "$wx_cv_use_dragimage"
14857 if test "x$cache" = xyes; then
14858 echo "wxUSE_DRAGIMAGE=$wxUSE_DRAGIMAGE" >> ${wx_arg_cache_file}.tmp
14859 fi
14860
14861 if test x"$enablestring" = xdisable; then
14862 if test $wxUSE_DRAGIMAGE = yes; then
14863 result=no
14864 else
14865 result=yes
14866 fi
14867 else
14868 result=$wxUSE_DRAGIMAGE
14869 fi
14870
14871 echo "$as_me:$LINENO: result: $result" >&5
14872 echo "${ECHO_T}$result" >&6
14873
14874
14875 enablestring=
14876 defaultval=$wxUSE_ALL_FEATURES
14877 if test -z "$defaultval"; then
14878 if test x"$enablestring" = xdisable; then
14879 defaultval=yes
14880 else
14881 defaultval=no
14882 fi
14883 fi
14884
14885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14886 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
14887 # Check whether --enable-accessibility or --disable-accessibility was given.
14888 if test "${enable_accessibility+set}" = set; then
14889 enableval="$enable_accessibility"
14890
14891 if test "$enableval" = yes; then
14892 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14893 else
14894 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14895 fi
14896 cache=yes
14897
14898 else
14899
14900 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
14901 if test "x$LINE" != x ; then
14902 eval "DEFAULT_$LINE"
14903 cache=yes
14904 else
14905 cache=no
14906 fi
14907
14908 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14909
14910 fi;
14911
14912 eval "$wx_cv_use_accessibility"
14913 if test "x$cache" = xyes; then
14914 echo "wxUSE_ACCESSIBILITY=$wxUSE_ACCESSIBILITY" >> ${wx_arg_cache_file}.tmp
14915 fi
14916
14917 if test x"$enablestring" = xdisable; then
14918 if test $wxUSE_ACCESSIBILITY = yes; then
14919 result=no
14920 else
14921 result=yes
14922 fi
14923 else
14924 result=$wxUSE_ACCESSIBILITY
14925 fi
14926
14927 echo "$as_me:$LINENO: result: $result" >&5
14928 echo "${ECHO_T}$result" >&6
14929
14930
14931
14932
14933 enablestring=
14934 defaultval=$wxUSE_ALL_FEATURES
14935 if test -z "$defaultval"; then
14936 if test x"$enablestring" = xdisable; then
14937 defaultval=yes
14938 else
14939 defaultval=no
14940 fi
14941 fi
14942
14943 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14944 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
14945 # Check whether --enable-palette or --disable-palette was given.
14946 if test "${enable_palette+set}" = set; then
14947 enableval="$enable_palette"
14948
14949 if test "$enableval" = yes; then
14950 wx_cv_use_palette='wxUSE_PALETTE=yes'
14951 else
14952 wx_cv_use_palette='wxUSE_PALETTE=no'
14953 fi
14954 cache=yes
14955
14956 else
14957
14958 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
14959 if test "x$LINE" != x ; then
14960 eval "DEFAULT_$LINE"
14961 cache=yes
14962 else
14963 cache=no
14964 fi
14965
14966 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14967
14968 fi;
14969
14970 eval "$wx_cv_use_palette"
14971 if test "x$cache" = xyes; then
14972 echo "wxUSE_PALETTE=$wxUSE_PALETTE" >> ${wx_arg_cache_file}.tmp
14973 fi
14974
14975 if test x"$enablestring" = xdisable; then
14976 if test $wxUSE_PALETTE = yes; then
14977 result=no
14978 else
14979 result=yes
14980 fi
14981 else
14982 result=$wxUSE_PALETTE
14983 fi
14984
14985 echo "$as_me:$LINENO: result: $result" >&5
14986 echo "${ECHO_T}$result" >&6
14987
14988
14989 enablestring=
14990 defaultval=$wxUSE_ALL_FEATURES
14991 if test -z "$defaultval"; then
14992 if test x"$enablestring" = xdisable; then
14993 defaultval=yes
14994 else
14995 defaultval=no
14996 fi
14997 fi
14998
14999 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15000 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
15001 # Check whether --enable-image or --disable-image was given.
15002 if test "${enable_image+set}" = set; then
15003 enableval="$enable_image"
15004
15005 if test "$enableval" = yes; then
15006 wx_cv_use_image='wxUSE_IMAGE=yes'
15007 else
15008 wx_cv_use_image='wxUSE_IMAGE=no'
15009 fi
15010 cache=yes
15011
15012 else
15013
15014 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15015 if test "x$LINE" != x ; then
15016 eval "DEFAULT_$LINE"
15017 cache=yes
15018 else
15019 cache=no
15020 fi
15021
15022 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15023
15024 fi;
15025
15026 eval "$wx_cv_use_image"
15027 if test "x$cache" = xyes; then
15028 echo "wxUSE_IMAGE=$wxUSE_IMAGE" >> ${wx_arg_cache_file}.tmp
15029 fi
15030
15031 if test x"$enablestring" = xdisable; then
15032 if test $wxUSE_IMAGE = yes; then
15033 result=no
15034 else
15035 result=yes
15036 fi
15037 else
15038 result=$wxUSE_IMAGE
15039 fi
15040
15041 echo "$as_me:$LINENO: result: $result" >&5
15042 echo "${ECHO_T}$result" >&6
15043
15044
15045 enablestring=
15046 defaultval=$wxUSE_ALL_FEATURES
15047 if test -z "$defaultval"; then
15048 if test x"$enablestring" = xdisable; then
15049 defaultval=yes
15050 else
15051 defaultval=no
15052 fi
15053 fi
15054
15055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15056 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
15057 # Check whether --enable-gif or --disable-gif was given.
15058 if test "${enable_gif+set}" = set; then
15059 enableval="$enable_gif"
15060
15061 if test "$enableval" = yes; then
15062 wx_cv_use_gif='wxUSE_GIF=yes'
15063 else
15064 wx_cv_use_gif='wxUSE_GIF=no'
15065 fi
15066 cache=yes
15067
15068 else
15069
15070 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15071 if test "x$LINE" != x ; then
15072 eval "DEFAULT_$LINE"
15073 cache=yes
15074 else
15075 cache=no
15076 fi
15077
15078 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15079
15080 fi;
15081
15082 eval "$wx_cv_use_gif"
15083 if test "x$cache" = xyes; then
15084 echo "wxUSE_GIF=$wxUSE_GIF" >> ${wx_arg_cache_file}.tmp
15085 fi
15086
15087 if test x"$enablestring" = xdisable; then
15088 if test $wxUSE_GIF = yes; then
15089 result=no
15090 else
15091 result=yes
15092 fi
15093 else
15094 result=$wxUSE_GIF
15095 fi
15096
15097 echo "$as_me:$LINENO: result: $result" >&5
15098 echo "${ECHO_T}$result" >&6
15099
15100
15101 enablestring=
15102 defaultval=$wxUSE_ALL_FEATURES
15103 if test -z "$defaultval"; then
15104 if test x"$enablestring" = xdisable; then
15105 defaultval=yes
15106 else
15107 defaultval=no
15108 fi
15109 fi
15110
15111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15112 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
15113 # Check whether --enable-pcx or --disable-pcx was given.
15114 if test "${enable_pcx+set}" = set; then
15115 enableval="$enable_pcx"
15116
15117 if test "$enableval" = yes; then
15118 wx_cv_use_pcx='wxUSE_PCX=yes'
15119 else
15120 wx_cv_use_pcx='wxUSE_PCX=no'
15121 fi
15122 cache=yes
15123
15124 else
15125
15126 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15127 if test "x$LINE" != x ; then
15128 eval "DEFAULT_$LINE"
15129 cache=yes
15130 else
15131 cache=no
15132 fi
15133
15134 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15135
15136 fi;
15137
15138 eval "$wx_cv_use_pcx"
15139 if test "x$cache" = xyes; then
15140 echo "wxUSE_PCX=$wxUSE_PCX" >> ${wx_arg_cache_file}.tmp
15141 fi
15142
15143 if test x"$enablestring" = xdisable; then
15144 if test $wxUSE_PCX = yes; then
15145 result=no
15146 else
15147 result=yes
15148 fi
15149 else
15150 result=$wxUSE_PCX
15151 fi
15152
15153 echo "$as_me:$LINENO: result: $result" >&5
15154 echo "${ECHO_T}$result" >&6
15155
15156
15157 enablestring=
15158 defaultval=$wxUSE_ALL_FEATURES
15159 if test -z "$defaultval"; then
15160 if test x"$enablestring" = xdisable; then
15161 defaultval=yes
15162 else
15163 defaultval=no
15164 fi
15165 fi
15166
15167 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15168 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
15169 # Check whether --enable-tga or --disable-tga was given.
15170 if test "${enable_tga+set}" = set; then
15171 enableval="$enable_tga"
15172
15173 if test "$enableval" = yes; then
15174 wx_cv_use_tga='wxUSE_TGA=yes'
15175 else
15176 wx_cv_use_tga='wxUSE_TGA=no'
15177 fi
15178 cache=yes
15179
15180 else
15181
15182 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15183 if test "x$LINE" != x ; then
15184 eval "DEFAULT_$LINE"
15185 cache=yes
15186 else
15187 cache=no
15188 fi
15189
15190 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15191
15192 fi;
15193
15194 eval "$wx_cv_use_tga"
15195 if test "x$cache" = xyes; then
15196 echo "wxUSE_TGA=$wxUSE_TGA" >> ${wx_arg_cache_file}.tmp
15197 fi
15198
15199 if test x"$enablestring" = xdisable; then
15200 if test $wxUSE_TGA = yes; then
15201 result=no
15202 else
15203 result=yes
15204 fi
15205 else
15206 result=$wxUSE_TGA
15207 fi
15208
15209 echo "$as_me:$LINENO: result: $result" >&5
15210 echo "${ECHO_T}$result" >&6
15211
15212
15213 enablestring=
15214 defaultval=$wxUSE_ALL_FEATURES
15215 if test -z "$defaultval"; then
15216 if test x"$enablestring" = xdisable; then
15217 defaultval=yes
15218 else
15219 defaultval=no
15220 fi
15221 fi
15222
15223 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15224 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
15225 # Check whether --enable-iff or --disable-iff was given.
15226 if test "${enable_iff+set}" = set; then
15227 enableval="$enable_iff"
15228
15229 if test "$enableval" = yes; then
15230 wx_cv_use_iff='wxUSE_IFF=yes'
15231 else
15232 wx_cv_use_iff='wxUSE_IFF=no'
15233 fi
15234 cache=yes
15235
15236 else
15237
15238 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15239 if test "x$LINE" != x ; then
15240 eval "DEFAULT_$LINE"
15241 cache=yes
15242 else
15243 cache=no
15244 fi
15245
15246 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15247
15248 fi;
15249
15250 eval "$wx_cv_use_iff"
15251 if test "x$cache" = xyes; then
15252 echo "wxUSE_IFF=$wxUSE_IFF" >> ${wx_arg_cache_file}.tmp
15253 fi
15254
15255 if test x"$enablestring" = xdisable; then
15256 if test $wxUSE_IFF = yes; then
15257 result=no
15258 else
15259 result=yes
15260 fi
15261 else
15262 result=$wxUSE_IFF
15263 fi
15264
15265 echo "$as_me:$LINENO: result: $result" >&5
15266 echo "${ECHO_T}$result" >&6
15267
15268
15269 enablestring=
15270 defaultval=$wxUSE_ALL_FEATURES
15271 if test -z "$defaultval"; then
15272 if test x"$enablestring" = xdisable; then
15273 defaultval=yes
15274 else
15275 defaultval=no
15276 fi
15277 fi
15278
15279 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15280 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
15281 # Check whether --enable-pnm or --disable-pnm was given.
15282 if test "${enable_pnm+set}" = set; then
15283 enableval="$enable_pnm"
15284
15285 if test "$enableval" = yes; then
15286 wx_cv_use_pnm='wxUSE_PNM=yes'
15287 else
15288 wx_cv_use_pnm='wxUSE_PNM=no'
15289 fi
15290 cache=yes
15291
15292 else
15293
15294 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15295 if test "x$LINE" != x ; then
15296 eval "DEFAULT_$LINE"
15297 cache=yes
15298 else
15299 cache=no
15300 fi
15301
15302 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15303
15304 fi;
15305
15306 eval "$wx_cv_use_pnm"
15307 if test "x$cache" = xyes; then
15308 echo "wxUSE_PNM=$wxUSE_PNM" >> ${wx_arg_cache_file}.tmp
15309 fi
15310
15311 if test x"$enablestring" = xdisable; then
15312 if test $wxUSE_PNM = yes; then
15313 result=no
15314 else
15315 result=yes
15316 fi
15317 else
15318 result=$wxUSE_PNM
15319 fi
15320
15321 echo "$as_me:$LINENO: result: $result" >&5
15322 echo "${ECHO_T}$result" >&6
15323
15324
15325 enablestring=
15326 defaultval=$wxUSE_ALL_FEATURES
15327 if test -z "$defaultval"; then
15328 if test x"$enablestring" = xdisable; then
15329 defaultval=yes
15330 else
15331 defaultval=no
15332 fi
15333 fi
15334
15335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15336 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
15337 # Check whether --enable-xpm or --disable-xpm was given.
15338 if test "${enable_xpm+set}" = set; then
15339 enableval="$enable_xpm"
15340
15341 if test "$enableval" = yes; then
15342 wx_cv_use_xpm='wxUSE_XPM=yes'
15343 else
15344 wx_cv_use_xpm='wxUSE_XPM=no'
15345 fi
15346 cache=yes
15347
15348 else
15349
15350 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15351 if test "x$LINE" != x ; then
15352 eval "DEFAULT_$LINE"
15353 cache=yes
15354 else
15355 cache=no
15356 fi
15357
15358 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15359
15360 fi;
15361
15362 eval "$wx_cv_use_xpm"
15363 if test "x$cache" = xyes; then
15364 echo "wxUSE_XPM=$wxUSE_XPM" >> ${wx_arg_cache_file}.tmp
15365 fi
15366
15367 if test x"$enablestring" = xdisable; then
15368 if test $wxUSE_XPM = yes; then
15369 result=no
15370 else
15371 result=yes
15372 fi
15373 else
15374 result=$wxUSE_XPM
15375 fi
15376
15377 echo "$as_me:$LINENO: result: $result" >&5
15378 echo "${ECHO_T}$result" >&6
15379
15380
15381 enablestring=
15382 defaultval=$wxUSE_ALL_FEATURES
15383 if test -z "$defaultval"; then
15384 if test x"$enablestring" = xdisable; then
15385 defaultval=yes
15386 else
15387 defaultval=no
15388 fi
15389 fi
15390
15391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15392 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
15393 # Check whether --enable-ico_cur or --disable-ico_cur was given.
15394 if test "${enable_ico_cur+set}" = set; then
15395 enableval="$enable_ico_cur"
15396
15397 if test "$enableval" = yes; then
15398 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15399 else
15400 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15401 fi
15402 cache=yes
15403
15404 else
15405
15406 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15407 if test "x$LINE" != x ; then
15408 eval "DEFAULT_$LINE"
15409 cache=yes
15410 else
15411 cache=no
15412 fi
15413
15414 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15415
15416 fi;
15417
15418 eval "$wx_cv_use_ico_cur"
15419 if test "x$cache" = xyes; then
15420 echo "wxUSE_ICO_CUR=$wxUSE_ICO_CUR" >> ${wx_arg_cache_file}.tmp
15421 fi
15422
15423 if test x"$enablestring" = xdisable; then
15424 if test $wxUSE_ICO_CUR = yes; then
15425 result=no
15426 else
15427 result=yes
15428 fi
15429 else
15430 result=$wxUSE_ICO_CUR
15431 fi
15432
15433 echo "$as_me:$LINENO: result: $result" >&5
15434 echo "${ECHO_T}$result" >&6
15435
15436
15437
15438
15439 enablestring=
15440 defaultval=$wxUSE_ALL_FEATURES
15441 if test -z "$defaultval"; then
15442 if test x"$enablestring" = xdisable; then
15443 defaultval=yes
15444 else
15445 defaultval=no
15446 fi
15447 fi
15448
15449 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15450 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
15451 # Check whether --enable-dccache or --disable-dccache was given.
15452 if test "${enable_dccache+set}" = set; then
15453 enableval="$enable_dccache"
15454
15455 if test "$enableval" = yes; then
15456 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15457 else
15458 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15459 fi
15460 cache=yes
15461
15462 else
15463
15464 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15465 if test "x$LINE" != x ; then
15466 eval "DEFAULT_$LINE"
15467 cache=yes
15468 else
15469 cache=no
15470 fi
15471
15472 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15473
15474 fi;
15475
15476 eval "$wx_cv_use_dccache"
15477 if test "x$cache" = xyes; then
15478 echo "wxUSE_DC_CACHEING=$wxUSE_DC_CACHEING" >> ${wx_arg_cache_file}.tmp
15479 fi
15480
15481 if test x"$enablestring" = xdisable; then
15482 if test $wxUSE_DC_CACHEING = yes; then
15483 result=no
15484 else
15485 result=yes
15486 fi
15487 else
15488 result=$wxUSE_DC_CACHEING
15489 fi
15490
15491 echo "$as_me:$LINENO: result: $result" >&5
15492 echo "${ECHO_T}$result" >&6
15493
15494
15495 enablestring=
15496 defaultval=$wxUSE_ALL_FEATURES
15497 if test -z "$defaultval"; then
15498 if test x"$enablestring" = xdisable; then
15499 defaultval=yes
15500 else
15501 defaultval=no
15502 fi
15503 fi
15504
15505 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
15506 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6
15507 # Check whether --enable-ps-in-msw or --disable-ps-in-msw was given.
15508 if test "${enable_ps_in_msw+set}" = set; then
15509 enableval="$enable_ps_in_msw"
15510
15511 if test "$enableval" = yes; then
15512 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
15513 else
15514 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
15515 fi
15516 cache=yes
15517
15518 else
15519
15520 LINE=`grep "^wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=" ${wx_arg_cache_file}`
15521 if test "x$LINE" != x ; then
15522 eval "DEFAULT_$LINE"
15523 cache=yes
15524 else
15525 cache=no
15526 fi
15527
15528 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
15529
15530 fi;
15531
15532 eval "$wx_cv_use_ps_in_msw"
15533 if test "x$cache" = xyes; then
15534 echo "wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" >> ${wx_arg_cache_file}.tmp
15535 fi
15536
15537 if test x"$enablestring" = xdisable; then
15538 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
15539 result=no
15540 else
15541 result=yes
15542 fi
15543 else
15544 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
15545 fi
15546
15547 echo "$as_me:$LINENO: result: $result" >&5
15548 echo "${ECHO_T}$result" >&6
15549
15550
15551 enablestring=
15552 defaultval=$wxUSE_ALL_FEATURES
15553 if test -z "$defaultval"; then
15554 if test x"$enablestring" = xdisable; then
15555 defaultval=yes
15556 else
15557 defaultval=no
15558 fi
15559 fi
15560
15561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
15562 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6
15563 # Check whether --enable-ownerdrawn or --disable-ownerdrawn was given.
15564 if test "${enable_ownerdrawn+set}" = set; then
15565 enableval="$enable_ownerdrawn"
15566
15567 if test "$enableval" = yes; then
15568 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
15569 else
15570 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
15571 fi
15572 cache=yes
15573
15574 else
15575
15576 LINE=`grep "^wxUSE_OWNER_DRAWN=" ${wx_arg_cache_file}`
15577 if test "x$LINE" != x ; then
15578 eval "DEFAULT_$LINE"
15579 cache=yes
15580 else
15581 cache=no
15582 fi
15583
15584 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
15585
15586 fi;
15587
15588 eval "$wx_cv_use_ownerdrawn"
15589 if test "x$cache" = xyes; then
15590 echo "wxUSE_OWNER_DRAWN=$wxUSE_OWNER_DRAWN" >> ${wx_arg_cache_file}.tmp
15591 fi
15592
15593 if test x"$enablestring" = xdisable; then
15594 if test $wxUSE_OWNER_DRAWN = yes; then
15595 result=no
15596 else
15597 result=yes
15598 fi
15599 else
15600 result=$wxUSE_OWNER_DRAWN
15601 fi
15602
15603 echo "$as_me:$LINENO: result: $result" >&5
15604 echo "${ECHO_T}$result" >&6
15605
15606
15607 enablestring=
15608 defaultval=$wxUSE_ALL_FEATURES
15609 if test -z "$defaultval"; then
15610 if test x"$enablestring" = xdisable; then
15611 defaultval=yes
15612 else
15613 defaultval=no
15614 fi
15615 fi
15616
15617 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
15618 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6
15619 # Check whether --enable-uxtheme or --disable-uxtheme was given.
15620 if test "${enable_uxtheme+set}" = set; then
15621 enableval="$enable_uxtheme"
15622
15623 if test "$enableval" = yes; then
15624 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15625 else
15626 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15627 fi
15628 cache=yes
15629
15630 else
15631
15632 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
15633 if test "x$LINE" != x ; then
15634 eval "DEFAULT_$LINE"
15635 cache=yes
15636 else
15637 cache=no
15638 fi
15639
15640 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15641
15642 fi;
15643
15644 eval "$wx_cv_use_uxtheme"
15645 if test "x$cache" = xyes; then
15646 echo "wxUSE_UXTHEME=$wxUSE_UXTHEME" >> ${wx_arg_cache_file}.tmp
15647 fi
15648
15649 if test x"$enablestring" = xdisable; then
15650 if test $wxUSE_UXTHEME = yes; then
15651 result=no
15652 else
15653 result=yes
15654 fi
15655 else
15656 result=$wxUSE_UXTHEME
15657 fi
15658
15659 echo "$as_me:$LINENO: result: $result" >&5
15660 echo "${ECHO_T}$result" >&6
15661
15662
15663 enablestring=
15664 defaultval=$wxUSE_ALL_FEATURES
15665 if test -z "$defaultval"; then
15666 if test x"$enablestring" = xdisable; then
15667 defaultval=yes
15668 else
15669 defaultval=no
15670 fi
15671 fi
15672
15673 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
15674 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6
15675 # Check whether --enable-wxdib or --disable-wxdib was given.
15676 if test "${enable_wxdib+set}" = set; then
15677 enableval="$enable_wxdib"
15678
15679 if test "$enableval" = yes; then
15680 wx_cv_use_wxdib='wxUSE_DIB=yes'
15681 else
15682 wx_cv_use_wxdib='wxUSE_DIB=no'
15683 fi
15684 cache=yes
15685
15686 else
15687
15688 LINE=`grep "^wxUSE_DIB=" ${wx_arg_cache_file}`
15689 if test "x$LINE" != x ; then
15690 eval "DEFAULT_$LINE"
15691 cache=yes
15692 else
15693 cache=no
15694 fi
15695
15696 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
15697
15698 fi;
15699
15700 eval "$wx_cv_use_wxdib"
15701 if test "x$cache" = xyes; then
15702 echo "wxUSE_DIB=$wxUSE_DIB" >> ${wx_arg_cache_file}.tmp
15703 fi
15704
15705 if test x"$enablestring" = xdisable; then
15706 if test $wxUSE_DIB = yes; then
15707 result=no
15708 else
15709 result=yes
15710 fi
15711 else
15712 result=$wxUSE_DIB
15713 fi
15714
15715 echo "$as_me:$LINENO: result: $result" >&5
15716 echo "${ECHO_T}$result" >&6
15717
15718
15719 fi
15720
15721
15722 echo "saving argument cache $wx_arg_cache_file"
15723 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15724
15725
15726
15727 echo "$as_me:$LINENO: checking for toolkit" >&5
15728 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
15729
15730 # In Wine, we need to default to MSW, not GTK or MOTIF
15731 if test "$wxUSE_WINE" = "yes"; then
15732 DEFAULT_DEFAULT_wxUSE_GTK=0
15733 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15734 DEFAULT_DEFAULT_wxUSE_MSW=1
15735 wxUSE_SHARED=no
15736 CC=${CC:-winegcc}
15737 CXX=${CXX:-wineg++}
15738 fi
15739
15740
15741 if test "$wxUSE_GUI" = "yes"; then
15742
15743 if test "$USE_BEOS" = 1; then
15744 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15745 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15746 { (exit 1); exit 1; }; }
15747 fi
15748
15749 if test "$TOOLKIT_GIVEN" = 1; then
15750 for toolkit in `echo $ALL_TOOLKITS`; do
15751 var=wxUSE_$toolkit
15752 eval "value=\$${var}"
15753 if test "x$value" = "xno"; then
15754 eval "$var=0"
15755 elif test "x$value" != "x"; then
15756 eval "$var=1"
15757 fi
15758
15759 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15760 eval "wx${toolkit}_VERSION=$value"
15761 fi
15762 done
15763 else
15764 for toolkit in `echo $ALL_TOOLKITS`; do
15765 if test "$has_toolkit_in_cache" != 1; then
15766 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15767 else
15768 var=DEFAULT_wxUSE_$toolkit
15769
15770 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15771 if test "x$version" != "x"; then
15772 eval "wx${toolkit}_VERSION=$version"
15773 fi
15774 fi
15775 eval "wxUSE_$toolkit=\$${var}"
15776 done
15777 fi
15778
15779 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15780 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15781 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15782
15783 case "${host}" in
15784 *-pc-os2_emx | *-pc-os2-emx )
15785 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15786 esac
15787
15788 case "$NUM_TOOLKITS" in
15789 1)
15790 ;;
15791 0)
15792 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15793 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15794 { (exit 1); exit 1; }; }
15795 ;;
15796 *)
15797 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15798 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15799 { (exit 1); exit 1; }; }
15800 esac
15801
15802 # to be removed when --disable-gtk2 isn't needed
15803 if test "x$wxUSE_GTK2" = "xyes"; then
15804 wxGTK_VERSION=2
15805 elif test "x$wxUSE_GTK2" = "xno"; then
15806 wxGTK_VERSION=1
15807 fi
15808
15809 for toolkit in `echo $ALL_TOOLKITS`; do
15810 var=wxUSE_$toolkit
15811 eval "value=\$${var}"
15812 if test "x$value" != x; then
15813 cache_var=CACHE_$toolkit
15814 eval "cache=\$${cache_var}"
15815 if test "$cache" = 1; then
15816 echo "$var=$value" >> ${wx_arg_cache_file}
15817 eval "version=\$wx${toolkit}_VERSION"
15818 if test "x$version" != "x"; then
15819 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15820 fi
15821 fi
15822 if test "$value" = 1; then
15823 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15824 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15825 echo "${ECHO_T}$toolkit_echo" >&6
15826 fi
15827 fi
15828 done
15829 else
15830 if test "x$host_alias" != "x"; then
15831 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15832 echo "${ECHO_T}base ($host_alias hosted) only" >&6
15833 else
15834 echo "$as_me:$LINENO: result: base only" >&5
15835 echo "${ECHO_T}base only" >&6
15836 fi
15837 fi
15838
15839
15840 cat >confcache <<\_ACEOF
15841 # This file is a shell script that caches the results of configure
15842 # tests run on this system so they can be shared between configure
15843 # scripts and configure runs, see configure's option --config-cache.
15844 # It is not useful on other systems. If it contains results you don't
15845 # want to keep, you may remove or edit it.
15846 #
15847 # config.status only pays attention to the cache file if you give it
15848 # the --recheck option to rerun configure.
15849 #
15850 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15851 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15852 # following values.
15853
15854 _ACEOF
15855
15856 # The following way of writing the cache mishandles newlines in values,
15857 # but we know of no workaround that is simple, portable, and efficient.
15858 # So, don't put newlines in cache variables' values.
15859 # Ultrix sh set writes to stderr and can't be redirected directly,
15860 # and sets the high bit in the cache file unless we assign to the vars.
15861 {
15862 (set) 2>&1 |
15863 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15864 *ac_space=\ *)
15865 # `set' does not quote correctly, so add quotes (double-quote
15866 # substitution turns \\\\ into \\, and sed turns \\ into \).
15867 sed -n \
15868 "s/'/'\\\\''/g;
15869 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15870 ;;
15871 *)
15872 # `set' quotes correctly as required by POSIX, so do not add quotes.
15873 sed -n \
15874 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15875 ;;
15876 esac;
15877 } |
15878 sed '
15879 t clear
15880 : clear
15881 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15882 t end
15883 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15884 : end' >>confcache
15885 if diff $cache_file confcache >/dev/null 2>&1; then :; else
15886 if test -w $cache_file; then
15887 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15888 cat confcache >$cache_file
15889 else
15890 echo "not updating unwritable cache $cache_file"
15891 fi
15892 fi
15893 rm -f confcache
15894
15895 CFLAGS=${CFLAGS:=}
15896
15897
15898
15899 ac_ext=c
15900 ac_cpp='$CPP $CPPFLAGS'
15901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15904 if test -n "$ac_tool_prefix"; then
15905 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15906 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15907 echo "$as_me:$LINENO: checking for $ac_word" >&5
15908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15909 if test "${ac_cv_prog_CC+set}" = set; then
15910 echo $ECHO_N "(cached) $ECHO_C" >&6
15911 else
15912 if test -n "$CC"; then
15913 ac_cv_prog_CC="$CC" # Let the user override the test.
15914 else
15915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15916 for as_dir in $PATH
15917 do
15918 IFS=$as_save_IFS
15919 test -z "$as_dir" && as_dir=.
15920 for ac_exec_ext in '' $ac_executable_extensions; do
15921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15922 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15924 break 2
15925 fi
15926 done
15927 done
15928
15929 fi
15930 fi
15931 CC=$ac_cv_prog_CC
15932 if test -n "$CC"; then
15933 echo "$as_me:$LINENO: result: $CC" >&5
15934 echo "${ECHO_T}$CC" >&6
15935 else
15936 echo "$as_me:$LINENO: result: no" >&5
15937 echo "${ECHO_T}no" >&6
15938 fi
15939
15940 fi
15941 if test -z "$ac_cv_prog_CC"; then
15942 ac_ct_CC=$CC
15943 # Extract the first word of "gcc", so it can be a program name with args.
15944 set dummy gcc; ac_word=$2
15945 echo "$as_me:$LINENO: checking for $ac_word" >&5
15946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15947 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15948 echo $ECHO_N "(cached) $ECHO_C" >&6
15949 else
15950 if test -n "$ac_ct_CC"; then
15951 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15952 else
15953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15954 for as_dir in $PATH
15955 do
15956 IFS=$as_save_IFS
15957 test -z "$as_dir" && as_dir=.
15958 for ac_exec_ext in '' $ac_executable_extensions; do
15959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15960 ac_cv_prog_ac_ct_CC="gcc"
15961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15962 break 2
15963 fi
15964 done
15965 done
15966
15967 fi
15968 fi
15969 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15970 if test -n "$ac_ct_CC"; then
15971 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15972 echo "${ECHO_T}$ac_ct_CC" >&6
15973 else
15974 echo "$as_me:$LINENO: result: no" >&5
15975 echo "${ECHO_T}no" >&6
15976 fi
15977
15978 CC=$ac_ct_CC
15979 else
15980 CC="$ac_cv_prog_CC"
15981 fi
15982
15983 if test -z "$CC"; then
15984 if test -n "$ac_tool_prefix"; then
15985 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15986 set dummy ${ac_tool_prefix}cc; ac_word=$2
15987 echo "$as_me:$LINENO: checking for $ac_word" >&5
15988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15989 if test "${ac_cv_prog_CC+set}" = set; then
15990 echo $ECHO_N "(cached) $ECHO_C" >&6
15991 else
15992 if test -n "$CC"; then
15993 ac_cv_prog_CC="$CC" # Let the user override the test.
15994 else
15995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15996 for as_dir in $PATH
15997 do
15998 IFS=$as_save_IFS
15999 test -z "$as_dir" && as_dir=.
16000 for ac_exec_ext in '' $ac_executable_extensions; do
16001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16002 ac_cv_prog_CC="${ac_tool_prefix}cc"
16003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16004 break 2
16005 fi
16006 done
16007 done
16008
16009 fi
16010 fi
16011 CC=$ac_cv_prog_CC
16012 if test -n "$CC"; then
16013 echo "$as_me:$LINENO: result: $CC" >&5
16014 echo "${ECHO_T}$CC" >&6
16015 else
16016 echo "$as_me:$LINENO: result: no" >&5
16017 echo "${ECHO_T}no" >&6
16018 fi
16019
16020 fi
16021 if test -z "$ac_cv_prog_CC"; then
16022 ac_ct_CC=$CC
16023 # Extract the first word of "cc", so it can be a program name with args.
16024 set dummy cc; ac_word=$2
16025 echo "$as_me:$LINENO: checking for $ac_word" >&5
16026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16027 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16028 echo $ECHO_N "(cached) $ECHO_C" >&6
16029 else
16030 if test -n "$ac_ct_CC"; then
16031 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16032 else
16033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16034 for as_dir in $PATH
16035 do
16036 IFS=$as_save_IFS
16037 test -z "$as_dir" && as_dir=.
16038 for ac_exec_ext in '' $ac_executable_extensions; do
16039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16040 ac_cv_prog_ac_ct_CC="cc"
16041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16042 break 2
16043 fi
16044 done
16045 done
16046
16047 fi
16048 fi
16049 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16050 if test -n "$ac_ct_CC"; then
16051 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16052 echo "${ECHO_T}$ac_ct_CC" >&6
16053 else
16054 echo "$as_me:$LINENO: result: no" >&5
16055 echo "${ECHO_T}no" >&6
16056 fi
16057
16058 CC=$ac_ct_CC
16059 else
16060 CC="$ac_cv_prog_CC"
16061 fi
16062
16063 fi
16064 if test -z "$CC"; then
16065 # Extract the first word of "cc", so it can be a program name with args.
16066 set dummy cc; ac_word=$2
16067 echo "$as_me:$LINENO: checking for $ac_word" >&5
16068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16069 if test "${ac_cv_prog_CC+set}" = set; then
16070 echo $ECHO_N "(cached) $ECHO_C" >&6
16071 else
16072 if test -n "$CC"; then
16073 ac_cv_prog_CC="$CC" # Let the user override the test.
16074 else
16075 ac_prog_rejected=no
16076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16077 for as_dir in $PATH
16078 do
16079 IFS=$as_save_IFS
16080 test -z "$as_dir" && as_dir=.
16081 for ac_exec_ext in '' $ac_executable_extensions; do
16082 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16083 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16084 ac_prog_rejected=yes
16085 continue
16086 fi
16087 ac_cv_prog_CC="cc"
16088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16089 break 2
16090 fi
16091 done
16092 done
16093
16094 if test $ac_prog_rejected = yes; then
16095 # We found a bogon in the path, so make sure we never use it.
16096 set dummy $ac_cv_prog_CC
16097 shift
16098 if test $# != 0; then
16099 # We chose a different compiler from the bogus one.
16100 # However, it has the same basename, so the bogon will be chosen
16101 # first if we set CC to just the basename; use the full file name.
16102 shift
16103 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16104 fi
16105 fi
16106 fi
16107 fi
16108 CC=$ac_cv_prog_CC
16109 if test -n "$CC"; then
16110 echo "$as_me:$LINENO: result: $CC" >&5
16111 echo "${ECHO_T}$CC" >&6
16112 else
16113 echo "$as_me:$LINENO: result: no" >&5
16114 echo "${ECHO_T}no" >&6
16115 fi
16116
16117 fi
16118 if test -z "$CC"; then
16119 if test -n "$ac_tool_prefix"; then
16120 for ac_prog in cl
16121 do
16122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16124 echo "$as_me:$LINENO: checking for $ac_word" >&5
16125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16126 if test "${ac_cv_prog_CC+set}" = set; then
16127 echo $ECHO_N "(cached) $ECHO_C" >&6
16128 else
16129 if test -n "$CC"; then
16130 ac_cv_prog_CC="$CC" # Let the user override the test.
16131 else
16132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16133 for as_dir in $PATH
16134 do
16135 IFS=$as_save_IFS
16136 test -z "$as_dir" && as_dir=.
16137 for ac_exec_ext in '' $ac_executable_extensions; do
16138 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16139 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16141 break 2
16142 fi
16143 done
16144 done
16145
16146 fi
16147 fi
16148 CC=$ac_cv_prog_CC
16149 if test -n "$CC"; then
16150 echo "$as_me:$LINENO: result: $CC" >&5
16151 echo "${ECHO_T}$CC" >&6
16152 else
16153 echo "$as_me:$LINENO: result: no" >&5
16154 echo "${ECHO_T}no" >&6
16155 fi
16156
16157 test -n "$CC" && break
16158 done
16159 fi
16160 if test -z "$CC"; then
16161 ac_ct_CC=$CC
16162 for ac_prog in cl
16163 do
16164 # Extract the first word of "$ac_prog", so it can be a program name with args.
16165 set dummy $ac_prog; ac_word=$2
16166 echo "$as_me:$LINENO: checking for $ac_word" >&5
16167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16168 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16169 echo $ECHO_N "(cached) $ECHO_C" >&6
16170 else
16171 if test -n "$ac_ct_CC"; then
16172 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16173 else
16174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16175 for as_dir in $PATH
16176 do
16177 IFS=$as_save_IFS
16178 test -z "$as_dir" && as_dir=.
16179 for ac_exec_ext in '' $ac_executable_extensions; do
16180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16181 ac_cv_prog_ac_ct_CC="$ac_prog"
16182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16183 break 2
16184 fi
16185 done
16186 done
16187
16188 fi
16189 fi
16190 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16191 if test -n "$ac_ct_CC"; then
16192 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16193 echo "${ECHO_T}$ac_ct_CC" >&6
16194 else
16195 echo "$as_me:$LINENO: result: no" >&5
16196 echo "${ECHO_T}no" >&6
16197 fi
16198
16199 test -n "$ac_ct_CC" && break
16200 done
16201
16202 CC=$ac_ct_CC
16203 fi
16204
16205 fi
16206
16207
16208 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16209 See \`config.log' for more details." >&5
16210 echo "$as_me: error: no acceptable C compiler found in \$PATH
16211 See \`config.log' for more details." >&2;}
16212 { (exit 1); exit 1; }; }
16213
16214 # Provide some information about the compiler.
16215 echo "$as_me:$LINENO:" \
16216 "checking for C compiler version" >&5
16217 ac_compiler=`set X $ac_compile; echo $2`
16218 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
16219 (eval $ac_compiler --version </dev/null >&5) 2>&5
16220 ac_status=$?
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); }
16223 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
16224 (eval $ac_compiler -v </dev/null >&5) 2>&5
16225 ac_status=$?
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }
16228 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
16229 (eval $ac_compiler -V </dev/null >&5) 2>&5
16230 ac_status=$?
16231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16232 (exit $ac_status); }
16233
16234 cat >conftest.$ac_ext <<_ACEOF
16235 /* confdefs.h. */
16236 _ACEOF
16237 cat confdefs.h >>conftest.$ac_ext
16238 cat >>conftest.$ac_ext <<_ACEOF
16239 /* end confdefs.h. */
16240
16241 int
16242 main ()
16243 {
16244
16245 ;
16246 return 0;
16247 }
16248 _ACEOF
16249 ac_clean_files_save=$ac_clean_files
16250 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16251 # Try to create an executable without -o first, disregard a.out.
16252 # It will help us diagnose broken compilers, and finding out an intuition
16253 # of exeext.
16254 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16255 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
16256 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16257 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
16258 (eval $ac_link_default) 2>&5
16259 ac_status=$?
16260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16261 (exit $ac_status); }; then
16262 # Find the output, starting from the most likely. This scheme is
16263 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
16264 # resort.
16265
16266 # Be careful to initialize this variable, since it used to be cached.
16267 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
16268 ac_cv_exeext=
16269 # b.out is created by i960 compilers.
16270 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
16271 do
16272 test -f "$ac_file" || continue
16273 case $ac_file in
16274 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
16275 ;;
16276 conftest.$ac_ext )
16277 # This is the source file.
16278 ;;
16279 [ab].out )
16280 # We found the default executable, but exeext='' is most
16281 # certainly right.
16282 break;;
16283 *.* )
16284 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16285 # FIXME: I believe we export ac_cv_exeext for Libtool,
16286 # but it would be cool to find out if it's true. Does anybody
16287 # maintain Libtool? --akim.
16288 export ac_cv_exeext
16289 break;;
16290 * )
16291 break;;
16292 esac
16293 done
16294 else
16295 echo "$as_me: failed program was:" >&5
16296 sed 's/^/| /' conftest.$ac_ext >&5
16297
16298 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16299 See \`config.log' for more details." >&5
16300 echo "$as_me: error: C compiler cannot create executables
16301 See \`config.log' for more details." >&2;}
16302 { (exit 77); exit 77; }; }
16303 fi
16304
16305 ac_exeext=$ac_cv_exeext
16306 echo "$as_me:$LINENO: result: $ac_file" >&5
16307 echo "${ECHO_T}$ac_file" >&6
16308
16309 # Check the compiler produces executables we can run. If not, either
16310 # the compiler is broken, or we cross compile.
16311 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16312 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
16313 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16314 # If not cross compiling, check that we can run a simple program.
16315 if test "$cross_compiling" != yes; then
16316 if { ac_try='./$ac_file'
16317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16318 (eval $ac_try) 2>&5
16319 ac_status=$?
16320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16321 (exit $ac_status); }; }; then
16322 cross_compiling=no
16323 else
16324 if test "$cross_compiling" = maybe; then
16325 cross_compiling=yes
16326 else
16327 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16328 If you meant to cross compile, use \`--host'.
16329 See \`config.log' for more details." >&5
16330 echo "$as_me: error: cannot run C compiled programs.
16331 If you meant to cross compile, use \`--host'.
16332 See \`config.log' for more details." >&2;}
16333 { (exit 1); exit 1; }; }
16334 fi
16335 fi
16336 fi
16337 echo "$as_me:$LINENO: result: yes" >&5
16338 echo "${ECHO_T}yes" >&6
16339
16340 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16341 ac_clean_files=$ac_clean_files_save
16342 # Check the compiler produces executables we can run. If not, either
16343 # the compiler is broken, or we cross compile.
16344 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16345 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
16346 echo "$as_me:$LINENO: result: $cross_compiling" >&5
16347 echo "${ECHO_T}$cross_compiling" >&6
16348
16349 echo "$as_me:$LINENO: checking for suffix of executables" >&5
16350 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
16351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16352 (eval $ac_link) 2>&5
16353 ac_status=$?
16354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16355 (exit $ac_status); }; then
16356 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16357 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16358 # work properly (i.e., refer to `conftest.exe'), while it won't with
16359 # `rm'.
16360 for ac_file in conftest.exe conftest conftest.*; do
16361 test -f "$ac_file" || continue
16362 case $ac_file in
16363 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
16364 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16365 export ac_cv_exeext
16366 break;;
16367 * ) break;;
16368 esac
16369 done
16370 else
16371 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16372 See \`config.log' for more details." >&5
16373 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16374 See \`config.log' for more details." >&2;}
16375 { (exit 1); exit 1; }; }
16376 fi
16377
16378 rm -f conftest$ac_cv_exeext
16379 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16380 echo "${ECHO_T}$ac_cv_exeext" >&6
16381
16382 rm -f conftest.$ac_ext
16383 EXEEXT=$ac_cv_exeext
16384 ac_exeext=$EXEEXT
16385 echo "$as_me:$LINENO: checking for suffix of object files" >&5
16386 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
16387 if test "${ac_cv_objext+set}" = set; then
16388 echo $ECHO_N "(cached) $ECHO_C" >&6
16389 else
16390 cat >conftest.$ac_ext <<_ACEOF
16391 /* confdefs.h. */
16392 _ACEOF
16393 cat confdefs.h >>conftest.$ac_ext
16394 cat >>conftest.$ac_ext <<_ACEOF
16395 /* end confdefs.h. */
16396
16397 int
16398 main ()
16399 {
16400
16401 ;
16402 return 0;
16403 }
16404 _ACEOF
16405 rm -f conftest.o conftest.obj
16406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16407 (eval $ac_compile) 2>&5
16408 ac_status=$?
16409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16410 (exit $ac_status); }; then
16411 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
16412 case $ac_file in
16413 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
16414 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16415 break;;
16416 esac
16417 done
16418 else
16419 echo "$as_me: failed program was:" >&5
16420 sed 's/^/| /' conftest.$ac_ext >&5
16421
16422 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16423 See \`config.log' for more details." >&5
16424 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16425 See \`config.log' for more details." >&2;}
16426 { (exit 1); exit 1; }; }
16427 fi
16428
16429 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16430 fi
16431 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16432 echo "${ECHO_T}$ac_cv_objext" >&6
16433 OBJEXT=$ac_cv_objext
16434 ac_objext=$OBJEXT
16435 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16436 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
16437 if test "${ac_cv_c_compiler_gnu+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 #ifndef __GNUC__
16451 choke me
16452 #endif
16453
16454 ;
16455 return 0;
16456 }
16457 _ACEOF
16458 rm -f conftest.$ac_objext
16459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16460 (eval $ac_compile) 2>conftest.er1
16461 ac_status=$?
16462 grep -v '^ *+' conftest.er1 >conftest.err
16463 rm -f conftest.er1
16464 cat conftest.err >&5
16465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16466 (exit $ac_status); } &&
16467 { ac_try='test -z "$ac_c_werror_flag"
16468 || 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 ac_compiler_gnu=yes
16481 else
16482 echo "$as_me: failed program was:" >&5
16483 sed 's/^/| /' conftest.$ac_ext >&5
16484
16485 ac_compiler_gnu=no
16486 fi
16487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16488 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16489
16490 fi
16491 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16492 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
16493 GCC=`test $ac_compiler_gnu = yes && echo yes`
16494 ac_test_CFLAGS=${CFLAGS+set}
16495 ac_save_CFLAGS=$CFLAGS
16496 CFLAGS="-g"
16497 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16498 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
16499 if test "${ac_cv_prog_cc_g+set}" = set; then
16500 echo $ECHO_N "(cached) $ECHO_C" >&6
16501 else
16502 cat >conftest.$ac_ext <<_ACEOF
16503 /* confdefs.h. */
16504 _ACEOF
16505 cat confdefs.h >>conftest.$ac_ext
16506 cat >>conftest.$ac_ext <<_ACEOF
16507 /* end confdefs.h. */
16508
16509 int
16510 main ()
16511 {
16512
16513 ;
16514 return 0;
16515 }
16516 _ACEOF
16517 rm -f conftest.$ac_objext
16518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16519 (eval $ac_compile) 2>conftest.er1
16520 ac_status=$?
16521 grep -v '^ *+' conftest.er1 >conftest.err
16522 rm -f conftest.er1
16523 cat conftest.err >&5
16524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525 (exit $ac_status); } &&
16526 { ac_try='test -z "$ac_c_werror_flag"
16527 || test ! -s conftest.err'
16528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16529 (eval $ac_try) 2>&5
16530 ac_status=$?
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); }; } &&
16533 { ac_try='test -s conftest.$ac_objext'
16534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16535 (eval $ac_try) 2>&5
16536 ac_status=$?
16537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16538 (exit $ac_status); }; }; then
16539 ac_cv_prog_cc_g=yes
16540 else
16541 echo "$as_me: failed program was:" >&5
16542 sed 's/^/| /' conftest.$ac_ext >&5
16543
16544 ac_cv_prog_cc_g=no
16545 fi
16546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16547 fi
16548 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16549 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
16550 if test "$ac_test_CFLAGS" = set; then
16551 CFLAGS=$ac_save_CFLAGS
16552 elif test $ac_cv_prog_cc_g = yes; then
16553 if test "$GCC" = yes; then
16554 CFLAGS="-g -O2"
16555 else
16556 CFLAGS="-g"
16557 fi
16558 else
16559 if test "$GCC" = yes; then
16560 CFLAGS="-O2"
16561 else
16562 CFLAGS=
16563 fi
16564 fi
16565 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
16566 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
16567 if test "${ac_cv_prog_cc_stdc+set}" = set; then
16568 echo $ECHO_N "(cached) $ECHO_C" >&6
16569 else
16570 ac_cv_prog_cc_stdc=no
16571 ac_save_CC=$CC
16572 cat >conftest.$ac_ext <<_ACEOF
16573 /* confdefs.h. */
16574 _ACEOF
16575 cat confdefs.h >>conftest.$ac_ext
16576 cat >>conftest.$ac_ext <<_ACEOF
16577 /* end confdefs.h. */
16578 #include <stdarg.h>
16579 #include <stdio.h>
16580 #include <sys/types.h>
16581 #include <sys/stat.h>
16582 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16583 struct buf { int x; };
16584 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16585 static char *e (p, i)
16586 char **p;
16587 int i;
16588 {
16589 return p[i];
16590 }
16591 static char *f (char * (*g) (char **, int), char **p, ...)
16592 {
16593 char *s;
16594 va_list v;
16595 va_start (v,p);
16596 s = g (p, va_arg (v,int));
16597 va_end (v);
16598 return s;
16599 }
16600
16601 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16602 function prototypes and stuff, but not '\xHH' hex character constants.
16603 These don't provoke an error unfortunately, instead are silently treated
16604 as 'x'. The following induces an error, until -std1 is added to get
16605 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16606 array size at least. It's necessary to write '\x00'==0 to get something
16607 that's true only with -std1. */
16608 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16609
16610 int test (int i, double x);
16611 struct s1 {int (*f) (int a);};
16612 struct s2 {int (*f) (double a);};
16613 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16614 int argc;
16615 char **argv;
16616 int
16617 main ()
16618 {
16619 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16620 ;
16621 return 0;
16622 }
16623 _ACEOF
16624 # Don't try gcc -ansi; that turns off useful extensions and
16625 # breaks some systems' header files.
16626 # AIX -qlanglvl=ansi
16627 # Ultrix and OSF/1 -std1
16628 # HP-UX 10.20 and later -Ae
16629 # HP-UX older versions -Aa -D_HPUX_SOURCE
16630 # SVR4 -Xc -D__EXTENSIONS__
16631 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16632 do
16633 CC="$ac_save_CC $ac_arg"
16634 rm -f conftest.$ac_objext
16635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16636 (eval $ac_compile) 2>conftest.er1
16637 ac_status=$?
16638 grep -v '^ *+' conftest.er1 >conftest.err
16639 rm -f conftest.er1
16640 cat conftest.err >&5
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); } &&
16643 { ac_try='test -z "$ac_c_werror_flag"
16644 || test ! -s conftest.err'
16645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16646 (eval $ac_try) 2>&5
16647 ac_status=$?
16648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16649 (exit $ac_status); }; } &&
16650 { ac_try='test -s conftest.$ac_objext'
16651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16652 (eval $ac_try) 2>&5
16653 ac_status=$?
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); }; }; then
16656 ac_cv_prog_cc_stdc=$ac_arg
16657 break
16658 else
16659 echo "$as_me: failed program was:" >&5
16660 sed 's/^/| /' conftest.$ac_ext >&5
16661
16662 fi
16663 rm -f conftest.err conftest.$ac_objext
16664 done
16665 rm -f conftest.$ac_ext conftest.$ac_objext
16666 CC=$ac_save_CC
16667
16668 fi
16669
16670 case "x$ac_cv_prog_cc_stdc" in
16671 x|xno)
16672 echo "$as_me:$LINENO: result: none needed" >&5
16673 echo "${ECHO_T}none needed" >&6 ;;
16674 *)
16675 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
16676 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
16677 CC="$CC $ac_cv_prog_cc_stdc" ;;
16678 esac
16679
16680 # Some people use a C++ compiler to compile C. Since we use `exit',
16681 # in C++ we need to declare it. In case someone uses the same compiler
16682 # for both compiling C and C++ we need to have the C++ compiler decide
16683 # the declaration of exit, since it's the most demanding environment.
16684 cat >conftest.$ac_ext <<_ACEOF
16685 #ifndef __cplusplus
16686 choke me
16687 #endif
16688 _ACEOF
16689 rm -f conftest.$ac_objext
16690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16691 (eval $ac_compile) 2>conftest.er1
16692 ac_status=$?
16693 grep -v '^ *+' conftest.er1 >conftest.err
16694 rm -f conftest.er1
16695 cat conftest.err >&5
16696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697 (exit $ac_status); } &&
16698 { ac_try='test -z "$ac_c_werror_flag"
16699 || test ! -s conftest.err'
16700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16701 (eval $ac_try) 2>&5
16702 ac_status=$?
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); }; } &&
16705 { ac_try='test -s conftest.$ac_objext'
16706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16707 (eval $ac_try) 2>&5
16708 ac_status=$?
16709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710 (exit $ac_status); }; }; then
16711 for ac_declaration in \
16712 '' \
16713 'extern "C" void std::exit (int) throw (); using std::exit;' \
16714 'extern "C" void std::exit (int); using std::exit;' \
16715 'extern "C" void exit (int) throw ();' \
16716 'extern "C" void exit (int);' \
16717 'void exit (int);'
16718 do
16719 cat >conftest.$ac_ext <<_ACEOF
16720 /* confdefs.h. */
16721 _ACEOF
16722 cat confdefs.h >>conftest.$ac_ext
16723 cat >>conftest.$ac_ext <<_ACEOF
16724 /* end confdefs.h. */
16725 $ac_declaration
16726 #include <stdlib.h>
16727 int
16728 main ()
16729 {
16730 exit (42);
16731 ;
16732 return 0;
16733 }
16734 _ACEOF
16735 rm -f conftest.$ac_objext
16736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16737 (eval $ac_compile) 2>conftest.er1
16738 ac_status=$?
16739 grep -v '^ *+' conftest.er1 >conftest.err
16740 rm -f conftest.er1
16741 cat conftest.err >&5
16742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16743 (exit $ac_status); } &&
16744 { ac_try='test -z "$ac_c_werror_flag"
16745 || test ! -s conftest.err'
16746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16747 (eval $ac_try) 2>&5
16748 ac_status=$?
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); }; } &&
16751 { ac_try='test -s conftest.$ac_objext'
16752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16753 (eval $ac_try) 2>&5
16754 ac_status=$?
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); }; }; then
16757 :
16758 else
16759 echo "$as_me: failed program was:" >&5
16760 sed 's/^/| /' conftest.$ac_ext >&5
16761
16762 continue
16763 fi
16764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16765 cat >conftest.$ac_ext <<_ACEOF
16766 /* confdefs.h. */
16767 _ACEOF
16768 cat confdefs.h >>conftest.$ac_ext
16769 cat >>conftest.$ac_ext <<_ACEOF
16770 /* end confdefs.h. */
16771 $ac_declaration
16772 int
16773 main ()
16774 {
16775 exit (42);
16776 ;
16777 return 0;
16778 }
16779 _ACEOF
16780 rm -f conftest.$ac_objext
16781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16782 (eval $ac_compile) 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); } &&
16789 { ac_try='test -z "$ac_c_werror_flag"
16790 || test ! -s conftest.err'
16791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16792 (eval $ac_try) 2>&5
16793 ac_status=$?
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); }; } &&
16796 { ac_try='test -s conftest.$ac_objext'
16797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16798 (eval $ac_try) 2>&5
16799 ac_status=$?
16800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16801 (exit $ac_status); }; }; then
16802 break
16803 else
16804 echo "$as_me: failed program was:" >&5
16805 sed 's/^/| /' conftest.$ac_ext >&5
16806
16807 fi
16808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16809 done
16810 rm -f conftest*
16811 if test -n "$ac_declaration"; then
16812 echo '#ifdef __cplusplus' >>confdefs.h
16813 echo $ac_declaration >>confdefs.h
16814 echo '#endif' >>confdefs.h
16815 fi
16816
16817 else
16818 echo "$as_me: failed program was:" >&5
16819 sed 's/^/| /' conftest.$ac_ext >&5
16820
16821 fi
16822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16823 ac_ext=c
16824 ac_cpp='$CPP $CPPFLAGS'
16825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16828
16829
16830
16831
16832 ac_ext=c
16833 ac_cpp='$CPP $CPPFLAGS'
16834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16837
16838 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16839 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
16840 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16841 echo $ECHO_N "(cached) $ECHO_C" >&6
16842 else
16843 cat >conftest.$ac_ext <<_ACEOF
16844 /* confdefs.h. */
16845 _ACEOF
16846 cat confdefs.h >>conftest.$ac_ext
16847 cat >>conftest.$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16849
16850 int
16851 main ()
16852 {
16853
16854 #ifndef __INTEL_COMPILER
16855 choke me
16856 #endif
16857
16858 ;
16859 return 0;
16860 }
16861 _ACEOF
16862 rm -f conftest.$ac_objext
16863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16864 (eval $ac_compile) 2>conftest.er1
16865 ac_status=$?
16866 grep -v '^ *+' conftest.er1 >conftest.err
16867 rm -f conftest.er1
16868 cat conftest.err >&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); } &&
16871 { ac_try='test -z "$ac_c_werror_flag"
16872 || test ! -s conftest.err'
16873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16874 (eval $ac_try) 2>&5
16875 ac_status=$?
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); }; } &&
16878 { ac_try='test -s conftest.$ac_objext'
16879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16880 (eval $ac_try) 2>&5
16881 ac_status=$?
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); }; }; then
16884 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16885 else
16886 echo "$as_me: failed program was:" >&5
16887 sed 's/^/| /' conftest.$ac_ext >&5
16888
16889 bakefile_cv_c_compiler___INTEL_COMPILER=no
16890
16891 fi
16892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16893
16894
16895 fi
16896 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16897 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
16898 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16899 :; INTELCC=yes
16900 else
16901 :;
16902 fi
16903 ac_ext=c
16904 ac_cpp='$CPP $CPPFLAGS'
16905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16908
16909
16910
16911
16912 if test "x$GCC" != "xyes"; then
16913 if test "xCC" = "xC"; then
16914 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16915 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
16916 if test "${bakefile_cv_c_exto+set}" = set; then
16917 echo $ECHO_N "(cached) $ECHO_C" >&6
16918 else
16919 cat >conftest.$ac_ext <<_ACEOF
16920 /* confdefs.h. */
16921 _ACEOF
16922 cat confdefs.h >>conftest.$ac_ext
16923 cat >>conftest.$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16925
16926 int
16927 main ()
16928 {
16929
16930 ;
16931 return 0;
16932 }
16933 _ACEOF
16934 rm -f conftest.$ac_objext conftest.$ac_ext.o
16935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16936 (eval $ac_compile) 2>&5
16937 ac_status=$?
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); }; then
16940 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16941 case $ac_file in
16942 conftest.$ac_ext.o)
16943 bakefile_cv_c_exto="-ext o"
16944 ;;
16945 *)
16946 ;;
16947 esac
16948 done
16949 else
16950 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16951 See \`config.log' for more details." >&5
16952 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16953 See \`config.log' for more details." >&2;}
16954 { (exit 1); exit 1; }; }
16955
16956 fi
16957
16958 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16959
16960 fi
16961 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16962 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
16963 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16964 if test "c" = "c"; then
16965 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16966 fi
16967 if test "c" = "cxx"; then
16968 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16969 fi
16970 fi
16971
16972 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16973 unset ac_cv_prog_cc_g
16974 ac_test_CFLAGS=${CFLAGS+set}
16975 ac_save_CFLAGS=$CFLAGS
16976 CFLAGS="-g"
16977 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16978 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
16979 if test "${ac_cv_prog_cc_g+set}" = set; then
16980 echo $ECHO_N "(cached) $ECHO_C" >&6
16981 else
16982 cat >conftest.$ac_ext <<_ACEOF
16983 /* confdefs.h. */
16984 _ACEOF
16985 cat confdefs.h >>conftest.$ac_ext
16986 cat >>conftest.$ac_ext <<_ACEOF
16987 /* end confdefs.h. */
16988
16989 int
16990 main ()
16991 {
16992
16993 ;
16994 return 0;
16995 }
16996 _ACEOF
16997 rm -f conftest.$ac_objext
16998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16999 (eval $ac_compile) 2>conftest.er1
17000 ac_status=$?
17001 grep -v '^ *+' conftest.er1 >conftest.err
17002 rm -f conftest.er1
17003 cat conftest.err >&5
17004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17005 (exit $ac_status); } &&
17006 { ac_try='test -z "$ac_c_werror_flag"
17007 || test ! -s conftest.err'
17008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17009 (eval $ac_try) 2>&5
17010 ac_status=$?
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); }; } &&
17013 { ac_try='test -s conftest.$ac_objext'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17016 ac_status=$?
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; }; then
17019 ac_cv_prog_cc_g=yes
17020 else
17021 echo "$as_me: failed program was:" >&5
17022 sed 's/^/| /' conftest.$ac_ext >&5
17023
17024 ac_cv_prog_cc_g=no
17025 fi
17026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17027 fi
17028 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17029 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
17030 if test "$ac_test_CFLAGS" = set; then
17031 CFLAGS=$ac_save_CFLAGS
17032 elif test $ac_cv_prog_cc_g = yes; then
17033 if test "$GCC" = yes; then
17034 CFLAGS="-g -O2"
17035 else
17036 CFLAGS="-g"
17037 fi
17038 else
17039 if test "$GCC" = yes; then
17040 CFLAGS="-O2"
17041 else
17042 CFLAGS=
17043 fi
17044 fi
17045 fi
17046 fi
17047
17048 case `uname -s` in
17049 AIX*)
17050
17051
17052 ac_ext=c
17053 ac_cpp='$CPP $CPPFLAGS'
17054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17057
17058 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17059 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
17060 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17061 echo $ECHO_N "(cached) $ECHO_C" >&6
17062 else
17063 cat >conftest.$ac_ext <<_ACEOF
17064 /* confdefs.h. */
17065 _ACEOF
17066 cat confdefs.h >>conftest.$ac_ext
17067 cat >>conftest.$ac_ext <<_ACEOF
17068 /* end confdefs.h. */
17069
17070 int
17071 main ()
17072 {
17073
17074 #ifndef __xlC__
17075 choke me
17076 #endif
17077
17078 ;
17079 return 0;
17080 }
17081 _ACEOF
17082 rm -f conftest.$ac_objext
17083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17084 (eval $ac_compile) 2>conftest.er1
17085 ac_status=$?
17086 grep -v '^ *+' conftest.er1 >conftest.err
17087 rm -f conftest.er1
17088 cat conftest.err >&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); } &&
17091 { ac_try='test -z "$ac_c_werror_flag"
17092 || test ! -s conftest.err'
17093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17094 (eval $ac_try) 2>&5
17095 ac_status=$?
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); }; } &&
17098 { ac_try='test -s conftest.$ac_objext'
17099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17100 (eval $ac_try) 2>&5
17101 ac_status=$?
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); }; }; then
17104 bakefile_cv_c_compiler___xlC__=yes
17105 else
17106 echo "$as_me: failed program was:" >&5
17107 sed 's/^/| /' conftest.$ac_ext >&5
17108
17109 bakefile_cv_c_compiler___xlC__=no
17110
17111 fi
17112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17113
17114
17115 fi
17116 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17117 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6
17118 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17119 :; XLCC=yes
17120 else
17121 :;
17122 fi
17123 ac_ext=c
17124 ac_cpp='$CPP $CPPFLAGS'
17125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17128
17129
17130
17131 ;;
17132
17133 Darwin)
17134
17135
17136 ac_ext=c
17137 ac_cpp='$CPP $CPPFLAGS'
17138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17141
17142 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17143 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
17144 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17145 echo $ECHO_N "(cached) $ECHO_C" >&6
17146 else
17147 cat >conftest.$ac_ext <<_ACEOF
17148 /* confdefs.h. */
17149 _ACEOF
17150 cat confdefs.h >>conftest.$ac_ext
17151 cat >>conftest.$ac_ext <<_ACEOF
17152 /* end confdefs.h. */
17153
17154 int
17155 main ()
17156 {
17157
17158 #ifndef __MWERKS__
17159 choke me
17160 #endif
17161
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_c_werror_flag"
17176 || test ! -s conftest.err'
17177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17178 (eval $ac_try) 2>&5
17179 ac_status=$?
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); }; } &&
17182 { ac_try='test -s conftest.$ac_objext'
17183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17184 (eval $ac_try) 2>&5
17185 ac_status=$?
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); }; }; then
17188 bakefile_cv_c_compiler___MWERKS__=yes
17189 else
17190 echo "$as_me: failed program was:" >&5
17191 sed 's/^/| /' conftest.$ac_ext >&5
17192
17193 bakefile_cv_c_compiler___MWERKS__=no
17194
17195 fi
17196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17197
17198
17199 fi
17200 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17201 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6
17202 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17203 :; MWCC=yes
17204 else
17205 :;
17206 fi
17207 ac_ext=c
17208 ac_cpp='$CPP $CPPFLAGS'
17209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17212
17213
17214
17215
17216
17217 ac_ext=c
17218 ac_cpp='$CPP $CPPFLAGS'
17219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17222
17223 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17224 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
17225 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17227 else
17228 cat >conftest.$ac_ext <<_ACEOF
17229 /* confdefs.h. */
17230 _ACEOF
17231 cat confdefs.h >>conftest.$ac_ext
17232 cat >>conftest.$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17234
17235 int
17236 main ()
17237 {
17238
17239 #ifndef __xlC__
17240 choke me
17241 #endif
17242
17243 ;
17244 return 0;
17245 }
17246 _ACEOF
17247 rm -f conftest.$ac_objext
17248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17249 (eval $ac_compile) 2>conftest.er1
17250 ac_status=$?
17251 grep -v '^ *+' conftest.er1 >conftest.err
17252 rm -f conftest.er1
17253 cat conftest.err >&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); } &&
17256 { ac_try='test -z "$ac_c_werror_flag"
17257 || test ! -s conftest.err'
17258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17259 (eval $ac_try) 2>&5
17260 ac_status=$?
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); }; } &&
17263 { ac_try='test -s conftest.$ac_objext'
17264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17265 (eval $ac_try) 2>&5
17266 ac_status=$?
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); }; }; then
17269 bakefile_cv_c_compiler___xlC__=yes
17270 else
17271 echo "$as_me: failed program was:" >&5
17272 sed 's/^/| /' conftest.$ac_ext >&5
17273
17274 bakefile_cv_c_compiler___xlC__=no
17275
17276 fi
17277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17278
17279
17280 fi
17281 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17282 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6
17283 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17284 :; XLCC=yes
17285 else
17286 :;
17287 fi
17288 ac_ext=c
17289 ac_cpp='$CPP $CPPFLAGS'
17290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17293
17294
17295
17296 ;;
17297
17298 IRIX*)
17299
17300
17301 ac_ext=c
17302 ac_cpp='$CPP $CPPFLAGS'
17303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17306
17307 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17308 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
17309 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17310 echo $ECHO_N "(cached) $ECHO_C" >&6
17311 else
17312 cat >conftest.$ac_ext <<_ACEOF
17313 /* confdefs.h. */
17314 _ACEOF
17315 cat confdefs.h >>conftest.$ac_ext
17316 cat >>conftest.$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17318
17319 int
17320 main ()
17321 {
17322
17323 #ifndef _SGI_COMPILER_VERSION
17324 choke me
17325 #endif
17326
17327 ;
17328 return 0;
17329 }
17330 _ACEOF
17331 rm -f conftest.$ac_objext
17332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17333 (eval $ac_compile) 2>conftest.er1
17334 ac_status=$?
17335 grep -v '^ *+' conftest.er1 >conftest.err
17336 rm -f conftest.er1
17337 cat conftest.err >&5
17338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17339 (exit $ac_status); } &&
17340 { ac_try='test -z "$ac_c_werror_flag"
17341 || test ! -s conftest.err'
17342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17343 (eval $ac_try) 2>&5
17344 ac_status=$?
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); }; } &&
17347 { ac_try='test -s conftest.$ac_objext'
17348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17349 (eval $ac_try) 2>&5
17350 ac_status=$?
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); }; }; then
17353 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17354 else
17355 echo "$as_me: failed program was:" >&5
17356 sed 's/^/| /' conftest.$ac_ext >&5
17357
17358 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17359
17360 fi
17361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17362
17363
17364 fi
17365 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17366 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
17367 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17368 :; SGICC=yes
17369 else
17370 :;
17371 fi
17372 ac_ext=c
17373 ac_cpp='$CPP $CPPFLAGS'
17374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17377
17378
17379
17380 ;;
17381
17382 Linux*)
17383
17384
17385 ac_ext=c
17386 ac_cpp='$CPP $CPPFLAGS'
17387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17390
17391 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17392 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
17393 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17394 echo $ECHO_N "(cached) $ECHO_C" >&6
17395 else
17396 cat >conftest.$ac_ext <<_ACEOF
17397 /* confdefs.h. */
17398 _ACEOF
17399 cat confdefs.h >>conftest.$ac_ext
17400 cat >>conftest.$ac_ext <<_ACEOF
17401 /* end confdefs.h. */
17402
17403 int
17404 main ()
17405 {
17406
17407 #ifndef __SUNPRO_C
17408 choke me
17409 #endif
17410
17411 ;
17412 return 0;
17413 }
17414 _ACEOF
17415 rm -f conftest.$ac_objext
17416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17417 (eval $ac_compile) 2>conftest.er1
17418 ac_status=$?
17419 grep -v '^ *+' conftest.er1 >conftest.err
17420 rm -f conftest.er1
17421 cat conftest.err >&5
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); } &&
17424 { ac_try='test -z "$ac_c_werror_flag"
17425 || test ! -s conftest.err'
17426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17427 (eval $ac_try) 2>&5
17428 ac_status=$?
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); }; } &&
17431 { ac_try='test -s conftest.$ac_objext'
17432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17433 (eval $ac_try) 2>&5
17434 ac_status=$?
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); }; }; then
17437 bakefile_cv_c_compiler___SUNPRO_C=yes
17438 else
17439 echo "$as_me: failed program was:" >&5
17440 sed 's/^/| /' conftest.$ac_ext >&5
17441
17442 bakefile_cv_c_compiler___SUNPRO_C=no
17443
17444 fi
17445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17446
17447
17448 fi
17449 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17450 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
17451 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17452 :; SUNCC=yes
17453 else
17454 :;
17455 fi
17456 ac_ext=c
17457 ac_cpp='$CPP $CPPFLAGS'
17458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17461
17462
17463
17464 ;;
17465
17466 HP-UX*)
17467
17468
17469 ac_ext=c
17470 ac_cpp='$CPP $CPPFLAGS'
17471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17474
17475 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17476 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
17477 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17478 echo $ECHO_N "(cached) $ECHO_C" >&6
17479 else
17480 cat >conftest.$ac_ext <<_ACEOF
17481 /* confdefs.h. */
17482 _ACEOF
17483 cat confdefs.h >>conftest.$ac_ext
17484 cat >>conftest.$ac_ext <<_ACEOF
17485 /* end confdefs.h. */
17486
17487 int
17488 main ()
17489 {
17490
17491 #ifndef __HP_cc
17492 choke me
17493 #endif
17494
17495 ;
17496 return 0;
17497 }
17498 _ACEOF
17499 rm -f conftest.$ac_objext
17500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17501 (eval $ac_compile) 2>conftest.er1
17502 ac_status=$?
17503 grep -v '^ *+' conftest.er1 >conftest.err
17504 rm -f conftest.er1
17505 cat conftest.err >&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); } &&
17508 { ac_try='test -z "$ac_c_werror_flag"
17509 || test ! -s conftest.err'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17512 ac_status=$?
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; } &&
17515 { ac_try='test -s conftest.$ac_objext'
17516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17517 (eval $ac_try) 2>&5
17518 ac_status=$?
17519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17520 (exit $ac_status); }; }; then
17521 bakefile_cv_c_compiler___HP_cc=yes
17522 else
17523 echo "$as_me: failed program was:" >&5
17524 sed 's/^/| /' conftest.$ac_ext >&5
17525
17526 bakefile_cv_c_compiler___HP_cc=no
17527
17528 fi
17529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17530
17531
17532 fi
17533 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17534 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
17535 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17536 :; HPCC=yes
17537 else
17538 :;
17539 fi
17540 ac_ext=c
17541 ac_cpp='$CPP $CPPFLAGS'
17542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17545
17546
17547
17548 ;;
17549
17550 OSF1)
17551
17552
17553 ac_ext=c
17554 ac_cpp='$CPP $CPPFLAGS'
17555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17558
17559 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17560 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
17561 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17562 echo $ECHO_N "(cached) $ECHO_C" >&6
17563 else
17564 cat >conftest.$ac_ext <<_ACEOF
17565 /* confdefs.h. */
17566 _ACEOF
17567 cat confdefs.h >>conftest.$ac_ext
17568 cat >>conftest.$ac_ext <<_ACEOF
17569 /* end confdefs.h. */
17570
17571 int
17572 main ()
17573 {
17574
17575 #ifndef __DECC
17576 choke me
17577 #endif
17578
17579 ;
17580 return 0;
17581 }
17582 _ACEOF
17583 rm -f conftest.$ac_objext
17584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17585 (eval $ac_compile) 2>conftest.er1
17586 ac_status=$?
17587 grep -v '^ *+' conftest.er1 >conftest.err
17588 rm -f conftest.er1
17589 cat conftest.err >&5
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); } &&
17592 { ac_try='test -z "$ac_c_werror_flag"
17593 || test ! -s conftest.err'
17594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17595 (eval $ac_try) 2>&5
17596 ac_status=$?
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); }; } &&
17599 { ac_try='test -s conftest.$ac_objext'
17600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17601 (eval $ac_try) 2>&5
17602 ac_status=$?
17603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17604 (exit $ac_status); }; }; then
17605 bakefile_cv_c_compiler___DECC=yes
17606 else
17607 echo "$as_me: failed program was:" >&5
17608 sed 's/^/| /' conftest.$ac_ext >&5
17609
17610 bakefile_cv_c_compiler___DECC=no
17611
17612 fi
17613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17614
17615
17616 fi
17617 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17618 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
17619 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17620 :; COMPAQCC=yes
17621 else
17622 :;
17623 fi
17624 ac_ext=c
17625 ac_cpp='$CPP $CPPFLAGS'
17626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17629
17630
17631
17632 ;;
17633
17634 SunOS)
17635
17636
17637 ac_ext=c
17638 ac_cpp='$CPP $CPPFLAGS'
17639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17642
17643 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17644 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
17645 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17646 echo $ECHO_N "(cached) $ECHO_C" >&6
17647 else
17648 cat >conftest.$ac_ext <<_ACEOF
17649 /* confdefs.h. */
17650 _ACEOF
17651 cat confdefs.h >>conftest.$ac_ext
17652 cat >>conftest.$ac_ext <<_ACEOF
17653 /* end confdefs.h. */
17654
17655 int
17656 main ()
17657 {
17658
17659 #ifndef __SUNPRO_C
17660 choke me
17661 #endif
17662
17663 ;
17664 return 0;
17665 }
17666 _ACEOF
17667 rm -f conftest.$ac_objext
17668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17669 (eval $ac_compile) 2>conftest.er1
17670 ac_status=$?
17671 grep -v '^ *+' conftest.er1 >conftest.err
17672 rm -f conftest.er1
17673 cat conftest.err >&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); } &&
17676 { ac_try='test -z "$ac_c_werror_flag"
17677 || test ! -s conftest.err'
17678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17679 (eval $ac_try) 2>&5
17680 ac_status=$?
17681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682 (exit $ac_status); }; } &&
17683 { ac_try='test -s conftest.$ac_objext'
17684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17685 (eval $ac_try) 2>&5
17686 ac_status=$?
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); }; }; then
17689 bakefile_cv_c_compiler___SUNPRO_C=yes
17690 else
17691 echo "$as_me: failed program was:" >&5
17692 sed 's/^/| /' conftest.$ac_ext >&5
17693
17694 bakefile_cv_c_compiler___SUNPRO_C=no
17695
17696 fi
17697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17698
17699
17700 fi
17701 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17702 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
17703 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17704 :; SUNCC=yes
17705 else
17706 :;
17707 fi
17708 ac_ext=c
17709 ac_cpp='$CPP $CPPFLAGS'
17710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17713
17714
17715
17716 ;;
17717 esac
17718 fi
17719
17720
17721
17722 ac_ext=c
17723 ac_cpp='$CPP $CPPFLAGS'
17724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17727 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17728 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
17729 # On Suns, sometimes $CPP names a directory.
17730 if test -n "$CPP" && test -d "$CPP"; then
17731 CPP=
17732 fi
17733 if test -z "$CPP"; then
17734 if test "${ac_cv_prog_CPP+set}" = set; then
17735 echo $ECHO_N "(cached) $ECHO_C" >&6
17736 else
17737 # Double quotes because CPP needs to be expanded
17738 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17739 do
17740 ac_preproc_ok=false
17741 for ac_c_preproc_warn_flag in '' yes
17742 do
17743 # Use a header file that comes with gcc, so configuring glibc
17744 # with a fresh cross-compiler works.
17745 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17746 # <limits.h> exists even on freestanding compilers.
17747 # On the NeXT, cc -E runs the code through the compiler's parser,
17748 # not just through cpp. "Syntax error" is here to catch this case.
17749 cat >conftest.$ac_ext <<_ACEOF
17750 /* confdefs.h. */
17751 _ACEOF
17752 cat confdefs.h >>conftest.$ac_ext
17753 cat >>conftest.$ac_ext <<_ACEOF
17754 /* end confdefs.h. */
17755 #ifdef __STDC__
17756 # include <limits.h>
17757 #else
17758 # include <assert.h>
17759 #endif
17760 Syntax error
17761 _ACEOF
17762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17763 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17764 ac_status=$?
17765 grep -v '^ *+' conftest.er1 >conftest.err
17766 rm -f conftest.er1
17767 cat conftest.err >&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); } >/dev/null; then
17770 if test -s conftest.err; then
17771 ac_cpp_err=$ac_c_preproc_warn_flag
17772 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17773 else
17774 ac_cpp_err=
17775 fi
17776 else
17777 ac_cpp_err=yes
17778 fi
17779 if test -z "$ac_cpp_err"; then
17780 :
17781 else
17782 echo "$as_me: failed program was:" >&5
17783 sed 's/^/| /' conftest.$ac_ext >&5
17784
17785 # Broken: fails on valid input.
17786 continue
17787 fi
17788 rm -f conftest.err conftest.$ac_ext
17789
17790 # OK, works on sane cases. Now check whether non-existent headers
17791 # can be detected and how.
17792 cat >conftest.$ac_ext <<_ACEOF
17793 /* confdefs.h. */
17794 _ACEOF
17795 cat confdefs.h >>conftest.$ac_ext
17796 cat >>conftest.$ac_ext <<_ACEOF
17797 /* end confdefs.h. */
17798 #include <ac_nonexistent.h>
17799 _ACEOF
17800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17801 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17802 ac_status=$?
17803 grep -v '^ *+' conftest.er1 >conftest.err
17804 rm -f conftest.er1
17805 cat conftest.err >&5
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); } >/dev/null; then
17808 if test -s conftest.err; then
17809 ac_cpp_err=$ac_c_preproc_warn_flag
17810 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17811 else
17812 ac_cpp_err=
17813 fi
17814 else
17815 ac_cpp_err=yes
17816 fi
17817 if test -z "$ac_cpp_err"; then
17818 # Broken: success on invalid input.
17819 continue
17820 else
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.$ac_ext >&5
17823
17824 # Passes both tests.
17825 ac_preproc_ok=:
17826 break
17827 fi
17828 rm -f conftest.err conftest.$ac_ext
17829
17830 done
17831 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17832 rm -f conftest.err conftest.$ac_ext
17833 if $ac_preproc_ok; then
17834 break
17835 fi
17836
17837 done
17838 ac_cv_prog_CPP=$CPP
17839
17840 fi
17841 CPP=$ac_cv_prog_CPP
17842 else
17843 ac_cv_prog_CPP=$CPP
17844 fi
17845 echo "$as_me:$LINENO: result: $CPP" >&5
17846 echo "${ECHO_T}$CPP" >&6
17847 ac_preproc_ok=false
17848 for ac_c_preproc_warn_flag in '' yes
17849 do
17850 # Use a header file that comes with gcc, so configuring glibc
17851 # with a fresh cross-compiler works.
17852 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17853 # <limits.h> exists even on freestanding compilers.
17854 # On the NeXT, cc -E runs the code through the compiler's parser,
17855 # not just through cpp. "Syntax error" is here to catch this case.
17856 cat >conftest.$ac_ext <<_ACEOF
17857 /* confdefs.h. */
17858 _ACEOF
17859 cat confdefs.h >>conftest.$ac_ext
17860 cat >>conftest.$ac_ext <<_ACEOF
17861 /* end confdefs.h. */
17862 #ifdef __STDC__
17863 # include <limits.h>
17864 #else
17865 # include <assert.h>
17866 #endif
17867 Syntax error
17868 _ACEOF
17869 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17870 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17871 ac_status=$?
17872 grep -v '^ *+' conftest.er1 >conftest.err
17873 rm -f conftest.er1
17874 cat conftest.err >&5
17875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17876 (exit $ac_status); } >/dev/null; then
17877 if test -s conftest.err; then
17878 ac_cpp_err=$ac_c_preproc_warn_flag
17879 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17880 else
17881 ac_cpp_err=
17882 fi
17883 else
17884 ac_cpp_err=yes
17885 fi
17886 if test -z "$ac_cpp_err"; then
17887 :
17888 else
17889 echo "$as_me: failed program was:" >&5
17890 sed 's/^/| /' conftest.$ac_ext >&5
17891
17892 # Broken: fails on valid input.
17893 continue
17894 fi
17895 rm -f conftest.err conftest.$ac_ext
17896
17897 # OK, works on sane cases. Now check whether non-existent headers
17898 # can be detected and how.
17899 cat >conftest.$ac_ext <<_ACEOF
17900 /* confdefs.h. */
17901 _ACEOF
17902 cat confdefs.h >>conftest.$ac_ext
17903 cat >>conftest.$ac_ext <<_ACEOF
17904 /* end confdefs.h. */
17905 #include <ac_nonexistent.h>
17906 _ACEOF
17907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17908 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17909 ac_status=$?
17910 grep -v '^ *+' conftest.er1 >conftest.err
17911 rm -f conftest.er1
17912 cat conftest.err >&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); } >/dev/null; then
17915 if test -s conftest.err; then
17916 ac_cpp_err=$ac_c_preproc_warn_flag
17917 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17918 else
17919 ac_cpp_err=
17920 fi
17921 else
17922 ac_cpp_err=yes
17923 fi
17924 if test -z "$ac_cpp_err"; then
17925 # Broken: success on invalid input.
17926 continue
17927 else
17928 echo "$as_me: failed program was:" >&5
17929 sed 's/^/| /' conftest.$ac_ext >&5
17930
17931 # Passes both tests.
17932 ac_preproc_ok=:
17933 break
17934 fi
17935 rm -f conftest.err conftest.$ac_ext
17936
17937 done
17938 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17939 rm -f conftest.err conftest.$ac_ext
17940 if $ac_preproc_ok; then
17941 :
17942 else
17943 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17944 See \`config.log' for more details." >&5
17945 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17946 See \`config.log' for more details." >&2;}
17947 { (exit 1); exit 1; }; }
17948 fi
17949
17950 ac_ext=c
17951 ac_cpp='$CPP $CPPFLAGS'
17952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17955
17956
17957 echo "$as_me:$LINENO: checking for egrep" >&5
17958 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
17959 if test "${ac_cv_prog_egrep+set}" = set; then
17960 echo $ECHO_N "(cached) $ECHO_C" >&6
17961 else
17962 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
17963 then ac_cv_prog_egrep='grep -E'
17964 else ac_cv_prog_egrep='egrep'
17965 fi
17966 fi
17967 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
17968 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
17969 EGREP=$ac_cv_prog_egrep
17970
17971
17972 if test $ac_cv_c_compiler_gnu = yes; then
17973 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17974 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
17975 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17976 echo $ECHO_N "(cached) $ECHO_C" >&6
17977 else
17978 ac_pattern="Autoconf.*'x'"
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 #include <sgtty.h>
17986 Autoconf TIOCGETP
17987 _ACEOF
17988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17989 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17990 ac_cv_prog_gcc_traditional=yes
17991 else
17992 ac_cv_prog_gcc_traditional=no
17993 fi
17994 rm -f conftest*
17995
17996
17997 if test $ac_cv_prog_gcc_traditional = no; then
17998 cat >conftest.$ac_ext <<_ACEOF
17999 /* confdefs.h. */
18000 _ACEOF
18001 cat confdefs.h >>conftest.$ac_ext
18002 cat >>conftest.$ac_ext <<_ACEOF
18003 /* end confdefs.h. */
18004 #include <termio.h>
18005 Autoconf TCGETA
18006 _ACEOF
18007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18008 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18009 ac_cv_prog_gcc_traditional=yes
18010 fi
18011 rm -f conftest*
18012
18013 fi
18014 fi
18015 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18016 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
18017 if test $ac_cv_prog_gcc_traditional = yes; then
18018 CC="$CC -traditional"
18019 fi
18020 fi
18021
18022
18023 CXXFLAGS=${CXXFLAGS:=}
18024
18025
18026
18027 ac_ext=cc
18028 ac_cpp='$CXXCPP $CPPFLAGS'
18029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18032 if test -n "$ac_tool_prefix"; then
18033 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
18034 do
18035 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18036 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18037 echo "$as_me:$LINENO: checking for $ac_word" >&5
18038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18039 if test "${ac_cv_prog_CXX+set}" = set; then
18040 echo $ECHO_N "(cached) $ECHO_C" >&6
18041 else
18042 if test -n "$CXX"; then
18043 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18044 else
18045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18046 for as_dir in $PATH
18047 do
18048 IFS=$as_save_IFS
18049 test -z "$as_dir" && as_dir=.
18050 for ac_exec_ext in '' $ac_executable_extensions; do
18051 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18052 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18054 break 2
18055 fi
18056 done
18057 done
18058
18059 fi
18060 fi
18061 CXX=$ac_cv_prog_CXX
18062 if test -n "$CXX"; then
18063 echo "$as_me:$LINENO: result: $CXX" >&5
18064 echo "${ECHO_T}$CXX" >&6
18065 else
18066 echo "$as_me:$LINENO: result: no" >&5
18067 echo "${ECHO_T}no" >&6
18068 fi
18069
18070 test -n "$CXX" && break
18071 done
18072 fi
18073 if test -z "$CXX"; then
18074 ac_ct_CXX=$CXX
18075 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
18076 do
18077 # Extract the first word of "$ac_prog", so it can be a program name with args.
18078 set dummy $ac_prog; ac_word=$2
18079 echo "$as_me:$LINENO: checking for $ac_word" >&5
18080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18081 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18082 echo $ECHO_N "(cached) $ECHO_C" >&6
18083 else
18084 if test -n "$ac_ct_CXX"; then
18085 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18086 else
18087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18088 for as_dir in $PATH
18089 do
18090 IFS=$as_save_IFS
18091 test -z "$as_dir" && as_dir=.
18092 for ac_exec_ext in '' $ac_executable_extensions; do
18093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18094 ac_cv_prog_ac_ct_CXX="$ac_prog"
18095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18096 break 2
18097 fi
18098 done
18099 done
18100
18101 fi
18102 fi
18103 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18104 if test -n "$ac_ct_CXX"; then
18105 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18106 echo "${ECHO_T}$ac_ct_CXX" >&6
18107 else
18108 echo "$as_me:$LINENO: result: no" >&5
18109 echo "${ECHO_T}no" >&6
18110 fi
18111
18112 test -n "$ac_ct_CXX" && break
18113 done
18114 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
18115
18116 CXX=$ac_ct_CXX
18117 fi
18118
18119
18120 # Provide some information about the compiler.
18121 echo "$as_me:$LINENO:" \
18122 "checking for C++ compiler version" >&5
18123 ac_compiler=`set X $ac_compile; echo $2`
18124 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
18125 (eval $ac_compiler --version </dev/null >&5) 2>&5
18126 ac_status=$?
18127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18128 (exit $ac_status); }
18129 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
18130 (eval $ac_compiler -v </dev/null >&5) 2>&5
18131 ac_status=$?
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); }
18134 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
18135 (eval $ac_compiler -V </dev/null >&5) 2>&5
18136 ac_status=$?
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }
18139
18140 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18141 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
18142 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18143 echo $ECHO_N "(cached) $ECHO_C" >&6
18144 else
18145 cat >conftest.$ac_ext <<_ACEOF
18146 /* confdefs.h. */
18147 _ACEOF
18148 cat confdefs.h >>conftest.$ac_ext
18149 cat >>conftest.$ac_ext <<_ACEOF
18150 /* end confdefs.h. */
18151
18152 int
18153 main ()
18154 {
18155 #ifndef __GNUC__
18156 choke me
18157 #endif
18158
18159 ;
18160 return 0;
18161 }
18162 _ACEOF
18163 rm -f conftest.$ac_objext
18164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18165 (eval $ac_compile) 2>conftest.er1
18166 ac_status=$?
18167 grep -v '^ *+' conftest.er1 >conftest.err
18168 rm -f conftest.er1
18169 cat conftest.err >&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); } &&
18172 { ac_try='test -z "$ac_cxx_werror_flag"
18173 || test ! -s conftest.err'
18174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18175 (eval $ac_try) 2>&5
18176 ac_status=$?
18177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18178 (exit $ac_status); }; } &&
18179 { ac_try='test -s conftest.$ac_objext'
18180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18181 (eval $ac_try) 2>&5
18182 ac_status=$?
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); }; }; then
18185 ac_compiler_gnu=yes
18186 else
18187 echo "$as_me: failed program was:" >&5
18188 sed 's/^/| /' conftest.$ac_ext >&5
18189
18190 ac_compiler_gnu=no
18191 fi
18192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18193 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18194
18195 fi
18196 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18197 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
18198 GXX=`test $ac_compiler_gnu = yes && echo yes`
18199 ac_test_CXXFLAGS=${CXXFLAGS+set}
18200 ac_save_CXXFLAGS=$CXXFLAGS
18201 CXXFLAGS="-g"
18202 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18203 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
18204 if test "${ac_cv_prog_cxx_g+set}" = set; then
18205 echo $ECHO_N "(cached) $ECHO_C" >&6
18206 else
18207 cat >conftest.$ac_ext <<_ACEOF
18208 /* confdefs.h. */
18209 _ACEOF
18210 cat confdefs.h >>conftest.$ac_ext
18211 cat >>conftest.$ac_ext <<_ACEOF
18212 /* end confdefs.h. */
18213
18214 int
18215 main ()
18216 {
18217
18218 ;
18219 return 0;
18220 }
18221 _ACEOF
18222 rm -f conftest.$ac_objext
18223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18224 (eval $ac_compile) 2>conftest.er1
18225 ac_status=$?
18226 grep -v '^ *+' conftest.er1 >conftest.err
18227 rm -f conftest.er1
18228 cat conftest.err >&5
18229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230 (exit $ac_status); } &&
18231 { ac_try='test -z "$ac_cxx_werror_flag"
18232 || test ! -s conftest.err'
18233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18234 (eval $ac_try) 2>&5
18235 ac_status=$?
18236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18237 (exit $ac_status); }; } &&
18238 { ac_try='test -s conftest.$ac_objext'
18239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18240 (eval $ac_try) 2>&5
18241 ac_status=$?
18242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243 (exit $ac_status); }; }; then
18244 ac_cv_prog_cxx_g=yes
18245 else
18246 echo "$as_me: failed program was:" >&5
18247 sed 's/^/| /' conftest.$ac_ext >&5
18248
18249 ac_cv_prog_cxx_g=no
18250 fi
18251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18252 fi
18253 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18254 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
18255 if test "$ac_test_CXXFLAGS" = set; then
18256 CXXFLAGS=$ac_save_CXXFLAGS
18257 elif test $ac_cv_prog_cxx_g = yes; then
18258 if test "$GXX" = yes; then
18259 CXXFLAGS="-g -O2"
18260 else
18261 CXXFLAGS="-g"
18262 fi
18263 else
18264 if test "$GXX" = yes; then
18265 CXXFLAGS="-O2"
18266 else
18267 CXXFLAGS=
18268 fi
18269 fi
18270 for ac_declaration in \
18271 '' \
18272 'extern "C" void std::exit (int) throw (); using std::exit;' \
18273 'extern "C" void std::exit (int); using std::exit;' \
18274 'extern "C" void exit (int) throw ();' \
18275 'extern "C" void exit (int);' \
18276 'void exit (int);'
18277 do
18278 cat >conftest.$ac_ext <<_ACEOF
18279 /* confdefs.h. */
18280 _ACEOF
18281 cat confdefs.h >>conftest.$ac_ext
18282 cat >>conftest.$ac_ext <<_ACEOF
18283 /* end confdefs.h. */
18284 $ac_declaration
18285 #include <stdlib.h>
18286 int
18287 main ()
18288 {
18289 exit (42);
18290 ;
18291 return 0;
18292 }
18293 _ACEOF
18294 rm -f conftest.$ac_objext
18295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18296 (eval $ac_compile) 2>conftest.er1
18297 ac_status=$?
18298 grep -v '^ *+' conftest.er1 >conftest.err
18299 rm -f conftest.er1
18300 cat conftest.err >&5
18301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302 (exit $ac_status); } &&
18303 { ac_try='test -z "$ac_cxx_werror_flag"
18304 || test ! -s conftest.err'
18305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18306 (eval $ac_try) 2>&5
18307 ac_status=$?
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); }; } &&
18310 { ac_try='test -s conftest.$ac_objext'
18311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18312 (eval $ac_try) 2>&5
18313 ac_status=$?
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); }; }; then
18316 :
18317 else
18318 echo "$as_me: failed program was:" >&5
18319 sed 's/^/| /' conftest.$ac_ext >&5
18320
18321 continue
18322 fi
18323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18324 cat >conftest.$ac_ext <<_ACEOF
18325 /* confdefs.h. */
18326 _ACEOF
18327 cat confdefs.h >>conftest.$ac_ext
18328 cat >>conftest.$ac_ext <<_ACEOF
18329 /* end confdefs.h. */
18330 $ac_declaration
18331 int
18332 main ()
18333 {
18334 exit (42);
18335 ;
18336 return 0;
18337 }
18338 _ACEOF
18339 rm -f conftest.$ac_objext
18340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18341 (eval $ac_compile) 2>conftest.er1
18342 ac_status=$?
18343 grep -v '^ *+' conftest.er1 >conftest.err
18344 rm -f conftest.er1
18345 cat conftest.err >&5
18346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18347 (exit $ac_status); } &&
18348 { ac_try='test -z "$ac_cxx_werror_flag"
18349 || test ! -s conftest.err'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18352 ac_status=$?
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; } &&
18355 { ac_try='test -s conftest.$ac_objext'
18356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18357 (eval $ac_try) 2>&5
18358 ac_status=$?
18359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18360 (exit $ac_status); }; }; then
18361 break
18362 else
18363 echo "$as_me: failed program was:" >&5
18364 sed 's/^/| /' conftest.$ac_ext >&5
18365
18366 fi
18367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18368 done
18369 rm -f conftest*
18370 if test -n "$ac_declaration"; then
18371 echo '#ifdef __cplusplus' >>confdefs.h
18372 echo $ac_declaration >>confdefs.h
18373 echo '#endif' >>confdefs.h
18374 fi
18375
18376 ac_ext=c
18377 ac_cpp='$CPP $CPPFLAGS'
18378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18381
18382
18383
18384
18385 ac_ext=cc
18386 ac_cpp='$CXXCPP $CPPFLAGS'
18387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18390
18391 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18392 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
18393 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18394 echo $ECHO_N "(cached) $ECHO_C" >&6
18395 else
18396 cat >conftest.$ac_ext <<_ACEOF
18397 /* confdefs.h. */
18398 _ACEOF
18399 cat confdefs.h >>conftest.$ac_ext
18400 cat >>conftest.$ac_ext <<_ACEOF
18401 /* end confdefs.h. */
18402
18403 int
18404 main ()
18405 {
18406
18407 #ifndef __INTEL_COMPILER
18408 choke me
18409 #endif
18410
18411 ;
18412 return 0;
18413 }
18414 _ACEOF
18415 rm -f conftest.$ac_objext
18416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18417 (eval $ac_compile) 2>conftest.er1
18418 ac_status=$?
18419 grep -v '^ *+' conftest.er1 >conftest.err
18420 rm -f conftest.er1
18421 cat conftest.err >&5
18422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18423 (exit $ac_status); } &&
18424 { ac_try='test -z "$ac_cxx_werror_flag"
18425 || test ! -s conftest.err'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18428 ac_status=$?
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; } &&
18431 { ac_try='test -s conftest.$ac_objext'
18432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18433 (eval $ac_try) 2>&5
18434 ac_status=$?
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); }; }; then
18437 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18438 else
18439 echo "$as_me: failed program was:" >&5
18440 sed 's/^/| /' conftest.$ac_ext >&5
18441
18442 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18443
18444 fi
18445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18446
18447
18448 fi
18449 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18450 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
18451 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18452 :; INTELCXX=yes
18453 else
18454 :;
18455 fi
18456 ac_ext=c
18457 ac_cpp='$CPP $CPPFLAGS'
18458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18461
18462
18463
18464
18465 if test "x$GCXX" != "xyes"; then
18466 if test "xCXX" = "xC"; then
18467 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18468 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
18469 if test "${bakefile_cv_c_exto+set}" = set; then
18470 echo $ECHO_N "(cached) $ECHO_C" >&6
18471 else
18472 cat >conftest.$ac_ext <<_ACEOF
18473 /* confdefs.h. */
18474 _ACEOF
18475 cat confdefs.h >>conftest.$ac_ext
18476 cat >>conftest.$ac_ext <<_ACEOF
18477 /* end confdefs.h. */
18478
18479 int
18480 main ()
18481 {
18482
18483 ;
18484 return 0;
18485 }
18486 _ACEOF
18487 rm -f conftest.$ac_objext conftest.$ac_ext.o
18488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18489 (eval $ac_compile) 2>&5
18490 ac_status=$?
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); }; then
18493 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18494 case $ac_file in
18495 conftest.$ac_ext.o)
18496 bakefile_cv_c_exto="-ext o"
18497 ;;
18498 *)
18499 ;;
18500 esac
18501 done
18502 else
18503 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18504 See \`config.log' for more details." >&5
18505 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18506 See \`config.log' for more details." >&2;}
18507 { (exit 1); exit 1; }; }
18508
18509 fi
18510
18511 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18512
18513 fi
18514 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18515 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
18516 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18517 if test "c" = "c"; then
18518 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18519 fi
18520 if test "c" = "cxx"; then
18521 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18522 fi
18523 fi
18524
18525 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18526 unset ac_cv_prog_cc_g
18527 ac_test_CFLAGS=${CFLAGS+set}
18528 ac_save_CFLAGS=$CFLAGS
18529 CFLAGS="-g"
18530 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18531 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
18532 if test "${ac_cv_prog_cc_g+set}" = set; then
18533 echo $ECHO_N "(cached) $ECHO_C" >&6
18534 else
18535 cat >conftest.$ac_ext <<_ACEOF
18536 /* confdefs.h. */
18537 _ACEOF
18538 cat confdefs.h >>conftest.$ac_ext
18539 cat >>conftest.$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18541
18542 int
18543 main ()
18544 {
18545
18546 ;
18547 return 0;
18548 }
18549 _ACEOF
18550 rm -f conftest.$ac_objext
18551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18552 (eval $ac_compile) 2>conftest.er1
18553 ac_status=$?
18554 grep -v '^ *+' conftest.er1 >conftest.err
18555 rm -f conftest.er1
18556 cat conftest.err >&5
18557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558 (exit $ac_status); } &&
18559 { ac_try='test -z "$ac_c_werror_flag"
18560 || test ! -s conftest.err'
18561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18562 (eval $ac_try) 2>&5
18563 ac_status=$?
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); }; } &&
18566 { ac_try='test -s conftest.$ac_objext'
18567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568 (eval $ac_try) 2>&5
18569 ac_status=$?
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); }; }; then
18572 ac_cv_prog_cc_g=yes
18573 else
18574 echo "$as_me: failed program was:" >&5
18575 sed 's/^/| /' conftest.$ac_ext >&5
18576
18577 ac_cv_prog_cc_g=no
18578 fi
18579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18580 fi
18581 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18582 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
18583 if test "$ac_test_CFLAGS" = set; then
18584 CFLAGS=$ac_save_CFLAGS
18585 elif test $ac_cv_prog_cc_g = yes; then
18586 if test "$GCC" = yes; then
18587 CFLAGS="-g -O2"
18588 else
18589 CFLAGS="-g"
18590 fi
18591 else
18592 if test "$GCC" = yes; then
18593 CFLAGS="-O2"
18594 else
18595 CFLAGS=
18596 fi
18597 fi
18598 fi
18599 fi
18600
18601 case `uname -s` in
18602 AIX*)
18603
18604
18605 ac_ext=cc
18606 ac_cpp='$CXXCPP $CPPFLAGS'
18607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18610
18611 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18612 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
18613 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18614 echo $ECHO_N "(cached) $ECHO_C" >&6
18615 else
18616 cat >conftest.$ac_ext <<_ACEOF
18617 /* confdefs.h. */
18618 _ACEOF
18619 cat confdefs.h >>conftest.$ac_ext
18620 cat >>conftest.$ac_ext <<_ACEOF
18621 /* end confdefs.h. */
18622
18623 int
18624 main ()
18625 {
18626
18627 #ifndef __xlC__
18628 choke me
18629 #endif
18630
18631 ;
18632 return 0;
18633 }
18634 _ACEOF
18635 rm -f conftest.$ac_objext
18636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18637 (eval $ac_compile) 2>conftest.er1
18638 ac_status=$?
18639 grep -v '^ *+' conftest.er1 >conftest.err
18640 rm -f conftest.er1
18641 cat conftest.err >&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); } &&
18644 { ac_try='test -z "$ac_cxx_werror_flag"
18645 || test ! -s conftest.err'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18648 ac_status=$?
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; } &&
18651 { ac_try='test -s conftest.$ac_objext'
18652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18653 (eval $ac_try) 2>&5
18654 ac_status=$?
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); }; }; then
18657 bakefile_cv_cxx_compiler___xlC__=yes
18658 else
18659 echo "$as_me: failed program was:" >&5
18660 sed 's/^/| /' conftest.$ac_ext >&5
18661
18662 bakefile_cv_cxx_compiler___xlC__=no
18663
18664 fi
18665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18666
18667
18668 fi
18669 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18670 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6
18671 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18672 :; XLCXX=yes
18673 else
18674 :;
18675 fi
18676 ac_ext=c
18677 ac_cpp='$CPP $CPPFLAGS'
18678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18681
18682
18683
18684 ;;
18685
18686 Darwin)
18687
18688
18689 ac_ext=cc
18690 ac_cpp='$CXXCPP $CPPFLAGS'
18691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18694
18695 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18696 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
18697 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18698 echo $ECHO_N "(cached) $ECHO_C" >&6
18699 else
18700 cat >conftest.$ac_ext <<_ACEOF
18701 /* confdefs.h. */
18702 _ACEOF
18703 cat confdefs.h >>conftest.$ac_ext
18704 cat >>conftest.$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18706
18707 int
18708 main ()
18709 {
18710
18711 #ifndef __MWERKS__
18712 choke me
18713 #endif
18714
18715 ;
18716 return 0;
18717 }
18718 _ACEOF
18719 rm -f conftest.$ac_objext
18720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18721 (eval $ac_compile) 2>conftest.er1
18722 ac_status=$?
18723 grep -v '^ *+' conftest.er1 >conftest.err
18724 rm -f conftest.er1
18725 cat conftest.err >&5
18726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18727 (exit $ac_status); } &&
18728 { ac_try='test -z "$ac_cxx_werror_flag"
18729 || test ! -s conftest.err'
18730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18731 (eval $ac_try) 2>&5
18732 ac_status=$?
18733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18734 (exit $ac_status); }; } &&
18735 { ac_try='test -s conftest.$ac_objext'
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18738 ac_status=$?
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; }; then
18741 bakefile_cv_cxx_compiler___MWERKS__=yes
18742 else
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18745
18746 bakefile_cv_cxx_compiler___MWERKS__=no
18747
18748 fi
18749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18750
18751
18752 fi
18753 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18754 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6
18755 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18756 :; MWCXX=yes
18757 else
18758 :;
18759 fi
18760 ac_ext=c
18761 ac_cpp='$CPP $CPPFLAGS'
18762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18765
18766
18767
18768
18769
18770 ac_ext=cc
18771 ac_cpp='$CXXCPP $CPPFLAGS'
18772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18775
18776 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18777 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
18778 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18779 echo $ECHO_N "(cached) $ECHO_C" >&6
18780 else
18781 cat >conftest.$ac_ext <<_ACEOF
18782 /* confdefs.h. */
18783 _ACEOF
18784 cat confdefs.h >>conftest.$ac_ext
18785 cat >>conftest.$ac_ext <<_ACEOF
18786 /* end confdefs.h. */
18787
18788 int
18789 main ()
18790 {
18791
18792 #ifndef __xlC__
18793 choke me
18794 #endif
18795
18796 ;
18797 return 0;
18798 }
18799 _ACEOF
18800 rm -f conftest.$ac_objext
18801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18802 (eval $ac_compile) 2>conftest.er1
18803 ac_status=$?
18804 grep -v '^ *+' conftest.er1 >conftest.err
18805 rm -f conftest.er1
18806 cat conftest.err >&5
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); } &&
18809 { ac_try='test -z "$ac_cxx_werror_flag"
18810 || test ! -s conftest.err'
18811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18812 (eval $ac_try) 2>&5
18813 ac_status=$?
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); }; } &&
18816 { ac_try='test -s conftest.$ac_objext'
18817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18818 (eval $ac_try) 2>&5
18819 ac_status=$?
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); }; }; then
18822 bakefile_cv_cxx_compiler___xlC__=yes
18823 else
18824 echo "$as_me: failed program was:" >&5
18825 sed 's/^/| /' conftest.$ac_ext >&5
18826
18827 bakefile_cv_cxx_compiler___xlC__=no
18828
18829 fi
18830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18831
18832
18833 fi
18834 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18835 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6
18836 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18837 :; XLCXX=yes
18838 else
18839 :;
18840 fi
18841 ac_ext=c
18842 ac_cpp='$CPP $CPPFLAGS'
18843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18846
18847
18848
18849 ;;
18850
18851 IRIX*)
18852
18853
18854 ac_ext=cc
18855 ac_cpp='$CXXCPP $CPPFLAGS'
18856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18859
18860 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18861 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
18862 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18863 echo $ECHO_N "(cached) $ECHO_C" >&6
18864 else
18865 cat >conftest.$ac_ext <<_ACEOF
18866 /* confdefs.h. */
18867 _ACEOF
18868 cat confdefs.h >>conftest.$ac_ext
18869 cat >>conftest.$ac_ext <<_ACEOF
18870 /* end confdefs.h. */
18871
18872 int
18873 main ()
18874 {
18875
18876 #ifndef _SGI_COMPILER_VERSION
18877 choke me
18878 #endif
18879
18880 ;
18881 return 0;
18882 }
18883 _ACEOF
18884 rm -f conftest.$ac_objext
18885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18886 (eval $ac_compile) 2>conftest.er1
18887 ac_status=$?
18888 grep -v '^ *+' conftest.er1 >conftest.err
18889 rm -f conftest.er1
18890 cat conftest.err >&5
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); } &&
18893 { ac_try='test -z "$ac_cxx_werror_flag"
18894 || test ! -s conftest.err'
18895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18896 (eval $ac_try) 2>&5
18897 ac_status=$?
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); }; } &&
18900 { ac_try='test -s conftest.$ac_objext'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18903 ac_status=$?
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; }; then
18906 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18907 else
18908 echo "$as_me: failed program was:" >&5
18909 sed 's/^/| /' conftest.$ac_ext >&5
18910
18911 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18912
18913 fi
18914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18915
18916
18917 fi
18918 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18919 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
18920 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18921 :; SGICXX=yes
18922 else
18923 :;
18924 fi
18925 ac_ext=c
18926 ac_cpp='$CPP $CPPFLAGS'
18927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18930
18931
18932
18933 ;;
18934
18935 Linux*)
18936
18937
18938 ac_ext=cc
18939 ac_cpp='$CXXCPP $CPPFLAGS'
18940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18943
18944 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18945 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
18946 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18947 echo $ECHO_N "(cached) $ECHO_C" >&6
18948 else
18949 cat >conftest.$ac_ext <<_ACEOF
18950 /* confdefs.h. */
18951 _ACEOF
18952 cat confdefs.h >>conftest.$ac_ext
18953 cat >>conftest.$ac_ext <<_ACEOF
18954 /* end confdefs.h. */
18955
18956 int
18957 main ()
18958 {
18959
18960 #ifndef __SUNPRO_CC
18961 choke me
18962 #endif
18963
18964 ;
18965 return 0;
18966 }
18967 _ACEOF
18968 rm -f conftest.$ac_objext
18969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18970 (eval $ac_compile) 2>conftest.er1
18971 ac_status=$?
18972 grep -v '^ *+' conftest.er1 >conftest.err
18973 rm -f conftest.er1
18974 cat conftest.err >&5
18975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976 (exit $ac_status); } &&
18977 { ac_try='test -z "$ac_cxx_werror_flag"
18978 || test ! -s conftest.err'
18979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18980 (eval $ac_try) 2>&5
18981 ac_status=$?
18982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18983 (exit $ac_status); }; } &&
18984 { ac_try='test -s conftest.$ac_objext'
18985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18986 (eval $ac_try) 2>&5
18987 ac_status=$?
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); }; }; then
18990 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18991 else
18992 echo "$as_me: failed program was:" >&5
18993 sed 's/^/| /' conftest.$ac_ext >&5
18994
18995 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18996
18997 fi
18998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18999
19000
19001 fi
19002 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19003 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
19004 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19005 :; SUNCXX=yes
19006 else
19007 :;
19008 fi
19009 ac_ext=c
19010 ac_cpp='$CPP $CPPFLAGS'
19011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19014
19015
19016
19017 ;;
19018
19019 HP-UX*)
19020
19021
19022 ac_ext=cc
19023 ac_cpp='$CXXCPP $CPPFLAGS'
19024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19027
19028 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19029 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
19030 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19031 echo $ECHO_N "(cached) $ECHO_C" >&6
19032 else
19033 cat >conftest.$ac_ext <<_ACEOF
19034 /* confdefs.h. */
19035 _ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19039
19040 int
19041 main ()
19042 {
19043
19044 #ifndef __HP_aCC
19045 choke me
19046 #endif
19047
19048 ;
19049 return 0;
19050 }
19051 _ACEOF
19052 rm -f conftest.$ac_objext
19053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19054 (eval $ac_compile) 2>conftest.er1
19055 ac_status=$?
19056 grep -v '^ *+' conftest.er1 >conftest.err
19057 rm -f conftest.er1
19058 cat conftest.err >&5
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); } &&
19061 { ac_try='test -z "$ac_cxx_werror_flag"
19062 || test ! -s conftest.err'
19063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19064 (eval $ac_try) 2>&5
19065 ac_status=$?
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); }; } &&
19068 { ac_try='test -s conftest.$ac_objext'
19069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19070 (eval $ac_try) 2>&5
19071 ac_status=$?
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); }; }; then
19074 bakefile_cv_cxx_compiler___HP_aCC=yes
19075 else
19076 echo "$as_me: failed program was:" >&5
19077 sed 's/^/| /' conftest.$ac_ext >&5
19078
19079 bakefile_cv_cxx_compiler___HP_aCC=no
19080
19081 fi
19082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19083
19084
19085 fi
19086 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19087 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
19088 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19089 :; HPCXX=yes
19090 else
19091 :;
19092 fi
19093 ac_ext=c
19094 ac_cpp='$CPP $CPPFLAGS'
19095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19098
19099
19100
19101 ;;
19102
19103 OSF1)
19104
19105
19106 ac_ext=cc
19107 ac_cpp='$CXXCPP $CPPFLAGS'
19108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19111
19112 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19113 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
19114 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19115 echo $ECHO_N "(cached) $ECHO_C" >&6
19116 else
19117 cat >conftest.$ac_ext <<_ACEOF
19118 /* confdefs.h. */
19119 _ACEOF
19120 cat confdefs.h >>conftest.$ac_ext
19121 cat >>conftest.$ac_ext <<_ACEOF
19122 /* end confdefs.h. */
19123
19124 int
19125 main ()
19126 {
19127
19128 #ifndef __DECCXX
19129 choke me
19130 #endif
19131
19132 ;
19133 return 0;
19134 }
19135 _ACEOF
19136 rm -f conftest.$ac_objext
19137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19138 (eval $ac_compile) 2>conftest.er1
19139 ac_status=$?
19140 grep -v '^ *+' conftest.er1 >conftest.err
19141 rm -f conftest.er1
19142 cat conftest.err >&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); } &&
19145 { ac_try='test -z "$ac_cxx_werror_flag"
19146 || test ! -s conftest.err'
19147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19148 (eval $ac_try) 2>&5
19149 ac_status=$?
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); }; } &&
19152 { ac_try='test -s conftest.$ac_objext'
19153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154 (eval $ac_try) 2>&5
19155 ac_status=$?
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; }; then
19158 bakefile_cv_cxx_compiler___DECCXX=yes
19159 else
19160 echo "$as_me: failed program was:" >&5
19161 sed 's/^/| /' conftest.$ac_ext >&5
19162
19163 bakefile_cv_cxx_compiler___DECCXX=no
19164
19165 fi
19166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19167
19168
19169 fi
19170 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19171 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
19172 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19173 :; COMPAQCXX=yes
19174 else
19175 :;
19176 fi
19177 ac_ext=c
19178 ac_cpp='$CPP $CPPFLAGS'
19179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19182
19183
19184
19185 ;;
19186
19187 SunOS)
19188
19189
19190 ac_ext=cc
19191 ac_cpp='$CXXCPP $CPPFLAGS'
19192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19195
19196 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19197 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
19198 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19199 echo $ECHO_N "(cached) $ECHO_C" >&6
19200 else
19201 cat >conftest.$ac_ext <<_ACEOF
19202 /* confdefs.h. */
19203 _ACEOF
19204 cat confdefs.h >>conftest.$ac_ext
19205 cat >>conftest.$ac_ext <<_ACEOF
19206 /* end confdefs.h. */
19207
19208 int
19209 main ()
19210 {
19211
19212 #ifndef __SUNPRO_CC
19213 choke me
19214 #endif
19215
19216 ;
19217 return 0;
19218 }
19219 _ACEOF
19220 rm -f conftest.$ac_objext
19221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19222 (eval $ac_compile) 2>conftest.er1
19223 ac_status=$?
19224 grep -v '^ *+' conftest.er1 >conftest.err
19225 rm -f conftest.er1
19226 cat conftest.err >&5
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); } &&
19229 { ac_try='test -z "$ac_cxx_werror_flag"
19230 || test ! -s conftest.err'
19231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19232 (eval $ac_try) 2>&5
19233 ac_status=$?
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); }; } &&
19236 { ac_try='test -s conftest.$ac_objext'
19237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19238 (eval $ac_try) 2>&5
19239 ac_status=$?
19240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19241 (exit $ac_status); }; }; then
19242 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19243 else
19244 echo "$as_me: failed program was:" >&5
19245 sed 's/^/| /' conftest.$ac_ext >&5
19246
19247 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19248
19249 fi
19250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19251
19252
19253 fi
19254 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19255 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
19256 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19257 :; SUNCXX=yes
19258 else
19259 :;
19260 fi
19261 ac_ext=c
19262 ac_cpp='$CPP $CPPFLAGS'
19263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19266
19267
19268
19269 ;;
19270 esac
19271 fi
19272
19273
19274
19275 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19276 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19277 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19278 { (exit 1); exit 1; }; }
19279 fi
19280
19281 if test "x$SUNCXX" != xyes; then
19282 if test -n "$ac_tool_prefix"; then
19283 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19284 set dummy ${ac_tool_prefix}ar; ac_word=$2
19285 echo "$as_me:$LINENO: checking for $ac_word" >&5
19286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19287 if test "${ac_cv_prog_AR+set}" = set; then
19288 echo $ECHO_N "(cached) $ECHO_C" >&6
19289 else
19290 if test -n "$AR"; then
19291 ac_cv_prog_AR="$AR" # Let the user override the test.
19292 else
19293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19294 for as_dir in $PATH
19295 do
19296 IFS=$as_save_IFS
19297 test -z "$as_dir" && as_dir=.
19298 for ac_exec_ext in '' $ac_executable_extensions; do
19299 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19300 ac_cv_prog_AR="${ac_tool_prefix}ar"
19301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19302 break 2
19303 fi
19304 done
19305 done
19306
19307 fi
19308 fi
19309 AR=$ac_cv_prog_AR
19310 if test -n "$AR"; then
19311 echo "$as_me:$LINENO: result: $AR" >&5
19312 echo "${ECHO_T}$AR" >&6
19313 else
19314 echo "$as_me:$LINENO: result: no" >&5
19315 echo "${ECHO_T}no" >&6
19316 fi
19317
19318 fi
19319 if test -z "$ac_cv_prog_AR"; then
19320 ac_ct_AR=$AR
19321 # Extract the first word of "ar", so it can be a program name with args.
19322 set dummy ar; ac_word=$2
19323 echo "$as_me:$LINENO: checking for $ac_word" >&5
19324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19325 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19326 echo $ECHO_N "(cached) $ECHO_C" >&6
19327 else
19328 if test -n "$ac_ct_AR"; then
19329 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19330 else
19331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19332 for as_dir in $PATH
19333 do
19334 IFS=$as_save_IFS
19335 test -z "$as_dir" && as_dir=.
19336 for ac_exec_ext in '' $ac_executable_extensions; do
19337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19338 ac_cv_prog_ac_ct_AR="ar"
19339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19340 break 2
19341 fi
19342 done
19343 done
19344
19345 fi
19346 fi
19347 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19348 if test -n "$ac_ct_AR"; then
19349 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19350 echo "${ECHO_T}$ac_ct_AR" >&6
19351 else
19352 echo "$as_me:$LINENO: result: no" >&5
19353 echo "${ECHO_T}no" >&6
19354 fi
19355
19356 AR=$ac_ct_AR
19357 else
19358 AR="$ac_cv_prog_AR"
19359 fi
19360
19361 if test "x$AR" = "x" ; then
19362 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19363 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19364 { (exit 1); exit 1; }; }
19365 fi
19366 fi
19367
19368 retest_macosx_linking=no
19369
19370 #if test "$wxUSE_MAC" = 1; then
19371 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19372 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
19373 # Implicitly turn on the new --with-macosx-sdk using the default
19374 # SDK which provides the behavior this option has always had.
19375 if test "x$wxUSE_MACOSX_SDK" = "x"; then
19376 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
19377 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
19378 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
19379 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
19380 wxUSE_MACOSX_SDK=yes
19381 fi
19382 else
19383 # Complain to user if he specified an argument to --enable-universal_binary
19384 # and also 1) specified --with-macosx-sdk using the default (yes) or
19385 # 2) specified --with-macosx-sdk using a path or 3) specified
19386 # --without-macosx-sdk (no).
19387 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
19388 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19389 See \`config.log' for more details." >&5
19390 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19391 See \`config.log' for more details." >&2;}
19392 { (exit 1); exit 1; }; }
19393 else
19394 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
19395 # special-case the empty string because the below test simply
19396 # converts "no" to the empty string anyway.
19397 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
19398 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
19399 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
19400 fi
19401 fi
19402 OSX_UNIV_OPTS="-arch ppc -arch i386"
19403 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
19404 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
19405 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
19406 retest_macosx_linking=yes
19407
19408 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
19409 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19410 bk_use_pch=no
19411 fi
19412 #fi
19413
19414 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19415 wxUSE_MACOSX_SDK=
19416 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19417 # TODO: Search for most recent SDK and use it.
19418 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19419 fi
19420
19421
19422 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19423 echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19424 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6
19425 if ! test -d "$wxUSE_MACOSX_SDK"; then
19426 { { echo "$as_me:$LINENO: error: not found
19427 See \`config.log' for more details." >&5
19428 echo "$as_me: error: not found
19429 See \`config.log' for more details." >&2;}
19430 { (exit 1); exit 1; }; }
19431 else
19432 echo "$as_me:$LINENO: result: exists" >&5
19433 echo "${ECHO_T}exists" >&6
19434 fi
19435 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19436 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19437 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19438 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19439 retest_macosx_linking=yes
19440 fi
19441
19442 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19443 wxUSE_MACOSX_VERSION_MIN=
19444 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19445 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19446 echo "$as_me:$LINENO: checking SDK deployment version" >&5
19447 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6
19448
19449 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19450
19451 # If that failed, try again with the new key
19452 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19453
19454 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19455
19456 fi
19457
19458 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19459 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19460 echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19461 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6
19462 else
19463 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19464 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19465 wxUSE_MACOSX_VERSION_MIN=
19466 fi
19467 else
19468 wxUSE_MACOSX_VERSION_MIN=
19469 fi
19470 fi
19471
19472 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19473 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19474 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19475 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19476 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19477 retest_macosx_linking=yes
19478 fi
19479
19480 if test "x$retest_macosx_linking" = "xyes"; then
19481 ac_ext=c
19482 ac_cpp='$CPP $CPPFLAGS'
19483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19486
19487 echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19488 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6
19489 cat >conftest.$ac_ext <<_ACEOF
19490 /* confdefs.h. */
19491 _ACEOF
19492 cat confdefs.h >>conftest.$ac_ext
19493 cat >>conftest.$ac_ext <<_ACEOF
19494 /* end confdefs.h. */
19495
19496 int
19497 main ()
19498 {
19499
19500 ;
19501 return 0;
19502 }
19503 _ACEOF
19504 rm -f conftest.$ac_objext conftest$ac_exeext
19505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19506 (eval $ac_link) 2>conftest.er1
19507 ac_status=$?
19508 grep -v '^ *+' conftest.er1 >conftest.err
19509 rm -f conftest.er1
19510 cat conftest.err >&5
19511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512 (exit $ac_status); } &&
19513 { ac_try='test -z "$ac_c_werror_flag"
19514 || test ! -s conftest.err'
19515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516 (eval $ac_try) 2>&5
19517 ac_status=$?
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); }; } &&
19520 { ac_try='test -s conftest$ac_exeext'
19521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522 (eval $ac_try) 2>&5
19523 ac_status=$?
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); }; }; then
19526 echo "$as_me:$LINENO: result: yes" >&5
19527 echo "${ECHO_T}yes" >&6
19528 else
19529 echo "$as_me: failed program was:" >&5
19530 sed 's/^/| /' conftest.$ac_ext >&5
19531
19532 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19533 See \`config.log' for more details." >&5
19534 echo "$as_me: error: no. Try a different SDK
19535 See \`config.log' for more details." >&2;}
19536 { (exit 1); exit 1; }; }; exit 1
19537 fi
19538 rm -f conftest.err conftest.$ac_objext \
19539 conftest$ac_exeext conftest.$ac_ext
19540 ac_ext=c
19541 ac_cpp='$CPP $CPPFLAGS'
19542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19545
19546
19547 ac_ext=cc
19548 ac_cpp='$CXXCPP $CPPFLAGS'
19549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19552
19553 echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19554 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6
19555 cat >conftest.$ac_ext <<_ACEOF
19556 /* confdefs.h. */
19557 _ACEOF
19558 cat confdefs.h >>conftest.$ac_ext
19559 cat >>conftest.$ac_ext <<_ACEOF
19560 /* end confdefs.h. */
19561
19562 int
19563 main ()
19564 {
19565
19566 ;
19567 return 0;
19568 }
19569 _ACEOF
19570 rm -f conftest.$ac_objext conftest$ac_exeext
19571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19572 (eval $ac_link) 2>conftest.er1
19573 ac_status=$?
19574 grep -v '^ *+' conftest.er1 >conftest.err
19575 rm -f conftest.er1
19576 cat conftest.err >&5
19577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19578 (exit $ac_status); } &&
19579 { ac_try='test -z "$ac_cxx_werror_flag"
19580 || test ! -s conftest.err'
19581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19582 (eval $ac_try) 2>&5
19583 ac_status=$?
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); }; } &&
19586 { ac_try='test -s conftest$ac_exeext'
19587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19588 (eval $ac_try) 2>&5
19589 ac_status=$?
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); }; }; then
19592 echo "$as_me:$LINENO: result: yes" >&5
19593 echo "${ECHO_T}yes" >&6
19594 else
19595 echo "$as_me: failed program was:" >&5
19596 sed 's/^/| /' conftest.$ac_ext >&5
19597
19598 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19599 See \`config.log' for more details." >&5
19600 echo "$as_me: error: no. Try a different SDK
19601 See \`config.log' for more details." >&2;}
19602 { (exit 1); exit 1; }; }; exit 1
19603 fi
19604 rm -f conftest.err conftest.$ac_objext \
19605 conftest$ac_exeext conftest.$ac_ext
19606 ac_ext=c
19607 ac_cpp='$CPP $CPPFLAGS'
19608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19611
19612 fi
19613
19614
19615 case "${host}" in
19616
19617 *-*-darwin* )
19618 INSTALL_PROGRAM="cp -fp"
19619 INSTALL_DATA="cp -fp"
19620 ;;
19621 *)
19622 ;;
19623 esac
19624
19625
19626 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19627 CXXFLAGS="-qunique $CXXFLAGS"
19628 fi
19629
19630 case "${host}" in
19631 powerpc-*-darwin* )
19632 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19633 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
19634 cat >conftest.$ac_ext <<_ACEOF
19635 /* confdefs.h. */
19636 _ACEOF
19637 cat confdefs.h >>conftest.$ac_ext
19638 cat >>conftest.$ac_ext <<_ACEOF
19639 /* end confdefs.h. */
19640
19641 int
19642 main ()
19643 {
19644 #ifndef __POWERPC__
19645 choke me for lack of PowerPC
19646 #endif
19647
19648 ;
19649 return 0;
19650 }
19651 _ACEOF
19652 rm -f conftest.$ac_objext
19653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19654 (eval $ac_compile) 2>conftest.er1
19655 ac_status=$?
19656 grep -v '^ *+' conftest.er1 >conftest.err
19657 rm -f conftest.er1
19658 cat conftest.err >&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } &&
19661 { ac_try='test -z "$ac_c_werror_flag"
19662 || test ! -s conftest.err'
19663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19664 (eval $ac_try) 2>&5
19665 ac_status=$?
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); }; } &&
19668 { ac_try='test -s conftest.$ac_objext'
19669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19670 (eval $ac_try) 2>&5
19671 ac_status=$?
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); }; }; then
19674 echo "$as_me:$LINENO: result: yes" >&5
19675 echo "${ECHO_T}yes" >&6
19676 else
19677 echo "$as_me: failed program was:" >&5
19678 sed 's/^/| /' conftest.$ac_ext >&5
19679
19680 echo "$as_me:$LINENO: result: no" >&5
19681 echo "${ECHO_T}no" >&6
19682 cat >>confdefs.h <<\_ACEOF
19683 #define __POWERPC__ 1
19684 _ACEOF
19685
19686
19687 fi
19688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19689 ;;
19690 esac
19691
19692 case "${host}" in
19693 *-*-darwin* )
19694 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19695 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
19696 cat >conftest.$ac_ext <<_ACEOF
19697 /* confdefs.h. */
19698 _ACEOF
19699 cat confdefs.h >>conftest.$ac_ext
19700 cat >>conftest.$ac_ext <<_ACEOF
19701 /* end confdefs.h. */
19702 #include <CoreFoundation/CFBase.h>
19703
19704 int
19705 main ()
19706 {
19707
19708 ;
19709 return 0;
19710 }
19711 _ACEOF
19712 rm -f conftest.$ac_objext
19713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19714 (eval $ac_compile) 2>conftest.er1
19715 ac_status=$?
19716 grep -v '^ *+' conftest.er1 >conftest.err
19717 rm -f conftest.er1
19718 cat conftest.err >&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); } &&
19721 { ac_try='test -z "$ac_c_werror_flag"
19722 || test ! -s conftest.err'
19723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19724 (eval $ac_try) 2>&5
19725 ac_status=$?
19726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727 (exit $ac_status); }; } &&
19728 { ac_try='test -s conftest.$ac_objext'
19729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19730 (eval $ac_try) 2>&5
19731 ac_status=$?
19732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19733 (exit $ac_status); }; }; then
19734 echo "$as_me:$LINENO: result: yes" >&5
19735 echo "${ECHO_T}yes" >&6
19736 else
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.$ac_ext >&5
19739
19740 echo "$as_me:$LINENO: result: no" >&5
19741 echo "${ECHO_T}no" >&6
19742 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19743 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
19744 cat >conftest.$ac_ext <<_ACEOF
19745 /* confdefs.h. */
19746 _ACEOF
19747 cat confdefs.h >>conftest.$ac_ext
19748 cat >>conftest.$ac_ext <<_ACEOF
19749 /* end confdefs.h. */
19750 #define __CF_USE_FRAMEWORK_INCLUDES__
19751 #include <CoreFoundation/CFBase.h>
19752
19753 int
19754 main ()
19755 {
19756
19757 ;
19758 return 0;
19759 }
19760 _ACEOF
19761 rm -f conftest.$ac_objext
19762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19763 (eval $ac_compile) 2>conftest.er1
19764 ac_status=$?
19765 grep -v '^ *+' conftest.er1 >conftest.err
19766 rm -f conftest.er1
19767 cat conftest.err >&5
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); } &&
19770 { ac_try='test -z "$ac_c_werror_flag"
19771 || test ! -s conftest.err'
19772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19773 (eval $ac_try) 2>&5
19774 ac_status=$?
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); }; } &&
19777 { ac_try='test -s conftest.$ac_objext'
19778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19779 (eval $ac_try) 2>&5
19780 ac_status=$?
19781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19782 (exit $ac_status); }; }; then
19783 echo "$as_me:$LINENO: result: yes" >&5
19784 echo "${ECHO_T}yes" >&6
19785 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19786 else
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.$ac_ext >&5
19789
19790 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19791 See \`config.log' for more details." >&5
19792 echo "$as_me: error: no. CoreFoundation not available.
19793 See \`config.log' for more details." >&2;}
19794 { (exit 1); exit 1; }; }
19795
19796 fi
19797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19798
19799
19800 fi
19801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19802 ;;
19803 esac
19804
19805 wants_win32=0
19806 doesnt_want_win32=0
19807 case "${host}" in
19808 *-*-cygwin*)
19809 if test "$wxUSE_MSW" = 1 ; then
19810 wants_win32=1
19811 else
19812 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19813 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
19814 if test "${wx_cv_nocygwin+set}" = set; then
19815 echo $ECHO_N "(cached) $ECHO_C" >&6
19816 else
19817
19818 cat >conftest.$ac_ext <<_ACEOF
19819 /* confdefs.h. */
19820 _ACEOF
19821 cat confdefs.h >>conftest.$ac_ext
19822 cat >>conftest.$ac_ext <<_ACEOF
19823 /* end confdefs.h. */
19824
19825 int
19826 main ()
19827 {
19828
19829 #ifdef __MINGW32__
19830 choke me
19831 #endif
19832
19833 ;
19834 return 0;
19835 }
19836 _ACEOF
19837 rm -f conftest.$ac_objext
19838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19839 (eval $ac_compile) 2>conftest.er1
19840 ac_status=$?
19841 grep -v '^ *+' conftest.er1 >conftest.err
19842 rm -f conftest.er1
19843 cat conftest.err >&5
19844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19845 (exit $ac_status); } &&
19846 { ac_try='test -z "$ac_c_werror_flag"
19847 || test ! -s conftest.err'
19848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19849 (eval $ac_try) 2>&5
19850 ac_status=$?
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); }; } &&
19853 { ac_try='test -s conftest.$ac_objext'
19854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19855 (eval $ac_try) 2>&5
19856 ac_status=$?
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); }; }; then
19859 wx_cv_nocygwin=no
19860 else
19861 echo "$as_me: failed program was:" >&5
19862 sed 's/^/| /' conftest.$ac_ext >&5
19863
19864 wx_cv_nocygwin=yes
19865
19866 fi
19867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19868
19869
19870 fi
19871 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19872 echo "${ECHO_T}$wx_cv_nocygwin" >&6
19873
19874 if test "$wx_cv_nocygwin" = "yes"; then
19875 wants_win32=1
19876 else
19877 doesnt_want_win32=1
19878 fi
19879 fi
19880 if test "$wants_win32" = 1 ; then
19881 BAKEFILE_FORCE_PLATFORM=win32
19882 fi
19883 ;;
19884 *-*-mingw*)
19885 wants_win32=1
19886 ;;
19887 esac
19888
19889 if test "$wxUSE_WINE" = "yes"; then
19890 wants_win32=1
19891 LDFLAGS_GUI="-mwindows"
19892 fi
19893
19894 if test "$wants_win32" = 1 ; then
19895 USE_UNIX=0
19896 USE_WIN32=1
19897 cat >>confdefs.h <<\_ACEOF
19898 #define __WIN32__ 1
19899 _ACEOF
19900
19901 cat >>confdefs.h <<\_ACEOF
19902 #define __WIN95__ 1
19903 _ACEOF
19904
19905 cat >>confdefs.h <<\_ACEOF
19906 #define __WINDOWS__ 1
19907 _ACEOF
19908
19909 cat >>confdefs.h <<\_ACEOF
19910 #define __GNUWIN32__ 1
19911 _ACEOF
19912
19913 cat >>confdefs.h <<\_ACEOF
19914 #define STRICT 1
19915 _ACEOF
19916
19917 fi
19918 if test "$doesnt_want_win32" = 1 ; then
19919 USE_UNIX=1
19920 USE_WIN32=0
19921 fi
19922
19923 if test "$USE_UNIX" = 1 ; then
19924 wxUSE_UNIX=yes
19925 cat >>confdefs.h <<\_ACEOF
19926 #define __UNIX__ 1
19927 _ACEOF
19928
19929 fi
19930
19931 case "${host}" in
19932 *-pc-os2_emx | *-pc-os2-emx )
19933 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19934 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19935 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
19936 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19938 else
19939 ac_check_lib_save_LIBS=$LIBS
19940 LIBS="-lcExt $LIBS"
19941 cat >conftest.$ac_ext <<_ACEOF
19942 /* confdefs.h. */
19943 _ACEOF
19944 cat confdefs.h >>conftest.$ac_ext
19945 cat >>conftest.$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947
19948 /* Override any gcc2 internal prototype to avoid an error. */
19949 #ifdef __cplusplus
19950 extern "C"
19951 #endif
19952 /* We use char because int might match the return type of a gcc2
19953 builtin and then its argument prototype would still apply. */
19954 char drand48 ();
19955 int
19956 main ()
19957 {
19958 drand48 ();
19959 ;
19960 return 0;
19961 }
19962 _ACEOF
19963 rm -f conftest.$ac_objext conftest$ac_exeext
19964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19965 (eval $ac_link) 2>conftest.er1
19966 ac_status=$?
19967 grep -v '^ *+' conftest.er1 >conftest.err
19968 rm -f conftest.er1
19969 cat conftest.err >&5
19970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19971 (exit $ac_status); } &&
19972 { ac_try='test -z "$ac_c_werror_flag"
19973 || test ! -s conftest.err'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19976 ac_status=$?
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; } &&
19979 { ac_try='test -s conftest$ac_exeext'
19980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19981 (eval $ac_try) 2>&5
19982 ac_status=$?
19983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984 (exit $ac_status); }; }; then
19985 ac_cv_lib_cExt_drand48=yes
19986 else
19987 echo "$as_me: failed program was:" >&5
19988 sed 's/^/| /' conftest.$ac_ext >&5
19989
19990 ac_cv_lib_cExt_drand48=no
19991 fi
19992 rm -f conftest.err conftest.$ac_objext \
19993 conftest$ac_exeext conftest.$ac_ext
19994 LIBS=$ac_check_lib_save_LIBS
19995 fi
19996 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19997 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
19998 if test $ac_cv_lib_cExt_drand48 = yes; then
19999 LIBS="$LIBS -lcExt"
20000 fi
20001
20002 else
20003 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20004 fi
20005 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20006 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
20007 if test "${wx_cv_gccversion+set}" = set; then
20008 echo $ECHO_N "(cached) $ECHO_C" >&6
20009 else
20010
20011 if test "$cross_compiling" = yes; then
20012 wx_cv_gccversion="EMX2"
20013
20014 else
20015 cat >conftest.$ac_ext <<_ACEOF
20016 /* confdefs.h. */
20017 _ACEOF
20018 cat confdefs.h >>conftest.$ac_ext
20019 cat >>conftest.$ac_ext <<_ACEOF
20020 /* end confdefs.h. */
20021
20022 #include <stdio.h>
20023
20024 int main()
20025 {
20026 FILE *f=fopen("conftestval", "w");
20027 if (!f) exit(1);
20028 fprintf(f,
20029 #if (__GNUC__ < 3)
20030 "EMX2"
20031 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20032 "EMX3"
20033 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20034 "Innotek5"
20035 #else
20036 "Innotek6"
20037 #endif
20038 );
20039 exit(0);
20040 }
20041
20042 _ACEOF
20043 rm -f conftest$ac_exeext
20044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20045 (eval $ac_link) 2>&5
20046 ac_status=$?
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20050 (eval $ac_try) 2>&5
20051 ac_status=$?
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); }; }; then
20054 wx_cv_gccversion=`cat conftestval`
20055 else
20056 echo "$as_me: program exited with status $ac_status" >&5
20057 echo "$as_me: failed program was:" >&5
20058 sed 's/^/| /' conftest.$ac_ext >&5
20059
20060 ( exit $ac_status )
20061 wx_cv_gccversion="EMX2"
20062 fi
20063 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20064 fi
20065
20066 fi
20067 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20068 echo "${ECHO_T}$wx_cv_gccversion" >&6
20069 if test "$wx_cv_gccversion" = "EMX2"; then
20070 LIBS="$LIBS -lstdcpp"
20071 LDFLAGS="$LDFLAGS -Zsysv-signals"
20072 else
20073 if test "$wx_cv_gccversion" = "EMX3"; then
20074 LIBS="$LIBS -lstdcxx -lgcc"
20075 LDFLAGS="$LDFLAGS -Zsysv-signals"
20076 else
20077 LIBS="$LIBS -lstdc++"
20078 fi
20079 fi
20080 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20081 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20082 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20083 wxUSE_OMF=yes
20084 enable_omf=yes
20085 fi
20086 ;;
20087 *)
20088
20089 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20090 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
20091 if test "${ac_cv_string_strcasecmp+set}" = set; then
20092 echo $ECHO_N "(cached) $ECHO_C" >&6
20093 else
20094
20095 cat >conftest.$ac_ext <<_ACEOF
20096 /* confdefs.h. */
20097 _ACEOF
20098 cat confdefs.h >>conftest.$ac_ext
20099 cat >>conftest.$ac_ext <<_ACEOF
20100 /* end confdefs.h. */
20101
20102 #include <string.h>
20103
20104 int
20105 main ()
20106 {
20107
20108 strcasecmp("foo", "bar");
20109
20110 ;
20111 return 0;
20112 }
20113 _ACEOF
20114 rm -f conftest.$ac_objext conftest$ac_exeext
20115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20116 (eval $ac_link) 2>conftest.er1
20117 ac_status=$?
20118 grep -v '^ *+' conftest.er1 >conftest.err
20119 rm -f conftest.er1
20120 cat conftest.err >&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); } &&
20123 { ac_try='test -z "$ac_c_werror_flag"
20124 || test ! -s conftest.err'
20125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126 (eval $ac_try) 2>&5
20127 ac_status=$?
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); }; } &&
20130 { ac_try='test -s conftest$ac_exeext'
20131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20132 (eval $ac_try) 2>&5
20133 ac_status=$?
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); }; }; then
20136 ac_cv_string_strcasecmp=yes
20137 else
20138 echo "$as_me: failed program was:" >&5
20139 sed 's/^/| /' conftest.$ac_ext >&5
20140
20141 ac_cv_string_strcasecmp=no
20142
20143 fi
20144 rm -f conftest.err conftest.$ac_objext \
20145 conftest$ac_exeext conftest.$ac_ext
20146
20147 fi
20148 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20149 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
20150
20151 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20152 cat >>confdefs.h <<\_ACEOF
20153 #define HAVE_STRCASECMP_IN_STRING_H 1
20154 _ACEOF
20155
20156 else
20157 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20158 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
20159 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20160 echo $ECHO_N "(cached) $ECHO_C" >&6
20161 else
20162
20163 cat >conftest.$ac_ext <<_ACEOF
20164 /* confdefs.h. */
20165 _ACEOF
20166 cat confdefs.h >>conftest.$ac_ext
20167 cat >>conftest.$ac_ext <<_ACEOF
20168 /* end confdefs.h. */
20169
20170 #include <strings.h>
20171
20172 int
20173 main ()
20174 {
20175
20176 strcasecmp("foo", "bar");
20177
20178 ;
20179 return 0;
20180 }
20181 _ACEOF
20182 rm -f conftest.$ac_objext conftest$ac_exeext
20183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20184 (eval $ac_link) 2>conftest.er1
20185 ac_status=$?
20186 grep -v '^ *+' conftest.er1 >conftest.err
20187 rm -f conftest.er1
20188 cat conftest.err >&5
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); } &&
20191 { ac_try='test -z "$ac_c_werror_flag"
20192 || test ! -s conftest.err'
20193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20194 (eval $ac_try) 2>&5
20195 ac_status=$?
20196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20197 (exit $ac_status); }; } &&
20198 { ac_try='test -s conftest$ac_exeext'
20199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200 (eval $ac_try) 2>&5
20201 ac_status=$?
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; }; then
20204 ac_cv_strings_strcasecmp=yes
20205 else
20206 echo "$as_me: failed program was:" >&5
20207 sed 's/^/| /' conftest.$ac_ext >&5
20208
20209 ac_cv_strings_strcasecmp=no
20210
20211 fi
20212 rm -f conftest.err conftest.$ac_objext \
20213 conftest$ac_exeext conftest.$ac_ext
20214
20215 fi
20216 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20217 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
20218
20219 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20220 cat >>confdefs.h <<\_ACEOF
20221 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20222 _ACEOF
20223
20224 else
20225 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20226 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20227 { (exit 1); exit 1; }; }
20228 fi
20229 fi
20230
20231 ;;
20232 esac
20233
20234
20235 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20236 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
20237 if test "${ac_cv_header_stdc+set}" = set; then
20238 echo $ECHO_N "(cached) $ECHO_C" >&6
20239 else
20240 cat >conftest.$ac_ext <<_ACEOF
20241 /* confdefs.h. */
20242 _ACEOF
20243 cat confdefs.h >>conftest.$ac_ext
20244 cat >>conftest.$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 #include <stdlib.h>
20247 #include <stdarg.h>
20248 #include <string.h>
20249 #include <float.h>
20250
20251 int
20252 main ()
20253 {
20254
20255 ;
20256 return 0;
20257 }
20258 _ACEOF
20259 rm -f conftest.$ac_objext
20260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20261 (eval $ac_compile) 2>conftest.er1
20262 ac_status=$?
20263 grep -v '^ *+' conftest.er1 >conftest.err
20264 rm -f conftest.er1
20265 cat conftest.err >&5
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); } &&
20268 { ac_try='test -z "$ac_c_werror_flag"
20269 || test ! -s conftest.err'
20270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20271 (eval $ac_try) 2>&5
20272 ac_status=$?
20273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274 (exit $ac_status); }; } &&
20275 { ac_try='test -s conftest.$ac_objext'
20276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20277 (eval $ac_try) 2>&5
20278 ac_status=$?
20279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20280 (exit $ac_status); }; }; then
20281 ac_cv_header_stdc=yes
20282 else
20283 echo "$as_me: failed program was:" >&5
20284 sed 's/^/| /' conftest.$ac_ext >&5
20285
20286 ac_cv_header_stdc=no
20287 fi
20288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20289
20290 if test $ac_cv_header_stdc = yes; then
20291 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20292 cat >conftest.$ac_ext <<_ACEOF
20293 /* confdefs.h. */
20294 _ACEOF
20295 cat confdefs.h >>conftest.$ac_ext
20296 cat >>conftest.$ac_ext <<_ACEOF
20297 /* end confdefs.h. */
20298 #include <string.h>
20299
20300 _ACEOF
20301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20302 $EGREP "memchr" >/dev/null 2>&1; then
20303 :
20304 else
20305 ac_cv_header_stdc=no
20306 fi
20307 rm -f conftest*
20308
20309 fi
20310
20311 if test $ac_cv_header_stdc = yes; then
20312 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20313 cat >conftest.$ac_ext <<_ACEOF
20314 /* confdefs.h. */
20315 _ACEOF
20316 cat confdefs.h >>conftest.$ac_ext
20317 cat >>conftest.$ac_ext <<_ACEOF
20318 /* end confdefs.h. */
20319 #include <stdlib.h>
20320
20321 _ACEOF
20322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20323 $EGREP "free" >/dev/null 2>&1; then
20324 :
20325 else
20326 ac_cv_header_stdc=no
20327 fi
20328 rm -f conftest*
20329
20330 fi
20331
20332 if test $ac_cv_header_stdc = yes; then
20333 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20334 if test "$cross_compiling" = yes; then
20335 :
20336 else
20337 cat >conftest.$ac_ext <<_ACEOF
20338 /* confdefs.h. */
20339 _ACEOF
20340 cat confdefs.h >>conftest.$ac_ext
20341 cat >>conftest.$ac_ext <<_ACEOF
20342 /* end confdefs.h. */
20343 #include <ctype.h>
20344 #if ((' ' & 0x0FF) == 0x020)
20345 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20346 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20347 #else
20348 # define ISLOWER(c) \
20349 (('a' <= (c) && (c) <= 'i') \
20350 || ('j' <= (c) && (c) <= 'r') \
20351 || ('s' <= (c) && (c) <= 'z'))
20352 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20353 #endif
20354
20355 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20356 int
20357 main ()
20358 {
20359 int i;
20360 for (i = 0; i < 256; i++)
20361 if (XOR (islower (i), ISLOWER (i))
20362 || toupper (i) != TOUPPER (i))
20363 exit(2);
20364 exit (0);
20365 }
20366 _ACEOF
20367 rm -f conftest$ac_exeext
20368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20369 (eval $ac_link) 2>&5
20370 ac_status=$?
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20374 (eval $ac_try) 2>&5
20375 ac_status=$?
20376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20377 (exit $ac_status); }; }; then
20378 :
20379 else
20380 echo "$as_me: program exited with status $ac_status" >&5
20381 echo "$as_me: failed program was:" >&5
20382 sed 's/^/| /' conftest.$ac_ext >&5
20383
20384 ( exit $ac_status )
20385 ac_cv_header_stdc=no
20386 fi
20387 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20388 fi
20389 fi
20390 fi
20391 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20392 echo "${ECHO_T}$ac_cv_header_stdc" >&6
20393 if test $ac_cv_header_stdc = yes; then
20394
20395 cat >>confdefs.h <<\_ACEOF
20396 #define STDC_HEADERS 1
20397 _ACEOF
20398
20399 fi
20400
20401 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20412 inttypes.h stdint.h unistd.h
20413 do
20414 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20415 echo "$as_me:$LINENO: checking for $ac_header" >&5
20416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20418 echo $ECHO_N "(cached) $ECHO_C" >&6
20419 else
20420 cat >conftest.$ac_ext <<_ACEOF
20421 /* confdefs.h. */
20422 _ACEOF
20423 cat confdefs.h >>conftest.$ac_ext
20424 cat >>conftest.$ac_ext <<_ACEOF
20425 /* end confdefs.h. */
20426 $ac_includes_default
20427
20428 #include <$ac_header>
20429 _ACEOF
20430 rm -f conftest.$ac_objext
20431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20432 (eval $ac_compile) 2>conftest.er1
20433 ac_status=$?
20434 grep -v '^ *+' conftest.er1 >conftest.err
20435 rm -f conftest.er1
20436 cat conftest.err >&5
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); } &&
20439 { ac_try='test -z "$ac_c_werror_flag"
20440 || test ! -s conftest.err'
20441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20442 (eval $ac_try) 2>&5
20443 ac_status=$?
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); }; } &&
20446 { ac_try='test -s conftest.$ac_objext'
20447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20448 (eval $ac_try) 2>&5
20449 ac_status=$?
20450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451 (exit $ac_status); }; }; then
20452 eval "$as_ac_Header=yes"
20453 else
20454 echo "$as_me: failed program was:" >&5
20455 sed 's/^/| /' conftest.$ac_ext >&5
20456
20457 eval "$as_ac_Header=no"
20458 fi
20459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20460 fi
20461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20464 cat >>confdefs.h <<_ACEOF
20465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20466 _ACEOF
20467
20468 fi
20469
20470 done
20471
20472
20473
20474
20475
20476
20477
20478
20479 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
20480 do
20481 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20482 echo "$as_me:$LINENO: checking for $ac_header" >&5
20483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20485 echo $ECHO_N "(cached) $ECHO_C" >&6
20486 else
20487 cat >conftest.$ac_ext <<_ACEOF
20488 /* confdefs.h. */
20489 _ACEOF
20490 cat confdefs.h >>conftest.$ac_ext
20491 cat >>conftest.$ac_ext <<_ACEOF
20492 /* end confdefs.h. */
20493 $ac_includes_default
20494
20495 #include <$ac_header>
20496 _ACEOF
20497 rm -f conftest.$ac_objext
20498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20499 (eval $ac_compile) 2>conftest.er1
20500 ac_status=$?
20501 grep -v '^ *+' conftest.er1 >conftest.err
20502 rm -f conftest.er1
20503 cat conftest.err >&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); } &&
20506 { ac_try='test -z "$ac_c_werror_flag"
20507 || test ! -s conftest.err'
20508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20509 (eval $ac_try) 2>&5
20510 ac_status=$?
20511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20512 (exit $ac_status); }; } &&
20513 { ac_try='test -s conftest.$ac_objext'
20514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20515 (eval $ac_try) 2>&5
20516 ac_status=$?
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); }; }; then
20519 eval "$as_ac_Header=yes"
20520 else
20521 echo "$as_me: failed program was:" >&5
20522 sed 's/^/| /' conftest.$ac_ext >&5
20523
20524 eval "$as_ac_Header=no"
20525 fi
20526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20527 fi
20528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20531 cat >>confdefs.h <<_ACEOF
20532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20533 _ACEOF
20534
20535 fi
20536
20537 done
20538
20539
20540 if test "$ac_cv_header_wchar_h" != "yes"; then
20541
20542 for ac_header in wcstr.h
20543 do
20544 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20545 echo "$as_me:$LINENO: checking for $ac_header" >&5
20546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20548 echo $ECHO_N "(cached) $ECHO_C" >&6
20549 else
20550 cat >conftest.$ac_ext <<_ACEOF
20551 /* confdefs.h. */
20552 _ACEOF
20553 cat confdefs.h >>conftest.$ac_ext
20554 cat >>conftest.$ac_ext <<_ACEOF
20555 /* end confdefs.h. */
20556 $ac_includes_default
20557
20558 #include <$ac_header>
20559 _ACEOF
20560 rm -f conftest.$ac_objext
20561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20562 (eval $ac_compile) 2>conftest.er1
20563 ac_status=$?
20564 grep -v '^ *+' conftest.er1 >conftest.err
20565 rm -f conftest.er1
20566 cat conftest.err >&5
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); } &&
20569 { ac_try='test -z "$ac_c_werror_flag"
20570 || test ! -s conftest.err'
20571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20572 (eval $ac_try) 2>&5
20573 ac_status=$?
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); }; } &&
20576 { ac_try='test -s conftest.$ac_objext'
20577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20578 (eval $ac_try) 2>&5
20579 ac_status=$?
20580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581 (exit $ac_status); }; }; then
20582 eval "$as_ac_Header=yes"
20583 else
20584 echo "$as_me: failed program was:" >&5
20585 sed 's/^/| /' conftest.$ac_ext >&5
20586
20587 eval "$as_ac_Header=no"
20588 fi
20589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20590 fi
20591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20592 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20594 cat >>confdefs.h <<_ACEOF
20595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20596 _ACEOF
20597
20598 fi
20599
20600 done
20601
20602 fi
20603
20604 case "${host}" in
20605 *-pc-os2_emx | *-pc-os2-emx )
20606 if test $ac_cv_header_langinfo_h = "yes" \
20607 -a \( "$wx_cv_gccversion" = "EMX2" \
20608 -o "$wx_cv_gccversion" = "EMX3" \
20609 -o "$wx_cv_gccversion" = "Innotek5" \); then
20610 LIBS="$LIBS -lintl"
20611 fi
20612 ;;
20613 esac
20614
20615 if test "$USE_UNIX" = 1 ; then
20616
20617 for ac_header in sys/select.h
20618 do
20619 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20620 echo "$as_me:$LINENO: checking for $ac_header" >&5
20621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20623 echo $ECHO_N "(cached) $ECHO_C" >&6
20624 else
20625 cat >conftest.$ac_ext <<_ACEOF
20626 /* confdefs.h. */
20627 _ACEOF
20628 cat confdefs.h >>conftest.$ac_ext
20629 cat >>conftest.$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20631 $ac_includes_default
20632
20633 #include <$ac_header>
20634 _ACEOF
20635 rm -f conftest.$ac_objext
20636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20637 (eval $ac_compile) 2>conftest.er1
20638 ac_status=$?
20639 grep -v '^ *+' conftest.er1 >conftest.err
20640 rm -f conftest.er1
20641 cat conftest.err >&5
20642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20643 (exit $ac_status); } &&
20644 { ac_try='test -z "$ac_c_werror_flag"
20645 || test ! -s conftest.err'
20646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20647 (eval $ac_try) 2>&5
20648 ac_status=$?
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); }; } &&
20651 { ac_try='test -s conftest.$ac_objext'
20652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20653 (eval $ac_try) 2>&5
20654 ac_status=$?
20655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20656 (exit $ac_status); }; }; then
20657 eval "$as_ac_Header=yes"
20658 else
20659 echo "$as_me: failed program was:" >&5
20660 sed 's/^/| /' conftest.$ac_ext >&5
20661
20662 eval "$as_ac_Header=no"
20663 fi
20664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20665 fi
20666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20667 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20669 cat >>confdefs.h <<_ACEOF
20670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20671 _ACEOF
20672
20673 fi
20674
20675 done
20676
20677 fi
20678
20679
20680 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20681 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20682 if test "${ac_cv_c_const+set}" = set; then
20683 echo $ECHO_N "(cached) $ECHO_C" >&6
20684 else
20685 cat >conftest.$ac_ext <<_ACEOF
20686 /* confdefs.h. */
20687 _ACEOF
20688 cat confdefs.h >>conftest.$ac_ext
20689 cat >>conftest.$ac_ext <<_ACEOF
20690 /* end confdefs.h. */
20691
20692 int
20693 main ()
20694 {
20695 /* FIXME: Include the comments suggested by Paul. */
20696 #ifndef __cplusplus
20697 /* Ultrix mips cc rejects this. */
20698 typedef int charset[2];
20699 const charset x;
20700 /* SunOS 4.1.1 cc rejects this. */
20701 char const *const *ccp;
20702 char **p;
20703 /* NEC SVR4.0.2 mips cc rejects this. */
20704 struct point {int x, y;};
20705 static struct point const zero = {0,0};
20706 /* AIX XL C 1.02.0.0 rejects this.
20707 It does not let you subtract one const X* pointer from another in
20708 an arm of an if-expression whose if-part is not a constant
20709 expression */
20710 const char *g = "string";
20711 ccp = &g + (g ? g-g : 0);
20712 /* HPUX 7.0 cc rejects these. */
20713 ++ccp;
20714 p = (char**) ccp;
20715 ccp = (char const *const *) p;
20716 { /* SCO 3.2v4 cc rejects this. */
20717 char *t;
20718 char const *s = 0 ? (char *) 0 : (char const *) 0;
20719
20720 *t++ = 0;
20721 }
20722 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20723 int x[] = {25, 17};
20724 const int *foo = &x[0];
20725 ++foo;
20726 }
20727 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20728 typedef const int *iptr;
20729 iptr p = 0;
20730 ++p;
20731 }
20732 { /* AIX XL C 1.02.0.0 rejects this saying
20733 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20734 struct s { int j; const int *ap[3]; };
20735 struct s *b; b->j = 5;
20736 }
20737 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20738 const int foo = 10;
20739 }
20740 #endif
20741
20742 ;
20743 return 0;
20744 }
20745 _ACEOF
20746 rm -f conftest.$ac_objext
20747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20748 (eval $ac_compile) 2>conftest.er1
20749 ac_status=$?
20750 grep -v '^ *+' conftest.er1 >conftest.err
20751 rm -f conftest.er1
20752 cat conftest.err >&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); } &&
20755 { ac_try='test -z "$ac_c_werror_flag"
20756 || test ! -s conftest.err'
20757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20758 (eval $ac_try) 2>&5
20759 ac_status=$?
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); }; } &&
20762 { ac_try='test -s conftest.$ac_objext'
20763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20764 (eval $ac_try) 2>&5
20765 ac_status=$?
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); }; }; then
20768 ac_cv_c_const=yes
20769 else
20770 echo "$as_me: failed program was:" >&5
20771 sed 's/^/| /' conftest.$ac_ext >&5
20772
20773 ac_cv_c_const=no
20774 fi
20775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20776 fi
20777 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20778 echo "${ECHO_T}$ac_cv_c_const" >&6
20779 if test $ac_cv_c_const = no; then
20780
20781 cat >>confdefs.h <<\_ACEOF
20782 #define const
20783 _ACEOF
20784
20785 fi
20786
20787 echo "$as_me:$LINENO: checking for inline" >&5
20788 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20789 if test "${ac_cv_c_inline+set}" = set; then
20790 echo $ECHO_N "(cached) $ECHO_C" >&6
20791 else
20792 ac_cv_c_inline=no
20793 for ac_kw in inline __inline__ __inline; do
20794 cat >conftest.$ac_ext <<_ACEOF
20795 /* confdefs.h. */
20796 _ACEOF
20797 cat confdefs.h >>conftest.$ac_ext
20798 cat >>conftest.$ac_ext <<_ACEOF
20799 /* end confdefs.h. */
20800 #ifndef __cplusplus
20801 typedef int foo_t;
20802 static $ac_kw foo_t static_foo () {return 0; }
20803 $ac_kw foo_t foo () {return 0; }
20804 #endif
20805
20806 _ACEOF
20807 rm -f conftest.$ac_objext
20808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20809 (eval $ac_compile) 2>conftest.er1
20810 ac_status=$?
20811 grep -v '^ *+' conftest.er1 >conftest.err
20812 rm -f conftest.er1
20813 cat conftest.err >&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } &&
20816 { ac_try='test -z "$ac_c_werror_flag"
20817 || test ! -s conftest.err'
20818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20819 (eval $ac_try) 2>&5
20820 ac_status=$?
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); }; } &&
20823 { ac_try='test -s conftest.$ac_objext'
20824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20825 (eval $ac_try) 2>&5
20826 ac_status=$?
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); }; }; then
20829 ac_cv_c_inline=$ac_kw; break
20830 else
20831 echo "$as_me: failed program was:" >&5
20832 sed 's/^/| /' conftest.$ac_ext >&5
20833
20834 fi
20835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20836 done
20837
20838 fi
20839 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20840 echo "${ECHO_T}$ac_cv_c_inline" >&6
20841
20842
20843 case $ac_cv_c_inline in
20844 inline | yes) ;;
20845 *)
20846 case $ac_cv_c_inline in
20847 no) ac_val=;;
20848 *) ac_val=$ac_cv_c_inline;;
20849 esac
20850 cat >>confdefs.h <<_ACEOF
20851 #ifndef __cplusplus
20852 #define inline $ac_val
20853 #endif
20854 _ACEOF
20855 ;;
20856 esac
20857
20858
20859 echo "$as_me:$LINENO: checking for short" >&5
20860 echo $ECHO_N "checking for short... $ECHO_C" >&6
20861 if test "${ac_cv_type_short+set}" = set; then
20862 echo $ECHO_N "(cached) $ECHO_C" >&6
20863 else
20864 cat >conftest.$ac_ext <<_ACEOF
20865 /* confdefs.h. */
20866 _ACEOF
20867 cat confdefs.h >>conftest.$ac_ext
20868 cat >>conftest.$ac_ext <<_ACEOF
20869 /* end confdefs.h. */
20870 $ac_includes_default
20871 int
20872 main ()
20873 {
20874 if ((short *) 0)
20875 return 0;
20876 if (sizeof (short))
20877 return 0;
20878 ;
20879 return 0;
20880 }
20881 _ACEOF
20882 rm -f conftest.$ac_objext
20883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20884 (eval $ac_compile) 2>conftest.er1
20885 ac_status=$?
20886 grep -v '^ *+' conftest.er1 >conftest.err
20887 rm -f conftest.er1
20888 cat conftest.err >&5
20889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20890 (exit $ac_status); } &&
20891 { ac_try='test -z "$ac_c_werror_flag"
20892 || test ! -s conftest.err'
20893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20894 (eval $ac_try) 2>&5
20895 ac_status=$?
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); }; } &&
20898 { ac_try='test -s conftest.$ac_objext'
20899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20900 (eval $ac_try) 2>&5
20901 ac_status=$?
20902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903 (exit $ac_status); }; }; then
20904 ac_cv_type_short=yes
20905 else
20906 echo "$as_me: failed program was:" >&5
20907 sed 's/^/| /' conftest.$ac_ext >&5
20908
20909 ac_cv_type_short=no
20910 fi
20911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20912 fi
20913 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20914 echo "${ECHO_T}$ac_cv_type_short" >&6
20915
20916 echo "$as_me:$LINENO: checking size of short" >&5
20917 echo $ECHO_N "checking size of short... $ECHO_C" >&6
20918 if test "${ac_cv_sizeof_short+set}" = set; then
20919 echo $ECHO_N "(cached) $ECHO_C" >&6
20920 else
20921 if test "$ac_cv_type_short" = yes; then
20922 # The cast to unsigned long works around a bug in the HP C Compiler
20923 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20924 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20925 # This bug is HP SR number 8606223364.
20926 if test "$cross_compiling" = yes; then
20927 # Depending upon the size, compute the lo and hi bounds.
20928 cat >conftest.$ac_ext <<_ACEOF
20929 /* confdefs.h. */
20930 _ACEOF
20931 cat confdefs.h >>conftest.$ac_ext
20932 cat >>conftest.$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20934 $ac_includes_default
20935 int
20936 main ()
20937 {
20938 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
20939 test_array [0] = 0
20940
20941 ;
20942 return 0;
20943 }
20944 _ACEOF
20945 rm -f conftest.$ac_objext
20946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20947 (eval $ac_compile) 2>conftest.er1
20948 ac_status=$?
20949 grep -v '^ *+' conftest.er1 >conftest.err
20950 rm -f conftest.er1
20951 cat conftest.err >&5
20952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20953 (exit $ac_status); } &&
20954 { ac_try='test -z "$ac_c_werror_flag"
20955 || test ! -s conftest.err'
20956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20957 (eval $ac_try) 2>&5
20958 ac_status=$?
20959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960 (exit $ac_status); }; } &&
20961 { ac_try='test -s conftest.$ac_objext'
20962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20963 (eval $ac_try) 2>&5
20964 ac_status=$?
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); }; }; then
20967 ac_lo=0 ac_mid=0
20968 while :; do
20969 cat >conftest.$ac_ext <<_ACEOF
20970 /* confdefs.h. */
20971 _ACEOF
20972 cat confdefs.h >>conftest.$ac_ext
20973 cat >>conftest.$ac_ext <<_ACEOF
20974 /* end confdefs.h. */
20975 $ac_includes_default
20976 int
20977 main ()
20978 {
20979 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
20980 test_array [0] = 0
20981
20982 ;
20983 return 0;
20984 }
20985 _ACEOF
20986 rm -f conftest.$ac_objext
20987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20988 (eval $ac_compile) 2>conftest.er1
20989 ac_status=$?
20990 grep -v '^ *+' conftest.er1 >conftest.err
20991 rm -f conftest.er1
20992 cat conftest.err >&5
20993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20994 (exit $ac_status); } &&
20995 { ac_try='test -z "$ac_c_werror_flag"
20996 || test ! -s conftest.err'
20997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20998 (eval $ac_try) 2>&5
20999 ac_status=$?
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); }; } &&
21002 { ac_try='test -s conftest.$ac_objext'
21003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21004 (eval $ac_try) 2>&5
21005 ac_status=$?
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); }; }; then
21008 ac_hi=$ac_mid; break
21009 else
21010 echo "$as_me: failed program was:" >&5
21011 sed 's/^/| /' conftest.$ac_ext >&5
21012
21013 ac_lo=`expr $ac_mid + 1`
21014 if test $ac_lo -le $ac_mid; then
21015 ac_lo= ac_hi=
21016 break
21017 fi
21018 ac_mid=`expr 2 '*' $ac_mid + 1`
21019 fi
21020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21021 done
21022 else
21023 echo "$as_me: failed program was:" >&5
21024 sed 's/^/| /' conftest.$ac_ext >&5
21025
21026 cat >conftest.$ac_ext <<_ACEOF
21027 /* confdefs.h. */
21028 _ACEOF
21029 cat confdefs.h >>conftest.$ac_ext
21030 cat >>conftest.$ac_ext <<_ACEOF
21031 /* end confdefs.h. */
21032 $ac_includes_default
21033 int
21034 main ()
21035 {
21036 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
21037 test_array [0] = 0
21038
21039 ;
21040 return 0;
21041 }
21042 _ACEOF
21043 rm -f conftest.$ac_objext
21044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21045 (eval $ac_compile) 2>conftest.er1
21046 ac_status=$?
21047 grep -v '^ *+' conftest.er1 >conftest.err
21048 rm -f conftest.er1
21049 cat conftest.err >&5
21050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051 (exit $ac_status); } &&
21052 { ac_try='test -z "$ac_c_werror_flag"
21053 || test ! -s conftest.err'
21054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21055 (eval $ac_try) 2>&5
21056 ac_status=$?
21057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21058 (exit $ac_status); }; } &&
21059 { ac_try='test -s conftest.$ac_objext'
21060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21061 (eval $ac_try) 2>&5
21062 ac_status=$?
21063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21064 (exit $ac_status); }; }; then
21065 ac_hi=-1 ac_mid=-1
21066 while :; do
21067 cat >conftest.$ac_ext <<_ACEOF
21068 /* confdefs.h. */
21069 _ACEOF
21070 cat confdefs.h >>conftest.$ac_ext
21071 cat >>conftest.$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21073 $ac_includes_default
21074 int
21075 main ()
21076 {
21077 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
21078 test_array [0] = 0
21079
21080 ;
21081 return 0;
21082 }
21083 _ACEOF
21084 rm -f conftest.$ac_objext
21085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21086 (eval $ac_compile) 2>conftest.er1
21087 ac_status=$?
21088 grep -v '^ *+' conftest.er1 >conftest.err
21089 rm -f conftest.er1
21090 cat conftest.err >&5
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); } &&
21093 { ac_try='test -z "$ac_c_werror_flag"
21094 || test ! -s conftest.err'
21095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21096 (eval $ac_try) 2>&5
21097 ac_status=$?
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); }; } &&
21100 { ac_try='test -s conftest.$ac_objext'
21101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21102 (eval $ac_try) 2>&5
21103 ac_status=$?
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); }; }; then
21106 ac_lo=$ac_mid; break
21107 else
21108 echo "$as_me: failed program was:" >&5
21109 sed 's/^/| /' conftest.$ac_ext >&5
21110
21111 ac_hi=`expr '(' $ac_mid ')' - 1`
21112 if test $ac_mid -le $ac_hi; then
21113 ac_lo= ac_hi=
21114 break
21115 fi
21116 ac_mid=`expr 2 '*' $ac_mid`
21117 fi
21118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21119 done
21120 else
21121 echo "$as_me: failed program was:" >&5
21122 sed 's/^/| /' conftest.$ac_ext >&5
21123
21124 ac_lo= ac_hi=
21125 fi
21126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21127 fi
21128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21129 # Binary search between lo and hi bounds.
21130 while test "x$ac_lo" != "x$ac_hi"; do
21131 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21132 cat >conftest.$ac_ext <<_ACEOF
21133 /* confdefs.h. */
21134 _ACEOF
21135 cat confdefs.h >>conftest.$ac_ext
21136 cat >>conftest.$ac_ext <<_ACEOF
21137 /* end confdefs.h. */
21138 $ac_includes_default
21139 int
21140 main ()
21141 {
21142 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
21143 test_array [0] = 0
21144
21145 ;
21146 return 0;
21147 }
21148 _ACEOF
21149 rm -f conftest.$ac_objext
21150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21151 (eval $ac_compile) 2>conftest.er1
21152 ac_status=$?
21153 grep -v '^ *+' conftest.er1 >conftest.err
21154 rm -f conftest.er1
21155 cat conftest.err >&5
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); } &&
21158 { ac_try='test -z "$ac_c_werror_flag"
21159 || test ! -s conftest.err'
21160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21161 (eval $ac_try) 2>&5
21162 ac_status=$?
21163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21164 (exit $ac_status); }; } &&
21165 { ac_try='test -s conftest.$ac_objext'
21166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21167 (eval $ac_try) 2>&5
21168 ac_status=$?
21169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21170 (exit $ac_status); }; }; then
21171 ac_hi=$ac_mid
21172 else
21173 echo "$as_me: failed program was:" >&5
21174 sed 's/^/| /' conftest.$ac_ext >&5
21175
21176 ac_lo=`expr '(' $ac_mid ')' + 1`
21177 fi
21178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21179 done
21180 case $ac_lo in
21181 ?*) ac_cv_sizeof_short=$ac_lo;;
21182 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
21183 See \`config.log' for more details." >&5
21184 echo "$as_me: error: cannot compute sizeof (short), 77
21185 See \`config.log' for more details." >&2;}
21186 { (exit 1); exit 1; }; } ;;
21187 esac
21188 else
21189 if test "$cross_compiling" = yes; then
21190 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21191 See \`config.log' for more details." >&5
21192 echo "$as_me: error: cannot run test program while cross compiling
21193 See \`config.log' for more details." >&2;}
21194 { (exit 1); exit 1; }; }
21195 else
21196 cat >conftest.$ac_ext <<_ACEOF
21197 /* confdefs.h. */
21198 _ACEOF
21199 cat confdefs.h >>conftest.$ac_ext
21200 cat >>conftest.$ac_ext <<_ACEOF
21201 /* end confdefs.h. */
21202 $ac_includes_default
21203 long longval () { return (long) (sizeof (short)); }
21204 unsigned long ulongval () { return (long) (sizeof (short)); }
21205 #include <stdio.h>
21206 #include <stdlib.h>
21207 int
21208 main ()
21209 {
21210
21211 FILE *f = fopen ("conftest.val", "w");
21212 if (! f)
21213 exit (1);
21214 if (((long) (sizeof (short))) < 0)
21215 {
21216 long i = longval ();
21217 if (i != ((long) (sizeof (short))))
21218 exit (1);
21219 fprintf (f, "%ld\n", i);
21220 }
21221 else
21222 {
21223 unsigned long i = ulongval ();
21224 if (i != ((long) (sizeof (short))))
21225 exit (1);
21226 fprintf (f, "%lu\n", i);
21227 }
21228 exit (ferror (f) || fclose (f) != 0);
21229
21230 ;
21231 return 0;
21232 }
21233 _ACEOF
21234 rm -f conftest$ac_exeext
21235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21236 (eval $ac_link) 2>&5
21237 ac_status=$?
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21241 (eval $ac_try) 2>&5
21242 ac_status=$?
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); }; }; then
21245 ac_cv_sizeof_short=`cat conftest.val`
21246 else
21247 echo "$as_me: program exited with status $ac_status" >&5
21248 echo "$as_me: failed program was:" >&5
21249 sed 's/^/| /' conftest.$ac_ext >&5
21250
21251 ( exit $ac_status )
21252 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
21253 See \`config.log' for more details." >&5
21254 echo "$as_me: error: cannot compute sizeof (short), 77
21255 See \`config.log' for more details." >&2;}
21256 { (exit 1); exit 1; }; }
21257 fi
21258 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21259 fi
21260 fi
21261 rm -f conftest.val
21262 else
21263 ac_cv_sizeof_short=0
21264 fi
21265 fi
21266 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21267 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
21268 cat >>confdefs.h <<_ACEOF
21269 #define SIZEOF_SHORT $ac_cv_sizeof_short
21270 _ACEOF
21271
21272
21273 echo "$as_me:$LINENO: checking for void *" >&5
21274 echo $ECHO_N "checking for void *... $ECHO_C" >&6
21275 if test "${ac_cv_type_void_p+set}" = set; then
21276 echo $ECHO_N "(cached) $ECHO_C" >&6
21277 else
21278 cat >conftest.$ac_ext <<_ACEOF
21279 /* confdefs.h. */
21280 _ACEOF
21281 cat confdefs.h >>conftest.$ac_ext
21282 cat >>conftest.$ac_ext <<_ACEOF
21283 /* end confdefs.h. */
21284 $ac_includes_default
21285 int
21286 main ()
21287 {
21288 if ((void * *) 0)
21289 return 0;
21290 if (sizeof (void *))
21291 return 0;
21292 ;
21293 return 0;
21294 }
21295 _ACEOF
21296 rm -f conftest.$ac_objext
21297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21298 (eval $ac_compile) 2>conftest.er1
21299 ac_status=$?
21300 grep -v '^ *+' conftest.er1 >conftest.err
21301 rm -f conftest.er1
21302 cat conftest.err >&5
21303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21304 (exit $ac_status); } &&
21305 { ac_try='test -z "$ac_c_werror_flag"
21306 || test ! -s conftest.err'
21307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21308 (eval $ac_try) 2>&5
21309 ac_status=$?
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); }; } &&
21312 { ac_try='test -s conftest.$ac_objext'
21313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21314 (eval $ac_try) 2>&5
21315 ac_status=$?
21316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21317 (exit $ac_status); }; }; then
21318 ac_cv_type_void_p=yes
21319 else
21320 echo "$as_me: failed program was:" >&5
21321 sed 's/^/| /' conftest.$ac_ext >&5
21322
21323 ac_cv_type_void_p=no
21324 fi
21325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21326 fi
21327 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21328 echo "${ECHO_T}$ac_cv_type_void_p" >&6
21329
21330 echo "$as_me:$LINENO: checking size of void *" >&5
21331 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
21332 if test "${ac_cv_sizeof_void_p+set}" = set; then
21333 echo $ECHO_N "(cached) $ECHO_C" >&6
21334 else
21335 if test "$ac_cv_type_void_p" = yes; then
21336 # The cast to unsigned long works around a bug in the HP C Compiler
21337 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21338 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21339 # This bug is HP SR number 8606223364.
21340 if test "$cross_compiling" = yes; then
21341 # Depending upon the size, compute the lo and hi bounds.
21342 cat >conftest.$ac_ext <<_ACEOF
21343 /* confdefs.h. */
21344 _ACEOF
21345 cat confdefs.h >>conftest.$ac_ext
21346 cat >>conftest.$ac_ext <<_ACEOF
21347 /* end confdefs.h. */
21348 $ac_includes_default
21349 int
21350 main ()
21351 {
21352 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
21353 test_array [0] = 0
21354
21355 ;
21356 return 0;
21357 }
21358 _ACEOF
21359 rm -f conftest.$ac_objext
21360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21361 (eval $ac_compile) 2>conftest.er1
21362 ac_status=$?
21363 grep -v '^ *+' conftest.er1 >conftest.err
21364 rm -f conftest.er1
21365 cat conftest.err >&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } &&
21368 { ac_try='test -z "$ac_c_werror_flag"
21369 || test ! -s conftest.err'
21370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21371 (eval $ac_try) 2>&5
21372 ac_status=$?
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); }; } &&
21375 { ac_try='test -s conftest.$ac_objext'
21376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21377 (eval $ac_try) 2>&5
21378 ac_status=$?
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; }; then
21381 ac_lo=0 ac_mid=0
21382 while :; do
21383 cat >conftest.$ac_ext <<_ACEOF
21384 /* confdefs.h. */
21385 _ACEOF
21386 cat confdefs.h >>conftest.$ac_ext
21387 cat >>conftest.$ac_ext <<_ACEOF
21388 /* end confdefs.h. */
21389 $ac_includes_default
21390 int
21391 main ()
21392 {
21393 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
21394 test_array [0] = 0
21395
21396 ;
21397 return 0;
21398 }
21399 _ACEOF
21400 rm -f conftest.$ac_objext
21401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21402 (eval $ac_compile) 2>conftest.er1
21403 ac_status=$?
21404 grep -v '^ *+' conftest.er1 >conftest.err
21405 rm -f conftest.er1
21406 cat conftest.err >&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); } &&
21409 { ac_try='test -z "$ac_c_werror_flag"
21410 || test ! -s conftest.err'
21411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21412 (eval $ac_try) 2>&5
21413 ac_status=$?
21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21415 (exit $ac_status); }; } &&
21416 { ac_try='test -s conftest.$ac_objext'
21417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21418 (eval $ac_try) 2>&5
21419 ac_status=$?
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); }; }; then
21422 ac_hi=$ac_mid; break
21423 else
21424 echo "$as_me: failed program was:" >&5
21425 sed 's/^/| /' conftest.$ac_ext >&5
21426
21427 ac_lo=`expr $ac_mid + 1`
21428 if test $ac_lo -le $ac_mid; then
21429 ac_lo= ac_hi=
21430 break
21431 fi
21432 ac_mid=`expr 2 '*' $ac_mid + 1`
21433 fi
21434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21435 done
21436 else
21437 echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.$ac_ext >&5
21439
21440 cat >conftest.$ac_ext <<_ACEOF
21441 /* confdefs.h. */
21442 _ACEOF
21443 cat confdefs.h >>conftest.$ac_ext
21444 cat >>conftest.$ac_ext <<_ACEOF
21445 /* end confdefs.h. */
21446 $ac_includes_default
21447 int
21448 main ()
21449 {
21450 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
21451 test_array [0] = 0
21452
21453 ;
21454 return 0;
21455 }
21456 _ACEOF
21457 rm -f conftest.$ac_objext
21458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21459 (eval $ac_compile) 2>conftest.er1
21460 ac_status=$?
21461 grep -v '^ *+' conftest.er1 >conftest.err
21462 rm -f conftest.er1
21463 cat conftest.err >&5
21464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21465 (exit $ac_status); } &&
21466 { ac_try='test -z "$ac_c_werror_flag"
21467 || test ! -s conftest.err'
21468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21469 (eval $ac_try) 2>&5
21470 ac_status=$?
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); }; } &&
21473 { ac_try='test -s conftest.$ac_objext'
21474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21475 (eval $ac_try) 2>&5
21476 ac_status=$?
21477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21478 (exit $ac_status); }; }; then
21479 ac_hi=-1 ac_mid=-1
21480 while :; do
21481 cat >conftest.$ac_ext <<_ACEOF
21482 /* confdefs.h. */
21483 _ACEOF
21484 cat confdefs.h >>conftest.$ac_ext
21485 cat >>conftest.$ac_ext <<_ACEOF
21486 /* end confdefs.h. */
21487 $ac_includes_default
21488 int
21489 main ()
21490 {
21491 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
21492 test_array [0] = 0
21493
21494 ;
21495 return 0;
21496 }
21497 _ACEOF
21498 rm -f conftest.$ac_objext
21499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21500 (eval $ac_compile) 2>conftest.er1
21501 ac_status=$?
21502 grep -v '^ *+' conftest.er1 >conftest.err
21503 rm -f conftest.er1
21504 cat conftest.err >&5
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); } &&
21507 { ac_try='test -z "$ac_c_werror_flag"
21508 || test ! -s conftest.err'
21509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21510 (eval $ac_try) 2>&5
21511 ac_status=$?
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); }; } &&
21514 { ac_try='test -s conftest.$ac_objext'
21515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21516 (eval $ac_try) 2>&5
21517 ac_status=$?
21518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21519 (exit $ac_status); }; }; then
21520 ac_lo=$ac_mid; break
21521 else
21522 echo "$as_me: failed program was:" >&5
21523 sed 's/^/| /' conftest.$ac_ext >&5
21524
21525 ac_hi=`expr '(' $ac_mid ')' - 1`
21526 if test $ac_mid -le $ac_hi; then
21527 ac_lo= ac_hi=
21528 break
21529 fi
21530 ac_mid=`expr 2 '*' $ac_mid`
21531 fi
21532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21533 done
21534 else
21535 echo "$as_me: failed program was:" >&5
21536 sed 's/^/| /' conftest.$ac_ext >&5
21537
21538 ac_lo= ac_hi=
21539 fi
21540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21541 fi
21542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21543 # Binary search between lo and hi bounds.
21544 while test "x$ac_lo" != "x$ac_hi"; do
21545 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21546 cat >conftest.$ac_ext <<_ACEOF
21547 /* confdefs.h. */
21548 _ACEOF
21549 cat confdefs.h >>conftest.$ac_ext
21550 cat >>conftest.$ac_ext <<_ACEOF
21551 /* end confdefs.h. */
21552 $ac_includes_default
21553 int
21554 main ()
21555 {
21556 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
21557 test_array [0] = 0
21558
21559 ;
21560 return 0;
21561 }
21562 _ACEOF
21563 rm -f conftest.$ac_objext
21564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21565 (eval $ac_compile) 2>conftest.er1
21566 ac_status=$?
21567 grep -v '^ *+' conftest.er1 >conftest.err
21568 rm -f conftest.er1
21569 cat conftest.err >&5
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); } &&
21572 { ac_try='test -z "$ac_c_werror_flag"
21573 || test ! -s conftest.err'
21574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21575 (eval $ac_try) 2>&5
21576 ac_status=$?
21577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578 (exit $ac_status); }; } &&
21579 { ac_try='test -s conftest.$ac_objext'
21580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21581 (eval $ac_try) 2>&5
21582 ac_status=$?
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); }; }; then
21585 ac_hi=$ac_mid
21586 else
21587 echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.$ac_ext >&5
21589
21590 ac_lo=`expr '(' $ac_mid ')' + 1`
21591 fi
21592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21593 done
21594 case $ac_lo in
21595 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21596 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
21597 See \`config.log' for more details." >&5
21598 echo "$as_me: error: cannot compute sizeof (void *), 77
21599 See \`config.log' for more details." >&2;}
21600 { (exit 1); exit 1; }; } ;;
21601 esac
21602 else
21603 if test "$cross_compiling" = yes; then
21604 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
21605 See \`config.log' for more details." >&5
21606 echo "$as_me: error: cannot run test program while cross compiling
21607 See \`config.log' for more details." >&2;}
21608 { (exit 1); exit 1; }; }
21609 else
21610 cat >conftest.$ac_ext <<_ACEOF
21611 /* confdefs.h. */
21612 _ACEOF
21613 cat confdefs.h >>conftest.$ac_ext
21614 cat >>conftest.$ac_ext <<_ACEOF
21615 /* end confdefs.h. */
21616 $ac_includes_default
21617 long longval () { return (long) (sizeof (void *)); }
21618 unsigned long ulongval () { return (long) (sizeof (void *)); }
21619 #include <stdio.h>
21620 #include <stdlib.h>
21621 int
21622 main ()
21623 {
21624
21625 FILE *f = fopen ("conftest.val", "w");
21626 if (! f)
21627 exit (1);
21628 if (((long) (sizeof (void *))) < 0)
21629 {
21630 long i = longval ();
21631 if (i != ((long) (sizeof (void *))))
21632 exit (1);
21633 fprintf (f, "%ld\n", i);
21634 }
21635 else
21636 {
21637 unsigned long i = ulongval ();
21638 if (i != ((long) (sizeof (void *))))
21639 exit (1);
21640 fprintf (f, "%lu\n", i);
21641 }
21642 exit (ferror (f) || fclose (f) != 0);
21643
21644 ;
21645 return 0;
21646 }
21647 _ACEOF
21648 rm -f conftest$ac_exeext
21649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21650 (eval $ac_link) 2>&5
21651 ac_status=$?
21652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21653 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655 (eval $ac_try) 2>&5
21656 ac_status=$?
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; }; then
21659 ac_cv_sizeof_void_p=`cat conftest.val`
21660 else
21661 echo "$as_me: program exited with status $ac_status" >&5
21662 echo "$as_me: failed program was:" >&5
21663 sed 's/^/| /' conftest.$ac_ext >&5
21664
21665 ( exit $ac_status )
21666 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
21667 See \`config.log' for more details." >&5
21668 echo "$as_me: error: cannot compute sizeof (void *), 77
21669 See \`config.log' for more details." >&2;}
21670 { (exit 1); exit 1; }; }
21671 fi
21672 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21673 fi
21674 fi
21675 rm -f conftest.val
21676 else
21677 ac_cv_sizeof_void_p=0
21678 fi
21679 fi
21680 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21681 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
21682 cat >>confdefs.h <<_ACEOF
21683 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21684 _ACEOF
21685
21686
21687 echo "$as_me:$LINENO: checking for int" >&5
21688 echo $ECHO_N "checking for int... $ECHO_C" >&6
21689 if test "${ac_cv_type_int+set}" = set; then
21690 echo $ECHO_N "(cached) $ECHO_C" >&6
21691 else
21692 cat >conftest.$ac_ext <<_ACEOF
21693 /* confdefs.h. */
21694 _ACEOF
21695 cat confdefs.h >>conftest.$ac_ext
21696 cat >>conftest.$ac_ext <<_ACEOF
21697 /* end confdefs.h. */
21698 $ac_includes_default
21699 int
21700 main ()
21701 {
21702 if ((int *) 0)
21703 return 0;
21704 if (sizeof (int))
21705 return 0;
21706 ;
21707 return 0;
21708 }
21709 _ACEOF
21710 rm -f conftest.$ac_objext
21711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21712 (eval $ac_compile) 2>conftest.er1
21713 ac_status=$?
21714 grep -v '^ *+' conftest.er1 >conftest.err
21715 rm -f conftest.er1
21716 cat conftest.err >&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); } &&
21719 { ac_try='test -z "$ac_c_werror_flag"
21720 || test ! -s conftest.err'
21721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21722 (eval $ac_try) 2>&5
21723 ac_status=$?
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); }; } &&
21726 { ac_try='test -s conftest.$ac_objext'
21727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21728 (eval $ac_try) 2>&5
21729 ac_status=$?
21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731 (exit $ac_status); }; }; then
21732 ac_cv_type_int=yes
21733 else
21734 echo "$as_me: failed program was:" >&5
21735 sed 's/^/| /' conftest.$ac_ext >&5
21736
21737 ac_cv_type_int=no
21738 fi
21739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21740 fi
21741 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21742 echo "${ECHO_T}$ac_cv_type_int" >&6
21743
21744 echo "$as_me:$LINENO: checking size of int" >&5
21745 echo $ECHO_N "checking size of int... $ECHO_C" >&6
21746 if test "${ac_cv_sizeof_int+set}" = set; then
21747 echo $ECHO_N "(cached) $ECHO_C" >&6
21748 else
21749 if test "$ac_cv_type_int" = yes; then
21750 # The cast to unsigned long works around a bug in the HP C Compiler
21751 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21752 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21753 # This bug is HP SR number 8606223364.
21754 if test "$cross_compiling" = yes; then
21755 # Depending upon the size, compute the lo and hi bounds.
21756 cat >conftest.$ac_ext <<_ACEOF
21757 /* confdefs.h. */
21758 _ACEOF
21759 cat confdefs.h >>conftest.$ac_ext
21760 cat >>conftest.$ac_ext <<_ACEOF
21761 /* end confdefs.h. */
21762 $ac_includes_default
21763 int
21764 main ()
21765 {
21766 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
21767 test_array [0] = 0
21768
21769 ;
21770 return 0;
21771 }
21772 _ACEOF
21773 rm -f conftest.$ac_objext
21774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21775 (eval $ac_compile) 2>conftest.er1
21776 ac_status=$?
21777 grep -v '^ *+' conftest.er1 >conftest.err
21778 rm -f conftest.er1
21779 cat conftest.err >&5
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); } &&
21782 { ac_try='test -z "$ac_c_werror_flag"
21783 || test ! -s conftest.err'
21784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21785 (eval $ac_try) 2>&5
21786 ac_status=$?
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); }; } &&
21789 { ac_try='test -s conftest.$ac_objext'
21790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21791 (eval $ac_try) 2>&5
21792 ac_status=$?
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); }; }; then
21795 ac_lo=0 ac_mid=0
21796 while :; do
21797 cat >conftest.$ac_ext <<_ACEOF
21798 /* confdefs.h. */
21799 _ACEOF
21800 cat confdefs.h >>conftest.$ac_ext
21801 cat >>conftest.$ac_ext <<_ACEOF
21802 /* end confdefs.h. */
21803 $ac_includes_default
21804 int
21805 main ()
21806 {
21807 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
21808 test_array [0] = 0
21809
21810 ;
21811 return 0;
21812 }
21813 _ACEOF
21814 rm -f conftest.$ac_objext
21815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21816 (eval $ac_compile) 2>conftest.er1
21817 ac_status=$?
21818 grep -v '^ *+' conftest.er1 >conftest.err
21819 rm -f conftest.er1
21820 cat conftest.err >&5
21821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21822 (exit $ac_status); } &&
21823 { ac_try='test -z "$ac_c_werror_flag"
21824 || test ! -s conftest.err'
21825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21826 (eval $ac_try) 2>&5
21827 ac_status=$?
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); }; } &&
21830 { ac_try='test -s conftest.$ac_objext'
21831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21832 (eval $ac_try) 2>&5
21833 ac_status=$?
21834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835 (exit $ac_status); }; }; then
21836 ac_hi=$ac_mid; break
21837 else
21838 echo "$as_me: failed program was:" >&5
21839 sed 's/^/| /' conftest.$ac_ext >&5
21840
21841 ac_lo=`expr $ac_mid + 1`
21842 if test $ac_lo -le $ac_mid; then
21843 ac_lo= ac_hi=
21844 break
21845 fi
21846 ac_mid=`expr 2 '*' $ac_mid + 1`
21847 fi
21848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21849 done
21850 else
21851 echo "$as_me: failed program was:" >&5
21852 sed 's/^/| /' conftest.$ac_ext >&5
21853
21854 cat >conftest.$ac_ext <<_ACEOF
21855 /* confdefs.h. */
21856 _ACEOF
21857 cat confdefs.h >>conftest.$ac_ext
21858 cat >>conftest.$ac_ext <<_ACEOF
21859 /* end confdefs.h. */
21860 $ac_includes_default
21861 int
21862 main ()
21863 {
21864 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
21865 test_array [0] = 0
21866
21867 ;
21868 return 0;
21869 }
21870 _ACEOF
21871 rm -f conftest.$ac_objext
21872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21873 (eval $ac_compile) 2>conftest.er1
21874 ac_status=$?
21875 grep -v '^ *+' conftest.er1 >conftest.err
21876 rm -f conftest.er1
21877 cat conftest.err >&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); } &&
21880 { ac_try='test -z "$ac_c_werror_flag"
21881 || test ! -s conftest.err'
21882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21883 (eval $ac_try) 2>&5
21884 ac_status=$?
21885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21886 (exit $ac_status); }; } &&
21887 { ac_try='test -s conftest.$ac_objext'
21888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21889 (eval $ac_try) 2>&5
21890 ac_status=$?
21891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21892 (exit $ac_status); }; }; then
21893 ac_hi=-1 ac_mid=-1
21894 while :; do
21895 cat >conftest.$ac_ext <<_ACEOF
21896 /* confdefs.h. */
21897 _ACEOF
21898 cat confdefs.h >>conftest.$ac_ext
21899 cat >>conftest.$ac_ext <<_ACEOF
21900 /* end confdefs.h. */
21901 $ac_includes_default
21902 int
21903 main ()
21904 {
21905 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
21906 test_array [0] = 0
21907
21908 ;
21909 return 0;
21910 }
21911 _ACEOF
21912 rm -f conftest.$ac_objext
21913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21914 (eval $ac_compile) 2>conftest.er1
21915 ac_status=$?
21916 grep -v '^ *+' conftest.er1 >conftest.err
21917 rm -f conftest.er1
21918 cat conftest.err >&5
21919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21920 (exit $ac_status); } &&
21921 { ac_try='test -z "$ac_c_werror_flag"
21922 || test ! -s conftest.err'
21923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21924 (eval $ac_try) 2>&5
21925 ac_status=$?
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); }; } &&
21928 { ac_try='test -s conftest.$ac_objext'
21929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21930 (eval $ac_try) 2>&5
21931 ac_status=$?
21932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933 (exit $ac_status); }; }; then
21934 ac_lo=$ac_mid; break
21935 else
21936 echo "$as_me: failed program was:" >&5
21937 sed 's/^/| /' conftest.$ac_ext >&5
21938
21939 ac_hi=`expr '(' $ac_mid ')' - 1`
21940 if test $ac_mid -le $ac_hi; then
21941 ac_lo= ac_hi=
21942 break
21943 fi
21944 ac_mid=`expr 2 '*' $ac_mid`
21945 fi
21946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21947 done
21948 else
21949 echo "$as_me: failed program was:" >&5
21950 sed 's/^/| /' conftest.$ac_ext >&5
21951
21952 ac_lo= ac_hi=
21953 fi
21954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21955 fi
21956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21957 # Binary search between lo and hi bounds.
21958 while test "x$ac_lo" != "x$ac_hi"; do
21959 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21960 cat >conftest.$ac_ext <<_ACEOF
21961 /* confdefs.h. */
21962 _ACEOF
21963 cat confdefs.h >>conftest.$ac_ext
21964 cat >>conftest.$ac_ext <<_ACEOF
21965 /* end confdefs.h. */
21966 $ac_includes_default
21967 int
21968 main ()
21969 {
21970 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
21971 test_array [0] = 0
21972
21973 ;
21974 return 0;
21975 }
21976 _ACEOF
21977 rm -f conftest.$ac_objext
21978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21979 (eval $ac_compile) 2>conftest.er1
21980 ac_status=$?
21981 grep -v '^ *+' conftest.er1 >conftest.err
21982 rm -f conftest.er1
21983 cat conftest.err >&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); } &&
21986 { ac_try='test -z "$ac_c_werror_flag"
21987 || test ! -s conftest.err'
21988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21989 (eval $ac_try) 2>&5
21990 ac_status=$?
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); }; } &&
21993 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21999 ac_hi=$ac_mid
22000 else
22001 echo "$as_me: failed program was:" >&5
22002 sed 's/^/| /' conftest.$ac_ext >&5
22003
22004 ac_lo=`expr '(' $ac_mid ')' + 1`
22005 fi
22006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22007 done
22008 case $ac_lo in
22009 ?*) ac_cv_sizeof_int=$ac_lo;;
22010 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
22011 See \`config.log' for more details." >&5
22012 echo "$as_me: error: cannot compute sizeof (int), 77
22013 See \`config.log' for more details." >&2;}
22014 { (exit 1); exit 1; }; } ;;
22015 esac
22016 else
22017 if test "$cross_compiling" = yes; then
22018 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22019 See \`config.log' for more details." >&5
22020 echo "$as_me: error: cannot run test program while cross compiling
22021 See \`config.log' for more details." >&2;}
22022 { (exit 1); exit 1; }; }
22023 else
22024 cat >conftest.$ac_ext <<_ACEOF
22025 /* confdefs.h. */
22026 _ACEOF
22027 cat confdefs.h >>conftest.$ac_ext
22028 cat >>conftest.$ac_ext <<_ACEOF
22029 /* end confdefs.h. */
22030 $ac_includes_default
22031 long longval () { return (long) (sizeof (int)); }
22032 unsigned long ulongval () { return (long) (sizeof (int)); }
22033 #include <stdio.h>
22034 #include <stdlib.h>
22035 int
22036 main ()
22037 {
22038
22039 FILE *f = fopen ("conftest.val", "w");
22040 if (! f)
22041 exit (1);
22042 if (((long) (sizeof (int))) < 0)
22043 {
22044 long i = longval ();
22045 if (i != ((long) (sizeof (int))))
22046 exit (1);
22047 fprintf (f, "%ld\n", i);
22048 }
22049 else
22050 {
22051 unsigned long i = ulongval ();
22052 if (i != ((long) (sizeof (int))))
22053 exit (1);
22054 fprintf (f, "%lu\n", i);
22055 }
22056 exit (ferror (f) || fclose (f) != 0);
22057
22058 ;
22059 return 0;
22060 }
22061 _ACEOF
22062 rm -f conftest$ac_exeext
22063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22064 (eval $ac_link) 2>&5
22065 ac_status=$?
22066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22067 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22069 (eval $ac_try) 2>&5
22070 ac_status=$?
22071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22072 (exit $ac_status); }; }; then
22073 ac_cv_sizeof_int=`cat conftest.val`
22074 else
22075 echo "$as_me: program exited with status $ac_status" >&5
22076 echo "$as_me: failed program was:" >&5
22077 sed 's/^/| /' conftest.$ac_ext >&5
22078
22079 ( exit $ac_status )
22080 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
22081 See \`config.log' for more details." >&5
22082 echo "$as_me: error: cannot compute sizeof (int), 77
22083 See \`config.log' for more details." >&2;}
22084 { (exit 1); exit 1; }; }
22085 fi
22086 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22087 fi
22088 fi
22089 rm -f conftest.val
22090 else
22091 ac_cv_sizeof_int=0
22092 fi
22093 fi
22094 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22095 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
22096 cat >>confdefs.h <<_ACEOF
22097 #define SIZEOF_INT $ac_cv_sizeof_int
22098 _ACEOF
22099
22100
22101 echo "$as_me:$LINENO: checking for long" >&5
22102 echo $ECHO_N "checking for long... $ECHO_C" >&6
22103 if test "${ac_cv_type_long+set}" = set; then
22104 echo $ECHO_N "(cached) $ECHO_C" >&6
22105 else
22106 cat >conftest.$ac_ext <<_ACEOF
22107 /* confdefs.h. */
22108 _ACEOF
22109 cat confdefs.h >>conftest.$ac_ext
22110 cat >>conftest.$ac_ext <<_ACEOF
22111 /* end confdefs.h. */
22112 $ac_includes_default
22113 int
22114 main ()
22115 {
22116 if ((long *) 0)
22117 return 0;
22118 if (sizeof (long))
22119 return 0;
22120 ;
22121 return 0;
22122 }
22123 _ACEOF
22124 rm -f conftest.$ac_objext
22125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22126 (eval $ac_compile) 2>conftest.er1
22127 ac_status=$?
22128 grep -v '^ *+' conftest.er1 >conftest.err
22129 rm -f conftest.er1
22130 cat conftest.err >&5
22131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22132 (exit $ac_status); } &&
22133 { ac_try='test -z "$ac_c_werror_flag"
22134 || test ! -s conftest.err'
22135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136 (eval $ac_try) 2>&5
22137 ac_status=$?
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); }; } &&
22140 { ac_try='test -s conftest.$ac_objext'
22141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22142 (eval $ac_try) 2>&5
22143 ac_status=$?
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); }; }; then
22146 ac_cv_type_long=yes
22147 else
22148 echo "$as_me: failed program was:" >&5
22149 sed 's/^/| /' conftest.$ac_ext >&5
22150
22151 ac_cv_type_long=no
22152 fi
22153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22154 fi
22155 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22156 echo "${ECHO_T}$ac_cv_type_long" >&6
22157
22158 echo "$as_me:$LINENO: checking size of long" >&5
22159 echo $ECHO_N "checking size of long... $ECHO_C" >&6
22160 if test "${ac_cv_sizeof_long+set}" = set; then
22161 echo $ECHO_N "(cached) $ECHO_C" >&6
22162 else
22163 if test "$ac_cv_type_long" = yes; then
22164 # The cast to unsigned long works around a bug in the HP C Compiler
22165 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22166 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22167 # This bug is HP SR number 8606223364.
22168 if test "$cross_compiling" = yes; then
22169 # Depending upon the size, compute the lo and hi bounds.
22170 cat >conftest.$ac_ext <<_ACEOF
22171 /* confdefs.h. */
22172 _ACEOF
22173 cat confdefs.h >>conftest.$ac_ext
22174 cat >>conftest.$ac_ext <<_ACEOF
22175 /* end confdefs.h. */
22176 $ac_includes_default
22177 int
22178 main ()
22179 {
22180 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
22181 test_array [0] = 0
22182
22183 ;
22184 return 0;
22185 }
22186 _ACEOF
22187 rm -f conftest.$ac_objext
22188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22189 (eval $ac_compile) 2>conftest.er1
22190 ac_status=$?
22191 grep -v '^ *+' conftest.er1 >conftest.err
22192 rm -f conftest.er1
22193 cat conftest.err >&5
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); } &&
22196 { ac_try='test -z "$ac_c_werror_flag"
22197 || test ! -s conftest.err'
22198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22199 (eval $ac_try) 2>&5
22200 ac_status=$?
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); }; } &&
22203 { ac_try='test -s conftest.$ac_objext'
22204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22205 (eval $ac_try) 2>&5
22206 ac_status=$?
22207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22208 (exit $ac_status); }; }; then
22209 ac_lo=0 ac_mid=0
22210 while :; do
22211 cat >conftest.$ac_ext <<_ACEOF
22212 /* confdefs.h. */
22213 _ACEOF
22214 cat confdefs.h >>conftest.$ac_ext
22215 cat >>conftest.$ac_ext <<_ACEOF
22216 /* end confdefs.h. */
22217 $ac_includes_default
22218 int
22219 main ()
22220 {
22221 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
22222 test_array [0] = 0
22223
22224 ;
22225 return 0;
22226 }
22227 _ACEOF
22228 rm -f conftest.$ac_objext
22229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22230 (eval $ac_compile) 2>conftest.er1
22231 ac_status=$?
22232 grep -v '^ *+' conftest.er1 >conftest.err
22233 rm -f conftest.er1
22234 cat conftest.err >&5
22235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22236 (exit $ac_status); } &&
22237 { ac_try='test -z "$ac_c_werror_flag"
22238 || test ! -s conftest.err'
22239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22240 (eval $ac_try) 2>&5
22241 ac_status=$?
22242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243 (exit $ac_status); }; } &&
22244 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
22250 ac_hi=$ac_mid; break
22251 else
22252 echo "$as_me: failed program was:" >&5
22253 sed 's/^/| /' conftest.$ac_ext >&5
22254
22255 ac_lo=`expr $ac_mid + 1`
22256 if test $ac_lo -le $ac_mid; then
22257 ac_lo= ac_hi=
22258 break
22259 fi
22260 ac_mid=`expr 2 '*' $ac_mid + 1`
22261 fi
22262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22263 done
22264 else
22265 echo "$as_me: failed program was:" >&5
22266 sed 's/^/| /' conftest.$ac_ext >&5
22267
22268 cat >conftest.$ac_ext <<_ACEOF
22269 /* confdefs.h. */
22270 _ACEOF
22271 cat confdefs.h >>conftest.$ac_ext
22272 cat >>conftest.$ac_ext <<_ACEOF
22273 /* end confdefs.h. */
22274 $ac_includes_default
22275 int
22276 main ()
22277 {
22278 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
22279 test_array [0] = 0
22280
22281 ;
22282 return 0;
22283 }
22284 _ACEOF
22285 rm -f conftest.$ac_objext
22286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22287 (eval $ac_compile) 2>conftest.er1
22288 ac_status=$?
22289 grep -v '^ *+' conftest.er1 >conftest.err
22290 rm -f conftest.er1
22291 cat conftest.err >&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); } &&
22294 { ac_try='test -z "$ac_c_werror_flag"
22295 || test ! -s conftest.err'
22296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22297 (eval $ac_try) 2>&5
22298 ac_status=$?
22299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22300 (exit $ac_status); }; } &&
22301 { ac_try='test -s conftest.$ac_objext'
22302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22303 (eval $ac_try) 2>&5
22304 ac_status=$?
22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306 (exit $ac_status); }; }; then
22307 ac_hi=-1 ac_mid=-1
22308 while :; do
22309 cat >conftest.$ac_ext <<_ACEOF
22310 /* confdefs.h. */
22311 _ACEOF
22312 cat confdefs.h >>conftest.$ac_ext
22313 cat >>conftest.$ac_ext <<_ACEOF
22314 /* end confdefs.h. */
22315 $ac_includes_default
22316 int
22317 main ()
22318 {
22319 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
22320 test_array [0] = 0
22321
22322 ;
22323 return 0;
22324 }
22325 _ACEOF
22326 rm -f conftest.$ac_objext
22327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22328 (eval $ac_compile) 2>conftest.er1
22329 ac_status=$?
22330 grep -v '^ *+' conftest.er1 >conftest.err
22331 rm -f conftest.er1
22332 cat conftest.err >&5
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); } &&
22335 { ac_try='test -z "$ac_c_werror_flag"
22336 || test ! -s conftest.err'
22337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22338 (eval $ac_try) 2>&5
22339 ac_status=$?
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); }; } &&
22342 { ac_try='test -s conftest.$ac_objext'
22343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22344 (eval $ac_try) 2>&5
22345 ac_status=$?
22346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22347 (exit $ac_status); }; }; then
22348 ac_lo=$ac_mid; break
22349 else
22350 echo "$as_me: failed program was:" >&5
22351 sed 's/^/| /' conftest.$ac_ext >&5
22352
22353 ac_hi=`expr '(' $ac_mid ')' - 1`
22354 if test $ac_mid -le $ac_hi; then
22355 ac_lo= ac_hi=
22356 break
22357 fi
22358 ac_mid=`expr 2 '*' $ac_mid`
22359 fi
22360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22361 done
22362 else
22363 echo "$as_me: failed program was:" >&5
22364 sed 's/^/| /' conftest.$ac_ext >&5
22365
22366 ac_lo= ac_hi=
22367 fi
22368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22369 fi
22370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22371 # Binary search between lo and hi bounds.
22372 while test "x$ac_lo" != "x$ac_hi"; do
22373 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22374 cat >conftest.$ac_ext <<_ACEOF
22375 /* confdefs.h. */
22376 _ACEOF
22377 cat confdefs.h >>conftest.$ac_ext
22378 cat >>conftest.$ac_ext <<_ACEOF
22379 /* end confdefs.h. */
22380 $ac_includes_default
22381 int
22382 main ()
22383 {
22384 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
22385 test_array [0] = 0
22386
22387 ;
22388 return 0;
22389 }
22390 _ACEOF
22391 rm -f conftest.$ac_objext
22392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22393 (eval $ac_compile) 2>conftest.er1
22394 ac_status=$?
22395 grep -v '^ *+' conftest.er1 >conftest.err
22396 rm -f conftest.er1
22397 cat conftest.err >&5
22398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22399 (exit $ac_status); } &&
22400 { ac_try='test -z "$ac_c_werror_flag"
22401 || test ! -s conftest.err'
22402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22403 (eval $ac_try) 2>&5
22404 ac_status=$?
22405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22406 (exit $ac_status); }; } &&
22407 { ac_try='test -s conftest.$ac_objext'
22408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22409 (eval $ac_try) 2>&5
22410 ac_status=$?
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); }; }; then
22413 ac_hi=$ac_mid
22414 else
22415 echo "$as_me: failed program was:" >&5
22416 sed 's/^/| /' conftest.$ac_ext >&5
22417
22418 ac_lo=`expr '(' $ac_mid ')' + 1`
22419 fi
22420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22421 done
22422 case $ac_lo in
22423 ?*) ac_cv_sizeof_long=$ac_lo;;
22424 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
22425 See \`config.log' for more details." >&5
22426 echo "$as_me: error: cannot compute sizeof (long), 77
22427 See \`config.log' for more details." >&2;}
22428 { (exit 1); exit 1; }; } ;;
22429 esac
22430 else
22431 if test "$cross_compiling" = yes; then
22432 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22433 See \`config.log' for more details." >&5
22434 echo "$as_me: error: cannot run test program while cross compiling
22435 See \`config.log' for more details." >&2;}
22436 { (exit 1); exit 1; }; }
22437 else
22438 cat >conftest.$ac_ext <<_ACEOF
22439 /* confdefs.h. */
22440 _ACEOF
22441 cat confdefs.h >>conftest.$ac_ext
22442 cat >>conftest.$ac_ext <<_ACEOF
22443 /* end confdefs.h. */
22444 $ac_includes_default
22445 long longval () { return (long) (sizeof (long)); }
22446 unsigned long ulongval () { return (long) (sizeof (long)); }
22447 #include <stdio.h>
22448 #include <stdlib.h>
22449 int
22450 main ()
22451 {
22452
22453 FILE *f = fopen ("conftest.val", "w");
22454 if (! f)
22455 exit (1);
22456 if (((long) (sizeof (long))) < 0)
22457 {
22458 long i = longval ();
22459 if (i != ((long) (sizeof (long))))
22460 exit (1);
22461 fprintf (f, "%ld\n", i);
22462 }
22463 else
22464 {
22465 unsigned long i = ulongval ();
22466 if (i != ((long) (sizeof (long))))
22467 exit (1);
22468 fprintf (f, "%lu\n", i);
22469 }
22470 exit (ferror (f) || fclose (f) != 0);
22471
22472 ;
22473 return 0;
22474 }
22475 _ACEOF
22476 rm -f conftest$ac_exeext
22477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22478 (eval $ac_link) 2>&5
22479 ac_status=$?
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22483 (eval $ac_try) 2>&5
22484 ac_status=$?
22485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22486 (exit $ac_status); }; }; then
22487 ac_cv_sizeof_long=`cat conftest.val`
22488 else
22489 echo "$as_me: program exited with status $ac_status" >&5
22490 echo "$as_me: failed program was:" >&5
22491 sed 's/^/| /' conftest.$ac_ext >&5
22492
22493 ( exit $ac_status )
22494 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
22495 See \`config.log' for more details." >&5
22496 echo "$as_me: error: cannot compute sizeof (long), 77
22497 See \`config.log' for more details." >&2;}
22498 { (exit 1); exit 1; }; }
22499 fi
22500 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22501 fi
22502 fi
22503 rm -f conftest.val
22504 else
22505 ac_cv_sizeof_long=0
22506 fi
22507 fi
22508 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22509 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
22510 cat >>confdefs.h <<_ACEOF
22511 #define SIZEOF_LONG $ac_cv_sizeof_long
22512 _ACEOF
22513
22514
22515 echo "$as_me:$LINENO: checking for size_t" >&5
22516 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
22517 if test "${ac_cv_type_size_t+set}" = set; then
22518 echo $ECHO_N "(cached) $ECHO_C" >&6
22519 else
22520 cat >conftest.$ac_ext <<_ACEOF
22521 /* confdefs.h. */
22522 _ACEOF
22523 cat confdefs.h >>conftest.$ac_ext
22524 cat >>conftest.$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22526 $ac_includes_default
22527 int
22528 main ()
22529 {
22530 if ((size_t *) 0)
22531 return 0;
22532 if (sizeof (size_t))
22533 return 0;
22534 ;
22535 return 0;
22536 }
22537 _ACEOF
22538 rm -f conftest.$ac_objext
22539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22540 (eval $ac_compile) 2>conftest.er1
22541 ac_status=$?
22542 grep -v '^ *+' conftest.er1 >conftest.err
22543 rm -f conftest.er1
22544 cat conftest.err >&5
22545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22546 (exit $ac_status); } &&
22547 { ac_try='test -z "$ac_c_werror_flag"
22548 || test ! -s conftest.err'
22549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22550 (eval $ac_try) 2>&5
22551 ac_status=$?
22552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553 (exit $ac_status); }; } &&
22554 { ac_try='test -s conftest.$ac_objext'
22555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22556 (eval $ac_try) 2>&5
22557 ac_status=$?
22558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22559 (exit $ac_status); }; }; then
22560 ac_cv_type_size_t=yes
22561 else
22562 echo "$as_me: failed program was:" >&5
22563 sed 's/^/| /' conftest.$ac_ext >&5
22564
22565 ac_cv_type_size_t=no
22566 fi
22567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22568 fi
22569 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22570 echo "${ECHO_T}$ac_cv_type_size_t" >&6
22571
22572 echo "$as_me:$LINENO: checking size of size_t" >&5
22573 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
22574 if test "${ac_cv_sizeof_size_t+set}" = set; then
22575 echo $ECHO_N "(cached) $ECHO_C" >&6
22576 else
22577 if test "$ac_cv_type_size_t" = yes; then
22578 # The cast to unsigned long works around a bug in the HP C Compiler
22579 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22580 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22581 # This bug is HP SR number 8606223364.
22582 if test "$cross_compiling" = yes; then
22583 # Depending upon the size, compute the lo and hi bounds.
22584 cat >conftest.$ac_ext <<_ACEOF
22585 /* confdefs.h. */
22586 _ACEOF
22587 cat confdefs.h >>conftest.$ac_ext
22588 cat >>conftest.$ac_ext <<_ACEOF
22589 /* end confdefs.h. */
22590 $ac_includes_default
22591 int
22592 main ()
22593 {
22594 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
22595 test_array [0] = 0
22596
22597 ;
22598 return 0;
22599 }
22600 _ACEOF
22601 rm -f conftest.$ac_objext
22602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22603 (eval $ac_compile) 2>conftest.er1
22604 ac_status=$?
22605 grep -v '^ *+' conftest.er1 >conftest.err
22606 rm -f conftest.er1
22607 cat conftest.err >&5
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); } &&
22610 { ac_try='test -z "$ac_c_werror_flag"
22611 || test ! -s conftest.err'
22612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22613 (eval $ac_try) 2>&5
22614 ac_status=$?
22615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22616 (exit $ac_status); }; } &&
22617 { ac_try='test -s conftest.$ac_objext'
22618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22619 (eval $ac_try) 2>&5
22620 ac_status=$?
22621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22622 (exit $ac_status); }; }; then
22623 ac_lo=0 ac_mid=0
22624 while :; do
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 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
22636 test_array [0] = 0
22637
22638 ;
22639 return 0;
22640 }
22641 _ACEOF
22642 rm -f conftest.$ac_objext
22643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22644 (eval $ac_compile) 2>conftest.er1
22645 ac_status=$?
22646 grep -v '^ *+' conftest.er1 >conftest.err
22647 rm -f conftest.er1
22648 cat conftest.err >&5
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); } &&
22651 { ac_try='test -z "$ac_c_werror_flag"
22652 || 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_hi=$ac_mid; break
22665 else
22666 echo "$as_me: failed program was:" >&5
22667 sed 's/^/| /' conftest.$ac_ext >&5
22668
22669 ac_lo=`expr $ac_mid + 1`
22670 if test $ac_lo -le $ac_mid; then
22671 ac_lo= ac_hi=
22672 break
22673 fi
22674 ac_mid=`expr 2 '*' $ac_mid + 1`
22675 fi
22676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22677 done
22678 else
22679 echo "$as_me: failed program was:" >&5
22680 sed 's/^/| /' conftest.$ac_ext >&5
22681
22682 cat >conftest.$ac_ext <<_ACEOF
22683 /* confdefs.h. */
22684 _ACEOF
22685 cat confdefs.h >>conftest.$ac_ext
22686 cat >>conftest.$ac_ext <<_ACEOF
22687 /* end confdefs.h. */
22688 $ac_includes_default
22689 int
22690 main ()
22691 {
22692 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
22693 test_array [0] = 0
22694
22695 ;
22696 return 0;
22697 }
22698 _ACEOF
22699 rm -f conftest.$ac_objext
22700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22701 (eval $ac_compile) 2>conftest.er1
22702 ac_status=$?
22703 grep -v '^ *+' conftest.er1 >conftest.err
22704 rm -f conftest.er1
22705 cat conftest.err >&5
22706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22707 (exit $ac_status); } &&
22708 { ac_try='test -z "$ac_c_werror_flag"
22709 || test ! -s conftest.err'
22710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22711 (eval $ac_try) 2>&5
22712 ac_status=$?
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); }; } &&
22715 { ac_try='test -s conftest.$ac_objext'
22716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22717 (eval $ac_try) 2>&5
22718 ac_status=$?
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); }; }; then
22721 ac_hi=-1 ac_mid=-1
22722 while :; do
22723 cat >conftest.$ac_ext <<_ACEOF
22724 /* confdefs.h. */
22725 _ACEOF
22726 cat confdefs.h >>conftest.$ac_ext
22727 cat >>conftest.$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22729 $ac_includes_default
22730 int
22731 main ()
22732 {
22733 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
22734 test_array [0] = 0
22735
22736 ;
22737 return 0;
22738 }
22739 _ACEOF
22740 rm -f conftest.$ac_objext
22741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22742 (eval $ac_compile) 2>conftest.er1
22743 ac_status=$?
22744 grep -v '^ *+' conftest.er1 >conftest.err
22745 rm -f conftest.er1
22746 cat conftest.err >&5
22747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22748 (exit $ac_status); } &&
22749 { ac_try='test -z "$ac_c_werror_flag"
22750 || test ! -s conftest.err'
22751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22752 (eval $ac_try) 2>&5
22753 ac_status=$?
22754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22755 (exit $ac_status); }; } &&
22756 { ac_try='test -s conftest.$ac_objext'
22757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22758 (eval $ac_try) 2>&5
22759 ac_status=$?
22760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22761 (exit $ac_status); }; }; then
22762 ac_lo=$ac_mid; break
22763 else
22764 echo "$as_me: failed program was:" >&5
22765 sed 's/^/| /' conftest.$ac_ext >&5
22766
22767 ac_hi=`expr '(' $ac_mid ')' - 1`
22768 if test $ac_mid -le $ac_hi; then
22769 ac_lo= ac_hi=
22770 break
22771 fi
22772 ac_mid=`expr 2 '*' $ac_mid`
22773 fi
22774 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22775 done
22776 else
22777 echo "$as_me: failed program was:" >&5
22778 sed 's/^/| /' conftest.$ac_ext >&5
22779
22780 ac_lo= ac_hi=
22781 fi
22782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22783 fi
22784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22785 # Binary search between lo and hi bounds.
22786 while test "x$ac_lo" != "x$ac_hi"; do
22787 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22788 cat >conftest.$ac_ext <<_ACEOF
22789 /* confdefs.h. */
22790 _ACEOF
22791 cat confdefs.h >>conftest.$ac_ext
22792 cat >>conftest.$ac_ext <<_ACEOF
22793 /* end confdefs.h. */
22794 $ac_includes_default
22795 int
22796 main ()
22797 {
22798 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
22799 test_array [0] = 0
22800
22801 ;
22802 return 0;
22803 }
22804 _ACEOF
22805 rm -f conftest.$ac_objext
22806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22807 (eval $ac_compile) 2>conftest.er1
22808 ac_status=$?
22809 grep -v '^ *+' conftest.er1 >conftest.err
22810 rm -f conftest.er1
22811 cat conftest.err >&5
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); } &&
22814 { ac_try='test -z "$ac_c_werror_flag"
22815 || test ! -s conftest.err'
22816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22817 (eval $ac_try) 2>&5
22818 ac_status=$?
22819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22820 (exit $ac_status); }; } &&
22821 { ac_try='test -s conftest.$ac_objext'
22822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22823 (eval $ac_try) 2>&5
22824 ac_status=$?
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); }; }; then
22827 ac_hi=$ac_mid
22828 else
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.$ac_ext >&5
22831
22832 ac_lo=`expr '(' $ac_mid ')' + 1`
22833 fi
22834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22835 done
22836 case $ac_lo in
22837 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22838 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
22839 See \`config.log' for more details." >&5
22840 echo "$as_me: error: cannot compute sizeof (size_t), 77
22841 See \`config.log' for more details." >&2;}
22842 { (exit 1); exit 1; }; } ;;
22843 esac
22844 else
22845 if test "$cross_compiling" = yes; then
22846 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22847 See \`config.log' for more details." >&5
22848 echo "$as_me: error: cannot run test program while cross compiling
22849 See \`config.log' for more details." >&2;}
22850 { (exit 1); exit 1; }; }
22851 else
22852 cat >conftest.$ac_ext <<_ACEOF
22853 /* confdefs.h. */
22854 _ACEOF
22855 cat confdefs.h >>conftest.$ac_ext
22856 cat >>conftest.$ac_ext <<_ACEOF
22857 /* end confdefs.h. */
22858 $ac_includes_default
22859 long longval () { return (long) (sizeof (size_t)); }
22860 unsigned long ulongval () { return (long) (sizeof (size_t)); }
22861 #include <stdio.h>
22862 #include <stdlib.h>
22863 int
22864 main ()
22865 {
22866
22867 FILE *f = fopen ("conftest.val", "w");
22868 if (! f)
22869 exit (1);
22870 if (((long) (sizeof (size_t))) < 0)
22871 {
22872 long i = longval ();
22873 if (i != ((long) (sizeof (size_t))))
22874 exit (1);
22875 fprintf (f, "%ld\n", i);
22876 }
22877 else
22878 {
22879 unsigned long i = ulongval ();
22880 if (i != ((long) (sizeof (size_t))))
22881 exit (1);
22882 fprintf (f, "%lu\n", i);
22883 }
22884 exit (ferror (f) || fclose (f) != 0);
22885
22886 ;
22887 return 0;
22888 }
22889 _ACEOF
22890 rm -f conftest$ac_exeext
22891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22892 (eval $ac_link) 2>&5
22893 ac_status=$?
22894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22897 (eval $ac_try) 2>&5
22898 ac_status=$?
22899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22900 (exit $ac_status); }; }; then
22901 ac_cv_sizeof_size_t=`cat conftest.val`
22902 else
22903 echo "$as_me: program exited with status $ac_status" >&5
22904 echo "$as_me: failed program was:" >&5
22905 sed 's/^/| /' conftest.$ac_ext >&5
22906
22907 ( exit $ac_status )
22908 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
22909 See \`config.log' for more details." >&5
22910 echo "$as_me: error: cannot compute sizeof (size_t), 77
22911 See \`config.log' for more details." >&2;}
22912 { (exit 1); exit 1; }; }
22913 fi
22914 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22915 fi
22916 fi
22917 rm -f conftest.val
22918 else
22919 ac_cv_sizeof_size_t=0
22920 fi
22921 fi
22922 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22923 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
22924 cat >>confdefs.h <<_ACEOF
22925 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22926 _ACEOF
22927
22928
22929
22930 case "${host}" in
22931 arm-*-linux* )
22932 echo "$as_me:$LINENO: checking for long long" >&5
22933 echo $ECHO_N "checking for long long... $ECHO_C" >&6
22934 if test "${ac_cv_type_long_long+set}" = set; then
22935 echo $ECHO_N "(cached) $ECHO_C" >&6
22936 else
22937 cat >conftest.$ac_ext <<_ACEOF
22938 /* confdefs.h. */
22939 _ACEOF
22940 cat confdefs.h >>conftest.$ac_ext
22941 cat >>conftest.$ac_ext <<_ACEOF
22942 /* end confdefs.h. */
22943 $ac_includes_default
22944 int
22945 main ()
22946 {
22947 if ((long long *) 0)
22948 return 0;
22949 if (sizeof (long long))
22950 return 0;
22951 ;
22952 return 0;
22953 }
22954 _ACEOF
22955 rm -f conftest.$ac_objext
22956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22957 (eval $ac_compile) 2>conftest.er1
22958 ac_status=$?
22959 grep -v '^ *+' conftest.er1 >conftest.err
22960 rm -f conftest.er1
22961 cat conftest.err >&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); } &&
22964 { ac_try='test -z "$ac_c_werror_flag"
22965 || test ! -s conftest.err'
22966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22967 (eval $ac_try) 2>&5
22968 ac_status=$?
22969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22970 (exit $ac_status); }; } &&
22971 { ac_try='test -s conftest.$ac_objext'
22972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22973 (eval $ac_try) 2>&5
22974 ac_status=$?
22975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22976 (exit $ac_status); }; }; then
22977 ac_cv_type_long_long=yes
22978 else
22979 echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.$ac_ext >&5
22981
22982 ac_cv_type_long_long=no
22983 fi
22984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22985 fi
22986 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22987 echo "${ECHO_T}$ac_cv_type_long_long" >&6
22988
22989 echo "$as_me:$LINENO: checking size of long long" >&5
22990 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
22991 if test "${ac_cv_sizeof_long_long+set}" = set; then
22992 echo $ECHO_N "(cached) $ECHO_C" >&6
22993 else
22994 if test "$ac_cv_type_long_long" = yes; then
22995 # The cast to unsigned long works around a bug in the HP C Compiler
22996 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22997 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22998 # This bug is HP SR number 8606223364.
22999 if test "$cross_compiling" = yes; then
23000 # Depending upon the size, compute the lo and hi bounds.
23001 cat >conftest.$ac_ext <<_ACEOF
23002 /* confdefs.h. */
23003 _ACEOF
23004 cat confdefs.h >>conftest.$ac_ext
23005 cat >>conftest.$ac_ext <<_ACEOF
23006 /* end confdefs.h. */
23007 $ac_includes_default
23008 int
23009 main ()
23010 {
23011 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
23012 test_array [0] = 0
23013
23014 ;
23015 return 0;
23016 }
23017 _ACEOF
23018 rm -f conftest.$ac_objext
23019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23020 (eval $ac_compile) 2>conftest.er1
23021 ac_status=$?
23022 grep -v '^ *+' conftest.er1 >conftest.err
23023 rm -f conftest.er1
23024 cat conftest.err >&5
23025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23026 (exit $ac_status); } &&
23027 { ac_try='test -z "$ac_c_werror_flag"
23028 || test ! -s conftest.err'
23029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23030 (eval $ac_try) 2>&5
23031 ac_status=$?
23032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23033 (exit $ac_status); }; } &&
23034 { ac_try='test -s conftest.$ac_objext'
23035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23036 (eval $ac_try) 2>&5
23037 ac_status=$?
23038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23039 (exit $ac_status); }; }; then
23040 ac_lo=0 ac_mid=0
23041 while :; do
23042 cat >conftest.$ac_ext <<_ACEOF
23043 /* confdefs.h. */
23044 _ACEOF
23045 cat confdefs.h >>conftest.$ac_ext
23046 cat >>conftest.$ac_ext <<_ACEOF
23047 /* end confdefs.h. */
23048 $ac_includes_default
23049 int
23050 main ()
23051 {
23052 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23053 test_array [0] = 0
23054
23055 ;
23056 return 0;
23057 }
23058 _ACEOF
23059 rm -f conftest.$ac_objext
23060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23061 (eval $ac_compile) 2>conftest.er1
23062 ac_status=$?
23063 grep -v '^ *+' conftest.er1 >conftest.err
23064 rm -f conftest.er1
23065 cat conftest.err >&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } &&
23068 { ac_try='test -z "$ac_c_werror_flag"
23069 || test ! -s conftest.err'
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); }; } &&
23075 { ac_try='test -s conftest.$ac_objext'
23076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23077 (eval $ac_try) 2>&5
23078 ac_status=$?
23079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080 (exit $ac_status); }; }; then
23081 ac_hi=$ac_mid; break
23082 else
23083 echo "$as_me: failed program was:" >&5
23084 sed 's/^/| /' conftest.$ac_ext >&5
23085
23086 ac_lo=`expr $ac_mid + 1`
23087 if test $ac_lo -le $ac_mid; then
23088 ac_lo= ac_hi=
23089 break
23090 fi
23091 ac_mid=`expr 2 '*' $ac_mid + 1`
23092 fi
23093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23094 done
23095 else
23096 echo "$as_me: failed program was:" >&5
23097 sed 's/^/| /' conftest.$ac_ext >&5
23098
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"
23126 || test ! -s conftest.err'
23127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23128 (eval $ac_try) 2>&5
23129 ac_status=$?
23130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23131 (exit $ac_status); }; } &&
23132 { ac_try='test -s conftest.$ac_objext'
23133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23134 (eval $ac_try) 2>&5
23135 ac_status=$?
23136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23137 (exit $ac_status); }; }; then
23138 ac_hi=-1 ac_mid=-1
23139 while :; do
23140 cat >conftest.$ac_ext <<_ACEOF
23141 /* confdefs.h. */
23142 _ACEOF
23143 cat confdefs.h >>conftest.$ac_ext
23144 cat >>conftest.$ac_ext <<_ACEOF
23145 /* end confdefs.h. */
23146 $ac_includes_default
23147 int
23148 main ()
23149 {
23150 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
23151 test_array [0] = 0
23152
23153 ;
23154 return 0;
23155 }
23156 _ACEOF
23157 rm -f conftest.$ac_objext
23158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23159 (eval $ac_compile) 2>conftest.er1
23160 ac_status=$?
23161 grep -v '^ *+' conftest.er1 >conftest.err
23162 rm -f conftest.er1
23163 cat conftest.err >&5
23164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165 (exit $ac_status); } &&
23166 { ac_try='test -z "$ac_c_werror_flag"
23167 || test ! -s conftest.err'
23168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23169 (eval $ac_try) 2>&5
23170 ac_status=$?
23171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23172 (exit $ac_status); }; } &&
23173 { ac_try='test -s conftest.$ac_objext'
23174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23175 (eval $ac_try) 2>&5
23176 ac_status=$?
23177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23178 (exit $ac_status); }; }; then
23179 ac_lo=$ac_mid; break
23180 else
23181 echo "$as_me: failed program was:" >&5
23182 sed 's/^/| /' conftest.$ac_ext >&5
23183
23184 ac_hi=`expr '(' $ac_mid ')' - 1`
23185 if test $ac_mid -le $ac_hi; then
23186 ac_lo= ac_hi=
23187 break
23188 fi
23189 ac_mid=`expr 2 '*' $ac_mid`
23190 fi
23191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23192 done
23193 else
23194 echo "$as_me: failed program was:" >&5
23195 sed 's/^/| /' conftest.$ac_ext >&5
23196
23197 ac_lo= ac_hi=
23198 fi
23199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23200 fi
23201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23202 # Binary search between lo and hi bounds.
23203 while test "x$ac_lo" != "x$ac_hi"; do
23204 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23205 cat >conftest.$ac_ext <<_ACEOF
23206 /* confdefs.h. */
23207 _ACEOF
23208 cat confdefs.h >>conftest.$ac_ext
23209 cat >>conftest.$ac_ext <<_ACEOF
23210 /* end confdefs.h. */
23211 $ac_includes_default
23212 int
23213 main ()
23214 {
23215 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23216 test_array [0] = 0
23217
23218 ;
23219 return 0;
23220 }
23221 _ACEOF
23222 rm -f conftest.$ac_objext
23223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23224 (eval $ac_compile) 2>conftest.er1
23225 ac_status=$?
23226 grep -v '^ *+' conftest.er1 >conftest.err
23227 rm -f conftest.er1
23228 cat conftest.err >&5
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); } &&
23231 { ac_try='test -z "$ac_c_werror_flag"
23232 || test ! -s conftest.err'
23233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23234 (eval $ac_try) 2>&5
23235 ac_status=$?
23236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23237 (exit $ac_status); }; } &&
23238 { ac_try='test -s conftest.$ac_objext'
23239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23240 (eval $ac_try) 2>&5
23241 ac_status=$?
23242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23243 (exit $ac_status); }; }; then
23244 ac_hi=$ac_mid
23245 else
23246 echo "$as_me: failed program was:" >&5
23247 sed 's/^/| /' conftest.$ac_ext >&5
23248
23249 ac_lo=`expr '(' $ac_mid ')' + 1`
23250 fi
23251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23252 done
23253 case $ac_lo in
23254 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23255 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23256 See \`config.log' for more details." >&5
23257 echo "$as_me: error: cannot compute sizeof (long long), 77
23258 See \`config.log' for more details." >&2;}
23259 { (exit 1); exit 1; }; } ;;
23260 esac
23261 else
23262 if test "$cross_compiling" = yes; then
23263 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
23264 See \`config.log' for more details." >&5
23265 echo "$as_me: error: cannot run test program while cross compiling
23266 See \`config.log' for more details." >&2;}
23267 { (exit 1); exit 1; }; }
23268 else
23269 cat >conftest.$ac_ext <<_ACEOF
23270 /* confdefs.h. */
23271 _ACEOF
23272 cat confdefs.h >>conftest.$ac_ext
23273 cat >>conftest.$ac_ext <<_ACEOF
23274 /* end confdefs.h. */
23275 $ac_includes_default
23276 long longval () { return (long) (sizeof (long long)); }
23277 unsigned long ulongval () { return (long) (sizeof (long long)); }
23278 #include <stdio.h>
23279 #include <stdlib.h>
23280 int
23281 main ()
23282 {
23283
23284 FILE *f = fopen ("conftest.val", "w");
23285 if (! f)
23286 exit (1);
23287 if (((long) (sizeof (long long))) < 0)
23288 {
23289 long i = longval ();
23290 if (i != ((long) (sizeof (long long))))
23291 exit (1);
23292 fprintf (f, "%ld\n", i);
23293 }
23294 else
23295 {
23296 unsigned long i = ulongval ();
23297 if (i != ((long) (sizeof (long long))))
23298 exit (1);
23299 fprintf (f, "%lu\n", i);
23300 }
23301 exit (ferror (f) || fclose (f) != 0);
23302
23303 ;
23304 return 0;
23305 }
23306 _ACEOF
23307 rm -f conftest$ac_exeext
23308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23309 (eval $ac_link) 2>&5
23310 ac_status=$?
23311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23312 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23314 (eval $ac_try) 2>&5
23315 ac_status=$?
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); }; }; then
23318 ac_cv_sizeof_long_long=`cat conftest.val`
23319 else
23320 echo "$as_me: program exited with status $ac_status" >&5
23321 echo "$as_me: failed program was:" >&5
23322 sed 's/^/| /' conftest.$ac_ext >&5
23323
23324 ( exit $ac_status )
23325 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23326 See \`config.log' for more details." >&5
23327 echo "$as_me: error: cannot compute sizeof (long long), 77
23328 See \`config.log' for more details." >&2;}
23329 { (exit 1); exit 1; }; }
23330 fi
23331 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23332 fi
23333 fi
23334 rm -f conftest.val
23335 else
23336 ac_cv_sizeof_long_long=0
23337 fi
23338 fi
23339 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23340 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
23341 cat >>confdefs.h <<_ACEOF
23342 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23343 _ACEOF
23344
23345
23346 ;;
23347 *-hp-hpux* )
23348 echo "$as_me:$LINENO: checking for long long" >&5
23349 echo $ECHO_N "checking for long long... $ECHO_C" >&6
23350 if test "${ac_cv_type_long_long+set}" = set; then
23351 echo $ECHO_N "(cached) $ECHO_C" >&6
23352 else
23353 cat >conftest.$ac_ext <<_ACEOF
23354 /* confdefs.h. */
23355 _ACEOF
23356 cat confdefs.h >>conftest.$ac_ext
23357 cat >>conftest.$ac_ext <<_ACEOF
23358 /* end confdefs.h. */
23359 $ac_includes_default
23360 int
23361 main ()
23362 {
23363 if ((long long *) 0)
23364 return 0;
23365 if (sizeof (long long))
23366 return 0;
23367 ;
23368 return 0;
23369 }
23370 _ACEOF
23371 rm -f conftest.$ac_objext
23372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23373 (eval $ac_compile) 2>conftest.er1
23374 ac_status=$?
23375 grep -v '^ *+' conftest.er1 >conftest.err
23376 rm -f conftest.er1
23377 cat conftest.err >&5
23378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23379 (exit $ac_status); } &&
23380 { ac_try='test -z "$ac_c_werror_flag"
23381 || test ! -s conftest.err'
23382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23383 (eval $ac_try) 2>&5
23384 ac_status=$?
23385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23386 (exit $ac_status); }; } &&
23387 { ac_try='test -s conftest.$ac_objext'
23388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23389 (eval $ac_try) 2>&5
23390 ac_status=$?
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); }; }; then
23393 ac_cv_type_long_long=yes
23394 else
23395 echo "$as_me: failed program was:" >&5
23396 sed 's/^/| /' conftest.$ac_ext >&5
23397
23398 ac_cv_type_long_long=no
23399 fi
23400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23401 fi
23402 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23403 echo "${ECHO_T}$ac_cv_type_long_long" >&6
23404
23405 echo "$as_me:$LINENO: checking size of long long" >&5
23406 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
23407 if test "${ac_cv_sizeof_long_long+set}" = set; then
23408 echo $ECHO_N "(cached) $ECHO_C" >&6
23409 else
23410 if test "$ac_cv_type_long_long" = yes; then
23411 # The cast to unsigned long works around a bug in the HP C Compiler
23412 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23413 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23414 # This bug is HP SR number 8606223364.
23415 if test "$cross_compiling" = yes; then
23416 # Depending upon the size, compute the lo and hi bounds.
23417 cat >conftest.$ac_ext <<_ACEOF
23418 /* confdefs.h. */
23419 _ACEOF
23420 cat confdefs.h >>conftest.$ac_ext
23421 cat >>conftest.$ac_ext <<_ACEOF
23422 /* end confdefs.h. */
23423 $ac_includes_default
23424 int
23425 main ()
23426 {
23427 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
23428 test_array [0] = 0
23429
23430 ;
23431 return 0;
23432 }
23433 _ACEOF
23434 rm -f conftest.$ac_objext
23435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23436 (eval $ac_compile) 2>conftest.er1
23437 ac_status=$?
23438 grep -v '^ *+' conftest.er1 >conftest.err
23439 rm -f conftest.er1
23440 cat conftest.err >&5
23441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23442 (exit $ac_status); } &&
23443 { ac_try='test -z "$ac_c_werror_flag"
23444 || test ! -s conftest.err'
23445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23446 (eval $ac_try) 2>&5
23447 ac_status=$?
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); }; } &&
23450 { ac_try='test -s conftest.$ac_objext'
23451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23452 (eval $ac_try) 2>&5
23453 ac_status=$?
23454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23455 (exit $ac_status); }; }; then
23456 ac_lo=0 ac_mid=0
23457 while :; do
23458 cat >conftest.$ac_ext <<_ACEOF
23459 /* confdefs.h. */
23460 _ACEOF
23461 cat confdefs.h >>conftest.$ac_ext
23462 cat >>conftest.$ac_ext <<_ACEOF
23463 /* end confdefs.h. */
23464 $ac_includes_default
23465 int
23466 main ()
23467 {
23468 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23469 test_array [0] = 0
23470
23471 ;
23472 return 0;
23473 }
23474 _ACEOF
23475 rm -f conftest.$ac_objext
23476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23477 (eval $ac_compile) 2>conftest.er1
23478 ac_status=$?
23479 grep -v '^ *+' conftest.er1 >conftest.err
23480 rm -f conftest.er1
23481 cat conftest.err >&5
23482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23483 (exit $ac_status); } &&
23484 { ac_try='test -z "$ac_c_werror_flag"
23485 || test ! -s conftest.err'
23486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23487 (eval $ac_try) 2>&5
23488 ac_status=$?
23489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23490 (exit $ac_status); }; } &&
23491 { ac_try='test -s conftest.$ac_objext'
23492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23493 (eval $ac_try) 2>&5
23494 ac_status=$?
23495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496 (exit $ac_status); }; }; then
23497 ac_hi=$ac_mid; break
23498 else
23499 echo "$as_me: failed program was:" >&5
23500 sed 's/^/| /' conftest.$ac_ext >&5
23501
23502 ac_lo=`expr $ac_mid + 1`
23503 if test $ac_lo -le $ac_mid; then
23504 ac_lo= ac_hi=
23505 break
23506 fi
23507 ac_mid=`expr 2 '*' $ac_mid + 1`
23508 fi
23509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23510 done
23511 else
23512 echo "$as_me: failed program was:" >&5
23513 sed 's/^/| /' conftest.$ac_ext >&5
23514
23515 cat >conftest.$ac_ext <<_ACEOF
23516 /* confdefs.h. */
23517 _ACEOF
23518 cat confdefs.h >>conftest.$ac_ext
23519 cat >>conftest.$ac_ext <<_ACEOF
23520 /* end confdefs.h. */
23521 $ac_includes_default
23522 int
23523 main ()
23524 {
23525 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
23526 test_array [0] = 0
23527
23528 ;
23529 return 0;
23530 }
23531 _ACEOF
23532 rm -f conftest.$ac_objext
23533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23534 (eval $ac_compile) 2>conftest.er1
23535 ac_status=$?
23536 grep -v '^ *+' conftest.er1 >conftest.err
23537 rm -f conftest.er1
23538 cat conftest.err >&5
23539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23540 (exit $ac_status); } &&
23541 { ac_try='test -z "$ac_c_werror_flag"
23542 || test ! -s conftest.err'
23543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23544 (eval $ac_try) 2>&5
23545 ac_status=$?
23546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23547 (exit $ac_status); }; } &&
23548 { ac_try='test -s conftest.$ac_objext'
23549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23550 (eval $ac_try) 2>&5
23551 ac_status=$?
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); }; }; then
23554 ac_hi=-1 ac_mid=-1
23555 while :; do
23556 cat >conftest.$ac_ext <<_ACEOF
23557 /* confdefs.h. */
23558 _ACEOF
23559 cat confdefs.h >>conftest.$ac_ext
23560 cat >>conftest.$ac_ext <<_ACEOF
23561 /* end confdefs.h. */
23562 $ac_includes_default
23563 int
23564 main ()
23565 {
23566 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
23567 test_array [0] = 0
23568
23569 ;
23570 return 0;
23571 }
23572 _ACEOF
23573 rm -f conftest.$ac_objext
23574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23575 (eval $ac_compile) 2>conftest.er1
23576 ac_status=$?
23577 grep -v '^ *+' conftest.er1 >conftest.err
23578 rm -f conftest.er1
23579 cat conftest.err >&5
23580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23581 (exit $ac_status); } &&
23582 { ac_try='test -z "$ac_c_werror_flag"
23583 || test ! -s conftest.err'
23584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23585 (eval $ac_try) 2>&5
23586 ac_status=$?
23587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23588 (exit $ac_status); }; } &&
23589 { ac_try='test -s conftest.$ac_objext'
23590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23591 (eval $ac_try) 2>&5
23592 ac_status=$?
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594 (exit $ac_status); }; }; then
23595 ac_lo=$ac_mid; break
23596 else
23597 echo "$as_me: failed program was:" >&5
23598 sed 's/^/| /' conftest.$ac_ext >&5
23599
23600 ac_hi=`expr '(' $ac_mid ')' - 1`
23601 if test $ac_mid -le $ac_hi; then
23602 ac_lo= ac_hi=
23603 break
23604 fi
23605 ac_mid=`expr 2 '*' $ac_mid`
23606 fi
23607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23608 done
23609 else
23610 echo "$as_me: failed program was:" >&5
23611 sed 's/^/| /' conftest.$ac_ext >&5
23612
23613 ac_lo= ac_hi=
23614 fi
23615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23616 fi
23617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23618 # Binary search between lo and hi bounds.
23619 while test "x$ac_lo" != "x$ac_hi"; do
23620 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23621 cat >conftest.$ac_ext <<_ACEOF
23622 /* confdefs.h. */
23623 _ACEOF
23624 cat confdefs.h >>conftest.$ac_ext
23625 cat >>conftest.$ac_ext <<_ACEOF
23626 /* end confdefs.h. */
23627 $ac_includes_default
23628 int
23629 main ()
23630 {
23631 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23632 test_array [0] = 0
23633
23634 ;
23635 return 0;
23636 }
23637 _ACEOF
23638 rm -f conftest.$ac_objext
23639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23640 (eval $ac_compile) 2>conftest.er1
23641 ac_status=$?
23642 grep -v '^ *+' conftest.er1 >conftest.err
23643 rm -f conftest.er1
23644 cat conftest.err >&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); } &&
23647 { ac_try='test -z "$ac_c_werror_flag"
23648 || test ! -s conftest.err'
23649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23650 (eval $ac_try) 2>&5
23651 ac_status=$?
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); }; } &&
23654 { ac_try='test -s conftest.$ac_objext'
23655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656 (eval $ac_try) 2>&5
23657 ac_status=$?
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); }; }; then
23660 ac_hi=$ac_mid
23661 else
23662 echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.$ac_ext >&5
23664
23665 ac_lo=`expr '(' $ac_mid ')' + 1`
23666 fi
23667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23668 done
23669 case $ac_lo in
23670 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23671 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23672 See \`config.log' for more details." >&5
23673 echo "$as_me: error: cannot compute sizeof (long long), 77
23674 See \`config.log' for more details." >&2;}
23675 { (exit 1); exit 1; }; } ;;
23676 esac
23677 else
23678 if test "$cross_compiling" = yes; then
23679 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
23680 See \`config.log' for more details." >&5
23681 echo "$as_me: error: cannot run test program while cross compiling
23682 See \`config.log' for more details." >&2;}
23683 { (exit 1); exit 1; }; }
23684 else
23685 cat >conftest.$ac_ext <<_ACEOF
23686 /* confdefs.h. */
23687 _ACEOF
23688 cat confdefs.h >>conftest.$ac_ext
23689 cat >>conftest.$ac_ext <<_ACEOF
23690 /* end confdefs.h. */
23691 $ac_includes_default
23692 long longval () { return (long) (sizeof (long long)); }
23693 unsigned long ulongval () { return (long) (sizeof (long long)); }
23694 #include <stdio.h>
23695 #include <stdlib.h>
23696 int
23697 main ()
23698 {
23699
23700 FILE *f = fopen ("conftest.val", "w");
23701 if (! f)
23702 exit (1);
23703 if (((long) (sizeof (long long))) < 0)
23704 {
23705 long i = longval ();
23706 if (i != ((long) (sizeof (long long))))
23707 exit (1);
23708 fprintf (f, "%ld\n", i);
23709 }
23710 else
23711 {
23712 unsigned long i = ulongval ();
23713 if (i != ((long) (sizeof (long long))))
23714 exit (1);
23715 fprintf (f, "%lu\n", i);
23716 }
23717 exit (ferror (f) || fclose (f) != 0);
23718
23719 ;
23720 return 0;
23721 }
23722 _ACEOF
23723 rm -f conftest$ac_exeext
23724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23725 (eval $ac_link) 2>&5
23726 ac_status=$?
23727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23730 (eval $ac_try) 2>&5
23731 ac_status=$?
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); }; }; then
23734 ac_cv_sizeof_long_long=`cat conftest.val`
23735 else
23736 echo "$as_me: program exited with status $ac_status" >&5
23737 echo "$as_me: failed program was:" >&5
23738 sed 's/^/| /' conftest.$ac_ext >&5
23739
23740 ( exit $ac_status )
23741 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
23742 See \`config.log' for more details." >&5
23743 echo "$as_me: error: cannot compute sizeof (long long), 77
23744 See \`config.log' for more details." >&2;}
23745 { (exit 1); exit 1; }; }
23746 fi
23747 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23748 fi
23749 fi
23750 rm -f conftest.val
23751 else
23752 ac_cv_sizeof_long_long=0
23753 fi
23754 fi
23755 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23756 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
23757 cat >>confdefs.h <<_ACEOF
23758 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23759 _ACEOF
23760
23761
23762 if test "$ac_cv_sizeof_long_long" != "0"; then
23763 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23764 fi
23765 ;;
23766 * )
23767 echo "$as_me:$LINENO: checking for long long" >&5
23768 echo $ECHO_N "checking for long long... $ECHO_C" >&6
23769 if test "${ac_cv_type_long_long+set}" = set; then
23770 echo $ECHO_N "(cached) $ECHO_C" >&6
23771 else
23772 cat >conftest.$ac_ext <<_ACEOF
23773 /* confdefs.h. */
23774 _ACEOF
23775 cat confdefs.h >>conftest.$ac_ext
23776 cat >>conftest.$ac_ext <<_ACEOF
23777 /* end confdefs.h. */
23778 $ac_includes_default
23779 int
23780 main ()
23781 {
23782 if ((long long *) 0)
23783 return 0;
23784 if (sizeof (long long))
23785 return 0;
23786 ;
23787 return 0;
23788 }
23789 _ACEOF
23790 rm -f conftest.$ac_objext
23791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23792 (eval $ac_compile) 2>conftest.er1
23793 ac_status=$?
23794 grep -v '^ *+' conftest.er1 >conftest.err
23795 rm -f conftest.er1
23796 cat conftest.err >&5
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); } &&
23799 { ac_try='test -z "$ac_c_werror_flag"
23800 || test ! -s conftest.err'
23801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23802 (eval $ac_try) 2>&5
23803 ac_status=$?
23804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23805 (exit $ac_status); }; } &&
23806 { ac_try='test -s conftest.$ac_objext'
23807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23808 (eval $ac_try) 2>&5
23809 ac_status=$?
23810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23811 (exit $ac_status); }; }; then
23812 ac_cv_type_long_long=yes
23813 else
23814 echo "$as_me: failed program was:" >&5
23815 sed 's/^/| /' conftest.$ac_ext >&5
23816
23817 ac_cv_type_long_long=no
23818 fi
23819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23820 fi
23821 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23822 echo "${ECHO_T}$ac_cv_type_long_long" >&6
23823
23824 echo "$as_me:$LINENO: checking size of long long" >&5
23825 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
23826 if test "${ac_cv_sizeof_long_long+set}" = set; then
23827 echo $ECHO_N "(cached) $ECHO_C" >&6
23828 else
23829 if test "$ac_cv_type_long_long" = yes; then
23830 # The cast to unsigned long works around a bug in the HP C Compiler
23831 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23832 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23833 # This bug is HP SR number 8606223364.
23834 if test "$cross_compiling" = yes; then
23835 # Depending upon the size, compute the lo and hi bounds.
23836 cat >conftest.$ac_ext <<_ACEOF
23837 /* confdefs.h. */
23838 _ACEOF
23839 cat confdefs.h >>conftest.$ac_ext
23840 cat >>conftest.$ac_ext <<_ACEOF
23841 /* end confdefs.h. */
23842 $ac_includes_default
23843 int
23844 main ()
23845 {
23846 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
23847 test_array [0] = 0
23848
23849 ;
23850 return 0;
23851 }
23852 _ACEOF
23853 rm -f conftest.$ac_objext
23854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23855 (eval $ac_compile) 2>conftest.er1
23856 ac_status=$?
23857 grep -v '^ *+' conftest.er1 >conftest.err
23858 rm -f conftest.er1
23859 cat conftest.err >&5
23860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23861 (exit $ac_status); } &&
23862 { ac_try='test -z "$ac_c_werror_flag"
23863 || test ! -s conftest.err'
23864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23865 (eval $ac_try) 2>&5
23866 ac_status=$?
23867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23868 (exit $ac_status); }; } &&
23869 { ac_try='test -s conftest.$ac_objext'
23870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23871 (eval $ac_try) 2>&5
23872 ac_status=$?
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); }; }; then
23875 ac_lo=0 ac_mid=0
23876 while :; do
23877 cat >conftest.$ac_ext <<_ACEOF
23878 /* confdefs.h. */
23879 _ACEOF
23880 cat confdefs.h >>conftest.$ac_ext
23881 cat >>conftest.$ac_ext <<_ACEOF
23882 /* end confdefs.h. */
23883 $ac_includes_default
23884 int
23885 main ()
23886 {
23887 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
23888 test_array [0] = 0
23889
23890 ;
23891 return 0;
23892 }
23893 _ACEOF
23894 rm -f conftest.$ac_objext
23895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23896 (eval $ac_compile) 2>conftest.er1
23897 ac_status=$?
23898 grep -v '^ *+' conftest.er1 >conftest.err
23899 rm -f conftest.er1
23900 cat conftest.err >&5
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); } &&
23903 { ac_try='test -z "$ac_c_werror_flag"
23904 || test ! -s conftest.err'
23905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23906 (eval $ac_try) 2>&5
23907 ac_status=$?
23908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23909 (exit $ac_status); }; } &&
23910 { ac_try='test -s conftest.$ac_objext'
23911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23912 (eval $ac_try) 2>&5
23913 ac_status=$?
23914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23915 (exit $ac_status); }; }; then
23916 ac_hi=$ac_mid; break
23917 else
23918 echo "$as_me: failed program was:" >&5
23919 sed 's/^/| /' conftest.$ac_ext >&5
23920
23921 ac_lo=`expr $ac_mid + 1`
23922 if test $ac_lo -le $ac_mid; then
23923 ac_lo= ac_hi=
23924 break
23925 fi
23926 ac_mid=`expr 2 '*' $ac_mid + 1`
23927 fi
23928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23929 done
23930 else
23931 echo "$as_me: failed program was:" >&5
23932 sed 's/^/| /' conftest.$ac_ext >&5
23933
23934 cat >conftest.$ac_ext <<_ACEOF
23935 /* confdefs.h. */
23936 _ACEOF
23937 cat confdefs.h >>conftest.$ac_ext
23938 cat >>conftest.$ac_ext <<_ACEOF
23939 /* end confdefs.h. */
23940 $ac_includes_default
23941 int
23942 main ()
23943 {
23944 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
23945 test_array [0] = 0
23946
23947 ;
23948 return 0;
23949 }
23950 _ACEOF
23951 rm -f conftest.$ac_objext
23952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23953 (eval $ac_compile) 2>conftest.er1
23954 ac_status=$?
23955 grep -v '^ *+' conftest.er1 >conftest.err
23956 rm -f conftest.er1
23957 cat conftest.err >&5
23958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23959 (exit $ac_status); } &&
23960 { ac_try='test -z "$ac_c_werror_flag"
23961 || test ! -s conftest.err'
23962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23963 (eval $ac_try) 2>&5
23964 ac_status=$?
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); }; } &&
23967 { ac_try='test -s conftest.$ac_objext'
23968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23969 (eval $ac_try) 2>&5
23970 ac_status=$?
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); }; }; then
23973 ac_hi=-1 ac_mid=-1
23974 while :; do
23975 cat >conftest.$ac_ext <<_ACEOF
23976 /* confdefs.h. */
23977 _ACEOF
23978 cat confdefs.h >>conftest.$ac_ext
23979 cat >>conftest.$ac_ext <<_ACEOF
23980 /* end confdefs.h. */
23981 $ac_includes_default
23982 int
23983 main ()
23984 {
23985 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
23986 test_array [0] = 0
23987
23988 ;
23989 return 0;
23990 }
23991 _ACEOF
23992 rm -f conftest.$ac_objext
23993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23994 (eval $ac_compile) 2>conftest.er1
23995 ac_status=$?
23996 grep -v '^ *+' conftest.er1 >conftest.err
23997 rm -f conftest.er1
23998 cat conftest.err >&5
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); } &&
24001 { ac_try='test -z "$ac_c_werror_flag"
24002 || test ! -s conftest.err'
24003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24004 (eval $ac_try) 2>&5
24005 ac_status=$?
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); }; } &&
24008 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
24014 ac_lo=$ac_mid; break
24015 else
24016 echo "$as_me: failed program was:" >&5
24017 sed 's/^/| /' conftest.$ac_ext >&5
24018
24019 ac_hi=`expr '(' $ac_mid ')' - 1`
24020 if test $ac_mid -le $ac_hi; then
24021 ac_lo= ac_hi=
24022 break
24023 fi
24024 ac_mid=`expr 2 '*' $ac_mid`
24025 fi
24026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24027 done
24028 else
24029 echo "$as_me: failed program was:" >&5
24030 sed 's/^/| /' conftest.$ac_ext >&5
24031
24032 ac_lo= ac_hi=
24033 fi
24034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24035 fi
24036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24037 # Binary search between lo and hi bounds.
24038 while test "x$ac_lo" != "x$ac_hi"; do
24039 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24040 cat >conftest.$ac_ext <<_ACEOF
24041 /* confdefs.h. */
24042 _ACEOF
24043 cat confdefs.h >>conftest.$ac_ext
24044 cat >>conftest.$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24046 $ac_includes_default
24047 int
24048 main ()
24049 {
24050 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
24051 test_array [0] = 0
24052
24053 ;
24054 return 0;
24055 }
24056 _ACEOF
24057 rm -f conftest.$ac_objext
24058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24059 (eval $ac_compile) 2>conftest.er1
24060 ac_status=$?
24061 grep -v '^ *+' conftest.er1 >conftest.err
24062 rm -f conftest.er1
24063 cat conftest.err >&5
24064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24065 (exit $ac_status); } &&
24066 { ac_try='test -z "$ac_c_werror_flag"
24067 || test ! -s conftest.err'
24068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24069 (eval $ac_try) 2>&5
24070 ac_status=$?
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); }; } &&
24073 { ac_try='test -s conftest.$ac_objext'
24074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24075 (eval $ac_try) 2>&5
24076 ac_status=$?
24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078 (exit $ac_status); }; }; then
24079 ac_hi=$ac_mid
24080 else
24081 echo "$as_me: failed program was:" >&5
24082 sed 's/^/| /' conftest.$ac_ext >&5
24083
24084 ac_lo=`expr '(' $ac_mid ')' + 1`
24085 fi
24086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24087 done
24088 case $ac_lo in
24089 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24090 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
24091 See \`config.log' for more details." >&5
24092 echo "$as_me: error: cannot compute sizeof (long long), 77
24093 See \`config.log' for more details." >&2;}
24094 { (exit 1); exit 1; }; } ;;
24095 esac
24096 else
24097 if test "$cross_compiling" = yes; then
24098 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
24099 See \`config.log' for more details." >&5
24100 echo "$as_me: error: cannot run test program while cross compiling
24101 See \`config.log' for more details." >&2;}
24102 { (exit 1); exit 1; }; }
24103 else
24104 cat >conftest.$ac_ext <<_ACEOF
24105 /* confdefs.h. */
24106 _ACEOF
24107 cat confdefs.h >>conftest.$ac_ext
24108 cat >>conftest.$ac_ext <<_ACEOF
24109 /* end confdefs.h. */
24110 $ac_includes_default
24111 long longval () { return (long) (sizeof (long long)); }
24112 unsigned long ulongval () { return (long) (sizeof (long long)); }
24113 #include <stdio.h>
24114 #include <stdlib.h>
24115 int
24116 main ()
24117 {
24118
24119 FILE *f = fopen ("conftest.val", "w");
24120 if (! f)
24121 exit (1);
24122 if (((long) (sizeof (long long))) < 0)
24123 {
24124 long i = longval ();
24125 if (i != ((long) (sizeof (long long))))
24126 exit (1);
24127 fprintf (f, "%ld\n", i);
24128 }
24129 else
24130 {
24131 unsigned long i = ulongval ();
24132 if (i != ((long) (sizeof (long long))))
24133 exit (1);
24134 fprintf (f, "%lu\n", i);
24135 }
24136 exit (ferror (f) || fclose (f) != 0);
24137
24138 ;
24139 return 0;
24140 }
24141 _ACEOF
24142 rm -f conftest$ac_exeext
24143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24144 (eval $ac_link) 2>&5
24145 ac_status=$?
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24149 (eval $ac_try) 2>&5
24150 ac_status=$?
24151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24152 (exit $ac_status); }; }; then
24153 ac_cv_sizeof_long_long=`cat conftest.val`
24154 else
24155 echo "$as_me: program exited with status $ac_status" >&5
24156 echo "$as_me: failed program was:" >&5
24157 sed 's/^/| /' conftest.$ac_ext >&5
24158
24159 ( exit $ac_status )
24160 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
24161 See \`config.log' for more details." >&5
24162 echo "$as_me: error: cannot compute sizeof (long long), 77
24163 See \`config.log' for more details." >&2;}
24164 { (exit 1); exit 1; }; }
24165 fi
24166 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24167 fi
24168 fi
24169 rm -f conftest.val
24170 else
24171 ac_cv_sizeof_long_long=0
24172 fi
24173 fi
24174 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24175 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
24176 cat >>confdefs.h <<_ACEOF
24177 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24178 _ACEOF
24179
24180
24181 esac
24182
24183 echo "$as_me:$LINENO: checking for wchar_t" >&5
24184 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
24185 if test "${ac_cv_type_wchar_t+set}" = set; then
24186 echo $ECHO_N "(cached) $ECHO_C" >&6
24187 else
24188 cat >conftest.$ac_ext <<_ACEOF
24189 /* confdefs.h. */
24190 _ACEOF
24191 cat confdefs.h >>conftest.$ac_ext
24192 cat >>conftest.$ac_ext <<_ACEOF
24193 /* end confdefs.h. */
24194
24195 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24196 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24197 # error "fake wchar_t"
24198 #endif
24199 #ifdef HAVE_WCHAR_H
24200 # ifdef __CYGWIN__
24201 # include <stddef.h>
24202 # endif
24203 # include <wchar.h>
24204 #endif
24205 #ifdef HAVE_STDLIB_H
24206 # include <stdlib.h>
24207 #endif
24208 #include <stdio.h>
24209
24210
24211
24212 int
24213 main ()
24214 {
24215 if ((wchar_t *) 0)
24216 return 0;
24217 if (sizeof (wchar_t))
24218 return 0;
24219 ;
24220 return 0;
24221 }
24222 _ACEOF
24223 rm -f conftest.$ac_objext
24224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24225 (eval $ac_compile) 2>conftest.er1
24226 ac_status=$?
24227 grep -v '^ *+' conftest.er1 >conftest.err
24228 rm -f conftest.er1
24229 cat conftest.err >&5
24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231 (exit $ac_status); } &&
24232 { ac_try='test -z "$ac_c_werror_flag"
24233 || test ! -s conftest.err'
24234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24235 (eval $ac_try) 2>&5
24236 ac_status=$?
24237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24238 (exit $ac_status); }; } &&
24239 { ac_try='test -s conftest.$ac_objext'
24240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24241 (eval $ac_try) 2>&5
24242 ac_status=$?
24243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24244 (exit $ac_status); }; }; then
24245 ac_cv_type_wchar_t=yes
24246 else
24247 echo "$as_me: failed program was:" >&5
24248 sed 's/^/| /' conftest.$ac_ext >&5
24249
24250 ac_cv_type_wchar_t=no
24251 fi
24252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24253 fi
24254 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24255 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
24256
24257 echo "$as_me:$LINENO: checking size of wchar_t" >&5
24258 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
24259 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24260 echo $ECHO_N "(cached) $ECHO_C" >&6
24261 else
24262 if test "$ac_cv_type_wchar_t" = yes; then
24263 # The cast to unsigned long works around a bug in the HP C Compiler
24264 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24265 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24266 # This bug is HP SR number 8606223364.
24267 if test "$cross_compiling" = yes; then
24268 # Depending upon the size, compute the lo and hi bounds.
24269 cat >conftest.$ac_ext <<_ACEOF
24270 /* confdefs.h. */
24271 _ACEOF
24272 cat confdefs.h >>conftest.$ac_ext
24273 cat >>conftest.$ac_ext <<_ACEOF
24274 /* end confdefs.h. */
24275
24276 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24277 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24278 # error "fake wchar_t"
24279 #endif
24280 #ifdef HAVE_WCHAR_H
24281 # ifdef __CYGWIN__
24282 # include <stddef.h>
24283 # endif
24284 # include <wchar.h>
24285 #endif
24286 #ifdef HAVE_STDLIB_H
24287 # include <stdlib.h>
24288 #endif
24289 #include <stdio.h>
24290
24291
24292
24293 int
24294 main ()
24295 {
24296 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
24297 test_array [0] = 0
24298
24299 ;
24300 return 0;
24301 }
24302 _ACEOF
24303 rm -f conftest.$ac_objext
24304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24305 (eval $ac_compile) 2>conftest.er1
24306 ac_status=$?
24307 grep -v '^ *+' conftest.er1 >conftest.err
24308 rm -f conftest.er1
24309 cat conftest.err >&5
24310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311 (exit $ac_status); } &&
24312 { ac_try='test -z "$ac_c_werror_flag"
24313 || test ! -s conftest.err'
24314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24315 (eval $ac_try) 2>&5
24316 ac_status=$?
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); }; } &&
24319 { ac_try='test -s conftest.$ac_objext'
24320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24321 (eval $ac_try) 2>&5
24322 ac_status=$?
24323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324 (exit $ac_status); }; }; then
24325 ac_lo=0 ac_mid=0
24326 while :; do
24327 cat >conftest.$ac_ext <<_ACEOF
24328 /* confdefs.h. */
24329 _ACEOF
24330 cat confdefs.h >>conftest.$ac_ext
24331 cat >>conftest.$ac_ext <<_ACEOF
24332 /* end confdefs.h. */
24333
24334 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24335 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24336 # error "fake wchar_t"
24337 #endif
24338 #ifdef HAVE_WCHAR_H
24339 # ifdef __CYGWIN__
24340 # include <stddef.h>
24341 # endif
24342 # include <wchar.h>
24343 #endif
24344 #ifdef HAVE_STDLIB_H
24345 # include <stdlib.h>
24346 #endif
24347 #include <stdio.h>
24348
24349
24350
24351 int
24352 main ()
24353 {
24354 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
24355 test_array [0] = 0
24356
24357 ;
24358 return 0;
24359 }
24360 _ACEOF
24361 rm -f conftest.$ac_objext
24362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24363 (eval $ac_compile) 2>conftest.er1
24364 ac_status=$?
24365 grep -v '^ *+' conftest.er1 >conftest.err
24366 rm -f conftest.er1
24367 cat conftest.err >&5
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); } &&
24370 { ac_try='test -z "$ac_c_werror_flag"
24371 || test ! -s conftest.err'
24372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24373 (eval $ac_try) 2>&5
24374 ac_status=$?
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); }; } &&
24377 { ac_try='test -s conftest.$ac_objext'
24378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24379 (eval $ac_try) 2>&5
24380 ac_status=$?
24381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24382 (exit $ac_status); }; }; then
24383 ac_hi=$ac_mid; break
24384 else
24385 echo "$as_me: failed program was:" >&5
24386 sed 's/^/| /' conftest.$ac_ext >&5
24387
24388 ac_lo=`expr $ac_mid + 1`
24389 if test $ac_lo -le $ac_mid; then
24390 ac_lo= ac_hi=
24391 break
24392 fi
24393 ac_mid=`expr 2 '*' $ac_mid + 1`
24394 fi
24395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24396 done
24397 else
24398 echo "$as_me: failed program was:" >&5
24399 sed 's/^/| /' conftest.$ac_ext >&5
24400
24401 cat >conftest.$ac_ext <<_ACEOF
24402 /* confdefs.h. */
24403 _ACEOF
24404 cat confdefs.h >>conftest.$ac_ext
24405 cat >>conftest.$ac_ext <<_ACEOF
24406 /* end confdefs.h. */
24407
24408 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24409 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24410 # error "fake wchar_t"
24411 #endif
24412 #ifdef HAVE_WCHAR_H
24413 # ifdef __CYGWIN__
24414 # include <stddef.h>
24415 # endif
24416 # include <wchar.h>
24417 #endif
24418 #ifdef HAVE_STDLIB_H
24419 # include <stdlib.h>
24420 #endif
24421 #include <stdio.h>
24422
24423
24424
24425 int
24426 main ()
24427 {
24428 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
24429 test_array [0] = 0
24430
24431 ;
24432 return 0;
24433 }
24434 _ACEOF
24435 rm -f conftest.$ac_objext
24436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24437 (eval $ac_compile) 2>conftest.er1
24438 ac_status=$?
24439 grep -v '^ *+' conftest.er1 >conftest.err
24440 rm -f conftest.er1
24441 cat conftest.err >&5
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); } &&
24444 { ac_try='test -z "$ac_c_werror_flag"
24445 || test ! -s conftest.err'
24446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24447 (eval $ac_try) 2>&5
24448 ac_status=$?
24449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450 (exit $ac_status); }; } &&
24451 { ac_try='test -s conftest.$ac_objext'
24452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24453 (eval $ac_try) 2>&5
24454 ac_status=$?
24455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24456 (exit $ac_status); }; }; then
24457 ac_hi=-1 ac_mid=-1
24458 while :; do
24459 cat >conftest.$ac_ext <<_ACEOF
24460 /* confdefs.h. */
24461 _ACEOF
24462 cat confdefs.h >>conftest.$ac_ext
24463 cat >>conftest.$ac_ext <<_ACEOF
24464 /* end confdefs.h. */
24465
24466 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24467 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24468 # error "fake wchar_t"
24469 #endif
24470 #ifdef HAVE_WCHAR_H
24471 # ifdef __CYGWIN__
24472 # include <stddef.h>
24473 # endif
24474 # include <wchar.h>
24475 #endif
24476 #ifdef HAVE_STDLIB_H
24477 # include <stdlib.h>
24478 #endif
24479 #include <stdio.h>
24480
24481
24482
24483 int
24484 main ()
24485 {
24486 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
24487 test_array [0] = 0
24488
24489 ;
24490 return 0;
24491 }
24492 _ACEOF
24493 rm -f conftest.$ac_objext
24494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24495 (eval $ac_compile) 2>conftest.er1
24496 ac_status=$?
24497 grep -v '^ *+' conftest.er1 >conftest.err
24498 rm -f conftest.er1
24499 cat conftest.err >&5
24500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24501 (exit $ac_status); } &&
24502 { ac_try='test -z "$ac_c_werror_flag"
24503 || test ! -s conftest.err'
24504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24505 (eval $ac_try) 2>&5
24506 ac_status=$?
24507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24508 (exit $ac_status); }; } &&
24509 { ac_try='test -s conftest.$ac_objext'
24510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24511 (eval $ac_try) 2>&5
24512 ac_status=$?
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); }; }; then
24515 ac_lo=$ac_mid; break
24516 else
24517 echo "$as_me: failed program was:" >&5
24518 sed 's/^/| /' conftest.$ac_ext >&5
24519
24520 ac_hi=`expr '(' $ac_mid ')' - 1`
24521 if test $ac_mid -le $ac_hi; then
24522 ac_lo= ac_hi=
24523 break
24524 fi
24525 ac_mid=`expr 2 '*' $ac_mid`
24526 fi
24527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24528 done
24529 else
24530 echo "$as_me: failed program was:" >&5
24531 sed 's/^/| /' conftest.$ac_ext >&5
24532
24533 ac_lo= ac_hi=
24534 fi
24535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24536 fi
24537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24538 # Binary search between lo and hi bounds.
24539 while test "x$ac_lo" != "x$ac_hi"; do
24540 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24541 cat >conftest.$ac_ext <<_ACEOF
24542 /* confdefs.h. */
24543 _ACEOF
24544 cat confdefs.h >>conftest.$ac_ext
24545 cat >>conftest.$ac_ext <<_ACEOF
24546 /* end confdefs.h. */
24547
24548 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24549 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24550 # error "fake wchar_t"
24551 #endif
24552 #ifdef HAVE_WCHAR_H
24553 # ifdef __CYGWIN__
24554 # include <stddef.h>
24555 # endif
24556 # include <wchar.h>
24557 #endif
24558 #ifdef HAVE_STDLIB_H
24559 # include <stdlib.h>
24560 #endif
24561 #include <stdio.h>
24562
24563
24564
24565 int
24566 main ()
24567 {
24568 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
24569 test_array [0] = 0
24570
24571 ;
24572 return 0;
24573 }
24574 _ACEOF
24575 rm -f conftest.$ac_objext
24576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24577 (eval $ac_compile) 2>conftest.er1
24578 ac_status=$?
24579 grep -v '^ *+' conftest.er1 >conftest.err
24580 rm -f conftest.er1
24581 cat conftest.err >&5
24582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24583 (exit $ac_status); } &&
24584 { ac_try='test -z "$ac_c_werror_flag"
24585 || test ! -s conftest.err'
24586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24587 (eval $ac_try) 2>&5
24588 ac_status=$?
24589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590 (exit $ac_status); }; } &&
24591 { ac_try='test -s conftest.$ac_objext'
24592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24593 (eval $ac_try) 2>&5
24594 ac_status=$?
24595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596 (exit $ac_status); }; }; then
24597 ac_hi=$ac_mid
24598 else
24599 echo "$as_me: failed program was:" >&5
24600 sed 's/^/| /' conftest.$ac_ext >&5
24601
24602 ac_lo=`expr '(' $ac_mid ')' + 1`
24603 fi
24604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24605 done
24606 case $ac_lo in
24607 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24608 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
24609 See \`config.log' for more details." >&5
24610 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
24611 See \`config.log' for more details." >&2;}
24612 { (exit 1); exit 1; }; } ;;
24613 esac
24614 else
24615 if test "$cross_compiling" = yes; then
24616 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
24617 See \`config.log' for more details." >&5
24618 echo "$as_me: error: cannot run test program while cross compiling
24619 See \`config.log' for more details." >&2;}
24620 { (exit 1); exit 1; }; }
24621 else
24622 cat >conftest.$ac_ext <<_ACEOF
24623 /* confdefs.h. */
24624 _ACEOF
24625 cat confdefs.h >>conftest.$ac_ext
24626 cat >>conftest.$ac_ext <<_ACEOF
24627 /* end confdefs.h. */
24628
24629 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24630 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24631 # error "fake wchar_t"
24632 #endif
24633 #ifdef HAVE_WCHAR_H
24634 # ifdef __CYGWIN__
24635 # include <stddef.h>
24636 # endif
24637 # include <wchar.h>
24638 #endif
24639 #ifdef HAVE_STDLIB_H
24640 # include <stdlib.h>
24641 #endif
24642 #include <stdio.h>
24643
24644
24645
24646 long longval () { return (long) (sizeof (wchar_t)); }
24647 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
24648 #include <stdio.h>
24649 #include <stdlib.h>
24650 int
24651 main ()
24652 {
24653
24654 FILE *f = fopen ("conftest.val", "w");
24655 if (! f)
24656 exit (1);
24657 if (((long) (sizeof (wchar_t))) < 0)
24658 {
24659 long i = longval ();
24660 if (i != ((long) (sizeof (wchar_t))))
24661 exit (1);
24662 fprintf (f, "%ld\n", i);
24663 }
24664 else
24665 {
24666 unsigned long i = ulongval ();
24667 if (i != ((long) (sizeof (wchar_t))))
24668 exit (1);
24669 fprintf (f, "%lu\n", i);
24670 }
24671 exit (ferror (f) || fclose (f) != 0);
24672
24673 ;
24674 return 0;
24675 }
24676 _ACEOF
24677 rm -f conftest$ac_exeext
24678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24679 (eval $ac_link) 2>&5
24680 ac_status=$?
24681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24682 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24684 (eval $ac_try) 2>&5
24685 ac_status=$?
24686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24687 (exit $ac_status); }; }; then
24688 ac_cv_sizeof_wchar_t=`cat conftest.val`
24689 else
24690 echo "$as_me: program exited with status $ac_status" >&5
24691 echo "$as_me: failed program was:" >&5
24692 sed 's/^/| /' conftest.$ac_ext >&5
24693
24694 ( exit $ac_status )
24695 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
24696 See \`config.log' for more details." >&5
24697 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
24698 See \`config.log' for more details." >&2;}
24699 { (exit 1); exit 1; }; }
24700 fi
24701 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24702 fi
24703 fi
24704 rm -f conftest.val
24705 else
24706 ac_cv_sizeof_wchar_t=0
24707 fi
24708 fi
24709 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24710 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
24711 cat >>confdefs.h <<_ACEOF
24712 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24713 _ACEOF
24714
24715
24716 if test "$ac_cv_sizeof_wchar_t" != "0"; then
24717 wxUSE_WCHAR_T=yes
24718 else
24719 wxUSE_WCHAR_T=no
24720 fi
24721
24722 echo "$as_me:$LINENO: checking for va_copy" >&5
24723 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
24724 if test "${wx_cv_func_va_copy+set}" = set; then
24725 echo $ECHO_N "(cached) $ECHO_C" >&6
24726 else
24727
24728 ac_ext=cc
24729 ac_cpp='$CXXCPP $CPPFLAGS'
24730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24733
24734 cat >conftest.$ac_ext <<_ACEOF
24735
24736 #include <stdarg.h>
24737 void foo(char *f, ...)
24738 {
24739 va_list ap1, ap2;
24740 va_start(ap1, f);
24741 va_copy(ap2, ap1);
24742 va_end(ap2);
24743 va_end(ap1);
24744 }
24745 int main()
24746 {
24747 foo("hi", 17);
24748 return 0;
24749 }
24750 _ACEOF
24751 rm -f conftest.$ac_objext conftest$ac_exeext
24752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24753 (eval $ac_link) 2>conftest.er1
24754 ac_status=$?
24755 grep -v '^ *+' conftest.er1 >conftest.err
24756 rm -f conftest.er1
24757 cat conftest.err >&5
24758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24759 (exit $ac_status); } &&
24760 { ac_try='test -z "$ac_cxx_werror_flag"
24761 || test ! -s conftest.err'
24762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24763 (eval $ac_try) 2>&5
24764 ac_status=$?
24765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24766 (exit $ac_status); }; } &&
24767 { ac_try='test -s conftest$ac_exeext'
24768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24769 (eval $ac_try) 2>&5
24770 ac_status=$?
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); }; }; then
24773 wx_cv_func_va_copy=yes
24774 else
24775 echo "$as_me: failed program was:" >&5
24776 sed 's/^/| /' conftest.$ac_ext >&5
24777
24778 wx_cv_func_va_copy=no
24779
24780 fi
24781 rm -f conftest.err conftest.$ac_objext \
24782 conftest$ac_exeext conftest.$ac_ext
24783 ac_ext=c
24784 ac_cpp='$CPP $CPPFLAGS'
24785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24788
24789
24790
24791 fi
24792 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24793 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
24794
24795 if test $wx_cv_func_va_copy = "yes"; then
24796 cat >>confdefs.h <<\_ACEOF
24797 #define HAVE_VA_COPY 1
24798 _ACEOF
24799
24800 else
24801 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24802 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
24803 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24804 echo $ECHO_N "(cached) $ECHO_C" >&6
24805 else
24806
24807 if test "$cross_compiling" = yes; then
24808 wx_cv_type_va_list_lvalue=yes
24809
24810 else
24811 cat >conftest.$ac_ext <<_ACEOF
24812
24813 #include <stdarg.h>
24814 int foo(char *f, ...)
24815 {
24816 va_list ap1, ap2;
24817 va_start(ap1, f);
24818 ap2 = ap1;
24819 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24820 return 1;
24821 va_end(ap2);
24822 va_end(ap1);
24823 return 0;
24824 }
24825 int main()
24826 {
24827 return foo("hi", 17);
24828 }
24829 _ACEOF
24830 rm -f conftest$ac_exeext
24831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24832 (eval $ac_link) 2>&5
24833 ac_status=$?
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24837 (eval $ac_try) 2>&5
24838 ac_status=$?
24839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24840 (exit $ac_status); }; }; then
24841 wx_cv_type_va_list_lvalue=yes
24842 else
24843 echo "$as_me: program exited with status $ac_status" >&5
24844 echo "$as_me: failed program was:" >&5
24845 sed 's/^/| /' conftest.$ac_ext >&5
24846
24847 ( exit $ac_status )
24848 wx_cv_type_va_list_lvalue=no
24849 fi
24850 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24851 fi
24852
24853
24854 fi
24855 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24856 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
24857
24858 if test $wx_cv_type_va_list_lvalue != "yes"; then
24859 cat >>confdefs.h <<\_ACEOF
24860 #define VA_LIST_IS_ARRAY 1
24861 _ACEOF
24862
24863 fi
24864 fi
24865
24866 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24867
24868 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24869 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
24870 if test "${wx_cv_have_variadic_macros+set}" = set; then
24871 echo $ECHO_N "(cached) $ECHO_C" >&6
24872 else
24873
24874 ac_ext=cc
24875 ac_cpp='$CXXCPP $CPPFLAGS'
24876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24879
24880 cat >conftest.$ac_ext <<_ACEOF
24881 /* confdefs.h. */
24882 _ACEOF
24883 cat confdefs.h >>conftest.$ac_ext
24884 cat >>conftest.$ac_ext <<_ACEOF
24885 /* end confdefs.h. */
24886
24887 #include <stdio.h>
24888 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24889
24890 int
24891 main ()
24892 {
24893
24894 test("%s %d %p", "test", 1, 0);
24895
24896
24897 ;
24898 return 0;
24899 }
24900 _ACEOF
24901 rm -f conftest.$ac_objext
24902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24903 (eval $ac_compile) 2>conftest.er1
24904 ac_status=$?
24905 grep -v '^ *+' conftest.er1 >conftest.err
24906 rm -f conftest.er1
24907 cat conftest.err >&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); } &&
24910 { ac_try='test -z "$ac_cxx_werror_flag"
24911 || test ! -s conftest.err'
24912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24913 (eval $ac_try) 2>&5
24914 ac_status=$?
24915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24916 (exit $ac_status); }; } &&
24917 { ac_try='test -s conftest.$ac_objext'
24918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24919 (eval $ac_try) 2>&5
24920 ac_status=$?
24921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24922 (exit $ac_status); }; }; then
24923 wx_cv_have_variadic_macros=yes
24924 else
24925 echo "$as_me: failed program was:" >&5
24926 sed 's/^/| /' conftest.$ac_ext >&5
24927
24928 wx_cv_have_variadic_macros=no
24929
24930 fi
24931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24932 ac_ext=c
24933 ac_cpp='$CPP $CPPFLAGS'
24934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24937
24938
24939
24940 fi
24941 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24942 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
24943
24944 if test $wx_cv_have_variadic_macros = "yes"; then
24945 cat >>confdefs.h <<\_ACEOF
24946 #define HAVE_VARIADIC_MACROS 1
24947 _ACEOF
24948
24949 fi
24950
24951 fi
24952 # Check whether --enable-largefile or --disable-largefile was given.
24953 if test "${enable_largefile+set}" = set; then
24954 enableval="$enable_largefile"
24955
24956 fi;
24957 if test "$enable_largefile" != no; then
24958 wx_largefile=no
24959
24960 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24961 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
24962 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24963 echo $ECHO_N "(cached) $ECHO_C" >&6
24964 else
24965
24966 cat >conftest.$ac_ext <<_ACEOF
24967 /* confdefs.h. */
24968 _ACEOF
24969 cat confdefs.h >>conftest.$ac_ext
24970 cat >>conftest.$ac_ext <<_ACEOF
24971 /* end confdefs.h. */
24972 #define _FILE_OFFSET_BITS 64
24973 #include <sys/types.h>
24974 int
24975 main ()
24976 {
24977 typedef struct {
24978 unsigned int field: sizeof(off_t) == 8;
24979 } wxlf;
24980
24981 ;
24982 return 0;
24983 }
24984 _ACEOF
24985 rm -f conftest.$ac_objext
24986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24987 (eval $ac_compile) 2>conftest.er1
24988 ac_status=$?
24989 grep -v '^ *+' conftest.er1 >conftest.err
24990 rm -f conftest.er1
24991 cat conftest.err >&5
24992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24993 (exit $ac_status); } &&
24994 { ac_try='test -z "$ac_c_werror_flag"
24995 || test ! -s conftest.err'
24996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24997 (eval $ac_try) 2>&5
24998 ac_status=$?
24999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25000 (exit $ac_status); }; } &&
25001 { ac_try='test -s conftest.$ac_objext'
25002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25003 (eval $ac_try) 2>&5
25004 ac_status=$?
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); }; }; then
25007 ac_cv_sys_file_offset_bits=64
25008 else
25009 echo "$as_me: failed program was:" >&5
25010 sed 's/^/| /' conftest.$ac_ext >&5
25011
25012 ac_cv_sys_file_offset_bits=no
25013 fi
25014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25015
25016
25017 fi
25018 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25019 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
25020
25021 if test "$ac_cv_sys_file_offset_bits" != no; then
25022 wx_largefile=yes
25023 cat >>confdefs.h <<_ACEOF
25024 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25025 _ACEOF
25026
25027 fi
25028
25029 if test "x$wx_largefile" != "xyes"; then
25030
25031 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25032 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
25033 if test "${ac_cv_sys_large_files+set}" = set; then
25034 echo $ECHO_N "(cached) $ECHO_C" >&6
25035 else
25036
25037 cat >conftest.$ac_ext <<_ACEOF
25038 /* confdefs.h. */
25039 _ACEOF
25040 cat confdefs.h >>conftest.$ac_ext
25041 cat >>conftest.$ac_ext <<_ACEOF
25042 /* end confdefs.h. */
25043 #define _LARGE_FILES 1
25044 #include <sys/types.h>
25045 int
25046 main ()
25047 {
25048 typedef struct {
25049 unsigned int field: sizeof(off_t) == 8;
25050 } wxlf;
25051
25052 ;
25053 return 0;
25054 }
25055 _ACEOF
25056 rm -f conftest.$ac_objext
25057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25058 (eval $ac_compile) 2>conftest.er1
25059 ac_status=$?
25060 grep -v '^ *+' conftest.er1 >conftest.err
25061 rm -f conftest.er1
25062 cat conftest.err >&5
25063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25064 (exit $ac_status); } &&
25065 { ac_try='test -z "$ac_c_werror_flag"
25066 || test ! -s conftest.err'
25067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25068 (eval $ac_try) 2>&5
25069 ac_status=$?
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); }; } &&
25072 { ac_try='test -s conftest.$ac_objext'
25073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25074 (eval $ac_try) 2>&5
25075 ac_status=$?
25076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25077 (exit $ac_status); }; }; then
25078 ac_cv_sys_large_files=1
25079 else
25080 echo "$as_me: failed program was:" >&5
25081 sed 's/^/| /' conftest.$ac_ext >&5
25082
25083 ac_cv_sys_large_files=no
25084 fi
25085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25086
25087
25088 fi
25089 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25090 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
25091
25092 if test "$ac_cv_sys_large_files" != no; then
25093 wx_largefile=yes
25094 cat >>confdefs.h <<_ACEOF
25095 #define _LARGE_FILES $ac_cv_sys_large_files
25096 _ACEOF
25097
25098 fi
25099
25100 fi
25101
25102 echo "$as_me:$LINENO: checking if large file support is available" >&5
25103 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
25104 if test "x$wx_largefile" = "xyes"; then
25105 cat >>confdefs.h <<\_ACEOF
25106 #define HAVE_LARGEFILE_SUPPORT 1
25107 _ACEOF
25108
25109 fi
25110 echo "$as_me:$LINENO: result: $wx_largefile" >&5
25111 echo "${ECHO_T}$wx_largefile" >&6
25112 fi
25113
25114
25115 if test "x$wx_largefile" = "xyes"; then
25116 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25117 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25118
25119 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25120 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25121 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
25122 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25123 echo $ECHO_N "(cached) $ECHO_C" >&6
25124 else
25125
25126 ac_ext=cc
25127 ac_cpp='$CXXCPP $CPPFLAGS'
25128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25131
25132 cat >conftest.$ac_ext <<_ACEOF
25133 /* confdefs.h. */
25134 _ACEOF
25135 cat confdefs.h >>conftest.$ac_ext
25136 cat >>conftest.$ac_ext <<_ACEOF
25137 /* end confdefs.h. */
25138
25139 int
25140 main ()
25141 {
25142
25143 #ifndef __STDC_EXT__
25144 choke me
25145 #endif
25146
25147 ;
25148 return 0;
25149 }
25150 _ACEOF
25151 rm -f conftest.$ac_objext
25152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25153 (eval $ac_compile) 2>conftest.er1
25154 ac_status=$?
25155 grep -v '^ *+' conftest.er1 >conftest.err
25156 rm -f conftest.er1
25157 cat conftest.err >&5
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); } &&
25160 { ac_try='test -z "$ac_cxx_werror_flag"
25161 || test ! -s conftest.err'
25162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25163 (eval $ac_try) 2>&5
25164 ac_status=$?
25165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25166 (exit $ac_status); }; } &&
25167 { ac_try='test -s conftest.$ac_objext'
25168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25169 (eval $ac_try) 2>&5
25170 ac_status=$?
25171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25172 (exit $ac_status); }; }; then
25173 wx_cv_STDC_EXT_required=no
25174 else
25175 echo "$as_me: failed program was:" >&5
25176 sed 's/^/| /' conftest.$ac_ext >&5
25177
25178 wx_cv_STDC_EXT_required=yes
25179
25180 fi
25181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25182 ac_ext=c
25183 ac_cpp='$CPP $CPPFLAGS'
25184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25187
25188
25189
25190 fi
25191 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25192 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
25193 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25194 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25195 fi
25196 fi
25197 else
25198 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25199 fi
25200 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25201 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
25202 if test "${ac_cv_sys_largefile_source+set}" = set; then
25203 echo $ECHO_N "(cached) $ECHO_C" >&6
25204 else
25205 while :; do
25206 ac_cv_sys_largefile_source=no
25207 cat >conftest.$ac_ext <<_ACEOF
25208 /* confdefs.h. */
25209 _ACEOF
25210 cat confdefs.h >>conftest.$ac_ext
25211 cat >>conftest.$ac_ext <<_ACEOF
25212 /* end confdefs.h. */
25213 #include <stdio.h>
25214 int
25215 main ()
25216 {
25217 return !fseeko;
25218 ;
25219 return 0;
25220 }
25221 _ACEOF
25222 rm -f conftest.$ac_objext
25223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25224 (eval $ac_compile) 2>conftest.er1
25225 ac_status=$?
25226 grep -v '^ *+' conftest.er1 >conftest.err
25227 rm -f conftest.er1
25228 cat conftest.err >&5
25229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25230 (exit $ac_status); } &&
25231 { ac_try='test -z "$ac_c_werror_flag"
25232 || test ! -s conftest.err'
25233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25234 (eval $ac_try) 2>&5
25235 ac_status=$?
25236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25237 (exit $ac_status); }; } &&
25238 { ac_try='test -s conftest.$ac_objext'
25239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25240 (eval $ac_try) 2>&5
25241 ac_status=$?
25242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25243 (exit $ac_status); }; }; then
25244 break
25245 else
25246 echo "$as_me: failed program was:" >&5
25247 sed 's/^/| /' conftest.$ac_ext >&5
25248
25249 fi
25250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25251 cat >conftest.$ac_ext <<_ACEOF
25252 /* confdefs.h. */
25253 _ACEOF
25254 cat confdefs.h >>conftest.$ac_ext
25255 cat >>conftest.$ac_ext <<_ACEOF
25256 /* end confdefs.h. */
25257 #define _LARGEFILE_SOURCE 1
25258 #include <stdio.h>
25259 int
25260 main ()
25261 {
25262 return !fseeko;
25263 ;
25264 return 0;
25265 }
25266 _ACEOF
25267 rm -f conftest.$ac_objext
25268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25269 (eval $ac_compile) 2>conftest.er1
25270 ac_status=$?
25271 grep -v '^ *+' conftest.er1 >conftest.err
25272 rm -f conftest.er1
25273 cat conftest.err >&5
25274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25275 (exit $ac_status); } &&
25276 { ac_try='test -z "$ac_c_werror_flag"
25277 || test ! -s conftest.err'
25278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25279 (eval $ac_try) 2>&5
25280 ac_status=$?
25281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25282 (exit $ac_status); }; } &&
25283 { ac_try='test -s conftest.$ac_objext'
25284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25285 (eval $ac_try) 2>&5
25286 ac_status=$?
25287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25288 (exit $ac_status); }; }; then
25289 ac_cv_sys_largefile_source=1; break
25290 else
25291 echo "$as_me: failed program was:" >&5
25292 sed 's/^/| /' conftest.$ac_ext >&5
25293
25294 fi
25295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25296 break
25297 done
25298 fi
25299 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25300 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
25301 if test "$ac_cv_sys_largefile_source" != no; then
25302
25303 cat >>confdefs.h <<_ACEOF
25304 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25305 _ACEOF
25306
25307 fi
25308 rm -f conftest*
25309
25310 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25311 # in glibc 2.1.3, but that breaks too many other things.
25312 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25313 echo "$as_me:$LINENO: checking for fseeko" >&5
25314 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
25315 if test "${ac_cv_func_fseeko+set}" = set; then
25316 echo $ECHO_N "(cached) $ECHO_C" >&6
25317 else
25318 cat >conftest.$ac_ext <<_ACEOF
25319 /* confdefs.h. */
25320 _ACEOF
25321 cat confdefs.h >>conftest.$ac_ext
25322 cat >>conftest.$ac_ext <<_ACEOF
25323 /* end confdefs.h. */
25324 #include <stdio.h>
25325 int
25326 main ()
25327 {
25328 return fseeko && fseeko (stdin, 0, 0);
25329 ;
25330 return 0;
25331 }
25332 _ACEOF
25333 rm -f conftest.$ac_objext conftest$ac_exeext
25334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25335 (eval $ac_link) 2>conftest.er1
25336 ac_status=$?
25337 grep -v '^ *+' conftest.er1 >conftest.err
25338 rm -f conftest.er1
25339 cat conftest.err >&5
25340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25341 (exit $ac_status); } &&
25342 { ac_try='test -z "$ac_c_werror_flag"
25343 || test ! -s conftest.err'
25344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25345 (eval $ac_try) 2>&5
25346 ac_status=$?
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); }; } &&
25349 { ac_try='test -s conftest$ac_exeext'
25350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25351 (eval $ac_try) 2>&5
25352 ac_status=$?
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); }; }; then
25355 ac_cv_func_fseeko=yes
25356 else
25357 echo "$as_me: failed program was:" >&5
25358 sed 's/^/| /' conftest.$ac_ext >&5
25359
25360 ac_cv_func_fseeko=no
25361 fi
25362 rm -f conftest.err conftest.$ac_objext \
25363 conftest$ac_exeext conftest.$ac_ext
25364 fi
25365 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
25366 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
25367 if test $ac_cv_func_fseeko = yes; then
25368
25369 cat >>confdefs.h <<\_ACEOF
25370 #define HAVE_FSEEKO 1
25371 _ACEOF
25372
25373 fi
25374
25375 if test "$ac_cv_sys_largefile_source" != no; then
25376 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25377 fi
25378 fi
25379
25380 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25381 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
25382 if test "${ac_cv_c_bigendian+set}" = set; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25384 else
25385 ac_cv_c_bigendian=unknown
25386 # See if sys/param.h defines the BYTE_ORDER macro.
25387 cat >conftest.$ac_ext <<_ACEOF
25388 /* confdefs.h. */
25389 _ACEOF
25390 cat confdefs.h >>conftest.$ac_ext
25391 cat >>conftest.$ac_ext <<_ACEOF
25392 /* end confdefs.h. */
25393 #include <sys/types.h>
25394 #include <sys/param.h>
25395 int
25396 main ()
25397 {
25398
25399 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25400 bogus endian macros
25401 #endif
25402 ;
25403 return 0;
25404 }
25405 _ACEOF
25406 rm -f conftest.$ac_objext
25407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25408 (eval $ac_compile) 2>conftest.er1
25409 ac_status=$?
25410 grep -v '^ *+' conftest.er1 >conftest.err
25411 rm -f conftest.er1
25412 cat conftest.err >&5
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); } &&
25415 { ac_try='test -z "$ac_c_werror_flag"
25416 || test ! -s conftest.err'
25417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25418 (eval $ac_try) 2>&5
25419 ac_status=$?
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); }; } &&
25422 { ac_try='test -s conftest.$ac_objext'
25423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25424 (eval $ac_try) 2>&5
25425 ac_status=$?
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); }; }; then
25428 # It does; now see whether it defined to BIG_ENDIAN or not.
25429 cat >conftest.$ac_ext <<_ACEOF
25430 /* confdefs.h. */
25431 _ACEOF
25432 cat confdefs.h >>conftest.$ac_ext
25433 cat >>conftest.$ac_ext <<_ACEOF
25434 /* end confdefs.h. */
25435 #include <sys/types.h>
25436 #include <sys/param.h>
25437 int
25438 main ()
25439 {
25440
25441 #if BYTE_ORDER != BIG_ENDIAN
25442 not big endian
25443 #endif
25444 ;
25445 return 0;
25446 }
25447 _ACEOF
25448 rm -f conftest.$ac_objext
25449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25450 (eval $ac_compile) 2>conftest.er1
25451 ac_status=$?
25452 grep -v '^ *+' conftest.er1 >conftest.err
25453 rm -f conftest.er1
25454 cat conftest.err >&5
25455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456 (exit $ac_status); } &&
25457 { ac_try='test -z "$ac_c_werror_flag"
25458 || test ! -s conftest.err'
25459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25460 (eval $ac_try) 2>&5
25461 ac_status=$?
25462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25463 (exit $ac_status); }; } &&
25464 { ac_try='test -s conftest.$ac_objext'
25465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25466 (eval $ac_try) 2>&5
25467 ac_status=$?
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); }; }; then
25470 ac_cv_c_bigendian=yes
25471 else
25472 echo "$as_me: failed program was:" >&5
25473 sed 's/^/| /' conftest.$ac_ext >&5
25474
25475 ac_cv_c_bigendian=no
25476 fi
25477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25478 else
25479 echo "$as_me: failed program was:" >&5
25480 sed 's/^/| /' conftest.$ac_ext >&5
25481
25482 fi
25483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25484 if test $ac_cv_c_bigendian = unknown; then
25485 if test "$cross_compiling" = yes; then
25486 ac_cv_c_bigendian=unknown
25487 else
25488 cat >conftest.$ac_ext <<_ACEOF
25489 /* confdefs.h. */
25490 _ACEOF
25491 cat confdefs.h >>conftest.$ac_ext
25492 cat >>conftest.$ac_ext <<_ACEOF
25493 /* end confdefs.h. */
25494 main () {
25495 /* Are we little or big endian? From Harbison&Steele. */
25496 union
25497 {
25498 long l;
25499 char c[sizeof (long)];
25500 } u;
25501 u.l = 1;
25502 exit (u.c[sizeof (long) - 1] == 1);
25503 }
25504 _ACEOF
25505 rm -f conftest$ac_exeext
25506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25507 (eval $ac_link) 2>&5
25508 ac_status=$?
25509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25512 (eval $ac_try) 2>&5
25513 ac_status=$?
25514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25515 (exit $ac_status); }; }; then
25516 ac_cv_c_bigendian=no
25517 else
25518 echo "$as_me: program exited with status $ac_status" >&5
25519 echo "$as_me: failed program was:" >&5
25520 sed 's/^/| /' conftest.$ac_ext >&5
25521
25522 ( exit $ac_status )
25523 ac_cv_c_bigendian=yes
25524 fi
25525 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25526 fi
25527 fi
25528 fi
25529 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25530 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
25531 if test $ac_cv_c_bigendian = unknown; then
25532 { 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
25533 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;}
25534 fi
25535 if test $ac_cv_c_bigendian = yes; then
25536 cat >>confdefs.h <<\_ACEOF
25537 #define WORDS_BIGENDIAN 1
25538 _ACEOF
25539
25540 fi
25541
25542
25543
25544
25545
25546 ac_ext=cc
25547 ac_cpp='$CXXCPP $CPPFLAGS'
25548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25551
25552
25553
25554 for ac_header in iostream
25555 do
25556 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25557 echo "$as_me:$LINENO: checking for $ac_header" >&5
25558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
25560 echo $ECHO_N "(cached) $ECHO_C" >&6
25561 else
25562 cat >conftest.$ac_ext <<_ACEOF
25563 /* confdefs.h. */
25564 _ACEOF
25565 cat confdefs.h >>conftest.$ac_ext
25566 cat >>conftest.$ac_ext <<_ACEOF
25567 /* end confdefs.h. */
25568
25569
25570 #include <$ac_header>
25571 _ACEOF
25572 rm -f conftest.$ac_objext
25573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25574 (eval $ac_compile) 2>conftest.er1
25575 ac_status=$?
25576 grep -v '^ *+' conftest.er1 >conftest.err
25577 rm -f conftest.er1
25578 cat conftest.err >&5
25579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25580 (exit $ac_status); } &&
25581 { ac_try='test -z "$ac_cxx_werror_flag"
25582 || test ! -s conftest.err'
25583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25584 (eval $ac_try) 2>&5
25585 ac_status=$?
25586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25587 (exit $ac_status); }; } &&
25588 { ac_try='test -s conftest.$ac_objext'
25589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25590 (eval $ac_try) 2>&5
25591 ac_status=$?
25592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25593 (exit $ac_status); }; }; then
25594 eval "$as_ac_Header=yes"
25595 else
25596 echo "$as_me: failed program was:" >&5
25597 sed 's/^/| /' conftest.$ac_ext >&5
25598
25599 eval "$as_ac_Header=no"
25600 fi
25601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25602 fi
25603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
25604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25605 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25606 cat >>confdefs.h <<_ACEOF
25607 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25608 _ACEOF
25609
25610 fi
25611
25612 done
25613
25614
25615 if test "$ac_cv_header_iostream" = "yes" ; then
25616 :
25617 else
25618 cat >>confdefs.h <<\_ACEOF
25619 #define wxUSE_IOSTREAMH 1
25620 _ACEOF
25621
25622 fi
25623
25624 ac_ext=c
25625 ac_cpp='$CPP $CPPFLAGS'
25626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25629
25630
25631
25632
25633 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
25634 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
25635 if test "${wx_cv_cpp_bool+set}" = set; then
25636 echo $ECHO_N "(cached) $ECHO_C" >&6
25637 else
25638
25639
25640
25641 ac_ext=cc
25642 ac_cpp='$CXXCPP $CPPFLAGS'
25643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25646
25647
25648 cat >conftest.$ac_ext <<_ACEOF
25649 /* confdefs.h. */
25650 _ACEOF
25651 cat confdefs.h >>conftest.$ac_ext
25652 cat >>conftest.$ac_ext <<_ACEOF
25653 /* end confdefs.h. */
25654
25655
25656 int
25657 main ()
25658 {
25659
25660 bool b = true;
25661
25662 return 0;
25663
25664 ;
25665 return 0;
25666 }
25667 _ACEOF
25668 rm -f conftest.$ac_objext
25669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25670 (eval $ac_compile) 2>conftest.er1
25671 ac_status=$?
25672 grep -v '^ *+' conftest.er1 >conftest.err
25673 rm -f conftest.er1
25674 cat conftest.err >&5
25675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25676 (exit $ac_status); } &&
25677 { ac_try='test -z "$ac_cxx_werror_flag"
25678 || test ! -s conftest.err'
25679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25680 (eval $ac_try) 2>&5
25681 ac_status=$?
25682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25683 (exit $ac_status); }; } &&
25684 { ac_try='test -s conftest.$ac_objext'
25685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25686 (eval $ac_try) 2>&5
25687 ac_status=$?
25688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25689 (exit $ac_status); }; }; then
25690
25691 wx_cv_cpp_bool=yes
25692
25693 else
25694 echo "$as_me: failed program was:" >&5
25695 sed 's/^/| /' conftest.$ac_ext >&5
25696
25697
25698 wx_cv_cpp_bool=no
25699
25700
25701 fi
25702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25703
25704 ac_ext=c
25705 ac_cpp='$CPP $CPPFLAGS'
25706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25709
25710
25711 fi
25712 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
25713 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
25714
25715 if test "$wx_cv_cpp_bool" = "yes"; then
25716 cat >>confdefs.h <<\_ACEOF
25717 #define HAVE_BOOL 1
25718 _ACEOF
25719
25720 fi
25721
25722
25723
25724 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25725 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
25726 if test "${wx_cv_explicit+set}" = set; then
25727 echo $ECHO_N "(cached) $ECHO_C" >&6
25728 else
25729
25730
25731
25732 ac_ext=cc
25733 ac_cpp='$CXXCPP $CPPFLAGS'
25734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25737
25738
25739 cat >conftest.$ac_ext <<_ACEOF
25740 /* confdefs.h. */
25741 _ACEOF
25742 cat confdefs.h >>conftest.$ac_ext
25743 cat >>conftest.$ac_ext <<_ACEOF
25744 /* end confdefs.h. */
25745
25746 class Foo { public: explicit Foo(int) {} };
25747
25748 int
25749 main ()
25750 {
25751
25752 return 0;
25753
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"
25768 || test ! -s conftest.err'
25769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25770 (eval $ac_try) 2>&5
25771 ac_status=$?
25772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773 (exit $ac_status); }; } &&
25774 { ac_try='test -s conftest.$ac_objext'
25775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25776 (eval $ac_try) 2>&5
25777 ac_status=$?
25778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779 (exit $ac_status); }; }; then
25780
25781 cat >conftest.$ac_ext <<_ACEOF
25782 /* confdefs.h. */
25783 _ACEOF
25784 cat confdefs.h >>conftest.$ac_ext
25785 cat >>conftest.$ac_ext <<_ACEOF
25786 /* end confdefs.h. */
25787
25788 class Foo { public: explicit Foo(int) {} };
25789 static void TakeFoo(const Foo& foo) { }
25790
25791 int
25792 main ()
25793 {
25794
25795 TakeFoo(17);
25796 return 0;
25797
25798 ;
25799 return 0;
25800 }
25801 _ACEOF
25802 rm -f conftest.$ac_objext
25803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25804 (eval $ac_compile) 2>conftest.er1
25805 ac_status=$?
25806 grep -v '^ *+' conftest.er1 >conftest.err
25807 rm -f conftest.er1
25808 cat conftest.err >&5
25809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25810 (exit $ac_status); } &&
25811 { ac_try='test -z "$ac_cxx_werror_flag"
25812 || test ! -s conftest.err'
25813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25814 (eval $ac_try) 2>&5
25815 ac_status=$?
25816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25817 (exit $ac_status); }; } &&
25818 { ac_try='test -s conftest.$ac_objext'
25819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25820 (eval $ac_try) 2>&5
25821 ac_status=$?
25822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25823 (exit $ac_status); }; }; then
25824 wx_cv_explicit=no
25825 else
25826 echo "$as_me: failed program was:" >&5
25827 sed 's/^/| /' conftest.$ac_ext >&5
25828
25829 wx_cv_explicit=yes
25830
25831 fi
25832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25833
25834 else
25835 echo "$as_me: failed program was:" >&5
25836 sed 's/^/| /' conftest.$ac_ext >&5
25837
25838 wx_cv_explicit=no
25839
25840 fi
25841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25842
25843 ac_ext=c
25844 ac_cpp='$CPP $CPPFLAGS'
25845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25848
25849
25850 fi
25851 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25852 echo "${ECHO_T}$wx_cv_explicit" >&6
25853
25854 if test "$wx_cv_explicit" = "yes"; then
25855 cat >>confdefs.h <<\_ACEOF
25856 #define HAVE_EXPLICIT 1
25857 _ACEOF
25858
25859 fi
25860
25861
25862 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
25863 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
25864 if test "${ac_cv_cxx_const_cast+set}" = set; then
25865 echo $ECHO_N "(cached) $ECHO_C" >&6
25866 else
25867
25868
25869 ac_ext=cc
25870 ac_cpp='$CXXCPP $CPPFLAGS'
25871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25874
25875 cat >conftest.$ac_ext <<_ACEOF
25876 /* confdefs.h. */
25877 _ACEOF
25878 cat confdefs.h >>conftest.$ac_ext
25879 cat >>conftest.$ac_ext <<_ACEOF
25880 /* end confdefs.h. */
25881
25882 int
25883 main ()
25884 {
25885 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
25886 ;
25887 return 0;
25888 }
25889 _ACEOF
25890 rm -f conftest.$ac_objext
25891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25892 (eval $ac_compile) 2>conftest.er1
25893 ac_status=$?
25894 grep -v '^ *+' conftest.er1 >conftest.err
25895 rm -f conftest.er1
25896 cat conftest.err >&5
25897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25898 (exit $ac_status); } &&
25899 { ac_try='test -z "$ac_cxx_werror_flag"
25900 || test ! -s conftest.err'
25901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25902 (eval $ac_try) 2>&5
25903 ac_status=$?
25904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25905 (exit $ac_status); }; } &&
25906 { ac_try='test -s conftest.$ac_objext'
25907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25908 (eval $ac_try) 2>&5
25909 ac_status=$?
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); }; }; then
25912 ac_cv_cxx_const_cast=yes
25913 else
25914 echo "$as_me: failed program was:" >&5
25915 sed 's/^/| /' conftest.$ac_ext >&5
25916
25917 ac_cv_cxx_const_cast=no
25918 fi
25919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25920 ac_ext=c
25921 ac_cpp='$CPP $CPPFLAGS'
25922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25925
25926
25927 fi
25928 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
25929 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
25930 if test "$ac_cv_cxx_const_cast" = yes; then
25931
25932 cat >>confdefs.h <<\_ACEOF
25933 #define HAVE_CONST_CAST
25934 _ACEOF
25935
25936 fi
25937
25938 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
25939 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
25940 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
25941 echo $ECHO_N "(cached) $ECHO_C" >&6
25942 else
25943
25944
25945 ac_ext=cc
25946 ac_cpp='$CXXCPP $CPPFLAGS'
25947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25950
25951 cat >conftest.$ac_ext <<_ACEOF
25952 /* confdefs.h. */
25953 _ACEOF
25954 cat confdefs.h >>conftest.$ac_ext
25955 cat >>conftest.$ac_ext <<_ACEOF
25956 /* end confdefs.h. */
25957 #include <typeinfo>
25958 class Base { public : Base () {} virtual void f () = 0;};
25959 class Derived : public Base { public : Derived () {} virtual void f () {} };
25960 class Unrelated { public : Unrelated () {} };
25961 int g (Unrelated&) { return 0; }
25962 int
25963 main ()
25964 {
25965
25966 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
25967 ;
25968 return 0;
25969 }
25970 _ACEOF
25971 rm -f conftest.$ac_objext
25972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25973 (eval $ac_compile) 2>conftest.er1
25974 ac_status=$?
25975 grep -v '^ *+' conftest.er1 >conftest.err
25976 rm -f conftest.er1
25977 cat conftest.err >&5
25978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25979 (exit $ac_status); } &&
25980 { ac_try='test -z "$ac_cxx_werror_flag"
25981 || test ! -s conftest.err'
25982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25983 (eval $ac_try) 2>&5
25984 ac_status=$?
25985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25986 (exit $ac_status); }; } &&
25987 { ac_try='test -s conftest.$ac_objext'
25988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25989 (eval $ac_try) 2>&5
25990 ac_status=$?
25991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25992 (exit $ac_status); }; }; then
25993 ac_cv_cxx_reinterpret_cast=yes
25994 else
25995 echo "$as_me: failed program was:" >&5
25996 sed 's/^/| /' conftest.$ac_ext >&5
25997
25998 ac_cv_cxx_reinterpret_cast=no
25999 fi
26000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26001 ac_ext=c
26002 ac_cpp='$CPP $CPPFLAGS'
26003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26006
26007
26008 fi
26009 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26010 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
26011 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26012
26013 cat >>confdefs.h <<\_ACEOF
26014 #define HAVE_REINTERPRET_CAST
26015 _ACEOF
26016
26017 fi
26018
26019 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26020 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
26021 if test "${ac_cv_cxx_static_cast+set}" = set; then
26022 echo $ECHO_N "(cached) $ECHO_C" >&6
26023 else
26024
26025
26026 ac_ext=cc
26027 ac_cpp='$CXXCPP $CPPFLAGS'
26028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26031
26032 cat >conftest.$ac_ext <<_ACEOF
26033 /* confdefs.h. */
26034 _ACEOF
26035 cat confdefs.h >>conftest.$ac_ext
26036 cat >>conftest.$ac_ext <<_ACEOF
26037 /* end confdefs.h. */
26038 #include <typeinfo>
26039 class Base { public : Base () {} virtual void f () = 0; };
26040 class Derived : public Base { public : Derived () {} virtual void f () {} };
26041 int g (Derived&) { return 0; }
26042 int
26043 main ()
26044 {
26045
26046 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26047 ;
26048 return 0;
26049 }
26050 _ACEOF
26051 rm -f conftest.$ac_objext
26052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26053 (eval $ac_compile) 2>conftest.er1
26054 ac_status=$?
26055 grep -v '^ *+' conftest.er1 >conftest.err
26056 rm -f conftest.er1
26057 cat conftest.err >&5
26058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26059 (exit $ac_status); } &&
26060 { ac_try='test -z "$ac_cxx_werror_flag"
26061 || test ! -s conftest.err'
26062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26063 (eval $ac_try) 2>&5
26064 ac_status=$?
26065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26066 (exit $ac_status); }; } &&
26067 { ac_try='test -s conftest.$ac_objext'
26068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26069 (eval $ac_try) 2>&5
26070 ac_status=$?
26071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072 (exit $ac_status); }; }; then
26073 ac_cv_cxx_static_cast=yes
26074 else
26075 echo "$as_me: failed program was:" >&5
26076 sed 's/^/| /' conftest.$ac_ext >&5
26077
26078 ac_cv_cxx_static_cast=no
26079 fi
26080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26081 ac_ext=c
26082 ac_cpp='$CPP $CPPFLAGS'
26083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26086
26087
26088 fi
26089 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26090 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
26091 if test "$ac_cv_cxx_static_cast" = yes; then
26092
26093 cat >>confdefs.h <<\_ACEOF
26094 #define HAVE_STATIC_CAST
26095 _ACEOF
26096
26097 fi
26098
26099
26100 if test "x$SUNCXX" = xyes; then
26101 CXXFLAGS="-features=tmplife $CXXFLAGS"
26102 fi
26103
26104 if test "x$SUNCC" = xyes; then
26105 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26106 fi
26107
26108 if test "x$SGICC" = "xyes"; then
26109 CFLAGS="-woff 3970 $CFLAGS"
26110 fi
26111 if test "x$SGICXX" = "xyes"; then
26112 CXXFLAGS="-woff 3970 $CXXFLAGS"
26113 fi
26114
26115 if test "x$HPCC" = "xyes"; then
26116 CFLAGS="+W 2011,2450 $CFLAGS"
26117 fi
26118 if test "x$HPCXX" = "xyes"; then
26119 CXXFLAGS="+W 2340 $CXXFLAGS"
26120 fi
26121
26122 if test "x$COMPAQCXX" = "xyes"; then
26123 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26124 fi
26125
26126 ac_ext=cc
26127 ac_cpp='$CXXCPP $CPPFLAGS'
26128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26131
26132
26133 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26134 if test "$wxUSE_UNICODE" = "yes"; then
26135 std_string="std::wstring"
26136 char_type="wchar_t"
26137 else
26138 std_string="std::string"
26139 char_type="char"
26140 fi
26141
26142 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26143 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
26144 if test "${wx_cv_class_stdstring+set}" = set; then
26145 echo $ECHO_N "(cached) $ECHO_C" >&6
26146 else
26147
26148 cat >conftest.$ac_ext <<_ACEOF
26149 /* confdefs.h. */
26150 _ACEOF
26151 cat confdefs.h >>conftest.$ac_ext
26152 cat >>conftest.$ac_ext <<_ACEOF
26153 /* end confdefs.h. */
26154 #include <string>
26155 int
26156 main ()
26157 {
26158 $std_string foo;
26159 ;
26160 return 0;
26161 }
26162 _ACEOF
26163 rm -f conftest.$ac_objext
26164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26165 (eval $ac_compile) 2>conftest.er1
26166 ac_status=$?
26167 grep -v '^ *+' conftest.er1 >conftest.err
26168 rm -f conftest.er1
26169 cat conftest.err >&5
26170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26171 (exit $ac_status); } &&
26172 { ac_try='test -z "$ac_cxx_werror_flag"
26173 || test ! -s conftest.err'
26174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26175 (eval $ac_try) 2>&5
26176 ac_status=$?
26177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26178 (exit $ac_status); }; } &&
26179 { ac_try='test -s conftest.$ac_objext'
26180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26181 (eval $ac_try) 2>&5
26182 ac_status=$?
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); }; }; then
26185 wx_cv_class_stdstring=yes
26186 else
26187 echo "$as_me: failed program was:" >&5
26188 sed 's/^/| /' conftest.$ac_ext >&5
26189
26190 wx_cv_class_stdstring=no
26191
26192 fi
26193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26194
26195
26196 fi
26197 echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26198 echo "${ECHO_T}$wx_cv_class_stdstring" >&6
26199
26200 if test "$wx_cv_class_stdstring" = yes; then
26201 if test "$wxUSE_UNICODE" = "yes"; then
26202 cat >>confdefs.h <<\_ACEOF
26203 #define HAVE_STD_WSTRING 1
26204 _ACEOF
26205
26206 fi
26207 else
26208 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26209 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
26210 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26211 echo $ECHO_N "(cached) $ECHO_C" >&6
26212 else
26213
26214 cat >conftest.$ac_ext <<_ACEOF
26215 /* confdefs.h. */
26216 _ACEOF
26217 cat confdefs.h >>conftest.$ac_ext
26218 cat >>conftest.$ac_ext <<_ACEOF
26219 /* end confdefs.h. */
26220
26221 #ifdef HAVE_WCHAR_H
26222 # ifdef __CYGWIN__
26223 # include <stddef.h>
26224 # endif
26225 # include <wchar.h>
26226 #endif
26227 #ifdef HAVE_STDLIB_H
26228 # include <stdlib.h>
26229 #endif
26230 #include <stdio.h>
26231 #include <string>
26232
26233 int
26234 main ()
26235 {
26236 std::basic_string<$char_type> foo;
26237 const $char_type* dummy = foo.c_str();
26238 ;
26239 return 0;
26240 }
26241 _ACEOF
26242 rm -f conftest.$ac_objext
26243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26244 (eval $ac_compile) 2>conftest.er1
26245 ac_status=$?
26246 grep -v '^ *+' conftest.er1 >conftest.err
26247 rm -f conftest.er1
26248 cat conftest.err >&5
26249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26250 (exit $ac_status); } &&
26251 { ac_try='test -z "$ac_cxx_werror_flag"
26252 || test ! -s conftest.err'
26253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26254 (eval $ac_try) 2>&5
26255 ac_status=$?
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); }; } &&
26258 { ac_try='test -s conftest.$ac_objext'
26259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26260 (eval $ac_try) 2>&5
26261 ac_status=$?
26262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26263 (exit $ac_status); }; }; then
26264 wx_cv_class_stdbasicstring=yes
26265 else
26266 echo "$as_me: failed program was:" >&5
26267 sed 's/^/| /' conftest.$ac_ext >&5
26268
26269 wx_cv_class_stdbasicstring=no
26270
26271 fi
26272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26273
26274
26275 fi
26276 echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26277 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6
26278
26279 if test "$wx_cv_class_stdbasicstring" != yes; then
26280 if test "$wxUSE_STL" = "yes"; then
26281 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26282 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26283 { (exit 1); exit 1; }; }
26284 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26285 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26286 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26287 { (exit 1); exit 1; }; }
26288 else
26289 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26290 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26291 wxUSE_STD_STRING=no
26292 fi
26293 fi
26294 fi
26295 fi
26296
26297 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26298 echo "$as_me:$LINENO: checking for std::istream" >&5
26299 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
26300 if test "${ac_cv_type_std__istream+set}" = set; then
26301 echo $ECHO_N "(cached) $ECHO_C" >&6
26302 else
26303 cat >conftest.$ac_ext <<_ACEOF
26304 /* confdefs.h. */
26305 _ACEOF
26306 cat confdefs.h >>conftest.$ac_ext
26307 cat >>conftest.$ac_ext <<_ACEOF
26308 /* end confdefs.h. */
26309 #include <iostream>
26310
26311 int
26312 main ()
26313 {
26314 if ((std::istream *) 0)
26315 return 0;
26316 if (sizeof (std::istream))
26317 return 0;
26318 ;
26319 return 0;
26320 }
26321 _ACEOF
26322 rm -f conftest.$ac_objext
26323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26324 (eval $ac_compile) 2>conftest.er1
26325 ac_status=$?
26326 grep -v '^ *+' conftest.er1 >conftest.err
26327 rm -f conftest.er1
26328 cat conftest.err >&5
26329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26330 (exit $ac_status); } &&
26331 { ac_try='test -z "$ac_cxx_werror_flag"
26332 || test ! -s conftest.err'
26333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26334 (eval $ac_try) 2>&5
26335 ac_status=$?
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); }; } &&
26338 { ac_try='test -s conftest.$ac_objext'
26339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26340 (eval $ac_try) 2>&5
26341 ac_status=$?
26342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26343 (exit $ac_status); }; }; then
26344 ac_cv_type_std__istream=yes
26345 else
26346 echo "$as_me: failed program was:" >&5
26347 sed 's/^/| /' conftest.$ac_ext >&5
26348
26349 ac_cv_type_std__istream=no
26350 fi
26351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26352 fi
26353 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26354 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
26355 if test $ac_cv_type_std__istream = yes; then
26356
26357 cat >>confdefs.h <<_ACEOF
26358 #define HAVE_STD__ISTREAM 1
26359 _ACEOF
26360
26361
26362 else
26363 wxUSE_STD_IOSTREAM=no
26364 fi
26365 echo "$as_me:$LINENO: checking for std::ostream" >&5
26366 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
26367 if test "${ac_cv_type_std__ostream+set}" = set; then
26368 echo $ECHO_N "(cached) $ECHO_C" >&6
26369 else
26370 cat >conftest.$ac_ext <<_ACEOF
26371 /* confdefs.h. */
26372 _ACEOF
26373 cat confdefs.h >>conftest.$ac_ext
26374 cat >>conftest.$ac_ext <<_ACEOF
26375 /* end confdefs.h. */
26376 #include <iostream>
26377
26378 int
26379 main ()
26380 {
26381 if ((std::ostream *) 0)
26382 return 0;
26383 if (sizeof (std::ostream))
26384 return 0;
26385 ;
26386 return 0;
26387 }
26388 _ACEOF
26389 rm -f conftest.$ac_objext
26390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26391 (eval $ac_compile) 2>conftest.er1
26392 ac_status=$?
26393 grep -v '^ *+' conftest.er1 >conftest.err
26394 rm -f conftest.er1
26395 cat conftest.err >&5
26396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26397 (exit $ac_status); } &&
26398 { ac_try='test -z "$ac_cxx_werror_flag"
26399 || test ! -s conftest.err'
26400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26401 (eval $ac_try) 2>&5
26402 ac_status=$?
26403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26404 (exit $ac_status); }; } &&
26405 { ac_try='test -s conftest.$ac_objext'
26406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26407 (eval $ac_try) 2>&5
26408 ac_status=$?
26409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26410 (exit $ac_status); }; }; then
26411 ac_cv_type_std__ostream=yes
26412 else
26413 echo "$as_me: failed program was:" >&5
26414 sed 's/^/| /' conftest.$ac_ext >&5
26415
26416 ac_cv_type_std__ostream=no
26417 fi
26418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26419 fi
26420 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26421 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
26422 if test $ac_cv_type_std__ostream = yes; then
26423
26424 cat >>confdefs.h <<_ACEOF
26425 #define HAVE_STD__OSTREAM 1
26426 _ACEOF
26427
26428
26429 else
26430 wxUSE_STD_IOSTREAM=no
26431 fi
26432
26433
26434 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26435 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26436 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26437 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26438 { (exit 1); exit 1; }; }
26439 else
26440 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26441 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26442 fi
26443 fi
26444 fi
26445
26446 if test "$wxUSE_STL" = "yes"; then
26447 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26448 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
26449 if test "${wx_cv_lib_stl+set}" = set; then
26450 echo $ECHO_N "(cached) $ECHO_C" >&6
26451 else
26452 cat >conftest.$ac_ext <<_ACEOF
26453 /* confdefs.h. */
26454 _ACEOF
26455 cat confdefs.h >>conftest.$ac_ext
26456 cat >>conftest.$ac_ext <<_ACEOF
26457 /* end confdefs.h. */
26458 #include <string>
26459 #include <functional>
26460 #include <algorithm>
26461 #include <vector>
26462 #include <list>
26463 int
26464 main ()
26465 {
26466 std::vector<int> moo;
26467 std::list<int> foo;
26468 std::vector<int>::iterator it =
26469 std::find_if(moo.begin(), moo.end(),
26470 std::bind2nd(std::less<int>(), 3));
26471 ;
26472 return 0;
26473 }
26474 _ACEOF
26475 rm -f conftest.$ac_objext
26476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26477 (eval $ac_compile) 2>conftest.er1
26478 ac_status=$?
26479 grep -v '^ *+' conftest.er1 >conftest.err
26480 rm -f conftest.er1
26481 cat conftest.err >&5
26482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26483 (exit $ac_status); } &&
26484 { ac_try='test -z "$ac_cxx_werror_flag"
26485 || test ! -s conftest.err'
26486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26487 (eval $ac_try) 2>&5
26488 ac_status=$?
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); }; } &&
26491 { ac_try='test -s conftest.$ac_objext'
26492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26493 (eval $ac_try) 2>&5
26494 ac_status=$?
26495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496 (exit $ac_status); }; }; then
26497 wx_cv_lib_stl=yes
26498 else
26499 echo "$as_me: failed program was:" >&5
26500 sed 's/^/| /' conftest.$ac_ext >&5
26501
26502 wx_cv_lib_stl=no
26503
26504 fi
26505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26506
26507 fi
26508 echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26509 echo "${ECHO_T}$wx_cv_lib_stl" >&6
26510
26511 if test "$wx_cv_lib_stl" != yes; then
26512 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26513 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26514 { (exit 1); exit 1; }; }
26515 fi
26516
26517 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26518 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
26519 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26520 echo $ECHO_N "(cached) $ECHO_C" >&6
26521 else
26522 cat >conftest.$ac_ext <<_ACEOF
26523 /* confdefs.h. */
26524 _ACEOF
26525 cat confdefs.h >>conftest.$ac_ext
26526 cat >>conftest.$ac_ext <<_ACEOF
26527 /* end confdefs.h. */
26528 #include <string>
26529 int
26530 main ()
26531 {
26532 std::string foo, bar;
26533 foo.compare(bar);
26534 foo.compare(1, 1, bar);
26535 foo.compare(1, 1, bar, 1, 1);
26536 foo.compare("");
26537 foo.compare(1, 1, "");
26538 foo.compare(1, 1, "", 2);
26539 ;
26540 return 0;
26541 }
26542 _ACEOF
26543 rm -f conftest.$ac_objext
26544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26545 (eval $ac_compile) 2>conftest.er1
26546 ac_status=$?
26547 grep -v '^ *+' conftest.er1 >conftest.err
26548 rm -f conftest.er1
26549 cat conftest.err >&5
26550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26551 (exit $ac_status); } &&
26552 { ac_try='test -z "$ac_cxx_werror_flag"
26553 || test ! -s conftest.err'
26554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26555 (eval $ac_try) 2>&5
26556 ac_status=$?
26557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26558 (exit $ac_status); }; } &&
26559 { ac_try='test -s conftest.$ac_objext'
26560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26561 (eval $ac_try) 2>&5
26562 ac_status=$?
26563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26564 (exit $ac_status); }; }; then
26565 wx_cv_func_stdstring_compare=yes
26566 else
26567 echo "$as_me: failed program was:" >&5
26568 sed 's/^/| /' conftest.$ac_ext >&5
26569
26570 wx_cv_func_stdstring_compare=no
26571
26572 fi
26573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26574
26575 fi
26576 echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26577 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6
26578
26579 if test "$wx_cv_func_stdstring_compare" = yes; then
26580 cat >>confdefs.h <<\_ACEOF
26581 #define HAVE_STD_STRING_COMPARE 1
26582 _ACEOF
26583
26584 fi
26585
26586 echo "$as_me:$LINENO: checking for hash_map" >&5
26587 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
26588 if test "${ac_cv_header_hash_map+set}" = set; then
26589 echo $ECHO_N "(cached) $ECHO_C" >&6
26590 else
26591 cat >conftest.$ac_ext <<_ACEOF
26592 /* confdefs.h. */
26593 _ACEOF
26594 cat confdefs.h >>conftest.$ac_ext
26595 cat >>conftest.$ac_ext <<_ACEOF
26596 /* end confdefs.h. */
26597
26598
26599
26600 #include <hash_map>
26601 _ACEOF
26602 rm -f conftest.$ac_objext
26603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26604 (eval $ac_compile) 2>conftest.er1
26605 ac_status=$?
26606 grep -v '^ *+' conftest.er1 >conftest.err
26607 rm -f conftest.er1
26608 cat conftest.err >&5
26609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610 (exit $ac_status); } &&
26611 { ac_try='test -z "$ac_cxx_werror_flag"
26612 || test ! -s conftest.err'
26613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26614 (eval $ac_try) 2>&5
26615 ac_status=$?
26616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26617 (exit $ac_status); }; } &&
26618 { ac_try='test -s conftest.$ac_objext'
26619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26620 (eval $ac_try) 2>&5
26621 ac_status=$?
26622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26623 (exit $ac_status); }; }; then
26624 ac_cv_header_hash_map=yes
26625 else
26626 echo "$as_me: failed program was:" >&5
26627 sed 's/^/| /' conftest.$ac_ext >&5
26628
26629 ac_cv_header_hash_map=no
26630 fi
26631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26632 fi
26633 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26634 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
26635 if test $ac_cv_header_hash_map = yes; then
26636 echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
26637 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6
26638 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26639 echo $ECHO_N "(cached) $ECHO_C" >&6
26640 else
26641 cat >conftest.$ac_ext <<_ACEOF
26642 /* confdefs.h. */
26643 _ACEOF
26644 cat confdefs.h >>conftest.$ac_ext
26645 cat >>conftest.$ac_ext <<_ACEOF
26646 /* end confdefs.h. */
26647 #include <hash_map>
26648 #include <hash_set>
26649 int
26650 main ()
26651 {
26652 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26653 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26654 ;
26655 return 0;
26656 }
26657 _ACEOF
26658 rm -f conftest.$ac_objext
26659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26660 (eval $ac_compile) 2>conftest.er1
26661 ac_status=$?
26662 grep -v '^ *+' conftest.er1 >conftest.err
26663 rm -f conftest.er1
26664 cat conftest.err >&5
26665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26666 (exit $ac_status); } &&
26667 { ac_try='test -z "$ac_cxx_werror_flag"
26668 || test ! -s conftest.err'
26669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26670 (eval $ac_try) 2>&5
26671 ac_status=$?
26672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26673 (exit $ac_status); }; } &&
26674 { ac_try='test -s conftest.$ac_objext'
26675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26676 (eval $ac_try) 2>&5
26677 ac_status=$?
26678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26679 (exit $ac_status); }; }; then
26680 wx_cv_class_stdhashmapset=yes
26681 else
26682 echo "$as_me: failed program was:" >&5
26683 sed 's/^/| /' conftest.$ac_ext >&5
26684
26685 wx_cv_class_stdhashmapset=no
26686 fi
26687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26688
26689
26690 fi
26691 echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26692 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6
26693 fi
26694
26695
26696
26697 if test "$wx_cv_class_stdhashmapset" = yes; then
26698 cat >>confdefs.h <<\_ACEOF
26699 #define HAVE_HASH_MAP 1
26700 _ACEOF
26701
26702 cat >>confdefs.h <<\_ACEOF
26703 #define HAVE_STD_HASH_MAP 1
26704 _ACEOF
26705
26706 fi
26707
26708 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26709 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
26710 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26711 echo $ECHO_N "(cached) $ECHO_C" >&6
26712 else
26713 cat >conftest.$ac_ext <<_ACEOF
26714 /* confdefs.h. */
26715 _ACEOF
26716 cat confdefs.h >>conftest.$ac_ext
26717 cat >>conftest.$ac_ext <<_ACEOF
26718 /* end confdefs.h. */
26719
26720
26721
26722 #include <ext/hash_map>
26723 _ACEOF
26724 rm -f conftest.$ac_objext
26725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26726 (eval $ac_compile) 2>conftest.er1
26727 ac_status=$?
26728 grep -v '^ *+' conftest.er1 >conftest.err
26729 rm -f conftest.er1
26730 cat conftest.err >&5
26731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26732 (exit $ac_status); } &&
26733 { ac_try='test -z "$ac_cxx_werror_flag"
26734 || test ! -s conftest.err'
26735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26736 (eval $ac_try) 2>&5
26737 ac_status=$?
26738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26739 (exit $ac_status); }; } &&
26740 { ac_try='test -s conftest.$ac_objext'
26741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26742 (eval $ac_try) 2>&5
26743 ac_status=$?
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); }; }; then
26746 ac_cv_header_ext_hash_map=yes
26747 else
26748 echo "$as_me: failed program was:" >&5
26749 sed 's/^/| /' conftest.$ac_ext >&5
26750
26751 ac_cv_header_ext_hash_map=no
26752 fi
26753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26754 fi
26755 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26756 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
26757 if test $ac_cv_header_ext_hash_map = yes; then
26758 echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26759 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6
26760 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26761 echo $ECHO_N "(cached) $ECHO_C" >&6
26762 else
26763 cat >conftest.$ac_ext <<_ACEOF
26764 /* confdefs.h. */
26765 _ACEOF
26766 cat confdefs.h >>conftest.$ac_ext
26767 cat >>conftest.$ac_ext <<_ACEOF
26768 /* end confdefs.h. */
26769 #include <ext/hash_map>
26770 #include <ext/hash_set>
26771 int
26772 main ()
26773 {
26774 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26775 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26776 ;
26777 return 0;
26778 }
26779 _ACEOF
26780 rm -f conftest.$ac_objext
26781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26782 (eval $ac_compile) 2>conftest.er1
26783 ac_status=$?
26784 grep -v '^ *+' conftest.er1 >conftest.err
26785 rm -f conftest.er1
26786 cat conftest.err >&5
26787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26788 (exit $ac_status); } &&
26789 { ac_try='test -z "$ac_cxx_werror_flag"
26790 || test ! -s conftest.err'
26791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26792 (eval $ac_try) 2>&5
26793 ac_status=$?
26794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26795 (exit $ac_status); }; } &&
26796 { ac_try='test -s conftest.$ac_objext'
26797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26798 (eval $ac_try) 2>&5
26799 ac_status=$?
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); }; }; then
26802 wx_cv_class_gnuhashmapset=yes
26803 else
26804 echo "$as_me: failed program was:" >&5
26805 sed 's/^/| /' conftest.$ac_ext >&5
26806
26807 wx_cv_class_gnuhashmapset=no
26808 fi
26809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26810
26811
26812 fi
26813 echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26814 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6
26815 fi
26816
26817
26818
26819 if test "$wx_cv_class_gnuhashmapset" = yes; then
26820 cat >>confdefs.h <<\_ACEOF
26821 #define HAVE_EXT_HASH_MAP 1
26822 _ACEOF
26823
26824 cat >>confdefs.h <<\_ACEOF
26825 #define HAVE_GNU_CXX_HASH_MAP 1
26826 _ACEOF
26827
26828 fi
26829 fi
26830
26831 ac_ext=c
26832 ac_cpp='$CPP $CPPFLAGS'
26833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26836
26837
26838
26839 SEARCH_INCLUDE="\
26840 /usr/local/include \
26841 \
26842 /usr/Motif-2.1/include \
26843 /usr/Motif-1.2/include \
26844 /usr/include/Motif1.2 \
26845 \
26846 /usr/dt/include \
26847 /usr/openwin/include \
26848 \
26849 /usr/include/Xm \
26850 \
26851 /usr/X11R6/include \
26852 /usr/X11R6.4/include \
26853 /usr/X11R5/include \
26854 /usr/X11R4/include \
26855 \
26856 /usr/include/X11R6 \
26857 /usr/include/X11R5 \
26858 /usr/include/X11R4 \
26859 \
26860 /usr/local/X11R6/include \
26861 /usr/local/X11R5/include \
26862 /usr/local/X11R4/include \
26863 \
26864 /usr/local/include/X11R6 \
26865 /usr/local/include/X11R5 \
26866 /usr/local/include/X11R4 \
26867 \
26868 /usr/X11/include \
26869 /usr/include/X11 \
26870 /usr/local/X11/include \
26871 /usr/local/include/X11 \
26872 \
26873 /usr/XFree86/include/X11 \
26874 /usr/pkg/include \
26875 \
26876 /usr/openwin/share/include"
26877
26878 echo "$as_me:$LINENO: checking for libraries directory" >&5
26879 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
26880
26881 case "${host}" in
26882 *-*-irix6* )
26883 if test "${wx_cv_std_libpath+set}" = set; then
26884 echo $ECHO_N "(cached) $ECHO_C" >&6
26885 else
26886
26887 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
26888 for e in a so sl dylib dll.a; do
26889 libc="$d/libc.$e"
26890 if test -f $libc; then
26891 save_LIBS="$LIBS"
26892 LIBS="$libc"
26893 cat >conftest.$ac_ext <<_ACEOF
26894 int main() { return 0; }
26895 _ACEOF
26896 rm -f conftest.$ac_objext conftest$ac_exeext
26897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26898 (eval $ac_link) 2>conftest.er1
26899 ac_status=$?
26900 grep -v '^ *+' conftest.er1 >conftest.err
26901 rm -f conftest.er1
26902 cat conftest.err >&5
26903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26904 (exit $ac_status); } &&
26905 { ac_try='test -z "$ac_c_werror_flag"
26906 || test ! -s conftest.err'
26907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26908 (eval $ac_try) 2>&5
26909 ac_status=$?
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); }; } &&
26912 { ac_try='test -s conftest$ac_exeext'
26913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26914 (eval $ac_try) 2>&5
26915 ac_status=$?
26916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26917 (exit $ac_status); }; }; then
26918 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
26919 else
26920 echo "$as_me: failed program was:" >&5
26921 sed 's/^/| /' conftest.$ac_ext >&5
26922
26923 fi
26924 rm -f conftest.err conftest.$ac_objext \
26925 conftest$ac_exeext conftest.$ac_ext
26926 LIBS="$save_LIBS"
26927 if test "x$wx_cv_std_libpath" != "x"; then
26928 break 2
26929 fi
26930 fi
26931 done
26932 done
26933 if test "x$wx_cv_std_libpath" = "x"; then
26934 wx_cv_std_libpath="lib"
26935 fi
26936
26937
26938 fi
26939
26940 ;;
26941
26942 *-*-solaris2* )
26943 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
26944 wx_cv_std_libpath="lib/64"
26945 else
26946 wx_cv_std_libpath="lib"
26947 fi
26948 ;;
26949
26950 *-*-linux* )
26951 if test "$ac_cv_sizeof_void_p" = 8 -a \
26952 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
26953 wx_cv_std_libpath="lib64"
26954 else
26955 wx_cv_std_libpath="lib"
26956 fi
26957 ;;
26958
26959 *)
26960 wx_cv_std_libpath="lib";
26961 ;;
26962 esac
26963
26964 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
26965 echo "${ECHO_T}$wx_cv_std_libpath" >&6
26966
26967 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
26968
26969 if test "$build" != "$host" -a "$GCC" = yes; then
26970 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
26971 cross_root=`dirname $cross_root`
26972 cross_root=`dirname $cross_root`
26973
26974 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26975 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
26976 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
26977
26978 if test -z "$PKG_CONFIG_PATH"; then
26979 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
26980 export PKG_CONFIG_PATH
26981 fi
26982
26983 if test -z "$x_includes" -o "$x_includes" = NONE; then
26984
26985 ac_find_includes=
26986 for ac_dir in $SEARCH_INCLUDE /usr/include;
26987 do
26988 if test -f "$ac_dir/X11/Intrinsic.h"; then
26989 ac_find_includes=$ac_dir
26990 break
26991 fi
26992 done
26993
26994 x_includes=$ac_find_includes
26995 fi
26996 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
26997
26998 ac_find_libraries=
26999 for ac_dir in $SEARCH_LIB;
27000 do
27001 for ac_extension in a so sl dylib dll.a; do
27002 if test -f "$ac_dir/libXt.$ac_extension"; then
27003 ac_find_libraries=$ac_dir
27004 break 2
27005 fi
27006 done
27007 done
27008
27009 x_libraries=$ac_find_libraries
27010 fi
27011 fi
27012 fi
27013
27014
27015 cat >confcache <<\_ACEOF
27016 # This file is a shell script that caches the results of configure
27017 # tests run on this system so they can be shared between configure
27018 # scripts and configure runs, see configure's option --config-cache.
27019 # It is not useful on other systems. If it contains results you don't
27020 # want to keep, you may remove or edit it.
27021 #
27022 # config.status only pays attention to the cache file if you give it
27023 # the --recheck option to rerun configure.
27024 #
27025 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27026 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27027 # following values.
27028
27029 _ACEOF
27030
27031 # The following way of writing the cache mishandles newlines in values,
27032 # but we know of no workaround that is simple, portable, and efficient.
27033 # So, don't put newlines in cache variables' values.
27034 # Ultrix sh set writes to stderr and can't be redirected directly,
27035 # and sets the high bit in the cache file unless we assign to the vars.
27036 {
27037 (set) 2>&1 |
27038 case `(ac_space=' '; set | grep ac_space) 2>&1` in
27039 *ac_space=\ *)
27040 # `set' does not quote correctly, so add quotes (double-quote
27041 # substitution turns \\\\ into \\, and sed turns \\ into \).
27042 sed -n \
27043 "s/'/'\\\\''/g;
27044 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27045 ;;
27046 *)
27047 # `set' quotes correctly as required by POSIX, so do not add quotes.
27048 sed -n \
27049 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
27050 ;;
27051 esac;
27052 } |
27053 sed '
27054 t clear
27055 : clear
27056 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27057 t end
27058 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27059 : end' >>confcache
27060 if diff $cache_file confcache >/dev/null 2>&1; then :; else
27061 if test -w $cache_file; then
27062 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
27063 cat confcache >$cache_file
27064 else
27065 echo "not updating unwritable cache $cache_file"
27066 fi
27067 fi
27068 rm -f confcache
27069
27070 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27071 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27072 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
27073 if test "${wx_cv_lib_glibc21+set}" = set; then
27074 echo $ECHO_N "(cached) $ECHO_C" >&6
27075 else
27076
27077 cat >conftest.$ac_ext <<_ACEOF
27078 /* confdefs.h. */
27079 _ACEOF
27080 cat confdefs.h >>conftest.$ac_ext
27081 cat >>conftest.$ac_ext <<_ACEOF
27082 /* end confdefs.h. */
27083 #include <features.h>
27084 int
27085 main ()
27086 {
27087
27088 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27089 not glibc 2.1
27090 #endif
27091
27092 ;
27093 return 0;
27094 }
27095 _ACEOF
27096 rm -f conftest.$ac_objext
27097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27098 (eval $ac_compile) 2>conftest.er1
27099 ac_status=$?
27100 grep -v '^ *+' conftest.er1 >conftest.err
27101 rm -f conftest.er1
27102 cat conftest.err >&5
27103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27104 (exit $ac_status); } &&
27105 { ac_try='test -z "$ac_c_werror_flag"
27106 || test ! -s conftest.err'
27107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27108 (eval $ac_try) 2>&5
27109 ac_status=$?
27110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27111 (exit $ac_status); }; } &&
27112 { ac_try='test -s conftest.$ac_objext'
27113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27114 (eval $ac_try) 2>&5
27115 ac_status=$?
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); }; }; then
27118
27119 wx_cv_lib_glibc21=yes
27120
27121 else
27122 echo "$as_me: failed program was:" >&5
27123 sed 's/^/| /' conftest.$ac_ext >&5
27124
27125
27126 wx_cv_lib_glibc21=no
27127
27128
27129 fi
27130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27131
27132 fi
27133 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27134 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
27135 if test "$wx_cv_lib_glibc21" = "yes"; then
27136 cat >>confdefs.h <<\_ACEOF
27137 #define wxHAVE_GLIBC2 1
27138 _ACEOF
27139
27140 fi
27141 fi
27142
27143 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27144 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27145 cat >>confdefs.h <<\_ACEOF
27146 #define _GNU_SOURCE 1
27147 _ACEOF
27148
27149 fi
27150 fi
27151
27152 have_cos=0
27153 have_floor=0
27154
27155 for ac_func in cos
27156 do
27157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27158 echo "$as_me:$LINENO: checking for $ac_func" >&5
27159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27160 if eval "test \"\${$as_ac_var+set}\" = set"; then
27161 echo $ECHO_N "(cached) $ECHO_C" >&6
27162 else
27163 cat >conftest.$ac_ext <<_ACEOF
27164 /* confdefs.h. */
27165 _ACEOF
27166 cat confdefs.h >>conftest.$ac_ext
27167 cat >>conftest.$ac_ext <<_ACEOF
27168 /* end confdefs.h. */
27169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27171 #define $ac_func innocuous_$ac_func
27172
27173 /* System header to define __stub macros and hopefully few prototypes,
27174 which can conflict with char $ac_func (); below.
27175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27176 <limits.h> exists even on freestanding compilers. */
27177
27178 #ifdef __STDC__
27179 # include <limits.h>
27180 #else
27181 # include <assert.h>
27182 #endif
27183
27184 #undef $ac_func
27185
27186 /* Override any gcc2 internal prototype to avoid an error. */
27187 #ifdef __cplusplus
27188 extern "C"
27189 {
27190 #endif
27191 /* We use char because int might match the return type of a gcc2
27192 builtin and then its argument prototype would still apply. */
27193 char $ac_func ();
27194 /* The GNU C library defines this for functions which it implements
27195 to always fail with ENOSYS. Some functions are actually named
27196 something starting with __ and the normal name is an alias. */
27197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27198 choke me
27199 #else
27200 char (*f) () = $ac_func;
27201 #endif
27202 #ifdef __cplusplus
27203 }
27204 #endif
27205
27206 int
27207 main ()
27208 {
27209 return f != $ac_func;
27210 ;
27211 return 0;
27212 }
27213 _ACEOF
27214 rm -f conftest.$ac_objext conftest$ac_exeext
27215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27216 (eval $ac_link) 2>conftest.er1
27217 ac_status=$?
27218 grep -v '^ *+' conftest.er1 >conftest.err
27219 rm -f conftest.er1
27220 cat conftest.err >&5
27221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27222 (exit $ac_status); } &&
27223 { ac_try='test -z "$ac_c_werror_flag"
27224 || test ! -s conftest.err'
27225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27226 (eval $ac_try) 2>&5
27227 ac_status=$?
27228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229 (exit $ac_status); }; } &&
27230 { ac_try='test -s conftest$ac_exeext'
27231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27232 (eval $ac_try) 2>&5
27233 ac_status=$?
27234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27235 (exit $ac_status); }; }; then
27236 eval "$as_ac_var=yes"
27237 else
27238 echo "$as_me: failed program was:" >&5
27239 sed 's/^/| /' conftest.$ac_ext >&5
27240
27241 eval "$as_ac_var=no"
27242 fi
27243 rm -f conftest.err conftest.$ac_objext \
27244 conftest$ac_exeext conftest.$ac_ext
27245 fi
27246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27248 if test `eval echo '${'$as_ac_var'}'` = yes; then
27249 cat >>confdefs.h <<_ACEOF
27250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27251 _ACEOF
27252 have_cos=1
27253 fi
27254 done
27255
27256
27257 for ac_func in floor
27258 do
27259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27260 echo "$as_me:$LINENO: checking for $ac_func" >&5
27261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27262 if eval "test \"\${$as_ac_var+set}\" = set"; then
27263 echo $ECHO_N "(cached) $ECHO_C" >&6
27264 else
27265 cat >conftest.$ac_ext <<_ACEOF
27266 /* confdefs.h. */
27267 _ACEOF
27268 cat confdefs.h >>conftest.$ac_ext
27269 cat >>conftest.$ac_ext <<_ACEOF
27270 /* end confdefs.h. */
27271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27273 #define $ac_func innocuous_$ac_func
27274
27275 /* System header to define __stub macros and hopefully few prototypes,
27276 which can conflict with char $ac_func (); below.
27277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27278 <limits.h> exists even on freestanding compilers. */
27279
27280 #ifdef __STDC__
27281 # include <limits.h>
27282 #else
27283 # include <assert.h>
27284 #endif
27285
27286 #undef $ac_func
27287
27288 /* Override any gcc2 internal prototype to avoid an error. */
27289 #ifdef __cplusplus
27290 extern "C"
27291 {
27292 #endif
27293 /* We use char because int might match the return type of a gcc2
27294 builtin and then its argument prototype would still apply. */
27295 char $ac_func ();
27296 /* The GNU C library defines this for functions which it implements
27297 to always fail with ENOSYS. Some functions are actually named
27298 something starting with __ and the normal name is an alias. */
27299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27300 choke me
27301 #else
27302 char (*f) () = $ac_func;
27303 #endif
27304 #ifdef __cplusplus
27305 }
27306 #endif
27307
27308 int
27309 main ()
27310 {
27311 return f != $ac_func;
27312 ;
27313 return 0;
27314 }
27315 _ACEOF
27316 rm -f conftest.$ac_objext conftest$ac_exeext
27317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27318 (eval $ac_link) 2>conftest.er1
27319 ac_status=$?
27320 grep -v '^ *+' conftest.er1 >conftest.err
27321 rm -f conftest.er1
27322 cat conftest.err >&5
27323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27324 (exit $ac_status); } &&
27325 { ac_try='test -z "$ac_c_werror_flag"
27326 || test ! -s conftest.err'
27327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27328 (eval $ac_try) 2>&5
27329 ac_status=$?
27330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27331 (exit $ac_status); }; } &&
27332 { ac_try='test -s conftest$ac_exeext'
27333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27334 (eval $ac_try) 2>&5
27335 ac_status=$?
27336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27337 (exit $ac_status); }; }; then
27338 eval "$as_ac_var=yes"
27339 else
27340 echo "$as_me: failed program was:" >&5
27341 sed 's/^/| /' conftest.$ac_ext >&5
27342
27343 eval "$as_ac_var=no"
27344 fi
27345 rm -f conftest.err conftest.$ac_objext \
27346 conftest$ac_exeext conftest.$ac_ext
27347 fi
27348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27350 if test `eval echo '${'$as_ac_var'}'` = yes; then
27351 cat >>confdefs.h <<_ACEOF
27352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27353 _ACEOF
27354 have_floor=1
27355 fi
27356 done
27357
27358 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27359 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
27360 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27361 echo "$as_me:$LINENO: result: yes" >&5
27362 echo "${ECHO_T}yes" >&6
27363 else
27364 echo "$as_me:$LINENO: result: no" >&5
27365 echo "${ECHO_T}no" >&6
27366 LIBS="$LIBS -lm"
27367 # use different functions to avoid configure caching
27368 have_sin=0
27369 have_ceil=0
27370
27371 for ac_func in sin
27372 do
27373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27374 echo "$as_me:$LINENO: checking for $ac_func" >&5
27375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27376 if eval "test \"\${$as_ac_var+set}\" = set"; then
27377 echo $ECHO_N "(cached) $ECHO_C" >&6
27378 else
27379 cat >conftest.$ac_ext <<_ACEOF
27380 /* confdefs.h. */
27381 _ACEOF
27382 cat confdefs.h >>conftest.$ac_ext
27383 cat >>conftest.$ac_ext <<_ACEOF
27384 /* end confdefs.h. */
27385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27387 #define $ac_func innocuous_$ac_func
27388
27389 /* System header to define __stub macros and hopefully few prototypes,
27390 which can conflict with char $ac_func (); below.
27391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27392 <limits.h> exists even on freestanding compilers. */
27393
27394 #ifdef __STDC__
27395 # include <limits.h>
27396 #else
27397 # include <assert.h>
27398 #endif
27399
27400 #undef $ac_func
27401
27402 /* Override any gcc2 internal prototype to avoid an error. */
27403 #ifdef __cplusplus
27404 extern "C"
27405 {
27406 #endif
27407 /* We use char because int might match the return type of a gcc2
27408 builtin and then its argument prototype would still apply. */
27409 char $ac_func ();
27410 /* The GNU C library defines this for functions which it implements
27411 to always fail with ENOSYS. Some functions are actually named
27412 something starting with __ and the normal name is an alias. */
27413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27414 choke me
27415 #else
27416 char (*f) () = $ac_func;
27417 #endif
27418 #ifdef __cplusplus
27419 }
27420 #endif
27421
27422 int
27423 main ()
27424 {
27425 return f != $ac_func;
27426 ;
27427 return 0;
27428 }
27429 _ACEOF
27430 rm -f conftest.$ac_objext conftest$ac_exeext
27431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27432 (eval $ac_link) 2>conftest.er1
27433 ac_status=$?
27434 grep -v '^ *+' conftest.er1 >conftest.err
27435 rm -f conftest.er1
27436 cat conftest.err >&5
27437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27438 (exit $ac_status); } &&
27439 { ac_try='test -z "$ac_c_werror_flag"
27440 || test ! -s conftest.err'
27441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27442 (eval $ac_try) 2>&5
27443 ac_status=$?
27444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27445 (exit $ac_status); }; } &&
27446 { ac_try='test -s conftest$ac_exeext'
27447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27448 (eval $ac_try) 2>&5
27449 ac_status=$?
27450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451 (exit $ac_status); }; }; then
27452 eval "$as_ac_var=yes"
27453 else
27454 echo "$as_me: failed program was:" >&5
27455 sed 's/^/| /' conftest.$ac_ext >&5
27456
27457 eval "$as_ac_var=no"
27458 fi
27459 rm -f conftest.err conftest.$ac_objext \
27460 conftest$ac_exeext conftest.$ac_ext
27461 fi
27462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27464 if test `eval echo '${'$as_ac_var'}'` = yes; then
27465 cat >>confdefs.h <<_ACEOF
27466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27467 _ACEOF
27468 have_sin=1
27469 fi
27470 done
27471
27472
27473 for ac_func in ceil
27474 do
27475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27476 echo "$as_me:$LINENO: checking for $ac_func" >&5
27477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27478 if eval "test \"\${$as_ac_var+set}\" = set"; then
27479 echo $ECHO_N "(cached) $ECHO_C" >&6
27480 else
27481 cat >conftest.$ac_ext <<_ACEOF
27482 /* confdefs.h. */
27483 _ACEOF
27484 cat confdefs.h >>conftest.$ac_ext
27485 cat >>conftest.$ac_ext <<_ACEOF
27486 /* end confdefs.h. */
27487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27489 #define $ac_func innocuous_$ac_func
27490
27491 /* System header to define __stub macros and hopefully few prototypes,
27492 which can conflict with char $ac_func (); below.
27493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27494 <limits.h> exists even on freestanding compilers. */
27495
27496 #ifdef __STDC__
27497 # include <limits.h>
27498 #else
27499 # include <assert.h>
27500 #endif
27501
27502 #undef $ac_func
27503
27504 /* Override any gcc2 internal prototype to avoid an error. */
27505 #ifdef __cplusplus
27506 extern "C"
27507 {
27508 #endif
27509 /* We use char because int might match the return type of a gcc2
27510 builtin and then its argument prototype would still apply. */
27511 char $ac_func ();
27512 /* The GNU C library defines this for functions which it implements
27513 to always fail with ENOSYS. Some functions are actually named
27514 something starting with __ and the normal name is an alias. */
27515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27516 choke me
27517 #else
27518 char (*f) () = $ac_func;
27519 #endif
27520 #ifdef __cplusplus
27521 }
27522 #endif
27523
27524 int
27525 main ()
27526 {
27527 return f != $ac_func;
27528 ;
27529 return 0;
27530 }
27531 _ACEOF
27532 rm -f conftest.$ac_objext conftest$ac_exeext
27533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27534 (eval $ac_link) 2>conftest.er1
27535 ac_status=$?
27536 grep -v '^ *+' conftest.er1 >conftest.err
27537 rm -f conftest.er1
27538 cat conftest.err >&5
27539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27540 (exit $ac_status); } &&
27541 { ac_try='test -z "$ac_c_werror_flag"
27542 || test ! -s conftest.err'
27543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27544 (eval $ac_try) 2>&5
27545 ac_status=$?
27546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27547 (exit $ac_status); }; } &&
27548 { ac_try='test -s conftest$ac_exeext'
27549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27550 (eval $ac_try) 2>&5
27551 ac_status=$?
27552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27553 (exit $ac_status); }; }; then
27554 eval "$as_ac_var=yes"
27555 else
27556 echo "$as_me: failed program was:" >&5
27557 sed 's/^/| /' conftest.$ac_ext >&5
27558
27559 eval "$as_ac_var=no"
27560 fi
27561 rm -f conftest.err conftest.$ac_objext \
27562 conftest$ac_exeext conftest.$ac_ext
27563 fi
27564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27566 if test `eval echo '${'$as_ac_var'}'` = yes; then
27567 cat >>confdefs.h <<_ACEOF
27568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27569 _ACEOF
27570 have_ceil=1
27571 fi
27572 done
27573
27574 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27575 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
27576 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27577 echo "$as_me:$LINENO: result: yes" >&5
27578 echo "${ECHO_T}yes" >&6
27579 else
27580 echo "$as_me:$LINENO: result: no" >&5
27581 echo "${ECHO_T}no" >&6
27582 # not sure we should warn the user, crash, etc.
27583 fi
27584 fi
27585
27586 ac_ext=cc
27587 ac_cpp='$CXXCPP $CPPFLAGS'
27588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27591
27592 if test "wxUSE_UNICODE" = "yes"; then
27593
27594 for wx_func in wcstoull
27595 do
27596 echo "$as_me:$LINENO: checking for $wx_func" >&5
27597 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
27598 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
27599 echo $ECHO_N "(cached) $ECHO_C" >&6
27600 else
27601
27602 cat >conftest.$ac_ext <<_ACEOF
27603
27604 /* confdefs.h. */
27605 _ACEOF
27606 cat confdefs.h >>conftest.$ac_ext
27607 cat >>conftest.$ac_ext <<_ACEOF
27608 /* end confdefs.h. */
27609
27610
27611 $ac_includes_default
27612
27613 int
27614 main ()
27615 {
27616
27617 #ifndef $wx_func
27618 &$wx_func;
27619 #endif
27620
27621
27622 ;
27623 return 0;
27624 }
27625
27626 _ACEOF
27627 rm -f conftest.$ac_objext conftest$ac_exeext
27628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27629 (eval $ac_link) 2>conftest.er1
27630 ac_status=$?
27631 grep -v '^ *+' conftest.er1 >conftest.err
27632 rm -f conftest.er1
27633 cat conftest.err >&5
27634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27635 (exit $ac_status); } &&
27636 { ac_try='test -z "$ac_cxx_werror_flag"
27637 || test ! -s conftest.err'
27638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27639 (eval $ac_try) 2>&5
27640 ac_status=$?
27641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27642 (exit $ac_status); }; } &&
27643 { ac_try='test -s conftest$ac_exeext'
27644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27645 (eval $ac_try) 2>&5
27646 ac_status=$?
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); }; }; then
27649 eval wx_cv_func_$wx_func=yes
27650 else
27651 echo "$as_me: failed program was:" >&5
27652 sed 's/^/| /' conftest.$ac_ext >&5
27653
27654 eval wx_cv_func_$wx_func=no
27655 fi
27656 rm -f conftest.err conftest.$ac_objext \
27657 conftest$ac_exeext conftest.$ac_ext
27658
27659 fi
27660 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
27661 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
27662
27663 if eval test \$wx_cv_func_$wx_func = yes
27664 then
27665 cat >>confdefs.h <<_ACEOF
27666 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27667 _ACEOF
27668
27669
27670 else
27671 :
27672
27673 fi
27674 done
27675
27676 else
27677
27678 for wx_func in strtoull
27679 do
27680 echo "$as_me:$LINENO: checking for $wx_func" >&5
27681 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
27682 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
27683 echo $ECHO_N "(cached) $ECHO_C" >&6
27684 else
27685
27686 cat >conftest.$ac_ext <<_ACEOF
27687
27688 /* confdefs.h. */
27689 _ACEOF
27690 cat confdefs.h >>conftest.$ac_ext
27691 cat >>conftest.$ac_ext <<_ACEOF
27692 /* end confdefs.h. */
27693
27694
27695 $ac_includes_default
27696
27697 int
27698 main ()
27699 {
27700
27701 #ifndef $wx_func
27702 &$wx_func;
27703 #endif
27704
27705
27706 ;
27707 return 0;
27708 }
27709
27710 _ACEOF
27711 rm -f conftest.$ac_objext conftest$ac_exeext
27712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27713 (eval $ac_link) 2>conftest.er1
27714 ac_status=$?
27715 grep -v '^ *+' conftest.er1 >conftest.err
27716 rm -f conftest.er1
27717 cat conftest.err >&5
27718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27719 (exit $ac_status); } &&
27720 { ac_try='test -z "$ac_cxx_werror_flag"
27721 || test ! -s conftest.err'
27722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27723 (eval $ac_try) 2>&5
27724 ac_status=$?
27725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27726 (exit $ac_status); }; } &&
27727 { ac_try='test -s conftest$ac_exeext'
27728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27729 (eval $ac_try) 2>&5
27730 ac_status=$?
27731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732 (exit $ac_status); }; }; then
27733 eval wx_cv_func_$wx_func=yes
27734 else
27735 echo "$as_me: failed program was:" >&5
27736 sed 's/^/| /' conftest.$ac_ext >&5
27737
27738 eval wx_cv_func_$wx_func=no
27739 fi
27740 rm -f conftest.err conftest.$ac_objext \
27741 conftest$ac_exeext conftest.$ac_ext
27742
27743 fi
27744 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
27745 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
27746
27747 if eval test \$wx_cv_func_$wx_func = yes
27748 then
27749 cat >>confdefs.h <<_ACEOF
27750 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
27751 _ACEOF
27752
27753
27754 else
27755 :
27756
27757 fi
27758 done
27759
27760 fi
27761 ac_ext=c
27762 ac_cpp='$CPP $CPPFLAGS'
27763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27766
27767
27768
27769
27770 if test "$wxUSE_REGEX" != "no"; then
27771 cat >>confdefs.h <<\_ACEOF
27772 #define wxUSE_REGEX 1
27773 _ACEOF
27774
27775
27776 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27777 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
27778 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
27779 wxUSE_REGEX=builtin
27780 fi
27781
27782 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27783 echo "$as_me:$LINENO: checking for regex.h" >&5
27784 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
27785 if test "${ac_cv_header_regex_h+set}" = set; then
27786 echo $ECHO_N "(cached) $ECHO_C" >&6
27787 else
27788 cat >conftest.$ac_ext <<_ACEOF
27789 /* confdefs.h. */
27790 _ACEOF
27791 cat confdefs.h >>conftest.$ac_ext
27792 cat >>conftest.$ac_ext <<_ACEOF
27793 /* end confdefs.h. */
27794
27795
27796 #include <regex.h>
27797 _ACEOF
27798 rm -f conftest.$ac_objext
27799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27800 (eval $ac_compile) 2>conftest.er1
27801 ac_status=$?
27802 grep -v '^ *+' conftest.er1 >conftest.err
27803 rm -f conftest.er1
27804 cat conftest.err >&5
27805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27806 (exit $ac_status); } &&
27807 { ac_try='test -z "$ac_c_werror_flag"
27808 || test ! -s conftest.err'
27809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27810 (eval $ac_try) 2>&5
27811 ac_status=$?
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); }; } &&
27814 { ac_try='test -s conftest.$ac_objext'
27815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27816 (eval $ac_try) 2>&5
27817 ac_status=$?
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); }; }; then
27820 ac_cv_header_regex_h=yes
27821 else
27822 echo "$as_me: failed program was:" >&5
27823 sed 's/^/| /' conftest.$ac_ext >&5
27824
27825 ac_cv_header_regex_h=no
27826 fi
27827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27828 fi
27829 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27830 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
27831 if test $ac_cv_header_regex_h = yes; then
27832
27833
27834 for ac_func in regcomp re_search
27835 do
27836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27837 echo "$as_me:$LINENO: checking for $ac_func" >&5
27838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27839 if eval "test \"\${$as_ac_var+set}\" = set"; then
27840 echo $ECHO_N "(cached) $ECHO_C" >&6
27841 else
27842 cat >conftest.$ac_ext <<_ACEOF
27843 /* confdefs.h. */
27844 _ACEOF
27845 cat confdefs.h >>conftest.$ac_ext
27846 cat >>conftest.$ac_ext <<_ACEOF
27847 /* end confdefs.h. */
27848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27850 #define $ac_func innocuous_$ac_func
27851
27852 /* System header to define __stub macros and hopefully few prototypes,
27853 which can conflict with char $ac_func (); below.
27854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27855 <limits.h> exists even on freestanding compilers. */
27856
27857 #ifdef __STDC__
27858 # include <limits.h>
27859 #else
27860 # include <assert.h>
27861 #endif
27862
27863 #undef $ac_func
27864
27865 /* Override any gcc2 internal prototype to avoid an error. */
27866 #ifdef __cplusplus
27867 extern "C"
27868 {
27869 #endif
27870 /* We use char because int might match the return type of a gcc2
27871 builtin and then its argument prototype would still apply. */
27872 char $ac_func ();
27873 /* The GNU C library defines this for functions which it implements
27874 to always fail with ENOSYS. Some functions are actually named
27875 something starting with __ and the normal name is an alias. */
27876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27877 choke me
27878 #else
27879 char (*f) () = $ac_func;
27880 #endif
27881 #ifdef __cplusplus
27882 }
27883 #endif
27884
27885 int
27886 main ()
27887 {
27888 return f != $ac_func;
27889 ;
27890 return 0;
27891 }
27892 _ACEOF
27893 rm -f conftest.$ac_objext conftest$ac_exeext
27894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27895 (eval $ac_link) 2>conftest.er1
27896 ac_status=$?
27897 grep -v '^ *+' conftest.er1 >conftest.err
27898 rm -f conftest.er1
27899 cat conftest.err >&5
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); } &&
27902 { ac_try='test -z "$ac_c_werror_flag"
27903 || test ! -s conftest.err'
27904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27905 (eval $ac_try) 2>&5
27906 ac_status=$?
27907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27908 (exit $ac_status); }; } &&
27909 { ac_try='test -s conftest$ac_exeext'
27910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27911 (eval $ac_try) 2>&5
27912 ac_status=$?
27913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27914 (exit $ac_status); }; }; then
27915 eval "$as_ac_var=yes"
27916 else
27917 echo "$as_me: failed program was:" >&5
27918 sed 's/^/| /' conftest.$ac_ext >&5
27919
27920 eval "$as_ac_var=no"
27921 fi
27922 rm -f conftest.err conftest.$ac_objext \
27923 conftest$ac_exeext conftest.$ac_ext
27924 fi
27925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27927 if test `eval echo '${'$as_ac_var'}'` = yes; then
27928 cat >>confdefs.h <<_ACEOF
27929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27930 _ACEOF
27931
27932 fi
27933 done
27934
27935 fi
27936
27937
27938
27939 if test "x$ac_cv_func_regcomp" != "xyes"; then
27940 if test "$wxUSE_REGEX" = "sys" ; then
27941 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
27942 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
27943 { (exit 1); exit 1; }; }
27944 else
27945 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
27946 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
27947 wxUSE_REGEX=builtin
27948 fi
27949 else
27950 wxUSE_REGEX=sys
27951 cat >>confdefs.h <<\_ACEOF
27952 #define WX_NO_REGEX_ADVANCED 1
27953 _ACEOF
27954
27955 fi
27956 fi
27957 fi
27958
27959
27960 ZLIB_LINK=
27961 if test "$wxUSE_ZLIB" != "no" ; then
27962 cat >>confdefs.h <<\_ACEOF
27963 #define wxUSE_ZLIB 1
27964 _ACEOF
27965
27966
27967 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
27968 if test "$USE_DARWIN" = 1; then
27969 system_zlib_h_ok="yes"
27970 else
27971 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
27972 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
27973 if test "${ac_cv_header_zlib_h+set}" = set; then
27974 echo $ECHO_N "(cached) $ECHO_C" >&6
27975 else
27976 if test "$cross_compiling" = yes; then
27977 unset ac_cv_header_zlib_h
27978
27979 else
27980 cat >conftest.$ac_ext <<_ACEOF
27981 /* confdefs.h. */
27982 _ACEOF
27983 cat confdefs.h >>conftest.$ac_ext
27984 cat >>conftest.$ac_ext <<_ACEOF
27985 /* end confdefs.h. */
27986
27987 #include <zlib.h>
27988 #include <stdio.h>
27989
27990 int main()
27991 {
27992 FILE *f=fopen("conftestval", "w");
27993 if (!f) exit(1);
27994 fprintf(f, "%s",
27995 ZLIB_VERSION[0] == '1' &&
27996 (ZLIB_VERSION[2] > '1' ||
27997 (ZLIB_VERSION[2] == '1' &&
27998 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
27999 exit(0);
28000 }
28001
28002 _ACEOF
28003 rm -f conftest$ac_exeext
28004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28005 (eval $ac_link) 2>&5
28006 ac_status=$?
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28010 (eval $ac_try) 2>&5
28011 ac_status=$?
28012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28013 (exit $ac_status); }; }; then
28014 ac_cv_header_zlib_h=`cat conftestval`
28015 else
28016 echo "$as_me: program exited with status $ac_status" >&5
28017 echo "$as_me: failed program was:" >&5
28018 sed 's/^/| /' conftest.$ac_ext >&5
28019
28020 ( exit $ac_status )
28021 ac_cv_header_zlib_h=no
28022 fi
28023 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28024 fi
28025
28026 fi
28027 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28028 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
28029 echo "$as_me:$LINENO: checking for zlib.h" >&5
28030 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
28031 if test "${ac_cv_header_zlib_h+set}" = set; then
28032 echo $ECHO_N "(cached) $ECHO_C" >&6
28033 else
28034 cat >conftest.$ac_ext <<_ACEOF
28035 /* confdefs.h. */
28036 _ACEOF
28037 cat confdefs.h >>conftest.$ac_ext
28038 cat >>conftest.$ac_ext <<_ACEOF
28039 /* end confdefs.h. */
28040
28041
28042 #include <zlib.h>
28043 _ACEOF
28044 rm -f conftest.$ac_objext
28045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28046 (eval $ac_compile) 2>conftest.er1
28047 ac_status=$?
28048 grep -v '^ *+' conftest.er1 >conftest.err
28049 rm -f conftest.er1
28050 cat conftest.err >&5
28051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052 (exit $ac_status); } &&
28053 { ac_try='test -z "$ac_c_werror_flag"
28054 || test ! -s conftest.err'
28055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28056 (eval $ac_try) 2>&5
28057 ac_status=$?
28058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28059 (exit $ac_status); }; } &&
28060 { ac_try='test -s conftest.$ac_objext'
28061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28062 (eval $ac_try) 2>&5
28063 ac_status=$?
28064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28065 (exit $ac_status); }; }; then
28066 ac_cv_header_zlib_h=yes
28067 else
28068 echo "$as_me: failed program was:" >&5
28069 sed 's/^/| /' conftest.$ac_ext >&5
28070
28071 ac_cv_header_zlib_h=no
28072 fi
28073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28074 fi
28075 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28076 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
28077
28078
28079
28080 system_zlib_h_ok=$ac_cv_header_zlib_h
28081 fi
28082
28083 if test "$system_zlib_h_ok" = "yes"; then
28084 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28085 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
28086 if test "${ac_cv_lib_z_deflate+set}" = set; then
28087 echo $ECHO_N "(cached) $ECHO_C" >&6
28088 else
28089 ac_check_lib_save_LIBS=$LIBS
28090 LIBS="-lz $LIBS"
28091 cat >conftest.$ac_ext <<_ACEOF
28092 /* confdefs.h. */
28093 _ACEOF
28094 cat confdefs.h >>conftest.$ac_ext
28095 cat >>conftest.$ac_ext <<_ACEOF
28096 /* end confdefs.h. */
28097
28098 /* Override any gcc2 internal prototype to avoid an error. */
28099 #ifdef __cplusplus
28100 extern "C"
28101 #endif
28102 /* We use char because int might match the return type of a gcc2
28103 builtin and then its argument prototype would still apply. */
28104 char deflate ();
28105 int
28106 main ()
28107 {
28108 deflate ();
28109 ;
28110 return 0;
28111 }
28112 _ACEOF
28113 rm -f conftest.$ac_objext conftest$ac_exeext
28114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28115 (eval $ac_link) 2>conftest.er1
28116 ac_status=$?
28117 grep -v '^ *+' conftest.er1 >conftest.err
28118 rm -f conftest.er1
28119 cat conftest.err >&5
28120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28121 (exit $ac_status); } &&
28122 { ac_try='test -z "$ac_c_werror_flag"
28123 || test ! -s conftest.err'
28124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28125 (eval $ac_try) 2>&5
28126 ac_status=$?
28127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28128 (exit $ac_status); }; } &&
28129 { ac_try='test -s conftest$ac_exeext'
28130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28131 (eval $ac_try) 2>&5
28132 ac_status=$?
28133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28134 (exit $ac_status); }; }; then
28135 ac_cv_lib_z_deflate=yes
28136 else
28137 echo "$as_me: failed program was:" >&5
28138 sed 's/^/| /' conftest.$ac_ext >&5
28139
28140 ac_cv_lib_z_deflate=no
28141 fi
28142 rm -f conftest.err conftest.$ac_objext \
28143 conftest$ac_exeext conftest.$ac_ext
28144 LIBS=$ac_check_lib_save_LIBS
28145 fi
28146 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28147 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
28148 if test $ac_cv_lib_z_deflate = yes; then
28149 ZLIB_LINK=" -lz"
28150 fi
28151
28152 fi
28153
28154 if test "x$ZLIB_LINK" = "x" ; then
28155 if test "$wxUSE_ZLIB" = "sys" ; then
28156 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28157 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28158 { (exit 1); exit 1; }; }
28159 else
28160 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28161 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28162 wxUSE_ZLIB=builtin
28163 fi
28164 else
28165 wxUSE_ZLIB=sys
28166 fi
28167 fi
28168 fi
28169
28170
28171 PNG_LINK=
28172 if test "$wxUSE_LIBPNG" != "no" ; then
28173 cat >>confdefs.h <<\_ACEOF
28174 #define wxUSE_LIBPNG 1
28175 _ACEOF
28176
28177
28178 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28179 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28180 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28181 wxUSE_LIBPNG=sys
28182 fi
28183
28184 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28185 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28186 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28187 wxUSE_LIBPNG=builtin
28188 fi
28189
28190 if test "$wxUSE_MGL" != 1 ; then
28191 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28192 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28193 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
28194 if test "${ac_cv_header_png_h+set}" = set; then
28195 echo $ECHO_N "(cached) $ECHO_C" >&6
28196 else
28197 if test "$cross_compiling" = yes; then
28198 unset ac_cv_header_png_h
28199
28200 else
28201 cat >conftest.$ac_ext <<_ACEOF
28202 /* confdefs.h. */
28203 _ACEOF
28204 cat confdefs.h >>conftest.$ac_ext
28205 cat >>conftest.$ac_ext <<_ACEOF
28206 /* end confdefs.h. */
28207
28208 #include <png.h>
28209 #include <stdio.h>
28210
28211 int main()
28212 {
28213 FILE *f=fopen("conftestval", "w");
28214 if (!f) exit(1);
28215 fprintf(f, "%s",
28216 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28217 exit(0);
28218 }
28219
28220 _ACEOF
28221 rm -f conftest$ac_exeext
28222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28223 (eval $ac_link) 2>&5
28224 ac_status=$?
28225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28226 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28228 (eval $ac_try) 2>&5
28229 ac_status=$?
28230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231 (exit $ac_status); }; }; then
28232 ac_cv_header_png_h=`cat conftestval`
28233 else
28234 echo "$as_me: program exited with status $ac_status" >&5
28235 echo "$as_me: failed program was:" >&5
28236 sed 's/^/| /' conftest.$ac_ext >&5
28237
28238 ( exit $ac_status )
28239 ac_cv_header_png_h=no
28240 fi
28241 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28242 fi
28243
28244 fi
28245 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28246 echo "${ECHO_T}$ac_cv_header_png_h" >&6
28247 echo "$as_me:$LINENO: checking for png.h" >&5
28248 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
28249 if test "${ac_cv_header_png_h+set}" = set; then
28250 echo $ECHO_N "(cached) $ECHO_C" >&6
28251 else
28252 cat >conftest.$ac_ext <<_ACEOF
28253 /* confdefs.h. */
28254 _ACEOF
28255 cat confdefs.h >>conftest.$ac_ext
28256 cat >>conftest.$ac_ext <<_ACEOF
28257 /* end confdefs.h. */
28258
28259
28260 #include <png.h>
28261 _ACEOF
28262 rm -f conftest.$ac_objext
28263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28264 (eval $ac_compile) 2>conftest.er1
28265 ac_status=$?
28266 grep -v '^ *+' conftest.er1 >conftest.err
28267 rm -f conftest.er1
28268 cat conftest.err >&5
28269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28270 (exit $ac_status); } &&
28271 { ac_try='test -z "$ac_c_werror_flag"
28272 || test ! -s conftest.err'
28273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28274 (eval $ac_try) 2>&5
28275 ac_status=$?
28276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28277 (exit $ac_status); }; } &&
28278 { ac_try='test -s conftest.$ac_objext'
28279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28280 (eval $ac_try) 2>&5
28281 ac_status=$?
28282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28283 (exit $ac_status); }; }; then
28284 ac_cv_header_png_h=yes
28285 else
28286 echo "$as_me: failed program was:" >&5
28287 sed 's/^/| /' conftest.$ac_ext >&5
28288
28289 ac_cv_header_png_h=no
28290 fi
28291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28292 fi
28293 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28294 echo "${ECHO_T}$ac_cv_header_png_h" >&6
28295
28296
28297
28298 if test "$ac_cv_header_png_h" = "yes"; then
28299 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28300 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
28301 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28302 echo $ECHO_N "(cached) $ECHO_C" >&6
28303 else
28304 ac_check_lib_save_LIBS=$LIBS
28305 LIBS="-lpng -lz -lm $LIBS"
28306 cat >conftest.$ac_ext <<_ACEOF
28307 /* confdefs.h. */
28308 _ACEOF
28309 cat confdefs.h >>conftest.$ac_ext
28310 cat >>conftest.$ac_ext <<_ACEOF
28311 /* end confdefs.h. */
28312
28313 /* Override any gcc2 internal prototype to avoid an error. */
28314 #ifdef __cplusplus
28315 extern "C"
28316 #endif
28317 /* We use char because int might match the return type of a gcc2
28318 builtin and then its argument prototype would still apply. */
28319 char png_check_sig ();
28320 int
28321 main ()
28322 {
28323 png_check_sig ();
28324 ;
28325 return 0;
28326 }
28327 _ACEOF
28328 rm -f conftest.$ac_objext conftest$ac_exeext
28329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28330 (eval $ac_link) 2>conftest.er1
28331 ac_status=$?
28332 grep -v '^ *+' conftest.er1 >conftest.err
28333 rm -f conftest.er1
28334 cat conftest.err >&5
28335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28336 (exit $ac_status); } &&
28337 { ac_try='test -z "$ac_c_werror_flag"
28338 || test ! -s conftest.err'
28339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28340 (eval $ac_try) 2>&5
28341 ac_status=$?
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); }; } &&
28344 { ac_try='test -s conftest$ac_exeext'
28345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28346 (eval $ac_try) 2>&5
28347 ac_status=$?
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); }; }; then
28350 ac_cv_lib_png_png_check_sig=yes
28351 else
28352 echo "$as_me: failed program was:" >&5
28353 sed 's/^/| /' conftest.$ac_ext >&5
28354
28355 ac_cv_lib_png_png_check_sig=no
28356 fi
28357 rm -f conftest.err conftest.$ac_objext \
28358 conftest$ac_exeext conftest.$ac_ext
28359 LIBS=$ac_check_lib_save_LIBS
28360 fi
28361 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28362 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
28363 if test $ac_cv_lib_png_png_check_sig = yes; then
28364 PNG_LINK=" -lpng -lz"
28365 fi
28366
28367 fi
28368
28369 if test "x$PNG_LINK" = "x" ; then
28370 if test "$wxUSE_LIBPNG" = "sys" ; then
28371 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28372 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28373 { (exit 1); exit 1; }; }
28374 else
28375 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28376 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28377 wxUSE_LIBPNG=builtin
28378 fi
28379 else
28380 wxUSE_LIBPNG=sys
28381 fi
28382 fi
28383 fi
28384 fi
28385
28386
28387 JPEG_LINK=
28388 if test "$wxUSE_LIBJPEG" != "no" ; then
28389 cat >>confdefs.h <<\_ACEOF
28390 #define wxUSE_LIBJPEG 1
28391 _ACEOF
28392
28393
28394 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28395 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28396 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28397 wxUSE_LIBJPEG=sys
28398 fi
28399
28400 if test "$wxUSE_MGL" != 1 ; then
28401 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28402 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28403 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
28404 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28405 echo $ECHO_N "(cached) $ECHO_C" >&6
28406 else
28407 cat >conftest.$ac_ext <<_ACEOF
28408 /* confdefs.h. */
28409 _ACEOF
28410 cat confdefs.h >>conftest.$ac_ext
28411 cat >>conftest.$ac_ext <<_ACEOF
28412 /* end confdefs.h. */
28413
28414 #undef HAVE_STDLIB_H
28415 #include <stdio.h>
28416 #include <jpeglib.h>
28417
28418 int
28419 main ()
28420 {
28421
28422
28423 ;
28424 return 0;
28425 }
28426 _ACEOF
28427 rm -f conftest.$ac_objext
28428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28429 (eval $ac_compile) 2>conftest.er1
28430 ac_status=$?
28431 grep -v '^ *+' conftest.er1 >conftest.err
28432 rm -f conftest.er1
28433 cat conftest.err >&5
28434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28435 (exit $ac_status); } &&
28436 { ac_try='test -z "$ac_c_werror_flag"
28437 || test ! -s conftest.err'
28438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28439 (eval $ac_try) 2>&5
28440 ac_status=$?
28441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28442 (exit $ac_status); }; } &&
28443 { ac_try='test -s conftest.$ac_objext'
28444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28445 (eval $ac_try) 2>&5
28446 ac_status=$?
28447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28448 (exit $ac_status); }; }; then
28449 ac_cv_header_jpeglib_h=yes
28450 else
28451 echo "$as_me: failed program was:" >&5
28452 sed 's/^/| /' conftest.$ac_ext >&5
28453
28454 ac_cv_header_jpeglib_h=no
28455
28456 fi
28457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28458
28459 fi
28460
28461 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28462 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
28463
28464 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28465 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28466 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
28467 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28468 echo $ECHO_N "(cached) $ECHO_C" >&6
28469 else
28470 ac_check_lib_save_LIBS=$LIBS
28471 LIBS="-ljpeg $LIBS"
28472 cat >conftest.$ac_ext <<_ACEOF
28473 /* confdefs.h. */
28474 _ACEOF
28475 cat confdefs.h >>conftest.$ac_ext
28476 cat >>conftest.$ac_ext <<_ACEOF
28477 /* end confdefs.h. */
28478
28479 /* Override any gcc2 internal prototype to avoid an error. */
28480 #ifdef __cplusplus
28481 extern "C"
28482 #endif
28483 /* We use char because int might match the return type of a gcc2
28484 builtin and then its argument prototype would still apply. */
28485 char jpeg_read_header ();
28486 int
28487 main ()
28488 {
28489 jpeg_read_header ();
28490 ;
28491 return 0;
28492 }
28493 _ACEOF
28494 rm -f conftest.$ac_objext conftest$ac_exeext
28495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28496 (eval $ac_link) 2>conftest.er1
28497 ac_status=$?
28498 grep -v '^ *+' conftest.er1 >conftest.err
28499 rm -f conftest.er1
28500 cat conftest.err >&5
28501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28502 (exit $ac_status); } &&
28503 { ac_try='test -z "$ac_c_werror_flag"
28504 || test ! -s conftest.err'
28505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28506 (eval $ac_try) 2>&5
28507 ac_status=$?
28508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28509 (exit $ac_status); }; } &&
28510 { ac_try='test -s conftest$ac_exeext'
28511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28512 (eval $ac_try) 2>&5
28513 ac_status=$?
28514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28515 (exit $ac_status); }; }; then
28516 ac_cv_lib_jpeg_jpeg_read_header=yes
28517 else
28518 echo "$as_me: failed program was:" >&5
28519 sed 's/^/| /' conftest.$ac_ext >&5
28520
28521 ac_cv_lib_jpeg_jpeg_read_header=no
28522 fi
28523 rm -f conftest.err conftest.$ac_objext \
28524 conftest$ac_exeext conftest.$ac_ext
28525 LIBS=$ac_check_lib_save_LIBS
28526 fi
28527 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28528 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
28529 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28530 JPEG_LINK=" -ljpeg"
28531 fi
28532
28533 fi
28534
28535 if test "x$JPEG_LINK" = "x" ; then
28536 if test "$wxUSE_LIBJPEG" = "sys" ; then
28537 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28538 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28539 { (exit 1); exit 1; }; }
28540 else
28541 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28542 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28543 wxUSE_LIBJPEG=builtin
28544 fi
28545 else
28546 wxUSE_LIBJPEG=sys
28547
28548 if test "$wxUSE_MSW" = 1; then
28549 echo "$as_me:$LINENO: checking for boolean" >&5
28550 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
28551 if test "${ac_cv_type_boolean+set}" = set; then
28552 echo $ECHO_N "(cached) $ECHO_C" >&6
28553 else
28554 cat >conftest.$ac_ext <<_ACEOF
28555 /* confdefs.h. */
28556 _ACEOF
28557 cat confdefs.h >>conftest.$ac_ext
28558 cat >>conftest.$ac_ext <<_ACEOF
28559 /* end confdefs.h. */
28560 #include <windows.h>
28561
28562 int
28563 main ()
28564 {
28565 if ((boolean *) 0)
28566 return 0;
28567 if (sizeof (boolean))
28568 return 0;
28569 ;
28570 return 0;
28571 }
28572 _ACEOF
28573 rm -f conftest.$ac_objext
28574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28575 (eval $ac_compile) 2>conftest.er1
28576 ac_status=$?
28577 grep -v '^ *+' conftest.er1 >conftest.err
28578 rm -f conftest.er1
28579 cat conftest.err >&5
28580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581 (exit $ac_status); } &&
28582 { ac_try='test -z "$ac_c_werror_flag"
28583 || test ! -s conftest.err'
28584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28585 (eval $ac_try) 2>&5
28586 ac_status=$?
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); }; } &&
28589 { ac_try='test -s conftest.$ac_objext'
28590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28591 (eval $ac_try) 2>&5
28592 ac_status=$?
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); }; }; then
28595 ac_cv_type_boolean=yes
28596 else
28597 echo "$as_me: failed program was:" >&5
28598 sed 's/^/| /' conftest.$ac_ext >&5
28599
28600 ac_cv_type_boolean=no
28601 fi
28602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28603 fi
28604 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28605 echo "${ECHO_T}$ac_cv_type_boolean" >&6
28606 if test $ac_cv_type_boolean = yes; then
28607
28608 cat >>confdefs.h <<_ACEOF
28609 #define HAVE_BOOLEAN 1
28610 _ACEOF
28611
28612
28613 echo "$as_me:$LINENO: checking for boolean" >&5
28614 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
28615 if test "${ac_cv_type_boolean+set}" = set; then
28616 echo $ECHO_N "(cached) $ECHO_C" >&6
28617 else
28618 cat >conftest.$ac_ext <<_ACEOF
28619 /* confdefs.h. */
28620 _ACEOF
28621 cat confdefs.h >>conftest.$ac_ext
28622 cat >>conftest.$ac_ext <<_ACEOF
28623 /* end confdefs.h. */
28624
28625 #undef HAVE_BOOLEAN
28626 #include <stdio.h>
28627 #include <jpeglib.h>
28628
28629
28630 int
28631 main ()
28632 {
28633 if ((boolean *) 0)
28634 return 0;
28635 if (sizeof (boolean))
28636 return 0;
28637 ;
28638 return 0;
28639 }
28640 _ACEOF
28641 rm -f conftest.$ac_objext
28642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28643 (eval $ac_compile) 2>conftest.er1
28644 ac_status=$?
28645 grep -v '^ *+' conftest.er1 >conftest.err
28646 rm -f conftest.er1
28647 cat conftest.err >&5
28648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28649 (exit $ac_status); } &&
28650 { ac_try='test -z "$ac_c_werror_flag"
28651 || test ! -s conftest.err'
28652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28653 (eval $ac_try) 2>&5
28654 ac_status=$?
28655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28656 (exit $ac_status); }; } &&
28657 { ac_try='test -s conftest.$ac_objext'
28658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28659 (eval $ac_try) 2>&5
28660 ac_status=$?
28661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28662 (exit $ac_status); }; }; then
28663 ac_cv_type_boolean=yes
28664 else
28665 echo "$as_me: failed program was:" >&5
28666 sed 's/^/| /' conftest.$ac_ext >&5
28667
28668 ac_cv_type_boolean=no
28669 fi
28670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28671 fi
28672 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28673 echo "${ECHO_T}$ac_cv_type_boolean" >&6
28674
28675 echo "$as_me:$LINENO: checking size of boolean" >&5
28676 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6
28677 if test "${ac_cv_sizeof_boolean+set}" = set; then
28678 echo $ECHO_N "(cached) $ECHO_C" >&6
28679 else
28680 if test "$ac_cv_type_boolean" = yes; then
28681 # The cast to unsigned long works around a bug in the HP C Compiler
28682 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28683 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28684 # This bug is HP SR number 8606223364.
28685 if test "$cross_compiling" = yes; then
28686 # Depending upon the size, compute the lo and hi bounds.
28687 cat >conftest.$ac_ext <<_ACEOF
28688 /* confdefs.h. */
28689 _ACEOF
28690 cat confdefs.h >>conftest.$ac_ext
28691 cat >>conftest.$ac_ext <<_ACEOF
28692 /* end confdefs.h. */
28693
28694 #undef HAVE_BOOLEAN
28695 #include <stdio.h>
28696 #include <jpeglib.h>
28697
28698
28699 int
28700 main ()
28701 {
28702 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= 0)];
28703 test_array [0] = 0
28704
28705 ;
28706 return 0;
28707 }
28708 _ACEOF
28709 rm -f conftest.$ac_objext
28710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28711 (eval $ac_compile) 2>conftest.er1
28712 ac_status=$?
28713 grep -v '^ *+' conftest.er1 >conftest.err
28714 rm -f conftest.er1
28715 cat conftest.err >&5
28716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28717 (exit $ac_status); } &&
28718 { ac_try='test -z "$ac_c_werror_flag"
28719 || test ! -s conftest.err'
28720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28721 (eval $ac_try) 2>&5
28722 ac_status=$?
28723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28724 (exit $ac_status); }; } &&
28725 { ac_try='test -s conftest.$ac_objext'
28726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28727 (eval $ac_try) 2>&5
28728 ac_status=$?
28729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730 (exit $ac_status); }; }; then
28731 ac_lo=0 ac_mid=0
28732 while :; do
28733 cat >conftest.$ac_ext <<_ACEOF
28734 /* confdefs.h. */
28735 _ACEOF
28736 cat confdefs.h >>conftest.$ac_ext
28737 cat >>conftest.$ac_ext <<_ACEOF
28738 /* end confdefs.h. */
28739
28740 #undef HAVE_BOOLEAN
28741 #include <stdio.h>
28742 #include <jpeglib.h>
28743
28744
28745 int
28746 main ()
28747 {
28748 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
28749 test_array [0] = 0
28750
28751 ;
28752 return 0;
28753 }
28754 _ACEOF
28755 rm -f conftest.$ac_objext
28756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28757 (eval $ac_compile) 2>conftest.er1
28758 ac_status=$?
28759 grep -v '^ *+' conftest.er1 >conftest.err
28760 rm -f conftest.er1
28761 cat conftest.err >&5
28762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28763 (exit $ac_status); } &&
28764 { ac_try='test -z "$ac_c_werror_flag"
28765 || test ! -s conftest.err'
28766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28767 (eval $ac_try) 2>&5
28768 ac_status=$?
28769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28770 (exit $ac_status); }; } &&
28771 { ac_try='test -s conftest.$ac_objext'
28772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28773 (eval $ac_try) 2>&5
28774 ac_status=$?
28775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28776 (exit $ac_status); }; }; then
28777 ac_hi=$ac_mid; break
28778 else
28779 echo "$as_me: failed program was:" >&5
28780 sed 's/^/| /' conftest.$ac_ext >&5
28781
28782 ac_lo=`expr $ac_mid + 1`
28783 if test $ac_lo -le $ac_mid; then
28784 ac_lo= ac_hi=
28785 break
28786 fi
28787 ac_mid=`expr 2 '*' $ac_mid + 1`
28788 fi
28789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28790 done
28791 else
28792 echo "$as_me: failed program was:" >&5
28793 sed 's/^/| /' conftest.$ac_ext >&5
28794
28795 cat >conftest.$ac_ext <<_ACEOF
28796 /* confdefs.h. */
28797 _ACEOF
28798 cat confdefs.h >>conftest.$ac_ext
28799 cat >>conftest.$ac_ext <<_ACEOF
28800 /* end confdefs.h. */
28801
28802 #undef HAVE_BOOLEAN
28803 #include <stdio.h>
28804 #include <jpeglib.h>
28805
28806
28807 int
28808 main ()
28809 {
28810 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) < 0)];
28811 test_array [0] = 0
28812
28813 ;
28814 return 0;
28815 }
28816 _ACEOF
28817 rm -f conftest.$ac_objext
28818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28819 (eval $ac_compile) 2>conftest.er1
28820 ac_status=$?
28821 grep -v '^ *+' conftest.er1 >conftest.err
28822 rm -f conftest.er1
28823 cat conftest.err >&5
28824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28825 (exit $ac_status); } &&
28826 { ac_try='test -z "$ac_c_werror_flag"
28827 || test ! -s conftest.err'
28828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28829 (eval $ac_try) 2>&5
28830 ac_status=$?
28831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 (exit $ac_status); }; } &&
28833 { ac_try='test -s conftest.$ac_objext'
28834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28835 (eval $ac_try) 2>&5
28836 ac_status=$?
28837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28838 (exit $ac_status); }; }; then
28839 ac_hi=-1 ac_mid=-1
28840 while :; do
28841 cat >conftest.$ac_ext <<_ACEOF
28842 /* confdefs.h. */
28843 _ACEOF
28844 cat confdefs.h >>conftest.$ac_ext
28845 cat >>conftest.$ac_ext <<_ACEOF
28846 /* end confdefs.h. */
28847
28848 #undef HAVE_BOOLEAN
28849 #include <stdio.h>
28850 #include <jpeglib.h>
28851
28852
28853 int
28854 main ()
28855 {
28856 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) >= $ac_mid)];
28857 test_array [0] = 0
28858
28859 ;
28860 return 0;
28861 }
28862 _ACEOF
28863 rm -f conftest.$ac_objext
28864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28865 (eval $ac_compile) 2>conftest.er1
28866 ac_status=$?
28867 grep -v '^ *+' conftest.er1 >conftest.err
28868 rm -f conftest.er1
28869 cat conftest.err >&5
28870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871 (exit $ac_status); } &&
28872 { ac_try='test -z "$ac_c_werror_flag"
28873 || test ! -s conftest.err'
28874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28875 (eval $ac_try) 2>&5
28876 ac_status=$?
28877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28878 (exit $ac_status); }; } &&
28879 { ac_try='test -s conftest.$ac_objext'
28880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28881 (eval $ac_try) 2>&5
28882 ac_status=$?
28883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28884 (exit $ac_status); }; }; then
28885 ac_lo=$ac_mid; break
28886 else
28887 echo "$as_me: failed program was:" >&5
28888 sed 's/^/| /' conftest.$ac_ext >&5
28889
28890 ac_hi=`expr '(' $ac_mid ')' - 1`
28891 if test $ac_mid -le $ac_hi; then
28892 ac_lo= ac_hi=
28893 break
28894 fi
28895 ac_mid=`expr 2 '*' $ac_mid`
28896 fi
28897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28898 done
28899 else
28900 echo "$as_me: failed program was:" >&5
28901 sed 's/^/| /' conftest.$ac_ext >&5
28902
28903 ac_lo= ac_hi=
28904 fi
28905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28906 fi
28907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28908 # Binary search between lo and hi bounds.
28909 while test "x$ac_lo" != "x$ac_hi"; do
28910 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
28911 cat >conftest.$ac_ext <<_ACEOF
28912 /* confdefs.h. */
28913 _ACEOF
28914 cat confdefs.h >>conftest.$ac_ext
28915 cat >>conftest.$ac_ext <<_ACEOF
28916 /* end confdefs.h. */
28917
28918 #undef HAVE_BOOLEAN
28919 #include <stdio.h>
28920 #include <jpeglib.h>
28921
28922
28923 int
28924 main ()
28925 {
28926 static int test_array [1 - 2 * !(((long) (sizeof (boolean))) <= $ac_mid)];
28927 test_array [0] = 0
28928
28929 ;
28930 return 0;
28931 }
28932 _ACEOF
28933 rm -f conftest.$ac_objext
28934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28935 (eval $ac_compile) 2>conftest.er1
28936 ac_status=$?
28937 grep -v '^ *+' conftest.er1 >conftest.err
28938 rm -f conftest.er1
28939 cat conftest.err >&5
28940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28941 (exit $ac_status); } &&
28942 { ac_try='test -z "$ac_c_werror_flag"
28943 || test ! -s conftest.err'
28944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28945 (eval $ac_try) 2>&5
28946 ac_status=$?
28947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948 (exit $ac_status); }; } &&
28949 { ac_try='test -s conftest.$ac_objext'
28950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28951 (eval $ac_try) 2>&5
28952 ac_status=$?
28953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28954 (exit $ac_status); }; }; then
28955 ac_hi=$ac_mid
28956 else
28957 echo "$as_me: failed program was:" >&5
28958 sed 's/^/| /' conftest.$ac_ext >&5
28959
28960 ac_lo=`expr '(' $ac_mid ')' + 1`
28961 fi
28962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28963 done
28964 case $ac_lo in
28965 ?*) ac_cv_sizeof_boolean=$ac_lo;;
28966 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
28967 See \`config.log' for more details." >&5
28968 echo "$as_me: error: cannot compute sizeof (boolean), 77
28969 See \`config.log' for more details." >&2;}
28970 { (exit 1); exit 1; }; } ;;
28971 esac
28972 else
28973 if test "$cross_compiling" = yes; then
28974 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
28975 See \`config.log' for more details." >&5
28976 echo "$as_me: error: cannot run test program while cross compiling
28977 See \`config.log' for more details." >&2;}
28978 { (exit 1); exit 1; }; }
28979 else
28980 cat >conftest.$ac_ext <<_ACEOF
28981 /* confdefs.h. */
28982 _ACEOF
28983 cat confdefs.h >>conftest.$ac_ext
28984 cat >>conftest.$ac_ext <<_ACEOF
28985 /* end confdefs.h. */
28986
28987 #undef HAVE_BOOLEAN
28988 #include <stdio.h>
28989 #include <jpeglib.h>
28990
28991
28992 long longval () { return (long) (sizeof (boolean)); }
28993 unsigned long ulongval () { return (long) (sizeof (boolean)); }
28994 #include <stdio.h>
28995 #include <stdlib.h>
28996 int
28997 main ()
28998 {
28999
29000 FILE *f = fopen ("conftest.val", "w");
29001 if (! f)
29002 exit (1);
29003 if (((long) (sizeof (boolean))) < 0)
29004 {
29005 long i = longval ();
29006 if (i != ((long) (sizeof (boolean))))
29007 exit (1);
29008 fprintf (f, "%ld\n", i);
29009 }
29010 else
29011 {
29012 unsigned long i = ulongval ();
29013 if (i != ((long) (sizeof (boolean))))
29014 exit (1);
29015 fprintf (f, "%lu\n", i);
29016 }
29017 exit (ferror (f) || fclose (f) != 0);
29018
29019 ;
29020 return 0;
29021 }
29022 _ACEOF
29023 rm -f conftest$ac_exeext
29024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29025 (eval $ac_link) 2>&5
29026 ac_status=$?
29027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29028 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29030 (eval $ac_try) 2>&5
29031 ac_status=$?
29032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29033 (exit $ac_status); }; }; then
29034 ac_cv_sizeof_boolean=`cat conftest.val`
29035 else
29036 echo "$as_me: program exited with status $ac_status" >&5
29037 echo "$as_me: failed program was:" >&5
29038 sed 's/^/| /' conftest.$ac_ext >&5
29039
29040 ( exit $ac_status )
29041 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean), 77
29042 See \`config.log' for more details." >&5
29043 echo "$as_me: error: cannot compute sizeof (boolean), 77
29044 See \`config.log' for more details." >&2;}
29045 { (exit 1); exit 1; }; }
29046 fi
29047 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29048 fi
29049 fi
29050 rm -f conftest.val
29051 else
29052 ac_cv_sizeof_boolean=0
29053 fi
29054 fi
29055 echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29056 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6
29057 cat >>confdefs.h <<_ACEOF
29058 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29059 _ACEOF
29060
29061
29062 cat >>confdefs.h <<_ACEOF
29063 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29064 _ACEOF
29065
29066
29067 fi
29068
29069 fi
29070 fi
29071 fi
29072 fi
29073 fi
29074
29075
29076 TIFF_LINK=
29077 TIFF_PREREQ_LINKS=-lm
29078 if test "$wxUSE_LIBTIFF" != "no" ; then
29079 cat >>confdefs.h <<\_ACEOF
29080 #define wxUSE_LIBTIFF 1
29081 _ACEOF
29082
29083
29084 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29085 if test "$wxUSE_LIBJPEG" = "sys"; then
29086 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29087 fi
29088 if test "$wxUSE_ZLIB" = "sys"; then
29089 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29090 fi
29091 echo "$as_me:$LINENO: checking for tiffio.h" >&5
29092 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
29093 if test "${ac_cv_header_tiffio_h+set}" = set; then
29094 echo $ECHO_N "(cached) $ECHO_C" >&6
29095 else
29096 cat >conftest.$ac_ext <<_ACEOF
29097 /* confdefs.h. */
29098 _ACEOF
29099 cat confdefs.h >>conftest.$ac_ext
29100 cat >>conftest.$ac_ext <<_ACEOF
29101 /* end confdefs.h. */
29102
29103
29104
29105 #include <tiffio.h>
29106 _ACEOF
29107 rm -f conftest.$ac_objext
29108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29109 (eval $ac_compile) 2>conftest.er1
29110 ac_status=$?
29111 grep -v '^ *+' conftest.er1 >conftest.err
29112 rm -f conftest.er1
29113 cat conftest.err >&5
29114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29115 (exit $ac_status); } &&
29116 { ac_try='test -z "$ac_c_werror_flag"
29117 || test ! -s conftest.err'
29118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29119 (eval $ac_try) 2>&5
29120 ac_status=$?
29121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122 (exit $ac_status); }; } &&
29123 { ac_try='test -s conftest.$ac_objext'
29124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29125 (eval $ac_try) 2>&5
29126 ac_status=$?
29127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29128 (exit $ac_status); }; }; then
29129 ac_cv_header_tiffio_h=yes
29130 else
29131 echo "$as_me: failed program was:" >&5
29132 sed 's/^/| /' conftest.$ac_ext >&5
29133
29134 ac_cv_header_tiffio_h=no
29135 fi
29136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29137 fi
29138 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29139 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
29140 if test $ac_cv_header_tiffio_h = yes; then
29141
29142 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29143 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
29144 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29145 echo $ECHO_N "(cached) $ECHO_C" >&6
29146 else
29147 ac_check_lib_save_LIBS=$LIBS
29148 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29149 cat >conftest.$ac_ext <<_ACEOF
29150 /* confdefs.h. */
29151 _ACEOF
29152 cat confdefs.h >>conftest.$ac_ext
29153 cat >>conftest.$ac_ext <<_ACEOF
29154 /* end confdefs.h. */
29155
29156 /* Override any gcc2 internal prototype to avoid an error. */
29157 #ifdef __cplusplus
29158 extern "C"
29159 #endif
29160 /* We use char because int might match the return type of a gcc2
29161 builtin and then its argument prototype would still apply. */
29162 char TIFFError ();
29163 int
29164 main ()
29165 {
29166 TIFFError ();
29167 ;
29168 return 0;
29169 }
29170 _ACEOF
29171 rm -f conftest.$ac_objext conftest$ac_exeext
29172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29173 (eval $ac_link) 2>conftest.er1
29174 ac_status=$?
29175 grep -v '^ *+' conftest.er1 >conftest.err
29176 rm -f conftest.er1
29177 cat conftest.err >&5
29178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29179 (exit $ac_status); } &&
29180 { ac_try='test -z "$ac_c_werror_flag"
29181 || test ! -s conftest.err'
29182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29183 (eval $ac_try) 2>&5
29184 ac_status=$?
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); }; } &&
29187 { ac_try='test -s conftest$ac_exeext'
29188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29189 (eval $ac_try) 2>&5
29190 ac_status=$?
29191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192 (exit $ac_status); }; }; then
29193 ac_cv_lib_tiff_TIFFError=yes
29194 else
29195 echo "$as_me: failed program was:" >&5
29196 sed 's/^/| /' conftest.$ac_ext >&5
29197
29198 ac_cv_lib_tiff_TIFFError=no
29199 fi
29200 rm -f conftest.err conftest.$ac_objext \
29201 conftest$ac_exeext conftest.$ac_ext
29202 LIBS=$ac_check_lib_save_LIBS
29203 fi
29204 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29205 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
29206 if test $ac_cv_lib_tiff_TIFFError = yes; then
29207 TIFF_LINK=" -ltiff"
29208 fi
29209
29210
29211 fi
29212
29213
29214
29215 if test "x$TIFF_LINK" = "x" ; then
29216 if test "$wxUSE_LIBTIFF" = "sys" ; then
29217 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29218 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29219 { (exit 1); exit 1; }; }
29220 else
29221 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29222 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29223 wxUSE_LIBTIFF=builtin
29224 fi
29225 else
29226 wxUSE_LIBTIFF=sys
29227 fi
29228 fi
29229 fi
29230
29231
29232 if test "$wxUSE_WCHAR_T" != "yes"; then
29233 if test "$wxUSE_EXPAT" != "no"; then
29234 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29235 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29236 wxUSE_EXPAT=no
29237 fi
29238 if test "$wxUSE_XML" != "no"; then
29239 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29240 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29241 wxUSE_XML=no
29242 fi
29243 fi
29244
29245 if test "$wxUSE_EXPAT" != "no"; then
29246 wxUSE_XML=yes
29247 cat >>confdefs.h <<\_ACEOF
29248 #define wxUSE_EXPAT 1
29249 _ACEOF
29250
29251 cat >>confdefs.h <<\_ACEOF
29252 #define wxUSE_XML 1
29253 _ACEOF
29254
29255
29256 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29257 echo "$as_me:$LINENO: checking for expat.h" >&5
29258 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
29259 if test "${ac_cv_header_expat_h+set}" = set; then
29260 echo $ECHO_N "(cached) $ECHO_C" >&6
29261 else
29262 cat >conftest.$ac_ext <<_ACEOF
29263 /* confdefs.h. */
29264 _ACEOF
29265 cat confdefs.h >>conftest.$ac_ext
29266 cat >>conftest.$ac_ext <<_ACEOF
29267 /* end confdefs.h. */
29268
29269
29270 #include <expat.h>
29271 _ACEOF
29272 rm -f conftest.$ac_objext
29273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29274 (eval $ac_compile) 2>conftest.er1
29275 ac_status=$?
29276 grep -v '^ *+' conftest.er1 >conftest.err
29277 rm -f conftest.er1
29278 cat conftest.err >&5
29279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29280 (exit $ac_status); } &&
29281 { ac_try='test -z "$ac_c_werror_flag"
29282 || test ! -s conftest.err'
29283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29284 (eval $ac_try) 2>&5
29285 ac_status=$?
29286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29287 (exit $ac_status); }; } &&
29288 { ac_try='test -s conftest.$ac_objext'
29289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29290 (eval $ac_try) 2>&5
29291 ac_status=$?
29292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29293 (exit $ac_status); }; }; then
29294 ac_cv_header_expat_h=yes
29295 else
29296 echo "$as_me: failed program was:" >&5
29297 sed 's/^/| /' conftest.$ac_ext >&5
29298
29299 ac_cv_header_expat_h=no
29300 fi
29301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29302 fi
29303 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29304 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
29305 if test $ac_cv_header_expat_h = yes; then
29306 found_expat_h=1
29307 fi
29308
29309
29310 if test "x$found_expat_h" = "x1"; then
29311 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29312 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
29313 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29314 echo $ECHO_N "(cached) $ECHO_C" >&6
29315 else
29316
29317 ac_ext=cc
29318 ac_cpp='$CXXCPP $CPPFLAGS'
29319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29322
29323 cat >conftest.$ac_ext <<_ACEOF
29324 /* confdefs.h. */
29325 _ACEOF
29326 cat confdefs.h >>conftest.$ac_ext
29327 cat >>conftest.$ac_ext <<_ACEOF
29328 /* end confdefs.h. */
29329 #include <expat.h>
29330 int
29331 main ()
29332 {
29333
29334 ;
29335 return 0;
29336 }
29337 _ACEOF
29338 rm -f conftest.$ac_objext
29339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29340 (eval $ac_compile) 2>conftest.er1
29341 ac_status=$?
29342 grep -v '^ *+' conftest.er1 >conftest.err
29343 rm -f conftest.er1
29344 cat conftest.err >&5
29345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29346 (exit $ac_status); } &&
29347 { ac_try='test -z "$ac_cxx_werror_flag"
29348 || test ! -s conftest.err'
29349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29350 (eval $ac_try) 2>&5
29351 ac_status=$?
29352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 (exit $ac_status); }; } &&
29354 { ac_try='test -s conftest.$ac_objext'
29355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29356 (eval $ac_try) 2>&5
29357 ac_status=$?
29358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29359 (exit $ac_status); }; }; then
29360 wx_cv_expat_is_not_broken=yes
29361 else
29362 echo "$as_me: failed program was:" >&5
29363 sed 's/^/| /' conftest.$ac_ext >&5
29364
29365 wx_cv_expat_is_not_broken=no
29366
29367 fi
29368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29369 ac_ext=c
29370 ac_cpp='$CPP $CPPFLAGS'
29371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29374
29375
29376
29377 fi
29378 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29379 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
29380 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29381 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29382 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
29383 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29384 echo $ECHO_N "(cached) $ECHO_C" >&6
29385 else
29386 ac_check_lib_save_LIBS=$LIBS
29387 LIBS="-lexpat $LIBS"
29388 cat >conftest.$ac_ext <<_ACEOF
29389 /* confdefs.h. */
29390 _ACEOF
29391 cat confdefs.h >>conftest.$ac_ext
29392 cat >>conftest.$ac_ext <<_ACEOF
29393 /* end confdefs.h. */
29394
29395 /* Override any gcc2 internal prototype to avoid an error. */
29396 #ifdef __cplusplus
29397 extern "C"
29398 #endif
29399 /* We use char because int might match the return type of a gcc2
29400 builtin and then its argument prototype would still apply. */
29401 char XML_ParserCreate ();
29402 int
29403 main ()
29404 {
29405 XML_ParserCreate ();
29406 ;
29407 return 0;
29408 }
29409 _ACEOF
29410 rm -f conftest.$ac_objext conftest$ac_exeext
29411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29412 (eval $ac_link) 2>conftest.er1
29413 ac_status=$?
29414 grep -v '^ *+' conftest.er1 >conftest.err
29415 rm -f conftest.er1
29416 cat conftest.err >&5
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); } &&
29419 { ac_try='test -z "$ac_c_werror_flag"
29420 || test ! -s conftest.err'
29421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29422 (eval $ac_try) 2>&5
29423 ac_status=$?
29424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425 (exit $ac_status); }; } &&
29426 { ac_try='test -s conftest$ac_exeext'
29427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29428 (eval $ac_try) 2>&5
29429 ac_status=$?
29430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431 (exit $ac_status); }; }; then
29432 ac_cv_lib_expat_XML_ParserCreate=yes
29433 else
29434 echo "$as_me: failed program was:" >&5
29435 sed 's/^/| /' conftest.$ac_ext >&5
29436
29437 ac_cv_lib_expat_XML_ParserCreate=no
29438 fi
29439 rm -f conftest.err conftest.$ac_objext \
29440 conftest$ac_exeext conftest.$ac_ext
29441 LIBS=$ac_check_lib_save_LIBS
29442 fi
29443 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29444 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
29445 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29446 EXPAT_LINK=" -lexpat"
29447 fi
29448
29449 fi
29450 fi
29451 if test "x$EXPAT_LINK" = "x" ; then
29452 if test "$wxUSE_EXPAT" = "sys" ; then
29453 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29454 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29455 { (exit 1); exit 1; }; }
29456 else
29457 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29458 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29459 wxUSE_EXPAT=builtin
29460 fi
29461 else
29462 wxUSE_EXPAT=sys
29463 fi
29464 fi
29465 if test "$wxUSE_EXPAT" = "builtin" ; then
29466
29467
29468 subdirs="$subdirs src/expat"
29469
29470 fi
29471 fi
29472
29473
29474
29475 if test "$wxUSE_LIBMSPACK" != "no"; then
29476 echo "$as_me:$LINENO: checking for mspack.h" >&5
29477 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
29478 if test "${ac_cv_header_mspack_h+set}" = set; then
29479 echo $ECHO_N "(cached) $ECHO_C" >&6
29480 else
29481 cat >conftest.$ac_ext <<_ACEOF
29482 /* confdefs.h. */
29483 _ACEOF
29484 cat confdefs.h >>conftest.$ac_ext
29485 cat >>conftest.$ac_ext <<_ACEOF
29486 /* end confdefs.h. */
29487
29488
29489 #include <mspack.h>
29490 _ACEOF
29491 rm -f conftest.$ac_objext
29492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29493 (eval $ac_compile) 2>conftest.er1
29494 ac_status=$?
29495 grep -v '^ *+' conftest.er1 >conftest.err
29496 rm -f conftest.er1
29497 cat conftest.err >&5
29498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29499 (exit $ac_status); } &&
29500 { ac_try='test -z "$ac_c_werror_flag"
29501 || test ! -s conftest.err'
29502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29503 (eval $ac_try) 2>&5
29504 ac_status=$?
29505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29506 (exit $ac_status); }; } &&
29507 { ac_try='test -s conftest.$ac_objext'
29508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29509 (eval $ac_try) 2>&5
29510 ac_status=$?
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); }; }; then
29513 ac_cv_header_mspack_h=yes
29514 else
29515 echo "$as_me: failed program was:" >&5
29516 sed 's/^/| /' conftest.$ac_ext >&5
29517
29518 ac_cv_header_mspack_h=no
29519 fi
29520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29521 fi
29522 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29523 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
29524 if test $ac_cv_header_mspack_h = yes; then
29525 found_mspack_h=1
29526 fi
29527
29528
29529 if test "x$found_mspack_h" = "x1"; then
29530 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29531 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
29532 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29533 echo $ECHO_N "(cached) $ECHO_C" >&6
29534 else
29535 ac_check_lib_save_LIBS=$LIBS
29536 LIBS="-lmspack $LIBS"
29537 cat >conftest.$ac_ext <<_ACEOF
29538 /* confdefs.h. */
29539 _ACEOF
29540 cat confdefs.h >>conftest.$ac_ext
29541 cat >>conftest.$ac_ext <<_ACEOF
29542 /* end confdefs.h. */
29543
29544 /* Override any gcc2 internal prototype to avoid an error. */
29545 #ifdef __cplusplus
29546 extern "C"
29547 #endif
29548 /* We use char because int might match the return type of a gcc2
29549 builtin and then its argument prototype would still apply. */
29550 char mspack_create_chm_decompressor ();
29551 int
29552 main ()
29553 {
29554 mspack_create_chm_decompressor ();
29555 ;
29556 return 0;
29557 }
29558 _ACEOF
29559 rm -f conftest.$ac_objext conftest$ac_exeext
29560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29561 (eval $ac_link) 2>conftest.er1
29562 ac_status=$?
29563 grep -v '^ *+' conftest.er1 >conftest.err
29564 rm -f conftest.er1
29565 cat conftest.err >&5
29566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29567 (exit $ac_status); } &&
29568 { ac_try='test -z "$ac_c_werror_flag"
29569 || test ! -s conftest.err'
29570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29571 (eval $ac_try) 2>&5
29572 ac_status=$?
29573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29574 (exit $ac_status); }; } &&
29575 { ac_try='test -s conftest$ac_exeext'
29576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29577 (eval $ac_try) 2>&5
29578 ac_status=$?
29579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29580 (exit $ac_status); }; }; then
29581 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29582 else
29583 echo "$as_me: failed program was:" >&5
29584 sed 's/^/| /' conftest.$ac_ext >&5
29585
29586 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29587 fi
29588 rm -f conftest.err conftest.$ac_objext \
29589 conftest$ac_exeext conftest.$ac_ext
29590 LIBS=$ac_check_lib_save_LIBS
29591 fi
29592 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29593 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
29594 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29595 MSPACK_LINK=" -lmspack"
29596 fi
29597
29598 fi
29599 if test "x$MSPACK_LINK" = "x" ; then
29600 wxUSE_LIBMSPACK=no
29601 fi
29602 fi
29603
29604 if test "$wxUSE_LIBMSPACK" != "no"; then
29605 cat >>confdefs.h <<\_ACEOF
29606 #define wxUSE_LIBMSPACK 1
29607 _ACEOF
29608
29609 fi
29610
29611
29612
29613 AFMINSTALL=
29614 WIN32INSTALL=
29615
29616 TOOLKIT=
29617 TOOLKIT_INCLUDE=
29618 WIDGET_SET=
29619
29620 if test "$USE_WIN32" = 1 ; then
29621
29622 for ac_header in w32api.h
29623 do
29624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29625 echo "$as_me:$LINENO: checking for $ac_header" >&5
29626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29628 echo $ECHO_N "(cached) $ECHO_C" >&6
29629 else
29630 cat >conftest.$ac_ext <<_ACEOF
29631 /* confdefs.h. */
29632 _ACEOF
29633 cat confdefs.h >>conftest.$ac_ext
29634 cat >>conftest.$ac_ext <<_ACEOF
29635 /* end confdefs.h. */
29636
29637
29638 #include <$ac_header>
29639 _ACEOF
29640 rm -f conftest.$ac_objext
29641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29642 (eval $ac_compile) 2>conftest.er1
29643 ac_status=$?
29644 grep -v '^ *+' conftest.er1 >conftest.err
29645 rm -f conftest.er1
29646 cat conftest.err >&5
29647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29648 (exit $ac_status); } &&
29649 { ac_try='test -z "$ac_c_werror_flag"
29650 || test ! -s conftest.err'
29651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29652 (eval $ac_try) 2>&5
29653 ac_status=$?
29654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29655 (exit $ac_status); }; } &&
29656 { ac_try='test -s conftest.$ac_objext'
29657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29658 (eval $ac_try) 2>&5
29659 ac_status=$?
29660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29661 (exit $ac_status); }; }; then
29662 eval "$as_ac_Header=yes"
29663 else
29664 echo "$as_me: failed program was:" >&5
29665 sed 's/^/| /' conftest.$ac_ext >&5
29666
29667 eval "$as_ac_Header=no"
29668 fi
29669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29670 fi
29671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29672 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29674 cat >>confdefs.h <<_ACEOF
29675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29676 _ACEOF
29677
29678 fi
29679
29680 done
29681
29682 echo "$as_me:$LINENO: checking for windows.h" >&5
29683 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
29684 if test "${ac_cv_header_windows_h+set}" = set; then
29685 echo $ECHO_N "(cached) $ECHO_C" >&6
29686 else
29687 cat >conftest.$ac_ext <<_ACEOF
29688 /* confdefs.h. */
29689 _ACEOF
29690 cat confdefs.h >>conftest.$ac_ext
29691 cat >>conftest.$ac_ext <<_ACEOF
29692 /* end confdefs.h. */
29693
29694
29695 #include <windows.h>
29696 _ACEOF
29697 rm -f conftest.$ac_objext
29698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29699 (eval $ac_compile) 2>conftest.er1
29700 ac_status=$?
29701 grep -v '^ *+' conftest.er1 >conftest.err
29702 rm -f conftest.er1
29703 cat conftest.err >&5
29704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29705 (exit $ac_status); } &&
29706 { ac_try='test -z "$ac_c_werror_flag"
29707 || test ! -s conftest.err'
29708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29709 (eval $ac_try) 2>&5
29710 ac_status=$?
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); }; } &&
29713 { ac_try='test -s conftest.$ac_objext'
29714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29715 (eval $ac_try) 2>&5
29716 ac_status=$?
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); }; }; then
29719 ac_cv_header_windows_h=yes
29720 else
29721 echo "$as_me: failed program was:" >&5
29722 sed 's/^/| /' conftest.$ac_ext >&5
29723
29724 ac_cv_header_windows_h=no
29725 fi
29726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29727 fi
29728 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29729 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
29730 if test $ac_cv_header_windows_h = yes; then
29731 :
29732 else
29733
29734 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29735 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29736 { (exit 1); exit 1; }; }
29737
29738 fi
29739
29740
29741
29742 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
29743
29744 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29745 LIBS="$LIBS -loleacc"
29746 fi
29747
29748 case "${host}" in
29749 *-*-cygwin* )
29750 LIBS="$LIBS -lkernel32 -luser32"
29751 esac
29752
29753 if test "$wxUSE_ODBC" = "sys" ; then
29754 wxUSE_ODBC = "yes"
29755 fi
29756 if test "$wxUSE_ODBC" = "yes" ; then
29757 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
29758 cat >>confdefs.h <<\_ACEOF
29759 #define wxUSE_ODBC 1
29760 _ACEOF
29761
29762 fi
29763
29764 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29765 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29766
29767 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
29768
29769 WIN32INSTALL=win32install
29770
29771 echo "$as_me:$LINENO: checking for pbt.h" >&5
29772 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6
29773 if test "${ac_cv_header_pbt_h+set}" = set; then
29774 echo $ECHO_N "(cached) $ECHO_C" >&6
29775 else
29776 cat >conftest.$ac_ext <<_ACEOF
29777 /* confdefs.h. */
29778 _ACEOF
29779 cat confdefs.h >>conftest.$ac_ext
29780 cat >>conftest.$ac_ext <<_ACEOF
29781 /* end confdefs.h. */
29782
29783
29784 #include <pbt.h>
29785 _ACEOF
29786 rm -f conftest.$ac_objext
29787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29788 (eval $ac_compile) 2>conftest.er1
29789 ac_status=$?
29790 grep -v '^ *+' conftest.er1 >conftest.err
29791 rm -f conftest.er1
29792 cat conftest.err >&5
29793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29794 (exit $ac_status); } &&
29795 { ac_try='test -z "$ac_c_werror_flag"
29796 || test ! -s conftest.err'
29797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29798 (eval $ac_try) 2>&5
29799 ac_status=$?
29800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29801 (exit $ac_status); }; } &&
29802 { ac_try='test -s conftest.$ac_objext'
29803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29804 (eval $ac_try) 2>&5
29805 ac_status=$?
29806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29807 (exit $ac_status); }; }; then
29808 ac_cv_header_pbt_h=yes
29809 else
29810 echo "$as_me: failed program was:" >&5
29811 sed 's/^/| /' conftest.$ac_ext >&5
29812
29813 ac_cv_header_pbt_h=no
29814 fi
29815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29816 fi
29817 echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
29818 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6
29819 if test $ac_cv_header_pbt_h = yes; then
29820 :
29821 else
29822 cat >>confdefs.h <<\_ACEOF
29823 #define NEED_PBT_H 1
29824 _ACEOF
29825
29826 fi
29827
29828
29829 fi
29830
29831 if test "$wxUSE_GUI" = "yes"; then
29832 USE_GUI=1
29833
29834 GUI_TK_LIBRARY=
29835
29836 WXGTK12=
29837 WXGTK127=
29838 WXGTK20=
29839 WXGPE=
29840
29841 if test "$wxUSE_COCOA" = 1 ; then
29842 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29843 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29844 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29845 wxUSE_PRINTING_ARCHITECTURE=no
29846 fi
29847 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29848 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29849 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29850 wxUSE_DRAG_AND_DROP=no
29851 fi
29852 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29853 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29854 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29855 wxUSE_DRAGIMAGE=no
29856 fi
29857 fi
29858
29859 if test "$wxUSE_MSW" = 1 ; then
29860 TOOLKIT=MSW
29861 GUIDIST=MSW_DIST
29862
29863 case "${host}" in
29864 *-*-mingw32* )
29865 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29866 esac
29867 fi
29868
29869 if test "$wxUSE_GTK" = 1; then
29870 echo "$as_me:$LINENO: checking for GTK+ version" >&5
29871 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
29872
29873 gtk_version_cached=1
29874 if test "${wx_cv_lib_gtk+set}" = set; then
29875 echo $ECHO_N "(cached) $ECHO_C" >&6
29876 else
29877
29878 gtk_version_cached=0
29879 echo "$as_me:$LINENO: result: " >&5
29880 echo "${ECHO_T}" >&6
29881
29882 GTK_MODULES=
29883 if test "$wxUSE_THREADS" = "yes"; then
29884 GTK_MODULES=gthread
29885 fi
29886
29887 wx_cv_lib_gtk=
29888 if test "x$wxGTK_VERSION" != "x1"
29889 then
29890 case "${host}" in
29891 *-*-solaris2* )
29892 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29893 enable_gtktest=no
29894 fi
29895 esac
29896
29897 # Check whether --enable-gtktest or --disable-gtktest was given.
29898 if test "${enable_gtktest+set}" = set; then
29899 enableval="$enable_gtktest"
29900
29901 else
29902 enable_gtktest=yes
29903 fi;
29904
29905 pkg_config_args=gtk+-2.0
29906 for module in . $GTK_MODULES
29907 do
29908 case "$module" in
29909 gthread)
29910 pkg_config_args="$pkg_config_args gthread-2.0"
29911 ;;
29912 esac
29913 done
29914
29915 no_gtk=""
29916
29917 # Extract the first word of "pkg-config", so it can be a program name with args.
29918 set dummy pkg-config; ac_word=$2
29919 echo "$as_me:$LINENO: checking for $ac_word" >&5
29920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29921 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29922 echo $ECHO_N "(cached) $ECHO_C" >&6
29923 else
29924 case $PKG_CONFIG in
29925 [\\/]* | ?:[\\/]*)
29926 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29927 ;;
29928 *)
29929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29930 for as_dir in $PATH
29931 do
29932 IFS=$as_save_IFS
29933 test -z "$as_dir" && as_dir=.
29934 for ac_exec_ext in '' $ac_executable_extensions; do
29935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29936 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29938 break 2
29939 fi
29940 done
29941 done
29942
29943 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29944 ;;
29945 esac
29946 fi
29947 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29948
29949 if test -n "$PKG_CONFIG"; then
29950 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29951 echo "${ECHO_T}$PKG_CONFIG" >&6
29952 else
29953 echo "$as_me:$LINENO: result: no" >&5
29954 echo "${ECHO_T}no" >&6
29955 fi
29956
29957
29958 if test x$PKG_CONFIG != xno ; then
29959 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29960 :
29961 else
29962 echo "*** pkg-config too old; version 0.7 or better required."
29963 no_gtk=yes
29964 PKG_CONFIG=no
29965 fi
29966 else
29967 no_gtk=yes
29968 fi
29969
29970 min_gtk_version=2.0.0
29971 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
29972 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
29973
29974 if test x$PKG_CONFIG != xno ; then
29975 ## don't try to run the test against uninstalled libtool libs
29976 if $PKG_CONFIG --uninstalled $pkg_config_args; then
29977 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
29978 enable_gtktest=no
29979 fi
29980
29981 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
29982 :
29983 else
29984 no_gtk=yes
29985 fi
29986 fi
29987
29988 if test x"$no_gtk" = x ; then
29989 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
29990 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
29991 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29992 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
29993 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29994 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
29995 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
29996 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
29997 if test "x$enable_gtktest" = "xyes" ; then
29998 ac_save_CFLAGS="$CFLAGS"
29999 ac_save_LIBS="$LIBS"
30000 CFLAGS="$CFLAGS $GTK_CFLAGS"
30001 LIBS="$GTK_LIBS $LIBS"
30002 rm -f conf.gtktest
30003 if test "$cross_compiling" = yes; then
30004 echo $ac_n "cross compiling; assumed OK... $ac_c"
30005 else
30006 cat >conftest.$ac_ext <<_ACEOF
30007 /* confdefs.h. */
30008 _ACEOF
30009 cat confdefs.h >>conftest.$ac_ext
30010 cat >>conftest.$ac_ext <<_ACEOF
30011 /* end confdefs.h. */
30012
30013 #include <gtk/gtk.h>
30014 #include <stdio.h>
30015 #include <stdlib.h>
30016
30017 int
30018 main ()
30019 {
30020 int major, minor, micro;
30021 char *tmp_version;
30022
30023 system ("touch conf.gtktest");
30024
30025 /* HP/UX 9 (%@#!) writes to sscanf strings */
30026 tmp_version = g_strdup("$min_gtk_version");
30027 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30028 printf("%s, bad version string\n", "$min_gtk_version");
30029 exit(1);
30030 }
30031
30032 if ((gtk_major_version != $gtk_config_major_version) ||
30033 (gtk_minor_version != $gtk_config_minor_version) ||
30034 (gtk_micro_version != $gtk_config_micro_version))
30035 {
30036 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30037 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30038 gtk_major_version, gtk_minor_version, gtk_micro_version);
30039 printf ("*** was found! If pkg-config was correct, then it is best\n");
30040 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30041 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30042 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30043 printf("*** required on your system.\n");
30044 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30045 printf("*** to point to the correct configuration files\n");
30046 }
30047 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30048 (gtk_minor_version != GTK_MINOR_VERSION) ||
30049 (gtk_micro_version != GTK_MICRO_VERSION))
30050 {
30051 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30052 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30053 printf("*** library (version %d.%d.%d)\n",
30054 gtk_major_version, gtk_minor_version, gtk_micro_version);
30055 }
30056 else
30057 {
30058 if ((gtk_major_version > major) ||
30059 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30060 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30061 {
30062 return 0;
30063 }
30064 else
30065 {
30066 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30067 gtk_major_version, gtk_minor_version, gtk_micro_version);
30068 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30069 major, minor, micro);
30070 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30071 printf("***\n");
30072 printf("*** If you have already installed a sufficiently new version, this error\n");
30073 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30074 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30075 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30076 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30077 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30078 printf("*** so that the correct libraries are found at run-time))\n");
30079 }
30080 }
30081 return 1;
30082 }
30083
30084 _ACEOF
30085 rm -f conftest$ac_exeext
30086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30087 (eval $ac_link) 2>&5
30088 ac_status=$?
30089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30090 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30092 (eval $ac_try) 2>&5
30093 ac_status=$?
30094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095 (exit $ac_status); }; }; then
30096 :
30097 else
30098 echo "$as_me: program exited with status $ac_status" >&5
30099 echo "$as_me: failed program was:" >&5
30100 sed 's/^/| /' conftest.$ac_ext >&5
30101
30102 ( exit $ac_status )
30103 no_gtk=yes
30104 fi
30105 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30106 fi
30107 CFLAGS="$ac_save_CFLAGS"
30108 LIBS="$ac_save_LIBS"
30109 fi
30110 fi
30111 if test "x$no_gtk" = x ; then
30112 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30113 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
30114 wx_cv_lib_gtk=2.0
30115 else
30116 echo "$as_me:$LINENO: result: no" >&5
30117 echo "${ECHO_T}no" >&6
30118 if test "$PKG_CONFIG" = "no" ; then
30119 echo "*** A new enough version of pkg-config was not found."
30120 echo "*** See http://pkgconfig.sourceforge.net"
30121 else
30122 if test -f conf.gtktest ; then
30123 :
30124 else
30125 echo "*** Could not run GTK+ test program, checking why..."
30126 ac_save_CFLAGS="$CFLAGS"
30127 ac_save_LIBS="$LIBS"
30128 CFLAGS="$CFLAGS $GTK_CFLAGS"
30129 LIBS="$LIBS $GTK_LIBS"
30130 cat >conftest.$ac_ext <<_ACEOF
30131 /* confdefs.h. */
30132 _ACEOF
30133 cat confdefs.h >>conftest.$ac_ext
30134 cat >>conftest.$ac_ext <<_ACEOF
30135 /* end confdefs.h. */
30136
30137 #include <gtk/gtk.h>
30138 #include <stdio.h>
30139
30140 int
30141 main ()
30142 {
30143 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30144 ;
30145 return 0;
30146 }
30147 _ACEOF
30148 rm -f conftest.$ac_objext conftest$ac_exeext
30149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30150 (eval $ac_link) 2>conftest.er1
30151 ac_status=$?
30152 grep -v '^ *+' conftest.er1 >conftest.err
30153 rm -f conftest.er1
30154 cat conftest.err >&5
30155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30156 (exit $ac_status); } &&
30157 { ac_try='test -z "$ac_c_werror_flag"
30158 || test ! -s conftest.err'
30159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30160 (eval $ac_try) 2>&5
30161 ac_status=$?
30162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30163 (exit $ac_status); }; } &&
30164 { ac_try='test -s conftest$ac_exeext'
30165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30166 (eval $ac_try) 2>&5
30167 ac_status=$?
30168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30169 (exit $ac_status); }; }; then
30170 echo "*** The test program compiled, but did not run. This usually means"
30171 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30172 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30173 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30174 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30175 echo "*** is required on your system"
30176 echo "***"
30177 echo "*** If you have an old version installed, it is best to remove it, although"
30178 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30179 else
30180 echo "$as_me: failed program was:" >&5
30181 sed 's/^/| /' conftest.$ac_ext >&5
30182
30183 echo "*** The test program failed to compile or link. See the file config.log for the"
30184 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30185 fi
30186 rm -f conftest.err conftest.$ac_objext \
30187 conftest$ac_exeext conftest.$ac_ext
30188 CFLAGS="$ac_save_CFLAGS"
30189 LIBS="$ac_save_LIBS"
30190 fi
30191 fi
30192 GTK_CFLAGS=""
30193 GTK_LIBS=""
30194 :
30195 fi
30196
30197
30198 rm -f conf.gtktest
30199
30200
30201 case "${host}" in
30202 *-*-solaris2* )
30203 if test "$wxUSE_SHARED" != "yes"; then
30204 GTK_LIBS="$GTK_LIBS -lX11"
30205 fi
30206 esac
30207 fi
30208
30209 if test -z "$wx_cv_lib_gtk"; then
30210 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30211
30212 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
30213 if test "${with_gtk_prefix+set}" = set; then
30214 withval="$with_gtk_prefix"
30215 gtk_config_prefix="$withval"
30216 else
30217 gtk_config_prefix=""
30218 fi;
30219
30220 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
30221 if test "${with_gtk_exec_prefix+set}" = set; then
30222 withval="$with_gtk_exec_prefix"
30223 gtk_config_exec_prefix="$withval"
30224 else
30225 gtk_config_exec_prefix=""
30226 fi;
30227 # Check whether --enable-gtktest or --disable-gtktest was given.
30228 if test "${enable_gtktest+set}" = set; then
30229 enableval="$enable_gtktest"
30230
30231 else
30232 enable_gtktest=yes
30233 fi;
30234
30235 for module in . $GTK_MODULES
30236 do
30237 case "$module" in
30238 gthread)
30239 gtk_config_args="$gtk_config_args gthread"
30240 ;;
30241 esac
30242 done
30243
30244 if test x$gtk_config_exec_prefix != x ; then
30245 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30246 if test x${GTK_CONFIG+set} != xset ; then
30247 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30248 fi
30249 fi
30250 if test x$gtk_config_prefix != x ; then
30251 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30252 if test x${GTK_CONFIG+set} != xset ; then
30253 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30254 fi
30255 fi
30256
30257 # Extract the first word of "gtk-config", so it can be a program name with args.
30258 set dummy gtk-config; ac_word=$2
30259 echo "$as_me:$LINENO: checking for $ac_word" >&5
30260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30261 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30262 echo $ECHO_N "(cached) $ECHO_C" >&6
30263 else
30264 case $GTK_CONFIG in
30265 [\\/]* | ?:[\\/]*)
30266 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30267 ;;
30268 *)
30269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30270 for as_dir in $PATH
30271 do
30272 IFS=$as_save_IFS
30273 test -z "$as_dir" && as_dir=.
30274 for ac_exec_ext in '' $ac_executable_extensions; do
30275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30276 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30278 break 2
30279 fi
30280 done
30281 done
30282
30283 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30284 ;;
30285 esac
30286 fi
30287 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30288
30289 if test -n "$GTK_CONFIG"; then
30290 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30291 echo "${ECHO_T}$GTK_CONFIG" >&6
30292 else
30293 echo "$as_me:$LINENO: result: no" >&5
30294 echo "${ECHO_T}no" >&6
30295 fi
30296
30297 min_gtk_version=1.2.7
30298 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30299 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
30300 no_gtk=""
30301 if test "$GTK_CONFIG" = "no" ; then
30302 no_gtk=yes
30303 else
30304 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30305 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30306 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30308 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30309 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30310 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30311 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30312 if test "x$enable_gtktest" = "xyes" ; then
30313 ac_save_CFLAGS="$CFLAGS"
30314 ac_save_LIBS="$LIBS"
30315 CFLAGS="$CFLAGS $GTK_CFLAGS"
30316 LIBS="$GTK_LIBS $LIBS"
30317 rm -f conf.gtktest
30318 if test "$cross_compiling" = yes; then
30319 echo $ac_n "cross compiling; assumed OK... $ac_c"
30320 else
30321 cat >conftest.$ac_ext <<_ACEOF
30322 /* confdefs.h. */
30323 _ACEOF
30324 cat confdefs.h >>conftest.$ac_ext
30325 cat >>conftest.$ac_ext <<_ACEOF
30326 /* end confdefs.h. */
30327
30328 #include <gtk/gtk.h>
30329 #include <stdio.h>
30330 #include <stdlib.h>
30331
30332 int
30333 main ()
30334 {
30335 int major, minor, micro;
30336 char *tmp_version;
30337
30338 system ("touch conf.gtktest");
30339
30340 /* HP/UX 9 (%@#!) writes to sscanf strings */
30341 tmp_version = g_strdup("$min_gtk_version");
30342 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30343 printf("%s, bad version string\n", "$min_gtk_version");
30344 exit(1);
30345 }
30346
30347 if ((gtk_major_version != $gtk_config_major_version) ||
30348 (gtk_minor_version != $gtk_config_minor_version) ||
30349 (gtk_micro_version != $gtk_config_micro_version))
30350 {
30351 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30352 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30353 gtk_major_version, gtk_minor_version, gtk_micro_version);
30354 printf ("*** was found! If gtk-config was correct, then it is best\n");
30355 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30356 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30357 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30358 printf("*** required on your system.\n");
30359 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30360 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30361 printf("*** before re-running configure\n");
30362 }
30363 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30364 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30365 (gtk_minor_version != GTK_MINOR_VERSION) ||
30366 (gtk_micro_version != GTK_MICRO_VERSION))
30367 {
30368 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30369 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30370 printf("*** library (version %d.%d.%d)\n",
30371 gtk_major_version, gtk_minor_version, gtk_micro_version);
30372 }
30373 #endif /* defined (GTK_MAJOR_VERSION) ... */
30374 else
30375 {
30376 if ((gtk_major_version > major) ||
30377 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30378 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30379 {
30380 return 0;
30381 }
30382 else
30383 {
30384 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30385 gtk_major_version, gtk_minor_version, gtk_micro_version);
30386 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30387 major, minor, micro);
30388 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30389 printf("***\n");
30390 printf("*** If you have already installed a sufficiently new version, this error\n");
30391 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30392 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30393 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30394 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30395 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30396 printf("*** so that the correct libraries are found at run-time))\n");
30397 }
30398 }
30399 return 1;
30400 }
30401
30402 _ACEOF
30403 rm -f conftest$ac_exeext
30404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30405 (eval $ac_link) 2>&5
30406 ac_status=$?
30407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30410 (eval $ac_try) 2>&5
30411 ac_status=$?
30412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30413 (exit $ac_status); }; }; then
30414 :
30415 else
30416 echo "$as_me: program exited with status $ac_status" >&5
30417 echo "$as_me: failed program was:" >&5
30418 sed 's/^/| /' conftest.$ac_ext >&5
30419
30420 ( exit $ac_status )
30421 no_gtk=yes
30422 fi
30423 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30424 fi
30425 CFLAGS="$ac_save_CFLAGS"
30426 LIBS="$ac_save_LIBS"
30427 fi
30428 fi
30429 if test "x$no_gtk" = x ; then
30430 echo "$as_me:$LINENO: result: yes" >&5
30431 echo "${ECHO_T}yes" >&6
30432 wx_cv_lib_gtk=1.2.7
30433 else
30434 echo "$as_me:$LINENO: result: no" >&5
30435 echo "${ECHO_T}no" >&6
30436 if test "$GTK_CONFIG" = "no" ; then
30437 echo "*** The gtk-config script installed by GTK could not be found"
30438 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30439 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30440 echo "*** full path to gtk-config."
30441 else
30442 if test -f conf.gtktest ; then
30443 :
30444 else
30445 echo "*** Could not run GTK test program, checking why..."
30446 CFLAGS="$CFLAGS $GTK_CFLAGS"
30447 LIBS="$LIBS $GTK_LIBS"
30448 cat >conftest.$ac_ext <<_ACEOF
30449 /* confdefs.h. */
30450 _ACEOF
30451 cat confdefs.h >>conftest.$ac_ext
30452 cat >>conftest.$ac_ext <<_ACEOF
30453 /* end confdefs.h. */
30454
30455 #include <gtk/gtk.h>
30456 #include <stdio.h>
30457
30458 int
30459 main ()
30460 {
30461 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30462 ;
30463 return 0;
30464 }
30465 _ACEOF
30466 rm -f conftest.$ac_objext conftest$ac_exeext
30467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30468 (eval $ac_link) 2>conftest.er1
30469 ac_status=$?
30470 grep -v '^ *+' conftest.er1 >conftest.err
30471 rm -f conftest.er1
30472 cat conftest.err >&5
30473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30474 (exit $ac_status); } &&
30475 { ac_try='test -z "$ac_c_werror_flag"
30476 || test ! -s conftest.err'
30477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30478 (eval $ac_try) 2>&5
30479 ac_status=$?
30480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30481 (exit $ac_status); }; } &&
30482 { ac_try='test -s conftest$ac_exeext'
30483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30484 (eval $ac_try) 2>&5
30485 ac_status=$?
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); }; }; then
30488 echo "*** The test program compiled, but did not run. This usually means"
30489 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30490 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30491 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30492 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30493 echo "*** is required on your system"
30494 echo "***"
30495 echo "*** If you have an old version installed, it is best to remove it, although"
30496 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30497 echo "***"
30498 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30499 echo "*** came with the system with the command"
30500 echo "***"
30501 echo "*** rpm --erase --nodeps gtk gtk-devel"
30502 else
30503 echo "$as_me: failed program was:" >&5
30504 sed 's/^/| /' conftest.$ac_ext >&5
30505
30506 echo "*** The test program failed to compile or link. See the file config.log for the"
30507 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30508 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30509 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30510 fi
30511 rm -f conftest.err conftest.$ac_objext \
30512 conftest$ac_exeext conftest.$ac_ext
30513 CFLAGS="$ac_save_CFLAGS"
30514 LIBS="$ac_save_LIBS"
30515 fi
30516 fi
30517 GTK_CFLAGS=""
30518 GTK_LIBS=""
30519 :
30520 fi
30521
30522
30523 rm -f conf.gtktest
30524
30525
30526 if test -z "$wx_cv_lib_gtk"; then
30527
30528 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
30529 if test "${with_gtk_prefix+set}" = set; then
30530 withval="$with_gtk_prefix"
30531 gtk_config_prefix="$withval"
30532 else
30533 gtk_config_prefix=""
30534 fi;
30535
30536 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
30537 if test "${with_gtk_exec_prefix+set}" = set; then
30538 withval="$with_gtk_exec_prefix"
30539 gtk_config_exec_prefix="$withval"
30540 else
30541 gtk_config_exec_prefix=""
30542 fi;
30543 # Check whether --enable-gtktest or --disable-gtktest was given.
30544 if test "${enable_gtktest+set}" = set; then
30545 enableval="$enable_gtktest"
30546
30547 else
30548 enable_gtktest=yes
30549 fi;
30550
30551 for module in . $GTK_MODULES
30552 do
30553 case "$module" in
30554 gthread)
30555 gtk_config_args="$gtk_config_args gthread"
30556 ;;
30557 esac
30558 done
30559
30560 if test x$gtk_config_exec_prefix != x ; then
30561 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30562 if test x${GTK_CONFIG+set} != xset ; then
30563 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30564 fi
30565 fi
30566 if test x$gtk_config_prefix != x ; then
30567 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30568 if test x${GTK_CONFIG+set} != xset ; then
30569 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30570 fi
30571 fi
30572
30573 # Extract the first word of "gtk-config", so it can be a program name with args.
30574 set dummy gtk-config; ac_word=$2
30575 echo "$as_me:$LINENO: checking for $ac_word" >&5
30576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
30577 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30578 echo $ECHO_N "(cached) $ECHO_C" >&6
30579 else
30580 case $GTK_CONFIG in
30581 [\\/]* | ?:[\\/]*)
30582 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30583 ;;
30584 *)
30585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30586 for as_dir in $PATH
30587 do
30588 IFS=$as_save_IFS
30589 test -z "$as_dir" && as_dir=.
30590 for ac_exec_ext in '' $ac_executable_extensions; do
30591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
30592 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30594 break 2
30595 fi
30596 done
30597 done
30598
30599 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30600 ;;
30601 esac
30602 fi
30603 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30604
30605 if test -n "$GTK_CONFIG"; then
30606 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30607 echo "${ECHO_T}$GTK_CONFIG" >&6
30608 else
30609 echo "$as_me:$LINENO: result: no" >&5
30610 echo "${ECHO_T}no" >&6
30611 fi
30612
30613 min_gtk_version=1.2.3
30614 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30615 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
30616 no_gtk=""
30617 if test "$GTK_CONFIG" = "no" ; then
30618 no_gtk=yes
30619 else
30620 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30621 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30622 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30623 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30624 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30625 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30626 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30627 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30628 if test "x$enable_gtktest" = "xyes" ; then
30629 ac_save_CFLAGS="$CFLAGS"
30630 ac_save_LIBS="$LIBS"
30631 CFLAGS="$CFLAGS $GTK_CFLAGS"
30632 LIBS="$GTK_LIBS $LIBS"
30633 rm -f conf.gtktest
30634 if test "$cross_compiling" = yes; then
30635 echo $ac_n "cross compiling; assumed OK... $ac_c"
30636 else
30637 cat >conftest.$ac_ext <<_ACEOF
30638 /* confdefs.h. */
30639 _ACEOF
30640 cat confdefs.h >>conftest.$ac_ext
30641 cat >>conftest.$ac_ext <<_ACEOF
30642 /* end confdefs.h. */
30643
30644 #include <gtk/gtk.h>
30645 #include <stdio.h>
30646 #include <stdlib.h>
30647
30648 int
30649 main ()
30650 {
30651 int major, minor, micro;
30652 char *tmp_version;
30653
30654 system ("touch conf.gtktest");
30655
30656 /* HP/UX 9 (%@#!) writes to sscanf strings */
30657 tmp_version = g_strdup("$min_gtk_version");
30658 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30659 printf("%s, bad version string\n", "$min_gtk_version");
30660 exit(1);
30661 }
30662
30663 if ((gtk_major_version != $gtk_config_major_version) ||
30664 (gtk_minor_version != $gtk_config_minor_version) ||
30665 (gtk_micro_version != $gtk_config_micro_version))
30666 {
30667 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30668 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30669 gtk_major_version, gtk_minor_version, gtk_micro_version);
30670 printf ("*** was found! If gtk-config was correct, then it is best\n");
30671 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30672 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30673 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30674 printf("*** required on your system.\n");
30675 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30676 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30677 printf("*** before re-running configure\n");
30678 }
30679 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30680 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30681 (gtk_minor_version != GTK_MINOR_VERSION) ||
30682 (gtk_micro_version != GTK_MICRO_VERSION))
30683 {
30684 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30685 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30686 printf("*** library (version %d.%d.%d)\n",
30687 gtk_major_version, gtk_minor_version, gtk_micro_version);
30688 }
30689 #endif /* defined (GTK_MAJOR_VERSION) ... */
30690 else
30691 {
30692 if ((gtk_major_version > major) ||
30693 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30694 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30695 {
30696 return 0;
30697 }
30698 else
30699 {
30700 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30701 gtk_major_version, gtk_minor_version, gtk_micro_version);
30702 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30703 major, minor, micro);
30704 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30705 printf("***\n");
30706 printf("*** If you have already installed a sufficiently new version, this error\n");
30707 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30708 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30709 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30710 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30711 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30712 printf("*** so that the correct libraries are found at run-time))\n");
30713 }
30714 }
30715 return 1;
30716 }
30717
30718 _ACEOF
30719 rm -f conftest$ac_exeext
30720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30721 (eval $ac_link) 2>&5
30722 ac_status=$?
30723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30724 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30726 (eval $ac_try) 2>&5
30727 ac_status=$?
30728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30729 (exit $ac_status); }; }; then
30730 :
30731 else
30732 echo "$as_me: program exited with status $ac_status" >&5
30733 echo "$as_me: failed program was:" >&5
30734 sed 's/^/| /' conftest.$ac_ext >&5
30735
30736 ( exit $ac_status )
30737 no_gtk=yes
30738 fi
30739 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30740 fi
30741 CFLAGS="$ac_save_CFLAGS"
30742 LIBS="$ac_save_LIBS"
30743 fi
30744 fi
30745 if test "x$no_gtk" = x ; then
30746 echo "$as_me:$LINENO: result: yes" >&5
30747 echo "${ECHO_T}yes" >&6
30748 wx_cv_lib_gtk=1.2.3
30749 else
30750 echo "$as_me:$LINENO: result: no" >&5
30751 echo "${ECHO_T}no" >&6
30752 if test "$GTK_CONFIG" = "no" ; then
30753 echo "*** The gtk-config script installed by GTK could not be found"
30754 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30755 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30756 echo "*** full path to gtk-config."
30757 else
30758 if test -f conf.gtktest ; then
30759 :
30760 else
30761 echo "*** Could not run GTK test program, checking why..."
30762 CFLAGS="$CFLAGS $GTK_CFLAGS"
30763 LIBS="$LIBS $GTK_LIBS"
30764 cat >conftest.$ac_ext <<_ACEOF
30765 /* confdefs.h. */
30766 _ACEOF
30767 cat confdefs.h >>conftest.$ac_ext
30768 cat >>conftest.$ac_ext <<_ACEOF
30769 /* end confdefs.h. */
30770
30771 #include <gtk/gtk.h>
30772 #include <stdio.h>
30773
30774 int
30775 main ()
30776 {
30777 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30778 ;
30779 return 0;
30780 }
30781 _ACEOF
30782 rm -f conftest.$ac_objext conftest$ac_exeext
30783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30784 (eval $ac_link) 2>conftest.er1
30785 ac_status=$?
30786 grep -v '^ *+' conftest.er1 >conftest.err
30787 rm -f conftest.er1
30788 cat conftest.err >&5
30789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30790 (exit $ac_status); } &&
30791 { ac_try='test -z "$ac_c_werror_flag"
30792 || test ! -s conftest.err'
30793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30794 (eval $ac_try) 2>&5
30795 ac_status=$?
30796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30797 (exit $ac_status); }; } &&
30798 { ac_try='test -s conftest$ac_exeext'
30799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30800 (eval $ac_try) 2>&5
30801 ac_status=$?
30802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30803 (exit $ac_status); }; }; then
30804 echo "*** The test program compiled, but did not run. This usually means"
30805 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30806 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30807 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30808 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30809 echo "*** is required on your system"
30810 echo "***"
30811 echo "*** If you have an old version installed, it is best to remove it, although"
30812 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30813 echo "***"
30814 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30815 echo "*** came with the system with the command"
30816 echo "***"
30817 echo "*** rpm --erase --nodeps gtk gtk-devel"
30818 else
30819 echo "$as_me: failed program was:" >&5
30820 sed 's/^/| /' conftest.$ac_ext >&5
30821
30822 echo "*** The test program failed to compile or link. See the file config.log for the"
30823 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30824 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30825 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30826 fi
30827 rm -f conftest.err conftest.$ac_objext \
30828 conftest$ac_exeext conftest.$ac_ext
30829 CFLAGS="$ac_save_CFLAGS"
30830 LIBS="$ac_save_LIBS"
30831 fi
30832 fi
30833 GTK_CFLAGS=""
30834 GTK_LIBS=""
30835 :
30836 fi
30837
30838
30839 rm -f conf.gtktest
30840
30841 fi
30842 fi
30843 fi
30844
30845 if test -z "$wx_cv_lib_gtk"; then
30846 wx_cv_lib_gtk=none
30847 else
30848 wx_cv_cflags_gtk=$GTK_CFLAGS
30849 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
30850 fi
30851
30852
30853 fi
30854
30855
30856 if test "$gtk_version_cached" = 1; then
30857 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30858 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
30859 fi
30860
30861 case "$wx_cv_lib_gtk" in
30862 2.0) WXGTK20=1
30863 TOOLKIT_VERSION=2
30864 ;;
30865 1.2.7) WXGTK127=1
30866 WXGTK12=1
30867 ;;
30868 1.2.3) WXGTK12=1
30869 ;;
30870 *) { { echo "$as_me:$LINENO: error:
30871 The development files for GTK+ were not found. For GTK+ 2, please
30872 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30873 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30874 and that the version is 1.2.3 or above. Also check that the
30875 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30876 --libs' are in the LD_LIBRARY_PATH or equivalent.
30877 " >&5
30878 echo "$as_me: error:
30879 The development files for GTK+ were not found. For GTK+ 2, please
30880 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30881 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30882 and that the version is 1.2.3 or above. Also check that the
30883 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30884 --libs' are in the LD_LIBRARY_PATH or equivalent.
30885 " >&2;}
30886 { (exit 1); exit 1; }; }
30887 ;;
30888 esac
30889
30890 if test "$WXGTK20" = 1; then
30891 save_CFLAGS="$CFLAGS"
30892 save_LIBS="$LIBS"
30893 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30894 LIBS="$LIBS $wx_cv_libs_gtk"
30895
30896 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
30897 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
30898 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
30899 echo $ECHO_N "(cached) $ECHO_C" >&6
30900 else
30901 cat >conftest.$ac_ext <<_ACEOF
30902 /* confdefs.h. */
30903 _ACEOF
30904 cat confdefs.h >>conftest.$ac_ext
30905 cat >>conftest.$ac_ext <<_ACEOF
30906 /* end confdefs.h. */
30907 #include <gtk/gtk.h>
30908
30909 int
30910 main ()
30911 {
30912 #ifndef gtk_icon_size_lookup
30913 char *p = (char *) gtk_icon_size_lookup;
30914 #endif
30915
30916 ;
30917 return 0;
30918 }
30919 _ACEOF
30920 rm -f conftest.$ac_objext
30921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30922 (eval $ac_compile) 2>conftest.er1
30923 ac_status=$?
30924 grep -v '^ *+' conftest.er1 >conftest.err
30925 rm -f conftest.er1
30926 cat conftest.err >&5
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); } &&
30929 { ac_try='test -z "$ac_c_werror_flag"
30930 || test ! -s conftest.err'
30931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30932 (eval $ac_try) 2>&5
30933 ac_status=$?
30934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30935 (exit $ac_status); }; } &&
30936 { ac_try='test -s conftest.$ac_objext'
30937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30938 (eval $ac_try) 2>&5
30939 ac_status=$?
30940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30941 (exit $ac_status); }; }; then
30942 ac_cv_have_decl_gtk_icon_size_lookup=yes
30943 else
30944 echo "$as_me: failed program was:" >&5
30945 sed 's/^/| /' conftest.$ac_ext >&5
30946
30947 ac_cv_have_decl_gtk_icon_size_lookup=no
30948 fi
30949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30950 fi
30951 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
30952 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
30953 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
30954
30955 cat >>confdefs.h <<_ACEOF
30956 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
30957 _ACEOF
30958
30959
30960 else
30961 cat >>confdefs.h <<_ACEOF
30962 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
30963 _ACEOF
30964
30965 cat >>confdefs.h <<\_ACEOF
30966 #define NEED_GTK_ICON_SIZE_LOOKUP 1
30967 _ACEOF
30968
30969 fi
30970
30971
30972
30973
30974 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
30975 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6
30976 cat >conftest.$ac_ext <<_ACEOF
30977 /* confdefs.h. */
30978 _ACEOF
30979 cat confdefs.h >>conftest.$ac_ext
30980 cat >>conftest.$ac_ext <<_ACEOF
30981 /* end confdefs.h. */
30982
30983 #include <gtk/gtk.h>
30984
30985 int
30986 main ()
30987 {
30988
30989 #if !GTK_CHECK_VERSION(2,10,0)
30990 Not GTK+ 2.10
30991 #endif
30992
30993 ;
30994 return 0;
30995 }
30996 _ACEOF
30997 rm -f conftest.$ac_objext
30998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30999 (eval $ac_compile) 2>conftest.er1
31000 ac_status=$?
31001 grep -v '^ *+' conftest.er1 >conftest.err
31002 rm -f conftest.er1
31003 cat conftest.err >&5
31004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31005 (exit $ac_status); } &&
31006 { ac_try='test -z "$ac_c_werror_flag"
31007 || test ! -s conftest.err'
31008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31009 (eval $ac_try) 2>&5
31010 ac_status=$?
31011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31012 (exit $ac_status); }; } &&
31013 { ac_try='test -s conftest.$ac_objext'
31014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31015 (eval $ac_try) 2>&5
31016 ac_status=$?
31017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31018 (exit $ac_status); }; }; then
31019
31020 cat >>confdefs.h <<\_ACEOF
31021 #define __WXGTK210__ 1
31022 _ACEOF
31023
31024 cat >>confdefs.h <<\_ACEOF
31025 #define __WXGTK26__ 1
31026 _ACEOF
31027
31028 cat >>confdefs.h <<\_ACEOF
31029 #define __WXGTK24__ 1
31030 _ACEOF
31031
31032 echo "$as_me:$LINENO: result: yes" >&5
31033 echo "${ECHO_T}yes" >&6
31034 ac_wxgtk210=1
31035
31036 else
31037 echo "$as_me: failed program was:" >&5
31038 sed 's/^/| /' conftest.$ac_ext >&5
31039
31040
31041 echo "$as_me:$LINENO: result: no" >&5
31042 echo "${ECHO_T}no" >&6
31043 ac_wxgtk210=0
31044
31045 fi
31046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31047
31048 if test "$ac_wxgtk210" = 0; then
31049 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31050 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
31051 cat >conftest.$ac_ext <<_ACEOF
31052 /* confdefs.h. */
31053 _ACEOF
31054 cat confdefs.h >>conftest.$ac_ext
31055 cat >>conftest.$ac_ext <<_ACEOF
31056 /* end confdefs.h. */
31057
31058 #include <gtk/gtk.h>
31059
31060 int
31061 main ()
31062 {
31063
31064 #if !GTK_CHECK_VERSION(2,6,0)
31065 Not GTK+ 2.6
31066 #endif
31067
31068 ;
31069 return 0;
31070 }
31071 _ACEOF
31072 rm -f conftest.$ac_objext
31073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31074 (eval $ac_compile) 2>conftest.er1
31075 ac_status=$?
31076 grep -v '^ *+' conftest.er1 >conftest.err
31077 rm -f conftest.er1
31078 cat conftest.err >&5
31079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31080 (exit $ac_status); } &&
31081 { ac_try='test -z "$ac_c_werror_flag"
31082 || test ! -s conftest.err'
31083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31084 (eval $ac_try) 2>&5
31085 ac_status=$?
31086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31087 (exit $ac_status); }; } &&
31088 { ac_try='test -s conftest.$ac_objext'
31089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31090 (eval $ac_try) 2>&5
31091 ac_status=$?
31092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31093 (exit $ac_status); }; }; then
31094
31095 cat >>confdefs.h <<\_ACEOF
31096 #define __WXGTK26__ 1
31097 _ACEOF
31098
31099 cat >>confdefs.h <<\_ACEOF
31100 #define __WXGTK24__ 1
31101 _ACEOF
31102
31103 echo "$as_me:$LINENO: result: yes" >&5
31104 echo "${ECHO_T}yes" >&6
31105 ac_wxgtk26=1
31106
31107 else
31108 echo "$as_me: failed program was:" >&5
31109 sed 's/^/| /' conftest.$ac_ext >&5
31110
31111
31112 echo "$as_me:$LINENO: result: no" >&5
31113 echo "${ECHO_T}no" >&6
31114 ac_wxgtk26=0
31115
31116 fi
31117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31118 fi
31119
31120 if test "$ac_wxgtk26" = 0; then
31121 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31122 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
31123 cat >conftest.$ac_ext <<_ACEOF
31124 /* confdefs.h. */
31125 _ACEOF
31126 cat confdefs.h >>conftest.$ac_ext
31127 cat >>conftest.$ac_ext <<_ACEOF
31128 /* end confdefs.h. */
31129
31130 #include <gtk/gtk.h>
31131
31132 int
31133 main ()
31134 {
31135
31136 #if !GTK_CHECK_VERSION(2,4,0)
31137 Not GTK+ 2.4
31138 #endif
31139
31140 ;
31141 return 0;
31142 }
31143 _ACEOF
31144 rm -f conftest.$ac_objext
31145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31146 (eval $ac_compile) 2>conftest.er1
31147 ac_status=$?
31148 grep -v '^ *+' conftest.er1 >conftest.err
31149 rm -f conftest.er1
31150 cat conftest.err >&5
31151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31152 (exit $ac_status); } &&
31153 { ac_try='test -z "$ac_c_werror_flag"
31154 || test ! -s conftest.err'
31155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31156 (eval $ac_try) 2>&5
31157 ac_status=$?
31158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31159 (exit $ac_status); }; } &&
31160 { ac_try='test -s conftest.$ac_objext'
31161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31162 (eval $ac_try) 2>&5
31163 ac_status=$?
31164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31165 (exit $ac_status); }; }; then
31166
31167 cat >>confdefs.h <<\_ACEOF
31168 #define __WXGTK24__ 1
31169 _ACEOF
31170
31171 echo "$as_me:$LINENO: result: yes" >&5
31172 echo "${ECHO_T}yes" >&6
31173
31174 else
31175 echo "$as_me: failed program was:" >&5
31176 sed 's/^/| /' conftest.$ac_ext >&5
31177
31178
31179 echo "$as_me:$LINENO: result: no" >&5
31180 echo "${ECHO_T}no" >&6
31181
31182 fi
31183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31184 fi
31185
31186 CFLAGS="$save_CFLAGS"
31187 LIBS="$save_LIBS"
31188 else
31189 if test "$wxUSE_UNICODE" = "yes"; then
31190 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31191 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31192 wxUSE_UNICODE=no
31193 fi
31194
31195 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31196 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
31197 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31198 echo $ECHO_N "(cached) $ECHO_C" >&6
31199 else
31200 ac_check_lib_save_LIBS=$LIBS
31201 LIBS="-lgdk $LIBS"
31202 cat >conftest.$ac_ext <<_ACEOF
31203 /* confdefs.h. */
31204 _ACEOF
31205 cat confdefs.h >>conftest.$ac_ext
31206 cat >>conftest.$ac_ext <<_ACEOF
31207 /* end confdefs.h. */
31208
31209 /* Override any gcc2 internal prototype to avoid an error. */
31210 #ifdef __cplusplus
31211 extern "C"
31212 #endif
31213 /* We use char because int might match the return type of a gcc2
31214 builtin and then its argument prototype would still apply. */
31215 char gdk_im_open ();
31216 int
31217 main ()
31218 {
31219 gdk_im_open ();
31220 ;
31221 return 0;
31222 }
31223 _ACEOF
31224 rm -f conftest.$ac_objext conftest$ac_exeext
31225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31226 (eval $ac_link) 2>conftest.er1
31227 ac_status=$?
31228 grep -v '^ *+' conftest.er1 >conftest.err
31229 rm -f conftest.er1
31230 cat conftest.err >&5
31231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31232 (exit $ac_status); } &&
31233 { ac_try='test -z "$ac_c_werror_flag"
31234 || test ! -s conftest.err'
31235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31236 (eval $ac_try) 2>&5
31237 ac_status=$?
31238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31239 (exit $ac_status); }; } &&
31240 { ac_try='test -s conftest$ac_exeext'
31241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31242 (eval $ac_try) 2>&5
31243 ac_status=$?
31244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31245 (exit $ac_status); }; }; then
31246 ac_cv_lib_gdk_gdk_im_open=yes
31247 else
31248 echo "$as_me: failed program was:" >&5
31249 sed 's/^/| /' conftest.$ac_ext >&5
31250
31251 ac_cv_lib_gdk_gdk_im_open=no
31252 fi
31253 rm -f conftest.err conftest.$ac_objext \
31254 conftest$ac_exeext conftest.$ac_ext
31255 LIBS=$ac_check_lib_save_LIBS
31256 fi
31257 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31258 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
31259 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31260 cat >>confdefs.h <<\_ACEOF
31261 #define HAVE_XIM 1
31262 _ACEOF
31263
31264 fi
31265
31266
31267 if test "$USE_DARWIN" != 1; then
31268
31269 for ac_func in poll
31270 do
31271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31272 echo "$as_me:$LINENO: checking for $ac_func" >&5
31273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31274 if eval "test \"\${$as_ac_var+set}\" = set"; then
31275 echo $ECHO_N "(cached) $ECHO_C" >&6
31276 else
31277 cat >conftest.$ac_ext <<_ACEOF
31278 /* confdefs.h. */
31279 _ACEOF
31280 cat confdefs.h >>conftest.$ac_ext
31281 cat >>conftest.$ac_ext <<_ACEOF
31282 /* end confdefs.h. */
31283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31285 #define $ac_func innocuous_$ac_func
31286
31287 /* System header to define __stub macros and hopefully few prototypes,
31288 which can conflict with char $ac_func (); below.
31289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31290 <limits.h> exists even on freestanding compilers. */
31291
31292 #ifdef __STDC__
31293 # include <limits.h>
31294 #else
31295 # include <assert.h>
31296 #endif
31297
31298 #undef $ac_func
31299
31300 /* Override any gcc2 internal prototype to avoid an error. */
31301 #ifdef __cplusplus
31302 extern "C"
31303 {
31304 #endif
31305 /* We use char because int might match the return type of a gcc2
31306 builtin and then its argument prototype would still apply. */
31307 char $ac_func ();
31308 /* The GNU C library defines this for functions which it implements
31309 to always fail with ENOSYS. Some functions are actually named
31310 something starting with __ and the normal name is an alias. */
31311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31312 choke me
31313 #else
31314 char (*f) () = $ac_func;
31315 #endif
31316 #ifdef __cplusplus
31317 }
31318 #endif
31319
31320 int
31321 main ()
31322 {
31323 return f != $ac_func;
31324 ;
31325 return 0;
31326 }
31327 _ACEOF
31328 rm -f conftest.$ac_objext conftest$ac_exeext
31329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31330 (eval $ac_link) 2>conftest.er1
31331 ac_status=$?
31332 grep -v '^ *+' conftest.er1 >conftest.err
31333 rm -f conftest.er1
31334 cat conftest.err >&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); } &&
31337 { ac_try='test -z "$ac_c_werror_flag"
31338 || test ! -s conftest.err'
31339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31340 (eval $ac_try) 2>&5
31341 ac_status=$?
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); }; } &&
31344 { ac_try='test -s conftest$ac_exeext'
31345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31346 (eval $ac_try) 2>&5
31347 ac_status=$?
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); }; }; then
31350 eval "$as_ac_var=yes"
31351 else
31352 echo "$as_me: failed program was:" >&5
31353 sed 's/^/| /' conftest.$ac_ext >&5
31354
31355 eval "$as_ac_var=no"
31356 fi
31357 rm -f conftest.err conftest.$ac_objext \
31358 conftest$ac_exeext conftest.$ac_ext
31359 fi
31360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31362 if test `eval echo '${'$as_ac_var'}'` = yes; then
31363 cat >>confdefs.h <<_ACEOF
31364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31365 _ACEOF
31366
31367 fi
31368 done
31369
31370 fi
31371 fi
31372
31373 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31374 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31375
31376 AFMINSTALL=afminstall
31377 TOOLKIT=GTK
31378 GUIDIST=GTK_DIST
31379
31380 if test "$wxUSE_GPE" = "yes"; then
31381 echo "$as_me:$LINENO: checking for gpewidget library" >&5
31382 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
31383
31384 ac_find_libraries=
31385 for ac_dir in $SEARCH_LIB;
31386 do
31387 for ac_extension in a so sl dylib dll.a; do
31388 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31389 ac_find_libraries=$ac_dir
31390 break 2
31391 fi
31392 done
31393 done
31394
31395 if test "$ac_find_libraries" != "" ; then
31396
31397 if test "$ac_find_libraries" = "default location"; then
31398 ac_path_to_link=""
31399 else
31400 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31401 result=$?
31402 if test $result = 0; then
31403 ac_path_to_link=""
31404 else
31405 ac_path_to_link=" -L$ac_find_libraries"
31406 fi
31407 fi
31408
31409 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31410 WXGPE=1
31411 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31412 echo "${ECHO_T}found in $ac_find_libraries" >&6
31413 else
31414 echo "$as_me:$LINENO: result: not found" >&5
31415 echo "${ECHO_T}not found" >&6
31416 fi
31417
31418 fi
31419 fi
31420
31421 if test "$wxUSE_MGL" = 1; then
31422 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31423 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
31424 if test "x$MGL_ROOT" = x ; then
31425 echo "$as_me:$LINENO: result: not found" >&5
31426 echo "${ECHO_T}not found" >&6
31427 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31428 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31429 { (exit 1); exit 1; }; }
31430 else
31431 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31432 echo "${ECHO_T}$MGL_ROOT" >&6
31433 fi
31434
31435 echo "$as_me:$LINENO: checking for libmgl location" >&5
31436 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
31437 case "${host}" in
31438 *-*-linux* )
31439 if test "x$wxUSE_SHARED" = xyes ; then
31440 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31441 else
31442 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31443 fi
31444 ;;
31445 *-pc-msdosdjgpp )
31446 mgl_os_candidates="dos32/dj2"
31447 ;;
31448 *)
31449 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31450 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31451 { (exit 1); exit 1; }; }
31452 esac
31453
31454 mgl_lib_type=""
31455 mgl_os=""
31456
31457 for mgl_os_i in $mgl_os_candidates ; do
31458 if test "x$mgl_os" = x ; then
31459 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31460 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31461 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31462 mgl_lib_type=debug
31463 mgl_os=$mgl_os_i
31464 fi
31465 fi
31466 if test "x$mgl_lib_type" = x ; then
31467 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31468 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31469 mgl_lib_type=release
31470 mgl_os=$mgl_os_i
31471 fi
31472 fi
31473 fi
31474 done
31475
31476 if test "x$mgl_os" = x ; then
31477 echo "$as_me:$LINENO: result: not found" >&5
31478 echo "${ECHO_T}not found" >&6
31479 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31480 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31481 { (exit 1); exit 1; }; }
31482 fi
31483 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31484 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
31485
31486 wxUSE_UNIVERSAL="yes"
31487
31488 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31489 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31490
31491 AFMINSTALL=afminstall
31492 TOOLKIT=MGL
31493 GUIDIST=MGL_DIST
31494 fi
31495
31496 if test "$wxUSE_DFB" = 1; then
31497
31498
31499 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31500 if test -n "$ac_tool_prefix"; then
31501 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31502 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31503 echo "$as_me:$LINENO: checking for $ac_word" >&5
31504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31505 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31506 echo $ECHO_N "(cached) $ECHO_C" >&6
31507 else
31508 case $PKG_CONFIG in
31509 [\\/]* | ?:[\\/]*)
31510 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31511 ;;
31512 *)
31513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31514 for as_dir in $PATH
31515 do
31516 IFS=$as_save_IFS
31517 test -z "$as_dir" && as_dir=.
31518 for ac_exec_ext in '' $ac_executable_extensions; do
31519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31520 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31522 break 2
31523 fi
31524 done
31525 done
31526
31527 ;;
31528 esac
31529 fi
31530 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31531
31532 if test -n "$PKG_CONFIG"; then
31533 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31534 echo "${ECHO_T}$PKG_CONFIG" >&6
31535 else
31536 echo "$as_me:$LINENO: result: no" >&5
31537 echo "${ECHO_T}no" >&6
31538 fi
31539
31540 fi
31541 if test -z "$ac_cv_path_PKG_CONFIG"; then
31542 ac_pt_PKG_CONFIG=$PKG_CONFIG
31543 # Extract the first word of "pkg-config", so it can be a program name with args.
31544 set dummy pkg-config; ac_word=$2
31545 echo "$as_me:$LINENO: checking for $ac_word" >&5
31546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31547 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31548 echo $ECHO_N "(cached) $ECHO_C" >&6
31549 else
31550 case $ac_pt_PKG_CONFIG in
31551 [\\/]* | ?:[\\/]*)
31552 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31553 ;;
31554 *)
31555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31556 for as_dir in $PATH
31557 do
31558 IFS=$as_save_IFS
31559 test -z "$as_dir" && as_dir=.
31560 for ac_exec_ext in '' $ac_executable_extensions; do
31561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31562 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31564 break 2
31565 fi
31566 done
31567 done
31568
31569 ;;
31570 esac
31571 fi
31572 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31573
31574 if test -n "$ac_pt_PKG_CONFIG"; then
31575 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31576 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31577 else
31578 echo "$as_me:$LINENO: result: no" >&5
31579 echo "${ECHO_T}no" >&6
31580 fi
31581
31582 PKG_CONFIG=$ac_pt_PKG_CONFIG
31583 else
31584 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31585 fi
31586
31587 fi
31588 if test -n "$PKG_CONFIG"; then
31589 _pkg_min_version=0.9.0
31590 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31591 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31592 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31593 echo "$as_me:$LINENO: result: yes" >&5
31594 echo "${ECHO_T}yes" >&6
31595 else
31596 echo "$as_me:$LINENO: result: no" >&5
31597 echo "${ECHO_T}no" >&6
31598 PKG_CONFIG=""
31599 fi
31600
31601 fi
31602
31603
31604 pkg_failed=no
31605 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31606 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
31607
31608 if test -n "$PKG_CONFIG"; then
31609 if test -n "$DIRECTFB_CFLAGS"; then
31610 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31611 else
31612 if test -n "$PKG_CONFIG" && \
31613 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31614 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31615 ac_status=$?
31616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31617 (exit $ac_status); }; then
31618 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31619 else
31620 pkg_failed=yes
31621 fi
31622 fi
31623 else
31624 pkg_failed=untried
31625 fi
31626 if test -n "$PKG_CONFIG"; then
31627 if test -n "$DIRECTFB_LIBS"; then
31628 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31629 else
31630 if test -n "$PKG_CONFIG" && \
31631 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31632 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31633 ac_status=$?
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); }; then
31636 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31637 else
31638 pkg_failed=yes
31639 fi
31640 fi
31641 else
31642 pkg_failed=untried
31643 fi
31644
31645
31646
31647 if test $pkg_failed = yes; then
31648
31649 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31650 _pkg_short_errors_supported=yes
31651 else
31652 _pkg_short_errors_supported=no
31653 fi
31654 if test $_pkg_short_errors_supported = yes; then
31655 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31656 else
31657 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31658 fi
31659 # Put the nasty error message in config.log where it belongs
31660 echo "$DIRECTFB_PKG_ERRORS" >&5
31661
31662
31663 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31664 echo "$as_me: error: DirectFB not found." >&2;}
31665 { (exit 1); exit 1; }; }
31666
31667
31668 elif test $pkg_failed = untried; then
31669
31670 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31671 echo "$as_me: error: DirectFB not found." >&2;}
31672 { (exit 1); exit 1; }; }
31673
31674
31675 else
31676 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31677 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31678 echo "$as_me:$LINENO: result: yes" >&5
31679 echo "${ECHO_T}yes" >&6
31680
31681 wxUSE_UNIVERSAL="yes"
31682 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31683 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31684 TOOLKIT=DFB
31685 GUIDIST=DFB_DIST
31686
31687 fi
31688 fi
31689
31690 if test "$wxUSE_MICROWIN" = 1; then
31691 echo "$as_me:$LINENO: checking for MicroWindows" >&5
31692 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
31693 if test "x$MICROWINDOWS" = x ; then
31694 echo "$as_me:$LINENO: result: not found" >&5
31695 echo "${ECHO_T}not found" >&6
31696 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31697 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31698 { (exit 1); exit 1; }; }
31699 else
31700 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31701 echo "${ECHO_T}$MICROWINDOWS" >&6
31702 fi
31703
31704 if test -f $MICROWINDOWS/lib/libmwin.a; then
31705 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31706 echo "${ECHO_T}MicroWindows' libraries found." >&6
31707 else
31708 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31709 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31710 { (exit 1); exit 1; }; }
31711 fi
31712
31713 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31714 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31715
31716 wxUSE_UNIVERSAL="yes"
31717
31718 AFMINSTALL=afminstall
31719 TOOLKIT=MICROWIN
31720 GUIDIST=MICROWIN_DIST
31721
31722 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31723 fi
31724
31725 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31726 echo "$as_me:$LINENO: checking for X" >&5
31727 echo $ECHO_N "checking for X... $ECHO_C" >&6
31728
31729
31730 # Check whether --with-x or --without-x was given.
31731 if test "${with_x+set}" = set; then
31732 withval="$with_x"
31733
31734 fi;
31735 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31736 if test "x$with_x" = xno; then
31737 # The user explicitly disabled X.
31738 have_x=disabled
31739 else
31740 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
31741 # Both variables are already set.
31742 have_x=yes
31743 else
31744 if test "${ac_cv_have_x+set}" = set; then
31745 echo $ECHO_N "(cached) $ECHO_C" >&6
31746 else
31747 # One or both of the vars are not set, and there is no cached value.
31748 ac_x_includes=no ac_x_libraries=no
31749 rm -fr conftest.dir
31750 if mkdir conftest.dir; then
31751 cd conftest.dir
31752 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
31753 cat >Imakefile <<'_ACEOF'
31754 acfindx:
31755 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
31756 _ACEOF
31757 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
31758 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31759 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
31760 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31761 for ac_extension in a so sl; do
31762 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
31763 test -f $ac_im_libdir/libX11.$ac_extension; then
31764 ac_im_usrlibdir=$ac_im_libdir; break
31765 fi
31766 done
31767 # Screen out bogus values from the imake configuration. They are
31768 # bogus both because they are the default anyway, and because
31769 # using them would break gcc on systems where it needs fixed includes.
31770 case $ac_im_incroot in
31771 /usr/include) ;;
31772 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31773 esac
31774 case $ac_im_usrlibdir in
31775 /usr/lib | /lib) ;;
31776 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31777 esac
31778 fi
31779 cd ..
31780 rm -fr conftest.dir
31781 fi
31782
31783 # Standard set of common directories for X headers.
31784 # Check X11 before X11Rn because it is often a symlink to the current release.
31785 ac_x_header_dirs='
31786 /usr/X11/include
31787 /usr/X11R6/include
31788 /usr/X11R5/include
31789 /usr/X11R4/include
31790
31791 /usr/include/X11
31792 /usr/include/X11R6
31793 /usr/include/X11R5
31794 /usr/include/X11R4
31795
31796 /usr/local/X11/include
31797 /usr/local/X11R6/include
31798 /usr/local/X11R5/include
31799 /usr/local/X11R4/include
31800
31801 /usr/local/include/X11
31802 /usr/local/include/X11R6
31803 /usr/local/include/X11R5
31804 /usr/local/include/X11R4
31805
31806 /usr/X386/include
31807 /usr/x386/include
31808 /usr/XFree86/include/X11
31809
31810 /usr/include
31811 /usr/local/include
31812 /usr/unsupported/include
31813 /usr/athena/include
31814 /usr/local/x11r5/include
31815 /usr/lpp/Xamples/include
31816
31817 /usr/openwin/include
31818 /usr/openwin/share/include'
31819
31820 if test "$ac_x_includes" = no; then
31821 # Guess where to find include files, by looking for Intrinsic.h.
31822 # First, try using that file with no special directory specified.
31823 cat >conftest.$ac_ext <<_ACEOF
31824 /* confdefs.h. */
31825 _ACEOF
31826 cat confdefs.h >>conftest.$ac_ext
31827 cat >>conftest.$ac_ext <<_ACEOF
31828 /* end confdefs.h. */
31829 #include <X11/Intrinsic.h>
31830 _ACEOF
31831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31833 ac_status=$?
31834 grep -v '^ *+' conftest.er1 >conftest.err
31835 rm -f conftest.er1
31836 cat conftest.err >&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); } >/dev/null; then
31839 if test -s conftest.err; then
31840 ac_cpp_err=$ac_c_preproc_warn_flag
31841 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31842 else
31843 ac_cpp_err=
31844 fi
31845 else
31846 ac_cpp_err=yes
31847 fi
31848 if test -z "$ac_cpp_err"; then
31849 # We can compile using X headers with no special include directory.
31850 ac_x_includes=
31851 else
31852 echo "$as_me: failed program was:" >&5
31853 sed 's/^/| /' conftest.$ac_ext >&5
31854
31855 for ac_dir in $ac_x_header_dirs; do
31856 if test -r "$ac_dir/X11/Intrinsic.h"; then
31857 ac_x_includes=$ac_dir
31858 break
31859 fi
31860 done
31861 fi
31862 rm -f conftest.err conftest.$ac_ext
31863 fi # $ac_x_includes = no
31864
31865 if test "$ac_x_libraries" = no; then
31866 # Check for the libraries.
31867 # See if we find them without any special options.
31868 # Don't add to $LIBS permanently.
31869 ac_save_LIBS=$LIBS
31870 LIBS="-lXt $LIBS"
31871 cat >conftest.$ac_ext <<_ACEOF
31872 /* confdefs.h. */
31873 _ACEOF
31874 cat confdefs.h >>conftest.$ac_ext
31875 cat >>conftest.$ac_ext <<_ACEOF
31876 /* end confdefs.h. */
31877 #include <X11/Intrinsic.h>
31878 int
31879 main ()
31880 {
31881 XtMalloc (0)
31882 ;
31883 return 0;
31884 }
31885 _ACEOF
31886 rm -f conftest.$ac_objext conftest$ac_exeext
31887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31888 (eval $ac_link) 2>conftest.er1
31889 ac_status=$?
31890 grep -v '^ *+' conftest.er1 >conftest.err
31891 rm -f conftest.er1
31892 cat conftest.err >&5
31893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31894 (exit $ac_status); } &&
31895 { ac_try='test -z "$ac_c_werror_flag"
31896 || test ! -s conftest.err'
31897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31898 (eval $ac_try) 2>&5
31899 ac_status=$?
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); }; } &&
31902 { ac_try='test -s conftest$ac_exeext'
31903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31904 (eval $ac_try) 2>&5
31905 ac_status=$?
31906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31907 (exit $ac_status); }; }; then
31908 LIBS=$ac_save_LIBS
31909 # We can link X programs with no special library path.
31910 ac_x_libraries=
31911 else
31912 echo "$as_me: failed program was:" >&5
31913 sed 's/^/| /' conftest.$ac_ext >&5
31914
31915 LIBS=$ac_save_LIBS
31916 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31917 do
31918 # Don't even attempt the hair of trying to link an X program!
31919 for ac_extension in a so sl; do
31920 if test -r $ac_dir/libXt.$ac_extension; then
31921 ac_x_libraries=$ac_dir
31922 break 2
31923 fi
31924 done
31925 done
31926 fi
31927 rm -f conftest.err conftest.$ac_objext \
31928 conftest$ac_exeext conftest.$ac_ext
31929 fi # $ac_x_libraries = no
31930
31931 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
31932 # Didn't find X anywhere. Cache the known absence of X.
31933 ac_cv_have_x="have_x=no"
31934 else
31935 # Record where we found X for the cache.
31936 ac_cv_have_x="have_x=yes \
31937 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
31938 fi
31939 fi
31940
31941 fi
31942 eval "$ac_cv_have_x"
31943 fi # $with_x != no
31944
31945 if test "$have_x" != yes; then
31946 echo "$as_me:$LINENO: result: $have_x" >&5
31947 echo "${ECHO_T}$have_x" >&6
31948 no_x=yes
31949 else
31950 # If each of the values was on the command line, it overrides each guess.
31951 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31952 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31953 # Update the cache value to reflect the command line values.
31954 ac_cv_have_x="have_x=yes \
31955 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
31956 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31957 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
31958 fi
31959
31960 if test "$no_x" = yes; then
31961 # Not all programs may use this symbol, but it does not hurt to define it.
31962
31963 cat >>confdefs.h <<\_ACEOF
31964 #define X_DISPLAY_MISSING 1
31965 _ACEOF
31966
31967 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31968 else
31969 if test -n "$x_includes"; then
31970 X_CFLAGS="$X_CFLAGS -I$x_includes"
31971 fi
31972
31973 # It would also be nice to do this for all -L options, not just this one.
31974 if test -n "$x_libraries"; then
31975 X_LIBS="$X_LIBS -L$x_libraries"
31976 # For Solaris; some versions of Sun CC require a space after -R and
31977 # others require no space. Words are not sufficient . . . .
31978 case `(uname -sr) 2>/dev/null` in
31979 "SunOS 5"*)
31980 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31981 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
31982 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
31983 cat >conftest.$ac_ext <<_ACEOF
31984 /* confdefs.h. */
31985 _ACEOF
31986 cat confdefs.h >>conftest.$ac_ext
31987 cat >>conftest.$ac_ext <<_ACEOF
31988 /* end confdefs.h. */
31989
31990 int
31991 main ()
31992 {
31993
31994 ;
31995 return 0;
31996 }
31997 _ACEOF
31998 rm -f conftest.$ac_objext conftest$ac_exeext
31999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32000 (eval $ac_link) 2>conftest.er1
32001 ac_status=$?
32002 grep -v '^ *+' conftest.er1 >conftest.err
32003 rm -f conftest.er1
32004 cat conftest.err >&5
32005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32006 (exit $ac_status); } &&
32007 { ac_try='test -z "$ac_c_werror_flag"
32008 || test ! -s conftest.err'
32009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32010 (eval $ac_try) 2>&5
32011 ac_status=$?
32012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32013 (exit $ac_status); }; } &&
32014 { ac_try='test -s conftest$ac_exeext'
32015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32016 (eval $ac_try) 2>&5
32017 ac_status=$?
32018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32019 (exit $ac_status); }; }; then
32020 ac_R_nospace=yes
32021 else
32022 echo "$as_me: failed program was:" >&5
32023 sed 's/^/| /' conftest.$ac_ext >&5
32024
32025 ac_R_nospace=no
32026 fi
32027 rm -f conftest.err conftest.$ac_objext \
32028 conftest$ac_exeext conftest.$ac_ext
32029 if test $ac_R_nospace = yes; then
32030 echo "$as_me:$LINENO: result: no" >&5
32031 echo "${ECHO_T}no" >&6
32032 X_LIBS="$X_LIBS -R$x_libraries"
32033 else
32034 LIBS="$ac_xsave_LIBS -R $x_libraries"
32035 cat >conftest.$ac_ext <<_ACEOF
32036 /* confdefs.h. */
32037 _ACEOF
32038 cat confdefs.h >>conftest.$ac_ext
32039 cat >>conftest.$ac_ext <<_ACEOF
32040 /* end confdefs.h. */
32041
32042 int
32043 main ()
32044 {
32045
32046 ;
32047 return 0;
32048 }
32049 _ACEOF
32050 rm -f conftest.$ac_objext conftest$ac_exeext
32051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32052 (eval $ac_link) 2>conftest.er1
32053 ac_status=$?
32054 grep -v '^ *+' conftest.er1 >conftest.err
32055 rm -f conftest.er1
32056 cat conftest.err >&5
32057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32058 (exit $ac_status); } &&
32059 { ac_try='test -z "$ac_c_werror_flag"
32060 || test ! -s conftest.err'
32061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32062 (eval $ac_try) 2>&5
32063 ac_status=$?
32064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32065 (exit $ac_status); }; } &&
32066 { ac_try='test -s conftest$ac_exeext'
32067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32068 (eval $ac_try) 2>&5
32069 ac_status=$?
32070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32071 (exit $ac_status); }; }; then
32072 ac_R_space=yes
32073 else
32074 echo "$as_me: failed program was:" >&5
32075 sed 's/^/| /' conftest.$ac_ext >&5
32076
32077 ac_R_space=no
32078 fi
32079 rm -f conftest.err conftest.$ac_objext \
32080 conftest$ac_exeext conftest.$ac_ext
32081 if test $ac_R_space = yes; then
32082 echo "$as_me:$LINENO: result: yes" >&5
32083 echo "${ECHO_T}yes" >&6
32084 X_LIBS="$X_LIBS -R $x_libraries"
32085 else
32086 echo "$as_me:$LINENO: result: neither works" >&5
32087 echo "${ECHO_T}neither works" >&6
32088 fi
32089 fi
32090 LIBS=$ac_xsave_LIBS
32091 esac
32092 fi
32093
32094 # Check for system-dependent libraries X programs must link with.
32095 # Do this before checking for the system-independent R6 libraries
32096 # (-lICE), since we may need -lsocket or whatever for X linking.
32097
32098 if test "$ISC" = yes; then
32099 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32100 else
32101 # Martyn Johnson says this is needed for Ultrix, if the X
32102 # libraries were built with DECnet support. And Karl Berry says
32103 # the Alpha needs dnet_stub (dnet does not exist).
32104 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32105 cat >conftest.$ac_ext <<_ACEOF
32106 /* confdefs.h. */
32107 _ACEOF
32108 cat confdefs.h >>conftest.$ac_ext
32109 cat >>conftest.$ac_ext <<_ACEOF
32110 /* end confdefs.h. */
32111
32112 /* Override any gcc2 internal prototype to avoid an error. */
32113 #ifdef __cplusplus
32114 extern "C"
32115 #endif
32116 /* We use char because int might match the return type of a gcc2
32117 builtin and then its argument prototype would still apply. */
32118 char XOpenDisplay ();
32119 int
32120 main ()
32121 {
32122 XOpenDisplay ();
32123 ;
32124 return 0;
32125 }
32126 _ACEOF
32127 rm -f conftest.$ac_objext conftest$ac_exeext
32128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32129 (eval $ac_link) 2>conftest.er1
32130 ac_status=$?
32131 grep -v '^ *+' conftest.er1 >conftest.err
32132 rm -f conftest.er1
32133 cat conftest.err >&5
32134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32135 (exit $ac_status); } &&
32136 { ac_try='test -z "$ac_c_werror_flag"
32137 || test ! -s conftest.err'
32138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32139 (eval $ac_try) 2>&5
32140 ac_status=$?
32141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32142 (exit $ac_status); }; } &&
32143 { ac_try='test -s conftest$ac_exeext'
32144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32145 (eval $ac_try) 2>&5
32146 ac_status=$?
32147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32148 (exit $ac_status); }; }; then
32149 :
32150 else
32151 echo "$as_me: failed program was:" >&5
32152 sed 's/^/| /' conftest.$ac_ext >&5
32153
32154 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32155 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
32156 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32157 echo $ECHO_N "(cached) $ECHO_C" >&6
32158 else
32159 ac_check_lib_save_LIBS=$LIBS
32160 LIBS="-ldnet $LIBS"
32161 cat >conftest.$ac_ext <<_ACEOF
32162 /* confdefs.h. */
32163 _ACEOF
32164 cat confdefs.h >>conftest.$ac_ext
32165 cat >>conftest.$ac_ext <<_ACEOF
32166 /* end confdefs.h. */
32167
32168 /* Override any gcc2 internal prototype to avoid an error. */
32169 #ifdef __cplusplus
32170 extern "C"
32171 #endif
32172 /* We use char because int might match the return type of a gcc2
32173 builtin and then its argument prototype would still apply. */
32174 char dnet_ntoa ();
32175 int
32176 main ()
32177 {
32178 dnet_ntoa ();
32179 ;
32180 return 0;
32181 }
32182 _ACEOF
32183 rm -f conftest.$ac_objext conftest$ac_exeext
32184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32185 (eval $ac_link) 2>conftest.er1
32186 ac_status=$?
32187 grep -v '^ *+' conftest.er1 >conftest.err
32188 rm -f conftest.er1
32189 cat conftest.err >&5
32190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191 (exit $ac_status); } &&
32192 { ac_try='test -z "$ac_c_werror_flag"
32193 || test ! -s conftest.err'
32194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32195 (eval $ac_try) 2>&5
32196 ac_status=$?
32197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32198 (exit $ac_status); }; } &&
32199 { ac_try='test -s conftest$ac_exeext'
32200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32201 (eval $ac_try) 2>&5
32202 ac_status=$?
32203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32204 (exit $ac_status); }; }; then
32205 ac_cv_lib_dnet_dnet_ntoa=yes
32206 else
32207 echo "$as_me: failed program was:" >&5
32208 sed 's/^/| /' conftest.$ac_ext >&5
32209
32210 ac_cv_lib_dnet_dnet_ntoa=no
32211 fi
32212 rm -f conftest.err conftest.$ac_objext \
32213 conftest$ac_exeext conftest.$ac_ext
32214 LIBS=$ac_check_lib_save_LIBS
32215 fi
32216 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32217 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
32218 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32219 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32220 fi
32221
32222 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32223 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32224 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
32225 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32226 echo $ECHO_N "(cached) $ECHO_C" >&6
32227 else
32228 ac_check_lib_save_LIBS=$LIBS
32229 LIBS="-ldnet_stub $LIBS"
32230 cat >conftest.$ac_ext <<_ACEOF
32231 /* confdefs.h. */
32232 _ACEOF
32233 cat confdefs.h >>conftest.$ac_ext
32234 cat >>conftest.$ac_ext <<_ACEOF
32235 /* end confdefs.h. */
32236
32237 /* Override any gcc2 internal prototype to avoid an error. */
32238 #ifdef __cplusplus
32239 extern "C"
32240 #endif
32241 /* We use char because int might match the return type of a gcc2
32242 builtin and then its argument prototype would still apply. */
32243 char dnet_ntoa ();
32244 int
32245 main ()
32246 {
32247 dnet_ntoa ();
32248 ;
32249 return 0;
32250 }
32251 _ACEOF
32252 rm -f conftest.$ac_objext conftest$ac_exeext
32253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32254 (eval $ac_link) 2>conftest.er1
32255 ac_status=$?
32256 grep -v '^ *+' conftest.er1 >conftest.err
32257 rm -f conftest.er1
32258 cat conftest.err >&5
32259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32260 (exit $ac_status); } &&
32261 { ac_try='test -z "$ac_c_werror_flag"
32262 || test ! -s conftest.err'
32263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32264 (eval $ac_try) 2>&5
32265 ac_status=$?
32266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32267 (exit $ac_status); }; } &&
32268 { ac_try='test -s conftest$ac_exeext'
32269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32270 (eval $ac_try) 2>&5
32271 ac_status=$?
32272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32273 (exit $ac_status); }; }; then
32274 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32275 else
32276 echo "$as_me: failed program was:" >&5
32277 sed 's/^/| /' conftest.$ac_ext >&5
32278
32279 ac_cv_lib_dnet_stub_dnet_ntoa=no
32280 fi
32281 rm -f conftest.err conftest.$ac_objext \
32282 conftest$ac_exeext conftest.$ac_ext
32283 LIBS=$ac_check_lib_save_LIBS
32284 fi
32285 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32286 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
32287 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32288 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32289 fi
32290
32291 fi
32292 fi
32293 rm -f conftest.err conftest.$ac_objext \
32294 conftest$ac_exeext conftest.$ac_ext
32295 LIBS="$ac_xsave_LIBS"
32296
32297 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32298 # to get the SysV transport functions.
32299 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32300 # needs -lnsl.
32301 # The nsl library prevents programs from opening the X display
32302 # on Irix 5.2, according to T.E. Dickey.
32303 # The functions gethostbyname, getservbyname, and inet_addr are
32304 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32305 echo "$as_me:$LINENO: checking for gethostbyname" >&5
32306 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
32307 if test "${ac_cv_func_gethostbyname+set}" = set; then
32308 echo $ECHO_N "(cached) $ECHO_C" >&6
32309 else
32310 cat >conftest.$ac_ext <<_ACEOF
32311 /* confdefs.h. */
32312 _ACEOF
32313 cat confdefs.h >>conftest.$ac_ext
32314 cat >>conftest.$ac_ext <<_ACEOF
32315 /* end confdefs.h. */
32316 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32318 #define gethostbyname innocuous_gethostbyname
32319
32320 /* System header to define __stub macros and hopefully few prototypes,
32321 which can conflict with char gethostbyname (); below.
32322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32323 <limits.h> exists even on freestanding compilers. */
32324
32325 #ifdef __STDC__
32326 # include <limits.h>
32327 #else
32328 # include <assert.h>
32329 #endif
32330
32331 #undef gethostbyname
32332
32333 /* Override any gcc2 internal prototype to avoid an error. */
32334 #ifdef __cplusplus
32335 extern "C"
32336 {
32337 #endif
32338 /* We use char because int might match the return type of a gcc2
32339 builtin and then its argument prototype would still apply. */
32340 char gethostbyname ();
32341 /* The GNU C library defines this for functions which it implements
32342 to always fail with ENOSYS. Some functions are actually named
32343 something starting with __ and the normal name is an alias. */
32344 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
32345 choke me
32346 #else
32347 char (*f) () = gethostbyname;
32348 #endif
32349 #ifdef __cplusplus
32350 }
32351 #endif
32352
32353 int
32354 main ()
32355 {
32356 return f != gethostbyname;
32357 ;
32358 return 0;
32359 }
32360 _ACEOF
32361 rm -f conftest.$ac_objext conftest$ac_exeext
32362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32363 (eval $ac_link) 2>conftest.er1
32364 ac_status=$?
32365 grep -v '^ *+' conftest.er1 >conftest.err
32366 rm -f conftest.er1
32367 cat conftest.err >&5
32368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32369 (exit $ac_status); } &&
32370 { ac_try='test -z "$ac_c_werror_flag"
32371 || test ! -s conftest.err'
32372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32373 (eval $ac_try) 2>&5
32374 ac_status=$?
32375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376 (exit $ac_status); }; } &&
32377 { ac_try='test -s conftest$ac_exeext'
32378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32379 (eval $ac_try) 2>&5
32380 ac_status=$?
32381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32382 (exit $ac_status); }; }; then
32383 ac_cv_func_gethostbyname=yes
32384 else
32385 echo "$as_me: failed program was:" >&5
32386 sed 's/^/| /' conftest.$ac_ext >&5
32387
32388 ac_cv_func_gethostbyname=no
32389 fi
32390 rm -f conftest.err conftest.$ac_objext \
32391 conftest$ac_exeext conftest.$ac_ext
32392 fi
32393 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32394 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
32395
32396 if test $ac_cv_func_gethostbyname = no; then
32397 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32398 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
32399 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32400 echo $ECHO_N "(cached) $ECHO_C" >&6
32401 else
32402 ac_check_lib_save_LIBS=$LIBS
32403 LIBS="-lnsl $LIBS"
32404 cat >conftest.$ac_ext <<_ACEOF
32405 /* confdefs.h. */
32406 _ACEOF
32407 cat confdefs.h >>conftest.$ac_ext
32408 cat >>conftest.$ac_ext <<_ACEOF
32409 /* end confdefs.h. */
32410
32411 /* Override any gcc2 internal prototype to avoid an error. */
32412 #ifdef __cplusplus
32413 extern "C"
32414 #endif
32415 /* We use char because int might match the return type of a gcc2
32416 builtin and then its argument prototype would still apply. */
32417 char gethostbyname ();
32418 int
32419 main ()
32420 {
32421 gethostbyname ();
32422 ;
32423 return 0;
32424 }
32425 _ACEOF
32426 rm -f conftest.$ac_objext conftest$ac_exeext
32427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32428 (eval $ac_link) 2>conftest.er1
32429 ac_status=$?
32430 grep -v '^ *+' conftest.er1 >conftest.err
32431 rm -f conftest.er1
32432 cat conftest.err >&5
32433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32434 (exit $ac_status); } &&
32435 { ac_try='test -z "$ac_c_werror_flag"
32436 || test ! -s conftest.err'
32437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32438 (eval $ac_try) 2>&5
32439 ac_status=$?
32440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32441 (exit $ac_status); }; } &&
32442 { ac_try='test -s conftest$ac_exeext'
32443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32444 (eval $ac_try) 2>&5
32445 ac_status=$?
32446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32447 (exit $ac_status); }; }; then
32448 ac_cv_lib_nsl_gethostbyname=yes
32449 else
32450 echo "$as_me: failed program was:" >&5
32451 sed 's/^/| /' conftest.$ac_ext >&5
32452
32453 ac_cv_lib_nsl_gethostbyname=no
32454 fi
32455 rm -f conftest.err conftest.$ac_objext \
32456 conftest$ac_exeext conftest.$ac_ext
32457 LIBS=$ac_check_lib_save_LIBS
32458 fi
32459 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32460 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
32461 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32462 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32463 fi
32464
32465 if test $ac_cv_lib_nsl_gethostbyname = no; then
32466 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32467 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
32468 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32469 echo $ECHO_N "(cached) $ECHO_C" >&6
32470 else
32471 ac_check_lib_save_LIBS=$LIBS
32472 LIBS="-lbsd $LIBS"
32473 cat >conftest.$ac_ext <<_ACEOF
32474 /* confdefs.h. */
32475 _ACEOF
32476 cat confdefs.h >>conftest.$ac_ext
32477 cat >>conftest.$ac_ext <<_ACEOF
32478 /* end confdefs.h. */
32479
32480 /* Override any gcc2 internal prototype to avoid an error. */
32481 #ifdef __cplusplus
32482 extern "C"
32483 #endif
32484 /* We use char because int might match the return type of a gcc2
32485 builtin and then its argument prototype would still apply. */
32486 char gethostbyname ();
32487 int
32488 main ()
32489 {
32490 gethostbyname ();
32491 ;
32492 return 0;
32493 }
32494 _ACEOF
32495 rm -f conftest.$ac_objext conftest$ac_exeext
32496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32497 (eval $ac_link) 2>conftest.er1
32498 ac_status=$?
32499 grep -v '^ *+' conftest.er1 >conftest.err
32500 rm -f conftest.er1
32501 cat conftest.err >&5
32502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32503 (exit $ac_status); } &&
32504 { ac_try='test -z "$ac_c_werror_flag"
32505 || test ! -s conftest.err'
32506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32507 (eval $ac_try) 2>&5
32508 ac_status=$?
32509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32510 (exit $ac_status); }; } &&
32511 { ac_try='test -s conftest$ac_exeext'
32512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32513 (eval $ac_try) 2>&5
32514 ac_status=$?
32515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32516 (exit $ac_status); }; }; then
32517 ac_cv_lib_bsd_gethostbyname=yes
32518 else
32519 echo "$as_me: failed program was:" >&5
32520 sed 's/^/| /' conftest.$ac_ext >&5
32521
32522 ac_cv_lib_bsd_gethostbyname=no
32523 fi
32524 rm -f conftest.err conftest.$ac_objext \
32525 conftest$ac_exeext conftest.$ac_ext
32526 LIBS=$ac_check_lib_save_LIBS
32527 fi
32528 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32529 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
32530 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32531 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32532 fi
32533
32534 fi
32535 fi
32536
32537 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32538 # socket/setsockopt and other routines are undefined under SCO ODT
32539 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32540 # on later versions), says Simon Leinen: it contains gethostby*
32541 # variants that don't use the name server (or something). -lsocket
32542 # must be given before -lnsl if both are needed. We assume that
32543 # if connect needs -lnsl, so does gethostbyname.
32544 echo "$as_me:$LINENO: checking for connect" >&5
32545 echo $ECHO_N "checking for connect... $ECHO_C" >&6
32546 if test "${ac_cv_func_connect+set}" = set; then
32547 echo $ECHO_N "(cached) $ECHO_C" >&6
32548 else
32549 cat >conftest.$ac_ext <<_ACEOF
32550 /* confdefs.h. */
32551 _ACEOF
32552 cat confdefs.h >>conftest.$ac_ext
32553 cat >>conftest.$ac_ext <<_ACEOF
32554 /* end confdefs.h. */
32555 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32557 #define connect innocuous_connect
32558
32559 /* System header to define __stub macros and hopefully few prototypes,
32560 which can conflict with char connect (); below.
32561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32562 <limits.h> exists even on freestanding compilers. */
32563
32564 #ifdef __STDC__
32565 # include <limits.h>
32566 #else
32567 # include <assert.h>
32568 #endif
32569
32570 #undef connect
32571
32572 /* Override any gcc2 internal prototype to avoid an error. */
32573 #ifdef __cplusplus
32574 extern "C"
32575 {
32576 #endif
32577 /* We use char because int might match the return type of a gcc2
32578 builtin and then its argument prototype would still apply. */
32579 char connect ();
32580 /* The GNU C library defines this for functions which it implements
32581 to always fail with ENOSYS. Some functions are actually named
32582 something starting with __ and the normal name is an alias. */
32583 #if defined (__stub_connect) || defined (__stub___connect)
32584 choke me
32585 #else
32586 char (*f) () = connect;
32587 #endif
32588 #ifdef __cplusplus
32589 }
32590 #endif
32591
32592 int
32593 main ()
32594 {
32595 return f != connect;
32596 ;
32597 return 0;
32598 }
32599 _ACEOF
32600 rm -f conftest.$ac_objext conftest$ac_exeext
32601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32602 (eval $ac_link) 2>conftest.er1
32603 ac_status=$?
32604 grep -v '^ *+' conftest.er1 >conftest.err
32605 rm -f conftest.er1
32606 cat conftest.err >&5
32607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32608 (exit $ac_status); } &&
32609 { ac_try='test -z "$ac_c_werror_flag"
32610 || test ! -s conftest.err'
32611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32612 (eval $ac_try) 2>&5
32613 ac_status=$?
32614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32615 (exit $ac_status); }; } &&
32616 { ac_try='test -s conftest$ac_exeext'
32617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32618 (eval $ac_try) 2>&5
32619 ac_status=$?
32620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32621 (exit $ac_status); }; }; then
32622 ac_cv_func_connect=yes
32623 else
32624 echo "$as_me: failed program was:" >&5
32625 sed 's/^/| /' conftest.$ac_ext >&5
32626
32627 ac_cv_func_connect=no
32628 fi
32629 rm -f conftest.err conftest.$ac_objext \
32630 conftest$ac_exeext conftest.$ac_ext
32631 fi
32632 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32633 echo "${ECHO_T}$ac_cv_func_connect" >&6
32634
32635 if test $ac_cv_func_connect = no; then
32636 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32637 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
32638 if test "${ac_cv_lib_socket_connect+set}" = set; then
32639 echo $ECHO_N "(cached) $ECHO_C" >&6
32640 else
32641 ac_check_lib_save_LIBS=$LIBS
32642 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32643 cat >conftest.$ac_ext <<_ACEOF
32644 /* confdefs.h. */
32645 _ACEOF
32646 cat confdefs.h >>conftest.$ac_ext
32647 cat >>conftest.$ac_ext <<_ACEOF
32648 /* end confdefs.h. */
32649
32650 /* Override any gcc2 internal prototype to avoid an error. */
32651 #ifdef __cplusplus
32652 extern "C"
32653 #endif
32654 /* We use char because int might match the return type of a gcc2
32655 builtin and then its argument prototype would still apply. */
32656 char connect ();
32657 int
32658 main ()
32659 {
32660 connect ();
32661 ;
32662 return 0;
32663 }
32664 _ACEOF
32665 rm -f conftest.$ac_objext conftest$ac_exeext
32666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32667 (eval $ac_link) 2>conftest.er1
32668 ac_status=$?
32669 grep -v '^ *+' conftest.er1 >conftest.err
32670 rm -f conftest.er1
32671 cat conftest.err >&5
32672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32673 (exit $ac_status); } &&
32674 { ac_try='test -z "$ac_c_werror_flag"
32675 || test ! -s conftest.err'
32676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32677 (eval $ac_try) 2>&5
32678 ac_status=$?
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); }; } &&
32681 { ac_try='test -s conftest$ac_exeext'
32682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32683 (eval $ac_try) 2>&5
32684 ac_status=$?
32685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32686 (exit $ac_status); }; }; then
32687 ac_cv_lib_socket_connect=yes
32688 else
32689 echo "$as_me: failed program was:" >&5
32690 sed 's/^/| /' conftest.$ac_ext >&5
32691
32692 ac_cv_lib_socket_connect=no
32693 fi
32694 rm -f conftest.err conftest.$ac_objext \
32695 conftest$ac_exeext conftest.$ac_ext
32696 LIBS=$ac_check_lib_save_LIBS
32697 fi
32698 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32699 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
32700 if test $ac_cv_lib_socket_connect = yes; then
32701 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32702 fi
32703
32704 fi
32705
32706 # Guillermo Gomez says -lposix is necessary on A/UX.
32707 echo "$as_me:$LINENO: checking for remove" >&5
32708 echo $ECHO_N "checking for remove... $ECHO_C" >&6
32709 if test "${ac_cv_func_remove+set}" = set; then
32710 echo $ECHO_N "(cached) $ECHO_C" >&6
32711 else
32712 cat >conftest.$ac_ext <<_ACEOF
32713 /* confdefs.h. */
32714 _ACEOF
32715 cat confdefs.h >>conftest.$ac_ext
32716 cat >>conftest.$ac_ext <<_ACEOF
32717 /* end confdefs.h. */
32718 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32720 #define remove innocuous_remove
32721
32722 /* System header to define __stub macros and hopefully few prototypes,
32723 which can conflict with char remove (); below.
32724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32725 <limits.h> exists even on freestanding compilers. */
32726
32727 #ifdef __STDC__
32728 # include <limits.h>
32729 #else
32730 # include <assert.h>
32731 #endif
32732
32733 #undef remove
32734
32735 /* Override any gcc2 internal prototype to avoid an error. */
32736 #ifdef __cplusplus
32737 extern "C"
32738 {
32739 #endif
32740 /* We use char because int might match the return type of a gcc2
32741 builtin and then its argument prototype would still apply. */
32742 char remove ();
32743 /* The GNU C library defines this for functions which it implements
32744 to always fail with ENOSYS. Some functions are actually named
32745 something starting with __ and the normal name is an alias. */
32746 #if defined (__stub_remove) || defined (__stub___remove)
32747 choke me
32748 #else
32749 char (*f) () = remove;
32750 #endif
32751 #ifdef __cplusplus
32752 }
32753 #endif
32754
32755 int
32756 main ()
32757 {
32758 return f != remove;
32759 ;
32760 return 0;
32761 }
32762 _ACEOF
32763 rm -f conftest.$ac_objext conftest$ac_exeext
32764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32765 (eval $ac_link) 2>conftest.er1
32766 ac_status=$?
32767 grep -v '^ *+' conftest.er1 >conftest.err
32768 rm -f conftest.er1
32769 cat conftest.err >&5
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); } &&
32772 { ac_try='test -z "$ac_c_werror_flag"
32773 || test ! -s conftest.err'
32774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32775 (eval $ac_try) 2>&5
32776 ac_status=$?
32777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32778 (exit $ac_status); }; } &&
32779 { ac_try='test -s conftest$ac_exeext'
32780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32781 (eval $ac_try) 2>&5
32782 ac_status=$?
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); }; }; then
32785 ac_cv_func_remove=yes
32786 else
32787 echo "$as_me: failed program was:" >&5
32788 sed 's/^/| /' conftest.$ac_ext >&5
32789
32790 ac_cv_func_remove=no
32791 fi
32792 rm -f conftest.err conftest.$ac_objext \
32793 conftest$ac_exeext conftest.$ac_ext
32794 fi
32795 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32796 echo "${ECHO_T}$ac_cv_func_remove" >&6
32797
32798 if test $ac_cv_func_remove = no; then
32799 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32800 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
32801 if test "${ac_cv_lib_posix_remove+set}" = set; then
32802 echo $ECHO_N "(cached) $ECHO_C" >&6
32803 else
32804 ac_check_lib_save_LIBS=$LIBS
32805 LIBS="-lposix $LIBS"
32806 cat >conftest.$ac_ext <<_ACEOF
32807 /* confdefs.h. */
32808 _ACEOF
32809 cat confdefs.h >>conftest.$ac_ext
32810 cat >>conftest.$ac_ext <<_ACEOF
32811 /* end confdefs.h. */
32812
32813 /* Override any gcc2 internal prototype to avoid an error. */
32814 #ifdef __cplusplus
32815 extern "C"
32816 #endif
32817 /* We use char because int might match the return type of a gcc2
32818 builtin and then its argument prototype would still apply. */
32819 char remove ();
32820 int
32821 main ()
32822 {
32823 remove ();
32824 ;
32825 return 0;
32826 }
32827 _ACEOF
32828 rm -f conftest.$ac_objext conftest$ac_exeext
32829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32830 (eval $ac_link) 2>conftest.er1
32831 ac_status=$?
32832 grep -v '^ *+' conftest.er1 >conftest.err
32833 rm -f conftest.er1
32834 cat conftest.err >&5
32835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32836 (exit $ac_status); } &&
32837 { ac_try='test -z "$ac_c_werror_flag"
32838 || test ! -s conftest.err'
32839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32840 (eval $ac_try) 2>&5
32841 ac_status=$?
32842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32843 (exit $ac_status); }; } &&
32844 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
32850 ac_cv_lib_posix_remove=yes
32851 else
32852 echo "$as_me: failed program was:" >&5
32853 sed 's/^/| /' conftest.$ac_ext >&5
32854
32855 ac_cv_lib_posix_remove=no
32856 fi
32857 rm -f conftest.err conftest.$ac_objext \
32858 conftest$ac_exeext conftest.$ac_ext
32859 LIBS=$ac_check_lib_save_LIBS
32860 fi
32861 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32862 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
32863 if test $ac_cv_lib_posix_remove = yes; then
32864 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32865 fi
32866
32867 fi
32868
32869 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32870 echo "$as_me:$LINENO: checking for shmat" >&5
32871 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
32872 if test "${ac_cv_func_shmat+set}" = set; then
32873 echo $ECHO_N "(cached) $ECHO_C" >&6
32874 else
32875 cat >conftest.$ac_ext <<_ACEOF
32876 /* confdefs.h. */
32877 _ACEOF
32878 cat confdefs.h >>conftest.$ac_ext
32879 cat >>conftest.$ac_ext <<_ACEOF
32880 /* end confdefs.h. */
32881 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32883 #define shmat innocuous_shmat
32884
32885 /* System header to define __stub macros and hopefully few prototypes,
32886 which can conflict with char shmat (); below.
32887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32888 <limits.h> exists even on freestanding compilers. */
32889
32890 #ifdef __STDC__
32891 # include <limits.h>
32892 #else
32893 # include <assert.h>
32894 #endif
32895
32896 #undef shmat
32897
32898 /* Override any gcc2 internal prototype to avoid an error. */
32899 #ifdef __cplusplus
32900 extern "C"
32901 {
32902 #endif
32903 /* We use char because int might match the return type of a gcc2
32904 builtin and then its argument prototype would still apply. */
32905 char shmat ();
32906 /* The GNU C library defines this for functions which it implements
32907 to always fail with ENOSYS. Some functions are actually named
32908 something starting with __ and the normal name is an alias. */
32909 #if defined (__stub_shmat) || defined (__stub___shmat)
32910 choke me
32911 #else
32912 char (*f) () = shmat;
32913 #endif
32914 #ifdef __cplusplus
32915 }
32916 #endif
32917
32918 int
32919 main ()
32920 {
32921 return f != shmat;
32922 ;
32923 return 0;
32924 }
32925 _ACEOF
32926 rm -f conftest.$ac_objext conftest$ac_exeext
32927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32928 (eval $ac_link) 2>conftest.er1
32929 ac_status=$?
32930 grep -v '^ *+' conftest.er1 >conftest.err
32931 rm -f conftest.er1
32932 cat conftest.err >&5
32933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32934 (exit $ac_status); } &&
32935 { ac_try='test -z "$ac_c_werror_flag"
32936 || test ! -s conftest.err'
32937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32938 (eval $ac_try) 2>&5
32939 ac_status=$?
32940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941 (exit $ac_status); }; } &&
32942 { ac_try='test -s conftest$ac_exeext'
32943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32944 (eval $ac_try) 2>&5
32945 ac_status=$?
32946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32947 (exit $ac_status); }; }; then
32948 ac_cv_func_shmat=yes
32949 else
32950 echo "$as_me: failed program was:" >&5
32951 sed 's/^/| /' conftest.$ac_ext >&5
32952
32953 ac_cv_func_shmat=no
32954 fi
32955 rm -f conftest.err conftest.$ac_objext \
32956 conftest$ac_exeext conftest.$ac_ext
32957 fi
32958 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32959 echo "${ECHO_T}$ac_cv_func_shmat" >&6
32960
32961 if test $ac_cv_func_shmat = no; then
32962 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32963 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
32964 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32965 echo $ECHO_N "(cached) $ECHO_C" >&6
32966 else
32967 ac_check_lib_save_LIBS=$LIBS
32968 LIBS="-lipc $LIBS"
32969 cat >conftest.$ac_ext <<_ACEOF
32970 /* confdefs.h. */
32971 _ACEOF
32972 cat confdefs.h >>conftest.$ac_ext
32973 cat >>conftest.$ac_ext <<_ACEOF
32974 /* end confdefs.h. */
32975
32976 /* Override any gcc2 internal prototype to avoid an error. */
32977 #ifdef __cplusplus
32978 extern "C"
32979 #endif
32980 /* We use char because int might match the return type of a gcc2
32981 builtin and then its argument prototype would still apply. */
32982 char shmat ();
32983 int
32984 main ()
32985 {
32986 shmat ();
32987 ;
32988 return 0;
32989 }
32990 _ACEOF
32991 rm -f conftest.$ac_objext conftest$ac_exeext
32992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32993 (eval $ac_link) 2>conftest.er1
32994 ac_status=$?
32995 grep -v '^ *+' conftest.er1 >conftest.err
32996 rm -f conftest.er1
32997 cat conftest.err >&5
32998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32999 (exit $ac_status); } &&
33000 { ac_try='test -z "$ac_c_werror_flag"
33001 || test ! -s conftest.err'
33002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33003 (eval $ac_try) 2>&5
33004 ac_status=$?
33005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006 (exit $ac_status); }; } &&
33007 { ac_try='test -s conftest$ac_exeext'
33008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33009 (eval $ac_try) 2>&5
33010 ac_status=$?
33011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33012 (exit $ac_status); }; }; then
33013 ac_cv_lib_ipc_shmat=yes
33014 else
33015 echo "$as_me: failed program was:" >&5
33016 sed 's/^/| /' conftest.$ac_ext >&5
33017
33018 ac_cv_lib_ipc_shmat=no
33019 fi
33020 rm -f conftest.err conftest.$ac_objext \
33021 conftest$ac_exeext conftest.$ac_ext
33022 LIBS=$ac_check_lib_save_LIBS
33023 fi
33024 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33025 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
33026 if test $ac_cv_lib_ipc_shmat = yes; then
33027 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33028 fi
33029
33030 fi
33031 fi
33032
33033 # Check for libraries that X11R6 Xt/Xaw programs need.
33034 ac_save_LDFLAGS=$LDFLAGS
33035 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33036 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33037 # check for ICE first), but we must link in the order -lSM -lICE or
33038 # we get undefined symbols. So assume we have SM if we have ICE.
33039 # These have to be linked with before -lX11, unlike the other
33040 # libraries we check for below, so use a different variable.
33041 # John Interrante, Karl Berry
33042 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33043 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
33044 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33045 echo $ECHO_N "(cached) $ECHO_C" >&6
33046 else
33047 ac_check_lib_save_LIBS=$LIBS
33048 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33049 cat >conftest.$ac_ext <<_ACEOF
33050 /* confdefs.h. */
33051 _ACEOF
33052 cat confdefs.h >>conftest.$ac_ext
33053 cat >>conftest.$ac_ext <<_ACEOF
33054 /* end confdefs.h. */
33055
33056 /* Override any gcc2 internal prototype to avoid an error. */
33057 #ifdef __cplusplus
33058 extern "C"
33059 #endif
33060 /* We use char because int might match the return type of a gcc2
33061 builtin and then its argument prototype would still apply. */
33062 char IceConnectionNumber ();
33063 int
33064 main ()
33065 {
33066 IceConnectionNumber ();
33067 ;
33068 return 0;
33069 }
33070 _ACEOF
33071 rm -f conftest.$ac_objext conftest$ac_exeext
33072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33073 (eval $ac_link) 2>conftest.er1
33074 ac_status=$?
33075 grep -v '^ *+' conftest.er1 >conftest.err
33076 rm -f conftest.er1
33077 cat conftest.err >&5
33078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33079 (exit $ac_status); } &&
33080 { ac_try='test -z "$ac_c_werror_flag"
33081 || test ! -s conftest.err'
33082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33083 (eval $ac_try) 2>&5
33084 ac_status=$?
33085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33086 (exit $ac_status); }; } &&
33087 { ac_try='test -s conftest$ac_exeext'
33088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33089 (eval $ac_try) 2>&5
33090 ac_status=$?
33091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33092 (exit $ac_status); }; }; then
33093 ac_cv_lib_ICE_IceConnectionNumber=yes
33094 else
33095 echo "$as_me: failed program was:" >&5
33096 sed 's/^/| /' conftest.$ac_ext >&5
33097
33098 ac_cv_lib_ICE_IceConnectionNumber=no
33099 fi
33100 rm -f conftest.err conftest.$ac_objext \
33101 conftest$ac_exeext conftest.$ac_ext
33102 LIBS=$ac_check_lib_save_LIBS
33103 fi
33104 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33105 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
33106 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33107 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33108 fi
33109
33110 LDFLAGS=$ac_save_LDFLAGS
33111
33112 fi
33113
33114
33115 if test "$no_x" = "yes"; then
33116 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33117 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33118 { (exit 1); exit 1; }; }
33119 fi
33120
33121 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33122 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33123 AFMINSTALL=afminstall
33124 COMPILED_X_PROGRAM=0
33125
33126 fi
33127
33128 if test "$wxUSE_X11" = 1; then
33129 if test "$wxUSE_NANOX" = "yes"; then
33130 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33131 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
33132 if test "x$MICROWIN" = x ; then
33133 echo "$as_me:$LINENO: result: not found" >&5
33134 echo "${ECHO_T}not found" >&6
33135 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33136 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33137 { (exit 1); exit 1; }; }
33138 else
33139 echo "$as_me:$LINENO: result: $MICROWIN" >&5
33140 echo "${ECHO_T}$MICROWIN" >&6
33141 cat >>confdefs.h <<\_ACEOF
33142 #define wxUSE_NANOX 1
33143 _ACEOF
33144
33145 fi
33146 fi
33147
33148 if test "$wxUSE_UNICODE" = "yes"; then
33149
33150
33151 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33152 if test -n "$ac_tool_prefix"; then
33153 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33154 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33155 echo "$as_me:$LINENO: checking for $ac_word" >&5
33156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33157 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33158 echo $ECHO_N "(cached) $ECHO_C" >&6
33159 else
33160 case $PKG_CONFIG in
33161 [\\/]* | ?:[\\/]*)
33162 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33163 ;;
33164 *)
33165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33166 for as_dir in $PATH
33167 do
33168 IFS=$as_save_IFS
33169 test -z "$as_dir" && as_dir=.
33170 for ac_exec_ext in '' $ac_executable_extensions; do
33171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33172 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33174 break 2
33175 fi
33176 done
33177 done
33178
33179 ;;
33180 esac
33181 fi
33182 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33183
33184 if test -n "$PKG_CONFIG"; then
33185 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33186 echo "${ECHO_T}$PKG_CONFIG" >&6
33187 else
33188 echo "$as_me:$LINENO: result: no" >&5
33189 echo "${ECHO_T}no" >&6
33190 fi
33191
33192 fi
33193 if test -z "$ac_cv_path_PKG_CONFIG"; then
33194 ac_pt_PKG_CONFIG=$PKG_CONFIG
33195 # Extract the first word of "pkg-config", so it can be a program name with args.
33196 set dummy pkg-config; ac_word=$2
33197 echo "$as_me:$LINENO: checking for $ac_word" >&5
33198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33199 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33200 echo $ECHO_N "(cached) $ECHO_C" >&6
33201 else
33202 case $ac_pt_PKG_CONFIG in
33203 [\\/]* | ?:[\\/]*)
33204 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33205 ;;
33206 *)
33207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33208 for as_dir in $PATH
33209 do
33210 IFS=$as_save_IFS
33211 test -z "$as_dir" && as_dir=.
33212 for ac_exec_ext in '' $ac_executable_extensions; do
33213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33214 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33216 break 2
33217 fi
33218 done
33219 done
33220
33221 ;;
33222 esac
33223 fi
33224 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33225
33226 if test -n "$ac_pt_PKG_CONFIG"; then
33227 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33228 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
33229 else
33230 echo "$as_me:$LINENO: result: no" >&5
33231 echo "${ECHO_T}no" >&6
33232 fi
33233
33234 PKG_CONFIG=$ac_pt_PKG_CONFIG
33235 else
33236 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33237 fi
33238
33239 fi
33240 if test -n "$PKG_CONFIG"; then
33241 _pkg_min_version=0.9.0
33242 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33243 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
33244 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33245 echo "$as_me:$LINENO: result: yes" >&5
33246 echo "${ECHO_T}yes" >&6
33247 else
33248 echo "$as_me:$LINENO: result: no" >&5
33249 echo "${ECHO_T}no" >&6
33250 PKG_CONFIG=""
33251 fi
33252
33253 fi
33254
33255
33256 pkg_failed=no
33257 echo "$as_me:$LINENO: checking for PANGOX" >&5
33258 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
33259
33260 if test -n "$PKG_CONFIG"; then
33261 if test -n "$PANGOX_CFLAGS"; then
33262 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33263 else
33264 if test -n "$PKG_CONFIG" && \
33265 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33266 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33267 ac_status=$?
33268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33269 (exit $ac_status); }; then
33270 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33271 else
33272 pkg_failed=yes
33273 fi
33274 fi
33275 else
33276 pkg_failed=untried
33277 fi
33278 if test -n "$PKG_CONFIG"; then
33279 if test -n "$PANGOX_LIBS"; then
33280 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33281 else
33282 if test -n "$PKG_CONFIG" && \
33283 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33284 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33285 ac_status=$?
33286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33287 (exit $ac_status); }; then
33288 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33289 else
33290 pkg_failed=yes
33291 fi
33292 fi
33293 else
33294 pkg_failed=untried
33295 fi
33296
33297
33298
33299 if test $pkg_failed = yes; then
33300
33301 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33302 _pkg_short_errors_supported=yes
33303 else
33304 _pkg_short_errors_supported=no
33305 fi
33306 if test $_pkg_short_errors_supported = yes; then
33307 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33308 else
33309 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33310 fi
33311 # Put the nasty error message in config.log where it belongs
33312 echo "$PANGOX_PKG_ERRORS" >&5
33313
33314
33315 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33316 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33317 { (exit 1); exit 1; }; }
33318
33319
33320 elif test $pkg_failed = untried; then
33321
33322 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33323 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33324 { (exit 1); exit 1; }; }
33325
33326
33327 else
33328 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33329 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33330 echo "$as_me:$LINENO: result: yes" >&5
33331 echo "${ECHO_T}yes" >&6
33332
33333 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33334 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33335 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33336
33337 fi
33338
33339 pkg_failed=no
33340 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33341 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
33342
33343 if test -n "$PKG_CONFIG"; then
33344 if test -n "$PANGOFT2_CFLAGS"; then
33345 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33346 else
33347 if test -n "$PKG_CONFIG" && \
33348 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33349 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33350 ac_status=$?
33351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33352 (exit $ac_status); }; then
33353 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33354 else
33355 pkg_failed=yes
33356 fi
33357 fi
33358 else
33359 pkg_failed=untried
33360 fi
33361 if test -n "$PKG_CONFIG"; then
33362 if test -n "$PANGOFT2_LIBS"; then
33363 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33364 else
33365 if test -n "$PKG_CONFIG" && \
33366 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33367 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33368 ac_status=$?
33369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33370 (exit $ac_status); }; then
33371 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33372 else
33373 pkg_failed=yes
33374 fi
33375 fi
33376 else
33377 pkg_failed=untried
33378 fi
33379
33380
33381
33382 if test $pkg_failed = yes; then
33383
33384 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33385 _pkg_short_errors_supported=yes
33386 else
33387 _pkg_short_errors_supported=no
33388 fi
33389 if test $_pkg_short_errors_supported = yes; then
33390 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33391 else
33392 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33393 fi
33394 # Put the nasty error message in config.log where it belongs
33395 echo "$PANGOFT2_PKG_ERRORS" >&5
33396
33397
33398 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33399 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33400 wxUSE_PRINTING_ARCHITECTURE="no"
33401
33402
33403 elif test $pkg_failed = untried; then
33404
33405 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33406 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33407 wxUSE_PRINTING_ARCHITECTURE="no"
33408
33409
33410 else
33411 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33412 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33413 echo "$as_me:$LINENO: result: yes" >&5
33414 echo "${ECHO_T}yes" >&6
33415
33416 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33417 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33418 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33419
33420 fi
33421
33422 pkg_failed=no
33423 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33424 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
33425
33426 if test -n "$PKG_CONFIG"; then
33427 if test -n "$PANGOXFT_CFLAGS"; then
33428 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33429 else
33430 if test -n "$PKG_CONFIG" && \
33431 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33432 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33433 ac_status=$?
33434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33435 (exit $ac_status); }; then
33436 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33437 else
33438 pkg_failed=yes
33439 fi
33440 fi
33441 else
33442 pkg_failed=untried
33443 fi
33444 if test -n "$PKG_CONFIG"; then
33445 if test -n "$PANGOXFT_LIBS"; then
33446 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33447 else
33448 if test -n "$PKG_CONFIG" && \
33449 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33450 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33451 ac_status=$?
33452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453 (exit $ac_status); }; then
33454 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33455 else
33456 pkg_failed=yes
33457 fi
33458 fi
33459 else
33460 pkg_failed=untried
33461 fi
33462
33463
33464
33465 if test $pkg_failed = yes; then
33466
33467 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33468 _pkg_short_errors_supported=yes
33469 else
33470 _pkg_short_errors_supported=no
33471 fi
33472 if test $_pkg_short_errors_supported = yes; then
33473 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33474 else
33475 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33476 fi
33477 # Put the nasty error message in config.log where it belongs
33478 echo "$PANGOXFT_PKG_ERRORS" >&5
33479
33480
33481 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33482 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33483
33484
33485 elif test $pkg_failed = untried; then
33486
33487 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33488 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33489
33490
33491 else
33492 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33493 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33494 echo "$as_me:$LINENO: result: yes" >&5
33495 echo "${ECHO_T}yes" >&6
33496
33497 cat >>confdefs.h <<\_ACEOF
33498 #define HAVE_PANGO_XFT 1
33499 _ACEOF
33500
33501 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33502 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33503 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33504
33505 fi
33506 save_LIBS="$LIBS"
33507 LIBS="$LIBS $PANGOX_LIBS"
33508
33509 for ac_func in pango_font_family_is_monospace
33510 do
33511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33512 echo "$as_me:$LINENO: checking for $ac_func" >&5
33513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33514 if eval "test \"\${$as_ac_var+set}\" = set"; then
33515 echo $ECHO_N "(cached) $ECHO_C" >&6
33516 else
33517 cat >conftest.$ac_ext <<_ACEOF
33518 /* confdefs.h. */
33519 _ACEOF
33520 cat confdefs.h >>conftest.$ac_ext
33521 cat >>conftest.$ac_ext <<_ACEOF
33522 /* end confdefs.h. */
33523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33525 #define $ac_func innocuous_$ac_func
33526
33527 /* System header to define __stub macros and hopefully few prototypes,
33528 which can conflict with char $ac_func (); below.
33529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33530 <limits.h> exists even on freestanding compilers. */
33531
33532 #ifdef __STDC__
33533 # include <limits.h>
33534 #else
33535 # include <assert.h>
33536 #endif
33537
33538 #undef $ac_func
33539
33540 /* Override any gcc2 internal prototype to avoid an error. */
33541 #ifdef __cplusplus
33542 extern "C"
33543 {
33544 #endif
33545 /* We use char because int might match the return type of a gcc2
33546 builtin and then its argument prototype would still apply. */
33547 char $ac_func ();
33548 /* The GNU C library defines this for functions which it implements
33549 to always fail with ENOSYS. Some functions are actually named
33550 something starting with __ and the normal name is an alias. */
33551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33552 choke me
33553 #else
33554 char (*f) () = $ac_func;
33555 #endif
33556 #ifdef __cplusplus
33557 }
33558 #endif
33559
33560 int
33561 main ()
33562 {
33563 return f != $ac_func;
33564 ;
33565 return 0;
33566 }
33567 _ACEOF
33568 rm -f conftest.$ac_objext conftest$ac_exeext
33569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33570 (eval $ac_link) 2>conftest.er1
33571 ac_status=$?
33572 grep -v '^ *+' conftest.er1 >conftest.err
33573 rm -f conftest.er1
33574 cat conftest.err >&5
33575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33576 (exit $ac_status); } &&
33577 { ac_try='test -z "$ac_c_werror_flag"
33578 || test ! -s conftest.err'
33579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33580 (eval $ac_try) 2>&5
33581 ac_status=$?
33582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33583 (exit $ac_status); }; } &&
33584 { ac_try='test -s conftest$ac_exeext'
33585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33586 (eval $ac_try) 2>&5
33587 ac_status=$?
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); }; }; then
33590 eval "$as_ac_var=yes"
33591 else
33592 echo "$as_me: failed program was:" >&5
33593 sed 's/^/| /' conftest.$ac_ext >&5
33594
33595 eval "$as_ac_var=no"
33596 fi
33597 rm -f conftest.err conftest.$ac_objext \
33598 conftest$ac_exeext conftest.$ac_ext
33599 fi
33600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33602 if test `eval echo '${'$as_ac_var'}'` = yes; then
33603 cat >>confdefs.h <<_ACEOF
33604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33605 _ACEOF
33606
33607 fi
33608 done
33609
33610 LIBS="$save_LIBS"
33611 fi
33612
33613 wxUSE_UNIVERSAL="yes"
33614
33615 if test "$wxUSE_NANOX" = "yes"; then
33616 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33617 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"
33618 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33619 else
33620 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33621 fi
33622
33623 TOOLKIT=X11
33624 GUIDIST=X11_DIST
33625 fi
33626
33627 if test "$wxUSE_MOTIF" = 1; then
33628 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33629 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
33630
33631 ac_find_includes=
33632 for ac_dir in $SEARCH_INCLUDE /usr/include;
33633 do
33634 if test -f "$ac_dir/Xm/Xm.h"; then
33635 ac_find_includes=$ac_dir
33636 break
33637 fi
33638 done
33639
33640 if test "$ac_find_includes" != "" ; then
33641 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33642 echo "${ECHO_T}found in $ac_find_includes" >&6
33643
33644 if test "x$ac_find_includes" = "x/usr/include"; then
33645 ac_path_to_include=""
33646 else
33647 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33648 result=$?
33649 if test $result = 0; then
33650 ac_path_to_include=""
33651 else
33652 ac_path_to_include=" -I$ac_find_includes"
33653 fi
33654 fi
33655
33656 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33657 else
33658 save_CFLAGS=$CFLAGS
33659 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33660
33661 cat >conftest.$ac_ext <<_ACEOF
33662 /* confdefs.h. */
33663 _ACEOF
33664 cat confdefs.h >>conftest.$ac_ext
33665 cat >>conftest.$ac_ext <<_ACEOF
33666 /* end confdefs.h. */
33667
33668 #include <Xm/Xm.h>
33669
33670 int
33671 main ()
33672 {
33673
33674 int version;
33675 version = xmUseVersion;
33676
33677 ;
33678 return 0;
33679 }
33680 _ACEOF
33681 rm -f conftest.$ac_objext
33682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33683 (eval $ac_compile) 2>conftest.er1
33684 ac_status=$?
33685 grep -v '^ *+' conftest.er1 >conftest.err
33686 rm -f conftest.er1
33687 cat conftest.err >&5
33688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33689 (exit $ac_status); } &&
33690 { ac_try='test -z "$ac_c_werror_flag"
33691 || test ! -s conftest.err'
33692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33693 (eval $ac_try) 2>&5
33694 ac_status=$?
33695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33696 (exit $ac_status); }; } &&
33697 { ac_try='test -s conftest.$ac_objext'
33698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33699 (eval $ac_try) 2>&5
33700 ac_status=$?
33701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33702 (exit $ac_status); }; }; then
33703
33704 echo "$as_me:$LINENO: result: found in default search path" >&5
33705 echo "${ECHO_T}found in default search path" >&6
33706 COMPILED_X_PROGRAM=1
33707
33708 else
33709 echo "$as_me: failed program was:" >&5
33710 sed 's/^/| /' conftest.$ac_ext >&5
33711
33712
33713 echo "$as_me:$LINENO: result: no" >&5
33714 echo "${ECHO_T}no" >&6
33715 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33716 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33717 { (exit 1); exit 1; }; }
33718
33719
33720 fi
33721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33722
33723 CFLAGS=$save_CFLAGS
33724 fi
33725
33726
33727 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33728 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
33729
33730 ac_find_libraries=
33731 for ac_dir in $SEARCH_LIB;
33732 do
33733 for ac_extension in a so sl dylib dll.a; do
33734 if test -f "$ac_dir/libXm.$ac_extension"; then
33735 ac_find_libraries=$ac_dir
33736 break 2
33737 fi
33738 done
33739 done
33740
33741
33742 if test "x$ac_find_libraries" != "x" ; then
33743 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33744 echo "${ECHO_T}found in $ac_find_libraries" >&6
33745
33746
33747 if test "$ac_find_libraries" = "default location"; then
33748 ac_path_to_link=""
33749 else
33750 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33751 result=$?
33752 if test $result = 0; then
33753 ac_path_to_link=""
33754 else
33755 ac_path_to_link=" -L$ac_find_libraries"
33756 fi
33757 fi
33758
33759 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33760 else
33761 save_CFLAGS=$CFLAGS
33762 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33763 save_LIBS="$LIBS"
33764 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33765
33766 cat >conftest.$ac_ext <<_ACEOF
33767 /* confdefs.h. */
33768 _ACEOF
33769 cat confdefs.h >>conftest.$ac_ext
33770 cat >>conftest.$ac_ext <<_ACEOF
33771 /* end confdefs.h. */
33772
33773 #include <Xm/Xm.h>
33774
33775 int
33776 main ()
33777 {
33778
33779 int version;
33780 version = xmUseVersion;
33781
33782 ;
33783 return 0;
33784 }
33785 _ACEOF
33786 rm -f conftest.$ac_objext conftest$ac_exeext
33787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33788 (eval $ac_link) 2>conftest.er1
33789 ac_status=$?
33790 grep -v '^ *+' conftest.er1 >conftest.err
33791 rm -f conftest.er1
33792 cat conftest.err >&5
33793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33794 (exit $ac_status); } &&
33795 { ac_try='test -z "$ac_c_werror_flag"
33796 || test ! -s conftest.err'
33797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33798 (eval $ac_try) 2>&5
33799 ac_status=$?
33800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801 (exit $ac_status); }; } &&
33802 { ac_try='test -s conftest$ac_exeext'
33803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33804 (eval $ac_try) 2>&5
33805 ac_status=$?
33806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33807 (exit $ac_status); }; }; then
33808
33809 echo "$as_me:$LINENO: result: found in default search path" >&5
33810 echo "${ECHO_T}found in default search path" >&6
33811 COMPILED_X_PROGRAM=1
33812
33813 else
33814 echo "$as_me: failed program was:" >&5
33815 sed 's/^/| /' conftest.$ac_ext >&5
33816
33817
33818 echo "$as_me:$LINENO: result: no" >&5
33819 echo "${ECHO_T}no" >&6
33820 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33821 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33822 { (exit 1); exit 1; }; }
33823
33824
33825 fi
33826 rm -f conftest.err conftest.$ac_objext \
33827 conftest$ac_exeext conftest.$ac_ext
33828
33829 CFLAGS=$save_CFLAGS
33830 LIBS="$save_LIBS"
33831 fi
33832
33833 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33834 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
33835 libp_link=""
33836 libsm_ice_link=""
33837 libs_found=0
33838 for libp in "" " -lXp"; do
33839 if test "$libs_found" = "0"; then
33840 for libsm_ice in "" " -lSM -lICE"; do
33841 if test "$libs_found" = "0"; then
33842 save_LIBS="$LIBS"
33843 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33844 save_CFLAGS=$CFLAGS
33845 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33846
33847 cat >conftest.$ac_ext <<_ACEOF
33848 /* confdefs.h. */
33849 _ACEOF
33850 cat confdefs.h >>conftest.$ac_ext
33851 cat >>conftest.$ac_ext <<_ACEOF
33852 /* end confdefs.h. */
33853
33854 #include <Xm/Xm.h>
33855 #include <Xm/List.h>
33856
33857 int
33858 main ()
33859 {
33860
33861 XmString string = NULL;
33862 Widget w = NULL;
33863 int position = 0;
33864 XmListAddItem(w, string, position);
33865
33866 ;
33867 return 0;
33868 }
33869 _ACEOF
33870 rm -f conftest.$ac_objext conftest$ac_exeext
33871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33872 (eval $ac_link) 2>conftest.er1
33873 ac_status=$?
33874 grep -v '^ *+' conftest.er1 >conftest.err
33875 rm -f conftest.er1
33876 cat conftest.err >&5
33877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33878 (exit $ac_status); } &&
33879 { ac_try='test -z "$ac_c_werror_flag"
33880 || test ! -s conftest.err'
33881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33882 (eval $ac_try) 2>&5
33883 ac_status=$?
33884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33885 (exit $ac_status); }; } &&
33886 { ac_try='test -s conftest$ac_exeext'
33887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33888 (eval $ac_try) 2>&5
33889 ac_status=$?
33890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33891 (exit $ac_status); }; }; then
33892
33893 libp_link="$libp"
33894 libsm_ice_link="$libsm_ice"
33895 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33896 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
33897 libs_found=1
33898
33899 else
33900 echo "$as_me: failed program was:" >&5
33901 sed 's/^/| /' conftest.$ac_ext >&5
33902
33903
33904
33905 fi
33906 rm -f conftest.err conftest.$ac_objext \
33907 conftest$ac_exeext conftest.$ac_ext
33908
33909 LIBS="$save_LIBS"
33910 CFLAGS=$save_CFLAGS
33911 fi
33912 done
33913 fi
33914 done
33915
33916 if test "$libs_found" = "0"; then
33917 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33918 echo "${ECHO_T}can't find the right libraries" >&6
33919 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33920 echo "$as_me: error: can't link a simple motif program" >&2;}
33921 { (exit 1); exit 1; }; }
33922 fi
33923
33924 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33925 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
33926 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33927 echo $ECHO_N "(cached) $ECHO_C" >&6
33928 else
33929 ac_check_lib_save_LIBS=$LIBS
33930 LIBS="-lSgm $LIBS"
33931 cat >conftest.$ac_ext <<_ACEOF
33932 /* confdefs.h. */
33933 _ACEOF
33934 cat confdefs.h >>conftest.$ac_ext
33935 cat >>conftest.$ac_ext <<_ACEOF
33936 /* end confdefs.h. */
33937
33938 /* Override any gcc2 internal prototype to avoid an error. */
33939 #ifdef __cplusplus
33940 extern "C"
33941 #endif
33942 /* We use char because int might match the return type of a gcc2
33943 builtin and then its argument prototype would still apply. */
33944 char SgCreateList ();
33945 int
33946 main ()
33947 {
33948 SgCreateList ();
33949 ;
33950 return 0;
33951 }
33952 _ACEOF
33953 rm -f conftest.$ac_objext conftest$ac_exeext
33954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33955 (eval $ac_link) 2>conftest.er1
33956 ac_status=$?
33957 grep -v '^ *+' conftest.er1 >conftest.err
33958 rm -f conftest.er1
33959 cat conftest.err >&5
33960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33961 (exit $ac_status); } &&
33962 { ac_try='test -z "$ac_c_werror_flag"
33963 || test ! -s conftest.err'
33964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33965 (eval $ac_try) 2>&5
33966 ac_status=$?
33967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33968 (exit $ac_status); }; } &&
33969 { ac_try='test -s conftest$ac_exeext'
33970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33971 (eval $ac_try) 2>&5
33972 ac_status=$?
33973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33974 (exit $ac_status); }; }; then
33975 ac_cv_lib_Sgm_SgCreateList=yes
33976 else
33977 echo "$as_me: failed program was:" >&5
33978 sed 's/^/| /' conftest.$ac_ext >&5
33979
33980 ac_cv_lib_Sgm_SgCreateList=no
33981 fi
33982 rm -f conftest.err conftest.$ac_objext \
33983 conftest$ac_exeext conftest.$ac_ext
33984 LIBS=$ac_check_lib_save_LIBS
33985 fi
33986 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33987 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
33988 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33989 libsgm_link=" -lSgm"
33990 fi
33991
33992
33993 save_CFLAGS=$CFLAGS
33994 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33995
33996 echo "$as_me:$LINENO: checking for Motif 2" >&5
33997 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
33998 if test "${wx_cv_lib_motif2+set}" = set; then
33999 echo $ECHO_N "(cached) $ECHO_C" >&6
34000 else
34001 cat >conftest.$ac_ext <<_ACEOF
34002 /* confdefs.h. */
34003 _ACEOF
34004 cat confdefs.h >>conftest.$ac_ext
34005 cat >>conftest.$ac_ext <<_ACEOF
34006 /* end confdefs.h. */
34007
34008 #include <Xm/Xm.h>
34009
34010 int
34011 main ()
34012 {
34013
34014 #if XmVersion < 2000
34015 Not Motif 2
34016 #endif
34017
34018 ;
34019 return 0;
34020 }
34021 _ACEOF
34022 rm -f conftest.$ac_objext
34023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34024 (eval $ac_compile) 2>conftest.er1
34025 ac_status=$?
34026 grep -v '^ *+' conftest.er1 >conftest.err
34027 rm -f conftest.er1
34028 cat conftest.err >&5
34029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34030 (exit $ac_status); } &&
34031 { ac_try='test -z "$ac_c_werror_flag"
34032 || test ! -s conftest.err'
34033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34034 (eval $ac_try) 2>&5
34035 ac_status=$?
34036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34037 (exit $ac_status); }; } &&
34038 { ac_try='test -s conftest.$ac_objext'
34039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34040 (eval $ac_try) 2>&5
34041 ac_status=$?
34042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34043 (exit $ac_status); }; }; then
34044 wx_cv_lib_motif2="yes"
34045 else
34046 echo "$as_me: failed program was:" >&5
34047 sed 's/^/| /' conftest.$ac_ext >&5
34048
34049 wx_cv_lib_motif2="no"
34050 fi
34051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34052 fi
34053 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34054 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
34055 if test "$wx_cv_lib_motif2" = "yes"; then
34056 cat >>confdefs.h <<\_ACEOF
34057 #define __WXMOTIF20__ 1
34058 _ACEOF
34059
34060 else
34061 cat >>confdefs.h <<\_ACEOF
34062 #define __WXMOTIF20__ 0
34063 _ACEOF
34064
34065 fi
34066
34067 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34068 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
34069 if test "${wx_cv_lib_lesstif+set}" = set; then
34070 echo $ECHO_N "(cached) $ECHO_C" >&6
34071 else
34072 cat >conftest.$ac_ext <<_ACEOF
34073 /* confdefs.h. */
34074 _ACEOF
34075 cat confdefs.h >>conftest.$ac_ext
34076 cat >>conftest.$ac_ext <<_ACEOF
34077 /* end confdefs.h. */
34078
34079 #include <Xm/Xm.h>
34080
34081 int
34082 main ()
34083 {
34084
34085 #if !defined(LesstifVersion) || LesstifVersion <= 0
34086 Not Lesstif
34087 #endif
34088
34089 ;
34090 return 0;
34091 }
34092 _ACEOF
34093 rm -f conftest.$ac_objext
34094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34095 (eval $ac_compile) 2>conftest.er1
34096 ac_status=$?
34097 grep -v '^ *+' conftest.er1 >conftest.err
34098 rm -f conftest.er1
34099 cat conftest.err >&5
34100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101 (exit $ac_status); } &&
34102 { ac_try='test -z "$ac_c_werror_flag"
34103 || test ! -s conftest.err'
34104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34105 (eval $ac_try) 2>&5
34106 ac_status=$?
34107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34108 (exit $ac_status); }; } &&
34109 { ac_try='test -s conftest.$ac_objext'
34110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34111 (eval $ac_try) 2>&5
34112 ac_status=$?
34113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34114 (exit $ac_status); }; }; then
34115 wx_cv_lib_lesstif="yes"
34116 else
34117 echo "$as_me: failed program was:" >&5
34118 sed 's/^/| /' conftest.$ac_ext >&5
34119
34120 wx_cv_lib_lesstif="no"
34121 fi
34122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34123
34124 fi
34125 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34126 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
34127 if test "$wx_cv_lib_lesstif" = "yes"; then
34128 cat >>confdefs.h <<\_ACEOF
34129 #define __WXLESSTIF__ 1
34130 _ACEOF
34131
34132 else
34133 cat >>confdefs.h <<\_ACEOF
34134 #define __WXLESSTIF__ 0
34135 _ACEOF
34136
34137 fi
34138
34139 CFLAGS=$save_CFLAGS
34140
34141 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34142 TOOLKIT=MOTIF
34143 GUIDIST=MOTIF_DIST
34144 fi
34145
34146 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34147 if test "$wxUSE_LIBXPM" = "sys"; then
34148 echo "$as_me:$LINENO: checking for Xpm library" >&5
34149 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
34150
34151 ac_find_libraries=
34152 for ac_dir in $SEARCH_LIB;
34153 do
34154 for ac_extension in a so sl dylib dll.a; do
34155 if test -f "$ac_dir/libXpm.$ac_extension"; then
34156 ac_find_libraries=$ac_dir
34157 break 2
34158 fi
34159 done
34160 done
34161
34162 if test "$ac_find_libraries" != "" ; then
34163
34164 if test "$ac_find_libraries" = "default location"; then
34165 ac_path_to_link=""
34166 else
34167 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34168 result=$?
34169 if test $result = 0; then
34170 ac_path_to_link=""
34171 else
34172 ac_path_to_link=" -L$ac_find_libraries"
34173 fi
34174 fi
34175
34176 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34177 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34178 echo "${ECHO_T}found in $ac_find_libraries" >&6
34179
34180 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34181 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
34182 if test "${wx_cv_x11_xpm_h+set}" = set; then
34183 echo $ECHO_N "(cached) $ECHO_C" >&6
34184 else
34185
34186 save_CFLAGS=$CFLAGS
34187 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34188
34189 cat >conftest.$ac_ext <<_ACEOF
34190 /* confdefs.h. */
34191 _ACEOF
34192 cat confdefs.h >>conftest.$ac_ext
34193 cat >>conftest.$ac_ext <<_ACEOF
34194 /* end confdefs.h. */
34195
34196 #include <X11/xpm.h>
34197
34198 int
34199 main ()
34200 {
34201
34202 int version;
34203 version = XpmLibraryVersion();
34204
34205 ;
34206 return 0;
34207 }
34208 _ACEOF
34209 rm -f conftest.$ac_objext
34210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34211 (eval $ac_compile) 2>conftest.er1
34212 ac_status=$?
34213 grep -v '^ *+' conftest.er1 >conftest.err
34214 rm -f conftest.er1
34215 cat conftest.err >&5
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); } &&
34218 { ac_try='test -z "$ac_c_werror_flag"
34219 || test ! -s conftest.err'
34220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34221 (eval $ac_try) 2>&5
34222 ac_status=$?
34223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34224 (exit $ac_status); }; } &&
34225 { ac_try='test -s conftest.$ac_objext'
34226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34227 (eval $ac_try) 2>&5
34228 ac_status=$?
34229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34230 (exit $ac_status); }; }; then
34231 wx_cv_x11_xpm_h=yes
34232 else
34233 echo "$as_me: failed program was:" >&5
34234 sed 's/^/| /' conftest.$ac_ext >&5
34235
34236 wx_cv_x11_xpm_h=no
34237
34238 fi
34239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34240
34241 CFLAGS=$save_CFLAGS
34242
34243
34244 fi
34245 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34246 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
34247
34248 if test $wx_cv_x11_xpm_h = "yes"; then
34249 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34250 cat >>confdefs.h <<\_ACEOF
34251 #define wxHAVE_LIB_XPM 1
34252 _ACEOF
34253
34254 else
34255 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34256 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34257 fi
34258 fi
34259
34260 fi
34261
34262 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34263 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
34264 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34265 echo $ECHO_N "(cached) $ECHO_C" >&6
34266 else
34267 ac_check_lib_save_LIBS=$LIBS
34268 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34269 cat >conftest.$ac_ext <<_ACEOF
34270 /* confdefs.h. */
34271 _ACEOF
34272 cat confdefs.h >>conftest.$ac_ext
34273 cat >>conftest.$ac_ext <<_ACEOF
34274 /* end confdefs.h. */
34275
34276 /* Override any gcc2 internal prototype to avoid an error. */
34277 #ifdef __cplusplus
34278 extern "C"
34279 #endif
34280 /* We use char because int might match the return type of a gcc2
34281 builtin and then its argument prototype would still apply. */
34282 char XShapeQueryExtension ();
34283 int
34284 main ()
34285 {
34286 XShapeQueryExtension ();
34287 ;
34288 return 0;
34289 }
34290 _ACEOF
34291 rm -f conftest.$ac_objext conftest$ac_exeext
34292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34293 (eval $ac_link) 2>conftest.er1
34294 ac_status=$?
34295 grep -v '^ *+' conftest.er1 >conftest.err
34296 rm -f conftest.er1
34297 cat conftest.err >&5
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); } &&
34300 { ac_try='test -z "$ac_c_werror_flag"
34301 || test ! -s conftest.err'
34302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34303 (eval $ac_try) 2>&5
34304 ac_status=$?
34305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34306 (exit $ac_status); }; } &&
34307 { ac_try='test -s conftest$ac_exeext'
34308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34309 (eval $ac_try) 2>&5
34310 ac_status=$?
34311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34312 (exit $ac_status); }; }; then
34313 ac_cv_lib_Xext_XShapeQueryExtension=yes
34314 else
34315 echo "$as_me: failed program was:" >&5
34316 sed 's/^/| /' conftest.$ac_ext >&5
34317
34318 ac_cv_lib_Xext_XShapeQueryExtension=no
34319 fi
34320 rm -f conftest.err conftest.$ac_objext \
34321 conftest$ac_exeext conftest.$ac_ext
34322 LIBS=$ac_check_lib_save_LIBS
34323 fi
34324 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34325 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
34326 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34327
34328 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34329 wxHAVE_XEXT_LIB=1
34330
34331 fi
34332
34333
34334 if test "$wxHAVE_XEXT_LIB" = 1; then
34335 save_CFLAGS="$CFLAGS"
34336 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34337
34338 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34339 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
34340 cat >conftest.$ac_ext <<_ACEOF
34341 /* confdefs.h. */
34342 _ACEOF
34343 cat confdefs.h >>conftest.$ac_ext
34344 cat >>conftest.$ac_ext <<_ACEOF
34345 /* end confdefs.h. */
34346
34347 #include <X11/Xlib.h>
34348 #include <X11/extensions/shape.h>
34349
34350 int
34351 main ()
34352 {
34353
34354 int dummy1, dummy2;
34355 XShapeQueryExtension((Display*)NULL,
34356 (int*)NULL, (int*)NULL);
34357
34358 ;
34359 return 0;
34360 }
34361 _ACEOF
34362 rm -f conftest.$ac_objext
34363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34364 (eval $ac_compile) 2>conftest.er1
34365 ac_status=$?
34366 grep -v '^ *+' conftest.er1 >conftest.err
34367 rm -f conftest.er1
34368 cat conftest.err >&5
34369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34370 (exit $ac_status); } &&
34371 { ac_try='test -z "$ac_c_werror_flag"
34372 || test ! -s conftest.err'
34373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34374 (eval $ac_try) 2>&5
34375 ac_status=$?
34376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34377 (exit $ac_status); }; } &&
34378 { ac_try='test -s conftest.$ac_objext'
34379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34380 (eval $ac_try) 2>&5
34381 ac_status=$?
34382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34383 (exit $ac_status); }; }; then
34384
34385 cat >>confdefs.h <<\_ACEOF
34386 #define HAVE_XSHAPE 1
34387 _ACEOF
34388
34389 echo "$as_me:$LINENO: result: found" >&5
34390 echo "${ECHO_T}found" >&6
34391
34392 else
34393 echo "$as_me: failed program was:" >&5
34394 sed 's/^/| /' conftest.$ac_ext >&5
34395
34396
34397 echo "$as_me:$LINENO: result: not found" >&5
34398 echo "${ECHO_T}not found" >&6
34399
34400 fi
34401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34402 CFLAGS="$save_CFLAGS"
34403
34404 fi
34405 fi
34406
34407 if test "$wxUSE_MAC" = 1; then
34408 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34409 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
34410 if test "$GCC" = yes; then
34411 echo "$as_me:$LINENO: result: gcc" >&5
34412 echo "${ECHO_T}gcc" >&6
34413 CPPFLAGS_PASCAL="-fpascal-strings"
34414 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34415 echo "$as_me:$LINENO: result: xlc" >&5
34416 echo "${ECHO_T}xlc" >&6
34417 CPPFLAGS_PASCAL="-qmacpstr"
34418 else
34419 echo "$as_me:$LINENO: result: none" >&5
34420 echo "${ECHO_T}none" >&6
34421 fi
34422
34423 if test "x$wxUSE_UNIX" = "xyes"; then
34424 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34425 else
34426 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34427 fi
34428
34429 TOOLKIT=MAC
34430 GUIDIST=MACX_DIST
34431 WXBASEPORT="_carbon"
34432 fi
34433
34434 if test "$wxUSE_COCOA" = 1; then
34435 TOOLKIT=COCOA
34436 GUIDIST=COCOA_DIST
34437 fi
34438
34439 if test "$wxUSE_PM" = 1; then
34440 TOOLKIT=PM
34441 GUIDIST=PM_DIST
34442 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34443 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
34444 if test "${wx_cv_spbcdata+set}" = set; then
34445 echo $ECHO_N "(cached) $ECHO_C" >&6
34446 else
34447
34448 cat >conftest.$ac_ext <<_ACEOF
34449 /* confdefs.h. */
34450 _ACEOF
34451 cat confdefs.h >>conftest.$ac_ext
34452 cat >>conftest.$ac_ext <<_ACEOF
34453 /* end confdefs.h. */
34454
34455 #define INCL_PM
34456 #include <os2.h>
34457
34458 int
34459 main ()
34460 {
34461
34462 SPBCDATA test;
34463
34464 ;
34465 return 0;
34466 }
34467 _ACEOF
34468 rm -f conftest.$ac_objext
34469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34470 (eval $ac_compile) 2>conftest.er1
34471 ac_status=$?
34472 grep -v '^ *+' conftest.er1 >conftest.err
34473 rm -f conftest.er1
34474 cat conftest.err >&5
34475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34476 (exit $ac_status); } &&
34477 { ac_try='test -z "$ac_c_werror_flag"
34478 || test ! -s conftest.err'
34479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34480 (eval $ac_try) 2>&5
34481 ac_status=$?
34482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34483 (exit $ac_status); }; } &&
34484 { ac_try='test -s conftest.$ac_objext'
34485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34486 (eval $ac_try) 2>&5
34487 ac_status=$?
34488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34489 (exit $ac_status); }; }; then
34490 wx_cv_spbcdata=yes
34491 else
34492 echo "$as_me: failed program was:" >&5
34493 sed 's/^/| /' conftest.$ac_ext >&5
34494
34495 wx_cv_spbcdata=no
34496
34497 fi
34498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34499
34500
34501 fi
34502 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34503 echo "${ECHO_T}$wx_cv_spbcdata" >&6
34504
34505 if test $wx_cv_spbcdata = "yes"; then
34506 cat >>confdefs.h <<\_ACEOF
34507 #define HAVE_SPBCDATA 1
34508 _ACEOF
34509
34510 fi
34511 fi
34512
34513 if test "$TOOLKIT" = "PM" ; then
34514 TOOLKIT_DIR="os2"
34515 else
34516 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34517 fi
34518
34519 if test "$wxUSE_UNIVERSAL" = "yes"; then
34520 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34521 WIDGET_SET=univ
34522 fi
34523
34524 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34525 DISTDIR="wx\$(TOOLKIT)"
34526 else
34527 USE_GUI=0
34528
34529 TOOLKIT_DIR="base"
34530
34531 if test "$USE_WIN32" = 1 ; then
34532 TOOLKIT="MSW"
34533 fi
34534
34535 GUIDIST="BASE_DIST"
34536 DISTDIR="wxBase"
34537 fi
34538
34539
34540
34541 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34542 if test "$USE_UNIX" = "1" -a "$wxUSE_DARWIN" != "1" ; then
34543 wxUSE_UNICODE_UTF8=yes
34544 elif test "$USE_OS2" = "1" ; then
34545 wxUSE_UNICODE_UTF8=yes
34546 else
34547 wxUSE_UNICODE_UTF8=no
34548 fi
34549 fi
34550
34551
34552 if test "$wxUSE_GUI" = "yes"; then
34553 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34554
34555 for ac_header in X11/Xlib.h
34556 do
34557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34558 echo "$as_me:$LINENO: checking for $ac_header" >&5
34559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34561 echo $ECHO_N "(cached) $ECHO_C" >&6
34562 else
34563 cat >conftest.$ac_ext <<_ACEOF
34564 /* confdefs.h. */
34565 _ACEOF
34566 cat confdefs.h >>conftest.$ac_ext
34567 cat >>conftest.$ac_ext <<_ACEOF
34568 /* end confdefs.h. */
34569
34570
34571 #include <$ac_header>
34572 _ACEOF
34573 rm -f conftest.$ac_objext
34574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34575 (eval $ac_compile) 2>conftest.er1
34576 ac_status=$?
34577 grep -v '^ *+' conftest.er1 >conftest.err
34578 rm -f conftest.er1
34579 cat conftest.err >&5
34580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34581 (exit $ac_status); } &&
34582 { ac_try='test -z "$ac_c_werror_flag"
34583 || test ! -s conftest.err'
34584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34585 (eval $ac_try) 2>&5
34586 ac_status=$?
34587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588 (exit $ac_status); }; } &&
34589 { ac_try='test -s conftest.$ac_objext'
34590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34591 (eval $ac_try) 2>&5
34592 ac_status=$?
34593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594 (exit $ac_status); }; }; then
34595 eval "$as_ac_Header=yes"
34596 else
34597 echo "$as_me: failed program was:" >&5
34598 sed 's/^/| /' conftest.$ac_ext >&5
34599
34600 eval "$as_ac_Header=no"
34601 fi
34602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34603 fi
34604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34606 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34607 cat >>confdefs.h <<_ACEOF
34608 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34609 _ACEOF
34610
34611 fi
34612
34613 done
34614
34615
34616 for ac_header in X11/XKBlib.h
34617 do
34618 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34619 echo "$as_me:$LINENO: checking for $ac_header" >&5
34620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
34621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
34622 echo $ECHO_N "(cached) $ECHO_C" >&6
34623 else
34624 cat >conftest.$ac_ext <<_ACEOF
34625 /* confdefs.h. */
34626 _ACEOF
34627 cat confdefs.h >>conftest.$ac_ext
34628 cat >>conftest.$ac_ext <<_ACEOF
34629 /* end confdefs.h. */
34630
34631 #if HAVE_X11_XLIB_H
34632 #include <X11/Xlib.h>
34633 #endif
34634
34635
34636 #include <$ac_header>
34637 _ACEOF
34638 rm -f conftest.$ac_objext
34639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34640 (eval $ac_compile) 2>conftest.er1
34641 ac_status=$?
34642 grep -v '^ *+' conftest.er1 >conftest.err
34643 rm -f conftest.er1
34644 cat conftest.err >&5
34645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34646 (exit $ac_status); } &&
34647 { ac_try='test -z "$ac_c_werror_flag"
34648 || test ! -s conftest.err'
34649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34650 (eval $ac_try) 2>&5
34651 ac_status=$?
34652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34653 (exit $ac_status); }; } &&
34654 { ac_try='test -s conftest.$ac_objext'
34655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34656 (eval $ac_try) 2>&5
34657 ac_status=$?
34658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34659 (exit $ac_status); }; }; then
34660 eval "$as_ac_Header=yes"
34661 else
34662 echo "$as_me: failed program was:" >&5
34663 sed 's/^/| /' conftest.$ac_ext >&5
34664
34665 eval "$as_ac_Header=no"
34666 fi
34667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34668 fi
34669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
34670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
34671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34672 cat >>confdefs.h <<_ACEOF
34673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34674 _ACEOF
34675
34676 fi
34677
34678 done
34679
34680 fi
34681 fi
34682
34683
34684
34685 IODBC_C_SRC=""
34686
34687
34688 if test "$TOOLKIT" != "MSW" ; then
34689
34690 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
34691
34692 echo "$as_me:$LINENO: checking for sql.h" >&5
34693 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
34694 if test "${ac_cv_header_sql_h+set}" = set; then
34695 echo $ECHO_N "(cached) $ECHO_C" >&6
34696 else
34697 cat >conftest.$ac_ext <<_ACEOF
34698 /* confdefs.h. */
34699 _ACEOF
34700 cat confdefs.h >>conftest.$ac_ext
34701 cat >>conftest.$ac_ext <<_ACEOF
34702 /* end confdefs.h. */
34703
34704
34705 #include <sql.h>
34706 _ACEOF
34707 rm -f conftest.$ac_objext
34708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34709 (eval $ac_compile) 2>conftest.er1
34710 ac_status=$?
34711 grep -v '^ *+' conftest.er1 >conftest.err
34712 rm -f conftest.er1
34713 cat conftest.err >&5
34714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34715 (exit $ac_status); } &&
34716 { ac_try='test -z "$ac_c_werror_flag"
34717 || test ! -s conftest.err'
34718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34719 (eval $ac_try) 2>&5
34720 ac_status=$?
34721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34722 (exit $ac_status); }; } &&
34723 { ac_try='test -s conftest.$ac_objext'
34724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34725 (eval $ac_try) 2>&5
34726 ac_status=$?
34727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34728 (exit $ac_status); }; }; then
34729 ac_cv_header_sql_h=yes
34730 else
34731 echo "$as_me: failed program was:" >&5
34732 sed 's/^/| /' conftest.$ac_ext >&5
34733
34734 ac_cv_header_sql_h=no
34735 fi
34736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34737 fi
34738 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
34739 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
34740 if test $ac_cv_header_sql_h = yes; then
34741 found_sql_h=1
34742 fi
34743
34744
34745 if test "x$found_sql_h" = "x1" ; then
34746 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
34747 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
34748 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
34749 echo $ECHO_N "(cached) $ECHO_C" >&6
34750 else
34751 ac_check_lib_save_LIBS=$LIBS
34752 LIBS="-liodbc $LIBS"
34753 cat >conftest.$ac_ext <<_ACEOF
34754 /* confdefs.h. */
34755 _ACEOF
34756 cat confdefs.h >>conftest.$ac_ext
34757 cat >>conftest.$ac_ext <<_ACEOF
34758 /* end confdefs.h. */
34759
34760 /* Override any gcc2 internal prototype to avoid an error. */
34761 #ifdef __cplusplus
34762 extern "C"
34763 #endif
34764 /* We use char because int might match the return type of a gcc2
34765 builtin and then its argument prototype would still apply. */
34766 char SQLAllocEnv ();
34767 int
34768 main ()
34769 {
34770 SQLAllocEnv ();
34771 ;
34772 return 0;
34773 }
34774 _ACEOF
34775 rm -f conftest.$ac_objext conftest$ac_exeext
34776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34777 (eval $ac_link) 2>conftest.er1
34778 ac_status=$?
34779 grep -v '^ *+' conftest.er1 >conftest.err
34780 rm -f conftest.er1
34781 cat conftest.err >&5
34782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34783 (exit $ac_status); } &&
34784 { ac_try='test -z "$ac_c_werror_flag"
34785 || test ! -s conftest.err'
34786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34787 (eval $ac_try) 2>&5
34788 ac_status=$?
34789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34790 (exit $ac_status); }; } &&
34791 { ac_try='test -s conftest$ac_exeext'
34792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34793 (eval $ac_try) 2>&5
34794 ac_status=$?
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); }; }; then
34797 ac_cv_lib_iodbc_SQLAllocEnv=yes
34798 else
34799 echo "$as_me: failed program was:" >&5
34800 sed 's/^/| /' conftest.$ac_ext >&5
34801
34802 ac_cv_lib_iodbc_SQLAllocEnv=no
34803 fi
34804 rm -f conftest.err conftest.$ac_objext \
34805 conftest$ac_exeext conftest.$ac_ext
34806 LIBS=$ac_check_lib_save_LIBS
34807 fi
34808 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
34809 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
34810 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
34811 ODBC_LINK=" -liodbc"
34812 else
34813
34814 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
34815 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
34816 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
34817 echo $ECHO_N "(cached) $ECHO_C" >&6
34818 else
34819 ac_check_lib_save_LIBS=$LIBS
34820 LIBS="-lunixodbc $LIBS"
34821 cat >conftest.$ac_ext <<_ACEOF
34822 /* confdefs.h. */
34823 _ACEOF
34824 cat confdefs.h >>conftest.$ac_ext
34825 cat >>conftest.$ac_ext <<_ACEOF
34826 /* end confdefs.h. */
34827
34828 /* Override any gcc2 internal prototype to avoid an error. */
34829 #ifdef __cplusplus
34830 extern "C"
34831 #endif
34832 /* We use char because int might match the return type of a gcc2
34833 builtin and then its argument prototype would still apply. */
34834 char SQLAllocEnv ();
34835 int
34836 main ()
34837 {
34838 SQLAllocEnv ();
34839 ;
34840 return 0;
34841 }
34842 _ACEOF
34843 rm -f conftest.$ac_objext conftest$ac_exeext
34844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34845 (eval $ac_link) 2>conftest.er1
34846 ac_status=$?
34847 grep -v '^ *+' conftest.er1 >conftest.err
34848 rm -f conftest.er1
34849 cat conftest.err >&5
34850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34851 (exit $ac_status); } &&
34852 { ac_try='test -z "$ac_c_werror_flag"
34853 || test ! -s conftest.err'
34854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34855 (eval $ac_try) 2>&5
34856 ac_status=$?
34857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34858 (exit $ac_status); }; } &&
34859 { ac_try='test -s conftest$ac_exeext'
34860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34861 (eval $ac_try) 2>&5
34862 ac_status=$?
34863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34864 (exit $ac_status); }; }; then
34865 ac_cv_lib_unixodbc_SQLAllocEnv=yes
34866 else
34867 echo "$as_me: failed program was:" >&5
34868 sed 's/^/| /' conftest.$ac_ext >&5
34869
34870 ac_cv_lib_unixodbc_SQLAllocEnv=no
34871 fi
34872 rm -f conftest.err conftest.$ac_objext \
34873 conftest$ac_exeext conftest.$ac_ext
34874 LIBS=$ac_check_lib_save_LIBS
34875 fi
34876 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
34877 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
34878 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
34879 ODBC_LINK=" -lunixodbc"
34880 else
34881
34882 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
34883 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
34884 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
34885 echo $ECHO_N "(cached) $ECHO_C" >&6
34886 else
34887 ac_check_lib_save_LIBS=$LIBS
34888 LIBS="-lodbc $LIBS"
34889 cat >conftest.$ac_ext <<_ACEOF
34890 /* confdefs.h. */
34891 _ACEOF
34892 cat confdefs.h >>conftest.$ac_ext
34893 cat >>conftest.$ac_ext <<_ACEOF
34894 /* end confdefs.h. */
34895
34896 /* Override any gcc2 internal prototype to avoid an error. */
34897 #ifdef __cplusplus
34898 extern "C"
34899 #endif
34900 /* We use char because int might match the return type of a gcc2
34901 builtin and then its argument prototype would still apply. */
34902 char SQLAllocEnv ();
34903 int
34904 main ()
34905 {
34906 SQLAllocEnv ();
34907 ;
34908 return 0;
34909 }
34910 _ACEOF
34911 rm -f conftest.$ac_objext conftest$ac_exeext
34912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34913 (eval $ac_link) 2>conftest.er1
34914 ac_status=$?
34915 grep -v '^ *+' conftest.er1 >conftest.err
34916 rm -f conftest.er1
34917 cat conftest.err >&5
34918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34919 (exit $ac_status); } &&
34920 { ac_try='test -z "$ac_c_werror_flag"
34921 || test ! -s conftest.err'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34924 ac_status=$?
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; } &&
34927 { ac_try='test -s conftest$ac_exeext'
34928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34929 (eval $ac_try) 2>&5
34930 ac_status=$?
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; }; then
34933 ac_cv_lib_odbc_SQLAllocEnv=yes
34934 else
34935 echo "$as_me: failed program was:" >&5
34936 sed 's/^/| /' conftest.$ac_ext >&5
34937
34938 ac_cv_lib_odbc_SQLAllocEnv=no
34939 fi
34940 rm -f conftest.err conftest.$ac_objext \
34941 conftest$ac_exeext conftest.$ac_ext
34942 LIBS=$ac_check_lib_save_LIBS
34943 fi
34944 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
34945 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
34946 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
34947 ODBC_LINK=" -lodbc"
34948 fi
34949
34950
34951 fi
34952
34953
34954 fi
34955
34956 fi
34957 if test "x$ODBC_LINK" = "x" ; then
34958 if test "$wxUSE_ODBC" = "sys" ; then
34959 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
34960 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
34961 { (exit 1); exit 1; }; }
34962 else
34963 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
34964 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
34965 wxUSE_ODBC=builtin
34966 fi
34967 else
34968 wxUSE_ODBC=sys
34969 fi
34970 fi
34971
34972 if test "$wxUSE_ODBC" = "builtin" ; then
34973 cat >>confdefs.h <<\_ACEOF
34974 #define wxUSE_BUILTIN_IODBC 1
34975 _ACEOF
34976
34977 fi
34978 fi
34979
34980 if test "$wxUSE_ODBC" != "no" ; then
34981 cat >>confdefs.h <<\_ACEOF
34982 #define wxUSE_ODBC 1
34983 _ACEOF
34984
34985 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
34986
34987 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
34988 fi
34989
34990
34991 if test "$wxUSE_DISPLAY" = "yes"; then
34992 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
34993 echo "$as_me:$LINENO: checking for Xinerama" >&5
34994 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
34995
34996 ac_find_libraries=
34997 for ac_dir in $SEARCH_LIB;
34998 do
34999 for ac_extension in a so sl dylib dll.a; do
35000 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35001 ac_find_libraries=$ac_dir
35002 break 2
35003 fi
35004 done
35005 done
35006
35007 if test "$ac_find_libraries" != "" ; then
35008
35009 if test "$ac_find_libraries" = "default location"; then
35010 ac_path_to_link=""
35011 else
35012 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35013 result=$?
35014 if test $result = 0; then
35015 ac_path_to_link=""
35016 else
35017 ac_path_to_link=" -L$ac_find_libraries"
35018 fi
35019 fi
35020
35021 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35022 LDFLAGS="$LDFLAGS $ac_path_to_link"
35023 fi
35024 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35025 echo "$as_me:$LINENO: result: yes" >&5
35026 echo "${ECHO_T}yes" >&6
35027
35028 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35029 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
35030
35031 ac_find_libraries=
35032 for ac_dir in $SEARCH_LIB;
35033 do
35034 for ac_extension in a so sl dylib dll.a; do
35035 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35036 ac_find_libraries=$ac_dir
35037 break 2
35038 fi
35039 done
35040 done
35041
35042 if test "$ac_find_libraries" != "" ; then
35043 echo "$as_me:$LINENO: result: yes" >&5
35044 echo "${ECHO_T}yes" >&6
35045
35046 for ac_header in X11/extensions/xf86vmode.h
35047 do
35048 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35049 echo "$as_me:$LINENO: checking for $ac_header" >&5
35050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
35051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
35052 echo $ECHO_N "(cached) $ECHO_C" >&6
35053 else
35054 cat >conftest.$ac_ext <<_ACEOF
35055 /* confdefs.h. */
35056 _ACEOF
35057 cat confdefs.h >>conftest.$ac_ext
35058 cat >>conftest.$ac_ext <<_ACEOF
35059 /* end confdefs.h. */
35060
35061 #if HAVE_X11_XLIB_H
35062 #include <X11/Xlib.h>
35063 #endif
35064
35065
35066 #include <$ac_header>
35067 _ACEOF
35068 rm -f conftest.$ac_objext
35069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35070 (eval $ac_compile) 2>conftest.er1
35071 ac_status=$?
35072 grep -v '^ *+' conftest.er1 >conftest.err
35073 rm -f conftest.er1
35074 cat conftest.err >&5
35075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35076 (exit $ac_status); } &&
35077 { ac_try='test -z "$ac_c_werror_flag"
35078 || test ! -s conftest.err'
35079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35080 (eval $ac_try) 2>&5
35081 ac_status=$?
35082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35083 (exit $ac_status); }; } &&
35084 { ac_try='test -s conftest.$ac_objext'
35085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35086 (eval $ac_try) 2>&5
35087 ac_status=$?
35088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35089 (exit $ac_status); }; }; then
35090 eval "$as_ac_Header=yes"
35091 else
35092 echo "$as_me: failed program was:" >&5
35093 sed 's/^/| /' conftest.$ac_ext >&5
35094
35095 eval "$as_ac_Header=no"
35096 fi
35097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35098 fi
35099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
35100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
35101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35102 cat >>confdefs.h <<_ACEOF
35103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35104 _ACEOF
35105
35106 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35107
35108 fi
35109
35110 done
35111
35112 else
35113 echo "$as_me:$LINENO: result: no" >&5
35114 echo "${ECHO_T}no" >&6
35115 fi
35116
35117 else
35118 echo "$as_me:$LINENO: result: no" >&5
35119 echo "${ECHO_T}no" >&6
35120 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35121 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35122 wxUSE_DISPLAY="no"
35123 fi
35124 elif test "$wxUSE_MSW" = 1; then
35125 echo "$as_me:$LINENO: checking for ddraw.h" >&5
35126 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6
35127 if test "${ac_cv_header_ddraw_h+set}" = set; then
35128 echo $ECHO_N "(cached) $ECHO_C" >&6
35129 else
35130 cat >conftest.$ac_ext <<_ACEOF
35131 /* confdefs.h. */
35132 _ACEOF
35133 cat confdefs.h >>conftest.$ac_ext
35134 cat >>conftest.$ac_ext <<_ACEOF
35135 /* end confdefs.h. */
35136 #include <windows.h>
35137
35138 #include <ddraw.h>
35139 _ACEOF
35140 rm -f conftest.$ac_objext
35141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35142 (eval $ac_compile) 2>conftest.er1
35143 ac_status=$?
35144 grep -v '^ *+' conftest.er1 >conftest.err
35145 rm -f conftest.er1
35146 cat conftest.err >&5
35147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35148 (exit $ac_status); } &&
35149 { ac_try='test -z "$ac_c_werror_flag"
35150 || test ! -s conftest.err'
35151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35152 (eval $ac_try) 2>&5
35153 ac_status=$?
35154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35155 (exit $ac_status); }; } &&
35156 { ac_try='test -s conftest.$ac_objext'
35157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35158 (eval $ac_try) 2>&5
35159 ac_status=$?
35160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35161 (exit $ac_status); }; }; then
35162 ac_cv_header_ddraw_h=yes
35163 else
35164 echo "$as_me: failed program was:" >&5
35165 sed 's/^/| /' conftest.$ac_ext >&5
35166
35167 ac_cv_header_ddraw_h=no
35168 fi
35169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35170 fi
35171 echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35172 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6
35173
35174
35175 fi
35176 fi
35177
35178 if test "$wxUSE_DETECT_SM" = "yes"; then
35179 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35180 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35181 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
35182
35183 ac_find_libraries=
35184 for ac_dir in $SEARCH_LIB;
35185 do
35186 for ac_extension in a so sl dylib dll.a; do
35187 if test -f "$ac_dir/libSM.$ac_extension"; then
35188 ac_find_libraries=$ac_dir
35189 break 2
35190 fi
35191 done
35192 done
35193
35194 if test "$ac_find_libraries" != "" ; then
35195
35196 if test "$ac_find_libraries" = "default location"; then
35197 ac_path_to_link=""
35198 else
35199 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35200 result=$?
35201 if test $result = 0; then
35202 ac_path_to_link=""
35203 else
35204 ac_path_to_link=" -L$ac_find_libraries"
35205 fi
35206 fi
35207
35208 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35209 LDFLAGS="$LDFLAGS $ac_path_to_link"
35210 fi
35211 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35212 echo "$as_me:$LINENO: result: yes" >&5
35213 echo "${ECHO_T}yes" >&6
35214 else
35215 echo "$as_me:$LINENO: result: no" >&5
35216 echo "${ECHO_T}no" >&6
35217 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35218 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35219 wxUSE_DETECT_SM="no"
35220 fi
35221 else
35222 wxUSE_DETECT_SM="no"
35223 fi
35224 fi
35225
35226
35227
35228 USE_OPENGL=0
35229 if test "$wxUSE_OPENGL" = "yes"; then
35230 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35231 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35232 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35233 wxUSE_OPENGL="no"
35234 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35235 OPENGL_LIBS="-framework OpenGL -framework AGL"
35236 elif test "$wxUSE_MSW" = 1; then
35237 OPENGL_LIBS="-lopengl32 -lglu32"
35238 else
35239 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35240 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
35241
35242 ac_find_includes=
35243 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35244 do
35245 if test -f "$ac_dir/GL/gl.h"; then
35246 ac_find_includes=$ac_dir
35247 break
35248 fi
35249 done
35250
35251 if test "$ac_find_includes" != "" ; then
35252 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35253 echo "${ECHO_T}found in $ac_find_includes" >&6
35254
35255 if test "x$ac_find_includes" = "x/usr/include"; then
35256 ac_path_to_include=""
35257 else
35258 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35259 result=$?
35260 if test $result = 0; then
35261 ac_path_to_include=""
35262 else
35263 ac_path_to_include=" -I$ac_find_includes"
35264 fi
35265 fi
35266
35267 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35268 else
35269 echo "$as_me:$LINENO: result: not found" >&5
35270 echo "${ECHO_T}not found" >&6
35271 fi
35272
35273 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35274 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
35275 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35276 echo $ECHO_N "(cached) $ECHO_C" >&6
35277 else
35278 cat >conftest.$ac_ext <<_ACEOF
35279 /* confdefs.h. */
35280 _ACEOF
35281 cat confdefs.h >>conftest.$ac_ext
35282 cat >>conftest.$ac_ext <<_ACEOF
35283 /* end confdefs.h. */
35284
35285
35286 #include <GL/gl.h>
35287 _ACEOF
35288 rm -f conftest.$ac_objext
35289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35290 (eval $ac_compile) 2>conftest.er1
35291 ac_status=$?
35292 grep -v '^ *+' conftest.er1 >conftest.err
35293 rm -f conftest.er1
35294 cat conftest.err >&5
35295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35296 (exit $ac_status); } &&
35297 { ac_try='test -z "$ac_c_werror_flag"
35298 || test ! -s conftest.err'
35299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35300 (eval $ac_try) 2>&5
35301 ac_status=$?
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); }; } &&
35304 { ac_try='test -s conftest.$ac_objext'
35305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35306 (eval $ac_try) 2>&5
35307 ac_status=$?
35308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35309 (exit $ac_status); }; }; then
35310 ac_cv_header_GL_gl_h=yes
35311 else
35312 echo "$as_me: failed program was:" >&5
35313 sed 's/^/| /' conftest.$ac_ext >&5
35314
35315 ac_cv_header_GL_gl_h=no
35316 fi
35317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35318 fi
35319 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35320 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
35321 if test $ac_cv_header_GL_gl_h = yes; then
35322
35323 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35324 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
35325 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35326 echo $ECHO_N "(cached) $ECHO_C" >&6
35327 else
35328 cat >conftest.$ac_ext <<_ACEOF
35329 /* confdefs.h. */
35330 _ACEOF
35331 cat confdefs.h >>conftest.$ac_ext
35332 cat >>conftest.$ac_ext <<_ACEOF
35333 /* end confdefs.h. */
35334
35335
35336 #include <GL/glu.h>
35337 _ACEOF
35338 rm -f conftest.$ac_objext
35339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35340 (eval $ac_compile) 2>conftest.er1
35341 ac_status=$?
35342 grep -v '^ *+' conftest.er1 >conftest.err
35343 rm -f conftest.er1
35344 cat conftest.err >&5
35345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35346 (exit $ac_status); } &&
35347 { ac_try='test -z "$ac_c_werror_flag"
35348 || test ! -s conftest.err'
35349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35350 (eval $ac_try) 2>&5
35351 ac_status=$?
35352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35353 (exit $ac_status); }; } &&
35354 { ac_try='test -s conftest.$ac_objext'
35355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35356 (eval $ac_try) 2>&5
35357 ac_status=$?
35358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35359 (exit $ac_status); }; }; then
35360 ac_cv_header_GL_glu_h=yes
35361 else
35362 echo "$as_me: failed program was:" >&5
35363 sed 's/^/| /' conftest.$ac_ext >&5
35364
35365 ac_cv_header_GL_glu_h=no
35366 fi
35367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35368 fi
35369 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35370 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
35371 if test $ac_cv_header_GL_glu_h = yes; then
35372
35373 found_gl=0
35374
35375 echo "$as_me:$LINENO: checking for -lGL" >&5
35376 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
35377
35378 ac_find_libraries=
35379 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35380 do
35381 for ac_extension in a so sl dylib dll.a; do
35382 if test -f "$ac_dir/libGL.$ac_extension"; then
35383 ac_find_libraries=$ac_dir
35384 break 2
35385 fi
35386 done
35387 done
35388
35389 if test "$ac_find_libraries" != "" ; then
35390 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35391 echo "${ECHO_T}found in $ac_find_libraries" >&6
35392
35393
35394 if test "$ac_find_libraries" = "default location"; then
35395 ac_path_to_link=""
35396 else
35397 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35398 result=$?
35399 if test $result = 0; then
35400 ac_path_to_link=""
35401 else
35402 ac_path_to_link=" -L$ac_find_libraries"
35403 fi
35404 fi
35405
35406 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35407 LDFLAGS_GL="$ac_path_to_link"
35408 fi
35409
35410 echo "$as_me:$LINENO: checking for -lGLU" >&5
35411 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
35412
35413 ac_find_libraries=
35414 for ac_dir in $SEARCH_LIB;
35415 do
35416 for ac_extension in a so sl dylib dll.a; do
35417 if test -f "$ac_dir/libGLU.$ac_extension"; then
35418 ac_find_libraries=$ac_dir
35419 break 2
35420 fi
35421 done
35422 done
35423
35424 if test "$ac_find_libraries" != "" ; then
35425
35426 if test "$ac_find_libraries" = "default location"; then
35427 ac_path_to_link=""
35428 else
35429 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35430 result=$?
35431 if test $result = 0; then
35432 ac_path_to_link=""
35433 else
35434 ac_path_to_link=" -L$ac_find_libraries"
35435 fi
35436 fi
35437
35438 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35439 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35440 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35441 fi
35442
35443 found_gl=1
35444 OPENGL_LIBS="-lGL -lGLU"
35445 echo "$as_me:$LINENO: result: yes" >&5
35446 echo "${ECHO_T}yes" >&6
35447 else
35448 echo "$as_me:$LINENO: result: no" >&5
35449 echo "${ECHO_T}no" >&6
35450 fi
35451 else
35452 echo "$as_me:$LINENO: result: no" >&5
35453 echo "${ECHO_T}no" >&6
35454 fi
35455
35456 if test "$found_gl" != 1; then
35457 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35458 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
35459
35460 ac_find_libraries=
35461 for ac_dir in $SEARCH_LIB;
35462 do
35463 for ac_extension in a so sl dylib dll.a; do
35464 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35465 ac_find_libraries=$ac_dir
35466 break 2
35467 fi
35468 done
35469 done
35470
35471 if test "$ac_find_libraries" != "" ; then
35472
35473 if test "$ac_find_libraries" = "default location"; then
35474 ac_path_to_link=""
35475 else
35476 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35477 result=$?
35478 if test $result = 0; then
35479 ac_path_to_link=""
35480 else
35481 ac_path_to_link=" -L$ac_find_libraries"
35482 fi
35483 fi
35484
35485 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35486 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35487 echo "$as_me:$LINENO: result: yes" >&5
35488 echo "${ECHO_T}yes" >&6
35489 else
35490 echo "$as_me:$LINENO: result: no" >&5
35491 echo "${ECHO_T}no" >&6
35492 fi
35493 fi
35494
35495 fi
35496
35497
35498
35499 fi
35500
35501
35502
35503 if test "x$OPENGL_LIBS" = "x"; then
35504 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35505 echo "$as_me: error: OpenGL libraries not available" >&2;}
35506 { (exit 1); exit 1; }; }
35507 fi
35508 fi
35509
35510 if test "$wxUSE_OPENGL" = "yes"; then
35511 USE_OPENGL=1
35512 cat >>confdefs.h <<\_ACEOF
35513 #define wxUSE_OPENGL 1
35514 _ACEOF
35515
35516 cat >>confdefs.h <<\_ACEOF
35517 #define wxUSE_GLCANVAS 1
35518 _ACEOF
35519
35520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35521 fi
35522 fi
35523
35524
35525 if test -n "$TOOLKIT" ; then
35526 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35527 fi
35528
35529
35530
35531 if test "$wxUSE_SHARED" = "yes"; then
35532 case "${host}" in
35533 *-pc-msdosdjgpp )
35534 wxUSE_SHARED=no
35535 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35536 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35537 ;;
35538 esac
35539 fi
35540
35541 if test "$wxUSE_SHARED" = "yes"; then
35542
35543
35544 case "${host}" in
35545 *-*-cygwin* | *-*-mingw* )
35546 wx_cv_version_script=no
35547 ;;
35548
35549 *)
35550 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35551 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
35552 if test "${wx_cv_version_script+set}" = set; then
35553 echo $ECHO_N "(cached) $ECHO_C" >&6
35554 else
35555
35556 echo "VER_1 { *; };" >conftest.sym
35557 echo "int main() { return 0; }" >conftest.cpp
35558
35559 if { ac_try='
35560 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35561 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35563 (eval $ac_try) 2>&5
35564 ac_status=$?
35565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566 (exit $ac_status); }; } ; then
35567 if test -s conftest.stderr ; then
35568 wx_cv_version_script=no
35569 else
35570 wx_cv_version_script=yes
35571 fi
35572 else
35573 wx_cv_version_script=no
35574 fi
35575
35576 if test $wx_cv_version_script = yes
35577 then
35578 echo "struct B { virtual ~B() { } }; \
35579 struct D : public B { }; \
35580 void F() { D d; }" > conftest.cpp
35581
35582 if { ac_try='
35583 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35584 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35586 (eval $ac_try) 2>&5
35587 ac_status=$?
35588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35589 (exit $ac_status); }; } &&
35590 { ac_try='
35591 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35592 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35594 (eval $ac_try) 2>&5
35595 ac_status=$?
35596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35597 (exit $ac_status); }; }
35598 then
35599 if { ac_try='
35600 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35601 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35603 (eval $ac_try) 2>&5
35604 ac_status=$?
35605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35606 (exit $ac_status); }; }
35607 then
35608 wx_cv_version_script=yes
35609 else
35610 wx_cv_version_script=no
35611 fi
35612 fi
35613 fi
35614
35615 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35616 rm -f conftest1.output conftest2.output conftest3.output
35617
35618 fi
35619 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35620 echo "${ECHO_T}$wx_cv_version_script" >&6
35621
35622 if test $wx_cv_version_script = yes ; then
35623 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35624 fi
35625 ;;
35626 esac
35627
35628
35629 if test "$wxUSE_VISIBILITY" != "no"; then
35630
35631
35632 if test -n "$GCC"; then
35633 CFLAGS_VISIBILITY="-fvisibility=hidden"
35634 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35635 echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35636 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6
35637 if test "${wx_cv_cc_visibility+set}" = set; then
35638 echo $ECHO_N "(cached) $ECHO_C" >&6
35639 else
35640
35641 wx_save_CXXFLAGS="$CXXFLAGS"
35642 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35643 ac_ext=cc
35644 ac_cpp='$CXXCPP $CPPFLAGS'
35645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35648
35649 cat >conftest.$ac_ext <<_ACEOF
35650 /* confdefs.h. */
35651 _ACEOF
35652 cat confdefs.h >>conftest.$ac_ext
35653 cat >>conftest.$ac_ext <<_ACEOF
35654 /* end confdefs.h. */
35655
35656 /* we need gcc >= 4.0, older versions with visibility support
35657 didn't have class visibility: */
35658 #if defined(__GNUC__) && __GNUC__ < 4
35659 error this gcc is too old;
35660 #endif
35661
35662 /* visibility only makes sense for ELF shared libs: */
35663 #if !defined(__ELF__) && !defined(__APPLE__)
35664 error this platform has no visibility;
35665 #endif
35666
35667 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35668 extern __attribute__((__visibility__("default"))) int exportedvar;
35669 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35670 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35671 class __attribute__((__visibility__("default"))) Foo {
35672 Foo() {}
35673 };
35674
35675 int
35676 main ()
35677 {
35678
35679 ;
35680 return 0;
35681 }
35682 _ACEOF
35683 rm -f conftest.$ac_objext
35684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35685 (eval $ac_compile) 2>conftest.er1
35686 ac_status=$?
35687 grep -v '^ *+' conftest.er1 >conftest.err
35688 rm -f conftest.er1
35689 cat conftest.err >&5
35690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35691 (exit $ac_status); } &&
35692 { ac_try='test -z "$ac_cxx_werror_flag"
35693 || test ! -s conftest.err'
35694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35695 (eval $ac_try) 2>&5
35696 ac_status=$?
35697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35698 (exit $ac_status); }; } &&
35699 { ac_try='test -s conftest.$ac_objext'
35700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35701 (eval $ac_try) 2>&5
35702 ac_status=$?
35703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35704 (exit $ac_status); }; }; then
35705 wx_cv_cc_visibility=yes
35706 else
35707 echo "$as_me: failed program was:" >&5
35708 sed 's/^/| /' conftest.$ac_ext >&5
35709
35710 wx_cv_cc_visibility=no
35711 fi
35712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35713 ac_ext=c
35714 ac_cpp='$CPP $CPPFLAGS'
35715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35718
35719 CXXFLAGS="$wx_save_CXXFLAGS"
35720 fi
35721
35722 echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35723 echo "${ECHO_T}$wx_cv_cc_visibility" >&6
35724 if test $wx_cv_cc_visibility = yes; then
35725 cat >>confdefs.h <<\_ACEOF
35726 #define HAVE_VISIBILITY 1
35727 _ACEOF
35728
35729
35730 echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35731 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6
35732 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35733 echo $ECHO_N "(cached) $ECHO_C" >&6
35734 else
35735
35736 wx_save_CXXFLAGS="$CXXFLAGS"
35737 wx_save_LDFLAGS="$LDFLAGS"
35738 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35739 LDFLAGS="$LDFLAGS -shared -fPIC"
35740 ac_ext=cc
35741 ac_cpp='$CXXCPP $CPPFLAGS'
35742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35745
35746 cat >conftest.$ac_ext <<_ACEOF
35747 /* confdefs.h. */
35748 _ACEOF
35749 cat confdefs.h >>conftest.$ac_ext
35750 cat >>conftest.$ac_ext <<_ACEOF
35751 /* end confdefs.h. */
35752
35753 #include <string>
35754
35755 int
35756 main ()
35757 {
35758
35759 std::string s("hello");
35760 return s.length();
35761
35762 ;
35763 return 0;
35764 }
35765 _ACEOF
35766 rm -f conftest.$ac_objext conftest$ac_exeext
35767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35768 (eval $ac_link) 2>conftest.er1
35769 ac_status=$?
35770 grep -v '^ *+' conftest.er1 >conftest.err
35771 rm -f conftest.er1
35772 cat conftest.err >&5
35773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35774 (exit $ac_status); } &&
35775 { ac_try='test -z "$ac_cxx_werror_flag"
35776 || test ! -s conftest.err'
35777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35778 (eval $ac_try) 2>&5
35779 ac_status=$?
35780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35781 (exit $ac_status); }; } &&
35782 { ac_try='test -s conftest$ac_exeext'
35783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35784 (eval $ac_try) 2>&5
35785 ac_status=$?
35786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35787 (exit $ac_status); }; }; then
35788 wx_cv_cc_broken_libstdcxx_visibility=no
35789 else
35790 echo "$as_me: failed program was:" >&5
35791 sed 's/^/| /' conftest.$ac_ext >&5
35792
35793 wx_cv_cc_broken_libstdcxx_visibility=yes
35794 fi
35795 rm -f conftest.err conftest.$ac_objext \
35796 conftest$ac_exeext conftest.$ac_ext
35797 ac_ext=c
35798 ac_cpp='$CPP $CPPFLAGS'
35799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35802
35803 CXXFLAGS="$wx_save_CXXFLAGS"
35804 LDFLAGS="$wx_save_LDFLAGS"
35805 fi
35806
35807 echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35808 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6
35809 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35810 cat >>confdefs.h <<\_ACEOF
35811 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35812 _ACEOF
35813
35814 fi
35815
35816 else
35817 CFLAGS_VISIBILITY=""
35818 CXXFLAGS_VISIBILITY=""
35819 fi
35820
35821
35822 fi
35823
35824 fi
35825
35826 if test "x$SUNCXX" = xyes; then
35827 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
35828 WXCONFIG_RPATH="-R\$libdir"
35829 else
35830 case "${host}" in
35831 *-*-linux* | *-*-gnu* )
35832 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35833 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35834 ;;
35835
35836 *-*-solaris2* )
35837
35838 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
35839
35840 saveLdflags="$LDFLAGS"
35841 LDFLAGS="$saveLdflags -Wl,-rpath,/"
35842 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35843 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
35844 cat >conftest.$ac_ext <<_ACEOF
35845 /* confdefs.h. */
35846 _ACEOF
35847 cat confdefs.h >>conftest.$ac_ext
35848 cat >>conftest.$ac_ext <<_ACEOF
35849 /* end confdefs.h. */
35850
35851 int
35852 main ()
35853 {
35854
35855 ;
35856 return 0;
35857 }
35858 _ACEOF
35859 rm -f conftest.$ac_objext conftest$ac_exeext
35860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35861 (eval $ac_link) 2>conftest.er1
35862 ac_status=$?
35863 grep -v '^ *+' conftest.er1 >conftest.err
35864 rm -f conftest.er1
35865 cat conftest.err >&5
35866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35867 (exit $ac_status); } &&
35868 { ac_try='test -z "$ac_c_werror_flag"
35869 || test ! -s conftest.err'
35870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35871 (eval $ac_try) 2>&5
35872 ac_status=$?
35873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35874 (exit $ac_status); }; } &&
35875 { ac_try='test -s conftest$ac_exeext'
35876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35877 (eval $ac_try) 2>&5
35878 ac_status=$?
35879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35880 (exit $ac_status); }; }; then
35881
35882 echo "$as_me:$LINENO: result: yes" >&5
35883 echo "${ECHO_T}yes" >&6
35884 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35885 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35886
35887 else
35888 echo "$as_me: failed program was:" >&5
35889 sed 's/^/| /' conftest.$ac_ext >&5
35890
35891
35892 echo "$as_me:$LINENO: result: no" >&5
35893 echo "${ECHO_T}no" >&6
35894 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35895 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
35896 LDFLAGS="$saveLdflags -Wl,-R,/"
35897 cat >conftest.$ac_ext <<_ACEOF
35898 /* confdefs.h. */
35899 _ACEOF
35900 cat confdefs.h >>conftest.$ac_ext
35901 cat >>conftest.$ac_ext <<_ACEOF
35902 /* end confdefs.h. */
35903
35904 int
35905 main ()
35906 {
35907
35908 ;
35909 return 0;
35910 }
35911 _ACEOF
35912 rm -f conftest.$ac_objext conftest$ac_exeext
35913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35914 (eval $ac_link) 2>conftest.er1
35915 ac_status=$?
35916 grep -v '^ *+' conftest.er1 >conftest.err
35917 rm -f conftest.er1
35918 cat conftest.err >&5
35919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35920 (exit $ac_status); } &&
35921 { ac_try='test -z "$ac_c_werror_flag"
35922 || test ! -s conftest.err'
35923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35924 (eval $ac_try) 2>&5
35925 ac_status=$?
35926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35927 (exit $ac_status); }; } &&
35928 { ac_try='test -s conftest$ac_exeext'
35929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35930 (eval $ac_try) 2>&5
35931 ac_status=$?
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); }; }; then
35934
35935 echo "$as_me:$LINENO: result: yes" >&5
35936 echo "${ECHO_T}yes" >&6
35937 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
35938 WXCONFIG_RPATH="-Wl,-R,\$libdir"
35939
35940 else
35941 echo "$as_me: failed program was:" >&5
35942 sed 's/^/| /' conftest.$ac_ext >&5
35943
35944
35945 echo "$as_me:$LINENO: result: no" >&5
35946 echo "${ECHO_T}no" >&6
35947
35948 fi
35949 rm -f conftest.err conftest.$ac_objext \
35950 conftest$ac_exeext conftest.$ac_ext
35951
35952 fi
35953 rm -f conftest.err conftest.$ac_objext \
35954 conftest$ac_exeext conftest.$ac_ext
35955 LDFLAGS="$saveLdflags"
35956 ;;
35957
35958 *-*-darwin* )
35959 install_name_tool=`which install_name_tool`
35960 if test "$install_name_tool" -a -x "$install_name_tool"; then
35961 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
35962 cat <<EOF >change-install-names
35963 #!/bin/sh
35964 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35965 inst_cmd="install_name_tool "
35966 for i in \${libnames} ; do
35967 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
35968 done
35969 \${inst_cmd} \${3}
35970 EOF
35971 chmod +x change-install-names
35972 fi
35973 ;;
35974
35975 *-*-cygwin* | *-*-mingw32* )
35976 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35977 ;;
35978
35979 *-*-hpux* )
35980 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
35981 WXCONFIG_RPATH="-Wl,+b,\$libdir"
35982 ;;
35983
35984 esac
35985 fi
35986
35987 if test $wxUSE_RPATH = "no"; then
35988 SAMPLES_RPATH_FLAG=''
35989 SAMPLES_RPATH_POSTLINK=''
35990 WXCONFIG_RPATH=''
35991 fi
35992
35993 SHARED=1
35994
35995 else
35996
35997 config_linkage_component="-static"
35998 SHARED=0
35999
36000 fi
36001
36002
36003 UNICODE=0
36004 lib_unicode_suffix=
36005 WX_CHARTYPE="ansi"
36006 if test "$wxUSE_UNICODE" = "yes"; then
36007 lib_unicode_suffix=u
36008 WX_CHARTYPE="unicode"
36009 UNICODE=1
36010 fi
36011
36012 lib_debug_suffix=
36013 WX_DEBUGTYPE="release"
36014 DEBUG_FLAG=0
36015 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36016 lib_debug_suffix=d
36017 WX_DEBUGTYPE="debug"
36018 DEBUG_FLAG=1
36019 fi
36020
36021 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36022 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36023
36024 DEBUG_INFO=0
36025 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36026 DEBUG_INFO=1
36027 fi
36028
36029 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36030
36031 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36032
36033 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36034
36035 if test "$cross_compiling" = "yes"; then
36036 HOST_SUFFIX="-$host_alias"
36037 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36038 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36039 fi
36040
36041 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36042 if test "${TOOLKIT_DIR}" = "os2"; then
36043 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36044 else
36045 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36046 fi
36047
36048
36049
36050 if test "$wxUSE_COCOA" = 1; then
36051
36052
36053 ac_ext=c
36054 ac_cpp='$CPP $CPPFLAGS'
36055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36058
36059 ac_ext=m
36060
36061 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36062 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
36063 cat >conftest.$ac_ext <<_ACEOF
36064 /* confdefs.h. */
36065 _ACEOF
36066 cat confdefs.h >>conftest.$ac_ext
36067 cat >>conftest.$ac_ext <<_ACEOF
36068 /* end confdefs.h. */
36069 #include <AppKit/NSEvent.h>
36070 #include <CoreFoundation/CoreFoundation.h>
36071
36072 int
36073 main ()
36074 {
36075
36076 ;
36077 return 0;
36078 }
36079 _ACEOF
36080 rm -f conftest.$ac_objext
36081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36082 (eval $ac_compile) 2>conftest.er1
36083 ac_status=$?
36084 grep -v '^ *+' conftest.er1 >conftest.err
36085 rm -f conftest.er1
36086 cat conftest.err >&5
36087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36088 (exit $ac_status); } &&
36089 { ac_try='test -z "$ac_c_werror_flag"
36090 || test ! -s conftest.err'
36091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36092 (eval $ac_try) 2>&5
36093 ac_status=$?
36094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36095 (exit $ac_status); }; } &&
36096 { ac_try='test -s conftest.$ac_objext'
36097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36098 (eval $ac_try) 2>&5
36099 ac_status=$?
36100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36101 (exit $ac_status); }; }; then
36102 echo "$as_me:$LINENO: result: no" >&5
36103 echo "${ECHO_T}no" >&6
36104 else
36105 echo "$as_me: failed program was:" >&5
36106 sed 's/^/| /' conftest.$ac_ext >&5
36107
36108 echo "$as_me:$LINENO: result: yes" >&5
36109 echo "${ECHO_T}yes" >&6
36110 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36111 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
36112 cat >conftest.$ac_ext <<_ACEOF
36113 /* confdefs.h. */
36114 _ACEOF
36115 cat confdefs.h >>conftest.$ac_ext
36116 cat >>conftest.$ac_ext <<_ACEOF
36117 /* end confdefs.h. */
36118 #define __Point__ 1
36119 #include <AppKit/NSEvent.h>
36120 #include <CoreFoundation/CoreFoundation.h>
36121
36122 int
36123 main ()
36124 {
36125
36126 ;
36127 return 0;
36128 }
36129 _ACEOF
36130 rm -f conftest.$ac_objext
36131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36132 (eval $ac_compile) 2>conftest.er1
36133 ac_status=$?
36134 grep -v '^ *+' conftest.er1 >conftest.err
36135 rm -f conftest.er1
36136 cat conftest.err >&5
36137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36138 (exit $ac_status); } &&
36139 { ac_try='test -z "$ac_c_werror_flag"
36140 || test ! -s conftest.err'
36141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36142 (eval $ac_try) 2>&5
36143 ac_status=$?
36144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145 (exit $ac_status); }; } &&
36146 { ac_try='test -s conftest.$ac_objext'
36147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36148 (eval $ac_try) 2>&5
36149 ac_status=$?
36150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36151 (exit $ac_status); }; }; then
36152 echo "$as_me:$LINENO: result: yes" >&5
36153 echo "${ECHO_T}yes" >&6
36154 cat >>confdefs.h <<\_ACEOF
36155 #define __Point__ 1
36156 _ACEOF
36157
36158
36159 else
36160 echo "$as_me: failed program was:" >&5
36161 sed 's/^/| /' conftest.$ac_ext >&5
36162
36163 { { echo "$as_me:$LINENO: error: no
36164 See \`config.log' for more details." >&5
36165 echo "$as_me: error: no
36166 See \`config.log' for more details." >&2;}
36167 { (exit 1); exit 1; }; }
36168
36169 fi
36170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36171
36172 fi
36173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36174 ac_ext=c
36175 ac_cpp='$CPP $CPPFLAGS'
36176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36179
36180 fi
36181
36182
36183 echo "$as_me:$LINENO: checking for mode_t" >&5
36184 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
36185 if test "${ac_cv_type_mode_t+set}" = set; then
36186 echo $ECHO_N "(cached) $ECHO_C" >&6
36187 else
36188 cat >conftest.$ac_ext <<_ACEOF
36189 /* confdefs.h. */
36190 _ACEOF
36191 cat confdefs.h >>conftest.$ac_ext
36192 cat >>conftest.$ac_ext <<_ACEOF
36193 /* end confdefs.h. */
36194 $ac_includes_default
36195 int
36196 main ()
36197 {
36198 if ((mode_t *) 0)
36199 return 0;
36200 if (sizeof (mode_t))
36201 return 0;
36202 ;
36203 return 0;
36204 }
36205 _ACEOF
36206 rm -f conftest.$ac_objext
36207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36208 (eval $ac_compile) 2>conftest.er1
36209 ac_status=$?
36210 grep -v '^ *+' conftest.er1 >conftest.err
36211 rm -f conftest.er1
36212 cat conftest.err >&5
36213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36214 (exit $ac_status); } &&
36215 { ac_try='test -z "$ac_c_werror_flag"
36216 || test ! -s conftest.err'
36217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36218 (eval $ac_try) 2>&5
36219 ac_status=$?
36220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36221 (exit $ac_status); }; } &&
36222 { ac_try='test -s conftest.$ac_objext'
36223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36224 (eval $ac_try) 2>&5
36225 ac_status=$?
36226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36227 (exit $ac_status); }; }; then
36228 ac_cv_type_mode_t=yes
36229 else
36230 echo "$as_me: failed program was:" >&5
36231 sed 's/^/| /' conftest.$ac_ext >&5
36232
36233 ac_cv_type_mode_t=no
36234 fi
36235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36236 fi
36237 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36238 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
36239 if test $ac_cv_type_mode_t = yes; then
36240 :
36241 else
36242
36243 cat >>confdefs.h <<_ACEOF
36244 #define mode_t int
36245 _ACEOF
36246
36247 fi
36248
36249 echo "$as_me:$LINENO: checking for off_t" >&5
36250 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
36251 if test "${ac_cv_type_off_t+set}" = set; then
36252 echo $ECHO_N "(cached) $ECHO_C" >&6
36253 else
36254 cat >conftest.$ac_ext <<_ACEOF
36255 /* confdefs.h. */
36256 _ACEOF
36257 cat confdefs.h >>conftest.$ac_ext
36258 cat >>conftest.$ac_ext <<_ACEOF
36259 /* end confdefs.h. */
36260 $ac_includes_default
36261 int
36262 main ()
36263 {
36264 if ((off_t *) 0)
36265 return 0;
36266 if (sizeof (off_t))
36267 return 0;
36268 ;
36269 return 0;
36270 }
36271 _ACEOF
36272 rm -f conftest.$ac_objext
36273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36274 (eval $ac_compile) 2>conftest.er1
36275 ac_status=$?
36276 grep -v '^ *+' conftest.er1 >conftest.err
36277 rm -f conftest.er1
36278 cat conftest.err >&5
36279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36280 (exit $ac_status); } &&
36281 { ac_try='test -z "$ac_c_werror_flag"
36282 || test ! -s conftest.err'
36283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36284 (eval $ac_try) 2>&5
36285 ac_status=$?
36286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36287 (exit $ac_status); }; } &&
36288 { ac_try='test -s conftest.$ac_objext'
36289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36290 (eval $ac_try) 2>&5
36291 ac_status=$?
36292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36293 (exit $ac_status); }; }; then
36294 ac_cv_type_off_t=yes
36295 else
36296 echo "$as_me: failed program was:" >&5
36297 sed 's/^/| /' conftest.$ac_ext >&5
36298
36299 ac_cv_type_off_t=no
36300 fi
36301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36302 fi
36303 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36304 echo "${ECHO_T}$ac_cv_type_off_t" >&6
36305 if test $ac_cv_type_off_t = yes; then
36306 :
36307 else
36308
36309 cat >>confdefs.h <<_ACEOF
36310 #define off_t long
36311 _ACEOF
36312
36313 fi
36314
36315 echo "$as_me:$LINENO: checking for pid_t" >&5
36316 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
36317 if test "${ac_cv_type_pid_t+set}" = set; then
36318 echo $ECHO_N "(cached) $ECHO_C" >&6
36319 else
36320 cat >conftest.$ac_ext <<_ACEOF
36321 /* confdefs.h. */
36322 _ACEOF
36323 cat confdefs.h >>conftest.$ac_ext
36324 cat >>conftest.$ac_ext <<_ACEOF
36325 /* end confdefs.h. */
36326 $ac_includes_default
36327 int
36328 main ()
36329 {
36330 if ((pid_t *) 0)
36331 return 0;
36332 if (sizeof (pid_t))
36333 return 0;
36334 ;
36335 return 0;
36336 }
36337 _ACEOF
36338 rm -f conftest.$ac_objext
36339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36340 (eval $ac_compile) 2>conftest.er1
36341 ac_status=$?
36342 grep -v '^ *+' conftest.er1 >conftest.err
36343 rm -f conftest.er1
36344 cat conftest.err >&5
36345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36346 (exit $ac_status); } &&
36347 { ac_try='test -z "$ac_c_werror_flag"
36348 || test ! -s conftest.err'
36349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36350 (eval $ac_try) 2>&5
36351 ac_status=$?
36352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36353 (exit $ac_status); }; } &&
36354 { ac_try='test -s conftest.$ac_objext'
36355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36356 (eval $ac_try) 2>&5
36357 ac_status=$?
36358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36359 (exit $ac_status); }; }; then
36360 ac_cv_type_pid_t=yes
36361 else
36362 echo "$as_me: failed program was:" >&5
36363 sed 's/^/| /' conftest.$ac_ext >&5
36364
36365 ac_cv_type_pid_t=no
36366 fi
36367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36368 fi
36369 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36370 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
36371 if test $ac_cv_type_pid_t = yes; then
36372 :
36373 else
36374
36375 cat >>confdefs.h <<_ACEOF
36376 #define pid_t int
36377 _ACEOF
36378
36379 fi
36380
36381 echo "$as_me:$LINENO: checking for size_t" >&5
36382 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
36383 if test "${ac_cv_type_size_t+set}" = set; then
36384 echo $ECHO_N "(cached) $ECHO_C" >&6
36385 else
36386 cat >conftest.$ac_ext <<_ACEOF
36387 /* confdefs.h. */
36388 _ACEOF
36389 cat confdefs.h >>conftest.$ac_ext
36390 cat >>conftest.$ac_ext <<_ACEOF
36391 /* end confdefs.h. */
36392 $ac_includes_default
36393 int
36394 main ()
36395 {
36396 if ((size_t *) 0)
36397 return 0;
36398 if (sizeof (size_t))
36399 return 0;
36400 ;
36401 return 0;
36402 }
36403 _ACEOF
36404 rm -f conftest.$ac_objext
36405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36406 (eval $ac_compile) 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"
36414 || test ! -s conftest.err'
36415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36416 (eval $ac_try) 2>&5
36417 ac_status=$?
36418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36419 (exit $ac_status); }; } &&
36420 { ac_try='test -s conftest.$ac_objext'
36421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36422 (eval $ac_try) 2>&5
36423 ac_status=$?
36424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36425 (exit $ac_status); }; }; then
36426 ac_cv_type_size_t=yes
36427 else
36428 echo "$as_me: failed program was:" >&5
36429 sed 's/^/| /' conftest.$ac_ext >&5
36430
36431 ac_cv_type_size_t=no
36432 fi
36433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36434 fi
36435 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36436 echo "${ECHO_T}$ac_cv_type_size_t" >&6
36437 if test $ac_cv_type_size_t = yes; then
36438 :
36439 else
36440
36441 cat >>confdefs.h <<_ACEOF
36442 #define size_t unsigned
36443 _ACEOF
36444
36445 fi
36446
36447 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36448 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
36449 if test "${ac_cv_type_uid_t+set}" = set; then
36450 echo $ECHO_N "(cached) $ECHO_C" >&6
36451 else
36452 cat >conftest.$ac_ext <<_ACEOF
36453 /* confdefs.h. */
36454 _ACEOF
36455 cat confdefs.h >>conftest.$ac_ext
36456 cat >>conftest.$ac_ext <<_ACEOF
36457 /* end confdefs.h. */
36458 #include <sys/types.h>
36459
36460 _ACEOF
36461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36462 $EGREP "uid_t" >/dev/null 2>&1; then
36463 ac_cv_type_uid_t=yes
36464 else
36465 ac_cv_type_uid_t=no
36466 fi
36467 rm -f conftest*
36468
36469 fi
36470 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36471 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
36472 if test $ac_cv_type_uid_t = no; then
36473
36474 cat >>confdefs.h <<\_ACEOF
36475 #define uid_t int
36476 _ACEOF
36477
36478
36479 cat >>confdefs.h <<\_ACEOF
36480 #define gid_t int
36481 _ACEOF
36482
36483 fi
36484
36485
36486 echo "$as_me:$LINENO: checking for ssize_t" >&5
36487 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
36488 if test "${ac_cv_type_ssize_t+set}" = set; then
36489 echo $ECHO_N "(cached) $ECHO_C" >&6
36490 else
36491 cat >conftest.$ac_ext <<_ACEOF
36492 /* confdefs.h. */
36493 _ACEOF
36494 cat confdefs.h >>conftest.$ac_ext
36495 cat >>conftest.$ac_ext <<_ACEOF
36496 /* end confdefs.h. */
36497 $ac_includes_default
36498 int
36499 main ()
36500 {
36501 if ((ssize_t *) 0)
36502 return 0;
36503 if (sizeof (ssize_t))
36504 return 0;
36505 ;
36506 return 0;
36507 }
36508 _ACEOF
36509 rm -f conftest.$ac_objext
36510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36511 (eval $ac_compile) 2>conftest.er1
36512 ac_status=$?
36513 grep -v '^ *+' conftest.er1 >conftest.err
36514 rm -f conftest.er1
36515 cat conftest.err >&5
36516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36517 (exit $ac_status); } &&
36518 { ac_try='test -z "$ac_c_werror_flag"
36519 || test ! -s conftest.err'
36520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36521 (eval $ac_try) 2>&5
36522 ac_status=$?
36523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36524 (exit $ac_status); }; } &&
36525 { ac_try='test -s conftest.$ac_objext'
36526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36527 (eval $ac_try) 2>&5
36528 ac_status=$?
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); }; }; then
36531 ac_cv_type_ssize_t=yes
36532 else
36533 echo "$as_me: failed program was:" >&5
36534 sed 's/^/| /' conftest.$ac_ext >&5
36535
36536 ac_cv_type_ssize_t=no
36537 fi
36538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36539 fi
36540 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36541 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
36542 if test $ac_cv_type_ssize_t = yes; then
36543
36544 cat >>confdefs.h <<_ACEOF
36545 #define HAVE_SSIZE_T 1
36546 _ACEOF
36547
36548
36549 fi
36550
36551
36552 ac_ext=cc
36553 ac_cpp='$CXXCPP $CPPFLAGS'
36554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36557 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36558 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
36559 if test "${wx_cv_size_t_is_uint+set}" = set; then
36560 echo $ECHO_N "(cached) $ECHO_C" >&6
36561 else
36562
36563 cat >conftest.$ac_ext <<_ACEOF
36564 /* confdefs.h. */
36565 _ACEOF
36566 cat confdefs.h >>conftest.$ac_ext
36567 cat >>conftest.$ac_ext <<_ACEOF
36568 /* end confdefs.h. */
36569 #include <stddef.h>
36570 int
36571 main ()
36572 {
36573
36574 return 0; }
36575
36576 struct Foo { void foo(size_t); void foo(unsigned int); };
36577
36578 int bar() {
36579
36580 ;
36581 return 0;
36582 }
36583 _ACEOF
36584 rm -f conftest.$ac_objext
36585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36586 (eval $ac_compile) 2>conftest.er1
36587 ac_status=$?
36588 grep -v '^ *+' conftest.er1 >conftest.err
36589 rm -f conftest.er1
36590 cat conftest.err >&5
36591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36592 (exit $ac_status); } &&
36593 { ac_try='test -z "$ac_cxx_werror_flag"
36594 || test ! -s conftest.err'
36595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36596 (eval $ac_try) 2>&5
36597 ac_status=$?
36598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36599 (exit $ac_status); }; } &&
36600 { ac_try='test -s conftest.$ac_objext'
36601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36602 (eval $ac_try) 2>&5
36603 ac_status=$?
36604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36605 (exit $ac_status); }; }; then
36606 wx_cv_size_t_is_uint=no
36607 else
36608 echo "$as_me: failed program was:" >&5
36609 sed 's/^/| /' conftest.$ac_ext >&5
36610
36611 wx_cv_size_t_is_uint=yes
36612
36613 fi
36614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36615
36616
36617 fi
36618 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36619 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
36620
36621 if test "$wx_cv_size_t_is_uint" = "yes"; then
36622 cat >>confdefs.h <<\_ACEOF
36623 #define wxSIZE_T_IS_UINT 1
36624 _ACEOF
36625
36626 else
36627 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36628 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
36629 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36630 echo $ECHO_N "(cached) $ECHO_C" >&6
36631 else
36632 cat >conftest.$ac_ext <<_ACEOF
36633 /* confdefs.h. */
36634 _ACEOF
36635 cat confdefs.h >>conftest.$ac_ext
36636 cat >>conftest.$ac_ext <<_ACEOF
36637 /* end confdefs.h. */
36638 #include <stddef.h>
36639 int
36640 main ()
36641 {
36642
36643 return 0; }
36644
36645 struct Foo { void foo(size_t); void foo(unsigned long); };
36646
36647 int bar() {
36648
36649 ;
36650 return 0;
36651 }
36652 _ACEOF
36653 rm -f conftest.$ac_objext
36654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36655 (eval $ac_compile) 2>conftest.er1
36656 ac_status=$?
36657 grep -v '^ *+' conftest.er1 >conftest.err
36658 rm -f conftest.er1
36659 cat conftest.err >&5
36660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36661 (exit $ac_status); } &&
36662 { ac_try='test -z "$ac_cxx_werror_flag"
36663 || test ! -s conftest.err'
36664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36665 (eval $ac_try) 2>&5
36666 ac_status=$?
36667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668 (exit $ac_status); }; } &&
36669 { ac_try='test -s conftest.$ac_objext'
36670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36671 (eval $ac_try) 2>&5
36672 ac_status=$?
36673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36674 (exit $ac_status); }; }; then
36675 wx_cv_size_t_is_ulong=no
36676 else
36677 echo "$as_me: failed program was:" >&5
36678 sed 's/^/| /' conftest.$ac_ext >&5
36679
36680 wx_cv_size_t_is_ulong=yes
36681
36682 fi
36683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36684
36685 fi
36686 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36687 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
36688
36689 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36690 cat >>confdefs.h <<\_ACEOF
36691 #define wxSIZE_T_IS_ULONG 1
36692 _ACEOF
36693
36694 fi
36695 fi
36696
36697 echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36698 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6
36699 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36700 echo $ECHO_N "(cached) $ECHO_C" >&6
36701 else
36702 cat >conftest.$ac_ext <<_ACEOF
36703 /* confdefs.h. */
36704 _ACEOF
36705 cat confdefs.h >>conftest.$ac_ext
36706 cat >>conftest.$ac_ext <<_ACEOF
36707 /* end confdefs.h. */
36708 #include <wchar.h>
36709 int
36710 main ()
36711 {
36712
36713 return 0; }
36714
36715 struct Foo { void foo(wchar_t);
36716 void foo(unsigned short);
36717 void foo(unsigned int);
36718 void foo(unsigned long); };
36719
36720 int bar() {
36721
36722 ;
36723 return 0;
36724 }
36725 _ACEOF
36726 rm -f conftest.$ac_objext
36727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36728 (eval $ac_compile) 2>conftest.er1
36729 ac_status=$?
36730 grep -v '^ *+' conftest.er1 >conftest.err
36731 rm -f conftest.er1
36732 cat conftest.err >&5
36733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36734 (exit $ac_status); } &&
36735 { ac_try='test -z "$ac_cxx_werror_flag"
36736 || test ! -s conftest.err'
36737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36738 (eval $ac_try) 2>&5
36739 ac_status=$?
36740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36741 (exit $ac_status); }; } &&
36742 { ac_try='test -s conftest.$ac_objext'
36743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36744 (eval $ac_try) 2>&5
36745 ac_status=$?
36746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36747 (exit $ac_status); }; }; then
36748 wx_cv_wchar_t_is_separate_type=yes
36749 else
36750 echo "$as_me: failed program was:" >&5
36751 sed 's/^/| /' conftest.$ac_ext >&5
36752
36753 wx_cv_wchar_t_is_separate_type=no
36754
36755 fi
36756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36757
36758 fi
36759 echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36760 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6
36761
36762 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36763 cat >>confdefs.h <<\_ACEOF
36764 #define wxWCHAR_T_IS_REAL_TYPE 1
36765 _ACEOF
36766
36767 else
36768 cat >>confdefs.h <<\_ACEOF
36769 #define wxWCHAR_T_IS_REAL_TYPE 0
36770 _ACEOF
36771
36772 fi
36773
36774 ac_ext=c
36775 ac_cpp='$CPP $CPPFLAGS'
36776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36779
36780
36781 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36782 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
36783 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36784 echo $ECHO_N "(cached) $ECHO_C" >&6
36785 else
36786
36787 cat >conftest.$ac_ext <<_ACEOF
36788 /* confdefs.h. */
36789 _ACEOF
36790 cat confdefs.h >>conftest.$ac_ext
36791 cat >>conftest.$ac_ext <<_ACEOF
36792 /* end confdefs.h. */
36793 #include <pwd.h>
36794 int
36795 main ()
36796 {
36797
36798 char *p;
36799 struct passwd *pw;
36800 p = pw->pw_gecos;
36801
36802 ;
36803 return 0;
36804 }
36805 _ACEOF
36806 rm -f conftest.$ac_objext
36807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36808 (eval $ac_compile) 2>conftest.er1
36809 ac_status=$?
36810 grep -v '^ *+' conftest.er1 >conftest.err
36811 rm -f conftest.er1
36812 cat conftest.err >&5
36813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36814 (exit $ac_status); } &&
36815 { ac_try='test -z "$ac_c_werror_flag"
36816 || test ! -s conftest.err'
36817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36818 (eval $ac_try) 2>&5
36819 ac_status=$?
36820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36821 (exit $ac_status); }; } &&
36822 { ac_try='test -s conftest.$ac_objext'
36823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36824 (eval $ac_try) 2>&5
36825 ac_status=$?
36826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36827 (exit $ac_status); }; }; then
36828
36829 wx_cv_struct_pw_gecos=yes
36830
36831 else
36832 echo "$as_me: failed program was:" >&5
36833 sed 's/^/| /' conftest.$ac_ext >&5
36834
36835
36836 wx_cv_struct_pw_gecos=no
36837
36838
36839 fi
36840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36841
36842
36843 fi
36844 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36845 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
36846
36847 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36848 cat >>confdefs.h <<\_ACEOF
36849 #define HAVE_PW_GECOS 1
36850 _ACEOF
36851
36852 fi
36853
36854
36855 if test "$wxUSE_WCHAR_T" = "yes"; then
36856 cat >>confdefs.h <<\_ACEOF
36857 #define wxUSE_WCHAR_T 1
36858 _ACEOF
36859
36860
36861 WCSLEN_FOUND=0
36862 WCHAR_LINK=
36863
36864 for ac_func in wcslen
36865 do
36866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36867 echo "$as_me:$LINENO: checking for $ac_func" >&5
36868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36869 if eval "test \"\${$as_ac_var+set}\" = set"; then
36870 echo $ECHO_N "(cached) $ECHO_C" >&6
36871 else
36872 cat >conftest.$ac_ext <<_ACEOF
36873 /* confdefs.h. */
36874 _ACEOF
36875 cat confdefs.h >>conftest.$ac_ext
36876 cat >>conftest.$ac_ext <<_ACEOF
36877 /* end confdefs.h. */
36878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36880 #define $ac_func innocuous_$ac_func
36881
36882 /* System header to define __stub macros and hopefully few prototypes,
36883 which can conflict with char $ac_func (); below.
36884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36885 <limits.h> exists even on freestanding compilers. */
36886
36887 #ifdef __STDC__
36888 # include <limits.h>
36889 #else
36890 # include <assert.h>
36891 #endif
36892
36893 #undef $ac_func
36894
36895 /* Override any gcc2 internal prototype to avoid an error. */
36896 #ifdef __cplusplus
36897 extern "C"
36898 {
36899 #endif
36900 /* We use char because int might match the return type of a gcc2
36901 builtin and then its argument prototype would still apply. */
36902 char $ac_func ();
36903 /* The GNU C library defines this for functions which it implements
36904 to always fail with ENOSYS. Some functions are actually named
36905 something starting with __ and the normal name is an alias. */
36906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36907 choke me
36908 #else
36909 char (*f) () = $ac_func;
36910 #endif
36911 #ifdef __cplusplus
36912 }
36913 #endif
36914
36915 int
36916 main ()
36917 {
36918 return f != $ac_func;
36919 ;
36920 return 0;
36921 }
36922 _ACEOF
36923 rm -f conftest.$ac_objext conftest$ac_exeext
36924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36925 (eval $ac_link) 2>conftest.er1
36926 ac_status=$?
36927 grep -v '^ *+' conftest.er1 >conftest.err
36928 rm -f conftest.er1
36929 cat conftest.err >&5
36930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36931 (exit $ac_status); } &&
36932 { ac_try='test -z "$ac_c_werror_flag"
36933 || test ! -s conftest.err'
36934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36935 (eval $ac_try) 2>&5
36936 ac_status=$?
36937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36938 (exit $ac_status); }; } &&
36939 { ac_try='test -s conftest$ac_exeext'
36940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36941 (eval $ac_try) 2>&5
36942 ac_status=$?
36943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36944 (exit $ac_status); }; }; then
36945 eval "$as_ac_var=yes"
36946 else
36947 echo "$as_me: failed program was:" >&5
36948 sed 's/^/| /' conftest.$ac_ext >&5
36949
36950 eval "$as_ac_var=no"
36951 fi
36952 rm -f conftest.err conftest.$ac_objext \
36953 conftest$ac_exeext conftest.$ac_ext
36954 fi
36955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36957 if test `eval echo '${'$as_ac_var'}'` = yes; then
36958 cat >>confdefs.h <<_ACEOF
36959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36960 _ACEOF
36961 WCSLEN_FOUND=1
36962 fi
36963 done
36964
36965
36966 if test "$WCSLEN_FOUND" = 0; then
36967 if test "$TOOLKIT" = "MSW"; then
36968 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36969 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
36970 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36971 echo $ECHO_N "(cached) $ECHO_C" >&6
36972 else
36973 ac_check_lib_save_LIBS=$LIBS
36974 LIBS="-lmsvcrt $LIBS"
36975 cat >conftest.$ac_ext <<_ACEOF
36976 /* confdefs.h. */
36977 _ACEOF
36978 cat confdefs.h >>conftest.$ac_ext
36979 cat >>conftest.$ac_ext <<_ACEOF
36980 /* end confdefs.h. */
36981
36982 /* Override any gcc2 internal prototype to avoid an error. */
36983 #ifdef __cplusplus
36984 extern "C"
36985 #endif
36986 /* We use char because int might match the return type of a gcc2
36987 builtin and then its argument prototype would still apply. */
36988 char wcslen ();
36989 int
36990 main ()
36991 {
36992 wcslen ();
36993 ;
36994 return 0;
36995 }
36996 _ACEOF
36997 rm -f conftest.$ac_objext conftest$ac_exeext
36998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36999 (eval $ac_link) 2>conftest.er1
37000 ac_status=$?
37001 grep -v '^ *+' conftest.er1 >conftest.err
37002 rm -f conftest.er1
37003 cat conftest.err >&5
37004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37005 (exit $ac_status); } &&
37006 { ac_try='test -z "$ac_c_werror_flag"
37007 || test ! -s conftest.err'
37008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37009 (eval $ac_try) 2>&5
37010 ac_status=$?
37011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37012 (exit $ac_status); }; } &&
37013 { ac_try='test -s conftest$ac_exeext'
37014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37015 (eval $ac_try) 2>&5
37016 ac_status=$?
37017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37018 (exit $ac_status); }; }; then
37019 ac_cv_lib_msvcrt_wcslen=yes
37020 else
37021 echo "$as_me: failed program was:" >&5
37022 sed 's/^/| /' conftest.$ac_ext >&5
37023
37024 ac_cv_lib_msvcrt_wcslen=no
37025 fi
37026 rm -f conftest.err conftest.$ac_objext \
37027 conftest$ac_exeext conftest.$ac_ext
37028 LIBS=$ac_check_lib_save_LIBS
37029 fi
37030 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37031 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
37032 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37033 WCHAR_OK=1
37034 fi
37035
37036 else
37037 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37038 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
37039 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37040 echo $ECHO_N "(cached) $ECHO_C" >&6
37041 else
37042 ac_check_lib_save_LIBS=$LIBS
37043 LIBS="-lw $LIBS"
37044 cat >conftest.$ac_ext <<_ACEOF
37045 /* confdefs.h. */
37046 _ACEOF
37047 cat confdefs.h >>conftest.$ac_ext
37048 cat >>conftest.$ac_ext <<_ACEOF
37049 /* end confdefs.h. */
37050
37051 /* Override any gcc2 internal prototype to avoid an error. */
37052 #ifdef __cplusplus
37053 extern "C"
37054 #endif
37055 /* We use char because int might match the return type of a gcc2
37056 builtin and then its argument prototype would still apply. */
37057 char wcslen ();
37058 int
37059 main ()
37060 {
37061 wcslen ();
37062 ;
37063 return 0;
37064 }
37065 _ACEOF
37066 rm -f conftest.$ac_objext conftest$ac_exeext
37067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37068 (eval $ac_link) 2>conftest.er1
37069 ac_status=$?
37070 grep -v '^ *+' conftest.er1 >conftest.err
37071 rm -f conftest.er1
37072 cat conftest.err >&5
37073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37074 (exit $ac_status); } &&
37075 { ac_try='test -z "$ac_c_werror_flag"
37076 || test ! -s conftest.err'
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); }; } &&
37082 { ac_try='test -s conftest$ac_exeext'
37083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37084 (eval $ac_try) 2>&5
37085 ac_status=$?
37086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37087 (exit $ac_status); }; }; then
37088 ac_cv_lib_w_wcslen=yes
37089 else
37090 echo "$as_me: failed program was:" >&5
37091 sed 's/^/| /' conftest.$ac_ext >&5
37092
37093 ac_cv_lib_w_wcslen=no
37094 fi
37095 rm -f conftest.err conftest.$ac_objext \
37096 conftest$ac_exeext conftest.$ac_ext
37097 LIBS=$ac_check_lib_save_LIBS
37098 fi
37099 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37100 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
37101 if test $ac_cv_lib_w_wcslen = yes; then
37102
37103 WCHAR_LINK=" -lw"
37104 WCSLEN_FOUND=1
37105
37106 fi
37107
37108 fi
37109 fi
37110
37111 if test "$WCSLEN_FOUND" = 1; then
37112 cat >>confdefs.h <<\_ACEOF
37113 #define HAVE_WCSLEN 1
37114 _ACEOF
37115
37116 fi
37117
37118
37119 for ac_func in wcsdup
37120 do
37121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37122 echo "$as_me:$LINENO: checking for $ac_func" >&5
37123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37124 if eval "test \"\${$as_ac_var+set}\" = set"; then
37125 echo $ECHO_N "(cached) $ECHO_C" >&6
37126 else
37127 cat >conftest.$ac_ext <<_ACEOF
37128 /* confdefs.h. */
37129 _ACEOF
37130 cat confdefs.h >>conftest.$ac_ext
37131 cat >>conftest.$ac_ext <<_ACEOF
37132 /* end confdefs.h. */
37133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37135 #define $ac_func innocuous_$ac_func
37136
37137 /* System header to define __stub macros and hopefully few prototypes,
37138 which can conflict with char $ac_func (); below.
37139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37140 <limits.h> exists even on freestanding compilers. */
37141
37142 #ifdef __STDC__
37143 # include <limits.h>
37144 #else
37145 # include <assert.h>
37146 #endif
37147
37148 #undef $ac_func
37149
37150 /* Override any gcc2 internal prototype to avoid an error. */
37151 #ifdef __cplusplus
37152 extern "C"
37153 {
37154 #endif
37155 /* We use char because int might match the return type of a gcc2
37156 builtin and then its argument prototype would still apply. */
37157 char $ac_func ();
37158 /* The GNU C library defines this for functions which it implements
37159 to always fail with ENOSYS. Some functions are actually named
37160 something starting with __ and the normal name is an alias. */
37161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37162 choke me
37163 #else
37164 char (*f) () = $ac_func;
37165 #endif
37166 #ifdef __cplusplus
37167 }
37168 #endif
37169
37170 int
37171 main ()
37172 {
37173 return f != $ac_func;
37174 ;
37175 return 0;
37176 }
37177 _ACEOF
37178 rm -f conftest.$ac_objext conftest$ac_exeext
37179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37180 (eval $ac_link) 2>conftest.er1
37181 ac_status=$?
37182 grep -v '^ *+' conftest.er1 >conftest.err
37183 rm -f conftest.er1
37184 cat conftest.err >&5
37185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37186 (exit $ac_status); } &&
37187 { ac_try='test -z "$ac_c_werror_flag"
37188 || test ! -s conftest.err'
37189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37190 (eval $ac_try) 2>&5
37191 ac_status=$?
37192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37193 (exit $ac_status); }; } &&
37194 { ac_try='test -s conftest$ac_exeext'
37195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37196 (eval $ac_try) 2>&5
37197 ac_status=$?
37198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37199 (exit $ac_status); }; }; then
37200 eval "$as_ac_var=yes"
37201 else
37202 echo "$as_me: failed program was:" >&5
37203 sed 's/^/| /' conftest.$ac_ext >&5
37204
37205 eval "$as_ac_var=no"
37206 fi
37207 rm -f conftest.err conftest.$ac_objext \
37208 conftest$ac_exeext conftest.$ac_ext
37209 fi
37210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37212 if test `eval echo '${'$as_ac_var'}'` = yes; then
37213 cat >>confdefs.h <<_ACEOF
37214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37215 _ACEOF
37216
37217 fi
37218 done
37219
37220
37221 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37222 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37223 fi
37224
37225 echo "$as_me:$LINENO: checking for mbstate_t" >&5
37226 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
37227 if test "${ac_cv_type_mbstate_t+set}" = set; then
37228 echo $ECHO_N "(cached) $ECHO_C" >&6
37229 else
37230 cat >conftest.$ac_ext <<_ACEOF
37231 /* confdefs.h. */
37232 _ACEOF
37233 cat confdefs.h >>conftest.$ac_ext
37234 cat >>conftest.$ac_ext <<_ACEOF
37235 /* end confdefs.h. */
37236 #include <wchar.h>
37237
37238 int
37239 main ()
37240 {
37241 if ((mbstate_t *) 0)
37242 return 0;
37243 if (sizeof (mbstate_t))
37244 return 0;
37245 ;
37246 return 0;
37247 }
37248 _ACEOF
37249 rm -f conftest.$ac_objext
37250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37251 (eval $ac_compile) 2>conftest.er1
37252 ac_status=$?
37253 grep -v '^ *+' conftest.er1 >conftest.err
37254 rm -f conftest.er1
37255 cat conftest.err >&5
37256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37257 (exit $ac_status); } &&
37258 { ac_try='test -z "$ac_c_werror_flag"
37259 || test ! -s conftest.err'
37260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37261 (eval $ac_try) 2>&5
37262 ac_status=$?
37263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37264 (exit $ac_status); }; } &&
37265 { ac_try='test -s conftest.$ac_objext'
37266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37267 (eval $ac_try) 2>&5
37268 ac_status=$?
37269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37270 (exit $ac_status); }; }; then
37271 ac_cv_type_mbstate_t=yes
37272 else
37273 echo "$as_me: failed program was:" >&5
37274 sed 's/^/| /' conftest.$ac_ext >&5
37275
37276 ac_cv_type_mbstate_t=no
37277 fi
37278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37279 fi
37280 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37281 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
37282 if test $ac_cv_type_mbstate_t = yes; then
37283
37284 cat >>confdefs.h <<_ACEOF
37285 #define HAVE_MBSTATE_T 1
37286 _ACEOF
37287
37288
37289 for ac_func in wcsrtombs
37290 do
37291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37292 echo "$as_me:$LINENO: checking for $ac_func" >&5
37293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37294 if eval "test \"\${$as_ac_var+set}\" = set"; then
37295 echo $ECHO_N "(cached) $ECHO_C" >&6
37296 else
37297 cat >conftest.$ac_ext <<_ACEOF
37298 /* confdefs.h. */
37299 _ACEOF
37300 cat confdefs.h >>conftest.$ac_ext
37301 cat >>conftest.$ac_ext <<_ACEOF
37302 /* end confdefs.h. */
37303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37305 #define $ac_func innocuous_$ac_func
37306
37307 /* System header to define __stub macros and hopefully few prototypes,
37308 which can conflict with char $ac_func (); below.
37309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37310 <limits.h> exists even on freestanding compilers. */
37311
37312 #ifdef __STDC__
37313 # include <limits.h>
37314 #else
37315 # include <assert.h>
37316 #endif
37317
37318 #undef $ac_func
37319
37320 /* Override any gcc2 internal prototype to avoid an error. */
37321 #ifdef __cplusplus
37322 extern "C"
37323 {
37324 #endif
37325 /* We use char because int might match the return type of a gcc2
37326 builtin and then its argument prototype would still apply. */
37327 char $ac_func ();
37328 /* The GNU C library defines this for functions which it implements
37329 to always fail with ENOSYS. Some functions are actually named
37330 something starting with __ and the normal name is an alias. */
37331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37332 choke me
37333 #else
37334 char (*f) () = $ac_func;
37335 #endif
37336 #ifdef __cplusplus
37337 }
37338 #endif
37339
37340 int
37341 main ()
37342 {
37343 return f != $ac_func;
37344 ;
37345 return 0;
37346 }
37347 _ACEOF
37348 rm -f conftest.$ac_objext conftest$ac_exeext
37349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37350 (eval $ac_link) 2>conftest.er1
37351 ac_status=$?
37352 grep -v '^ *+' conftest.er1 >conftest.err
37353 rm -f conftest.er1
37354 cat conftest.err >&5
37355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37356 (exit $ac_status); } &&
37357 { ac_try='test -z "$ac_c_werror_flag"
37358 || test ! -s conftest.err'
37359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37360 (eval $ac_try) 2>&5
37361 ac_status=$?
37362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363 (exit $ac_status); }; } &&
37364 { ac_try='test -s conftest$ac_exeext'
37365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37366 (eval $ac_try) 2>&5
37367 ac_status=$?
37368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37369 (exit $ac_status); }; }; then
37370 eval "$as_ac_var=yes"
37371 else
37372 echo "$as_me: failed program was:" >&5
37373 sed 's/^/| /' conftest.$ac_ext >&5
37374
37375 eval "$as_ac_var=no"
37376 fi
37377 rm -f conftest.err conftest.$ac_objext \
37378 conftest$ac_exeext conftest.$ac_ext
37379 fi
37380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37382 if test `eval echo '${'$as_ac_var'}'` = yes; then
37383 cat >>confdefs.h <<_ACEOF
37384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37385 _ACEOF
37386
37387 fi
37388 done
37389
37390 fi
37391
37392 else
37393 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37394 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37395 fi
37396
37397
37398
37399 for ac_func in snprintf vsnprintf
37400 do
37401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37402 echo "$as_me:$LINENO: checking for $ac_func" >&5
37403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37404 if eval "test \"\${$as_ac_var+set}\" = set"; then
37405 echo $ECHO_N "(cached) $ECHO_C" >&6
37406 else
37407 cat >conftest.$ac_ext <<_ACEOF
37408 /* confdefs.h. */
37409 _ACEOF
37410 cat confdefs.h >>conftest.$ac_ext
37411 cat >>conftest.$ac_ext <<_ACEOF
37412 /* end confdefs.h. */
37413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37415 #define $ac_func innocuous_$ac_func
37416
37417 /* System header to define __stub macros and hopefully few prototypes,
37418 which can conflict with char $ac_func (); below.
37419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37420 <limits.h> exists even on freestanding compilers. */
37421
37422 #ifdef __STDC__
37423 # include <limits.h>
37424 #else
37425 # include <assert.h>
37426 #endif
37427
37428 #undef $ac_func
37429
37430 /* Override any gcc2 internal prototype to avoid an error. */
37431 #ifdef __cplusplus
37432 extern "C"
37433 {
37434 #endif
37435 /* We use char because int might match the return type of a gcc2
37436 builtin and then its argument prototype would still apply. */
37437 char $ac_func ();
37438 /* The GNU C library defines this for functions which it implements
37439 to always fail with ENOSYS. Some functions are actually named
37440 something starting with __ and the normal name is an alias. */
37441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37442 choke me
37443 #else
37444 char (*f) () = $ac_func;
37445 #endif
37446 #ifdef __cplusplus
37447 }
37448 #endif
37449
37450 int
37451 main ()
37452 {
37453 return f != $ac_func;
37454 ;
37455 return 0;
37456 }
37457 _ACEOF
37458 rm -f conftest.$ac_objext conftest$ac_exeext
37459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37460 (eval $ac_link) 2>conftest.er1
37461 ac_status=$?
37462 grep -v '^ *+' conftest.er1 >conftest.err
37463 rm -f conftest.er1
37464 cat conftest.err >&5
37465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37466 (exit $ac_status); } &&
37467 { ac_try='test -z "$ac_c_werror_flag"
37468 || test ! -s conftest.err'
37469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37470 (eval $ac_try) 2>&5
37471 ac_status=$?
37472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37473 (exit $ac_status); }; } &&
37474 { ac_try='test -s conftest$ac_exeext'
37475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37476 (eval $ac_try) 2>&5
37477 ac_status=$?
37478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479 (exit $ac_status); }; }; then
37480 eval "$as_ac_var=yes"
37481 else
37482 echo "$as_me: failed program was:" >&5
37483 sed 's/^/| /' conftest.$ac_ext >&5
37484
37485 eval "$as_ac_var=no"
37486 fi
37487 rm -f conftest.err conftest.$ac_objext \
37488 conftest$ac_exeext conftest.$ac_ext
37489 fi
37490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37492 if test `eval echo '${'$as_ac_var'}'` = yes; then
37493 cat >>confdefs.h <<_ACEOF
37494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37495 _ACEOF
37496
37497 fi
37498 done
37499
37500
37501 if test "$ac_cv_func_vsnprintf" = "yes"; then
37502 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37503 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
37504 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37505 echo $ECHO_N "(cached) $ECHO_C" >&6
37506 else
37507
37508 cat >conftest.$ac_ext <<_ACEOF
37509 /* confdefs.h. */
37510 _ACEOF
37511 cat confdefs.h >>conftest.$ac_ext
37512 cat >>conftest.$ac_ext <<_ACEOF
37513 /* end confdefs.h. */
37514
37515 #include <stdio.h>
37516 #include <stdarg.h>
37517 #ifdef __MSL__
37518 #if __MSL__ >= 0x6000
37519 namespace std {}
37520 using namespace std;
37521 #endif
37522 #endif
37523
37524 int
37525 main ()
37526 {
37527
37528 char *buf;
37529 va_list ap;
37530 vsnprintf(buf, 10u, "%s", ap);
37531
37532 ;
37533 return 0;
37534 }
37535 _ACEOF
37536 rm -f conftest.$ac_objext
37537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37538 (eval $ac_compile) 2>conftest.er1
37539 ac_status=$?
37540 grep -v '^ *+' conftest.er1 >conftest.err
37541 rm -f conftest.er1
37542 cat conftest.err >&5
37543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37544 (exit $ac_status); } &&
37545 { ac_try='test -z "$ac_c_werror_flag"
37546 || test ! -s conftest.err'
37547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37548 (eval $ac_try) 2>&5
37549 ac_status=$?
37550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37551 (exit $ac_status); }; } &&
37552 { ac_try='test -s conftest.$ac_objext'
37553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37554 (eval $ac_try) 2>&5
37555 ac_status=$?
37556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37557 (exit $ac_status); }; }; then
37558 wx_cv_func_vsnprintf_decl=yes
37559 else
37560 echo "$as_me: failed program was:" >&5
37561 sed 's/^/| /' conftest.$ac_ext >&5
37562
37563 wx_cv_func_vsnprintf_decl=no
37564
37565 fi
37566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37567
37568
37569 fi
37570 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37571 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
37572
37573 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37574 cat >>confdefs.h <<\_ACEOF
37575 #define HAVE_VSNPRINTF_DECL 1
37576 _ACEOF
37577
37578
37579 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37580 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
37581 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37582 echo $ECHO_N "(cached) $ECHO_C" >&6
37583 else
37584
37585 cat >conftest.$ac_ext <<_ACEOF
37586 /* confdefs.h. */
37587 _ACEOF
37588 cat confdefs.h >>conftest.$ac_ext
37589 cat >>conftest.$ac_ext <<_ACEOF
37590 /* end confdefs.h. */
37591
37592 #include <stdio.h>
37593 #include <stdarg.h>
37594 #ifdef __MSL__
37595 #if __MSL__ >= 0x6000
37596 namespace std {}
37597 using namespace std;
37598 #endif
37599 #endif
37600
37601 int
37602 main ()
37603 {
37604
37605 char *buf;
37606 va_list ap;
37607 const char *fmt = "%s";
37608 vsnprintf(buf, 10u, fmt, ap);
37609
37610 ;
37611 return 0;
37612 }
37613 _ACEOF
37614 rm -f conftest.$ac_objext
37615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37616 (eval $ac_compile) 2>conftest.er1
37617 ac_status=$?
37618 grep -v '^ *+' conftest.er1 >conftest.err
37619 rm -f conftest.er1
37620 cat conftest.err >&5
37621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37622 (exit $ac_status); } &&
37623 { ac_try='test -z "$ac_c_werror_flag"
37624 || test ! -s conftest.err'
37625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37626 (eval $ac_try) 2>&5
37627 ac_status=$?
37628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37629 (exit $ac_status); }; } &&
37630 { ac_try='test -s conftest.$ac_objext'
37631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37632 (eval $ac_try) 2>&5
37633 ac_status=$?
37634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37635 (exit $ac_status); }; }; then
37636 wx_cv_func_broken_vsnprintf_decl=no
37637 else
37638 echo "$as_me: failed program was:" >&5
37639 sed 's/^/| /' conftest.$ac_ext >&5
37640
37641 wx_cv_func_broken_vsnprintf_decl=yes
37642
37643 fi
37644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37645
37646
37647 fi
37648 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37649 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
37650
37651 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37652 cat >>confdefs.h <<\_ACEOF
37653 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37654 _ACEOF
37655
37656 fi
37657 fi
37658 fi
37659
37660 if test "$ac_cv_func_snprintf" = "yes"; then
37661 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37662 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
37663 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37664 echo $ECHO_N "(cached) $ECHO_C" >&6
37665 else
37666
37667 cat >conftest.$ac_ext <<_ACEOF
37668 /* confdefs.h. */
37669 _ACEOF
37670 cat confdefs.h >>conftest.$ac_ext
37671 cat >>conftest.$ac_ext <<_ACEOF
37672 /* end confdefs.h. */
37673
37674 #include <stdio.h>
37675 #include <stdarg.h>
37676 #ifdef __MSL__
37677 #if __MSL__ >= 0x6000
37678 namespace std {}
37679 using namespace std;
37680 #endif
37681 #endif
37682
37683 int
37684 main ()
37685 {
37686
37687 char *buf;
37688 snprintf(buf, 10u, "%s", "wx");
37689
37690 ;
37691 return 0;
37692 }
37693 _ACEOF
37694 rm -f conftest.$ac_objext
37695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37696 (eval $ac_compile) 2>conftest.er1
37697 ac_status=$?
37698 grep -v '^ *+' conftest.er1 >conftest.err
37699 rm -f conftest.er1
37700 cat conftest.err >&5
37701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37702 (exit $ac_status); } &&
37703 { ac_try='test -z "$ac_c_werror_flag"
37704 || test ! -s conftest.err'
37705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37706 (eval $ac_try) 2>&5
37707 ac_status=$?
37708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37709 (exit $ac_status); }; } &&
37710 { ac_try='test -s conftest.$ac_objext'
37711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37712 (eval $ac_try) 2>&5
37713 ac_status=$?
37714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37715 (exit $ac_status); }; }; then
37716 wx_cv_func_snprintf_decl=yes
37717 else
37718 echo "$as_me: failed program was:" >&5
37719 sed 's/^/| /' conftest.$ac_ext >&5
37720
37721 wx_cv_func_snprintf_decl=no
37722
37723 fi
37724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37725
37726
37727 fi
37728 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37729 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
37730
37731 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37732 cat >>confdefs.h <<\_ACEOF
37733 #define HAVE_SNPRINTF_DECL 1
37734 _ACEOF
37735
37736
37737 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
37738 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
37739 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
37740 echo $ECHO_N "(cached) $ECHO_C" >&6
37741 else
37742
37743 cat >conftest.$ac_ext <<_ACEOF
37744 /* confdefs.h. */
37745 _ACEOF
37746 cat confdefs.h >>conftest.$ac_ext
37747 cat >>conftest.$ac_ext <<_ACEOF
37748 /* end confdefs.h. */
37749
37750 #include <stdio.h>
37751 #include <stdarg.h>
37752 #ifdef __MSL__
37753 #if __MSL__ >= 0x6000
37754 namespace std {}
37755 using namespace std;
37756 #endif
37757 #endif
37758
37759 int
37760 main ()
37761 {
37762
37763 char *buf;
37764 const char *fmt = "%s";
37765 snprintf(buf, 10u, fmt, "wx");
37766
37767 ;
37768 return 0;
37769 }
37770 _ACEOF
37771 rm -f conftest.$ac_objext
37772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37773 (eval $ac_compile) 2>conftest.er1
37774 ac_status=$?
37775 grep -v '^ *+' conftest.er1 >conftest.err
37776 rm -f conftest.er1
37777 cat conftest.err >&5
37778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37779 (exit $ac_status); } &&
37780 { ac_try='test -z "$ac_c_werror_flag"
37781 || test ! -s conftest.err'
37782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37783 (eval $ac_try) 2>&5
37784 ac_status=$?
37785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37786 (exit $ac_status); }; } &&
37787 { ac_try='test -s conftest.$ac_objext'
37788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37789 (eval $ac_try) 2>&5
37790 ac_status=$?
37791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37792 (exit $ac_status); }; }; then
37793 wx_cv_func_broken_snprintf_decl=no
37794 else
37795 echo "$as_me: failed program was:" >&5
37796 sed 's/^/| /' conftest.$ac_ext >&5
37797
37798 wx_cv_func_broken_snprintf_decl=yes
37799
37800 fi
37801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37802
37803
37804 fi
37805 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
37806 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
37807
37808 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
37809 cat >>confdefs.h <<\_ACEOF
37810 #define HAVE_BROKEN_SNPRINTF_DECL 1
37811 _ACEOF
37812
37813 fi
37814 fi
37815
37816 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37817
37818 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37819 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
37820 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37821 echo $ECHO_N "(cached) $ECHO_C" >&6
37822 else
37823
37824 if test "$cross_compiling" = yes; then
37825
37826 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37827 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37828 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37829 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37830 wx_cv_func_snprintf_pos_params=no
37831
37832
37833 else
37834 cat >conftest.$ac_ext <<_ACEOF
37835 /* confdefs.h. */
37836 _ACEOF
37837 cat confdefs.h >>conftest.$ac_ext
37838 cat >>conftest.$ac_ext <<_ACEOF
37839 /* end confdefs.h. */
37840
37841 #include <stdio.h>
37842
37843 int main (void)
37844 {
37845 char buffer[128];
37846 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37847 if (strcmp ("2 3 1", buffer) == 0)
37848 exit (0);
37849 exit (1);
37850 }
37851
37852 _ACEOF
37853 rm -f conftest$ac_exeext
37854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37855 (eval $ac_link) 2>&5
37856 ac_status=$?
37857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
37859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37860 (eval $ac_try) 2>&5
37861 ac_status=$?
37862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37863 (exit $ac_status); }; }; then
37864 wx_cv_func_snprintf_pos_params=no
37865 else
37866 echo "$as_me: program exited with status $ac_status" >&5
37867 echo "$as_me: failed program was:" >&5
37868 sed 's/^/| /' conftest.$ac_ext >&5
37869
37870 ( exit $ac_status )
37871 wx_cv_func_snprintf_pos_params=yes
37872 fi
37873 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37874 fi
37875
37876
37877 fi
37878 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37879 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
37880
37881 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37882 cat >>confdefs.h <<\_ACEOF
37883 #define HAVE_UNIX98_PRINTF 1
37884 _ACEOF
37885
37886 fi
37887 fi
37888 fi
37889
37890 if test "$wxUSE_UNICODE" = yes; then
37891
37892
37893 for ac_func in swprintf
37894 do
37895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37896 echo "$as_me:$LINENO: checking for $ac_func" >&5
37897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37898 if eval "test \"\${$as_ac_var+set}\" = set"; then
37899 echo $ECHO_N "(cached) $ECHO_C" >&6
37900 else
37901 cat >conftest.$ac_ext <<_ACEOF
37902 /* confdefs.h. */
37903 _ACEOF
37904 cat confdefs.h >>conftest.$ac_ext
37905 cat >>conftest.$ac_ext <<_ACEOF
37906 /* end confdefs.h. */
37907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37909 #define $ac_func innocuous_$ac_func
37910
37911 /* System header to define __stub macros and hopefully few prototypes,
37912 which can conflict with char $ac_func (); below.
37913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37914 <limits.h> exists even on freestanding compilers. */
37915
37916 #ifdef __STDC__
37917 # include <limits.h>
37918 #else
37919 # include <assert.h>
37920 #endif
37921
37922 #undef $ac_func
37923
37924 /* Override any gcc2 internal prototype to avoid an error. */
37925 #ifdef __cplusplus
37926 extern "C"
37927 {
37928 #endif
37929 /* We use char because int might match the return type of a gcc2
37930 builtin and then its argument prototype would still apply. */
37931 char $ac_func ();
37932 /* The GNU C library defines this for functions which it implements
37933 to always fail with ENOSYS. Some functions are actually named
37934 something starting with __ and the normal name is an alias. */
37935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37936 choke me
37937 #else
37938 char (*f) () = $ac_func;
37939 #endif
37940 #ifdef __cplusplus
37941 }
37942 #endif
37943
37944 int
37945 main ()
37946 {
37947 return f != $ac_func;
37948 ;
37949 return 0;
37950 }
37951 _ACEOF
37952 rm -f conftest.$ac_objext conftest$ac_exeext
37953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37954 (eval $ac_link) 2>conftest.er1
37955 ac_status=$?
37956 grep -v '^ *+' conftest.er1 >conftest.err
37957 rm -f conftest.er1
37958 cat conftest.err >&5
37959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37960 (exit $ac_status); } &&
37961 { ac_try='test -z "$ac_c_werror_flag"
37962 || test ! -s conftest.err'
37963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37964 (eval $ac_try) 2>&5
37965 ac_status=$?
37966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37967 (exit $ac_status); }; } &&
37968 { ac_try='test -s conftest$ac_exeext'
37969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37970 (eval $ac_try) 2>&5
37971 ac_status=$?
37972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37973 (exit $ac_status); }; }; then
37974 eval "$as_ac_var=yes"
37975 else
37976 echo "$as_me: failed program was:" >&5
37977 sed 's/^/| /' conftest.$ac_ext >&5
37978
37979 eval "$as_ac_var=no"
37980 fi
37981 rm -f conftest.err conftest.$ac_objext \
37982 conftest$ac_exeext conftest.$ac_ext
37983 fi
37984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37986 if test `eval echo '${'$as_ac_var'}'` = yes; then
37987 cat >>confdefs.h <<_ACEOF
37988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37989 _ACEOF
37990
37991 fi
37992 done
37993
37994
37995 if test "$ac_cv_func_swprintf" = "yes"; then
37996 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
37997 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
37998 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
37999 echo $ECHO_N "(cached) $ECHO_C" >&6
38000 else
38001
38002 cat >conftest.$ac_ext <<_ACEOF
38003 /* confdefs.h. */
38004 _ACEOF
38005 cat confdefs.h >>conftest.$ac_ext
38006 cat >>conftest.$ac_ext <<_ACEOF
38007 /* end confdefs.h. */
38008
38009 #include <stdio.h>
38010 #include <stdarg.h>
38011 #include <wchar.h>
38012
38013 int
38014 main ()
38015 {
38016
38017 wchar_t *buf;
38018 const wchar_t *fmt = L"test";
38019 swprintf(buf, 10u, fmt);
38020
38021 ;
38022 return 0;
38023 }
38024 _ACEOF
38025 rm -f conftest.$ac_objext
38026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38027 (eval $ac_compile) 2>conftest.er1
38028 ac_status=$?
38029 grep -v '^ *+' conftest.er1 >conftest.err
38030 rm -f conftest.er1
38031 cat conftest.err >&5
38032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38033 (exit $ac_status); } &&
38034 { ac_try='test -z "$ac_c_werror_flag"
38035 || test ! -s conftest.err'
38036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38037 (eval $ac_try) 2>&5
38038 ac_status=$?
38039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38040 (exit $ac_status); }; } &&
38041 { ac_try='test -s conftest.$ac_objext'
38042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38043 (eval $ac_try) 2>&5
38044 ac_status=$?
38045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38046 (exit $ac_status); }; }; then
38047 wx_cv_func_broken_swprintf_decl=no
38048 else
38049 echo "$as_me: failed program was:" >&5
38050 sed 's/^/| /' conftest.$ac_ext >&5
38051
38052 wx_cv_func_broken_swprintf_decl=yes
38053
38054 fi
38055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38056
38057
38058 fi
38059 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38060 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
38061
38062 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38063 cat >>confdefs.h <<\_ACEOF
38064 #define HAVE_BROKEN_SWPRINTF_DECL 1
38065 _ACEOF
38066
38067 fi
38068 fi
38069
38070 wchar_headers="#include <stdio.h>
38071 #include <wchar.h>"
38072 case "${host}" in
38073 *-*-solaris2* )
38074
38075 for ac_header in widec.h
38076 do
38077 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38078 echo "$as_me:$LINENO: checking for $ac_header" >&5
38079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38081 echo $ECHO_N "(cached) $ECHO_C" >&6
38082 else
38083 cat >conftest.$ac_ext <<_ACEOF
38084 /* confdefs.h. */
38085 _ACEOF
38086 cat confdefs.h >>conftest.$ac_ext
38087 cat >>conftest.$ac_ext <<_ACEOF
38088 /* end confdefs.h. */
38089 $ac_includes_default
38090
38091 #include <$ac_header>
38092 _ACEOF
38093 rm -f conftest.$ac_objext
38094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38095 (eval $ac_compile) 2>conftest.er1
38096 ac_status=$?
38097 grep -v '^ *+' conftest.er1 >conftest.err
38098 rm -f conftest.er1
38099 cat conftest.err >&5
38100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38101 (exit $ac_status); } &&
38102 { ac_try='test -z "$ac_c_werror_flag"
38103 || test ! -s conftest.err'
38104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38105 (eval $ac_try) 2>&5
38106 ac_status=$?
38107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38108 (exit $ac_status); }; } &&
38109 { ac_try='test -s conftest.$ac_objext'
38110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38111 (eval $ac_try) 2>&5
38112 ac_status=$?
38113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38114 (exit $ac_status); }; }; then
38115 eval "$as_ac_Header=yes"
38116 else
38117 echo "$as_me: failed program was:" >&5
38118 sed 's/^/| /' conftest.$ac_ext >&5
38119
38120 eval "$as_ac_Header=no"
38121 fi
38122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38123 fi
38124 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38125 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38126 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38127 cat >>confdefs.h <<_ACEOF
38128 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38129 _ACEOF
38130
38131 fi
38132
38133 done
38134
38135 if test "$ac_cv_header_widec_h" = "yes"; then
38136 wchar_headers="$wchar_headers
38137 #include <widec.h>"
38138 fi
38139 esac
38140
38141
38142 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38143 do
38144 echo "$as_me:$LINENO: checking for $wx_func" >&5
38145 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38146 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38147 echo $ECHO_N "(cached) $ECHO_C" >&6
38148 else
38149
38150 cat >conftest.$ac_ext <<_ACEOF
38151
38152 /* confdefs.h. */
38153 _ACEOF
38154 cat confdefs.h >>conftest.$ac_ext
38155 cat >>conftest.$ac_ext <<_ACEOF
38156 /* end confdefs.h. */
38157
38158 $wchar_headers
38159 $ac_includes_default
38160
38161 int
38162 main ()
38163 {
38164
38165 #ifndef $wx_func
38166 &$wx_func;
38167 #endif
38168
38169
38170 ;
38171 return 0;
38172 }
38173
38174 _ACEOF
38175 rm -f conftest.$ac_objext conftest$ac_exeext
38176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38177 (eval $ac_link) 2>conftest.er1
38178 ac_status=$?
38179 grep -v '^ *+' conftest.er1 >conftest.err
38180 rm -f conftest.er1
38181 cat conftest.err >&5
38182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38183 (exit $ac_status); } &&
38184 { ac_try='test -z "$ac_c_werror_flag"
38185 || test ! -s conftest.err'
38186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38187 (eval $ac_try) 2>&5
38188 ac_status=$?
38189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38190 (exit $ac_status); }; } &&
38191 { ac_try='test -s conftest$ac_exeext'
38192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38193 (eval $ac_try) 2>&5
38194 ac_status=$?
38195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38196 (exit $ac_status); }; }; then
38197 eval wx_cv_func_$wx_func=yes
38198 else
38199 echo "$as_me: failed program was:" >&5
38200 sed 's/^/| /' conftest.$ac_ext >&5
38201
38202 eval wx_cv_func_$wx_func=no
38203 fi
38204 rm -f conftest.err conftest.$ac_objext \
38205 conftest$ac_exeext conftest.$ac_ext
38206
38207 fi
38208 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38209 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38210
38211 if eval test \$wx_cv_func_$wx_func = yes
38212 then
38213 cat >>confdefs.h <<_ACEOF
38214 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38215 _ACEOF
38216
38217
38218 else
38219 :
38220
38221 fi
38222 done
38223
38224
38225 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38226 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
38227 cat >conftest.$ac_ext <<_ACEOF
38228 /* confdefs.h. */
38229 _ACEOF
38230 cat confdefs.h >>conftest.$ac_ext
38231 cat >>conftest.$ac_ext <<_ACEOF
38232 /* end confdefs.h. */
38233 #include <wchar.h>
38234 int
38235 main ()
38236 {
38237 &_vsnwprintf;
38238 ;
38239 return 0;
38240 }
38241 _ACEOF
38242 rm -f conftest.$ac_objext
38243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38244 (eval $ac_compile) 2>conftest.er1
38245 ac_status=$?
38246 grep -v '^ *+' conftest.er1 >conftest.err
38247 rm -f conftest.er1
38248 cat conftest.err >&5
38249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38250 (exit $ac_status); } &&
38251 { ac_try='test -z "$ac_c_werror_flag"
38252 || test ! -s conftest.err'
38253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38254 (eval $ac_try) 2>&5
38255 ac_status=$?
38256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38257 (exit $ac_status); }; } &&
38258 { ac_try='test -s conftest.$ac_objext'
38259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38260 (eval $ac_try) 2>&5
38261 ac_status=$?
38262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38263 (exit $ac_status); }; }; then
38264 echo "$as_me:$LINENO: result: yes" >&5
38265 echo "${ECHO_T}yes" >&6
38266 cat >>confdefs.h <<\_ACEOF
38267 #define HAVE__VSNWPRINTF 1
38268 _ACEOF
38269
38270 else
38271 echo "$as_me: failed program was:" >&5
38272 sed 's/^/| /' conftest.$ac_ext >&5
38273
38274 echo "$as_me:$LINENO: result: no" >&5
38275 echo "${ECHO_T}no" >&6
38276 fi
38277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
38278 fi
38279
38280 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38281
38282 for wx_func in fnmatch
38283 do
38284 echo "$as_me:$LINENO: checking for $wx_func" >&5
38285 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38286 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38287 echo $ECHO_N "(cached) $ECHO_C" >&6
38288 else
38289
38290 cat >conftest.$ac_ext <<_ACEOF
38291
38292 /* confdefs.h. */
38293 _ACEOF
38294 cat confdefs.h >>conftest.$ac_ext
38295 cat >>conftest.$ac_ext <<_ACEOF
38296 /* end confdefs.h. */
38297
38298 #include <fnmatch.h>
38299 $ac_includes_default
38300
38301 int
38302 main ()
38303 {
38304
38305 #ifndef $wx_func
38306 &$wx_func;
38307 #endif
38308
38309
38310 ;
38311 return 0;
38312 }
38313
38314 _ACEOF
38315 rm -f conftest.$ac_objext conftest$ac_exeext
38316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38317 (eval $ac_link) 2>conftest.er1
38318 ac_status=$?
38319 grep -v '^ *+' conftest.er1 >conftest.err
38320 rm -f conftest.er1
38321 cat conftest.err >&5
38322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38323 (exit $ac_status); } &&
38324 { ac_try='test -z "$ac_c_werror_flag"
38325 || test ! -s conftest.err'
38326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38327 (eval $ac_try) 2>&5
38328 ac_status=$?
38329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38330 (exit $ac_status); }; } &&
38331 { ac_try='test -s conftest$ac_exeext'
38332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38333 (eval $ac_try) 2>&5
38334 ac_status=$?
38335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38336 (exit $ac_status); }; }; then
38337 eval wx_cv_func_$wx_func=yes
38338 else
38339 echo "$as_me: failed program was:" >&5
38340 sed 's/^/| /' conftest.$ac_ext >&5
38341
38342 eval wx_cv_func_$wx_func=no
38343 fi
38344 rm -f conftest.err conftest.$ac_objext \
38345 conftest$ac_exeext conftest.$ac_ext
38346
38347 fi
38348 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38349 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38350
38351 if eval test \$wx_cv_func_$wx_func = yes
38352 then
38353 cat >>confdefs.h <<_ACEOF
38354 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38355 _ACEOF
38356
38357
38358 else
38359 :
38360
38361 fi
38362 done
38363
38364 fi
38365
38366 if test "$wxUSE_FILE" = "yes"; then
38367
38368 for wx_func in fsync
38369 do
38370 echo "$as_me:$LINENO: checking for $wx_func" >&5
38371 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38372 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38373 echo $ECHO_N "(cached) $ECHO_C" >&6
38374 else
38375
38376 cat >conftest.$ac_ext <<_ACEOF
38377
38378 /* confdefs.h. */
38379 _ACEOF
38380 cat confdefs.h >>conftest.$ac_ext
38381 cat >>conftest.$ac_ext <<_ACEOF
38382 /* end confdefs.h. */
38383
38384
38385 $ac_includes_default
38386
38387 int
38388 main ()
38389 {
38390
38391 #ifndef $wx_func
38392 &$wx_func;
38393 #endif
38394
38395
38396 ;
38397 return 0;
38398 }
38399
38400 _ACEOF
38401 rm -f conftest.$ac_objext conftest$ac_exeext
38402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38403 (eval $ac_link) 2>conftest.er1
38404 ac_status=$?
38405 grep -v '^ *+' conftest.er1 >conftest.err
38406 rm -f conftest.er1
38407 cat conftest.err >&5
38408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38409 (exit $ac_status); } &&
38410 { ac_try='test -z "$ac_c_werror_flag"
38411 || test ! -s conftest.err'
38412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38413 (eval $ac_try) 2>&5
38414 ac_status=$?
38415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38416 (exit $ac_status); }; } &&
38417 { ac_try='test -s conftest$ac_exeext'
38418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38419 (eval $ac_try) 2>&5
38420 ac_status=$?
38421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38422 (exit $ac_status); }; }; then
38423 eval wx_cv_func_$wx_func=yes
38424 else
38425 echo "$as_me: failed program was:" >&5
38426 sed 's/^/| /' conftest.$ac_ext >&5
38427
38428 eval wx_cv_func_$wx_func=no
38429 fi
38430 rm -f conftest.err conftest.$ac_objext \
38431 conftest$ac_exeext conftest.$ac_ext
38432
38433 fi
38434 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38435 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38436
38437 if eval test \$wx_cv_func_$wx_func = yes
38438 then
38439 cat >>confdefs.h <<_ACEOF
38440 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38441 _ACEOF
38442
38443
38444 else
38445 :
38446
38447 fi
38448 done
38449
38450 fi
38451
38452 ac_ext=cc
38453 ac_cpp='$CXXCPP $CPPFLAGS'
38454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38457
38458
38459 for wx_func in round
38460 do
38461 echo "$as_me:$LINENO: checking for $wx_func" >&5
38462 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38463 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38464 echo $ECHO_N "(cached) $ECHO_C" >&6
38465 else
38466
38467 cat >conftest.$ac_ext <<_ACEOF
38468
38469 /* confdefs.h. */
38470 _ACEOF
38471 cat confdefs.h >>conftest.$ac_ext
38472 cat >>conftest.$ac_ext <<_ACEOF
38473 /* end confdefs.h. */
38474
38475 #include <math.h>
38476 $ac_includes_default
38477
38478 int
38479 main ()
38480 {
38481
38482 #ifndef $wx_func
38483 &$wx_func;
38484 #endif
38485
38486
38487 ;
38488 return 0;
38489 }
38490
38491 _ACEOF
38492 rm -f conftest.$ac_objext conftest$ac_exeext
38493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38494 (eval $ac_link) 2>conftest.er1
38495 ac_status=$?
38496 grep -v '^ *+' conftest.er1 >conftest.err
38497 rm -f conftest.er1
38498 cat conftest.err >&5
38499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38500 (exit $ac_status); } &&
38501 { ac_try='test -z "$ac_cxx_werror_flag"
38502 || test ! -s conftest.err'
38503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38504 (eval $ac_try) 2>&5
38505 ac_status=$?
38506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38507 (exit $ac_status); }; } &&
38508 { ac_try='test -s conftest$ac_exeext'
38509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38510 (eval $ac_try) 2>&5
38511 ac_status=$?
38512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38513 (exit $ac_status); }; }; then
38514 eval wx_cv_func_$wx_func=yes
38515 else
38516 echo "$as_me: failed program was:" >&5
38517 sed 's/^/| /' conftest.$ac_ext >&5
38518
38519 eval wx_cv_func_$wx_func=no
38520 fi
38521 rm -f conftest.err conftest.$ac_objext \
38522 conftest$ac_exeext conftest.$ac_ext
38523
38524 fi
38525 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38526 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38527
38528 if eval test \$wx_cv_func_$wx_func = yes
38529 then
38530 cat >>confdefs.h <<_ACEOF
38531 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38532 _ACEOF
38533
38534
38535 else
38536 :
38537
38538 fi
38539 done
38540
38541 ac_ext=c
38542 ac_cpp='$CPP $CPPFLAGS'
38543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38546
38547
38548 if test "$TOOLKIT" != "MSW"; then
38549
38550
38551
38552
38553
38554 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
38555 if test "${with_libiconv_prefix+set}" = set; then
38556 withval="$with_libiconv_prefix"
38557
38558 for dir in `echo "$withval" | tr : ' '`; do
38559 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38560 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38561 done
38562
38563 fi;
38564
38565 echo "$as_me:$LINENO: checking for iconv" >&5
38566 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
38567 if test "${am_cv_func_iconv+set}" = set; then
38568 echo $ECHO_N "(cached) $ECHO_C" >&6
38569 else
38570
38571 am_cv_func_iconv="no, consider installing GNU libiconv"
38572 am_cv_lib_iconv=no
38573 cat >conftest.$ac_ext <<_ACEOF
38574 /* confdefs.h. */
38575 _ACEOF
38576 cat confdefs.h >>conftest.$ac_ext
38577 cat >>conftest.$ac_ext <<_ACEOF
38578 /* end confdefs.h. */
38579 #include <stdlib.h>
38580 #include <iconv.h>
38581 int
38582 main ()
38583 {
38584 iconv_t cd = iconv_open("","");
38585 iconv(cd,NULL,NULL,NULL,NULL);
38586 iconv_close(cd);
38587 ;
38588 return 0;
38589 }
38590 _ACEOF
38591 rm -f conftest.$ac_objext conftest$ac_exeext
38592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38593 (eval $ac_link) 2>conftest.er1
38594 ac_status=$?
38595 grep -v '^ *+' conftest.er1 >conftest.err
38596 rm -f conftest.er1
38597 cat conftest.err >&5
38598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38599 (exit $ac_status); } &&
38600 { ac_try='test -z "$ac_c_werror_flag"
38601 || test ! -s conftest.err'
38602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38603 (eval $ac_try) 2>&5
38604 ac_status=$?
38605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38606 (exit $ac_status); }; } &&
38607 { ac_try='test -s conftest$ac_exeext'
38608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38609 (eval $ac_try) 2>&5
38610 ac_status=$?
38611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38612 (exit $ac_status); }; }; then
38613 am_cv_func_iconv=yes
38614 else
38615 echo "$as_me: failed program was:" >&5
38616 sed 's/^/| /' conftest.$ac_ext >&5
38617
38618 fi
38619 rm -f conftest.err conftest.$ac_objext \
38620 conftest$ac_exeext conftest.$ac_ext
38621 if test "$am_cv_func_iconv" != yes; then
38622 am_save_LIBS="$LIBS"
38623 LIBS="$LIBS -liconv"
38624 cat >conftest.$ac_ext <<_ACEOF
38625 /* confdefs.h. */
38626 _ACEOF
38627 cat confdefs.h >>conftest.$ac_ext
38628 cat >>conftest.$ac_ext <<_ACEOF
38629 /* end confdefs.h. */
38630 #include <stdlib.h>
38631 #include <iconv.h>
38632 int
38633 main ()
38634 {
38635 iconv_t cd = iconv_open("","");
38636 iconv(cd,NULL,NULL,NULL,NULL);
38637 iconv_close(cd);
38638 ;
38639 return 0;
38640 }
38641 _ACEOF
38642 rm -f conftest.$ac_objext conftest$ac_exeext
38643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38644 (eval $ac_link) 2>conftest.er1
38645 ac_status=$?
38646 grep -v '^ *+' conftest.er1 >conftest.err
38647 rm -f conftest.er1
38648 cat conftest.err >&5
38649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38650 (exit $ac_status); } &&
38651 { ac_try='test -z "$ac_c_werror_flag"
38652 || test ! -s conftest.err'
38653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38654 (eval $ac_try) 2>&5
38655 ac_status=$?
38656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38657 (exit $ac_status); }; } &&
38658 { ac_try='test -s conftest$ac_exeext'
38659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38660 (eval $ac_try) 2>&5
38661 ac_status=$?
38662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38663 (exit $ac_status); }; }; then
38664 am_cv_lib_iconv=yes
38665 am_cv_func_iconv=yes
38666 else
38667 echo "$as_me: failed program was:" >&5
38668 sed 's/^/| /' conftest.$ac_ext >&5
38669
38670 fi
38671 rm -f conftest.err conftest.$ac_objext \
38672 conftest$ac_exeext conftest.$ac_ext
38673 LIBS="$am_save_LIBS"
38674 fi
38675
38676 fi
38677 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
38678 echo "${ECHO_T}$am_cv_func_iconv" >&6
38679 if test "$am_cv_func_iconv" = yes; then
38680
38681 cat >>confdefs.h <<\_ACEOF
38682 #define HAVE_ICONV 1
38683 _ACEOF
38684
38685 echo "$as_me:$LINENO: checking if iconv needs const" >&5
38686 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
38687 if test "${wx_cv_func_iconv_const+set}" = set; then
38688 echo $ECHO_N "(cached) $ECHO_C" >&6
38689 else
38690 cat >conftest.$ac_ext <<_ACEOF
38691 /* confdefs.h. */
38692 _ACEOF
38693 cat confdefs.h >>conftest.$ac_ext
38694 cat >>conftest.$ac_ext <<_ACEOF
38695 /* end confdefs.h. */
38696
38697 #include <stdlib.h>
38698 #include <iconv.h>
38699 extern
38700 #ifdef __cplusplus
38701 "C"
38702 #endif
38703 #if defined(__STDC__) || defined(__cplusplus)
38704 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38705 #else
38706 size_t iconv();
38707 #endif
38708
38709 int
38710 main ()
38711 {
38712
38713 ;
38714 return 0;
38715 }
38716 _ACEOF
38717 rm -f conftest.$ac_objext
38718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38719 (eval $ac_compile) 2>conftest.er1
38720 ac_status=$?
38721 grep -v '^ *+' conftest.er1 >conftest.err
38722 rm -f conftest.er1
38723 cat conftest.err >&5
38724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38725 (exit $ac_status); } &&
38726 { ac_try='test -z "$ac_c_werror_flag"
38727 || test ! -s conftest.err'
38728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38729 (eval $ac_try) 2>&5
38730 ac_status=$?
38731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38732 (exit $ac_status); }; } &&
38733 { ac_try='test -s conftest.$ac_objext'
38734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38735 (eval $ac_try) 2>&5
38736 ac_status=$?
38737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38738 (exit $ac_status); }; }; then
38739 wx_cv_func_iconv_const="no"
38740 else
38741 echo "$as_me: failed program was:" >&5
38742 sed 's/^/| /' conftest.$ac_ext >&5
38743
38744 wx_cv_func_iconv_const="yes"
38745
38746 fi
38747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38748
38749 fi
38750 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38751 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
38752
38753 iconv_const=
38754 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38755 iconv_const="const"
38756 fi
38757
38758
38759 cat >>confdefs.h <<_ACEOF
38760 #define ICONV_CONST $iconv_const
38761 _ACEOF
38762
38763 fi
38764 LIBICONV=
38765 if test "$am_cv_lib_iconv" = yes; then
38766 LIBICONV="-liconv"
38767 fi
38768
38769
38770 LIBS="$LIBICONV $LIBS"
38771
38772 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38773
38774 for ac_func in sigaction
38775 do
38776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38777 echo "$as_me:$LINENO: checking for $ac_func" >&5
38778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38779 if eval "test \"\${$as_ac_var+set}\" = set"; then
38780 echo $ECHO_N "(cached) $ECHO_C" >&6
38781 else
38782 cat >conftest.$ac_ext <<_ACEOF
38783 /* confdefs.h. */
38784 _ACEOF
38785 cat confdefs.h >>conftest.$ac_ext
38786 cat >>conftest.$ac_ext <<_ACEOF
38787 /* end confdefs.h. */
38788 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38790 #define $ac_func innocuous_$ac_func
38791
38792 /* System header to define __stub macros and hopefully few prototypes,
38793 which can conflict with char $ac_func (); below.
38794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38795 <limits.h> exists even on freestanding compilers. */
38796
38797 #ifdef __STDC__
38798 # include <limits.h>
38799 #else
38800 # include <assert.h>
38801 #endif
38802
38803 #undef $ac_func
38804
38805 /* Override any gcc2 internal prototype to avoid an error. */
38806 #ifdef __cplusplus
38807 extern "C"
38808 {
38809 #endif
38810 /* We use char because int might match the return type of a gcc2
38811 builtin and then its argument prototype would still apply. */
38812 char $ac_func ();
38813 /* The GNU C library defines this for functions which it implements
38814 to always fail with ENOSYS. Some functions are actually named
38815 something starting with __ and the normal name is an alias. */
38816 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38817 choke me
38818 #else
38819 char (*f) () = $ac_func;
38820 #endif
38821 #ifdef __cplusplus
38822 }
38823 #endif
38824
38825 int
38826 main ()
38827 {
38828 return f != $ac_func;
38829 ;
38830 return 0;
38831 }
38832 _ACEOF
38833 rm -f conftest.$ac_objext conftest$ac_exeext
38834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38835 (eval $ac_link) 2>conftest.er1
38836 ac_status=$?
38837 grep -v '^ *+' conftest.er1 >conftest.err
38838 rm -f conftest.er1
38839 cat conftest.err >&5
38840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38841 (exit $ac_status); } &&
38842 { ac_try='test -z "$ac_c_werror_flag"
38843 || test ! -s conftest.err'
38844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38845 (eval $ac_try) 2>&5
38846 ac_status=$?
38847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38848 (exit $ac_status); }; } &&
38849 { ac_try='test -s conftest$ac_exeext'
38850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38851 (eval $ac_try) 2>&5
38852 ac_status=$?
38853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38854 (exit $ac_status); }; }; then
38855 eval "$as_ac_var=yes"
38856 else
38857 echo "$as_me: failed program was:" >&5
38858 sed 's/^/| /' conftest.$ac_ext >&5
38859
38860 eval "$as_ac_var=no"
38861 fi
38862 rm -f conftest.err conftest.$ac_objext \
38863 conftest$ac_exeext conftest.$ac_ext
38864 fi
38865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38866 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38867 if test `eval echo '${'$as_ac_var'}'` = yes; then
38868 cat >>confdefs.h <<_ACEOF
38869 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38870 _ACEOF
38871
38872 fi
38873 done
38874
38875
38876 if test "$ac_cv_func_sigaction" = "no"; then
38877 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38878 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38879 wxUSE_ON_FATAL_EXCEPTION=no
38880 fi
38881
38882 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38883 echo "$as_me:$LINENO: checking for sa_handler type" >&5
38884 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
38885 if test "${wx_cv_type_sa_handler+set}" = set; then
38886 echo $ECHO_N "(cached) $ECHO_C" >&6
38887 else
38888
38889 ac_ext=cc
38890 ac_cpp='$CXXCPP $CPPFLAGS'
38891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38894
38895 cat >conftest.$ac_ext <<_ACEOF
38896 /* confdefs.h. */
38897 _ACEOF
38898 cat confdefs.h >>conftest.$ac_ext
38899 cat >>conftest.$ac_ext <<_ACEOF
38900 /* end confdefs.h. */
38901 #include <signal.h>
38902 int
38903 main ()
38904 {
38905
38906 extern void testSigHandler(int);
38907
38908 struct sigaction sa;
38909 sa.sa_handler = testSigHandler;
38910
38911 ;
38912 return 0;
38913 }
38914 _ACEOF
38915 rm -f conftest.$ac_objext
38916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38917 (eval $ac_compile) 2>conftest.er1
38918 ac_status=$?
38919 grep -v '^ *+' conftest.er1 >conftest.err
38920 rm -f conftest.er1
38921 cat conftest.err >&5
38922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38923 (exit $ac_status); } &&
38924 { ac_try='test -z "$ac_cxx_werror_flag"
38925 || test ! -s conftest.err'
38926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38927 (eval $ac_try) 2>&5
38928 ac_status=$?
38929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38930 (exit $ac_status); }; } &&
38931 { ac_try='test -s conftest.$ac_objext'
38932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38933 (eval $ac_try) 2>&5
38934 ac_status=$?
38935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38936 (exit $ac_status); }; }; then
38937
38938 wx_cv_type_sa_handler=int
38939
38940 else
38941 echo "$as_me: failed program was:" >&5
38942 sed 's/^/| /' conftest.$ac_ext >&5
38943
38944
38945 wx_cv_type_sa_handler=void
38946
38947 fi
38948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38949 ac_ext=c
38950 ac_cpp='$CPP $CPPFLAGS'
38951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38954
38955
38956 fi
38957 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38958 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
38959
38960 cat >>confdefs.h <<_ACEOF
38961 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38962 _ACEOF
38963
38964 fi
38965 fi
38966
38967 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38968 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38969 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
38970 if test "${wx_cv_func_backtrace+set}" = set; then
38971 echo $ECHO_N "(cached) $ECHO_C" >&6
38972 else
38973
38974 ac_ext=cc
38975 ac_cpp='$CXXCPP $CPPFLAGS'
38976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38979
38980 cat >conftest.$ac_ext <<_ACEOF
38981 /* confdefs.h. */
38982 _ACEOF
38983 cat confdefs.h >>conftest.$ac_ext
38984 cat >>conftest.$ac_ext <<_ACEOF
38985 /* end confdefs.h. */
38986 #include <execinfo.h>
38987 int
38988 main ()
38989 {
38990
38991 void *trace[1];
38992 char **messages;
38993
38994 backtrace(trace, 1);
38995 messages = backtrace_symbols(trace, 1);
38996
38997 ;
38998 return 0;
38999 }
39000 _ACEOF
39001 rm -f conftest.$ac_objext
39002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39003 (eval $ac_compile) 2>conftest.er1
39004 ac_status=$?
39005 grep -v '^ *+' conftest.er1 >conftest.err
39006 rm -f conftest.er1
39007 cat conftest.err >&5
39008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39009 (exit $ac_status); } &&
39010 { ac_try='test -z "$ac_cxx_werror_flag"
39011 || test ! -s conftest.err'
39012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39013 (eval $ac_try) 2>&5
39014 ac_status=$?
39015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39016 (exit $ac_status); }; } &&
39017 { ac_try='test -s conftest.$ac_objext'
39018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39019 (eval $ac_try) 2>&5
39020 ac_status=$?
39021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39022 (exit $ac_status); }; }; then
39023 wx_cv_func_backtrace=yes
39024 else
39025 echo "$as_me: failed program was:" >&5
39026 sed 's/^/| /' conftest.$ac_ext >&5
39027
39028 wx_cv_func_backtrace=no
39029
39030 fi
39031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39032 ac_ext=c
39033 ac_cpp='$CPP $CPPFLAGS'
39034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39037
39038
39039
39040 fi
39041 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39042 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
39043
39044
39045 if test "$wx_cv_func_backtrace" = "no"; then
39046 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39047 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39048 wxUSE_STACKWALKER=no
39049 else
39050 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39051 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
39052 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39053 echo $ECHO_N "(cached) $ECHO_C" >&6
39054 else
39055
39056 ac_ext=cc
39057 ac_cpp='$CXXCPP $CPPFLAGS'
39058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39061
39062 cat >conftest.$ac_ext <<_ACEOF
39063 /* confdefs.h. */
39064 _ACEOF
39065 cat confdefs.h >>conftest.$ac_ext
39066 cat >>conftest.$ac_ext <<_ACEOF
39067 /* end confdefs.h. */
39068 #include <cxxabi.h>
39069 int
39070 main ()
39071 {
39072
39073 int rc;
39074 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39075
39076 ;
39077 return 0;
39078 }
39079 _ACEOF
39080 rm -f conftest.$ac_objext conftest$ac_exeext
39081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39082 (eval $ac_link) 2>conftest.er1
39083 ac_status=$?
39084 grep -v '^ *+' conftest.er1 >conftest.err
39085 rm -f conftest.er1
39086 cat conftest.err >&5
39087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39088 (exit $ac_status); } &&
39089 { ac_try='test -z "$ac_cxx_werror_flag"
39090 || test ! -s conftest.err'
39091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39092 (eval $ac_try) 2>&5
39093 ac_status=$?
39094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39095 (exit $ac_status); }; } &&
39096 { ac_try='test -s conftest$ac_exeext'
39097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39098 (eval $ac_try) 2>&5
39099 ac_status=$?
39100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39101 (exit $ac_status); }; }; then
39102 wx_cv_func_cxa_demangle=yes
39103 else
39104 echo "$as_me: failed program was:" >&5
39105 sed 's/^/| /' conftest.$ac_ext >&5
39106
39107 wx_cv_func_cxa_demangle=no
39108
39109 fi
39110 rm -f conftest.err conftest.$ac_objext \
39111 conftest$ac_exeext conftest.$ac_ext
39112 ac_ext=c
39113 ac_cpp='$CPP $CPPFLAGS'
39114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39117
39118
39119
39120 fi
39121 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39122 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
39123
39124 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39125 cat >>confdefs.h <<\_ACEOF
39126 #define HAVE_CXA_DEMANGLE 1
39127 _ACEOF
39128
39129 fi
39130 fi
39131 fi
39132
39133 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39134 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39135 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39136 wxUSE_STACKWALKER=no
39137 fi
39138
39139
39140
39141
39142 for ac_func in mkstemp mktemp
39143 do
39144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39145 echo "$as_me:$LINENO: checking for $ac_func" >&5
39146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39147 if eval "test \"\${$as_ac_var+set}\" = set"; then
39148 echo $ECHO_N "(cached) $ECHO_C" >&6
39149 else
39150 cat >conftest.$ac_ext <<_ACEOF
39151 /* confdefs.h. */
39152 _ACEOF
39153 cat confdefs.h >>conftest.$ac_ext
39154 cat >>conftest.$ac_ext <<_ACEOF
39155 /* end confdefs.h. */
39156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39158 #define $ac_func innocuous_$ac_func
39159
39160 /* System header to define __stub macros and hopefully few prototypes,
39161 which can conflict with char $ac_func (); below.
39162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39163 <limits.h> exists even on freestanding compilers. */
39164
39165 #ifdef __STDC__
39166 # include <limits.h>
39167 #else
39168 # include <assert.h>
39169 #endif
39170
39171 #undef $ac_func
39172
39173 /* Override any gcc2 internal prototype to avoid an error. */
39174 #ifdef __cplusplus
39175 extern "C"
39176 {
39177 #endif
39178 /* We use char because int might match the return type of a gcc2
39179 builtin and then its argument prototype would still apply. */
39180 char $ac_func ();
39181 /* The GNU C library defines this for functions which it implements
39182 to always fail with ENOSYS. Some functions are actually named
39183 something starting with __ and the normal name is an alias. */
39184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39185 choke me
39186 #else
39187 char (*f) () = $ac_func;
39188 #endif
39189 #ifdef __cplusplus
39190 }
39191 #endif
39192
39193 int
39194 main ()
39195 {
39196 return f != $ac_func;
39197 ;
39198 return 0;
39199 }
39200 _ACEOF
39201 rm -f conftest.$ac_objext conftest$ac_exeext
39202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39203 (eval $ac_link) 2>conftest.er1
39204 ac_status=$?
39205 grep -v '^ *+' conftest.er1 >conftest.err
39206 rm -f conftest.er1
39207 cat conftest.err >&5
39208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39209 (exit $ac_status); } &&
39210 { ac_try='test -z "$ac_c_werror_flag"
39211 || test ! -s conftest.err'
39212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39213 (eval $ac_try) 2>&5
39214 ac_status=$?
39215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39216 (exit $ac_status); }; } &&
39217 { ac_try='test -s conftest$ac_exeext'
39218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39219 (eval $ac_try) 2>&5
39220 ac_status=$?
39221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222 (exit $ac_status); }; }; then
39223 eval "$as_ac_var=yes"
39224 else
39225 echo "$as_me: failed program was:" >&5
39226 sed 's/^/| /' conftest.$ac_ext >&5
39227
39228 eval "$as_ac_var=no"
39229 fi
39230 rm -f conftest.err conftest.$ac_objext \
39231 conftest$ac_exeext conftest.$ac_ext
39232 fi
39233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39235 if test `eval echo '${'$as_ac_var'}'` = yes; then
39236 cat >>confdefs.h <<_ACEOF
39237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39238 _ACEOF
39239 break
39240 fi
39241 done
39242
39243
39244 echo "$as_me:$LINENO: checking for statfs" >&5
39245 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
39246 if test "${wx_cv_func_statfs+set}" = set; then
39247 echo $ECHO_N "(cached) $ECHO_C" >&6
39248 else
39249 cat >conftest.$ac_ext <<_ACEOF
39250 /* confdefs.h. */
39251 _ACEOF
39252 cat confdefs.h >>conftest.$ac_ext
39253 cat >>conftest.$ac_ext <<_ACEOF
39254 /* end confdefs.h. */
39255
39256 #if defined(__BSD__)
39257 #include <sys/param.h>
39258 #include <sys/mount.h>
39259 #else
39260 #include <sys/vfs.h>
39261 #endif
39262
39263 int
39264 main ()
39265 {
39266
39267 long l;
39268 struct statfs fs;
39269 statfs("/", &fs);
39270 l = fs.f_bsize;
39271 l += fs.f_blocks;
39272 l += fs.f_bavail;
39273
39274 ;
39275 return 0;
39276 }
39277 _ACEOF
39278 rm -f conftest.$ac_objext
39279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39280 (eval $ac_compile) 2>conftest.er1
39281 ac_status=$?
39282 grep -v '^ *+' conftest.er1 >conftest.err
39283 rm -f conftest.er1
39284 cat conftest.err >&5
39285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39286 (exit $ac_status); } &&
39287 { ac_try='test -z "$ac_c_werror_flag"
39288 || test ! -s conftest.err'
39289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39290 (eval $ac_try) 2>&5
39291 ac_status=$?
39292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39293 (exit $ac_status); }; } &&
39294 { ac_try='test -s conftest.$ac_objext'
39295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39296 (eval $ac_try) 2>&5
39297 ac_status=$?
39298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39299 (exit $ac_status); }; }; then
39300 wx_cv_func_statfs=yes
39301 else
39302 echo "$as_me: failed program was:" >&5
39303 sed 's/^/| /' conftest.$ac_ext >&5
39304
39305 wx_cv_func_statfs=no
39306
39307 fi
39308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39309
39310 fi
39311 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39312 echo "${ECHO_T}$wx_cv_func_statfs" >&6
39313
39314 if test "$wx_cv_func_statfs" = "yes"; then
39315 echo "$as_me:$LINENO: checking for statfs declaration" >&5
39316 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
39317 if test "${wx_cv_func_statfs_decl+set}" = set; then
39318 echo $ECHO_N "(cached) $ECHO_C" >&6
39319 else
39320 ac_ext=cc
39321 ac_cpp='$CXXCPP $CPPFLAGS'
39322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39325
39326 cat >conftest.$ac_ext <<_ACEOF
39327 /* confdefs.h. */
39328 _ACEOF
39329 cat confdefs.h >>conftest.$ac_ext
39330 cat >>conftest.$ac_ext <<_ACEOF
39331 /* end confdefs.h. */
39332
39333 #if defined(__BSD__)
39334 #include <sys/param.h>
39335 #include <sys/mount.h>
39336 #else
39337 #include <sys/vfs.h>
39338 #endif
39339
39340 int
39341 main ()
39342 {
39343
39344 struct statfs fs;
39345 statfs("", &fs);
39346
39347 ;
39348 return 0;
39349 }
39350 _ACEOF
39351 rm -f conftest.$ac_objext
39352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39353 (eval $ac_compile) 2>conftest.er1
39354 ac_status=$?
39355 grep -v '^ *+' conftest.er1 >conftest.err
39356 rm -f conftest.er1
39357 cat conftest.err >&5
39358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39359 (exit $ac_status); } &&
39360 { ac_try='test -z "$ac_cxx_werror_flag"
39361 || test ! -s conftest.err'
39362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39363 (eval $ac_try) 2>&5
39364 ac_status=$?
39365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39366 (exit $ac_status); }; } &&
39367 { ac_try='test -s conftest.$ac_objext'
39368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39369 (eval $ac_try) 2>&5
39370 ac_status=$?
39371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39372 (exit $ac_status); }; }; then
39373 wx_cv_func_statfs_decl=yes
39374 else
39375 echo "$as_me: failed program was:" >&5
39376 sed 's/^/| /' conftest.$ac_ext >&5
39377
39378 wx_cv_func_statfs_decl=no
39379
39380 fi
39381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39382 ac_ext=c
39383 ac_cpp='$CPP $CPPFLAGS'
39384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39387
39388
39389 fi
39390 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39391 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
39392
39393 if test "$wx_cv_func_statfs_decl" = "yes"; then
39394 cat >>confdefs.h <<\_ACEOF
39395 #define HAVE_STATFS_DECL 1
39396 _ACEOF
39397
39398 fi
39399
39400 wx_cv_type_statvfs_t="struct statfs"
39401 cat >>confdefs.h <<\_ACEOF
39402 #define HAVE_STATFS 1
39403 _ACEOF
39404
39405 else
39406 echo "$as_me:$LINENO: checking for statvfs" >&5
39407 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
39408 if test "${wx_cv_func_statvfs+set}" = set; then
39409 echo $ECHO_N "(cached) $ECHO_C" >&6
39410 else
39411 cat >conftest.$ac_ext <<_ACEOF
39412 /* confdefs.h. */
39413 _ACEOF
39414 cat confdefs.h >>conftest.$ac_ext
39415 cat >>conftest.$ac_ext <<_ACEOF
39416 /* end confdefs.h. */
39417
39418 #include <stddef.h>
39419 #include <sys/statvfs.h>
39420
39421 int
39422 main ()
39423 {
39424
39425 statvfs("/", NULL);
39426
39427 ;
39428 return 0;
39429 }
39430 _ACEOF
39431 rm -f conftest.$ac_objext
39432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39433 (eval $ac_compile) 2>conftest.er1
39434 ac_status=$?
39435 grep -v '^ *+' conftest.er1 >conftest.err
39436 rm -f conftest.er1
39437 cat conftest.err >&5
39438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39439 (exit $ac_status); } &&
39440 { ac_try='test -z "$ac_c_werror_flag"
39441 || test ! -s conftest.err'
39442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39443 (eval $ac_try) 2>&5
39444 ac_status=$?
39445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39446 (exit $ac_status); }; } &&
39447 { ac_try='test -s conftest.$ac_objext'
39448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39449 (eval $ac_try) 2>&5
39450 ac_status=$?
39451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39452 (exit $ac_status); }; }; then
39453 wx_cv_func_statvfs=yes
39454 else
39455 echo "$as_me: failed program was:" >&5
39456 sed 's/^/| /' conftest.$ac_ext >&5
39457
39458 wx_cv_func_statvfs=no
39459
39460 fi
39461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39462
39463 fi
39464 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39465 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
39466
39467 if test "$wx_cv_func_statvfs" = "yes"; then
39468 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39469 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
39470 if test "${wx_cv_type_statvfs_t+set}" = set; then
39471 echo $ECHO_N "(cached) $ECHO_C" >&6
39472 else
39473 ac_ext=cc
39474 ac_cpp='$CXXCPP $CPPFLAGS'
39475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39478
39479 cat >conftest.$ac_ext <<_ACEOF
39480 /* confdefs.h. */
39481 _ACEOF
39482 cat confdefs.h >>conftest.$ac_ext
39483 cat >>conftest.$ac_ext <<_ACEOF
39484 /* end confdefs.h. */
39485
39486 #include <sys/statvfs.h>
39487
39488 int
39489 main ()
39490 {
39491
39492 long l;
39493 statvfs_t fs;
39494 statvfs("/", &fs);
39495 l = fs.f_bsize;
39496 l += fs.f_blocks;
39497 l += fs.f_bavail;
39498
39499 ;
39500 return 0;
39501 }
39502 _ACEOF
39503 rm -f conftest.$ac_objext
39504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39505 (eval $ac_compile) 2>conftest.er1
39506 ac_status=$?
39507 grep -v '^ *+' conftest.er1 >conftest.err
39508 rm -f conftest.er1
39509 cat conftest.err >&5
39510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39511 (exit $ac_status); } &&
39512 { ac_try='test -z "$ac_cxx_werror_flag"
39513 || test ! -s conftest.err'
39514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39515 (eval $ac_try) 2>&5
39516 ac_status=$?
39517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39518 (exit $ac_status); }; } &&
39519 { ac_try='test -s conftest.$ac_objext'
39520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39521 (eval $ac_try) 2>&5
39522 ac_status=$?
39523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39524 (exit $ac_status); }; }; then
39525 wx_cv_type_statvfs_t=statvfs_t
39526 else
39527 echo "$as_me: failed program was:" >&5
39528 sed 's/^/| /' conftest.$ac_ext >&5
39529
39530
39531 cat >conftest.$ac_ext <<_ACEOF
39532 /* confdefs.h. */
39533 _ACEOF
39534 cat confdefs.h >>conftest.$ac_ext
39535 cat >>conftest.$ac_ext <<_ACEOF
39536 /* end confdefs.h. */
39537
39538 #include <sys/statvfs.h>
39539
39540 int
39541 main ()
39542 {
39543
39544 long l;
39545 struct statvfs fs;
39546 statvfs("/", &fs);
39547 l = fs.f_bsize;
39548 l += fs.f_blocks;
39549 l += fs.f_bavail;
39550
39551 ;
39552 return 0;
39553 }
39554 _ACEOF
39555 rm -f conftest.$ac_objext
39556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39557 (eval $ac_compile) 2>conftest.er1
39558 ac_status=$?
39559 grep -v '^ *+' conftest.er1 >conftest.err
39560 rm -f conftest.er1
39561 cat conftest.err >&5
39562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39563 (exit $ac_status); } &&
39564 { ac_try='test -z "$ac_cxx_werror_flag"
39565 || test ! -s conftest.err'
39566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39567 (eval $ac_try) 2>&5
39568 ac_status=$?
39569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39570 (exit $ac_status); }; } &&
39571 { ac_try='test -s conftest.$ac_objext'
39572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39573 (eval $ac_try) 2>&5
39574 ac_status=$?
39575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39576 (exit $ac_status); }; }; then
39577 wx_cv_type_statvfs_t="struct statvfs"
39578 else
39579 echo "$as_me: failed program was:" >&5
39580 sed 's/^/| /' conftest.$ac_ext >&5
39581
39582 wx_cv_type_statvfs_t="unknown"
39583
39584 fi
39585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39586
39587
39588 fi
39589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39590 ac_ext=c
39591 ac_cpp='$CPP $CPPFLAGS'
39592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39595
39596
39597 fi
39598 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39599 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
39600
39601 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39602 cat >>confdefs.h <<\_ACEOF
39603 #define HAVE_STATVFS 1
39604 _ACEOF
39605
39606 fi
39607 else
39608 wx_cv_type_statvfs_t="unknown"
39609 fi
39610 fi
39611
39612 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39613 cat >>confdefs.h <<_ACEOF
39614 #define WX_STATFS_T $wx_cv_type_statvfs_t
39615 _ACEOF
39616
39617 else
39618 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39619 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39620 fi
39621
39622 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39623
39624
39625 for ac_func in fcntl flock
39626 do
39627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39628 echo "$as_me:$LINENO: checking for $ac_func" >&5
39629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39630 if eval "test \"\${$as_ac_var+set}\" = set"; then
39631 echo $ECHO_N "(cached) $ECHO_C" >&6
39632 else
39633 cat >conftest.$ac_ext <<_ACEOF
39634 /* confdefs.h. */
39635 _ACEOF
39636 cat confdefs.h >>conftest.$ac_ext
39637 cat >>conftest.$ac_ext <<_ACEOF
39638 /* end confdefs.h. */
39639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39641 #define $ac_func innocuous_$ac_func
39642
39643 /* System header to define __stub macros and hopefully few prototypes,
39644 which can conflict with char $ac_func (); below.
39645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39646 <limits.h> exists even on freestanding compilers. */
39647
39648 #ifdef __STDC__
39649 # include <limits.h>
39650 #else
39651 # include <assert.h>
39652 #endif
39653
39654 #undef $ac_func
39655
39656 /* Override any gcc2 internal prototype to avoid an error. */
39657 #ifdef __cplusplus
39658 extern "C"
39659 {
39660 #endif
39661 /* We use char because int might match the return type of a gcc2
39662 builtin and then its argument prototype would still apply. */
39663 char $ac_func ();
39664 /* The GNU C library defines this for functions which it implements
39665 to always fail with ENOSYS. Some functions are actually named
39666 something starting with __ and the normal name is an alias. */
39667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39668 choke me
39669 #else
39670 char (*f) () = $ac_func;
39671 #endif
39672 #ifdef __cplusplus
39673 }
39674 #endif
39675
39676 int
39677 main ()
39678 {
39679 return f != $ac_func;
39680 ;
39681 return 0;
39682 }
39683 _ACEOF
39684 rm -f conftest.$ac_objext conftest$ac_exeext
39685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39686 (eval $ac_link) 2>conftest.er1
39687 ac_status=$?
39688 grep -v '^ *+' conftest.er1 >conftest.err
39689 rm -f conftest.er1
39690 cat conftest.err >&5
39691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39692 (exit $ac_status); } &&
39693 { ac_try='test -z "$ac_c_werror_flag"
39694 || test ! -s conftest.err'
39695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39696 (eval $ac_try) 2>&5
39697 ac_status=$?
39698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39699 (exit $ac_status); }; } &&
39700 { ac_try='test -s conftest$ac_exeext'
39701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39702 (eval $ac_try) 2>&5
39703 ac_status=$?
39704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39705 (exit $ac_status); }; }; then
39706 eval "$as_ac_var=yes"
39707 else
39708 echo "$as_me: failed program was:" >&5
39709 sed 's/^/| /' conftest.$ac_ext >&5
39710
39711 eval "$as_ac_var=no"
39712 fi
39713 rm -f conftest.err conftest.$ac_objext \
39714 conftest$ac_exeext conftest.$ac_ext
39715 fi
39716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39718 if test `eval echo '${'$as_ac_var'}'` = yes; then
39719 cat >>confdefs.h <<_ACEOF
39720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39721 _ACEOF
39722 break
39723 fi
39724 done
39725
39726
39727 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39728 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39729 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39730 wxUSE_SNGLINST_CHECKER=no
39731 fi
39732 fi
39733
39734
39735 for ac_func in timegm
39736 do
39737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39738 echo "$as_me:$LINENO: checking for $ac_func" >&5
39739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39740 if eval "test \"\${$as_ac_var+set}\" = set"; then
39741 echo $ECHO_N "(cached) $ECHO_C" >&6
39742 else
39743 cat >conftest.$ac_ext <<_ACEOF
39744 /* confdefs.h. */
39745 _ACEOF
39746 cat confdefs.h >>conftest.$ac_ext
39747 cat >>conftest.$ac_ext <<_ACEOF
39748 /* end confdefs.h. */
39749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39751 #define $ac_func innocuous_$ac_func
39752
39753 /* System header to define __stub macros and hopefully few prototypes,
39754 which can conflict with char $ac_func (); below.
39755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39756 <limits.h> exists even on freestanding compilers. */
39757
39758 #ifdef __STDC__
39759 # include <limits.h>
39760 #else
39761 # include <assert.h>
39762 #endif
39763
39764 #undef $ac_func
39765
39766 /* Override any gcc2 internal prototype to avoid an error. */
39767 #ifdef __cplusplus
39768 extern "C"
39769 {
39770 #endif
39771 /* We use char because int might match the return type of a gcc2
39772 builtin and then its argument prototype would still apply. */
39773 char $ac_func ();
39774 /* The GNU C library defines this for functions which it implements
39775 to always fail with ENOSYS. Some functions are actually named
39776 something starting with __ and the normal name is an alias. */
39777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39778 choke me
39779 #else
39780 char (*f) () = $ac_func;
39781 #endif
39782 #ifdef __cplusplus
39783 }
39784 #endif
39785
39786 int
39787 main ()
39788 {
39789 return f != $ac_func;
39790 ;
39791 return 0;
39792 }
39793 _ACEOF
39794 rm -f conftest.$ac_objext conftest$ac_exeext
39795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39796 (eval $ac_link) 2>conftest.er1
39797 ac_status=$?
39798 grep -v '^ *+' conftest.er1 >conftest.err
39799 rm -f conftest.er1
39800 cat conftest.err >&5
39801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39802 (exit $ac_status); } &&
39803 { ac_try='test -z "$ac_c_werror_flag"
39804 || test ! -s conftest.err'
39805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39806 (eval $ac_try) 2>&5
39807 ac_status=$?
39808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39809 (exit $ac_status); }; } &&
39810 { ac_try='test -s conftest$ac_exeext'
39811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39812 (eval $ac_try) 2>&5
39813 ac_status=$?
39814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39815 (exit $ac_status); }; }; then
39816 eval "$as_ac_var=yes"
39817 else
39818 echo "$as_me: failed program was:" >&5
39819 sed 's/^/| /' conftest.$ac_ext >&5
39820
39821 eval "$as_ac_var=no"
39822 fi
39823 rm -f conftest.err conftest.$ac_objext \
39824 conftest$ac_exeext conftest.$ac_ext
39825 fi
39826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39828 if test `eval echo '${'$as_ac_var'}'` = yes; then
39829 cat >>confdefs.h <<_ACEOF
39830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39831 _ACEOF
39832
39833 fi
39834 done
39835
39836
39837
39838
39839 for ac_func in setenv putenv
39840 do
39841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39842 echo "$as_me:$LINENO: checking for $ac_func" >&5
39843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39844 if eval "test \"\${$as_ac_var+set}\" = set"; then
39845 echo $ECHO_N "(cached) $ECHO_C" >&6
39846 else
39847 cat >conftest.$ac_ext <<_ACEOF
39848 /* confdefs.h. */
39849 _ACEOF
39850 cat confdefs.h >>conftest.$ac_ext
39851 cat >>conftest.$ac_ext <<_ACEOF
39852 /* end confdefs.h. */
39853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39855 #define $ac_func innocuous_$ac_func
39856
39857 /* System header to define __stub macros and hopefully few prototypes,
39858 which can conflict with char $ac_func (); below.
39859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39860 <limits.h> exists even on freestanding compilers. */
39861
39862 #ifdef __STDC__
39863 # include <limits.h>
39864 #else
39865 # include <assert.h>
39866 #endif
39867
39868 #undef $ac_func
39869
39870 /* Override any gcc2 internal prototype to avoid an error. */
39871 #ifdef __cplusplus
39872 extern "C"
39873 {
39874 #endif
39875 /* We use char because int might match the return type of a gcc2
39876 builtin and then its argument prototype would still apply. */
39877 char $ac_func ();
39878 /* The GNU C library defines this for functions which it implements
39879 to always fail with ENOSYS. Some functions are actually named
39880 something starting with __ and the normal name is an alias. */
39881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39882 choke me
39883 #else
39884 char (*f) () = $ac_func;
39885 #endif
39886 #ifdef __cplusplus
39887 }
39888 #endif
39889
39890 int
39891 main ()
39892 {
39893 return f != $ac_func;
39894 ;
39895 return 0;
39896 }
39897 _ACEOF
39898 rm -f conftest.$ac_objext conftest$ac_exeext
39899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39900 (eval $ac_link) 2>conftest.er1
39901 ac_status=$?
39902 grep -v '^ *+' conftest.er1 >conftest.err
39903 rm -f conftest.er1
39904 cat conftest.err >&5
39905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39906 (exit $ac_status); } &&
39907 { ac_try='test -z "$ac_c_werror_flag"
39908 || test ! -s conftest.err'
39909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39910 (eval $ac_try) 2>&5
39911 ac_status=$?
39912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39913 (exit $ac_status); }; } &&
39914 { ac_try='test -s conftest$ac_exeext'
39915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39916 (eval $ac_try) 2>&5
39917 ac_status=$?
39918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39919 (exit $ac_status); }; }; then
39920 eval "$as_ac_var=yes"
39921 else
39922 echo "$as_me: failed program was:" >&5
39923 sed 's/^/| /' conftest.$ac_ext >&5
39924
39925 eval "$as_ac_var=no"
39926 fi
39927 rm -f conftest.err conftest.$ac_objext \
39928 conftest$ac_exeext conftest.$ac_ext
39929 fi
39930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39932 if test `eval echo '${'$as_ac_var'}'` = yes; then
39933 cat >>confdefs.h <<_ACEOF
39934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39935 _ACEOF
39936 break
39937 fi
39938 done
39939
39940 if test "$ac_cv_func_setenv" = "yes"; then
39941
39942 for ac_func in unsetenv
39943 do
39944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39945 echo "$as_me:$LINENO: checking for $ac_func" >&5
39946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39947 if eval "test \"\${$as_ac_var+set}\" = set"; then
39948 echo $ECHO_N "(cached) $ECHO_C" >&6
39949 else
39950 cat >conftest.$ac_ext <<_ACEOF
39951 /* confdefs.h. */
39952 _ACEOF
39953 cat confdefs.h >>conftest.$ac_ext
39954 cat >>conftest.$ac_ext <<_ACEOF
39955 /* end confdefs.h. */
39956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39958 #define $ac_func innocuous_$ac_func
39959
39960 /* System header to define __stub macros and hopefully few prototypes,
39961 which can conflict with char $ac_func (); below.
39962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39963 <limits.h> exists even on freestanding compilers. */
39964
39965 #ifdef __STDC__
39966 # include <limits.h>
39967 #else
39968 # include <assert.h>
39969 #endif
39970
39971 #undef $ac_func
39972
39973 /* Override any gcc2 internal prototype to avoid an error. */
39974 #ifdef __cplusplus
39975 extern "C"
39976 {
39977 #endif
39978 /* We use char because int might match the return type of a gcc2
39979 builtin and then its argument prototype would still apply. */
39980 char $ac_func ();
39981 /* The GNU C library defines this for functions which it implements
39982 to always fail with ENOSYS. Some functions are actually named
39983 something starting with __ and the normal name is an alias. */
39984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39985 choke me
39986 #else
39987 char (*f) () = $ac_func;
39988 #endif
39989 #ifdef __cplusplus
39990 }
39991 #endif
39992
39993 int
39994 main ()
39995 {
39996 return f != $ac_func;
39997 ;
39998 return 0;
39999 }
40000 _ACEOF
40001 rm -f conftest.$ac_objext conftest$ac_exeext
40002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40003 (eval $ac_link) 2>conftest.er1
40004 ac_status=$?
40005 grep -v '^ *+' conftest.er1 >conftest.err
40006 rm -f conftest.er1
40007 cat conftest.err >&5
40008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40009 (exit $ac_status); } &&
40010 { ac_try='test -z "$ac_c_werror_flag"
40011 || test ! -s conftest.err'
40012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40013 (eval $ac_try) 2>&5
40014 ac_status=$?
40015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40016 (exit $ac_status); }; } &&
40017 { ac_try='test -s conftest$ac_exeext'
40018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40019 (eval $ac_try) 2>&5
40020 ac_status=$?
40021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40022 (exit $ac_status); }; }; then
40023 eval "$as_ac_var=yes"
40024 else
40025 echo "$as_me: failed program was:" >&5
40026 sed 's/^/| /' conftest.$ac_ext >&5
40027
40028 eval "$as_ac_var=no"
40029 fi
40030 rm -f conftest.err conftest.$ac_objext \
40031 conftest$ac_exeext conftest.$ac_ext
40032 fi
40033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40035 if test `eval echo '${'$as_ac_var'}'` = yes; then
40036 cat >>confdefs.h <<_ACEOF
40037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40038 _ACEOF
40039
40040 fi
40041 done
40042
40043 fi
40044
40045 HAVE_SOME_SLEEP_FUNC=0
40046 if test "$USE_BEOS" = 1; then
40047 cat >>confdefs.h <<\_ACEOF
40048 #define HAVE_SLEEP 1
40049 _ACEOF
40050
40051 HAVE_SOME_SLEEP_FUNC=1
40052 fi
40053
40054 if test "$USE_DARWIN" = 1; then
40055 cat >>confdefs.h <<\_ACEOF
40056 #define HAVE_USLEEP 1
40057 _ACEOF
40058
40059 HAVE_SOME_SLEEP_FUNC=1
40060 fi
40061
40062 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40063 POSIX4_LINK=
40064
40065 for ac_func in nanosleep
40066 do
40067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40068 echo "$as_me:$LINENO: checking for $ac_func" >&5
40069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40070 if eval "test \"\${$as_ac_var+set}\" = set"; then
40071 echo $ECHO_N "(cached) $ECHO_C" >&6
40072 else
40073 cat >conftest.$ac_ext <<_ACEOF
40074 /* confdefs.h. */
40075 _ACEOF
40076 cat confdefs.h >>conftest.$ac_ext
40077 cat >>conftest.$ac_ext <<_ACEOF
40078 /* end confdefs.h. */
40079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40081 #define $ac_func innocuous_$ac_func
40082
40083 /* System header to define __stub macros and hopefully few prototypes,
40084 which can conflict with char $ac_func (); below.
40085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40086 <limits.h> exists even on freestanding compilers. */
40087
40088 #ifdef __STDC__
40089 # include <limits.h>
40090 #else
40091 # include <assert.h>
40092 #endif
40093
40094 #undef $ac_func
40095
40096 /* Override any gcc2 internal prototype to avoid an error. */
40097 #ifdef __cplusplus
40098 extern "C"
40099 {
40100 #endif
40101 /* We use char because int might match the return type of a gcc2
40102 builtin and then its argument prototype would still apply. */
40103 char $ac_func ();
40104 /* The GNU C library defines this for functions which it implements
40105 to always fail with ENOSYS. Some functions are actually named
40106 something starting with __ and the normal name is an alias. */
40107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40108 choke me
40109 #else
40110 char (*f) () = $ac_func;
40111 #endif
40112 #ifdef __cplusplus
40113 }
40114 #endif
40115
40116 int
40117 main ()
40118 {
40119 return f != $ac_func;
40120 ;
40121 return 0;
40122 }
40123 _ACEOF
40124 rm -f conftest.$ac_objext conftest$ac_exeext
40125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40126 (eval $ac_link) 2>conftest.er1
40127 ac_status=$?
40128 grep -v '^ *+' conftest.er1 >conftest.err
40129 rm -f conftest.er1
40130 cat conftest.err >&5
40131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40132 (exit $ac_status); } &&
40133 { ac_try='test -z "$ac_c_werror_flag"
40134 || test ! -s conftest.err'
40135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40136 (eval $ac_try) 2>&5
40137 ac_status=$?
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); }; } &&
40140 { ac_try='test -s conftest$ac_exeext'
40141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40142 (eval $ac_try) 2>&5
40143 ac_status=$?
40144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40145 (exit $ac_status); }; }; then
40146 eval "$as_ac_var=yes"
40147 else
40148 echo "$as_me: failed program was:" >&5
40149 sed 's/^/| /' conftest.$ac_ext >&5
40150
40151 eval "$as_ac_var=no"
40152 fi
40153 rm -f conftest.err conftest.$ac_objext \
40154 conftest$ac_exeext conftest.$ac_ext
40155 fi
40156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40158 if test `eval echo '${'$as_ac_var'}'` = yes; then
40159 cat >>confdefs.h <<_ACEOF
40160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40161 _ACEOF
40162 cat >>confdefs.h <<\_ACEOF
40163 #define HAVE_NANOSLEEP 1
40164 _ACEOF
40165
40166 else
40167
40168 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40169 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
40170 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40171 echo $ECHO_N "(cached) $ECHO_C" >&6
40172 else
40173 ac_check_lib_save_LIBS=$LIBS
40174 LIBS="-lposix4 $LIBS"
40175 cat >conftest.$ac_ext <<_ACEOF
40176 /* confdefs.h. */
40177 _ACEOF
40178 cat confdefs.h >>conftest.$ac_ext
40179 cat >>conftest.$ac_ext <<_ACEOF
40180 /* end confdefs.h. */
40181
40182 /* Override any gcc2 internal prototype to avoid an error. */
40183 #ifdef __cplusplus
40184 extern "C"
40185 #endif
40186 /* We use char because int might match the return type of a gcc2
40187 builtin and then its argument prototype would still apply. */
40188 char nanosleep ();
40189 int
40190 main ()
40191 {
40192 nanosleep ();
40193 ;
40194 return 0;
40195 }
40196 _ACEOF
40197 rm -f conftest.$ac_objext conftest$ac_exeext
40198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40199 (eval $ac_link) 2>conftest.er1
40200 ac_status=$?
40201 grep -v '^ *+' conftest.er1 >conftest.err
40202 rm -f conftest.er1
40203 cat conftest.err >&5
40204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40205 (exit $ac_status); } &&
40206 { ac_try='test -z "$ac_c_werror_flag"
40207 || test ! -s conftest.err'
40208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40209 (eval $ac_try) 2>&5
40210 ac_status=$?
40211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40212 (exit $ac_status); }; } &&
40213 { ac_try='test -s conftest$ac_exeext'
40214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40215 (eval $ac_try) 2>&5
40216 ac_status=$?
40217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40218 (exit $ac_status); }; }; then
40219 ac_cv_lib_posix4_nanosleep=yes
40220 else
40221 echo "$as_me: failed program was:" >&5
40222 sed 's/^/| /' conftest.$ac_ext >&5
40223
40224 ac_cv_lib_posix4_nanosleep=no
40225 fi
40226 rm -f conftest.err conftest.$ac_objext \
40227 conftest$ac_exeext conftest.$ac_ext
40228 LIBS=$ac_check_lib_save_LIBS
40229 fi
40230 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40231 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
40232 if test $ac_cv_lib_posix4_nanosleep = yes; then
40233
40234 cat >>confdefs.h <<\_ACEOF
40235 #define HAVE_NANOSLEEP 1
40236 _ACEOF
40237
40238 POSIX4_LINK=" -lposix4"
40239
40240 else
40241
40242
40243 for wx_func in usleep
40244 do
40245 echo "$as_me:$LINENO: checking for $wx_func" >&5
40246 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
40247 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
40248 echo $ECHO_N "(cached) $ECHO_C" >&6
40249 else
40250
40251 cat >conftest.$ac_ext <<_ACEOF
40252
40253 /* confdefs.h. */
40254 _ACEOF
40255 cat confdefs.h >>conftest.$ac_ext
40256 cat >>conftest.$ac_ext <<_ACEOF
40257 /* end confdefs.h. */
40258
40259
40260 $ac_includes_default
40261
40262 int
40263 main ()
40264 {
40265
40266 #ifndef $wx_func
40267 &$wx_func;
40268 #endif
40269
40270
40271 ;
40272 return 0;
40273 }
40274
40275 _ACEOF
40276 rm -f conftest.$ac_objext conftest$ac_exeext
40277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40278 (eval $ac_link) 2>conftest.er1
40279 ac_status=$?
40280 grep -v '^ *+' conftest.er1 >conftest.err
40281 rm -f conftest.er1
40282 cat conftest.err >&5
40283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40284 (exit $ac_status); } &&
40285 { ac_try='test -z "$ac_c_werror_flag"
40286 || test ! -s conftest.err'
40287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40288 (eval $ac_try) 2>&5
40289 ac_status=$?
40290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40291 (exit $ac_status); }; } &&
40292 { ac_try='test -s conftest$ac_exeext'
40293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40294 (eval $ac_try) 2>&5
40295 ac_status=$?
40296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40297 (exit $ac_status); }; }; then
40298 eval wx_cv_func_$wx_func=yes
40299 else
40300 echo "$as_me: failed program was:" >&5
40301 sed 's/^/| /' conftest.$ac_ext >&5
40302
40303 eval wx_cv_func_$wx_func=no
40304 fi
40305 rm -f conftest.err conftest.$ac_objext \
40306 conftest$ac_exeext conftest.$ac_ext
40307
40308 fi
40309 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
40310 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
40311
40312 if eval test \$wx_cv_func_$wx_func = yes
40313 then
40314 cat >>confdefs.h <<_ACEOF
40315 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40316 _ACEOF
40317
40318
40319 else
40320 :
40321 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40322 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40323
40324 fi
40325 done
40326
40327
40328
40329 fi
40330
40331
40332
40333 fi
40334 done
40335
40336 fi
40337
40338
40339 for wx_func in uname
40340 do
40341 echo "$as_me:$LINENO: checking for $wx_func" >&5
40342 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
40343 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
40344 echo $ECHO_N "(cached) $ECHO_C" >&6
40345 else
40346
40347 cat >conftest.$ac_ext <<_ACEOF
40348
40349 /* confdefs.h. */
40350 _ACEOF
40351 cat confdefs.h >>conftest.$ac_ext
40352 cat >>conftest.$ac_ext <<_ACEOF
40353 /* end confdefs.h. */
40354
40355 #include <sys/utsname.h>
40356 $ac_includes_default
40357
40358 int
40359 main ()
40360 {
40361
40362 #ifndef $wx_func
40363 &$wx_func;
40364 #endif
40365
40366
40367 ;
40368 return 0;
40369 }
40370
40371 _ACEOF
40372 rm -f conftest.$ac_objext conftest$ac_exeext
40373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40374 (eval $ac_link) 2>conftest.er1
40375 ac_status=$?
40376 grep -v '^ *+' conftest.er1 >conftest.err
40377 rm -f conftest.er1
40378 cat conftest.err >&5
40379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40380 (exit $ac_status); } &&
40381 { ac_try='test -z "$ac_c_werror_flag"
40382 || test ! -s conftest.err'
40383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40384 (eval $ac_try) 2>&5
40385 ac_status=$?
40386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40387 (exit $ac_status); }; } &&
40388 { ac_try='test -s conftest$ac_exeext'
40389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40390 (eval $ac_try) 2>&5
40391 ac_status=$?
40392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40393 (exit $ac_status); }; }; then
40394 eval wx_cv_func_$wx_func=yes
40395 else
40396 echo "$as_me: failed program was:" >&5
40397 sed 's/^/| /' conftest.$ac_ext >&5
40398
40399 eval wx_cv_func_$wx_func=no
40400 fi
40401 rm -f conftest.err conftest.$ac_objext \
40402 conftest$ac_exeext conftest.$ac_ext
40403
40404 fi
40405 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
40406 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
40407
40408 if eval test \$wx_cv_func_$wx_func = yes
40409 then
40410 cat >>confdefs.h <<_ACEOF
40411 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40412 _ACEOF
40413
40414
40415 else
40416 :
40417
40418 fi
40419 done
40420
40421 if test "$wx_cv_func_uname" != yes; then
40422
40423 for wx_func in gethostname
40424 do
40425 echo "$as_me:$LINENO: checking for $wx_func" >&5
40426 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
40427 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
40428 echo $ECHO_N "(cached) $ECHO_C" >&6
40429 else
40430
40431 cat >conftest.$ac_ext <<_ACEOF
40432
40433 /* confdefs.h. */
40434 _ACEOF
40435 cat confdefs.h >>conftest.$ac_ext
40436 cat >>conftest.$ac_ext <<_ACEOF
40437 /* end confdefs.h. */
40438
40439
40440 $ac_includes_default
40441
40442 int
40443 main ()
40444 {
40445
40446 #ifndef $wx_func
40447 &$wx_func;
40448 #endif
40449
40450
40451 ;
40452 return 0;
40453 }
40454
40455 _ACEOF
40456 rm -f conftest.$ac_objext conftest$ac_exeext
40457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40458 (eval $ac_link) 2>conftest.er1
40459 ac_status=$?
40460 grep -v '^ *+' conftest.er1 >conftest.err
40461 rm -f conftest.er1
40462 cat conftest.err >&5
40463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40464 (exit $ac_status); } &&
40465 { ac_try='test -z "$ac_c_werror_flag"
40466 || test ! -s conftest.err'
40467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40468 (eval $ac_try) 2>&5
40469 ac_status=$?
40470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40471 (exit $ac_status); }; } &&
40472 { ac_try='test -s conftest$ac_exeext'
40473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40474 (eval $ac_try) 2>&5
40475 ac_status=$?
40476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40477 (exit $ac_status); }; }; then
40478 eval wx_cv_func_$wx_func=yes
40479 else
40480 echo "$as_me: failed program was:" >&5
40481 sed 's/^/| /' conftest.$ac_ext >&5
40482
40483 eval wx_cv_func_$wx_func=no
40484 fi
40485 rm -f conftest.err conftest.$ac_objext \
40486 conftest$ac_exeext conftest.$ac_ext
40487
40488 fi
40489 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
40490 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
40491
40492 if eval test \$wx_cv_func_$wx_func = yes
40493 then
40494 cat >>confdefs.h <<_ACEOF
40495 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40496 _ACEOF
40497
40498
40499 else
40500 :
40501
40502 fi
40503 done
40504
40505 fi
40506
40507
40508 for wx_func in strtok_r
40509 do
40510 echo "$as_me:$LINENO: checking for $wx_func" >&5
40511 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
40512 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
40513 echo $ECHO_N "(cached) $ECHO_C" >&6
40514 else
40515
40516 cat >conftest.$ac_ext <<_ACEOF
40517
40518 /* confdefs.h. */
40519 _ACEOF
40520 cat confdefs.h >>conftest.$ac_ext
40521 cat >>conftest.$ac_ext <<_ACEOF
40522 /* end confdefs.h. */
40523
40524 #define _REENTRANT
40525 $ac_includes_default
40526
40527 int
40528 main ()
40529 {
40530
40531 #ifndef $wx_func
40532 &$wx_func;
40533 #endif
40534
40535
40536 ;
40537 return 0;
40538 }
40539
40540 _ACEOF
40541 rm -f conftest.$ac_objext conftest$ac_exeext
40542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40543 (eval $ac_link) 2>conftest.er1
40544 ac_status=$?
40545 grep -v '^ *+' conftest.er1 >conftest.err
40546 rm -f conftest.er1
40547 cat conftest.err >&5
40548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40549 (exit $ac_status); } &&
40550 { ac_try='test -z "$ac_c_werror_flag"
40551 || test ! -s conftest.err'
40552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40553 (eval $ac_try) 2>&5
40554 ac_status=$?
40555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40556 (exit $ac_status); }; } &&
40557 { ac_try='test -s conftest$ac_exeext'
40558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40559 (eval $ac_try) 2>&5
40560 ac_status=$?
40561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40562 (exit $ac_status); }; }; then
40563 eval wx_cv_func_$wx_func=yes
40564 else
40565 echo "$as_me: failed program was:" >&5
40566 sed 's/^/| /' conftest.$ac_ext >&5
40567
40568 eval wx_cv_func_$wx_func=no
40569 fi
40570 rm -f conftest.err conftest.$ac_objext \
40571 conftest$ac_exeext conftest.$ac_ext
40572
40573 fi
40574 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
40575 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
40576
40577 if eval test \$wx_cv_func_$wx_func = yes
40578 then
40579 cat >>confdefs.h <<_ACEOF
40580 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40581 _ACEOF
40582
40583
40584 else
40585 :
40586
40587 fi
40588 done
40589
40590
40591 INET_LINK=
40592
40593 for ac_func in inet_addr
40594 do
40595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40596 echo "$as_me:$LINENO: checking for $ac_func" >&5
40597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40598 if eval "test \"\${$as_ac_var+set}\" = set"; then
40599 echo $ECHO_N "(cached) $ECHO_C" >&6
40600 else
40601 cat >conftest.$ac_ext <<_ACEOF
40602 /* confdefs.h. */
40603 _ACEOF
40604 cat confdefs.h >>conftest.$ac_ext
40605 cat >>conftest.$ac_ext <<_ACEOF
40606 /* end confdefs.h. */
40607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40609 #define $ac_func innocuous_$ac_func
40610
40611 /* System header to define __stub macros and hopefully few prototypes,
40612 which can conflict with char $ac_func (); below.
40613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40614 <limits.h> exists even on freestanding compilers. */
40615
40616 #ifdef __STDC__
40617 # include <limits.h>
40618 #else
40619 # include <assert.h>
40620 #endif
40621
40622 #undef $ac_func
40623
40624 /* Override any gcc2 internal prototype to avoid an error. */
40625 #ifdef __cplusplus
40626 extern "C"
40627 {
40628 #endif
40629 /* We use char because int might match the return type of a gcc2
40630 builtin and then its argument prototype would still apply. */
40631 char $ac_func ();
40632 /* The GNU C library defines this for functions which it implements
40633 to always fail with ENOSYS. Some functions are actually named
40634 something starting with __ and the normal name is an alias. */
40635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40636 choke me
40637 #else
40638 char (*f) () = $ac_func;
40639 #endif
40640 #ifdef __cplusplus
40641 }
40642 #endif
40643
40644 int
40645 main ()
40646 {
40647 return f != $ac_func;
40648 ;
40649 return 0;
40650 }
40651 _ACEOF
40652 rm -f conftest.$ac_objext conftest$ac_exeext
40653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40654 (eval $ac_link) 2>conftest.er1
40655 ac_status=$?
40656 grep -v '^ *+' conftest.er1 >conftest.err
40657 rm -f conftest.er1
40658 cat conftest.err >&5
40659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40660 (exit $ac_status); } &&
40661 { ac_try='test -z "$ac_c_werror_flag"
40662 || test ! -s conftest.err'
40663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40664 (eval $ac_try) 2>&5
40665 ac_status=$?
40666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40667 (exit $ac_status); }; } &&
40668 { ac_try='test -s conftest$ac_exeext'
40669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40670 (eval $ac_try) 2>&5
40671 ac_status=$?
40672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40673 (exit $ac_status); }; }; then
40674 eval "$as_ac_var=yes"
40675 else
40676 echo "$as_me: failed program was:" >&5
40677 sed 's/^/| /' conftest.$ac_ext >&5
40678
40679 eval "$as_ac_var=no"
40680 fi
40681 rm -f conftest.err conftest.$ac_objext \
40682 conftest$ac_exeext conftest.$ac_ext
40683 fi
40684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40686 if test `eval echo '${'$as_ac_var'}'` = yes; then
40687 cat >>confdefs.h <<_ACEOF
40688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40689 _ACEOF
40690 cat >>confdefs.h <<\_ACEOF
40691 #define HAVE_INET_ADDR 1
40692 _ACEOF
40693
40694 else
40695
40696 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40697 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
40698 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40699 echo $ECHO_N "(cached) $ECHO_C" >&6
40700 else
40701 ac_check_lib_save_LIBS=$LIBS
40702 LIBS="-lnsl $LIBS"
40703 cat >conftest.$ac_ext <<_ACEOF
40704 /* confdefs.h. */
40705 _ACEOF
40706 cat confdefs.h >>conftest.$ac_ext
40707 cat >>conftest.$ac_ext <<_ACEOF
40708 /* end confdefs.h. */
40709
40710 /* Override any gcc2 internal prototype to avoid an error. */
40711 #ifdef __cplusplus
40712 extern "C"
40713 #endif
40714 /* We use char because int might match the return type of a gcc2
40715 builtin and then its argument prototype would still apply. */
40716 char inet_addr ();
40717 int
40718 main ()
40719 {
40720 inet_addr ();
40721 ;
40722 return 0;
40723 }
40724 _ACEOF
40725 rm -f conftest.$ac_objext conftest$ac_exeext
40726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40727 (eval $ac_link) 2>conftest.er1
40728 ac_status=$?
40729 grep -v '^ *+' conftest.er1 >conftest.err
40730 rm -f conftest.er1
40731 cat conftest.err >&5
40732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40733 (exit $ac_status); } &&
40734 { ac_try='test -z "$ac_c_werror_flag"
40735 || test ! -s conftest.err'
40736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40737 (eval $ac_try) 2>&5
40738 ac_status=$?
40739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40740 (exit $ac_status); }; } &&
40741 { ac_try='test -s conftest$ac_exeext'
40742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40743 (eval $ac_try) 2>&5
40744 ac_status=$?
40745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40746 (exit $ac_status); }; }; then
40747 ac_cv_lib_nsl_inet_addr=yes
40748 else
40749 echo "$as_me: failed program was:" >&5
40750 sed 's/^/| /' conftest.$ac_ext >&5
40751
40752 ac_cv_lib_nsl_inet_addr=no
40753 fi
40754 rm -f conftest.err conftest.$ac_objext \
40755 conftest$ac_exeext conftest.$ac_ext
40756 LIBS=$ac_check_lib_save_LIBS
40757 fi
40758 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40759 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
40760 if test $ac_cv_lib_nsl_inet_addr = yes; then
40761 INET_LINK="nsl"
40762 else
40763
40764 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40765 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
40766 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40767 echo $ECHO_N "(cached) $ECHO_C" >&6
40768 else
40769 ac_check_lib_save_LIBS=$LIBS
40770 LIBS="-lresolv $LIBS"
40771 cat >conftest.$ac_ext <<_ACEOF
40772 /* confdefs.h. */
40773 _ACEOF
40774 cat confdefs.h >>conftest.$ac_ext
40775 cat >>conftest.$ac_ext <<_ACEOF
40776 /* end confdefs.h. */
40777
40778 /* Override any gcc2 internal prototype to avoid an error. */
40779 #ifdef __cplusplus
40780 extern "C"
40781 #endif
40782 /* We use char because int might match the return type of a gcc2
40783 builtin and then its argument prototype would still apply. */
40784 char inet_addr ();
40785 int
40786 main ()
40787 {
40788 inet_addr ();
40789 ;
40790 return 0;
40791 }
40792 _ACEOF
40793 rm -f conftest.$ac_objext conftest$ac_exeext
40794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40795 (eval $ac_link) 2>conftest.er1
40796 ac_status=$?
40797 grep -v '^ *+' conftest.er1 >conftest.err
40798 rm -f conftest.er1
40799 cat conftest.err >&5
40800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40801 (exit $ac_status); } &&
40802 { ac_try='test -z "$ac_c_werror_flag"
40803 || test ! -s conftest.err'
40804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40805 (eval $ac_try) 2>&5
40806 ac_status=$?
40807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40808 (exit $ac_status); }; } &&
40809 { ac_try='test -s conftest$ac_exeext'
40810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40811 (eval $ac_try) 2>&5
40812 ac_status=$?
40813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40814 (exit $ac_status); }; }; then
40815 ac_cv_lib_resolv_inet_addr=yes
40816 else
40817 echo "$as_me: failed program was:" >&5
40818 sed 's/^/| /' conftest.$ac_ext >&5
40819
40820 ac_cv_lib_resolv_inet_addr=no
40821 fi
40822 rm -f conftest.err conftest.$ac_objext \
40823 conftest$ac_exeext conftest.$ac_ext
40824 LIBS=$ac_check_lib_save_LIBS
40825 fi
40826 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40827 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
40828 if test $ac_cv_lib_resolv_inet_addr = yes; then
40829 INET_LINK="resolv"
40830 else
40831
40832 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40833 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
40834 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40835 echo $ECHO_N "(cached) $ECHO_C" >&6
40836 else
40837 ac_check_lib_save_LIBS=$LIBS
40838 LIBS="-lsocket $LIBS"
40839 cat >conftest.$ac_ext <<_ACEOF
40840 /* confdefs.h. */
40841 _ACEOF
40842 cat confdefs.h >>conftest.$ac_ext
40843 cat >>conftest.$ac_ext <<_ACEOF
40844 /* end confdefs.h. */
40845
40846 /* Override any gcc2 internal prototype to avoid an error. */
40847 #ifdef __cplusplus
40848 extern "C"
40849 #endif
40850 /* We use char because int might match the return type of a gcc2
40851 builtin and then its argument prototype would still apply. */
40852 char inet_addr ();
40853 int
40854 main ()
40855 {
40856 inet_addr ();
40857 ;
40858 return 0;
40859 }
40860 _ACEOF
40861 rm -f conftest.$ac_objext conftest$ac_exeext
40862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40863 (eval $ac_link) 2>conftest.er1
40864 ac_status=$?
40865 grep -v '^ *+' conftest.er1 >conftest.err
40866 rm -f conftest.er1
40867 cat conftest.err >&5
40868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40869 (exit $ac_status); } &&
40870 { ac_try='test -z "$ac_c_werror_flag"
40871 || test ! -s conftest.err'
40872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40873 (eval $ac_try) 2>&5
40874 ac_status=$?
40875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40876 (exit $ac_status); }; } &&
40877 { ac_try='test -s conftest$ac_exeext'
40878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40879 (eval $ac_try) 2>&5
40880 ac_status=$?
40881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40882 (exit $ac_status); }; }; then
40883 ac_cv_lib_socket_inet_addr=yes
40884 else
40885 echo "$as_me: failed program was:" >&5
40886 sed 's/^/| /' conftest.$ac_ext >&5
40887
40888 ac_cv_lib_socket_inet_addr=no
40889 fi
40890 rm -f conftest.err conftest.$ac_objext \
40891 conftest$ac_exeext conftest.$ac_ext
40892 LIBS=$ac_check_lib_save_LIBS
40893 fi
40894 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
40895 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
40896 if test $ac_cv_lib_socket_inet_addr = yes; then
40897 INET_LINK="socket"
40898
40899 fi
40900
40901
40902
40903 fi
40904
40905
40906
40907 fi
40908
40909
40910
40911 fi
40912 done
40913
40914
40915
40916 for ac_func in inet_aton
40917 do
40918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40919 echo "$as_me:$LINENO: checking for $ac_func" >&5
40920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40921 if eval "test \"\${$as_ac_var+set}\" = set"; then
40922 echo $ECHO_N "(cached) $ECHO_C" >&6
40923 else
40924 cat >conftest.$ac_ext <<_ACEOF
40925 /* confdefs.h. */
40926 _ACEOF
40927 cat confdefs.h >>conftest.$ac_ext
40928 cat >>conftest.$ac_ext <<_ACEOF
40929 /* end confdefs.h. */
40930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40932 #define $ac_func innocuous_$ac_func
40933
40934 /* System header to define __stub macros and hopefully few prototypes,
40935 which can conflict with char $ac_func (); below.
40936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40937 <limits.h> exists even on freestanding compilers. */
40938
40939 #ifdef __STDC__
40940 # include <limits.h>
40941 #else
40942 # include <assert.h>
40943 #endif
40944
40945 #undef $ac_func
40946
40947 /* Override any gcc2 internal prototype to avoid an error. */
40948 #ifdef __cplusplus
40949 extern "C"
40950 {
40951 #endif
40952 /* We use char because int might match the return type of a gcc2
40953 builtin and then its argument prototype would still apply. */
40954 char $ac_func ();
40955 /* The GNU C library defines this for functions which it implements
40956 to always fail with ENOSYS. Some functions are actually named
40957 something starting with __ and the normal name is an alias. */
40958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40959 choke me
40960 #else
40961 char (*f) () = $ac_func;
40962 #endif
40963 #ifdef __cplusplus
40964 }
40965 #endif
40966
40967 int
40968 main ()
40969 {
40970 return f != $ac_func;
40971 ;
40972 return 0;
40973 }
40974 _ACEOF
40975 rm -f conftest.$ac_objext conftest$ac_exeext
40976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40977 (eval $ac_link) 2>conftest.er1
40978 ac_status=$?
40979 grep -v '^ *+' conftest.er1 >conftest.err
40980 rm -f conftest.er1
40981 cat conftest.err >&5
40982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40983 (exit $ac_status); } &&
40984 { ac_try='test -z "$ac_c_werror_flag"
40985 || test ! -s conftest.err'
40986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40987 (eval $ac_try) 2>&5
40988 ac_status=$?
40989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40990 (exit $ac_status); }; } &&
40991 { ac_try='test -s conftest$ac_exeext'
40992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40993 (eval $ac_try) 2>&5
40994 ac_status=$?
40995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40996 (exit $ac_status); }; }; then
40997 eval "$as_ac_var=yes"
40998 else
40999 echo "$as_me: failed program was:" >&5
41000 sed 's/^/| /' conftest.$ac_ext >&5
41001
41002 eval "$as_ac_var=no"
41003 fi
41004 rm -f conftest.err conftest.$ac_objext \
41005 conftest$ac_exeext conftest.$ac_ext
41006 fi
41007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41009 if test `eval echo '${'$as_ac_var'}'` = yes; then
41010 cat >>confdefs.h <<_ACEOF
41011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41012 _ACEOF
41013 cat >>confdefs.h <<\_ACEOF
41014 #define HAVE_INET_ATON 1
41015 _ACEOF
41016
41017 else
41018
41019 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41020 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41021 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
41022 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
41023 echo $ECHO_N "(cached) $ECHO_C" >&6
41024 else
41025 ac_check_lib_save_LIBS=$LIBS
41026 LIBS="-l$INET_LINK $LIBS"
41027 cat >conftest.$ac_ext <<_ACEOF
41028 /* confdefs.h. */
41029 _ACEOF
41030 cat confdefs.h >>conftest.$ac_ext
41031 cat >>conftest.$ac_ext <<_ACEOF
41032 /* end confdefs.h. */
41033
41034 /* Override any gcc2 internal prototype to avoid an error. */
41035 #ifdef __cplusplus
41036 extern "C"
41037 #endif
41038 /* We use char because int might match the return type of a gcc2
41039 builtin and then its argument prototype would still apply. */
41040 char inet_aton ();
41041 int
41042 main ()
41043 {
41044 inet_aton ();
41045 ;
41046 return 0;
41047 }
41048 _ACEOF
41049 rm -f conftest.$ac_objext conftest$ac_exeext
41050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41051 (eval $ac_link) 2>conftest.er1
41052 ac_status=$?
41053 grep -v '^ *+' conftest.er1 >conftest.err
41054 rm -f conftest.er1
41055 cat conftest.err >&5
41056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41057 (exit $ac_status); } &&
41058 { ac_try='test -z "$ac_c_werror_flag"
41059 || test ! -s conftest.err'
41060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41061 (eval $ac_try) 2>&5
41062 ac_status=$?
41063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41064 (exit $ac_status); }; } &&
41065 { ac_try='test -s conftest$ac_exeext'
41066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41067 (eval $ac_try) 2>&5
41068 ac_status=$?
41069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41070 (exit $ac_status); }; }; then
41071 eval "$as_ac_Lib=yes"
41072 else
41073 echo "$as_me: failed program was:" >&5
41074 sed 's/^/| /' conftest.$ac_ext >&5
41075
41076 eval "$as_ac_Lib=no"
41077 fi
41078 rm -f conftest.err conftest.$ac_objext \
41079 conftest$ac_exeext conftest.$ac_ext
41080 LIBS=$ac_check_lib_save_LIBS
41081 fi
41082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
41083 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
41084 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41085 cat >>confdefs.h <<\_ACEOF
41086 #define HAVE_INET_ATON 1
41087 _ACEOF
41088
41089 fi
41090
41091
41092 fi
41093 done
41094
41095
41096 if test "x$INET_LINK" != "x"; then
41097 cat >>confdefs.h <<\_ACEOF
41098 #define HAVE_INET_ADDR 1
41099 _ACEOF
41100
41101 INET_LINK=" -l$INET_LINK"
41102 fi
41103
41104
41105 for wx_func in fdopen
41106 do
41107 echo "$as_me:$LINENO: checking for $wx_func" >&5
41108 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
41109 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
41110 echo $ECHO_N "(cached) $ECHO_C" >&6
41111 else
41112
41113 cat >conftest.$ac_ext <<_ACEOF
41114
41115 /* confdefs.h. */
41116 _ACEOF
41117 cat confdefs.h >>conftest.$ac_ext
41118 cat >>conftest.$ac_ext <<_ACEOF
41119 /* end confdefs.h. */
41120
41121
41122 $ac_includes_default
41123
41124 int
41125 main ()
41126 {
41127
41128 #ifndef $wx_func
41129 &$wx_func;
41130 #endif
41131
41132
41133 ;
41134 return 0;
41135 }
41136
41137 _ACEOF
41138 rm -f conftest.$ac_objext conftest$ac_exeext
41139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41140 (eval $ac_link) 2>conftest.er1
41141 ac_status=$?
41142 grep -v '^ *+' conftest.er1 >conftest.err
41143 rm -f conftest.er1
41144 cat conftest.err >&5
41145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41146 (exit $ac_status); } &&
41147 { ac_try='test -z "$ac_c_werror_flag"
41148 || test ! -s conftest.err'
41149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41150 (eval $ac_try) 2>&5
41151 ac_status=$?
41152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41153 (exit $ac_status); }; } &&
41154 { ac_try='test -s conftest$ac_exeext'
41155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41156 (eval $ac_try) 2>&5
41157 ac_status=$?
41158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41159 (exit $ac_status); }; }; then
41160 eval wx_cv_func_$wx_func=yes
41161 else
41162 echo "$as_me: failed program was:" >&5
41163 sed 's/^/| /' conftest.$ac_ext >&5
41164
41165 eval wx_cv_func_$wx_func=no
41166 fi
41167 rm -f conftest.err conftest.$ac_objext \
41168 conftest$ac_exeext conftest.$ac_ext
41169
41170 fi
41171 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
41172 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
41173
41174 if eval test \$wx_cv_func_$wx_func = yes
41175 then
41176 cat >>confdefs.h <<_ACEOF
41177 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41178 _ACEOF
41179
41180
41181 else
41182 :
41183
41184 fi
41185 done
41186
41187
41188 fi
41189
41190
41191
41192 cat >confcache <<\_ACEOF
41193 # This file is a shell script that caches the results of configure
41194 # tests run on this system so they can be shared between configure
41195 # scripts and configure runs, see configure's option --config-cache.
41196 # It is not useful on other systems. If it contains results you don't
41197 # want to keep, you may remove or edit it.
41198 #
41199 # config.status only pays attention to the cache file if you give it
41200 # the --recheck option to rerun configure.
41201 #
41202 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41203 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41204 # following values.
41205
41206 _ACEOF
41207
41208 # The following way of writing the cache mishandles newlines in values,
41209 # but we know of no workaround that is simple, portable, and efficient.
41210 # So, don't put newlines in cache variables' values.
41211 # Ultrix sh set writes to stderr and can't be redirected directly,
41212 # and sets the high bit in the cache file unless we assign to the vars.
41213 {
41214 (set) 2>&1 |
41215 case `(ac_space=' '; set | grep ac_space) 2>&1` in
41216 *ac_space=\ *)
41217 # `set' does not quote correctly, so add quotes (double-quote
41218 # substitution turns \\\\ into \\, and sed turns \\ into \).
41219 sed -n \
41220 "s/'/'\\\\''/g;
41221 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41222 ;;
41223 *)
41224 # `set' quotes correctly as required by POSIX, so do not add quotes.
41225 sed -n \
41226 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
41227 ;;
41228 esac;
41229 } |
41230 sed '
41231 t clear
41232 : clear
41233 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41234 t end
41235 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41236 : end' >>confcache
41237 if diff $cache_file confcache >/dev/null 2>&1; then :; else
41238 if test -w $cache_file; then
41239 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
41240 cat confcache >$cache_file
41241 else
41242 echo "not updating unwritable cache $cache_file"
41243 fi
41244 fi
41245 rm -f confcache
41246
41247
41248 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41249
41250
41251 THREADS_LINK=
41252 THREADS_CFLAGS=
41253
41254 if test "$wxUSE_THREADS" = "yes" ; then
41255 if test "$USE_BEOS" = 1; then
41256 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41257 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41258 wxUSE_THREADS="no"
41259 fi
41260 fi
41261
41262 if test "$wxUSE_THREADS" = "yes" ; then
41263
41264
41265 THREAD_OPTS="-pthread"
41266 if test "x$SUNCXX" = xyes; then
41267 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41268 fi
41269
41270 case "${host}" in
41271 *-*-solaris2* | *-*-sunos4* )
41272 if test "x$GCC" = "xyes"; then
41273 THREAD_OPTS="-pthreads $THREAD_OPTS"
41274 fi
41275 ;;
41276 *-*-freebsd*)
41277 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41278 ;;
41279 *-*-darwin* | *-*-cygwin* )
41280 THREAD_OPTS=""
41281 ;;
41282 *-*-aix*)
41283 THREAD_OPTS="pthreads"
41284 ;;
41285 *-hp-hpux* )
41286 if test "x$GCC" = "xyes"; then
41287 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41288 THREAD_OPTS=""
41289 else
41290 THREAD_OPTS="-mt"
41291 fi
41292 ;;
41293
41294 *-*-irix* )
41295 if test "x$GCC" = "xyes"; then
41296 THREAD_OPTS=""
41297 fi
41298 ;;
41299
41300 *-*-*UnixWare*)
41301 if test "x$GCC" != "xyes"; then
41302 THREAD_OPTS="-Ethread"
41303 fi
41304 ;;
41305 esac
41306
41307 THREAD_OPTS="$THREAD_OPTS pthread none"
41308
41309 THREADS_OK=no
41310 for flag in $THREAD_OPTS; do
41311 case $flag in
41312 none)
41313 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41314 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
41315 ;;
41316
41317 -*)
41318 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41319 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
41320 THREADS_CFLAGS="$flag"
41321 ;;
41322
41323 *)
41324 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41325 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
41326 THREADS_LINK="-l$flag"
41327 ;;
41328 esac
41329
41330 save_LIBS="$LIBS"
41331 save_CFLAGS="$CFLAGS"
41332 LIBS="$THREADS_LINK $LIBS"
41333 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41334
41335 cat >conftest.$ac_ext <<_ACEOF
41336 /* confdefs.h. */
41337 _ACEOF
41338 cat confdefs.h >>conftest.$ac_ext
41339 cat >>conftest.$ac_ext <<_ACEOF
41340 /* end confdefs.h. */
41341 #include <pthread.h>
41342 int
41343 main ()
41344 {
41345 pthread_create(0,0,0,0);
41346 ;
41347 return 0;
41348 }
41349 _ACEOF
41350 rm -f conftest.$ac_objext conftest$ac_exeext
41351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41352 (eval $ac_link) 2>conftest.er1
41353 ac_status=$?
41354 grep -v '^ *+' conftest.er1 >conftest.err
41355 rm -f conftest.er1
41356 cat conftest.err >&5
41357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41358 (exit $ac_status); } &&
41359 { ac_try='test -z "$ac_c_werror_flag"
41360 || test ! -s conftest.err'
41361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41362 (eval $ac_try) 2>&5
41363 ac_status=$?
41364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41365 (exit $ac_status); }; } &&
41366 { ac_try='test -s conftest$ac_exeext'
41367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41368 (eval $ac_try) 2>&5
41369 ac_status=$?
41370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41371 (exit $ac_status); }; }; then
41372 THREADS_OK=yes
41373 else
41374 echo "$as_me: failed program was:" >&5
41375 sed 's/^/| /' conftest.$ac_ext >&5
41376
41377 fi
41378 rm -f conftest.err conftest.$ac_objext \
41379 conftest$ac_exeext conftest.$ac_ext
41380
41381 LIBS="$save_LIBS"
41382 CFLAGS="$save_CFLAGS"
41383
41384 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41385 echo "${ECHO_T}$THREADS_OK" >&6
41386 if test "x$THREADS_OK" = "xyes"; then
41387 break;
41388 fi
41389
41390 THREADS_LINK=""
41391 THREADS_CFLAGS=""
41392 done
41393
41394 if test "x$THREADS_OK" != "xyes"; then
41395 wxUSE_THREADS=no
41396 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41397 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41398 else
41399 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41400 LIBS="$THREADS_LINK $LIBS"
41401
41402 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41403 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
41404 flag=no
41405 case "${host}" in
41406 *-aix*)
41407 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41408 flag="-D_THREAD_SAFE"
41409 ;;
41410 *-freebsd*)
41411 flag="-D_THREAD_SAFE"
41412 ;;
41413 *-hp-hpux* )
41414 flag="-D_REENTRANT"
41415 if test "x$GCC" != "xyes"; then
41416 flag="$flag -D_RWSTD_MULTI_THREAD"
41417 fi
41418 ;;
41419 *solaris* | alpha*-osf*)
41420 flag="-D_REENTRANT"
41421 ;;
41422 esac
41423 echo "$as_me:$LINENO: result: ${flag}" >&5
41424 echo "${ECHO_T}${flag}" >&6
41425 if test "x$flag" != xno; then
41426 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41427 fi
41428
41429 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41430 fi
41431 fi
41432
41433 if test "$wxUSE_THREADS" = "yes" ; then
41434
41435 for ac_func in thr_setconcurrency
41436 do
41437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41438 echo "$as_me:$LINENO: checking for $ac_func" >&5
41439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41440 if eval "test \"\${$as_ac_var+set}\" = set"; then
41441 echo $ECHO_N "(cached) $ECHO_C" >&6
41442 else
41443 cat >conftest.$ac_ext <<_ACEOF
41444 /* confdefs.h. */
41445 _ACEOF
41446 cat confdefs.h >>conftest.$ac_ext
41447 cat >>conftest.$ac_ext <<_ACEOF
41448 /* end confdefs.h. */
41449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41451 #define $ac_func innocuous_$ac_func
41452
41453 /* System header to define __stub macros and hopefully few prototypes,
41454 which can conflict with char $ac_func (); below.
41455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41456 <limits.h> exists even on freestanding compilers. */
41457
41458 #ifdef __STDC__
41459 # include <limits.h>
41460 #else
41461 # include <assert.h>
41462 #endif
41463
41464 #undef $ac_func
41465
41466 /* Override any gcc2 internal prototype to avoid an error. */
41467 #ifdef __cplusplus
41468 extern "C"
41469 {
41470 #endif
41471 /* We use char because int might match the return type of a gcc2
41472 builtin and then its argument prototype would still apply. */
41473 char $ac_func ();
41474 /* The GNU C library defines this for functions which it implements
41475 to always fail with ENOSYS. Some functions are actually named
41476 something starting with __ and the normal name is an alias. */
41477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41478 choke me
41479 #else
41480 char (*f) () = $ac_func;
41481 #endif
41482 #ifdef __cplusplus
41483 }
41484 #endif
41485
41486 int
41487 main ()
41488 {
41489 return f != $ac_func;
41490 ;
41491 return 0;
41492 }
41493 _ACEOF
41494 rm -f conftest.$ac_objext conftest$ac_exeext
41495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41496 (eval $ac_link) 2>conftest.er1
41497 ac_status=$?
41498 grep -v '^ *+' conftest.er1 >conftest.err
41499 rm -f conftest.er1
41500 cat conftest.err >&5
41501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41502 (exit $ac_status); } &&
41503 { ac_try='test -z "$ac_c_werror_flag"
41504 || test ! -s conftest.err'
41505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41506 (eval $ac_try) 2>&5
41507 ac_status=$?
41508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41509 (exit $ac_status); }; } &&
41510 { ac_try='test -s conftest$ac_exeext'
41511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41512 (eval $ac_try) 2>&5
41513 ac_status=$?
41514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41515 (exit $ac_status); }; }; then
41516 eval "$as_ac_var=yes"
41517 else
41518 echo "$as_me: failed program was:" >&5
41519 sed 's/^/| /' conftest.$ac_ext >&5
41520
41521 eval "$as_ac_var=no"
41522 fi
41523 rm -f conftest.err conftest.$ac_objext \
41524 conftest$ac_exeext conftest.$ac_ext
41525 fi
41526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41528 if test `eval echo '${'$as_ac_var'}'` = yes; then
41529 cat >>confdefs.h <<_ACEOF
41530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41531 _ACEOF
41532
41533 fi
41534 done
41535
41536
41537 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41538 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
41539 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41540 echo $ECHO_N "(cached) $ECHO_C" >&6
41541 else
41542
41543 ac_ext=cc
41544 ac_cpp='$CXXCPP $CPPFLAGS'
41545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41548
41549 cat >conftest.$ac_ext <<_ACEOF
41550 /* confdefs.h. */
41551 _ACEOF
41552 cat confdefs.h >>conftest.$ac_ext
41553 cat >>conftest.$ac_ext <<_ACEOF
41554 /* end confdefs.h. */
41555 #include <pthread.h>
41556 void ThreadCleanupFunc(void *p);
41557
41558 int
41559 main ()
41560 {
41561
41562 void *p;
41563 pthread_cleanup_push(ThreadCleanupFunc, p);
41564 pthread_cleanup_pop(0);
41565
41566 ;
41567 return 0;
41568 }
41569 _ACEOF
41570 rm -f conftest.$ac_objext
41571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41572 (eval $ac_compile) 2>conftest.er1
41573 ac_status=$?
41574 grep -v '^ *+' conftest.er1 >conftest.err
41575 rm -f conftest.er1
41576 cat conftest.err >&5
41577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41578 (exit $ac_status); } &&
41579 { ac_try='test -z "$ac_cxx_werror_flag"
41580 || test ! -s conftest.err'
41581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41582 (eval $ac_try) 2>&5
41583 ac_status=$?
41584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41585 (exit $ac_status); }; } &&
41586 { ac_try='test -s conftest.$ac_objext'
41587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41588 (eval $ac_try) 2>&5
41589 ac_status=$?
41590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41591 (exit $ac_status); }; }; then
41592
41593 wx_cv_func_pthread_cleanup=yes
41594
41595 else
41596 echo "$as_me: failed program was:" >&5
41597 sed 's/^/| /' conftest.$ac_ext >&5
41598
41599
41600 wx_cv_func_pthread_cleanup=no
41601
41602
41603 fi
41604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41605 ac_ext=c
41606 ac_cpp='$CPP $CPPFLAGS'
41607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41610
41611
41612 fi
41613 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41614 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
41615 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41616 cat >>confdefs.h <<\_ACEOF
41617 #define wxHAVE_PTHREAD_CLEANUP 1
41618 _ACEOF
41619
41620 fi
41621
41622
41623 for ac_header in sched.h
41624 do
41625 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41626 echo "$as_me:$LINENO: checking for $ac_header" >&5
41627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41629 echo $ECHO_N "(cached) $ECHO_C" >&6
41630 else
41631 cat >conftest.$ac_ext <<_ACEOF
41632 /* confdefs.h. */
41633 _ACEOF
41634 cat confdefs.h >>conftest.$ac_ext
41635 cat >>conftest.$ac_ext <<_ACEOF
41636 /* end confdefs.h. */
41637 $ac_includes_default
41638
41639 #include <$ac_header>
41640 _ACEOF
41641 rm -f conftest.$ac_objext
41642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41643 (eval $ac_compile) 2>conftest.er1
41644 ac_status=$?
41645 grep -v '^ *+' conftest.er1 >conftest.err
41646 rm -f conftest.er1
41647 cat conftest.err >&5
41648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41649 (exit $ac_status); } &&
41650 { ac_try='test -z "$ac_c_werror_flag"
41651 || test ! -s conftest.err'
41652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41653 (eval $ac_try) 2>&5
41654 ac_status=$?
41655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41656 (exit $ac_status); }; } &&
41657 { ac_try='test -s conftest.$ac_objext'
41658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41659 (eval $ac_try) 2>&5
41660 ac_status=$?
41661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41662 (exit $ac_status); }; }; then
41663 eval "$as_ac_Header=yes"
41664 else
41665 echo "$as_me: failed program was:" >&5
41666 sed 's/^/| /' conftest.$ac_ext >&5
41667
41668 eval "$as_ac_Header=no"
41669 fi
41670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41671 fi
41672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41675 cat >>confdefs.h <<_ACEOF
41676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41677 _ACEOF
41678
41679 fi
41680
41681 done
41682
41683 if test "$ac_cv_header_sched_h" = "yes"; then
41684 echo "$as_me:$LINENO: checking for sched_yield" >&5
41685 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
41686 if test "${ac_cv_func_sched_yield+set}" = set; then
41687 echo $ECHO_N "(cached) $ECHO_C" >&6
41688 else
41689 cat >conftest.$ac_ext <<_ACEOF
41690 /* confdefs.h. */
41691 _ACEOF
41692 cat confdefs.h >>conftest.$ac_ext
41693 cat >>conftest.$ac_ext <<_ACEOF
41694 /* end confdefs.h. */
41695 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41697 #define sched_yield innocuous_sched_yield
41698
41699 /* System header to define __stub macros and hopefully few prototypes,
41700 which can conflict with char sched_yield (); below.
41701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41702 <limits.h> exists even on freestanding compilers. */
41703
41704 #ifdef __STDC__
41705 # include <limits.h>
41706 #else
41707 # include <assert.h>
41708 #endif
41709
41710 #undef sched_yield
41711
41712 /* Override any gcc2 internal prototype to avoid an error. */
41713 #ifdef __cplusplus
41714 extern "C"
41715 {
41716 #endif
41717 /* We use char because int might match the return type of a gcc2
41718 builtin and then its argument prototype would still apply. */
41719 char sched_yield ();
41720 /* The GNU C library defines this for functions which it implements
41721 to always fail with ENOSYS. Some functions are actually named
41722 something starting with __ and the normal name is an alias. */
41723 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
41724 choke me
41725 #else
41726 char (*f) () = sched_yield;
41727 #endif
41728 #ifdef __cplusplus
41729 }
41730 #endif
41731
41732 int
41733 main ()
41734 {
41735 return f != sched_yield;
41736 ;
41737 return 0;
41738 }
41739 _ACEOF
41740 rm -f conftest.$ac_objext conftest$ac_exeext
41741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41742 (eval $ac_link) 2>conftest.er1
41743 ac_status=$?
41744 grep -v '^ *+' conftest.er1 >conftest.err
41745 rm -f conftest.er1
41746 cat conftest.err >&5
41747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41748 (exit $ac_status); } &&
41749 { ac_try='test -z "$ac_c_werror_flag"
41750 || test ! -s conftest.err'
41751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41752 (eval $ac_try) 2>&5
41753 ac_status=$?
41754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41755 (exit $ac_status); }; } &&
41756 { ac_try='test -s conftest$ac_exeext'
41757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41758 (eval $ac_try) 2>&5
41759 ac_status=$?
41760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41761 (exit $ac_status); }; }; then
41762 ac_cv_func_sched_yield=yes
41763 else
41764 echo "$as_me: failed program was:" >&5
41765 sed 's/^/| /' conftest.$ac_ext >&5
41766
41767 ac_cv_func_sched_yield=no
41768 fi
41769 rm -f conftest.err conftest.$ac_objext \
41770 conftest$ac_exeext conftest.$ac_ext
41771 fi
41772 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41773 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
41774 if test $ac_cv_func_sched_yield = yes; then
41775 cat >>confdefs.h <<\_ACEOF
41776 #define HAVE_SCHED_YIELD 1
41777 _ACEOF
41778
41779 else
41780
41781 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41782 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
41783 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41784 echo $ECHO_N "(cached) $ECHO_C" >&6
41785 else
41786 ac_check_lib_save_LIBS=$LIBS
41787 LIBS="-lposix4 $LIBS"
41788 cat >conftest.$ac_ext <<_ACEOF
41789 /* confdefs.h. */
41790 _ACEOF
41791 cat confdefs.h >>conftest.$ac_ext
41792 cat >>conftest.$ac_ext <<_ACEOF
41793 /* end confdefs.h. */
41794
41795 /* Override any gcc2 internal prototype to avoid an error. */
41796 #ifdef __cplusplus
41797 extern "C"
41798 #endif
41799 /* We use char because int might match the return type of a gcc2
41800 builtin and then its argument prototype would still apply. */
41801 char sched_yield ();
41802 int
41803 main ()
41804 {
41805 sched_yield ();
41806 ;
41807 return 0;
41808 }
41809 _ACEOF
41810 rm -f conftest.$ac_objext conftest$ac_exeext
41811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41812 (eval $ac_link) 2>conftest.er1
41813 ac_status=$?
41814 grep -v '^ *+' conftest.er1 >conftest.err
41815 rm -f conftest.er1
41816 cat conftest.err >&5
41817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41818 (exit $ac_status); } &&
41819 { ac_try='test -z "$ac_c_werror_flag"
41820 || test ! -s conftest.err'
41821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41822 (eval $ac_try) 2>&5
41823 ac_status=$?
41824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41825 (exit $ac_status); }; } &&
41826 { ac_try='test -s conftest$ac_exeext'
41827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41828 (eval $ac_try) 2>&5
41829 ac_status=$?
41830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41831 (exit $ac_status); }; }; then
41832 ac_cv_lib_posix4_sched_yield=yes
41833 else
41834 echo "$as_me: failed program was:" >&5
41835 sed 's/^/| /' conftest.$ac_ext >&5
41836
41837 ac_cv_lib_posix4_sched_yield=no
41838 fi
41839 rm -f conftest.err conftest.$ac_objext \
41840 conftest$ac_exeext conftest.$ac_ext
41841 LIBS=$ac_check_lib_save_LIBS
41842 fi
41843 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41844 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
41845 if test $ac_cv_lib_posix4_sched_yield = yes; then
41846 cat >>confdefs.h <<\_ACEOF
41847 #define HAVE_SCHED_YIELD 1
41848 _ACEOF
41849 POSIX4_LINK=" -lposix4"
41850 else
41851 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41852 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41853
41854 fi
41855
41856
41857
41858 fi
41859
41860 fi
41861
41862 HAVE_PRIOR_FUNCS=0
41863 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41864 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
41865 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41866 echo $ECHO_N "(cached) $ECHO_C" >&6
41867 else
41868 cat >conftest.$ac_ext <<_ACEOF
41869 /* confdefs.h. */
41870 _ACEOF
41871 cat confdefs.h >>conftest.$ac_ext
41872 cat >>conftest.$ac_ext <<_ACEOF
41873 /* end confdefs.h. */
41874 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41876 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41877
41878 /* System header to define __stub macros and hopefully few prototypes,
41879 which can conflict with char pthread_attr_getschedpolicy (); below.
41880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41881 <limits.h> exists even on freestanding compilers. */
41882
41883 #ifdef __STDC__
41884 # include <limits.h>
41885 #else
41886 # include <assert.h>
41887 #endif
41888
41889 #undef pthread_attr_getschedpolicy
41890
41891 /* Override any gcc2 internal prototype to avoid an error. */
41892 #ifdef __cplusplus
41893 extern "C"
41894 {
41895 #endif
41896 /* We use char because int might match the return type of a gcc2
41897 builtin and then its argument prototype would still apply. */
41898 char pthread_attr_getschedpolicy ();
41899 /* The GNU C library defines this for functions which it implements
41900 to always fail with ENOSYS. Some functions are actually named
41901 something starting with __ and the normal name is an alias. */
41902 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
41903 choke me
41904 #else
41905 char (*f) () = pthread_attr_getschedpolicy;
41906 #endif
41907 #ifdef __cplusplus
41908 }
41909 #endif
41910
41911 int
41912 main ()
41913 {
41914 return f != pthread_attr_getschedpolicy;
41915 ;
41916 return 0;
41917 }
41918 _ACEOF
41919 rm -f conftest.$ac_objext conftest$ac_exeext
41920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41921 (eval $ac_link) 2>conftest.er1
41922 ac_status=$?
41923 grep -v '^ *+' conftest.er1 >conftest.err
41924 rm -f conftest.er1
41925 cat conftest.err >&5
41926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41927 (exit $ac_status); } &&
41928 { ac_try='test -z "$ac_c_werror_flag"
41929 || test ! -s conftest.err'
41930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41931 (eval $ac_try) 2>&5
41932 ac_status=$?
41933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41934 (exit $ac_status); }; } &&
41935 { ac_try='test -s conftest$ac_exeext'
41936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41937 (eval $ac_try) 2>&5
41938 ac_status=$?
41939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41940 (exit $ac_status); }; }; then
41941 ac_cv_func_pthread_attr_getschedpolicy=yes
41942 else
41943 echo "$as_me: failed program was:" >&5
41944 sed 's/^/| /' conftest.$ac_ext >&5
41945
41946 ac_cv_func_pthread_attr_getschedpolicy=no
41947 fi
41948 rm -f conftest.err conftest.$ac_objext \
41949 conftest$ac_exeext conftest.$ac_ext
41950 fi
41951 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41952 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
41953 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41954 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41955 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
41956 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41957 echo $ECHO_N "(cached) $ECHO_C" >&6
41958 else
41959 cat >conftest.$ac_ext <<_ACEOF
41960 /* confdefs.h. */
41961 _ACEOF
41962 cat confdefs.h >>conftest.$ac_ext
41963 cat >>conftest.$ac_ext <<_ACEOF
41964 /* end confdefs.h. */
41965 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41967 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41968
41969 /* System header to define __stub macros and hopefully few prototypes,
41970 which can conflict with char pthread_attr_setschedparam (); below.
41971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41972 <limits.h> exists even on freestanding compilers. */
41973
41974 #ifdef __STDC__
41975 # include <limits.h>
41976 #else
41977 # include <assert.h>
41978 #endif
41979
41980 #undef pthread_attr_setschedparam
41981
41982 /* Override any gcc2 internal prototype to avoid an error. */
41983 #ifdef __cplusplus
41984 extern "C"
41985 {
41986 #endif
41987 /* We use char because int might match the return type of a gcc2
41988 builtin and then its argument prototype would still apply. */
41989 char pthread_attr_setschedparam ();
41990 /* The GNU C library defines this for functions which it implements
41991 to always fail with ENOSYS. Some functions are actually named
41992 something starting with __ and the normal name is an alias. */
41993 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
41994 choke me
41995 #else
41996 char (*f) () = pthread_attr_setschedparam;
41997 #endif
41998 #ifdef __cplusplus
41999 }
42000 #endif
42001
42002 int
42003 main ()
42004 {
42005 return f != pthread_attr_setschedparam;
42006 ;
42007 return 0;
42008 }
42009 _ACEOF
42010 rm -f conftest.$ac_objext conftest$ac_exeext
42011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42012 (eval $ac_link) 2>conftest.er1
42013 ac_status=$?
42014 grep -v '^ *+' conftest.er1 >conftest.err
42015 rm -f conftest.er1
42016 cat conftest.err >&5
42017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42018 (exit $ac_status); } &&
42019 { ac_try='test -z "$ac_c_werror_flag"
42020 || test ! -s conftest.err'
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); }; } &&
42026 { ac_try='test -s conftest$ac_exeext'
42027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42028 (eval $ac_try) 2>&5
42029 ac_status=$?
42030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42031 (exit $ac_status); }; }; then
42032 ac_cv_func_pthread_attr_setschedparam=yes
42033 else
42034 echo "$as_me: failed program was:" >&5
42035 sed 's/^/| /' conftest.$ac_ext >&5
42036
42037 ac_cv_func_pthread_attr_setschedparam=no
42038 fi
42039 rm -f conftest.err conftest.$ac_objext \
42040 conftest$ac_exeext conftest.$ac_ext
42041 fi
42042 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42043 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
42044 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42045 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42046 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
42047 if test "${ac_cv_func_sched_get_priority_max+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 sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42058 #define sched_get_priority_max innocuous_sched_get_priority_max
42059
42060 /* System header to define __stub macros and hopefully few prototypes,
42061 which can conflict with char sched_get_priority_max (); 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 sched_get_priority_max
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 sched_get_priority_max ();
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_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
42085 choke me
42086 #else
42087 char (*f) () = sched_get_priority_max;
42088 #endif
42089 #ifdef __cplusplus
42090 }
42091 #endif
42092
42093 int
42094 main ()
42095 {
42096 return f != sched_get_priority_max;
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"
42111 || test ! -s conftest.err'
42112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42113 (eval $ac_try) 2>&5
42114 ac_status=$?
42115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42116 (exit $ac_status); }; } &&
42117 { ac_try='test -s conftest$ac_exeext'
42118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42119 (eval $ac_try) 2>&5
42120 ac_status=$?
42121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42122 (exit $ac_status); }; }; then
42123 ac_cv_func_sched_get_priority_max=yes
42124 else
42125 echo "$as_me: failed program was:" >&5
42126 sed 's/^/| /' conftest.$ac_ext >&5
42127
42128 ac_cv_func_sched_get_priority_max=no
42129 fi
42130 rm -f conftest.err conftest.$ac_objext \
42131 conftest$ac_exeext conftest.$ac_ext
42132 fi
42133 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42134 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
42135 if test $ac_cv_func_sched_get_priority_max = yes; then
42136 HAVE_PRIOR_FUNCS=1
42137 else
42138 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42139 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
42140 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42141 echo $ECHO_N "(cached) $ECHO_C" >&6
42142 else
42143 ac_check_lib_save_LIBS=$LIBS
42144 LIBS="-lposix4 $LIBS"
42145 cat >conftest.$ac_ext <<_ACEOF
42146 /* confdefs.h. */
42147 _ACEOF
42148 cat confdefs.h >>conftest.$ac_ext
42149 cat >>conftest.$ac_ext <<_ACEOF
42150 /* end confdefs.h. */
42151
42152 /* Override any gcc2 internal prototype to avoid an error. */
42153 #ifdef __cplusplus
42154 extern "C"
42155 #endif
42156 /* We use char because int might match the return type of a gcc2
42157 builtin and then its argument prototype would still apply. */
42158 char sched_get_priority_max ();
42159 int
42160 main ()
42161 {
42162 sched_get_priority_max ();
42163 ;
42164 return 0;
42165 }
42166 _ACEOF
42167 rm -f conftest.$ac_objext conftest$ac_exeext
42168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42169 (eval $ac_link) 2>conftest.er1
42170 ac_status=$?
42171 grep -v '^ *+' conftest.er1 >conftest.err
42172 rm -f conftest.er1
42173 cat conftest.err >&5
42174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42175 (exit $ac_status); } &&
42176 { ac_try='test -z "$ac_c_werror_flag"
42177 || test ! -s conftest.err'
42178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42179 (eval $ac_try) 2>&5
42180 ac_status=$?
42181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42182 (exit $ac_status); }; } &&
42183 { ac_try='test -s conftest$ac_exeext'
42184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42185 (eval $ac_try) 2>&5
42186 ac_status=$?
42187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42188 (exit $ac_status); }; }; then
42189 ac_cv_lib_posix4_sched_get_priority_max=yes
42190 else
42191 echo "$as_me: failed program was:" >&5
42192 sed 's/^/| /' conftest.$ac_ext >&5
42193
42194 ac_cv_lib_posix4_sched_get_priority_max=no
42195 fi
42196 rm -f conftest.err conftest.$ac_objext \
42197 conftest$ac_exeext conftest.$ac_ext
42198 LIBS=$ac_check_lib_save_LIBS
42199 fi
42200 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42201 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
42202 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42203
42204 HAVE_PRIOR_FUNCS=1
42205 POSIX4_LINK=" -lposix4"
42206
42207 fi
42208
42209
42210 fi
42211
42212
42213 fi
42214
42215
42216 fi
42217
42218
42219 if test "$HAVE_PRIOR_FUNCS" = 1; then
42220 cat >>confdefs.h <<\_ACEOF
42221 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42222 _ACEOF
42223
42224 else
42225 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42226 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42227 fi
42228
42229 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42230 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
42231 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42232 echo $ECHO_N "(cached) $ECHO_C" >&6
42233 else
42234 cat >conftest.$ac_ext <<_ACEOF
42235 /* confdefs.h. */
42236 _ACEOF
42237 cat confdefs.h >>conftest.$ac_ext
42238 cat >>conftest.$ac_ext <<_ACEOF
42239 /* end confdefs.h. */
42240 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42242 #define pthread_cancel innocuous_pthread_cancel
42243
42244 /* System header to define __stub macros and hopefully few prototypes,
42245 which can conflict with char pthread_cancel (); below.
42246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42247 <limits.h> exists even on freestanding compilers. */
42248
42249 #ifdef __STDC__
42250 # include <limits.h>
42251 #else
42252 # include <assert.h>
42253 #endif
42254
42255 #undef pthread_cancel
42256
42257 /* Override any gcc2 internal prototype to avoid an error. */
42258 #ifdef __cplusplus
42259 extern "C"
42260 {
42261 #endif
42262 /* We use char because int might match the return type of a gcc2
42263 builtin and then its argument prototype would still apply. */
42264 char pthread_cancel ();
42265 /* The GNU C library defines this for functions which it implements
42266 to always fail with ENOSYS. Some functions are actually named
42267 something starting with __ and the normal name is an alias. */
42268 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
42269 choke me
42270 #else
42271 char (*f) () = pthread_cancel;
42272 #endif
42273 #ifdef __cplusplus
42274 }
42275 #endif
42276
42277 int
42278 main ()
42279 {
42280 return f != pthread_cancel;
42281 ;
42282 return 0;
42283 }
42284 _ACEOF
42285 rm -f conftest.$ac_objext conftest$ac_exeext
42286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42287 (eval $ac_link) 2>conftest.er1
42288 ac_status=$?
42289 grep -v '^ *+' conftest.er1 >conftest.err
42290 rm -f conftest.er1
42291 cat conftest.err >&5
42292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42293 (exit $ac_status); } &&
42294 { ac_try='test -z "$ac_c_werror_flag"
42295 || test ! -s conftest.err'
42296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42297 (eval $ac_try) 2>&5
42298 ac_status=$?
42299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42300 (exit $ac_status); }; } &&
42301 { ac_try='test -s conftest$ac_exeext'
42302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42303 (eval $ac_try) 2>&5
42304 ac_status=$?
42305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42306 (exit $ac_status); }; }; then
42307 ac_cv_func_pthread_cancel=yes
42308 else
42309 echo "$as_me: failed program was:" >&5
42310 sed 's/^/| /' conftest.$ac_ext >&5
42311
42312 ac_cv_func_pthread_cancel=no
42313 fi
42314 rm -f conftest.err conftest.$ac_objext \
42315 conftest$ac_exeext conftest.$ac_ext
42316 fi
42317 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42318 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
42319 if test $ac_cv_func_pthread_cancel = yes; then
42320 cat >>confdefs.h <<\_ACEOF
42321 #define HAVE_PTHREAD_CANCEL 1
42322 _ACEOF
42323
42324 else
42325 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42326 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42327 fi
42328
42329
42330 echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42331 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6
42332 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42333 echo $ECHO_N "(cached) $ECHO_C" >&6
42334 else
42335 cat >conftest.$ac_ext <<_ACEOF
42336 /* confdefs.h. */
42337 _ACEOF
42338 cat confdefs.h >>conftest.$ac_ext
42339 cat >>conftest.$ac_ext <<_ACEOF
42340 /* end confdefs.h. */
42341 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42343 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42344
42345 /* System header to define __stub macros and hopefully few prototypes,
42346 which can conflict with char pthread_mutex_timedlock (); below.
42347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42348 <limits.h> exists even on freestanding compilers. */
42349
42350 #ifdef __STDC__
42351 # include <limits.h>
42352 #else
42353 # include <assert.h>
42354 #endif
42355
42356 #undef pthread_mutex_timedlock
42357
42358 /* Override any gcc2 internal prototype to avoid an error. */
42359 #ifdef __cplusplus
42360 extern "C"
42361 {
42362 #endif
42363 /* We use char because int might match the return type of a gcc2
42364 builtin and then its argument prototype would still apply. */
42365 char pthread_mutex_timedlock ();
42366 /* The GNU C library defines this for functions which it implements
42367 to always fail with ENOSYS. Some functions are actually named
42368 something starting with __ and the normal name is an alias. */
42369 #if defined (__stub_pthread_mutex_timedlock) || defined (__stub___pthread_mutex_timedlock)
42370 choke me
42371 #else
42372 char (*f) () = pthread_mutex_timedlock;
42373 #endif
42374 #ifdef __cplusplus
42375 }
42376 #endif
42377
42378 int
42379 main ()
42380 {
42381 return f != pthread_mutex_timedlock;
42382 ;
42383 return 0;
42384 }
42385 _ACEOF
42386 rm -f conftest.$ac_objext conftest$ac_exeext
42387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42388 (eval $ac_link) 2>conftest.er1
42389 ac_status=$?
42390 grep -v '^ *+' conftest.er1 >conftest.err
42391 rm -f conftest.er1
42392 cat conftest.err >&5
42393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42394 (exit $ac_status); } &&
42395 { ac_try='test -z "$ac_c_werror_flag"
42396 || test ! -s conftest.err'
42397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42398 (eval $ac_try) 2>&5
42399 ac_status=$?
42400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42401 (exit $ac_status); }; } &&
42402 { ac_try='test -s conftest$ac_exeext'
42403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42404 (eval $ac_try) 2>&5
42405 ac_status=$?
42406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42407 (exit $ac_status); }; }; then
42408 ac_cv_func_pthread_mutex_timedlock=yes
42409 else
42410 echo "$as_me: failed program was:" >&5
42411 sed 's/^/| /' conftest.$ac_ext >&5
42412
42413 ac_cv_func_pthread_mutex_timedlock=no
42414 fi
42415 rm -f conftest.err conftest.$ac_objext \
42416 conftest$ac_exeext conftest.$ac_ext
42417 fi
42418 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42419 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6
42420 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42421 cat >>confdefs.h <<\_ACEOF
42422 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42423 _ACEOF
42424
42425 else
42426 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42427 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42428 fi
42429
42430
42431 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42432 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
42433 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42434 echo $ECHO_N "(cached) $ECHO_C" >&6
42435 else
42436 cat >conftest.$ac_ext <<_ACEOF
42437 /* confdefs.h. */
42438 _ACEOF
42439 cat confdefs.h >>conftest.$ac_ext
42440 cat >>conftest.$ac_ext <<_ACEOF
42441 /* end confdefs.h. */
42442 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42444 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42445
42446 /* System header to define __stub macros and hopefully few prototypes,
42447 which can conflict with char pthread_attr_setstacksize (); below.
42448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42449 <limits.h> exists even on freestanding compilers. */
42450
42451 #ifdef __STDC__
42452 # include <limits.h>
42453 #else
42454 # include <assert.h>
42455 #endif
42456
42457 #undef pthread_attr_setstacksize
42458
42459 /* Override any gcc2 internal prototype to avoid an error. */
42460 #ifdef __cplusplus
42461 extern "C"
42462 {
42463 #endif
42464 /* We use char because int might match the return type of a gcc2
42465 builtin and then its argument prototype would still apply. */
42466 char pthread_attr_setstacksize ();
42467 /* The GNU C library defines this for functions which it implements
42468 to always fail with ENOSYS. Some functions are actually named
42469 something starting with __ and the normal name is an alias. */
42470 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
42471 choke me
42472 #else
42473 char (*f) () = pthread_attr_setstacksize;
42474 #endif
42475 #ifdef __cplusplus
42476 }
42477 #endif
42478
42479 int
42480 main ()
42481 {
42482 return f != pthread_attr_setstacksize;
42483 ;
42484 return 0;
42485 }
42486 _ACEOF
42487 rm -f conftest.$ac_objext conftest$ac_exeext
42488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42489 (eval $ac_link) 2>conftest.er1
42490 ac_status=$?
42491 grep -v '^ *+' conftest.er1 >conftest.err
42492 rm -f conftest.er1
42493 cat conftest.err >&5
42494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42495 (exit $ac_status); } &&
42496 { ac_try='test -z "$ac_c_werror_flag"
42497 || test ! -s conftest.err'
42498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42499 (eval $ac_try) 2>&5
42500 ac_status=$?
42501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42502 (exit $ac_status); }; } &&
42503 { ac_try='test -s conftest$ac_exeext'
42504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42505 (eval $ac_try) 2>&5
42506 ac_status=$?
42507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42508 (exit $ac_status); }; }; then
42509 ac_cv_func_pthread_attr_setstacksize=yes
42510 else
42511 echo "$as_me: failed program was:" >&5
42512 sed 's/^/| /' conftest.$ac_ext >&5
42513
42514 ac_cv_func_pthread_attr_setstacksize=no
42515 fi
42516 rm -f conftest.err conftest.$ac_objext \
42517 conftest$ac_exeext conftest.$ac_ext
42518 fi
42519 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42520 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
42521 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42522 cat >>confdefs.h <<\_ACEOF
42523 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42524 _ACEOF
42525
42526 fi
42527
42528
42529
42530 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42531 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
42532 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42533 echo $ECHO_N "(cached) $ECHO_C" >&6
42534 else
42535
42536 cat >conftest.$ac_ext <<_ACEOF
42537 /* confdefs.h. */
42538 _ACEOF
42539 cat confdefs.h >>conftest.$ac_ext
42540 cat >>conftest.$ac_ext <<_ACEOF
42541 /* end confdefs.h. */
42542 #include <pthread.h>
42543 int
42544 main ()
42545 {
42546
42547 pthread_mutexattr_t attr;
42548 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42549
42550 ;
42551 return 0;
42552 }
42553 _ACEOF
42554 rm -f conftest.$ac_objext
42555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42556 (eval $ac_compile) 2>conftest.er1
42557 ac_status=$?
42558 grep -v '^ *+' conftest.er1 >conftest.err
42559 rm -f conftest.er1
42560 cat conftest.err >&5
42561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42562 (exit $ac_status); } &&
42563 { ac_try='test -z "$ac_c_werror_flag"
42564 || test ! -s conftest.err'
42565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42566 (eval $ac_try) 2>&5
42567 ac_status=$?
42568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42569 (exit $ac_status); }; } &&
42570 { ac_try='test -s conftest.$ac_objext'
42571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42572 (eval $ac_try) 2>&5
42573 ac_status=$?
42574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42575 (exit $ac_status); }; }; then
42576 wx_cv_type_pthread_mutexattr_t=yes
42577 else
42578 echo "$as_me: failed program was:" >&5
42579 sed 's/^/| /' conftest.$ac_ext >&5
42580
42581 wx_cv_type_pthread_mutexattr_t=no
42582
42583 fi
42584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42585
42586 fi
42587 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42588 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
42589
42590 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42591 cat >>confdefs.h <<\_ACEOF
42592 #define HAVE_PTHREAD_MUTEXATTR_T 1
42593 _ACEOF
42594
42595
42596 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42597 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
42598 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42599 echo $ECHO_N "(cached) $ECHO_C" >&6
42600 else
42601
42602 cat >conftest.$ac_ext <<_ACEOF
42603 /* confdefs.h. */
42604 _ACEOF
42605 cat confdefs.h >>conftest.$ac_ext
42606 cat >>conftest.$ac_ext <<_ACEOF
42607 /* end confdefs.h. */
42608 #include <pthread.h>
42609 int
42610 main ()
42611 {
42612
42613 pthread_mutexattr_t attr;
42614 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42615
42616 ;
42617 return 0;
42618 }
42619 _ACEOF
42620 rm -f conftest.$ac_objext
42621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42622 (eval $ac_compile) 2>conftest.er1
42623 ac_status=$?
42624 grep -v '^ *+' conftest.er1 >conftest.err
42625 rm -f conftest.er1
42626 cat conftest.err >&5
42627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42628 (exit $ac_status); } &&
42629 { ac_try='test -z "$ac_c_werror_flag"
42630 || test ! -s conftest.err'
42631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42632 (eval $ac_try) 2>&5
42633 ac_status=$?
42634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42635 (exit $ac_status); }; } &&
42636 { ac_try='test -s conftest.$ac_objext'
42637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42638 (eval $ac_try) 2>&5
42639 ac_status=$?
42640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42641 (exit $ac_status); }; }; then
42642 wx_cv_func_pthread_mutexattr_settype_decl=yes
42643 else
42644 echo "$as_me: failed program was:" >&5
42645 sed 's/^/| /' conftest.$ac_ext >&5
42646
42647 wx_cv_func_pthread_mutexattr_settype_decl=no
42648
42649 fi
42650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42651
42652 fi
42653 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42654 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
42655 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42656 cat >>confdefs.h <<\_ACEOF
42657 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42658 _ACEOF
42659
42660 fi
42661 else
42662 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42663 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
42664 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42665 echo $ECHO_N "(cached) $ECHO_C" >&6
42666 else
42667
42668 cat >conftest.$ac_ext <<_ACEOF
42669 /* confdefs.h. */
42670 _ACEOF
42671 cat confdefs.h >>conftest.$ac_ext
42672 cat >>conftest.$ac_ext <<_ACEOF
42673 /* end confdefs.h. */
42674 #include <pthread.h>
42675 int
42676 main ()
42677 {
42678
42679 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42680
42681 ;
42682 return 0;
42683 }
42684 _ACEOF
42685 rm -f conftest.$ac_objext
42686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42687 (eval $ac_compile) 2>conftest.er1
42688 ac_status=$?
42689 grep -v '^ *+' conftest.er1 >conftest.err
42690 rm -f conftest.er1
42691 cat conftest.err >&5
42692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42693 (exit $ac_status); } &&
42694 { ac_try='test -z "$ac_c_werror_flag"
42695 || 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
42708 wx_cv_type_pthread_rec_mutex_init=yes
42709
42710 else
42711 echo "$as_me: failed program was:" >&5
42712 sed 's/^/| /' conftest.$ac_ext >&5
42713
42714
42715 wx_cv_type_pthread_rec_mutex_init=no
42716
42717
42718 fi
42719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42720
42721 fi
42722 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42723 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
42724 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42725 cat >>confdefs.h <<\_ACEOF
42726 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42727 _ACEOF
42728
42729 else
42730 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42731 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42732 fi
42733 fi
42734 fi
42735
42736 else
42737 if test "$wxUSE_THREADS" = "yes" ; then
42738 case "${host}" in
42739 *-*-mingw32* )
42740 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42741 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
42742 if test "${wx_cv_cflags_mthread+set}" = set; then
42743 echo $ECHO_N "(cached) $ECHO_C" >&6
42744 else
42745
42746 CFLAGS_OLD="$CFLAGS"
42747 CFLAGS="-mthreads $CFLAGS"
42748 cat >conftest.$ac_ext <<_ACEOF
42749 /* confdefs.h. */
42750 _ACEOF
42751 cat confdefs.h >>conftest.$ac_ext
42752 cat >>conftest.$ac_ext <<_ACEOF
42753 /* end confdefs.h. */
42754
42755 int
42756 main ()
42757 {
42758
42759 ;
42760 return 0;
42761 }
42762 _ACEOF
42763 rm -f conftest.$ac_objext
42764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42765 (eval $ac_compile) 2>conftest.er1
42766 ac_status=$?
42767 grep -v '^ *+' conftest.er1 >conftest.err
42768 rm -f conftest.er1
42769 cat conftest.err >&5
42770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42771 (exit $ac_status); } &&
42772 { ac_try='test -z "$ac_c_werror_flag"
42773 || test ! -s conftest.err'
42774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42775 (eval $ac_try) 2>&5
42776 ac_status=$?
42777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42778 (exit $ac_status); }; } &&
42779 { ac_try='test -s conftest.$ac_objext'
42780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42781 (eval $ac_try) 2>&5
42782 ac_status=$?
42783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42784 (exit $ac_status); }; }; then
42785 wx_cv_cflags_mthread=yes
42786 else
42787 echo "$as_me: failed program was:" >&5
42788 sed 's/^/| /' conftest.$ac_ext >&5
42789
42790 wx_cv_cflags_mthread=no
42791
42792 fi
42793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42794
42795
42796 fi
42797 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42798 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
42799
42800 if test "$wx_cv_cflags_mthread" = "yes"; then
42801 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42802 LDFLAGS="$LDFLAGS -mthreads"
42803 else
42804 CFLAGS="$CFLAGS_OLD"
42805 fi
42806 ;;
42807 *-pc-os2*emx )
42808 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42809 LDFLAGS="$LDFLAGS -Zmt"
42810 ;;
42811 esac
42812 fi
42813 fi
42814
42815 echo "$as_me:$LINENO: checking for localtime_r" >&5
42816 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
42817 if test "${ac_cv_func_localtime_r+set}" = set; then
42818 echo $ECHO_N "(cached) $ECHO_C" >&6
42819 else
42820 cat >conftest.$ac_ext <<_ACEOF
42821 /* confdefs.h. */
42822 _ACEOF
42823 cat confdefs.h >>conftest.$ac_ext
42824 cat >>conftest.$ac_ext <<_ACEOF
42825 /* end confdefs.h. */
42826 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42828 #define localtime_r innocuous_localtime_r
42829
42830 /* System header to define __stub macros and hopefully few prototypes,
42831 which can conflict with char localtime_r (); below.
42832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42833 <limits.h> exists even on freestanding compilers. */
42834
42835 #ifdef __STDC__
42836 # include <limits.h>
42837 #else
42838 # include <assert.h>
42839 #endif
42840
42841 #undef localtime_r
42842
42843 /* Override any gcc2 internal prototype to avoid an error. */
42844 #ifdef __cplusplus
42845 extern "C"
42846 {
42847 #endif
42848 /* We use char because int might match the return type of a gcc2
42849 builtin and then its argument prototype would still apply. */
42850 char localtime_r ();
42851 /* The GNU C library defines this for functions which it implements
42852 to always fail with ENOSYS. Some functions are actually named
42853 something starting with __ and the normal name is an alias. */
42854 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
42855 choke me
42856 #else
42857 char (*f) () = localtime_r;
42858 #endif
42859 #ifdef __cplusplus
42860 }
42861 #endif
42862
42863 int
42864 main ()
42865 {
42866 return f != localtime_r;
42867 ;
42868 return 0;
42869 }
42870 _ACEOF
42871 rm -f conftest.$ac_objext conftest$ac_exeext
42872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42873 (eval $ac_link) 2>conftest.er1
42874 ac_status=$?
42875 grep -v '^ *+' conftest.er1 >conftest.err
42876 rm -f conftest.er1
42877 cat conftest.err >&5
42878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42879 (exit $ac_status); } &&
42880 { ac_try='test -z "$ac_c_werror_flag"
42881 || test ! -s conftest.err'
42882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42883 (eval $ac_try) 2>&5
42884 ac_status=$?
42885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42886 (exit $ac_status); }; } &&
42887 { ac_try='test -s conftest$ac_exeext'
42888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42889 (eval $ac_try) 2>&5
42890 ac_status=$?
42891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42892 (exit $ac_status); }; }; then
42893 ac_cv_func_localtime_r=yes
42894 else
42895 echo "$as_me: failed program was:" >&5
42896 sed 's/^/| /' conftest.$ac_ext >&5
42897
42898 ac_cv_func_localtime_r=no
42899 fi
42900 rm -f conftest.err conftest.$ac_objext \
42901 conftest$ac_exeext conftest.$ac_ext
42902 fi
42903 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42904 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
42905 if test $ac_cv_func_localtime_r = yes; then
42906 cat >>confdefs.h <<\_ACEOF
42907 #define HAVE_LOCALTIME_R 1
42908 _ACEOF
42909
42910 fi
42911
42912 echo "$as_me:$LINENO: checking for gmtime_r" >&5
42913 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
42914 if test "${ac_cv_func_gmtime_r+set}" = set; then
42915 echo $ECHO_N "(cached) $ECHO_C" >&6
42916 else
42917 cat >conftest.$ac_ext <<_ACEOF
42918 /* confdefs.h. */
42919 _ACEOF
42920 cat confdefs.h >>conftest.$ac_ext
42921 cat >>conftest.$ac_ext <<_ACEOF
42922 /* end confdefs.h. */
42923 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42925 #define gmtime_r innocuous_gmtime_r
42926
42927 /* System header to define __stub macros and hopefully few prototypes,
42928 which can conflict with char gmtime_r (); below.
42929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42930 <limits.h> exists even on freestanding compilers. */
42931
42932 #ifdef __STDC__
42933 # include <limits.h>
42934 #else
42935 # include <assert.h>
42936 #endif
42937
42938 #undef gmtime_r
42939
42940 /* Override any gcc2 internal prototype to avoid an error. */
42941 #ifdef __cplusplus
42942 extern "C"
42943 {
42944 #endif
42945 /* We use char because int might match the return type of a gcc2
42946 builtin and then its argument prototype would still apply. */
42947 char gmtime_r ();
42948 /* The GNU C library defines this for functions which it implements
42949 to always fail with ENOSYS. Some functions are actually named
42950 something starting with __ and the normal name is an alias. */
42951 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
42952 choke me
42953 #else
42954 char (*f) () = gmtime_r;
42955 #endif
42956 #ifdef __cplusplus
42957 }
42958 #endif
42959
42960 int
42961 main ()
42962 {
42963 return f != gmtime_r;
42964 ;
42965 return 0;
42966 }
42967 _ACEOF
42968 rm -f conftest.$ac_objext conftest$ac_exeext
42969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42970 (eval $ac_link) 2>conftest.er1
42971 ac_status=$?
42972 grep -v '^ *+' conftest.er1 >conftest.err
42973 rm -f conftest.er1
42974 cat conftest.err >&5
42975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42976 (exit $ac_status); } &&
42977 { ac_try='test -z "$ac_c_werror_flag"
42978 || test ! -s conftest.err'
42979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42980 (eval $ac_try) 2>&5
42981 ac_status=$?
42982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42983 (exit $ac_status); }; } &&
42984 { ac_try='test -s conftest$ac_exeext'
42985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42986 (eval $ac_try) 2>&5
42987 ac_status=$?
42988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42989 (exit $ac_status); }; }; then
42990 ac_cv_func_gmtime_r=yes
42991 else
42992 echo "$as_me: failed program was:" >&5
42993 sed 's/^/| /' conftest.$ac_ext >&5
42994
42995 ac_cv_func_gmtime_r=no
42996 fi
42997 rm -f conftest.err conftest.$ac_objext \
42998 conftest$ac_exeext conftest.$ac_ext
42999 fi
43000 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
43001 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
43002 if test $ac_cv_func_gmtime_r = yes; then
43003 cat >>confdefs.h <<\_ACEOF
43004 #define HAVE_GMTIME_R 1
43005 _ACEOF
43006
43007 fi
43008
43009 echo "$as_me:$LINENO: checking for readdir_r" >&5
43010 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
43011 if test "${ac_cv_func_readdir_r+set}" = set; then
43012 echo $ECHO_N "(cached) $ECHO_C" >&6
43013 else
43014 cat >conftest.$ac_ext <<_ACEOF
43015 /* confdefs.h. */
43016 _ACEOF
43017 cat confdefs.h >>conftest.$ac_ext
43018 cat >>conftest.$ac_ext <<_ACEOF
43019 /* end confdefs.h. */
43020 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43022 #define readdir_r innocuous_readdir_r
43023
43024 /* System header to define __stub macros and hopefully few prototypes,
43025 which can conflict with char readdir_r (); below.
43026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43027 <limits.h> exists even on freestanding compilers. */
43028
43029 #ifdef __STDC__
43030 # include <limits.h>
43031 #else
43032 # include <assert.h>
43033 #endif
43034
43035 #undef readdir_r
43036
43037 /* Override any gcc2 internal prototype to avoid an error. */
43038 #ifdef __cplusplus
43039 extern "C"
43040 {
43041 #endif
43042 /* We use char because int might match the return type of a gcc2
43043 builtin and then its argument prototype would still apply. */
43044 char readdir_r ();
43045 /* The GNU C library defines this for functions which it implements
43046 to always fail with ENOSYS. Some functions are actually named
43047 something starting with __ and the normal name is an alias. */
43048 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
43049 choke me
43050 #else
43051 char (*f) () = readdir_r;
43052 #endif
43053 #ifdef __cplusplus
43054 }
43055 #endif
43056
43057 int
43058 main ()
43059 {
43060 return f != readdir_r;
43061 ;
43062 return 0;
43063 }
43064 _ACEOF
43065 rm -f conftest.$ac_objext conftest$ac_exeext
43066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43067 (eval $ac_link) 2>conftest.er1
43068 ac_status=$?
43069 grep -v '^ *+' conftest.er1 >conftest.err
43070 rm -f conftest.er1
43071 cat conftest.err >&5
43072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43073 (exit $ac_status); } &&
43074 { ac_try='test -z "$ac_c_werror_flag"
43075 || test ! -s conftest.err'
43076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43077 (eval $ac_try) 2>&5
43078 ac_status=$?
43079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43080 (exit $ac_status); }; } &&
43081 { ac_try='test -s conftest$ac_exeext'
43082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43083 (eval $ac_try) 2>&5
43084 ac_status=$?
43085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43086 (exit $ac_status); }; }; then
43087 ac_cv_func_readdir_r=yes
43088 else
43089 echo "$as_me: failed program was:" >&5
43090 sed 's/^/| /' conftest.$ac_ext >&5
43091
43092 ac_cv_func_readdir_r=no
43093 fi
43094 rm -f conftest.err conftest.$ac_objext \
43095 conftest$ac_exeext conftest.$ac_ext
43096 fi
43097 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43098 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
43099 if test $ac_cv_func_readdir_r = yes; then
43100 cat >>confdefs.h <<\_ACEOF
43101 #define HAVE_READDIR_R 1
43102 _ACEOF
43103
43104 fi
43105
43106
43107
43108
43109 ac_ext=c
43110 ac_cpp='$CPP $CPPFLAGS'
43111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43114
43115 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43116 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
43117
43118 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43119 echo $ECHO_N "(cached) $ECHO_C" >&6
43120 else
43121
43122
43123 ################################################################
43124
43125 ac_cv_func_which_gethostbyname_r=unknown
43126
43127 #
43128 # ONE ARGUMENT (sanity check)
43129 #
43130
43131 # This should fail, as there is no variant of gethostbyname_r() that takes
43132 # a single argument. If it actually compiles, then we can assume that
43133 # netdb.h is not declaring the function, and the compiler is thereby
43134 # assuming an implicit prototype. In which case, we're out of luck.
43135 #
43136 cat >conftest.$ac_ext <<_ACEOF
43137 /* confdefs.h. */
43138 _ACEOF
43139 cat confdefs.h >>conftest.$ac_ext
43140 cat >>conftest.$ac_ext <<_ACEOF
43141 /* end confdefs.h. */
43142 #include <netdb.h>
43143 int
43144 main ()
43145 {
43146
43147 char *name = "www.gnu.org";
43148 (void)gethostbyname_r(name) /* ; */
43149
43150 ;
43151 return 0;
43152 }
43153 _ACEOF
43154 rm -f conftest.$ac_objext
43155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43156 (eval $ac_compile) 2>conftest.er1
43157 ac_status=$?
43158 grep -v '^ *+' conftest.er1 >conftest.err
43159 rm -f conftest.er1
43160 cat conftest.err >&5
43161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43162 (exit $ac_status); } &&
43163 { ac_try='test -z "$ac_c_werror_flag"
43164 || test ! -s conftest.err'
43165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43166 (eval $ac_try) 2>&5
43167 ac_status=$?
43168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43169 (exit $ac_status); }; } &&
43170 { ac_try='test -s conftest.$ac_objext'
43171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43172 (eval $ac_try) 2>&5
43173 ac_status=$?
43174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43175 (exit $ac_status); }; }; then
43176 ac_cv_func_which_gethostbyname_r=no
43177 else
43178 echo "$as_me: failed program was:" >&5
43179 sed 's/^/| /' conftest.$ac_ext >&5
43180
43181 fi
43182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43183
43184 #
43185 # SIX ARGUMENTS
43186 # (e.g. Linux)
43187 #
43188
43189 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43190
43191 cat >conftest.$ac_ext <<_ACEOF
43192 /* confdefs.h. */
43193 _ACEOF
43194 cat confdefs.h >>conftest.$ac_ext
43195 cat >>conftest.$ac_ext <<_ACEOF
43196 /* end confdefs.h. */
43197 #include <netdb.h>
43198 int
43199 main ()
43200 {
43201
43202 char *name = "www.gnu.org";
43203 struct hostent ret, *retp;
43204 char buf[1024];
43205 int buflen = 1024;
43206 int my_h_errno;
43207 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43208
43209 ;
43210 return 0;
43211 }
43212 _ACEOF
43213 rm -f conftest.$ac_objext
43214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43215 (eval $ac_compile) 2>conftest.er1
43216 ac_status=$?
43217 grep -v '^ *+' conftest.er1 >conftest.err
43218 rm -f conftest.er1
43219 cat conftest.err >&5
43220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43221 (exit $ac_status); } &&
43222 { ac_try='test -z "$ac_c_werror_flag"
43223 || test ! -s conftest.err'
43224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43225 (eval $ac_try) 2>&5
43226 ac_status=$?
43227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43228 (exit $ac_status); }; } &&
43229 { ac_try='test -s conftest.$ac_objext'
43230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43231 (eval $ac_try) 2>&5
43232 ac_status=$?
43233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43234 (exit $ac_status); }; }; then
43235 ac_cv_func_which_gethostbyname_r=six
43236 else
43237 echo "$as_me: failed program was:" >&5
43238 sed 's/^/| /' conftest.$ac_ext >&5
43239
43240 fi
43241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43242
43243 fi
43244
43245 #
43246 # FIVE ARGUMENTS
43247 # (e.g. Solaris)
43248 #
43249
43250 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43251
43252 cat >conftest.$ac_ext <<_ACEOF
43253 /* confdefs.h. */
43254 _ACEOF
43255 cat confdefs.h >>conftest.$ac_ext
43256 cat >>conftest.$ac_ext <<_ACEOF
43257 /* end confdefs.h. */
43258 #include <netdb.h>
43259 int
43260 main ()
43261 {
43262
43263 char *name = "www.gnu.org";
43264 struct hostent ret;
43265 char buf[1024];
43266 int buflen = 1024;
43267 int my_h_errno;
43268 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43269
43270 ;
43271 return 0;
43272 }
43273 _ACEOF
43274 rm -f conftest.$ac_objext
43275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43276 (eval $ac_compile) 2>conftest.er1
43277 ac_status=$?
43278 grep -v '^ *+' conftest.er1 >conftest.err
43279 rm -f conftest.er1
43280 cat conftest.err >&5
43281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43282 (exit $ac_status); } &&
43283 { ac_try='test -z "$ac_c_werror_flag"
43284 || test ! -s conftest.err'
43285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43286 (eval $ac_try) 2>&5
43287 ac_status=$?
43288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43289 (exit $ac_status); }; } &&
43290 { ac_try='test -s conftest.$ac_objext'
43291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43292 (eval $ac_try) 2>&5
43293 ac_status=$?
43294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43295 (exit $ac_status); }; }; then
43296 ac_cv_func_which_gethostbyname_r=five
43297 else
43298 echo "$as_me: failed program was:" >&5
43299 sed 's/^/| /' conftest.$ac_ext >&5
43300
43301 fi
43302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43303
43304 fi
43305
43306 #
43307 # THREE ARGUMENTS
43308 # (e.g. AIX, HP-UX, Tru64)
43309 #
43310
43311 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43312
43313 cat >conftest.$ac_ext <<_ACEOF
43314 /* confdefs.h. */
43315 _ACEOF
43316 cat confdefs.h >>conftest.$ac_ext
43317 cat >>conftest.$ac_ext <<_ACEOF
43318 /* end confdefs.h. */
43319 #include <netdb.h>
43320 int
43321 main ()
43322 {
43323
43324 char *name = "www.gnu.org";
43325 struct hostent ret;
43326 struct hostent_data data;
43327 (void)gethostbyname_r(name, &ret, &data) /* ; */
43328
43329 ;
43330 return 0;
43331 }
43332 _ACEOF
43333 rm -f conftest.$ac_objext
43334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43335 (eval $ac_compile) 2>conftest.er1
43336 ac_status=$?
43337 grep -v '^ *+' conftest.er1 >conftest.err
43338 rm -f conftest.er1
43339 cat conftest.err >&5
43340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43341 (exit $ac_status); } &&
43342 { ac_try='test -z "$ac_c_werror_flag"
43343 || test ! -s conftest.err'
43344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43345 (eval $ac_try) 2>&5
43346 ac_status=$?
43347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43348 (exit $ac_status); }; } &&
43349 { ac_try='test -s conftest.$ac_objext'
43350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43351 (eval $ac_try) 2>&5
43352 ac_status=$?
43353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43354 (exit $ac_status); }; }; then
43355 ac_cv_func_which_gethostbyname_r=three
43356 else
43357 echo "$as_me: failed program was:" >&5
43358 sed 's/^/| /' conftest.$ac_ext >&5
43359
43360 fi
43361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43362
43363 fi
43364
43365 ################################################################
43366
43367
43368 fi
43369
43370 case "$ac_cv_func_which_gethostbyname_r" in
43371 three)
43372 echo "$as_me:$LINENO: result: three" >&5
43373 echo "${ECHO_T}three" >&6
43374 cat >>confdefs.h <<\_ACEOF
43375 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43376 _ACEOF
43377
43378 ;;
43379
43380 five)
43381 echo "$as_me:$LINENO: result: five" >&5
43382 echo "${ECHO_T}five" >&6
43383 cat >>confdefs.h <<\_ACEOF
43384 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43385 _ACEOF
43386
43387 ;;
43388
43389 six)
43390 echo "$as_me:$LINENO: result: six" >&5
43391 echo "${ECHO_T}six" >&6
43392 cat >>confdefs.h <<\_ACEOF
43393 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43394 _ACEOF
43395
43396 ;;
43397
43398 no)
43399 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43400 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
43401 ;;
43402
43403 unknown)
43404 echo "$as_me:$LINENO: result: can't tell" >&5
43405 echo "${ECHO_T}can't tell" >&6
43406 ;;
43407
43408 *)
43409 { { echo "$as_me:$LINENO: error: internal error" >&5
43410 echo "$as_me: error: internal error" >&2;}
43411 { (exit 1); exit 1; }; }
43412 ;;
43413 esac
43414
43415 ac_ext=c
43416 ac_cpp='$CPP $CPPFLAGS'
43417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43420
43421
43422
43423 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43424 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43425 echo "$as_me:$LINENO: checking for gethostbyname" >&5
43426 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
43427 if test "${ac_cv_func_gethostbyname+set}" = set; then
43428 echo $ECHO_N "(cached) $ECHO_C" >&6
43429 else
43430 cat >conftest.$ac_ext <<_ACEOF
43431 /* confdefs.h. */
43432 _ACEOF
43433 cat confdefs.h >>conftest.$ac_ext
43434 cat >>conftest.$ac_ext <<_ACEOF
43435 /* end confdefs.h. */
43436 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43437 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43438 #define gethostbyname innocuous_gethostbyname
43439
43440 /* System header to define __stub macros and hopefully few prototypes,
43441 which can conflict with char gethostbyname (); below.
43442 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43443 <limits.h> exists even on freestanding compilers. */
43444
43445 #ifdef __STDC__
43446 # include <limits.h>
43447 #else
43448 # include <assert.h>
43449 #endif
43450
43451 #undef gethostbyname
43452
43453 /* Override any gcc2 internal prototype to avoid an error. */
43454 #ifdef __cplusplus
43455 extern "C"
43456 {
43457 #endif
43458 /* We use char because int might match the return type of a gcc2
43459 builtin and then its argument prototype would still apply. */
43460 char gethostbyname ();
43461 /* The GNU C library defines this for functions which it implements
43462 to always fail with ENOSYS. Some functions are actually named
43463 something starting with __ and the normal name is an alias. */
43464 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
43465 choke me
43466 #else
43467 char (*f) () = gethostbyname;
43468 #endif
43469 #ifdef __cplusplus
43470 }
43471 #endif
43472
43473 int
43474 main ()
43475 {
43476 return f != gethostbyname;
43477 ;
43478 return 0;
43479 }
43480 _ACEOF
43481 rm -f conftest.$ac_objext conftest$ac_exeext
43482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43483 (eval $ac_link) 2>conftest.er1
43484 ac_status=$?
43485 grep -v '^ *+' conftest.er1 >conftest.err
43486 rm -f conftest.er1
43487 cat conftest.err >&5
43488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43489 (exit $ac_status); } &&
43490 { ac_try='test -z "$ac_c_werror_flag"
43491 || test ! -s conftest.err'
43492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43493 (eval $ac_try) 2>&5
43494 ac_status=$?
43495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43496 (exit $ac_status); }; } &&
43497 { ac_try='test -s conftest$ac_exeext'
43498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43499 (eval $ac_try) 2>&5
43500 ac_status=$?
43501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43502 (exit $ac_status); }; }; then
43503 ac_cv_func_gethostbyname=yes
43504 else
43505 echo "$as_me: failed program was:" >&5
43506 sed 's/^/| /' conftest.$ac_ext >&5
43507
43508 ac_cv_func_gethostbyname=no
43509 fi
43510 rm -f conftest.err conftest.$ac_objext \
43511 conftest$ac_exeext conftest.$ac_ext
43512 fi
43513 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43514 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
43515 if test $ac_cv_func_gethostbyname = yes; then
43516 cat >>confdefs.h <<\_ACEOF
43517 #define HAVE_GETHOSTBYNAME 1
43518 _ACEOF
43519
43520 fi
43521
43522 fi
43523
43524 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43525 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
43526 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43527 echo $ECHO_N "(cached) $ECHO_C" >&6
43528 else
43529
43530 ac_ext=cc
43531 ac_cpp='$CXXCPP $CPPFLAGS'
43532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43535
43536
43537 cat >conftest.$ac_ext <<_ACEOF
43538 /* confdefs.h. */
43539 _ACEOF
43540 cat confdefs.h >>conftest.$ac_ext
43541 cat >>conftest.$ac_ext <<_ACEOF
43542 /* end confdefs.h. */
43543 #include <netdb.h>
43544 int
43545 main ()
43546 {
43547
43548 char *name;
43549 char *proto;
43550 struct servent *se, *res;
43551 char buffer[2048];
43552 int buflen = 2048;
43553 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43554
43555 ;
43556 return 0;
43557 }
43558 _ACEOF
43559 rm -f conftest.$ac_objext
43560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43561 (eval $ac_compile) 2>conftest.er1
43562 ac_status=$?
43563 grep -v '^ *+' conftest.er1 >conftest.err
43564 rm -f conftest.er1
43565 cat conftest.err >&5
43566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43567 (exit $ac_status); } &&
43568 { ac_try='test -z "$ac_cxx_werror_flag"
43569 || test ! -s conftest.err'
43570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43571 (eval $ac_try) 2>&5
43572 ac_status=$?
43573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43574 (exit $ac_status); }; } &&
43575 { ac_try='test -s conftest.$ac_objext'
43576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43577 (eval $ac_try) 2>&5
43578 ac_status=$?
43579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43580 (exit $ac_status); }; }; then
43581 ac_cv_func_which_getservbyname_r=six
43582 else
43583 echo "$as_me: failed program was:" >&5
43584 sed 's/^/| /' conftest.$ac_ext >&5
43585
43586
43587 cat >conftest.$ac_ext <<_ACEOF
43588 /* confdefs.h. */
43589 _ACEOF
43590 cat confdefs.h >>conftest.$ac_ext
43591 cat >>conftest.$ac_ext <<_ACEOF
43592 /* end confdefs.h. */
43593 #include <netdb.h>
43594 int
43595 main ()
43596 {
43597
43598 char *name;
43599 char *proto;
43600 struct servent *se;
43601 char buffer[2048];
43602 int buflen = 2048;
43603 (void) getservbyname_r(name, proto, se, buffer, buflen)
43604
43605 ;
43606 return 0;
43607 }
43608 _ACEOF
43609 rm -f conftest.$ac_objext
43610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43611 (eval $ac_compile) 2>conftest.er1
43612 ac_status=$?
43613 grep -v '^ *+' conftest.er1 >conftest.err
43614 rm -f conftest.er1
43615 cat conftest.err >&5
43616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43617 (exit $ac_status); } &&
43618 { ac_try='test -z "$ac_cxx_werror_flag"
43619 || test ! -s conftest.err'
43620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43621 (eval $ac_try) 2>&5
43622 ac_status=$?
43623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43624 (exit $ac_status); }; } &&
43625 { ac_try='test -s conftest.$ac_objext'
43626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43627 (eval $ac_try) 2>&5
43628 ac_status=$?
43629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43630 (exit $ac_status); }; }; then
43631 ac_cv_func_which_getservbyname_r=five
43632 else
43633 echo "$as_me: failed program was:" >&5
43634 sed 's/^/| /' conftest.$ac_ext >&5
43635
43636
43637 cat >conftest.$ac_ext <<_ACEOF
43638 /* confdefs.h. */
43639 _ACEOF
43640 cat confdefs.h >>conftest.$ac_ext
43641 cat >>conftest.$ac_ext <<_ACEOF
43642 /* end confdefs.h. */
43643 #include <netdb.h>
43644 int
43645 main ()
43646 {
43647
43648 char *name;
43649 char *proto;
43650 struct servent *se;
43651 struct servent_data data;
43652 (void) getservbyname_r(name, proto, se, &data);
43653
43654 ;
43655 return 0;
43656 }
43657 _ACEOF
43658 rm -f conftest.$ac_objext
43659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43660 (eval $ac_compile) 2>conftest.er1
43661 ac_status=$?
43662 grep -v '^ *+' conftest.er1 >conftest.err
43663 rm -f conftest.er1
43664 cat conftest.err >&5
43665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43666 (exit $ac_status); } &&
43667 { ac_try='test -z "$ac_cxx_werror_flag"
43668 || test ! -s conftest.err'
43669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43670 (eval $ac_try) 2>&5
43671 ac_status=$?
43672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43673 (exit $ac_status); }; } &&
43674 { ac_try='test -s conftest.$ac_objext'
43675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43676 (eval $ac_try) 2>&5
43677 ac_status=$?
43678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43679 (exit $ac_status); }; }; then
43680 ac_cv_func_which_getservbyname_r=four
43681 else
43682 echo "$as_me: failed program was:" >&5
43683 sed 's/^/| /' conftest.$ac_ext >&5
43684
43685 ac_cv_func_which_getservbyname_r=no
43686
43687 fi
43688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43689
43690
43691 fi
43692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43693
43694
43695 fi
43696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43697 ac_ext=c
43698 ac_cpp='$CPP $CPPFLAGS'
43699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43702
43703
43704
43705 fi
43706 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43707 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
43708
43709 if test $ac_cv_func_which_getservbyname_r = six; then
43710 cat >>confdefs.h <<\_ACEOF
43711 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43712 _ACEOF
43713
43714 elif test $ac_cv_func_which_getservbyname_r = five; then
43715 cat >>confdefs.h <<\_ACEOF
43716 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43717 _ACEOF
43718
43719 elif test $ac_cv_func_which_getservbyname_r = four; then
43720 cat >>confdefs.h <<\_ACEOF
43721 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43722 _ACEOF
43723
43724 fi
43725
43726
43727 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43728 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43729
43730 for ac_func in getservbyname
43731 do
43732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43733 echo "$as_me:$LINENO: checking for $ac_func" >&5
43734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43735 if eval "test \"\${$as_ac_var+set}\" = set"; then
43736 echo $ECHO_N "(cached) $ECHO_C" >&6
43737 else
43738 cat >conftest.$ac_ext <<_ACEOF
43739 /* confdefs.h. */
43740 _ACEOF
43741 cat confdefs.h >>conftest.$ac_ext
43742 cat >>conftest.$ac_ext <<_ACEOF
43743 /* end confdefs.h. */
43744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43746 #define $ac_func innocuous_$ac_func
43747
43748 /* System header to define __stub macros and hopefully few prototypes,
43749 which can conflict with char $ac_func (); below.
43750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43751 <limits.h> exists even on freestanding compilers. */
43752
43753 #ifdef __STDC__
43754 # include <limits.h>
43755 #else
43756 # include <assert.h>
43757 #endif
43758
43759 #undef $ac_func
43760
43761 /* Override any gcc2 internal prototype to avoid an error. */
43762 #ifdef __cplusplus
43763 extern "C"
43764 {
43765 #endif
43766 /* We use char because int might match the return type of a gcc2
43767 builtin and then its argument prototype would still apply. */
43768 char $ac_func ();
43769 /* The GNU C library defines this for functions which it implements
43770 to always fail with ENOSYS. Some functions are actually named
43771 something starting with __ and the normal name is an alias. */
43772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43773 choke me
43774 #else
43775 char (*f) () = $ac_func;
43776 #endif
43777 #ifdef __cplusplus
43778 }
43779 #endif
43780
43781 int
43782 main ()
43783 {
43784 return f != $ac_func;
43785 ;
43786 return 0;
43787 }
43788 _ACEOF
43789 rm -f conftest.$ac_objext conftest$ac_exeext
43790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43791 (eval $ac_link) 2>conftest.er1
43792 ac_status=$?
43793 grep -v '^ *+' conftest.er1 >conftest.err
43794 rm -f conftest.er1
43795 cat conftest.err >&5
43796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43797 (exit $ac_status); } &&
43798 { ac_try='test -z "$ac_c_werror_flag"
43799 || test ! -s conftest.err'
43800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43801 (eval $ac_try) 2>&5
43802 ac_status=$?
43803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43804 (exit $ac_status); }; } &&
43805 { ac_try='test -s conftest$ac_exeext'
43806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43807 (eval $ac_try) 2>&5
43808 ac_status=$?
43809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43810 (exit $ac_status); }; }; then
43811 eval "$as_ac_var=yes"
43812 else
43813 echo "$as_me: failed program was:" >&5
43814 sed 's/^/| /' conftest.$ac_ext >&5
43815
43816 eval "$as_ac_var=no"
43817 fi
43818 rm -f conftest.err conftest.$ac_objext \
43819 conftest$ac_exeext conftest.$ac_ext
43820 fi
43821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43823 if test `eval echo '${'$as_ac_var'}'` = yes; then
43824 cat >>confdefs.h <<_ACEOF
43825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43826 _ACEOF
43827 cat >>confdefs.h <<\_ACEOF
43828 #define HAVE_GETSERVBYNAME 1
43829 _ACEOF
43830
43831 fi
43832 done
43833
43834 fi
43835
43836 if test "$wxUSE_THREADS" = "yes"; then
43837 cat >>confdefs.h <<\_ACEOF
43838 #define wxUSE_THREADS 1
43839 _ACEOF
43840
43841
43842 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43843 else
43844 if test "$wx_cv_func_strtok_r" = "yes"; then
43845 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43846 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
43847 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43848 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43849 echo "$as_me:$LINENO: result: yes" >&5
43850 echo "${ECHO_T}yes" >&6
43851 else
43852 echo "$as_me:$LINENO: result: no" >&5
43853 echo "${ECHO_T}no" >&6
43854 fi
43855 fi
43856 fi
43857
43858 if test "$WXGTK20" = 1 ; then
43859 cat >>confdefs.h <<_ACEOF
43860 #define __WXGTK20__ $WXGTK20
43861 _ACEOF
43862
43863 WXGTK12=1
43864 fi
43865
43866 if test "$WXGTK12" = 1 ; then
43867 cat >>confdefs.h <<_ACEOF
43868 #define __WXGTK12__ $WXGTK12
43869 _ACEOF
43870
43871 fi
43872
43873 if test "$WXGTK127" = 1 ; then
43874 cat >>confdefs.h <<_ACEOF
43875 #define __WXGTK127__ $WXGTK127
43876 _ACEOF
43877
43878 fi
43879
43880 if test "$WXGPE" = 1 ; then
43881 cat >>confdefs.h <<_ACEOF
43882 #define __WXGPE__ $WXGPE
43883 _ACEOF
43884
43885 fi
43886
43887 DEBUG_CFLAGS=
43888 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43889 DEBUG_CFLAGS="-g"
43890 wxUSE_OPTIMISE=no
43891 fi
43892
43893 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43894 wxUSE_DEBUG_INFO=yes
43895 if test "$GCC" = yes; then
43896 DEBUG_CFLAGS="-ggdb"
43897 fi
43898 fi
43899
43900 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43901 cat >>confdefs.h <<\_ACEOF
43902 #define WXDEBUG 1
43903 _ACEOF
43904
43905 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43906 else
43907 if test "$wxUSE_GTK" = 1 ; then
43908 if test "x$wxGTK_VERSION" = "x1" ; then
43909 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43910 fi
43911 fi
43912 fi
43913
43914 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43915 cat >>confdefs.h <<\_ACEOF
43916 #define wxUSE_MEMORY_TRACING 1
43917 _ACEOF
43918
43919 cat >>confdefs.h <<\_ACEOF
43920 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43921 _ACEOF
43922
43923 cat >>confdefs.h <<\_ACEOF
43924 #define wxUSE_DEBUG_NEW_ALWAYS 1
43925 _ACEOF
43926
43927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43928 fi
43929
43930 if test "$wxUSE_DMALLOC" = "yes" ; then
43931 DMALLOC_LIBS="-ldmallocthcxx"
43932 fi
43933
43934 PROFILE_FLAGS=
43935 if test "$wxUSE_PROFILE" = "yes" ; then
43936 PROFILE_FLAGS=" -pg"
43937 fi
43938
43939 if test "$GCC" = "yes" ; then
43940 if test "$wxUSE_NO_RTTI" = "yes" ; then
43941 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43942 fi
43943 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43944 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43945 fi
43946 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43947 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43948 fi
43949
43950 case "${host}" in
43951 powerpc*-*-aix* )
43952 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43953 ;;
43954 *-hppa* )
43955 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43956 ;;
43957 esac
43958 fi
43959
43960 OPTIMISE_CFLAGS=
43961 if test "$wxUSE_OPTIMISE" = "no" ; then
43962 if test "$GCC" = yes ; then
43963 OPTIMISE_CFLAGS="-O0"
43964 fi
43965 else
43966 if test "$GCC" = yes ; then
43967 case "${host}" in
43968 *-pc-os2_emx | *-pc-os2-emx )
43969 OPTIMISE_CFLAGS="-O2"
43970 ;;
43971 *)
43972 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43973 ;;
43974 esac
43975 else
43976 OPTIMISE_CFLAGS="-O"
43977 fi
43978 fi
43979
43980
43981 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43982 cat >>confdefs.h <<\_ACEOF
43983 #define WXWIN_COMPATIBILITY_2_6 1
43984 _ACEOF
43985
43986
43987 WXWIN_COMPATIBILITY_2_8="yes"
43988 fi
43989
43990 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43991 cat >>confdefs.h <<\_ACEOF
43992 #define WXWIN_COMPATIBILITY_2_8 1
43993 _ACEOF
43994
43995 fi
43996
43997
43998 if test "$wxUSE_GUI" = "yes"; then
43999 cat >>confdefs.h <<\_ACEOF
44000 #define wxUSE_GUI 1
44001 _ACEOF
44002
44003
44004 fi
44005
44006
44007 if test "$wxUSE_UNIX" = "yes"; then
44008 cat >>confdefs.h <<\_ACEOF
44009 #define wxUSE_UNIX 1
44010 _ACEOF
44011
44012 fi
44013
44014
44015 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
44016
44017 HAVE_DL_FUNCS=0
44018 HAVE_SHL_FUNCS=0
44019 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44020 if test "$USE_DARWIN" = 1; then
44021 HAVE_DL_FUNCS=1
44022 elif test "$USE_DOS" = 1; then
44023 HAVE_DL_FUNCS=0
44024 else
44025
44026 for ac_func in dlopen
44027 do
44028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44029 echo "$as_me:$LINENO: checking for $ac_func" >&5
44030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44031 if eval "test \"\${$as_ac_var+set}\" = set"; then
44032 echo $ECHO_N "(cached) $ECHO_C" >&6
44033 else
44034 cat >conftest.$ac_ext <<_ACEOF
44035 /* confdefs.h. */
44036 _ACEOF
44037 cat confdefs.h >>conftest.$ac_ext
44038 cat >>conftest.$ac_ext <<_ACEOF
44039 /* end confdefs.h. */
44040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44042 #define $ac_func innocuous_$ac_func
44043
44044 /* System header to define __stub macros and hopefully few prototypes,
44045 which can conflict with char $ac_func (); below.
44046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44047 <limits.h> exists even on freestanding compilers. */
44048
44049 #ifdef __STDC__
44050 # include <limits.h>
44051 #else
44052 # include <assert.h>
44053 #endif
44054
44055 #undef $ac_func
44056
44057 /* Override any gcc2 internal prototype to avoid an error. */
44058 #ifdef __cplusplus
44059 extern "C"
44060 {
44061 #endif
44062 /* We use char because int might match the return type of a gcc2
44063 builtin and then its argument prototype would still apply. */
44064 char $ac_func ();
44065 /* The GNU C library defines this for functions which it implements
44066 to always fail with ENOSYS. Some functions are actually named
44067 something starting with __ and the normal name is an alias. */
44068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44069 choke me
44070 #else
44071 char (*f) () = $ac_func;
44072 #endif
44073 #ifdef __cplusplus
44074 }
44075 #endif
44076
44077 int
44078 main ()
44079 {
44080 return f != $ac_func;
44081 ;
44082 return 0;
44083 }
44084 _ACEOF
44085 rm -f conftest.$ac_objext conftest$ac_exeext
44086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44087 (eval $ac_link) 2>conftest.er1
44088 ac_status=$?
44089 grep -v '^ *+' conftest.er1 >conftest.err
44090 rm -f conftest.er1
44091 cat conftest.err >&5
44092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44093 (exit $ac_status); } &&
44094 { ac_try='test -z "$ac_c_werror_flag"
44095 || test ! -s conftest.err'
44096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44097 (eval $ac_try) 2>&5
44098 ac_status=$?
44099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44100 (exit $ac_status); }; } &&
44101 { ac_try='test -s conftest$ac_exeext'
44102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44103 (eval $ac_try) 2>&5
44104 ac_status=$?
44105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44106 (exit $ac_status); }; }; then
44107 eval "$as_ac_var=yes"
44108 else
44109 echo "$as_me: failed program was:" >&5
44110 sed 's/^/| /' conftest.$ac_ext >&5
44111
44112 eval "$as_ac_var=no"
44113 fi
44114 rm -f conftest.err conftest.$ac_objext \
44115 conftest$ac_exeext conftest.$ac_ext
44116 fi
44117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44119 if test `eval echo '${'$as_ac_var'}'` = yes; then
44120 cat >>confdefs.h <<_ACEOF
44121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44122 _ACEOF
44123
44124 cat >>confdefs.h <<\_ACEOF
44125 #define HAVE_DLOPEN 1
44126 _ACEOF
44127
44128 HAVE_DL_FUNCS=1
44129
44130 else
44131
44132 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44133 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
44134 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44135 echo $ECHO_N "(cached) $ECHO_C" >&6
44136 else
44137 ac_check_lib_save_LIBS=$LIBS
44138 LIBS="-ldl $LIBS"
44139 cat >conftest.$ac_ext <<_ACEOF
44140 /* confdefs.h. */
44141 _ACEOF
44142 cat confdefs.h >>conftest.$ac_ext
44143 cat >>conftest.$ac_ext <<_ACEOF
44144 /* end confdefs.h. */
44145
44146 /* Override any gcc2 internal prototype to avoid an error. */
44147 #ifdef __cplusplus
44148 extern "C"
44149 #endif
44150 /* We use char because int might match the return type of a gcc2
44151 builtin and then its argument prototype would still apply. */
44152 char dlopen ();
44153 int
44154 main ()
44155 {
44156 dlopen ();
44157 ;
44158 return 0;
44159 }
44160 _ACEOF
44161 rm -f conftest.$ac_objext conftest$ac_exeext
44162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44163 (eval $ac_link) 2>conftest.er1
44164 ac_status=$?
44165 grep -v '^ *+' conftest.er1 >conftest.err
44166 rm -f conftest.er1
44167 cat conftest.err >&5
44168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44169 (exit $ac_status); } &&
44170 { ac_try='test -z "$ac_c_werror_flag"
44171 || test ! -s conftest.err'
44172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44173 (eval $ac_try) 2>&5
44174 ac_status=$?
44175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44176 (exit $ac_status); }; } &&
44177 { ac_try='test -s conftest$ac_exeext'
44178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44179 (eval $ac_try) 2>&5
44180 ac_status=$?
44181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44182 (exit $ac_status); }; }; then
44183 ac_cv_lib_dl_dlopen=yes
44184 else
44185 echo "$as_me: failed program was:" >&5
44186 sed 's/^/| /' conftest.$ac_ext >&5
44187
44188 ac_cv_lib_dl_dlopen=no
44189 fi
44190 rm -f conftest.err conftest.$ac_objext \
44191 conftest$ac_exeext conftest.$ac_ext
44192 LIBS=$ac_check_lib_save_LIBS
44193 fi
44194 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44195 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
44196 if test $ac_cv_lib_dl_dlopen = yes; then
44197
44198 cat >>confdefs.h <<\_ACEOF
44199 #define HAVE_DLOPEN 1
44200 _ACEOF
44201
44202 HAVE_DL_FUNCS=1
44203 DL_LINK=" -ldl$DL_LINK"
44204
44205 else
44206
44207
44208 for ac_func in shl_load
44209 do
44210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44211 echo "$as_me:$LINENO: checking for $ac_func" >&5
44212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44213 if eval "test \"\${$as_ac_var+set}\" = set"; then
44214 echo $ECHO_N "(cached) $ECHO_C" >&6
44215 else
44216 cat >conftest.$ac_ext <<_ACEOF
44217 /* confdefs.h. */
44218 _ACEOF
44219 cat confdefs.h >>conftest.$ac_ext
44220 cat >>conftest.$ac_ext <<_ACEOF
44221 /* end confdefs.h. */
44222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44224 #define $ac_func innocuous_$ac_func
44225
44226 /* System header to define __stub macros and hopefully few prototypes,
44227 which can conflict with char $ac_func (); below.
44228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44229 <limits.h> exists even on freestanding compilers. */
44230
44231 #ifdef __STDC__
44232 # include <limits.h>
44233 #else
44234 # include <assert.h>
44235 #endif
44236
44237 #undef $ac_func
44238
44239 /* Override any gcc2 internal prototype to avoid an error. */
44240 #ifdef __cplusplus
44241 extern "C"
44242 {
44243 #endif
44244 /* We use char because int might match the return type of a gcc2
44245 builtin and then its argument prototype would still apply. */
44246 char $ac_func ();
44247 /* The GNU C library defines this for functions which it implements
44248 to always fail with ENOSYS. Some functions are actually named
44249 something starting with __ and the normal name is an alias. */
44250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44251 choke me
44252 #else
44253 char (*f) () = $ac_func;
44254 #endif
44255 #ifdef __cplusplus
44256 }
44257 #endif
44258
44259 int
44260 main ()
44261 {
44262 return f != $ac_func;
44263 ;
44264 return 0;
44265 }
44266 _ACEOF
44267 rm -f conftest.$ac_objext conftest$ac_exeext
44268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44269 (eval $ac_link) 2>conftest.er1
44270 ac_status=$?
44271 grep -v '^ *+' conftest.er1 >conftest.err
44272 rm -f conftest.er1
44273 cat conftest.err >&5
44274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44275 (exit $ac_status); } &&
44276 { ac_try='test -z "$ac_c_werror_flag"
44277 || test ! -s conftest.err'
44278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44279 (eval $ac_try) 2>&5
44280 ac_status=$?
44281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44282 (exit $ac_status); }; } &&
44283 { ac_try='test -s conftest$ac_exeext'
44284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44285 (eval $ac_try) 2>&5
44286 ac_status=$?
44287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44288 (exit $ac_status); }; }; then
44289 eval "$as_ac_var=yes"
44290 else
44291 echo "$as_me: failed program was:" >&5
44292 sed 's/^/| /' conftest.$ac_ext >&5
44293
44294 eval "$as_ac_var=no"
44295 fi
44296 rm -f conftest.err conftest.$ac_objext \
44297 conftest$ac_exeext conftest.$ac_ext
44298 fi
44299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44301 if test `eval echo '${'$as_ac_var'}'` = yes; then
44302 cat >>confdefs.h <<_ACEOF
44303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44304 _ACEOF
44305
44306 cat >>confdefs.h <<\_ACEOF
44307 #define HAVE_SHL_LOAD 1
44308 _ACEOF
44309
44310 HAVE_SHL_FUNCS=1
44311
44312 else
44313
44314 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44315 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
44316 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44317 echo $ECHO_N "(cached) $ECHO_C" >&6
44318 else
44319 ac_check_lib_save_LIBS=$LIBS
44320 LIBS="-lshl_load $LIBS"
44321 cat >conftest.$ac_ext <<_ACEOF
44322 /* confdefs.h. */
44323 _ACEOF
44324 cat confdefs.h >>conftest.$ac_ext
44325 cat >>conftest.$ac_ext <<_ACEOF
44326 /* end confdefs.h. */
44327
44328 /* Override any gcc2 internal prototype to avoid an error. */
44329 #ifdef __cplusplus
44330 extern "C"
44331 #endif
44332 /* We use char because int might match the return type of a gcc2
44333 builtin and then its argument prototype would still apply. */
44334 char dld ();
44335 int
44336 main ()
44337 {
44338 dld ();
44339 ;
44340 return 0;
44341 }
44342 _ACEOF
44343 rm -f conftest.$ac_objext conftest$ac_exeext
44344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44345 (eval $ac_link) 2>conftest.er1
44346 ac_status=$?
44347 grep -v '^ *+' conftest.er1 >conftest.err
44348 rm -f conftest.er1
44349 cat conftest.err >&5
44350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44351 (exit $ac_status); } &&
44352 { ac_try='test -z "$ac_c_werror_flag"
44353 || test ! -s conftest.err'
44354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44355 (eval $ac_try) 2>&5
44356 ac_status=$?
44357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44358 (exit $ac_status); }; } &&
44359 { ac_try='test -s conftest$ac_exeext'
44360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44361 (eval $ac_try) 2>&5
44362 ac_status=$?
44363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44364 (exit $ac_status); }; }; then
44365 ac_cv_lib_shl_load_dld=yes
44366 else
44367 echo "$as_me: failed program was:" >&5
44368 sed 's/^/| /' conftest.$ac_ext >&5
44369
44370 ac_cv_lib_shl_load_dld=no
44371 fi
44372 rm -f conftest.err conftest.$ac_objext \
44373 conftest$ac_exeext conftest.$ac_ext
44374 LIBS=$ac_check_lib_save_LIBS
44375 fi
44376 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44377 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
44378 if test $ac_cv_lib_shl_load_dld = yes; then
44379
44380 HAVE_SHL_FUNCS=1
44381 DL_LINK=" -ldld$DL_LINK"
44382
44383 fi
44384
44385
44386 fi
44387 done
44388
44389
44390 fi
44391
44392
44393 fi
44394 done
44395
44396
44397 if test "$HAVE_DL_FUNCS" = 1; then
44398
44399 for ac_func in dlerror
44400 do
44401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44402 echo "$as_me:$LINENO: checking for $ac_func" >&5
44403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44404 if eval "test \"\${$as_ac_var+set}\" = set"; then
44405 echo $ECHO_N "(cached) $ECHO_C" >&6
44406 else
44407 cat >conftest.$ac_ext <<_ACEOF
44408 /* confdefs.h. */
44409 _ACEOF
44410 cat confdefs.h >>conftest.$ac_ext
44411 cat >>conftest.$ac_ext <<_ACEOF
44412 /* end confdefs.h. */
44413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44414 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44415 #define $ac_func innocuous_$ac_func
44416
44417 /* System header to define __stub macros and hopefully few prototypes,
44418 which can conflict with char $ac_func (); below.
44419 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44420 <limits.h> exists even on freestanding compilers. */
44421
44422 #ifdef __STDC__
44423 # include <limits.h>
44424 #else
44425 # include <assert.h>
44426 #endif
44427
44428 #undef $ac_func
44429
44430 /* Override any gcc2 internal prototype to avoid an error. */
44431 #ifdef __cplusplus
44432 extern "C"
44433 {
44434 #endif
44435 /* We use char because int might match the return type of a gcc2
44436 builtin and then its argument prototype would still apply. */
44437 char $ac_func ();
44438 /* The GNU C library defines this for functions which it implements
44439 to always fail with ENOSYS. Some functions are actually named
44440 something starting with __ and the normal name is an alias. */
44441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44442 choke me
44443 #else
44444 char (*f) () = $ac_func;
44445 #endif
44446 #ifdef __cplusplus
44447 }
44448 #endif
44449
44450 int
44451 main ()
44452 {
44453 return f != $ac_func;
44454 ;
44455 return 0;
44456 }
44457 _ACEOF
44458 rm -f conftest.$ac_objext conftest$ac_exeext
44459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44460 (eval $ac_link) 2>conftest.er1
44461 ac_status=$?
44462 grep -v '^ *+' conftest.er1 >conftest.err
44463 rm -f conftest.er1
44464 cat conftest.err >&5
44465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44466 (exit $ac_status); } &&
44467 { ac_try='test -z "$ac_c_werror_flag"
44468 || test ! -s conftest.err'
44469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44470 (eval $ac_try) 2>&5
44471 ac_status=$?
44472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44473 (exit $ac_status); }; } &&
44474 { ac_try='test -s conftest$ac_exeext'
44475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44476 (eval $ac_try) 2>&5
44477 ac_status=$?
44478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44479 (exit $ac_status); }; }; then
44480 eval "$as_ac_var=yes"
44481 else
44482 echo "$as_me: failed program was:" >&5
44483 sed 's/^/| /' conftest.$ac_ext >&5
44484
44485 eval "$as_ac_var=no"
44486 fi
44487 rm -f conftest.err conftest.$ac_objext \
44488 conftest$ac_exeext conftest.$ac_ext
44489 fi
44490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44492 if test `eval echo '${'$as_ac_var'}'` = yes; then
44493 cat >>confdefs.h <<_ACEOF
44494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44495 _ACEOF
44496 cat >>confdefs.h <<\_ACEOF
44497 #define HAVE_DLERROR 1
44498 _ACEOF
44499
44500 else
44501
44502 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44503 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
44504 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44505 echo $ECHO_N "(cached) $ECHO_C" >&6
44506 else
44507 ac_check_lib_save_LIBS=$LIBS
44508 LIBS="-ldl $LIBS"
44509 cat >conftest.$ac_ext <<_ACEOF
44510 /* confdefs.h. */
44511 _ACEOF
44512 cat confdefs.h >>conftest.$ac_ext
44513 cat >>conftest.$ac_ext <<_ACEOF
44514 /* end confdefs.h. */
44515
44516 /* Override any gcc2 internal prototype to avoid an error. */
44517 #ifdef __cplusplus
44518 extern "C"
44519 #endif
44520 /* We use char because int might match the return type of a gcc2
44521 builtin and then its argument prototype would still apply. */
44522 char dlerror ();
44523 int
44524 main ()
44525 {
44526 dlerror ();
44527 ;
44528 return 0;
44529 }
44530 _ACEOF
44531 rm -f conftest.$ac_objext conftest$ac_exeext
44532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44533 (eval $ac_link) 2>conftest.er1
44534 ac_status=$?
44535 grep -v '^ *+' conftest.er1 >conftest.err
44536 rm -f conftest.er1
44537 cat conftest.err >&5
44538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44539 (exit $ac_status); } &&
44540 { ac_try='test -z "$ac_c_werror_flag"
44541 || test ! -s conftest.err'
44542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44543 (eval $ac_try) 2>&5
44544 ac_status=$?
44545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44546 (exit $ac_status); }; } &&
44547 { ac_try='test -s conftest$ac_exeext'
44548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44549 (eval $ac_try) 2>&5
44550 ac_status=$?
44551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44552 (exit $ac_status); }; }; then
44553 ac_cv_lib_dl_dlerror=yes
44554 else
44555 echo "$as_me: failed program was:" >&5
44556 sed 's/^/| /' conftest.$ac_ext >&5
44557
44558 ac_cv_lib_dl_dlerror=no
44559 fi
44560 rm -f conftest.err conftest.$ac_objext \
44561 conftest$ac_exeext conftest.$ac_ext
44562 LIBS=$ac_check_lib_save_LIBS
44563 fi
44564 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44565 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
44566 if test $ac_cv_lib_dl_dlerror = yes; then
44567 cat >>confdefs.h <<\_ACEOF
44568 #define HAVE_DLERROR 1
44569 _ACEOF
44570
44571 fi
44572
44573
44574
44575 fi
44576 done
44577
44578 fi
44579 fi
44580
44581 if test "$HAVE_DL_FUNCS" = 0; then
44582 if test "$HAVE_SHL_FUNCS" = 0; then
44583 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44584 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44585 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44586 wxUSE_DYNAMIC_LOADER=no
44587 wxUSE_DYNLIB_CLASS=no
44588 else
44589 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44590 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44591 fi
44592 fi
44593 fi
44594 fi
44595 fi
44596
44597 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44598 cat >>confdefs.h <<\_ACEOF
44599 #define wxUSE_DYNAMIC_LOADER 1
44600 _ACEOF
44601
44602 fi
44603 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44604 cat >>confdefs.h <<\_ACEOF
44605 #define wxUSE_DYNLIB_CLASS 1
44606 _ACEOF
44607
44608 fi
44609
44610
44611
44612 if test "$wxUSE_PLUGINS" = "yes" ; then
44613 if test "$wxUSE_SHARED" = "no" ; then
44614 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44615 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44616 wxUSE_PLUGINS=no
44617 fi
44618 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44619 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44620 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44621 wxUSE_PLUGINS=no
44622 fi
44623 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44624 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44625 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44626 wxUSE_PLUGINS=no
44627 fi
44628 if test "$wxUSE_PLUGINS" = "yes" ; then
44629 cat >>confdefs.h <<\_ACEOF
44630 #define wxUSE_PLUGINS 1
44631 _ACEOF
44632
44633 fi
44634 fi
44635
44636
44637 if test "$wxUSE_STL" = "yes"; then
44638 cat >>confdefs.h <<\_ACEOF
44639 #define wxUSE_STL 1
44640 _ACEOF
44641
44642 fi
44643
44644 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44645 cat >>confdefs.h <<\_ACEOF
44646 #define wxUSE_EXTENDED_RTTI 1
44647 _ACEOF
44648
44649 fi
44650
44651 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44652 cat >>confdefs.h <<\_ACEOF
44653 #define wxUSE_APPLE_IEEE 1
44654 _ACEOF
44655
44656 fi
44657
44658 if test "$wxUSE_TIMER" = "yes"; then
44659 cat >>confdefs.h <<\_ACEOF
44660 #define wxUSE_TIMER 1
44661 _ACEOF
44662
44663 fi
44664
44665 if test "$USE_UNIX" = "1" ; then
44666 if test "$wxUSE_MGL" != 1; then
44667 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44668 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
44669 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44670 echo $ECHO_N "(cached) $ECHO_C" >&6
44671 else
44672
44673 cat >conftest.$ac_ext <<_ACEOF
44674 /* confdefs.h. */
44675 _ACEOF
44676 cat confdefs.h >>conftest.$ac_ext
44677 cat >>conftest.$ac_ext <<_ACEOF
44678 /* end confdefs.h. */
44679
44680 #include <sys/ioctl.h>
44681 #include <sys/soundcard.h>
44682
44683 int
44684 main ()
44685 {
44686
44687 ioctl(0, SNDCTL_DSP_SPEED, 0);
44688
44689 ;
44690 return 0;
44691 }
44692 _ACEOF
44693 rm -f conftest.$ac_objext conftest$ac_exeext
44694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44695 (eval $ac_link) 2>conftest.er1
44696 ac_status=$?
44697 grep -v '^ *+' conftest.er1 >conftest.err
44698 rm -f conftest.er1
44699 cat conftest.err >&5
44700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44701 (exit $ac_status); } &&
44702 { ac_try='test -z "$ac_c_werror_flag"
44703 || test ! -s conftest.err'
44704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44705 (eval $ac_try) 2>&5
44706 ac_status=$?
44707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44708 (exit $ac_status); }; } &&
44709 { ac_try='test -s conftest$ac_exeext'
44710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44711 (eval $ac_try) 2>&5
44712 ac_status=$?
44713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44714 (exit $ac_status); }; }; then
44715 ac_cv_header_sys_soundcard=yes
44716 else
44717 echo "$as_me: failed program was:" >&5
44718 sed 's/^/| /' conftest.$ac_ext >&5
44719
44720
44721 saveLibs="$LIBS"
44722 LIBS="$saveLibs -lossaudio"
44723 cat >conftest.$ac_ext <<_ACEOF
44724 /* confdefs.h. */
44725 _ACEOF
44726 cat confdefs.h >>conftest.$ac_ext
44727 cat >>conftest.$ac_ext <<_ACEOF
44728 /* end confdefs.h. */
44729
44730 #include <sys/ioctl.h>
44731 #include <sys/soundcard.h>
44732
44733 int
44734 main ()
44735 {
44736
44737 ioctl(0, SNDCTL_DSP_SPEED, 0);
44738
44739 ;
44740 return 0;
44741 }
44742 _ACEOF
44743 rm -f conftest.$ac_objext conftest$ac_exeext
44744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44745 (eval $ac_link) 2>conftest.er1
44746 ac_status=$?
44747 grep -v '^ *+' conftest.er1 >conftest.err
44748 rm -f conftest.er1
44749 cat conftest.err >&5
44750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44751 (exit $ac_status); } &&
44752 { ac_try='test -z "$ac_c_werror_flag"
44753 || test ! -s conftest.err'
44754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44755 (eval $ac_try) 2>&5
44756 ac_status=$?
44757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44758 (exit $ac_status); }; } &&
44759 { ac_try='test -s conftest$ac_exeext'
44760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44761 (eval $ac_try) 2>&5
44762 ac_status=$?
44763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44764 (exit $ac_status); }; }; then
44765 ac_cv_header_sys_soundcard=yes
44766 else
44767 echo "$as_me: failed program was:" >&5
44768 sed 's/^/| /' conftest.$ac_ext >&5
44769
44770
44771 LIBS="$saveLibs"
44772 ac_cv_header_sys_soundcard=no
44773
44774
44775 fi
44776 rm -f conftest.err conftest.$ac_objext \
44777 conftest$ac_exeext conftest.$ac_ext
44778
44779
44780 fi
44781 rm -f conftest.err conftest.$ac_objext \
44782 conftest$ac_exeext conftest.$ac_ext
44783
44784 fi
44785 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44786 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
44787 fi
44788
44789 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44790 cat >>confdefs.h <<\_ACEOF
44791 #define HAVE_SYS_SOUNDCARD_H 1
44792 _ACEOF
44793
44794 fi
44795 fi
44796
44797 WITH_PLUGIN_SDL=0
44798 if test "$wxUSE_SOUND" = "yes"; then
44799 if test "$USE_UNIX" = "1" ; then
44800 if test "$wxUSE_LIBSDL" != "no"; then
44801
44802 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
44803 if test "${with_sdl_prefix+set}" = set; then
44804 withval="$with_sdl_prefix"
44805 sdl_prefix="$withval"
44806 else
44807 sdl_prefix=""
44808 fi;
44809
44810 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
44811 if test "${with_sdl_exec_prefix+set}" = set; then
44812 withval="$with_sdl_exec_prefix"
44813 sdl_exec_prefix="$withval"
44814 else
44815 sdl_exec_prefix=""
44816 fi;
44817 # Check whether --enable-sdltest or --disable-sdltest was given.
44818 if test "${enable_sdltest+set}" = set; then
44819 enableval="$enable_sdltest"
44820
44821 else
44822 enable_sdltest=yes
44823 fi;
44824
44825 if test x$sdl_exec_prefix != x ; then
44826 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44827 if test x${SDL_CONFIG+set} != xset ; then
44828 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44829 fi
44830 fi
44831 if test x$sdl_prefix != x ; then
44832 sdl_args="$sdl_args --prefix=$sdl_prefix"
44833 if test x${SDL_CONFIG+set} != xset ; then
44834 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44835 fi
44836 fi
44837
44838 if test "x$prefix" != xNONE; then
44839 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44840 fi
44841 # Extract the first word of "sdl-config", so it can be a program name with args.
44842 set dummy sdl-config; ac_word=$2
44843 echo "$as_me:$LINENO: checking for $ac_word" >&5
44844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
44845 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44846 echo $ECHO_N "(cached) $ECHO_C" >&6
44847 else
44848 case $SDL_CONFIG in
44849 [\\/]* | ?:[\\/]*)
44850 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44851 ;;
44852 *)
44853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44854 for as_dir in $PATH
44855 do
44856 IFS=$as_save_IFS
44857 test -z "$as_dir" && as_dir=.
44858 for ac_exec_ext in '' $ac_executable_extensions; do
44859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
44860 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44862 break 2
44863 fi
44864 done
44865 done
44866
44867 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44868 ;;
44869 esac
44870 fi
44871 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44872
44873 if test -n "$SDL_CONFIG"; then
44874 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44875 echo "${ECHO_T}$SDL_CONFIG" >&6
44876 else
44877 echo "$as_me:$LINENO: result: no" >&5
44878 echo "${ECHO_T}no" >&6
44879 fi
44880
44881 min_sdl_version=1.2.0
44882 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44883 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
44884 no_sdl=""
44885 if test "$SDL_CONFIG" = "no" ; then
44886 no_sdl=yes
44887 else
44888 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44889 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44890
44891 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44892 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44893 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44894 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44895 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44896 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44897 if test "x$enable_sdltest" = "xyes" ; then
44898 ac_save_CFLAGS="$CFLAGS"
44899 ac_save_CXXFLAGS="$CXXFLAGS"
44900 ac_save_LIBS="$LIBS"
44901 CFLAGS="$CFLAGS $SDL_CFLAGS"
44902 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44903 LIBS="$LIBS $SDL_LIBS"
44904 rm -f conf.sdltest
44905 if test "$cross_compiling" = yes; then
44906 echo $ac_n "cross compiling; assumed OK... $ac_c"
44907 else
44908 cat >conftest.$ac_ext <<_ACEOF
44909 /* confdefs.h. */
44910 _ACEOF
44911 cat confdefs.h >>conftest.$ac_ext
44912 cat >>conftest.$ac_ext <<_ACEOF
44913 /* end confdefs.h. */
44914
44915 #include <stdio.h>
44916 #include <stdlib.h>
44917 #include <string.h>
44918 #include "SDL.h"
44919
44920 char*
44921 my_strdup (char *str)
44922 {
44923 char *new_str;
44924
44925 if (str)
44926 {
44927 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44928 strcpy (new_str, str);
44929 }
44930 else
44931 new_str = NULL;
44932
44933 return new_str;
44934 }
44935
44936 int main (int argc, char *argv[])
44937 {
44938 int major, minor, micro;
44939 char *tmp_version;
44940
44941 /* This hangs on some systems (?)
44942 system ("touch conf.sdltest");
44943 */
44944 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44945
44946 /* HP/UX 9 (%@#!) writes to sscanf strings */
44947 tmp_version = my_strdup("$min_sdl_version");
44948 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44949 printf("%s, bad version string\n", "$min_sdl_version");
44950 exit(1);
44951 }
44952
44953 if (($sdl_major_version > major) ||
44954 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44955 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44956 {
44957 return 0;
44958 }
44959 else
44960 {
44961 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44962 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44963 printf("*** best to upgrade to the required version.\n");
44964 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44965 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44966 printf("*** config.cache before re-running configure\n");
44967 return 1;
44968 }
44969 }
44970
44971
44972 _ACEOF
44973 rm -f conftest$ac_exeext
44974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44975 (eval $ac_link) 2>&5
44976 ac_status=$?
44977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44978 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44980 (eval $ac_try) 2>&5
44981 ac_status=$?
44982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44983 (exit $ac_status); }; }; then
44984 :
44985 else
44986 echo "$as_me: program exited with status $ac_status" >&5
44987 echo "$as_me: failed program was:" >&5
44988 sed 's/^/| /' conftest.$ac_ext >&5
44989
44990 ( exit $ac_status )
44991 no_sdl=yes
44992 fi
44993 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44994 fi
44995 CFLAGS="$ac_save_CFLAGS"
44996 CXXFLAGS="$ac_save_CXXFLAGS"
44997 LIBS="$ac_save_LIBS"
44998 fi
44999 fi
45000 if test "x$no_sdl" = x ; then
45001 echo "$as_me:$LINENO: result: yes" >&5
45002 echo "${ECHO_T}yes" >&6
45003
45004 EXTRALIBS_SDL="$SDL_LIBS"
45005 CFLAGS="$SDL_CFLAGS $CFLAGS"
45006 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
45007 cat >>confdefs.h <<\_ACEOF
45008 #define wxUSE_LIBSDL 1
45009 _ACEOF
45010
45011
45012 else
45013 echo "$as_me:$LINENO: result: no" >&5
45014 echo "${ECHO_T}no" >&6
45015 if test "$SDL_CONFIG" = "no" ; then
45016 echo "*** The sdl-config script installed by SDL could not be found"
45017 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
45018 echo "*** your path, or set the SDL_CONFIG environment variable to the"
45019 echo "*** full path to sdl-config."
45020 else
45021 if test -f conf.sdltest ; then
45022 :
45023 else
45024 echo "*** Could not run SDL test program, checking why..."
45025 CFLAGS="$CFLAGS $SDL_CFLAGS"
45026 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
45027 LIBS="$LIBS $SDL_LIBS"
45028 cat >conftest.$ac_ext <<_ACEOF
45029 /* confdefs.h. */
45030 _ACEOF
45031 cat confdefs.h >>conftest.$ac_ext
45032 cat >>conftest.$ac_ext <<_ACEOF
45033 /* end confdefs.h. */
45034
45035 #include <stdio.h>
45036 #include "SDL.h"
45037
45038 int main(int argc, char *argv[])
45039 { return 0; }
45040 #undef main
45041 #define main K_and_R_C_main
45042
45043 int
45044 main ()
45045 {
45046 return 0;
45047 ;
45048 return 0;
45049 }
45050 _ACEOF
45051 rm -f conftest.$ac_objext conftest$ac_exeext
45052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45053 (eval $ac_link) 2>conftest.er1
45054 ac_status=$?
45055 grep -v '^ *+' conftest.er1 >conftest.err
45056 rm -f conftest.er1
45057 cat conftest.err >&5
45058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45059 (exit $ac_status); } &&
45060 { ac_try='test -z "$ac_c_werror_flag"
45061 || test ! -s conftest.err'
45062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45063 (eval $ac_try) 2>&5
45064 ac_status=$?
45065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45066 (exit $ac_status); }; } &&
45067 { ac_try='test -s conftest$ac_exeext'
45068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45069 (eval $ac_try) 2>&5
45070 ac_status=$?
45071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45072 (exit $ac_status); }; }; then
45073 echo "*** The test program compiled, but did not run. This usually means"
45074 echo "*** that the run-time linker is not finding SDL or finding the wrong"
45075 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
45076 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
45077 echo "*** to the installed location Also, make sure you have run ldconfig if that"
45078 echo "*** is required on your system"
45079 echo "***"
45080 echo "*** If you have an old version installed, it is best to remove it, although"
45081 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
45082 else
45083 echo "$as_me: failed program was:" >&5
45084 sed 's/^/| /' conftest.$ac_ext >&5
45085
45086 echo "*** The test program failed to compile or link. See the file config.log for the"
45087 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45088 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45089 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45090 fi
45091 rm -f conftest.err conftest.$ac_objext \
45092 conftest$ac_exeext conftest.$ac_ext
45093 CFLAGS="$ac_save_CFLAGS"
45094 CXXFLAGS="$ac_save_CXXFLAGS"
45095 LIBS="$ac_save_LIBS"
45096 fi
45097 fi
45098 SDL_CFLAGS=""
45099 SDL_LIBS=""
45100 wxUSE_LIBSDL="no"
45101 fi
45102
45103
45104 rm -f conf.sdltest
45105
45106 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45107 WITH_PLUGIN_SDL=1
45108 fi
45109 fi
45110 else
45111 if test "$wxUSE_MGL" = 1; then
45112 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45113 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45114 wxUSE_SOUND="no"
45115 fi
45116 fi
45117 fi
45118
45119 if test "$wxUSE_SOUND" = "yes"; then
45120 cat >>confdefs.h <<\_ACEOF
45121 #define wxUSE_SOUND 1
45122 _ACEOF
45123
45124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
45125 fi
45126
45127 if test "$WXGTK20" = 1; then
45128
45129
45130 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45131 if test -n "$ac_tool_prefix"; then
45132 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45133 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45134 echo "$as_me:$LINENO: checking for $ac_word" >&5
45135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45136 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45137 echo $ECHO_N "(cached) $ECHO_C" >&6
45138 else
45139 case $PKG_CONFIG in
45140 [\\/]* | ?:[\\/]*)
45141 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45142 ;;
45143 *)
45144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45145 for as_dir in $PATH
45146 do
45147 IFS=$as_save_IFS
45148 test -z "$as_dir" && as_dir=.
45149 for ac_exec_ext in '' $ac_executable_extensions; do
45150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45151 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45153 break 2
45154 fi
45155 done
45156 done
45157
45158 ;;
45159 esac
45160 fi
45161 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45162
45163 if test -n "$PKG_CONFIG"; then
45164 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45165 echo "${ECHO_T}$PKG_CONFIG" >&6
45166 else
45167 echo "$as_me:$LINENO: result: no" >&5
45168 echo "${ECHO_T}no" >&6
45169 fi
45170
45171 fi
45172 if test -z "$ac_cv_path_PKG_CONFIG"; then
45173 ac_pt_PKG_CONFIG=$PKG_CONFIG
45174 # Extract the first word of "pkg-config", so it can be a program name with args.
45175 set dummy pkg-config; ac_word=$2
45176 echo "$as_me:$LINENO: checking for $ac_word" >&5
45177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
45178 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45179 echo $ECHO_N "(cached) $ECHO_C" >&6
45180 else
45181 case $ac_pt_PKG_CONFIG in
45182 [\\/]* | ?:[\\/]*)
45183 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45184 ;;
45185 *)
45186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45187 for as_dir in $PATH
45188 do
45189 IFS=$as_save_IFS
45190 test -z "$as_dir" && as_dir=.
45191 for ac_exec_ext in '' $ac_executable_extensions; do
45192 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
45193 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45195 break 2
45196 fi
45197 done
45198 done
45199
45200 ;;
45201 esac
45202 fi
45203 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45204
45205 if test -n "$ac_pt_PKG_CONFIG"; then
45206 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45207 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
45208 else
45209 echo "$as_me:$LINENO: result: no" >&5
45210 echo "${ECHO_T}no" >&6
45211 fi
45212
45213 PKG_CONFIG=$ac_pt_PKG_CONFIG
45214 else
45215 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45216 fi
45217
45218 fi
45219 if test -n "$PKG_CONFIG"; then
45220 _pkg_min_version=0.9.0
45221 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45222 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
45223 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45224 echo "$as_me:$LINENO: result: yes" >&5
45225 echo "${ECHO_T}yes" >&6
45226 else
45227 echo "$as_me:$LINENO: result: no" >&5
45228 echo "${ECHO_T}no" >&6
45229 PKG_CONFIG=""
45230 fi
45231
45232 fi
45233
45234 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45235
45236 if test "$wxUSE_GTKPRINT" = "yes" ; then
45237
45238
45239 pkg_failed=no
45240 echo "$as_me:$LINENO: checking for GTKPRINT" >&5
45241 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6
45242
45243 if test -n "$PKG_CONFIG"; then
45244 if test -n "$GTKPRINT_CFLAGS"; then
45245 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
45246 else
45247 if test -n "$PKG_CONFIG" && \
45248 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
45249 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
45250 ac_status=$?
45251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45252 (exit $ac_status); }; then
45253 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
45254 else
45255 pkg_failed=yes
45256 fi
45257 fi
45258 else
45259 pkg_failed=untried
45260 fi
45261 if test -n "$PKG_CONFIG"; then
45262 if test -n "$GTKPRINT_LIBS"; then
45263 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
45264 else
45265 if test -n "$PKG_CONFIG" && \
45266 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
45267 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
45268 ac_status=$?
45269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45270 (exit $ac_status); }; then
45271 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
45272 else
45273 pkg_failed=yes
45274 fi
45275 fi
45276 else
45277 pkg_failed=untried
45278 fi
45279
45280
45281
45282 if test $pkg_failed = yes; then
45283
45284 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45285 _pkg_short_errors_supported=yes
45286 else
45287 _pkg_short_errors_supported=no
45288 fi
45289 if test $_pkg_short_errors_supported = yes; then
45290 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45291 else
45292 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
45293 fi
45294 # Put the nasty error message in config.log where it belongs
45295 echo "$GTKPRINT_PKG_ERRORS" >&5
45296
45297
45298 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45299 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45300 wxUSE_GTKPRINT="no"
45301
45302
45303 elif test $pkg_failed = untried; then
45304
45305 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
45306 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
45307 wxUSE_GTKPRINT="no"
45308
45309
45310 else
45311 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
45312 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
45313 echo "$as_me:$LINENO: result: yes" >&5
45314 echo "${ECHO_T}yes" >&6
45315
45316 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
45317 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
45318 cat >>confdefs.h <<\_ACEOF
45319 #define wxUSE_GTKPRINT 1
45320 _ACEOF
45321
45322
45323 fi
45324 fi
45325
45326 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45327
45328
45329 pkg_failed=no
45330 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45331 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
45332
45333 if test -n "$PKG_CONFIG"; then
45334 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45335 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45336 else
45337 if test -n "$PKG_CONFIG" && \
45338 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45339 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45340 ac_status=$?
45341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45342 (exit $ac_status); }; then
45343 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45344 else
45345 pkg_failed=yes
45346 fi
45347 fi
45348 else
45349 pkg_failed=untried
45350 fi
45351 if test -n "$PKG_CONFIG"; then
45352 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45353 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45354 else
45355 if test -n "$PKG_CONFIG" && \
45356 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45357 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45358 ac_status=$?
45359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45360 (exit $ac_status); }; then
45361 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45362 else
45363 pkg_failed=yes
45364 fi
45365 fi
45366 else
45367 pkg_failed=untried
45368 fi
45369
45370
45371
45372 if test $pkg_failed = yes; then
45373
45374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45375 _pkg_short_errors_supported=yes
45376 else
45377 _pkg_short_errors_supported=no
45378 fi
45379 if test $_pkg_short_errors_supported = yes; then
45380 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45381 else
45382 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45383 fi
45384 # Put the nasty error message in config.log where it belongs
45385 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45386
45387
45388 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45389 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45390 wxUSE_LIBGNOMEPRINT="no"
45391
45392
45393 elif test $pkg_failed = untried; then
45394
45395 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45396 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45397 wxUSE_LIBGNOMEPRINT="no"
45398
45399
45400 else
45401 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45402 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45403 echo "$as_me:$LINENO: result: yes" >&5
45404 echo "${ECHO_T}yes" >&6
45405
45406 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45407 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45408 cat >>confdefs.h <<\_ACEOF
45409 #define wxUSE_LIBGNOMEPRINT 1
45410 _ACEOF
45411
45412
45413 fi
45414 fi
45415 fi
45416
45417 if test "$wxUSE_MIMETYPE" = "yes" ; then
45418 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45419
45420
45421 pkg_failed=no
45422 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45423 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
45424
45425 if test -n "$PKG_CONFIG"; then
45426 if test -n "$GNOMEVFS_CFLAGS"; then
45427 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45428 else
45429 if test -n "$PKG_CONFIG" && \
45430 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45431 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45432 ac_status=$?
45433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45434 (exit $ac_status); }; then
45435 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45436 else
45437 pkg_failed=yes
45438 fi
45439 fi
45440 else
45441 pkg_failed=untried
45442 fi
45443 if test -n "$PKG_CONFIG"; then
45444 if test -n "$GNOMEVFS_LIBS"; then
45445 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45446 else
45447 if test -n "$PKG_CONFIG" && \
45448 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45449 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45450 ac_status=$?
45451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45452 (exit $ac_status); }; then
45453 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45454 else
45455 pkg_failed=yes
45456 fi
45457 fi
45458 else
45459 pkg_failed=untried
45460 fi
45461
45462
45463
45464 if test $pkg_failed = yes; then
45465
45466 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45467 _pkg_short_errors_supported=yes
45468 else
45469 _pkg_short_errors_supported=no
45470 fi
45471 if test $_pkg_short_errors_supported = yes; then
45472 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45473 else
45474 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45475 fi
45476 # Put the nasty error message in config.log where it belongs
45477 echo "$GNOMEVFS_PKG_ERRORS" >&5
45478
45479
45480 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45481 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45482 wxUSE_LIBGNOMEVFS="no"
45483
45484
45485 elif test $pkg_failed = untried; then
45486
45487 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45488 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45489 wxUSE_LIBGNOMEVFS="no"
45490
45491
45492 else
45493 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45494 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45495 echo "$as_me:$LINENO: result: yes" >&5
45496 echo "${ECHO_T}yes" >&6
45497
45498 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45499 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45500 cat >>confdefs.h <<\_ACEOF
45501 #define wxUSE_LIBGNOMEVFS 1
45502 _ACEOF
45503
45504
45505 fi
45506 fi
45507 fi
45508
45509 if test "$wxUSE_LIBHILDON" = "yes" ; then
45510
45511 pkg_failed=no
45512 echo "$as_me:$LINENO: checking for HILDON" >&5
45513 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
45514
45515 if test -n "$PKG_CONFIG"; then
45516 if test -n "$HILDON_CFLAGS"; then
45517 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45518 else
45519 if test -n "$PKG_CONFIG" && \
45520 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45521 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45522 ac_status=$?
45523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45524 (exit $ac_status); }; then
45525 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45526 else
45527 pkg_failed=yes
45528 fi
45529 fi
45530 else
45531 pkg_failed=untried
45532 fi
45533 if test -n "$PKG_CONFIG"; then
45534 if test -n "$HILDON_LIBS"; then
45535 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45536 else
45537 if test -n "$PKG_CONFIG" && \
45538 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45539 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45540 ac_status=$?
45541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45542 (exit $ac_status); }; then
45543 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45544 else
45545 pkg_failed=yes
45546 fi
45547 fi
45548 else
45549 pkg_failed=untried
45550 fi
45551
45552
45553
45554 if test $pkg_failed = yes; then
45555
45556 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45557 _pkg_short_errors_supported=yes
45558 else
45559 _pkg_short_errors_supported=no
45560 fi
45561 if test $_pkg_short_errors_supported = yes; then
45562 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45563 else
45564 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45565 fi
45566 # Put the nasty error message in config.log where it belongs
45567 echo "$HILDON_PKG_ERRORS" >&5
45568
45569
45570 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45571 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45572 wxUSE_LIBHILDON="no"
45573
45574
45575 elif test $pkg_failed = untried; then
45576
45577 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45578 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45579 wxUSE_LIBHILDON="no"
45580
45581
45582 else
45583 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45584 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45585 echo "$as_me:$LINENO: result: yes" >&5
45586 echo "${ECHO_T}yes" >&6
45587
45588 EXTRALIBS_HILDON="$HILDON_LIBS"
45589 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45590 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_LIBHILDON 1
45593 _ACEOF
45594
45595
45596 fi
45597 fi
45598 fi
45599
45600 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45601 cat >>confdefs.h <<\_ACEOF
45602 #define wxUSE_CMDLINE_PARSER 1
45603 _ACEOF
45604
45605 fi
45606
45607 if test "$wxUSE_STOPWATCH" = "yes"; then
45608 cat >>confdefs.h <<\_ACEOF
45609 #define wxUSE_STOPWATCH 1
45610 _ACEOF
45611
45612 fi
45613
45614 if test "$wxUSE_DATETIME" = "yes"; then
45615 cat >>confdefs.h <<\_ACEOF
45616 #define wxUSE_DATETIME 1
45617 _ACEOF
45618
45619 fi
45620
45621 if test "$wxUSE_FILE" = "yes"; then
45622 cat >>confdefs.h <<\_ACEOF
45623 #define wxUSE_FILE 1
45624 _ACEOF
45625
45626 fi
45627
45628 if test "$wxUSE_FFILE" = "yes"; then
45629 cat >>confdefs.h <<\_ACEOF
45630 #define wxUSE_FFILE 1
45631 _ACEOF
45632
45633 fi
45634
45635 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45636 if test "$wxUSE_STREAMS" != yes; then
45637 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45638 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45639 wxUSE_ARCHIVE_STREAMS=no
45640 else
45641 cat >>confdefs.h <<\_ACEOF
45642 #define wxUSE_ARCHIVE_STREAMS 1
45643 _ACEOF
45644
45645 fi
45646 fi
45647
45648 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45649 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45650 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45651 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45652 elif test "$wxUSE_ZLIB" = "no"; then
45653 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45654 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45655 else
45656 cat >>confdefs.h <<\_ACEOF
45657 #define wxUSE_ZIPSTREAM 1
45658 _ACEOF
45659
45660 fi
45661 fi
45662
45663 if test "$wxUSE_TARSTREAM" = "yes"; then
45664 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45665 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45666 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45667 else
45668 cat >>confdefs.h <<\_ACEOF
45669 #define wxUSE_TARSTREAM 1
45670 _ACEOF
45671
45672 fi
45673 fi
45674
45675 if test "$wxUSE_FILESYSTEM" = "yes"; then
45676 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45677 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45678 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45679 wxUSE_FILESYSTEM=no
45680 else
45681 cat >>confdefs.h <<\_ACEOF
45682 #define wxUSE_FILESYSTEM 1
45683 _ACEOF
45684
45685 fi
45686 fi
45687
45688 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45689 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45690 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45691 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45692 else
45693 cat >>confdefs.h <<\_ACEOF
45694 #define wxUSE_FS_ARCHIVE 1
45695 _ACEOF
45696
45697 fi
45698 fi
45699
45700 if test "$wxUSE_FS_ZIP" = "yes"; then
45701 if test "$wxUSE_FS_ARCHIVE" != yes; then
45702 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45703 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45704 else
45705 cat >>confdefs.h <<\_ACEOF
45706 #define wxUSE_FS_ZIP 1
45707 _ACEOF
45708
45709 fi
45710 fi
45711
45712 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45713 if test "$USE_UNIX" != 1; then
45714 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45715 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45716 wxUSE_ON_FATAL_EXCEPTION=no
45717 else
45718 cat >>confdefs.h <<\_ACEOF
45719 #define wxUSE_ON_FATAL_EXCEPTION 1
45720 _ACEOF
45721
45722 fi
45723 fi
45724
45725 if test "$wxUSE_STACKWALKER" = "yes"; then
45726 cat >>confdefs.h <<\_ACEOF
45727 #define wxUSE_STACKWALKER 1
45728 _ACEOF
45729
45730 fi
45731
45732 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45733 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45734 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45735 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45736 wxUSE_DEBUGREPORT=no
45737 else
45738 cat >>confdefs.h <<\_ACEOF
45739 #define wxUSE_DEBUGREPORT 1
45740 _ACEOF
45741
45742 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45744 fi
45745 fi
45746 fi
45747
45748 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45749 cat >>confdefs.h <<\_ACEOF
45750 #define wxUSE_SNGLINST_CHECKER 1
45751 _ACEOF
45752
45753 fi
45754
45755 if test "$wxUSE_BUSYINFO" = "yes"; then
45756 cat >>confdefs.h <<\_ACEOF
45757 #define wxUSE_BUSYINFO 1
45758 _ACEOF
45759
45760 fi
45761
45762 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45763 cat >>confdefs.h <<\_ACEOF
45764 #define wxUSE_STD_IOSTREAM 1
45765 _ACEOF
45766
45767 fi
45768
45769 if test "$wxUSE_STD_STRING" = "yes"; then
45770 cat >>confdefs.h <<\_ACEOF
45771 #define wxUSE_STD_STRING 1
45772 _ACEOF
45773
45774 fi
45775
45776 if test "$wxUSE_STDPATHS" = "yes"; then
45777 cat >>confdefs.h <<\_ACEOF
45778 #define wxUSE_STDPATHS 1
45779 _ACEOF
45780
45781 fi
45782
45783 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45784 cat >>confdefs.h <<\_ACEOF
45785 #define wxUSE_TEXTBUFFER 1
45786 _ACEOF
45787
45788 fi
45789
45790 if test "$wxUSE_TEXTFILE" = "yes"; then
45791 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45792 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45793 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45794 else
45795 cat >>confdefs.h <<\_ACEOF
45796 #define wxUSE_TEXTFILE 1
45797 _ACEOF
45798
45799 fi
45800 fi
45801
45802 if test "$wxUSE_CONFIG" = "yes" ; then
45803 if test "$wxUSE_TEXTFILE" != "yes"; then
45804 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45805 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45806 else
45807 cat >>confdefs.h <<\_ACEOF
45808 #define wxUSE_CONFIG 1
45809 _ACEOF
45810
45811 cat >>confdefs.h <<\_ACEOF
45812 #define wxUSE_CONFIG_NATIVE 1
45813 _ACEOF
45814
45815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45816 fi
45817 fi
45818
45819 if test "$wxUSE_INTL" = "yes" ; then
45820 if test "$wxUSE_FILE" != "yes"; then
45821 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45822 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45823 else
45824 cat >>confdefs.h <<\_ACEOF
45825 #define wxUSE_INTL 1
45826 _ACEOF
45827
45828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45829 GUIDIST="$GUIDIST INTL_DIST"
45830 fi
45831 fi
45832
45833 if test "$wxUSE_LOG" = "yes"; then
45834 cat >>confdefs.h <<\_ACEOF
45835 #define wxUSE_LOG 1
45836 _ACEOF
45837
45838
45839 if test "$wxUSE_LOGGUI" = "yes"; then
45840 cat >>confdefs.h <<\_ACEOF
45841 #define wxUSE_LOGGUI 1
45842 _ACEOF
45843
45844 fi
45845
45846 if test "$wxUSE_LOGWINDOW" = "yes"; then
45847 cat >>confdefs.h <<\_ACEOF
45848 #define wxUSE_LOGWINDOW 1
45849 _ACEOF
45850
45851 fi
45852
45853 if test "$wxUSE_LOGDIALOG" = "yes"; then
45854 cat >>confdefs.h <<\_ACEOF
45855 #define wxUSE_LOG_DIALOG 1
45856 _ACEOF
45857
45858 fi
45859
45860 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45861 fi
45862
45863 if test "$wxUSE_LONGLONG" = "yes"; then
45864 cat >>confdefs.h <<\_ACEOF
45865 #define wxUSE_LONGLONG 1
45866 _ACEOF
45867
45868 fi
45869
45870 if test "$wxUSE_GEOMETRY" = "yes"; then
45871 cat >>confdefs.h <<\_ACEOF
45872 #define wxUSE_GEOMETRY 1
45873 _ACEOF
45874
45875 fi
45876
45877 if test "$wxUSE_BASE64" = "yes"; then
45878 cat >>confdefs.h <<\_ACEOF
45879 #define wxUSE_BASE64 1
45880 _ACEOF
45881
45882 fi
45883
45884 if test "$wxUSE_STREAMS" = "yes" ; then
45885 cat >>confdefs.h <<\_ACEOF
45886 #define wxUSE_STREAMS 1
45887 _ACEOF
45888
45889 fi
45890
45891 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45892 cat >>confdefs.h <<\_ACEOF
45893 #define wxUSE_PRINTF_POS_PARAMS 1
45894 _ACEOF
45895
45896 fi
45897
45898 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45899 cat >>confdefs.h <<\_ACEOF
45900 #define wxUSE_OBJC_UNIQUIFYING 1
45901 _ACEOF
45902
45903 fi
45904
45905
45906 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45907 cat >>confdefs.h <<\_ACEOF
45908 #define wxUSE_CONSOLE_EVENTLOOP 1
45909 _ACEOF
45910
45911
45912 if test "$wxUSE_UNIX" = "yes"; then
45913 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45914 cat >>confdefs.h <<\_ACEOF
45915 #define wxUSE_SELECT_DISPATCHER 1
45916 _ACEOF
45917
45918 fi
45919
45920 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45921
45922 for ac_header in sys/epoll.h
45923 do
45924 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45925 echo "$as_me:$LINENO: checking for $ac_header" >&5
45926 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45927 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45928 echo $ECHO_N "(cached) $ECHO_C" >&6
45929 else
45930 cat >conftest.$ac_ext <<_ACEOF
45931 /* confdefs.h. */
45932 _ACEOF
45933 cat confdefs.h >>conftest.$ac_ext
45934 cat >>conftest.$ac_ext <<_ACEOF
45935 /* end confdefs.h. */
45936 $ac_includes_default
45937
45938 #include <$ac_header>
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_c_werror_flag"
45950 || test ! -s conftest.err'
45951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45952 (eval $ac_try) 2>&5
45953 ac_status=$?
45954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45955 (exit $ac_status); }; } &&
45956 { ac_try='test -s conftest.$ac_objext'
45957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45958 (eval $ac_try) 2>&5
45959 ac_status=$?
45960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45961 (exit $ac_status); }; }; then
45962 eval "$as_ac_Header=yes"
45963 else
45964 echo "$as_me: failed program was:" >&5
45965 sed 's/^/| /' conftest.$ac_ext >&5
45966
45967 eval "$as_ac_Header=no"
45968 fi
45969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45970 fi
45971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45972 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45973 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45974 cat >>confdefs.h <<_ACEOF
45975 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45976 _ACEOF
45977
45978 fi
45979
45980 done
45981
45982 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45983 cat >>confdefs.h <<\_ACEOF
45984 #define wxUSE_EPOLL_DISPATCHER 1
45985 _ACEOF
45986
45987 else
45988 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45989 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45990 fi
45991 fi
45992 fi
45993 fi
45994
45995
45996
45997
45998 for ac_func in gettimeofday ftime
45999 do
46000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46001 echo "$as_me:$LINENO: checking for $ac_func" >&5
46002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46003 if eval "test \"\${$as_ac_var+set}\" = set"; then
46004 echo $ECHO_N "(cached) $ECHO_C" >&6
46005 else
46006 cat >conftest.$ac_ext <<_ACEOF
46007 /* confdefs.h. */
46008 _ACEOF
46009 cat confdefs.h >>conftest.$ac_ext
46010 cat >>conftest.$ac_ext <<_ACEOF
46011 /* end confdefs.h. */
46012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46014 #define $ac_func innocuous_$ac_func
46015
46016 /* System header to define __stub macros and hopefully few prototypes,
46017 which can conflict with char $ac_func (); below.
46018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46019 <limits.h> exists even on freestanding compilers. */
46020
46021 #ifdef __STDC__
46022 # include <limits.h>
46023 #else
46024 # include <assert.h>
46025 #endif
46026
46027 #undef $ac_func
46028
46029 /* Override any gcc2 internal prototype to avoid an error. */
46030 #ifdef __cplusplus
46031 extern "C"
46032 {
46033 #endif
46034 /* We use char because int might match the return type of a gcc2
46035 builtin and then its argument prototype would still apply. */
46036 char $ac_func ();
46037 /* The GNU C library defines this for functions which it implements
46038 to always fail with ENOSYS. Some functions are actually named
46039 something starting with __ and the normal name is an alias. */
46040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46041 choke me
46042 #else
46043 char (*f) () = $ac_func;
46044 #endif
46045 #ifdef __cplusplus
46046 }
46047 #endif
46048
46049 int
46050 main ()
46051 {
46052 return f != $ac_func;
46053 ;
46054 return 0;
46055 }
46056 _ACEOF
46057 rm -f conftest.$ac_objext conftest$ac_exeext
46058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46059 (eval $ac_link) 2>conftest.er1
46060 ac_status=$?
46061 grep -v '^ *+' conftest.er1 >conftest.err
46062 rm -f conftest.er1
46063 cat conftest.err >&5
46064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46065 (exit $ac_status); } &&
46066 { ac_try='test -z "$ac_c_werror_flag"
46067 || test ! -s conftest.err'
46068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46069 (eval $ac_try) 2>&5
46070 ac_status=$?
46071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46072 (exit $ac_status); }; } &&
46073 { ac_try='test -s conftest$ac_exeext'
46074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46075 (eval $ac_try) 2>&5
46076 ac_status=$?
46077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46078 (exit $ac_status); }; }; then
46079 eval "$as_ac_var=yes"
46080 else
46081 echo "$as_me: failed program was:" >&5
46082 sed 's/^/| /' conftest.$ac_ext >&5
46083
46084 eval "$as_ac_var=no"
46085 fi
46086 rm -f conftest.err conftest.$ac_objext \
46087 conftest$ac_exeext conftest.$ac_ext
46088 fi
46089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46091 if test `eval echo '${'$as_ac_var'}'` = yes; then
46092 cat >>confdefs.h <<_ACEOF
46093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46094 _ACEOF
46095 break
46096 fi
46097 done
46098
46099
46100 if test "$ac_cv_func_gettimeofday" = "yes"; then
46101 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46102 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
46103 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46104 echo $ECHO_N "(cached) $ECHO_C" >&6
46105 else
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/time.h>
46115 #include <unistd.h>
46116
46117 int
46118 main ()
46119 {
46120
46121 struct timeval tv;
46122 gettimeofday(&tv, NULL);
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_c_werror_flag"
46138 || test ! -s conftest.err'
46139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46140 (eval $ac_try) 2>&5
46141 ac_status=$?
46142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46143 (exit $ac_status); }; } &&
46144 { ac_try='test -s conftest.$ac_objext'
46145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46146 (eval $ac_try) 2>&5
46147 ac_status=$?
46148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46149 (exit $ac_status); }; }; then
46150 wx_cv_func_gettimeofday_has_2_args=yes
46151 else
46152 echo "$as_me: failed program was:" >&5
46153 sed 's/^/| /' conftest.$ac_ext >&5
46154
46155 cat >conftest.$ac_ext <<_ACEOF
46156 /* confdefs.h. */
46157 _ACEOF
46158 cat confdefs.h >>conftest.$ac_ext
46159 cat >>conftest.$ac_ext <<_ACEOF
46160 /* end confdefs.h. */
46161
46162 #include <sys/time.h>
46163 #include <unistd.h>
46164
46165 int
46166 main ()
46167 {
46168
46169 struct timeval tv;
46170 gettimeofday(&tv);
46171
46172 ;
46173 return 0;
46174 }
46175 _ACEOF
46176 rm -f conftest.$ac_objext
46177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46178 (eval $ac_compile) 2>conftest.er1
46179 ac_status=$?
46180 grep -v '^ *+' conftest.er1 >conftest.err
46181 rm -f conftest.er1
46182 cat conftest.err >&5
46183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46184 (exit $ac_status); } &&
46185 { ac_try='test -z "$ac_c_werror_flag"
46186 || test ! -s conftest.err'
46187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46188 (eval $ac_try) 2>&5
46189 ac_status=$?
46190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46191 (exit $ac_status); }; } &&
46192 { ac_try='test -s conftest.$ac_objext'
46193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46194 (eval $ac_try) 2>&5
46195 ac_status=$?
46196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46197 (exit $ac_status); }; }; then
46198 wx_cv_func_gettimeofday_has_2_args=no
46199 else
46200 echo "$as_me: failed program was:" >&5
46201 sed 's/^/| /' conftest.$ac_ext >&5
46202
46203
46204 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46205 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46206 wx_cv_func_gettimeofday_has_2_args=unknown
46207
46208
46209 fi
46210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46211
46212 fi
46213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46214
46215 fi
46216 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46217 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
46218
46219 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46220 cat >>confdefs.h <<\_ACEOF
46221 #define WX_GETTIMEOFDAY_NO_TZ 1
46222 _ACEOF
46223
46224 fi
46225 fi
46226
46227 if test "$wxUSE_DATETIME" = "yes"; then
46228 echo "$as_me:$LINENO: checking for strptime" >&5
46229 echo $ECHO_N "checking for strptime... $ECHO_C" >&6
46230 if test "${ac_cv_func_strptime+set}" = set; then
46231 echo $ECHO_N "(cached) $ECHO_C" >&6
46232 else
46233 cat >conftest.$ac_ext <<_ACEOF
46234 /* confdefs.h. */
46235 _ACEOF
46236 cat confdefs.h >>conftest.$ac_ext
46237 cat >>conftest.$ac_ext <<_ACEOF
46238 /* end confdefs.h. */
46239 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46241 #define strptime innocuous_strptime
46242
46243 /* System header to define __stub macros and hopefully few prototypes,
46244 which can conflict with char strptime (); below.
46245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46246 <limits.h> exists even on freestanding compilers. */
46247
46248 #ifdef __STDC__
46249 # include <limits.h>
46250 #else
46251 # include <assert.h>
46252 #endif
46253
46254 #undef strptime
46255
46256 /* Override any gcc2 internal prototype to avoid an error. */
46257 #ifdef __cplusplus
46258 extern "C"
46259 {
46260 #endif
46261 /* We use char because int might match the return type of a gcc2
46262 builtin and then its argument prototype would still apply. */
46263 char strptime ();
46264 /* The GNU C library defines this for functions which it implements
46265 to always fail with ENOSYS. Some functions are actually named
46266 something starting with __ and the normal name is an alias. */
46267 #if defined (__stub_strptime) || defined (__stub___strptime)
46268 choke me
46269 #else
46270 char (*f) () = strptime;
46271 #endif
46272 #ifdef __cplusplus
46273 }
46274 #endif
46275
46276 int
46277 main ()
46278 {
46279 return f != strptime;
46280 ;
46281 return 0;
46282 }
46283 _ACEOF
46284 rm -f conftest.$ac_objext conftest$ac_exeext
46285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46286 (eval $ac_link) 2>conftest.er1
46287 ac_status=$?
46288 grep -v '^ *+' conftest.er1 >conftest.err
46289 rm -f conftest.er1
46290 cat conftest.err >&5
46291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46292 (exit $ac_status); } &&
46293 { ac_try='test -z "$ac_c_werror_flag"
46294 || test ! -s conftest.err'
46295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46296 (eval $ac_try) 2>&5
46297 ac_status=$?
46298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46299 (exit $ac_status); }; } &&
46300 { ac_try='test -s conftest$ac_exeext'
46301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46302 (eval $ac_try) 2>&5
46303 ac_status=$?
46304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46305 (exit $ac_status); }; }; then
46306 ac_cv_func_strptime=yes
46307 else
46308 echo "$as_me: failed program was:" >&5
46309 sed 's/^/| /' conftest.$ac_ext >&5
46310
46311 ac_cv_func_strptime=no
46312 fi
46313 rm -f conftest.err conftest.$ac_objext \
46314 conftest$ac_exeext conftest.$ac_ext
46315 fi
46316 echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46317 echo "${ECHO_T}$ac_cv_func_strptime" >&6
46318
46319 if test "$ac_cv_func_strptime" = "yes"; then
46320 echo "$as_me:$LINENO: checking for strptime declaration" >&5
46321 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
46322 if test "${wx_cv_func_strptime_decl+set}" = set; then
46323 echo $ECHO_N "(cached) $ECHO_C" >&6
46324 else
46325
46326 ac_ext=cc
46327 ac_cpp='$CXXCPP $CPPFLAGS'
46328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46331
46332 cat >conftest.$ac_ext <<_ACEOF
46333 /* confdefs.h. */
46334 _ACEOF
46335 cat confdefs.h >>conftest.$ac_ext
46336 cat >>conftest.$ac_ext <<_ACEOF
46337 /* end confdefs.h. */
46338
46339 #include <time.h>
46340
46341 int
46342 main ()
46343 {
46344
46345 struct tm t;
46346 strptime("foo", "bar", &t);
46347
46348 ;
46349 return 0;
46350 }
46351 _ACEOF
46352 rm -f conftest.$ac_objext
46353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46354 (eval $ac_compile) 2>conftest.er1
46355 ac_status=$?
46356 grep -v '^ *+' conftest.er1 >conftest.err
46357 rm -f conftest.er1
46358 cat conftest.err >&5
46359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46360 (exit $ac_status); } &&
46361 { ac_try='test -z "$ac_cxx_werror_flag"
46362 || test ! -s conftest.err'
46363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46364 (eval $ac_try) 2>&5
46365 ac_status=$?
46366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46367 (exit $ac_status); }; } &&
46368 { ac_try='test -s conftest.$ac_objext'
46369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46370 (eval $ac_try) 2>&5
46371 ac_status=$?
46372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46373 (exit $ac_status); }; }; then
46374 wx_cv_func_strptime_decl=yes
46375 else
46376 echo "$as_me: failed program was:" >&5
46377 sed 's/^/| /' conftest.$ac_ext >&5
46378
46379 wx_cv_func_strptime_decl=no
46380
46381 fi
46382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46383 ac_ext=c
46384 ac_cpp='$CPP $CPPFLAGS'
46385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46388
46389
46390
46391 fi
46392 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46393 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
46394 fi
46395 if test "$wx_cv_func_strptime_decl" = "yes"; then
46396 cat >>confdefs.h <<\_ACEOF
46397 #define HAVE_STRPTIME_DECL 1
46398 _ACEOF
46399
46400 else
46401 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46402 fi
46403 if test "$ac_cv_func_strptime" = "yes"; then
46404 echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46405 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6
46406 if test "${wx_cv_func_strptime_ok+set}" = set; then
46407 echo $ECHO_N "(cached) $ECHO_C" >&6
46408 else
46409 if test "$cross_compiling" = yes; then
46410 wx_cv_func_strptime_ok=no
46411
46412 else
46413 cat >conftest.$ac_ext <<_ACEOF
46414
46415 #include <stdlib.h>
46416 #include <time.h>
46417 #include "confdefs.h"
46418
46419 $wx_strptime_decl
46420
46421 int main()
46422 {
46423 struct tm t;
46424 return !!strptime("", "%x", &t);
46425 }
46426
46427 _ACEOF
46428 rm -f conftest$ac_exeext
46429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46430 (eval $ac_link) 2>&5
46431 ac_status=$?
46432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46433 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46435 (eval $ac_try) 2>&5
46436 ac_status=$?
46437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46438 (exit $ac_status); }; }; then
46439 wx_cv_func_strptime_ok=yes
46440 else
46441 echo "$as_me: program exited with status $ac_status" >&5
46442 echo "$as_me: failed program was:" >&5
46443 sed 's/^/| /' conftest.$ac_ext >&5
46444
46445 ( exit $ac_status )
46446 wx_cv_func_strptime_ok=no
46447 fi
46448 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46449 fi
46450
46451 fi
46452 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46453 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6
46454
46455 if test "$wx_cv_func_strptime_ok" = "yes"; then
46456 cat >>confdefs.h <<\_ACEOF
46457 #define HAVE_STRPTIME 1
46458 _ACEOF
46459
46460 fi
46461 fi
46462
46463 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46464 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
46465 if test "${wx_cv_var_timezone+set}" = set; then
46466 echo $ECHO_N "(cached) $ECHO_C" >&6
46467 else
46468
46469 ac_ext=cc
46470 ac_cpp='$CXXCPP $CPPFLAGS'
46471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46474
46475 cat >conftest.$ac_ext <<_ACEOF
46476 /* confdefs.h. */
46477 _ACEOF
46478 cat confdefs.h >>conftest.$ac_ext
46479 cat >>conftest.$ac_ext <<_ACEOF
46480 /* end confdefs.h. */
46481
46482 #include <time.h>
46483
46484 int
46485 main ()
46486 {
46487
46488 int tz;
46489 tz = timezone;
46490
46491 ;
46492 return 0;
46493 }
46494 _ACEOF
46495 rm -f conftest.$ac_objext
46496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46497 (eval $ac_compile) 2>conftest.er1
46498 ac_status=$?
46499 grep -v '^ *+' conftest.er1 >conftest.err
46500 rm -f conftest.er1
46501 cat conftest.err >&5
46502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46503 (exit $ac_status); } &&
46504 { ac_try='test -z "$ac_cxx_werror_flag"
46505 || test ! -s conftest.err'
46506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46507 (eval $ac_try) 2>&5
46508 ac_status=$?
46509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46510 (exit $ac_status); }; } &&
46511 { ac_try='test -s conftest.$ac_objext'
46512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46513 (eval $ac_try) 2>&5
46514 ac_status=$?
46515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46516 (exit $ac_status); }; }; then
46517
46518 wx_cv_var_timezone=timezone
46519
46520 else
46521 echo "$as_me: failed program was:" >&5
46522 sed 's/^/| /' conftest.$ac_ext >&5
46523
46524
46525 cat >conftest.$ac_ext <<_ACEOF
46526 /* confdefs.h. */
46527 _ACEOF
46528 cat confdefs.h >>conftest.$ac_ext
46529 cat >>conftest.$ac_ext <<_ACEOF
46530 /* end confdefs.h. */
46531
46532 #include <time.h>
46533
46534 int
46535 main ()
46536 {
46537
46538 int tz;
46539 tz = _timezone;
46540
46541 ;
46542 return 0;
46543 }
46544 _ACEOF
46545 rm -f conftest.$ac_objext
46546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46547 (eval $ac_compile) 2>conftest.er1
46548 ac_status=$?
46549 grep -v '^ *+' conftest.er1 >conftest.err
46550 rm -f conftest.er1
46551 cat conftest.err >&5
46552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46553 (exit $ac_status); } &&
46554 { ac_try='test -z "$ac_cxx_werror_flag"
46555 || test ! -s conftest.err'
46556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46557 (eval $ac_try) 2>&5
46558 ac_status=$?
46559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46560 (exit $ac_status); }; } &&
46561 { ac_try='test -s conftest.$ac_objext'
46562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46563 (eval $ac_try) 2>&5
46564 ac_status=$?
46565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46566 (exit $ac_status); }; }; then
46567
46568 wx_cv_var_timezone=_timezone
46569
46570 else
46571 echo "$as_me: failed program was:" >&5
46572 sed 's/^/| /' conftest.$ac_ext >&5
46573
46574
46575 cat >conftest.$ac_ext <<_ACEOF
46576 /* confdefs.h. */
46577 _ACEOF
46578 cat confdefs.h >>conftest.$ac_ext
46579 cat >>conftest.$ac_ext <<_ACEOF
46580 /* end confdefs.h. */
46581
46582 #include <time.h>
46583
46584 int
46585 main ()
46586 {
46587
46588 int tz;
46589 tz = __timezone;
46590
46591 ;
46592 return 0;
46593 }
46594 _ACEOF
46595 rm -f conftest.$ac_objext
46596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46597 (eval $ac_compile) 2>conftest.er1
46598 ac_status=$?
46599 grep -v '^ *+' conftest.er1 >conftest.err
46600 rm -f conftest.er1
46601 cat conftest.err >&5
46602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46603 (exit $ac_status); } &&
46604 { ac_try='test -z "$ac_cxx_werror_flag"
46605 || test ! -s conftest.err'
46606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46607 (eval $ac_try) 2>&5
46608 ac_status=$?
46609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46610 (exit $ac_status); }; } &&
46611 { ac_try='test -s conftest.$ac_objext'
46612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46613 (eval $ac_try) 2>&5
46614 ac_status=$?
46615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46616 (exit $ac_status); }; }; then
46617
46618 wx_cv_var_timezone=__timezone
46619
46620 else
46621 echo "$as_me: failed program was:" >&5
46622 sed 's/^/| /' conftest.$ac_ext >&5
46623
46624
46625 if test "$USE_DOS" = 0 ; then
46626 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46627 echo "$as_me: WARNING: no timezone variable" >&2;}
46628 fi
46629
46630
46631 fi
46632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46633
46634
46635 fi
46636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46637
46638
46639 fi
46640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46641 ac_ext=c
46642 ac_cpp='$CPP $CPPFLAGS'
46643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46646
46647
46648
46649 fi
46650 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46651 echo "${ECHO_T}$wx_cv_var_timezone" >&6
46652
46653 if test "x$wx_cv_var_timezone" != x ; then
46654 cat >>confdefs.h <<_ACEOF
46655 #define WX_TIMEZONE $wx_cv_var_timezone
46656 _ACEOF
46657
46658 fi
46659
46660
46661 for ac_func in localtime
46662 do
46663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46664 echo "$as_me:$LINENO: checking for $ac_func" >&5
46665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46666 if eval "test \"\${$as_ac_var+set}\" = set"; then
46667 echo $ECHO_N "(cached) $ECHO_C" >&6
46668 else
46669 cat >conftest.$ac_ext <<_ACEOF
46670 /* confdefs.h. */
46671 _ACEOF
46672 cat confdefs.h >>conftest.$ac_ext
46673 cat >>conftest.$ac_ext <<_ACEOF
46674 /* end confdefs.h. */
46675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46677 #define $ac_func innocuous_$ac_func
46678
46679 /* System header to define __stub macros and hopefully few prototypes,
46680 which can conflict with char $ac_func (); below.
46681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46682 <limits.h> exists even on freestanding compilers. */
46683
46684 #ifdef __STDC__
46685 # include <limits.h>
46686 #else
46687 # include <assert.h>
46688 #endif
46689
46690 #undef $ac_func
46691
46692 /* Override any gcc2 internal prototype to avoid an error. */
46693 #ifdef __cplusplus
46694 extern "C"
46695 {
46696 #endif
46697 /* We use char because int might match the return type of a gcc2
46698 builtin and then its argument prototype would still apply. */
46699 char $ac_func ();
46700 /* The GNU C library defines this for functions which it implements
46701 to always fail with ENOSYS. Some functions are actually named
46702 something starting with __ and the normal name is an alias. */
46703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46704 choke me
46705 #else
46706 char (*f) () = $ac_func;
46707 #endif
46708 #ifdef __cplusplus
46709 }
46710 #endif
46711
46712 int
46713 main ()
46714 {
46715 return f != $ac_func;
46716 ;
46717 return 0;
46718 }
46719 _ACEOF
46720 rm -f conftest.$ac_objext conftest$ac_exeext
46721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46722 (eval $ac_link) 2>conftest.er1
46723 ac_status=$?
46724 grep -v '^ *+' conftest.er1 >conftest.err
46725 rm -f conftest.er1
46726 cat conftest.err >&5
46727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46728 (exit $ac_status); } &&
46729 { ac_try='test -z "$ac_c_werror_flag"
46730 || test ! -s conftest.err'
46731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46732 (eval $ac_try) 2>&5
46733 ac_status=$?
46734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46735 (exit $ac_status); }; } &&
46736 { ac_try='test -s conftest$ac_exeext'
46737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46738 (eval $ac_try) 2>&5
46739 ac_status=$?
46740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46741 (exit $ac_status); }; }; then
46742 eval "$as_ac_var=yes"
46743 else
46744 echo "$as_me: failed program was:" >&5
46745 sed 's/^/| /' conftest.$ac_ext >&5
46746
46747 eval "$as_ac_var=no"
46748 fi
46749 rm -f conftest.err conftest.$ac_objext \
46750 conftest$ac_exeext conftest.$ac_ext
46751 fi
46752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46754 if test `eval echo '${'$as_ac_var'}'` = yes; then
46755 cat >>confdefs.h <<_ACEOF
46756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46757 _ACEOF
46758
46759 fi
46760 done
46761
46762
46763 if test "$ac_cv_func_localtime" = "yes"; then
46764 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46765 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
46766 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46767 echo $ECHO_N "(cached) $ECHO_C" >&6
46768 else
46769
46770 cat >conftest.$ac_ext <<_ACEOF
46771 /* confdefs.h. */
46772 _ACEOF
46773 cat confdefs.h >>conftest.$ac_ext
46774 cat >>conftest.$ac_ext <<_ACEOF
46775 /* end confdefs.h. */
46776
46777 #include <time.h>
46778
46779 int
46780 main ()
46781 {
46782
46783 struct tm tm;
46784 tm.tm_gmtoff++;
46785
46786 ;
46787 return 0;
46788 }
46789 _ACEOF
46790 rm -f conftest.$ac_objext
46791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46792 (eval $ac_compile) 2>conftest.er1
46793 ac_status=$?
46794 grep -v '^ *+' conftest.er1 >conftest.err
46795 rm -f conftest.er1
46796 cat conftest.err >&5
46797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46798 (exit $ac_status); } &&
46799 { ac_try='test -z "$ac_c_werror_flag"
46800 || test ! -s conftest.err'
46801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46802 (eval $ac_try) 2>&5
46803 ac_status=$?
46804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46805 (exit $ac_status); }; } &&
46806 { ac_try='test -s conftest.$ac_objext'
46807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46808 (eval $ac_try) 2>&5
46809 ac_status=$?
46810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46811 (exit $ac_status); }; }; then
46812
46813 wx_cv_struct_tm_has_gmtoff=yes
46814
46815 else
46816 echo "$as_me: failed program was:" >&5
46817 sed 's/^/| /' conftest.$ac_ext >&5
46818
46819 wx_cv_struct_tm_has_gmtoff=no
46820
46821 fi
46822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46823
46824 fi
46825 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46826 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
46827 fi
46828
46829 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46830 cat >>confdefs.h <<\_ACEOF
46831 #define WX_GMTOFF_IN_TM 1
46832 _ACEOF
46833
46834 fi
46835
46836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46837 fi
46838
46839
46840 if test "$wxUSE_SOCKETS" = "yes"; then
46841 if test "$wxUSE_MGL" = "1"; then
46842 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46843 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46844 wxUSE_SOCKETS="no"
46845 fi
46846 fi
46847
46848 if test "$wxUSE_SOCKETS" = "yes"; then
46849 if test "$TOOLKIT" != "MSW"; then
46850 echo "$as_me:$LINENO: checking for socket" >&5
46851 echo $ECHO_N "checking for socket... $ECHO_C" >&6
46852 if test "${ac_cv_func_socket+set}" = set; then
46853 echo $ECHO_N "(cached) $ECHO_C" >&6
46854 else
46855 cat >conftest.$ac_ext <<_ACEOF
46856 /* confdefs.h. */
46857 _ACEOF
46858 cat confdefs.h >>conftest.$ac_ext
46859 cat >>conftest.$ac_ext <<_ACEOF
46860 /* end confdefs.h. */
46861 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46862 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46863 #define socket innocuous_socket
46864
46865 /* System header to define __stub macros and hopefully few prototypes,
46866 which can conflict with char socket (); below.
46867 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46868 <limits.h> exists even on freestanding compilers. */
46869
46870 #ifdef __STDC__
46871 # include <limits.h>
46872 #else
46873 # include <assert.h>
46874 #endif
46875
46876 #undef socket
46877
46878 /* Override any gcc2 internal prototype to avoid an error. */
46879 #ifdef __cplusplus
46880 extern "C"
46881 {
46882 #endif
46883 /* We use char because int might match the return type of a gcc2
46884 builtin and then its argument prototype would still apply. */
46885 char socket ();
46886 /* The GNU C library defines this for functions which it implements
46887 to always fail with ENOSYS. Some functions are actually named
46888 something starting with __ and the normal name is an alias. */
46889 #if defined (__stub_socket) || defined (__stub___socket)
46890 choke me
46891 #else
46892 char (*f) () = socket;
46893 #endif
46894 #ifdef __cplusplus
46895 }
46896 #endif
46897
46898 int
46899 main ()
46900 {
46901 return f != socket;
46902 ;
46903 return 0;
46904 }
46905 _ACEOF
46906 rm -f conftest.$ac_objext conftest$ac_exeext
46907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46908 (eval $ac_link) 2>conftest.er1
46909 ac_status=$?
46910 grep -v '^ *+' conftest.er1 >conftest.err
46911 rm -f conftest.er1
46912 cat conftest.err >&5
46913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46914 (exit $ac_status); } &&
46915 { ac_try='test -z "$ac_c_werror_flag"
46916 || test ! -s conftest.err'
46917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46918 (eval $ac_try) 2>&5
46919 ac_status=$?
46920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46921 (exit $ac_status); }; } &&
46922 { ac_try='test -s conftest$ac_exeext'
46923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46924 (eval $ac_try) 2>&5
46925 ac_status=$?
46926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46927 (exit $ac_status); }; }; then
46928 ac_cv_func_socket=yes
46929 else
46930 echo "$as_me: failed program was:" >&5
46931 sed 's/^/| /' conftest.$ac_ext >&5
46932
46933 ac_cv_func_socket=no
46934 fi
46935 rm -f conftest.err conftest.$ac_objext \
46936 conftest$ac_exeext conftest.$ac_ext
46937 fi
46938 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46939 echo "${ECHO_T}$ac_cv_func_socket" >&6
46940 if test $ac_cv_func_socket = yes; then
46941 :
46942 else
46943
46944 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46945 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
46946 if test "${ac_cv_lib_socket_socket+set}" = set; then
46947 echo $ECHO_N "(cached) $ECHO_C" >&6
46948 else
46949 ac_check_lib_save_LIBS=$LIBS
46950 LIBS="-lsocket $LIBS"
46951 cat >conftest.$ac_ext <<_ACEOF
46952 /* confdefs.h. */
46953 _ACEOF
46954 cat confdefs.h >>conftest.$ac_ext
46955 cat >>conftest.$ac_ext <<_ACEOF
46956 /* end confdefs.h. */
46957
46958 /* Override any gcc2 internal prototype to avoid an error. */
46959 #ifdef __cplusplus
46960 extern "C"
46961 #endif
46962 /* We use char because int might match the return type of a gcc2
46963 builtin and then its argument prototype would still apply. */
46964 char socket ();
46965 int
46966 main ()
46967 {
46968 socket ();
46969 ;
46970 return 0;
46971 }
46972 _ACEOF
46973 rm -f conftest.$ac_objext conftest$ac_exeext
46974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46975 (eval $ac_link) 2>conftest.er1
46976 ac_status=$?
46977 grep -v '^ *+' conftest.er1 >conftest.err
46978 rm -f conftest.er1
46979 cat conftest.err >&5
46980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46981 (exit $ac_status); } &&
46982 { ac_try='test -z "$ac_c_werror_flag"
46983 || test ! -s conftest.err'
46984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46985 (eval $ac_try) 2>&5
46986 ac_status=$?
46987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46988 (exit $ac_status); }; } &&
46989 { ac_try='test -s conftest$ac_exeext'
46990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46991 (eval $ac_try) 2>&5
46992 ac_status=$?
46993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46994 (exit $ac_status); }; }; then
46995 ac_cv_lib_socket_socket=yes
46996 else
46997 echo "$as_me: failed program was:" >&5
46998 sed 's/^/| /' conftest.$ac_ext >&5
46999
47000 ac_cv_lib_socket_socket=no
47001 fi
47002 rm -f conftest.err conftest.$ac_objext \
47003 conftest$ac_exeext conftest.$ac_ext
47004 LIBS=$ac_check_lib_save_LIBS
47005 fi
47006 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
47007 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
47008 if test $ac_cv_lib_socket_socket = yes; then
47009 if test "$INET_LINK" != " -lsocket"; then
47010 INET_LINK="$INET_LINK -lsocket"
47011 fi
47012 else
47013
47014 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
47015 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
47016 wxUSE_SOCKETS=no
47017
47018
47019 fi
47020
47021
47022
47023 fi
47024
47025 fi
47026 fi
47027
47028 if test "$wxUSE_SOCKETS" = "yes" ; then
47029 if test "$TOOLKIT" != "MSW"; then
47030 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
47031 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
47032 if test "${wx_cv_type_getsockname3+set}" = set; then
47033 echo $ECHO_N "(cached) $ECHO_C" >&6
47034 else
47035
47036 ac_ext=cc
47037 ac_cpp='$CXXCPP $CPPFLAGS'
47038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47041
47042 cat >conftest.$ac_ext <<_ACEOF
47043 /* confdefs.h. */
47044 _ACEOF
47045 cat confdefs.h >>conftest.$ac_ext
47046 cat >>conftest.$ac_ext <<_ACEOF
47047 /* end confdefs.h. */
47048
47049 #include <sys/types.h>
47050 #include <sys/socket.h>
47051
47052 int
47053 main ()
47054 {
47055
47056 socklen_t len;
47057 getsockname(0, 0, &len);
47058
47059 ;
47060 return 0;
47061 }
47062 _ACEOF
47063 rm -f conftest.$ac_objext
47064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47065 (eval $ac_compile) 2>conftest.er1
47066 ac_status=$?
47067 grep -v '^ *+' conftest.er1 >conftest.err
47068 rm -f conftest.er1
47069 cat conftest.err >&5
47070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47071 (exit $ac_status); } &&
47072 { ac_try='test -z "$ac_cxx_werror_flag"
47073 || test ! -s conftest.err'
47074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47075 (eval $ac_try) 2>&5
47076 ac_status=$?
47077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47078 (exit $ac_status); }; } &&
47079 { ac_try='test -s conftest.$ac_objext'
47080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47081 (eval $ac_try) 2>&5
47082 ac_status=$?
47083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47084 (exit $ac_status); }; }; then
47085 wx_cv_type_getsockname3=socklen_t
47086 else
47087 echo "$as_me: failed program was:" >&5
47088 sed 's/^/| /' conftest.$ac_ext >&5
47089
47090
47091 CFLAGS_OLD="$CFLAGS"
47092 if test "$GCC" = yes ; then
47093 CFLAGS="-Werror $CFLAGS"
47094 fi
47095
47096 cat >conftest.$ac_ext <<_ACEOF
47097 /* confdefs.h. */
47098 _ACEOF
47099 cat confdefs.h >>conftest.$ac_ext
47100 cat >>conftest.$ac_ext <<_ACEOF
47101 /* end confdefs.h. */
47102
47103 #include <sys/types.h>
47104 #include <sys/socket.h>
47105
47106 int
47107 main ()
47108 {
47109
47110 size_t len;
47111 getsockname(0, 0, &len);
47112
47113 ;
47114 return 0;
47115 }
47116 _ACEOF
47117 rm -f conftest.$ac_objext
47118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47119 (eval $ac_compile) 2>conftest.er1
47120 ac_status=$?
47121 grep -v '^ *+' conftest.er1 >conftest.err
47122 rm -f conftest.er1
47123 cat conftest.err >&5
47124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47125 (exit $ac_status); } &&
47126 { ac_try='test -z "$ac_cxx_werror_flag"
47127 || test ! -s conftest.err'
47128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47129 (eval $ac_try) 2>&5
47130 ac_status=$?
47131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47132 (exit $ac_status); }; } &&
47133 { ac_try='test -s conftest.$ac_objext'
47134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47135 (eval $ac_try) 2>&5
47136 ac_status=$?
47137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47138 (exit $ac_status); }; }; then
47139 wx_cv_type_getsockname3=size_t
47140 else
47141 echo "$as_me: failed program was:" >&5
47142 sed 's/^/| /' conftest.$ac_ext >&5
47143
47144 cat >conftest.$ac_ext <<_ACEOF
47145 /* confdefs.h. */
47146 _ACEOF
47147 cat confdefs.h >>conftest.$ac_ext
47148 cat >>conftest.$ac_ext <<_ACEOF
47149 /* end confdefs.h. */
47150
47151 #include <sys/types.h>
47152 #include <sys/socket.h>
47153
47154 int
47155 main ()
47156 {
47157
47158 int len;
47159 getsockname(0, 0, &len);
47160
47161 ;
47162 return 0;
47163 }
47164 _ACEOF
47165 rm -f conftest.$ac_objext
47166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47167 (eval $ac_compile) 2>conftest.er1
47168 ac_status=$?
47169 grep -v '^ *+' conftest.er1 >conftest.err
47170 rm -f conftest.er1
47171 cat conftest.err >&5
47172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47173 (exit $ac_status); } &&
47174 { ac_try='test -z "$ac_cxx_werror_flag"
47175 || test ! -s conftest.err'
47176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47177 (eval $ac_try) 2>&5
47178 ac_status=$?
47179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47180 (exit $ac_status); }; } &&
47181 { ac_try='test -s conftest.$ac_objext'
47182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47183 (eval $ac_try) 2>&5
47184 ac_status=$?
47185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47186 (exit $ac_status); }; }; then
47187 wx_cv_type_getsockname3=int
47188 else
47189 echo "$as_me: failed program was:" >&5
47190 sed 's/^/| /' conftest.$ac_ext >&5
47191
47192 wx_cv_type_getsockname3=unknown
47193
47194 fi
47195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47196
47197 fi
47198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47199
47200 CFLAGS="$CFLAGS_OLD"
47201
47202
47203 fi
47204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47205 ac_ext=c
47206 ac_cpp='$CPP $CPPFLAGS'
47207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47210
47211
47212 fi
47213 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47214 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
47215
47216 if test "$wx_cv_type_getsockname3" = "unknown"; then
47217 wxUSE_SOCKETS=no
47218 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47219 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47220 else
47221 cat >>confdefs.h <<_ACEOF
47222 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47223 _ACEOF
47224
47225 fi
47226 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47227 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
47228 if test "${wx_cv_type_getsockopt5+set}" = set; then
47229 echo $ECHO_N "(cached) $ECHO_C" >&6
47230 else
47231
47232 ac_ext=cc
47233 ac_cpp='$CXXCPP $CPPFLAGS'
47234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47237
47238 cat >conftest.$ac_ext <<_ACEOF
47239 /* confdefs.h. */
47240 _ACEOF
47241 cat confdefs.h >>conftest.$ac_ext
47242 cat >>conftest.$ac_ext <<_ACEOF
47243 /* end confdefs.h. */
47244
47245 #include <sys/types.h>
47246 #include <sys/socket.h>
47247
47248 int
47249 main ()
47250 {
47251
47252 socklen_t len;
47253 getsockopt(0, 0, 0, 0, &len);
47254
47255 ;
47256 return 0;
47257 }
47258 _ACEOF
47259 rm -f conftest.$ac_objext
47260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47261 (eval $ac_compile) 2>conftest.er1
47262 ac_status=$?
47263 grep -v '^ *+' conftest.er1 >conftest.err
47264 rm -f conftest.er1
47265 cat conftest.err >&5
47266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47267 (exit $ac_status); } &&
47268 { ac_try='test -z "$ac_cxx_werror_flag"
47269 || test ! -s conftest.err'
47270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47271 (eval $ac_try) 2>&5
47272 ac_status=$?
47273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47274 (exit $ac_status); }; } &&
47275 { ac_try='test -s conftest.$ac_objext'
47276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47277 (eval $ac_try) 2>&5
47278 ac_status=$?
47279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47280 (exit $ac_status); }; }; then
47281 wx_cv_type_getsockopt5=socklen_t
47282 else
47283 echo "$as_me: failed program was:" >&5
47284 sed 's/^/| /' conftest.$ac_ext >&5
47285
47286
47287 cat >conftest.$ac_ext <<_ACEOF
47288 /* confdefs.h. */
47289 _ACEOF
47290 cat confdefs.h >>conftest.$ac_ext
47291 cat >>conftest.$ac_ext <<_ACEOF
47292 /* end confdefs.h. */
47293
47294 #include <sys/types.h>
47295 #include <sys/socket.h>
47296
47297 int
47298 main ()
47299 {
47300
47301 size_t len;
47302 getsockopt(0, 0, 0, 0, &len);
47303
47304 ;
47305 return 0;
47306 }
47307 _ACEOF
47308 rm -f conftest.$ac_objext
47309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47310 (eval $ac_compile) 2>conftest.er1
47311 ac_status=$?
47312 grep -v '^ *+' conftest.er1 >conftest.err
47313 rm -f conftest.er1
47314 cat conftest.err >&5
47315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47316 (exit $ac_status); } &&
47317 { ac_try='test -z "$ac_cxx_werror_flag"
47318 || test ! -s conftest.err'
47319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47320 (eval $ac_try) 2>&5
47321 ac_status=$?
47322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47323 (exit $ac_status); }; } &&
47324 { ac_try='test -s conftest.$ac_objext'
47325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47326 (eval $ac_try) 2>&5
47327 ac_status=$?
47328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47329 (exit $ac_status); }; }; then
47330 wx_cv_type_getsockopt5=size_t
47331 else
47332 echo "$as_me: failed program was:" >&5
47333 sed 's/^/| /' conftest.$ac_ext >&5
47334
47335 cat >conftest.$ac_ext <<_ACEOF
47336 /* confdefs.h. */
47337 _ACEOF
47338 cat confdefs.h >>conftest.$ac_ext
47339 cat >>conftest.$ac_ext <<_ACEOF
47340 /* end confdefs.h. */
47341
47342 #include <sys/types.h>
47343 #include <sys/socket.h>
47344
47345 int
47346 main ()
47347 {
47348
47349 int len;
47350 getsockopt(0, 0, 0, 0, &len);
47351
47352 ;
47353 return 0;
47354 }
47355 _ACEOF
47356 rm -f conftest.$ac_objext
47357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47358 (eval $ac_compile) 2>conftest.er1
47359 ac_status=$?
47360 grep -v '^ *+' conftest.er1 >conftest.err
47361 rm -f conftest.er1
47362 cat conftest.err >&5
47363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47364 (exit $ac_status); } &&
47365 { ac_try='test -z "$ac_cxx_werror_flag"
47366 || test ! -s conftest.err'
47367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47368 (eval $ac_try) 2>&5
47369 ac_status=$?
47370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47371 (exit $ac_status); }; } &&
47372 { ac_try='test -s conftest.$ac_objext'
47373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47374 (eval $ac_try) 2>&5
47375 ac_status=$?
47376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47377 (exit $ac_status); }; }; then
47378 wx_cv_type_getsockopt5=int
47379 else
47380 echo "$as_me: failed program was:" >&5
47381 sed 's/^/| /' conftest.$ac_ext >&5
47382
47383 wx_cv_type_getsockopt5=unknown
47384
47385 fi
47386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47387
47388 fi
47389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47390
47391
47392 fi
47393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47394 ac_ext=c
47395 ac_cpp='$CPP $CPPFLAGS'
47396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47399
47400
47401 fi
47402 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47403 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
47404
47405 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47406 wxUSE_SOCKETS=no
47407 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47408 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47409 else
47410 cat >>confdefs.h <<_ACEOF
47411 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47412 _ACEOF
47413
47414 fi
47415 fi
47416 fi
47417
47418 if test "$wxUSE_SOCKETS" = "yes" ; then
47419 cat >>confdefs.h <<\_ACEOF
47420 #define wxUSE_SOCKETS 1
47421 _ACEOF
47422
47423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47424 fi
47425
47426 if test "$wxUSE_PROTOCOL" = "yes"; then
47427 if test "$wxUSE_SOCKETS" != "yes"; then
47428 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47429 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47430 wxUSE_PROTOCOL=no
47431 fi
47432 fi
47433
47434 if test "$wxUSE_PROTOCOL" = "yes"; then
47435 cat >>confdefs.h <<\_ACEOF
47436 #define wxUSE_PROTOCOL 1
47437 _ACEOF
47438
47439
47440 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47441 cat >>confdefs.h <<\_ACEOF
47442 #define wxUSE_PROTOCOL_HTTP 1
47443 _ACEOF
47444
47445 fi
47446 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47447 cat >>confdefs.h <<\_ACEOF
47448 #define wxUSE_PROTOCOL_FTP 1
47449 _ACEOF
47450
47451 fi
47452 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47453 cat >>confdefs.h <<\_ACEOF
47454 #define wxUSE_PROTOCOL_FILE 1
47455 _ACEOF
47456
47457 fi
47458 else
47459 if test "$wxUSE_FS_INET" = "yes"; then
47460 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47461 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47462 wxUSE_FS_INET="no"
47463 fi
47464 fi
47465
47466 if test "$wxUSE_URL" = "yes"; then
47467 if test "$wxUSE_PROTOCOL" != "yes"; then
47468 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47469 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47470 wxUSE_URL=no
47471 fi
47472 if test "$wxUSE_URL" = "yes"; then
47473 cat >>confdefs.h <<\_ACEOF
47474 #define wxUSE_URL 1
47475 _ACEOF
47476
47477 fi
47478 fi
47479
47480 if test "$wxUSE_VARIANT" = "yes"; then
47481 cat >>confdefs.h <<\_ACEOF
47482 #define wxUSE_VARIANT 1
47483 _ACEOF
47484
47485 fi
47486
47487 if test "$wxUSE_FS_INET" = "yes"; then
47488 cat >>confdefs.h <<\_ACEOF
47489 #define wxUSE_FS_INET 1
47490 _ACEOF
47491
47492 fi
47493
47494
47495 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47496 wxUSE_JOYSTICK=no
47497
47498 if test "$TOOLKIT" = "MSW"; then
47499 wxUSE_JOYSTICK=yes
47500
47501 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47502 if test "$USE_DARWIN" = 1; then
47503 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47504 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
47505 ac_ext=cc
47506 ac_cpp='$CXXCPP $CPPFLAGS'
47507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47510
47511 cat >conftest.$ac_ext <<_ACEOF
47512 /* confdefs.h. */
47513 _ACEOF
47514 cat confdefs.h >>conftest.$ac_ext
47515 cat >>conftest.$ac_ext <<_ACEOF
47516 /* end confdefs.h. */
47517 #include <IOKit/hid/IOHIDLib.h>
47518 int
47519 main ()
47520 {
47521 IOHIDQueueInterface *qi = NULL;
47522 IOHIDCallbackFunction cb = NULL;
47523 qi->setEventCallout(NULL, cb, NULL, NULL);
47524 ;
47525 return 0;
47526 }
47527 _ACEOF
47528 rm -f conftest.$ac_objext
47529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47530 (eval $ac_compile) 2>conftest.er1
47531 ac_status=$?
47532 grep -v '^ *+' conftest.er1 >conftest.err
47533 rm -f conftest.er1
47534 cat conftest.err >&5
47535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47536 (exit $ac_status); } &&
47537 { ac_try='test -z "$ac_cxx_werror_flag"
47538 || test ! -s conftest.err'
47539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47540 (eval $ac_try) 2>&5
47541 ac_status=$?
47542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47543 (exit $ac_status); }; } &&
47544 { ac_try='test -s conftest.$ac_objext'
47545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47546 (eval $ac_try) 2>&5
47547 ac_status=$?
47548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47549 (exit $ac_status); }; }; then
47550 wxUSE_JOYSTICK=yes
47551
47552 else
47553 echo "$as_me: failed program was:" >&5
47554 sed 's/^/| /' conftest.$ac_ext >&5
47555
47556 fi
47557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47558 ac_ext=c
47559 ac_cpp='$CPP $CPPFLAGS'
47560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47563
47564 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47565 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
47566 fi
47567
47568 else
47569 if test "$wxUSE_MGL" != "1"; then
47570
47571 for ac_header in linux/joystick.h
47572 do
47573 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47574 echo "$as_me:$LINENO: checking for $ac_header" >&5
47575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
47576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
47577 echo $ECHO_N "(cached) $ECHO_C" >&6
47578 else
47579 cat >conftest.$ac_ext <<_ACEOF
47580 /* confdefs.h. */
47581 _ACEOF
47582 cat confdefs.h >>conftest.$ac_ext
47583 cat >>conftest.$ac_ext <<_ACEOF
47584 /* end confdefs.h. */
47585 $ac_includes_default
47586
47587 #include <$ac_header>
47588 _ACEOF
47589 rm -f conftest.$ac_objext
47590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47591 (eval $ac_compile) 2>conftest.er1
47592 ac_status=$?
47593 grep -v '^ *+' conftest.er1 >conftest.err
47594 rm -f conftest.er1
47595 cat conftest.err >&5
47596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47597 (exit $ac_status); } &&
47598 { ac_try='test -z "$ac_c_werror_flag"
47599 || test ! -s conftest.err'
47600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47601 (eval $ac_try) 2>&5
47602 ac_status=$?
47603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47604 (exit $ac_status); }; } &&
47605 { ac_try='test -s conftest.$ac_objext'
47606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47607 (eval $ac_try) 2>&5
47608 ac_status=$?
47609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47610 (exit $ac_status); }; }; then
47611 eval "$as_ac_Header=yes"
47612 else
47613 echo "$as_me: failed program was:" >&5
47614 sed 's/^/| /' conftest.$ac_ext >&5
47615
47616 eval "$as_ac_Header=no"
47617 fi
47618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47619 fi
47620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
47621 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
47622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47623 cat >>confdefs.h <<_ACEOF
47624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47625 _ACEOF
47626 wxUSE_JOYSTICK=yes
47627 fi
47628
47629 done
47630
47631 fi
47632 fi
47633
47634 if test "$wxUSE_JOYSTICK" = "yes"; then
47635 cat >>confdefs.h <<\_ACEOF
47636 #define wxUSE_JOYSTICK 1
47637 _ACEOF
47638
47639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47640 else
47641 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47642 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47643 fi
47644 fi
47645
47646
47647
47648 if test "$wxUSE_FONTENUM" = "yes" ; then
47649 cat >>confdefs.h <<\_ACEOF
47650 #define wxUSE_FONTENUM 1
47651 _ACEOF
47652
47653 fi
47654
47655 if test "$wxUSE_FONTMAP" = "yes" ; then
47656 cat >>confdefs.h <<\_ACEOF
47657 #define wxUSE_FONTMAP 1
47658 _ACEOF
47659
47660 fi
47661
47662 if test "$wxUSE_UNICODE" = "yes" ; then
47663 cat >>confdefs.h <<\_ACEOF
47664 #define wxUSE_UNICODE 1
47665 _ACEOF
47666
47667
47668 if test "$USE_WIN32" != 1; then
47669 wxUSE_UNICODE_MSLU=no
47670 fi
47671
47672 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47673 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47674 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
47675 if test "${ac_cv_lib_unicows_main+set}" = set; then
47676 echo $ECHO_N "(cached) $ECHO_C" >&6
47677 else
47678 ac_check_lib_save_LIBS=$LIBS
47679 LIBS="-lunicows $LIBS"
47680 cat >conftest.$ac_ext <<_ACEOF
47681 /* confdefs.h. */
47682 _ACEOF
47683 cat confdefs.h >>conftest.$ac_ext
47684 cat >>conftest.$ac_ext <<_ACEOF
47685 /* end confdefs.h. */
47686
47687
47688 int
47689 main ()
47690 {
47691 main ();
47692 ;
47693 return 0;
47694 }
47695 _ACEOF
47696 rm -f conftest.$ac_objext conftest$ac_exeext
47697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47698 (eval $ac_link) 2>conftest.er1
47699 ac_status=$?
47700 grep -v '^ *+' conftest.er1 >conftest.err
47701 rm -f conftest.er1
47702 cat conftest.err >&5
47703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47704 (exit $ac_status); } &&
47705 { ac_try='test -z "$ac_c_werror_flag"
47706 || test ! -s conftest.err'
47707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47708 (eval $ac_try) 2>&5
47709 ac_status=$?
47710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47711 (exit $ac_status); }; } &&
47712 { ac_try='test -s conftest$ac_exeext'
47713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47714 (eval $ac_try) 2>&5
47715 ac_status=$?
47716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47717 (exit $ac_status); }; }; then
47718 ac_cv_lib_unicows_main=yes
47719 else
47720 echo "$as_me: failed program was:" >&5
47721 sed 's/^/| /' conftest.$ac_ext >&5
47722
47723 ac_cv_lib_unicows_main=no
47724 fi
47725 rm -f conftest.err conftest.$ac_objext \
47726 conftest$ac_exeext conftest.$ac_ext
47727 LIBS=$ac_check_lib_save_LIBS
47728 fi
47729 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47730 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
47731 if test $ac_cv_lib_unicows_main = yes; then
47732
47733 cat >>confdefs.h <<\_ACEOF
47734 #define wxUSE_UNICODE_MSLU 1
47735 _ACEOF
47736
47737
47738 else
47739
47740 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47741 Applications will only run on Windows NT/2000/XP!" >&5
47742 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47743 Applications will only run on Windows NT/2000/XP!" >&2;}
47744 wxUSE_UNICODE_MSLU=no
47745
47746 fi
47747
47748 fi
47749 fi
47750
47751 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47752 cat >>confdefs.h <<\_ACEOF
47753 #define wxUSE_UNICODE_UTF8 1
47754 _ACEOF
47755
47756
47757 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47758 cat >>confdefs.h <<\_ACEOF
47759 #define wxUSE_UTF8_LOCALE_ONLY 1
47760 _ACEOF
47761
47762 fi
47763 fi
47764
47765
47766 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47767 cat >>confdefs.h <<\_ACEOF
47768 #define wxUSE_CONSTRAINTS 1
47769 _ACEOF
47770
47771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47772 fi
47773
47774 if test "$wxUSE_MDI" = "yes"; then
47775 cat >>confdefs.h <<\_ACEOF
47776 #define wxUSE_MDI 1
47777 _ACEOF
47778
47779
47780 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47781 cat >>confdefs.h <<\_ACEOF
47782 #define wxUSE_MDI_ARCHITECTURE 1
47783 _ACEOF
47784
47785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47786 fi
47787 fi
47788
47789 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47790 cat >>confdefs.h <<\_ACEOF
47791 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47792 _ACEOF
47793
47794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47795 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47797 fi
47798 fi
47799
47800 if test "$wxUSE_HELP" = "yes"; then
47801 cat >>confdefs.h <<\_ACEOF
47802 #define wxUSE_HELP 1
47803 _ACEOF
47804
47805 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47806
47807 if test "$wxUSE_MSW" = 1; then
47808 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47809 cat >>confdefs.h <<\_ACEOF
47810 #define wxUSE_MS_HTML_HELP 1
47811 _ACEOF
47812
47813 fi
47814 fi
47815
47816 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47817 if test "$wxUSE_HTML" = "yes"; then
47818 cat >>confdefs.h <<\_ACEOF
47819 #define wxUSE_WXHTML_HELP 1
47820 _ACEOF
47821
47822 else
47823 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47824 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47825 wxUSE_WXHTML_HELP=no
47826 fi
47827 fi
47828 fi
47829
47830 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47831 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47832 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47833 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47834 else
47835 cat >>confdefs.h <<\_ACEOF
47836 #define wxUSE_PRINTING_ARCHITECTURE 1
47837 _ACEOF
47838
47839 fi
47840 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47841 fi
47842
47843 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47844 cat >>confdefs.h <<\_ACEOF
47845 #define wxUSE_POSTSCRIPT 1
47846 _ACEOF
47847
47848 fi
47849
47850 cat >>confdefs.h <<\_ACEOF
47851 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47852 _ACEOF
47853
47854
47855 if test "$wxUSE_SVG" = "yes"; then
47856 cat >>confdefs.h <<\_ACEOF
47857 #define wxUSE_SVG 1
47858 _ACEOF
47859
47860 fi
47861
47862
47863 if test "$wxUSE_METAFILE" = "yes"; then
47864 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47865 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47866 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47867 wxUSE_METAFILE=no
47868 fi
47869 fi
47870
47871
47872 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47873 -o "$wxUSE_CLIPBOARD" = "yes" \
47874 -o "$wxUSE_OLE" = "yes" \
47875 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47876 echo "$as_me:$LINENO: checking for ole2.h" >&5
47877 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6
47878 if test "${ac_cv_header_ole2_h+set}" = set; then
47879 echo $ECHO_N "(cached) $ECHO_C" >&6
47880 else
47881 cat >conftest.$ac_ext <<_ACEOF
47882 /* confdefs.h. */
47883 _ACEOF
47884 cat confdefs.h >>conftest.$ac_ext
47885 cat >>conftest.$ac_ext <<_ACEOF
47886 /* end confdefs.h. */
47887
47888
47889 #include <ole2.h>
47890 _ACEOF
47891 rm -f conftest.$ac_objext
47892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47893 (eval $ac_compile) 2>conftest.er1
47894 ac_status=$?
47895 grep -v '^ *+' conftest.er1 >conftest.err
47896 rm -f conftest.er1
47897 cat conftest.err >&5
47898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47899 (exit $ac_status); } &&
47900 { ac_try='test -z "$ac_c_werror_flag"
47901 || test ! -s conftest.err'
47902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47903 (eval $ac_try) 2>&5
47904 ac_status=$?
47905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47906 (exit $ac_status); }; } &&
47907 { ac_try='test -s conftest.$ac_objext'
47908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47909 (eval $ac_try) 2>&5
47910 ac_status=$?
47911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47912 (exit $ac_status); }; }; then
47913 ac_cv_header_ole2_h=yes
47914 else
47915 echo "$as_me: failed program was:" >&5
47916 sed 's/^/| /' conftest.$ac_ext >&5
47917
47918 ac_cv_header_ole2_h=no
47919 fi
47920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47921 fi
47922 echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47923 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6
47924
47925
47926
47927 if test "$ac_cv_header_ole2_h" = "yes" ; then
47928 if test "$GCC" = yes ; then
47929 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47930 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
47931 cat >conftest.$ac_ext <<_ACEOF
47932 /* confdefs.h. */
47933 _ACEOF
47934 cat confdefs.h >>conftest.$ac_ext
47935 cat >>conftest.$ac_ext <<_ACEOF
47936 /* end confdefs.h. */
47937 #include <windows.h>
47938 #include <ole2.h>
47939 int
47940 main ()
47941 {
47942
47943 ;
47944 return 0;
47945 }
47946 _ACEOF
47947 rm -f conftest.$ac_objext
47948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47949 (eval $ac_compile) 2>conftest.er1
47950 ac_status=$?
47951 grep -v '^ *+' conftest.er1 >conftest.err
47952 rm -f conftest.er1
47953 cat conftest.err >&5
47954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47955 (exit $ac_status); } &&
47956 { ac_try='test -z "$ac_c_werror_flag"
47957 || test ! -s conftest.err'
47958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47959 (eval $ac_try) 2>&5
47960 ac_status=$?
47961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47962 (exit $ac_status); }; } &&
47963 { ac_try='test -s conftest.$ac_objext'
47964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47965 (eval $ac_try) 2>&5
47966 ac_status=$?
47967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47968 (exit $ac_status); }; }; then
47969 echo "$as_me:$LINENO: result: no" >&5
47970 echo "${ECHO_T}no" >&6
47971 else
47972 echo "$as_me: failed program was:" >&5
47973 sed 's/^/| /' conftest.$ac_ext >&5
47974
47975 echo "$as_me:$LINENO: result: yes" >&5
47976 echo "${ECHO_T}yes" >&6
47977 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47978 fi
47979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47980 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47981 if test "$wxUSE_OLE" = "yes" ; then
47982 cat >>confdefs.h <<\_ACEOF
47983 #define wxUSE_OLE 1
47984 _ACEOF
47985
47986 cat >>confdefs.h <<\_ACEOF
47987 #define wxUSE_OLE_AUTOMATION 1
47988 _ACEOF
47989
47990 cat >>confdefs.h <<\_ACEOF
47991 #define wxUSE_ACTIVEX 1
47992 _ACEOF
47993
47994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47995 fi
47996 fi
47997
47998 if test "$wxUSE_DATAOBJ" = "yes" ; then
47999 cat >>confdefs.h <<\_ACEOF
48000 #define wxUSE_DATAOBJ 1
48001 _ACEOF
48002
48003 fi
48004 else
48005 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
48006 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
48007
48008 wxUSE_CLIPBOARD=no
48009 wxUSE_DRAG_AND_DROP=no
48010 wxUSE_DATAOBJ=no
48011 wxUSE_OLE=no
48012 fi
48013
48014 if test "$wxUSE_METAFILE" = "yes"; then
48015 cat >>confdefs.h <<\_ACEOF
48016 #define wxUSE_METAFILE 1
48017 _ACEOF
48018
48019
48020 cat >>confdefs.h <<\_ACEOF
48021 #define wxUSE_ENH_METAFILE 1
48022 _ACEOF
48023
48024 fi
48025 fi
48026
48027 if test "$wxUSE_IPC" = "yes"; then
48028 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
48029 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
48030 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
48031 wxUSE_IPC=no
48032 fi
48033
48034 if test "$wxUSE_IPC" = "yes"; then
48035 cat >>confdefs.h <<\_ACEOF
48036 #define wxUSE_IPC 1
48037 _ACEOF
48038
48039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
48040 fi
48041 fi
48042
48043 if test "$wxUSE_DATAOBJ" = "yes"; then
48044 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48045 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
48046 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
48047 wxUSE_DATAOBJ=no
48048 else
48049 cat >>confdefs.h <<\_ACEOF
48050 #define wxUSE_DATAOBJ 1
48051 _ACEOF
48052
48053 fi
48054 else
48055 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
48056 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
48057 wxUSE_CLIPBOARD=no
48058 wxUSE_DRAG_AND_DROP=no
48059 fi
48060
48061 if test "$wxUSE_CLIPBOARD" = "yes"; then
48062 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
48063 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
48064 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
48065 wxUSE_CLIPBOARD=no
48066 fi
48067
48068 if test "$wxUSE_CLIPBOARD" = "yes"; then
48069 cat >>confdefs.h <<\_ACEOF
48070 #define wxUSE_CLIPBOARD 1
48071 _ACEOF
48072
48073 fi
48074 fi
48075
48076 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
48077 if test "$wxUSE_GTK" = 1; then
48078 if test "$WXGTK12" != 1; then
48079 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
48080 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
48081 wxUSE_DRAG_AND_DROP=no
48082 fi
48083 fi
48084
48085 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
48086 "$wxUSE_DFB" = 1; then
48087 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
48088 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
48089 wxUSE_DRAG_AND_DROP=no
48090 fi
48091
48092 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
48093 cat >>confdefs.h <<\_ACEOF
48094 #define wxUSE_DRAG_AND_DROP 1
48095 _ACEOF
48096
48097 fi
48098
48099 fi
48100
48101 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
48102 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
48103 fi
48104
48105 if test "$wxUSE_SPLINES" = "yes" ; then
48106 cat >>confdefs.h <<\_ACEOF
48107 #define wxUSE_SPLINES 1
48108 _ACEOF
48109
48110 fi
48111
48112 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
48113 cat >>confdefs.h <<\_ACEOF
48114 #define wxUSE_MOUSEWHEEL 1
48115 _ACEOF
48116
48117 fi
48118
48119
48120 USES_CONTROLS=0
48121 if test "$wxUSE_CONTROLS" = "yes"; then
48122 USES_CONTROLS=1
48123 fi
48124
48125 if test "$wxUSE_ACCEL" = "yes"; then
48126 cat >>confdefs.h <<\_ACEOF
48127 #define wxUSE_ACCEL 1
48128 _ACEOF
48129
48130 USES_CONTROLS=1
48131 fi
48132
48133 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
48134 cat >>confdefs.h <<\_ACEOF
48135 #define wxUSE_ANIMATIONCTRL 1
48136 _ACEOF
48137
48138 USES_CONTROLS=1
48139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
48140 fi
48141
48142 if test "$wxUSE_BUTTON" = "yes"; then
48143 cat >>confdefs.h <<\_ACEOF
48144 #define wxUSE_BUTTON 1
48145 _ACEOF
48146
48147 USES_CONTROLS=1
48148 fi
48149
48150 if test "$wxUSE_BMPBUTTON" = "yes"; then
48151 cat >>confdefs.h <<\_ACEOF
48152 #define wxUSE_BMPBUTTON 1
48153 _ACEOF
48154
48155 USES_CONTROLS=1
48156 fi
48157
48158 if test "$wxUSE_CALCTRL" = "yes"; then
48159 cat >>confdefs.h <<\_ACEOF
48160 #define wxUSE_CALENDARCTRL 1
48161 _ACEOF
48162
48163 USES_CONTROLS=1
48164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
48165 fi
48166
48167 if test "$wxUSE_CARET" = "yes"; then
48168 cat >>confdefs.h <<\_ACEOF
48169 #define wxUSE_CARET 1
48170 _ACEOF
48171
48172 USES_CONTROLS=1
48173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
48174 fi
48175
48176 if test "$wxUSE_COLLPANE" = "yes"; then
48177 cat >>confdefs.h <<\_ACEOF
48178 #define wxUSE_COLLPANE 1
48179 _ACEOF
48180
48181 USES_CONTROLS=1
48182 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
48183 fi
48184
48185 if test "$wxUSE_COMBOBOX" = "yes"; then
48186 cat >>confdefs.h <<\_ACEOF
48187 #define wxUSE_COMBOBOX 1
48188 _ACEOF
48189
48190 USES_CONTROLS=1
48191 fi
48192
48193 if test "$wxUSE_COMBOCTRL" = "yes"; then
48194 cat >>confdefs.h <<\_ACEOF
48195 #define wxUSE_COMBOCTRL 1
48196 _ACEOF
48197
48198 USES_CONTROLS=1
48199 fi
48200
48201 if test "$wxUSE_CHOICE" = "yes"; then
48202 cat >>confdefs.h <<\_ACEOF
48203 #define wxUSE_CHOICE 1
48204 _ACEOF
48205
48206 USES_CONTROLS=1
48207 fi
48208
48209 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48210 cat >>confdefs.h <<\_ACEOF
48211 #define wxUSE_CHOICEBOOK 1
48212 _ACEOF
48213
48214 USES_CONTROLS=1
48215 fi
48216
48217 if test "$wxUSE_CHECKBOX" = "yes"; then
48218 cat >>confdefs.h <<\_ACEOF
48219 #define wxUSE_CHECKBOX 1
48220 _ACEOF
48221
48222 USES_CONTROLS=1
48223 fi
48224
48225 if test "$wxUSE_CHECKLST" = "yes"; then
48226 cat >>confdefs.h <<\_ACEOF
48227 #define wxUSE_CHECKLISTBOX 1
48228 _ACEOF
48229
48230 USES_CONTROLS=1
48231 fi
48232
48233 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48234 cat >>confdefs.h <<\_ACEOF
48235 #define wxUSE_COLOURPICKERCTRL 1
48236 _ACEOF
48237
48238 USES_CONTROLS=1
48239 fi
48240
48241 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48242 cat >>confdefs.h <<\_ACEOF
48243 #define wxUSE_DATEPICKCTRL 1
48244 _ACEOF
48245
48246 USES_CONTROLS=1
48247 fi
48248
48249 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48250 cat >>confdefs.h <<\_ACEOF
48251 #define wxUSE_DIRPICKERCTRL 1
48252 _ACEOF
48253
48254 USES_CONTROLS=1
48255 fi
48256
48257 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48258 cat >>confdefs.h <<\_ACEOF
48259 #define wxUSE_FILEPICKERCTRL 1
48260 _ACEOF
48261
48262 USES_CONTROLS=1
48263 fi
48264
48265 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48266 cat >>confdefs.h <<\_ACEOF
48267 #define wxUSE_FONTPICKERCTRL 1
48268 _ACEOF
48269
48270 USES_CONTROLS=1
48271 fi
48272
48273 if test "$wxUSE_DISPLAY" = "yes"; then
48274 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48275 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48276 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48277 wxUSE_DISPLAY=no
48278 else
48279 cat >>confdefs.h <<\_ACEOF
48280 #define wxUSE_DISPLAY 1
48281 _ACEOF
48282
48283 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
48284 fi
48285 fi
48286
48287 if test "$wxUSE_DETECT_SM" = "yes"; then
48288 cat >>confdefs.h <<\_ACEOF
48289 #define wxUSE_DETECT_SM 1
48290 _ACEOF
48291
48292 fi
48293
48294 if test "$wxUSE_GAUGE" = "yes"; then
48295 cat >>confdefs.h <<\_ACEOF
48296 #define wxUSE_GAUGE 1
48297 _ACEOF
48298
48299 USES_CONTROLS=1
48300 fi
48301
48302 if test "$wxUSE_GRID" = "yes"; then
48303 cat >>confdefs.h <<\_ACEOF
48304 #define wxUSE_GRID 1
48305 _ACEOF
48306
48307 USES_CONTROLS=1
48308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48309 fi
48310
48311 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48312 cat >>confdefs.h <<\_ACEOF
48313 #define wxUSE_HYPERLINKCTRL 1
48314 _ACEOF
48315
48316 USES_CONTROLS=1
48317 fi
48318
48319 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48320 cat >>confdefs.h <<\_ACEOF
48321 #define wxUSE_BITMAPCOMBOBOX 1
48322 _ACEOF
48323
48324 USES_CONTROLS=1
48325 fi
48326
48327 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48328 cat >>confdefs.h <<\_ACEOF
48329 #define wxUSE_DATAVIEWCTRL 1
48330 _ACEOF
48331
48332 USES_CONTROLS=1
48333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48334 fi
48335
48336 if test "$wxUSE_IMAGLIST" = "yes"; then
48337 cat >>confdefs.h <<\_ACEOF
48338 #define wxUSE_IMAGLIST 1
48339 _ACEOF
48340
48341 fi
48342
48343 if test "$wxUSE_LISTBOOK" = "yes"; then
48344 cat >>confdefs.h <<\_ACEOF
48345 #define wxUSE_LISTBOOK 1
48346 _ACEOF
48347
48348 USES_CONTROLS=1
48349 fi
48350
48351 if test "$wxUSE_LISTBOX" = "yes"; then
48352 cat >>confdefs.h <<\_ACEOF
48353 #define wxUSE_LISTBOX 1
48354 _ACEOF
48355
48356 USES_CONTROLS=1
48357 fi
48358
48359 if test "$wxUSE_LISTCTRL" = "yes"; then
48360 if test "$wxUSE_IMAGLIST" = "yes"; then
48361 cat >>confdefs.h <<\_ACEOF
48362 #define wxUSE_LISTCTRL 1
48363 _ACEOF
48364
48365 USES_CONTROLS=1
48366 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48367 else
48368 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48369 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48370 fi
48371 fi
48372
48373 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48374 cat >>confdefs.h <<\_ACEOF
48375 #define wxUSE_EDITABLELISTBOX 1
48376 _ACEOF
48377
48378 USES_CONTROLS=1
48379 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48380 fi
48381
48382 if test "$wxUSE_NOTEBOOK" = "yes"; then
48383 cat >>confdefs.h <<\_ACEOF
48384 #define wxUSE_NOTEBOOK 1
48385 _ACEOF
48386
48387 USES_CONTROLS=1
48388 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48389 fi
48390
48391 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48392 cat >>confdefs.h <<\_ACEOF
48393 #define wxUSE_ODCOMBOBOX 1
48394 _ACEOF
48395
48396 USES_CONTROLS=1
48397 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48398 fi
48399
48400 if test "$wxUSE_RADIOBOX" = "yes"; then
48401 cat >>confdefs.h <<\_ACEOF
48402 #define wxUSE_RADIOBOX 1
48403 _ACEOF
48404
48405 USES_CONTROLS=1
48406 fi
48407
48408 if test "$wxUSE_RADIOBTN" = "yes"; then
48409 cat >>confdefs.h <<\_ACEOF
48410 #define wxUSE_RADIOBTN 1
48411 _ACEOF
48412
48413 USES_CONTROLS=1
48414 fi
48415
48416 if test "$wxUSE_SASH" = "yes"; then
48417 cat >>confdefs.h <<\_ACEOF
48418 #define wxUSE_SASH 1
48419 _ACEOF
48420
48421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48422 fi
48423
48424 if test "$wxUSE_SCROLLBAR" = "yes"; then
48425 cat >>confdefs.h <<\_ACEOF
48426 #define wxUSE_SCROLLBAR 1
48427 _ACEOF
48428
48429 USES_CONTROLS=1
48430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48431 fi
48432
48433 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48434 cat >>confdefs.h <<\_ACEOF
48435 #define wxUSE_SEARCHCTRL 1
48436 _ACEOF
48437
48438 USES_CONTROLS=1
48439 fi
48440
48441 if test "$wxUSE_SLIDER" = "yes"; then
48442 cat >>confdefs.h <<\_ACEOF
48443 #define wxUSE_SLIDER 1
48444 _ACEOF
48445
48446 USES_CONTROLS=1
48447 fi
48448
48449 if test "$wxUSE_SPINBTN" = "yes"; then
48450 cat >>confdefs.h <<\_ACEOF
48451 #define wxUSE_SPINBTN 1
48452 _ACEOF
48453
48454 USES_CONTROLS=1
48455 fi
48456
48457 if test "$wxUSE_SPINCTRL" = "yes"; then
48458 cat >>confdefs.h <<\_ACEOF
48459 #define wxUSE_SPINCTRL 1
48460 _ACEOF
48461
48462 USES_CONTROLS=1
48463 fi
48464
48465 if test "$wxUSE_SPLITTER" = "yes"; then
48466 cat >>confdefs.h <<\_ACEOF
48467 #define wxUSE_SPLITTER 1
48468 _ACEOF
48469
48470 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48471 fi
48472
48473 if test "$wxUSE_STATBMP" = "yes"; then
48474 cat >>confdefs.h <<\_ACEOF
48475 #define wxUSE_STATBMP 1
48476 _ACEOF
48477
48478 USES_CONTROLS=1
48479 fi
48480
48481 if test "$wxUSE_STATBOX" = "yes"; then
48482 cat >>confdefs.h <<\_ACEOF
48483 #define wxUSE_STATBOX 1
48484 _ACEOF
48485
48486 USES_CONTROLS=1
48487 fi
48488
48489 if test "$wxUSE_STATTEXT" = "yes"; then
48490 cat >>confdefs.h <<\_ACEOF
48491 #define wxUSE_STATTEXT 1
48492 _ACEOF
48493
48494 USES_CONTROLS=1
48495 fi
48496
48497 if test "$wxUSE_STATLINE" = "yes"; then
48498 cat >>confdefs.h <<\_ACEOF
48499 #define wxUSE_STATLINE 1
48500 _ACEOF
48501
48502 USES_CONTROLS=1
48503 fi
48504
48505 if test "$wxUSE_STATUSBAR" = "yes"; then
48506 cat >>confdefs.h <<\_ACEOF
48507 #define wxUSE_NATIVE_STATUSBAR 1
48508 _ACEOF
48509
48510 cat >>confdefs.h <<\_ACEOF
48511 #define wxUSE_STATUSBAR 1
48512 _ACEOF
48513
48514 USES_CONTROLS=1
48515
48516 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48517 fi
48518
48519 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48520 cat >>confdefs.h <<\_ACEOF
48521 #define wxUSE_TAB_DIALOG 1
48522 _ACEOF
48523
48524 fi
48525
48526 if test "$wxUSE_TEXTCTRL" = "yes"; then
48527 cat >>confdefs.h <<\_ACEOF
48528 #define wxUSE_TEXTCTRL 1
48529 _ACEOF
48530
48531 USES_CONTROLS=1
48532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48533 fi
48534
48535 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48536 if test "$wxUSE_COCOA" = 1 ; then
48537 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48538 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48539 wxUSE_TOGGLEBTN=no
48540 fi
48541
48542 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48543 cat >>confdefs.h <<\_ACEOF
48544 #define wxUSE_TOGGLEBTN 1
48545 _ACEOF
48546
48547 USES_CONTROLS=1
48548 fi
48549 fi
48550
48551 if test "$wxUSE_TOOLBAR" = "yes"; then
48552 cat >>confdefs.h <<\_ACEOF
48553 #define wxUSE_TOOLBAR 1
48554 _ACEOF
48555
48556 USES_CONTROLS=1
48557
48558 if test "$wxUSE_UNIVERSAL" = "yes"; then
48559 wxUSE_TOOLBAR_NATIVE="no"
48560 else
48561 wxUSE_TOOLBAR_NATIVE="yes"
48562 cat >>confdefs.h <<\_ACEOF
48563 #define wxUSE_TOOLBAR_NATIVE 1
48564 _ACEOF
48565
48566 fi
48567
48568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48569 fi
48570
48571 if test "$wxUSE_TOOLTIPS" = "yes"; then
48572 if test "$wxUSE_MOTIF" = 1; then
48573 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48574 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48575 else
48576 if test "$wxUSE_UNIVERSAL" = "yes"; then
48577 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48578 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48579 else
48580 cat >>confdefs.h <<\_ACEOF
48581 #define wxUSE_TOOLTIPS 1
48582 _ACEOF
48583
48584 fi
48585 fi
48586 fi
48587
48588 if test "$wxUSE_TREEBOOK" = "yes"; then
48589 cat >>confdefs.h <<\_ACEOF
48590 #define wxUSE_TREEBOOK 1
48591 _ACEOF
48592
48593 USES_CONTROLS=1
48594 fi
48595
48596 if test "$wxUSE_TOOLBOOK" = "yes"; then
48597 cat >>confdefs.h <<\_ACEOF
48598 #define wxUSE_TOOLBOOK 1
48599 _ACEOF
48600
48601 USES_CONTROLS=1
48602 fi
48603
48604 if test "$wxUSE_TREECTRL" = "yes"; then
48605 if test "$wxUSE_IMAGLIST" = "yes"; then
48606 cat >>confdefs.h <<\_ACEOF
48607 #define wxUSE_TREECTRL 1
48608 _ACEOF
48609
48610 USES_CONTROLS=1
48611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48612 else
48613 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48614 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48615 fi
48616 fi
48617
48618 if test "$wxUSE_POPUPWIN" = "yes"; then
48619 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48620 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48621 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48622 else
48623 if test "$wxUSE_PM" = 1; then
48624 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48625 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48626 else
48627 cat >>confdefs.h <<\_ACEOF
48628 #define wxUSE_POPUPWIN 1
48629 _ACEOF
48630
48631 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48632
48633 USES_CONTROLS=1
48634 fi
48635 fi
48636 fi
48637
48638 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48639 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48640 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48641 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48642 else
48643 cat >>confdefs.h <<\_ACEOF
48644 #define wxUSE_DIALUP_MANAGER 1
48645 _ACEOF
48646
48647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48648 fi
48649 fi
48650
48651 if test "$wxUSE_TIPWINDOW" = "yes"; then
48652 if test "$wxUSE_PM" = 1; then
48653 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48654 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48655 else
48656 cat >>confdefs.h <<\_ACEOF
48657 #define wxUSE_TIPWINDOW 1
48658 _ACEOF
48659
48660 fi
48661 fi
48662
48663 if test "$USES_CONTROLS" = 1; then
48664 cat >>confdefs.h <<\_ACEOF
48665 #define wxUSE_CONTROLS 1
48666 _ACEOF
48667
48668 fi
48669
48670
48671 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48672 cat >>confdefs.h <<\_ACEOF
48673 #define wxUSE_ACCESSIBILITY 1
48674 _ACEOF
48675
48676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48677 fi
48678
48679 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48680 cat >>confdefs.h <<\_ACEOF
48681 #define wxUSE_DRAGIMAGE 1
48682 _ACEOF
48683
48684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48685 fi
48686
48687 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48688 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48689 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48690 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48691 else
48692 cat >>confdefs.h <<\_ACEOF
48693 #define wxUSE_EXCEPTIONS 1
48694 _ACEOF
48695
48696 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48697 fi
48698 fi
48699
48700 USE_HTML=0
48701 if test "$wxUSE_HTML" = "yes"; then
48702 cat >>confdefs.h <<\_ACEOF
48703 #define wxUSE_HTML 1
48704 _ACEOF
48705
48706 USE_HTML=1
48707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48708 if test "$wxUSE_MAC" = 1; then
48709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48710 fi
48711 fi
48712 if test "$wxUSE_WEBKIT" = "yes"; then
48713 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48714 old_CPPFLAGS="$CPPFLAGS"
48715 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48716 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48717 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
48718 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48719 echo $ECHO_N "(cached) $ECHO_C" >&6
48720 else
48721 cat >conftest.$ac_ext <<_ACEOF
48722 /* confdefs.h. */
48723 _ACEOF
48724 cat confdefs.h >>conftest.$ac_ext
48725 cat >>conftest.$ac_ext <<_ACEOF
48726 /* end confdefs.h. */
48727
48728 #include <Carbon/Carbon.h>
48729 #include <WebKit/WebKit.h>
48730
48731
48732 #include <WebKit/HIWebView.h>
48733 _ACEOF
48734 rm -f conftest.$ac_objext
48735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48736 (eval $ac_compile) 2>conftest.er1
48737 ac_status=$?
48738 grep -v '^ *+' conftest.er1 >conftest.err
48739 rm -f conftest.er1
48740 cat conftest.err >&5
48741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48742 (exit $ac_status); } &&
48743 { ac_try='test -z "$ac_c_werror_flag"
48744 || test ! -s conftest.err'
48745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48746 (eval $ac_try) 2>&5
48747 ac_status=$?
48748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48749 (exit $ac_status); }; } &&
48750 { ac_try='test -s conftest.$ac_objext'
48751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48752 (eval $ac_try) 2>&5
48753 ac_status=$?
48754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48755 (exit $ac_status); }; }; then
48756 ac_cv_header_WebKit_HIWebView_h=yes
48757 else
48758 echo "$as_me: failed program was:" >&5
48759 sed 's/^/| /' conftest.$ac_ext >&5
48760
48761 ac_cv_header_WebKit_HIWebView_h=no
48762 fi
48763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48764 fi
48765 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48766 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
48767 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48768
48769 cat >>confdefs.h <<\_ACEOF
48770 #define wxUSE_WEBKIT 1
48771 _ACEOF
48772
48773 WEBKIT_LINK="-framework WebKit"
48774
48775 else
48776
48777 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48778 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48779 wxUSE_WEBKIT=no
48780
48781 fi
48782
48783
48784 CPPFLAGS="$old_CPPFLAGS"
48785 elif test "$wxUSE_COCOA" = 1; then
48786 cat >>confdefs.h <<\_ACEOF
48787 #define wxUSE_WEBKIT 1
48788 _ACEOF
48789
48790 else
48791 wxUSE_WEBKIT=no
48792 fi
48793 fi
48794
48795 USE_XRC=0
48796 if test "$wxUSE_XRC" = "yes"; then
48797 if test "$wxUSE_XML" != "yes"; then
48798 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48799 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48800 wxUSE_XRC=no
48801 else
48802 cat >>confdefs.h <<\_ACEOF
48803 #define wxUSE_XRC 1
48804 _ACEOF
48805
48806 USE_XRC=1
48807 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48808 fi
48809 fi
48810
48811 USE_AUI=0
48812 if test "$wxUSE_AUI" = "yes"; then
48813 cat >>confdefs.h <<\_ACEOF
48814 #define wxUSE_AUI 1
48815 _ACEOF
48816
48817 USE_AUI=1
48818 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48819 fi
48820
48821 USE_STC=0
48822 if test "$wxUSE_STC" = "yes"; then
48823 cat >>confdefs.h <<\_ACEOF
48824 #define wxUSE_STC 1
48825 _ACEOF
48826
48827 USE_STC=1
48828 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48829 fi
48830
48831 if test "$wxUSE_MENUS" = "yes"; then
48832 cat >>confdefs.h <<\_ACEOF
48833 #define wxUSE_MENUS 1
48834 _ACEOF
48835
48836 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48837 fi
48838
48839 if test "$wxUSE_METAFILE" = "yes"; then
48840 cat >>confdefs.h <<\_ACEOF
48841 #define wxUSE_METAFILE 1
48842 _ACEOF
48843
48844 fi
48845
48846 if test "$wxUSE_MIMETYPE" = "yes"; then
48847 cat >>confdefs.h <<\_ACEOF
48848 #define wxUSE_MIMETYPE 1
48849 _ACEOF
48850
48851 fi
48852
48853 if test "$wxUSE_MINIFRAME" = "yes"; then
48854 cat >>confdefs.h <<\_ACEOF
48855 #define wxUSE_MINIFRAME 1
48856 _ACEOF
48857
48858 fi
48859
48860 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48861 cat >>confdefs.h <<\_ACEOF
48862 #define wxUSE_SYSTEM_OPTIONS 1
48863 _ACEOF
48864
48865 fi
48866
48867 if test "$wxUSE_TASKBARICON" = "yes"; then
48868 cat >>confdefs.h <<\_ACEOF
48869 #define wxUSE_TASKBARICON 1
48870 _ACEOF
48871
48872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48873 fi
48874
48875
48876 if test "$wxUSE_VALIDATORS" = "yes"; then
48877 cat >>confdefs.h <<\_ACEOF
48878 #define wxUSE_VALIDATORS 1
48879 _ACEOF
48880
48881 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48882 fi
48883
48884 if test "$wxUSE_PALETTE" = "yes" ; then
48885 if test "$wxUSE_DFB" = 1; then
48886 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48887 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48888 wxUSE_PALETTE=no
48889 else
48890 cat >>confdefs.h <<\_ACEOF
48891 #define wxUSE_PALETTE 1
48892 _ACEOF
48893
48894 fi
48895 fi
48896
48897 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48898 LIBS=" -lunicows $LIBS"
48899 fi
48900
48901 USE_RICHTEXT=0
48902 if test "$wxUSE_RICHTEXT" = "yes"; then
48903 cat >>confdefs.h <<\_ACEOF
48904 #define wxUSE_RICHTEXT 1
48905 _ACEOF
48906
48907 USE_RICHTEXT=1
48908 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48909 fi
48910
48911
48912 if test "$wxUSE_IMAGE" = "yes" ; then
48913 cat >>confdefs.h <<\_ACEOF
48914 #define wxUSE_IMAGE 1
48915 _ACEOF
48916
48917
48918 if test "$wxUSE_GIF" = "yes" ; then
48919 cat >>confdefs.h <<\_ACEOF
48920 #define wxUSE_GIF 1
48921 _ACEOF
48922
48923 fi
48924
48925 if test "$wxUSE_PCX" = "yes" ; then
48926 cat >>confdefs.h <<\_ACEOF
48927 #define wxUSE_PCX 1
48928 _ACEOF
48929
48930 fi
48931
48932 if test "$wxUSE_TGA" = "yes" ; then
48933 cat >>confdefs.h <<\_ACEOF
48934 #define wxUSE_TGA 1
48935 _ACEOF
48936
48937 fi
48938
48939 if test "$wxUSE_IFF" = "yes" ; then
48940 cat >>confdefs.h <<\_ACEOF
48941 #define wxUSE_IFF 1
48942 _ACEOF
48943
48944 fi
48945
48946 if test "$wxUSE_PNM" = "yes" ; then
48947 cat >>confdefs.h <<\_ACEOF
48948 #define wxUSE_PNM 1
48949 _ACEOF
48950
48951 fi
48952
48953 if test "$wxUSE_XPM" = "yes" ; then
48954 cat >>confdefs.h <<\_ACEOF
48955 #define wxUSE_XPM 1
48956 _ACEOF
48957
48958 fi
48959
48960 if test "$wxUSE_ICO_CUR" = "yes" ; then
48961 cat >>confdefs.h <<\_ACEOF
48962 #define wxUSE_ICO_CUR 1
48963 _ACEOF
48964
48965 fi
48966 fi
48967
48968
48969 if test "$wxUSE_ABOUTDLG" = "yes"; then
48970 cat >>confdefs.h <<\_ACEOF
48971 #define wxUSE_ABOUTDLG 1
48972 _ACEOF
48973
48974 fi
48975
48976 if test "$wxUSE_CHOICEDLG" = "yes"; then
48977 cat >>confdefs.h <<\_ACEOF
48978 #define wxUSE_CHOICEDLG 1
48979 _ACEOF
48980
48981 fi
48982
48983 if test "$wxUSE_COLOURDLG" = "yes"; then
48984 cat >>confdefs.h <<\_ACEOF
48985 #define wxUSE_COLOURDLG 1
48986 _ACEOF
48987
48988 fi
48989
48990 if test "$wxUSE_FILEDLG" = "yes"; then
48991 cat >>confdefs.h <<\_ACEOF
48992 #define wxUSE_FILEDLG 1
48993 _ACEOF
48994
48995 fi
48996
48997 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48998 cat >>confdefs.h <<\_ACEOF
48999 #define wxUSE_FINDREPLDLG 1
49000 _ACEOF
49001
49002 fi
49003
49004 if test "$wxUSE_FONTDLG" = "yes"; then
49005 cat >>confdefs.h <<\_ACEOF
49006 #define wxUSE_FONTDLG 1
49007 _ACEOF
49008
49009 fi
49010
49011 if test "$wxUSE_DIRDLG" = "yes"; then
49012 if test "$wxUSE_TREECTRL" != "yes"; then
49013 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
49014 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
49015 else
49016 cat >>confdefs.h <<\_ACEOF
49017 #define wxUSE_DIRDLG 1
49018 _ACEOF
49019
49020 fi
49021 fi
49022
49023 if test "$wxUSE_MSGDLG" = "yes"; then
49024 cat >>confdefs.h <<\_ACEOF
49025 #define wxUSE_MSGDLG 1
49026 _ACEOF
49027
49028 fi
49029
49030 if test "$wxUSE_NUMBERDLG" = "yes"; then
49031 cat >>confdefs.h <<\_ACEOF
49032 #define wxUSE_NUMBERDLG 1
49033 _ACEOF
49034
49035 fi
49036
49037 if test "$wxUSE_PROGRESSDLG" = "yes"; then
49038 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49039 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
49040 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
49041 else
49042 cat >>confdefs.h <<\_ACEOF
49043 #define wxUSE_PROGRESSDLG 1
49044 _ACEOF
49045
49046 fi
49047 fi
49048
49049 if test "$wxUSE_SPLASH" = "yes"; then
49050 cat >>confdefs.h <<\_ACEOF
49051 #define wxUSE_SPLASH 1
49052 _ACEOF
49053
49054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
49055 fi
49056
49057 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
49058 if test "$wxUSE_CONSTRAINTS" != "yes"; then
49059 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
49060 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
49061 else
49062 cat >>confdefs.h <<\_ACEOF
49063 #define wxUSE_STARTUP_TIPS 1
49064 _ACEOF
49065
49066 fi
49067 fi
49068
49069 if test "$wxUSE_TEXTDLG" = "yes"; then
49070 cat >>confdefs.h <<\_ACEOF
49071 #define wxUSE_TEXTDLG 1
49072 _ACEOF
49073
49074 fi
49075
49076 if test "$wxUSE_WIZARDDLG" = "yes"; then
49077 cat >>confdefs.h <<\_ACEOF
49078 #define wxUSE_WIZARDDLG 1
49079 _ACEOF
49080
49081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
49082 fi
49083
49084
49085 if test "$wxUSE_MSW" = 1 ; then
49086
49087 if test "$wxUSE_DC_CACHEING" = "yes"; then
49088 cat >>confdefs.h <<\_ACEOF
49089 #define wxUSE_DC_CACHEING 1
49090 _ACEOF
49091
49092 fi
49093
49094 if test "$wxUSE_DIB" = "yes"; then
49095 cat >>confdefs.h <<\_ACEOF
49096 #define wxUSE_WXDIB 1
49097 _ACEOF
49098
49099 fi
49100
49101 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
49102 cat >>confdefs.h <<\_ACEOF
49103 #define wxUSE_OWNER_DRAWN 1
49104 _ACEOF
49105
49106 fi
49107
49108 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
49109 cat >>confdefs.h <<\_ACEOF
49110 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
49111 _ACEOF
49112
49113 fi
49114
49115 if test "$wxUSE_UXTHEME" = "yes"; then
49116 cat >>confdefs.h <<\_ACEOF
49117 #define wxUSE_UXTHEME 1
49118 _ACEOF
49119
49120 fi
49121
49122 fi
49123
49124
49125 if test "$USE_WIN32" = 1 ; then
49126 if test "$wxUSE_INICONF" = "yes"; then
49127 cat >>confdefs.h <<\_ACEOF
49128 #define wxUSE_INICONF 1
49129 _ACEOF
49130
49131 fi
49132
49133 if test "$wxUSE_REGKEY" = "yes"; then
49134 cat >>confdefs.h <<\_ACEOF
49135 #define wxUSE_REGKEY 1
49136 _ACEOF
49137
49138 fi
49139 fi
49140
49141
49142 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
49143 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
49144 cat >>confdefs.h <<\_ACEOF
49145 #define wxUSE_GRAPHICS_CONTEXT 1
49146 _ACEOF
49147
49148 elif test "$wxUSE_GTK" != 1; then
49149 cat >>confdefs.h <<\_ACEOF
49150 #define wxUSE_GRAPHICS_CONTEXT 1
49151 _ACEOF
49152
49153 else
49154
49155 pkg_failed=no
49156 echo "$as_me:$LINENO: checking for CAIRO" >&5
49157 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
49158
49159 if test -n "$PKG_CONFIG"; then
49160 if test -n "$CAIRO_CFLAGS"; then
49161 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49162 else
49163 if test -n "$PKG_CONFIG" && \
49164 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49165 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49166 ac_status=$?
49167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49168 (exit $ac_status); }; then
49169 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
49170 else
49171 pkg_failed=yes
49172 fi
49173 fi
49174 else
49175 pkg_failed=untried
49176 fi
49177 if test -n "$PKG_CONFIG"; then
49178 if test -n "$CAIRO_LIBS"; then
49179 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49180 else
49181 if test -n "$PKG_CONFIG" && \
49182 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49183 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49184 ac_status=$?
49185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49186 (exit $ac_status); }; then
49187 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
49188 else
49189 pkg_failed=yes
49190 fi
49191 fi
49192 else
49193 pkg_failed=untried
49194 fi
49195
49196
49197
49198 if test $pkg_failed = yes; then
49199
49200 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49201 _pkg_short_errors_supported=yes
49202 else
49203 _pkg_short_errors_supported=no
49204 fi
49205 if test $_pkg_short_errors_supported = yes; then
49206 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49207 else
49208 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49209 fi
49210 # Put the nasty error message in config.log where it belongs
49211 echo "$CAIRO_PKG_ERRORS" >&5
49212
49213 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49214 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49215
49216 elif test $pkg_failed = untried; then
49217 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49218 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49219
49220 else
49221 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49222 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49223 echo "$as_me:$LINENO: result: yes" >&5
49224 echo "${ECHO_T}yes" >&6
49225 cat >>confdefs.h <<\_ACEOF
49226 #define wxUSE_GRAPHICS_CONTEXT 1
49227 _ACEOF
49228
49229 fi
49230 fi
49231 fi
49232
49233
49234 USE_MEDIA=0
49235
49236 if test "$wxUSE_MEDIACTRL" = "yes"; then
49237 USE_MEDIA=1
49238
49239 if test "$wxUSE_GTK" = 1; then
49240 wxUSE_GSTREAMER="no"
49241
49242 GST_VERSION_MAJOR=0
49243 GST_VERSION_MINOR=10
49244 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49245
49246 if test "$wxUSE_GSTREAMER8" = "no"; then
49247
49248 pkg_failed=no
49249 echo "$as_me:$LINENO: checking for GST" >&5
49250 echo $ECHO_N "checking for GST... $ECHO_C" >&6
49251
49252 if test -n "$PKG_CONFIG"; then
49253 if test -n "$GST_CFLAGS"; then
49254 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49255 else
49256 if test -n "$PKG_CONFIG" && \
49257 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49258 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49259 ac_status=$?
49260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49261 (exit $ac_status); }; then
49262 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49263 else
49264 pkg_failed=yes
49265 fi
49266 fi
49267 else
49268 pkg_failed=untried
49269 fi
49270 if test -n "$PKG_CONFIG"; then
49271 if test -n "$GST_LIBS"; then
49272 pkg_cv_GST_LIBS="$GST_LIBS"
49273 else
49274 if test -n "$PKG_CONFIG" && \
49275 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49276 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49277 ac_status=$?
49278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49279 (exit $ac_status); }; then
49280 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49281 else
49282 pkg_failed=yes
49283 fi
49284 fi
49285 else
49286 pkg_failed=untried
49287 fi
49288
49289
49290
49291 if test $pkg_failed = yes; then
49292
49293 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49294 _pkg_short_errors_supported=yes
49295 else
49296 _pkg_short_errors_supported=no
49297 fi
49298 if test $_pkg_short_errors_supported = yes; then
49299 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49300 else
49301 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49302 fi
49303 # Put the nasty error message in config.log where it belongs
49304 echo "$GST_PKG_ERRORS" >&5
49305
49306
49307 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49308 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49309 GST_VERSION_MINOR=8
49310
49311
49312 elif test $pkg_failed = untried; then
49313
49314 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49315 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49316 GST_VERSION_MINOR=8
49317
49318
49319 else
49320 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49321 GST_LIBS=$pkg_cv_GST_LIBS
49322 echo "$as_me:$LINENO: result: yes" >&5
49323 echo "${ECHO_T}yes" >&6
49324
49325 wxUSE_GSTREAMER="yes"
49326 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49327
49328 fi
49329 else
49330 GST_VERSION_MINOR=8
49331 fi
49332
49333 if test $GST_VERSION_MINOR = "8"; then
49334 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49335
49336 pkg_failed=no
49337 echo "$as_me:$LINENO: checking for GST" >&5
49338 echo $ECHO_N "checking for GST... $ECHO_C" >&6
49339
49340 if test -n "$PKG_CONFIG"; then
49341 if test -n "$GST_CFLAGS"; then
49342 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49343 else
49344 if test -n "$PKG_CONFIG" && \
49345 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49346 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49347 ac_status=$?
49348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49349 (exit $ac_status); }; then
49350 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49351 else
49352 pkg_failed=yes
49353 fi
49354 fi
49355 else
49356 pkg_failed=untried
49357 fi
49358 if test -n "$PKG_CONFIG"; then
49359 if test -n "$GST_LIBS"; then
49360 pkg_cv_GST_LIBS="$GST_LIBS"
49361 else
49362 if test -n "$PKG_CONFIG" && \
49363 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49364 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49365 ac_status=$?
49366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49367 (exit $ac_status); }; then
49368 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49369 else
49370 pkg_failed=yes
49371 fi
49372 fi
49373 else
49374 pkg_failed=untried
49375 fi
49376
49377
49378
49379 if test $pkg_failed = yes; then
49380
49381 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49382 _pkg_short_errors_supported=yes
49383 else
49384 _pkg_short_errors_supported=no
49385 fi
49386 if test $_pkg_short_errors_supported = yes; then
49387 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49388 else
49389 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49390 fi
49391 # Put the nasty error message in config.log where it belongs
49392 echo "$GST_PKG_ERRORS" >&5
49393
49394
49395 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49396 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49397
49398 elif test $pkg_failed = untried; then
49399
49400 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49401 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49402
49403 else
49404 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49405 GST_LIBS=$pkg_cv_GST_LIBS
49406 echo "$as_me:$LINENO: result: yes" >&5
49407 echo "${ECHO_T}yes" >&6
49408 wxUSE_GSTREAMER="yes"
49409 fi
49410 fi
49411
49412
49413 if test "$wxUSE_GSTREAMER" = "yes"; then
49414 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49415 LIBS="$GST_LIBS $LIBS"
49416
49417 cat >>confdefs.h <<\_ACEOF
49418 #define wxUSE_GSTREAMER 1
49419 _ACEOF
49420
49421 else
49422 USE_MEDIA=0
49423 fi
49424 fi
49425
49426 if test $USE_MEDIA = 1; then
49427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49428 cat >>confdefs.h <<\_ACEOF
49429 #define wxUSE_MEDIACTRL 1
49430 _ACEOF
49431
49432 fi
49433 fi
49434
49435
49436 if test "$cross_compiling" = "yes"; then
49437 OSINFO="\"$host\""
49438 else
49439 OSINFO=`uname -s -r -m`
49440 OSINFO="\"$OSINFO\""
49441 fi
49442
49443 cat >>confdefs.h <<_ACEOF
49444 #define WXWIN_OS_DESCRIPTION $OSINFO
49445 _ACEOF
49446
49447
49448
49449 if test "x$prefix" != "xNONE"; then
49450 wxPREFIX=$prefix
49451 else
49452 wxPREFIX=$ac_default_prefix
49453 fi
49454
49455 cat >>confdefs.h <<_ACEOF
49456 #define wxINSTALL_PREFIX "$wxPREFIX"
49457 _ACEOF
49458
49459
49460
49461
49462 STD_BASE_LIBS="base"
49463 STD_GUI_LIBS=""
49464 BUILT_WX_LIBS="base"
49465 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49466
49467 if test "$wxUSE_SOCKETS" = "yes" ; then
49468 STD_BASE_LIBS="net $STD_BASE_LIBS"
49469 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49470 fi
49471 if test "$wxUSE_ODBC" != "no" ; then
49472 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49473 fi
49474 if test "$wxUSE_XML" = "yes" ; then
49475 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49476 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49477 fi
49478
49479 if test "$wxUSE_GUI" = "yes"; then
49480 STD_GUI_LIBS="adv core"
49481 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49482
49483 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49484 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49485 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49486 fi
49487 if test "$wxUSE_ODBC" != "no" ; then
49488 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49489 fi
49490 if test "$wxUSE_HTML" = "yes" ; then
49491 STD_GUI_LIBS="html $STD_GUI_LIBS"
49492 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49493 fi
49494 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49495 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49496 fi
49497 if test "$wxUSE_OPENGL" = "yes" ; then
49498 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49499 fi
49500 if test "$wxUSE_AUI" = "yes" ; then
49501 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49502 fi
49503 if test "$wxUSE_STC" = "yes" ; then
49504 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49505 fi
49506 if test "$wxUSE_XRC" = "yes" ; then
49507 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49508 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49509 fi
49510 fi
49511
49512
49513
49514
49515
49516
49517
49518
49519 if test "$wxUSE_MAC" = 1 ; then
49520 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49521 if test "$USE_DARWIN" = 1; then
49522 LDFLAGS="$LDFLAGS -framework QuickTime"
49523 else
49524 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49525 fi
49526 fi
49527 if test "$USE_DARWIN" = 1; then
49528 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49529 else
49530 LDFLAGS="$LDFLAGS -lCarbonLib"
49531 fi
49532 fi
49533 if test "$wxUSE_COCOA" = 1 ; then
49534 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49535 if test "$wxUSE_MEDIACTRL" = "yes"; then
49536 LDFLAGS="$LDFLAGS -framework QuickTime"
49537 fi
49538 fi
49539 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49540 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49541 fi
49542
49543 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49544
49545 if test "$wxUSE_GUI" = "yes"; then
49546
49547
49548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49549 erase event exec font image minimal mobile \
49550 mobile/wxedit mobile/styles render \
49551 shaped svg taborder vscroll widgets"
49552
49553 if test "$wxUSE_MONOLITHIC" != "yes"; then
49554 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49555 fi
49556 if test "$TOOLKIT" = "MSW"; then
49557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49558 if test "$wxUSE_UNIVERSAL" != "yes"; then
49559 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49560 fi
49561 fi
49562 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49563 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49564 fi
49565 else
49566 SAMPLES_SUBDIRS="console"
49567 fi
49568
49569
49570 if test "x$INTELCC" = "xyes" ; then
49571 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49572 elif test "$GCC" = yes ; then
49573 CWARNINGS="-Wall -Wundef"
49574 fi
49575
49576 if test "x$INTELCXX" = "xyes" ; then
49577 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49578 elif test "$GXX" = yes ; then
49579 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49580 fi
49581
49582
49583 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49584 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49585
49586
49587 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49588 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49589 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49590 $CPPFLAGS `
49591
49592 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49593 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49594 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49595
49596 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49597
49598
49599 if test "x$MWCC" = "xyes"; then
49600
49601 CC="$CC -cwd source -I-"
49602 CXX="$CXX -cwd source -I-"
49603 fi
49604
49605
49606 LIBS=`echo $LIBS`
49607 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49608 EXTRALIBS_XML="$EXPAT_LINK"
49609 EXTRALIBS_HTML="$MSPACK_LINK"
49610 EXTRALIBS_ODBC="$ODBC_LINK"
49611 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49612 if test "$wxUSE_GUI" = "yes"; then
49613 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT $EXTRALIBS_GTKPRINT`
49614 fi
49615 if test "$wxUSE_OPENGL" = "yes"; then
49616 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49617 fi
49618
49619 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49620
49621 WXCONFIG_LIBS="$LIBS"
49622
49623 if test "$wxUSE_REGEX" = "builtin" ; then
49624 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49625 fi
49626 if test "$wxUSE_EXPAT" = "builtin" ; then
49627 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49628 fi
49629 if test "$wxUSE_ODBC" = "builtin" ; then
49630 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49631 fi
49632 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49633 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49634 fi
49635 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49636 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49637 fi
49638 if test "$wxUSE_LIBPNG" = "builtin" ; then
49639 wxconfig_3rdparty="png $wxconfig_3rdparty"
49640 fi
49641 if test "$wxUSE_ZLIB" = "builtin" ; then
49642 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49643 fi
49644
49645 for i in $wxconfig_3rdparty ; do
49646 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49647 done
49648
49649
49650 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49651 WXUNIV=1
49652
49653 case "$wxUNIV_THEMES" in
49654 ''|all)
49655 cat >>confdefs.h <<\_ACEOF
49656 #define wxUSE_ALL_THEMES 1
49657 _ACEOF
49658
49659 ;;
49660
49661 *)
49662 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49663 cat >>confdefs.h <<_ACEOF
49664 #define wxUSE_THEME_$t 1
49665 _ACEOF
49666
49667 done
49668 esac
49669 else
49670 WXUNIV=0
49671 fi
49672
49673
49674
49675
49676
49677
49678
49679
49680
49681 if test $wxUSE_MONOLITHIC = "yes" ; then
49682 MONOLITHIC=1
49683 else
49684 MONOLITHIC=0
49685 fi
49686
49687 if test $wxUSE_PLUGINS = "yes" ; then
49688 USE_PLUGINS=1
49689 else
49690 USE_PLUGINS=0
49691 fi
49692
49693 if test $wxUSE_ODBC != "no" ; then
49694 USE_ODBC=1
49695 else
49696 USE_ODBC=0
49697 fi
49698
49699 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49700 USE_QA=1
49701 else
49702 USE_QA=0
49703 fi
49704
49705 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49706 OFFICIAL_BUILD=1
49707 else
49708 OFFICIAL_BUILD=0
49709 fi
49710
49711
49712
49713
49714
49715
49716
49717
49718
49719
49720
49721
49722
49723
49724
49725
49726
49727
49728
49729
49730
49731
49732
49733
49734
49735
49736
49737 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49738
49739
49740
49741
49742
49743
49744
49745
49746 case "$TOOLKIT" in
49747 GTK)
49748 TOOLKIT_DESC="GTK+"
49749 if test "$WXGTK20" = 1; then
49750 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49751 if test "$wxUSE_GTKPRINT" = "yes" ; then
49752 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49753 fi
49754 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49755 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49756 fi
49757 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49758 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49759 fi
49760 if test "$wxUSE_LIBHILDON" = "yes"; then
49761 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49762 fi
49763
49764 if test "$TOOLKIT_EXTRA" != ""; then
49765 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49766 fi
49767 fi
49768 ;;
49769
49770 ?*)
49771 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49772 ;;
49773
49774 *)
49775 TOOLKIT_DESC="base only"
49776 ;;
49777 esac
49778
49779 if test "$wxUSE_WINE" = "yes"; then
49780 BAKEFILE_FORCE_PLATFORM=win32
49781 fi
49782
49783 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49784 then
49785 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49786 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
49787 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49788 echo $ECHO_N "(cached) $ECHO_C" >&6
49789 else
49790
49791 echo '#include <stdio.h>
49792 const wchar_t test_var[] = L"awidetest";' > conftest.h
49793
49794 echo '#include "conftest.h"
49795 int main()
49796 {
49797 printf("%ls", test_var);
49798 return 0;
49799 }' > conftest.cpp
49800
49801 wx_cv_gcc_pch_bug="pch not supported"
49802
49803 if $CXX conftest.h >/dev/null 2>&1
49804 then
49805 wx_cv_gcc_pch_bug=
49806
49807 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49808 then
49809 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49810 grep awidetest >/dev/null
49811 then
49812 wx_cv_gcc_pch_bug=no
49813 else
49814 wx_cv_gcc_pch_bug=yes
49815 fi
49816 fi
49817 fi
49818
49819 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49820
49821 fi
49822 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49823 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
49824
49825 if test "$wx_cv_gcc_pch_bug" = yes; then
49826 bk_use_pch=no
49827 fi
49828 fi
49829
49830
49831
49832
49833 if test "x$BAKEFILE_HOST" = "x"; then
49834 if test "x${host}" = "x" ; then
49835 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49836 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49837 { (exit 1); exit 1; }; }
49838 fi
49839
49840 BAKEFILE_HOST="${host}"
49841 fi
49842
49843 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49844
49845 if test -n "$ac_tool_prefix"; then
49846 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49847 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49848 echo "$as_me:$LINENO: checking for $ac_word" >&5
49849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49850 if test "${ac_cv_prog_RANLIB+set}" = set; then
49851 echo $ECHO_N "(cached) $ECHO_C" >&6
49852 else
49853 if test -n "$RANLIB"; then
49854 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49855 else
49856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49857 for as_dir in $PATH
49858 do
49859 IFS=$as_save_IFS
49860 test -z "$as_dir" && as_dir=.
49861 for ac_exec_ext in '' $ac_executable_extensions; do
49862 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49863 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49865 break 2
49866 fi
49867 done
49868 done
49869
49870 fi
49871 fi
49872 RANLIB=$ac_cv_prog_RANLIB
49873 if test -n "$RANLIB"; then
49874 echo "$as_me:$LINENO: result: $RANLIB" >&5
49875 echo "${ECHO_T}$RANLIB" >&6
49876 else
49877 echo "$as_me:$LINENO: result: no" >&5
49878 echo "${ECHO_T}no" >&6
49879 fi
49880
49881 fi
49882 if test -z "$ac_cv_prog_RANLIB"; then
49883 ac_ct_RANLIB=$RANLIB
49884 # Extract the first word of "ranlib", so it can be a program name with args.
49885 set dummy ranlib; ac_word=$2
49886 echo "$as_me:$LINENO: checking for $ac_word" >&5
49887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49888 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49889 echo $ECHO_N "(cached) $ECHO_C" >&6
49890 else
49891 if test -n "$ac_ct_RANLIB"; then
49892 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49893 else
49894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49895 for as_dir in $PATH
49896 do
49897 IFS=$as_save_IFS
49898 test -z "$as_dir" && as_dir=.
49899 for ac_exec_ext in '' $ac_executable_extensions; do
49900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49901 ac_cv_prog_ac_ct_RANLIB="ranlib"
49902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49903 break 2
49904 fi
49905 done
49906 done
49907
49908 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
49909 fi
49910 fi
49911 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49912 if test -n "$ac_ct_RANLIB"; then
49913 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49914 echo "${ECHO_T}$ac_ct_RANLIB" >&6
49915 else
49916 echo "$as_me:$LINENO: result: no" >&5
49917 echo "${ECHO_T}no" >&6
49918 fi
49919
49920 RANLIB=$ac_ct_RANLIB
49921 else
49922 RANLIB="$ac_cv_prog_RANLIB"
49923 fi
49924
49925 # Find a good install program. We prefer a C program (faster),
49926 # so one script is as good as another. But avoid the broken or
49927 # incompatible versions:
49928 # SysV /etc/install, /usr/sbin/install
49929 # SunOS /usr/etc/install
49930 # IRIX /sbin/install
49931 # AIX /bin/install
49932 # AmigaOS /C/install, which installs bootblocks on floppy discs
49933 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49934 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49935 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49936 # OS/2's system install, which has a completely different semantic
49937 # ./install, which can be erroneously created by make from ./install.sh.
49938 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49939 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
49940 if test -z "$INSTALL"; then
49941 if test "${ac_cv_path_install+set}" = set; then
49942 echo $ECHO_N "(cached) $ECHO_C" >&6
49943 else
49944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49945 for as_dir in $PATH
49946 do
49947 IFS=$as_save_IFS
49948 test -z "$as_dir" && as_dir=.
49949 # Account for people who put trailing slashes in PATH elements.
49950 case $as_dir/ in
49951 ./ | .// | /cC/* | \
49952 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49953 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49954 /usr/ucb/* ) ;;
49955 *)
49956 # OSF1 and SCO ODT 3.0 have their own names for install.
49957 # Don't use installbsd from OSF since it installs stuff as root
49958 # by default.
49959 for ac_prog in ginstall scoinst install; do
49960 for ac_exec_ext in '' $ac_executable_extensions; do
49961 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
49962 if test $ac_prog = install &&
49963 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49964 # AIX install. It has an incompatible calling convention.
49965 :
49966 elif test $ac_prog = install &&
49967 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49968 # program-specific install script used by HP pwplus--don't use.
49969 :
49970 else
49971 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49972 break 3
49973 fi
49974 fi
49975 done
49976 done
49977 ;;
49978 esac
49979 done
49980
49981
49982 fi
49983 if test "${ac_cv_path_install+set}" = set; then
49984 INSTALL=$ac_cv_path_install
49985 else
49986 # As a last resort, use the slow shell script. We don't cache a
49987 # path for INSTALL within a source directory, because that will
49988 # break other packages using the cache if that directory is
49989 # removed, or if the path is relative.
49990 INSTALL=$ac_install_sh
49991 fi
49992 fi
49993 echo "$as_me:$LINENO: result: $INSTALL" >&5
49994 echo "${ECHO_T}$INSTALL" >&6
49995
49996 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49997 # It thinks the first close brace ends the variable substitution.
49998 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49999
50000 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
50001
50002 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
50003
50004 echo "$as_me:$LINENO: checking whether ln -s works" >&5
50005 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
50006 LN_S=$as_ln_s
50007 if test "$LN_S" = "ln -s"; then
50008 echo "$as_me:$LINENO: result: yes" >&5
50009 echo "${ECHO_T}yes" >&6
50010 else
50011 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
50012 echo "${ECHO_T}no, using $LN_S" >&6
50013 fi
50014
50015
50016 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50017 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50018 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50019 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50020 echo $ECHO_N "(cached) $ECHO_C" >&6
50021 else
50022 cat >conftest.make <<\_ACEOF
50023 all:
50024 @echo 'ac_maketemp="$(MAKE)"'
50025 _ACEOF
50026 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50027 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50028 if test -n "$ac_maketemp"; then
50029 eval ac_cv_prog_make_${ac_make}_set=yes
50030 else
50031 eval ac_cv_prog_make_${ac_make}_set=no
50032 fi
50033 rm -f conftest.make
50034 fi
50035 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50036 echo "$as_me:$LINENO: result: yes" >&5
50037 echo "${ECHO_T}yes" >&6
50038 SET_MAKE=
50039 else
50040 echo "$as_me:$LINENO: result: no" >&5
50041 echo "${ECHO_T}no" >&6
50042 SET_MAKE="MAKE=${MAKE-make}"
50043 fi
50044
50045
50046
50047 if test "x$SUNCXX" = "xyes"; then
50048 AR=$CXX
50049 AROPTIONS="-xar -o"
50050
50051 elif test "x$SGICC" = "xyes"; then
50052 AR=$CXX
50053 AROPTIONS="-ar -o"
50054
50055 else
50056 if test -n "$ac_tool_prefix"; then
50057 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
50058 set dummy ${ac_tool_prefix}ar; ac_word=$2
50059 echo "$as_me:$LINENO: checking for $ac_word" >&5
50060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50061 if test "${ac_cv_prog_AR+set}" = set; then
50062 echo $ECHO_N "(cached) $ECHO_C" >&6
50063 else
50064 if test -n "$AR"; then
50065 ac_cv_prog_AR="$AR" # Let the user override the test.
50066 else
50067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50068 for as_dir in $PATH
50069 do
50070 IFS=$as_save_IFS
50071 test -z "$as_dir" && as_dir=.
50072 for ac_exec_ext in '' $ac_executable_extensions; do
50073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50074 ac_cv_prog_AR="${ac_tool_prefix}ar"
50075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50076 break 2
50077 fi
50078 done
50079 done
50080
50081 fi
50082 fi
50083 AR=$ac_cv_prog_AR
50084 if test -n "$AR"; then
50085 echo "$as_me:$LINENO: result: $AR" >&5
50086 echo "${ECHO_T}$AR" >&6
50087 else
50088 echo "$as_me:$LINENO: result: no" >&5
50089 echo "${ECHO_T}no" >&6
50090 fi
50091
50092 fi
50093 if test -z "$ac_cv_prog_AR"; then
50094 ac_ct_AR=$AR
50095 # Extract the first word of "ar", so it can be a program name with args.
50096 set dummy ar; ac_word=$2
50097 echo "$as_me:$LINENO: checking for $ac_word" >&5
50098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50099 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
50100 echo $ECHO_N "(cached) $ECHO_C" >&6
50101 else
50102 if test -n "$ac_ct_AR"; then
50103 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
50104 else
50105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50106 for as_dir in $PATH
50107 do
50108 IFS=$as_save_IFS
50109 test -z "$as_dir" && as_dir=.
50110 for ac_exec_ext in '' $ac_executable_extensions; do
50111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50112 ac_cv_prog_ac_ct_AR="ar"
50113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50114 break 2
50115 fi
50116 done
50117 done
50118
50119 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
50120 fi
50121 fi
50122 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50123 if test -n "$ac_ct_AR"; then
50124 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50125 echo "${ECHO_T}$ac_ct_AR" >&6
50126 else
50127 echo "$as_me:$LINENO: result: no" >&5
50128 echo "${ECHO_T}no" >&6
50129 fi
50130
50131 AR=$ac_ct_AR
50132 else
50133 AR="$ac_cv_prog_AR"
50134 fi
50135
50136 AROPTIONS=rcu
50137 fi
50138
50139
50140 if test -n "$ac_tool_prefix"; then
50141 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50142 set dummy ${ac_tool_prefix}strip; ac_word=$2
50143 echo "$as_me:$LINENO: checking for $ac_word" >&5
50144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50145 if test "${ac_cv_prog_STRIP+set}" = set; then
50146 echo $ECHO_N "(cached) $ECHO_C" >&6
50147 else
50148 if test -n "$STRIP"; then
50149 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50150 else
50151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50152 for as_dir in $PATH
50153 do
50154 IFS=$as_save_IFS
50155 test -z "$as_dir" && as_dir=.
50156 for ac_exec_ext in '' $ac_executable_extensions; do
50157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50158 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50160 break 2
50161 fi
50162 done
50163 done
50164
50165 fi
50166 fi
50167 STRIP=$ac_cv_prog_STRIP
50168 if test -n "$STRIP"; then
50169 echo "$as_me:$LINENO: result: $STRIP" >&5
50170 echo "${ECHO_T}$STRIP" >&6
50171 else
50172 echo "$as_me:$LINENO: result: no" >&5
50173 echo "${ECHO_T}no" >&6
50174 fi
50175
50176 fi
50177 if test -z "$ac_cv_prog_STRIP"; then
50178 ac_ct_STRIP=$STRIP
50179 # Extract the first word of "strip", so it can be a program name with args.
50180 set dummy strip; ac_word=$2
50181 echo "$as_me:$LINENO: checking for $ac_word" >&5
50182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50183 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50184 echo $ECHO_N "(cached) $ECHO_C" >&6
50185 else
50186 if test -n "$ac_ct_STRIP"; then
50187 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50188 else
50189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50190 for as_dir in $PATH
50191 do
50192 IFS=$as_save_IFS
50193 test -z "$as_dir" && as_dir=.
50194 for ac_exec_ext in '' $ac_executable_extensions; do
50195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50196 ac_cv_prog_ac_ct_STRIP="strip"
50197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50198 break 2
50199 fi
50200 done
50201 done
50202
50203 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
50204 fi
50205 fi
50206 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50207 if test -n "$ac_ct_STRIP"; then
50208 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50209 echo "${ECHO_T}$ac_ct_STRIP" >&6
50210 else
50211 echo "$as_me:$LINENO: result: no" >&5
50212 echo "${ECHO_T}no" >&6
50213 fi
50214
50215 STRIP=$ac_ct_STRIP
50216 else
50217 STRIP="$ac_cv_prog_STRIP"
50218 fi
50219
50220 if test -n "$ac_tool_prefix"; then
50221 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50222 set dummy ${ac_tool_prefix}nm; ac_word=$2
50223 echo "$as_me:$LINENO: checking for $ac_word" >&5
50224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50225 if test "${ac_cv_prog_NM+set}" = set; then
50226 echo $ECHO_N "(cached) $ECHO_C" >&6
50227 else
50228 if test -n "$NM"; then
50229 ac_cv_prog_NM="$NM" # Let the user override the test.
50230 else
50231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50232 for as_dir in $PATH
50233 do
50234 IFS=$as_save_IFS
50235 test -z "$as_dir" && as_dir=.
50236 for ac_exec_ext in '' $ac_executable_extensions; do
50237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50238 ac_cv_prog_NM="${ac_tool_prefix}nm"
50239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50240 break 2
50241 fi
50242 done
50243 done
50244
50245 fi
50246 fi
50247 NM=$ac_cv_prog_NM
50248 if test -n "$NM"; then
50249 echo "$as_me:$LINENO: result: $NM" >&5
50250 echo "${ECHO_T}$NM" >&6
50251 else
50252 echo "$as_me:$LINENO: result: no" >&5
50253 echo "${ECHO_T}no" >&6
50254 fi
50255
50256 fi
50257 if test -z "$ac_cv_prog_NM"; then
50258 ac_ct_NM=$NM
50259 # Extract the first word of "nm", so it can be a program name with args.
50260 set dummy nm; ac_word=$2
50261 echo "$as_me:$LINENO: checking for $ac_word" >&5
50262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50263 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50264 echo $ECHO_N "(cached) $ECHO_C" >&6
50265 else
50266 if test -n "$ac_ct_NM"; then
50267 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50268 else
50269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50270 for as_dir in $PATH
50271 do
50272 IFS=$as_save_IFS
50273 test -z "$as_dir" && as_dir=.
50274 for ac_exec_ext in '' $ac_executable_extensions; do
50275 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50276 ac_cv_prog_ac_ct_NM="nm"
50277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50278 break 2
50279 fi
50280 done
50281 done
50282
50283 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
50284 fi
50285 fi
50286 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50287 if test -n "$ac_ct_NM"; then
50288 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50289 echo "${ECHO_T}$ac_ct_NM" >&6
50290 else
50291 echo "$as_me:$LINENO: result: no" >&5
50292 echo "${ECHO_T}no" >&6
50293 fi
50294
50295 NM=$ac_ct_NM
50296 else
50297 NM="$ac_cv_prog_NM"
50298 fi
50299
50300
50301 case ${BAKEFILE_HOST} in
50302 *-hp-hpux* )
50303 INSTALL_DIR="mkdir -p"
50304 ;;
50305 * )
50306 INSTALL_DIR='$(INSTALL) -d'
50307 ;;
50308 esac
50309
50310
50311 LDFLAGS_GUI=
50312 case ${BAKEFILE_HOST} in
50313 *-*-cygwin* | *-*-mingw32* )
50314 LDFLAGS_GUI="-mwindows"
50315 esac
50316
50317
50318 fi
50319
50320 echo "$as_me:$LINENO: checking if make is GNU make" >&5
50321 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
50322 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50323 echo $ECHO_N "(cached) $ECHO_C" >&6
50324 else
50325
50326 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50327 egrep -s GNU > /dev/null); then
50328 bakefile_cv_prog_makeisgnu="yes"
50329 else
50330 bakefile_cv_prog_makeisgnu="no"
50331 fi
50332
50333 fi
50334 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50335 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
50336
50337 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50338 IF_GNU_MAKE=""
50339 else
50340 IF_GNU_MAKE="#"
50341 fi
50342
50343
50344
50345 PLATFORM_UNIX=0
50346 PLATFORM_WIN32=0
50347 PLATFORM_MSDOS=0
50348 PLATFORM_MAC=0
50349 PLATFORM_MACOS=0
50350 PLATFORM_MACOSX=0
50351 PLATFORM_OS2=0
50352 PLATFORM_BEOS=0
50353
50354 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50355 case "${BAKEFILE_HOST}" in
50356 *-*-mingw32* )
50357 PLATFORM_WIN32=1
50358 ;;
50359 *-pc-msdosdjgpp )
50360 PLATFORM_MSDOS=1
50361 ;;
50362 *-pc-os2_emx | *-pc-os2-emx )
50363 PLATFORM_OS2=1
50364 ;;
50365 *-*-darwin* )
50366 PLATFORM_MAC=1
50367 PLATFORM_MACOSX=1
50368 ;;
50369 *-*-beos* )
50370 PLATFORM_BEOS=1
50371 ;;
50372 powerpc-apple-macos* )
50373 PLATFORM_MAC=1
50374 PLATFORM_MACOS=1
50375 ;;
50376 * )
50377 PLATFORM_UNIX=1
50378 ;;
50379 esac
50380 else
50381 case "$BAKEFILE_FORCE_PLATFORM" in
50382 win32 )
50383 PLATFORM_WIN32=1
50384 ;;
50385 msdos )
50386 PLATFORM_MSDOS=1
50387 ;;
50388 os2 )
50389 PLATFORM_OS2=1
50390 ;;
50391 darwin )
50392 PLATFORM_MAC=1
50393 PLATFORM_MACOSX=1
50394 ;;
50395 unix )
50396 PLATFORM_UNIX=1
50397 ;;
50398 beos )
50399 PLATFORM_BEOS=1
50400 ;;
50401 * )
50402 ;;
50403 esac
50404 fi
50405
50406
50407
50408
50409
50410
50411
50412
50413
50414
50415
50416 # Check whether --enable-omf or --disable-omf was given.
50417 if test "${enable_omf+set}" = set; then
50418 enableval="$enable_omf"
50419 bk_os2_use_omf="$enableval"
50420 fi;
50421
50422 case "${BAKEFILE_HOST}" in
50423 *-*-darwin* )
50424 if test "x$GCC" = "xyes"; then
50425 CFLAGS="$CFLAGS -fno-common"
50426 CXXFLAGS="$CXXFLAGS -fno-common"
50427 fi
50428 if test "x$XLCC" = "xyes"; then
50429 CFLAGS="$CFLAGS -qnocommon"
50430 CXXFLAGS="$CXXFLAGS -qnocommon"
50431 fi
50432 ;;
50433
50434 *-pc-os2_emx | *-pc-os2-emx )
50435 if test "x$bk_os2_use_omf" = "xyes" ; then
50436 AR=emxomfar
50437 RANLIB=:
50438 LDFLAGS="-Zomf $LDFLAGS"
50439 CFLAGS="-Zomf $CFLAGS"
50440 CXXFLAGS="-Zomf $CXXFLAGS"
50441 OS2_LIBEXT="lib"
50442 else
50443 OS2_LIBEXT="a"
50444 fi
50445 ;;
50446
50447 i*86-*-beos* )
50448 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50449 ;;
50450 esac
50451
50452
50453 SO_SUFFIX="so"
50454 SO_SUFFIX_MODULE="so"
50455 EXEEXT=""
50456 LIBPREFIX="lib"
50457 LIBEXT=".a"
50458 DLLPREFIX="lib"
50459 DLLPREFIX_MODULE=""
50460 DLLIMP_SUFFIX=""
50461 dlldir="$libdir"
50462
50463 case "${BAKEFILE_HOST}" in
50464 *-hp-hpux* )
50465 SO_SUFFIX="sl"
50466 SO_SUFFIX_MODULE="sl"
50467 ;;
50468 *-*-aix* )
50469 SO_SUFFIX="a"
50470 SO_SUFFIX_MODULE="a"
50471 ;;
50472 *-*-cygwin* )
50473 SO_SUFFIX="dll"
50474 SO_SUFFIX_MODULE="dll"
50475 DLLIMP_SUFFIX="dll.a"
50476 EXEEXT=".exe"
50477 DLLPREFIX="cyg"
50478 dlldir="$bindir"
50479 ;;
50480 *-*-mingw32* )
50481 SO_SUFFIX="dll"
50482 SO_SUFFIX_MODULE="dll"
50483 DLLIMP_SUFFIX="dll.a"
50484 EXEEXT=".exe"
50485 DLLPREFIX=""
50486 dlldir="$bindir"
50487 ;;
50488 *-pc-msdosdjgpp )
50489 EXEEXT=".exe"
50490 DLLPREFIX=""
50491 dlldir="$bindir"
50492 ;;
50493 *-pc-os2_emx | *-pc-os2-emx )
50494 SO_SUFFIX="dll"
50495 SO_SUFFIX_MODULE="dll"
50496 DLLIMP_SUFFIX=$OS2_LIBEXT
50497 EXEEXT=".exe"
50498 DLLPREFIX=""
50499 LIBPREFIX=""
50500 LIBEXT=".$OS2_LIBEXT"
50501 dlldir="$bindir"
50502 ;;
50503 *-*-darwin* )
50504 SO_SUFFIX="dylib"
50505 SO_SUFFIX_MODULE="bundle"
50506 ;;
50507 esac
50508
50509 if test "x$DLLIMP_SUFFIX" = "x" ; then
50510 DLLIMP_SUFFIX="$SO_SUFFIX"
50511 fi
50512
50513
50514
50515
50516
50517
50518
50519
50520
50521
50522
50523
50524 PIC_FLAG=""
50525 if test "x$GCC" = "xyes"; then
50526 PIC_FLAG="-fPIC"
50527 fi
50528
50529 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50530 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50531 WINDOWS_IMPLIB=0
50532
50533 case "${BAKEFILE_HOST}" in
50534 *-hp-hpux* )
50535 if test "x$GCC" != "xyes"; then
50536 LDFLAGS="$LDFLAGS -L/usr/lib"
50537
50538 SHARED_LD_CC="${CC} -b -o"
50539 SHARED_LD_CXX="${CXX} -b -o"
50540 PIC_FLAG="+Z"
50541 fi
50542 ;;
50543
50544 *-*-linux* )
50545 if test "$INTELCC" = "yes"; then
50546 PIC_FLAG="-KPIC"
50547 elif test "x$SUNCXX" = "xyes"; then
50548 SHARED_LD_CC="${CC} -G -o"
50549 SHARED_LD_CXX="${CXX} -G -o"
50550 PIC_FLAG="-KPIC"
50551 fi
50552 ;;
50553
50554 *-*-solaris2* )
50555 if test "x$SUNCXX" = xyes ; then
50556 SHARED_LD_CC="${CC} -G -o"
50557 SHARED_LD_CXX="${CXX} -G -o"
50558 PIC_FLAG="-KPIC"
50559 fi
50560 ;;
50561
50562 *-*-darwin* )
50563
50564 D='$'
50565 cat <<EOF >shared-ld-sh
50566 #!/bin/sh
50567 #-----------------------------------------------------------------------------
50568 #-- Name: distrib/mac/shared-ld-sh
50569 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50570 #-- Author: Gilles Depeyrot
50571 #-- Copyright: (c) 2002 Gilles Depeyrot
50572 #-- Licence: any use permitted
50573 #-----------------------------------------------------------------------------
50574
50575 verbose=0
50576 args=""
50577 objects=""
50578 linking_flag="-dynamiclib"
50579 ldargs="-r -keep_private_externs -nostdlib"
50580
50581 while test ${D}# -gt 0; do
50582 case ${D}1 in
50583
50584 -v)
50585 verbose=1
50586 ;;
50587
50588 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50589 # collect these options and values
50590 args="${D}{args} ${D}1 ${D}2"
50591 shift
50592 ;;
50593
50594 -s|-Wl,*)
50595 # collect these load args
50596 ldargs="${D}{ldargs} ${D}1"
50597 ;;
50598
50599 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50600 # collect these options
50601 args="${D}{args} ${D}1"
50602 ;;
50603
50604 -dynamiclib|-bundle)
50605 linking_flag="${D}1"
50606 ;;
50607
50608 -*)
50609 echo "shared-ld: unhandled option '${D}1'"
50610 exit 1
50611 ;;
50612
50613 *.o | *.a | *.dylib)
50614 # collect object files
50615 objects="${D}{objects} ${D}1"
50616 ;;
50617
50618 *)
50619 echo "shared-ld: unhandled argument '${D}1'"
50620 exit 1
50621 ;;
50622
50623 esac
50624 shift
50625 done
50626
50627 status=0
50628
50629 #
50630 # Link one module containing all the others
50631 #
50632 if test ${D}{verbose} = 1; then
50633 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50634 fi
50635 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50636 status=${D}?
50637
50638 #
50639 # Link the shared library from the single module created, but only if the
50640 # previous command didn't fail:
50641 #
50642 if test ${D}{status} = 0; then
50643 if test ${D}{verbose} = 1; then
50644 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50645 fi
50646 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50647 status=${D}?
50648 fi
50649
50650 #
50651 # Remove intermediate module
50652 #
50653 rm -f master.${D}${D}.o
50654
50655 exit ${D}status
50656 EOF
50657
50658 chmod +x shared-ld-sh
50659
50660 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50661 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50662
50663
50664 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50665 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
50666 if test "${bakefile_cv_gcc31+set}" = set; then
50667 echo $ECHO_N "(cached) $ECHO_C" >&6
50668 else
50669
50670 cat >conftest.$ac_ext <<_ACEOF
50671 /* confdefs.h. */
50672 _ACEOF
50673 cat confdefs.h >>conftest.$ac_ext
50674 cat >>conftest.$ac_ext <<_ACEOF
50675 /* end confdefs.h. */
50676
50677 int
50678 main ()
50679 {
50680
50681 #if (__GNUC__ < 3) || \
50682 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50683 This is old gcc
50684 #endif
50685
50686 ;
50687 return 0;
50688 }
50689 _ACEOF
50690 rm -f conftest.$ac_objext
50691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50692 (eval $ac_compile) 2>conftest.er1
50693 ac_status=$?
50694 grep -v '^ *+' conftest.er1 >conftest.err
50695 rm -f conftest.er1
50696 cat conftest.err >&5
50697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50698 (exit $ac_status); } &&
50699 { ac_try='test -z "$ac_c_werror_flag"
50700 || test ! -s conftest.err'
50701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50702 (eval $ac_try) 2>&5
50703 ac_status=$?
50704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50705 (exit $ac_status); }; } &&
50706 { ac_try='test -s conftest.$ac_objext'
50707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50708 (eval $ac_try) 2>&5
50709 ac_status=$?
50710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50711 (exit $ac_status); }; }; then
50712
50713 bakefile_cv_gcc31=yes
50714
50715 else
50716 echo "$as_me: failed program was:" >&5
50717 sed 's/^/| /' conftest.$ac_ext >&5
50718
50719
50720 bakefile_cv_gcc31=no
50721
50722
50723 fi
50724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50725
50726 fi
50727 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50728 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
50729 if test "$bakefile_cv_gcc31" = "no"; then
50730 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50731 SHARED_LD_CXX="$SHARED_LD_CC"
50732 else
50733 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50734 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50735 fi
50736
50737 if test "x$GCC" == "xyes"; then
50738 PIC_FLAG="-dynamic -fPIC"
50739 fi
50740 if test "x$XLCC" = "xyes"; then
50741 PIC_FLAG="-dynamic -DPIC"
50742 fi
50743 ;;
50744
50745 *-*-aix* )
50746 if test "x$GCC" = "xyes"; then
50747 PIC_FLAG=""
50748
50749 case "${BAKEFILE_HOST}" in
50750 *-*-aix5* )
50751 LD_EXPFULL="-Wl,-bexpfull"
50752 ;;
50753 esac
50754
50755 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50756 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50757 else
50758 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50759 set dummy makeC++SharedLib; ac_word=$2
50760 echo "$as_me:$LINENO: checking for $ac_word" >&5
50761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50762 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50763 echo $ECHO_N "(cached) $ECHO_C" >&6
50764 else
50765 if test -n "$AIX_CXX_LD"; then
50766 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50767 else
50768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50769 for as_dir in $PATH
50770 do
50771 IFS=$as_save_IFS
50772 test -z "$as_dir" && as_dir=.
50773 for ac_exec_ext in '' $ac_executable_extensions; do
50774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50775 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50777 break 2
50778 fi
50779 done
50780 done
50781
50782 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50783 fi
50784 fi
50785 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50786 if test -n "$AIX_CXX_LD"; then
50787 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50788 echo "${ECHO_T}$AIX_CXX_LD" >&6
50789 else
50790 echo "$as_me:$LINENO: result: no" >&5
50791 echo "${ECHO_T}no" >&6
50792 fi
50793
50794 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50795 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50796 fi
50797 ;;
50798
50799 *-*-beos* )
50800 SHARED_LD_CC="${LD} -nostart -o"
50801 SHARED_LD_CXX="${LD} -nostart -o"
50802 ;;
50803
50804 *-*-irix* )
50805 if test "x$GCC" != "xyes"; then
50806 PIC_FLAG="-KPIC"
50807 fi
50808 ;;
50809
50810 *-*-cygwin* | *-*-mingw32* )
50811 PIC_FLAG=""
50812 SHARED_LD_CC="\$(CC) -shared -o"
50813 SHARED_LD_CXX="\$(CXX) -shared -o"
50814 WINDOWS_IMPLIB=1
50815 ;;
50816
50817 *-pc-os2_emx | *-pc-os2-emx )
50818 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50819 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50820 PIC_FLAG=""
50821
50822 D='$'
50823 cat <<EOF >dllar.sh
50824 #!/bin/sh
50825 #
50826 # dllar - a tool to build both a .dll and an .a file
50827 # from a set of object (.o) files for EMX/OS2.
50828 #
50829 # Written by Andrew Zabolotny, bit@freya.etu.ru
50830 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50831 #
50832 # This script will accept a set of files on the command line.
50833 # All the public symbols from the .o files will be exported into
50834 # a .DEF file, then linker will be run (through gcc) against them to
50835 # build a shared library consisting of all given .o files. All libraries
50836 # (.a) will be first decompressed into component .o files then act as
50837 # described above. You can optionally give a description (-d "description")
50838 # which will be put into .DLL. To see the list of accepted options (as well
50839 # as command-line format) simply run this program without options. The .DLL
50840 # is built to be imported by name (there is no guarantee that new versions
50841 # of the library you build will have same ordinals for same symbols).
50842 #
50843 # dllar is free software; you can redistribute it and/or modify
50844 # it under the terms of the GNU General Public License as published by
50845 # the Free Software Foundation; either version 2, or (at your option)
50846 # any later version.
50847 #
50848 # dllar is distributed in the hope that it will be useful,
50849 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50850 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50851 # GNU General Public License for more details.
50852 #
50853 # You should have received a copy of the GNU General Public License
50854 # along with dllar; see the file COPYING. If not, write to the Free
50855 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50856 # 02111-1307, USA.
50857
50858 # To successfuly run this program you will need:
50859 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50860 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50861 # - gcc
50862 # (used to build the .dll)
50863 # - emxexp
50864 # (used to create .def file from .o files)
50865 # - emximp
50866 # (used to create .a file from .def file)
50867 # - GNU text utilites (cat, sort, uniq)
50868 # used to process emxexp output
50869 # - GNU file utilities (mv, rm)
50870 # - GNU sed
50871 # - lxlite (optional, see flag below)
50872 # (used for general .dll cleanup)
50873 #
50874
50875 flag_USE_LXLITE=1;
50876
50877 #
50878 # helper functions
50879 # basnam, variant of basename, which does _not_ remove the path, _iff_
50880 # second argument (suffix to remove) is given
50881 basnam(){
50882 case ${D}# in
50883 1)
50884 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50885 ;;
50886 2)
50887 echo ${D}1 | sed 's/'${D}2'${D}//'
50888 ;;
50889 *)
50890 echo "error in basnam ${D}*"
50891 exit 8
50892 ;;
50893 esac
50894 }
50895
50896 # Cleanup temporary files and output
50897 CleanUp() {
50898 cd ${D}curDir
50899 for i in ${D}inputFiles ; do
50900 case ${D}i in
50901 *!)
50902 rm -rf \`basnam ${D}i !\`
50903 ;;
50904 *)
50905 ;;
50906 esac
50907 done
50908
50909 # Kill result in case of failure as there is just to many stupid make/nmake
50910 # things out there which doesn't do this.
50911 if [ ${D}# -eq 0 ]; then
50912 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50913 fi
50914 }
50915
50916 # Print usage and exit script with rc=1.
50917 PrintHelp() {
50918 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50919 echo ' [-name-mangler-script script.sh]'
50920 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50921 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50922 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50923 echo ' [*.o] [*.a]'
50924 echo '*> "output_file" should have no extension.'
50925 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50926 echo ' The import library name is derived from this and is set to "name".a,'
50927 echo ' unless overridden by -import'
50928 echo '*> "importlib_name" should have no extension.'
50929 echo ' If it has the .o, or .a extension, it is automatically removed.'
50930 echo ' This name is used as the import library name and may be longer and'
50931 echo ' more descriptive than the DLL name which has to follow the old '
50932 echo ' 8.3 convention of FAT.'
50933 echo '*> "script.sh may be given to override the output_file name by a'
50934 echo ' different name. It is mainly useful if the regular make process'
50935 echo ' of some package does not take into account OS/2 restriction of'
50936 echo ' DLL name lengths. It takes the importlib name as input and is'
50937 echo ' supposed to procude a shorter name as output. The script should'
50938 echo ' expect to get importlib_name without extension and should produce'
50939 echo ' a (max.) 8 letter name without extension.'
50940 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50941 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50942 echo ' These flags will be put at the start of GCC command line.'
50943 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50944 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50945 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50946 echo ' If the last character of a symbol is "*", all symbols beginning'
50947 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50948 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50949 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50950 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50951 echo ' C runtime DLLs.'
50952 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50953 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50954 echo ' unchanged to GCC at the end of command line.'
50955 echo '*> If you create a DLL from a library and you do not specify -o,'
50956 echo ' the basename for DLL and import library will be set to library name,'
50957 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50958 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50959 echo ' library will be renamed into gcc_s.a.'
50960 echo '--------'
50961 echo 'Example:'
50962 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50963 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50964 CleanUp
50965 exit 1
50966 }
50967
50968 # Execute a command.
50969 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50970 # @Uses Whatever CleanUp() uses.
50971 doCommand() {
50972 echo "${D}*"
50973 eval ${D}*
50974 rcCmd=${D}?
50975
50976 if [ ${D}rcCmd -ne 0 ]; then
50977 echo "command failed, exit code="${D}rcCmd
50978 CleanUp
50979 exit ${D}rcCmd
50980 fi
50981 }
50982
50983 # main routine
50984 # setup globals
50985 cmdLine=${D}*
50986 outFile=""
50987 outimpFile=""
50988 inputFiles=""
50989 renameScript=""
50990 description=""
50991 CC=gcc.exe
50992 CFLAGS="-s -Zcrtdll"
50993 EXTRA_CFLAGS=""
50994 EXPORT_BY_ORDINALS=0
50995 exclude_symbols=""
50996 library_flags=""
50997 curDir=\`pwd\`
50998 curDirS=curDir
50999 case ${D}curDirS in
51000 */)
51001 ;;
51002 *)
51003 curDirS=${D}{curDirS}"/"
51004 ;;
51005 esac
51006 # Parse commandline
51007 libsToLink=0
51008 omfLinking=0
51009 while [ ${D}1 ]; do
51010 case ${D}1 in
51011 -ord*)
51012 EXPORT_BY_ORDINALS=1;
51013 ;;
51014 -o*)
51015 shift
51016 outFile=${D}1
51017 ;;
51018 -i*)
51019 shift
51020 outimpFile=${D}1
51021 ;;
51022 -name-mangler-script)
51023 shift
51024 renameScript=${D}1
51025 ;;
51026 -d*)
51027 shift
51028 description=${D}1
51029 ;;
51030 -f*)
51031 shift
51032 CFLAGS=${D}1
51033 ;;
51034 -c*)
51035 shift
51036 CC=${D}1
51037 ;;
51038 -h*)
51039 PrintHelp
51040 ;;
51041 -ex*)
51042 shift
51043 exclude_symbols=${D}{exclude_symbols}${D}1" "
51044 ;;
51045 -libf*)
51046 shift
51047 library_flags=${D}{library_flags}${D}1" "
51048 ;;
51049 -nocrt*)
51050 CFLAGS="-s"
51051 ;;
51052 -nolxl*)
51053 flag_USE_LXLITE=0
51054 ;;
51055 -* | /*)
51056 case ${D}1 in
51057 -L* | -l*)
51058 libsToLink=1
51059 ;;
51060 -Zomf)
51061 omfLinking=1
51062 ;;
51063 *)
51064 ;;
51065 esac
51066 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51067 ;;
51068 *.dll)
51069 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51070 if [ ${D}omfLinking -eq 1 ]; then
51071 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51072 else
51073 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51074 fi
51075 ;;
51076 *)
51077 found=0;
51078 if [ ${D}libsToLink -ne 0 ]; then
51079 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51080 else
51081 for file in ${D}1 ; do
51082 if [ -f ${D}file ]; then
51083 inputFiles="${D}{inputFiles} ${D}file"
51084 found=1
51085 fi
51086 done
51087 if [ ${D}found -eq 0 ]; then
51088 echo "ERROR: No file(s) found: "${D}1
51089 exit 8
51090 fi
51091 fi
51092 ;;
51093 esac
51094 shift
51095 done # iterate cmdline words
51096
51097 #
51098 if [ -z "${D}inputFiles" ]; then
51099 echo "dllar: no input files"
51100 PrintHelp
51101 fi
51102
51103 # Now extract all .o files from .a files
51104 newInputFiles=""
51105 for file in ${D}inputFiles ; do
51106 case ${D}file in
51107 *.a | *.lib)
51108 case ${D}file in
51109 *.a)
51110 suffix=".a"
51111 AR="ar"
51112 ;;
51113 *.lib)
51114 suffix=".lib"
51115 AR="emxomfar"
51116 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51117 ;;
51118 *)
51119 ;;
51120 esac
51121 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51122 mkdir ${D}dirname
51123 if [ ${D}? -ne 0 ]; then
51124 echo "Failed to create subdirectory ./${D}dirname"
51125 CleanUp
51126 exit 8;
51127 fi
51128 # Append '!' to indicate archive
51129 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51130 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51131 cd ${D}curDir
51132 found=0;
51133 for subfile in ${D}dirname/*.o* ; do
51134 if [ -f ${D}subfile ]; then
51135 found=1
51136 if [ -s ${D}subfile ]; then
51137 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51138 newInputFiles="${D}newInputFiles ${D}subfile"
51139 fi
51140 fi
51141 done
51142 if [ ${D}found -eq 0 ]; then
51143 echo "WARNING: there are no files in archive \\'${D}file\\'"
51144 fi
51145 ;;
51146 *)
51147 newInputFiles="${D}{newInputFiles} ${D}file"
51148 ;;
51149 esac
51150 done
51151 inputFiles="${D}newInputFiles"
51152
51153 # Output filename(s).
51154 do_backup=0;
51155 if [ -z ${D}outFile ]; then
51156 do_backup=1;
51157 set outFile ${D}inputFiles; outFile=${D}2
51158 fi
51159
51160 # If it is an archive, remove the '!' and the '_%' suffixes
51161 case ${D}outFile in
51162 *_%!)
51163 outFile=\`basnam ${D}outFile _%!\`
51164 ;;
51165 *)
51166 ;;
51167 esac
51168 case ${D}outFile in
51169 *.dll)
51170 outFile=\`basnam ${D}outFile .dll\`
51171 ;;
51172 *.DLL)
51173 outFile=\`basnam ${D}outFile .DLL\`
51174 ;;
51175 *.o)
51176 outFile=\`basnam ${D}outFile .o\`
51177 ;;
51178 *.obj)
51179 outFile=\`basnam ${D}outFile .obj\`
51180 ;;
51181 *.a)
51182 outFile=\`basnam ${D}outFile .a\`
51183 ;;
51184 *.lib)
51185 outFile=\`basnam ${D}outFile .lib\`
51186 ;;
51187 *)
51188 ;;
51189 esac
51190 case ${D}outimpFile in
51191 *.a)
51192 outimpFile=\`basnam ${D}outimpFile .a\`
51193 ;;
51194 *.lib)
51195 outimpFile=\`basnam ${D}outimpFile .lib\`
51196 ;;
51197 *)
51198 ;;
51199 esac
51200 if [ -z ${D}outimpFile ]; then
51201 outimpFile=${D}outFile
51202 fi
51203 defFile="${D}{outFile}.def"
51204 arcFile="${D}{outimpFile}.a"
51205 arcFile2="${D}{outimpFile}.lib"
51206
51207 #create ${D}dllFile as something matching 8.3 restrictions,
51208 if [ -z ${D}renameScript ] ; then
51209 dllFile="${D}outFile"
51210 else
51211 dllFile=\`${D}renameScript ${D}outimpFile\`
51212 fi
51213
51214 if [ ${D}do_backup -ne 0 ] ; then
51215 if [ -f ${D}arcFile ] ; then
51216 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51217 fi
51218 if [ -f ${D}arcFile2 ] ; then
51219 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51220 fi
51221 fi
51222
51223 # Extract public symbols from all the object files.
51224 tmpdefFile=${D}{defFile}_%
51225 rm -f ${D}tmpdefFile
51226 for file in ${D}inputFiles ; do
51227 case ${D}file in
51228 *!)
51229 ;;
51230 *)
51231 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51232 ;;
51233 esac
51234 done
51235
51236 # Create the def file.
51237 rm -f ${D}defFile
51238 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51239 dllFile="${D}{dllFile}.dll"
51240 if [ ! -z ${D}description ]; then
51241 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51242 fi
51243 echo "EXPORTS" >> ${D}defFile
51244
51245 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51246 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51247
51248 # Checks if the export is ok or not.
51249 for word in ${D}exclude_symbols; do
51250 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51251 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51252 done
51253
51254
51255 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51256 sed "=" < ${D}tmpdefFile | \\
51257 sed '
51258 N
51259 : loop
51260 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51261 t loop
51262 ' > ${D}{tmpdefFile}%
51263 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51264 else
51265 rm -f ${D}{tmpdefFile}%
51266 fi
51267 cat ${D}tmpdefFile >> ${D}defFile
51268 rm -f ${D}tmpdefFile
51269
51270 # Do linking, create implib, and apply lxlite.
51271 gccCmdl="";
51272 for file in ${D}inputFiles ; do
51273 case ${D}file in
51274 *!)
51275 ;;
51276 *)
51277 gccCmdl="${D}gccCmdl ${D}file"
51278 ;;
51279 esac
51280 done
51281 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51282 touch "${D}{outFile}.dll"
51283
51284 doCommand "emximp -o ${D}arcFile ${D}defFile"
51285 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51286 add_flags="";
51287 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51288 add_flags="-ynd"
51289 fi
51290 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51291 fi
51292 doCommand "emxomf -s -l ${D}arcFile"
51293
51294 # Successful exit.
51295 CleanUp 1
51296 exit 0
51297 EOF
51298
51299 chmod +x dllar.sh
51300 ;;
51301
51302 powerpc-apple-macos* | \
51303 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51304 *-*-mirbsd* | \
51305 *-*-sunos4* | \
51306 *-*-osf* | \
51307 *-*-dgux5* | \
51308 *-*-sysv5* | \
51309 *-pc-msdosdjgpp )
51310 ;;
51311
51312 *)
51313 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51314 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51315 { (exit 1); exit 1; }; }
51316 esac
51317
51318 if test "x$PIC_FLAG" != "x" ; then
51319 PIC_FLAG="$PIC_FLAG -DPIC"
51320 fi
51321
51322 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51323 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51324 fi
51325 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51326 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51327 fi
51328
51329
51330
51331
51332
51333
51334
51335
51336
51337 USE_SOVERSION=0
51338 USE_SOVERLINUX=0
51339 USE_SOVERSOLARIS=0
51340 USE_SOVERCYGWIN=0
51341 USE_SOSYMLINKS=0
51342 USE_MACVERSION=0
51343 SONAME_FLAG=
51344
51345 case "${BAKEFILE_HOST}" in
51346 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51347 if test "x$SUNCXX" = "xyes"; then
51348 SONAME_FLAG="-h "
51349 else
51350 SONAME_FLAG="-Wl,-soname,"
51351 fi
51352 USE_SOVERSION=1
51353 USE_SOVERLINUX=1
51354 USE_SOSYMLINKS=1
51355 ;;
51356
51357 *-*-solaris2* )
51358 SONAME_FLAG="-h "
51359 USE_SOVERSION=1
51360 USE_SOVERSOLARIS=1
51361 USE_SOSYMLINKS=1
51362 ;;
51363
51364 *-*-darwin* )
51365 USE_MACVERSION=1
51366 USE_SOVERSION=1
51367 USE_SOSYMLINKS=1
51368 ;;
51369
51370 *-*-cygwin* )
51371 USE_SOVERSION=1
51372 USE_SOVERCYGWIN=1
51373 ;;
51374 esac
51375
51376
51377
51378
51379
51380
51381
51382
51383
51384
51385 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
51386 if test "${enable_dependency_tracking+set}" = set; then
51387 enableval="$enable_dependency_tracking"
51388 bk_use_trackdeps="$enableval"
51389 fi;
51390
51391 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51392 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
51393
51394 BK_DEPS=""
51395 if test "x$bk_use_trackdeps" = "xno" ; then
51396 DEPS_TRACKING=0
51397 echo "$as_me:$LINENO: result: disabled" >&5
51398 echo "${ECHO_T}disabled" >&6
51399 else
51400 DEPS_TRACKING=1
51401
51402 if test "x$GCC" = "xyes"; then
51403 DEPSMODE=gcc
51404 case "${BAKEFILE_HOST}" in
51405 *-*-darwin* )
51406 DEPSFLAG="-no-cpp-precomp -MMD"
51407 ;;
51408 * )
51409 DEPSFLAG="-MMD"
51410 ;;
51411 esac
51412 echo "$as_me:$LINENO: result: gcc" >&5
51413 echo "${ECHO_T}gcc" >&6
51414 elif test "x$MWCC" = "xyes"; then
51415 DEPSMODE=mwcc
51416 DEPSFLAG="-MM"
51417 echo "$as_me:$LINENO: result: mwcc" >&5
51418 echo "${ECHO_T}mwcc" >&6
51419 elif test "x$SUNCC" = "xyes"; then
51420 DEPSMODE=unixcc
51421 DEPSFLAG="-xM1"
51422 echo "$as_me:$LINENO: result: Sun cc" >&5
51423 echo "${ECHO_T}Sun cc" >&6
51424 elif test "x$SGICC" = "xyes"; then
51425 DEPSMODE=unixcc
51426 DEPSFLAG="-M"
51427 echo "$as_me:$LINENO: result: SGI cc" >&5
51428 echo "${ECHO_T}SGI cc" >&6
51429 elif test "x$HPCC" = "xyes"; then
51430 DEPSMODE=unixcc
51431 DEPSFLAG="+make"
51432 echo "$as_me:$LINENO: result: HP cc" >&5
51433 echo "${ECHO_T}HP cc" >&6
51434 elif test "x$COMPAQCC" = "xyes"; then
51435 DEPSMODE=gcc
51436 DEPSFLAG="-MD"
51437 echo "$as_me:$LINENO: result: Compaq cc" >&5
51438 echo "${ECHO_T}Compaq cc" >&6
51439 else
51440 DEPS_TRACKING=0
51441 echo "$as_me:$LINENO: result: none" >&5
51442 echo "${ECHO_T}none" >&6
51443 fi
51444
51445 if test $DEPS_TRACKING = 1 ; then
51446
51447 D='$'
51448 cat <<EOF >bk-deps
51449 #!/bin/sh
51450
51451 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51452 # script. It is used to track C/C++ files dependencies in portable way.
51453 #
51454 # Permission is given to use this file in any way.
51455
51456 DEPSMODE=${DEPSMODE}
51457 DEPSDIR=.deps
51458 DEPSFLAG="${DEPSFLAG}"
51459
51460 mkdir -p ${D}DEPSDIR
51461
51462 if test ${D}DEPSMODE = gcc ; then
51463 ${D}* ${D}{DEPSFLAG}
51464 status=${D}?
51465 if test ${D}{status} != 0 ; then
51466 exit ${D}{status}
51467 fi
51468 # move created file to the location we want it in:
51469 while test ${D}# -gt 0; do
51470 case "${D}1" in
51471 -o )
51472 shift
51473 objfile=${D}1
51474 ;;
51475 -* )
51476 ;;
51477 * )
51478 srcfile=${D}1
51479 ;;
51480 esac
51481 shift
51482 done
51483 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51484 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51485 if test -f ${D}depfile ; then
51486 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51487 rm -f ${D}depfile
51488 else
51489 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51490 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51491 if test ! -f ${D}depfile ; then
51492 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51493 depfile="${D}objfile.d"
51494 fi
51495 if test -f ${D}depfile ; then
51496 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51497 rm -f ${D}depfile
51498 fi
51499 fi
51500 exit 0
51501 elif test ${D}DEPSMODE = mwcc ; then
51502 ${D}* || exit ${D}?
51503 # Run mwcc again with -MM and redirect into the dep file we want
51504 # NOTE: We can't use shift here because we need ${D}* to be valid
51505 prevarg=
51506 for arg in ${D}* ; do
51507 if test "${D}prevarg" = "-o"; then
51508 objfile=${D}arg
51509 else
51510 case "${D}arg" in
51511 -* )
51512 ;;
51513 * )
51514 srcfile=${D}arg
51515 ;;
51516 esac
51517 fi
51518 prevarg="${D}arg"
51519 done
51520 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51521 exit 0
51522 elif test ${D}DEPSMODE = unixcc; then
51523 ${D}* || exit ${D}?
51524 # Run compiler again with deps flag and redirect into the dep file.
51525 # It doesn't work if the '-o FILE' option is used, but without it the
51526 # dependency file will contain the wrong name for the object. So it is
51527 # removed from the command line, and the dep file is fixed with sed.
51528 cmd=""
51529 while test ${D}# -gt 0; do
51530 case "${D}1" in
51531 -o )
51532 shift
51533 objfile=${D}1
51534 ;;
51535 * )
51536 eval arg${D}#=\\${D}1
51537 cmd="${D}cmd \\${D}arg${D}#"
51538 ;;
51539 esac
51540 shift
51541 done
51542 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51543 exit 0
51544 else
51545 ${D}*
51546 exit ${D}?
51547 fi
51548 EOF
51549
51550 chmod +x bk-deps
51551 BK_DEPS="`pwd`/bk-deps"
51552 fi
51553 fi
51554
51555
51556
51557
51558
51559 case ${BAKEFILE_HOST} in
51560 *-*-cygwin* | *-*-mingw32* )
51561 if test -n "$ac_tool_prefix"; then
51562 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51563 set dummy ${ac_tool_prefix}windres; ac_word=$2
51564 echo "$as_me:$LINENO: checking for $ac_word" >&5
51565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
51566 if test "${ac_cv_prog_WINDRES+set}" = set; then
51567 echo $ECHO_N "(cached) $ECHO_C" >&6
51568 else
51569 if test -n "$WINDRES"; then
51570 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51571 else
51572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51573 for as_dir in $PATH
51574 do
51575 IFS=$as_save_IFS
51576 test -z "$as_dir" && as_dir=.
51577 for ac_exec_ext in '' $ac_executable_extensions; do
51578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
51579 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51581 break 2
51582 fi
51583 done
51584 done
51585
51586 fi
51587 fi
51588 WINDRES=$ac_cv_prog_WINDRES
51589 if test -n "$WINDRES"; then
51590 echo "$as_me:$LINENO: result: $WINDRES" >&5
51591 echo "${ECHO_T}$WINDRES" >&6
51592 else
51593 echo "$as_me:$LINENO: result: no" >&5
51594 echo "${ECHO_T}no" >&6
51595 fi
51596
51597 fi
51598 if test -z "$ac_cv_prog_WINDRES"; then
51599 ac_ct_WINDRES=$WINDRES
51600 # Extract the first word of "windres", so it can be a program name with args.
51601 set dummy windres; ac_word=$2
51602 echo "$as_me:$LINENO: checking for $ac_word" >&5
51603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
51604 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51605 echo $ECHO_N "(cached) $ECHO_C" >&6
51606 else
51607 if test -n "$ac_ct_WINDRES"; then
51608 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51609 else
51610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51611 for as_dir in $PATH
51612 do
51613 IFS=$as_save_IFS
51614 test -z "$as_dir" && as_dir=.
51615 for ac_exec_ext in '' $ac_executable_extensions; do
51616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
51617 ac_cv_prog_ac_ct_WINDRES="windres"
51618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51619 break 2
51620 fi
51621 done
51622 done
51623
51624 fi
51625 fi
51626 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51627 if test -n "$ac_ct_WINDRES"; then
51628 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51629 echo "${ECHO_T}$ac_ct_WINDRES" >&6
51630 else
51631 echo "$as_me:$LINENO: result: no" >&5
51632 echo "${ECHO_T}no" >&6
51633 fi
51634
51635 WINDRES=$ac_ct_WINDRES
51636 else
51637 WINDRES="$ac_cv_prog_WINDRES"
51638 fi
51639
51640 ;;
51641
51642 *-*-darwin* | powerpc-apple-macos* )
51643 # Extract the first word of "Rez", so it can be a program name with args.
51644 set dummy Rez; ac_word=$2
51645 echo "$as_me:$LINENO: checking for $ac_word" >&5
51646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
51647 if test "${ac_cv_prog_REZ+set}" = set; then
51648 echo $ECHO_N "(cached) $ECHO_C" >&6
51649 else
51650 if test -n "$REZ"; then
51651 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51652 else
51653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51654 for as_dir in $PATH
51655 do
51656 IFS=$as_save_IFS
51657 test -z "$as_dir" && as_dir=.
51658 for ac_exec_ext in '' $ac_executable_extensions; do
51659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
51660 ac_cv_prog_REZ="Rez"
51661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51662 break 2
51663 fi
51664 done
51665 done
51666
51667 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51668 fi
51669 fi
51670 REZ=$ac_cv_prog_REZ
51671 if test -n "$REZ"; then
51672 echo "$as_me:$LINENO: result: $REZ" >&5
51673 echo "${ECHO_T}$REZ" >&6
51674 else
51675 echo "$as_me:$LINENO: result: no" >&5
51676 echo "${ECHO_T}no" >&6
51677 fi
51678
51679 # Extract the first word of "SetFile", so it can be a program name with args.
51680 set dummy SetFile; ac_word=$2
51681 echo "$as_me:$LINENO: checking for $ac_word" >&5
51682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
51683 if test "${ac_cv_prog_SETFILE+set}" = set; then
51684 echo $ECHO_N "(cached) $ECHO_C" >&6
51685 else
51686 if test -n "$SETFILE"; then
51687 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51688 else
51689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51690 for as_dir in $PATH
51691 do
51692 IFS=$as_save_IFS
51693 test -z "$as_dir" && as_dir=.
51694 for ac_exec_ext in '' $ac_executable_extensions; do
51695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
51696 ac_cv_prog_SETFILE="SetFile"
51697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51698 break 2
51699 fi
51700 done
51701 done
51702
51703 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51704 fi
51705 fi
51706 SETFILE=$ac_cv_prog_SETFILE
51707 if test -n "$SETFILE"; then
51708 echo "$as_me:$LINENO: result: $SETFILE" >&5
51709 echo "${ECHO_T}$SETFILE" >&6
51710 else
51711 echo "$as_me:$LINENO: result: no" >&5
51712 echo "${ECHO_T}no" >&6
51713 fi
51714
51715 ;;
51716 esac
51717
51718
51719
51720
51721
51722
51723 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51724
51725
51726 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51727
51728
51729
51730 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
51731 if test "${enable_precomp_headers+set}" = set; then
51732 enableval="$enable_precomp_headers"
51733 bk_use_pch="$enableval"
51734 fi;
51735
51736 GCC_PCH=0
51737 ICC_PCH=0
51738 USE_PCH=0
51739 BK_MAKE_PCH=""
51740
51741 case ${BAKEFILE_HOST} in
51742 *-*-cygwin* )
51743 bk_use_pch="no"
51744 ;;
51745 esac
51746
51747 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51748 if test "x$GCC" = "xyes"; then
51749 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51750 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
51751 cat >conftest.$ac_ext <<_ACEOF
51752 /* confdefs.h. */
51753 _ACEOF
51754 cat confdefs.h >>conftest.$ac_ext
51755 cat >>conftest.$ac_ext <<_ACEOF
51756 /* end confdefs.h. */
51757
51758 int
51759 main ()
51760 {
51761
51762 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51763 There is no PCH support
51764 #endif
51765 #if (__GNUC__ < 3)
51766 There is no PCH support
51767 #endif
51768 #if (__GNUC__ == 3) && \
51769 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51770 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51771 ( defined(__INTEL_COMPILER) )
51772 There is no PCH support
51773 #endif
51774
51775 ;
51776 return 0;
51777 }
51778 _ACEOF
51779 rm -f conftest.$ac_objext
51780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51781 (eval $ac_compile) 2>conftest.er1
51782 ac_status=$?
51783 grep -v '^ *+' conftest.er1 >conftest.err
51784 rm -f conftest.er1
51785 cat conftest.err >&5
51786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51787 (exit $ac_status); } &&
51788 { ac_try='test -z "$ac_c_werror_flag"
51789 || test ! -s conftest.err'
51790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51791 (eval $ac_try) 2>&5
51792 ac_status=$?
51793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51794 (exit $ac_status); }; } &&
51795 { ac_try='test -s conftest.$ac_objext'
51796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51797 (eval $ac_try) 2>&5
51798 ac_status=$?
51799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51800 (exit $ac_status); }; }; then
51801
51802 echo "$as_me:$LINENO: result: yes" >&5
51803 echo "${ECHO_T}yes" >&6
51804 GCC_PCH=1
51805
51806 else
51807 echo "$as_me: failed program was:" >&5
51808 sed 's/^/| /' conftest.$ac_ext >&5
51809
51810
51811 cat >conftest.$ac_ext <<_ACEOF
51812 /* confdefs.h. */
51813 _ACEOF
51814 cat confdefs.h >>conftest.$ac_ext
51815 cat >>conftest.$ac_ext <<_ACEOF
51816 /* end confdefs.h. */
51817
51818 int
51819 main ()
51820 {
51821
51822 #if !defined(__INTEL_COMPILER) || \
51823 (__INTEL_COMPILER < 800)
51824 There is no PCH support
51825 #endif
51826
51827 ;
51828 return 0;
51829 }
51830 _ACEOF
51831 rm -f conftest.$ac_objext
51832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51833 (eval $ac_compile) 2>conftest.er1
51834 ac_status=$?
51835 grep -v '^ *+' conftest.er1 >conftest.err
51836 rm -f conftest.er1
51837 cat conftest.err >&5
51838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51839 (exit $ac_status); } &&
51840 { ac_try='test -z "$ac_c_werror_flag"
51841 || test ! -s conftest.err'
51842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51843 (eval $ac_try) 2>&5
51844 ac_status=$?
51845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51846 (exit $ac_status); }; } &&
51847 { ac_try='test -s conftest.$ac_objext'
51848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51849 (eval $ac_try) 2>&5
51850 ac_status=$?
51851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51852 (exit $ac_status); }; }; then
51853
51854 echo "$as_me:$LINENO: result: yes" >&5
51855 echo "${ECHO_T}yes" >&6
51856 ICC_PCH=1
51857
51858 else
51859 echo "$as_me: failed program was:" >&5
51860 sed 's/^/| /' conftest.$ac_ext >&5
51861
51862
51863 echo "$as_me:$LINENO: result: no" >&5
51864 echo "${ECHO_T}no" >&6
51865
51866 fi
51867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51868
51869 fi
51870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51871 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51872 USE_PCH=1
51873
51874 D='$'
51875 cat <<EOF >bk-make-pch
51876 #!/bin/sh
51877
51878 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51879 # script. It is used to generated precompiled headers.
51880 #
51881 # Permission is given to use this file in any way.
51882
51883 outfile="${D}{1}"
51884 header="${D}{2}"
51885 shift
51886 shift
51887
51888 compiler=""
51889 headerfile=""
51890
51891 while test ${D}{#} -gt 0; do
51892 add_to_cmdline=1
51893 case "${D}{1}" in
51894 -I* )
51895 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51896 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51897 headerfile="${D}{incdir}/${D}{header}"
51898 fi
51899 ;;
51900 -use-pch|-use_pch )
51901 shift
51902 add_to_cmdline=0
51903 ;;
51904 esac
51905 if test ${D}add_to_cmdline = 1 ; then
51906 compiler="${D}{compiler} ${D}{1}"
51907 fi
51908 shift
51909 done
51910
51911 if test "x${D}{headerfile}" = "x" ; then
51912 echo "error: can't find header ${D}{header} in include paths" >&2
51913 else
51914 if test -f ${D}{outfile} ; then
51915 rm -f ${D}{outfile}
51916 else
51917 mkdir -p \`dirname ${D}{outfile}\`
51918 fi
51919 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51920 mkdir -p .deps
51921 if test "x${GCC_PCH}" = "x1" ; then
51922 # can do this because gcc is >= 3.4:
51923 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51924 elif test "x${ICC_PCH}" = "x1" ; then
51925 filename=pch_gen-${D}${D}
51926 file=${D}{filename}.c
51927 dfile=${D}{filename}.d
51928 cat > ${D}file <<EOT
51929 #include "${D}header"
51930 EOT
51931 # using -MF icc complains about differing command lines in creation/use
51932 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51933 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51934 rm -f ${D}file ${D}dfile ${D}{filename}.o
51935 fi
51936 exit ${D}{?}
51937 fi
51938 EOF
51939
51940 chmod +x bk-make-pch
51941 BK_MAKE_PCH="`pwd`/bk-make-pch"
51942 fi
51943 fi
51944 fi
51945
51946
51947
51948
51949
51950 COND_BUILD_DEBUG="#"
51951 if test "x$BUILD" = "xdebug" ; then
51952 COND_BUILD_DEBUG=""
51953 fi
51954
51955 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51956 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51957 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51958 fi
51959
51960 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51961 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51962 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51963 fi
51964
51965 COND_BUILD_DEBUG_UNICODE_0="#"
51966 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51967 COND_BUILD_DEBUG_UNICODE_0=""
51968 fi
51969
51970 COND_BUILD_DEBUG_UNICODE_1="#"
51971 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51972 COND_BUILD_DEBUG_UNICODE_1=""
51973 fi
51974
51975 COND_BUILD_RELEASE="#"
51976 if test "x$BUILD" = "xrelease" ; then
51977 COND_BUILD_RELEASE=""
51978 fi
51979
51980 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51981 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51982 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51983 fi
51984
51985 COND_BUILD_RELEASE_UNICODE_0="#"
51986 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51987 COND_BUILD_RELEASE_UNICODE_0=""
51988 fi
51989
51990 COND_BUILD_RELEASE_UNICODE_1="#"
51991 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51992 COND_BUILD_RELEASE_UNICODE_1=""
51993 fi
51994
51995 COND_DEBUG_FLAG_1="#"
51996 if test "x$DEBUG_FLAG" = "x1" ; then
51997 COND_DEBUG_FLAG_1=""
51998 fi
51999
52000 COND_DEBUG_INFO_0="#"
52001 if test "x$DEBUG_INFO" = "x0" ; then
52002 COND_DEBUG_INFO_0=""
52003 fi
52004
52005 COND_DEBUG_INFO_1="#"
52006 if test "x$DEBUG_INFO" = "x1" ; then
52007 COND_DEBUG_INFO_1=""
52008 fi
52009
52010 COND_DEPS_TRACKING_0="#"
52011 if test "x$DEPS_TRACKING" = "x0" ; then
52012 COND_DEPS_TRACKING_0=""
52013 fi
52014
52015 COND_DEPS_TRACKING_1="#"
52016 if test "x$DEPS_TRACKING" = "x1" ; then
52017 COND_DEPS_TRACKING_1=""
52018 fi
52019
52020 COND_GCC_PCH_1="#"
52021 if test "x$GCC_PCH" = "x1" ; then
52022 COND_GCC_PCH_1=""
52023 fi
52024
52025 COND_ICC_PCH_1="#"
52026 if test "x$ICC_PCH" = "x1" ; then
52027 COND_ICC_PCH_1=""
52028 fi
52029
52030 COND_MONOLITHIC_0="#"
52031 if test "x$MONOLITHIC" = "x0" ; then
52032 COND_MONOLITHIC_0=""
52033 fi
52034
52035 COND_MONOLITHIC_0_SHARED_0="#"
52036 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
52037 COND_MONOLITHIC_0_SHARED_0=""
52038 fi
52039
52040 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
52041 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
52042 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
52043 fi
52044
52045 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
52046 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
52047 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
52048 fi
52049
52050 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
52051 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52052 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
52053 fi
52054
52055 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
52056 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52057 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
52058 fi
52059
52060 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
52061 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52062 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
52063 fi
52064
52065 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52066 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52067 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52068 fi
52069
52070 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
52071 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
52072 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
52073 fi
52074
52075 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52076 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52077 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52078 fi
52079
52080 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52081 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52082 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52083 fi
52084
52085 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52086 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52087 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52088 fi
52089
52090 COND_MONOLITHIC_0_SHARED_1="#"
52091 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52092 COND_MONOLITHIC_0_SHARED_1=""
52093 fi
52094
52095 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52096 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52097 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52098 fi
52099
52100 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52101 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52102 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52103 fi
52104
52105 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52106 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52107 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52108 fi
52109
52110 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52111 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52112 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52113 fi
52114
52115 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
52116 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52117 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
52118 fi
52119
52120 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52121 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52122 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52123 fi
52124
52125 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
52126 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52127 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
52128 fi
52129
52130 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52131 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52132 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52133 fi
52134
52135 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52136 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52137 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52138 fi
52139
52140 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52141 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52142 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52143 fi
52144
52145 COND_MONOLITHIC_0_USE_AUI_1="#"
52146 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52147 COND_MONOLITHIC_0_USE_AUI_1=""
52148 fi
52149
52150 COND_MONOLITHIC_0_USE_GUI_1="#"
52151 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52152 COND_MONOLITHIC_0_USE_GUI_1=""
52153 fi
52154
52155 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52156 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52157 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52158 fi
52159
52160 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
52161 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52162 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
52163 fi
52164
52165 COND_MONOLITHIC_0_USE_HTML_1="#"
52166 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52167 COND_MONOLITHIC_0_USE_HTML_1=""
52168 fi
52169
52170 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52171 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52172 COND_MONOLITHIC_0_USE_MEDIA_1=""
52173 fi
52174
52175 COND_MONOLITHIC_0_USE_ODBC_1="#"
52176 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52177 COND_MONOLITHIC_0_USE_ODBC_1=""
52178 fi
52179
52180 COND_MONOLITHIC_0_USE_QA_1="#"
52181 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52182 COND_MONOLITHIC_0_USE_QA_1=""
52183 fi
52184
52185 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52186 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52187 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52188 fi
52189
52190 COND_MONOLITHIC_0_USE_STC_1="#"
52191 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52192 COND_MONOLITHIC_0_USE_STC_1=""
52193 fi
52194
52195 COND_MONOLITHIC_0_USE_XRC_1="#"
52196 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52197 COND_MONOLITHIC_0_USE_XRC_1=""
52198 fi
52199
52200 COND_MONOLITHIC_1="#"
52201 if test "x$MONOLITHIC" = "x1" ; then
52202 COND_MONOLITHIC_1=""
52203 fi
52204
52205 COND_MONOLITHIC_1_SHARED_0="#"
52206 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52207 COND_MONOLITHIC_1_SHARED_0=""
52208 fi
52209
52210 COND_MONOLITHIC_1_SHARED_1="#"
52211 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52212 COND_MONOLITHIC_1_SHARED_1=""
52213 fi
52214
52215 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52216 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52217 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52218 fi
52219
52220 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52221 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52222 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52223 fi
52224
52225 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52226 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52227 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52228 fi
52229
52230 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52231 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52232 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52233 fi
52234
52235 COND_PLATFORM_MACOSX_1="#"
52236 if test "x$PLATFORM_MACOSX" = "x1" ; then
52237 COND_PLATFORM_MACOSX_1=""
52238 fi
52239
52240 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52241 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52242 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52243 fi
52244
52245 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52246 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52247 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52248 fi
52249
52250 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52251 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52252 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52253 fi
52254
52255 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52256 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52257 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52258 fi
52259
52260 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52261 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52262 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52263 fi
52264
52265 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52266 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52267 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52268 fi
52269
52270 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52271 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52272 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52273 fi
52274
52275 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52276 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52277 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52278 fi
52279
52280 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52281 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52282 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52283 fi
52284
52285 COND_PLATFORM_MACOS_1="#"
52286 if test "x$PLATFORM_MACOS" = "x1" ; then
52287 COND_PLATFORM_MACOS_1=""
52288 fi
52289
52290 COND_PLATFORM_MAC_1="#"
52291 if test "x$PLATFORM_MAC" = "x1" ; then
52292 COND_PLATFORM_MAC_1=""
52293 fi
52294
52295 COND_PLATFORM_MSDOS_0="#"
52296 if test "x$PLATFORM_MSDOS" = "x0" ; then
52297 COND_PLATFORM_MSDOS_0=""
52298 fi
52299
52300 COND_PLATFORM_MSDOS_1="#"
52301 if test "x$PLATFORM_MSDOS" = "x1" ; then
52302 COND_PLATFORM_MSDOS_1=""
52303 fi
52304
52305 COND_PLATFORM_OS2_1="#"
52306 if test "x$PLATFORM_OS2" = "x1" ; then
52307 COND_PLATFORM_OS2_1=""
52308 fi
52309
52310 COND_PLATFORM_UNIX_0="#"
52311 if test "x$PLATFORM_UNIX" = "x0" ; then
52312 COND_PLATFORM_UNIX_0=""
52313 fi
52314
52315 COND_PLATFORM_UNIX_1="#"
52316 if test "x$PLATFORM_UNIX" = "x1" ; then
52317 COND_PLATFORM_UNIX_1=""
52318 fi
52319
52320 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52321 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52322 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52323 fi
52324
52325 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52326 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52327 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52328 fi
52329
52330 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52331 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52332 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52333 fi
52334
52335 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52336 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52337 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52338 fi
52339
52340 COND_PLATFORM_WIN32_0="#"
52341 if test "x$PLATFORM_WIN32" = "x0" ; then
52342 COND_PLATFORM_WIN32_0=""
52343 fi
52344
52345 COND_PLATFORM_WIN32_1="#"
52346 if test "x$PLATFORM_WIN32" = "x1" ; then
52347 COND_PLATFORM_WIN32_1=""
52348 fi
52349
52350 COND_SHARED_0="#"
52351 if test "x$SHARED" = "x0" ; then
52352 COND_SHARED_0=""
52353 fi
52354
52355 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52356 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52357 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52358 fi
52359
52360 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52361 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52362 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52363 fi
52364
52365 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52366 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52367 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52368 fi
52369
52370 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52371 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52372 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52373 fi
52374
52375 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52376 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52377 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52378 fi
52379
52380 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52381 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52382 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52383 fi
52384
52385 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52386 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52387 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52388 fi
52389
52390 COND_SHARED_0_USE_STC_1="#"
52391 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52392 COND_SHARED_0_USE_STC_1=""
52393 fi
52394
52395 COND_SHARED_0_USE_XRC_1="#"
52396 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52397 COND_SHARED_0_USE_XRC_1=""
52398 fi
52399
52400 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52401 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52402 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52403 fi
52404
52405 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52406 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52407 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52408 fi
52409
52410 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52411 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52412 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52413 fi
52414
52415 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52416 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52417 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52418 fi
52419
52420 COND_SHARED_1="#"
52421 if test "x$SHARED" = "x1" ; then
52422 COND_SHARED_1=""
52423 fi
52424
52425 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52426 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52427 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52428 fi
52429
52430 COND_SHARED_1_USE_XRC_1="#"
52431 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52432 COND_SHARED_1_USE_XRC_1=""
52433 fi
52434
52435 COND_TOOLKIT_="#"
52436 if test "x$TOOLKIT" = "x" ; then
52437 COND_TOOLKIT_=""
52438 fi
52439
52440 COND_TOOLKIT_COCOA="#"
52441 if test "x$TOOLKIT" = "xCOCOA" ; then
52442 COND_TOOLKIT_COCOA=""
52443 fi
52444
52445 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52446 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52447 COND_TOOLKIT_COCOA_USE_GUI_1=""
52448 fi
52449
52450 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52451 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52452 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52453 fi
52454
52455 COND_TOOLKIT_DFB="#"
52456 if test "x$TOOLKIT" = "xDFB" ; then
52457 COND_TOOLKIT_DFB=""
52458 fi
52459
52460 COND_TOOLKIT_DFB_USE_GUI_1="#"
52461 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52462 COND_TOOLKIT_DFB_USE_GUI_1=""
52463 fi
52464
52465 COND_TOOLKIT_GTK="#"
52466 if test "x$TOOLKIT" = "xGTK" ; then
52467 COND_TOOLKIT_GTK=""
52468 fi
52469
52470 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52471 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52472 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52473 fi
52474
52475 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52476 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52477 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52478 fi
52479
52480 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52481 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52482 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52483 fi
52484
52485 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52486 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52487 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52488 fi
52489
52490 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52491 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52492 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52493 fi
52494
52495 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52496 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52497 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52498 fi
52499
52500 COND_TOOLKIT_GTK_USE_GUI_1="#"
52501 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52502 COND_TOOLKIT_GTK_USE_GUI_1=""
52503 fi
52504
52505 COND_TOOLKIT_MAC="#"
52506 if test "x$TOOLKIT" = "xMAC" ; then
52507 COND_TOOLKIT_MAC=""
52508 fi
52509
52510 COND_TOOLKIT_MAC_USE_GUI_1="#"
52511 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52512 COND_TOOLKIT_MAC_USE_GUI_1=""
52513 fi
52514
52515 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52516 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52517 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52518 fi
52519
52520 COND_TOOLKIT_MGL="#"
52521 if test "x$TOOLKIT" = "xMGL" ; then
52522 COND_TOOLKIT_MGL=""
52523 fi
52524
52525 COND_TOOLKIT_MGL_USE_GUI_1="#"
52526 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52527 COND_TOOLKIT_MGL_USE_GUI_1=""
52528 fi
52529
52530 COND_TOOLKIT_MOTIF="#"
52531 if test "x$TOOLKIT" = "xMOTIF" ; then
52532 COND_TOOLKIT_MOTIF=""
52533 fi
52534
52535 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52536 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52537 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52538 fi
52539
52540 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52541 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52542 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52543 fi
52544
52545 COND_TOOLKIT_MSW="#"
52546 if test "x$TOOLKIT" = "xMSW" ; then
52547 COND_TOOLKIT_MSW=""
52548 fi
52549
52550 COND_TOOLKIT_MSW_USE_GUI_1="#"
52551 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52552 COND_TOOLKIT_MSW_USE_GUI_1=""
52553 fi
52554
52555 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52556 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52557 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52558 fi
52559
52560 COND_TOOLKIT_MSW_WXUNIV_0="#"
52561 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52562 COND_TOOLKIT_MSW_WXUNIV_0=""
52563 fi
52564
52565 COND_TOOLKIT_PM="#"
52566 if test "x$TOOLKIT" = "xPM" ; then
52567 COND_TOOLKIT_PM=""
52568 fi
52569
52570 COND_TOOLKIT_PM_USE_GUI_1="#"
52571 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52572 COND_TOOLKIT_PM_USE_GUI_1=""
52573 fi
52574
52575 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52576 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52577 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52578 fi
52579
52580 COND_TOOLKIT_WINCE="#"
52581 if test "x$TOOLKIT" = "xWINCE" ; then
52582 COND_TOOLKIT_WINCE=""
52583 fi
52584
52585 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52586 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52587 COND_TOOLKIT_WINCE_USE_GUI_1=""
52588 fi
52589
52590 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52591 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52592 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52593 fi
52594
52595 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52596 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52597 COND_TOOLKIT_WINCE_WXUNIV_0=""
52598 fi
52599
52600 COND_TOOLKIT_X11="#"
52601 if test "x$TOOLKIT" = "xX11" ; then
52602 COND_TOOLKIT_X11=""
52603 fi
52604
52605 COND_TOOLKIT_X11_USE_GUI_1="#"
52606 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52607 COND_TOOLKIT_X11_USE_GUI_1=""
52608 fi
52609
52610 COND_UNICODE_1="#"
52611 if test "x$UNICODE" = "x1" ; then
52612 COND_UNICODE_1=""
52613 fi
52614
52615 COND_USE_EXCEPTIONS_0="#"
52616 if test "x$USE_EXCEPTIONS" = "x0" ; then
52617 COND_USE_EXCEPTIONS_0=""
52618 fi
52619
52620 COND_USE_EXCEPTIONS_1="#"
52621 if test "x$USE_EXCEPTIONS" = "x1" ; then
52622 COND_USE_EXCEPTIONS_1=""
52623 fi
52624
52625 COND_USE_GUI_0="#"
52626 if test "x$USE_GUI" = "x0" ; then
52627 COND_USE_GUI_0=""
52628 fi
52629
52630 COND_USE_GUI_1="#"
52631 if test "x$USE_GUI" = "x1" ; then
52632 COND_USE_GUI_1=""
52633 fi
52634
52635 COND_USE_GUI_1_USE_OPENGL_1="#"
52636 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52637 COND_USE_GUI_1_USE_OPENGL_1=""
52638 fi
52639
52640 COND_USE_GUI_1_WXUNIV_0="#"
52641 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52642 COND_USE_GUI_1_WXUNIV_0=""
52643 fi
52644
52645 COND_USE_GUI_1_WXUNIV_1="#"
52646 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52647 COND_USE_GUI_1_WXUNIV_1=""
52648 fi
52649
52650 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52651 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52652 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52653 fi
52654
52655 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52656 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52657 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52658 fi
52659
52660 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52661 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52662 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52663 fi
52664
52665 COND_USE_ODBC_1="#"
52666 if test "x$USE_ODBC" = "x1" ; then
52667 COND_USE_ODBC_1=""
52668 fi
52669
52670 COND_USE_OPENGL_1="#"
52671 if test "x$USE_OPENGL" = "x1" ; then
52672 COND_USE_OPENGL_1=""
52673 fi
52674
52675 COND_USE_PCH_1="#"
52676 if test "x$USE_PCH" = "x1" ; then
52677 COND_USE_PCH_1=""
52678 fi
52679
52680 COND_USE_PLUGINS_0="#"
52681 if test "x$USE_PLUGINS" = "x0" ; then
52682 COND_USE_PLUGINS_0=""
52683 fi
52684
52685 COND_USE_RTTI_0="#"
52686 if test "x$USE_RTTI" = "x0" ; then
52687 COND_USE_RTTI_0=""
52688 fi
52689
52690 COND_USE_RTTI_1="#"
52691 if test "x$USE_RTTI" = "x1" ; then
52692 COND_USE_RTTI_1=""
52693 fi
52694
52695 COND_USE_SOSYMLINKS_1="#"
52696 if test "x$USE_SOSYMLINKS" = "x1" ; then
52697 COND_USE_SOSYMLINKS_1=""
52698 fi
52699
52700 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52701 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52702 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52703 fi
52704
52705 COND_USE_SOVERLINUX_1="#"
52706 if test "x$USE_SOVERLINUX" = "x1" ; then
52707 COND_USE_SOVERLINUX_1=""
52708 fi
52709
52710 COND_USE_SOVERSION_0="#"
52711 if test "x$USE_SOVERSION" = "x0" ; then
52712 COND_USE_SOVERSION_0=""
52713 fi
52714
52715 COND_USE_SOVERSOLARIS_1="#"
52716 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52717 COND_USE_SOVERSOLARIS_1=""
52718 fi
52719
52720 COND_USE_STC_1="#"
52721 if test "x$USE_STC" = "x1" ; then
52722 COND_USE_STC_1=""
52723 fi
52724
52725 COND_USE_THREADS_0="#"
52726 if test "x$USE_THREADS" = "x0" ; then
52727 COND_USE_THREADS_0=""
52728 fi
52729
52730 COND_USE_THREADS_1="#"
52731 if test "x$USE_THREADS" = "x1" ; then
52732 COND_USE_THREADS_1=""
52733 fi
52734
52735 COND_USE_XRC_1="#"
52736 if test "x$USE_XRC" = "x1" ; then
52737 COND_USE_XRC_1=""
52738 fi
52739
52740 COND_WINDOWS_IMPLIB_1="#"
52741 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52742 COND_WINDOWS_IMPLIB_1=""
52743 fi
52744
52745 COND_WITH_PLUGIN_SDL_1="#"
52746 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52747 COND_WITH_PLUGIN_SDL_1=""
52748 fi
52749
52750 COND_WXUNIV_0="#"
52751 if test "x$WXUNIV" = "x0" ; then
52752 COND_WXUNIV_0=""
52753 fi
52754
52755 COND_WXUNIV_1="#"
52756 if test "x$WXUNIV" = "x1" ; then
52757 COND_WXUNIV_1=""
52758 fi
52759
52760 COND_WXUSE_EXPAT_BUILTIN="#"
52761 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52762 COND_WXUSE_EXPAT_BUILTIN=""
52763 fi
52764
52765 COND_WXUSE_LIBJPEG_BUILTIN="#"
52766 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52767 COND_WXUSE_LIBJPEG_BUILTIN=""
52768 fi
52769
52770 COND_WXUSE_LIBPNG_BUILTIN="#"
52771 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52772 COND_WXUSE_LIBPNG_BUILTIN=""
52773 fi
52774
52775 COND_WXUSE_LIBTIFF_BUILTIN="#"
52776 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52777 COND_WXUSE_LIBTIFF_BUILTIN=""
52778 fi
52779
52780 COND_WXUSE_ODBC_BUILTIN="#"
52781 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52782 COND_WXUSE_ODBC_BUILTIN=""
52783 fi
52784
52785 COND_WXUSE_REGEX_BUILTIN="#"
52786 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52787 COND_WXUSE_REGEX_BUILTIN=""
52788 fi
52789
52790 COND_WXUSE_ZLIB_BUILTIN="#"
52791 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52792 COND_WXUSE_ZLIB_BUILTIN=""
52793 fi
52794
52795
52796
52797 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52798 { { 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
52799 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;}
52800 { (exit 1); exit 1; }; }
52801 fi
52802
52803 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52804 { { 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
52805 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;}
52806 { (exit 1); exit 1; }; }
52807 fi
52808
52809
52810 case ${INSTALL} in
52811 /* ) # Absolute
52812 ;;
52813 ?:* ) # Drive letter, considered as absolute.
52814 ;;
52815 *)
52816 INSTALL=`pwd`/${INSTALL} ;;
52817 esac
52818
52819 if test "$wxUSE_GUI" = "yes"; then
52820
52821 if test "$wxUSE_MSW" = 1 ; then
52822 if test "x$WINDRES" = "x"; then
52823 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
52824 echo "$as_me: error: Required windres program not found" >&2;}
52825 { (exit 1); exit 1; }; }
52826 fi
52827
52828 RESCOMP="$WINDRES"
52829 fi
52830
52831 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
52832 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
52833 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
52834
52835 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
52836
52837 # Extract the first word of "DeRez", so it can be a program name with args.
52838 set dummy DeRez; ac_word=$2
52839 echo "$as_me:$LINENO: checking for $ac_word" >&5
52840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
52841 if test "${ac_cv_prog_DEREZ+set}" = set; then
52842 echo $ECHO_N "(cached) $ECHO_C" >&6
52843 else
52844 if test -n "$DEREZ"; then
52845 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
52846 else
52847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52848 for as_dir in $PATH
52849 do
52850 IFS=$as_save_IFS
52851 test -z "$as_dir" && as_dir=.
52852 for ac_exec_ext in '' $ac_executable_extensions; do
52853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
52854 ac_cv_prog_DEREZ="DeRez"
52855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52856 break 2
52857 fi
52858 done
52859 done
52860
52861 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
52862 fi
52863 fi
52864 DEREZ=$ac_cv_prog_DEREZ
52865 if test -n "$DEREZ"; then
52866 echo "$as_me:$LINENO: result: $DEREZ" >&5
52867 echo "${ECHO_T}$DEREZ" >&6
52868 else
52869 echo "$as_me:$LINENO: result: no" >&5
52870 echo "${ECHO_T}no" >&6
52871 fi
52872
52873
52874 MACSETFILE="\$(SETFILE)"
52875
52876 if test "$wxUSE_MAC" = 1; then
52877 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
52878 RESCOMP="$REZ"
52879 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
52880 else
52881 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
52882 RESCOMP="cat /dev/null \| $REZ"
52883 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
52884 fi
52885
52886 else
52887 MACSETFILE="@true"
52888
52889 if test "$wxUSE_PM" = 1; then
52890 RESCOMP="emxbind"
52891 WXCONFIG_RESFLAGS="-ep"
52892
52893 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
52894 else
52895 POSTLINK_COMMAND="@true"
52896 fi
52897 fi
52898
52899 fi
52900
52901
52902 if test $GCC_PCH = 1
52903 then
52904 if test "$wx_cv_gcc_pch_bug" = yes; then
52905 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52906 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52907 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52908 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52909 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52910 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52911 fi
52912
52913 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52914 fi
52915
52916
52917 if test "$wxUSE_MAC" = 1 ; then
52918 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52919 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52920 mv temp bk-deps
52921 chmod +x bk-deps
52922 fi
52923 fi
52924
52925 if test "$wxUSE_SHARED" = "yes"; then
52926
52927 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52928 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52929
52930 case "${host}" in
52931 *-pc-os2_emx | *-pc-os2-emx )
52932 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52933 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52934 cp -p ${srcdir}/src/os2/dllnames.sh .
52935 cp -p ${srcdir}/src/os2/dllar.sh .
52936 ;;
52937 esac
52938 else
52939
52940 EXE_LINKER="$CXX -o"
52941
52942 fi
52943 if test "$wxUSE_OMF" = "yes"; then
52944 case "${host}" in
52945 *-pc-os2_emx | *-pc-os2-emx )
52946 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52947 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52948 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52949 ;;
52950 esac
52951 fi
52952
52953 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52954
52955
52956 case "${host}" in
52957 *-*-solaris2* )
52958 if "$GCC" = yes; then
52959 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52960 LIBS=`echo $LIBS | sed 's/-mt//'`
52961 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52962 fi
52963 ;;
52964
52965 *-*-linux* )
52966 if test "x$SUNCXX" = xyes; then
52967 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52968 LIBS=`echo $LIBS | sed 's/-pthread//'`
52969 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52970 fi
52971 ;;
52972 esac
52973
52974 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52975 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52976
52977 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52978
52979
52980
52981
52982
52983
52984
52985
52986
52987
52988
52989
52990
52991
52992
52993
52994
52995
52996
52997
52998
52999
53000
53001
53002
53003
53004
53005
53006
53007
53008
53009
53010
53011
53012
53013
53014
53015
53016
53017
53018
53019
53020
53021
53022
53023
53024
53025
53026
53027
53028
53029
53030
53031
53032
53033
53034
53035
53036
53037
53038
53039 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
53040 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
53041 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
53042 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
53043 echo $ECHO_N "(cached) $ECHO_C" >&6
53044 else
53045 cat >conftest.make <<\_ACEOF
53046 all:
53047 @echo 'ac_maketemp="$(MAKE)"'
53048 _ACEOF
53049 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
53050 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
53051 if test -n "$ac_maketemp"; then
53052 eval ac_cv_prog_make_${ac_make}_set=yes
53053 else
53054 eval ac_cv_prog_make_${ac_make}_set=no
53055 fi
53056 rm -f conftest.make
53057 fi
53058 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
53059 echo "$as_me:$LINENO: result: yes" >&5
53060 echo "${ECHO_T}yes" >&6
53061 SET_MAKE=
53062 else
53063 echo "$as_me:$LINENO: result: no" >&5
53064 echo "${ECHO_T}no" >&6
53065 SET_MAKE="MAKE=${MAKE-make}"
53066 fi
53067
53068
53069
53070 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53071
53072
53073 if test "$USE_WIN32" = 1; then
53074 ac_config_commands="$ac_config_commands
53075 rcdefs.h
53076 "
53077
53078 fi
53079
53080 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53081
53082
53083 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53084
53085
53086 if test "$wx_cv_version_script" = "yes"; then
53087 ac_config_files="$ac_config_files version-script"
53088
53089 fi
53090 ac_config_files="$ac_config_files Makefile"
53091
53092
53093 ac_config_commands="$ac_config_commands wx-config"
53094
53095
53096
53097 if test "$wxWITH_SUBDIRS" != "no"; then
53098 if test "$wxUSE_GUI" = "yes"; then
53099 SUBDIRS="samples demos utils"
53100 else SUBDIRS="samples utils"
53101 fi
53102
53103
53104
53105 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
53106 if test "${with_cppunit_prefix+set}" = set; then
53107 withval="$with_cppunit_prefix"
53108 cppunit_config_prefix="$withval"
53109 else
53110 cppunit_config_prefix=""
53111 fi;
53112
53113 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
53114 if test "${with_cppunit_exec_prefix+set}" = set; then
53115 withval="$with_cppunit_exec_prefix"
53116 cppunit_config_exec_prefix="$withval"
53117 else
53118 cppunit_config_exec_prefix=""
53119 fi;
53120
53121 if test x$cppunit_config_exec_prefix != x ; then
53122 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53123 if test x${CPPUNIT_CONFIG+set} != xset ; then
53124 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53125 fi
53126 fi
53127 if test x$cppunit_config_prefix != x ; then
53128 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53129 if test x${CPPUNIT_CONFIG+set} != xset ; then
53130 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53131 fi
53132 fi
53133
53134 # Extract the first word of "cppunit-config", so it can be a program name with args.
53135 set dummy cppunit-config; ac_word=$2
53136 echo "$as_me:$LINENO: checking for $ac_word" >&5
53137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
53138 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53139 echo $ECHO_N "(cached) $ECHO_C" >&6
53140 else
53141 case $CPPUNIT_CONFIG in
53142 [\\/]* | ?:[\\/]*)
53143 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53144 ;;
53145 *)
53146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53147 for as_dir in $PATH
53148 do
53149 IFS=$as_save_IFS
53150 test -z "$as_dir" && as_dir=.
53151 for ac_exec_ext in '' $ac_executable_extensions; do
53152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
53153 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53155 break 2
53156 fi
53157 done
53158 done
53159
53160 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53161 ;;
53162 esac
53163 fi
53164 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53165
53166 if test -n "$CPPUNIT_CONFIG"; then
53167 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53168 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
53169 else
53170 echo "$as_me:$LINENO: result: no" >&5
53171 echo "${ECHO_T}no" >&6
53172 fi
53173
53174 cppunit_version_min=1.8.0
53175
53176 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53177 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
53178 no_cppunit=""
53179 if test "$CPPUNIT_CONFIG" = "no" ; then
53180 echo "$as_me:$LINENO: result: no" >&5
53181 echo "${ECHO_T}no" >&6
53182 no_cppunit=yes
53183 else
53184 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53185 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53186 cppunit_version=`$CPPUNIT_CONFIG --version`
53187
53188 cppunit_major_version=`echo $cppunit_version | \
53189 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53190 cppunit_minor_version=`echo $cppunit_version | \
53191 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53192 cppunit_micro_version=`echo $cppunit_version | \
53193 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53194
53195 cppunit_major_min=`echo $cppunit_version_min | \
53196 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53197 cppunit_minor_min=`echo $cppunit_version_min | \
53198 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53199 cppunit_micro_min=`echo $cppunit_version_min | \
53200 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53201
53202 cppunit_version_proper=`expr \
53203 $cppunit_major_version \> $cppunit_major_min \| \
53204 $cppunit_major_version \= $cppunit_major_min \& \
53205 $cppunit_minor_version \> $cppunit_minor_min \| \
53206 $cppunit_major_version \= $cppunit_major_min \& \
53207 $cppunit_minor_version \= $cppunit_minor_min \& \
53208 $cppunit_micro_version \>= $cppunit_micro_min `
53209
53210 if test "$cppunit_version_proper" = "1" ; then
53211 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53212 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
53213 else
53214 echo "$as_me:$LINENO: result: no" >&5
53215 echo "${ECHO_T}no" >&6
53216 no_cppunit=yes
53217 fi
53218 fi
53219
53220 if test "x$no_cppunit" = x ; then
53221 SUBDIRS="$SUBDIRS tests"
53222 else
53223 CPPUNIT_CFLAGS=""
53224 CPPUNIT_LIBS=""
53225 :
53226 fi
53227
53228
53229
53230
53231
53232 for subdir in `echo $SUBDIRS`; do
53233 if test -d ${srcdir}/${subdir} ; then
53234 if test "$wxUSE_GUI" = "yes"; then
53235 if test ${subdir} = "samples"; then
53236 makefiles="samples/Makefile.in $makefiles"
53237 for sample in `echo $SAMPLES_SUBDIRS`; do
53238 if test -d $srcdir/samples/$sample; then
53239 makefiles="samples/$sample/Makefile.in $makefiles"
53240 fi
53241 done
53242 else
53243 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
53244 eval "disabled=\$$disabled_var"
53245 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53246 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53247 fi
53248 else if test ${subdir} = "samples"; then
53249 makefiles="samples/Makefile.in samples/console/Makefile.in"
53250 elif test ${subdir} = "utils"; then
53251 makefiles=""
53252 for util in HelpGen tex2rtf ; do
53253 if test -d $srcdir/utils/$util ; then
53254 makefiles="utils/$util/Makefile.in \
53255 utils/$util/src/Makefile.in \
53256 $makefiles"
53257 fi
53258 done
53259 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53260 fi
53261 fi
53262
53263 for mkin in $makefiles ; do
53264 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53265 ac_config_files="$ac_config_files $mk"
53266
53267 done
53268 fi
53269 done
53270 fi
53271 cat >confcache <<\_ACEOF
53272 # This file is a shell script that caches the results of configure
53273 # tests run on this system so they can be shared between configure
53274 # scripts and configure runs, see configure's option --config-cache.
53275 # It is not useful on other systems. If it contains results you don't
53276 # want to keep, you may remove or edit it.
53277 #
53278 # config.status only pays attention to the cache file if you give it
53279 # the --recheck option to rerun configure.
53280 #
53281 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53282 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53283 # following values.
53284
53285 _ACEOF
53286
53287 # The following way of writing the cache mishandles newlines in values,
53288 # but we know of no workaround that is simple, portable, and efficient.
53289 # So, don't put newlines in cache variables' values.
53290 # Ultrix sh set writes to stderr and can't be redirected directly,
53291 # and sets the high bit in the cache file unless we assign to the vars.
53292 {
53293 (set) 2>&1 |
53294 case `(ac_space=' '; set | grep ac_space) 2>&1` in
53295 *ac_space=\ *)
53296 # `set' does not quote correctly, so add quotes (double-quote
53297 # substitution turns \\\\ into \\, and sed turns \\ into \).
53298 sed -n \
53299 "s/'/'\\\\''/g;
53300 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53301 ;;
53302 *)
53303 # `set' quotes correctly as required by POSIX, so do not add quotes.
53304 sed -n \
53305 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
53306 ;;
53307 esac;
53308 } |
53309 sed '
53310 t clear
53311 : clear
53312 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53313 t end
53314 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53315 : end' >>confcache
53316 if diff $cache_file confcache >/dev/null 2>&1; then :; else
53317 if test -w $cache_file; then
53318 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
53319 cat confcache >$cache_file
53320 else
53321 echo "not updating unwritable cache $cache_file"
53322 fi
53323 fi
53324 rm -f confcache
53325
53326 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53327 # Let make expand exec_prefix.
53328 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53329
53330 # VPATH may cause trouble with some makes, so we remove $(srcdir),
53331 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
53332 # trailing colons and then remove the whole line if VPATH becomes empty
53333 # (actually we leave an empty line to preserve line numbers).
53334 if test "x$srcdir" = x.; then
53335 ac_vpsub='/^[ ]*VPATH[ ]*=/{
53336 s/:*\$(srcdir):*/:/;
53337 s/:*\${srcdir}:*/:/;
53338 s/:*@srcdir@:*/:/;
53339 s/^\([^=]*=[ ]*\):*/\1/;
53340 s/:*$//;
53341 s/^[^=]*=[ ]*$//;
53342 }'
53343 fi
53344
53345 DEFS=-DHAVE_CONFIG_H
53346
53347 ac_libobjs=
53348 ac_ltlibobjs=
53349 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53350 # 1. Remove the extension, and $U if already installed.
53351 ac_i=`echo "$ac_i" |
53352 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
53353 # 2. Add them.
53354 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
53355 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
53356 done
53357 LIBOBJS=$ac_libobjs
53358
53359 LTLIBOBJS=$ac_ltlibobjs
53360
53361
53362
53363 : ${CONFIG_STATUS=./config.status}
53364 ac_clean_files_save=$ac_clean_files
53365 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53366 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53367 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53368 cat >$CONFIG_STATUS <<_ACEOF
53369 #! $SHELL
53370 # Generated by $as_me.
53371 # Run this file to recreate the current configuration.
53372 # Compiler output produced by configure, useful for debugging
53373 # configure, is in config.log if it exists.
53374
53375 debug=false
53376 ac_cs_recheck=false
53377 ac_cs_silent=false
53378 SHELL=\${CONFIG_SHELL-$SHELL}
53379 _ACEOF
53380
53381 cat >>$CONFIG_STATUS <<\_ACEOF
53382 ## --------------------- ##
53383 ## M4sh Initialization. ##
53384 ## --------------------- ##
53385
53386 # Be Bourne compatible
53387 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53388 emulate sh
53389 NULLCMD=:
53390 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53391 # is contrary to our usage. Disable this feature.
53392 alias -g '${1+"$@"}'='"$@"'
53393 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
53394 set -o posix
53395 fi
53396 DUALCASE=1; export DUALCASE # for MKS sh
53397
53398 # Support unset when possible.
53399 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53400 as_unset=unset
53401 else
53402 as_unset=false
53403 fi
53404
53405
53406 # Work around bugs in pre-3.0 UWIN ksh.
53407 $as_unset ENV MAIL MAILPATH
53408 PS1='$ '
53409 PS2='> '
53410 PS4='+ '
53411
53412 # NLS nuisances.
53413 for as_var in \
53414 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53415 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53416 LC_TELEPHONE LC_TIME
53417 do
53418 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53419 eval $as_var=C; export $as_var
53420 else
53421 $as_unset $as_var
53422 fi
53423 done
53424
53425 # Required to use basename.
53426 if expr a : '\(a\)' >/dev/null 2>&1; then
53427 as_expr=expr
53428 else
53429 as_expr=false
53430 fi
53431
53432 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
53433 as_basename=basename
53434 else
53435 as_basename=false
53436 fi
53437
53438
53439 # Name of the executable.
53440 as_me=`$as_basename "$0" ||
53441 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53442 X"$0" : 'X\(//\)$' \| \
53443 X"$0" : 'X\(/\)$' \| \
53444 . : '\(.\)' 2>/dev/null ||
53445 echo X/"$0" |
53446 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
53447 /^X\/\(\/\/\)$/{ s//\1/; q; }
53448 /^X\/\(\/\).*/{ s//\1/; q; }
53449 s/.*/./; q'`
53450
53451
53452 # PATH needs CR, and LINENO needs CR and PATH.
53453 # Avoid depending upon Character Ranges.
53454 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53455 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53456 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53457 as_cr_digits='0123456789'
53458 as_cr_alnum=$as_cr_Letters$as_cr_digits
53459
53460 # The user is always right.
53461 if test "${PATH_SEPARATOR+set}" != set; then
53462 echo "#! /bin/sh" >conf$$.sh
53463 echo "exit 0" >>conf$$.sh
53464 chmod +x conf$$.sh
53465 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53466 PATH_SEPARATOR=';'
53467 else
53468 PATH_SEPARATOR=:
53469 fi
53470 rm -f conf$$.sh
53471 fi
53472
53473
53474 as_lineno_1=$LINENO
53475 as_lineno_2=$LINENO
53476 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
53477 test "x$as_lineno_1" != "x$as_lineno_2" &&
53478 test "x$as_lineno_3" = "x$as_lineno_2" || {
53479 # Find who we are. Look in the path if we contain no path at all
53480 # relative or not.
53481 case $0 in
53482 *[\\/]* ) as_myself=$0 ;;
53483 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53484 for as_dir in $PATH
53485 do
53486 IFS=$as_save_IFS
53487 test -z "$as_dir" && as_dir=.
53488 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53489 done
53490
53491 ;;
53492 esac
53493 # We did not find ourselves, most probably we were run as `sh COMMAND'
53494 # in which case we are not to be found in the path.
53495 if test "x$as_myself" = x; then
53496 as_myself=$0
53497 fi
53498 if test ! -f "$as_myself"; then
53499 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
53500 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
53501 { (exit 1); exit 1; }; }
53502 fi
53503 case $CONFIG_SHELL in
53504 '')
53505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53506 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
53507 do
53508 IFS=$as_save_IFS
53509 test -z "$as_dir" && as_dir=.
53510 for as_base in sh bash ksh sh5; do
53511 case $as_dir in
53512 /*)
53513 if ("$as_dir/$as_base" -c '
53514 as_lineno_1=$LINENO
53515 as_lineno_2=$LINENO
53516 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
53517 test "x$as_lineno_1" != "x$as_lineno_2" &&
53518 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
53519 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
53520 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
53521 CONFIG_SHELL=$as_dir/$as_base
53522 export CONFIG_SHELL
53523 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
53524 fi;;
53525 esac
53526 done
53527 done
53528 ;;
53529 esac
53530
53531 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53532 # uniformly replaced by the line number. The first 'sed' inserts a
53533 # line-number line before each line; the second 'sed' does the real
53534 # work. The second script uses 'N' to pair each line-number line
53535 # with the numbered line, and appends trailing '-' during
53536 # substitution so that $LINENO is not a special case at line end.
53537 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53538 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
53539 sed '=' <$as_myself |
53540 sed '
53541 N
53542 s,$,-,
53543 : loop
53544 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
53545 t loop
53546 s,-$,,
53547 s,^['$as_cr_digits']*\n,,
53548 ' >$as_me.lineno &&
53549 chmod +x $as_me.lineno ||
53550 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
53551 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
53552 { (exit 1); exit 1; }; }
53553
53554 # Don't try to exec as it changes $[0], causing all sort of problems
53555 # (the dirname of $[0] is not the place where we might find the
53556 # original and so on. Autoconf is especially sensible to this).
53557 . ./$as_me.lineno
53558 # Exit status is that of the last command.
53559 exit
53560 }
53561
53562
53563 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
53564 *c*,-n*) ECHO_N= ECHO_C='
53565 ' ECHO_T=' ' ;;
53566 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
53567 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
53568 esac
53569
53570 if expr a : '\(a\)' >/dev/null 2>&1; then
53571 as_expr=expr
53572 else
53573 as_expr=false
53574 fi
53575
53576 rm -f conf$$ conf$$.exe conf$$.file
53577 echo >conf$$.file
53578 if ln -s conf$$.file conf$$ 2>/dev/null; then
53579 # We could just check for DJGPP; but this test a) works b) is more generic
53580 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
53581 if test -f conf$$.exe; then
53582 # Don't use ln at all; we don't have any links
53583 as_ln_s='cp -p'
53584 else
53585 as_ln_s='ln -s'
53586 fi
53587 elif ln conf$$.file conf$$ 2>/dev/null; then
53588 as_ln_s=ln
53589 else
53590 as_ln_s='cp -p'
53591 fi
53592 rm -f conf$$ conf$$.exe conf$$.file
53593
53594 if mkdir -p . 2>/dev/null; then
53595 as_mkdir_p=:
53596 else
53597 test -d ./-p && rmdir ./-p
53598 as_mkdir_p=false
53599 fi
53600
53601 as_executable_p="test -f"
53602
53603 # Sed expression to map a string onto a valid CPP name.
53604 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53605
53606 # Sed expression to map a string onto a valid variable name.
53607 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53608
53609
53610 # IFS
53611 # We need space, tab and new line, in precisely that order.
53612 as_nl='
53613 '
53614 IFS=" $as_nl"
53615
53616 # CDPATH.
53617 $as_unset CDPATH
53618
53619 exec 6>&1
53620
53621 # Open the log real soon, to keep \$[0] and so on meaningful, and to
53622 # report actual input values of CONFIG_FILES etc. instead of their
53623 # values after options handling. Logging --version etc. is OK.
53624 exec 5>>config.log
53625 {
53626 echo
53627 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53628 ## Running $as_me. ##
53629 _ASBOX
53630 } >&5
53631 cat >&5 <<_CSEOF
53632
53633 This file was extended by wxWidgets $as_me 2.9.0, which was
53634 generated by GNU Autoconf 2.59. Invocation command line was
53635
53636 CONFIG_FILES = $CONFIG_FILES
53637 CONFIG_HEADERS = $CONFIG_HEADERS
53638 CONFIG_LINKS = $CONFIG_LINKS
53639 CONFIG_COMMANDS = $CONFIG_COMMANDS
53640 $ $0 $@
53641
53642 _CSEOF
53643 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
53644 echo >&5
53645 _ACEOF
53646
53647 # Files that config.status was made for.
53648 if test -n "$ac_config_files"; then
53649 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
53650 fi
53651
53652 if test -n "$ac_config_headers"; then
53653 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
53654 fi
53655
53656 if test -n "$ac_config_links"; then
53657 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
53658 fi
53659
53660 if test -n "$ac_config_commands"; then
53661 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
53662 fi
53663
53664 cat >>$CONFIG_STATUS <<\_ACEOF
53665
53666 ac_cs_usage="\
53667 \`$as_me' instantiates files from templates according to the
53668 current configuration.
53669
53670 Usage: $0 [OPTIONS] [FILE]...
53671
53672 -h, --help print this help, then exit
53673 -V, --version print version number, then exit
53674 -q, --quiet do not print progress messages
53675 -d, --debug don't remove temporary files
53676 --recheck update $as_me by reconfiguring in the same conditions
53677 --file=FILE[:TEMPLATE]
53678 instantiate the configuration file FILE
53679 --header=FILE[:TEMPLATE]
53680 instantiate the configuration header FILE
53681
53682 Configuration files:
53683 $config_files
53684
53685 Configuration headers:
53686 $config_headers
53687
53688 Configuration commands:
53689 $config_commands
53690
53691 Report bugs to <bug-autoconf@gnu.org>."
53692 _ACEOF
53693
53694 cat >>$CONFIG_STATUS <<_ACEOF
53695 ac_cs_version="\\
53696 wxWidgets config.status 2.9.0
53697 configured by $0, generated by GNU Autoconf 2.59,
53698 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
53699
53700 Copyright (C) 2003 Free Software Foundation, Inc.
53701 This config.status script is free software; the Free Software Foundation
53702 gives unlimited permission to copy, distribute and modify it."
53703 srcdir=$srcdir
53704 INSTALL="$INSTALL"
53705 _ACEOF
53706
53707 cat >>$CONFIG_STATUS <<\_ACEOF
53708 # If no file are specified by the user, then we need to provide default
53709 # value. By we need to know if files were specified by the user.
53710 ac_need_defaults=:
53711 while test $# != 0
53712 do
53713 case $1 in
53714 --*=*)
53715 ac_option=`expr "x$1" : 'x\([^=]*\)='`
53716 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
53717 ac_shift=:
53718 ;;
53719 -*)
53720 ac_option=$1
53721 ac_optarg=$2
53722 ac_shift=shift
53723 ;;
53724 *) # This is not an option, so the user has probably given explicit
53725 # arguments.
53726 ac_option=$1
53727 ac_need_defaults=false;;
53728 esac
53729
53730 case $ac_option in
53731 # Handling of the options.
53732 _ACEOF
53733 cat >>$CONFIG_STATUS <<\_ACEOF
53734 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53735 ac_cs_recheck=: ;;
53736 --version | --vers* | -V )
53737 echo "$ac_cs_version"; exit 0 ;;
53738 --he | --h)
53739 # Conflict between --help and --header
53740 { { echo "$as_me:$LINENO: error: ambiguous option: $1
53741 Try \`$0 --help' for more information." >&5
53742 echo "$as_me: error: ambiguous option: $1
53743 Try \`$0 --help' for more information." >&2;}
53744 { (exit 1); exit 1; }; };;
53745 --help | --hel | -h )
53746 echo "$ac_cs_usage"; exit 0 ;;
53747 --debug | --d* | -d )
53748 debug=: ;;
53749 --file | --fil | --fi | --f )
53750 $ac_shift
53751 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53752 ac_need_defaults=false;;
53753 --header | --heade | --head | --hea )
53754 $ac_shift
53755 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53756 ac_need_defaults=false;;
53757 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53758 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53759 ac_cs_silent=: ;;
53760
53761 # This is an error.
53762 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
53763 Try \`$0 --help' for more information." >&5
53764 echo "$as_me: error: unrecognized option: $1
53765 Try \`$0 --help' for more information." >&2;}
53766 { (exit 1); exit 1; }; } ;;
53767
53768 *) ac_config_targets="$ac_config_targets $1" ;;
53769
53770 esac
53771 shift
53772 done
53773
53774 ac_configure_extra_args=
53775
53776 if $ac_cs_silent; then
53777 exec 6>/dev/null
53778 ac_configure_extra_args="$ac_configure_extra_args --silent"
53779 fi
53780
53781 _ACEOF
53782 cat >>$CONFIG_STATUS <<_ACEOF
53783 if \$ac_cs_recheck; then
53784 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53785 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53786 fi
53787
53788 _ACEOF
53789
53790 cat >>$CONFIG_STATUS <<_ACEOF
53791 #
53792 # INIT-COMMANDS section.
53793 #
53794
53795
53796 CPP="$CPP"
53797 infile="$srcdir/include/wx/msw/genrcdefs.h"
53798 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53799
53800
53801 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53802 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53803 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53804 LN_S="${LN_S}"
53805
53806
53807 _ACEOF
53808
53809
53810
53811 cat >>$CONFIG_STATUS <<\_ACEOF
53812 for ac_config_target in $ac_config_targets
53813 do
53814 case "$ac_config_target" in
53815 # Handling of arguments.
53816 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53817 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53818 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
53819 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53820 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
53821 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53822 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53823 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53824 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53825 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53826 { (exit 1); exit 1; }; };;
53827 esac
53828 done
53829
53830 # If the user did not use the arguments to specify the items to instantiate,
53831 # then the envvar interface is used. Set only those that are not.
53832 # We use the long form for the default assignment because of an extremely
53833 # bizarre bug on SunOS 4.1.3.
53834 if $ac_need_defaults; then
53835 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53836 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53837 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53838 fi
53839
53840 # Have a temporary directory for convenience. Make it in the build tree
53841 # simply because there is no reason to put it here, and in addition,
53842 # creating and moving files from /tmp can sometimes cause problems.
53843 # Create a temporary directory, and hook for its removal unless debugging.
53844 $debug ||
53845 {
53846 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
53847 trap '{ (exit 1); exit 1; }' 1 2 13 15
53848 }
53849
53850 # Create a (secure) tmp directory for tmp files.
53851
53852 {
53853 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
53854 test -n "$tmp" && test -d "$tmp"
53855 } ||
53856 {
53857 tmp=./confstat$$-$RANDOM
53858 (umask 077 && mkdir $tmp)
53859 } ||
53860 {
53861 echo "$me: cannot create a temporary directory in ." >&2
53862 { (exit 1); exit 1; }
53863 }
53864
53865 _ACEOF
53866
53867 cat >>$CONFIG_STATUS <<_ACEOF
53868
53869 #
53870 # CONFIG_FILES section.
53871 #
53872
53873 # No need to generate the scripts if there are no CONFIG_FILES.
53874 # This happens for instance when ./config.status config.h
53875 if test -n "\$CONFIG_FILES"; then
53876 # Protect against being on the right side of a sed subst in config.status.
53877 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
53878 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
53879 s,@SHELL@,$SHELL,;t t
53880 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
53881 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
53882 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
53883 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
53884 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
53885 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
53886 s,@exec_prefix@,$exec_prefix,;t t
53887 s,@prefix@,$prefix,;t t
53888 s,@program_transform_name@,$program_transform_name,;t t
53889 s,@bindir@,$bindir,;t t
53890 s,@sbindir@,$sbindir,;t t
53891 s,@libexecdir@,$libexecdir,;t t
53892 s,@datadir@,$datadir,;t t
53893 s,@sysconfdir@,$sysconfdir,;t t
53894 s,@sharedstatedir@,$sharedstatedir,;t t
53895 s,@localstatedir@,$localstatedir,;t t
53896 s,@libdir@,$libdir,;t t
53897 s,@includedir@,$includedir,;t t
53898 s,@oldincludedir@,$oldincludedir,;t t
53899 s,@infodir@,$infodir,;t t
53900 s,@mandir@,$mandir,;t t
53901 s,@build_alias@,$build_alias,;t t
53902 s,@host_alias@,$host_alias,;t t
53903 s,@target_alias@,$target_alias,;t t
53904 s,@DEFS@,$DEFS,;t t
53905 s,@ECHO_C@,$ECHO_C,;t t
53906 s,@ECHO_N@,$ECHO_N,;t t
53907 s,@ECHO_T@,$ECHO_T,;t t
53908 s,@LIBS@,$LIBS,;t t
53909 s,@build@,$build,;t t
53910 s,@build_cpu@,$build_cpu,;t t
53911 s,@build_vendor@,$build_vendor,;t t
53912 s,@build_os@,$build_os,;t t
53913 s,@host@,$host,;t t
53914 s,@host_cpu@,$host_cpu,;t t
53915 s,@host_vendor@,$host_vendor,;t t
53916 s,@host_os@,$host_os,;t t
53917 s,@target@,$target,;t t
53918 s,@target_cpu@,$target_cpu,;t t
53919 s,@target_vendor@,$target_vendor,;t t
53920 s,@target_os@,$target_os,;t t
53921 s,@wx_top_builddir@,$wx_top_builddir,;t t
53922 s,@CC@,$CC,;t t
53923 s,@CFLAGS@,$CFLAGS,;t t
53924 s,@LDFLAGS@,$LDFLAGS,;t t
53925 s,@CPPFLAGS@,$CPPFLAGS,;t t
53926 s,@ac_ct_CC@,$ac_ct_CC,;t t
53927 s,@EXEEXT@,$EXEEXT,;t t
53928 s,@OBJEXT@,$OBJEXT,;t t
53929 s,@CPP@,$CPP,;t t
53930 s,@EGREP@,$EGREP,;t t
53931 s,@CXX@,$CXX,;t t
53932 s,@CXXFLAGS@,$CXXFLAGS,;t t
53933 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
53934 s,@AR@,$AR,;t t
53935 s,@ac_ct_AR@,$ac_ct_AR,;t t
53936 s,@subdirs@,$subdirs,;t t
53937 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
53938 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
53939 s,@GTK_LIBS@,$GTK_LIBS,;t t
53940 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
53941 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
53942 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
53943 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
53944 s,@X_CFLAGS@,$X_CFLAGS,;t t
53945 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
53946 s,@X_LIBS@,$X_LIBS,;t t
53947 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
53948 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
53949 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
53950 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
53951 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
53952 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
53953 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
53954 s,@CFLAGS_VISIBILITY@,$CFLAGS_VISIBILITY,;t t
53955 s,@CXXFLAGS_VISIBILITY@,$CXXFLAGS_VISIBILITY,;t t
53956 s,@LIBICONV@,$LIBICONV,;t t
53957 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
53958 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
53959 s,@SDL_LIBS@,$SDL_LIBS,;t t
53960 s,@GTKPRINT_CFLAGS@,$GTKPRINT_CFLAGS,;t t
53961 s,@GTKPRINT_LIBS@,$GTKPRINT_LIBS,;t t
53962 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
53963 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
53964 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
53965 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
53966 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
53967 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
53968 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
53969 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
53970 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
53971 s,@GST_LIBS@,$GST_LIBS,;t t
53972 s,@ALL_WX_LIBS@,$ALL_WX_LIBS,;t t
53973 s,@BUILT_WX_LIBS@,$BUILT_WX_LIBS,;t t
53974 s,@STD_BASE_LIBS@,$STD_BASE_LIBS,;t t
53975 s,@STD_GUI_LIBS@,$STD_GUI_LIBS,;t t
53976 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
53977 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
53978 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
53979 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
53980 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
53981 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
53982 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
53983 s,@VENDOR@,$VENDOR,;t t
53984 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
53985 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
53986 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
53987 s,@WXUNIV@,$WXUNIV,;t t
53988 s,@MONOLITHIC@,$MONOLITHIC,;t t
53989 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
53990 s,@CXXWARNINGS@,$CXXWARNINGS,;t t
53991 s,@EXTRALIBS@,$EXTRALIBS,;t t
53992 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
53993 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
53994 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
53995 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
53996 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
53997 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
53998 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
53999 s,@EXTRALIBS_GTKPRINT@,$EXTRALIBS_GTKPRINT,;t t
54000 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
54001 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
54002 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
54003 s,@UNICODE@,$UNICODE,;t t
54004 s,@BUILD@,$BUILD,;t t
54005 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
54006 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
54007 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
54008 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
54009 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
54010 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
54011 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
54012 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
54013 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
54014 s,@RANLIB@,$RANLIB,;t t
54015 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
54016 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
54017 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
54018 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
54019 s,@LN_S@,$LN_S,;t t
54020 s,@SET_MAKE@,$SET_MAKE,;t t
54021 s,@MAKE_SET@,$MAKE_SET,;t t
54022 s,@AROPTIONS@,$AROPTIONS,;t t
54023 s,@STRIP@,$STRIP,;t t
54024 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
54025 s,@NM@,$NM,;t t
54026 s,@ac_ct_NM@,$ac_ct_NM,;t t
54027 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
54028 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
54029 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
54030 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
54031 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
54032 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
54033 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
54034 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
54035 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
54036 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
54037 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
54038 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
54039 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
54040 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
54041 s,@LIBPREFIX@,$LIBPREFIX,;t t
54042 s,@LIBEXT@,$LIBEXT,;t t
54043 s,@DLLPREFIX@,$DLLPREFIX,;t t
54044 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
54045 s,@dlldir@,$dlldir,;t t
54046 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
54047 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
54048 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
54049 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
54050 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
54051 s,@PIC_FLAG@,$PIC_FLAG,;t t
54052 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
54053 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
54054 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
54055 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
54056 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
54057 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
54058 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
54059 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
54060 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
54061 s,@BK_DEPS@,$BK_DEPS,;t t
54062 s,@WINDRES@,$WINDRES,;t t
54063 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
54064 s,@REZ@,$REZ,;t t
54065 s,@SETFILE@,$SETFILE,;t t
54066 s,@GCC_PCH@,$GCC_PCH,;t t
54067 s,@ICC_PCH@,$ICC_PCH,;t t
54068 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
54069 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
54070 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
54071 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
54072 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
54073 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
54074 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
54075 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
54076 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
54077 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
54078 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
54079 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
54080 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
54081 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
54082 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
54083 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
54084 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
54085 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
54086 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
54087 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
54088 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
54089 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
54090 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
54091 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
54092 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
54093 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
54094 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
54095 s,@COND_MONOLITHIC_0_SHARED_0_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_STC_1,;t t
54096 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
54097 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
54098 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
54099 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
54100 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
54101 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
54102 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
54103 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
54104 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
54105 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
54106 s,@COND_MONOLITHIC_0_SHARED_1_USE_STC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_STC_1,;t t
54107 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
54108 s,@COND_MONOLITHIC_0_USE_AUI_1@,$COND_MONOLITHIC_0_USE_AUI_1,;t t
54109 s,@COND_MONOLITHIC_0_USE_GUI_1@,$COND_MONOLITHIC_0_USE_GUI_1,;t t
54110 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1,;t t
54111 s,@COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1,;t t
54112 s,@COND_MONOLITHIC_0_USE_HTML_1@,$COND_MONOLITHIC_0_USE_HTML_1,;t t
54113 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
54114 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
54115 s,@COND_MONOLITHIC_0_USE_QA_1@,$COND_MONOLITHIC_0_USE_QA_1,;t t
54116 s,@COND_MONOLITHIC_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_USE_RICHTEXT_1,;t t
54117 s,@COND_MONOLITHIC_0_USE_STC_1@,$COND_MONOLITHIC_0_USE_STC_1,;t t
54118 s,@COND_MONOLITHIC_0_USE_XRC_1@,$COND_MONOLITHIC_0_USE_XRC_1,;t t
54119 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
54120 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
54121 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
54122 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
54123 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
54124 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
54125 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
54126 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
54127 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
54128 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
54129 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
54130 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
54131 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
54132 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
54133 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
54134 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
54135 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
54136 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
54137 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
54138 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
54139 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
54140 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
54141 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
54142 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
54143 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL,;t t
54144 s,@COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1@,$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1,;t t
54145 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
54146 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
54147 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
54148 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
54149 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
54150 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
54151 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
54152 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
54153 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
54154 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
54155 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
54156 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
54157 s,@COND_SHARED_0_USE_STC_1@,$COND_SHARED_0_USE_STC_1,;t t
54158 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
54159 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
54160 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
54161 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
54162 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
54163 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
54164 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
54165 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
54166 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
54167 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
54168 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
54169 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
54170 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
54171 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
54172 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
54173 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
54174 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
54175 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
54176 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
54177 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
54178 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
54179 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
54180 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
54181 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
54182 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
54183 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
54184 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
54185 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
54186 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
54187 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
54188 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
54189 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
54190 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
54191 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
54192 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
54193 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
54194 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
54195 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
54196 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
54197 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
54198 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
54199 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
54200 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
54201 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
54202 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
54203 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
54204 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
54205 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
54206 s,@COND_USE_GUI_1_USE_OPENGL_1@,$COND_USE_GUI_1_USE_OPENGL_1,;t t
54207 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
54208 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
54209 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
54210 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
54211 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
54212 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
54213 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
54214 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
54215 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
54216 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
54217 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
54218 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
54219 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
54220 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
54221 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
54222 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
54223 s,@COND_USE_STC_1@,$COND_USE_STC_1,;t t
54224 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
54225 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
54226 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
54227 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
54228 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
54229 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
54230 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
54231 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
54232 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
54233 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
54234 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
54235 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
54236 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
54237 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
54238 s,@DEREZ@,$DEREZ,;t t
54239 s,@SHARED@,$SHARED,;t t
54240 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
54241 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
54242 s,@USE_GUI@,$USE_GUI,;t t
54243 s,@AFMINSTALL@,$AFMINSTALL,;t t
54244 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
54245 s,@TOOLKIT@,$TOOLKIT,;t t
54246 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
54247 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
54248 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
54249 s,@cross_compiling@,$cross_compiling,;t t
54250 s,@WIDGET_SET@,$WIDGET_SET,;t t
54251 s,@WX_RELEASE@,$WX_RELEASE,;t t
54252 s,@WX_VERSION@,$WX_VERSION,;t t
54253 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
54254 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
54255 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
54256 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
54257 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
54258 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
54259 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
54260 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
54261 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
54262 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
54263 s,@EXE_LINKER@,$EXE_LINKER,;t t
54264 s,@GUIDIST@,$GUIDIST,;t t
54265 s,@DISTDIR@,$DISTDIR,;t t
54266 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
54267 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
54268 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
54269 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
54270 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
54271 s,@RESCOMP@,$RESCOMP,;t t
54272 s,@RESFLAGS@,$RESFLAGS,;t t
54273 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
54274 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
54275 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
54276 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
54277 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
54278 s,@MACSETFILE@,$MACSETFILE,;t t
54279 s,@GCC@,$GCC,;t t
54280 s,@DLLTOOL@,$DLLTOOL,;t t
54281 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
54282 s,@LIBOBJS@,$LIBOBJS,;t t
54283 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
54284 CEOF
54285
54286 _ACEOF
54287
54288 cat >>$CONFIG_STATUS <<\_ACEOF
54289 # Split the substitutions into bite-sized pieces for seds with
54290 # small command number limits, like on Digital OSF/1 and HP-UX.
54291 ac_max_sed_lines=48
54292 ac_sed_frag=1 # Number of current file.
54293 ac_beg=1 # First line for current file.
54294 ac_end=$ac_max_sed_lines # Line after last line for current file.
54295 ac_more_lines=:
54296 ac_sed_cmds=
54297 while $ac_more_lines; do
54298 if test $ac_beg -gt 1; then
54299 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
54300 else
54301 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
54302 fi
54303 if test ! -s $tmp/subs.frag; then
54304 ac_more_lines=false
54305 else
54306 # The purpose of the label and of the branching condition is to
54307 # speed up the sed processing (if there are no `@' at all, there
54308 # is no need to browse any of the substitutions).
54309 # These are the two extra sed commands mentioned above.
54310 (echo ':t
54311 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
54312 if test -z "$ac_sed_cmds"; then
54313 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
54314 else
54315 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
54316 fi
54317 ac_sed_frag=`expr $ac_sed_frag + 1`
54318 ac_beg=$ac_end
54319 ac_end=`expr $ac_end + $ac_max_sed_lines`
54320 fi
54321 done
54322 if test -z "$ac_sed_cmds"; then
54323 ac_sed_cmds=cat
54324 fi
54325 fi # test -n "$CONFIG_FILES"
54326
54327 _ACEOF
54328 cat >>$CONFIG_STATUS <<\_ACEOF
54329 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
54330 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
54331 case $ac_file in
54332 - | *:- | *:-:* ) # input from stdin
54333 cat >$tmp/stdin
54334 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
54335 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
54336 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
54337 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
54338 * ) ac_file_in=$ac_file.in ;;
54339 esac
54340
54341 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
54342 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
54343 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54344 X"$ac_file" : 'X\(//\)[^/]' \| \
54345 X"$ac_file" : 'X\(//\)$' \| \
54346 X"$ac_file" : 'X\(/\)' \| \
54347 . : '\(.\)' 2>/dev/null ||
54348 echo X"$ac_file" |
54349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54350 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54351 /^X\(\/\/\)$/{ s//\1/; q; }
54352 /^X\(\/\).*/{ s//\1/; q; }
54353 s/.*/./; q'`
54354 { if $as_mkdir_p; then
54355 mkdir -p "$ac_dir"
54356 else
54357 as_dir="$ac_dir"
54358 as_dirs=
54359 while test ! -d "$as_dir"; do
54360 as_dirs="$as_dir $as_dirs"
54361 as_dir=`(dirname "$as_dir") 2>/dev/null ||
54362 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54363 X"$as_dir" : 'X\(//\)[^/]' \| \
54364 X"$as_dir" : 'X\(//\)$' \| \
54365 X"$as_dir" : 'X\(/\)' \| \
54366 . : '\(.\)' 2>/dev/null ||
54367 echo X"$as_dir" |
54368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54369 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54370 /^X\(\/\/\)$/{ s//\1/; q; }
54371 /^X\(\/\).*/{ s//\1/; q; }
54372 s/.*/./; q'`
54373 done
54374 test ! -n "$as_dirs" || mkdir $as_dirs
54375 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
54376 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
54377 { (exit 1); exit 1; }; }; }
54378
54379 ac_builddir=.
54380
54381 if test "$ac_dir" != .; then
54382 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54383 # A "../" for each directory in $ac_dir_suffix.
54384 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
54385 else
54386 ac_dir_suffix= ac_top_builddir=
54387 fi
54388
54389 case $srcdir in
54390 .) # No --srcdir option. We are building in place.
54391 ac_srcdir=.
54392 if test -z "$ac_top_builddir"; then
54393 ac_top_srcdir=.
54394 else
54395 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
54396 fi ;;
54397 [\\/]* | ?:[\\/]* ) # Absolute path.
54398 ac_srcdir=$srcdir$ac_dir_suffix;
54399 ac_top_srcdir=$srcdir ;;
54400 *) # Relative path.
54401 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
54402 ac_top_srcdir=$ac_top_builddir$srcdir ;;
54403 esac
54404
54405 # Do not use `cd foo && pwd` to compute absolute paths, because
54406 # the directories may not exist.
54407 case `pwd` in
54408 .) ac_abs_builddir="$ac_dir";;
54409 *)
54410 case "$ac_dir" in
54411 .) ac_abs_builddir=`pwd`;;
54412 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
54413 *) ac_abs_builddir=`pwd`/"$ac_dir";;
54414 esac;;
54415 esac
54416 case $ac_abs_builddir in
54417 .) ac_abs_top_builddir=${ac_top_builddir}.;;
54418 *)
54419 case ${ac_top_builddir}. in
54420 .) ac_abs_top_builddir=$ac_abs_builddir;;
54421 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
54422 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
54423 esac;;
54424 esac
54425 case $ac_abs_builddir in
54426 .) ac_abs_srcdir=$ac_srcdir;;
54427 *)
54428 case $ac_srcdir in
54429 .) ac_abs_srcdir=$ac_abs_builddir;;
54430 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
54431 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
54432 esac;;
54433 esac
54434 case $ac_abs_builddir in
54435 .) ac_abs_top_srcdir=$ac_top_srcdir;;
54436 *)
54437 case $ac_top_srcdir in
54438 .) ac_abs_top_srcdir=$ac_abs_builddir;;
54439 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
54440 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
54441 esac;;
54442 esac
54443
54444
54445 case $INSTALL in
54446 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54447 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
54448 esac
54449
54450 if test x"$ac_file" != x-; then
54451 { echo "$as_me:$LINENO: creating $ac_file" >&5
54452 echo "$as_me: creating $ac_file" >&6;}
54453 rm -f "$ac_file"
54454 fi
54455 # Let's still pretend it is `configure' which instantiates (i.e., don't
54456 # use $as_me), people would be surprised to read:
54457 # /* config.h. Generated by config.status. */
54458 if test x"$ac_file" = x-; then
54459 configure_input=
54460 else
54461 configure_input="$ac_file. "
54462 fi
54463 configure_input=$configure_input"Generated from `echo $ac_file_in |
54464 sed 's,.*/,,'` by configure."
54465
54466 # First look for the input files in the build tree, otherwise in the
54467 # src tree.
54468 ac_file_inputs=`IFS=:
54469 for f in $ac_file_in; do
54470 case $f in
54471 -) echo $tmp/stdin ;;
54472 [\\/$]*)
54473 # Absolute (can't be DOS-style, as IFS=:)
54474 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
54475 echo "$as_me: error: cannot find input file: $f" >&2;}
54476 { (exit 1); exit 1; }; }
54477 echo "$f";;
54478 *) # Relative
54479 if test -f "$f"; then
54480 # Build tree
54481 echo "$f"
54482 elif test -f "$srcdir/$f"; then
54483 # Source tree
54484 echo "$srcdir/$f"
54485 else
54486 # /dev/null tree
54487 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
54488 echo "$as_me: error: cannot find input file: $f" >&2;}
54489 { (exit 1); exit 1; }; }
54490 fi;;
54491 esac
54492 done` || { (exit 1); exit 1; }
54493 _ACEOF
54494 cat >>$CONFIG_STATUS <<_ACEOF
54495 sed "$ac_vpsub
54496 $extrasub
54497 _ACEOF
54498 cat >>$CONFIG_STATUS <<\_ACEOF
54499 :t
54500 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54501 s,@configure_input@,$configure_input,;t t
54502 s,@srcdir@,$ac_srcdir,;t t
54503 s,@abs_srcdir@,$ac_abs_srcdir,;t t
54504 s,@top_srcdir@,$ac_top_srcdir,;t t
54505 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
54506 s,@builddir@,$ac_builddir,;t t
54507 s,@abs_builddir@,$ac_abs_builddir,;t t
54508 s,@top_builddir@,$ac_top_builddir,;t t
54509 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
54510 s,@INSTALL@,$ac_INSTALL,;t t
54511 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
54512 rm -f $tmp/stdin
54513 if test x"$ac_file" != x-; then
54514 mv $tmp/out $ac_file
54515 else
54516 cat $tmp/out
54517 rm -f $tmp/out
54518 fi
54519
54520 # Run the commands associated with the file.
54521 case $ac_file in
54522 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54523 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54524 esac
54525 done
54526 _ACEOF
54527 cat >>$CONFIG_STATUS <<\_ACEOF
54528
54529 #
54530 # CONFIG_HEADER section.
54531 #
54532
54533 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
54534 # NAME is the cpp macro being defined and VALUE is the value it is being given.
54535 #
54536 # ac_d sets the value in "#define NAME VALUE" lines.
54537 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
54538 ac_dB='[ ].*$,\1#\2'
54539 ac_dC=' '
54540 ac_dD=',;t'
54541 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
54542 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
54543 ac_uB='$,\1#\2define\3'
54544 ac_uC=' '
54545 ac_uD=',;t'
54546
54547 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
54548 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
54549 case $ac_file in
54550 - | *:- | *:-:* ) # input from stdin
54551 cat >$tmp/stdin
54552 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
54553 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
54554 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
54555 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
54556 * ) ac_file_in=$ac_file.in ;;
54557 esac
54558
54559 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
54560 echo "$as_me: creating $ac_file" >&6;}
54561
54562 # First look for the input files in the build tree, otherwise in the
54563 # src tree.
54564 ac_file_inputs=`IFS=:
54565 for f in $ac_file_in; do
54566 case $f in
54567 -) echo $tmp/stdin ;;
54568 [\\/$]*)
54569 # Absolute (can't be DOS-style, as IFS=:)
54570 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
54571 echo "$as_me: error: cannot find input file: $f" >&2;}
54572 { (exit 1); exit 1; }; }
54573 # Do quote $f, to prevent DOS paths from being IFS'd.
54574 echo "$f";;
54575 *) # Relative
54576 if test -f "$f"; then
54577 # Build tree
54578 echo "$f"
54579 elif test -f "$srcdir/$f"; then
54580 # Source tree
54581 echo "$srcdir/$f"
54582 else
54583 # /dev/null tree
54584 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
54585 echo "$as_me: error: cannot find input file: $f" >&2;}
54586 { (exit 1); exit 1; }; }
54587 fi;;
54588 esac
54589 done` || { (exit 1); exit 1; }
54590 # Remove the trailing spaces.
54591 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
54592
54593 _ACEOF
54594
54595 # Transform confdefs.h into two sed scripts, `conftest.defines' and
54596 # `conftest.undefs', that substitutes the proper values into
54597 # config.h.in to produce config.h. The first handles `#define'
54598 # templates, and the second `#undef' templates.
54599 # And first: Protect against being on the right side of a sed subst in
54600 # config.status. Protect against being in an unquoted here document
54601 # in config.status.
54602 rm -f conftest.defines conftest.undefs
54603 # Using a here document instead of a string reduces the quoting nightmare.
54604 # Putting comments in sed scripts is not portable.
54605 #
54606 # `end' is used to avoid that the second main sed command (meant for
54607 # 0-ary CPP macros) applies to n-ary macro definitions.
54608 # See the Autoconf documentation for `clear'.
54609 cat >confdef2sed.sed <<\_ACEOF
54610 s/[\\&,]/\\&/g
54611 s,[\\$`],\\&,g
54612 t clear
54613 : clear
54614 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
54615 t end
54616 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
54617 : end
54618 _ACEOF
54619 # If some macros were called several times there might be several times
54620 # the same #defines, which is useless. Nevertheless, we may not want to
54621 # sort them, since we want the *last* AC-DEFINE to be honored.
54622 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
54623 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
54624 rm -f confdef2sed.sed
54625
54626 # This sed command replaces #undef with comments. This is necessary, for
54627 # example, in the case of _POSIX_SOURCE, which is predefined and required
54628 # on some systems where configure will not decide to define it.
54629 cat >>conftest.undefs <<\_ACEOF
54630 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
54631 _ACEOF
54632
54633 # Break up conftest.defines because some shells have a limit on the size
54634 # of here documents, and old seds have small limits too (100 cmds).
54635 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
54636 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
54637 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
54638 echo ' :' >>$CONFIG_STATUS
54639 rm -f conftest.tail
54640 while grep . conftest.defines >/dev/null
54641 do
54642 # Write a limited-size here document to $tmp/defines.sed.
54643 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
54644 # Speed up: don't consider the non `#define' lines.
54645 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
54646 # Work around the forget-to-reset-the-flag bug.
54647 echo 't clr' >>$CONFIG_STATUS
54648 echo ': clr' >>$CONFIG_STATUS
54649 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
54650 echo 'CEOF
54651 sed -f $tmp/defines.sed $tmp/in >$tmp/out
54652 rm -f $tmp/in
54653 mv $tmp/out $tmp/in
54654 ' >>$CONFIG_STATUS
54655 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
54656 rm -f conftest.defines
54657 mv conftest.tail conftest.defines
54658 done
54659 rm -f conftest.defines
54660 echo ' fi # grep' >>$CONFIG_STATUS
54661 echo >>$CONFIG_STATUS
54662
54663 # Break up conftest.undefs because some shells have a limit on the size
54664 # of here documents, and old seds have small limits too (100 cmds).
54665 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
54666 rm -f conftest.tail
54667 while grep . conftest.undefs >/dev/null
54668 do
54669 # Write a limited-size here document to $tmp/undefs.sed.
54670 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
54671 # Speed up: don't consider the non `#undef'
54672 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
54673 # Work around the forget-to-reset-the-flag bug.
54674 echo 't clr' >>$CONFIG_STATUS
54675 echo ': clr' >>$CONFIG_STATUS
54676 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
54677 echo 'CEOF
54678 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
54679 rm -f $tmp/in
54680 mv $tmp/out $tmp/in
54681 ' >>$CONFIG_STATUS
54682 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
54683 rm -f conftest.undefs
54684 mv conftest.tail conftest.undefs
54685 done
54686 rm -f conftest.undefs
54687
54688 cat >>$CONFIG_STATUS <<\_ACEOF
54689 # Let's still pretend it is `configure' which instantiates (i.e., don't
54690 # use $as_me), people would be surprised to read:
54691 # /* config.h. Generated by config.status. */
54692 if test x"$ac_file" = x-; then
54693 echo "/* Generated by configure. */" >$tmp/config.h
54694 else
54695 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
54696 fi
54697 cat $tmp/in >>$tmp/config.h
54698 rm -f $tmp/in
54699 if test x"$ac_file" != x-; then
54700 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
54701 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54702 echo "$as_me: $ac_file is unchanged" >&6;}
54703 else
54704 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
54705 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54706 X"$ac_file" : 'X\(//\)[^/]' \| \
54707 X"$ac_file" : 'X\(//\)$' \| \
54708 X"$ac_file" : 'X\(/\)' \| \
54709 . : '\(.\)' 2>/dev/null ||
54710 echo X"$ac_file" |
54711 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54712 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54713 /^X\(\/\/\)$/{ s//\1/; q; }
54714 /^X\(\/\).*/{ s//\1/; q; }
54715 s/.*/./; q'`
54716 { if $as_mkdir_p; then
54717 mkdir -p "$ac_dir"
54718 else
54719 as_dir="$ac_dir"
54720 as_dirs=
54721 while test ! -d "$as_dir"; do
54722 as_dirs="$as_dir $as_dirs"
54723 as_dir=`(dirname "$as_dir") 2>/dev/null ||
54724 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54725 X"$as_dir" : 'X\(//\)[^/]' \| \
54726 X"$as_dir" : 'X\(//\)$' \| \
54727 X"$as_dir" : 'X\(/\)' \| \
54728 . : '\(.\)' 2>/dev/null ||
54729 echo X"$as_dir" |
54730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54731 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54732 /^X\(\/\/\)$/{ s//\1/; q; }
54733 /^X\(\/\).*/{ s//\1/; q; }
54734 s/.*/./; q'`
54735 done
54736 test ! -n "$as_dirs" || mkdir $as_dirs
54737 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
54738 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
54739 { (exit 1); exit 1; }; }; }
54740
54741 rm -f $ac_file
54742 mv $tmp/config.h $ac_file
54743 fi
54744 else
54745 cat $tmp/config.h
54746 rm -f $tmp/config.h
54747 fi
54748 done
54749 _ACEOF
54750 cat >>$CONFIG_STATUS <<\_ACEOF
54751
54752 #
54753 # CONFIG_COMMANDS section.
54754 #
54755 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
54756 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
54757 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
54758 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
54759 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54760 X"$ac_dest" : 'X\(//\)[^/]' \| \
54761 X"$ac_dest" : 'X\(//\)$' \| \
54762 X"$ac_dest" : 'X\(/\)' \| \
54763 . : '\(.\)' 2>/dev/null ||
54764 echo X"$ac_dest" |
54765 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54766 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54767 /^X\(\/\/\)$/{ s//\1/; q; }
54768 /^X\(\/\).*/{ s//\1/; q; }
54769 s/.*/./; q'`
54770 { if $as_mkdir_p; then
54771 mkdir -p "$ac_dir"
54772 else
54773 as_dir="$ac_dir"
54774 as_dirs=
54775 while test ! -d "$as_dir"; do
54776 as_dirs="$as_dir $as_dirs"
54777 as_dir=`(dirname "$as_dir") 2>/dev/null ||
54778 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54779 X"$as_dir" : 'X\(//\)[^/]' \| \
54780 X"$as_dir" : 'X\(//\)$' \| \
54781 X"$as_dir" : 'X\(/\)' \| \
54782 . : '\(.\)' 2>/dev/null ||
54783 echo X"$as_dir" |
54784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54785 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54786 /^X\(\/\/\)$/{ s//\1/; q; }
54787 /^X\(\/\).*/{ s//\1/; q; }
54788 s/.*/./; q'`
54789 done
54790 test ! -n "$as_dirs" || mkdir $as_dirs
54791 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
54792 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
54793 { (exit 1); exit 1; }; }; }
54794
54795 ac_builddir=.
54796
54797 if test "$ac_dir" != .; then
54798 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54799 # A "../" for each directory in $ac_dir_suffix.
54800 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
54801 else
54802 ac_dir_suffix= ac_top_builddir=
54803 fi
54804
54805 case $srcdir in
54806 .) # No --srcdir option. We are building in place.
54807 ac_srcdir=.
54808 if test -z "$ac_top_builddir"; then
54809 ac_top_srcdir=.
54810 else
54811 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
54812 fi ;;
54813 [\\/]* | ?:[\\/]* ) # Absolute path.
54814 ac_srcdir=$srcdir$ac_dir_suffix;
54815 ac_top_srcdir=$srcdir ;;
54816 *) # Relative path.
54817 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
54818 ac_top_srcdir=$ac_top_builddir$srcdir ;;
54819 esac
54820
54821 # Do not use `cd foo && pwd` to compute absolute paths, because
54822 # the directories may not exist.
54823 case `pwd` in
54824 .) ac_abs_builddir="$ac_dir";;
54825 *)
54826 case "$ac_dir" in
54827 .) ac_abs_builddir=`pwd`;;
54828 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
54829 *) ac_abs_builddir=`pwd`/"$ac_dir";;
54830 esac;;
54831 esac
54832 case $ac_abs_builddir in
54833 .) ac_abs_top_builddir=${ac_top_builddir}.;;
54834 *)
54835 case ${ac_top_builddir}. in
54836 .) ac_abs_top_builddir=$ac_abs_builddir;;
54837 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
54838 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
54839 esac;;
54840 esac
54841 case $ac_abs_builddir in
54842 .) ac_abs_srcdir=$ac_srcdir;;
54843 *)
54844 case $ac_srcdir in
54845 .) ac_abs_srcdir=$ac_abs_builddir;;
54846 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
54847 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
54848 esac;;
54849 esac
54850 case $ac_abs_builddir in
54851 .) ac_abs_top_srcdir=$ac_top_srcdir;;
54852 *)
54853 case $ac_top_srcdir in
54854 .) ac_abs_top_srcdir=$ac_abs_builddir;;
54855 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
54856 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
54857 esac;;
54858 esac
54859
54860
54861 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
54862 echo "$as_me: executing $ac_dest commands" >&6;}
54863 case $ac_dest in
54864 rcdefs.h )
54865 mkdir -p $outdir &&
54866 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54867 ;;
54868 wx-config ) rm -f wx-config
54869 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54870 ;;
54871 esac
54872 done
54873 _ACEOF
54874
54875 cat >>$CONFIG_STATUS <<\_ACEOF
54876
54877 { (exit 0); exit 0; }
54878 _ACEOF
54879 chmod +x $CONFIG_STATUS
54880 ac_clean_files=$ac_clean_files_save
54881
54882
54883 # configure is writing to config.log, and then calls config.status.
54884 # config.status does its own redirection, appending to config.log.
54885 # Unfortunately, on DOS this fails, as config.log is still kept open
54886 # by configure, so config.status won't be able to write to it; its
54887 # output is simply discarded. So we exec the FD to /dev/null,
54888 # effectively closing config.log, so it can be properly (re)opened and
54889 # appended to by config.status. When coming back to configure, we
54890 # need to make the FD available again.
54891 if test "$no_create" != yes; then
54892 ac_cs_success=:
54893 ac_config_status_args=
54894 test "$silent" = yes &&
54895 ac_config_status_args="$ac_config_status_args --quiet"
54896 exec 5>/dev/null
54897 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54898 exec 5>>config.log
54899 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54900 # would make configure fail if this is the last instruction.
54901 $ac_cs_success || { (exit 1); exit 1; }
54902 fi
54903
54904 #
54905 # CONFIG_SUBDIRS section.
54906 #
54907 if test "$no_recursion" != yes; then
54908
54909 # Remove --cache-file and --srcdir arguments so they do not pile up.
54910 ac_sub_configure_args=
54911 ac_prev=
54912 for ac_arg in $ac_configure_args; do
54913 if test -n "$ac_prev"; then
54914 ac_prev=
54915 continue
54916 fi
54917 case $ac_arg in
54918 -cache-file | --cache-file | --cache-fil | --cache-fi \
54919 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54920 ac_prev=cache_file ;;
54921 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54922 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54923 | --c=*)
54924 ;;
54925 --config-cache | -C)
54926 ;;
54927 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54928 ac_prev=srcdir ;;
54929 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54930 ;;
54931 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54932 ac_prev=prefix ;;
54933 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54934 ;;
54935 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
54936 esac
54937 done
54938
54939 # Always prepend --prefix to ensure using the same prefix
54940 # in subdir configurations.
54941 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
54942
54943 ac_popdir=`pwd`
54944 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54945
54946 # Do not complain, so a configure script can configure whichever
54947 # parts of a large source tree are present.
54948 test -d $srcdir/$ac_dir || continue
54949
54950 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
54951 echo "$as_me: configuring in $ac_dir" >&6;}
54952 { if $as_mkdir_p; then
54953 mkdir -p "$ac_dir"
54954 else
54955 as_dir="$ac_dir"
54956 as_dirs=
54957 while test ! -d "$as_dir"; do
54958 as_dirs="$as_dir $as_dirs"
54959 as_dir=`(dirname "$as_dir") 2>/dev/null ||
54960 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54961 X"$as_dir" : 'X\(//\)[^/]' \| \
54962 X"$as_dir" : 'X\(//\)$' \| \
54963 X"$as_dir" : 'X\(/\)' \| \
54964 . : '\(.\)' 2>/dev/null ||
54965 echo X"$as_dir" |
54966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
54967 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
54968 /^X\(\/\/\)$/{ s//\1/; q; }
54969 /^X\(\/\).*/{ s//\1/; q; }
54970 s/.*/./; q'`
54971 done
54972 test ! -n "$as_dirs" || mkdir $as_dirs
54973 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
54974 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
54975 { (exit 1); exit 1; }; }; }
54976
54977 ac_builddir=.
54978
54979 if test "$ac_dir" != .; then
54980 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54981 # A "../" for each directory in $ac_dir_suffix.
54982 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
54983 else
54984 ac_dir_suffix= ac_top_builddir=
54985 fi
54986
54987 case $srcdir in
54988 .) # No --srcdir option. We are building in place.
54989 ac_srcdir=.
54990 if test -z "$ac_top_builddir"; then
54991 ac_top_srcdir=.
54992 else
54993 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
54994 fi ;;
54995 [\\/]* | ?:[\\/]* ) # Absolute path.
54996 ac_srcdir=$srcdir$ac_dir_suffix;
54997 ac_top_srcdir=$srcdir ;;
54998 *) # Relative path.
54999 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
55000 ac_top_srcdir=$ac_top_builddir$srcdir ;;
55001 esac
55002
55003 # Do not use `cd foo && pwd` to compute absolute paths, because
55004 # the directories may not exist.
55005 case `pwd` in
55006 .) ac_abs_builddir="$ac_dir";;
55007 *)
55008 case "$ac_dir" in
55009 .) ac_abs_builddir=`pwd`;;
55010 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
55011 *) ac_abs_builddir=`pwd`/"$ac_dir";;
55012 esac;;
55013 esac
55014 case $ac_abs_builddir in
55015 .) ac_abs_top_builddir=${ac_top_builddir}.;;
55016 *)
55017 case ${ac_top_builddir}. in
55018 .) ac_abs_top_builddir=$ac_abs_builddir;;
55019 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
55020 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
55021 esac;;
55022 esac
55023 case $ac_abs_builddir in
55024 .) ac_abs_srcdir=$ac_srcdir;;
55025 *)
55026 case $ac_srcdir in
55027 .) ac_abs_srcdir=$ac_abs_builddir;;
55028 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
55029 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
55030 esac;;
55031 esac
55032 case $ac_abs_builddir in
55033 .) ac_abs_top_srcdir=$ac_top_srcdir;;
55034 *)
55035 case $ac_top_srcdir in
55036 .) ac_abs_top_srcdir=$ac_abs_builddir;;
55037 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
55038 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
55039 esac;;
55040 esac
55041
55042
55043 cd $ac_dir
55044
55045 # Check for guested configure; otherwise get Cygnus style configure.
55046 if test -f $ac_srcdir/configure.gnu; then
55047 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
55048 elif test -f $ac_srcdir/configure; then
55049 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
55050 elif test -f $ac_srcdir/configure.in; then
55051 ac_sub_configure=$ac_configure
55052 else
55053 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55054 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55055 ac_sub_configure=
55056 fi
55057
55058 # The recursion is here.
55059 if test -n "$ac_sub_configure"; then
55060 # Make the cache file name correct relative to the subdirectory.
55061 case $cache_file in
55062 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
55063 *) # Relative path.
55064 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
55065 esac
55066
55067 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55068 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55069 # The eval makes quoting arguments work.
55070 eval $ac_sub_configure $ac_sub_configure_args \
55071 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
55072 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55073 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55074 { (exit 1); exit 1; }; }
55075 fi
55076
55077 cd $ac_popdir
55078 done
55079 fi
55080
55081
55082 echo
55083 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55084 echo ""
55085 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55086 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55087
55088 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
55089 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55090 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55091 if test "$wxUSE_UNICODE" = "yes"; then
55092 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55093 echo " (using UTF-8)"
55094 else
55095 echo " (using wchar_t)"
55096 fi
55097 else
55098 echo
55099 fi
55100
55101 echo " What level of wxWidgets compatibility should be enabled?"
55102 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55103 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55104
55105 echo " Which libraries should wxWidgets use?"
55106 echo " STL ${wxUSE_STL}"
55107 echo " jpeg ${wxUSE_LIBJPEG-none}"
55108 echo " png ${wxUSE_LIBPNG-none}"
55109 echo " regex ${wxUSE_REGEX}"
55110 echo " tiff ${wxUSE_LIBTIFF-none}"
55111 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55112 echo " xpm ${wxUSE_LIBXPM-none}"
55113 fi
55114 echo " zlib ${wxUSE_ZLIB}"
55115 echo " odbc ${wxUSE_ODBC}"
55116 echo " expat ${wxUSE_EXPAT}"
55117 echo " libmspack ${wxUSE_LIBMSPACK}"
55118 echo " sdl ${wxUSE_LIBSDL}"
55119
55120 echo ""
55121